PageSourceSearch

https://www.danielsestateagents.co.uk/_next/static/chunks/2973-9aaa5aca42a9f1c5.js

js danielsestateagents.co.uk collected 2026-10-08 08:55:52 UTC 9,462 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2973],{29676:(e,t,a)=>{a.d(t,{OP:()=>l,_l:()=>o});var r=a(63276),l=function(e){return e.Down="down",e.Left="left",e.Right="right",e.Still="still",e.Up="up",e}({});function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{axis:t="y",scrollDown:a="y"===t?"down":"right",scrollUp:l="y"===t?"up":"left",still:o="still",thr:s=0}=e,[n,i]=(0,r.useState)(o),[d,u]=(0,r.useState)({bottom:0,left:0,right:0,top:0}),c=Math.max(0,s),m=(0,r.useRef)(!1),h=(0,r.useRef)(0),x=(0,r.useCallback)(()=>{let e="y"===t?window.scrollY:window.scrollX;Math.abs(e-h.current)>=c&&(i(e>h.current?a:l),h.current=Math.max(0,e)),m.current=!1},[t,c,a,l]);return(0,r.useEffect)(()=>{let e=()=>{let e=window.scrollY,t=window.scrollX,a=document.documentElement.scrollHeight-window.innerHeight-e,r=document.documentElement.scrollWidth-window.innerWidth-t;u({bottom:a,left:t,right:r,top:e})};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,r.useEffect)(()=>{h.current="y"===t?window.scrollY:window.scrollX;let e=()=>{m.current||(window.requestAnimationFrame(x),m.current=!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[x,t]),{scrollDirection:n,scrollPosition:d}}},30388:(e,t,a)=>{a.d(t,{y:()=>r});function r(e,t,a){let r=t.findIndex(e=>e.text===a);return -1===r?[...t,e]:[...t.slice(0,r+1),e,...t.slice(r+1)]}},34444:(e,t,a)=>{a.d(t,{l:()=>n});var r=a(85664),l=a(8173),o=a(74348),s=a(96777);let n=e=>{var t,a;let{error:n,hideIcons:i,label:d,onChange:u,options:c,simple:m=!1,size:h="default",theme:x="beam",value:p,ref:b,...g}=e,w=null==(t=c.find(e=>e.value===p))?void 0:t.text,f=null==(a=c.find(e=>""===e.value))?void 0:a.text,v=null!=f?f:d;return(0,r.jsxs)("div",{className:(0,s.cn)("relative transition-all",n&&!m&&"mb-38",!(n||m)&&"mb-2"),children:[!m&&(0,r.jsx)("div",{className:(0,s.cn)("group absolute flex items-center justify-between border-warning/10 border-x border-b bg-warning/5 px-10 py-5 text-11 text-warning shadow-sm transition-all duration-300",n&&"visible top-full opacity-100",!n&&"invisible top-0 opacity-0","beam"===x||"duplex"===x?"left-10 rounded-b-6":"inset-x-0"),children:null==n?void 0:n.message}),(0,r.jsxs)(l.bL,{onValueChange:u,value:p,...g,children:[(0,r.jsxs)(l.l9,{"aria-label":v,className:(0,s.cn)("group relative flex w-full appearance-none items-center justify-between border-2 bg-absolute-white text-left text-black tracking-[0.4px] shadow-none outline-none transition-all duration-300 placeholder:text-placeholder focus:z-20 focus:shadow-input-focus focus:outline-none",!(n||m)&&"border-bordergray ring-0 ring-green-1/20 hover:border-green-1 hover:ring-2 focus:border-green-2 focus:ring-4 focus:ring-green-1/20 aria-[expanded=true]:border-green-2 aria-[expanded=true]:ring-4 aria-[expanded=true]:ring-green-1/20",n&&!m&&"border-warning/40 ring-2 ring-warning/20 focus:border-warning/60 focus:ring-4 focus:ring-warning/20",m&&"border-white ring-secondary/40 hover:z-30 hover:ring-1 aria-[expanded=true]:z-30 aria-[expanded=true]:ring-2","beam"===x&&"rounded-8 text-16 leading-[24px]",("apex"===x||"chalet"===x||"gable"===x)&&!m&&"default"===h&&"text-18 leading-[28px]","fascia"===x&&!m&&"default"===h&&"text-18 leading-[28px] lg:leading-[34px]",("apex"===x||"chalet"===x||"fascia"===x||"gable"===x)&&m&&"text-16 leading-[21px]","small"===h&&"text-14 leading-[24px]","duplex"!==x&&"default"===h&&"py-10","duplex"!==x&&"View"!==d&&"pr-10 pl-14","duplex"===x&&"rounded-10 pt-29 pb-7 text-15","duplex"===x&&"View"!==d&&"pr-12 pl-14"),ref:b,children:["duplex"===x&&(0,r.jsx)("span",{className:"pointer-events-none absolute inset-x-14 top-0 pt-8 font-semibold text-12 text-black tracking-[0.3px]",dangerouslySetInnerHTML:{__html:d}}),(0,r.jsxs)("span",{className:(0,s.cn)("flex w-full items-center justify-between truncate","duplex"===x?"font-medium text-black/60":""!==p?"text-black":"text-black/60"),children:[(0,r.jsx)(l.WT,{"aria-label":p,placeholder:v,children:w}),(0,r.jsx)(l.In,{className:(0,s.cn)("text-primary","beam"!==x&&"chalet"!==x&&"duplex"!==x&&"absolute inset-y-0 right-0 flex w-49 items-center justify-center bg-absolute-white","beam"!==x&&"chalet"!==x&&"duplex"!==x&&"fascia"!==x&&!m&&"border-bordergray border-l",m&&"!text-secondary"),children:(0,r.jsx)(o.I,{className:(0,s.cn)("beam"===x||"chalet"===x?"size-20":"size-15 lg:size-20","beam"!==x&&"transition-transform group-aria-[expanded=true]:rotate-180"),name:"lucide/chevron-down"})})]})]}),(0,r.jsx)(l.ZL,{children:(0,r.jsx)(l.UC,{className:(0,s.cn)("relative z-150","beam"!==x&&"w-[var(--radix-select-trigger-width)]"),position:"beam"===x?"item-aligned":"popper",children:(0,r.jsx)(l.LM,{className:(0,s.cn)("max-h-[420px] max-w-[96vw] border border-bordergray shadow-duplexselect","fascia"===x||"gable"===x?"bg-gray-1":"bg-tertiary","beam"===x?"rounded-15 p-8":"duplex"===x?"rounded-10 p-4":"p-2"),children:(0,r.jsx)(l.YJ,{children:c.filter(e=>""!==e.value).map(e=>(0,r.jsxs)(l.q7,{className:(0,s.cn)("hover:!text-white focus:!text-white relative cursor-pointer radix-disabled:cursor-not-allowed overflow-hidden border-b bg-white py-10 pr-20 pl-30 radix-disabled:text-black/40 text-16 leading-[1.33] last:border-b-0 hover:bg-secondary focus:bg-secondary focus:outline-none","beam"
1===x&&"first:rounded-t-10 last:rounded-b-10","duplex"===x&&"first:rounded-t-8 last:rounded-b-8",("apex"===x||"chalet"===x||"fascia"===x||"gable"===x)&&"radix-disabled:hidden","fascia"!==x?"border-tertiary":"border-gray","gable"===x&&"!border-bordergray","all-houses"===e.value&&"peer",("detached-house"===e.value||"semi-detached-house"===e.value||"terraced-house"===e.value)&&"peer-sibling"),disabled:""===e.value,value:e.value,children:[(0,r.jsx)(l.p4,{children:"Property Type"!==d||"0"===e.value||i?e.text:(0,r.jsxs)("div",{className:"flex w-full items-center justify-between font-body",children:[e.text,(0,r.jsxs)("div",{className:"relative flex w-26 items-center justify-center lg:w-30",children:["all-houses"===e.value&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.I,{className:"h-21 w-24",name:"custom/detached"}),(0,r.jsx)("span",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2",children:(0,r.jsx)(o.I,{className:"h-13 w-16",name:"lucide/check"})})]}),"detached-house"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-24",name:"custom/detached"}),"semi-detached-house"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-24",name:"custom/semi-detached"}),"terraced-house"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-26",name:"custom/terraced"}),"flat"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-16",name:"custom/flat"}),"studio"===e.value&&(0,r.jsx)(o.I,{className:"h-28 w-22",name:"custom/studio"}),"bungalow"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-30",name:"custom/bungalow"}),"land"===e.value&&(0,r.jsx)(o.I,{className:"h-23 w-26",name:"custom/land"}),"commercial"===e.value&&(0,r.jsx)(o.I,{className:"h-21 w-26",name:"custom/commercial"}),"student-let"===e.value&&(0,r.jsx)(o.I,{className:"h-30 w-30",name:"custom/student-let"}),"park-homes"===e.value&&(0,r.jsx)(o.I,{className:"h-26 w-32",name:"custom/park-homes"})]})]})}),(0,r.jsx)(l.VF,{className:"absolute inset-y-0 left-8 inline-flex items-center",children:(0,r.jsx)(o.I,{className:"size-[1em]",name:"lucide/check"})}),"Property Type"===d&&(0,r.jsx)("div",{className:(0,s.cn)("-translate-x-full absolute inset-y-0 left-0 w-4 bg-secondary transition-transform",("detached-house"===e.value||"semi-detached-house"===e.value||"terraced-house"===e.value)&&"peer-hover-sibling:translate-x-0")})]},e.value))})})})})]})]})};n.displayName="Select"},61043:(e,t,a)=>{a.d(t,{C:()=>n});var r=a(22686),l=a(96590);let o={customDarkLogo:null,customLogo:null,customLogoDesktopMaxWidth:null,customLogoMobileMaxWidth:null,customFooterBackgroundColor:null,customHeaderOverlayBackgroundColor:null,customPrimaryColor:null,customSecondaryColor:null,customTopBarBackgroun
1dColor:null,floatingButtonLink:null,minimalHeader:!1,opaqueHeader:!1,pageIsLoading:!1,showFilters:!1,showPropertySearchDrawer:!1,showSparky:!1,topBarVisible:!1},s=(0,r.v)()(e=>({...o,customDarkLogoSet:t=>{e({customDarkLogo:t})},customLogoDesktopMaxWidthSet:t=>{e({customLogoDesktopMaxWidth:t})},customLogoMobileMaxWidthSet:t=>{e({customLogoMobileMaxWidth:t})},customLogoSet:t=>{e({customLogo:t})},customFooterBackgroundColorSet:t=>{e({customFooterBackgroundColor:t})},customHeaderOverlayBackgroundColorSet:t=>{e({customHeaderOverlayBackgroundColor:t})},customPrimaryColorSet:t=>{e({customPrimaryColor:t})},customSecondaryColorSet:t=>{e({customSecondaryColor:t})},customTopBarBackgroundColorSet:t=>{e({customTopBarBackgroundColor:t})},floatingButtonLinkSet:t=>{e({floatingButtonLink:t})},minimalHeaderSet:t=>{e({minimalHeader:t})},opaqueHeaderSet:t=>{e({opaqueHeader:t})},pageIsLoadingSet:t=>{e({pageIsLoading:t})},showFiltersSet:t=>{e({showFilters:t})},showPropertySearchDrawerSet:t=>{e({showPropertySearchDrawer:t})},showSparkySet:t=>{e({showSparky:t})},topBarVisibleSet:t=>{e({topBarVisible:t})}})),n=(0,l.L)(s)},81534:(e,t,a)=>{a.d(t,{Q:()=>o});var r=a(63276),l=a(3589);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,a]=(0,r.useState)(e);return(0,l.Es)(()=>{if(!t)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[t]),(0,r.useEffect)(()=>{t!==e&&a(e)},[e]),{locked:t,setLocked: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.