From a7727d10b7adfb0e22981c7f119daa63ab59d89c Mon Sep 17 00:00:00 2001 From: omkieit Date: Wed, 11 Sep 2024 22:52:23 +0530 Subject: [PATCH] done --- ef-ui/dist/assets/{index-CxbocabY.js => index-CCiNHmF-.js} | 2 +- ef-ui/dist/index.html | 2 +- ef-ui/src/components/Addproperty.jsx | 2 -- ef-ui/src/components/Dashboard.jsx | 7 +++---- 4 files changed, 5 insertions(+), 8 deletions(-) rename ef-ui/dist/assets/{index-CxbocabY.js => index-CCiNHmF-.js} (99%) diff --git a/ef-ui/dist/assets/index-CxbocabY.js b/ef-ui/dist/assets/index-CCiNHmF-.js similarity index 99% rename from ef-ui/dist/assets/index-CxbocabY.js rename to ef-ui/dist/assets/index-CCiNHmF-.js index ddd439f..d1b7219 100644 --- a/ef-ui/dist/assets/index-CxbocabY.js +++ b/ef-ui/dist/assets/index-CCiNHmF-.js @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function H1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function V1(e,t){return e.button===0&&(!t||t==="_self")&&!H1(e)}const K1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],q1="6";try{window.__reactRouterVersion=q1}catch{}const G1=O.createContext({isTransitioning:!1}),J1="startTransition",Yc=Xs[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=r1({window:i,v5Compat:!0}));let s=l.current,[a,u]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>s.listen(d),[s,d]),O.createElement($1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const Y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Z1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ex=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=gp(t,K1),{basename:g}=O.useContext(qt),y,w=!1;if(typeof c=="string"&&Z1.test(c)&&(y=c,Y1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),k=Yn(x.pathname,g);x.origin===p.origin&&k!=null?c=k+x.search+x.hash:w=!0}catch{}let N=O1(c,{relative:i}),h=nx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return O.createElement("a",bl({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),_e=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=gp(t,Q1),v=us(u,{relative:f.relative}),g=fi(),y=O.useContext(fp),{navigator:w,basename:N}=O.useContext(qt),h=y!=null&&rx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=p===m||!s&&p.startsWith(m)&&p.charAt(k)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:E,isPending:P,isTransitioning:h},z=E?r:void 0,b;typeof l=="function"?b=l(C):b=[l,E?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof a=="function"?a(C):a;return O.createElement(ex,bl({},f,{"aria-current":z,className:b,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var sa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sa||(sa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function tx(e){let t=O.useContext(os);return t||G(!1),t}function nx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=mi(),c=fi(),d=us(e,{relative:s});return O.useCallback(f=>{if(V1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function rx(e,t){t===void 0&&(t={});let n=O.useContext(G1);n==null&&G(!1);let{basename:r}=tx(sa.useViewTransitionState),i=us(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,s)!=null||Rl(i.pathname,l)!=null}const xt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},ix="/assets/logo-Cb1x1exd.png",wt=()=>{var i,l;const{user:e}=oi(s=>({...s.auth})),t=Jl(),n=mi(),r=()=>{t(Yg()),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:ix,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(_e,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(_e,{to:"/dashboard",children:"Dashboard"}):o.jsx(_e,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(_e,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(_e,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},lx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(xt,{})]}),sx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(xt,{})]}),ox=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(xt,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",xp=e=>typeof e=="function",ax=e=>O.isValidElement(e)||Tr(e)||xp(e)||du(e),it=new Map;let oa=[];const ed=new Set,wp=()=>it.size>0;function ux(e,t){var n;if(t)return!((n=it.get(t))==null||!n.isToastActive(e));let r=!1;return it.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function cx(e,t){ax(e)&&(wp()||oa.push({content:e,options:t}),it.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){it.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)})}let dx=1;const Np=()=>""+dx++;function fx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:Np()}function br(e,t){return cx(e,t),t.toastId}function Ll(e,t){return{...t,type:t&&t.type||e,toastId:fx(t)}}function Mi(e){return(t,n)=>br(t,Ll(e,n))}function D(e,t){return br(e,Ll("default",t))}D.loading=(e,t)=>br(e,Ll("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),D.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=Tr(i)?D.loading(i,n):D.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void D.dismiss(r);const g={type:d,...a,...n,data:v},y=Tr(f)?{render:f}:f;return r?D.update(r,{...g,...y}):D(y.render,{...g,...y}),v},c=xp(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},D.success=Mi("success"),D.info=Mi("info"),D.error=Mi("error"),D.warning=Mi("warning"),D.warn=D.warning,D.dark=(e,t)=>br(e,Ll("default",{theme:"dark",...t})),D.dismiss=function(e){(function(t){var n;if(wp()){if(t==null||Tr(n=t)||du(n))it.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=it.get(t.containerId);r?r.removeToast(t.id):it.forEach(i=>{i.removeToast(t.id)})}}else oa=oa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},D.clearWaitingQueue=function(e){e===void 0&&(e={}),it.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},D.isActive=ux,D.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=it.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:Np()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,br(s,l)}},D.done=e=>{D.update(e,{progress:1})},D.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},D.play=e=>td(!0,e),D.pause=e=>td(!1,e);var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(Ax),[n,r]=O.useState(!1),{loading:i,error:l}=oi(k=>({...k.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Jl(),N=mi();O.useEffect(()=>{l&&D.error(l)},[l]),O.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&v&&g&&y!=="")},[s,a,u,c,d,f,v,g,y]);const h=k=>{if(k.preventDefault(),u!==v)return D.error("Password should match");n?w(Ji({formValue:e,navigate:N,toast:D})):D.error("Please fill in all fields and select all checkboxes")},m=k=>k.charAt(0).toUpperCase()+k.slice(1),p=k=>{const{name:E,value:P,type:C,checked:z}=k.target;t(C==="checkbox"?b=>({...b,[E]:z}):b=>({...b,[E]:E==="email"||E==="password"||E==="confirmPassword"?P:m(P)}))},x=k=>{t(E=>({...E,userType:k.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),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:y==="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:y==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(jp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Ix={email:"",password:""},Ux=()=>{const[e,t]=O.useState(Ix),{loading:n,error:r}=oi(d=>({...d.auth})),{email:i,password:l}=e,s=Jl(),a=mi();O.useEffect(()=>{r&&D.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(Gi({formValue:e,navigate:a,toast:D}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(jp.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(_e,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(_e,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Bx="/assets/samplepic-BM_cnzgz.jpg",Sp=()=>{const[e,t]=O.useState("billing"),n=()=>{e==="billing"?t("shipping"):e==="shipping"&&t("review")},r=()=>{e==="review"?t("shipping"):e==="shipping"&&t("billing")};return o.jsxs("div",{className:"container tabs-wrap",children:[o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="billing"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("billing"),role:"tab",children:"Property Address"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Request Investment Amount"})}),o.jsx("li",{role:"presentation",className:e==="review"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("review"),role:"tab",children:"Review & Document"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="billing"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("p",{children:"Property Address Form"}),o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:n,children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Investment Details"}),o.jsx("p",{children:"Investment Details Form"}),o.jsx("button",{className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:r,children:"Go Back"})," ",o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:n,children:"Continue"})]}),e==="review"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Review & Document"}),o.jsx("p",{children:"Review & Document Tab"}),o.jsx("button",{className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:r,children:"Go Back"})," ",o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Place Order"})]})]})]})},$x=()=>{const{user:e}=oi(i=>({...i.auth})),[t,n]=O.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(Sp,{});case"activeProperties":return o.jsx("p",{children:"Here are your active properties."});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(wt,{}),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:Bx,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:"pi pi-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:"pi pi-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:"pi pi-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:r()})]})})]}),o.jsx(xt,{})]})};var kp={exports:{}},Wx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Hx=Wx,Vx=Hx;function Ep(){}function _p(){}_p.resetWarningCache=Ep;var Kx=function(){function e(r,i,l,s,a,u){if(u!==Vx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:_p,resetWarningCache:Ep};return n.PropTypes=n,n};kp.exports=Kx();var Qx=kp.exports;const qx=nd(Qx),Gx=()=>{const[e,t]=O.useState(3),n=mi();return O.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"]})})},Cp=({children:e})=>{const{user:t}=oi(n=>({...n.auth}));return t?e:o.jsx(Gx,{})};Cp.propTypes={children:qx.node.isRequired};const Jx=()=>{const e=Jl(),{id:t,token:n}=hp();return O.useEffect(()=>{e(Xi({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),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("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(_e,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(xt,{})]})},Xx=()=>{const[e,t]=O.useState(""),[n,r]=O.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await J.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(wt,{}),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(_e,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(xt,{})]})]})},Yx=()=>{const{userId:e,token:t}=hp(),[n,r]=O.useState(""),[i,l]=O.useState(""),[s,a]=O.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),D.error("Password not entered");return}const d=await J.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),D.error("Passwords do not match.");return}else a("Password reset successfull"),D.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return O.useEffect(()=>{D.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(xt,{})]})},Zx=()=>o.jsx(X1,{children:o.jsxs(W1,{children:[o.jsx(He,{path:"/",element:o.jsx(lx,{})}),o.jsx(He,{path:"/about",element:o.jsx(sx,{})}),o.jsx(He,{path:"/contact",element:o.jsx(ox,{})}),o.jsx(He,{path:"/register",element:o.jsx(Dx,{})}),o.jsx(He,{path:"/login",element:o.jsx(Ux,{})}),o.jsx(He,{path:"/dashboard",element:o.jsx(Cp,{children:o.jsx($x,{})})}),o.jsx(He,{path:"/users/:id/verify/:token",element:o.jsx(Jx,{})}),o.jsx(He,{path:"/forgotpassword",element:o.jsx(Xx,{})}),o.jsx(He,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Yx,{})}),o.jsx(He,{path:"/addproperty",element:o.jsx(Sp,{})})]})});vm(document.getElementById("root")).render(o.jsx(O.StrictMode,{children:o.jsx(ky,{store:n1,children:o.jsx(Zx,{})})})); + */function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function H1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function V1(e,t){return e.button===0&&(!t||t==="_self")&&!H1(e)}const K1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],q1="6";try{window.__reactRouterVersion=q1}catch{}const G1=O.createContext({isTransitioning:!1}),J1="startTransition",Yc=Xs[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=r1({window:i,v5Compat:!0}));let s=l.current,[a,u]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>s.listen(d),[s,d]),O.createElement($1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const Y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Z1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ex=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=gp(t,K1),{basename:g}=O.useContext(qt),y,w=!1;if(typeof c=="string"&&Z1.test(c)&&(y=c,Y1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),k=Yn(x.pathname,g);x.origin===p.origin&&k!=null?c=k+x.search+x.hash:w=!0}catch{}let N=O1(c,{relative:i}),h=nx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return O.createElement("a",bl({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),_e=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=gp(t,Q1),v=us(u,{relative:f.relative}),g=fi(),y=O.useContext(fp),{navigator:w,basename:N}=O.useContext(qt),h=y!=null&&rx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const k=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=p===m||!s&&p.startsWith(m)&&p.charAt(k)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:E,isPending:P,isTransitioning:h},z=E?r:void 0,b;typeof l=="function"?b=l(C):b=[l,E?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof a=="function"?a(C):a;return O.createElement(ex,bl({},f,{"aria-current":z,className:b,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var sa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sa||(sa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function tx(e){let t=O.useContext(os);return t||G(!1),t}function nx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=mi(),c=fi(),d=us(e,{relative:s});return O.useCallback(f=>{if(V1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function rx(e,t){t===void 0&&(t={});let n=O.useContext(G1);n==null&&G(!1);let{basename:r}=tx(sa.useViewTransitionState),i=us(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,s)!=null||Rl(i.pathname,l)!=null}const xt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},ix="/assets/logo-Cb1x1exd.png",wt=()=>{var i,l;const{user:e}=oi(s=>({...s.auth})),t=Jl(),n=mi(),r=()=>{t(Yg()),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:ix,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(_e,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(_e,{to:"/dashboard",children:"Dashboard"}):o.jsx(_e,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(_e,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(_e,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},lx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(xt,{})]}),sx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(xt,{})]}),ox=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(xt,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",xp=e=>typeof e=="function",ax=e=>O.isValidElement(e)||Tr(e)||xp(e)||du(e),it=new Map;let oa=[];const ed=new Set,wp=()=>it.size>0;function ux(e,t){var n;if(t)return!((n=it.get(t))==null||!n.isToastActive(e));let r=!1;return it.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function cx(e,t){ax(e)&&(wp()||oa.push({content:e,options:t}),it.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){it.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)})}let dx=1;const Np=()=>""+dx++;function fx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:Np()}function br(e,t){return cx(e,t),t.toastId}function Ll(e,t){return{...t,type:t&&t.type||e,toastId:fx(t)}}function Mi(e){return(t,n)=>br(t,Ll(e,n))}function D(e,t){return br(e,Ll("default",t))}D.loading=(e,t)=>br(e,Ll("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),D.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=Tr(i)?D.loading(i,n):D.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void D.dismiss(r);const g={type:d,...a,...n,data:v},y=Tr(f)?{render:f}:f;return r?D.update(r,{...g,...y}):D(y.render,{...g,...y}),v},c=xp(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},D.success=Mi("success"),D.info=Mi("info"),D.error=Mi("error"),D.warning=Mi("warning"),D.warn=D.warning,D.dark=(e,t)=>br(e,Ll("default",{theme:"dark",...t})),D.dismiss=function(e){(function(t){var n;if(wp()){if(t==null||Tr(n=t)||du(n))it.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=it.get(t.containerId);r?r.removeToast(t.id):it.forEach(i=>{i.removeToast(t.id)})}}else oa=oa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},D.clearWaitingQueue=function(e){e===void 0&&(e={}),it.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},D.isActive=ux,D.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=it.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:Np()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,br(s,l)}},D.done=e=>{D.update(e,{progress:1})},D.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},D.play=e=>td(!0,e),D.pause=e=>td(!1,e);var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(Ax),[n,r]=O.useState(!1),{loading:i,error:l}=oi(k=>({...k.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Jl(),N=mi();O.useEffect(()=>{l&&D.error(l)},[l]),O.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&v&&g&&y!=="")},[s,a,u,c,d,f,v,g,y]);const h=k=>{if(k.preventDefault(),u!==v)return D.error("Password should match");n?w(Ji({formValue:e,navigate:N,toast:D})):D.error("Please fill in all fields and select all checkboxes")},m=k=>k.charAt(0).toUpperCase()+k.slice(1),p=k=>{const{name:E,value:P,type:C,checked:z}=k.target;t(C==="checkbox"?b=>({...b,[E]:z}):b=>({...b,[E]:E==="email"||E==="password"||E==="confirmPassword"?P:m(P)}))},x=k=>{t(E=>({...E,userType:k.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),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:y==="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:y==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(jp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Ix={email:"",password:""},Ux=()=>{const[e,t]=O.useState(Ix),{loading:n,error:r}=oi(d=>({...d.auth})),{email:i,password:l}=e,s=Jl(),a=mi();O.useEffect(()=>{r&&D.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(Gi({formValue:e,navigate:a,toast:D}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(jp.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(_e,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(_e,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Bx="/assets/samplepic-BM_cnzgz.jpg",Sp=()=>{const[e,t]=O.useState("billing"),n=()=>{e==="billing"?t("shipping"):e==="shipping"&&t("review")},r=()=>{e==="review"?t("shipping"):e==="shipping"&&t("billing")};return o.jsxs("div",{className:"container tabs-wrap",children:[o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="billing"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("billing"),role:"tab",children:"Property Address"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Request Investment Amount"})}),o.jsx("li",{role:"presentation",className:e==="review"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("review"),role:"tab",children:"Review & Document"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="billing"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("p",{children:"Property Address Form"}),o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:n,children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Investment Details"}),o.jsx("p",{children:"Investment Details Form"}),o.jsx("button",{className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:r,children:"Go Back"})," ",o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:n,children:"Continue"})]}),e==="review"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Review & Document"}),o.jsx("p",{children:"Review & Document Tab"}),o.jsx("button",{className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:r,children:"Go Back"})," ",o.jsx("button",{className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Place Order"})]})]})]})},$x=()=>{const{user:e}=oi(i=>({...i.auth})),[t,n]=O.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(Sp,{});case"activeProperties":return o.jsx("p",{children:"Here are your active properties."});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(wt,{}),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:Bx,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:r()})]})})]}),o.jsx(xt,{})]})};var kp={exports:{}},Wx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Hx=Wx,Vx=Hx;function Ep(){}function _p(){}_p.resetWarningCache=Ep;var Kx=function(){function e(r,i,l,s,a,u){if(u!==Vx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:_p,resetWarningCache:Ep};return n.PropTypes=n,n};kp.exports=Kx();var Qx=kp.exports;const qx=nd(Qx),Gx=()=>{const[e,t]=O.useState(3),n=mi();return O.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"]})})},Cp=({children:e})=>{const{user:t}=oi(n=>({...n.auth}));return t?e:o.jsx(Gx,{})};Cp.propTypes={children:qx.node.isRequired};const Jx=()=>{const e=Jl(),{id:t,token:n}=hp();return O.useEffect(()=>{e(Xi({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),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("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(_e,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(xt,{})]})},Xx=()=>{const[e,t]=O.useState(""),[n,r]=O.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await J.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(wt,{}),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(_e,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(xt,{})]})]})},Yx=()=>{const{userId:e,token:t}=hp(),[n,r]=O.useState(""),[i,l]=O.useState(""),[s,a]=O.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),D.error("Password not entered");return}const d=await J.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),D.error("Passwords do not match.");return}else a("Password reset successfull"),D.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return O.useEffect(()=>{D.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(xt,{})]})},Zx=()=>o.jsx(X1,{children:o.jsxs(W1,{children:[o.jsx(He,{path:"/",element:o.jsx(lx,{})}),o.jsx(He,{path:"/about",element:o.jsx(sx,{})}),o.jsx(He,{path:"/contact",element:o.jsx(ox,{})}),o.jsx(He,{path:"/register",element:o.jsx(Dx,{})}),o.jsx(He,{path:"/login",element:o.jsx(Ux,{})}),o.jsx(He,{path:"/dashboard",element:o.jsx(Cp,{children:o.jsx($x,{})})}),o.jsx(He,{path:"/users/:id/verify/:token",element:o.jsx(Jx,{})}),o.jsx(He,{path:"/forgotpassword",element:o.jsx(Xx,{})}),o.jsx(He,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Yx,{})}),o.jsx(He,{path:"/addproperty",element:o.jsx(Sp,{})})]})});vm(document.getElementById("root")).render(o.jsx(O.StrictMode,{children:o.jsx(ky,{store:n1,children:o.jsx(Zx,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 1d18b7e..5bfe48d 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -42,7 +42,7 @@ - + diff --git a/ef-ui/src/components/Addproperty.jsx b/ef-ui/src/components/Addproperty.jsx index d757074..77299f3 100644 --- a/ef-ui/src/components/Addproperty.jsx +++ b/ef-ui/src/components/Addproperty.jsx @@ -1,8 +1,6 @@ import { useState } from 'react'; import "../addproperty.css" -import 'primeicons/primeicons.css'; - const Addproperty = () => { const [activeTab, setActiveTab] = useState('billing'); diff --git a/ef-ui/src/components/Dashboard.jsx b/ef-ui/src/components/Dashboard.jsx index ab0039d..8cd6239 100644 --- a/ef-ui/src/components/Dashboard.jsx +++ b/ef-ui/src/components/Dashboard.jsx @@ -5,7 +5,6 @@ import { useSelector } from "react-redux"; import profilepic from "../img/samplepic.jpg"; import Addproperty from "./Addproperty"; import "../dashboard.css"; -import 'primeicons/primeicons.css'; const Dashboard = () => { const { user } = useSelector((state) => ({ ...state.auth })); @@ -105,21 +104,21 @@ const Dashboard = () => { className={`btn mt-3 ${activeTab === "addProperty" ? "active" : ""}`} onClick={() => setActiveTab("addProperty")} > - + Add Property {/* Other Information