(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,540798,511518,516467,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"k",0,1440,"d",0,43200],511518),e.s(["f",0,r],540798),e.s(["f",0,function(e,t){return r(t||e,e)}],516467)},899507,e=>{"use strict";e.s(["f",0,function(e){return null==e}])},449928,760430,355200,e=>{"use strict";e.s(["f",0,function(e){return null==e||"object"!=typeof e&&"function"!=typeof e}],449928),e.s(["f",0,function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}],760430),e.s(["f",0,function(e){return"__proto__"===e}],355200)},196060,e=>{"use strict";let t=(0,e.i(463032).f)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["f",0,t],196060)},590238,e=>{"use strict";var t=e.i(935251),r=e.i(537989);e.i(609717);var i=e.i(950771),n=e.i(695203),o=e.i(604323),a=e.i(797770),s=e.i(236433),l=e.i(513539),c=e.i(991511);e.s(["AnalyticsBoundary",0,e=>{let u=(0,t.usePathname)();return(0,c.f)([[r.f,e.pageId],[i.f,e.pageLocale],[n.f,e.deviceClass],[o.f,e.metricsArticleData],[a.f,e.adsMetricsUnitAndZone??"non_monetized"],[l.D,e.layoutState??null],[l.M,e.activeEvent??null],[s.f,u]]),null}])},855602,e=>{"use strict";var t=e.i(458201),r=e.i(538167),i=e.i(1567),n=e.i(782552),o=e.i(551699);e.s(["ModuleAnalytics",0,({moduleId:e,modulePosition:a,moduleKey:s,variant:l="frontend",children:c})=>{let u=(0,i.f)(),d=(0,n.f)(),f="admin"===l,p=(0,r.useCallback)(()=>{u({moduleId:e,modulePosition:a}),d({moduleId:e,modulePosition:a})},[u,d,e,a]),g=(0,r.useRef)(null),[m,w]=(0,r.useState)([]),y=(0,r.useCallback)(()=>{let e=g.current?Array.from(g.current.children):[];w(t=>t.length===e.length&&t.every((t,r)=>t===e[r])?t:e)},[]);return((0,r.useEffect)(()=>{let e=g.current;if(!e||(y(),"u"t.disconnect()},[y,f]),(0,o.f)(p,{targets:m,disabled:f}),f)?(0,t.jsx)(t.Fragment,{children:c}):(0,t.jsx)("div",{ref:g,className:"hide-empty","data-module-id":e,"data-module-key":s,"data-item-position":a,children:c})}])},539353,e=>{"use strict";e.i(199690);var t=e.i(538167),r=e.i(282446),i=e.i(201542),n=e.i(682142),o=e.i(782937),a=e.i(695881),s=e.i(333350),l=e.i(64412),c=e.i(950771),u=e.i(537989),d=e.i(695203),f=e.i(158662),p=e.i(358273),g=e.i(777638),m=e.i(727365),w=e.i(896363),y=e.i(924776),h=e.i(24638),b=e.i(963722),S=e.i(313983),v=e.i(605781);let I=(0,a.createLogger)("useSignupComplete"),E=["SUN","MON","TUE","WED","THU","FRI","SAT"],C=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),O=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),_=["appVersion","cookiesEnabled","dayOfWeek","deviceClass","formVariant","functionalTechnologies","genderFilled","geographicallyRelevantAds","gpcSignalOptOut","hourOfDay","locale","loginMethod","marketingOptedIn","newsletterOptedIn","pageId","partner","physicalCountry","physicalState","priv","regime","sessionId","sessionStartTime","url","wlocCity","wlocCountry","wlocDMA","wlocState"];e.s(["f",0,(e={})=>{let a=(0,r.y)(u.f),A=(0,r.y)(c.f),R=(0,r.y)(d.f),{location:T}=(0,l.f)(),P=(0,r.y)(f.f),D=(0,h.f)(),k=(0,y.f)()&&void 0!==D,N=(0,t.useRef)(!1),{formVariant:G,url:U,loginMethod:j,newsletterOptedIn:L,marketingOptedIn:M,sourcePage:x,sourceModule:F,sourceElement:V,sourcePosition:B}=e,W=(0,t.useMemo)(()=>{if(!s.default)return null;let e=(0,n.f)(),t=e?.["TWC-GeoIP-Country"]??(0,i.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,i.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,i.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,f=(0,b.u)(S.f.FUNCTIONAL_TECHNOLOGY,D),y=(0,b.u)(S.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING,D),h=navigator?.cookieEnabled??!1,v=(0,i.getCookie)("partner")||"",I=(0,o.i)(v)??v,_=(0,p.N)(),k=_?.sessionId||"",N=_?.sessionStartTime||0,W=new Date,H=W.getHours(),Y=E[W.getDay()]??"",$=-W.getTimezoneOffset()/60,z=document.referrer,K=(0,m.f)(T?.type),Z=T?.featureSource??null;return{formVariant:G??"",url:U??"",loginMethod:j??"Regular",newsletterOptedIn:L??!1,marketingOptedIn:M??!1,genderFilled:!1,sourcePage:x??null,sourceModule:F??null,sourceElement:V??null,sourcePosition:B??null,pageId:a??"",locale:A,deviceClass:R,sessionId:k,sessionStartTime:N,partner:I,wlocCity:T?.city??null,wlocCountry:T?.countryCode??null,wlocState:T?.adminDistrictCode??null,wlocDMA:T?.dmaCd??null,wlocId:T?.placeId??null,wlocFeatureSource:null!=Z&&O.has(Z)?Z:void 0,wlocTags:T?.tags?.length?(0,w.f)(T.tags):null,wlocType:null!==K&&C.has(K)?K:void 0,wlocFeatureId:T?.featureId??null,dayOfWeek:Y,regime:l??"",cookiesEnabled:h,gpcSignalOptOut:d,functionalTechnologies:f,geographicallyRelevantAds:y,priv:c,privProducts:u,referrer:z,deviceTimeZone:$,hourOfDay:H,physicalCountry:t??"",physicalState:r??"",interestBasedAds:D?.[S.f.INTEREST_BASED_ADS]??null,campaign:(0,g.s)()??void 0,tpcc:(0,g.J)(),linkReferral:(0,g.W)(),experimentJoinList:P,weatherMode:"normal",samsungVersion:(0,g.L)(),appVersion:"6bbd4204dd7437768dd9e31d47333d570221fb89".slice(0,10)}},[G,U,j,L,M,x,F,V,B,a,A,R,T,P,D]),H=k&&null!==W&&_.every(e=>void 0!==W[e]);return(0,t.useCallback)(()=>{if(W&&H&&!N.current)try{(0,v.e)(W),N.current=!0,I.info('Hightouch: Event "signup-complete" tracked')}catch(e){I.error('Hightouch: Event "signup-complete" failed',{error:e})}},[W,H])}])},592188,e=>{"use strict";e.i(199690);var t=e.i(538167),r=e.i(282446),i=e.i(201542),n=e.i(682142),o=e.i(782937),a=e.i(695881),s=e.i(333350),l=e.i(64412),c=e.i(950771),u=e.i(537989),d=e.i(695203),f=e.i(358273),p=e.i(158662),g=e.i(777638),m=e.i(924776),w=e.i(24638),y=e.i(963722),h=e.i(313983),b=e.i(409628),S=e.i(605781);let v=(0,a.createLogger)("useUserLoggedIn");e.s(["f",0,(e={})=>{let a=(0,r.y)(u.f),I=(0,r.y)(c.f),E=(0,r.y)(d.f),C=(0,r.y)(p.f),{location:O}=(0,l.f)(),_=(0,w.f)(),A=(0,m.f)()&&void 0!==_,{url:R}=e;return(0,t.useCallback)(()=>{if(!s.default||!A)return;let e=(0,n.f)(),t=e?.["TWC-GeoIP-Country"]??(0,i.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,i.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,i.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,p=(0,y.u)(h.f.FUNCTIONAL_TECHNOLOGY),m=(0,y.u)(h.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING),w=navigator?.cookieEnabled??!1,_=(0,i.getCookie)("partner")||"",T=(0,o.i)(_)??_,P=(0,f.N)(),D=P?.sessionId||"",k=P?.sessionStartTime||0,N=new Date,G=N.getHours(),U=b.f[N.getDay()]??"",j=-N.getTimezoneOffset()/60,L=document.referrer,M={url:R??window.location.pathname,referrer:L,privProducts:u,deviceTimeZone:j,pageId:a??"",locale:I,deviceClass:E,sessionId:D,sessionStartTime:k,partner:T,wlocCity:O?.city??null,wlocCountry:O?.countryCode??null,wlocState:O?.adminDistrictCode??null,wlocDMA:O?.dmaCd??null,dayOfWeek:U,regime:l??"",cookiesEnabled:w,gpcSignalOptOut:d,functionalTechnologies:p,geographicallyRelevantAds:m,priv:c,hourOfDay:G,physicalCountry:t??"",physicalState:r??"",campaign:(0,g.s)()??void 0,tpcc:(0,g.J)(),linkReferral:(0,g.W)(),experimentJoinList:C,weatherMode:"normal",samsungVersion:(0,g.L)(),appVersion:"6bbd4204dd7437768dd9e31d47333d570221fb89".slice(0,10)};try{(0,S.M)(M),v.info('Hightouch: Event "user-loggedin" tracked')}catch(e){v.error('Hightouch: Event "user-loggedin" failed',{error:e})}},[R,a,I,E,C,O,A])}])},952582,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_SUBSCRIPTIONS=r.ON_YOUR_RADAR_GROUP=r.MARKETING_EMAILS_GROUP=r.WEEKLY_BRIEF_GROUP=r.DAILY_NEWSLETTERS_GROUP=void 0,r.DAILY_NEWSLETTERS_GROUP="daily-newsletters-1",r.WEEKLY_BRIEF_GROUP="weekly-brief",r.MARKETING_EMAILS_GROUP="marketing-emails-1",r.ON_YOUR_RADAR_GROUP="on-your-radar",r.DEFAULT_SUBSCRIPTIONS=[{subscriptionGroupName:r.DAILY_NEWSLETTERS_GROUP,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:r.WEEKLY_BRIEF_GROUP,subscriptionGroupId:"",isSubscribed:!1},{subscriptionGroupName:r.MARKETING_EMAILS_GROUP,subscriptionGroupId:"",isSubscribed:!1},{subscriptionGroupName:r.ON_YOUR_RADAR_GROUP,subscriptionGroupId:"",isSubscribed:!1}]},451086,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEmailPreferencesStatus=a;let i=e.r(678651),n=e.r(414655),o=e.r(370220);async function a(){let e=(0,o.getEmailPreferencesStatusUrlConfig)(),t=(0,i.urlFrom)(e),r=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,n.handleFetchResponse)(r)}},454307,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setEmailPreferences=a,r.updateSubscription=s;let i=e.r(678651),n=e.r(414655),o=e.r(370220);async function a(e){let t=(0,o.getEmailPreferencesSetUrlConfig)(),r=(0,i.urlFrom)(t),a=JSON.stringify(function(e){let{subscriptions:t,email:r,mParticleId:i}=e,n={};return t&&(n.subscriptions=t),r&&(n.email=r),i&&(n.mParticleId=i),n}(e)),s=await fetch(r,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:a});return 200===s.status||400===s.status?await s.json():(0,n.handleFetchResponse)(s)}async function s(e,t,r){return a({subscriptions:[{subscriptionGroupName:e,isSubscribed:t,...r&&{attributes:r}}]})}},370220,(e,t,r)=>{"use strict";e.i(199690),Object.defineProperty(r,"__esModule",{value:!0}),r.getEmailPreferencesStatusUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/status"}},r.getEmailPreferencesSetUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/set"}},r.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:i,protocol:"https",pathname:"/api/v1/email-preferences/change-email"}};let i="weather.com"},558802,e=>{"use strict";var t=e.i(458201),r=e.i(538167),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":n,...o,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Locked"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 7h-1V4a3 3 0 0 0-6 0v3H4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1M6 4a2 2 0 1 1 4 0v3H6zm6 10H4V8h8z"})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(i.f,{ref:r,icon:n,...e}));o.displayName="Locked",e.s(["f",0,o])},245308,e=>{"use strict";var t=e.i(458201),r=e.i(538167),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...o},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":n,...o,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"View"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,t.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})),o=r.default.forwardRef((e,r)=>(0,t.jsx)(i.f,{ref:r,icon:n,...e}));o.displayName="View",e.s(["f",0,o])},670279,e=>{"use strict";var t=e.i(458201),r=e.i(538167),i=e.i(526932),n=e.i(204782);e.s(["Newsroom",0,({pageTemplate:e,pageDashboard:o})=>{let a=(0,n.f)();return((0,r.useEffect)(()=>{a&&e&&(window._newsroom=window._newsroom||[],window._newsroom.push({pageTemplate:e}),o&&window._newsroom.push({pageDashboard:o}),window._newsroom.push("auditClicks"),window._newsroom.push("trackPage"))},[a,e,o]),a&&e)?(0,t.jsx)(i.default,{src:"//c2.taboola.com/nr/theweatherchannel/newsroom.js",strategy:"afterInteractive",id:"newsroom_loader_script"}):null}])},143851,e=>{"use strict";var t=e.i(282446),r=e.i(245943),i=e.i(45846),n=e.i(310847),o=e.i(776169),a=e.i(671525),s=e.i(652517),l=e.i(658547),c=e.i(18358),u=e.i(592188),d=e.i(539353),f=e.i(521350),p=e.i(529603),g=e.i(543512),m=e.i(160317),w=e.i(756227),y=e.i(553329),h=e.i(358273),b=e.i(459598),S=e.i(695881),v=e.i(735526);let I=(0,S.createLogger)("useUserLogin"),E=/^(?:\/[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,4})?)?\/subscribe\/checkout\/?$/;e.s(["f",0,function(){let e=(0,t.F)(n.m),S=(0,w.f)(),C=(0,t.y)(n.C),O=(0,t.y)(n.E),{syncPreferencesFromUpsx:_,updatePreferences:A}=(0,o.f)(),{navigate:R}=(0,a.U)(),{login:T}=(0,l.f)(),P=(0,c.f)(),D=(0,u.f)(),k=(0,d.f)({url:window.location.pathname}),N=e=>{(0,h.m)(),(0,b.w)(),(0,b.M)();let t=new URLSearchParams(window.location.search).get("ref"),r=E.test(window.location.pathname)?`${window.location.pathname}${window.location.search}`:null,i=e??r??(t&&`https://${t}`)??C;i===r?(0,s.Q)(()=>R(i)):R(i)},G=async(t,r=!0,n={})=>{S(),t?.type==="signup"&&(0,v.q)(),(0,f.isLocalStorageAvailable)()&&localStorage.setItem("PARTNERS_SYNC","true"),e(!0),await _()||await A({});let o=null;try{o=await i.f.purchase.getPurchaseToken()}catch(e){console.error("Failed to get UPSX token:",e)}if(t?.userID){let{error:e}=await (0,y.f)(T({email:t.email,customerid:t.userID,other:O}));e&&I.error("Failed to establish mParticle identity:",e);let r=o?.premium&&g.j[o.product]||g.H.standard;(0,p.E)({isLoggedIn:!0,isRegisteredUser:!0,upsxId:t.userID,registeredEmail:t.email,premium:g.L.includes(r),premiumProductTier:(0,m.f)(r)});let i="signup"===t.type,a=i&&n.skipSignupCompleteEvent;a||P(i?"signup-complete":"user-loggedin",{url:window.location.pathname}),i&&!a&&k(),i||D()}r&&N()};return{login:async(e,t)=>{try{let r=await i.f.auth.login({email:e,password:t});if(!r)return{success:!1,error:{}};return await G({email:r.email,userID:r.userID,type:"login"}),{success:!0}}catch(e){if(console.error("Failed to login",e),e instanceof r.APIError){let t=e.data;return{success:!1,error:{code:e.code,...t}}}return{success:!1,error:{}}}},authSuccess:G,authRedirect:N}}])},790010,e=>{"use strict";var t=e.i(245943),r=e.i(45846),i=e.i(143851);e.s(["f",0,function(){let{authSuccess:e,authRedirect:n}=(0,i.f)();return{signup:async(i,n=!0,o={})=>{try{let t=await (i.password?r.f.auth.register({email:i.email,password:i.password,firstName:i.firstName}):r.f.auth.registerPasswordless({email:i.email,firstName:i.firstName}));return await e({email:t.email,userID:t.userID,type:"signup"},n,o),{success:!0,data:{email:t.email,userID:t.userID}}}catch(e){if(console.error("Failed to signup",e),e instanceof t.APIError){let t=e.data;return{success:!1,error:{code:e.code,...t}}}return{success:!1,error:{}}}},authRedirect:n}}])},422825,e=>{"use strict";var t=e.i(282446),r=e.i(794120),i=e.i(899507),n=e.i(449928),o=e.i(760430);function a(e){if((0,n.f)(e))return e;if(Array.isArray(e)||(0,o.f)(e)||e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e),r=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new r(e);if(e instanceof RegExp){let t=new r(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new r(e.buffer.slice(0));if(e instanceof Error){let t=new r(e.message);return t.stack=e.stack,t.name=e.name,t.cause=e.cause,t}return"u">typeof File&&e instanceof File?new r([e],e.name,{type:e.type,lastModified:e.lastModified}):"object"==typeof e?Object.assign(Object.create(t),e):e}var s=e.i(355200);function l(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t,r){let i=Object.keys(t);for(let n=0;n"boolean"==typeof e?{isSubscribed:e}:e;e.s(["f",0,({forceSubs:e,skipStatus:n}={})=>{let[o,s]=(0,t.q)(f.f),{user:h}=(0,p.f)(),b=(0,w.f)()||e,S=h?.userID||null,v=(0,m.useCallback)(e=>{if(S){var t;let r,i;s({userId:S,expiry:Date.now()+9e5,subscriptions:(t=o?.subscriptions,r=t?.length?t:g.DEFAULT_SUBSCRIPTIONS,i={},e?(r?.forEach(e=>{i[e.subscriptionGroupName]=e}),e.forEach(e=>{let t=i[e.subscriptionGroupName]||{};i[e.subscriptionGroupName]=c(a(t),e,function e(t,r){if(Array.isArray(r))if(Array.isArray(t))return c(a(t),r,e);else return c([],r,e);if(l(r))if(l(t))return c(a(t),r,e);else return c({},r,e)})}),Object.values(i)):r)})}},[S,s,o?.subscriptions]),I=o&&o.userId===S&&o.expiry&&o.expiry>Date.now(),E=b&&S&&!I,{isLoading:C}=(0,r.U)(!n&&E?`getEmailPreferencesStatus/${S}`:void 0,d.getEmailPreferencesStatus,{shouldRetryOnError:e=>!(e instanceof Error&&/\(status 40[14]\)/.test(e.message)),revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{S&&e&&v(e.subscriptions)}}),O=(0,m.useCallback)(async e=>{if(!b)return{status:"error",error:"Subscription is not enabled!"};let t=await (0,u.setEmailPreferences)({subscriptions:e});return"success"===t.status&&v(e),t},[v,b,o?.subscriptions]),_=(0,m.useCallback)(async({newsletter:e,weekly:t,onYourRadar:r,marketing:n})=>{let o=[!(0,i.f)(e)&&{subscriptionGroupName:"daily-newsletters-1",...y(e)},!(0,i.f)(t)&&{subscriptionGroupName:"weekly-brief",...y(t)},!(0,i.f)(r)&&{subscriptionGroupName:"on-your-radar",...y(r)},!(0,i.f)(n)&&{subscriptionGroupName:"marketing-emails-1",...y(n)}].filter(Boolean);return await O(o)},[O]);return{emailSubscriptions:I?o.subscriptions:null,updateEmailSubscriptions:_,updateEmailPreference:O,isLoadingPreferences:C}}],422825)},289607,e=>{"use strict";var t=e.i(506424);let r=(e,r,i,n)=>{let{cDate:o,cTimeZone:a}=(0,t.f)({date:e,locale:r,timeZone:i}),s=n??{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return s.timeZone=a,{cDate:o,cTimeZone:a,formatOptions:s}};e.s(["n",0,(e,t,i,n)=>{if(!e)return[];let{cDate:o,formatOptions:a}=r(e,t,i,n);return new Intl.DateTimeFormat(t,a).formatToParts(o)},"N",0,(e,t,i,n)=>{if(!e)return"";let{cDate:o,formatOptions:a}=r(e,t,i,n);return new Intl.DateTimeFormat(t,a).format(o)}])},873598,e=>{"use strict";e.s(["f",0,e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch{return"Etc/UTC"}}])},506424,e=>{"use strict";var t=e.i(796424),r=e.i(873598);e.s(["f",0,({date:e,timeZone:i})=>({cDate:new Date((0,t.f)(e)),cTimeZone:(0,r.f)(i)})])},796424,e=>{"use strict";e.s(["f",0,function(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e.replace(/GMT(?![+-])/,"GMT+0000")).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),r=/([+-])(\d{2})(\d{2})$/;r.test(t)&&(t=t.replace(r,"$1$2:$3"));let i=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(i).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":i}])}]);