(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,190344,e=>{"use strict";var t=e.i(794120),s=e.i(282446),l=e.i(763886),a=e.i(132084),i=e.i(456215),n=e.i(647292);e.i(609717);var m=e.i(950771),r=e.i(328895);let c=(0,e.i(695881).createLogger)("useVideoNavUrl");e.s(["f",0,function(){var e,o;let u=(0,s.y)(l.f),h=(0,s.y)(n.f),p=(0,s.y)(m.f),v=(e=u??"",o=h??"",e===a.p.SAMSUNG?"weather-com-mobile-web-samsung":(0,i.x)(o)?"twc-snowcast":o?"weather-com-mobile-web":"weather-com-web"),{data:b,error:d}=(0,t.U)(["navigation/video-nav",v,p,u],()=>(0,r.getVideoNavLink)({channel:v,language:p,partner:u||void 0}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0});return d&&c.error("video nav url fetch failed",{channel:v,locale:p,partner:u,error:d}),b}],190344)},427977,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getQuickNav=void 0;let l=e.r(414655),a=e.r(678651),i=e.r(718043);s.getQuickNav=async()=>{let e=(0,a.urlFrom)((0,i.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,l.handleFetchResponse)(t)}},718043,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},s.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},s.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},s.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:s}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${s}/${e}`}},s.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:s=0,limit:i=10,sort:n="-publishdate"}){let m={q:Object.keys(t).reduce((e,s)=>{let l=t[s];return l instanceof Array?[...e,...l.map(e=>a(s,e))]:[...e,a(s,l)]},[]).join(";"),pg:`${s},${i}`,format:"json",sort:n},r=(0,l.queryStringToSearchParams)(m).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},s.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:s=0,limit:a=10,sort:i="-publishdate"}){let n={q:t,pg:`${s},${a}`,format:"json",sort:i},m=(0,l.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${m}`}},s.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:s=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${s}`}},s.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let l=e.r(678651);function a(e,t){let s=`'${t.$in}'`;return t.$in instanceof Array&&(s=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${s})`}},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)))},281687,e=>{"use strict";var t=e.i(64412),s=e.i(512134);e.s(["f",0,function(){let{location:e}=(0,t.f)();return(0,s.f)()?e:void 0}])},520362,e=>{"use strict";var t=e.i(458201),s=e.i(538167);let l=e=>{let{apiRoute:t,depth:l,refresh:a,serverURL:i}=e,n=(0,s.useRef)(!1),m=(0,s.useCallback)(e=>{e.origin===i&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof a?a():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[a,i]);return(0,s.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}),a()),()=>{"u">typeof window&&window.removeEventListener("message",m)}),[i,m,l,t,a]),null};var a=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,s.useRef)(null),t=(0,s.useRef)(null),l=(0,s.useRef)(null),a=(0,s.useRef)(null),m=(0,s.useRef)(null),r=(0,s.useCallback)(()=>{if("u"{let s=t.current,a=e.current;if(!s||!a)return;if(!s.isConnected){t.current=null,a.style.opacity="0",l.current?.disconnect();return}let i=s.getBoundingClientRect();a.style.top=`${i.top+window.scrollY}px`,a.style.left=`${i.left+window.scrollX}px`,a.style.width=`${i.width}px`,a.style.height=`${i.height}px`,a.style.opacity="1"},[]),o=(0,s.useCallback)(()=>{t.current=null,m.current=null,e.current&&(e.current.style.opacity="0"),l.current?.disconnect()},[]),u=(0,s.useCallback)(()=>{t.current&&null===a.current&&(a.current=requestAnimationFrame(()=>{a.current=null,c()}))},[c]),h=(0,s.useCallback)(e=>{if(e===m.current)return;let s=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!s)return void i.debug("No element found for block ID",{blockId:e});let a=(e=>{let t=e,s=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",u,{passive:!0}),window.addEventListener("resize",u,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",u),window.removeEventListener("resize",u),null!==a.current&&cancelAnimationFrame(a.current),l.current?.disconnect(),e.current?.remove()}},[h,o,u]),null},"LivePreviewListener",0,e=>{let s=(0,a.useRouter)();return(0,t.jsx)(l,{...e,refresh:s.refresh})}],520362)},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0bshob3u86i79.js"].map(t=>e.l(t))).then(()=>t(451309)))}]);