Western Branch Commons, Chesapeake Real Estate & Homes for Sale define("controllers/generic",["require","ControllerObjects","Objects","controllers/Variable","Application"],function(e){return function(t){function r(e){b.call("bubble",e)}function o(e){p.update(e),n()}function n(){C?a():p.$dom&&m.content.get({$dom:p.$dom,data:{}})}function a(e){e&&e.$dom&&(C=e.$dom),p.updateController("header",{$dom:C.divHeader,data:p&&p.controllers&&p.controllers.header?p.controllers.header.data:{}}),p.updateController("footer",{$dom:C.divFooter,data:p&&p.controllers&&p.controllers.footer?p.controllers.footer.data:{}}),p.updateController("content",p.get("name"),{$dom:C.divContent,data:p&&p.controllers&&p.controllers.content?p.controllers.content.data:{}}),h.done(function(){v&&v.registrationStatus&&v.registrationStatus.registered&&C.divFooter.addClass("user-logged-in"),v&&v.brand&&C.divFooter.addClass("user-has-brand")}),C.skipNav.off().on("click keyup",l)}function l(e){return("click"===e.type||"keyup"===e.type&&"Enter"===e.key)&&($("html,body").animate({scrollTop:C.divContent.offset().top},350),C.divContent.attr("tabindex","0").trigger("focus"),C.divContent.removeAttr("tabindex")),!1}function i(){g.uninit()}function d(e,t){g.event(e,t)}var c=e("ControllerObjects"),s=(e("Objects"),e("controllers/Variable")),u=e("Application"),f=new c.Unique(t),b=new c.Callbacks,g=new c.ChildControllerManager,p=new c.StateManager(g);g.add("header",new c.ChildController({type:"controllers/Header",namespace:f.get(),register:{bubble:r}})),g.add("footer",new c.ChildController({type:"controllers/Footer",namespace:f.get(),register:{bubble:r}})),g.add("content",new c.ChildController({type:s,namespace:f.get(),register:{bubble:r}}));var C,v,m={content:new c.Getter({namespace:f.get(),template:{url:"controllers/generic.html",dom:["divHeader","divContent","divFooter","skipNav"]},success:function(e){try{a(e)}catch(e){throw p&&console.info(p),e}},failure:function(){console.log("addGetter failure")}})},h=function(){var e=$.Deferred();return u.getCurrentUser(function(t){v=t.user,e.resolve()}),e}();return{update:o,restore:function(e){p.restore(e,n)},uninit:i,getState:p.getState.bind(p),register:b.register.bind(b),event:d}}}); Find real estate in Hampton Roads. Abbitt Realty Company LLC 5.0 star star star star star 24 Reviews wb_incandescent Did you know? "Managed Outside Homesnap":"Managed in ".concat(i),r.externalService=i}else e.status.pending||e.status.unscheduled?(r.dataStatusBadge="orange",r.spanTextColor="bs4--text-google-orange",r.spanIcon="watch_later",r.pText=e.status.pending?"Pending":"Unscheduled"):e.status.rejected? Arranged viewings on very short notice. MLS numbers are provided where available. Zillow (Canada), Inc. holds real estate brokerage licenses in multiple provinces. We offer our clients experienced, knowledgeable and professional real estate management at reasonable rates. Visit www.abbittrealty.com to learn how we can help. (null===(C=navigator)||void 0===C||!C.geolocation);return{update:n,restore:function(e){z.restore(e,r)},uninit:k,getState:z.getState.bind(z),register:E.register.bind(E),event:A}}}); (rot, noise, room arrangement). (r.id=e.raw,r):null}},n.styles={getProp:function(e){var t;return! "homesnap.users":"homesnap.noimage",o="//s3.amazonaws.com/"+a+"/",i=e>0?o+n.string.reverse(e.toString())+"_":o+"user_",s="";return t&&(s="? Home Buyers Reveal: 'What I Wish I Had Known Before Buying My First Home, Selling Your Home? (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. Each office is independently owned and operated. define("modules/ErrorLogging",["require"],function(n){function e(n){var e=[n.userID?n.userID.toString():"",n.entityID?n.entityID.toString():"",n.entityType?n.entityType.toString():""],r={userId:e.join(" | ")};"undefined"!=typeof TrackJS?TrackJS.configure(r):(window.TrackJS&&(r.token=window.TrackJS.token),window.TrackJS=r)}return{errorLogConfig:e}}); ")),t.url=t.url.concat("brokerageid=",n),n&&window.location.replace("".concat(window.location.origin).concat(t.url)),!1}},n.reload={withUtmTags:function(e){if(!e||"object"!=typeof e||e.constructor!==Object)return!1;var t={promoCampaign:"utm_campaign",promoSource:"utm_source",promoMedium:"utm_medium",promoTerm:"utm_term",promoContent:"utm_content",promoDate:"date",salesUserID:"sdr",triggerEmailSubject:"subj"},r=Object.keys(e).map(function(r){if(e[r])return"".concat(t[r],"=").concat(e[r])}).filter(Boolean).join("&"),a="".concat(window.location.origin).concat(window.location.pathname,"? Connect with Lynne Lynne's Recent Listings 1 2 3 $473,000 For Sale 959 Lacon Drive Newport News, VA 23608 5 Beds 2.5 Baths 2,247 Sq Ft star_border 1 2 3 $235,000 Sold Jul 18 to receive alerts when results become available. Homesnap.templates["controllers/DownloadMobileAppForm.html"] = '{{#with data}}
US mobile numbers only. Connect with Lynne to share homes, arrange tours, and send private messages. Next "HSAreaItem"===e.boundaryEntity.type_?t+=" in ".concat(e.boundaryEntity.name):"HSSchool"===e.boundaryEntity.type_?t+=" near ".concat(e.boundaryEntity.name):"HSStreetArea"===e.boundaryEntity.type_&&(t+=" on ".concat(e.boundaryEntity.name)):e&&e.encodedPolygons&&(t+=" in custom area "),t}},n.data={base64ToArrayBuffer:function(e){if(e){for(var t=e.replace(/^data\:([^\;]+)\;base64,/gim,""),r=atob(t),a=r.length,n=new Uint8Array(a),o=0;o0&&"{"===e.substring(0,1)&&"}"===e.substring(r-1,r))try{t=JSON.parse(e)}catch(e){}return t},deleteNullProperties:function(e){return e? (757) 874-8827. We are continuously working to improve the accessibility of our web experience for everyone, and we welcome feedback and accommodation requests. YEARS. (a.remove.push(e),a.add.push(e)):a.keep.push(e):a.remove.push(e)}),t.each(function(t,r){e.hasItem(t)||a.add.push(t)})):a.remove=e.keys():t&&t.length>0&&(a.add=t.keys()),a},round:function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)}},n.map={getXYbyLatLng:function(e,t,r){if(isNaN(parseFloat(e))||isNaN(parseFloat(t))||isNaN(parseInt(r,10)))return null;var a=parseInt(256*Math.pow(2,r-1)+t*(256*Math.pow(2,r)/360)),n=Math.sin(e*Math.PI/180);return n.9999&&(n=.9999),{x:a,y:parseInt(256*Math.pow(2,r-1)+.5*Math.log((1+n)/(1-n))*(-256*Math.pow(2,r)/(2*Math.PI)))}},getLatLngByPixel:function(e,t,r){if(isNaN(parseInt(e,10))||isNaN(parseInt(t,10))||isNaN(parseInt(r,10)))return null;var a=e*(360/(256*Math.pow(2,r)))-180,o=t*(2/(256*Math.pow(2,r)));return o=1-o,o*=Math.PI,o=n.map.getRadiansByDegrees(Math.atan(Math.sinh(o))),{lat:o,lng:a}},getRadiansByDegrees:function(e){return e*(180/Math.PI)},getDistance:function(e,t,r,a,n){if(isNaN(parseFloat(e))||isNaN(parseFloat(t))||isNaN(parseFloat(r))||isNaN(parseFloat(a)))return null;var o=Math.PI*e/180,i=Math.PI*r/180,s=t-a,c=Math.PI*s/180,l=Math.sin(o)*Math.sin(i)+Math.cos(o)*Math.cos(i)*Math.cos(c);return l=Math.acos(l.toPrecision(14)),l=180*l/Math.PI,l=60*l*1.1515,"K"==n&&(l*=1.609344),"N"==n&&(l*=.8684),l},getDecodedPolygon:function(e){var t=function(e){for(var t=e.split("$"),r=[],a=0;a-1&&e.push(t+5e3);for(;t<1e6;)t+=25e3,e.push(t);for(;t<2e6;)t+=1e5,e.push(t);for(;t<3e6;)t+=25e4,e.push(t);for(;t<5e6;)t+=5e5,e.push(t);for(;t<1e7;)t+=1e6,e.push(t);for(;t<=25e6;)t+=25e5,e.push(t);n.coStarBrand.is("citysnap")&&(e=e.filter(function(e){return 0===e||e>19e4}));for(var a=e.map(function(e){return{value:e,label:e<=1e6? )/g;return"string"==typeof e?e.match(t):null}},n.date={getDateInfo:function(e){if(e){var t,r=new Date(e),a={weekday:"long",year:"numeric",month:"long",day:"numeric"},o={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["January","February","March","April","May","June","July","August","September","October","November","December"];return{raw:r.getTime(),date:r,month:r.getMonth()+1,day:r.getDate(),year:r.getFullYear(),monthDayYear:r.getMonth()+1+"/"+r.getDate()+"/"+r.getFullYear().toString().substr(2,2),formattedDate:r.toLocaleString("en-us",a),formattedDateTime:r.toLocaleString("en-us",o),shortMonth:s[r.getMonth()],longMonth:c[r.getMonth()],formattedTime:r.toLocaleTimeString("en-us",{hour:"2-digit",minute:"2-digit"}),ago:n.date.getAgo(r),agoFriendly:n.date.getAgoFriendly(r),shortDay:i[r.getDay()],longDay:null===(t=n.date.getDayOfWeek(r.getDay()))||void 0===t?void 0:t.dayFull}}return null},getAgo:function(e){var t=Date.now();if(e){var r=t-e.getTime(),a=Math.round(r/1e3),n=Math.round(a/60),o=Math.round(n/60),i=Math.round(o/24),s=Math.round(i/7),c=Math.round(i/30);return a<=0? Stand out and get more results with a multimedia marketing strategy from The Real Estate Book. "".concat(t.cssMainRootPath,"/").concat(e):"".concat(t.cssRootPath,"/").concat(e)}if(t.cssAppHashes&&t.cssRootPath&&0===e.indexOf(t.cssRootPath)){var c=e.replace("".concat(t.cssRootPath,"/"),"").toLowerCase();n=t.cssAppHashes[c]||r}else if(t.cssHashes&&t.cssMainRootPath&&0===e.indexOf(t.cssMainRootPath)){var l=e.replace("".concat(t.cssMainRootPath,"/"),"").toLowerCase();n=t.cssHashes[l]||r}else if(t.cssHashes&&t.cssRootPath&&0===e.indexOf(t.cssRootPath)){var u=e.replace("".concat(t.cssRootPath,"/"),"").toLowerCase();n=t.cssHashes[u]||r}void 0!==n&&""!==n&&(e+="".concat(-1===e.indexOf("?")?"? )?/,""),roundedMinutes:Math.round(e/60)}}},getDayOfWeekArray:function(){return[{dayFull:"Sunday",dayAbbr:"Sun",dayLongAbbr:"Sun"},{dayFull:"Monday",dayAbbr:"M",dayLongAbbr:"Mon"},{dayFull:"Tuesday",dayAbbr:"T",dayLongAbbr:"Tues"},{dayFull:"Wednesday",dayAbbr:"W",dayLongAbbr:"Wed"},{dayFull:"Thursday",dayAbbr:"Th",dayLongAbbr:"Thurs"},{dayFull:"Friday",dayAbbr:"F",dayLongAbbr:"Fri"},{dayFull:"Saturday",dayAbbr:"S",dayLongAbbr:"Sat"}]},getDayOfWeek:function(e){return n.date.getDayOfWeekArray()[e]},getTimeOptions:function(){for(var e=[],t=function(e){return e.toString().padStart(2,"0")},r=0;r<2;r++)for(var a=r? Powered by All properties are subject to prior sale, change, or withdrawal. "Notice of Sale":"Notice Of Trustee Sale";case 32:return"Affidavit Notice of Sale Published or Mailed";case 64:return"Cancelled";case 128:return"Certificate of Purchase / Certificate of Foreclosure Recorded";case 256:return"Order Rescheduling Foreclosure Sale Date";case 512:return"Foreclosure Judgment Entered";case 2048:return"Newly Filed Complaint";case 4096:return"Order of Dismissal/Cancellation/Release of Lis Pendens";case 8192:return"Power of Attorney to Foreclose Mortgage";case 16384:return"Re-Recorded Notice of Default";case 32768:return"Re-Recorded Final Judgment of Foreclosure";case 65536:return"Re-Recorded Notice of Lis Pendens";case 131072:return"Re-Recorded Order of Dismissal";case 524288:return"NFNS Updated with Sale Information Rescheduled";case 1048576:return"Re-Recorded Notice of Trustees Sale";case 2097152:return"Sold";case 4194304:return"Re-Recorded Notice of Sale";case 8388608:return"Standalone Mortgage";case 1073741824:return"Other";default:return null}}},n.js={dedupeHashTables:function(e,t,r){var a={add:[],keep:[],remove:[]};return e&&0!=e.length?t&&0!=t.length?(e.each(function(e,n){t.hasItem(e)?r&&!r(n,t.getItem(e))? "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_\(? The trademarks MLS, Multiple Listing Service and the associated logos are owned by CREA and identify the quality of services provided by real estate professionals who are members of CREA. Search Commercial Listings 11835 Fishing Point Drive, Ste 101 (757) 599-3335 (757) 874-8827 Looking to buy or sell a home? (757) 848-4162 Visit Property Website ");return t.slice(t.length-2).join(". Chesapeake Real Estate & Homes for Sale. More Info. Homesnap.templates["controllers/SearchDropdown.html"] = '{{#with data}}{{#each this}} {{#if header}} {{/if}} {{#each items}}
  • {{#compare type_ "HSAreaItem"}} {{name}} {{#compare areaTypeID 1}}
    State {{/compare}} {{#compare areaTypeID 2}} {{#if state}}
    {{state}} {{else}}
    Metro Area {{/if}} {{/compare}} {{#compare areaTypeID 3}}
    {{state}} {{/compare}} {{#compare areaTypeID 4}}
    City/Town {{/compare}} {{#compare areaTypeID 5}}
    Zip {{/compare}} {{#compare areaTypeID 6}}
    {{#if uspsCity}}{{uspsCity}}, {{/if}}{{state}} {{/compare}} {{#unless status.hasMLSCoverage}}
    Notify Me When Available {{/unless}} {{else compare type_ "HSPropertyAddressItem"}} {{#if building.name}} {{building.name}}
    {{/if}} {{address.fullStreetAddress}} {{#compare propertyStatus.color "red"}} {{/compare}} {{#compare propertyStatus.color "orange"}} {{/compare}} {{#compare propertyStatus.color "yellow"}} {{/compare}} {{#compare propertyStatus.color "purple"}} {{/compare}} {{#compare propertyStatus.color "green"}} {{/compare}}
    {{address.cityStateZip}} {{else compare type_ "HSSchool"}} {{name}}
    {{address.city}}, {{address.state}} {{else compare type_ "HSStreetArea"}} {{name}}
    {{area.name}} {{else compare type_ "HSSavedSearch"}} {{name}} {{#if summary}}
    {{{summary}}} {{/if}} {{else compare type_ "CommuteTimeBanner"}} Find Homes by Commute Time {{else compare type_ "HSIPLocation"}} Current Location {{else compare type_ "notClickable"}} {{name}} {{else compare type_ "ListingCarts"}} Imported Listing Carts {{else compare type_ "SavedSearches"}} Imported Saved Searches {{/compare}} {{#if autocompleteStatus.farFromBoundary}}
    Too far away. "Last 14 Days":i>=14&&i<30? "PM":"AM",n=0;n<12;n++)for(var o=0;o<60;o+=15){var i=r?n+12:n;e.push({label:"".concat(n||12,":").concat(t(o)," ").concat(a),value:"".concat(t(i),":").concat(t(o),":00"),minutes:60*i+o})}return e}},n.user={getFileID:function(e){return e.toString().split("").reverse().join("")},getProfileImage:function(e,t,r){var a=e>0?
    Katie Cichosz, | Abbitt Realty Co. ".concat(t))})})}if(r.data&&r.data.statusBar&&(u.divSecondaryStatusBar.length>0||u.divLikelihoodStatusBar.length>0)){var T=u.divStatusBar.width(),D=0,F=0,$=u.divStatusBar.length>0?1:0;u.divSecondaryStatusBar.length>0&&(D=u.divSecondaryStatusBar.width(),$+=1),u.divLikelihoodStatusBar.length>0&&(F=u.divLikelihoodStatusBar.width(),$+=1);var z=Math.max(T,D,F);u.divStatusBar.css("width",z).attr("data-status-bar-count",$),D&&u.divSecondaryStatusBar.css("width",z).attr("data-status-bar-count",$),F&&u.divLikelihoodStatusBar.css("width",z).attr("data-status-bar-count",$),T=A.bottom+j,n=t.left>=A.right+j;i||a||s||n?D||l():o()}else l()}function m(){var e;null!==(e=B)&&void 0!==e&&e.id&&a({type:"listing.hover.show",data:{pa:B}})}function v(e,t){e&&e.spanFavorite.length&&t&&t.item&&(E.add("propertyFavorite",new $.ChildController({type:"controllers/Property/PropertyFavorite",namespace:N.get(),register:{bubble:a}}),!0),V.updateController("propertyFavorite",{$dom:e.spanFavorite,data:{propertyAddressItem:t.item,showText:!1}}))}function h(e){var t,r,i,a=(null===(t=B)||void 0===t?void 0:null===(r=t.listing)||void 0===r?void 0:r.id)===(null===e||void 0===e?void 0:null===(i=e.ids)||void 0===i?void 0:i.listingID),s=B&&!B.listing&&(null===e||void 0===e?void 0:e.ids)&&!e.ids.listingID&&B.propertyID===e.ids.propertyID,o=B&&!B.listing&&(null===e||void 0===e?void 0:e.ids)&&!e.ids.listingID&&!B.propertyID&&!e.ids.propertyID&&B.id===e.ids.propertyAddressID;(a||s||o)&&(!0===(null===e||void 0===e?void 0:e.favoriteStatus)? If you wish to report an issue or seek an accommodation, please let us know. (800) 525-7452. NewPoint Media Group, LLC is not affiliated or associated with The Canadian Real Estate Association or any other owner of the MLS word or design mark in any geographic area. Water, Sewer, Trash included in rent Amenities: Bonus Room, Attached 2 Car Garage, Full-Size Washer/Dryer Hookups, Central HVAC, Cable TV Hook-Up, Fireplace, Dining Area, Greenhouse Window in Kitchen, Electric Stove & Oven, Dishwasher, Garbage Disposal, Oval Tub & Full-Stall Shower, Spacious Closets, Ceiling Fans, Pool & Jacuzzi, 24 Hr Laundry, Exercise Room, Professional Landscaping, Managers On-Site, Gated Entry, Refrigerator. define("controllers/Footer",["require","ControllerObjects","Application"],function(e){return function(t){function n(e){c.call("bubble",e)}function o(e){s.update(e),r()}function r(){p=void 0;var e=(new Date).getFullYear();s.$dom&&f.get({$dom:s.$dom,data:{hide:s.get("hide",!1),year:e,showIDXDisclaimer:s.get("showIDXDisclaimer")}})}function a(e){var t=e.$dom,o=e.data;t.divContainer.find("a").on("click",function(e){var t=$(e.target).attr("href"),o="_blank"==$(e.target).attr("target")||$(e.target).data("ignore");if(t&&-1===t.indexOf("http")&&-1===t.indexOf("mailto:")&&!o)return n({type:"url.unhandled",url:t}),!1}),t.aFooterRegister.off("click").on("click",function(e){return n({type:"account.mode",data:"default"}),!1}),t.aDownloadMobileApp.off("click").on("click",function(e){return n({type:"account.mode",data:"app"}),!1}),l.getCurrentUser(function(e){var o,r=e.user;r&&r.registrationStatus&&!r.registrationStatus.notRegistered&&(t.divSupport.removeClass("bs4--d-none"),t.aFooterRegister.addClass("bs4--d-none")),null!==r&&void 0!==r&&null!==(o=r.permissions)&&void 0!==o&&o.paidAgent? Abbitt Rentals in Newport News, VA with Reviews - YP.com - Yellow Pages :\=([^&]+))?/g;t=a.exec(e);)r=r||{},"string"==typeof t[2]?r[decodeURIComponent(t[1].toLowerCase())]=decodeURIComponent(t[2]):"="!==e.charAt(e.indexOf(t[1])+t[1].length)&&(r[decodeURIComponent(t[1].toLowerCase())]=!0);return r},parseUrl:function(e){if(!e||"string"!=typeof e)return null;var t=/^(http:|https:)?(?:\/\/)?(([^\/\:]+)?(?:(?:\:)([\d]+))?)?(\/[^\s\?]*)(\?[^\#\s]+)? a market leader since 1946 and our expert agents are trained and excited to assist whether you're buying or selling a home in the area -we are sure they will exceed your expectations and real estate needs! Newport News, VA 23606. . . Contact an agent for Schools Information. Inquire about a career with Abbitt! I am a pastor's wife with 3 married sons and 5 grandsons. "Out of state":"Absentee - Out of state";case 4:return"Corporate";case 8:return"Owner Occupied";default:return null}},getDistressedAttributeDescription:function(e,t){switch(e){case 1:return"Lis Pendens";case 2:return"Notice Of Default";case 4:return t? Laura Byrd. */i)[1],a.searchMode=4),"function"!=typeof t?a:(t(a),!1)}function y(e){return!z.get("multiArea",!1)&&(D.getDeviceSize(function(t){var n=e.heatmapOption?R.getHeatMapEnum(e.heatmapOption):null;a({type:"trackUserEvent",data:{webServiceName:"analytics",serviceMethod:"TrackEvent",data:{eventType:"PropertiesAndAreasSearched",data:{utm:{medium:"web-".concat(t)},searchType:e.searchType,polygonType:e.polygonType,searchMode:e.searchMode||1,heatmapOption:n,autocompleteSourceType:e.autocompleteSourceType}}}})}),!1)}function b(){G.add("listingCarts",new O.ChildController({type:"controllers/MLS/Integrations/ListingCarts",namespace:U.get(),register:{bubble:a}}),!0),z.updateController("listingCarts",{data:{accounts:Y}})}function T(){G.add("savedSearches",new O.ChildController({type:"controllers/MLS/Integrations/SavedSearches",namespace:U.get(),register:{bubble:a}})),z.updateController("savedSearches",{data:{accounts:Y}})}function k(){G.uninit()}function A(e,t){var a;switch(e){case"location.new":t.lat&&t.lng&&(M={latitude:t.lat,longitude:t.lng,type_:"HSIPLocation"});break;case"commuteTimeBanner.status":z.set("commuteTimeBanner",t);break;case"geographies.update":if(Array.isArray(null===(a=t.data)||void 0===a?void 0:a.id)){var n={21:1,26:2,51:3},r=[],o=t.data,i=o.id,c=o.longitude,l=o.latitude;i.forEach(function(e){var t;null!==e&&void 0!==e&&null!==(t=e[2])&&void 0!==t&&t.hasNoPolygon&&(Q=!0),r.push({Type:n[e[0]],Id:e[1]})}),F=r,B=l&&c?l:null,H=l&&c?c:null}return!1}return G.event(e,t),!1}var C,w,M,L,_,B,H,O=e("ControllerObjects"),x=e("Objects"),D=e("Application"),I=e("Utilities"),R=e("SearchDefinitions"),j=e("modules/SearchRecentSearches"),P=e("modules/MLSAccounts"),U=new O.Unique(t),E=new O.Callbacks,G=new O.ChildControllerManager,z=new O.StateManager(G),N={data:new O.Getter({namespace:U.get(),type:x.HSSearchResult,webService:"/service/Misc/Search",failure:function(){"object"==typeof z&&console.info(z)},cache:{expire:2},success:m}),autocomplete:new O.Getter({namespace:U.get(),type:x.HSAutocompleteResult,webService:"/service/Misc/Autocomplete",failure:function(){"object"==typeof z&&console.info(z)},cache:{expire:2},success:m}),savedSearchesList:new O.Getter({namespace:U.get(),type:[x.HSSavedSearch],webService:"/service/SavedSearches/List",failure:function(){"object"==typeof z&&console.info(z)},cache:{expire:2}}),template:new O.Getter({namespace:U.get(),success:function(e){try{v(e)}catch(e){"object"==typeof z&&console.info(z)}},template:{url:"controllers/SearchDropdown.html",dom:["liMoreSavedSearches","liListingService"]}})},q="",F=[],Q=!1;D.getLocation(function(e){e&&(M=e)});var Y={},J=function(){var e=$.Deferred();return P.getAccounts(function(t){Y=t,e.resolve()}),e}(),K=!