(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,806262,e=>{"use strict";e.i(206507);var t=e.i(546446);e.i(284007),e.i(981030);let a=new WeakMap;e.s(["useHydrateAtoms",0,function(e,r){var i;let l,o=(0,t.useStore)(r),n=(i=o,(l=a.get(i))||(l=new WeakSet,a.set(i,l)),l);for(let[t,...a]of e)(!n.has(t)||(null==r?void 0:r.dangerouslyForceHydrate))&&(n.add(t),o.set(t,...a))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(206507);let r=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,r],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(r),l=(0,a.useCallback)((e,t)=>{i(a=>{let r=a?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof r?{...r,...t}:t;return{...a,[e]:i}})},[i]),o=(0,a.useCallback)((e,t)=>{i(a=>{let r=a||{timestamp:new Date().toISOString()},i=r.components||{};if(null===t){let t={...i};return delete t[e],{...r,components:t}}return{...r,components:{...i,[e]:t}}})},[i]),n=(0,a.useCallback)(e=>{l("page",e)},[l]),s=(0,a.useCallback)(e=>{l("route",e)},[l]),c=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:o,setPageData:n,clearAllDebugData:(0,a.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:s,updatePageDebug:c}}],609858)},184154,(e,t,a)=>{t.exports=e.r(934628)},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])},318849,e=>{"use strict";let t=!1;e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"isSwrPersistDisabled",0,()=>t])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},585683,(e,t,a)=>{t.exports=e.r(537080)},725837,e=>{"use strict";let t=(0,e.i(981030).atom)("control");e.s(["hourlyPaginationVariantAtom",0,t])},44277,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return u},getImageProps:function(){return c}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let l=e.r(481258),o=e.r(74335),n=e.r(306635),s=l._(e.r(165613));function c(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1280,1600],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let u=n.Image},437978,(e,t,a)=>{t.exports=e.r(44277)},37429,e=>{"use strict";var t=e.i(155252),a=e.i(206507),r=e.i(437978),i=e.i(632137);let l={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:l[e],value:e}));let o={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},n=(0,a.forwardRef)(({src:e,alt:a,shadow:l,rounded:n=!0,className:s,wrapperClassName:c,width:u=320,height:d=180,quality:p,priority:f=!1,loading:m,isFetchPriority:h=!1,objectFit:y,fill:g=!1,sizes:b,aspectRatio:v,isAnimated:w=!1,...I},x)=>{if(!e)return null;let E=w||e.toLowerCase().endsWith(".gif"),_=g||!!v,C=y??(v?"cover":"contain"),A=v?o[v]:"",P=(0,t.jsx)(r.default,{ref:x,src:e,alt:a,width:_?void 0:u,height:_?void 0:d,quality:p,priority:f,loading:m,fetchPriority:h?"high":void 0,fill:_,sizes:b,unoptimized:E,className:(0,i.cn)({"shadow-md":l,"rounded-lg":n,"object-contain":"contain"===C,"object-cover":"cover"===C,"object-fill":"fill"===C,"object-none":"none"===C,"object-scale-down":"scale-down"===C,"h-auto w-full":!_},s),...I});return _?(0,t.jsx)("div",{className:(0,i.cn)("relative overflow-hidden",A,!v&&"h-full w-full",c),children:P}):P});n.displayName="Image",e.s(["Image",0,n,"default",0,n])},438335,e=>{"use strict";var t=e.i(571195);let a=/^[a-z][a-z0-9+.-]*:\/\//i,r=/[?#]/,i=/\/{2,}/g,l=e=>{if(!e)return e;let t=e.match(a),l=t?t[0].length:0,o=e.slice(0,l),n=e.slice(l),s=n.search(r),c=-1===s?n:n.slice(0,s),u=-1===s?"":n.slice(s);return o+c.replace(i,"/")+u},o=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let a=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",r=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",i=`https://${a??r}`;return(i=i.replace(o,""),e)?l(new URL(e,i).toString()):i},"getPublicURL",0,e=>{let a,r=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),i=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-07-1001.vercel.weather.com",n=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(r){case"preview":a=`https://${i}`;break;case"development":a=s?`http://${n}`:`https://${n}`;break;default:a=`https://${n}`}return(a=a.replace(o,""),e)?l(new URL(e,a).toString()):a}],438335)},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[a={},r=!1]=t,i=Object.entries(a).reduce((e,[t,a])=>void 0===a?e:e.replaceAll(`{${t}}`,a),e);return r?i:"/en-US"===i?"/":i.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",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",premiumOnboarding:"/{locale}/premium/onboarding",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:a,locId:r,featureId:i})=>t(e,{locale:a,locId:(i?.startsWith("address.")?void 0:i)??r}),"interpolateUrl",0,t],611540)},815912,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=e.r(542899);function i({reason:e,children:t}){if("u"{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"encodeURIPath",{enumerable:!0,get:function(){return r}})},983260,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return s}});let r=e.r(155252),i=e.r(926045),l=e.r(274356),o=e.r(414696),n=e.r(599164);function s({moduleIds:e}){if("u">typeof window)return null;let t=l.workAsyncStorage.getStore();if(void 0===t)return null;let a=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;a.push(...e)}}if(0===a.length)return null;let c=(0,n.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:a.map(e=>{let a=`${t.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:a,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(a,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},834110,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return c}});let r=e.r(155252),i=e.r(206507),l=e.r(815912),o=e.r(983260);function n(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(n(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},a=(0,i.lazy)(()=>t.loader().then(n)),c=t.loading;function u(e){let n=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let r=e.r(481258)._(e.r(834110));function i(e,t){let a={};"function"==typeof e&&(a.loader=e);let i={...a,...t};return(0,r.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},514514,e=>{"use strict";var t=e.i(206507);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},r=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:n="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...i,width:a,height:a,stroke:e,strokeWidth:o?24*Number(l)/Number(a):l,className:r("lucide",n),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,i)=>{let o=(0,t.forwardRef)(({className:o,...n},s)=>(0,t.createElement)(l,{ref:s,iconNode:i,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...n}));return o.displayName=a(e),o}],514514)},523084,e=>{"use strict";var t=e.i(155252),a=e.i(206507),r=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:i,...l},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":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:i,...e}));l.displayName="ChevronLeft",e.s(["ChevronLeft",0,l])},47524,e=>{"use strict";var t=e.i(155252),a=e.i(206507),r=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:i,...l},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":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),l=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:i,...e}));l.displayName="ChevronRight",e.s(["ChevronRight",0,l])},674885,e=>{"use strict";var t=e.i(981030),a=e.i(617874),r=e.i(889753);let i=(0,t.atom)(e=>e(r.userPreferencesAtom)?.unit||a.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(i)===a.UNIT_IMPERIAL),o=(0,t.atom)(e=>e(i)===a.UNIT_METRIC),n=(0,t.atom)(e=>e(i)===a.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,n,"isImperialUnitsAtom",0,l,"isMetricUnitsAtom",0,o,"userUnitPreferenceAtom",0,i])},942400,e=>{"use strict";var t=e.i(184154);e.s(["usePageLocale",0,()=>{let e=(0,t.useParams)();return e?.locale||"en-US"}])},89887,e=>{"use strict";function t(e,t){let a="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?a:`/${t}${a}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,a,r){return`${t(e,a)}/${r}`}])},52884,e=>{"use strict";let t=[{featureId:"locality.338856684",canonicalID:"/default/us/new-york/new-york-city/locality/manhattan"},{featureId:"place.233720044",canonicalID:"/default/us/new-york/city/new-york-city"},{featureId:"place.79161580",canonicalID:"/default/us/texas/city/dallas"},{featureId:"place.508094700",canonicalID:"/default/us/illinois/city/chicago"},{featureId:"place.154609900",canonicalID:"/default/us/texas/city/houston"},{featureId:"place.498141420",canonicalID:"/default/us/georgia/city/atlanta"},{featureId:"place.180906220",canonicalID:"/default/us/nevada/city/las-vegas"},{featureId:"place.246171884",canonicalID:"/default/us/florida/city/orlando"},{featureId:"place.192407788",canonicalID:"/default/us/california/city/los-angeles"},{featureId:"place.345549036",canonicalID:"/default/us/district-of-columbia/city/washington"},{featureId:"place.292358380",canonicalID:"/default/us/california/city/san-francisco"},{featureId:"place.297027820",canonicalID:"/default/us/washington/city/seattle"},{featureId:"place.257591532",canonicalID:"/default/us/pennsylvania/city/philadelphia"},{featureId:"place.84625644",canonicalID:"/default/us/colorado/city/denver"},{featureId:"place.257902828",canonicalID:"/default/us/arizona/city/phoenix"},{featureId:"place.291252460",canonicalID:"/default/us/texas/city/san-antonio"},{featureId:"place.226805996",canonicalID:"/default/us/tennessee/city/nashville"},{featureId:"place.68643052",canonicalID:"/default/us/ohio/city/columbus"},{featureId:"place.225814764",canonicalID:"/default/us/south-carolina/city/myrtle-beach"},{featureId:"place.464783596",canonicalID:"/default/us/pennsylvania/city/pittsburgh"}];t.map(e=>e.featureId);let a=Object.fromEntries(t.map(e=>[e.featureId,e.canonicalID]));e.s(["canonicalIDForFeatureId",0,function(e){return e?a[e]:void 0},"shouldUseCanonicalLink",0,function(e){return!0}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!1,weatherCacheTag:"weather-radar-interactive"}],a=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType])),Object.fromEntries(t.map(e=>[e.suffix,e.pageType]));let r=Object.fromEntries(t.map(e=>[e.pageType,e.base])),i=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),l=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),o=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let n=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,r,"CANONICAL_ELIGIBLE_BY_PAGE",0,o,"CANONICAL_PAGE_TYPES",0,a,"PAGE_TYPE_TO_SUFFIX",0,l,"PAGE_TYPE_TO_URL_KEY",0,i,"SIDEBAR_CANONICAL_LINKS",0,n])},49893,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsKillswitchAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},688070,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["isWebViewOnlyAtom",0,t])},630986,e=>{"use strict";var t=e.i(546446),a=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(a.metricsArticleDataAtom)])},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},742436,e=>{"use strict";var t=e.i(571195),a=e.i(155252),r=e.i(206507),i=e.i(585683),l=e.i(333350),o=e.i(310847),n=e.i(546446),s=e.i(737801),c=e.i(688070),u=e.i(158662),d=e.i(528600),p=e.i(897892),f=e.i(553329);let m="production"!==t.default.env.VERCEL_TARGET_ENV,h=new Set,y="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",g="production"!==t.default.env.VERCEL_TARGET_ENV,b=(0,r.createContext)(null),v=({children:e,scriptSrc:t})=>{let v,w,I=(0,n.useAtomValue)(o.wxuUserAnonymousIdAtom),x=(v=(0,s.useEventAttributes)(),w=(0,n.useAtomValue)(c.isWebViewOnlyAtom),(0,r.useCallback)((e,t={})=>{if(w)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!e)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!e.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${e.flag_key} - no experiment_key (feature flag only)`);try{let a={...v,newVariant:e.variant||"",newExperiment:e.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,a,t),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${e.flag_key||"unknown"}:${e.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[v,w])),E=(0,n.useSetAtom)(u.experimentJoinListAtom),{user:_}=(0,d.useUser)(),[C,A]=(0,r.useState)(!1),[P,T]=(0,r.useState)(!1),k=(0,r.useRef)(void 0),S=(0,r.useRef)(void 0),j=(0,p.getCookie)("ANON_C")?.toString();k.current=_.userID||void 0,S.current=j||I;let R=(0,r.useRef)(new Set),O=(0,r.useCallback)(e=>{let t=`${e.flag_key}::${e.variant??""}`;R.current.has(t)||(R.current.add(t),x(e),function({exposure:e,userId:t,deviceId:a}){if(!e.experiment_key){m&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!a){m&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let r=`${e.flag_key}::${e.variant??""}`;if(h.has(r)){m&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${r}`);return}h.add(r);let i={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:a,event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:m?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:a}=await (0,f.tryCatch)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i),keepalive:!0}));return a?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",a):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):m&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}({exposure:e,userId:k.current,deviceId:S.current}))},[x]),[D,L]=(0,r.useState)({});(0,r.useEffect)(()=>{if(l.default){let e=(0,p.getCookie)("amplitude-variants");if(e)try{let t=JSON.parse(e.toString());L(t),g&&Object.keys(t).length>0&&console.debug("[Experiment] Loaded server variants from cookie:",Object.keys(t))}catch(e){console.error("[Experiment] Failed to parse variants cookie:",e)}}},[]),(0,r.useEffect)(()=>{0===Object.keys(D).length?E(null):E(JSON.stringify(Object.entries(D).filter(([,e])=>!!e?.key).map(([e,t])=>{let a=t.key??"",r=Math.floor(Date.now()/1e3);return`${e},${a},${r}`})))},[D,E]);let N=function(e,t,a){let i=(0,r.useRef)(null),[o,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!o&&l.default&&y&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{let t=Object.keys(a).length>0;i.current=window.Experiment.initialize(y,{debug:g,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!1,exposureTrackingProvider:{track:t=>{try{e(t),g&&console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},initialVariants:t?a:void 0,source:t?"initialVariants":"localStorage"}),n(!0),g&&(t?console.debug("[Experiment] SDK initialized with server variants:",Object.keys(a)):console.debug("[Experiment] SDK initialized (will fetch from API)"))}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[o,t,e,a]),i.current}(O,C,D);(0,r.useEffect)(()=>{(async()=>{if(!N)return;let e=(0,p.getCookie)("ANON_C")?.toString()||I;if(!e&&!_.userID){g&&console.debug("[Experiment] No user identifier available"),T(!0);return}let t={device_id:e,..._.userID?{user_id:_.userID}:{},user_properties:{}};g&&console.debug("[Experiment] Fetching experiments from API for user:",t);try{await N.fetch(t)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{T(!0)}})()},[N,I,_.userID]);let U=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{U.current=!1,R.current.clear(),h.clear()},[_.userID]),(0,r.useEffect)(()=>{if(!N||0===Object.keys(D).length||U.current)return;let e=()=>{if(!U.current){for(let e of Object.keys(D))N.exposure(e);U.current=!0,g&&console.debug("[Experiment] Tracked exposures for server variants:",Object.keys(D))}};window.mParticle?.isInitialized?.()?e():window.mParticle?.ready?.(e)},[N,D]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{src:t,strategy:"afterInteractive",onLoad:()=>{A(!0),g&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,a.jsx)(b.Provider,{value:{client:N,variant:(e,t)=>{if(!N)return t;let a=N.variant(e,t);return g&&console.debug("[Experiment] Current Variant:",a),a},exposure:e=>{N&&N.exposure(e)},fetch:e=>{if(!N)return Promise.resolve();if(!e){let e=(0,p.getCookie)("ANON_C")?.toString()||I;if(e||_.userID){let t={device_id:e,..._.userID?{user_id:_.userID}:{},user_properties:{}};return N.fetch(t)}}return N.fetch(e)},isFetchComplete:P},children:e})]})};e.s(["ExperimentProvider",0,v,"default",0,v,"useExperimentContext",0,()=>{let e=(0,r.useContext)(b);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}],742436)},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},559421,e=>{"use strict";var t=e.i(184154),a=e.i(52884),r=e.i(89887),i=e.i(64412),l=e.i(942400);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),o=(0,t.usePathname)(),{location:n}=(0,i.useLocation)(),s=(0,l.usePageLocale)(),c=e?.canonicalLocation,u=e?.featureId;if(!(c?.length||u&&!o.includes("/l/")))return;let d=n?.canonicalID??(0,a.canonicalIDForFeatureId)(u);if(d)return(0,r.buildLocationCanonicalBase)(d,s);if(o.includes("/byFeatureId/"))return;let p=/\/day-\d+$/.test(o)?o.substring(0,o.lastIndexOf("/")):o;return p.substring(0,p.lastIndexOf("/"))}])},46365,(e,t,a)=>{"use strict";var r=e.i(571195);Object.defineProperty(a,"__esModule",{value:!0}),a.getMediaAssetsByIdUrlConfig=function({assetId:e,limit:t,language:a}){return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:r.default.env.WX_CONTENT_MEDIA_API_KEY,assetId:e,language:a,limit:t||void 0}}},a.getMediaAssetsByPlaylistIdUrlConfig=function({playlistId:e,limit:t,locale:a}){let i=a?a.split("-").join("_"):"en_US";return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:r.default.env.WX_CONTENT_MEDIA_API_KEY,dsxLocale:i,playlistId:e,...void 0!==t?{limit:t.toString()}:{}}}},a.getLocationMediaUrlConfig=function({geocode:e,placeId:t,radius:a,limit:r,mediaTypes:i}){let l=window.location.host,o=["api","payload","v1","media"];return o.push("channel","weather-com-web"),o.push("territory","US"),e?o.push("geocode",e):t&&o.push("placeId",t),o.push("radius",String(a)),o.push("limit",String(r)),o.push("mediaTypes",i.join(",")),{host:l,protocol:"https",pathname:"/"+o.map(encodeURIComponent).join("/")}}}]);