Many first time Buyers believe they can work without a Buyers Agent and instead use the same agent as the Seller. define("controllers/ActionBar",["require","ControllerObjects","Application","jquery"],function(e){return function(t){function r(e){m.call("bubble",e)}function o(e){y.update(e),n()}function n(){try{y.requireDom(),y.require("propertyAddressItem"),y.optional("showFavorite"),y.optional("showShare"),y.optional("showContactAgent"),y.optional("showInverseColors")}catch(e){throw e}p=!1,v=function(){return w.Deferred()}(),A.template.get({$dom:y.$dom,data:{propertyAddressItem:y.get("propertyAddressItem"),showSendInAMessage:y.get("showFavorite",!1),showFavorite:y.get("showFavorite",!1),showShare:y.get("showShare",!1),showContactAgent:y.get("showContactAgent",!1),showInverseColors:y.get("showInverseColors",!1)}})}function i(e){var t;u=e.$dom;var o=e.data,n=["win32","win64","windows"],i=-1!==n.indexOf(null===(t=navigator)||void 0===t?void 0:t.platform.toLowerCase());u.liShare.on("show.bs.dropdown",function(e){var t;I.add("share",new g.ChildController({type:"controllers/ActionBarShare",namespace:f.get(),register:{bubble:r,actionBarShareHide:function(){u.liShare.removeClass("open")}}}),!0),null!==(t=navigator)&&void 0!==t&&t.share&&!i&&u.ulShare.addClass("hidden"),y.updateController("share",{$dom:u.ulShare,data:{propertyAddressItem:o.propertyAddressItem}}),p=!0}),u.liSendInAMessage.on("click",function(e){C.done(function(){return c.registrationStatus.registered?v.done(function(e){s(e,o.propertyAddressItem)}):r({type:"account.mode"}),!1})}),null!==o&&void 0!==o&&o.showFavorite&&a()}function s(e,t){I.add("sendInAMessageMaster",new g.ChildController({type:"controllers/SendInAMessageMaster",namespace:f.get(),register:{bubble:r}}),!0),y.updateController("sendInAMessageMaster",{data:{paItem:t,listingDetails:e}})}function a(){u&&u.liFavorite.length&&y.get("propertyAddressItem")&&(I.add("favorite",new g.ChildController({type:"controllers/Property/PropertyFavorite",namespace:f.get(),register:{bubble:r}}),!0),y.updateController("favorite",{$dom:u.liFavorite,data:{propertyAddressItem:y.get("propertyAddressItem")}}))}function l(e){var t,r,o=y.get("propertyAddressItem"),n=(null===o||void 0===o?void 0:null===(t=o.listing)||void 0===t?void 0:t.id)===(null===e||void 0===e?void 0:null===(r=e.ids)||void 0===r?void 0:r.listingID),i=o&&!o.listing&&(null===e||void 0===e?void 0:e.ids)&&!e.ids.listingID&&o.propertyID===e.ids.propertyID,s=o&&!o.listing&&(null===e||void 0===e?void 0:e.ids)&&!e.ids.listingID&&!o.propertyID&&!e.ids.propertyID&&o.id===e.ids.propertyAddressID;(n||i||s)&&(null!==e&&void 0!==e&&e.favoriteStatus&&null!==o&&void 0!==o&&o.status? One floor living with four bedrooms and one full bath. Weve saved that property for you and will email you updates when anything changes. Homesnap.templates["controllers/Property/PropertyAddressSchema.html"] = '{{#with data.schema}}<script type="application/ld+json"> [{ "@context": "http://schema.org", "@type":"RealEstateListing", "@id": "{{@root/data/siteRootUrl}}{{url}}", "additionalType": "http://www.productontology.org/id/Real_estate", "about": { {{#if singleFamilyResidence}} "@type":["SingleFamilyResidence", "Product"], {{else if detailsData.propertyCount}} "@type":["ApartmentComplex", "LocalBusiness"], {{/if}} "name": "{{cleanEscape address.fullStreetAddress}}, {{address.cityStateZip}}", "description": "{{cleanEscape description}}", "category": "Real Estate {{#if propertyType}}> {{cleanEscape propertyType}}{{/if}}", "productId": "{{productId}}", "url": "{{@root/data/siteRootUrl}}{{url}}", {{#if detailsData.propertyType}} "accommodationCategory": "{{cleanEscape detailsData.propertyType}}" , {{/if}} {{#if image}} "photo": { "@type":"ImageObject", "contentUrl": "https:{{image}}" }, {{/if}} {{#if secondaryImages.length}} "image": [ {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], {{/if}} {{#if sqFt}} "floorSize": { "@type": "QuantitativeValue", "value": "{{sqFt.string}}", "unitCode": "FTK" }, {{/if}} {{#if propertyAddressItem.beds}} "numberOfBedrooms": {{propertyAddressItem.beds.raw}}, {{/if}} {{#if propertyAddressItem.baths}} "numberOfBathroomsTotal": {{math propertyAddressItem.baths.raw.full "+" propertyAddressItem.baths.raw.half}}, {{#if propertyAddressItem.baths.raw.full}} "numberOfFullBathrooms": {{propertyAddressItem.baths.raw.full}}, {{/if}} {{#if propertyAddressItem.baths.raw.half}} "numberOfPartialBathrooms": {{propertyAddressItem.baths.raw.half}}, {{/if}} {{/if}} {{#if detailsData.propertyCount}} "numberOfAccommodationUnits": "detailsData.propertyCount", {{/if}} {{#and latitude longitude}} "geo": { "@type": "GeoCoordinates", "latitude": "{{latitude}}", "longitude": "{{longitude}}" }, {{/and}} "address": { "@type": "PostalAddress", "addressCountry": "USA", "addressLocality": "{{address.city}}", "addressRegion": "{{address.state}}", "postalCode": "{{address.zip}}", "streetAddress": "{{cleanEscape address.fullStreetAddress}}" } {{#if detailsData.yearBuilt}} , "yearBuilt": {{detailsData.yearBuilt}} {{/if}} {{#if price}} ,"offers": { "@type": "{{#if transactionType.forSale}}OfferForPurchase{{else if transactionType.forRent}}OfferForLease{{/if}}", "availability": {{~#or transactionType.forSale transactionType.forRent~}} "http://schema.org/InStock" {{~else~}} {{~#if detailsData.specialFeatures.comingSoon~}} "http://schema.org/PreOrder" {{~else~}} "http://schema.org/OutOfStock" {{~/if~}} {{~/or}}, "@id": "{{@root/data/siteRootUrl}}{{url}}", "image": [ {{#if image}}"https:{{image}}"{{/if}}{{#if secondaryImages}},{{/if}} {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], "url": "{{@root/data/siteRootUrl}}{{url}}", "description": "{{cleanEscape description}}", "priceSpecification": { "@type":"UnitPriceSpecification", "price": "{{price}}", "priceCurrency": "USD" {{#if transactionType.forRent}} , "unitCode": "MON" {{/if}} }, "price": "{{price}}", "priceCurrency": "USD", "BusinessFunction": "http://purl.org/goodrelations/v1#{{#if transactionType.forSale}}Sell{{else if transactionType.forRent}}LeaseOut{{/if}}" } {{/if}} {{#if openHouse}}, "event" : [ {{~#each openHouse~}} { "@context": "http://schema.org", "@type": "Event", "name": "Open House {{times}}", "description": "{{cleanEscape ../description}}", "url": "{{@root/data/siteRootUrl}}{{../url}}", {{#if ../image}} "image": [ {{#if ../image}}"https:{{../image}}"{{/if}} {{#each ../secondaryImages}} ,"https:{{listing}}" {{/each}} ], {{/if}} "startDate": "{{startDateString}}", "location": { "@type": "Place", "address": { "@type": "PostalAddress", "addressCountry": "USA", "addressLocality": "{{../address.city}}", "addressRegion": "{{../address.state}}", "postalCode": "{{../address.zip}}", "streetAddress": "{{cleanEscape ../address.fullStreetAddress}}" }, "url": "{{@root/data/siteRootUrl}}{{../url}}" } {{#if ../price}} , "offers": { "@type": "Offer", "@id": "{{@root/data/siteRootUrl}}{{../url}}", {{#if image}} "photo": { "@type":"ImageObject", "contentUrl": "https:{{image}}" }, {{/if}} {{#if secondaryImages.length}} "image": [ {{#each secondaryImages}} "https:{{listing}}"{{#unless @last}},{{/unless}} {{/each}} ], {{/if}} "url": "{{@root/data/siteRootUrl}}{{../url}}", "description": "{{cleanEscape ../description}}", "price": "{{../price}}", "priceSpecification": { "@type":"UnitPriceSpecification", "price": "{{../price}}", "priceCurrency": "USD" {{#if transactionType.forRent}} , "unitCode": "MON" {{/if}} }, "priceCurrency": "USD", "BusinessFunction": "http://purl.org/goodrelations/v1#{{#if ../transactionType.forSale}}Sell{{else if ../transactionType.forRent}}LeaseOut{{/if}}" } {{/if}} } {{#unless @last}},{{/unless}} {{/each}} ] {{/if}} } }]</script>{{/with}}'; "/"+t:"")},getBackgroundImageURL:function(e){var t="https://s3.amazonaws.com/homesnap.backgrounds/";return t+=a.string.reverse(e.toString()),{listingAds:"".concat(t,"_2064x1080.jpg"),large:"".concat(t,"_2000x640.jpg"),medium:"".concat(t,"_1000x320.jpg"),small:"".concat(t,"_500x160.jpg")}},getRatingStars:function(e,t){for(var r="",n="",a=(Math.round(2*e)/2).toFixed(1),o=t?Math.floor(5-a):Math.ceil(5-a),i=a%1!=0&&t? Please try again later! "::".concat(n.listingID):"",s&&(s.favorites.indexOf(c)>-1?a(!0,n,o,r,c,!1):s.notFavorites.indexOf(c)>-1&&a(!1,n,o,r,c,!1)),r.buttonFavorite.on("click",function(){return i(r,n,o,c),!1}),r.spanFavoriteText.on("click",function(){return i(r,n,o,c),!1})}function i(t,o,n,c){F.done(function(){return s.registrationStatus.registered? View all properties for sale in Petersburg, Do Not Sell or Share My Personal Information. Equal Housing Opportunity. {raw:e,string:e.toLocaleString()}:null},getLotSize:function(e){return e? Welcome one and all to this great opportunity. (a=(Math.round(r/1e5)/10).toFixed(1).toString(),a+="M"):(a=Math.round(r/1e6).toString(),a+="M"),t&&2==t&&(a+="/mo"),{raw:e,dollars:n,short:"$"+a}}return null},getPropertyStatus:function(e,t,r){var n={color:"blue",pinName:"blue_pin",primaryColor:"blue",secondaryColor:null,text:t||"Off-Market",pinHex:"006DC7"};if(r)switch(!0){case r.expired:n.text="Expired";break;case r.canceled:n.text="Canceled";break;case r.withdrawn:n.text="Withdrawn";break;case r.hold:n.text="Hold"}return n},getSPropertyType:function(e){if(e){var t;switch(e){case 1:t="Detached";break;case 2:t="Townhouse";break;case 4:t="Condo";break;case 16:t="Multi-Family";break;case 32:t="Lots/Land";break;case 64:t="Mobile/Manufactured";break;case 128:t="Commercial";break;case 256:t="Co-op";break;case 8:default:t="Other"}return{raw:e,string:t}}return null},getClusterColors:function(e,t,r){var n={fill:"#4392CE",stroke:"#3589CF"};return e&&(t?(n.fill="#F1CC39",n.stroke="#E5BE37"):2==(2&e)?(n.fill="#F37F21",n.stroke="#D76C25"):4==(4&e)?(n.fill="#E02844",n.stroke="#9A1B1E"):1==(1&e)&&(r? [1]}}" alt="" loading="lazy" width="555" height="416"/> {{/if}}
