PageSourceSearch

https://www.trane.com/_next/static/chunks/6172.46bd2873b341f841.js

js trane.com collected 2026-09-24 08:56:04 UTC 13,114 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6172],{6172:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var s=a(85893),l=a(67294),i=a(47013),r=a(50613),n=a(11163),o=a(72934),c=a(25629),d=e=>{let{variant:t}=e;return(0,s.jsx)(s.Fragment,{children:"estimate"===t?(0,s.jsxs)(c.ZP,{children:[(0,s.jsx)("h4",{className:"m-0",children:"How do I get a repair estimate?"}),(0,s.jsx)("p",{className:"mt-4",children:"To get an accurate HVAC repair estimate, call a dealer to come by and look at your unit. They can give you a quote for an air conditioner fix, heat pump service, furnace repair, or air handler repair as well as discover the issues your unit is experiencing."}),(0,s.jsx)("br",{}),(0,s.jsx)("a",{className:"text-red-600",href:"/residential/en/dealer-locator/",children:"Find a dealer near you"}),(0,s.jsx)("p",{className:"mt-4 text-xs",children:"Disclaimer: Please use this as a starting point and always check with a licensed HVAC professional for advice about your system."})]}):(0,s.jsx)(c.ZP,{children:(0,s.jsxs)("div",{className:"text-14",children:[(0,s.jsx)("p",{className:"font-semibold",children:"How do I find my system’s age?"}),(0,s.jsxs)("ol",{className:"list-decimal space-y-4",children:[(0,s.jsx)("li",{children:"Look for a nameplate, metal tag, or sticker on your unit."}),(0,s.jsx)("li",{children:"Find the MFG Date. This is the manufacturing date, which lets you know how old your unit is."}),(0,s.jsxs)("li",{children:[(0,s.jsx)("span",{className:"text-trane-red",children:"IF NO MFG DATE:"})," Some units don’t state the MFG Date, but you can still figure out the age by finding:",(0,s.jsxs)("ul",{className:"pt-4",children:[(0,s.jsx)("li",{children:"The brand name"}),(0,s.jsx)("li",{children:"Model of the unit"}),(0,s.jsx)("li",{children:"Serial number"})]})]}),(0,s.jsx)("li",{children:"Call a dealer and give them this information to decode. Or, you can decode the age from the serial number yourself! Brands and models use different code systems, so it’s best to look up the system for your unit online."})]}),(0,s.jsx)("br",{})]})})})},u=e=>{let{ageList:t,repairEstimateList:a,setAge:c,age:u,estimate:p,setEstimate:x,getResults:m,result:h,finalEstimate:g}=e,f=(0,l.useRef)(u),b=(0,l.useRef)(p),{asPath:j}=(0,n.useRouter)(),y=["/residential/en/campaigns/mg/repair-or-replace/","/residential/en/campaigns/mg/repair-or-replace-phoenix/","/residential/en/campaigns/sk/repair-or-replace-texas/"];return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mt-4 flex items-center gap-2 text-sm md:gap-4 lg:gap-8",children:[(0,s.jsxs)("div",{className:"w-40",children:[(0,s.jsxs)("div",{className:"hidden text-sm md:block",children:["Age\xa0",(0,s.jsx)(d,{variant:"age"})]}),(0,s.jsx)(r.Z,{onSelect:c,options:t,resultsPlaceholder:"".concat(u," year").concat("1"!==u?"s":""),dataTrackingProps:{position:"body",location:"hero",textGrouping:"calculator",text:"Age"}})]}),(0,s.jsx)("div",{className:"md:mt-5 md:font-bold",children:"X"}),(0,s.jsxs)("div",{className:"w-40",children:[(0,s.jsxs)("div",{className:"hidden text-sm md:block",children:["Repair Estimate\xa0",(0,s.jsx)(d,{variant:"estimate"})]}),(0,s.jsx)(r.Z,{onSelect:x,options:a,resultsPlaceholder:"$".concat(p),dataTrackingProps:{position:"body",location:"hero",textGrouping:"calculator",text:"repair estimate"}})]}),(0,s.jsx)("div",{className:"text-base md:mt-4",children:"="}),(0,s.jsxs)("div",{className:"text-base font-bold md:mt-4 md:text-3xl",children:["$",g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")]})]}),(0,s.jsxs)("div",{className:"mb-0 mt-8 flex flex-col-reverse gap-8 md:mb-5 lg:flex-row xl:gap-9",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"m-0 hidden text-xs md:block",children:"The $5,000 rule is an industry-accepted rule for determining whether to repair or replace an HVAC system. If the cost exceeds $5,000 and is not covered by warranty, you should replace it. Consult a licensed HVAC professional to help make the best decisions about your equipment."}),(0,s.jsx)(i.Z,{primary:!0,addClass:"hidden lg:block mt-5",href:y.includes(j)?"#enter-your-zip":"/residential/en/dealer-locator/",dataTrackingProps:{position:"body",location:"hero",textGrouping:"cta",text:"Find a local pro",action:"internal link",type:"button"},children:"Find a local pro"})]}),u===f.current&&p===b.current&&h?(0,s.jsxs)("div",{className:"m-auto w-full bg-blue-100 p-8 text-center",children:["Our expert recommendation is: ",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"mt-4 text-xl font-bold text-red-500 md:text-3xl",children:h})]}):(0,s.jsx)(o.Z,{onClick:function(){f.current=u,b.current=p,m()},disabled:!u||!p})]}),(0,s.jsx)(i.Z,{primary:!0,addClass:"lg:hidden w-full",href:y.includes(j)?"#enter-your-zip":"/residential/en/dealer-locator/",dataTrackingProps:{position:"body",location:"hero",textGrouping:"cta",text:"Find a local pro",action:"internal link",type:"button"},children:"Find a local pro"}),(0,s.jsx)("p",{className:"mt-5 text-xs md:hidden lg:mt-0",children:"The $5,000 rule is an industry-accepted rule for determining whether to repair or replace an HVAC system. If the cost exceeds $5,000 and is not covered by warranty, you should replace it. Consult a licensed HVAC professional to help make the best decisions about your equipment."})]})},p=a(25014),x=e=>{let{ageList:t,repairEstimateList:a,setAge:l,setEstimate:i,getResults:n,isSubmitDisabled:c=!1}=e;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mt-8 flex items-center gap-4 text-sm md:text-base",children:[(0,s.jsxs)("div",{className:"w-60",children:["Age\xa0",(0,s.jsx)(d,{variant:"age"}),(0,s.jsx)(r.Z,{onSelect:l,options:t,dataTrackingProps:{position:"body",location:"hero",textGrouping:"calculator",text:"Age"}}
1)]}),(0,s.jsx)("div",{className:"mt-5 font-bold",children:"X"}),(0,s.jsxs)("div",{className:"w-60",children:[(0,s.jsxs)("div",{children:["Repair Estimate\xa0",(0,s.jsx)(d,{variant:"estimate"})]}),(0,s.jsx)(r.Z,{onSelect:i,options:a,dataTrackingProps:{position:"body",location:"hero",textGrouping:"calculator",text:"repair estimate"}})]})]}),(0,s.jsxs)("div",{className:"my-8 flex flex-col-reverse gap-8 xl:flex-row xl:gap-9",children:[(0,s.jsx)("p",{className:"m-0 w-full text-xs xl:w-70%",children:"Disclaimer: Please use this as a starting point and always check with a licensed HVAC professional for advice about your system."}),(0,s.jsx)(o.Z,{onClick:n,disabled:c})]})]})},m=e=>{let{ageList:t,repairEstimateList:a,setAge:l,age:i,estimate:r,setEstimate:n,getResults:o,result:c,loading:d,finalEstimate:m}=e;return d?(0,s.jsxs)("div",{id:"repair-replace-calculator",className:"min-h-470 rounded bg-white px-4 py-4 text-black lg:px-8",children:[(0,s.jsx)("h3",{className:"text-lg md:text-2xl",children:"Repair or Replace Calculator"}),(0,s.jsx)(p.Z,{})]}):(0,s.jsxs)("div",{id:"repair-replace-calculator",className:"min-h-470 rounded bg-white px-4 py-4 text-black lg:px-8",children:[(0,s.jsx)("h3",{className:"text-lg md:text-2xl",children:"Repair or Replace Calculator"}),c?(0,s.jsx)(u,{age:i,ageList:t,repairEstimateList:a,finalEstimate:m,estimate:r,result:c,setAge:l,setEstimate:n,getResults:o}):(0,s.jsx)(x,{setAge:l,ageList:t,isSubmitDisabled:!i||!r,setEstimate:n,repairEstimateList:a,getResults:o})]})},h=a(83884),g=()=>{let[e,t]=(0,l.useState)(""),[a,i]=(0,l.useState)(""),[r,n]=(0,l.useState)(!1),[o,c]=(0,l.useState)(""),[d,u]=(0,l.useState)([]),[p,x]=(0,l.useState)([]),[g,f]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let e=[],t=[];for(let t=0;t<=20;t++)e.push({label:"".concat(t," year").concat(1!==t?"s":""),value:t.toString()});for(let e=100;e<=2e3;e+=100)t.push({label:"$".concat(e),value:e.toString()});u(e),x(t)},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(m,{setAge:t,age:e,ageList:d,setEstimate:i,estimate:a,repairEstimateList:p,loading:r,getResults:function(){if(!e||!a)return;let t=Number(e),s=Number(a);if(Number.isNaN(t)||Number.isNaN(s))return;n(!0);let l=s*t;f(l);let i="";c(i=t<=5?"Warranty likely covers repair":l>=5e3?"Replace":"Repair"),setTimeout(()=>{n(!1)},3e3),(0,h.M)({event:"repair-replace-calculator",result_type:i,system_age:t,repair_estimate:s})},result:o,finalEstimate:g})})}},50613:function(e,t,a){var s=a(85893),l=a(14701),i=a(67294),r=a(16829);t.Z=e=>{let{placeholder:t="Choose One",onSelect:a,options:n,resultsPlaceholder:o,dataTrackingProps:c,containerClassName:d,buttonClassName:u,listClassName:p,optionClassName:x,iconClassName:m}=e,[h,g]=(0,i.useState)(!1),[f,b]=(0,i.useState)({label:t,value:null}),[j,y]=(0,i.useState)(!1);function v(){g(!0)}function w(){g(!1)}let N=n?n.map(e=>(0,s.jsx)("li",{onClick:()=>{b(e),j||y(!0),a&&a(e.value),w()},className:(0,r.Z)("cursor-pointer py-1 transition-all hover:text-red-700",x),children:e.label},e.value)):"";return(0,s.jsxs)("div",{tabIndex:0,onBlur:w,onFocus:v,className:(0,r.Z)("relative",d),children:[(0,s.jsxs)("button",{className:(0,r.Z)("flex w-full cursor-pointer justify-between rounded border-2 border-gray-200 p-3",j?"text-black":"text-gray-500",u),onClick:v,"aria-haspopup":"listbox","data-position":null==c?void 0:c.position,"data-location":null==c?void 0:c.location,"data-action":(null==c?void 0:c.action)||"dropdown","data-text-grouping":(null==c?void 0:c.textGrouping)||"","data-text":null==c?void 0:c.text,"data-type":(null==c?void 0:c.type)||"dropdown",children:[o||f.label,(0,s.jsx)("i",{className:(0,r.Z)("my-auto",m),children:(0,s.jsx)(l.Z,{svgClass:"stroke-trane-red"})})]}),(0,s.jsx)("ul",{className:(0,r.Z)("absolute top-5 mb-6 max-h-190 w-full list-none overflow-scroll rounded-b border-2 border-gray-200 bg-white p-3 transition-all",h?"visible z-50 translate-y-7 bg-white opacity-100":"pointer-events-none invisible opacity-0",p),"data-testid":"select-list",children:N})]})}},25629:function(e,t,a){a.d(t,{ZP:function(){return f}});var s=a(85893),l=a(67294),i=a(93075),r=a(24750),n=a(1371),o=a(39538),c=a(31941),d=a(93967),u=a.n(d);let p=l.createContext(null),x=()=>{let e=l.useContext(p);if(null==e)throw Error("Tooltip components must be wrapped in <Tooltip />");return e};function m(e){let{children:t,...a}=e,o=function(){let{initialOpen:e=!1,placement:t="top",open:a,onOpenChange:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[o,c]=l.useState(e),d=null!=a?a:o,u=null!=s?s:c,p=l.useRef(null),x=(0,i.YF)({placement:t,o
1pen:d,onOpenChange:u,whileElementsMounted:r.Me,middleware:[(0,n.cv)(10),(0,n.X5)({padding:10}),(0,n.uY)({padding:10}),(0,n.x7)({element:p})]}),{delay:m}=(0,i.Qu)(x.context),h=x.context,g=(0,i.XI)(h,{move:!1,enabled:null==a,delay:m}),f=(0,i.KK)(h,{enabled:null==a}),b=(0,i.bQ)(h),j=(0,i.qs)(h,{role:"tooltip"}),y=(0,i.NI)([g,f,b,j]);return l.useMemo(()=>({open:d,setOpen:u,arrowRef:p,...y,...x}),[d,u,p,y,x])}(a);return(0,s.jsx)(p.Provider,{value:o,children:t})}let h=l.forwardRef(function(e,t){let{children:a,asChild:r=!1,...n}=e,o=x(),c=a.ref,d=(0,i.qq)([o.refs.setReference,t,c]);return r&&l.isValidElement(a)?l.cloneElement(a,o.getReferenceProps({ref:d,...n,...a.props,"data-state":o.open?"open":"closed"})):(0,s.jsx)("button",{ref:d,"aria-label":"tooltip","data-state":o.open?"open":"closed",...o.getReferenceProps(n),"data-position":"body","data-location":"popup","data-action":"toggle","data-text":"tooltip","data-type":"button",children:a})}),g=l.forwardRef(function(e,t){let a=x(),{currentId:l,isInstantPhase:r}=(0,i.Qu)(a.context),n=(0,i.qq)([a.refs.setFloating,t]);(0,i.Qu)(a.context,{id:a.context.floatingId});let{isMounted:o,styles:c}=(0,i.Y_)(a.context,{duration:r?{open:0,close:l===a.context.floatingId?200:0}:200,initial:{opacity:0}
1});return o?(0,s.jsx)(i.ll,{children:a.open&&(0,s.jsxs)("div",{id:"tooltip-content",ref:n,style:{...a.floatingStyles,...e.style,...c},...a.getFloatingProps(e),className:u()("z-[20000] w-64 overflow-visible rounded-lg bg-white p-6 shadow-xl transition-opacity md:absolute md:w-96"),children:[e.children,(0,s.jsx)(i.Y$,{ref:a.arrowRef,context:a.context,tipRadius:2,fill:"white",role:"tooltip pointer arrow"})]})}):null});function f(e){let{children:t,hubCard:a=!1,iconClass:l,productCard:r=!1,svgClass:n,useLowGlobalWarmingIcon:d=!1,wrapperClassname:p,globalWarmingIconTextColor:x="black"}=e;return(0,s.jsx)(i.e0,{delay:{open:10,close:400},children:(0,s.jsxs)(m,{children:[(0,s.jsx)("span",{className:u()("inline-block pl-2",p),children:(0,s.jsx)("i",{className:u()(null!=l?l:"z-1 relative"),"aria-labelledby":"tooltip-content",children:(0,s.jsx)(h,{children:d?(0,s.jsx)(c.Z,{iconClasses:"".concat(r?"lg:max-w-[145px] xl:max-w-[155px]":""," ").concat(a?"lg:max-w-[185px] xl:max-w-full":""),fill:x}):(0,s.jsx)(o.Z,{svgClass:n})})})}),(0,s.jsx)(g,{className:"Tooltip",children:t})]})})}},72934:function(e,t,a){a.d(t,{Z:function(){return i}});var s=a(85893),l=a(47013),i=e=>{let{onClick:t,disabled:a=!1}=e;return(0,s.jsx)(l.Z,{onClick:t,disabled:a,disableBase:!0,addClass:"h-12 w-full cursor-pointer rounded-full px-4 py-0 text-center text-14 font-bold tracking-wide text-white text-sm",primary:!0,width:"full",dataTrackingProps:{position:"body",location:"hero",action:"form entry",textGrouping:"cta",text:"Get Results",type:"button"},children:"Get results"})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.