(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,143851,e=>{"use strict";var t=e.i(475566),r=e.i(186316),i=e.i(45846),a=e.i(310847),s=e.i(776169),l=e.i(671525),n=e.i(477716),o=e.i(947118),c=e.i(737801),d=e.i(521350);function m(){let e,m,u,x,p,g=(0,t.useSetAtom)(a.userHasLoggedInBeforeAtom),h=(0,t.useAtomValue)(a.wxuLoginRedirectPageAtom),f=(0,t.useAtomValue)(a.wxuUserAnonymousIdAtom),b=(0,r.useGetCookie)(),{syncPreferencesFromUpsx:w,updatePreferences:y}=(0,s.usePreferences)(),{navigate:v}=(0,l.default)(),{login:j}=(e=(0,o.useIsInitialized)(),m=(0,n.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let r={userIdentities:{customerid:t.customerid,email:t.email,other:t.other}};return window.mParticle?.Identity?.identify?.(r)},[e]),{identify:m,login:(0,n.useCallback)(t=>{if(!e)return console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"));let r={userIdentities:{customerid:t.customerid,email:t.email,facebook:t.facebook,facebookcustomaudienceid:t.facebookcustomaudienceid,google:t.google,microsoft:t.microsoft,other:t.other,other2:t.other2,other3:t.other3,other4:t.other4,twitter:t.twitter,yahoo:t.yahoo}};return window.mParticle?.Identity?.login?.(r)},[e]),logout:(0,n.useCallback)(()=>e?window.mParticle?.Identity?.logout?.({userIdentities:{}}):(console.warn("MParticle is not initialized"),Promise.reject(Error("MParticle is not initialized"))),[e])}),N=(u=(0,o.useIsInitialized)(),x=(0,c.useEventAttributes)(),p=(0,n.useCallback)((e,t={})=>{let r={...x,...t};if(!u)return void console.warn("MParticle is not initialized");try{window.mParticle.logEvent(e,window.mParticle.EventType.Other,r),console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}return p},[x,u])),A=async()=>{try{if(b("premium"))return null;return await i.upsxClient.purchase.getPurchaseToken(),!0}catch(e){return console.error("Failed to get UPSX token:",e),!1}},P=()=>{let e=new URLSearchParams(window.location.search).get("ref");v((e&&`https://${e}`)??h)},C=async(e,t=!0)=>{(0,d.isLocalStorageAvailable)()&&localStorage.setItem("PARTNERS_SYNC","true"),g(!0),await w()||await y({}),A(),e?.userID&&(j({email:e.email,customerid:e.userID,other:f}),N("login"===e.type?"user-loggedin":"signup-complete",{url:window.location.pathname})),t&&P()};return{login:async(e,t)=>{try{let r=await i.upsxClient.auth.login({email:e,password:t});return r&&await C({email:r.email,userID:r.userID,type:"login"}),!0}catch(e){return console.error("Failed to login",e),!1}},authSuccess:C,authRedirect:P}}e.s(["useUserLogin",()=>m],143851)},590238,e=>{"use strict";var t=e.i(537989),r=e.i(827049),i=e.i(695203),a=e.i(604323),s=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,s.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[r.pageLocaleAtom,e.pageLocale],[i.deviceClassAtom,e.deviceClass],[a.metricsArticleDataAtom,e.metricsArticleData]]),null)])},404893,e=>{"use strict";let t=(0,e.i(751931).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},874905,e=>{"use strict";e.i(694914);var t=e.i(297647),r=e.i(241722),i=e.i(477716),a=e.i(475566),s=e.i(352194),l=e.i(671525),n=e.i(901351),o=e.i(310847),c=e.i(776169),d=e.i(143851),m=e.i(404893),u=e.i(367810);function x({onLoad:e,prompt:x=!0,isUserLoggedIn:p}){let g=(0,s.useTranslations)("GoogleLogin"),h=(0,a.useSetAtom)(m.googleLoginInitilizedAtom),{loginWithGoogle:f,error:b,clearError:w}=function(){let e=(0,s.useTranslations)("GoogleLogin"),[t,r]=(0,i.useState)(null),m=(0,a.useSetAtom)(o.userHasLoggedInBeforeAtom),{refresh:u}=(0,l.usePageNavigation)(),{syncPreferencesFromUpsx:x}=(0,c.usePreferences)(),{authSuccess:p}=(0,d.useUserLogin)();return{loginWithGoogle:(0,i.useCallback)(async t=>{let{credential:i}=t;r(null);try{let e=await n.upsxClient.auth.loginWithGoogle({google_id_token:i});return await p({email:e.email,userID:e.userID,type:e?.user?.isFirstLogin?"signup":"login"}),!0}catch(t){console.error("Failed to login with Google",t);try{let i=t?.data,a=i?.messageCode;if(!a)throw Error("No Error Message");switch(a){case 1e3:case 1026:case 1033:r({header:e("emailAlreadyUsedGoogleHeader"),body:e.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:r({header:e("emailAlreadyRegisteredGoogleHeader"),body:e("emailAlreadyRegisteredGoogleBody")});break;default:throw Error("No Specific Error")}}catch(t){r({header:e("somethingWentWrong")})}return!1}},[m,x,u,p]),error:t,clearError:(0,i.useCallback)(()=>{r(null)},[])}}();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{src:"https://accounts.google.com/gsi/client",onLoad:()=>{let t=window.google?.accounts?.id;t&&(t.initialize({client_id:"797231885346-rai9vgnvf4u38enai8bhginnnrh5uvch.apps.googleusercontent.com",context:"signin",ux_mode:"popup",use_fedcm_for_prompt:!0,callback:e=>{f(e)}}),h(!0)),e?.(),!p&&x&&t?.prompt()},id:"google-gsi-script"}),(0,t.jsx)(u.Dialog,{open:!!b,onOpenChange:e=>!e&&w(),children:(0,t.jsx)(u.BasicDialog,{showCloseButton:!1,title:b?.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:b?.body||""}}),primaryAction:{label:g("cancel")}})})]})}e.s(["GoogleAuthScript",()=>x],874905)},499239,e=>{"use strict";var t=e.i(751931),r=e.i(233601);(0,t.atom)("auth");let i=(0,t.atom)(null);(0,t.atom)(null),(0,t.atom)(!1);let a=(0,t.atom)(null),s=(0,r.atomWithStorage)("wxu-web/keyval:cart","",void 0,{getOnInit:!0}),l=(0,t.atom)(""),n=(0,t.atom)(null),o=(0,r.atomWithStorage)("wxu-web/keyval:eventChainId","",void 0,{getOnInit:!0}),c=(0,t.atom)("idle");e.s(["addressDataAtom",0,i,"billingPreviewDataAtom",0,n,"cartProductIdAtom",0,s,"checkoutValidationAtom",0,c,"eventChainIdAtom",0,o,"promoCodeAtom",0,a,"tpccAtom",0,l])},782847,e=>{"use strict";var t=e.i(477716),r=e.i(959194),i=e.i(947118),a=e.i(737801);e.s(["usePurchaseStart",0,e=>{let s=(0,i.useIsInitialized)(),l=(0,a.useEventAttributes)(),[n,o]=(0,t.useState)(!1),c=(0,t.useRef)(!1),d=(0,t.useMemo)(()=>{let t={...l,step:e.step??"start",accountCreated:e.accountCreated??!1,accountLogin:e.accountLogin??!1,completed:e.completed??!1,eventChainId:e.eventChainId,premiumProductId:e.premiumProductId??void 0,weatherMode:e.weatherMode??"normal",experimentJoinList:e.experimentJoinList??void 0,mParticleGranted:e.mParticleGranted??!0};return void 0===t.premiumProductId&&delete t.premiumProductId,void 0===t.experimentJoinList&&delete t.experimentJoinList,t},[l,e.step,e.accountCreated,e.accountLogin,e.completed,e.eventChainId,e.premiumProductId,e.weatherMode,e.experimentJoinList,e.mParticleGranted]);return(0,t.useEffect)(()=>{(0,r.areObjectValuesDefined)(d)&&!n&&o(!0)},[d,n]),(0,t.useCallback)(async()=>{if(s&&n&&!c.current)try{window.mParticle?.logEvent?.("purchase-start",window.mParticle?.EventType?.Other,d),c.current=!0,console.debug(`MParticle: Event "purchase-start" tracked - ${d.pageId}`)}catch(e){console.error('MParticle: Event "purchase-start" failed',e)}},[s,d,n])}])},241329,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getSubscriptionDataUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"api/v1/subs/catalog",query:{filter:"subscribe",experience:"wx"},fetchOptions:{credentials:"include"}}}},806227,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getSubscriptionData=l;let i=e.r(414655),a=e.r(678651),s=e.r(241329);async function l(){let e=(0,s.getSubscriptionDataUrlConfig)(),t=(0,a.urlFrom)(e),r=await fetch(t,{credentials:"include",headers:{"Accept-Encoding":"gzip"},next:{revalidate:1800}});return await (0,i.handleFetchResponse)(r)}},527330,e=>{"use strict";var t=e.i(297647),r=e.i(458645),i=e.i(240058),a=e.i(477716),s=e.i(632137);let l=[{handlerArgument:"annual",caption:"Yearly"},{handlerArgument:"monthly",caption:"Monthly"}],n=({selectedPeriod:e,setSelectedPeriod:r})=>(0,t.jsxs)("div",{className:"mt-4 mb-12 flex items-center justify-center gap-5 max-md:mx-auto max-md:mt-2 max-md:mb-8",children:[(0,t.jsx)("div",{className:"max-w:42.5 mx-auto flex items-center gap-2 p-1",children:l.map(i=>(0,t.jsxs)("button",{className:(0,s.cn)("relative m-0 min-w-20 cursor-pointer rounded-[18px] border border-[#ffffff00] px-2 py-[5px] text-center text-sm leading-[1.5] text-white transition-all duration-[0.2s] outline-none select-none",{"border-[#ffffff]":i.handlerArgument===e}),onClick:()=>r(i.handlerArgument),children:[i.caption,(0,t.jsx)("div",{className:(0,s.cn)("absolute top-0 left-0 h-full w-full rounded-[18px] border border-[#ffffff80] transition-all duration-[0.2s]",{"border-[#ffffff]":i.handlerArgument===e})})]},i.handlerArgument))}),(0,t.jsxs)("div",{className:"text-center text-sm font-normal text-white",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Save up to 50% "}),"on a yearly subscription"]})]});var o=e.i(671525),c=e.i(543512),d=e.i(498076),m=e.i(877957),u=e.i(528600),x=e.i(475566),p=e.i(499239);let g=()=>{let{navigate:e}=(0,o.default)(),t=(0,x.useSetAtom)(p.cartProductIdAtom);return async r=>{t(r.id),e("/subscribe/checkout")}};var h=e.i(782847);let f=function({offer:e,selectedPeriod:r}){let{displayCurrentPlanText:i,ctaButtonClass:a,action:l,selectedPlan:n,reasonsToSubscribe:f,priceText:b,productName:w,buttonCtaText:y,textColorClass:v,billingDescription:j,billingDescriptionClass:N,afterCtaCaption:A="",cardWrapperClass:P,disableAction:C}=((e,r)=>{let{navigate:i}=(0,o.default)(),a=g(),{user:{isUserLoggedIn:s,subscriptionTier:l}}=(0,u.useUser)(),n=(0,d.useIsMobile)(),m=l===c.UserSubscriptionTiers.standard,f="annual"===r,b=e.plans.find(e=>e.type===r),w=(0,x.useAtom)(p.eventChainIdAtom)[0],y=(0,h.usePurchaseStart)({step:"start",accountCreated:!1,accountLogin:!1,completed:!1,eventChainId:w||"",premiumProductId:b?.id}),v="leading-none text-[34px]",j='text-xl leading-tight"';switch(!0){case e.product.toLowerCase().includes("ad free"):return{productName:"Standard",buttonCtaText:"Get started",textColorClass:"text-brand-300",ctaButtonClass:"text-brand-300 !bg-transparent border-brand-300",cardWrapperClass:"w-[290px] bg-[#f2f2f2e6]",reasonsToSubscribe:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"font-bold",children:"NO ADS"}),(0,t.jsx)("li",{children:"Morning Brief newsletter"})]}),displayCurrentPlanText:!1,priceText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:j,children:"$"}),(0,t.jsx)("div",{className:v,children:f?"0.84":b?.displayPrice?.total})]}),billingDescription:(0,t.jsxs)(t.Fragment,{children:["per month",f&&(0,t.jsxs)(t.Fragment,{children:[",",(0,t.jsx)("br",{}),`billed ${b.displayPrice.currencySymbol}${b.displayPrice.total.toFixed(2)} yearly`]})]}),selectedPlan:b,disableAction:b.disabled,action:async()=>{await y(),a(b)}};case e.product.toLowerCase().includes("premium"):return{productName:"Premium",buttonCtaText:f?"Try free for 7 days*":"Get Started",textColorClass:"text-brand-300",ctaButtonClass:"text-white !bg-brand-300 border-brand-300",cardWrapperClass:"w-[405px] bg-white",reasonsToSubscribe:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"font-bold",children:"NO ADS"}),(0,t.jsx)("li",{children:"Morning Brief newsletter"}),(0,t.jsx)("li",{children:"72-Hour Future Radar"}),(0,t.jsx)("li",{children:"192-Hour-forecast"}),(0,t.jsx)("li",{children:"Extended 15-Minute Details"}),(0,t.jsxs)("li",{className:"font-semibold text-[#1EB955]",children:["Storm Radar Premium App",(0,t.jsx)("span",{className:"ml-1.5 inline-block rounded-[10px] bg-[#1EB955] px-1 py-0.5 text-[10px] font-semibold text-white",children:"COMING MAR '26"})]})]}),displayCurrentPlanText:!1,priceText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:j,children:"$"}),(0,t.jsx)("div",{className:v,children:f?"2.50":b?.displayPrice?.total})]}),billingDescription:(0,t.jsxs)(t.Fragment,{children:["per month",f&&`, billed ${b.displayPrice.currencySymbol}${b.displayPrice.total.toFixed(2)} yearly`,f&&(0,t.jsxs)("div",{className:"font-semibold uppercase",children:["try",(0,t.jsx)("span",{className:"text-[#1EB955]",children:" free "}),"for 7 days!"]})]}),selectedPlan:b,afterCtaCaption:f?"*New subscribers only":"",disableAction:b.disabled,action:async()=>{await y(),a(b)}};default:return{productName:"Basic",buttonCtaText:"Get started with ads",textColorClass:"text-gray-900",ctaButtonClass:"text-slate-800 !bg-transparent border-gray-400",cardWrapperClass:"w-[290px] bg-[#f2f2f2e6]",reasonsToSubscribe:n?(0,t.jsx)("li",{children:"Morning Brief newsletter"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:"Sign in for fewer ads"}),(0,t.jsx)("li",{children:"Morning Brief newsletter"})]}),displayCurrentPlanText:m,priceText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:j,children:"$"}),(0,t.jsx)("div",{className:v,children:"0"})]}),billingDescription:(0,t.jsxs)(t.Fragment,{children:["per month,",(0,t.jsx)("br",{}),"ad-supported"]}),billingDescriptionClass:"text-gray-500",selectedPlan:b,disableAction:s,action:()=>i("/signup")}}})(e,r);return(0,t.jsxs)("div",{className:(0,s.cn)(P,"relative box-border flex min-h-[457px] flex-col rounded-[20px] p-7.5 max-md:min-h-auto max-md:w-full"),children:[n.label&&(0,t.jsx)("div",{className:(0,s.cn)("bg-brand-300 absolute top-0 right-6 translate-y-[-50%] rounded-lg px-2 py-[3px] text-[11px] leading-[13px] font-semibold tracking-[0.22px] text-white uppercase backdrop-blur-[10px]"),children:n.label}),(0,t.jsx)("div",{className:(0,s.cn)("text-[32px] leading-[1.4] font-bold max-md:text-xl",v),children:w}),(0,t.jsxs)("div",{className:(0,s.cn)("text-brand-300 flex min-h-10.5 items-start gap-2",N),children:[(0,t.jsx)("div",{className:"flex items-start justify-start gap-1 leading-[1.5] font-normal",children:b}),(0,t.jsx)("div",{className:"text-sm leading-[1.5] font-normal",children:j})]}),(0,t.jsx)("ul",{className:"mt-5.5 box-border block list-inside list-disc border-t border-[#00000033] px-2 pt-5.5 leading-[1.5] max-md:gap-1.5 max-md:text-sm",children:f}),i?(0,t.jsx)("div",{className:"absolute bottom-4 left-0 w-full text-center text-sm font-semibold text-[#999] uppercase",children:"Your current plan"}):(0,t.jsxs)("div",{className:"mt-auto",children:[(0,t.jsx)(m.Button,{className:(0,s.cn)("m-0 mt-5.5 box-border block h-14 w-full rounded-2xl border text-sm font-bold",a,C&&"!pointer-events-none !cursor-not-allowed !opacity-30"),onClick:l,disabled:C,children:y}),(0,t.jsx)("div",{className:"mt-5.5 h-[15px] text-center text-sm",children:A})]})]})},b={slug:"free-free-plan",product:"Free",position:0,plans:[{name:"Basic",termId:"standard",id:"free-plan",type:"monthly",displayPrice:{interval:"month",currencySymbol:"$",discountAmount:0,discountPercent:0,lineItems:[{productLineItemName:"Free Weather Service",price:0},{productLineItemName:"Morning Brief Newsletter",price:0}],price:0,total:0}},{name:"Basic",termId:"standard",id:"free-plan",type:"annual",displayPrice:{interval:"year",currencySymbol:"$",discountAmount:0,discountPercent:0,lineItems:[{productLineItemName:"Free Weather Service",price:0},{productLineItemName:"Morning Brief Newsletter",price:0}],price:0,total:0}}]},w=function({offers:e}){let r=(0,a.useMemo)(()=>[b,...e],[e]),[i,s]=(0,a.useState)("annual");return(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center max-md:flex-col-reverse",children:[(0,t.jsx)("div",{className:"relative mx-auto mb-6 box-border flex w-full max-w-256.5 justify-center gap-5 max-md:flex-col-reverse max-md:items-center max-md:gap-2.5",children:r.map(e=>(0,t.jsx)(f,{offer:e,selectedPeriod:i},`${e.product}_${e.slug}`))}),(0,t.jsx)(n,{selectedPeriod:i,setSelectedPeriod:s})]})};var y=e.i(381477),v=e.i(806227),j=e.i(37429);let N=function({annualPremiumPlan:e}){let r=g();return(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center px-5 py-16 text-center text-white max-md:px-4 max-md:py-15",style:{background:"linear-gradient(90deg, #161f4d 0%, #1e2972 25%, #2e3ea7 75%, #5578b0 100%)"},children:[(0,t.jsx)("p",{className:"mt-8 mb-16 flex text-center text-[36px] font-bold text-white max-md:mb-10 max-md:text-2xl",children:"Get Full Access to Premium Features"}),(0,t.jsx)("div",{className:"grid grid-cols-[repeat(auto-fit,minmax(300px,1fr))] gap-x-10 gap-y-15 max-md:block max-md:w-full lg:mx-auto lg:max-w-300",children:[{title:"No ads",description:"Just helpful weather insight. Get on with living your best life.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_no_ads_icon.png",caption:"Also included in Basic plan."},{title:"Premium map layers",description:"72-hour future radar, windstream, 30-mile lightning, and 48-hour future snowfall layers.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_premium_map_icon.png"},{title:"Extended hourly forecast",description:"Detailed, hour-by-hour forecast breakdown for the next 8 days.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_extended_forecast_icon.png"},{title:"Extended 15-minute details",description:"Go deeper into your forecast with more precision for better decisions.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_extended_details_icon.png"},{title:"Morning Brief newsletter",description:"Your local forecast, plus daily trivia, stunning photos, and our meteorologists' top picks. All in your inbox, every morning.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_morning_brief_icon.png",caption:"Also included in Core and Basic plans."},{title:"Storm Radar app",description:"Access to Storm Radar, the all-in-one high-resolution storm & hurricane tracker, including 6½ hours of global future radar and even more advanced map layers.",logoUrl:"https://s.w-x.co/subscribe_page_premium_features_storm_radar_app_icon.png",comingSoon:!0,isLogoWide:!0}].map(({title:e,description:r,logoUrl:i,isLogoWide:a,comingSoon:l,caption:n})=>(0,t.jsxs)("div",{className:(0,s.cn)("flex w-full flex-col items-center justify-start gap-2.5 max-md:mb-12 lg:max-w-[295px]",{"relative box-border rounded-[20px] bg-[#ffffff1a] p-4":l}),children:[l&&(0,t.jsx)("div",{className:"absolute top-4 right-4 rounded-2xl bg-[#00e676] px-3 py-1.5 text-center text-[11px] leading-none font-bold whitespace-nowrap text-white",children:"COMING MAR '26"}),(0,t.jsx)("div",{className:"flex w-full items-center justify-start",children:(0,t.jsx)(j.default,{src:i,alt:"",className:(0,s.cn)("m-0 block h-14.5 w-auto p-0 text-left",{"w-[91px]":a}),rounded:!1})}),(0,t.jsxs)("div",{className:"w-full text-left leading-[normal]",children:[(0,t.jsx)("div",{className:"my-4 w-full text-[22px] font-extrabold not-italic max-md:my-2",children:e}),(0,t.jsx)("p",{className:"m-0 w-full text-base font-normal not-italic",children:r}),n&&(0,t.jsx)("p",{className:"mt-1 mb-3.5 text-sm font-medium text-[#AACBFF]",children:n})]})]},e))}),e&&(0,t.jsxs)("div",{className:"mt-16 text-center",children:[(0,t.jsx)(m.Button,{className:(0,s.cn)("box-border block h-14 w-full rounded-2xl border bg-white font-bold text-[#1E2972] hover:bg-[#EEEEEE]",e.disabled&&"!pointer-events-none !cursor-not-allowed !opacity-30"),onClick:()=>r(e),disabled:e.disabled,children:"Try Premium free for 7 days"}),(0,t.jsx)("span",{className:"mt-4 block text-xs text-white",children:"Free for 7 days, then $29.99 per year after. For new subscribers only."})]})]})};var A=e.i(747961);let P=(0,a.forwardRef)(({title:e,titleId:r,desc:i,descId:a,...s},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:l,"aria-labelledby":r,"aria-describedby":a,...s,children:[i?(0,t.jsx)("desc",{id:a,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"User Anonymous"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{d:"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0m0 1.35C6.118 1.35 1.35 6.118 1.35 12c0 3.249 1.455 6.159 3.75 8.112V19.8l.005-.213A4.4 4.4 0 0 1 9.5 15.4l5.213.005A4.4 4.4 0 0 1 18.9 19.8l.001.312A10.63 10.63 0 0 0 22.65 12c0-5.882-4.768-10.65-10.65-10.65m0 3.8a4.3 4.3 0 1 1 0 8.6 4.3 4.3 0 0 1 0-8.6"})]})),C=a.default.forwardRef((e,r)=>(0,t.jsx)(A.BaseIcon,{ref:r,icon:P,...e}));C.displayName="UserAvatarFilledAlt",e.s(["default",0,()=>{let{user:{isUserLoggedIn:e}}=(0,u.useUser)(),{data:{data:a=[]}={}}=(0,y.default)("subs-data",v.getSubscriptionData,{revalidateOnFocus:!1,dedupingInterval:6e4}),s=a.find(e=>e.product.toLowerCase().includes("premium")),l=(s?.plans||[]).find(e=>"annual"===e.type);return(0,t.jsxs)("div",{className:"relative flex flex-col bg-white",children:[(0,t.jsxs)("div",{className:"relative flex max-w-screen flex-col items-center bg-white bg-cover bg-bottom-right bg-no-repeat bg-blend-multiply max-md:p-4",style:{backgroundImage:"linear-gradient(270deg, rgba(0, 112, 148, 0) 0%, rgba(17, 100, 162, 0.6) 48.08%, rgba(32, 71, 148, 0.6) 100%), url('https://s.w-x.co/subscribe_page_hero_background.jpg')"},children:[(0,t.jsx)(i.default,{href:"/",className:"absolute top-5.5 left-5.5 cursor-pointer bg-transparent max-md:hidden",children:(0,t.jsx)(r.default,{className:"h-12 w-12 text-white"})}),!e&&(0,t.jsxs)(i.default,{href:"/login",className:"absolute top-5.5 right-7.5 flex h-12 w-auto cursor-pointer items-center justify-center gap-2 rounded-lg border-1 border-blue-500 bg-gray-100 px-4 text-base font-bold whitespace-nowrap text-black no-underline max-md:hidden",children:[(0,t.jsx)(C,{className:"h-3.5 w-3.5"}),"Sign In for fewer ads"]}),(0,t.jsxs)("div",{className:"max-w-full px-5.5",children:[(0,t.jsxs)("div",{className:"mx-auto box-border w-full max-w-256.5 py-16 max-md:max-w-full max-md:py-4",children:[(0,t.jsxs)("div",{className:"mt-5.5 mb-7.5 block text-left text-[48px] leading-[1.1] font-extrabold tracking-[-0.5px] text-white max-md:m-0 max-md:p-0 max-md:text-[28px] max-md:font-black",children:["Upgrade for Premium",(0,t.jsx)("br",{}),"Forecasts, Ad-Free"]}),(0,t.jsx)("span",{className:"m-0 block text-left text-lg leading-[1.5] font-semibold text-white max-md:text-sm",children:"Join the millions who trust The Weather Channel to stay informed and safe."})]}),(0,t.jsx)(w,{offers:a})]})]}),(0,t.jsx)(N,{annualPremiumPlan:l}),(0,t.jsx)("div",{className:"relative overflow-hidden",children:(0,t.jsx)("img",{src:"https://arttrk.com/pixel/?ad_log=referer&action=content&pixid=30e4a728-4d82-494e-b110-fab662e0628f",width:"1",height:"1",className:"absolute top-100000"})})]})}],527330)},993862,e=>{"use strict";let t=e.i(401232).SWRConfig;e.s(["S",()=>t])}]);