1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6719],{56719:(e,a,s)=>{s.r(a),s.d(a,{PropertyCardListDuplex:()=>x,PropertyCardListDuplexSkeleton:()=>u});var l=s(85664),r=s(3008),t=s(76392),n=s.n(t),i=s(74348),d=s(22712),o=s(7860),m=s(45533),c=s(96777),p=s(15179);function x(e){var a,s,t;let{hideNewlyListedBadge:c,property:x}=e,u=(0,p.n9)(x.department,x.slug,x.availableAs),h=(0,p.gq)(x),{isNew:g,relativeDate:b}=(0,p._i)(x,c),f=null!=(t=null!=(s=(0,p.qW)(x.videos)[0])?s:(0,p.wR)(x.videos)[0])?t:null;return(0,l.jsxs)("div",{className:"group relative z-30 transform-gpu overflow-hidden rounded-30 border-3 border-white bg-white shadow-testimonial ring-secondary/20 transition-all duration-300 hover:shadow-md hover:ring-12",children:[(0,l.jsxs)(n(),{className:"flex flex-wrap",href:u,prefetch:!0,children:[(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pr-15",children:(0,l.jsxs)("div",{className:"relative h-full min-h-[270px] overflow-hidden md:min-h-[346px]",children:[!!(null==(a=x.featuredImage)?void 0:a.url)&&(0,l.jsx)("div",{className:"absolute inset-0 scale-105 transition-all duration-300 group-hover:scale-100",children:(0,l.jsx)(r.default,{alt:x.address,blurDataURL:x.featuredImage.dataUrl,className:"absolute inset-0 size-full object-cover object-center",height:370,placeholder:x.featuredImage.dataUrl?"blur":"empty",src:x.featuredImage.url,width:620})}),(0,l.jsx)("div",{className:"pointer-events-none absolute top-20 left-24 z-10",children:(0,l.jsx)(o.PropertyAvailability,{property:x,theme:"duplex"})}),!!(h||g)&&(0,l.jsxs)("div",{className:"absolute inset-x-0 bottom-0 truncate bg-secondary px-10 py-6 text-center font-bold text-12 text-white tracking-[0.5px] duration-200",children:[g?"NEW ":"",h?"FEATURED ":"","LISTING",g?" - added ".concat(b):""]})]})}),(0,l.jsxs)("div",{className:"w-full rounded-b-20 px-20 pt-35 pb-25 transition-all duration-300 md:w-1/2 md:rounded-0 md:bg-white md:py-0 md:pr-0 md:pl-15 lg:py-55 lg:pl-35",children:[(0,l.jsxs)("h3",{className:"font-semibold text-22 leading-tight lg:font-bold lg:text-24",children:[!!x.priceQualifier&&"Shared Ownership"!==x.priceQualifier&&"Asking Price Of"!==x.priceQualifier&&(0,l.jsx)("span",{className:"block w-full font-bold text-14 text-secondary uppercase tracking-[1.33px]",dangerouslySetInnerHTML:{__html:x.priceQualifier}}),!!x.formattedPrice&&(0,l.jsx)("span",{className:"mr-5",dangerouslySetInnerHTML:{__html:x.formattedPrice}}),!!x.tenure&&(0,l.jsx)("span",{className:"font-semibold text-14 tracking-[0.44px]",dangerouslySetInnerHTML:{__html:x.tenure}})]}),!!x.propertyType&&!!x.propertyType&&(0,l.jsx)("div",{className:"mt-5 [display:var(--property-type-pill-display,block)]",children:(0,l.jsx)("div",{className:"inline-block rounded-10 bg-secondary/20 px-12 py-5 font-bold text-10 text-black uppercase leading-none tracking-[1.33px] shadow-md",dangerouslySetInnerHTML:{__html:x.propertyType}})}),!!x.address&&(0,l.jsx)("h2",{className:"mt-10 text-balance pt-3 font-semibold text-16 leading-[1.41176471] tracking-[0.23px]",dangerouslySetInnerHTML:{__html:x.address}}),!!x.excerpt&&"<p></p>\n"!==x.excerpt&&(0,l.jsx)("div",{className:"prose mt-20 line-clamp-4 whitespace-pre-line md:pr-20 lg:pr-50",dangerouslySetInnerHTML:{__html:x.excerpt}}),!!(x.bedrooms||x.bathrooms||x.receptionRooms||x.floorAreaTo)&&(0,l.jsxs)("div",{className:"mt-auto flex items-center pt-30",children:[!!x.bedrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.I,{className:"mr-8 size-32",name:"custom/bedroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:x.bedrooms.toString()}})]}),!!x.bathrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.I,{className:"mr-8 size-32",name:"custom/bathroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:x.bathrooms.toString()}})]}),!!x.receptionRooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.I,{className:"mr-8 size-32",name:"custom/living-room"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:x.receptionRooms.toString()}})]}),!!x.floorAreaTo&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.I,{className:"mr-8 size-32",name:"custom/dimensions"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",children:(0,p.Hz)(x.floorAreaFrom,x.floorAreaTo,x.floorAreaUnits)})]})]})]})]}),!!f&&(0,l.jsx)(m.PropertyCardVideo,{theme:"duplex",variant:"list",video:f}),(0,l.jsx)(d.FavoriteButton,{altBg:!0,hasVideos:!!f,property:x,theme:"duplex"})]})}function u(e){let{delay:a=""}=e;return(0,l.jsxs)("div",{className:"flex flex-wrap p-10 md:p-20",children:[(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pr-15",children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:(0,
1c.cn)("h-[270px] w-full animate-pulse flex-col overflow-hidden rounded-20 bg-black/20 shadow-skeleton md:h-[346px]",a)}),(0,l.jsx)("div",{className:(0,c.cn)("absolute top-20 left-24 h-50 w-1/2 max-w-130 animate-pulse rounded-23 bg-primary/30",a)})]})}),(0,l.jsx)("div",{className:"w-full md:w-1/2 md:pl-15 lg:pl-35 xl:pl-50",children:(0,l.jsxs)("div",{className:"relative flex h-full flex-col justify-center",children:[(0,l.jsx)("div",{className:(0,c.cn)("h-30 w-200 animate-pulse rounded-6 bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-7 h-15 w-130 animate-pulse rounded-6 bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-15 h-20 max-w-[360px] animate-pulse rounded-6 bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-15 h-22 max-w-[450px] animate-pulse rounded-6 bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[380px] animate-pulse rounded-6 bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[420px] animate-pulse rounded-6 bg-black/20",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mt-3 h-22 max-w-[300px] animate-pulse rounded-6 bg-black/20",a)}),(0,l.jsxs)("div",{className:"mt-20 flex items-center",children:[(0,l.jsx)("div",{className:(0,c.cn)("mr-30 size-30 animate-pulse rounded-6 bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("mr-30 size-30 animate-pulse rounded-6 bg-primary/30",a)}),(0,l.jsx)("div",{className:(0,c.cn)("size-30 animate-pulse rounded-6 bg-primary/30",a)})]}),(0,l.jsx)("div",{className:(0,c.cn)("absolute top-20 right-24 size-50 animate-pulse rounded-full bg-primary/30",a)})]})})]})}}}]);
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.