(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(592121);let r=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,r],674339),e.s(["useDebugSystem",0,function(){let[e,l]=(0,t.useAtom)(r),i=(0,a.useCallback)((e,t)=>{l(a=>{let r=a?.[e]||{},l="object"==typeof t&&null!==t&&"object"==typeof r?{...r,...t}:t;return{...a,[e]:l}})},[l]),n=(0,a.useCallback)((e,t)=>{l(a=>{let r=a||{timestamp:new Date().toISOString()},l=r.components||{};if(null===t){let t={...l};return delete t[e],{...r,components:t}}return{...r,components:{...l,[e]:t}}})},[l]),o=(0,a.useCallback)(e=>{i("page",e)},[i]),s=(0,a.useCallback)(e=>{i("route",e)},[i]),c=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&i(e,t)})},[i]);return{debugData:e,updateSection:i,updateComponentData:n,setPageData:o,clearAllDebugData:(0,a.useCallback)(()=>{l({timestamp:new Date().toISOString()})},[l]),updateRouteInfo:s,updatePageDebug:c}}],609858)},752496,e=>{"use strict";var t=e.i(592121),a=e.i(609858);let r=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:l,page:i,onUpdateData:n,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=n||s,f=o||c;return(0,t.useEffect)(()=>{if(l)return r.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(l),hasPerformance:!!l.performance,hasContext:!!l.context}),d(e,{...l,_collectedAt:new Date().toISOString()}),()=>{r.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,l,d]),(0,t.useEffect)(()=>{i&&!u.current&&(r.lifecycle("Setting page metadata",{title:i.title,assetName:i.assetName,collection:i.collection}),f({...i,_updatedAt:new Date().toISOString()}),u.current=!0)},[i,f]),null}])},837879,e=>{"use strict";var t=e.i(592121),a=e.i(546446),r=e.i(961123),l=e.i(485737),i=e.i(739971),n=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,a.useAtomValue)(i.subscriptionsEnabledAtom),u=(0,a.useAtomValue)(l.geoipCountry),d=(0,r.useParams)()?.locale,f=(0,a.useAtomValue)(o.privacyRegimeAtom)??n.Regime.EXEMPT,p=(0,a.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&n.US_REGIMES.includes(f)&&p!==c.Partner.OPPO,[e,u,d,f,p])}])},226602,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Close"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Close",e.s(["Close",0,i])},671525,e=>{"use strict";var t=e.i(961123);let a=()=>{let e=(0,t.useRouter)();return{navigate:(t,a={})=>{let{mpa:r=!0,replace:l=!1}=a;r?l?window.location.replace(t):window.location.href=t:l?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:a=!0}=t;a?window.location.reload():e.refresh()},router:e}};e.s(["default",0,a,"usePageNavigation",0,a])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),a=e.i(284007),r=e.i(889753),l=e.i(310847),i=e.i(613646);e.s(["mutate",()=>i.j],95870);var i=i,n=e.i(318849);let o=()=>{(0,i.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(n.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,o],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(r.userProfileAtom),i=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{o(),e(a.RESET),i(null)}}],756227)},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let a=t.find(t=>t.placeId===e.placeId);return a?{...e,displayName:a.address,address:a.address}:e}])},935807,e=>{"use strict";function t(e,a=[],l=!1,i="US",n){let o,s=a.find(t=>t.placeID===e.placeId);if(s&&l){let t=s.userTag||s.name;if(t&&"Other"!==t){let a=e.displayName,l=r(e,i,""),n="address"===e.type?e.address:void 0;if(t!==a&&t!==l&&t!==n)return t}}if(e?.disputedCountries)o=e.displayName||"";else{switch(e?.type){case"address":o=e?.address?.split(",")[0]?.trim()||"";break;case"city":o=e?.locale?.locale2||"";break;case"locality":o=e?.locale?.locale3||"";break;case"neighborhood":o=e?.locale?.locale4||"";break;case"airport":o=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",a=e?.postalCode||"";o=n?`${t} ${a}`.trim():`${t}`.trim();break}default:o=e?.displayName||""}0===o.length&&(o=e?.displayName||"")}return o}function a(e,t=[],l=!1,i="US",n){let o,s=t.find(t=>t.placeID===e.placeId);if(s&&l){let t=s.userTag||s.name;if(t&&"Other"!==t){let a=e.displayName,l=r(e,i,"");if(t!==a&&t!==l)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let a=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,a].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",r=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${r}`.trim(),a].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}}}(e,i)}}if(e?.disputedCountries)o=e?.displayName||"";else{let t=i===e?.countryCode?"":e?.country||"",a=e?.adminDistrict||"",r=e?.postalCode||"",l=e.city||"";switch(e?.type){case"address":o=[l,a,t].filter(Boolean).join(", ");break;case"city":default:o=[a,t].filter(Boolean).join(", ");break;case"locality":o=[e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"neighborhood":o=[e?.locale?.locale3||e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"postal":{let l=a||e?.locale?.locale2||"";o=[n?`${l} ${r}`.trim():l,t].filter(Boolean).join(", ")}}}return o}function r(e,t,a){let{displayName:r,adminDistrictCode:l,adminDistrict:i,countryCode:n,disputedArea:o,country:s}=e,c=[];return r&&c.push(r),"IL"!==t&&(l?c.push(l):i&&c.push(i)),n!==t&&!1===o&&s&&c.push(s),c.join(a)}e.s(["getLocationContext",0,a,"getLocationName",0,t,"getLocationPresentationName",0,function(e,r=[],l=!1,i="US"){let n=t(e,r,l,i,!1),o=a(e,r,l,i,!0),s=e?.separator?e?.separator:n&&o?", ":"";return`${n}${s}${o}`.trim()}])},718043,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},a.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},a.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},a.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:a}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${a}/${e}`}},a.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:a=0,limit:i=10,sort:n="-publishdate"}){let o={q:Object.keys(t).reduce((e,a)=>{let r=t[a];return r instanceof Array?[...e,...r.map(e=>l(a,e))]:[...e,l(a,r)]},[]).join(";"),pg:`${a},${i}`,format:"json",sort:n},s=(0,r.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:l=10,sort:i="-publishdate"}){let n={q:t,pg:`${a},${l}`,format:"json",sort:i},o=(0,r.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},a.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:a=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${a}`}},a.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let r=e.r(678651);function l(e,t){let a=`'${t.$in}'`;return t.$in instanceof Array&&(a=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${a})`}},427977,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getQuickNav=void 0;let r=e.r(414655),l=e.r(678651),i=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,i.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,r.handleFetchResponse)(t)}},867775,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(730921),l=e.i(683903),i=e.i(877957),n=e.i(367810),o=e.i(901351),s=e.i(313983),c=e.i(725296),u=e.i(521350),d=e.i(611540);let f=({isUserLoggedIn:e,regime:f,deviceClass:p,experience:m,isPremiumUser:h})=>{let g=(0,l.useTranslations)("PrivacyConsentModal"),b=(0,r.useLocale)(),v=(0,d.interpolateUrl)(d.URLS.privacyPolicy,{locale:b}),[x,y]=(0,a.useState)(!1),[w,A]=(0,a.useState)(!1),[C,S]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(f)||h||!(0,u.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(A(!0),y(!0)):e&&a&&(S(!0),y(!0))},[f,h,e]);let E=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await o.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},j=t=>{let a=window,r=window.top,l=a.DprSdk||r?.DprSdk;l?(l.setUserConsents({[s.Purpose.SALE_OF_DATA]:t}),e&&E({purpose:s.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),w?((0,u.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):C&&(0,u.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),y(!1)):console.error("Unable to fix conflict, missing DprSdk.")},R="",N="";if(w?(R="gpcConflictHeader",N="gpcConflictParagraph",f===c.Regime.USA_CCPA&&(N+="_usa-ccpa")):C&&(R="saleOfDataConflictHeader",N="saleOfDataConflictParagraph",f===c.Regime.USA_CCPA&&(N+="_usa-ccpa")),N)return(0,t.jsx)(n.Dialog,{open:x,onOpenChange:y,children:(0,t.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==p?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===m?"wu-theme":""} `,onEscapeKeyDown:e=>{(C||w)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[R&&(0,t.jsx)(n.DialogHeader,{children:(0,t.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:g(R)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:g.rich(N,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:v,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(n.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(i.Button,{onClick:()=>{j(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,t.jsx)(i.Button,{onClick:()=>{j(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,f,"default",0,f])},520362,e=>{"use strict";var t=e.i(699173),a=e.i(592121);let r=e=>{let{apiRoute:t,depth:r,refresh:l,serverURL:i}=e,n=(0,a.useRef)(!1),o=(0,a.useCallback)(e=>{e.origin===i&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof l?l():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[l,i]);return(0,a.useEffect)(()=>("u">typeof window&&window.addEventListener("message",o),n.current||(n.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:i}),l()),()=>{"u">typeof window&&window.removeEventListener("message",o)}),[i,o,r,t,l]),null};var l=e.i(961123);let i=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),n={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"},o=e=>{let a=(0,l.useRouter)();return(0,t.jsx)(r,{...e,refresh:a.refresh})};e.s(["LivePreviewListener",0,o],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)(null),r=(0,a.useRef)(null),l=(0,a.useRef)(null),o=(0,a.useRef)(null),s=(0,a.useCallback)(()=>{if("u"{let a=t.current,l=e.current;if(!a||!l)return;if(!a.isConnected){t.current=null,l.style.opacity="0",r.current?.disconnect();return}let i=a.getBoundingClientRect();l.style.top=`${i.top+window.scrollY}px`,l.style.left=`${i.left+window.scrollX}px`,l.style.width=`${i.width}px`,l.style.height=`${i.height}px`,l.style.opacity="1"},[]),u=(0,a.useCallback)(()=>{t.current=null,o.current=null,e.current&&(e.current.style.opacity="0"),r.current?.disconnect()},[]),d=(0,a.useCallback)(()=>{t.current&&null===l.current&&(l.current=requestAnimationFrame(()=>{l.current=null,c()}))},[c]),f=(0,a.useCallback)(e=>{if(e===o.current)return;let a=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!a)return void i.debug("No element found for block ID",{blockId:e});let l=(e=>{let t=e,a=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?f(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==l.current&&cancelAnimationFrame(l.current),r.current?.disconnect(),e.current?.remove()}},[f,u,d]),null},"LivePreviewListener",0,o],520362)},104777,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var l in r)Object.defineProperty(a,l,{enumerable:!0,get:r[l]});let i=e.r(836549),n=e.r(560716),o=e.r(544383)},313983,e=>{"use strict";var t,a=((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",()=>a])},647872,279791,494889,928083,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let a=(0,t.atom)(!1);e.s(["showOpenWebCommentsAtom",0,a],279791);let r=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,r],494889);let l=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,l],928083),e.s([],647872)},567277,e=>{"use strict";var t=e.i(546584),a=e.i(592121),r=e.i(961123);function l(){return false}function i(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function n(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(r.current)e.route&&r.current(e.route);else{let a=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 a=e.scriptSrc?e.scriptSrc:l()?"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*="${a}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let r=document.createElement("script");return r.src=a,r.defer=!0,r.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),r.dataset.sdkv="1.3.1",e.sampleRate&&(r.dataset.sampleRate=e.sampleRate.toString()),e.route&&(r.dataset.route=e.route),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(r.dataset.dsn=e.dsn),l()&&!1===e.debug&&(r.dataset.debug="false"),r.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(r),{setRoute:e=>{r.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});a&&(r.current=a.setRoute)}},[e.route]),null}function o(e){let l=(()=>{let e=(0,r.useParams)(),t=(0,r.useSearchParams)()||new URLSearchParams,a=(0,r.usePathname)();if(!e)return null;let l=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!l)return a;let n=a;try{let e=Object.entries(l);for(let[t,a]of e)if(!Array.isArray(a)){let e=i(a);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=i(a.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch(e){return a}})();return a.default.createElement(n,{route:l,...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 a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(o,{...e}))}])},540039,e=>{"use strict";var t,a=e.i(546584),r={scriptHostname:("u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof a.default?"dpl_AVXiVQPjCvcG6E8Y9n8AoWCA89CU":void 0},l=e.i(592121),i=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,l.useEffect)(()=>(e&&i&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(r,e);let a=document.createElement("script");for(let[l,i]of(a.src=`${r.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((r.ownerId&&r.projectId?{"data-owner-id":r.ownerId,"data-project-id":r.projectId,"data-branch":t??r.branch}:r.deploymentId?{"data-deployment-id":r.deploymentId}:void 0)??{})))i&&a.setAttribute(l,i);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),i=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],540039)},556441,e=>{"use strict";var t=e.i(699173),a=e.i(961123),r=e.i(240058),l=e.i(877957),i=e.i(368847),n=e.i(132084),o=e.i(528600),s=e.i(837879),c=e.i(498076),u=e.i(37429),d=e.i(683199);e.s(["default",0,()=>{let e=(0,a.useSearchParams)(),f=e.get("par")||e.get("partner"),p=(0,c.useIsMobile)(),m=(0,s.useSubscriptionsEnabled)(),{user:h}=(0,o.useUser)(),{isUserPremium:g}=h,b=(0,d.usePremiumSource)();return f===n.Partner.TIKTOK&&p&&m&&!g?(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)(i.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(i.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)(r.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>b({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},348501,e=>{e.q("/_next/static/media/dlpg-you.0o6zs2s1qinws.png")},429745,e=>{"use strict";var t=e.i(699173),a=e.i(367810),r=e.i(226602),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:i,title:n,headline:o,description:s,imageUrl:c,imageAlt:u="",imageContent:d,getAppHref:f,getAppLabel:p="Get the app",onGetAppClick:m,learnMoreHref:h,learnMoreLabel:g="Learn more",onLearnMoreClick:b,closeLabel:v="Close"})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:i,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,l.cn)("flex flex-col gap-12 overflow-y-auto border-0 border-b border-black/10 bg-white p-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(a.DialogClose,{"aria-label":v,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)(r.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,t.jsx)("div",{className:"relative h-40 w-full",children:d||(c?(0,t.jsx)("img",{src:c,alt:u,className:"size-full rounded-lg object-cover"}):(0,t.jsx)("div",{className:"size-full rounded-lg bg-gradient-to-br from-rose-100 via-sky-100 to-violet-100"}))}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 px-4 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:o}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:s})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("a",{href:f,onClick:m,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:p}),(0,t.jsx)("a",{href:h,onClick:b,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:g})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",r="https://app.appsflyer.com",l="weather.com",i=`https://apps.apple.com/us/app/the-weather-channel/${a}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,r,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,i,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,n],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:i,currentUrl:n,allowAppsFlyer:o,deepLinkValue:s}){if(!o||!i||null===e)return"";let c="android"===e?t:a,u=encodeURIComponent(i.replace(/ /g,"_")),d=`${r}/${c}?pid=WWW&af_adset=${u}&c=${l}`;return s&&(d+=`&deep_link_value=${encodeURIComponent(s)}`),"ios"===e&&n&&(d+=`&af_ios_fallback=${encodeURIComponent(n)}`),d}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var t=e.i(592121),a=e.i(726812),r=e.i(16730),l=e.i(881282);e.s(["useAppInstallLink",0,function(e,i){let[n,o]=(0,t.useState)(null),[s,c]=(0,t.useState)(null),[u,d]=(0,t.useState)(!1);(0,t.useEffect)(()=>{o((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),d(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let f=(0,r.getAppsFlyerLink)({platform:n,trackAdset:e,currentUrl:s,allowAppsFlyer:u,deepLinkValue:i}),p="android"===n?a.PLAY_STORE_URL:a.APP_STORE_URL;return{href:f||p,platform:n}}])},738426,e=>{"use strict";var t=e.i(592121),a=e.i(598513);let r={"you-hub":"you-hub-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install"},l={"you-hub":{"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 i=(0,a.useSendInteractionEvent)();return(0,t.useCallback)(t=>{i({moduleId:r[e],interactionType:"click",interactionElement:l[e][t]},{flushImmediately:!0})},[i,e])}])},677997,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...i,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Lightning",e.s(["Lightning",0,i])},606703,103e3,e=>{"use strict";var t=e.i(699173),a=e.i(592121);e.s(["Card",0,function({src:e,alt:a,top:r,left:l,width:i}){return(0,t.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:r,left:l,width:i}})},"CompositeFrame",0,function({left:e,top:a,width:r,height:l,children:i}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:a,width:r,height:l},children:i})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:r,color:l,cx:i,cy:n,rx:o,ry:s}){let c=(0,a.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${r}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:i,cy:n,rx:o,ry:s,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:r,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],606703);let r={src:e.i(348501).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,r],103e3)},460581,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(240058),l=e.i(64412),i=e.i(677997),n=e.i(995113),o=e.i(702957),s=e.i(489408),c=e.i(113016),u=e.i(312401),d=e.i(807215),f=e.i(876329),p=e.i(524574),m=e.i(248730),h=e.i(632137),g=e.i(546446);e.i(609717);var b=e.i(950771),v=e.i(537989);e.i(647872);var x=e.i(494889),y=e.i(611540),w=e.i(738426),A=e.i(381477),C=e.i(190344),S=e.i(427977),E=e.i(961123),j=e.i(559421),R=e.i(388706),N=e.i(498076),_=e.i(683903),k=e.i(304116),I=e.i(269153),L=e.i(528600),P=e.i(837879),O=e.i(683199),T=e.i(677691),D=e.i(429745),U=e.i(606703),$=e.i(103e3),B=e.i(226602),M=e.i(697380),F=e.i(512134),H=e.i(521350),V=e.i(358273);let G="wx-next/get-app-button:dismissed-session",z=["/hourbyhour","/radar","/download/you"];function Y(){let e=(0,N.useIsMobile)(),r=(0,E.usePathname)(),l=(0,g.useAtomValue)(M.fixedBottomAdHeightAtom),{isDismissed:i,dismiss:n}=function(){let e=(0,F.useIsClient)(),[t,r]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,H.isLocalStorageAvailable)())return null;try{return localStorage.getItem(G)}catch{return null}}();if(!e)return!1;let t=(0,V.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,V.getMetricsSession)()?.sessionId;if(e&&(0,H.isLocalStorageAvailable)())try{localStorage.setItem(G,e)}catch{}r(!0)},[])}}(),{href:o}=(0,T.useAppInstallLink)("floating-button","floating-button"),s=(0,w.useTrackInstallPromptClick)("floating-button");if(!e||i||z.some(e=>r.includes(e)))return null;let c=`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:c},"data-testid":"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:o,onClick:()=>s("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:n,className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(B.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e=(0,N.useIsMobile)(),B=(0,E.usePathname)(),M=(0,j.useCanonicalBasePath)(),[F,H]=(0,a.useState)(!1),{href:V}=(0,T.useAppInstallLink)("you-hub","you-hub"),G=(0,w.useTrackInstallPromptClick)("you-hub"),z=(0,I.useIsSamsungPartner)(),W=(0,g.useAtomValue)(v.pageIdAtom),q=(0,_.useTranslations)("SidebarNavigation"),{user:Q}=(0,L.useUser)(),{isUserPremium:K}=Q,X=(0,P.useSubscriptionsEnabled)(),J=(0,O.usePremiumSource)(),{location:Z,isLoading:ee}=(0,l.useLocation)(),et=(0,g.useAtomValue)(b.pageLocaleAtom),ea=(0,g.useAtomValue)(x.newsHubEnabledAtom),er=(0,C.useVideoNavUrl)(),{data:el}=(0,A.default)(["navigation/getQuickNav",et],()=>(0,S.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ei=(0,a.useMemo)(()=>{if(ee||!Z)return[];let e=Z.placeId||"",a=Z.featureId,r=Z.canonicalID,l=(0,k.buildLocationPageHref)({pageType:"today",locale:et,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:M,skipCanonical:z}),h=(0,k.buildLocationPageHref)({pageType:"radar",locale:et,canonicalID:r,featureId:a,placeId:e,canonicalBasePath:M,skipCanonical:z}),g=M?(0,R.navTypeForSuffix)(B.split("/").pop()):null,b="en-US"===et?"/":`/${et}`,v=B===b||"/"!==b&&B===`${b}/`||(M?"forecast"===g:B.includes("/weather/today/")||B.includes("/weather/hourbyhour/")||B.includes("/weather/tenday/")||B.includes("/weather/monthly/")||B.includes("/forecast/allergy/")||B.includes("/forecast/air-quality/")||B.includes("/forecast/cold-flu/")),x=M?"radar"===g:B.includes("/weather/radar/")||B.includes("/weather/maps/"),w=B.includes("/subscribe"),A="video"===W,C="news"===W,S="en-US"===et&&ea,E=el?.videoLinkLocaleInclude?.["en-US"],j=E?.override?`?${E?.adRef}`:"",N=er?`${er}${j}`:"",_="h-6 w-6 text-inherit";return[{name:q("forecast"),href:l,icon:(0,t.jsx)(o.PartlyCloudyBold,{className:_}),activeIcon:(0,t.jsx)(s.PartlyCloudyBoldFilled,{className:_}),isActive:v},...S?[{name:"News",href:y.URLS.news,icon:(0,t.jsx)(p.HomeBold,{className:_}),activeIcon:(0,t.jsx)(m.HomeBoldFilled,{className:_}),isActive:C}]:er?[{name:q("video"),href:N,icon:(0,t.jsx)(c.VideoPlayerBold,{className:_}),activeIcon:(0,t.jsx)(u.VideoPlayerBoldFilled,{className:_}),isActive:A}]:[],{name:q("radar"),href:h,icon:(0,t.jsx)(d.RadarBold,{className:_}),activeIcon:(0,t.jsx)(f.RadarBoldFilled,{className:_}),isActive:x},...X&&!K&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(i.Lightning,{className:_}),activeIcon:(0,t.jsx)(n.LightningFilled,{className:_}),isActive:w,onClick:()=>J({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[ee,Z,et,B,W,ea,er,el,M,J,z]);if(!e)return null;let en="en-US"===et;return 0===ei.length?en?(0,t.jsx)(Y,{}):null:(0,t.jsxs)(t.Fragment,{children:[en&&(0,t.jsx)(Y,{}),(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:ei.map(e=>{let a=(0,h.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,h.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(r.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)(D.InstallPromptSheet,{open:F,onOpenChange:H,title:"You Hub",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsxs)(U.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(U.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(U.Card,{src:$.default.src,alt:"You Hub cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]}),getAppHref:V,onGetAppClick:()=>G("get-the-app"),learnMoreHref:"/download/you#you-hub",onLearnMoreClick:()=>G("learn-more")})]})}],460581)}]);