_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[19],{16:function(t,e,n){n("GcxT"),t.exports=n("nOHt")},"1JBc":function(t){t.exports=JSON.parse('{"meta":{"id":1,"cid":1,"active":false,"template":"seattle"},"domain":"","prop":{"id":0,"mls":"","mls_name":"","price":0,"price_original":0,"listing_type":"","status":"","address":"","city":"","state":"","zip":"","remarks":"","latitude":47.6205,"longitude":-122.3493,"beds":0,"baths_total":0,"baths_full":0,"baths_half":0,"living_sqft":0,"lot_size_acres":0,"year_built":0,"office":"","office_address":"","agent":"","list_date":"","last_updated":"","media":[{"photo":"https://dummyimage.com/1920x1080/aaa/ffffff.png&text=No+Photo","caption":"","last_updated":""}],"videos":[],"vrtours":[],"agents":[{"first_name":"","last_name":"","title":"","phone_cell":"","phone_office":"","email":"","website":"","social_facebook":"","social_twitter":"","social_linkedin":"","social_instagram":"","photo":"https://dummyimage.com/840x1120/aaa/ffffff.png&text=:-)","last_updated":""}],"open_houses":[],"details":[],"pdf_url":"","comm_name":"","comm_remarks":"","comm_url":""},"domains":[],"template":{"title":"","seo_title":"","seo_description":"","homepage":{"top_of_page":"image","top_subtitle":"","top_main_headline_text":"","top_main_headline_photo":"","top_bottom_subtitle":"","top_photo":"","top_video":"","remarks_style":"style1","remarks_sidetext":"","remarks":"","remarks_bottom_quote":"","remarks_bottom_quote_reference":"","second_photo":"","second_photo_headline":"","second_photo_remarks":"","second_photo_button_text":""},"gallery":{"top_of_page":"image","top_subtitle":"","top_main_headline_text":"","top_main_headline_photo":"","top_bottom_subtitle":"","top_photo":"","top_video":"","remarks_override":"","bottom_enabled":false,"bottom_type":"","bottom_video_url":"","bottom_video_id":"","bottom_image_url":"","bottom_headline":"","bottom_remarks":"","bottom_button_url":"","bottom_button_text":""},"details":{"remarks_sidetext":"","remarks":"","remarks_bottom_quote":"","remarks_bottom_quote_reference":""}}}')},"1OyB":function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},"1TCz":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"default",(function(){return E}));var r=n("o0o1"),o=n.n(r),i=n("HaE+"),a=n("1OyB"),s=n("vuIU"),u=n("JX7q"),c=n("Ji7U"),l=n("md7G"),f=n("foSv"),p=n("rePB"),d=(n("iOjB"),n("q1tI")),m=n.n(d),h=n("8Bbg"),v=n.n(h),g=n("O6il"),_=n("vcXL"),b=n.n(_),y=n("nOHt"),w=n.n(y),T=n("BBTg"),P=n.n(T),k=n("Mj6V"),x=n.n(k),O=(n("pdi6"),m.a.createElement);function S(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Object(f.a)(t);if(e){var o=Object(f.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}w.a.events.on("routeChangeStart",(function(){return x.a.start()})),w.a.events.on("routeChangeComplete",(function(){return x.a.done()})),w.a.events.on("routeChangeError",(function(){return x.a.done()}));var E=function(e){Object(c.a)(l,e);var r=S(l);function l(t){var e;return Object(a.a)(this,l),e=r.call(this,t),Object(p.a)(Object(u.a)(e),"state",{data:n("1JBc")}),w.a.events.on("routeChangeComplete",(function(){"undefined"!=typeof _LT&&null!=_LT&&_LT._trackEvent(_eventType.view,P.a.getListTracMLSID(t.pageProps.data),t.pageProps.data.prop.zip),ampRecordVisit("visit",t.pageProps.data.prop.id,t.pageProps.data.prop.mls,t.pageProps.data.meta.cid)})),e}return Object(s.a)(l,[{key:"render",value:function(){var t=this.props,e=t.Component,n=t.pageProps;return O(g.a.Provider,{value:{data:this.props.pageProps.data}},O(e,n))}}],[{key:"getInitialProps",value:function(){var e=Object(i.a)(o.a.mark((function e(r){var i,a,s,u,c,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.Component,a=r.ctx,s={},!i.getInitialProps){e.next=6;break}return e.next=5,i.getInitialProps(a);case 5:s=e.sent;case 6:return u="",e.prev=7,void 0!=a.req?u=a.req.headers.host:void 0!=window.domain&&void 0!=window.domain.host?u=window.domain.host:void 0!=window.location&&void 0!=window.location.host&&(u=window.location.host),"localhost:3000"==u&&(t.env.NODE_TLS_REJECT_UNAUTHORIZED="0",u="8harborviewsouth.com"),"https://app.amplistings.com/api/slw/",e.next=13,b()("".concat("https://app.amplistings.com/api/slw/").concat(u),{mode:"cors"});case 13:if((c=e.sent).ok){e.next=16;break}throw Error(c.statusText);case 16:return e.next=18,c.json();case 18:l=e.sent,s.data=l,!1===l.success&&a.res&&"/offline"!==a.req.url&&(a.res.writeHead(302,{Location:"/offline"}),a.res.end()),e.next=28;break;case 23:e.prev=23,e.t0=e.catch(7),console.log(e.t0),s.data=n("1JBc"),a.res&&"/offline"!==a.req.url&&(a.res.writeHead(302,{Location:"/offline"}),a.res.end());case 28:return e.abrupt("return",{pageProps:s});case 29:case"end":return e.stop()}}),e,null,[[7,23]])})));return function(t){return e.apply(this,arguments)}}()}]),l}(v.a)}.call(this,n("8oxB"))},"8Bbg":function(t,e,n){t.exports=n("B5Ud")},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new m(t,e)),1!==c.length||l||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},B5Ud:function(t,e,n){"use strict";var r=n("o0o1"),o=n("lwsE"),i=n("W8MJ"),a=n("7W2i"),s=n("a1gu"),u=n("Nsbk"),c=n("yXPU");function l(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=u(t);if(e){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var f=n("TqRt");e.__esModule=!0,e.Container=function(t){0;return t.children},e.createUrl=g,e.default=void 0;var p=f(n("q1tI")),d=n("g/15");function m(t){return h.apply(this,arguments)}function h(){return(h=c(r.mark((function t(e){var n,o,i;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.Component,o=e.ctx,t.next=3,(0,d.loadGetInitialProps)(n,o);case 3:return i=t.sent,t.abrupt("return",{pageProps:i});case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}e.AppInitialProps=d.AppInitialProps,e.NextWebVitalsMetric=d.NextWebVitalsMetric;var v=function(t){a(n,t);var e=l(n);function n(){return o(this,n),e.apply(this,arguments)}return i(n,[{key:"componentDidCatch",value:function(t,e){throw t}},{key:"render",value:function(){var t=this.props,e=t.router,n=t.Component,r=t.pageProps,o=t.__N_SSG,i=t.__N_SSP;return p.default.createElement(n,Object.assign({},r,o||i?{}:{url:g(e)}))}}]),n}(p.default.Component);function g(t){var e=t.pathname,n=t.asPath,r=t.query;return{get query(){return r},get pathname(){return e},get asPath(){return n},back:function(){t.back()},push:function(e,n){return t.push(e,n)},pushTo:function(e,n){var r=n?e:"",o=n||e;return t.push(r,o)},replace:function(e,n){return t.replace(e,n)},replaceTo:function(e,n){var r=n?e:"",o=n||e;return t.replace(r,o)}}}e.default=v,v.origGetInitialProps=m,v.getInitialProps=m},BBTg:function(t,e,n){"use strict";var r=n("TqRt")(n("q1tI"));t.exports={price:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Price Upon Request";return void 0!=t&&t>0&&"number"===typeof t?"$"+Math.round(t).toLocaleString():"number"!=typeof t&&t.length>1?t:e},truncate:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",r=t;return r.length>e&&(r=(r=t.substr(0,e)).substr(0,Math.min(r.length,r.lastIndexOf(" ")))+n),r},getPropertyAddress:function(t){var e=t.city;return t.city&&t.state&&(e+=", "+t.state),t.zip&&(e+=" "+t.zip),{address:t.address,address2:t.address2,citystate:e,city:t.city,state:t.state,zip:t.zip}},convertNewlineToTag:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"p",n=t.split("\n"),o=n.map((function(t,n){return r.default.createElement("".concat(e),null,t)}));return o},def:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(t){case"null":case"undefined":case"":case"&nbsp;":case null:case void 0:return e;default:return t}},resizePhoto:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(t.includes("dummyimage.com"))return t;var i="w="+e+",h="+n+",fit=cover";1==r&&(i="w="+e+",h="+n+",fit=crop");o.replace(/[\-:\.]/g,"");return"https://www.williampitt.com/cdn-cgi/image/"+i+",f=auto,metadata=none/"+t},fitPhotoOnBG:function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(t.includes("dummyimage.com"))return t;r||(r="white");var i="w="+e+",h="+n+",func=fit,background="+r;o.replace(/[\-:\.]/g,"");return"https://www.williampitt.com/cdn-cgi/image/"+i+",f=auto,metadata=none/"+t},getListTracMLSID:function(t){var e=t.prop.mls;return void 0!=t.prop.details&&void 0!=t.prop.details["Property Details"]&&t.prop.details["Property Details"].length>0&&t.prop.details["Property Details"].forEach((function(t){"Web ID:"==t.label&&(e=t.value)})),e}}},GcxT:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n("1TCz")}])},"HaE+":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(c){return void n(c)}s.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return o}))},JX7q:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},Ji7U:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",(function(){return o}))},Mj6V:function(t,e,n){var r,o;void 0===(o="function"===typeof(r=function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(t,e,n){return t<e?e:t>n?n:t}function r(t){return 100*(-1+t)}function o(t,n,o){var i;return(i="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"}).transition="all "+n+"ms "+o,i}t.configure=function(t){var n,r;for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(r){var s=t.isStarted();r=n(r,e.minimum,1),t.status=1===r?null:r;var u=t.render(!s),c=u.querySelector(e.barSelector),l=e.speed,f=e.easing;return u.offsetWidth,i((function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),a(c,o(r,l,f)),1===r?(a(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){a(u,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),l)}),l)):setTimeout(n,l)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout((function(){t.status&&(t.trickle(),n())}),e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!==typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){0===--n?(e=0,t.done()):t.set((e-n)/e)})),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=e.template;var i,s=o.querySelector(e.barSelector),c=n?"-100":r(t.status||0),l=document.querySelector(e.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),e.showSpinner||(i=o.querySelector(e.spinnerSelector))&&f(i),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(o),o},t.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var i=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),a=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}function o(t){return t=n(t),e[t]||(e[t]=r(t))}function i(t,e,n){e=o(e),t.style[e]=n}return function(t,e){var n,r,o=arguments;if(2==o.length)for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&i(t,n,r);else i(t,o[1],o[2])}}();function s(t,e){return("string"==typeof t?t:l(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=l(t),r=n+e;s(n,e)||(t.className=r.substring(1))}function c(t,e){var n,r=l(t);s(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function l(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t})?r.call(e,n,e,t):r)||(t.exports=o)},O6il:function(t,e,n){"use strict";var r=n("q1tI"),o=Object(r.createContext)();e.a=o},foSv:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r}))},iOjB:function(t,e,n){},md7G:function(t,e,n){"use strict";function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}));var o=n("JX7q");function i(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?Object(o.a)(t):e}},rePB:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},vcXL:function(t,e,n){"use strict";var r=self.fetch.bind(self);t.exports=r,t.exports.default=t.exports},vuIU:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))}},[[16,0,1,3,2,9]]]);