(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),p=e.i(876329),h=e.i(160937),m=e.i(64344),f=e.i(51398),g=e.i(240027),x=e.i(632137),v=e.i(546446);e.i(609717);var w=e.i(950771),b=e.i(537989);e.i(647872);var y=e.i(494889),C=e.i(611540),j=e.i(738426),A=e.i(468104),S=e.i(18358),k=e.i(381477),P=e.i(190344),I=e.i(427977),N=e.i(725287),R=e.i(559421),L=e.i(388706),M=e.i(498076),U=e.i(581014),_=e.i(304116),D=e.i(379276),B=e.i(269153),$=e.i(528600),E=e.i(837879),T=e.i(683199),F=e.i(677691),H=e.i(429745),O=e.i(269186),z=e.i(328166),G=e.i(226602),W=e.i(697380),V=e.i(512134),q=e.i(521350),Q=e.i(358273);let Y="wx-next/get-app-button:dismissed-session",K=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,M.useIsMobile)(),a=(0,N.usePathname)(),l=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:r}=function(){let e=(0,V.useIsClient)(),[t,a]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,q.isLocalStorageAvailable)())return null;try{return localStorage.getItem(Y)}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,q.isLocalStorageAvailable)())try{localStorage.setItem(Y,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||K.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,M.useIsMobile)(),W=(0,N.usePathname)(),V=(0,R.useCanonicalBasePath)(),[q,Q]=(0,i.useState)(!1),{href:Y}=(0,F.useAppInstallLink)("my-plans","my-plans"),K=(0,j.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,A.useTrackModuleClick)(),ee=(0,B.useIsSamsungPartner)(),et=(0,v.useAtomValue)(b.pageIdAtom),ei=(0,U.useTranslations)("SidebarNavigation"),{user:ea}=(0,$.useUser)(),{isUserPremium:el}=ea,es=(0,E.useSubscriptionsEnabled)(),er=(0,T.usePremiumSource)(),{location:en,isLoading:eo}=(0,l.useLocation)(),ec=(0,v.useAtomValue)(w.pageLocaleAtom),ed=(0,v.useAtomValue)(y.newsHubEnabledAtom),eu=(0,P.useVideoNavUrl)(),{data:ep}=(0,k.default)(["navigation/getQuickNav",ec],()=>(0,I.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eh=(0,i.useMemo)(()=>{if(eo||!en)return[];let e=en.placeId||"",i=en.featureId,a=en.canonicalID,l=(0,_.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),x=(0,_.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:V,skipCanonical:ee}),v=V?(0,L.navTypeForSuffix)(W.split("/").pop()):null,w="en-US"===ec?"/":`/${ec}`,b=W===w||"/"!==w&&W===`${w}/`||(V?"forecast"===v: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/")),y=V?"radar"===v:W.includes("/weather/radar/")||W.includes("/weather/maps/"),j=W.includes("/subscribe"),A="video"===et,S=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||D.NEWS_PAGE_IDS.includes(et??""),k="en-US"===ec&&ed,P=ep?.videoLinkLocaleInclude?.["en-US"],I=P?.override?`?${P?.adRef}`:"",N=eu?`${eu}${I}`:"",R="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(n.PartlyCloudyBold,{className:R}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:R}),isActive:b},...k?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(f.News,{className:R}),activeIcon:(0,t.jsx)(g.NewsFilled,{className:R}),isActive:S}]:eu?[{name:ei("video"),href:N,icon:(0,t.jsx)(c.VideoPlayerBold,{className:R}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:R}),isActive:A}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Q(!0)},icon:(0,t.jsx)(h.CalendarBold,{className:R}),activeIcon:(0,t.jsx)(m.CalendarBoldFilled,{className:R}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:R}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:R}),isActive:y},...es&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(s.Lightning,{className:R}),activeIcon:(0,t.jsx)(r.LightningFilled,{className:R}),isActive:j,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,en,ec,W,et,ed,eu,ep,V,er,ee,X]);if(!G)return null;let em="en-US"===ec&&!ee;return 0===eh.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:eh.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)(H.InstallPromptSheet,{open:q,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:Y,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)},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 p=({isUserLoggedIn:e,regime:p,deviceClass:h,experience:m,isPremiumUser:f})=>{let g=(0,l.useTranslations)("PrivacyConsentModal"),x=(0,a.useLocale)(),v=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:x}),[w,b]=(0,i.useState)(!1),[y,C]=(0,i.useState)(!1),[j,A]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!c.US_REGIMES.includes(p)||f||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(C(!0),b(!0)):e&&i&&p===c.Regime.USA_CCPA&&(A(!0),b(!0))},[p,f,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}),y?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):j&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),b(!1)):console.error("Unable to fix conflict, missing DprSdk.")},P="",I="";if(y?(P="gpcConflictHeader",I="gpcConflictParagraph",p===c.Regime.USA_CCPA&&(I+="_usa-ccpa")):j&&(P="saleOfDataConflictHeader",I="saleOfDataConflictParagraph",p===c.Regime.USA_CCPA&&(I+="_usa-ccpa")),I)return(0,t.jsx)(r.Dialog,{open:w,onOpenChange:b,children:(0,t.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==h?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===m?"wu-theme":""} `,onEscapeKeyDown:e=>{(j||y)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[P&&(0,t.jsx)(r.DialogHeader,{children:(0,t.jsx)(r.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(I,{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:g("optInButtonText")}),(0,t.jsx)(s.Button,{onClick:()=>{k(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,p,"default",0,p])},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)},598513,e=>{"use strict";var t=e.i(947118),i=e.i(737801),a=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",l=(0,t.useIsInitialized)(),s=(0,i.useEventAttributes)();return(0,a.useCallback)((t,i={})=>{let a={...s,...t};if(!l)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[s,l])}])},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()}`,p=await (0,a.fetchJsonWithoutCredentials)(u);return Array.isArray(p)?p:[]}},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])},429745,e=>{"use strict";var t=e.i(902875),i=e.i(62544),a=e.i(226602),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:r,headline:n,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:h="Get the app",onGetAppClick:m,learnMoreHref:f,learnMoreLabel:g="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:w,dismissLabel:b,onDismissClick:y})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,l.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)(i.DialogClose,{"aria-label":v,onClick:w,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"})}),r?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:r}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:n}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:d,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:p,onClick:m,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:h}),f&&(0,t.jsx)("a",{href:f,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}),!f&&b&&(0,t.jsx)(i.DialogClose,{onClick:y,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:b})]})]})})])},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),p=e.i(782937),h=e.i(695881),m=e.i(333350),f=e.i(64412),g=e.i(950771),x=e.i(537989),v=e.i(695203),w=e.i(158662),b=e.i(777638),y=e.i(924776),C=e.i(409628),j=e.i(605781);let A=(0,h.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(l.userPreferencesAtom),h=(0,n.useResetAuthState)(),{refresh:S}=(0,a.usePageNavigation)(),k=((e={})=>{let i=(0,t.useAtomValue)(x.pageIdAtom),a=(0,t.useAtomValue)(g.pageLocaleAtom),l=(0,t.useAtomValue)(v.deviceClassAtom),s=(0,t.useAtomValue)(w.experimentJoinListAtom),{location:r}=(0,f.useLocation)(),n=(0,y.useIsHightouchReady)(),{url:h,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"),f=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),g=window.DprSdk?.getGdprConsentOptInsString()??"",x=window.DprSdk?.getCcpaSaleOptInString()??"",v=window.navigator?.globalPrivacyControl??!1,w=g?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,k=navigator?.cookieEnabled??!1,P=(0,d.getCookie)("partner")||"",I=(0,p.getPartnerByPattern)(P)??P,N=(0,o.getMetricsSession)(),R=N?.sessionId||"",L=N?.sessionStartTime||0,M=new Date,U=M.getHours(),_=C.WEEK_DAYS[M.getDay()]??"",D=-M.getTimezoneOffset()/60,B=document.referrer,$={url:h??window.location.pathname,logoutMethod:S??"manual",referrer:B,privProducts:x,deviceTimeZone:D,pageId:i??"",locale:a,deviceClass:l,sessionId:R,sessionStartTime:L,partner:I,wlocCity:r?.city??null,wlocCountry:r?.countryCode??null,wlocState:r?.adminDistrictCode??null,wlocDMA:r?.dmaCd??null,dayOfWeek:_,regime:f??"",cookiesEnabled:k,gpcSignalOptOut:v,functionalTechnologies:w,geographicallyRelevantAds:y,priv:g,hourOfDay:U,physicalCountry:t??"",physicalState:c??"",campaign:(0,b.getCampaign)()??void 0,tpcc:(0,b.getTpcc)(),linkReferral:(0,b.getLinkReferral)(),experimentJoinList:s,weatherMode:"normal",appVersion:"e1cd55ed42c3df4379a4f664aebccc293d503720".slice(0,10)};(0,j.trackUserLoggedout)($),A.info('Hightouch: Event "user-loggedout" tracked')},[h,S,i,a,l,s,r,n])})();return async()=>{try{return(0,o.regenerateMetricsSession)(),await s.upsxClient.auth.logout(),k(),h(),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)},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",l="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${i}`,r=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,s,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,r],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:s,currentUrl:r,allowAppsFlyer:n,deepLinkValue:o}){if(!n||!s||null===e)return"";let c="android"===e?t:i,d=encodeURIComponent(s.replace(/ /g,"_")),u=`${a}/${c}?pid=WWW&af_adset=${d}&c=${l}`;return o&&(u+=`&deep_link_value=${encodeURIComponent(o)}`),"ios"===e&&r&&(u+=`&af_ios_fallback=${encodeURIComponent(r)}`),u}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),a=e.i(16730),l=e.i(881282);e.s(["useAppInstallLink",0,function(e,s){let[r,n]=(0,t.useState)(null),[o,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{n((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let p=(0,a.getAppsFlyerLink)({platform:r,trackAdset:e,currentUrl:o,allowAppsFlyer:d,deepLinkValue:s}),h="android"===r?i.PLAY_STORE_URL:i.APP_STORE_URL;return{href:p||h,platform:r}}])}]);