", ".concat(E.area.state," "):"";return"".concat(null!==(t=E.locationTitle)&&void 0!==t?t:"").concat(o).concat(E.searchDefinition.getTitle())}return"".concat(E.locationTitle? Homesnap.templates["controllers/Property/PropertyAddressItem.html"] = '{{#with data}}
{{#and item.latitude item.longitude}} {{/and}}{{#if item.primaryImage }}{{item.address.fullStreetAddress}} {{item.address.city}},{{item.address.state}} {{item.address.zip}}{{/if}}
  • {{#if gradient}}
    {{/if}} {{#if corner}}
    {{/if}} {{#unless paging}} {{#or price buildingUnit}}
    {{#if price}}
    {{item.price.short}}
    {{/if}} {{#if buildingUnit}}
    {{buildingUnit}}
    {{/if}}
    {{/or}} {{/unless}} {{#if address}}
    {{item.address.fullStreetAddress}}
    {{~#if item.address.city}}{{item.address.city}}, {{/if~}} {{~#if item.address.state}}{{item.address.state}} {{/if~}} {{~#if item.address.zip}}{{item.address.zip}}{{/if~}}
    {{/if}}
  • {{#if paging}} {{#each item.secondaryImages}}
  • {{/each}} {{/if}} {{#or paging buildingSummary}}
  • {{#or units.total buildingSummary}} {{units.total}} Total Units {{else}} {{~#if item.price}}{{item.price.dollars}}{{/if}}
    {{~#if item.propertyStatus}}{{{item.propertyStatus.text}}}{{/if}}
    {{/or}}
    {{#unless buildingSummary}} {{~item.address.fullStreetAddress}} • {{item.address.cityStateZip}}
    {{~#if item.beds}}{{item.beds.string}} {{item.beds.label}}{{/if~}} {{~#if item.baths}} {{~#if item.beds}} • {{/if~}} {{{item.baths.string}}} {{item.baths.label}} {{~/if~}} {{~#if item.sqFt}} {{~#or item.beds item.baths}} • {{/or~}} {{item.sqFt.string}} sq ft {{~/if~}} {{~#if item.yearBuilt}} {{~#or item.beds item.baths item.sqFt}} • {{/or~}} Built {{item.yearBuilt}} {{~/if~}} {{~#if item.lotSize}}{{#and item.beds item.baths item.sqFt item.yearBuilt}}{{else}} {{~#or item.beds item.baths item.sqFt item.yearBuilt}} • {{/or~}} {{item.lotSize.string}} {{item.lotSize.label}} {{/and}} {{/if~}} {{/unless}}
    {{#if detailsButton}}
    Learn More
    {{/if}}
  • {{/or}}
{{#or paging buildingSummary}} {{/or}}
{{#if statusBar}}
{{{item.propertyStatus.text}}} {{~#and item.listing.sListingStatus.contract item.listing.contractDate}} {{item.listing.contractDate.shortMonth}} {{item.listing.contractDate.day}} {{~else and item.listing.sListingStatus.sold item.listing.closeDate}} {{item.listing.closeDate.shortMonth}} {{item.listing.closeDate.day}} {{else}} {{~#or item.attributes.mlsStatus.expired item.attributes.mlsStatus.canceled item.attributes.mlsStatus.withdrawn item.attributes.mlsStatus.hold}} {{#if item.attributes.offMarketDate}} {{item.attributes.offMarketDate.shortMonth}} {{item.attributes.offMarketDate.day}} {{/if}} {{/or~}} {{/and}}
{{~#or item.listing.specialFeatures.contingent item.listing.specialFeatures.auction item.listing.specialFeatures.shortSale item.listing.specialFeatures.foreclosure ~}} {{!-- item.listing.specialFeatures.newHome --}} {{#with item.listing.specialFeatures}}
{{~#if contingent~}} Contingent {{~else if shortSale~}} Short Sale {{~else if auction~}} Auction {{~else if foreclosure~}} Foreclosure {{~else if newHome~}} New Construction {{~/if~}}
{{/with}} {{/or}} {{#or likelihoodStatus secondaryBanner}}
{{likelihoodStatus.title}}
{{/or}}
{{/if}} {{#if paging}}
{{#if gradient}}
{{/if}}
{{#if price}}
{{item.price.short}}
{{/if}}
{{item.address.fullStreetAddress}}
{{~#if item.address.city}}{{item.address.city}}, {{/if~}} {{~#if item.address.state}}{{item.address.state}} {{/if~}} {{~#if item.address.zip}}{{item.address.zip}}{{/if~}}
{{#if units.total}}{{units.total}} Units{{/if}}
{{#if item.beds}}
{{item.beds.string}}
{{item.beds.label}}
{{/if}} {{#if item.baths}}
{{{item.baths.string}}}
{{item.baths.label}}
{{/if}} {{#and item.beds item.baths}}{{else}}{{#if item.sqFt}}
{{{item.sqFt.string}}}
sq ft
{{/if}}{{/and}}
{{/if}} {{#if buildingSummary}}
{{#if gradient}}
{{/if}}
{{#if units.listings}} {{units.listings}} Listings {{/if}}
{{#if units.total}}{{item.address.fullStreetAddressWithoutUnit}}{{else}}{{item.address.fullStreetAddress}}{{/if}}
{{~#if item.address.city}}{{item.address.city}}, {{/if~}} {{~#if item.address.state}}{{item.address.state}} {{/if~}} {{~#if item.address.zip}}{{item.address.zip}}{{/if~}}
{{#if units.total}}{{units.total}} Units{{/if}}
{{/if}}
{{#if singleFamilyResidence}} <script type="application/ld+json"> {{#if item.listing.openHouse}}[{{/if}} { "@context":"http://schema.org", "@type":"SingleFamilyResidence", "address": { "@type": "PostalAddress", "@context":"http://schema.org", "streetAddress": "{{item.address.fullStreetAddress}}", "addressLocality": "{{item.address.city}}", "addressRegion": "{{item.address.state}}", "addressCountry": "USA", "postalCode": "{{item.address.zip}}" }, {{#if item.primaryImage}} "photo": { "@type": "ImageObject", "url": "https:{{item.primaryImage.large}}" }, {{/if}} "geo": { "@type": "GeoCoordinates", "latitude": "{{item.longitude}}", "longitude": "{{item.longitude}}" }, "description": "{{item.remarks}}", "name": "{{item.address.fullStreetAddress}}, {{item.address.cityStateZip}}", "url": "https://www.homesnap.com{{item.url}}" } {{#if item.listing.openHouse}} ,{ "@context": "http://schema.org", "@type": "Event", "name": "Open House {{item.listing.openHouse.times}}", "description": "{{item.remarks}}", "url": "https://www.homesnap.com{{item.url}}", {{#if item.primaryImage}} "image": [ {{#if item.primaryImage.large}}"https:{{item.primaryImage.large}}"{{/if}} {{#each item.secondaryImages}} ,"https:{{listing}}" {{/each}} ], {{/if}} "startDate": "{{item.listing.openHouse.startDateString}}", {{#if item.price}} "offers": { "@type": "Offer", "@id": "https://www.homesnap.com{{item.url}}", "image": [ {{#if item.primaryImage.large}}"https:{{ item.primaryImage.large}}"{{/if}} {{#each item.secondaryImages}} ,"https:{{listing}}" {{/each}} ], "url": "https://www.homesnap.com{{item.url}}", "description": "{{item.remarks}}", "price": "{{item.price.raw}}", "priceCurrency": "USD", "BusinessFunction": "http://purl.org/goodrelations/v1#{{#if item.transactionType.forSale}}Sell{{else if item.transactionType.forRent}}LeaseOut{{/if}}" }, {{/if}} {{#with item.address}} "location": { "@type": "Place", "name": "{{fullStreetAddress}}", "address": { "@type": "PostalAddress", "addressCountry": "USA", "addressLocality": "{{city}}", "addressRegion": "{{state}}", "postalCode": "{{zip}}", "streetAddress": "{{fullStreetAddress}}" } } {{/with}} } {{/if}} {{#if item.listing.openHouse}}]{{/if}} </script>{{/if}}
{{/with}}'; Homesnap.templates["controllers/SchoolItem.html"] = '{{#with data}}{{/with}}'; ".concat(e.listing.offMarketDate.shortMonth," ").concat(e.listing.offMarketDate.day):"";switch(!0){case e.listing.mlsStatus.expired:a="Expired".concat(l);break;case e.listing.mlsStatus.canceled:a="Canceled".concat(l);break;case e.listing.mlsStatus.withdrawn:a="Withdrawn".concat(l);break;case e.listing.mlsStatus.hold:a="Hold".concat(l)}}var u=new t(a,i,null);r.push(u)}if(e.listing.specialFeatures.brokerOpen||e.listing.specialFeatures.openHouse){var c,p=e.listing.openHouse&&e.listing.openHouse.times? Close West Albany High School. Narrow your search by price, size & location to find your next dream home. View the 2020-21 directory of the top 6 public schools in New Albany, Mississippi. This week, band students at North Albany Middle School performed the first of many concerts this year. Narrow listings by price, size, and location to find your next dream home. (this.rightoffold(e,t,r,n)||this.leftofbegin(e,t,r,n)||this.belowthefold(e,t,r,n)||this.abovethetop(e,t,r,n))},findEdges:function(e){var t;if(e&&e.length){var r=e.offset();r&&(t={top:r.top,left:r.left,bottom:r.top+e.height(),right:r.left+e.width()})}return t}},o.string={reverse:function(e){for(var t=e.length-1,r="";t>=0;r+=e[t--]);return r},getPrice:function(e){return e||0===e? (g=g||new e)||!g.update)return!1;var t=h.get("map");if(!t)return!1;t.register("change",function(e){e&&e.bounds&&g.update({set:{bounds:e.bounds}})}),g.update({set:{searchDefinition:{sListingStatus:1},layer:{propertyAddresses:{min:18,max:100},listings:{min:12,max:25},schools:{min:14,max:100}},school:{item:r}},search:!1,register:{new:function(e){if(!e)return!1;var t=h.get("map").controller;if(!t)return!1;if(e.listings&&t.show("HSPropertyAddressListingItem",{data:e.listings}),e.propertyAddresses&&t.show("HSPropertyAddressItem",{data:e.propertyAddresses,showMini:!0}),e.schools){if(r&&r.id){var o=e.schools.map(function(e){return e.id}).indexOf(r.id);o>-1&&e.schools.splice(o)}t.show("HSSchool",{data:e.schools})}}}})}),o.divMap.show()):o.divMap.hide(),m.updateController("related",{$dom:o.divRelated,data:{schoolID:r.id,level:0,count:6,name:r.name}}),b&&(b=!1,p.call("bubble",{type:"url.handled",data:r})),p.call("bubble",{type:"url.update"})}var d=e("ControllerObjects"),c=e("Objects"),u=new d.Unique(t),p=new d.Callbacks,h=new d.ChildControllerManager,m=new d.StateManager(h,{schoolID:!0});h.add("searchBreadCrumbs",new d.ChildController({type:"controllers/SearchBreadcrumbs",namespace:u.get(),register:{bubble:a}})),h.add("schoolDetailsKeyMetrics",new d.ChildController({type:"controllers/SchoolDetailsKeyMetrics",namespace:u.get(),register:{bubble:a}})),h.add("listingsActive",new d.ChildController({type:"controllers/SchoolListings",namespace:u.get(),register:{bubble:a}})),h.add("listingsSold",new d.ChildController({type:"controllers/SchoolListings",namespace:u.get(),register:{bubble:a}})),h.add("map",new d.ChildController({type:"controllers/Map",namespace:u.get(),register:{bubble:a}})),h.add("related",new d.ChildController({type:"controllers/SchoolRelatedSchools",namespace:u.get(),register:{bubble:a}}));var g,y={url:"controllers/SchoolDetails.html",dom:["aSchoolDistrict","divBreadCrumbs","divStaticMap","divSchoolDetailsKeyMetrics","divListingsActive","divListingsSold","divMap","divRelated","spanGradeRange"]},f={detailsByID:new d.Getter({namespace:u.get(),type:c.HSSchool,webService:"/service/Schools/GetDetails",success:function(e){try{s(e)}catch(e){throw void 0!==m&&null!==m&&console.info(m),e}},failure:function(){try{throw new Error("SchoolDetails controller: Unhandled Error")}catch(e){throw void 0!==m&&null!==m&&console.info(m),e}},template:y}),detailsByUrl:new d.Getter({namespace:u.get(),type:c.HSSchool,webService:"/service/Schools/GetByUrl",failure:function(){try{throw new Error("SchoolDetails controller: Unhandled Error")}catch(e){throw void 0!==m&&null!==m&&console.info(m),e}},template:y}),template:new d.Getter({namespace:u.get(),template:y})},b=!1;return{update:n,restore:function(e){m.restore(e,i)},uninit:function(){h.uninit()},getState:m.getState.bind(m),register:p.register.bind(p),event:function(e,t){h.event(e,t)}}}}); (e.classList.add("bg-for-sale"),e.title="Listing Agent"):(r.sellingAgent||r.altSellingAgent)&&(e.classList.add("bg-sold"),e.title="Buyer's Agent");var o;e.addEventListener("touchstart",i),this.removeListeners=function(){e.removeEventListener("touchstart",i)},google.maps.event.addDomListener(e,"click",function(e){if(!e.isTrusted)return!1;t.onClick&&t.onClick(t.dot,t.latlng),e.cancelBubble=!0});this.getPanes().overlayImage.appendChild(e)}var a=this.getProjection().fromLatLngToDivPixel(this.latlng),n=parseInt(this.div.offsetWidth/2);a&&(e.style.left=a.x-n+"px",e.style.top=a.y-6+"px")},s.prototype.remove=function(){this.removeListeners&&this.removeListeners(),this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)},s.prototype.getPosition=function(){return this.latlng};var r=function(t,e,i,s){this.latlng=t,this.place=i,this.onClick=s,this._map=e,this.setMap(e)};r.prototype=new google.maps.OverlayView,r.prototype.draw=function(){var t=this,e=this.div;if(!this.div){e=this.div=document.createElement("div"),e.className+=" commute-time-place-marker",e.style.position="absolute",this.circle=document.createElement("div");var i=this.circle;i.style.cursor="pointer",i.style.width="16px",i.style.height="16px",i.style.borderRadius="50%",i.style.border="2px solid white",i.style.boxShadow="0 1px 1px",i.style.margin="auto",i.style.background="#4593ce",e.appendChild(i),this.label=document.createElement("div");var s=this.label;s.innerText=t.place.minutes+" minutes ",s.style.cursor="pointer",s.style.whiteSpace="nowrap",s.style.background="white",s.style.borderRadius="2px",s.style.padding="0 2px",s.style.margin="2px auto",s.style.boxShadow="0 1px 2px grey",e.appendChild(s),google.maps.event.addDomListener(this.div,"click",function(e){t.onClick&&t.onClick(t.place,t.latlng),e.cancelBubble=!0});this.getPanes().overlayImage.appendChild(this.div)}var r=this.getProjection().fromLatLngToDivPixel(this.latlng),o=parseInt(this.div.offsetWidth/2);r&&(this.div.style.left=r.x-o+"px",this.div.style.top=r.y-9+"px")},r.prototype.remove=function(){this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)},r.prototype.getPosition=function(){return this.latlng};var o=function(t,e,s,r,o,a){this.latlng=t,this.pa=s,this.miniPin=r,this.propertyDot=o,this._map=e,this.polygon=null,this.onClick=a,this.listingMarker=new i(t,e,s,r,o,a)};o.prototype.drawOverlay=function(t,e){if(t){var i=new google.maps.Polygon({paths:t,strokeColor:"#FFFFFF",strokeOpacity:.6,strokeWeight:4,fillColor:e,fillOpacity:1,clickable:!1});i.setMap(this._map),this.polygon=i}else{var s=new google.maps.Circle({radius:3,strokeColor:"#FFFFFF",strokeOpacity:.6,strokeWeight:4,fillColor:e,fillOpacity:1,clickable:!1});s.setMap(this._map),s.setCenter(this.latlng),this.polygon=s}return this.polygon},o.prototype.setVisibility=function(t){this.polygon&&this.polygon.setVisible&&this.polygon.setVisible(t)},o.prototype.changeFillColor=function(t){this.polygon&&this.polygon.setOptions&&this.polygon.setOptions({fillColor:t})},o.prototype.removeOverlay=function(){this.polygon.setVisible(!1),this.polygon.setMap(null),this.polygon=null},o.prototype.testOverlay=function(t,e,i,s){var r=e(t,this.pa[0],s);r?this.polygon?
Yampa River Map, La Sportiva Otaki, Jump Rope Vs Burpees Calories, What Year Is The Simpsons Set In, Buggy The Clown Devil Fruit, 2014 Subaru Outback, How To Draw 55 Degree Angle With Compass, Wakayama And Mie, Update Json Object Python, Ramada Hotel Restaurant, Royal Caribbean Cook Salary, Kaist International Student,