(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,190344,780708,e=>{"use strict";var a=e.i(381477),t=e.i(546446),l=e.i(763886),o=e.i(132084),r=e.i(456215);function i(e,a){return e===o.Partner.SAMSUNG?"weather-com-mobile-web-samsung":(0,r.isSnowCastWebView)(a)?"twc-snowcast":a?"weather-com-mobile-web":"weather-com-web"}e.s(["resolveContentChannel",0,i],780708);var c=e.i(647292);e.i(609717);var s=e.i(950771),n=e.i(328895);let d=(0,e.i(695881).createLogger)("useVideoNavUrl");e.s(["useVideoNavUrl",0,function(){let e=(0,t.useAtomValue)(l.partnerAtom),o=(0,t.useAtomValue)(c.webViewPlatformAtom),r=(0,t.useAtomValue)(s.pageLocaleAtom),u=i(e??"",o??""),{data:h,error:m}=(0,a.default)(["navigation/video-nav",u,r,e],()=>(0,n.getVideoNavLink)({channel:u,language:r,partner:e||void 0}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0});return m&&d.error("video nav url fetch failed",{channel:u,locale:r,partner:e,error:m}),h}],190344)},393843,e=>{"use strict";var a=e.i(902875),t=e.i(581014),l=e.i(240058),o=e.i(37429),r=e.i(64412),i=e.i(304116),c=e.i(611540),s=e.i(190344);let n=({href:e,imageSrc:t,imageAlt:r,title:i,message:c})=>(0,a.jsx)(l.default,{href:e,className:"block",children:(0,a.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm hover:shadow-md",children:[(0,a.jsx)("div",{className:"relative h-48 w-full",children:(0,a.jsx)(o.Image,{src:t,alt:r,fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",objectFit:"cover"})}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,a.jsx)("h2",{className:"mb-2 text-center text-xl font-semibold",children:i}),(0,a.jsx)("p",{className:"text-center",children:c})]})]})}),d=({locale:e})=>{let l=(0,t.useTranslations)("NotFound"),o=(0,t.useTranslations)("SidebarNavigation"),{location:d}=(0,r.useLocation)(),u=(0,s.useVideoNavUrl)(),h=a=>(0,i.buildLocationPageHref)({pageType:a,locale:e,canonicalID:d?.canonicalID,featureId:d?.featureId,placeId:d?.placeId}),m=!!(d?.placeId||d?.featureId),p=(0,c.interpolateUrl)(c.URLS.home,{locale:e}),g=m?h("today"):p,v=m?h("radar"):p;return(0,a.jsxs)("div",{className:"mt-10 grid grid-cols-1 gap-8 md:grid-cols-3",children:[u&&(0,a.jsx)(n,{href:u,imageSrc:"https://s.w-x.co/404-video.jpg",imageAlt:"Video thumbnail",title:o("video"),message:l("videoLinkMessage")}),(0,a.jsx)(n,{href:v,imageSrc:"https://s.w-x.co/404-maps.jpg",imageAlt:"Weather maps",title:l("mapsLinkTitle"),message:l("mapsLinkMessage")}),(0,a.jsx)(n,{href:g,imageSrc:"https://s.w-x.co/404-local.jpg",imageAlt:"Local weather",title:l("localWeatherLinkTitle"),message:l("localWeatherLinkMessage")})]})};e.s(["NotFoundFeaturedSections",0,d,"default",0,d])},902011,function(e){e.n(e.i(393843))},581014,e=>{"use strict";var a=e.i(730921);function t(e,a){return(...e)=>{try{return a(...e)}catch{throw Error(void 0)}}}let l=t(0,a.useTranslations),o=t(0,a.useFormatter);e.s(["useFormatter",0,o,"useTranslations",0,l])},328895,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVideoNavLink=r;let l=e.r(426606),o=e.r(16689);async function r({channel:e,language:a="en-US",partner:t,contentQueryId:i}){let c=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(a)];t&&c.push(encodeURIComponent(t));let s=i?`?cq=${encodeURIComponent(i)}`:"",n=`https://${(0,o.getCmsBaseUrl)()}/${c.join("/")}${s}`,d=await (0,l.fetchJsonWithoutCredentials)(n);return d&&"url"in d?d.url??null:null}},16689,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCmsBaseUrl=function(){return window.location.host}},89887,e=>{"use strict";function a(e,a){let t="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===a?t:`/${a}${t}`}e.s(["buildLocationCanonicalBase",0,a,"buildLocationCanonicalPath",0,function(e,t,l){return`${a(e,t)}/${l}`}])},611540,e=>{"use strict";e.i(438335);let a=(e,...a)=>{if(!e)return"";let[t={},l=!1]=a,o=Object.entries(t).reduce((e,[a,t])=>void 0===t?e:e.replaceAll(`{${a}}`,t),e);return l?o:"/en-US"===o?"/":o.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",news:"/news",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:t,locId:l,featureId:o})=>a(e,{locale:t,locId:(o?.startsWith("address.")?void 0:o)??l}),"interpolateUrl",0,a],611540)},304116,e=>{"use strict";var a=e.i(89887),t=e.i(611540),l=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:o,canonicalID:r,featureId:i,placeId:c,canonicalBasePath:s,skipCanonical:n=!1}){let d=l.PAGE_TYPE_TO_SUFFIX[e],u=l.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!n;return s&&u?`${s}/${d}`:u&&r?(0,a.buildLocationCanonicalPath)(r,o,d):(0,t.interpolateLocationUrl)(t.URLS[l.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:o,locId:c??i??"",featureId:i}:{locale:o,locId:c??""})}])},763886,e=>{"use strict";let a=(0,e.i(981030).atom)();e.s(["partnerAtom",0,a])},632137,e=>{"use strict";var a=e.i(7284);let t=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return t((0,a.clsx)(e))}])},438335,e=>{"use strict";var a=e.i(288906);let t=/^[a-z][a-z0-9+.-]*:\/\//i,l=/[?#]/,o=/\/{2,}/g,r=e=>{if(!e)return e;let a=e.match(t),r=a?a[0].length:0,i=e.slice(0,r),c=e.slice(r),s=c.search(l),n=-1===s?c:c.slice(0,s),d=-1===s?"":c.slice(s);return i+n.replace(o,"/")+d},i=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let t=a.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",l=a.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",o=`https://${t??l}`;return(o=o.replace(i,""),e)?r(new URL(e,o).toString()):o},"getPublicURL",0,e=>{let t,l=(a.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),o=a.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-10-19.vercel.weather.com",c=a.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===a.default.env.NEXT_DEV_SERVER_INSECURE||"true"===a.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(l){case"preview":t=`https://${o}`;break;case"development":t=s?`http://${c}`:`https://${c}`;break;default:t=`https://${c}`}return(t=t.replace(i,""),e)?r(new URL(e,t).toString()):t}],438335)}]);