(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991511,e=>{"use strict";var t=e.i(592121),l=e.i(806262),a=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,l.useHydrateAtoms)(e);let s=(0,a.useStore)(),i=(0,t.useRef)(e);i.current=e,(0,t.useEffect)(()=>{for(let[e,t]of i.current)s.get(e)!==t&&s.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},859827,e=>{"use strict";var t=e.i(699173),l=e.i(592121),a=e.i(747961);let s=(0,l.forwardRef)(({title:e,titleId:l,desc:a,descId:s,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":l,"aria-describedby":s,...i,children:[a?(0,t.jsx)("desc",{id:s,children:a}):null,void 0===e?(0,t.jsx)("title",{id:l,children:"Plus"}):e?(0,t.jsx)("title",{id:l,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),i=l.default.forwardRef((e,l)=>(0,t.jsx)(a.BaseIcon,{ref:l,icon:s,...e}));i.displayName="Plus",e.s(["Plus",0,i])},993269,e=>{"use strict";var t=e.i(699173),l=e.i(592121),a=e.i(747961);let s=(0,l.forwardRef)(({title:e,titleId:l,desc:a,descId:s,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":l,"aria-describedby":s,...i,children:[a?(0,t.jsx)("desc",{id:s,children:a}):null,void 0===e?(0,t.jsx)("title",{id:l,children:"Minus"}):e?(0,t.jsx)("title",{id:l,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),i=l.default.forwardRef((e,l)=>(0,t.jsx)(a.BaseIcon,{ref:l,icon:s,...e}));i.displayName="Minus",e.s(["Minus",0,i])},385277,e=>{"use strict";var t=e.i(592121),l=e.i(792461),a=e.i(333350);e.s(["useClientContainerSize",0,e=>{let s=(0,t.useRef)(null),[i,n]=(0,t.useState)(a.default?e(window.innerWidth,window.innerHeight):null),r=(0,t.useRef)(!1),c=(0,l.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=s.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:l,top:a,bottom:s}=t.contentRect,i=e+l,o=a+s,u=c.current(i,o);r.current=!0,n(u)}})});return t.observe(e),()=>{t.disconnect()}},[s,c]),[i,s,r.current]}])},235577,e=>{"use strict";var t=e.i(699173),l=e.i(523084),a=e.i(47524),s=e.i(632137),i=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:r,size:c="default",variant:o="light",className:u}){let h="sm"===c,d=(0,s.cn)("text-current",h?"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)(i.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,s.cn)("group absolute top-1/2 z-10 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"===o?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===o?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===o?"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",h?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",r&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",r&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",r&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(l.ChevronLeft,{className:d}):(0,t.jsx)(a.ChevronRight,{className:d})})}])},457492,e=>{"use strict";var t=e.i(699173),l=e.i(147732),a=e.i(592121),s=e.i(632137),i=e.i(546446),n=e.i(663333),r=e.i(235577),c=e.i(240058);let o=(0,s.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:l,index:a,link:i}=e,n=l===a,r=(0,s.cn)(o,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:l}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>l(a,i),className:(0,s.cn)("cursor-pointer",r),"aria-current":n?"page":void 0,children:i.label})}let{basePath:u,mpa:h}=e,d=i.href??("/"===i.slug?u||"/":`${u}/${i.slug}`);return(0,t.jsx)(c.default,{href:d,mpa:h,className:r,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:i.label})},h=(0,a.memo)(e=>{let{links:c,activeIndex:o,className:h,constrained:d=!0}=e,[m,v]=(0,a.useState)(!1),[b,p]=(0,a.useState)(!1),f=(0,a.useRef)(null),g=(0,a.useRef)(null),j=(0,a.useRef)(!1),x=(0,i.useAtomValue)(n.deviceClassAtom),k="mobile"!==x&&"tablet"!==x,y=(0,a.useCallback)(()=>{let e=f.current;if(!e||!k){v(!1),p(!1);return}let{scrollLeft:t,scrollWidth:l,clientWidth:a}=e,s=Math.abs(t),i=s>2,n=s+a(0,l.debounce)(y,150),[y]),P=(0,a.useCallback)(()=>{null===g.current&&(g.current=requestAnimationFrame(()=>{y(),g.current=null}))},[y]);(0,a.useEffect)(()=>{let e=f.current;e&&(j.current="rtl"===getComputedStyle(e).direction),y();let t=f.current;return t&&(t.addEventListener("scroll",P),window.addEventListener("resize",w)),()=>{null!==g.current&&(cancelAnimationFrame(g.current),g.current=null),t&&t.removeEventListener("scroll",P),w.cancel(),window.removeEventListener("resize",w)}},[c,y,P,w]);let S=(0,a.useCallback)(()=>{f.current?.scrollBy({left:-200,behavior:"smooth"})},[]),I=(0,a.useCallback)(()=>{f.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,s.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]",d&&"md:mr-auto md:max-w-[min(958px,100%)]",h),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute top-0 -left-25 z-[5] 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":m}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!m,onClick:S,direction:"left"}),(0,t.jsx)("div",{ref:f,className:(0,s.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:c.map((l,a)=>e.onSelect?(0,t.jsx)(u,{link:l,index:a,activeIndex:o,onSelect:e.onSelect},`${l.label}_${l.slug}`):(0,t.jsx)(u,{link:l,index:a,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${l.label}_${l.slug}`))}),(0,t.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute top-0 -right-25 z-[5] 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":b}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!b,onClick:I,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,l)=>e.label===t.links[l]?.label&&e.slug===t.links[l]?.slug&&e.href===t.links[l]?.href));h.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,h],457492)},247977,748315,e=>{"use strict";var t=e.i(699173),l=e.i(592121),a=e.i(683903),s=e.i(961123),i=e.i(611540),n=e.i(388706),r=e.i(304116),c=e.i(457492),o=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:u,placeQuery:h,canonicalPath:d,canonicalID:m,locale:v,showHealthTabs:b}){let p=(0,a.useTranslations)("SidebarNavigation"),f=(0,s.usePathname)(),g=e?(0,o.decodeLocId)(e):e,{links:j,basePath:x}=(0,l.useMemo)(()=>{if(d){let e=g?`l/${g}`:void 0,t=b&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu",href:(0,i.interpolateUrl)(i.URLS.coldFlu,{locale:v,locId:g})}]:[];return{links:[{label:p("today"),slug:"today"},{label:p("hourly"),slug:"hourbyhour"},{label:p("tenday"),slug:"tenday"},...e?[{label:p("monthly"),slug:"monthly",href:(0,i.interpolateUrl)(i.URLS.monthly,{locale:v,locId:g})}]:[],...t],basePath:d}}let e="en-US"===v?"/weather":`/${v}/weather`,t=g??"",l=h?`?${h}`:"",a=e=>u&&n.CANONICAL_PAGE_TYPES.includes(e)?u:t,s=e=>`${(0,r.buildLocationPageHref)({pageType:e,locale:v,canonicalID:m,featureId:u,placeId:t})}${l}`,c=b?[{label:"Allergies",slug:"allergy",href:s("allergy")},{label:"Air Quality",slug:"air-quality",href:s("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:`${(0,i.interpolateUrl)(i.URLS.coldFlu,{locale:v,locId:a("cold-flu")})}${l}`}]:[];return{links:[{label:p("today"),slug:"today",href:s("today")},{label:p("hourly"),slug:"hourbyhour",href:s("hourbyhour")},{label:p("tenday"),slug:"tenday",href:s("tenday")},{label:p("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:v,locId:a("monthly")})}${l}`},...c],basePath:e}},[d,m,g,u,h,v,b,p]),k=(0,l.useMemo)(()=>{let e=f.replace(/\/day-\d+$/,""),t=j.findIndex(t=>{let{slug:l}=t,a=n.BASE_BY_PAGE[l];return!!a&&f.includes(`${a}byFeatureId/`)||f.includes(`/weather/${l}/`)||f.includes(`/forecast/${l}/`)||e.endsWith(`/${l}`)});return -1!==t?t:0},[f,j]);return(0,t.jsx)(c.SubnavigationUI,{links:j,basePath:x,activeIndex:k})}],247977);var u=e.i(959194),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,u.getPartner)()!==h.Partner.SAMSUNG}],748315)},798725,e=>{"use strict";var t=e.i(699173),l=e.i(961123),a=e.i(64412),s=e.i(559421),i=e.i(330091),n=e.i(247977),r=e.i(748315);e.s(["ForecastSubnavContainer",0,function({locale:e}){let c,o,u=(0,l.useParams)(),{location:h}=(0,a.useLocation)(),d=(0,s.useCanonicalBasePath)();if(d)return(0,t.jsx)(n.ForecastSubnav,{canonicalPath:d,placeId:h?.placeId,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)});let m=u.featureId;if(m)return(0,t.jsx)(n.ForecastSubnav,{featureId:m,placeId:h?.placeId,canonicalID:h?.canonicalID,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)});let v=u.locId,b=u.canonicalCityId,p=u.locName;return v&&(0,i.testLocId)(v)?.type==="featureId"?(0,t.jsx)(n.ForecastSubnav,{featureId:v,placeId:h?.placeId,canonicalID:h?.canonicalID,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)}):(v?c=v:p&&b?(c=p,o=`canonicalCityId=${b}`):b&&(c=b),c)?(0,t.jsx)(n.ForecastSubnav,{placeId:c,placeQuery:o,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)}):null}])},186044,e=>{e.v(t=>Promise.all(["static/chunks/14l-6d02kd2fz.js"].map(t=>e.l(t))).then(()=>t(451309)))},171913,e=>{e.v(t=>Promise.all(["static/chunks/3dcs0l5j1g6a_.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/chunks/02ppzgv5a8lxs.js"].map(t=>e.l(t))).then(()=>t(22872)))},92368,e=>{e.v(t=>Promise.all(["static/chunks/3i0zaiku7bje6.js"].map(t=>e.l(t))).then(()=>t(789895)))},666922,e=>{e.v(t=>Promise.all(["static/chunks/2_ad85pvnpasr.js"].map(t=>e.l(t))).then(()=>t(856593)))},722332,e=>{e.v(t=>Promise.all(["static/chunks/0lb0gugsiefuf.js"].map(t=>e.l(t))).then(()=>t(476881)))},880187,e=>{e.v(t=>Promise.all(["static/chunks/0ytexffeurca4.js"].map(t=>e.l(t))).then(()=>t(747997)))},744883,e=>{e.v(t=>Promise.all(["static/chunks/0zs2to7zqkb6b.js"].map(t=>e.l(t))).then(()=>t(581947)))},197999,e=>{e.v(t=>Promise.all(["static/chunks/3n-sga4604-oh.js"].map(t=>e.l(t))).then(()=>t(272493)))},407657,e=>{e.v(t=>Promise.all(["static/chunks/32asyc-qi6t0-.js"].map(t=>e.l(t))).then(()=>t(75960)))},650095,e=>{e.v(t=>Promise.all(["static/chunks/2rj208utmr5yr.js"].map(t=>e.l(t))).then(()=>t(601862)))},916531,e=>{e.v(t=>Promise.all(["static/chunks/1edjqytr4b4do.js"].map(t=>e.l(t))).then(()=>t(369675)))},415546,e=>{e.v(t=>Promise.all(["static/chunks/2gbvc82ctdn0a.js"].map(t=>e.l(t))).then(()=>t(446839)))},353962,e=>{e.v(t=>Promise.all(["static/chunks/3bevr2_4h3ua9.js"].map(t=>e.l(t))).then(()=>t(367128)))},391939,e=>{e.v(t=>Promise.all(["static/chunks/0o-5ypipfmvgj.js"].map(t=>e.l(t))).then(()=>t(72575)))},155043,e=>{e.v(t=>Promise.all(["static/chunks/1eisd1srr5_wl.js"].map(t=>e.l(t))).then(()=>t(869146)))},103659,e=>{e.v(t=>Promise.all(["static/chunks/3eonedq0tzhbu.js"].map(t=>e.l(t))).then(()=>t(296920)))},945801,e=>{e.v(t=>Promise.all(["static/chunks/27b4xgp6fncrs.js"].map(t=>e.l(t))).then(()=>t(566248)))},252521,e=>{e.v(t=>Promise.all(["static/chunks/07fx3by0-8gd2.js"].map(t=>e.l(t))).then(()=>t(661446)))},582099,e=>{e.v(t=>Promise.all(["static/chunks/10536z8prxuwv.js"].map(t=>e.l(t))).then(()=>t(654703)))},625303,e=>{e.v(t=>Promise.all(["static/chunks/3_im3i23ahlrn.js"].map(t=>e.l(t))).then(()=>t(718437)))},909969,e=>{e.v(t=>Promise.all(["static/chunks/35zkk3b49wu7f.js"].map(t=>e.l(t))).then(()=>t(218776)))},408674,e=>{e.v(t=>Promise.all(["static/chunks/37zcsfcnoati1.js"].map(t=>e.l(t))).then(()=>t(783769)))},632092,e=>{e.v(t=>Promise.all(["static/chunks/3m9vh4xsqulp_.js"].map(t=>e.l(t))).then(()=>t(45677)))},713848,e=>{e.v(t=>Promise.all(["static/chunks/3erqiumfpcfsb.js"].map(t=>e.l(t))).then(()=>t(889507)))},774463,e=>{e.v(t=>Promise.all(["static/chunks/0qc98scy26su0.js"].map(t=>e.l(t))).then(()=>t(155062)))},494738,e=>{e.v(t=>Promise.all(["static/chunks/35_axkfal7ger.js"].map(t=>e.l(t))).then(()=>t(512028)))},2638,e=>{e.v(t=>Promise.all(["static/chunks/2ve1e19qddzym.js"].map(t=>e.l(t))).then(()=>t(198051)))},67832,e=>{e.v(t=>Promise.all(["static/chunks/2dcwk6m_v4qfi.js"].map(t=>e.l(t))).then(()=>t(414064)))},846784,e=>{e.v(t=>Promise.all(["static/chunks/1e3vb5d7j0x8s.js"].map(t=>e.l(t))).then(()=>t(873667)))},72998,e=>{e.v(t=>Promise.all(["static/chunks/393zgougvvycp.js"].map(t=>e.l(t))).then(()=>t(510110)))},395624,e=>{e.v(t=>Promise.all(["static/chunks/2szbhxkcxvd0v.js"].map(t=>e.l(t))).then(()=>t(600726)))},626117,e=>{e.v(t=>Promise.all(["static/chunks/0_bdyv7xs8xqi.js"].map(t=>e.l(t))).then(()=>t(825086)))},132409,e=>{e.v(t=>Promise.all(["static/chunks/43drnw5w4qy5b.js"].map(t=>e.l(t))).then(()=>t(3017)))},226507,e=>{e.v(t=>Promise.all(["static/chunks/2qf6ha3gakfwh.js"].map(t=>e.l(t))).then(()=>t(538258)))},48208,e=>{e.v(t=>Promise.all(["static/chunks/3msns9jhb6vfx.js"].map(t=>e.l(t))).then(()=>t(625444)))},164295,e=>{e.v(t=>Promise.all(["static/chunks/0z4a_zo6coobc.js"].map(t=>e.l(t))).then(()=>t(702162)))},148486,e=>{e.v(t=>Promise.all(["static/chunks/0zgy365rwmgw6.js"].map(t=>e.l(t))).then(()=>t(946515)))},403395,e=>{e.v(t=>Promise.all(["static/chunks/1xu3zmek98e_j.js"].map(t=>e.l(t))).then(()=>t(573581)))},957284,e=>{e.v(t=>Promise.all(["static/chunks/0_pa8k2y1jvmh.js"].map(t=>e.l(t))).then(()=>t(48914)))},752465,e=>{e.v(t=>Promise.all(["static/chunks/16yf-fk_5dxil.js"].map(t=>e.l(t))).then(()=>t(777844)))},521662,e=>{e.v(t=>Promise.all(["static/chunks/05rm8oago-b2j.js"].map(t=>e.l(t))).then(()=>t(782697)))},661123,e=>{e.v(t=>Promise.all(["static/chunks/1ejdc4_dkaxie.js"].map(t=>e.l(t))).then(()=>t(711818)))},476493,e=>{e.v(t=>Promise.all(["static/chunks/0-juv8n6sj234.js"].map(t=>e.l(t))).then(()=>t(328877)))}]);