PageSourceSearch

https://platinumpropertiesely.co.uk/_next/static/chunks/7205.24787ad1977eb90a.js

js platinumpropertiesely.co.uk collected 2026-10-01 02:47:16 UTC 8,814 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7205],{77205:(e,t,s)=>{s.r(t),s.d(t,{PropertiesSliderFascia:()=>m});var l=s(85664),a=s(63276),r=s(74348),i=s(34989),n=s(99879),o=s(48306),c=s(79602),d=s(96777);function m(e){let{commercialLettingsDepartment:t,commercialLettingsProperties:s,commercialSalesDepartment:m,commercialSalesProperties:x,defaultTab:p,fasciaPropertyCardBackgroundColor:h,fasciaPropertyCardTextColor:u,hideNewlyListedBadge:g,letDepartment:f,letProperties:b,lettingsDepartment:y,lettingsProperties:j,pretitle:v,salesDepartment:w,salesProperties:N,soldDepartment:k,soldProperties:_,title:S}=e,[T,I]=(0,a.useState)(p),[C,z]=(0,a.useState)("sales"===p?N:"lettings"===p?j:"sold"===p?_:"let"===p?b:"commercial-sales"===p?x:"commercial-lettings"===p?s:[]),L=[k,f,w,y,m,t].filter(e=>e).length>1;return(0,a.useEffect)(()=>{z("sales"===T?N:"lettings"===T?j:"sold"===T?_:"let"===T?b:"commercial-sales"===T?x:"commercial-lettings"===T?s:[])},[T,N,j,x,s,_,b]),(0,l.jsxs)(l.Fragment,{children:[(!!L||!!v||!!S)&&(0,l.jsxs)("div",{className:(0,d.cn)("relative z-10",(0,i.c)({theme:"fascia"})),children:[!!v&&(0,l.jsx)("h3",{className:"mb-15 hidden font-semibold text-14 tracking-[0.6px] md:block md:text-16",dangerouslySetInnerHTML:{__html:v}}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between md:flex-nowrap",children:[!!S&&(0,l.jsx)("h2",{className:(0,d.cn)((0,o.D)({heading:"h1sm",theme:"fascia"}),"w-full pb-20 text-center md:w-auto md:pb-0 md:text-left"),dangerouslySetInnerHTML:{__html:S}}),!!L&&(0,l.jsxs)("div",{className:"flex w-full items-center justify-center pt-20 md:w-auto md:justify-start md:pt-0",children:[!!w&&(0,l.jsx)("button",{className:(0,d.cn)("min-w-105 text-center font-bold text-16 uppercase leading-[44px]","sales"===T?"bg-secondary text-white":"bg-gray text-primary"),onClick:()=>{I("sales")},type:"button",children:(0,l.jsx)("span",{children:"Buy"})}),!!k&&(0,l.jsx)("button",{className:(0,d.cn)("min-w-105 text-center font-bold text-16 uppercase leading-[44px]","sold"===T?"bg-secondary text-white":"bg-gray text-primary"),onClick:()=>{I("sold")},type:"button",children:(0,l.jsx)("span",{children:"Sold"})}),!!y&&(0,l.jsx)("button",{className:(0,d.cn)("min-w-105 text-center font-bold text-16 uppercase leading-[44px]","lettings"===T?"bg-secondary text-white":"bg-gray text-primary"),onClick:()=>{I("lettings")},type:"button",children:(0,l.jsx)("span",{children:"Rent"})}),!!f&&(0,l.jsx)("button",{className:(0,d.cn)("min-w-105 text-center font-bold text-16 uppercase leading-[44px]","let"===T?"bg-secondary text-white":"bg-gray text-primary"),onClick:()=>{I("let")},type:"button",children:(0,l.jsx)("span",{children:"Let"})})]})]})]}),(0,l.jsx)("div",{className:"-mt-6",children:(0,l.jsx)("div",{className:(0,d.cn)("relative",(0,i.c)({theme:"fascia"}),L?"pt-50 md:pt-70":"pt-30 md:pt-40"),children:(0,l.jsx)("div",{className:"-mx-15 lg:-mx-22 relative",children:(0,l.jsx)(c.Carousel,{className:"[&_.slick-track]:!flex pb-90 [&_.slick-slide.slick-active]:opacity-100 [&_.slick-slide:hover]:opacity-100 [&_.slick-slide]:h-[inherit] [&_.slick-slide]:opacity-40 [&_.slick-slide]:transition-all",settings:{appendDots:e=>(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"md:-ml-2 flex w-full items-center justify-center md:w-auto md:justify-start",children:[(0,l.jsx)(c.Q8,{className:"text-[#bdc2c9] transition-all hover:text-secondary",children:(0,l.jsx)(r.I,{className:"size-26",name:"lucide/arrow-left"})}),(0,l.jsx)(c.Oj,{className:"ml-10 text-[#bdc2c9] transition-all hover:text-secondary",children:(0,l.jsx)(r.I,{className:"size-26",name:"lucide/arrow-right"})})]}),(0,l.jsx)("ul",{className:"hidden items-center justify-center md:flex md:justify-start",children:e})]}),customPaging:e=>(0,l.jsx)("button",{"aria-label":"Slide to Property ".concat((e+1).toString()),className:"mx-7 size-16 appearance-none rounded-full bg-gray transition-all md:mr-0 md:ml-20 [.slick-active>&]:bg-secondary",type:"button"}),dots:!0,dotsClass:"absolute inset-x-0 -bottom-60 z-10 flex items-center justify-between px-10 lg:-bottom-70 lg:px-22 [&_li]:flex",infinite:!1,responsive:[{breakpoint:1024,settings:{slidesToScroll:2,slidesToShow:2}},{breakpoint:768,settings:{slidesToScroll:1,slidesToShow:1}}],slidesToScroll:3,slidesToShow:3},showOverflow:!0,children:(0,l.jsx)(c.CarouselContent,{children:C.map(e=>(0,l.jsx)(c.CarouselItem,{className:"h-full px-15 lg:px-22",children:(0,l.jsx)(n.Z,{backgroundColor:h,hideNewlyListedBadge:g,property:e,textColor:u})},e.slug))})})})})})]})}},99879:(e,t,s)=>{s.d(t,{Z:()=>x});var l=s(85664),a=s(3008),r=s(76392),i=s.n(r),n=s(74348),o=s(22712),c=s(7860),d=s(45533),m=s(15179);function x(e){var t,s,r;let{backgroundColor:x,hideNewlyListedBadge:p,priority:h=!1,property:u,textColor:g}=e,f=(0,m.n9)(u.department,u.slug,u.availableAs),b=(0,m.gq)(u),{isNew:y,relativeDate:j}=(0,m._i)(u,p),v=null!=(r=null!=(s=(0,m.qW)(u.videos)[0])?s:(0,m.wR)(u.videos)[0])?r:null;return(0,l.jsxs)("div",{className:"group relative z-10 flex h-full min-h-[510px] flex-col overflow-hidden bg-white shadow-lg",children:[(0,l.jsx)(i(),{className:"relative block h-300 w-full overflow-hidden",href:f,prefetch:!0,children:!!(null==(t=u.featuredImage)?void 0:t.url)&&(0,l.jsx)("div",{className:"absolute inset-0 transition-transform duration-4000 will-change-transform group-hover:scale-110",children:(0,l.jsx)(a.default,{alt:u.address,blurDataURL:u.featuredImage.dataUrl,className:"object-cover object-center",fill:!0,placeholder:u.featuredImage.dataUrl?"blur":"empty",priority:h,sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, (max-width: 1250px) 33vw, 400px",src:u.featuredImage.url})})}),(0,l.jsxs)(i(),{className:"flex grow flex-col bg-tertiary px-24 pt-25 pb-50 text-white",href:f,prefetch:!0,style:{backgroundColor:x||void 0,color:g||void 0},children:[(0,l.jsxs)("h3",{className:"font-semibold text-22 leading-tight [0.2px] lg:font-bold lg:text-24",children:[!!u.priceQualifier&&"Shared Ownership"!==u.priceQualifier&&"Asking Price Of"!==u.priceQualifier&&(0,l.jsx)("span",{className:"block w-full font-bold text-14 text-secondary uppercase tracking-[1.33px]",dangerouslySetInnerHTML:{__html:u.priceQualifier}}),!!u.formattedPrice&&(0,l.jsx)("span",{className:"mr-5 text-white",dangerouslySetInnerHTML:{__html:u.formattedPrice},style:{color:g||void 0}}),!!u.tenure&&(0,l.jsx)("span",{className:"font-semibold text-14 text-white tracking-[0.44px]",dangerouslySetInnerHTML:{__html:u.tenure},style:{color:g||void 0}})]}),!!u.propertyType&&!!u.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-white px-12 py-5 font-bold text-10 text-black uppercase leading-none tracking-[1.33px] shadow-md",dangerouslySetInnerHTML:{__html:u.propertyType}})}),!!u.address&&(0,l.jsx)("h2",{className:"mt-10 text-balance pt-3 text-14 text-white leading-[1.41176471] tracking-[0.23px]",dangerouslySetInnerHTML:{__html:u.address},style:{color:g||void 0}}),!!(u.bedrooms||u.bathrooms||u.receptionRooms||u.floorAreaTo)&&(0,l.jsxs)("div",{className:"mt-auto flex items-center pt-10",children:[!!u.bedrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/bedroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:u.bedrooms.toString()}})]}),!!u.bathrooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/bathroom"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:u.bathrooms.toString()}})]}),!!u.receptionRooms&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/living-room"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",dangerouslySetInnerHTML:{__html:u.receptionRooms.toString()}})]}),!!u.floorAreaTo&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.I,{className:"mr-8 size-24",name:"custom/dimensions"}),(0,l.jsx)("span",{className:"mr-20 font-bold text-20 leading-normal tracking-[0.28px]",children:(0,m.Hz)(u.floorAreaFrom,u.floorAreaTo,u.floorAreaUnits)})]})]})]}),!!(b||y)&&(0,l.jsxs)("div",{className:"absolute inset-x-0 bottom-0 z-1 truncate border border-black/15 bg-primary px-10 py-6 text-center font-bold text-12 text-white tracking-[0.5px] duration-200",children:[y?"NEW ":"",b?"FEATURED ":"","LISTING",y?" - added ".concat(j):""]}),(0,l.jsx)("div",{className:"pointer-events-none absolute top-20 left-20 z-10",children:(0,l.jsx)(c.PropertyAvailability,{property:u,theme:"fascia"})}),!!v&&(0,l.jsx)(d.PropertyCardVideo,{theme:"fascia",video:v}),(0,l.jsx)(o.FavoriteButton,{hasVideos:!!v,property:u,theme:"fascia"})]})}}}]);

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.