(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9140],{21679:(e,t,l)=>{"use strict";l.d(t,{ArticleBodyWrapper:()=>a});var r=l(76792),n=l(26413),i=l(42292);let a=e=>{let{children:t}=e,l=(0,i.useRef)(null),a=(0,n.s)();return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;let t=e=>{let t=e.target.closest("a");if(!t)return;let l=t.getAttribute("href")||"",r=t.textContent||"",n=l.startsWith("/"),i=l.includes("weather.com"),o=!n&&!i&&(l.startsWith("http")||l.startsWith("//"));a({linkType:o?"external":"internal",linkURL:l,linkText:r,moduleId:"article-body"}),console.debug("Article body link clicked:",{linkType:o?"external":"internal",linkURL:l,linkText:r,moduleId:"article-body"})};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[a]),(0,r.jsx)("div",{ref:l,children:t})}},26413:(e,t,l)=>{"use strict";l.d(t,{s:()=>o});var r=l(16151),n=l(92700),i=l(153),a=l(42292);let o=()=>{let e="content-link-click",t=(0,r.G)(),l=(0,n.N)(),o=(0,i.A)();return(0,a.useCallback)(r=>{let n={createdDate:(null==o?void 0:o.createdDate)||"",contentId:(null==o?void 0:o.contentId)||"",publishDate:(null==o?void 0:o.publishDate)||"",author:(null==o?void 0:o.author)||"",collection:(null==o?void 0:o.collection)||"",entitlements:(null==o?void 0:o.entitlements)||"",provider:(null==o?void 0:o.provider)||"",linkType:r.linkType,linkURL:r.linkURL,linkText:r.linkText||"",moduleId:r.moduleId||"",...l,physicalCountry:l.physicalCountry||"",physicalState:l.physicalState||"",wlocCity:l.wlocCity||"",wlocCountry:l.wlocCountry||"",wlocState:l.wlocState||"",regime:l.regime||""};if(!t)return void console.warn("MParticle is not initialized");try{var i,a,c,s;null==(s=window.mParticle)||null==(c=s.logEvent)||c.call(s,e,null==(a=window.mParticle)||null==(i=a.EventType)?void 0:i.Other,n),console.debug('MParticle: Event "'.concat(e,'" tracked'),n)}catch(t){console.error('MParticle: Event "'.concat(e,'" failed'),t)}},[null==o?void 0:o.createdDate,null==o?void 0:o.contentId,null==o?void 0:o.publishDate,null==o?void 0:o.author,null==o?void 0:o.collection,null==o?void 0:o.entitlements,null==o?void 0:o.provider,l,t])}},30533:(e,t,l)=>{"use strict";l.d(t,{ArticlePartnerDisclaimerWrapper:()=>a});var r=l(76792),n=l(26413),i=l(42292);let a=e=>{let{children:t}=e,l=(0,i.useRef)(null),a=(0,n.s)();return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;e.querySelectorAll("a").forEach(e=>{e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer")});let t=e=>{let t=e.target.closest("a");if(!t)return;let l=null!==t.querySelector("img"),r=t.getAttribute("href")||"",n=t.textContent||"",i=r.startsWith("http")||r.startsWith("//");a({linkType:l?"partner-logo":i?"external":"internal",linkURL:r,linkText:n,moduleId:"partner-byline"}),console.debug("Partner byline link clicked:",{linkType:l?"partner-logo":i?"external":"internal",linkURL:r,linkText:n,moduleId:"partner-byline"})};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[a]),(0,r.jsx)("div",{ref:l,"data-partner-byline":!0,children:t})}},44700:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(44869).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},59516:(e,t,l)=>{"use strict";l.d(t,{WeatherLocationTickerClientComponent:()=>x});var r=l(76792),n=l(42292),i=l(44615),a=l(86942),o=l(76088),c=l(75302),s=l(11340),d=l(23233);let u=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:a,...o}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":a,...o,children:[i?(0,r.jsx)("desc",{id:a,children:i}):null,void 0===l?(0,r.jsx)("title",{id:n,children:"No Data"}):l?(0,r.jsx)("title",{id:n,children:l}):null,(0,r.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,r.jsx)("path",{d:"M2 8c0-.368.224-.667.5-.667h3.991c.276 0 .5.299.5.667s-.224.667-.5.667H2.5c-.276 0-.5-.299-.5-.667M9.009 8c0-.368.224-.667.5-.667H13.5c.276 0 .5.299.5.667s-.224.667-.5.667H9.509c-.276 0-.5-.299-.5-.667"})})]})}),h=n.forwardRef((e,t)=>(0,r.jsx)(d.h,{ref:t,icon:u,...e}));h.displayName="NoData";var p=l(32035),v=l(71666);function x(e){var t;let{node:l}=e,[d,u]=(0,n.useState)(null),[x,y]=(0,n.useState)(!0),[b,m]=(0,n.useState)(null),k=(0,c.md)(p.Yt),f=null==(t=(0,v.xP)(k))?void 0:t.code,{data:g,error:w}=(0,i.Ay)(l.geocode?["currentConditions",l.geocode,f]:null,async e=>{let[t,l,r]=e;try{return await (0,a.z)({geocode:l,units:r,language:"en-US"})}catch(e){return console.error("Error fetching weather:",e),null}},{revalidateOnFocus:!1,dedupingInterval:3e5});(0,n.useEffect)(()=>{g?(u(Math.round(g.temperature)),y(!1)):w&&(m(w),y(!1))},[g,w]);let C=l.placeId?"/weather/today/l/".concat(l.placeId):"#";return(0,r.jsxs)("a",{href:C,className:"inline-flex items-center gap-1",children:[(0,r.jsx)("span",{className:"border-b-2 border-dotted border-black",children:l.locationName}),x?(0,r.jsx)("span",{className:"text-gray-400",children:"..."}):b?(0,r.jsx)("span",{className:"text-gray-400",children:"!"}):(0,r.jsxs)("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2",children:[(null==g?void 0:g.iconCode)!==void 0&&(0,r.jsx)("span",{className:"flex items-center",children:"na"!==(o.ICON_CODE_MAP[g.iconCode]||"na")?(0,r.jsx)(s.WxIcon,{iconCode:g.iconCode,className:"lightBG","aria-label":o.ICON_CODE_MAP[g.iconCode]||"Weather condition ".concat(g.iconCode),iconTheme:"lightBG",size:"sm"}):(0,r.jsx)(h,{className:"lightBG","aria-label":"Weather icon not available",size:"sm"})}),(0,r.jsxs)("span",{className:"font-medium",children:[d,"\xb0"]})]})]})}},63879:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(44869).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},77766:(e,t,l)=>{"use strict";l.a(e,async(e,r)=>{try{l.d(t,{default:()=>e});var n=l(76792);l(42292);var i=l(25319),a=l(43834);let e=e=>{let{image:t,title:l,loggedInContent:r,loggedOutContent:o}=e,{user:c}=(0,i.J)(),s=c.isUserLoggedIn,d={blockType:"promoDriver",image:t,title:l};return s?(0,n.jsx)(a.PromoDriverBlock,{...d,subtitle:r.subtitle,bodyText:r.bodyText,ctaButton:r.ctaText||r.ctaUrl?{text:r.ctaText||"Learn More",url:r.ctaUrl||"/",openInNewTab:!1}:void 0}):(0,n.jsx)(a.PromoDriverBlock,{...d,subtitle:o.subtitle,bodyText:o.bodyText,ctaButton:o.ctaText||o.ctaUrl?{text:o.ctaText||"Learn More",url:o.ctaUrl||"/",openInNewTab:!1}:void 0})};r()}catch(e){r(e)}})},95386:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});let r={src:"/_next/static/media/atmosphereLogo.8b654638.svg",height:40,width:215,blurWidth:0,blurHeight:0}},96148:e=>{e.exports={partnerByline:"ArticlePartnerDisclaimer_partnerByline__i9hhJ"}},97665:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});let r=(0,l(44869).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}}]);