From cd02a6405b0ccbc9900673ebd0f3a3e9a61fce0f Mon Sep 17 00:00:00 2001 From: omkieit Date: Tue, 24 Sep 2024 22:54:12 +0530 Subject: [PATCH] done --- ef-api/models/property.js | 99 +- ef-ui/dist/assets/index-Bapz8xqd.js | 85 ++ ...{index-CAj3mSy-.css => index-DepkKhoc.css} | 2 +- ef-ui/dist/assets/index-VmwLz7OH.js | 80 -- ef-ui/dist/index.html | 4 +- ef-ui/package-lock.json | 170 ++++ ef-ui/package.json | 1 + ef-ui/src/addproperty.css | 2 +- ef-ui/src/components/Addproperty.jsx | 849 ++++++++++++++++-- 9 files changed, 1101 insertions(+), 191 deletions(-) create mode 100644 ef-ui/dist/assets/index-Bapz8xqd.js rename ef-ui/dist/assets/{index-CAj3mSy-.css => index-DepkKhoc.css} (99%) delete mode 100644 ef-ui/dist/assets/index-VmwLz7OH.js diff --git a/ef-api/models/property.js b/ef-api/models/property.js index cb06c67..96f23f9 100644 --- a/ef-api/models/property.js +++ b/ef-api/models/property.js @@ -1,41 +1,72 @@ import mongoose from "mongoose"; -const propertySchema = mongoose.Schema({ - address: {type: String, required: true }, - city: {type: String, required: true }, - state: {type: String, required: true }, - county: {type: String, required: true }, - zip: {type: String, required: true }, - parcel: {type: String, required: true }, - subdivision: {type: String, required: true }, - legal: {type: String, required: true }, - propertyType: {type: String, required: true }, - title: {type: String, required: true }, - yearBuild: {type: String, required: true }, - totalSqft: {type: String, required: true }, - userfirstname: String, - usermiddlename: String, - userlastname: String, - usertitle: String, - creator: String, - useremail: String, - propertyId: String, - userId:String, - createdAt: { - type: Date, - default: new Date(), - }, - publishedAt: { - type: Date, - default: new Date(), - }, - currentYear: { - type: Number, - default: new Date().getFullYear(), - }, - +// Schema for property tax information +const propertyTaxInfoSchema = mongoose.Schema({ + propertytaxowned: { type: String }, + ownedyear: { type: String }, + taxassessed: { type: String }, + taxyear: { type: String }, }); +// Schema for images +const imageSchema = mongoose.Schema({ + title: { type: String }, // Title of the image + file: { type: String }, // Uploaded image URL +}); + +const propertySchema = mongoose.Schema({ + address: { type: String, required: true }, + city: { type: String, required: true }, + state: { type: String, required: true }, + county: { type: String, required: true }, + zip: { type: String, required: true }, + parcel: { type: String, required: true }, + subdivision: { type: String, required: true }, + legal: { type: String, required: true }, + propertyType: { type: String, required: true }, + lotacres: { type: String, required: true }, + yearBuild: { type: String, required: true }, + totallivingsqft: { type: String, required: true }, + beds: { type: String, required: true }, + baths: { type: String, required: true }, + stories: { type: String, required: true }, + garage: { type: String, required: true }, + garagesqft: { type: String, required: true }, + poolspa: { type: String, required: true }, + fireplaces: { type: String, required: true }, + ac: { type: String, required: true }, + heating: { type: String, required: true }, + buildingstyle: { type: String, required: true }, + sitevacant: { type: String, required: true }, + extwall: { type: String, required: true }, + roofing: { type: String, required: true }, + totalSqft: { type: String, required: true }, + + // Remove individual property tax fields and replace with array + propertyTaxInfo: [propertyTaxInfoSchema], // Array of tax info objects + images: [imageSchema], + googleMapLink: { type: String }, + userfirstname: String, + usermiddlename: String, + userlastname: String, + usertitle: String, + creator: String, + useremail: String, + propertyId: String, + userId: String, + createdAt: { + type: Date, + default: new Date(), + }, + publishedAt: { + type: Date, + default: new Date(), + }, + currentYear: { + type: Number, + default: new Date().getFullYear(), + }, +}); const PropertyModal = mongoose.model("property", propertySchema); diff --git a/ef-ui/dist/assets/index-Bapz8xqd.js b/ef-ui/dist/assets/index-Bapz8xqd.js new file mode 100644 index 0000000..5fc6dcd --- /dev/null +++ b/ef-ui/dist/assets/index-Bapz8xqd.js @@ -0,0 +1,85 @@ +var Jm=Object.defineProperty;var Xm=(e,t,n)=>t in e?Jm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Il=(e,t,n)=>Xm(e,typeof t!="symbol"?t+"":t,n);function Zm(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 eh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _d={exports:{}},il={},Cd={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 wi=Symbol.for("react.element"),th=Symbol.for("react.portal"),nh=Symbol.for("react.fragment"),rh=Symbol.for("react.strict_mode"),ih=Symbol.for("react.profiler"),oh=Symbol.for("react.provider"),lh=Symbol.for("react.context"),ah=Symbol.for("react.forward_ref"),sh=Symbol.for("react.suspense"),ch=Symbol.for("react.memo"),uh=Symbol.for("react.lazy"),Lc=Symbol.iterator;function dh(e){return e===null||typeof e!="object"?null:(e=Lc&&e[Lc]||e["@@iterator"],typeof e=="function"?e:null)}var bd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pd=Object.assign,Od={};function xr(e,t,n){this.props=e,this.context=t,this.refs=Od,this.updater=n||bd}xr.prototype.isReactComponent={};xr.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")};xr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Td(){}Td.prototype=xr.prototype;function Rs(e,t,n){this.props=e,this.context=t,this.refs=Od,this.updater=n||bd}var Ds=Rs.prototype=new Td;Ds.constructor=Rs;Pd(Ds,xr.prototype);Ds.isPureReactComponent=!0;var Fc=Array.isArray,Rd=Object.prototype.hasOwnProperty,Is={current:null},Dd={key:!0,ref:!0,__self:!0,__source:!0};function Id(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)Rd.call(t,r)&&!Dd.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(q,D))Ki(Q,q)?(b[I]=Q,b[K]=D,I=K):(b[I]=q,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,j=!1,y=!1,w=!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 v(b){if(w=!1,f(b),!y)if(n(c)!==null)y=!0,L(N);else{var _=n(u);_!==null&&V(v,_.startTime-b)}}function N(b,_){y=!1,w&&(w=!1,h(S),S=-1),j=!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(v,$.startTime-_),U=!1}return U}finally{p=null,g=D,j=!1}}var E=!1,k=null,S=-1,P=5,A=-1;function z(){return!(e.unstable_now()-Ab||125I?(b.sortIndex=D,t(u,b),n(c)===null&&b===n(u)&&(w?(h(S),S=-1):w=!0,V(v,D-I))):(b.sortIndex=M,t(c,b),y||j||(y=!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}}}})(zd);Fd.exports=zd;var Nh=Fd.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 Eh=R,Je=Nh;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"),ja=Object.prototype.hasOwnProperty,Sh=/^[: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]*$/,Bc={},Uc={};function kh(e){return ja.call(Uc,e)?!0:ja.call(Bc,e)?!1:Sh.test(e)?Uc[e]=!0:(Bc[e]=!0,!1)}function _h(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 Ch(e,t,n,r){if(t===null||typeof t>"u"||_h(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 Ae(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 ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Ae(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){ke[e]=new Ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ms=/[\-:]([a-z])/g;function Ls(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(Ms,Ls);ke[t]=new Ae(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(Ms,Ls);ke[t]=new Ae(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(Ms,Ls);ke[t]=new Ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Ae(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fs(e,t,n,r){var i=ke.hasOwnProperty(t)?ke[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{Ll=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ir(e):""}function bh(e){switch(e.tag){case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 2:case 15:return e=Fl(e.type,!1),e;case 11:return e=Fl(e.type.render,!1),e;case 1:return e=Fl(e.type,!0),e;default:return""}}function Sa(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 wa:return"Profiler";case zs:return"StrictMode";case Na:return"Suspense";case Ea:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $d:return(e.displayName||"Context")+".Consumer";case Ud:return(e._context.displayName||"Context")+".Provider";case Bs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Us:return t=e.displayName||null,t!==null?t:Sa(e.type)||"Memo";case Ut:t=e._payload,e=e._init;try{return Sa(e(t))}catch{}}return null}function Ph(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 Sa(t);case 8:return t===zs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Oh(e){var t=Wd(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 Mi(e){e._valueTracker||(e._valueTracker=Oh(e))}function Hd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Wd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function No(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 ka(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Vc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=sn(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 qd(e,t){t=t.checked,t!=null&&Fs(e,"checked",t,!1)}function _a(e,t){qd(e,t);var n=sn(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")?Ca(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ca(e,t.type,sn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Wc(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 Ca(e,t,n){(t!=="number"||No(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ar=Array.isArray;function ir(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Li.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zr={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},Th=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){Th.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zr[t]=zr[e]})});function Gd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}function Jd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Gd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Rh=de({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 Oa(e,t){if(t){if(Rh[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 Ta(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 Ra=null;function $s(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Da=null,or=null,lr=null;function Yc(e){if(e=Si(e)){if(typeof Da!="function")throw Error(F(280));var t=e.stateNode;t&&(t=cl(t),Da(e.stateNode,e.type,t))}}function Xd(e){or?lr?lr.push(e):lr=[e]:or=e}function Zd(){if(or){var e=or,t=lr;if(lr=or=null,Yc(e),t)for(e=0;e>>=0,e===0?32:31-(Vh(e)/Wh|0)|0}var Fi=64,zi=4194304;function Mr(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 _o(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=Mr(s):(o&=a,o!==0&&(r=Mr(o)))}else a=n&~i,a!==0?r=Mr(a):o!==0&&(r=Mr(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 Ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function Kh(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=Ur),nu=" ",ru=!1;function jf(e,t){switch(e){case"keyup":return Nv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vn=!1;function Sv(e,t){switch(e){case"compositionend":return wf(t);case"keypress":return t.which!==32?null:(ru=!0,nu);case"textInput":return e=t.data,e===nu&&ru?null:e;default:return null}}function kv(e,t){if(Vn)return e==="compositionend"||!Gs&&jf(e,t)?(e=gf(),ro=Ys=Kt=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=au(n)}}function kf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _f(){for(var e=window,t=No();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=No(e.document)}return t}function Js(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 Iv(e){var t=_f(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kf(n.ownerDocument.documentElement,n)){if(r!==null&&Js(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=su(n,o);var a=su(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,za=null,Vr=null,Ba=!1;function cu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ba||Wn==null||Wn!==No(r)||(r=Wn,"selectionStart"in r&&Js(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}),Vr&&ii(Vr,r)||(Vr=r,r=Po(za,"onSelect"),0Yn||(e.current=qa[Yn],qa[Yn]=null,Yn--)}function ie(e,t){Yn++,qa[Yn]=e.current,e.current=t}var cn={},Oe=fn(cn),ze=fn(!1),On=cn;function dr(e,t){var n=e.type.contextTypes;if(!n)return cn;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 Be(e){return e=e.childContextTypes,e!=null}function To(){le(ze),le(Oe)}function vu(e,t,n){if(Oe.current!==cn)throw Error(F(168));ie(Oe,t),ie(ze,n)}function Af(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,Ph(e)||"Unknown",i));return de({},n,r)}function Ro(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,On=Oe.current,ie(Oe,e),ie(ze,ze.current),!0}function yu(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Af(e,t,On),r.__reactInternalMemoizedMergedChildContext=e,le(ze),le(Oe),ie(Oe,e)):le(ze),ie(ze,n)}var bt=null,ul=!1,Xl=!1;function Mf(e){bt===null?bt=[e]:bt.push(e)}function qv(e){ul=!0,Mf(e)}function pn(){if(!Xl&&bt!==null){Xl=!0;var e=0,t=ne;try{var n=bt;for(ne=1;e>=a,i-=a,Pt=1<<32-mt(t)+i|n<S?(P=k,k=null):P=k.sibling;var A=g(h,k,f[S],v);if(A===null){k===null&&(k=P);break}e&&k&&A.alternate===null&&t(h,k),m=o(A,m,S),E===null?N=A:E.sibling=A,E=A,k=P}if(S===f.length)return n(h,k),ae&&gn(h,S),N;if(k===null){for(;SS?(P=k,k=null):P=k.sibling;var z=g(h,k,A.value,v);if(z===null){k===null&&(k=P);break}e&&k&&z.alternate===null&&t(h,k),m=o(z,m,S),E===null?N=z:E.sibling=z,E=z,k=P}if(A.done)return n(h,k),ae&&gn(h,S),N;if(k===null){for(;!A.done;S++,A=f.next())A=p(h,A.value,v),A!==null&&(m=o(A,m,S),E===null?N=A:E.sibling=A,E=A);return ae&&gn(h,S),N}for(k=r(h,k);!A.done;S++,A=f.next())A=j(k,h,S,A.value,v),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)}),ae&&gn(h,S),N}function x(h,m,f,v){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 Ai: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===Ut&&ju(N)===E.type){n(h,E.sibling),m=i(E,f.props),m.ref=Or(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,v,f.key),m.return=h,h=m):(v=fo(f.type,f.key,f.props,null,h.mode,v),v.ref=Or(h,m,f),v.return=h,h=v)}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=la(f,h.mode,v),m.return=h,h=m}return a(h);case Ut:return E=f._init,x(h,m,E(f._payload),v)}if(Ar(f))return y(h,m,f,v);if(kr(f))return w(h,m,f,v);qi(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=oa(f,h.mode,v),m.return=h,h=m),a(h)):n(h,m)}return x}var pr=Bf(!0),Uf=Bf(!1),Ao=fn(null),Mo=null,Gn=null,tc=null;function nc(){tc=Gn=Mo=null}function rc(e){var t=Ao.current;le(Ao),e._currentValue=t}function Qa(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){Mo=e,tc=Gn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Fe=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(tc!==e)if(e={context:e,memoizedValue:t,next:null},Gn===null){if(Mo===null)throw Error(F(308));Gn=e,Mo.dependencies={lanes:0,firstContext:e}}else Gn=Gn.next=e;return t}var En=null;function ic(e){En===null?En=[e]:En.push(e)}function $f(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ic(t)):(n.next=i.next,i.next=n),t.interleaved=n,It(e,r)}function It(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 $t=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vf(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 Tt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function nn(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,It(e,n)}return i=r.interleaved,i===null?(t.next=t,ic(r)):(t.next=i.next,i.next=t),r.interleaved=t,It(e,n)}function oo(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,Ws(e,n)}}function wu(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 Lo(e,t,n,r){var i=e.updateQueue;$t=!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,j=s.eventTime;if((r&g)===g){d!==null&&(d=d.next={eventTime:j,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,w=s;switch(g=t,j=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){p=y.call(j,p,g);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,g=typeof y=="function"?y.call(j,p,g):y,g==null)break e;p=de({},p,g);break e;case 2:$t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=i.effects,g===null?i.effects=[s]:g.push(s))}else j={eventTime:j,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=j,c=p):d=d.next=j,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 Nu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ea.transition;ea.transition={};try{e(!1),t()}finally{ne=n,ea.transition=r}}function lp(){return st().memoizedState}function Gv(e,t,n){var r=on(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ap(e))sp(t,n);else if(n=$f(e,t,n,r),n!==null){var i=De();ht(n,e,r,i),cp(n,t,r)}}function Jv(e,t,n){var r=on(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ap(e))sp(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,yt(s,a)){var c=t.interleaved;c===null?(i.next=i,ic(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=$f(e,t,i,r),n!==null&&(i=De(),ht(n,e,r,i),cp(n,t,r))}}function ap(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function sp(e,t){Wr=zo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ws(e,n)}}var Bo={readContext:at,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Xv={readContext:at,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:Su,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ao(4194308,4,tp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return ao(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=Gv.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:Eu,useDebugValue:pc,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=Eu(!1),t=e[0];return e=Qv.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,i=wt();if(ae){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),we===null)throw Error(F(349));Rn&30||Yf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Su(Qf.bind(null,r,o,e),[e]),r.flags|=2048,fi(9,Kf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=wt(),t=we.identifierPrefix;if(ae){var n=Ot,r=Pt;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ui++,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[ai]=r,xp(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ta(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,Tr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Fo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!ae)return Ce(t),null}else 2*he()-o.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Tr(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=ce.current,ie(ce,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return xc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function ly(e,t){switch(Zs(t),t.tag){case 1:return Be(t.type)&&To(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mr(),le(ze),le(Oe),sc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ac(t),null;case 13:if(le(ce),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(ce),null;case 4:return mr(),null;case 10:return rc(t.type._context),null;case 22:case 23:return xc(),null;case 24:return null;default:return null}}var Ki=!1,Pe=!1,ay=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){fe(e,t,r)}else n.current=null}function is(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Au=!1;function sy(e,t){if(Ua=Co,e=_f(),Js(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 j;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),(j=p.firstChild)!==null;)g=p,p=j;for(;;){if(p===e)break t;if(g===n&&++u===i&&(s=a),g===o&&++d===r&&(c=a),(j=p.nextSibling)!==null)break;p=g,g=p.parentNode}p=j}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for($a={focusedElem:e,selectionRange:n},Co=!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 y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,x=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:ut(t.type,w),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(v){fe(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return y=Au,Au=!1,y}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&&is(t,n,o)}i=i.next}while(i!==r)}}function pl(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 os(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 Np(e){var t=e.alternate;t!==null&&(e.alternate=null,Np(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Et],delete t[ai],delete t[Ha],delete t[Wv],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 Ep(e){return e.tag===5||e.tag===3||e.tag===4}function Mu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ep(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 ls(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=Oo));else if(r!==4&&(e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function as(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(as(e,t,n),e=e.sibling;e!==null;)as(e,t,n),e=e.sibling}var Ee=null,dt=!1;function zt(e,t,n){for(n=n.child;n!==null;)Sp(e,t,n),n=n.sibling}function Sp(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(ol,n)}catch{}switch(n.tag){case 5:Pe||Jn(n,t);case 6:var r=Ee,i=dt;Ee=null,zt(e,t,n),Ee=r,dt=i,Ee!==null&&(dt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(dt?(e=Ee,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),ni(e)):Jl(Ee,n.stateNode));break;case 4:r=Ee,i=dt,Ee=n.stateNode.containerInfo,dt=!0,zt(e,t,n),Ee=r,dt=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)&&is(n,t,a),i=i.next}while(i!==r)}zt(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){fe(n,t,s)}zt(e,t,n);break;case 21:zt(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,zt(e,t,n),Pe=r):zt(e,t,n);break;default:zt(e,t,n)}}function Lu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ay),t.forEach(function(r){var i=yy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ct(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*uy(r/1960))-r,10e?16:e,Qt===null)var r=!1;else{if(e=Qt,Qt=null,Vo=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()-yc?_n(e,0):vc|=n),Ue(e,t)}function Rp(e,t){t===0&&(e.mode&1?(t=zi,zi<<=1,!(zi&130023424)&&(zi=4194304)):t=1);var n=De();e=It(e,t),e!==null&&(Ni(e,t,n),Ue(e,n))}function vy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rp(e,n)}function yy(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),Rp(e,n)}var Dp;Dp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Fe=!1,iy(e,t,n);Fe=!!(e.flags&131072)}else Fe=!1,ae&&t.flags&1048576&&Lf(t,Io,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;so(e,t),e=t.pendingProps;var i=dr(t,Oe.current);sr(t,n),i=uc(null,t,r,e,i,n);var o=dc();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,Be(r)?(o=!0,Ro(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,oc(t),i.updater=fl,t.stateNode=i,i._reactInternals=t,Ja(t,r,e,n),t=es(null,t,r,!0,o,n)):(t.tag=0,ae&&o&&Xs(t),Te(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(so(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=xy(r),e=ut(r,e),i){case 0:t=Za(null,t,r,e,n);break e;case 1:t=Ru(null,t,r,e,n);break e;case 11:t=Ou(null,t,r,e,n);break e;case 14:t=Tu(null,t,r,ut(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:ut(r,i),Za(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),Ru(e,t,r,i,n);case 3:e:{if(vp(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Vf(e,t),Lo(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=Du(e,t,r,n,i);break e}else if(r!==i){i=hr(Error(F(424)),t),t=Du(e,t,r,n,i);break e}else for(qe=tn(t.stateNode.containerInfo.firstChild),Qe=t,ae=!0,ft=null,n=Uf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fr(),r===i){t=At(e,t,n);break e}Te(e,t,r,n)}t=t.child}return t;case 5:return Wf(t),e===null&&Ka(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Va(r,i)?a=null:o!==null&&Va(r,o)&&(t.flags|=32),hp(e,t),Te(e,t,a,n),t.child;case 6:return e===null&&Ka(t),null;case 13:return yp(e,t,n);case 4:return lc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pr(t,null,r,n):Te(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),Ou(e,t,r,i,n);case 7:return Te(e,t,t.pendingProps,n),t.child;case 8:return Te(e,t,t.pendingProps.children,n),t.child;case 12:return Te(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(Ao,r._currentValue),r._currentValue=a,o!==null)if(yt(o.value,a)){if(o.children===i.children&&!ze.current){t=At(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=Tt(-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),Qa(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),Qa(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}Te(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,Te(e,t,r,n),t.child;case 14:return r=t.type,i=ut(r,t.pendingProps),i=ut(r.type,i),Tu(e,t,r,i,n);case 15:return pp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ut(r,i),so(e,t),t.tag=1,Be(r)?(e=!0,Ro(t)):e=!1,sr(t,n),up(t,r,i),Ja(t,r,i,n),es(null,t,r,!0,e,n);case 19:return gp(e,t,n);case 22:return mp(e,t,n)}throw Error(F(156,t.tag))};function Ip(e,t){return af(e,t)}function gy(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 gy(e,t,n,r)}function wc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xy(e){if(typeof e=="function")return wc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bs)return 11;if(e===Us)return 14}return 2}function ln(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 fo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")wc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case $n:return Cn(n.children,i,o,t);case zs:a=8,i|=8;break;case wa:return e=ot(12,n,t,i|2),e.elementType=wa,e.lanes=o,e;case Na:return e=ot(13,n,t,i),e.elementType=Na,e.lanes=o,e;case Ea:return e=ot(19,n,t,i),e.elementType=Ea,e.lanes=o,e;case Vd:return hl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ud:a=10;break e;case $d:a=9;break e;case Bs:a=11;break e;case Us:a=14;break e;case Ut: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 hl(e,t,n,r){return e=ot(22,e,r,t),e.elementType=Vd,e.lanes=n,e.stateNode={isHidden:!1},e}function oa(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function la(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 jy(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=Bl(0),this.expirationTimes=Bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Nc(e,t,n,r,i,o,a,s,c){return e=new jy(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},oc(o),e}function wy(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Fp)}catch(e){console.error(e)}}Fp(),Ld.exports=et;var _y=Ld.exports,zp,Hu=_y;zp=Hu.createRoot,Hu.hydrateRoot;var Bp={exports:{}},Up={};/** + * @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 _i=R;function Cy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var by=typeof Object.is=="function"?Object.is:Cy,Py=_i.useSyncExternalStore,Oy=_i.useRef,Ty=_i.useEffect,Ry=_i.useMemo,Dy=_i.useDebugValue;Up.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Oy(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=Ry(function(){function c(j){if(!u){if(u=!0,d=j,j=r(j),i!==void 0&&a.hasValue){var y=a.value;if(i(y,j))return p=y}return p=j}if(y=p,by(d,j))return y;var w=r(j);return i!==void 0&&i(y,w)?y:(d=j,p=w)}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=Py(e,o[0],o[1]);return Ty(function(){a.hasValue=!0,a.value=s},[s]),Dy(s),s};Bp.exports=Up;var Iy=Bp.exports,Ye="default"in xa?C:xa,qu=Symbol.for("react-redux-context"),Yu=typeof globalThis<"u"?globalThis:{};function Ay(){if(!Ye.createContext)return{};const e=Yu[qu]??(Yu[qu]=new Map);let t=e.get(Ye.createContext);return t||(t=Ye.createContext(null),e.set(Ye.createContext,t)),t}var un=Ay(),My=()=>{throw new Error("uSES not initialized!")};function _c(e=un){return function(){return Ye.useContext(e)}}var $p=_c(),Vp=My,Ly=e=>{Vp=e},Fy=(e,t)=>e===t;function zy(e=un){const t=e===un?$p:_c(e),n=(r,i={})=>{const{equalityFn:o=Fy,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:p}=t();Ye.useRef(!0);const g=Ye.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,a.stabilityCheck]),j=Vp(c.addNestedSub,s.getState,u||s.getState,g,o);return Ye.useDebugValue(j),j};return Object.assign(n,{withTypes:()=>n}),n}var gt=zy();function By(e){e()}function Uy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){By(()=>{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 Ku={notify(){},get:()=>[]};function $y(e,t){let n,r=Ku,i=0,o=!1;function a(w){d();const x=r.subscribe(w);let h=!1;return()=>{h||(h=!0,x(),p())}}function s(){r.notify()}function c(){y.onStateChange&&y.onStateChange()}function u(){return o}function d(){i++,n||(n=e.subscribe(c),r=Uy())}function p(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ku)}function g(){o||(o=!0,d())}function j(){o&&(o=!1,p())}const y={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:u,trySubscribe:g,tryUnsubscribe:j,getListeners:()=>r};return y}var Vy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wy=typeof navigator<"u"&&navigator.product==="ReactNative",Hy=Vy||Wy?Ye.useLayoutEffect:Ye.useEffect;function qy({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=Ye.useMemo(()=>{const u=$y(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),s=Ye.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||un;return Ye.createElement(c.Provider,{value:a},n)}var Yy=qy;function Wp(e=un){const t=e===un?$p:_c(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Ky=Wp();function Qy(e=un){const t=e===un?Ky:Wp(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var mn=Qy();Ly(Iy.useSyncExternalStoreWithSelector);function Ne(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 Gy=typeof Symbol=="function"&&Symbol.observable||"@@observable",Qu=Gy,aa=()=>Math.random().toString(36).substring(7).split("").join("."),Jy={INIT:`@@redux/INIT${aa()}`,REPLACE:`@@redux/REPLACE${aa()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${aa()}`},qo=Jy;function Cc(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 Hp(e,t,n){if(typeof e!="function")throw new Error(Ne(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Ne(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Ne(1));return n(Hp)(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(Ne(3));return i}function p(x){if(typeof x!="function")throw new Error(Ne(4));if(c)throw new Error(Ne(5));let h=!0;u();const m=s++;return a.set(m,x),function(){if(h){if(c)throw new Error(Ne(6));h=!1,u(),a.delete(m),o=null}}}function g(x){if(!Cc(x))throw new Error(Ne(7));if(typeof x.type>"u")throw new Error(Ne(8));if(typeof x.type!="string")throw new Error(Ne(17));if(c)throw new Error(Ne(9));try{c=!0,i=r(i,x)}finally{c=!1}return(o=a).forEach(m=>{m()}),x}function j(x){if(typeof x!="function")throw new Error(Ne(10));r=x,g({type:qo.REPLACE})}function y(){const x=p;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(Ne(11));function m(){const v=h;v.next&&v.next(d())}return m(),{unsubscribe:x(m)}},[Qu](){return this}}}return g({type:qo.INIT}),{dispatch:g,subscribe:p,getState:d,replaceReducer:j,[Qu]:y}}function Xy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:qo.INIT})>"u")throw new Error(Ne(12));if(typeof n(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ne(13))})}function Zy(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw s&&s.type,new Error(Ne(14));u[p]=y,c=c||y!==j}return c=c||r.length!==Object.keys(a).length,c?u:a}}function Yo(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function eg(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Ne(15))};const a={getState:i.getState,dispatch:(c,...u)=>o(c,...u)},s=e.map(c=>c(a));return o=Yo(...s)(i.dispatch),{...i,dispatch:o}}}function tg(e){return Cc(e)&&"type"in e&&typeof e.type=="string"}var qp=Symbol.for("immer-nothing"),Gu=Symbol.for("immer-draftable"),Xe=Symbol.for("immer-state");function pt(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[Xe]}function Mt(e){var t;return e?Yp(e)||Array.isArray(e)||!!e[Gu]||!!((t=e.constructor)!=null&&t[Gu])||wl(e)||Nl(e):!1}var ng=Object.prototype.constructor.toString();function Yp(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)===ng}function Ko(e,t){jl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function jl(e){const t=e[Xe];return t?t.type_:Array.isArray(e)?1:wl(e)?2:Nl(e)?3:0}function fs(e,t){return jl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Kp(e,t,n){const r=jl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function rg(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function wl(e){return e instanceof Map}function Nl(e){return e instanceof Set}function jn(e){return e.copy_||e.base_}function ps(e,t){if(wl(e))return new Map(e);if(Nl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Yp(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Xe];let i=Reflect.ownKeys(r);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=ig),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>bc(r,!0))),e}function ig(){pt(2)}function El(e){return Object.isFrozen(e)}var og={};function Mn(e){const t=og[e];return t||pt(0,e),t}var mi;function Qp(){return mi}function lg(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Ju(e,t){t&&(Mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ms(e){hs(e),e.drafts_.forEach(ag),e.drafts_=null}function hs(e){e===mi&&(mi=e.parent_)}function Xu(e){return mi=lg(mi,e)}function ag(e){const t=e[Xe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Zu(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Xe].modified_&&(ms(t),pt(4)),Mt(e)&&(e=Qo(t,e),t.parent_||Go(t,e)),t.patches_&&Mn("Patches").generateReplacementPatches_(n[Xe].base_,e,t.patches_,t.inversePatches_)):e=Qo(t,n,[]),ms(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==qp?e:void 0}function Qo(e,t,n){if(El(t))return t;const r=t[Xe];if(!r)return Ko(t,(i,o)=>ed(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Go(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),Ko(o,(s,c)=>ed(e,r,i,s,c,n,a)),Go(e,i,!1),n&&e.patches_&&Mn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function ed(e,t,n,r,i,o,a){if(An(i)){const s=o&&t&&t.type_!==3&&!fs(t.assigned_,r)?o.concat(r):void 0,c=Qo(e,i,s);if(Kp(n,r,c),An(c))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Mt(i)&&!El(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Qo(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Go(e,i)}}function Go(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&bc(t,n)}function sg(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Qp(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=Pc;n&&(i=[r],o=hi);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var Pc={get(e,t){if(t===Xe)return e;const n=jn(e);if(!fs(n,t))return cg(e,n,t);const r=n[t];return e.finalized_||!Mt(r)?r:r===sa(e.base_,t)?(ca(e),e.copy_[t]=ys(r,e)):r},has(e,t){return t in jn(e)},ownKeys(e){return Reflect.ownKeys(jn(e))},set(e,t,n){const r=Gp(jn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=sa(jn(e),t),o=i==null?void 0:i[Xe];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(rg(n,i)&&(n!==void 0||fs(e.base_,t)))return!0;ca(e),vs(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 sa(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ca(e),vs(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(){pt(11)},getPrototypeOf(e){return yr(e.base_)},setPrototypeOf(){pt(12)}},hi={};Ko(Pc,(e,t)=>{hi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});hi.deleteProperty=function(e,t){return hi.set.call(this,e,t,void 0)};hi.set=function(e,t,n){return Pc.set.call(this,e[0],t,n,e[0])};function sa(e,t){const n=e[Xe];return(n?jn(n):e)[t]}function cg(e,t,n){var i;const r=Gp(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Gp(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 vs(e){e.modified_||(e.modified_=!0,e.parent_&&vs(e.parent_))}function ca(e){e.copy_||(e.copy_=ps(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ug=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"&&pt(6),r!==void 0&&typeof r!="function"&&pt(7);let i;if(Mt(t)){const o=Xu(this),a=ys(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?ms(o):hs(o)}return Ju(o,r),Zu(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===qp&&(i=void 0),this.autoFreeze_&&bc(i,!0),r){const o=[],a=[];Mn("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else pt(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){Mt(e)||pt(8),An(e)&&(e=dg(e));const t=Xu(this),n=ys(e,void 0);return n[Xe].isManual_=!0,hs(t),n}finishDraft(e,t){const n=e&&e[Xe];(!n||!n.isManual_)&&pt(9);const{scope_:r}=n;return Ju(r,t),Zu(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 ys(e,t){const n=wl(e)?Mn("MapSet").proxyMap_(e,t):Nl(e)?Mn("MapSet").proxySet_(e,t):sg(e,t);return(t?t.scope_:Qp()).drafts_.push(n),n}function dg(e){return An(e)||pt(10,e),Jp(e)}function Jp(e){if(!Mt(e)||El(e))return e;const t=e[Xe];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=ps(e,t.scope_.immer_.useStrictShallowCopy_)}else n=ps(e,!0);return Ko(n,(r,i)=>{Kp(n,r,Jp(i))}),t&&(t.finalized_=!1),n}var Ze=new ug,Xp=Ze.produce;Ze.produceWithPatches.bind(Ze);Ze.setAutoFreeze.bind(Ze);Ze.setUseStrictShallowCopy.bind(Ze);Ze.applyPatches.bind(Ze);Ze.createDraft.bind(Ze);Ze.finishDraft.bind(Ze);function Zp(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var fg=Zp(),pg=Zp,mg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Yo:Yo.apply(null,arguments)},hg=e=>e&&typeof e.match=="function";function Kr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(vt(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=>tg(r)&&r.type===e,n}var em=class Fr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Fr.prototype)}static get[Symbol.species](){return Fr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Fr(...t[0].concat(this)):new Fr(...t.concat(this))}};function td(e){return Mt(e)?Xp(e,()=>{}):e}function nd(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(vt(10));const r=n.insert(t,e);return e.set(t,r),r}function vg(e){return typeof e=="boolean"}var yg=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new em;return n&&(vg(n)?a.push(fg):a.push(pg(n.extraArgument))),a},gg="RTK_autoBatch",tm=e=>t=>{setTimeout(t,e)},xg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:tm(10),jg=(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"?xg:e.type==="callback"?e.queueNotification:tm(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[gg]),o=!i,o&&(a||(a=!0,c(u))),r.dispatch(d)}finally{i=!0}}})},wg=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new em(e);return r&&i.push(jg(typeof r=="object"?r:void 0)),i};function Ng(e){const t=yg(),{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(Cc(n))s=Zy(n);else throw new Error(vt(1));let c;typeof r=="function"?c=r(t):c=t();let u=Yo;i&&(u=mg({trace:!1,...typeof i=="object"&&i}));const d=eg(...c),p=wg(d);let g=typeof a=="function"?a(p):p();const j=u(...g);return Hp(s,o,j)}function nm(e){const t={},n=[];let r;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(vt(28));if(s in t)throw new Error(vt(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 Eg(e){return typeof e=="function"}function Sg(e,t){let[n,r,i]=nm(t),o;if(Eg(e))o=()=>td(e());else{const s=td(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 j=p(d,c);return j===void 0?d:j}else{if(Mt(d))return Xp(d,g=>p(g,c));{const g=p(d,c);if(g===void 0){if(d===null)return d;throw new Error(vt(9))}return g}}return d},s)}return a.getInitialState=o,a}var kg=(e,t)=>hg(e)?e.match(t):e(t);function _g(...e){return t=>e.some(n=>kg(n,t))}var Cg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",bg=(e=21)=>{let t="",n=e;for(;n--;)t+=Cg[Math.random()*64|0];return t},Pg=["name","message","stack","code"],ua=class{constructor(e,t){Il(this,"_type");this.payload=e,this.meta=t}},rd=class{constructor(e,t){Il(this,"_type");this.payload=e,this.meta=t}},Og=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Pg)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Ft=(()=>{function e(t,n,r){const i=Kr(t+"/fulfilled",(c,u,d,p)=>({payload:c,meta:{...p||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),o=Kr(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),a=Kr(t+"/rejected",(c,u,d,p,g)=>({payload:p,error:(r&&r.serializeError||Og)(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):bg(),j=new AbortController;let y,w;function x(m){w=m,j.abort()}const h=async function(){var v,N;let m;try{let E=(v=r==null?void 0:r.condition)==null?void 0:v.call(r,c,{getState:d,extra:p});if(Rg(E)&&(E=await E),E===!1||j.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((S,P)=>{y=()=>{P({name:"AbortError",message:w||"Aborted"})},j.signal.addEventListener("abort",y)});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:j.signal,abort:x,rejectWithValue:(S,P)=>new ua(S,P),fulfillWithValue:(S,P)=>new rd(S,P)})).then(S=>{if(S instanceof ua)throw S;return S instanceof rd?i(S.payload,g,c,S.meta):i(S,g,c)})])}catch(E){m=E instanceof ua?a(null,g,c,E.payload,E.meta):a(E,g,c)}finally{y&&j.signal.removeEventListener("abort",y)}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(Tg)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:_g(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Tg(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rg(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dg=Symbol.for("rtk-slice-createasyncthunk");function Ig(e,t){return`${e}/${t}`}function Ag({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Dg];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(vt(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(Lg()):i.reducers)||{},c=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(f,v){const N=typeof f=="string"?f:f.type;if(!N)throw new Error(vt(12));if(N in u.sliceCaseReducersByType)throw new Error(vt(13));return u.sliceCaseReducersByType[N]=v,d},addMatcher(f,v){return u.sliceMatchers.push({matcher:f,reducer:v}),d},exposeAction(f,v){return u.actionCreators[f]=v,d},exposeCaseReducer(f,v){return u.sliceCaseReducersByName[f]=v,d}};c.forEach(f=>{const v=s[f],N={reducerName:f,type:Ig(o,f),createNotation:typeof i.reducers=="function"};zg(v)?Ug(N,v,d,t):Fg(N,v,d)});function p(){const[f={},v=[],N=void 0]=typeof i.extraReducers=="function"?nm(i.extraReducers):[i.extraReducers],E={...f,...u.sliceCaseReducersByType};return Sg(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 v)k.addMatcher(S.matcher,S.reducer);N&&k.addDefaultCase(N)})}const g=f=>f,j=new Map;let y;function w(f,v){return y||(y=p()),y(f,v)}function x(){return y||(y=p()),y.getInitialState()}function h(f,v=!1){function N(k){let S=k[f];return typeof S>"u"&&v&&(S=x()),S}function E(k=g){const S=nd(j,v,{insert:()=>new WeakMap});return nd(S,k,{insert:()=>{const P={};for(const[A,z]of Object.entries(i.selectors??{}))P[A]=Mg(z,k,x,v);return P}})}return{reducerPath:f,getSelectors:E,get selectors(){return E(N)},selectSlice:N}}const m={name:o,reducer:w,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:x,...h(a),injectInto(f,{reducerPath:v,...N}={}){const E=v??a;return f.inject({reducerPath:E,reducer:w},N),{...m,...h(E,!0)}}};return m}}function Mg(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 Oc=Ag();function Lg(){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 Fg({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!Bg(r))throw new Error(vt(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?Kr(e,a):Kr(e))}function zg(e){return e._reducerDefinitionType==="asyncThunk"}function Bg(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Ug({type:e,reducerName:t},n,r,i){if(!i)throw new Error(vt(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||Ji,pending:s||Ji,rejected:c||Ji,settled:u||Ji})}function Ji(){}function vt(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 rm(e,t){return function(){return e.apply(t,arguments)}}const{toString:$g}=Object.prototype,{getPrototypeOf:Tc}=Object,Sl=(e=>t=>{const n=$g.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),xt=e=>(e=e.toLowerCase(),t=>Sl(t)===e),kl=e=>t=>typeof t===e,{isArray:Nr}=Array,vi=kl("undefined");function Vg(e){return e!==null&&!vi(e)&&e.constructor!==null&&!vi(e.constructor)&&Ge(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const im=xt("ArrayBuffer");function Wg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&im(e.buffer),t}const Hg=kl("string"),Ge=kl("function"),om=kl("number"),_l=e=>e!==null&&typeof e=="object",qg=e=>e===!0||e===!1,po=e=>{if(Sl(e)!=="object")return!1;const t=Tc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Yg=xt("Date"),Kg=xt("File"),Qg=xt("Blob"),Gg=xt("FileList"),Jg=e=>_l(e)&&Ge(e.pipe),Xg=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ge(e.append)&&((t=Sl(e))==="formdata"||t==="object"&&Ge(e.toString)&&e.toString()==="[object FormData]"))},Zg=xt("URLSearchParams"),[e0,t0,n0,r0]=["ReadableStream","Request","Response","Headers"].map(xt),i0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ci(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Nr(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,am=e=>!vi(e)&&e!==kn;function gs(){const{caseless:e}=am(this)&&this||{},t={},n=(r,i)=>{const o=e&&lm(t,i)||i;po(t[o])&&po(r)?t[o]=gs(t[o],r):po(r)?t[o]=gs({},r):Nr(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Ci(t,(i,o)=>{n&&Ge(i)?e[o]=rm(i,n):e[o]=i},{allOwnKeys:r}),e),l0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),a0=(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)},s0=(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&&Tc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},c0=(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},u0=e=>{if(!e)return null;if(Nr(e))return e;let t=e.length;if(!om(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},d0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Tc(Uint8Array)),f0=(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])}},p0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},m0=xt("HTMLFormElement"),h0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),id=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),v0=xt("RegExp"),sm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ci(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},y0=e=>{sm(e,(t,n)=>{if(Ge(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ge(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+"'")})}})},g0=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Nr(e)?r(e):r(String(e).split(t)),n},x0=()=>{},j0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,da="abcdefghijklmnopqrstuvwxyz",od="0123456789",cm={DIGIT:od,ALPHA:da,ALPHA_DIGIT:da+da.toUpperCase()+od},w0=(e=16,t=cm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function N0(e){return!!(e&&Ge(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const E0=e=>{const t=new Array(10),n=(r,i)=>{if(_l(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Nr(r)?[]:{};return Ci(r,(a,s)=>{const c=n(a,i+1);!vi(c)&&(o[s]=c)}),t[i]=void 0,o}}return r};return n(e,0)},S0=xt("AsyncFunction"),k0=e=>e&&(_l(e)||Ge(e))&&Ge(e.then)&&Ge(e.catch),um=((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",Ge(kn.postMessage)),_0=typeof queueMicrotask<"u"?queueMicrotask.bind(kn):typeof process<"u"&&process.nextTick||um,T={isArray:Nr,isArrayBuffer:im,isBuffer:Vg,isFormData:Xg,isArrayBufferView:Wg,isString:Hg,isNumber:om,isBoolean:qg,isObject:_l,isPlainObject:po,isReadableStream:e0,isRequest:t0,isResponse:n0,isHeaders:r0,isUndefined:vi,isDate:Yg,isFile:Kg,isBlob:Qg,isRegExp:v0,isFunction:Ge,isStream:Jg,isURLSearchParams:Zg,isTypedArray:d0,isFileList:Gg,forEach:Ci,merge:gs,extend:o0,trim:i0,stripBOM:l0,inherits:a0,toFlatObject:s0,kindOf:Sl,kindOfTest:xt,endsWith:c0,toArray:u0,forEachEntry:f0,matchAll:p0,isHTMLForm:m0,hasOwnProperty:id,hasOwnProp:id,reduceDescriptors:sm,freezeMethods:y0,toObjectSet:g0,toCamelCase:h0,noop:x0,toFiniteNumber:j0,findKey:lm,global:kn,isContextDefined:am,ALPHABET:cm,generateString:w0,isSpecCompliantForm:N0,toJSONObject:E0,isAsyncFn:S0,isThenable:k0,setImmediate:um,asap:_0};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)}T.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:T.toJSONObject(this.config),code:this.code,status:this.status}}});const dm=G.prototype,fm={};["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=>{fm[e]={value:e}});Object.defineProperties(G,fm);Object.defineProperty(dm,"isAxiosError",{value:!0});G.from=(e,t,n,r,i,o)=>{const a=Object.create(dm);return T.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 C0=null;function xs(e){return T.isPlainObject(e)||T.isArray(e)}function pm(e){return T.endsWith(e,"[]")?e.slice(0,-2):e}function ld(e,t,n){return e?e.concat(t).map(function(i,o){return i=pm(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function b0(e){return T.isArray(e)&&!e.some(xs)}const P0=T.toFlatObject(T,{},null,function(t){return/^is[A-Z]/.test(t)});function Cl(e,t,n){if(!T.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=T.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,x){return!T.isUndefined(x[w])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&T.isSpecCompliantForm(t);if(!T.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(T.isDate(y))return y.toISOString();if(!c&&T.isBlob(y))throw new G("Blob is not supported. Use a Buffer instead.");return T.isArrayBuffer(y)||T.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,w,x){let h=y;if(y&&!x&&typeof y=="object"){if(T.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(T.isArray(y)&&b0(y)||(T.isFileList(y)||T.endsWith(w,"[]"))&&(h=T.toArray(y)))return w=pm(w),h.forEach(function(f,v){!(T.isUndefined(f)||f===null)&&t.append(a===!0?ld([w],v,o):a===null?w:w+"[]",u(f))}),!1}return xs(y)?!0:(t.append(ld(x,w,o),u(y)),!1)}const p=[],g=Object.assign(P0,{defaultVisitor:d,convertValue:u,isVisitable:xs});function j(y,w){if(!T.isUndefined(y)){if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));p.push(y),T.forEach(y,function(h,m){(!(T.isUndefined(h)||h===null)&&i.call(t,h,T.isString(m)?m.trim():m,w,g))===!0&&j(h,w?w.concat(m):[m])}),p.pop()}}if(!T.isObject(e))throw new TypeError("data must be an object");return j(e),t}function ad(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Rc(e,t){this._pairs=[],e&&Cl(e,this,t)}const mm=Rc.prototype;mm.append=function(t,n){this._pairs.push([t,n])};mm.toString=function(t){const n=t?function(r){return t.call(this,r,ad)}:ad;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function O0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function hm(e,t,n){if(!t)return e;const r=n&&n.encode||O0,i=n&&n.serialize;let o;if(i?o=i(t,n):o=T.isURLSearchParams(t)?t.toString():new Rc(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class sd{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){T.forEach(this.handlers,function(r){r!==null&&t(r)})}}const vm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},T0=typeof URLSearchParams<"u"?URLSearchParams:Rc,R0=typeof FormData<"u"?FormData:null,D0=typeof Blob<"u"?Blob:null,I0={isBrowser:!0,classes:{URLSearchParams:T0,FormData:R0,Blob:D0},protocols:["http","https","file","blob","url","data"]},Dc=typeof window<"u"&&typeof document<"u",js=typeof navigator=="object"&&navigator||void 0,A0=Dc&&(!js||["ReactNative","NativeScript","NS"].indexOf(js.product)<0),M0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",L0=Dc&&window.location.href||"http://localhost",F0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Dc,hasStandardBrowserEnv:A0,hasStandardBrowserWebWorkerEnv:M0,navigator:js,origin:L0},Symbol.toStringTag,{value:"Module"})),$e={...F0,...I0};function z0(e,t){return Cl(e,new $e.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return $e.isNode&&T.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function B0(e){return T.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function U0(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&T.isArray(i)?i.length:a,c?(T.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!T.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&T.isArray(i[a])&&(i[a]=U0(i[a])),!s)}if(T.isFormData(e)&&T.isFunction(e.entries)){const n={};return T.forEachEntry(e,(r,i)=>{t(B0(r),i,n,0)}),n}return null}function $0(e,t,n){if(T.isString(e))try{return(t||JSON.parse)(e),T.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const bi={transitional:vm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=T.isObject(t);if(o&&T.isHTMLForm(t)&&(t=new FormData(t)),T.isFormData(t))return i?JSON.stringify(ym(t)):t;if(T.isArrayBuffer(t)||T.isBuffer(t)||T.isStream(t)||T.isFile(t)||T.isBlob(t)||T.isReadableStream(t))return t;if(T.isArrayBufferView(t))return t.buffer;if(T.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 z0(t,this.formSerializer).toString();if((s=T.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Cl(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),$0(t)):t}],transformResponse:[function(t){const n=this.transitional||bi.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(T.isResponse(t)||T.isReadableStream(t))return t;if(t&&T.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:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch"],e=>{bi.headers[e]={}});const V0=T.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"]),W0=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]&&V0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},cd=Symbol("internals");function Dr(e){return e&&String(e).trim().toLowerCase()}function mo(e){return e===!1||e==null?e:T.isArray(e)?e.map(mo):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 q0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fa(e,t,n,r,i){if(T.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!T.isString(t)){if(T.isString(r))return t.indexOf(r)!==-1;if(T.isRegExp(r))return r.test(t)}}function Y0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function K0(e,t){const n=T.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 Ve{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,c,u){const d=Dr(c);if(!d)throw new Error("header name must be a non-empty string");const p=T.findKey(i,d);(!p||i[p]===void 0||u===!0||u===void 0&&i[p]!==!1)&&(i[p||c]=mo(s))}const a=(s,c)=>T.forEach(s,(u,d)=>o(u,d,c));if(T.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(T.isString(t)&&(t=t.trim())&&!q0(t))a(W0(t),n);else if(T.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=Dr(t),t){const r=T.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return H0(i);if(T.isFunction(n))return n.call(this,i,r);if(T.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Dr(t),t){const r=T.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||fa(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=Dr(a),a){const s=T.findKey(r,a);s&&(!n||fa(r,r[s],s,n))&&(delete r[s],i=!0)}}return T.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||fa(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return T.forEach(this,(i,o)=>{const a=T.findKey(r,o);if(a){n[a]=mo(i),delete n[o];return}const s=t?Y0(o):String(o).trim();s!==o&&delete n[o],n[s]=mo(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return T.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&T.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[cd]=this[cd]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=Dr(a);r[s]||(K0(i,a),r[s]=!0)}return T.isArray(t)?t.forEach(o):o(t),this}}Ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(Ve.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});T.freezeMethods(Ve);function pa(e,t){const n=this||bi,r=t||n,i=Ve.from(r.headers);let o=r.data;return T.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function gm(e){return!!(e&&e.__CANCEL__)}function Er(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}T.inherits(Er,G,{__CANCEL__:!0});function xm(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 Q0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function G0(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 Jo=(e,t,n=3)=>{let r=0;const i=G0(50,250);return J0(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)},ud=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dd=e=>(...t)=>T.asap(()=>e(...t)),X0=$e.hasStandardBrowserEnv?function(){const t=$e.navigator&&/(msie|trident)/i.test($e.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=T.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Z0=$e.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];T.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),T.isString(r)&&a.push("path="+r),T.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 e1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function t1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function jm(e,t){return e&&!e1(t)?t1(e,t):t}const fd=e=>e instanceof Ve?{...e}:e;function Ln(e,t){t=t||{};const n={};function r(u,d,p){return T.isPlainObject(u)&&T.isPlainObject(d)?T.merge.call({caseless:p},u,d):T.isPlainObject(d)?T.merge({},d):T.isArray(d)?d.slice():d}function i(u,d,p){if(T.isUndefined(d)){if(!T.isUndefined(u))return r(void 0,u,p)}else return r(u,d,p)}function o(u,d){if(!T.isUndefined(d))return r(void 0,d)}function a(u,d){if(T.isUndefined(d)){if(!T.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(fd(u),fd(d),!0)};return T.forEach(Object.keys(Object.assign({},e,t)),function(d){const p=c[d]||i,g=p(e[d],t[d],d);T.isUndefined(g)&&p!==s||(n[d]=g)}),n}const wm=e=>{const t=Ln({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Ve.from(a),t.url=hm(jm(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(T.isFormData(n)){if($e.hasStandardBrowserEnv||$e.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($e.hasStandardBrowserEnv&&(r&&T.isFunction(r)&&(r=r(t)),r||r!==!1&&X0(t.url))){const u=i&&o&&Z0.read(o);u&&a.set(i,u)}return t},n1=typeof XMLHttpRequest<"u",r1=n1&&function(e){return new Promise(function(n,r){const i=wm(e);let o=i.data;const a=Ve.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:u}=i,d,p,g,j,y;function w(){j&&j(),y&&y(),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=Ve.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};xm(function(k){n(k),w()},function(k){r(k),w()},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 v=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const N=i.transitional||vm;i.timeoutErrorMessage&&(v=i.timeoutErrorMessage),r(new G(v,N.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,x)),x=null},o===void 0&&a.setContentType(null),"setRequestHeader"in x&&T.forEach(a.toJSON(),function(v,N){x.setRequestHeader(N,v)}),T.isUndefined(i.withCredentials)||(x.withCredentials=!!i.withCredentials),s&&s!=="json"&&(x.responseType=i.responseType),u&&([g,y]=Jo(u,!0),x.addEventListener("progress",g)),c&&x.upload&&([p,j]=Jo(c),x.upload.addEventListener("progress",p),x.upload.addEventListener("loadend",j)),(i.cancelToken||i.signal)&&(d=f=>{x&&(r(!f||f.type?new Er(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=Q0(i.url);if(m&&$e.protocols.indexOf(m)===-1){r(new G("Unsupported protocol "+m+":",G.ERR_BAD_REQUEST,e));return}x.send(o||null)})},i1=(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 Er(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=()=>T.asap(s),c}},o1=function*(e,t){let n=e.byteLength;if(!t||n{const i=l1(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})},bl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nm=bl&&typeof ReadableStream=="function",s1=bl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Em=(e,...t)=>{try{return!!e(...t)}catch{return!1}},c1=Nm&&Em(()=>{let e=!1;const t=new Request($e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),md=64*1024,ws=Nm&&Em(()=>T.isReadableStream(new Response("").body)),Xo={stream:ws&&(e=>e.body)};bl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Xo[t]&&(Xo[t]=T.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 u1=async e=>{if(e==null)return 0;if(T.isBlob(e))return e.size;if(T.isSpecCompliantForm(e))return(await new Request($e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(T.isArrayBufferView(e)||T.isArrayBuffer(e))return e.byteLength;if(T.isURLSearchParams(e)&&(e=e+""),T.isString(e))return(await s1(e)).byteLength},d1=async(e,t)=>{const n=T.toFiniteNumber(e.getContentLength());return n??u1(t)},f1=bl&&(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}=wm(e);u=u?(u+"").toLowerCase():"text";let j=i1([i,o&&o.toAbortSignal()],a),y;const w=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let x;try{if(c&&c1&&n!=="get"&&n!=="head"&&(x=await d1(d,r))!==0){let N=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(T.isFormData(r)&&(E=N.headers.get("content-type"))&&d.setContentType(E),N.body){const[k,S]=ud(x,Jo(dd(c)));r=pd(N.body,md,k,S)}}T.isString(p)||(p=p?"include":"omit");const h="credentials"in Request.prototype;y=new Request(t,{...g,signal:j,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?p:void 0});let m=await fetch(y);const f=ws&&(u==="stream"||u==="response");if(ws&&(s||f&&w)){const N={};["status","statusText","headers"].forEach(P=>{N[P]=m[P]});const E=T.toFiniteNumber(m.headers.get("content-length")),[k,S]=s&&ud(E,Jo(dd(s),!0))||[];m=new Response(pd(m.body,md,k,()=>{S&&S(),w&&w()}),N)}u=u||"text";let v=await Xo[T.findKey(Xo,u)||"text"](m,e);return!f&&w&&w(),await new Promise((N,E)=>{xm(N,E,{data:v,headers:Ve.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(h){throw w&&w(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,y),{cause:h.cause||h}):G.from(h,h&&h.code,e,y)}}),Ns={http:C0,xhr:r1,fetch:f1};T.forEach(Ns,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hd=e=>`- ${e}`,p1=e=>T.isFunction(e)||e===null||e===!1,Sm={getAdapter:e=>{e=T.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(hd).join(` +`):" "+hd(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:Ns};function ma(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Er(null,e)}function vd(e){return ma(e),e.headers=Ve.from(e.headers),e.data=pa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sm.getAdapter(e.adapter||bi.adapter)(e).then(function(r){return ma(e),r.data=pa.call(e,e.transformResponse,r),r.headers=Ve.from(r.headers),r},function(r){return gm(r)||(ma(e),r&&r.response&&(r.response.data=pa.call(e,e.transformResponse,r.response),r.response.headers=Ve.from(r.response.headers))),Promise.reject(r)})}const km="1.7.7",Ic={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ic[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const yd={};Ic.transitional=function(t,n,r){function i(o,a){return"[Axios v"+km+"] 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&&!yd[a]&&(yd[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 m1(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 Es={assertOptions:m1,validators:Ic},Bt=Es.validators;class bn{constructor(t){this.defaults=t,this.interceptors={request:new sd,response:new sd}}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&&Es.assertOptions(r,{silentJSONParsing:Bt.transitional(Bt.boolean),forcedJSONParsing:Bt.transitional(Bt.boolean),clarifyTimeoutError:Bt.transitional(Bt.boolean)},!1),i!=null&&(T.isFunction(i)?n.paramsSerializer={serialize:i}:Es.assertOptions(i,{encode:Bt.function,serialize:Bt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&T.merge(o.common,o[n.method]);o&&T.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Ve.concat(a,o);const s=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,s.unshift(w.fulfilled,w.rejected))});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let d,p=0,g;if(!c){const y=[vd.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,u),g=y.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 Er(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 Ac(function(i){t=i}),cancel:t}}}function h1(e){return function(n){return e.apply(null,n)}}function v1(e){return T.isObject(e)&&e.isAxiosError===!0}const Ss={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(Ss).forEach(([e,t])=>{Ss[t]=e});function _m(e){const t=new bn(e),n=rm(bn.prototype.request,t);return T.extend(n,bn.prototype,t,{allOwnKeys:!0}),T.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return _m(Ln(e,i))},n}const se=_m(bi);se.Axios=bn;se.CanceledError=Er;se.CancelToken=Ac;se.isCancel=gm;se.VERSION=km;se.toFormData=Cl;se.AxiosError=G;se.Cancel=se.CanceledError;se.all=function(t){return Promise.all(t)};se.spread=h1;se.isAxiosError=v1;se.mergeConfig=Ln;se.AxiosHeaders=Ve;se.formToJSON=e=>ym(T.isHTMLForm(e)?new FormData(e):e);se.getAdapter=Sm.getAdapter;se.HttpStatusCode=Ss;se.default=se;const y1="http://67.225.129.127:3002",hn=se.create({baseURL:y1});hn.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const g1=e=>hn.post("/users/signup",e),x1=e=>hn.post("/users/signin",e),j1=(e,t,n)=>hn.get(`/users/${e}/verify/${t}`,n),w1=e=>hn.post("/properties",e),N1=(e,t,n)=>hn.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),E1=e=>hn.get(`/properties/${e}`,e),S1=(e,t)=>hn.put(`/properties/${e}`,t),ho=Ft("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await x1(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),vo=Ft("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await g1(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),ha=Ft("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),Cm=Oc({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(ho.pending,t=>{t.loading=!0}).addCase(ho.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(ho.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(vo.pending,t=>{t.loading=!0}).addCase(vo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(vo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(ha.pending,t=>{t.loading=!0}).addCase(ha.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(ha.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Yj,setLogout:k1,setUserDetails:Kj}=Cm.actions,_1=Cm.reducer,va=Ft("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)}}),yo=Ft("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await j1(e,t,n)).data.message}catch(i){return r(i.response.data)}}),C1=Oc({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(va.pending,t=>{t.loading=!0}).addCase(va.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(va.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(yo.pending,t=>{t.loading=!0,t.error=null}).addCase(yo.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(yo.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),b1=C1.reducer,go=Ft("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await w1(e)).data}catch(n){return t(n.response.data)}}),xo=Ft("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:r})=>{try{return(await N1(e,t,n)).data}catch(i){return r(i.response.data)}}),Qr=Ft("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await E1(e)).data}catch(n){return t(n.response.data)}}),jo=Ft("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await S1(e,t)).data}catch(r){return n(r.response.data)}}),P1=Oc({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1},reducers:{},extraReducers:e=>{e.addCase(go.pending,t=>{t.status="loading"}).addCase(go.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(go.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(xo.pending,t=>{t.loading=!0}).addCase(xo.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(xo.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Qr.pending,t=>{t.status="loading"}).addCase(Qr.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Qr.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(jo.pending,t=>{t.status="loading"}).addCase(jo.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(jo.rejected,(t,n)=>{t.status="failed",t.error=n.payload})}}),O1=P1.reducer,T1=Ng({reducer:{auth:_1,user:b1,property:O1}});/** + * @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 yi(){return yi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function bm(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function D1(){return Math.random().toString(36).substr(2,8)}function xd(e,t){return{usr:e.state,key:e.key,idx:t}}function ks(e,t,n,r){return n===void 0&&(n=null),yi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Sr(t):t,{state:n,key:t&&t.key||r||D1()})}function Zo(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 Sr(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 I1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Gt.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(yi({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function p(){s=Gt.Pop;let x=d(),h=x==null?null:x-u;u=x,c&&c({action:s,location:w.location,delta:h})}function g(x,h){s=Gt.Push;let m=ks(w.location,x,h);u=d()+1;let f=xd(m,u),v=w.createHref(m);try{a.pushState(f,"",v)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(v)}o&&c&&c({action:s,location:w.location,delta:1})}function j(x,h){s=Gt.Replace;let m=ks(w.location,x,h);u=d();let f=xd(m,u),v=w.createHref(m);a.replaceState(f,"",v),o&&c&&c({action:s,location:w.location,delta:0})}function y(x){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="string"?x:Zo(x);return m=m.replace(/ $/,"%20"),pe(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let w={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(gd,p),c=x,()=>{i.removeEventListener(gd,p),c=null}},createHref(x){return t(i,x)},createURL:y,encodeLocation(x){let h=y(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:g,replace:j,go(x){return a.go(x)}};return w}var jd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jd||(jd={}));function A1(e,t,n){return n===void 0&&(n="/"),M1(e,t,n,!1)}function M1(e,t,n,r){let i=typeof t=="string"?Sr(t):t,o=gr(i.pathname||"/",n);if(o==null)return null;let a=Pm(e);L1(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("/")&&(pe(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=an([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(pe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Pm(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:W1(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 Om(o.path))i(o,a,c)}),t}function Om(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=Om(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 L1(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 F1=/^:[\w-]+$/,z1=3,B1=2,U1=1,$1=10,V1=-2,wd=e=>e==="*";function W1(e,t){let n=e.split("/"),r=n.length;return n.some(wd)&&(r+=V1),t&&(r+=B1),n.filter(i=>!wd(i)).reduce((i,o)=>i+(F1.test(o)?z1:o===""?U1:$1),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 q1(e,t,n){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s{let{paramName:g,isOptional:j}=d;if(g==="*"){let w=s[p]||"";a=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const y=s[p];return j&&!y?u[g]=void 0:u[g]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function Y1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),bm(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 K1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bm(!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 Q1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Sr(e):e;return{pathname:n?n.startsWith("/")?n:G1(n,t):t,search:Z1(r),hash:ex(i)}}function G1(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 ya(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 J1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Tm(e,t){let n=J1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Rm(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Sr(e):(i=yi({},e),pe(!i.pathname||!i.pathname.includes("?"),ya("?","pathname","search",i)),pe(!i.pathname||!i.pathname.includes("#"),ya("#","pathname","hash",i)),pe(!i.search||!i.search.includes("#"),ya("#","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=Q1(i,s),u=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const an=e=>e.join("/").replace(/\/\/+/g,"/"),X1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Z1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ex=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tx(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Dm=["post","put","patch","delete"];new Set(Dm);const nx=["get",...Dm];new Set(nx);/** + * 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 gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),R.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=Rm(u,JSON.parse(a),o,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:an([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,a,o,e])}function Ri(){let{matches:e}=R.useContext(yn),t=e[e.length-1];return t?t.params:{}}function Tl(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(vn),{matches:i}=R.useContext(yn),{pathname:o}=Oi(),a=JSON.stringify(Tm(i,r.v7_relativeSplatPath));return R.useMemo(()=>Rm(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function ox(e,t){return lx(e,t)}function lx(e,t,n,r){Pi()||pe(!1);let{navigator:i}=R.useContext(vn),{matches:o}=R.useContext(yn),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Oi(),d;if(t){var p;let x=typeof t=="string"?Sr(t):t;c==="/"||(p=x.pathname)!=null&&p.startsWith(c)||pe(!1),d=x}else d=u;let g=d.pathname||"/",j=g;if(c!=="/"){let x=c.replace(/^\//,"").split("/");j="/"+g.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=A1(e,{pathname:j}),w=dx(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:an([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:an([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&w?R.createElement(Ol.Provider,{value:{location:gi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Gt.Pop}},w):w}function ax(){let e=hx(),t=tx(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:i},n):null,null)}const sx=R.createElement(ax,null);class cx extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(yn.Provider,{value:this.props.routeContext},R.createElement(Am.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ux(e){let{routeContext:t,match:n,children:r}=e,i=R.useContext(Pl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(yn.Provider,{value:t},r)}function dx(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||pe(!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 j,y=!1,w=null,x=null;n&&(j=s&&p.route.id?s[p.route.id]:void 0,w=p.route.errorElement||sx,c&&(u<0&&g===0?(y=!0,x=null):u===g&&(y=!0,x=p.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,g+1)),m=()=>{let f;return j?f=w:y?f=x:p.route.Component?f=R.createElement(p.route.Component,null):p.route.element?f=p.route.element:f=d,R.createElement(ux,{match:p,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:f})};return n&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?R.createElement(cx,{location:n.location,revalidation:n.revalidation,component:w,error:j,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var Lm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Lm||{}),tl=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}(tl||{});function fx(e){let t=R.useContext(Pl);return t||pe(!1),t}function px(e){let t=R.useContext(Im);return t||pe(!1),t}function mx(e){let t=R.useContext(yn);return t||pe(!1),t}function Fm(e){let t=mx(),n=t.matches[t.matches.length-1];return n.route.id||pe(!1),n.route.id}function hx(){var e;let t=R.useContext(Am),n=px(tl.UseRouteError),r=Fm(tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function vx(){let{router:e}=fx(Lm.UseNavigateStable),t=Fm(tl.UseNavigateStable),n=R.useRef(!1);return Mm(()=>{n.current=!0}),R.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,gi({fromRouteId:t},o)))},[e,t])}function be(e){pe(!1)}function yx(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Gt.Pop,navigator:o,static:a=!1,future:s}=e;Pi()&&pe(!1);let c=t.replace(/^\/*/,"/"),u=R.useMemo(()=>({basename:c,navigator:o,static:a,future:gi({v7_relativeSplatPath:!1},s)}),[c,s,o,a]);typeof r=="string"&&(r=Sr(r));let{pathname:d="/",search:p="",hash:g="",state:j=null,key:y="default"}=r,w=R.useMemo(()=>{let x=gr(d,c);return x==null?null:{location:{pathname:x,search:p,hash:g,state:j,key:y},navigationType:i}},[c,d,p,g,j,y,i]);return w==null?null:R.createElement(vn.Provider,{value:u},R.createElement(Ol.Provider,{children:n,value:w}))}function gx(e){let{children:t,location:n}=e;return ox(_s(t),n)}new Promise(()=>{});function _s(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(r,i)=>{if(!R.isValidElement(r))return;let o=[...t,i];if(r.type===R.Fragment){n.push.apply(n,_s(r.props.children,o));return}r.type!==be&&pe(!1),!r.props.index||!r.props.children||pe(!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=_s(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 nl(){return nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function xx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jx(e,t){return e.button===0&&(!t||t==="_self")&&!xx(e)}const wx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Nx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Ex="6";try{window.__reactRouterVersion=Ex}catch{}const Sx=R.createContext({isTransitioning:!1}),kx="startTransition",Nd=xa[kx];function _x(e){let{basename:t,children:n,future:r,window:i}=e,o=R.useRef();o.current==null&&(o.current=R1({window:i,v5Compat:!0}));let a=o.current,[s,c]=R.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=R.useCallback(p=>{u&&Nd?Nd(()=>c(p)):c(p)},[c,u]);return R.useLayoutEffect(()=>a.listen(d),[a,d]),R.createElement(yx,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const Cx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Px=R.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=zm(t,wx),{basename:j}=R.useContext(vn),y,w=!1;if(typeof u=="string"&&bx.test(u)&&(y=u,Cx))try{let f=new URL(window.location.href),v=u.startsWith("//")?new URL(f.protocol+u):new URL(u),N=gr(v.pathname,j);v.origin===f.origin&&N!=null?u=N+v.search+v.hash:w=!0}catch{}let x=rx(u,{relative:i}),h=Tx(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 R.createElement("a",nl({},g,{href:y||x,onClick:w||o?r:m,ref:n,target:c}))}),me=R.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=zm(t,Nx),g=Tl(c,{relative:p.relative}),j=Oi(),y=R.useContext(Im),{navigator:w,basename:x}=R.useContext(vn),h=y!=null&&Rx(g)&&u===!0,m=w.encodeLocation?w.encodeLocation(g).pathname:g.pathname,f=j.pathname,v=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(f=f.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase()),v&&x&&(v=gr(v,x)||v);const N=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=f===m||!a&&f.startsWith(m)&&f.charAt(N)==="/",k=v!=null&&(v===m||!a&&v.startsWith(m)&&v.charAt(m.length)==="/"),S={isActive:E,isPending:k,isTransitioning:h},P=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 R.createElement(Px,nl({},p,{"aria-current":P,className:A,ref:n,style:z,to:c,unstable_viewTransition:u}),typeof d=="function"?d(S):d)});var Cs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Cs||(Cs={}));var Ed;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ed||(Ed={}));function Ox(e){let t=R.useContext(Pl);return t||pe(!1),t}function Tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=t===void 0?{}:t,c=Ti(),u=Oi(),d=Tl(e,{relative:a});return R.useCallback(p=>{if(jx(p,n)){p.preventDefault();let g=r!==void 0?r:Zo(u)===Zo(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 Rx(e,t){t===void 0&&(t={});let n=R.useContext(Sx);n==null&&pe(!1);let{basename:r}=Ox(Cs.useViewTransitionState),i=Tl(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 el(i.pathname,a)!=null||el(i.pathname,o)!=null}function Bm(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",Ke=e=>typeof e=="function",wo=e=>Pn(e)||Ke(e)?e:null,bs=e=>R.isValidElement(e)||Pn(e)||Ke(e)||xi(e);function Dx(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 Rl(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:j}=a;const y=r?`${t}--${c}`:t,w=r?`${n}--${c}`:n,x=R.useRef(0);return R.useLayoutEffect(()=>{const h=p.current,m=y.split(" "),f=v=>{v.target===p.current&&(j(),h.removeEventListener("animationend",f),h.removeEventListener("animationcancel",f),x.current===0&&v.type!=="animationcancel"&&h.classList.remove(...m))};h.classList.add(...m),h.addEventListener("animationend",f),h.addEventListener("animationcancel",f)},[]),R.useEffect(()=>{const h=p.current,m=()=>{h.removeEventListener("animationend",m),i?Dx(h,d,o):d()};g||(u?m():(x.current=1,h.className+=` ${w}`,h.addEventListener("animationend",m)))},[g]),C.createElement(C.Fragment,null,s)}}function Sd(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 Re=new Map;let ji=[];const Ps=new Set,Ix=e=>Ps.forEach(t=>t(e)),Um=()=>Re.size>0;function $m(e,t){var n;if(t)return!((n=Re.get(t))==null||!n.isToastActive(e));let r=!1;return Re.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function Vm(e,t){bs(e)&&(Um()||ji.push({content:e,options:t}),Re.forEach(n=>{n.buildToast(e,t)}))}function kd(e,t){Re.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 Ax(e){const{subscribe:t,getSnapshot:n,setProps:r}=R.useRef(function(o){const a=o.containerId||1;return{subscribe(s){const c=function(d,p,g){let j=1,y=0,w=[],x=[],h=[],m=p;const f=new Map,v=new Set,N=()=>{h=Array.from(f.values()),v.forEach(S=>S())},E=S=>{x=S==null?[]:x.filter(P=>P!==S),N()},k=S=>{const{toastId:P,onOpen:A,updateId:z,children:Y}=S.props,W=z==null;S.staleId&&f.delete(S.staleId),f.set(P,S),x=[...x,S.props.toastId].filter(H=>H!==S.staleId),N(),g(Sd(S,W?"added":"updated")),W&&Ke(A)&&A(R.isValidElement(Y)&&Y.props)};return{id:d,props:m,observe:S=>(v.add(S),()=>v.delete(S)),toggle:(S,P)=>{f.forEach(A=>{P!=null&&P!==A.props.toastId||Ke(A.toggle)&&A.toggle(S)})},removeToast:E,toasts:f,clearQueue:()=>{y-=w.length,w=[]},buildToast:(S,P)=>{if((M=>{let{containerId:U,toastId:$,updateId:q}=M;const K=U?U!==d:d!==1,Q=f.has($)&&q==null;return K||Q})(P))return;const{toastId:A,updateId:z,data:Y,staleId:W,delay:H}=P,O=()=>{E(A)},L=z==null;L&&y++;const V={...m,style:m.toastStyle,key:j++,...Object.fromEntries(Object.entries(P).filter(M=>{let[U,$]=M;return $!=null})),toastId:A,updateId:z,data:Y,closeToast:O,isIn:!1,className:wo(P.className||m.toastClassName),bodyClassName:wo(P.bodyClassName||m.bodyClassName),progressClassName:wo(P.progressClassName||m.progressClassName),autoClose:!P.isLoading&&(b=P.autoClose,_=m.autoClose,b===!1||xi(b)&&b>0?b:_),deleteToast(){const M=f.get(A),{onClose:U,children:$}=M.props;Ke(U)&&U(R.isValidElement($)&&$.props),g(Sd(M,"removed")),f.delete(A),y--,y<0&&(y=0),w.length>0?k(w.shift()):N()}};var b,_;V.closeButton=m.closeButton,P.closeButton===!1||bs(P.closeButton)?V.closeButton=P.closeButton:P.closeButton===!0&&(V.closeButton=!bs(m.closeButton)||m.closeButton);let D=S;R.isValidElement(S)&&!Pn(S.type)?D=R.cloneElement(S,{closeToast:O,toastProps:V,data:Y}):Ke(S)&&(D=S({closeToast:O,toastProps:V,data:Y}));const I={content:D,props:V,staleId:W};m.limit&&m.limit>0&&y>m.limit&&L?w.push(I):xi(H)?setTimeout(()=>{k(I)},H):k(I)},setProps(S){m=S},setToggle:(S,P)=>{f.get(S).toggle=P},isToastActive:S=>x.some(P=>P===S),getSnapshot:()=>m.newestOnTop?h.reverse():h}}(a,o,Ix);Re.set(a,c);const u=c.observe(s);return ji.forEach(d=>Vm(d.content,d.options)),ji=[],()=>{u(),Re.delete(a)}},setProps(s){var c;(c=Re.get(a))==null||c.setProps(s)},getSnapshot(){var s;return(s=Re.get(a))==null?void 0:s.getSnapshot()}}}(e)).current;r(e);const i=R.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:$m,count:i==null?void 0:i.length}}function Mx(e){const[t,n]=R.useState(!1),[r,i]=R.useState(!1),o=R.useRef(null),a=R.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,j;function y(){n(!0)}function w(){n(!1)}function x(f){const v=o.current;a.canDrag&&v&&(a.didMove=!0,t&&w(),a.delta=e.draggableDirection==="x"?f.clientX-a.start:f.clientY-a.start,a.start!==f.clientX&&(a.canCloseOnClick=!1),v.style.transform=`translate3d(${e.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,v.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")}}(j=Re.get((g={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||j.setToggle(g.id,g.fn),R.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||w(),window.addEventListener("focus",y),window.addEventListener("blur",w),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",w)}},[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 v=o.current;a.canCloseOnClick=!0,a.canDrag=!0,v.style.transition="none",e.draggableDirection==="x"?(a.start=f.clientX,a.removalDistance=v.offsetWidth*(e.draggablePercent/100)):(a.start=f.clientY,a.removalDistance=v.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(f){const{top:v,bottom:N,left:E,right:k}=o.current.getBoundingClientRect();f.nativeEvent.type!=="touchend"&&e.pauseOnHover&&f.clientX>=E&&f.clientX<=k&&f.clientY>=v&&f.clientY<=N?w():y()}};return s&&c&&(m.onMouseEnter=w,e.stacked||(m.onMouseLeave=y)),p&&(m.onClick=f=>{d&&d(f),a.canCloseOnClick&&u()}),{playToast:y,pauseToast:w,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:m}}function Lx(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 j=o||c&&u===0,y={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(y.transform=`scaleX(${u})`);const w=Jt("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=Ke(a)?a({rtl:d,type:i,defaultClassName:w}):Jt(w,a),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{p&&r()}};return C.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":j},C.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${i}`}),C.createElement("div",{role:"progressbar","aria-hidden":j?"true":"false","aria-label":"notification timer",className:x,style:y,...h}))}let Fx=1;const Wm=()=>""+Fx++;function zx(e){return e&&(Pn(e.toastId)||xi(e.toastId))?e.toastId:Wm()}function Gr(e,t){return Vm(e,t),t.toastId}function rl(e,t){return{...t,type:t&&t.type||e,toastId:zx(t)}}function Xi(e){return(t,n)=>Gr(t,rl(e,n))}function J(e,t){return Gr(e,rl("default",t))}J.loading=(e,t)=>Gr(e,rl("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 j={type:d,...s,...n,data:g},y=Pn(p)?{render:p}:p;return r?J.update(r,{...j,...y}):J(y.render,{...j,...y}),g},u=Ke(e)?e():e;return u.then(d=>c("success",a,d)).catch(d=>c("error",o,d)),u},J.success=Xi("success"),J.info=Xi("info"),J.error=Xi("error"),J.warning=Xi("warning"),J.warn=J.warning,J.dark=(e,t)=>Gr(e,rl("default",{theme:"dark",...t})),J.dismiss=function(e){(function(t){var n;if(Um()){if(t==null||Pn(n=t)||xi(n))Re.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=Re.get(t.containerId);r?r.removeToast(t.id):Re.forEach(i=>{i.removeToast(t.id)})}}else ji=ji.filter(r=>t!=null&&r.options.toastId!==t)})(e)},J.clearWaitingQueue=function(e){e===void 0&&(e={}),Re.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},J.isActive=$m,J.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var o;let{containerId:a}=i;return(o=Re.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:Wm()};o.toastId!==e&&(o.staleId=e);const a=o.render||i;delete o.render,Gr(a,o)}},J.done=e=>{J.update(e,{progress:1})},J.onChange=function(e){return Ps.add(e),()=>{Ps.delete(e)}},J.play=e=>kd(!0,e),J.pause=e=>kd(!1,e);const Bx=typeof window<"u"?R.useLayoutEffect:R.useEffect,Zi=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})},ga={info:function(e){return C.createElement(Zi,{...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(Zi,{...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(Zi,{...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(Zi,{...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"})}},Ux=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:o}=Mx(e),{closeButton:a,children:s,autoClose:c,onClick:u,type:d,hideProgressBar:p,closeToast:g,transition:j,position:y,className:w,style:x,bodyClassName:h,bodyStyle:m,progressClassName:f,progressStyle:v,updateId:N,role:E,progress:k,rtl:S,toastId:P,deleteToast:A,isIn:z,isLoading:Y,closeOnClick:W,theme:H}=e,O=Jt("Toastify__toast",`Toastify__toast-theme--${H}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":W}),L=Ke(w)?w({rtl:S,position:y,type:d,defaultClassName:O}):Jt(O,w),V=function(I){let{theme:M,type:U,isLoading:$,icon:q}=I,K=null;const Q={theme:M,type:U};return q===!1||(Ke(q)?K=q({...Q,isLoading:$}):R.isValidElement(q)?K=R.cloneElement(q,Q):$?K=ga.spinner():(X=>X in ga)(U)&&(K=ga[U](Q))),K}(e),b=!!k||!c,_={closeToast:g,type:d,theme:H};let D=null;return a===!1||(D=Ke(a)?a(_):R.isValidElement(a)?R.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:q=>{q.stopPropagation(),M(q)},"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(j,{isIn:z,done:A,position:y,preventExitTransition:n,nodeRef:r,playToast:o},C.createElement("div",{id:P,onClick:u,"data-in":z,className:L,...i,style:x,ref:r},C.createElement("div",{...z&&{role:E},className:Ke(h)?h({type:d}):Jt("Toastify__toast-body",h),style:m},V!=null&&C.createElement("div",{className:Jt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Y})},V),C.createElement("div",null,s)),D,C.createElement(Lx,{...N&&!b?{key:`pb-${N}`}:{},rtl:S,theme:H,delay:c,isRunning:t,isIn:z,closeToast:g,hide:p,type:d,style:v,className:f,controlledProgress:b,progress:k||0})))},Dl=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},$x=Rl(Dl("bounce",!0));Rl(Dl("slide",!0));Rl(Dl("zoom"));Rl(Dl("flip"));const Vx={position:"top-right",transition:$x,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Wx(e){let t={...Vx,...e};const n=e.stacked,[r,i]=R.useState(!0),o=R.useRef(null),{getToastToRender:a,isToastActive:s,count:c}=Ax(t),{className:u,style:d,rtl:p,containerId:g}=t;function j(w){const x=Jt("Toastify__toast-container",`Toastify__toast-container--${w}`,{"Toastify__toast-container--rtl":p});return Ke(u)?u({position:w,rtl:p,defaultClassName:x}):Jt(x,wo(u))}function y(){n&&(i(!0),J.play())}return Bx(()=>{if(n){var w;const x=o.current.querySelectorAll('[data-in="true"]'),h=12,m=(w=t.position)==null?void 0:w.includes("top");let f=0,v=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?v:0))),f+=k.offsetHeight,v+=.025})}},[r,c,n]),C.createElement("div",{ref:o,className:"Toastify",id:g,onMouseEnter:()=>{n&&(i(!1),J.pause())},onMouseLeave:y},a((w,x)=>{const h=x.length?{...d}:{...d,pointerEvents:"none"};return C.createElement("div",{className:j(w),style:h,key:`container-${w}`},x.map(m=>{let{content:f,props:v}=m;return C.createElement(Ux,{...v,stacked:n,collapseAll:y,isIn:s(v.toastId,v.containerId),style:v.style,key:`toast-${v.key}`},f)}))}))}const nt=()=>{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(me,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),l.jsx("li",{children:l.jsx(me,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),l.jsx("li",{children:l.jsx(me,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),l.jsx("li",{children:l.jsx(me,{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",We=()=>{var i,o;const{user:e}=gt(a=>({...a.auth})),t=mn(),n=Ti(),r=()=>{t(k1()),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(me,{to:"/",className:"nav-link",children:"Home"})}),l.jsx("li",{className:"nav-item",children:l.jsx(me,{to:"/services",className:"nav-link",children:"Services"})}),l.jsx("li",{className:"nav-item",children:l.jsx(me,{to:"/searchmyproperties",className:"nav-link",children:"Search"})}),l.jsx("li",{className:"nav-item",children:l.jsx(me,{to:"/about",className:"nav-link",children:"About"})}),l.jsx("li",{className:"nav-item",children:l.jsx(me,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?l.jsx(me,{to:"/dashboard",children:"Dashboard"}):l.jsx(me,{to:"/register",className:"nav-link",children:"Register"}),(o=e==null?void 0:e.result)!=null&&o._id?l.jsx(me,{to:"/login",children:l.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):l.jsx(me,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},qx=()=>l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]}),Yx=()=>l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]}),Kx=()=>l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]});var Ct=function(){return Ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=R.useState(xj),[n,r]=R.useState(!1),{loading:i,error:o}=gt(N=>({...N.auth})),{title:a,email:s,password:c,firstName:u,middleName:d,lastName:p,confirmPassword:g,termsconditions:j,userType:y}=e,w=mn(),x=Ti();R.useEffect(()=>{o&&J.error(o)},[o]),R.useEffect(()=>{r(a!=="None"&&s&&c&&u&&d&&p&&g&&j&&y!=="")},[a,s,c,u,d,p,g,j,y]);const h=N=>{if(N.preventDefault(),c!==g)return J.error("Password should match");n?w(vo({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:P}=N.target;t(S==="checkbox"?A=>({...A,[E]:P}):A=>({...A,[E]:E==="email"||E==="password"||E==="confirmPassword"?k:m(k)}))},v=N=>{t(E=>({...E,userType:N.target.value}))};return l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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:y==="Lender",onChange:v,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:y==="Borrower",onChange:v,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:j,name:"termsconditions",checked:j,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(Hm.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(nt,{})]})},wj={email:"",password:""},Nj=()=>{const[e,t]=R.useState(wj),{loading:n,error:r}=gt(d=>({...d.auth})),{email:i,password:o}=e,a=mn(),s=Ti();R.useEffect(()=>{r&&J.error(r)},[r]);const c=d=>{d.preventDefault(),i&&o&&a(ho({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(We,{}),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(Hm.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(me,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),l.jsx(me,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),l.jsx("div",{className:"row",children:l.jsx("div",{className:"col-12"})})]})})})]})})}),l.jsx(nt,{})]})},Ej="/assets/samplepic-BM_cnzgz.jpg";var qm={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(eh,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(j){return j&&j.__esModule?j:{default:j}}function a(j,y){if(!(j instanceof y))throw new TypeError("Cannot call a class as a function")}function s(j,y){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||typeof y!="object"&&typeof y!="function"?j:y}function c(j,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);j.prototype=Object.create(y&&y.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(j,y):j.__proto__=y)}Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function j(y,w){for(var x=0;x1)for(var N=1;N1?d-1:0),g=1;g2?p-2:0),j=2;j1){for(var H=Array(W),O=0;O"u"||S.$$typeof!==h)){var V=typeof v=="function"?v.displayName||v.name||"Unknown":v;P&&c(S,V),A&&u(S,V)}return f(v,P,A,z,Y,j.current,S)},f.createFactory=function(v){var N=f.createElement.bind(null,v);return N.type=v,N},f.cloneAndReplaceKey=function(v,N){var E=f(v.type,N,v.ref,v._self,v._source,v._owner,v.props);return E},f.cloneElement=function(v,N,E){var k,S=g({},v.props),P=v.key,A=v.ref,z=v._self,Y=v._source,W=v._owner;if(N!=null){a(N)&&(A=N.ref,W=j.current),s(N)&&(P=""+N.key);var H;v.type&&v.type.defaultProps&&(H=v.type.defaultProps);for(k in N)x.call(N,k)&&!m.hasOwnProperty(k)&&(N[k]===void 0&&H!==void 0?S[k]=H[k]:S[k]=N[k])}var O=arguments.length-2;if(O===1)S.children=E;else if(O>1){for(var L=Array(O),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=v.uniqueKey||(v.uniqueKey={}),P=c(k);if(!S[P]){S[P]=!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',P,A,j.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++)q[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(!q.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=q,Q}}return D}function P(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&&P(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(_,H),f(_,b),f(_,O),_.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,_){v(b,_)},autobind:function(){}},H={componentDidMount:function(){this.__isMounted=!0}},O={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,y.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,j="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,j,y,w){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.",y||"React class",j,x),h=p[x](g,x,y,j,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).",y||"React class",j,x,typeof h),h instanceof Error&&!(h.message in d)){d[h.message]=!0;var m=w?w():"";c(!1,"Failed %s type: %s%s",j,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 j(I){var M=I&&(V&&I[V]||I[b]);if(typeof M=="function")return M}function y(I,M){return I===M?I!==0||1/I===1/M:I!==I&&M!==M}function w(I){this.message=I,this.stack=""}function x(I){function M(K,Q,X,te,re,ye,Di){if(te=te||_,ye=ye||X,Di!==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 Mc=te+":"+X;!U[Mc]&&$<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[Mc]=!0,$++)}}return Q[X]==null?K?new w(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 q=M.bind(null,!1);return q.isRequired=M.bind(null,!0),q}function h(I){function M(U,$,q,K,Q,X){var te=U[$],re=W(te);if(re!==I){var ye=H(te);return new w("Invalid "+K+" `"+Q+"` of type "+("`"+ye+"` supplied to `"+q+"`, expected ")+("`"+I+"`."))}return null}return x(M)}function m(){return x(a.thatReturnsNull)}function f(I){function M(U,$,q,K,Q){if(typeof I!="function")return new w("Property `"+Q+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var X=U[$];if(!Array.isArray(X)){var te=W(X);return new w("Invalid "+K+" `"+Q+"` of type "+("`"+te+"` supplied to `"+q+"`, 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 O(I){var M=H(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:v(),instanceOf:N,node:P(),objectOf:k,oneOf:E,oneOfType:S,shape:A};return w.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 v=f.instancePool.pop();return f.call(v,h,m),v}return new f(h,m)},d=function(h,m,f){var v=this;if(v.instancePool.length){var N=v.instancePool.pop();return v.call(N,h,m,f),N}return new v(h,m,f)},p=function(h,m,f,v){var N=this;if(N.instancePool.length){var E=N.instancePool.pop();return N.call(E,h,m,f,v),E}return new N(h,m,f,v)},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]=R.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images")},r=()=>{e==="Images"&&t("propertydetails")},i=mn(),{status:o,error:a}=gt(v=>v.property),{user:s}=gt(v=>({...v.auth})),[c,u]=R.useState({address:"",city:"",state:"",county:"",zip:"",parcel:"",subdivision:"",legal:"",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]=R.useState(!1),g=(v,N)=>{const E=[...c.images];E[N].file=v.base64,u({...c,images:E})},j=()=>{u({...c,images:[...c.images,{title:"",file:""}]})},y=v=>{const N=c.images.filter((E,k)=>k!==v);u({...c,images:N})},w=(v,N)=>{const E=[...c.images];E[v].title=N.target.value,u({...c,images:E})},x=(v,N,E)=>{const{name:k,value:S}=v.target;if(E==="propertyTaxInfo"){const P=[...c.propertyTaxInfo];P[N][k]=S,u({...c,propertyTaxInfo:P})}else u({...c,[k]:S})},h=()=>{u({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},m=v=>{const N=c.propertyTaxInfo.filter((E,k)=>k!==v);u({...c,propertyTaxInfo:N})},f=()=>{var v,N,E,k,S,P;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&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:(v=s==null?void 0:s.result)==null?void 0:v.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:(P=s==null?void 0:s.result)==null?void 0:P.userId};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?A.propertyTaxInfo=c.propertyTaxInfo:A.propertyTaxInfo=[],i(go(A)),p(!0)}else J.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return R.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(We,{}),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.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((v,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:v.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:v.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:v.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:v.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((v,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:v.title,placeholder:"Image Title",onChange:E=>w(N,E)})}),l.jsx("div",{className:"col-md-4",children:l.jsx(kj,{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:()=>y(N),children:"Delete"})}),v.file&&l.jsx("div",{className:"col-md-12",children:l.jsx("img",{src:v.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},N)),l.jsx("button",{type:"button",className:"btn btn-primary",onClick:j,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"})]})]})]})})},Ym="/assets/propertydummy-DhVEZ7jN.jpg",Cj=()=>{var c;const e=mn(),{user:t}=gt(u=>({...u.auth})),{userProperties:n,totalPages:r}=gt(u=>u.property),[i,o]=R.useState(1),a=5;R.useEffect(()=>{e(xo({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:Ym,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(me,{to:`/property/${u.propertyId}`,target:"_blank",children:[u.title,"....."]})]}),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(me,{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(me,{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."})})},bj=()=>{const{user:e}=gt(i=>({...i.auth})),[t,n]=R.useState("dashboard"),r=()=>{switch(t){case"addProperty":return l.jsx(_j,{});case"activeProperties":return l.jsxs("div",{children:[l.jsx("h3",{children:"Active Properties"}),l.jsx(Cj,{})]});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(We,{}),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:Ej,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(nt,{})]})};var Km={exports:{}},Pj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Oj=Pj,Tj=Oj;function Qm(){}function Gm(){}Gm.resetWarningCache=Qm;var Rj=function(){function e(r,i,o,a,s,c){if(c!==Tj){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:Gm,resetWarningCache:Qm};return n.PropTypes=n,n};Km.exports=Rj();var Dj=Km.exports;const Ij=Ts(Dj),Aj=()=>{const[e,t]=R.useState(3),n=Ti();return R.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"]})})},Os=({children:e})=>{const{user:t}=gt(n=>({...n.auth}));return t?e:l.jsx(Aj,{})};Os.propTypes={children:Ij.node.isRequired};const Mj=()=>{const e=mn(),{id:t,token:n}=Ri();return R.useEffect(()=>{e(yo({id:t,token:n}))},[e,t,n]),l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(me,{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(nt,{})]})},Lj=()=>{const[e,t]=R.useState(""),[n,r]=R.useState(""),i="http://67.225.129.127:3002",o=async()=>{try{const a=await se.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(We,{}),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(me,{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(nt,{})]})]})},Fj=()=>{const{userId:e,token:t}=Ri(),[n,r]=R.useState(""),[i,o]=R.useState(""),[a,s]=R.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 se.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 R.useEffect(()=>{J.dismiss()},[]),l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]})},zj=()=>l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]}),Bj=()=>{const{id:e}=Ri(),t=mn(),{selectedProperty:n,status:r,error:i}=gt(o=>o.property);return R.useEffect(()=>{e&&t(Qr(e))},[e,t]),r==="loading"?l.jsx("p",{children:"Loading property details..."}):r==="failed"?l.jsxs("p",{children:["Error loading property: ",i]}):l.jsx(l.Fragment,{children:l.jsx("div",{className:"container property-view",children:n?l.jsxs("div",{className:"property-details",children:[l.jsx("h1",{children:n.title}),l.jsxs("p",{children:["Email: ",n.useremail]})]}):l.jsx("p",{children:"Property not found."})})})},Uj=()=>{const[e,t]=R.useState([]),[n,r]=R.useState(0),[i,o]=R.useState(0),[a]=R.useState(10),[s,c]=R.useState(""),[u,d]=R.useState(!1),[p,g]=R.useState(!1),j=async()=>{d(!0),g(!1);try{const h=await se.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)}},y=h=>{c(h.target.value),h.target.value.trim()===""&&(o(0),t([]),r(0),g(!1),j())},w=h=>{h.key==="Enter"&&(h.preventDefault(),j())};R.useEffect(()=>{j()},[s,i]);const x=Math.ceil(n/a);return l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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:y,onKeyDown:w})})})})})})})})})}),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(me,{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(nt,{})]})},$j=()=>l.jsxs(l.Fragment,{children:[l.jsx(We,{}),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(nt,{})]}),Vj=()=>{const{house_id:e}=Ri();console.log("house_id",e);const[t,n]=R.useState(null),[r,i]=R.useState(!0);return R.useEffect(()=>{(async()=>{try{const a=await se.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(We,{}),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:Ym,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(nt,{})]})},Wj=()=>{const{id:e}=Ri(),t=mn(),{selectedProperty:n}=gt(s=>s.property),[r,i]=R.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""});R.useEffect(()=>{t(Qr(e))},[t,e]),R.useEffect(()=>{n&&i({propertyType:n.propertyType,title:n.title,yearBuild:n.yearBuild,totalSqft:n.totalSqft})},[n]);const o=s=>{i({...r,[s.target.name]:s.target.value})},a=s=>{s.preventDefault(),t(jo({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:"title",value:r.title,onChange:o,placeholder:"Property title",required:!0}),l.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),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=()=>l.jsxs(_x,{children:[l.jsx(Wx,{}),l.jsxs(gx,{children:[l.jsx(be,{path:"/",element:l.jsx(qx,{})}),l.jsx(be,{path:"/about",element:l.jsx(Yx,{})}),l.jsx(be,{path:"/services",element:l.jsx($j,{})}),l.jsx(be,{path:"/contact",element:l.jsx(Kx,{})}),l.jsx(be,{path:"/register",element:l.jsx(jj,{})}),l.jsx(be,{path:"/registrationsuccess",element:l.jsx(Os,{children:l.jsx(zj,{})})}),l.jsx(be,{path:"/login",element:l.jsx(Nj,{})}),l.jsx(be,{path:"/dashboard",element:l.jsx(Os,{children:l.jsx(bj,{})})}),l.jsx(be,{path:"/users/:id/verify/:token",element:l.jsx(Mj,{})}),l.jsx(be,{path:"/forgotpassword",element:l.jsx(Lj,{})}),l.jsx(be,{path:"/users/resetpassword/:userId/:token",element:l.jsx(Fj,{})}),l.jsx(be,{path:"/property/:id",element:l.jsx(Bj,{})}),l.jsx(be,{path:"/properties/:house_id",element:l.jsx(Vj,{})}),l.jsx(be,{path:"/searchmyproperties",element:l.jsx(Uj,{})}),l.jsx(be,{path:"/editproperty/:id",element:l.jsx(Wj,{})})]})]});zp(document.getElementById("root")).render(l.jsx(R.StrictMode,{children:l.jsx(Yy,{store:T1,children:l.jsx(Hj,{})})})); diff --git a/ef-ui/dist/assets/index-CAj3mSy-.css b/ef-ui/dist/assets/index-DepkKhoc.css similarity index 99% rename from ef-ui/dist/assets/index-CAj3mSy-.css rename to ef-ui/dist/assets/index-DepkKhoc.css index 8ed3a28..ff14e0f 100644 --- a/ef-ui/dist/assets/index-CAj3mSy-.css +++ b/ef-ui/dist/assets/index-DepkKhoc.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:#f9f9f9}.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}: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/assets/index-VmwLz7OH.js b/ef-ui/dist/assets/index-VmwLz7OH.js deleted file mode 100644 index caa21d6..0000000 --- a/ef-ui/dist/assets/index-VmwLz7OH.js +++ /dev/null @@ -1,80 +0,0 @@ -var Vm=Object.defineProperty;var qm=(e,t,n)=>t in e?Vm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ps=(e,t,n)=>qm(e,typeof t!="symbol"?t+"":t,n);function Qm(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function xd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wd={exports:{}},Jl={},jd={exports:{}},D={};/** - * @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 vi=Symbol.for("react.element"),Km=Symbol.for("react.portal"),Ym=Symbol.for("react.fragment"),Xm=Symbol.for("react.strict_mode"),Gm=Symbol.for("react.profiler"),Jm=Symbol.for("react.provider"),Zm=Symbol.for("react.context"),eh=Symbol.for("react.forward_ref"),th=Symbol.for("react.suspense"),nh=Symbol.for("react.memo"),rh=Symbol.for("react.lazy"),Tc=Symbol.iterator;function ih(e){return e===null||typeof e!="object"?null:(e=Tc&&e[Tc]||e["@@iterator"],typeof e=="function"?e:null)}var Nd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sd=Object.assign,Ed={};function hr(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||Nd}hr.prototype.isReactComponent={};hr.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")};hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function kd(){}kd.prototype=hr.prototype;function _a(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||Nd}var Ca=_a.prototype=new kd;Ca.constructor=_a;Sd(Ca,hr.prototype);Ca.isPureReactComponent=!0;var Rc=Array.isArray,_d=Object.prototype.hasOwnProperty,Pa={current:null},Cd={key:!0,ref:!0,__self:!0,__source:!0};function Pd(e,t,n){var r,i={},l=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)_d.call(t,r)&&!Cd.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,$=T[B];if(0>>1;Bi(ke,M))ge<$&&0>i(pt,ke)?(T[B]=pt,T[ge]=M,B=ge):(T[B]=ke,T[re]=M,B=re);else if(ge<$&&0>i(pt,M))T[B]=pt,T[ge]=M,B=ge;else break e}}return F}function i(T,F){var M=T.sortIndex-F.sortIndex;return M!==0?M:T.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var c=[],u=[],d=1,f=null,y=3,j=!1,v=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(T){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=T)r(u),F.sortIndex=F.expirationTime,t(c,F);else break;F=n(u)}}function x(T){if(g=!1,m(T),!v)if(n(c)!==null)v=!0,Ft(k);else{var F=n(u);F!==null&&Me(x,F.startTime-T)}}function k(T,F){v=!1,g&&(g=!1,h(_),_=-1),j=!0;var M=y;try{for(m(F),f=n(c);f!==null&&(!(f.expirationTime>F)||T&&!H());){var B=f.callback;if(typeof B=="function"){f.callback=null,y=f.priorityLevel;var $=B(f.expirationTime<=F);F=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(c)&&r(c),m(F)}else r(c);f=n(c)}if(f!==null)var ae=!0;else{var re=n(u);re!==null&&Me(x,re.startTime-F),ae=!1}return ae}finally{f=null,y=M,j=!1}}var C=!1,P=null,_=-1,b=5,L=-1;function H(){return!(e.unstable_now()-LT||125B?(T.sortIndex=M,t(u,T),n(c)===null&&T===n(u)&&(g?(h(_),_=-1):g=!0,Me(x,M-B))):(T.sortIndex=$,t(c,T),v||j||(v=!0,Ft(k))),T},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(T){var F=y;return function(){var M=y;y=F;try{return T.apply(this,arguments)}finally{y=M}}}})(Ld);bd.exports=Ld;var hh=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 yh=E,Ue=hh;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ho=Object.prototype.hasOwnProperty,vh=/^[: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]*$/,Lc={},Fc={};function gh(e){return ho.call(Fc,e)?!0:ho.call(Lc,e)?!1:vh.test(e)?Fc[e]=!0:(Lc[e]=!0,!1)}function xh(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 wh(e,t,n,r){if(t===null||typeof t>"u"||xh(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 Se(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new Se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new Se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fe[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ta=/[\-:]([a-z])/g;function Ra(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(Ta,Ra);fe[t]=new Se(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(Ta,Ra);fe[t]=new Se(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(Ta,Ra);fe[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function ba(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==l[a]){var c=` -`+i[s].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=s&&0<=a);break}}}finally{Rs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function jh(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=bs(e.type,!1),e;case 11:return e=bs(e.type.render,!1),e;case 1:return e=bs(e.type,!0),e;default:return""}}function xo(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 Dn:return"Fragment";case In:return"Portal";case yo:return"Profiler";case La:return"StrictMode";case vo:return"Suspense";case go:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zd:return(e.displayName||"Context")+".Consumer";case Md:return(e._context.displayName||"Context")+".Provider";case Fa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:xo(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return xo(e(t))}catch{}}return null}function Nh(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 xo(t);case 8:return t===La?"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 rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sh(e){var t=Dd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ri(e){e._valueTracker||(e._valueTracker=Sh(e))}function Ad(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function yl(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 wo(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(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 Bd(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function jo(e,t){Bd(e,t);var n=rn(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")?No(e,t.type,n):t.hasOwnProperty("defaultValue")&&No(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ic(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 No(e,t,n){(t!=="number"||yl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rr=Array.isArray;function er(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=bi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mr={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},Eh=["Webkit","ms","Moz","O"];Object.keys(Mr).forEach(function(e){Eh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mr[t]=Mr[e]})});function Hd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mr.hasOwnProperty(e)&&Mr[e]?(""+t).trim():t+"px"}function Vd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Hd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var kh=G({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 ko(e,t){if(t){if(kh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function _o(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 Co=null;function za(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Po=null,tr=null,nr=null;function Bc(e){if(e=wi(e)){if(typeof Po!="function")throw Error(O(280));var t=e.stateNode;t&&(t=rs(t),Po(e.stateNode,e.type,t))}}function qd(e){tr?nr?nr.push(e):nr=[e]:tr=e}function Qd(){if(tr){var e=tr,t=nr;if(nr=tr=null,Bc(e),t)for(e=0;e>>=0,e===0?32:31-(zh(e)/Ih|0)|0}var Li=64,Fi=4194304;function br(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function wl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=br(a):(l&=s,l!==0&&(r=br(l)))}else s=n&~i,s!==0?r=br(s):l!==0&&(r=br(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function $h(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=Ir),Yc=" ",Xc=!1;function mf(e,t){switch(e){case"keyup":return hy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function vy(e,t){switch(e){case"compositionend":return hf(t);case"keypress":return t.which!==32?null:(Xc=!0,Yc);case"textInput":return e=t.data,e===Yc&&Xc?null:e;default:return null}}function gy(e,t){if(An)return e==="compositionend"||!Ha&&mf(e,t)?(e=ff(),Ji=$a=Ht=null,An=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=eu(n)}}function xf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wf(){for(var e=window,t=yl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=yl(e.document)}return t}function Va(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 Cy(e){var t=wf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xf(n.ownerDocument.documentElement,n)){if(r!==null&&Va(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=tu(n,l);var s=tu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Bn=null,Fo=null,Ar=null,Mo=!1;function nu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mo||Bn==null||Bn!==yl(r)||(r=Bn,"selectionStart"in r&&Va(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}),Ar&&ei(Ar,r)||(Ar=r,r=Sl(Fo,"onSelect"),0Wn||(e.current=$o[Wn],$o[Wn]=null,Wn--)}function W(e,t){Wn++,$o[Wn]=e.current,e.current=t}var ln={},ve=an(ln),Oe=an(!1),_n=ln;function or(e,t){var n=e.type.contextTypes;if(!n)return ln;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 Te(e){return e=e.childContextTypes,e!=null}function kl(){q(Oe),q(ve)}function cu(e,t,n){if(ve.current!==ln)throw Error(O(168));W(ve,t),W(Oe,n)}function Of(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,Nh(e)||"Unknown",i));return G({},n,r)}function _l(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,_n=ve.current,W(ve,e),W(Oe,Oe.current),!0}function uu(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Of(e,t,_n),r.__reactInternalMemoizedMergedChildContext=e,q(Oe),q(ve),W(ve,e)):q(Oe),W(Oe,n)}var Nt=null,is=!1,qs=!1;function Tf(e){Nt===null?Nt=[e]:Nt.push(e)}function Ay(e){is=!0,Tf(e)}function cn(){if(!qs&&Nt!==null){qs=!0;var e=0,t=U;try{var n=Nt;for(U=1;e>=s,i-=s,St=1<<32-ot(t)+i|n<_?(b=P,P=null):b=P.sibling;var L=y(h,P,m[_],x);if(L===null){P===null&&(P=b);break}e&&P&&L.alternate===null&&t(h,P),p=l(L,p,_),C===null?k=L:C.sibling=L,C=L,P=b}if(_===m.length)return n(h,P),Q&&mn(h,_),k;if(P===null){for(;__?(b=P,P=null):b=P.sibling;var H=y(h,P,L.value,x);if(H===null){P===null&&(P=b);break}e&&P&&H.alternate===null&&t(h,P),p=l(H,p,_),C===null?k=H:C.sibling=H,C=H,P=b}if(L.done)return n(h,P),Q&&mn(h,_),k;if(P===null){for(;!L.done;_++,L=m.next())L=f(h,L.value,x),L!==null&&(p=l(L,p,_),C===null?k=L:C.sibling=L,C=L);return Q&&mn(h,_),k}for(P=r(h,P);!L.done;_++,L=m.next())L=j(P,h,_,L.value,x),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?_:L.key),p=l(L,p,_),C===null?k=L:C.sibling=L,C=L);return e&&P.forEach(function(Ee){return t(h,Ee)}),Q&&mn(h,_),k}function w(h,p,m,x){if(typeof m=="object"&&m!==null&&m.type===Dn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Ti:e:{for(var k=m.key,C=p;C!==null;){if(C.key===k){if(k=m.type,k===Dn){if(C.tag===7){n(h,C.sibling),p=i(C,m.props.children),p.return=h,h=p;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===It&&pu(k)===C.type){n(h,C.sibling),p=i(C,m.props),p.ref=_r(h,C,m),p.return=h,h=p;break e}n(h,C);break}else t(h,C);C=C.sibling}m.type===Dn?(p=Sn(m.props.children,h.mode,x,m.key),p.return=h,h=p):(x=sl(m.type,m.key,m.props,null,h.mode,x),x.ref=_r(h,p,m),x.return=h,h=x)}return s(h);case In:e:{for(C=m.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=i(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=eo(m,h.mode,x),p.return=h,h=p}return s(h);case It:return C=m._init,w(h,p,C(m._payload),x)}if(Rr(m))return v(h,p,m,x);if(jr(m))return g(h,p,m,x);$i(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,m),p.return=h,h=p):(n(h,p),p=Zs(m,h.mode,x),p.return=h,h=p),s(h)):n(h,p)}return w}var cr=Ff(!0),Mf=Ff(!1),Ol=an(null),Tl=null,qn=null,Ya=null;function Xa(){Ya=qn=Tl=null}function Ga(e){var t=Ol.current;q(Ol),e._currentValue=t}function Ho(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 ir(e,t){Tl=e,Ya=qn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function Ze(e){var t=e._currentValue;if(Ya!==e)if(e={context:e,memoizedValue:t,next:null},qn===null){if(Tl===null)throw Error(O(308));qn=e,Tl.dependencies={lanes:0,firstContext:e}}else qn=qn.next=e;return t}var xn=null;function Ja(e){xn===null?xn=[e]:xn.push(e)}function zf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ja(t)):(n.next=i.next,i.next=n),t.interleaved=n,Pt(e,r)}function Pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Dt=!1;function Za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function If(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function kt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Pt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ja(r)):(t.next=i.next,i.next=t),r.interleaved=t,Pt(e,n)}function el(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,Da(e,n)}}function mu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Rl(e,t,n,r){var i=e.updateQueue;Dt=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var c=a,u=c.next;c.next=null,s===null?l=u:s.next=u,s=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(l!==null){var f=i.baseState;s=0,d=u=c=null,a=l;do{var y=a.lane,j=a.eventTime;if((r&y)===y){d!==null&&(d=d.next={eventTime:j,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,g=a;switch(y=t,j=n,g.tag){case 1:if(v=g.payload,typeof v=="function"){f=v.call(j,f,y);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=g.payload,y=typeof v=="function"?v.call(j,f,y):v,y==null)break e;f=G({},f,y);break e;case 2:Dt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[a]:y.push(a))}else j={eventTime:j,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=j,c=f):d=d.next=j,s|=y;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;y=a,a=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);On|=s,e.lanes=s,e.memoizedState=f}}function hu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ks.transition;Ks.transition={};try{e(!1),t()}finally{U=n,Ks.transition=r}}function ep(){return et().memoizedState}function Wy(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tp(e))np(t,n);else if(n=zf(e,t,n,r),n!==null){var i=je();at(n,e,r,i),rp(n,t,r)}}function Hy(e,t,n){var r=en(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tp(e))np(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,a=l(s,n);if(i.hasEagerState=!0,i.eagerState=a,ut(a,s)){var c=t.interleaved;c===null?(i.next=i,Ja(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=zf(e,t,i,r),n!==null&&(i=je(),at(n,e,r,i),rp(n,t,r))}}function tp(e){var t=e.alternate;return e===X||t!==null&&t===X}function np(e,t){Br=Ll=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Da(e,n)}}var Fl={readContext:Ze,useCallback:pe,useContext:pe,useEffect:pe,useImperativeHandle:pe,useInsertionEffect:pe,useLayoutEffect:pe,useMemo:pe,useReducer:pe,useRef:pe,useState:pe,useDebugValue:pe,useDeferredValue:pe,useTransition:pe,useMutableSource:pe,useSyncExternalStore:pe,useId:pe,unstable_isNewReconciler:!1},Vy={readContext:Ze,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Ze,useEffect:vu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nl(4194308,4,Yf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nl(4194308,4,e,t)},useInsertionEffect:function(e,t){return nl(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();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=Wy.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:yu,useDebugValue:oc,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=yu(!1),t=e[0];return e=Uy.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,i=ht();if(Q){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),oe===null)throw Error(O(349));Pn&30||$f(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,vu(Wf.bind(null,r,l,e),[e]),r.flags|=2048,ai(9,Uf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=ht(),t=oe.identifierPrefix;if(Q){var n=Et,r=St;n=(r&~(1<<32-ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=si++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[vt]=t,e[ri]=r,pp(e,t,!1,!1),t.stateNode=e;e:{switch(s=_o(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;ifr&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304)}else{if(!r)if(e=bl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!Q)return me(t),null}else 2*te()-l.renderingStartTime>fr&&n!==1073741824&&(t.flags|=128,r=!0,Cr(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=te(),t.sibling=null,n=Y.current,W(Y,r?n&1|2:n&1),t):(me(t),null);case 22:case 23:return pc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ze&1073741824&&(me(t),t.subtreeFlags&6&&(t.flags|=8192)):me(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Zy(e,t){switch(Qa(t),t.tag){case 1:return Te(t.type)&&kl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ur(),q(Oe),q(ve),nc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tc(t),null;case 13:if(q(Y),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(Y),null;case 4:return ur(),null;case 10:return Ga(t.type._context),null;case 22:case 23:return pc(),null;case 24:return null;default:return null}}var Wi=!1,ye=!1,ev=typeof WeakSet=="function"?WeakSet:Set,R=null;function Qn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function Zo(e,t,n){try{n()}catch(r){J(e,t,r)}}var Pu=!1;function tv(e,t){if(zo=jl,e=wf(),Va(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,a=-1,c=-1,u=0,d=0,f=e,y=null;t:for(;;){for(var j;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==l||r!==0&&f.nodeType!==3||(c=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(j=f.firstChild)!==null;)y=f,f=j;for(;;){if(f===e)break t;if(y===n&&++u===i&&(a=s),y===l&&++d===r&&(c=s),(j=f.nextSibling)!==null)break;f=y,y=f.parentNode}f=j}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Io={focusedElem:e,selectionRange:n},jl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,w=v.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:rt(t.type,g),w);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(x){J(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return v=Pu,Pu=!1,v}function $r(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&&Zo(t,n,l)}i=i.next}while(i!==r)}}function os(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 ea(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 yp(e){var t=e.alternate;t!==null&&(e.alternate=null,yp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[ri],delete t[Bo],delete t[Iy],delete t[Dy])),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 vp(e){return e.tag===5||e.tag===3||e.tag===4}function Ou(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vp(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 ta(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=El));else if(r!==4&&(e=e.child,e!==null))for(ta(e,t,n),e=e.sibling;e!==null;)ta(e,t,n),e=e.sibling}function na(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(na(e,t,n),e=e.sibling;e!==null;)na(e,t,n),e=e.sibling}var ue=null,it=!1;function Mt(e,t,n){for(n=n.child;n!==null;)gp(e,t,n),n=n.sibling}function gp(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(Zl,n)}catch{}switch(n.tag){case 5:ye||Qn(n,t);case 6:var r=ue,i=it;ue=null,Mt(e,t,n),ue=r,it=i,ue!==null&&(it?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(it?(e=ue,n=n.stateNode,e.nodeType===8?Vs(e.parentNode,n):e.nodeType===1&&Vs(e,n),Jr(e)):Vs(ue,n.stateNode));break;case 4:r=ue,i=it,ue=n.stateNode.containerInfo,it=!0,Mt(e,t,n),ue=r,it=i;break;case 0:case 11:case 14:case 15:if(!ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Zo(n,t,s),i=i.next}while(i!==r)}Mt(e,t,n);break;case 1:if(!ye&&(Qn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}Mt(e,t,n);break;case 21:Mt(e,t,n);break;case 22:n.mode&1?(ye=(r=ye)||n.memoizedState!==null,Mt(e,t,n),ye=r):Mt(e,t,n);break;default:Mt(e,t,n)}}function Tu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ev),t.forEach(function(r){var i=uv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~l}if(r=i,r=te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*rv(r/1960))-r,10e?16:e,Vt===null)var r=!1;else{if(e=Vt,Vt=null,Il=0,A&6)throw Error(O(331));var i=A;for(A|=4,R=e.current;R!==null;){var l=R,s=l.child;if(R.flags&16){var a=l.deletions;if(a!==null){for(var c=0;cte()-dc?Nn(e,0):uc|=n),Re(e,t)}function _p(e,t){t===0&&(e.mode&1?(t=Fi,Fi<<=1,!(Fi&130023424)&&(Fi=4194304)):t=1);var n=je();e=Pt(e,t),e!==null&&(gi(e,t,n),Re(e,n))}function cv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_p(e,n)}function uv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),_p(e,n)}var Cp;Cp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Gy(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,Q&&t.flags&1048576&&Rf(t,Pl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rl(e,t),e=t.pendingProps;var i=or(t,ve.current);ir(t,n),i=ic(null,t,r,e,i,n);var l=lc();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,Te(r)?(l=!0,_l(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Za(t),i.updater=ss,t.stateNode=i,i._reactInternals=t,qo(t,r,e,n),t=Yo(null,t,r,!0,l,n)):(t.tag=0,Q&&l&&qa(t),xe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=fv(r),e=rt(r,e),i){case 0:t=Ko(null,t,r,e,n);break e;case 1:t=ku(null,t,r,e,n);break e;case 11:t=Su(null,t,r,e,n);break e;case 14:t=Eu(null,t,r,rt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),Ko(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),ku(e,t,r,i,n);case 3:e:{if(up(t),e===null)throw Error(O(387));r=t.pendingProps,l=t.memoizedState,i=l.element,If(e,t),Rl(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=dr(Error(O(423)),t),t=_u(e,t,r,n,i);break e}else if(r!==i){i=dr(Error(O(424)),t),t=_u(e,t,r,n,i);break e}else for(Ie=Gt(t.stateNode.containerInfo.firstChild),Be=t,Q=!0,lt=null,n=Mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ar(),r===i){t=Ot(e,t,n);break e}xe(e,t,r,n)}t=t.child}return t;case 5:return Df(t),e===null&&Wo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,Do(r,i)?s=null:l!==null&&Do(r,l)&&(t.flags|=32),cp(e,t),xe(e,t,s,n),t.child;case 6:return e===null&&Wo(t),null;case 13:return dp(e,t,n);case 4:return ec(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cr(t,null,r,n):xe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),Su(e,t,r,i,n);case 7:return xe(e,t,t.pendingProps,n),t.child;case 8:return xe(e,t,t.pendingProps.children,n),t.child;case 12:return xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,W(Ol,r._currentValue),r._currentValue=s,l!==null)if(ut(l.value,s)){if(l.children===i.children&&!Oe.current){t=Ot(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){s=l.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(l.tag===1){c=kt(-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),Ho(l.return,n,t),a.lanes|=n;break}c=c.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ho(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}xe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ir(t,n),i=Ze(i),r=r(i),t.flags|=1,xe(e,t,r,n),t.child;case 14:return r=t.type,i=rt(r,t.pendingProps),i=rt(r.type,i),Eu(e,t,r,i,n);case 15:return op(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:rt(r,i),rl(e,t),t.tag=1,Te(r)?(e=!0,_l(t)):e=!1,ir(t,n),ip(t,r,i),qo(t,r,i,n),Yo(null,t,r,!0,e,n);case 19:return fp(e,t,n);case 22:return ap(e,t,n)}throw Error(O(156,t.tag))};function Pp(e,t){return ef(e,t)}function dv(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 Ge(e,t,n,r){return new dv(e,t,n,r)}function hc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fv(e){if(typeof e=="function")return hc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Fa)return 11;if(e===Ma)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=Ge(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 sl(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")hc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Dn:return Sn(n.children,i,l,t);case La:s=8,i|=8;break;case yo:return e=Ge(12,n,t,i|2),e.elementType=yo,e.lanes=l,e;case vo:return e=Ge(13,n,t,i),e.elementType=vo,e.lanes=l,e;case go:return e=Ge(19,n,t,i),e.elementType=go,e.lanes=l,e;case Id:return cs(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Md:s=10;break e;case zd:s=9;break e;case Fa:s=11;break e;case Ma:s=14;break e;case It:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Ge(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function Sn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function cs(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=Id,e.lanes=n,e.stateNode={isHidden:!1},e}function Zs(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function eo(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pv(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=Fs(0),this.expirationTimes=Fs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function yc(e,t,n,r,i,l,s,a,c){return e=new pv(e,t,n,a,c),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ge(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Za(l),e}function mv(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(),Rd.exports=Ve;var xv=Rd.exports,Lp,Du=xv;Lp=Du.createRoot,Du.hydrateRoot;var Fp={exports:{}},Mp={};/** - * @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 Ni=E;function wv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jv=typeof Object.is=="function"?Object.is:wv,Nv=Ni.useSyncExternalStore,Sv=Ni.useRef,Ev=Ni.useEffect,kv=Ni.useMemo,_v=Ni.useDebugValue;Mp.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=Sv(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=kv(function(){function c(j){if(!u){if(u=!0,d=j,j=r(j),i!==void 0&&s.hasValue){var v=s.value;if(i(v,j))return f=v}return f=j}if(v=f,jv(d,j))return v;var g=r(j);return i!==void 0&&i(v,g)?v:(d=j,f=g)}var u=!1,d,f,y=n===void 0?null:n;return[function(){return c(t())},y===null?void 0:function(){return c(y())}]},[t,n,r,i]);var a=Nv(e,l[0],l[1]);return Ev(function(){s.hasValue=!0,s.value=a},[a]),_v(a),a};Fp.exports=Mp;var Cv=Fp.exports,De="default"in mo?N:mo,Au=Symbol.for("react-redux-context"),Bu=typeof globalThis<"u"?globalThis:{};function Pv(){if(!De.createContext)return{};const e=Bu[Au]??(Bu[Au]=new Map);let t=e.get(De.createContext);return t||(t=De.createContext(null),e.set(De.createContext,t)),t}var sn=Pv(),Ov=()=>{throw new Error("uSES not initialized!")};function wc(e=sn){return function(){return De.useContext(e)}}var zp=wc(),Ip=Ov,Tv=e=>{Ip=e},Rv=(e,t)=>e===t;function bv(e=sn){const t=e===sn?zp:wc(e),n=(r,i={})=>{const{equalityFn:l=Rv,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:c,getServerState:u,stabilityCheck:d,identityFunctionCheck:f}=t();De.useRef(!0);const y=De.useCallback({[r.name](v){return r(v)}}[r.name],[r,d,s.stabilityCheck]),j=Ip(c.addNestedSub,a.getState,u||a.getState,y,l);return De.useDebugValue(j),j};return Object.assign(n,{withTypes:()=>n}),n}var dt=bv();function Lv(e){e()}function Fv(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Lv(()=>{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 $u={notify(){},get:()=>[]};function Mv(e,t){let n,r=$u,i=0,l=!1;function s(g){d();const w=r.subscribe(g);let h=!1;return()=>{h||(h=!0,w(),f())}}function a(){r.notify()}function c(){v.onStateChange&&v.onStateChange()}function u(){return l}function d(){i++,n||(n=e.subscribe(c),r=Fv())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=$u)}function y(){l||(l=!0,d())}function j(){l&&(l=!1,f())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:c,isSubscribed:u,trySubscribe:y,tryUnsubscribe:j,getListeners:()=>r};return v}var zv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Iv=typeof navigator<"u"&&navigator.product==="ReactNative",Dv=zv||Iv?De.useLayoutEffect:De.useEffect;function Av({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=De.useMemo(()=>{const u=Mv(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=De.useMemo(()=>e.getState(),[e]);Dv(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,a]);const c=t||sn;return De.createElement(c.Provider,{value:s},n)}var Bv=Av;function Dp(e=sn){const t=e===sn?zp:wc(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var $v=Dp();function Uv(e=sn){const t=e===sn?$v:Dp(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var un=Uv();Tv(Cv.useSyncExternalStoreWithSelector);function ce(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 Wv=typeof Symbol=="function"&&Symbol.observable||"@@observable",Uu=Wv,to=()=>Math.random().toString(36).substring(7).split("").join("."),Hv={INIT:`@@redux/INIT${to()}`,REPLACE:`@@redux/REPLACE${to()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${to()}`},Bl=Hv;function jc(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 Ap(e,t,n){if(typeof e!="function")throw new Error(ce(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ce(1));return n(Ap)(e,t)}let r=e,i=t,l=new Map,s=l,a=0,c=!1;function u(){s===l&&(s=new Map,l.forEach((w,h)=>{s.set(h,w)}))}function d(){if(c)throw new Error(ce(3));return i}function f(w){if(typeof w!="function")throw new Error(ce(4));if(c)throw new Error(ce(5));let h=!0;u();const p=a++;return s.set(p,w),function(){if(h){if(c)throw new Error(ce(6));h=!1,u(),s.delete(p),l=null}}}function y(w){if(!jc(w))throw new Error(ce(7));if(typeof w.type>"u")throw new Error(ce(8));if(typeof w.type!="string")throw new Error(ce(17));if(c)throw new Error(ce(9));try{c=!0,i=r(i,w)}finally{c=!1}return(l=s).forEach(p=>{p()}),w}function j(w){if(typeof w!="function")throw new Error(ce(10));r=w,y({type:Bl.REPLACE})}function v(){const w=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(ce(11));function p(){const x=h;x.next&&x.next(d())}return p(),{unsubscribe:w(p)}},[Uu](){return this}}}return y({type:Bl.INIT}),{dispatch:y,subscribe:f,getState:d,replaceReducer:j,[Uu]:v}}function Vv(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Bl.INIT})>"u")throw new Error(ce(12));if(typeof n(void 0,{type:Bl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function qv(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw a&&a.type,new Error(ce(14));u[f]=v,c=c||v!==j}return c=c||r.length!==Object.keys(s).length,c?u:s}}function $l(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Qv(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(ce(15))};const s={getState:i.getState,dispatch:(c,...u)=>l(c,...u)},a=e.map(c=>c(s));return l=$l(...a)(i.dispatch),{...i,dispatch:l}}}function Kv(e){return jc(e)&&"type"in e&&typeof e.type=="string"}var Bp=Symbol.for("immer-nothing"),Wu=Symbol.for("immer-draftable"),We=Symbol.for("immer-state");function st(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var pr=Object.getPrototypeOf;function Rn(e){return!!e&&!!e[We]}function Tt(e){var t;return e?$p(e)||Array.isArray(e)||!!e[Wu]||!!((t=e.constructor)!=null&&t[Wu])||hs(e)||ys(e):!1}var Yv=Object.prototype.constructor.toString();function $p(e){if(!e||typeof e!="object")return!1;const t=pr(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)===Yv}function Ul(e,t){ms(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function ms(e){const t=e[We];return t?t.type_:Array.isArray(e)?1:hs(e)?2:ys(e)?3:0}function oa(e,t){return ms(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Up(e,t,n){const r=ms(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Xv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hs(e){return e instanceof Map}function ys(e){return e instanceof Set}function yn(e){return e.copy_||e.base_}function aa(e,t){if(hs(e))return new Map(e);if(ys(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=$p(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[We];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Gv),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>Nc(r,!0))),e}function Gv(){st(2)}function vs(e){return Object.isFrozen(e)}var Jv={};function bn(e){const t=Jv[e];return t||st(0,e),t}var ui;function Wp(){return ui}function Zv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Hu(e,t){t&&(bn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ca(e){ua(e),e.drafts_.forEach(e0),e.drafts_=null}function ua(e){e===ui&&(ui=e.parent_)}function Vu(e){return ui=Zv(ui,e)}function e0(e){const t=e[We];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function qu(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[We].modified_&&(ca(t),st(4)),Tt(e)&&(e=Wl(t,e),t.parent_||Hl(t,e)),t.patches_&&bn("Patches").generateReplacementPatches_(n[We].base_,e,t.patches_,t.inversePatches_)):e=Wl(t,n,[]),ca(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Bp?e:void 0}function Wl(e,t,n){if(vs(t))return t;const r=t[We];if(!r)return Ul(t,(i,l)=>Qu(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Hl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,s=!1;r.type_===3&&(l=new Set(i),i.clear(),s=!0),Ul(l,(a,c)=>Qu(e,r,i,a,c,n,s)),Hl(e,i,!1),n&&e.patches_&&bn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Qu(e,t,n,r,i,l,s){if(Rn(i)){const a=l&&t&&t.type_!==3&&!oa(t.assigned_,r)?l.concat(r):void 0,c=Wl(e,i,a);if(Up(n,r,c),Rn(c))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(Tt(i)&&!vs(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Wl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Hl(e,i)}}function Hl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Nc(t,n)}function t0(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Wp(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=Sc;n&&(i=[r],l=di);const{revoke:s,proxy:a}=Proxy.revocable(i,l);return r.draft_=a,r.revoke_=s,a}var Sc={get(e,t){if(t===We)return e;const n=yn(e);if(!oa(n,t))return n0(e,n,t);const r=n[t];return e.finalized_||!Tt(r)?r:r===no(e.base_,t)?(ro(e),e.copy_[t]=fa(r,e)):r},has(e,t){return t in yn(e)},ownKeys(e){return Reflect.ownKeys(yn(e))},set(e,t,n){const r=Hp(yn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=no(yn(e),t),l=i==null?void 0:i[We];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Xv(n,i)&&(n!==void 0||oa(e.base_,t)))return!0;ro(e),da(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 no(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ro(e),da(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=yn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){st(11)},getPrototypeOf(e){return pr(e.base_)},setPrototypeOf(){st(12)}},di={};Ul(Sc,(e,t)=>{di[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});di.deleteProperty=function(e,t){return di.set.call(this,e,t,void 0)};di.set=function(e,t,n){return Sc.set.call(this,e[0],t,n,e[0])};function no(e,t){const n=e[We];return(n?yn(n):e)[t]}function n0(e,t,n){var i;const r=Hp(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Hp(e,t){if(!(t in e))return;let n=pr(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=pr(n)}}function da(e){e.modified_||(e.modified_=!0,e.parent_&&da(e.parent_))}function ro(e){e.copy_||(e.copy_=aa(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var r0=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const s=this;return function(c=l,...u){return s.produce(c,d=>n.call(this,d,...u))}}typeof n!="function"&&st(6),r!==void 0&&typeof r!="function"&&st(7);let i;if(Tt(t)){const l=Vu(this),s=fa(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?ca(l):ua(l)}return Hu(l,r),qu(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Bp&&(i=void 0),this.autoFreeze_&&Nc(i,!0),r){const l=[],s=[];bn("Patches").generateReplacementPatches_(t,i,l,s),r(l,s)}return i}else st(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,c=>t(c,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Tt(e)||st(8),Rn(e)&&(e=i0(e));const t=Vu(this),n=fa(e,void 0);return n[We].isManual_=!0,ua(t),n}finishDraft(e,t){const n=e&&e[We];(!n||!n.isManual_)&&st(9);const{scope_:r}=n;return Hu(r,t),qu(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=bn("Patches").applyPatches_;return Rn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function fa(e,t){const n=hs(e)?bn("MapSet").proxyMap_(e,t):ys(e)?bn("MapSet").proxySet_(e,t):t0(e,t);return(t?t.scope_:Wp()).drafts_.push(n),n}function i0(e){return Rn(e)||st(10,e),Vp(e)}function Vp(e){if(!Tt(e)||vs(e))return e;const t=e[We];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=aa(e,t.scope_.immer_.useStrictShallowCopy_)}else n=aa(e,!0);return Ul(n,(r,i)=>{Up(n,r,Vp(i))}),t&&(t.finalized_=!1),n}var He=new r0,qp=He.produce;He.produceWithPatches.bind(He);He.setAutoFreeze.bind(He);He.setUseStrictShallowCopy.bind(He);He.applyPatches.bind(He);He.createDraft.bind(He);He.finishDraft.bind(He);function Qp(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var l0=Qp(),s0=Qp,o0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?$l:$l.apply(null,arguments)},a0=e=>e&&typeof e.match=="function";function Hr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(ct(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=>Kv(r)&&r.type===e,n}var Kp=class Fr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Fr.prototype)}static get[Symbol.species](){return Fr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Fr(...t[0].concat(this)):new Fr(...t.concat(this))}};function Ku(e){return Tt(e)?qp(e,()=>{}):e}function Yu(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(ct(10));const r=n.insert(t,e);return e.set(t,r),r}function c0(e){return typeof e=="boolean"}var u0=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let s=new Kp;return n&&(c0(n)?s.push(l0):s.push(s0(n.extraArgument))),s},d0="RTK_autoBatch",Yp=e=>t=>{setTimeout(t,e)},f0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yp(10),p0=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,s=!1;const a=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?f0:e.type==="callback"?e.queueNotification:Yp(e.timeout),u=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),y=r.subscribe(f);return a.add(d),()=>{y(),a.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[d0]),l=!i,l&&(s||(s=!0,c(u))),r.dispatch(d)}finally{i=!0}}})},m0=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Kp(e);return r&&i.push(p0(typeof r=="object"?r:void 0)),i};function h0(e){const t=u0(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(jc(n))a=qv(n);else throw new Error(ct(1));let c;typeof r=="function"?c=r(t):c=t();let u=$l;i&&(u=o0({trace:!1,...typeof i=="object"&&i}));const d=Qv(...c),f=m0(d);let y=typeof s=="function"?s(f):f();const j=u(...y);return Ap(a,l,j)}function Xp(e){const t={},n=[];let r;const i={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(ct(28));if(a in t)throw new Error(ct(29));return t[a]=s,i},addMatcher(l,s){return n.push({matcher:l,reducer:s}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function y0(e){return typeof e=="function"}function v0(e,t){let[n,r,i]=Xp(t),l;if(y0(e))l=()=>Ku(e());else{const a=Ku(e);l=()=>a}function s(a=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(Rn(d)){const j=f(d,c);return j===void 0?d:j}else{if(Tt(d))return qp(d,y=>f(y,c));{const y=f(d,c);if(y===void 0){if(d===null)return d;throw new Error(ct(9))}return y}}return d},a)}return s.getInitialState=l,s}var g0=(e,t)=>a0(e)?e.match(t):e(t);function x0(...e){return t=>e.some(n=>g0(n,t))}var w0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",j0=(e=21)=>{let t="",n=e;for(;n--;)t+=w0[Math.random()*64|0];return t},N0=["name","message","stack","code"],io=class{constructor(e,t){Ps(this,"_type");this.payload=e,this.meta=t}},Xu=class{constructor(e,t){Ps(this,"_type");this.payload=e,this.meta=t}},S0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of N0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},bt=(()=>{function e(t,n,r){const i=Hr(t+"/fulfilled",(c,u,d,f)=>({payload:c,meta:{...f||{},arg:d,requestId:u,requestStatus:"fulfilled"}})),l=Hr(t+"/pending",(c,u,d)=>({payload:void 0,meta:{...d||{},arg:u,requestId:c,requestStatus:"pending"}})),s=Hr(t+"/rejected",(c,u,d,f,y)=>({payload:f,error:(r&&r.serializeError||S0)(c||"Rejected"),meta:{...y||{},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 a(c){return(u,d,f)=>{const y=r!=null&&r.idGenerator?r.idGenerator(c):j0(),j=new AbortController;let v,g;function w(p){g=p,j.abort()}const h=async function(){var x,k;let p;try{let C=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,c,{getState:d,extra:f});if(k0(C)&&(C=await C),C===!1||j.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((_,b)=>{v=()=>{b({name:"AbortError",message:g||"Aborted"})},j.signal.addEventListener("abort",v)});u(l(y,c,(k=r==null?void 0:r.getPendingMeta)==null?void 0:k.call(r,{requestId:y,arg:c},{getState:d,extra:f}))),p=await Promise.race([P,Promise.resolve(n(c,{dispatch:u,getState:d,extra:f,requestId:y,signal:j.signal,abort:w,rejectWithValue:(_,b)=>new io(_,b),fulfillWithValue:(_,b)=>new Xu(_,b)})).then(_=>{if(_ instanceof io)throw _;return _ instanceof Xu?i(_.payload,y,c,_.meta):i(_,y,c)})])}catch(C){p=C instanceof io?s(null,y,c,C.payload,C.meta):s(C,y,c)}finally{v&&j.signal.removeEventListener("abort",v)}return r&&!r.dispatchConditionRejection&&s.match(p)&&p.meta.condition||u(p),p}();return Object.assign(h,{abort:w,requestId:y,arg:c,unwrap(){return h.then(E0)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:i,settled:x0(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function E0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function k0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var _0=Symbol.for("rtk-slice-createasyncthunk");function C0(e,t){return`${e}/${t}`}function P0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[_0];return function(i){const{name:l,reducerPath:s=l}=i;if(!l)throw new Error(ct(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(T0()):i.reducers)||{},c=Object.keys(a),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(m,x){const k=typeof m=="string"?m:m.type;if(!k)throw new Error(ct(12));if(k in u.sliceCaseReducersByType)throw new Error(ct(13));return u.sliceCaseReducersByType[k]=x,d},addMatcher(m,x){return u.sliceMatchers.push({matcher:m,reducer:x}),d},exposeAction(m,x){return u.actionCreators[m]=x,d},exposeCaseReducer(m,x){return u.sliceCaseReducersByName[m]=x,d}};c.forEach(m=>{const x=a[m],k={reducerName:m,type:C0(l,m),createNotation:typeof i.reducers=="function"};b0(x)?F0(k,x,d,t):R0(k,x,d)});function f(){const[m={},x=[],k=void 0]=typeof i.extraReducers=="function"?Xp(i.extraReducers):[i.extraReducers],C={...m,...u.sliceCaseReducersByType};return v0(i.initialState,P=>{for(let _ in C)P.addCase(_,C[_]);for(let _ of u.sliceMatchers)P.addMatcher(_.matcher,_.reducer);for(let _ of x)P.addMatcher(_.matcher,_.reducer);k&&P.addDefaultCase(k)})}const y=m=>m,j=new Map;let v;function g(m,x){return v||(v=f()),v(m,x)}function w(){return v||(v=f()),v.getInitialState()}function h(m,x=!1){function k(P){let _=P[m];return typeof _>"u"&&x&&(_=w()),_}function C(P=y){const _=Yu(j,x,{insert:()=>new WeakMap});return Yu(_,P,{insert:()=>{const b={};for(const[L,H]of Object.entries(i.selectors??{}))b[L]=O0(H,P,w,x);return b}})}return{reducerPath:m,getSelectors:C,get selectors(){return C(k)},selectSlice:k}}const p={name:l,reducer:g,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:w,...h(s),injectInto(m,{reducerPath:x,...k}={}){const C=x??s;return m.inject({reducerPath:C,reducer:g},k),{...p,...h(C,!0)}}};return p}}function O0(e,t,n,r){function i(l,...s){let a=t(l);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Ec=P0();function T0(){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 R0({type:e,reducerName:t,createNotation:n},r,i){let l,s;if("reducer"in r){if(n&&!L0(r))throw new Error(ct(17));l=r.reducer,s=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?Hr(e,s):Hr(e))}function b0(e){return e._reducerDefinitionType==="asyncThunk"}function L0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function F0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(ct(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:c,settled:u,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),s&&r.addCase(f.fulfilled,s),a&&r.addCase(f.pending,a),c&&r.addCase(f.rejected,c),u&&r.addMatcher(f.settled,u),r.exposeCaseReducer(t,{fulfilled:s||qi,pending:a||qi,rejected:c||qi,settled:u||qi})}function qi(){}function ct(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 Gp(e,t){return function(){return e.apply(t,arguments)}}const{toString:M0}=Object.prototype,{getPrototypeOf:kc}=Object,gs=(e=>t=>{const n=M0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ft=e=>(e=e.toLowerCase(),t=>gs(t)===e),xs=e=>t=>typeof t===e,{isArray:gr}=Array,fi=xs("undefined");function z0(e){return e!==null&&!fi(e)&&e.constructor!==null&&!fi(e.constructor)&&$e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jp=ft("ArrayBuffer");function I0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jp(e.buffer),t}const D0=xs("string"),$e=xs("function"),Zp=xs("number"),ws=e=>e!==null&&typeof e=="object",A0=e=>e===!0||e===!1,ol=e=>{if(gs(e)!=="object")return!1;const t=kc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},B0=ft("Date"),$0=ft("File"),U0=ft("Blob"),W0=ft("FileList"),H0=e=>ws(e)&&$e(e.pipe),V0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$e(e.append)&&((t=gs(e))==="formdata"||t==="object"&&$e(e.toString)&&e.toString()==="[object FormData]"))},q0=ft("URLSearchParams"),[Q0,K0,Y0,X0]=["ReadableStream","Request","Response","Headers"].map(ft),G0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),gr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tm=e=>!fi(e)&&e!==jn;function pa(){const{caseless:e}=tm(this)&&this||{},t={},n=(r,i)=>{const l=e&&em(t,i)||i;ol(t[l])&&ol(r)?t[l]=pa(t[l],r):ol(r)?t[l]=pa({},r):gr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(Si(t,(i,l)=>{n&&$e(i)?e[l]=Gp(i,n):e[l]=i},{allOwnKeys:r}),e),Z0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),eg=(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)},tg=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&kc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ng=(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},rg=e=>{if(!e)return null;if(gr(e))return e;let t=e.length;if(!Zp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ig=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kc(Uint8Array)),lg=(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])}},sg=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},og=ft("HTMLFormElement"),ag=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Gu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cg=ft("RegExp"),nm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Si(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},ug=e=>{nm(e,(t,n)=>{if($e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($e(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+"'")})}})},dg=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return gr(e)?r(e):r(String(e).split(t)),n},fg=()=>{},pg=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,lo="abcdefghijklmnopqrstuvwxyz",Ju="0123456789",rm={DIGIT:Ju,ALPHA:lo,ALPHA_DIGIT:lo+lo.toUpperCase()+Ju},mg=(e=16,t=rm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function hg(e){return!!(e&&$e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yg=e=>{const t=new Array(10),n=(r,i)=>{if(ws(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=gr(r)?[]:{};return Si(r,(s,a)=>{const c=n(s,i+1);!fi(c)&&(l[a]=c)}),t[i]=void 0,l}}return r};return n(e,0)},vg=ft("AsyncFunction"),gg=e=>e&&(ws(e)||$e(e))&&$e(e.then)&&$e(e.catch),im=((e,t)=>e?setImmediate:t?((n,r)=>(jn.addEventListener("message",({source:i,data:l})=>{i===jn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),jn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$e(jn.postMessage)),xg=typeof queueMicrotask<"u"?queueMicrotask.bind(jn):typeof process<"u"&&process.nextTick||im,S={isArray:gr,isArrayBuffer:Jp,isBuffer:z0,isFormData:V0,isArrayBufferView:I0,isString:D0,isNumber:Zp,isBoolean:A0,isObject:ws,isPlainObject:ol,isReadableStream:Q0,isRequest:K0,isResponse:Y0,isHeaders:X0,isUndefined:fi,isDate:B0,isFile:$0,isBlob:U0,isRegExp:cg,isFunction:$e,isStream:H0,isURLSearchParams:q0,isTypedArray:ig,isFileList:W0,forEach:Si,merge:pa,extend:J0,trim:G0,stripBOM:Z0,inherits:eg,toFlatObject:tg,kindOf:gs,kindOfTest:ft,endsWith:ng,toArray:rg,forEachEntry:lg,matchAll:sg,isHTMLForm:og,hasOwnProperty:Gu,hasOwnProp:Gu,reduceDescriptors:nm,freezeMethods:ug,toObjectSet:dg,toCamelCase:ag,noop:fg,toFiniteNumber:pg,findKey:em,global:jn,isContextDefined:tm,ALPHABET:rm,generateString:mg,isSpecCompliantForm:hg,toJSONObject:yg,isAsyncFn:vg,isThenable:gg,setImmediate:im,asap:xg};function z(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)}S.inherits(z,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:S.toJSONObject(this.config),code:this.code,status:this.status}}});const lm=z.prototype,sm={};["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=>{sm[e]={value:e}});Object.defineProperties(z,sm);Object.defineProperty(lm,"isAxiosError",{value:!0});z.from=(e,t,n,r,i,l)=>{const s=Object.create(lm);return S.toFlatObject(e,s,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),z.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const wg=null;function ma(e){return S.isPlainObject(e)||S.isArray(e)}function om(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Zu(e,t,n){return e?e.concat(t).map(function(i,l){return i=om(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function jg(e){return S.isArray(e)&&!e.some(ma)}const Ng=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function js(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!S.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(i))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(S.isDate(v))return v.toISOString();if(!c&&S.isBlob(v))throw new z("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(v)||S.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,g,w){let h=v;if(v&&!w&&typeof v=="object"){if(S.endsWith(g,"{}"))g=r?g:g.slice(0,-2),v=JSON.stringify(v);else if(S.isArray(v)&&jg(v)||(S.isFileList(v)||S.endsWith(g,"[]"))&&(h=S.toArray(v)))return g=om(g),h.forEach(function(m,x){!(S.isUndefined(m)||m===null)&&t.append(s===!0?Zu([g],x,l):s===null?g:g+"[]",u(m))}),!1}return ma(v)?!0:(t.append(Zu(w,g,l),u(v)),!1)}const f=[],y=Object.assign(Ng,{defaultVisitor:d,convertValue:u,isVisitable:ma});function j(v,g){if(!S.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(v),S.forEach(v,function(h,p){(!(S.isUndefined(h)||h===null)&&i.call(t,h,S.isString(p)?p.trim():p,g,y))===!0&&j(h,g?g.concat(p):[p])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return j(e),t}function ed(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function _c(e,t){this._pairs=[],e&&js(e,this,t)}const am=_c.prototype;am.append=function(t,n){this._pairs.push([t,n])};am.toString=function(t){const n=t?function(r){return t.call(this,r,ed)}:ed;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Sg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cm(e,t,n){if(!t)return e;const r=n&&n.encode||Sg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=S.isURLSearchParams(t)?t.toString():new _c(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class td{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){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}const um={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Eg=typeof URLSearchParams<"u"?URLSearchParams:_c,kg=typeof FormData<"u"?FormData:null,_g=typeof Blob<"u"?Blob:null,Cg={isBrowser:!0,classes:{URLSearchParams:Eg,FormData:kg,Blob:_g},protocols:["http","https","file","blob","url","data"]},Cc=typeof window<"u"&&typeof document<"u",ha=typeof navigator=="object"&&navigator||void 0,Pg=Cc&&(!ha||["ReactNative","NativeScript","NS"].indexOf(ha.product)<0),Og=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tg=Cc&&window.location.href||"http://localhost",Rg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cc,hasStandardBrowserEnv:Pg,hasStandardBrowserWebWorkerEnv:Og,navigator:ha,origin:Tg},Symbol.toStringTag,{value:"Module"})),be={...Rg,...Cg};function bg(e,t){return js(e,new be.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return be.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Lg(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return s=!s&&S.isArray(i)?i.length:s,c?(S.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!S.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&S.isArray(i[s])&&(i[s]=Fg(i[s])),!a)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,i)=>{t(Lg(r),i,n,0)}),n}return null}function Mg(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ei={transitional:um,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=S.isObject(t);if(l&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return i?JSON.stringify(dm(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return bg(t,this.formSerializer).toString();if((a=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return js(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),Mg(t)):t}],transformResponse:[function(t){const n=this.transitional||Ei.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?z.from(a,z.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{Ei.headers[e]={}});const zg=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ig=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&zg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nd=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function al(e){return e===!1||e==null?e:S.isArray(e)?e.map(al):String(e)}function Dg(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 Ag=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function so(e,t,n,r,i){if(S.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function Bg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $g(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Le{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,c,u){const d=Or(c);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(i,d);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=al(a))}const s=(a,c)=>S.forEach(a,(u,d)=>l(u,d,c));if(S.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(S.isString(t)&&(t=t.trim())&&!Ag(t))s(Ig(t),n);else if(S.isHeaders(t))for(const[a,c]of t.entries())l(c,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Or(t),t){const r=S.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Dg(i);if(S.isFunction(n))return n.call(this,i,r);if(S.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Or(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||so(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Or(s),s){const a=S.findKey(r,s);a&&(!n||so(r,r[a],a,n))&&(delete r[a],i=!0)}}return S.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||so(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return S.forEach(this,(i,l)=>{const s=S.findKey(r,l);if(s){n[s]=al(i),delete n[l];return}const a=t?Bg(l):String(l).trim();a!==l&&delete n[l],n[a]=al(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&S.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[nd]=this[nd]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=Or(s);r[a]||($g(i,s),r[a]=!0)}return S.isArray(t)?t.forEach(l):l(t),this}}Le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Le.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(Le);function oo(e,t){const n=this||Ei,r=t||n,i=Le.from(r.headers);let l=r.data;return S.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function fm(e){return!!(e&&e.__CANCEL__)}function xr(e,t,n){z.call(this,e??"canceled",z.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(xr,z,{__CANCEL__:!0});function pm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new z("Request failed with status code "+n.status,[z.ERR_BAD_REQUEST,z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ug(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wg(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[l];s||(s=u),n[i]=c,r[i]=u;let f=l,y=0;for(;f!==i;)y+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),u-s{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?s(u,d):(i=u,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const Vl=(e,t,n=3)=>{let r=0;const i=Wg(50,250);return Hg(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,c=s-r,u=i(c),d=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&d?(a-s)/u:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},rd=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},id=e=>(...t)=>S.asap(()=>e(...t)),Vg=be.hasStandardBrowserEnv?function(){const t=be.navigator&&/(msie|trident)/i.test(be.navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=S.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),qg=be.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),S.isString(r)&&s.push("path="+r),S.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Kg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function mm(e,t){return e&&!Qg(t)?Kg(e,t):t}const ld=e=>e instanceof Le?{...e}:e;function Ln(e,t){t=t||{};const n={};function r(u,d,f){return S.isPlainObject(u)&&S.isPlainObject(d)?S.merge.call({caseless:f},u,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function i(u,d,f){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function l(u,d){if(!S.isUndefined(d))return r(void 0,d)}function s(u,d){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(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:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,d)=>i(ld(u),ld(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=c[d]||i,y=f(e[d],t[d],d);S.isUndefined(y)&&f!==a||(n[d]=y)}),n}const hm=e=>{const t=Ln({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Le.from(s),t.url=cm(mm(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(S.isFormData(n)){if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...d]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...d].join("; "))}}if(be.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&Vg(t.url))){const u=i&&l&&qg.read(l);u&&s.set(i,u)}return t},Yg=typeof XMLHttpRequest<"u",Xg=Yg&&function(e){return new Promise(function(n,r){const i=hm(e);let l=i.data;const s=Le.from(i.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=i,d,f,y,j,v;function g(){j&&j(),v&&v(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function h(){if(!w)return;const m=Le.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),k={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:m,config:e,request:w};pm(function(P){n(P),g()},function(P){r(P),g()},k),w=null}"onloadend"in w?w.onloadend=h:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(h)},w.onabort=function(){w&&(r(new z("Request aborted",z.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new z("Network Error",z.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||um;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new z(x,k.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,e,w)),w=null},l===void 0&&s.setContentType(null),"setRequestHeader"in w&&S.forEach(s.toJSON(),function(x,k){w.setRequestHeader(k,x)}),S.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),a&&a!=="json"&&(w.responseType=i.responseType),u&&([y,v]=Vl(u,!0),w.addEventListener("progress",y)),c&&w.upload&&([f,j]=Vl(c),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",j)),(i.cancelToken||i.signal)&&(d=m=>{w&&(r(!m||m.type?new xr(null,e,w):m),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const p=Ug(i.url);if(p&&be.protocols.indexOf(p)===-1){r(new z("Unsupported protocol "+p+":",z.ERR_BAD_REQUEST,e));return}w.send(l||null)})},Gg=(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,a();const d=u instanceof Error?u:this.reason;r.abort(d instanceof z?d:new xr(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,l(new z(`timeout ${t} of ms exceeded`,z.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=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=()=>S.asap(a),c}},Jg=function*(e,t){let n=e.byteLength;if(!t||n{const i=Zg(e,t);let l=0,s,a=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){a(),c.close();return}let f=d.byteLength;if(n){let y=l+=f;n(y)}c.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(c){return a(c),i.return()}},{highWaterMark:2})},Ns=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ym=Ns&&typeof ReadableStream=="function",t1=Ns&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},n1=ym&&vm(()=>{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),od=64*1024,ya=ym&&vm(()=>S.isReadableStream(new Response("").body)),ql={stream:ya&&(e=>e.body)};Ns&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ql[t]&&(ql[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new z(`Response type '${t}' is not supported`,z.ERR_NOT_SUPPORT,r)})})})(new Response);const r1=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(be.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await t1(e)).byteLength},i1=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??r1(t)},l1=Ns&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:y}=hm(e);u=u?(u+"").toLowerCase():"text";let j=Gg([i,l&&l.toAbortSignal()],s),v;const g=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let w;try{if(c&&n1&&n!=="get"&&n!=="head"&&(w=await i1(d,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(S.isFormData(r)&&(C=k.headers.get("content-type"))&&d.setContentType(C),k.body){const[P,_]=rd(w,Vl(id(c)));r=sd(k.body,od,P,_)}}S.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;v=new Request(t,{...y,signal:j,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let p=await fetch(v);const m=ya&&(u==="stream"||u==="response");if(ya&&(a||m&&g)){const k={};["status","statusText","headers"].forEach(b=>{k[b]=p[b]});const C=S.toFiniteNumber(p.headers.get("content-length")),[P,_]=a&&rd(C,Vl(id(a),!0))||[];p=new Response(sd(p.body,od,P,()=>{_&&_(),g&&g()}),k)}u=u||"text";let x=await ql[S.findKey(ql,u)||"text"](p,e);return!m&&g&&g(),await new Promise((k,C)=>{pm(k,C,{data:x,headers:Le.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:v})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new z("Network Error",z.ERR_NETWORK,e,v),{cause:h.cause||h}):z.from(h,h&&h.code,e,v)}}),va={http:wg,xhr:Xg,fetch:l1};S.forEach(va,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ad=e=>`- ${e}`,s1=e=>S.isFunction(e)||e===null||e===!1,gm={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since : -`+l.map(ad).join(` -`):" "+ad(l[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:va};function ao(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new xr(null,e)}function cd(e){return ao(e),e.headers=Le.from(e.headers),e.data=oo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gm.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return ao(e),r.data=oo.call(e,e.transformResponse,r),r.headers=Le.from(r.headers),r},function(r){return fm(r)||(ao(e),r&&r.response&&(r.response.data=oo.call(e,e.transformResponse,r.response),r.response.headers=Le.from(r.response.headers))),Promise.reject(r)})}const xm="1.7.7",Pc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Pc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ud={};Pc.transitional=function(t,n,r){function i(l,s){return"[Axios v"+xm+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new z(i(s," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!ud[s]&&(ud[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function o1(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],c=a===void 0||s(a,l,e);if(c!==!0)throw new z("option "+l+" must be "+c,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+l,z.ERR_BAD_OPTION)}}const ga={assertOptions:o1,validators:Pc},zt=ga.validators;class En{constructor(t){this.defaults=t,this.interceptors={request:new td,response:new td}}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&&ga.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),i!=null&&(S.isFunction(i)?n.paramsSerializer={serialize:i}:ga.assertOptions(i,{encode:zt.function,serialize:zt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&S.merge(l.common,l[n.method]);l&&S.forEach(["delete","get","head","post","put","patch","common"],v=>{delete l[v]}),n.headers=Le.concat(s,l);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,f=0,y;if(!c){const v=[cd.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,u),y=v.length,d=Promise.resolve(n);f{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new xr(l,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Oc(function(i){t=i}),cancel:t}}}function a1(e){return function(n){return e.apply(null,n)}}function c1(e){return S.isObject(e)&&e.isAxiosError===!0}const xa={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(xa).forEach(([e,t])=>{xa[t]=e});function wm(e){const t=new En(e),n=Gp(En.prototype.request,t);return S.extend(n,En.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return wm(Ln(e,i))},n}const K=wm(Ei);K.Axios=En;K.CanceledError=xr;K.CancelToken=Oc;K.isCancel=fm;K.VERSION=xm;K.toFormData=js;K.AxiosError=z;K.Cancel=K.CanceledError;K.all=function(t){return Promise.all(t)};K.spread=a1;K.isAxiosError=c1;K.mergeConfig=Ln;K.AxiosHeaders=Le;K.formToJSON=e=>dm(S.isHTMLForm(e)?new FormData(e):e);K.getAdapter=gm.getAdapter;K.HttpStatusCode=xa;K.default=K;const u1="http://67.225.129.127:3002",dn=K.create({baseURL:u1});dn.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const d1=e=>dn.post("/users/signup",e),f1=e=>dn.post("/users/signin",e),p1=(e,t,n)=>dn.get(`/users/${e}/verify/${t}`,n),m1=e=>dn.post("/properties",e),h1=(e,t,n)=>dn.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),y1=e=>dn.get(`/properties/${e}`,e),v1=(e,t)=>dn.put(`/properties/${e}`,t),cl=bt("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const r=await f1(e);return t("/dashboard"),r.data}catch(r){return n(r.response.data)}}),ul=bt("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:r})=>{try{const i=await d1(e);return n.success("Register Successfully"),t("/registrationsuccess"),i.data}catch(i){return r(i.response.data)}}),co=bt("auth/updateUser",async({id:e,data:t},{rejectWithValue:n})=>{try{return(await(void 0)(t,e)).data}catch(r){return n(r.response.data)}}),jm=Ec({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(cl.pending,t=>{t.loading=!0}).addCase(cl.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(cl.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(ul.pending,t=>{t.loading=!0}).addCase(ul.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(ul.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(co.pending,t=>{t.loading=!0}).addCase(co.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(co.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message})}}),{setUser:Dw,setLogout:g1,setUserDetails:Aw}=jm.actions,x1=jm.reducer,uo=bt("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)}}),dl=bt("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:r})=>{try{return(await p1(e,t,n)).data.message}catch(i){return r(i.response.data)}}),w1=Ec({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1},reducers:{},extraReducers:e=>{e.addCase(uo.pending,t=>{t.loading=!0}).addCase(uo.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.users=Array.isArray(n.payload)?n.payload:[]}).addCase(uo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(dl.pending,t=>{t.loading=!0,t.error=null}).addCase(dl.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(dl.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),j1=w1.reducer,fl=bt("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await m1(e)).data}catch(n){return t(n.response.data)}}),pl=bt("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:r})=>{try{return(await h1(e,t,n)).data}catch(i){return r(i.response.data)}}),Vr=bt("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await y1(e)).data}catch(n){return t(n.response.data)}}),ml=bt("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await v1(e,t)).data}catch(r){return n(r.response.data)}}),N1=Ec({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1},reducers:{},extraReducers:e=>{e.addCase(fl.pending,t=>{t.status="loading"}).addCase(fl.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(fl.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(pl.pending,t=>{t.loading=!0}).addCase(pl.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(pl.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Vr.pending,t=>{t.status="loading"}).addCase(Vr.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Vr.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(ml.pending,t=>{t.status="loading"}).addCase(ml.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(ml.rejected,(t,n)=>{t.status="failed",t.error=n.payload})}}),S1=N1.reducer,E1=h0({reducer:{auth:x1,user:j1,property:S1}});/** - * @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 pi(){return pi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Nm(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _1(){return Math.random().toString(36).substr(2,8)}function fd(e,t){return{usr:e.state,key:e.key,idx:t}}function wa(e,t,n,r){return n===void 0&&(n=null),pi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wr(t):t,{state:n,key:t&&t.key||r||_1()})}function Ql(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function C1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,s=i.history,a=qt.Pop,c=null,u=d();u==null&&(u=0,s.replaceState(pi({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=qt.Pop;let w=d(),h=w==null?null:w-u;u=w,c&&c({action:a,location:g.location,delta:h})}function y(w,h){a=qt.Push;let p=wa(g.location,w,h);u=d()+1;let m=fd(p,u),x=g.createHref(p);try{s.pushState(m,"",x)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(x)}l&&c&&c({action:a,location:g.location,delta:1})}function j(w,h){a=qt.Replace;let p=wa(g.location,w,h);u=d();let m=fd(p,u),x=g.createHref(p);s.replaceState(m,"",x),l&&c&&c({action:a,location:g.location,delta:0})}function v(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof w=="string"?w:Ql(w);return p=p.replace(/ $/,"%20"),Z(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let g={get action(){return a},get location(){return e(i,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(dd,f),c=w,()=>{i.removeEventListener(dd,f),c=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let h=v(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:y,replace:j,go(w){return s.go(w)}};return g}var pd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pd||(pd={}));function P1(e,t,n){return n===void 0&&(n="/"),O1(e,t,n,!1)}function O1(e,t,n,r){let i=typeof t=="string"?wr(t):t,l=mr(i.pathname||"/",n);if(l==null)return null;let s=Sm(e);T1(s);let a=null;for(let c=0;a==null&&c{let c={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};c.relativePath.startsWith("/")&&(Z(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=nn([r,c.relativePath]),d=n.concat(c);l.children&&l.children.length>0&&(Z(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Sm(l.children,t,d,u)),!(l.path==null&&!l.index)&&t.push({path:u,score:I1(u,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,s);else for(let c of Em(l.path))i(l,s,c)}),t}function Em(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let s=Em(r.join("/")),a=[];return a.push(...s.map(c=>c===""?l:[l,c].join("/"))),i&&a.push(...s),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function T1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:D1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const R1=/^:[\w-]+$/,b1=3,L1=2,F1=1,M1=10,z1=-2,md=e=>e==="*";function I1(e,t){let n=e.split("/"),r=n.length;return n.some(md)&&(r+=z1),t&&(r+=L1),n.filter(i=>!md(i)).reduce((i,l)=>i+(R1.test(l)?b1:l===""?F1:M1),r)}function D1(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 A1(e,t,n){let{routesMeta:r}=e,i={},l="/",s=[];for(let a=0;a{let{paramName:y,isOptional:j}=d;if(y==="*"){let g=a[f]||"";s=l.slice(0,l.length-g.length).replace(/(.)\/+$/,"$1")}const v=a[f];return j&&!v?u[y]=void 0:u[y]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:l,pathnameBase:s,pattern:e}}function B1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nm(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,c)=>(r.push({paramName:a,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 $1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Nm(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function U1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?wr(e):e;return{pathname:n?n.startsWith("/")?n:W1(n,t):t,search:q1(r),hash:Q1(i)}}function W1(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 fo(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 H1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function km(e,t){let n=H1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function _m(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=wr(e):(i=pi({},e),Z(!i.pathname||!i.pathname.includes("?"),fo("?","pathname","search",i)),Z(!i.pathname||!i.pathname.includes("#"),fo("#","pathname","hash",i)),Z(!i.search||!i.search.includes("#"),fo("#","search","hash",i)));let l=e===""||i.pathname==="",s=l?"/":i.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let y=s.split("/");for(;y[0]==="..";)y.shift(),f-=1;i.pathname=y.join("/")}a=f>=0?t[f]:"/"}let c=U1(i,a),u=s&&s!=="/"&&s.endsWith("/"),d=(l||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const nn=e=>e.join("/").replace(/\/\/+/g,"/"),V1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Q1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function K1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Cm=["post","put","patch","delete"];new Set(Cm);const Y1=["get",...Cm];new Set(Y1);/** - * 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 mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),E.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=_m(u,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:nn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,l,e])}function Pi(){let{matches:e}=E.useContext(pn),t=e[e.length-1];return t?t.params:{}}function ks(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=E.useContext(fn),{matches:i}=E.useContext(pn),{pathname:l}=_i(),s=JSON.stringify(km(i,r.v7_relativeSplatPath));return E.useMemo(()=>_m(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function J1(e,t){return Z1(e,t)}function Z1(e,t,n,r){ki()||Z(!1);let{navigator:i}=E.useContext(fn),{matches:l}=E.useContext(pn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let u=_i(),d;if(t){var f;let w=typeof t=="string"?wr(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||Z(!1),d=w}else d=u;let y=d.pathname||"/",j=y;if(c!=="/"){let w=c.replace(/^\//,"").split("/");j="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=P1(e,{pathname:j}),g=ix(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:nn([c,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:nn([c,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n,r);return t&&g?E.createElement(Es.Provider,{value:{location:mi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:qt.Pop}},g):g}function ex(){let e=ax(),t=K1(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 E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:i},n):null,null)}const tx=E.createElement(ex,null);class nx extends E.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?E.createElement(pn.Provider,{value:this.props.routeContext},E.createElement(Om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rx(e){let{routeContext:t,match:n,children:r}=e,i=E.useContext(Ss);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(pn.Provider,{value:t},r)}function ix(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Z(!1),s=s.slice(0,Math.min(s.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,f,y)=>{let j,v=!1,g=null,w=null;n&&(j=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||tx,c&&(u<0&&y===0?(v=!0,w=null):u===y&&(v=!0,w=f.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,y+1)),p=()=>{let m;return j?m=g:v?m=w:f.route.Component?m=E.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=d,E.createElement(rx,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||y===0)?E.createElement(nx,{location:n.location,revalidation:n.revalidation,component:g,error:j,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var Rm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Rm||{}),Yl=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}(Yl||{});function lx(e){let t=E.useContext(Ss);return t||Z(!1),t}function sx(e){let t=E.useContext(Pm);return t||Z(!1),t}function ox(e){let t=E.useContext(pn);return t||Z(!1),t}function bm(e){let t=ox(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function ax(){var e;let t=E.useContext(Om),n=sx(Yl.UseRouteError),r=bm(Yl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function cx(){let{router:e}=lx(Rm.UseNavigateStable),t=bm(Yl.UseNavigateStable),n=E.useRef(!1);return Tm(()=>{n.current=!0}),E.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mi({fromRouteId:t},l)))},[e,t])}function he(e){Z(!1)}function ux(e){let{basename:t="/",children:n=null,location:r,navigationType:i=qt.Pop,navigator:l,static:s=!1,future:a}=e;ki()&&Z(!1);let c=t.replace(/^\/*/,"/"),u=E.useMemo(()=>({basename:c,navigator:l,static:s,future:mi({v7_relativeSplatPath:!1},a)}),[c,a,l,s]);typeof r=="string"&&(r=wr(r));let{pathname:d="/",search:f="",hash:y="",state:j=null,key:v="default"}=r,g=E.useMemo(()=>{let w=mr(d,c);return w==null?null:{location:{pathname:w,search:f,hash:y,state:j,key:v},navigationType:i}},[c,d,f,y,j,v,i]);return g==null?null:E.createElement(fn.Provider,{value:u},E.createElement(Es.Provider,{children:n,value:g}))}function dx(e){let{children:t,location:n}=e;return J1(ja(t),n)}new Promise(()=>{});function ja(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,i)=>{if(!E.isValidElement(r))return;let l=[...t,i];if(r.type===E.Fragment){n.push.apply(n,ja(r.props.children,l));return}r.type!==he&&Z(!1),!r.props.index||!r.props.children||Z(!1);let s={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ja(r.props.children,l)),n.push(s)}),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 Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function fx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function px(e,t){return e.button===0&&(!t||t==="_self")&&!fx(e)}const mx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],hx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],yx="6";try{window.__reactRouterVersion=yx}catch{}const vx=E.createContext({isTransitioning:!1}),gx="startTransition",hd=mo[gx];function xx(e){let{basename:t,children:n,future:r,window:i}=e,l=E.useRef();l.current==null&&(l.current=k1({window:i,v5Compat:!0}));let s=l.current,[a,c]=E.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=E.useCallback(f=>{u&&hd?hd(()=>c(f)):c(f)},[c,u]);return E.useLayoutEffect(()=>s.listen(d),[s,d]),E.createElement(ux,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const wx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nx=E.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,y=Lm(t,mx),{basename:j}=E.useContext(fn),v,g=!1;if(typeof u=="string"&&jx.test(u)&&(v=u,wx))try{let m=new URL(window.location.href),x=u.startsWith("//")?new URL(m.protocol+u):new URL(u),k=mr(x.pathname,j);x.origin===m.origin&&k!=null?u=k+x.search+x.hash:g=!0}catch{}let w=X1(u,{relative:i}),h=Ex(u,{replace:s,state:a,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:f});function p(m){r&&r(m),m.defaultPrevented||h(m)}return E.createElement("a",Xl({},y,{href:v||w,onClick:g||l?r:p,ref:n,target:c}))}),ee=E.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:c,unstable_viewTransition:u,children:d}=t,f=Lm(t,hx),y=ks(c,{relative:f.relative}),j=_i(),v=E.useContext(Pm),{navigator:g,basename:w}=E.useContext(fn),h=v!=null&&kx(y)&&u===!0,p=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,m=j.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(m=m.toLowerCase(),x=x?x.toLowerCase():null,p=p.toLowerCase()),x&&w&&(x=mr(x,w)||x);const k=p!=="/"&&p.endsWith("/")?p.length-1:p.length;let C=m===p||!s&&m.startsWith(p)&&m.charAt(k)==="/",P=x!=null&&(x===p||!s&&x.startsWith(p)&&x.charAt(p.length)==="/"),_={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(_):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(_):a;return E.createElement(Nx,Xl({},f,{"aria-current":b,className:L,ref:n,style:H,to:c,unstable_viewTransition:u}),typeof d=="function"?d(_):d)});var Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Na||(Na={}));var yd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(yd||(yd={}));function Sx(e){let t=E.useContext(Ss);return t||Z(!1),t}function Ex(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,c=Ci(),u=_i(),d=ks(e,{relative:s});return E.useCallback(f=>{if(px(f,n)){f.preventDefault();let y=r!==void 0?r:Ql(u)===Ql(d);c(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[u,c,d,r,i,n,e,l,s,a])}function kx(e,t){t===void 0&&(t={});let n=E.useContext(vx);n==null&&Z(!1);let{basename:r}=Sx(Na.useViewTransitionState),i=ks(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=mr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=mr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Kl(i.pathname,s)!=null||Kl(i.pathname,l)!=null}function Fm(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),kn=e=>typeof e=="string",Ae=e=>typeof e=="function",hl=e=>kn(e)||Ae(e)?e:null,Sa=e=>E.isValidElement(e)||kn(e)||Ae(e)||hi(e);function _x(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 _s(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:c,preventExitTransition:u,done:d,nodeRef:f,isIn:y,playToast:j}=s;const v=r?`${t}--${c}`:t,g=r?`${n}--${c}`:n,w=E.useRef(0);return E.useLayoutEffect(()=>{const h=f.current,p=v.split(" "),m=x=>{x.target===f.current&&(j(),h.removeEventListener("animationend",m),h.removeEventListener("animationcancel",m),w.current===0&&x.type!=="animationcancel"&&h.classList.remove(...p))};h.classList.add(...p),h.addEventListener("animationend",m),h.addEventListener("animationcancel",m)},[]),E.useEffect(()=>{const h=f.current,p=()=>{h.removeEventListener("animationend",p),i?_x(h,d,l):d()};y||(u?p():(w.current=1,h.className+=` ${g}`,h.addEventListener("animationend",p)))},[y]),N.createElement(N.Fragment,null,a)}}function vd(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 we=new Map;let yi=[];const Ea=new Set,Cx=e=>Ea.forEach(t=>t(e)),Mm=()=>we.size>0;function zm(e,t){var n;if(t)return!((n=we.get(t))==null||!n.isToastActive(e));let r=!1;return we.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function Im(e,t){Sa(e)&&(Mm()||yi.push({content:e,options:t}),we.forEach(n=>{n.buildToast(e,t)}))}function gd(e,t){we.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 Px(e){const{subscribe:t,getSnapshot:n,setProps:r}=E.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const c=function(d,f,y){let j=1,v=0,g=[],w=[],h=[],p=f;const m=new Map,x=new Set,k=()=>{h=Array.from(m.values()),x.forEach(_=>_())},C=_=>{w=_==null?[]:w.filter(b=>b!==_),k()},P=_=>{const{toastId:b,onOpen:L,updateId:H,children:Ee}=_.props,Ke=H==null;_.staleId&&m.delete(_.staleId),m.set(b,_),w=[...w,_.props.toastId].filter(tt=>tt!==_.staleId),k(),y(vd(_,Ke?"added":"updated")),Ke&&Ae(L)&&L(E.isValidElement(Ee)&&Ee.props)};return{id:d,props:p,observe:_=>(x.add(_),()=>x.delete(_)),toggle:(_,b)=>{m.forEach(L=>{b!=null&&b!==L.props.toastId||Ae(L.toggle)&&L.toggle(_)})},removeToast:C,toasts:m,clearQueue:()=>{v-=g.length,g=[]},buildToast:(_,b)=>{if(($=>{let{containerId:ae,toastId:re,updateId:ke}=$;const ge=ae?ae!==d:d!==1,pt=m.has(re)&&ke==null;return ge||pt})(b))return;const{toastId:L,updateId:H,data:Ee,staleId:Ke,delay:tt}=b,Lt=()=>{C(L)},Ft=H==null;Ft&&v++;const Me={...p,style:p.toastStyle,key:j++,...Object.fromEntries(Object.entries(b).filter($=>{let[ae,re]=$;return re!=null})),toastId:L,updateId:H,data:Ee,closeToast:Lt,isIn:!1,className:hl(b.className||p.toastClassName),bodyClassName:hl(b.bodyClassName||p.bodyClassName),progressClassName:hl(b.progressClassName||p.progressClassName),autoClose:!b.isLoading&&(T=b.autoClose,F=p.autoClose,T===!1||hi(T)&&T>0?T:F),deleteToast(){const $=m.get(L),{onClose:ae,children:re}=$.props;Ae(ae)&&ae(E.isValidElement(re)&&re.props),y(vd($,"removed")),m.delete(L),v--,v<0&&(v=0),g.length>0?P(g.shift()):k()}};var T,F;Me.closeButton=p.closeButton,b.closeButton===!1||Sa(b.closeButton)?Me.closeButton=b.closeButton:b.closeButton===!0&&(Me.closeButton=!Sa(p.closeButton)||p.closeButton);let M=_;E.isValidElement(_)&&!kn(_.type)?M=E.cloneElement(_,{closeToast:Lt,toastProps:Me,data:Ee}):Ae(_)&&(M=_({closeToast:Lt,toastProps:Me,data:Ee}));const B={content:M,props:Me,staleId:Ke};p.limit&&p.limit>0&&v>p.limit&&Ft?g.push(B):hi(tt)?setTimeout(()=>{P(B)},tt):P(B)},setProps(_){p=_},setToggle:(_,b)=>{m.get(_).toggle=b},isToastActive:_=>w.some(b=>b===_),getSnapshot:()=>p.newestOnTop?h.reverse():h}}(s,l,Cx);we.set(s,c);const u=c.observe(a);return yi.forEach(d=>Im(d.content,d.options)),yi=[],()=>{u(),we.delete(s)}},setProps(a){var c;(c=we.get(s))==null||c.setProps(a)},getSnapshot(){var a;return(a=we.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const i=E.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:c}=a.props;s.has(c)||s.set(c,[]),s.get(c).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:zm,count:i==null?void 0:i.length}}function Ox(e){const[t,n]=E.useState(!1),[r,i]=E.useState(!1),l=E.useRef(null),s=E.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:f}=e;var y,j;function v(){n(!0)}function g(){n(!1)}function w(m){const x=l.current;s.canDrag&&x&&(s.didMove=!0,t&&g(),s.delta=e.draggableDirection==="x"?m.clientX-s.start:m.clientY-s.start,s.start!==m.clientX&&(s.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function h(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",h);const m=l.current;if(s.canDrag&&s.didMove&&m){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();m.style.transition="transform 0.2s, opacity 0.2s",m.style.removeProperty("transform"),m.style.removeProperty("opacity")}}(j=we.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||j.setToggle(y.id,y.fn),E.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const p={onPointerDown:function(m){if(e.draggable===!0||e.draggable===m.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",h);const x=l.current;s.canCloseOnClick=!0,s.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(s.start=m.clientX,s.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(s.start=m.clientY,s.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(m){const{top:x,bottom:k,left:C,right:P}=l.current.getBoundingClientRect();m.nativeEvent.type!=="touchend"&&e.pauseOnHover&&m.clientX>=C&&m.clientX<=P&&m.clientY>=x&&m.clientY<=k?g():v()}};return a&&c&&(p.onMouseEnter=g,e.stacked||(p.onMouseLeave=v)),f&&(p.onClick=m=>{d&&d(m),s.canCloseOnClick&&u()}),{playToast:v,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:p}}function Tx(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:s,style:a,controlledProgress:c,progress:u,rtl:d,isIn:f,theme:y}=e;const j=l||c&&u===0,v={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(v.transform=`scaleX(${u})`);const g=Qt("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),w=Ae(s)?s({rtl:d,type:i,defaultClassName:g}):Qt(g,s),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{f&&r()}};return N.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":j},N.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),N.createElement("div",{role:"progressbar","aria-hidden":j?"true":"false","aria-label":"notification timer",className:w,style:v,...h}))}let Rx=1;const Dm=()=>""+Rx++;function bx(e){return e&&(kn(e.toastId)||hi(e.toastId))?e.toastId:Dm()}function qr(e,t){return Im(e,t),t.toastId}function Gl(e,t){return{...t,type:t&&t.type||e,toastId:bx(t)}}function Qi(e){return(t,n)=>qr(t,Gl(e,n))}function I(e,t){return qr(e,Gl("default",t))}I.loading=(e,t)=>qr(e,Gl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=kn(i)?I.loading(i,n):I.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(d,f,y)=>{if(f==null)return void I.dismiss(r);const j={type:d,...a,...n,data:y},v=kn(f)?{render:f}:f;return r?I.update(r,{...j,...v}):I(v.render,{...j,...v}),y},u=Ae(e)?e():e;return u.then(d=>c("success",s,d)).catch(d=>c("error",l,d)),u},I.success=Qi("success"),I.info=Qi("info"),I.error=Qi("error"),I.warning=Qi("warning"),I.warn=I.warning,I.dark=(e,t)=>qr(e,Gl("default",{theme:"dark",...t})),I.dismiss=function(e){(function(t){var n;if(Mm()){if(t==null||kn(n=t)||hi(n))we.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=we.get(t.containerId);r?r.removeToast(t.id):we.forEach(i=>{i.removeToast(t.id)})}}else yi=yi.filter(r=>t!=null&&r.options.toastId!==t)})(e)},I.clearWaitingQueue=function(e){e===void 0&&(e={}),we.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},I.isActive=zm,I.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=we.get(s||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:Dm()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,qr(s,l)}},I.done=e=>{I.update(e,{progress:1})},I.onChange=function(e){return Ea.add(e),()=>{Ea.delete(e)}},I.play=e=>gd(!0,e),I.pause=e=>gd(!1,e);const Lx=typeof window<"u"?E.useLayoutEffect:E.useEffect,Ki=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return N.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},po={info:function(e){return N.createElement(Ki,{...e},N.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 N.createElement(Ki,{...e},N.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 N.createElement(Ki,{...e},N.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 N.createElement(Ki,{...e},N.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 N.createElement("div",{className:"Toastify__spinner"})}},Fx=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=Ox(e),{closeButton:s,children:a,autoClose:c,onClick:u,type:d,hideProgressBar:f,closeToast:y,transition:j,position:v,className:g,style:w,bodyClassName:h,bodyStyle:p,progressClassName:m,progressStyle:x,updateId:k,role:C,progress:P,rtl:_,toastId:b,deleteToast:L,isIn:H,isLoading:Ee,closeOnClick:Ke,theme:tt}=e,Lt=Qt("Toastify__toast",`Toastify__toast-theme--${tt}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":_},{"Toastify__toast--close-on-click":Ke}),Ft=Ae(g)?g({rtl:_,position:v,type:d,defaultClassName:Lt}):Qt(Lt,g),Me=function(B){let{theme:$,type:ae,isLoading:re,icon:ke}=B,ge=null;const pt={theme:$,type:ae};return ke===!1||(Ae(ke)?ge=ke({...pt,isLoading:re}):E.isValidElement(ke)?ge=E.cloneElement(ke,pt):re?ge=po.spinner():(Hm=>Hm in po)(ae)&&(ge=po[ae](pt))),ge}(e),T=!!P||!c,F={closeToast:y,type:d,theme:tt};let M=null;return s===!1||(M=Ae(s)?s(F):E.isValidElement(s)?E.cloneElement(s,F):function(B){let{closeToast:$,theme:ae,ariaLabel:re="close"}=B;return N.createElement("button",{className:`Toastify__close-button Toastify__close-button--${ae}`,type:"button",onClick:ke=>{ke.stopPropagation(),$(ke)},"aria-label":re},N.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},N.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"})))}(F)),N.createElement(j,{isIn:H,done:L,position:v,preventExitTransition:n,nodeRef:r,playToast:l},N.createElement("div",{id:b,onClick:u,"data-in":H,className:Ft,...i,style:w,ref:r},N.createElement("div",{...H&&{role:C},className:Ae(h)?h({type:d}):Qt("Toastify__toast-body",h),style:p},Me!=null&&N.createElement("div",{className:Qt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Ee})},Me),N.createElement("div",null,a)),M,N.createElement(Tx,{...k&&!T?{key:`pb-${k}`}:{},rtl:_,theme:tt,delay:c,isRunning:t,isIn:H,closeToast:y,hide:f,type:d,style:x,className:m,controlledProgress:T,progress:P||0})))},Cs=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Mx=_s(Cs("bounce",!0));_s(Cs("slide",!0));_s(Cs("zoom"));_s(Cs("flip"));const zx={position:"top-right",transition:Mx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Ix(e){let t={...zx,...e};const n=e.stacked,[r,i]=E.useState(!0),l=E.useRef(null),{getToastToRender:s,isToastActive:a,count:c}=Px(t),{className:u,style:d,rtl:f,containerId:y}=t;function j(g){const w=Qt("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":f});return Ae(u)?u({position:g,rtl:f,defaultClassName:w}):Qt(w,hl(u))}function v(){n&&(i(!0),I.play())}return Lx(()=>{if(n){var g;const w=l.current.querySelectorAll('[data-in="true"]'),h=12,p=(g=t.position)==null?void 0:g.includes("top");let m=0,x=0;Array.from(w).reverse().forEach((k,C)=>{const P=k;P.classList.add("Toastify__toast--stacked"),C>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=p?"top":"bot");const _=m*(r?.2:1)+(r?0:h*C);P.style.setProperty("--y",`${p?_:-1*_}px`),P.style.setProperty("--g",`${h}`),P.style.setProperty("--s",""+(1-(r?x:0))),m+=P.offsetHeight,x+=.025})}},[r,c,n]),N.createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),I.pause())},onMouseLeave:v},s((g,w)=>{const h=w.length?{...d}:{...d,pointerEvents:"none"};return N.createElement("div",{className:j(g),style:h,key:`container-${g}`},w.map(p=>{let{content:m,props:x}=p;return N.createElement(Fx,{...x,stacked:n,collapseAll:v,isIn:a(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},m)}))}))}const Qe=()=>{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(ee,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),o.jsx("li",{children:o.jsx(ee,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),o.jsx("li",{children:o.jsx(ee,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),o.jsx("li",{children:o.jsx(ee,{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."]})})})})})]})})},Dx="/assets/logo-Cb1x1exd.png",Fe=()=>{var i,l;const{user:e}=dt(s=>({...s.auth})),t=un(),n=Ci(),r=()=>{t(g1()),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:Dx,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(ee,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ee,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ee,{to:"/searchmyproperties",className:"nav-link",children:"Search"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ee,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ee,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(ee,{to:"/dashboard",children:"Dashboard"}):o.jsx(ee,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(ee,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(ee,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},Ax=()=>o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Qe,{})]}),Bx=()=>o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Qe,{})]}),$x=()=>o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Qe,{})]});var jt=function(){return jt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=E.useState(fw),[n,r]=E.useState(!1),{loading:i,error:l}=dt(k=>({...k.auth})),{title:s,email:a,password:c,firstName:u,middleName:d,lastName:f,confirmPassword:y,termsconditions:j,userType:v}=e,g=un(),w=Ci();E.useEffect(()=>{l&&I.error(l)},[l]),E.useEffect(()=>{r(s!=="None"&&a&&c&&u&&d&&f&&y&&j&&v!=="")},[s,a,c,u,d,f,y,j,v]);const h=k=>{if(k.preventDefault(),c!==y)return I.error("Password should match");n?g(ul({formValue:e,navigate:w,toast:I})):I.error("Please fill in all fields and select all checkboxes")},p=k=>k.charAt(0).toUpperCase()+k.slice(1),m=k=>{const{name:C,value:P,type:_,checked:b}=k.target;t(_==="checkbox"?L=>({...L,[C]:b}):L=>({...L,[C]:C==="email"||C==="password"||C==="confirmPassword"?P:p(P)}))},x=k=>{t(C=>({...C,userType:k.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:m,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:m,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:m,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:m,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:m,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:m,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:m,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:j,name:"termsconditions",checked:j,onChange:m,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(Am.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(Qe,{})]})},mw={email:"",password:""},hw=()=>{const[e,t]=E.useState(mw),{loading:n,error:r}=dt(d=>({...d.auth})),{email:i,password:l}=e,s=un(),a=Ci();E.useEffect(()=>{r&&I.error(r)},[r]);const c=d=>{d.preventDefault(),i&&l&&s(cl({formValue:e,navigate:a,toast:I}))},u=d=>{let{name:f,value:y}=d.target;t({...e,[f]:y})};return o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Am.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(ee,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(ee,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(Qe,{})]})},yw="/assets/samplepic-BM_cnzgz.jpg",vw=()=>{const[e,t]=E.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("shipping")},r=()=>{e==="shipping"&&t("propertydetails")},i=un(),{status:l,error:s}=dt(v=>v.property),{user:a}=dt(v=>({...v.auth})),[c,u]=E.useState({address:"",city:"",state:"",county:"",zip:"",parcel:"",subdivision:"",legal:"",propertyType:"",title:"",yearBuild:"",totalSqft:""}),[d,f]=E.useState(!1),y=v=>{u({...c,[v.target.name]:v.target.value})},j=()=>{var v,g,w,h,p,m;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&c.propertyType&&c.title&&c.yearBuild&&c.totalSqft){const x={...c,userfirstname:(v=a==null?void 0:a.result)==null?void 0:v.firstName,usermiddlename:(g=a==null?void 0:a.result)==null?void 0:g.middleName,userlastname:(w=a==null?void 0:a.result)==null?void 0:w.lastName,usertitle:(h=a==null?void 0:a.result)==null?void 0:h.title,useremail:(p=a==null?void 0:a.result)==null?void 0:p.email,userId:(m=a==null?void 0:a.result)==null?void 0:m.userId};i(fl(x)),f(!0)}else I.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return E.useEffect(()=>{d&&(l==="succeeded"?(I.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),f(!1)):l==="failed"&&(I.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),f(!1)))},[l,s,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(Fe,{}),o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Delivery Address"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsxs("form",{children:[o.jsx("h3",{children:"Property Location"}),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:[o.jsx("input",{type:"text",className:"form-control",name:"address",placeholder:"Property Address",value:c.address,onChange:y,required:!0}),o.jsx("label",{htmlFor:"title",children:"Property Address"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"city",value:c.city,onChange:y,placeholder:"city",required:!0}),o.jsx("label",{htmlFor:"title",children:"City"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:c.state,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select State"}),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.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:c.county,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select County"}),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:[o.jsx("input",{type:"text",className:"form-control",name:"zip",value:c.zip,onChange:y,placeholder:"zip",required:!0}),o.jsx("label",{htmlFor:"zip",children:"Zip"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"parcel",value:c.parcel,onChange:y,placeholder:"parcel",required:!0}),o.jsx("label",{htmlFor:"parcel",children:"Parcel"})]})})]}),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:[o.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:c.subdivision,onChange:y,placeholder:"subdivision",required:!0}),o.jsx("label",{htmlFor:"subdivision",children:"Sub division"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:c.legal,onChange:y,placeholder:"legal",required:!0}),o.jsx("label",{htmlFor:"legal",children:"Legal Description"})]})})]}),o.jsxs("div",{className:"row gy-3",children:[o.jsx("div",{className:"col-md-4",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Property Type"}),o.jsx("option",{value:"Residential",children:"Residential"}),o.jsx("option",{value:"Land",children:"Land"}),o.jsx("option",{value:"Commercial",children:"Commercial"}),o.jsx("option",{value:"Industrial",children:"Industrial"}),o.jsx("option",{value:"Water",children:"Water"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"title",value:c.title,onChange:y,placeholder:"Property Title",required:!0}),o.jsx("label",{htmlFor:"title",children:"Property Title"})]})}),o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:y,placeholder:"Year Build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",children:"Year Build"})]})})]})]}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Shipping Address"}),o.jsx("form",{children:o.jsx("div",{className:"row gy-3",children:o.jsx("div",{className:"col-md-4",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:y,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",children:"Total SQFT"})]})})})}),o.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",o.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:j,children:"Submit"})]})]})]})})},Bm="/assets/propertydummy-DhVEZ7jN.jpg",gw=()=>{var c;const e=un(),{user:t}=dt(u=>({...u.auth})),{userProperties:n,totalPages:r}=dt(u=>u.property),[i,l]=E.useState(1),s=5;E.useEffect(()=>{e(pl({userId:t.result.userId,page:i,limit:s}))},[e,(c=t==null?void 0:t.result)==null?void 0:c.userId,i]);const a=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:Bm,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(ee,{to:`/property/${u.propertyId}`,target:"_blank",children:[u.title,"....."]})]}),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(ee,{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(ee,{to:`/editproperty/${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-edit",style:{color:"#F74B02"}})," "," ","Edit Details .."]})})]})})]})})})},u._id))}),o.jsxs("div",{className:"pagination",children:[o.jsx("button",{onClick:()=>a(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:()=>a(u),disabled:i===u,children:u},u):u===2||u===r-1?o.jsx("span",{children:"..."},u):null),o.jsx("button",{onClick:()=>a(i+1),disabled:i===r,children:"Next"})]})]}):o.jsx("p",{children:"No active properties found."})})},xw=()=>{const{user:e}=dt(i=>({...i.auth})),[t,n]=E.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(vw,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),o.jsx(gw,{})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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:yw,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-1",children:[o.jsx("br",{}),o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{}),o.jsx("div",{className:"tab-content p-2",children:r()})]})})]}),o.jsx(Qe,{})]})};var $m={exports:{}},ww="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",jw=ww,Nw=jw;function Um(){}function Wm(){}Wm.resetWarningCache=Um;var Sw=function(){function e(r,i,l,s,a,c){if(c!==Nw){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:Wm,resetWarningCache:Um};return n.PropTypes=n,n};$m.exports=Sw();var Ew=$m.exports;const kw=xd(Ew),_w=()=>{const[e,t]=E.useState(3),n=Ci();return E.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"]})})},ka=({children:e})=>{const{user:t}=dt(n=>({...n.auth}));return t?e:o.jsx(_w,{})};ka.propTypes={children:kw.node.isRequired};const Cw=()=>{const e=un(),{id:t,token:n}=Pi();return E.useEffect(()=>{e(dl({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(ee,{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(Qe,{})]})},Pw=()=>{const[e,t]=E.useState(""),[n,r]=E.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await K.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(ee,{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(Qe,{})]})]})},Ow=()=>{const{userId:e,token:t}=Pi(),[n,r]=E.useState(""),[i,l]=E.useState(""),[s,a]=E.useState(""),c="http://67.225.129.127:3002",u=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),I.error("Password not entered");return}const d=await K.post(`${c}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),I.error("Passwords do not match.");return}else a("Password reset successfull"),I.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return E.useEffect(()=>{I.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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:s})]})})})}),o.jsx(Qe,{})]})},Tw=()=>o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Qe,{})]}),Rw=()=>{const{id:e}=Pi(),t=un(),{selectedProperty:n,status:r,error:i}=dt(l=>l.property);return E.useEffect(()=>{e&&t(Vr(e))},[e,t]),r==="loading"?o.jsx("p",{children:"Loading property details..."}):r==="failed"?o.jsxs("p",{children:["Error loading property: ",i]}):o.jsx(o.Fragment,{children:o.jsx("div",{className:"container property-view",children:n?o.jsxs("div",{className:"property-details",children:[o.jsx("h1",{children:n.title}),o.jsxs("p",{children:["Email: ",n.useremail]})]}):o.jsx("p",{children:"Property not found."})})})},bw=()=>{const[e,t]=E.useState([]),[n,r]=E.useState(0),[i,l]=E.useState(0),[s]=E.useState(10),[a,c]=E.useState(""),[u,d]=E.useState(!1),[f,y]=E.useState(!1),j=async()=>{d(!0),y(!1);try{const h=await K.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:s,offset:i*s,search:a},headers:{"Cache-Control":"no-cache"}});t(h.data.data),r(h.data.totalRecords),a.trim()&&y(!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),y(!1),j())},g=h=>{h.key==="Enter"&&(h.preventDefault(),j())};E.useEffect(()=>{j()},[a,i]);const w=Math.ceil(n/s);return o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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:a,onChange:v,onKeyDown:g})})})})})})})})})}),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:a})]}),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,p)=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-title",children:[o.jsx(ee,{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"]})})]},p)):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 ",w," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=w||u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),o.jsx(Qe,{})]})},Lw=()=>o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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(Qe,{})]}),Fw=()=>{const{house_id:e}=Pi();console.log("house_id",e);const[t,n]=E.useState(null),[r,i]=E.useState(!0);return E.useEffect(()=>{(async()=>{try{const s=await K.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(s.data)}catch(s){console.log("Error fetching property details:",s)}finally{i(!1)}})()},[e]),o.jsxs(o.Fragment,{children:[o.jsx(Fe,{}),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:Bm,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(Qe,{})]})},Mw=()=>{const{id:e}=Pi(),t=un(),{selectedProperty:n}=dt(a=>a.property),[r,i]=E.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""});E.useEffect(()=>{t(Vr(e))},[t,e]),E.useEffect(()=>{n&&i({propertyType:n.propertyType,title:n.title,yearBuild:n.yearBuild,totalSqft:n.totalSqft})},[n]);const l=a=>{i({...r,[a.target.name]:a.target.value})},s=a=>{a.preventDefault(),t(ml({id:e,propertyData:r}))};return o.jsxs("div",{className:"edit-property-form",children:[o.jsx("h2",{children:"Edit Property"}),o.jsxs("form",{onSubmit:s,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:"title",value:r.title,onChange:l,placeholder:"Property title",required:!0}),o.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value: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"})]})]})},zw=()=>o.jsxs(xx,{children:[o.jsx(Ix,{}),o.jsxs(dx,{children:[o.jsx(he,{path:"/",element:o.jsx(Ax,{})}),o.jsx(he,{path:"/about",element:o.jsx(Bx,{})}),o.jsx(he,{path:"/services",element:o.jsx(Lw,{})}),o.jsx(he,{path:"/contact",element:o.jsx($x,{})}),o.jsx(he,{path:"/register",element:o.jsx(pw,{})}),o.jsx(he,{path:"/registrationsuccess",element:o.jsx(ka,{children:o.jsx(Tw,{})})}),o.jsx(he,{path:"/login",element:o.jsx(hw,{})}),o.jsx(he,{path:"/dashboard",element:o.jsx(ka,{children:o.jsx(xw,{})})}),o.jsx(he,{path:"/users/:id/verify/:token",element:o.jsx(Cw,{})}),o.jsx(he,{path:"/forgotpassword",element:o.jsx(Pw,{})}),o.jsx(he,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Ow,{})}),o.jsx(he,{path:"/property/:id",element:o.jsx(Rw,{})}),o.jsx(he,{path:"/properties/:house_id",element:o.jsx(Fw,{})}),o.jsx(he,{path:"/searchmyproperties",element:o.jsx(bw,{})}),o.jsx(he,{path:"/editproperty/:id",element:o.jsx(Mw,{})})]})]});Lp(document.getElementById("root")).render(o.jsx(E.StrictMode,{children:o.jsx(Bv,{store:E1,children:o.jsx(zw,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 9eefbb2..fa02a14 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -45,8 +45,8 @@ - - + + diff --git a/ef-ui/package-lock.json b/ef-ui/package-lock.json index d84a9df..a14f72f 100644 --- a/ef-ui/package-lock.json +++ b/ef-ui/package-lock.json @@ -20,6 +20,7 @@ "prop-types": "^15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", + "react-file-base64": "^1.0.3", "react-icons": "^5.3.0", "react-loading-icons": "^1.1.0", "react-redux": "^9.1.2", @@ -972,6 +973,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "license": "MIT" + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1174,6 +1181,23 @@ "dev": true, "license": "MIT" }, + "node_modules/core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha512-ZiPp9pZlgxpWRu0M+YWbm6+aQ84XEfH1JRXvfOc/fILWI0VKhLC2LX13X1NYq4fULzLMq7Hfh43CSo2/aIaUPA==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "license": "MIT" + }, + "node_modules/create-react-class": { + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.7.0.tgz", + "integrity": "sha512-QZv4sFWG9S5RUvkTYWbflxeZX+JG7Cz0Tn33rQBJ+WFQTqTfUTjMjiv9tnfXazjsO5r0KhPs+AqCjyrQX6h2ng==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.3.1", + "object-assign": "^4.1.1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "dev": true, @@ -1333,6 +1357,15 @@ "dev": true, "license": "ISC" }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, "node_modules/es-abstract": { "version": "1.23.3", "dev": true, @@ -1750,6 +1783,21 @@ "reusify": "^1.0.4" } }, + "node_modules/fbjs": { + "version": "0.8.18", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.18.tgz", + "integrity": "sha512-EQaWFK+fEPSoibjNy8IxUtaFOMXcWsY0JaVrQoZR9zC8N2Ygf9iDITPWjUTVIax95b6I742JFLqASHfsag/vKA==", + "license": "MIT", + "dependencies": { + "core-js": "^1.0.0", + "isomorphic-fetch": "^2.1.1", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^0.7.30" + } + }, "node_modules/file-entry-cache": { "version": "8.0.0", "dev": true, @@ -2056,6 +2104,18 @@ "node": ">= 0.4" } }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/ignore": { "version": "5.3.2", "dev": true, @@ -2346,6 +2406,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-string": { "version": "1.0.7", "dev": true, @@ -2435,6 +2504,16 @@ "dev": true, "license": "ISC" }, + "node_modules/isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha512-9c4TNAKYXM5PRyVcwUZrF3W09nQ+sO7+jydgs4ZGW9dhsLG2VOlISJABombdQqQRXCwuYG3sYV/puGf5rp0qmA==", + "license": "MIT", + "dependencies": { + "node-fetch": "^1.0.1", + "whatwg-fetch": ">=0.10.0" + } + }, "node_modules/iterator.prototype": { "version": "1.1.2", "dev": true, @@ -2675,6 +2754,16 @@ "dev": true, "license": "MIT" }, + "node_modules/node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "license": "MIT", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, "node_modules/node-releases": { "version": "2.0.18", "dev": true, @@ -2899,6 +2988,15 @@ "integrity": "sha512-jK3Et9UzwzTsd6tzl2RmwrVY/b8raJ3QZLzoDACj+oTJ0oX7L9Hy+XnVwgo4QVKlKpnP/Ur13SXV/pVh4LzaDw==", "license": "MIT" }, + "node_modules/promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "license": "MIT", + "dependencies": { + "asap": "~2.0.3" + } + }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", @@ -2974,6 +3072,34 @@ "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==", "license": "MIT" }, + "node_modules/react-file-base64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/react-file-base64/-/react-file-base64-1.0.3.tgz", + "integrity": "sha512-itGMFH6IkJUZF2p0YXQnUBqzUHFaMYcs+ssD9e4j1XJGHRibGe8kiLr6y46oAIw1JknX/bJUUogDJOk/o91TMg==", + "license": "MIT", + "dependencies": { + "react": "^15.6.1" + }, + "peerDependencies": { + "react": "^15.0.2" + } + }, + "node_modules/react-file-base64/node_modules/react": { + "version": "15.7.0", + "resolved": "https://registry.npmjs.org/react/-/react-15.7.0.tgz", + "integrity": "sha512-5/MMRYmpmM0sMTHGLossnJCrmXQIiJilD6y3YN3TzAwGFj6zdnMtFv6xmi65PHKRV+pehIHpT7oy67Sr6s9AHA==", + "license": "MIT", + "dependencies": { + "create-react-class": "^15.6.0", + "fbjs": "^0.8.9", + "loose-envify": "^1.1.0", + "object-assign": "^4.1.0", + "prop-types": "^15.5.10" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/react-icons": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz", @@ -3267,6 +3393,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, "node_modules/scheduler": { "version": "0.23.2", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", @@ -3314,6 +3446,12 @@ "node": ">= 0.4" } }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" + }, "node_modules/shebang-command": { "version": "2.0.0", "dev": true, @@ -3581,6 +3719,32 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/ua-parser-js": { + "version": "0.7.39", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.39.tgz", + "integrity": "sha512-IZ6acm6RhQHNibSt7+c09hhvsKy9WUr4DVbeq9U8o71qxyYtJpQeDxQnMrVqnIFMLcQjHO0I9wgfO2vIahht4w==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "license": "MIT", + "bin": { + "ua-parser-js": "script/cli.js" + }, + "engines": { + "node": "*" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "dev": true, @@ -3708,6 +3872,12 @@ "loose-envify": "^1.0.0" } }, + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "license": "MIT" + }, "node_modules/which": { "version": "2.0.2", "dev": true, diff --git a/ef-ui/package.json b/ef-ui/package.json index 31c3078..da4731d 100644 --- a/ef-ui/package.json +++ b/ef-ui/package.json @@ -22,6 +22,7 @@ "prop-types": "^15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", + "react-file-base64": "^1.0.3", "react-icons": "^5.3.0", "react-loading-icons": "^1.1.0", "react-redux": "^9.1.2", diff --git a/ef-ui/src/addproperty.css b/ef-ui/src/addproperty.css index 25cf12f..a717386 100644 --- a/ef-ui/src/addproperty.css +++ b/ef-ui/src/addproperty.css @@ -63,6 +63,6 @@ padding: 20px; margin-top: 10px; border-radius: 4px; - background-color: #f9f9f9; /* Optional: light background for better contrast */ + background-color: #f3eded; /* Optional: light background for better contrast */ } \ No newline at end of file diff --git a/ef-ui/src/components/Addproperty.jsx b/ef-ui/src/components/Addproperty.jsx index df88475..7c1caa5 100644 --- a/ef-ui/src/components/Addproperty.jsx +++ b/ef-ui/src/components/Addproperty.jsx @@ -4,17 +4,18 @@ import { useState, useEffect } from "react"; import Navbar from "./Navbar"; import { toast } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; +import FileBase64 from "react-file-base64"; import "../addproperty.css"; const Addproperty = () => { const [activeTab, setActiveTab] = useState("propertydetails"); const handleContinue = () => { - if (activeTab === "propertydetails") setActiveTab("shipping"); + if (activeTab === "propertydetails") setActiveTab("Images"); }; const handleBack = () => { - if (activeTab === "shipping") setActiveTab("propertydetails"); + if (activeTab === "Images") setActiveTab("propertydetails"); }; const dispatch = useDispatch(); @@ -22,29 +23,93 @@ const Addproperty = () => { const { user } = useSelector((state) => ({ ...state.auth })); const [formData, setFormData] = useState({ - address:"", - city:"", - state:"", - county:"", - zip:"", - parcel:"", - subdivision:"", - legal:"", + address: "", + city: "", + state: "", + county: "", + zip: "", + parcel: "", + subdivision: "", + legal: "", propertyType: "", - title: "", + lotacres: "", yearBuild: "", - totalSqft: "", // Used in the shipping tab + totallivingsqft: "", + beds: "", + baths: "", + stories: "", + garage: "", + garagesqft: "", + poolspa: "", + fireplaces: "", + ac: "", + heating: "", + buildingstyle: "", + sitevacant: "", + extwall: "", + roofing: "", + propertyTaxInfo: [ + { propertytaxowned: "", ownedyear: "", taxassessed: "", taxyear: "" }, + ], + images: [], // Array to hold image objects + googleMapLink: "", // Field for Google Maps link + totalSqft: "", }); const [submitted, setSubmitted] = useState(false); - const handleInputChange = (e) => { + const handleImageChange = (file, index) => { + const updatedImages = [...formData.images]; + updatedImages[index].file = file.base64; // store base64 format of image + setFormData({ ...formData, images: updatedImages }); + }; + + const handleAddImage = () => { setFormData({ ...formData, - [e.target.name]: e.target.value, + images: [...formData.images, { title: "", file: "" }], }); }; + const handleDeleteImage = (index) => { + const updatedImages = formData.images.filter((_, i) => i !== index); + setFormData({ ...formData, images: updatedImages }); + }; + + const handleImageTitleChange = (index, e) => { + const updatedImages = [...formData.images]; + updatedImages[index].title = e.target.value; + setFormData({ ...formData, images: updatedImages }); + }; + + const handleInputChange = (e, index, fieldName) => { + const { name, value } = e.target; + if (fieldName === "propertyTaxInfo") { + const updatedPropertyTaxInfo = [...formData.propertyTaxInfo]; + updatedPropertyTaxInfo[index][name] = value; + setFormData({ ...formData, propertyTaxInfo: updatedPropertyTaxInfo }); + } else { + setFormData({ ...formData, [name]: value }); + } + }; + + const addPropertyTaxField = () => { + setFormData({ + ...formData, + propertyTaxInfo: [ + ...formData.propertyTaxInfo, + { propertytaxowned: "", ownedyear: "", taxassessed: "", taxyear: "" }, + ], + }); + }; + + const deletePropertyTaxField = (index) => { + const updatedPropertyTaxInfo = formData.propertyTaxInfo.filter( + (_, i) => i !== index + ); + setFormData({ ...formData, propertyTaxInfo: updatedPropertyTaxInfo }); + }; + const handleSubmit = () => { if ( formData.address && @@ -56,11 +121,25 @@ const Addproperty = () => { formData.subdivision && formData.legal && formData.propertyType && - formData.title && + formData.lotacres && formData.yearBuild && + formData.totallivingsqft && + formData.beds && + formData.baths && + formData.stories && + formData.garage && + formData.garagesqft && + formData.poolspa && + formData.fireplaces && + formData.ac && + formData.heating && + formData.buildingstyle && + formData.sitevacant && + formData.extwall && + formData.roofing && formData.totalSqft ) { - // Add user info to formData + // Add user info to formData, including the propertyTaxInfo array const formDataWithUserInfo = { ...formData, userfirstname: user?.result?.firstName, @@ -71,6 +150,16 @@ const Addproperty = () => { userId: user?.result?.userId, }; + // Check if propertyTaxInfo is an array and has values + if ( + Array.isArray(formData.propertyTaxInfo) && + formData.propertyTaxInfo.length > 0 + ) { + formDataWithUserInfo.propertyTaxInfo = formData.propertyTaxInfo; // Include propertyTaxInfo + } else { + formDataWithUserInfo.propertyTaxInfo = []; // Ensure it's an empty array if not filled + } + // Dispatch the form data with user info dispatch(submitProperty(formDataWithUserInfo)); setSubmitted(true); @@ -116,10 +205,10 @@ const Addproperty = () => {
  • - setActiveTab("shipping")} role="tab"> - Delivery Address + setActiveTab("Images")} role="tab"> + Images, Maps
  • @@ -127,12 +216,22 @@ const Addproperty = () => {
    {activeTab === "propertydetails" && (
    -
    -

    Property Location

    +

    + Property Location +

    +
    -
    +
    + Property Address { onChange={handleInputChange} required /> -
    + City { placeholder="city" required /> -
    - +
    + State + +
    -
    +
    + County
    + Zip { placeholder="zip" required /> -
    + Parcel { placeholder="parcel" required /> -
    -
    -
    + Sub division { placeholder="subdivision" required /> -
    + Legal Description