(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")},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),n=e.i(64412),r=e.i(677997),l=e.i(995113),s=e.i(702957),o=e.i(489408),c=e.i(113016),d=e.i(312401),u=e.i(807215),p=e.i(876329),f=e.i(160937),m=e.i(64344),h=e.i(51398),g=e.i(240027),v=e.i(632137),b=e.i(546446);e.i(609717);var x=e.i(950771),w=e.i(537989);e.i(647872);var y=e.i(494889),A=e.i(611540),C=e.i(738426),E=e.i(468104),S=e.i(18358),_=e.i(381477),R=e.i(190344),j=e.i(427977),k=e.i(725287),N=e.i(559421),I=e.i(388706),L=e.i(498076),P=e.i(581014),T=e.i(304116),O=e.i(379276),D=e.i(269153),B=e.i(528600),U=e.i(837879),F=e.i(683199),M=e.i(677691),H=e.i(429745),$=e.i(269186),V=e.i(328166),G=e.i(226602),z=e.i(697380),W=e.i(512134),Y=e.i(521350),q=e.i(358273);let K="wx-next/get-app-button:dismissed-session",X=["/hourbyhour","/radar","/download-app"];function Q(){let e=(0,L.useIsMobile)(),i=(0,k.usePathname)(),n=(0,b.useAtomValue)(z.fixedBottomAdHeightAtom),{isDismissed:r,dismiss:l}=function(){let e=(0,W.useIsClient)(),[t,i]=(0,a.useState)(!1);return{isDismissed:!e||t||function(){let e=function(){if(!(0,Y.isLocalStorageAvailable)())return null;try{return localStorage.getItem(K)}catch{return null}}();if(!e)return!1;let t=(0,q.getMetricsSession)()?.sessionId;return!!t&&t===e}(),dismiss:(0,a.useCallback)(()=>{let e=(0,q.getMetricsSession)()?.sessionId;if(e&&(0,Y.isLocalStorageAvailable)())try{localStorage.setItem(K,e)}catch{}i(!0)},[])}}(),{href:s}=(0,M.useAppInstallLink)("floating-button","floating-button"),o=(0,C.useTrackInstallPromptClick)("floating-button"),c=(0,E.useTrackModuleClick)();if(!e||r||X.some(e=>i.includes(e)))return null;let d=`calc(3.5rem + ${n}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"),l()},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)(G.Close,{size:"sm",ariaHidden:!0,className:"size-4 text-white"})})]})})}e.s(["default",0,function(){let e,G=(0,L.useIsMobile)(),z=(0,k.usePathname)(),W=(0,N.useCanonicalBasePath)(),[Y,q]=(0,a.useState)(!1),{href:K}=(0,M.useAppInstallLink)("my-plans","my-plans"),X=(0,C.useTrackInstallPromptClick)("my-plans"),Z=(e=(0,S.useTrackEvent)(),(0,a.useCallback)(()=>{e("myPlansDriver")},[e])),J=(0,E.useTrackModuleClick)(),ee=(0,D.useIsSamsungPartner)(),et=(0,b.useAtomValue)(w.pageIdAtom),ea=(0,P.useTranslations)("SidebarNavigation"),{user:ei}=(0,B.useUser)(),{isUserPremium:en}=ei,er=(0,U.useSubscriptionsEnabled)(),el=(0,F.usePremiumSource)(),{location:es,isLoading:eo}=(0,n.useLocation)(),ec=(0,b.useAtomValue)(x.pageLocaleAtom),ed=(0,b.useAtomValue)(y.newsHubEnabledAtom),eu=(0,R.useVideoNavUrl)(),{data:ep}=(0,_.default)(["navigation/getQuickNav",ec],()=>(0,j.getQuickNav)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!0,errorRetryCount:2,errorRetryInterval:2e3}),ef=(0,a.useMemo)(()=>{if(eo||!es)return[];let e=es.placeId||"",a=es.featureId,i=es.canonicalID,n=(0,T.buildLocationPageHref)({pageType:"today",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:W,skipCanonical:ee}),v=(0,T.buildLocationPageHref)({pageType:"radar",locale:ec,canonicalID:i,featureId:a,placeId:e,canonicalBasePath:W,skipCanonical:ee}),b=W?(0,I.navTypeForSuffix)(z.split("/").pop()):null,x="en-US"===ec?"/":`/${ec}`,w=z===x||"/"!==x&&z===`${x}/`||(W?"forecast"===b:z.includes("/weather/today/")||z.includes("/weather/hourbyhour/")||z.includes("/weather/tenday/")||z.includes("/weather/monthly/")||z.includes("/forecast/allergy/")||z.includes("/forecast/air-quality/")||z.includes("/forecast/cold-flu/")),y=W?"radar"===b:z.includes("/weather/radar/")||z.includes("/weather/maps/"),C=z.includes("/subscribe"),E="video"===et,S=z===A.URLS.news||z.startsWith(`${A.URLS.news}/`)||O.NEWS_PAGE_IDS.includes(et??""),_="en-US"===ec&&ed,R=ep?.videoLinkLocaleInclude?.["en-US"],j=R?.override?`?${R?.adRef}`:"",k=eu?`${eu}${j}`:"",N="h-6 w-6 text-inherit";return[{name:ea("forecast"),href:n,icon:(0,t.jsx)(s.PartlyCloudyBold,{className:N}),activeIcon:(0,t.jsx)(o.PartlyCloudyBoldFilled,{className:N}),isActive:w},..._?[{name:"News",href:A.URLS.news,icon:(0,t.jsx)(h.News,{className:N}),activeIcon:(0,t.jsx)(g.NewsFilled,{className:N}),isActive:S}]:eu?[{name:ea("video"),href:k,icon:(0,t.jsx)(c.VideoPlayerBold,{className:N}),activeIcon:(0,t.jsx)(d.VideoPlayerBoldFilled,{className:N}),isActive:E}]:[],..."en-US"!==ec||ee?[]:[{name:"My Plans",onClick:()=>{Z(),q(!0)},icon:(0,t.jsx)(f.CalendarBold,{className:N}),activeIcon:(0,t.jsx)(m.CalendarBoldFilled,{className:N}),isActive:!1}],{name:ea("radar"),href:v,icon:(0,t.jsx)(u.RadarBold,{className:N}),activeIcon:(0,t.jsx)(p.RadarBoldFilled,{className:N}),isActive:y},...er&&!en&&[{name:"Upgrade",href:"/subscribe?tpcc=mktg-localsuite-nav-subscribe",icon:(0,t.jsx)(r.Lightning,{className:N}),activeIcon:(0,t.jsx)(l.LightningFilled,{className:N}),isActive:C,onClick:()=>el({sourceModule:"localsuite-nav",sourceElement:"upgrade"})}]||[]]},[eo,es,ec,z,et,ed,eu,ep,W,el,ee,Z]);if(!G)return null;let em="en-US"===ec&&!ee;return 0===ef.length?em?(0,t.jsx)(Q,{}):null:(0,t.jsxs)(t.Fragment,{children:[em&&(0,t.jsx)(Q,{}),(0,t.jsx)("nav",{className:"z-sticky fixed right-0 bottom-0 left-0 bg-white md:hidden","aria-label":"Mobile navigation","data-component":"localsuite-nav","data-testid":"localsuite-nav",children:(0,t.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:(0,t.jsx)("div",{className:"flex h-14 w-full items-stretch justify-around px-4 py-1",children:ef.map(e=>{let a=(0,v.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}),n=(0,v.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:n,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:n,children:e.name})]},e.name)})})})}),(0,t.jsx)(H.InstallPromptSheet,{open:Y,onOpenChange:q,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)($.CompositeFrame,{left:"0%",top:"-40.84%",width:"100%",height:"181.69%",children:[(0,t.jsx)($.Glow,{viewBoxWidth:480,viewBoxHeight:408,color:"#679CED",cx:240,cy:204,rx:160,ry:124}),(0,t.jsx)($.Card,{src:V.default.src,alt:"My Plans cards showing a saved commute activity and flight status",top:"26.2%",left:"23.5%",width:"53.3%"})]})}),getAppHref:K,onGetAppClick:()=>J("my-plans-drawer/get-the-app","Get the app"),onCloseClick:()=>J("my-plans-drawer/dismiss","dismiss"),learnMoreHref:"/download-app#my-plans",onLearnMoreClick:()=>X("learn-more")})]})}],432124)},414338,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(730921),n=e.i(581014),r=e.i(877957),l=e.i(62544),s=e.i(901351),o=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(611540);let p=({isUserLoggedIn:e,regime:p,deviceClass:f,experience:m,isPremiumUser:h})=>{let g=(0,n.useTranslations)("PrivacyConsentModal"),v=(0,i.useLocale)(),b=(0,u.interpolateUrl)(u.URLS.privacyPolicy,{locale:v}),[x,w]=(0,a.useState)(!1),[y,A]=(0,a.useState)(!1),[C,E]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(p)||h||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(A(!0),w(!0)):e&&a&&p===c.Regime.USA_CCPA&&(E(!0),w(!0))},[p,h,e]);let S=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await s.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&window.location.reload()}catch(e){console.error("Failed to update UPSX consent:",e)}},_=t=>{let a=window,i=window.top,n=a.DprSdk||i?.DprSdk;n?(n.setUserConsents({[o.Purpose.SALE_OF_DATA]:t}),e&&S({purpose:o.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0}),y?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||window.location.reload()):C&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),w(!1)):console.error("Unable to fix conflict, missing DprSdk.")},R="",j="";if(y?(R="gpcConflictHeader",j="gpcConflictParagraph",p===c.Regime.USA_CCPA&&(j+="_usa-ccpa")):C&&(R="saleOfDataConflictHeader",j="saleOfDataConflictParagraph",p===c.Regime.USA_CCPA&&(j+="_usa-ccpa")),j)return(0,t.jsx)(l.Dialog,{open:x,onOpenChange:w,children:(0,t.jsxs)(l.DialogContent,{className:`text-center ${"desktop"!==f?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===m?"wu-theme":""} `,onEscapeKeyDown:e=>{(C||y)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[R&&(0,t.jsx)(l.DialogHeader,{children:(0,t.jsx)(l.DialogTitle,{className:"text-xl font-semibold",children:g(R)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:g.rich(j,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:b,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(l.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(r.Button,{onClick:()=>{_(!0)},variant:"default",className:"w-full sm:w-auto",children:g("optInButtonText")}),(0,t.jsx)(r.Button,{onClick:()=>{_(!1)},variant:"secondary",className:"w-full sm:w-auto",children:g("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,p,"default",0,p])},248064,e=>{"use strict";var t=e.i(991511),a=e.i(763886),i=e.i(458001),n=e.i(394481),r=e.i(663333),l=e.i(849177),s=e.i(889753),o=e.i(5397),c=e.i(21121);e.i(647872);var d=e.i(494889),u=e.i(928083),p=e.i(624432),f=e.i(739971),m=e.i(688070),h=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[a.partnerAtom,e.partner],[i.cscCountryCodeAtom,e.cscCountryCode],[n.privacyRegimeAtom,e.privacyRegime],[r.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[l.adsDisabledAtom,e.adsDisabled],[o.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[d.newsHubEnabledAtom,e.newsHubEnabled],[u.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[p.contentSearchUniversalAtom,e.contentSearchUniversal],[f.subscriptionsEnabledAtom,e.subscriptionsEnabled],[h.webViewPlatformAtom,e.webViewPlatform],[m.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},556441,e=>{"use strict";var t=e.i(902875),a=e.i(725287),i=e.i(240058),n=e.i(877957),r=e.i(368847),l=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)(),p=e.get("par")||e.get("partner"),f=(0,c.useIsMobile)(),m=(0,o.useSubscriptionsEnabled)(),{user:h}=(0,s.useUser)(),{isUserPremium:g}=h,v=(0,u.usePremiumSource)();return p===l.Partner.TIKTOK&&f&&m&&!g?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(d.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(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)(n.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:()=>v({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},185945,e=>{"use strict";var t=e.i(288906),a=e.i(247865),i=e.i(725287);function n(){return false}function r(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function l(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:n()?"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),n()&&!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 n=(()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,a=(0,i.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!n)return a;let l=a;try{let e=Object.entries(n);for(let[t,a]of e)if(!Array.isArray(a)){let e=r(a);e.test(l)&&(l=l.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=r(a.join("/"));e.test(l)&&(l=l.replace(e,`/[...${t}]`))}return l}catch(e){return a}})();return a.default.createElement(l,{route:n,...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}))}])},538946,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_CZtZzCiM5fnWqM8RDrQeB7FCU35c":void 0},n=e.i(247865),r=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,n.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[n,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(n,r);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),r=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],538946)},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 l.findSourceMapURL}};for(var n in i)Object.defineProperty(a,n,{enumerable:!0,get:i[n]});let r=e.r(276247),l=e.r(788443),s=e.r(955011)},738426,e=>{"use strict";var t=e.i(247865),a=e.i(598513);let i={"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"},n={"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"}};e.s(["useTrackInstallPromptClick",0,function(e){let r=(0,a.useSendInteractionEvent)();return(0,t.useCallback)(t=>{r({moduleId:i[e],interactionType:"click",interactionElement:n[e][t]},{flushImmediately:!0})},[r,e])}])},468104,269186,328166,e=>{"use strict";var t=e.i(247865),a=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,a.useSendInteractionEvent)();return(0,t.useCallback)((t,a)=>{e({moduleId:t,interactionType:"click",interactionElement:a},{flushImmediately:!0})},[e])}],468104);var i=e.i(902875);e.s(["Card",0,function({src:e,alt:t,top:a,left:n,width:r}){return(0,i.jsx)("img",{src:e,alt:t,className:"absolute rounded-xl",style:{top:a,left:n,width:r}})},"CompositeFrame",0,function({left:e,top:t,width:a,height:n,children:r}){return(0,i.jsx)("div",{className:"absolute",style:{left:e,top:t,width:a,height:n},children:r})},"Glow",0,function({viewBoxWidth:e,viewBoxHeight:a,color:n,cx:r,cy:l,rx:s,ry:o}){let c=(0,t.useId)();return(0,i.jsxs)("svg",{"aria-hidden":"true",className:"absolute inset-0 size-full",viewBox:`0 0 ${e} ${a}`,preserveAspectRatio:"none",children:[(0,i.jsx)("g",{opacity:.32,filter:`url(#${c})`,children:(0,i.jsx)("ellipse",{cx:r,cy:l,rx:s,ry:o,fill:n})}),(0,i.jsx)("defs",{children:(0,i.jsxs)("filter",{id:c,x:"0",y:"0",width:e,height:a,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,i.jsx)("feGaussianBlur",{stdDeviation:40})]})})]})}],269186);let n={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,n],328166)},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},677997,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(747961);let n=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:n,...r},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":a,"aria-describedby":n,...r,children:[i?(0,t.jsx)("desc",{id:n,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:n,...e}));r.displayName="Lightning",e.s(["Lightning",0,r])},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},520362,e=>{"use strict";var t=e.i(902875),a=e.i(247865);let i=e=>{let{apiRoute:t,depth:i,refresh:n,serverURL:r}=e,l=(0,a.useRef)(!1),s=(0,a.useCallback)(e=>{e.origin===r&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,r]);return(0,a.useEffect)(()=>("u">typeof window&&window.addEventListener("message",s),l.current||(l.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:r}),n()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[r,s,i,t,n]),null};var n=e.i(725287);let r=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),l={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},s=e=>{let a=(0,n.useRouter)();return(0,t.jsx)(i,{...e,refresh:a.refresh})};e.s(["LivePreviewListener",0,s],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)(null),i=(0,a.useRef)(null),n=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useCallback)(()=>{if("u"{let a=t.current,n=e.current;if(!a||!n)return;if(!a.isConnected){t.current=null,n.style.opacity="0",i.current?.disconnect();return}let r=a.getBoundingClientRect();n.style.top=`${r.top+window.scrollY}px`,n.style.left=`${r.left+window.scrollX}px`,n.style.width=`${r.width}px`,n.style.height=`${r.height}px`,n.style.opacity="1"},[]),d=(0,a.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),i.current?.disconnect()},[]),u=(0,a.useCallback)(()=>{t.current&&null===n.current&&(n.current=requestAnimationFrame(()=>{n.current=null,c()}))},[c]),p=(0,a.useCallback)(e=>{if(e===s.current)return;let a=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!a)return void r.debug("No element found for block ID",{blockId:e});let n=(e=>{let t=e,a=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?p(e.data.blockId):d())};return window.addEventListener("message",t),window.addEventListener("scroll",u,{passive:!0}),window.addEventListener("resize",u,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",u),window.removeEventListener("resize",u),null!==n.current&&cancelAnimationFrame(n.current),i.current?.disconnect(),e.current?.remove()}},[p,d,u]),null},"LivePreviewListener",0,s],520362)},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},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])},429745,e=>{"use strict";var t=e.i(902875),a=e.i(62544),i=e.i(226602),n=e.i(632137);e.s(["InstallPromptSheet",0,({open:e,onOpenChange:r,title:l,headline:s,description:o,imageUrl:c,imageAlt:d="",imageContent:u,getAppHref:p,getAppLabel:f="Get the app",onGetAppClick:m,learnMoreHref:h,learnMoreLabel:g="Learn more",onLearnMoreClick:v,closeLabel:b="Close",onCloseClick:x})=>(0,t.jsx)(a.Dialog,{open:e,onOpenChange:r,children:(0,t.jsxs)(a.DialogContent,{"aria-describedby":void 0,showCloseButton:!1,className:(0,n.cn)("flex flex-col gap-12 overflow-y-auto border-0 border-b border-black/10 bg-white p-6","pb-[calc(1.5rem+env(safe-area-inset-bottom))]","fixed inset-x-0 top-auto bottom-0 max-h-[90dvh] w-full max-w-none translate-x-0 translate-y-0 sm:max-w-none","rounded-t-3xl rounded-b-none","data-[state=open]:slide-in-from-bottom-full data-[state=closed]:slide-out-to-bottom-full"),children:[(0,t.jsx)(a.DialogClose,{"aria-label":b,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"})}),l?(0,t.jsx)(a.DialogTitle,{className:"p-0 text-center text-base font-bold text-[#252422]",children:l}):(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 px-4 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 gap-4",children:[(0,t.jsx)("a",{href:p,onClick:m,className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#252422] text-base font-bold text-white hover:bg-[#3a3a3a] active:bg-black",children:f}),h&&(0,t.jsx)("a",{href:h,onClick:v,className:"flex h-12 w-full items-center justify-center rounded-lg text-base font-bold text-[#252422] hover:opacity-70",children:g})]})]})})])},726812,16730,e=>{"use strict";let t="com.weather.Weather",a="id295646461",i="https://app.appsflyer.com",n="weather.com",r=`https://apps.apple.com/us/app/the-weather-channel/${a}`,l=`https://play.google.com/store/apps/details?id=${t}`;e.s(["APPSFLYER_DEFAULT_CAMPAIGN",0,n,"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,l],726812),e.s(["getAppsFlyerLink",0,function({platform:e,trackAdset:r,currentUrl:l,allowAppsFlyer:s,deepLinkValue:o}){if(!s||!r||null===e)return"";let c="android"===e?t:a,d=encodeURIComponent(r.replace(/ /g,"_")),u=`${i}/${c}?pid=WWW&af_adset=${d}&c=${n}`;return o&&(u+=`&deep_link_value=${encodeURIComponent(o)}`),"ios"===e&&l&&(u+=`&af_ios_fallback=${encodeURIComponent(l)}`),u}],16730)},881282,e=>{"use strict";e.s(["getPlatform",0,function(e){return/iPhone|iPod|iPad/.test(e)?"ios":/Android/.test(e)?"android":null}])},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},677691,e=>{"use strict";var t=e.i(247865),a=e.i(726812),i=e.i(16730),n=e.i(881282);e.s(["useAppInstallLink",0,function(e,r){let[l,s]=(0,t.useState)(null),[o,c]=(0,t.useState)(null),[d,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{s((0,n.getPlatform)(navigator.userAgent)),c(window.location.href),u(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)},[]);let p=(0,i.getAppsFlyerLink)({platform:l,trackAdset:e,currentUrl:o,allowAppsFlyer:d,deepLinkValue:r}),f="android"===l?a.PLAY_STORE_URL:a.APP_STORE_URL;return{href:p||f,platform:l}}])}]);