(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),c=e.i(611540);let u=(0,e.i(981030).atom)(!1),I="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)(),m=(0,c.interpolateUrl)(c.URLS.termsOfUse,{locale:h}),C=(0,c.interpolateUrl)(c.URLS.privacyPolicy,{locale:h}),[D,f]=(0,r.useAtom)(u),p=(0,i.useRef)(null),L=(0,i.useRef)(!1),y=(0,d.useIsMobile)(),O=(0,R.useIsInitialized)(),b=(0,N.useTrackModuleViewed)(),v=(0,A.useTrackModuleViewed)(),H=(0,i.useRef)(!1),[w,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)(I)||f(!0))},[G,M,f]),(0,i.useEffect)(()=>{D&&G&&M&&O&&!L.current&&(L.current=!0,b({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,O,b]),(0,i.useEffect)(()=>{D&&G&&M&&!H.current&&(H.current=!0,v({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[D,G,M,v]);let x=(0,i.useCallback)(()=>{(0,l.setCookie)(I,"true",{expires:_}),f(!1)},[f]);if((0,i.useEffect)(()=>{if(!D||y)return;let e=e=>{p.current&&!p.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:m,target:"_blank",rel:"noopener noreferrer",className:k,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:C,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)(w?"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:p,className:(0,o.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",w?"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),c=e.i(457492),u=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:I,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,u.decodeLocId)(e):e,{links:h,basePath:m}=(0,i.useMemo)(()=>{let e;if(d&&!S){let e=R?[{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"},...g?[{label:A("monthly"),slug:"monthly",href:(0,n.interpolateUrl)(n.URLS.monthly,{locale:N,locId:g})}]:[],...e],basePath:d}}let t="en-US"===N?"/weather":`/${N}/weather`,i=g??"",r=_?`?${_}`:"",a=e=>`${(0,o.buildLocationPageHref)({pageType:e,locale:N,canonicalID:E,featureId:I,placeId:i,skipCanonical:S})}${r}`,l=R?[{label:"Allergies",slug:"allergy",href:a("allergy")},{label:"Air Quality",slug:"air-quality",href:a("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:a("cold-flu")}]:[];return{links:[{label:A("today"),slug:"today",href:a("today")},{label:A("hourly"),slug:"hourbyhour",href:a("hourbyhour")},{label:A("tenday"),slug:"tenday",href:a("tenday")},{label:A("monthly"),slug:"monthly",href:`${(0,n.interpolateUrl)(n.URLS.monthly,{locale:N,locId:(e="monthly",i)})}${r}`},...l],basePath:t}},[d,E,g,I,_,N,R,S,A]),C=(0,i.useMemo)(()=>{let e=T.replace(/\/day-\d+$/,"");if(e!==T||T.includes("/byCanonicalPathDay/")){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(`${r}byCanonicalPath/`)||T.includes(`${r}byCanonicalPathDay/`))||T.includes(`/weather/${i}/`)||T.includes(`/forecast/${i}/`)||e.endsWith(`/${i}`)});return -1!==t?t:0},[T,h]);return(0,t.jsx)(c.SubnavigationUI,{links:h,basePath:m,activeIndex:C})}],247977);var I=e.i(293163),_=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,I.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),o=e.i(475823);let s=["en-US"];function c(){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 u=(0,i.useTranslations)("SidebarNavigation"),I=(0,r.useChromeLocation)(),_=I?.placeId;if(!_){if(!s.includes(e))return(0,t.jsx)(c,{});let i=[{label:u("today"),slug:"today",href:(0,o.redirHref)("today",e)},{label:u("hourly"),slug:"hourbyhour",href:(0,o.redirHref)("hourly",e)},{label:u("tenday"),slug:"tenday",href:(0,o.redirHref)("tenday",e)},{label:u("monthly"),slug:"monthly",href:(0,o.redirHref)("monthly",e)},{label:"Allergies",slug:"allergy",href:(0,o.redirHref)("allergy",e)},{label:"Air Quality",slug:"air-quality",href:(0,o.redirHref)("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:(0,o.redirHref)("cold-flu",e)}];return(0,t.jsx)(a.SubnavigationUI,{links:i,basePath:"",activeIndex:0})}return(0,t.jsx)(n.ForecastSubnav,{placeId:_,featureId:I?.featureId,canonicalID:I?.canonicalID,locale:e,showHealthTabs:(0,l.canShowHealthTabs)(e)})},"HomeForecastSubnavPlaceholder",0,c])},122124,e=>{"use strict";var t=e.i(388706);let i=Object.fromEntries(t.PAGE_TYPE_CONFIG.map(e=>[e.suffix,e.urlType])),r=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,a;let n,l,o,s,c,u=(n=e,l=e?.indexOf?.("?"),o=e?.indexOf?.("#"),l>-1?n=n.substring(0,l):o>-1&&(n=n.substring(0,o)),n);if(t=u,s=r.exec(t)?.groups,a=u=(c=s?.suffix?i[s.suffix]:void 0)?`${s?.locale??""}/${c}/l`:t,"/index.html"===(u=a?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===u||""===u)u="/";else{let e=u?.split("/")||[],t=e.length-1,i=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(i.match(/[A-Z]/)||i.match(/[0-9]/)||i.match(/[@#$%&!*:]/)||""===i)&&e.pop(),u=e.join("/")}return u},"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])},123590,333761,e=>{"use strict";var t=e.i(487709),i=e.i(737801),r=e.i(630986),a=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",n=(0,i.useEventAttributes)(),l=(0,r.useCMSAttributes)();return(0,a.useCallback)(i=>{let r={createdDate:l?.createdDate||"",contentId:l?.contentId||"",publishDate:l?.publishDate||"",author:l?.author||"",collection:l?.collection||"",entitlements:l?.entitlements||"",provider:l?.provider||"",linkType:i.linkType,linkURL:i.linkURL,linkText:i.linkText||"",moduleId:i.moduleId||"",tagsKeyword:i.tagsKeyword??l?.tagsKeyword,...n,physicalCountry:n.physicalCountry||"",physicalState:n.physicalState||"",wlocCity:n.wlocCity||"",wlocCountry:n.wlocCountry||"",wlocState:n.wlocState||"",regime:n.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l?.createdDate,l?.contentId,l?.publishDate,l?.author,l?.collection,l?.entitlements,l?.provider,n])}],123590);var n=e.i(546446),l=e.i(540768),o=e.i(682142),s=e.i(782937),c=e.i(695881),u=e.i(333350),I=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),m=e.i(409628),C=e.i(605781),D=e.i(289681);let f=(0,c.createLogger)("useTrackContentLinkClick"),p=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),L=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),c=(0,n.useAtomValue)(A.experimentJoinListAtom),{location:y}=(0,I.useLocation)(),O=(0,h.useIsHightouchReady)(),b=(0,a.useCallback)(a=>{let n=(0,o.getCICookie)(),u=n?.["TWC-GeoIP-Country"]??(0,l.getCookie)("twc-location-country"),I=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,C=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,f=(0,D.getConsentAuthorization)("sale-of-data"),O=(0,D.getConsentAuthorization)("sensitive-data"),b=navigator?.cookieEnabled??!1,v=(0,l.getCookie)("partner")||"",H=(0,s.getPartnerByPattern)(v)??v,w=(0,R.getMetricsSession)(),W=w?.sessionId||"",G=new Date(w?.sessionStartTime||0).toISOString(),M=new Date,x=M.getHours(),P=m.WEEK_DAYS[M.getDay()]??"",k=(0,S.normalizeWlocType)(y?.type),Y=y?.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:H,sessionId:W,sessionStartTime:G,siteMode:"normal",dayOfWeek:P,hourOfDay:x,regime:_??"",cookiesEnabled:b,gpcSignalOptOut:N,functionalTechnologies:A,geographicallyRelevantAds:h,interestBasedAds:C,priv:d,privProducts:E,saleOfData:f??void 0,saleOfDataAuthorization:f,sensitiveDataAuthorization:O,campaign:(0,T.getCampaign)(),linkReferral:(0,T.getLinkReferral)()??void 0,experimentJoinList:c,weatherMode:"normal",physicalCountry:u??"",physicalState:I??"",wlocCity:y?.city??null,wlocCountry:y?.countryCode??null,wlocState:y?.adminDistrictCode??null,wlocDMA:y?.dmaCd??null,wlocId:y?.placeId??null,wlocFeatureId:y?.featureId??null,wlocFeatureSource:null!=Y&&L.has(Y)?Y:void 0,wlocTags:y?.tags?.length?(0,g.parseArrayToString)(y.tags):null,wlocType:null!==k&&p.has(k)?k:void 0,samsungVersion:(0,T.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)}},[e,t,i,r,c,y]);return(0,a.useCallback)(e=>{if(u.default){if(!O)return void f.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,C.trackContentLinkClick)(b(e)),f.info('Hightouch: Event "content-link-click" tracked')}catch(e){f.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[O,b])}],333761)},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",l=(0,i.useEventAttributes)(),o=(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={...l,moduleId:i,modulePosition:String(r),layoutState:o};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)}},[l,o])}],1567);var l=e.i(725287),o=e.i(540768),s=e.i(682142),c=e.i(782937),u=e.i(695881),I=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),m=e.i(924776),C=e.i(409628),D=e.i(605781),f=e.i(289681);let p=(0,u.createLogger)("useTrackModuleViewed"),L=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"]),O=[];function b(e){try{(0,D.trackModuleViewed)(e),p.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){p.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),u=(0,r.useAtomValue)(N.deviceClassAtom),D=(0,r.useAtomValue)(a.layoutStateAtom),p=(0,r.useAtomValue)(R.experimentJoinListAtom),{location:v}=(0,_.useLocation)(),H=(0,m.useIsHightouchReady)(),w=(0,n.useCallback)(({moduleId:r,modulePosition:a})=>{let n=(0,s.getCICookie)(),l=n?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),I=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,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,O=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,b=(0,f.getConsentAuthorization)("sale-of-data"),H=(0,f.getConsentAuthorization)("sensitive-data"),w=navigator?.cookieEnabled??!1,W=(0,o.getCookie)("partner")||"",G=(0,c.getPartnerByPattern)(W)??W,M=(0,A.getMetricsSession)(),x=M?.sessionId||"",P=new Date(M?.sessionStartTime||0).toISOString(),k=new Date,Y=k.getHours(),U=C.WEEK_DAYS[k.getDay()]??"",F="article"===t||"video"===t?(0,T.stripLastPartOfSlug)(e??""):(0,T.getAnonymizedPath)(e??""),Z=(0,g.normalizeWlocType)(v?.type),j=v?.featureSource??null;return{moduleId:r,modulePosition:String(a),layoutState:D??void 0,pageId:t??"",url:F,referrer:document.referrer,locale:i,deviceClass:u,partner:G,sessionId:x,sessionStartTime:P,siteMode:"normal",dayOfWeek:U,hourOfDay:Y,regime:_??"",cookiesEnabled:w,gpcSignalOptOut:N,functionalTechnologies:R,geographicallyRelevantAds:m,interestBasedAds:O,priv:d,privProducts:E,saleOfDataAuthorization:b,sensitiveDataAuthorization:H,campaign:(0,S.getCampaign)(),experimentJoinList:p,weatherMode:"normal",physicalCountry:l??"",physicalState:I??"",wlocCity:v?.city??null,wlocCountry:v?.countryCode??null,wlocState:v?.adminDistrictCode??null,wlocDMA:v?.dmaCd??null,wlocId:v?.placeId??null,wlocFeatureId:v?.featureId??null,wlocFeatureSource:null!=j&&y.has(j)?j:void 0,wlocTags:v?.tags?.length?(0,h.parseArrayToString)(v.tags):null,wlocType:null!==Z&&L.has(Z)?Z:void 0,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)}},[e,t,i,u,D,p,v]);return(0,n.useEffect)(()=>{if(!H||0===O.length)return;let e=O;O=[],e.forEach(b)},[H]),(0,n.useCallback)(e=>{if(!I.default)return;let t=w(e);H?b(t):O.push(t)},[H,w])}],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,c=0,u=!0;for(;o.length=e?(c=(c=t?(c=(c{"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}}),c=await (0,n.handleFetchResponse)(s);return{...c,pressureMeanSeaLevel:e.units===o.Units.IMPERIAL?c.pressureMeanSeaLevel/33.8639:c.pressureMeanSeaLevel,windDirectionCardinal:(0,l.normalizeCardinal)(c.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,l,o,s,c,u,I,_,d,E,N,R,A,T,S,g,h,m;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=c||(i.PressureTendencyCode=c={}))[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=u||(i.CloudCoverPhrase=u={})).CLEAR="Clear",g.PARTLY_CLOUDY="Partly Cloudy",g.MOSTLY_CLOUDY="Mostly Cloudy",g.CLOUDY="Cloudy",(h=I||(i.IconCode=I={}))[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",(m=_||(i.IconCodeExtended=_={}))[m.STRONG_STORMS=300]="STRONG_STORMS",m[m.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",m[m.FREEZING_RAIN=1e3]="FREEZING_RAIN",m[m.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",m[m.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",m[m.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",m[m.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",m[m.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",m[m.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",m[m.SLEET=1800]="SLEET",m[m.LIGHT_SLEET=1801]="LIGHT_SLEET",m[m.SLEET_WIND=1810]="SLEET_WIND",m[m.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",m[m.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",m[m.HEAVY_SNOW=4200]="HEAVY_SNOW",m[m.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",m[m.BLIZZARD=4300]="BLIZZARD",m[m.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",m[m.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",m[m.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",m[m.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",m[m.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",m[m.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",m[m.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",m[m.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",m[m.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",m[m.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",m[m.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",m[m.THUNDER_SNOW=5600]="THUNDER_SNOW",m[m.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",m[m.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",m[m.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",m[m.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",m[m.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",m[m.AM_RAIN_ICE=6503]="AM_RAIN_ICE",m[m.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",m[m.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",m[m.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",m[m.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",m[m.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",m[m.ICE_EARLY=6600]="ICE_EARLY",m[m.AM_ICE=6603]="AM_ICE",m[m.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",m[m.AM_ICE_WIND=6613]="AM_ICE_WIND",m[m.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",m[m.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",m[m.PM_RAIN_ICE=7503]="PM_RAIN_ICE",m[m.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",m[m.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",m[m.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",m[m.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",m[m.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",m[m.ICE_LATE=7600]="ICE_LATE",m[m.PM_ICE=7603]="PM_ICE",m[m.ICE_WIND_LATE=7610]="ICE_WIND_LATE",m[m.PM_ICE_WIND=7613]="PM_ICE_WIND",m[m.RAIN_TO_ICE=8100]="RAIN_TO_ICE",m[m.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",m[m.ICE_TO_RAIN=8500]="ICE_TO_RAIN",m[m.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(495110),r=e.i(283366);e.s(["default",0,function(e,a){let n=(0,t.useExperimentContext)();(0,r.useExposure)(e);let l=(0,i.useIsHydratingRender)();return!n||l?a:n.variant(e,a)}])},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])},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),i=e.i(609858);let r=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:a,page:n,onUpdateData:l,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,i.useDebugSystem)(),u=(0,t.useRef)(!1),I=l||s,_=o||c;return(0,t.useEffect)(()=>{if(a)return r.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(a),hasPerformance:!!a.performance,hasContext:!!a.context}),I(e,{...a,_collectedAt:new Date().toISOString()}),()=>{r.lifecycle(`Cleaning up data for ${e}`),I(e,null)}},[e,a,I]),(0,t.useEffect)(()=>{n&&!u.current&&(r.lifecycle("Setting page metadata",{title:n.title,assetName:n.assetName,collection:n.collection}),_({...n,_updatedAt:new Date().toISOString()}),u.current=!0)},[n,_]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),i=e.i(247865);let r=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,r],674339),e.s(["useDebugSystem",0,function(){let[e,a]=(0,t.useAtom)(r),n=(0,i.useCallback)((e,t)=>{a(i=>{let r=i?.[e]||{},a="object"==typeof t&&null!==t&&"object"==typeof r?{...r,...t}:t;return{...i,[e]:a}})},[a]),l=(0,i.useCallback)((e,t)=>{a(i=>{let r=i||{timestamp:new Date().toISOString()},a=r.components||{};if(null===t){let t={...a};return delete t[e],{...r,components:t}}return{...r,components:{...a,[e]:t}}})},[a]),o=(0,i.useCallback)(e=>{n("page",e)},[n]),s=(0,i.useCallback)(e=>{n("route",e)},[n]),c=(0,i.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&n(e,t)})},[n]);return{debugData:e,updateSection:n,updateComponentData:l,setPageData:o,clearAllDebugData:(0,i.useCallback)(()=>{a({timestamp:new Date().toISOString()})},[a]),updateRouteInfo:s,updatePageDebug:c}}],609858)},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:c="light",className:u}){let I="sm"===s,_=(0,a.cn)("text-current",I?"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"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"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",I?"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",u),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 c=(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"),u=e=>{let{activeIndex:i,index:a,link:n}=e,l=i===a,o=(0,r.cn)(c,{"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:u,mpa:I}=e,_=n.href??("/"===n.slug?u||"/":`${u}/${n.slug}`);return(0,t.jsx)(s.default,{href:_,mpa:I,className:o,"aria-current":l?"page":void 0,sourceModule:"subnavigation",children:n.label})},I=(0,i.memo)(e=>{let{links:i,activeIndex:s,className:c,constrained:I=!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]",I&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"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)(u,{link:i,index:r,activeIndex:s,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(u,{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));I.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,I],457492)},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:l,unitOnly:o})=>{let s=null!=n,c=a?(0,r.unitsSystemByCode)(a):null,u=c?.temp,I=Number.isFinite(n)&&Math.round(n);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&o?(0,t.jsxs)(t.Fragment,{children:[s&&I,(0,t.jsx)("span",{className:l,children:"°"}),u&&(0,t.jsx)("span",{className:i,children:u})]}):"--"})});e.s(["Temperature",0,a])},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,c]=(0,i.useState)(!1),[u,I]=(0,i.useState)(!1),_=(0,i.useCallback)(()=>{let t=n.current;if(!t||!e){c(!1),I(!1);return}let{scrollLeft:i,scrollWidth:r,clientWidth:a}=t,l=Math.abs(i),s=l>2,u=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:u,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])}]);