"".concat(L.locationTitle," "):"").concat(L.searchDefinition.getTitle())}function y(){var e;if(L.area.id||1===(null===(e=L.multiArea.id)||void 0===e?void 0:e.length)){var t,o;switch(L.area.areaTypeID||(null===(t=L.multiArea.id)||void 0===t?void 0:null===(o=t[0])||void 0===o?void 0:o[3])){case 1:return"Search ".concat(L.locationTitle," homes for sale, apartments for rent, open houses, and more on ").concat(I.name,". "homesnap.users":"homesnap.noimage",o="//s3.amazonaws.com/"+a+"/",i=e>0?o+n.string.reverse(e.toString())+"_":o+"user_",s="";return t&&(s="? {{/if}} {{#or studentCount studentTeacherRatio}} Approximately {{~#if studentCount}} {{studentCount.commas}} students attends the school{{/if~}} {{~#and studentCount teacherCount}} and {{/and~}} {{~#if teacherCount}} {{teacherCount.commas}} teachers provides instruction{{/if~}} . Homesnap.templates["controllers/SchoolItem.html"] = '{{#with data}}
{{/with}}'; "$".concat(n.string.getShortNumber(e)):"$".concat((e/1e3).toString(),"K")}}),u={sale:{min:a.slice(0,-1),max:a.slice(1)},rent:{min:l.slice(0,-1),max:l.slice(1)}};return u.sale.max[u.sale.max.length-1]={label:"$25M+",value:1e8},u.rent.max[u.rent.max.length-1].label="$20K+",u},getYearBuiltOptions:function(){for(var e=new Date,t=e.getFullYear(),r=[];t>=2014;)r.push(t),t-=1;r=r.concat([2010,2005,2e3,1990,1980,1970,1960,1950,1925,1900]);var a=r.map(function(e){return{value:e,label:e}}),n={min:_toConsumableArray(a).reverse(),max:a};return n.max.unshift({label:"Any",value:3e3}),n.min.unshift({label:"Any",value:0}),n}},n.savedSearches={getSavedSearchUrl:function(e){var t,r=e.sd.getUrl(),a="",n="";if(null!==(t=e.boundaryEntities)&&void 0!==t&&t.length){if(n="/p_",1===e.boundaryEntities.length){var o=e.boundaryEntities[0];n+="".concat(o.entityType,",").concat(o.entityID)}else e.boundaryEntities.forEach(function(e){n+="(".concat(e.entityType,",").concat(e.entityID,")")});a=1===e.boundaryEntities.length?e.boundaryEntities[0].url:"/areas"}else if(e.boundaryEntity){switch(e.boundaryEntity.type_){case"HSAreaItem":n="/p_(21,".concat(e.boundaryEntity.areaID,")");break;case"HSSchool":n="/p_(26,".concat(e.boundaryEntity.id,")");break;case"HSStreetArea":n="/p_(51,".concat(e.boundaryEntity.id,")")}a=e.boundaryEntity.url}var i="";if(e.bounds&&e.bounds.center){var s=e.bounds.center();i="/c_".concat(s.lat.toString(),",").concat(s.lng.toString())}var c="/b_".concat(e.bounds.north,",").concat(e.bounds.east,"-").concat(e.bounds.south,",").concat(e.bounds.west),l="";e.criteria&&e.criteria.filters&&e.criteria.filters.shape&&e.criteria.filters.shape.encodedPolygons&&void 0!==e.criteria.filters.shape.encodedPolygons&&(l="/cp_".concat(encodeURIComponent(e.criteria.filters.shape.encodedPolygons)));var u="";if(e.commuteTimePlaces){u="";for(var p=0;p0?t.push("".concat(a.minimum.toString(),"+ Beds")):a.maximum===a.minimum?t.push("".concat(a.minimum.toString()," Beds")):a.minimum>0&&a.maximum<100&&t.push("".concat(a.minimum.toString(),"-").concat(a.maximum.toString()," Beds"));var n=r.filters&&r.filters.baths?r.filters.baths:{};0===n.minimum&&1===n.maximum?t.push("0-1 Baths"):1===n.minimum&&2===n.maximum?t.push("1-2 Baths"):2===n.minimum&&3===n.maximum?t.push("2-3 Baths"):3===n.minimum&&4===n.maximum?t.push("3-4 Baths"):4===n.minimum&&5===n.maximum?t.push("4-5 Baths"):5===n.minimum&&50===n.maximum?t.push("5+ Baths"):0===n.minimum&&0===n.maximum?t.push("0 Baths"):50===n.maximum&&n.minimum>0?t.push("".concat(n.minimum.toString(),"+ Baths")):void 0!==n.minimum&&n.maximum===n.minimum?t.push("".concat(n.minimum.toString()," Baths")):n.minimum>0&&n.maximum<50&&t.push("".concat(n.minimum.toString(),"-").concat(n.maximum.toString()," Baths"));var o=r.filters&&r.filters.price?r.filters.price:{};if(o.minimum&&o.minimum.raw>0&&o.maximum&&o.maximum.raw<1e8?t.push("".concat(o.minimum.short," - ").concat(o.maximum.short)):o.maximum&&o.maximum.raw<1e8?t.push("0&&t.push(">".concat(o.minimum.short)),r&&r.filters&&r.filters.date)switch(r.filters.date){case 1:t.push("Today");break;case 2:t.push("Over 1 Week");break;case 3:t.push("Over 1 Month");break;case 4:t.push("Over 3 Months");break;case 5:t.push("Over 6 Months");break;case 6:t.push("Over a Year");break;case 7:t.push("Past Week");break;case 8:t.push("Past Month");break;case 9:t.push("Past 3 Months");break;case 10:t.push("Past 6 Months");break;case 11:t.push("Past Year");break;case 12:t.push("Tomorrow");break;case 13:t.push("This Week");break;case 14:t.push("Saturday");break;case 15:t.push("Sunday");break;case 16:t.push("This Weekend");break;case 17:t.push("This Week");break;case 18:t.push("Next Weekend")}return t=t.join(", "),e&&e.boundaryEntity? (Ge.listingGroups.data=We.listingGroups.data,We.listingGroups.data=$(a.data),oe=Ge.listingGroups,ae=We.listingGroups):(Ge.paItems.data=We.paItems.data,We.paItems.data=$(a.data.filter(function(e){return!We.listingGroups.data.hasItem(e.id)})),oe=Ge.paItems,ae=We.paItems),(te=fe.js.dedupeHashTables(oe.data,ae.data,function(e,t){return!ne&&(e.length===t.length&&(!e[0].listing||!t[0].listing||e[0].listing.id===t[0].listing.id))}))&&te.remove&&te.remove.length>0)for(var re=0;re0&&e(["modules/MapCustomMarker"],function(n){if(void 0===n||null===n)return!1;for(var s=0;s1){var s="controllers/PickerPropertyAddressLite";Homesnap.jsAppHashes&&!Homesnap.jsAppHashes["".concat(s.replace("controllers/","").js)]&&(s="".concat(Homesnap.jsMainRootPath,"/").concat(s,".js")),e([s],function(e){var a=new e((new Date).getTime().toString());a.update({data:{items:t,title:n,showUnit:!1,showFavoriteIcon:!0,placardVersion:2}}),a.register("bubble",o)})}else{o({type:"url.unhandled",url:t[0].url,data:t[0]})}}}})}var d=i.latitude,c=i.longitude,p=new google.maps.LatLng(d,c);return W=new n.MarkerWithOverLay(p,l,s,a.showMini,"HSPropertyAddressListingItem"!==t||null,a.notClickable?null:r)}(l,r,ce);ae.markers.setItem(i,d)}}}De&&ce.getZoom()>=17&&a.allHomesMode&&(We.heatMaps&&We.heatMaps.sectionKey&&We.heatMaps.sectionValues?se(We.heatMaps):a.heatMaps&&a.heatMaps.data&&se(a.heatMaps.data)),Ce.callOnce("clickWhenMapReady_")})}else if(a&&a.data&&a.data.latitude&&a.data.longitude){var ye=a.data;if(We.singlePropertyAddressItem=a.data,We.polygon&&We.polygon.type===t&&We.polygon.data.id===ye.id)break;b(),w(),g();var he=function(){if(a.marker){var t=ye&&ye.propertyStatus?ye.propertyStatus.color:"",o=ye&&ye.propertyStatus&&ye.propertyStatus.secondaryColor?ye.propertyStatus.secondaryColor:"",n="#fff",s="#006DC7",i="#0b4256";switch(t){case"green":s="#00B100",i="#00775B";break;case"orange":s="#f27f21",i="#A84800";break;case"red":s="#ee3223",i="#9a1b1e";break;case"yellow":s="#edb42b",i="#b07d2a";break;case"purple":o&&"goldenrod"===o.toLowerCase()&&(n="#F9C949"),s="#00B100",i="#ffffff"}e(["modules/MapCustomMarker"],function(e){var t=e.GenericMapMarker.generateSVGCode(null,s,i,n),o=new google.maps.Marker({position:new google.maps.LatLng(ye.latitude,ye.longitude),map:ce,title:ye.address.fullStreetAddress,icon:{anchor:new google.maps.Point(12,34),url:"data:image/svg+xml;utf-8, ".concat(encodeURIComponent(t.outerHTML)),scaledSize:new google.maps.Size(22,38.5),size:new google.maps.Size(22,38.5)},optimized:!1,zIndex:1});We.polygon.marker=o,a.marker.open&&(ue=ue||new google.maps.InfoWindow,o.addListener("click",function(){ue.setContent(ye.address.fullStreetAddress),ue.open(ce,o)}))})}We.polygon.polygon||(ce.setCenter({lat:ye.latitude,lng:ye.longitude}),ce.setZoom(Pe.get("zoom",18)))},be=function(e){var t=We.polygon.polygon,o=We.polygon.marker;return t||!o||Array.isArray(o)||o.getMap()?o||!t||t.getMap()?void(t&&o&&!Array.isArray(o)&&(o.getMap()||o.setMap(ce),e>=16?t.getMap()||t.setMap(ce):t.getMap()&&t.setMap(null))):void t.setMap(ce):void o.setMap(ce)};a.lotPolygon?e(["modules/DMPManager"],function(e){e.getPolygon(ye.latitude,ye.longitude,function(e){e&&(a.lotPolygon.paths=e,We.polygon.polygon=x(a.lotPolygon),We.polygon.bounds=A(We.polygon.polygon)),We.polygon.polygon||(ce.setCenter({lat:ye.latitude,lng:ye.longitude}),ce.setZoom(Pe.get("zoom",18))),We.polygon.type=t,We.polygon.data=ye,he(),be(ce.getZoom()),We.polygon.listeners.zoom=google.maps.event.addListener(ce,"zoom_changed",function(){be(ce.getZoom())})})}):(he(),be(ce.getZoom())),We.localContext&&pe&&(pe.directionsOptions={origin:{lat:a.data.latitude,lng:a.data.longitude}}),v()}break;case"HSPropertyAddressCluster":if(a&&a.data&&a.data.clusters&&Array.isArray(a.data.clusters)){var Se=a.data.clusters,Te=a.data.searchDefinition,xe=ce.getZoom();w(),M(),(xe<17||xe<=17&&a.data.allHomesMode)&&e(["markerwithlabel"],function(e){for(var t=0;t999? 17123 W Bernardo Dr W # 202, San Diego, CA 92127 is a condo unit listed for-sale at $580,000. School Name: Bernardo Heights Middle. Attached Garage. "(".concat(r.gradeRange,")"):"";null!==r&&void 0!==r&&null!==(n=r.address)&&void 0!==n&&n.city&&r.address.state&&(l=" in ".concat(r.address.city,", ").concat(r.address.state),i=", ".concat(r.address.city,", ").concat(r.address.state));var c="".concat(r.name).concat(s).concat(i," Details & Information"),u="View ratings, key metrics, attendance zone, and more information about ".concat(r.name).concat(s).concat(l," on ").concat(S.name,". "#000000":"#006DC7"};if(e.status.cancelled)r.dataStatusBadge="red",r.spanTextColor="bs4--text-google-red",r.spanIcon="cancel",r.pText="Canceled";else if(e.status.completed)r.dataStatusBadge="gray",r.spanTextColor="bs4--text-gray-300",r.spanIcon="check_circle",r.pText="Toured",r.mapMarkerFill="#6B758A";else if(e.status.confirmed)r.dataStatusBadge="green",r.spanTextColor="bs4--text-google-green",r.spanIcon="check_circle",r.pText="Confirmed";else if(e.status.external){var a,o=e.service||(null===(a=e.listing)||void 0===a?void 0:a.service)||{},i="Unknown";o.homesnap?i="Homesnap":o.showingTime?i="ShowingTime":o.sentriKey&&(i="SentriKey"),r.dataStatusBadge="blue",r.spanTextColor="bs4--text-hs-blue",r.spanIcon="watch_later",r.pText="Unknown"===i? ")}function v(e){var t=!0;if(4!==L.searchDefinition.transactionType.value)return t;for(var o=0;o 12990 Paseo Lucido, San Diego, CA 92128. ");g.url=new d.ControllerStateUrl("/schools".concat(r.urlName),c,u)}g.updateController("searchBreadCrumbs",{$dom:o.divBreadCrumbs,data:{entityType:26,entityID:r.id,hidePropertyAddress:!0}}),o.aSchoolDistrict&&t.data.district&&o.aSchoolDistrict.on("click",function(e){return a({type:"url.unhandled",url:$(e.currentTarget).attr("href"),data:t.data.district}),!1}),g.updateController("schoolDetailsKeyMetrics",{$dom:o.divSchoolDetailsKeyMetrics,data:{schoolDetails:t.data}}),g.updateController("listingsActive",{$dom:o.divListingsActive,data:{schoolID:r.id,name:r.name,sListingStatus:1,skip:0,take:8}}),g.updateController("listingsSold",{$dom:o.divListingsSold,data:{schoolID:r.id,name:r.name,sListingStatus:4,skip:0,take:8}}),r&&r.latitude&&r.longitude?Homesnap&&!Homesnap.puppeteer&&(g.updateController("map",{$dom:o.divMap,data:{type:{hybrid:{min:100,max:100},homesnap:{min:1,max:100}},lazyLoad:!1,show:{propertyTiles:{color:"FFFFFF"},offMarketTiles:!0,HSSchool:{data:{item:r,fit:{percent:-.2}}}},ui:{polygon:{status:!1},mapTypeToggle:{status:!0}}}}),e(["modules/SearchManager"],function(e){if(void 0===e||null===e)return!1;if(! 15250 Avenue of Science. Updates have been made to the graphs below. Jan 30 Professional Growth Day - Non Student Day {{#if district}} The {{#compare level "==" 1}}elementary{{else compare level "==" 2}}middle{{else compare level "==" 3}}high{{/compare}} school is part of the {{district.name}}.