(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(458201),l=e.i(538167),a=e.i(282446),s=e.i(580547),i=e.i(789422),n=e.i(584169),r=e.i(632137),m=e.i(710746),u=e.i(611540);let o=(0,e.i(144683).g)(!1),c="tou-notice-dismissed",h=new Date("2027-04-30");var d=e.i(498076);e.i(87809);var b=e.i(358233),p=e.i(1567),v=e.i(947118),f=e.i(782552);let g=[b.Q.GDPR,b.Q.LGPD,b.Q.EXEMPT,b.Q.LATAM_CO,b.Q.LATAM_DO,b.Q.LATAM_PE,b.Q.USA,b.Q.USA_CCPA,b.Q.USA_CO,b.Q.USA_CT,b.Q.USA_VA,b.Q.CA,b.Q.TR_KVKK,b.Q.KR,b.Q.JP,b.Q.CA_QC],y=new Date("2026-05-30");e.s(["PrivacyTOUNoticeClient",0,({regime:e,className:b})=>{let j=(0,i.r)("TouNotice"),k=(0,s.X)(),x=(0,u.R)(u.e.termsOfUse,{locale:k}),P=(0,u.R)(u.e.privacyPolicy,{locale:k}),[w,_]=(0,a.q)(o),C=(0,l.useRef)(null),q=(0,l.useRef)(!1),N=(0,d.f)(),A=(0,v.f)(),S=(0,p.f)(),z=(0,f.f)(),R=(0,l.useRef)(!1),[I,E]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=(0,n.getCookie)("partner")?.toString().toLowerCase();E(e?.includes("samsung")??!1)},[]);let $=g.includes(e),L=new Date{$&&L&&((0,n.getCookie)(c)||_(!0))},[$,L,_]),(0,l.useEffect)(()=>{w&&$&&L&&A&&!q.current&&(q.current=!0,S({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[w,$,L,A,S]),(0,l.useEffect)(()=>{w&&$&&L&&!R.current&&(R.current=!0,z({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[w,$,L,z]);let Q=(0,l.useCallback)(()=>{(0,n.setCookie)(c,"true",{expires:h}),_(!1)},[_]);if((0,l.useEffect)(()=>{if(!w||N)return;let e=e=>{C.current&&!C.current.contains(e.target)&&Q()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[w,N,Q]),!w||!$||!L)return null;let T=j("heading"),U="text-[#252422] underline hover:text-[#252422]/80",D=j.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:U,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:P,target:"_blank",rel:"noopener noreferrer",className:U,children:e})}),O=(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:T})}),(0,t.jsx)("button",{onClick:Q,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)(m.f,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:D})]});return N?(0,t.jsx)("div",{className:(0,r.f)(I?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",b),"aria-label":"Privacy and Terms of Use Notice",children:O}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,r.f)("relative",b),children:(0,t.jsx)("div",{ref:C,className:(0,r.f)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",I?"bg-white":"bg-[#CBDEF0]"),children:O})})}],995181)},247977,748315,e=>{"use strict";var t=e.i(458201),l=e.i(538167),a=e.i(789422),s=e.i(935251),i=e.i(388706),n=e.i(304116),r=e.i(269153),m=e.i(457492),u=e.i(258990);e.s(["f",0,function({placeId:e,featureId:o,placeQuery:c,canonicalPath:h,canonicalID:d,locale:b,showHealthTabs:p}){let v=(0,a.r)("SidebarNavigation"),f=(0,s.usePathname)(),g=(0,r.f)(),y=e?(0,u.f)(e):e,{links:j,basePath:k}=(0,l.useMemo)(()=>{if(h&&!g){let e=p?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:v("today"),slug:"today"},{label:v("hourly"),slug:"hourbyhour"},{label:v("tenday"),slug:"tenday"},{label:v("monthly"),slug:"monthly"},...e],basePath:h}}let e="en-US"===b?"/weather":`/${b}/weather`,t=y??"",l=c?`?${c}`:"",a=e=>`${(0,n.f)({pageType:e,locale:b,canonicalID:d,featureId:o,placeId:t,skipCanonical:g})}${l}`,s=p?[{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:v("today"),slug:"today",href:a("today")},{label:v("hourly"),slug:"hourbyhour",href:a("hourbyhour")},{label:v("tenday"),slug:"tenday",href:a("tenday")},{label:v("monthly"),slug:"monthly",href:a("monthly")},...s],basePath:e}},[h,d,y,o,c,b,p,g,v]),x=(0,l.useMemo)(()=>{let e=f.replace(/\/day-\d+$/,"");if(e!==f||f.includes("/byCanonicalPathDay/")){let e=j.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=j.findIndex(t=>{let{slug:l}=t,a=i.t[l];return!!a&&(f.includes(`${a}byFeatureId/`)||f.includes(`${a}byCanonicalPath/`)||f.includes(`${a}byCanonicalPathDay/`))||f.includes(`/weather/${l}/`)||f.includes(`/forecast/${l}/`)||e.endsWith(`/${l}`)});return -1!==t?t:0},[f,j]);return(0,t.jsx)(m.f,{links:j,basePath:k,activeIndex:x})}],247977);var o=e.i(293163),c=e.i(132084);e.s(["f",0,function(e){return"en-US"===e&&(0,o.n)()!==c.p.SAMSUNG}],748315)},345715,e=>{"use strict";var t=e.i(458201),l=e.i(789422),a=e.i(281687),s=e.i(457492),i=e.i(247977),n=e.i(748315),r=e.i(475823);let m=["en-US"];function u(){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 o=(0,l.r)("SidebarNavigation"),c=(0,a.f)(),h=c?.placeId;if(!h){if(!m.includes(e))return(0,t.jsx)(u,{});let l=[{label:o("today"),slug:"today",href:(0,r.t)("today",e)},{label:o("hourly"),slug:"hourbyhour",href:(0,r.t)("hourly",e)},{label:o("tenday"),slug:"tenday",href:(0,r.t)("tenday",e)},{label:o("monthly"),slug:"monthly",href:(0,r.t)("monthly",e)},{label:"Allergies",slug:"allergy",href:(0,r.t)("allergy",e)},{label:"Air Quality",slug:"air-quality",href:(0,r.t)("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:(0,r.t)("cold-flu",e)}];return(0,t.jsx)(s.f,{links:l,basePath:"",activeIndex:0})}return(0,t.jsx)(i.f,{placeId:h,featureId:c?.featureId,canonicalID:c?.canonicalID,locale:e,showHealthTabs:(0,n.f)(e)})}])},887908,e=>{e.v(t=>Promise.all(["static/immutable/chunks/246001zqxmi9h.js"].map(t=>e.l(t))).then(()=>t(147168)))},991894,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3sza417ff3160.js"].map(t=>e.l(t))).then(()=>t(39086)))},840623,e=>{e.v(t=>Promise.all(["static/immutable/chunks/20454cs5yh4x7.js"].map(t=>e.l(t))).then(()=>t(882330)))},660824,e=>{e.v(t=>Promise.all(["static/immutable/chunks/07hzic-m-238l.js"].map(t=>e.l(t))).then(()=>t(530212)))},317297,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3c2glv-nm46yi.js"].map(t=>e.l(t))).then(()=>t(680602)))},355962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3c9vh6g9-blop.js"].map(t=>e.l(t))).then(()=>t(503885)))},765014,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0cuy8i0lvkwzl.js"].map(t=>e.l(t))).then(()=>t(872251)))},876327,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1_-fwty7369w1.js"].map(t=>e.l(t))).then(()=>t(947387)))},921282,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0q_ir09vb0rha.js"].map(t=>e.l(t))).then(()=>t(493948)))},959395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/42yrbfr9tgksx.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3eza_b4vv1c0y.js"].map(t=>e.l(t))).then(()=>t(314459)))},563854,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2doe_r10k7gph.js"].map(t=>e.l(t))).then(()=>t(643246)))},48629,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3azoyq8q6gkzm.js"].map(t=>e.l(t))).then(()=>t(769885)))},762150,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2gf6tdw37hgz2.js"].map(t=>e.l(t))).then(()=>t(1892)))},541661,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2qyxou9a_lc07.js"].map(t=>e.l(t))).then(()=>t(478186)))},565343,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1u5g7njq76n2f.js"].map(t=>e.l(t))).then(()=>t(294782)))},393816,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ef8cq4tei8lf.js"].map(t=>e.l(t))).then(()=>t(855621)))},75726,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3fy7ic61l3o-t.js"].map(t=>e.l(t))).then(()=>t(748540)))},72951,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2s3jum8gr3mdm.js"].map(t=>e.l(t))).then(()=>t(360647)))},276567,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1nue_g789xsx1.js"].map(t=>e.l(t))).then(()=>t(501462)))},951283,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qi-8e1t62adq.js"].map(t=>e.l(t))).then(()=>t(273498)))},416614,e=>{e.v(t=>Promise.all(["static/immutable/chunks/20_7yxx4jdsi6.js"].map(t=>e.l(t))).then(()=>t(901728)))},592630,e=>{e.v(t=>Promise.all(["static/immutable/chunks/19yptqp73h1bh.js"].map(t=>e.l(t))).then(()=>t(507085)))},423373,e=>{e.v(t=>Promise.all(["static/immutable/chunks/09qkm047t81j0.js"].map(t=>e.l(t))).then(()=>t(62159)))},815954,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0j9y1cx2v-zyf.js"].map(t=>e.l(t))).then(()=>t(61161)))},15398,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hj4f602-nr_7.js"].map(t=>e.l(t))).then(()=>t(762526)))},776943,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37aomy4pgh9de.js"].map(t=>e.l(t))).then(()=>t(97569)))},284458,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1fogjm6l-ic_u.js"].map(t=>e.l(t))).then(()=>t(877390)))},261156,e=>{e.v(t=>Promise.all(["static/immutable/chunks/04e0d-7jk8w1q.js"].map(t=>e.l(t))).then(()=>t(827382)))},389867,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2j7b7iao_5yyb.js"].map(t=>e.l(t))).then(()=>t(702479)))},900346,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1cnv9c-yi356q.js"].map(t=>e.l(t))).then(()=>t(389327)))},96219,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1pi46q8e_2xzc.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2qfkvob1aflw0.js"].map(t=>e.l(t))).then(()=>t(894202)))},829350,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1oq_1otgqtmyf.js"].map(t=>e.l(t))).then(()=>t(447314)))},391939,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2rivm1v5pr9_l.js"].map(t=>e.l(t))).then(()=>t(72575)))},252521,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0v06c6kw0dvb_.js"].map(t=>e.l(t))).then(()=>t(661446)))},408674,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tv_5tkayobmb.js"].map(t=>e.l(t))).then(()=>t(783769)))},846784,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bose_c3l2j9o.js"].map(t=>e.l(t))).then(()=>t(873667)))},713848,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0k-sxn5qp42o2.js"].map(t=>e.l(t))).then(()=>t(889507)))},407657,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0c87isc9trknj.js"].map(t=>e.l(t))).then(()=>t(75960)))},415546,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1tjn5c8xtp2g-.js"].map(t=>e.l(t))).then(()=>t(446839)))},781723,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d-g7c7xz5wvn.js"].map(t=>e.l(t))).then(()=>t(654703)))},197999,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2kyiunotjbn8m.js"].map(t=>e.l(t))).then(()=>t(272493)))},103659,e=>{e.v(t=>Promise.all(["static/immutable/chunks/12rvgo52q1r49.js"].map(t=>e.l(t))).then(()=>t(296920)))},625303,e=>{e.v(t=>Promise.all(["static/immutable/chunks/4044m3783yaom.js"].map(t=>e.l(t))).then(()=>t(718437)))},148486,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0avr-qlfpap59.js"].map(t=>e.l(t))).then(()=>t(946515)))},957284,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0p3zebvqjitgx.js"].map(t=>e.l(t))).then(()=>t(48914)))},92368,e=>{e.v(t=>Promise.all(["static/immutable/chunks/44i59sqb25c6s.js"].map(t=>e.l(t))).then(()=>t(789895)))},226507,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0li5wegqgoux-.js"].map(t=>e.l(t))).then(()=>t(538258)))},132409,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qh7lhx8u34in.js"].map(t=>e.l(t))).then(()=>t(3017)))},626117,e=>{e.v(t=>Promise.all(["static/immutable/chunks/15e4-q1wp87er.js"].map(t=>e.l(t))).then(()=>t(825086)))},395624,e=>{e.v(t=>Promise.all(["static/immutable/chunks/08ijxjppzydcl.js"].map(t=>e.l(t))).then(()=>t(600726)))},494738,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3vrr52bqm7unn.js"].map(t=>e.l(t))).then(()=>t(512028)))},299871,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2sfivpnq7iq_b.js"].map(t=>e.l(t))).then(()=>t(155062)))},752465,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0uh2o9otdcr9s.js"].map(t=>e.l(t))).then(()=>t(777844)))},67832,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ikpuixu4z0y5.js"].map(t=>e.l(t))).then(()=>t(414064)))},2638,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n-_5848yb7xr.js"].map(t=>e.l(t))).then(()=>t(198051)))},916531,e=>{e.v(t=>Promise.all(["static/immutable/chunks/33nw68eb5zzq0.js"].map(t=>e.l(t))).then(()=>t(369675)))},744883,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0lx97uthwai5c.js"].map(t=>e.l(t))).then(()=>t(581947)))},880187,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3hoeoqiccg-v_.js"].map(t=>e.l(t))).then(()=>t(747997)))},164295,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3j_m410rflkvz.js"].map(t=>e.l(t))).then(()=>t(702162)))},521662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3_3b1y59bxc2b.js"].map(t=>e.l(t))).then(()=>t(782697)))},403395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3-1v3-4qhojr_.js"].map(t=>e.l(t))).then(()=>t(573581)))},661123,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2zlq8rbm6vesf.js"].map(t=>e.l(t))).then(()=>t(711818)))},48208,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-mjx3dkqs62y.js"].map(t=>e.l(t))).then(()=>t(625444)))},476493,e=>{e.v(t=>Promise.all(["static/immutable/chunks/34ss6ftwte9rh.js"].map(t=>e.l(t))).then(()=>t(328877)))},650095,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2c22hm-vezr6z.js"].map(t=>e.l(t))).then(()=>t(601862)))},945801,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3xa_d7sktr2jt.js"].map(t=>e.l(t))).then(()=>t(566248)))},909969,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1hgzoucjeejno.js"].map(t=>e.l(t))).then(()=>t(218776)))},155043,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nxhp9jcvvt0l.js"].map(t=>e.l(t))).then(()=>t(869146)))},353962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0j83c2_zkll2k.js"].map(t=>e.l(t))).then(()=>t(367128)))},666922,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3dmq3abgd74w4.js"].map(t=>e.l(t))).then(()=>t(856593)))},72998,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tvn3e0b4-x2n.js"].map(t=>e.l(t))).then(()=>t(317586)))},722332,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0tfd2iw3fno8m.js"].map(t=>e.l(t))).then(()=>t(476881)))},171913,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2ehedfey61nm2.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1ywn3jfu8ms7g.js"].map(t=>e.l(t))).then(()=>t(22872)))},632092,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0-770js2bibv_.js"].map(t=>e.l(t))).then(()=>t(45677)))},520362,e=>{"use strict";var t=e.i(458201),l=e.i(538167);let a=e=>{let{apiRoute:t,depth:a,refresh:s,serverURL:i}=e,n=(0,l.useRef)(!1),r=(0,l.useCallback)(e=>{e.origin===i&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof s?s():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[s,i]);return(0,l.useEffect)(()=>("u">typeof window&&window.addEventListener("message",r),n.current||(n.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:i}),s()),()=>{"u">typeof window&&window.removeEventListener("message",r)}),[i,r,a,t,s]),null};var s=e.i(935251);let i=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),n={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"};e.s(["BlockHighlightOverlay",0,()=>{let e=(0,l.useRef)(null),t=(0,l.useRef)(null),a=(0,l.useRef)(null),s=(0,l.useRef)(null),r=(0,l.useRef)(null),m=(0,l.useCallback)(()=>{if("u"{let l=t.current,s=e.current;if(!l||!s)return;if(!l.isConnected){t.current=null,s.style.opacity="0",a.current?.disconnect();return}let i=l.getBoundingClientRect();s.style.top=`${i.top+window.scrollY}px`,s.style.left=`${i.left+window.scrollX}px`,s.style.width=`${i.width}px`,s.style.height=`${i.height}px`,s.style.opacity="1"},[]),o=(0,l.useCallback)(()=>{t.current=null,r.current=null,e.current&&(e.current.style.opacity="0"),a.current?.disconnect()},[]),c=(0,l.useCallback)(()=>{t.current&&null===s.current&&(s.current=requestAnimationFrame(()=>{s.current=null,u()}))},[u]),h=(0,l.useCallback)(e=>{if(e===r.current)return;let l=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!l)return void i.debug("No element found for block ID",{blockId:e});let s=(e=>{let t=e,l=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?h(e.data.blockId):o())};return window.addEventListener("message",t),window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",c),window.removeEventListener("resize",c),null!==s.current&&cancelAnimationFrame(s.current),a.current?.disconnect(),e.current?.remove()}},[h,o,c]),null},"LivePreviewListener",0,e=>{let l=(0,s.useRouter)();return(0,t.jsx)(a,{...e,refresh:l.refresh})}],520362)},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0bshob3u86i79.js"].map(t=>e.l(t))).then(()=>t(451309)))},457492,e=>{"use strict";var t=e.i(458201),l=e.i(538167),a=e.i(632137),s=e.i(282446),i=e.i(663333),n=e.i(235577),r=e.i(315730),m=e.i(240058);let u=(0,a.f)("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"),o=e=>{let{activeIndex:l,index:s,link:i}=e,n=l===s,r=(0,a.f)(u,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:l}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>l(s,i),className:(0,a.f)("cursor-pointer",r),"aria-current":n?"page":void 0,children:i.label})}let{basePath:o,mpa:c}=e,h=i.href??("/"===i.slug?o||"/":`${o}/${i.slug}`);return(0,t.jsx)(m.default,{href:h,mpa:c,className:r,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:i.label})},c=(0,l.memo)(e=>{let{links:l,activeIndex:m,className:u,constrained:c=!0}=e,h=(0,s.y)(i.f),{ref:d,showLeft:b,showRight:p,scrollLeft:v,scrollRight:f}=(0,r.f)({enabled:"mobile"!==h&&"tablet"!==h,scrollAmount:200,contentKey:l});return(0,t.jsxs)("div",{className:(0,a.f)("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]",c&&"md:mr-auto md:max-w-[min(958px,100%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.f)("pointer-events-none absolute top-0 -left-1 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-s-[28px]",{"-translate-x-24":!b}),"aria-hidden":"true"}),(0,t.jsx)(n.f,{hidden:!b,onClick:v,direction:"left"}),(0,t.jsx)("div",{ref:d,className:(0,a.f)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:l.map((l,a)=>e.onSelect?(0,t.jsx)(o,{link:l,index:a,activeIndex:m,onSelect:e.onSelect},`${l.label}_${l.slug}`):(0,t.jsx)(o,{link:l,index:a,activeIndex:m,basePath:e.basePath,mpa:e.mpa},`${l.label}_${l.slug}`))}),(0,t.jsx)("div",{className:(0,a.f)("pointer-events-none absolute top-0 -right-1 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-e-[28px]",{"translate-x-24":!p}),"aria-hidden":"true"}),(0,t.jsx)(n.f,{hidden:!p,onClick:f,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));c.displayName="SubnavigationUI",e.s(["f",0,c],457492)}]);