(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2439],{89985:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/residential/en/resources/blog/[...slug]",function(){return a(89265)}])},33086:function(e,t,a){"use strict";var l=a(85893);a(67294);var s=a(15830),r=a(73389);t.Z=e=>{let{schemaData:t}=e;if(!t)return null;let a=(0,r.i)(t);return a?(0,l.jsx)("script",{type:"application/ld+json",id:"schemaBlock",dangerouslySetInnerHTML:{__html:(0,s.F)(a.replace(/{let{crumbs:t,includeLast:a=!1}=e,{isNavDark:u=!1}=(0,d.useContext)(r.z),x=(0,s.dW)(),m=(0,h.useRouter)(),p=(0,d.useMemo)(()=>(0,i.Z)(t,m.asPath),[t,m.asPath]);return(t.length&&(x.current=!0),t.length)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("nav",{children:(0,l.jsx)("ol",{className:(0,c.Z)("list-reset container mx-auto flex list-none flex-wrap justify-center pl-0 text-sm md:justify-start print:hidden",{"my-0 gap-3 md:gap-4":u,"my-6 gap-4":!u}),children:t.map((e,t,s)=>{let r=t===s.length-1,i=0===t?"font-bold":"font-medium",o="a";r&&(o=a?"a":"span");let c={className:"font-IBM uppercase tracking-widest ".concat(u?"text-white":"text-cadet"," text-12 font-normal"),style:{textShadow:u?"0 0 1px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.5)":"none"},"data-position":"body","data-location":"breadcrumb","data-action":"internal link","data-text-grouping":"","data-text":e.label,"data-type":"link"};"a"===o&&(c.href=(0,n.I)(e.href));let h=(0,d.createElement)(o,c,e.label),x=r?"".concat(i," text-center md:text-left"):"".concat(i," text-center md:text-left after:content-['/'] ").concat(u?"after:text-white":"after:text-charcoal"," after:font-light after:relative after:left-2");return(0,l.jsx)("li",{className:x,"aria-current":"page",children:h},e.href)})})}),(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,o.F)(JSON.stringify(p).replace(/(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 48 48",fill:"none","aria-label":"Share Facebook Icon",...e,children:(0,l.jsx)("path",{d:"M44 24.1213C44 13.008 35.0467 4 24 4C12.9533 4 4 13.008 4 24.1213C4 34.1667 11.312 42.4907 20.8747 44V29.9387H15.7973V24.12H20.8747V19.688C20.8747 14.6453 23.86 11.8587 28.4293 11.8587C30.616 11.8587 32.9067 12.252 32.9067 12.252V17.204H30.3827C27.8987 17.204 27.1253 18.756 27.1253 20.348V24.1213H32.672L31.7853 29.9373H27.1253V44C36.688 42.4907 44 34.1667 44 24.1213Z",fill:"#A2AAAD"})}),C=e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 19 19",fill:"none","aria-label":"Share LinkedIn Icon",...e,children:(0,l.jsx)("path",{d:"M3.91304 17H0V5.40909H3.91304V17ZM1.9573 3.86364C0.874956 3.86364 0 2.99741 0 1.93105C0 0.864682 0.876522 0 1.9573 0C3.03574 0 3.91304 0.866227 3.91304 1.93105C3.91304 2.99741 3.03574 3.86364 1.9573 3.86364ZM18 17H14.238V11.3591C14.238 10.0138 14.2122 8.28364 12.2823 8.28364C10.3234 8.28364 10.0221 9.74873 10.0221 11.2617V17H6.26087V5.40059H9.87183V6.98545H9.9227C10.4251 6.07364 11.653 5.11236 13.4843 5.11236C17.2957 5.11236 18 7.51477 18 10.6381C18 10.6381 18 17 18 17Z",fill:"#A2AAAD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),N=e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 300 271",fill:"none","aria-label":"Share Twitter Icon",...e,children:(0,l.jsx)("path",{d:"m236 0h46l-101 115 118 156h-92.6l-72.5-94.8-83 94.8h-46l107-123-113-148h94.9l65.5 86.6zm-16.1 244h25.5l-165-218h-27.4z",fill:"#A2AAAD"})}),_=e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 18 14",fill:"none","aria-label":"Share Email Icon",...e,children:(0,l.jsx)("path",{d:"M1.8 14C1.305 14 0.8814 13.8288 0.5292 13.4864C0.1764 13.1434 0 12.7313 0 12.25V1.75C0 1.26875 0.1764 0.856917 0.5292 0.5145C0.8814 0.1715 1.305 0 1.8 0H16.2C16.695 0 17.1189 0.1715 17.4717 0.5145C17.8239 0.856917 18 1.26875 18 1.75V12.25C18 12.7313 17.8239 13.1434 17.4717 13.4864C17.1189 13.8288 16.695 14 16.2 14H1.8ZM9 7.875L16.2 3.5V1.75L9 6.125L1.8 1.75V3.5L9 7.875Z",fill:"#A2AAAD"})}),k=e=>{let{shareUrl:t,titleProp:a,excerptProp:s}=e;return(0,l.jsxs)("div",{className:"w-100 ml-auto flex items-end self-center",children:[(0,l.jsx)("a",{className:"px-[10px] py-[14px]",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),children:(0,l.jsx)(y,{})}),(0,l.jsx)("a",{className:"px-[10px] py-[14px]",href:"https://twitter.com/share?url=".concat(t),children:(0,l.jsx)(N,{})}),(0,l.jsx)("a",{className:"px-[10px] py-[14px]",href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(t),children:(0,l.jsx)(C,{})}),(0,l.jsx)("a",{className:"px-[10px] py-[14px]",href:"mailto:?subject=".concat(a||"","&body=").concat(s?s.replace(/([0-9]{4});/g,(e,t)=>String.fromCharCode(parseInt(t,10))):""," ").concat(t||""),children:(0,l.jsx)(_,{})})]})},H=a(15830),I=e=>{var t,a,s,d,y,C,N,_,I,Z,A,S,V,L,B,M;let P=(0,v.useContext)(b),[T,D]=(0,v.useState)(""),[E,F]=(0,v.useState)(""),U=new Date(e.date),[O,z]=(0,v.useState)(!1),[G,R]=(0,v.useState)("");return(0,v.useEffect)(()=>{R(window.location.hostname+window.location.pathname),D(P.title||""),F(P.excerpt||"")},[R,P]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.Z,{seo:e.seo,title:e.title}),(0,l.jsx)(w.Z,{schemaData:null===(t=e.schemaBlock)||void 0===t?void 0:t.schemaBlock}),(0,l.jsx)(o.Z,{hideNavOffset:!0,stickyBanner:!0}),(0,l.jsx)("div",{className:"border-b",children:(0,l.jsxs)(i.Z,{contentClass:"flex flex-wrap justify-between items-center",children:[(0,l.jsx)(u.Z,{crumbs:[{href:"/residential/",label:"Home"},{href:"/residential/en/learning-hvac/",label:"Learning HVAC"},{href:"/residential/en/resources/blog/",label:"Blog Hub"},{href:"",label:e.title}]}),(0,l.jsx)(g.Z,{categoryOpen:O,openDropdown:z})]})}),(0,l.jsx)("div",{className:"relative z-2 bg-white",children:(0,l.jsx)("div",{className:"absolute left-0 top-0 w-full overflow-hidden bg-white transition-all ".concat(O?"max-h-80":"max-h-0"),children:(0,l.jsx)(f.Z,{})})}),(0,l.jsx)("div",{className:"mx-auto max-w-[1600px]",children:(null===(s=e.blogHeroImage)||void 0===s?void 0:null===(a=s.imageUrl)||void 0===a?void 0:a.node.mediaItemUrl)||(null===(y=e.featuredImage)||void 0===y?void 0:null===(d=y.node)||void 0===d?void 0:d.sourceUrl)?(0,l.jsx)("div",{className:"aspect-h-4 aspect-w-16 w-full bg-cultured",children:(0,l.jsx)("div",{className:"h-full w-full",children:(0,l.jsx)(h(),{src:(null===(N=e.blogHeroImage)||void 0===N?void 0:null===(C=N.imageUrl)||void 0===C?void 0:C.node.mediaItemUrl)||(null===(I=e.featuredImage)||void 0===I?void 0:null===(_=I.node)||void 0===_?void 0:_.sourceUrl),alt:(null===(Z=e.blogHeroImage)||void 0===Z?void 0:Z.altText)||(null===(S=e.featuredImage)||void 0===S?void 0:null===(A=S.node)||void 0===A?void 0:A.altText),style:{objectFit:"cover"},fill:!0,priority:!0})})}):null}),(0,l.jsx)(i.Z,{children:(0,l.jsxs)("div",{className:"my-6 grid grid-cols-1 gap-12 md:my-16 lg:grid-cols-4",children:[(0,l.jsx)("div",{className:"w-full lg:col-span-3",children:(0,l.jsxs)("main",{children:[(0,l.jsxs)("div",{className:"text-12",children:[(null===(L=e.categories)||void 0===L?void 0:null===(V=L.nodes)||void 0===V?void 0:V.length)>0&&(0,l.jsx)("a",{href:e.categories.nodes[0].uri,className:"mr-3 font-bold uppercase text-outer-space hover:text-hover-red focus:text-hover-red",children:e.categories.nodes[0].name}),(0,l.jsxs)("span",{className:"text-charcoal",children:[null===(B=e.seo)||void 0===B?void 0:B.readingTime,"min read"]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-28 md:text-42",children:e.title}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,H.F)("
"+(null===(M=e.excerpt)||void 0===M?void 0:M.substring(3,e.excerpt.length)))}})]}),(0,l.jsxs)("div",{className:"w-100 my-6 flex border-y py-6",children:[(0,l.jsxs)("div",{className:"",children:[(0,l.jsx)("strong",{children:"Published:"}),(0,l.jsx)("br",{}),"".concat(U.toLocaleString("default",{month:"long"})," \n ").concat(U.getDate(),",\n ").concat(U.getFullYear())]}),(0,l.jsx)(k,{shareUrl:G,titleProp:T,excerptProp:E})]}),(0,l.jsx)(r.Z,{...e}),(0,l.jsxs)("div",{className:"w-100 my-6 flex border-y py-6",children:[(0,l.jsx)("div",{className:"w-full self-center text-left md:text-right",children:(0,l.jsx)("strong",{children:"Share this article:"})}),(0,l.jsx)(k,{shareUrl:G,titleProp:T,excerptProp:E})]})]})}),(0,l.jsxs)("div",{className:"w-full lg:col-span-1",children:[(0,l.jsx)(p.default,{attributes:{data:{title:"Boost your HVAC knowledge",description:"Sign up for our email newsletter to learn helpful HVAC tips and tricks before you purchase your system.",email_input:"1",disclaimer:'By pressing "submit," I understand that I am providing express consent for Trane Residential to contact me about this request or similar topics. I can unsubscribe and opt-out from future communications at any time. See our Privacy Policy for more information.',background_img_large:"",background_img_small:""}},forceMobile:!0}),(0,l.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-10",children:m.Z.map((e,t)=>(0,l.jsx)(x.Z,{...e},t))})]})]})}),(0,l.jsx)(j.default,{}),(0,l.jsx)(c.Z,{disclaimer:e.disclaimer,useBeLink:!0})]})},Z=!0;function A(e){return(0,l.jsx)(b.Provider,{value:{title:e.title,excerpt:e.excerpt},children:(0,l.jsx)(s.Z,{renderTemplate:(0,l.jsx)(I,{}),...e})})}}},function(e){e.O(0,[3697,794,7149,1451,2861,4935,5184,7894,9449,2888,9774,179],function(){return e(e.s=89985)}),_N_E=e.O()}]);