(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),n=e.i(64412),r=e.i(677997),o=e.i(995113),s=e.i(702957),l=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),f=e.i(51398),h=e.i(240027),w=e.i(632137),v=e.i(546446);e.i(609717);var y=e.i(950771),C=e.i(537989);e.i(647872);var b=e.i(494889),A=e.i(611540),S=e.i(738426),x=e.i(468104),k=e.i(18358),E=e.i(381477),I=e.i(190344),P=e.i(427977),R=e.i(725287),_=e.i(559421),T=e.i(388706),D=e.i(498076),L=e.i(581014),j=e.i(304116),N=e.i(379276),O=e.i(269153),U=e.i(528600),M=e.i(837879),V=e.i(683199),B=e.i(677691),H=e.i(429745),F=e.i(269186),$=e.i(328166),G=e.i(226602),W=e.i(697380),z=e.i(512134),Y=e.i(521350),K=e.i(358273);let q="wx-next/get-app-button:dismissed-session",X=["/hourbyhour","/radar","/download-app"];function Q(){let e=(0,D.useIsMobile)(),a=(0,R.usePathname)(),n=(0,v.useAtomValue)(W.fixedBottomAdHeightAtom),{isDismissed:r,dismiss:o}=function(){let e=(0,z.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(q)}catch{return null}}();if(!e)return!1;let t=(0,K.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,i.useCallback)(()=>{let e=(0,K.getMetricsSession)()?.sessionId;if(e&&(0,Y.isLocalStorageAvailable)())try{localStorage.setItem(q,e)}catch{}a(!0)},[])}}(),{href:s}=(0,B.useAppInstallLink)("floating-button","floating-button"),l=(0,S.useTrackInstallPromptClick)("floating-button"),c=(0,x.useTrackModuleClick)();if(!e||r||X.some(e=>a.includes(e)))return null;let d=`calc(3.5rem + ${n}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:()=>l("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)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,D.useIsMobile)(),W=(0,R.usePathname)(),z=(0,_.useCanonicalBasePath)(),[Y,K]=(0,i.useState)(!1),{href:q}=(0,B.useAppInstallLink)("my-plans","my-plans"),X=(0,S.useTrackInstallPromptClick)("my-plans"),J=(e=(0,k.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),Z=(0,x.useTrackModuleClick)(),ee=(0,O.useIsSamsungPartner)(),et=(0,v.useAtomValue)(C.pageIdAtom),ei=(0,L.useTranslations)("SidebarNavigation"),{user:ea}=(0,U.useUser)(),{isUserPremium:en}=ea,er=(0,M.useSubscriptionsEnabled)(),eo=(0,V.usePremiumSource)(),{location:es,isLoading:el}=(0,n.useLocation)(),ec=(0,v.useAtomValue)(y.pageLocaleAtom),ed=(0,v.useAtomValue)(b.newsHubEnabledAtom),eu=(0,I.useVideoNavUrl)(),{data:ep}=(0,E.default)(["navigation/getQuickNav",ec],()=>(0,P.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),em=(0,i.useMemo)(()=>{if(el||!es)return[];let e=es.placeId||"",i=es.featureId,a=es.canonicalID,n=(0,j.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:z,skipCanonical:ee}),w=(0,j.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:z,skipCanonical:ee}),v=z?(0,T.navTypeForSuffix)(W.split("/").pop()):null,y="en-US"===ec?"/":`/${ec}`,C=W===y||"/"!==y&&W===`${y}/`||(z?"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/")),b=z?"radar"===v:W.includes("/weather/radar/")||W.includes("/weather/maps/"),S=W.includes("/subscribe"),x="video"===et,k=W===A.URLS.news||W.startsWith(`${A.URLS.news}/`)||N.NEWS_PAGE_IDS.includes(et??""),E="en-US"===ec&&ed,I=ep?.videoLinkLocaleInclude?.["en-US"],P=I?.override?`?${I?.adRef}`:"",R=eu?`${eu}${P}`:"",_="h-6 w-6 text-inherit";return[{name:ei("forecast"),href:n,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:_}),activeIcon:(0,t.jsx)(l.PartlyCloudyBoldFilled,{className:_}),isActive:C},...E?[{name:"News",href:A.URLS.news,icon:(0,t.jsx)(f.News,{className:_}),activeIcon:(0,t.jsx)(h.NewsFilled,{className:_}),isActive:k}]:eu?[{name:ei("video"),href:R,icon:(0,t.jsx)(c.VideoPlayerBold,{className:_}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:_}),isActive:x}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{J(),K(!0)},icon:(0,t.jsx)(m.CalendarBold,{className:_}),activeIcon:(0,t.jsx)(g.CalendarBoldFilled,{className:_}),isActive:!1}],{name:ei("radar"),href:w,icon:(0,t.jsx)(u.RadarBold,{className:_}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:_}),isActive:b},...er&&!en&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(r.Lightning,{className:_}),activeIcon:(0,t.jsx)(o.LightningFilled,{className:_}),isActive:S,onClick:()=>eo({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[el,es,ec,W,et,ed,eu,ep,z,eo,ee,J]);if(!G)return null;let eg="en-US"===ec&&!ee;return 0===em.length?eg?(0,t.jsx)(Q,{}):null:(0,t.jsxs)(t.Fragment,{children:[eg&&(0,t.jsx)(Q,{}),(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 i=(0,w.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}),n=(0,w.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:n,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:n,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)(F.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(F.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(F.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: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:()=>X("learn-more")})]})}],432124)},414338,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(730921),n=e.i(581014),r=e.i(877957),o=e.i(62544),s=e.i(901351),l=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),f=e.i(695881),h=e.i(333350),w=e.i(64412),v=e.i(950771),y=e.i(537989),C=e.i(695203),b=e.i(158662),A=e.i(358273),S=e.i(777638),x=e.i(924776),k=e.i(409628),E=e.i(605781);let I=(0,f.createLogger)("useTrackConsentChange"),P={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var R=e.i(611540),_=e.i(553329);let T=async e=>{let t;await (0,_.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},D=({isUserLoggedIn:e,regime:f,deviceClass:_,experience:D,isPremiumUser:L})=>{let j=(0,n.useTranslations)("PrivacyConsentModal"),N=(0,a.useLocale)(),O=(0,R.interpolateUrl)(R.URLS.privacyPolicy,{locale:N}),[U,M]=(0,i.useState)(!1),[V,B]=(0,i.useState)(!1),[H,F]=(0,i.useState)(!1),$=(()=>{let e=(0,u.useAtomValue)(y.pageIdAtom),t=(0,u.useAtomValue)(v.pageLocaleAtom),a=(0,u.useAtomValue)(C.deviceClassAtom),n=(0,u.useAtomValue)(b.experimentJoinListAtom),{location:r}=(0,w.useLocation)(),o=(0,x.useIsHightouchReady)(),s=(0,i.useCallback)(()=>{let e=(0,m.getCICookie)(),i=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"),l=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=l?.includes("functional-technology")??!1,f=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,h=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,w=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),v=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),y=navigator?.cookieEnabled??!1,C=(0,p.getCookie)("partner")||"",b=(0,g.getPartnerByPattern)(C)??C,x=(0,A.getMetricsSession)(),E=x?.sessionId||"",I=new Date(x?.sessionStartTime||0).toISOString(),P=new Date,R=P.getHours(),_=k.WEEK_DAYS[P.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:a,partner:b,sessionId:E,sessionStartTime:I,siteMode:"normal",dayOfWeek:_,hourOfDay:R,regime:s??"",cookiesEnabled:y,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:f,interestBasedAds:h,priv:l,privProducts:c,saleOfData:w,saleOfDataAuthorization:w,sensitiveDataAuthorization:v,campaign:(0,S.getCampaign)(),experimentJoinList:n,weatherMode:"normal",physicalCountry:i??"",physicalState:o??"",caUser:"US"===i&&"CA"===o,wlocCity:r?.city??null,wlocCountry:r?.countryCode??null,wlocState:r?.adminDistrictCode??null,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[t,a,n,r]),l=(0,i.useCallback)((t,i)=>{if("sensitive-data"===t&&i)return(0,E.trackSensitiveDataOptin)(s());let a={...s(),pageId:e??"",wlocDMA:r?.dmaCd??null};return"sensitive-data"===t?(0,E.trackSensitiveDataOptout)(a):i?(0,E.trackSodOptin)(a):(0,E.trackSodOptout)(a)},[s,e,r]);return(0,i.useCallback)((e,t)=>{let i=`${P[e]}-${t?"optin":"optout"}`;if(h.default)return o?(I.info(`Hightouch: Event "${i}" tracked`),l(e,t)):void I.warn(`Hightouch: Event "${i}" skipped - SDK not ready`)},[o,l])})();(0,i.useEffect)(()=>{if(!c.US_REGIMES.includes(f)||L||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(B(!0),M(!0)):e&&i&&f===c.Regime.USA_CCPA&&(F(!0),M(!0))},[f,L,e]);let G=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)}},W=t=>{let i=window,a=window.top,n=i.DprSdk||a?.DprSdk;if(!n)return void console.error("Unable to fix conflict, missing DprSdk.");n.setUserConsents({[l.Purpose.SALE_OF_DATA]:t});let r=T(()=>$(l.Purpose.SALE_OF_DATA,t));e&&G({purpose:l.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:r}),V?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||r.then(()=>window.location.reload())):H&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),M(!1)},z="",Y="";if(V?(z="gpcConflictHeader",Y="gpcConflictParagraph",f===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")):H&&(z="saleOfDataConflictHeader",Y="saleOfDataConflictParagraph",f===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")),Y)return(0,t.jsx)(o.Dialog,{open:U,onOpenChange:M,children:(0,t.jsxs)(o.DialogContent,{className:`text-center ${"desktop"!==_?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===D?"wu-theme":""} `,onEscapeKeyDown:e=>{(H||V)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[z&&(0,t.jsx)(o.DialogHeader,{children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-semibold",children:j(z)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:j.rich(Y,{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)(r.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:j("optInButtonText")}),(0,t.jsx)(r.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:j("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,D,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,D],414338)},248064,e=>{"use strict";var t=e.i(991511),i=e.i(763886),a=e.i(458001),n=e.i(394481),r=e.i(663333),o=e.i(849177),s=e.i(889753),l=e.i(5397),c=e.i(21121);e.i(647872);var d=e.i(494889),u=e.i(928083),p=e.i(624432),m=e.i(739971),g=e.i(688070),f=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[i.partnerAtom,e.partner],[a.cscCountryCodeAtom,e.cscCountryCode],[n.privacyRegimeAtom,e.privacyRegime],[r.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[o.adsDisabledAtom,e.adsDisabled],[l.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[d.newsHubEnabledAtom,e.newsHubEnabled],[u.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[p.contentSearchUniversalAtom,e.contentSearchUniversal],[m.subscriptionsEnabledAtom,e.subscriptionsEnabled],[f.webViewPlatformAtom,e.webViewPlatform],[g.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},556441,e=>{"use strict";var t=e.i(902875),i=e.i(725287),a=e.i(240058),n=e.i(877957),r=e.i(368847),o=e.i(132084),s=e.i(528600),l=e.i(837879),c=e.i(498076),d=e.i(37429),u=e.i(683199);e.s(["default",0,()=>{let e=(0,i.useSearchParams)(),p=e.get("par")||e.get("partner"),m=(0,c.useIsMobile)(),g=(0,l.useSubscriptionsEnabled)(),{user:f}=(0,s.useUser)(),{isUserPremium:h}=f,w=(0,u.usePremiumSource)();return p===o.Partner.TIKTOK&&m&&g&&!h?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(d.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)(r.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(r.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)(n.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:()=>w({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},185945,e=>{"use strict";var t=e.i(288906),i=e.i(247865),a=e.i(725287);function n(){return false}function r(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function o(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let a=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(a.current)e.route&&a.current(e.route);else{let i=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let i=e.scriptSrc?e.scriptSrc:n()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${i}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let a=document.createElement("script");return a.src=i,a.defer=!0,a.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),a.dataset.sdkv="1.3.1",e.sampleRate&&(a.dataset.sampleRate=e.sampleRate.toString()),e.route&&(a.dataset.route=e.route),e.endpoint?a.dataset.endpoint=e.endpoint:e.basePath&&(a.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(a.dataset.dsn=e.dsn),n()&&!1===e.debug&&(a.dataset.debug="false"),a.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${i}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(a),{setRoute:e=>{a.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});i&&(a.current=i.setRoute)}},[e.route]),null}function s(e){let n=(()=>{let e=(0,a.useParams)(),t=(0,a.useSearchParams)()||new URLSearchParams,i=(0,a.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!i||!n)return i;let o=i;try{let e=Object.entries(n);for(let[t,i]of e)if(!Array.isArray(i)){let e=r(i);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,i]of e)if(Array.isArray(i)){let e=r(i.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch(e){return i}})();return i.default.createElement(o,{route:n,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(s,{...e}))}])},538946,e=>{"use strict";var t,i=e.i(288906),a={scriptHostname:("u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof i.default?"dpl_5Q8o6E4YrbWqG2fHyM2H54g2R23A":void 0},n=e.i(247865),r=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:i}){return(0,n.useEffect)(()=>(e&&r&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(a,e);let i=document.createElement("script");for(let[n,r]of(i.src=`${a.scriptHostname}/_next-live/feedback/feedback.js`,i.setAttribute("data-explicit-opt-in","true"),e.nonce&&i.setAttribute("nonce",e.nonce),Object.entries((a.ownerId&&a.projectId?{"data-owner-id":a.ownerId,"data-project-id":a.projectId,"data-branch":t??a.branch}:a.deploymentId?{"data-deployment-id":a.deploymentId}:void 0)??{})))r&&i.setAttribute(n,r);(document.head||document.documentElement).appendChild(i)}}({nonce:i}),r=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],538946)},232598,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={callServer:function(){return r.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var n in a)Object.defineProperty(i,n,{enumerable:!0,get:a[n]});let r=e.r(276247),o=e.r(788443),s=e.r(955011)},866137,723469,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["adBlockAtom",0,t],866137);var i=e.i(247865),a=e.i(725287),n=e.i(546446),r=e.i(540768),o=e.i(682142),s=e.i(782937),l=e.i(695881),c=e.i(333350),d=e.i(64412),u=e.i(950771),p=e.i(537989),m=e.i(695203),g=e.i(158662),f=e.i(358273),h=e.i(122124),w=e.i(777638),v=e.i(924776),y=e.i(409628),C=e.i(605781);let b=(0,l.createLogger)("useTrackString");e.s(["useTrackString",0,()=>{let e=(0,n.useAtomValue)(p.pageIdAtom),t=(0,n.useAtomValue)(u.pageLocaleAtom),l=(0,n.useAtomValue)(m.deviceClassAtom),A=(0,n.useAtomValue)(g.experimentJoinListAtom),S=(0,a.usePathname)(),{location:x}=(0,d.useLocation)(),k=(0,v.useIsHightouchReady)(),E=(0,i.useCallback)(i=>{let a=(0,o.getCICookie)(),n=a?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),c=a?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),d=a?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,g=u?.includes("functional-technology")??!1,v=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,C=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,b=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),k=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),E=navigator?.cookieEnabled??!1,I=(0,r.getCookie)("partner")||"",P=(0,s.getPartnerByPattern)(I)??I,R=(0,f.getMetricsSession)(),_=R?.sessionId||"",T=new Date(R?.sessionStartTime||0).toISOString(),D=new Date,L=D.getHours(),j=y.WEEK_DAYS[D.getDay()]??"",N="article"===e||"video"===e?(0,h.stripLastPartOfSlug)(S??""):(0,h.getAnonymizedPath)(S??"");return{trackString:i,pageId:e??"",schemaVersion:"nextgen",url:N,referrer:document.referrer,locale:t,deviceClass:l,partner:P,sessionId:_,sessionStartTime:T,siteMode:"normal",dayOfWeek:j,hourOfDay:L,regime:d??"",cookiesEnabled:E,gpcSignalOptOut:m,functionalTechnologies:g,geographicallyRelevantAds:v,interestBasedAds:C,priv:u,privProducts:p,saleOfData:b,saleOfDataAuthorization:b,sensitiveDataAuthorization:k,campaign:(0,w.getCampaign)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:n??"",physicalState:c??"",wlocCity:x?.city??null,wlocCountry:x?.countryCode??null,wlocState:x?.adminDistrictCode??null,wlocDMA:x?.dmaCd??null,samsungVersion:(0,w.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[e,t,l,A,S,x]);return(0,i.useCallback)(e=>{if(c.default&&e){if(!k)return void b.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,C.trackTrackString)(E(e)),b.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){b.error('Hightouch: Event "track-string" failed',{error:e})}}},[k,E])}],723469)},320209,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),a=e.i(546446),n=e.i(540768),r=e.i(682142),o=e.i(782937),s=e.i(695881),l=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),f=e.i(122124),h=e.i(777638),w=e.i(924776),v=e.i(409628),y=e.i(605781);let C=(0,s.createLogger)("useTrackAssetViewed"),b=[],A=null;function S(e){try{(0,y.trackAssetViewed)(e),C.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){C.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["trackHightouchAssetViewed",0,function(e){try{A?.(e)}catch(e){C.error('Hightouch: Event "asset-viewed" failed',e)}},"useRegisterAssetViewedTracker",0,()=>{let e=(()=>{let e=(0,i.usePathname)(),s=(0,a.useAtomValue)(u.pageIdAtom),y=(0,a.useAtomValue)(d.pageLocaleAtom),C=(0,a.useAtomValue)(p.deviceClassAtom),A=(0,a.useAtomValue)(m.experimentJoinListAtom),{location:x}=(0,c.useLocation)(),k=(0,w.useIsHightouchReady)(),E=(0,t.useCallback)(({moduleId:t,contentId:i,assetMediaType:a,title:l,pos:c,tagsKeyword:d})=>{let u=(0,r.getCICookie)(),p=u?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),m=u?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),w=u?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),b=window.DprSdk?.getGdprConsentOptInsString()??"",S=window.DprSdk?.getCcpaSaleOptInString()??"",k=window.navigator?.globalPrivacyControl??!1,E=b?.includes("functional-technology")??!1,I=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,P=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,R=navigator?.cookieEnabled??!1,_=(0,n.getCookie)("partner")||"",T=(0,o.getPartnerByPattern)(_)??_,D=(0,g.getMetricsSession)(),L=D?.sessionId||"",j=new Date(D?.sessionStartTime||0).toISOString(),N=new Date,O=N.getHours(),U=v.WEEK_DAYS[N.getDay()]??"",M="article"===s||"video"===s?(0,f.stripLastPartOfSlug)(e??""):(0,f.getAnonymizedPath)(e??"");return{moduleId:t,contentId:i,assetMediaType:a,title:l,pos:String(c),tagsKeyword:d??null,pageId:s??"",url:M,referrer:document.referrer,locale:y,deviceClass:C,partner:T,sessionId:L,sessionStartTime:j,siteMode:"normal",dayOfWeek:U,hourOfDay:O,regime:w??"",cookiesEnabled:R,gpcSignalOptOut:k,functionalTechnologies:E,geographicallyRelevantAds:I,interestBasedAds:P,priv:b,privProducts:S,campaign:(0,h.getCampaign)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:p??"",physicalState:m??"",wlocCity:x?.city??null,wlocCountry:x?.countryCode??null,wlocState:x?.adminDistrictCode??null,wlocDMA:x?.dmaCd??null,samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[e,s,y,C,A,x]);return(0,t.useEffect)(()=>{if(!k||0===b.length)return;let e=b;b=[],e.forEach(S)},[k]),(0,t.useCallback)(e=>{if(!l.default)return;let t=E(e);k?S(t):b.push(t)},[k,E])})();(0,t.useEffect)(()=>(A=e,()=>{A===e&&(A=null)}),[e])}])},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),a=e.i(546446),n=e.i(540768),r=e.i(682142),o=e.i(782937),s=e.i(695881),l=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),f=e.i(122124),h=e.i(777638),w=e.i(727365),v=e.i(896363),y=e.i(924776),C=e.i(409628),b=e.i(605781);let A=(0,s.createLogger)("useTrackInteraction"),S=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),x=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,a.useAtomValue)(u.pageIdAtom),s=(0,a.useAtomValue)(d.pageLocaleAtom),k=(0,a.useAtomValue)(p.deviceClassAtom),E=(0,a.useAtomValue)(m.experimentJoinListAtom),I=(0,i.usePathname)(),{location:P}=(0,c.useLocation)(),R=(0,y.useIsHightouchReady)(),_=(0,t.useCallback)(t=>{let i=(0,r.getCICookie)(),a=i?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),l=i?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,m=d?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,b=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,A=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),R=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),_=navigator?.cookieEnabled??!1,T=(0,n.getCookie)("partner")||"",D=(0,o.getPartnerByPattern)(T)??T,L=(0,g.getMetricsSession)(),j=L?.sessionId||"",N=new Date(L?.sessionStartTime||0).toISOString(),O=new Date,U=O.getHours(),M=C.WEEK_DAYS[O.getDay()]??"",V=e&&["article","video"].includes(e)?I?.split("/").slice(0,-1).join("/")??"":(0,f.getAnonymizedPath)(I??""),B=(0,w.normalizeWlocType)(P?.type),H=P?.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:V,referrer:document.referrer,locale:s,deviceClass:k,partner:D,sessionId:j,sessionStartTime:N,siteMode:"normal",dayOfWeek:M,hourOfDay:U,regime:c??"",cookiesEnabled:_,gpcSignalOptOut:p,functionalTechnologies:m,geographicallyRelevantAds:y,interestBasedAds:b,priv:d,privProducts:u,saleOfDataAuthorization:A,sensitiveDataAuthorization:R,campaign:(0,h.getCampaign)(),experimentJoinList:E,weatherMode:"normal",physicalCountry:a??"",physicalState:l??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,wlocId:P?.placeId??null,wlocFeatureId:P?.featureId??null,wlocFeatureSource:null!=H&&x.has(H)?H:void 0,wlocTags:P?.tags?.length?(0,v.parseArrayToString)(P.tags):null,wlocType:null!==B&&S.has(B)?B:void 0,samsungVersion:(0,h.getSamsungVersion)(),appVersion:"c6fbd5a7980e55c71a4aafe9ccdf49dfaf7d97a9".slice(0,10)}},[e,s,k,E,I,P]);return(0,t.useCallback)(e=>{if(l.default){if(!R)return void A.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,b.trackInteraction)(_(e)),A.info('Hightouch: Event "interaction" tracked')}catch(e){A.error('Hightouch: Event "interaction" failed',{error:e})}}},[R,_])}])},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:n,width:r}){return(0,a.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:i,left:n,width:r}})},"CompositeFrame",0,function({left:e,top:t,width:i,height:n,children:r}){return(0,a.jsx)("div",{className:"absolute",style:{left:e,top:t,width:i,height:n},children:r})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:n,cx:r,cy:o,rx:s,ry:l}){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:r,cy:o,rx:s,ry:l,fill:n})}),(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 n={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,n],328166)},598513,e=>{"use strict";var t=e.i(947118),i=e.i(737801),a=e.i(329017),n=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",r=(0,t.useIsInitialized)(),o=(0,i.useEventAttributes)(),s=(0,a.useTrackInteraction)();return(0,n.useCallback)((t,i={})=>{s(t);let a={...o,...t};if(!r)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)}},[o,r,s])}])},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},677997,738426,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let n=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:n,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":n,...r,children:[a?(0,t.jsx)("desc",{id:n,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"})]})),r=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:n,...e}));r.displayName="Lightning",e.s(["Lightning",0,r],677997);var o=e.i(598513);let s={"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"},l={"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,o.useSendInteractionEvent)();return(0,i.useCallback)(i=>{t({moduleId:s[e],interactionType:"click",interactionElement:l[e][i]},{flushImmediately:!0})},[t,e])}],738426)},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},520362,e=>{"use strict";var t=e.i(902875),i=e.i(247865);let a=e=>{let{apiRoute:t,depth:a,refresh:n,serverURL:r}=e,o=(0,i.useRef)(!1),s=(0,i.useCallback)(e=>{e.origin===r&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,r]);return(0,i.useEffect)(()=>("u">typeof window&&window.addEventListener("message",s),o.current||(o.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:r}),n()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[r,s,a,t,n]),null};var n=e.i(725287);let r=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),o={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},s=e=>{let i=(0,n.useRouter)();return(0,t.jsx)(a,{...e,refresh:i.refresh})};e.s(["LivePreviewListener",0,s],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,i.useRef)(null),t=(0,i.useRef)(null),a=(0,i.useRef)(null),n=(0,i.useRef)(null),s=(0,i.useRef)(null),l=(0,i.useCallback)(()=>{if("u"{let i=t.current,n=e.current;if(!i||!n)return;if(!i.isConnected){t.current=null,n.style.opacity="0",a.current?.disconnect();return}let r=i.getBoundingClientRect();n.style.top=`${r.top+window.scrollY}px`,n.style.left=`${r.left+window.scrollX}px`,n.style.width=`${r.width}px`,n.style.height=`${r.height}px`,n.style.opacity="1"},[]),d=(0,i.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),a.current?.disconnect()},[]),u=(0,i.useCallback)(()=>{t.current&&null===n.current&&(n.current=requestAnimationFrame(()=>{n.current=null,c()}))},[c]),p=(0,i.useCallback)(e=>{if(e===s.current)return;let i=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!i)return void r.debug("No element found for block ID",{blockId:e});let n=(e=>{let t=e,i=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?p(e.data.blockId):d())};return window.addEventListener("message",t),window.addEventListener("scroll",u,{passive:!0}),window.addEventListener("resize",u,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",u),window.removeEventListener("resize",u),null!==n.current&&cancelAnimationFrame(n.current),a.current?.disconnect(),e.current?.remove()}},[p,d,u]),null},"LivePreviewListener",0,s],520362)},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},313983,e=>{"use strict";var t,i=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>i])},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),i=e.i(62544),a=e.i(226602),n=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:r,title:o,headline:s,description:l,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:m="Get the app",onGetAppClick:g,learnMoreHref:f,learnMoreLabel:h="Learn more",onLearnMoreClick:w,closeLabel:v="Close",onCloseClick:y,dismissLabel:C,onDismissClick:b})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:r,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,n.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:y,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"})}),o?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:o}):(0,t.jsx)(i.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:l})]})]}),(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}),f&&(0,t.jsx)("a",{href:f,onClick:w,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:h}),!f&&C&&(0,t.jsx)(i.DialogClose,{onClick:b,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",i="id295646461",a="https://app.appsflyer.com",n="weather.com",r=`https://apps.apple.com/us/app/the-weather-channel/${i}`,o=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,n,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,r,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,o],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:r,currentUrl:o,allowAppsFlyer:s,deepLinkValue:l}){if(!s||!r||null===e)return"";let c="android"===e?t:i,d=encodeURIComponent(r.replace(/ /g,"_")),u=`${a}/${c}?pid=WWW&af_adset=${d}&c=${n}`;return l&&(u+=`&deep_link_value=${encodeURIComponent(l)}`),"ios"===e&&o&&(u+=`&af_ios_fallback=${encodeURIComponent(o)}`),u}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),a=e.i(16730),n=e.i(881282);e.s(["useAppInstallLink",0,function(e,r){let[o,s]=(0,t.useState)(null),[l,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{s((0,n.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let p=(0,a.getAppsFlyerLink)({platform:o,trackAdset:e,currentUrl:l,allowAppsFlyer:d,deepLinkValue:r}),m="android"===o?i.PLAY_STORE_URL:i.APP_STORE_URL;return{href:p||m,platform:o}}])}]);