(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,432124,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(240058),l=e.i(64412),n=e.i(677997),o=e.i(995113),s=e.i(702957),r=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),p=e.i(876329),m=e.i(160937),g=e.i(64344),h=e.i(51398),f=e.i(240027),x=e.i(632137),v=e.i(546446),w=e.i(942400),C=e.i(537989);e.i(647872);var y=e.i(494889),b=e.i(611540),A=e.i(738426),k=e.i(468104),S=e.i(18358),j=e.i(381477),I=e.i(190344),P=e.i(427977),D=e.i(725287),N=e.i(559421),T=e.i(388706),L=e.i(498076),_=e.i(581014),E=e.i(304116),R=e.i(379276),U=e.i(269153),O=e.i(528600),F=e.i(837879),M=e.i(683199),B=e.i(677691),H=e.i(429745),G=e.i(269186),V=e.i(328166),W=e.i(710746),$=e.i(697380),z=e.i(512134),Y=e.i(521350),K=e.i(358273);let Q="wx-next/get-app-button:dismissed-session",q=["/hourbyhour","/radar","/download-app"];function J(){let e=(0,L.useIsMobile)(),i=(0,D.usePathname)(),l=(0,v.useAtomValue)($.fixedBottomAdHeightAtom),{isDismissed:n,dismiss:o}=function(){let e=(0,z.useIsClient)(),[t,i]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,Y.isLocalStorageAvailable)())return null;try{return localStorage.getItem(Q)}catch{return null}}();if(!e)return!1;let t=(0,K.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,K.getMetricsSession)()?.sessionId;if(e&&(0,Y.isLocalStorageAvailable)())try{localStorage.setItem(Q,e)}catch{}i(!0)},[])}}(),{href:s}=(0,B.useAppInstallLink)("floating-button","floating-button"),r=(0,A.useTrackInstallPromptClick)("floating-button"),c=(0,k.useTrackModuleClick)();if(!e||n||q.some(e=>i.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:s,onClick:()=>r("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"),o()},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)(W.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,W=(0,L.useIsMobile)(),$=(0,D.usePathname)(),z=(0,N.useCanonicalBasePath)(),[Y,K]=(0,a.useState)(!1),{href:Q}=(0,B.useAppInstallLink)("my-plans","my-plans"),q=(0,A.useTrackInstallPromptClick)("my-plans"),X=(e=(0,S.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,k.useTrackModuleClick)(),ee=(0,U.useIsSamsungPartner)(),et=(0,v.useAtomValue)(C.pageIdAtom),ea=(0,_.useTranslations)("SidebarNavigation"),{user:ei}=(0,O.useUser)(),{isUserPremium:el}=ei,en=(0,F.useSubscriptionsEnabled)(),eo=(0,M.usePremiumSource)(),{location:es,isLoading:er}=(0,l.useLocation)(),ec=(0,w.usePageLocale)(),ed=(0,v.useAtomValue)(y.newsHubEnabledAtom),eu=(0,I.useVideoNavUrl)(),{data:ep}=(0,j.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),em=(0,a.useMemo)(()=>{if(er||!es)return[];let e=es.placeId||"",a=es.featureId,i=es.canonicalID,l=(0,E.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:z,skipCanonical:ee}),x=(0,E.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:z,skipCanonical:ee}),v=z?(0,T.navTypeForSuffix)($.split("/").pop()):null,w="en-US"===ec?"/":`/${ec}`,C=$===w||"/"!==w&&$===`${w}/`||(z?"forecast"===v:$.includes("/weather/today/")||$.includes("/weather/hourbyhour/")||$.includes("/weather/tenday/")||$.includes("/weather/monthly/")||$.includes("/forecast/allergy/")||$.includes("/forecast/air-quality/")||$.includes("/forecast/cold-flu/")),y=z?"radar"===v:$.includes("/weather/radar/")||$.includes("/weather/maps/"),A=$.includes("/subscribe"),k="video"===et,S=$===b.URLS.news||$.startsWith(`${b.URLS.news}/`)||R.NEWS_PAGE_IDS.includes(et??""),j="en-US"===ec&&ed,I=ep?.videoLinkLocaleInclude?.["en-US"],P=I?.override?`?${I?.adRef}`:"",D=eu?`${eu}${P}`:"",N="h-6 w-6 text-inherit";return[{name:ea("forecast"),href:l,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:N}),activeIcon:(0,t.jsx)(r.PartlyCloudyBoldFilled,{className:N}),isActive:C},...j?[{name:"News",href:b.URLS.news,icon:(0,t.jsx)(h.News,{className:N}),activeIcon:(0,t.jsx)(f.NewsFilled,{className:N}),isActive:S}]:eu?[{name:ea("video"),href:D,icon:(0,t.jsx)(c.VideoPlayerBold,{className:N}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:N}),isActive:k}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{X(),K(!0)},icon:(0,t.jsx)(m.CalendarBold,{className:N}),activeIcon:(0,t.jsx)(g.CalendarBoldFilled,{className:N}),isActive:!1}],{name:ea("radar"),href:x,icon:(0,t.jsx)(u.RadarBold,{className:N}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:N}),isActive:y},...en&&!el&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(n.Lightning,{className:N}),activeIcon:(0,t.jsx)(o.LightningFilled,{className:N}),isActive:A,onClick:()=>eo({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[er,es,ec,$,et,ed,eu,ep,z,eo,ee,X]);if(!W)return null;let eg="en-US"===ec&&!ee;return 0===em.length?eg?(0,t.jsx)(J,{}):null:(0,t.jsxs)(t.Fragment,{children:[eg&&(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:em.map(e=>{let a=(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)(i.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:l,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:l,children:e.name})]},e.name)})})})}),(0,t.jsx)(H.InstallPromptSheet,{open:Y,onOpenChange:K,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: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:Q,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)},414338,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(730921),l=e.i(581014),n=e.i(877957),o=e.i(62544),s=e.i(901351),r=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(546446),p=e.i(540768),m=e.i(682142),g=e.i(782937),h=e.i(695881),f=e.i(333350),x=e.i(64412),v=e.i(950771),w=e.i(537989),C=e.i(695203),y=e.i(158662),b=e.i(358273),A=e.i(777638),k=e.i(924776),S=e.i(409628),j=e.i(605781),I=e.i(289681);let P=(0,h.createLogger)("useTrackConsentChange"),D={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var N=e.i(611540),T=e.i(553329);let L=async e=>{let t;await (0,T.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},_=({isUserLoggedIn:e,regime:h,deviceClass:T,experience:_,isPremiumUser:E})=>{let R=(0,l.useTranslations)("PrivacyConsentModal"),U=(0,i.useLocale)(),O=(0,N.interpolateUrl)(N.URLS.privacyPolicy,{locale:U}),[F,M]=(0,a.useState)(!1),[B,H]=(0,a.useState)(!1),[G,V]=(0,a.useState)(!1),W=(()=>{let e=(0,u.useAtomValue)(w.pageIdAtom),t=(0,u.useAtomValue)(v.pageLocaleAtom),i=(0,u.useAtomValue)(C.deviceClassAtom),l=(0,u.useAtomValue)(y.experimentJoinListAtom),{location:n}=(0,x.useLocation)(),o=(0,k.useIsHightouchReady)(),s=(0,a.useCallback)(()=>{let e=(0,m.getCICookie)(),a=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),o=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),s=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),r=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=r?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,f=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,x=(0,I.getConsentAuthorization)("sale-of-data"),v=(0,I.getConsentAuthorization)("sensitive-data"),w=navigator?.cookieEnabled??!1,C=(0,p.getCookie)("partner")||"",y=(0,g.getPartnerByPattern)(C)??C,k=(0,b.getMetricsSession)(),j=k?.sessionId||"",P=new Date(k?.sessionStartTime||0).toISOString(),D=new Date,N=D.getHours(),T=S.WEEK_DAYS[D.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:i,partner:y,sessionId:j,sessionStartTime:P,siteMode:"normal",dayOfWeek:T,hourOfDay:N,regime:s??"",cookiesEnabled:w,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:h,interestBasedAds:f,priv:r,privProducts:c,saleOfData:x??void 0,saleOfDataAuthorization:x,sensitiveDataAuthorization:v,campaign:(0,A.getCampaign)(),experimentJoinList:l,weatherMode:"normal",physicalCountry:a??"",physicalState:o??"",caUser:"US"===a&&"CA"===o,wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,samsungVersion:(0,A.getSamsungVersion)(),appVersion:"941bb9e178313d3f20f5cd9e98ec4eb4ab71ebff".slice(0,10)}},[t,i,l,n]),r=(0,a.useCallback)((t,a)=>{if("sensitive-data"===t&&a)return(0,j.trackSensitiveDataOptin)(s());let i={...s(),pageId:e??"",wlocDMA:n?.dmaCd??null};return"sensitive-data"===t?(0,j.trackSensitiveDataOptout)(i):a?(0,j.trackSodOptin)(i):(0,j.trackSodOptout)(i)},[s,e,n]);return(0,a.useCallback)((e,t)=>{let a=`${D[e]}-${t?"optin":"optout"}`;if(f.default)return o?(P.info(`Hightouch: Event "${a}" tracked`),r(e,t)):void P.warn(`Hightouch: Event "${a}" skipped - SDK not ready`)},[o,r])})();(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||E||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(H(!0),M(!0)):e&&a&&h===c.Regime.USA_CCPA&&(V(!0),M(!0))},[h,E,e]);let $=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await s.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},z=t=>{let a=window,i=window.top,l=a.DprSdk||i?.DprSdk;if(!l)return void console.error("Unable to fix conflict, missing DprSdk.");l.setUserConsents({[r.Purpose.SALE_OF_DATA]:t});let n=L(()=>W(r.Purpose.SALE_OF_DATA,t));e&&$({purpose:r.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:n}),B?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||n.then(()=>window.location.reload())):G&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),M(!1)},Y="",K="";if(B?(Y="gpcConflictHeader",K="gpcConflictParagraph",h===c.Regime.USA_CCPA&&(K+="_usa-ccpa")):G&&(Y="saleOfDataConflictHeader",K="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&(K+="_usa-ccpa")),K)return(0,t.jsx)(o.Dialog,{open:F,onOpenChange:M,children:(0,t.jsxs)(o.DialogContent,{className:`text-center ${"desktop"!==T?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===_?"wu-theme":""} `,onEscapeKeyDown:e=>{(G||B)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[Y&&(0,t.jsx)(o.DialogHeader,{children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-semibold",children:R(Y)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:R.rich(K,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:O,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(o.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(n.Button,{onClick:()=>{z(!0)},variant:"default",className:"w-full sm:w-auto",children:R("optInButtonText")}),(0,t.jsx)(n.Button,{onClick:()=>{z(!1)},variant:"secondary",className:"w-full sm:w-auto",children:R("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,_,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,_],414338)},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),a=e.i(725287),i=e.i(546446),l=e.i(540768),n=e.i(682142),o=e.i(782937),s=e.i(695881),r=e.i(333350),c=e.i(64412),d=e.i(950771),u=e.i(537989),p=e.i(695203),m=e.i(158662),g=e.i(358273),h=e.i(122124),f=e.i(777638),x=e.i(727365),v=e.i(896363),w=e.i(924776),C=e.i(409628),y=e.i(605781),b=e.i(289681);let A=(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,i.useAtomValue)(u.pageIdAtom),s=(0,i.useAtomValue)(d.pageLocaleAtom),j=(0,i.useAtomValue)(p.deviceClassAtom),I=(0,i.useAtomValue)(m.experimentJoinListAtom),P=(0,a.usePathname)(),{location:D}=(0,c.useLocation)(),N=(0,w.useIsHightouchReady)(),T=(0,t.useCallback)(t=>{let a=(0,n.getCICookie)(),i=a?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),r=a?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),c=a?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,m=d?.includes("functional-technology")??!1,w=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,A=(0,b.getConsentAuthorization)("sale-of-data"),N=(0,b.getConsentAuthorization)("sensitive-data"),T=navigator?.cookieEnabled??!1,L=(0,l.getCookie)("partner")||"",_=(0,o.getPartnerByPattern)(L)??L,E=(0,g.getMetricsSession)(),R=E?.sessionId||"",U=new Date(E?.sessionStartTime||0).toISOString(),O=new Date,F=O.getHours(),M=C.WEEK_DAYS[O.getDay()]??"",B=e&&["article","video"].includes(e)?P?.split("/").slice(0,-1).join("/")??"":(0,h.getAnonymizedPath)(P??""),H=(0,x.normalizeWlocType)(D?.type),G=D?.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:B,referrer:document.referrer,locale:s,deviceClass:j,partner:_,sessionId:R,sessionStartTime:U,siteMode:"normal",dayOfWeek:M,hourOfDay:F,regime:c??"",cookiesEnabled:T,gpcSignalOptOut:p,functionalTechnologies:m,geographicallyRelevantAds:w,interestBasedAds:y,priv:d,privProducts:u,saleOfDataAuthorization:A,sensitiveDataAuthorization:N,campaign:(0,f.getCampaign)(),experimentJoinList:I,weatherMode:"normal",physicalCountry:i??"",physicalState:r??"",wlocCity:D?.city??null,wlocCountry:D?.countryCode??null,wlocState:D?.adminDistrictCode??null,wlocDMA:D?.dmaCd??null,wlocId:D?.placeId??null,wlocFeatureId:D?.featureId??null,wlocFeatureSource:null!=G&&S.has(G)?G:void 0,wlocTags:D?.tags?.length?(0,v.parseArrayToString)(D.tags):null,wlocType:null!==H&&k.has(H)?H:void 0,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"941bb9e178313d3f20f5cd9e98ec4eb4ab71ebff".slice(0,10)}},[e,s,j,I,P,D]);return(0,t.useCallback)(e=>{if(r.default){if(!N)return void A.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,y.trackInteraction)(T(e)),A.info('Hightouch: Event "interaction" tracked')}catch(e){A.error('Hightouch: Event "interaction" failed',{error:e})}}},[N,T])}])},738426,e=>{"use strict";var t=e.i(247865),a=e.i(598513),i=e.i(990033);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","allergy-species":"allergy-species-web-to-app-install"},n={"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"},"allergy-species":{"get-the-app":"Get the app"}};e.s(["useTrackInstallPromptClick",0,function(e){let o=(0,a.useSendInteractionEvent)(),s=(0,t.useCallback)((e,t)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,i.v4)()}})},[]);return(0,t.useCallback)(t=>{o({moduleId:l[e],interactionType:"click",interactionElement:n[e][t]},{flushImmediately:!0}),s("web_to_app_install_click",{module:l[e],cta_type:t})},[o,s,e])}],738426)},468104,269186,328166,e=>{"use strict";var t=e.i(247865),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 i=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:a,left:l,width:n}){return(0,i.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:a,left:l,width:n}})},"CompositeFrame",0,function({left:e,top:t,width:a,height:l,children:n}){return(0,i.jsx)("div",{className:"absolute",style:{left:e,top:t,width:a,height:l},children:n})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:l,cx:n,cy:o,rx:s,ry:r}){let c=(0,t.useId)();return(0,i.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,i.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,i.jsx)("ellipse",{cx:n,cy:o,rx:s,ry:r,fill:l})}),(0,i.jsx)("defs",{children:(0,i.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,i.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(487709),a=e.i(737801),i=e.i(329017),l=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",n=(0,a.useEventAttributes)(),o=(0,i.useTrackInteraction)();return(0,l.useCallback)((a,i={})=>{o(a);let l={...n,...a};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,l),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,l)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[n,o])}])},677997,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));n.displayName="Lightning",e.s(["Lightning",0,n])},429745,e=>{"use strict";var t=e.i(902875),a=e.i(62544),i=e.i(710746),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:n,title:o,headline:s,description:r,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:m="Get the app",onGetAppClick:g,learnMoreHref:h,learnMoreLabel:f="Learn more",onLearnMoreClick:x,closeLabel:v="Close",onCloseClick:w,dismissLabel:C,onDismissClick:y})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:n,children:(0,t.jsxs)(a.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)(a.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)(i.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),o?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:o}):(0,t.jsx)(a.DialogTitle,{className:"sr-only",children:s}),(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:s}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:r})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:p,onClick:g,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:m}),h&&(0,t.jsx)("a",{href:h,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}),!h&&C&&(0,t.jsx)(a.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:C})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",i="https://app.appsflyer.com",l="weather.com",n=`https://apps.apple.com/us/app/the-weather-channel/${a}`,o=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,i,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,n,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,o],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:n,currentUrl:o,allowAppsFlyer:r,deepLinkValue:c}){if(!r||!n||null===e)return"";let d="android"===e?t:a,u=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,p=u||`${i}/${d}`,m=encodeURIComponent(n.replace(/ /g,"_")),g=`${p}?pid=WWW&af_adset=${m}&c=${l}`;return c&&(g+=`&deep_link_value=${encodeURIComponent(c)}`),!u&&"ios"===e&&o&&(g+=`&af_ios_fallback=${encodeURIComponent(o)}`),g}],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),a=e.i(726812),i=e.i(16730),l=e.i(881282),n=e.i(546446),o=e.i(402525),s=e.i(216809);e.s(["useAppInstallLink",0,function(e,r){let[c,d]=(0,t.useState)(null),[u,p]=(0,t.useState)(null),m=(0,n.useAtomValue)(o.smartScriptClickUrlAtom),g=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{d((0,l.getPlatform)(navigator.userAgent)),p(window.location.href)},[]);let h=(0,i.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:u,allowAppsFlyer:g,deepLinkValue:r}),f="android"===c?a.PLAY_STORE_URL:a.APP_STORE_URL,x=m?(0,o.withCtaAttribution)(m,{trackAdset:e,deepLinkValue:r}):"";return{href:(g&&null!==c?x||h:"")||f,platform:c}}])}]);