(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,357508,e=>{"use strict";var c=e.i(902875),l=e.i(247865),t=e.i(546446),a=e.i(632137),s=e.i(35137),o=e.i(121301);let i=(0,l.forwardRef)(({isImperial:e,isMetric:t,isHybrid:i,locale:r,LOCALE_DATA:n,handleUnitChange:d,handleLocaleChange:u,onClose:h},m)=>{let[v,f]=(0,l.useState)(!1);return(0,c.jsx)("div",{ref:m,className:(0,a.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:v?(0,c.jsx)("div",{className:"flex min-h-0 flex-1 flex-col",children:(0,c.jsx)(s.default,{locale:r,LOCALE_DATA:n,handleLocaleChange:u,onBack:()=>f(!1),onClose:h})}):(0,c.jsx)("div",{className:"overflow-y-auto pt-2 pb-3",children:(0,c.jsx)(o.default,{isImperial:e,isMetric:t,isHybrid:i,locale:r,LOCALE_DATA:n,handleUnitChange:d,onOpenLocationLanguage:()=>f(!0)})})})});i.displayName="SettingsMenuContent";var r=e.i(674885),n=e.i(166763),d=e.i(965586),u=e.i(889753),h=e.i(617874),m=e.i(776169),v=e.i(314552),f=e.i(725287),p=e.i(537989),g=e.i(611540),b=e.i(436066);let w=new Set(["article","video","index"]);e.s(["default",0,function({open:e,onOpenChange:a}={}){let s=(0,t.useAtomValue)(b.settingsMenuOpenAtom),o=(0,t.useSetAtom)(b.settingsMenuOpenAtom),A=void 0!==e,x=A?e:s,C=(0,l.useCallback)(()=>{A?a?.(!1):o(!1)},[A,a,o]),y=(0,l.useRef)(null),L=(0,t.useAtomValue)(r.isImperialUnitsAtom),z=(0,t.useAtomValue)(r.isMetricUnitsAtom),j=(0,t.useAtomValue)(r.isHybridUnitsAtom),I=(0,f.useParams)(),k=I?.locale||"en-US",V=I?.locId,M=(0,t.useAtomValue)(p.pageIdAtom),{updatePreferences:Z}=(0,m.usePreferences)(),N=(0,t.useAtomValue)(u.userPreferencesAtom);(0,l.useEffect)(()=>{let e=(0,d.getCookie)("unitOfMeasurement")?.toString();if(e){let c=(0,h.unitsSystemByCode)(e),l=c?.name,t=N?.unit;l&&l!==t&&Z({unit:l})}},[Z,N?.unit]);let B=async e=>{try{await Z({unit:e})}catch(e){console.error("Failed to update unit preference:",e)}},U=async e=>{try{let c=(0,n.convertLocaleFormat)(e);if(await Z({locale:c}),(0,d.setCookie)("sitePref",e,{domain:`.${window.location.hostname}`}),C(),M&&w.has(M)){window.location.href=e===v.defaultLocale?"/":`/${e}`;return}let l=M?g.URLS[M]:void 0,t=l&&V?(0,g.interpolateUrl)(l,{locale:e,locId:V}):null;if(t){window.location.href=t;return}let a=k!==v.defaultLocale&&window.location.pathname.startsWith(`/${k}`)?window.location.pathname.slice(`/${k}`.length)||"/":window.location.pathname;window.location.href=e===v.defaultLocale?a:`/${e}${a}`}catch(e){console.error("Failed to update locale preference:",e)}};return((0,l.useEffect)(()=>{function e(e){if(!x)return;let c=e.target;y.current&&c&&!y.current.contains(c)&&!c.closest("[data-settings-menu-trigger]")&&C()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[C,x]),x)?(0,c.jsx)(i,{ref:y,isImperial:L,isMetric:z,isHybrid:j,locale:k,LOCALE_DATA:n.LOCALE_DATA,handleUnitChange:B,handleLocaleChange:U,onClose:C}):null}],357508)},800462,50727,e=>{"use strict";var c=e.i(284007);let l=(0,c.atomWithStorage)("wx-from-search-result",null);e.s(["fromSearchResultAtom",0,l],800462);let t=(0,c.atomWithStorage)("wx-ht-from-search-result",null);e.s(["fromSearchResultAtom",0,t],50727)},296990,e=>{"use strict";var c=e.i(902875),l=e.i(247865),t=e.i(747961);let a=(0,l.forwardRef)(({title:e,titleId:l,desc:t,descId:a,...s},o)=>(0,c.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",ref:o,"aria-labelledby":l,"aria-describedby":a,...s,children:[t?(0,c.jsx)("desc",{id:a,children:t}):null,void 0===e?(0,c.jsx)("title",{id:l,children:"Globe"}):e?(0,c.jsx)("title",{id:l,children:e}):null,(0,c.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"})]})),s=l.default.forwardRef((e,l)=>(0,c.jsx)(t.BaseIcon,{ref:l,icon:a,...e}));s.displayName="Globe",e.s(["Globe",0,s])},616448,e=>{"use strict";var c=e.i(902875),l=e.i(247865),t=e.i(747961);let a=(0,l.forwardRef)(({title:e,titleId:l,desc:t,descId:a,...s},o)=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":l,"aria-describedby":a,...s,children:[t?(0,c.jsx)("desc",{id:a,children:t}):null,void 0===e?(0,c.jsx)("title",{id:l,children:"Current Location"}):e?(0,c.jsx)("title",{id:l,children:e}):null,(0,c.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"})]})),s=l.default.forwardRef((e,l)=>(0,c.jsx)(t.BaseIcon,{ref:l,icon:a,...e}));s.displayName="CurrentLocation",e.s(["CurrentLocation",0,s])},527207,e=>{"use strict";var c=e.i(902875),l=e.i(247865),t=e.i(747961);let a=(0,l.forwardRef)(({title:e,titleId:l,desc:t,descId:a,...s},o)=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":l,"aria-describedby":a,...s,children:[t?(0,c.jsx)("desc",{id:a,children:t}):null,void 0===e?(0,c.jsx)("title",{id:l,children:"Chevron Up"}):e?(0,c.jsx)("title",{id:l,children:e}):null,(0,c.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"})]})),s=l.default.forwardRef((e,l)=>(0,c.jsx)(t.BaseIcon,{ref:l,icon:a,...e}));s.displayName="ChevronUp",e.s(["ChevronUp",0,s])},525936,586754,e=>{"use strict";var c=e.i(650130),l=e.i(343277);e.i(304158);var t=e.i(485737),a=e.i(150137),s=e.i(381477),o=e.i(726249),i=e.i(919101),r=e.i(546446),n=e.i(310847);let d=(e,c)=>{let t=(0,r.useAtomValue)(n.wxuUserRecentAddressesAtom),{data:a}=(0,s.default)(e?(0,o.pointKey)({kind:"placeId",value:e},c):null,()=>e?(0,l.getLocationPointByPlaceId)(e,c):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return a?.location?(0,i.getAddressForLocationData)(a.location,t):a?.location};e.s(["useGetLocationById",0,d],586754);var u=e.i(942400),h=e.i(304116),m=e.i(520938),v=e.i(132084),f=e.i(782937),p=e.i(965586),g=e.i(553329),b=e.i(695881),w=e.i(247865),A=e.i(725287);let x=(0,b.createLogger)("useUpdatedPathname");e.s(["default",0,(e,s)=>{let o=s?.defer??!1,i=s?.targetGeocode,n=s?.featureId?.startsWith("address.")?void 0:s?.featureId,b=s?.canonicalID,C=n??e,y=(0,A.useParams)(),L=y?.locId,z=y?.canonicalLocation,j=(0,A.usePathname)(),I=(0,u.usePageLocale)(),k=(0,r.useAtomValue)(a.preciseGeocodeAtom),V=(0,r.useAtomValue)(t.geoipGeocode),M=k||V,Z=!!L||!!z?.length||j.includes(m.LOC_ID_SEGMENT),N=d(o||i?null:e,I),B=i??(N?`${N.latitude},${N.longitude}`:void 0),U=(0,w.useMemo)(()=>(0,f.getPartnerByPattern)((0,p.getCookie)("partner")?.toString()??"")===v.Partner.SAMSUNG,[]),P=(0,w.useCallback)(l=>{let t=(0,m.swapLocationOnCurrentPage)({pathname:j,locId:L,canonicalLocation:z,locale:I,identifier:C,featureId:n,placeId:e,canonicalID:b,skipCanonical:U});if(null!==t)return t;let a=c=>(0,h.buildLocationPageHref)({pageType:c,locale:I,canonicalID:b,featureId:n,placeId:e,skipCanonical:U}),s=a("today");if(U||!M||!l)return s;let o=function(e,l){let[t,a]=e.split(",").map(e=>parseFloat(e??"")),[s,o]=l.split(",").map(e=>parseFloat(e??""));return[t,a,s,o].some(e=>Number.isNaN(e))?null:.621371*(0,c.calculateDistance)(t,a,s,o)}(M,l);return null===o?s:o>=250?a("tenday"):o>=100?a("hourbyhour"):s},[L,z,j,C,n,e,b,I,U,M]);return{path:P(B),isGeolocationLoading:!1,resolvePath:(0,w.useCallback)(async()=>{if(Z)return P(void 0);let{data:c,error:t}=await (0,g.tryCatch)((0,l.getLocationPointByPlaceId)(e,I));return t||!c?.location?(x.warn("resolvePath: point fetch failed, falling back to Today",t),P(void 0)):P(`${c.location.latitude},${c.location.longitude}`)},[Z,e,I,P])}}],525936)},935807,e=>{"use strict";function c(e,l=[],a=!1,s="US",o){let i,r=l.find(c=>c.placeID===e.placeId);if(r&&a){let c=r.userTag||r.name;if(c&&"Other"!==c){let l=e.displayName,a=t(e,s,""),o="address"===e.type?e.address:void 0;if(c!==l&&c!==a&&c!==o)return c}}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 c=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",l=e?.postalCode||"";i=o?`${c} ${l}`.trim():`${c}`.trim();break}default:i=e?.displayName||""}0===i.length&&(i=e?.displayName||"")}return i}function l(e,c=[],a=!1,s="US",o){let i,r=c.find(c=>c.placeID===e.placeId);if(r&&a){let c=r.userTag||r.name;if(c&&"Other"!==c){let l=e.displayName,a=t(e,s,"");if(c!==l&&c!==a)return function(e,c="US"){if(e?.disputedCountries)return e?.displayName||"";let l=c===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let c=e?.adminDistrict||"";return[e?.locale?.locale2||"",c,l].filter(Boolean).join(", ")}case"locality":{let c=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",c,l].filter(Boolean).join(", ")}case"neighborhood":{let c=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",c,l].filter(Boolean).join(", ")}case"postal":{let c=e?.adminDistrict||"",t=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${c} ${t}`.trim(),l].filter(Boolean).join(", ")}default:{let c=e?.adminDistrict||"";return[e?.locale?.locale2||"",c,l].filter(Boolean).join(", ")}}}(e,s)}}if(e?.disputedCountries)i=e?.displayName||"";else{let c=s===e?.countryCode?"":e?.country||"",l=e?.adminDistrict||"",t=e?.postalCode||"",a=e.city||"";switch(e?.type){case"address":i=[a,l,c].filter(Boolean).join(", ");break;case"city":default:i=[l,c].filter(Boolean).join(", ");break;case"locality":i=[e?.locale?.locale2||"",l,c].filter(Boolean).join(", ");break;case"neighborhood":i=[e?.locale?.locale3||e?.locale?.locale2||"",l,c].filter(Boolean).join(", ");break;case"postal":{let a=l||e?.locale?.locale2||"";i=[o?`${a} ${t}`.trim():a,c].filter(Boolean).join(", ")}}}return i}function t(e,c,l){let{displayName:t,adminDistrictCode:a,adminDistrict:s,countryCode:o,disputedArea:i,country:r}=e,n=[];return t&&n.push(t),"IL"!==c&&(a?n.push(a):s&&n.push(s)),o!==c&&!1===i&&r&&n.push(r),n.join(l)}e.s(["getLocationContext",0,l,"getLocationName",0,c,"getLocationPresentationName",0,function(e,t=[],a=!1,s="US"){let o=c(e,t,a,s,!1),i=l(e,t,a,s,!0),r=e?.separator?e?.separator:o&&i?", ":"";return`${o}${r}${i}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,c)=>{if(!e||!Array.isArray(c))return e;let l=c.find(c=>c.placeId===e.placeId);return l?{...e,displayName:l.address,address:l.address}:e}])},521231,335355,e=>{"use strict";var c=e.i(902875),l=e.i(981030),t=e.i(889753);let a=(0,l.atom)(e=>e(t.userPreferencesAtom)?.locale||"en_US");(0,l.atom)(e=>e(a).split("_")[0]);let s=(0,l.atom)(e=>e(a).split("_")[1]);e.s(["userCountryAtom",0,s,"userLocaleAtom",0,a],335355);var o=e.i(546446);let i=["VA","SO"],r=({className:e})=>{let l=(0,o.useAtomValue)(s);return i.includes(l)?(0,c.jsxs)("svg",{className:e,viewBox:"0 0 24 24",children:[(0,c.jsx)("title",{children:"The Weather Channel"}),(0,c.jsx)("path",{d:"M0 0h24v24H0V0zm2.0433 6.807v.657h.9629v3.2794h.8043V7.464h.9402l.1303-.657H2.0433zm3.0982-.0794c.034.119.0567.3908.0567.6627v3.3531h.7703V8.6647c.1699-.1529.4134-.2662.6003-.2662.2153 0 .2946.1076.2946.3965v1.9484h.742V8.7157c0-.3285-.017-.3738-.0737-.538-.0906-.2436-.3965-.4136-.7533-.4136-.2945 0-.623.1246-.8213.3116 0-.034.0114-.153.0114-.2436v-.5777c0-.2776-.017-.5494-.051-.708l-.776.1812zm5.1655 3.2455c-.2322.1926-.4758.2889-.7363.2889-.3908 0-.6117-.2549-.6117-.7024V9.537h1.6765v-.1756c0-.606-.119-.9969-.3851-1.2687-.187-.1926-.5041-.3059-.8383-.3059-.3852 0-.674.1246-.9119.3908-.2549.2832-.3625.6287-.3625 1.1498 0 .912.538 1.501 1.3707 1.501.4078 0 .759-.1303 1.0931-.4022l-.2945-.453zm-8.241 2.1964l.9402 3.9704h.9005l.323-1.6142c.1132-.5778.1925-1.1328.1925-1.1328.0057.034.051.5324.1869 1.1441l.3512 1.6029h.8666l.9515-3.9704h-.8326l-.3228 1.4952c-.068.3286-.204 1.1838-.2153 1.3084 0 0-.0963-.674-.1699-1.0421l-.3625-1.7615h-.8666l-.3512 1.5915c-.1189.5438-.1869 1.1045-.2039 1.2575 0 0-.0453-.5608-.2095-1.2971l-.3399-1.552H2.066zm7.0172 3.1661c-.2322.1926-.4758.289-.7363.289-.3908 0-.6117-.255-.6117-.7024v-.0227h1.6765v-.1756c0-.606-.119-.9968-.3851-1.2687-.187-.1926-.5041-.3059-.8383-.3059-.3851 0-.674.1246-.9119.3908-.2549.2832-.3625.6287-.3625 1.1498 0 .912.538 1.501 1.3707 1.501.4078 0 .759-.1303 1.0931-.4021l-.2945-.4532zm.742-1.7841l.3228.5437c.3115-.2095.5947-.3285.8383-.3285.2775 0 .3398.1076.3398.4305v.119c-.0792-.0058-.1132-.0058-.1699-.0058-.9232 0-1.3933.3172-1.3933.9969 0 .5777.3511.9063.9968.9063.238 0 .4418-.0567.5834-.1586.0567-.0397.068-.051.1756-.153.0737.1473.2323.2776.4078.3512l.4022-.4644c-.221-.1643-.2719-.2833-.2719-.5948v-.051l.017-.9742c0-.3115-.0113-.402-.051-.521-.1133-.3229-.4474-.5041-.9345-.5041-.2663 0-.5098.051-.793.1699-.204.0793-.2832.119-.4701.2379zm4.4009-.3512h-.6797c0-.2945.017-.606.0453-.8723l-.7703.1926c-.0283.2152-.0283.4078-.0283.691h-.2889v.4928h.2889v1.5973c0 .2661.0056.3228.051.4474.085.2549.3964.4248.7816.4248.1982 0 .3965-.0396.6174-.1303l-.0964-.453c-.1359.0396-.2038.0566-.2718.0566-.2606 0-.3285-.0963-.3285-.4645v-1.4783h.4871l.1926-.5041zm.2095-1.1101c.034.1189.0566.3908.0566.6626v3.3531h.7703v-2.0787c.17-.1529.4135-.2662.6004-.2662.2152 0 .2945.1077.2945.3965v1.9484h.742v-2.0277c0-.3285-.017-.3738-.0736-.538-.0907-.2436-.3965-.4135-.7533-.4135-.2946 0-.623.1246-.8213.3115 0-.034.0113-.153.0113-.2435v-.5778c0-.2775-.017-.5494-.051-.708l-.776.1813zm5.1654 3.2454c-.2322.1926-.4757.289-.7363.289-.3908 0-.6117-.255-.6117-.7024v-.0227h1.6765v-.1756c0-.606-.1189-.9968-.385-1.2687-.187-.1926-.5042-.3059-.8383-.3059-.3852 0-.674.1246-.912.3908-.2548.2832-.3625.6287-.3625 1.1498 0 .912.5381 1.501 1.3707 1.501.4078 0 .759-.1303 1.0932-.4021l-.2946-.4532zm.7817-2.0163c.0623.1642.1076.4587.1076.8495v1.9371h.759v-2.0503c.1415-.1643.2945-.2436.4644-.2436.085 0 .1472.017.2209.0567l.2096-.6684c-.119-.051-.17-.0623-.2833-.0623-.085 0-.1869.017-.2492.0453-.1415.068-.3228.221-.4304.3682-.0113-.1643-.051-.2945-.119-.4135l-.6796.1813zM4.9489 17.7585c-.2152-.1869-.606-.3115-.9968-.3115-.6344 0-1.2008.3399-1.5067.912-.1812.3398-.2662.7306-.2662 1.2233 0 .5778.1586 1.0536.4758 1.4104.3229.3682.742.5437 1.2857.5437.4475 0 .7817-.1132 1.0932-.3681l-.3625-.4985a3.6136 3.6136 0 0 1-.0793.0624c-.1926.1302-.3795.1925-.5947.1925-.3399 0-.6004-.1529-.759-.4418-.119-.2152-.1642-.5154-.1642-1.0535 0-.4588.068-.7873.2209-1.0138.1416-.2096.402-.3399.6683-.3399.2209 0 .4305.0737.6287.221l.3568-.5382zm.3908-.3058c.034.119.0566.3908.0566.6627v3.353h.7703v-2.0786c.17-.153.4135-.2662.6004-.2662.2152 0 .2945.1076.2945.3964v1.9485h.742v-2.0277c0-.3286-.017-.3739-.0736-.5381-.0906-.2436-.3965-.4135-.7533-.4135-.2946 0-.623.1246-.8213.3115 0-.034.0113-.153.0113-.2435v-.5778c0-.2775-.017-.5494-.051-.708l-.776.1813zm3.0755 1.4613l.3228.5437c.3115-.2095.5947-.3285.8383-.3285.2775 0 .3398.1077.3398.4305v.119c-.0793-.0057-.1133-.0057-.17-.0057-.9231 0-1.3932.3171-1.3932.9968 0 .5778.3511.9063.9968.9063.2379 0 .4418-.0567.5834-.1586.0566-.0397.068-.051.1756-.153.0736.1473.2322.2776.4078.3512l.4021-.4644c-.2209-.1643-.2718-.2832-.2718-.5947v-.051l.017-.9742c0-.3116-.0114-.4022-.051-.5211-.1133-.3229-.4475-.5041-.9346-.5041-.2662 0-.5097.051-.793.17-.2038.0792-.2831.1189-.47.2378zm2.8546-.2266c.068.1926.102.4305.102.6797v2.1014h.7589V19.418c.1756-.1586.3738-.2606.5267-.2606.1983 0 .255.0963.255.4248v1.8862h.7476V19.35c0-.1812-.017-.3058-.0567-.4134-.0906-.2493-.3738-.4192-.6966-.4192-.17 0-.3682.0453-.5211.1246-.1246.068-.1586.0907-.3342.2152 0-.1189-.0397-.2435-.1076-.3624l-.674.1925zm3.0188 0c.068.1926.102.4305.102.6797v2.1014h.759V19.418c.1755-.1586.3737-.2606.5267-.2606.1982 0 .2549.0963.2549.4248v1.8862h.7476V19.35c0-.1812-.017-.3058-.0566-.4134-.0906-.2493-.3739-.4192-.6967-.4192-.17 0-.3681.0453-.521.1246-.1247.068-.1587.0907-.3342.2152 0-.1189-.0397-.2435-.1077-.3624l-.674.1925zm5.0806 2.0108c-.2323.1925-.4758.2888-.7364.2888-.3908 0-.6117-.2548-.6117-.7023v-.0226h1.6766v-.1757c0-.606-.119-.9968-.3852-1.2687-.1869-.1926-.504-.3058-.8382-.3058-.3852 0-.674.1246-.912.3908-.2548.2832-.3625.6287-.3625 1.1497 0 .912.5381 1.501 1.3707 1.501.4078 0 .759-.1302 1.0932-.4021l-.2945-.4531zm1.5859-3.421l-.776.1755c.0283.2605.0397.4927.0397.8722v2.1637c0 .4135.0113.504.068.6513.0905.2436.3511.3965.674.3965.1642 0 .3228-.0283.453-.0792l-.1302-.4532c-.0396.0113-.0566.0113-.085.0113-.0623 0-.1246-.0283-.1529-.0792-.0453-.0793-.051-.1473-.051-.6458v-2.2599c0-.4078-.0113-.5947-.0396-.7533zM8.9703 8.9818h.878v-.034c0-.2152-.0227-.3285-.0907-.4361-.0736-.1133-.1813-.17-.3342-.17-.2888 0-.453.2266-.453.6288v.0113zm-1.2238 5.3625h.878v-.034c0-.2152-.0227-.3285-.0907-.436-.0736-.1134-.1812-.17-.3342-.17-.2888 0-.4531.2266-.4531.6287v.0113zm3.5683.4928h-.034c-.5267 0-.708.0963-.708.4418 0 .2265.1416.3795.3342.3795.1416 0 .2832-.0737.3965-.1983l.0113-.623zm6.9495-.4928h.878v-.034c0-.2152-.0227-.3285-.0907-.436-.0736-.1134-.1812-.17-.3341-.17-.2889 0-.4532.2266-.4532.6287v.0113zm-8.3595 5.8553h-.034c-.5268 0-.708.0963-.708.4418 0 .2266.1416.3795.3342.3795.1416 0 .2832-.0736.3965-.1982l.0113-.623zm8.1277-.4927h.8779v-.034c0-.2153-.0227-.3285-.0906-.4361-.0737-.1133-.1813-.17-.3342-.17-.2889 0-.4531.2266-.4531.6287v.0114z",fill:"currentColor",fillRule:"evenodd"})]}):(0,c.jsxs)("svg",{className:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 48",children:[(0,c.jsx)("title",{children:"The Weather Company"}),(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48 48H0V0h48v48ZM19.197 37.414c-.548 0-1.05.105-1.633.35-.42.163-.583.245-.967.49l.665 1.119c.64-.431 1.224-.676 1.725-.676.571 0 .7.222.7.886v.245a4.025 4.025 0 0 0-.35-.012c-1.9 0-2.868.653-2.868 2.052 0 1.19.722 1.865 2.051 1.865.49 0 .91-.116 1.202-.326.116-.081.14-.104.361-.314.152.303.479.57.84.722l.827-.956c-.455-.338-.56-.583-.56-1.224v-.105l.036-2.006c0-.64-.023-.827-.105-1.072-.233-.664-.921-1.038-1.924-1.038Zm18.107.012c-.793 0-1.388.257-1.877.804-.525.583-.747 1.295-.747 2.368 0 1.877 1.108 3.09 2.822 3.09.84 0 1.562-.27 2.25-.829l-.607-.932c-.478.396-.979.595-1.515.595-.805 0-1.259-.526-1.259-1.447v-.047h3.451v-.361c0-1.247-.245-2.052-.793-2.611-.384-.397-1.038-.63-1.725-.63ZM7.409 35.234c-1.306 0-2.472.7-3.101 1.877-.373.7-.548 1.505-.548 2.519 0 1.189.326 2.169.98 2.903.664.758 1.527 1.12 2.646 1.12.92 0 1.61-.234 2.25-.758l-.745-1.027a7.262 7.262 0 0 1-.164.128c-.397.268-.781.396-1.224.397-.7 0-1.236-.315-1.563-.91-.244-.443-.337-1.06-.337-2.168 0-.945.139-1.621.454-2.087.291-.432.828-.7 1.376-.7.454 0 .886.152 1.294.455l.735-1.108c-.443-.385-1.248-.64-2.053-.64Zm33.404.012c.059.536.081 1.014.081 1.795l.002 4.714c.005.634.035.812.138 1.08.187.502.723.817 1.388.817.338 0 .664-.058.933-.163l-.268-.933a.519.519 0 0 1-.175.023c-.128 0-.257-.058-.315-.163-.093-.163-.105-.304-.105-1.33v-4.945c-.006-.64-.03-.972-.082-1.257l-1.596.362Zm-30.547 0c.07.245.117.804.117 1.363v6.903h1.585v-4.279c.35-.314.851-.547 1.236-.547.443 0 .606.22.606.815v4.01h1.528v-4.173c0-.676-.035-.77-.151-1.108-.187-.5-.817-.851-1.551-.851-.607 0-1.283.257-1.69.642 0-.07.022-.315.022-.502V36.33c0-.57-.035-1.13-.105-1.457l-1.597.373Zm12.207 2.541c.14.397.21.886.21 1.4v4.325h1.562V39.29c.361-.326.77-.536 1.084-.536.408 0 .526.199.526.875v3.882h1.539v-4.36c0-.373-.036-.63-.118-.851-.186-.513-.769-.863-1.433-.864-.35 0-.759.094-1.073.257-.257.14-.327.186-.688.443a1.53 1.53 0 0 0-.222-.746l-1.387.396Zm6.215 0c.14.397.21.886.21 1.4v4.325h1.562V39.29c.361-.326.77-.536 1.084-.536.408 0 .524.199.524.875v3.882h1.54v-4.36c0-.373-.035-.63-.117-.851-.186-.513-.77-.864-1.434-.864-.35 0-.758.094-1.073.257a5.28 5.28 0 0 0-.688.443c0-.245-.081-.502-.22-.746l-1.389.396ZM19.663 40.9l-.023 1.283c-.233.256-.525.408-.817.408-.396 0-.687-.315-.687-.781 0-.711.373-.91 1.457-.91h.07Zm17.664-2.332c.315 0 .536.117.688.35.14.221.186.455.186.898v.07h-1.806v-.023c0-.828.337-1.295.932-1.295ZM22.1 26.375c-.548 0-1.05.106-1.633.35a4.44 4.44 0 0 0-.968.49l.665 1.119c.641-.431 1.224-.676 1.726-.676.57 0 .699.222.699.886v.245a3.99 3.99 0 0 0-.35-.012c-1.9 0-2.868.653-2.868 2.052 0 1.19.723 1.866 2.052 1.866.49 0 .91-.117 1.201-.327.117-.081.14-.105.361-.314.152.303.479.57.84.722l.827-.956c-.454-.338-.56-.583-.56-1.223v-.106l.036-2.006c0-.64-.023-.827-.105-1.072-.233-.664-.92-1.038-1.923-1.038Zm-5.97.012c-.793 0-1.387.257-1.877.804-.525.583-.746 1.295-.746 2.368 0 1.877 1.107 3.09 2.821 3.09.84 0 1.562-.27 2.25-.829l-.606-.932c-.478.396-.98.594-1.516.594-.804 0-1.259-.525-1.259-1.446v-.046h3.451v-.361c0-1.248-.245-2.053-.793-2.612-.384-.397-1.037-.63-1.725-.63Zm21.651 0c-.793 0-1.388.256-1.878.804-.524.583-.746 1.295-.746 2.368 0 1.877 1.109 3.09 2.823 3.09.839 0 1.562-.27 2.25-.829l-.607-.932c-.478.396-.98.594-1.516.594-.804 0-1.26-.525-1.26-1.446v-.046H40.3v-.361c0-1.248-.244-2.053-.792-2.612-.385-.397-1.038-.63-1.726-.63Zm-12.114-1.294c-.058.443-.059.84-.059 1.423h-.594v1.013h.594l.001 3.498c.004.374.025.492.105.712.175.525.816.874 1.608.874a3.28 3.28 0 0 0 1.272-.268l-.199-.933c-.28.082-.42.117-.56.117-.535 0-.676-.198-.676-.956V27.53h1.003l.397-1.037h-1.4c0-.606.036-1.248.094-1.796l-1.586.397Zm-22.14-.723 1.935 8.173h1.854l.664-3.322c.232-1.18.394-2.315.397-2.332.012.07.105 1.097.385 2.355l.722 3.299h1.785l1.958-8.173h-1.713l-.665 3.078c-.14.677-.42 2.437-.443 2.694 0 0-.199-1.388-.35-2.146L9.31 24.37H7.526l-.723 3.276a27.537 27.537 0 0 0-.42 2.588 21.687 21.687 0 0 0-.43-2.67l-.7-3.194H3.527Zm25.463-.163c.07.245.116.805.116 1.364v6.903h1.586v-4.28c.35-.314.851-.547 1.236-.547.443 0 .606.221.606.816v4.01h1.528V28.3c0-.676-.035-.77-.152-1.108-.186-.5-.816-.85-1.55-.85-.607 0-1.283.256-1.691.64 0-.07.023-.314.023-.5v-1.19c0-.571-.035-1.13-.105-1.457l-1.597.373Zm15.285 2.157c-.175 0-.385.035-.513.093-.292.14-.665.455-.886.758a1.918 1.918 0 0 0-.245-.85l-1.399.372c.129.338.221.944.221 1.748v3.989h1.563v-4.221c.291-.338.606-.502.956-.502a.89.89 0 0 1 .455.117l.431-1.376c-.244-.105-.35-.128-.583-.128Zm-21.71 3.497-.023 1.284c-.233.256-.524.408-.815.408-.397 0-.689-.315-.689-.782 0-.71.374-.91 1.458-.91h.07Zm-6.412-2.332c.315 0 .536.118.688.35.14.222.186.455.186.898v.07h-1.806v-.023c0-.828.338-1.295.932-1.295Zm21.65 0c.316 0 .538.118.69.35.139.222.186.455.186.898v.07H36.87v-.023c0-.827.338-1.295.933-1.295ZM18.65 15.35c-.793 0-1.388.256-1.878.804-.524.583-.746 1.294-.746 2.367 0 1.877 1.108 3.09 2.822 3.09.84 0 1.563-.27 2.25-.829l-.606-.932c-.478.396-.98.594-1.515.594-.805 0-1.26-.524-1.26-1.445v-.047h3.451v-.361c0-1.248-.244-2.053-.792-2.613-.385-.396-1.038-.628-1.726-.628ZM3.48 13.33v1.353h1.982v6.75h1.656v-6.75h1.936l.267-1.353h-5.84Zm6.378-.163c.07.245.117.805.117 1.364v6.903h1.585v-4.28c.35-.314.851-.547 1.236-.548.443 0 .606.222.606.817v4.01h1.528V17.26c0-.676-.035-.77-.152-1.108-.186-.501-.816-.851-1.55-.851-.607 0-1.283.257-1.69.641 0-.07.022-.315.022-.502v-1.189c0-.571-.035-1.13-.105-1.457l-1.597.373Zm8.814 3.323c.315 0 .537.117.688.35.14.221.187.454.187.897v.07h-1.808v-.023c0-.828.338-1.294.933-1.294Z",fill:"currentColor"}),(0,c.jsx)("path",{d:"M49.97 2.175V.791h.691a.45.45 0 0 1 .203.05.422.422 0 0 1 .24.397.443.443 0 0 1-.25.416.468.468 0 0 1-.213.054h-.492V1.47h.405c.045 0 .09-.02.133-.058.046-.039.068-.096.068-.173 0-.08-.023-.135-.068-.165a.226.226 0 0 0-.127-.045h-.268v1.146h-.323Zm.85-.649.336.649h-.354l-.323-.649h.342ZM50.5 3c-.208 0-.402-.039-.583-.116A1.507 1.507 0 0 1 49 1.5c0-.208.039-.402.116-.583A1.508 1.508 0 0 1 50.5 0c.208 0 .402.039.583.116a1.507 1.507 0 0 1 .8 1.967 1.51 1.51 0 0 1-.8.8A1.467 1.467 0 0 1 50.5 3Zm0-.371c.208 0 .396-.05.566-.152a1.17 1.17 0 0 0 .409-.409c.101-.171.152-.36.152-.568 0-.208-.05-.396-.152-.566a1.144 1.144 0 0 0-.409-.409A1.075 1.075 0 0 0 50.5.371c-.208 0-.397.051-.568.154a1.144 1.144 0 0 0-.409.409c-.101.17-.152.358-.152.566 0 .208.05.397.152.568.101.17.238.306.409.409.171.101.36.152.568.152Z",fill:"currentColor"})]})};e.s(["TwcLogo",0,r,"default",0,r],521231)},249725,e=>{"use strict";var c=e.i(546446),l=e.i(247865),t=e.i(726249),a=e.i(310847);let s=Object.freeze({});function o(){let e=(0,c.useSetAtom)(a.wxuUserLocationFeatureIdsAtom);return(0,l.useCallback)((c,l)=>{let a=[];c.placeId&&a.push(c.placeId),c.geocode&&!l?.startsWith("address.")&&a.push((0,t.formatGeocode)(c.geocode)),0!==a.length&&e(e=>{let c=e??{};if(!a.some(e=>!(e in c)||c[e]!==l))return c;let t={...c};for(let e of a)t[e]=l;return t})},[e])}e.s(["useLocationFeatureIds",0,function(){let e=(0,c.useAtomValue)(a.wxuUserLocationFeatureIdsAtom)??s,i=(0,l.useCallback)(c=>{if(c.placeId){let l=e[c.placeId];if(l)return l}if(c.geocode){let l=e[(0,t.formatGeocode)(c.geocode)];if(l)return l}},[e]),r=(0,l.useCallback)(c=>c in e,[e]);return{featureIds:e,resolveFeatureId:i,hasResolvedPlaceId:r,recordFeatureId:o()}},"useRecordFeatureId",0,o])},292980,e=>{"use strict";var c=e.i(546446),l=e.i(247865),t=e.i(310847);e.s(["useRecentLocationDetails",0,function(){let[e,a]=(0,c.useAtom)(t.wxuUserRecentLocationsDataAtom),s=e??{},o=(0,l.useCallback)(e=>s[e],[s]);return{details:s,resolveDetails:o,recordDetails:(0,l.useCallback)((e,c)=>{e&&a(l=>{let t=l??{},a=t[e];return a&&a.name===c.name&&a.nameContext===c.nameContext&&a.geocode===c.geocode&&a.featureId===c.featureId&&a.type===c.type&&a.presentationName===c.presentationName&&a.displayName===c.displayName&&a.address===c.address&&a.ianaTimeZone===c.ianaTimeZone&&a.postalCode===c.postalCode?t:{...t,[e]:c}})},[a])}}])},145651,e=>{"use strict";var c=e.i(546446),l=e.i(776169),t=e.i(579310),a=e.i(310847),s=e.i(247865);let o=Object.freeze([]),i=Object.freeze([]);e.s(["default",0,()=>{let{updatePreferences:e}=(0,l.usePreferences)(),r=(0,c.useAtomValue)(t.userLocationsAtom),n=(0,s.useMemo)(()=>r?[...r].sort((e,c)=>e.position-c.position):o,[r]),[d,u]=(0,c.useAtom)(a.wxuUserRecentLocationsAtom),[,h]=(0,c.useAtom)(a.wxuUserRecentAddressesAtom),m=(0,s.useCallback)(c=>{let l={...c,position:Math.max(...n.map(e=>e.position),0)+1};e({locations:[...n,l]})},[n,e]),v=(0,s.useCallback)(c=>{e({locations:n.filter(e=>e.placeID!==c)})},[n,e]),f=(0,s.useCallback)(e=>{u(c=>[e,...(c||[]).filter(c=>c!==e)].slice(0,5))},[u]),p=(0,s.useCallback)(e=>{u(c=>(c||[]).filter(c=>c!==e))},[u]),g=(0,s.useCallback)(()=>{u([])},[u]),b=(0,s.useCallback)(e=>{h(c=>(c||[]).filter(c=>c.placeId!==e))},[h]),w=(0,s.useCallback)(e=>{v(e),p(e),b(e)},[v,p,b]);return{addFavoriteLocation:m,removeFavoriteLocation:v,addRecentLocation:f,removeRecentLocation:p,removeRecentAddress:b,clearRecentLocations:g,deleteLocation:w,recentLocations:d||i,favoriteLocations:n}}])}]);