(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,995181,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(546446),a=e.i(730921),n=e.i(581014),l=e.i(965586),o=e.i(632137),s=e.i(226602),I=e.i(611540);let c=(0,e.i(981030).atom)(!1),u="tou-notice-dismissed",_=new Date("2027-04-30");var d=e.i(498076),E=e.i(725296),N=e.i(1567),R=e.i(947118),A=e.i(782552);let T=[E.Regime.GDPR,E.Regime.LGPD,E.Regime.EXEMPT,E.Regime.LATAM_CO,E.Regime.LATAM_DO,E.Regime.LATAM_PE,E.Regime.USA,E.Regime.USA_CCPA,E.Regime.USA_CO,E.Regime.USA_CT,E.Regime.USA_VA,E.Regime.CA,E.Regime.TR_KVKK,E.Regime.KR,E.Regime.JP,E.Regime.CA_QC],S=new Date("2026-05-30"),g=({regime:e,className:E})=>{let g=(0,n.useTranslations)("TouNotice"),h=(0,a.useLocale)(),C=(0,I.interpolateUrl)(I.URLS.termsOfUse,{locale:h}),m=(0,I.interpolateUrl)(I.URLS.privacyPolicy,{locale:h}),[D,L]=(0,r.useAtom)(c),f=(0,i.useRef)(null),p=(0,i.useRef)(!1),y=(0,d.useIsMobile)(),O=(0,R.useIsInitialized)(),w=(0,N.useTrackModuleViewed)(),v=(0,A.useTrackModuleViewed)(),b=(0,i.useRef)(!1),[H,W]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=(0,l.getCookie)("partner")?.toString().toLowerCase();W(e?.includes("samsung")??!1)},[]);let G=T.includes(e),M=new Date{G&&M&&((0,l.getCookie)(u)||L(!0))},[G,M,L]),(0,i.useEffect)(()=>{D&&G&&M&&O&&!p.current&&(p.current=!0,w({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,O,w]),(0,i.useEffect)(()=>{D&&G&&M&&!b.current&&(b.current=!0,v({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,v]);let x=(0,i.useCallback)(()=>{(0,l.setCookie)(u,"true",{expires:_}),L(!1)},[L]);if((0,i.useEffect)(()=>{if(!D||y)return;let e=e=>{f.current&&!f.current.contains(e.target)&&x()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[D,y,x]),!D||!G||!M)return null;let P=g("heading"),k="text-[#252422] underline hover:text-[#252422]/80",Y=g.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:k,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:k,children:e})}),U=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:P})}),(0,t.jsx)("button",{onClick:x,className:"ml-2 flex h-6 w-6 items-center justify-center rounded-full text-[#252422] hover:bg-[#252422]/10 focus-visible:ring-2 focus-visible:ring-[#252422]/40 focus-visible:outline-none","aria-label":"Dismiss notice",children:(0,t.jsx)(s.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:Y})]});return y?(0,t.jsx)("div",{className:(0,o.cn)(H?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",E),"aria-label":"Privacy and Terms of Use Notice",children:U}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,o.cn)("relative",E),children:(0,t.jsx)("div",{ref:f,className:(0,o.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",H?"bg-white":"bg-[#CBDEF0]"),children:U})})};e.s(["PrivacyTOUNoticeClient",0,g,"default",0,g],995181)},247977,748315,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(581014),a=e.i(725287),n=e.i(611540),l=e.i(388706),o=e.i(304116),s=e.i(269153),I=e.i(457492),c=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:u,placeQuery:_,canonicalPath:d,canonicalID:E,locale:N,showHealthTabs:R}){let A=(0,r.useTranslations)("SidebarNavigation"),T=(0,a.usePathname)(),S=(0,s.useIsSamsungPartner)(),g=e?(0,c.decodeLocId)(e):e,{links:h,basePath:C}=(0,i.useMemo)(()=>{if(d&&!S){let e=g?`l/${g}`:void 0,t=R&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:A("today"),slug:"today"},{label:A("hourly"),slug:"hourbyhour"},{label:A("tenday"),slug:"tenday"},...e?[{label:A("monthly"),slug:"monthly",href:(0,n.interpolateUrl)(n.URLS.monthly,{locale:N,locId:g})}]:[],...t],basePath:d}}let e="en-US"===N?"/weather":`/${N}/weather`,t=g??"",i=_?`?${_}`:"",r=e=>`${(0,o.buildLocationPageHref)({pageType:e,locale:N,canonicalID:E,featureId:u,placeId:t,skipCanonical:S})}${i}`,a=R?[{label:"Allergies",slug:"allergy",href:r("allergy")},{label:"Air Quality",slug:"air-quality",href:r("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:r("cold-flu")}]:[];return{links:[{label:A("today"),slug:"today",href:r("today")},{label:A("hourly"),slug:"hourbyhour",href:r("hourbyhour")},{label:A("tenday"),slug:"tenday",href:r("tenday")},{label:A("monthly"),slug:"monthly",href:`${(0,n.interpolateUrl)(n.URLS.monthly,{locale:N,locId:u&&l.CANONICAL_PAGE_TYPES.includes("monthly")?u:t})}${i}`},...a],basePath:e}},[d,E,g,u,_,N,R,S,A]),m=(0,i.useMemo)(()=>{let e=T.replace(/\/day-\d+$/,"");if(e!==T){let e=h.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=h.findIndex(t=>{let{slug:i}=t,r=l.BASE_BY_PAGE[i];return!!r&&T.includes(`${r}byFeatureId/`)||T.includes(`/weather/${i}/`)||T.includes(`/forecast/${i}/`)||e.endsWith(`/${i}`)});return -1!==t?t:0},[T,h]);return(0,t.jsx)(I.SubnavigationUI,{links:h,basePath:C,activeIndex:m})}],247977);var u=e.i(293163),_=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,u.getPartner)()!==_.Partner.SAMSUNG}],748315)},345715,e=>{"use strict";var t=e.i(902875),i=e.i(581014),r=e.i(281687),a=e.i(457492),n=e.i(247977),l=e.i(748315);let o=["en-US"],s=(e,t)=>`/redir?id=autodetect&page=${e}&locale=${t}`;function I(){return(0,t.jsx)("div",{className:"relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)] md:rounded-[28px]","data-testid":"forecast-subnav-placeholder","aria-hidden":"true",children:(0,t.jsxs)("div",{className:"flex h-10 items-center gap-1 md:h-12",children:[(0,t.jsx)("span",{className:"h-8 w-16 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-14 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-18 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-20 animate-pulse rounded-full bg-gray-200"})]})})}e.s(["HomeForecastSubnav",0,function({locale:e}){let c=(0,i.useTranslations)("SidebarNavigation"),u=(0,r.useChromeLocation)(),_=u?.placeId;if(!_){if(!o.includes(e))return(0,t.jsx)(I,{});let i=[{label:c("today"),slug:"today",href:s("today",e)},{label:c("hourly"),slug:"hourbyhour",href:s("hourly",e)},{label:c("tenday"),slug:"tenday",href:s("tenday",e)},{label:c("monthly"),slug:"monthly",href:s("monthly",e)},{label:"Allergies",slug:"allergy",href:s("allergy",e)},{label:"Air Quality",slug:"air-quality",href:s("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:s("cold-flu",e)}];return(0,t.jsx)(a.SubnavigationUI,{links:i,basePath:"",activeIndex:0})}return(0,t.jsx)(n.ForecastSubnav,{placeId:_,featureId:u?.featureId,canonicalID:u?.canonicalID,locale:e,showHealthTabs:(0,l.canShowHealthTabs)(e)})},"HomeForecastSubnavPlaceholder",0,I])},806262,e=>{"use strict";e.i(247865);var t=e.i(546446);e.i(284007),e.i(981030);let i=new WeakMap;e.s(["useHydrateAtoms",0,function(e,r){var a;let n,l=(0,t.useStore)(r),o=(a=l,(n=i.get(a))||(n=new WeakSet,i.set(a,n)),n);for(let[t,...i]of e)(!o.has(t)||(null==r?void 0:r.dangerouslyForceHydrate))&&(o.add(t),l.set(t,...i))}])},797770,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 i=(0,t.atom)(null),r=(0,t.atom)(null);e.s(["activeEventAtom",0,r,"layoutStateAtom",0,i])},236433,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["pageAtomsPathnameAtom",0,t])},123590,333761,e=>{"use strict";var t=e.i(947118),i=e.i(737801),r=e.i(630986),a=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",n=(0,t.useIsInitialized)(),l=(0,i.useEventAttributes)(),o=(0,r.useCMSAttributes)();return(0,a.useCallback)(t=>{let i={createdDate:o?.createdDate||"",contentId:o?.contentId||"",publishDate:o?.publishDate||"",author:o?.author||"",collection:o?.collection||"",entitlements:o?.entitlements||"",provider:o?.provider||"",linkType:t.linkType,linkURL:t.linkURL,linkText:t.linkText||"",moduleId:t.moduleId||"",tagsKeyword:t.tagsKeyword??o?.tagsKeyword,...l,physicalCountry:l.physicalCountry||"",physicalState:l.physicalState||"",wlocCity:l.wlocCity||"",wlocCountry:l.wlocCountry||"",wlocState:l.wlocState||"",regime:l.regime||""};if(!n)return void console.warn("MParticle is not initialized");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,l,n])}],123590);var n=e.i(546446),l=e.i(540768),o=e.i(682142),s=e.i(782937),I=e.i(695881),c=e.i(333350),u=e.i(64412),_=e.i(950771),d=e.i(537989),E=e.i(695203),N=e.i(604323),R=e.i(358273),A=e.i(158662),T=e.i(777638),S=e.i(727365),g=e.i(896363),h=e.i(924776),C=e.i(409628),m=e.i(605781);let D=(0,I.createLogger)("useTrackContentLinkClick"),L=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),f=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,n.useAtomValue)(d.pageIdAtom),t=(0,n.useAtomValue)(_.pageLocaleAtom),i=(0,n.useAtomValue)(E.deviceClassAtom),r=(0,n.useAtomValue)(N.metricsArticleDataAtom),I=(0,n.useAtomValue)(A.experimentJoinListAtom),{location:p}=(0,u.useLocation)(),y=(0,h.useIsHightouchReady)(),O=(0,a.useCallback)(a=>{let n=(0,o.getCICookie)(),c=n?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),u=n?.["TWC-GeoIP-Region"]??(0,l.getCookie)("twc-location-region"),_=n?.["TWC-Privacy"]??(0,l.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",E=window.DprSdk?.getCcpaSaleOptInString()??"",N=window.navigator?.globalPrivacyControl??!1,A=d?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,m=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,D=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),y=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),O=navigator?.cookieEnabled??!1,w=(0,l.getCookie)("partner")||"",v=(0,s.getPartnerByPattern)(w)??w,b=(0,R.getMetricsSession)(),H=b?.sessionId||"",W=new Date(b?.sessionStartTime||0).toISOString(),G=new Date,M=G.getHours(),x=C.WEEK_DAYS[G.getDay()]??"",P=(0,S.normalizeWlocType)(p?.type),k=p?.featureSource??null;return{linkType:a.linkType,linkURL:a.linkURL,linkText:a.linkText||"",moduleId:a.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:r?.author||"",contentId:r?.contentId??null,createdDate:r?.createdDate??null,publishDate:r?.publishDate??null,collection:r?.collection??null,entitlements:r?.entitlements??null,nodeTypes:r?.nodeType??null,pageTemplate:r?.pageTemplate??null,premiumContent:r?.premiumContent!=null?String(r.premiumContent):null,provider:r?.provider??null,tagsGeo:r?.tagsGeo??null,tagsKeyword:a.tagsKeyword??r?.tagsKeyword??null,tagsStorm:r?.tagsStorm??null,title:r?.title??null,seoTitle:r?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:i,partner:v,sessionId:H,sessionStartTime:W,siteMode:"normal",dayOfWeek:x,hourOfDay:M,regime:_??"",cookiesEnabled:O,gpcSignalOptOut:N,functionalTechnologies:A,geographicallyRelevantAds:h,interestBasedAds:m,priv:d,privProducts:E,saleOfData:D,saleOfDataAuthorization:D,sensitiveDataAuthorization:y,campaign:(0,T.getCampaign)(),linkReferral:(0,T.getLinkReferral)()??void 0,experimentJoinList:I,weatherMode:"normal",physicalCountry:c??"",physicalState:u??"",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!=k&&f.has(k)?k:void 0,wlocTags:p?.tags?.length?(0,g.parseArrayToString)(p.tags):null,wlocType:null!==P&&L.has(P)?P:void 0,samsungVersion:(0,T.getSamsungVersion)(),appVersion:"3d9f6c2d34c79fe983bdfcc8d3d447b1317ef888".slice(0,10)}},[e,t,i,r,I,p]);return(0,a.useCallback)(e=>{if(c.default){if(!y)return void D.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,m.trackContentLinkClick)(O(e)),D.info('Hightouch: Event "content-link-click" tracked')}catch(e){D.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[y,O])}],333761)},1567,782552,e=>{"use strict";var t=e.i(947118),i=e.i(737801),r=e.i(546446),a=e.i(513539),n=e.i(247865);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",l=(0,t.useIsInitialized)(),o=(0,i.useEventAttributes)(),s=(0,r.useAtomValue)(a.layoutStateAtom);return(0,n.useCallback)(({moduleId:t,modulePosition:i})=>{if(!l)return void console.warn("MParticle is not initialized");let r={...o,moduleId:t,modulePosition:String(i),layoutState:s};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)}},[o,l,s])}],1567);var l=e.i(725287),o=e.i(540768),s=e.i(682142),I=e.i(782937),c=e.i(695881),u=e.i(333350),_=e.i(64412),d=e.i(950771),E=e.i(537989),N=e.i(695203),R=e.i(158662),A=e.i(358273),T=e.i(122124),S=e.i(777638),g=e.i(727365),h=e.i(896363),C=e.i(924776),m=e.i(409628),D=e.i(605781);let L=(0,c.createLogger)("useTrackModuleViewed"),f=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),p=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),y=[];function O(e){try{(0,D.trackModuleViewed)(e),L.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){L.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["useTrackModuleViewed",0,()=>{let e=(0,l.usePathname)(),t=(0,r.useAtomValue)(E.pageIdAtom),i=(0,r.useAtomValue)(d.pageLocaleAtom),c=(0,r.useAtomValue)(N.deviceClassAtom),D=(0,r.useAtomValue)(a.layoutStateAtom),L=(0,r.useAtomValue)(R.experimentJoinListAtom),{location:w}=(0,_.useLocation)(),v=(0,C.useIsHightouchReady)(),b=(0,n.useCallback)(({moduleId:r,modulePosition:a})=>{let n=(0,s.getCICookie)(),l=n?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),u=n?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),_=n?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",E=window.DprSdk?.getCcpaSaleOptInString()??"",N=window.navigator?.globalPrivacyControl??!1,R=d?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,O=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),v=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),b=navigator?.cookieEnabled??!1,H=(0,o.getCookie)("partner")||"",W=(0,I.getPartnerByPattern)(H)??H,G=(0,A.getMetricsSession)(),M=G?.sessionId||"",x=new Date(G?.sessionStartTime||0).toISOString(),P=new Date,k=P.getHours(),Y=m.WEEK_DAYS[P.getDay()]??"",U="article"===t||"video"===t?(0,T.stripLastPartOfSlug)(e??""):(0,T.getAnonymizedPath)(e??""),F=(0,g.normalizeWlocType)(w?.type),Z=w?.featureSource??null;return{moduleId:r,modulePosition:String(a),layoutState:D??void 0,pageId:t??"",url:U,referrer:document.referrer,locale:i,deviceClass:c,partner:W,sessionId:M,sessionStartTime:x,siteMode:"normal",dayOfWeek:Y,hourOfDay:k,regime:_??"",cookiesEnabled:b,gpcSignalOptOut:N,functionalTechnologies:R,geographicallyRelevantAds:C,interestBasedAds:y,priv:d,privProducts:E,saleOfDataAuthorization:O,sensitiveDataAuthorization:v,campaign:(0,S.getCampaign)(),experimentJoinList:L,weatherMode:"normal",physicalCountry:l??"",physicalState:u??"",wlocCity:w?.city??null,wlocCountry:w?.countryCode??null,wlocState:w?.adminDistrictCode??null,wlocDMA:w?.dmaCd??null,wlocId:w?.placeId??null,wlocFeatureId:w?.featureId??null,wlocFeatureSource:null!=Z&&p.has(Z)?Z:void 0,wlocTags:w?.tags?.length?(0,h.parseArrayToString)(w.tags):null,wlocType:null!==F&&f.has(F)?F:void 0,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"3d9f6c2d34c79fe983bdfcc8d3d447b1317ef888".slice(0,10)}},[e,t,i,c,D,L,w]);return(0,n.useEffect)(()=>{if(!v||0===y.length)return;let e=y;y=[],e.forEach(O)},[v]),(0,n.useCallback)(e=>{if(!u.default)return;let t=b(e);v?O(t):y.push(t)},[v,b])}],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),l=r(a-t),o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(r(e))*Math.cos(r(i))*Math.sin(l/2)*Math.sin(l/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371}function n(e,t,i){let r=-90,a=90,n=-180,l=180,o="",s=0,I=0,c=!0;for(;o.length=e?(I=(I=t?(I=(I{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCurrentObservations=s;let r=e.r(979777),a=e.r(678651),n=e.r(414655),l=e.r(861160),o=e.r(349262);async function s(e){let t=(0,r.getCurrentObservationsUrlConfig)(e),i=(0,a.urlFrom)(t),s=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),I=await (0,n.handleFetchResponse)(s);return{...I,pressureMeanSeaLevel:e.units===o.Units.IMPERIAL?I.pressureMeanSeaLevel/33.8639:I.pressureMeanSeaLevel,windDirectionCardinal:(0,l.normalizeCardinal)(I.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: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,l,o,s,I,c,u,_,d,E,N,R,A,T,S,g,h,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,(d=r||(i.Units=r={})).IMPERIAL="e",d.METRIC="m",d.HYBRID="h",(E=a||(i.ForecastDuration=a={})).THREE_DAY="3day",E.FIVE_DAY="5day",E.SEVEN_DAY="7day",E.TEN_DAY="10day",E.FIFTEEN_DAY="15day",(N=n||(i.HourlyForecastDuration=n={})).SIX_HOUR="6hour",N.TWELVE_HOUR="12hour",N.ONE_DAY="1day",N.TWO_DAY="2day",N.THREE_DAY="3day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(R=l||(i.DayOrNight=l={})).DAY="D",R.NIGHT="N",R.MISSING="X",(A=o||(i.WindDirectionCardinal=o={})).NORTH="N",A.NORTH_NORTHEAST="NNE",A.NORTHEAST="NE",A.EAST_NORTHEAST="ENE",A.EAST="E",A.EAST_SOUTHEAST="ESE",A.SOUTHEAST="SE",A.SOUTH_SOUTHEAST="SSE",A.SOUTH="S",A.SOUTH_SOUTHWEST="SSW",A.SOUTHWEST="SW",A.WEST_SOUTHWEST="WSW",A.WEST="W",A.WEST_NORTHWEST="WNW",A.NORTHWEST="NW",A.NORTH_NORTHWEST="NNW",A.CALM="CALM",(T=s||(i.UVDescription=s={})).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||(i.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",(g=c||(i.CloudCoverPhrase=c={})).CLEAR="Clear",g.PARTLY_CLOUDY="Partly Cloudy",g.MOSTLY_CLOUDY="Mostly Cloudy",g.CLOUDY="Cloudy",(h=u||(i.IconCode=u={}))[h.TORNADO=0]="TORNADO",h[h.TROPICAL_STORM=1]="TROPICAL_STORM",h[h.HURRICANE=2]="HURRICANE",h[h.STRONG_STORMS=3]="STRONG_STORMS",h[h.THUNDERSTORMS=4]="THUNDERSTORMS",h[h.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",h[h.RAIN_SLEET=6]="RAIN_SLEET",h[h.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",h[h.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",h[h.DRIZZLE=9]="DRIZZLE",h[h.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",h[h.SHOWERS=11]="SHOWERS",h[h.RAIN=12]="RAIN",h[h.FLURRIES=13]="FLURRIES",h[h.SNOW_SHOWERS=14]="SNOW_SHOWERS",h[h.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",h[h.SNOW=16]="SNOW",h[h.HAIL=17]="HAIL",h[h.SLEET=18]="SLEET",h[h.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",h[h.FOGGY=20]="FOGGY",h[h.HAZE=21]="HAZE",h[h.SMOKE=22]="SMOKE",h[h.BREEZY=23]="BREEZY",h[h.WINDY=24]="WINDY",h[h.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",h[h.CLOUDY=26]="CLOUDY",h[h.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",h[h.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",h[h.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",h[h.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",h[h.CLEAR_NIGHT=31]="CLEAR_NIGHT",h[h.SUNNY=32]="SUNNY",h[h.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",h[h.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",h[h.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",h[h.SUNNY_ALT=36]="SUNNY_ALT",h[h.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",h[h.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",h[h.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",h[h.HEAVY_RAIN=40]="HEAVY_RAIN",h[h.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",h[h.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",h[h.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",h[h.NA=44]="NA",h[h.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",h[h.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",h[h.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(C=_||(i.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",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},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),i=e.i(283366);e.s(["default",0,function(e,r){let a=(0,t.useExperimentContext)();return((0,i.useExposure)(e),a)?a.variant(e,r):r}])},47524,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let a=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":i,"aria-describedby":a,...n,children:[r?(0,t.jsx)("desc",{id:a,children:r}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:i,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"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:a,...e}));n.displayName="ChevronRight",e.s(["ChevronRight",0,n])},226602,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let a=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:a,...n},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":i,"aria-describedby":a,...n,children:[r?(0,t.jsx)("desc",{id:a,children:r}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Close"}):e?(0,t.jsx)("title",{id:i,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"})]})),n=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:a,...e}));n.displayName="Close",e.s(["Close",0,n])},671525,e=>{"use strict";var t=e.i(725287);let i=()=>{let e=(0,t.useRouter)();return{navigate:(t,i={})=>{let{mpa:r=!0,replace:a=!1}=i;r?a?window.location.replace(t):window.location.href=t:a?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:i=!0}=t;i?window.location.reload():e.refresh()},router:e}};e.s(["default",0,i,"usePageNavigation",0,i])},235577,e=>{"use strict";var t=e.i(902875),i=e.i(523084),r=e.i(47524),a=e.i(632137),n=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:l,hidden:o,size:s="default",variant:I="light",className:c}){let u="sm"===s,_=(0,a.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(n.Button,{type:"button",onClick:l,"aria-hidden":"true",tabIndex:-1,className:(0,a.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===I?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===I?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===I?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",o&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",o&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",o&&"pointer-events-none opacity-0",c),children:"left"===e?(0,t.jsx)(i.ChevronLeft,{className:_}):(0,t.jsx)(r.ChevronRight,{className:_})})}])},457492,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(632137),a=e.i(546446),n=e.i(663333),l=e.i(235577),o=e.i(315730),s=e.i(240058);let I=(0,r.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),c=e=>{let{activeIndex:i,index:a,link:n}=e,l=i===a,o=(0,r.cn)(I,{"bg-gray-100 text-blue-500":l});if(e.onSelect){let{onSelect:i}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>i(a,n),className:(0,r.cn)("cursor-pointer",o),"aria-current":l?"page":void 0,children:n.label})}let{basePath:c,mpa:u}=e,_=n.href??("/"===n.slug?c||"/":`${c}/${n.slug}`);return(0,t.jsx)(s.default,{href:_,mpa:u,className:o,"aria-current":l?"page":void 0,sourceModule:"subnavigation",children:n.label})},u=(0,i.memo)(e=>{let{links:i,activeIndex:s,className:I,constrained:u=!0}=e,_=(0,a.useAtomValue)(n.deviceClassAtom),{ref:d,showLeft:E,showRight:N,scrollLeft:R,scrollRight:A}=(0,o.useHorizontalScroll)({enabled:"mobile"!==_&&"tablet"!==_,scrollAmount:200,contentKey:i});return(0,t.jsxs)("div",{className:(0,r.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",I),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,r.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":E}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!E,onClick:R,direction:"left"}),(0,t.jsx)("div",{ref:d,className:(0,r.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:i.map((i,r)=>e.onSelect?(0,t.jsx)(c,{link:i,index:r,activeIndex:s,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(c,{link:i,index:r,activeIndex:s,basePath:e.basePath,mpa:e.mpa},`${i.label}_${i.slug}`))}),(0,t.jsx)("div",{className:(0,r.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":N}),"aria-hidden":"true"}),(0,t.jsx)(l.ScrollButton,{hidden:!N,onClick:A,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,i)=>e.label===t.links[i]?.label&&e.slug===t.links[i]?.slug&&e.href===t.links[i]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},315730,e=>{"use strict";var t=e.i(147732),i=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:r=200,contentKey:a}={}){let n=(0,i.useRef)(null),l=(0,i.useRef)(null),o=(0,i.useRef)(!1),[s,I]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),_=(0,i.useCallback)(()=>{let t=n.current;if(!t||!e){I(!1),u(!1);return}let{scrollLeft:i,scrollWidth:r,clientWidth:a}=t,l=Math.abs(i),s=l>2,c=l+a(0,t.debounce)(_,150),[_]),E=(0,i.useCallback)(()=>{null===l.current&&(l.current=requestAnimationFrame(()=>{_(),l.current=null}))},[_]);(0,i.useEffect)(()=>{let t=n.current;return t&&(o.current="rtl"===getComputedStyle(t).direction),_(),e&&(t?.addEventListener("scroll",E),window.addEventListener("resize",d)),()=>{null!==l.current&&cancelAnimationFrame(l.current),l.current=null,t?.removeEventListener("scroll",E),d.cancel(),window.removeEventListener("resize",d)}},[e,_,E,d,a]);let N=(0,i.useCallback)(()=>n.current?.scrollBy({left:-r,behavior:"smooth"}),[r]),R=(0,i.useCallback)(()=>n.current?.scrollBy({left:r,behavior:"smooth"}),[r]);return{ref:n,showLeft:s,showRight:c,scrollLeft:N,scrollRight:R}}])},674885,e=>{"use strict";var t=e.i(981030),i=e.i(617874),r=e.i(889753);let a=(0,t.atom)(e=>e(r.userPreferencesAtom)?.unit||i.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(a)===i.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(a)===i.UNIT_METRIC),o=(0,t.atom)(e=>e(a)===i.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,n,"isMetricUnitsAtom",0,l,"userUnitPreferenceAtom",0,a])},991511,e=>{"use strict";var t=e.i(247865),i=e.i(806262),r=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,i.useHydrateAtoms)(e);let a=(0,r.useStore)(),n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{for(let[e,t]of n.current)a.get(e)!==t&&a.set(e,t)})}])}]);