(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,406752,e=>{"use strict";var t=e.i(592121),i=e.i(295553),s=e.i(991511),a=e.i(546446),o=e.i(726249),n=e.i(935807),r=e.i(919101),c=e.i(527091),l=e.i(767685),u=e.i(310847),d=e.i(439766);e.s(["LocationBoundary",0,({locationPoint:e,canonicalLocation:m})=>{let h=(0,a.useAtomValue)(u.wxuUserRecentAddressesAtom),p=(0,a.useAtomValue)(u.wxuUserRecentLocationsDataAtom),[,g]=(0,a.useAtom)(i.pageLocationDataAtom),f=(0,a.useSetAtom)(d.activeLocationAtom),w=(0,t.useMemo)(()=>{let t,i;return m?(0,l.honorRecentLocationName)(m,p):(t=(0,r.getAddressForLocationData)(e.location,h),i=void 0,{displayName:t.displayName,adminDistrict:t.adminDistrict,geocode:(0,o.formatGeocode)(`${t.latitude},${t.longitude}`),placeId:t.placeId,featureId:t.featureId,city:t.city,countryCode:t.countryCode,adminDistrictCode:t.adminDistrictCode||"",presentationName:(0,n.getLocationPresentationName)(t,[],!1,i),name:(0,n.getLocationName)(t,[],!1,i),context:(0,n.getLocationContext)(t,[],!1,i),ianaTimeZone:(0,c.sanitizeIanaTimeZone)(t.ianaTimeZone),postalCode:t.postalCode,address:t.address||"",type:t.type,dmaCd:t.dmaCd||"",isDisputedLocation:t.disputedArea})},[m,e,h,p]);(0,s.useRehydrateAtoms)([[i.pageLocationDataAtom,w]]);let y=(0,t.useRef)(null);return(0,t.useEffect)(()=>{g(w);let e=w.placeId;y.current!==e&&(f({placeId:w.placeId,geocode:w.geocode,featureId:w.featureId}),y.current=e)},[w,g,f]),null}],406752)},253276,e=>{"use strict";var t=e.i(699173),i=e.i(592121);e.s(["default",0,function({candidate:e,failedMessage:s="Authentication failed. Please try again.",protectMessage:a="Remove your adblocker.",fetch:o,refresh:n,getCustomAccountInfo:r}){let[c,l]=(0,i.useState)(""),[u,d]=(0,i.useState)(!1),[m,h]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),f=(0,i.useRef)([]);(0,i.useEffect)(()=>{e.id!==f.current[0]&&(f.current=[e.id],e.transactIDs&&f.current.push(...e.transactIDs))},[e.id,e.transactIDs]);let w=(0,i.useCallback)(()=>{try{o("/?adm_get_token=1").then(e=>{e.ok&&n()}).catch(()=>{l(s)})}catch{l(s)}},[o,s,n]),y=(0,i.useMemo)(()=>"u">typeof window?window:{admiral:{}},[]);return(0,i.useEffect)(()=>{typeof window>"u"||(y.admiral=y.admiral||function(...e){(y.admiral.q=y.admiral.q||[]).push(e)},y.admiral("after","measure.detected",function(t){if("abr"==e.requirement)t.adblocking?(l(a),d(!0)):g(!0);else if("account"==e.requirement||"benefits"==e.requirement){let t=!!r;y.admiral("after","visitor.latest",function(i){var s;if("account"===e.requirement)(t?r().registered:i.status.registered)||m||(l(a),d(!0));else if("benefits"===e.requirement){let i=[];if(t)i=r().benefits;else{let e=document.cookie.split(";");e&&(i=(null==(s=e.find(e=>e.startsWith("admbenefits=")))?void 0:s.split(","))??[])}if(i){let t=e.benefits??[];if(0==t.length)return void g(!0);let s=!1;for(let e of t)i.includes(e)&&(s=!0);s?g(!0):(l(a),d(!0))}else l(a),d(!0)}})}}))},[]),(0,i.useEffect)(()=>{p&&(g(!1),w())},[p,w]),(0,i.useEffect)(()=>{m||!u||(h(!0),y.admiral("targeting","force",{candidateIDs:f.current}))},[m,u,f,y]),(0,t.jsxs)("div",{children:[c||null," "]})}])},590238,e=>{"use strict";var t=e.i(537989);e.i(609717);var i=e.i(950771),s=e.i(695203),a=e.i(604323),o=e.i(797770),n=e.i(513539),r=e.i(991511);e.s(["AnalyticsBoundary",0,e=>((0,r.useRehydrateAtoms)([[t.pageIdAtom,e.pageId],[i.pageLocaleAtom,e.pageLocale],[s.deviceClassAtom,e.deviceClass],[a.metricsArticleDataAtom,e.metricsArticleData],[o.adsMetricsUnitAndZoneAtom,e.adsMetricsUnitAndZone??"non_monetized"],[n.layoutStateAtom,e.layoutState??null],[n.activeEventAtom,e.activeEvent??null]]),null)])},855602,e=>{"use strict";var t=e.i(699173),i=e.i(592121),s=e.i(1567),a=e.i(551699);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:o,moduleKey:n,variant:r="frontend",children:c})=>{let l=(0,s.useTrackModuleViewed)(),u="admin"===r,d=(0,i.useCallback)(()=>{l({moduleId:e,modulePosition:o})},[l,e,o]),m=(0,i.useRef)(null),[h,p]=(0,i.useState)([]),g=(0,i.useCallback)(()=>{let e=m.current?Array.from(m.current.children):[];p(t=>t.length===e.length&&t.every((t,i)=>t===e[i])?t:e)},[]);return((0,i.useEffect)(()=>{let e=m.current;if(!e||(g(),"u"t.disconnect()},[g,u]),(0,a.useFullVisibilityOnce)(d,{targets:h,disabled:u}),u)?(0,t.jsx)(t.Fragment,{children:c}):(0,t.jsx)("div",{ref:m,className:"hide-empty","data-module-id":e,"data-module-key":n,"data-item-position":o,children:c})}])},115284,e=>{"use strict";var t=e.i(699173),i=e.i(592121),s=e.i(185312),a=e.i(204782);let o=({pageTemplate:e,pageDashboard:o})=>{let n=(0,a.default)();return((0,i.useEffect)(()=>{n&&e&&(window._newsroom=window._newsroom||[],window._newsroom.push({pageTemplate:e}),o&&window._newsroom.push({pageDashboard:o}),window._newsroom.push("auditClicks"),window._newsroom.push("trackPage"))},[n,e,o]),n&&e)?(0,t.jsx)(s.default,{src:"//c2.taboola.com/nr/theweatherchannel/newsroom.js",strategy:"afterInteractive",id:"newsroom_loader_script"}):null};e.s(["Newsroom",0,o,"default",0,o])},703123,e=>{"use strict";let t=(0,e.i(981030).atom)({});e.s(["gsiEmailStatesAtom",0,t])},404893,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["googleLoginInitilizedAtom",0,t])},874905,e=>{"use strict";e.i(546584);var t=e.i(699173),i=e.i(592121),s=e.i(185312),a=e.i(546446),o=e.i(683903),n=e.i(671525),r=e.i(901351),c=e.i(310847),l=e.i(776169),u=e.i(422825),d=e.i(143851),m=e.i(703123),h=e.i(404893),p=e.i(367810),g=e.i(792461);e.s(["GoogleAuthScript",0,function({onLoad:e,prompt:f=!0,isUserLoggedIn:w}){let y=(0,o.useTranslations)("GoogleLogin"),j=(0,a.useSetAtom)(h.googleLoginInitilizedAtom),{loginWithGoogle:k,error:A,clearError:v}=function(){let e=(0,o.useTranslations)("GoogleLogin"),[t,s]=(0,i.useState)(null),h=(0,a.useSetAtom)(c.userHasLoggedInBeforeAtom),p=(0,a.useAtomValue)(m.gsiEmailStatesAtom),{updateEmailSubscriptions:g}=(0,u.useEmailPreferences)({skipStatus:!0}),{refresh:f}=(0,n.usePageNavigation)(),{syncPreferencesFromUpsx:w}=(0,l.usePreferences)(),{authSuccess:y,authRedirect:j}=(0,d.useUserLogin)();return{loginWithGoogle:(0,i.useCallback)(async t=>{let{credential:i}=t;s(null);try{let e=await r.upsxClient.auth.loginWithGoogle({google_id_token:i}),t=e?.isFirstLogin;await y({email:e.email,userID:e.userID,type:t?"signup":"login"},!1);let{newsletter:s,weekly:a,onYourRadar:o,marketing:n,alwaysSubscribe:c}=p||{};return(t||c)&&await g({newsletter:s,weekly:a,onYourRadar:o,marketing:n}).catch(e=>{console.error("Failed to update email subscriptions",e)}),j(),!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:s({header:e("emailAlreadyUsedGoogleHeader"),body:e.raw("emailAlreadyUsedGoogleBody")});break;case 1027:case 1030:s({header:e("emailAlreadyRegisteredGoogleHeader"),body:e("emailAlreadyRegisteredGoogleBody")});break;default:throw Error("No Specific Error")}}catch(t){s({header:e("somethingWentWrong")})}return!1}},[h,w,f,y,j,g,p]),error:t,clearError:(0,i.useCallback)(()=>{s(null)},[])}}(),b=(0,g.useRefMemo)(k),x=(0,i.useRef)(null);A&&(x.current=A);let _=x.current;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.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=>{b.current?.(e)}}),j(!0)),e?.(),!w&&f&&t?.prompt()},id:"google-gsi-script"}),_&&(0,t.jsx)(p.Dialog,{open:!!A,onOpenChange:e=>!e&&v(),children:(0,t.jsx)(p.BasicDialog,{showCloseButton:!1,title:_.header||"",description:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:_.body||""}}),primaryAction:{label:y("cancel"),onClick:v}})})]})}],874905)},935762,e=>{"use strict";var t=e.i(699173);let i=["Topic","Topic","Topic"],s={background:"#f2f2f2",borderRadius:16,color:"#252422",fontSize:13,padding:"6px 12px",whiteSpace:"nowrap"};e.s(["TopicChipsAdminBlock",0,function({heading:e,wrapChips:a}){let o=e?.trim()??"Hot Topics:";return(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,minWidth:0,maxWidth:"100%",overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:8,minWidth:0},children:[o&&(0,t.jsx)("strong",{style:{fontSize:16},children:o}),i.map((e,i)=>(0,t.jsx)("span",{style:s,children:e},i))]}),(0,t.jsxs)("small",{style:{opacity:.7},children:["Chips come from the selected topic list at render time, following its published links. On the page they"," ",a?"wrap onto multiple lines":"scroll sideways on one line","."]})]})}],935762)},654075,e=>{"use strict";var t=e.i(699173);e.s(["TableAdminBlock",0,function(e){return(0,t.jsx)("div",{children:"Table"})}])},711899,e=>{e.v(t=>Promise.all(["static/chunks/3ulw-v-wqqzid.js"].map(t=>e.l(t))).then(()=>t(171714)))},460988,e=>{e.v(t=>Promise.all(["static/chunks/2bqbjxorsplul.js","static/chunks/2smeg_vf7rzch.js","static/chunks/0oz6wpni3qqor.js","static/chunks/1r4mw2atr0nii.js","static/chunks/00cycl48jrw9g.js","static/chunks/40-ucou5e-s2-.js","static/chunks/06xt5pmddjmc1.js","static/chunks/12ss66w2jz5v6.js","static/chunks/1g9rt823dw_nm.js","static/chunks/3ez2p7_irinam.js","static/chunks/346zwbsmbxc-r.js","static/chunks/06dms2brjp46_.js"].map(t=>e.l(t))).then(()=>t(636705)))},137688,e=>{e.v(t=>Promise.all(["static/chunks/2pz2-5xjnibsl.js"].map(t=>e.l(t))).then(()=>t(72990)))},467814,e=>{e.v(t=>Promise.all(["static/chunks/2erl34w6o_is1.css","static/chunks/2j_-q2fof8-jt.js","static/chunks/19qylbk8j9sds.js","static/chunks/0oz6wpni3qqor.js","static/chunks/40-ucou5e-s2-.js","static/chunks/1r4mw2atr0nii.js","static/chunks/00cycl48jrw9g.js","static/chunks/3ez2p7_irinam.js","static/chunks/06xt5pmddjmc1.js","static/chunks/1eshpp057bhu3.js","static/chunks/1g9rt823dw_nm.js","static/chunks/1c9_n44c2y7f8.js","static/chunks/12ss66w2jz5v6.js","static/chunks/01rqq5rfjzr_8.js"].map(t=>e.l(t))).then(()=>t(469120)))}]);