(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,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),n=e.i(995113),r=e.i(702957),o=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),m=e.i(876329),h=e.i(160937),p=e.i(64344),f=e.i(51398),g=e.i(240027),x=e.i(632137),v=e.i(546446);e.i(609717);var b=e.i(950771),w=e.i(537989);e.i(647872);var y=e.i(494889),j=e.i(611540),A=e.i(738426),C=e.i(468104),S=e.i(18358),k=e.i(381477),N=e.i(190344),I=e.i(427977),P=e.i(725287),R=e.i(559421),U=e.i(388706),L=e.i(498076),$=e.i(581014),M=e.i(304116),_=e.i(379276),F=e.i(269153),B=e.i(528600),T=e.i(837879),E=e.i(683199),D=e.i(677691),O=e.i(429745),H=e.i(269186),V=e.i(328166),G=e.i(226602),z=e.i(697380),W=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,L.useIsMobile)(),a=(0,P.usePathname)(),l=(0,v.useAtomValue)(z.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:n}=function(){let e=(0,W.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:r}=(0,D.useAppInstallLink)("floating-button","floating-button"),o=(0,A.useTrackInstallPromptClick)("floating-button"),c=(0,C.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:r,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,L.useIsMobile)(),z=(0,P.usePathname)(),W=(0,R.useCanonicalBasePath)(),[q,Q]=(0,i.useState)(!1),{href:Y}=(0,D.useAppInstallLink)("my-plans","my-plans"),K=(0,A.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,C.useTrackModuleClick)(),ee=(0,F.useIsSamsungPartner)(),et=(0,v.useAtomValue)(w.pageIdAtom),ei=(0,$.useTranslations)("SidebarNavigation"),{user:ea}=(0,B.useUser)(),{isUserPremium:el}=ea,es=(0,T.useSubscriptionsEnabled)(),en=(0,E.usePremiumSource)(),{location:er,isLoading:eo}=(0,l.useLocation)(),ec=(0,v.useAtomValue)(b.pageLocaleAtom),ed=(0,v.useAtomValue)(y.newsHubEnabledAtom),eu=(0,N.useVideoNavUrl)(),{data:em}=(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||!er)return[];let e=er.placeId||"",i=er.featureId,a=er.canonicalID,l=(0,M.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:W,skipCanonical:ee}),x=(0,M.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:W,skipCanonical:ee}),v=W?(0,U.navTypeForSuffix)(z.split("/").pop()):null,b="en-US"===ec?"/":`/${ec}`,w=z===b||"/"!==b&&z===`${b}/`||(W?"forecast"===v:z.includes("/weather/today/")||z.includes("/weather/hourbyhour/")||z.includes("/weather/tenday/")||z.includes("/weather/monthly/")||z.includes("/forecast/allergy/")||z.includes("/forecast/air-quality/")||z.includes("/forecast/cold-flu/")),y=W?"radar"===v:z.includes("/weather/radar/")||z.includes("/weather/maps/"),A=z.includes("/subscribe"),C="video"===et,S=z===j.URLS.news||z.startsWith(`${j.URLS.news}/`)||_.NEWS_PAGE_IDS.includes(et??""),k="en-US"===ec&&ed,N=em?.videoLinkLocaleInclude?.["en-US"],I=N?.override?`?${N?.adRef}`:"",P=eu?`${eu}${I}`:"",R="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:R}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:R}),isActive:w},...k?[{name:"News",href:j.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:P,icon:(0,t.jsx)(c.VideoPlayerBold,{className:R}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:R}),isActive:C}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),Q(!0)},icon:(0,t.jsx)(h.CalendarBold,{className:R}),activeIcon:(0,t.jsx)(p.CalendarBoldFilled,{className:R}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:R}),activeIcon:(0,t.jsx)(m.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)(n.LightningFilled,{className:R}),isActive:A,onClick:()=>en({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,er,ec,z,et,ed,eu,em,W,en,ee,X]);if(!G)return null;let ep="en-US"===ec&&!ee;return 0===eh.length?ep?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[ep&&(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)(O.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)(H.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(H.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(H.Card,{src:V.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)},572304,function(e){e.n(e.i(432124))},190344,780708,e=>{"use strict";var t=e.i(381477),i=e.i(546446),a=e.i(763886),l=e.i(132084),s=e.i(456215);function n(e,t){return e===l.Partner.SAMSUNG?"weather-com-mobile-web-samsung":(0,s.isSnowCastWebView)(t)?"twc-snowcast":t?"weather-com-mobile-web":"weather-com-web"}e.s(["resolveContentChannel",0,n],780708);var r=e.i(647292);e.i(609717);var o=e.i(950771),c=e.i(328895);let d=(0,e.i(695881).createLogger)("useVideoNavUrl");e.s(["useVideoNavUrl",0,function(){let e=(0,i.useAtomValue)(a.partnerAtom),l=(0,i.useAtomValue)(r.webViewPlatformAtom),s=(0,i.useAtomValue)(o.pageLocaleAtom),u=n(e??"",l??""),{data:m,error:h}=(0,t.default)(["navigation/video-nav",u,s,e],()=>(0,c.getVideoNavLink)({channel:u,language:s,partner:e||void 0}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0});return h&&d.error("video nav url fetch failed",{channel:u,locale:s,partner:e,error:h}),m}],190344)},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:n,rx:r,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:n,rx:r,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)},328895,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getVideoNavLink=s;let a=e.r(426606),l=e.r(16689);async function s({channel:e,language:t="en-US",partner:i,contentQueryId:n}){let r=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];i&&r.push(encodeURIComponent(i));let o=n?`?cq=${encodeURIComponent(n)}`:"",c=`https://${(0,l.getCmsBaseUrl)()}/${r.join("/")}${o}`,d=await (0,a.fetchJsonWithoutCredentials)(c);return d&&"url"in d?d.url??null:null}},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:n="-publishdate"}){let r={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:n},o=(0,a.queryStringToSearchParams)(r).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 n={q:t,pg:`${i},${l}`,format:"json",sort:s},r=(0,a.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},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)}},16689,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCmsBaseUrl=function(){return window.location.host}},663333,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},498076,e=>{"use strict";var t=e.i(546446),i=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(i.deviceClassAtom)}])},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let i=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,i],494889);let a=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,a],928083);let l=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,l],624432),e.s([],647872)},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},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"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},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"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},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"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 n=e.i(598513);let r={"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,n.useSendInteractionEvent)();return(0,i.useCallback)(i=>{t({moduleId:r[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},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"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])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",0,t])},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:n,headline:r,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:m,getAppLabel:h="Get the app",onGetAppClick:p,learnMoreHref:f,learnMoreLabel:g="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:b,dismissLabel:w,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:b,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)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:r}),(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:r}),(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:p,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&&w&&(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:w})]})]})})])},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}`,n=`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,n],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:s,currentUrl:n,allowAppsFlyer:r,deepLinkValue:o}){if(!r||!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&&n&&(u+=`&af_ios_fallback=${encodeURIComponent(n)}`),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[n,r]=(0,t.useState)(null),[o,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{r((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let m=(0,a.getAppsFlyerLink)({platform:n,trackAdset:e,currentUrl:o,allowAppsFlyer:d,deepLinkValue:s}),h="android"===n?i.PLAY_STORE_URL:i.APP_STORE_URL;return{href:m||h,platform:n}}])}]);