Bernardo Heights Middle School's student population of 1,453 students has stayed relatively flat over five school years. "".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,". "Last 14 Days":i>=14&&i<30? define("controllers/SchoolDetailsKeyMetrics",["require","ControllerObjects","lodash","Utilities","tinycolor"],function(t){return function(e){function r(t){g.call("bubble",t)}function a(t){m.update(t),o()}function o(){try{m.requireDom()}catch(t){throw t}var t=m.get("schoolDetails");if(t.studentsByGrade){var e=t.studentsByGrade.groups.map(function(t){return t.count.raw}),r=h.max(e),a=h.sortBy(e).reverse(),o=t.studentsByGrade.groups.map(function(t){return(t.count.raw/r*100).toFixed(2)}),n=o.map(function(t){return t>25}),i=t.studentsByGrade.groups.map(function(t){var e=a.indexOf(t.count.raw),r=c.split("|");return e<2?r[e]:r[2]});y.template.get({$dom:m.$dom,data:{schoolDetails:t,percentages:o,takeGradeNameOutOfBar:n,barColors:i}})}}function n(t){var e=t.$dom,a=t.data;a.schoolDetails.ethnicity&&(f.add("ethnicityPieChart",new u.ChildController({type:"controllers/Charts/PieChart",namespace:p.get(),register:{bubble:r}}),!0),m.updateController("ethnicityPieChart",{$dom:e.divEthnicityPieChart,data:{chartData:i(a.schoolDetails.ethnicity),colorsArray:c.split("|"),total:a.schoolDetails.ethnicity.total.raw,tooltipFormat:"label",height:160,presorted:!0}})),a.schoolDetails.freeLunches&&(f.add("lunchPieChart",new u.ChildController({type:"controllers/Charts/PieChart",namespace:p.get(),register:{bubble:r}}),!0),m.updateController("lunchPieChart",{$dom:e.divLunchPieChart,data:{chartData:i(a.schoolDetails.freeLunches),colorsArray:c.split("|"),total:a.schoolDetails.freeLunches.total.raw,tooltipFormat:"label",height:160}}))}function i(t){for(var e={datasets:[],labels:[]},r=t.total.raw,a=0,o=t.groups.length;a0?$("a[href='#".concat(c.divMiddleSchoolContainer[0].id,"']")).trigger("click").attr("aria-selected",!0):h.high.length>0&&$("a[href='#".concat(c.divHighSchoolContainer[0].id,"']")).trigger("click").attr("aria-selected",!0)),d.call("bubble",{type:"url.update"})}var l=e("ControllerObjects"),n=e("Objects"),i=(e("bootstrap"),new l.Unique(t)),d=new l.Callbacks,c=new l.ChildControllerManager,u=new l.StateManager(c,{});c.add("graduateFromSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("graduateToSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("elementarySchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("middleSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("highSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}}));var h={getRelated:new l.Getter({namespace:i.get(),type:n.HSSchoolRelated,webService:"/service/Schools/GetRelated",failure:function(){throw u&&console.info(u),new Error("School Related Schools controller: Unhandled Error")}}),main:new l.Getter({namespace:i.get(),success:function(e){try{a(e)}catch(e){throw u&&console.info(u),e}},template:{url:"controllers/SchoolRelatedSchools.html",dom:["divFrom","divGraduateTo","divGraduateFrom","divElementary","divMiddle","divHigh","divElementaryContainer","divMiddleSchoolContainer","divHighSchoolContainer",["divGraduateFromSchool"],["divGraduateToSchool"],["divElementarySchool"],["divMiddleSchool"],["divHighSchool"],"aElementaryLabel","aMiddleLabel","aHighLabel","ulTabList"]}})};return{update:function(e){u.update(e),r()},restore:function(e){u.restore(e,r)},uninit:function(){c.uninit()},getState:u.getState.bind(u),register:d.register.bind(d),event:function(e,t){c.event(e,t)}}}}); ").concat(r);window.location.replace(a)}},n.showing={getStylesBasedOnStatus:function(e){var t=n.coStarBrand.is("citysnap"),r={mapMarkerFill:t? Homesnap.templates["controllers/SchoolItem.html"] = '{{#with data}}
{{/with}}'; ".concat(e.attributes.offMarketDate.shortMonth," ").concat(e.attributes.offMarketDate.day):"";switch(!0){case e.attributes.mlsStatus.expired:S="Expired".concat(x);break;case e.attributes.mlsStatus.canceled:S="Canceled".concat(x);break;case e.attributes.mlsStatus.withdrawn:S="Withdrawn".concat(x);break;case e.attributes.mlsStatus.hold:S="Hold".concat(x)}}var k=new t(S,"#006DC7",null);r.push(k)}return r},getOwnershipTypeAttributeDescription:function(e,t){switch(e){case 1:return t? Narrow your search by price, size, and location to find a home in the school district of your choice. Students at Rancho Bernardo High are 43% White, 23% Asian, 19% Hispanic, 12% Two or more races, 2% African American. Homesnap.templates["controllers/generic.html"] = '
'; define("modules/DMPManager",["require","Objects","ControllerObjects","Utilities"],function(e){function t(e){var t=Date.now();if(e&&c&&t=u)&&(e&&i.register("_getCandy",e),g||(g=!0,l.getCandy.get({data:{forceNew:!1},success:function(e){e.data? Yes! In the 2021-22 school year, 2,334 students attended Rancho Bernardo High. (We.polygon.bounds=new google.maps.LatLngBounds,We.polygon.bounds.extend({lat:U.south,lng:U.west}),We.polygon.bounds.extend({lat:U.north,lng:U.east})):We.polygon.bounds=A(We.polygon.polygon),We.polygon.type=t,We.polygon.data=U}!1!==a.marker&&U.latitude&&U.longitude&&e(["modules/MapCustomMarker"],function(e){var t;if(void 0===e||null===e)return!1;var o=e.GenericMapMarker.generateSchoolSVGCode(null,Le.get()),a=new google.maps.Marker({position:new google.maps.LatLng(U.latitude,U.longitude),map:ce,title:U.name,icon:{anchor:new google.maps.Point(12,34),url:"data:image/svg+xml;utf-8, ".concat(encodeURIComponent(o.outerHTML)),scaledSize:new google.maps.Size(22,38.5),size:new google.maps.Size(22,38.5)},optimized:!1});We.polygon.marker=a,ue=ue||new google.maps.InfoWindow,a.addListener("click",function(t){var o=e.GenericMapMarker.generateSchoolSVGCode(null,Le.get(),!0);this.setIcon({anchor:new google.maps.Point(12,34),url:"data:image/svg+xml;utf-8, ".concat(encodeURIComponent(o.outerHTML)),scaledSize:new google.maps.Size(22,38.5),size:new google.maps.Size(22,38.5)}),ue.setContent(U.name),ue.open(ce,a)}),google.maps.event.addListener(ue,"closeclick",function(e){a.setIcon({anchor:new google.maps.Point(12,34),url:"data:image/svg+xml;utf-8, ".concat(encodeURIComponent(o.outerHTML)),scaledSize:new google.maps.Size(22,38.5),size:new google.maps.Size(22,38.5)})}),null!==U&&void 0!==U&&null!==(t=U.zones)&&void 0!==t&&t.length||!U.latitude||!U.longitude||(ce.setCenter({lat:U.latitude,lng:U.longitude}),ce.setZoom(18))})}break;case"HSSchoolDistrict":var J="HSSchoolDistrict"===a.data.type_?a.data:a.data.item;if(We.polygon&&We.polygon.type===t&&We.polygon.data.id===J.id)break;var Q=a.data.fit||void 0;if(b(),Q&&g(),J.polygon){var ee=E(J.polygon);We.polygon.polygon=x({paths:ee,fit:Q}),J.north&&J.south&&J.east&&J.west? {{/or}} {{#if StudentTeacherRatio}} The student-teacher ratio is " + Math.Round(School.StudentTeacherRatio.Value, 0) + " to 1. 2045 McIntosh Dr , Troy, MI 48098-2238 is a single-family home listed for-sale at $415,000. "Sorry, you can only":"You can"," search up to 5 areas"),type_:"notClickable"}]});for(var i=0;i-1&&(a.searchMode=2);var n=/p_\(? (clearTimeout(n),n=null,e.classList.remove("layers-expanded"),t&&t.length&&(t[1]&&(t[1].tabIndex=-1),t[2]&&(t[2].tabIndex=-1))):(e.classList.add("layers-expanded"),t&&t.length&&(t[1]&&(t[1].tabIndex=-1),t[2]&&(t[2].tabIndex=-1)),n=setTimeout(function(){e.classList.remove("layers-expanded")},3e4))})}function X(e,t,o){var a=document.createElement("div");a.className="school-btn bs4--rounded-circle mr-20",o&&a.classList.add("layers-fab-btn"),e.appendChild(a);var n=document.createElement("button");o&&(n.tabIndex="-1"),n.className="bs4--mt-auto bs4--border-0 bs4--bg-transparent paint-base-font",n.innerHTML="Schools",a.appendChild(n),n.title="Show/Hide schools",google.maps.event.addDomListener(n,"click",function(){var e,o,n=(null===We||void 0===We?void 0:null===(e=We.schools)||void 0===e?void 0:null===(o=e.data)||void 0===o?void 0:o.length)<=0;if(n){t.getZoom()<14&&t.setZoom(14)}a.classList.toggle("school-btn-selected"),a.classList.toggle("paint-first-background"),a.firstElementChild.classList.toggle("paint-first-background"),Ce.call("schoolChange",n)}),google.maps.event.addListener(t,"zoom_changed",function(){var e,o,n=t.getZoom();(null===We||void 0===We?void 0:null===(e=We.schools)||void 0===e?void 0:null===(o=e.data)||void 0===o?void 0:o.length)>0&&n<14&&(a.classList.remove("school-btn-selected"),a.classList.remove("paint-first-background"),a.firstElementChild.classList.remove("paint-first-background"),Ce.call("schoolChange",!1))})}function Y(e,t,o){var a=document.createElement("div");a.className="map-type-btn bs4--rounded-circle mr-20",o&&a.classList.add("layers-fab-btn"),e.appendChild(a);var n=document.createElement("button");o&&(n.tabIndex="-1"),n.className="bs4--mt-auto bs4--border-0 bs4--bg-transparent paint-base-font font-red-hat",n.innerHTML="Satellite",a.appendChild(n),n.title="Toggle Map Hybrid Mode",google.maps.event.addDomListener(n,"click",function(){We.type=We&&"hybrid"===We.type? Ten-X holds real estate