(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5874],{40668:function(e,t,r){"use strict";r.d(t,{Q:function(){return S},Z:function(){return O}});var n=r(2700),o=r(75414),i=r.n(o),c=r(42247),a=r(28553),u=r(64101),l=r(40197),s=r(46903),f=r(9827);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==p(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===p(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var m=r(68727),b=r(19207);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==v(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===v(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,c,a=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var S=function(e){var t=e.imageUrl,r=e.altText,o=e.isLcp,i=void 0!==o&&o,p=e.onImageError,d=e.onImageLoadSuccess,v=e.isVideo,h=void 0!==v&&v,w=e.breakpoints,S=e.width,O=void 0===S?"100%":S,P=e.height,k=void 0===P?"100%":P,E=e.imageQuality,T=void 0===E?80:E,_=e.wrapperClassName,I=j((0,n.useState)(0),2),C=I[0],N=I[1],L=j((0,n.useState)(t||l.t),2),D=L[0],Z=L[1],A=j((0,n.useState)(!1),2),q=A[0],R=A[1],Q=(0,n.useRef)(null);(0,n.useEffect)(function(){!w&&Q.current&&N(Q.current.offsetWidth||925)},[w]);var H=w?function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:80;if(!e.includes("rdcpix"))return{imgProps:{src:e}};var n,o,i=[],c=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return y(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,void 0)}}(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw i}}}}(t);try{for(c.s();!(o=c.n()).done;){var a=o.value,u=a.width,l=a.minViewport,s=l>0?"(min-width: ".concat(l,"px)"):void 0;i.push(g({srcSet:(0,f.SQ)(e,u,"avif",r),type:"image/avif"},s&&{media:s})),i.push(g({srcSet:(0,f.SQ)(e,u,"webp",r),type:"image/webp"},s&&{media:s}))}}catch(e){c.e(e)}finally{c.f()}return{sources:i,imgProps:{src:(0,f.SQ)(e,(null===(n=t[t.length-1])||void 0===n?void 0:n.width)||343,"webp",r)}}}(D,w,T):(0,s.l)(D,r,C,void 0,T),U=x(x({},H),{},{imgProps:x(x(x(x(x({},H.imgProps),{},{alt:r},null!=O&&{width:O}),null!=k&&{height:k}),i&&w&&{fetchPriority:"high",decoding:"async"}),{},{onError:function(){D!==l.t&&(Z(l.t),null==p||p(),R(!0))},onLoad:function(){null==d||d()}})});return w?(0,b.jsxs)(c.x,{width:"100%",className:_,children:[i?(0,b.jsx)(a.t,x({className:"featured-image"},U),U.imgProps.src):(0,b.jsx)(u.Y,{className:"featured-image",pictureProps:U,options:{rootMargin:"0px 0px 100px 0px"}},U.imgProps.src),(0,b.jsx)(c.x,{children:h&&!q&&(0,b.jsx)(m.Z,{})})]}):(0,b.jsxs)(c.x,{width:"100%",ref:Q,className:_,children:[C>0&&(0,b.jsx)(u.Y,{className:"featured-image",pictureProps:U,options:{rootMargin:"0px 0px 100px 0px"}},U.imgProps.src),(0,b.jsx)(c.x,{children:h&&!q&&(0,b.jsx)(m.Z,{})})]})},O=S;S.propTypes={imageUrl:i().string.isRequired,altText:i().string.isRequired,forceLoad:i().bool,isLcp:i().bool,imageCredit:i().string,onImageError:i().func,onImageLoadSuccess:i().func,isVideo:i().bool}},68727:function(e,t,r){"use strict";r(2700);var n=r(21110),o=r(4613),i=r(17138),c=r(66095),a=r(19207),u=c.ZP.div.withConfig({componentId:"sc-1jkzoc1-0"})(["background-color:",";border-radius:50%;height:55px;width:55px;opacity:0.7;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;"],n.t.color.bg.primary);t.Z=function(){return(0,a.jsx)(o.c,{children:(0,a.jsx)(u,{"data-testid":"play-button",children:(0,a.jsx)(i.B,{size:5,color:n.t.color.bg.primaryReverse})})})}},25890:function(e,t,r){"use strict";r(2700);var n=r(35653),o=r(2692),i=r(75357),c=r(1662),a=r(75414),u=r.n(a),l=r(66095),s=r(8015),f=r.n(s),p=r(40668),d=r(40197),g=r(19207),y=l.ZP.div.withConfig({componentId:"sc-gcp0hw-0"})(["display:flex;text-decoration:none;height:100%;cursor:pointer;:hover{text-decoration:none;h3{text-decoration:underline;}}.guide-card{margin:20px 0;flex:1;};"]),m=function(e){var t=e.title,r=e.description,a=e.guideFeaturedImage,u=e.articleLink,l=e.isExternal,s=e.shouldForceLoad,m=e.handleClickEventTracking;return(0,g.jsx)(f(),{href:u||"#",passHref:!0,legacyBehavior:!0,children:(0,g.jsx)(y,{as:"a",onClick:function(){m&&m()},target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,children:(0,g.jsxs)(n.Z,{useBackground:!0,className:"guide-card",children:[(0,g.jsx)(o.Z,{ratio:[5,4],children:(0,g.jsx)(p.Q,{imageUrl:(null==a?void 0:a.imageUrl)||d.t,altText:(null==a?void 0:a.altText)||"",isLcp:null==a?void 0:a.isLcp,forceLoad:s,breakpoints:null!=a&&a.isLcp?d.nX:void 0})}),(0,g.jsxs)(i.a,{children:[(0,g.jsx)(c.D,{as:"h2",styleType:"display500",align:"center",gutter:{bottom:2},children:t}),r&&(0,g.jsx)(c.D,{as:"p",styleType:"body200",align:"center",customStyles:{fontSize:"15px"},children:r})]})]})})})};m.propTypes={title:u().string.isRequired,description:u().string.isRequired,guideFeaturedImage:u().object.isRequired,articleLink:u().string.isRequired,handleClickEventTracking:u().func,isExternal:u().bool,shouldForceLoad:u().bool},t.Z=m},80357:function(e,t,r){"use strict";r(40197),r(38432)},19757:function(e,t,r){"use strict";r.d(t,{Oi:function(){return f},_s:function(){return s},aQ:function(){return l},ve:function(){return p}});var n=r(2700),o=r(6349),i=r(63840);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.enabled,c=r.dedupeKey,a=null!=c?c:e,u=(0,n.useRef)(null);(void 0===o||o)&&e&&u.current!==a&&((0,i.Kq)(e,t),u.current=a)},s=function(e,t,r){l("".concat(i.HC.siteSection,":").concat(e),u({pageId:t,pageType:r},i.HC))},f=function(e,t){var r="".concat(e,"_").concat(t),n="".concat(i.HC.siteSection,":").concat(r);l(n,u({pageId:r,pageName:n,pageType:r},i.HC),{enabled:!!t})},p=function(e,t,r,n){var c=(0,o.useRouter)(),a="".concat(i.HC.siteSection,":").concat(e);l(a,u({pageId:t,pageName:a,pageType:r,pagePath:c.query.slug},i.HC),{enabled:!!n,dedupeKey:String(c.query.articleSlug)})}},46903:function(e,t,r){"use strict";r.d(t,{l:function(){return i}});var n=r(40197),o=r(9827);function i(e,t,r,i){var c,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:80;return(e&&""!==e&&"string"==typeof e||(e=n.t),e.includes("rdcpix"))?(c=i?(0,o.Vq)(e,r,i,a):(0,o.To)(e,r,a),{sources:[{srcSet:i?(0,o.B6)(e,r,i,"avif",a):(0,o.SQ)(e,r,"avif",a),type:"image/avif"},{srcSet:i?(0,o.B6)(e,r,i,"webp",a):(0,o.SQ)(e,r,"webp",a),type:"image/webp"}],imgProps:{src:c,alt:t}}):{imgProps:{src:e,alt:t}}}},63840:function(e,t,r){"use strict";r.d(t,{HC:function(){return o},Kq:function(){return i},L9:function(){return c}});var n=r(39224),o={siteSection:"news_insights"},i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.ZP.trackPage;r(e,t)},c=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.ZP.trackEvent;r(e,t)}},98481:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return v},default:function(){return h}}),r(41774),r(64868),r(40197),r(80357);var n=r(25890),o=r(1030),i=r(37278);r(2700);var c=r(42247),a=r(1662),u=r(98519),l=r(66095),s=r(21110),f=r(19207),p=(0,l.ZP)(c.x).withConfig({componentId:"sc-1kla7ct-0"})(["text-align:center;padding:20px;"]),d=(0,l.ZP)(a.D).withConfig({componentId:"sc-1kla7ct-1"})(["margin-top:30px;text-decoration:underline;text-decoration-color:",";text-decoration-thickness:8px;text-underline-offset:4px;"],s.t.color.red[600]),g=(0,l.ZP)(u.I).withConfig({componentId:"sc-1kla7ct-2"})(["margin-top:20px;margin-bottom:30px;max-width:340px;height:auto;display:block;margin-left:auto;margin-right:auto;"]),y=(0,l.ZP)(a.D).withConfig({componentId:"sc-1kla7ct-3"})(["max-width:680px;margin:0 auto;height:100%;font-size:20px;font-weight:450;margin-top:30px;margin-bottom:30px;"]),m=function(){return(0,f.jsxs)(p,{children:[(0,f.jsx)(g,{"data-testid":"logo-brand"}),(0,f.jsx)(d,{styleType:"display800",children:"Guides"}),(0,f.jsx)(y,{styleType:"body400",children:"A collection of how-tos and tips to help you learn everything you need to know about homebuying, selling, mortgages, remodeling, d\xe9cor, and more."})]})},b=r(19757),v=!0,h=function(e){var t=e.guides,r=function(e){var t;return(null==e||null===(t=e.externalGuideArea)||void 0===t?void 0:t.externalGuidePath)||(null==e?void 0:e.uri)},c=function(e){var t;return!!(null!=e&&null!==(t=e.externalGuideArea)&&void 0!==t&&t.externalGuidePath)};return(0,b._s)("guides_home","guides_home","guides_home"),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(m,{}),(0,f.jsx)(o.X,{className:"card-list-content",style:{marginBottom:"20px"},children:t.length&&t.map(function(e,t){var o;return(0,f.jsx)(i.J,{xs:12,md:4,children:(0,f.jsx)(n.Z,{title:e.name,guideFeaturedImage:{imageUrl:null==e||null===(o=e.guideTaxonomyImage)||void 0===o||null===(o=o.image)||void 0===o||null===(o=o.node)||void 0===o?void 0:o.sourceUrl,altText:"".concat(e.name," image"),isLcp:0===t},articleLink:r(e),isExternal:c(e),shouldForceLoad:t<=2})},"_guide-".concat(e.name))})})]})}},95905:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides",function(){return r(98481)}])}},function(e){e.O(0,[7081,2563,1996,2888,9774,179],function(){return e(e.s=95905)}),_N_E=e.O()}]);
//# sourceMappingURL=guides-f290f8891e9da3e8.js.map