(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")},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(240058),l=e.i(64412),s=e.i(677997),r=e.i(995113),n=e.i(702957),o=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),h=e.i(876329),p=e.i(160937),m=e.i(64344),g=e.i(51398),f=e.i(240027),x=e.i(632137),v=e.i(546446);e.i(609717);var w=e.i(950771),y=e.i(537989);e.i(647872);var C=e.i(494889),b=e.i(611540),j=e.i(738426),A=e.i(468104),S=e.i(18358),k=e.i(381477),I=e.i(190344),M=e.i(427977),N=e.i(725287),P=e.i(559421),R=e.i(388706),U=e.i(498076),B=e.i(581014),L=e.i(304116),$=e.i(379276),D=e.i(269153),_=e.i(528600),H=e.i(837879),T=e.i(683199),F=e.i(677691),E=e.i(429745),O=e.i(269186),z=e.i(328166),G=e.i(226602),V=e.i(697380),q=e.i(512134),W=e.i(521350),Q=e.i(358273);let K="wx-next/get-app-button:dismissed-session",Y=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,U.useIsMobile)(),a=(0,N.usePathname)(),l=(0,v.useAtomValue)(V.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:r}=function(){let e=(0,q.useIsClient)(),[t,a]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,W.isLocalStorageAvailable)())return null;try{return localStorage.getItem(K)}catch{return null}}();if(!e)return!1;let t=(0,Q.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,i.useCallback)(()=>{let e=(0,Q.getMetricsSession)()?.sessionId;if(e&&(0,W.isLocalStorageAvailable)())try{localStorage.setItem(K,e)}catch{}a(!0)},[])}}(),{href:n}=(0,F.useAppInstallLink)("floating-button","floating-button"),o=(0,j.useTrackInstallPromptClick)("floating-button"),c=(0,A.useTrackModuleClick)();if(!e||s||Y.some(e=>a.includes(e)))return null;let d=`calc(3.5rem + ${l}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:d},"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)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,U.useIsMobile)(),V=(0,N.usePathname)(),q=(0,P.useCanonicalBasePath)(),[W,Q]=(0,i.useState)(!1),{href:K}=(0,F.useAppInstallLink)("my-plans","my-plans"),Y=(0,j.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,A.useTrackModuleClick)(),ee=(0,D.useIsSamsungPartner)(),et=(0,v.useAtomValue)(y.pageIdAtom),ei=(0,B.useTranslations)("SidebarNavigation"),{user:ea}=(0,_.useUser)(),{isUserPremium:el}=ea,es=(0,H.useSubscriptionsEnabled)(),er=(0,T.usePremiumSource)(),{location:en,isLoading:eo}=(0,l.useLocation)(),ec=(0,v.useAtomValue)(w.pageLocaleAtom),ed=(0,v.useAtomValue)(C.newsHubEnabledAtom),eu=(0,I.useVideoNavUrl)(),{data:eh}=(0,k.default)(["navigation/getQuickNav",ec],()=>(0,M.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,i.useMemo)(()=>{if(eo||!en)return[];let e=en.placeId||"",i=en.featureId,a=en.canonicalID,l=(0,L.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:q,skipCanonical:ee}),x=(0,L.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:q,skipCanonical:ee}),v=q?(0,R.navTypeForSuffix)(V.split("/").pop()):null,w="en-US"===ec?"/":`/${ec}`,y=V===w||"/"!==w&&V===`${w}/`||(q?"forecast"===v:V.includes("/weather/today/")||V.includes("/weather/hourbyhour/")||V.includes("/weather/tenday/")||V.includes("/weather/monthly/")||V.includes("/forecast/allergy/")||V.includes("/forecast/air-quality/")||V.includes("/forecast/cold-flu/")),C=q?"radar"===v:V.includes("/weather/radar/")||V.includes("/weather/maps/"),j=V.includes("/subscribe"),A="video"===et,S=V===b.URLS.news||V.startsWith(`${b.URLS.news}/`)||$.NEWS_PAGE_IDS.includes(et??""),k="en-US"===ec&&ed,I=eh?.videoLinkLocaleInclude?.["en-US"],M=I?.override?`?${I?.adRef}`:"",N=eu?`${eu}${M}`:"",P="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(n.PartlyCloudyBold,{className:P}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:P}),isActive:y},...k?[{name:"News",href:b.URLS.news,icon:(0,t.jsx)(g.News,{className:P}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:P}),isActive:S}]:eu?[{name:ei("video"),href:N,icon:(0,t.jsx)(c.VideoPlayerBold,{className:P}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:P}),isActive:A}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Q(!0)},icon:(0,t.jsx)(p.CalendarBold,{className:P}),activeIcon:(0,t.jsx)(m.CalendarBoldFilled,{className:P}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:P}),activeIcon:(0,t.jsx)(h.RadarBoldFilled,{className:P}),isActive:C},...es&&!el&&[{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:j,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,en,ec,V,et,ed,eu,eh,q,er,ee,X]);if(!G)return null;let em="en-US"===ec&&!ee;return 0===ep.length?em?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[em&&(0,t.jsx)(J,{}),(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 i=(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}),l=(0,x.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.default,{href:e.href,className:i,"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:l,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:i,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name)})})})}),(0,t.jsx)(E.InstallPromptSheet,{open:W,onOpenChange:Q,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:z.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:K,onGetAppClick:()=>Z("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>Z("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>Y("learn-more")})]})}],432124)},316810,e=>{"use strict";var t=e.i(902875),i=e.i(632137);e.s(["default",0,({className:e})=>(0,t.jsx)("span",{className:(0,i.cn)("text-xxs bg-brand-200 ml-2 inline-flex h-[19px] items-center justify-center rounded-md border-2 border-white px-[3px] py-1 font-bold text-white",e),children:"New"})])},414338,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(730921),l=e.i(581014),s=e.i(877957),r=e.i(62544),n=e.i(901351),o=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(611540);let h=({isUserLoggedIn:e,regime:h,deviceClass:p,experience:m,isPremiumUser:g})=>{let f=(0,l.useTranslations)("PrivacyConsentModal"),x=(0,a.useLocale)(),v=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:x}),[w,y]=(0,i.useState)(!1),[C,b]=(0,i.useState)(!1),[j,A]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||g||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(b(!0),y(!0)):e&&i&&h===c.Regime.USA_CCPA&&(A(!0),y(!0))},[h,g,e]);let S=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await n.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},k=t=>{let i=window,a=window.top,l=i.DprSdk||a?.DprSdk;l?(l.setUserConsents({[o.Purpose.SALE_OF_DATA]:t}),e&&S({purpose:o.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.")},I="",M="";if(C?(I="gpcConflictHeader",M="gpcConflictParagraph",h===c.Regime.USA_CCPA&&(M+="_usa-ccpa")):j&&(I="saleOfDataConflictHeader",M="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&(M+="_usa-ccpa")),M)return(0,t.jsx)(r.Dialog,{open:w,onOpenChange:y,children:(0,t.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==p?"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:[I&&(0,t.jsx)(r.DialogHeader,{children:(0,t.jsx)(r.DialogTitle,{className:"text-xl font-semibold",children:f(I)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:f.rich(M,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:v,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(r.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(s.Button,{onClick:()=>{k(!0)},variant:"default",className:"w-full sm:w-auto",children:f("optInButtonText")}),(0,t.jsx)(s.Button,{onClick:()=>{k(!1)},variant:"secondary",className:"w-full sm:w-auto",children:f("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,h,"default",0,h])},683199,e=>{"use strict";var t=e.i(247865),i=e.i(546446),a=e.i(128541),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,i.useSetAtom)(a.purchaseSourceAttributionAtom),s=(0,i.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:a})=>{e({sourcePage:s||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:a??null})},[e,s])}])},468104,269186,328166,e=>{"use strict";var t=e.i(247865),i=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,i.useSendInteractionEvent)();return(0,t.useCallback)((t,i)=>{e({moduleId:t,interactionType:"click",interactionElement:i},{flushImmediately:!0})},[e])}],468104);var a=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:i,left:l,width:s}){return(0,a.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:i,left:l,width:s}})},"CompositeFrame",0,function({left:e,top:t,width:i,height:l,children:s}){return(0,a.jsx)("div",{className:"absolute",style:{left:e,top:t,width:i,height:l},children:s})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:l,cx:s,cy:r,rx:n,ry:o}){let c=(0,t.useId)();return(0,a.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${i}`,preserveAspectRatio:"none",children:[(0,a.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,a.jsx)("ellipse",{cx:s,cy:r,rx:n,ry:o,fill:l})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:i,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,a.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,a.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)},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=s;let a=e.r(426606),l=e.r(16689);async function s({queryId:e,channel:t,territory:i,language:r="en-US",startIndex:n=0,limit:o,relatedSeed:c}){let d=new URLSearchParams({channel:t,language:r});i&&d.set("territory",i),c&&(d.set("seedId",c.id),d.set("seedCollection",c.collection)),n>0&&d.set("startIndex",String(n)),void 0!==o&&d.set("limit",String(o));let u=`https://${(0,l.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${d.toString()}`,h=await (0,a.fetchJsonWithoutCredentials)(u);return Array.isArray(h)?h:[]}},718043,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},i.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},i.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},i.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:i}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${i}/${e}`}},i.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:i=0,limit:s=10,sort:r="-publishdate"}){let n={q:Object.keys(t).reduce((e,i)=>{let a=t[i];return a instanceof Array?[...e,...a.map(e=>l(i,e))]:[...e,l(i,a)]},[]).join(";"),pg:`${i},${s}`,format:"json",sort:r},o=(0,a.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},i.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:i=0,limit:l=10,sort:s="-publishdate"}){let r={q:t,pg:`${i},${l}`,format:"json",sort:s},n=(0,a.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},i.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:i=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${i}`}},i.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=e.r(678651);function l(e,t){let i=`'${t.$in}'`;return t.$in instanceof Array&&(i=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${i})`}},427977,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getQuickNav=void 0;let a=e.r(414655),l=e.r(678651),s=e.r(718043);i.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,s.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},645968,e=>{"use strict";var t=e.i(742436),i=e.i(283366);e.s(["default",0,function(e,a){let l=(0,t.useExperimentContext)();return((0,i.useExposure)(e),l)?l.variant(e,a):a}])},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video Player"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="VideoPlayer",e.s(["VideoPlayer",0,s])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Book"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="Book",e.s(["Book",0,s])},129932,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,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"})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="SkincareBold",e.s(["SkincareBold",0,s])},800177,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,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"})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,s])},677997,738426,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="Lightning",e.s(["Lightning",0,s],677997);var r=e.i(598513);let n={"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"},o={"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"}};e.s(["useTrackInstallPromptClick",0,function(e){let t=(0,r.useSendInteractionEvent)();return(0,i.useCallback)(i=>{t({moduleId:n[e],interactionType:"click",interactionElement:o[e][i]},{flushImmediately:!0})},[t,e])}],738426)},995113,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:l,...s},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":i,"aria-describedby":l,...s,children:[a?(0,t.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));s.displayName="LightningFilled",e.s(["LightningFilled",0,s])},731672,e=>{"use strict";var t=e.i(546446),i=e.i(965586),a=e.i(671525),l=e.i(889753),s=e.i(45846),r=e.i(284007),n=e.i(756227),o=e.i(358273),c=e.i(247865),d=e.i(540768),u=e.i(682142),h=e.i(782937),p=e.i(695881),m=e.i(333350),g=e.i(64412),f=e.i(950771),x=e.i(537989),v=e.i(695203),w=e.i(158662),y=e.i(777638),C=e.i(924776),b=e.i(409628),j=e.i(605781);let A=(0,p.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(l.userPreferencesAtom),p=(0,n.useResetAuthState)(),{refresh:S}=(0,a.usePageNavigation)(),k=((e={})=>{let i=(0,t.useAtomValue)(x.pageIdAtom),a=(0,t.useAtomValue)(f.pageLocaleAtom),l=(0,t.useAtomValue)(v.deviceClassAtom),s=(0,t.useAtomValue)(w.experimentJoinListAtom),{location:r}=(0,g.useLocation)(),n=(0,C.useIsHightouchReady)(),{url:p,logoutMethod:S}=e;return(0,c.useCallback)(()=>{if(!m.default||!n)return;let e=(0,u.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),c=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),g=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),f=window.DprSdk?.getGdprConsentOptInsString()??"",x=window.DprSdk?.getCcpaSaleOptInString()??"",v=window.navigator?.globalPrivacyControl??!1,w=f?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,k=navigator?.cookieEnabled??!1,I=(0,d.getCookie)("partner")||"",M=(0,h.getPartnerByPattern)(I)??I,N=(0,o.getMetricsSession)(),P=N?.sessionId||"",R=N?.sessionStartTime||0,U=new Date,B=U.getHours(),L=b.WEEK_DAYS[U.getDay()]??"",$=-U.getTimezoneOffset()/60,D=document.referrer,_={url:p??window.location.pathname,logoutMethod:S??"manual",referrer:D,privProducts:x,deviceTimeZone:$,pageId:i??"",locale:a,deviceClass:l,sessionId:P,sessionStartTime:R,partner:M,wlocCity:r?.city??null,wlocCountry:r?.countryCode??null,wlocState:r?.adminDistrictCode??null,wlocDMA:r?.dmaCd??null,dayOfWeek:L,regime:g??"",cookiesEnabled:k,gpcSignalOptOut:v,functionalTechnologies:w,geographicallyRelevantAds:C,priv:f,hourOfDay:B,physicalCountry:t??"",physicalState:c??"",campaign:(0,y.getCampaign)()??void 0,tpcc:(0,y.getTpcc)(),linkReferral:(0,y.getLinkReferral)(),experimentJoinList:s,weatherMode:"normal",appVersion:"4bd2434c8c502198f1eb81ba9e94ffea611c083f".slice(0,10)};(0,j.trackUserLoggedout)(_),A.info('Hightouch: Event "user-loggedout" tracked')},[p,S,i,a,l,s,r,n])})();return async()=>{try{return(0,o.regenerateMetricsSession)(),await s.upsxClient.auth.logout(),k(),p(),e(r.RESET),(0,i.deleteCookie)("twc-user",{domain:".weather.com"}),S({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)}]);