(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},269186,328166,e=>{"use strict";var t=e.i(902875),a=e.i(247865);e.s(["Card",0,function({src:e,alt:a,top:l,left:i,width:s}){return(0,t.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:l,left:i,width:s}})},"CompositeFrame",0,function({left:e,top:a,width:l,height:i,children:s}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:a,width:l,height:i},children:s})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:l,color:i,cx:s,cy:r,rx:n,ry:o}){let c=(0,a.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${l}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:s,cy:r,rx:n,ry:o,fill:i})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:l,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],269186);let l={src:e.i(834005).default,width:516,height:380,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAoklEQVR42h3Lyw6CMBRF0f7/ZzFxZEKiMYKiJjz6oAVuW4Fc0WPDYM/WFodTl12LG5flnavHk4eRePKRpe75WNhMnCubN02Dtm33jDEg7+GGAZfXmAtlXKjrGl3XQimFdV2xzDMiTQm+gxgnYqcV4mAxx4CQbu8MFl1jpYkFJTBqCW86UEJSSoQEtkj4MLMIYaa+t9xbx9rYPR8ib1/wwj/6A1qGsw/Ra/bcAAAAAElFTkSuQmCC"};e.s(["default",0,l],328166)},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(240058),i=e.i(64412),s=e.i(677997),r=e.i(995113),n=e.i(702957),o=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),m=e.i(876329),p=e.i(160937),f=e.i(64344),h=e.i(51398),g=e.i(240027),x=e.i(632137),b=e.i(546446),y=e.i(942400),v=e.i(537989);e.i(647872);var w=e.i(494889),C=e.i(611540),A=e.i(738426),j=e.i(468104),S=e.i(18358),k=e.i(381477),N=e.i(190344),I=e.i(427977),_=e.i(725287),P=e.i(559421),L=e.i(388706),$=e.i(498076),U=e.i(581014),D=e.i(304116),R=e.i(379276),E=e.i(269153),F=e.i(528600),B=e.i(837879),T=e.i(683199),M=e.i(677691),O=e.i(429745),z=e.i(269186),G=e.i(328166),H=e.i(710746),W=e.i(697380),V=e.i(512134),q=e.i(521350),Y=e.i(358273);let Q="wx-next/get-app-button:dismissed-session",K=["/hourbyhour","/tenday","/radar","/download-app"];function X(){let e=(0,$.useIsMobile)(),l=(0,_.usePathname)(),i=(0,b.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:r}=function(){let e=(0,V.useIsClient)(),[t,l]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,q.isLocalStorageAvailable)())return null;try{return localStorage.getItem(Q)}catch{return null}}();if(!e)return!1;let t=(0,Y.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,Y.getMetricsSession)()?.sessionId;if(e&&(0,q.isLocalStorageAvailable)())try{localStorage.setItem(Q,e)}catch{}l(!0)},[])}}(),{href:n}=(0,M.useAppInstallLink)("floating-button","floating-button"),o=(0,A.useTrackInstallPromptClick)("floating-button"),c=(0,j.useTrackModuleClick)();if(!e||s||K.some(e=>l.includes(e)))return null;let u=`calc(3.5rem + ${i}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:u},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href:n,onClick:()=>o("get-the-app"),className:"relative z-2 flex h-full items-center gap-2 pr-2 pl-4 font-semibold text-white no-underline focus:outline-none",children:(0,t.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:()=>{c("floating-get-the-app-button","dismiss"),r()},className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(H.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,H=(0,$.useIsMobile)(),W=(0,_.usePathname)(),V=(0,P.useCanonicalBasePath)(),[q,Y]=(0,a.useState)(!1),{href:Q}=(0,M.useAppInstallLink)("my-plans","my-plans"),K=(0,A.useTrackInstallPromptClick)("my-plans"),J=(e=(0,S.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,j.useTrackModuleClick)(),ee=(0,E.useIsSamsungPartner)(),et=(0,b.useAtomValue)(v.pageIdAtom),ea=(0,U.useTranslations)("SidebarNavigation"),{user:el}=(0,F.useUser)(),{isUserPremium:ei}=el,es=(0,B.useSubscriptionsEnabled)(),er=(0,T.usePremiumSource)(),{location:en,isLoading:eo}=(0,i.useLocation)(),ec=(0,y.usePageLocale)(),eu=(0,b.useAtomValue)(w.newsHubEnabledAtom),ed=(0,N.useVideoNavUrl)(),{data:em}=(0,k.default)(["navigation/getQuickNav",ec],()=>(0,I.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,a.useMemo)(()=>{if(eo||!en)return[];let e=en.placeId||"",a=en.featureId,l=en.canonicalID,i=(0,D.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:l,featureId:a,placeId:e,canonicalBasePath:V,skipCanonical:ee}),x=(0,D.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:l,featureId:a,placeId:e,canonicalBasePath:V,skipCanonical:ee}),b=V?(0,L.navTypeForSuffix)(W.split("/").pop()):null,y="en-US"===ec?"/":`/${ec}`,v=W===y||"/"!==y&&W===`${y}/`||(V?"forecast"===b:W.includes("/weather/today/")||W.includes("/weather/hourbyhour/")||W.includes("/weather/tenday/")||W.includes("/weather/monthly/")||W.includes("/forecast/allergy/")||W.includes("/forecast/air-quality/")||W.includes("/forecast/cold-flu/")),w=V?"radar"===b:W.includes("/weather/radar/")||W.includes("/weather/maps/"),A=W.includes("/subscribe"),j="video"===et,S=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||R.NEWS_PAGE_IDS.includes(et??""),k="en-US"===ec&&eu,N=em?.videoLinkLocaleInclude?.["en-US"],I=N?.override?`?${N?.adRef}`:"",_=ed?`${ed}${I}`:"",P="h-6 w-6 text-inherit";return[{name:ea("forecast"),href:i,icon:(0,t.jsx)(n.PartlyCloudyBold,{className:P}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:P}),isActive:v},...k?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(h.News,{className:P}),activeIcon:(0,t.jsx)(g.NewsFilled,{className:P}),isActive:S}]:ed?[{name:ea("video"),href:_,icon:(0,t.jsx)(c.VideoPlayerBold,{className:P}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:P}),isActive:j}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{J(),Y(!0)},icon:(0,t.jsx)(p.CalendarBold,{className:P}),activeIcon:(0,t.jsx)(f.CalendarBoldFilled,{className:P}),isActive:!1}],{name:ea("radar"),href:x,icon:(0,t.jsx)(d.RadarBold,{className:P}),activeIcon:(0,t.jsx)(m.RadarBoldFilled,{className:P}),isActive:w},...es&&!ei&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(s.Lightning,{className:P}),activeIcon:(0,t.jsx)(r.LightningFilled,{className:P}),isActive:A,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,en,ec,W,et,eu,ed,em,V,er,ee,J]);if(!H)return null;let ef="en-US"===ec&&!ee;return 0===ep.length?ef?(0,t.jsx)(X,{}):null:(0,t.jsxs)(t.Fragment,{children:[ef&&(0,t.jsx)(X,{}),(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:ep.map(e=>{let a=(0,x.cn)("flex flex-1 flex-col items-center justify-center gap-0.5 rounded-3xl text-xs text-gray-900 transition-colors","hover:bg-gray-100 active:bg-gray-200",{"bg-gray-100 text-blue-500":e.isActive}),i=(0,x.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(l.default,{href:e.href,className:a,"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:i,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:a,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:i,children:e.name})]},e.name)})})})}),(0,t.jsx)(O.InstallPromptSheet,{open:q,onOpenChange:Y,title:"My Plans",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(z.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(z.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(z.Card,{src:G.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:Q,onGetAppClick:()=>Z("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>Z("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>K("learn-more")})]})}],432124)},738426,e=>{"use strict";var t=e.i(247865),a=e.i(598513),l=e.i(990033);let i={"my-plans":"my-plans-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install","allergy-species":"allergy-species-web-to-app-install"},s={"my-plans":{"get-the-app":"Get the app","learn-more":"Learn more"},"24-hour-radar":{"get-the-app":"Get the app","learn-more":"Learn more"},"floating-button":{"get-the-app":"Get the App"},"allergy-species":{"get-the-app":"Get the app"}};e.s(["useTrackInstallPromptClick",0,function(e){let r=(0,a.useSendInteractionEvent)(),n=(0,t.useCallback)((e,t)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,l.v4)()}})},[]);return(0,t.useCallback)(t=>{r({moduleId:i[e],interactionType:"click",interactionElement:s[e][t]},{flushImmediately:!0}),n("web_to_app_install_click",{module:i[e],cta_type:t})},[r,n,e])}],738426)},468104,e=>{"use strict";var t=e.i(247865),a=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,a.useSendInteractionEvent)();return(0,t.useCallback)((t,a)=>{e({moduleId:t,interactionType:"click",interactionElement:a},{flushImmediately:!0})},[e])}])},947118,221085,e=>{"use strict";let t;var a=e.i(247865);let l=new Set,i=0,s=()=>"function"==typeof window.mParticle?.init,r=()=>{void 0!==t&&(clearInterval(t),t=void 0)},n=()=>{if(!s()||(r(),0===l.size))return;let e=[...l];for(let t of(l.clear(),e))t()},o=()=>{void 0===t&&(i=0,t=setInterval(()=>{i+=100,n(),i>=3e4&&r()},100))},c=e=>(l.add(e),o(),()=>{l.delete(e)}),u=e=>s()?(e(),()=>{}):c(e),d=e=>s()?()=>{}:c(e),m=()=>!1;e.s(["subscribeSdkLoaded",0,u,"useIsSdkLoaded",0,()=>(0,a.useSyncExternalStore)(d,s,m),"watchForSdkLoad",0,e=>{if("u"{};if(s())return n(),()=>{};o();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let a=()=>n();return t.addEventListener("load",a),()=>{t.removeEventListener("load",a)}}],221085);let p=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):u(()=>{window.mParticle?.ready?.(e),e()}),f=()=>!!window.mParticle?.isInitialized?.(),h=()=>!1;e.s(["useIsInitialized",0,()=>(0,a.useSyncExternalStore)(p,f,h)],947118)},718043,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},a.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},a.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},a.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:a}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${a}/${e}`}},a.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:a=0,limit:s=10,sort:r="-publishdate"}){let n={q:Object.keys(t).reduce((e,a)=>{let l=t[a];return l instanceof Array?[...e,...l.map(e=>i(a,e))]:[...e,i(a,l)]},[]).join(";"),pg:`${a},${s}`,format:"json",sort:r},o=(0,l.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:i=10,sort:s="-publishdate"}){let r={q:t,pg:`${a},${i}`,format:"json",sort:s},n=(0,l.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},a.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:a=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${a}`}},a.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let l=e.r(678651);function i(e,t){let a=`'${t.$in}'`;return t.$in instanceof Array&&(a=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${a})`}},427977,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getQuickNav=void 0;let l=e.r(414655),i=e.r(678651),s=e.r(718043);a.getQuickNav=async()=>{let e=(0,i.urlFrom)((0,s.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,l.handleFetchResponse)(t)}},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},677997,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:i,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":i,...s,children:[l?(0,t.jsx)("desc",{id:i,children:l}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"lightning"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(l.BaseIcon,{ref:a,icon:i,...e}));s.displayName="Lightning",e.s(["Lightning",0,s])},935807,e=>{"use strict";function t(e,a=[],i=!1,s="US",r){let n,o=a.find(t=>t.placeID===e.placeId);if(o&&i){let t=o.userTag||o.name;if(t&&"Other"!==t){let a=e.displayName,i=l(e,s,""),r="address"===e.type?e.address:void 0;if(t!==a&&t!==i&&t!==r)return t}}if(e?.disputedCountries)n=e.displayName||"";else{switch(e?.type){case"address":n=e?.address?.split(",")[0]?.trim()||"";break;case"city":n=e?.locale?.locale2||"";break;case"locality":n=e?.locale?.locale3||"";break;case"neighborhood":n=e?.locale?.locale4||"";break;case"airport":n=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",a=e?.postalCode||"";n=r?`${t} ${a}`.trim():`${t}`.trim();break}default:n=e?.displayName||""}0===n.length&&(n=e?.displayName||"")}return n}function a(e,t=[],i=!1,s="US",r){let n,o=t.find(t=>t.placeID===e.placeId);if(o&&i){let t=o.userTag||o.name;if(t&&"Other"!==t){let a=e.displayName,i=l(e,s,"");if(t!==a&&t!==i)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let a=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,a].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",l=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${l}`.trim(),a].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}}}(e,s)}}if(e?.disputedCountries)n=e?.displayName||"";else{let t=s===e?.countryCode?"":e?.country||"",a=e?.adminDistrict||"",l=e?.postalCode||"",i=e.city||"";switch(e?.type){case"address":n=[i,a,t].filter(Boolean).join(", ");break;case"city":default:n=[a,t].filter(Boolean).join(", ");break;case"locality":n=[e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"neighborhood":n=[e?.locale?.locale3||e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"postal":{let i=a||e?.locale?.locale2||"";n=[r?`${i} ${l}`.trim():i,t].filter(Boolean).join(", ")}}}return n}function l(e,t,a){let{displayName:l,adminDistrictCode:i,adminDistrict:s,countryCode:r,disputedArea:n,country:o}=e,c=[];return l&&c.push(l),"IL"!==t&&(i?c.push(i):s&&c.push(s)),r!==t&&!1===n&&o&&c.push(o),c.join(a)}e.s(["getLocationContext",0,a,"getLocationName",0,t,"getLocationPresentationName",0,function(e,l=[],i=!1,s="US"){let r=t(e,l,i,s,!1),n=a(e,l,i,s,!0),o=e?.separator?e?.separator:r&&n?", ":"";return`${r}${o}${n}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let a=t.find(t=>t.placeId===e.placeId);return a?{...e,displayName:a.address,address:a.address}:e}])},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},889781,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["nextgenRadarDriverAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),a=e.i(609858);let l=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:s,onUpdateData:r,onSetPageData:n}){let{updateComponentData:o,setPageData:c}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=r||o,m=n||c;return(0,t.useEffect)(()=>{if(i)return l.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),d(e,{...i,_collectedAt:new Date().toISOString()}),()=>{l.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,i,d]),(0,t.useEffect)(()=>{s&&!u.current&&(l.lifecycle("Setting page metadata",{title:s.title,assetName:s.assetName,collection:s.collection}),m({...s,_updatedAt:new Date().toISOString()}),u.current=!0)},[s,m]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(247865);let l=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,l],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(l),s=(0,a.useCallback)((e,t)=>{i(a=>{let l=a?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof l?{...l,...t}:t;return{...a,[e]:i}})},[i]),r=(0,a.useCallback)((e,t)=>{i(a=>{let l=a||{timestamp:new Date().toISOString()},i=l.components||{};if(null===t){let t={...i};return delete t[e],{...l,components:t}}return{...l,components:{...i,[e]:t}}})},[i]),n=(0,a.useCallback)(e=>{s("page",e)},[s]),o=(0,a.useCallback)(e=>{s("route",e)},[s]),c=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&s(e,t)})},[s]);return{debugData:e,updateSection:s,updateComponentData:r,setPageData:n,clearAllDebugData:(0,a.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:o,updatePageDebug:c}}],609858)},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),a=e.i(62544),l=e.i(710746),i=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:r,headline:n,description:o,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:m,getAppLabel:p="Get the app",onGetAppClick:f,learnMoreHref:h,learnMoreLabel:g="Learn more",onLearnMoreClick:x,closeLabel:b="Close",onCloseClick:y,dismissLabel:v,onDismissClick:w})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,i.cn)("flex flex-col gap-6 overflow-y-auto border-0 border-b border-black/10 bg-white px-8 py-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(a.DialogClose,{"aria-label":b,onClick:y,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(l.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),r?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:r}):(0,t.jsx)(a.DialogTitle,{className:"sr-only",children:n}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[d||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:u,className:"size-full rounded-lg object-cover"})}):null),(0,t.jsxs)("div",{className:"flex flex-col gap-2 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:n}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:o})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:m,onClick:f,className:"flex h-12 w-40 items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:p}),h&&(0,t.jsx)("a",{href:h,onClick:x,className:"flex h-12 w-full max-w-60 items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:g}),!h&&v&&(0,t.jsx)(a.DialogClose,{onClick:w,className:"flex h-12 w-full max-w-60 cursor-pointer items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:v})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",l="https://app.appsflyer.com",i="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${a}`,r=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,i,"APPSFLYER_HOST",0,l,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,s,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,r],726812);var n=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:s,currentUrl:r,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!s||null===e)return"";let u="android"===e?t:a,d=n.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=d||`${l}/${u}`,p=encodeURIComponent(s.replace(/ /g,"_")),f=`${m}?pid=WWW&af_adset=${p}&c=${i}`;return c&&(f+=`&deep_link_value=${encodeURIComponent(c)}`),!d&&"ios"===e&&r&&(f+=`&af_ios_fallback=${encodeURIComponent(r)}`),f}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},402525,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:a}){if(!URL.canParse(e))return e;let l=new URL(e);return t&&l.searchParams.set("af_adset",t.replace(/ /g,"_")),a&&l.searchParams.set("deep_link_value",a),l.toString()}])},677691,e=>{"use strict";var t=e.i(247865),a=e.i(726812),l=e.i(16730),i=e.i(881282),s=e.i(546446),r=e.i(402525),n=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,u]=(0,t.useState)(null),[d,m]=(0,t.useState)(null),p=(0,s.useAtomValue)(r.smartScriptClickUrlAtom),f=(0,n.useAppsFlyerConsent)();(0,t.useEffect)(()=>{u((0,i.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let h=(0,l.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:d,allowAppsFlyer:f,deepLinkValue:o}),g="android"===c?a.PLAY_STORE_URL:a.APP_STORE_URL,x=p?(0,r.withCtaAttribution)(p,{trackAdset:e,deepLinkValue:o}):"";return{href:(f&&null!==c?x||h:"")||g,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),a=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,l]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:i}=await (0,a.tryCatch)(t);i||e||l(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);