PageSourceSearch

https://www.danielsestateagents.co.uk/_next/static/chunks/8090.80ffa072c214ec96.js

js danielsestateagents.co.uk collected 2026-10-08 08:56:14 UTC 3,313 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8090],{8090:(e,l,s)=>{s.r(l),s.d(l,{PropertiesSliderApex:()=>m});var t=s(85664),i=s(63276),a=s(34989),c=s(29016),n=s(79602),r=s(96777);function o(e){let{isActive:l,label:s,onClick:i}=e;return(0,t.jsx)("button",{className:(0,r.cn)("apex-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[0.29px] md:mr-30 md:ml-0 md:text-26 lg:text-30",l&&"is-active"),onClick:i,type:"button",children:(0,t.jsx)("span",{children:s})})}function m(e){let{centerTitle:l,commercialLettingsDepartment:s,commercialLettingsProperties:m,commercialSalesDepartment:d,commercialSalesProperties:x,defaultTab:p,hideNewlyListedBadge:g,letDepartment:u,letProperties:h,lettingsDepartment:b,lettingsProperties:j,mobileLayoutStacked:v=!1,salesDepartment:k,salesProperties:C,soldDepartment:f,soldProperties:N}=e,[y,S]=(0,i.useState)(p),[w,A]=(0,i.useState)("sales"===p?C:"lettings"===p?j:"sold"===p?N:"let"===p?h:"commercial-sales"===p?x:"commercial-lettings"===p?m:[]),T=[f,u,k,b,d,s].filter(e=>e).length>1;return(0,i.useEffect)(()=>{A("sales"===y?C:"lettings"===y?j:"sold"===y?N:"let"===y?h:"commercial-sales"===y?x:"commercial-lettings"===y?m:[])},[y,C,j,x,m,N,h]),(0,t.jsxs)(t.Fragment,{children:[!!T&&(0,t.jsx)("div",{className:(0,r.cn)("relative z-10",(0,a.c)({theme:"apex"})),children:(0,t.jsxs)("div",{className:(0,r.cn)("flex items-center justify-center pt-20 md:pt-0",l?"":"md:justify-start"),children:[!!k&&(0,t.jsx)(o,{isActive:"sales"===y,label:"Buy",onClick:()=>{S("sales")}}),!!f&&(0,t.jsx)(o,{isActive:"sold"===y,label:"Sold",onClick:()=>{S("sold")}}),!!b&&(0,t.jsx)(o,{isActive:"lettings"===y,label:"Rent",onClick:()=>{S("lettings")}}),!!u&&(0,t.jsx)(o,{isActive:"let"===y,label:"Let",onClick:()=>{S("let")}}),!!d&&(0,t.jsx)(o,{isActive:"commercial-sales"===y,label:"Buy Commercial",onClick:()=>{S("commercial-sales")}}),!!s&&(0,t.jsx)(o,{isActive:"commercial-lettings"===y,label:"Rent Commercial",onClick:()=>{S("commercial-lettings")}})]})}),(0,t.jsx)("div",{className:(0,r.cn)("-mt-6",T&&"bg-gray"),children:(0,t.jsx)("div",{className:(0,r.cn)("relative",(0,a.c)({theme:"apex"}),T?"pt-50 md:pt-70":"pt-30 md:pt-40"),children:(0,t.jsx)("div",{className:"-mx-15 lg:-mx-20 xl:-mx-30 relative",children:(0,t.jsxs)(n.Carousel,{className:"pb-100 lg:pb-130",settings:{infinite:w.length>3,responsive:[{breakpoint:1024,settings:{slidesToScroll:2,slidesToShow:2}},{breakpoint:768,settings:{slidesToScroll:1,slidesToShow:1}}],slidesToScroll:3,slidesToShow:3},showOverflow:!0,children:[(0,t.jsx)(n.CarouselContent,{children:w.map(e=>(0,t.jsx)(n.CarouselItem,{className:"h-full px-15 lg:px-20 xl:px-30",children:(0,t.jsx)(c.A,{hideNewlyListedBadge:g,mobileLayoutStacked:v,property:e})},e.slug))}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-50 z-10 lg:bottom-65",children:(0,t.jsx)("ul",{className:"flex items-center justify-center",children:w.map((e,l)=>(0,t.jsx)(n.CarouselPaging,{activeClassName:"w-20 bg-primary","aria-label":"Slide to Property ".concat((l+1).toString()),className:(0,r.cn)("mx-4 block h-9 appearance-none transition-all md:mx-6",l%2==1&&"md:hidden lg:block",l%3!=0&&"lg:!hidden"),inactiveClassName:"w-12 bg-primary/20",index:l,type:"button"},e.slug))})})]})})})})]})}}}]);

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.