(t.length&&(t+=" "),t+="[1 Image Attached]"):e.entity&&(t.length&&(t+=" "),t+="["+o.user.getFriendlyName(e.entity,!0)+" ]"),t},getTitle:function(e){var t="Me";return e&&e.members&&e.members.length&&(1===e.members.length?t=o.user.getFriendlyName(e.members[0],!0):2===e.members.length?t=o.user.getFriendlyName(e.members[0],!1)+" & "+o.user.getFriendlyName(e.members[1],!1):3===e.members.length?t=o.user.getFriendlyName(e.members[0],!1)+", "+o.user.getFriendlyName(e.members[1],!1)+" & "+o.user.getFriendlyName(e.members[2],!1):(t=o.user.getFriendlyName(e.members[0],!1)+", "+o.user.getFriendlyName(e.members[1],!1)+", "+o.user.getFriendlyName(e.members[2],!1),t+=" & "+(e.members.length-3).toString()+" more")),t},isEqual:function(e,t){if(e&&t&&e.type_&&t.type_&&e.type_===t.type_)switch(e.type_){case"HSConversationItem":if(e.id===t.id&&e.status.raw===t.status.raw&&e.recentMessage&&t.recentMessage&&e.recentMessage.id===t.recentMessage.id&&e.recentMessage.status.raw===t.recentMessage.status.raw&&(e.recentMessage.readTimestamp&&t.recentMessage.readTimestamp&&e.recentMessage.readTimestamp.raw===t.recentMessage.readTimestamp.raw||!e.recentMessage.readTimestamp&&!t.recentMessage.readTimestamp))return!0}return!1}},o.listing={getPrimaryImage:function(e){return r="//s3.amazonaws.com/homesnap.listings/"+o.string.reverse(e.toString())+"-",{mini:r+"mini.jpg",listing:r+"listing.jpg",large:r+"large.jpg"}},getSecondaryImages:function(e,t){for(var r=[],n=0;n')}else if(a){var m;c.priority=20,c.color="purple",c.pinName="purple",c.primaryColor="purple",c.pinHex="7D12A1",c.hueRotate="280deg",c.text="Open House",i&&(c.text="Open "+i),u&&null!==(m=u.method)&&void 0!==m&&m.virtual&&(c.text="Live ",o.listing.isOpenHouseNow(u)?c.text+="Now ":i&&(c.text+="".concat(i," ")),c.text+='')}else c.priority=30,c.color="green",c.pinName="green",c.primaryColor="green",c.pinHex="00B100",c.hueRotate="30deg",c.text=p? Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. View Map & Directions. The box is located at the Spencer County Judge Executive's office on 12 W Main Street. {listingID:s.listingID}:void 0,link:!1,detailsButton:!0,lazy:!1,onMap:!0,secondaryBanner:Array.isArray(s)&&s[0]?s[0].secondaryBanner:null}}),o.register("bubble",function(t){t&&t.type&&"url.unhandled"===t.type&&e.onClick&&e.onClick(t.data,!0)})})}else if(s.type_&&"HSSchool"===s.type_){var o;i.style.fontSize="1.2em",i.style.padding="15px",i.style.height="150px";var a=""+s.name+"";a+=s.address.fullStreetAddress,a+=""+s.address.cityStateZip,i.innerHTML=a;var n=document.createElement("a");if(n.setAttribute("href",s.url),n.innerHTML="View School Details",i.appendChild(n),s.hasPolygon&&(null===this||void 0===this||null===(o=this.marker)||void 0===o||!o.isCurrentSearch)){var l=document.createElement("a");l.setAttribute("href",s.polygonUrl),l.innerHTML="See homes in school zone",i.appendChild(l)}}else if(s.type_&&"HSPlace"===s.type_){i.style.fontSize="1.2em",i.style.padding="15px",i.style.height="260px";var p="controllers/CommuteTime/MapBubble";Homesnap.jsAppHashes&&!Homesnap.jsAppHashes["".concat(p.replace("controllers/","").js)]&&(p="".concat(Homesnap.jsMainRootPath,"/").concat(p,".js")),t([p,"jquery"],function(t,r){var o=new t((new Date).getTime().toString());o.update({$dom:r(i),data:{commuteTimePlace:s}}),o.register("bubble",function(t){e.onClick&&e.onClick(t)})})}var d;if(this.clickListener=google.maps.event.addListener(this.getMap(),"click",function(){!d&&e.onHide&&e.onHide("Bubble")}),s.type_&&"HSSchool"===s.type_){var h;google.maps.event.addDomListener(n,"click",function(t){t.preventDefault(),e.onClick&&e.onClick(e.data,!1,!0),t.cancelBubble=!0}),!s.hasPolygon||null!==this&&void 0!==this&&null!==(h=this.marker)&&void 0!==h&&h.isCurrentSearch||google.maps.event.addDomListener(l,"click",function(t){t.preventDefault(),e.onClick&&e.onClick(e.data,!0,!1),t.cancelBubble=!0})}else{var c,u=function(t){d=!0;var e="touchstart"===t.type?t.touches[0]:t;if(c&&t.timeStamp-c.timeStamp<300)return!1;c={x:e.pageX,y:e.pageY,timeStamp:t.timeStamp},document.addEventListener("touchstart"===t.type? {{/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~}} .