(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,219246,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedTopAdHeightAtom",0,t])},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:r=10,sort:l="-publishdate"}){let o={q:Object.keys(t).reduce((e,a)=>{let i=t[a];return i instanceof Array?[...e,...i.map(e=>s(a,e))]:[...e,s(a,i)]},[]).join(";"),pg:`${a},${r}`,format:"json",sort:l},n=(0,i.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:s=10,sort:r="-publishdate"}){let l={q:t,pg:`${a},${s}`,format:"json",sort:r},o=(0,i.queryStringToSearchParams)(l).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},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 i=e.r(678651);function s(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 i=e.r(414655),s=e.r(678651),r=e.r(718043);a.getQuickNav=async()=>{let e=(0,s.urlFrom)((0,r.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,i.handleFetchResponse)(t)}},867775,e=>{"use strict";var t=e.i(699173),a=e.i(592121),i=e.i(730921),s=e.i(683903),r=e.i(877957),l=e.i(367810),o=e.i(901351),n=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(611540);let h=({isUserLoggedIn:e,regime:h,deviceClass:f,experience:m,isPremiumUser:p})=>{let g=(0,s.useTranslations)("PrivacyConsentModal"),v=(0,i.useLocale)(),x=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:v}),[w,y]=(0,a.useState)(!1),[C,S]=(0,a.useState)(!1),[j,b]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||p||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(S(!0),y(!0)):e&&a&&(b(!0),y(!0))},[h,p,e]);let A=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await o.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},N=t=>{let a=window,i=window.top,s=a.DprSdk||i?.DprSdk;s?(s.setUserConsents({[n.Purpose.SALE_OF_DATA]:t}),e&&A({purpose:n.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),C?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):j&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),y(!1)):console.error("Unable to fix conflict, missing DprSdk.")},P="",$="";if(C?(P="gpcConflictHeader",$="gpcConflictParagraph",h===c.Regime.USA_CCPA&&($+="_usa-ccpa")):j&&(P="saleOfDataConflictHeader",$="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&($+="_usa-ccpa")),$)return(0,t.jsx)(l.Dialog,{open:w,onOpenChange:y,children:(0,t.jsxs)(l.DialogContent,{className:`text-center ${"desktop"!==f?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===m?"wu-theme":""} `,onEscapeKeyDown:e=>{(j||C)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[P&&(0,t.jsx)(l.DialogHeader,{children:(0,t.jsx)(l.DialogTitle,{className:"text-xl font-semibold",children:g(P)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:g.rich($,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:x,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(l.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(r.Button,{onClick:()=>{N(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,t.jsx)(r.Button,{onClick:()=>{N(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,h,"default",0,h])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},731672,e=>{"use strict";var t=e.i(546446),a=e.i(646341),i=e.i(671525),s=e.i(889753),r=e.i(45846),l=e.i(284007),o=e.i(756227),n=e.i(318849),c=e.i(358273);e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(s.userPreferencesAtom),d=(0,o.useResetAuthState)(),{refresh:u}=(0,i.usePageNavigation)();return async()=>{try{return(0,c.regenerateMetricsSession)(),await r.upsxClient.auth.logout(),d(),e(l.RESET),(0,a.deleteCookie)("twc-user",{domain:".weather.com"}),(0,n.disableSwrPersist)(),u({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}])},129932,e=>{"use strict";var t=e.i(699173),a=e.i(592121),i=e.i(747961);let s=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:s,...r},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:l,"aria-labelledby":a,"aria-describedby":s,...r,children:[i?(0,t.jsx)("desc",{id:s,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Products"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),r=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:s,...e}));r.displayName="SkincareBold",e.s(["SkincareBold",0,r])},800177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),i=e.i(747961);let s=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:s,...r},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:l,"aria-labelledby":a,"aria-describedby":s,...r,children:[i?(0,t.jsx)("desc",{id:s,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Products"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),r=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:s,...e}));r.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,r])},677997,e=>{"use strict";var t=e.i(699173),a=e.i(592121),i=e.i(747961);let s=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:s,...r},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":a,"aria-describedby":s,...r,children:[i?(0,t.jsx)("desc",{id:s,children:i}):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"})]})),r=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:s,...e}));r.displayName="Lightning",e.s(["Lightning",0,r])},460581,e=>{"use strict";var t=e.i(699173),a=e.i(592121),i=e.i(240058),s=e.i(64412),r=e.i(677997),l=e.i(995113),o=e.i(702957),n=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),h=e.i(876329),f=e.i(632137),m=e.i(546446);e.i(609717);var p=e.i(950771),g=e.i(537989),v=e.i(381477),x=e.i(190344),w=e.i(427977),y=e.i(961123),C=e.i(559421),S=e.i(388706),j=e.i(498076),b=e.i(683903),A=e.i(304116),N=e.i(269153),P=e.i(528600),$=e.i(837879);e.s(["default",0,function(){let e=(0,j.useIsMobile)(),U=(0,y.usePathname)(),R=(0,C.useCanonicalBasePath)(),B=(0,N.useIsSamsungPartner)(),L=(0,m.useAtomValue)(g.pageIdAtom),M=(0,b.useTranslations)("SidebarNavigation"),{user:k}=(0,P.useUser)(),{isUserPremium:I}=k,_=(0,$.useSubscriptionsEnabled)(),{location:D,isLoading:O}=(0,s.useLocation)(),T=(0,m.useAtomValue)(p.pageLocaleAtom),F=(0,x.useVideoNavUrl)(),{data:E}=(0,v.default)(["navigation/getQuickNav",T],()=>(0,w.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),H=(0,a.useMemo)(()=>{if(O||!D)return[];let e=D.placeId||"",a=D.featureId,i=D.canonicalID,s=(0,A.buildLocationPageHref)({pageType:"today",locale:T,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:R,skipCanonical:B}),f=(0,A.buildLocationPageHref)({pageType:"radar",locale:T,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:R,skipCanonical:B}),m=R?U.split("/").pop():null,p=R?S.CANONICAL_PAGE_TYPES.includes(m):U.includes("/weather/today/")||U.includes("/weather/hourbyhour/")||U.includes("/weather/tenday/")||U.includes("/weather/monthly/")||U.includes("/forecast/allergy/")||U.includes("/forecast/air-quality/")||U.includes("/forecast/cold-flu/"),g=U.includes("/weather/radar/")||U.includes("/weather/maps/"),v=U.includes("/subscribe"),x="video"===L,w=E?.videoLinkLocaleInclude?.["en-US"],y=w?.override?`?${w?.adRef}`:"",C=F?`${F}${y}`:"",j="h-6 w-6 text-inherit";return[{name:M("forecast"),href:s,icon:(0,t.jsx)(o.PartlyCloudyBold,{className:j}),activeIcon:(0,t.jsx)(n.PartlyCloudyBoldFilled,{className:j}),isActive:p},...F?[{name:M("video"),href:C,icon:(0,t.jsx)(c.VideoPlayerBold,{className:j}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:j}),isActive:x}]:[],{name:M("radar"),href:f,icon:(0,t.jsx)(u.RadarBold,{className:j}),activeIcon:(0,t.jsx)(h.RadarBoldFilled,{className:j}),isActive:g},..._&&!I&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(r.Lightning,{className:j}),activeIcon:(0,t.jsx)(l.LightningFilled,{className:j}),isActive:v}]||[]]},[O,D,T,U,L,F,E,R,B]);return e&&0!==H.length?(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:H.map(e=>(0,t.jsxs)(i.default,{href:e.href,className:(0,f.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}),"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:(0,f.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold"),children:e.name})]},e.name))})})}):null}])},293733,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["radarFullscreenAtom",0,t])},167135,e=>{"use strict";var t=e.i(699173),a=e.i(546446),i=e.i(219246),s=e.i(632137);function r({children:e,reserveMobileNav:l=!0}){let o=(0,a.useAtomValue)(i.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:(0,s.cn)("flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] md:pt-0 md:pb-0",l&&"pb-14"),style:{"--radar-top-ad":`${o}px`},children:e})}e.s(["RadarTopAdInset",0,r,"default",0,r])},388982,e=>{"use strict";var t=e.i(546446),a=e.i(293733);e.s(["HideWhenRadarFullscreen",0,function({children:e}){return(0,t.useAtomValue)(a.radarFullscreenAtom)?null:e}])}]);