(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),n=e.i(677997),r=e.i(995113),s=e.i(702957),o=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),m=e.i(876329),h=e.i(160937),p=e.i(64344),g=e.i(51398),f=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),C=e.i(611540),k=e.i(738426),S=e.i(468104),j=e.i(18358),A=e.i(381477),I=e.i(190344),N=e.i(427977),P=e.i(725287),_=e.i(559421),L=e.i(388706),E=e.i(498076),T=e.i(581014),$=e.i(304116),R=e.i(379276),U=e.i(269153),M=e.i(528600),F=e.i(837879),D=e.i(683199),B=e.i(677691),z=e.i(429745),O=e.i(269186),G=e.i(328166),H=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 J(){let e=(0,E.useIsMobile)(),a=(0,P.usePathname)(),l=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:n,dismiss:r}=function(){let e=(0,V.useIsClient)(),[t,a]=(0,i.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,i.useCallback)(()=>{let e=(0,q.getMetricsSession)()?.sessionId;if(e&&(0,Y.isLocalStorageAvailable)())try{localStorage.setItem(K,e)}catch{}a(!0)},[])}}(),{href:s}=(0,B.useAppInstallLink)("floating-button","floating-button"),o=(0,k.useTrackInstallPromptClick)("floating-button"),c=(0,S.useTrackModuleClick)();if(!e||n||Q.some(e=>a.includes(e)))return null;let u=`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:u},"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:s,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)(H.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,H=(0,E.useIsMobile)(),W=(0,P.usePathname)(),V=(0,_.useCanonicalBasePath)(),[Y,q]=(0,i.useState)(!1),{href:K}=(0,B.useAppInstallLink)("my-plans","my-plans"),Q=(0,k.useTrackInstallPromptClick)("my-plans"),X=(e=(0,j.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,S.useTrackModuleClick)(),ee=(0,U.useIsSamsungPartner)(),et=(0,v.useAtomValue)(w.pageIdAtom),ei=(0,T.useTranslations)("SidebarNavigation"),{user:ea}=(0,M.useUser)(),{isUserPremium:el}=ea,en=(0,F.useSubscriptionsEnabled)(),er=(0,D.usePremiumSource)(),{location:es,isLoading:eo}=(0,l.useLocation)(),ec=(0,v.useAtomValue)(b.pageLocaleAtom),eu=(0,v.useAtomValue)(y.newsHubEnabledAtom),ed=(0,I.useVideoNavUrl)(),{data:em}=(0,A.default)(["navigation/getQuickNav",ec],()=>(0,N.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),eh=(0,i.useMemo)(()=>{if(eo||!es)return[];let e=es.placeId||"",i=es.featureId,a=es.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,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/"),k=W.includes("/subscribe"),S="video"===et,j=W===C.URLS.news||W.startsWith(`${C.URLS.news}/`)||R.NEWS_PAGE_IDS.includes(et??""),A="en-US"===ec&&eu,I=em?.videoLinkLocaleInclude?.["en-US"],N=I?.override?`?${I?.adRef}`:"",P=ed?`${ed}${N}`:"",_="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:l,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:_}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:_}),isActive:w},...A?[{name:"News",href:C.URLS.news,icon:(0,t.jsx)(g.News,{className:_}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:_}),isActive:j}]:ed?[{name:ei("video"),href:P,icon:(0,t.jsx)(c.VideoPlayerBold,{className:_}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:_}),isActive:S}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),q(!0)},icon:(0,t.jsx)(h.CalendarBold,{className:_}),activeIcon:(0,t.jsx)(p.CalendarBoldFilled,{className:_}),isActive:!1}],{name:ei("radar"),href:x,icon:(0,t.jsx)(d.RadarBold,{className:_}),activeIcon:(0,t.jsx)(m.RadarBoldFilled,{className:_}),isActive:y},...en&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(n.Lightning,{className:_}),activeIcon:(0,t.jsx)(r.LightningFilled,{className:_}),isActive:k,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,es,ec,W,et,eu,ed,em,V,er,ee,X]);if(!H)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)(z.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)(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:G.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)},556441,e=>{"use strict";var t=e.i(902875),i=e.i(725287),a=e.i(240058),l=e.i(877957),n=e.i(368847),r=e.i(132084),s=e.i(528600),o=e.i(837879),c=e.i(498076),u=e.i(37429),d=e.i(683199);e.s(["default",0,()=>{let e=(0,i.useSearchParams)(),m=e.get("par")||e.get("partner"),h=(0,c.useIsMobile)(),p=(0,o.useSubscriptionsEnabled)(),{user:g}=(0,s.useUser)(),{isUserPremium:f}=g,x=(0,d.usePremiumSource)();return m===r.Partner.TIKTOK&&h&&p&&!f?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(u.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(n.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(n.default,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(l.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(a.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>x({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),a=e.i(546446),l=e.i(540768),n=e.i(682142),r=e.i(782937),s=e.i(695881),o=e.i(333350),c=e.i(64412),u=e.i(950771),d=e.i(537989),m=e.i(695203),h=e.i(158662),p=e.i(358273),g=e.i(122124),f=e.i(777638),x=e.i(727365),v=e.i(896363),b=e.i(924776),w=e.i(409628),y=e.i(605781);let C=(0,s.createLogger)("useTrackInteraction"),k=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),S=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,a.useAtomValue)(d.pageIdAtom),s=(0,a.useAtomValue)(u.pageLocaleAtom),j=(0,a.useAtomValue)(m.deviceClassAtom),A=(0,a.useAtomValue)(h.experimentJoinListAtom),I=(0,i.usePathname)(),{location:N}=(0,c.useLocation)(),P=(0,b.useIsHightouchReady)(),_=(0,t.useCallback)(t=>{let i=(0,n.getCICookie)(),a=i?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),o=i?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,h=u?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,C=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),P=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),_=navigator?.cookieEnabled??!1,L=(0,l.getCookie)("partner")||"",E=(0,r.getPartnerByPattern)(L)??L,T=(0,p.getMetricsSession)(),$=T?.sessionId||"",R=new Date(T?.sessionStartTime||0).toISOString(),U=new Date,M=U.getHours(),F=w.WEEK_DAYS[U.getDay()]??"",D=e&&["article","video"].includes(e)?I?.split("/").slice(0,-1).join("/")??"":(0,g.getAnonymizedPath)(I??""),B=(0,x.normalizeWlocType)(N?.type),z=N?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:D,referrer:document.referrer,locale:s,deviceClass:j,partner:E,sessionId:$,sessionStartTime:R,siteMode:"normal",dayOfWeek:F,hourOfDay:M,regime:c??"",cookiesEnabled:_,gpcSignalOptOut:m,functionalTechnologies:h,geographicallyRelevantAds:b,interestBasedAds:y,priv:u,privProducts:d,saleOfDataAuthorization:C,sensitiveDataAuthorization:P,campaign:(0,f.getCampaign)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:a??"",physicalState:o??"",wlocCity:N?.city??null,wlocCountry:N?.countryCode??null,wlocState:N?.adminDistrictCode??null,wlocDMA:N?.dmaCd??null,wlocId:N?.placeId??null,wlocFeatureId:N?.featureId??null,wlocFeatureSource:null!=z&&S.has(z)?z:void 0,wlocTags:N?.tags?.length?(0,v.parseArrayToString)(N.tags):null,wlocType:null!==B&&k.has(B)?B:void 0,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"9f3905e45dbdf9d656368bd8e5dabddd1a5d8be3".slice(0,10)}},[e,s,j,A,I,N]);return(0,t.useCallback)(e=>{if(o.default){if(!P)return void C.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,y.trackInteraction)(_(e)),C.info('Hightouch: Event "interaction" tracked')}catch(e){C.error('Hightouch: Event "interaction" failed',{error:e})}}},[P,_])}])},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:n}){return(0,a.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:i,left:l,width:n}})},"CompositeFrame",0,function({left:e,top:t,width:i,height:l,children:n}){return(0,a.jsx)("div",{className:"absolute",style:{left:e,top:t,width:i,height:l},children:n})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:l,cx:n,cy:r,rx:s,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:n,cy:r,rx:s,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(329017),l=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",n=(0,t.useIsInitialized)(),r=(0,i.useEventAttributes)(),s=(0,a.useTrackInteraction)();return(0,l.useCallback)((t,i={})=>{s(t);let a={...r,...t};if(!n)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)}},[r,n,s])}])},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:n=10,sort:r="-publishdate"}){let s={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},${n}`,format:"json",sort:r},o=(0,a.queryStringToSearchParams)(s).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:n="-publishdate"}){let r={q:t,pg:`${i},${l}`,format:"json",sort:n},s=(0,a.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},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),n=e.r(718043);i.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,n.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},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,...n},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,...n,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"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:l,...e}));n.displayName="Lightning",e.s(["Lightning",0,n],677997);var r=e.i(598513),s=e.i(990033);let o={"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"},c={"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)(),a=(0,i.useCallback)((e,t)=>{let i=window.AF;i&&i("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,s.v4)()}})},[]);return(0,i.useCallback)(i=>{t({moduleId:o[e],interactionType:"click",interactionElement:c[e][i]},{flushImmediately:!0}),a("web_to_app_install_click",{module:o[e],cta_type:i})},[t,a,e])}],738426)},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:n,title:r,headline:s,description:o,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:m,getAppLabel:h="Get the app",onGetAppClick:p,learnMoreHref:g,learnMoreLabel:f="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:b,dismissLabel:w,onDismissClick:y})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:n,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"})}),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:s}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[d||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:u,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:s}),(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}),g&&(0,t.jsx)("a",{href:g,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:f}),!g&&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})]})]})})])},235577,e=>{"use strict";var t=e.i(902875),i=e.i(523084),a=e.i(47524),l=e.i(632137),n=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:r,hidden:s,size:o="default",variant:c="light",className:u}){let d="sm"===o,m=(0,l.cn)("text-current",d?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(n.Button,{type:"button",onClick:r,"aria-hidden":"true",tabIndex:-1,className:(0,l.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",d?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",s&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",s&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",s&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(i.ChevronLeft,{className:m}):(0,t.jsx)(a.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(632137),l=e.i(546446),n=e.i(663333),r=e.i(235577),s=e.i(315730),o=e.i(240058);let c=(0,a.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:i,index:l,link:n}=e,r=i===l,s=(0,a.cn)(c,{"bg-gray-100 text-blue-500":r});if(e.onSelect){let{onSelect:i}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>i(l,n),className:(0,a.cn)("cursor-pointer",s),"aria-current":r?"page":void 0,children:n.label})}let{basePath:u,mpa:d}=e,m=n.href??("/"===n.slug?u||"/":`${u}/${n.slug}`);return(0,t.jsx)(o.default,{href:m,mpa:d,className:s,"aria-current":r?"page":void 0,sourceModule:"subnavigation",children:n.label})},d=(0,i.memo)(e=>{let{links:i,activeIndex:o,className:c,constrained:d=!0}=e,m=(0,l.useAtomValue)(n.deviceClassAtom),{ref:h,showLeft:p,showRight:g,scrollLeft:f,scrollRight:x}=(0,s.useHorizontalScroll)({enabled:"mobile"!==m&&"tablet"!==m,scrollAmount:200,contentKey:i});return(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",d&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":p}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!p,onClick:f,direction:"left"}),(0,t.jsx)("div",{ref:h,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:i.map((i,a)=>e.onSelect?(0,t.jsx)(u,{link:i,index:a,activeIndex:o,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(u,{link:i,index:a,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${i.label}_${i.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":g}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!g,onClick:x,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,i)=>e.label===t.links[i]?.label&&e.slug===t.links[i]?.slug&&e.href===t.links[i]?.href));d.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,d],457492)},315730,e=>{"use strict";var t=e.i(147732),i=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:a=200,contentKey:l}={}){let n=(0,i.useRef)(null),r=(0,i.useRef)(null),s=(0,i.useRef)(!1),[o,c]=(0,i.useState)(!1),[u,d]=(0,i.useState)(!1),m=(0,i.useCallback)(()=>{let t=n.current;if(!t||!e){c(!1),d(!1);return}let{scrollLeft:i,scrollWidth:a,clientWidth:l}=t,r=Math.abs(i),o=r>2,u=r+l(0,t.debounce)(m,150),[m]),p=(0,i.useCallback)(()=>{null===r.current&&(r.current=requestAnimationFrame(()=>{m(),r.current=null}))},[m]);(0,i.useEffect)(()=>{let t=n.current;return t&&(s.current="rtl"===getComputedStyle(t).direction),m(),e&&(t?.addEventListener("scroll",p),window.addEventListener("resize",h)),()=>{null!==r.current&&cancelAnimationFrame(r.current),r.current=null,t?.removeEventListener("scroll",p),h.cancel(),window.removeEventListener("resize",h)}},[e,m,p,h,l]);let g=(0,i.useCallback)(()=>n.current?.scrollBy({left:-a,behavior:"smooth"}),[a]),f=(0,i.useCallback)(()=>n.current?.scrollBy({left:a,behavior:"smooth"}),[a]);return{ref:n,showLeft:o,showRight:u,scrollLeft:g,scrollRight:f}}])},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",l="weather.com",n=`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,n,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,r],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:n,currentUrl:r,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!n||null===e)return"";let u="android"===e?t:i,d=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=d||`${a}/${u}`,h=encodeURIComponent(n.replace(/ /g,"_")),p=`${m}?pid=WWW&af_adset=${h}&c=${l}`;return c&&(p+=`&deep_link_value=${encodeURIComponent(c)}`),!d&&"ios"===e&&r&&(p+=`&af_ios_fallback=${encodeURIComponent(r)}`),p}],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),n=e.i(546446),r=e.i(402525),s=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,u]=(0,t.useState)(null),[d,m]=(0,t.useState)(null),h=(0,n.useAtomValue)(r.smartScriptClickUrlAtom),p=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{u((0,l.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let g=(0,a.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:d,allowAppsFlyer:p,deepLinkValue:o}),f="android"===c?i.PLAY_STORE_URL:i.APP_STORE_URL,x=h?(0,r.withCtaAttribution)(h,{trackAdset:e,deepLinkValue:o}):"";return{href:(p&&null!==c?x||g:"")||f,platform:c}}])}]);