1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61566],{36201:function(e,i,n){n.r(i),n.d(i,{autoToggleOffKeysIDX:function(){return v},autoToggleOffKeysManual:function(){return f}});var t=n(85893),l=n(67294),a=n(92962),r=n.n(a),s=n(91157),d=n(86010),o=n(96486),u=n(35949),c=n(13109),m=n(80897),g=n(22241);let f=["listingProperties"],v=["idxEmbed"],h=e=>{var i,n,a,h,p;let{isDisabled:x,component:b,website:y,setSubset:w,setSubsets:j,getSubset:N,saveSubset:k,getCurrentSections:I,getPages:E,toggleOffWhenFieldsAreEmpty:T,isHidden:C}=(0,s.Q$)(e),[S,Z]=l.useState(!1),[P,L]=l.useState(""),A=N("feed"),O="idx"===A,[_,B]=l.useState(""),F=N("marketId"),Q=N("idxEmbed"),D=(0,s.O3)(()=>{Z(!1)}),z=(0,s.GK)(e=>e.idxClient),K=null==y?void 0:y.pages.filter(e=>e.PageSections.find(e=>"listings"===e.Component.name)),G=null==K?void 0:K.map(e=>{var i;return null===(i=e.PageSections.find(e=>"listings"===e.Component.name))||void 0===i?void 0:i.Component}),R=null==G?void 0:G.filter(e=>{var i,n;return(null===(i=null==e?void 0:e.meta.data.find(e=>"feed"===e.key))||void 0===i?void 0:i.value)==="manual"||(null===(n=null==e?void 0:e.meta.data.find(e=>"feed"===e.key))||void 0===n?void 0:n.value)===void 0}).map(e=>null==e?void 0:e.id),V=(null===(i=N("listingProperties"))||void 0===i?void 0:i.length)===0?[]:null===(n=N("listingProperties"))||void 0===n?void 0:n.split(","),M=()=>{var e,i;let n=[],t=(null===(e=null===(i=null==y?void 0:y.components.filter(e=>null==R?void 0:R.includes(e.id)))||void 0===i?void 0:i.flatMap(e=>e.meta.data))||void 0===e?void 0:e.filter(e=>{if(!e.key.includes("listing"))return;let i=JSON.parse(e.value),n=i.find(e=>"visible"===e.key);return"true"===n.value}))||[];return null==t||t.map(e=>{var i;let t=JSON.parse(e.value);return n.push({metaId:e.id,metaValueName:null===(i=t.find(e=>"name"===e.key))||void 0===i?void 0:i.value}),e}),n},q=()=>{let e=[];
1if((null==V?void 0:V.length)!==0){var i,n;let t=null===(i=null==y?void 0:y.components.filter(e=>null==R?void 0:R.includes(e.id)))||void 0===i?void 0:i.flatMap(e=>e.meta.data).filter(e=>null==V?void 0:V.some(i=>e.id.includes(i))).filter(e=>"sectionName"!==e.key);null===(n=null==t?void 0:t.filter(e=>{let i=JSON.parse(e.value),n=i.find(e=>"visible"===e.key);return"true"===n.value}))||void 0===n||n.map(i=>{var n;let t=JSON.parse(i.value);return e.push({metaId:i.id,metaValueName:null===(n=t.find(e=>"name"===e.key))||void 0===n?void 0:n.value}),i})}return e},W=()=>{var e,i;return 0===q().length&&(null===(e=M())||void 0===e?void 0:e.length)?(0,t.jsx)("p",{className:"text-darkgray-200",children:"To add a manual listing, click the âSelectâ button above."}):(null===(i=M())||void 0===i?void 0:i.length)?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("p",{className:"text-darkgray-200",children:"No available manual listings."})},J=e=>{let i=N("listingProperties"),n=""===i?[]:i.split(",");n.push(e),w("listingProperties",n.join(",")).save(),Z(!1)},$=e=>{let i=N("listingProperties").split(",").filter(i=>i!==e),n=[{key:"listingProperties",value:i.join(",")}];if(1===q().length){let e=(0,o.cloneDeep)(N("pageSections"));e.find(e=>"photoSlide"===e.componentName).toggled=!1,n.push({key:"pageSections",value:e})}j(n).save()},U=async()=>{var e,i;await Promise.allSettled([k()]),null!=P&&P.trim()&&O||(O?null===(e=T(v,N))||void 0===e||e.set():q().length||null===(i=T(f,N))||void 0===i||i.set())},X=e=>{var i;L(e),Q.length||e.length||null===(i=T(v,N))||void 0===i||i.set()},H=()=>{var e;return(0,t.jsx)("div",{ref:D,className:"absolute top-0 z-10 h-fit w-full rounded-md bg-white py-[0.38rem] shadow-md transition-all duration-100",children:null===(e=M())||void 0===e?void 0:e.map((e,i)=>(0,t.jsx)("div",{className:(0,d.Z)("cursor-default overflow-hidden text-ellipsis border-b-[0.025rem] border-b-lightGray-400 px-4 py-[0.38rem] font-normal text-darkGray-500 transition-all hover:bg-blue-accent1",{"pointer-events-none text-lightGray-900":null==V?void 0:V.some(i=>e.metaId.includes(i))}),onClick:()=>J(e.metaId),children:e.metaValueName},i))})},Y={richText:!0,richTextSwatch:"SENECA",richTextToolsEnabled:["underline","align","list","link","color","link","italic","bold"],richTextDefaultFormat:{color:"rgb(34,34,34)",align:"center"},pages:E(),sections:I()},ee=e=>{if(void 0!==N("idxEmbed")){if(""===e){let i=N("pageSections");i&&(i.find(e=>e.componentName===b.name).toggled=!1),i&&j([{key:"pageSections",value:i},{key:"idxEmbed",value:e}]).save();return}w("idxEmbed",e).save()}else w("idxEmbed",e,"idxEmbed").save()};l.useEffect(()=>{if(void 0!==F&&""!==F&&void 0===Q){let e='<script>\n document.currentScript.replaceWith(ihfKestrel.render({\n "component": "gallerySliderWidget",\n "rows": 1,\n "navigation": true,\n "nav": "top",\n "auto": true,\n "maxResults": 1000,\n "status": "active",\n "featured": false,\n "effect": "slide",\n "id": '.concat(F,"\n }));</script>");B(e),void 0===Q?w("idxEmbed",e,"idxEmbed").save():w("idxEmbed",e).save()}else B(N("idxEmbed"))},[Q,A]);let ei=N("featuredListingIdxTitle");return(0,t.jsxs)("div",{className:(0,d.Z)(r()["photoSlide-wrapper"]),children:[(0,t.jsx)(m.zh,{isDisabled:x,isIdxClient:!!z,isIdxFeed:O,onClickManual:()=>{L(""),void 0!==A?w("feed","manual").save():w("feed","manual","feed").save()},onClickIdx:()=>{z&&(void 0!==A?w("feed","idx").save():w("feed","idx","feed").save())}}),("manual"===A||void 0===A)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r()["inputs-wrapper"],children:(0,t.jsx)(c.oi,{...Y,multiline:!0,richTextId:"listingProperties-title",disabled:C(),value:N("featuredListingTitle"),name:"title",label:"Title",maxLength:50,placeholder:"Enter title",onChange:e=>w("featuredListingTitle",e),onBlur:()=>U()})}),(0,t.jsxs)("div",{className:(0,d.Z)("mb-4 mt-[0.5625rem] flex items-center justify-between"),children:[(0,t.jsx)("p",{className:(0,d.Z)(r().subheading,"!pb-0"),children:"MANUAL LISTINGS"}),(0,t.jsx)("button",{type:"button",className:(0,d.Z)(r().add,r().select),disabled:x||!(null===(a=M())||void 0===a?void 0:a.length),onClick:()=>Z(!S),children:"Select"})]}),(0,t.jsxs)("div",{children:[!!(null===(h=M())||void 0===h?void 0:h.length)&&(0,t.jsx)("div",{className:"relative flex items-center justify-between",children:S&&(0,t.jsx)(H,{})}),(0,t.jsxs)("div",{className:r()["property-list"],children:[(0,t.jsx)(W,{}),null===(p=q())||void 0===p?void 0:p.map((e,i)=>(0,t.jsxs)("div",{className:(0,d.Z)(r()["property-list--item"]),children:[(0,t.jsx)("span",{className:"mr-2 overflow-hidden text-ellipsis",children:e.metaValueName}),(0,t.jsx)(u.Z,{className:r()["property-list--btn-remove"],onClick:()=>$(e.metaId)})]},i))]})]})]}),O&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r()["input
1s-wrapper"],children:(0,t.jsx)(c.oi,{...Y,multiline:!0,richTextId:"listingProperties-idxTitle",disabled:C(),value:null!=ei?ei:"",name:"idxTitle",label:"Title",maxLength:60,placeholder:"Enter title",onChange:e=>{(void 0!==ei||""!==(0,g.IQ)(e))&&ei!==e&&(void 0!==ei?w("featuredListingIdxTitle",e):w("featuredListingIdxTitle",e,"featuredListingIdxTitle"))},onBlur:U})}),(0,t.jsx)(m.ZP,{defaultInput:_,isDisabled:x,wrapperClassname:"!mb-0",value:N("idxEmbed")||"",set:e=>ee(e),onBlur:e=>X(e)})]})]})};i.default=h},80488:function(e){e.exports='\n/**** Variables ****/\n.widget-container, [role=presentation] {\n --color-primary: #151515;\n --color-success: #35AF2F;\n --color-pending: #006ADE;\n --color-sold: #E91F1F;\n --color-grey: #7D7D7D;\n --color-fav: #F85C5C;\n --color-white: #FFF;\n}\n\n\n.ihf-listing-search-sub-nav-grid, .listings-search-top-nav {\n background-color: #fff;\n}\n\n.listings-search-top-nav + .ui-grid-item > .ui-grid > .ui-grid > .ui-grid-container {\n display: block;\n}\n\n@media screen and (max-width: 1023px) {\n .listings-search-top-nav {\n top: 52px !important;\n }\n\n .listings-search-sub-nav {\n top: calc(52px + 68px) !important;\n }\n}\n\n.listings-search-top-nav.ui-grid.ui-grid-item {\n z-index: 30;\n}\n\n.listings-search-sub-nav.ui-grid.ui-grid-item {\n margin-bottom: 3.75rem;\n z-index: 20;\n}\n\n@media screen and (max-width: 669px) {\n .ihf-gallery-slider-container .ui-grid-wrap-xs-nowrap {\n display: none;\n }\n}\n\n/**** Widget Container ****/\n.widget-container[data-no-listings="true"] {\n padding-block: 5rem;\n}\n\n.ihf-gallery-slider-container {\n font-family: Archivo, ui-sans-serif;\n}\n\n.ihf-gallery-slider-container .ui-grid-align-items-xs-center {\n margin-top: 12px;\n}\n\n.ihf-gallery-slider-container .ui-grid-align-items-xs-center .ui-grid-item:first-child:has(.ui-icon-button) {\n margin-right: 40px;\n}\n\n.ihf-gallery-slider-container .ui-grid-align-items-xs-center .ui-icon-button {\n padding: 0;\n}\n\n.ihf-gallery-slider-container .ui-icon-button-label > svg {\n height: 42px;\n width: 42px;\n}\n\n/**** Listings ****/\n\n/* Children */\n.ihf-gallery-slider-cell {\n max-width: unset;\n}\n\n/* Card */\n.ihf-gallery-slider-cell > div {\n border-radius: 8px;\n}\n\n/* Img Container */\n.ihf-listing-result-img-container > div{\n padding-top: 0 !important;\n height: 14.25rem;\n}\n\n@media screen and (min-width: 1600px) {\n .ihf-listing-result-cell .ihf-listing-result-img-container > div {\n padding-top: 72.6% !important;\n height: auto;\n }\n}\n\n/* Chip */\n.ihf-listing-result-cell .ihf-listing-result-badges .ui-chip {\n border-radius: 4px;\n padding: 0.3438rem 0.1563rem;\n height: auto;\n}\n\n/* Status */\n.ihf-listing-result-badges .ui-chip {\n background-color: var(--color-success) !important;\n}\n.pending-status-tag .ihf-listing-result-status {\n background-color: var(--color-pending) !important;\n}\n.sold-status-tag .ihf-listing-result-status {\n background-color: var(--color-sold) !important;\n}\n\n/* Chips Container */\n.ihf-listing-result-cell .ihf-listing-result-badges {\n padding: 1.125rem 1rem;\n}\n\n.ihf-listing-result-cell .ihf-listing-result-badges > div {\n line-height: 1;\n}\n\n/* Chips Gap */\n.ihf-listing-result-cell .ihf-listing-result-badges .active-status-tag > .ui-chip:not(:first-child) {\n margin-left: 0.25rem;\n}\n\n/* Chip Label */\n.ihf-listing-result-cell .ui-chip .ui-chip-label {\n font-size: 0.5rem;\n font-family: Roboto, ui-sans-serif;\n font-weight: 600;\n line-height: initial;\n}\n\n/* Favorite Button */\n.ihf-listing-result-cell .ihf-listing-result-badge-fav {\n top: 0.5rem;\n right: 0.5rem;\n}\n\n.ihf-listing-result-cell .ihf-listing-result-badge-fav .ui-button-base {\n background-color: unset;\n}\n\n.ihf-listing-result-badge-fav .ui-button-base svg{\n transition-property: fill;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n stroke: var(--color-white);\n}\n\n.ihf-listing-result-badge-fav .ui-button-base:hover svg,\n.ihf-listing-result-badge-fav .ui-button-base:focus svg{\n fill: var(--color-fav);\n stroke: var(--color-fav);\n}\n\n.ihf-listing-result-badge-fav .ui-button-base:active svg{\n fill: var(--color-sold);\n stroke: var(--color-sold);\n}\n\n/* Details */\n.ihf-listing-result-cell .ihf-listing-result-info {\n background-color:white;\n padding: 1rem;\n color: var(--color-primary) !important;\n font-size: 0.75rem;\n line-height: 1.67;\n gap: 0.5rem;\n margin: 0rem;\n}\n\n/* Detail Item */\n.ihf-listing-result-cell .ihf-listing-result-info > div {\n padding: 0rem;\n}\n\n/* Price Text*/\n.ihf-listing-result-cell .ihf-listing-result-info > .ui-grid-item:first-child p{\n font-size: 1.5rem;\n line-height: 1;\n font-family: Manrope, sans-serif;\n font-weight: 600 !important;\n color: var(--color-primary) !important;\n}\n\n.ihf-listing-result-price > .ui-grid-item > p:nth-child(2) {\n margin-top: 0.5rem;\n}\n\n/* Beds, Baths, & Area Container */\n.ihf-listing-result-cell .ihf-listing-result-bed-bath-sq-container > .ui-grid-container {\n gap: unset;\n margin-left: 0rem;\n margin-top: 0.125rem;\n}\n\n.ihf-listing-result-cell .ihf-listing-result-bed-bath-sq-container > div > .ui-grid-item {\n padding: 0rem;\n}\n\n/* Beds, Baths, & Area Gap */\n.ihf-listing-result-cell .ihf-listing-result-bed-bath-sq-container > .ui-grid-container > div:not(:first-child) {\n margin-left: 1rem;\n}\n\n/* Beds, Baths, & Area Text*/\n.ihf-listing-result-cell .ihf-listing-result-bed-bath-sq-container p {\n font-size: inherit;\n line-height: inherit;\n font-weight: 400 !important;\n color: var(--color-primary) !important;\n}\n\n/* Beds, Baths, & Area Icon*/\n.ihf-listing-result-cell .ihf-listing-result-bed-bath-sq-container svg {\n fill: var(--color-primary) !important;\n margin-right: 0.25rem;\n transform: translateY(0.35rem);\n}\n\n/* Address Container */\n.ihf-listing-result-cell .ihf-listing-result-a
1ddress {\n flex-direction: row;\n}\n\n/* Address Gap */\n.ihf-listing-result-cell .ihf-listing-result-address > div:not(:last-child) {\n margin-right: 0.5rem;\n}\n\n/* Address Text*/\n.ihf-listing-result-cell .ihf-listing-result-address p{\n font-size: inherit;\n line-height: inherit;\n font-weight: 400 !important;\n color: var(--color-primary) !important;\n}\n\n/* Other Info Item */\n.ihf-listing-result-cell .ihf-prop-info-container > div {\n margin: 0rem;\n width: 100%;\n}\n\n.ihf-listing-result-cell .ihf-prop-info-container > div > div {\n padding: 0rem;\n}\n\n/* Other Info Item Gap */\n.ihf-listing-result-cell .ihf-prop-info-container > div > div:not(:first-child) {\n margin-left: 0.5rem;\n}\n\n/* Other Info Image */\n.ihf-listing-result-cell .ihf-prop-info-container .ihf-listing-result-mls-logo {\n max-width: 4.625rem;\n margin-left: 0.5rem;\n}\n\n.ihf-listing-result-cell .ihf-prop-info-container .ihf-listing-result-mls-logo > div {\n width: 100%;\n width: 4.625rem;\n /* height: 0.6875rem; */\n position: relative;\n}\n\n/* Other Info Logo */\n./* ihf-gallery-slider-cell .ihf-listing-result-cell .ihf-prop-info-container .ihf-listing-result-mls-logo img{\n max-height: unset;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n} */\n\n/* Other Info Text */\n.ihf-listing-result-cell .ihf-prop-info-container p{\n font-size: inherit;\n line-height: inherit;\n font-weight: 400 !important;\n color: var(--color-grey) !important;\n}\n\n/* Courtesy Text */\n.ihf-listing-result-cell .ihf-listing-result-info > .ui-grid-item:nth-child(5) p{\n font-size: inherit;\n font-weight: 400 !important;\n color: var(--color-primary) !important;\n line-height: inherit;\n margin-bottom: 0rem;\n}\n\n/**** End of Listings ****/\n\n/**** Modals ****/\n[role=presentation] .ui-button-text-primary {\n color: var(--color-primary);\n}\n'},35581:function(e,i,n){n.r(i);var t=n(85893),l=n(91157),a=n(86010),r=n(4298),s=n.n(r),d=n(67294),o=n(80488),u=n.n(o);let c=e=>{let i=d.useRef(null),{isBuilder:n,urlComponents:r,get:o,getSubset:c}=(0,l.Q$)(e),m=(0,l.GK)(e=>e.idxClient),g=()=>{let e=document.getElementsByClassName("ihf-container");(null==e?void 0:e[0])&&Array.from(e[0].shadowRoot.querySelectorAll('a[target="_blank"]')).forEach(e=>{e.removeAttribute("target")}),document.removeEventListener("click",()=>null)},f=()=>{var e;let i=document.getElementsByClassName("ihf-container");i&&(null===(e=i[0])||void 0===e?void 0:e.shadowRoot.querySelectorAll("a").length)>1&&g()},v=()=>{n||document.addEventListener("click",f)},h=()=>{let e=document.getElementsByClassName("ihf-container");(null==e?void 0:e[0])&&(e[0].shadowRoot.querySelector("style").textContent=e[0].shadowRoot.querySelector("style").textContent.concat(u()))},p=()=>{var n,t,l;let a=window;if(!a.ihfKestrel)return;let s=/ihfKestrel\.render\(([\s\S]*?)\)/,d=r.innerPageComponentId?null===(n=c("idxEmbed"))||void 0===n?void 0:n.match(s):null===(t=o("idxEmbed"))||void 0===t?void 0:t.match(s),u=e.forceValue?e.forceValue.match(s):d;if(u){let e=null===(l=a.ihfKestrel)||void 0===l?void 0:l.render(JSON.parse(u[1]));if(i&&(null==i?void 0:i.current)){let n=i.current;n.children[0]&&n.children[0].remove(),null==n||n.appendChild(e),v(),h()}}};return(d.useEffect(()=>()=>{document.removeEventListener("click",f)},[]),d.useEffect(()=>{p()},[o("idxEmbed"),c("idxEmbed")]),null==m?void 0:m.activationToken)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s(),{strategy:"lazyOnload",id:"ihf-kestrel",src:"https://kestrel.idxhome.com/ihf-kestrel.js",onReady:()=>p()},"ihf-kestrel"),(0,t.jsx)(s(),{id:"ihfKestrel-config",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:'window.ihfKestrel = window.ihfKestrel || {};\n ihfKestrel.config = {\n platform: "custom",\n activationToken: "'.concat(m.activationToken,'",\n };\n ')}}),(0,t.jsx)("div",{ref:i,className:(0,a.Z)("relative z-20 overflow-hidden px-4 pb-28 text-center font-ebGaramond text-etherealTemplate-primaryBlack tablet-sm:px-5 lg:px-[3.75rem]",e.wrapperClassname,{"pointer-events-none":n})})]}):(0,t.jsx)(t.Fragment,{})};i.default=c},34506:function(e,i,n){n.r(i),n.d(i,{ListingCard:function(){return w}});var t=n(85893),l=n(67294),a=n(86010),r=n(25675),s=n.n(r),d=n(61216),o=n(85712),u=n(92962),c=n.n(u),m=n(91157),g=n(38967),f=n(93258),v=n(22241),h=n(35581),p=n(94829),x=n(9107);let b=e=>{var i,n,r,u,b;let y=(0,g.i)(),{component:j,get:k}=(0,m.Q$)(e),I=(0,m.KE)(),[E,T]=l.useState(0),C="builder"===e.mode,S=(null==j?void 0:null===(i=j.meta)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.filter(e=>e.key.startsWith("listing")))||[],Z=(0,p.Z)("screen and (max-width: 641px)",!1),P=(0,p.Z)("screen and (min-width: 641px) and (max-width: 1023px)",!1),L=S.filter(e=>{let i=JSON.parse(e.value),n="true"===i.find(e=>"visible"===e.key).value;return n}).map(e=>{var i,n,t,l,a,r,s,d,o;let u=JSON.parse(e.value),c=(0,f.au)("bannerImage",u);return{id:e.id,name:(0,v.IQ)(null===(i=null==u?void 0:u.find(e=>"title"===e.key))||void 0===i?void 0:i.value)||"",address:(0,v.IQ)(null===(n=null==u?void 0:u.find(e=>"address"===e.key))||void 0===n?void 0:n.value)||"",status:(null===(t=null==u?void 0:u.find(e=>"status"===e.key))||void 0===t?void 0:t.value)||"",price:(0,v.IQ)(null===(l=null==u?void 0:u.find(e=>"price"===e.key))||void 0===l?void 0:l.value)||"",amenities:JSON.parse((null===(a=null==u?void 0:u.find(e=>"amenities"===e.key))||void 0===a?void 0:a.value)||"[]"),lot:(0,v.IQ)(null===(r=null==u?void 0:u.find(e=>"lot"===e.key))||void 0===r?void 0:r.value)||"",baths:(0,v.IQ)(null===(s=null==u?void 0:u.find(e=>"baths"===e.key))||void 0===s?void 0:s.value)||"",beds:(0,v.IQ)(null===(d=null==u?void 0:u.find(e=>"beds"===e.key))||void 0===d?void 0:d.value)||"",featuredImage:c||"",imageAltText:(null===(o=null==u?void 0:u.find(e=>"bannerImage-alt-text"===e.key))||void 0===o?void 0:o.value)||""}}),A=N(L,6),O=e=>{let i=document.getElementById("main--container");null==i||i.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{"prev"===e?0===E?T(A.length-1):T(e=>e-1):E===A.length-1?T(0):T(e=>e+1)},500)},_=e=>{y.push("".concat(y.asPath,"/").concat(j.id,"/").concat(e))},B=k("marketId"),F='<script>\n document.currentScript.replaceWith(ihfKestrel.render({\n "component": "gallerySliderWidget",\n "rows": 1,\n "navigation": true,\n "nav": "top",\n "auto": true,\n "maxResults": 1000,\n "status": "active",\n "featured": false,\n "effect": "slide",\n "id": '.concat(B,"\n }));");return j.options.toggled&&L.length||(0,v.IQ)(null!==(r=k("description"))&&void 0!==r?r:"").trim()?(0,t.jsxs)("section",{className:(0,a.Z)(c()["listings--section"],{[c()["idx-feed"]]:"idx"===k("feed")}),children:[(0,v.IQ)(null!==(u=k("description"))&&void 0!==u?u:"").trim()&&(0,t.jsxs)("div",{className:(0,a.Z)("mx-auto mb-8 w-full pt-16",{"mx-auto max-w-[90rem] px-[0.9375rem] tablet-sm:px-
15 lg:px-10 xl:px-[5.875rem]":"idx"===k("feed")}),children:[(0,t.jsx)("h1",{className:"mx-auto max-w-[60rem] break-words text-center font-mulish text-base font-light text-senecaTemplate-mediumGrey",children:(0,t.jsx)(v.ZP,{normalFontWeight:300,id:"listings-description",text:k("description"),disableLinks:C})}),(0,t.jsx)("hr",{className:"mt-8 bg-senecaTemplate-grey"})]}),(0,t.jsxs)("div",{className:(0,a.Z)(c()["listings--wrapper"],{"!p-0":"idx"===k("feed")}),children:[(void 0===k("feed")||"manual"===k("feed"))&&(0,t.jsxs)(d.default,{variants:o.Z.motionDownToUp(),className:(0,a.Z)(c()["listing-items"]),children:[N(A[E],P?2:Z?1:3).map(e=>(0,t.jsx)("div",{className:c()["listing-items_row"],children:e.map((e,i)=>(0,t.jsx)(w,{isBuilder:C,listing:e,handleViewClick:_},i))})),A.length>1&&(0,t.jsxs)("div",{className:c()["listings--nav"],children:[(0,t.jsxs)("button",{type:"button",className:"mr-6 cursor-pointer bg-senecaTemplate-darkGrey px-6 py-[1.125rem] hover:bg-senecaTemplate-blue","aria-label":"Previous Property Slide",onClick:()=>O("prev"),children:[(0,t.jsx)(x.Z,{role:"img","aria-hidden":!0,className:(0,a.Z)(c()["listings--nav-arrow_left"])}),(0,t.jsx)("span",{className:"sr-only",children:"Arrow Left Icon"})]}),(0,t.jsx)("button",{type:"button",className:"cursor-pointer bg-senecaTemplate-blue px-6 py-[1.125rem]","aria-label":"Next Property Slide",onClick:()=>O("next"),children:(0,t.jsx)(x.Z,{role:"img","aria-hidden":!0,className:(0,a.Z)((0,a.Z)(c()["listings--nav-arrow_right"]))})})]})]}),"idx"===k("feed")&&(C||I)&&(0,t.jsxs)("div",{className:(0,a.Z)("relative w-full tablet-sm:h-[38.9vw]",{"xl:mt-0":!(0,v.IQ)(null!==(b=k("description"))&&void 0!==b?b:"").trim()}),children:[(0,t.jsx)(s(),{fill:!0,src:"/static/image/blurred-featured-listings.png",alt:"widget-blur",className:"z-0 h-full w-full object-cover object-center"}),(0,t.jsx)(s(),{src:Z?"/static/image/no-widget-preview-mobile.png":"/static/image/no-widget-preview.png",alt:"widget-blur",className:(0,a.Z)("absolute left-1/2 top-1/2 z-10 w-[66.7vw] max-w-[60rem] -translate-x-1/2 -translate-y-1/2 object-cover",{"relative !left-0 !top-0 m-[0_auto] !w-full !translate-x-0 !translate-y-0":Z}),width:718,height:305})]}),"idx"===k("feed")&&!C&&!I&&""!==k("idxEmbed")&&void 0!==k("idxEmbed")&&(0,t.jsx)(h.default,{...e,wrapperClassname:(0,a.Z)({"!pb-6 tablet-sm:!pb-6 xl:!pb-6":"idx"===k("feed")&&""!==k("idxEmbed")&&void 0!==k("idxEmbed")&&!C&&!I})}),(i=>{if(i)return(0,t.jsx)(h.default,{...e,forceValue:F,wrapperClassname:(0,a.Z)({"!pb-0 tablet-sm:!pb-0 xl:!pb-0":"idx"===k("feed")&&""!==k("idxEmbed")&&void 0!==k("idxEmbed")&&!C})})})(!C&&void 0!==B&&""!==B&&(void 0===k("idxEmbed")||""===k("idxEmbed"))&&"idx"===k("feed"))]})]}):(0,t.jsx)(t.Fragment,{})},y=Object.create({sale:"FOR SALE",lease:"FOR LEASE",sold:"SOLD"}),w=e=>{var i,n;let{listing:l,isBuilder:r,wrapperClassName:d,handleViewClick:o}=e;return(0,t.jsx)("article",{className:(0,a.Z)(c()["listing-items--card"],d),children:(0,t.jsxs)("button",{type:"button",className:"cursor-pointer",onClick:e=>{if(r){e.preventDefault();return}o(l.id)},children:[(0,t.jsxs)("header",{className:(0,a.Z)(c()["listing-items--card_header"],{"bg-senecaTemplate-blue":"sale"===l.status||""===l.status,"bg-senecaTemplate-error":"lease"===l.status,"bg-senecaTemplate-lightGrey":"sold"===l.status}),children:[l.price&&(0,t.jsx)("h2",{className:c()["listing-items--card_header--price"],children:(0,t.jsx)(v.ZP,{text:null!==(i=l.price)&&void 0!==i?i:"",disableLinks:r})}),(0,t.jsx)("p",{className:c()["listing-items--card_header--status"],children:y[l.status]})]}),(0,t.jsxs)("div",{className:c()["listing-items--card_body"],children:[(0,t.jsx)("div",{className:c()["listing-items--card_body--name"],children:(0,t.jsx)(v.ZP,{text:(null==l?void 0:l.name)||"",disableLinks:r})}),(0,t.jsx)("div",{className:(0,a.Z)(c()["listing-items--card_body--image-container"],{[c()["listing-items--card_body--image-container-empty"]]:!l.featuredImage}),children:(null==l?void 0:l.featuredImage)&&(0,t.jsx)(s(),{fill:!0,className:(0,a.Z)("object-cover"),src:null==l?void 0:l.featuredImage,alt:null!==(n=null==l?void 0:l.imageAltText)&&void 0!==n?n:""})}),(0,t.jsx)("hr",{className:"mt-6 bg-senecaTemplate-grey"}),(0,t.jsx)("div",{className:c()["listing-items--card_body--amenities-container"],children:(function(e){let{...i}=e;return Object.entries(j).map(e=>{let[n]=e;return n in i&&""!==i[n]?i[n]:null}).filter(e=>e)})(l).map(e=>(0,t.jsx)("div",{className:c()["listing-items--card_body--amenities-container_item"],children:e}))})]})]})})},j={beds:"BD",baths:"BA",lot:"SQFT"};function N(e,i){let n=[];if(e)for(let t=0;t<e.length;t+=i)n.push(e.slice(t,t+i));return n}i.default=b},61566:function(e,i,n){n.r(i);var t=n(85893),l=n(67294),a=n(30719),r=n(94829),s=n(86010),d=n(91157),o=n(92962),u=n.n(o),c=n(9107),m=n(34506),g=n(11163),f=n(22241),v=n(35581),h=n(25675),p=n.n(h),x=n(36201),b=n(93258);let y=e=>{var i,n,o,h;let{website:y,toggleOffWhenFieldsAreEmpty:j,getSubset:N,isHidden:k,urlComponents:I,getListingLink:E}=(0,d.Q$)(e),T=(0,d.KE)(),C="builder"===e.mode,S=(0,l.useRef)(),Z=(0,g.useRouter)(),P=(0,b.D6)(null===(i=I.getInnerPageMetaData())||void 0===i?void 0:i.value,[]),L=(0,r.Z)("screen and (max-width: 768px)",!1);if(k()||("manual"===N("feed")||void 0===N("feed"))&&(null===(n=j(x.autoToggleOffKeysManual,N))||void 0===n?void 0:n.hidden)||"idx"===N("feed")&&(null===(o=j(x.autoToggleOffKeysIDX,N))||void 0===o?void 0:o.hidden))return null;let A=null==y?void 0:y.pages.filter(e=>e.PageSections.find(e=>"listings"===e.Component.name)),O=null==A?void 0:A.map(e=>{var i;return null===(i=e.PageSections.find(e=>"listings"===e.Component.name))||void 0===i?void 0:i.Component}),_=null==O?void 0:O.filter(e=>{var i,n;return(null===(i=null==e?void 0:e.meta.data.find(e=>"feed"===e.key))||void 0===i?void 0:i.value)==="manual"||(null===(n=null==e?void 0:e.meta.data.find(e=>"feed"===e.key))||void 0===n?void 0:n.value)===void 0}).map(e=>null==e?void 0:e.id),B=function(e,i){var n;let t=(null===(n=null==i?void 0:i.find(e=>"listingProperties"===e.key))||void 0===n?void 0:n.value.split(","))||[];return 0===t.length?[]:(function(){var e,i;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.filter(e=>"listings"===e.name).sort((n,t)=>+new Date(null!==(e=n.createdAt)&&void 0!==e?e:0)-+new Date(null!==(i=t.createdAt)&&void 0!==i?i:0)).flatMap(e=>e.meta.data)})(e).filter(e=>t.includes(e.id)&&e.value).map(e=>({id:e.id,meta:(0,b.D6)(e.value,[])}))}(null!==(h=null==y?void 0:y.components.filter(e=>null==_?void 0:_.includes(e.id)))&&void 0!==h?h:[],P),F=B.map(e=>{let{id:i,meta:n}=e;if("true"!==(0,b.au)("visible",n))return null;let t=(0,b.au)("bannerImage",n);return{id:i,featuredImage:t||"",imageAltText:(0,b.au)("bannerImage-alt-text",n),status:(0,b.au)("status",n),address:(0,b.au)("address",n),price:(0,b.au)("price",n),lot:(0,b.au)("lot",n),beds:(0,b.au)("beds",n),baths:(0,b.au)("baths",n)}}).filter(w),Q=()=>{var e;null===(e=S.current)||void 0===e||e.slidePrev()},D=()=>{var e;null===(e=S.current)||void 0===e||e.slideNext()},z=(null==F?void 0:F.length)||0,K=z>2||L&&z>1,G=e=>{C||Z.push(E(e))},R=N("marketId"),V='<script>\n document.currentScript.replaceWith(ihfKestrel.render({\n "component": "gallerySliderWidget",\n "rows": 1,\n "navigation": true,\n "nav": "top",\n "auto": true,\n "maxResults": 1000,\n "status": "active",\n "featured": false,\n "effect": "slide",\n "id": '.concat(R,"\n }));"),M=N("feed"),q=N("idx"===M?"featuredListingIdxTitle":"featuredListingTitle");return(0,t.jsxs)("section",{className:(0,s.Z)(u()["photo-slide-container"],{"!max-w-[90rem] !px-0":"idx"===N("feed")}),children:[(0,t.jsxs)("div",{className:(0,s.Z)(u()["photo-slide-header"],{[u()["idx-feed"]]:"idx"===N("feed")}),"data-items":z,children:[0!==(0,f.IQ)(null!=q?q:"").length&&(0,t.jsx)("h1",{className:"w-full",children:(0,t.jsx)(f.ZP,{id:"listingProperties-title",text:q,disableLinks:C})}),(0,t.jsx)("hr",{className:"my-8 w-full border-0 bg-[#cacaca]"})]}),("manual"===N("feed")||void 0===N("feed"))&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.tq,{allowTouchMove:!1,loop:K,loopedSlides:z>3?2*z:3*z,loopedSlidesLimit:z>3,centerInsufficientSlides:!K,spaceBetween:20,className:"!overflow-visible tablet-sm:!overflow-x-hidden",breakpoints:{641:{slidesPerView:2},1024:{slidesPerView:3}},onBeforeInit:e=>S.current=e,children:null==F?void 0:F.map((e,i)=>
1(0,t.jsx)(a.o5,{children:(0,t.jsx)(m.ListingCard,{handleViewClick:G,listing:{id:e.id,beds:(0,f.IQ)(e.beds),baths:(0,f.IQ)(e.baths),name:(0,f.IQ)(e.address),status:e.status,address:(0,f.IQ)(e.address),featuredImage:e.featuredImage,imageAltText:e.imageAltText,lot:(0,f.IQ)(e.lot),price:(0,f.IQ)(e.price)},wrapperClassName:"!max-w-none !mr-0"},i)},e.id))},K.toString()),z>3&&"idx"!==N("feed")?(0,t.jsxs)("div",{className:(0,s.Z)(u()["listings--nav"],"mt-[1.5625rem]"),children:[(0,t.jsxs)("button",{type:"button",className:"mr-6 flex h-[3.375rem] w-[3.375rem] cursor-pointer items-center justify-center bg-senecaTemplate-darkGrey hover:bg-senecaTemplate-blue","aria-label":"Previous Property Slide",onClick:Q,children:[(0,t.jsx)(c.Z,{role:"img","aria-hidden":!0,className:(0,s.Z)(u()["listings--nav-arrow_left"])}),(0,t.jsx)("span",{className:"sr-only",children:"Arrow Left Icon"})]}),(0,t.jsx)("button",{type:"button",className:"flex h-[3.375rem] w-[3.375rem] cursor-pointer items-center justify-center bg-senecaTemplate-darkGrey hover:bg-senecaTemplate-blue","aria-label":"Next Property Slide",onClick:D,children:(0,t.jsx)(c.Z,{role:"img","aria-hidden":!0,className:(0,s.Z)((0,s.Z)(u()["listings--nav-arrow_right"]))})})]}):null]}),"idx"===N("feed")&&(C||T)&&(0,t.jsxs)("div",{className:"relative w-full md:pb-[38%]",children:[(0,t.jsx)(p(),{fill:!0,src:"/static/image/blurred-featured-listings.png",alt:"widget-blur",className:"z-0 h-full w-full object-cover object-center"}),(0,t.jsx)(p(),{src:L?"/static/image/no-widget-preview-mobile.png":"/static/image/no-widget-preview.png",alt:"widget-blur",className:(0,s.Z)("absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2 object-cover",{"relative !left-0 !top-0 m-[0_auto] !w-full !translate-x-0 !translate-y-0":L}),width:718,height:305})]}),"idx"===N("feed")&&!C&&!T&&""!==N("idxEmbed")&&void 0!==N("idxEmbed")&&(0,t.jsx)(v.default,{...e,wrapperClassname:(0,s.Z)({"!pb-6 tablet-sm:!pb-6 xl:!pb-6":"idx"===N("feed")&&""!==N("idxEmbed")&&void 0!==N("idxEmbed")&&!C&&!T})}),(i=>{if(i)return(0,t.jsx)(v.default,{...e,forceValue:V,wrapperClassname:(0,s.Z)({"!pb-0 tablet-sm:!pb-0 xl:!pb-0":"idx"===N("feed")&&""!==N("idxEmbed")&&void 0!==N("idxEmbed")&&!C})})})(!C&&void 0!==R&&""!==R&&(void 0===N("idxEmbed")||""===N("idxEmbed"))&&"idx"===N("feed"))]})};function w(e){return null!==e}i.default=y}}]);
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.