(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{71079:function(e,r,s){Promise.resolve().then(s.bind(s,7039)),Promise.resolve().then(s.bind(s,11062)),Promise.resolve().then(s.bind(s,79512)),Promise.resolve().then(s.t.bind(s,60104,23)),Promise.resolve().then(s.t.bind(s,58877,23)),Promise.resolve().then(s.bind(s,96592)),Promise.resolve().then(s.bind(s,14266))},14266:function(e,r,s){"use strict";s.d(r,{default:function(){return i}});var t=s(57437),o=s(79799),n=s(16463);function i(e){let{children:r}=e,s=(0,n.useRouter)();return(0,t.jsx)(o.w,{navigate:s.push,children:r})}},7039:function(e,r,s){"use strict";s.r(r),s.d(r,{default:function(){return m}});var t=s(57437),o=s(2265),n=s(6307),i=s(75945),l=s(51359);let a=[{name:"Search Listings",href:"#"},{name:"Search Schools",href:"#"},{name:"Sold Prices",href:"#"},{name:"My HomePortfolio",href:"#"}],c=[{name:"Home Buying Guides",href:"#"},{name:"Neighborhood Guides",href:"#"},{name:"Property Market Analysis",href:"#"},{name:"Property Valuation",href:"#"},{name:"Property Data API",href:"#"}],d=[{name:"About Us",href:"/AboutUs"},{name:"Our Blog",href:"#"},{name:"Contact Us",href:"/ContactUs"},{name:"Privacy Policy",href:"/PrivacyPolicy"},{name:"Terms & Conditions",href:"/Terms&Conditions"}],h=[{name:"Facebook",href:"https://www.facebook.com/homeportfoliohq/",icon:e=>(0,t.jsx)(l.Icon,{...e,icon:"fontisto:facebook"})},{name:"Instagram",href:"https://www.instagram.com/homeportfolio_/",icon:e=>(0,t.jsx)(l.Icon,{...e,icon:"fontisto:instagram"})},{name:"Twitter",href:"https://www.twitter.com/home_portfolio",icon:e=>(0,t.jsx)(l.Icon,{...e,icon:"fontisto:twitter"})},{name:"Youtube",href:"https://www.youtube.com/@home_portfolio",icon:e=>(0,t.jsx)(l.Icon,{...e,icon:"mingcute:youtube-fill",width:20,height:24})},{name:"Pinterest",href:"https://www.pinterest.com/home_portfolio/",icon:e=>(0,t.jsx)(l.Icon,{...e,icon:"mdi:pinterest",width:20,height:24})}];function m(){let e=o.useCallback(e=>{let{title:r,items:s}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-small font-semibold text-default-600",children:r}),(0,t.jsx)("ul",{className:"mt-6 space-y-4",children:null==s?void 0:s.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.O,{className:"text-default-400",href:e.href,size:"sm",children:e.name})},e.name))})]})},[]);return(0,t.jsx)("footer",{className:"flex w-screen flex-col",children:(0,t.jsxs)("div",{className:"px-6 pb-8 pt-16 sm:pt-24 lg:px-8 lg:pt-32",children:[(0,t.jsxs)("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[(0,t.jsxs)("div",{className:"space-y-8 md:pr-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-start",children:(0,t.jsx)("img",{src:"/HpLogo.jpeg",alt:"logo",className:"h-12 w-32 object-contain"})}),(0,t.jsx)("p",{className:"text-sm text-default-500",children:"We provide comprehensive database and in-depth analysis for every UK new residential property, neighbourhood, town, city and school - in one platform - for free"}),(0,t.jsx)("div",{className:"flex space-x-6",children:h.map(e=>(0,t.jsxs)(n.O,{isExternal:!0,className:"text-default-400",href:e.href,children:[(0,t.jsx)("span",{className:"sr-only",children:e.name}),(0,t.jsx)(e.icon,{"aria-hidden":"true",className:"w-6"})]},e.name))})]}),(0,t.jsxs)("div",{className:"mt-16 lg:ml-24 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3 xl:col-span-2 xl:mt-0",children:[(0,t.jsx)("div",{children:e({title:"Platform",items:a})}),(0,t.jsx)("div",{children:e({title:"Resources",items:c})}),(0,t.jsx)("div",{children:e({title:"Company",items:d})})]})]}),(0,t.jsx)(i.j,{className:"mt-16 sm:mt-20 lg:mt-24"}),(0,t.jsx)("div",{className:"flex flex-wrap justify-between gap-2 pt-8",children:(0,t.jsx)("p",{className:"text-small text-default-400",children:"\xa9 2024 HomePortfolio All rights reserved."})})]})})}},11062:function(e,r,s){"use strict";s.d(r,{default:function(){return j}});var t=s(57437),o=s(2265),n=s(59982),i=s(53891),l=s(74744),a=s(86425),c=s(98319),d=s(8284),h=s(73155),m=s(68826),f=s(87138),u=s(16463);s(15625);var x=s(8178);function j(){let[e,r]=(0,o.useState)(!1);(0,o.useEffect)(()=>{x.Z.authStore.model?r(!0):r(!1)},[x.Z.authStore.model]);let s=(0,u.usePathname)();if(s&&s.includes("home-valuation"))return(0,t.jsx)("div",{});let j=[{name:"Home",link:"/"}];return(0,t.jsxs)(n.R,{className:"fixed z-50 ",disableAnimation:!0,isBordered:!0,children:[(0,t.jsx)(i.U,{className:"sm:hidden",justify:"start",children:(0,t.jsx)(l.L,{})}),(0,t.jsx)(i.U,{className:"sm:hidden pr-3",justify:"center",children:(0,t.jsx)(a.H,{as:f.default,href:"/",children:(0,t.jsx)("p",{className:"font-bold text-inherit",children:"HomePortfolio"})})}),(0,t.jsxs)(i.U,{className:"hidden sm:flex gap-4",justify:"center",children:[(0,t.jsx)(a.H,{children:(0,t.jsx)(f.default,{href:"/",children:(0,t.jsx)("p",{className:"font-bold text-inherit",children:"HomePortfolio"})})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/home-valuation",children:"Home valuation"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/AboutUs",children:"About us"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/ContactUs",children:"Contact us"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"#",children:"Blogs"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/neighbourhood-guide",children:"Neighbourhood Guide"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/ranking",children:"Rankings"})})]}),(0,t.jsx)(i.U,{className:"hidden sm:flex gap-4",justify:"end",children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/dashboard",children:"Dashboard"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(d.A,{color:"danger",onClick:()=>{x.Z.authStore.clear(),r(!1),localStorage.removeItem("pocketbase_auth")},children:"Logout"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/login",children:"Login"})}),(0,t.jsx)(c.k,{children:(0,t.jsx)(f.default,{color:"foreground",href:"/register",children:"Sign Up"})})]})}),(0,t.jsx)(h.$,{children:j.map((e,r)=>(0,t.jsx)(m.h,{children:(0,t.jsx)(f.default,{className:"w-full",color:2===r?"warning":r===j.length-1?"danger":"foreground",href:e.link,size:"lg",children:e.name})},"".concat(e.name,"-").concat(r)))})]})}},8178:function(e,r,s){"use strict";let t=new(s(3579)).ZP("https://homeportfolio.com/v2");r.Z=t},15625:function(e,r,s){"use strict";s.d(r,{Y:function(){return o}});var t=s(39099);(0,t.Ue)(e=>({isVisible:!1,isConfirmVisible:!1,setIsVisible:r=>e({isVisible:r}),setIsConfirmVisible:r=>e({isConfirmVisible:r}),error:"",success:"",setError:r=>e({error:r}),setSuccess:r=>e({success:r}),user:{collectionId:"",collectionName:"",created:"",email:"",emailVisibility:!1,id:"",name:"",updated:"",username:"",verified:!1},setUser:r=>e({user:r})}));let o=(0,t.Ue)(e=>{let r=[];{var s;let e=null===(s=localStorage)||void 0===s?void 0:s.getItem("pocketbase_auth");if(e)try{let s=JSON.parse(e);s&&s.model&&(r=s.model)}catch(e){console.error("Failed to parse localStorage data",e)}}return{usersData:r,setUsersData:r=>e({usersData:r})}})},58877:function(){}},function(e){e.O(0,[7118,404,4210,1359,7138,3579,591,6592,6823,2661,2971,7023,1744],function(){return e(e.s=71079)}),_N_E=e.O()}]);