PageSourceSearch

https://properties.zorankukic.com/_next/static/chunks/7e57d6b1e09448b4.js

js zorankukic.com collected 2026-10-07 00:42:25 UTC 36,695 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,601804,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(618566),a=e.i(606850),l=e.i(42082),i=e.i(937683),o=e.i(269192),n=e.i(906750),d=e.i(497058),c=e.i(369620),m=e.i(179916),u=e.i(397140),p=e.i(638257),h=e.i(37332),x=e.i(501859),g=e.i(155487),y=e.i(317921),f=e.i(613465),b=e.i(863938),w=e.i(283586),S=e.i(95253),C=e.i(500111),N=e.i(191865),j=e.i(497912),v=e.i(74447),P=e.i(473665),$=e.i(908837),F=e.i(38708),k=e.i(539491);let T=({filter:e,value:s,onChange:a,className:l,small:i,withoutBorder:o,showLabel:n,wrapperClassName:d,selectContainerClass:c,popoverProps:m})=>{let u=(0,r.useRef)(null),[p,h]=(0,r.useState)(!1),x=(0,F.getCustomFilterDisplayPlaceholder)(e),g=(0,r.useMemo)(()=>(0,F.getCustomFilterOptions)(e),[e]),y="string"==typeof s?s:"",f=y.split(",").map(e=>e.trim()).filter(Boolean),b=(0,F.getCustomFilterDisplayValue)(e,y),w=(0,F.truncateCustomFilterDisplayText)(b),S=Number(m?.style?.zIndex??1e3),C="radio"===e.type,N="checkbox"===e.type,j="toggle"===e.type;return(0,r.useEffect)(()=>{if(!p)return;let e=e=>{u.current&&!u.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[p]),(0,t.jsxs)("div",{ref:u,className:`w-full ${d??""}`,children:[n&&(0,t.jsx)("label",{className:"mb-2 block text-sm font-semibold text-text-black",children:e.name}),(0,t.jsxs)("div",{className:`${$.default.selectContainer} ${c??""} relative`,children:[b?(0,t.jsx)("button",{type:"button",className:`${$.default.clearIcon} absolute right-[32px] top-1/2 z-[2] -translate-y-1/2 rounded-full p-1 hover:bg-gray-100`,onClick:e=>{e.stopPropagation(),a(void 0),h(!1)},children:(0,t.jsx)(P.MdClose,{size:16})}):null,(0,t.jsxs)("button",{type:"button",className:`flex ${i?"h-[40px]":"h-[54px]"} w-full items-center justify-between rounded-none border border-gray-300 bg-white text-left text-sm ${!b?"text-[#71717a]":"text-text-black"} ${o?"border-none shadow-none outline-none":""} ${l??""}`,onClick:()=>h(e=>!e),"aria-expanded":p,children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate px-[12px]",title:b||x,children:w||x}),(0,t.jsx)("span",{className:"ml-2 flex items-center gap-1 pr-[6px]",children:(0,t.jsx)(P.MdOutlineKeyboardArrowDown,{size:20,className:`transition-transform ${p?"rotate-180":""}`})})]}),p?(0,t.jsx)("div",{className:"absolute left-0 top-full mt-2 max-h-[360px] w-full min-w-[240px] overflow-y-auto rounded-none border border-gray-200 bg-white p-3 shadow-lg",style:{zIndex:S},children:(0,t.jsx)("div",{className:"flex flex-col gap-2",children:g.map(e=>{let r=N?f.includes(e.key):y===e.key;return(0,t.jsxs)("button",{type:"button",className:"flex items-center gap-3 rounded-none border border-gray-100 px-3 py-2 text-left text-sm text-text-black hover:bg-gray-50",onClick:()=>{if(C||j){a(e.key),h(!1);return}N?a((r?f.filter(t=>t!==e.key):[...f,e.key]).join(",")):(a(r?"":e.key),h(!1))},children:[j?(0,t.jsx)("span",{className:`relative h-5 w-9 rounded-full transition-colors ${r?"bg-text-black":"bg-gray-300"}`,children:(0,t.jsx)("span",{className:`absolute top-0.5 h-4 w-4 rounded-full bg-white transition-transform ${r?"translate-x-4":"translate-x-0.5"}`})}):C?(0,t.jsx)("input",{type:"radio",checked:r,readOnly:!0,className:"pointer-events-none h-4 w-4 accent-black"}):(0,t.jsx)("input",{type:"checkbox",checked:r,readOnly:!0,className:"pointer-events-none h-4 w-4 accent-black"}),(0,t.jsx)("span",{children:e.label})]},e.key)})})}):null]})]})},L=({filter:e,value:s,onChange:a,className:l,small:i,withoutBorder:o,showLabel:n,wrapperClassName:d,selectContainerClass:c,popoverProps:m})=>{let u=(0,r.useRef)(null),[p,h]=(0,r.useState)(!1),x=(0,F.getCustomFilterDisplayPlaceholder)(e),g=(0,F.getCustomFilterChildFields)(e)[0]??"",y=(0,r.useMemo)(()=>(0,F.getNestedCustomFilterOptions)(e),[e]),f=(0,F.isNestedCustomFilterValue)(s)?{selectedValues:s.selectedValues,children:s.children}:{selectedValues:"string"==typeof s?s.split(",").map(e=>e.trim()).filter(Boolean):[],children:g?{[g]:[]}:{}},b=f.selectedValues,w=g?f.children[g]??[]:[],S=(0,F.getCustomFilterDisplayValue)(e,f),C=(0,F.truncateCustomFilterDisplayText)(S),N=Number(m?.style?.zIndex??1e3);(0,r.useEffect)(()=>
1{if(!p)return;let e=e=>{u.current&&!u.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[p]);let v=(e,t)=>{a({selectedValues:Array.from(new Set(e)),children:g?{[g]:Array.from(new Set(t))}:{}})};return(0,t.jsxs)("div",{ref:u,className:`w-full ${d??""}`,children:[n&&(0,t.jsx)("label",{className:"mb-2 block text-sm font-semibold text-text-black",children:e.name}),(0,t.jsxs)("div",{className:`${$.default.selectContainer} ${c??""} relative`,children:[S?(0,t.jsx)("button",{type:"button",className:`${$.default.clearIcon} absolute right-[32px] top-1/2 z-[2] -translate-y-1/2 rounded-full p-1 hover:bg-gray-100`,onClick:e=>{e.stopPropagation(),h(!1),a(void 0)},children:(0,t.jsx)(P.MdClose,{size:16})}):null,(0,t.jsxs)("button",{type:"button",className:`flex ${i?"h-[40px]":"h-[54px]"} w-full items-center justify-between rounded-none border border-gray-300 bg-white text-left text-sm ${!S?"text-[#71717a]":"text-text-black"} ${o?"border-none shadow-none outline-none":""} ${l??""}`,onClick:()=>h(e=>!e),"aria-expanded":p,children:[(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate px-[12px]",title:S||x,children:C||x}),(0,t.jsx)("span",{className:"ml-2 flex items-center gap-1 pr-[6px]",children:(0,t.jsx)(P.MdOutlineKeyboardArrowDown,{size:20,className:`transition-transform ${p?"rotate-180":""}`})})]}),p?(0,t.jsx)("div",{className:"absolute left-0 top-full mt-2 max-h-[360px] w-full min-w-[280px] overflow-y-auto rounded-none border border-gray-200 bg-white p-3 shadow-lg",style:{zIndex:N},children:(0,t.jsx)("div",{className:"flex flex-col gap-3",children:y.map(e=>{let r=b.includes(e.key);return(0,t.jsxs)("div",{className:"rounded-none border border-gray-100 p-3",children:[(0,t.jsx)(j.Checkbox,{isSelected:r,onValueChange:()=>(e=>{let t=y.find(t=>t.key===e);if(t){if(b.includes(e)){let r=b.filter(t=>t!==e),s=t.children.map(e=>e.key);v(r,w.filter(e=>!s.includes(e)));return}v([...b,e],t.children.length?[...w,...t.children.map(e=>e.key)]:w)}})(e.key),children:e.label}),e.children.length?(0,t.jsxs)("div",{className:"mt-3 border-l border-gray-200 pl-4",children:[(0,t.jsx)("div",{className:"mb-2 text-xs font-medium uppercase tracking-[0.12em] text-gray-500",children:"Sub Types"}),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:e.children.map(r=>(0,t.jsx)(j.Checkbox,{isSelected:w.includes(r.key),onValueChange:()=>((e,t)=>{let r=y.find(t=>t.key===e);if(r){if(w.includes(t)){let s=w.filter(e=>e!==t),a=r.children.map(e=>e.key);v(s.some(e=>a.includes(e))?b:b.filter(t=>t!==e),s);return}v(b.includes(e)?b:[...b,e],[...w,t])}})(e.key,r.key),size:"sm",children:r.label},`${e.key}-${r.key}`))})]}):null]},e.key)})})}):null]})]})},B=({filter:e,value:a,onChange:i,className:o,inputClassName:n,small:d=!1,withoutBorder:c=!1,showLabel:m=!c,wrapperClassName:u="",selectContainerClass:p="",popoverProps:h={},onAutoCompleteSelect:x,onAutoCompleteClear:g})=>{let y=(0,s.usePathname)(),f=(0,s.useSearchParams)(),b=(0,F.getCustomFilterOptions)(e),w=(0,F.getCustomFilterDisplayPlaceholder)(e),S=(0,F.getRangeFilterPlaceholders)(e),[C,N]=(0,r.useState)("string"==typeof a?a:"");if((0,r.useEffect)(()=>{"text"===e.type&&N("string"==typeof a?a:"")},[e.type,a]),(0,F.isAutocompleteCustomFilter)(e)){let r=(0,F.getCustomAutocompleteDisplayValue)(e,a,f,y);return(0,t.jsxs)("div",{className:`w-full ${u}`,children:[m&&(0,t.jsx)("label",{className:"mb-2 block text-sm font-semibold text-text-black",children:e.name}),(0,t.jsx)(k.default,{filter:e,value:r,onChange:e=>i(e),onSelectTerm:x,onClearClick:g,commitValue:!1,className:"w-full",inputClassName:n??o??""})]})}if("toggle"===e.type&&!b.length){let r=!0===a||"true"===a;return(0,t.jsxs)("div",{className:`flex h-[32px] items-center rounded-none border border-gray-300 bg-white px-3 ${u}`,children:[(0,t.jsx)("span",{className:"mr-3 whitespace-nowrap text-[14px] font-medium text-text-black",children:e.name}),(0,t.jsx)(v.Switch,{size:"sm",isSelected:r,onValueChange:e=>i(e),classNames:{wrapper:"group-data-[selected=true]:bg-[#e7c873]",thumb:"bg-white"},children:(0,t.jsx)("span",{className:"sr-only",children:e.name})})]})}if("checkbox"===e.type||"radio"===e.type||"toggle"===e.type&&b.length>0)return(0,t.jsx)(T,{filter:e,value:a,onChange:i,className:o,small:d,withoutBorder:c,showLabel:m,wrapperClassName:u,selectContainerClass:
1p,popoverProps:h});if("text"===e.type)return(0,t.jsxs)("div",{className:`w-full ${u}`,children:[m&&(0,t.jsx)("label",{className:"mb-2 block text-sm font-semibold text-text-black",children:e.name}),(0,t.jsx)("input",{type:"text",value:C,onChange:e=>N(e.target.value),onBlur:()=>i(C),onKeyDown:e=>{"Enter"===e.key&&i(C)},placeholder:w,className:`h-[32px] w-full rounded-none border border-gray-300 px-4 text-sm text-text-black placeholder:text-[#71717a] outline-none focus:border-[#e7c873] ${n??o??""}`})]});if((0,F.isRangeCustomFilter)(e)){let r=a&&"object"==typeof a&&!Array.isArray(a)?a:{},s=(0,F.getRangeOptionsForBound)(e,r,"min"),n=(0,F.getRangeOptionsForBound)(e,r,"max");return(0,t.jsxs)("div",{className:`w-full ${u}`,children:[m&&(0,t.jsx)("label",{className:"mb-2 block text-sm font-semibold text-text-black",children:e.name}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,t.jsx)("div",{className:"min-w-0",style:(0,F.getRangeFieldControlStyle)(S.min),children:(0,t.jsx)(l.default,{placeholder:S.min,selectedKeys:r?.min?[r.min]:[],onChange:e=>i((0,F.getNextRangeFilterValue)(r,"min",e.target.value)),options:s,small:d,withoutBorder:c,wrapperClassName:"w-full",selectContainerClass:p,className:o,popoverProps:h,ignoreWebsiteFilterVisibility:!0})}),(0,t.jsx)("div",{className:"min-w-0",style:(0,F.getRangeFieldControlStyle)(S.max),children:(0,t.jsx)(l.default,{placeholder:S.max,selectedKeys:r?.max?[r.max]:[],onChange:e=>i((0,F.getNextRangeFilterValue)(r,"max",e.target.value)),options:n,small:d,withoutBorder:c,wrapperClassName:"w-full",selectContainerClass:p,className:o,popoverProps:h,ignoreWebsiteFilterVisibility:!0})})]})]})}if((0,F.isNestedMultiselectCustomFilter)(e))return(0,t.jsx)(L,{filter:e,value:a,onChange:i,className:o,small:d,withoutBorder:c,showLabel:m,wrapperClassName:u,selectContainerClass:p,popoverProps:h});let j="string"==typeof a?a:"",P="multiselect"===e.type?j.split(",").map(e=>e.trim()).filter(Boolean):j?[j]:[];return(0,t.jsx)(l.default,{label:m?e.name:void 0,placeholder:w,selectedKeys:P,selectionMode:"multiselect"===e.type?"multiple":"single",onChange:e=>i(e.target.value),options:b,small:d,withoutBorder:c,wrapperClassName:u,selectContainerClass:p,className:o,popoverProps:h,ignoreWebsiteFilterVisibility:!0})};var _=e.i(710656);let A=({searchSlot:e,chips:r=[],onRemoveChip:s,filtersSlot:a,actionsSlot:l})=>(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[e?(0,t.jsx)("div",{className:"w-full max-w-[640px]",children:e}):null,!!r.length&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:r.map(e=>(0,t.jsxs)("div",{className:"max-w-full sm:max-w-[420px] bg-bg-yellow2 leading-[24px] py-2 px-3 grid grid-cols-[auto_max-content] items-center gap-2.5 text-[15px] text-text-gray13 rounded-[12px]",children:[(0,t.jsx)("span",{className:"overflow-hidden truncate",title:"string"==typeof e.value?e.value:void 0,children:"string"==typeof e.value?(0,F.truncateCustomFilterDisplayText)(e.value,10,72):e.value}),s?(0,t.jsx)(_.CgCloseO,{onClick:()=>s(e.key),className:"cursor-pointer",color:"#7A7A7A",size:16}):null]},e.key))}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[a,l?(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3 xl:ml-auto",children:l}):null]})]}),M=[],I=({totalCount:e,city:j,customFilters:v=M,meta:P,setCardsData:$,citySearch:k,onAISearch:T,aiSearchData:L,aiSearch:_})=>{let{propertyTypeOptions:I}=(0,w.usePropertyTypeOptions)(),{isFilterEnabled:R,transactionTypeOptions:V,sortByOptions:O}=(0,S.useWebsiteFilterSettings)(),K=(0,r.useMemo)(()=>(0,F.normalizeCustomFilters)(v),[v]),E=(0,r.useMemo)(()=>(0,F.getCustomSearchFilters)(v),[v]),U=(0,r.useMemo)(()=>(0,F.getPrimaryCustomSearchFilters)(v),[v]),z=(0,r.useMemo)(()=>(0,F.getAdvancedCustomSearchFilters)(v),[v]),{filterFieldsValue:D,setFilterFieldsValue:W,setSearchType:G,searchType:q,searchValue:H,setSearchValue:J,onSortChange:Q,onSearch:X,token:Y}=(0,a.usePropertyListContext)(),Z=(0,g.useSelector)(e=>e.map.isMapView),ee=(0,g.useDispatch)(),[et,er]=(0,r.useState)({sort:"",sortType:"desc"}),[es,ea]=(0,r.useState)(!1);(0,r.useEffect)(()=>{L?.orderby||L?.order?er({sort:L.orderby||"ListingContractDate",sortType:L.order||"desc"}):er({sort:D?.sort||"ListingContractDate",sortType:D?.sortType||"desc"})},[D?.sort,D?.sortType,L,Q]);let{sortType:el,sort:ei}=et,{resultTexts:eo,isPropertyListLoading:en}=(0,a.usePropertyListContext)(),[ed,ec]=r.default.useState(!1),[em,eu]=r.default.useState(_||!1),[ep,eh]=r.default.useState(!1);(0,r.useEffect)(()=>{_&&eu(!0)},[_]);
1let ex=(0,s.useSearchParams)(),eg=(0,s.useRouter)(),ey=(0,s.usePathname)(),ef=(0,r.useMemo)(()=>(0,F.hasPageScopedCustomFilters)(K)?ey:"/property",[K,ey]),eb=ef===ey,ew=(0,r.useMemo)(()=>(0,F.getSelectedCustomFilters)(E,ex,ey),[E,ey,ex]);(0,r.useEffect)(()=>{if(!K.length)return;let e=new URLSearchParams(ex.toString());if(!(0,F.applyDefaultCustomFilterValuesToParams)(e,K,ey))return;let t=e.toString();eg.replace(t?`${ey}?${t}`:ey)},[K,ey,eg,ex]),(0,r.useEffect)(()=>{if(!em&&L){let e=new URLSearchParams(ex.toString());e.delete("page"),L.transactionType?e.set("transactionType",L.transactionType):e.delete("transactionType"),L.propertyType?e.set("propertyType",L.propertyType):e.delete("propertyType"),null!==L.bedrooms&&void 0!==L.bedrooms?e.set("bedrooms",L.bedrooms.toString()):e.delete("bedrooms"),null!==L.bathrooms&&void 0!==L.bathrooms?e.set("bathrooms",L.bathrooms.toString()):e.delete("bathrooms"),null!==L.minPrice&&void 0!==L.minPrice?e.set("minPrice",L.minPrice.toString()):e.delete("minPrice"),null!==L.maxPrice&&void 0!==L.maxPrice?e.set("maxPrice",L.maxPrice.toString()):e.delete("maxPrice"),L.city&&(e.set("searchVal",L.city),e.set("type","search")),L.neighbourhood&&(e.set("searchVal",L.neighbourhood),e.set("type","search")),!0===L.isfeatured||"true"===L.isfeatured?e.set("is_featured","true"):e.delete("is_featured"),L.website_properties?e.set("website_properties",L.website_properties):e.delete("website_properties");let t=e.toString(),r=t?`${ey}?${t}`:ey;eg.replace(r),T&&T(null)}},[em,L,T,ex,ey,eg]);let eS=(0,h.useFilters)(),eC=eS.reduce((e,{key:t,value:r})=>(e[t]="propertyType"===t?r.toLowerCase():r,e),{}),eN=e=>{ee((0,y.setMapView)(e))},ej=e=>{let t=(0,F.getCustomFilterForLegacyKey)(K,e);if(t){let e=(0,F.readCustomFilterValue)(t,ex,ey);return e&&"object"==typeof e&&!Array.isArray(e)?"":null!=e?String(e):""}if(em&&L){let t=L[e];if(null!=t&&""!==t)return t.toString()}if(j){let t=eC?.[e];return null!=t&&""!==t?t.toString():""}let r=D?.[e];return null!=r&&""!==r?r.toString():""};L&&(e=>{if(!e)return;let t=[],r=e.minBed,s=e.minBath,a=e.bedrooms,l=e.bathrooms;if(r&&s?a&&l?t.push(`min ${e.minBed} Bedroom and min ${e.minBath} Bathroom, ${e.bedrooms}+ Bedroom and ${e.bathrooms}+ Bathroom`):t.push(`min ${e.minBed} Bedroom and min ${e.minBath} Bathroom`):r||s?r?a&&l?t.push(`min ${e.minBed} Bedroom and ${e.bathrooms}+ Bathroom`):a?t.push(`min ${e.minBed} Bedroom and ${e.bedrooms}+ Bedroom`):t.push(`min ${e.minBed} Bedroom`):a&&l?t.push(`${e.bedrooms}+ Bedroom and min ${e.minBath} Bathroom`):l?t.push(`min ${e.minBath} Bathroom and ${e.bathrooms}+ Bathroom`):t.push(`min ${e.minBath} Bathroom`):a&&l?t.push(`${e.bedrooms}+ Bedroom and ${e.bathrooms}+ Bathroom`):(a||l)&&t.push(`${a?e.bedrooms:e.bathrooms}+ ${a?"Bedroom":"Bathroom"}`),e.transactionType&&t.push(e.transactionType),e.propertyType&&t.push((0,b.formatPropertyTypes)(e.propertyType)),e.minPrice||e.maxPrice){let r=e.minPrice?`$${Number(e.minPrice).toLocaleString()}`:"",s=e.maxPrice?`$${Number(e.maxPrice).toLocaleString()}`:"";r&&s?t.push(`${r} - ${s}`):r?t.push(`from ${r}`):s&&t.push(`up to ${s}`)}return(e.city||e.neighbourhood)&&t.push(`in ${e.city||e.neighbourhood}`),t.length>0&&t.join(" ")})(L);let ev=(e,t)=>
1{if(("city"===t.type||"neighborhood"===t.type)&&!(0,F.isGlobalCustomFilter)(e)){let r=new URLSearchParams(ex.toString());r.delete("page"),(0,F.writeAutoCompleteTermToParams)(r,e,t);let s=r.toString();eg.push(s?`${ey}?${s}`:ey);return}let r=(0,F.buildAutoCompleteNavigationUrl)(t,ey||"/property");r?eg.push(r):eP(e.field,t.label)},eP=(e,t)=>{let r=K.find(t=>t.field===e);if(!r)return;let s=new URLSearchParams(ex.toString());s.delete("page"),(0,F.writeCustomFilterValueToParams)(s,r,t,ey);let a=s.toString();eg.push(a?`${ey}?${a}`:ey)},e$=ey.includes("-for-rent")||"For Lease"===ex.get("transactionType"),eF=(0,r.useMemo)(()=>{let e=e$?n.RENT_PRICE_LIST_OPTIONS:n.PRICE_LIST_OPTIONS,t=ej("minPrice");if(!t)return e.slice(1);let r=e.findIndex(e=>e.key===t);return e.slice(Math.max(1,r+1))},[j,eS,D?.minPrice,e$]),ek=(0,r.useMemo)(()=>[{key:"transactionType",label:"Transaction Type",options:V,width:"w-[165px]"},{key:"propertyType",label:"Property Type",options:I,width:"w-[190px]"},{key:"bedrooms",label:"Bedrooms",options:n.BATH_OPTIONS,width:"w-[145px]"},{key:"bathrooms",label:"Bathrooms",options:n.BATH_OPTIONS,width:"w-[145px]"},{key:"minPrice",label:"Min. Price",options:e$?n.RENT_PRICE_LIST_OPTIONS:n.PRICE_LIST_OPTIONS,width:"w-[150px]"},{key:"maxPrice",label:"Max. Price",options:eF,width:"w-[150px]"}].filter(e=>R(e.key)),[eF,R,e$,I,V]),eT=(0,r.useMemo)(()=>{let e=[];return H?.trim()?.length&&e.push({key:"search",value:H}),Object.entries(D).forEach(([t,r])=>{if(["sort","sortType","isInitialSet"].includes(t)||!r)return;let s=r;"transactionType"===t&&r&&(s="For Lease"===r?"For Lease":r),e.push({key:t,value:s?.toString()})}),e},[D]),eL=(0,r.useMemo)(()=>eT.filter(e=>"search"===e.key||R(e.key)),[R,eT]),eB=(0,r.useMemo)(()=>eS.filter(e=>R(String(e.key))),[R,eS]),e_=K.length>0,eA=(0,r.useMemo)(()=>e_?[]:ek.filter(e=>!(0,F.hasCustomFilterForLegacyKey)(K,e.key)),[ek,e_,K]),eM=!e_&&!(0,F.hasCustomAutoSearchFilter)(K),eI=!e_&&!(0,F.hasCustomFilterForLegacyKey)(K,"sortBy")&&R("sortBy"),eR=!e_&&!(0,F.hasCustomFilterForLegacyKey)(K,"featured")&&R("featured"),eV=(0,r.useMemo)(()=>{let e=j?eB:eL;return(e?.filter(e=>e?.key==="search"?eM:!(0,F.hasCustomFilterForLegacyKey)(K,String(e?.key)))??[]).map(e=>({key:e?.key,value:e?.key==="propertyType"?(0,b.formatPropertyTypes)(e?.value):`${e?.value}${e?.key==="bathrooms"||e?.key==="bedrooms"?`+ ${e.key}`:""}`}))},[j,K,eM,eB,eL]),eO=e=>{if("search"===e)return void J("");if("clear"===e){let e=new URLSearchParams(ex.toString());eb?(0,F.deleteAllCustomFilterValuesInParams)(e,K):(0,F.clearAllCustomFilterValuesInParams)(e,K,ef),(0,h.dismissLegacyListingFilters)(ey),J(""),eg.push(ef);return}if("city"===e)return void eg.push("/property");let t=K.find(t=>t.field===e);if(t){let e=new URLSearchParams(ex.toString());e.delete("page"),(0,F.clearCustomFilterValueInParams)(e,t,ey);let r=e.toString();eg.push(r?`${ey}?${r}`:ey);return}if(j){if("bathrooms"===e){let e=new URLSearchParams(ex.toString());e.delete("page"),e.delete("bathrooms"),"true"===ex.get("is_featured")&&e.set("is_featured","true");let t=ex.get("website_properties");t&&e.set("website_properties",t);let r=e.toString(),s=r?`${ey}?${r}`:ey;eg.push(s);return}let t=(0,p.removeFilters)(ey,e,ex);eg.push(t);return}W(t=>{let r={...t,[e]:""};return X(r),r})};return(0,r.useEffect)(()=>{ec(!0)},[]),(0,t.jsx)("div",{className:"flex flex-col gap-3 lg:gap-6 mb-6",children:ed&&(0,t.jsxs)(t.Fragment,{children:[!em&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A,{searchSlot:eM?(0,t.jsx)(i.default,{setSearchType:G,searchType:q,searchValue:H,setSearchValue:J,city:j,withBorder:!0,citySearch:k,className:`w-full h-[50px] ${o.default.searchField}`}):void 0,chips:[...ew.map(e=>({key:e.field,value:`${e.label}: ${e.value}`})),...eV],onRemoveChip:e=>eO(e),filtersSlot:(0,t.jsxs)(t.Fragment,{children:[ed&&U.map(e=>(0,t.jsx)("div",{className:"w-auto max-w-full",style:(0,F.getCustomFilterControlStyle)(e),children:(0,t.jsx)(B,{filter:e,value:(0,F.readCustomFilterValue)(e,ex,ey),onChange:t=>eP(e.field,t),onAutoCompleteSelect:t=>ev(e,t),onAutoCompleteClear:()=>eg.push(ef),small:!0,showLabel:!1,className:`w-full ${o.default.listPageSelectField}`,inputClassName:`w-full ${o.default.listPageTextField}
1`,wrapperClassName:"w-full",popoverProps:{style:{zIndex:1e3},placement:"bottom-start"}})},e.field)),eA.map(e=>{let r=ej(e.key);return(0,t.jsx)("div",{className:e?.width,children:(0,t.jsx)(l.default,{disallowEmptySelection:!0,placeholder:e?.label,selectedKeys:r?[r]:[],onChange:t=>((e,t)=>{let r=(0,F.getCustomFilterForLegacyKey)(K,e);if(r)return void eP(r.field,t);if(""===t){if(j){if("bathrooms"===e){let e=new URLSearchParams(ex.toString());e.delete("page"),e.delete("bathrooms"),"true"===ex.get("is_featured")&&e.set("is_featured","true");let t=ex.get("website_properties");t&&e.set("website_properties",t);let r=e.toString(),s=r?`${ey}?${r}`:ey;eg.push(s);return}let t=(0,p.removeFilters)(ey,e,ex);eg.push(t);return}W(t=>{let r={...t,[e]:""};return"transactionType"===e&&(r.maxPrice="",r.minPrice=""),X(r),r});return}if(j){let r="propertyType"===e&&t.includes(",");if("transactionType"==e||"propertyType"==e&&!r||"bedrooms"==e||"minPrice"==e||"maxPrice"==e){if(r){let r=new URLSearchParams(ex.toString());r.delete("page"),r.set("property",t),"true"===ex.get("is_featured")&&r.set("is_featured","true");let s=ex.get("website_properties");s&&r.set("website_properties",s);let a=ey,l=/-\d+-bed(?=[-/]|$)/;if(l.test(a)&&(a=(a=a.replace(l,"")).replace(/--/g,"-")).endsWith("-")&&(a=a.slice(0,-1)),r.delete("bedrooms"),t&&"propertyType"===e){let e=r.toString(),t=e?`${a}?${e}`:a;eg.push(t)}else{let e=r.toString(),t=e?`${a}?${e}`:a;eg.push(t)}return}let s=(0,p.slugFilters)(ey,{key:e,value:t},ex);eg.push(s);return}if(r){let e=new URLSearchParams(ex.toString());e.delete("page"),e.set("property",t),"true"===ex.get("is_featured")&&e.set("is_featured","true");let r=ex.get("website_properties");r&&e.set("website_properties",r);let s=D?.bedrooms;if(s){e.set("beds",s);let t=ey,r=/-\d+-bed(?=[-/]|$)/;r.test(t)&&(t=(t=t.replace(r,"")).replace(/--/g,"-")).endsWith("-")&&(t=t.slice(0,-1));let a=e.toString(),l=a?`${t}?${a}`:t;eg.push(l);return}let a=e.toString(),l=a?`${ey}?${a}`:ey;eg.push(l);return}if("bathrooms"===e){let e=new URLSearchParams(ex.toString());e.delete("page"),"true"===ex.get("is_featured")&&e.set("is_featured","true");let r=ex.get("website_properties");r&&e.set("website_properties",r),t?e.set("bathrooms",t):e.delete("bathrooms");let s=e.toString(),a=s?`${ey}?${s}`:ey;eg.push(a);return}}W(r=>{let s={...r,isInitialSet:!1,[e]:t};return"minPrice"===e&&(s.maxPrice=""),"transactionType"===e&&(s.maxPrice="",s.minPrice=""),X(s),s})})(e?.key,t.target.value),options:e?.options,small:!0,wrapperClassName:"w-full",className:`w-full ${o.default.listPageSelectField}`,popoverProps:{style:{zIndex:1e3},placement:"bottom-start"}},e?.key)},e?.key)})]}),actionsSlot:(0,t.jsxs)(t.Fragment,{children:[eR&&(0,t.jsxs)("div",{className:"h-[32px] text-[14px] font-medium flex items-center gap-2 border bg-white text-text-black border-gray-300 rounded-[30px] px-4 cursor-pointer hover:border-gray-400 transition-colors",onClick:()=>{let e=ex.get("is_featured"),t=new URLSearchParams(ex.toString());"true"===e?t.delete("is_featured"):t.set("is_featured","true");let r=ex.get("website_properties");r&&t.set("website_properties",r),eg.push(`${ey}?${t.toString()}`)},children:[(0,t.jsx)("input",{type:"checkbox",checked:"true"===ex.get("is_featured"),onChange:()=>{},className:"w-4 h-4 cursor-pointer accent-primary",style:{accentColor:"#e7c873"}}),(0,t.jsx)("span",{children:"Featured"})]}),!!z.length&&(0,t.jsx)(N.default,{ariaLabel:"Open advanced filters",className:"h-[32px] rounded-[30px] border border-gray-300 bg-white px-3 text-[14px] font-medium text-text-black transition-colors hover:border-gray-400",onClick:()=>ea(!0)}),(0,t.jsxs)("div",{className:"h-[32px] text-[14px] font-medium flex items-center border bg-[#e7c873] text-text-black border-gray-300 rounded-[30px] px-4 cursor-pointer",onClick:()=>eO("clear"),children:[(0,t.jsx)("span",{children:"Reset"}),(0,t.jsx)(x.RiResetLeftLine,{className:"cursor-pointer ml-3",color:"black",size:16})]}),(0,t.jsxs)("div",{className:"h-[32px] flex items-center gap-3 rounded-[30px] border border-gray-200 bg-white px-4",children:[(0,t.jsx)(c.IoMapSharp,{color:"#626262",size:18}),(0,t.jsx)("div",{className:"whitespace-nowrap text-[14px] font-medium",children:"View Map"}),(0,t.jsx)(m.default,{checked:Z??!1,onChange:()=>{eN(!Z),$&&$([])}})]})]})}),(0,t.jsx)(C.default,{isOpen:es,onOpenChange:ea,bodyClassName:"py-6",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-4",children:z.map(e=>(0,t.jsx)("div",{className:"w-full md:w-[calc(50%-8px)]",style:(0,F.getCustomFilterControlStyle)(e),children:(0,t.jsx)(B,{filter:e,value:(0,F.readCustomFilterValue)(e,ex,ey),onChange:t=>eP(e.field,t),onAutoCompleteSelect:t=>ev(e,t),onAutoCompleteClear:()=>eg.push(ef),small:!0,showLabel:!1,className:`w-full ${o.default.listPageSelectField}`,inputClassName:`w-full ${o.default.listPageTextField}
1`,wrapperClassName:"w-full",popoverProps:{style:{zIndex:11e3},placement:"bottom-start"}})},e.field))})})]}),em&&(0,t.jsxs)(t.Fragment,{children:[!ep&&(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)(f.default,{token:Y,shouldLoadConversation:em,isFloating:!1,onAISearch:T,defaultOpen:_,searchData:L})}),(0,t.jsxs)("div",{className:"flex items-center gap-3 justify-end",children:[(0,t.jsx)(c.IoMapSharp,{color:"#626262",size:18}),(0,t.jsx)("div",{className:"whitespace-nowrap",children:"View Map"}),(0,t.jsx)(m.default,{checked:Z??!1,onChange:()=>{eN(!Z),$&&$([])}})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-row items-center gap-1 text-[16px] sm:text-[24px] flex-wrap order-2 sm:order-1",children:[(0,t.jsx)("span",{children:"Total"}),(0,t.jsx)("span",{className:"text-primary",children:en?(0,t.jsx)(u.default,{className:"w-[60px] h-[20px] sm:w-[100px] sm:h-[30px]"}):e}),(0,t.jsxs)("span",{children:[1===e?"Listing":"Listings"," Found"]})]}),eI&&(0,t.jsxs)("div",{className:"flex items-center gap-2 h-[32px] order-1 sm:order-2",children:[(0,t.jsx)(d.TbArrowsSort,{size:26}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-[14px] font-medium whitespace-nowrap",children:[(0,t.jsx)("span",{children:"Sort by:"}),(0,t.jsx)(l.default,{disallowEmptySelection:!0,placeholder:"Select Sort",selectedKeys:[`${ei} ${el}`.trim()],onChange:Q,options:O,className:`${o.default.sortingSelectField} ${["ListPrice asc","ListPrice desc"].includes(`${ei} ${el}`.trim())&&o.default.sortingSelectFieldForProperty}`,small:!0,popoverProps:{className:"width160"},isRemoveIconDisplay:!1},"Sort")]})]})]}),(0,t.jsx)("div",{className:"text-primary",children:en?(0,t.jsx)(u.default,{className:"w-[300px] h-[24px]"}):_?L?.searchTitle||P?.title||" ":P?.title||" "})]})]})})};var R=e.i(996558),V=e.i(781962),O=e.i(84937);function K(){let e=(0,s.useRouter)(),t=(0,s.useSearchParams)();return r=>{let s=Number(t.get("page"))||1,a=r??s+1,l=new URLSearchParams(t.toString());return l.set("page",a.toString()),e.push(`?${l.toString()}`,{scroll:!1}),a}}let E=(0,r.memo)(({propertyList:e,loading:r,currentPage:s,totalPages:a})=>{let l=K();return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("div",{className:"grid gap-6 grid-cols-1 xl:grid-cols-2 3xl:grid-cols-3",children:e?.map((e,r)=>(0,t.jsx)(R.PropertyCard,{images:Array.isArray(e.Media)?e.Media:[],price:`$${e.ListPrice?.toLocaleString()}`,address:e.UnparsedAddress,beds:e.BedroomsTotal,baths:e.BathroomsTotalInteger,sqft:e.LivingAreaRange,listingKey:e.ListingKey,transactionType:e.TransactionType,createdAt:e.OriginalEntryTimestamp,is_fav:e?.is_fav,MlsStatus:e.MlsStatus,cityRegion:e.CityRegion,vow_exclusive:e?.vow_exclusive,PaymentFrequency:e?.PaymentFrequency,ListPriceUnit:e?.ListPriceUnit,index:r,BedroomsAboveGrade:e?.BedroomsAboveGrade,BedroomsBelowGrade:e?.BedroomsBelowGrade,BedroomsTotal:e?.BedroomsTotal,UnitNumber:e?.UnitNumber,StreetNumber:e?.StreetNumber,StreetName:e?.StreetName,StreetSuffix:e?.StreetSuffix,City:e?.City,UnparsedAddress:e?.UnparsedAddress,ModificationTimestamp:e?.ModificationTimestamp,StandardStatus:e?.StandardStatus,is_featured:e?.is_featured,ListOfficeName:e?.ListOfficeName,PropertyType:e?.PropertyType},e.ListingKey??r))}),r&&(0,t.jsx)("div",{className:"grid gap-6 grid-cols-1 xl:grid-cols-2 3xl:grid-cols-3",children:Array.from({length:6}).map((e,r)=>(0,t.jsx)(O.default,{keyIndex:r,className:"h-[300px]"},r))}),s<a&&(0,t.jsx)("div",{className:"flex w-full justify-center mt-2",children:(0,t.jsx)(V.default,{onPress:()=>{if(l(),e.length>99){let e=document.getElementById("topScroll");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}},className:"max-w-xl w-full",children:"Load More"})})]})});var U=e.i(770703),z=e.i(910913);let D=[],W=(0,U.default)(()=>e.A(139401).then(e=>e.PropertyCard),{loadableGenerated:{modules:[789900]},loading:()=>(0,t.jsx)("div",{className:"grid gap-6 grid-cols-1",children:Array.from({length:2}).map((e,r)=>(0,t.jsx)(O.default,{keyIndex:r,className:"h-[300px]"},r))})}),G=(0,r.memo)(({propertyList:e,totalPages:r,currentPage:s,mapView:a,loading:l,city:i,aiSearchData:o,customFilters:n=D,hasCustomFilters:d})=>{let c=K(),m=s<r,u=()=>{if(c(),e.length>99){let e=document.getElementById("firstElement");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}},p=()=>(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"grid gap-6 grid-cols-1 xl:grid-cols-2 3xl:grid-cols-3 lg:max-h-[700px] overflow-auto",children:[e?.map((e,r)=>{let s=0===r;return(0,t.jsx)(W,{isScroll:s,images:Array.isArray(e?.Media)?e?.Media:[],price:`$${e?.ListPrice?.toLocaleStr
1ing()}`,address:e?.UnparsedAddress,beds:e?.BedroomsTotal,baths:e?.BathroomsTotalInteger,sqft:e?.LivingAreaRange,listingKey:e?.ListingKey,transactionType:e?.TransactionType,createdAt:e?.OriginalEntryTimestamp,MlsStatus:e?.MlsStatus,cityRegion:e?.CityRegion??e?.City,index:r,imgClassName:"!w-full",className:"!flex-col h-[463px] ",isMapView:a,is_fav:e?.is_fav,UnitNumber:e?.UnitNumber,StreetNumber:e?.StreetNumber,StreetName:e?.StreetName,StreetSuffix:e?.StreetSuffix,City:e?.City,UnparsedAddress:e?.UnparsedAddress,ModificationTimestamp:e?.ModificationTimestamp,StandardStatus:e?.StandardStatus,vow_exclusive:e?.vow_exclusive,is_featured:e?.is_featured,ListOfficeName:e?.ListOfficeName,PropertyType:e?.PropertyType},e?.ListingKey??r)}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grid gap-6 grid-cols-1 xl:grid-cols-1 3xl:grid-cols-1",children:Array.from({length:4}).map((e,r)=>(0,t.jsx)(O.default,{keyIndex:r,className:"h-[300px]"},r))}),(0,t.jsx)("div",{className:"grid gap-6 grid-cols-1 xl:grid-cols-1 3xl:grid-cols-1",children:Array.from({length:4}).map((e,r)=>(0,t.jsx)(O.default,{keyIndex:r,className:"h-[300px]"},r))})]})]}),m&&(0,t.jsx)("div",{className:"flex w-full justify-center mt-2",children:(0,t.jsx)(V.default,{onPress:u,className:"max-w-xl w-full",children:"Load More"})})]});return(0,t.jsx)("div",{className:`${$.default.mainContainer} !bg-neutral-light`,children:(0,t.jsxs)("div",{className:`${$.default.innerContent} w-full grid grid-cols-1 lg:grid-cols-2 gap-4 text-[#212529]`,children:[(0,t.jsx)("div",{className:"hidden lg:block",children:p()}),(0,t.jsx)(z.default,{city:i,aiSearchData:o,customFilters:n,hasCustomFilters:d}),(0,t.jsx)("div",{className:"block lg:hidden",children:p()})]})})});var q=e.i(182720),H=e.i(89671),J=e.i(329493),Q=e.i(583389),X=e.i(86836);let Y=[],Z=({city:e,aiSearch:l,customFilters:i=Y,hasCustomFilters:o=!1})=>{let n=(0,g.useSelector)(e=>e.map.isMapView),{isFilterEnabled:d}=(0,S.useWebsiteFilterSettings)(),c=(0,r.useMemo)(()=>(0,F.normalizeCustomFilters)(i),[i]),m=(0,r.useMemo)(()=>(0,F.getCustomSearchFilters)(i),[i]),u=(0,r.useMemo)(()=>(0,F.getCustomSortFilter)(i),[i]),{token:p,filterFieldsValue:{sortType:h,sort:x},mapBounsContext:y,apiPolygon:f}=(0,a.usePropertyListContext)(),b=(0,s.useSearchParams)(),w=(0,s.usePathname)(),[C,N]=(0,r.useState)([]),[j,v]=(0,r.useState)(null),[P,$]=(0,r.useState)(null),[k,T]=(0,r.useState)(!0),[L,B]=(0,r.useState)(J.commonValues.page),[_,A]=(0,r.useState)(null),[M,R]=(0,r.useState)(null),V=(0,r.useRef)(null),O=(0,r.useRef)(""),K=(0,r.useMemo)(()=>(0,Q.getMapBoundsKey)(y),[y]),U=(0,r.useCallback)(async(t,r)=>{try{let s=r??M,a=b.toString(),l=f?"hasPolygon":"noPolygon",i=`${a}-${K}-${l}-${x}-${h}-${JSON.stringify(s)}-${n}`;if(i===O.current&&!r)return;O.current=i,T(!0);let g=window.location.href,S=(0,F.buildCustomFilterPayload)(m,b,w),j=(0,F.getSortPayload)(u,b),P=(0,F.hasCustomFilterForLegacyKey)(c,"transactionType"),k=(0,F.hasCustomFilterForLegacyKey)(c,"propertyType"),L=(0,F.hasCustomFilterForLegacyKey)(c,"bedrooms"),_=(0,F.hasCustomFilterForLegacyKey)(c,"bathrooms"),I=(0,F.hasCustomFilterForLegacyKey)(c,"minPrice"),R=(0,F.hasCustomFilterForLegacyKey)(c,"maxPrice"),V=d("transactionType")?s?.transactionType??b.get("transactionType"):null,E=d("propertyType")?s?.propertyType??b.get("propertyType"):null,U=d("bedrooms")?s?.bedrooms??b.get("bedrooms"):null,z=d("bathrooms")?s?.bathrooms??b.get("bathrooms"):null,D=s?.minBed??b.get("minBed"),W=s?.minBath??b.get("minBath"),G=d("minPrice")?s?.minPrice??b.get("minPrice"):null,J=d("maxPrice")?s?.maxPrice??b.get("maxPrice"):null,Q=b.get("postalCode"),X=b.get("listingKeys"),Y=b.get("page"),Z=b.get("city"),ee=b.get("neighborhood")||b.get("neighbourhood"),et=b.get("community"),er=b.get("input_search"),es=s?.neighbourhood??s?.city??ee??et??er??b.get("searchVal"),ea=b.get("type"),el=d("featured")?s?.isfeatured??b.get("is_featured")??b.get("featured"):null,ei=s?.website_properties??b.get("website_properties"),eo=b.get("sold_properties"),en=Y?parseInt(Y,10):1,ed=j.orderby||s?.orderby||("ListPrice"===x?"ListPrice":"ListingContractDate"),ec=j.order||s?.order||h||"desc",em={page:en,orderby:ed,order:ec,limit:20};o&&(em.custom=!0),B(en),e&&(em.page_url=g),f?em.polygon=f:t?em.bounds=t:y&&"object"==typeof y&&(em.bounds=y),Q&&(em.postalCode=Q),X&&(em.listingKeys=X),E&&!k&&(em.propertyType=E),P||"For Sale"!==V&&"sale"!==V?P||"For Lease"!==V&&"lease"!==V||(em.property_status="lease"):em.property_status="sale",e||(em.page_alias="search"),U&&!L&&(em.bed=Number(U)),z&&!_&&(em.bath=Number(z)),D&&(em.minBed=Number(D)),W&&(em.minBath=Number(W)),G&&!I&&(em.minprice=Number(G)),J&&!R&&(em.maxprice=Number(J));let eu=s?.city??Z,ep=s?.neighbourhood??ee;eu&&(em.city=eu),"zip"===ea?em.zip=es:ep?em.neighborhood=ep:et?em.community=et:!eu&&es&&(em.search=es),("true"===el||!0===el)&&(em.is_featured=!0),ei&&(em.website_properties=ei),eo&&(em.status="sold"),Object.assign(em,S);let eh=await (0,q.postRequest)({url:e?H.apis.mapCity:H.apis.featureListing,data:em,token:p});eh?.data&&((Y?parseInt(Y,10):1)>1&&C.length<100&&!r?N(e=>[...e,...eh.data]):N(eh.data)),eh?.pagination&&(v(eh?.pagination?.total),$(eh?.pagination?.totalPages),B(eh?.pagination?.page)),eh?.meta&&A(eh?.meta),T(!1)}catch(e){console.error("API Error:",e),T(!1)}},[M,C.length,e,m,d,y,f,c,b,x,u,h,K,p]),z=(0,r.useCallback)(e=>{V.current&&clearTimeout(V.current),e?R(e):R(null)},[]);return(0,r.useEffect)(()=>(V.current&&clearTimeout(V.current),V.current=setTimeout(()=>{U()},500),()=>{V.current&&clearTimeout(V.current)}),[b,K,x,h,n,p,M,U]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I,{totalCount:j,city:e,customFilters:i,meta:_,setCardsData:N,citySearch:!0,onAISearch:z,aiSearchData:M,aiSearch:l}),!n&&(0,t.jsx)(E,{propertyList:C,loading:k,totalCount:j,totalPages:P,currentPage:L}),n&&(0,t.jsx)(G,{propertyList:C,loading:k,totalCount:j,currentPage:L,totalPages:P,city:e,mapView:!0,aiSearchData:M,customFilters:i,hasCustomFilters:o})]})};e.s(["default",0,({city:e,aiSearch:r,customFilters:s=Y,hasCustomFilters:l=!1})=>(0,t.jsx)("div",{className:"mainContainer !bg-neutral-light px-4 sm:px-10 py-4",children:(0,t.jsxs)("div",{className:"innerContent w-full flex-col md:flex-row text-[#212529]",children:[(0,t.jsx)(a.PropertyListProvider,{children:(0,t.jsx)(Z,{city:e,aiSearch:r,customFilters:s,hasCustomFilters:l})}),(0,t.jsx)(X.default,{btnClass:"!bg-[#e7c873] !text-black",boxClass:"!border-2 !border-[#e7c873]"})]})})],601804)}]);

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.