(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,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},198050,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(533760),l=e.i(405341),r=e.i(829065);e.s(["CJUniversalTagScript",0,()=>{let[e,n]=(0,a.useState)(null);return((0,a.useEffect)(()=>{let e=(0,l.getCjConfig)();e&&(0,r.isCjEligible)()&&n(e)},[]),e)?(0,t.jsx)(i.default,{id:"cj-site-page",strategy:"afterInteractive",children:`(function (w, d, src, enterpriseId) { w.cj = w.cj || {}; w.cj.sitePage = { enterpriseId: enterpriseId }; if (d.getElementById('cjapitag')) return; var tag = d.createElement('script'); var first = d.getElementsByTagName('script')[0]; tag.id = 'cjapitag'; tag.async = true; tag.src = src; if (first && first.parentNode) first.parentNode.insertBefore(tag, first); else d.body.appendChild(tag); })(window, document, ${JSON.stringify(e.tagSrc)}, ${JSON.stringify(e.enterpriseId)});`}):null}])},405341,829065,e=>{"use strict";e.s(["CJ_ACTION_ID_DIRECT_PURCHASE",0,521782,"CJ_ACTION_ID_TRIAL_SIGNUP",0,519532,"getCjConfig",0,()=>{let e=Number("1601099".trim()),t="1377327807670".trim();return Number.isInteger(e)&&!(et.US_REGIMES.includes((0,t.getRegime)())],829065)},560542,e=>{"use strict";var t=e.i(247865),a=e.i(293163),i=e.i(695881),l=e.i(553329),r=e.i(405341),n=e.i(829065);let s=(0,i.createLogger)("CommissionJunction");e.s(["useCjConversionTag",0,({shouldFire:e,orderId:i,amount:o,hasTrial:c})=>{let d=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(!e||d.current||!i)return;let t=(0,r.getCjConfig)();t&&(0,n.isCjEligible)()&&(d.current=!0,(0,l.tryCatch)((async()=>{var e;let l,n,s;return e={orderId:i,amount:o,actionTrackerId:c?r.CJ_ACTION_ID_TRIAL_SIGNUP:r.CJ_ACTION_ID_DIRECT_PURCHASE,cjEventId:(0,a.getCjEvent)()},(l=window).cj=l.cj||{},l.cj.order={enterpriseId:t.enterpriseId,actionTrackerId:e.actionTrackerId,orderId:e.orderId,pageType:"conversionConfirmation",currency:"USD",amount:e.amount,...e.cjEventId?{cjeventOrder:e.cjEventId}:{}},document.getElementById("cjapitag")?.remove(),(n=document.createElement("script")).id="cjapitag",n.async=!0,n.src=t.tagSrc,s=document.getElementsByTagName("script")[0],void(s?.parentNode?s.parentNode.insertBefore(n,s):document.body.appendChild(n))})()).then(({error:e})=>{e&&s.error("conversion tag failed",{orderId:i,error:e})}))},[e,i,o,c])}],560542)},269186,328166,e=>{"use strict";var t=e.i(902875),a=e.i(247865);e.s(["Card",0,function({src:e,alt:a,top:i,left:l,width:r}){return(0,t.jsx)("img",{src:e,alt:a,className:"absolute rounded-xl",style:{top:i,left:l,width:r}})},"CompositeFrame",0,function({left:e,top:a,width:i,height:l,children:r}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:a,width:i,height:l},children:r})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:i,color:l,cx:r,cy:n,rx:s,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} ${i}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,t.jsx)("ellipse",{cx:r,cy:n,rx:s,ry:o,fill:l})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:i,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})]})})]})}],269186);let i={src:e.i(834005).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,i],328166)},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(240058),l=e.i(64412),r=e.i(677997),n=e.i(747961);let s=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),o=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:s,...e}));o.displayName="LightningFilled";let c=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Today"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 5.5 5.5c0 1.661-.74 3.145-1.902 4.153A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m-4 6.5a5 5 0 0 0-4.857 3.813l-.154.628-.635.12A3.5 3.5 0 0 0 7 20h10a3.5 3.5 0 0 0 .645-6.94l-.635-.118-.154-.629A5 5 0 0 0 12 8.5M16 4a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),d=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:c,...e}));d.displayName="PartlyCloudyBold";let u=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Today"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 2a5.5 5.5 0 0 1 3.6 9.655A5.5 5.5 0 0 1 17 22H7a5.5 5.5 0 0 1-1.628-10.753 7.01 7.01 0 0 1 5.193-4.6A5.5 5.5 0 0 1 16 2m0 2a3.5 3.5 0 0 0-3.363 2.53 7 7 0 0 1 5.55 3.701A3.5 3.5 0 0 0 16 4",clipRule:"evenodd"})]})),m=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:u,...e}));m.displayName="PartlyCloudyBoldFilled";let p=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Video"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M9.5 8.895a.5.5 0 0 1 .762-.426l5.046 3.105a.5.5 0 0 1 0 .852l-5.046 3.105a.5.5 0 0 1-.762-.426z"}),(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zm-17 13h17v-11h-17z",clipRule:"evenodd"})]})),f=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:p,...e}));f.displayName="VideoPlayerBold";let h=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Video"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.5 4.5a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-17a2 2 0 0 1-2-2v-11a2 2 0 0 1 2-2zM10.262 8.469a.5.5 0 0 0-.762.426v6.21a.5.5 0 0 0 .762.426l5.046-3.105a.5.5 0 0 0 0-.852z",clipRule:"evenodd"})]})),v=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:h,...e}));v.displayName="VideoPlayerBoldFilled";let g=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Radar"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 2a1 1 0 0 1 0 2 8.001 8.001 0 1 0 2.322 15.655 8 8 0 0 0 4-12.557l-1.43 1.43A6 6 0 1 1 12 6a1 1 0 0 1 0 2 4 4 0 1 0 3.447 1.973l-2.74 2.74a1 1 0 0 1-1.414-1.414l6.321-6.323.043-.047a1 1 0 0 1 1.415 0A10 10 0 1 1 12 2"})]})),w=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:g,...e}));w.displayName="RadarBold";let x=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Radar"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8.002 8.002 0 0 0-7.056 11.772 8.001 8.001 0 1 0 12.713-9.43.75.75 0 0 0-1.06 0l-.006.007-.03.027-5.091 5.09a.751.751 0 0 0 1.06 1.062l2.053-2.053A3.001 3.001 0 1 1 12 9a.75.75 0 0 0 0-1.5 4.502 4.502 0 0 0-3.969 6.621 4.502 4.502 0 0 0 7.71.379 4.5 4.5 0 0 0-.075-5.108l1.429-1.43a6.5 6.5 0 0 1 .31 7.65A6.5 6.5 0 1 1 12 5.5.75.75 0 0 0 12 4",clipRule:"evenodd"})]})),b=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:x,...e}));b.displayName="RadarBoldFilled";let y=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 10v9h14v-9zm0-2h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),C=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:y,...e}));C.displayName="CalendarBold";let A=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Daily"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.5 1.5a1 1 0 0 1 1 1V3H19a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5v-.5a1 1 0 0 1 2 0V3h5v-.5a1 1 0 0 1 1-1M5 8h14V5h-2.5v.5a1 1 0 1 1-2 0V5h-5v.5a1 1 0 0 1-2 0V5H5z",clipRule:"evenodd"})]})),S=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:A,...e}));S.displayName="CalendarBoldFilled";let j=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"News"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4H5zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM5 9h14V5H5zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm-4 6h4v-4h-4z",clipRule:"evenodd"})]})),E=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:j,...e}));E.displayName="News";let I=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"News"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zM19 3a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM19 13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2z",clipRule:"evenodd"})]})),R=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:I,...e}));R.displayName="NewsFilled";var _=e.i(632137),N=e.i(546446),k=e.i(942400),P=e.i(537989);e.i(647872);var T=e.i(494889),L=e.i(611540),D=e.i(738426),O=e.i(468104),U=e.i(18358),M=e.i(381477),B=e.i(190344),V=e.i(427977),$=e.i(725287),H=e.i(559421),z=e.i(388706),F=e.i(498076),G=e.i(581014),W=e.i(304116),Z=e.i(379276),Y=e.i(269153),q=e.i(528600),K=e.i(837879),J=e.i(683199),Q=e.i(677691),X=e.i(429745),ee=e.i(269186),et=e.i(328166),ea=e.i(710746),ei=e.i(697380),el=e.i(512134),er=e.i(521350),en=e.i(358273);let es="wx-next/get-app-button:dismissed-session",eo=["/hourbyhour","/tenday","/radar","/download-app"];function ec(){let e=(0,F.useIsMobile)(),i=(0,$.usePathname)(),l=(0,N.useAtomValue)(ei.fixedBottomAdHeightAtom),{isDismissed:r,dismiss:n}=function(){let e=(0,el.useIsClient)(),[t,i]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,er.isLocalStorageAvailable)())return null;try{return localStorage.getItem(es)}catch{return null}}();if(!e)return!1;let t=(0,en.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,en.getMetricsSession)()?.sessionId;if(e&&(0,er.isLocalStorageAvailable)())try{localStorage.setItem(es,e)}catch{}i(!0)},[])}}(),{href:s}=(0,Q.useAppInstallLink)("floating-button","floating-button"),o=(0,D.useTrackInstallPromptClick)("floating-button"),c=(0,O.useTrackModuleClick)();if(!e||r||eo.some(e=>i.includes(e)))return null;let d=`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:d},"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:s,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:()=>{c("floating-get-the-app-button","dismiss"),n()},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)(ea.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,n=(0,F.useIsMobile)(),s=(0,$.usePathname)(),c=(0,H.useCanonicalBasePath)(),[u,p]=(0,a.useState)(!1),{href:h}=(0,Q.useAppInstallLink)("my-plans","my-plans"),g=(0,D.useTrackInstallPromptClick)("my-plans"),x=(e=(0,U.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),y=(0,O.useTrackModuleClick)(),A=(0,Y.useIsSamsungPartner)(),j=(0,N.useAtomValue)(P.pageIdAtom),I=(0,G.useTranslations)("SidebarNavigation"),{user:ea}=(0,q.useUser)(),{isUserPremium:ei}=ea,el=(0,K.useSubscriptionsEnabled)(),er=(0,J.usePremiumSource)(),{location:en,isLoading:es}=(0,l.useLocation)(),eo=(0,k.usePageLocale)(),ed=(0,N.useAtomValue)(T.newsHubEnabledAtom),eu=(0,B.useVideoNavUrl)(),{data:em}=(0,M.default)(["navigation/getQuickNav",eo],()=>(0,V.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ep=(0,a.useMemo)(()=>{if(es||!en)return[];let e=en.placeId||"",a=en.featureId,i=en.canonicalID,l=(0,W.buildLocationPageHref)({pageType:"today",locale:eo,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:c,skipCanonical:A}),n=(0,W.buildLocationPageHref)({pageType:"radar",locale:eo,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:c,skipCanonical:A}),u=c?(0,z.navTypeForSuffix)(s.split("/").pop()):null,h="en-US"===eo?"/":`/${eo}`,g=s===h||"/"!==h&&s===`${h}/`||(c?"forecast"===u:s.includes("/weather/today/")||s.includes("/weather/hourbyhour/")||s.includes("/weather/tenday/")||s.includes("/weather/monthly/")||s.includes("/forecast/allergy/")||s.includes("/forecast/air-quality/")||s.includes("/forecast/cold-flu/")),y=c?"radar"===u:s.includes("/weather/radar/")||s.includes("/weather/maps/"),_=s.includes("/subscribe"),N="video"===j,k=s===L.URLS.news||s.startsWith(`${L.URLS.news}/`)||Z.NEWS_PAGE_IDS.includes(j??""),P="en-US"===eo&&ed,T=em?.videoLinkLocaleInclude?.["en-US"],D=T?.override?`?${T?.adRef}`:"",O=eu?`${eu}${D}`:"",U="h-6 w-6 text-inherit";return[{name:I("forecast"),href:l,icon:(0,t.jsx)(d,{className:U}),activeIcon:(0,t.jsx)(m,{className:U}),isActive:g},...P?[{name:"News",href:L.URLS.news,icon:(0,t.jsx)(E,{className:U}),activeIcon:(0,t.jsx)(R,{className:U}),isActive:k}]:eu?[{name:I("video"),href:O,icon:(0,t.jsx)(f,{className:U}),activeIcon:(0,t.jsx)(v,{className:U}),isActive:N}]:[],..."en-US"!==eo||A?[]:[{name:"My Plans",onClick:()=>{x(),p(!0)},icon:(0,t.jsx)(C,{className:U}),activeIcon:(0,t.jsx)(S,{className:U}),isActive:!1}],{name:I("radar"),href:n,icon:(0,t.jsx)(w,{className:U}),activeIcon:(0,t.jsx)(b,{className:U}),isActive:y},...el&&!ei&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(r.Lightning,{className:U}),activeIcon:(0,t.jsx)(o,{className:U}),isActive:_,onClick:()=>er({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[es,en,eo,s,j,ed,eu,em,c,er,A,x]);if(!n)return null;let ef="en-US"===eo&&!A;return 0===ep.length?ef?(0,t.jsx)(ec,{}):null:(0,t.jsxs)(t.Fragment,{children:[ef&&(0,t.jsx)(ec,{}),(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:ep.map(e=>{let a=(0,_.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,_.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(i.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)(X.InstallPromptSheet,{open:u,onOpenChange:p,title:"My Plans",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)(ee.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)(ee.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)(ee.Card,{src:et.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:h,onGetAppClick:()=>y("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>y("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>g("learn-more")})]})}],432124)},190344,e=>{"use strict";var t=e.i(381477),a=e.i(546446),i=e.i(763886),l=e.i(132084),r=e.i(456215),n=e.i(647292);e.i(609717);var s=e.i(950771),o=e.i(328895);let c=(0,e.i(695881).createLogger)("useVideoNavUrl");e.s(["useVideoNavUrl",0,function(){var e,d;let u=(0,a.useAtomValue)(i.partnerAtom),m=(0,a.useAtomValue)(n.webViewPlatformAtom),p=(0,a.useAtomValue)(s.pageLocaleAtom),f=(e=u??"",d=m??"",e===l.Partner.SAMSUNG?"weather-com-mobile-web-samsung":(0,r.isSnowCastWebView)(d)?"twc-snowcast":d?"weather-com-mobile-web":"weather-com-web"),{data:h,error:v}=(0,t.default)(["navigation/video-nav",f,p,u],()=>(0,o.getVideoNavLink)({channel:f,language:p,partner:u||void 0}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0});return v&&c.error("video nav url fetch failed",{channel:f,locale:p,partner:u,error:v}),h}],190344)},414338,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(730921),l=e.i(581014),r=e.i(877957),n=e.i(62544),s=e.i(901351),o=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(546446),m=e.i(540768),p=e.i(682142),f=e.i(782937),h=e.i(695881),v=e.i(333350),g=e.i(64412),w=e.i(950771),x=e.i(537989),b=e.i(695203),y=e.i(158662),C=e.i(358273),A=e.i(777638),S=e.i(924776),j=e.i(409628),E=e.i(605781),I=e.i(289681);let R=(0,h.createLogger)("useTrackConsentChange"),_={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var N=e.i(611540),k=e.i(472925);let P=({isUserLoggedIn:e,regime:h,deviceClass:P,experience:T,isPremiumUser:L})=>{let D=(0,l.useTranslations)("PrivacyConsentModal"),O=(0,i.useLocale)(),U=(0,N.interpolateUrl)(N.URLS.privacyPolicy,{locale:O}),[M,B]=(0,a.useState)(!1),[V,$]=(0,a.useState)(!1),[H,z]=(0,a.useState)(!1),F=(()=>{let e=(0,u.useAtomValue)(x.pageIdAtom),t=(0,u.useAtomValue)(w.pageLocaleAtom),i=(0,u.useAtomValue)(b.deviceClassAtom),l=(0,u.useAtomValue)(y.experimentJoinListAtom),{location:r}=(0,g.useLocation)(),n=(0,S.useIsHightouchReady)(),s=(0,a.useCallback)(()=>{let e=(0,p.getCICookie)(),a=e?.["TWC-GeoIP-Country"]??(0,m.getCookie)("twc-location-country"),n=e?.["TWC-GeoIP-Region"]??(0,m.getCookie)("twc-location-region"),s=e?.["TWC-Privacy"]??(0,m.getCookie)("twc-privacy"),o=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=o?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,v=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,g=(0,I.getConsentAuthorization)("sale-of-data"),w=(0,I.getConsentAuthorization)("sensitive-data"),x=navigator?.cookieEnabled??!1,b=(0,m.getCookie)("partner")||"",y=(0,f.getPartnerByPattern)(b)??b,S=(0,C.getMetricsSession)(),E=S?.sessionId||"",R=new Date(S?.sessionStartTime||0).toISOString(),_=new Date,N=_.getHours(),k=j.WEEK_DAYS[_.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:i,partner:y,sessionId:E,sessionStartTime:R,siteMode:"normal",dayOfWeek:k,hourOfDay:N,regime:s??"",cookiesEnabled:x,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:h,interestBasedAds:v,priv:o,privProducts:c,saleOfDataAuthorization:g,sensitiveDataAuthorization:w,campaign:(0,A.getCampaign)(),experimentJoinList:l,weatherMode:"normal",physicalCountry:a??"",physicalState:n??"",caUser:"US"===a&&"CA"===n,wlocCity:r?.city??null,wlocCountry:r?.countryCode??null,wlocState:r?.adminDistrictCode??null,samsungVersion:(0,A.getSamsungVersion)(),appVersion:"a4d101b136e8782701254dc7081d2f3659e224d8".slice(0,10)}},[t,i,l,r]),o=(0,a.useCallback)((t,a)=>{if("sensitive-data"===t&&a)return(0,E.trackSensitiveDataOptin)(s());let i={...s(),pageId:e??"",wlocDMA:r?.dmaCd??null};return"sensitive-data"===t?(0,E.trackSensitiveDataOptout)(i):a?(0,E.trackSodOptin)(i):(0,E.trackSodOptout)(i)},[s,e,r]);return(0,a.useCallback)((e,t)=>{let a=`${_[e]}-${t?"optin":"optout"}`;if(v.default)return n?(R.info(`Hightouch: Event "${a}" tracked`),o(e,t)):void R.warn(`Hightouch: Event "${a}" skipped - SDK not ready`)},[n,o])})();(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(h)||L||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?($(!0),B(!0)):e&&a&&h===c.Regime.USA_CCPA&&(z(!0),B(!0))},[h,L,e]);let G=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await s.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},W=t=>{let a=window,i=window.top,l=a.DprSdk||i?.DprSdk;if(!l)return void console.error("Unable to fix conflict, missing DprSdk.");l.setUserConsents({[o.Purpose.SALE_OF_DATA]:t});let r=(0,k.settleWithin)(()=>F(o.Purpose.SALE_OF_DATA,t),1e3);e&&G({purpose:o.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:r}),V?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||r.then(()=>window.location.reload())):H&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),B(!1)},Z="",Y="";if(V?(Z="gpcConflictHeader",Y="gpcConflictParagraph",h===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")):H&&(Z="saleOfDataConflictHeader",Y="saleOfDataConflictParagraph",h===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")),Y)return(0,t.jsx)(n.Dialog,{open:M,onOpenChange:B,children:(0,t.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==P?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===T?"wu-theme":""} `,onEscapeKeyDown:e=>{(H||V)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[Z&&(0,t.jsx)(n.DialogHeader,{children:(0,t.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:D(Z)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:D.rich(Y,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:U,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(n.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(r.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:D("optInButtonText")}),(0,t.jsx)(r.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:D("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,P,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,P],414338)},248064,e=>{"use strict";var t=e.i(991511),a=e.i(763886),i=e.i(458001),l=e.i(394481),r=e.i(663333),n=e.i(849177),s=e.i(889753),o=e.i(5397),c=e.i(21121),d=e.i(889781);e.i(647872);var u=e.i(494889),m=e.i(928083),p=e.i(624432),f=e.i(739971),h=e.i(688070),v=e.i(647292),g=e.i(247865),w=e.i(652517),x=e.i(459598),b=e.i(90543);let y=!1,C=!1;function A(){C=!0,(0,x.suppressNextPurchaseAbandon)(),(0,x.suppressNextHightouchPurchaseAbandon)(),(0,w.reloadPage)()}e.s(["FlagsBoundaryClient",0,({params:e})=>{var w;return(0,t.useRehydrateAtoms)([[a.partnerAtom,e.partner],[i.cscCountryCodeAtom,e.cscCountryCode],[l.privacyRegimeAtom,e.privacyRegime],[r.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[n.adsDisabledAtom,e.adsDisabled],[o.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[d.nextgenRadarDriverAtom,e.nextgenRadarDriver],[u.newsHubEnabledAtom,e.newsHubEnabled],[m.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[p.contentSearchUniversalAtom,e.contentSearchUniversal],[f.subscriptionsEnabledAtom,e.subscriptionsEnabled],[v.webViewPlatformAtom,e.webViewPlatform],[h.isWebViewOnlyAtom,e.isWebViewOnly]]),w=e.userTier,(0,g.useEffect)(()=>{let e=String(w);if(!y&&(y=!0,function(){let[e]=performance.getEntriesByType("navigation");return e?.type==="back_forward"}()&&(0,b.isStaleRestore)({renderedTier:e,recordedTier:(0,b.readRecordedTier)()})))return void A();if(C)return;(0,b.recordTier)(e);let t=(0,b.readAuthEpoch)(),a=a=>{a.persisted&&!C&&(0,b.isStaleRestore)({renderedTier:e,recordedTier:(0,b.readRecordedTier)(),epochAtLoad:t,currentEpoch:(0,b.readAuthEpoch)()})&&A()};return window.addEventListener("pageshow",a),()=>window.removeEventListener("pageshow",a)},[w]),null}],248064)},302027,e=>{"use strict";e.s(["EMBED_CHECKOUT_MESSAGE",0,"wx-checkout-complete","EMBED_RELOAD_FALLBACK_MS",0,3e3])},556441,e=>{"use strict";var t=e.i(902875),a=e.i(725287),i=e.i(240058),l=e.i(877957),r=e.i(368847),n=e.i(132084),s=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)(),m=e.get("par")||e.get("partner"),p=(0,c.useIsMobile)(),f=(0,o.useSubscriptionsEnabled)(),{user:h}=(0,s.useUser)(),{isUserPremium:v}=h,g=(0,u.usePremiumSource)();return m===n.Partner.TIKTOK&&p&&f&&!v?(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)(r.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(r.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)(i.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>g({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},281468,e=>{"use strict";var t=e.i(288906),a=e.i(247865),i=e.i(725287);function l(){return false}function r(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function n(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(i.current)e.route&&i.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 i=document.createElement("script");return i.src=a,i.defer=!0,i.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),i.dataset.sdkv="1.3.1",e.sampleRate&&(i.dataset.sampleRate=e.sampleRate.toString()),e.route&&(i.dataset.route=e.route),e.endpoint?i.dataset.endpoint=e.endpoint:e.basePath&&(i.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(i.dataset.dsn=e.dsn),l()&&!1===e.debug&&(i.dataset.debug="false"),i.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(i),{setRoute:e=>{i.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&&(i.current=a.setRoute)}},[e.route]),null}function s(e){let l=(()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,a=(0,i.usePathname)();if(!e)return null;let l=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!l)return a;let n=a;try{let e=Object.entries(l);for(let[t,a]of e)if(!Array.isArray(a)){let e=r(a);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=r(a.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch(e){return a}})();return a.default.createElement(n,{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(s,{...e}))}])},175897,e=>{"use strict";var t,a=e.i(288906),i={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_7e4WzbkVZDKncqmnhezhU2V1CnUa":void 0},l=e.i(247865),r=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,l.useEffect)(()=>(e&&r&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(i,e);let a=document.createElement("script");for(let[l,r]of(a.src=`${i.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((i.ownerId&&i.projectId?{"data-owner-id":i.ownerId,"data-project-id":i.projectId,"data-branch":t??i.branch}:i.deploymentId?{"data-deployment-id":i.deploymentId}:void 0)??{})))r&&a.setAttribute(l,r);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),r=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],175897)},232598,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={callServer:function(){return r.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var l in i)Object.defineProperty(a,l,{enumerable:!0,get:i[l]});let r=e.r(276247),n=e.r(788443),s=e.r(955011)},738426,e=>{"use strict";var t=e.i(247865),a=e.i(598513),i=e.i(990033);let l={"my-plans":"my-plans-web-to-app-install","24-hour-radar":"radar-24hour-web-to-app-install","floating-button":"floating-button-web-to-app-install","allergy-species":"allergy-species-web-to-app-install"},r={"my-plans":{"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"},"allergy-species":{"get-the-app":"Get the app"}};e.s(["useTrackInstallPromptClick",0,function(e){let n=(0,a.useSendInteractionEvent)(),s=(0,t.useCallback)((e,t)=>{let a=window.AF;a&&a("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,i.v4)()}})},[]);return(0,t.useCallback)(t=>{n({moduleId:l[e],interactionType:"click",interactionElement:r[e][t]},{flushImmediately:!0}),s("web_to_app_install_click",{module:l[e],cta_type:t})},[n,s,e])}],738426)},947118,221085,e=>{"use strict";let t;var a=e.i(247865);let i=new Set,l=0,r=()=>"function"==typeof window.mParticle?.init,n=()=>{void 0!==t&&(clearInterval(t),t=void 0)},s=()=>{if(!r()||(n(),0===i.size))return;let e=[...i];for(let t of(i.clear(),e))t()},o=()=>{void 0===t&&(l=0,t=setInterval(()=>{l+=100,s(),l>=3e4&&n()},100))},c=e=>(i.add(e),o(),()=>{i.delete(e)}),d=e=>r()?(e(),()=>{}):c(e),u=e=>r()?()=>{}:c(e),m=()=>!1;e.s(["subscribeSdkLoaded",0,d,"useIsSdkLoaded",0,()=>(0,a.useSyncExternalStore)(u,r,m),"watchForSdkLoad",0,e=>{if("u"{};if(r())return s(),()=>{};o();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let a=()=>s();return t.addEventListener("load",a),()=>{t.removeEventListener("load",a)}}],221085);let p=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):d(()=>{window.mParticle?.ready?.(e),e()}),f=()=>!!window.mParticle?.isInitialized?.(),h=()=>!1;e.s(["useIsInitialized",0,()=>(0,a.useSyncExternalStore)(p,f,h)],947118)},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:r=10,sort:n="-publishdate"}){let s={q:Object.keys(t).reduce((e,a)=>{let i=t[a];return i instanceof Array?[...e,...i.map(e=>l(a,e))]:[...e,l(a,i)]},[]).join(";"),pg:`${a},${r}`,format:"json",sort:n},o=(0,i.queryStringToSearchParams)(s).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:r="-publishdate"}){let n={q:t,pg:`${a},${l}`,format:"json",sort:r},s=(0,i.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},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 i=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 i=e.r(414655),l=e.r(678651),r=e.r(718043);a.getQuickNav=async()=>{let e=(0,l.urlFrom)((0,r.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,i.handleFetchResponse)(t)}},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);let a=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,a],494889);let i=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,i],928083);let l=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,l],624432),e.s([],647872)},677997,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...r},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":l,...r,children:[i?(0,t.jsx)("desc",{id:l,children:i}):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"})]})),r=a.default.forwardRef((e,a)=>(0,t.jsx)(i.BaseIcon,{ref:a,icon:l,...e}));r.displayName="Lightning",e.s(["Lightning",0,r])},281687,e=>{"use strict";var t=e.i(64412),a=e.i(512134);e.s(["useChromeLocation",0,function(){let{location:e}=(0,t.useLocation)();return(0,a.useIsClient)()?e:void 0}])},935807,e=>{"use strict";function t(e,a=[],l=!1,r="US",n){let s,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=i(e,r,""),n="address"===e.type?e.address:void 0;if(t!==a&&t!==l&&t!==n)return t}}if(e?.disputedCountries)s=e.displayName||"";else{switch(e?.type){case"address":s=e?.address?.split(",")[0]?.trim()||"";break;case"city":s=e?.locale?.locale2||"";break;case"locality":s=e?.locale?.locale3||"";break;case"neighborhood":s=e?.locale?.locale4||"";break;case"airport":s=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",a=e?.postalCode||"";s=n?`${t} ${a}`.trim():`${t}`.trim();break}default:s=e?.displayName||""}0===s.length&&(s=e?.displayName||"")}return s}function a(e,t=[],l=!1,r="US",n){let s,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=i(e,r,"");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||"",i=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${i}`.trim(),a].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,a].filter(Boolean).join(", ")}}}(e,r)}}if(e?.disputedCountries)s=e?.displayName||"";else{let t=r===e?.countryCode?"":e?.country||"",a=e?.adminDistrict||"",i=e?.postalCode||"",l=e.city||"";switch(e?.type){case"address":s=[l,a,t].filter(Boolean).join(", ");break;case"city":default:s=[a,t].filter(Boolean).join(", ");break;case"locality":s=[e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"neighborhood":s=[e?.locale?.locale3||e?.locale?.locale2||"",a,t].filter(Boolean).join(", ");break;case"postal":{let l=a||e?.locale?.locale2||"";s=[n?`${l} ${i}`.trim():l,t].filter(Boolean).join(", ")}}}return s}function i(e,t,a){let{displayName:i,adminDistrictCode:l,adminDistrict:r,countryCode:n,disputedArea:s,country:o}=e,c=[];return i&&c.push(i),"IL"!==t&&(l?c.push(l):r&&c.push(r)),n!==t&&!1===s&&o&&c.push(o),c.join(a)}e.s(["getLocationContext",0,a,"getLocationName",0,t,"getLocationPresentationName",0,function(e,i=[],l=!1,r="US"){let n=t(e,i,l,r,!1),s=a(e,i,l,r,!0),o=e?.separator?e?.separator:n&&s?", ":"";return`${n}${o}${s}`.trim()}])},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}])},313983,e=>{"use strict";var t,a=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>a])},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},429745,e=>{"use strict";var t=e.i(902875),a=e.i(62544),i=e.i(710746),l=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:r,title:n,headline:s,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:m,getAppLabel:p="Get the app",onGetAppClick:f,learnMoreHref:h,learnMoreLabel:v="Learn more",onLearnMoreClick:g,closeLabel:w="Close",onCloseClick:x,dismissLabel:b,onDismissClick:y})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:r,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,l.cn)("flex flex-col gap-6 overflow-y-auto border-0 border-b border-black/10 bg-white px-8 py-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)(a.DialogClose,{"aria-label":w,onClick:x,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)(i.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),n?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,t.jsx)(a.DialogTitle,{className:"sr-only",children:s}),(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 text-center",children:[(0,t.jsx)("p",{className:"text-2xl font-extrabold text-[#252422]",children:s}),(0,t.jsx)("p",{className:"text-base font-medium text-[#676767]",children:o})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("a",{href:m,onClick:f,className:"flex h-12 w-40 items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:p}),h&&(0,t.jsx)("a",{href:h,onClick:g,className:"flex h-12 w-full max-w-60 items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:v}),!h&&b&&(0,t.jsx)(a.DialogClose,{onClick:y,className:"flex h-12 w-full max-w-60 cursor-pointer items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:b})]})]})})])},521231,335355,e=>{"use strict";var t=e.i(902875),a=e.i(981030),i=e.i(889753);let l=(0,a.atom)(e=>e(i.userPreferencesAtom)?.locale||"en_US");(0,a.atom)(e=>e(l).split("_")[0]);let r=(0,a.atom)(e=>e(l).split("_")[1]);e.s(["userCountryAtom",0,r,"userLocaleAtom",0,l],335355);var n=e.i(546446);let s=["VA","SO"],o=({className:e})=>{let a=(0,n.useAtomValue)(r);return s.includes(a)?(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24",children:[(0,t.jsx)("title",{children:"The Weather Channel"}),(0,t.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,t.jsxs)("svg",{className:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 52 48",children:[(0,t.jsx)("title",{children:"The Weather Company"}),(0,t.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,t.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,o,"default",0,o],521231)},731672,e=>{"use strict";var t=e.i(546446),a=e.i(965586),i=e.i(671525),l=e.i(889753),r=e.i(810564),n=e.i(553329),s=e.i(45846),o=e.i(284007),c=e.i(756227),d=e.i(358273),u=e.i(247865),m=e.i(540768),p=e.i(682142),f=e.i(782937),h=e.i(695881),v=e.i(333350),g=e.i(64412),w=e.i(950771),x=e.i(537989),b=e.i(695203),y=e.i(158662),C=e.i(777638),A=e.i(924776),S=e.i(409628),j=e.i(605781);let E=(0,h.createLogger)("useUserLoggedOut");var I=e.i(658547),R=e.i(472925),_=e.i(529603),N=e.i(160317),k=e.i(543512);let P={isLoggedIn:!1,upsxId:"",registeredEmail:void 0,premium:!1,premiumProductTier:(0,N.getSubscriptionTierKey)(k.UserSubscriptionTiers.none),$FirstName:"",$Gender:"",emailSubscriptions:"[]",premiumProductId:null,premiumExpiration:null,premiumStart:null,premiumFirstTransactionDate:null,premiumProductAutoRenew:null,premiumPrice:null,premiumProductName:null,premiumProductTerm:null};e.s(["useUserLogout",0,function({reload:e=!0,clearOnError:h=!1}={}){let N=(0,t.useSetAtom)(l.userPreferencesAtom),k=(0,c.useResetAuthState)(),{refresh:T}=(0,i.usePageNavigation)(),L=((e={})=>{let a=(0,t.useAtomValue)(x.pageIdAtom),i=(0,t.useAtomValue)(w.pageLocaleAtom),l=(0,t.useAtomValue)(b.deviceClassAtom),r=(0,t.useAtomValue)(y.experimentJoinListAtom),{location:n}=(0,g.useLocation)(),s=(0,A.useIsHightouchReady)(),{url:o,logoutMethod:c}=e;return(0,u.useCallback)(()=>{if(!v.default||!s)return;let e=(0,p.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,m.getCookie)("twc-location-country"),u=e?.["TWC-GeoIP-Region"]??(0,m.getCookie)("twc-location-region"),h=e?.["TWC-Privacy"]??(0,m.getCookie)("twc-privacy"),g=window.DprSdk?.getGdprConsentOptInsString()??"",w=window.DprSdk?.getCcpaSaleOptInString()??"",x=window.navigator?.globalPrivacyControl??!1,b=g?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,A=navigator?.cookieEnabled??!1,I=(0,m.getCookie)("partner")||"",R=(0,f.getPartnerByPattern)(I)??I,_=(0,d.getMetricsSession)(),N=_?.sessionId||"",k=_?.sessionStartTime||0,P=new Date,T=P.getHours(),L=S.WEEK_DAYS[P.getDay()]??"",D=-P.getTimezoneOffset()/60,O=document.referrer,U={url:o??window.location.pathname,logoutMethod:c??"manual",referrer:O,privProducts:w,deviceTimeZone:D,pageId:a??"",locale:i,deviceClass:l,sessionId:N,sessionStartTime:k,partner:R,wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,wlocDMA:n?.dmaCd??null,dayOfWeek:L,regime:h??"",cookiesEnabled:A,gpcSignalOptOut:x,functionalTechnologies:b,geographicallyRelevantAds:y,priv:g,hourOfDay:T,physicalCountry:t??"",physicalState:u??"",campaign:(0,C.getCampaign)()??void 0,tpcc:(0,C.getTpcc)(),linkReferral:(0,C.getLinkReferral)(),experimentJoinList:r,weatherMode:"normal",samsungVersion:(0,C.getSamsungVersion)(),appVersion:"a4d101b136e8782701254dc7081d2f3659e224d8".slice(0,10)};try{let e=(0,j.trackUserLoggedout)(U);return E.info('Hightouch: Event "user-loggedout" tracked'),e}catch(e){E.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[o,c,a,i,l,r,n,s])})(),{logout:D}=(0,I.useUserIdentity)();return async()=>{let{error:t}=await (0,n.tryCatch)(s.upsxClient.auth.logout());return t?(console.error("Failed to log out:",t),h&&(k(),N(o.RESET),(0,a.deleteCookie)("twc-user",{domain:(0,r.upsxCookieDomain)(window.location.hostname)})),!1):(await (0,R.settleWithin)(()=>L(),1e3),k(),await (0,n.tryCatch)(D()),(0,_.setSignInTraits)(P),(0,d.regenerateMetricsSession)(),N(o.RESET),(0,a.deleteCookie)("twc-user",{domain:(0,r.upsxCookieDomain)(window.location.hostname)}),e&&T({mpa:!0}),!0)}}],731672)},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",i="https://app.appsflyer.com",l="weather.com",r=`https://apps.apple.com/us/app/the-weather-channel/${a}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,l,"APPSFLYER_HOST",0,i,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,r,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,a,"PLAY_STORE_URL",0,n],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:r,currentUrl:n,allowAppsFlyer:o,deepLinkValue:c}){if(!o||!r||null===e)return"";let d="android"===e?t:a,u=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,m=u||`${i}/${d}`,p=encodeURIComponent(r.replace(/ /g,"_")),f=`${m}?pid=WWW&af_adset=${p}&c=${l}`;return c&&(f+=`&deep_link_value=${encodeURIComponent(c)}`),!u&&"ios"===e&&n&&(f+=`&af_ios_fallback=${encodeURIComponent(n)}`),f}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},402525,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:a}){if(!URL.canParse(e))return e;let i=new URL(e);return t&&i.searchParams.set("af_adset",t.replace(/ /g,"_")),a&&i.searchParams.set("deep_link_value",a),i.toString()}])},677691,e=>{"use strict";var t=e.i(247865),a=e.i(726812),i=e.i(16730),l=e.i(881282),r=e.i(546446),n=e.i(402525),s=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[c,d]=(0,t.useState)(null),[u,m]=(0,t.useState)(null),p=(0,r.useAtomValue)(n.smartScriptClickUrlAtom),f=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{d((0,l.getPlatform)(navigator.userAgent)),m(window.location.href)},[]);let h=(0,i.getAppsFlyerLink)({platform:c,trackAdset:e,currentUrl:u,allowAppsFlyer:f,deepLinkValue:o}),v="android"===c?a.PLAY_STORE_URL:a.APP_STORE_URL,g=p?(0,n.withCtaAttribution)(p,{trackAdset:e,deepLinkValue:o}):"";return{href:(f&&null!==c?g||h:"")||v,platform:c}}])},216809,e=>{"use strict";var t=e.i(247865),a=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:l}=await (0,a.tryCatch)(t);l||e||i(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])},472925,e=>{"use strict";var t=e.i(553329);let a=async(e,a)=>{let i;await (0,t.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{i=setTimeout(e,a)})])),clearTimeout(i)};e.s(["settleWithin",0,a])}]);