(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,198050,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(533760),i=e.i(405341),a=e.i(829065);e.s(["CJUniversalTagScript",0,()=>{let[e,o]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let e=(0,i.getCjConfig)();e&&(0,a.isCjEligible)()&&o(e)},[]),e)?(0,t.jsx)(n.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),r=e.i(293163),n=e.i(695881),i=e.i(553329),a=e.i(405341),o=e.i(829065);let l=(0,n.createLogger)("CommissionJunction");e.s(["useCjConversionTag",0,({shouldFire:e,orderId:n,amount:s,hasTrial:c})=>{let d=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(!e||d.current||!n)return;let t=(0,a.getCjConfig)();t&&(0,o.isCjEligible)()&&(d.current=!0,(0,i.tryCatch)((async()=>{var e;let i,o,l;return e={orderId:n,amount:s,actionTrackerId:c?a.CJ_ACTION_ID_TRIAL_SIGNUP:a.CJ_ACTION_ID_DIRECT_PURCHASE,cjEventId:(0,r.getCjEvent)()},(i=window).cj=i.cj||{},i.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(),(o=document.createElement("script")).id="cjapitag",o.async=!0,o.src=t.tagSrc,l=document.getElementsByTagName("script")[0],void(l?.parentNode?l.parentNode.insertBefore(o,l):document.body.appendChild(o))})()).then(({error:e})=>{e&&l.error("conversion tag failed",{orderId:n,error:e})}))},[e,n,s,c])}],560542)},414338,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(730921),i=e.i(581014),a=e.i(877957),o=e.i(62544),l=e.i(901351),s=e.i(313983),c=e.i(725296),d=e.i(521350),u=e.i(546446),p=e.i(540768),f=e.i(682142),g=e.i(782937),m=e.i(695881),h=e.i(333350),v=e.i(64412),w=e.i(950771),C=e.i(537989),b=e.i(695203),y=e.i(158662),S=e.i(358273),E=e.i(777638),A=e.i(924776),_=e.i(409628),I=e.i(605781),k=e.i(289681);let R=(0,m.createLogger)("useTrackConsentChange"),x={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var T=e.i(611540),L=e.i(553329);let P=async e=>{let t;await (0,L.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},O=({isUserLoggedIn:e,regime:m,deviceClass:L,experience:O,isPremiumUser:N})=>{let j=(0,i.useTranslations)("PrivacyConsentModal"),D=(0,n.useLocale)(),$=(0,T.interpolateUrl)(T.URLS.privacyPolicy,{locale:D}),[U,B]=(0,r.useState)(!1),[M,V]=(0,r.useState)(!1),[H,F]=(0,r.useState)(!1),z=(()=>{let e=(0,u.useAtomValue)(C.pageIdAtom),t=(0,u.useAtomValue)(w.pageLocaleAtom),n=(0,u.useAtomValue)(b.deviceClassAtom),i=(0,u.useAtomValue)(y.experimentJoinListAtom),{location:a}=(0,v.useLocation)(),o=(0,A.useIsHightouchReady)(),l=(0,r.useCallback)(()=>{let e=(0,f.getCICookie)(),r=e?.["TWC-GeoIP-Country"]??(0,p.getCookie)("twc-location-country"),o=e?.["TWC-GeoIP-Region"]??(0,p.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,p.getCookie)("twc-privacy"),s=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,u=s?.includes("functional-technology")??!1,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,h=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,v=(0,k.getConsentAuthorization)("sale-of-data"),w=(0,k.getConsentAuthorization)("sensitive-data"),C=navigator?.cookieEnabled??!1,b=(0,p.getCookie)("partner")||"",y=(0,g.getPartnerByPattern)(b)??b,A=(0,S.getMetricsSession)(),I=A?.sessionId||"",R=new Date(A?.sessionStartTime||0).toISOString(),x=new Date,T=x.getHours(),L=_.WEEK_DAYS[x.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:n,partner:y,sessionId:I,sessionStartTime:R,siteMode:"normal",dayOfWeek:L,hourOfDay:T,regime:l??"",cookiesEnabled:C,gpcSignalOptOut:d,functionalTechnologies:u,geographicallyRelevantAds:m,interestBasedAds:h,priv:s,privProducts:c,saleOfData:v??void 0,saleOfDataAuthorization:v,sensitiveDataAuthorization:w,campaign:(0,E.getCampaign)(),experimentJoinList:i,weatherMode:"normal",physicalCountry:r??"",physicalState:o??"",caUser:"US"===r&&"CA"===o,wlocCity:a?.city??null,wlocCountry:a?.countryCode??null,wlocState:a?.adminDistrictCode??null,samsungVersion:(0,E.getSamsungVersion)(),appVersion:"23aa46a03996df01ba4888f58342186a5a9d6167".slice(0,10)}},[t,n,i,a]),s=(0,r.useCallback)((t,r)=>{if("sensitive-data"===t&&r)return(0,I.trackSensitiveDataOptin)(l());let n={...l(),pageId:e??"",wlocDMA:a?.dmaCd??null};return"sensitive-data"===t?(0,I.trackSensitiveDataOptout)(n):r?(0,I.trackSodOptin)(n):(0,I.trackSodOptout)(n)},[l,e,a]);return(0,r.useCallback)((e,t)=>{let r=`${x[e]}-${t?"optin":"optout"}`;if(h.default)return o?(R.info(`Hightouch: Event "${r}" tracked`),s(e,t)):void R.warn(`Hightouch: Event "${r}" skipped - SDK not ready`)},[o,s])})();(0,r.useEffect)(()=>{if(!c.US_REGIMES.includes(m)||N||!(0,d.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),r=localStorage.getItem("saleOfDataConflict");t?(V(!0),B(!0)):e&&r&&m===c.Regime.USA_CCPA&&(F(!0),B(!0))},[m,N,e]);let G=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await l.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},q=t=>{let r=window,n=window.top,i=r.DprSdk||n?.DprSdk;if(!i)return void console.error("Unable to fix conflict, missing DprSdk.");i.setUserConsents({[s.Purpose.SALE_OF_DATA]:t});let a=P(()=>z(s.Purpose.SALE_OF_DATA,t));e&&G({purpose:s.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:a}),M?((0,d.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||a.then(()=>window.location.reload())):H&&(0,d.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),B(!1)},W="",Y="";if(M?(W="gpcConflictHeader",Y="gpcConflictParagraph",m===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")):H&&(W="saleOfDataConflictHeader",Y="saleOfDataConflictParagraph",m===c.Regime.USA_CCPA&&(Y+="_usa-ccpa")),Y)return(0,t.jsx)(o.Dialog,{open:U,onOpenChange:B,children:(0,t.jsxs)(o.DialogContent,{className:`text-center ${"desktop"!==L?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===O?"wu-theme":""} `,onEscapeKeyDown:e=>{(H||M)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[W&&(0,t.jsx)(o.DialogHeader,{children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-semibold",children:j(W)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:j.rich(Y,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:$,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(o.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(a.Button,{onClick:()=>{q(!0)},variant:"default",className:"w-full sm:w-auto",children:j("optInButtonText")}),(0,t.jsx)(a.Button,{onClick:()=>{q(!1)},variant:"secondary",className:"w-full sm:w-auto",children:j("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,O,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,O],414338)},248064,e=>{"use strict";var t=e.i(991511),r=e.i(763886),n=e.i(458001),i=e.i(394481),a=e.i(663333),o=e.i(849177),l=e.i(889753),s=e.i(5397),c=e.i(21121),d=e.i(889781);e.i(647872);var u=e.i(494889),p=e.i(928083),f=e.i(624432),g=e.i(739971),m=e.i(688070),h=e.i(647292),v=e.i(247865),w=e.i(459598),C=e.i(90543);let b=!1,y=!1;function S(){y=!0,(0,w.suppressNextPurchaseAbandon)(),(0,w.suppressNextHightouchPurchaseAbandon)(),window.location.reload()}e.s(["FlagsBoundaryClient",0,({params:e})=>{var w;return(0,t.useRehydrateAtoms)([[r.partnerAtom,e.partner],[n.cscCountryCodeAtom,e.cscCountryCode],[i.privacyRegimeAtom,e.privacyRegime],[a.deviceClassAtom,e.deviceClass],[l.userTierAtom,e.userTier],[o.adsDisabledAtom,e.adsDisabled],[s.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[d.nextgenRadarDriverAtom,e.nextgenRadarDriver],[u.newsHubEnabledAtom,e.newsHubEnabled],[p.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[f.contentSearchUniversalAtom,e.contentSearchUniversal],[g.subscriptionsEnabledAtom,e.subscriptionsEnabled],[h.webViewPlatformAtom,e.webViewPlatform],[m.isWebViewOnlyAtom,e.isWebViewOnly]]),w=e.userTier,(0,v.useEffect)(()=>{let e=String(w);if(!b&&(b=!0,function(){let[e]=performance.getEntriesByType("navigation");return e?.type==="back_forward"}()&&(0,C.isStaleRestore)({renderedTier:e,recordedTier:(0,C.readRecordedTier)()})))return void S();if(y)return;(0,C.recordTier)(e);let t=(0,C.readAuthEpoch)(),r=r=>{r.persisted&&!y&&(0,C.isStaleRestore)({renderedTier:e,recordedTier:(0,C.readRecordedTier)(),epochAtLoad:t,currentEpoch:(0,C.readAuthEpoch)()})&&S()};return window.addEventListener("pageshow",r),()=>window.removeEventListener("pageshow",r)},[w]),null}],248064)},281468,e=>{"use strict";var t=e.i(288906),r=e.i(247865),n=e.i(725287);function i(){return false}function a(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function o(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(n.current)e.route&&n.current(e.route);else{let r=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 r=e.scriptSrc?e.scriptSrc:i()?"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*="${r}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let n=document.createElement("script");return n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.3.1",e.sampleRate&&(n.dataset.sampleRate=e.sampleRate.toString()),e.route&&(n.dataset.route=e.route),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(n.dataset.dsn=e.dsn),i()&&!1===e.debug&&(n.dataset.debug="false"),n.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(n),{setRoute:e=>{n.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});r&&(n.current=r.setRoute)}},[e.route]),null}function l(e){let i=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let i=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!i)return r;let o=r;try{let e=Object.entries(i);for(let[t,r]of e)if(!Array.isArray(r)){let e=a(r);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=a(r.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch(e){return r}})();return r.default.createElement(o,{route:i,...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 r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(l,{...e}))}])},175897,e=>{"use strict";var t,r=e.i(288906),n={scriptHostname:("u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof r.default?"dpl_7Y4DFkFvrkVEyYqV1HdTZCCcdSHG":void 0},i=e.i(247865),a=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:r}){return(0,i.useEffect)(()=>(e&&a&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(n,e);let r=document.createElement("script");for(let[i,a]of(r.src=`${n.scriptHostname}/_next-live/feedback/feedback.js`,r.setAttribute("data-explicit-opt-in","true"),e.nonce&&r.setAttribute("nonce",e.nonce),Object.entries((n.ownerId&&n.projectId?{"data-owner-id":n.ownerId,"data-project-id":n.projectId,"data-branch":t??n.branch}:n.deploymentId?{"data-deployment-id":n.deploymentId}:void 0)??{})))a&&r.setAttribute(i,a);(document.head||document.documentElement).appendChild(r)}}({nonce:r}),a=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],175897)},232598,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(276247),o=e.r(788443),l=e.r(955011)},468104,e=>{"use strict";var t=e.i(247865),r=e.i(598513);e.s(["useTrackModuleClick",0,function(){let e=(0,r.useSendInteractionEvent)();return(0,t.useCallback)((t,r)=>{e({moduleId:t,interactionType:"click",interactionElement:r},{flushImmediately:!0})},[e])}])},947118,221085,e=>{"use strict";let t;var r=e.i(247865);let n=new Set,i=0,a=()=>"function"==typeof window.mParticle?.init,o=()=>{void 0!==t&&(clearInterval(t),t=void 0)},l=()=>{if(!a()||(o(),0===n.size))return;let e=[...n];for(let t of(n.clear(),e))t()},s=()=>{void 0===t&&(i=0,t=setInterval(()=>{i+=100,l(),i>=3e4&&o()},100))},c=e=>(n.add(e),s(),()=>{n.delete(e)}),d=e=>a()?(e(),()=>{}):c(e),u=e=>a()?()=>{}:c(e),p=()=>!1;e.s(["subscribeSdkLoaded",0,d,"useIsSdkLoaded",0,()=>(0,r.useSyncExternalStore)(u,a,p),"watchForSdkLoad",0,e=>{if("u"{};if(a())return l(),()=>{};s();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let r=()=>l();return t.addEventListener("load",r),()=>{t.removeEventListener("load",r)}}],221085);let f=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):d(()=>{window.mParticle?.ready?.(e),e()}),g=()=>!!window.mParticle?.isInitialized?.(),m=()=>!1;e.s(["useIsInitialized",0,()=>(0,r.useSyncExternalStore)(f,g,m)],947118)},718043,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},r.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},r.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},r.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:r}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${r}/${e}`}},r.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:r=0,limit:a=10,sort:o="-publishdate"}){let l={q:Object.keys(t).reduce((e,r)=>{let n=t[r];return n instanceof Array?[...e,...n.map(e=>i(r,e))]:[...e,i(r,n)]},[]).join(";"),pg:`${r},${a}`,format:"json",sort:o},s=(0,n.queryStringToSearchParams)(l).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},r.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:r=0,limit:i=10,sort:a="-publishdate"}){let o={q:t,pg:`${r},${i}`,format:"json",sort:a},l=(0,n.queryStringToSearchParams)(o).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${l}`}},r.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:r=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${r}`}},r.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let n=e.r(678651);function i(e,t){let r=`'${t.$in}'`;return t.$in instanceof Array&&(r=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${r})`}},427977,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getQuickNav=void 0;let n=e.r(414655),i=e.r(678651),a=e.r(718043);r.getQuickNav=async()=>{let e=(0,i.urlFrom)((0,a.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,n.handleFetchResponse)(t)}},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,r],494889);let n=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,n],928083);let i=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,i],624432),e.s([],647872)},935807,e=>{"use strict";function t(e,r=[],i=!1,a="US",o){let l,s=r.find(t=>t.placeID===e.placeId);if(s&&i){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,i=n(e,a,""),o="address"===e.type?e.address:void 0;if(t!==r&&t!==i&&t!==o)return t}}if(e?.disputedCountries)l=e.displayName||"";else{switch(e?.type){case"address":l=e?.address?.split(",")[0]?.trim()||"";break;case"city":l=e?.locale?.locale2||"";break;case"locality":l=e?.locale?.locale3||"";break;case"neighborhood":l=e?.locale?.locale4||"";break;case"airport":l=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",r=e?.postalCode||"";l=o?`${t} ${r}`.trim():`${t}`.trim();break}default:l=e?.displayName||""}0===l.length&&(l=e?.displayName||"")}return l}function r(e,t=[],i=!1,a="US",o){let l,s=t.find(t=>t.placeID===e.placeId);if(s&&i){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,i=n(e,a,"");if(t!==r&&t!==i)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let r=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,r].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",n=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${n}`.trim(),r].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}}}(e,a)}}if(e?.disputedCountries)l=e?.displayName||"";else{let t=a===e?.countryCode?"":e?.country||"",r=e?.adminDistrict||"",n=e?.postalCode||"",i=e.city||"";switch(e?.type){case"address":l=[i,r,t].filter(Boolean).join(", ");break;case"city":default:l=[r,t].filter(Boolean).join(", ");break;case"locality":l=[e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"neighborhood":l=[e?.locale?.locale3||e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"postal":{let i=r||e?.locale?.locale2||"";l=[o?`${i} ${n}`.trim():i,t].filter(Boolean).join(", ")}}}return l}function n(e,t,r){let{displayName:n,adminDistrictCode:i,adminDistrict:a,countryCode:o,disputedArea:l,country:s}=e,c=[];return n&&c.push(n),"IL"!==t&&(i?c.push(i):a&&c.push(a)),o!==t&&!1===l&&s&&c.push(s),c.join(r)}e.s(["getLocationContext",0,r,"getLocationName",0,t,"getLocationPresentationName",0,function(e,n=[],i=!1,a="US"){let o=t(e,n,i,a,!1),l=r(e,n,i,a,!0),s=e?.separator?e?.separator:o&&l?", ":"";return`${o}${s}${l}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let r=t.find(t=>t.placeId===e.placeId);return r?{...e,displayName:r.address,address:r.address}:e}])},520362,e=>{"use strict";var t=e.i(902875),r=e.i(247865);let n=e=>{let{apiRoute:t,depth:n,refresh:i,serverURL:a}=e,o=(0,r.useRef)(!1),l=(0,r.useCallback)(e=>{e.origin===a&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof i?i():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[i,a]);return(0,r.useEffect)(()=>("u">typeof window&&window.addEventListener("message",l),o.current||(o.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:a}),i()),()=>{"u">typeof window&&window.removeEventListener("message",l)}),[a,l,n,t,i]),null};var i=e.i(725287);let a=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),o={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"},l=e=>{let r=(0,i.useRouter)();return(0,t.jsx)(n,{...e,refresh:r.refresh})};e.s(["LivePreviewListener",0,l],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,r.useRef)(null),t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(null),l=(0,r.useRef)(null),s=(0,r.useCallback)(()=>{if("u"{let r=t.current,i=e.current;if(!r||!i)return;if(!r.isConnected){t.current=null,i.style.opacity="0",n.current?.disconnect();return}let a=r.getBoundingClientRect();i.style.top=`${a.top+window.scrollY}px`,i.style.left=`${a.left+window.scrollX}px`,i.style.width=`${a.width}px`,i.style.height=`${a.height}px`,i.style.opacity="1"},[]),d=(0,r.useCallback)(()=>{t.current=null,l.current=null,e.current&&(e.current.style.opacity="0"),n.current?.disconnect()},[]),u=(0,r.useCallback)(()=>{t.current&&null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,c()}))},[c]),p=(0,r.useCallback)(e=>{if(e===l.current)return;let r=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!r)return void a.debug("No element found for block ID",{blockId:e});let i=(e=>{let t=e,r=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!==i.current&&cancelAnimationFrame(i.current),n.current?.disconnect(),e.current?.remove()}},[p,d,u]),null},"LivePreviewListener",0,l],520362)},313983,e=>{"use strict";var t,r=((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",()=>r])},235577,e=>{"use strict";var t=e.i(902875),r=e.i(523084),n=e.i(47524),i=e.i(632137),a=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:o,hidden:l,size:s="default",variant:c="light",className:d}){let u="sm"===s,p=(0,i.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(a.Button,{type:"button",onClick:o,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",l&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",l&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",l&&"pointer-events-none opacity-0",d),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:p}):(0,t.jsx)(n.ChevronRight,{className:p})})}])},457492,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(632137),i=e.i(546446),a=e.i(663333),o=e.i(235577),l=e.i(315730),s=e.i(240058);let c=(0,n.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),d=e=>{let{activeIndex:r,index:i,link:a}=e,o=r===i,l=(0,n.cn)(c,{"bg-gray-100 text-blue-500":o});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(i,a),className:(0,n.cn)("cursor-pointer",l),"aria-current":o?"page":void 0,children:a.label})}let{basePath:d,mpa:u}=e,p=a.href??("/"===a.slug?d||"/":`${d}/${a.slug}`);return(0,t.jsx)(s.default,{href:p,mpa:u,className:l,"aria-current":o?"page":void 0,sourceModule:"subnavigation",children:a.label})},u=(0,r.memo)(e=>{let{links:r,activeIndex:s,className:c,constrained:u=!0}=e,p=(0,i.useAtomValue)(a.deviceClassAtom),{ref:f,showLeft:g,showRight:m,scrollLeft:h,scrollRight:v}=(0,l.useHorizontalScroll)({enabled:"mobile"!==p&&"tablet"!==p,scrollAmount:200,contentKey:r});return(0,t.jsxs)("div",{className:(0,n.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,n.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":g}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!g,onClick:h,direction:"left"}),(0,t.jsx)("div",{ref:f,className:(0,n.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:r.map((r,n)=>e.onSelect?(0,t.jsx)(d,{link:r,index:n,activeIndex:s,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(d,{link:r,index:n,activeIndex:s,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,n.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":m}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!m,onClick:v,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},315730,e=>{"use strict";var t=e.i(147732),r=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:n=200,contentKey:i}={}){let a=(0,r.useRef)(null),o=(0,r.useRef)(null),l=(0,r.useRef)(!1),[s,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),p=(0,r.useCallback)(()=>{let t=a.current;if(!t||!e){c(!1),u(!1);return}let{scrollLeft:r,scrollWidth:n,clientWidth:i}=t,o=Math.abs(r),s=o>2,d=o+i(0,t.debounce)(p,150),[p]),g=(0,r.useCallback)(()=>{null===o.current&&(o.current=requestAnimationFrame(()=>{p(),o.current=null}))},[p]);(0,r.useEffect)(()=>{let t=a.current;return t&&(l.current="rtl"===getComputedStyle(t).direction),p(),e&&(t?.addEventListener("scroll",g),window.addEventListener("resize",f)),()=>{null!==o.current&&cancelAnimationFrame(o.current),o.current=null,t?.removeEventListener("scroll",g),f.cancel(),window.removeEventListener("resize",f)}},[e,p,g,f,i]);let m=(0,r.useCallback)(()=>a.current?.scrollBy({left:-n,behavior:"smooth"}),[n]),h=(0,r.useCallback)(()=>a.current?.scrollBy({left:n,behavior:"smooth"}),[n]);return{ref:a,showLeft:s,showRight:d,scrollLeft:m,scrollRight:h}}])},731672,e=>{"use strict";var t=e.i(546446),r=e.i(965586),n=e.i(671525),i=e.i(889753),a=e.i(810564),o=e.i(45846),l=e.i(284007),s=e.i(756227),c=e.i(358273),d=e.i(247865),u=e.i(540768),p=e.i(682142),f=e.i(782937),g=e.i(695881),m=e.i(333350),h=e.i(64412),v=e.i(950771),w=e.i(537989),C=e.i(695203),b=e.i(158662),y=e.i(777638),S=e.i(924776),E=e.i(409628),A=e.i(605781);let _=(0,g.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function({reload:e=!0}={}){let g=(0,t.useSetAtom)(i.userPreferencesAtom),I=(0,s.useResetAuthState)(),{refresh:k}=(0,n.usePageNavigation)(),R=((e={})=>{let r=(0,t.useAtomValue)(w.pageIdAtom),n=(0,t.useAtomValue)(v.pageLocaleAtom),i=(0,t.useAtomValue)(C.deviceClassAtom),a=(0,t.useAtomValue)(b.experimentJoinListAtom),{location:o}=(0,h.useLocation)(),l=(0,S.useIsHightouchReady)(),{url:s,logoutMethod:g}=e;return(0,d.useCallback)(()=>{if(!m.default||!l)return;let e=(0,p.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,u.getCookie)("twc-location-country"),d=e?.["TWC-GeoIP-Region"]??(0,u.getCookie)("twc-location-region"),h=e?.["TWC-Privacy"]??(0,u.getCookie)("twc-privacy"),v=window.DprSdk?.getGdprConsentOptInsString()??"",w=window.DprSdk?.getCcpaSaleOptInString()??"",C=window.navigator?.globalPrivacyControl??!1,b=v?.includes("functional-technology")??!1,S=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,I=navigator?.cookieEnabled??!1,k=(0,u.getCookie)("partner")||"",R=(0,f.getPartnerByPattern)(k)??k,x=(0,c.getMetricsSession)(),T=x?.sessionId||"",L=x?.sessionStartTime||0,P=new Date,O=P.getHours(),N=E.WEEK_DAYS[P.getDay()]??"",j=-P.getTimezoneOffset()/60,D=document.referrer,$={url:s??window.location.pathname,logoutMethod:g??"manual",referrer:D,privProducts:w,deviceTimeZone:j,pageId:r??"",locale:n,deviceClass:i,sessionId:T,sessionStartTime:L,partner:R,wlocCity:o?.city??null,wlocCountry:o?.countryCode??null,wlocState:o?.adminDistrictCode??null,wlocDMA:o?.dmaCd??null,dayOfWeek:N,regime:h??"",cookiesEnabled:I,gpcSignalOptOut:C,functionalTechnologies:b,geographicallyRelevantAds:S,priv:v,hourOfDay:O,physicalCountry:t??"",physicalState:d??"",campaign:(0,y.getCampaign)()??void 0,tpcc:(0,y.getTpcc)(),linkReferral:(0,y.getLinkReferral)(),experimentJoinList:a,weatherMode:"normal",samsungVersion:(0,y.getSamsungVersion)(),appVersion:"23aa46a03996df01ba4888f58342186a5a9d6167".slice(0,10)};try{(0,A.trackUserLoggedout)($),_.info('Hightouch: Event "user-loggedout" tracked')}catch(e){_.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[s,g,r,n,i,a,o,l])})();return async()=>{try{return(0,c.regenerateMetricsSession)(),await o.upsxClient.auth.logout(),R(),I(),g(l.RESET),(0,r.deleteCookie)("twc-user",{domain:(0,a.upsxCookieDomain)(window.location.hostname)}),e&&k({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)}]);