(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),i=e.i(247865),a=e.i(533760),r=e.i(405341),l=e.i(829065);e.s(["CJUniversalTagScript",0,()=>{let[e,n]=(0,i.useState)(null);return((0,i.useEffect)(()=>{let e=(0,r.getCjConfig)();e&&(0,l.isCjEligible)()&&n(e)},[]),e)?(0,t.jsx)(a.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),i=e.i(293163),a=e.i(695881),r=e.i(553329),l=e.i(405341),n=e.i(829065);let s=(0,a.createLogger)("CommissionJunction");e.s(["useCjConversionTag",0,({shouldFire:e,orderId:a,amount:o,hasTrial:d})=>{let c=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(!e||c.current||!a)return;let t=(0,l.getCjConfig)();t&&(0,n.isCjEligible)()&&(c.current=!0,(0,r.tryCatch)((async()=>{var e;let r,n,s;return e={orderId:a,amount:o,actionTrackerId:d?l.CJ_ACTION_ID_TRIAL_SIGNUP:l.CJ_ACTION_ID_DIRECT_PURCHASE,cjEventId:(0,i.getCjEvent)()},(r=window).cj=r.cj||{},r.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:a,error:e})}))},[e,a,o,d])}],560542)},269186,328166,e=>{"use strict";var t=e.i(902875),i=e.i(247865);e.s(["Card",0,function({src:e,alt:i,top:a,left:r,width:l}){return(0,t.jsx)("img",{src:e,alt:i,className:"absolute rounded-xl",style:{top:a,left:r,width:l}})},"CompositeFrame",0,function({left:e,top:i,width:a,height:r,children:l}){return(0,t.jsx)("div",{className:"absolute",style:{left:e,top:i,width:a,height:r},children:l})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:r,cx:l,cy:n,rx:s,ry:o}){let d=(0,i.useId)();return(0,t.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,t.jsx)("g",{opacity:.32,filter:`url(#${d})`,children:(0,t.jsx)("ellipse",{cx:l,cy:n,rx:s,ry:o,fill:r})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:d,x:"0",y:"0",width:e,height:a,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 a={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,a],328166)},834005,e=>{e.q("/_next/static/immutable/media/dlpg-you.3sxuqxz06ois7.png")},432124,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(240058),r=e.i(64412),l=e.i(677997),n=e.i(747961);let s=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:s,...e}));o.displayName="LightningFilled";let d=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Today"}):e?(0,t.jsx)("title",{id:i,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"})]})),c=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:d,...e}));c.displayName="PartlyCloudyBold";let u=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Today"}):e?(0,t.jsx)("title",{id:i,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"})]})),p=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:u,...e}));p.displayName="PartlyCloudyBoldFilled";let f=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video"}):e?(0,t.jsx)("title",{id:i,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"})]})),m=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:f,...e}));m.displayName="VideoPlayerBold";let h=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video"}):e?(0,t.jsx)("title",{id:i,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"})]})),g=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:h,...e}));g.displayName="VideoPlayerBoldFilled";let v=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Radar"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:v,...e}));w.displayName="RadarBold";let x=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Radar"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:x,...e}));b.displayName="RadarBoldFilled";let C=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Close"}):e?(0,t.jsx)("title",{id:i,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"})]})),y=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:C,...e}));y.displayName="CalendarBold";let A=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Daily"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:A,...e}));S.displayName="CalendarBoldFilled";let j=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"News"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:j,...e}));E.displayName="News";let R=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"News"}):e?(0,t.jsx)("title",{id:i,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"})]})),I=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:R,...e}));I.displayName="NewsFilled";var _=e.i(632137),N=e.i(546446),T=e.i(942400),k=e.i(537989);e.i(647872);var P=e.i(494889),L=e.i(611540),D=e.i(738426),O=e.i(468104),B=e.i(18358),U=e.i(381477),M=e.i(190344),V=e.i(427977),H=e.i(725287),F=e.i(559421),z=e.i(388706),$=e.i(498076),G=e.i(581014),W=e.i(304116),Y=e.i(379276),K=e.i(269153),q=e.i(528600),J=e.i(837879),X=e.i(683199),Q=e.i(677691),Z=e.i(429745),ee=e.i(269186),et=e.i(328166),ei=e.i(710746),ea=e.i(697380),er=e.i(512134),el=e.i(521350),en=e.i(358273);let es="wx-next/get-app-button:dismissed-session",eo=["/hourbyhour","/tenday","/radar","/download-app"];function ed(){let e=(0,$.useIsMobile)(),a=(0,H.usePathname)(),r=(0,N.useAtomValue)(ea.fixedBottomAdHeightAtom),{isDismissed:l,dismiss:n}=function(){let e=(0,er.useIsClient)(),[t,a]=(0,i.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,el.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,i.useCallback)(()=>{let e=(0,en.getMetricsSession)()?.sessionId;if(e&&(0,el.isLocalStorageAvailable)())try{localStorage.setItem(es,e)}catch{}a(!0)},[])}}(),{href:s}=(0,Q.useAppInstallLink)("floating-button","floating-button"),o=(0,D.useTrackInstallPromptClick)("floating-button"),d=(0,O.useTrackModuleClick)();if(!e||l||eo.some(e=>a.includes(e)))return null;let c=`calc(3.5rem + ${r}px + 0.75rem)`;return(0,t.jsx)("div",{className:"z-sticky fixed left-1/2 -translate-x-1/2 md:hidden",style:{bottom:c},"data-testid":"get-app-button","data-component":"get-app-button",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(to right, #204794, #007094)"},className:"group relative flex h-10 items-center overflow-hidden rounded-full shadow-lg",children:[(0,t.jsx)("a",{href: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:()=>{d("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)(ei.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,n=(0,$.useIsMobile)(),s=(0,H.usePathname)(),d=(0,F.useCanonicalBasePath)(),[u,f]=(0,i.useState)(!1),{href:h}=(0,Q.useAppInstallLink)("my-plans","my-plans"),v=(0,D.useTrackInstallPromptClick)("my-plans"),x=(e=(0,B.useTrackEvent)(),(0,i.useCallback)(()=>{e("myPlansDriver")},[e])),C=(0,O.useTrackModuleClick)(),A=(0,K.useIsSamsungPartner)(),j=(0,N.useAtomValue)(k.pageIdAtom),R=(0,G.useTranslations)("SidebarNavigation"),{user:ei}=(0,q.useUser)(),{isUserPremium:ea}=ei,er=(0,J.useSubscriptionsEnabled)(),el=(0,X.usePremiumSource)(),{location:en,isLoading:es}=(0,r.useLocation)(),eo=(0,T.usePageLocale)(),ec=(0,N.useAtomValue)(P.newsHubEnabledAtom),eu=(0,M.useVideoNavUrl)(),{data:ep}=(0,U.default)(["navigation/getQuickNav",eo],()=>(0,V.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ef=(0,i.useMemo)(()=>{if(es||!en)return[];let e=en.placeId||"",i=en.featureId,a=en.canonicalID,r=(0,W.buildLocationPageHref)({pageType:"today",locale:eo,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:d,skipCanonical:A}),n=(0,W.buildLocationPageHref)({pageType:"radar",locale:eo,canonicalID:a,featureId:i,placeId:e,canonicalBasePath:d,skipCanonical:A}),u=d?(0,z.navTypeForSuffix)(s.split("/").pop()):null,h="en-US"===eo?"/":`/${eo}`,v=s===h||"/"!==h&&s===`${h}/`||(d?"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/")),C=d?"radar"===u:s.includes("/weather/radar/")||s.includes("/weather/maps/"),_=s.includes("/subscribe"),N="video"===j,T=s===L.URLS.news||s.startsWith(`${L.URLS.news}/`)||Y.NEWS_PAGE_IDS.includes(j??""),k="en-US"===eo&&ec,P=ep?.videoLinkLocaleInclude?.["en-US"],D=P?.override?`?${P?.adRef}`:"",O=eu?`${eu}${D}`:"",B="h-6 w-6 text-inherit";return[{name:R("forecast"),href:r,icon:(0,t.jsx)(c,{className:B}),activeIcon:(0,t.jsx)(p,{className:B}),isActive:v},...k?[{name:"News",href:L.URLS.news,icon:(0,t.jsx)(E,{className:B}),activeIcon:(0,t.jsx)(I,{className:B}),isActive:T}]:eu?[{name:R("video"),href:O,icon:(0,t.jsx)(m,{className:B}),activeIcon:(0,t.jsx)(g,{className:B}),isActive:N}]:[],..."en-US"!==eo||A?[]:[{name:"My Plans",onClick:()=>{x(),f(!0)},icon:(0,t.jsx)(y,{className:B}),activeIcon:(0,t.jsx)(S,{className:B}),isActive:!1}],{name:R("radar"),href:n,icon:(0,t.jsx)(w,{className:B}),activeIcon:(0,t.jsx)(b,{className:B}),isActive:C},...er&&!ea&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(l.Lightning,{className:B}),activeIcon:(0,t.jsx)(o,{className:B}),isActive:_,onClick:()=>el({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[es,en,eo,s,j,ec,eu,ep,d,el,A,x]);if(!n)return null;let em="en-US"===eo&&!A;return 0===ef.length?em?(0,t.jsx)(ed,{}):null:(0,t.jsxs)(t.Fragment,{children:[em&&(0,t.jsx)(ed,{}),(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:ef.map(e=>{let i=(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}),r=(0,_.cn)("text-[11px] leading-tight",e.isActive&&"font-semibold");return e.href?(0,t.jsxs)(a.default,{href:e.href,className:i,"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:r,children:e.name})]},e.name):(0,t.jsxs)("button",{type:"button",className:i,onClick:e.onClick,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:r,children:e.name})]},e.name)})})})}),(0,t.jsx)(Z.InstallPromptSheet,{open:u,onOpenChange:f,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:()=>C("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>C("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>v("learn-more")})]})}],432124)},414338,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(730921),r=e.i(581014),l=e.i(877957),n=e.i(62544),s=e.i(901351),o=e.i(313983),d=e.i(725296),c=e.i(521350),u=e.i(546446),p=e.i(540768),f=e.i(682142),m=e.i(782937),h=e.i(695881),g=e.i(333350),v=e.i(64412),w=e.i(950771),x=e.i(537989),b=e.i(695203),C=e.i(158662),y=e.i(358273),A=e.i(777638),S=e.i(924776),j=e.i(409628),E=e.i(605781),R=e.i(289681);let I=(0,h.createLogger)("useTrackConsentChange"),_={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var N=e.i(611540),T=e.i(472925);let k=({isUserLoggedIn:e,regime:h,deviceClass:k,experience:P,isPremiumUser:L})=>{let D=(0,r.useTranslations)("PrivacyConsentModal"),O=(0,a.useLocale)(),B=(0,N.interpolateUrl)(N.URLS.privacyPolicy,{locale:O}),[U,M]=(0,i.useState)(!1),[V,H]=(0,i.useState)(!1),[F,z]=(0,i.useState)(!1),$=(()=>{let e=(0,u.useAtomValue)(x.pageIdAtom),t=(0,u.useAtomValue)(w.pageLocaleAtom),a=(0,u.useAtomValue)(b.deviceClassAtom),r=(0,u.useAtomValue)(C.experimentJoinListAtom),{location:l}=(0,v.useLocation)(),n=(0,S.useIsHightouchReady)(),s=(0,i.useCallback)(()=>{let e=(0,f.getCICookie)(),i=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),n=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),s=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),o=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",c=window.navigator?.globalPrivacyControl??!1,u=o?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,g=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,v=(0,R.getConsentAuthorization)("sale-of-data"),w=(0,R.getConsentAuthorization)("sensitive-data"),x=navigator?.cookieEnabled??!1,b=(0,p.getCookie)("partner")||"",C=(0,m.getPartnerByPattern)(b)??b,S=(0,y.getMetricsSession)(),E=S?.sessionId||"",I=new Date(S?.sessionStartTime||0).toISOString(),_=new Date,N=_.getHours(),T=j.WEEK_DAYS[_.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:a,partner:C,sessionId:E,sessionStartTime:I,siteMode:"normal",dayOfWeek:T,hourOfDay:N,regime:s??"",cookiesEnabled:x,gpcSignalOptOut:c,functionalTechnologies:u,geographicallyRelevantAds:h,interestBasedAds:g,priv:o,privProducts:d,saleOfDataAuthorization:v,sensitiveDataAuthorization:w,campaign:(0,A.getCampaign)(),experimentJoinList:r,weatherMode:"normal",physicalCountry:i??"",physicalState:n??"",caUser:"US"===i&&"CA"===n,wlocCity:l?.city??null,wlocCountry:l?.countryCode??null,wlocState:l?.adminDistrictCode??null,samsungVersion:(0,A.getSamsungVersion)(),appVersion:"a4d101b136e8782701254dc7081d2f3659e224d8".slice(0,10)}},[t,a,r,l]),o=(0,i.useCallback)((t,i)=>{if("sensitive-data"===t&&i)return(0,E.trackSensitiveDataOptin)(s());let a={...s(),pageId:e??"",wlocDMA:l?.dmaCd??null};return"sensitive-data"===t?(0,E.trackSensitiveDataOptout)(a):i?(0,E.trackSodOptin)(a):(0,E.trackSodOptout)(a)},[s,e,l]);return(0,i.useCallback)((e,t)=>{let i=`${_[e]}-${t?"optin":"optout"}`;if(g.default)return n?(I.info(`Hightouch: Event "${i}" tracked`),o(e,t)):void I.warn(`Hightouch: Event "${i}" skipped - SDK not ready`)},[n,o])})();(0,i.useEffect)(()=>{if(!d.US_REGIMES.includes(h)||L||!(0,c.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),i=localStorage.getItem("saleOfDataConflict");t?(H(!0),M(!0)):e&&i&&h===d.Regime.USA_CCPA&&(z(!0),M(!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 i=window,a=window.top,r=i.DprSdk||a?.DprSdk;if(!r)return void console.error("Unable to fix conflict, missing DprSdk.");r.setUserConsents({[o.Purpose.SALE_OF_DATA]:t});let l=(0,T.settleWithin)(()=>$(o.Purpose.SALE_OF_DATA,t),1e3);e&&G({purpose:o.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:l}),V?((0,c.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||l.then(()=>window.location.reload())):F&&(0,c.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),M(!1)},Y="",K="";if(V?(Y="gpcConflictHeader",K="gpcConflictParagraph",h===d.Regime.USA_CCPA&&(K+="_usa-ccpa")):F&&(Y="saleOfDataConflictHeader",K="saleOfDataConflictParagraph",h===d.Regime.USA_CCPA&&(K+="_usa-ccpa")),K)return(0,t.jsx)(n.Dialog,{open:U,onOpenChange:M,children:(0,t.jsxs)(n.DialogContent,{className:`text-center ${"desktop"!==k?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===P?"wu-theme":""} `,onEscapeKeyDown:e=>{(F||V)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[Y&&(0,t.jsx)(n.DialogHeader,{children:(0,t.jsx)(n.DialogTitle,{className:"text-xl font-semibold",children:D(Y)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:D.rich(K,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:B,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)(l.Button,{onClick:()=>{W(!0)},variant:"default",className:"w-full sm:w-auto",children:D("optInButtonText")}),(0,t.jsx)(l.Button,{onClick:()=>{W(!1)},variant:"secondary",className:"w-full sm:w-auto",children:D("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,k,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,k],414338)},248064,e=>{"use strict";var t=e.i(991511),i=e.i(763886),a=e.i(458001),r=e.i(394481),l=e.i(663333),n=e.i(849177),s=e.i(889753),o=e.i(5397),d=e.i(21121),c=e.i(889781);e.i(647872);var u=e.i(494889),p=e.i(928083),f=e.i(624432),m=e.i(739971),h=e.i(688070),g=e.i(647292),v=e.i(247865),w=e.i(652517),x=e.i(459598),b=e.i(90543);let C=!1,y=!1;function A(){y=!0,(0,x.suppressNextPurchaseAbandon)(),(0,x.suppressNextHightouchPurchaseAbandon)(),(0,w.reloadPage)()}e.s(["FlagsBoundaryClient",0,({params:e})=>{var w;return(0,t.useRehydrateAtoms)([[i.partnerAtom,e.partner],[a.cscCountryCodeAtom,e.cscCountryCode],[r.privacyRegimeAtom,e.privacyRegime],[l.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[n.adsDisabledAtom,e.adsDisabled],[o.showAdminHeaderAtom,e.showAdminHeader],[d.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[c.nextgenRadarDriverAtom,e.nextgenRadarDriver],[u.newsHubEnabledAtom,e.newsHubEnabled],[p.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[f.contentSearchUniversalAtom,e.contentSearchUniversal],[m.subscriptionsEnabledAtom,e.subscriptionsEnabled],[g.webViewPlatformAtom,e.webViewPlatform],[h.isWebViewOnlyAtom,e.isWebViewOnly]]),w=e.userTier,(0,v.useEffect)(()=>{let e=String(w);if(!C&&(C=!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(y)return;(0,b.recordTier)(e);let t=(0,b.readAuthEpoch)(),i=i=>{i.persisted&&!y&&(0,b.isStaleRestore)({renderedTier:e,recordedTier:(0,b.readRecordedTier)(),epochAtLoad:t,currentEpoch:(0,b.readAuthEpoch)()})&&A()};return window.addEventListener("pageshow",i),()=>window.removeEventListener("pageshow",i)},[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),i=e.i(725287),a=e.i(240058),r=e.i(877957),l=e.i(368847),n=e.i(132084),s=e.i(528600),o=e.i(837879),d=e.i(498076),c=e.i(37429),u=e.i(683199);e.s(["default",0,()=>{let e=(0,i.useSearchParams)(),p=e.get("par")||e.get("partner"),f=(0,d.useIsMobile)(),m=(0,o.useSubscriptionsEnabled)(),{user:h}=(0,s.useUser)(),{isUserPremium:g}=h,v=(0,u.usePremiumSource)();return p===n.Partner.TIKTOK&&f&&m&&!g?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(c.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)(l.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(l.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)(r.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(a.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>v({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},281468,e=>{"use strict";var t=e.i(288906),i=e.i(247865),a=e.i(725287);function r(){return false}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function n(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let a=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(a.current)e.route&&a.current(e.route);else{let i=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 i=e.scriptSrc?e.scriptSrc:r()?"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*="${i}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let a=document.createElement("script");return a.src=i,a.defer=!0,a.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),a.dataset.sdkv="1.3.1",e.sampleRate&&(a.dataset.sampleRate=e.sampleRate.toString()),e.route&&(a.dataset.route=e.route),e.endpoint?a.dataset.endpoint=e.endpoint:e.basePath&&(a.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(a.dataset.dsn=e.dsn),r()&&!1===e.debug&&(a.dataset.debug="false"),a.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${i}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(a),{setRoute:e=>{a.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});i&&(a.current=i.setRoute)}},[e.route]),null}function s(e){let r=(()=>{let e=(0,a.useParams)(),t=(0,a.useSearchParams)()||new URLSearchParams,i=(0,a.usePathname)();if(!e)return null;let r=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!i||!r)return i;let n=i;try{let e=Object.entries(r);for(let[t,i]of e)if(!Array.isArray(i)){let e=l(i);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,i]of e)if(Array.isArray(i)){let e=l(i.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch(e){return i}})();return i.default.createElement(n,{route:r,...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 i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(s,{...e}))}])},175897,e=>{"use strict";var t,i=e.i(288906),a={scriptHostname:("u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof i.default?i.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof i.default?"dpl_7e4WzbkVZDKncqmnhezhU2V1CnUa":void 0},r=e.i(247865),l=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:i}){return(0,r.useEffect)(()=>(e&&l&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(a,e);let i=document.createElement("script");for(let[r,l]of(i.src=`${a.scriptHostname}/_next-live/feedback/feedback.js`,i.setAttribute("data-explicit-opt-in","true"),e.nonce&&i.setAttribute("nonce",e.nonce),Object.entries((a.ownerId&&a.projectId?{"data-owner-id":a.ownerId,"data-project-id":a.projectId,"data-branch":t??a.branch}:a.deploymentId?{"data-deployment-id":a.deploymentId}:void 0)??{})))l&&i.setAttribute(r,l);(document.head||document.documentElement).appendChild(i)}}({nonce:i}),l=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],175897)},232598,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={callServer:function(){return l.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var r in a)Object.defineProperty(i,r,{enumerable:!0,get:a[r]});let l=e.r(276247),n=e.r(788443),s=e.r(955011)},738426,e=>{"use strict";var t=e.i(247865),i=e.i(598513),a=e.i(990033);let r={"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"},l={"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,i.useSendInteractionEvent)(),s=(0,t.useCallback)((e,t)=>{let i=window.AF;i&&i("pba","event",{eventType:"EVENT",eventName:e,eventValue:{...t,af_customer_event_id:(0,a.v4)()}})},[]);return(0,t.useCallback)(t=>{n({moduleId:r[e],interactionType:"click",interactionElement:l[e][t]},{flushImmediately:!0}),s("web_to_app_install_click",{module:r[e],cta_type:t})},[n,s,e])}],738426)},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);let i=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,i],494889);let a=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,a],928083);let r=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,r],624432),e.s([],647872)},677997,e=>{"use strict";var t=e.i(902875),i=e.i(247865),a=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:a,descId:r,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...l,children:[a?(0,t.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,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"})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:r,...e}));l.displayName="Lightning",e.s(["Lightning",0,l])},313983,e=>{"use strict";var t,i=((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",()=>i])},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),i=e.i(62544),a=e.i(710746),r=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:l,title:n,headline:s,description:o,imageUrl:d,imageAlt:c="",imageContent:u,getAppHref:p,getAppLabel:f="Get the app",onGetAppClick:m,learnMoreHref:h,learnMoreLabel:g="Learn more",onLearnMoreClick:v,closeLabel:w="Close",onCloseClick:x,dismissLabel:b,onDismissClick:C})=>(0,t.jsx)(i.Dialog,{open:e,onOpenChange:l,children:(0,t.jsxs)(i.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,onOpenAutoFocus:e=>{e.preventDefault(),e.currentTarget.focus()},className:(0,r.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)(i.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)(a.Close,{size:"sm",ariaHidden:!0,className:"size-4"})}),n?(0,t.jsx)(i.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:n}):(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:s}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[u||(d?(0,t.jsx)("div",{className:"relative h-40 w-full",children:(0,t.jsx)("img",{src:d,alt:c,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:p,onClick:m,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:f}),h&&(0,t.jsx)("a",{href:h,onClick:v,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:g}),!h&&b&&(0,t.jsx)(i.DialogClose,{onClick:C,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})]})]})})])},731672,e=>{"use strict";var t=e.i(546446),i=e.i(965586),a=e.i(671525),r=e.i(889753),l=e.i(810564),n=e.i(553329),s=e.i(45846),o=e.i(284007),d=e.i(756227),c=e.i(358273),u=e.i(247865),p=e.i(540768),f=e.i(682142),m=e.i(782937),h=e.i(695881),g=e.i(333350),v=e.i(64412),w=e.i(950771),x=e.i(537989),b=e.i(695203),C=e.i(158662),y=e.i(777638),A=e.i(924776),S=e.i(409628),j=e.i(605781);let E=(0,h.createLogger)("useUserLoggedOut");var R=e.i(658547),I=e.i(472925),_=e.i(529603),N=e.i(160317),T=e.i(543512);let k={isLoggedIn:!1,upsxId:"",registeredEmail:void 0,premium:!1,premiumProductTier:(0,N.getSubscriptionTierKey)(T.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)(r.userPreferencesAtom),T=(0,d.useResetAuthState)(),{refresh:P}=(0,a.usePageNavigation)(),L=((e={})=>{let i=(0,t.useAtomValue)(x.pageIdAtom),a=(0,t.useAtomValue)(w.pageLocaleAtom),r=(0,t.useAtomValue)(b.deviceClassAtom),l=(0,t.useAtomValue)(C.experimentJoinListAtom),{location:n}=(0,v.useLocation)(),s=(0,A.useIsHightouchReady)(),{url:o,logoutMethod:d}=e;return(0,u.useCallback)(()=>{if(!g.default||!s)return;let e=(0,f.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),u=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),h=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),v=window.DprSdk?.getGdprConsentOptInsString()??"",w=window.DprSdk?.getCcpaSaleOptInString()??"",x=window.navigator?.globalPrivacyControl??!1,b=v?.includes("functional-technology")??!1,C=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,A=navigator?.cookieEnabled??!1,R=(0,p.getCookie)("partner")||"",I=(0,m.getPartnerByPattern)(R)??R,_=(0,c.getMetricsSession)(),N=_?.sessionId||"",T=_?.sessionStartTime||0,k=new Date,P=k.getHours(),L=S.WEEK_DAYS[k.getDay()]??"",D=-k.getTimezoneOffset()/60,O=document.referrer,B={url:o??window.location.pathname,logoutMethod:d??"manual",referrer:O,privProducts:w,deviceTimeZone:D,pageId:i??"",locale:a,deviceClass:r,sessionId:N,sessionStartTime:T,partner:I,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:C,priv:v,hourOfDay:P,physicalCountry:t??"",physicalState:u??"",campaign:(0,y.getCampaign)()??void 0,tpcc:(0,y.getTpcc)(),linkReferral:(0,y.getLinkReferral)(),experimentJoinList:l,weatherMode:"normal",samsungVersion:(0,y.getSamsungVersion)(),appVersion:"a4d101b136e8782701254dc7081d2f3659e224d8".slice(0,10)};try{let e=(0,j.trackUserLoggedout)(B);return E.info('Hightouch: Event "user-loggedout" tracked'),e}catch(e){E.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[o,d,i,a,r,l,n,s])})(),{logout:D}=(0,R.useUserIdentity)();return async()=>{let{error:t}=await (0,n.tryCatch)(s.upsxClient.auth.logout());return t?(console.error("Failed to log out:",t),h&&(T(),N(o.RESET),(0,i.deleteCookie)("twc-user",{domain:(0,l.upsxCookieDomain)(window.location.hostname)})),!1):(await (0,I.settleWithin)(()=>L(),1e3),T(),await (0,n.tryCatch)(D()),(0,_.setSignInTraits)(k),(0,c.regenerateMetricsSession)(),N(o.RESET),(0,i.deleteCookie)("twc-user",{domain:(0,l.upsxCookieDomain)(window.location.hostname)}),e&&P({mpa:!0}),!0)}}],731672)},726812,16730,e=>{"use strict";let t="com.weather.Weather",i="id295646461",a="https://app.appsflyer.com",r="weather.com",l=`https://apps.apple.com/us/app/the-weather-channel/${i}`,n=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,r,"APPSFLYER_HOST",0,a,"APPSFLYER_PID",0,"WWW","APP_STORE_URL",0,l,"DEFAULT_ANDROID_ID",0,t,"DEFAULT_IPHONE_ID",0,i,"PLAY_STORE_URL",0,n],726812);var s=e.i(288906);e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:l,currentUrl:n,allowAppsFlyer:o,deepLinkValue:d}){if(!o||!l||null===e)return"";let c="android"===e?t:i,u=s.default.env.NEXT_PUBLIC_APPSFLYER_ONELINK_URL,p=u||`${a}/${c}`,f=encodeURIComponent(l.replace(/ /g,"_")),m=`${p}?pid=WWW&af_adset=${f}&c=${r}`;return d&&(m+=`&deep_link_value=${encodeURIComponent(d)}`),!u&&"ios"===e&&n&&(m+=`&af_ios_fallback=${encodeURIComponent(n)}`),m}],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:i}){if(!URL.canParse(e))return e;let a=new URL(e);return t&&a.searchParams.set("af_adset",t.replace(/ /g,"_")),i&&a.searchParams.set("deep_link_value",i),a.toString()}])},677691,e=>{"use strict";var t=e.i(247865),i=e.i(726812),a=e.i(16730),r=e.i(881282),l=e.i(546446),n=e.i(402525),s=e.i(216809);e.s(["useAppInstallLink",0,function(e,o){let[d,c]=(0,t.useState)(null),[u,p]=(0,t.useState)(null),f=(0,l.useAtomValue)(n.smartScriptClickUrlAtom),m=(0,s.useAppsFlyerConsent)();(0,t.useEffect)(()=>{c((0,r.getPlatform)(navigator.userAgent)),p(window.location.href)},[]);let h=(0,a.getAppsFlyerLink)({platform:d,trackAdset:e,currentUrl:u,allowAppsFlyer:m,deepLinkValue:o}),g="android"===d?i.PLAY_STORE_URL:i.APP_STORE_URL,v=f?(0,n.withCtaAttribution)(f,{trackAdset:e,deepLinkValue:o}):"";return{href:(m&&null!==d?v||h:"")||g,platform:d}}])},216809,e=>{"use strict";var t=e.i(247865),i=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:r}=await (0,i.tryCatch)(t);r||e||a(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])},472925,e=>{"use strict";var t=e.i(553329);let i=async(e,i)=>{let a;await (0,t.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{a=setTimeout(e,i)})])),clearTimeout(a)};e.s(["settleWithin",0,i])}]);