{{/and}}{{/with}}'; School ratings and boundaries are provided by GreatSchools.org and Pitney Bowes. This information is being provided by the Bay East MLS, or CCAR MLS, or bridgeMLS. This property is no longer available to rent or to buy. function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,a)}return o}function _objectSpread(e){for(var t=1;t=16&&We.heatMaps&&We.heatMaps.sectionKey&&(Ge.heatMaps.sectionKey=We.heatMaps.sectionKey,Ge.heatMaps.sectionValues=We.heatMaps.sectionValues,We.heatMaps.sectionKey=null,We.heatMaps.sectionValues=null)))}var a=ce.getBounds();if(a&&(!Ge.bounds||d(Ge.bounds,a))){We.bounds=Ge.bounds,Ge.bounds=a;var n=c(Ge.bounds),s=Ge.bounds.getNorthEast(),i=Ge.bounds.getSouthWest(),u=!1;if(Ge.polygon.polygon&&Ge.polygon.bounds&&"HSPropertyAddressItem"!==Ge.polygon.type){new google.maps.LatLng({lat:s.lat(),lng:i.lng()}),new google.maps.LatLng({lat:i.lat(),lng:s.lng()});Ge.bounds.intersects(Ge.polygon.bounds)||(u=!0)}u&&b();var p=new ve.Bounds(s.lat(),i.lat(),s.lng(),i.lng());p&&e&&n&&Ce.call("change",{bounds:{bounds:p,zoom:e,pixels:n},clearPolygon:u}),1==Ge.isSavedSearch?Ge.isSavedSearch=!1:Ge.ui.saveSearch.$dom&&Ge.ui.saveSearch.$dom.find(".polygon-btn").html("Save Search"),Ge.ui.heatMaps.status&&e<18&&Ge.heatMaps.polygon&&ie(!0),Ge.localContext.mapShown&&ue&&!Ge.localContext.contextBubbleVisible&&(ue.locationRestriction=null,ue.isTransitioningMapBounds=!1,ue.isTransitioningMapBounds&&We.bounds!==Ge.bounds||ue.search())}}function l(e){var t="homesnap",o=Pe.get("type");if(o&&o.homesnap&&1===o.homesnap.min&o.homesnap.max>=20&&Ge.type)return Ge.type;if(o&&e)for(var a in o)if(o.hasOwnProperty(a)&&o[a].min&&o[a].max&&e>=o[a].min&&e<=o[a].max){t=a;break}return t}function r(e){ce.setMapTypeId(e),"hybrid"===e?ce.setOptions({styles:Fe.hide}):ce.setOptions({styles:Fe.default})}function d(e,t){var o={topRight:ce.getProjection().fromLatLngToPoint(e.getNorthEast()),bottomLeft:ce.getProjection().fromLatLngToPoint(e.getSouthWest())};o.diagonal=Math.sqrt(Math.pow(o.topRight.x-o.bottomLeft.x,2)+Math.pow(o.topRight.y-o.bottomLeft.y,2));var a={topRight:ce.getProjection().fromLatLngToPoint(t.getNorthEast()),bottomLeft:ce.getProjection().fromLatLngToPoint(t.getSouthWest())},n={topRight:Math.sqrt(Math.pow(o.topRight.x-a.topRight.x,2)+Math.pow(o.topRight.y-a.topRight.y,2)),bottomLeft:Math.sqrt(Math.pow(o.bottomLeft.x-a.bottomLeft.x,2)+Math.pow(o.bottomLeft.y-a.bottomLeft.y,2))};return n.topRight>.05*o.diagonal||n.bottomLeft>.05*o.diagonal}function c(e){var t=p(e.getNorthEast()),o=p(e.getSouthWest());return(o.y-t.y)*(t.x-o.x)}function u(e){var t={top:0,bottom:0,left:0,right:0},o=p(e),a=p(Ge.bounds.getNorthEast()),n=p(Ge.bounds.getSouthWest());return t.top=Math.round(Math.abs(a.y-o.y)),t.bottom=Math.round(Math.abs(n.y-o.y)),t.right=Math.round(Math.abs(a.x-o.x)),t.left=Math.round(Math.abs(n.x-o.x)),t}function p(e){var t=ce.getProjection().fromLatLngToPoint(ce.getBounds().getNorthEast()),o=ce.getProjection().fromLatLngToPoint(ce.getBounds().getSouthWest()),a=Math.pow(2,ce.getZoom()),n=ce.getProjection().fromLatLngToPoint(e);return new google.maps.Point((n.x-o.x)*a,(n.y-t.y)*a)}function g(){Ce.call("changing",{bounds:!0})}function m(e,t){if("object"!=typeof e)switch(e.toLowerCase()){case"zoom":"number"==typeof t&&(g(),ce.setZoom(t));break;case"center":"object"==typeof t&&t.lat&&t.lng&&(g(),ce.setCenter({lat:t.lat,lng:t.lng}));break;case"tilt":if("number"==typeof t){var o=45===t?45:0;ce.setTilt(o)}break;case"type":"string"==typeof t&&r(t);break;case"customboundingbox":if("object"==typeof t&&t.north&&t.east&&t.south&&t.west){Ge.ui.saveSearch.$dom&&Ge.ui.saveSearch.$dom.find(".polygon-btn").html(' Saved Search'),Ge.isSavedSearch=!0;var a=new google.maps.LatLngBounds;a.extend({lat:t.south,lng:t.west}),a.extend({lat:t.north,lng:t.east}),ce.fitBounds(E(a,-.3)),m("zoom",ce.getZoom())}}else for(var n in e)e.hasOwnProperty(n)&&m(n,e[n])}function y(e,t){var o;if("object"!=typeof e)switch(e){case"polygon":case"area":case"school":if("MultiAreaItem"==(null===(o=Ge.polygon)||void 0===o?void 0:o.type)&&S(),Ge.polygon.polygon&&"HSPropertyAddressItem"!==Ge.polygon.type){b();break}case"streetArea":if("HSPropertyAddressItem"!==Ge.polygon.type){b();break}case"propertyTiles":break;case"drivingDirections":C()}else for(var a in e)e.hasOwnProperty(a)&&y(a,e[a])}function h(t,a){if("object"!=typeof t){switch(t){case"HSStreetArea":if(a&&a.data&&!Array.isArray(a.data)){var n="HSStreetArea"===a.data.type_?a.data:a.data.item,s=a.data.fit||void 0;if(b(),s&&g(),n.segments&&n.segments.length){var i=n.segments.map(function(e){return google.maps.geometry.encoding.decodePath(e)});Ge.polygon.polygon=P({paths:i})}else I("Remove Street");n.north&&n.south&&n.east&&n.west&&(Ge.polygon.bounds=new google.maps.LatLngBounds,Ge.polygon.bounds.extend({lat:n.south,lng:n.west}),Ge.polygon.bounds.extend({lat:n.north,lng:n.east}),s&&ce.fitBounds(E(Ge.polygon.bounds,s.percent))),Ge.polygon.type=t,Ge.polygon.data=n}break;case"HSAreaItem":if(a&&a.data&&!Array.isArray(a.data)){var l="HSAreaItem"===a.data.type_?a.data:a.data.item;if(Ge.polygon&&Ge.polygon.type===t&&Ge.polygon.data.areaID===l.areaID)break;var r=a.data.fit||void 0;b(),r&&g();var d=O(l.polygon);Ge.polygon.polygon=x({paths:d,fit:r}),l.north&&l.south&&l.east&&l.west? "Click to Unfavorite":"Click to Favorite"),n.spanFavoriteText.text(e? Information Deemed Reliable But Not Guaranteed. Homesnap.templates["controllers/Property/PropertyMap.html"] = '{{#with data}}
Neighborhood Map expand_more
{{/with}}'; [0].status.showWithMessageTextBox}}
{{/if}}
{{/if}}
{{/with}}';
{{/if}}
{{#unless isCitysnap}}
Homesnap is operated by Ten-X. Real estate agents affiliated with Coldwell Banker are independent contractor sales associates and are not employees of Coldwell Banker. Homesnap.templates["controllers/Property/PropertyFollow.html"] = '{{#with data}}{{/with}}'; $785,000 . About This Home 2726 25th Ave, Oakland, CA, 94601 is a 978 sq. (s=s.replace("{sizeid}",e.toString()),s=s.replace("{mediaidreversed}",a.string.reverse(r.toString())),s=s.replace("{listingidreversed}",a.string.reverse(t.toString()))):(n("RootURL AkamaiListingImagesURLFormat is undefined"),"")},getImageSet:function(e,t){var r=this,n={};return Object.entries(this.mapping).forEach(function(a){var o=_slicedToArray(a,2),i=o[0],s=o[1];n[i]=r.getImage(s,e,t)}),n},getPrimaryImage:function(e,t){return this.getImageSet(e,t)},getSecondaryImages:function(e,t){for(var r=[],n=0;n')}else if(o){var g;u.priority=20,u.color="purple",u.pinName="purple",u.primaryColor="purple",u.pinHex="00B100",u.text="Open House",i&&(u.text="Open ".concat(i)),l&&null!==(g=l.method)&&void 0!==g&&g.virtual&&(u.text="Live ",a.listing.isOpenHouseNow(l)?u.text+="Now ":i&&(u.text+="".concat(i," ")),u.text+='')}else u.priority=30,u.color="green",u.pinName="green",u.primaryColor="green",u.pinHex="00B100",u.text=p? Don't neglect these 6 maintenance tasks - or else, Debunked! For Sale . (a.data.deleteNullProperties(t),0===Object.keys(t).length&&delete this[e]):null===t&&delete this[e]},e),e):{}},update:function(e,t,r){e&&Object.keys(e).forEach(function(n){var o="string"==typeof e[n]?e[n].replace(/^\s+|\s+$/g,""):e[n];"object"==typeof o?a.data.update(o,t,r):o===t&&(e[n]=r)})}},a.byte={length:function(e){return void 0!==e?decodeURIComponent(encodeURIComponent(JSON.stringify(e))).length||0:0},size:function(e,t){if(!e)return 0;var r=t?t.toUpperCase():"MB",n=0;switch(e.forEach(function(e){n+=a.byte.length(e)}),r){case"B":return n;case"KB":return+(n/1024).toFixed(3);default:return+(n/1024/1024).toFixed(3)}}},a.entityContent={getKeyFrameUrl:function(e,t){return"https://s3.amazonaws.com/homesnap.entitycontents/".concat(a.string.reverse(e.toString()),"_").concat(t,".jpg")},getDataUrl:function(e,t){return"https://s3.amazonaws.com/homesnap.entitycontents/".concat(a.string.reverse(e.toString()),"_").concat(t,".mp4")}},a.ads={getPlatformType:function(e){if(!e)return null;var t={raw:e,id:e};return 1===e? Nevada
Equal Housing Opportunity. 8 myths about renting you should stop believing immediately, 6 ways home buyers mess up getting a mortgage, 6 reasons you should never buy or sell a home without an agent, Difference between agent, broker & Realtor, Real estate agents reveal the toughest home buyers they've ever met, Do Not Sell or Share My Personal Information, Calculated Total Monthly Association Fees: 0, Directions: 23rd Ave - E 27th st - 25th ave, Property Subtype: Single Family Residence. Indiana
)/g;return"string"==typeof e?e.match(t):null}},a.date={getDateInfo:function(e){if(e){var t,r=new Date(e),n={weekday:"long",year:"numeric",month:"long",day:"numeric"},o={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["January","February","March","April","May","June","July","August","September","October","November","December"];return{raw:r.getTime(),date:r,month:r.getMonth()+1,day:r.getDate(),year:r.getFullYear(),monthDayYear:r.getMonth()+1+"/"+r.getDate()+"/"+r.getFullYear().toString().substr(2,2),formattedDate:r.toLocaleString("en-us",n),formattedDateTime:r.toLocaleString("en-us",o),shortMonth:s[r.getMonth()],longMonth:c[r.getMonth()],formattedTime:r.toLocaleTimeString("en-us",{hour:"2-digit",minute:"2-digit"}),ago:a.date.getAgo(r),agoAsDays:a.date.getAgoAsDays(r),agoFriendly:a.date.getAgoFriendly(r),shortDay:i[r.getDay()],longDay:null===(t=a.date.getDayOfWeek(r.getDay()))||void 0===t?void 0:t.dayFull}}return null},getAgo:function(e){var t=Date.now();if(e){var r=t-e.getTime(),n=Math.round(r/1e3),a=Math.round(n/60),o=Math.round(a/60),i=Math.round(o/24),s=Math.round(i/7),c=Math.round(i/30);return n<=0? //# sourceMappingURL=https://assets.homesnap.com/app/js_min/controllers/MortgagePayment.js.map?hash=51099d8b2e1cad4965fdc3c510c455e3 define("controllers/GenericObservableArray",["require","ControllerObjects","Utilities"],function(e){return function(t){function n(){d=void 0,g=[],b.length&&(b.forEach(function(e){e.uninit()}),b.length=0),m.$dom.empty()}function r(e,t){if(e){var n=p.get(),r="".concat(n,"_divItem"),a=l(e),o=$(""),s=new f.ChildController({type:a.controller.type,namespace:n,register:{bubble:i,itemAdded:function(){h.call("itemAdded")}}});if(v.add(n,s),void 0!==t&&t0){var d=g[t];d&&(a.displayReverse?d.after(o):d.before(o),g.splice(t,0,o),b.splice(t,0,s))}}else a.displayReverse?m.$dom.prepend(o):m.$dom.append(o),g.push(o),b.push(s);c(e,function(t){var n=$(t({data:e,dom:{divItem:r}}));o.replaceWith(n),g.splice(g.indexOf(o),1,n);var i=$("#".concat(r));s.update({$dom:i,data:a.controller.dataFn(e)})})}}function a(e){if(void 0!==e){var t=g[e],n=b[e];t&&n&&(t.remove(),g.splice(e,1),n.uninit(),v.remove(n.namespace),b.splice(e,1),h.call("itemRemoved"))}}function i(e){h.call("bubble",e)}function o(){n(),d=m.get("settings");var e=m.get("items")||null;e&&(e.on("push shift pop unshift splice reverse concat",s),s("concat",e))}function l(e){return d&&"function"==typeof d?d(e):d}function c(e,t){var n=l(e);n.getter.template.html?u.handlebars.getHtml(n.getter.template.name,n.getter.template.html,t):u.handlebars.getTemplate(n.getter.template.name||n.getter.template.url,n.getter.template.url,t)}function s(){var e=Array.prototype.slice.call(arguments);switch(e[0]){case"push":e.slice(1).forEach(function(e){r(e)});break;case"shift":a(0);break;case"pop":a(g.length-1);break;case"unshift":e.shift(),e.reverse(),e.forEach(function(e){r(e,0)});break;case"splice":var t=e[1];t<0&&(t=g.length+t-1);var n=e[2]||g.length-t;n>g.length-t&&(n=g.length-t);for(var i=t;i0)for(var s=0;s").appendTo(c.ulListingImageSlidee).css({width:"548px",height:"416px",float:"left"});b.off("click").on("click",function(e){t({type:"media.clicked",data:{mediaType:"map",source:"imageSlider"}})}).addClass("pointer"),e(["modules/StaticMap"],function(e){e.get({$dom:b,type:"roadmap",lat:s.latitude,lng:s.longitude,zoom:16,marker:!0})}),l.addClass("container").css({margin:"0 auto",width:""})}else"object"==typeof n&&"function"==typeof n.reload&&S(),void 0===n&&(l.sly("destroy"),n=new window.Sly(l,{horizontal:1,itemNav:"basic",smart:1,mouseDragging:1,touchDragging:0,releaseSwing:1,speed:300,prevPage:y[0],nextPage:g[0],disabledClass:"slyDisabled"},{load:function(){var e=this;setTimeout(function(){o.call(e)},0)},change:function(){var e=this;setTimeout(function(){o.call(e),w=!0},0)},moveEnd:function(){w=!1}}).init(),v.unregister("imageSlider.window.resize"),v.unregister("imageSlider.destroy"),v.register("imageSlider.window.resize",function(){S()}),v.register("imageSlider.destroy",function(){"object"==typeof n&&"function"==typeof n.destroy&&n.destroy()})),c.divListingImageFrame.find("img").on("error",function(e){u(e.currentTarget).addClass("bs4--invisible").off("error")});f.getDeviceSize(function(e){if("lg"===e){var i=0;d.find("li").each(function(){i+=u(r).outerWidth(!0)}),i=e.length?e.length-1:i+1,a=e[t],r=this.items,n=0;n'.concat(e," Loading"))}),h.register("loadDisclaimer",r,t))}function r(){var e=o(b.get("modificationTimestamp"));p.main.get({$dom:b.$dom,data:{listingID:b.get("listingID")},map:function(t){return{listingCourtesyOf:t,sourceNumber:b.get("sourceNumber"),modificationTimestamp:e,coStarBrand:d.coStarBrand.getCurrent()}}})}function o(e){if(!e||!Object.keys(e).length)return!1;var t,n=new Date(e.raw);try{t=n.toLocaleString("en-us",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZone:"America/New_York"})}catch(e){var i=n.getUTCHours()-(4+(a(n)?0:1)),r=n.getMinutes(),o=n.getSeconds(),c=i>=12? "day":"days"," ago"):r+=" on ".concat(t.listDate.monthDayYear))}if(t.currentPrice&&t.originalPrice&&t.currentPrice.raw!==t.originalPrice.raw){t.status&&t.status.suppressDaysOnMarket&&(r+="Originally listed"),r+=" for ".concat(t.originalPrice.dollars,"");var n=s(t);n&&(r+=" (".concat(n,")"))}}return r}function s(t){var e=i(t.history);if(e){var r=e.items.filter(function(t){return 2===t.updateTypeID});if(r[0]&&r[0].price&&r[0].previousPrice){var n=r[0].price.raw>r[0].previousPrice.raw,a=Math.abs(r[0].price.raw-r[0].previousPrice.raw);return"".concat(n? The 950 sq. Beauty in the lower Diamond Park District in Oakland, new Sewer and sidewalk certified!.. More Info. (j.add("myListingAdminPanel",new x.ChildController({type:"controllers/Property/MyListingAdminPanel",namespace:N.get(),register:{bubble:n}}),!0),W.updateController("myListingAdminPanel",{$dom:h.divMyListingAdmin,data:{propertyAddressItem:W.get("propertyAddressItem"),details:y,currentUser:A,mobilePanelContainer:t,currentUserAgentRole:I}})):A&&A.permissions&&A.permissions.paidAgent&&e(["modules/MoveController"],function(e){return void 0!==e&&null!==e&&(M=new e({locations:{xs:t,sm:h.divAgentActionsContainer,md:h.divAgentActionsContainer,lg:h.divAgentActionsContainer},success:function(e){h.divAgentActions.appendTo(e)}}),!1)})}function l(t){e(["modules/MoveController"],function(e){return void 0!==e&&null!==e&&(L=new e({locations:{xs:t,sm:h.divConversationsContainer,md:h.divConversationsContainer,lg:h.divConversationsContainer},success:function(e){h.divConversationsContent.appendTo(e)}}),!1)})}function d(t){e(["modules/MoveController"],function(e){return void 0!==e&&null!==e&&(k=new e({locations:{xs:t,sm:h.divLeadGenContainer,md:h.divLeadGenContainer,lg:h.divLeadGenContainer},success:function(e){h.divLeadGenForm.appendTo(e)}}),!1)}),j.add("leadGenForm",new x.ChildController({type:"controllers/MyAgent/Master",namespace:N.get(),register:{bubble:n,display:function(e){f=! (u.add("propertyFeatures",new p.ChildController({type:"controllers/Property/PropertyFeatures",namespace:d.get(),register:{bubble:r}}),!0),m.updateController("propertyFeatures",{$dom:n.divFeatures,data:{listing:a,accordionOpen:e.data.accordionOpen}})):n.divFeatures.remove(),-1===t.exclusions.indexOf("map")? A new affordable option from Home Partners of America. Use the previous and next buttons to navigate. define("controllers/Property/PropertySchools",["require","jquery","ControllerObjects"],function(e){return function(o){function t(e){d.call("bubble",e)}function n(e){p.update(e),l()}function l(){if(!p.$dom)throw"No state.$dom";if(!p.get("schools"))throw"No state.data.schools";m.get({$dom:p.$dom,data:p.get("schools"),pass:{accordionOpen:p.get("accordionOpen")}})}function r(o){h=o.$dom,e(["modules/collapse"],function(e){new e({$label:h.divSchoolsLabel,$chevron:h.spanSchoolsCollapseChevron,$collapseContainer:h.divSchoolsCollapse,open:! Learn More Auction Foreclosures These properties are currently listed for sale. Search by city and state, address, zip code, school district, or MLS # Showing 1,688 homes around 20 miles. Protect your home and budget with an American Home Shield home warranty. (this instanceof g))return new g(e,t,n);var r,o,i,u,a,s=typeof e;if("base64"===t&&"string"==s)for(e=(r=e).trim?r.trim():r.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==s)o=x(e);else if("string"==s)o=g.byteLength(e,t);else{if("object"!=s)throw new Error("First argument needs to be a number, array or string. Sorry, Street View is not available for this address. "UnFavorite":"Favorite"),a){if(r({type:"reflect",name:"propertyFavoriteStatus.updated",data:{favoriteStatus:e,ids:t,propertyAddressItem:o}}),s){var c=s.favorites.indexOf(i),u=s.notFavorites.indexOf(i);c>-1&&s.favorites.splice([c],1),u>-1&&s.notFavorites.splice([u],1)}else s={favorites:[],notFavorites:[]};s[e? ft. apartment is a 2 bed, 1.0 bath unit. function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};f.getIDXBrand(function(t){if(!t){var a;null!==(a=e.features)&&void 0!==a&&a.showByTenXOnHomesnap&&f.getCurrentUser(function(e){var t,a=(null===e||void 0===e?void 0:e.user)||{};null!==(t=a.permissions)&&void 0!==t&&t.mlsAgent||a.clientDetails||(P.idxDisclaimer.removeClass("bs4--d-none"),r({type:"reflect",name:"headerBrand.showByTenX"}))})}})})}),e(["ga"],function(e){if("function"!=typeof e)return!1;if(D.get("listingID")||D.get("propertyID")){var t=H.beds?H.beds.raw:null,r=H.sPropertyType2?H.sPropertyType2.string:null,a=H.price?H.price.raw:null;if(a){var i=a/5e4,o=Math.round(i);a=o>0?5e4*o:a}D.get("listingID")&&e("set","dimension4",D.get("listingID")),e("set","dimension1",t),e("set","dimension2",r),e("set","dimension3",a),e("send","pageview"),e("set",{dimension1:null,dimension2:null,dimension3:null,dimension4:null})}}),t.data.badges&&P.divBadges&&D.updateController("badges",{$dom:P.divBadges,data:{badges:t.data.badges,classes:"pr-20 pl-20"}}),(t.data.actionBar&&P.divActionBar||D.$dom.actionBar)&&(S=D.$dom&&D.$dom.actionBar?D.$dom.actionBar:P.divActionBar,T=!0),S&&(w.add("actionBar",new v.ChildController({type:"controllers/ActionBar",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("actionBar",{$dom:S,data:{propertyAddressItem:H,showShare:!0,showFavorite:!0,showContactAgent:!0,showContact:!0,showSendInAMessage:!0,showInverseColors:T}})),D.updateController("searchBreadCrumbs",{$dom:P.divBreadCrumbs,data:{propertyAddressItem:H,searchDefinition:D.get("searchDefinition")}}),H.listing&&H.transactionType&&H.transactionType.forSale&&H.price&&(w.add("payment",new v.ChildController({type:"controllers/MortgagePayment",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("payment",{$dom:P.spanEstMortgage,data:{price:t.data.propertyAddressItem.price.raw,propertyAddressItem:t.data.propertyAddressItem}})),D.updateController("header",{$dom:t.$dom.divHeader,data:{propertyAddressItem:H,listingID:D.get("listingID")}});var C=0,A=(null===(a=H)||void 0===a?void 0:a.address)&&!H.address.unitNumber;if((null===(i=H)||void 0===i?void 0:null===(o=i.unitCount)||void 0===o?void 0:o.raw)>1&&A&&C++,null!==(s=H)&&void 0!==s&&s.beds&&C++,null!==(n=H)&&void 0!==n&&n.baths&&C++,null!==(d=H)&&void 0!==d&&d.lotSize&&A&&C++,null!==(p=H)&&void 0!==p&&p.sqFt&&C++,null!==(c=H)&&void 0!==c&&c.yearBuilt&&C++,0===C)P.divKeyStats.addClass("hidden");else{var B=P.divKeyStats.width(),M=B/C;P.divKeyStats.find("span").each(function(){$(this).css("max-width",M)})}var L=D.$dom&&D.$dom.content?D.$dom.content:D.$dom;D.updateController("propertyCommuteTimes",{$dom:P.divPropertyCommuteTimes,data:{propertyAddressItem:H}}),t.data.searchMatches&&(w.add("buildingSearchMatches",new v.ChildController({type:"controllers/Property/SearchMatches",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("buildingSearchMatches",{$dom:P.buildingSearchMatches,data:t.data}));var k=D.get("searchDefinition"),O=y(D.get("qs",{}));if(D.get("listingID")>0)j.getListingDetails.get({$dom:L,data:{listingID:D.get("listingID"),parts:506,schoolsPolygonType:1,impersonateAs:D.get("preview",!1)?4:void 0,promo:O},pass:{propertyStatus:H&&H.propertyStatus?H.propertyStatus:void 0}});else if(D.get("propertyID")>0){var _;j.getPropertyDetails.get({$dom:L,data:{propertyID:D.get("propertyID"),parts:26,transactionType:k&&2==(null===(_=k.transactionType)||void 0===_?void 0:_.value)?k.transactionType.value:1,promo:O}})}else if(D.get("propertyAddressID")>0){var E;j.getPropertyAddressDetails.get({$dom:L,data:{propertyAddressID:D.get("propertyAddressID"),parts:26,transactionType:k&&2==(null===(E=k.transactionType)||void 0===E?void 0:E.value)?k.transactionType.value:1,promo:O}})}}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;"function"==typeof gtag&&(r?gtag("set",{listingID:"".concat(r)}):gtag("set",{listingID:void 0}),gtag("event","Listing viewed",{event_category:e,event_label:t,send_to:Homesnap.citySnapGTagID}))}function p(e){var t,r=D.get("currentHeatMap"),a=h.propertyAddress.getStatusBadges(H);r&&"function"==typeof r.getBannerColorAndLabel&&(t=r.getBannerColorAndLabel.call(r,H))&&t.textColor&&(t.style="color: ".concat(t.textColor)),t?a.push(t):e&&a.push(e),j.main.get({$dom:D.$dom&&D.$dom.content?D.$dom.content:D.$dom,data:{propertyAddressItem:H,badges:a,actionBar:D.get("actionBar")||!1,searchMatches:D.get("searchMatches"),appMode:O,isCitysnap:h.coStarBrand.is("citysnap")}})}function c(t,a){var i,o,s,n,d,l,p,c,m,g,b,C,f,S,T,B,$,M=null!==(i=t.data)&&void 0!==i?i:{};null!==(o=M.defaultParentArea)&&void 0!==o&&o.cityModeID&&e(["modules/AppMode"],function(e){if(void 0!==e){var t;e().parse(null===(t=M.defaultParentArea)||void 0===t?void 0:t.cityModeID,!1,a)}});var k={propertyAddressItem:H,detailsData:M,image:H.primaryImage?H.primaryImage.large:null,url:H.url,description:M.remarks?M.remarks:null!==(s=M.metaDescription)&&void 0!==s?s:"",name:"".concat(H.address.fullStreetAddress,", ").concat(H.address.cityStateZip),address:H.address,propertyType:M.propertyType?M.propertyType:null,productId:H.id,sqFt:H.sqFt,latitude:H.latitude,longitude:H.longitude,price:M.currentPrice?M.currentPrice.raw:null!==(n=null===(d=H.price)||void 0===d?void 0:d.raw)&&void 0!==n?n:null,secondaryImages:H.secondaryImages&&H.secondaryImages.length>2?H.secondaryImages.slice(0,2):H.secondaryImages,transactionType:H.transactionType,openHouse:M.openHouses?M.openHouses:null,singleFamilyResidence:M.sPropertyType2&&M.sPropertyType2.raw&&(1===M.sPropertyType2.raw||2===M.sPropertyType2.raw||4===M.sPropertyType2.raw||64===M.sPropertyType2.raw)};D.updateController("schema",{$dom:P.divSchema,data:{schemaData:k}}),w.get("actionBar").event("listingDetails.loaded",M);var O=M&&M.price?M.price:null;if(H.price&&O&&O.raw!==H.price.raw&&P.divPriceContainer.text(O.dollars),w.add("propertySidebar",new v.ChildController({type:"controllers/Property/PropertySidebar",namespace:I.get(),register:{bubble:r}})),H){var _=D.get("qs",{});D.updateController("propertySidebar",{$dom:P.divSideBar,data:{details:M,propertyAddressItem:H,sticky:["md","lg"],ref:D.get("ref"),preview:D.get("preview",!1),mlsFeedbackParams:D.get("mlsFeedbackParams")?D.get("mlsFeedbackParams"):U.get("MLSFeedbackParams"),mobileActionsContainer:P.divMobileActionsContainer,mobileConversationsContainer:P.divMobileConversations,mobileAgentsContainer:P.divMobileAgents,entityID:M.id,qs:_,promo:y(_)}})}!H.listing&&H.propertyID&&D.updateController("likelihoodToList",{$dom:P.divLikelihoodToList,data:{propertyAddressItem:H}}),H&&H.propertyID&&D.updateController("ownershipSnapshot",{$dom:P.divOwnershipSnapshot,data:{isListing:H.listing,propertyID:H.propertyID,attributes:H.attributes}});var x={};if(M&&"HSPropertyAddressDetail"===M.type_?x.propertyAddress=M:M&&"HSPropertyAddressItem"===M.type_?x.property=M:x.listing=M,H.building&&(x.building=H.building),M&&M.listingID&&(w.add("listingRemarks",new v.ChildController({type:"controllers/Property/ListingRemarks",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("listingRemarks",{$dom:P.divListingRemarks,data:x})),null!==(l=L)&&void 0!==l&&null!==(p=l.status)&&void 0!==p&&p.isAdmin&&(w.add("propertyAdminPanel",new v.ChildController({type:"controllers/Property/PropertyAdminPanel",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("propertyAdminPanel",{$dom:P.divPropertyAdminPanel,data:x})),w.add("propertySummary",new v.ChildController({type:"controllers/Property/PropertySummary",namespace:I.get(),register:{bubble:r}})),D.updateController("propertySummary",{$dom:P.divPropertySummary,data:_objectSpread(_objectSpread({},x),{},{propertyAddressItem:H})}),x&&(x.listing&&(null!==(c=x.listing.buildingAmenities)&&void 0!==c&&c.length||null!==(m=x.listing.amenities)&&void 0!==m&&m.length)||x.propertyAddress&&(null!==(g=x.propertyAddress.amenities)&&void 0!==g&&g.length||null!==(b=x.propertyAddress.buildingAmenities)&&void 0!==b&&b.length)||x.property&&(null!==(C=x.property.amenities)&&void 0!==C&&C.length||null!==(f=x.property.buildingAmenities)&&void 0!==f&&f.length))&&(P.divPropertyAmenities.removeClass("bs4--d-none"),w.add("propertyAmenities",new v.ChildController({type:"controllers/Property/PropertyAmenities",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("propertyAmenities",{$dom:P.divPropertyAmenities,data:x})),M.defaultParentAreaID&&(null!==(S=M.defaultParentArea)&&void 0!==S&&null!==(T=S.areaTypeFlag)&&void 0!==T&&T.neighborhoods||null!==(B=M.defaultParentArea)&&void 0!==B&&null!==($=B.areaTypeFlag)&&void 0!==$&&$.zips)&&(P.divExploreNeighborhoodContainer.removeClass("bs4--d-none"),P.aExploreNeighborhood.attr("href","/area".concat(M.defaultParentArea.url,"/").concat(M.defaultParentAreaID)).on("click",function(e){var t=Object.assign({},M.defaultParentArea,{showAreaPage:!0});return r({type:"url.unhandled",url:e.currentTarget.getAttribute("href"),data:t}),!1})),P.divThrobber.remove(),P.listingMediaCardsContainer.removeClass("hidden"),"HSListingDetail"===M.type_&&(w.add("listingHistoryCapsule",new v.ChildController({type:"controllers/ListingHistoryCapsule",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("listingHistoryCapsule",{$dom:P.divListingHistoryCapsule,data:{propertyAddressItem:H,listing:M}})),M&&M.openHouses&&M.openHouses.length>0){var F,G;j.getOpenHouse=new v.Getter({namespace:I.get(),template:{name:"controllers/Property/PropertyAddressMaster_OpenHouse",html:' \tOpen House \t\t{{#each this}} \t" "1"}} bs4--col-sm-6{{/compare}} bs4--col-12"> \t{{/each}} \t ',dom:[["divOpenHouse"]]}}),j.getOpenHouse.get({$dom:P.divOpenHouses,data:M.openHouses,success:function(e){w.add("openHouse",new v.ChildControllerArray({type:"controllers/ListingOpenHouse",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("openHouse",{$dom:e.$dom.divOpenHouse,data:e.data.map(function(e){return{openHouse:e,propertyAddressItem:H}})})}}),M&&null!==(F=M.openHouses[0])&&void 0!==F&&null!==(G=F.method)&&void 0!==G&&G.virtual&&w.event("media.available",{mediaType:"openHouseLink",linkURL:M.openHouses[0].virtualURL,posterImageURL:H.primaryImage?H.primaryImage.large:null})}if(w.add("history",new v.ChildController({type:"controllers/Property/PropertyHistory",namespace:I.get(),register:{bubble:r}}),!0),D.updateController("history",{$dom:P.divHistory,data:{propertyAddressItem:H,history:M.history,propertyStatus:H&&H.propertyStatus?H.propertyStatus:null}}),M.propertyCount&&M.propertyCount.raw>0){w.add("propertyUnits",new v.ChildController({type:"controllers/Property/PropertyUnits",namespace:I.get(),register:{bubble:r}}));var q=M.supportsPublicRecordDocuments;D.updateController("propertyUnits",{$dom:P.divUnits,data:{propertyAddressID:M.id,supportsACRIS:q}}),r({type:"trackUserEvent",data:{webServiceName:"propertyAddresses",userEventType:1,associatedEntityType:5,associatedEntityID:M.id}})}if(M&&(M.valuePercentChange||M.rentPercentChange||M.rent&&M.rentLow&&M.rentHigh||M.value&&M.valueLow&&M.valueHigh)?