PageSourceSearch

https://www.onthemarket.com/assets/0.1.3293/_next/static/chunks/pages/new-homes-7b8dabd99d780247.js

js onthemarket.com collected 2026-09-24 17:19:52 UTC 23,401 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7713],{16645:e=>{e.exports={topLocations:"W1IvoP",topLocationLinks:"oI6FfE",location:"c9FkNK",hide:"U6AWzA",dropdownContainer:"O_SHdE",show:"yK8f4G",topLocationLink:"GYCv19",listOfLinks:"CA2nHd","no-js":"ajHbaA"}},23729:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var n=s(37876),r=s(14232),a=s(96523),l=s(45241),i=s(25038),o=s(31777),c=s(58440),d=s(2370),u=s(10999),h=s(84226),p=s(97994),x=s(74504);let m=e=>{let{formEl:t,errorMessage:s}=e,l=(0,o.d4)(e=>e.windowSize.width),{hasButton:i,selectOptions:c,url:d,searchType:u}=t,[h,m]=(0,r.useState)(null),[g,f]=(0,r.useState)(!1),v=(0,r.useRef)(null);return(0,n.jsx)("div",{className:"mx-4 sm:mx-9 lg:mx-20 pb-7",children:(0,n.jsxs)("form",{ref:v,action:`${d}${h}/`,children:[(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"flex-grow",children:(0,n.jsx)("select",{onChange:e=>{m(e.target.value)},className:"w-full text-base md:text-base2 px-8 rounded-lg h-[49px] md:h-[66px]",children:c.map((e,t)=>(0,n.jsx)("option",{value:e.val,children:e.name},`option-${t}`))})}),"overseas"===u&&(0,n.jsx)("input",{type:"hidden",name:"view",value:l<510?"grid":"map"}),i&&(0,n.jsx)("div",{className:"flex w-[72px]",children:(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)(x.$,{onClick:e=>{e.preventDefault(),h?(f(!1),v.current.submit()):f(!0)},className:"absolute left-[-5px] top-[-1px] rounded-bl-none rounded-tl-none rounded-tr-lg rounded-br-lg border-l-4 border-white px-4 md:px-5",size:"lg",variant:"primary",children:(0,n.jsx)(a.gc,{className:"text-white text-svg-xs md:text-svg-sm",icon:p.$UM})})})})]}),g&&(0,n.jsx)("span",{className:"mt-1 text-error text-sm flex-none",children:s||"Please enter a valid search"})]})})};var g=s(89231),f=s.n(g);let v=e=>{let{bgColor:t,ctaText:s,ctaLink:r,ctaClasses:l,header:i,icon:o,text:c}=e;return(0,n.jsxs)("div",{className:`${f().landingPageSearchCrosslinkBanner} ${"brand"===t?"bg-brand":"bg-denim"}`,children:[(0,n.jsxs)("div",{className:f().crosslinkTextFrame,children:[(0,n.jsxs)("div",{className:f().crosslinkHeader,children:[(0,n.jsx)(a.gc,{className:"md:block text-svg-sm hidden mr-3 text-white",icon:(0,d.A)(o)}),(0,n.jsx)("h3",{children:i})]}),(0,n.jsx)("p",{children:c})]}),(0,n.jsx)("div",{children:(0,n.jsx)(x.$,{text:s,variant:"transparent",className:`whitespace-nowrap w-full text-center lg:w-auto ${l||"bg-white !text-denim"}`,href:r})})]})},b=e=>{let{background:t="standard",heading:s,subHeading:p,icon:x,searchSettings:g=[],errorMessage:b}=e,j=(0,o.wA)(),[w]=(0,r.useState)(!1),y=f().landingPageSearchBgStandard;return y="home"===t?f().landingPageSearchBgHome:y,y="ftcd"===t?f().landingPageSearchBgFtcd:y,(0,n.jsx)("div",{className:`${f().landingPageSearchWrapper} ${y}`,children:(0,n.jsxs)("div",{className:f().landingPageSearchInner,children:["development"===x?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"47",height:"38",viewBox:"0 0 32.497 26",className:f().landingIcon,children:(0,n.jsx)("path",{id:"school-light",d:"M18.686,16.235H13.811a2.438,2.438,0,0,0-2.437,2.437v6.5a.812.812,0,1,0,1.625,0v-6.5a.815.815,0,0,1,.812-.812h4.875a.812.812,0,0,1,.812.812v6.5a.812.812,0,1,0,1.625,0v-6.5A2.438,2.438,0,0,0,18.686,16.235ZM3.752,9.8l-2.244.924A2.431,2.431,0,0,0,0,12.975V25.131a.842.842,0,0,0,.676.844.816.816,0,0,0,.949-.8v-12.2a.815.815,0,0,1,.505-.754l2.24-.92A.814.814,0,0,0,3.752,9.8ZM25.277,5.627,17.153.215a1.994,1.994,0,0,0-.9-.229,1.576,1.576,0,0,0-.9.273L7.226,5.671A1.528,1.528,0,0,0,6.5,7.024V25.172a.812.812,0,1,0,1.625,0V7.024l8.124-5.413,8.124,5.413V25.172a.812.812,0,1,0,1.625,0V7.024A1.665,1.665,0,0,0,25.277,5.627Zm5.712,5.093L28.745,9.8a.813.813,0,1,0-.618,1.5l2.244.922a.806.806,0,0,1,.5.748V25.131a.842.842,0,0,0,.676.844.815.815,0,0,0,.949-.8v-12.2A2.433,2.433,0,0,0,30.989,10.72Z",transform:"translate(0 0.015)",fill:"#001229"})}):x&&(0,n.jsx)(a.gc,{className:f().landingIcon,icon:(0,d.A)(x)}),"ftcd"===t&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-2 w-full",children:(0,n.jsx)("img",{width:"314",height:"120",alt:"Find the cornish dream",className:"flex-shrink-0",src:"/static/images/landing/homepage-ftcd.svg"})}),(0,n.jsx)("h1",{className:(0,u.XS)([f().landingPageHeading,x?f().hasIcon:f().noIcon]),children:s}),p&&(0,n.jsx)("p",{className:f().landingStrapline,children:p}),g.length>0&&(0,n.jsx)("div",{className:f().landingTabsFrame,children:(0,n.jsx)("div",{className:(0,u.XS)([f().landingTabsInner,w?"pb-4":""]),children:(0,n.jsxs)(l.fu,{children:[(0,n.jsx)(l.wb,{className:f().landingTabsList,children:g.map((e,t)=>(0,n.jsx)(l.oz,{className:f().tabsListTab,onClick:()=>{var t;return t=e.formElements[0].searchType,void j((0,c.LF)([{searchType:t,locationId:null}]))},children:t=>{let{selected:s}=t;return(0,n.jsxs)("span",{className:"relative flex flex-col items-center",children:[(0,n.jsx)("span",{className:`${f().tabsListTabText} ${s?f().selected:""}`,children:e.tabNav}),s&&(0,n.jsx)(i.PY1.div,{layoutId:"activeUnderline",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-brand-contrast",transition:{type:"spring",stiffness:380,damping:30}})]})}},`${e.tabNav}-${t}`))}),(0,n.jsx)(l.T2,{children:g.map((e,t)=>(0,n.jsxs)(l.Kp,{className:"focus:outline-none outline-0 focus-visible:outline-none",children:[e.formElements.map((e,t)=>"input"===e.type?(0,n.jsx)(h.A,{formEl:e},e.searchType+t):"select"===e.type?(0,n.jsx)(m,{formEl:e,errorMessage:b},e.searchType+t):null),(0,n.jsx)(v,{header:e.bottomPromo.header,icon:e.bottomPromo.icon,text:e.bottomPromo.text,ctaText:e.bottomPromo.ctaText,ctaLink:e.bottomPromo.ctaLink,ctaClasses:e.bottomPromo.ctaClasses,bgColor:e.bottomPromo.bgColor})]},`${e.tabNav}-${t}`))})]})})})]})})}},26456:()=>{},30441:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/new-homes",function(){return s(37562)}])},37562:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>S});var n=s(37876);s(14232);var r=s(21180),a=s(61702),l=s(4289),i=s(23729),o=s(42640),c=s(9969),d=s.n(c),u=s(31777),h=s(10999);let p=()=>{let e=(0,u.d4)(e=>e.results["top-developers"]);return!e?.length>0?null:(0,n.jsxs)("div",{className:(0,h.XS)([d().landingCard,d().landingTopDevelopers]),children:[(0,n.jsx)("h2",{className:"text-center",children:"Top UK Developers"}),(0,n.jsx)("div",{className:d().landingTopDevelopersList,children:e.filter(e=>e["display-logo"]?.url).map(e=>{let{"display-logo":t,url:s,name:r}=e;return(0,n.jsxs)("a",{href:s,children:[(0,n.jsx)("img",{src:t.url,alt:r}),(0,n.jsx)("span",{children:r})]},s)})})]})};var x=s(96523),m=s(97994),g=s(41653);let f=e=>{let{title:t="Top properties"}=e,s=(0,u.d4)(e=>e.results.developments);return!s?.length>0?null:(0,n.jsx)("div",{className:d().landingTopProperties,children:(0,n.jsxs)("div",{className:d().landingWrapper,children:[(0,n.jsxs)("div",{className:d().landingHeadingWithLink,children:[(0,n.jsx)("h2",{className:"text-2xl",children:t}),(0,n.jsxs)("a",{className:d().moreLink,href:"/property/",children:["Show more properties",(0,n.jsx)(x.gc,{className:(0,h.XS)([d().arrowRight,"ml-2"]),icon:m.Ni$})]})]}),(0,n.jsx)("div",{className:d().landing3Cols,children:s.map(e=>{let t={...(0,h.Tz)(e,{deep:!0})};return(0,n.jsx)(g.G,{layout:"grid",...t,title:t.name,agent:{...t.agent,logoUrl:t.displayLogo?.url},detailsUrl:t.development.url,coverImage:t.development.coverImage,mainLabel:t.labelText,showAgentLogo:!0,hidePrice
1:!0,isDevelopment:!0},t.id)})})]})})};var v=s(95798),b=s(55159),j=s(39379);let w=()=>(0,n.jsxs)(l.A,{children:[(0,n.jsx)(i.A,{background:"standard",heading:"New homes for sale",subHeading:"The simple way to search for new homes, flats and developments for sale",searchSettings:[r.newHomes,{...r.newDevelopments,bottomPromo:r.bottomPromoAgentValuation},r.agentValuation],icon:"house-heart"}),(0,n.jsxs)("div",{className:d().landingWrapper,children:[(0,n.jsx)(o.A,{page:"New homes"}),(0,n.jsxs)("div",{className:d().landingIntro,children:[(0,n.jsxs)("div",{className:d().landingIntroText,children:[(0,n.jsx)("h2",{className:"text-2xl",children:"Browse thousands of new homes available for sale across the UK"}),(0,n.jsx)("p",{children:"Got your heart set on a new build home? We’ve got you covered with properties from the UK’s leading developers, with everything from the perfect pad for first time buyers to luxury family homes in exclusive locations."}),(0,n.jsx)("p",{children:"Want to be one of the first to see newly added new build homes which match your search requirements? Just set up an alert and you’ll receive details straight to your inbox."}),(0,n.jsx)("p",{children:"If you’re searching and find a property you’d like to view, you can quickly and easily request a viewing or ask for more details. Just pop in some suggested days and times you’re available to view the property, and the developer or estate agent will come back to you directly to arrange your appointment or with the extra information you’ve requested."}),(0,n.jsx)("p",{children:"OnTheMarket. Because your property search just got serious."})]}),(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:"/static/images/landing/new-homes_02.webp",type:"image/webp"}),(0,n.jsx)("source",{srcSet:"/static/images/landing/new-homes_02.png",type:"image/png"}),(0,n.jsx)("img",{src:"/static/images/landing/new-homes_02.png",alt:"new homes"})]})]}),(0,n.jsx)(p,{}),(0,n.jsx)(f,{title:"Popular UK housing developments"})]}),(0,n.jsxs)("div",{className:d().landingWrapper,children:[(0,n.jsx)(j.A,{data:a._T,heading:"Why buy a new build home?",subText:"We look at why buying new might be the right option for you...",className:"mb-[90px] lg:mb-[140px]"}),(0,n.jsx)("hr",{className:d().landingContentSplitter}),(0,n.jsxs)("div",{className:d().landing2Cols,children:[(0,n.jsx)(v.A,{}),(0,n.jsxs)("div",{className:d().landingCol,children:[(0,n.jsx)("h2",{className:"text-2xl",children:"Top location searches"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("a",{href:"/new-homes/property/london/",children:"London new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/kent/",children:"Kent new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/surrey/",children:"Surrey new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/essex/",children:"Essex new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/birmingham/",children:"Birmingham new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/manchester/",children:"Manchester new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/glasgow/",children:"Glasgow new homes"}),", ",(0,n.jsx)("a",{href:"/new-homes/property/milton-keynes/",children:"Milton Keynes new homes"}),". "]})]})]}),(0,n.jsx)("hr",{className:d().landingContentSplitter}),(0,n.jsx)(b.A,{})]})]});var y=s(63792),N=s(30493),P=s(12118),T=s(82580),k=s(26456);let A=()=>(0,n.jsx)(w,{});A.getInitialProps=async e=>{if(T.S$){let t=await (0,k.json)(e.req);await e.reduxStore.dispatch((0,y.$)(t.globals)),await e.reduxStore.dispatch((0,N.i)(t.data)),await e.reduxStore.dispatch((0,P.KH)(t.data))}return{}};let S=A},39379:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var n=s(37876),r=s(14232),a=s(96523),l=s(97994),i=s(49094),o=s.n(i);let c=e=>{let{faqQuestion:t,faqAnswer:s}=e,[i,c]=(0,r.useState)(!1),d=i?o().showAnswer:"",u=()=>{c(!i)};return(0,n.jsxs)("li",{className:d,children:[(0,n.jsxs)("div",{className:o().faqQuestion,onClick:()=>u(),onKeyPress:()=>u(),role:"button",tabIndex:"0","aria-label":"toggle FAQ",children:[t,(0,n.jsx)(a.gc,{className:"text-link text-svg-sm",icon:i?l.EZy:l.QLR})]}),(0,n.jsx)("div",{className:o().faqAnswer,children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})]})};var d=s(10999);let u=e=>{let{group:t}=e;return(0,n.jsx)("ul",{className:o().faqReact,children:t.map(e=>(0,n.jsx)(c,{faqQuestion:e.question,faqAnswer:e.answer},e.question))})},h=e=>{let{className:t,data:s,heading:r,subText:a}=e,l=JSON.stringify({"@context":"http://schema.org","@type":"FAQPage",mainEntity:s.flat().map(e=>({"@type":"Question",name:`${e.question}
1`,acceptedAnswer:{"@type":"Answer",text:`${e.answer}`}}))});return(0,n.jsxs)("div",{className:(0,d.XS)([o().faqSection,t]),children:[(0,n.jsx)("h2",{className:`text-xl xxs:text-xl+ lg:text-2xl ${a?"mb-2":"mb-8"}`,children:r}),a&&(0,n.jsx)("p",{className:"text-sm xxs:text-md lg:text-base2 mb-8",children:a}),s.map(e=>(0,n.jsx)(u,{group:e},e)),(0,n.jsx)("script",{type:"application/ld+json",children:`
2          ${l}
3        `})]})}},42640:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var n=s(37876);s(14232);var r=s(61702),a=s(9969),l=s.n(a);let i=e=>{let{page:t}=e,s=r.WZ.find(e=>e.page===t);return void 0===s?null:(0,n.jsxs)("div",{className:l().landingNavigation,children:[(0,n.jsx)("h2",{children:s.title}),(0,n.jsx)("ul",{children:s.links.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:e.path,children:e.text})},`page-nav-link-${t}`))})]})}},45241:(e,t,s)=>{"use strict";let n,r,a;s.d(t,{oz:()=>W,fu:()=>M,wb:()=>U,Kp:()=>O,T2:()=>R});var l=s(69803),i=s(48553),o=s(14232),c=s(26437),d=s(64671),u=s(47737),h=s(29842),p=s(22529),x=s(78413),m=s(29203),g=s(36572),f=s(47980);function v(e){let{onFocus:t}=e,[s,n]=(0,o.useState)(!0),r=(0,g.a)();return s?o.createElement(f.j,{as:"button",type:"button",features:f.u.Focusable,onFocus:e=>{e.preventDefault();let s,a=50;s=requestAnimationFrame(function e(){if(a--<=0){s&&cancelAnimationFrame(s);return}if(t()){if(cancelAnimationFrame(s),!r.current)return;n(!1);return}s=requestAnimationFrame(e)})}}):null}var b=s(7784),j=s(99289),w=s(82030),y=s(62307),N=s(41612);let P=o.createContext(null);function T(e){let{children:t}=e,s=o.useRef({groups:new Map,get(e,t){var s;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let r=null!=(s=n.get(t))?s:0;return n.set(t,r+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return o.createElement(P.Provider,{value:s},t)}function k(e){let t=o.useContext(P);if(!t)throw Error("You must wrap your component in a <StableCollection>");let s=o.useId(),[n,r]=t.current.get(e,s);return o.useEffect(()=>r,[]),n}var A=s(33890),S=((n=S||{})[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n),I=((r=I||{})[r.Less=-1]="Less",r[r.Equal=0]="Equal",r[r.Greater=1]="Greater",r),C=((a=C||{})[a.SetSelectedIndex=0]="SetSelectedIndex",a[a.RegisterTab=1]="RegisterTab",a[a.UnregisterTab=2]="UnregisterTab",a[a.RegisterPanel=3]="RegisterPanel",a[a.UnregisterPanel=4]="UnregisterPanel",a);let L={0(e,t){var s;let n=(0,b.wl)(e.tabs,e=>e.current),r=(0,b.wl)(e.panels,e=>e.current),a=n.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),l={...e,tabs:n,panels:r};if(t.index<0||t.index>n.length-1){let s=(0,j.Y)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,j.Y)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===a.length)return l;let r=(0,j.Y)(s,{0:()=>n.indexOf(a[0]),1:()=>n.indexOf(a[a.length-1])});return{...l,selectedIndex:-1===r?e.selectedIndex:r}}let i=n.slice(0,t.index),o=[...n.slice(t.index),...i].find(e=>a.includes(e));if(!o)return l;let c=null!=(s=n.indexOf(o))?s:e.selectedIndex;return -1===c&&(c=e.selectedIndex),{...l,selectedIndex:c}},1(e,t){if(e.tabs.includes(t.tab))return e;let s=e.tabs[e.selectedIndex],n=(0,b.wl)([...e.tabs,t.tab],e=>e.current),r=e.selectedIndex;return e.info.current.isControlled||-1===(r=n.indexOf(s))&&(r=e.selectedIndex),{...e,tabs:n,selectedIndex:r}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,b.wl)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},D=(0,o.createContext)(null);function E(e){let t=(0,o.useContext)(D);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,E),t}return t}D.displayName="TabsDataContext";let $=(0,o.createContext)(null);function _(e){let t=(0,o.useContext)($);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}function F(e,t){return(0,j.Y)(t.type,L,e,t)}$.displayName="TabsActionsContext";let q=N.Ac.RenderStrategy|N.Ac.Static,B=(0,N.FX)(function(e,t){var s,n;let r=(0,o.useId)(),{id:a=`headlessui-tabs-tab-${r}`,disabled:h=!1,autoFocus:g=!1,...f}=e,{orientation:v,activation:P,selectedIndex:T,tabs:S,panels:I}=E("Tab"),C=_("Tab"),L=E("Tab"),[D,$]=(0,o.useState)(null),F=(0,o.useRef)(null),q=(0,m.P)(F,t,$);(0,u.s)(()=>C.registerTab(F),[C,F]);let B=k("tabs"),M=S.indexOf(F);-1===M&&(M=B);let U=M===T,R=(0,d._)(e=>{let t=e();if(t===b.Me.Success&&"auto"===P){let e=(0,y.bq)(F.current),t=L.tabs.findIndex(t=>t.current===e);-1!==t&&C.change(t)}
3return t}),O=(0,d._)(e=>{let t=S.map(e=>e.current).filter(Boolean);if(e.key===A.D.Space||e.key===A.D.Enter){e.preventDefault(),e.stopPropagation(),C.change(M);return}switch(e.key){case A.D.Home:case A.D.PageUp:return e.preventDefault(),e.stopPropagation(),R(()=>(0,b.CU)(t,b.BD.First));case A.D.End:case A.D.PageDown:return e.preventDefault(),e.stopPropagation(),R(()=>(0,b.CU)(t,b.BD.Last))}if(R(()=>(0,j.Y)(v,{vertical:()=>e.key===A.D.ArrowUp?(0,b.CU)(t,b.BD.Previous|b.BD.WrapAround):e.key===A.D.ArrowDown?(0,b.CU)(t,b.BD.Next|b.BD.WrapAround):b.Me.Error,horizontal:()=>e.key===A.D.ArrowLeft?(0,b.CU)(t,b.BD.Previous|b.BD.WrapAround):e.key===A.D.ArrowRight?(0,b.CU)(t,b.BD.Next|b.BD.WrapAround):b.Me.Error}))===b.Me.Success)return e.preventDefault()}),W=(0,o.useRef)(!1),K=(0,d._)(()=>{var e;W.current||(W.current=!0,null==(e=F.current)||e.focus({preventScroll:!0}),C.change(M),(0,w._)(()=>{W.current=!1}))}),X=(0,d._)(e=>{e.preventDefault()}),{isFocusVisible:H,focusProps:G}=(0,l.o)({autoFocus:g}),{isHovered:Y,hoverProps:V}=(0,i.M)({isDisabled:h}),{pressed:z,pressProps:Q}=(0,c.Z)({disabled:h}),Z=(0,x._)({selected:U,hover:Y,active:z,focus:H,autofocus:g,disabled:h}),J=(0,N.v6)({ref:q,onKeyDown:O,onMouseDown:X,onClick:K,id:a,role:"tab",type:(0,p.c)(e,D),"aria-controls":null==(n=null==(s=I[M])?void 0:s.current)?void 0:n.id,"aria-selected":U,tabIndex:U?0:-1,disabled:h||void 0,autoFocus:g},G,V,Q);return(0,N.Ci)()({ourProps:J,theirProps:f,slot:Z,defaultTag:"button",name:"Tabs.Tab"})}),M=(0,N.FX)(function(e,t){let{defaultIndex:s=0,vertical:n=!1,manual:r=!1,onChange:a,selectedIndex:l=null,...i}=e,c=n?"vertical":"horizontal",p=r?"manual":"auto",g=null!==l,f=(0,h.Y)({isControlled:g}),j=(0,m.P)(t),[w,y]=(0,o.useReducer)(F,{info:f,selectedIndex:null!=l?l:s,tabs:[],panels:[]}),P=(0,x._)({selectedIndex:w.selectedIndex}),k=(0,h.Y)(a||(()=>{})),A=(0,h.Y)(w.tabs),S=(0,o.useMemo)(()=>({orientation:c,activation:p,...w}),[c,p,w]),I=(0,d._)(e=>(y({type:1,tab:e}),()=>y({type:2,tab:e}))),C=(0,d._)(e=>(y({type:3,panel:e}),()=>y({type:4,panel:e}))),L=(0,d._)(e=>{E.current!==e&&k.current(e),g||y({type:0,index:e})}),E=(0,h.Y)(g?e.selectedIndex:w.selectedIndex),_=(0,o.useMemo)(()=>({registerTab:I,registerPanel:C,change:L}),[]);(0,u.s)(()=>{y({type:0,index:null!=l?l:s})},[l]),(0,u.s)(()=>{if(void 0===E.current||w.tabs.length<=0)return;let e=(0,b.wl)(w.tabs,e=>e.current);e.some((e,t)=>w.tabs[t]!==e)&&L(e.indexOf(w.tabs[E.current]))});let q=(0,N.Ci)();return o.createElement(T,null,o.createElement($.Provider,{value:_},o.createElement(D.Provider,{value:S},S.tabs.length<=0&&o.createElement(v,{onFocus:()=>{var e,t;for(let s of A.current)if((null==(e=s.current)?void 0:e.tabIndex)===0)return null==(t=s.current)||t.focus(),!0;return!1}}),q({ourProps:{ref:j},theirProps:i,slot:P,defaultTag:"div",name:"Tabs"}))))}),U=(0,N.FX)(function(e,t){let{orientation:s,selectedIndex:n}=E("Tab.List"),r=(0,m.P)(t),a=(0,x._)({selectedIndex:n});return(0,N.Ci)()({ourProps:{ref:r,role:"tablist","aria-orientation":s},theirProps:e,slot:a,defaultTag:"div",name:"Tabs.List"})}),R=(0,N.FX)(function(e,t){let{selectedIndex:s}=E("Tab.Panels"),n=(0,m.P)(t),r=(0,x._)({selectedIndex:s});return(0,N.Ci)()({ourProps:{ref:n},theirProps:e,slot:r,defaultTag:"div",name:"Tabs.Panels"})}),O=(0,N.FX)(function(e,t){var s,n,r,a;let i=(0,o.useId)(),{id:c=`headlessui-tabs-panel-${i}`,tabIndex:d=0,...h}=e,{selectedIndex:p,tabs:g,panels:v}=E("Tab.Panel"),b=_("Tab.Panel"),j=(0,o.useRef)(null),w=(0,m.P)(j,t);(0,u.s)(()=>b.registerPanel(j),[b,j]);let y=k("panels"),P=v.indexOf(j);-1===P&&(P=y);let T=P===p,{isFocusVisible:A,focusProps:S}=(0,l.o)(),I=(0,x._)({selected:T,focus:A}),C=(0,N.v6)({ref:w,id:c,role:"tabpanel","aria-labelledby":null==(n=null==(s=g[P])?void 0:s.current)?void 0:n.id,tabIndex:T?d:-1},S),L=(0,N.Ci)();return T||null!=(r=h.unmount)&&!r||null!=(a=h.static)&&a?L({ourProps:C,theirProps:h,slot:I,defaultTag:"div",features:q,visible:T,name:"Tabs.Panel"}):o.createElement(f.j,{"aria-hidden":"true",...C})}),W=Object.assign(B,{Group:M,List:U,Panels:R,Panel:O})},49094:e=>{e.exports={faqSection:"_6f9Q1u",singleList:"qfGPgO",faqReact:"pMBvCA",faqQuestion:"Dk4ad_",faqAnswer:"RkpN8L",showAnswer:"qR1zyy"}},55159:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var n=s(37876);s(14232);var r=s(31777),a=s(10999),l=s(16645),i=s.n(l),o=s(96523),c=s(97994),d=s(39188);let u=e=>{let{locationLink:t}=e,{location:s,"property-url":r,"property-description":a,"to-rent-description":l,"to-rent-url":u,"for-sale-description":h,"for-sale-url":p}=t,[x,m]=(0,d.A)(),g=x?`${i().location} ${i().show}`:`${i().location} ${i().hide}`;return(0,n.jsxs)("li",{children:[(0,n.jsxs)("span",{className:g,onClick:()=>m(),onKeyPress:()=>m(),role:"button",tabIndex:"0",children:[(0,n.jsx)(o.gc,{className:"text-link text-base inline-block mr-2 -mt-1",icon:x?c.EZy:c.QLR}),s]}),(0,n.jsx)("div",{className:i().dropdownContainer,children:(0,n.jsxs)("ul",{className:i().topLocationLink,children:[p&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{title:h,href:p,children:h})}),u&&(0,n.jsx)("li",{children:(0,n.jsx)("a",{title:l,href:u,children:l})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{title:a,href:r,children:a})})]})})]})},h=e=>{let{type:t="for-sale"}=e,s=(0,r.d4)(e=>e.results["top-locations"]);return!s?.length>0?null:(0,n.jsxs)("div",{className:i().topLocations,children:[(0,n.jsx)("h2",{className:"text-xl mb-8",children:"Browse by location"}),(0,n.jsx)("ul",{className:(0,a.XS)([i().listOfLinks,i().topLocationLinks]),children:s.map(e=>(0,n.jsx)(u,{type:t,locationLink:e},e.location))})]})}},95798:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var n=s(37876);s(14232);var r=s(96523),a=s(97994),l=s(10999),i=s(9969),o=s.n(i);let c=e=>{let{className:t}=e;return(0,n.jsxs)("div",{className:(0,l.XS)([o().landingCol,t]),children:[(0,n.jsx)("h2",{children:"Browse UK locations"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("a",{href:"/property/england/",children:"England"}),", ",(0,n.jsx)("a",{href:"/property/scotland/",children:"Scotland"}),", ",(0,n.jsx)("a",{href:"/property/wales/",children:"Wales"}),", ",(0,n.jsx)("a",{href:"/property/london/",children:"London"}),", ",(0,n.jsx)("a",{href:"/property/greater-manchester/",children:"Manchester"}),", ",(0,n.jsx)("a",{href:"/property/birmingham-and-surrounds/",children:"Birmingham"}),", ",(0,n.jsx)("a",{href:"/property/glasgow-and-surrounds/",children:"Glasgow"}),", ",(0,n.jsx)("a",{href:"/property/edinburgh-and-lothian/",children:"Edinburgh"})," and ",(0,n.jsx)("a",{href:"/property/cardiff/",children:"Cardiff"}),". "]}),(0,n.jsxs)("a",{className:o().moreLink,href:"/property/",children:["More locations",(0,n.jsx)(r.gc,{className:(0,l.XS)([o().arrowRight,"ml-2"]),icon:a.Ni$})]})]})}}},e=>{e.O(0,[6701,7725,8233,4540,3692,4144,9498,5038,1653,409,856,1523,1257,1028,6761,1445,636,6593,8792],()=>
3e(e.s=30441)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.