From c43f306d5768db858ff6c90e39b8fe27e4a28cf6 Mon Sep 17 00:00:00 2001 From: omkieit Date: Mon, 30 Sep 2024 21:09:00 +0530 Subject: [PATCH] done --- ef-api/controllers/user.js | 62 ++++- ef-api/models/user.js | 3 + ef-api/routes/user.js | 5 +- ef-ui/dist/assets/index-BsVOnNCb.js | 85 ------ ef-ui/dist/assets/index-DPPwfV95.js | 85 ++++++ ...{index-DepkKhoc.css => index-iEl-il0E.css} | 2 +- ef-ui/dist/index.html | 4 +- ef-ui/src/App.jsx | 5 +- ef-ui/src/components/Dashboard.jsx | 145 ++++------ ef-ui/src/components/EditProperty.jsx | 9 + ef-ui/src/components/Navbar.jsx | 15 +- ef-ui/src/components/ProfileView.jsx | 250 ++++++++++++++++++ ef-ui/src/components/UserProfile.jsx | 201 ++++++++++++++ ef-ui/src/components/UserProperties.jsx | 1 - ef-ui/src/profileview.css | 53 ++++ ef-ui/src/redux/api.js | 1 + ef-ui/src/redux/features/authSlice.js | 32 ++- ef-ui/src/redux/features/userSlice.js | 44 ++- 18 files changed, 774 insertions(+), 228 deletions(-) delete mode 100644 ef-ui/dist/assets/index-BsVOnNCb.js create mode 100644 ef-ui/dist/assets/index-DPPwfV95.js rename ef-ui/dist/assets/{index-DepkKhoc.css => index-iEl-il0E.css} (95%) create mode 100644 ef-ui/src/components/ProfileView.jsx create mode 100644 ef-ui/src/components/UserProfile.jsx create mode 100644 ef-ui/src/profileview.css diff --git a/ef-api/controllers/user.js b/ef-api/controllers/user.js index 38ee381..2ee71b2 100644 --- a/ef-api/controllers/user.js +++ b/ef-api/controllers/user.js @@ -1,5 +1,6 @@ import dotenv from "dotenv"; import UserModal from "../models/user.js"; +import mongoose from 'mongoose'; import bcrypt from "bcryptjs"; import jwt from "jsonwebtoken"; import { sendEmail } from "../utils/sendEmail.js"; @@ -119,22 +120,35 @@ export const signin = async (req, res) => { //To show user export const showUser = async (req, res) => { - const { id } = req.params; - try { - - const user = await UserModal.findById({id}); + const { userId } = req.params; - if (!user) { - return res.status(404).json({ message: "User not found" }); + // Optional: Validate if userId is a MongoDB ObjectId + if (mongoose.Types.ObjectId.isValid(userId)) { + try { + const user = await UserModal.findById(userId); + if (!user) { + return res.status(404).json({ message: 'User not found' }); + } + return res.json(user); + } catch (error) { + return res.status(500).json({ message: 'Server Error' }); + } + } else { + // If the userId is not an ObjectId, search by other fields (e.g., custom userId) + try { + const user = await UserModal.findOne({ userId }); // Adjust based on how your schema stores userId + if (!user) { + return res.status(404).json({ message: 'User not found' }); + } + return res.json(user); + } catch (error) { + return res.status(500).json({ message: 'Server Error' }); } - - res.status(200).json(user); - } catch (error) { - console.error(error); - res.status(500).json({ message: "Internal servers error" }); } }; + + //forgot password export const forgotPassword = async (req, res) => { @@ -195,4 +209,28 @@ export const resetPassword = async (req, res) => { console.error("Password Reset Error:", err); res.status(500).json({ message: "Something went wrong" }); } -}; \ No newline at end of file +}; + + +// Update user controller + +export const updateUser = async (req, res) => { + try { + const { userId, title, firstName, middleName, lastName, email, aboutme, profileImage } = req.body; + // Use findOneAndUpdate instead, querying by userId (custom field) + const updatedUser = await UserModal.findOneAndUpdate( + { userId }, // Query by custom userId, not ObjectId + { title, firstName, middleName, lastName, email, aboutme, profileImage }, + { new: true } // Return the updated document + ); + + if (!updatedUser) { + return res.status(404).json({ message: "User not found" }); + } + + res.status(200).json(updatedUser); + } catch (error) { + console.error("Error updating user:", error); + res.status(500).json({ message: "Error updating user", error }); + } +}; diff --git a/ef-api/models/user.js b/ef-api/models/user.js index dfc9385..b474a7f 100644 --- a/ef-api/models/user.js +++ b/ef-api/models/user.js @@ -6,6 +6,9 @@ const userSchema = new mongoose.Schema({ middleName: { type: String, required: true }, lastName: { type: String, required: true }, email: { type: String, required: true, unique: true }, + profileImage:String, + // profileImage: { type: String, required: true, unique: true }, + aboutme: { type: String, required: true, unique: true }, password: { type: String, required: true }, termsconditions:{type: String,}, userType:{ type: String, required: true }, diff --git a/ef-api/routes/user.js b/ef-api/routes/user.js index c3c79b4..b4aab3c 100644 --- a/ef-api/routes/user.js +++ b/ef-api/routes/user.js @@ -1,14 +1,15 @@ import express from "express"; const router = express.Router(); -import { signup, signin, verifyUser, showUser, forgotPassword, resetPassword, } from "../controllers/user.js"; +import { signup, signin, verifyUser, showUser, forgotPassword, resetPassword, updateUser } from "../controllers/user.js"; router.post("/signin", signin); router.post("/signup", signup); router.get('/:id/verify/:token/', verifyUser); -router.get('/:id', showUser); +router.get('/:userId', showUser); router.post("/forgotpassword", forgotPassword); router.post("/resetpassword/:id/:token", resetPassword); +router.put('/update', updateUser); diff --git a/ef-ui/dist/assets/index-BsVOnNCb.js b/ef-ui/dist/assets/index-BsVOnNCb.js deleted file mode 100644 index 0ee921d..0000000 --- a/ef-ui/dist/assets/index-BsVOnNCb.js +++ /dev/null @@ -1,85 +0,0 @@ -var Xm=Object.defineProperty;var Zm=(e,t,n)=>t in e?Xm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ml=(e,t,n)=>Zm(e,typeof t!="symbol"?t+"":t,n);function eh(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 o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var th=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ds(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bd={exports:{}},ll={},Pd={exports:{}},Z={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Ei=Symbol.for("react.element"),nh=Symbol.for("react.portal"),rh=Symbol.for("react.fragment"),ih=Symbol.for("react.strict_mode"),oh=Symbol.for("react.profiler"),lh=Symbol.for("react.provider"),ah=Symbol.for("react.context"),sh=Symbol.for("react.forward_ref"),ch=Symbol.for("react.suspense"),uh=Symbol.for("react.memo"),dh=Symbol.for("react.lazy"),zc=Symbol.iterator;function fh(e){return e===null||typeof e!="object"?null:(e=zc&&e[zc]||e["@@iterator"],typeof e=="function"?e:null)}var Od={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Td=Object.assign,Rd={};function jr(e,t,n){this.props=e,this.context=t,this.refs=Rd,this.updater=n||Od}jr.prototype.isReactComponent={};jr.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")};jr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dd(){}Dd.prototype=jr.prototype;function Is(e,t,n){this.props=e,this.context=t,this.refs=Rd,this.updater=n||Od}var As=Is.prototype=new Dd;As.constructor=Is;Td(As,jr.prototype);As.isPureReactComponent=!0;var Bc=Array.isArray,Id=Object.prototype.hasOwnProperty,Ms={current:null},Ad={key:!0,ref:!0,__self:!0,__source:!0};function Md(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Id.call(t,r)&&!Ad.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,M=b[I];if(0>>1;Ii(H,D))Ki(Q,H)?(b[I]=Q,b[K]=D,I=K):(b[I]=H,b[$]=D,I=$);else if(Ki(Q,D))b[I]=Q,b[K]=D,I=K;else break e}}return _}function i(b,_){var D=b.sortIndex-_.sortIndex;return D!==0?D:b.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var c=[],u=[],d=1,p=null,g=3,w=!1,v=!1,j=!1,x=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 f(b){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=b)r(u),_.sortIndex=_.expirationTime,t(c,_);else break;_=n(u)}}function y(b){if(j=!1,f(b),!v)if(n(c)!==null)v=!0,L(N);else{var _=n(u);_!==null&&V(y,_.startTime-b)}}function N(b,_){v=!1,j&&(j=!1,h(S),S=-1),w=!0;var D=g;try{for(f(_),p=n(c);p!==null&&(!(p.expirationTime>_)||b&&!z());){var I=p.callback;if(typeof I=="function"){p.callback=null,g=p.priorityLevel;var M=I(p.expirationTime<=_);_=e.unstable_now(),typeof M=="function"?p.callback=M:p===n(c)&&r(c),f(_)}else r(c);p=n(c)}if(p!==null)var U=!0;else{var $=n(u);$!==null&&V(y,$.startTime-_),U=!1}return U}finally{p=null,g=D,w=!1}}var E=!1,k=null,S=-1,O=5,A=-1;function z(){return!(e.unstable_now()-Ab||125I?(b.sortIndex=D,t(u,b),n(c)===null&&b===n(u)&&(j?(h(S),S=-1):j=!0,V(y,D-I))):(b.sortIndex=M,t(c,b),v||w||(v=!0,L(N))),b},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(b){var _=g;return function(){var D=g;g=_;try{return b.apply(this,arguments)}finally{g=D}}}})(Ud);Bd.exports=Ud;var Eh=Bd.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Sh=P,Xe=Eh;function F(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"),Na=Object.prototype.hasOwnProperty,kh=/^[: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]*$/,$c={},Vc={};function _h(e){return Na.call(Vc,e)?!0:Na.call($c,e)?!1:kh.test(e)?Vc[e]=!0:($c[e]=!0,!1)}function Ch(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 bh(e,t,n,r){if(t===null||typeof t>"u"||Ch(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 Me(e,t,n,r,i,o,a){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=o,this.removeEmptyString=a}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Me(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new Me(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Me(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Me(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){_e[e]=new Me(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Me(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Me(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Me(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Me(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fs=/[\-:]([a-z])/g;function zs(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(Fs,zs);_e[t]=new Me(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(Fs,zs);_e[t]=new Me(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(Fs,zs);_e[t]=new Me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Me(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Me(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bs(e,t,n,r){var i=_e.hasOwnProperty(t)?_e[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var c=` -`+i[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=s);break}}}finally{zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ar(e):""}function Ph(e){switch(e.tag){case 5:return Ar(e.type);case 16:return Ar("Lazy");case 13:return Ar("Suspense");case 19:return Ar("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function _a(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 $n:return"Fragment";case Un:return"Portal";case Ea:return"Profiler";case Us:return"StrictMode";case Sa:return"Suspense";case ka:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wd:return(e.displayName||"Context")+".Consumer";case Vd:return(e._context.displayName||"Context")+".Provider";case $s:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Vs:return t=e.displayName||null,t!==null?t:_a(e.type)||"Memo";case $t:t=e._payload,e=e._init;try{return _a(e(t))}catch{}}return null}function Oh(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 _a(t);case 8:return t===Us?"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 cn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Th(e){var t=Hd(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fi(e){e._valueTracker||(e._valueTracker=Th(e))}function Yd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function So(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 Ca(e,t){var n=t.checked;return fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cn(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 Kd(e,t){t=t.checked,t!=null&&Bs(e,"checked",t,!1)}function ba(e,t){Kd(e,t);var n=cn(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")?Pa(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pa(e,t.type,cn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hc(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 Pa(e,t,n){(t!=="number"||So(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mr=Array.isArray;function ir(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=zi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Br={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},Rh=["Webkit","ms","Moz","O"];Object.keys(Br).forEach(function(e){Rh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Br[t]=Br[e]})});function Xd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Br.hasOwnProperty(e)&&Br[e]?(""+t).trim():t+"px"}function Zd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Xd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Dh=fe({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 Ra(e,t){if(t){if(Dh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Da(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 Ia=null;function Ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Aa=null,or=null,lr=null;function Qc(e){if(e=_i(e)){if(typeof Aa!="function")throw Error(F(280));var t=e.stateNode;t&&(t=dl(t),Aa(e.stateNode,e.type,t))}}function ef(e){or?lr?lr.push(e):lr=[e]:or=e}function tf(){if(or){var e=or,t=lr;if(lr=or=null,Qc(e),t)for(e=0;e>>=0,e===0?32:31-(Wh(e)/qh|0)|0}var Bi=64,Ui=4194304;function Lr(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 bo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Lr(s):(o&=a,o!==0&&(r=Lr(o)))}else a=n&~i,a!==0?r=Lr(a):o!==0&&(r=Lr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 Si(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=n}function Qh(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=$r),iu=" ",ou=!1;function Nf(e,t){switch(e){case"keyup":return Ev.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ef(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vn=!1;function kv(e,t){switch(e){case"compositionend":return Ef(t);case"keypress":return t.which!==32?null:(ou=!0,iu);case"textInput":return e=t.data,e===iu&&ou?null:e;default:return null}}function _v(e,t){if(Vn)return e==="compositionend"||!Xs&&Nf(e,t)?(e=jf(),oo=Qs=Qt=null,Vn=!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=cu(n)}}function Cf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bf(){for(var e=window,t=So();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=So(e.document)}return t}function Zs(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 Av(e){var t=bf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Cf(n.ownerDocument.documentElement,n)){if(r!==null&&Zs(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,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=uu(n,o);var a=uu(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wn=null,Ua=null,Wr=null,$a=!1;function du(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$a||Wn==null||Wn!==So(r)||(r=Wn,"selectionStart"in r&&Zs(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}),Wr&&li(Wr,r)||(Wr=r,r=To(Ua,"onSelect"),0Yn||(e.current=Ka[Yn],Ka[Yn]=null,Yn--)}function ie(e,t){Yn++,Ka[Yn]=e.current,e.current=t}var un={},Oe=pn(un),Ue=pn(!1),On=un;function dr(e,t){var n=e.type.contextTypes;if(!n)return un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function $e(e){return e=e.childContextTypes,e!=null}function Do(){le(Ue),le(Oe)}function gu(e,t,n){if(Oe.current!==un)throw Error(F(168));ie(Oe,t),ie(Ue,n)}function Lf(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(F(108,Oh(e)||"Unknown",i));return fe({},n,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||un,On=Oe.current,ie(Oe,e),ie(Ue,Ue.current),!0}function xu(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Lf(e,t,On),r.__reactInternalMemoizedMergedChildContext=e,le(Ue),le(Oe),ie(Oe,e)):le(Ue),ie(Ue,n)}var Pt=null,fl=!1,ea=!1;function Ff(e){Pt===null?Pt=[e]:Pt.push(e)}function Yv(e){fl=!0,Ff(e)}function mn(){if(!ea&&Pt!==null){ea=!0;var e=0,t=ne;try{var n=Pt;for(ne=1;e>=a,i-=a,Ot=1<<32-ht(t)+i|n<S?(O=k,k=null):O=k.sibling;var A=g(h,k,f[S],y);if(A===null){k===null&&(k=O);break}e&&k&&A.alternate===null&&t(h,k),m=o(A,m,S),E===null?N=A:E.sibling=A,E=A,k=O}if(S===f.length)return n(h,k),se&&gn(h,S),N;if(k===null){for(;SS?(O=k,k=null):O=k.sibling;var z=g(h,k,A.value,y);if(z===null){k===null&&(k=O);break}e&&k&&z.alternate===null&&t(h,k),m=o(z,m,S),E===null?N=z:E.sibling=z,E=z,k=O}if(A.done)return n(h,k),se&&gn(h,S),N;if(k===null){for(;!A.done;S++,A=f.next())A=p(h,A.value,y),A!==null&&(m=o(A,m,S),E===null?N=A:E.sibling=A,E=A);return se&&gn(h,S),N}for(k=r(h,k);!A.done;S++,A=f.next())A=w(k,h,S,A.value,y),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?S:A.key),m=o(A,m,S),E===null?N=A:E.sibling=A,E=A);return e&&k.forEach(function(Y){return t(h,Y)}),se&&gn(h,S),N}function x(h,m,f,y){if(typeof f=="object"&&f!==null&&f.type===$n&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Li:e:{for(var N=f.key,E=m;E!==null;){if(E.key===N){if(N=f.type,N===$n){if(E.tag===7){n(h,E.sibling),m=i(E,f.props.children),m.return=h,h=m;break e}}else if(E.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===$t&&Nu(N)===E.type){n(h,E.sibling),m=i(E,f.props),m.ref=Tr(h,E,f),m.return=h,h=m;break e}n(h,E);break}else t(h,E);E=E.sibling}f.type===$n?(m=Cn(f.props.children,h.mode,y,f.key),m.return=h,h=m):(y=mo(f.type,f.key,f.props,null,h.mode,y),y.ref=Tr(h,m,f),y.return=h,h=y)}return a(h);case Un:e:{for(E=f.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===f.containerInfo&&m.stateNode.implementation===f.implementation){n(h,m.sibling),m=i(m,f.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=sa(f,h.mode,y),m.return=h,h=m}return a(h);case $t:return E=f._init,x(h,m,E(f._payload),y)}if(Mr(f))return v(h,m,f,y);if(_r(f))return j(h,m,f,y);Ki(h,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,f),m.return=h,h=m):(n(h,m),m=aa(f,h.mode,y),m.return=h,h=m),a(h)):n(h,m)}return x}var pr=$f(!0),Vf=$f(!1),Lo=pn(null),Fo=null,Gn=null,rc=null;function ic(){rc=Gn=Fo=null}function oc(e){var t=Lo.current;le(Lo),e._currentValue=t}function Ja(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 sr(e,t){Fo=e,rc=Gn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(rc!==e)if(e={context:e,memoizedValue:t,next:null},Gn===null){if(Fo===null)throw Error(F(308));Gn=e,Fo.dependencies={lanes:0,firstContext:e}}else Gn=Gn.next=e;return t}var En=null;function lc(e){En===null?En=[e]:En.push(e)}function Wf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,lc(t)):(n.next=i.next,i.next=n),t.interleaved=n,At(e,r)}function At(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 Vt=!1;function ac(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qf(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 Rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ee&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,At(e,n)}return i=r.interleaved,i===null?(t.next=t,lc(r)):(t.next=i.next,i.next=t),r.interleaved=t,At(e,n)}function ao(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,Hs(e,n)}}function Eu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 zo(e,t,n,r){var i=e.updateQueue;Vt=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,u=c.next;c.next=null,a===null?o=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c))}if(o!==null){var p=i.baseState;a=0,d=u=c=null,s=o;do{var g=s.lane,w=s.eventTime;if((r&g)===g){d!==null&&(d=d.next={eventTime:w,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,j=s;switch(g=t,w=n,j.tag){case 1:if(v=j.payload,typeof v=="function"){p=v.call(w,p,g);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=j.payload,g=typeof v=="function"?v.call(w,p,g):v,g==null)break e;p=fe({},p,g);break e;case 2:Vt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=i.effects,g===null?i.effects=[s]:g.push(s))}else w={eventTime:w,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=w,c=p):d=d.next=w,a|=g;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;g=s,s=g.next,g.next=null,i.lastBaseUpdate=g,i.shared.pending=null}}while(!0);if(d===null&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Dn|=a,e.lanes=a,e.memoizedState=p}}function Su(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=na.transition;na.transition={};try{e(!1),t()}finally{ne=n,na.transition=r}}function sp(){return st().memoizedState}function Jv(e,t,n){var r=ln(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cp(e))up(t,n);else if(n=Wf(e,t,n,r),n!==null){var i=Ie();vt(n,e,r,i),dp(n,t,r)}}function Xv(e,t,n){var r=ln(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cp(e))up(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,gt(s,a)){var c=t.interleaved;c===null?(i.next=i,lc(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Wf(e,t,i,r),n!==null&&(i=Ie(),vt(n,e,r,i),dp(n,t,r))}}function cp(e){var t=e.alternate;return e===de||t!==null&&t===de}function up(e,t){qr=Uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hs(e,n)}}var $o={readContext:at,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},Zv={readContext:at,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:_u,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,co(4194308,4,rp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return co(4194308,4,e,t)},useInsertionEffect:function(e,t){return co(4,2,e,t)},useMemo:function(e,t){var n=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();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=Jv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:ku,useDebugValue:hc,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=ku(!1),t=e[0];return e=Gv.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=wt();if(se){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),we===null)throw Error(F(349));Rn&30||Qf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_u(Jf.bind(null,r,o,e),[e]),r.flags|=2048,mi(9,Gf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=wt(),t=we.identifierPrefix;if(se){var n=Tt,r=Ot;n=(r&~(1<<32-ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Et]=t,e[ci]=r,wp(e,t,!1,!1),t.stateNode=e;e:{switch(a=Da(n,r),n){case"dialog":oe("cancel",e),oe("close",e),i=r;break;case"iframe":case"object":case"embed":oe("load",e),i=r;break;case"video":case"audio":for(i=0;ivr&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Bo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!se)return be(t),null}else 2*he()-o.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=he(),t.sibling=null,n=ue.current,ie(ue,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return wc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function ay(e,t){switch(tc(t),t.tag){case 1:return $e(t.type)&&Do(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mr(),le(Ue),le(Oe),uc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cc(t),null;case 13:if(le(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));fr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(ue),null;case 4:return mr(),null;case 10:return oc(t.type._context),null;case 22:case 23:return wc(),null;case 24:return null;default:return null}}var Gi=!1,Pe=!1,sy=typeof WeakSet=="function"?WeakSet:Set,B=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function ls(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Lu=!1;function cy(e,t){if(Va=Po,e=bf(),Zs(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,c=-1,u=0,d=0,p=e,g=null;t:for(;;){for(var w;p!==n||i!==0&&p.nodeType!==3||(s=a+i),p!==o||r!==0&&p.nodeType!==3||(c=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(w=p.firstChild)!==null;)g=p,p=w;for(;;){if(p===e)break t;if(g===n&&++u===i&&(s=a),g===o&&++d===r&&(c=a),(w=p.nextSibling)!==null)break;p=g,g=p.parentNode}p=w}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wa={focusedElem:e,selectionRange:n},Po=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;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 j=v.memoizedProps,x=v.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?j:dt(t.type,j),x);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(y){pe(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return v=Lu,Lu=!1,v}function Hr(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 o=i.destroy;i.destroy=void 0,o!==void 0&&ls(t,n,o)}i=i.next}while(i!==r)}}function hl(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 as(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 Sp(e){var t=e.alternate;t!==null&&(e.alternate=null,Sp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Et],delete t[ci],delete t[Ya],delete t[qv],delete t[Hv])),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 kp(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kp(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 ss(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=Ro));else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}function cs(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(cs(e,t,n),e=e.sibling;e!==null;)cs(e,t,n),e=e.sibling}var Se=null,ft=!1;function Bt(e,t,n){for(n=n.child;n!==null;)_p(e,t,n),n=n.sibling}function _p(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(al,n)}catch{}switch(n.tag){case 5:Pe||Jn(n,t);case 6:var r=Se,i=ft;Se=null,Bt(e,t,n),Se=r,ft=i,Se!==null&&(ft?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(ft?(e=Se,n=n.stateNode,e.nodeType===8?Zl(e.parentNode,n):e.nodeType===1&&Zl(e,n),ii(e)):Zl(Se,n.stateNode));break;case 4:r=Se,i=ft,Se=n.stateNode.containerInfo,ft=!0,Bt(e,t,n),Se=r,ft=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 o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&ls(n,t,a),i=i.next}while(i!==r)}Bt(e,t,n);break;case 1:if(!Pe&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){pe(n,t,s)}Bt(e,t,n);break;case 21:Bt(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,Bt(e,t,n),Pe=r):Bt(e,t,n);break;default:Bt(e,t,n)}}function zu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sy),t.forEach(function(r){var i=gy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dy(r/1960))-r,10e?16:e,Gt===null)var r=!1;else{if(e=Gt,Gt=null,qo=0,ee&6)throw Error(F(331));var i=ee;for(ee|=4,B=e.current;B!==null;){var o=B,a=o.child;if(B.flags&16){var s=o.deletions;if(s!==null){for(var c=0;che()-xc?_n(e,0):gc|=n),Ve(e,t)}function Ip(e,t){t===0&&(e.mode&1?(t=Ui,Ui<<=1,!(Ui&130023424)&&(Ui=4194304)):t=1);var n=Ie();e=At(e,t),e!==null&&(Si(e,t,n),Ve(e,n))}function yy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ip(e,n)}function gy(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(F(314))}r!==null&&r.delete(t),Ip(e,n)}var Ap;Ap=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ue.current)Be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Be=!1,oy(e,t,n);Be=!!(e.flags&131072)}else Be=!1,se&&t.flags&1048576&&zf(t,Mo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;uo(e,t),e=t.pendingProps;var i=dr(t,Oe.current);sr(t,n),i=fc(null,t,r,e,i,n);var o=pc();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,$e(r)?(o=!0,Io(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ac(t),i.updater=ml,t.stateNode=i,i._reactInternals=t,Za(t,r,e,n),t=ns(null,t,r,!0,o,n)):(t.tag=0,se&&o&&ec(t),Re(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(uo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=jy(r),e=dt(r,e),i){case 0:t=ts(null,t,r,e,n);break e;case 1:t=Iu(null,t,r,e,n);break e;case 11:t=Ru(null,t,r,e,n);break e;case 14:t=Du(null,t,r,dt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),ts(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),Iu(e,t,r,i,n);case 3:e:{if(gp(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,qf(e,t),zo(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=hr(Error(F(423)),t),t=Au(e,t,r,n,i);break e}else if(r!==i){i=hr(Error(F(424)),t),t=Au(e,t,r,n,i);break e}else for(Ye=nn(t.stateNode.containerInfo.firstChild),Ge=t,se=!0,pt=null,n=Vf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fr(),r===i){t=Mt(e,t,n);break e}Re(e,t,r,n)}t=t.child}return t;case 5:return Hf(t),e===null&&Ga(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,qa(r,i)?a=null:o!==null&&qa(r,o)&&(t.flags|=32),yp(e,t),Re(e,t,a,n),t.child;case 6:return e===null&&Ga(t),null;case 13:return xp(e,t,n);case 4:return sc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pr(t,null,r,n):Re(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),Ru(e,t,r,i,n);case 7:return Re(e,t,t.pendingProps,n),t.child;case 8:return Re(e,t,t.pendingProps.children,n),t.child;case 12:return Re(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,ie(Lo,r._currentValue),r._currentValue=a,o!==null)if(gt(o.value,a)){if(o.children===i.children&&!Ue.current){t=Mt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var c=s.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Rt(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ja(o.return,n,t),s.lanes|=n;break}c=c.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(F(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ja(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Re(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,sr(t,n),i=at(i),r=r(i),t.flags|=1,Re(e,t,r,n),t.child;case 14:return r=t.type,i=dt(r,t.pendingProps),i=dt(r.type,i),Du(e,t,r,i,n);case 15:return hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),uo(e,t),t.tag=1,$e(r)?(e=!0,Io(t)):e=!1,sr(t,n),fp(t,r,i),Za(t,r,i,n),ns(null,t,r,!0,e,n);case 19:return jp(e,t,n);case 22:return vp(e,t,n)}throw Error(F(156,t.tag))};function Mp(e,t){return cf(e,t)}function xy(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 ot(e,t,n,r){return new xy(e,t,n,r)}function Ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jy(e){if(typeof e=="function")return Ec(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$s)return 11;if(e===Vs)return 14}return 2}function an(e,t){var n=e.alternate;return n===null?(n=ot(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 mo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Ec(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case $n:return Cn(n.children,i,o,t);case Us:a=8,i|=8;break;case Ea:return e=ot(12,n,t,i|2),e.elementType=Ea,e.lanes=o,e;case Sa:return e=ot(13,n,t,i),e.elementType=Sa,e.lanes=o,e;case ka:return e=ot(19,n,t,i),e.elementType=ka,e.lanes=o,e;case qd:return yl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vd:a=10;break e;case Wd:a=9;break e;case $s:a=11;break e;case Vs:a=14;break e;case $t:a=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=ot(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Cn(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function yl(e,t,n,r){return e=ot(22,e,r,t),e.elementType=qd,e.lanes=n,e.stateNode={isHidden:!1},e}function aa(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function sa(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function wy(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=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Sc(e,t,n,r,i,o,a,s,c){return e=new wy(e,t,n,s,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ot(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ac(o),e}function Ny(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bp)}catch(e){console.error(e)}}Bp(),zd.exports=tt;var Cy=zd.exports,Up,Yu=Cy;Up=Yu.createRoot,Yu.hydrateRoot;var $p={exports:{}},Vp={};/** - * @license React - * use-sync-external-store-with-selector.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var bi=P;function by(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Py=typeof Object.is=="function"?Object.is:by,Oy=bi.useSyncExternalStore,Ty=bi.useRef,Ry=bi.useEffect,Dy=bi.useMemo,Iy=bi.useDebugValue;Vp.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Ty(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=Dy(function(){function c(w){if(!u){if(u=!0,d=w,w=r(w),i!==void 0&&a.hasValue){var v=a.value;if(i(v,w))return p=v}return p=w}if(v=p,Py(d,w))return v;var j=r(w);return i!==void 0&&i(v,j)?v:(d=w,p=j)}var u=!1,d,p,g=n===void 0?null:n;return[function(){return c(t())},g===null?void 0:function(){return c(g())}]},[t,n,r,i]);var s=Oy(e,o[0],o[1]);return Ry(function(){a.hasValue=!0,a.value=s},[s]),Iy(s),s};$p.exports=Vp;var Ay=$p.exports,Ke="default"in wa?C:wa,Ku=Symbol.for("react-redux-context"),Qu=typeof globalThis<"u"?globalThis:{};function My(){if(!Ke.createContext)return{};const e=Qu[Ku]??(Qu[Ku]=new Map);let t=e.get(Ke.createContext);return t||(t=Ke.createContext(null),e.set(Ke.createContext,t)),t}var dn=My(),Ly=()=>{throw new Error("uSES not initialized!")};function bc(e=dn){return function(){return Ke.useContext(e)}}var Wp=bc(),qp=Ly,Fy=e=>{qp=e},zy=(e,t)=>e===t;function By(e=dn){const t=e===dn?Wp:bc(e),n=(r,i={})=>{const{equalityFn:o=zy,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:p}=t();Ke.useRef(!0);const g=Ke.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,a.stabilityCheck]),w=qp(c.addNestedSub,s.getState,u||s.getState,g,o);return Ke.useDebugValue(w),w};return Object.assign(n,{withTypes:()=>n}),n}var ct=By();function Uy(e){e()}function $y(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Uy(()=>{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 Gu={notify(){},get:()=>[]};function Vy(e,t){let n,r=Gu,i=0,o=!1;function a(j){d();const x=r.subscribe(j);let h=!1;return()=>{h||(h=!0,x(),p())}}function s(){r.notify()}function c(){v.onStateChange&&v.onStateChange()}function u(){return o}function d(){i++,n||(n=e.subscribe(c),r=$y())}function p(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Gu)}function g(){o||(o=!0,d())}function w(){o&&(o=!1,p())}const v={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:g,tryUnsubscribe:w,getListeners:()=>r};return v}var Wy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qy=typeof navigator<"u"&&navigator.product==="ReactNative",Hy=Wy||qy?Ke.useLayoutEffect:Ke.useEffect;function Yy({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=Ke.useMemo(()=>{const u=Vy(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),s=Ke.useMemo(()=>e.getState(),[e]);Hy(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||dn;return Ke.createElement(c.Provider,{value:a},n)}var Ky=Yy;function Hp(e=dn){const t=e===dn?Wp:bc(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Qy=Hp();function Gy(e=dn){const t=e===dn?Qy:Hp(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var zt=Gy();Fy(Ay.useSyncExternalStoreWithSelector);function Ee(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 Jy=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ju=Jy,ca=()=>Math.random().toString(36).substring(7).split("").join("."),Xy={INIT:`@@redux/INIT${ca()}`,REPLACE:`@@redux/REPLACE${ca()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ca()}`},Ko=Xy;function Pc(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 Yp(e,t,n){if(typeof e!="function")throw new Error(Ee(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Ee(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Ee(1));return n(Yp)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,c=!1;function u(){a===o&&(a=new Map,o.forEach((x,h)=>{a.set(h,x)}))}function d(){if(c)throw new Error(Ee(3));return i}function p(x){if(typeof x!="function")throw new Error(Ee(4));if(c)throw new Error(Ee(5));let h=!0;u();const m=s++;return a.set(m,x),function(){if(h){if(c)throw new Error(Ee(6));h=!1,u(),a.delete(m),o=null}}}function g(x){if(!Pc(x))throw new Error(Ee(7));if(typeof x.type>"u")throw new Error(Ee(8));if(typeof x.type!="string")throw new Error(Ee(17));if(c)throw new Error(Ee(9));try{c=!0,i=r(i,x)}finally{c=!1}return(o=a).forEach(m=>{m()}),x}function w(x){if(typeof x!="function")throw new Error(Ee(10));r=x,g({type:Ko.REPLACE})}function v(){const x=p;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(Ee(11));function m(){const y=h;y.next&&y.next(d())}return m(),{unsubscribe:x(m)}},[Ju](){return this}}}return g({type:Ko.INIT}),{dispatch:g,subscribe:p,getState:d,replaceReducer:w,[Ju]:v}}function Zy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Ko.INIT})>"u")throw new Error(Ee(12));if(typeof n(void 0,{type:Ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ee(13))})}function eg(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw s&&s.type,new Error(Ee(14));u[p]=v,c=c||v!==w}return c=c||r.length!==Object.keys(a).length,c?u:a}}function Qo(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function tg(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Ee(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=Qo(...s)(i.dispatch),{...i,dispatch:o}}}function ng(e){return Pc(e)&&"type"in e&&typeof e.type=="string"}var Kp=Symbol.for("immer-nothing"),Xu=Symbol.for("immer-draftable"),Ze=Symbol.for("immer-state");function mt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var yr=Object.getPrototypeOf;function An(e){return!!e&&!!e[Ze]}function Lt(e){var t;return e?Qp(e)||Array.isArray(e)||!!e[Xu]||!!((t=e.constructor)!=null&&t[Xu])||El(e)||Sl(e):!1}var rg=Object.prototype.constructor.toString();function Qp(e){if(!e||typeof e!="object")return!1;const t=yr(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)===rg}function Go(e,t){Nl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Nl(e){const t=e[Ze];return t?t.type_:Array.isArray(e)?1:El(e)?2:Sl(e)?3:0}function ms(e,t){return Nl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gp(e,t,n){const r=Nl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function ig(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function El(e){return e instanceof Map}function Sl(e){return e instanceof Set}function jn(e){return e.copy_||e.base_}function hs(e,t){if(El(e))return new Map(e);if(Sl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Qp(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Ze];let i=Reflect.ownKeys(r);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=og),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>Oc(r,!0))),e}function og(){mt(2)}function kl(e){return Object.isFrozen(e)}var lg={};function Mn(e){const t=lg[e];return t||mt(0,e),t}var vi;function Jp(){return vi}function ag(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Zu(e,t){t&&(Mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function vs(e){ys(e),e.drafts_.forEach(sg),e.drafts_=null}function ys(e){e===vi&&(vi=e.parent_)}function ed(e){return vi=ag(vi,e)}function sg(e){const t=e[Ze];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function td(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Ze].modified_&&(vs(t),mt(4)),Lt(e)&&(e=Jo(t,e),t.parent_||Xo(t,e)),t.patches_&&Mn("Patches").generateReplacementPatches_(n[Ze].base_,e,t.patches_,t.inversePatches_)):e=Jo(t,n,[]),vs(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Kp?e:void 0}function Jo(e,t,n){if(kl(t))return t;const r=t[Ze];if(!r)return Go(t,(i,o)=>nd(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Xo(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),Go(o,(s,c)=>nd(e,r,i,s,c,n,a)),Xo(e,i,!1),n&&e.patches_&&Mn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function nd(e,t,n,r,i,o,a){if(An(i)){const s=o&&t&&t.type_!==3&&!ms(t.assigned_,r)?o.concat(r):void 0,c=Jo(e,i,s);if(Gp(n,r,c),An(c))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Lt(i)&&!kl(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Jo(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Xo(e,i)}}function Xo(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Oc(t,n)}function cg(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Jp(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=Tc;n&&(i=[r],o=yi);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var Tc={get(e,t){if(t===Ze)return e;const n=jn(e);if(!ms(n,t))return ug(e,n,t);const r=n[t];return e.finalized_||!Lt(r)?r:r===ua(e.base_,t)?(da(e),e.copy_[t]=xs(r,e)):r},has(e,t){return t in jn(e)},ownKeys(e){return Reflect.ownKeys(jn(e))},set(e,t,n){const r=Xp(jn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=ua(jn(e),t),o=i==null?void 0:i[Ze];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(ig(n,i)&&(n!==void 0||ms(e.base_,t)))return!0;da(e),gs(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 ua(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,da(e),gs(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=jn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){mt(11)},getPrototypeOf(e){return yr(e.base_)},setPrototypeOf(){mt(12)}},yi={};Go(Tc,(e,t)=>{yi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});yi.deleteProperty=function(e,t){return yi.set.call(this,e,t,void 0)};yi.set=function(e,t,n){return Tc.set.call(this,e[0],t,n,e[0])};function ua(e,t){const n=e[Ze];return(n?jn(n):e)[t]}function ug(e,t,n){var i;const r=Xp(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Xp(e,t){if(!(t in e))return;let n=yr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=yr(n)}}function gs(e){e.modified_||(e.modified_=!0,e.parent_&&gs(e.parent_))}function da(e){e.copy_||(e.copy_=hs(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var dg=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(c=o,...u){return a.produce(c,d=>n.call(this,d,...u))}}typeof n!="function"&&mt(6),r!==void 0&&typeof r!="function"&&mt(7);let i;if(Lt(t)){const o=ed(this),a=xs(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?vs(o):ys(o)}return Zu(o,r),td(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Kp&&(i=void 0),this.autoFreeze_&&Oc(i,!0),r){const o=[],a=[];Mn("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else mt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),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){Lt(e)||mt(8),An(e)&&(e=fg(e));const t=ed(this),n=xs(e,void 0);return n[Ze].isManual_=!0,ys(t),n}finishDraft(e,t){const n=e&&e[Ze];(!n||!n.isManual_)&&mt(9);const{scope_:r}=n;return Zu(r,t),td(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=Mn("Patches").applyPatches_;return An(e)?r(e,t):this.produce(e,i=>r(i,t))}};function xs(e,t){const n=El(e)?Mn("MapSet").proxyMap_(e,t):Sl(e)?Mn("MapSet").proxySet_(e,t):cg(e,t);return(t?t.scope_:Jp()).drafts_.push(n),n}function fg(e){return An(e)||mt(10,e),Zp(e)}function Zp(e){if(!Lt(e)||kl(e))return e;const t=e[Ze];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=hs(e,t.scope_.immer_.useStrictShallowCopy_)}else n=hs(e,!0);return Go(n,(r,i)=>{Gp(n,r,Zp(i))}),t&&(t.finalized_=!1),n}var et=new dg,em=et.produce;et.produceWithPatches.bind(et);et.setAutoFreeze.bind(et);et.setUseStrictShallowCopy.bind(et);et.applyPatches.bind(et);et.createDraft.bind(et);et.finishDraft.bind(et);function tm(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var pg=tm(),mg=tm,hg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qo:Qo.apply(null,arguments)},vg=e=>e&&typeof e.match=="function";function Qr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(yt(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=>ng(r)&&r.type===e,n}var nm=class zr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,zr.prototype)}static get[Symbol.species](){return zr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new zr(...t[0].concat(this)):new zr(...t.concat(this))}};function rd(e){return Lt(e)?em(e,()=>{}):e}function id(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(yt(10));const r=n.insert(t,e);return e.set(t,r),r}function yg(e){return typeof e=="boolean"}var gg=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new nm;return n&&(yg(n)?a.push(pg):a.push(mg(n.extraArgument))),a},xg="RTK_autoBatch",rm=e=>t=>{setTimeout(t,e)},jg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rm(10),wg=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?jg:e.type==="callback"?e.queueNotification:rm(e.timeout),u=()=>{a=!1,o&&(o=!1,s.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const p=()=>i&&d(),g=r.subscribe(p);return s.add(d),()=>{g(),s.delete(d)}},dispatch(d){var p;try{return i=!((p=d==null?void 0:d.meta)!=null&&p[xg]),o=!i,o&&(a||(a=!0,c(u))),r.dispatch(d)}finally{i=!0}}})},Ng=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new nm(e);return r&&i.push(wg(typeof r=="object"?r:void 0)),i};function Eg(e){const t=gg(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(Pc(n))s=eg(n);else throw new Error(yt(1));let c;typeof r=="function"?c=r(t):c=t();let u=Qo;i&&(u=hg({trace:!1,...typeof i=="object"&&i}));const d=tg(...c),p=Ng(d);let g=typeof a=="function"?a(p):p();const w=u(...g);return Yp(s,o,w)}function im(e){const t={},n=[];let r;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(yt(28));if(s in t)throw new Error(yt(29));return t[s]=a,i},addMatcher(o,a){return n.push({matcher:o,reducer:a}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function Sg(e){return typeof e=="function"}function kg(e,t){let[n,r,i]=im(t),o;if(Sg(e))o=()=>rd(e());else{const s=rd(e);o=()=>s}function a(s=o(),c){let u=[n[c.type],...r.filter(({matcher:d})=>d(c)).map(({reducer:d})=>d)];return u.filter(d=>!!d).length===0&&(u=[i]),u.reduce((d,p)=>{if(p)if(An(d)){const w=p(d,c);return w===void 0?d:w}else{if(Lt(d))return em(d,g=>p(g,c));{const g=p(d,c);if(g===void 0){if(d===null)return d;throw new Error(yt(9))}return g}}return d},s)}return a.getInitialState=o,a}var _g=(e,t)=>vg(e)?e.match(t):e(t);function Cg(...e){return t=>e.some(n=>_g(n,t))}var bg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Pg=(e=21)=>{let t="",n=e;for(;n--;)t+=bg[Math.random()*64|0];return t},Og=["name","message","stack","code"],fa=class{constructor(e,t){Ml(this,"_type");this.payload=e,this.meta=t}},od=class{constructor(e,t){Ml(this,"_type");this.payload=e,this.meta=t}},Tg=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Og)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},_t=(()=>{function e(t,n,r){const i=Qr(t+"/fulfilled",(c,u,d,p)=>({payload:c,meta:{...p||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),o=Qr(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),a=Qr(t+"/rejected",(c,u,d,p,g)=>({payload:p,error:(r&&r.serializeError||Tg)(c||"Rejected"),meta:{...g||{},arg:d,requestId:u,rejectedWithValue:!!p,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,d,p)=>{const g=r!=null&&r.idGenerator?r.idGenerator(c):Pg(),w=new AbortController;let v,j;function x(m){j=m,w.abort()}const h=async function(){var y,N;let m;try{let E=(y=r==null?void 0:r.condition)==null?void 0:y.call(r,c,{getState:d,extra:p});if(Dg(E)&&(E=await E),E===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((S,O)=>{v=()=>{O({name:"AbortError",message:j||"Aborted"})},w.signal.addEventListener("abort",v)});u(o(g,c,(N=r==null?void 0:r.getPendingMeta)==null?void 0:N.call(r,{requestId:g,arg:c},{getState:d,extra:p}))),m=await Promise.race([k,Promise.resolve(n(c,{dispatch:u,getState:d,extra:p,requestId:g,signal:w.signal,abort:x,rejectWithValue:(S,O)=>new fa(S,O),fulfillWithValue:(S,O)=>new od(S,O)})).then(S=>{if(S instanceof fa)throw S;return S instanceof od?i(S.payload,g,c,S.meta):i(S,g,c)})])}catch(E){m=E instanceof fa?a(null,g,c,E.payload,E.meta):a(E,g,c)}finally{v&&w.signal.removeEventListener("abort",v)}return r&&!r.dispatchConditionRejection&&a.match(m)&&m.meta.condition||u(m),m}();return Object.assign(h,{abort:x,requestId:g,arg:c,unwrap(){return h.then(Rg)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:Cg(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Rg(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Dg(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ig=Symbol.for("rtk-slice-createasyncthunk");function Ag(e,t){return`${e}/${t}`}function Mg({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Ig];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(yt(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(Fg()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(f,y){const N=typeof f=="string"?f:f.type;if(!N)throw new Error(yt(12));if(N in u.sliceCaseReducersByType)throw new Error(yt(13));return u.sliceCaseReducersByType[N]=y,d},addMatcher(f,y){return u.sliceMatchers.push({matcher:f,reducer:y}),d},exposeAction(f,y){return u.actionCreators[f]=y,d},exposeCaseReducer(f,y){return u.sliceCaseReducersByName[f]=y,d}};c.forEach(f=>{const y=s[f],N={reducerName:f,type:Ag(o,f),createNotation:typeof i.reducers=="function"};Bg(y)?$g(N,y,d,t):zg(N,y,d)});function p(){const[f={},y=[],N=void 0]=typeof i.extraReducers=="function"?im(i.extraReducers):[i.extraReducers],E={...f,...u.sliceCaseReducersByType};return kg(i.initialState,k=>{for(let S in E)k.addCase(S,E[S]);for(let S of u.sliceMatchers)k.addMatcher(S.matcher,S.reducer);for(let S of y)k.addMatcher(S.matcher,S.reducer);N&&k.addDefaultCase(N)})}const g=f=>f,w=new Map;let v;function j(f,y){return v||(v=p()),v(f,y)}function x(){return v||(v=p()),v.getInitialState()}function h(f,y=!1){function N(k){let S=k[f];return typeof S>"u"&&y&&(S=x()),S}function E(k=g){const S=id(w,y,{insert:()=>new WeakMap});return id(S,k,{insert:()=>{const O={};for(const[A,z]of Object.entries(i.selectors??{}))O[A]=Lg(z,k,x,y);return O}})}return{reducerPath:f,getSelectors:E,get selectors(){return E(N)},selectSlice:N}}const m={name:o,reducer:j,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:x,...h(a),injectInto(f,{reducerPath:y,...N}={}){const E=y??a;return f.inject({reducerPath:E,reducer:j},N),{...m,...h(E,!0)}}};return m}}function Lg(e,t,n,r){function i(o,...a){let s=t(o);return typeof s>"u"&&r&&(s=n()),e(s,...a)}return i.unwrapped=e,i}var Rc=Mg();function Fg(){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 zg({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!Ug(r))throw new Error(yt(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?Qr(e,a):Qr(e))}function Bg(e){return e._reducerDefinitionType==="asyncThunk"}function Ug(e){return e._reducerDefinitionType==="reducerWithPrepare"}function $g({type:e,reducerName:t},n,r,i){if(!i)throw new Error(yt(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:c,settled:u,options:d}=n,p=i(e,o,d);r.exposeAction(t,p),a&&r.addCase(p.fulfilled,a),s&&r.addCase(p.pending,s),c&&r.addCase(p.rejected,c),u&&r.addMatcher(p.settled,u),r.exposeCaseReducer(t,{fulfilled:a||Zi,pending:s||Zi,rejected:c||Zi,settled:u||Zi})}function Zi(){}function yt(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 om(e,t){return function(){return e.apply(t,arguments)}}const{toString:Vg}=Object.prototype,{getPrototypeOf:Dc}=Object,_l=(e=>t=>{const n=Vg.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),xt=e=>(e=e.toLowerCase(),t=>_l(t)===e),Cl=e=>t=>typeof t===e,{isArray:Er}=Array,gi=Cl("undefined");function Wg(e){return e!==null&&!gi(e)&&e.constructor!==null&&!gi(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lm=xt("ArrayBuffer");function qg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lm(e.buffer),t}const Hg=Cl("string"),Je=Cl("function"),am=Cl("number"),bl=e=>e!==null&&typeof e=="object",Yg=e=>e===!0||e===!1,ho=e=>{if(_l(e)!=="object")return!1;const t=Dc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Kg=xt("Date"),Qg=xt("File"),Gg=xt("Blob"),Jg=xt("FileList"),Xg=e=>bl(e)&&Je(e.pipe),Zg=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Je(e.append)&&((t=_l(e))==="formdata"||t==="object"&&Je(e.toString)&&e.toString()==="[object FormData]"))},e0=xt("URLSearchParams"),[t0,n0,r0,i0]=["ReadableStream","Request","Response","Headers"].map(xt),o0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Pi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Er(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cm=e=>!gi(e)&&e!==kn;function js(){const{caseless:e}=cm(this)&&this||{},t={},n=(r,i)=>{const o=e&&sm(t,i)||i;ho(t[o])&&ho(r)?t[o]=js(t[o],r):ho(r)?t[o]=js({},r):Er(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Pi(t,(i,o)=>{n&&Je(i)?e[o]=om(i,n):e[o]=i},{allOwnKeys:r}),e),a0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),s0=(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)},c0=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Dc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},u0=(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},d0=e=>{if(!e)return null;if(Er(e))return e;let t=e.length;if(!am(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},f0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dc(Uint8Array)),p0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},m0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},h0=xt("HTMLFormElement"),v0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ld=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),y0=xt("RegExp"),um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Pi(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},g0=e=>{um(e,(t,n)=>{if(Je(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Je(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+"'")})}})},x0=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Er(e)?r(e):r(String(e).split(t)),n},j0=()=>{},w0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pa="abcdefghijklmnopqrstuvwxyz",ad="0123456789",dm={DIGIT:ad,ALPHA:pa,ALPHA_DIGIT:pa+pa.toUpperCase()+ad},N0=(e=16,t=dm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function E0(e){return!!(e&&Je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const S0=e=>{const t=new Array(10),n=(r,i)=>{if(bl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Er(r)?[]:{};return Pi(r,(a,s)=>{const c=n(a,i+1);!gi(c)&&(o[s]=c)}),t[i]=void 0,o}}return r};return n(e,0)},k0=xt("AsyncFunction"),_0=e=>e&&(bl(e)||Je(e))&&Je(e.then)&&Je(e.catch),fm=((e,t)=>e?setImmediate:t?((n,r)=>(kn.addEventListener("message",({source:i,data:o})=>{i===kn&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),kn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Je(kn.postMessage)),C0=typeof queueMicrotask<"u"?queueMicrotask.bind(kn):typeof process<"u"&&process.nextTick||fm,R={isArray:Er,isArrayBuffer:lm,isBuffer:Wg,isFormData:Zg,isArrayBufferView:qg,isString:Hg,isNumber:am,isBoolean:Yg,isObject:bl,isPlainObject:ho,isReadableStream:t0,isRequest:n0,isResponse:r0,isHeaders:i0,isUndefined:gi,isDate:Kg,isFile:Qg,isBlob:Gg,isRegExp:y0,isFunction:Je,isStream:Xg,isURLSearchParams:e0,isTypedArray:f0,isFileList:Jg,forEach:Pi,merge:js,extend:l0,trim:o0,stripBOM:a0,inherits:s0,toFlatObject:c0,kindOf:_l,kindOfTest:xt,endsWith:u0,toArray:d0,forEachEntry:p0,matchAll:m0,isHTMLForm:h0,hasOwnProperty:ld,hasOwnProp:ld,reduceDescriptors:um,freezeMethods:g0,toObjectSet:x0,toCamelCase:v0,noop:j0,toFiniteNumber:w0,findKey:sm,global:kn,isContextDefined:cm,ALPHABET:dm,generateString:N0,isSpecCompliantForm:E0,toJSONObject:S0,isAsyncFn:k0,isThenable:_0,setImmediate:fm,asap:C0};function G(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)}R.inherits(G,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:R.toJSONObject(this.config),code:this.code,status:this.status}}});const pm=G.prototype,mm={};["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=>{mm[e]={value:e}});Object.defineProperties(G,mm);Object.defineProperty(pm,"isAxiosError",{value:!0});G.from=(e,t,n,r,i,o)=>{const a=Object.create(pm);return R.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const b0=null;function ws(e){return R.isPlainObject(e)||R.isArray(e)}function hm(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function sd(e,t,n){return e?e.concat(t).map(function(i,o){return i=hm(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function P0(e){return R.isArray(e)&&!e.some(ws)}const O0=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function Pl(e,t,n){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=R.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(j,x){return!R.isUndefined(x[j])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(i))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(R.isDate(v))return v.toISOString();if(!c&&R.isBlob(v))throw new G("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(v)||R.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,j,x){let h=v;if(v&&!x&&typeof v=="object"){if(R.endsWith(j,"{}"))j=r?j:j.slice(0,-2),v=JSON.stringify(v);else if(R.isArray(v)&&P0(v)||(R.isFileList(v)||R.endsWith(j,"[]"))&&(h=R.toArray(v)))return j=hm(j),h.forEach(function(f,y){!(R.isUndefined(f)||f===null)&&t.append(a===!0?sd([j],y,o):a===null?j:j+"[]",u(f))}),!1}return ws(v)?!0:(t.append(sd(x,j,o),u(v)),!1)}const p=[],g=Object.assign(O0,{defaultVisitor:d,convertValue:u,isVisitable:ws});function w(v,j){if(!R.isUndefined(v)){if(p.indexOf(v)!==-1)throw Error("Circular reference detected in "+j.join("."));p.push(v),R.forEach(v,function(h,m){(!(R.isUndefined(h)||h===null)&&i.call(t,h,R.isString(m)?m.trim():m,j,g))===!0&&w(h,j?j.concat(m):[m])}),p.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return w(e),t}function cd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ic(e,t){this._pairs=[],e&&Pl(e,this,t)}const vm=Ic.prototype;vm.append=function(t,n){this._pairs.push([t,n])};vm.toString=function(t){const n=t?function(r){return t.call(this,r,cd)}:cd;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function T0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ym(e,t,n){if(!t)return e;const r=n&&n.encode||T0,i=n&&n.serialize;let o;if(i?o=i(t,n):o=R.isURLSearchParams(t)?t.toString():new Ic(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ud{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){R.forEach(this.handlers,function(r){r!==null&&t(r)})}}const gm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},R0=typeof URLSearchParams<"u"?URLSearchParams:Ic,D0=typeof FormData<"u"?FormData:null,I0=typeof Blob<"u"?Blob:null,A0={isBrowser:!0,classes:{URLSearchParams:R0,FormData:D0,Blob:I0},protocols:["http","https","file","blob","url","data"]},Ac=typeof window<"u"&&typeof document<"u",Ns=typeof navigator=="object"&&navigator||void 0,M0=Ac&&(!Ns||["ReactNative","NativeScript","NS"].indexOf(Ns.product)<0),L0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",F0=Ac&&window.location.href||"http://localhost",z0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ac,hasStandardBrowserEnv:M0,hasStandardBrowserWebWorkerEnv:L0,navigator:Ns,origin:F0},Symbol.toStringTag,{value:"Module"})),We={...z0,...A0};function B0(e,t){return Pl(e,new We.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return We.isNode&&R.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function U0(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $0(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&R.isArray(i)?i.length:a,c?(R.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!R.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&R.isArray(i[a])&&(i[a]=$0(i[a])),!s)}if(R.isFormData(e)&&R.isFunction(e.entries)){const n={};return R.forEachEntry(e,(r,i)=>{t(U0(r),i,n,0)}),n}return null}function V0(e,t,n){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Oi={transitional:gm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=R.isObject(t);if(o&&R.isHTMLForm(t)&&(t=new FormData(t)),R.isFormData(t))return i?JSON.stringify(xm(t)):t;if(R.isArrayBuffer(t)||R.isBuffer(t)||R.isStream(t)||R.isFile(t)||R.isBlob(t)||R.isReadableStream(t))return t;if(R.isArrayBufferView(t))return t.buffer;if(R.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return B0(t,this.formSerializer).toString();if((s=R.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Pl(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),V0(t)):t}],transformResponse:[function(t){const n=this.transitional||Oi.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(R.isResponse(t)||R.isReadableStream(t))return t;if(t&&R.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{Oi.headers[e]={}});const W0=R.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"]),q0=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&W0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},dd=Symbol("internals");function Ir(e){return e&&String(e).trim().toLowerCase()}function vo(e){return e===!1||e==null?e:R.isArray(e)?e.map(vo):String(e)}function H0(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 Y0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ma(e,t,n,r,i){if(R.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!R.isString(t)){if(R.isString(r))return t.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(t)}}function K0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Q0(e,t){const n=R.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class qe{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,c,u){const d=Ir(c);if(!d)throw new Error("header name must be a non-empty string");const p=R.findKey(i,d);(!p||i[p]===void 0||u===!0||u===void 0&&i[p]!==!1)&&(i[p||c]=vo(s))}const a=(s,c)=>R.forEach(s,(u,d)=>o(u,d,c));if(R.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(R.isString(t)&&(t=t.trim())&&!Y0(t))a(q0(t),n);else if(R.isHeaders(t))for(const[s,c]of t.entries())o(c,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=Ir(t),t){const r=R.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return H0(i);if(R.isFunction(n))return n.call(this,i,r);if(R.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ir(t),t){const r=R.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ma(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=Ir(a),a){const s=R.findKey(r,a);s&&(!n||ma(r,r[s],s,n))&&(delete r[s],i=!0)}}return R.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||ma(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return R.forEach(this,(i,o)=>{const a=R.findKey(r,o);if(a){n[a]=vo(i),delete n[o];return}const s=t?K0(o):String(o).trim();s!==o&&delete n[o],n[s]=vo(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return R.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&R.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[dd]=this[dd]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=Ir(a);r[s]||(Q0(i,a),r[s]=!0)}return R.isArray(t)?t.forEach(o):o(t),this}}qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(qe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});R.freezeMethods(qe);function ha(e,t){const n=this||Oi,r=t||n,i=qe.from(r.headers);let o=r.data;return R.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function jm(e){return!!(e&&e.__CANCEL__)}function Sr(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}R.inherits(Sr,G,{__CANCEL__:!0});function wm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function G0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function J0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[o];a||(a=u),n[i]=c,r[i]=u;let p=o,g=0;for(;p!==i;)g+=n[p++],p=p%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a{n=d,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),p=d-n;p>=r?a(u,d):(i=u,o||(o=setTimeout(()=>{o=null,a(i)},r-p)))},()=>i&&a(i)]}const Zo=(e,t,n=3)=>{let r=0;const i=J0(50,250);return X0(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,c=a-r,u=i(c),d=a<=s;r=a;const p={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&d?(s-a)/u:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},fd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pd=e=>(...t)=>R.asap(()=>e(...t)),Z0=We.hasStandardBrowserEnv?function(){const t=We.navigator&&/(msie|trident)/i.test(We.navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const s=R.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),e1=We.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];R.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),R.isString(r)&&a.push("path="+r),R.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function t1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function n1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nm(e,t){return e&&!t1(t)?n1(e,t):t}const md=e=>e instanceof qe?{...e}:e;function Ln(e,t){t=t||{};const n={};function r(u,d,p){return R.isPlainObject(u)&&R.isPlainObject(d)?R.merge.call({caseless:p},u,d):R.isPlainObject(d)?R.merge({},d):R.isArray(d)?d.slice():d}function i(u,d,p){if(R.isUndefined(d)){if(!R.isUndefined(u))return r(void 0,u,p)}else return r(u,d,p)}function o(u,d){if(!R.isUndefined(d))return r(void 0,d)}function a(u,d){if(R.isUndefined(d)){if(!R.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,p){if(p in t)return r(u,d);if(p in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,d)=>i(md(u),md(d),!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=c[d]||i,g=p(e[d],t[d],d);R.isUndefined(g)&&p!==s||(n[d]=g)}),n}const Em=e=>{const t=Ln({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=qe.from(a),t.url=ym(Nm(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(R.isFormData(n)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[u,...d]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...d].join("; "))}}if(We.hasStandardBrowserEnv&&(r&&R.isFunction(r)&&(r=r(t)),r||r!==!1&&Z0(t.url))){const u=i&&o&&e1.read(o);u&&a.set(i,u)}return t},r1=typeof XMLHttpRequest<"u",i1=r1&&function(e){return new Promise(function(n,r){const i=Em(e);let o=i.data;const a=qe.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=i,d,p,g,w,v;function j(){w&&w(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(i.method.toUpperCase(),i.url,!0),x.timeout=i.timeout;function h(){if(!x)return;const f=qe.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),N={data:!s||s==="text"||s==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:f,config:e,request:x};wm(function(k){n(k),j()},function(k){r(k),j()},N),x=null}"onloadend"in x?x.onloadend=h:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(h)},x.onabort=function(){x&&(r(new G("Request aborted",G.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let y=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const N=i.transitional||gm;i.timeoutErrorMessage&&(y=i.timeoutErrorMessage),r(new G(y,N.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,x)),x=null},o===void 0&&a.setContentType(null),"setRequestHeader"in x&&R.forEach(a.toJSON(),function(y,N){x.setRequestHeader(N,y)}),R.isUndefined(i.withCredentials)||(x.withCredentials=!!i.withCredentials),s&&s!=="json"&&(x.responseType=i.responseType),u&&([g,v]=Zo(u,!0),x.addEventListener("progress",g)),c&&x.upload&&([p,w]=Zo(c),x.upload.addEventListener("progress",p),x.upload.addEventListener("loadend",w)),(i.cancelToken||i.signal)&&(d=f=>{x&&(r(!f||f.type?new Sr(null,e,x):f),x.abort(),x=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=G0(i.url);if(m&&We.protocols.indexOf(m)===-1){r(new G("Unsupported protocol "+m+":",G.ERR_BAD_REQUEST,e));return}x.send(o||null)})},o1=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof G?d:new Sr(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,o(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>R.asap(s),c}},l1=function*(e,t){let n=e.byteLength;if(!t||n{const i=a1(e,t);let o=0,a,s=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){s(),c.close();return}let p=d.byteLength;if(n){let g=o+=p;n(g)}c.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(c){return s(c),i.return()}},{highWaterMark:2})},Ol=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Sm=Ol&&typeof ReadableStream=="function",c1=Ol&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),km=(e,...t)=>{try{return!!e(...t)}catch{return!1}},u1=Sm&&km(()=>{let e=!1;const t=new Request(We.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),vd=64*1024,Es=Sm&&km(()=>R.isReadableStream(new Response("").body)),el={stream:Es&&(e=>e.body)};Ol&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!el[t]&&(el[t]=R.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})})})(new Response);const d1=async e=>{if(e==null)return 0;if(R.isBlob(e))return e.size;if(R.isSpecCompliantForm(e))return(await new Request(We.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(R.isArrayBufferView(e)||R.isArrayBuffer(e))return e.byteLength;if(R.isURLSearchParams(e)&&(e=e+""),R.isString(e))return(await c1(e)).byteLength},f1=async(e,t)=>{const n=R.toFiniteNumber(e.getContentLength());return n??d1(t)},p1=Ol&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:d,withCredentials:p="same-origin",fetchOptions:g}=Em(e);u=u?(u+"").toLowerCase():"text";let w=o1([i,o&&o.toAbortSignal()],a),v;const j=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let x;try{if(c&&u1&&n!=="get"&&n!=="head"&&(x=await f1(d,r))!==0){let N=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(R.isFormData(r)&&(E=N.headers.get("content-type"))&&d.setContentType(E),N.body){const[k,S]=fd(x,Zo(pd(c)));r=hd(N.body,vd,k,S)}}R.isString(p)||(p=p?"include":"omit");const h="credentials"in Request.prototype;v=new Request(t,{...g,signal:w,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?p:void 0});let m=await fetch(v);const f=Es&&(u==="stream"||u==="response");if(Es&&(s||f&&j)){const N={};["status","statusText","headers"].forEach(O=>{N[O]=m[O]});const E=R.toFiniteNumber(m.headers.get("content-length")),[k,S]=s&&fd(E,Zo(pd(s),!0))||[];m=new Response(hd(m.body,vd,k,()=>{S&&S(),j&&j()}),N)}u=u||"text";let y=await el[R.findKey(el,u)||"text"](m,e);return!f&&j&&j(),await new Promise((N,E)=>{wm(N,E,{data:y,headers:qe.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:v})})}catch(h){throw j&&j(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,v),{cause:h.cause||h}):G.from(h,h&&h.code,e,v)}}),Ss={http:b0,xhr:i1,fetch:p1};R.forEach(Ss,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yd=e=>`- ${e}`,m1=e=>R.isFunction(e)||e===null||e===!1,_m={getAdapter:e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(yd).join(` -`):" "+yd(o[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Ss};function va(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Sr(null,e)}function gd(e){return va(e),e.headers=qe.from(e.headers),e.data=ha.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_m.getAdapter(e.adapter||Oi.adapter)(e).then(function(r){return va(e),r.data=ha.call(e,e.transformResponse,r),r.headers=qe.from(r.headers),r},function(r){return jm(r)||(va(e),r&&r.response&&(r.response.data=ha.call(e,e.transformResponse,r.response),r.response.headers=qe.from(r.response.headers))),Promise.reject(r)})}const Cm="1.7.7",Mc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xd={};Mc.transitional=function(t,n,r){function i(o,a){return"[Axios v"+Cm+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new G(i(a," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!xd[a]&&(xd[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};function h1(e,t,n){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],c=s===void 0||a(s,o,e);if(c!==!0)throw new G("option "+o+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+o,G.ERR_BAD_OPTION)}}const ks={assertOptions:h1,validators:Mc},Ut=ks.validators;class bn{constructor(t){this.defaults=t,this.interceptors={request:new ud,response:new ud}}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 o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ln(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&ks.assertOptions(r,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean)},!1),i!=null&&(R.isFunction(i)?n.paramsSerializer={serialize:i}:ks.assertOptions(i,{encode:Ut.function,serialize:Ut.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&R.merge(o.common,o[n.method]);o&&R.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=qe.concat(a,o);const s=[];let c=!0;this.interceptors.request.forEach(function(j){typeof j.runWhen=="function"&&j.runWhen(n)===!1||(c=c&&j.synchronous,s.unshift(j.fulfilled,j.rejected))});const u=[];this.interceptors.response.forEach(function(j){u.push(j.fulfilled,j.rejected)});let d,p=0,g;if(!c){const v=[gd.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),g=v.length,d=Promise.resolve(n);p{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Sr(o,a,s),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 Lc(function(i){t=i}),cancel:t}}}function v1(e){return function(n){return e.apply(null,n)}}function y1(e){return R.isObject(e)&&e.isAxiosError===!0}const _s={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(_s).forEach(([e,t])=>{_s[t]=e});function bm(e){const t=new bn(e),n=om(bn.prototype.request,t);return R.extend(n,bn.prototype,t,{allOwnKeys:!0}),R.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return bm(Ln(e,i))},n}const ae=bm(Oi);ae.Axios=bn;ae.CanceledError=Sr;ae.CancelToken=Lc;ae.isCancel=jm;ae.VERSION=Cm;ae.toFormData=Pl;ae.AxiosError=G;ae.Cancel=ae.CanceledError;ae.all=function(t){return Promise.all(t)};ae.spread=v1;ae.isAxiosError=y1;ae.mergeConfig=Ln;ae.AxiosHeaders=qe;ae.formToJSON=e=>xm(R.isHTMLForm(e)?new FormData(e):e);ae.getAdapter=_m.getAdapter;ae.HttpStatusCode=_s;ae.default=ae;const g1="http://67.225.129.127:3002",hn=ae.create({baseURL:g1});hn.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const x1=e=>hn.post("/users/signup",e),j1=e=>hn.post("/users/signin",e),w1=(e,t,n)=>hn.get(`/users/${e}/verify/${t}`,n),N1=e=>hn.post("/properties",e),E1=(e,t,n)=>hn.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),S1=e=>hn.get(`/properties/${e}`,e),k1=(e,t)=>hn.put(`/properties/${e}`,t),yo=_t("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await j1(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),go=_t("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await x1(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),ya=_t("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),Pm=Rc({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(yo.pending,t=>{t.loading=!0}).addCase(yo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(yo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(go.pending,t=>{t.loading=!0}).addCase(go.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(go.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(ya.pending,t=>{t.loading=!0}).addCase(ya.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(ya.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Qj,setLogout:_1,setUserDetails:Gj}=Pm.actions,C1=Pm.reducer,ga=_t("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)}}),xo=_t("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await w1(e,t,n)).data.message}catch(i){return r(i.response.data)}}),b1=Rc({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(ga.pending,t=>{t.loading=!0}).addCase(ga.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(ga.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(xo.pending,t=>{t.loading=!0,t.error=null}).addCase(xo.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(xo.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),P1=b1.reducer,jo=_t("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await N1(e)).data}catch(n){return t(n.response.data)}}),wo=_t("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:r})=>{try{return(await E1(e,t,n)).data}catch(i){return r(i.response.data)}}),Gr=_t("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await S1(e)).data}catch(n){return t(n.response.data)}}),No=_t("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await k1(e,t)).data}catch(r){return n(r.response.data)}}),Jr=_t("properties/getProperties",async({page:e,limit:t,keyword:n=""})=>(await ae.get(`http://67.225.129.127:3002/properties?page=${e}&limit=${t}&keyword=${n}`)).data),O1=Rc({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1,properties:[]},reducers:{},extraReducers:e=>{e.addCase(jo.pending,t=>{t.status="loading"}).addCase(jo.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(jo.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(wo.pending,t=>{t.loading=!0}).addCase(wo.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(wo.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Gr.pending,t=>{t.status="loading"}).addCase(Gr.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Gr.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(No.pending,t=>{t.status="loading"}).addCase(No.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(No.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Jr.pending,t=>{t.loading=!0}).addCase(Jr.fulfilled,(t,n)=>{t.loading=!1,t.properties=n.payload.data,t.totalPages=n.payload.totalPages,t.currentPage=n.payload.currentPage}).addCase(Jr.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),T1=O1.reducer,R1=Eg({reducer:{auth:C1,user:P1,property:T1}});/** - * @remix-run/router v1.19.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Om(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function I1(){return Math.random().toString(36).substr(2,8)}function wd(e,t){return{usr:e.state,key:e.key,idx:t}}function Cs(e,t,n,r){return n===void 0&&(n=null),xi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?kr(t):t,{state:n,key:t&&t.key||r||I1()})}function tl(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 kr(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 A1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Jt.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(xi({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function p(){s=Jt.Pop;let x=d(),h=x==null?null:x-u;u=x,c&&c({action:s,location:j.location,delta:h})}function g(x,h){s=Jt.Push;let m=Cs(j.location,x,h);u=d()+1;let f=wd(m,u),y=j.createHref(m);try{a.pushState(f,"",y)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(y)}o&&c&&c({action:s,location:j.location,delta:1})}function w(x,h){s=Jt.Replace;let m=Cs(j.location,x,h);u=d();let f=wd(m,u),y=j.createHref(m);a.replaceState(f,"",y),o&&c&&c({action:s,location:j.location,delta:0})}function v(x){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="string"?x:tl(x);return m=m.replace(/ $/,"%20"),me(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let j={get action(){return s},get location(){return e(i,a)},listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(jd,p),c=x,()=>{i.removeEventListener(jd,p),c=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let h=v(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:g,replace:w,go(x){return a.go(x)}};return j}var Nd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Nd||(Nd={}));function M1(e,t,n){return n===void 0&&(n="/"),L1(e,t,n,!1)}function L1(e,t,n,r){let i=typeof t=="string"?kr(t):t,o=gr(i.pathname||"/",n);if(o==null)return null;let a=Tm(e);F1(a);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(me(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=sn([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(me(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Tm(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:q1(u,o.index),routesMeta:d})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let c of Rm(o.path))i(o,a,c)}),t}function Rm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=Rm(r.join("/")),s=[];return s.push(...a.map(c=>c===""?o:[o,c].join("/"))),i&&s.push(...a),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function F1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:H1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const z1=/^:[\w-]+$/,B1=3,U1=2,$1=1,V1=10,W1=-2,Ed=e=>e==="*";function q1(e,t){let n=e.split("/"),r=n.length;return n.some(Ed)&&(r+=W1),t&&(r+=U1),n.filter(i=>!Ed(i)).reduce((i,o)=>i+(z1.test(o)?B1:o===""?$1:V1),r)}function H1(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 Y1(e,t,n){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s{let{paramName:g,isOptional:w}=d;if(g==="*"){let j=s[p]||"";a=o.slice(0,o.length-j.length).replace(/(.)\/+$/,"$1")}const v=s[p];return w&&!v?u[g]=void 0:u[g]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function K1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Om(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,(a,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Q1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Om(!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 gr(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 G1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?kr(e):e;return{pathname:n?n.startsWith("/")?n:J1(n,t):t,search:ex(r),hash:tx(i)}}function J1(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 xa(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 X1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dm(e,t){let n=X1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Im(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=kr(e):(i=xi({},e),me(!i.pathname||!i.pathname.includes("?"),xa("?","pathname","search",i)),me(!i.pathname||!i.pathname.includes("#"),xa("#","pathname","hash",i)),me(!i.search||!i.search.includes("#"),xa("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let p=t.length-1;if(!r&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}s=p>=0?t[p]:"/"}let c=G1(i,s),u=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const sn=e=>e.join("/").replace(/\/\/+/g,"/"),Z1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ex=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tx=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nx(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Am=["post","put","patch","delete"];new Set(Am);const rx=["get",...Am];new Set(rx);/** - * React Router v6.26.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ji(){return ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=Im(u,JSON.parse(a),o,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:sn([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,a,o,e])}function Ii(){let{matches:e}=P.useContext(yn),t=e[e.length-1];return t?t.params:{}}function Dl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(vn),{matches:i}=P.useContext(yn),{pathname:o}=Ri(),a=JSON.stringify(Dm(i,r.v7_relativeSplatPath));return P.useMemo(()=>Im(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function lx(e,t){return ax(e,t)}function ax(e,t,n,r){Ti()||me(!1);let{navigator:i}=P.useContext(vn),{matches:o}=P.useContext(yn),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Ri(),d;if(t){var p;let x=typeof t=="string"?kr(t):t;c==="/"||(p=x.pathname)!=null&&p.startsWith(c)||me(!1),d=x}else d=u;let g=d.pathname||"/",w=g;if(c!=="/"){let x=c.replace(/^\//,"").split("/");w="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=M1(e,{pathname:w}),j=fx(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:sn([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:sn([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&j?P.createElement(Rl.Provider,{value:{location:ji({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Jt.Pop}},j):j}function sx(){let e=vx(),t=nx(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 P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const cx=P.createElement(sx,null);class ux extends P.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?P.createElement(yn.Provider,{value:this.props.routeContext},P.createElement(Lm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function dx(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(Tl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(yn.Provider,{value:t},r)}function fx(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let d=a.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||me(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,p,g)=>{let w,v=!1,j=null,x=null;n&&(w=s&&p.route.id?s[p.route.id]:void 0,j=p.route.errorElement||cx,c&&(u<0&&g===0?(v=!0,x=null):u===g&&(v=!0,x=p.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,g+1)),m=()=>{let f;return w?f=j:v?f=x:p.route.Component?f=P.createElement(p.route.Component,null):p.route.element?f=p.route.element:f=d,P.createElement(dx,{match:p,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:f})};return n&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?P.createElement(ux,{location:n.location,revalidation:n.revalidation,component:j,error:w,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var zm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(zm||{}),rl=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}(rl||{});function px(e){let t=P.useContext(Tl);return t||me(!1),t}function mx(e){let t=P.useContext(Mm);return t||me(!1),t}function hx(e){let t=P.useContext(yn);return t||me(!1),t}function Bm(e){let t=hx(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function vx(){var e;let t=P.useContext(Lm),n=mx(rl.UseRouteError),r=Bm(rl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yx(){let{router:e}=px(zm.UseNavigateStable),t=Bm(rl.UseNavigateStable),n=P.useRef(!1);return Fm(()=>{n.current=!0}),P.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ji({fromRouteId:t},o)))},[e,t])}function Ne(e){me(!1)}function gx(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Jt.Pop,navigator:o,static:a=!1,future:s}=e;Ti()&&me(!1);let c=t.replace(/^\/*/,"/"),u=P.useMemo(()=>({basename:c,navigator:o,static:a,future:ji({v7_relativeSplatPath:!1},s)}),[c,s,o,a]);typeof r=="string"&&(r=kr(r));let{pathname:d="/",search:p="",hash:g="",state:w=null,key:v="default"}=r,j=P.useMemo(()=>{let x=gr(d,c);return x==null?null:{location:{pathname:x,search:p,hash:g,state:w,key:v},navigationType:i}},[c,d,p,g,w,v,i]);return j==null?null:P.createElement(vn.Provider,{value:u},P.createElement(Rl.Provider,{children:n,value:j}))}function xx(e){let{children:t,location:n}=e;return lx(bs(t),n)}new Promise(()=>{});function bs(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let o=[...t,i];if(r.type===P.Fragment){n.push.apply(n,bs(r.props.children,o));return}r.type!==Ne&&me(!1),!r.props.index||!r.props.children||me(!1);let a={id:r.props.id||o.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&&(a.children=bs(r.props.children,o)),n.push(a)}),n}/** - * React Router DOM v6.26.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function jx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wx(e,t){return e.button===0&&(!t||t==="_self")&&!jx(e)}const Nx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Ex=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Sx="6";try{window.__reactRouterVersion=Sx}catch{}const kx=P.createContext({isTransitioning:!1}),_x="startTransition",Sd=wa[_x];function Cx(e){let{basename:t,children:n,future:r,window:i}=e,o=P.useRef();o.current==null&&(o.current=D1({window:i,v5Compat:!0}));let a=o.current,[s,c]=P.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=P.useCallback(p=>{u&&Sd?Sd(()=>c(p)):c(p)},[c,u]);return P.useLayoutEffect(()=>a.listen(d),[a,d]),P.createElement(gx,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const bx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Px=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ox=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:p}=t,g=Um(t,Nx),{basename:w}=P.useContext(vn),v,j=!1;if(typeof u=="string"&&Px.test(u)&&(v=u,bx))try{let f=new URL(window.location.href),y=u.startsWith("//")?new URL(f.protocol+u):new URL(u),N=gr(y.pathname,w);y.origin===f.origin&&N!=null?u=N+y.search+y.hash:j=!0}catch{}let x=ix(u,{relative:i}),h=Rx(u,{replace:a,state:s,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:p});function m(f){r&&r(f),f.defaultPrevented||h(f)}return P.createElement("a",il({},g,{href:v||x,onClick:j||o?r:m,ref:n,target:c}))}),ce=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:a=!1,style:s,to:c,unstable_viewTransition:u,children:d}=t,p=Um(t,Ex),g=Dl(c,{relative:p.relative}),w=Ri(),v=P.useContext(Mm),{navigator:j,basename:x}=P.useContext(vn),h=v!=null&&Dx(g)&&u===!0,m=j.encodeLocation?j.encodeLocation(g).pathname:g.pathname,f=w.pathname,y=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(f=f.toLowerCase(),y=y?y.toLowerCase():null,m=m.toLowerCase()),y&&x&&(y=gr(y,x)||y);const N=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=f===m||!a&&f.startsWith(m)&&f.charAt(N)==="/",k=y!=null&&(y===m||!a&&y.startsWith(m)&&y.charAt(m.length)==="/"),S={isActive:E,isPending:k,isTransitioning:h},O=E?r:void 0,A;typeof o=="function"?A=o(S):A=[o,E?"active":null,k?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let z=typeof s=="function"?s(S):s;return P.createElement(Ox,il({},p,{"aria-current":O,className:A,ref:n,style:z,to:c,unstable_viewTransition:u}),typeof d=="function"?d(S):d)});var Ps;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ps||(Ps={}));var kd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(kd||(kd={}));function Tx(e){let t=P.useContext(Tl);return t||me(!1),t}function Rx(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,c=Di(),u=Ri(),d=Dl(e,{relative:a});return P.useCallback(p=>{if(wx(p,n)){p.preventDefault();let g=r!==void 0?r:tl(u)===tl(d);c(e,{replace:g,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[u,c,d,r,i,n,e,o,a,s])}function Dx(e,t){t===void 0&&(t={});let n=P.useContext(kx);n==null&&me(!1);let{basename:r}=Tx(Ps.useViewTransitionState),i=Dl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=gr(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=gr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return nl(i.pathname,a)!=null||nl(i.pathname,o)!=null}function $m(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),Pn=e=>typeof e=="string",Qe=e=>typeof e=="function",Eo=e=>Pn(e)||Qe(e)?e:null,Os=e=>P.isValidElement(e)||Pn(e)||Qe(e)||wi(e);function Ix(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 Il(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=e;return function(a){let{children:s,position:c,preventExitTransition:u,done:d,nodeRef:p,isIn:g,playToast:w}=a;const v=r?`${t}--${c}`:t,j=r?`${n}--${c}`:n,x=P.useRef(0);return P.useLayoutEffect(()=>{const h=p.current,m=v.split(" "),f=y=>{y.target===p.current&&(w(),h.removeEventListener("animationend",f),h.removeEventListener("animationcancel",f),x.current===0&&y.type!=="animationcancel"&&h.classList.remove(...m))};h.classList.add(...m),h.addEventListener("animationend",f),h.addEventListener("animationcancel",f)},[]),P.useEffect(()=>{const h=p.current,m=()=>{h.removeEventListener("animationend",m),i?Ix(h,d,o):d()};g||(u?m():(x.current=1,h.className+=` ${j}`,h.addEventListener("animationend",m)))},[g]),C.createElement(C.Fragment,null,s)}}function _d(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 De=new Map;let Ni=[];const Ts=new Set,Ax=e=>Ts.forEach(t=>t(e)),Vm=()=>De.size>0;function Wm(e,t){var n;if(t)return!((n=De.get(t))==null||!n.isToastActive(e));let r=!1;return De.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function qm(e,t){Os(e)&&(Vm()||Ni.push({content:e,options:t}),De.forEach(n=>{n.buildToast(e,t)}))}function Cd(e,t){De.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 Mx(e){const{subscribe:t,getSnapshot:n,setProps:r}=P.useRef(function(o){const a=o.containerId||1;return{subscribe(s){const c=function(d,p,g){let w=1,v=0,j=[],x=[],h=[],m=p;const f=new Map,y=new Set,N=()=>{h=Array.from(f.values()),y.forEach(S=>S())},E=S=>{x=S==null?[]:x.filter(O=>O!==S),N()},k=S=>{const{toastId:O,onOpen:A,updateId:z,children:Y}=S.props,W=z==null;S.staleId&&f.delete(S.staleId),f.set(O,S),x=[...x,S.props.toastId].filter(q=>q!==S.staleId),N(),g(_d(S,W?"added":"updated")),W&&Qe(A)&&A(P.isValidElement(Y)&&Y.props)};return{id:d,props:m,observe:S=>(y.add(S),()=>y.delete(S)),toggle:(S,O)=>{f.forEach(A=>{O!=null&&O!==A.props.toastId||Qe(A.toggle)&&A.toggle(S)})},removeToast:E,toasts:f,clearQueue:()=>{v-=j.length,j=[]},buildToast:(S,O)=>{if((M=>{let{containerId:U,toastId:$,updateId:H}=M;const K=U?U!==d:d!==1,Q=f.has($)&&H==null;return K||Q})(O))return;const{toastId:A,updateId:z,data:Y,staleId:W,delay:q}=O,T=()=>{E(A)},L=z==null;L&&v++;const V={...m,style:m.toastStyle,key:w++,...Object.fromEntries(Object.entries(O).filter(M=>{let[U,$]=M;return $!=null})),toastId:A,updateId:z,data:Y,closeToast:T,isIn:!1,className:Eo(O.className||m.toastClassName),bodyClassName:Eo(O.bodyClassName||m.bodyClassName),progressClassName:Eo(O.progressClassName||m.progressClassName),autoClose:!O.isLoading&&(b=O.autoClose,_=m.autoClose,b===!1||wi(b)&&b>0?b:_),deleteToast(){const M=f.get(A),{onClose:U,children:$}=M.props;Qe(U)&&U(P.isValidElement($)&&$.props),g(_d(M,"removed")),f.delete(A),v--,v<0&&(v=0),j.length>0?k(j.shift()):N()}};var b,_;V.closeButton=m.closeButton,O.closeButton===!1||Os(O.closeButton)?V.closeButton=O.closeButton:O.closeButton===!0&&(V.closeButton=!Os(m.closeButton)||m.closeButton);let D=S;P.isValidElement(S)&&!Pn(S.type)?D=P.cloneElement(S,{closeToast:T,toastProps:V,data:Y}):Qe(S)&&(D=S({closeToast:T,toastProps:V,data:Y}));const I={content:D,props:V,staleId:W};m.limit&&m.limit>0&&v>m.limit&&L?j.push(I):wi(q)?setTimeout(()=>{k(I)},q):k(I)},setProps(S){m=S},setToggle:(S,O)=>{f.get(S).toggle=O},isToastActive:S=>x.some(O=>O===S),getSnapshot:()=>m.newestOnTop?h.reverse():h}}(a,o,Ax);De.set(a,c);const u=c.observe(s);return Ni.forEach(d=>qm(d.content,d.options)),Ni=[],()=>{u(),De.delete(a)}},setProps(s){var c;(c=De.get(a))==null||c.setProps(s)},getSnapshot(){var s;return(s=De.get(a))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const i=P.useSyncExternalStore(t,n,n);return{getToastToRender:function(o){if(!i)return[];const a=new Map;return i.forEach(s=>{const{position:c}=s.props;a.has(c)||a.set(c,[]),a.get(c).push(s)}),Array.from(a,s=>o(s[0],s[1]))},isToastActive:Wm,count:i==null?void 0:i.length}}function Lx(e){const[t,n]=P.useState(!1),[r,i]=P.useState(!1),o=P.useRef(null),a=P.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:p}=e;var g,w;function v(){n(!0)}function j(){n(!1)}function x(f){const y=o.current;a.canDrag&&y&&(a.didMove=!0,t&&j(),a.delta=e.draggableDirection==="x"?f.clientX-a.start:f.clientY-a.start,a.start!==f.clientX&&(a.canCloseOnClick=!1),y.style.transform=`translate3d(${e.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,y.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function h(){document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",h);const f=o.current;if(a.canDrag&&a.didMove&&f){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();f.style.transition="transform 0.2s, opacity 0.2s",f.style.removeProperty("transform"),f.style.removeProperty("opacity")}}(w=De.get((g={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||w.setToggle(g.id,g.fn),P.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||j(),window.addEventListener("focus",v),window.addEventListener("blur",j),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",j)}},[e.pauseOnFocusLoss]);const m={onPointerDown:function(f){if(e.draggable===!0||e.draggable===f.pointerType){a.didMove=!1,document.addEventListener("pointermove",x),document.addEventListener("pointerup",h);const y=o.current;a.canCloseOnClick=!0,a.canDrag=!0,y.style.transition="none",e.draggableDirection==="x"?(a.start=f.clientX,a.removalDistance=y.offsetWidth*(e.draggablePercent/100)):(a.start=f.clientY,a.removalDistance=y.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(f){const{top:y,bottom:N,left:E,right:k}=o.current.getBoundingClientRect();f.nativeEvent.type!=="touchend"&&e.pauseOnHover&&f.clientX>=E&&f.clientX<=k&&f.clientY>=y&&f.clientY<=N?j():v()}};return s&&c&&(m.onMouseEnter=j,e.stacked||(m.onMouseLeave=v)),p&&(m.onClick=f=>{d&&d(f),a.canCloseOnClick&&u()}),{playToast:v,pauseToast:j,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:m}}function Fx(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:o,className:a,style:s,controlledProgress:c,progress:u,rtl:d,isIn:p,theme:g}=e;const w=o||c&&u===0,v={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(v.transform=`scaleX(${u})`);const j=Xt("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),x=Qe(a)?a({rtl:d,type:i,defaultClassName:j}):Xt(j,a),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{p&&r()}};return C.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":w},C.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${i}`}),C.createElement("div",{role:"progressbar","aria-hidden":w?"true":"false","aria-label":"notification timer",className:x,style:v,...h}))}let zx=1;const Hm=()=>""+zx++;function Bx(e){return e&&(Pn(e.toastId)||wi(e.toastId))?e.toastId:Hm()}function Xr(e,t){return qm(e,t),t.toastId}function ol(e,t){return{...t,type:t&&t.type||e,toastId:Bx(t)}}function eo(e){return(t,n)=>Xr(t,ol(e,n))}function J(e,t){return Xr(e,ol("default",t))}J.loading=(e,t)=>Xr(e,ol("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),J.promise=function(e,t,n){let r,{pending:i,error:o,success:a}=t;i&&(r=Pn(i)?J.loading(i,n):J.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(d,p,g)=>{if(p==null)return void J.dismiss(r);const w={type:d,...s,...n,data:g},v=Pn(p)?{render:p}:p;return r?J.update(r,{...w,...v}):J(v.render,{...w,...v}),g},u=Qe(e)?e():e;return u.then(d=>c("success",a,d)).catch(d=>c("error",o,d)),u},J.success=eo("success"),J.info=eo("info"),J.error=eo("error"),J.warning=eo("warning"),J.warn=J.warning,J.dark=(e,t)=>Xr(e,ol("default",{theme:"dark",...t})),J.dismiss=function(e){(function(t){var n;if(Vm()){if(t==null||Pn(n=t)||wi(n))De.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=De.get(t.containerId);r?r.removeToast(t.id):De.forEach(i=>{i.removeToast(t.id)})}}else Ni=Ni.filter(r=>t!=null&&r.options.toastId!==t)})(e)},J.clearWaitingQueue=function(e){e===void 0&&(e={}),De.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},J.isActive=Wm,J.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var o;let{containerId:a}=i;return(o=De.get(a||1))==null?void 0:o.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:Hm()};o.toastId!==e&&(o.staleId=e);const a=o.render||i;delete o.render,Xr(a,o)}},J.done=e=>{J.update(e,{progress:1})},J.onChange=function(e){return Ts.add(e),()=>{Ts.delete(e)}},J.play=e=>Cd(!0,e),J.pause=e=>Cd(!1,e);const Ux=typeof window<"u"?P.useLayoutEffect:P.useEffect,to=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return C.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},ja={info:function(e){return C.createElement(to,{...e},C.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 C.createElement(to,{...e},C.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 C.createElement(to,{...e},C.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 C.createElement(to,{...e},C.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 C.createElement("div",{className:"Toastify__spinner"})}},$x=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:o}=Lx(e),{closeButton:a,children:s,autoClose:c,onClick:u,type:d,hideProgressBar:p,closeToast:g,transition:w,position:v,className:j,style:x,bodyClassName:h,bodyStyle:m,progressClassName:f,progressStyle:y,updateId:N,role:E,progress:k,rtl:S,toastId:O,deleteToast:A,isIn:z,isLoading:Y,closeOnClick:W,theme:q}=e,T=Xt("Toastify__toast",`Toastify__toast-theme--${q}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":W}),L=Qe(j)?j({rtl:S,position:v,type:d,defaultClassName:T}):Xt(T,j),V=function(I){let{theme:M,type:U,isLoading:$,icon:H}=I,K=null;const Q={theme:M,type:U};return H===!1||(Qe(H)?K=H({...Q,isLoading:$}):P.isValidElement(H)?K=P.cloneElement(H,Q):$?K=ja.spinner():(X=>X in ja)(U)&&(K=ja[U](Q))),K}(e),b=!!k||!c,_={closeToast:g,type:d,theme:q};let D=null;return a===!1||(D=Qe(a)?a(_):P.isValidElement(a)?P.cloneElement(a,_):function(I){let{closeToast:M,theme:U,ariaLabel:$="close"}=I;return C.createElement("button",{className:`Toastify__close-button Toastify__close-button--${U}`,type:"button",onClick:H=>{H.stopPropagation(),M(H)},"aria-label":$},C.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},C.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"})))}(_)),C.createElement(w,{isIn:z,done:A,position:v,preventExitTransition:n,nodeRef:r,playToast:o},C.createElement("div",{id:O,onClick:u,"data-in":z,className:L,...i,style:x,ref:r},C.createElement("div",{...z&&{role:E},className:Qe(h)?h({type:d}):Xt("Toastify__toast-body",h),style:m},V!=null&&C.createElement("div",{className:Xt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Y})},V),C.createElement("div",null,s)),D,C.createElement(Fx,{...N&&!b?{key:`pb-${N}`}:{},rtl:S,theme:q,delay:c,isRunning:t,isIn:z,closeToast:g,hide:p,type:d,style:y,className:f,controlledProgress:b,progress:k||0})))},Al=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Vx=Il(Al("bounce",!0));Il(Al("slide",!0));Il(Al("zoom"));Il(Al("flip"));const Wx={position:"top-right",transition:Vx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function qx(e){let t={...Wx,...e};const n=e.stacked,[r,i]=P.useState(!0),o=P.useRef(null),{getToastToRender:a,isToastActive:s,count:c}=Mx(t),{className:u,style:d,rtl:p,containerId:g}=t;function w(j){const x=Xt("Toastify__toast-container",`Toastify__toast-container--${j}`,{"Toastify__toast-container--rtl":p});return Qe(u)?u({position:j,rtl:p,defaultClassName:x}):Xt(x,Eo(u))}function v(){n&&(i(!0),J.play())}return Ux(()=>{if(n){var j;const x=o.current.querySelectorAll('[data-in="true"]'),h=12,m=(j=t.position)==null?void 0:j.includes("top");let f=0,y=0;Array.from(x).reverse().forEach((N,E)=>{const k=N;k.classList.add("Toastify__toast--stacked"),E>0&&(k.dataset.collapsed=`${r}`),k.dataset.pos||(k.dataset.pos=m?"top":"bot");const S=f*(r?.2:1)+(r?0:h*E);k.style.setProperty("--y",`${m?S:-1*S}px`),k.style.setProperty("--g",`${h}`),k.style.setProperty("--s",""+(1-(r?y:0))),f+=k.offsetHeight,y+=.025})}},[r,c,n]),C.createElement("div",{ref:o,className:"Toastify",id:g,onMouseEnter:()=>{n&&(i(!1),J.pause())},onMouseLeave:v},a((j,x)=>{const h=x.length?{...d}:{...d,pointerEvents:"none"};return C.createElement("div",{className:w(j),style:h,key:`container-${j}`},x.map(m=>{let{content:f,props:y}=m;return C.createElement($x,{...y,stacked:n,collapseAll:v,isIn:s(y.toastId,y.containerId),style:y.style,key:`toast-${y.key}`},f)}))}))}const Le=()=>{const e=new Date().getFullYear();return l.jsx(l.Fragment,{children:l.jsxs("div",{children:[l.jsx("div",{className:"footer_section layout_padding",children:l.jsxs("div",{className:"container",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-md-12"})}),l.jsx("div",{className:"footer_section_2",children:l.jsxs("div",{className:"row",children:[l.jsxs("div",{className:"col-md-4",children:[l.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),l.jsx("div",{className:"footer_menu",children:l.jsxs("ul",{children:[l.jsx("li",{children:l.jsx(ce,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),l.jsx("li",{children:l.jsx(ce,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),l.jsx("li",{children:l.jsx(ce,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),l.jsx("li",{children:l.jsx(ce,{to:"/contact",className:"link-primary text-decoration-none",children:"Contact Us"})})]})})]}),l.jsxs("div",{className:"col-md-4",children:[l.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),l.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"})]}),l.jsxs("div",{className:"col-md-4",children:[l.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),l.jsxs("div",{className:"form-group",children:[l.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),l.jsx("div",{className:"subscribe_bt",children:l.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),l.jsx("div",{className:"social_icon",children:l.jsxs("ul",{children:[l.jsx("li",{children:l.jsx("a",{href:"#",children:l.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),l.jsx("li",{children:l.jsx("a",{href:"#",children:l.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),l.jsx("li",{children:l.jsx("a",{href:"#",children:l.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),l.jsx("li",{children:l.jsx("a",{href:"#",children:l.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),l.jsx("div",{className:"copyright_section",children:l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-sm-12",children:l.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},Hx="/assets/logo-Cb1x1exd.png",Te=()=>{var i,o;const{user:e}=ct(a=>({...a.auth})),t=zt(),n=Di(),r=()=>{t(_1()),n("/")};return l.jsx(l.Fragment,{children:l.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:l.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[l.jsxs("div",{className:"d-flex align-items-center",children:[l.jsx("img",{src:Hx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),l.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),l.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[l.jsxs("ul",{className:"navbar-nav ml-auto",children:[l.jsx("li",{className:"nav-item active",children:l.jsx(ce,{to:"/",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Home"})}),l.jsx("li",{className:"nav-item",children:l.jsx(ce,{to:"/services",className:"nav-link",children:"Services"})}),l.jsx("li",{className:"nav-item",children:l.jsx(ce,{to:"/searchmyproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search Database"})}),l.jsx("li",{className:"nav-item",children:l.jsx(ce,{to:"/about",className:"nav-link",children:"About"})}),l.jsx("li",{className:"nav-item",children:l.jsx(ce,{to:"/searchproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search properties"})}),l.jsx("li",{className:"nav-item",children:l.jsx(ce,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?l.jsx(ce,{to:"/dashboard",style:{fontWeight:"bold"},children:"Dashboard"}):l.jsx(ce,{to:"/register",className:"nav-link",style:{fontWeight:"bold"},children:"Register"}),(o=e==null?void 0:e.result)!=null&&o._id?l.jsx(ce,{to:"/login",children:l.jsx("p",{className:"header-text",onClick:r,style:{fontWeight:"bold"},children:"Logout"})}):l.jsx(ce,{to:"/login",className:"nav-link",style:{fontWeight:"bold"},children:"Login"})]})]})})})},Yx=()=>l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsxs("div",{children:[l.jsx("div",{className:"header_section",children:l.jsx("div",{className:"banner_section layout_padding",children:l.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[l.jsxs("div",{className:"carousel-inner",children:[l.jsx("div",{className:"carousel-item active",children:l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-sm-12",children:l.jsxs("div",{className:"banner_taital_main",children:[l.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),l.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),l.jsxs("div",{className:"btn_main",children:[l.jsx("div",{className:"started_text active",children:l.jsx("a",{href:"#",children:"Contact US"})}),l.jsx("div",{className:"started_text",children:l.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),l.jsx("div",{className:"carousel-item",children:l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-sm-12",children:l.jsxs("div",{className:"banner_taital_main",children:[l.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),l.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),l.jsxs("div",{className:"btn_main",children:[l.jsx("div",{className:"started_text active",children:l.jsx("a",{href:"#",children:"Contact US"})}),l.jsx("div",{className:"started_text",children:l.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),l.jsx("div",{className:"carousel-item",children:l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-sm-12",children:l.jsxs("div",{className:"banner_taital_main",children:[l.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),l.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),l.jsxs("div",{className:"btn_main",children:[l.jsx("div",{className:"started_text active",children:l.jsx("a",{href:"#",children:"Contact US"})}),l.jsx("div",{className:"started_text",children:l.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),l.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:l.jsx("i",{className:"fa fa-angle-left"})}),l.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:l.jsx("i",{className:"fa fa-angle-right"})})]})})}),l.jsx("div",{className:"services_section layout_padding",children:l.jsxs("div",{className:"container-fluid",children:[l.jsx("div",{className:"row",children:l.jsxs("div",{className:"col-sm-12",children:[l.jsx("h1",{className:"services_taital",children:"Our Services"}),l.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),l.jsx("div",{className:"services_section_2",children:l.jsxs("div",{className:"row",children:[l.jsx("div",{className:"col-lg-3 col-sm-6",children:l.jsxs("div",{className:"box_main active",children:[l.jsx("div",{className:"service_img",children:l.jsx("img",{src:"images/icon-1.png"})}),l.jsx("h4",{className:"development_text",children:"Dedication Services"}),l.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"}),l.jsx("div",{className:"readmore_bt",children:l.jsx("a",{href:"#",children:"Read More"})})]})}),l.jsx("div",{className:"col-lg-3 col-sm-6",children:l.jsxs("div",{className:"box_main",children:[l.jsx("div",{className:"service_img",children:l.jsx("img",{src:"images/icon-2.png"})}),l.jsx("h4",{className:"development_text",children:"Building work Reports"}),l.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),l.jsx("div",{className:"readmore_bt",children:l.jsx("a",{href:"#",children:"Read More"})})]})}),l.jsx("div",{className:"col-lg-3 col-sm-6",children:l.jsxs("div",{className:"box_main",children:[l.jsx("div",{className:"service_img",children:l.jsx("img",{src:"images/icon-3.png"})}),l.jsx("h4",{className:"development_text",children:"Reporting continuously"}),l.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),l.jsx("div",{className:"readmore_bt",children:l.jsx("a",{href:"#",children:"Read More"})})]})}),l.jsx("div",{className:"col-lg-3 col-sm-6",children:l.jsxs("div",{className:"box_main",children:[l.jsx("div",{className:"service_img",children:l.jsx("img",{src:"images/icon-4.png"})}),l.jsx("h4",{className:"development_text",children:"Manage your investment "}),l.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"}),l.jsx("div",{className:"readmore_bt",children:l.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})})]}),l.jsx(Le,{})]}),Kx=()=>l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsxs("div",{className:"about_section layout_padding",children:[l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx("div",{className:"container",children:l.jsxs("div",{className:"row",children:[l.jsxs("div",{className:"col-md-6",children:[l.jsx("h1",{className:"about_taital",children:"About Us"}),l.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"," "]}),l.jsx("div",{className:"read_bt_1",children:l.jsx("a",{href:"#",children:"Read More"})})]}),l.jsx("div",{className:"col-md-6",children:l.jsx("div",{className:"about_img",children:l.jsx("div",{className:"video_bt",children:l.jsx("div",{className:"play_icon",children:l.jsx("img",{src:"images/play-icon.png"})})})})})]})}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{})]}),l.jsx(Le,{})]}),Qx=()=>l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsxs("div",{className:"contact_section layout_padding",children:[l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-md-12",children:l.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),l.jsx("div",{className:"container-fluid",children:l.jsx("div",{className:"contact_section_2",children:l.jsxs("div",{className:"row",children:[l.jsx("div",{className:"col-md-6",children:l.jsx("form",{action:!0,children:l.jsxs("div",{className:"mail_section_1",children:[l.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),l.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),l.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),l.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),l.jsx("div",{className:"send_bt",children:l.jsx("a",{href:"#",children:"SEND"})})]})})}),l.jsx("div",{className:"col-md-6 padding_left_15",children:l.jsx("div",{className:"contact_img",children:l.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),l.jsx(Le,{})]});var bt=function(){return bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(jj),[n,r]=P.useState(!1),{loading:i,error:o}=ct(N=>({...N.auth})),{title:a,email:s,password:c,firstName:u,middleName:d,lastName:p,confirmPassword:g,termsconditions:w,userType:v}=e,j=zt(),x=Di();P.useEffect(()=>{o&&J.error(o)},[o]),P.useEffect(()=>{r(a!=="None"&&s&&c&&u&&d&&p&&g&&w&&v!=="")},[a,s,c,u,d,p,g,w,v]);const h=N=>{if(N.preventDefault(),c!==g)return J.error("Password should match");n?j(go({formValue:e,navigate:x,toast:J})):J.error("Please fill in all fields and select all checkboxes")},m=N=>N.charAt(0).toUpperCase()+N.slice(1),f=N=>{const{name:E,value:k,type:S,checked:O}=N.target;t(S==="checkbox"?A=>({...A,[E]:O}):A=>({...A,[E]:E==="email"||E==="password"||E==="confirmPassword"?k:m(k)}))},y=N=>{t(E=>({...E,userType:N.target.value}))};return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:l.jsx("div",{className:"container-fluid px-0",children:l.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[l.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),l.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:l.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:l.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"mb-4",children:[l.jsx("h2",{className:"h3",children:"Registration"}),l.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),l.jsx("hr",{})]})})}),l.jsx("form",{onSubmit:h,children:l.jsxs("div",{className:"row gy-3 overflow-hidden",children:[l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsxs("label",{className:"form-label",children:["Please select the role. ",l.jsx("br",{}),l.jsx("br",{})]}),l.jsxs("div",{className:"form-check form-check-inline",children:[l.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:y,required:!0}),l.jsx("label",{className:"form-check-label",children:"Lender"})]}),l.jsxs("div",{className:"form-check form-check-inline",children:[l.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:y,required:!0}),l.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),l.jsx("br",{}),l.jsx("br",{})]})]})}),l.jsxs("div",{className:"col-12",children:[l.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:a,onChange:f,children:[l.jsx("option",{value:"None",children:"Please Select Title"}),l.jsx("option",{value:"Dr",children:"Dr"}),l.jsx("option",{value:"Prof",children:"Prof"}),l.jsx("option",{value:"Mr",children:"Mr"}),l.jsx("option",{value:"Miss",children:"Miss"})]}),l.jsx("br",{})]}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"text",className:"form-control",value:u,name:"firstName",onChange:f,placeholder:"First Name",required:"required"}),l.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:f,placeholder:"Middle Name",required:"required"}),l.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"text",className:"form-control",value:p,name:"lastName",onChange:f,placeholder:"Last Name",required:"required"}),l.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"email",className:"form-control",value:s,name:"email",onChange:f,placeholder:"name@example.com",required:"required"}),l.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"password",className:"form-control",value:c,name:"password",onChange:f,placeholder:"Password",required:"required"}),l.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"password",className:"form-control",value:g,name:"confirmPassword",onChange:f,placeholder:"confirmPassword",required:"required"}),l.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-check",children:[l.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:w,name:"termsconditions",checked:w,onChange:f,required:!0}),l.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",l.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"d-grid",children:l.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&l.jsx(Ym.Bars,{}),"Sign up"]})})})]})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:l.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",l.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12"})})]})})})]})})}),l.jsx(Le,{})]})},Nj={email:"",password:""},Ej=()=>{const[e,t]=P.useState(Nj),{loading:n,error:r}=ct(d=>({...d.auth})),{email:i,password:o}=e,a=zt(),s=Di();P.useEffect(()=>{r&&J.error(r)},[r]);const c=d=>{d.preventDefault(),i&&o&&a(yo({formValue:e,navigate:s,toast:J}))},u=d=>{let{name:p,value:g}=d.target;t({...e,[p]:g})};return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:l.jsx("div",{className:"container-fluid px-0",children:l.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[l.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:l.jsx("div",{className:"text-bg-primary",children:l.jsxs("div",{className:"px-4",children:[l.jsx("hr",{className:"border-primary-subtle mb-4"}),l.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),l.jsx("div",{className:"text-endx",children:l.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:l.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"})})})]})})}),l.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:l.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:l.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"mb-4",children:l.jsx("h2",{className:"h3",children:"Please Login"})})})}),l.jsx("form",{method:"POST",children:l.jsxs("div",{className:"row gy-3 overflow-hidden",children:[l.jsx("div",{className:"col-12"}),l.jsx("div",{className:"col-12"}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:u,required:!0}),l.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:o,name:"password",onChange:u,required:!0}),l.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-check",children:[l.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),l.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"d-grid",children:l.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&l.jsx(Ym.Bars,{}),"Sign In"]})})})]})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:l.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",l.jsx(ce,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),l.jsx(ce,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12"})})]})})})]})})}),l.jsx(Le,{})]})},Sj="/assets/samplepic-BM_cnzgz.jpg";var Km={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(th,function(){return function(n){function r(o){if(i[o])return i[o].exports;var a=i[o]={exports:{},id:o,loaded:!1};return n[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}var i={};return r.m=n,r.c=i,r.p="",r(0)}([function(n,r,i){function o(w){return w&&w.__esModule?w:{default:w}}function a(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function s(w,v){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||typeof v!="object"&&typeof v!="function"?w:v}function c(w,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);w.prototype=Object.create(v&&v.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(w,v):w.__proto__=v)}Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function w(v,j){for(var x=0;x1)for(var N=1;N1?d-1:0),g=1;g2?p-2:0),w=2;w1){for(var q=Array(W),T=0;T"u"||S.$$typeof!==h)){var V=typeof y=="function"?y.displayName||y.name||"Unknown":y;O&&c(S,V),A&&u(S,V)}return f(y,O,A,z,Y,w.current,S)},f.createFactory=function(y){var N=f.createElement.bind(null,y);return N.type=y,N},f.cloneAndReplaceKey=function(y,N){var E=f(y.type,N,y.ref,y._self,y._source,y._owner,y.props);return E},f.cloneElement=function(y,N,E){var k,S=g({},y.props),O=y.key,A=y.ref,z=y._self,Y=y._source,W=y._owner;if(N!=null){a(N)&&(A=N.ref,W=w.current),s(N)&&(O=""+N.key);var q;y.type&&y.type.defaultProps&&(q=y.type.defaultProps);for(k in N)x.call(N,k)&&!m.hasOwnProperty(k)&&(N[k]===void 0&&q!==void 0?S[k]=q[k]:S[k]=N[k])}var T=arguments.length-2;if(T===1)S.children=E;else if(T>1){for(var L=Array(T),V=0;V1?u-1:0),p=1;p2?d-2:0),g=2;g.")}return k}function u(E,k){if(E._store&&!E._store.validated&&E.key==null){E._store.validated=!0;var S=y.uniqueKey||(y.uniqueKey={}),O=c(k);if(!S[O]){S[O]=!0;var A="";E&&E._owner&&E._owner!==g.current&&(A=" It was passed a child from "+E._owner.getName()+"."),o.env.NODE_ENV!=="production"&&m(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',O,A,w.getCurrentStackAddendum(E))}}}function d(E,k){if(typeof E=="object"){if(Array.isArray(E))for(var S=0;S1?$-1:0),K=1;K<$;K++)H[K-1]=arguments[K];if(U!==b&&U!==null)o.env.NODE_ENV!=="production"&&p(!1,"bind(): React component methods may only be bound to the component instance. See %s",I);else if(!H.length)return o.env.NODE_ENV!=="production"&&p(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",I),D;var Q=M.apply(D,arguments);return Q.__reactBoundContext=b,Q.__reactBoundMethod=_,Q.__reactBoundArguments=H,Q}}return D}function O(b){for(var _=b.__reactAutoBindPairs,D=0;D<_.length;D+=2){var I=_[D],M=_[D+1];b[I]=S(b,M)}}function A(b){var _=function(I,M,U){o.env.NODE_ENV!=="production"&&p(this instanceof _,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&O(this),this.props=I,this.context=M,this.refs=u,this.updater=U||x,this.state=null;var $=this.getInitialState?this.getInitialState():null;o.env.NODE_ENV!=="production"&&$===void 0&&this.getInitialState._isMockFunction&&($=null),d(typeof $=="object"&&!Array.isArray($),"%s.getInitialState(): must return an object or null",_.displayName||"ReactCompositeComponent"),this.state=$};_.prototype=new V,_.prototype.constructor=_,_.prototype.__reactAutoBindPairs=[],z.forEach(f.bind(null,_)),f(_,q),f(_,b),f(_,T),_.getDefaultProps&&(_.defaultProps=_.getDefaultProps()),o.env.NODE_ENV!=="production"&&(_.getDefaultProps&&(_.getDefaultProps.isReactClassApproved={}),_.prototype.getInitialState&&(_.prototype.getInitialState.isReactClassApproved={})),d(_.prototype.render,"createClass(...): Class specification must implement a `render` method."),o.env.NODE_ENV!=="production"&&(p(!_.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",b.displayName||"A component"),p(!_.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b.displayName||"A component"));for(var D in Y)_.prototype[D]||(_.prototype[D]=null);return _}var z=[],Y={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},W={displayName:function(b,_){b.displayName=_},mixins:function(b,_){if(_)for(var D=0;D<_.length;D++)f(b,_[D])},childContextTypes:function(b,_){o.env.NODE_ENV!=="production"&&h(b,_,"childContext"),b.childContextTypes=c({},b.childContextTypes,_)},contextTypes:function(b,_){o.env.NODE_ENV!=="production"&&h(b,_,"context"),b.contextTypes=c({},b.contextTypes,_)},getDefaultProps:function(b,_){b.getDefaultProps?b.getDefaultProps=E(b.getDefaultProps,_):b.getDefaultProps=_},propTypes:function(b,_){o.env.NODE_ENV!=="production"&&h(b,_,"prop"),b.propTypes=c({},b.propTypes,_)},statics:function(b,_){y(b,_)},autobind:function(){}},q={componentDidMount:function(){this.__isMounted=!0}},T={componentWillUnmount:function(){this.__isMounted=!1}},L={replaceState:function(b,_){this.updater.enqueueReplaceState(this,b,_)},isMounted:function(){return o.env.NODE_ENV!=="production"&&(p(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},V=function(){};return c(V.prototype,v.prototype,L),A}var c=i(6),u=i(12),d=i(2);if(o.env.NODE_ENV!=="production")var p=i(3);var g,w="mixins";g=o.env.NODE_ENV!=="production"?{prop:"prop",context:"context",childContext:"child context"}:{},n.exports=s}).call(r,i(1))},function(n,r,i){(function(o){function a(p,g,w,v,j){if(o.env.NODE_ENV!=="production"){for(var x in p)if(p.hasOwnProperty(x)){var h;try{s(typeof p[x]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",v||"React class",w,x),h=p[x](g,x,v,w,null,u)}catch(f){h=f}if(c(!h||h instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",v||"React class",w,x,typeof h),h instanceof Error&&!(h.message in d)){d[h.message]=!0;var m=j?j():"";c(!1,"Failed %s type: %s%s",w,h.message,m??"")}}}}if(o.env.NODE_ENV!=="production")var s=i(2),c=i(3),u=i(13),d={};n.exports=a}).call(r,i(1))},function(n,r,i){var o=i(22);n.exports=function(a){var s=!1;return o(a,s)}},function(n,r,i){(function(o){var a=i(9),s=i(2),c=i(3),u=i(13),d=i(20);n.exports=function(p,g){function w(I){var M=I&&(V&&I[V]||I[b]);if(typeof M=="function")return M}function v(I,M){return I===M?I!==0||1/I===1/M:I!==I&&M!==M}function j(I){this.message=I,this.stack=""}function x(I){function M(K,Q,X,te,re,ye,Ai){if(te=te||_,ye=ye||X,Ai!==u){if(g)s(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if(o.env.NODE_ENV!=="production"&&typeof console<"u"){var Fc=te+":"+X;!U[Fc]&&$<3&&(c(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",ye,te),U[Fc]=!0,$++)}}return Q[X]==null?K?new j(Q[X]===null?"The "+re+" `"+ye+"` is marked as required "+("in `"+te+"`, but its value is `null`."):"The "+re+" `"+ye+"` is marked as required in "+("`"+te+"`, but its value is `undefined`.")):null:I(Q,X,te,re,ye)}if(o.env.NODE_ENV!=="production")var U={},$=0;var H=M.bind(null,!1);return H.isRequired=M.bind(null,!0),H}function h(I){function M(U,$,H,K,Q,X){var te=U[$],re=W(te);if(re!==I){var ye=q(te);return new j("Invalid "+K+" `"+Q+"` of type "+("`"+ye+"` supplied to `"+H+"`, expected ")+("`"+I+"`."))}return null}return x(M)}function m(){return x(a.thatReturnsNull)}function f(I){function M(U,$,H,K,Q){if(typeof I!="function")return new j("Property `"+Q+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var X=U[$];if(!Array.isArray(X)){var te=W(X);return new j("Invalid "+K+" `"+Q+"` of type "+("`"+te+"` supplied to `"+H+"`, expected an array."))}for(var re=0;re"u"||I===null)return""+I;var M=W(I);if(M==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return M}function T(I){var M=q(I);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function L(I){return I.constructor&&I.constructor.name?I.constructor.name:_}var V=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator",_="<>",D={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(),arrayOf:f,element:y(),instanceOf:N,node:O(),objectOf:k,oneOf:E,oneOfType:S,shape:A};return j.prototype=Error.prototype,D.checkPropTypes=d,D.PropTypes=D,D}}).call(r,i(1))},function(n,r){function i(s){var c=/[=:]/g,u={"=":"=0",":":"=2"},d=(""+s).replace(c,function(p){return u[p]});return"$"+d}function o(s){var c=/(=0|=2)/g,u={"=0":"=","=2":":"},d=s[0]==="."&&s[1]==="$"?s.substring(2):s.substring(1);return(""+d).replace(c,function(p){return u[p]})}var a={escape:i,unescape:o};n.exports=a},function(n,r,i){(function(o){var a=i(5),s=i(2),c=function(h){var m=this;if(m.instancePool.length){var f=m.instancePool.pop();return m.call(f,h),f}return new m(h)},u=function(h,m){var f=this;if(f.instancePool.length){var y=f.instancePool.pop();return f.call(y,h,m),y}return new f(h,m)},d=function(h,m,f){var y=this;if(y.instancePool.length){var N=y.instancePool.pop();return y.call(N,h,m,f),N}return new y(h,m,f)},p=function(h,m,f,y){var N=this;if(N.instancePool.length){var E=N.instancePool.pop();return N.call(E,h,m,f,y),E}return new N(h,m,f,y)},g=function(h){var m=this;h instanceof m||(o.env.NODE_ENV!=="production"?s(!1,"Trying to release an instance into a pool of a different type."):a("25")),h.destructor(),m.instancePool.length{const[e,t]=P.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images")},r=()=>{e==="Images"&&t("propertydetails")},i=zt(),{status:o,error:a}=ct(y=>y.property),{user:s}=ct(y=>({...y.auth})),[c,u]=P.useState({address:"",city:"",state:"",county:"",zip:"",parcel:"",subdivision:"",legal:"",costpersqft:"",propertyType:"",lotacres:"",yearBuild:"",totallivingsqft:"",beds:"",baths:"",stories:"",garage:"",garagesqft:"",poolspa:"",fireplaces:"",ac:"",heating:"",buildingstyle:"",sitevacant:"",extwall:"",roofing:"",propertyTaxInfo:[{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}],images:[],googleMapLink:"",totalSqft:""}),[d,p]=P.useState(!1),g=(y,N)=>{const E=[...c.images];E[N].file=y.base64,u({...c,images:E})},w=()=>{u({...c,images:[...c.images,{title:"",file:""}]})},v=y=>{const N=c.images.filter((E,k)=>k!==y);u({...c,images:N})},j=(y,N)=>{const E=[...c.images];E[y].title=N.target.value,u({...c,images:E})},x=(y,N,E)=>{const{name:k,value:S}=y.target;if(E==="propertyTaxInfo"){const O=[...c.propertyTaxInfo];O[N][k]=S,u({...c,propertyTaxInfo:O})}else u({...c,[k]:S})},h=()=>{u({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},m=y=>{const N=c.propertyTaxInfo.filter((E,k)=>k!==y);u({...c,propertyTaxInfo:N})},f=()=>{var y,N,E,k,S,O;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&c.costpersqft&&c.propertyType&&c.lotacres&&c.yearBuild&&c.totallivingsqft&&c.beds&&c.baths&&c.stories&&c.garage&&c.garagesqft&&c.poolspa&&c.fireplaces&&c.ac&&c.heating&&c.buildingstyle&&c.sitevacant&&c.extwall&&c.roofing&&c.totalSqft){const A={...c,userfirstname:(y=s==null?void 0:s.result)==null?void 0:y.firstName,usermiddlename:(N=s==null?void 0:s.result)==null?void 0:N.middleName,userlastname:(E=s==null?void 0:s.result)==null?void 0:E.lastName,usertitle:(k=s==null?void 0:s.result)==null?void 0:k.title,useremail:(S=s==null?void 0:s.result)==null?void 0:S.email,userId:(O=s==null?void 0:s.result)==null?void 0:O.userId};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?A.propertyTaxInfo=c.propertyTaxInfo:A.propertyTaxInfo=[],i(jo(A)),p(!0)}else J.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return P.useEffect(()=>{d&&(o==="succeeded"?(J.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),p(!1)):o==="failed"&&(J.error(`Failed to submit: ${a}`,{position:"top-right",autoClose:3e3}),p(!1)))},[o,a,d]),l.jsx(l.Fragment,{children:l.jsxs("div",{className:"container tabs-wrap",children:[l.jsx(Te,{}),l.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[l.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:l.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),l.jsx("li",{role:"presentation",className:e==="Images"?"active tab":"tab",children:l.jsx("a",{onClick:()=>t("Images"),role:"tab",children:"Images, Maps"})})]}),l.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&l.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[l.jsxs("form",{children:[l.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),l.jsx("hr",{}),l.jsxs("div",{className:"row gy-3",children:[l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Property Address",l.jsx("input",{type:"text",className:"form-control",name:"address",placeholder:"Property Address",value:c.address,onChange:x,required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["City",l.jsx("input",{type:"text",className:"form-control",name:"city",value:c.city,onChange:x,placeholder:"city",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["State",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:c.state,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select State"}),l.jsx("option",{value:"Alaska",children:"Alaska"}),l.jsx("option",{value:"Alabama",children:"Alabama"}),l.jsx("option",{value:"Arkansas",children:"Arkansas"}),l.jsx("option",{value:"Arizona",children:"Arizona"}),l.jsx("option",{value:"California",children:"California"}),l.jsx("option",{value:"Colorado",children:"Colorado"}),l.jsx("option",{value:"Connecticut",children:"Connecticut"}),l.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),l.jsx("option",{value:"Delaware",children:"Delaware"}),l.jsx("option",{value:"Florida",children:"Florida"}),l.jsx("option",{value:"Georgia",children:"Georgia"}),l.jsx("option",{value:"Hawaii",children:"Hawaii"}),l.jsx("option",{value:"Iowa",children:"Iowa"}),l.jsx("option",{value:"Idaho",children:"Idaho"}),l.jsx("option",{value:"Illinois",children:"Illinois"}),l.jsx("option",{value:"Indiana",children:"Indiana"}),l.jsx("option",{value:"Kansas",children:"Kansas"}),l.jsx("option",{value:"Kentucky",children:"Kentucky"}),l.jsx("option",{value:"Louisiana",children:"Louisiana"}),l.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),l.jsx("option",{value:"Maryland",children:"Maryland"}),l.jsx("option",{value:"Michigan",children:"Michigan"}),l.jsx("option",{value:"Minnesota",children:"Minnesota"}),l.jsx("option",{value:"Missouri",children:"Missouri"}),l.jsx("option",{value:"Mississippi",children:"Mississippi"}),l.jsx("option",{value:"Montana",children:"Montana"}),l.jsx("option",{value:"North Carolina",children:"North Carolina"}),l.jsx("option",{value:"North Dakota",children:"North Dakota"}),l.jsx("option",{value:"Nebraska",children:"Nebraska"}),l.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),l.jsx("option",{value:"New Jersey",children:"New Jersey"}),l.jsx("option",{value:"New Mexico",children:"New Mexico"}),l.jsx("option",{value:"Nevada",children:"Nevada"}),l.jsx("option",{value:"New York",children:"New York"}),l.jsx("option",{value:"Ohio",children:"Ohio"}),l.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),l.jsx("option",{value:"Oregon",children:"Oregon"}),l.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),l.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),l.jsx("option",{value:"South Carolina",children:"South Carolina"}),l.jsx("option",{value:"South Dakota",children:"South Dakota"}),l.jsx("option",{value:"Tennessee",children:"Tennessee"}),l.jsx("option",{value:"Texas",children:"Texas"}),l.jsx("option",{value:"Utah",children:"Utah"}),l.jsx("option",{value:"Virginia",children:"Virginia"}),l.jsx("option",{value:"Vermont",children:"Vermont"}),l.jsx("option",{value:"Washington",children:"Washington"}),l.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),l.jsx("option",{value:"West Virginia",children:"West Virginia"}),l.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["County",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:c.county,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select County"}),l.jsx("option",{value:"Abbeville",children:"Abbeville"}),l.jsx("option",{value:"Aiken",children:"Aiken"}),l.jsx("option",{value:"Allendale",children:"Allendale"}),l.jsx("option",{value:"Anderson",children:"Anderson"}),l.jsx("option",{value:"Bamberg",children:"Bamberg"}),l.jsx("option",{value:"Barnwell",children:"Barnwell"}),l.jsx("option",{value:"Beaufort",children:"Beaufort"}),l.jsx("option",{value:"Berkeley",children:"Berkeley"}),l.jsx("option",{value:"Calhoun",children:"Calhoun"}),l.jsx("option",{value:"Charleston",children:"Charleston"}),l.jsx("option",{value:"Cherokee",children:"Cherokee"}),l.jsx("option",{value:"Chester",children:"Chester"}),l.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),l.jsx("option",{value:"Clarendon",children:"Clarendon"}),l.jsx("option",{value:"Colleton",children:"Colleton"}),l.jsx("option",{value:"Darlington",children:"Darlington"}),l.jsx("option",{value:"Dillon",children:"Dillon"}),l.jsx("option",{value:"Dorchester",children:"Dorchester"}),l.jsx("option",{value:"Edgefield",children:"Edgefield"}),l.jsx("option",{value:"Fairfield",children:"Fairfield"}),l.jsx("option",{value:"Florence",children:"Florence"}),l.jsx("option",{value:"Georgetown",children:"Georgetown"}),l.jsx("option",{value:"Greenville",children:"Greenville"}),l.jsx("option",{value:"Greenwood",children:"Greenwood"}),l.jsx("option",{value:"Hampton",children:"Hampton"}),l.jsx("option",{value:"Horry",children:"Horry"}),l.jsx("option",{value:"Jasper",children:"Jasper"}),l.jsx("option",{value:"Kershaw",children:"Kershaw"}),l.jsx("option",{value:"Lancaster",children:"Lancaster"}),l.jsx("option",{value:"Laurens",children:"Laurens"}),l.jsx("option",{value:"Lee",children:"Lee"}),l.jsx("option",{value:"Lexington",children:"Lexington"}),l.jsx("option",{value:"Marion",children:"Marion"}),l.jsx("option",{value:"Marlboro",children:"Marlboro"}),l.jsx("option",{value:"McCormick",children:"McCormick"}),l.jsx("option",{value:"Newberry",children:"Newberry"}),l.jsx("option",{value:"Oconee",children:"Oconee"}),l.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),l.jsx("option",{value:"Pickens",children:"Pickens"}),l.jsx("option",{value:"Richland",children:"Richland"}),l.jsx("option",{value:"Saluda",children:"Saluda"}),l.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),l.jsx("option",{value:"Sumter",children:"Sumter"}),l.jsx("option",{value:"Union",children:"Union"}),l.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),l.jsx("option",{value:"York",children:"York"})]})]}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Zip",l.jsx("input",{type:"text",className:"form-control",name:"zip",value:c.zip,onChange:x,placeholder:"zip",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Parcel",l.jsx("input",{type:"text",className:"form-control",name:"parcel",value:c.parcel,onChange:x,placeholder:"parcel",required:!0})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Sub division",l.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:c.subdivision,onChange:x,placeholder:"subdivision",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",l.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:c.legal,onChange:x,placeholder:"legal",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",l.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:c.costpersqft,onChange:x,placeholder:"Cost per SQFT",required:!0})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["Please Select Property Type",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Property Type"}),l.jsx("option",{value:"Residential",children:"Residential"}),l.jsx("option",{value:"Land",children:"Land"}),l.jsx("option",{value:"Commercial",children:"Commercial"}),l.jsx("option",{value:"Industrial",children:"Industrial"}),l.jsx("option",{value:"Water",children:"Water"})]})]}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",l.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:c.lotacres,onChange:x,placeholder:"Lot Acres/Sqft",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Year Build",l.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:x,placeholder:"Year Build",required:!0})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",l.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:c.totallivingsqft,onChange:x,placeholder:"Total Living SQFT",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Beds",l.jsx("input",{type:"text",className:"form-control",name:"beds",value:c.beds,onChange:x,placeholder:"Beds",required:!0})]})}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Baths",l.jsx("input",{type:"text",className:"form-control",name:"baths",value:c.baths,onChange:x,placeholder:"Baths",required:!0})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["Please Select Stories",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:c.stories,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Stories"}),l.jsx("option",{value:"0",children:"0"}),l.jsx("option",{value:"1",children:"1"}),l.jsx("option",{value:"2",children:"2"}),l.jsx("option",{value:"3",children:"3"}),l.jsx("option",{value:"4",children:"4"}),l.jsx("option",{value:"5",children:"5"}),l.jsx("option",{value:"6",children:"6"}),l.jsx("option",{value:"7",children:"7"}),l.jsx("option",{value:"8",children:"8"}),l.jsx("option",{value:"9",children:"9"}),l.jsx("option",{value:"10",children:"10"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Please Select Garage",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:c.garage,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Garage"}),l.jsx("option",{value:"0",children:"0"}),l.jsx("option",{value:"1",children:"1"}),l.jsx("option",{value:"2",children:"2"}),l.jsx("option",{value:"3",children:"3"}),l.jsx("option",{value:"4",children:"4"}),l.jsx("option",{value:"5",children:"5"})]})]}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",l.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:c.garagesqft,onChange:x,placeholder:"Garage SQFT",required:!0})]})})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["Please Select Pool/SPA",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:c.poolspa,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Pool/SPA"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),l.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),l.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),l.jsx("option",{value:"4",children:"None"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Please Select Fire places",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:c.fireplaces,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Fire places"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"yes",children:"Yes"}),l.jsx("option",{value:"no",children:"No"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Please Select A/C",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:c.ac,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select A/C"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"Central",children:"Central"}),l.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),l.jsx("option",{value:"Warm Air",children:"Warm Air"}),l.jsx("option",{value:"Forced Air",children:"Forced Air"}),l.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["Please Select Heating",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:c.heating,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Heating"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"Central",children:"Central"}),l.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),l.jsx("option",{value:"Warm Air",children:"Warm Air"}),l.jsx("option",{value:"Forced Air",children:"Forced Air"}),l.jsx("option",{value:"Gas",children:"Gas"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Please Select Building Style",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:c.buildingstyle,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Building Style"}),l.jsx("option",{value:"One Story",children:"One Story"}),l.jsx("option",{value:"Craftsman",children:"Craftsman"}),l.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),l.jsx("option",{value:"Split-Level",children:"Split-Level"}),l.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),l.jsx("option",{value:"Stick Built",children:"Stick Built"}),l.jsx("option",{value:"Single wide",children:"Single wide"}),l.jsx("option",{value:"Double wide",children:"Double wide"}),l.jsx("option",{value:"Duplex",children:"Duplex"}),l.jsx("option",{value:"Triplex",children:"Triplex"}),l.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),l.jsx("option",{value:"Two Story",children:"Two Story"}),l.jsx("option",{value:"Victorian",children:"Victorian"}),l.jsx("option",{value:"Tudor",children:"Tudor"}),l.jsx("option",{value:"Modern",children:"Modern"}),l.jsx("option",{value:"Art Deco",children:"Art Deco"}),l.jsx("option",{value:"Bungalow",children:"Bungalow"}),l.jsx("option",{value:"Mansion",children:"Mansion"}),l.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),l.jsx("option",{value:"Conventional",children:"Conventional"}),l.jsx("option",{value:"Ranch",children:"Ranch"}),l.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),l.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),l.jsx("option",{value:"Contemporary",children:"Contemporary"}),l.jsx("option",{value:"Colonial",children:"Colonial"}),l.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Site Vacant",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:c.sitevacant,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Site Vacant"}),l.jsx("option",{value:"Yes",children:"Yes"}),l.jsx("option",{value:"No",children:"No"})]})]})]}),l.jsxs("div",{className:"row gy-3",children:[l.jsxs("div",{className:"col-md-4",children:["Please Select Ext Wall",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:c.extwall,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Ext Wall"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"Brick",children:"Brick"}),l.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),l.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),l.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),l.jsx("option",{value:"Stone",children:"Stone"}),l.jsx("option",{value:"Masonry",children:"Masonry"}),l.jsx("option",{value:"Metal",children:"Metal"}),l.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),l.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),l.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),l.jsx("option",{value:"Gable",children:"Gable"}),l.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),l.jsx("option",{value:"Frame",children:"Frame"}),l.jsx("option",{value:"Siding",children:"Siding"}),l.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),l.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),l.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),l.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),l.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),l.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),l.jsxs("div",{className:"col-md-4",children:["Please Select Roofing",l.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:c.roofing,onChange:x,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Roofing"}),l.jsx("option",{value:"N/A",children:"N/A"}),l.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),l.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),l.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),l.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),l.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),l.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),l.jsx("option",{value:"Metal",children:"Metal"}),l.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),l.jsx("option",{value:"Slate",children:"Slate"}),l.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),l.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),l.jsx("div",{className:"col-md-4",children:l.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",l.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:x,placeholder:"Total SQFT",required:!0})]})})]}),l.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[l.jsx("br",{}),"Property Tax Information"]}),l.jsx("hr",{}),c.propertyTaxInfo.map((y,N)=>l.jsxs("div",{className:"row gy-4",children:[l.jsx("div",{className:"col-md-3",children:l.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",l.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",placeholder:"Property Tax Owned",value:y.propertytaxowned,onChange:E=>x(E,N,"propertyTaxInfo"),required:!0})]})}),l.jsx("div",{className:"col-md-2",children:l.jsxs("div",{className:"form-floating mb-2",children:["Owed Year",l.jsx("input",{type:"text",className:"form-control",name:"ownedyear",placeholder:"Owed Year",value:y.ownedyear,onChange:E=>x(E,N,"propertyTaxInfo"),required:!0})]})}),l.jsx("div",{className:"col-md-2",children:l.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",l.jsx("input",{type:"text",className:"form-control",name:"taxassessed",placeholder:"Tax Assessed",value:y.taxassessed,onChange:E=>x(E,N,"propertyTaxInfo"),required:!0})]})}),l.jsx("div",{className:"col-md-2",children:l.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",l.jsx("input",{type:"text",className:"form-control",name:"taxyear",placeholder:"Tax Year",value:y.taxyear,onChange:E=>x(E,N,"propertyTaxInfo"),required:!0})]})}),l.jsx("div",{className:"col-md-3",children:l.jsxs("div",{className:"form-floating mb-2",children:[l.jsx("br",{}),l.jsx("button",{className:"btn btn-danger",onClick:()=>m(N),style:{height:"25px",width:"35px"},children:"X"})]})})]},N)),l.jsx("button",{className:"btn btn-secondary",onClick:h,children:"+ Add Another Property Tax Info"})]}),l.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Images"&&l.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[l.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),l.jsxs("form",{children:[c.images.map((y,N)=>l.jsxs("div",{className:"row gy-3",children:[l.jsx("div",{className:"col-md-4",children:l.jsx("input",{type:"text",className:"form-control",value:y.title,placeholder:"Image Title",onChange:E=>j(N,E)})}),l.jsx("div",{className:"col-md-4",children:l.jsx(_j,{multiple:!1,onDone:E=>g(E,N)})}),l.jsx("div",{className:"col-md-4",children:l.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>v(N),children:"Delete"})}),y.file&&l.jsx("div",{className:"col-md-12",children:l.jsx("img",{src:y.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},N)),l.jsx("button",{type:"button",className:"btn btn-primary",onClick:w,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),l.jsx("hr",{}),l.jsxs("div",{className:"mb-3",children:[l.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:l.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),l.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:c.googleMapLink,onChange:x,placeholder:"Enter Google Maps link"})]}),c.googleMapLink&&l.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${c.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),l.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",l.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:f,children:"Submit"})]})]})]})})},xr="/assets/propertydummy-DhVEZ7jN.jpg",bj=()=>{var c;const e=zt(),{user:t}=ct(u=>({...u.auth})),{userProperties:n,totalPages:r}=ct(u=>u.property),[i,o]=P.useState(1),a=5;P.useEffect(()=>{e(wo({userId:t.result.userId,page:i,limit:a}))},[e,(c=t==null?void 0:t.result)==null?void 0:c.userId,i]);const s=u=>{o(u)};return l.jsx(l.Fragment,{children:n.length>0?l.jsxs(l.Fragment,{children:[l.jsx("ul",{children:n.map(u=>l.jsx("li",{children:l.jsx("div",{className:"container",children:l.jsx("div",{className:"col-md-12",children:l.jsxs("div",{className:"row p-2 bg-white border rounded mt-2",children:[l.jsx("div",{className:"col-md-3 mt-1",children:l.jsx("img",{src:xr,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}})}),l.jsxs("div",{className:"col-md-6 mt-1",children:[l.jsxs("h5",{children:[" ",l.jsxs(ce,{to:`/property/${u.propertyId}`,target:"_blank",children:[u.address,"....."]})]}),l.jsx("div",{className:"d-flex flex-row"}),l.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[l.jsx("span",{children:"100% cotton"}),l.jsx("span",{className:"dot"}),l.jsx("span",{children:"Light weight"}),l.jsx("span",{className:"dot"}),l.jsxs("span",{children:["Best finish",l.jsx("br",{})]})]}),l.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[l.jsx("span",{children:"Unique design"}),l.jsx("span",{className:"dot"}),l.jsx("span",{children:"For men"}),l.jsx("span",{className:"dot"}),l.jsxs("span",{children:["Casual",l.jsx("br",{})]})]}),l.jsxs("p",{className:"text-justify text-truncate para mb-0",children:["There are many variations of passages of",l.jsx("br",{}),l.jsx("br",{})]})]}),l.jsx("div",{className:"align-items-center align-content-center col-md-3 border-left mt-1",children:l.jsxs("div",{className:"d-flex flex-column mt-4",children:[l.jsx(ce,{to:`/property/${u.propertyId}`,target:"_blank",children:l.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[l.jsx("span",{className:"fa fa-eye",style:{color:"#F74B02"}})," "," ","View Details"]})}),l.jsx(ce,{to:`/editproperty/${u.propertyId}`,target:"_blank",children:l.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[l.jsx("span",{className:"fa fa-edit",style:{color:"#F74B02"}})," "," ","Edit Details .."]})})]})})]})})})},u._id))}),l.jsxs("div",{className:"pagination",children:[l.jsx("button",{onClick:()=>s(i-1),disabled:i===1,children:"Previous"}),Array.from({length:r},(u,d)=>d+1).map(u=>u===i||u===1||u===r||u>=i-1&&u<=i+1?l.jsx("button",{onClick:()=>s(u),disabled:i===u,children:u},u):u===2||u===r-1?l.jsx("span",{children:"..."},u):null),l.jsx("button",{onClick:()=>s(i+1),disabled:i===r,children:"Next"})]})]}):l.jsx("p",{children:"No active properties found."})})},Pj=()=>{const{user:e}=ct(i=>({...i.auth})),[t,n]=P.useState("dashboard"),r=()=>{switch(t){case"addProperty":return l.jsx(Cj,{});case"activeProperties":return l.jsxs("div",{children:[l.jsx("h3",{children:"Active Properties"}),l.jsx(bj,{})]});case"closedProperties":return l.jsx("p",{children:"These are your closed properties."});default:return l.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[l.jsx("div",{className:"col-md-6",children:l.jsxs("div",{className:"card cardchildchild p-2",children:[l.jsx("div",{className:"profile1",children:l.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),l.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[l.jsx("span",{className:"name",children:"Bess Wills"}),l.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),l.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),l.jsx("div",{className:"col-md-6",children:l.jsxs("div",{className:"card cardchildchild p-2",children:[l.jsx("div",{className:"profile1",children:l.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),l.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[l.jsx("span",{className:"name",children:"Bess Wills"}),l.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),l.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsxs("div",{className:"d-flex flex-row",children:[l.jsx("div",{className:"col-md-3",children:l.jsxs("div",{className:"card card1 p-5",children:[l.jsx("img",{className:"img-fluid",src:Sj,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),l.jsx("hr",{className:"hline"}),l.jsxs("div",{className:"d-flex flex-column align-items-center",children:[l.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[l.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),l.jsx("span",{children:"Dashboard"})]}),l.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[l.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),l.jsx("span",{children:"Add Property"})]}),l.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[l.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),l.jsx("span",{children:"Active Properties"})]}),l.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[l.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),l.jsx("span",{children:"Closed Properties"})]})]})]})}),l.jsx("div",{className:"col-md-9",children:l.jsxs("div",{className:"card card2 p-1",children:[l.jsx("br",{}),l.jsxs("span",{children:["Welcome to"," ",l.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),l.jsx("br",{}),l.jsx("div",{className:"tab-content p-2",children:r()})]})})]}),l.jsx(Le,{})]})};var Qm={exports:{}},Oj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Tj=Oj,Rj=Tj;function Gm(){}function Jm(){}Jm.resetWarningCache=Gm;var Dj=function(){function e(r,i,o,a,s,c){if(c!==Rj){var u=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 u.name="Invariant Violation",u}}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:Jm,resetWarningCache:Gm};return n.PropTypes=n,n};Qm.exports=Dj();var Ij=Qm.exports;const Aj=Ds(Ij),Mj=()=>{const[e,t]=P.useState(3),n=Di();return P.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),l.jsx("div",{style:{marginTop:"100px"},children:l.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Rs=({children:e})=>{const{user:t}=ct(n=>({...n.auth}));return t?e:l.jsx(Mj,{})};Rs.propTypes={children:Aj.node.isRequired};const Lj=()=>{const e=zt(),{id:t,token:n}=Ii();return P.useEffect(()=>{e(xo({id:t,token:n}))},[e,t,n]),l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsxs("div",{className:"contact_section layout_padding",children:[l.jsx("div",{className:"container",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-md-12",children:l.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),l.jsx("div",{className:"container-fluid",children:l.jsx("div",{className:"contact_section_2",children:l.jsxs("div",{className:"row",children:[l.jsxs("div",{className:"col-md-6",children:[l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("h1",{className:"card-title text-center",children:l.jsxs(ce,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",l.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),l.jsx("div",{className:"col-md-6 padding_left_15",children:l.jsx("div",{className:"contact_img"})})]})})})]}),l.jsx(Le,{})]})},Fj=()=>{const[e,t]=P.useState(""),[n,r]=P.useState(""),i="http://67.225.129.127:3002",o=async()=>{try{const a=await ae.post(`${i}/users/forgotpassword`,{email:e});r(a.data.message)}catch(a){console.error("Forgot Password Error:",a),r(a.response.data.message)}};return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[l.jsx("div",{className:"container-fluid px-0",children:l.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[l.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),l.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:l.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:l.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"mb-4",children:[l.jsx("h2",{className:"h3",children:"Forgot Password"}),l.jsx("hr",{})]})})}),l.jsxs("div",{className:"row gy-3 overflow-hidden",children:[l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"email",className:"form-control",value:e,onChange:a=>t(a.target.value),placeholder:"name@example.com",required:"required"}),l.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),l.jsxs("div",{className:"col-12",children:[l.jsx("div",{className:"d-grid",children:l.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:o,children:"Reset Password"})}),l.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:l.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",l.jsx(ce,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12"})})]})})})]})}),l.jsx(Le,{})]})]})},zj=()=>{const{userId:e,token:t}=Ii(),[n,r]=P.useState(""),[i,o]=P.useState(""),[a,s]=P.useState(""),c="http://67.225.129.127:3002",u=async()=>{try{if(!n||n.trim()===""){s("Password not entered"),J.error("Password not entered");return}const d=await ae.post(`${c}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){s("Passwords do not match."),J.error("Passwords do not match.");return}else s("Password reset successfull"),J.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return P.useEffect(()=>{J.dismiss()},[]),l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("section",{className:"card mb-0 vh-100",children:l.jsx("div",{className:"container py-10 h-100",children:l.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:l.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[l.jsx("br",{}),l.jsxs("h2",{children:["Reset Password",l.jsx("hr",{}),l.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),l.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"}}),l.jsx("br",{}),l.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>o(d.target.value),placeholder:"Confirm your new password"}),l.jsx("br",{}),l.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),l.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:a})]})})})}),l.jsx(Le,{})]})},Bj=()=>l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsxs("div",{className:"col-md-18",children:[l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),l.jsxs("h2",{children:["We reqest you to kindly ",l.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",l.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx(Le,{})]}),Uj=()=>{const{id:e}=Ii(),t=zt(),{selectedProperty:n,status:r,error:i}=ct(s=>s.property),[o,a]=P.useState(!0);return P.useEffect(()=>{e&&(t(Gr(e)),a(!1))},[e,t]),r==="loading"?l.jsx("p",{children:"Loading property details..."}):r==="failed"?l.jsxs("p",{children:["Error loading property: ",i]}):l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx("div",{className:"container col-12",children:o?l.jsx("div",{className:"loader",children:"Loading..."}):n?l.jsx("div",{className:"py-3 py-md-5 bg-light",children:l.jsxs("div",{className:"card-header bg-white",children:[l.jsxs("div",{className:"row",children:[l.jsx("div",{className:"col-md-5 mt-3",children:l.jsx("div",{className:"bg-white border",children:n.images&&n.images[0]?l.jsx("img",{src:n.images[0].file||xr,alt:"Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}}):l.jsx("img",{src:xr,alt:"Default Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}})})}),l.jsx("div",{className:"col-md-7 mt-3",children:l.jsxs("div",{className:"product-view",children:[l.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[n.address,l.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),l.jsx("hr",{}),l.jsxs("p",{className:"product-path",children:[l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",n.city," /",l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",n.county," /",l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",n.state," /",l.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",n.zip]}),l.jsxs("div",{children:[l.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),n.totallivingsqft,l.jsx("p",{}),l.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",n.costpersqft,"/sqft",l.jsx("p",{}),l.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),n.yearBuild]}),l.jsxs("div",{className:"mt-3 card bg-white",children:[l.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Description"}),l.jsx("span",{children:n.legal?n.legal:"No data available"})]})]})})]}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-md-12 mt-3",children:l.jsxs("div",{className:"card",children:[l.jsx("div",{className:"card-header bg-white",children:l.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),l.jsx("div",{className:"card-body",children:l.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):l.jsx("p",{children:"No property details found."})}),l.jsx(Le,{})]})},$j=()=>{const[e,t]=P.useState([]),[n,r]=P.useState(0),[i,o]=P.useState(0),[a]=P.useState(10),[s,c]=P.useState(""),[u,d]=P.useState(!1),[p,g]=P.useState(!1),w=async()=>{d(!0),g(!1);try{const h=await ae.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:a,offset:i*a,search:s},headers:{"Cache-Control":"no-cache"}});t(h.data.data),r(h.data.totalRecords),s.trim()&&g(!0)}catch(h){console.log("Error fetching data:",h)}finally{d(!1)}},v=h=>{c(h.target.value),h.target.value.trim()===""&&(o(0),t([]),r(0),g(!1),w())},j=h=>{h.key==="Enter"&&(h.preventDefault(),w())};P.useEffect(()=>{w()},[s,i]);const x=Math.ceil(n/a);return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsxs("div",{className:"container col-12",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-lg-12 card-margin col-12",children:l.jsx("div",{className:"card search-form col-12",children:l.jsx("div",{className:"card-body p-0",children:l.jsx("form",{id:"search-form",children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"row no-gutters",children:l.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:l.jsx("input",{type:"text",placeholder:"Enter the keyword and hit ENTER button...",className:"form-control",id:"search",name:"search",value:s,onChange:v,onKeyDown:j})})})})})})})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"card card-margin",children:l.jsxs("div",{className:"card-body",children:[p&&e.length>0&&l.jsxs("div",{children:["Showing search results for the keyword"," ",l.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:s})]}),l.jsx("div",{className:"table-responsive",children:l.jsxs("table",{className:"table widget-26",children:[l.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:l.jsxs("tr",{children:[l.jsx("th",{children:"Details"}),l.jsx("th",{children:"Total Living Square Foot"}),l.jsx("th",{children:"Year Built"}),l.jsx("th",{children:"Cost per Square Foot"})]})}),l.jsx("tbody",{children:e.length>0?e.map((h,m)=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsxs("div",{className:"widget-26-job-title",children:[l.jsx(ce,{to:`/properties/${h.house_id}`,className:"link-primary text-decoration-none",target:"_blank",children:h.address}),l.jsxs("p",{className:"m-0",children:[l.jsxs("span",{className:"employer-name",children:[l.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),h.city,", ",h.county,",",h.state]}),l.jsxs("p",{className:"text-muted m-0",children:["House Id: ",h.house_id]})]})]})}),l.jsx("td",{children:l.jsx("div",{className:"widget-26-job-info",children:l.jsx("p",{className:"m-0",children:h.total_living_sqft})})}),l.jsx("td",{children:l.jsx("div",{className:"widget-26-job-info",children:l.jsx("p",{className:"m-0",children:h.year_built})})}),l.jsx("td",{children:l.jsxs("div",{className:"widget-26-job-salary",children:["$ ",h.cost_per_sqft,"/sqft"]})})]},m)):l.jsx("tr",{children:l.jsx("td",{colSpan:"4",children:"No results found"})})})]})}),l.jsxs("div",{children:[l.jsx("button",{onClick:()=>o(i-1),disabled:i===0||u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),l.jsxs("span",{children:[" ","Page ",i+1," of ",x," "]}),l.jsx("button",{onClick:()=>o(i+1),disabled:i+1>=x||u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),l.jsx(Le,{})]})},Vj=()=>l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),"This page will show the list of services offered by the company",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx(Le,{})]}),Wj=()=>{const{house_id:e}=Ii();console.log("house_id",e);const[t,n]=P.useState(null),[r,i]=P.useState(!0);return P.useEffect(()=>{(async()=>{try{const a=await ae.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(a.data)}catch(a){console.log("Error fetching property details:",a)}finally{i(!1)}})()},[e]),l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{})," ",l.jsx("br",{}),l.jsx("div",{className:"container col-12",children:r?l.jsx("div",{className:"loader",children:"Loading..."}):t?l.jsx("div",{className:"py-3 py-md-5 bg-light",children:l.jsxs("div",{className:"card-header bg-white",children:[l.jsxs("div",{className:"row",children:[l.jsx("div",{className:"col-md-5 mt-3",children:l.jsx("div",{className:"bg-white border",children:l.jsx("img",{src:xr,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"450px",maxHeight:"450px"}})})}),l.jsx("div",{className:"col-md-7 mt-3",children:l.jsxs("div",{className:"product-view",children:[l.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[t.address,l.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),l.jsx("hr",{}),l.jsxs("p",{className:"product-path",children:[l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",t.city," /",l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",t.county," /",l.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",t.state," /",l.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",t.zip]}),l.jsxs("div",{children:[l.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),t.total_living_sqft,l.jsx("p",{}),l.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",t.cost_per_sqft,"/sqft",l.jsx("p",{}),l.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),t.year_built]}),l.jsxs("div",{className:"mt-3 card bg-white",children:[l.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Summary report"}),l.jsx("span",{children:t.legal_summary_report?t.legal_summary_report:"No data available"})]})]})})]}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-md-12 mt-3",children:l.jsxs("div",{className:"card",children:[l.jsx("div",{className:"card-header bg-white",children:l.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),l.jsx("div",{className:"card-body",children:l.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):l.jsx("p",{children:"No property details found."})}),l.jsx(Le,{})]})},qj=()=>{const{id:e}=Ii(),t=zt(),{selectedProperty:n}=ct(s=>s.property),[r,i]=P.useState({propertyType:"",yearBuild:"",totalSqft:""});P.useEffect(()=>{t(Gr(e))},[t,e]),P.useEffect(()=>{n&&i({propertyType:n.propertyType,yearBuild:n.yearBuild,totalSqft:n.totalSqft})},[n]);const o=s=>{i({...r,[s.target.name]:s.target.value})},a=s=>{s.preventDefault(),t(No({id:e,propertyData:r}))};return l.jsxs("div",{className:"edit-property-form",children:[l.jsx("h2",{children:"Edit Property"}),l.jsxs("form",{onSubmit:a,children:[l.jsx("div",{children:l.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:r.propertyType,onChange:o,required:!0,children:[l.jsx("option",{value:"",children:"Please Select Property Type"}),l.jsx("option",{value:"Residential",children:"Residential"}),l.jsx("option",{value:"Land",children:"Land"}),l.jsx("option",{value:"Commercial",children:"Commercial"}),l.jsx("option",{value:"Industrial",children:"Industrial"}),l.jsx("option",{value:"Water",children:"Water"})]})}),l.jsx("div",{className:"col-12",children:l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:r.yearBuild,onChange:o,placeholder:"Year build",required:!0}),l.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})}),l.jsxs("div",{className:"form-floating mb-3",children:[l.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:r.totalSqft,onChange:o,placeholder:"Total SQFT",required:!0}),l.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]}),l.jsx("button",{type:"submit",children:"Update Property"})]})]})},Hj=()=>{const e=zt(),{properties:t,loading:n,totalPages:r,currentPage:i}=ct(j=>j.property),[o,a]=P.useState(""),[s,c]=P.useState([]),[u,d]=P.useState(1),p=10;P.useEffect(()=>{e(Jr({page:u,limit:p,keyword:o}))},[e,u,o]),P.useEffect(()=>{o.trim()?c(t.filter(j=>j.address.toLowerCase().includes(o.toLowerCase()))):c(t)},[o,t]);const g=j=>{a(j.target.value)},w=j=>{j.preventDefault()},v=j=>{d(j),e(Jr({page:j,limit:p,keyword:o}))};return l.jsxs(l.Fragment,{children:[l.jsx(Te,{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsx("br",{}),l.jsxs("div",{className:"container col-12",children:[l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-lg-12 card-margin col-12",children:l.jsx("div",{className:"card search-form col-12",children:l.jsx("div",{className:"card-body p-0",children:l.jsx("form",{id:"search-form",onSubmit:w,children:l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"row no-gutters",children:l.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:l.jsx("input",{type:"text",value:o,onChange:g,placeholder:"Enter the keyword and hit ENTER button...",className:"form-control"})})})})})})})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12",children:l.jsx("div",{className:"card card-margin",children:l.jsx("div",{className:"card-body",children:n?l.jsx("div",{children:"Loading..."}):l.jsx("div",{className:"table-responsive",children:l.jsxs("table",{className:"table widget-26",children:[l.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:l.jsxs("tr",{children:[l.jsx("th",{children:"Image"}),l.jsx("th",{children:"Details"}),l.jsx("th",{children:"Total Living Square Foot"}),l.jsx("th",{children:"Year Built"}),l.jsx("th",{children:"Cost per Square Foot"})]})}),l.jsx("tbody",{children:s.length>0?s.map(j=>l.jsxs("tr",{children:[l.jsx("td",{children:j.images&&j.images[0]?l.jsx("img",{src:j.images[0].file||xr,alt:"Property Thumbnail",style:{width:"100px",height:"auto"}}):l.jsx("img",{src:xr,alt:"Default Property Thumbnail",style:{width:"100px",height:"auto"}})}),l.jsx("td",{children:l.jsxs("div",{className:"widget-26-job-title",children:[l.jsx(ce,{to:`/property/${j.propertyId}`,className:"link-primary text-decoration-none",target:"_blank",children:j.address}),l.jsxs("p",{className:"m-0",children:[l.jsxs("span",{className:"employer-name",children:[l.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),j.city,", ",j.county,","," ",j.state]}),l.jsxs("p",{className:"text-muted m-0",children:["House Id: ",j.propertyId]})]})]})}),l.jsx("td",{children:j.totallivingsqft}),l.jsx("td",{children:j.yearBuild}),l.jsx("td",{children:j.costpersqft})]},j.id)):l.jsx("tr",{children:l.jsx("td",{colSpan:"5",children:"No properties found."})})})]})})})})})}),l.jsx("nav",{"aria-label":"Page navigation",children:l.jsxs("ul",{className:"pagination justify-content-center",children:[l.jsx("li",{className:`page-item ${i===1?"disabled":""}`,children:l.jsx("button",{className:"page-link",onClick:()=>v(i-1),children:"Previous"})}),Array.from({length:r},(j,x)=>l.jsx("li",{className:`page-item ${i===x+1?"active":""}`,children:l.jsx("button",{className:"page-link",onClick:()=>v(x+1),children:x+1})},x+1)),l.jsx("li",{className:`page-item ${i===r?"disabled":""}`,children:l.jsx("button",{className:"page-link",onClick:()=>v(i+1),children:"Next"})})]})})]}),l.jsx(Le,{})]})},Yj=()=>l.jsxs(Cx,{children:[l.jsx(qx,{}),l.jsxs(xx,{children:[l.jsx(Ne,{path:"/",element:l.jsx(Yx,{})}),l.jsx(Ne,{path:"/about",element:l.jsx(Kx,{})}),l.jsx(Ne,{path:"/services",element:l.jsx(Vj,{})}),l.jsx(Ne,{path:"/contact",element:l.jsx(Qx,{})}),l.jsx(Ne,{path:"/register",element:l.jsx(wj,{})}),l.jsx(Ne,{path:"/registrationsuccess",element:l.jsx(Rs,{children:l.jsx(Bj,{})})}),l.jsx(Ne,{path:"/login",element:l.jsx(Ej,{})}),l.jsx(Ne,{path:"/dashboard",element:l.jsx(Rs,{children:l.jsx(Pj,{})})}),l.jsx(Ne,{path:"/users/:id/verify/:token",element:l.jsx(Lj,{})}),l.jsx(Ne,{path:"/forgotpassword",element:l.jsx(Fj,{})}),l.jsx(Ne,{path:"/users/resetpassword/:userId/:token",element:l.jsx(zj,{})}),l.jsx(Ne,{path:"/property/:id",element:l.jsx(Uj,{})}),l.jsx(Ne,{path:"/properties/:house_id",element:l.jsx(Wj,{})}),l.jsx(Ne,{path:"/searchmyproperties",element:l.jsx($j,{})}),l.jsx(Ne,{path:"/searchproperties",element:l.jsx(Hj,{})}),l.jsx(Ne,{path:"/editproperty/:id",element:l.jsx(qj,{})})]})]});Up(document.getElementById("root")).render(l.jsx(P.StrictMode,{children:l.jsx(Ky,{store:R1,children:l.jsx(Yj,{})})})); diff --git a/ef-ui/dist/assets/index-DPPwfV95.js b/ef-ui/dist/assets/index-DPPwfV95.js new file mode 100644 index 0000000..8172a0f --- /dev/null +++ b/ef-ui/dist/assets/index-DPPwfV95.js @@ -0,0 +1,85 @@ +var Zm=Object.defineProperty;var eh=(e,t,n)=>t in e?Zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zl=(e,t,n)=>eh(e,typeof t!="symbol"?t+"":t,n);function th(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 a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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)}})();var nh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ds(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cd={exports:{}},cl={},Pd={exports:{}},Z={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ki=Symbol.for("react.element"),rh=Symbol.for("react.portal"),ih=Symbol.for("react.fragment"),oh=Symbol.for("react.strict_mode"),lh=Symbol.for("react.profiler"),ah=Symbol.for("react.provider"),sh=Symbol.for("react.context"),ch=Symbol.for("react.forward_ref"),uh=Symbol.for("react.suspense"),dh=Symbol.for("react.memo"),fh=Symbol.for("react.lazy"),zc=Symbol.iterator;function ph(e){return e===null||typeof e!="object"?null:(e=zc&&e[zc]||e["@@iterator"],typeof e=="function"?e:null)}var Od={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Td=Object.assign,Rd={};function jr(e,t,n){this.props=e,this.context=t,this.refs=Rd,this.updater=n||Od}jr.prototype.isReactComponent={};jr.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")};jr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dd(){}Dd.prototype=jr.prototype;function Is(e,t,n){this.props=e,this.context=t,this.refs=Rd,this.updater=n||Od}var As=Is.prototype=new Dd;As.constructor=Is;Td(As,jr.prototype);As.isPureReactComponent=!0;var Bc=Array.isArray,Id=Object.prototype.hasOwnProperty,Ms={current:null},Ad={key:!0,ref:!0,__self:!0,__source:!0};function Md(e,t,n){var r,i={},l=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(l=""+t.key),t)Id.call(t,r)&&!Ad.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,M=C[I];if(0>>1;Ii(H,D))Ki(Q,H)?(C[I]=Q,C[K]=D,I=K):(C[I]=H,C[$]=D,I=$);else if(Ki(Q,D))C[I]=Q,C[K]=D,I=K;else break e}}return b}function i(C,b){var D=C.sortIndex-b.sortIndex;return D!==0?D:C.id-b.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var c=[],u=[],d=1,f=null,g=3,N=!1,v=!1,j=!1,x=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(C){for(var b=n(u);b!==null;){if(b.callback===null)r(u);else if(b.startTime<=C)r(u),b.sortIndex=b.expirationTime,t(c,b);else break;b=n(u)}}function y(C){if(j=!1,p(C),!v)if(n(c)!==null)v=!0,L(w);else{var b=n(u);b!==null&&V(y,b.startTime-C)}}function w(C,b){v=!1,j&&(j=!1,h(S),S=-1),N=!0;var D=g;try{for(p(b),f=n(c);f!==null&&(!(f.expirationTime>b)||C&&!z());){var I=f.callback;if(typeof I=="function"){f.callback=null,g=f.priorityLevel;var M=I(f.expirationTime<=b);b=e.unstable_now(),typeof M=="function"?f.callback=M:f===n(c)&&r(c),p(b)}else r(c);f=n(c)}if(f!==null)var U=!0;else{var $=n(u);$!==null&&V(y,$.startTime-b),U=!1}return U}finally{f=null,g=D,N=!1}}var E=!1,k=null,S=-1,O=5,A=-1;function z(){return!(e.unstable_now()-AC||125I?(C.sortIndex=D,t(u,C),n(c)===null&&C===n(u)&&(j?(h(S),S=-1):j=!0,V(y,D-I))):(C.sortIndex=M,t(c,C),v||N||(v=!0,L(w))),C},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(C){var b=g;return function(){var D=g;g=b;try{return C.apply(this,arguments)}finally{g=D}}}})(Ud);Bd.exports=Ud;var Sh=Bd.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var kh=P,Ze=Sh;function F(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"),Ea=Object.prototype.hasOwnProperty,bh=/^[: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]*$/,$c={},Vc={};function _h(e){return Ea.call(Vc,e)?!0:Ea.call($c,e)?!1:bh.test(e)?Vc[e]=!0:($c[e]=!0,!1)}function Ch(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 Ph(e,t,n,r){if(t===null||typeof t>"u"||Ch(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 Le(e,t,n,r,i,l,a){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=a}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Le(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){_e[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fs=/[\-:]([a-z])/g;function zs(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(Fs,zs);_e[t]=new Le(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(Fs,zs);_e[t]=new Le(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(Fs,zs);_e[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bs(e,t,n,r){var i=_e.hasOwnProperty(t)?_e[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==l[s]){var c=` +`+i[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=s);break}}}finally{$l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lr(e):""}function Oh(e){switch(e.tag){case 5:return Lr(e.type);case 16:return Lr("Lazy");case 13:return Lr("Suspense");case 19:return Lr("SuspenseList");case 0:case 2:case 15:return e=Vl(e.type,!1),e;case 11:return e=Vl(e.type.render,!1),e;case 1:return e=Vl(e.type,!0),e;default:return""}}function _a(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 $n:return"Fragment";case Un:return"Portal";case Sa:return"Profiler";case Us:return"StrictMode";case ka:return"Suspense";case ba:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wd:return(e.displayName||"Context")+".Consumer";case Vd:return(e._context.displayName||"Context")+".Provider";case $s:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Vs:return t=e.displayName||null,t!==null?t:_a(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return _a(e(t))}catch{}}return null}function Th(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 _a(t);case 8:return t===Us?"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 un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rh(e){var t=Hd(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(a){r=""+a,l.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fi(e){e._valueTracker||(e._valueTracker=Rh(e))}function Yd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _o(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 Ca(e,t){var n=t.checked;return fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=un(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 Kd(e,t){t=t.checked,t!=null&&Bs(e,"checked",t,!1)}function Pa(e,t){Kd(e,t);var n=un(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")?Oa(e,t.type,n):t.hasOwnProperty("defaultValue")&&Oa(e,t.type,un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hc(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 Oa(e,t,n){(t!=="number"||_o(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fr=Array.isArray;function ir(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=zi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ni(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $r={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},Dh=["Webkit","ms","Moz","O"];Object.keys($r).forEach(function(e){Dh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$r[t]=$r[e]})});function Xd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$r.hasOwnProperty(e)&&$r[e]?(""+t).trim():t+"px"}function Zd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Xd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ih=fe({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 Da(e,t){if(t){if(Ih[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Ia(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 Aa=null;function Ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ma=null,or=null,lr=null;function Qc(e){if(e=Ci(e)){if(typeof Ma!="function")throw Error(F(280));var t=e.stateNode;t&&(t=ml(t),Ma(e.stateNode,e.type,t))}}function ef(e){or?lr?lr.push(e):lr=[e]:or=e}function tf(){if(or){var e=or,t=lr;if(lr=or=null,Qc(e),t)for(e=0;e>>=0,e===0?32:31-(qh(e)/Hh|0)|0}var Bi=64,Ui=4194304;function zr(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 To(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=zr(s):(l&=a,l!==0&&(r=zr(l)))}else a=n&~i,a!==0?r=zr(a):l!==0&&(r=zr(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 bi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=n}function Gh(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=Wr),iu=" ",ou=!1;function wf(e,t){switch(e){case"keyup":return Sv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ef(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vn=!1;function bv(e,t){switch(e){case"compositionend":return Ef(t);case"keypress":return t.which!==32?null:(ou=!0,iu);case"textInput":return e=t.data,e===iu&&ou?null:e;default:return null}}function _v(e,t){if(Vn)return e==="compositionend"||!Xs&&wf(e,t)?(e=jf(),oo=Qs=Gt=null,Vn=!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=cu(n)}}function _f(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_f(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cf(){for(var e=window,t=_o();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_o(e.document)}return t}function Zs(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 Mv(e){var t=Cf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_f(n.ownerDocument.documentElement,n)){if(r!==null&&Zs(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=uu(n,l);var a=uu(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wn=null,$a=null,Hr=null,Va=!1;function du(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Va||Wn==null||Wn!==_o(r)||(r=Wn,"selectionStart"in r&&Zs(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}),Hr&&si(Hr,r)||(Hr=r,r=Io($a,"onSelect"),0Yn||(e.current=Qa[Yn],Qa[Yn]=null,Yn--)}function ie(e,t){Yn++,Qa[Yn]=e.current,e.current=t}var dn={},Te=mn(dn),Ue=mn(!1),On=dn;function dr(e,t){var n=e.type.contextTypes;if(!n)return dn;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 $e(e){return e=e.childContextTypes,e!=null}function Mo(){ae(Ue),ae(Te)}function gu(e,t,n){if(Te.current!==dn)throw Error(F(168));ie(Te,t),ie(Ue,n)}function Lf(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(F(108,Th(e)||"Unknown",i));return fe({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,On=Te.current,ie(Te,e),ie(Ue,Ue.current),!0}function xu(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Lf(e,t,On),r.__reactInternalMemoizedMergedChildContext=e,ae(Ue),ae(Te),ie(Te,e)):ae(Ue),ie(Ue,n)}var Ot=null,hl=!1,ra=!1;function Ff(e){Ot===null?Ot=[e]:Ot.push(e)}function Kv(e){hl=!0,Ff(e)}function hn(){if(!ra&&Ot!==null){ra=!0;var e=0,t=ne;try{var n=Ot;for(ne=1;e>=a,i-=a,Tt=1<<32-ht(t)+i|n<S?(O=k,k=null):O=k.sibling;var A=g(h,k,p[S],y);if(A===null){k===null&&(k=O);break}e&&k&&A.alternate===null&&t(h,k),m=l(A,m,S),E===null?w=A:E.sibling=A,E=A,k=O}if(S===p.length)return n(h,k),ce&&gn(h,S),w;if(k===null){for(;SS?(O=k,k=null):O=k.sibling;var z=g(h,k,A.value,y);if(z===null){k===null&&(k=O);break}e&&k&&z.alternate===null&&t(h,k),m=l(z,m,S),E===null?w=z:E.sibling=z,E=z,k=O}if(A.done)return n(h,k),ce&&gn(h,S),w;if(k===null){for(;!A.done;S++,A=p.next())A=f(h,A.value,y),A!==null&&(m=l(A,m,S),E===null?w=A:E.sibling=A,E=A);return ce&&gn(h,S),w}for(k=r(h,k);!A.done;S++,A=p.next())A=N(k,h,S,A.value,y),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?S:A.key),m=l(A,m,S),E===null?w=A:E.sibling=A,E=A);return e&&k.forEach(function(Y){return t(h,Y)}),ce&&gn(h,S),w}function x(h,m,p,y){if(typeof p=="object"&&p!==null&&p.type===$n&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Li:e:{for(var w=p.key,E=m;E!==null;){if(E.key===w){if(w=p.type,w===$n){if(E.tag===7){n(h,E.sibling),m=i(E,p.props.children),m.return=h,h=m;break e}}else if(E.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Vt&&wu(w)===E.type){n(h,E.sibling),m=i(E,p.props),m.ref=Dr(h,E,p),m.return=h,h=m;break e}n(h,E);break}else t(h,E);E=E.sibling}p.type===$n?(m=_n(p.props.children,h.mode,y,p.key),m.return=h,h=m):(y=mo(p.type,p.key,p.props,null,h.mode,y),y.ref=Dr(h,m,p),y.return=h,h=y)}return a(h);case Un:e:{for(E=p.key;m!==null;){if(m.key===E)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=da(p,h.mode,y),m.return=h,h=m}return a(h);case Vt:return E=p._init,x(h,m,E(p._payload),y)}if(Fr(p))return v(h,m,p,y);if(Cr(p))return j(h,m,p,y);Ki(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=ua(p,h.mode,y),m.return=h,h=m),a(h)):n(h,m)}return x}var pr=$f(!0),Vf=$f(!1),Bo=mn(null),Uo=null,Gn=null,rc=null;function ic(){rc=Gn=Uo=null}function oc(e){var t=Bo.current;ae(Bo),e._currentValue=t}function Xa(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 sr(e,t){Uo=e,rc=Gn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(rc!==e)if(e={context:e,memoizedValue:t,next:null},Gn===null){if(Uo===null)throw Error(F(308));Gn=e,Uo.dependencies={lanes:0,firstContext:e}}else Gn=Gn.next=e;return t}var En=null;function lc(e){En===null?En=[e]:En.push(e)}function Wf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,lc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Mt(e,r)}function Mt(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 Wt=!1;function ac(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qf(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 Dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ee&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Mt(e,n)}return i=r.interleaved,i===null?(t.next=t,lc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Mt(e,n)}function ao(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,Hs(e,n)}}function Eu(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 a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=a:l=l.next=a,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 $o(e,t,n,r){var i=e.updateQueue;Wt=!1;var l=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,u=c.next;c.next=null,a===null?l=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c))}if(l!==null){var f=i.baseState;a=0,d=u=c=null,s=l;do{var g=s.lane,N=s.eventTime;if((r&g)===g){d!==null&&(d=d.next={eventTime:N,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,j=s;switch(g=t,N=n,j.tag){case 1:if(v=j.payload,typeof v=="function"){f=v.call(N,f,g);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=j.payload,g=typeof v=="function"?v.call(N,f,g):v,g==null)break e;f=fe({},f,g);break e;case 2:Wt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=i.effects,g===null?i.effects=[s]:g.push(s))}else N={eventTime:N,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=N,c=f):d=d.next=N,a|=g;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;g=s,s=g.next,g.next=null,i.lastBaseUpdate=g,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);Dn|=a,e.lanes=a,e.memoizedState=f}}function Su(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{ne=n,oa.transition=r}}function sp(){return ct().memoizedState}function Xv(e,t,n){var r=an(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cp(e))up(t,n);else if(n=Wf(e,t,n,r),n!==null){var i=Ae();vt(n,e,r,i),dp(n,t,r)}}function Zv(e,t,n){var r=an(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cp(e))up(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var a=t.lastRenderedState,s=l(a,n);if(i.hasEagerState=!0,i.eagerState=s,gt(s,a)){var c=t.interleaved;c===null?(i.next=i,lc(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Wf(e,t,i,r),n!==null&&(i=Ae(),vt(n,e,r,i),dp(n,t,r))}}function cp(e){var t=e.alternate;return e===de||t!==null&&t===de}function up(e,t){Yr=Wo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hs(e,n)}}var qo={readContext:st,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},ey={readContext:st,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:bu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,co(4194308,4,rp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return co(4194308,4,e,t)},useInsertionEffect:function(e,t){return co(4,2,e,t)},useMemo:function(e,t){var n=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();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=Xv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:ku,useDebugValue:hc,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=ku(!1),t=e[0];return e=Jv.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,i=wt();if(ce){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),we===null)throw Error(F(349));Rn&30||Qf(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,bu(Jf.bind(null,r,l,e),[e]),r.flags|=2048,vi(9,Gf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=wt(),t=we.identifierPrefix;if(ce){var n=Rt,r=Tt;n=(r&~(1<<32-ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=mi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[St]=t,e[di]=r,Np(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ia(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;ivr&&(t.flags|=128,r=!0,Ir(l,!1),t.lanes=4194304)}else{if(!r)if(e=Vo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ir(l,!0),l.tail===null&&l.tailMode==="hidden"&&!a.alternate&&!ce)return Pe(t),null}else 2*he()-l.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Ir(l,!1),t.lanes=4194304);l.isBackwards?(a.sibling=t.child,t.child=a):(n=l.last,n!==null?n.sibling=a:t.child=a,l.last=a)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=he(),t.sibling=null,n=ue.current,ie(ue,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return Nc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ye&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function sy(e,t){switch(tc(t),t.tag){case 1:return $e(t.type)&&Mo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mr(),ae(Ue),ae(Te),uc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cc(t),null;case 13:if(ae(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));fr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(ue),null;case 4:return mr(),null;case 10:return oc(t.type._context),null;case 22:case 23:return Nc(),null;case 24:return null;default:return null}}var Gi=!1,Oe=!1,cy=typeof WeakSet=="function"?WeakSet:Set,B=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function as(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Lu=!1;function uy(e,t){if(Wa=Ro,e=Cf(),Zs(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 a=0,s=-1,c=-1,u=0,d=0,f=e,g=null;t:for(;;){for(var N;f!==n||i!==0&&f.nodeType!==3||(s=a+i),f!==l||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(N=f.firstChild)!==null;)g=f,f=N;for(;;){if(f===e)break t;if(g===n&&++u===i&&(s=a),g===l&&++d===r&&(c=a),(N=f.nextSibling)!==null)break;f=g,g=f.parentNode}f=N}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(qa={focusedElem:e,selectionRange:n},Ro=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;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 j=v.memoizedProps,x=v.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?j:dt(t.type,j),x);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(F(163))}}catch(y){pe(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return v=Lu,Lu=!1,v}function Kr(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&&as(t,n,l)}i=i.next}while(i!==r)}}function gl(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 ss(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 Sp(e){var t=e.alternate;t!==null&&(e.alternate=null,Sp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[St],delete t[di],delete t[Ka],delete t[Hv],delete t[Yv])),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 kp(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kp(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 cs(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=Ao));else if(r!==4&&(e=e.child,e!==null))for(cs(e,t,n),e=e.sibling;e!==null;)cs(e,t,n),e=e.sibling}function us(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(us(e,t,n),e=e.sibling;e!==null;)us(e,t,n),e=e.sibling}var ke=null,ft=!1;function Ut(e,t,n){for(n=n.child;n!==null;)bp(e,t,n),n=n.sibling}function bp(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(ul,n)}catch{}switch(n.tag){case 5:Oe||Jn(n,t);case 6:var r=ke,i=ft;ke=null,Ut(e,t,n),ke=r,ft=i,ke!==null&&(ft?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(ft?(e=ke,n=n.stateNode,e.nodeType===8?na(e.parentNode,n):e.nodeType===1&&na(e,n),li(e)):na(ke,n.stateNode));break;case 4:r=ke,i=ft,ke=n.stateNode.containerInfo,ft=!0,Ut(e,t,n),ke=r,ft=i;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,a=l.destroy;l=l.tag,a!==void 0&&(l&2||l&4)&&as(n,t,a),i=i.next}while(i!==r)}Ut(e,t,n);break;case 1:if(!Oe&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){pe(n,t,s)}Ut(e,t,n);break;case 21:Ut(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Ut(e,t,n),Oe=r):Ut(e,t,n);break;default:Ut(e,t,n)}}function zu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cy),t.forEach(function(r){var i=xy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~l}if(r=i,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*fy(r/1960))-r,10e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,Ko=0,ee&6)throw Error(F(331));var i=ee;for(ee|=4,B=e.current;B!==null;){var l=B,a=l.child;if(B.flags&16){var s=l.deletions;if(s!==null){for(var c=0;che()-xc?bn(e,0):gc|=n),Ve(e,t)}function Ip(e,t){t===0&&(e.mode&1?(t=Ui,Ui<<=1,!(Ui&130023424)&&(Ui=4194304)):t=1);var n=Ae();e=Mt(e,t),e!==null&&(bi(e,t,n),Ve(e,n))}function gy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ip(e,n)}function xy(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(F(314))}r!==null&&r.delete(t),Ip(e,n)}var Ap;Ap=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ue.current)Be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Be=!1,ly(e,t,n);Be=!!(e.flags&131072)}else Be=!1,ce&&t.flags&1048576&&zf(t,zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;uo(e,t),e=t.pendingProps;var i=dr(t,Te.current);sr(t,n),i=fc(null,t,r,e,i,n);var l=pc();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,$e(r)?(l=!0,Lo(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ac(t),i.updater=yl,t.stateNode=i,i._reactInternals=t,es(t,r,e,n),t=rs(null,t,r,!0,l,n)):(t.tag=0,ce&&l&&ec(t),De(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(uo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Ny(r),e=dt(r,e),i){case 0:t=ns(null,t,r,e,n);break e;case 1:t=Iu(null,t,r,e,n);break e;case 11:t=Ru(null,t,r,e,n);break e;case 14:t=Du(null,t,r,dt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),ns(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),Iu(e,t,r,i,n);case 3:e:{if(gp(t),e===null)throw Error(F(387));r=t.pendingProps,l=t.memoizedState,i=l.element,qf(e,t),$o(t,r,null,n);var a=t.memoizedState;if(r=a.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=hr(Error(F(423)),t),t=Au(e,t,r,n,i);break e}else if(r!==i){i=hr(Error(F(424)),t),t=Au(e,t,r,n,i);break e}else for(Ke=rn(t.stateNode.containerInfo.firstChild),Je=t,ce=!0,pt=null,n=Vf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fr(),r===i){t=Lt(e,t,n);break e}De(e,t,r,n)}t=t.child}return t;case 5:return Hf(t),e===null&&Ja(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,a=i.children,Ha(r,i)?a=null:l!==null&&Ha(r,l)&&(t.flags|=32),yp(e,t),De(e,t,a,n),t.child;case 6:return e===null&&Ja(t),null;case 13:return xp(e,t,n);case 4:return sc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pr(t,null,r,n):De(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),Ru(e,t,r,i,n);case 7:return De(e,t,t.pendingProps,n),t.child;case 8:return De(e,t,t.pendingProps.children,n),t.child;case 12:return De(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,a=i.value,ie(Bo,r._currentValue),r._currentValue=a,l!==null)if(gt(l.value,a)){if(l.children===i.children&&!Ue.current){t=Lt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){a=l.child;for(var c=s.firstContext;c!==null;){if(c.context===r){if(l.tag===1){c=Dt(-1,n&-n),c.tag=2;var u=l.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}l.lanes|=n,c=l.alternate,c!==null&&(c.lanes|=n),Xa(l.return,n,t),s.lanes|=n;break}c=c.next}}else if(l.tag===10)a=l.type===t.type?null:l.child;else if(l.tag===18){if(a=l.return,a===null)throw Error(F(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Xa(a,n,t),a=l.sibling}else a=l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}De(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,sr(t,n),i=st(i),r=r(i),t.flags|=1,De(e,t,r,n),t.child;case 14:return r=t.type,i=dt(r,t.pendingProps),i=dt(r.type,i),Du(e,t,r,i,n);case 15:return hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),uo(e,t),t.tag=1,$e(r)?(e=!0,Lo(t)):e=!1,sr(t,n),fp(t,r,i),es(t,r,i,n),rs(null,t,r,!0,e,n);case 19:return jp(e,t,n);case 22:return vp(e,t,n)}throw Error(F(156,t.tag))};function Mp(e,t){return cf(e,t)}function jy(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 lt(e,t,n,r){return new jy(e,t,n,r)}function Ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ny(e){if(typeof e=="function")return Ec(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$s)return 11;if(e===Vs)return 14}return 2}function sn(e,t){var n=e.alternate;return n===null?(n=lt(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 mo(e,t,n,r,i,l){var a=2;if(r=e,typeof e=="function")Ec(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case $n:return _n(n.children,i,l,t);case Us:a=8,i|=8;break;case Sa:return e=lt(12,n,t,i|2),e.elementType=Sa,e.lanes=l,e;case ka:return e=lt(13,n,t,i),e.elementType=ka,e.lanes=l,e;case ba:return e=lt(19,n,t,i),e.elementType=ba,e.lanes=l,e;case qd:return jl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vd:a=10;break e;case Wd:a=9;break e;case $s:a=11;break e;case Vs:a=14;break e;case Vt:a=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=lt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function _n(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function jl(e,t,n,r){return e=lt(22,e,r,t),e.elementType=qd,e.lanes=n,e.stateNode={isHidden:!1},e}function ua(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function da(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function wy(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=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Sc(e,t,n,r,i,l,a,s,c){return e=new wy(e,t,n,s,c),t===1?(t=1,l===!0&&(t|=8)):t=0,l=lt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ac(l),e}function Ey(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bp)}catch(e){console.error(e)}}Bp(),zd.exports=nt;var Cy=zd.exports,Up,Yu=Cy;Up=Yu.createRoot,Yu.hydrateRoot;var $p={exports:{}},Vp={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Oi=P;function Py(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Oy=typeof Object.is=="function"?Object.is:Py,Ty=Oi.useSyncExternalStore,Ry=Oi.useRef,Dy=Oi.useEffect,Iy=Oi.useMemo,Ay=Oi.useDebugValue;Vp.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=Ry(null);if(l.current===null){var a={hasValue:!1,value:null};l.current=a}else a=l.current;l=Iy(function(){function c(N){if(!u){if(u=!0,d=N,N=r(N),i!==void 0&&a.hasValue){var v=a.value;if(i(v,N))return f=v}return f=N}if(v=f,Oy(d,N))return v;var j=r(N);return i!==void 0&&i(v,j)?v:(d=N,f=j)}var u=!1,d,f,g=n===void 0?null:n;return[function(){return c(t())},g===null?void 0:function(){return c(g())}]},[t,n,r,i]);var s=Ty(e,l[0],l[1]);return Dy(function(){a.hasValue=!0,a.value=s},[s]),Ay(s),s};$p.exports=Vp;var My=$p.exports,Qe="default"in wa?_:wa,Ku=Symbol.for("react-redux-context"),Qu=typeof globalThis<"u"?globalThis:{};function Ly(){if(!Qe.createContext)return{};const e=Qu[Ku]??(Qu[Ku]=new Map);let t=e.get(Qe.createContext);return t||(t=Qe.createContext(null),e.set(Qe.createContext,t)),t}var fn=Ly(),Fy=()=>{throw new Error("uSES not initialized!")};function Cc(e=fn){return function(){return Qe.useContext(e)}}var Wp=Cc(),qp=Fy,zy=e=>{qp=e},By=(e,t)=>e===t;function Uy(e=fn){const t=e===fn?Wp:Cc(e),n=(r,i={})=>{const{equalityFn:l=By,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:f}=t();Qe.useRef(!0);const g=Qe.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,a.stabilityCheck]),N=qp(c.addNestedSub,s.getState,u||s.getState,g,l);return Qe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var He=Uy();function $y(e){e()}function Vy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){$y(()=>{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 Gu={notify(){},get:()=>[]};function Wy(e,t){let n,r=Gu,i=0,l=!1;function a(j){d();const x=r.subscribe(j);let h=!1;return()=>{h||(h=!0,x(),f())}}function s(){r.notify()}function c(){v.onStateChange&&v.onStateChange()}function u(){return l}function d(){i++,n||(n=e.subscribe(c),r=Vy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Gu)}function g(){l||(l=!0,d())}function N(){l&&(l=!1,f())}const v={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:g,tryUnsubscribe:N,getListeners:()=>r};return v}var qy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hy=typeof navigator<"u"&&navigator.product==="ReactNative",Yy=qy||Hy?Qe.useLayoutEffect:Qe.useEffect;function Ky({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const a=Qe.useMemo(()=>{const u=Wy(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),s=Qe.useMemo(()=>e.getState(),[e]);Yy(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,s]);const c=t||fn;return Qe.createElement(c.Provider,{value:a},n)}var Qy=Ky;function Hp(e=fn){const t=e===fn?Wp:Cc(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Gy=Hp();function Jy(e=fn){const t=e===fn?Gy:Hp(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var xt=Jy();zy(My.useSyncExternalStoreWithSelector);function Se(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 Xy=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ju=Xy,fa=()=>Math.random().toString(36).substring(7).split("").join("."),Zy={INIT:`@@redux/INIT${fa()}`,REPLACE:`@@redux/REPLACE${fa()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${fa()}`},Jo=Zy;function Pc(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 Yp(e,t,n){if(typeof e!="function")throw new Error(Se(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Se(1));return n(Yp)(e,t)}let r=e,i=t,l=new Map,a=l,s=0,c=!1;function u(){a===l&&(a=new Map,l.forEach((x,h)=>{a.set(h,x)}))}function d(){if(c)throw new Error(Se(3));return i}function f(x){if(typeof x!="function")throw new Error(Se(4));if(c)throw new Error(Se(5));let h=!0;u();const m=s++;return a.set(m,x),function(){if(h){if(c)throw new Error(Se(6));h=!1,u(),a.delete(m),l=null}}}function g(x){if(!Pc(x))throw new Error(Se(7));if(typeof x.type>"u")throw new Error(Se(8));if(typeof x.type!="string")throw new Error(Se(17));if(c)throw new Error(Se(9));try{c=!0,i=r(i,x)}finally{c=!1}return(l=a).forEach(m=>{m()}),x}function N(x){if(typeof x!="function")throw new Error(Se(10));r=x,g({type:Jo.REPLACE})}function v(){const x=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(Se(11));function m(){const y=h;y.next&&y.next(d())}return m(),{unsubscribe:x(m)}},[Ju](){return this}}}return g({type:Jo.INIT}),{dispatch:g,subscribe:f,getState:d,replaceReducer:N,[Ju]:v}}function eg(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Jo.INIT})>"u")throw new Error(Se(12));if(typeof n(void 0,{type:Jo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function tg(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw s&&s.type,new Error(Se(14));u[f]=v,c=c||v!==N}return c=c||r.length!==Object.keys(a).length,c?u:a}}function Xo(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function ng(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(Se(15))};const a={getState:i.getState,dispatch:(c,...u)=>l(c,...u)},s=e.map(c=>c(a));return l=Xo(...s)(i.dispatch),{...i,dispatch:l}}}function rg(e){return Pc(e)&&"type"in e&&typeof e.type=="string"}var Kp=Symbol.for("immer-nothing"),Xu=Symbol.for("immer-draftable"),et=Symbol.for("immer-state");function mt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var yr=Object.getPrototypeOf;function An(e){return!!e&&!!e[et]}function Ft(e){var t;return e?Qp(e)||Array.isArray(e)||!!e[Xu]||!!((t=e.constructor)!=null&&t[Xu])||bl(e)||_l(e):!1}var ig=Object.prototype.constructor.toString();function Qp(e){if(!e||typeof e!="object")return!1;const t=yr(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)===ig}function Zo(e,t){kl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function kl(e){const t=e[et];return t?t.type_:Array.isArray(e)?1:bl(e)?2:_l(e)?3:0}function hs(e,t){return kl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gp(e,t,n){const r=kl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function og(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function bl(e){return e instanceof Map}function _l(e){return e instanceof Set}function jn(e){return e.copy_||e.base_}function vs(e,t){if(bl(e))return new Map(e);if(_l(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Qp(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[et];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=lg),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>Oc(r,!0))),e}function lg(){mt(2)}function Cl(e){return Object.isFrozen(e)}var ag={};function Mn(e){const t=ag[e];return t||mt(0,e),t}var gi;function Jp(){return gi}function sg(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Zu(e,t){t&&(Mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ys(e){gs(e),e.drafts_.forEach(cg),e.drafts_=null}function gs(e){e===gi&&(gi=e.parent_)}function ed(e){return gi=sg(gi,e)}function cg(e){const t=e[et];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function td(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[et].modified_&&(ys(t),mt(4)),Ft(e)&&(e=el(t,e),t.parent_||tl(t,e)),t.patches_&&Mn("Patches").generateReplacementPatches_(n[et].base_,e,t.patches_,t.inversePatches_)):e=el(t,n,[]),ys(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Kp?e:void 0}function el(e,t,n){if(Cl(t))return t;const r=t[et];if(!r)return Zo(t,(i,l)=>nd(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return tl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,a=!1;r.type_===3&&(l=new Set(i),i.clear(),a=!0),Zo(l,(s,c)=>nd(e,r,i,s,c,n,a)),tl(e,i,!1),n&&e.patches_&&Mn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function nd(e,t,n,r,i,l,a){if(An(i)){const s=l&&t&&t.type_!==3&&!hs(t.assigned_,r)?l.concat(r):void 0,c=el(e,i,s);if(Gp(n,r,c),An(c))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Ft(i)&&!Cl(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;el(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&tl(e,i)}}function tl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Oc(t,n)}function ug(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Jp(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=Tc;n&&(i=[r],l=xi);const{revoke:a,proxy:s}=Proxy.revocable(i,l);return r.draft_=s,r.revoke_=a,s}var Tc={get(e,t){if(t===et)return e;const n=jn(e);if(!hs(n,t))return dg(e,n,t);const r=n[t];return e.finalized_||!Ft(r)?r:r===pa(e.base_,t)?(ma(e),e.copy_[t]=js(r,e)):r},has(e,t){return t in jn(e)},ownKeys(e){return Reflect.ownKeys(jn(e))},set(e,t,n){const r=Xp(jn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=pa(jn(e),t),l=i==null?void 0:i[et];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(og(n,i)&&(n!==void 0||hs(e.base_,t)))return!0;ma(e),xs(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 pa(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ma(e),xs(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=jn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){mt(11)},getPrototypeOf(e){return yr(e.base_)},setPrototypeOf(){mt(12)}},xi={};Zo(Tc,(e,t)=>{xi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});xi.deleteProperty=function(e,t){return xi.set.call(this,e,t,void 0)};xi.set=function(e,t,n){return Tc.set.call(this,e[0],t,n,e[0])};function pa(e,t){const n=e[et];return(n?jn(n):e)[t]}function dg(e,t,n){var i;const r=Xp(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Xp(e,t){if(!(t in e))return;let n=yr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=yr(n)}}function xs(e){e.modified_||(e.modified_=!0,e.parent_&&xs(e.parent_))}function ma(e){e.copy_||(e.copy_=vs(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var fg=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 a=this;return function(c=l,...u){return a.produce(c,d=>n.call(this,d,...u))}}typeof n!="function"&&mt(6),r!==void 0&&typeof r!="function"&&mt(7);let i;if(Ft(t)){const l=ed(this),a=js(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?ys(l):gs(l)}return Zu(l,r),td(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Kp&&(i=void 0),this.autoFreeze_&&Oc(i,!0),r){const l=[],a=[];Mn("Patches").generateReplacementPatches_(t,i,l,a),r(l,a)}return i}else mt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),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){Ft(e)||mt(8),An(e)&&(e=pg(e));const t=ed(this),n=js(e,void 0);return n[et].isManual_=!0,gs(t),n}finishDraft(e,t){const n=e&&e[et];(!n||!n.isManual_)&&mt(9);const{scope_:r}=n;return Zu(r,t),td(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=Mn("Patches").applyPatches_;return An(e)?r(e,t):this.produce(e,i=>r(i,t))}};function js(e,t){const n=bl(e)?Mn("MapSet").proxyMap_(e,t):_l(e)?Mn("MapSet").proxySet_(e,t):ug(e,t);return(t?t.scope_:Jp()).drafts_.push(n),n}function pg(e){return An(e)||mt(10,e),Zp(e)}function Zp(e){if(!Ft(e)||Cl(e))return e;const t=e[et];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=vs(e,t.scope_.immer_.useStrictShallowCopy_)}else n=vs(e,!0);return Zo(n,(r,i)=>{Gp(n,r,Zp(i))}),t&&(t.finalized_=!1),n}var tt=new fg,em=tt.produce;tt.produceWithPatches.bind(tt);tt.setAutoFreeze.bind(tt);tt.setUseStrictShallowCopy.bind(tt);tt.applyPatches.bind(tt);tt.createDraft.bind(tt);tt.finishDraft.bind(tt);function tm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var mg=tm(),hg=tm,vg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xo:Xo.apply(null,arguments)},yg=e=>e&&typeof e.match=="function";function Jr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(yt(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=>rg(r)&&r.type===e,n}var nm=class Ur extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Ur.prototype)}static get[Symbol.species](){return Ur}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Ur(...t[0].concat(this)):new Ur(...t.concat(this))}};function rd(e){return Ft(e)?em(e,()=>{}):e}function id(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(yt(10));const r=n.insert(t,e);return e.set(t,r),r}function gg(e){return typeof e=="boolean"}var xg=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let a=new nm;return n&&(gg(n)?a.push(mg):a.push(hg(n.extraArgument))),a},jg="RTK_autoBatch",rm=e=>t=>{setTimeout(t,e)},Ng=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rm(10),wg=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?Ng:e.type==="callback"?e.queueNotification:rm(e.timeout),u=()=>{a=!1,l&&(l=!1,s.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),g=r.subscribe(f);return s.add(d),()=>{g(),s.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[jg]),l=!i,l&&(a||(a=!0,c(u))),r.dispatch(d)}finally{i=!0}}})},Eg=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new nm(e);return r&&i.push(wg(typeof r=="object"?r:void 0)),i};function Sg(e){const t=xg(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:a=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(Pc(n))s=tg(n);else throw new Error(yt(1));let c;typeof r=="function"?c=r(t):c=t();let u=Xo;i&&(u=vg({trace:!1,...typeof i=="object"&&i}));const d=ng(...c),f=Eg(d);let g=typeof a=="function"?a(f):f();const N=u(...g);return Yp(s,l,N)}function im(e){const t={},n=[];let r;const i={addCase(l,a){const s=typeof l=="string"?l:l.type;if(!s)throw new Error(yt(28));if(s in t)throw new Error(yt(29));return t[s]=a,i},addMatcher(l,a){return n.push({matcher:l,reducer:a}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function kg(e){return typeof e=="function"}function bg(e,t){let[n,r,i]=im(t),l;if(kg(e))l=()=>rd(e());else{const s=rd(e);l=()=>s}function a(s=l(),c){let u=[n[c.type],...r.filter(({matcher:d})=>d(c)).map(({reducer:d})=>d)];return u.filter(d=>!!d).length===0&&(u=[i]),u.reduce((d,f)=>{if(f)if(An(d)){const N=f(d,c);return N===void 0?d:N}else{if(Ft(d))return em(d,g=>f(g,c));{const g=f(d,c);if(g===void 0){if(d===null)return d;throw new Error(yt(9))}return g}}return d},s)}return a.getInitialState=l,a}var _g=(e,t)=>yg(e)?e.match(t):e(t);function Cg(...e){return t=>e.some(n=>_g(n,t))}var Pg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Og=(e=21)=>{let t="",n=e;for(;n--;)t+=Pg[Math.random()*64|0];return t},Tg=["name","message","stack","code"],ha=class{constructor(e,t){zl(this,"_type");this.payload=e,this.meta=t}},od=class{constructor(e,t){zl(this,"_type");this.payload=e,this.meta=t}},Rg=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Tg)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},_t=(()=>{function e(t,n,r){const i=Jr(t+"/fulfilled",(c,u,d,f)=>({payload:c,meta:{...f||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),l=Jr(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),a=Jr(t+"/rejected",(c,u,d,f,g)=>({payload:f,error:(r&&r.serializeError||Rg)(c||"Rejected"),meta:{...g||{},arg:d,requestId:u,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function s(c){return(u,d,f)=>{const g=r!=null&&r.idGenerator?r.idGenerator(c):Og(),N=new AbortController;let v,j;function x(m){j=m,N.abort()}const h=async function(){var y,w;let m;try{let E=(y=r==null?void 0:r.condition)==null?void 0:y.call(r,c,{getState:d,extra:f});if(Ig(E)&&(E=await E),E===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((S,O)=>{v=()=>{O({name:"AbortError",message:j||"Aborted"})},N.signal.addEventListener("abort",v)});u(l(g,c,(w=r==null?void 0:r.getPendingMeta)==null?void 0:w.call(r,{requestId:g,arg:c},{getState:d,extra:f}))),m=await Promise.race([k,Promise.resolve(n(c,{dispatch:u,getState:d,extra:f,requestId:g,signal:N.signal,abort:x,rejectWithValue:(S,O)=>new ha(S,O),fulfillWithValue:(S,O)=>new od(S,O)})).then(S=>{if(S instanceof ha)throw S;return S instanceof od?i(S.payload,g,c,S.meta):i(S,g,c)})])}catch(E){m=E instanceof ha?a(null,g,c,E.payload,E.meta):a(E,g,c)}finally{v&&N.signal.removeEventListener("abort",v)}return r&&!r.dispatchConditionRejection&&a.match(m)&&m.meta.condition||u(m),m}();return Object.assign(h,{abort:x,requestId:g,arg:c,unwrap(){return h.then(Dg)}})}}return Object.assign(s,{pending:l,rejected:a,fulfilled:i,settled:Cg(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Dg(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ig(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ag=Symbol.for("rtk-slice-createasyncthunk");function Mg(e,t){return`${e}/${t}`}function Lg({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Ag];return function(i){const{name:l,reducerPath:a=l}=i;if(!l)throw new Error(yt(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(zg()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,y){const w=typeof p=="string"?p:p.type;if(!w)throw new Error(yt(12));if(w in u.sliceCaseReducersByType)throw new Error(yt(13));return u.sliceCaseReducersByType[w]=y,d},addMatcher(p,y){return u.sliceMatchers.push({matcher:p,reducer:y}),d},exposeAction(p,y){return u.actionCreators[p]=y,d},exposeCaseReducer(p,y){return u.sliceCaseReducersByName[p]=y,d}};c.forEach(p=>{const y=s[p],w={reducerName:p,type:Mg(l,p),createNotation:typeof i.reducers=="function"};Ug(y)?Vg(w,y,d,t):Bg(w,y,d)});function f(){const[p={},y=[],w=void 0]=typeof i.extraReducers=="function"?im(i.extraReducers):[i.extraReducers],E={...p,...u.sliceCaseReducersByType};return bg(i.initialState,k=>{for(let S in E)k.addCase(S,E[S]);for(let S of u.sliceMatchers)k.addMatcher(S.matcher,S.reducer);for(let S of y)k.addMatcher(S.matcher,S.reducer);w&&k.addDefaultCase(w)})}const g=p=>p,N=new Map;let v;function j(p,y){return v||(v=f()),v(p,y)}function x(){return v||(v=f()),v.getInitialState()}function h(p,y=!1){function w(k){let S=k[p];return typeof S>"u"&&y&&(S=x()),S}function E(k=g){const S=id(N,y,{insert:()=>new WeakMap});return id(S,k,{insert:()=>{const O={};for(const[A,z]of Object.entries(i.selectors??{}))O[A]=Fg(z,k,x,y);return O}})}return{reducerPath:p,getSelectors:E,get selectors(){return E(w)},selectSlice:w}}const m={name:l,reducer:j,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:x,...h(a),injectInto(p,{reducerPath:y,...w}={}){const E=y??a;return p.inject({reducerPath:E,reducer:j},w),{...m,...h(E,!0)}}};return m}}function Fg(e,t,n,r){function i(l,...a){let s=t(l);return typeof s>"u"&&r&&(s=n()),e(s,...a)}return i.unwrapped=e,i}var Rc=Lg();function zg(){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 Bg({type:e,reducerName:t,createNotation:n},r,i){let l,a;if("reducer"in r){if(n&&!$g(r))throw new Error(yt(17));l=r.reducer,a=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,a?Jr(e,a):Jr(e))}function Ug(e){return e._reducerDefinitionType==="asyncThunk"}function $g(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Vg({type:e,reducerName:t},n,r,i){if(!i)throw new Error(yt(18));const{payloadCreator:l,fulfilled:a,pending:s,rejected:c,settled:u,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),s&&r.addCase(f.pending,s),c&&r.addCase(f.rejected,c),u&&r.addMatcher(f.settled,u),r.exposeCaseReducer(t,{fulfilled:a||Zi,pending:s||Zi,rejected:c||Zi,settled:u||Zi})}function Zi(){}function yt(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 om(e,t){return function(){return e.apply(t,arguments)}}const{toString:Wg}=Object.prototype,{getPrototypeOf:Dc}=Object,Pl=(e=>t=>{const n=Wg.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jt=e=>(e=e.toLowerCase(),t=>Pl(t)===e),Ol=e=>t=>typeof t===e,{isArray:Er}=Array,ji=Ol("undefined");function qg(e){return e!==null&&!ji(e)&&e.constructor!==null&&!ji(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lm=jt("ArrayBuffer");function Hg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lm(e.buffer),t}const Yg=Ol("string"),Xe=Ol("function"),am=Ol("number"),Tl=e=>e!==null&&typeof e=="object",Kg=e=>e===!0||e===!1,ho=e=>{if(Pl(e)!=="object")return!1;const t=Dc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Qg=jt("Date"),Gg=jt("File"),Jg=jt("Blob"),Xg=jt("FileList"),Zg=e=>Tl(e)&&Xe(e.pipe),e0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Pl(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},t0=jt("URLSearchParams"),[n0,r0,i0,o0]=["ReadableStream","Request","Response","Headers"].map(jt),l0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ti(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Er(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cm=e=>!ji(e)&&e!==kn;function Ns(){const{caseless:e}=cm(this)&&this||{},t={},n=(r,i)=>{const l=e&&sm(t,i)||i;ho(t[l])&&ho(r)?t[l]=Ns(t[l],r):ho(r)?t[l]=Ns({},r):Er(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(Ti(t,(i,l)=>{n&&Xe(i)?e[l]=om(i,n):e[l]=i},{allOwnKeys:r}),e),s0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),c0=(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)},u0=(e,t,n,r)=>{let i,l,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)a=i[l],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Dc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},d0=(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},f0=e=>{if(!e)return null;if(Er(e))return e;let t=e.length;if(!am(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},p0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dc(Uint8Array)),m0=(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])}},h0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},v0=jt("HTMLFormElement"),y0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ld=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),g0=jt("RegExp"),um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ti(n,(i,l)=>{let a;(a=t(i,l,e))!==!1&&(r[l]=a||i)}),Object.defineProperties(e,r)},x0=e=>{um(e,(t,n)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xe(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+"'")})}})},j0=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Er(e)?r(e):r(String(e).split(t)),n},N0=()=>{},w0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,va="abcdefghijklmnopqrstuvwxyz",ad="0123456789",dm={DIGIT:ad,ALPHA:va,ALPHA_DIGIT:va+va.toUpperCase()+ad},E0=(e=16,t=dm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function S0(e){return!!(e&&Xe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const k0=e=>{const t=new Array(10),n=(r,i)=>{if(Tl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Er(r)?[]:{};return Ti(r,(a,s)=>{const c=n(a,i+1);!ji(c)&&(l[s]=c)}),t[i]=void 0,l}}return r};return n(e,0)},b0=jt("AsyncFunction"),_0=e=>e&&(Tl(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),fm=((e,t)=>e?setImmediate:t?((n,r)=>(kn.addEventListener("message",({source:i,data:l})=>{i===kn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),kn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xe(kn.postMessage)),C0=typeof queueMicrotask<"u"?queueMicrotask.bind(kn):typeof process<"u"&&process.nextTick||fm,R={isArray:Er,isArrayBuffer:lm,isBuffer:qg,isFormData:e0,isArrayBufferView:Hg,isString:Yg,isNumber:am,isBoolean:Kg,isObject:Tl,isPlainObject:ho,isReadableStream:n0,isRequest:r0,isResponse:i0,isHeaders:o0,isUndefined:ji,isDate:Qg,isFile:Gg,isBlob:Jg,isRegExp:g0,isFunction:Xe,isStream:Zg,isURLSearchParams:t0,isTypedArray:p0,isFileList:Xg,forEach:Ti,merge:Ns,extend:a0,trim:l0,stripBOM:s0,inherits:c0,toFlatObject:u0,kindOf:Pl,kindOfTest:jt,endsWith:d0,toArray:f0,forEachEntry:m0,matchAll:h0,isHTMLForm:v0,hasOwnProperty:ld,hasOwnProp:ld,reduceDescriptors:um,freezeMethods:x0,toObjectSet:j0,toCamelCase:y0,noop:N0,toFiniteNumber:w0,findKey:sm,global:kn,isContextDefined:cm,ALPHABET:dm,generateString:E0,isSpecCompliantForm:S0,toJSONObject:k0,isAsyncFn:b0,isThenable:_0,setImmediate:fm,asap:C0};function G(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)}R.inherits(G,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:R.toJSONObject(this.config),code:this.code,status:this.status}}});const pm=G.prototype,mm={};["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=>{mm[e]={value:e}});Object.defineProperties(G,mm);Object.defineProperty(pm,"isAxiosError",{value:!0});G.from=(e,t,n,r,i,l)=>{const a=Object.create(pm);return R.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const P0=null;function ws(e){return R.isPlainObject(e)||R.isArray(e)}function hm(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function sd(e,t,n){return e?e.concat(t).map(function(i,l){return i=hm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function O0(e){return R.isArray(e)&&!e.some(ws)}const T0=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function Rl(e,t,n){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=R.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(j,x){return!R.isUndefined(x[j])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(i))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(R.isDate(v))return v.toISOString();if(!c&&R.isBlob(v))throw new G("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(v)||R.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,j,x){let h=v;if(v&&!x&&typeof v=="object"){if(R.endsWith(j,"{}"))j=r?j:j.slice(0,-2),v=JSON.stringify(v);else if(R.isArray(v)&&O0(v)||(R.isFileList(v)||R.endsWith(j,"[]"))&&(h=R.toArray(v)))return j=hm(j),h.forEach(function(p,y){!(R.isUndefined(p)||p===null)&&t.append(a===!0?sd([j],y,l):a===null?j:j+"[]",u(p))}),!1}return ws(v)?!0:(t.append(sd(x,j,l),u(v)),!1)}const f=[],g=Object.assign(T0,{defaultVisitor:d,convertValue:u,isVisitable:ws});function N(v,j){if(!R.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+j.join("."));f.push(v),R.forEach(v,function(h,m){(!(R.isUndefined(h)||h===null)&&i.call(t,h,R.isString(m)?m.trim():m,j,g))===!0&&N(h,j?j.concat(m):[m])}),f.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return N(e),t}function cd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ic(e,t){this._pairs=[],e&&Rl(e,this,t)}const vm=Ic.prototype;vm.append=function(t,n){this._pairs.push([t,n])};vm.toString=function(t){const n=t?function(r){return t.call(this,r,cd)}:cd;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function R0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ym(e,t,n){if(!t)return e;const r=n&&n.encode||R0,i=n&&n.serialize;let l;if(i?l=i(t,n):l=R.isURLSearchParams(t)?t.toString():new Ic(t,n).toString(r),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ud{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){R.forEach(this.handlers,function(r){r!==null&&t(r)})}}const gm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},D0=typeof URLSearchParams<"u"?URLSearchParams:Ic,I0=typeof FormData<"u"?FormData:null,A0=typeof Blob<"u"?Blob:null,M0={isBrowser:!0,classes:{URLSearchParams:D0,FormData:I0,Blob:A0},protocols:["http","https","file","blob","url","data"]},Ac=typeof window<"u"&&typeof document<"u",Es=typeof navigator=="object"&&navigator||void 0,L0=Ac&&(!Es||["ReactNative","NativeScript","NS"].indexOf(Es.product)<0),F0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",z0=Ac&&window.location.href||"http://localhost",B0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ac,hasStandardBrowserEnv:L0,hasStandardBrowserWebWorkerEnv:F0,navigator:Es,origin:z0},Symbol.toStringTag,{value:"Module"})),We={...B0,...M0};function U0(e,t){return Rl(e,new We.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return We.isNode&&R.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function $0(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function V0(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return a=!a&&R.isArray(i)?i.length:a,c?(R.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!R.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],l)&&R.isArray(i[a])&&(i[a]=V0(i[a])),!s)}if(R.isFormData(e)&&R.isFunction(e.entries)){const n={};return R.forEachEntry(e,(r,i)=>{t($0(r),i,n,0)}),n}return null}function W0(e,t,n){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ri={transitional:gm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=R.isObject(t);if(l&&R.isHTMLForm(t)&&(t=new FormData(t)),R.isFormData(t))return i?JSON.stringify(xm(t)):t;if(R.isArrayBuffer(t)||R.isBuffer(t)||R.isStream(t)||R.isFile(t)||R.isBlob(t)||R.isReadableStream(t))return t;if(R.isArrayBufferView(t))return t.buffer;if(R.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return U0(t,this.formSerializer).toString();if((s=R.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rl(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),W0(t)):t}],transformResponse:[function(t){const n=this.transitional||Ri.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(R.isResponse(t)||R.isReadableStream(t))return t;if(t&&R.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{Ri.headers[e]={}});const q0=R.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"]),H0=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&q0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},dd=Symbol("internals");function Mr(e){return e&&String(e).trim().toLowerCase()}function vo(e){return e===!1||e==null?e:R.isArray(e)?e.map(vo):String(e)}function Y0(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 K0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ya(e,t,n,r,i){if(R.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!R.isString(t)){if(R.isString(r))return t.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(t)}}function Q0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function G0(e,t){const n=R.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,a){return this[r].call(this,t,i,l,a)},configurable:!0})})}class qe{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(s,c,u){const d=Mr(c);if(!d)throw new Error("header name must be a non-empty string");const f=R.findKey(i,d);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=vo(s))}const a=(s,c)=>R.forEach(s,(u,d)=>l(u,d,c));if(R.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(R.isString(t)&&(t=t.trim())&&!K0(t))a(H0(t),n);else if(R.isHeaders(t))for(const[s,c]of t.entries())l(c,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Mr(t),t){const r=R.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Y0(i);if(R.isFunction(n))return n.call(this,i,r);if(R.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Mr(t),t){const r=R.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ya(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(a){if(a=Mr(a),a){const s=R.findKey(r,a);s&&(!n||ya(r,r[s],s,n))&&(delete r[s],i=!0)}}return R.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||ya(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return R.forEach(this,(i,l)=>{const a=R.findKey(r,l);if(a){n[a]=vo(i),delete n[l];return}const s=t?Q0(l):String(l).trim();s!==l&&delete n[l],n[s]=vo(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return R.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&R.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[dd]=this[dd]={accessors:{}}).accessors,i=this.prototype;function l(a){const s=Mr(a);r[s]||(G0(i,a),r[s]=!0)}return R.isArray(t)?t.forEach(l):l(t),this}}qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(qe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});R.freezeMethods(qe);function ga(e,t){const n=this||Ri,r=t||n,i=qe.from(r.headers);let l=r.data;return R.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function jm(e){return!!(e&&e.__CANCEL__)}function Sr(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}R.inherits(Sr,G,{__CANCEL__:!0});function Nm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function J0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function X0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[l];a||(a=u),n[i]=c,r[i]=u;let f=l,g=0;for(;f!==i;)g+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),u-a{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?a(u,d):(i=u,l||(l=setTimeout(()=>{l=null,a(i)},r-f)))},()=>i&&a(i)]}const nl=(e,t,n=3)=>{let r=0;const i=X0(50,250);return Z0(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,c=a-r,u=i(c),d=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&d?(s-a)/u:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},fd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pd=e=>(...t)=>R.asap(()=>e(...t)),ex=We.hasStandardBrowserEnv?function(){const t=We.navigator&&/(msie|trident)/i.test(We.navigator.userAgent),n=document.createElement("a");let r;function i(l){let a=l;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const s=R.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),tx=We.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const a=[e+"="+encodeURIComponent(t)];R.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),R.isString(r)&&a.push("path="+r),R.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wm(e,t){return e&&!nx(t)?rx(e,t):t}const md=e=>e instanceof qe?{...e}:e;function Ln(e,t){t=t||{};const n={};function r(u,d,f){return R.isPlainObject(u)&&R.isPlainObject(d)?R.merge.call({caseless:f},u,d):R.isPlainObject(d)?R.merge({},d):R.isArray(d)?d.slice():d}function i(u,d,f){if(R.isUndefined(d)){if(!R.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function l(u,d){if(!R.isUndefined(d))return r(void 0,d)}function a(u,d){if(R.isUndefined(d)){if(!R.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,d)=>i(md(u),md(d),!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=c[d]||i,g=f(e[d],t[d],d);R.isUndefined(g)&&f!==s||(n[d]=g)}),n}const Em=e=>{const t=Ln({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=t;t.headers=a=qe.from(a),t.url=ym(wm(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(R.isFormData(n)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[u,...d]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...d].join("; "))}}if(We.hasStandardBrowserEnv&&(r&&R.isFunction(r)&&(r=r(t)),r||r!==!1&&ex(t.url))){const u=i&&l&&tx.read(l);u&&a.set(i,u)}return t},ix=typeof XMLHttpRequest<"u",ox=ix&&function(e){return new Promise(function(n,r){const i=Em(e);let l=i.data;const a=qe.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=i,d,f,g,N,v;function j(){N&&N(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(i.method.toUpperCase(),i.url,!0),x.timeout=i.timeout;function h(){if(!x)return;const p=qe.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:p,config:e,request:x};Nm(function(k){n(k),j()},function(k){r(k),j()},w),x=null}"onloadend"in x?x.onloadend=h:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(h)},x.onabort=function(){x&&(r(new G("Request aborted",G.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let y=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const w=i.transitional||gm;i.timeoutErrorMessage&&(y=i.timeoutErrorMessage),r(new G(y,w.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,x)),x=null},l===void 0&&a.setContentType(null),"setRequestHeader"in x&&R.forEach(a.toJSON(),function(y,w){x.setRequestHeader(w,y)}),R.isUndefined(i.withCredentials)||(x.withCredentials=!!i.withCredentials),s&&s!=="json"&&(x.responseType=i.responseType),u&&([g,v]=nl(u,!0),x.addEventListener("progress",g)),c&&x.upload&&([f,N]=nl(c),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",N)),(i.cancelToken||i.signal)&&(d=p=>{x&&(r(!p||p.type?new Sr(null,e,x):p),x.abort(),x=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=J0(i.url);if(m&&We.protocols.indexOf(m)===-1){r(new G("Unsupported protocol "+m+":",G.ERR_BAD_REQUEST,e));return}x.send(l||null)})},lx=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(u){if(!i){i=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof G?d:new Sr(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,l(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(l):u.removeEventListener("abort",l)}),e=null)};e.forEach(u=>u.addEventListener("abort",l));const{signal:c}=r;return c.unsubscribe=()=>R.asap(s),c}},ax=function*(e,t){let n=e.byteLength;if(!t||n{const i=sx(e,t);let l=0,a,s=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){s(),c.close();return}let f=d.byteLength;if(n){let g=l+=f;n(g)}c.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(c){return s(c),i.return()}},{highWaterMark:2})},Dl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Sm=Dl&&typeof ReadableStream=="function",ux=Dl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),km=(e,...t)=>{try{return!!e(...t)}catch{return!1}},dx=Sm&&km(()=>{let e=!1;const t=new Request(We.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),vd=64*1024,Ss=Sm&&km(()=>R.isReadableStream(new Response("").body)),rl={stream:Ss&&(e=>e.body)};Dl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!rl[t]&&(rl[t]=R.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})})})(new Response);const fx=async e=>{if(e==null)return 0;if(R.isBlob(e))return e.size;if(R.isSpecCompliantForm(e))return(await new Request(We.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(R.isArrayBufferView(e)||R.isArrayBuffer(e))return e.byteLength;if(R.isURLSearchParams(e)&&(e=e+""),R.isString(e))return(await ux(e)).byteLength},px=async(e,t)=>{const n=R.toFiniteNumber(e.getContentLength());return n??fx(t)},mx=Dl&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:g}=Em(e);u=u?(u+"").toLowerCase():"text";let N=lx([i,l&&l.toAbortSignal()],a),v;const j=N&&N.unsubscribe&&(()=>{N.unsubscribe()});let x;try{if(c&&dx&&n!=="get"&&n!=="head"&&(x=await px(d,r))!==0){let w=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(R.isFormData(r)&&(E=w.headers.get("content-type"))&&d.setContentType(E),w.body){const[k,S]=fd(x,nl(pd(c)));r=hd(w.body,vd,k,S)}}R.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;v=new Request(t,{...g,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=Ss&&(u==="stream"||u==="response");if(Ss&&(s||p&&j)){const w={};["status","statusText","headers"].forEach(O=>{w[O]=m[O]});const E=R.toFiniteNumber(m.headers.get("content-length")),[k,S]=s&&fd(E,nl(pd(s),!0))||[];m=new Response(hd(m.body,vd,k,()=>{S&&S(),j&&j()}),w)}u=u||"text";let y=await rl[R.findKey(rl,u)||"text"](m,e);return!p&&j&&j(),await new Promise((w,E)=>{Nm(w,E,{data:y,headers:qe.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:v})})}catch(h){throw j&&j(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,v),{cause:h.cause||h}):G.from(h,h&&h.code,e,v)}}),ks={http:P0,xhr:ox,fetch:mx};R.forEach(ks,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yd=e=>`- ${e}`,hx=e=>R.isFunction(e)||e===null||e===!1,bm={getAdapter:e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?l.length>1?`since : +`+l.map(yd).join(` +`):" "+yd(l[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ks};function xa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Sr(null,e)}function gd(e){return xa(e),e.headers=qe.from(e.headers),e.data=ga.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bm.getAdapter(e.adapter||Ri.adapter)(e).then(function(r){return xa(e),r.data=ga.call(e,e.transformResponse,r),r.headers=qe.from(r.headers),r},function(r){return jm(r)||(xa(e),r&&r.response&&(r.response.data=ga.call(e,e.transformResponse,r.response),r.response.headers=qe.from(r.response.headers))),Promise.reject(r)})}const _m="1.7.7",Mc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xd={};Mc.transitional=function(t,n,r){function i(l,a){return"[Axios v"+_m+"] Transitional option '"+l+"'"+a+(r?". "+r:"")}return(l,a,s)=>{if(t===!1)throw new G(i(a," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!xd[a]&&(xd[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,a,s):!0}};function vx(e,t,n){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],a=t[l];if(a){const s=e[l],c=s===void 0||a(s,l,e);if(c!==!0)throw new G("option "+l+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+l,G.ERR_BAD_OPTION)}}const bs={assertOptions:vx,validators:Mc},$t=bs.validators;class Cn{constructor(t){this.defaults=t,this.interceptors={request:new ud,response:new ud}}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=Ln(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&bs.assertOptions(r,{silentJSONParsing:$t.transitional($t.boolean),forcedJSONParsing:$t.transitional($t.boolean),clarifyTimeoutError:$t.transitional($t.boolean)},!1),i!=null&&(R.isFunction(i)?n.paramsSerializer={serialize:i}:bs.assertOptions(i,{encode:$t.function,serialize:$t.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=l&&R.merge(l.common,l[n.method]);l&&R.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=qe.concat(a,l);const s=[];let c=!0;this.interceptors.request.forEach(function(j){typeof j.runWhen=="function"&&j.runWhen(n)===!1||(c=c&&j.synchronous,s.unshift(j.fulfilled,j.rejected))});const u=[];this.interceptors.response.forEach(function(j){u.push(j.fulfilled,j.rejected)});let d,f=0,g;if(!c){const v=[gd.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),g=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 a=new Promise(s=>{r.subscribe(s),l=s}).then(i);return a.cancel=function(){r.unsubscribe(l)},a},t(function(l,a,s){r.reason||(r.reason=new Sr(l,a,s),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 Lc(function(i){t=i}),cancel:t}}}function yx(e){return function(n){return e.apply(null,n)}}function gx(e){return R.isObject(e)&&e.isAxiosError===!0}const _s={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(_s).forEach(([e,t])=>{_s[t]=e});function Cm(e){const t=new Cn(e),n=om(Cn.prototype.request,t);return R.extend(n,Cn.prototype,t,{allOwnKeys:!0}),R.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Cm(Ln(e,i))},n}const oe=Cm(Ri);oe.Axios=Cn;oe.CanceledError=Sr;oe.CancelToken=Lc;oe.isCancel=jm;oe.VERSION=_m;oe.toFormData=Rl;oe.AxiosError=G;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=yx;oe.isAxiosError=gx;oe.mergeConfig=Ln;oe.AxiosHeaders=qe;oe.formToJSON=e=>xm(R.isHTMLForm(e)?new FormData(e):e);oe.getAdapter=bm.getAdapter;oe.HttpStatusCode=_s;oe.default=oe;const xx="http://67.225.129.127:3002",Bt=oe.create({baseURL:xx});Bt.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const jx=e=>Bt.post("/users/signup",e),Nx=e=>Bt.post("/users/signin",e),wx=(e,t,n)=>Bt.get(`/users/${e}/verify/${t}`,n),Ex=e=>Bt.post("/properties",e),Sx=(e,t,n)=>Bt.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),kx=e=>Bt.get(`/properties/${e}`,e),bx=(e,t)=>Bt.put(`/properties/${e}`,t),_x=e=>Bt.get(`/users/${e}`),yo=_t("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await Nx(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),go=_t("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await jx(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),xo=_t("auth/updateUser",async(e,{rejectWithValue:t})=>{try{return(await oe.put("http://localhost:3002/users/update",e)).data}catch(n){return t(n.response.data)}}),Pm=Rc({name:"auth",initialState:{user:null,error:"",loading:!1,isLoading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload},updateUser:(e,t)=>{const n=t.payload;e.user={...e.user,...n}}},extraReducers:e=>{e.addCase(yo.pending,t=>{t.loading=!0}).addCase(yo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(yo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(go.pending,t=>{t.loading=!0}).addCase(go.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(go.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(xo.pending,t=>{t.isLoading=!0}).addCase(xo.fulfilled,(t,n)=>{t.isLoading=!1,t.user=n.payload}).addCase(xo.rejected,(t,n)=>{t.isLoading=!1,t.error=n.payload})}}),{setUser:Xj,setLogout:Cx,setUserDetails:Zj}=Pm.actions,Px=Pm.reducer,jo=_t("user/showUser",async(e,{rejectWithValue:t})=>{try{return(await _x(e)).data}catch(n){return t(n.response.data)}}),No=_t("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await wx(e,t,n)).data.message}catch(i){return r(i.response.data)}}),Ox=Rc({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1,user:null},reducers:{},extraReducers:e=>{e.addCase(jo.pending,t=>{t.loading=!0,t.error=null}).addCase(jo.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(jo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(No.pending,t=>{t.loading=!0,t.error=null}).addCase(No.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(No.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Tx=Ox.reducer,wo=_t("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await Ex(e)).data}catch(n){return t(n.response.data)}}),Eo=_t("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:r})=>{try{return(await Sx(e,t,n)).data}catch(i){return r(i.response.data)}}),Xr=_t("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await kx(e)).data}catch(n){return t(n.response.data)}}),So=_t("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await bx(e,t)).data}catch(r){return n(r.response.data)}}),Zr=_t("properties/getProperties",async({page:e,limit:t,keyword:n=""})=>(await oe.get(`http://67.225.129.127:3002/properties?page=${e}&limit=${t}&keyword=${n}`)).data),Rx=Rc({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1,properties:[]},reducers:{},extraReducers:e=>{e.addCase(wo.pending,t=>{t.status="loading"}).addCase(wo.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(wo.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Eo.pending,t=>{t.loading=!0}).addCase(Eo.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(Eo.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Xr.pending,t=>{t.status="loading"}).addCase(Xr.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Xr.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(So.pending,t=>{t.status="loading"}).addCase(So.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(So.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Zr.pending,t=>{t.loading=!0}).addCase(Zr.fulfilled,(t,n)=>{t.loading=!1,t.properties=n.payload.data,t.totalPages=n.payload.totalPages,t.currentPage=n.payload.currentPage}).addCase(Zr.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),Dx=Rx.reducer,Ix=Sg({reducer:{auth:Px,user:Tx,property:Dx}});/** + * @remix-run/router v1.19.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ni(){return Ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Om(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Mx(){return Math.random().toString(36).substr(2,8)}function Nd(e,t){return{usr:e.state,key:e.key,idx:t}}function Cs(e,t,n,r){return n===void 0&&(n=null),Ni({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?kr(t):t,{state:n,key:t&&t.key||r||Mx()})}function il(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 kr(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 Lx(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,a=i.history,s=Xt.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(Ni({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){s=Xt.Pop;let x=d(),h=x==null?null:x-u;u=x,c&&c({action:s,location:j.location,delta:h})}function g(x,h){s=Xt.Push;let m=Cs(j.location,x,h);u=d()+1;let p=Nd(m,u),y=j.createHref(m);try{a.pushState(p,"",y)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(y)}l&&c&&c({action:s,location:j.location,delta:1})}function N(x,h){s=Xt.Replace;let m=Cs(j.location,x,h);u=d();let p=Nd(m,u),y=j.createHref(m);a.replaceState(p,"",y),l&&c&&c({action:s,location:j.location,delta:0})}function v(x){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="string"?x:il(x);return m=m.replace(/ $/,"%20"),me(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let j={get action(){return s},get location(){return e(i,a)},listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(jd,f),c=x,()=>{i.removeEventListener(jd,f),c=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let h=v(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:g,replace:N,go(x){return a.go(x)}};return j}var wd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wd||(wd={}));function Fx(e,t,n){return n===void 0&&(n="/"),zx(e,t,n,!1)}function zx(e,t,n,r){let i=typeof t=="string"?kr(t):t,l=gr(i.pathname||"/",n);if(l==null)return null;let a=Tm(e);Bx(a);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?l.path||"":s,caseSensitive:l.caseSensitive===!0,childrenIndex:a,route:l};c.relativePath.startsWith("/")&&(me(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=cn([r,c.relativePath]),d=n.concat(c);l.children&&l.children.length>0&&(me(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Tm(l.children,t,d,u)),!(l.path==null&&!l.index)&&t.push({path:u,score:Yx(u,l.index),routesMeta:d})};return e.forEach((l,a)=>{var s;if(l.path===""||!((s=l.path)!=null&&s.includes("?")))i(l,a);else for(let c of Rm(l.path))i(l,a,c)}),t}function Rm(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 a=Rm(r.join("/")),s=[];return s.push(...a.map(c=>c===""?l:[l,c].join("/"))),i&&s.push(...a),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function Bx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Kx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ux=/^:[\w-]+$/,$x=3,Vx=2,Wx=1,qx=10,Hx=-2,Ed=e=>e==="*";function Yx(e,t){let n=e.split("/"),r=n.length;return n.some(Ed)&&(r+=Hx),t&&(r+=Vx),n.filter(i=>!Ed(i)).reduce((i,l)=>i+(Ux.test(l)?$x:l===""?Wx:qx),r)}function Kx(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 Qx(e,t,n){let{routesMeta:r}=e,i={},l="/",a=[];for(let s=0;s{let{paramName:g,isOptional:N}=d;if(g==="*"){let j=s[f]||"";a=l.slice(0,l.length-j.length).replace(/(.)\/+$/,"$1")}const v=s[f];return N&&!v?u[g]=void 0:u[g]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:l,pathnameBase:a,pattern:e}}function Gx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Om(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,(a,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Jx(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Om(!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 gr(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 Xx(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?kr(e):e;return{pathname:n?n.startsWith("/")?n:Zx(n,t):t,search:n1(r),hash:r1(i)}}function Zx(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 ja(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 e1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dm(e,t){let n=e1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Im(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=kr(e):(i=Ni({},e),me(!i.pathname||!i.pathname.includes("?"),ja("?","pathname","search",i)),me(!i.pathname||!i.pathname.includes("#"),ja("#","pathname","hash",i)),me(!i.search||!i.search.includes("#"),ja("#","search","hash",i)));let l=e===""||i.pathname==="",a=l?"/":i.pathname,s;if(a==null)s=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),f-=1;i.pathname=g.join("/")}s=f>=0?t[f]:"/"}let c=Xx(i,s),u=a&&a!=="/"&&a.endsWith("/"),d=(l||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const cn=e=>e.join("/").replace(/\/\/+/g,"/"),t1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),n1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,r1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function i1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Am=["post","put","patch","delete"];new Set(Am);const o1=["get",...Am];new Set(o1);/** + * React Router v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function wi(){return wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=Im(u,JSON.parse(a),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:cn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,l,e])}function _r(){let{matches:e}=P.useContext(yn),t=e[e.length-1];return t?t.params:{}}function Ml(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(vn),{matches:i}=P.useContext(yn),{pathname:l}=Ii(),a=JSON.stringify(Dm(i,r.v7_relativeSplatPath));return P.useMemo(()=>Im(e,JSON.parse(a),l,n==="path"),[e,a,l,n])}function s1(e,t){return c1(e,t)}function c1(e,t,n,r){Di()||me(!1);let{navigator:i}=P.useContext(vn),{matches:l}=P.useContext(yn),a=l[l.length-1],s=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Ii(),d;if(t){var f;let x=typeof t=="string"?kr(t):t;c==="/"||(f=x.pathname)!=null&&f.startsWith(c)||me(!1),d=x}else d=u;let g=d.pathname||"/",N=g;if(c!=="/"){let x=c.replace(/^\//,"").split("/");N="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=Fx(e,{pathname:N}),j=m1(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:cn([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:cn([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),l,n,r);return t&&j?P.createElement(Al.Provider,{value:{location:wi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Xt.Pop}},j):j}function u1(){let e=g1(),t=i1(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 P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const d1=P.createElement(u1,null);class f1 extends P.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?P.createElement(yn.Provider,{value:this.props.routeContext},P.createElement(Lm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function p1(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(Il);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(yn.Provider,{value:t},r)}function m1(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 a=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let d=a.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||me(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,g)=>{let N,v=!1,j=null,x=null;n&&(N=s&&f.route.id?s[f.route.id]:void 0,j=f.route.errorElement||d1,c&&(u<0&&g===0?(v=!0,x=null):u===g&&(v=!0,x=f.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,g+1)),m=()=>{let p;return N?p=j:v?p=x:f.route.Component?p=P.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,P.createElement(p1,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?P.createElement(f1,{location:n.location,revalidation:n.revalidation,component:j,error:N,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var zm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(zm||{}),ll=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}(ll||{});function h1(e){let t=P.useContext(Il);return t||me(!1),t}function v1(e){let t=P.useContext(Mm);return t||me(!1),t}function y1(e){let t=P.useContext(yn);return t||me(!1),t}function Bm(e){let t=y1(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function g1(){var e;let t=P.useContext(Lm),n=v1(ll.UseRouteError),r=Bm(ll.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function x1(){let{router:e}=h1(zm.UseNavigateStable),t=Bm(ll.UseNavigateStable),n=P.useRef(!1);return Fm(()=>{n.current=!0}),P.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,wi({fromRouteId:t},l)))},[e,t])}function je(e){me(!1)}function j1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Xt.Pop,navigator:l,static:a=!1,future:s}=e;Di()&&me(!1);let c=t.replace(/^\/*/,"/"),u=P.useMemo(()=>({basename:c,navigator:l,static:a,future:wi({v7_relativeSplatPath:!1},s)}),[c,s,l,a]);typeof r=="string"&&(r=kr(r));let{pathname:d="/",search:f="",hash:g="",state:N=null,key:v="default"}=r,j=P.useMemo(()=>{let x=gr(d,c);return x==null?null:{location:{pathname:x,search:f,hash:g,state:N,key:v},navigationType:i}},[c,d,f,g,N,v,i]);return j==null?null:P.createElement(vn.Provider,{value:u},P.createElement(Al.Provider,{children:n,value:j}))}function N1(e){let{children:t,location:n}=e;return s1(Ps(t),n)}new Promise(()=>{});function Ps(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,Ps(r.props.children,l));return}r.type!==je&&me(!1),!r.props.index||!r.props.children||me(!1);let a={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&&(a.children=Ps(r.props.children,l)),n.push(a)}),n}/** + * React Router DOM v6.26.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function w1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function E1(e,t){return e.button===0&&(!t||t==="_self")&&!w1(e)}const S1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],k1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],b1="6";try{window.__reactRouterVersion=b1}catch{}const _1=P.createContext({isTransitioning:!1}),C1="startTransition",Sd=wa[C1];function P1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=Ax({window:i,v5Compat:!0}));let a=l.current,[s,c]=P.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=P.useCallback(f=>{u&&Sd?Sd(()=>c(f)):c(f)},[c,u]);return P.useLayoutEffect(()=>a.listen(d),[a,d]),P.createElement(j1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const O1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",T1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,R1=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:a,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,g=Um(t,S1),{basename:N}=P.useContext(vn),v,j=!1;if(typeof u=="string"&&T1.test(u)&&(v=u,O1))try{let p=new URL(window.location.href),y=u.startsWith("//")?new URL(p.protocol+u):new URL(u),w=gr(y.pathname,N);y.origin===p.origin&&w!=null?u=w+y.search+y.hash:j=!0}catch{}let x=l1(u,{relative:i}),h=I1(u,{replace:a,state:s,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return P.createElement("a",al({},g,{href:v||x,onClick:j||l?r:m,ref:n,target:c}))}),se=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:a=!1,style:s,to:c,unstable_viewTransition:u,children:d}=t,f=Um(t,k1),g=Ml(c,{relative:f.relative}),N=Ii(),v=P.useContext(Mm),{navigator:j,basename:x}=P.useContext(vn),h=v!=null&&A1(g)&&u===!0,m=j.encodeLocation?j.encodeLocation(g).pathname:g.pathname,p=N.pathname,y=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),y=y?y.toLowerCase():null,m=m.toLowerCase()),y&&x&&(y=gr(y,x)||y);const w=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=p===m||!a&&p.startsWith(m)&&p.charAt(w)==="/",k=y!=null&&(y===m||!a&&y.startsWith(m)&&y.charAt(m.length)==="/"),S={isActive:E,isPending:k,isTransitioning:h},O=E?r:void 0,A;typeof l=="function"?A=l(S):A=[l,E?"active":null,k?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let z=typeof s=="function"?s(S):s;return P.createElement(R1,al({},f,{"aria-current":O,className:A,ref:n,style:z,to:c,unstable_viewTransition:u}),typeof d=="function"?d(S):d)});var Os;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Os||(Os={}));var kd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(kd||(kd={}));function D1(e){let t=P.useContext(Il);return t||me(!1),t}function I1(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,c=br(),u=Ii(),d=Ml(e,{relative:a});return P.useCallback(f=>{if(E1(f,n)){f.preventDefault();let g=r!==void 0?r:il(u)===il(d);c(e,{replace:g,state:i,preventScrollReset:l,relative:a,unstable_viewTransition:s})}},[u,c,d,r,i,n,e,l,a,s])}function A1(e,t){t===void 0&&(t={});let n=P.useContext(_1);n==null&&me(!1);let{basename:r}=D1(Os.useViewTransitionState),i=Ml(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=gr(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=gr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ol(i.pathname,a)!=null||ol(i.pathname,l)!=null}function $m(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),Pn=e=>typeof e=="string",Ge=e=>typeof e=="function",ko=e=>Pn(e)||Ge(e)?e:null,Ts=e=>P.isValidElement(e)||Pn(e)||Ge(e)||Ei(e);function M1(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 Ll(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(a){let{children:s,position:c,preventExitTransition:u,done:d,nodeRef:f,isIn:g,playToast:N}=a;const v=r?`${t}--${c}`:t,j=r?`${n}--${c}`:n,x=P.useRef(0);return P.useLayoutEffect(()=>{const h=f.current,m=v.split(" "),p=y=>{y.target===f.current&&(N(),h.removeEventListener("animationend",p),h.removeEventListener("animationcancel",p),x.current===0&&y.type!=="animationcancel"&&h.classList.remove(...m))};h.classList.add(...m),h.addEventListener("animationend",p),h.addEventListener("animationcancel",p)},[]),P.useEffect(()=>{const h=f.current,m=()=>{h.removeEventListener("animationend",m),i?M1(h,d,l):d()};g||(u?m():(x.current=1,h.className+=` ${j}`,h.addEventListener("animationend",m)))},[g]),_.createElement(_.Fragment,null,s)}}function bd(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 Ie=new Map;let Si=[];const Rs=new Set,L1=e=>Rs.forEach(t=>t(e)),Vm=()=>Ie.size>0;function Wm(e,t){var n;if(t)return!((n=Ie.get(t))==null||!n.isToastActive(e));let r=!1;return Ie.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function qm(e,t){Ts(e)&&(Vm()||Si.push({content:e,options:t}),Ie.forEach(n=>{n.buildToast(e,t)}))}function _d(e,t){Ie.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 F1(e){const{subscribe:t,getSnapshot:n,setProps:r}=P.useRef(function(l){const a=l.containerId||1;return{subscribe(s){const c=function(d,f,g){let N=1,v=0,j=[],x=[],h=[],m=f;const p=new Map,y=new Set,w=()=>{h=Array.from(p.values()),y.forEach(S=>S())},E=S=>{x=S==null?[]:x.filter(O=>O!==S),w()},k=S=>{const{toastId:O,onOpen:A,updateId:z,children:Y}=S.props,W=z==null;S.staleId&&p.delete(S.staleId),p.set(O,S),x=[...x,S.props.toastId].filter(q=>q!==S.staleId),w(),g(bd(S,W?"added":"updated")),W&&Ge(A)&&A(P.isValidElement(Y)&&Y.props)};return{id:d,props:m,observe:S=>(y.add(S),()=>y.delete(S)),toggle:(S,O)=>{p.forEach(A=>{O!=null&&O!==A.props.toastId||Ge(A.toggle)&&A.toggle(S)})},removeToast:E,toasts:p,clearQueue:()=>{v-=j.length,j=[]},buildToast:(S,O)=>{if((M=>{let{containerId:U,toastId:$,updateId:H}=M;const K=U?U!==d:d!==1,Q=p.has($)&&H==null;return K||Q})(O))return;const{toastId:A,updateId:z,data:Y,staleId:W,delay:q}=O,T=()=>{E(A)},L=z==null;L&&v++;const V={...m,style:m.toastStyle,key:N++,...Object.fromEntries(Object.entries(O).filter(M=>{let[U,$]=M;return $!=null})),toastId:A,updateId:z,data:Y,closeToast:T,isIn:!1,className:ko(O.className||m.toastClassName),bodyClassName:ko(O.bodyClassName||m.bodyClassName),progressClassName:ko(O.progressClassName||m.progressClassName),autoClose:!O.isLoading&&(C=O.autoClose,b=m.autoClose,C===!1||Ei(C)&&C>0?C:b),deleteToast(){const M=p.get(A),{onClose:U,children:$}=M.props;Ge(U)&&U(P.isValidElement($)&&$.props),g(bd(M,"removed")),p.delete(A),v--,v<0&&(v=0),j.length>0?k(j.shift()):w()}};var C,b;V.closeButton=m.closeButton,O.closeButton===!1||Ts(O.closeButton)?V.closeButton=O.closeButton:O.closeButton===!0&&(V.closeButton=!Ts(m.closeButton)||m.closeButton);let D=S;P.isValidElement(S)&&!Pn(S.type)?D=P.cloneElement(S,{closeToast:T,toastProps:V,data:Y}):Ge(S)&&(D=S({closeToast:T,toastProps:V,data:Y}));const I={content:D,props:V,staleId:W};m.limit&&m.limit>0&&v>m.limit&&L?j.push(I):Ei(q)?setTimeout(()=>{k(I)},q):k(I)},setProps(S){m=S},setToggle:(S,O)=>{p.get(S).toggle=O},isToastActive:S=>x.some(O=>O===S),getSnapshot:()=>m.newestOnTop?h.reverse():h}}(a,l,L1);Ie.set(a,c);const u=c.observe(s);return Si.forEach(d=>qm(d.content,d.options)),Si=[],()=>{u(),Ie.delete(a)}},setProps(s){var c;(c=Ie.get(a))==null||c.setProps(s)},getSnapshot(){var s;return(s=Ie.get(a))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const i=P.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const a=new Map;return i.forEach(s=>{const{position:c}=s.props;a.has(c)||a.set(c,[]),a.get(c).push(s)}),Array.from(a,s=>l(s[0],s[1]))},isToastActive:Wm,count:i==null?void 0:i.length}}function z1(e){const[t,n]=P.useState(!1),[r,i]=P.useState(!1),l=P.useRef(null),a=P.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:s,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:f}=e;var g,N;function v(){n(!0)}function j(){n(!1)}function x(p){const y=l.current;a.canDrag&&y&&(a.didMove=!0,t&&j(),a.delta=e.draggableDirection==="x"?p.clientX-a.start:p.clientY-a.start,a.start!==p.clientX&&(a.canCloseOnClick=!1),y.style.transform=`translate3d(${e.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,y.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function h(){document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",h);const p=l.current;if(a.canDrag&&a.didMove&&p){if(a.canDrag=!1,Math.abs(a.delta)>a.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=Ie.get((g={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||N.setToggle(g.id,g.fn),P.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||j(),window.addEventListener("focus",v),window.addEventListener("blur",j),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",j)}},[e.pauseOnFocusLoss]);const m={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){a.didMove=!1,document.addEventListener("pointermove",x),document.addEventListener("pointerup",h);const y=l.current;a.canCloseOnClick=!0,a.canDrag=!0,y.style.transition="none",e.draggableDirection==="x"?(a.start=p.clientX,a.removalDistance=y.offsetWidth*(e.draggablePercent/100)):(a.start=p.clientY,a.removalDistance=y.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:y,bottom:w,left:E,right:k}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=E&&p.clientX<=k&&p.clientY>=y&&p.clientY<=w?j():v()}};return s&&c&&(m.onMouseEnter=j,e.stacked||(m.onMouseLeave=v)),f&&(m.onClick=p=>{d&&d(p),a.canCloseOnClick&&u()}),{playToast:v,pauseToast:j,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:m}}function B1(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:a,style:s,controlledProgress:c,progress:u,rtl:d,isIn:f,theme:g}=e;const N=l||c&&u===0,v={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(v.transform=`scaleX(${u})`);const j=Zt("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),x=Ge(a)?a({rtl:d,type:i,defaultClassName:j}):Zt(j,a),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{f&&r()}};return _.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":N},_.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${i}`}),_.createElement("div",{role:"progressbar","aria-hidden":N?"true":"false","aria-label":"notification timer",className:x,style:v,...h}))}let U1=1;const Hm=()=>""+U1++;function $1(e){return e&&(Pn(e.toastId)||Ei(e.toastId))?e.toastId:Hm()}function ei(e,t){return qm(e,t),t.toastId}function sl(e,t){return{...t,type:t&&t.type||e,toastId:$1(t)}}function eo(e){return(t,n)=>ei(t,sl(e,n))}function J(e,t){return ei(e,sl("default",t))}J.loading=(e,t)=>ei(e,sl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),J.promise=function(e,t,n){let r,{pending:i,error:l,success:a}=t;i&&(r=Pn(i)?J.loading(i,n):J.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(d,f,g)=>{if(f==null)return void J.dismiss(r);const N={type:d,...s,...n,data:g},v=Pn(f)?{render:f}:f;return r?J.update(r,{...N,...v}):J(v.render,{...N,...v}),g},u=Ge(e)?e():e;return u.then(d=>c("success",a,d)).catch(d=>c("error",l,d)),u},J.success=eo("success"),J.info=eo("info"),J.error=eo("error"),J.warning=eo("warning"),J.warn=J.warning,J.dark=(e,t)=>ei(e,sl("default",{theme:"dark",...t})),J.dismiss=function(e){(function(t){var n;if(Vm()){if(t==null||Pn(n=t)||Ei(n))Ie.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=Ie.get(t.containerId);r?r.removeToast(t.id):Ie.forEach(i=>{i.removeToast(t.id)})}}else Si=Si.filter(r=>t!=null&&r.options.toastId!==t)})(e)},J.clearWaitingQueue=function(e){e===void 0&&(e={}),Ie.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},J.isActive=Wm,J.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:a}=i;return(l=Ie.get(a||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:Hm()};l.toastId!==e&&(l.staleId=e);const a=l.render||i;delete l.render,ei(a,l)}},J.done=e=>{J.update(e,{progress:1})},J.onChange=function(e){return Rs.add(e),()=>{Rs.delete(e)}},J.play=e=>_d(!0,e),J.pause=e=>_d(!1,e);const V1=typeof window<"u"?P.useLayoutEffect:P.useEffect,to=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return _.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},Na={info:function(e){return _.createElement(to,{...e},_.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 _.createElement(to,{...e},_.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 _.createElement(to,{...e},_.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 _.createElement(to,{...e},_.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 _.createElement("div",{className:"Toastify__spinner"})}},W1=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=z1(e),{closeButton:a,children:s,autoClose:c,onClick:u,type:d,hideProgressBar:f,closeToast:g,transition:N,position:v,className:j,style:x,bodyClassName:h,bodyStyle:m,progressClassName:p,progressStyle:y,updateId:w,role:E,progress:k,rtl:S,toastId:O,deleteToast:A,isIn:z,isLoading:Y,closeOnClick:W,theme:q}=e,T=Zt("Toastify__toast",`Toastify__toast-theme--${q}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":W}),L=Ge(j)?j({rtl:S,position:v,type:d,defaultClassName:T}):Zt(T,j),V=function(I){let{theme:M,type:U,isLoading:$,icon:H}=I,K=null;const Q={theme:M,type:U};return H===!1||(Ge(H)?K=H({...Q,isLoading:$}):P.isValidElement(H)?K=P.cloneElement(H,Q):$?K=Na.spinner():(X=>X in Na)(U)&&(K=Na[U](Q))),K}(e),C=!!k||!c,b={closeToast:g,type:d,theme:q};let D=null;return a===!1||(D=Ge(a)?a(b):P.isValidElement(a)?P.cloneElement(a,b):function(I){let{closeToast:M,theme:U,ariaLabel:$="close"}=I;return _.createElement("button",{className:`Toastify__close-button Toastify__close-button--${U}`,type:"button",onClick:H=>{H.stopPropagation(),M(H)},"aria-label":$},_.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},_.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"})))}(b)),_.createElement(N,{isIn:z,done:A,position:v,preventExitTransition:n,nodeRef:r,playToast:l},_.createElement("div",{id:O,onClick:u,"data-in":z,className:L,...i,style:x,ref:r},_.createElement("div",{...z&&{role:E},className:Ge(h)?h({type:d}):Zt("Toastify__toast-body",h),style:m},V!=null&&_.createElement("div",{className:Zt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Y})},V),_.createElement("div",null,s)),D,_.createElement(B1,{...w&&!C?{key:`pb-${w}`}:{},rtl:S,theme:q,delay:c,isRunning:t,isIn:z,closeToast:g,hide:f,type:d,style:y,className:p,controlledProgress:C,progress:k||0})))},Fl=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},q1=Ll(Fl("bounce",!0));Ll(Fl("slide",!0));Ll(Fl("zoom"));Ll(Fl("flip"));const H1={position:"top-right",transition:q1,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Y1(e){let t={...H1,...e};const n=e.stacked,[r,i]=P.useState(!0),l=P.useRef(null),{getToastToRender:a,isToastActive:s,count:c}=F1(t),{className:u,style:d,rtl:f,containerId:g}=t;function N(j){const x=Zt("Toastify__toast-container",`Toastify__toast-container--${j}`,{"Toastify__toast-container--rtl":f});return Ge(u)?u({position:j,rtl:f,defaultClassName:x}):Zt(x,ko(u))}function v(){n&&(i(!0),J.play())}return V1(()=>{if(n){var j;const x=l.current.querySelectorAll('[data-in="true"]'),h=12,m=(j=t.position)==null?void 0:j.includes("top");let p=0,y=0;Array.from(x).reverse().forEach((w,E)=>{const k=w;k.classList.add("Toastify__toast--stacked"),E>0&&(k.dataset.collapsed=`${r}`),k.dataset.pos||(k.dataset.pos=m?"top":"bot");const S=p*(r?.2:1)+(r?0:h*E);k.style.setProperty("--y",`${m?S:-1*S}px`),k.style.setProperty("--g",`${h}`),k.style.setProperty("--s",""+(1-(r?y:0))),p+=k.offsetHeight,y+=.025})}},[r,c,n]),_.createElement("div",{ref:l,className:"Toastify",id:g,onMouseEnter:()=>{n&&(i(!1),J.pause())},onMouseLeave:v},a((j,x)=>{const h=x.length?{...d}:{...d,pointerEvents:"none"};return _.createElement("div",{className:N(j),style:h,key:`container-${j}`},x.map(m=>{let{content:p,props:y}=m;return _.createElement(W1,{...y,stacked:n,collapseAll:v,isIn:s(y.toastId,y.containerId),style:y.style,key:`toast-${y.key}`},p)}))}))}const Re=()=>{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(se,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),o.jsx("li",{children:o.jsx(se,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),o.jsx("li",{children:o.jsx(se,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),o.jsx("li",{children:o.jsx(se,{to:"/contact",className:"link-primary text-decoration-none",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."]})})})})})]})})},K1="/assets/logo-Cb1x1exd.png",Ee=()=>{var i,l;const{user:e}=He(a=>({...a.auth})),t=xt(),n=br(),r=()=>{t(Cx()),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:K1,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(se,{to:"/",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(se,{to:"/services",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(se,{to:"/searchmyproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search Database"})}),o.jsx("li",{className:"nav-item",children:o.jsx(se,{to:"/about",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(se,{to:"/searchproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search properties"})}),o.jsx("li",{className:"nav-item",children:o.jsx(se,{to:"/contact",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(se,{to:"/dashboard",style:{fontWeight:"bold"},children:"Dashboard"}):o.jsx(se,{to:"/register",className:"nav-link",style:{fontWeight:"bold"},children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(se,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,style:{fontWeight:"bold"},children:"Logout"})}):o.jsx(se,{to:"/login",className:"nav-link",style:{fontWeight:"bold"},children:"Login"})]})]})})})},Q1=()=>o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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.jsx(Re,{})]}),G1=()=>o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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(Re,{})]}),J1=()=>o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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(Re,{})]});var Pt=function(){return Pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(wj),[n,r]=P.useState(!1),{loading:i,error:l}=He(w=>({...w.auth})),{title:a,email:s,password:c,firstName:u,middleName:d,lastName:f,confirmPassword:g,termsconditions:N,userType:v}=e,j=xt(),x=br();P.useEffect(()=>{l&&J.error(l)},[l]),P.useEffect(()=>{r(a!=="None"&&s&&c&&u&&d&&f&&g&&N&&v!=="")},[a,s,c,u,d,f,g,N,v]);const h=w=>{if(w.preventDefault(),c!==g)return J.error("Password should match");n?j(go({formValue:e,navigate:x,toast:J})):J.error("Please fill in all fields and select all checkboxes")},m=w=>w.charAt(0).toUpperCase()+w.slice(1),p=w=>{const{name:E,value:k,type:S,checked:O}=w.target;t(S==="checkbox"?A=>({...A,[E]:O}):A=>({...A,[E]:E==="email"||E==="password"||E==="confirmPassword"?k:m(k)}))},y=w=>{t(E=>({...E,userType:w.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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:y,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:y,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:a,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:u,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:s,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:c,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:g,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(Ym.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(Re,{})]})},Sj={email:"",password:""},kj=()=>{const[e,t]=P.useState(Sj),{loading:n,error:r}=He(d=>({...d.auth})),{email:i,password:l}=e,a=xt(),s=br();P.useEffect(()=>{r&&J.error(r)},[r]);const c=d=>{d.preventDefault(),i&&l&&a(yo({formValue:e,navigate:s,toast:J}))},u=d=>{let{name:f,value:g}=d.target;t({...e,[f]:g})};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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:u,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:u,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:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(Ym.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(se,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(se,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(Re,{})]})},bj="/assets/samplepic-BM_cnzgz.jpg";var Km={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(nh,function(){return function(n){function r(l){if(i[l])return i[l].exports;var a=i[l]={exports:{},id:l,loaded:!1};return n[l].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}var i={};return r.m=n,r.c=i,r.p="",r(0)}([function(n,r,i){function l(N){return N&&N.__esModule?N:{default:N}}function a(N,v){if(!(N instanceof v))throw new TypeError("Cannot call a class as a function")}function s(N,v){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||typeof v!="object"&&typeof v!="function"?N:v}function c(N,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);N.prototype=Object.create(v&&v.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(N,v):N.__proto__=v)}Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function N(v,j){for(var x=0;x1)for(var w=1;w1?d-1:0),g=1;g2?f-2:0),N=2;N1){for(var q=Array(W),T=0;T"u"||S.$$typeof!==h)){var V=typeof y=="function"?y.displayName||y.name||"Unknown":y;O&&c(S,V),A&&u(S,V)}return p(y,O,A,z,Y,N.current,S)},p.createFactory=function(y){var w=p.createElement.bind(null,y);return w.type=y,w},p.cloneAndReplaceKey=function(y,w){var E=p(y.type,w,y.ref,y._self,y._source,y._owner,y.props);return E},p.cloneElement=function(y,w,E){var k,S=g({},y.props),O=y.key,A=y.ref,z=y._self,Y=y._source,W=y._owner;if(w!=null){a(w)&&(A=w.ref,W=N.current),s(w)&&(O=""+w.key);var q;y.type&&y.type.defaultProps&&(q=y.type.defaultProps);for(k in w)x.call(w,k)&&!m.hasOwnProperty(k)&&(w[k]===void 0&&q!==void 0?S[k]=q[k]:S[k]=w[k])}var T=arguments.length-2;if(T===1)S.children=E;else if(T>1){for(var L=Array(T),V=0;V1?u-1:0),f=1;f2?d-2:0),g=2;g.")}return k}function u(E,k){if(E._store&&!E._store.validated&&E.key==null){E._store.validated=!0;var S=y.uniqueKey||(y.uniqueKey={}),O=c(k);if(!S[O]){S[O]=!0;var A="";E&&E._owner&&E._owner!==g.current&&(A=" It was passed a child from "+E._owner.getName()+"."),l.env.NODE_ENV!=="production"&&m(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',O,A,N.getCurrentStackAddendum(E))}}}function d(E,k){if(typeof E=="object"){if(Array.isArray(E))for(var S=0;S1?$-1:0),K=1;K<$;K++)H[K-1]=arguments[K];if(U!==C&&U!==null)l.env.NODE_ENV!=="production"&&f(!1,"bind(): React component methods may only be bound to the component instance. See %s",I);else if(!H.length)return l.env.NODE_ENV!=="production"&&f(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",I),D;var Q=M.apply(D,arguments);return Q.__reactBoundContext=C,Q.__reactBoundMethod=b,Q.__reactBoundArguments=H,Q}}return D}function O(C){for(var b=C.__reactAutoBindPairs,D=0;D"u"||I===null)return""+I;var M=W(I);if(M==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return M}function T(I){var M=q(I);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function L(I){return I.constructor&&I.constructor.name?I.constructor.name:b}var V=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator",b="<>",D={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(),arrayOf:p,element:y(),instanceOf:w,node:O(),objectOf:k,oneOf:E,oneOfType:S,shape:A};return j.prototype=Error.prototype,D.checkPropTypes=d,D.PropTypes=D,D}}).call(r,i(1))},function(n,r){function i(s){var c=/[=:]/g,u={"=":"=0",":":"=2"},d=(""+s).replace(c,function(f){return u[f]});return"$"+d}function l(s){var c=/(=0|=2)/g,u={"=0":"=","=2":":"},d=s[0]==="."&&s[1]==="$"?s.substring(2):s.substring(1);return(""+d).replace(c,function(f){return u[f]})}var a={escape:i,unescape:l};n.exports=a},function(n,r,i){(function(l){var a=i(5),s=i(2),c=function(h){var m=this;if(m.instancePool.length){var p=m.instancePool.pop();return m.call(p,h),p}return new m(h)},u=function(h,m){var p=this;if(p.instancePool.length){var y=p.instancePool.pop();return p.call(y,h,m),y}return new p(h,m)},d=function(h,m,p){var y=this;if(y.instancePool.length){var w=y.instancePool.pop();return y.call(w,h,m,p),w}return new y(h,m,p)},f=function(h,m,p,y){var w=this;if(w.instancePool.length){var E=w.instancePool.pop();return w.call(E,h,m,p,y),E}return new w(h,m,p,y)},g=function(h){var m=this;h instanceof m||(l.env.NODE_ENV!=="production"?s(!1,"Trying to release an instance into a pool of a different type."):a("25")),h.destructor(),m.instancePool.length{const[e,t]=P.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images")},r=()=>{e==="Images"&&t("propertydetails")},i=xt(),{status:l,error:a}=He(y=>y.property),{user:s}=He(y=>({...y.auth})),[c,u]=P.useState({address:"",city:"",state:"",county:"",zip:"",parcel:"",subdivision:"",legal:"",costpersqft:"",propertyType:"",lotacres:"",yearBuild:"",totallivingsqft:"",beds:"",baths:"",stories:"",garage:"",garagesqft:"",poolspa:"",fireplaces:"",ac:"",heating:"",buildingstyle:"",sitevacant:"",extwall:"",roofing:"",propertyTaxInfo:[{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}],images:[],googleMapLink:"",totalSqft:""}),[d,f]=P.useState(!1),g=(y,w)=>{const E=[...c.images];E[w].file=y.base64,u({...c,images:E})},N=()=>{u({...c,images:[...c.images,{title:"",file:""}]})},v=y=>{const w=c.images.filter((E,k)=>k!==y);u({...c,images:w})},j=(y,w)=>{const E=[...c.images];E[y].title=w.target.value,u({...c,images:E})},x=(y,w,E)=>{const{name:k,value:S}=y.target;if(E==="propertyTaxInfo"){const O=[...c.propertyTaxInfo];O[w][k]=S,u({...c,propertyTaxInfo:O})}else u({...c,[k]:S})},h=()=>{u({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},m=y=>{const w=c.propertyTaxInfo.filter((E,k)=>k!==y);u({...c,propertyTaxInfo:w})},p=()=>{var y,w,E,k,S,O;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&c.costpersqft&&c.propertyType&&c.lotacres&&c.yearBuild&&c.totallivingsqft&&c.beds&&c.baths&&c.stories&&c.garage&&c.garagesqft&&c.poolspa&&c.fireplaces&&c.ac&&c.heating&&c.buildingstyle&&c.sitevacant&&c.extwall&&c.roofing&&c.totalSqft){const A={...c,userfirstname:(y=s==null?void 0:s.result)==null?void 0:y.firstName,usermiddlename:(w=s==null?void 0:s.result)==null?void 0:w.middleName,userlastname:(E=s==null?void 0:s.result)==null?void 0:E.lastName,usertitle:(k=s==null?void 0:s.result)==null?void 0:k.title,useremail:(S=s==null?void 0:s.result)==null?void 0:S.email,userId:(O=s==null?void 0:s.result)==null?void 0:O.userId};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?A.propertyTaxInfo=c.propertyTaxInfo:A.propertyTaxInfo=[],i(wo(A)),f(!0)}else J.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return P.useEffect(()=>{d&&(l==="succeeded"?(J.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),f(!1)):l==="failed"&&(J.error(`Failed to submit: ${a}`,{position:"top-right",autoClose:3e3}),f(!1)))},[l,a,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(Ee,{}),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==="Images"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("Images"),role:"tab",children:"Images, Maps"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsxs("form",{children:[o.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),o.jsx("hr",{}),o.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Property Address",o.jsx("input",{type:"text",className:"form-control",name:"address",placeholder:"Property Address",value:c.address,onChange:x,required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["City",o.jsx("input",{type:"text",className:"form-control",name:"city",value:c.city,onChange:x,placeholder:"city",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["State",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:c.state,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select State"}),o.jsx("option",{value:"Alaska",children:"Alaska"}),o.jsx("option",{value:"Alabama",children:"Alabama"}),o.jsx("option",{value:"Arkansas",children:"Arkansas"}),o.jsx("option",{value:"Arizona",children:"Arizona"}),o.jsx("option",{value:"California",children:"California"}),o.jsx("option",{value:"Colorado",children:"Colorado"}),o.jsx("option",{value:"Connecticut",children:"Connecticut"}),o.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),o.jsx("option",{value:"Delaware",children:"Delaware"}),o.jsx("option",{value:"Florida",children:"Florida"}),o.jsx("option",{value:"Georgia",children:"Georgia"}),o.jsx("option",{value:"Hawaii",children:"Hawaii"}),o.jsx("option",{value:"Iowa",children:"Iowa"}),o.jsx("option",{value:"Idaho",children:"Idaho"}),o.jsx("option",{value:"Illinois",children:"Illinois"}),o.jsx("option",{value:"Indiana",children:"Indiana"}),o.jsx("option",{value:"Kansas",children:"Kansas"}),o.jsx("option",{value:"Kentucky",children:"Kentucky"}),o.jsx("option",{value:"Louisiana",children:"Louisiana"}),o.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),o.jsx("option",{value:"Maryland",children:"Maryland"}),o.jsx("option",{value:"Michigan",children:"Michigan"}),o.jsx("option",{value:"Minnesota",children:"Minnesota"}),o.jsx("option",{value:"Missouri",children:"Missouri"}),o.jsx("option",{value:"Mississippi",children:"Mississippi"}),o.jsx("option",{value:"Montana",children:"Montana"}),o.jsx("option",{value:"North Carolina",children:"North Carolina"}),o.jsx("option",{value:"North Dakota",children:"North Dakota"}),o.jsx("option",{value:"Nebraska",children:"Nebraska"}),o.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),o.jsx("option",{value:"New Jersey",children:"New Jersey"}),o.jsx("option",{value:"New Mexico",children:"New Mexico"}),o.jsx("option",{value:"Nevada",children:"Nevada"}),o.jsx("option",{value:"New York",children:"New York"}),o.jsx("option",{value:"Ohio",children:"Ohio"}),o.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),o.jsx("option",{value:"Oregon",children:"Oregon"}),o.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),o.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),o.jsx("option",{value:"South Carolina",children:"South Carolina"}),o.jsx("option",{value:"South Dakota",children:"South Dakota"}),o.jsx("option",{value:"Tennessee",children:"Tennessee"}),o.jsx("option",{value:"Texas",children:"Texas"}),o.jsx("option",{value:"Utah",children:"Utah"}),o.jsx("option",{value:"Virginia",children:"Virginia"}),o.jsx("option",{value:"Vermont",children:"Vermont"}),o.jsx("option",{value:"Washington",children:"Washington"}),o.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),o.jsx("option",{value:"West Virginia",children:"West Virginia"}),o.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["County",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:c.county,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select County"}),o.jsx("option",{value:"Abbeville",children:"Abbeville"}),o.jsx("option",{value:"Aiken",children:"Aiken"}),o.jsx("option",{value:"Allendale",children:"Allendale"}),o.jsx("option",{value:"Anderson",children:"Anderson"}),o.jsx("option",{value:"Bamberg",children:"Bamberg"}),o.jsx("option",{value:"Barnwell",children:"Barnwell"}),o.jsx("option",{value:"Beaufort",children:"Beaufort"}),o.jsx("option",{value:"Berkeley",children:"Berkeley"}),o.jsx("option",{value:"Calhoun",children:"Calhoun"}),o.jsx("option",{value:"Charleston",children:"Charleston"}),o.jsx("option",{value:"Cherokee",children:"Cherokee"}),o.jsx("option",{value:"Chester",children:"Chester"}),o.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),o.jsx("option",{value:"Clarendon",children:"Clarendon"}),o.jsx("option",{value:"Colleton",children:"Colleton"}),o.jsx("option",{value:"Darlington",children:"Darlington"}),o.jsx("option",{value:"Dillon",children:"Dillon"}),o.jsx("option",{value:"Dorchester",children:"Dorchester"}),o.jsx("option",{value:"Edgefield",children:"Edgefield"}),o.jsx("option",{value:"Fairfield",children:"Fairfield"}),o.jsx("option",{value:"Florence",children:"Florence"}),o.jsx("option",{value:"Georgetown",children:"Georgetown"}),o.jsx("option",{value:"Greenville",children:"Greenville"}),o.jsx("option",{value:"Greenwood",children:"Greenwood"}),o.jsx("option",{value:"Hampton",children:"Hampton"}),o.jsx("option",{value:"Horry",children:"Horry"}),o.jsx("option",{value:"Jasper",children:"Jasper"}),o.jsx("option",{value:"Kershaw",children:"Kershaw"}),o.jsx("option",{value:"Lancaster",children:"Lancaster"}),o.jsx("option",{value:"Laurens",children:"Laurens"}),o.jsx("option",{value:"Lee",children:"Lee"}),o.jsx("option",{value:"Lexington",children:"Lexington"}),o.jsx("option",{value:"Marion",children:"Marion"}),o.jsx("option",{value:"Marlboro",children:"Marlboro"}),o.jsx("option",{value:"McCormick",children:"McCormick"}),o.jsx("option",{value:"Newberry",children:"Newberry"}),o.jsx("option",{value:"Oconee",children:"Oconee"}),o.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),o.jsx("option",{value:"Pickens",children:"Pickens"}),o.jsx("option",{value:"Richland",children:"Richland"}),o.jsx("option",{value:"Saluda",children:"Saluda"}),o.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),o.jsx("option",{value:"Sumter",children:"Sumter"}),o.jsx("option",{value:"Union",children:"Union"}),o.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),o.jsx("option",{value:"York",children:"York"})]})]}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Zip",o.jsx("input",{type:"text",className:"form-control",name:"zip",value:c.zip,onChange:x,placeholder:"zip",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Parcel",o.jsx("input",{type:"text",className:"form-control",name:"parcel",value:c.parcel,onChange:x,placeholder:"parcel",required:!0})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Sub division",o.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:c.subdivision,onChange:x,placeholder:"subdivision",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",o.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:c.legal,onChange:x,placeholder:"legal",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",o.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:c.costpersqft,onChange:x,placeholder:"Cost per SQFT",required:!0})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["Please Select Property Type",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:x,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-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",o.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:c.lotacres,onChange:x,placeholder:"Lot Acres/Sqft",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Year Build",o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:x,placeholder:"Year Build",required:!0})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",o.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:c.totallivingsqft,onChange:x,placeholder:"Total Living SQFT",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Beds",o.jsx("input",{type:"text",className:"form-control",name:"beds",value:c.beds,onChange:x,placeholder:"Beds",required:!0})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Baths",o.jsx("input",{type:"text",className:"form-control",name:"baths",value:c.baths,onChange:x,placeholder:"Baths",required:!0})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["Please Select Stories",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:c.stories,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Stories"}),o.jsx("option",{value:"0",children:"0"}),o.jsx("option",{value:"1",children:"1"}),o.jsx("option",{value:"2",children:"2"}),o.jsx("option",{value:"3",children:"3"}),o.jsx("option",{value:"4",children:"4"}),o.jsx("option",{value:"5",children:"5"}),o.jsx("option",{value:"6",children:"6"}),o.jsx("option",{value:"7",children:"7"}),o.jsx("option",{value:"8",children:"8"}),o.jsx("option",{value:"9",children:"9"}),o.jsx("option",{value:"10",children:"10"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Please Select Garage",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:c.garage,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Garage"}),o.jsx("option",{value:"0",children:"0"}),o.jsx("option",{value:"1",children:"1"}),o.jsx("option",{value:"2",children:"2"}),o.jsx("option",{value:"3",children:"3"}),o.jsx("option",{value:"4",children:"4"}),o.jsx("option",{value:"5",children:"5"})]})]}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",o.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:c.garagesqft,onChange:x,placeholder:"Garage SQFT",required:!0})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["Please Select Pool/SPA",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:c.poolspa,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Pool/SPA"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),o.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),o.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),o.jsx("option",{value:"4",children:"None"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Please Select Fire places",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:c.fireplaces,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Fire places"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"yes",children:"Yes"}),o.jsx("option",{value:"no",children:"No"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Please Select A/C",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:c.ac,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select A/C"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"Central",children:"Central"}),o.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),o.jsx("option",{value:"Warm Air",children:"Warm Air"}),o.jsx("option",{value:"Forced Air",children:"Forced Air"}),o.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["Please Select Heating",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:c.heating,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Heating"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"Central",children:"Central"}),o.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),o.jsx("option",{value:"Warm Air",children:"Warm Air"}),o.jsx("option",{value:"Forced Air",children:"Forced Air"}),o.jsx("option",{value:"Gas",children:"Gas"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Please Select Building Style",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:c.buildingstyle,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Building Style"}),o.jsx("option",{value:"One Story",children:"One Story"}),o.jsx("option",{value:"Craftsman",children:"Craftsman"}),o.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),o.jsx("option",{value:"Split-Level",children:"Split-Level"}),o.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),o.jsx("option",{value:"Stick Built",children:"Stick Built"}),o.jsx("option",{value:"Single wide",children:"Single wide"}),o.jsx("option",{value:"Double wide",children:"Double wide"}),o.jsx("option",{value:"Duplex",children:"Duplex"}),o.jsx("option",{value:"Triplex",children:"Triplex"}),o.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),o.jsx("option",{value:"Two Story",children:"Two Story"}),o.jsx("option",{value:"Victorian",children:"Victorian"}),o.jsx("option",{value:"Tudor",children:"Tudor"}),o.jsx("option",{value:"Modern",children:"Modern"}),o.jsx("option",{value:"Art Deco",children:"Art Deco"}),o.jsx("option",{value:"Bungalow",children:"Bungalow"}),o.jsx("option",{value:"Mansion",children:"Mansion"}),o.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),o.jsx("option",{value:"Conventional",children:"Conventional"}),o.jsx("option",{value:"Ranch",children:"Ranch"}),o.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),o.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),o.jsx("option",{value:"Contemporary",children:"Contemporary"}),o.jsx("option",{value:"Colonial",children:"Colonial"}),o.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Site Vacant",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:c.sitevacant,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Site Vacant"}),o.jsx("option",{value:"Yes",children:"Yes"}),o.jsx("option",{value:"No",children:"No"})]})]})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsxs("div",{className:"col-md-4",children:["Please Select Ext Wall",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:c.extwall,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Ext Wall"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"Brick",children:"Brick"}),o.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),o.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),o.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),o.jsx("option",{value:"Stone",children:"Stone"}),o.jsx("option",{value:"Masonry",children:"Masonry"}),o.jsx("option",{value:"Metal",children:"Metal"}),o.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),o.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),o.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),o.jsx("option",{value:"Gable",children:"Gable"}),o.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),o.jsx("option",{value:"Frame",children:"Frame"}),o.jsx("option",{value:"Siding",children:"Siding"}),o.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),o.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),o.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),o.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),o.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),o.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),o.jsxs("div",{className:"col-md-4",children:["Please Select Roofing",o.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:c.roofing,onChange:x,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Roofing"}),o.jsx("option",{value:"N/A",children:"N/A"}),o.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),o.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),o.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),o.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),o.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),o.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),o.jsx("option",{value:"Metal",children:"Metal"}),o.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),o.jsx("option",{value:"Slate",children:"Slate"}),o.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),o.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:x,placeholder:"Total SQFT",required:!0})]})})]}),o.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[o.jsx("br",{}),"Property Tax Information"]}),o.jsx("hr",{}),c.propertyTaxInfo.map((y,w)=>o.jsxs("div",{className:"row gy-4",children:[o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",o.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",placeholder:"Property Tax Owned",value:y.propertytaxowned,onChange:E=>x(E,w,"propertyTaxInfo"),required:!0})]})}),o.jsx("div",{className:"col-md-2",children:o.jsxs("div",{className:"form-floating mb-2",children:["Owed Year",o.jsx("input",{type:"text",className:"form-control",name:"ownedyear",placeholder:"Owed Year",value:y.ownedyear,onChange:E=>x(E,w,"propertyTaxInfo"),required:!0})]})}),o.jsx("div",{className:"col-md-2",children:o.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",o.jsx("input",{type:"text",className:"form-control",name:"taxassessed",placeholder:"Tax Assessed",value:y.taxassessed,onChange:E=>x(E,w,"propertyTaxInfo"),required:!0})]})}),o.jsx("div",{className:"col-md-2",children:o.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",o.jsx("input",{type:"text",className:"form-control",name:"taxyear",placeholder:"Tax Year",value:y.taxyear,onChange:E=>x(E,w,"propertyTaxInfo"),required:!0})]})}),o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"form-floating mb-2",children:[o.jsx("br",{}),o.jsx("button",{className:"btn btn-danger",onClick:()=>m(w),style:{height:"25px",width:"35px"},children:"X"})]})})]},w)),o.jsx("button",{className:"btn btn-secondary",onClick:h,children:"+ Add Another Property Tax Info"})]}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Images"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),o.jsxs("form",{children:[c.images.map((y,w)=>o.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsx("input",{type:"text",className:"form-control",value:y.title,placeholder:"Image Title",onChange:E=>j(w,E)})}),o.jsx("div",{className:"col-md-4",children:o.jsx(Qm,{multiple:!1,onDone:E=>g(E,w)})}),o.jsx("div",{className:"col-md-4",children:o.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>v(w),children:"Delete"})}),y.file&&o.jsx("div",{className:"col-md-12",children:o.jsx("img",{src:y.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},w)),o.jsx("button",{type:"button",className:"btn btn-primary",onClick:N,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),o.jsx("hr",{}),o.jsxs("div",{className:"mb-3",children:[o.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:o.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),o.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:c.googleMapLink,onChange:x,placeholder:"Enter Google Maps link"})]}),c.googleMapLink&&o.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${c.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),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:p,children:"Submit"})]})]})]})})},xr="/assets/propertydummy-DhVEZ7jN.jpg",Pj=()=>{var c;const e=xt(),{user:t}=He(u=>({...u.auth})),{userProperties:n,totalPages:r}=He(u=>u.property),[i,l]=P.useState(1),a=5;P.useEffect(()=>{e(Eo({userId:t.result.userId,page:i,limit:a}))},[e,(c=t==null?void 0:t.result)==null?void 0:c.userId,i]);const s=u=>{l(u)};return o.jsx(o.Fragment,{children:n.length>0?o.jsxs(o.Fragment,{children:[o.jsx("ul",{children:n.map(u=>o.jsx("li",{children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"col-md-12",children:o.jsxs("div",{className:"row p-2 bg-white border rounded mt-2",children:[o.jsx("div",{className:"col-md-3 mt-1",children:o.jsx("img",{src:xr,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}})}),o.jsxs("div",{className:"col-md-6 mt-1",children:[o.jsxs("h5",{children:[" ",o.jsxs(se,{to:`/property/${u.propertyId}`,target:"_blank",children:[u.address,"....."]})]}),o.jsx("div",{className:"d-flex flex-row"}),o.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[o.jsx("span",{children:"100% cotton"}),o.jsx("span",{className:"dot"}),o.jsx("span",{children:"Light weight"}),o.jsx("span",{className:"dot"}),o.jsxs("span",{children:["Best finish",o.jsx("br",{})]})]}),o.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[o.jsx("span",{children:"Unique design"}),o.jsx("span",{className:"dot"}),o.jsx("span",{children:"For men"}),o.jsx("span",{className:"dot"}),o.jsxs("span",{children:["Casual",o.jsx("br",{})]})]}),o.jsxs("p",{className:"text-justify text-truncate para mb-0",children:["There are many variations of passages of",o.jsx("br",{}),o.jsx("br",{})]})]}),o.jsx("div",{className:"align-items-center align-content-center col-md-3 border-left mt-1",children:o.jsxs("div",{className:"d-flex flex-column mt-4",children:[o.jsx(se,{to:`/property/${u.propertyId}`,target:"_blank",children:o.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[o.jsx("span",{className:"fa fa-eye",style:{color:"#F74B02"}})," "," ","View Details"]})}),o.jsx(se,{to:`/editproperty/${u.propertyId}`,children:o.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[o.jsx("span",{className:"fa fa-edit",style:{color:"#F74B02"}})," "," ","Edit Details .."]})})]})})]})})})},u._id))}),o.jsxs("div",{className:"pagination",children:[o.jsx("button",{onClick:()=>s(i-1),disabled:i===1,children:"Previous"}),Array.from({length:r},(u,d)=>d+1).map(u=>u===i||u===1||u===r||u>=i-1&&u<=i+1?o.jsx("button",{onClick:()=>s(u),disabled:i===u,children:u},u):u===2||u===r-1?o.jsx("span",{children:"..."},u):null),o.jsx("button",{onClick:()=>s(i+1),disabled:i===r,children:"Next"})]})]}):o.jsx("p",{children:"No active properties found."})})},Oj=()=>{var d,f,g,N,v,j,x,h;const{user:e,isLoading:t,error:n}=He(m=>m.auth),r=xt(),i=br(),[l,a]=P.useState({userId:((d=e==null?void 0:e.result)==null?void 0:d.userId)||"",title:((f=e==null?void 0:e.result)==null?void 0:f.title)||"",firstName:((g=e==null?void 0:e.result)==null?void 0:g.firstName)||"",middleName:((N=e==null?void 0:e.result)==null?void 0:N.middleName)||"",lastName:((v=e==null?void 0:e.result)==null?void 0:v.lastName)||"",email:((j=e==null?void 0:e.result)==null?void 0:j.email)||"",aboutme:((x=e==null?void 0:e.result)==null?void 0:x.aboutme)||"",profileImage:((h=e==null?void 0:e.result)==null?void 0:h.profileImage)||""});P.useEffect(()=>{e&&a({userId:e.result.userId,title:e.result.title,firstName:e.result.firstName,middleName:e.result.middleName,lastName:e.result.lastName,email:e.result.email,aboutme:e.result.aboutme,profileImage:e.result.profileImage})},[e]);const s=m=>{a({...l,[m.target.name]:m.target.value})},c=()=>{a({...l,profileImage:""})},u=m=>{m.preventDefault(),r(xo(l)),i("/login")};return o.jsx(o.Fragment,{children:o.jsxs("form",{onSubmit:u,children:[o.jsxs("div",{className:"col-4",children:["Title",o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:l.title,onChange:s,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("div",{className:"col-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["First Name",o.jsx("input",{type:"text",className:"form-control",placeholder:"First Name",required:"required",name:"firstName",value:l.firstName,onChange:s})]})}),o.jsx("div",{className:"col-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Middle Name",o.jsx("input",{type:"text",className:"form-control",placeholder:"Middle Name",required:"required",name:"middleName",value:l.middleName,onChange:s})]})}),o.jsx("div",{className:"col-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Last Name",o.jsx("input",{type:"text",className:"form-control",placeholder:"Last Name",required:"required",name:"lastName",value:l.lastName,onChange:s})]})}),o.jsx("div",{className:"col-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["Email",o.jsx("input",{type:"text",className:"form-control",placeholder:"Email",required:"required",name:"email",value:l.email,onChange:s,disabled:!0})]})}),o.jsx("div",{className:"col-4",children:o.jsxs("div",{className:"form-floating mb-3",children:["About me",o.jsx("textarea",{type:"text",id:"aboutme",name:"aboutme",className:"form-control h-100",value:l.aboutme,onChange:s})]})}),o.jsxs("div",{className:"col-4",children:[o.jsx("label",{children:"Profile Image"}),o.jsx("div",{className:"mb-3",children:o.jsx(Qm,{type:"file",multiple:!1,onDone:({base64:m})=>a({...l,profileImage:m})})})]}),l.profileImage&&o.jsxs("div",{className:"col-4 mb-3",children:[o.jsx("img",{src:l.profileImage,alt:"Profile Preview",style:{width:"150px",height:"150px",borderRadius:"50%"}}),o.jsx("button",{type:"button",className:"btn btn-danger mt-2",onClick:c,children:"Delete Image"})]}),o.jsx("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"},disabled:t,children:t?"Updating...":"Update"})})}),n&&o.jsx("p",{children:n})]})})},Tj=()=>{const[e,t]=P.useState("dashboard"),{user:n}=He(i=>i.auth),r=()=>{switch(e){case"Userdetails":return o.jsx(Oj,{});case"addProperty":return o.jsx(Cj,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),o.jsx(Pj,{})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsx(o.Fragment,{})}};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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:n.result.profileImage||bj,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 ${e==="dashboard"?"active":""}`,onClick:()=>t("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${e==="Userdetails"?"active":""}`,onClick:()=>t("Userdetails"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"User Profile"})]}),o.jsxs("button",{className:`btn mt-3 ${e==="addProperty"?"active":""}`,onClick:()=>t("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 ${e==="activeProperties"?"active":""}`,onClick:()=>t("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 ${e==="closedProperties"?"active":""}`,onClick:()=>t("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-1",children:[o.jsx("br",{}),o.jsxs("span",{children:["Welcome to"," ",o.jsx("span",{style:{color:"#067ADC"},children:o.jsxs(se,{to:`/profile/${n.result.userId}`,className:"link-primary text-decoration-none",target:"_blank",children:[n.result.title,". ",n.result.firstName," ",n.result.middleName," ",n.result.lastName]})})]}),o.jsx("br",{}),r()]})})]}),o.jsx(Re,{})]})};var Gm={exports:{}},Rj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Dj=Rj,Ij=Dj;function Jm(){}function Xm(){}Xm.resetWarningCache=Jm;var Aj=function(){function e(r,i,l,a,s,c){if(c!==Ij){var u=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 u.name="Invariant Violation",u}}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:Xm,resetWarningCache:Jm};return n.PropTypes=n,n};Gm.exports=Aj();var Mj=Gm.exports;const Lj=Ds(Mj),Fj=()=>{const[e,t]=P.useState(3),n=br();return P.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"]})})},bo=({children:e})=>{const{user:t}=He(n=>({...n.auth}));return t?e:o.jsx(Fj,{})};bo.propTypes={children:Lj.node.isRequired};const zj=()=>{const e=xt(),{id:t,token:n}=_r();return P.useEffect(()=>{e(No({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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(se,{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(Re,{})]})},Bj=()=>{const[e,t]=P.useState(""),[n,r]=P.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const a=await oe.post(`${i}/users/forgotpassword`,{email:e});r(a.data.message)}catch(a){console.error("Forgot Password Error:",a),r(a.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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:a=>t(a.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(se,{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(Re,{})]})]})},Uj=()=>{const{userId:e,token:t}=_r(),[n,r]=P.useState(""),[i,l]=P.useState(""),[a,s]=P.useState(""),c="http://67.225.129.127:3002",u=async()=>{try{if(!n||n.trim()===""){s("Password not entered"),J.error("Password not entered");return}const d=await oe.post(`${c}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){s("Passwords do not match."),J.error("Passwords do not match.");return}else s("Password reset successfull"),J.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return P.useEffect(()=>{J.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:a})]})})})}),o.jsx(Re,{})]})},$j=()=>o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),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(Re,{})]}),Vj=()=>{const{id:e}=_r(),t=xt(),{selectedProperty:n,status:r,error:i}=He(s=>s.property),[l,a]=P.useState(!0);return P.useEffect(()=>{e&&(t(Xr(e)),a(!1))},[e,t]),r==="loading"?o.jsx("p",{children:"Loading property details..."}):r==="failed"?o.jsxs("p",{children:["Error loading property: ",i]}):o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container col-12",children:l?o.jsx("div",{className:"loader",children:"Loading..."}):n?o.jsx("div",{className:"py-3 py-md-5 bg-light",children:o.jsxs("div",{className:"card-header bg-white",children:[o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-5 mt-3",children:o.jsx("div",{className:"bg-white border",children:n.images&&n.images[0]?o.jsx("img",{src:n.images[0].file||xr,alt:"Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}}):o.jsx("img",{src:xr,alt:"Default Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}})})}),o.jsx("div",{className:"col-md-7 mt-3",children:o.jsxs("div",{className:"product-view",children:[o.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[n.address,o.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),o.jsx("hr",{}),o.jsxs("p",{className:"product-path",children:[o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",n.city," /",o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",n.county," /",o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",n.state," /",o.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",n.zip]}),o.jsxs("div",{children:[o.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),n.totallivingsqft,o.jsx("p",{}),o.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",n.costpersqft,"/sqft",o.jsx("p",{}),o.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),n.yearBuild]}),o.jsxs("div",{className:"mt-3 card bg-white",children:[o.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Description"}),o.jsx("span",{children:n.legal?n.legal:"No data available"})]})]})})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12 mt-3",children:o.jsxs("div",{className:"card",children:[o.jsx("div",{className:"card-header bg-white",children:o.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),o.jsx("div",{className:"card-body",children:o.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):o.jsx("p",{children:"No property details found."})}),o.jsx(Re,{})]})},Wj=()=>{const[e,t]=P.useState([]),[n,r]=P.useState(0),[i,l]=P.useState(0),[a]=P.useState(10),[s,c]=P.useState(""),[u,d]=P.useState(!1),[f,g]=P.useState(!1),N=async()=>{d(!0),g(!1);try{const h=await oe.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:a,offset:i*a,search:s},headers:{"Cache-Control":"no-cache"}});t(h.data.data),r(h.data.totalRecords),s.trim()&&g(!0)}catch(h){console.log("Error fetching data:",h)}finally{d(!1)}},v=h=>{c(h.target.value),h.target.value.trim()===""&&(l(0),t([]),r(0),g(!1),N())},j=h=>{h.key==="Enter"&&(h.preventDefault(),N())};P.useEffect(()=>{N()},[s,i]);const x=Math.ceil(n/a);return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"container col-12",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-12 card-margin col-12",children:o.jsx("div",{className:"card search-form col-12",children:o.jsx("div",{className:"card-body p-0",children:o.jsx("form",{id:"search-form",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"row no-gutters",children:o.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:o.jsx("input",{type:"text",placeholder:"Enter the keyword and hit ENTER button...",className:"form-control",id:"search",name:"search",value:s,onChange:v,onKeyDown:j})})})})})})})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"card card-margin",children:o.jsxs("div",{className:"card-body",children:[f&&e.length>0&&o.jsxs("div",{children:["Showing search results for the keyword"," ",o.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:s})]}),o.jsx("div",{className:"table-responsive",children:o.jsxs("table",{className:"table widget-26",children:[o.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:o.jsxs("tr",{children:[o.jsx("th",{children:"Details"}),o.jsx("th",{children:"Total Living Square Foot"}),o.jsx("th",{children:"Year Built"}),o.jsx("th",{children:"Cost per Square Foot"})]})}),o.jsx("tbody",{children:e.length>0?e.map((h,m)=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-title",children:[o.jsx(se,{to:`/properties/${h.house_id}`,className:"link-primary text-decoration-none",target:"_blank",children:h.address}),o.jsxs("p",{className:"m-0",children:[o.jsxs("span",{className:"employer-name",children:[o.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),h.city,", ",h.county,",",h.state]}),o.jsxs("p",{className:"text-muted m-0",children:["House Id: ",h.house_id]})]})]})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:h.total_living_sqft})})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:h.year_built})})}),o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-salary",children:["$ ",h.cost_per_sqft,"/sqft"]})})]},m)):o.jsx("tr",{children:o.jsx("td",{colSpan:"4",children:"No results found"})})})]})}),o.jsxs("div",{children:[o.jsx("button",{onClick:()=>l(i-1),disabled:i===0||u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),o.jsxs("span",{children:[" ","Page ",i+1," of ",x," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=x||u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),o.jsx(Re,{})]})},qj=()=>o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),"This page will show the list of services offered by the company",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(Re,{})]}),Hj=()=>{const{house_id:e}=_r();console.log("house_id",e);const[t,n]=P.useState(null),[r,i]=P.useState(!0);return P.useEffect(()=>{(async()=>{try{const a=await oe.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(a.data)}catch(a){console.log("Error fetching property details:",a)}finally{i(!1)}})()},[e]),o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container col-12",children:r?o.jsx("div",{className:"loader",children:"Loading..."}):t?o.jsx("div",{className:"py-3 py-md-5 bg-light",children:o.jsxs("div",{className:"card-header bg-white",children:[o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-5 mt-3",children:o.jsx("div",{className:"bg-white border",children:o.jsx("img",{src:xr,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"450px",maxHeight:"450px"}})})}),o.jsx("div",{className:"col-md-7 mt-3",children:o.jsxs("div",{className:"product-view",children:[o.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[t.address,o.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),o.jsx("hr",{}),o.jsxs("p",{className:"product-path",children:[o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",t.city," /",o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",t.county," /",o.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",t.state," /",o.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",t.zip]}),o.jsxs("div",{children:[o.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),t.total_living_sqft,o.jsx("p",{}),o.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",t.cost_per_sqft,"/sqft",o.jsx("p",{}),o.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),t.year_built]}),o.jsxs("div",{className:"mt-3 card bg-white",children:[o.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Summary report"}),o.jsx("span",{children:t.legal_summary_report?t.legal_summary_report:"No data available"})]})]})})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12 mt-3",children:o.jsxs("div",{className:"card",children:[o.jsx("div",{className:"card-header bg-white",children:o.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),o.jsx("div",{className:"card-body",children:o.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):o.jsx("p",{children:"No property details found."})}),o.jsx(Re,{})]})},Yj=()=>{const{id:e}=_r(),t=xt(),{selectedProperty:n}=He(s=>s.property),[r,i]=P.useState({propertyType:"",yearBuild:"",totalSqft:""});P.useEffect(()=>{t(Xr(e))},[t,e]),P.useEffect(()=>{n&&i({propertyType:n.propertyType,yearBuild:n.yearBuild,totalSqft:n.totalSqft})},[n]);const l=s=>{i({...r,[s.target.name]:s.target.value})},a=s=>{s.preventDefault(),t(So({id:e,propertyData:r}))};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"edit-property-form",children:[o.jsx("h2",{children:"Edit Property"}),o.jsxs("form",{onSubmit:a,children:[o.jsx("div",{children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:r.propertyType,onChange:l,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:"yearBuild",value:r.yearBuild,onChange:l,placeholder:"Year build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})}),o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:r.totalSqft,onChange:l,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]}),o.jsx("button",{type:"submit",children:"Update Property"})]})]}),o.jsx(Re,{})]})},Kj=()=>{const e=xt(),{properties:t,loading:n,totalPages:r,currentPage:i}=He(j=>j.property),[l,a]=P.useState(""),[s,c]=P.useState([]),[u,d]=P.useState(1),f=10;P.useEffect(()=>{e(Zr({page:u,limit:f,keyword:l}))},[e,u,l]),P.useEffect(()=>{l.trim()?c(t.filter(j=>j.address.toLowerCase().includes(l.toLowerCase()))):c(t)},[l,t]);const g=j=>{a(j.target.value)},N=j=>{j.preventDefault()},v=j=>{d(j),e(Zr({page:j,limit:f,keyword:l}))};return o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("div",{className:"container col-12",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-12 card-margin col-12",children:o.jsx("div",{className:"card search-form col-12",children:o.jsx("div",{className:"card-body p-0",children:o.jsx("form",{id:"search-form",onSubmit:N,children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"row no-gutters",children:o.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:o.jsx("input",{type:"text",value:l,onChange:g,placeholder:"Enter the keyword and hit ENTER button...",className:"form-control"})})})})})})})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"card card-margin",children:o.jsx("div",{className:"card-body",children:n?o.jsx("div",{children:"Loading..."}):o.jsx("div",{className:"table-responsive",children:o.jsxs("table",{className:"table widget-26",children:[o.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:o.jsxs("tr",{children:[o.jsx("th",{children:"Image"}),o.jsx("th",{children:"Details"}),o.jsx("th",{children:"Total Living Square Foot"}),o.jsx("th",{children:"Year Built"}),o.jsx("th",{children:"Cost per Square Foot"})]})}),o.jsx("tbody",{children:s.length>0?s.map(j=>o.jsxs("tr",{children:[o.jsx("td",{children:j.images&&j.images[0]?o.jsx("img",{src:j.images[0].file||xr,alt:"Property Thumbnail",style:{width:"100px",height:"auto"}}):o.jsx("img",{src:xr,alt:"Default Property Thumbnail",style:{width:"100px",height:"auto"}})}),o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-title",children:[o.jsx(se,{to:`/property/${j.propertyId}`,className:"link-primary text-decoration-none",target:"_blank",children:j.address}),o.jsxs("p",{className:"m-0",children:[o.jsxs("span",{className:"employer-name",children:[o.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),j.city,", ",j.county,","," ",j.state]}),o.jsxs("p",{className:"text-muted m-0",children:["House Id: ",j.propertyId]})]})]})}),o.jsx("td",{children:j.totallivingsqft}),o.jsx("td",{children:j.yearBuild}),o.jsx("td",{children:j.costpersqft})]},j.id)):o.jsx("tr",{children:o.jsx("td",{colSpan:"5",children:"No properties found."})})})]})})})})})}),o.jsx("nav",{"aria-label":"Page navigation",children:o.jsxs("ul",{className:"pagination justify-content-center",children:[o.jsx("li",{className:`page-item ${i===1?"disabled":""}`,children:o.jsx("button",{className:"page-link",onClick:()=>v(i-1),children:"Previous"})}),Array.from({length:r},(j,x)=>o.jsx("li",{className:`page-item ${i===x+1?"active":""}`,children:o.jsx("button",{className:"page-link",onClick:()=>v(x+1),children:x+1})},x+1)),o.jsx("li",{className:`page-item ${i===r?"disabled":""}`,children:o.jsx("button",{className:"page-link",onClick:()=>v(i+1),children:"Next"})})]})})]}),o.jsx(Re,{})]})},Qj=()=>{const{userId:e}=_r(),t=xt(),{user:n,loading:r}=He(i=>i.user);return console.log("user",n),P.useEffect(()=>{e&&t(jo(e))},[e,t]),r?o.jsx("div",{children:"Loading..."}):o.jsxs(o.Fragment,{children:[o.jsx(Ee,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("div",{className:"main-body",children:o.jsxs("div",{className:"row gutters-sm",children:[o.jsx("div",{className:"col-md-4 mb-3",children:o.jsx("div",{className:"card",children:o.jsx("div",{className:"card-body",children:o.jsxs("div",{className:"d-flex flex-column align-items-center text-center",children:[o.jsx("img",{src:"https://bootdey.com/img/Content/avatar/avatar7.png",alt:"Admin",className:"rounded-circle",width:150}),o.jsxs("div",{className:"mt-3",children:[o.jsx("h4",{children:"John Doe"}),o.jsx("p",{className:"text-secondary mb-1",children:"Full Stack Developer"}),o.jsx("p",{className:"text-muted font-size-sm",children:"Bay Area, San Francisco, CA"})]})]})})})}),o.jsxs("div",{className:"col-md-8",children:[o.jsx("div",{className:"card mb-3",children:o.jsxs("div",{className:"card-body",children:[o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-sm-3",children:o.jsx("h6",{className:"mb-0",children:"Full Name"})}),o.jsx("div",{className:"col-sm-9 text-secondary",children:"Kenneth Valdez"})]}),o.jsx("hr",{}),o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-sm-3",children:o.jsx("h6",{className:"mb-0",children:"Email"})}),o.jsx("div",{className:"col-sm-9 text-secondary",children:"fip@jukmuh.al"})]}),o.jsx("hr",{}),o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-sm-3",children:o.jsx("h6",{className:"mb-0",children:"Phone"})}),o.jsx("div",{className:"col-sm-9 text-secondary",children:"(239) 816-9029"})]}),o.jsx("hr",{}),o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-sm-3",children:o.jsx("h6",{className:"mb-0",children:"Mobile"})}),o.jsx("div",{className:"col-sm-9 text-secondary",children:"(320) 380-4539"})]}),o.jsx("hr",{}),o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-sm-3",children:o.jsx("h6",{className:"mb-0",children:"Address"})}),o.jsx("div",{className:"col-sm-9 text-secondary",children:"Bay Area, San Francisco, CA"})]}),o.jsx("hr",{})]})}),o.jsxs("div",{className:"row gutters-sm",children:[o.jsx("div",{className:"col-sm-6 mb-3",children:o.jsx("div",{className:"card h-100",children:o.jsxs("div",{className:"card-body",children:[o.jsxs("h6",{className:"d-flex align-items-center mb-3",children:[o.jsx("i",{className:"material-icons text-info mr-2",children:"assignment"}),"Project Status"]}),o.jsx("small",{children:"Web Design"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"80%"},"aria-valuenow":80,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Website Markup"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"72%"},"aria-valuenow":72,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"One Page"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"89%"},"aria-valuenow":89,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Mobile Template"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"55%"},"aria-valuenow":55,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Backend API"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"66%"},"aria-valuenow":66,"aria-valuemin":0,"aria-valuemax":100})})]})})}),o.jsx("div",{className:"col-sm-6 mb-3",children:o.jsx("div",{className:"card h-100",children:o.jsxs("div",{className:"card-body",children:[o.jsxs("h6",{className:"d-flex align-items-center mb-3",children:[o.jsx("i",{className:"material-icons text-info mr-2",children:"assignment"}),"Project Status"]}),o.jsx("small",{children:"Web Design"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"80%"},"aria-valuenow":80,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Website Markup"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"72%"},"aria-valuenow":72,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"One Page"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"89%"},"aria-valuenow":89,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Mobile Template"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"55%"},"aria-valuenow":55,"aria-valuemin":0,"aria-valuemax":100})}),o.jsx("small",{children:"Backend API"}),o.jsx("div",{className:"progress mb-3",style:{height:"5px"},children:o.jsx("div",{className:"progress-bar bg-primary",role:"progressbar",style:{width:"66%"},"aria-valuenow":66,"aria-valuemin":0,"aria-valuemax":100})})]})})})]})]})]})})]})},Gj=()=>o.jsxs(P1,{children:[o.jsx(Y1,{}),o.jsxs(N1,{children:[o.jsx(je,{path:"/",element:o.jsx(Q1,{})}),o.jsx(je,{path:"/about",element:o.jsx(G1,{})}),o.jsx(je,{path:"/services",element:o.jsx(qj,{})}),o.jsx(je,{path:"/contact",element:o.jsx(J1,{})}),o.jsx(je,{path:"/register",element:o.jsx(Ej,{})}),o.jsx(je,{path:"/registrationsuccess",element:o.jsx(bo,{children:o.jsx($j,{})})}),o.jsx(je,{path:"/login",element:o.jsx(kj,{})}),o.jsx(je,{path:"/dashboard",element:o.jsx(bo,{children:o.jsx(Tj,{})})}),o.jsx(je,{path:"/users/:id/verify/:token",element:o.jsx(zj,{})}),o.jsx(je,{path:"/forgotpassword",element:o.jsx(Bj,{})}),o.jsx(je,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Uj,{})}),o.jsx(je,{path:"/property/:id",element:o.jsx(Vj,{})}),o.jsx(je,{path:"/properties/:house_id",element:o.jsx(Hj,{})}),o.jsx(je,{path:"/searchmyproperties",element:o.jsx(Wj,{})}),o.jsx(je,{path:"/searchproperties",element:o.jsx(Kj,{})}),o.jsx(je,{path:"/editproperty/:id",element:o.jsx(bo,{children:o.jsx(Yj,{})})}),o.jsx(je,{path:"/profile/:userId",element:o.jsx(Qj,{})})]})]});Up(document.getElementById("root")).render(o.jsx(P.StrictMode,{children:o.jsx(Qy,{store:Ix,children:o.jsx(Gj,{})})})); diff --git a/ef-ui/dist/assets/index-DepkKhoc.css b/ef-ui/dist/assets/index-iEl-il0E.css similarity index 95% rename from ef-ui/dist/assets/index-DepkKhoc.css rename to ef-ui/dist/assets/index-iEl-il0E.css index ff14e0f..58caf70 100644 --- a/ef-ui/dist/assets/index-DepkKhoc.css +++ b/ef-ui/dist/assets/index-iEl-il0E.css @@ -1 +1 @@ - @font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;-ms-touch-action:none;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.nav-tabs{border:1px solid #ddd;border-radius:4px;display:flex;justify-content:space-around;margin-bottom:0;padding-left:0}.nav-tabs .tab{border-right:1px solid #ddd;padding:10px;flex-grow:1;text-align:center;cursor:pointer}.nav-tabs .tab:last-child{border-right:none}.nav-tabs .tab a{text-decoration:none;color:#333;display:block;padding:10px}.nav-tabs .tab:hover{background-color:#f5f5f5}.nav-tabs .active{background-color:#fda417;border-color:#fda417}.nav-tabs .active a{color:#fff}.tab-content{border:1px solid #ddd;border-top:none;padding:20px;margin-top:-1px}.btn{margin:10px 0}.tab-pane{border:1px solid #ddd;padding:20px;margin-top:10px;border-radius:4px;background-color:#f3eded}.btn.active{background-color:#fda417;color:#fff;border:1px solid #fda417}body{background:#eee}.ratings i{font-size:16px;color:red}.strike-text{color:red;text-decoration:line-through}.product-image{width:100%}.dot{height:7px;width:7px;margin-left:6px;margin-right:6px;margin-top:3px;background-color:#fda417;border-radius:50%;display:inline-block}.spec-1{color:#938787;font-size:15px}h5{font-weight:400}.para{font-size:16px}body{background:#dcdcdc;margin-top:20px}.widget-26{color:#3c4142;font-weight:400}.widget-26 tr:first-child td{border:0}.widget-26 .widget-26-job-emp-img img{width:35px;height:35px;border-radius:50%}.widget-26 .widget-26-job-title{min-width:200px}.widget-26 .widget-26-job-title a{font-weight:400;font-size:.975rem;color:#3c4142;line-height:1.5}.widget-26 .widget-26-job-title a:hover{color:#68cbd7;text-decoration:none}.widget-26 .widget-26-job-title .employer-name{margin:0;line-height:1.5;font-weight:400;color:#000;font-size:.9125rem;color:#3c4142}.widget-26 .widget-26-job-title .employer-name:hover{color:#68cbd7;text-decoration:none}.widget-26 .widget-26-job-title .time{font-size:14px;font-weight:400}.widget-26 .widget-26-job-info{min-width:100px;font-weight:400}.widget-26 .widget-26-job-info p{line-height:1.5;color:#000;font-size:.9125rem}.widget-26 .widget-26-job-info .location{color:#3c4142}.widget-26 .widget-26-job-salary{min-width:70px;font-weight:400;color:#000;font-size:.9125rem}.widget-26 .widget-26-job-category{padding:.5rem;display:inline-flex;white-space:nowrap;border-radius:15px}.widget-26 .widget-26-job-category .indicator{width:13px;height:13px;margin-right:.5rem;float:left;border-radius:50%}.widget-26 .widget-26-job-category span{font-size:.8125rem;color:#000;font-weight:600}.widget-26 .widget-26-job-starred svg{width:20px;height:20px;color:#fd8b2c}.widget-26 .widget-26-job-starred svg.starred{fill:#fd8b2c}.bg-soft-base{background-color:#e1f5f7}.bg-soft-warning{background-color:#fff4e1}.bg-soft-success{background-color:#d1f6f2}.bg-soft-danger{background-color:#fedce0}.bg-soft-info{background-color:#d7efff}.search-form{width:80%;margin:0 auto;margin-top:1rem}.search-form input{background:transparent;border:0;display:block;width:100%;padding:1rem;height:100%;font-size:1rem}.search-form select{background:transparent;border:0;padding:1rem;height:100%;font-size:1rem}.search-form select:focus{border:0}.search-form button{height:100%;width:100%;font-size:1rem}.search-form button svg{width:24px;height:24px}.search-body{margin-bottom:1.5rem}.search-body .search-filters .filter-list{margin-bottom:1.3rem}.search-body .search-filters .filter-list .title{color:#000;margin-bottom:1rem}.search-body .search-filters .filter-list .filter-text{color:#727686}.search-body .search-result .result-header{margin-bottom:2rem}.search-body .search-result .result-header .records{color:#000}.search-body .search-result .result-header .result-actions{text-align:right;display:flex;align-items:center;justify-content:space-between}.search-body .search-result .result-header .result-actions .result-sorting{display:flex;align-items:center}.search-body .search-result .result-header .result-actions .result-sorting span{flex-shrink:0;font-size:.9125rem}.search-body .search-result .result-header .result-actions .result-sorting select{color:#68cbd7}.search-body .search-result .result-header .result-actions .result-sorting select option{color:#000}@media (min-width: 768px) and (max-width: 991.98px){.search-body .search-filters{display:flex}.search-body .search-filters .filter-list{margin-right:1rem}}@media (min-width: 992px){.col-lg-2{flex:0 0 16.66667%;max-width:16.66667%}}.card-margin{margin-bottom:1.875rem}.card{border:0;box-shadow:0 0 10px #523f691a;-webkit-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1);-moz-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1);-ms-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1)}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid #e6e4e9;border-radius:8px}.loader{position:fixed;left:0;top:0;width:100%;height:100%;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:9999}.spinner{border:8px solid #f3f3f3;border-top:8px solid #3498db;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.product-view .product-name{font-size:24px;color:#2874f0}.product-view .product-name .label-stock{font-size:13px;padding:4px 13px;border-radius:5px;color:#fff;box-shadow:0 .125rem .25rem #00000014;float:right}.product-view .product-path{font-size:13px;font-weight:500;color:#000;margin-bottom:16px}.product-view .selling-price{font-size:26px;color:#000;font-weight:600;margin-right:8px}.product-view .original-price{font-size:18px;color:#000;font-weight:400;text-decoration:line-through}.product-view .btn1{border:1px solid;margin-right:3px;border-radius:0;font-size:14px;margin-top:10px}.product-view .btn1:hover{background-color:#2874f0;color:#fff}.product-view .input-quantity{border:1px solid #000;margin-right:3px;font-size:12px;margin-top:10px;width:58px;outline:none;text-align:center}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} + @font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;-ms-touch-action:none;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.nav-tabs{border:1px solid #ddd;border-radius:4px;display:flex;justify-content:space-around;margin-bottom:0;padding-left:0}.nav-tabs .tab{border-right:1px solid #ddd;padding:10px;flex-grow:1;text-align:center;cursor:pointer}.nav-tabs .tab:last-child{border-right:none}.nav-tabs .tab a{text-decoration:none;color:#333;display:block;padding:10px}.nav-tabs .tab:hover{background-color:#f5f5f5}.nav-tabs .active{background-color:#fda417;border-color:#fda417}.nav-tabs .active a{color:#fff}.tab-content{border:1px solid #ddd;border-top:none;padding:20px;margin-top:-1px}.btn{margin:10px 0}.tab-pane{border:1px solid #ddd;padding:20px;margin-top:10px;border-radius:4px;background-color:#f3eded}.btn.active{background-color:#fda417;color:#fff;border:1px solid #fda417}body{background:#eee}.ratings i{font-size:16px;color:red}.strike-text{color:red;text-decoration:line-through}.product-image{width:100%}.dot{height:7px;width:7px;margin-left:6px;margin-right:6px;margin-top:3px;background-color:#fda417;border-radius:50%;display:inline-block}.spec-1{color:#938787;font-size:15px}h5{font-weight:400}.para{font-size:16px}body{background:#dcdcdc;margin-top:20px}.widget-26{color:#3c4142;font-weight:400}.widget-26 tr:first-child td{border:0}.widget-26 .widget-26-job-emp-img img{width:35px;height:35px;border-radius:50%}.widget-26 .widget-26-job-title{min-width:200px}.widget-26 .widget-26-job-title a{font-weight:400;font-size:.975rem;color:#3c4142;line-height:1.5}.widget-26 .widget-26-job-title a:hover{color:#68cbd7;text-decoration:none}.widget-26 .widget-26-job-title .employer-name{margin:0;line-height:1.5;font-weight:400;color:#000;font-size:.9125rem;color:#3c4142}.widget-26 .widget-26-job-title .employer-name:hover{color:#68cbd7;text-decoration:none}.widget-26 .widget-26-job-title .time{font-size:14px;font-weight:400}.widget-26 .widget-26-job-info{min-width:100px;font-weight:400}.widget-26 .widget-26-job-info p{line-height:1.5;color:#000;font-size:.9125rem}.widget-26 .widget-26-job-info .location{color:#3c4142}.widget-26 .widget-26-job-salary{min-width:70px;font-weight:400;color:#000;font-size:.9125rem}.widget-26 .widget-26-job-category{padding:.5rem;display:inline-flex;white-space:nowrap;border-radius:15px}.widget-26 .widget-26-job-category .indicator{width:13px;height:13px;margin-right:.5rem;float:left;border-radius:50%}.widget-26 .widget-26-job-category span{font-size:.8125rem;color:#000;font-weight:600}.widget-26 .widget-26-job-starred svg{width:20px;height:20px;color:#fd8b2c}.widget-26 .widget-26-job-starred svg.starred{fill:#fd8b2c}.bg-soft-base{background-color:#e1f5f7}.bg-soft-warning{background-color:#fff4e1}.bg-soft-success{background-color:#d1f6f2}.bg-soft-danger{background-color:#fedce0}.bg-soft-info{background-color:#d7efff}.search-form{width:80%;margin:0 auto;margin-top:1rem}.search-form input{background:transparent;border:0;display:block;width:100%;padding:1rem;height:100%;font-size:1rem}.search-form select{background:transparent;border:0;padding:1rem;height:100%;font-size:1rem}.search-form select:focus{border:0}.search-form button{height:100%;width:100%;font-size:1rem}.search-form button svg{width:24px;height:24px}.search-body{margin-bottom:1.5rem}.search-body .search-filters .filter-list{margin-bottom:1.3rem}.search-body .search-filters .filter-list .title{color:#000;margin-bottom:1rem}.search-body .search-filters .filter-list .filter-text{color:#727686}.search-body .search-result .result-header{margin-bottom:2rem}.search-body .search-result .result-header .records{color:#000}.search-body .search-result .result-header .result-actions{text-align:right;display:flex;align-items:center;justify-content:space-between}.search-body .search-result .result-header .result-actions .result-sorting{display:flex;align-items:center}.search-body .search-result .result-header .result-actions .result-sorting span{flex-shrink:0;font-size:.9125rem}.search-body .search-result .result-header .result-actions .result-sorting select{color:#68cbd7}.search-body .search-result .result-header .result-actions .result-sorting select option{color:#000}@media (min-width: 768px) and (max-width: 991.98px){.search-body .search-filters{display:flex}.search-body .search-filters .filter-list{margin-right:1rem}}@media (min-width: 992px){.col-lg-2{flex:0 0 16.66667%;max-width:16.66667%}}.card-margin{margin-bottom:1.875rem}.card{border:0;box-shadow:0 0 10px #523f691a;-webkit-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1);-moz-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1);-ms-box-shadow:0px 0px 10px 0px rgba(82,63,105,.1)}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid #e6e4e9;border-radius:8px}.loader{position:fixed;left:0;top:0;width:100%;height:100%;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:9999}.spinner{border:8px solid #f3f3f3;border-top:8px solid #3498db;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.product-view .product-name{font-size:24px;color:#2874f0}.product-view .product-name .label-stock{font-size:13px;padding:4px 13px;border-radius:5px;color:#fff;box-shadow:0 .125rem .25rem #00000014;float:right}.product-view .product-path{font-size:13px;font-weight:500;color:#000;margin-bottom:16px}.product-view .selling-price{font-size:26px;color:#000;font-weight:600;margin-right:8px}.product-view .original-price{font-size:18px;color:#000;font-weight:400;text-decoration:line-through}.product-view .btn1{border:1px solid;margin-right:3px;border-radius:0;font-size:14px;margin-top:10px}.product-view .btn1:hover{background-color:#2874f0;color:#fff}.product-view .input-quantity{border:1px solid #000;margin-right:3px;font-size:12px;margin-top:10px;width:58px;outline:none;text-align:center}body{margin-top:20px;color:#1a202c;text-align:left;background-color:#e2e8f0}.main-body{padding:15px}.card{box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:0 solid rgba(0,0,0,.125);border-radius:.25rem}.card-body{flex:1 1 auto;min-height:1px;padding:1rem}.gutters-sm{margin-right:-8px;margin-left:-8px}.gutters-sm>.col,.gutters-sm>[class*=col-]{padding-right:8px;padding-left:8px}.mb-3,.my-3{margin-bottom:1rem!important}.bg-gray-300{background-color:#e2e8f0}.h-100{height:100%!important}.shadow-none{box-shadow:none!important}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index ae94962..0e9f153 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -45,8 +45,8 @@ - - + + diff --git a/ef-ui/src/App.jsx b/ef-ui/src/App.jsx index 61c1f60..aa053ec 100644 --- a/ef-ui/src/App.jsx +++ b/ef-ui/src/App.jsx @@ -18,6 +18,7 @@ import Services from "./components/Services"; import PropertyMysqlView from "./components/PropertyMysqlView"; import EditProperty from "./components/EditProperty"; import SearchProperties from "./components/SearchProperties"; +import ProfileView from "./components/ProfileView"; const App = () => { return ( @@ -63,8 +64,10 @@ const App = () => { } /> } /> } /> + } /> + + } /> - } /> ); diff --git a/ef-ui/src/components/Dashboard.jsx b/ef-ui/src/components/Dashboard.jsx index dddeb82..131615f 100644 --- a/ef-ui/src/components/Dashboard.jsx +++ b/ef-ui/src/components/Dashboard.jsx @@ -1,92 +1,37 @@ import { useState } from "react"; import Footer from "./Footer"; import Navbar from "./Navbar"; -import { useSelector } from "react-redux"; import profilepic from "../img/samplepic.jpg"; import Addproperty from "./Addproperty"; import UserProperties from "./UserProperties"; -// import { fetchUserProperties } from "../redux/features/propertySlice"; import "../dashboard.css"; - +import { useSelector } from "react-redux"; +import UserProfile from "./UserProfile"; +import { NavLink } from "react-router-dom"; + const Dashboard = () => { - // const dispatch = useDispatch(); - const { user } = useSelector((state) => ({ ...state.auth })); - // 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]); - + const { user } = useSelector((state) => state.auth); const renderTabContent = () => { switch (activeTab) { + case "Userdetails": + return ; + case "addProperty": return ; + case "activeProperties": - return
-

Active Properties

- {/* {userProperties.length > 0 ? ( -
    - {userProperties.map((property) => ( -
  • {property.title}
  • - ))} -
- ) : ( -

No active properties found.

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

These are your closed properties.

; - default: return ( -
-
-
-
- -
-
- Bess Wills - Bracelet ID: SFG 38393 - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. - Text elit more smtit. Kimto lee. - -
-
-
-
-
-
- -
-
- Bess Wills - Bracelet ID: SFG 38393 - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. - Text elit more smtit. Kimto lee. - -
-
-
+
+

Active Properties

+
); + case "closedProperties": + return

These are your closed properties.

; + + default: + return <>; } }; @@ -105,7 +50,7 @@ const Dashboard = () => {
ProfileImage { Dashboard - + + +
diff --git a/ef-ui/src/components/EditProperty.jsx b/ef-ui/src/components/EditProperty.jsx index dc877d2..cfa5ce4 100644 --- a/ef-ui/src/components/EditProperty.jsx +++ b/ef-ui/src/components/EditProperty.jsx @@ -3,6 +3,8 @@ import { useDispatch, useSelector } from "react-redux"; import { fetchPropertyById } from "../redux/features/propertySlice"; import { updateProperty } from "../redux/features/propertySlice"; import { useParams } from "react-router-dom"; +import Navbar from "./Navbar"; +import Footer from "./Footer"; const EditProperty = () => { const { id } = useParams(); @@ -40,6 +42,11 @@ const EditProperty = () => { return ( + <> + +





+ +

Edit Property

@@ -95,6 +102,8 @@ const EditProperty = () => {
+