(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,982538,e=>{"use strict";var t=e.i(247865);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(e){let r=t.forwardRef((r,i)=>{var o;let p,f,{children:m,...g}=r,x=null,h=!1,y=[];s(m)&&"function"==typeof d&&(m=d(m._payload)),t.Children.forEach(m,e=>{var a;if(a=e,t.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===l){h=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof d&&(t=d(t._payload)),x=n(e,t),y.push(x?.props?.children)}else y.push(e)}),x?x=t.cloneElement(x,void 0,y):!h&&1===t.Children.count(m)&&t.isValidElement(m)&&(x=m);let b=x?(o=x,(f=(p=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in p&&p.isReactWarning)?o.ref:(f=(p=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in p&&p.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,v=function(...e){return t.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=a(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t{let t=l(...e);return i(...e),t}:i&&(a[r]=i):"style"===r?a[r]={...i,...l}:"className"===r&&(a[r]=[i,l].filter(Boolean).join(" "))}return{...e,...a}}(g,x.props??{});return x.type!==t.Fragment&&(w.ref=i?v:b),t.cloneElement(x,w)});return r.displayName=`${e}.Slot`,r}var i=r("Slot"),l=Symbol.for("radix.slottable"),n=(e,a)=>{if("child"in e.props){let a=e.props.child;return t.isValidElement(a)?t.cloneElement(a,void 0,e.props.children(a.props.children)):null}return t.isValidElement(a)?a:null},o=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,u=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,d=t[" use ".trim().toString()];e.s(["Slot",0,i,"createSlot",0,r,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=l,t}],982538)},294237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>i=>{var l;if((null==t?void 0:t.variants)==null)return r(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:n,defaultVariants:o}=t,s=Object.keys(n).map(e=>{let t=null==i?void 0:i[e],r=null==o?void 0:o[e];if(null===t)return null;let l=a(t)||a(r);return n[e][l]}),c=i&&Object.entries(i).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return r(e,s,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:a,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...o,...c}[t]):({...o,...c})[t]===a})?[...e,a,r]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},581014,e=>{"use strict";var t=e.i(730921);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let r=a(0,t.useTranslations),i=a(0,t.useFormatter);e.s(["useFormatter",0,i,"useTranslations",0,r])},949920,e=>{"use strict";var t=e.i(381477);let a=(0,e.i(66396).withMiddleware)(t.default,e=>(t,a,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,a,r)));e.s(["default",0,a])},990033,e=>{"use strict";let t,a="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r=new Uint8Array(16),i=[];for(let e=0;e= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,l){if((s=s||0)l.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e{"use strict";function r(e){let t=new URLSearchParams;for(let[a,r]of Object.entries(e))void 0!==r&&t.append(a,r);return t}Object.defineProperty(a,"__esModule",{value:!0}),a.queryStringToSearchParams=r,a.urlFrom=function({host:e,...t}){if(!e)throw Error("Host is missing");let a=new URL(`https://${e}`);return Object.assign(a,{...t,hostname:e}),t.query&&(a.search=r(t.query).toString()),a}},89887,e=>{"use strict";function t(e,t){let a="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?a:`/${t}${a}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,a,r){return`${t(e,a)}/${r}`}])},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[a={},r=!1]=t,i=Object.entries(a).reduce((e,[t,a])=>void 0===a?e:e.replaceAll(`{${t}}`,a),e);return r?i:"/en-US"===i?"/":i.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",news:"/news",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:a,locId:r,featureId:i})=>t(e,{locale:a,locId:(i?.startsWith("address.")?void 0:i)??r}),"interpolateUrl",0,t],611540)},747961,e=>{"use strict";var t=e.i(902875),a=e.i(247865),r=e.i(294237),i=e.i(789876);let l=(0,r.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),n=a.default.forwardRef(({icon:e,size:a,color:r,title:n,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,i.cn)(l({size:a,color:r}),s),title:n,desc:o,...c&&{"aria-hidden":c},...u}));n.displayName="BaseIcon",e.s(["BaseIcon",0,n])},789876,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},559421,e=>{"use strict";var t=e.i(725287),a=e.i(89887),r=e.i(64412),i=e.i(942400),l=e.i(269153),n=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),o=(0,t.usePathname)(),{location:s}=(0,r.useLocation)(),c=(0,i.usePageLocale)(),u=(0,l.useIsSamsungPartner)();if(!(0,n.useIsClient)()||u)return;let d=e?.canonicalLocation,p=e?.featureId;if(!(d?.length||p&&!o.includes("/l/")))return;let f=s?.canonicalID;if(f)return(0,a.buildLocationCanonicalBase)(f,c);if(o.includes("/byFeatureId/"))return;let m=/\/day-\d+$/.test(o)?o.substring(0,o.lastIndexOf("/")):o;return m.substring(0,m.lastIndexOf("/"))}])},262453,214008,352711,e=>{"use strict";var t=e.i(546446),a=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(a.preciseGeocodeAtom)}],262453);var r=e.i(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let a=(0,r.locationDedupKey)(e);return!!a&&a===(0,r.locationDedupKey)(t)}],214008);var i=e.i(902875),l=e.i(247865),n=e.i(725287),o=e.i(553329),s=e.i(695881),c=e.i(88349);let u=(0,s.createLogger)("useRequestPreciseLocation");var d=e.i(942400),p=e.i(520938),f=e.i(671525),m=e.i(426606),g=e.i(747961);let x=(0,l.forwardRef)(({title:e,titleId:t,desc:a,descId:r,...l},n)=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":t,"aria-describedby":r,...l,children:[a?(0,i.jsx)("desc",{id:r,children:a}):null,void 0===e?(0,i.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,i.jsx)("title",{id:t,children:e}):null,(0,i.jsx)("g",{fill:"currentColor",children:(0,i.jsx)("path",{d:"M15 14.295 1.705 1 1 1.705l4 4L1.33 7.03a.5.5 0 0 0-.323.467.5.5 0 0 0 .323.468l4.8 1.92 1.92 4.8A.5.5 0 0 0 8.5 15a.5.5 0 0 0 .46-.33L10.3 11l4 4zm-6.522-1.197L6.885 9.115 2.902 7.522 4.335 7l1.435-.5 3.73 3.73-.5 1.435zM7.845 5.725l3.82-1.39-1.39 3.82.78.78L12.97 3.67a.499.499 0 0 0-.64-.64L7.065 4.945z"})})]})),h=l.default.forwardRef((e,t)=>(0,i.jsx)(g.BaseIcon,{ref:t,icon:x,...e}));h.displayName="CurrentLocationLost",e.i(807079);var y=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:s}=function(){let[e,i]=(0,l.useState)("idle"),[n,s]=(0,l.useState)(void 0),d=(0,t.useSetAtom)(a.preciseGeocodeAtom),p=(0,l.useRef)(!1);return{status:e,geocode:n,request:(0,l.useCallback)(async()=>{if(p.current)return{status:"requesting",geocode:void 0};p.current=!0,i("requesting");try{let e;if(navigator.permissions){let{data:t,error:a}=await (0,o.tryCatch)(navigator.permissions.query({name:"geolocation"}));a?u.error("Permissions API query failed",a):e=t?.state}if("denied"===e)return i("denied"),{status:"denied",geocode:void 0};let t=await (0,c.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,r.formatGeocode)(`${t.latitude},${t.longitude}`);return s(e),d(e),i("granted"),{status:"granted",geocode:e}}return i("error"),{status:"error",geocode:void 0}}finally{p.current=!1}},[d]),reset:(0,l.useCallback)(()=>{i("idle"),s(void 0)},[])}}(),{navigate:g}=(0,f.usePageNavigation)(),x=(0,n.useParams)(),b=(0,n.usePathname)(),v=(0,d.usePageLocale)(),w=x?.locId,T=x?.canonicalLocation,I=(0,l.useRef)(e);return I.current=e,(0,l.useCallback)(async()=>{let{status:e,geocode:t}=await s();if("denied"===e){let e=I.current;(0,y.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,i.jsx)(h,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,p.isSwappableLocationPathname)({pathname:b,locId:w,canonicalLocation:T}))return;let{data:a}=await (0,o.tryCatch)((0,m.fetchWithoutCredentials)(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(v)}`).then(e=>e.ok?e.json():null)),r=a?.featureId,l=a?.placeId,n=a?.canonicalID,c=r??l;if(!c)return;let u=(0,p.swapLocationOnCurrentPage)({pathname:b,locId:w,canonicalLocation:T,locale:v,identifier:c,featureId:r,placeId:l,canonicalID:n});u&&g(u)},[s,g,w,T,b,v])}],352711)},304116,e=>{"use strict";var t=e.i(89887),a=e.i(611540),r=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:i,canonicalID:l,featureId:n,placeId:o,canonicalBasePath:s,skipCanonical:c=!1}){let u=r.PAGE_TYPE_TO_SUFFIX[e],d=r.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&d?`${s}/${u}`:d&&l?(0,t.buildLocationCanonicalPath)(l,i,u):(0,a.interpolateLocationUrl)(a.URLS[r.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:i,locId:o??n??"",featureId:n}:{locale:i,locId:o??""})}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,navType:"radar",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],a=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType]));let r=Object.fromEntries(t.map(e=>[e.suffix,e.pageType])),i=Object.fromEntries(t.map(e=>[e.pageType,e.base])),l=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),n=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),o=Object.fromEntries(t.map(e=>[e.pageType,e.navType]));t.filter(e=>"forecast"===e.navType).map(e=>e.pageType),t.filter(e=>"radar"===e.navType).map(e=>e.pageType);let s=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|");let c=t.map(e=>e.suffix).join("|");t.filter(e=>e.sitemapExcluded).map(e=>e.pageType),t.filter(e=>!e.sitemapExcluded).map(e=>e.pageType);let u=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,i,"CANONICAL_ELIGIBLE_BY_PAGE",0,s,"CANONICAL_PAGE_TYPES",0,a,"PAGE_TYPE_CONFIG",0,t,"PAGE_TYPE_TO_SUFFIX",0,n,"PAGE_TYPE_TO_URL_KEY",0,l,"SIDEBAR_CANONICAL_LINKS",0,u,"SUFFIX_ALTERNATION",0,c,"navTypeForSuffix",0,function(e){let t=e?r[e]:void 0;return t?o[t]:null}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},520938,e=>{"use strict";var t=e.i(304116),a=e.i(388706),r=e.i(258990);function i(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return a.CANONICAL_PAGE_TYPES.includes(t)?t:void 0}e.s(["LOC_ID_SEGMENT",0,"/l/","isSwappableLocationPathname",0,function({pathname:e,locId:t}){return!!t||void 0!==i(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:a,locale:l,identifier:n,featureId:o,placeId:s,canonicalID:c,skipCanonical:u}){if(a){let t=(0,r.decodeLocId)(a);return e.replace(a,t).replace(t,n)}let d=i(e);if(d)return(0,t.buildLocationPageHref)({pageType:d,locale:l,canonicalID:c,featureId:o,placeId:s,skipCanonical:u});let p=e.indexOf("/l/");if(-1!==p){let t=e.slice(0,p+3);return`${t}${n}`}return null}])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},269153,e=>{"use strict";var t=e.i(546446),a=e.i(763886),r=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(a.partnerAtom)===r.Partner.SAMSUNG}])},877957,564993,e=>{"use strict";var t=e.i(902875),a=e.i(247865),r=e.i(982538),i=e.i(294237),l=e.i(632137),n=e.i(747961);let o=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":i,...l,children:[r?(0,t.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,i.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),u=a.forwardRef(({className:e,variant:a="default",size:i,theme:n="standard",asChild:o=!1,disabled:u=!1,loading:d=!1,children:p,...f},m)=>{let g=o?r.Slot:"button";return(0,t.jsx)(g,{...f,className:(0,l.cn)(c({variant:a,size:i,loading:d,disabled:u,theme:n}),"inline-flex items-center justify-center",e),ref:m,disabled:u||d,children:o?p:(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===a||"destructive"===a?"inverse":"primary"}),p]})})});u.displayName="Button",e.s(["Button",0,u],877957)},368847,341669,e=>{"use strict";var t=e.i(902875),a=e.i(247865),r=e.i(294237),i=e.i(632137);let l=({skeletonClassName:e,elementType:a="span"})=>(0,t.jsx)(a,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,l],341669);let n={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:n[e],value:String(e)}));let o=a.default.forwardRef(({className:e,isLoading:a,skeletonClassName:r,variant:n,elementType:o,lineClamp:c,color:u,responsive:d,children:p,...f},m)=>{if(a)return(0,t.jsx)(l,{skeletonClassName:r||""});let g=o||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:n}),x=(0,t.jsx)(g,{className:(0,i.cn)(s({variant:n,color:u,lineClamp:c,responsive:d}),e),ref:m,...f,children:p});return d?(0,t.jsx)("div",{className:"@container/text",children:x}):x});o.displayName="Text";let s=(0,r.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,o,"default",0,o,"textVariants",0,s],368847)},632137,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},617874,e=>{"use strict";let t="Imperial",a="Metric",r="Hybrid",i={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},l={code:"m",name:a,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},n={code:"h",name:r,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["UNITS_COOKIE_KEY",0,"unitOfMeasurement","UNIT_HYBRID",0,r,"UNIT_IMPERIAL",0,t,"UNIT_METRIC",0,a,"imperial",0,i,"unitsSystemByCode",0,function(e){switch(e?.toLowerCase()){case"e":case"f":return i;case"m":case"c":return l;case"h":return n;default:return null}},"unitsSystemByName",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return i;case"metric":case"Metric":return l;case"hybrid":case"Hybrid":return n;default:return null}}])},889753,301904,e=>{"use strict";var t=e.i(284007),a=e.i(617874),r=e.i(990033),i=e.i(981030),l=e.i(543512);let n={animationSpeed:1,autoplay:!0,opacity:90,roadOverlay:"default",style:"default"};e.s(["DEFAULT_MAP_SETTINGS",0,n],301904);let o=(0,i.atom)(l.UserSubscriptionTiers.none),s=(0,t.atomWithStorage)("userProfile",null,void 0,{getOnInit:!0}),c=(0,t.atomWithStorage)("userPreferences",{userID:(0,r.v4)(),unit:a.UNIT_IMPERIAL,locations:[],locale:"en_US",mapSettings:n,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["userPreferencesAtom",0,c,"userProfileAtom",0,s,"userTierAtom",0,o],889753)},528600,e=>{"use strict";let t;var a=e.i(247865),r=e.i(546446),i=e.i(949920),l=e.i(889753),n=e.i(901351),o=e.i(310847),s=e.i(543512),c=e.i(990033),u=e.i(333350),d=e.i(513513);e.s(["useUser",0,function(){let[e,p]=(0,r.useAtom)(l.userProfileAtom),[f,m]=(0,r.useAtom)(o.wxuUserAnonymousIdAtom),[g,x]=(0,r.useAtom)(o.wxuUserAccountUserAccountResponseAtom),[h,y]=(0,a.useState)(!1),b=(0,r.useSetAtom)(o.wxuLoginRedirectPageAtom);u.default&&!h&&(b(window.location.href),y(!0));let v=(0,r.useAtomValue)(l.userTierAtom),w=(0,d.isUserLoggedIn)(v),T=f;!T&&u.default&&(t||(t=(0,c.v4)()),T=t),u.default&&!f&&T&&m(T),!e&&g&&p(g);let I=(0,i.default)(w?"upsx/id":null,()=>n.upsxClient.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:E=""}=I?.data||{},C=E&&e?.userID!==E,S=(0,i.default)(C?"upsx/account":null,()=>n.upsxClient.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{p(e),x(e)}});return{user:{anonId:T,userID:E,isUserLoggedIn:w,subscriptionTier:v,isUserPremium:(0,d.isUserTierPremium)(v),isUserAdFree:v===s.UserSubscriptionTiers.adFree},userProfile:e,isUserIdLoading:I.isLoading,profileError:S.error}}])},543512,e=>{"use strict";var t,a=((t={})[t.none=-1]="none",t[t.standard=0]="standard",t[t.premium=1]="premium",t[t.adFree=2]="adFree",t[t.premiumWithAd=3]="premiumWithAd",t);let r=Object.entries(a).reduce((e,[t,a])=>(e[a]=t,e),{});Object.entries(a).reduce((e,[t,a])=>(e[a.toString()]=a,e),{}),e.s(["UserSubscriptionPremiumTiers",0,[1,2,3],"UserSubscriptionTierKeysMap",0,r,"UserSubscriptionTiers",()=>a,"UserSubscriptionTiersMap",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},513513,e=>{"use strict";var t=e.i(543512);t.UserSubscriptionTiers.none,t.UserSubscriptionTiers.standard,t.UserSubscriptionTiers.adFree,t.UserSubscriptionTiers.premium,t.UserSubscriptionTiers.premiumWithAd,e.s(["hasRadarFeature",0,function(e){return void 0!==e&&t.UserSubscriptionPremiumTiers.includes(e)},"isUserLoggedIn",0,function(e){return void 0!==e&&e>t.UserSubscriptionTiers.none},"isUserTierPremium",0,function(e){return t.UserSubscriptionPremiumTiers.includes(e)}],513513)},901351,e=>{"use strict";e.i(288906);let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},438335,e=>{"use strict";var t=e.i(288906);let a=/^[a-z][a-z0-9+.-]*:\/\//i,r=/[?#]/,i=/\/{2,}/g,l=e=>{if(!e)return e;let t=e.match(a),l=t?t[0].length:0,n=e.slice(0,l),o=e.slice(l),s=o.search(r),c=-1===s?o:o.slice(0,s),u=-1===s?"":o.slice(s);return n+c.replace(i,"/")+u},n=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let a=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",r=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",i=`https://${a??r}`;return(i=i.replace(n,""),e)?l(new URL(e,i).toString()):i},"getPublicURL",0,e=>{let a,r=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),i=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-10-15.vercel.weather.com",o=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(r){case"preview":a=`https://${i}`;break;case"development":a=s?`http://${o}`:`https://${o}`;break;default:a=`https://${o}`}return(a=a.replace(n,""),e)?l(new URL(e,a).toString()):a}],438335)},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a(!0)},[]),e}])},553329,e=>{"use strict";async function t(e){try{return{data:await e,error:null}}catch(e){return{data:null,error:e}}}e.s(["tryCatch",0,t])}]);