(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:n="Remove your adblocker.",fetch:a,refresh:o,getCustomAccountInfo:I}){let[_,E]=(0,i.useState)(""),[l,s]=(0,i.useState)(!1),[N,u]=(0,i.useState)(!1),[R,c]=(0,i.useState)(!1),A=(0,i.useRef)([]);(0,i.useEffect)(()=>{e.id!==A.current[0]&&(A.current=[e.id],e.transactIDs&&A.current.push(...e.transactIDs))},[e.id,e.transactIDs]);let d=(0,i.useCallback)(()=>{try{a("/?adm_get_token=1").then(e=>{e.ok&&o()}).catch(()=>{E(r)})}catch{E(r)}},[a,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(n),s(!0)):c(!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)||N||(E(n),s(!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 c(!0);let r=!1;for(let e of t)i.includes(e)&&(r=!0);r?c(!0):(E(n),s(!0))}else E(n),s(!0)}})}}))},[]),(0,i.useEffect)(()=>{R&&(c(!1),d())},[R,d]),(0,i.useEffect)(()=>{N||!l||(u(!0),T.admiral("targeting","force",{candidateIDs:A.current}))},[N,l,A,T]),(0,t.jsxs)("div",{children:[_||null," "]})}])},590238,e=>{"use strict";var t=e.i(537989);e.i(609717);var i=e.i(950771),r=e.i(695203),n=e.i(604323),a=e.i(797770),o=e.i(513539),I=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,I.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[i.pageLocaleAtom,e.pageLocale],[r.deviceClassAtom,e.deviceClass],[n.metricsArticleDataAtom,e.metricsArticleData],[a.adsMetricsUnitAndZoneAtom,e.adsMetricsUnitAndZone??"non_monetized"],[o.layoutStateAtom,e.layoutState??null],[o.activeEventAtom,e.activeEvent??null]]),null)])},855602,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(1567),n=e.i(782552),a=e.i(551699);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:o,moduleKey:I,variant:_="frontend",children:E})=>{let l=(0,r.useTrackModuleViewed)(),s=(0,n.useTrackModuleViewed)(),N="admin"===_,u=(0,i.useCallback)(()=>{l({moduleId:e,modulePosition:o}),s({moduleId:e,modulePosition:o})},[l,s,e,o]),R=(0,i.useRef)(null),[c,A]=(0,i.useState)([]),d=(0,i.useCallback)(()=>{let e=R.current?Array.from(R.current.children):[];A(t=>t.length===e.length&&t.every((t,i)=>t===e[i])?t:e)},[]);return((0,i.useEffect)(()=>{let e=R.current;if(!e||(d(),"u"t.disconnect()},[d,N]),(0,a.useFullVisibilityOnce)(u,{targets:c,disabled:N}),N)?(0,t.jsx)(t.Fragment,{children:E}):(0,t.jsx)("div",{ref:R,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,n=[0,.25,.5,.75,1],a=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),s=(0,t.useRef)(null),N=(0,t.useRef)(!1),u=(0,t.useRef)(e);(0,t.useEffect)(()=>{u.current=e},[e]),(0,t.useEffect)(()=>{if(_||E||N.current||!i.default||0===o.length)return;let e=new Map,t=()=>{s.current&&(clearTimeout(s.current),s.current=null)},r=()=>{s.current=null,N.current||(N.current=!0,u.current(),l(!0))},R=new IntersectionObserver(i=>{let n;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||!a(e)||t.width=0&&e.bottom=t.height,n=e.left>=0&&e.right=t.width;return(i||r)&&(n||o)})(0===(n=[...e.values()].filter(a)).length?null:n.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)?s.current||N.current||(s.current=setTimeout(r,I)):t()},{threshold:n});return o.forEach(e=>R.observe(e)),()=>{t(),R.disconnect()}},[o,_,E,I])}])},1567,782552,e=>{"use strict";var t=e.i(947118),i=e.i(737801),r=e.i(546446),n=e.i(513539),a=e.i(247865);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",o=(0,t.useIsInitialized)(),I=(0,i.useEventAttributes)(),_=(0,r.useAtomValue)(n.layoutStateAtom);return(0,a.useCallback)(({moduleId:t,modulePosition:i})=>{if(!o)return void console.warn("MParticle is not initialized");let r={...I,moduleId:t,modulePosition:String(i),layoutState:_};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r),console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[I,o,_])}],1567);var o=e.i(725287),I=e.i(540768),_=e.i(682142),E=e.i(782937),l=e.i(695881),s=e.i(333350),N=e.i(64412),u=e.i(950771),R=e.i(537989),c=e.i(695203),A=e.i(158662),d=e.i(358273),T=e.i(122124),S=e.i(777638),D=e.i(727365),L=e.i(896363),O=e.i(924776),C=e.i(409628),f=e.i(605781);let G=(0,l.createLogger)("useTrackModuleViewed"),W=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 h(e){(0,f.trackModuleViewed)(e),G.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}e.s(["useTrackModuleViewed",0,()=>{let e=(0,o.usePathname)(),t=(0,r.useAtomValue)(R.pageIdAtom),i=(0,r.useAtomValue)(u.pageLocaleAtom),l=(0,r.useAtomValue)(c.deviceClassAtom),f=(0,r.useAtomValue)(n.layoutStateAtom),G=(0,r.useAtomValue)(A.experimentJoinListAtom),{location:m}=(0,N.useLocation)(),p=(0,O.useIsHightouchReady)(),M=(0,a.useCallback)(({moduleId:r,modulePosition:n})=>{let a=(0,_.getCICookie)(),o=a?.["TWC-GeoIP-Country"]??(0,I.getCookie)("twc-location-country"),s=a?.["TWC-GeoIP-Region"]??(0,I.getCookie)("twc-location-region"),N=a?.["TWC-Privacy"]??(0,I.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",R=window.DprSdk?.getCcpaSaleOptInString()??"",c=window.navigator?.globalPrivacyControl??!1,A=u?.includes("functional-technology")??!1,O=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,g=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,h=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),p=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),M=navigator?.cookieEnabled??!1,y=(0,I.getCookie)("partner")||"",w=(0,E.getPartnerByPattern)(y)??y,v=(0,d.getMetricsSession)(),Y=v?.sessionId||"",F=new Date(v?.sessionStartTime||0).toISOString(),Z=new Date,b=Z.getHours(),P=C.WEEK_DAYS[Z.getDay()]??"",U="article"===t||"video"===t?(0,T.stripLastPartOfSlug)(e??""):(0,T.getAnonymizedPath)(e??""),V=(0,D.normalizeWlocType)(m?.type),k=m?.featureSource??null;return{moduleId:r,modulePosition:String(n),layoutState:f??void 0,pageId:t??"",url:U,referrer:document.referrer,locale:i,deviceClass:l,partner:w,sessionId:Y,sessionStartTime:F,siteMode:"normal",dayOfWeek:P,hourOfDay:b,regime:N??"",cookiesEnabled:M,gpcSignalOptOut:c,functionalTechnologies:A,geographicallyRelevantAds:O,interestBasedAds:g,priv:u,privProducts:R,saleOfDataAuthorization:h,sensitiveDataAuthorization:p,campaign:(0,S.getCampaign)(),experimentJoinList:G,weatherMode:"normal",physicalCountry:o??"",physicalState:s??"",wlocCity:m?.city??null,wlocCountry:m?.countryCode??null,wlocState:m?.adminDistrictCode??null,wlocDMA:m?.dmaCd??null,wlocId:m?.placeId??null,wlocFeatureId:m?.featureId??null,wlocFeatureSource:null!=k&&H.has(k)?k:void 0,wlocTags:m?.tags?.length?(0,L.parseArrayToString)(m.tags):null,wlocType:null!==V&&W.has(V)?V:void 0,appVersion:"292b8a53c066c9d4a278830c85aa0c17db4ab2e9".slice(0,10)}},[e,t,i,l,f,G,m]);return(0,a.useEffect)(()=>{if(!p||0===g.length)return;let e=g;g=[],e.forEach(h)},[p]),(0,a.useCallback)(e=>{if(!s.default)return;let t=M(e);p?h(t):g.push(t)},[p,M])}],782552)},650130,(e,t,i)=>{"use strict";function r(e){return Math.PI/180*e}function n(e,t,i,n){if(isNaN(e)||isNaN(t)||isNaN(i)||isNaN(n))return NaN;if(e===i&&t===n)return 0;let a=r(i-e),o=r(n-t),I=Math.sin(a/2)*Math.sin(a/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 a(e,t,i){let r=-90,n=90,a=-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),n=e.r(678651),a=e.r(414655),o=e.r(861160),I=e.r(349262);async function _(e){let t=(0,r.getCurrentObservationsUrlConfig)(e),i=(0,n.urlFrom)(t),_=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),E=await (0,a.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";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.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:i,units:r,language:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:i,units:r,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,i)=>{"use strict";var r,n,a,o,I,_,E,l,s,N,u,R,c,A,d,T,S,D,L,O;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,(u=r||(i.Units=r={})).IMPERIAL="e",u.METRIC="m",u.HYBRID="h",(R=n||(i.ForecastDuration=n={})).THREE_DAY="3day",R.FIVE_DAY="5day",R.SEVEN_DAY="7day",R.TEN_DAY="10day",R.FIFTEEN_DAY="15day",(c=a||(i.HourlyForecastDuration=a={})).SIX_HOUR="6hour",c.TWELVE_HOUR="12hour",c.ONE_DAY="1day",c.TWO_DAY="2day",c.THREE_DAY="3day",c.TEN_DAY="10day",c.FIFTEEN_DAY="15day",(A=o||(i.DayOrNight=o={})).DAY="D",A.NIGHT="N",A.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",(D=l||(i.CloudCoverPhrase=l={})).CLEAR="Clear",D.PARTLY_CLOUDY="Partly Cloudy",D.MOSTLY_CLOUDY="Mostly Cloudy",D.CLOUDY="Cloudy",(L=s||(i.IconCode=s={}))[L.TORNADO=0]="TORNADO",L[L.TROPICAL_STORM=1]="TROPICAL_STORM",L[L.HURRICANE=2]="HURRICANE",L[L.STRONG_STORMS=3]="STRONG_STORMS",L[L.THUNDERSTORMS=4]="THUNDERSTORMS",L[L.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",L[L.RAIN_SLEET=6]="RAIN_SLEET",L[L.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",L[L.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",L[L.DRIZZLE=9]="DRIZZLE",L[L.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",L[L.SHOWERS=11]="SHOWERS",L[L.RAIN=12]="RAIN",L[L.FLURRIES=13]="FLURRIES",L[L.SNOW_SHOWERS=14]="SNOW_SHOWERS",L[L.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",L[L.SNOW=16]="SNOW",L[L.HAIL=17]="HAIL",L[L.SLEET=18]="SLEET",L[L.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",L[L.FOGGY=20]="FOGGY",L[L.HAZE=21]="HAZE",L[L.SMOKE=22]="SMOKE",L[L.BREEZY=23]="BREEZY",L[L.WINDY=24]="WINDY",L[L.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",L[L.CLOUDY=26]="CLOUDY",L[L.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",L[L.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",L[L.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",L[L.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",L[L.CLEAR_NIGHT=31]="CLEAR_NIGHT",L[L.SUNNY=32]="SUNNY",L[L.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",L[L.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",L[L.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",L[L.SUNNY_ALT=36]="SUNNY_ALT",L[L.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",L[L.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",L[L.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",L[L.HEAVY_RAIN=40]="HEAVY_RAIN",L[L.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",L[L.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",L[L.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",L[L.NA=44]="NA",L[L.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",L[L.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",L[L.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(O=N||(i.IconCodeExtended=N={}))[O.STRONG_STORMS=300]="STRONG_STORMS",O[O.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",O[O.FREEZING_RAIN=1e3]="FREEZING_RAIN",O[O.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",O[O.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",O[O.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",O[O.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",O[O.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",O[O.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",O[O.SLEET=1800]="SLEET",O[O.LIGHT_SLEET=1801]="LIGHT_SLEET",O[O.SLEET_WIND=1810]="SLEET_WIND",O[O.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",O[O.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",O[O.HEAVY_SNOW=4200]="HEAVY_SNOW",O[O.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",O[O.BLIZZARD=4300]="BLIZZARD",O[O.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",O[O.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",O[O.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",O[O.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",O[O.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",O[O.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",O[O.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",O[O.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",O[O.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",O[O.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",O[O.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",O[O.THUNDER_SNOW=5600]="THUNDER_SNOW",O[O.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",O[O.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",O[O.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",O[O.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",O[O.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",O[O.AM_RAIN_ICE=6503]="AM_RAIN_ICE",O[O.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",O[O.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",O[O.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",O[O.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",O[O.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",O[O.ICE_EARLY=6600]="ICE_EARLY",O[O.AM_ICE=6603]="AM_ICE",O[O.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",O[O.AM_ICE_WIND=6613]="AM_ICE_WIND",O[O.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",O[O.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",O[O.PM_RAIN_ICE=7503]="PM_RAIN_ICE",O[O.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",O[O.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",O[O.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",O[O.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",O[O.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",O[O.ICE_LATE=7600]="ICE_LATE",O[O.PM_ICE=7603]="PM_ICE",O[O.ICE_WIND_LATE=7610]="ICE_WIND_LATE",O[O.PM_ICE_WIND=7613]="PM_ICE_WIND",O[O.RAIN_TO_ICE=8100]="RAIN_TO_ICE",O[O.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",O[O.ICE_TO_RAIN=8500]="ICE_TO_RAIN",O[O.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),n={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=>n[e]||e},853686,e=>{"use strict";var t=e.i(902875),i=e.i(333350),r=e.i(283366);let n=["cw12138"],a=["cw12648"];function o({flagKey:e,requireReachableFold:t=!0}){let n=i.default?function(e,t){let i=function(e){try{let t=window.localStorage.getItem(`amp-exp-$default_instance-${"client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV".slice(-6)}`);if(!t)return;let i=JSON.parse(t);if(!I(i))return;let r=i[e];if(!I(r)||!r.expKey||!r.key&&!r.value)return;return r}catch{return}}(e);if(i&&(!t||function(e){let t=window.__HeliosConfig?.slotsConfig;if(!t)return!1;let i=!1,r=!1;for(let a of Object.values(t)){let t=a?.modules?.refresh?.bidMode;if("atf"!==t&&"btf"!==t)continue;i=!0;let o=I(e)?e[t]:void 0;if(void 0!==o){var n;I(o)&&"number"==typeof(n=o.interval)&&Number.isFinite(n)&&n>=1e4&&n(0,t.jsx)(o,{flagKey:e},e)),a.map(e=>(0,t.jsx)(o,{flagKey:e,requireReachableFold:!1},e))]})}],853686)},262453,214008,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(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let i=(0,r.locationDedupKey)(e);return!!i&&i===(0,r.locationDedupKey)(t)}],214008);var n=e.i(902875),a=e.i(247865),o=e.i(725287),I=e.i(553329),_=e.i(695881),E=e.i(88349);let l=(0,_.createLogger)("useRequestPreciseLocation");var s=e.i(942400),N=e.i(520938),u=e.i(671525),R=e.i(426606),c=e.i(747961);let A=(0,a.forwardRef)(({title:e,titleId:t,desc:i,descId:r,...a},o)=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":t,"aria-describedby":r,...a,children:[i?(0,n.jsx)("desc",{id:r,children:i}):null,void 0===e?(0,n.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,n.jsx)("title",{id:t,children:e}):null,(0,n.jsx)("g",{fill:"currentColor",children:(0,n.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,n.jsx)(c.BaseIcon,{ref:t,icon:A,...e}));d.displayName="CurrentLocationLost",e.i(807079);var T=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:_}=function(){let[e,n]=(0,a.useState)("idle"),[o,_]=(0,a.useState)(void 0),s=(0,t.useSetAtom)(i.preciseGeocodeAtom),N=(0,a.useRef)(!1);return{status:e,geocode:o,request:(0,a.useCallback)(async()=>{if(N.current)return{status:"requesting",geocode:void 0};N.current=!0,n("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 n("denied"),{status:"denied",geocode:void 0};let t=await (0,E.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,r.formatGeocode)(`${t.latitude},${t.longitude}`);return _(e),s(e),n("granted"),{status:"granted",geocode:e}}return n("error"),{status:"error",geocode:void 0}}finally{N.current=!1}},[s]),reset:(0,a.useCallback)(()=>{n("idle"),_(void 0)},[])}}(),{navigate:c}=(0,u.usePageNavigation)(),A=(0,o.useParams)(),S=(0,o.usePathname)(),D=(0,s.usePageLocale)(),L=A?.locId,O=A?.canonicalLocation,C=(0,a.useRef)(e);return C.current=e,(0,a.useCallback)(async()=>{let{status:e,geocode:t}=await _();if("denied"===e){let e=C.current;(0,T.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,n.jsx)(d,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,N.isSwappableLocationPathname)({pathname:S,locId:L,canonicalLocation:O}))return;let{data:i}=await (0,I.tryCatch)((0,R.fetchWithoutCredentials)(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(D)}`).then(e=>e.ok?e.json():null)),r=i?.featureId,a=i?.placeId,o=i?.canonicalID,E=r??a;if(!E)return;let l=(0,N.swapLocationOnCurrentPage)({pathname:S,locId:L,canonicalLocation:O,locale:D,identifier:E,featureId:r,placeId:a,canonicalID:o});l&&c(l)},[_,c,L,O,S,D])}],352711)},217027,e=>{"use strict";var t=e.i(247865),i=e.i(546446),r=e.i(650130);e.i(304158);var n=e.i(485737),a=e.i(150137),o=e.i(64412);e.s(["useTravelerMode",0,function(){let{location:e}=(0,o.useLocation)(),I=(0,i.useAtomValue)(a.preciseGeocodeAtom),_=(0,i.useAtomValue)(n.geoipGeocode),E=I||_,{distanceInKm:l,distanceInMiles:s}=(0,t.useMemo)(()=>{if(!E||!e?.geocode)return{distanceInKm:null,distanceInMiles:null};let[t,i]=E.split(","),n=parseFloat(t??""),a=parseFloat(i??""),[o,I]=e.geocode.split(","),_=parseFloat(o??""),l=parseFloat(I??"");if(isNaN(n)||isNaN(a)||isNaN(_)||isNaN(l))return{distanceInKm:null,distanceInMiles:null};let s=(0,r.calculateDistance)(n,a,_,l);return{distanceInKm:s,distanceInMiles:.621371*s}},[E,e?.geocode]);return{isTravelerMode:null!==s&&s>=75,isLocalMode:null!==s&&s{"use strict";var t=e.i(304116),i=e.i(388706),r=e.i(258990);function n(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!==n(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:i,locale:a,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 s=n(e);if(s)return(0,t.buildLocationPageHref)({pageType:s,locale:a,canonicalID:E,featureId:I,placeId:_,skipCanonical:l});let N=e.indexOf("/l/");if(-1!==N){let t=e.slice(0,N+3);return`${t}${o}`}return null}])},180193,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(617874);let n=(0,i.memo)(({className:e,unitsClassName:i,units:n,value:a,degreeSymbolClass:o,unitOnly:I})=>{let _=null!=a,E=n?(0,r.unitsSystemByCode)(n):null,l=E?.temp,s=Number.isFinite(a)&&Math.round(a);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:_||!_&&I?(0,t.jsxs)(t.Fragment,{children:[_&&s,(0,t.jsx)("span",{className:o,children:"°"}),l&&(0,t.jsx)("span",{className:i,children:l})]}):"--"})});e.s(["Temperature",0,n])}]);