(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])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},834005,e=>{e.q("/_next/static/media/dlpg-you.0o6zs2s1qinws.png")},731672,e=>{"use strict";var t=e.i(546446),a=e.i(646341),l=e.i(671525),i=e.i(889753),s=e.i(45846),n=e.i(284007),r=e.i(756227),o=e.i(358273);e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(i.userPreferencesAtom),c=(0,r.useResetAuthState)(),{refresh:d}=(0,l.usePageNavigation)();return async()=>{try{return(0,o.regenerateMetricsSession)(),await s.upsxClient.auth.logout(),c(),e(n.RESET),(0,a.deleteCookie)("twc-user",{domain:".weather.com"}),d({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),l=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:i,...s},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(l.BaseIcon,{ref:a,icon:i,...e}));s.displayName="SkincareBold",e.s(["SkincareBold",0,s])},800177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:i,...s},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(l.BaseIcon,{ref:a,icon:i,...e}));s.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,s])},414338,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(730921),i=e.i(683903),s=e.i(877957),n=e.i(367810),r=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:m,experience:f,isPremiumUser:h})=>{let x=(0,i.useTranslations)("PrivacyConsentModal"),g=(0,l.useLocale)(),v=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:g}),[b,w]=(0,a.useState)(!1),[y,A]=(0,a.useState)(!1),[j,C]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(p)||h||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(A(!0),w(!0)):e&&a&&p===c.Regime.USA_CCPA&&(C(!0),w(!0))},[p,h,e]);let S=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await r.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},k=t=>{let a=window,l=window.top,i=a.DprSdk||l?.DprSdk;i?(i.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"),w(!1)):console.error("Unable to fix conflict, missing DprSdk.")},N="",P="";if(y?(N="gpcConflictHeader",P="gpcConflictParagraph",p===c.Regime.USA_CCPA&&(P+="_usa-ccpa")):j&&(N="saleOfDataConflictHeader",P="saleOfDataConflictParagraph",p===c.Regime.USA_CCPA&&(P+="_usa-ccpa")),P)return(0,t.jsx)(n.Dialog,{open:b,onOpenChange:w,children:(0,t.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==m?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===f?"wu-theme":""} `,onEscapeKeyDown:e=>{(j||y)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[N&&(0,t.jsx)(n.DialogHeader,{children:(0,t.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:x(N)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:x.rich(P,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:v,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(n.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:x("optInButtonText")}),(0,t.jsx)(s.Button,{onClick:()=>{k(!1)},variant:"secondary",className:"w-full sm:w-auto",children:x("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,p,"default",0,p])},677997,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:i,...s},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":i,...s,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(l.BaseIcon,{ref:a,icon:i,...e}));s.displayName="Lightning",e.s(["Lightning",0,s])},738426,e=>{"use strict";var t=e.i(592121),a=e.i(598513);let l={"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"},i={"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 s=(0,a.useSendInteractionEvent)();return(0,t.useCallback)(t=>{s({moduleId:l[e],interactionType:"click",interactionElement:i[e][t]},{flushImmediately:!0})},[s,e])}])},429745,e=>{"use strict";var t=e.i(699173),a=e.i(367810),l=e.i(226602),i=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:s,title:n,headline:r,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:m="Get the app",onGetAppClick:f,learnMoreHref:h,learnMoreLabel:x="Learn more",onLearnMoreClick:g,closeLabel:v="Close",onCloseClick:b})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,i.cn)("flex flex-col gap-12 overflow-y-auto border-0 border-b border-black/10 bg-white p-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)(a.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)(l.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),n?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,t.jsx)(a.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 px-4 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 gap-4",children:[(0,t.jsx)("a",{href:p,onClick:f,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:m}),h&&(0,t.jsx)("a",{href:h,onClick:g,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:x})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",l="https://app.appsflyer.com",i="weather.com",s=`https://apps.apple.com/us/app/the-weather-channel/${a}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,i,"APPSFLYER_HOST",0,l,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,s,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"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:a,d=encodeURIComponent(s.replace(/ /g,"_")),u=`${l}/${c}?pid=WWW&af_adset=${d}&c=${i}`;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(592121),a=e.i(726812),l=e.i(16730),i=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,i.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let p=(0,l.getAppsFlyerLink)({platform:n,trackAdset:e,currentUrl:o,allowAppsFlyer:d,deepLinkValue:s}),m="android"===n?a.PLAY_STORE_URL:a.APP_STORE_URL;return{href:p||m,platform:n}}])},468104,269186,328166,e=>{"use strict";var t=e.i(592121),a=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,a.useSendInteractionEvent)();return(0,t.useCallback)((t,a)=>{e({moduleId:t,interactionType:"click",interactionElement:a},{flushImmediately:!0})},[e])}],468104);var l=e.i(699173);e.s(["Card",0,function({src:e,alt:t,top:a,left:i,width:s}){return(0,l.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:a,left:i,width:s}})},"CompositeFrame",0,function({left:e,top:t,width:a,height:i,children:s}){return(0,l.jsx)("div",{className:"absolute",style:{left:e,top:t,width:a,height:i},children:s})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:i,cx:s,cy:n,rx:r,ry:o}){let c=(0,t.useId)();return(0,l.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,l.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,l.jsx)("ellipse",{cx:s,cy:n,rx:r,ry:o,fill:i})}),(0,l.jsx)("defs",{children:(0,l.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,l.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,l.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,l.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],269186);let i={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,i],328166)},432124,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(240058),i=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),p=e.i(876329),m=e.i(160937),f=e.i(64344),h=e.i(51398),x=e.i(240027),g=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),A=e.i(611540),j=e.i(738426),C=e.i(468104),S=e.i(18358),k=e.i(381477),N=e.i(190344),P=e.i(427977),I=e.i(961123),R=e.i(559421),L=e.i(388706),D=e.i(498076),F=e.i(683903),U=e.i(304116),B=e.i(379276),T=e.i(269153),E=e.i(528600),_=e.i(837879),M=e.i(683199),O=e.i(677691),H=e.i(429745),G=e.i(269186),$=e.i(328166),z=e.i(226602),W=e.i(697380),V=e.i(512134),Y=e.i(521350),q=e.i(358273);let K="wx-next/get-app-button:dismissed-session",Q=["/hourbyhour","/radar","/download-app"];function X(){let e=(0,D.useIsMobile)(),l=(0,I.usePathname)(),i=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:s,dismiss:n}=function(){let e=(0,V.useIsClient)(),[t,l]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,Y.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,a.useCallback)(()=>{let e=(0,q.getMetricsSession)()?.sessionId;if(e&&(0,Y.isLocalStorageAvailable)())try{localStorage.setItem(K,e)}catch{}l(!0)},[])}}(),{href:r}=(0,O.useAppInstallLink)("floating-button","floating-button"),o=(0,j.useTrackInstallPromptClick)("floating-button"),c=(0,C.useTrackModuleClick)();if(!e||s||Q.some(e=>l.includes(e)))return null;let d=`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: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)(z.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,z=(0,D.useIsMobile)(),W=(0,I.usePathname)(),V=(0,R.useCanonicalBasePath)(),[Y,q]=(0,a.useState)(!1),{href:K}=(0,O.useAppInstallLink)("my-plans","my-plans"),Q=(0,j.useTrackInstallPromptClick)("my-plans"),J=(e=(0,S.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,C.useTrackModuleClick)(),ee=(0,T.useIsSamsungPartner)(),et=(0,v.useAtomValue)(w.pageIdAtom),ea=(0,F.useTranslations)("SidebarNavigation"),{user:el}=(0,E.useUser)(),{isUserPremium:ei}=el,es=(0,_.useSubscriptionsEnabled)(),en=(0,M.usePremiumSource)(),{location:er,isLoading:eo}=(0,i.useLocation)(),ec=(0,v.useAtomValue)(b.pageLocaleAtom),ed=(0,v.useAtomValue)(y.newsHubEnabledAtom),eu=(0,N.useVideoNavUrl)(),{data:ep}=(0,k.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),em=(0,a.useMemo)(()=>{if(eo||!er)return[];let e=er.placeId||"",a=er.featureId,l=er.canonicalID,i=(0,U.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:l,featureId:a,placeId:e,canonicalBasePath:V,skipCanonical:ee}),g=(0,U.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:l,featureId:a,placeId:e,canonicalBasePath:V,skipCanonical:ee}),v=V?(0,L.navTypeForSuffix)(W.split("/").pop()):null,b="en-US"===ec?"/":`/${ec}`,w=W===b||"/"!==b&&W===`${b}/`||(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"),C="video"===et,S=W===A.URLS.news||W.startsWith(`${A.URLS.news}/`)||B.NEWS_PAGE_IDS.includes(et??""),k="en-US"===ec&&ed,N=ep?.videoLinkLocaleInclude?.["en-US"],P=N?.override?`?${N?.adRef}`:"",I=eu?`${eu}${P}`:"",R="h-6 w-6 text-inherit";return[{name:ea("forecast"),href:i,icon:(0,t.jsx)(r.PartlyCloudyBold,{className:R}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:R}),isActive:w},...k?[{name:"News",href:A.URLS.news,icon:(0,t.jsx)(h.News,{className:R}),activeIcon:(0,t.jsx)(x.NewsFilled,{className:R}),isActive:S}]:eu?[{name:ea("video"),href:I,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:()=>{J(),q(!0)},icon:(0,t.jsx)(m.CalendarBold,{className:R}),activeIcon:(0,t.jsx)(f.CalendarBoldFilled,{className:R}),isActive:!1}],{name:ea("radar"),href:g,icon:(0,t.jsx)(u.RadarBold,{className:R}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:R}),isActive:y},...es&&!ei&&[{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:j,onClick:()=>en({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,er,ec,W,et,ed,eu,ep,V,en,ee,J]);if(!z)return null;let ef="en-US"===ec&&!ee;return 0===em.length?ef?(0,t.jsx)(X,{}):null:(0,t.jsxs)(t.Fragment,{children:[ef&&(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:em.map(e=>{let a=(0,g.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,g.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(l.default,{href:e.href,className:a,"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:a,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)(H.InstallPromptSheet,{open:Y,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)(G.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(G.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(G.Card,{src:$.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:()=>Q("learn-more")})]})}],432124)},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),l=e.i(219246),i=e.i(632137);function s({children:e,reserveMobileNav:n=!0}){let r=(0,a.useAtomValue)(l.fixedTopAdHeightAtom);return(0,t.jsx)("div",{className:(0,i.cn)("flex min-h-0 flex-1 overflow-hidden pt-[var(--radar-top-ad)] md:pt-0 md:pb-0",n&&"pb-14"),style:{"--radar-top-ad":`${r}px`},children:e})}e.s(["RadarTopAdInset",0,s,"default",0,s])},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}])}]);