1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[612],{1112:(e,t,i)=>{"use strict";i.d(t,{Ef:()=>s,HF:()=>r,NP:()=>a,vk:()=>n});let n=767,a=768,r=1024;function s(e,t){return("number"!=typeof t||!(t>=r))&&!!e}},3752:e=>{e.exports={filterButton:"FilterButton_filterButton__2SvRc",isSelected:"FilterButton_isSelected__vA3Zr"}},11586:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var n=i(37876),a=i(14232),r=i(30973),s=i(24755);let l={display:"flex",flexDirection:"column",width:"100%",rowGap:6},o={display:"flex",justifyContent:"space-between",alignItems:"center"},c={fontFamily:"'Open Sans', sans-serif",fontSize:14,fontWeight:700,color:"#171717"},d={display:"flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",cursor:"pointer",lineHeight:0};function u(){return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"})})}function p(){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"}),(0,n.jsx)("rect",{x:"11",y:"4",width:"2",height:"16",fill:"#96A3B2"})]})}let h=function({value:e=[],onChange:t,showHeader:i=!0,...h}){let{t:m,i18n:g}=(0,s.Bd)(),[y,f]=(0,a.useState)(!0),{minPrice:b=[],maxPrice:x=[]}=m("price",{returnObjects:!0})||{},v=(0,a.useMemo)(()=>({crore:m("currency.priceSuffix.crore"),lacs:m("currency.priceSuffix.lacs")}),[m,g.language]),w=(0,a.useMemo)(()=>{let e=new Map;if(b.forEach(({label:t,value:i})=>{e.set(i,t)}),x.forEach(({label:t,value:i})=>{e.set(i,t)}),e.size>0&&x.length>0){let{label:t,value:i}=x[x.length-1],[n,a]=t.split(" ");e.set(i+1,`${n}+ ${a}`)}return e},[b,x,g.language]),j=(0,a.useMemo)(()=>[...w.keys()].sort((e,t)=>e-t),[w]),k=(0,a.useMemo)(()=>w.size>0?Math.max(...w.keys()):0,[w]),C=(0,a.useMemo)(()=>{let[t,i]=e;return 0===i&&(i=k),j.includes(t)||(t=j[0]),0!==i&&j.includes(i)||(i=j[j.length-1]),[t,i]},[e,j,k]),_=(0,a.useCallback)(e=>{let t=String(w.get(e)??"");if(!t)return"";let[i,n]=t.split(/\s+/);return[i,v[n?.toLowerCase()]??n].join(" ")},[w,v]),S=(0,a.useCallback)((e,i)=>{if("function"==typeof t){if(i===k)return void t(e,0);t(e,i)}},[t,k]),N=(0,a.useCallback)(()=>{f(e=>!e)},[]),A=(0,a.useCallback)(e=>0===e?"Minimum budget":"Maximum budget",[]);return(0,n.jsxs)("div",{style:l,...h,children:[i&&(0,n.jsxs)("div",{style:o,children:[(0,n.jsx)("span",{style:c,children:"Budget"}),(0,n.jsx)("button",{type:"button",style:d,onClick:N,"aria-expanded":y,"aria-label":y?"Collapse budget":"Expand budget",children:y?(0,n.jsx)(u,{}):(0,n.jsx)(p,{})})]}),y&&j.length>0&&(0,n.jsx)(r.A,{values:j,inclusiveMin:!1,inclusiveMax:!1,valueLabelDisplay:i?"auto":"off",formatLabel:_,getAriaLabel:A,selectedRange:C,onRangeChanged:S})]})}},21109:(e,t,i)=>{"use strict";i.d(t,{A:()=>T});var n=i(37876),a=i(14232),r=i(98477),s=i(3752),l=i.n(s);let o={display:"inline-flex",position:"relative",alignItems:"center",margin:0,padding:"0.3em 0.25em 0.25em 1em",color:"#171717",fontFamily:"'Open Sans', sans-serif",fontSize:"13px",lineHeight:1.75,textTransform:"none",cursor:"pointer",appearance:"none",boxSizing:"border-box",borderRadius:5,minHeight:35},c={position:"absolute",left:0,right:0,top:"100%",height:"1rem"},d={display:"inherit",margin:0},u=(0,a.forwardRef)(function({children:e,endIcon:t,isOpen:i=!1,showBadge:a=!1,className:r,style:s,...u},p){return(0,n.jsxs)("button",{ref:p,type:"button",className:`${l().filterButton}${a?` ${l().isSelected}`:""}${r?` ${r}`:""}`,style:{...o,...s},...u,children:[e,t?(0,n.jsx)("span",{style:d,children:t}):null,i?(0,n.jsx)("span",{style:c,"aria-hidden":"true"}):null]})}),p="data-dropdown-popover-trigger",h=()=>{},m={position:"relative"},g={width:"1.25rem",height:"1.25rem",display:"block",fill:"currentColor",flexShrink:0},y={position:"fixed",zIndex:4e3,pointerEvents:"none"},f={position:"relative",borderTop:"none",borderBottomLeftRadius:4,borderBottomRightRadius:4,backgroundColor:"white"},b={display:"block",position:"absolute",top:0,left:0,right:0,height:1,backgroundColor:"white"},x={pointerEvents:"auto",padding:0,overflowX:"hidden",overflowY:"auto"};function v(){return(0,n.jsx)("svg",{style:g,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}function w(){return(0,n.jsx)("svg",{style:g,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,n.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
1L18 14z"})})}let j=function({children:e,label:t="",showBadge:i=!1,maxHeight:s="260px",popoverAnchorX:l="left",ignoreSiblingTriggerClickAway:o=!1,openOnHover:c=!1,open:d,onOpen:g=h,onClose:j=h}){let k=(0,a.useRef)(),C=(0,a.useRef)(),_=(0,a.useRef)(),[S,N]=(0,a.useState)(null),A=(0,a.useCallback)(()=>{_.current&&(clearTimeout(_.current),_.current=void 0)},[]),L=(0,a.useCallback)(()=>{N(function(e,t,i){if(!e)return null;let n=e.getBoundingClientRect(),a=n.bottom;if("right"===t)return{top:a,right:Math.max(8,window.innerWidth-n.right),left:"auto"};let r=n.left;if(i){let e=i.offsetWidth,t=window.innerWidth-e-8;r>t&&(r=Math.max(8,t))}return r<8&&(r=8),{top:a,left:r,right:"auto"}}(k.current,l,C.current))},[l]),P=(0,a.useCallback)(()=>{c&&(A(),g())},[A,g,c]),I=(0,a.useCallback)(()=>{c&&(A(),_.current=setTimeout(j,120))},[A,j,c]);(0,a.useEffect)(()=>A,[A]),(0,a.useLayoutEffect)(()=>{if(!d)return void N(null);L();let e=window.requestAnimationFrame(L);return window.addEventListener("resize",L),window.addEventListener("scroll",L,!0),()=>{window.cancelAnimationFrame(e),window.removeEventListener("resize",L),window.removeEventListener("scroll",L,!0)}},[d,L]),(0,a.useEffect)(()=>{if(!d)return;let e=e=>{let{target:t}=e;C.current?.contains(t)||k.current?.contains(t)||o&&t.closest?.(`[${p}]`)||j()},t=window.setTimeout(()=>{document.addEventListener("click",e)},0);return()=>{window.clearTimeout(t),document.removeEventListener("click",e)}},[d,o,j]);let M=(0,a.useCallback)(()=>{d?j():g()},[d,j,g]),R={...x,maxHeight:s},E=d&&S?(0,n.jsx)("div",{ref:C,className:"hbDropdownPopoverPanel",style:{...y,...S},onMouseEnter:P,onMouseLeave:I,children:(0,n.jsxs)("div",{style:f,children:[(0,n.jsx)("span",{style:b,"aria-hidden":"true"}),(0,n.jsx)("div",{style:R,children:e})]})}):null;return(0,n.jsxs)("div",{style:m,onMouseEnter:P,onMouseLeave:I,children:[(0,n.jsx)(u,{ref:k,...o?{[p]:""}:{},onClick:M,isOpen:d,showBadge:i,endIcon:d?(0,n.jsx)(w,{}):(0,n.jsx)(v,{}),children:t}),E&&"u">typeof document?(0,r.createPortal)(E,document.body):null]})};var k=i(94937),C=i(30989),_=i(11586),S=i(33649);let N=[{id:"readyUnderQuick",type:"readyUnderQuick",optionsSource:{type:"advancedFilters",key:"constructionStatus"},valueKey:"constructionStatus",possessionOptionsKey:"possessionYears",constructionHandlerKey:"handleConstructionStatusChange",possessionHandlerKey:"handlePossessionChange",keyNameList:{readyToMove:["ready to move","ready-to-move","ready"],underConstruction:["under construction","under-construction","uc"]}},{id:"possessionYears",label:"Possession",type:"possession",optionsSource:{type:"advancedFilters",key:"possessionYears"},valueKey:"possessionYears",handlerKey:"handlePossessionChange"},{id:"bhks",label:"BHK",type:"configuration",optionsSource:{type:"advancedFilters",key:"configurations"},valueKey:"bhks",handlerKey:"handleConfigurationChange"},{id:"price",label:"Budget",type:"price",valueKey:"price",handlerKey:"handlePriceChange"},{id:"carpetArea",label:"Area",type:"carpetArea",optionsSource:{type:"advancedFilters",key:"carpetArea"},valueKey:"carpetArea",handlerKey:"handleCarpetAreaChange"}];var A=i(79829),L=i(5137),P=i.n(L);let I=e=>String(e??"").trim().toLowerCase().replace(/[\s_-]+/g," ");function M(e){return null==e?"":"object"!=typeof e?String(e):e?.name??e?.label??e?.title??""}function R(e){return null==e?"":"object"!=typeof e?e:e?.id??e?.value??""}function E(e,t){if(!Array.isArray(e)||!t)return!1;let i=R(t),n=I(M(t));return e.some(e=>{let t=R(e),a=I(M(e)),r=I(t),s=I(i);return t==i||r&&r===s||a&&a===n||a&&n.includes(a)||a&&a.includes(n)})}let T=function(e){let{advancedFilters:t,handlerList:i,rootClassName:r}=e,s=(0,A.fF)(),[l,o]=(0,a.useState)(null),c=(0,a.useMemo)(()=>({display:"flex",flexFlow:"row nowrap",gap:"0.5rem",overflowX:"auto",overflowY:"hidden","&::-webkit-scrollbar":{display:"none"}}),[]),d={padding:"12px",border:"1px solid #C2C9D2",borderRadius:"5px",backgroundColor:"#F8F8FF",opacity:1,marginTop:"4px"};return(0,n.jsx)("div",{className:r,style:{...c,position:"relative",zIndex:1300},children:N.map(e=>{let a=(e=>{let{optionsSource:i}=e??{};if(i&&"advancedFilters"===i.type)return t?.[i.key]})(e),r=s?.settings?.[e.valueKey],c=i?.[e.handlerKey],u=("price"===e.type||e.type,Array.isArray(r)&&r.length>0);if("readyUnderQuick"===e.type){let t=function(e=[],t){let i=e.map(e=>({raw:e,label:I(M(e))})),n=(e=[])=>{let t=e.map(I);return i.find(e=>t.some(t=>e.label.includes(t)))?.raw},a=n(t?.readyToMove),r=n(t?.underConstruction);return[a?{key:"ready",label:"Ready to move",opt:a}:null,r?{key:"under",label:"Under Construction",opt:r}
1:null].filter(Boolean)}(Array.isArray(a)?a:[],e.keyNameList),s=i?.[e.constructionHandlerKey],l=Array.isArray(r)?r:[],o=t.filter(e=>E(l,e.opt)).map(e=>e.key);return(0,n.jsx)("div",{style:{display:"flex",gap:"8px"},children:t.map(e=>{let i=o.includes(e.key);return(0,n.jsx)("div",{className:`${P().quickFilterAll} ${i?P().activeStreetView:""}`,onClick:()=>{"function"==typeof s&&s(i?l.filter(t=>!E([t],e.opt)):[...l.filter(i=>!t.some(t=>t.key===e.key&&E([i],t.opt))),e.opt])},children:e.label},e.key)})},e.id)}return"possession"===e.type?(0,n.jsx)(j,{label:e.label,showBadge:u,ignoreSiblingTriggerClickAway:!0,openOnHover:!0,open:l===e.id,onOpen:()=>o(e.id),onClose:()=>o(t=>t===e.id?null:t),children:(0,n.jsx)("div",{style:{...d,minWidth:"260px"},children:(0,n.jsx)(k.A,{options:Array.isArray(a)?a:[],selection:Array.isArray(r)?r:[],onChange:e=>c?.(e),showHeader:!1,chipGroupContainerStyle:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"8px"},chipGroupStyle:{width:"100%",justifyContent:"center"}})})},e.id):"configuration"===e.type?(0,n.jsx)(j,{label:e.label,showBadge:u,ignoreSiblingTriggerClickAway:!0,openOnHover:!0,open:l===e.id,onOpen:()=>o(e.id),onClose:()=>o(t=>t===e.id?null:t),children:(0,n.jsx)("div",{style:{...d,minWidth:"260px"},children:(0,n.jsx)(C.A,{options:Array.isArray(a)?a:[],selection:Array.isArray(r)?r:[],onChange:e=>c?.(e),showHeader:!1})})},e.id):"price"===e.type?(0,n.jsx)(j,{label:e.label,showBadge:u,ignoreSiblingTriggerClickAway:!0,openOnHover:!0,open:l===e.id,onOpen:()=>o(e.id),onClose:()=>o(t=>t===e.id?null:t),popoverAnchorX:"left",maxHeight:"unset",children:(0,n.jsx)("div",{style:{...d,minWidth:"320px"},children:(0,n.jsx)(_.A,{value:Array.isArray(r)?r:[],onChange:(e,t)=>
1c?.(e,t),showHeader:!1})})},e.id):"carpetArea"===e.type?(0,n.jsx)(j,{label:e.label,showBadge:u,ignoreSiblingTriggerClickAway:!0,openOnHover:!0,open:l===e.id,onOpen:()=>o(e.id),onClose:()=>o(t=>t===e.id?null:t),popoverAnchorX:"left",maxHeight:"unset",children:(0,n.jsx)("div",{style:{...d,minWidth:"320px"},children:(0,n.jsx)(S.A,{options:a??{},value:Array.isArray(r)?r:[],onChange:(e,t)=>c?.(e,t),showHeader:!1})})},e.id):null})})}},23948:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var n=i(37876),a=i(14232);let r={display:"inline-flex",alignItems:"center",border:"1px solid #AEB9C6",borderRadius:3,height:35,padding:"0 12px",color:"#171717",fontFamily:"'Open Sans', sans-serif",fontSize:13,fontWeight:400,lineHeight:1,cursor:"pointer",appearance:"none",outline:"none",boxSizing:"border-box"},s={display:"inline-block",font:"inherit",fontWeight:400},l={backgroundColor:"#0056b2",color:"#FFF"},o={backgroundColor:"#fff"},c=function({isActive:e=!1,label:t,onClick:i,style:a}){return(0,n.jsx)("button",{type:"button",style:{...r,...e?l:o,...a},onClick:i,children:(0,n.jsx)("span",{style:s,children:t})})},d={display:"flex",flexFlow:"row wrap",gap:"0.4rem",marginTop:5},u=function({labels:e=[],values:t=[],selectedValues:i=[],onSelectionChange:r=()=>{},containerStyle:s,chipStyle:l}){if(e.length!==t.length)throw Error("labels and values must be of equal length");let o=(0,a.useMemo)(()=>new Set(i),[i]),u=(0,a.useCallback)(e=>{r([...i,e])},[i,r]),p=(0,a.useCallback)(e=>{let t=[...i],n=t.findIndex(t=>t===e);n>=0&&t.splice(n,1),r(t)},[i,r]),h=(0,a.useCallback)(e=>{o.has(e)?p(e):u(e)},[o,p,u]);return(0,n.jsx)("div",{style:{...d,...s},children:e.map((e,i)=>{let a=t[i],r=o.has(a);return(0,n.jsx)(c,{isActive:r,label:e,style:l,onClick:()=>h(a)},a)})})}},28330:(e,t,i)=>{"use strict";i.d(t,{A:()=>k});var n=i(37876),a=i(14232),r=i(89099),s=i(40355),l=i(21942),o=i(16225);let c={position:"fixed",top:0,left:0,right:0,zIndex:1200,display:"flex",alignItems:"center",gap:8,height:54,padding:"0 10px",backgroundColor:"#fff",boxSizing:"border-box"},d={position:"relative",top:"auto",left:"auto",right:"auto",zIndex:1},u={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,padding:0,margin:0,border:"none",background:"transparent",cursor:"pointer"},p={objectFit:"none",objectPosition:"-600px -35px"},h={position:"relative",display:"flex",flex:1,alignItems:"center",minWidth:0,height:36,padding:"0 6px",border:"1px solid #e7eff7",borderRadius:3,backgroundColor:"#fff",boxSizing:"border-box"},m={display:"flex",alignItems:"center",gap:4,minWidth:0,width:"100%"},g={display:"inline-flex",alignItems:"center",maxWidth:150,height:26,padding:"0 6px",border:"none",borderRadius:3,backgroundColor:"#f3f3ff",cursor:"pointer",boxSizing:"border-box",fontFamily:"'Open Sans', sans-serif"},y={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",marginRight:4,fontSize:14,fontWeight:500,color:"#171717",textTransform:"lowercase"},f={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,lineHeight:0},b={objectFit:"none",objectPosition:"-622px -30px"},x={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:26,height:26,padding:0,border:"1px solid #c5d9ed",borderRadius:3,backgroundColor:"#f3f3ff",cursor:"pointer",boxSizing:"border-box"},v={objectFit:"none",objectPosition:"-827px -34px"},w={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:2,cursor:"pointer"},j={objectFit:"none",objectPosition:"-172px -84px"},k=({city:e,onSearchInputClick:t,onAddClick:i,onBackClick:k,sticky:C=!0,showCity:_=!0})=>{let S=(0,r.useRouter)(),[N,A]=(0,a.useState)(!C),L=(0,a.useMemo)(()=>(0,s.gg)(S.asPath,e),[S.asPath,e?.id,e?.name]);(0,a.useEffect)(()=>{if(!C)return void A(!0);let e=()=>{A(window.scrollY>=100)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[C]);let P=e=>{e.stopPropagation(),t?.(e)},I=e=>{(e.stopPropagation(),i)?i(e):t?.(e)},M=L?.name?.toLowerCase()||"mumbai",R=`/properties-in-${(0,l.Yv)(M)}`;return N?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{children:` 2 @media (min-width: 1024px) { 3 [data-cy="mob-sticky-city-search-bar"] { 4 display: none !important; 5 } 6 } 7 `}),(0,n.jsxs)("div",{style:C?c:{...c,...d},"data-cy":"mob-sticky-city-search-bar",children:[(0,n.jsx)("button",{type:"button",style:u,onClick:e=>{(e.stopPropagation(),k)?k(e):window.scrollTo(0,0)},"aria-label":"Back",children:(0,n.jsx)("img",{className:"cardNotClicked",style:p,src:o.COMMON_ICONS_SPRITE_URL,width:25,height:37,alt:"back-icon",title:"back-icon"})}),(0,n.jsx)("div",{style:h,onClick:I,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&I(e)},children:(0,n.jsxs)("div",{style:m,children:[_&&(0,n.jsxs)("button",{type:"button",style:g,onClick:P,"aria-label":"Change city",children:[(0,n.jsx)("span",{style:y,children:M}),(0,n.jsx)("span",{style:f,"aria-hidden":"true",children:(0,n.jsx)("img",{className:"cardNotClicked",style:b,src:o.COMMON_ICONS_SPRITE_URL,width:15,height:37,alt:""})})]}),(0,n.jsx)("button",{type:"button",style:x,onClick:I,"aria-label":"Open search f
7ilter",children:(0,n.jsx)("img",{className:"cardNotClicked",style:v,src:o.COMMON_ICONS_SPRITE_URL,width:16,height:36,alt:"add",title:"add"})})]})}),(0,n.jsx)("a",{style:w,role:"button","data-cy":"sticky-search-btn-buy",href:R,onClick:e=>{t&&(e.preventDefault(),P(e))},"aria-label":"Search properties",children:(0,n.jsx)("img",{className:"cardNotClicked",style:j,src:o.COMMON_ICONS_SPRITE_URL,width:25,height:37,alt:"search",title:"search"})})]})]}):null}},28474:(e,t,i)=>{"use strict";i.d(t,{A:()=>x});var n=i(37876),a=i(14232),r=i(16225);let s={display:"block",objectFit:"none",objectPosition:"-479px -37px",borderRadius:0,flexShrink:0},l=function({className:e,style:t,...i}){return(0,n.jsx)("img",{className:e,style:{...s,...t},src:r.COMMON_ICONS_SPRITE_URL,width:22,height:27,alt:"","aria-hidden":"true",...i})},o={display:"block",objectFit:"none",objectPosition:"-501px -37px",borderRadius:0,flexShrink:0},c=function({className:e,style:t,...i}){return(0,n.jsx)("img",{className:e,style:{...o,...t},src:r.COMMON_ICONS_SPRITE_URL,width:22,height:27,alt:"","aria-hidden":"true",...i})},d={height:"22px",padding:"0 4px",borderRadius:"5px",backgroundColor:"#F3F3FE",border:"1px solid #C2C9D2",fontSize:"12px",fontWeight:600,color:"#707070",display:"flex",alignItems:"center",justifyContent:"center",marginRight:"10px",marginLeft:"5px"},u=(e,t)=>
7e===t||!!e&&!!t&&String(e)===String(t),p={padding:0,display:"grid"},h={gridTemplateColumns:"1fr"},m={gridTemplateColumns:"1fr 1fr"},g={display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",margin:0,padding:"0.1em 0",gap:4,userSelect:"none",cursor:"pointer",color:"#171717",fontSize:13,lineHeight:1},y={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},f={display:"inline-flex",alignItems:"center",justifyContent:"center",padding:0,lineHeight:0,flexShrink:0},b={fontSize:13,whiteSpace:"nowrap",lineHeight:1},x=function({options:e=[],selectedValues:t=[],onSelectionChange:i,columns:r=2,...s}){let{className:l,style:o,...c}=s,d=(0,a.useCallback)(e=>{let n=e.target.value,a=[...t];if(e.target.checked)a.push(n);else{let e=a.findIndex(e=>u(e,n));e>=0&&a.splice(e,1)}i(a)},[t,i]);return(0,n.jsx)("div",{className:l,style:{...p,...1===r?h:m,...o},...c,children:e.map((e,i)=>{let a=t.some(t=>u(t,e.value));return(0,n.jsx)(v,{label:e.label,value:e.value,checked:a,onChange:d,propertyCount:e.count},`${e.label}-${i}`)})})};function v({label:e="",value:t="",propertyCount:i,checked:a=!1,onChange:r}){return(0,n.jsxs)("label",{style:g,children:[(0,n.jsx)("input",{style:y,type:"checkbox",value:t,checked:a,onChange:r}),(0,n.jsx)("span",{style:f,"aria-hidden":"true",children:a?(0,n.jsx)(c,{}):(0,n.jsx)(l,{})}),(0,n.jsx)("span",{style:b,children:e}),null!=i&&(0,n.jsx)("span",{style:d,children:i})]})}},30973:(e,t,i)=>{"use strict";i.d(t,{A:()=>k});var n=i(37876),a=i(14232);let r={display:"flex",flexDirection:"column",width:"100%",gap:0,marginTop:"-5px"},s={position:"relative",width:"calc(100% - 20px)",marginLeft:10,height:40,display:"flex",alignItems:"center",touchAction:"none",userSelect:"none"},l={position:"absolute",left:0,right:0,height:4,borderRadius:4,backgroundColor:"rgba(25, 118, 210, 0.38)"},o={position:"absolute",height:4,borderRadius:4,backgroundColor:"#1976d2"},c={position:"absolute",top:"50%",width:22,height:22,marginTop:-11,marginLeft:-11,borderRadius:"50%",backgroundColor:"white",border:"1px solid #eee",boxSizing:"border-box",cursor:"grab",padding:0,appearance:"none",zIndex:1},d={cursor:"grabbing",zIndex:2},u={position:"absolute",left:"50%",bottom:"100%",transform:"translateX(-50%)",marginBottom:8,padding:"2px 6px",borderRadius:2,fontFamily:"'Open Sans', sans-serif",fontSize:12,lineHeight:1.4,whiteSpace:"nowrap",backgroundColor:"#1e57b5",color:"#fff",pointerEvents:"none"},p={display:"flex",flexFlow:"row nowrap",justifyContent:"space-between"},h={position:"relative",width:"33.333%"},m={fontFamily:"'Open Sans', sans-serif",width:"100%",height:33,borderRadius:3,border:"1px solid #aeb9c6",backgroundColor:"#fff",padding:"0.5rem 1.75rem 0.5rem 0.8rem",lineHeight:"1rem",color:"#171717",appearance:"none",WebkitAppearance:"none",MozAppearance:"none",cursor:"pointer",boxSizing:"border-box"},g={fontSize:13},y={fontSize:14},f={position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",width:20,height:20,pointerEvents:"none",color:"rgba(0, 0, 0, 0.54)"};function b(){return(0,n.jsx)("svg",{style:f,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",fill:"currentColor"})})}function x(e,t){let i=e[0],n=e[e.length-1];return Array.isArray(t)&&2===t.length&&Number.isFinite(t[0])&&Number.isFinite(t[1])&&(0!==t[0]||0!==t[1])&&(i=t[0],n=t[1]),i<=n?[i,n]:[n,i]}function v(e,t){return"function"==typeof e?e(t):t}function w(e,t){if(!Array.isArray(t)||t.length<=1)return 0;let i=t.indexOf(e);return i<0?0:i/(t.length-1)*100}function j(e,t,i){if(!t||!Array.isArray(i)||0===i.length)return i?.[0];let n=t.getBoundingClientRect();if(n.width<=0)return i[0];let a=Math.round(Math.min(1,Math.max(0,(e-n.left)/n.width))*(i.length-1));return i[a]}let k=function({values:e,formatLabel:t,onRangeChanged:i,selectedRange:f,getAriaLabel:k,inclusiveMin:C=!0,inclusiveMax:_=!0,showEmpty:S=!1,emptyMinLabel:N="Select Min",emptyMinValue:A=0,emptyMaxLabel:L="Select Max",emptyMaxValue:P=0,valueLabelDisplay:I="auto"}){var M,R,E,T,$,O;let F=(0,a.useRef)(null),B=(0,a.useRef)(null),D=(0,a.useRef)(null),[H,U]=(0,a.useState)(null),[V,z]=(0,a.useState)(()=>x(e,f));(0,a.useEffect)(()=>{Array.isArray(e)&&0!==e.length&&z(x(e,f))},[f,e]),(0,a.useEffect)(()=>{D.current=V},[V]);let q=(0,a.useMemo)(()=>_?e:e.slice(0,-1),[e,_]),X=(0,a.useMemo)(()=>C?e:e.slice(1),[e,C]),W=(0,a.useCallback)((t,n,a=!1)=>{let r,s,l,o,c=(r=e[0],s=e[e.length-1],l=t,o=n,(n!==r||C||(o=e[1]),t!==s||_||(l=e[e.length-2]),l>o)?[o,l]:[l,o]);z(c),a&&"function"==typeof i&&i(c[0],c[1])},[e,C,_,i]),K=(0,a.useCallback)((t,i,n=!1)=>{let a=j(t,F.current,e),[r,s]=D.current??V;0===i?W(a,s,n):W(r,a,n)},[W,V,e]),G=(0,a.useCallback)(()=>{B.current=null,U(null)},[]);(0,a.useEffect)(()=>
7{if(null==H)return;let e=e=>{null!=B.current&&(e.preventDefault(),K(e.clientX,B.current,!1))},t=e=>{null!=B.current&&(K(e.clientX,B.current,!0),G())};return document.addEventListener("pointermove",e),document.addEventListener("pointerup",t),document.addEventListener("pointercancel",t),()=>{document.removeEventListener("pointermove",e),document.removeEventListener("pointerup",t),document.removeEventListener("pointercancel",t)}},[H,K,G]);let Y=(0,a.useCallback)((e,t)=>{e.preventDefault(),e.stopPropagation(),e.currentTarget.setPointerCapture?.(e.pointerId),B.current=t,U(t),K(e.clientX,t,!1)},[K]),J=(0,a.useCallback)(t=>{if(!F.current)return;t.preventDefault();let i=j(t.clientX,F.current,e),[n,a]=V,r=Math.abs(e.indexOf(i)-e.indexOf(n))<=Math.abs(e.indexOf(i)-e.indexOf(a))?0:1;B.current=r,U(r),K(t.clientX,r,!1)},[K,V,e]),Q=(0,a.useCallback)((t,i)=>{let n=e.indexOf(V[i]);if(n<0)return;let a=n;if("ArrowLeft"===t.key||"ArrowDown"===t.key)a=Math.max(0,n-1);else if("ArrowRight"===t.key||"ArrowUp"===t.key)a=Math.min(e.length-1,n+1);else if("Home"===t.key)a=0;else{if("End"!==t.key)return;a=e.length-1}t.preventDefault();let r=e[a];0===i?W(r,V[1],!0):W(V[0],r,!0)},[W,V,e]),Z=(0,a.useCallback)(e=>{""===e.target.value?W(A,V[1],!0):W(Number.parseInt(e.target.value,10),V[1],!0)},[A,V,W]),ee=(0,a.useCallback)(e=>{""===e.target.value?W(V[0],P,!0):W(V[0],Number.parseInt(e.target.value,10),!0)},[P,V,W]),et=(0,a.useCallback)(e=>"function"==typeof k?k(e):0===e?"Minimum value":"Maximum value",[k]),ei=(0,a.useCallback)(e=>String(v(t,e)),[t]),en="off"!==I,ea=w(V[0],e),er=w(V[1],e),es=(M=S,R=V[0],E=f?.[0],M?E??"":R),el=(T=S,$=V[1],O=f?.[1],T?O??"":$);return(0,n.jsxs)("div",{style:r,children:[(0,n.jsxs)("div",{ref:F,style:s,onPointerDown:J,children:[(0,n.jsx)("div",{style:l}),(0,n.jsx)("div",{style:{...o,left:`${ea}%`,width:`${Math.max(0,er-ea)}%`}}),[0,1].map(i=>{let a=V[i],r=0===i?ea:er,s=H===i;return(0,n.jsx)("button",{type:"button",style:{...c,left:`${r}%`,...s?d:null},"aria-label":et(i),"aria-valuemin":e[0],"aria-valuemax":e[e.length-1],"aria-valuenow":a,"aria-valuetext":ei(a),role:"slider",tabIndex:0,onPointerDown:e=>Y(e,i),onKeyDown:e=>Q(e,i),children:en&&("on"===I||s)?(0,n.jsx)("span",{style:u,children:v(t,a)}):null},i)})]}),(0,n.jsxs)("div",{style:p,children:[(0,n.jsxs)("div",{style:h,children:[(0,n.jsxs)("select",{id:"range-slider-min",name:"rangeSliderMin","aria-label":et(0),style:{...m,...g},value:es,onChange:Z,children:[S&&(0,n.jsx)("option",{value:"",children:N}),q.map(e=>(0,n.jsx)("option",{value:e,children:v(t,e)},e))]}),(0,n.jsx)(b,{})]}),(0,n.jsxs)("div",{style:h,children:[(0,n.jsxs)("select",{id:"range-slider-max",name:"rangeSliderMax","aria-label":et(1),style:{...m,...y},value:el,onChange:ee,children:[S&&(0,n.jsx)("option",{value:"",children:L}),X.map(e=>(0,n.jsx)("option",{value:e,children:v(t,e)},e))]}),(0,n.jsx)(b,{})]})]})]})}},30989:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876),a=i(14232),r=i(28474);let s={display:"flex",flexDirection:"column",width:"100%",rowGap:3},l={display:"flex",justifyContent:"space-between",alignItems:"center"},o={fontFamily:"'Open Sans', sans-serif",fontSize:14,fontWeight:700,color:"#171717"},c={display:"flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",cursor:"pointer",lineHeight:0};function d(){return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"})})}function u(){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"}),(0,n.jsx)("rect",{x:"11",y:"4",width:"2",height:"16",fill:"#96A3B2"})]})}let p=function({options:e=[],selection:t=[],onChange:i,showHeader:p=!0,...h}){let[m,g]=(0,a.useState)(!0),y=(0,a.useCallback)(()=>{g(e=>!e)},[]);return(0,n.jsxs)("div",{style:s,...h,children:[p&&(0,n.jsxs)("div",{style:l,children:[(0,n.jsx)("span",{style:o,children:"No. of Beds"}),(0,n.jsx)("button",{type:"button",style:c,onClick:y,"aria-expanded":m,"aria-label":m?"Collapse no. of beds":"Expand no. of beds",children:m?(0,n.jsx)(d,{}):(0,n.jsx)(u,{})})]}),m&&(0,n.jsx)(r.A,{options:e,selectedValues:t,onSelectionChange:i})]})}},33649:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876),a=i(14232),r=i(30973);let s={display:"flex",flexDirection:"column",width:"100%",rowGap:6},l={display:"flex",justifyContent:"space-between",alignItems:"center"},o={fontFamily:"'Open Sans', sans-serif",fontSize:14,fontWeight:700,color:"#171717"},c={display:"flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",curs
7or:"pointer",lineHeight:0};function d(){return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"})})}function u(){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"}),(0,n.jsx)("rect",{x:"11",y:"4",width:"2",height:"16",fill:"#96A3B2"})]})}let p=function({options:e={},value:t=[],onChange:i,showHeader:p=!0,...h}){let{minCarpetArea:m=[],maxCarpetArea:g=[]}=e,[y,f]=(0,a.useState)(!0),b=(0,a.useMemo)(()=>{let e=new Map;return m.forEach(({label:t,value:i})=>{e.set(i,t)}),g.forEach(({label:t,value:i})=>{e.set(i,t)}),e},[m,g]),x=(0,a.useMemo)(()=>[...b.keys()].sort((e,t)=>e-t),[b]),v=Math.max(...x),w=(0,a.useMemo)(()=>{let[e,i]=t;return e=e??0,0===(i=i??v)&&(i=v),[e,i]},[t,v]),j=(0,a.useCallback)(e=>0===e?"Min Area":e===v?"Max Area":String(b.get(e)||""),[b]),k=(0,a.useCallback)((e,t)=>{if("function"==typeof i){if(t===v)return void i(e,0);i(e,t)}},[i,v]),C=(0,a.useCallback)(()=>{f(e=>!e)},[]),_=(0,a.useCallback)(e=>0===e?"Minimum area":"Maximum area",[]);return(0,n.jsxs)("div",{style:s,...h,children:[p&&(0,n.jsxs)("div",{style:l,children:[(0,n.jsx)("span",{style:o,children:"Area"}),(0,n.jsx)("button",{type:"button",style:c,onClick:C,"aria-expanded":y,"aria-label":y?"Collapse area":"Expand area",children:y?(0,n.jsx)(d,{}):(0,n.jsx)(u,{})})]}),y&&x.length>0&&(0,n.jsx)(r.A,{values:x,inclusiveMin:!0,inclusiveMax:!0,valueLabelDisplay:p?"auto":"off",formatLabel:j,getAriaLabel:_,selectedRange:w,onRangeChanged:k,emptyMinLabel:"Min Area",emptyMinValue:0,emptyMaxLabel:"Max Area",emptyMaxValue:v,showEmpty:!0})]})}},38818:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>ek,default:()=>eC});var n=i(37876),a=i(18847),r=i.n(a),s=i(14232),l=i(23344),o=i(92851),c=i(16225);let d=({showBelow:e})=>{let[t,i]=(0,s.useState)(!e);return(0,s.useEffect)(()=>{if(e){let n=()=>{window.scrollY>e?t||i(!0):t&&i(!1)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}},[t,e]),(0,n.jsx)(s.Fragment,{children:t&&(0,n.jsx)("img",{"data-cy":"arrow-top-btn",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},style:{position:"fixed",right:"25px",bottom:"10px",zIndex:"99999",color:"#fff",textAlign:"center",cursor:"pointer",height:"42px",width:"42px",verticalAlign:"middle",transition:"0.3s",objectFit:"none",objectPosition:"-756px -40px",zIndex:"111"},src:c.COMMON_ICONS_SPRITE_URL,width:50,height:37,alt:"arrow-top-btn",title:"arrow-top-btn"})})};var u=i(82508),p=i(77328),h=i.n(p),m=i(57379),g=i(97747),y=i(87137),f=i(47651),b=i(31777),x=i(89099),v=i(21942),w=i(94547),j=i(73498),k=i(4594),C=i(60371),_=i(25702),S=i.n(_);let N=JSON.parse('[{"name":"Recommended","value":{"sorting_key":"p_we_recommend_count","sorting_value":"desc"}},{"name":"Newest first","value":{"sorting_key":"p_updated_date","sorting_value":"desc"}},{"name":"Price - Low to High","value":{"sorting_key":"actualMinPrice","sorting_value":"asc"}},{"name":"Price - High to Low","selected":"Price - High to Low","value":{"sorting_key":"actualMinPrice","sorting_value":"desc"}},{"name":"Area - Low to High","value":{"sorting_key":"p_min_carpet","sorting_value":"asc"}},{"name":"Area - High to Low","value":{"sorting_key":"p_min_carpet","sorting_value":"desc"}},{"name":"Project Rating - High to Low","value":{"sorting_key":"p_we_recommend_count","sorting_value":"desc"}},{"name":"Project Rating - Low to High","value":{"sorting_key":"p_we_recommend_count","sorting_value":"asc"}}]');var A=i(79829),L=i(98386),P=i(56164),I=i(49503),M=i(84912),R=i(24755),E=i(69405),T=i(65452),$=i(86649),O=i(63318),F=i(48230),B=i.n(F);let D=s.memo(e=>{let{index:t,label:i,linkTitle:a,url:r,className:s}=e;return(0,n.jsx)(B(),{rel:"noreferrer",target:"_blank",href:`${r}`,title:i,className:s,children:a},t)}),H=s.memo(e=>{let[t,a]=(0,O.Ay)("0px"),[r,l]=(0,s.useState)(null),[o,c]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(!a)return;let e=!1;return Promise.all([i.e(8189),i.e(6318)]).then(i.t.bind(i,6318,23)).then(t=>{e||l(t.default)}),()=>{e=!0}},[a]);let{title:d,data:u,options:p={}}=e,{type:h="chip"}=p;if(!u?.length)return null;let m=u.length>7;return(0,n.jsxs)("div",{ref:t,className:r?.filterCard,children:[(0,n.jsx)("h3",{children:d}),(0,n.jsx)("div",{className:r?.chipList,children:u.map((e,t)=>{let i=String(e?.linkTitle??"").trim().length<=24,a=!o&&t>=7;return(0,n.jsx)("div",{className:a?r?.chipHidden:r?.chipItem,children:(0,n.jsx)(D,{index:t,label:e.label,linkTitle:e.linkTitle,url:e.url,type:h,className:i?r?.chipLink:[r?.chipLink,r?.chipLinkLong].filter(
7Boolean).join(" ")})},`${t}-textchip`)})}),m&&(0,n.jsx)("span",{className:r?.readMoreReadLess,onClick:()=>c(e=>!e),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c(e=>!e))},children:o?"[ View Less ]":"[ View More ]"})]})}),U=s.memo(e=>{let[t,a]=(0,O.Ay)("0px"),[r,l]=(0,s.useState)(null);(0,s.useEffect)(()=>{if(!a)return;let e=!1;return Promise.all([i.e(8189),i.e(6318)]).then(i.t.bind(i,6318,23)).then(t=>{e||l(t.default)}),()=>{e=!0}},[a]);let{locationName:o,bhkWiseData:c,costWiseData:d,otherData:u,poularWiseData:p,isMobileView:h=!1}=e;return d?.length>0||c?.length>0||u?.length>0||p?.length>0?(0,n.jsx)("div",{ref:t,children:(0,n.jsxs)("div",{className:r?.expLocation,children:[(0,n.jsxs)("h2",{className:r?.sectionTitle,children:["Search ",(0,v.Zr)(o)," by filter"]}),(0,n.jsx)(H,{title:"BUDGET",data:d,options:{type:"chip"},isMobileView:h}),(0,n.jsx)(H,{title:"CONFIGURATION",data:c,options:{type:"chip"},isMobileView:h}),(0,n.jsx)(H,{title:"PROPERTY TYPE",data:u,options:{type:"chip"},isMobileView:h}),(0,n.jsx)(H,{title:"POPULAR SEARCHES",data:p,options:{type:"chip"},isMobileView:h})]})}):(0,n.jsx)("div",{ref:t,className:"searchPageContainer"})});var V=i(15039),z=i.n(V);let q=({classes:e,items:t=[],locationName:i="",isMobileView:a=!1,propertyType:r="residential"})=>
7{let[l,o]=(0,s.useState)(0),[c,d]=(0,s.useState)(0),[u,p]=(0,s.useState)(40),h=(0,s.useRef)(null),m=(0,s.useRef)(null),g=(0,s.useRef)([]),y=t?.length??0;(0,s.useEffect)(()=>{if(a)return;let e=h.current;if(!e)return;let t=()=>{d(e.offsetHeight)};if(t(),"u"<typeof ResizeObserver)return;let i=new ResizeObserver(t);return i.observe(e),()=>i.disconnect()},[a,y]),(0,s.useEffect)(()=>{if(a)return;let e=m.current;if(!e)return;let t=()=>{let t=parseFloat(window.getComputedStyle(e).marginBottom)||0;p(e.offsetHeight+t)};if(t(),"u"<typeof ResizeObserver)return;let i=new ResizeObserver(t);return i.observe(e),()=>i.disconnect()},[a,l]);let f=(0,s.useCallback)((e,t)=>{if(!y)return;let i=t;if("ArrowDown"===e.key||"ArrowRight"===e.key)i=(t+1)%y;else if("ArrowUp"===e.key||"ArrowLeft"===e.key)i=(t-1+y)%y;else if("Home"===e.key)i=0;else{if("End"!==e.key)return;i=y-1}e.preventDefault(),o(i),g.current[i]?.focus()},[y]);if(!y)return null;let b=Math.max(80,c-u),x=a?"240px":c>0?`${b}px`:void 0;return(0,n.jsxs)("div",{className:z()("location-info-v2",e?.locationInfoV2,{[e?.cardMobile]:a}),children:[(0,n.jsx)("header",{className:e?.header,children:(0,n.jsxs)("h2",{className:e?.title,children:["About ","commercial"==r?"Commercial":""," Properties in ",i]})}),(0,n.jsxs)("div",{className:e?.body,children:[(0,n.jsx)("div",{ref:h,className:e?.tabList,role:"tablist","aria-label":`About ${"commercial"==r?"Commercial":""} properties in ${i}`,"aria-orientation":a?"horizontal":"vertical",children:t.map((t,i)=>{let a=t?.label||t?.title||"",r=l===i;return(0,n.jsx)("button",{type:"button",role:"tab",id:`location-info-tab-${i}`,"aria-selected":r,"aria-controls":`location-info-panel-${i}`,tabIndex:r?0:-1,ref:e=>{g.current[i]=e},className:z()(e?.tab,{[e?.tabActive]:r}),onClick:()=>o(i),onKeyDown:e=>f(e,i),children:a},i)})}),(0,n.jsx)("div",{className:e?.panels,children:t.map((t,i)=>{let a=l===i,r=(0,$.Ay)(t.description??""),s=t.title||"";return(0,n.jsxs)("div",{role:"tabpanel",id:`location-info-panel-${i}`,"aria-labelledby":`location-info-tab-${i}`,hidden:!a,className:z()(e?.panel,{[e?.panelHidden]:!a}),children:[(0,n.jsx)("h3",{ref:a?m:void 0,className:e?.panelTitle,children:s}),(0,n.jsx)("div",{className:e?.panelContent,style:x?{maxHeight:x}:void 0,children:r})]},i)})})]})]})},X=r()(()=>Promise.all([i.e(2697),i.e(7738),i.e(9674)]).then(i.bind(i,29674)).then(e=>e.Chart),{loadableGenerated:{webpack:()=>[29674]},ssr:!1,loading:()=>null}),W=({faqList:e,classes:t})=>{let[i,a]=(0,s.useState)(0);if(!e?.length)return null;let r=Math.ceil(e.length/2),l=[e.slice(0,r),e.slice(r)];return(0,n.jsx)("div",{className:`${t?.locality_footer} footer-section searchPageContainer`,style:{display:"flex",flexDirection:"column"},children:(0,n.jsxs)("div",{className:t?.faqBg,children:[(0,n.jsx)("h2",{className:t?.faqTitle,children:"Frequently asked questions"}),(0,n.jsx)("div",{className:t?.faqGrid,children:l.map((e,s)=>(0,n.jsx)("div",{className:t?.faqColumn,children:e.map((e,l)=>{let o=0===s?l:r+l,c=i===o;return(0,n.jsxs)("div",{className:`${t?.faqItem}${c?` ${t?.faqItemOpen}`:""}`,children:[(0,n.jsxs)("button",{type:"button",className:t?.faqSummary,"aria-expanded":c,onClick:()=>{a(e=>e===o?-1:o)},children:[(0,n.jsx)("h3",{className:t?.faqQuestion,children:e.title}),(0,n.jsx)("span",{className:t?.faqToggle,"aria-hidden":"true"})]}),(0,n.jsx)("div",{className:t?.faqAnswer,style:{display:c?"block":"none"},children:(0,$.Ay)(e.description??"")})]},o)})},s))})]})})},K=e=>{let{t}=(0,R.Bd)(),{data:a,selectedCity:r,fullURL:l,isMobileView:o}
7=e,[d,u]=(0,s.useState)(a),[p,h]=(0,s.useState)(a?.popularWise??[]),[m,g]=(0,s.useState)(a?.bhkWiseAppartments??[]),[y,f]=(0,s.useState)(e.keyInformation),[b,x]=(0,s.useState)(a.searchPageProps),[w,j]=(0,O.Ay)("0px"),[_,S]=(0,s.useState)(null),[N,A]=(0,s.useState)(e?.propertyType??"residential");(0,s.useEffect)(()=>{if(!j)return;let e=!1;return Promise.all([i.e(3290),i.e(3137)]).then(i.t.bind(i,33137,23)).then(t=>{e||S(t.default)}),()=>{e=!0}},[j]),(0,s.useEffect)(()=>{let e=e=>{((e={})=>{let t=e?.city??r;if(!t?.name||!t?.id)return;let i=e?.localityId??"",n=e?.subLocationId??"",a=e?.propertyConfiguration??b?.propertyConfiguration??"appartment";a="commercial"===a.toLowerCase().trim()?"commercial office":a;let s=e?.fullURL??l??"",{priceconfig:o,flatconfig:d}=(0,E.iz)(s),p=`${c.API_ROOT}${k.hC}?cityname=${t.name}&module=buy&cityid=${t.id}`;(o??"")!=""&&(p+=`&priceconfig=${o.toLowerCase()}`),(d??"")!=""&&(p+=`&flatconfig=${d.toLowerCase()}`),(i??"")!=""&&(p+=`&suburbanId=${i}`),(n??"")!=""&&(p+=`&localityId=${n}`),""!=a&&(p+=`&configurationType=${a.toLowerCase()}`),e?.popularPartId&&(p+=`&popularId=${e?.popularPartId}`),e?.propertyType&&(p+=`&propertyType=${e?.propertyType.toLowerCase()}`),C.A.get(p).then(e=>{e?.data?.footerData&&(u({...e.data.footerData??{},locationName:t.name}),h(e?.data?.footerData?.popularWise??[]),f(e?.data?.keyInformation??{}),g(e?.data?.footerData?.bhkWiseAppartments??[]),x(e?.data?.searchPageProps??{}),A(e?.data?.propertyType??"residential"))}).catch(()=>{u(e=>({...e??{},locationName:t.name}))})})(e?.detail??{})};return window.addEventListener(T.C1,e),()=>{window.removeEventListener(T.C1,e)}},[]);let L=y?.faqs?.keyFaqInformations??y?.faqs?.keyInformations??[];return y?.keyFeatures?.keyInformations?.length>0||y?.popularSublocality?.length>0||d?.costWiseAppartments?.length>0||d?.otherProperties?.length>0||d?.bhkWiseAppartments?.length>0||L.length>0?(0,n.jsxs)("section",{ref:w,className:_?.root,children:[y?.keyFeatures?.keyInformations?.length>0&&(0,n.jsx)("div",{className:`${_?.locality_footer} footer-section searchPageContainer`,style:{display:"flex",flexDirection:"column"},children:(0,n.jsx)(q,{items:y.keyFeatures.keyInformations,locationName:d?.titleheader,classes:_,isMobileView:o,propertyType:N})}),(y?.popularSublocality??[]).length>0&&(0,n.jsx)("div",{className:`${_?.locality_footer} footer-section searchPageContainer`,style:{display:"flex",flexDirection:"column"},children:j&&((e,i)=>{let a=[],r=[];for(let e of i)a.push(e.sl_name??""),r.push(e.price_t_jan??0);return(0,n.jsx)(X,{isMobileView:o,title:`Popular ${"commercial"===N?"Commercial":"Residential"} Sub Localities in ${(0,v.Zr)(e)}`,data:{labels:a,datasets:[{label:`Price ${t("currency.symbol")}`,data:r,borderColor:"#D3A591",backgroundColor:"#FFE7DB",borderWidth:1,inflateAmount:.1}]}})})(d?.titleheader??a?.titleheader??r?.name,y?.popularSublocality)}),(0,n.jsx)("div",{className:`${_?.locality_footer} footer-section searchPageContainer`,style:{display:"flex",flexDirection:"column"},children:(0,n.jsx)(U,{module:"buy",isMobileView:o,locationName:d?.titleheader,footerDataName:d?.locationName,cityName:a?.locationName,selectedCityName:r?.name,bhkWiseData:m,costWiseData:d?.costWiseAppartments??[],otherData:d?.otherProperties??[],poularWiseData:p??[]})}),(0,n.jsx)(W,{faqList:L,classes:_})]}):null};var G=i(79630);let Y=e=>{let{breadcrumbData:t,searchCardList:i,full_url_slug:a,searchTitleString:r,isMobileView:s,currentPage:l,totalPages:o}=e,d={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.label,item:e.url?`https://www.homebazaar.com${e.url}`:""}))},u=`${a}${l>1?`?page=${l}`:""}`,p=l>1?`${a}${l>2?`?page=${l-1}`:""}`:null,m=l<o?`${a}?page=${l+1}`:null,g={"@context":"https://schema.org","@type":"ItemList","@title":r,"@url":a,itemListElement:i.map((e,t)=>({"@type":"ListItem",position:t+1,url:`${["yes","true"].includes(c.NEXT_PUBLIC_GTM_CODE_SHOW?.toLowerCase().trim())?"https://www.homebazaar.com":"https://www.staging.yourhomekart.in"}${e.propertyUrl}`,name:e?.projectName,image:e?.projectImageList?.[0]?.imageUrl}))};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h(),{children:[(0,n.jsx)("link",{rel:"preload",fetchPriority:"high",href:`${i[0]?.projectImageList?.[0]?.imageUrl}?${s?"tr=w-360,h-164":"tr=w-248,h-380"}`,as:"image"},"search-page-property-image"),(0,n.jsx)("link",{rel:"canonical",href:u}),m&&(0,n.jsx)("link",{rel:"next",href:m}),p&&(0,n.jsx)("link",{rel:"prev",href:p})]}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d)}}),i?.length>0&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g)}}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(G.t)}})]})};var J=i(10691),Q=i.n(J),Z=i(14575),ee=i(26054);let et=function({title:e,projects:t,viewAllUrl:i,classes:a,gridStyle:r}){if(!t?.length)return null;let s=t.slice(0,7);return(0,n.jsx)("div",{style:r,children:(0,n.jsxs)("div",{className:a.searchProjects,children:[(0,n.jsx)("h2",{children:e}),(0,n.jsxs)("div",{className:a.carouselRow,children:[(0,n.jsx)("div",{className:a.projects,children:s.map((e,t)=>{let{projectName:i,bannerImages:r,startingPrice:s,property_url:l}=e;return(0,n.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsxs)("div",{className:a.allProjects,children:[(0,n.jsx)("div",{className:a.imageWrapper,children:r?(0,n.jsx)("img",{src:r[0]&&`${r[0]}?tr=w-112,h-72`,alt:i,loading:"lazy",decoding:"async",fetchPriority:"low",width:"112",he
7ight:"72"}):(0,n.jsx)("div",{style:{width:112,height:72,backgroundColor:"#eeeeee",borderRadius:4}})}),(0,n.jsxs)("div",{className:a.projectTitlePrice,children:[(0,n.jsx)("p",{children:i}),(0,n.jsx)("small",{children:s})]})]})},t)})}),(0,n.jsx)("div",{className:a.viewAll,children:(0,n.jsx)("a",{href:i,children:"View All"})})]})]})})};var ei=i(70085),en=i(7722),ea=i(5849),er=i(15148),es=i.n(er),el=i(38890),eo=i(51404),ec=i(28330),ed=i(21109);let eu=r()(()=>Promise.all([i.e(7094),i.e(1116),i.e(2277)]).then(i.bind(i,92277)),{loadableGenerated:{webpack:()=>[92277]},ssr:!1,loading:()=>null}),ep={display:"flex",justifyContent:"space-between"},eh=function({ctx:e}){let t=(0,A.fF)(),{isMobileView:i,currentCity:a,classes:r,showMobileFilter:l,setShowMobileFilter:d,projectList:u,bread_crum:p,total_item_count:h,end:m,pageMeta:g,isSticky:y,selectedFilterOptionsList:f,main_loading:b,nearby:x,nearbyTitle:w,cachedProject:j,renderListCard:k,paginateParams:C,total_pagesCount:_,onPaginateNext:S,searchBottomLoader:N,onSortByFilterSelectChange:L,advancedFilters:P,handlerList:I,sortingData:M,pagePropsData:R,locations:E,apiData:T}=e,$=(0,s.useMemo)(()=>({category:R?.category??"",popular_part_id:(R?.popular_parts??[]).map(e=>e?.id??0),location_id:R?.locality_id?[R.locality_id]:[],sublocation_id:(R?.sublocations??[]).map(e=>e?.id??0),developer_id:R?.developer_id?[R.developer_id]:[]}),[R]),O=e=>{e?.stopPropagation?.(),d(!0)};return(0,n.jsx)("div",{className:"searchMobileLayout",children:(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)(ec.A,{sticky:!1,showCity:!1,city:a,onBackClick:v.xg,onAddClick:O,onSearchInputClick:O}),(0,n.jsx)("section",{role:"main",children:(0,n.jsxs)("div",{className:r.cardSection,children:[u&&(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:r.searchMobBreadcrumbs,children:(0,n.jsxs)("div",{style:ep,children:[(0,n.jsx)("div",{style:{color:"#171717",display:i?"none":"block"},children:(0,n.jsx)(eo.A,{isMobileView:i,t_class:r.breadcrumbs,list:p??[],pageType:"searchPage"})}),(0,n.jsx)("div",{className:r.showingResult,children:h?`Showing ${parseInt(m)-(u?.length-1)}-${m} of ${h}`:""})]})}),(0,n.jsx)("h1",{className:r.searchMobInfoTitle,children:g?.title}),(0,n.jsxs)("div",{className:z()([y]),children:[(0,n.jsxs)("div",{className:r.filterTabsHeight,children:[(0,n.jsx)("div",{className:r.quickTab,onClick:()=>d(!0),children:(0,n.jsx)("img",{src:c.COMMON_ICONS_SPRITE_URL,alt:"filter-view",width:28,height:26})}),(0,n.jsxs)("div",{className:r.horizontalScroll,children:[(0,n.jsx)(el.A,{sortFilter:M,onSortByFilterSelectChange:L,compact:!0}),(0,n.jsx)(ed.A,{advancedFilters:P,apiData:T,handlerList:I})]})]}),(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:r.filterTabs,children:(0,n.jsx)("div",{className:r.filterTabs,children:f.length>0&&(0,n.jsx)("div",{className:r.appliedFilters,children:(0,n.jsxs)("div",{className:r.filterAlignment,children:[(0,n.jsx)("div",{className:r.applyfilterHeader,children:(0,n.jsx)("span",{className:r.applyfilterText,children:"Applied Filters"})}),f.map(e=>(0,n.jsxs)("div",{className:r.filterTab,children:[(0,n.jsx)("span",{children:e.label}),(0,n.jsx)("span",{className:r.removeTab,onClick:e.onRemove,children:"â"})]},e.key))]})})})})})]})]}),b?(0,n.jsxs)("div",{className:r.mainLoading,children:[(0,n.jsx)(o.A,{src:"/static/images/home-loader.gif",width:"50px",height:"50px",alt:"home-loader"}),x&&x.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:r.recommendProjects,children:w}),k(x,j,{newProjectList:[],isMobileView:!0})]})]}):(0,n.jsxs)(n.Fragment,{children:[C.page>=C.loadUntilPage||_<=C.page?(0,n.jsx)("div",{className:r.cardList,children:k(u,j,{isMobileView:!0})}):(0,n.jsx)(es(),{className:r.cardList,loadMore:S,hasMore:C.page<C.loadUntilPage,loader:(0,n.jsx)("div",{className:r.mainLoading,children:(0,n.jsx)(o.A,{src:"/static/images/home-loader.gif",width:"50px",height:"50px",alt:"home-loader"})}),children:k(u,j,{isMobileView:!0})}),N(),x&&x.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:r.recommendProjects,children:w}),(0,n.jsx)("div",{className:r.cardList,children:k(x,j,{newProjectList:[],isMobileView:!0})})]})]})]})}),(0,n.jsx)("div",{className:r.searchMobBreadcrumbsBottom,children:(0,n.jsx)("div",{style:ep,children:(0,n.jsx)(eo.A,{isMobileView:i,root_class:r.breadcrumbs,list:p??[],pageType:"searchPage"})})}),l&&(0,n.jsx)(eu,{moduleType:t.settings.module,category:R?.category??t.settings.cityName,isOpen:l,locations:E,onCloseClick:()=>d(!1),pageContext:$,isSearchPage:!0})]})})},em=r()(()=>i.e(335).then(i.bind(i,10335)),{loadableGenerated:{webpack:()=>[10335]},ssr:!1,loading:()=>null}),eg=r()(()=>i.e(8751).then(i.bind(i,68751)),{loadableGenerated:{webpack:()=>[68751]},ssr:!1,loading:()=>null}),ey=r()(()=>i.e(6765).then(i.bind(i,76765)),{loadableGenerated:{webpack:()=>[76765]},loading:()=>null,ssr:!0}),ef=r()(()=>Promise.all([i.e(8746),i.e(2562),i.e(7094),i.e(1116),i.e(9579),i.e(8161),i.e(4856),i.e(3735),i.e(5617)]).then(i.bind(i,63735)),{loadableGenerated:{webpack:()=>[63735]},ssr:!1,loading:()=>null}),eb=r()(()=>Promise.all([i.e(2562),i.e(9535),i.e(8746),i.e(7094),i.e(1116),i.e(9579),i.e(8161),i.e(4856),i.e(6296),i.e(8467)]).then(i.bind(i,46296)),{loadableGenerated:{webpack:()=>[46296]},ssr:!1,loading:()=>null}),ex=r()(()=>Promise.all([i.e(7094),i.e(1116),i.e(8660)]).then(i.bind(i,26279)),{loadableGenerated:{webpack:()=>[26279]},ssr:!1,loading:()=>null}),ev=r()(()=>Promise.all([i.e(7094),i.e(1116),i.e(426)]).then(i.bind(i,10426)),{loadableGenerated:{webpack:()=>[10426]},ssr:!1,loading:()=>null}),ew=e=>{let t,i,{searchFooterData:a,searchPageProps:r,onCitySelected:p,cityData:_,originalUrl:E,fullURL:$,customProps:F,isMobileView:B}=e,{page_type:D,builder_name:H,footer_data:U}=r,V=(0,b.wA)(),q=(0,b.d4)(e=>e.searchReducer),X=(0,b.d4)(e=>e.discountedDealReducer),W=(0,b.d4)(e=>e.getShortlistedpropertiesReducer.wishlist),G=(0,b.d4)(e=>e.headerReducer.cities),J=(0,b.d4)(e=>e.advancedFiltersReducer),er=(0,x.useRouter)(),{t:es}
7=(0,R.Bd)(),el=(0,P.A)(),eo=(0,s.useRef)(null),[ec,ed]=(0,s.useState)(en.XJ.INSTANT_CALLBACK),[eu,ep]=(0,s.useState)(!1),[ew,ej]=(0,O.Ay)("0px"),[ek,eC]=(0,s.useState)(!1),[e_,eS]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=()=>{window.scrollY>"250"?e_||eS(!0):e_&&eS(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[e_]);let eN=e_?B?Q().stickymobile:Q().sticky:Q().normal,eA=(e,t)=>{let i=W?.data[0].project;for(let t in W?.data){let n=W?.data[t].label,a=W?.data[t].project;if("New Project"===n&&"buy"===e){i=a;break}}let n=!1;for(let e in i)if(i[e].propertyId===t){n=!0;break}return n},eL=(0,A.fF)(),eP=er.query[L.AL];(0,s.useEffect)(()=>{eP||(0,T.YU)(eL.settings,{pagePropsData:r,fullURL:$,cityData:_})},[r,$,_,eL,eP]),(0,s.useEffect)(()=>{_?.id!=null&&_?.name&&(eL.settings.cityId=_.id,eL.settings.cityName=_.name)},[_,eL]);let{projectList:eI,total_pages:eM,total_item_count:eR,loading:eE,nearby:eT,bread_crum:e$,pageMeta:eO}=q||{},{dealoftheweek:eF,discountDeals:eB,ready_to_move:eD}=X,eH=q?.recently_added_projects,eU=(0,T.j7)($),[eV,ez]=(0,s.useState)({page:er.query?.page?parseInt(er.query.page):1,skip:er.query?.page?20*parseInt(er.query.page):0,limit:20,loadUntilPage:2,sortKey:eU.sortKey,sortOrder:eU.sortOrder}),eq=(0,s.useRef)(eV),eX=(0,s.useCallback)((e={})=>(ez(t=>({...t,page:1,loadUntilPage:2,skip:0,...e})),eq.current={...eq.current,page:1,loadUntilPage:2,skip:0,...e},eV),[]),eW=(0,ee.A)();var eK={home_url:E,gclid:eW?.gclid||"",url:E,utm_source:eW?.utm_source||"",utm_medium:eW?.utm_medium||"",utm_campaign:eW?.utm_campaign||"",utm_term:eW?.utm_term||"",utm_physical_location:"",utm_tragetid:"",utm_target:"",utm_placement:"",utm_adpos:"",fbclid:"",type:0,source:"Microsite Chat Icon",lead_source:"chatbot",ip:"1.1.1.1",apiHost:c.API_ROOT,imagepath:"/static/images/chatbot/",leadcoversion:"push_chatbot",desktoptimer:1e4,mobiletimer:1e4,device:B?"":"Desktop"};
7let[eG,eY]=(0,s.useState)(!1),[eJ,eQ]=(0,s.useState)(""),[eZ,e0]=(0,s.useState)(""),[e1,e2]=(0,s.useState)(!1),[e4,e3]=(0,s.useState)(!1),[e7,e6]=(0,s.useState)({}),[e5,e9]=(0,s.useState)({}),[e8,te]=(0,s.useState)(),[tt,ti]=(0,s.useState)(""),[tn,ta]=(0,s.useState)({}),[tr,ts]=(0,s.useState)(""),[tl,to]=(0,s.useState)(!1),[tc]=(0,u.A)(),[td,tu]=(0,s.useState)(!1),tp=function(e){let t=e.settings.subLocations;if(t.length>0)return t[t.length-1].name;let i=e.settings.locations;if(i.length>0)return i[i.length-1].name;let n=e.settings.popularParts;return n.length>0?n[n.length-1].name:""}(eL),th=`Similar Properties Nearby ${(0,v.Zr)(""!==tp?tp:eL.settings.cityName)}`,[tm,tg]=(0,s.useState)(!1),[ty,tf]=(0,s.useState)(!1),[tb,tx]=(0,s.useState)(!1),tv=()=>{tx(!tb)};(0,s.useEffect)(()=>{tv(),(0,v.nB)(e)},[]);let[tw,tj]=(0,s.useState)(),[tk]=(0,s.useState)(""),tC=(0,s.useMemo)(()=>(0,T.S9)(eL.settings),[eL.settings.popularParts,eL.settings.locations,eL.settings.subLocations]),t_="SearchPage";(0,s.useEffect)(()=>{V((0,g.XY)(t_))},[tp,eL.settings.module,eL.settings.cityName,H,D,tC]),(0,s.useEffect)(()=>{tS()},[tm]);let tS=()=>{let e=JSON.parse(localStorage.getItem("buy"));if(e){let t=[{panelID:"panel1",label:"New Project",project:e||[]}];e&&e?.length>0?tj(t):tj([])}},tN=()=>{if(!eE){let e=Math.min(eV.page+1,eM),t=eV.page*eV.limit;ez(i=>({...i,page:e,skip:t,limit:20})),eq.current={...eq.current,page:e,skip:t,limit:20};let i=new URLSearchParams(window.location.search);i.set("page",e);let n={};i.forEach((e,t)=>{n[t]=e}),er.replace({pathname:er.pathname,query:n},{pathname:window.location.pathname,query:n},{shallow:!0}),tA({limit:eq.current.limit,skip:eq.current.skip,mainLoading:0===t,moreData:0!==t,sortingKey:eq.current.sortKey,sortingOrder:eq.current.sortOrder})}},tA=e=>{let t=eL.exportFilter(),i=new URL(window.location.href),n=i.pathname+i.search,a={limit:e.limit,skip:e.skip,main_loading:e.mainLoading,more_data:e.moreData,sorting_key:e.sortingKey,sorting_value:e.sortingOrder,user_id:e.userId,p_id:tk||0,pagefrom:"searchpage",searchPageURL:decodeURIComponent(n)};"buy"===eL.settings.module&&(a.furnishing_status=[]);let r=Object.assign(t,a);V((0,m.DW)(r))};(0,s.useEffect)(()=>{let e=!0;q?.projectList?.length>0&&(e=!1),eE&&e?eC(!0):eC(!1)},[eE]);let tL=eL.settings.propertyTypes[0];(0,s.useEffect)(()=>{let{configurations:e}=J||{};e&&e.length>0||V((0,m.KU)({city_id:eL.settings.cityId}))},[eL.settings.cityId,tp]);let tP=e=>{let t=e?.detail||{paginationParams:{}};t.skipPageRefresh||(i&&clearTimeout(i),i=setTimeout(()=>{if(t.isFooterDataDependent&&(0,T.Vk)(T.C1,{city:{id:eL.settings.cityId,name:eL.settings.cityName},localityId:eL.settings.locations[0]?.id,subLocationId:eL.settings.subLocations[0]?.id,propertyConfiguration:eL.settings.unitTypes[0]??"",popularPartId:eL.settings?.popularParts?.length>0?eL.settings?.popularParts[0]?.id:"",propertyType:(eL.settings.propertyTypes[0]??"").toLowerCase().includes("commercial")?"commercial":"residential"}),eX({...t.paginationParams}),window.scrollTo(0,0),"clearAllFilters"===t.type){eL.search(!0);let e=(0,v.lE)(eL.settings.cityName?v.e3.propertiesIn:v.e3.search,eL.settings.module||"buy",eL.settings.cityName);window.location.href=e}eL.search(!0),tA({limit:eq.current.limit,skip:eq.current.skip,mainLoading:!0,moreData:!1,sortingKey:eq.current.sortKey,sortingOrder:eq.current.sortOrder,userId:tc?.id})},300))};(0,s.useEffect)(()=>{if(el)return window.addEventListener(T.Xc,tP),()=>window.removeEventListener(T.Xc,tP)},[]);let tI=()=>eE&&eI.length>0?(0,n.jsx)("div",{className:Q().mainLoader,children:(0,n.jsx)(o.A,{src:"/static/images/home-loader.gif",width:"50px",height:"50px",alt:"home-loader"})}):eV.page!==eM&&eI.length>0?(0,n.jsxs)("div",{className:Q().dFlex,children:[" ",(0,n.jsx)(l.A,{"data-cy":"view-details-btn",text:"Load More Properties",variant:"contained",onClick:tN})]}):null,tM=(e,t="")=>{let i="mobile"===t?"object"==typeof e.sorting_key?e.sorting_key[eL.settings.module.toLowerCase()]:e.sorting_key:e.sortKey,n="mobile"===t?e.sorting_value:e.sortOrder;
7(0,T.Vk)(T.Xc,{type:"onSortFilterChange",paginationParams:{sortKey:i,sortOrder:n}})};function tR(e,t,i=en.XJ.INSTANT_CALLBACK){eQ(t),ed(i),e0(e),eY(!0)}let tE=(e,t,{newProjectList:i,isMobileView:a}={})=>(0,n.jsx)(ei.A,{searchCardRef:ew,isSearchCardVisible:ej,useCaseType:ea.Kt,projectList:e,cachedProject:t,isMobileView:a,isWishlisted:eA,onDetailsClick:tT,onGalleryOpen:t$,onScheduleTourClick:tR,onWishlistToggle:tD,selectedPId:tk,recentNewCard:i??eH,loading:eE,locationDisplayName:(0,v.Zr)(""!==tp?tp:eL.settings.cityName)}),tT=(e,t,i,n,a)=>{el&&n>1?window.location.href=`/${eL.settings.module}/properties-at-${t.replaceAll(" ","-").toLowerCase()}`:(0,v.eU)({module_type:eL.settings.module,city_name:eL.settings.cityName,property_name:t,property_id:e,localityName:i,bhkTypes:a})},t$=async(e,t,i,n,a)=>{let r={STREET_VIEW:"Street",VIDEO_VIEW:"Video",PROJECT_IMAGES_VIEW:"Photos",UNIT_FLOOR_PLANS_VIEW:"Floorplan",BROCHURE_VIEW:"Brochure"}[e]||"Photos";ta((0,w.RG)(a)),te({name:r,index:0,imgId:null}),ti(r),to(!0);try{let e=await C.A.get(`${c.API_ROOT}${k.N$}`,{params:{p_id:n}});if(200===e.status){let t=e.data.data,i=(0,w.NT)(t);if(Object.keys(i??{}).length<=0)return;let n="string"==typeof t?.brochureURL&&t.brochureURL||"";e6(t),e9(i),ts(n),B?e3(!0):e2(!0)}}finally{to(!1)}},tO=()=>{B?e3(!1):e2(!1),te(void 0)},tF=(e,t)=>{let i;switch(t){case"popular_part_id":i=S()([...eL.settings.popularParts,e],"id"),eL.settings.popularParts=i;break;case"location_id":i=S()([...eL.settings.locations,e],"id"),eL.settings.locations=i;break;case"sublocation_id":i=S()([...eL.settings.subLocations,e],"id"),eL.settings.subLocations=i;break;case"developer_id":i=S()([...eL.settings.developers,e],"id"),eL.settings.developers=i}(0,T.Vk)(T.Xc,{type:`${t}-searchFilterChange`,isFooterDataDependent:!0})},tB=e=>{let{type:t,id:i}=e,n=eL.settings[t].findIndex(e=>e.id===i);if(n<0)return;let a=[...eL.settings[t]];if(a.splice(n,1),eL.settings[t]=a,0===eL.settings.locations.length){let e=G.find(e=>e.id===_?.id);if(e?.url_slug){window.location.href=`/${e.url_slug}`;return}}(0,T.Vk)(T.Xc,{type:"handleRemoveSearch",isFooterDataDependent:!0})},tD=e=>{V((0,y.oS)((0,f.X3)({propertyId:e,cityId:eL.settings.cityId,cityName:eL.settings.cityName}))),tf(!ty)},tH=(0,s.useMemo)(()=>({id:eL.settings.cityId,name:eL.settings.cityName}),[eL.settings.cityId,eL.settings.cityName]),tU=(0,s.useMemo)(()=>[].concat(eL.settings.popularParts.map(e=>({...e,type:"popularParts"})),eL.settings.locations.map(e=>({...e,type:"locations"})),eL.settings.subLocations.map(e=>({...e,type:"subLocations"}))),[eL.settings.popularParts,eL.settings.locations,eL.settings.subLocations]),tV=(0,s.useMemo)(()=>eL.settings.developers.map(e=>({...e,type:"developers"})),[eL.settings.developers]),tz=(0,s.useMemo)(()=>eL.settings.popularParts.map(e=>e.id),[eL.settings.popularParts]),tq=(0,s.useMemo)(()=>eL.settings.locations.map(e=>e.id),[eL.settings.locations]),tX=(0,s.useMemo)(()=>eL.settings.subLocations.map(e=>e.id),[eL.settings.subLocations]),tW=(0,s.useMemo)(()=>eL.settings.developers.map(e=>e.id),[eL.settings.developers]),tK={...F};tK.title=r?.meta_title,tK.description=r?.meta_description;let tG={[en.XJ.PRICE]:{heading:"Price On Request",buttonHeading:"Request for Price",label:" Request For Price"},[en.XJ.AREA]:{heading:"Area On Request",buttonHeading:"Request for Area",label:"Request For Area"},[en.XJ.INSTANT_CALLBACK]:{heading:"Get Instant Call Back Now",buttonHeading:"Get Instant Call Back",label:"Instant Call Back"}},{page:tY}=eV;(0,s.useEffect)(()=>{if(!eL?.settings)return;let e=eL.settings.popularParts.length>0?eL.settings.popularParts.map(e=>e.name).join(", "):eL.settings.locations.length>0?eL.settings.locations.map(e=>e.name).join(", "):eL.settings.subLocations.length>0?eL.settings.subLocations.map(e=>e.name).join(", "):"",t={module_type:eL.settings.module,city_name:eL.settings.cityName||"",date:(0,j.Ay)(new Date,"MMMM do, yyyy"),time:(0,j.Ay)(new Date,"hh:mm a"),date_time:(0,j.Ay)(new Date,"MMMM do, yyyy hh:mm a"),sub_city:e},i=JSON.parse(localStorage.getItem("search_history"))||[],n=i[i.length-1],a=`${t.module_type}-${t.city_name}-${t.sub_city}`;(n?`${n.module_type}-${n.city_name}-${n.sub_city}`:null)!==a&&(i.push(t),localStorage.setItem("search_history",JSON.stringify(i)),eo.current=a)},[eL.settings.popularParts,eL.settings.locations,eL.settings.subLocations,eL.settings.cityName,eL.settings.module]),t=1===tY?Math.min(20,eR):Math.min(20+(tY-1)*20,eR);let tJ=(0,T.B5)(T.Xc,{type:"handleTopLocalitiesChange",isFooterDataDependent:!0},({value:e})=>{eL.settings.unitTypes=[],eL.settings.bhks=[],eL.settings.propertyTypes=[e]}),tQ=(0,T.B5)(T.Xc,{type:"handleUnitTypeChange"},e=>{eL.settings.unitTypes=e}),tZ=(0,T.B5)(T.Xc,{type:"handleConfigurationChange"},e=>{eL.settings.bhks=e}),t0=(0,T.B5)(T.Xc,{type:"handleCarpetAreaChange"},(e,t)=>{eL.settings.carpetArea=[e,t],window.scrollTo(0,0)}),t1=(0,T.B5)(T.Xc,{type:"handlePriceChange"},(e,t)=>{eL.settings.price=[e,t],window.scrollTo(0,0)}),t2=(0,T.B5)(T.Xc,{type:"handleBuilderRatingsChange"},e=>{eL.settings.builderRatings=e}),t4=(0,T.B5)(T.Xc,{type:"handleAmenitiesChange"},e=>{eL.settings.amenities=e}),t3=(0,T.B5)(T.Xc,{type:"handleBanksChange"},e=>{eL.settings.banks=e}),t7=(0,T.B5)(T.Xc,{type:"handlePossessionChange"},e=>{eL.settings.possessionYears=e}),t6=(0,T.B5)(T.Xc,{type:"handlePropertyTypeToggleOff"},()=>{eL.settings.unitTypes=[],eL.settings.bhks=[],eL.settings.propertyTypes=[]}),t5=(0,T.B5)(T.Xc,{type:"handleStreetViewChange"},e=>{let t=eL.settings.with_filter||[],i=e.includes("street_view")?Array.from(new Set([...t,"street_view"])):t.filter(e=>"street_view"!==e);eL.settings.with_filter=i}),t9=(0,T.B5)(T.Xc,{type:"handleVideoViewChange"},e=>{let t=eL.settings.with_filter||[],i=e.includes("video_view")?Array.from(new Set([...t,"video_view"])):t.filter(e=>
7"video_view"!==e);eL.settings.with_filter=i}),t8=(0,T.B5)(T.Xc,{type:"handleTopLocalitiesChange",isFooterDataDependent:!0},e=>{eL.settings.locations=e}),ie=(0,T.B5)(T.Xc,{type:"handleNewProjectsChange"},e=>{eL.settings.projects=e}),it=(0,T.B5)(T.Xc,{type:"handleTopDevelopersChange"},e=>{eL.settings.developers=e}),ii=(0,T.B5)(T.Xc,{type:"handleConstructionStatusChange"},e=>{eL.settings.constructionStatus=e.map(e=>({id:e.value??e.id,name:e.label??e.name,isVisible:e.isVisible}))}),ia="dubai"===(_?.name||eL.settings.cityName||"").toLowerCase(),ir=e=>null==e?"":ia?e>=1e6?`${(e/1e6).toFixed(1).replace(".0","")} M`:e>=1e3?`${(e/1e3).toFixed(1).replace(".0","")} K`:e:e>=1e7?`${(e/1e7).toFixed(1).replace(".0","")} Cr`:e>=1e5?`${(e/1e5).toFixed(1).replace(".0","")} L`:e,is=(0,s.useMemo)(()=>{let e,t,i=[],n=eL.settings||{};[{key:"unit",items:n.unitTypes,options:J.unitType,onChange:tQ,onRemove:()=>tQ([]),isMultiSelect:!1},{key:"configuration",items:n.bhks,options:J.configurations,onChange:tZ,onRemove:()=>tZ([]),isMultiSelect:!1},{key:"amenity",items:n.amenities,options:J.aminities,onChange:t4,onRemove:()=>t4([]),isMultiSelect:!1},{key:"bank",items:n.banks,options:J.approvedbyBank,onChange:t3,onRemove:()=>t3([]),isMultiSelect:!1},{key:"rating",items:n.builderRatings,options:J.builderRating,onChange:t2,onRemove:()=>t2([]),isMultiSelect:!1},{key:"possession",items:n.possessionYears,options:J.possessionYears,onChange:t7,onRemove:()=>t7([]),isMultiSelect:!1},{key:"loc",items:n.locations,onChange:t8,onRemove:()=>t8([]),isMultiSelect:!0},{key:"proj",items:n.projects,onChange:ie,onRemove:()=>ie([]),isMultiSelect:!0},{key:"dev",items:n.developers,onChange:it,onRemove:()=>it([]),isMultiSelect:!0},{key:"status",items:n.constructionStatus,onChange:ii,isMultiSelect:!0}].forEach(({key:e,items:t,options:n,onChange:a,isMultiSelect:r,isVisible:s})=>{let l=(0,T.F$)(e,t,n,a,r,s);l&&l.length&&i.push(...l)});let[a,r]=eL.settings.carpetArea||[];null!=a&&null!=r&&i.push({key:"carpet",label:`${a} - ${r} sq.ft`,onRemove:()=>t0([])});let[s,l]=eL.settings.price||[],o=0===l?(e=es("price",{returnObjects:!0}),Array.isArray(t=e?.maxPrice)&&t.length>0?t[t.length-1].value:null):l;return null!=s&&null!=o&&i.push({key:"price",label:`${ir(s)} - ${ir(o)}`,onRemove:()=>t1([])}),i},[eL.settings,J,tQ,tZ,t4,t3,t2,t7,t0,t1,t8,ie,it,ii,ir,es]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y,{isMobileView:B,breadcrumbData:e$,searchCardList:q.projectList,full_url_slug:E,searchTitleString:eO?.title,currentPage:eV.page,totalPages:eM}),(0,n.jsx)(I.A,{meta_data:tK,full_url_slug:E,pageName:t_}),(()=>{if(void 0!=er.query.f||er.asPath.split("/").length>3)return(0,n.jsx)(h(),{children:(0,n.jsx)("meta",{name:"robots",content:"noindex"})})})(),!B&&(0,n.jsx)(ey,{ctx:{currentCity:tH,locations:tU,developers:tV,popularPartIds:tz,localityIds:tq,subLocationIds:tX,developerIds:tW,onCitySelect:(e,t)=>{let i=eL.settings.module;eL.reset(),(0,Z.z4)(eL,{id:e,name:t}),eL.settings.module=i,ez(e=>({...e,page:1,limit:20,skip:0})),eq.current={...eq.current,page:1,limit:20,skip:0};let n=G.find(t=>t.id===e);t?n?.url_slug?window.location.href=`/${n.url_slug}`:window.location.href=(0,v.lE)(v.e3.propertiesIn,i||"buy",t,e):(p&&p(e,t),eL.search(!0),eo.current=`${i}-${t}-`)},onSelectMultipleCity:tF,onRemoveSearch:tB,propertyDetailsClick:tT,setDeleteCachedPropertyTrigger:tg,deletecachedpropertytrigger:tm,addwishlisttrigger:ty,wishlistPropertyDeletedCall:tv,SEARCH_PAGE_TYPE:ea.Kt,classes:Q(),bread_crum:e$,pageMeta:eO,total_item_count:eR,propertyTypeValue:tL,advancedFilters:J,apiData:q,handlerList:{handlePropertyTypeChange:tJ,handlePropertyTypeToggleOff:t6,handleUnitTypeChange:tQ,handleConfigurationChange:tZ,handlePriceChange:t1,handleCarpetAreaChange:t0,handleBuilderRatingsChange:t2,handleAmenitiesChange:t4,handlePossessionChange:t7,handleTopLocalitiesChange:t8,handleNewProjectsChange:ie,handleTopDevelopersChange:it,handleConstructionStatusChange:ii,handleStreetViewChange:t5,handleVideoViewChange:t9},isSticky:eN,selectedFilterOptionsList:is,clearAllFilters:()=>{let e=eL.settings.cityId,t=eL.settings.cityName;eL.reset(i=>{i.cityId=e,i.cityName=t}),(0,T.Vk)(T.Xc,{type:"clearAllFilters",isFooterDataDependent:!0})},main_loading:ek,paginateParams:eV,total_pagesCount:eM,projectList:eI,cachedProject:tw,renderListCard:tE,onPaginateNext:tN,loading:eE,searchBottomLoader:tI,nearby:eT,nearbyTitle:th,onSortByFilterSelectChange:tM,sortingData:N}}),B&&(0,n.jsx)(eh,{ctx:{isMobileView:B,pageName:t_,currentCity:tH,onRemoveSearch:tB,classes:Q(),showMobileFilter:eu,setShowMobileFilter:ep,selectedLocations:tC,onSelectMultipleCity:tF,propertyDetailsClick:tT,projectList:eI,bread_crum:e$,total_item_count:eR,end:t,pageMeta:eO,isSticky:eN,selectedFilterOptionsList:is,main_loading:ek,nearby:eT,nearbyTitle:th,cachedProject:tw,renderListCard:tE,paginateParams:eV,total_pagesCount:eM,onPaginateNext:tN,searchBottomLoader:tI,onSortByFilterSelectChange:tM,advancedFilters:J,handlerList:{handleConfigurationChange:tZ,handlePriceChange:t1,handleCarpetAreaChange:t0,handlePossessionChange:t7,handleConstructionStatusChange:ii},sortingData:N,pagePropsData:r,locations:tU,apiData:q}}),(0,n.jsx)("div",{id:"search-main-content",children:(0,n.jsxs)("div",{className:z()([Q().projectsContainer,"searchPageContainer"]),children:[(0,n.jsx)(et,{title:`Upcoming New Launc
7h in ${_?.name}`,projects:eF,viewAllUrl:(0,v.lE)(v.e3.upcomingNewLaunches,"buy",_?.name),classes:Q()}),(0,n.jsx)(et,{title:`Recently Launched Projects in ${_?.name}`,projects:eB,viewAllUrl:(0,v.lE)(v.e3.recentlyLaunced,"buy",_?.name),classes:Q()}),(0,n.jsx)(et,{title:`Ready Possession Projects in ${_?.name}`,projects:eD,viewAllUrl:(0,v.lE)(v.e3.readyPossession,"buy",_?.name),classes:Q()})]})}),(0,n.jsx)("div",{className:Q().locationInfoContainer,children:(0,n.jsx)(K,{fullURL:$,data:a?.data??{},keyInformation:a?.keyInformation??{},selectedCity:tH,isMobileView:B,propertyType:e.propertyType})}),ej&&(0,n.jsx)(em,{chatBotParams:eK,small:B}),tl&&(0,n.jsx)("div",{style:{position:"fixed",inset:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.7)",zIndex:2e3},children:(0,n.jsx)("img",{src:"/static/images/home-loader.gif",alt:"loading",width:60,height:60})}),e1&&(0,n.jsx)(eb,{project:tn,data:e7,open:e1,initialTab:e8,onClose:tO,project_name:`${tn?.name??""} ${tn?.locality??""}`.trim(),pdfUrl:tr,siteLink:tn.propertyUrl}),e4&&(0,n.jsx)(ef,{title:"Gallery",data:e5,galleryData:e7,onCloseClick:tO,selectedSection:tt,selectedIndex:e8?.index,project:{...tn,moduleType:eL?.settings?.module||""},project_name:`${tn?.name??""} ${tn?.locality??""}`.trim(),pdfUrl:tr,isMobileView:B,siteLink:tn.propertyUrl}),(0,n.jsx)(d,{activeColor:"#2E72BB",inactiveColor:"rgba(0, 0, 0, 0.6)",showBelow:"150"}),eG&&(0,n.jsx)(eg,{isOpen:eG,setIsOpen:eY,enquiryFormContent:tG,onRequestPopupType:ec,propertyidset:eZ,propertyName:eJ}),td&&(0,n.jsx)(ex,{root_class:"custom-modal",open:td,close:function(){tu(!1)},modal_content:(0,n.jsx)(ev,{})}),(0,n.jsx)(M.A,{faqData:(a?.keyInformation?.faqs?.key_faq_informations??a?.keyInformation?.faqs?.key_informations)?.map(e=>({question:e.title??"",answer:e.description??""}))??[]})]})};ew.getServerSideProps=async e=>{try{return{props:{clientIp:(0,v.g$)(e.req)||null}}}catch(e){return console.error("â getServerSideProps failed:",e),{props:{clientIp:null}}}};var ej=i(55101),ek=!0;let eC=e=>{let{customProps:t,originalUrl:i,module_type:a,searchData:r,searchFooterData:l,wishlistpropertydeletedtrigger:o,addwishlisttrigger:c,wishlistPropertyDeletedCall:d,callWishlistApi:u,isMobileView:p,fullURL:h,propertyType:m,pageParams:y,cityData:f}=e,x=(0,b.wA)(),v=(0,A.fF)(),[w,j]=(0,s.useState)(a),[k]=(0,ej.A)();return(0,s.useEffect)(()=>{f&&(x((0,g.LE)(f)),(0,Z.xM)(v,f,{persist:!0}))},[f,x,v]),(0,n.jsx)(ew,{searchData:r,pageParams:y,propertyType:m,fullURL:h,searchFooterData:l,module_type:w,searchPageProps:e,onModuleSelect:(e,t)=>{j(t)},cityData:f,popuplarPartData:e.popuplarPartData,localityData:e.localityData,sublocalityData:e.sublocalityData,wishlistpropertydeletedtrigger:o,addwishlisttrigger:c,wishlistPropertyDeletedCall:d,callWishlistApi:u,originalUrl:i,customProps:t,isMobileView:p||k})}},38890:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var n=i(37876),a=i(1112),r=i(14232),s=i(5137),l=i.n(s);let o=[],c=`(max-width: ${a.vk}px)`;function d(e){return e?.sorting_key??""}let u=function({sortFilter:e,onSortByFilterSelectChange:t,compact:i=!1}){let a=function(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=window.matchMedia(c),i=()=>t(e.matches);return i(),e.addEventListener("change",i),()=>e.removeEventListener("change",i)},[]),e}(),s=i||a,[u,p]=(0,r.useState)(i?"":"0"),h=e??o;(0,r.useEffect)(()=>{i||p(a?"":"0")},[i,a]);let m=(0,r.useCallback)(e=>{let{value:i}=e.target,n=Number(i),a=h[n];if(a){var r;p(String(n)),t({sortKey:d(a.value),sortOrder:(r=a.value,r?.sorting_value??"")})}},[h,t]);return(0,n.jsxs)("div",{className:`${l()["searchPageFilter-sortBy"]}${i?` ${l()["searchPageFilter-sortByChip"]}`:""}`,children:[(0,n.jsx)("label",{htmlFor:"sort-select",children:"Sort by"}),(0,n.jsxs)("select",{id:"sort-select",className:`${l()["searchPageFilter-sortSelect"]}${i?` ${l()["searchPageFilter-sortSelectChip"]}`:""}`,"aria-label":"Sort search results","data-cy":"sort-select",value:u,onChange:m,children:[s&&(0,n.jsx)("option",{value:"",disabled:!0,children:"Sort"}),h.map((e,t)=>(0,n.jsx)("option",{value:String(t),children:e.name},`${d(e.value)}-${t}`))]})]})}},46620:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return i(38818)}])},55101:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(14232),a=i(1112);let r={small:`(max-width: ${a.vk}px)`,medium:`(min-width: ${a.NP}px) and (max-width: 991px)`,chart:"(min-width: 993px) and (max-width: 1152px)",large:"(min-width: 992px)",mediumNew:`(min-width: ${a.NP}px) and (max-width: 779px)`},s={small:!1,medium:!1,large:!1,chart:!1,mediumNew:!1},l=()=>
7{let[e,t]=(0,n.useState)(s);return(0,n.useEffect)(()=>{let e=Object.values(r).map(e=>window.matchMedia(e)),i=()=>t({small:window.matchMedia(r.small).matches,medium:window.matchMedia(r.medium).matches,large:window.matchMedia(r.large).matches,chart:window.matchMedia(r.chart).matches,mediumNew:window.matchMedia(r.mediumNew).matches});return i(),e.forEach(e=>{e.addEventListener?e.addEventListener("change",i):e.addListener(i)}),()=>{e.forEach(e=>{e.removeEventListener?e.removeEventListener("change",i):e.removeListener(i)})}},[]),[e.small,e.medium,e.large,e.chart,e.mediumNew]}},65452:(e,t,i)=>{"use strict";i.d(t,{B5:()=>r,C1:()=>a,F$:()=>h,S9:()=>o,Vk:()=>s,Xc:()=>n,YU:()=>c,am:()=>u,j7:()=>l});let n="desktop-search-filter-changed",a="required-footer-data";function r(e,t,i){return(...n)=>{i(...n),s(e,t)}}function s(e,t){window.dispatchEvent(new CustomEvent(e,{detail:t}))}function l(e){let t=(e??"").includes("flats-under");return{sortKey:t?"actualMinPrice":"",sortOrder:t?"desc":""}}function o(e={}){return[].concat(e.popularParts,e.locations,e.subLocations)}function c(e,{pagePropsData:t,fullURL:i,cityData:n}){let a,r=function(e,t={}){let i=(e??"").toLowerCase(),n=Array.isArray(t?.project_types)?t?.project_types:[t?.project_types],a=[t?.property_configuration,...n].filter(Boolean);
7return a.length?[...new Set(a)]:i.includes("commercial-")?["commercial_office"]:["residential-projects","residential-properties"].some(e=>i.includes(e))?["appartment"]:[]}(i,t),s=e=>Array.isArray(e)?e:[];n?.id!=null&&n?.name&&(e.cityName=n.name,e.cityId=n.id),e.module="buy",e.bhks=s(t.configuration_counts),e.unitTypes=""===t.configurations?[]:[].concat(t.configurations).map(String),e.price=s(t.prices),e.possessionYears=s(t.possession_status).map(String),e.propertyTypes=r,e.furnishingStatus=s(t.furnishingStatus),e.with_filter=s(t.with_filter),e.leaseType=s(t.lease_type),e.builderRatings=""===t.builder_rating?[]:[].concat(t.builder_rating),e.livabilityRatings=""===t.livability_ratings?[]:[].concat(t.livability_ratings),e.investmentRatings=""===t.investment_ratings?[]:[].concat(t.investment_ratings),e.recommendedRatings=""===t.recommended_ratings?[]:[].concat(t.recommended_ratings),e.popularParts=s(t.popular_parts),e.locations=s(t.locations),e.subLocations=s(t.sublocations),e.constructionStatus=(a=String(t?.customProps?.pageSubType??t?.category??"").trim().toLowerCase().replace(/[_-]+/g," ").replace(/\s+/g," "))?a.includes("launch")&&(a.includes("new")||a.includes("upcoming"))?[{id:6,name:"Upcoming New Launches"}]:a.includes("ready")&&(a.includes("move")||a.includes("possession"))?[{id:1,name:"Ready to Move"}]:a.includes("under")&&a.includes("construction")?[{id:5,name:"Under Construction"}]:a.includes("recently")&&a.includes("launched")?[{id:7,name:"Recently Launched Projects",isVisible:!1}]:a.includes("recommended")&&a.includes("projects")?[{id:8,name:"Recommended Projects",isVisible:!1}]:[]:[],e.developers=t.customProps?.builderId?[{id:t.customProps.builderId,name:t.customProps.builderName}]:[]}let d=e=>e&&"object"==typeof e&&"value"in e?String(e.value):String(e),u=(e,t)=>d(e)===d(t),p=e=>e?.id??e?.value??e?.name??e?.label??e,h=(e,t,i,n,a=!1)=>Array.isArray(t)?a?t.map(i=>{let a=p(i);return{key:`${e}-${a}`,label:i?.name??i?.label??String(p(i)??""),isVisible:i.isVisible,onRemove:()=>n(t.filter(e=>!u(p(e),a)))}}).filter(e=>e.label&&!1!==e.isVisible):t.reduce((a,r)=>{let s=r?.count||r,l=i?.find(e=>u(e.value?.count||e.value,s));return l&&a.push({key:`${e}-${l.label}`,label:l.label,onRemove:()=>n(t.filter(e=>{let t=e?.count||e,n=i?.find(e=>u(e.value?.count||e.value,t));return!n||!u(n.value?.count||n.value,s)}))}),a},[]):[]},69405:(e,t,i)=>{"use strict";i.d(t,{SS:()=>u,iz:()=>h,kI:()=>m});var n=i(7766),a=i.n(n),r=i(16225),s=i(26942);i(4594);var l=i(21942),o=i(98386),c=i(14159);let d=(e,t="")=>{try{let i=[];return a()(e,"localityId",!1)&&("locality"===t||"all"===t)&&i.push({id:a()(e,"localityId",""),name:a()(e,"localityName","")}),a()(e,"subLocalityId",!1)&&("sublocality"===t||"all"===t)&&i.push({id:a()(e,"subLocalityId",""),name:a()(e,"subLocalityName","")}),i}catch(i){return console.error("â Error in getSelectedLocality:",{params:{custom_props:e,type:t},message:i.message}),[]}},u=e=>{try{if("string"!=typeof e)throw Error("Input is not a string");let t=e.replace("&","and");return t=(t=t.replace(/[^\w\s]/g,"").replace(/\s+/g,"-").trim().toLowerCase()).replace("pvt-ltd","pvt-ltd-")}catch(t){return console.error("â Error in removeSpecialCharacters()",{input:e,error:t?.message||t,stack:t?.stack}),""}},p=(e,t,i)=>a()(e,t,!1)&&a()(e,i,!1)?[{id:a()(e,t,!1),name:a()(e,i,!1)}]:[],h=e=>{let t=null,i=null,n=null,a=null,r=(0,s.getPageParams)(e),o=["studio","1rk","1bhk","1.5bhk","2bhk","2.5bhk","3bhk","3.5bhk","4bhk","4.5bhk","5bhk","5.5bhk","6bhk"],c=o.indexOf(((r[0]??"").split("-")??"")[0]??"");return c>-1?(n=r[1]?.split("in")[0]??"",t=o[c]):(e??"").includes("flats-under")&&(i=((a=r[1]?.split("in")[0]??"")??"").substring(0,a.length-1)),{flatconfig:t,priceconfig:i,fullFlatConfig:(0,l.Sn)(n),fullPriceConfig:(0,l.Sn)(a)}},m=async(e,t,i)=>{let n=e?(0,s.getPageParams)(e.url):[],u=(0,l.VP)(e);("search"===t||"homepage"===t)&&(n[1]=n[0],n[0]="");let h=void 0!==i?{value:i}:{value:await (0,s.getMetaDataApi)(n)},m=h?.value?.data||{},g=e?((e,t=!1)=>{let i=new URL((r.CANONICAL_HTTPS?"https":e.protocol)+"://"+e.headers.host+e.url);return t||(i.search=""),i.toString()})(e):"",y=m?.cityName||"Mumbai",f=m?.cityId||1;var b=h?.value?.footer||{},x=h?.value?.faq||{};if(h?.value?.data&&h?.value?.data?.pageType?.includes("Search Page")||"search"===t){let t,i,n=(t=(0,s.getQueryParams)(`${r.API_ROOT}${e.url}`),i={},void 0!=t.get(o.AL)&&(i=(0,o.bd)(t.get(o.AL))),i);
7n?.city_id&&(f=n?.city_id),n?.city_name&&(y=n?.city_name)}return{userCities:(u?{data:u}:{data:null}).data??null,module_type:"buy",paramFirst:a()(m,"paramFirst",""),property_type:a()(m,"propertyType","property"),property_types:a()(m,"propertyType","property"),possession_id:a()(m,"possessionId",""),livability_ratings:a()(m,"livabilityRating",""),investment_ratings:a()(m,"investmentRating",""),recommended_ratings:a()(m,"recommendedRating",""),configurations:a()(m,"configuration",""),configuration_counts:a()(m,"configurationCount",[]),builder_rating:a()(m,"builderRating",""),project_types:a()(m,"propertyType",""),property_configuration:a()(m,"property_configuration",""),prices:(e=>{if(e&&e.length>0){let t=e[1];if(t){let i=t.split(" "),n=i[0],a={lakh:"00000",crore:"0000000",thousand:"000",lakhs:"00000",crores:"0000000",thousands:"000"}[i[1].toLowerCase()],r=n.split("."),s=r.length>1?r[1].length:"0";a=a.substring(s);let l=`${n.replace(".","")}${a}`;e[1]=Number(l)}}return e})(a()(m,"priceRange",[])),page_type:"About Page"==a()(m,"pageType","")?""!==a()(m,"sublocalityName","")?"sub_locality":""!==a()(m,"localityName","")?"locality":""!==a()(m,"popularpartName","")?"popular_part":""!==a()(m,"cityName","")?"city_name":"search":"search",city_name:y,city_id:f,currentCity:(0,c.fG)({id:f,name:y}),popular_parts:p(m,"popularId","popularName"),popular_part_id:a()(m,"popularId",""),popular_part_name:a()(m,"popularName",""),locality_id:a()(m,"localityId",""),locations:d(m,"locality"),sublocations:d(m,"sublocality"),selected_locations:p(m,"popularId","popularName").length>0?p(m,"popularId","popularName"):d(m,"all"),locality_name:a()(m,"localityName",""),sub_location_id:a()(m,"subLocalityId",""),developer_id:a()(m,"builderId",[]),developer_name:a()(m,"developerName",""),developer:p(m,"developerId","developerName"),sub_locality:a()(m,"subLocalityName",""),title:a()(m,"title",""),description:a()(m,"description",""),keywords:a()(m,"keywords",""),category:a()(m,"pageSubType",""),customProps:m,pageProps:n,builder_name:a()(m,"paramTwo",""),originalUrl:g,property_id:a()(m,"property_id",""),property_name:a()(m,"propertyName",[]),possession_status:a()(m,"possessionStatus",[]),faqData:{},dataOutput:m,meta_message:h?.value?.message,footer_data:b,furnishingStatus:a()(m,"furnishingStatus",[]),lease_type:a()(m,"leaseType",[]),search_page_faq:x,isMobileView:(0,l.C3)(e)}}},84912:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(37876);let a=e=>{let{breadcrumbData:t,full_url_slug:i,meta_data:a}=e,r="https://www.homebazaar.com",s=t?.map((e,t)=>0===t?{"@type":"ListItem",position:t+1,name:e.label,item:e.url?`${r}/${e.url.replace(/^\/+/,"")}`:""}:4===t?{"@type":"ListItem",position:5,name:e.label,title:`Properties for sale by ${e.label}`,item:e.url?`${r}/${e.url.replace(/^\/+/,"")}`:""}:5===t?{"@type":"ListItem",position:6,name:e.label,title:a?.title,item:i}:{"@type":"ListItem",position:t+1,name:e.label,title:`Properties for sale in ${e.label}`,item:e.url?`${r}/${e.url.replace(/^\/+/,"")}`:""});return(0,n.jsx)(n.Fragment,{children:i&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org/","@type":"BreadcrumbList",itemListElement:s})}})})}},94937:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(37876),a=i(14232),r=i(23948);let s={display:"flex",flexDirection:"column",width:"100%",rowGap:6},l={display:"flex",justifyContent:"space-between",alignItems:"center"},o={fontFamily:"'Open Sans', sans-serif",fontSize:14,fontWeight:700,color:"#171717"},c={display:"flex",alignItems:"center",justifyContent:"center",padding:0,margin:0,border:0,background:"transparent",cursor:"pointer",lineHeight:0};function d(){return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"})})}function u(){return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"4",y:"11",width:"16",height:"2",fill:"#96A3B2"}),(0,n.jsx)("rect",{x:"11",y:"4",width:"2",height:"16",fill:"#96A3B2"})]})}let p=function({options:e=[],selection:t=[],onChange:i,showHeader:p=!0,chipGroupContainerStyle:h,chipGroupStyle:m,...g}){let[y,f]=(0,a.useState)(!0),b=(0,a.useMemo)(()=>e.map(({label:e})=>e),[e]),x=(0,a.useMemo)(()=>e.map(({value:e})=>String(e)),[e]),v=(0,a.useCallback)(()=>{f(e=>!e)},[]);return(0,n.jsxs)("div",{style:s,...g,children:[p&&(0,n.jsxs)("div",{style:l,children:[(0,n.jsx)("span",{style:o,children:"Possession"}),(0,n.jsx)("button",{type:"button",style:c,onClick:v,"aria-expanded":y,"aria-label":y?"Collapse possession":"Expand possession",children:y?(0,n.jsx)(d,{}):(0,n.jsx)(u,{})})]}),y&&(0,n.jsx)(r.A,{labels:b,values:x,selectedValues:t,onSelectionChange:i,containerStyle:h,chipStyle:m})]})}}},e=>{e.O(0,[6593,8321,4294,8943,3305,636,8792],()=>e(e.s=46620)),_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.