(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(592121);let s=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,s],674339),e.s(["useDebugSystem",0,function(){let[e,l]=(0,t.useAtom)(s),c=(0,a.useCallback)((e,t)=>{l(a=>{let s=a?.[e]||{},l="object"==typeof t&&null!==t&&"object"==typeof s?{...s,...t}:t;return{...a,[e]:l}})},[l]),o=(0,a.useCallback)((e,t)=>{l(a=>{let s=a||{timestamp:new Date().toISOString()},l=s.components||{};if(null===t){let t={...l};return delete t[e],{...s,components:t}}return{...s,components:{...l,[e]:t}}})},[l]),i=(0,a.useCallback)(e=>{c("page",e)},[c]),r=(0,a.useCallback)(e=>{c("route",e)},[c]),n=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&c(e,t)})},[c]);return{debugData:e,updateSection:c,updateComponentData:o,setPageData:i,clearAllDebugData:(0,a.useCallback)(()=>{l({timestamp:new Date().toISOString()})},[l]),updateRouteInfo:r,updatePageDebug:n}}],609858)},752496,e=>{"use strict";var t=e.i(592121),a=e.i(609858);let s=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:l,page:c,onUpdateData:o,onSetPageData:i}){let{updateComponentData:r,setPageData:n}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=o||r,m=i||n;return(0,t.useEffect)(()=>{if(l)return s.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(l),hasPerformance:!!l.performance,hasContext:!!l.context}),d(e,{...l,_collectedAt:new Date().toISOString()}),()=>{s.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,l,d]),(0,t.useEffect)(()=>{c&&!u.current&&(s.lifecycle("Setting page metadata",{title:c.title,assetName:c.assetName,collection:c.collection}),m({...c,_updatedAt:new Date().toISOString()}),u.current=!0)},[c,m]),null}])},837879,e=>{"use strict";var t=e.i(592121),a=e.i(546446),s=e.i(961123),l=e.i(485737),c=e.i(739971),o=e.i(725296),i=e.i(394481),r=e.i(763886),n=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,a.useAtomValue)(c.subscriptionsEnabledAtom),u=(0,a.useAtomValue)(l.geoipCountry),d=(0,s.useParams)()?.locale,m=(0,a.useAtomValue)(i.privacyRegimeAtom)??o.Regime.EXEMPT,f=(0,a.useAtomValue)(r.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&o.US_REGIMES.includes(m)&&f!==n.Partner.OPPO,[e,u,d,m,f])}])},226602,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,...c},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...c,children:[s?(0,t.jsx)("desc",{id:l,children:s}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Close"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),c=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));c.displayName="Close",e.s(["Close",0,c])},671525,e=>{"use strict";var t=e.i(961123);let a=()=>{let e=(0,t.useRouter)();return{navigate:(t,a={})=>{let{mpa:s=!0,replace:l=!1}=a;s?l?window.location.replace(t):window.location.href=t:l?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:a=!0}=t;a?window.location.reload():e.refresh()},router:e}};e.s(["default",0,a,"usePageNavigation",0,a])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),a=e.i(284007),s=e.i(889753),l=e.i(310847),c=e.i(613646);e.s(["mutate",()=>c.j],95870);var c=c,o=e.i(318849);let i=()=>{(0,c.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(o.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,i],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(s.userProfileAtom),c=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{i(),e(a.RESET),c(null)}}],756227)},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,c="US",o){let i,r=a.find(t=>t.placeID===e.placeId);if(r&&l){let t=r.userTag||r.name;if(t&&"Other"!==t){let a=e.displayName,l=s(e,c,""),o="address"===e.type?e.address:void 0;if(t!==a&&t!==l&&t!==o)return t}}if(e?.disputedCountries)i=e.displayName||"";else{switch(e?.type){case"address":i=e?.address?.split(",")[0]?.trim()||"";break;case"city":i=e?.locale?.locale2||"";break;case"locality":i=e?.locale?.locale3||"";break;case"neighborhood":i=e?.locale?.locale4||"";break;case"airport":i=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",a=e?.postalCode||"";i=o?`${t} ${a}`.trim():`${t}`.trim();break}default:i=e?.displayName||""}0===i.length&&(i=e?.displayName||"")}return i}function a(e,t=[],l=!1,c="US",o){let i,r=t.find(t=>t.placeID===e.placeId);if(r&&l){let t=r.userTag||r.name;if(t&&"Other"!==t){let a=e.displayName,l=s(e,c,"");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,c)}}if(e?.disputedCountries)i=e?.displayName||"";else{let t=c===e?.countryCode?"":e?.country||"",a=e?.adminDistrict||"",s=e?.postalCode||"",l=e.city||"";switch(e?.type){case"address":i=[l,a,t].filter(Boolean).join(", ");break;case"city":default:i=[a,t].filter(Boolean).join(", ");break;case"locality":i=[e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"neighborhood":i=[e?.locale?.locale3||e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"postal":{let l=a||e?.locale?.locale2||"";i=[o?`${l} ${s}`.trim():l,t].filter(Boolean).join(", ")}}}return i}function s(e,t,a){let{displayName:s,adminDistrictCode:l,adminDistrict:c,countryCode:o,disputedArea:i,country:r}=e,n=[];return s&&n.push(s),"IL"!==t&&(l?n.push(l):c&&n.push(c)),o!==t&&!1===i&&r&&n.push(r),n.join(a)}e.s(["getLocationContext",0,a,"getLocationName",0,t,"getLocationPresentationName",0,function(e,s=[],l=!1,c="US"){let o=t(e,s,l,c,!1),i=a(e,s,l,c,!0),r=e?.separator?e?.separator:o&&i?", ":"";return`${o}${r}${i}`.trim()}])},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:c=10,sort:o="-publishdate"}){let i={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},${c}`,format:"json",sort:o},r=(0,s.queryStringToSearchParams)(i).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${r}`}},a.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:a=0,limit:l=10,sort:c="-publishdate"}){let o={q:t,pg:`${a},${l}`,format:"json",sort:c},i=(0,s.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${i}`}},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),c=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,c.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,...c},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...c,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"})]})),c=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));c.displayName="ChevronUp",e.s(["ChevronUp",0,c])},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,...c},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...c,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"})]})),c=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));c.displayName="CurrentLocation",e.s(["CurrentLocation",0,c])},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),c=e.i(381477),o=e.i(726249),i=e.i(919101),r=e.i(546446),n=e.i(310847);let u=(e,t)=>{let s=(0,r.useAtomValue)(n.wxuUserRecentAddressesAtom),{data:l}=(0,c.default)(e?(0,o.pointKey)({kind:"placeId",value:e},t):null,()=>e?(0,a.getLocationPointByPlaceId)(e,t):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return l?.location?(0,i.getAddressForLocationData)(l.location,s):l?.location};e.s(["useGetLocationById",0,u],586754);var d=e.i(942400),m=e.i(304116),f=e.i(520938),h=e.i(132084),p=e.i(831826),g=e.i(646341),y=e.i(553329),C=e.i(695881),v=e.i(592121),w=e.i(961123);let b=(0,C.createLogger)("useUpdatedPathname");e.s(["default",0,(e,c)=>{let o=c?.defer??!1,i=c?.targetGeocode,n=c?.featureId?.startsWith("address.")?void 0:c?.featureId,C=c?.canonicalID,A=n??e,x=(0,w.useParams)(),S=x?.locId,j=x?.canonicalLocation,$=(0,w.usePathname)(),L=(0,d.usePageLocale)(),U=(0,r.useAtomValue)(l.preciseGeocodeAtom),k=(0,r.useAtomValue)(s.geoipGeocode),I=U||k,N=!!S||!!j?.length||$.includes(f.LOC_ID_SEGMENT),P=u(o||i?null:e,L),D=i??(P?`${P.latitude},${P.longitude}`:void 0),M=(0,v.useMemo)(()=>(0,p.getPartnerByPattern)((0,g.getCookie)("partner")?.toString()??"")===h.Partner.SAMSUNG,[]),O=(0,v.useCallback)(a=>{let s=(0,f.swapLocationOnCurrentPage)({pathname:$,locId:S,canonicalLocation:j,locale:L,identifier:A,featureId:n,placeId:e,canonicalID:C,skipCanonical:M});if(null!==s)return s;let l=t=>(0,m.buildLocationPageHref)({pageType:t,locale:L,canonicalID:C,featureId:n,placeId:e,skipCanonical:M}),c=l("today");if(M||!I||!a)return c;let o=function(e,a){let[s,l]=e.split(",").map(e=>parseFloat(e??"")),[c,o]=a.split(",").map(e=>parseFloat(e??""));return[s,l,c,o].some(e=>Number.isNaN(e))?null:.621371*(0,t.calculateDistance)(s,l,c,o)}(I,a);return null===o?c:o>=250?l("tenday"):o>=100?l("hourbyhour"):c},[S,j,$,A,n,e,C,L,M,I]);return{path:O(D),isGeolocationLoading:!1,resolvePath:(0,v.useCallback)(async()=>{if(N)return O(void 0);let{data:t,error:s}=await (0,y.tryCatch)((0,a.getLocationPointByPlaceId)(e,L));return s||!t?.location?(b.warn("resolvePath: point fetch failed, falling back to Today",s),O(void 0)):O(`${t.location.latitude},${t.location.longitude}`)},[N,e,L,O])}}],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),c=e??{},o=(0,a.useCallback)(e=>c[e],[c]);return{details:c,resolveDetails:o,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,...c},o)=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",ref:o,"aria-labelledby":a,"aria-describedby":l,...c,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"})]})),c=a.default.forwardRef((e,a)=>(0,t.jsx)(s.BaseIcon,{ref:a,icon:l,...e}));c.displayName="Globe",e.s(["Globe",0,c])},357508,e=>{"use strict";var t=e.i(699173),a=e.i(592121),s=e.i(546446),l=e.i(632137),c=e.i(35137),o=e.i(121301);let i=(0,a.forwardRef)(({isImperial:e,isMetric:s,isHybrid:i,locale:r,LOCALE_DATA:n,handleUnitChange:u,handleLocaleChange:d,onClose:m},f)=>{let[h,p]=(0,a.useState)(!1);return(0,t.jsx)("div",{ref:f,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)(c.default,{locale:r,LOCALE_DATA:n,handleLocaleChange:d,onBack:()=>p(!1),onClose:m})}):(0,t.jsx)("div",{className:"overflow-y-auto pt-2 pb-3",children:(0,t.jsx)(o.default,{isImperial:e,isMetric:s,isHybrid:i,locale:r,LOCALE_DATA:n,handleUnitChange:u,onOpenLocationLanguage:()=>p(!0)})})})});i.displayName="SettingsMenuContent";var r=e.i(674885),n=e.i(166763),u=e.i(646341),d=e.i(889753),m=e.i(617874),f=e.i(776169),h=e.i(314552),p=e.i(961123),g=e.i(537989),y=e.i(611540),C=e.i(436066);let v=new Set(["article","video","index"]);e.s(["default",0,function({open:e,onOpenChange:l}={}){let c=(0,s.useAtomValue)(C.settingsMenuOpenAtom),o=(0,s.useSetAtom)(C.settingsMenuOpenAtom),w=void 0!==e,b=w?e:c,A=(0,a.useCallback)(()=>{w?l?.(!1):o(!1)},[w,l,o]),x=(0,a.useRef)(null),S=(0,s.useAtomValue)(r.isImperialUnitsAtom),j=(0,s.useAtomValue)(r.isMetricUnitsAtom),$=(0,s.useAtomValue)(r.isHybridUnitsAtom),L=(0,p.useParams)(),U=L?.locale||"en-US",k=L?.locId,I=(0,s.useAtomValue)(g.pageIdAtom),{updatePreferences:N}=(0,f.usePreferences)(),P=(0,s.useAtomValue)(d.userPreferencesAtom);(0,a.useEffect)(()=>{let e=(0,u.getCookie)("unitOfMeasurement")?.toString();if(e){let t=(0,m.unitsSystemByCode)(e),a=t?.name,s=P?.unit;a&&a!==s&&N({unit:a})}},[N,P?.unit]);let D=async e=>{try{await N({unit:e})}catch(e){console.error("Failed to update unit preference:",e)}},M=async e=>{try{let t=(0,n.convertLocaleFormat)(e);if(await N({locale:t}),(0,u.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),A(),I&&v.has(I)){window.location.href=e===h.defaultLocale?"/":`/${e}`;return}let a=I?y.URLS[I]:void 0,s=a&&k?(0,y.interpolateUrl)(a,{locale:e,locId:k}):null;if(s){window.location.href=s;return}let l=U!==h.defaultLocale&&window.location.pathname.startsWith(`/${U}`)?window.location.pathname.slice(`/${U}`.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(!b)return;let t=e.target;x.current&&t&&!x.current.contains(t)&&!t.closest("[data-settings-menu-trigger]")&&A()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[A,b]),b)?(0,t.jsx)(i,{ref:x,isImperial:S,isMetric:j,isHybrid:$,locale:U,LOCALE_DATA:n.LOCALE_DATA,handleUnitChange:D,handleLocaleChange:M,onClose:A}):null}],357508)}]);