(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,718043,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},a.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},a.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},a.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:a}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${a}/${e}`}},a.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:a=0,limit:i=10,sort:r="-publishdate"}){let n={q:Object.keys(t).reduce((e,a)=>{let s=t[a];return s instanceof Array?[...e,...s.map(e=>l(a,e))]:[...e,l(a,s)]},[]).join(";"),pg:`${a},${i}`,format:"json",sort:r},o=(0,s.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${o}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:l=10,sort:i="-publishdate"}){let r={q:t,pg:`${a},${l}`,format:"json",sort:i},n=(0,s.queryStringToSearchParams)(r).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},a.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:a=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${a}`}},a.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let s=e.r(678651);function l(e,t){let a=`'${t.$in}'`;return t.$in instanceof Array&&(a=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${a})`}},427977,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getQuickNav=void 0;let s=e.r(414655),l=e.r(678651),i=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,i.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,s.handleFetchResponse)(t)}},527207,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:s,descId:l,...i},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...i,children:[s?(0,t.jsx)("desc",{id:l,children:s}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Up"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 5.7a.667.667 0 0 0-.942 0L3.35 9.88a.495.495 0 1 0 .7.7L8 6.629l3.95 3.95a.495.495 0 0 0 .7-.7z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));i.displayName="ChevronUp",e.s(["ChevronUp",0,i])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let a=t.find(t=>t.placeId===e.placeId);return a?{...e,displayName:a.address,address:a.address}:e}])},935807,e=>{"use strict";function t(e,a=[],l=!1,i="US",r){let n,o=a.find(t=>t.placeID===e.placeId);if(o&&l){let t=o.userTag||o.name;if(t&&"Other"!==t){let a=e.displayName,l=s(e,i,""),r="address"===e.type?e.address:void 0;if(t!==a&&t!==l&&t!==r)return t}}if(e?.disputedCountries)n=e.displayName||"";else{switch(e?.type){case"address":n=e?.address?.split(",")[0]?.trim()||"";break;case"city":n=e?.locale?.locale2||"";break;case"locality":n=e?.locale?.locale3||"";break;case"neighborhood":n=e?.locale?.locale4||"";break;case"airport":n=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",a=e?.postalCode||"";n=r?`${t} ${a}`.trim():`${t}`.trim();break}default:n=e?.displayName||""}0===n.length&&(n=e?.displayName||"")}return n}function a(e,t=[],l=!1,i="US",r){let n,o=t.find(t=>t.placeID===e.placeId);if(o&&l){let t=o.userTag||o.name;if(t&&"Other"!==t){let a=e.displayName,l=s(e,i,"");if(t!==a&&t!==l)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let a=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,a].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",s=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${s}`.trim(),a].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}}}(e,i)}}if(e?.disputedCountries)n=e?.displayName||"";else{let t=i===e?.countryCode?"":e?.country||"",a=e?.adminDistrict||"",s=e?.postalCode||"",l=e.city||"";switch(e?.type){case"address":n=[l,a,t].filter(Boolean).join(", ");break;case"city":default:n=[a,t].filter(Boolean).join(", ");break;case"locality":n=[e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"neighborhood":n=[e?.locale?.locale3||e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"postal":{let l=a||e?.locale?.locale2||"";n=[r?`${l} ${s}`.trim():l,t].filter(Boolean).join(", ")}}}return n}function s(e,t,a){let{displayName:s,adminDistrictCode:l,adminDistrict:i,countryCode:r,disputedArea:n,country:o}=e,c=[];return s&&c.push(s),"IL"!==t&&(l?c.push(l):i&&c.push(i)),r!==t&&!1===n&&o&&c.push(o),c.join(a)}e.s(["getLocationContext",0,a,"getLocationName",0,t,"getLocationPresentationName",0,function(e,s=[],l=!1,i="US"){let r=t(e,s,l,i,!1),n=a(e,s,l,i,!0),o=e?.separator?e?.separator:r&&n?", ":"";return`${r}${o}${n}`.trim()}])},616448,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:s,descId:l,...i},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...i,children:[s?(0,t.jsx)("desc",{id:l,children:s}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Current Location"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m7.885 8.115 1.593 3.983 3.186-8.763-8.762 3.186zM2.329 6.029l11-4a.5.5 0 0 1 .641.641l-4 11a.5.5 0 0 1-.462.33H9.5a.5.5 0 0 1-.464-.315l-1.92-4.8-4.801-1.921a.5.5 0 0 1 .014-.935m7.635 7.285",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));i.displayName="CurrentLocation",e.s(["CurrentLocation",0,i])},525936,586754,e=>{"use strict";var t=e.i(650130),a=e.i(343277);e.i(304158);var s=e.i(485737),l=e.i(150137),i=e.i(381477),r=e.i(726249),n=e.i(919101),o=e.i(546446),c=e.i(310847);let d=(e,t)=>{let s=(0,o.useAtomValue)(c.wxuUserRecentAddressesAtom),{data:l}=(0,i.default)(e?(0,r.pointKey)({kind:"placeId",value:e},t):null,()=>e?(0,a.getLocationPointByPlaceId)(e,t):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return l?.location?(0,n.getAddressForLocationData)(l.location,s):l?.location};e.s(["useGetLocationById",0,d],586754);var u=e.i(942400),f=e.i(304116),p=e.i(520938),h=e.i(132084),m=e.i(831826),g=e.i(646341),v=e.i(553329),b=e.i(695881),x=e.i(592121),w=e.i(961123);let y=(0,b.createLogger)("useUpdatedPathname");e.s(["default",0,(e,i)=>{let r=i?.defer??!1,n=i?.targetGeocode,c=i?.featureId?.startsWith("address.")?void 0:i?.featureId,b=i?.canonicalID,C=c??e,A=(0,w.useParams)(),j=A?.locId,S=A?.canonicalLocation,k=(0,w.usePathname)(),L=(0,u.usePageLocale)(),I=(0,o.useAtomValue)(l.preciseGeocodeAtom),N=(0,o.useAtomValue)(s.geoipGeocode),P=I||N,R=!!j||!!S?.length||k.includes(p.LOC_ID_SEGMENT),E=d(r||n?null:e,L),$=n??(E?`${E.latitude},${E.longitude}`:void 0),_=(0,x.useMemo)(()=>(0,m.getPartnerByPattern)((0,g.getCookie)("partner")?.toString()??"")===h.Partner.SAMSUNG,[]),B=(0,x.useCallback)(a=>{let s=(0,p.swapLocationOnCurrentPage)({pathname:k,locId:j,canonicalLocation:S,locale:L,identifier:C,featureId:c,placeId:e,canonicalID:b,skipCanonical:_});if(null!==s)return s;let l=t=>(0,f.buildLocationPageHref)({pageType:t,locale:L,canonicalID:b,featureId:c,placeId:e,skipCanonical:_}),i=l("today");if(_||!P||!a)return i;let r=function(e,a){let[s,l]=e.split(",").map(e=>parseFloat(e??"")),[i,r]=a.split(",").map(e=>parseFloat(e??""));return[s,l,i,r].some(e=>Number.isNaN(e))?null:.621371*(0,t.calculateDistance)(s,l,i,r)}(P,a);return null===r?i:r>=250?l("tenday"):r>=100?l("hourbyhour"):i},[j,S,k,C,c,e,b,L,_,P]);return{path:B($),isGeolocationLoading:!1,resolvePath:(0,x.useCallback)(async()=>{if(R)return B(void 0);let{data:t,error:s}=await (0,v.tryCatch)((0,a.getLocationPointByPlaceId)(e,L));return s||!t?.location?(y.warn("resolvePath: point fetch failed, falling back to Today",s),B(void 0)):B(`${t.location.latitude},${t.location.longitude}`)},[R,e,L,B])}}],525936)},292980,e=>{"use strict";var t=e.i(546446),a=e.i(592121),s=e.i(310847);e.s(["useRecentLocationDetails",0,function(){let[e,l]=(0,t.useAtom)(s.wxuUserRecentLocationsDataAtom),i=e??{},r=(0,a.useCallback)(e=>i[e],[i]);return{details:i,resolveDetails:r,recordDetails:(0,a.useCallback)((e,t)=>{e&&l(a=>{let s=a??{},l=s[e];return l&&l.name===t.name&&l.nameContext===t.nameContext&&l.geocode===t.geocode&&l.featureId===t.featureId&&l.type===t.type&&l.presentationName===t.presentationName&&l.displayName===t.displayName&&l.address===t.address?s:{...s,[e]:t}})},[l])}}])},296990,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:s,descId:l,...i},r)=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",ref:r,"aria-labelledby":a,"aria-describedby":l,...i,children:[s?(0,t.jsx)("desc",{id:l,children:s}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Globe"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{d:"M14.227 8.016h-.141c-.047-.023-.352.305-.352.305s-.234.094-.258.141c0 .047-.07 0-.023.07.023.07.164.023.234-.07.094-.07.258-.117.328-.164.07-.07.094-.047.234-.117.141-.047.234-.07.188-.141-.023-.023-.07-.023-.117-.023h-.117zm-1.243-.375c-.117 0-.258.047-.328.164-.047.117 0 .305-.023.398s-.047.305.07.328c.141.023.141-.188.117-.234s-.023-.281.047-.328c.047-.047.117-.164.258-.164.141-.023.258.094.234.211s.023.234.07.234.211-.094.164-.164.047-.352.047-.258.117.164.188.141-.07-.258-.164-.258c-.094-.023-.281-.023-.328 0-.023 0-.094 0-.164-.023s-.141-.023-.188-.023h-.023zm-.679-.305c-.164.07-.234.047-.234.141 0 .07.141.07.211.047a.7.7 0 0 1 .258-.07c.047-.023.023.07.141.07s.281.047.305.023.164-.164.047-.188c-.094-.023-.234-.117-.328-.188-.023-.023-.023-.023-.047-.023-.094 0-.234.141-.398.188zM6.68 7.242c.07.047.211.047.211.117s.047.234.117.211.07-.164.023-.211-.258-.211-.305-.211-.117-.07-.164-.094h-.023c-.07 0 .07.164.117.211zM2.953 5.555c-.141.094-.211.047-.281.117s-.281.141-.211-.023.07-.188-.047-.141-.141.141-.141.211-.188.164-.188.164.164.023.234 0 .023.141-.047.188-.164.141-.281.117-.117-.117-.188-.141c-.047 0-.094.023-.188.07A11.9 11.9 0 0 0 .045 12c0 6.563 5.344 11.93 11.93 11.906.984 0 1.945-.141 2.859-.375a.174.174 0 0 1-.117-.211c.047-.141-.07-.141-.141-.211-.07-.094.094-.141.07-.188s-.141-.023-.164-.117.094-.258.117-.281c0-.047-.094-.141-.117-.188 0-.047.047-.117.164-.234.094-.094.164-.234.164-.281s-.07-.164-.07-.281c0-.094.07-.141.094-.305 0-.141-.094-.117-.094-.211 0-.117.141-.07.117-.211-.023-.117.07-.211.117-.281s.07-.211.141-.305c.047-.094-.047-.305-.047-.352s.164-.094.094-.188c-.094-.07.023-.141.117-.211.07-.07-.023-.258.047-.516.047-.234.07-.656.07-.703s0-.211-.047-.305c-.07-.117-.141-.188-.234-.234s-.211-.164-.281-.188c-.07 0-.398-.117-.398-.328 0-.188-.234-.328-.258-.469s-.211-.422-.234-.563c0-.117-.305-.164-.328-.328-.047-.164.141-.258.164-.352s-.094-.305-.117-.375c0-.047.211-.258.281-.305s.141-.211.188-.211.047-.141.094-.305c.047-.141-.023-.352-.07-.375s-.094-.188-.141-.258c-.07-.047-.188-.023-.188-.023s.023.141-.094.188c-.141.047-.164-.023-.188-.047-.047-.047-.188-.047-.258-.117s-.164-.164-.258-.188c-.07-.047-.211-.07-.188-.234 0-.164-.164-.258-.234-.281-.047-.023-.164-.094-.234-.047-.047.023-.094 0-.141-.023s-.094-.047-.141-.047c-.094 0-.281-.164-.352-.234s-.117-.164-.234-.164-.141.047-.211.141c-.094.094-.211-.07-.234-.117-.047-.047-.141-.047-.281-.047-.164 0-.258-.211-.305-.234l-.516-.258c-.094-.047-.188-.258-.141-.305s-.07-.234-.07-.234-.188-.211-.258-.211-.281-.375-.398-.492-.398-.352-.445-.469-.07-.305-.188-.211c-.141.094-.023.188.117.305s.117.211.305.352.117.305.188.352c.07.07.352.234.234.328-.117.117-.234-.141-.305-.141-.047-.023-.164-.047-.164-.117.023-.07-.094-.141-.188-.258s-.141-.047-.258-.047 0-.141.047-.211c.07-.07-.07-.164-.141-.188s-.188-.328-.305-.516-.188-.281-.305-.258-.164-.141-.258-.188c-.07-.047-.211-.305-.328-.445-.141-.141-.258-.398-.234-.539s.047-.516.047-.609-.07-.328-.07-.352c0-.047-.07-.117-.117-.117-.047-.023-.211-.211-.328-.211s-.188-.141-.164-.234c.047-.094-.117-.258-.164-.258-.07 0-.164-.164-.211-.258s-.141-.094-.117-.047 0 .141.047.164c.07.023.117.234.07.281-.047.023-.188-.094-.305-.141-.141-.07-.07-.328-.07-.398s-.188-.141-.281-.141c-.07 0-.164.023-.164-.164 0-.164-.258-.258-.328-.258-.094 0-.516-.164-.656-.164s-.375-.117-.445-.07-.234-.094-.305-.094-.07.047-.234.141zm11.203 6.703c.117-.023.211.188.047.211h-.023c-.117 0-.141-.211-.023-.234zm1.782-.141c.117-.023.211.164.047.211h-.023c-.117 0-.141-.211-.023-.234zm-.774.164c-.07-.047-.117-.094-.234-.094-.07 0-.234-.023-.234-.023s.234-.211.328-.211c.094-.023.211-.047.305-.023.117.023.281.094.281.281-.023.164-.094.023-.141.023-.023 0-.141.07-.234.07h-.047zm-2.062-.773s.328-.094.398-.094.281 0 .398.094.305.211.398.188.258.141.234.188-.234.047-.305-.023c-.07-.047-.305-.164-.375-.234-.047-.07-.352-.047-.492-.047h-.164c-.07 0-.141-.023-.117-.094zm1.007-.375c.117-.023.211.117.047.141h-.023c-.117 0-.141-.117-.023-.141zm-.375-5.86c.117-.047.164.07.094.117h-.047c-.094 0-.164-.07-.047-.117m-.515-.093c.094-.094.234 0 .188.047 0 .023-.023.023-.07.023-.07 0-.164-.047-.141-.07zm-2.578-1.711c.07-.023.305-.047.352 0 .07.047.117.234.07.258-.047 0-.023.07-.188.164-.164.07-.211-.164-.234-.211 0-.023-.07-.023-.141 0-.047 0-.094.023-.141.023-.094 0-.141-.141-.07-.188.047-.047.141-.023.211-.023h.141zm.656.094c-.023-.07.258-.188.328-.211s.141.047.234.07c.094 0 .07.141 0 .164-.07 0-.258.023-.375.047h-.047c-.094 0-.141-.047-.141-.047zm-.024-.375c.047-.117.281-.07.305.047.023.047-.047.07-.094.07-.094 0-.234-.047-.211-.094zm-.539-.211c.164-.023.234.07.234.117s-.117.188-.234.164h-.07c-.047 0-.047 0-.094-.07-.047-.094-.328-.047-.375-.047s-.094.164-.164.188-.117-.07-.07-.07c.023-.023-.047-.211.023-.258.047-.047.281-.047.469-.023zm-3.468-.071c.047 0 .398-.117.586-.141s.258.07.281.117.445.07.445.07.211.117.234.141c.047.023.141 0 .188-.047s.07-.117.211-.141.141.117.234.141c.07.023.117 0 .188-.047.094-.047.141.047.141.047s-.047.164-.047.234c0 .047-.094.07-.117.117s-.305 0-.422-.023c-.094-.023-.328-.023-.398 0s-.258.023-.328 0-.07-.141-.141-.188c-.047-.047-.188.07-.258.094s-.188-.117-.164-.188c0-.07-.258-.023-.305 0s-.234.023-.352.023-.211 0-.188-.047c.023-.07.117-.07.188-.07s-.047-.117 0-.117zm4.922.399s-.258-.07-.305-.164c-.07-.094-.305-.094-.422-.141s-.281-.117-.375-.164-.047-.188-.047-.164.188.07.305.094c.234.047.211.047.305.07s.281.164.375.211c.07.047.164.117.258.117h1.102c.07 0 .422.07.398.094s-.047.094-.211.094-.469-.023-.68-.047-.398.023-.398.023l-.281-.023zm-3.61-.586c.164-.047.305-.164.422-.164s.047.188.047.234c.023.047-.117.07-.188.047-.047-.047-.234.023-.305.023s-.094-.094 0-.141zm1.195-.117c.023-.117.141-.094.258-.117.117 0 .281 0 .422.047.164.047.141.047.211.117s.094.188.023.188-.117-.023-.258-.047c-.117-.023-.094-.047-.117-.094s-.258 0-.352 0-.188-.047-.188-.117zM3.234 3.961c.188.023.469.023.516.023s.328.094.492.047.258.023.305.047.07.023.141.094.141.023.234-.047c.094-.047.07-.117.07-.117l.094-.023c.07-.023.141.023.352.047.234.023.164-.047.328-.094a.5.5 0 0 1 .258.023c.047.023.094.047.117.023.047-.023.117-.117.164-.07s.117.164.117.164.164-.141.211-.141.211.047.305.047c.094-.023.445-.023.539.047.07.07.281.047.398.117s.211-.047.164-.07-.188-.141-.188-.141-.211-.234-.234-.281-.07-.047-.117.07-.258.117-.492.117-.07-.117-.328-.117c-.258-.023-.164-.117-.07-.117.07 0 .141-.164.164-.258s.117-.07.305-.07h.422c.094.023.141 0 .188-.023s.094-.047.188-.023c.188.023.094.047.188.117.117.07.164.047.328.117.141.07.094.07.164.07.07.023.281-.023.422-.047s.234-.023.305.047.047.164.141.234-.047-.234-.047-.352.188-.023.305-.023.258-.047.281.023c.023.047-.188.141-.07.258s.211.164.305.164.352.023.234.164-.398.141-.492.141-.258.047-.211.141c.047.07.258.047.398.047s.609.047.727 0 .094-.188-.047-.234-.023-.117.117-.094c.07.023.117 0 .164 0s.094-.023.07 0c-.023.047.023.141.023.234q0 .175.141.141c.141-.034.117-.047.211-.047.094-.023.047-.234-.023-.352-.047-.117-.094-.188-.07-.258 0-.07.164-.07.234-.023.07.07.188.211.188.211s.164.094.211.211.07.07.188.023c.117-.07.141-.047.234.023s.023.211.023.234c0 .047.117 0 .141-.07 0-.094.141-.094.188-.117.07-.023.07-.188.07-.188s-.164-.047-.352-.023c-.164.023-.234-.023-.375-.117s-.047-.164-.117-.258.211-.141.398-.234c.164-.07.328-.023.305.164-.023.211-.047.164.141.141.164-.047-.047-.211.07-.234a3 3 0 0 1 .398-.047c.094.023.516-.047.633-.047s.281.094.398.164c.141.07.469.164.539.211.094.047.633.117.703.141.047.023.047.188.117.328.047.141.188.047.258.047.047 0 .234.094.281.164s.445.117.445.117-.117.117-.141.164c-.047.047-.164.07-.211.117-.094.047-.164-.023-.281-.07-.094-.07-.281-.117-.328-.094s0 .07.023.117c.047.047.211.094.328.188.141.07.094.164.117.258 0 .117-.094-.047-.234-.07s-.141.117-.141.117-.164-.023-.234-.023c-.094 0 0 0-.164-.117-.07-.07-.117-.023-.141 0s-.023.047-.07.023c-.094-.047-.164-.141-.188-.117s-.07-.023-.117-.047-.094-.07-.141-.047h-.211c-.117 0-.234-.023-.281 0-.07.023-.141.023-.211.047-.094.023-.094-.188-.07-.258.047-.07.141-.07.328-.047.164.047.188 0 .234-.07s.07-.141.258-.188 0-.094-.07-.117c-.047-.023-.117-.07-.164 0s-.141.164-.141.164-.094 0-.258-.023-.047-.07.023-.094c.047-.023.141-.188.07-.234s-.094-.07-.211-.047-.047-.094-.117-.141c-.094-.047-.047.023-.047.07s-.117.047-.117.047-.188-.023-.258 0-.188.07-.141.117.164.047.211.164-.164.141-.211.164c-.047 0-.188.07-.188.07s-.164-.047-.305-.047-.164.023-.141.07.094.023.141.023.047.07.141.047c.117-.023.094-.07.211.047s.211.094.398.188-.023.211-.117.211-.094-.07-.141-.164c-.07-.07-.281.023-.281.023s-.188.094-.281.094-.164-.023-.047-.117-.141-.094-.141-.234-.047.141-.047.211c0 .047-.047.047-.117.023h-.211c-.234.023-.188.117-.492.305-.281.188-.352.234-.328.398s.094.117.211.164c.117.023.07.234.188.211.094-.023.164-.07.352.023s.281.117.516.164.375.117.492.07c.141-.023.188 0 .188.117 0 .094.094.117.07.234 0 .117.141-.117.141-.117s.07.211.023.234c-.07.023.023.141.07.141h.07c.047 0 .117.023.164-.023.07-.07-.047-.258-.047-.352 0-.07-.07-.117-.117-.211-.047-.07.094-.094.164-.023.047.07.141.023.234-.047s.094-.188.094-.188-.164-.211-.281-.258-.047-.07.07-.094 0-.07.023-.211c.047-.141.047-.234.117-.234.047 0 .305-.047.492-.023s.305.164.422.164c.141 0 .352.047.398.117s-.164.07-.047.188c.094.117.094.094.188.141s.211.023.328-.141c.094-.164.164-.164.211-.117.047.023.305.328.375.398s.188.211.211.281.188.07.258.07c.047 0 .258.141.281.234 0 .094.047.117.234.141.188.047 0 .188-.023.281-.047.07-.047.117-.117.211-.023.047-.023.047 0 .047s.047-.023.07 0c.07.047.094.094.188.07s.141 0 .188.094c.047.07.117.141.141.211s0 .164-.07.117c-.07-.07-.234-.023-.234-.023s-.094.07-.117.047c-.023-.047-.07-.094-.188-.07a.2.2 0 0 1-.164 0h-.117c-.094.023-.141-.047-.07-.117.07-.047.07-.258.211-.328s.094-.211 0-.211-.141.117-.188.141c-.07.023-.141.023-.258.094-.094.07-.352.047-.234.07.094.023-.164.141-.211.141-.094 0-.07-.164-.07-.234s-.117.047-.117.047-.211-.117-.281-.047-.188.117-.305.211c-.094.07-.328.211-.328.211s.094-.047.234-.07c.164-.047.141-.023.281-.094s.258-.094.375.023c.094.117-.023.188-.023.188s.047.094.117.117c.047.023.047-.023.141-.07s.047.117.07.164c.047.047.117.047.188 0 .07-.07.094-.117.141-.07s.07.141.117.234-.258.117-.328.141c-.07 0-.305.07-.352.07-.047.023-.164.141-.281.141s-.094-.164-.117-.258c0-.094-.117.023-.141.047-.023.047-.141.023-.234.047-.094 0-.258.094-.258.211s.094.164.07.211-.258.094-.352.07-.234.047-.188.094.047.141-.07.117c-.094 0-.094.094-.07.164.047.07-.117.211-.141.141-.047-.047-.117-.07-.117 0s.023.141.117.258c.07.117-.164.164-.281.258-.094.07-.398.352-.539.398s-.141.234-.07.305c.094.07.141.352.188.445s-.023.352-.141.352c-.117-.023-.07-.164-.188-.211s-.188-.281-.211-.445c-.047-.164-.07-.07-.141-.023-.094.047-.164-.117-.188-.141s-.117 0-.211 0c-.07 0-.164.023-.234.023-.164-.023-.211.07-.211.094 0 .047-.023.164-.188.07-.141-.07-.164-.07-.328-.07-.141 0-.281 0-.305.047s-.164.164-.258.188-.281.164-.188.188c.07.023.07.211.023.328s-.047.305-.023.492.188.305.328.422.211.164.352.047.211-.047.234-.023c.047.023.141-.07.117-.188-.047-.117.047-.234.188-.211.047 0 .117 0 .188-.023.07 0 .141-.023.188-.023.117 0 .141.258 0 .375-.164.117-.07.281-.094.398s-.141.141 0 .141.094.023.188.047.164-.07.281-.094c.094 0 .328.211.281.305a1 1 0 0 0-.07.469c.047.164.07.164.117.234.023.047.141.164.258.117s.234-.094.281-.141.305.094.281.141c-.023.023.094.07.164.023.094-.023.117-.094.188-.211a.7.7 0 0 1 .281-.211c.047 0 .211-.164.328-.141.094.023-.047.164-.047.234 0 .094 0 .305.047.328.07 0 .047-.164.117-.281.07-.141.211-.188.281-.188s.117.258.211.211c.094-.07.281-.047.328.023.023.07.07.117.07.117s.07-.047.07-.117c0-.094.211-.141.352-.07s.094.094.164.117c.07 0 .141-.164.164-.188.047-.023 0 .211-.094.328-.117.094.07.07.094.117.023.023.047.023.094 0 .047 0 .117 0 .141.023.047.047.164.094.234.258.094.117.211.094.375.07s.375.07.539.258c.164.164.117.305.234.305s.141.141.141.188-.234.164-.352.188c-.141 0-.141.141.07.117.211-.047.117-.117.258-.141.141-.047.258.047.164.211-.141.164-.375.164-.164.188s.094-.047.211-.188c.117-.164.117-.117.188-.117.094 0 .258.047.328.094s.234.141.352.188c.117.07.258.047.328.023s.328.07.398.188c.07.094.258.117.375.164.094.047.234.188.234.328.023.141-.141.422-.141.492-.023.047-.234.305-.422.469s-.07.352-.07.422c.023.07-.141.375-.094.445s-.047.211-.141.328c-.094.094-.141.258-.188.352-.07.094-.234.07-.398.117-.164.023-.234.07-.234.07s-.305.117-.445.234c-.164.117.047.305-.023.445s-.164.141-.234.305c-.047.117-.094.094-.117.07-.023 0-.047-.023-.07 0-.07.047-.117.141-.117.258-.023.094-.141.211-.328.375-.164.164-.281.141-.469.07-.188-.047-.164-.516-.188-.445s-.023.305.023.352c.023.047.117.211.164.234.07.047.047.117 0 .164-.047.07-.211.305-.258.328s-.469.07-.563.023c-.07-.047-.117.094-.117.188.023.094.094.164-.07.141s-.352-.117-.352-.047.047.211.117.211.164-.047.117.047-.141.164-.211.211c-.047.047-.117.164-.258.258s-.141.141-.117.188.234.023.281.047-.047.211-.094.258-.281.234-.375.281-.094.211-.047.328c4.453-1.406 7.781-5.344 8.273-10.125-.117-.094-.047-.211-.07-.328-.023-.141-.164-.188-.094-.211s.047-.094.234-.281c0-.141.023-.281.023-.422v-.094c-.047-.094-.117-.258-.023-.422a11.77 11.77 0 0 0-2.766-7.125 6 6 0 0 1-.398.047c-.094 0-.234.211-.258.258s-.328 0-.422 0-.188.117-.375.141c-.164.023-.094.141-.07.234 0 .094-.047.141-.141.117-.117-.023-.094.047-.117.117s.023.188-.094.281c-.094.07-.141.117-.258.094-.117 0-.117-.211-.141-.188-.047 0-.234.141-.281.07s-.281-.234-.375-.258c-.094-.047-.164-.188-.188-.258-.047-.07.117-.07.07-.07-.047-.023-.211-.047-.258-.094s-.141-.258-.164-.328c0-.07.141-.164.141-.211 0-.023-.141-.023-.188-.023s-.117-.141-.047-.281.211-.094.211-.094h.117c.07 0 .047.164.023.234s.047.07.094.094.07-.07.07-.117c0-.07-.117-.211-.188-.281-.047-.07-.234-.094-.258-.047s-.164.234-.211.188-.047-.445-.117-.563-.328-.141-.445-.211c-.094-.047-.492-.117-.563-.117-.023 0-.094 0-.141.023a.5.5 0 0 1-.258 0c-.094-.023-.094-.211-.094-.211s-.07.188-.094.234c-.047.047-.141.07-.188.047s-.164-.234-.281-.258h-.117c-.047 0-.094 0-.164-.047-.141-.117.258-.094.281-.094s.328-.07.352-.141c0-.094.094-.188.234-.141.141.023.211-.094.188-.211s.258-.234.305-.164c.047.047.281 0 .211-.117s.281-.211.609-.234.422.023.492.07.281.047.398-.023A11.9 11.9 0 0 0 11.992.304c-3.469 0-6.586 1.5-8.766 3.867z"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Globe",e.s(["Globe",0,i])},357508,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(546446),l=e.i(632137),i=e.i(35137),r=e.i(121301);let n=(0,a.forwardRef)(({isImperial:e,isMetric:s,isHybrid:n,locale:o,LOCALE_DATA:c,handleUnitChange:d,handleLocaleChange:u,onClose:f},p)=>{let[h,m]=(0,a.useState)(!1);return(0,t.jsx)("div",{ref:p,className:(0,l.cn)("absolute top-full right-0 left-0 z-110 flex w-full flex-col bg-white","max-h-[calc(100vh-56px)] overflow-hidden border-b border-[#2524221A] md:max-h-[calc(100vh-73px)]"),children:h?(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col",children:(0,t.jsx)(i.default,{locale:o,LOCALE_DATA:c,handleLocaleChange:u,onBack:()=>m(!1),onClose:f})}):(0,t.jsx)("div",{className:"overflow-y-auto pt-2 pb-3",children:(0,t.jsx)(r.default,{isImperial:e,isMetric:s,isHybrid:n,locale:o,LOCALE_DATA:c,handleUnitChange:d,onOpenLocationLanguage:()=>m(!0)})})})});n.displayName="SettingsMenuContent";var o=e.i(674885),c=e.i(166763),d=e.i(646341),u=e.i(889753),f=e.i(617874),p=e.i(776169),h=e.i(314552),m=e.i(961123),g=e.i(537989),v=e.i(611540),b=e.i(436066);let x=new Set(["article","video","index"]);e.s(["default",0,function({open:e,onOpenChange:l}={}){let i=(0,s.useAtomValue)(b.settingsMenuOpenAtom),r=(0,s.useSetAtom)(b.settingsMenuOpenAtom),w=void 0!==e,y=w?e:i,C=(0,a.useCallback)(()=>{w?l?.(!1):r(!1)},[w,l,r]),A=(0,a.useRef)(null),j=(0,s.useAtomValue)(o.isImperialUnitsAtom),S=(0,s.useAtomValue)(o.isMetricUnitsAtom),k=(0,s.useAtomValue)(o.isHybridUnitsAtom),L=(0,m.useParams)(),I=L?.locale||"en-US",N=L?.locId,P=(0,s.useAtomValue)(g.pageIdAtom),{updatePreferences:R}=(0,p.usePreferences)(),E=(0,s.useAtomValue)(u.userPreferencesAtom);(0,a.useEffect)(()=>{let e=(0,d.getCookie)("unitOfMeasurement")?.toString();if(e){let t=(0,f.unitsSystemByCode)(e),a=t?.name,s=E?.unit;a&&a!==s&&R({unit:a})}},[R,E?.unit]);let $=async e=>{try{await R({unit:e})}catch(e){console.error("Failed to update unit preference:",e)}},_=async e=>{try{let t=(0,c.convertLocaleFormat)(e);if(await R({locale:t}),(0,d.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),C(),P&&x.has(P)){window.location.href=e===h.defaultLocale?"/":`/${e}`;return}let a=P?v.URLS[P]:void 0,s=a&&N?(0,v.interpolateUrl)(a,{locale:e,locId:N}):null;if(s){window.location.href=s;return}let l=I!==h.defaultLocale&&window.location.pathname.startsWith(`/${I}`)?window.location.pathname.slice(`/${I}`.length)||"/":window.location.pathname;window.location.href=e===h.defaultLocale?l:`/${e}${l}`}catch(e){console.error("Failed to update locale preference:",e)}};return((0,a.useEffect)(()=>{function e(e){if(!y)return;let t=e.target;A.current&&t&&!A.current.contains(t)&&!t.closest("[data-settings-menu-trigger]")&&C()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[C,y]),y)?(0,t.jsx)(n,{ref:A,isImperial:j,isMetric:S,isHybrid:k,locale:I,LOCALE_DATA:c.LOCALE_DATA,handleUnitChange:$,handleLocaleChange:_,onClose:C}):null}],357508)},867775,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(730921),l=e.i(683903),i=e.i(877957),r=e.i(367810),n=e.i(901351),o=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(611540);let f=({isUserLoggedIn:e,regime:f,deviceClass:p,experience:h,isPremiumUser:m})=>{let g=(0,l.useTranslations)("PrivacyConsentModal"),v=(0,s.useLocale)(),b=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:v}),[x,w]=(0,a.useState)(!1),[y,C]=(0,a.useState)(!1),[A,j]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(f)||m||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(C(!0),w(!0)):e&&a&&(j(!0),w(!0))},[f,m,e]);let S=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await n.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},k=t=>{let a=window,s=window.top,l=a.DprSdk||s?.DprSdk;l?(l.setUserConsents({[o.Purpose.SALE_OF_DATA]:t}),e&&S({purpose:o.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),y?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):A&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),w(!1)):console.error("Unable to fix conflict, missing DprSdk.")},L="",I="";if(y?(L="gpcConflictHeader",I="gpcConflictParagraph",f===c.Regime.USA_CCPA&&(I+="_usa-ccpa")):A&&(L="saleOfDataConflictHeader",I="saleOfDataConflictParagraph",f===c.Regime.USA_CCPA&&(I+="_usa-ccpa")),I)return(0,t.jsx)(r.Dialog,{open:x,onOpenChange:w,children:(0,t.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==p?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===h?"wu-theme":""} `,onEscapeKeyDown:e=>{(A||y)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[L&&(0,t.jsx)(r.DialogHeader,{children:(0,t.jsx)(r.DialogTitle,{className:"text-xl font-semibold",children:g(L)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:g.rich(I,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:b,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(r.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(i.Button,{onClick:()=>{k(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,t.jsx)(i.Button,{onClick:()=>{k(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModal",0,f,"default",0,f])},567277,e=>{"use strict";var t=e.i(546584),a=e.i(592121),s=e.i(961123);function l(){return false}function i(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function r(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(s.current)e.route&&s.current(e.route);else{let a=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let a=e.scriptSrc?e.scriptSrc:l()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${a}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let s=document.createElement("script");return s.src=a,s.defer=!0,s.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),s.dataset.sdkv="1.3.1",e.sampleRate&&(s.dataset.sampleRate=e.sampleRate.toString()),e.route&&(s.dataset.route=e.route),e.endpoint?s.dataset.endpoint=e.endpoint:e.basePath&&(s.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(s.dataset.dsn=e.dsn),l()&&!1===e.debug&&(s.dataset.debug="false"),s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:e=>{s.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});a&&(s.current=a.setRoute)}},[e.route]),null}function n(e){let l=(()=>{let e=(0,s.useParams)(),t=(0,s.useSearchParams)()||new URLSearchParams,a=(0,s.usePathname)();if(!e)return null;let l=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!l)return a;let r=a;try{let e=Object.entries(l);for(let[t,a]of e)if(!Array.isArray(a)){let e=i(a);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=i(a.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch(e){return a}})();return a.default.createElement(r,{route:l,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(n,{...e}))}])},540039,e=>{"use strict";var t,a=e.i(546584),s={scriptHostname:("u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof a.default?"dpl_7tAAZxdCEYZDGKgEfbEfGRsGyHAm":void 0},l=e.i(592121),i=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,l.useEffect)(()=>(e&&i&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(s,e);let a=document.createElement("script");for(let[l,i]of(a.src=`${s.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((s.ownerId&&s.projectId?{"data-owner-id":s.ownerId,"data-project-id":s.projectId,"data-branch":t??s.branch}:s.deploymentId?{"data-deployment-id":s.deploymentId}:void 0)??{})))i&&a.setAttribute(l,i);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),i=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],540039)},520362,e=>{"use strict";var t=e.i(699173),a=e.i(592121);let s=e=>{let{apiRoute:t,depth:s,refresh:l,serverURL:i}=e,r=(0,a.useRef)(!1),n=(0,a.useCallback)(e=>{e.origin===i&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof l?l():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[l,i]);return(0,a.useEffect)(()=>("u">typeof window&&window.addEventListener("message",n),r.current||(r.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}),l()),()=>{"u">typeof window&&window.removeEventListener("message",n)}),[i,n,s,t,l]),null};var l=e.i(961123);let i=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),r={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"},n=e=>{let a=(0,l.useRouter)();return(0,t.jsx)(s,{...e,refresh:a.refresh})};e.s(["LivePreviewListener",0,n],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)(null),s=(0,a.useRef)(null),l=(0,a.useRef)(null),n=(0,a.useRef)(null),o=(0,a.useCallback)(()=>{if("u"{let a=t.current,l=e.current;if(!a||!l)return;if(!a.isConnected){t.current=null,l.style.opacity="0",s.current?.disconnect();return}let i=a.getBoundingClientRect();l.style.top=`${i.top+window.scrollY}px`,l.style.left=`${i.left+window.scrollX}px`,l.style.width=`${i.width}px`,l.style.height=`${i.height}px`,l.style.opacity="1"},[]),d=(0,a.useCallback)(()=>{t.current=null,n.current=null,e.current&&(e.current.style.opacity="0"),s.current?.disconnect()},[]),u=(0,a.useCallback)(()=>{t.current&&null===l.current&&(l.current=requestAnimationFrame(()=>{l.current=null,c()}))},[c]),f=(0,a.useCallback)(e=>{if(e===n.current)return;let a=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!a)return void i.debug("No element found for block ID",{blockId:e});let l=(e=>{let t=e,a=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?f(e.data.blockId):d())};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!==l.current&&cancelAnimationFrame(l.current),s.current?.disconnect(),e.current?.remove()}},[f,d,u]),null},"LivePreviewListener",0,n],520362)},556441,e=>{"use strict";var t=e.i(699173),a=e.i(961123),s=e.i(240058),l=e.i(877957),i=e.i(368847),r=e.i(132084),n=e.i(528600),o=e.i(837879),c=e.i(498076),d=e.i(37429),u=e.i(683199);e.s(["default",0,()=>{let e=(0,a.useSearchParams)(),f=e.get("par")||e.get("partner"),p=(0,c.useIsMobile)(),h=(0,o.useSubscriptionsEnabled)(),{user:m}=(0,n.useUser)(),{isUserPremium:g}=m,v=(0,u.usePremiumSource)();return f===r.Partner.TIKTOK&&p&&h&&!g?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(d.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(i.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(i.default,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(l.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(s.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>v({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},10993,e=>{e.q("/_next/static/media/focusLogo.2pi2rjgfr3x4_.svg")},348501,e=>{e.q("/_next/static/media/dlpg-you.0o6zs2s1qinws.png")},738426,e=>{"use strict";var t=e.i(592121),a=e.i(598513);let s={"you-hub":"you-hub-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install"},l={"you-hub":{"get-the-app":"Get the app","learn-more":"Learn more"},"24-hour-radar":{"get-the-app":"Get the app","learn-more":"Learn more"},"floating-button":{"get-the-app":"Get the App"}};e.s(["useTrackInstallPromptClick",0,function(e){let i=(0,a.useSendInteractionEvent)();return(0,t.useCallback)(t=>{i({moduleId:s[e],interactionType:"click",interactionElement:l[e][t]},{flushImmediately:!0})},[i,e])}])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",s="https://app.appsflyer.com",l="weather.com",i=`https://apps.apple.com/us/app/the-weather-channel/${a}`,r=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,s,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,i,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,r],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:i,currentUrl:r,allowAppsFlyer:n,deepLinkValue:o}){if(!n||!i||null===e)return"";let c="android"===e?t:a,d=encodeURIComponent(i.replace(/ /g,"_")),u=`${s}/${c}?pid=WWW&af_adset=${d}&c=${l}`;return o&&(u+=`&deep_link_value=${encodeURIComponent(o)}`),"ios"===e&&r&&(u+=`&af_ios_fallback=${encodeURIComponent(r)}`),u}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},677691,e=>{"use strict";var t=e.i(592121),a=e.i(726812),s=e.i(16730),l=e.i(881282);e.s(["useAppInstallLink",0,function(e,i){let[r,n]=(0,t.useState)(null),[o,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{n((0,l.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let f=(0,s.getAppsFlyerLink)({platform:r,trackAdset:e,currentUrl:o,allowAppsFlyer:d,deepLinkValue:i}),p="android"===r?a.PLAY_STORE_URL:a.APP_STORE_URL;return{href:f||p,platform:r}}])},606703,103e3,e=>{"use strict";var t=e.i(699173),a=e.i(592121);e.s(["Card",0,function({src:e,alt:a,top:s,left:l,width:i}){return(0,t.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:s,left:l,width:i}})},"CompositeFrame",0,function({left:e,top:a,width:s,height:l,children:i}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:a,width:s,height:l},children:i})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:s,color:l,cx:i,cy:r,rx:n,ry:o}){let c=(0,a.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${s}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:i,cy:r,rx:n,ry:o,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:s,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],606703);let s={src:e.i(348501).default,width:516,height:380,blurWidth:8,blurHeight:6,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAAoklEQVR42h3Lyw6CMBRF0f7/ZzFxZEKiMYKiJjz6oAVuW4Fc0WPDYM/WFodTl12LG5flnavHk4eRePKRpe75WNhMnCubN02Dtm33jDEg7+GGAZfXmAtlXKjrGl3XQimFdV2xzDMiTQm+gxgnYqcV4mAxx4CQbu8MFl1jpYkFJTBqCW86UEJSSoQEtkj4MLMIYaa+t9xbx9rYPR8ib1/wwj/6A1qGsw/Ra/bcAAAAAElFTkSuQmCC"};e.s(["default",0,s],103e3)},677997,429745,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:s,descId:l,...i},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...i,children:[s?(0,t.jsx)("desc",{id:l,children:s}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"lightning"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.468 14.608a.56.56 0 0 0 .054.328c.05.1.13.178.224.223q.086.04.18.04a.43.43 0 0 0 .207-.064.5.5 0 0 0 .159-.162l6.017-8.742a.565.565 0 0 0 .05-.514.5.5 0 0 0-.17-.21.43.43 0 0 0-.246-.079H9.745l.8-4a.57.57 0 0 0-.092-.438.5.5 0 0 0-.161-.14.4.4 0 0 0-.2-.05H5.463a.43.43 0 0 0-.294.107.52.52 0 0 0-.168.289L3.612 7.882a.57.57 0 0 0 .091.443q.069.092.166.142a.4.4 0 0 0 .206.047H6.31zm5.49-8.18H8.526L9.45 1.8H5.896L4.71 7.514h2.748l-.692 5.007zm-5.022 8.31v-.01l.001-.055m-.03.097v-.028l-.004-.074m.005.102-.014-.021zm0 0v.027z",clipRule:"evenodd"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));i.displayName="Lightning",e.s(["Lightning",0,i],677997);var r=e.i(367810),n=e.i(226602),o=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:a,title:s,headline:l,description:i,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:f,getAppLabel:p="Get the app",onGetAppClick:h,learnMoreHref:m,learnMoreLabel:g="Learn more",onLearnMoreClick:v,closeLabel:b="Close"})=>(0,t.jsx)(r.Dialog,{open:e,onOpenChange:a,children:(0,t.jsxs)(r.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,o.cn)("flex flex-col gap-12 overflow-y-auto border-0 border-b border-black/10 bg-white p-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(r.DialogClose,{"aria-label":b,className:"absolute top-4 left-4 z-10 flex size-8 cursor-pointer items-center justify-center rounded-2xl bg-[#f5f5f5] text-gray-900 transition-colors hover:bg-gray-200 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(n.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),s?(0,t.jsx)(r.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:s}):(0,t.jsx)(r.DialogTitle,{className:"sr-only",children:l}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(c?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:c,alt:d,className:"size-full rounded-lg object-cover"})}):null),(0,t.jsxs)("div",{className:"flex flex-col gap-2 px-4 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:l}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:i})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("a",{href:f,onClick:h,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:p}),m&&(0,t.jsx)("a",{href:m,onClick:v,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:g})]})]})})],429745)},460581,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(240058),l=e.i(64412),i=e.i(677997),r=e.i(995113),n=e.i(702957),o=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),f=e.i(876329),p=e.i(51398),h=e.i(240027),m=e.i(632137),g=e.i(546446);e.i(609717);var v=e.i(950771),b=e.i(537989);e.i(647872);var x=e.i(494889),w=e.i(611540),y=e.i(738426),C=e.i(381477),A=e.i(190344),j=e.i(427977),S=e.i(961123),k=e.i(559421),L=e.i(388706),I=e.i(498076),N=e.i(683903),P=e.i(304116),R=e.i(269153),E=e.i(528600),$=e.i(837879),_=e.i(683199),B=e.i(677691),U=e.i(429745),D=e.i(606703),O=e.i(103e3),T=e.i(226602),M=e.i(697380),F=e.i(512134),z=e.i(521350),H=e.i(358273);let G="wx-next/get-app-button:dismissed-session",V=["/hourbyhour","/radar","/download/you"];function q(){let e=(0,I.useIsMobile)(),s=(0,S.usePathname)(),l=(0,g.useAtomValue)(M.fixedBottomAdHeightAtom),{isDismissed:i,dismiss:r}=function(){let e=(0,F.useIsClient)(),[t,s]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,z.isLocalStorageAvailable)())return null;try{return localStorage.getItem(G)}catch{return null}}();if(!e)return!1;let t=(0,H.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,H.getMetricsSession)()?.sessionId;if(e&&(0,z.isLocalStorageAvailable)())try{localStorage.setItem(G,e)}catch{}s(!0)},[])}}(),{href:n}=(0,B.useAppInstallLink)("floating-button","floating-button"),o=(0,y.useTrackInstallPromptClick)("floating-button");if(!e||i||V.some(e=>s.includes(e)))return null;let c=`calc(3.5rem + ${l}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:c},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href:n,onClick:()=>o("get-the-app"),className:"relative z-2 flex h-full items-center gap-2 pr-2 pl-4 font-semibold text-white no-underline focus:outline-none",children:(0,t.jsx)("span",{className:"text-sm whitespace-nowrap",children:"Get the App"})}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:r,className:"relative z-2 flex h-full items-center pr-4 pl-1 text-white focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(T.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e=(0,I.useIsMobile)(),T=(0,S.usePathname)(),M=(0,k.useCanonicalBasePath)(),[F,z]=(0,a.useState)(!1),{href:H}=(0,B.useAppInstallLink)("you-hub","you-hub"),G=(0,y.useTrackInstallPromptClick)("you-hub"),V=(0,R.useIsSamsungPartner)(),W=(0,g.useAtomValue)(b.pageIdAtom),Y=(0,N.useTranslations)("SidebarNavigation"),{user:Q}=(0,E.useUser)(),{isUserPremium:K}=Q,X=(0,$.useSubscriptionsEnabled)(),Z=(0,_.usePremiumSource)(),{location:J,isLoading:ee}=(0,l.useLocation)(),et=(0,g.useAtomValue)(v.pageLocaleAtom),ea=(0,g.useAtomValue)(x.newsHubEnabledAtom),es=(0,A.useVideoNavUrl)(),{data:el}=(0,C.default)(["navigation/getQuickNav",et],()=>(0,j.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ei=(0,a.useMemo)(()=>{if(ee||!J)return[];let e=J.placeId||"",a=J.featureId,s=J.canonicalID,l=(0,P.buildLocationPageHref)({pageType:"today",locale:et,canonicalID:s,featureId:a,placeId:e,canonicalBasePath:M,skipCanonical:V}),m=(0,P.buildLocationPageHref)({pageType:"radar",locale:et,canonicalID:s,featureId:a,placeId:e,canonicalBasePath:M,skipCanonical:V}),g=M?(0,L.navTypeForSuffix)(T.split("/").pop()):null,v="en-US"===et?"/":`/${et}`,b=T===v||"/"!==v&&T===`${v}/`||(M?"forecast"===g:T.includes("/weather/today/")||T.includes("/weather/hourbyhour/")||T.includes("/weather/tenday/")||T.includes("/weather/monthly/")||T.includes("/forecast/allergy/")||T.includes("/forecast/air-quality/")||T.includes("/forecast/cold-flu/")),x=M?"radar"===g:T.includes("/weather/radar/")||T.includes("/weather/maps/"),y=T.includes("/subscribe"),C="video"===W,A="news"===W,j="en-US"===et&&ea,S=el?.videoLinkLocaleInclude?.["en-US"],k=S?.override?`?${S?.adRef}`:"",I=es?`${es}${k}`:"",N="h-6 w-6 text-inherit";return[{name:Y("forecast"),href:l,icon:(0,t.jsx)(n.PartlyCloudyBold,{className:N}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:N}),isActive:b},...j?[{name:"News",href:w.URLS.news,icon:(0,t.jsx)(p.News,{className:N}),activeIcon:(0,t.jsx)(h.NewsFilled,{className:N}),isActive:A}]:es?[{name:Y("video"),href:I,icon:(0,t.jsx)(c.VideoPlayerBold,{className:N}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:N}),isActive:C}]:[],{name:Y("radar"),href:m,icon:(0,t.jsx)(u.RadarBold,{className:N}),activeIcon:(0,t.jsx)(f.RadarBoldFilled,{className:N}),isActive:x},...X&&!K&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(i.Lightning,{className:N}),activeIcon:(0,t.jsx)(r.LightningFilled,{className:N}),isActive:y,onClick:()=>Z({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[ee,J,et,T,W,ea,es,el,M,Z,V]);if(!e)return null;let er="en-US"===et&&!V;return 0===ei.length?er?(0,t.jsx)(q,{}):null:(0,t.jsxs)(t.Fragment,{children:[er&&(0,t.jsx)(q,{}),(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:ei.map(e=>{let a=(0,m.cn)("flex flex-1 flex-col items-center justify-center gap-0.5 rounded-3xl text-xs text-gray-900 transition-colors","hover:bg-gray-100 active:bg-gray-200",{"bg-gray-100 text-blue-500":e.isActive}),l=(0,m.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(s.default,{href:e.href,className:a,"aria-current":e.isActive?"page":void 0,sourceModule:"localsuite-nav",onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.isActive?e.activeIcon:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:a,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:l,children:e.name})]},e.name)})})})}),(0,t.jsx)(U.InstallPromptSheet,{open:F,onOpenChange:z,title:"You Hub",headline:"Weather Your Way",description:"Save your favorite locations and unlock custom forecasts tailored to your daily travel, plans and routines.",imageContent:(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsxs)(D.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(D.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(D.Card,{src:O.default.src,alt:"You Hub cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:H,onGetAppClick:()=>G("get-the-app"),learnMoreHref:"/download/you#you-hub",onLearnMoreClick:()=>G("learn-more")})]})}],460581)}]);