(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,806262,e=>{"use strict";e.i(247865);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,i){var n;let a,o=(0,t.useStore)(i),s=(n=o,(a=r.get(n))||(a=new WeakSet,r.set(n,a)),a);for(let[t,...r]of e)(!s.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(s.add(t),o.set(t,...r))}])},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i=new Uint8Array(16),n=[];for(let e=0;e= 16");if(I[6]=15&I[6]|64,I[8]=63&I[8]|128,a){if((l=l||0)a.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},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),i=(0,t.atom)(null);e.s(["activeEventAtom",0,i,"layoutStateAtom",0,r])},236433,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["pageAtomsPathnameAtom",0,t])},122124,e=>{"use strict";var t=e.i(388706);let r=Object.fromEntries(t.PAGE_TYPE_CONFIG.map(e=>[e.suffix,e.urlType])),i=RegExp(`^(?/[a-z]{2}-[A-Z]{2})?/.+/(?:city|locality|neighborhood|postcode|poi|ski|airport)/[^/]+/(?${t.SUFFIX_ALTERNATION})(?:/day-[1-9][0-9]*)?$`);e.s(["getAnonymizedPath",0,function(e){var t,n;let a,o,s,l,I,c=(a=e,o=e?.indexOf?.("?"),s=e?.indexOf?.("#"),o>-1?a=a.substring(0,o):s>-1&&(a=a.substring(0,s)),a);if(t=c,l=i.exec(t)?.groups,n=c=(I=l?.suffix?r[l.suffix]:void 0)?`${l?.locale??""}/${I}/l`:t,"/index.html"===(c=n?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===c||""===c)c="/";else{let e=c?.split("/")||[],t=e.length-1,r=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(r.match(/[A-Z]/)||r.match(/[0-9]/)||r.match(/[@#$%&!*:]/)||""===r)&&e.pop(),c=e.join("/")}return c},"stripLastPartOfSlug",0,(e="")=>{let t=e.split("/");return t?.[t.length-1]===""&&t.pop(),t.slice(0,t.length-1).join("/")}])},487709,e=>{"use strict";e.s(["canLogEvent",0,()=>"function"==typeof window.mParticle?.logEvent])},947118,221085,e=>{"use strict";let t;var r=e.i(247865);let i=new Set,n=0,a=()=>"function"==typeof window.mParticle?.init,o=()=>{void 0!==t&&(clearInterval(t),t=void 0)},s=()=>{if(!a()||(o(),0===i.size))return;let e=[...i];for(let t of(i.clear(),e))t()},l=()=>{void 0===t&&(n=0,t=setInterval(()=>{n+=100,s(),n>=3e4&&o()},100))},I=e=>(i.add(e),l(),()=>{i.delete(e)}),c=e=>a()?(e(),()=>{}):I(e),u=e=>a()?()=>{}:I(e),_=()=>!1;e.s(["subscribeSdkLoaded",0,c,"useIsSdkLoaded",0,()=>(0,r.useSyncExternalStore)(u,a,_),"watchForSdkLoad",0,e=>{if("u"{};if(a())return s(),()=>{};l();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let r=()=>s();return t.addEventListener("load",r),()=>{t.removeEventListener("load",r)}}],221085);let E=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):c(()=>{window.mParticle?.ready?.(e),e()}),N=()=>!!window.mParticle?.isInitialized?.(),d=()=>!1;e.s(["useIsInitialized",0,()=>(0,r.useSyncExternalStore)(E,N,d)],947118)},123590,333761,e=>{"use strict";var t=e.i(487709),r=e.i(737801),i=e.i(630986),n=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",a=(0,r.useEventAttributes)(),o=(0,i.useCMSAttributes)();return(0,n.useCallback)(r=>{let i={createdDate:o?.createdDate||"",contentId:o?.contentId||"",publishDate:o?.publishDate||"",author:o?.author||"",collection:o?.collection||"",entitlements:o?.entitlements||"",provider:o?.provider||"",linkType:r.linkType,linkURL:r.linkURL,linkText:r.linkText||"",moduleId:r.moduleId||"",tagsKeyword:r.tagsKeyword??o?.tagsKeyword,...a,physicalCountry:a.physicalCountry||"",physicalState:a.physicalState||"",wlocCity:a.wlocCity||"",wlocCountry:a.wlocCountry||"",wlocState:a.wlocState||"",regime:a.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,i);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o?.createdDate,o?.contentId,o?.publishDate,o?.author,o?.collection,o?.entitlements,o?.provider,a])}],123590);var a=e.i(546446),o=e.i(540768),s=e.i(682142),l=e.i(782937),I=e.i(695881),c=e.i(333350),u=e.i(64412),_=e.i(950771),E=e.i(537989),N=e.i(695203),d=e.i(604323),A=e.i(358273),R=e.i(158662),T=e.i(777638),S=e.i(727365),p=e.i(896363),m=e.i(924776),C=e.i(409628),D=e.i(605781),L=e.i(289681);let O=(0,I.createLogger)("useTrackContentLinkClick"),f=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),y=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,a.useAtomValue)(E.pageIdAtom),t=(0,a.useAtomValue)(_.pageLocaleAtom),r=(0,a.useAtomValue)(N.deviceClassAtom),i=(0,a.useAtomValue)(d.metricsArticleDataAtom),I=(0,a.useAtomValue)(R.experimentJoinListAtom),{location:g}=(0,u.useLocation)(),h=(0,m.useIsHightouchReady)(),W=(0,n.useCallback)(n=>{let a=(0,s.getCICookie)(),c=a?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),u=a?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),_=a?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),E=window.DprSdk?.getGdprConsentOptInsString()??"",N=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,R=E?.includes("functional-technology")??!1,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,D=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,O=(0,L.getConsentAuthorization)("sale-of-data"),h=(0,L.getConsentAuthorization)("sensitive-data"),W=navigator?.cookieEnabled??!1,H=(0,o.getCookie)("partner")||"",G=(0,l.getPartnerByPattern)(H)??H,w=(0,A.getMetricsSession)(),M=w?.sessionId||"",v=new Date(w?.sessionStartTime||0).toISOString(),U=new Date,Y=U.getHours(),b=C.WEEK_DAYS[U.getDay()]??"",F=(0,S.normalizeWlocType)(g?.type),P=g?.featureSource??null;return{linkType:n.linkType,linkURL:n.linkURL,linkText:n.linkText||"",moduleId:n.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:i?.author||"",contentId:i?.contentId??null,createdDate:i?.createdDate??null,publishDate:i?.publishDate??null,collection:i?.collection??null,entitlements:i?.entitlements??null,nodeTypes:i?.nodeType??null,pageTemplate:i?.pageTemplate??null,premiumContent:i?.premiumContent!=null?String(i.premiumContent):null,provider:i?.provider??null,tagsGeo:i?.tagsGeo??null,tagsKeyword:n.tagsKeyword??i?.tagsKeyword??null,tagsStorm:i?.tagsStorm??null,title:i?.title??null,seoTitle:i?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:r,partner:G,sessionId:M,sessionStartTime:v,siteMode:"normal",dayOfWeek:b,hourOfDay:Y,regime:_??"",cookiesEnabled:W,gpcSignalOptOut:d,functionalTechnologies:R,geographicallyRelevantAds:m,interestBasedAds:D,priv:E,privProducts:N,saleOfData:O??void 0,saleOfDataAuthorization:O,sensitiveDataAuthorization:h,campaign:(0,T.getCampaign)(),linkReferral:(0,T.getLinkReferral)()??void 0,experimentJoinList:I,weatherMode:"normal",physicalCountry:c??"",physicalState:u??"",wlocCity:g?.city??null,wlocCountry:g?.countryCode??null,wlocState:g?.adminDistrictCode??null,wlocDMA:g?.dmaCd??null,wlocId:g?.placeId??null,wlocFeatureId:g?.featureId??null,wlocFeatureSource:null!=P&&y.has(P)?P:void 0,wlocTags:g?.tags?.length?(0,p.parseArrayToString)(g.tags):null,wlocType:null!==F&&f.has(F)?F:void 0,samsungVersion:(0,T.getSamsungVersion)(),appVersion:"e696ebb307c654393ea79e058014bd5903c71624".slice(0,10)}},[e,t,r,i,I,g]);return(0,n.useCallback)(e=>{if(c.default){if(!h)return void O.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,D.trackContentLinkClick)(W(e)),O.info('Hightouch: Event "content-link-click" tracked')}catch(e){O.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[h,W])}],333761)},650130,(e,t,r)=>{"use strict";function i(e){return Math.PI/180*e}function n(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))return NaN;if(e===r&&t===n)return 0;let a=i(r-e),o=i(n-t),s=Math.sin(a/2)*Math.sin(a/2)+Math.cos(i(e))*Math.cos(i(r))*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))*6371}function a(e,t,r){let i=-90,n=90,a=-180,o=180,s="",l=0,I=0,c=!0;for(;s.length=e?(I=(I=t?(I=(I{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=l;let i=e.r(979777),n=e.r(678651),a=e.r(414655),o=e.r(861160),s=e.r(349262);async function l(e){let t=(0,i.getCurrentObservationsUrlConfig)(e),r=(0,n.urlFrom)(t),l=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),I=await (0,a.handleFetchResponse)(l);return{...I,pressureMeanSeaLevel:e.units===s.Units.IMPERIAL?I.pressureMeanSeaLevel/33.8639:I.pressureMeanSeaLevel,windDirectionCardinal:(0,o.normalizeCardinal)(I.windDirectionCardinal)}}},979777,(e,t,r)=>{"use strict";function i(e,{stormId:t,units:r,language:n,nautical:a}){return{host:"api.weather.com",protocol:"https",pathname:e,query:{stormId:t,units:r,language:n,nautical:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}e.i(288906),Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,placeId:t,units:r,language:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,placeid:t,units:r,language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalTrackUrlConfig=function(e){return i("/v2/tropical/track",e)},r.getTropicalProjectedPathUrlConfig=function(e){return i("/v2/tropical/projectedpath",e)},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:i,language:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:i,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var i,n,a,o,s,l,I,c,u,_,E,N,d,A,R,T,S,p,m,C;Object.defineProperty(r,"__esModule",{value:!0}),r.ICON_CODE_MAP=r.ICON_CODE_EXTENDED=r.IconCodeExtended=r.IconCode=r.CloudCoverPhrase=r.PressureTendencyCode=r.UVDescription=r.WindDirectionCardinal=r.DayOrNight=r.HourlyForecastDuration=r.ForecastDuration=r.Units=void 0,(E=i||(r.Units=i={})).IMPERIAL="e",E.METRIC="m",E.HYBRID="h",(N=n||(r.ForecastDuration=n={})).THREE_DAY="3day",N.FIVE_DAY="5day",N.SEVEN_DAY="7day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(d=a||(r.HourlyForecastDuration=a={})).SIX_HOUR="6hour",d.TWELVE_HOUR="12hour",d.ONE_DAY="1day",d.TWO_DAY="2day",d.THREE_DAY="3day",d.TEN_DAY="10day",d.FIFTEEN_DAY="15day",(A=o||(r.DayOrNight=o={})).DAY="D",A.NIGHT="N",A.MISSING="X",(R=s||(r.WindDirectionCardinal=s={})).NORTH="N",R.NORTH_NORTHEAST="NNE",R.NORTHEAST="NE",R.EAST_NORTHEAST="ENE",R.EAST="E",R.EAST_SOUTHEAST="ESE",R.SOUTHEAST="SE",R.SOUTH_SOUTHEAST="SSE",R.SOUTH="S",R.SOUTH_SOUTHWEST="SSW",R.SOUTHWEST="SW",R.WEST_SOUTHWEST="WSW",R.WEST="W",R.WEST_NORTHWEST="WNW",R.NORTHWEST="NW",R.NORTH_NORTHWEST="NNW",R.CALM="CALM",(T=l||(r.UVDescription=l={})).NOT_AVAILABLE="-2",T.NO_REPORT="-1",T.LOW="Low",T.MODERATE="Moderate",T.HIGH="High",T.VERY_HIGH="Very High",T.EXTREME="Extreme",(S=I||(r.PressureTendencyCode=I={}))[S.STEADY=0]="STEADY",S[S.RISING=1]="RISING",S[S.FALLING=2]="FALLING",S[S.RAPIDLY_RISING=3]="RAPIDLY_RISING",S[S.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(p=c||(r.CloudCoverPhrase=c={})).CLEAR="Clear",p.PARTLY_CLOUDY="Partly Cloudy",p.MOSTLY_CLOUDY="Mostly Cloudy",p.CLOUDY="Cloudy",(m=u||(r.IconCode=u={}))[m.TORNADO=0]="TORNADO",m[m.TROPICAL_STORM=1]="TROPICAL_STORM",m[m.HURRICANE=2]="HURRICANE",m[m.STRONG_STORMS=3]="STRONG_STORMS",m[m.THUNDERSTORMS=4]="THUNDERSTORMS",m[m.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",m[m.RAIN_SLEET=6]="RAIN_SLEET",m[m.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",m[m.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",m[m.DRIZZLE=9]="DRIZZLE",m[m.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",m[m.SHOWERS=11]="SHOWERS",m[m.RAIN=12]="RAIN",m[m.FLURRIES=13]="FLURRIES",m[m.SNOW_SHOWERS=14]="SNOW_SHOWERS",m[m.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",m[m.SNOW=16]="SNOW",m[m.HAIL=17]="HAIL",m[m.SLEET=18]="SLEET",m[m.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",m[m.FOGGY=20]="FOGGY",m[m.HAZE=21]="HAZE",m[m.SMOKE=22]="SMOKE",m[m.BREEZY=23]="BREEZY",m[m.WINDY=24]="WINDY",m[m.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",m[m.CLOUDY=26]="CLOUDY",m[m.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",m[m.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",m[m.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",m[m.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",m[m.CLEAR_NIGHT=31]="CLEAR_NIGHT",m[m.SUNNY=32]="SUNNY",m[m.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",m[m.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",m[m.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",m[m.SUNNY_ALT=36]="SUNNY_ALT",m[m.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",m[m.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",m[m.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",m[m.HEAVY_RAIN=40]="HEAVY_RAIN",m[m.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",m[m.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",m[m.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",m[m.NA=44]="NA",m[m.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",m[m.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",m[m.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(C=_||(r.IconCodeExtended=_={}))[C.STRONG_STORMS=300]="STRONG_STORMS",C[C.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",C[C.FREEZING_RAIN=1e3]="FREEZING_RAIN",C[C.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",C[C.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",C[C.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",C[C.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",C[C.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",C[C.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",C[C.SLEET=1800]="SLEET",C[C.LIGHT_SLEET=1801]="LIGHT_SLEET",C[C.SLEET_WIND=1810]="SLEET_WIND",C[C.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",C[C.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",C[C.HEAVY_SNOW=4200]="HEAVY_SNOW",C[C.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",C[C.BLIZZARD=4300]="BLIZZARD",C[C.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",C[C.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",C[C.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",C[C.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",C[C.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",C[C.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",C[C.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",C[C.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",C[C.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",C[C.THUNDER_SNOW=5600]="THUNDER_SNOW",C[C.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",C[C.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",C[C.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",C[C.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",C[C.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",C[C.AM_RAIN_ICE=6503]="AM_RAIN_ICE",C[C.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",C[C.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",C[C.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",C[C.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",C[C.ICE_EARLY=6600]="ICE_EARLY",C[C.AM_ICE=6603]="AM_ICE",C[C.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",C[C.AM_ICE_WIND=6613]="AM_ICE_WIND",C[C.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",C[C.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",C[C.PM_RAIN_ICE=7503]="PM_RAIN_ICE",C[C.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",C[C.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",C[C.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",C[C.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",C[C.ICE_LATE=7600]="ICE_LATE",C[C.PM_ICE=7603]="PM_ICE",C[C.ICE_WIND_LATE=7610]="ICE_WIND_LATE",C[C.PM_ICE_WIND=7613]="PM_ICE_WIND",C[C.RAIN_TO_ICE=8100]="RAIN_TO_ICE",C[C.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",C[C.ICE_TO_RAIN=8500]="ICE_TO_RAIN",C[C.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND",r.ICON_CODE_EXTENDED={300:"STRONG_STORMS",310:"STRONG_STORMS-WIND",1e3:"FREEZING_RAIN",1001:"LIGHT_FREEZING_RAIN",1002:"HEAVY_FREEZING_RAIN",1010:"FREEZING_RAIN-WIND",1011:"LIGHTFREEZING_RAIN-WIND",1012:"HEAVY_FREEZING_RAIN-WIND",1051:"LIGHT_FREEZING_RAIN-FOG",1800:"SLEET",1801:"LIGHT_SLEET",1810:"SLEET-WIND",1811:"LIGHT_SLEET-WIND",3819:"SCATTERED_THUNDERSTORMS-WIND",4200:"HEAVY_SNOW",4210:"HEAVY_SNOW-WIND",4300:"BLIZZARD",5100:"FREEZING_RAIN-SLEET",5101:"LIGHT_FREEZING_RAIN-SLEET",5110:"FREEZING_RAIN-SLEET-WIND",5111:"LIGHT_FREEZING_RAIN-SLEET-WIND",5300:"RAIN-FREEZING_RAIN",5301:"LIGHT_RAIN-FREEZING_RAIN",5302:"HEAVY_RAIN-FREEZING_RAIN",5310:"RAIN-FREEZING_RAIN-WIND",5311:"LIGHT_RAIN-FREEZING_RAIN-WIND",5312:"HEAVY_RAIN-FREEZING_RAIN-WIND",5351:"LIGHT_RAIN-FREEZING_RAIN-FOG",5600:"THUNDER_SNOW",5610:"THUNDER_SNOW-WIND",5709:"SCATTERED_STRONG_STORMS",5719:"SCATTERED_STRONG_STORMS-WIND",6500:"RAIN-ICE_EARLY",6501:"LIGHT_RAIN-ICE_EARLY",6503:"AM_RAIN-ICE",6504:"AM_LIGHT_RAIN-ICE",6510:"RAIN-ICE-WIND_EARLY",6511:"LIGHT_RAIN-ICE-WIND_EARLY",6513:"AM_RAIN-ICE-WIND",6514:"AM_LIGHT_RAIN-ICE-WIND",6600:"ICE_EARLY",6603:"AM_ICE",6610:"ICE-WIND_EARLY",6613:"AM_ICE-WIND",7500:"RAIN-ICE_LATE",7501:"LIGHT_RAIN-ICE_LATE",7503:"PM_RAIN-ICE",7504:"PM_LIGHT_RAIN-ICE",7510:"RAIN-ICE-WIND_LATE",7511:"LIGHT_RAIN-ICE-WIND_LATE",7513:"PM_RAIN-ICE-WIND",7514:"PM_LIGHT_RAIN-ICE-WIND",7600:"ICE_LATE",7603:"PM_ICE",7610:"ICE-WIND_LATE",7613:"PM_ICE-WIND",8100:"RAIN_TO_ICE",8110:"RAIN_TO_ICE-WIND",8500:"ICE_TO_RAIN",8510:"ICE_TO_RAIN-WIND"},r.ICON_CODE_MAP={0:"tornado",1:"tropical-storm",2:"hurricane",3:"strong-storms",4:"thunderstorms",5:"rain-snow-wintery-mix",6:"rain-sleet",7:"rain-snow-wintery-mix",8:"freezing-drizzle-rain",9:"drizzle",10:"freezing-drizzle-rain",11:"showers",12:"rain",13:"flurries",14:"snow-showers",15:"blowing-drifting-snow",16:"snow",17:"hail",18:"sleet",19:"blowing-dust-sandstorm",20:"foggy",21:"haze",22:"smoke",23:"breezy",24:"windy",25:"blowing-drifting-snow",26:"cloudy",27:"mostly-cloudy-night",28:"mostly-cloudy-day",29:"partly-cloudy-night",30:"partly-cloudy-day",31:"clear-night",32:"sunny",33:"mostly-clear-night",34:"mostly-clear-day",35:"mixed-rain-hail",36:"sunny",37:"isolated-thunderstorms",38:"scattered-thunderstorms-day",39:"scattered-showers-day",40:"heavy-rain",41:"scattered-snow-showers-day",42:"heavy-snow-blizzard",43:"heavy-snow-blizzard",44:"na",45:"scattered-showers-night",46:"scattered-snow-showers-night",47:"scattered-thunderstorms-night"}},861160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeCardinal=void 0;let i=e.r(349262),n={O:i.WindDirectionCardinal.WEST,NO:i.WindDirectionCardinal.NORTHWEST,NNO:i.WindDirectionCardinal.NORTH_NORTHWEST,ONO:i.WindDirectionCardinal.WEST_NORTHWEST,OSO:i.WindDirectionCardinal.WEST_SOUTHWEST,SO:i.WindDirectionCardinal.SOUTHWEST,SSO:i.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>n[e]||e},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},645968,e=>{"use strict";var t=e.i(742436),r=e.i(495110),i=e.i(283366);e.s(["default",0,function(e,n){let a=(0,t.useExperimentContext)();(0,i.useExposure)(e);let o=(0,r.useIsHydratingRender)();return!a||o?n:a.variant(e,n)}])},47524,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):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"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="ChevronRight",e.s(["ChevronRight",0,a])},710746,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,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"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Close",e.s(["Close",0,a])},671525,e=>{"use strict";var t=e.i(725287);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:i=!0,replace:n=!1}=r;i?n?window.location.replace(t):window.location.href=t:n?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])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),r=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:n,page:a,onUpdateData:o,onSetPageData:s}){let{updateComponentData:l,setPageData:I}=(0,r.useDebugSystem)(),c=(0,t.useRef)(!1),u=o||l,_=s||I;return(0,t.useEffect)(()=>{if(n)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(n),hasPerformance:!!n.performance,hasContext:!!n.context}),u(e,{...n,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),u(e,null)}},[e,n,u]),(0,t.useEffect)(()=>{a&&!c.current&&(i.lifecycle("Setting page metadata",{title:a.title,assetName:a.assetName,collection:a.collection}),_({...a,_updatedAt:new Date().toISOString()}),c.current=!0)},[a,_]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(247865);let i=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,i],674339),e.s(["useDebugSystem",0,function(){let[e,n]=(0,t.useAtom)(i),a=(0,r.useCallback)((e,t)=>{n(r=>{let i=r?.[e]||{},n="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...r,[e]:n}})},[n]),o=(0,r.useCallback)((e,t)=>{n(r=>{let i=r||{timestamp:new Date().toISOString()},n=i.components||{};if(null===t){let t={...n};return delete t[e],{...i,components:t}}return{...i,components:{...n,[e]:t}}})},[n]),s=(0,r.useCallback)(e=>{a("page",e)},[a]),l=(0,r.useCallback)(e=>{a("route",e)},[a]),I=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&a(e,t)})},[a]);return{debugData:e,updateSection:a,updateComponentData:o,setPageData:s,clearAllDebugData:(0,r.useCallback)(()=>{n({timestamp:new Date().toISOString()})},[n]),updateRouteInfo:l,updatePageDebug:I}}],609858)},180193,e=>{"use strict";var t=e.i(902875),r=e.i(247865),i=e.i(617874);let n=(0,r.memo)(({className:e,unitsClassName:r,units:n,value:a,degreeSymbolClass:o,unitOnly:s})=>{let l=null!=a,I=n?(0,i.unitsSystemByCode)(n):null,c=I?.temp,u=Number.isFinite(a)&&Math.round(a);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:l||!l&&s?(0,t.jsxs)(t.Fragment,{children:[l&&u,(0,t.jsx)("span",{className:o,children:"°"}),c&&(0,t.jsx)("span",{className:r,children:c})]}):"--"})});e.s(["Temperature",0,n])},617874,e=>{"use strict";let t="Imperial",r="Metric",i="Hybrid",n={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},a={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},o={code:"h",name:i,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["UNITS_COOKIE_KEY",0,"unitOfMeasurement","UNIT_HYBRID",0,i,"UNIT_IMPERIAL",0,t,"UNIT_METRIC",0,r,"imperial",0,n,"unitsSystemByCode",0,function(e){switch(e?.toLowerCase()){case"e":case"f":return n;case"m":case"c":return a;case"h":return o;default:return null}},"unitsSystemByName",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return n;case"metric":case"Metric":return a;case"hybrid":case"Hybrid":return o;default:return null}}])},889753,301904,e=>{"use strict";var t=e.i(284007),r=e.i(617874),i=e.i(990033),n=e.i(981030),a=e.i(543512);let o={animationSpeed:1,autoplay:!0,opacity:90,roadOverlay:"default",style:"default"};e.s(["DEFAULT_MAP_SETTINGS",0,o],301904);let s=(0,n.atom)(a.UserSubscriptionTiers.none),l=(0,t.atomWithStorage)("userProfile",null,void 0,{getOnInit:!0}),I=(0,t.atomWithStorage)("userPreferences",{userID:(0,i.v4)(),unit:r.UNIT_IMPERIAL,locations:[],locale:"en_US",mapSettings:o,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["userPreferencesAtom",0,I,"userProfileAtom",0,l,"userTierAtom",0,s],889753)},905059,e=>{"use strict";let t=(0,e.i(284007).atomWithStorage)("wx-next/user:mapLayerOrder",null,void 0,{getOnInit:!0});e.s(["mapLayerOrderAtom",0,t])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),i=e.i(889753);let n=(0,t.atom)(e=>e(i.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),a=(0,t.atom)(e=>e(n)===r.UNIT_IMPERIAL),o=(0,t.atom)(e=>e(n)===r.UNIT_METRIC),s=(0,t.atom)(e=>e(n)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,s,"isImperialUnitsAtom",0,a,"isMetricUnitsAtom",0,o,"userUnitPreferenceAtom",0,n])},776169,809991,e=>{"use strict";var t=e.i(546446),r=e.i(889753),i=e.i(301904),n=e.i(905059),a=e.i(901351),o=e.i(310847),s=e.i(528600),l=e.i(617874),I=e.i(540768),c=e.i(553329),u=e.i(247865),_=e.i(245943);let E=(0,e.i(695881).createLogger)("useMapSettings");e.s(["WEB_MAP_SETTINGS_PLATFORM",0,"twc","useMapSettings",0,function(e="twc"){let{user:{isUserLoggedIn:r}}=(0,s.useUser)(),i=(0,t.useSetAtom)(n.mapLayerOrderAtom),o=(0,u.useCallback)(async t=>{if(!r)return!1;let{error:i}=await (0,c.tryCatch)(a.upsxClient.preference.updateMapSettings(e,t));if(!i)return!0;if(i instanceof _.APIError&&404===i.code){let{error:r}=await (0,c.tryCatch)(a.upsxClient.preference.createMapSettings(e,t));return!r||(E.warn("Failed to create map settings",r),!1)}return E.warn("Failed to update map settings",i),!1},[r,e]),l=(0,u.useCallback)((e,t)=>{i(e?.layerOrder??t)},[i]),I=(0,u.useCallback)(async t=>{if(!r||0===t.length)return!1;i(t);let{data:n,error:o}=await (0,c.tryCatch)(a.upsxClient.preference.reorderMapSettingsLayers(e,{order:t}));if(!o)return l(n,t),!0;if(o instanceof _.APIError&&404===o.code){let{data:r,error:i}=await (0,c.tryCatch)(a.upsxClient.preference.createMapSettings(e,{layerOrder:t}));if(!i)return l(r,t),!0;if(i instanceof _.APIError&&409===i.code){let{data:r,error:i}=await (0,c.tryCatch)(a.upsxClient.preference.reorderMapSettingsLayers(e,{order:t}));return i?(E.warn("Failed to reorder map layers after create",i),!1):(l(r,t),!0)}return E.warn("Failed to create map settings layer order",i),!1}return E.warn("Failed to reorder map layers",o),!1},[r,e,l,i]),N=(0,u.useCallback)(async(t,n,o)=>{if(!r)return!1;i(o);let{data:s,error:u}=await (0,c.tryCatch)(a.upsxClient.preference.moveMapSettingsLayer(e,t,{placement:n}));return u?u instanceof _.APIError&&(404===u.code||400===u.code)?I(o):(E.warn("Failed to move map layer",u),!1):(l(s,o),!0)},[r,e,l,I,i]);return{saveMapSettings:o,saveLayerOrder:I,moveLayer:N}}],809991),e.s(["usePreferences",0,function(){let{user:{isUserLoggedIn:e}}=(0,s.useUser)(),[u,_]=(0,t.useAtom)(r.userPreferencesAtom),[E,N]=(0,t.useAtom)(o.wxuUserPreferenceAtom),d=(0,t.useSetAtom)(n.mapLayerOrderAtom),A=async()=>{let{data:e,error:t}=await (0,c.tryCatch)(a.upsxClient.preference.getMapSettings("twc"));if(t)return{ok:!1,mapSettings:null,layerOrder:null};if(!e)return{ok:!0,mapSettings:null,layerOrder:null};let{animationSpeed:r,autoplay:i,opacity:n,roadOverlay:o,style:s}=e,l={...void 0!==r&&{animationSpeed:r},...void 0!==i&&{autoplay:i},...void 0!==n&&{opacity:n},...void 0!==o&&{roadOverlay:o},...void 0!==s&&{style:s}};return{ok:!0,mapSettings:Object.keys(l).length>0?l:null,layerOrder:e.layerOrder?.length?e.layerOrder:null}},R=async e=>{try{await a.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},T=async(t,r=!0)=>{try{let i,n=(i={...u,...t},_(i),N({...E,...t,locations:i.locations}),i);if(t?.unit){let e=(0,l.unitsSystemByName)(t.unit),r=e?.code||"e";(0,I.setCookie)(l.UNITS_COOKIE_KEY,r,{domain:"weather.com"})}return r&&e&&await R(n),{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([a.upsxClient.preference.getPreference(),A()]);if(!e?.userID)return null;let{mapSettings:r,layerOrder:n,ok:o}=t;o&&d(n);let{mapSettings:s,...l}=e,I={...l,mapSettings:{...i.DEFAULT_MAP_SETTINGS,...r}};return T(I,!1),I}catch{return null}},updatePreferences:T}}],776169)},528600,949920,e=>{"use strict";let t;var r=e.i(247865),i=e.i(546446),n=e.i(381477);let a=(0,e.i(66396).withMiddleware)(n.default,e=>(t,r,i)=>(i.revalidateOnFocus=!1,i.revalidateIfStale=!1,i.revalidateOnReconnect=!1,e(t,r,i)));e.s(["default",0,a],949920);var o=e.i(889753),s=e.i(901351),l=e.i(310847),I=e.i(543512),c=e.i(990033),u=e.i(333350),_=e.i(495110),E=e.i(513513),N=e.i(960576);e.s(["useUser",0,function(){let[e,n]=(0,i.useAtom)(o.userProfileAtom),[d,A]=(0,i.useAtom)(l.wxuUserAnonymousIdAtom),[R,T]=(0,i.useAtom)(l.wxuUserAccountUserAccountResponseAtom),[S,p]=(0,r.useState)(!1),m=(0,i.useSetAtom)(l.wxuLoginRedirectPageAtom),C=(0,_.useIsHydratingRender)();u.default&&!S&&(m(window.location.href),p(!0));let D=(0,i.useAtomValue)(o.userTierAtom),L=(0,E.isUserLoggedIn)(D),O=d;!O&&u.default&&(t||(t=(0,N.readEarlyAnonId)()??(0,c.v4)()),O=t),u.default&&!d&&O&&A(O),!e&&R&&n(R);let f=a(L?"upsx/id":null,()=>s.upsxClient.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:y=""}=f?.data||{},g=a(y&&e?.userID!==y?"upsx/account":null,()=>s.upsxClient.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{n(e),T(e)}});return{user:{anonId:O,userID:y,isUserLoggedIn:L,subscriptionTier:D,isUserPremium:(0,E.isUserTierPremium)(D),isUserAdFree:D===I.UserSubscriptionTiers.adFree},userProfile:C?null:e,isUserIdLoading:f.isLoading,profileError:g.error}}],528600)},543512,e=>{"use strict";var t,r=((t={})[t.none=-1]="none",t[t.standard=0]="standard",t[t.premium=1]="premium",t[t.adFree=2]="adFree",t[t.premiumWithAd=3]="premiumWithAd",t);let i=Object.entries(r).reduce((e,[t,r])=>(e[r]=t,e),{});Object.entries(r).reduce((e,[t,r])=>(e[r.toString()]=r,e),{}),e.s(["UserSubscriptionPremiumTiers",0,[1,2,3],"UserSubscriptionTierKeysMap",0,i,"UserSubscriptionTiers",()=>r,"UserSubscriptionTiersMap",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},960576,e=>{"use strict";let t="wxu-exp-anon-id";e.s(["clearEarlyAnonId",0,function(){try{window.localStorage.removeItem(t)}catch{}},"readEarlyAnonId",0,function(){let e=window.__wxExperimentDeviceId;if("string"==typeof e&&e)return e;try{return window.localStorage.getItem(t)||void 0}catch{return}}])},513513,e=>{"use strict";var t=e.i(543512);t.UserSubscriptionTiers.none,t.UserSubscriptionTiers.standard,t.UserSubscriptionTiers.adFree,t.UserSubscriptionTiers.premium,t.UserSubscriptionTiers.premiumWithAd,e.s(["hasRadarFeature",0,function(e){return void 0!==e&&t.UserSubscriptionPremiumTiers.includes(e)},"isUserLoggedIn",0,function(e){return void 0!==e&&e>t.UserSubscriptionTiers.none},"isUserTierPremium",0,function(e){return t.UserSubscriptionPremiumTiers.includes(e)}],513513)},901351,e=>{"use strict";e.i(288906);var t=e.i(245943),r=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,r.upsxApiUrl)("https://upsx.weather.com")});e.s(["upsxClient",0,i])},792461,e=>{"use strict";var t=e.i(247865);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},991511,e=>{"use strict";var t=e.i(247865),r=e.i(806262),i=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let n=(0,i.useStore)(),a=(0,t.useRef)(e);a.current=e,(0,t.useEffect)(()=>{for(let[e,t]of a.current)n.get(e)!==t&&n.set(e,t)})}])},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])}]);