(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,192066,e=>{e.v("/_next/static/media/SlideshowIcon.dec5e13d.png")},15819,e=>{e.v("/_next/static/media/morning-brief-logo.c6e2f5db.svg")},217817,e=>{e.v("/_next/static/media/ellipse.906fdd19.png")},438335,e=>{"use strict";var t=e.i(694914);e.s(["getPublicProductionURL",0,e=>{let i=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",r=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"wxnext.weather.com",n=`https://${i??r}`;return e?new URL(e,n).toString():n},"getPublicURL",0,e=>{let i,r=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),n=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-main.vercel.weather.com",l=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",o="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(r){case"preview":i=`https://${n}`;break;case"development":i=o?`http://${l}`:`https://${l}`;break;default:i=`https://${l}`}return e?new URL(e,i).toString():i}])},245308,e=>{"use strict";var t=e.i(297647),i=e.i(477716),r=e.i(747961);let n=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:n,...l},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,children:r}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"View"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,t.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:n,...e}));l.displayName="View",e.s(["View",0,l])},271818,e=>{"use strict";var t=e.i(477716);e.i(481938);var i=e.i(762073),r=e.i(297647),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let l=(0,i.createSlot)(`Primitive.${n}`),o=t.forwardRef((e,t)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(i?l:n,{...o,ref:t})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});e.s(["Primitive",()=>n])},370220,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getEmailPreferencesStatusUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/status"}},i.getEmailPreferencesSetUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/set"}},i.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/change-email"}}},454307,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.setEmailPreferences=o,i.updateSubscription=a;let r=e.r(678651),n=e.r(414655),l=e.r(370220);async function o(e){let t=(0,l.getEmailPreferencesSetUrlConfig)(),i=(0,r.urlFrom)(t),o=JSON.stringify(function(e){let{subscriptions:t,email:i,mParticleId:r}=e,n={};return t&&(n.subscriptions=t),i&&(n.email=i),r&&(n.mParticleId=r),n}(e)),a=await fetch(i,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:o});return 200===a.status||400===a.status?await a.json():(0,n.handleFetchResponse)(a)}async function a(e,t,i){return o({subscriptions:[{subscriptionGroupName:e,isSubscribed:t,...i&&{attributes:i}}]})}},451086,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getEmailPreferencesStatus=o;let r=e.r(678651),n=e.r(414655),l=e.r(370220);async function o(){let e=(0,l.getEmailPreferencesStatusUrlConfig)(),t=(0,r.urlFrom)(e),i=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,n.handleFetchResponse)(i)}},952582,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.DEFAULT_SUBSCRIPTIONS=i.MARKETING_EMAILS_GROUP=i.DAILY_NEWSLETTERS_GROUP=void 0,i.DAILY_NEWSLETTERS_GROUP="daily-newsletters-1",i.MARKETING_EMAILS_GROUP="marketing-emails-1",i.DEFAULT_SUBSCRIPTIONS=[{subscriptionGroupName:i.DAILY_NEWSLETTERS_GROUP,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:i.MARKETING_EMAILS_GROUP,subscriptionGroupId:"",isSubscribed:!1}]},422825,e=>{"use strict";var t=e.i(475566),i=e.i(381477),r=e.i(454307),n=e.i(451086);let l=(0,e.i(233601).atomWithStorage)("emailPreferences",null,void 0,{getOnInit:!0});var o=e.i(528600),a=e.i(952582),s=e.i(477716);function c(e,t){let i=t?.length?t:a.DEFAULT_SUBSCRIPTIONS,r={};return e?(i?.forEach(e=>{r[e.subscriptionGroupName]=e}),e.forEach(e=>{r[e.subscriptionGroupName]=e}),Object.values(r)):i}e.s(["useEmailPreferences",0,()=>{let[e,a]=(0,t.useAtom)(l),{user:u}=(0,o.useUser)(),d=u?.userID||null,m=u?.isUserLoggedIn||!1,p=(0,s.useCallback)(t=>{d&&a({userId:d,expiry:Date.now()+9e5,subscriptions:c(t,e?.subscriptions)})},[d,a,e?.subscriptions]),h=e&&e.userId===d&&e.expiry&&e.expiry>Date.now();(0,i.default)(d&&m&&!h?`getEmailPreferencesStatus/${d}`:void 0,()=>(0,n.getEmailPreferencesStatus)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{d&&e&&p(e.subscriptions)}});let g=(0,s.useCallback)(async(t,i)=>{let n=await (0,r.setEmailPreferences)({subscriptions:t,email:m?void 0:i});return"success"===n.status&&p(c(t.map(e=>({...e,subscriptionGroupId:""})),e?.subscriptions)),n},[]);return{subscriptions:d&&e?e.subscriptions:null,updateSubscriptions:p,updateEmailPreference:g}}],422825)},506424,796424,e=>{"use strict";function t(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e.replace(/GMT(?![+-])/,"GMT+0000")).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),i=/([+-])(\d{2})(\d{2})$/;i.test(t)&&(t=t.replace(i,"$1$2:$3"));let r=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(r).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":r}e.s(["getNormalizedDateString",()=>t],796424),e.s(["getCompatibleValues",0,({date:e,timeZone:i})=>({cDate:new Date(t(e)),cTimeZone:(e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return"Etc/UTC"}})(i)})],506424)},289607,e=>{"use strict";var t=e.i(506424);let i=(e,i,r,n)=>{let{cDate:l,cTimeZone:o}=(0,t.getCompatibleValues)({date:e,locale:i,timeZone:r}),a=n??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return a.timeZone=o,{cDate:l,cTimeZone:o,formatOptions:a}};e.s(["formatIntlDateParts",0,(e,t,r,n)=>{if(!e)return[];let{cDate:l,formatOptions:o}=i(e,t,r,n);return new Intl.DateTimeFormat(t,o).formatToParts(l)},"formatIntlDateString",0,(e,t,r,n)=>{if(!e)return"";let{cDate:l,formatOptions:o}=i(e,t,r,n);return new Intl.DateTimeFormat(t,o).format(l)}])},127667,e=>{"use strict";let t=(0,e.i(514514).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],127667)},590238,e=>{"use strict";var t=e.i(537989),i=e.i(827049),r=e.i(695203),n=e.i(604323),l=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,l.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[i.pageLocaleAtom,e.pageLocale],[r.deviceClassAtom,e.deviceClass],[n.metricsArticleDataAtom,e.metricsArticleData]]),null)])},143851,e=>{"use strict";var t=e.i(475566),i=e.i(186316),r=e.i(45846),n=e.i(310847),l=e.i(776169),o=e.i(671525),a=e.i(477716),s=e.i(947118),c=e.i(737801),u=e.i(521350);function d(){let e,d,m,p,h,g=(0,t.useSetAtom)(n.userHasLoggedInBeforeAtom),f=(0,t.useAtomValue)(n.wxuLoginRedirectPageAtom),b=(0,t.useAtomValue)(n.wxuUserAnonymousIdAtom),y=(0,i.useGetCookie)(),{syncPreferencesFromUpsx:w,updatePreferences:v}=(0,l.usePreferences)(),{navigate:I}=(0,o.default)(),{login:S}=(e=(0,s.useIsInitialized)(),d=(0,a.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let i={userIdentities:{customerid:t.customerid,email:t.email,other:t.other}};return window.mParticle?.Identity?.identify?.(i)},[e]),{identify:d,login:(0,a.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let i={userIdentities:{customerid:t.customerid,email:t.email,facebook:t.facebook,facebookcustomaudienceid:t.facebookcustomaudienceid,google:t.google,microsoft:t.microsoft,other:t.other,other2:t.other2,other3:t.other3,other4:t.other4,twitter:t.twitter,yahoo:t.yahoo}};return window.mParticle?.Identity?.login?.(i)},[e]),logout:(0,a.useCallback)(()=>e?window.mParticle?.Identity?.logout?.({userIdentities:{}}):(console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"))),[e])}),E=(m=(0,s.useIsInitialized)(),p=(0,c.useEventAttributes)(),h=(0,a.useCallback)((e,t={})=>{let i={...p,...t};if(!m)return void console.warn("MParticle is not initialized");try{window.mParticle.logEvent(e,window.mParticle.EventType.Other,i),console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}return h},[p,m])),x=async()=>{try{if(y("premium"))return null;return await r.upsxClient.purchase.getPurchaseToken(),!0}catch(e){return console.error("Failed to get UPSX token:",e),!1}},C=()=>{I(f,{mpa:!0})},T=async(e,t=!0)=>{(0,u.isLocalStorageAvailable)()&&localStorage.setItem("PARTNERS_SYNC","true"),g(!0),await w()||await v({}),x(),e?.userID&&(S({email:e.email,customerid:e.userID,other:b}),E("login"===e.type?"user-loggedin":"signup-complete",{url:window.location.pathname})),t&&C()};return{login:async(e,t)=>{try{let i=await r.upsxClient.auth.login({email:e,password:t});return i&&await T({email:i.email,userID:i.userID,type:"login"}),!0}catch(e){return console.error("Failed to login",e),!1}},authSuccess:T,authRedirect:C}}e.s(["useUserLogin",()=>d],143851)},404893,e=>{"use strict";let t=(0,e.i(751931).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},874905,e=>{"use strict";e.i(694914);var t=e.i(297647),i=e.i(241722),r=e.i(477716),n=e.i(475566),l=e.i(352194),o=e.i(671525),a=e.i(901351),s=e.i(310847),c=e.i(776169),u=e.i(143851),d=e.i(404893),m=e.i(367810);function p({onLoad:e,prompt:p=!0,isUserLoggedIn:h}){let g=(0,l.useTranslations)("GoogleLogin"),f=(0,n.useSetAtom)(d.googleLoginInitilizedAtom),{loginWithGoogle:b,error:y,clearError:w}=function(){let e=(0,l.useTranslations)("GoogleLogin"),[t,i]=(0,r.useState)(null),d=(0,n.useSetAtom)(s.userHasLoggedInBeforeAtom),{refresh:m}=(0,o.usePageNavigation)(),{syncPreferencesFromUpsx:p}=(0,c.usePreferences)(),{authSuccess:h}=(0,u.useUserLogin)();return{loginWithGoogle:(0,r.useCallback)(async t=>{let{credential:r}=t;i(null);try{let e=await a.upsxClient.auth.loginWithGoogle({google_id_token:r});return await h({email:e.email,userID:e.userID,type:e?.user?.isFirstLogin?"signup":"login"}),!0}catch(t){console.error("Failed to login with Google",t);try{let r=t?.data,n=r?.messageCode;if(!n)throw Error("No Error Message");switch(n){case 1e3:case 1026:case 1033:i({header:e("emailAlreadyUsedGoogleHeader"),body:e.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:i({header:e("emailAlreadyRegisteredGoogleHeader"),body:e("emailAlreadyRegisteredGoogleBody")});break;default:throw Error("No Specific Error")}}catch(t){i({header:e("somethingWentWrong")})}return!1}},[d,p,m,h]),error:t,clearError:(0,r.useCallback)(()=>{i(null)},[])}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{src:"https://accounts.google.com/gsi/client",onLoad:()=>{let t=window.google?.accounts?.id;t&&(t.initialize({client_id:"797231885346-rai9vgnvf4u38enai8bhginnnrh5uvch.apps.googleusercontent.com",context:"signin",ux_mode:"popup",use_fedcm_for_prompt:!0,callback:e=>{b(e)}}),f(!0)),e?.(),!h&&p&&t?.prompt()},id:"google-gsi-script"}),(0,t.jsx)(m.Dialog,{open:!!y,onOpenChange:e=>!e&&w(),children:(0,t.jsx)(m.BasicDialog,{showCloseButton:!1,title:y?.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:y?.body||""}}),primaryAction:{label:g("cancel")}})})]})}e.s(["GoogleAuthScript",()=>p],874905)},668319,e=>{"use strict";var t=e.i(297647),i=e.i(241722);function r({heliosConfig:e}){let r=JSON.stringify(e);return(0,t.jsx)(i.default,{id:"helios-config",children:`window.__HeliosConfig = ${r}; window.__HeliosConfig.generalConfig.breakpoint.active = window.screen.width > 1024 ? 'lg' : window.screen.width >= 768 ? 'md' : 'sm'; window.__HeliosQ = window.__HeliosQ || []; window.__HeliosQ.push(function () { window.__Helios.emit('USER_PROFILE_READY'); });`})}e.s(["default",()=>r])},860557,e=>{"use strict";var t=e.i(903823),i=e.i(297647),r=e.i(241722),n=e.i(477716);e.i(694914);function l({heliosScriptUrl:e="https://s.w-x.co/helios/twc/1.75.1/helios.js"}){let l=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e}();return e?l&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.default,{src:e}),...function(){let e=[];try{let i=t.Buffer.from("IShmdW5jdGlvbihyLF9uYW1lKXtyW19uYW1lXT1yW19uYW1lXXx8ZnVuY3Rpb24gdCgpeyh0LnE9dC5xfHxbXSkucHVzaChhcmd1bWVudHMpfSxyW19uYW1lXS52PXJbX25hbWVdLnZ8fDIscltfbmFtZV0ucz0iMyI7IShmdW5jdGlvbihyLHQsSCx6KXtmdW5jdGlvbiB4KEgseil7dHJ5e3g9ci5sb2NhbFN0b3JhZ2UsKEg9SlNPTi5wYXJzZSh4W2RlY29kZVVSSShkZWNvZGVVUkkoJyU2NyUyNTY1JTI1JTM3JTM0JTQ5JTI1NzQlNjUlMjU2ZCcpKV0oIl9hUVMwMk5UUXpSVVZET0VNNVJVRkJRall4TmtaRlJUbEZPVFl0TVEiKSkubGdrfHxbXSkmJih6PXJbdF0ucHViYWRzKCkpJiZILmZvckVhY2goKGZ1bmN0aW9uKHIpe3ImJnJbMF0mJnouc2V0VGFyZ2V0aW5nKHJbMF0sclsxXXx8IiIpfSkpfWNhdGNoKFEpe312YXIgeH10cnl7KHo9clt0XT1yW3RdfHx7fSkuY21kPXouY21kfHxbXSx0eXBlb2Ygei5wdWJhZHM9PT1IP3goKTp0eXBlb2Ygei5jbWQudW5zaGlmdD09PUg/ei5jbWQudW5zaGlmdCh4KTp6LmNtZC5wdXNoKHgpfWNhdGNoKFEpe319KSh3aW5kb3csJyUyNSUzNiUzNyUyNTZmJTI1NmYlMjU2JTM3bCUyNTY1dCUyNSUzNiUzMWcnLCJmdW5jdGlvbiIpOzt9KSh3aW5kb3csZGVjb2RlVVJJKGRlY29kZVVSSSgnJTYxZCU2ZCUyNSUzNiUzOSUyNSUzNyUzMmElMjUlMzZjJykpKTshKGZ1bmN0aW9uKHIsdCxILHope0g9ci5jcmVhdGVFbGVtZW50KHQpLHI9ci5nZXRFbGVtZW50c0J5VGFnTmFtZSh0KVswXSxILmFzeW5jPTEsSC5zcmM9Imh0dHBzOi8vbHV4Zm9ybXVsYS5jb20vY2h1bmtzL2JhNTEyM2YxY2MwZjIwYWYvYzI0MzJiYTcubWFpbi5qcyIsKHo9MCkmJnooSCksci5wYXJlbnROb2RlLmluc2VydEJlZm9yZShILHIpfSkoZG9jdW1lbnQsInNjcmlwdCIpOw==","base64").toString("utf-8");e.push({code:i})}catch(e){console.error(e)}return e.map((e,t)=>e.src?(0,i.jsx)(r.default,{src:e.src,async:!0},`helios-script-${t}`):(0,i.jsx)(r.default,{id:`helios-script-${t}`,children:e.code},`helios-script-${t}`))}()]}):null}e.s(["default",()=>l],860557)},126281,e=>{"use strict";var t=e.i(297647),i=e.i(477716),r=e.i(381477),n=e.i(889951),l=e.i(349262),o=e.i(475566),a=e.i(316078),s=e.i(747961);let c=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:n,...l},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":n,...l,children:[r?(0,t.jsx)("desc",{id:n,children:r}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"No Data"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,t.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"})})]})),u=i.default.forwardRef((e,i)=>(0,t.jsx)(s.BaseIcon,{ref:i,icon:c,...e}));u.displayName="NoData";var d=e.i(674885),m=e.i(617874);function p({node:e}){let[s,c]=(0,i.useState)(null),[p,h]=(0,i.useState)(!0),[g,f]=(0,i.useState)(null),b=(0,o.useAtomValue)(d.userUnitPreferenceAtom),y=(0,m.unitsSystemByName)(b)?.code,{data:w,error:v}=(0,r.default)(e.geocode?["currentConditions",e.geocode,y]:null,async([e,t,i])=>{try{return await (0,n.getCurrentObservations)({geocode:t,units:i,language:"en-US"})}catch(e){return console.error("Error fetching weather:",e),null}},{revalidateOnFocus:!1,dedupingInterval:3e5});(0,i.useEffect)(()=>{w?(c(Math.round(w.temperature)),h(!1)):v&&(f(v),h(!1))},[w,v]);let I=e.placeId?`/weather/today/l/${e.placeId}`:"#";return(0,t.jsxs)("a",{href:I,className:"inline-flex items-center gap-1",children:[(0,t.jsx)("span",{className:"border-b-2 border-dotted border-black",children:e.locationName}),p?(0,t.jsx)("span",{className:"text-gray-400",children:"..."}):g?(0,t.jsx)("span",{className:"text-gray-400",children:"!"}):(0,t.jsxs)("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2",children:[w?.iconCode!==void 0&&(0,t.jsx)("span",{className:"flex items-center",children:"na"!==(l.ICON_CODE_MAP[w.iconCode]||"na")?(0,t.jsx)(a.WxIcon,{iconCode:w.iconCode,className:"lightBG","aria-label":l.ICON_CODE_MAP[w.iconCode]||`Weather condition ${w.iconCode}`,iconTheme:"lightBG",size:"sm"}):(0,t.jsx)(u,{className:"lightBG","aria-label":"Weather icon not available",size:"sm"})}),(0,t.jsxs)("span",{className:"font-medium",children:[s,"°"]})]})]})}e.s(["WeatherLocationTickerClientComponent",()=>p],126281)},875459,e=>{"use strict";var t=e.i(297647),i=e.i(528600),r=e.i(421956);let n=({image:e,title:n,loggedInContent:l,loggedOutContent:o})=>{let{user:a}=(0,i.useUser)(),s=a.isUserLoggedIn,c={blockType:"promoDriver",image:e,title:n};return s?(0,t.jsx)(r.PromoDriverBlock,{...c,subtitle:l.subtitle,bodyText:l.bodyText,ctaButton:l.ctaText||l.ctaUrl?{text:l.ctaText||"Learn More",url:l.ctaUrl||"/",openInNewTab:!1}:void 0}):(0,t.jsx)(r.PromoDriverBlock,{...c,subtitle:o.subtitle,bodyText:o.bodyText,ctaButton:o.ctaText||o.ctaUrl?{text:o.ctaText||"Learn More",url:o.ctaUrl||"/",openInNewTab:!1}:void 0})};e.s(["AuthAwarePromoDriver",0,n,"default",0,n])},123590,e=>{"use strict";var t=e.i(947118),i=e.i(737801),r=e.i(630986),n=e.i(477716);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",l=(0,t.useIsInitialized)(),o=(0,i.useEventAttributes)(),a=(0,r.useCMSAttributes)();return(0,n.useCallback)(t=>{let i={createdDate:a?.createdDate||"",contentId:a?.contentId||"",publishDate:a?.publishDate||"",author:a?.author||"",collection:a?.collection||"",entitlements:a?.entitlements||"",provider:a?.provider||"",linkType:t.linkType,linkURL:t.linkURL,linkText:t.linkText||"",moduleId:t.moduleId||"",...o,physicalCountry:o.physicalCountry||"",physicalState:o.physicalState||"",wlocCity:o.wlocCity||"",wlocCountry:o.wlocCountry||"",wlocState:o.wlocState||"",regime:o.regime||""};if(!l)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,i),console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a?.createdDate,a?.contentId,a?.publishDate,a?.author,a?.collection,a?.entitlements,a?.provider,o,l])}])},888493,e=>{"use strict";var t=e.i(297647),i=e.i(123590),r=e.i(477716);e.s(["ArticlePartnerDisclaimerWrapper",0,({children:e})=>{let n=(0,r.useRef)(null),l=(0,i.useTrackContentLinkClick)();return(0,r.useEffect)(()=>{let e=n.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 i=null!==t.querySelector("img"),r=t.getAttribute("href")||"",n=t.textContent||"",o=r.startsWith("http")||r.startsWith("//");l({linkType:i?"partner-logo":o?"external":"internal",linkURL:r,linkText:n,moduleId:"partner-byline"}),console.debug("Partner byline link clicked:",{linkType:i?"partner-logo":o?"external":"internal",linkURL:r,linkText:n,moduleId:"partner-byline"})};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[l]),(0,t.jsx)("div",{ref:n,"data-partner-byline":!0,children:e})}])},478086,e=>{"use strict";var t=e.i(297647),i=e.i(123590),r=e.i(477716);e.s(["ArticleBodyWrapper",0,({children:e})=>{let n=(0,r.useRef)(null),l=(0,i.useTrackContentLinkClick)();return(0,r.useEffect)(()=>{let e=n.current;if(!e)return;let t=e=>{let t=e.target.closest("a");if(!t)return;let i=t.getAttribute("href")||"",r=t.textContent||"",n=i.startsWith("/"),o=i.includes("weather.com"),a=!n&&!o&&(i.startsWith("http")||i.startsWith("//"));l({linkType:a?"external":"internal",linkURL:i,linkText:r,moduleId:"article-body"}),console.debug("Article body link clicked:",{linkType:a?"external":"internal",linkURL:i,linkText:r,moduleId:"article-body"})};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[l]),(0,t.jsx)("div",{ref:n,children:e})}])},137688,e=>{e.v(t=>Promise.all(["static/chunks/775f6992a5490e4c.js"].map(t=>e.l(t))).then(()=>t(72990)))}]);