(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,238430,e=>{"use strict";var t=e.i(902875),i=e.i(247865);e.s(["default",0,function({candidate:e,failedMessage:r="Authentication failed. Please try again.",protectMessage:a="Remove your adblocker.",fetch:n,refresh:o,getCustomAccountInfo:I}){let[_,E]=(0,i.useState)(""),[l,N]=(0,i.useState)(!1),[s,R]=(0,i.useState)(!1),[u,A]=(0,i.useState)(!1),c=(0,i.useRef)([]);(0,i.useEffect)(()=>{e.id!==c.current[0]&&(c.current=[e.id],e.transactIDs&&c.current.push(...e.transactIDs))},[e.id,e.transactIDs]);let d=(0,i.useCallback)(()=>{try{n("/?adm_get_token=1").then(e=>{e.ok&&o()}).catch(()=>{E(r)})}catch{E(r)}},[n,r,o]),T=(0,i.useMemo)(()=>"u">typeof window?window:{admiral:{}},[]);return(0,i.useEffect)(()=>{typeof window>"u"||(T.admiral=T.admiral||function(...e){(T.admiral.q=T.admiral.q||[]).push(e)},T.admiral("after","measure.detected",function(t){if("abr"==e.requirement)t.adblocking?(E(a),N(!0)):A(!0);else if("account"==e.requirement||"benefits"==e.requirement){let t=!!I;T.admiral("after","visitor.latest",function(i){var r;if("account"===e.requirement)(t?I().registered:i.status.registered)||s||(E(a),N(!0));else if("benefits"===e.requirement){let i=[];if(t)i=I().benefits;else{let e=document.cookie.split(";");e&&(i=(null==(r=e.find(e=>e.startsWith("admbenefits=")))?void 0:r.split(","))??[])}if(i){let t=e.benefits??[];if(0==t.length)return void A(!0);let r=!1;for(let e of t)i.includes(e)&&(r=!0);r?A(!0):(E(a),N(!0))}else E(a),N(!0)}})}}))},[]),(0,i.useEffect)(()=>{u&&(A(!1),d())},[u,d]),(0,i.useEffect)(()=>{s||!l||(R(!0),T.admiral("targeting","force",{candidateIDs:c.current}))},[s,l,c,T]),(0,t.jsxs)("div",{children:[_||null," "]})}])},590238,e=>{"use strict";var t=e.i(725287),i=e.i(537989);e.i(609717);var r=e.i(950771),a=e.i(695203),n=e.i(604323),o=e.i(797770),I=e.i(236433),_=e.i(513539),E=e.i(991511);e.s(["AnalyticsBoundary",0,e=>{let l=(0,t.usePathname)();return(0,E.useRehydrateAtoms)([[i.pageIdAtom,e.pageId],[r.pageLocaleAtom,e.pageLocale],[a.deviceClassAtom,e.deviceClass],[n.metricsArticleDataAtom,e.metricsArticleData],[o.adsMetricsUnitAndZoneAtom,e.adsMetricsUnitAndZone??"non_monetized"],[_.layoutStateAtom,e.layoutState??null],[_.activeEventAtom,e.activeEvent??null],[I.pageAtomsPathnameAtom,l]]),null}])},855602,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(1567),a=e.i(782552),n=e.i(551699);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:o,moduleKey:I,variant:_="frontend",children:E})=>{let l=(0,r.useTrackModuleViewed)(),N=(0,a.useTrackModuleViewed)(),s="admin"===_,R=(0,i.useCallback)(()=>{l({moduleId:e,modulePosition:o}),N({moduleId:e,modulePosition:o})},[l,N,e,o]),u=(0,i.useRef)(null),[A,c]=(0,i.useState)([]),d=(0,i.useCallback)(()=>{let e=u.current?Array.from(u.current.children):[];c(t=>t.length===e.length&&t.every((t,i)=>t===e[i])?t:e)},[]);return((0,i.useEffect)(()=>{let e=u.current;if(!e||(d(),"u"t.disconnect()},[d,s]),(0,n.useFullVisibilityOnce)(R,{targets:A,disabled:s}),s)?(0,t.jsx)(t.Fragment,{children:E}):(0,t.jsx)("div",{ref:u,className:"hide-empty","data-module-id":e,"data-module-key":I,"data-item-position":o,children:E})}])},551699,e=>{"use strict";var t=e.i(247865),i=e.i(333350);let r=2e3,a=[0,.25,.5,.75,1],n=e=>e.right-e.left>0&&e.bottom-e.top>0;e.s(["useFullVisibilityOnce",0,(e,{targets:o,dwellMs:I=r,disabled:_=!1})=>{let[E,l]=(0,t.useState)(!1),N=(0,t.useRef)(null),s=(0,t.useRef)(!1),R=(0,t.useRef)(e);(0,t.useEffect)(()=>{R.current=e},[e]),(0,t.useEffect)(()=>{if(_||E||s.current||!i.default||0===o.length)return;let e=new Map,t=()=>{N.current&&(clearTimeout(N.current),N.current=null)},r=()=>{N.current=null,s.current||(s.current=!0,R.current(),l(!0))},u=new IntersectionObserver(i=>{let a;if(i.forEach(t=>{e.set(t.target,t.boundingClientRect)}),e.sizenull!==e.rootBounds)?.rootBounds??null,E=_?{width:_.width,height:_.height}:{width:window.innerWidth,height:window.innerHeight};((e,t)=>{if(!e||!n(e)||t.width=0&&e.bottom=t.height,a=e.left>=0&&e.right=t.width;return(i||r)&&(a||o)})(0===(a=[...e.values()].filter(n)).length?null:a.reduce((e,t)=>({top:Math.min(e.top,t.top),left:Math.min(e.left,t.left),bottom:Math.max(e.bottom,t.bottom),right:Math.max(e.right,t.right)}),{top:1/0,left:1/0,bottom:-1/0,right:-1/0}),E)?N.current||s.current||(N.current=setTimeout(r,I)):t()},{threshold:a});return o.forEach(e=>u.observe(e)),()=>{t(),u.disconnect()}},[o,_,E,I])}])},1567,782552,e=>{"use strict";var t=e.i(487709),i=e.i(737801),r=e.i(546446),a=e.i(513539),n=e.i(247865);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",o=(0,i.useEventAttributes)(),I=(0,r.useAtomValue)(a.layoutStateAtom);return(0,n.useCallback)(({moduleId:i,modulePosition:r})=>{if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");let a={...o,moduleId:i,modulePosition:String(r),layoutState:I};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[o,I])}],1567);var o=e.i(725287),I=e.i(540768),_=e.i(682142),E=e.i(782937),l=e.i(695881),N=e.i(333350),s=e.i(64412),R=e.i(950771),u=e.i(537989),A=e.i(695203),c=e.i(158662),d=e.i(358273),T=e.i(122124),S=e.i(777638),L=e.i(727365),D=e.i(896363),C=e.i(924776),O=e.i(409628),h=e.i(605781),G=e.i(289681);let W=(0,l.createLogger)("useTrackModuleViewed"),f=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),H=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),g=[];function m(e){try{(0,h.trackModuleViewed)(e),W.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){W.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["useTrackModuleViewed",0,()=>{let e=(0,o.usePathname)(),t=(0,r.useAtomValue)(u.pageIdAtom),i=(0,r.useAtomValue)(R.pageLocaleAtom),l=(0,r.useAtomValue)(A.deviceClassAtom),h=(0,r.useAtomValue)(a.layoutStateAtom),W=(0,r.useAtomValue)(c.experimentJoinListAtom),{location:p}=(0,s.useLocation)(),M=(0,C.useIsHightouchReady)(),y=(0,n.useCallback)(({moduleId:r,modulePosition:a})=>{let n=(0,_.getCICookie)(),o=n?.["TWC-GeoIP-Country"]??(0,I.getCookie)("twc-location-country"),N=n?.["TWC-GeoIP-Region"]??(0,I.getCookie)("twc-location-region"),s=n?.["TWC-Privacy"]??(0,I.getCookie)("twc-privacy"),R=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",A=window.navigator?.globalPrivacyControl??!1,c=R?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,g=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,m=(0,G.getConsentAuthorization)("sale-of-data"),M=(0,G.getConsentAuthorization)("sensitive-data"),y=navigator?.cookieEnabled??!1,w=(0,I.getCookie)("partner")||"",Y=(0,E.getPartnerByPattern)(w)??w,v=(0,d.getMetricsSession)(),F=v?.sessionId||"",P=new Date(v?.sessionStartTime||0).toISOString(),Z=new Date,b=Z.getHours(),U=O.WEEK_DAYS[Z.getDay()]??"",V="article"===t||"video"===t?(0,T.stripLastPartOfSlug)(e??""):(0,T.getAnonymizedPath)(e??""),k=(0,L.normalizeWlocType)(p?.type),x=p?.featureSource??null;return{moduleId:r,modulePosition:String(a),layoutState:h??void 0,pageId:t??"",url:V,referrer:document.referrer,locale:i,deviceClass:l,partner:Y,sessionId:F,sessionStartTime:P,siteMode:"normal",dayOfWeek:U,hourOfDay:b,regime:s??"",cookiesEnabled:y,gpcSignalOptOut:A,functionalTechnologies:c,geographicallyRelevantAds:C,interestBasedAds:g,priv:R,privProducts:u,saleOfDataAuthorization:m,sensitiveDataAuthorization:M,campaign:(0,S.getCampaign)(),experimentJoinList:W,weatherMode:"normal",physicalCountry:o??"",physicalState:N??"",wlocCity:p?.city??null,wlocCountry:p?.countryCode??null,wlocState:p?.adminDistrictCode??null,wlocDMA:p?.dmaCd??null,wlocId:p?.placeId??null,wlocFeatureId:p?.featureId??null,wlocFeatureSource:null!=x&&H.has(x)?x:void 0,wlocTags:p?.tags?.length?(0,D.parseArrayToString)(p.tags):null,wlocType:null!==k&&f.has(k)?k:void 0,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"af97f2ef43bf0771a7d1afa127a7b2e7bb77f8d4".slice(0,10)}},[e,t,i,l,h,W,p]);return(0,n.useEffect)(()=>{if(!M||0===g.length)return;let e=g;g=[],e.forEach(m)},[M]),(0,n.useCallback)(e=>{if(!N.default)return;let t=y(e);M?m(t):g.push(t)},[M,y])}],782552)},650130,(e,t,i)=>{"use strict";function r(e){return Math.PI/180*e}function a(e,t,i,a){if(isNaN(e)||isNaN(t)||isNaN(i)||isNaN(a))return NaN;if(e===i&&t===a)return 0;let n=r(i-e),o=r(a-t),I=Math.sin(n/2)*Math.sin(n/2)+Math.cos(r(e))*Math.cos(r(i))*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(I),Math.sqrt(1-I))*6371}function n(e,t,i){let r=-90,a=90,n=-180,o=180,I="",_=0,E=0,l=!0;for(;I.length=e?(E=(E=t?(E=(E{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCurrentObservations=_;let r=e.r(979777),a=e.r(678651),n=e.r(414655),o=e.r(861160),I=e.r(349262);async function _(e){let t=(0,r.getCurrentObservationsUrlConfig)(e),i=(0,a.urlFrom)(t),_=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),E=await (0,n.handleFetchResponse)(_);return{...E,pressureMeanSeaLevel:e.units===I.Units.IMPERIAL?E.pressureMeanSeaLevel/33.8639:E.pressureMeanSeaLevel,windDirectionCardinal:(0,o.normalizeCardinal)(E.windDirectionCardinal)}}},979777,(e,t,i)=>{"use strict";function r(e,{stormId:t,units:i,language:a,nautical:n}){return{host:"api.weather.com",protocol:"https",pathname:e,query:{stormId:t,units:i,language:a,nautical:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}e.i(288906),Object.defineProperty(i,"__esModule",{value:!0}),i.getCurrentObservationsUrlConfig=function({geocode:e,placeId:t,units:i,language:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,placeid:t,units:i,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},i.getTropicalConeUrlConfig=function({stormId:e,units:t,language:i,nautical:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:i,nautical:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},i.getTropicalTrackUrlConfig=function(e){return r("/v2/tropical/track",e)},i.getTropicalProjectedPathUrlConfig=function(e){return r("/v2/tropical/projectedpath",e)},i.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:i,units:r,language:a}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:i,units:r,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,i)=>{"use strict";var r,a,n,o,I,_,E,l,N,s,R,u,A,c,d,T,S,L,D,C;Object.defineProperty(i,"__esModule",{value:!0}),i.ICON_CODE_MAP=i.ICON_CODE_EXTENDED=i.IconCodeExtended=i.IconCode=i.CloudCoverPhrase=i.PressureTendencyCode=i.UVDescription=i.WindDirectionCardinal=i.DayOrNight=i.HourlyForecastDuration=i.ForecastDuration=i.Units=void 0,(R=r||(i.Units=r={})).IMPERIAL="e",R.METRIC="m",R.HYBRID="h",(u=a||(i.ForecastDuration=a={})).THREE_DAY="3day",u.FIVE_DAY="5day",u.SEVEN_DAY="7day",u.TEN_DAY="10day",u.FIFTEEN_DAY="15day",(A=n||(i.HourlyForecastDuration=n={})).SIX_HOUR="6hour",A.TWELVE_HOUR="12hour",A.ONE_DAY="1day",A.TWO_DAY="2day",A.THREE_DAY="3day",A.TEN_DAY="10day",A.FIFTEEN_DAY="15day",(c=o||(i.DayOrNight=o={})).DAY="D",c.NIGHT="N",c.MISSING="X",(d=I||(i.WindDirectionCardinal=I={})).NORTH="N",d.NORTH_NORTHEAST="NNE",d.NORTHEAST="NE",d.EAST_NORTHEAST="ENE",d.EAST="E",d.EAST_SOUTHEAST="ESE",d.SOUTHEAST="SE",d.SOUTH_SOUTHEAST="SSE",d.SOUTH="S",d.SOUTH_SOUTHWEST="SSW",d.SOUTHWEST="SW",d.WEST_SOUTHWEST="WSW",d.WEST="W",d.WEST_NORTHWEST="WNW",d.NORTHWEST="NW",d.NORTH_NORTHWEST="NNW",d.CALM="CALM",(T=_||(i.UVDescription=_={})).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=E||(i.PressureTendencyCode=E={}))[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",(L=l||(i.CloudCoverPhrase=l={})).CLEAR="Clear",L.PARTLY_CLOUDY="Partly Cloudy",L.MOSTLY_CLOUDY="Mostly Cloudy",L.CLOUDY="Cloudy",(D=N||(i.IconCode=N={}))[D.TORNADO=0]="TORNADO",D[D.TROPICAL_STORM=1]="TROPICAL_STORM",D[D.HURRICANE=2]="HURRICANE",D[D.STRONG_STORMS=3]="STRONG_STORMS",D[D.THUNDERSTORMS=4]="THUNDERSTORMS",D[D.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",D[D.RAIN_SLEET=6]="RAIN_SLEET",D[D.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",D[D.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",D[D.DRIZZLE=9]="DRIZZLE",D[D.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",D[D.SHOWERS=11]="SHOWERS",D[D.RAIN=12]="RAIN",D[D.FLURRIES=13]="FLURRIES",D[D.SNOW_SHOWERS=14]="SNOW_SHOWERS",D[D.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",D[D.SNOW=16]="SNOW",D[D.HAIL=17]="HAIL",D[D.SLEET=18]="SLEET",D[D.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",D[D.FOGGY=20]="FOGGY",D[D.HAZE=21]="HAZE",D[D.SMOKE=22]="SMOKE",D[D.BREEZY=23]="BREEZY",D[D.WINDY=24]="WINDY",D[D.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",D[D.CLOUDY=26]="CLOUDY",D[D.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",D[D.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",D[D.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",D[D.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",D[D.CLEAR_NIGHT=31]="CLEAR_NIGHT",D[D.SUNNY=32]="SUNNY",D[D.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",D[D.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",D[D.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",D[D.SUNNY_ALT=36]="SUNNY_ALT",D[D.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",D[D.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",D[D.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",D[D.HEAVY_RAIN=40]="HEAVY_RAIN",D[D.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",D[D.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",D[D.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",D[D.NA=44]="NA",D[D.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",D[D.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",D[D.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(C=s||(i.IconCodeExtended=s={}))[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",i.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"},i.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,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.normalizeCardinal=void 0;let r=e.r(349262),a={O:r.WindDirectionCardinal.WEST,NO:r.WindDirectionCardinal.NORTHWEST,NNO:r.WindDirectionCardinal.NORTH_NORTHWEST,ONO:r.WindDirectionCardinal.WEST_NORTHWEST,OSO:r.WindDirectionCardinal.WEST_SOUTHWEST,SO:r.WindDirectionCardinal.SOUTHWEST,SSO:r.WindDirectionCardinal.SOUTH_SOUTHWEST};i.normalizeCardinal=e=>a[e]||e},262453,352711,e=>{"use strict";var t=e.i(546446),i=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(i.preciseGeocodeAtom)}],262453);var r=e.i(902875),a=e.i(247865),n=e.i(725287),o=e.i(726249),I=e.i(553329),_=e.i(695881),E=e.i(88349);let l=(0,_.createLogger)("useRequestPreciseLocation");var N=e.i(942400),s=e.i(520938),R=e.i(671525),u=e.i(426606),A=e.i(747961);let c=(0,a.forwardRef)(({title:e,titleId:t,desc:i,descId:a,...n},o)=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":t,"aria-describedby":a,...n,children:[i?(0,r.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,r.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,r.jsx)("title",{id:t,children:e}):null,(0,r.jsx)("g",{fill:"currentColor",children:(0,r.jsx)("path",{d:"M15 14.295 1.705 1 1 1.705l4 4L1.33 7.03a.5.5 0 0 0-.323.467.5.5 0 0 0 .323.468l4.8 1.92 1.92 4.8A.5.5 0 0 0 8.5 15a.5.5 0 0 0 .46-.33L10.3 11l4 4zm-6.522-1.197L6.885 9.115 2.902 7.522 4.335 7l1.435-.5 3.73 3.73-.5 1.435zM7.845 5.725l3.82-1.39-1.39 3.82.78.78L12.97 3.67a.499.499 0 0 0-.64-.64L7.065 4.945z"})})]})),d=a.default.forwardRef((e,t)=>(0,r.jsx)(A.BaseIcon,{ref:t,icon:c,...e}));d.displayName="CurrentLocationLost",e.i(807079);var T=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:_}=function(){let[e,r]=(0,a.useState)("idle"),[n,_]=(0,a.useState)(void 0),N=(0,t.useSetAtom)(i.preciseGeocodeAtom),s=(0,a.useRef)(!1);return{status:e,geocode:n,request:(0,a.useCallback)(async()=>{if(s.current)return{status:"requesting",geocode:void 0};s.current=!0,r("requesting");try{let e;if(navigator.permissions){let{data:t,error:i}=await (0,I.tryCatch)(navigator.permissions.query({name:"geolocation"}));i?l.error("Permissions API query failed",i):e=t?.state}if("denied"===e)return r("denied"),{status:"denied",geocode:void 0};let t=await (0,E.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,o.formatGeocode)(`${t.latitude},${t.longitude}`);return _(e),N(e),r("granted"),{status:"granted",geocode:e}}return r("error"),{status:"error",geocode:void 0}}finally{s.current=!1}},[N]),reset:(0,a.useCallback)(()=>{r("idle"),_(void 0)},[])}}(),{navigate:A}=(0,R.usePageNavigation)(),c=(0,n.useParams)(),S=(0,n.usePathname)(),L=(0,N.usePageLocale)(),D=c?.locId,C=c?.canonicalLocation,O=(0,a.useRef)(e);return O.current=e,(0,a.useCallback)(async()=>{let{status:e,geocode:t}=await _();if("denied"===e){let e=O.current;(0,T.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,r.jsx)(d,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,s.isSwappableLocationPathname)({pathname:S,locId:D,canonicalLocation:C}))return;let{data:i}=await (0,I.tryCatch)((0,u.fetchWithoutCredentials)(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(L)}`).then(e=>e.ok?e.json():null)),a=i?.featureId,n=i?.placeId,o=i?.canonicalID,E=a??n;if(!E)return;let l=(0,s.swapLocationOnCurrentPage)({pathname:S,locId:D,canonicalLocation:C,locale:L,identifier:E,featureId:a,placeId:n,canonicalID:o});l&&A(l)},[_,A,D,C,S,L])}],352711)},217027,e=>{"use strict";var t=e.i(247865),i=e.i(546446),r=e.i(650130);e.i(304158);var a=e.i(485737),n=e.i(150137),o=e.i(64412);e.s(["useTravelerMode",0,function(){let{location:e}=(0,o.useLocation)(),I=(0,i.useAtomValue)(n.preciseGeocodeAtom),_=(0,i.useAtomValue)(a.geoipGeocode),E=I||_,{distanceInKm:l,distanceInMiles:N}=(0,t.useMemo)(()=>{if(!E||!e?.geocode)return{distanceInKm:null,distanceInMiles:null};let[t,i]=E.split(","),a=parseFloat(t??""),n=parseFloat(i??""),[o,I]=e.geocode.split(","),_=parseFloat(o??""),l=parseFloat(I??"");if(isNaN(a)||isNaN(n)||isNaN(_)||isNaN(l))return{distanceInKm:null,distanceInMiles:null};let N=(0,r.calculateDistance)(a,n,_,l);return{distanceInKm:N,distanceInMiles:.621371*N}},[E,e?.geocode]);return{isTravelerMode:null!==N&&N>=75,isLocalMode:null!==N&&N{"use strict";var t=e.i(304116),i=e.i(388706),r=e.i(258990);function a(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return i.CANONICAL_PAGE_TYPES.includes(t)?t:void 0}e.s(["LOC_ID_SEGMENT",0,"/l/","isSwappableLocationPathname",0,function({pathname:e,locId:t}){return!!t||void 0!==a(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:i,locale:n,identifier:o,featureId:I,placeId:_,canonicalID:E,skipCanonical:l}){if(i){let t=(0,r.decodeLocId)(i);return e.replace(i,t).replace(t,o)}let N=a(e);if(N)return(0,t.buildLocationPageHref)({pageType:N,locale:n,canonicalID:E,featureId:I,placeId:_,skipCanonical:l});let s=e.indexOf("/l/");if(-1!==s){let t=e.slice(0,s+3);return`${t}${o}`}return null}])},267538,e=>{e.q("/_next/static/immutable/media/weather-bg-sprite.32wix_aaq3qmi.jpg")},425912,e=>{e.q("/_next/static/immutable/media/weather-bg-sprite.2ol3vhh5gt8dk.webp")},180193,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(617874);let a=(0,i.memo)(({className:e,unitsClassName:i,units:a,value:n,degreeSymbolClass:o,unitOnly:I})=>{let _=null!=n,E=a?(0,r.unitsSystemByCode)(a):null,l=E?.temp,N=Number.isFinite(n)&&Math.round(n);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:_||!_&&I?(0,t.jsxs)(t.Fragment,{children:[_&&N,(0,t.jsx)("span",{className:o,children:"°"}),l&&(0,t.jsx)("span",{className:i,children:l})]}):"--"})});e.s(["Temperature",0,a])}]);