(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),l=e.i(247865);e.s(["Card",0,function({src:e,alt:l,top:a,left:i,width:r}){return(0,t.jsx)("img",{src:e,alt:l,className:"absolute rounded-xl",style:{top:a,left:i,width:r}})},"CompositeFrame",0,function({left:e,top:l,width:a,height:i,children:r}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:l,width:a,height:i},children:r})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:i,cx:r,cy:n,rx:s,ry:o}){let c=(0,l.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:r,cy:n,rx:s,ry:o,fill:i})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,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 a={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,a],328166)},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(240058),i=e.i(64412),r=e.i(677997),n=e.i(995113),s=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),h=e.i(64344),f=e.i(51398),g=e.i(240027),b=e.i(632137),x=e.i(546446),v=e.i(942400),y=e.i(537989);e.i(647872);var w=e.i(494889),C=e.i(611540),k=e.i(738426),S=e.i(468104),j=e.i(18358),A=e.i(381477),N=e.i(190344),I=e.i(427977),L=e.i(725287),_=e.i(559421),P=e.i(388706),R=e.i(498076),$=e.i(581014),E=e.i(304116),U=e.i(379276),D=e.i(269153),B=e.i(528600),F=e.i(837879),M=e.i(683199),z=e.i(677691),T=e.i(429745),O=e.i(269186),H=e.i(328166),G=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,R.useIsMobile)(),a=(0,L.usePathname)(),i=(0,x.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:r,dismiss:n}=function(){let e=(0,V.useIsClient)(),[t,a]=(0,l.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,l.useCallback)(()=>{let e=(0,Y.getMetricsSession)()?.sessionId;if(e&&(0,q.isLocalStorageAvailable)())try{localStorage.setItem(Q,e)}catch{}a(!0)},[])}}(),{href:s}=(0,z.useAppInstallLink)("floating-button","floating-button"),o=(0,k.useTrackInstallPromptClick)("floating-button"),c=(0,S.useTrackModuleClick)();if(!e||r||K.some(e=>a.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:s,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"),n()},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)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,R.useIsMobile)(),W=(0,L.usePathname)(),V=(0,_.useCanonicalBasePath)(),[q,Y]=(0,l.useState)(!1),{href:Q}=(0,z.useAppInstallLink)("my-plans","my-plans"),K=(0,k.useTrackInstallPromptClick)("my-plans"),J=(e=(0,j.useTrackEvent)(),(0,l.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,S.useTrackModuleClick)(),ee=(0,D.useIsSamsungPartner)(),et=(0,x.useAtomValue)(y.pageIdAtom),el=(0,$.useTranslations)("SidebarNavigation"),{user:ea}=(0,B.useUser)(),{isUserPremium:ei}=ea,er=(0,F.useSubscriptionsEnabled)(),en=(0,M.usePremiumSource)(),{location:es,isLoading:eo}=(0,i.useLocation)(),ec=(0,v.usePageLocale)(),eu=(0,x.useAtomValue)(w.newsHubEnabledAtom),ed=(0,N.useVideoNavUrl)(),{data:em}=(0,A.default)(["navigation/getQuickNav",ec],()=>(0,I.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,l.useMemo)(()=>{if(eo||!es)return[];let e=es.placeId||"",l=es.featureId,a=es.canonicalID,i=(0,E.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:l,placeId:e,canonicalBasePath:V,skipCanonical:ee}),b=(0,E.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:l,placeId:e,canonicalBasePath:V,skipCanonical:ee}),x=V?(0,P.navTypeForSuffix)(W.split("/").pop()):null,v="en-US"===ec?"/":`/${ec}`,y=W===v||"/"!==v&&W===`${v}/`||(V?"forecast"===x: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"===x:W.includes("/weather/radar/")||W.includes("/weather/maps/"),k=W.includes("/subscribe"),S="video"===et,j=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||U.NEWS_PAGE_IDS.includes(et??""),A="en-US"===ec&&eu,N=em?.videoLinkLocaleInclude?.["en-US"],I=N?.override?`?${N?.adRef}`:"",L=ed?`${ed}${I}`:"",_="h-6 w-6 text-inherit";return[{name:el("forecast"),href:i,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:_}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:_}),isActive:y},...A?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(f.News,{className:_}),activeIcon:(0,t.jsx)(g.NewsFilled,{className:_}),isActive:j}]:ed?[{name:el("video"),href:L,icon:(0,t.jsx)(c.VideoPlayerBold,{className:_}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:_}),isActive:S}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{J(),Y(!0)},icon:(0,t.jsx)(p.CalendarBold,{className:_}),activeIcon:(0,t.jsx)(h.CalendarBoldFilled,{className:_}),isActive:!1}],{name:el("radar"),href:b,icon:(0,t.jsx)(d.RadarBold,{className:_}),activeIcon:(0,t.jsx)(m.RadarBoldFilled,{className:_}),isActive:w},...er&&!ei&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(r.Lightning,{className:_}),activeIcon:(0,t.jsx)(n.LightningFilled,{className:_}),isActive:k,onClick:()=>en({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,es,ec,W,et,eu,ed,em,V,en,ee,J]);if(!G)return null;let eh="en-US"===ec&&!ee;return 0===ep.length?eh?(0,t.jsx)(X,{}):null:(0,t.jsxs)(t.Fragment,{children:[eh&&(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 l=(0,b.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,b.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.default,{href:e.href,className:l,"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:l,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)(T.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)(O.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(O.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(O.Card,{src:H.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),l=e.i(598513),a=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"},r={"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 n=(0,l.useSendInteractionEvent)(),s=(0,t.useCallback)((e,t)=>{let l=window.AF;l&&l("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,a.v4)()}})},[]);return(0,t.useCallback)(t=>{n({moduleId:i[e],interactionType:"click",interactionElement:r[e][t]},{flushImmediately:!0}),s("web_to_app_install_click",{module:i[e],cta_type:t})},[n,s,e])}],738426)},468104,e=>{"use strict";var t=e.i(247865),l=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,l.useSendInteractionEvent)();return(0,t.useCallback)((t,l)=>{e({moduleId:t,interactionType:"click",interactionElement:l},{flushImmediately:!0})},[e])}])},947118,221085,e=>{"use strict";let t;var l=e.i(247865);let a=new Set,i=0,r=()=>"function"==typeof window.mParticle?.init,n=()=>{void 0!==t&&(clearInterval(t),t=void 0)},s=()=>{if(!r()||(n(),0===a.size))return;let e=[...a];for(let t of(a.clear(),e))t()},o=()=>{void 0===t&&(i=0,t=setInterval(()=>{i+=100,s(),i>=3e4&&n()},100))},c=e=>(a.add(e),o(),()=>{a.delete(e)}),u=e=>r()?(e(),()=>{}):c(e),d=e=>r()?()=>{}:c(e),m=()=>!1;e.s(["subscribeSdkLoaded",0,u,"useIsSdkLoaded",0,()=>(0,l.useSyncExternalStore)(d,r,m),"watchForSdkLoad",0,e=>{if("u"{};if(r())return s(),()=>{};o();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let l=()=>s();return t.addEventListener("load",l),()=>{t.removeEventListener("load",l)}}],221085);let p=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):u(()=>{window.mParticle?.ready?.(e),e()}),h=()=>!!window.mParticle?.isInitialized?.(),f=()=>!1;e.s(["useIsInitialized",0,()=>(0,l.useSyncExternalStore)(p,h,f)],947118)},718043,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},l.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},l.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},l.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:l}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${l}/${e}`}},l.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:l=0,limit:r=10,sort:n="-publishdate"}){let s={q:Object.keys(t).reduce((e,l)=>{let a=t[l];return a instanceof Array?[...e,...a.map(e=>i(l,e))]:[...e,i(l,a)]},[]).join(";"),pg:`${l},${r}`,format:"json",sort:n},o=(0,a.queryStringToSearchParams)(s).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},l.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:l=0,limit:i=10,sort:r="-publishdate"}){let n={q:t,pg:`${l},${i}`,format:"json",sort:r},s=(0,a.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},l.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:l=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${l}`}},l.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=e.r(678651);function i(e,t){let l=`'${t.$in}'`;return t.$in instanceof Array&&(l=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${l})`}},427977,(e,t,l)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getQuickNav=void 0;let a=e.r(414655),i=e.r(678651),r=e.r(718043);l.getQuickNav=async()=>{let e=(0,i.urlFrom)((0,r.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.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),l=e.i(247865),a=e.i(747961);let i=(0,l.forwardRef)(({title:e,titleId:l,desc:a,descId:i,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":l,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:l,children:"lightning"}):e?(0,t.jsx)("title",{id:l,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"})]})),r=l.default.forwardRef((e,l)=>(0,t.jsx)(a.BaseIcon,{ref:l,icon:i,...e}));r.displayName="Lightning",e.s(["Lightning",0,r])},935807,e=>{"use strict";function t(e,l=[],i=!1,r="US",n){let s,o=l.find(t=>t.placeID===e.placeId);if(o&&i){let t=o.userTag||o.name;if(t&&"Other"!==t){let l=e.displayName,i=a(e,r,""),n="address"===e.type?e.address:void 0;if(t!==l&&t!==i&&t!==n)return t}}if(e?.disputedCountries)s=e.displayName||"";else{switch(e?.type){case"address":s=e?.address?.split(",")[0]?.trim()||"";break;case"city":s=e?.locale?.locale2||"";break;case"locality":s=e?.locale?.locale3||"";break;case"neighborhood":s=e?.locale?.locale4||"";break;case"airport":s=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",l=e?.postalCode||"";s=n?`${t} ${l}`.trim():`${t}`.trim();break}default:s=e?.displayName||""}0===s.length&&(s=e?.displayName||"")}return s}function l(e,t=[],i=!1,r="US",n){let s,o=t.find(t=>t.placeID===e.placeId);if(o&&i){let t=o.userTag||o.name;if(t&&"Other"!==t){let l=e.displayName,i=a(e,r,"");if(t!==l&&t!==i)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let l=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,l].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,l].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,l].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",a=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${a}`.trim(),l].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,l].filter(Boolean).join(", ")}}}(e,r)}}if(e?.disputedCountries)s=e?.displayName||"";else{let t=r===e?.countryCode?"":e?.country||"",l=e?.adminDistrict||"",a=e?.postalCode||"",i=e.city||"";switch(e?.type){case"address":s=[i,l,t].filter(Boolean).join(", ");break;case"city":default:s=[l,t].filter(Boolean).join(", ");break;case"locality":s=[e?.locale?.locale2||"",l,t].filter(Boolean).join(", ");break;case"neighborhood":s=[e?.locale?.locale3||e?.locale?.locale2||"",l,t].filter(Boolean).join(", ");break;case"postal":{let i=l||e?.locale?.locale2||"";s=[n?`${i} ${a}`.trim():i,t].filter(Boolean).join(", ")}}}return s}function a(e,t,l){let{displayName:a,adminDistrictCode:i,adminDistrict:r,countryCode:n,disputedArea:s,country:o}=e,c=[];return a&&c.push(a),"IL"!==t&&(i?c.push(i):r&&c.push(r)),n!==t&&!1===s&&o&&c.push(o),c.join(l)}e.s(["getLocationContext",0,l,"getLocationName",0,t,"getLocationPresentationName",0,function(e,a=[],i=!1,r="US"){let n=t(e,a,i,r,!1),s=l(e,a,i,r,!0),o=e?.separator?e?.separator:n&&s?", ":"";return`${n}${o}${s}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let l=t.find(t=>t.placeId===e.placeId);return l?{...e,displayName:l.address,address:l.address}:e}])},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},520362,e=>{"use strict";var t=e.i(902875),l=e.i(247865);let a=e=>{let{apiRoute:t,depth:a,refresh:i,serverURL:r}=e,n=(0,l.useRef)(!1),s=(0,l.useCallback)(e=>{e.origin===r&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof i?i():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[i,r]);return(0,l.useEffect)(()=>("u">typeof window&&window.addEventListener("message",s),n.current||(n.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:r}),i()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[r,s,a,t,i]),null};var i=e.i(725287);let r=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),n={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},s=e=>{let l=(0,i.useRouter)();return(0,t.jsx)(a,{...e,refresh:l.refresh})};e.s(["LivePreviewListener",0,s],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,l.useRef)(null),t=(0,l.useRef)(null),a=(0,l.useRef)(null),i=(0,l.useRef)(null),s=(0,l.useRef)(null),o=(0,l.useCallback)(()=>{if("u"{let l=t.current,i=e.current;if(!l||!i)return;if(!l.isConnected){t.current=null,i.style.opacity="0",a.current?.disconnect();return}let r=l.getBoundingClientRect();i.style.top=`${r.top+window.scrollY}px`,i.style.left=`${r.left+window.scrollX}px`,i.style.width=`${r.width}px`,i.style.height=`${r.height}px`,i.style.opacity="1"},[]),u=(0,l.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),a.current?.disconnect()},[]),d=(0,l.useCallback)(()=>{t.current&&null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,c()}))},[c]),m=(0,l.useCallback)(e=>{if(e===s.current)return;let l=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!l)return void r.debug("No element found for block ID",{blockId:e});let i=(e=>{let t=e,l=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?m(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==i.current&&cancelAnimationFrame(i.current),a.current?.disconnect(),e.current?.remove()}},[m,u,d]),null},"LivePreviewListener",0,s],520362)},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),l=e.i(609858);let a=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:r,onUpdateData:n,onSetPageData:s}){let{updateComponentData:o,setPageData:c}=(0,l.useDebugSystem)(),u=(0,t.useRef)(!1),d=n||o,m=s||c;return(0,t.useEffect)(()=>{if(i)return a.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),d(e,{...i,_collectedAt:new Date().toISOString()}),()=>{a.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,i,d]),(0,t.useEffect)(()=>{r&&!u.current&&(a.lifecycle("Setting page metadata",{title:r.title,assetName:r.assetName,collection:r.collection}),m({...r,_updatedAt:new Date().toISOString()}),u.current=!0)},[r,m]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),l=e.i(247865);let a=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,a],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(a),r=(0,l.useCallback)((e,t)=>{i(l=>{let a=l?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof a?{...a,...t}:t;return{...l,[e]:i}})},[i]),n=(0,l.useCallback)((e,t)=>{i(l=>{let a=l||{timestamp:new Date().toISOString()},i=a.components||{};if(null===t){let t={...i};return delete t[e],{...a,components:t}}return{...a,components:{...i,[e]:t}}})},[i]),s=(0,l.useCallback)(e=>{r("page",e)},[r]),o=(0,l.useCallback)(e=>{r("route",e)},[r]),c=(0,l.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&r(e,t)})},[r]);return{debugData:e,updateSection:r,updateComponentData:n,setPageData:s,clearAllDebugData:(0,l.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),l=e.i(62544),a=e.i(710746),i=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:r,title:n,headline:s,description:o,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:m,getAppLabel:p="Get the app",onGetAppClick:h,learnMoreHref:f,learnMoreLabel:g="Learn more",onLearnMoreClick:b,closeLabel:x="Close",onCloseClick:v,dismissLabel:y,onDismissClick:w})=>(0,t.jsx)(l.Dialog,{open:e,onOpenChange:r,children:(0,t.jsxs)(l.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)(l.DialogClose,{"aria-label":x,onClick:v,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)(a.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),n?(0,t.jsx)(l.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,t.jsx)(l.DialogTitle,{className:"sr-only",children:s}),(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:s}),(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:h,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}),f&&(0,t.jsx)("a",{href:f,onClick:b,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}),!f&&y&&(0,t.jsx)(l.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:y})]})]})})])},235577,e=>{"use strict";var t=e.i(902875),l=e.i(523084),a=e.i(47524),i=e.i(632137),r=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:s,size:o="default",variant:c="light",className:u}){let d="sm"===o,m=(0,i.cn)("text-current",d?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(r.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",d?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",s&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",s&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",s&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(l.ChevronLeft,{className:m}):(0,t.jsx)(a.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(632137),i=e.i(546446),r=e.i(663333),n=e.i(235577),s=e.i(315730),o=e.i(240058);let c=(0,a.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:l,index:i,link:r}=e,n=l===i,s=(0,a.cn)(c,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:l}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>l(i,r),className:(0,a.cn)("cursor-pointer",s),"aria-current":n?"page":void 0,children:r.label})}let{basePath:u,mpa:d}=e,m=r.href??("/"===r.slug?u||"/":`${u}/${r.slug}`);return(0,t.jsx)(o.default,{href:m,mpa:d,className:s,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:r.label})},d=(0,l.memo)(e=>{let{links:l,activeIndex:o,className:c,constrained:d=!0}=e,m=(0,i.useAtomValue)(r.deviceClassAtom),{ref:p,showLeft:h,showRight:f,scrollLeft:g,scrollRight:b}=(0,s.useHorizontalScroll)({enabled:"mobile"!==m&&"tablet"!==m,scrollAmount:200,contentKey:l});return(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",d&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -left-1 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-s-[28px]",{"-translate-x-24":!h}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!h,onClick:g,direction:"left"}),(0,t.jsx)("div",{ref:p,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:l.map((l,a)=>e.onSelect?(0,t.jsx)(u,{link:l,index:a,activeIndex:o,onSelect:e.onSelect},`${l.label}_${l.slug}`):(0,t.jsx)(u,{link:l,index:a,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${l.label}_${l.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-1 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-e-[28px]",{"translate-x-24":!f}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!f,onClick:b,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,l)=>e.label===t.links[l]?.label&&e.slug===t.links[l]?.slug&&e.href===t.links[l]?.href));d.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,d],457492)},315730,e=>{"use strict";var t=e.i(147732),l=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:a=200,contentKey:i}={}){let r=(0,l.useRef)(null),n=(0,l.useRef)(null),s=(0,l.useRef)(!1),[o,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(!1),m=(0,l.useCallback)(()=>{let t=r.current;if(!t||!e){c(!1),d(!1);return}let{scrollLeft:l,scrollWidth:a,clientWidth:i}=t,n=Math.abs(l),o=n>2,u=n+i(0,t.debounce)(m,150),[m]),h=(0,l.useCallback)(()=>{null===n.current&&(n.current=requestAnimationFrame(()=>{m(),n.current=null}))},[m]);(0,l.useEffect)(()=>{let t=r.current;return t&&(s.current="rtl"===getComputedStyle(t).direction),m(),e&&(t?.addEventListener("scroll",h),window.addEventListener("resize",p)),()=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=null,t?.removeEventListener("scroll",h),p.cancel(),window.removeEventListener("resize",p)}},[e,m,h,p,i]);let f=(0,l.useCallback)(()=>r.current?.scrollBy({left:-a,behavior:"smooth"}),[a]),g=(0,l.useCallback)(()=>r.current?.scrollBy({left:a,behavior:"smooth"}),[a]);return{ref:r,showLeft:o,showRight:u,scrollLeft:f,scrollRight:g}}])},726812,16730,e=>{"use strict";let t="com.weather.Weather",l="id295646461",a="https://app.appsflyer.com",i="weather.com",r=`https://apps.apple.com/us/app/the-weather-channel/${l}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,i,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,r,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,l,"PLAY_STORE_URL",0,n],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:r,currentUrl:n,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!r||null===e)return"";let u="android"===e?t:l,d=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=d||`${a}/${u}`,p=encodeURIComponent(r.replace(/ /g,"_")),h=`${m}?pid=WWW&af_adset=${p}&c=${i}`;return c&&(h+=`&deep_link_value=${encodeURIComponent(c)}`),!d&&"ios"===e&&n&&(h+=`&af_ios_fallback=${encodeURIComponent(n)}`),h}],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:l}){if(!URL.canParse(e))return e;let a=new URL(e);return t&&a.searchParams.set("af_adset",t.replace(/ /g,"_")),l&&a.searchParams.set("deep_link_value",l),a.toString()}])},677691,e=>{"use strict";var t=e.i(247865),l=e.i(726812),a=e.i(16730),i=e.i(881282),r=e.i(546446),n=e.i(402525),s=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,r.useAtomValue)(n.smartScriptClickUrlAtom),h=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{u((0,i.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let f=(0,a.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:d,allowAppsFlyer:h,deepLinkValue:o}),g="android"===c?l.PLAY_STORE_URL:l.APP_STORE_URL,b=p?(0,n.withCtaAttribution)(p,{trackAdset:e,deepLinkValue:o}):"";return{href:(h&&null!==c?b||f:"")||g,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),l=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,a]=(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,l.tryCatch)(t);i||e||a(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);