(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,247977,748315,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(581014),s=e.i(725287),i=e.i(611540),n=e.i(388706),m=e.i(304116),u=e.i(269153),c=e.i(457492),r=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:o,placeQuery:h,canonicalPath:b,canonicalID:d,locale:p,showHealthTabs:v}){let k=(0,a.useTranslations)("SidebarNavigation"),y=(0,s.usePathname)(),j=(0,u.useIsSamsungPartner)(),P=e?(0,r.decodeLocId)(e):e,{links:g,basePath:f}=(0,l.useMemo)(()=>{let e;if(b&&!j){let e=v?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:k("today"),slug:"today"},{label:k("hourly"),slug:"hourbyhour"},{label:k("tenday"),slug:"tenday"},...P?[{label:k("monthly"),slug:"monthly",href:(0,i.interpolateUrl)(i.URLS.monthly,{locale:p,locId:P})}]:[],...e],basePath:b}}let t="en-US"===p?"/weather":`/${p}/weather`,l=P??"",a=h?`?${h}`:"",s=e=>`${(0,m.buildLocationPageHref)({pageType:e,locale:p,canonicalID:d,featureId:o,placeId:l,skipCanonical:j})}${a}`,n=v?[{label:"Allergies",slug:"allergy",href:s("allergy")},{label:"Air Quality",slug:"air-quality",href:s("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:s("cold-flu")}]:[];return{links:[{label:k("today"),slug:"today",href:s("today")},{label:k("hourly"),slug:"hourbyhour",href:s("hourbyhour")},{label:k("tenday"),slug:"tenday",href:s("tenday")},{label:k("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:p,locId:(e="monthly",l)})}${a}`},...n],basePath:t}},[b,d,P,o,h,p,v,j,k]),w=(0,l.useMemo)(()=>{let e=y.replace(/\/day-\d+$/,"");if(e!==y||y.includes("/byCanonicalPathDay/")){let e=g.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=g.findIndex(t=>{let{slug:l}=t,a=n.BASE_BY_PAGE[l];return!!a&&(y.includes(`${a}byFeatureId/`)||y.includes(`${a}byCanonicalPath/`)||y.includes(`${a}byCanonicalPathDay/`))||y.includes(`/weather/${l}/`)||y.includes(`/forecast/${l}/`)||e.endsWith(`/${l}`)});return -1!==t?t:0},[y,g]);return(0,t.jsx)(c.SubnavigationUI,{links:g,basePath:f,activeIndex:w})}],247977);var o=e.i(293163),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,o.getPartner)()!==h.Partner.SAMSUNG}],748315)},798725,e=>{"use strict";var t=e.i(902875),l=e.i(725287),a=e.i(281687),s=e.i(559421),i=e.i(4085),n=e.i(330091),m=e.i(247977),u=e.i(748315);e.s(["ForecastSubnavContainer",0,function({locale:e}){let c,r,o=(0,l.useParams)(),h=(0,l.usePathname)(),b=(0,a.useChromeLocation)(),d=(0,i.useRouteCanonicalBase)(),p=(0,s.useCanonicalBasePath)()??d;if(p)return(0,t.jsx)(m.ForecastSubnav,{canonicalPath:p,placeId:b?.placeId,locale:e,showHealthTabs:(0,u.canShowHealthTabs)(e)});let v=o.featureId;if(v)return(0,t.jsx)(m.ForecastSubnav,{featureId:v,placeId:b?.placeId,canonicalID:b?.canonicalID,locale:e,showHealthTabs:(0,u.canShowHealthTabs)(e)});if(h?.includes("/forecast/allergy/learn-more"))return b?.placeId?(0,t.jsx)(m.ForecastSubnav,{featureId:b.featureId,placeId:b.placeId,canonicalID:b.canonicalID,locale:e,showHealthTabs:(0,u.canShowHealthTabs)(e)}):null;let k=o.locId,y=o.canonicalCityId,j=o.locName;return k&&(0,n.testLocId)(k)?.type==="featureId"?(0,t.jsx)(m.ForecastSubnav,{featureId:k,placeId:b?.placeId,canonicalID:b?.canonicalID,locale:e,showHealthTabs:(0,u.canShowHealthTabs)(e)}):(k?c=k:j&&y?(c=j,r=`canonicalCityId=${y}`):y&&(c=y),c)?(0,t.jsx)(m.ForecastSubnav,{placeId:c,placeQuery:r,locale:e,showHealthTabs:(0,u.canShowHealthTabs)(e)}):null}])},887908,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3d-1kbutbj1gv.js"].map(t=>e.l(t))).then(()=>t(147168)))},991894,e=>{e.v(t=>Promise.all(["static/immutable/chunks/22euvwis66vmb.js"].map(t=>e.l(t))).then(()=>t(39086)))},840623,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n8msz19yvqd6.js"].map(t=>e.l(t))).then(()=>t(882330)))},660824,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0xxeeocmy2aye.js"].map(t=>e.l(t))).then(()=>t(530212)))},317297,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2616xyz29bjwr.js"].map(t=>e.l(t))).then(()=>t(680602)))},355962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37hnuu5dy6sit.js"].map(t=>e.l(t))).then(()=>t(503885)))},765014,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3um12qzwmc8k_.js"].map(t=>e.l(t))).then(()=>t(872251)))},876327,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tyxy3-hxmn50.js"].map(t=>e.l(t))).then(()=>t(947387)))},921282,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ma3aggvms9ma.js"].map(t=>e.l(t))).then(()=>t(493948)))},959395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0f3g-lp97vkng.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/immutable/chunks/329zyt8hnwe7y.js"].map(t=>e.l(t))).then(()=>t(314459)))},563854,e=>{e.v(t=>Promise.all(["static/immutable/chunks/16536_5evh7u0.js"].map(t=>e.l(t))).then(()=>t(643246)))},48629,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zgos4ygxa0bb.js"].map(t=>e.l(t))).then(()=>t(769885)))},762150,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0p2m8whl54tha.js"].map(t=>e.l(t))).then(()=>t(1892)))},541661,e=>{e.v(t=>Promise.all(["static/immutable/chunks/198_ffptnt9h3.js"].map(t=>e.l(t))).then(()=>t(306712)))},565343,e=>{e.v(t=>Promise.all(["static/immutable/chunks/06xr-i7ondto9.js"].map(t=>e.l(t))).then(()=>t(294782)))},393816,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0ff1-4vnz_78l.js"].map(t=>e.l(t))).then(()=>t(855621)))},75726,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0yr40fq9cik4v.js"].map(t=>e.l(t))).then(()=>t(748540)))},72951,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mw623e8v1oie.js"].map(t=>e.l(t))).then(()=>t(360647)))},276567,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2853l-wt_g4_t.js"].map(t=>e.l(t))).then(()=>t(501462)))},951283,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1hb99379n909x.js"].map(t=>e.l(t))).then(()=>t(273498)))},416614,e=>{e.v(t=>Promise.all(["static/immutable/chunks/084ypheui9pug.js"].map(t=>e.l(t))).then(()=>t(901728)))},592630,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0s_0vvr_qgag9.js"].map(t=>e.l(t))).then(()=>t(507085)))},423373,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p3orq86c5ifv.js"].map(t=>e.l(t))).then(()=>t(62159)))},815954,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qaf2w3zk3w27.js"].map(t=>e.l(t))).then(()=>t(61161)))},15398,e=>{e.v(t=>Promise.all(["static/immutable/chunks/02xiqt9zvf6gh.js"].map(t=>e.l(t))).then(()=>t(762526)))},776943,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1ytb6oy4ikrz6.js"].map(t=>e.l(t))).then(()=>t(97569)))},284458,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3nxkndkqavswg.js"].map(t=>e.l(t))).then(()=>t(877390)))},261156,e=>{e.v(t=>Promise.all(["static/immutable/chunks/38l6gmiu5_9ku.js"].map(t=>e.l(t))).then(()=>t(827382)))},389867,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3hk3rd5e71dc4.js"].map(t=>e.l(t))).then(()=>t(702479)))},900346,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0t4h2wlc7n595.js"].map(t=>e.l(t))).then(()=>t(389327)))},96219,e=>{e.v(t=>Promise.all(["static/immutable/chunks/381m8qf6cbhtp.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/immutable/chunks/31nq3o47_azko.js"].map(t=>e.l(t))).then(()=>t(894202)))},829350,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p8724zzw5ewi.js"].map(t=>e.l(t))).then(()=>t(447314)))},391939,e=>{e.v(t=>Promise.all(["static/immutable/chunks/396y1w1ozc-fu.js"].map(t=>e.l(t))).then(()=>t(72575)))},252521,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0lmym4f8kyevf.js"].map(t=>e.l(t))).then(()=>t(661446)))},408674,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bk2xo-o_s-vf.js"].map(t=>e.l(t))).then(()=>t(783769)))},846784,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-9yeudlt40j_.js"].map(t=>e.l(t))).then(()=>t(873667)))},713848,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0qp3xhy3q8zip.js"].map(t=>e.l(t))).then(()=>t(889507)))},407657,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-2wb7wpbqbgn.js"].map(t=>e.l(t))).then(()=>t(75960)))},415546,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0tsqv73kd2uwg.js"].map(t=>e.l(t))).then(()=>t(667728)))},781723,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17nasyndzgye8.js"].map(t=>e.l(t))).then(()=>t(654703)))},197999,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hwzkvu2g7pco.js"].map(t=>e.l(t))).then(()=>t(272493)))},103659,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17hryngooc2j1.js"].map(t=>e.l(t))).then(()=>t(296920)))},625303,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d-xb8qt0v27_.js"].map(t=>e.l(t))).then(()=>t(718437)))},148486,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3q96qady37ql-.js"].map(t=>e.l(t))).then(()=>t(946515)))},957284,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zx_ucotfu7pf.js"].map(t=>e.l(t))).then(()=>t(48914)))},92368,e=>{e.v(t=>Promise.all(["static/immutable/chunks/19pzyqeq9654w.js"].map(t=>e.l(t))).then(()=>t(789895)))},226507,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3jelzfg203nfe.js"].map(t=>e.l(t))).then(()=>t(538258)))},132409,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nmdno2r5jhr2.js"].map(t=>e.l(t))).then(()=>t(3017)))},626117,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mltvvqhcgund.js"].map(t=>e.l(t))).then(()=>t(825086)))},395624,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1q-jk2-pdev6-.js"].map(t=>e.l(t))).then(()=>t(600726)))},494738,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3_ndi79lx21jd.js"].map(t=>e.l(t))).then(()=>t(512028)))},774463,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3t1n31-ogxy75.js"].map(t=>e.l(t))).then(()=>t(155062)))},752465,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3iyt_l7ny1i-k.js"].map(t=>e.l(t))).then(()=>t(777844)))},67832,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1jtfbjn7tl5lf.js"].map(t=>e.l(t))).then(()=>t(414064)))},2638,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2jkxj9298b3gp.js"].map(t=>e.l(t))).then(()=>t(198051)))},916531,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0wdahy0c-g55j.js"].map(t=>e.l(t))).then(()=>t(369675)))},744883,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1yxzgbbc9k2zy.js"].map(t=>e.l(t))).then(()=>t(581947)))},880187,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17dedv282ubqs.js"].map(t=>e.l(t))).then(()=>t(747997)))},164295,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0srphq_p8tbzl.js"].map(t=>e.l(t))).then(()=>t(702162)))},521662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0mi2a4br_qp3u.js"].map(t=>e.l(t))).then(()=>t(782697)))},403395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0pvy0xx928tqy.js"].map(t=>e.l(t))).then(()=>t(573581)))},661123,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1n29uczdwr6s-.js"].map(t=>e.l(t))).then(()=>t(711818)))},48208,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n6233oisp1f-.js"].map(t=>e.l(t))).then(()=>t(625444)))},476493,e=>{e.v(t=>Promise.all(["static/immutable/chunks/234hfx_o8ubit.js"].map(t=>e.l(t))).then(()=>t(328877)))},650095,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-83gv2_8qjed.js"].map(t=>e.l(t))).then(()=>t(601862)))},945801,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3a02q729huh9w.js"].map(t=>e.l(t))).then(()=>t(566248)))},909969,e=>{e.v(t=>Promise.all(["static/immutable/chunks/41skq4kn8ohe8.js"].map(t=>e.l(t))).then(()=>t(218776)))},155043,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nxr0_6i1lqtd.js"].map(t=>e.l(t))).then(()=>t(869146)))},353962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2hut6c8sprk2i.js"].map(t=>e.l(t))).then(()=>t(367128)))},666922,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bgee7gqcluq5.js"].map(t=>e.l(t))).then(()=>t(41455)))},72998,e=>{e.v(t=>Promise.all(["static/immutable/chunks/43va915q3uow0.js"].map(t=>e.l(t))).then(()=>t(317586)))},722332,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3e4lkh1cm8zsc.js"].map(t=>e.l(t))).then(()=>t(476881)))},171913,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37viczxedu6th.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0b6c2xomqe187.js"].map(t=>e.l(t))).then(()=>t(22872)))},632092,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3cmxbqj3xp7vq.js"].map(t=>e.l(t))).then(()=>t(45677)))},520362,e=>{"use strict";var t=e.i(902875),l=e.i(247865);let a=e=>{let{apiRoute:t,depth:a,refresh:s,serverURL:i}=e,n=(0,l.useRef)(!1),m=(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",m),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",m)}),[i,m,a,t,s]),null};var s=e.i(725287);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"},m=e=>{let l=(0,s.useRouter)();return(0,t.jsx)(a,{...e,refresh:l.refresh})};e.s(["LivePreviewListener",0,m],346267),e.i(346267),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),m=(0,l.useRef)(null),u=(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"},[]),r=(0,l.useCallback)(()=>{t.current=null,m.current=null,e.current&&(e.current.style.opacity="0"),a.current?.disconnect()},[]),o=(0,l.useCallback)(()=>{t.current&&null===s.current&&(s.current=requestAnimationFrame(()=>{s.current=null,c()}))},[c]),h=(0,l.useCallback)(e=>{if(e===m.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):r())};return window.addEventListener("message",t),window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",o),window.removeEventListener("resize",o),null!==s.current&&cancelAnimationFrame(s.current),a.current?.disconnect(),e.current?.remove()}},[h,r,o]),null},"LivePreviewListener",0,m],520362)},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1mi90qv4i98mf.js"].map(t=>e.l(t))).then(()=>t(451309)))}]);