. "Last 7 Days":i>=7&&i<14? "Last 30 Days":i>=30&&i<90? ");return t.slice(t.length-2).join(". (a({type:"multiArea.submit"}),!1):(z.$dom.input.parent(".form-group").addClass("has-error"),!1)})}function o(){z.$dom.container.addClass("open")}function i(){z.$dom.container.removeClass("open")}function c(){i(),z.$dom.input.val("")}function l(e){var t=z.$dom.input.val().toLowerCase();t&&t.length&&t.length>0?q&&t===q&&!0!==e?o():!0===e? Parents, teachers, and students can help prevent suicide once they know the warning signs. View Property Website. ");o=x(e.length)}if(g._useTypedArrays?i=g._augment(new Uint8Array(o)):((i=this).length=o,i._isBuffer=!0),g._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(S(a=e)||g.isBuffer(a)||a&&"object"==typeof a&&"number"==typeof a.length)for(u=0;u>8,r=t%256,o.push(r),o.push(n);return o}(t),e,n,r)}function c(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o>>0)):(t+1>>0),o}function h(e,t,n,r){if(r||(D("boolean"==typeof n,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+1>>8*(r?u:1-u)}function _(e,t,n,r,o){o||(D(null!=t,"missing value"),D("boolean"==typeof r,"missing or invalid endian"),D(null!=n,"missing offset"),D(n+3>>8*(r?u:3-u)&255}function E(e,t,n,r,o){o||(D(null!=t,"missing value"),D("boolean"==typeof r,"missing or invalid endian"),D(null!=n,"missing offset"),D(n+1this.length&&(r=this.length),e.length-t=this.length))return this[e]},g.prototype.readUInt16LE=function(e,t){return l(this,e,!0,t)},g.prototype.readUInt16BE=function(e,t){return l(this,e,!1,t)},g.prototype.readUInt32LE=function(e,t){return d(this,e,!0,t)},g.prototype.readUInt32BE=function(e,t){return d(this,e,!1,t)},g.prototype.readInt8=function(e,t){if(t||(D(null!=e,"missing offset"),D(e=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},g.prototype.readInt16LE=function(e,t){return h(this,e,!0,t)},g.prototype.readInt16BE=function(e,t){return h(this,e,!1,t)},g.prototype.readInt32LE=function(e,t){return p(this,e,!0,t)},g.prototype.readInt32BE=function(e,t){return p(this,e,!1,t)},g.prototype.readFloatLE=function(e,t){return b(this,e,!0,t)},g.prototype.readFloatBE=function(e,t){return b(this,e,!1,t)},g.prototype.readDoubleLE=function(e,t){return m(this,e,!0,t)},g.prototype.readDoubleBE=function(e,t){return m(this,e,!1,t)},g.prototype.writeUInt8=function(e,t,n){n||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t=this.length||(this[t]=e)},g.prototype.writeUInt16LE=function(e,t,n){v(this,e,t,!0,n)},g.prototype.writeUInt16BE=function(e,t,n){v(this,e,t,!1,n)},g.prototype.writeUInt32LE=function(e,t,n){_(this,e,t,!0,n)},g.prototype.writeUInt32BE=function(e,t,n){_(this,e,t,!1,n)},g.prototype.writeInt8=function(e,t,n){n||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},g.prototype.writeInt16LE=function(e,t,n){E(this,e,t,!0,n)},g.prototype.writeInt16BE=function(e,t,n){E(this,e,t,!1,n)},g.prototype.writeInt32LE=function(e,t,n){I(this,e,t,!0,n)},g.prototype.writeInt32BE=function(e,t,n){I(this,e,t,!1,n)},g.prototype.writeFloatLE=function(e,t,n){A(this,e,t,!0,n)},g.prototype.writeFloatBE=function(e,t,n){A(this,e,t,!1,n)},g.prototype.writeDoubleLE=function(e,t,n){B(this,e,t,!0,n)},g.prototype.writeDoubleBE=function(e,t,n){B(this,e,t,!1,n)},g.prototype.fill=function(e,t,n){if(e=e||0,t=t||0,n=n||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),D("number"==typeof e&&!isNaN(e),"value is not a number"),D(t<=n,"end < start"),n!==t&&0!==this.length){D(0<=t&&t"},g.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(g._useTypedArrays)return new g(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function M(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function N(e,t){D("number"==typeof e,"cannot write a non-number as a number"),D(0<=e,"specified a negative value for writing an unsigned value"),D(e<=t,"value is larger than maximum value for type"),D(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,n){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(n<=e,"value smaller than minimum allowed value"),D(Math.floor(e)===e,"value has a fractional component")}function F(e,t,n){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(n<=e,"value smaller than minimum allowed value")}function D(e,t){if(!e)throw new Error(t||"Failed assertion")}g._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=L.get,e.set=L.set,e.write=L.write,e.toString=L.toString,e.toLocaleString=L.toString,e.toJSON=L.toJSON,e.copy=L.copy,e.slice=L.slice,e.readUInt8=L.readUInt8,e.readUInt16LE=L.readUInt16LE,e.readUInt16BE=L.readUInt16BE,e.readUInt32LE=L.readUInt32LE,e.readUInt32BE=L.readUInt32BE,e.readInt8=L.readInt8,e.readInt16LE=L.readInt16LE,e.readInt16BE=L.readInt16BE,e.readInt32LE=L.readInt32LE,e.readInt32BE=L.readInt32BE,e.readFloatLE=L.readFloatLE,e.readFloatBE=L.readFloatBE,e.readDoubleLE=L.readDoubleLE,e.readDoubleBE=L.readDoubleBE,e.writeUInt8=L.writeUInt8,e.writeUInt16LE=L.writeUInt16LE,e.writeUInt16BE=L.writeUInt16BE,e.writeUInt32LE=L.writeUInt32LE,e.writeUInt32BE=L.writeUInt32BE,e.writeInt8=L.writeInt8,e.writeInt16LE=L.writeInt16LE,e.writeInt16BE=L.writeInt16BE,e.writeInt32LE=L.writeInt32LE,e.writeInt32BE=L.writeInt32BE,e.writeFloatLE=L.writeFloatLE,e.writeFloatBE=L.writeFloatBE,e.writeDoubleLE=L.writeDoubleLE,e.writeDoubleBE=L.writeDoubleBE,e.fill=L.fill,e.inspect=L.inspect,e.toArrayBuffer=L.toArrayBuffer,e}}).call(this,O("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},O("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(l,d,e){(function(e,t,u,n,r,o,i,a,s){var u=l("buffer").Buffer,f=4,c=new u(f);c.fill(0);d.exports={hash:function(e,t,n,r){return u.isBuffer(e)||(e=new u(e)),function(e,t,n){for(var r=new u(t),o=n?r.writeInt32BE:r.writeInt32LE,i=0;ih?t=e(t):t.length>5]|=128<>>9<<4)]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,u=0;u>>32-a,n);var u,a}function d(e,t,n,r,o,i,u){return l(t&n|~t&r,e,t,o,i,u)}function h(e,t,n,r,o,i,u){return l(t&r|n&~r,e,t,o,i,u)}function p(e,t,n,r,o,i,u){return l(t^n^r,e,t,o,i,u)}function g(e,t,n,r,o,i,u){return l(n^(t|~r),e,t,o,i,u)}function y(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}b.exports=function(e){return f.hash(e,c,16)}}).call(this,w("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},w("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,l,t){(function(e,t,n,r,o,i,u,a,s){var f,c;c=function(e){for(var t,n=new Array(e),r=0;r>>((3&r)<<3)&255;return n},l.exports=f||c}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(l,d,e){(function(e,t,n,r,o,i,u,a,s){var f=l("./helpers");function c(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i,u,a=Array(80),s=1732584193,f=-271733879,c=-1732584194,l=271733878,d=-1009589776,h=0;h>16)+(t>>16)+(n>>16)<<16|65535&n}function E(e,t){return e<>>32-t}d.exports=function(e){return f.hash(e,c,20,!0)}}).call(this,l("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},l("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(l,d,e){(function(e,t,n,r,o,i,u,a,s){function B(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function L(e,t){return e>>>t|e<<32-t}function f(e,t){var n,r,o,i,u,a,s,f,c,l,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),h=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),p=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var g,y,w,b,m,v,_,E,I=0;I>>10),p[A-7]),(_=p[A-15],L(_,7)^L(_,18)^_>>>3)),p[A-16]),c=B(B(B(B(f,L(v=u,6)^L(v,11)^L(v,25)),(m=u)&a^~m&s),d[A]),p[A]),l=B(L(b=n,2)^L(b,13)^L(b,22),(g=n)&(y=r)^g&(w=o)^y&w),f=s,s=a,a=u,u=B(i,c),i=o,o=r,r=n,n=B(c,l);h[0]=B(n,h[0]),h[1]=B(r,h[1]),h[2]=B(o,h[2]),h[3]=B(i,h[3]),h[4]=B(u,h[4]),h[5]=B(a,h[5]),h[6]=B(s,h[6]),h[7]=B(f,h[7])}return h}var c=l("./helpers");d.exports=function(e){return c.hash(e,f,32,!0)}}).call(this,l("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},l("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,c,t){(function(e,t,n,r,o,i,u,a,s){function f(){}(e=c.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0>1,c=-7,l=n?o-1:0,d=n?-1:1,h=e[t+l];for(l+=d,i=h&(1<>=-c,c+=a;0>=-c,c+=r;0>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=c):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),2<=(t+=1<=u+l?d/s:d*Math.pow(2,1-l))*s&&(u++,s/=2),c<=u+l?(a=0,u=c):1<=u+l? 17181 W Bernardo Dr Unit 205 is a 874 square foot condo with 2 beds and 1 bath that has been on Estately for 0 days. They are not guaranteed to be . "Last 14 Days":i>=14&&i<30? Grades: 9-12. . ", ".concat(L.area.state," "):"";return"".concat(null!==(t=L.locationTitle)&&void 0!==t?t:"").concat(o).concat(L.searchDefinition.getTitle())}return"".concat(L.locationTitle? Troy High School. Find your next dream home with photos, sale history & detailed property information. (b=d.skyView.imageUrl,w.style.setProperty("background-position","center center")):d.building.imageUrl&&(b=d.building.imageUrl.replace("/{size}/","/115/")),w.style.setProperty("background-size","cover"),w.style.setProperty("background-image","url(".concat(b,")"),"important")}else Homesnap&&!Homesnap.puppeteer&&e(["modules/StaticMap"],function(e){return!!e&&(e.get({$dom:u.liPrimary,type:d.status&&d.status.suppressGoogleStreetView? Latest News. {raw:e,commas:e.toLocaleString(),short:this.getShortNumber(e),decimal0:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:0}),decimal1:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:1,minimumFractionDigits:1}),decimal2:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:2,minimumFractionDigits:2}),decimal3:e.toLocaleString(void 0,{style:"decimal",maximumFractionDigits:3,minimumFractionDigits:3})}:null},getPercent:function(e,t){if(e||0===e){var r=t||1,a=this.getNumber(Math.abs(e*r));return{raw:e*r,abs:a.raw,commas:a.commas+"%",decimal0:a.decimal0+"%",decimal1:a.decimal1+"%",decimal2:a.decimal2+"%",decimal3:a.decimal3+"%",isPositive:e>0}}return null},getPhoneNumber:function(e,t){if(!e)return null;var r=e.replace(/\D/g,"").replace(/^1/,""),a=null!==t&&void 0!==t?t:r.substr(10,100),n="(".concat(r.substr(0,3),") ").concat(r.substr(3,3),"-").concat(r.substr(6,4)),o="".concat(r.substr(0,3),"-").concat(r.substr(3,3),"-").concat(r.substr(6,4)),i="".concat(r.substr(0,3),".").concat(r.substr(3,3),". (t.google=!0,t.name="Google",t.color={text:"#db3236",background:"#ef5c42",rgb:"239,92,66",gradient:"radial-gradient(at bottom right, #E07C3D 0%, #E23A3A 100%)"},t.icon={color:n.path.getImageUrl("/listing-promos/google-colored-256px.png"),colorSM:n.path.getImageUrl("/listing-promos/google-colored-70px-2x.png"),white:n.path.getImageUrl("/listing-promos/google-white-70px-2x.png"),grey:n.path.getImageUrl("/listing-promos/google-grey-70px-2x.png")}):4===e&&(t.waze=!0,t.name="Waze",t.color={text:"#00b7d6",background:"#00b8d2",rgb:"0, 184, 210",gradient:"linear-gradient(313.13deg, #22E0FF 0%, #1CD6F6 15.8%, #15C9EA 35.86%, #15CAEB 36.43%, #15CAEB 36.44%, #15CAEB 36.44%, #15CAEB 37.2%, #15C9EA 37.36%, #15C9EA 37.52%, #15C9EA 38.16%, #14C8E9 39.89%, #14C8E9 39.89%, #13C6E7 43.86%, #10C0E2 53.61%, #00A4C8 100%)"},t.icon={color:n.path.getImageUrl("/listing-promos/waze-colored-256px-1.png"),colorSM:n.path.getImageUrl("/listing-promos/waze-colored-70px-2x-1.png"),white:n.path.getImageUrl("/listing-promos/waze-white-70px-2x.png"),grey:n.path.getImageUrl("/listing-promos/waze-grey-70px-2x.png")}),t},getPlatformIDByName:function(e){if(!e)return null;var t;switch(e.toLowerCase()){case"facebook":t=1;break;case"instagram":t=2;break;case"google":case"googlesearch":case"googlediscovery":t=3;break;case"waze":t=4}return t}},n.leads={getNetwork:function(e,t){var r=Object.assign({},n.ads.getPlatformType(n.ads.getPlatformIDByName(t)));if(r.id=e,r.raw=e,r[t])return r;switch(r.color={text:"#000000",background:"#ffffff",rgb:"0, 0, 0",gradient:null},r.icon={color:"",colorSM:"",white:"",grey:""},e){case 0:r.name="Unknown";break;case 1:r.name="Homesnap";break;case 32:r.name="YouTube";break;case 64:case 256:r.name="Google Ads";break;case 128:r.name="Google's Local Services Ads"}return r},getPlatform:function(e){var t,r={};return r.match=null!==(t=Object.keys(e).filter(function(t){return!0===e[t]})[0])&&void 0!==t?t:"",r.name=(r.match.charAt(0).toUpperCase()+r.match.substr(1)).match(/([A-Z]? "touchend":"mouseup",t),document.removeEventListener("touchmove",o),je(),je=null;var s=d.getPath();e(["simplify"],function(e){var t=ce.getBounds().toSpan().lat(),o=e(s.getArray().map(function(e){return{x:e.lng(),y:e.lat()}}),t/100).map(function(e){return{latitude:Math.round(1e5*e.y)/1e5,longitude:Math.round(1e5*e.x)/1e5}});d.setMap(null);var a=o.map(function(e){return new google.maps.LatLng(e.latitude,e.longitude)});Ce.call("change",{customPolygon:{paths:[o],encoded:google.maps.geometry.encoding.encodePath(a)}})})};Re=!0;var s=Date.now();N(s),D(),ce.setOptions({draggable:!1}),W().show();var i=ce.getDiv();i.style.cursor="crosshair";var l,r,d,c=ce.getZoom();i.addEventListener("mousedown",t),i.addEventListener("touchstart",t),je=function(){i.removeEventListener("mousedown",t),i.removeEventListener("touchstart",t),W().hide(),V(s),i.style.cursor="",ce.setOptions({draggable:!0}),Re=!1};var p}}function W(){if(!Ke){Ke=we("Draw your custom search area on the map"),Ke.addClass("draw-instructions");var e=we("Cancel");e.click(function(e){return je&&je(),!1}),Ke.append(e),Pe.$dom.parent().append(Ke)}return Ke}function G(){if(!Ne){Ne=we("Don't miss out! Bernardo Heights Middle ranks in the top 10.0% of California middle schools. Narrow your search by price, size & location to find your next dream home. Here's a look at the various JROTC programs out there together with a look at the pros and cons of the program. "258px":"297px":"175px";var y="controllers/Property/PropertyAddressItem";Homesnap.jsAppHashes&&!Homesnap.jsAppHashes["".concat(y.replace("controllers/","").js)]&&(y="".concat(Homesnap.jsMainRootPath,"/").concat(y,".js")),t(["".concat(y),"jquery"],function(t,r){var s=new t((new Date).getTime().toString());r(i).attr("data-placard-version",d),s.update({$dom:r(i),data:{propertyAddressItem:"HSPropertyAddressItem"===p||Array.isArray(o)?o:void 0,ids:"HSListingMapDot"===p? "#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? (r.dataStatusBadge="red",r.spanTextColor="bs4--text-google-red",r.spanIcon="cancel",r.pText="Declined"):e.status.none&&(r.dataStatusBadge="gray",r.spanTextColor="bs4--text-gray-300",r.spanIcon="watch_later",r.pText="No Status");return r}},n.coStarBrand={_current:window.Homesnap&&window.Homesnap.coStarBrand,_internalDictionary:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("number"==typeof e)return 2940===e?4:2;switch(e.toLowerCase()){case"citysnap":return 4;case"homesnap":default:return 2}},is:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e){var t=this._internalDictionary(e);return t&&this._current===t}},getCurrent:function(e){var t=e?this._internalDictionary(e):this._current;switch(t){case 4:return{name:"Citysnap",supportEmail:"support@citysnap.com",listingService:"RLS",raw:t,appleApp:"https://apps.apple.com/us/app/citysnap-nyc-rentals-homes/id1603890256",googlePlay:"https://play.google.com/store/apps/details?id=com.homesnap.citysnap",includedMLSIds:[511e3]};default:return{name:"Homesnap",supportEmail:"support@homesnap.com",listingService:"MLS",raw:t,appleApp:"https://apps.apple.com/us/app/homesnap-real-estate-rentals/id506563991",googlePlay:"https://play.google.com/store/apps/details?id=com.homesnap",includedMLSIds:[]}}}},n}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),Object.assign&&"function"==typeof Object.assign||Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),a=1;a. (e.indexOf("homesnap.s(")>=0))return null;try{var t=e.indexOf("{"),r=e.lastIndexOf("}"),a=e.substring(t,r+1),n=JSON.parse(a),o=n.Response.Results.Data.Row.GEOMETRY,c=/[\d\-\.,\s]{5,}/g;matches=o.match(c);for(var s=[],i=0;ithis.maxZoom||a0;n--){var o="0",c=1<1||t.pa[0].propertyCount&&t.pa[0].propertyCount.raw>1){b.setAttribute("viewBox","0 0 20 35"),s.generateSVGCode(b,o,a,h),b.querySelector(".svgCenterCircle")&&b.querySelector(".svgCenterCircle").remove();var A=document.createElementNS(e,"path");A.setAttribute("fill-rule","evenodd"),A.setAttribute("clip-rule","evenodd"),A.setAttribute("d","M7.32422 15.7878H9.29268V13.9299H7.32422V15.7878ZM7.32422 13.2656H9.29268V11.4086H7.32422V13.2656ZM7.32422 10.744H9.29268V8.88696H7.32422V10.744ZM10.7051 15.8026H12.6744V13.9447H10.7051V15.8026ZM10.7051 13.281H12.6744V11.424H10.7051V13.281ZM10.7051 10.7596H12.6744V8.90259H10.7051V10.7596ZM6 16.6887H14V8.00146H6V16.6887Z"),A.setAttribute("fill",h),b.appendChild(A)}else if(b.setAttribute("viewBox","0 0 20 35"),s.generateSVGCode(b,o,a,h),t.pa&&t.pa[0]&&t.pa[0].status&&t.pa[0].status.isFavorited){var L=b.querySelector(".svgCenterCircle");L&&b.querySelector(".svgCenterCircle").remove();var x=document.createElementNS(e,"path");x.setAttribute("fill-rule","evenodd"),x.setAttribute("clip-rule","evenodd"),x.setAttribute("d","M10 6.00293L11.1226 9.45784H14.7553L11.8164 11.5931L12.9389 15.048L10 12.9128L7.06107 15.048L8.18364 11.5931L5.24472 9.45784H8.87743L10 6.00293Z"),x.setAttribute("fill",h),b.appendChild(x)}else if(t.pa&&t.pa[0]&&t.pa[0].listing&&t.pa[0].listing.openHouse&&t.pa[0].listing.openHouse.method.virtual){if("#F9C949"===h){var S=b.querySelector(".svgCenterCircle");S&&S.remove()}var w=document.createElementNS(e,"circle");w.setAttribute("cx","10.0599"),w.setAttribute("cy","11.4999"),w.setAttribute("r","1.5"),w.setAttribute("fill",h);var M=document.createElementNS(e,"path");M.setAttribute("fill-rule","evenodd"),M.setAttribute("clip-rule","evenodd"),M.setAttribute("d","M13.9 11.5253C13.9 10.4549 13.5181 9.44718 12.8464 8.69914C12.625 8.45258 12.2457 8.43218 11.9991 8.65357C11.7525 8.87496 11.7321 9.25431 11.9535 9.50087C12.4264 10.0275 12.7 10.7494 12.7 11.5253C12.7 12.2805 12.4409 12.9849 11.9899 13.5084C11.7736 13.7594 11.8018 14.1383 12.0528 14.3546C12.3038 14.5709 12.6827 14.5427 12.899 14.2916C13.5385 13.5493 13.9 12.5667 13.9 11.5253ZM8.04864 9.49838C8.26865 9.25059 8.24614 8.87136 7.99835 8.65134C7.75056 8.43133 7.37133 8.45384 7.15131 8.70163C6.48085 9.45674 6.09998 10.4726 6.09998 11.5512C6.09998 12.5721 6.44095 13.5375 7.04831 14.2799C7.25812 14.5364 7.63614 14.5742 7.89262 14.3644C8.1491 14.1546 8.18693 13.7766 7.97711 13.5201C7.54603 12.9932 7.29998 12.2965 7.29998 11.5512C7.29998 10.7644 7.5744 10.0325 8.04864 9.49838Z"),M.setAttribute("fill",h);var k=document.createElementNS(e,"path");k.setAttribute("fill-rule","evenodd"),k.setAttribute("clip-rule","evenodd"),k.setAttribute("d","M16 11.5411C16 9.89071 15.3974 8.34023 14.3414 7.19354C14.1169 6.94979 13.7373 6.93417 13.4936 7.15865C13.2498 7.38313 13.2342 7.76271 13.4587 8.00646C14.3103 8.93115 14.8 10.1913 14.8 11.5411C14.8 12.8548 14.3363 14.0841 13.5245 15.0027C13.3051 15.251 13.3285 15.6302 13.5768 15.8496C13.8251 16.069 14.2043 16.0456 14.4237 15.7973C15.4296 14.659 16 13.147 16 11.5411ZM6.54361 8.00399C6.76673 7.75899 6.74899 7.37951 6.50399 7.15639C6.25899 6.93327 5.8795 6.95101 5.65639 7.19602C4.60153 8.35434 4 9.91858 4 11.5832C4 13.1589 4.53869 14.646 5.49491 15.7857C5.7079 16.0395 6.08636 16.0726 6.34021 15.8596C6.59406 15.6467 6.62718 15.2682 6.41419 15.0143C5.63971 14.0913 5.2 12.8774 5.2 11.5832C5.2 10.2165 5.69064 8.94063 6.54361 8.00399Z"),k.setAttribute("fill",h),b.appendChild(w),b.appendChild(M),b.appendChild(k)}if(null!==t&&void 0!==t&&null!==(v=t.pa[0])&&void 0!==v&&null!==(g=v.listing)&&void 0!==g&&null!==(m=g.openHouse)&&void 0!==m&&null!==(y=m.method)&&void 0!==y&&y.virtual){var E=t.pa[0].listing.openHouse,P=E.startDateUtc.raw||E.startDate.raw,H=E.endDateUtc.raw||E.endDate.raw,N=new Date,D=N.getTime();E.startDateUtc.raw&&E.endDateUtc.raw&&(D+=6e4*N.getTimezoneOffset());var V=new Date(P).getTime(),T=new Date(H).getTime();if(D>=V&&D<=T){var B=document.createElementNS(e,"path"),F=b.getElementsByTagName("path")[0];B.setAttribute("d",F.getAttribute("d")),B.setAttribute("fill","#01b100"),B.setAttribute("fill-opacity","0.36"),B.setAttribute("stroke","#01b100"),B.setAttribute("stroke-opacity","0.36"),B.setAttribute("stroke-width","10");var Z=document.createElementNS(e,"animate");Z.setAttribute("attributeType","xml"),Z.setAttribute("attributeName","stroke-opacity"),Z.setAttribute("begin","0s"),Z.setAttribute("values","0;.5;0"),Z.setAttribute("dur","3s"),Z.setAttribute("repeatCount","indefinite"),B.appendChild(Z),b.insertBefore(B,F),b.style.overflowX="visible",b.style.overflowY="visible"}}i.appendChild(b)}var O,_,I=t.pa[0];if(t.pa.length>1){O=t.pa.filter(function(t){return t.listing&&(t.listing.isOpenHouse||t.listing.isAgentOpen)}).length===t.pa.length?