(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,553329,e=>{"use strict";async function t(e){try{return{data:await e,error:null}}catch(e){return{data:null,error:e}}}e.s(["tryCatch",0,t])},776169,809991,e=>{"use strict";var t=e.i(546446),r=e.i(889753),a=e.i(301904),i=e.i(901351),l=e.i(310847),n=e.i(528600),o=e.i(617874),s=e.i(864723),c=e.i(553329),u=e.i(592121),d=e.i(245943);let p=(0,e.i(695881).createLogger)("useMapSettings");e.s(["WEB_MAP_SETTINGS_PLATFORM",0,"twc","useMapSettings",0,function(e="twc"){let{user:{isUserLoggedIn:t}}=(0,n.useUser)();return{saveMapSettings:(0,u.useCallback)(async r=>{if(!t)return!1;let{error:a}=await (0,c.tryCatch)(i.upsxClient.preference.updateMapSettings(e,r));if(!a)return!0;if(a instanceof d.APIError&&404===a.code){let{error:t}=await (0,c.tryCatch)(i.upsxClient.preference.createMapSettings(e,r));return!t||(p.warn("Failed to create map settings",t),!1)}return p.warn("Failed to update map settings",a),!1},[t,e])}}],809991),e.s(["usePreferences",0,function(){let{user:{isUserLoggedIn:e}}=(0,n.useUser)(),[u,d]=(0,t.useAtom)(r.userPreferencesAtom),[p,m]=(0,t.useAtom)(l.wxuUserPreferenceAtom),f=async()=>{let{data:e,error:t}=await (0,c.tryCatch)(i.upsxClient.preference.getMapSettings("twc"));if(t||!e)return null;let{animationSpeed:r,autoplay:a,opacity:l,roadOverlay:n,style:o}=e,s={...void 0!==r&&{animationSpeed:r},...void 0!==a&&{autoplay:a},...void 0!==l&&{opacity:l},...void 0!==n&&{roadOverlay:n},...void 0!==o&&{style:o}};return Object.keys(s).length>0?s:null},h=async e=>{try{await i.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},y=async(t,r=!0)=>{try{let a,i=(a={...u,...t},d(a),m({...p,...t,locations:a.locations}),a);if(t?.unit){let e=(0,o.unitsSystemByName)(t.unit),r=e?.code||"e";(0,s.setCookie)(o.UNITS_COOKIE_KEY,r,{domain:"weather.com"})}return r&&e&&await h(i),{success:!0}}catch(e){return console.error("Failed to update preferences:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update preferences"}}};return{syncPreferencesFromUpsx:async()=>{try{let[e,t]=await Promise.all([i.upsxClient.preference.getPreference(),f()]);if(!e?.userID)return null;let{mapSettings:r,...l}=e,n={...l,mapSettings:{...a.DEFAULT_MAP_SETTINGS,...t}};return y(n,!1),n}catch{return null}},updatePreferences:y}}],776169)},491045,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),a=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,r);e.s(["purchaseSourceAttributionAtom",0,a])},318849,e=>{"use strict";let t=!1,r="upsx-recent-purchase-at";e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"hasRecentPurchase",0,e=>{try{let t=localStorage.getItem(r);if(!t)return!1;let a=Number(t);if(!Number.isFinite(a))return!1;return Date.now()-at,"markRecentPurchase",0,()=>{try{localStorage.setItem(r,String(Date.now()))}catch{}}])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},185312,(e,t,r)=>{t.exports=e.r(16129)},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])},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,a){var i;let l,n=(0,t.useStore)(a),o=(i=n,(l=r.get(i))||(l=new WeakSet,r.set(i,l)),l);for(let[t,...r]of e)(!o.has(t)||(null==a?void 0:a.dangerouslyForceHydrate))&&(o.add(t),n.set(t,...r))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},513539,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(null),a=(0,t.atom)(null);e.s(["activeEventAtom",0,a,"layoutStateAtom",0,r])},991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),a=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let i=(0,a.useStore)(),l=(0,t.useRef)(e);l.current=e,(0,t.useEffect)(()=>{for(let[e,t]of l.current)i.get(e)!==t&&i.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",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),r=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(r.metricsArticleDataAtom)])},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},742436,283366,e=>{"use strict";e.s(["ExperimentContext",()=>R,"ExperimentProvider",()=>k,"default",()=>L,"useExperimentContext",()=>O],742436);var t=e.i(546584),r=e.i(699173),a=e.i(592121),i=e.i(185312),l=e.i(333350),n=e.i(546446),o=e.i(737801),s=e.i(688070),c=e.i(158662),u=e.i(528600),d=e.i(553329);let p="production"!==t.default.env.VERCEL_TARGET_ENV,m=new Set;e.s(["getExposureVariantOverride",()=>A,"resetExposures",()=>C,"useExposure",()=>T],283366);var f=e.i(695881),h=e.i(358273);let y=(0,f.createLogger)("useExposure"),g="wxu-exp-exposed:",v=new Set,w=()=>{try{return(0,h.getMetricsSession)()?.sessionId||null}catch{return null}},b=e=>{try{let t=localStorage.getItem(g+e);return new Set(t?JSON.parse(t):[])}catch{return new Set}},E=(e,t)=>{try{for(let t=localStorage.length-1;t>=0;t--){let r=localStorage.key(t);r?.startsWith(g)&&r!==g+e&&localStorage.removeItem(r)}localStorage.setItem(g+e,JSON.stringify([...t]))}catch{}},x=e=>{if(0===v.size)return;let t=b(e);for(let e of v)t.add(e);E(e,t),v.clear()},I=e=>{let t=w();return t?(x(t),b(t).has(e)):v.has(e)},S=new Map;function A(e){return S.get(e)}function C(){v.clear(),S.clear();let e=w();if(e)try{localStorage.removeItem(g+e)}catch{}}function T(e,t){let r=void 0!==t,i=t?.variant,n=(0,a.useContext)(R);(0,a.useEffect)(()=>{if(!l.default||!n||I(e)||r&&void 0===i)return;let{client:t}=n;if(!t)return;let a=()=>{if(!I(e)){(e=>{let t=w();if(!t)return v.add(e);x(t);let r=b(t);r.add(e),E(t,r)})(e),void 0!==i&&S.set(e,i);try{t.exposure(e)}catch(e){y.error("Failed to track exposure:",e)}}};window.mParticle?.isInitialized?.()?a():window.mParticle?.ready?.(a)},[n,e,r,i])}let _="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",P="production"!==t.default.env.VERCEL_TARGET_ENV,R=(0,a.createContext)(null),k=({children:e,scriptSrc:t})=>{let f,h,y=(f=(0,o.useEventAttributes)(),h=(0,n.useAtomValue)(s.isWebViewOnlyAtom),(0,a.useCallback)((e,t={})=>{if(h)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 r={...f,newVariant:e.variant||"",newExperiment:e.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,r,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)}},[f,h])),g=(0,n.useSetAtom)(c.experimentJoinListAtom),{user:v}=(0,u.useUser)(),[w,b]=(0,a.useState)(!1),[E,x]=(0,a.useState)(!1),[,I]=(0,a.useState)(0),S=(0,a.useRef)(void 0),T=(0,a.useRef)(void 0);S.current=v.userID||void 0,T.current=v.anonId||void 0;let k=(0,a.useRef)(new Set),O=(0,a.useRef)({}),L=function(e,t){let r=(0,a.useRef)(null),[i,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!i&&l.default&&_&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{r.current=window.Experiment.initialize(_,{debug:P,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!1,exposureTrackingProvider:{track:t=>{try{e(t),P&&console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},source:"localStorage"}),n(!0),P&&console.debug("[Experiment] SDK initialized (will fetch from API)")}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[i,t,e]),r.current}((0,a.useCallback)(e=>{let t=A(e.flag_key),r=void 0!==t?{...e,variant:t}:e,a=`${r.flag_key}::${r.variant??""}`;if(k.current.has(a))return;k.current.add(a);let[i]=JSON.parse(JSON.stringify(Object.entries({[r.flag_key]:{key:r.variant}}).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",a=Math.floor(Date.now()/1e3);return`${e},${r},${a}`})));i&&(O.current={...O.current,[r.flag_key]:i},g(JSON.stringify(Object.values(O.current)))),y(r),function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){p&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){p&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let a=`${e.flag_key}::${e.variant??""}`;if(m.has(a)){p&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${a}`);return}m.add(a);let i={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:p?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,d.tryCatch)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i),keepalive:!0}));return r?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",r):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):p&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}({exposure:r,userId:S.current,deviceId:T.current})},[y,g]),w);return(0,a.useEffect)(()=>{(async()=>{if(!L)return;let e=v.anonId;if(!e&&!v.userID){P&&console.debug("[Experiment] No user identifier available"),x(!0);return}let t={device_id:e,...v.userID?{user_id:v.userID}:{},user_properties:{}};P&&console.debug("[Experiment] Fetching experiments from API for user:",t);try{await L.fetch(t)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{x(!0)}})()},[L,v.anonId,v.userID]),(0,a.useEffect)(()=>{k.current.clear(),m.clear(),C(),O.current={},g(null),I(e=>e+1)},[v.userID,g]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{src:t,strategy:"afterInteractive",onLoad:()=>{b(!0),P&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,r.jsx)(R.Provider,{value:{client:L,variant:(e,t)=>{if(!L)return t;let r=L.variant(e,t);return P&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!L)return Promise.resolve();if(!e){let e=v.anonId;if(e||v.userID){let t={device_id:e,...v.userID?{user_id:v.userID}:{},user_properties:{}};return L.fetch(t)}}return L.fetch(e)},isFetchComplete:E},children:e})]})},O=()=>{let e=(0,a.useContext)(R);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e},L=k},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},49893,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsKillswitchAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(592121);let a=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,a],674339),e.s(["useDebugSystem",0,function(){let[e,i]=(0,t.useAtom)(a),l=(0,r.useCallback)((e,t)=>{i(r=>{let a=r?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof a?{...a,...t}:t;return{...r,[e]:i}})},[i]),n=(0,r.useCallback)((e,t)=>{i(r=>{let a=r||{timestamp:new Date().toISOString()},i=a.components||{};if(null===t){let t={...i};return delete t[e],{...a,components:t}}return{...a,components:{...i,[e]:t}}})},[i]),o=(0,r.useCallback)(e=>{l("page",e)},[l]),s=(0,r.useCallback)(e=>{l("route",e)},[l]),c=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:n,setPageData:o,clearAllDebugData:(0,r.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:s,updatePageDebug:c}}],609858)},752496,e=>{"use strict";var t=e.i(592121),r=e.i(609858);let a=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:l,onUpdateData:n,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),u=(0,t.useRef)(!1),d=n||s,p=o||c;return(0,t.useEffect)(()=>{if(i)return a.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),d(e,{...i,_collectedAt:new Date().toISOString()}),()=>{a.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,i,d]),(0,t.useEffect)(()=>{l&&!u.current&&(a.lifecycle("Setting page metadata",{title:l.title,assetName:l.assetName,collection:l.collection}),p({...l,_updatedAt:new Date().toISOString()}),u.current=!0)},[l,p]),null}])},671525,e=>{"use strict";var t=e.i(961123);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:a=!0,replace:i=!1}=r;a?i?window.location.replace(t):window.location.href=t:i?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}};e.s(["default",0,r,"usePageNavigation",0,r])},837879,e=>{"use strict";var t=e.i(592121),r=e.i(546446),a=e.i(961123),i=e.i(485737),l=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,r.useAtomValue)(l.subscriptionsEnabledAtom),u=(0,r.useAtomValue)(i.geoipCountry),d=(0,a.useParams)()?.locale,p=(0,r.useAtomValue)(o.privacyRegimeAtom)??n.Regime.EXEMPT,m=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&n.US_REGIMES.includes(p)&&m!==c.Partner.OPPO,[e,u,d,p,m])}])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),r=e.i(284007),a=e.i(889753),i=e.i(310847),l=e.i(613646);e.s(["mutate",()=>l.j],95870);var l=l,n=e.i(318849);let o=()=>{(0,l.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)(a.userProfileAtom),l=(0,t.useSetAtom)(i.wxuUserAccountUserAccountResponseAtom);return()=>{o(),e(r.RESET),l(null)}}],756227)},598513,e=>{"use strict";var t=e.i(947118),r=e.i(737801),a=e.i(592121);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",i=(0,t.useIsInitialized)(),l=(0,r.useEventAttributes)();return(0,a.useCallback)((t,r={})=>{let a={...l,...t};if(!i)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),r.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l,i])}])},269153,e=>{"use strict";var t=e.i(546446),r=e.i(763886),a=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(r.partnerAtom)===a.Partner.SAMSUNG}])},559421,e=>{"use strict";var t=e.i(961123),r=e.i(89887),a=e.i(64412),i=e.i(942400),l=e.i(269153),n=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),o=(0,t.usePathname)(),{location:s}=(0,a.useLocation)(),c=(0,i.usePageLocale)(),u=(0,l.useIsSamsungPartner)();if(!(0,n.useIsClient)()||u)return;let d=e?.canonicalLocation,p=e?.featureId;if(!(d?.length||p&&!o.includes("/l/")))return;let m=s?.canonicalID;if(m)return(0,r.buildLocationCanonicalBase)(m,c);if(o.includes("/byFeatureId/"))return;let f=/\/day-\d+$/.test(o)?o.substring(0,o.lastIndexOf("/")):o;return f.substring(0,f.lastIndexOf("/"))}])},683199,e=>{"use strict";var t=e.i(592121),r=e.i(546446),a=e.i(491045),i=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,r.useSetAtom)(a.purchaseSourceAttributionAtom),l=(0,r.useAtomValue)(i.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:r,sourceUpsellPlacement:a})=>{e({sourcePage:l||null,sourceModule:t,sourceElement:r,sourceUpsellPlacement:a??null})},[e,l])}])},514514,e=>{"use strict";var t=e.i(592121);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.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:r=24,strokeWidth:l=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...i,width:r,height:r,stroke:e,strokeWidth:n?24*Number(l)/Number(r):l,className:a("lucide",o),...!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,r])=>(0,t.createElement)(e,r)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,i)=>{let n=(0,t.forwardRef)(({className:n,...o},s)=>(0,t.createElement)(l,{ref:s,iconNode:i,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o}));return n.displayName=r(e),n}],514514)},438335,e=>{"use strict";var t=e.i(546584);let r=/^[a-z][a-z0-9+.-]*:\/\//i,a=/[?#]/,i=/\/{2,}/g,l=e=>{if(!e)return e;let t=e.match(r),l=t?t[0].length:0,n=e.slice(0,l),o=e.slice(l),s=o.search(a),c=-1===s?o:o.slice(0,s),u=-1===s?"":o.slice(s);return n+c.replace(i,"/")+u},n=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let r=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",a=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",i=`https://${r??a}`;return(i=i.replace(n,""),e)?l(new URL(e,i).toString()):i},"getPublicURL",0,e=>{let r,a=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),i=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-09-16.vercel.weather.com",o=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(a){case"preview":r=`https://${i}`;break;case"development":r=s?`http://${o}`:`https://${o}`;break;default:r=`https://${o}`}return(r=r.replace(n,""),e)?l(new URL(e,r).toString()):r}],438335)},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[r={},a=!1]=t,i=Object.entries(r).reduce((e,[t,r])=>void 0===r?e:e.replaceAll(`{${t}}`,r),e);return a?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",news:"/news",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:r,locId:a,featureId:i})=>t(e,{locale:r,locId:(i?.startsWith("address.")?void 0:i)??a}),"interpolateUrl",0,t],611540)},523084,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:r,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=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="ChevronLeft",e.s(["ChevronLeft",0,l])},47524,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,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=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="ChevronRight",e.s(["ChevronRight",0,l])},512134,e=>{"use strict";var t=e.i(592121);e.s(["useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e}])},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,a){return`${t(e,r)}/${a}`}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,navType:"forecast",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,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,navType:"radar",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],r=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType]));let a=Object.fromEntries(t.map(e=>[e.suffix,e.pageType])),i=Object.fromEntries(t.map(e=>[e.pageType,e.base])),l=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),n=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),o=Object.fromEntries(t.map(e=>[e.pageType,e.navType]));t.filter(e=>"forecast"===e.navType).map(e=>e.pageType),t.filter(e=>"radar"===e.navType).map(e=>e.pageType);let s=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 c=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,i,"CANONICAL_ELIGIBLE_BY_PAGE",0,s,"CANONICAL_PAGE_TYPES",0,r,"PAGE_TYPE_TO_SUFFIX",0,n,"PAGE_TYPE_TO_URL_KEY",0,l,"SIDEBAR_CANONICAL_LINKS",0,c,"navTypeForSuffix",0,function(e){let t=e?a[e]:void 0;return t?o[t]:null}])},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),a=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:i,canonicalID:l,featureId:n,placeId:o,canonicalBasePath:s,skipCanonical:c=!1}){let u=a.PAGE_TYPE_TO_SUFFIX[e],d=a.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&d?`${s}/${u}`:d&&l?(0,t.buildLocationCanonicalPath)(l,i,u):(0,r.interpolateLocationUrl)(r.URLS[a.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:i,locId:o??n??"",featureId:n}:{locale:i,locId:o??""})}])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),a=e.i(889753);let i=(0,t.atom)(e=>e(a.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(i)===r.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(i)===r.UNIT_METRIC),o=(0,t.atom)(e=>e(i)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,l,"isMetricUnitsAtom",0,n,"userUnitPreferenceAtom",0,i])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},734357,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getVideoNavLink=i;let a=e.r(414655);async function i({channel:e,language:t="en-US",partner:r,contentQueryId:l}){let n=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];r&&n.push(encodeURIComponent(r));let o=l?`?cq=${encodeURIComponent(l)}`:"",s=`https://${window.location.host}/${n.join("/")}${o}`,c=await fetch(s),u=await (0,a.handleFetchResponse)(c);return u&&"url"in u?u.url??null:null}},697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)}]);