(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,427309,e=>{"use strict";var t=e.i(751931),o=e.i(820241);let a=(0,o.getCookie)("twc-location-geocode")?.toString()||null,r=(0,t.atom)(a),i=(0,o.getCookie)("twc-location-country")?.toString()||null,n=(0,t.atom)(i),l=(0,o.getCookie)("twc-location-region")?.toString()||null,c=(0,t.atom)(l),s=(0,o.getCookie)("twc-location-city")?.toString()||null,d=(0,t.atom)(s);e.s(["geoipCity",0,d,"geoipCountry",0,n,"geoipGeocode",0,r,"geoipRegion",0,c])},579310,e=>{"use strict";var t=e.i(751931),o=e.i(889753);let a=(0,e.i(834354).focusAtom)(o.userPreferencesAtom,e=>e.prop("locations")),r=(0,t.atom)(e=>e(o.userPreferencesAtom)?.locations||[]);(0,t.atom)(e=>{let t=e(r);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,t.atom)(e=>(e(r)?.length||0)>0),e.s(["userLocationsAtom",0,a,"userLocationsGetAtom",0,r])},630585,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getLocationSearchUrlConfig=function({query:e,language:t,locationType:o,countryCode:a,adminDistrictCode:r}){let i={query:e,language:t,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return o&&(i.locationType=o),a&&(i.countryCode=a),r&&(i.adminDistrictCode=r),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:i}},o.getLocationPointUrlConfig=function({geocode:e,locId:t,placeId:o,canonicalCityId:a,locationType:r,language:i}){let n={language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return e&&(n.geocode=e),t&&(n.locid=t),o&&(n.placeid=o),a&&(n.canonicalCityId=a),r&&(n.locationType=r),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:n}}},678651,(e,t,o)=>{"use strict";function a(e){let t=new URLSearchParams;for(let[o,a]of Object.entries(e))void 0!==a&&t.append(o,a);return t}Object.defineProperty(o,"__esModule",{value:!0}),o.queryStringToSearchParams=a,o.urlFrom=function({host:e,...t}){if(!e)throw Error("Host is missing");let o=new URL(`https://${e}`);return Object.assign(o,{...t,hostname:e}),t.query&&(o.search=a(t.query).toString()),o}},414655,(e,t,o)=>{"use strict";async function a(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return null;return await e.json()}catch(e){throw Error(`Invalid JSON response: ${e.message}`)}}async function r(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return"";return await e.text()}catch(e){throw Error(`Invalid text response: ${e.message}`)}}Object.defineProperty(o,"__esModule",{value:!0}),o.handleFetchResponse=a,o.handleFetchTextResponse=r},330091,(e,t,o)=>{"use strict";var a,r;Object.defineProperty(o,"__esModule",{value:!0}),o.ErrInvalidCanonicalCityID=o.ErrInvalidPlaceID=o.ErrInvalidPartialLocID9=o.ErrInvalidPartialLocID1=o.ErrInvalidUSZipCode=o.ErrInvalidLocID=o.ErrInvalidLatOrLong=o.ErrInvalidGeocode=o.ErrInvalid=o.LocationError=o.RegExpCanonicalCityID=o.RegExpPlaceID=o.RegExpPartialLocID9=o.RegExpPartialLocID1=o.RegExpUSZipCode=o.RegExpLocID=o.RegExpGeocode=o.LocationTypeMap=o.LocationType=void 0,o.valid=l,o.normalized=function(e,t){switch(t){case a.Geocode:return p(e);case a.LocID:return g(e);case a.USZipCode:return f(e);case a.PartialLocID1:return I(e);case a.PartialLocID9:return y(e);case a.PlaceID:return h(e);case a.CanonicalCityID:return v(e);default:return e}},o.testLocId=function(e){let t="";try{t=decodeURIComponent(e)}catch{}for(let e of(t=u(t),c))if(e.regex.test(t))return{type:e.type,locId:e.normalize(t)};return null},o.locIdFromSeoPhrase=u,o.normalizedGeocode=p,o.parseLatLonFromGeocode=function(e){let t=p(e).split(",");if(2!==t.length||!t[0]||!t[1])throw o.ErrInvalidGeocode;let a=parseFloat(t[0].trim()),r=parseFloat(t[1].trim());if(isNaN(a)||isNaN(r))throw o.ErrInvalidGeocode;return[a,r]},o.normalizeLatOrLong=m,o.normalizedLocID=g,o.normalizedUSZipCode=f,o.normalizedPartialLocID1=I,o.normalizedPartialLocID9=y,o.normalizedPlaceID=h,o.normalizedCanonicalCityID=v,o.geocodeFromLatLong=function(e,t){return`${e.toFixed(2)},${t.toFixed(2)}`},(r=a||(o.LocationType=a={}))[r.Geocode=0]="Geocode",r[r.LocID=1]="LocID",r[r.USZipCode=2]="USZipCode",r[r.PartialLocID1=3]="PartialLocID1",r[r.PartialLocID9=4]="PartialLocID9",r[r.PlaceID=5]="PlaceID",r[r.CanonicalCityID=6]="CanonicalCityID",o.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId"},o.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;let i=/.*(\+|-|\s)+(\w*|(\w{4}\d{4})|(\d+))(:(1|4|5|9|11|13|16|17|19|21|25|27))?(:\w{2})?$/;o.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27):\w{2}$/,o.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,o.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,o.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,o.RegExpPlaceID=/^([0-9a-f]){32,}$/,o.RegExpCanonicalCityID=o.RegExpPlaceID;class n extends Error{constructor(e){super(e),this.name="LocationError"}}function l(e,t){switch(t){case a.Geocode:return o.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case a.LocID:return o.RegExpLocID.test(e);case a.USZipCode:return o.RegExpUSZipCode.test(e);case a.PartialLocID1:return o.RegExpPartialLocID1.test(e);case a.PartialLocID9:return o.RegExpPartialLocID9.test(e);case a.PlaceID:return o.RegExpPlaceID.test(e);case a.CanonicalCityID:return o.RegExpCanonicalCityID.test(e);default:return!1}}o.LocationError=n,o.ErrInvalid=new n("location: invalid location"),o.ErrInvalidGeocode=new n("location: invalid location: invalid geocode"),o.ErrInvalidLatOrLong=new n("location: invalid location: invalid latitude or longitude"),o.ErrInvalidLocID=new n("location: invalid location: invalid locid"),o.ErrInvalidUSZipCode=new n("location: invalid location: invalid US zip code"),o.ErrInvalidPartialLocID1=new n("location: invalid location: invalid partial locid type 1"),o.ErrInvalidPartialLocID9=new n("location: invalid location: invalid partial locid type 9"),o.ErrInvalidPlaceID=new n("location: invalid location: invalid placeid"),o.ErrInvalidCanonicalCityID=new n("location: invalid location: invalid canonical city ID");let c=[{regex:o.RegExpGeocode,type:o.LocationTypeMap.Geocode,normalize:p},{regex:o.RegExpLocID,type:o.LocationTypeMap.LocID,normalize:g},{regex:o.RegExpUSZipCode,type:o.LocationTypeMap.USZipCode,normalize:f},{regex:o.RegExpPartialLocID1,type:o.LocationTypeMap.PartialLocID1,normalize:I},{regex:o.RegExpPartialLocID9,type:o.LocationTypeMap.PartialLocID9,normalize:y},{regex:o.RegExpPlaceID,type:o.LocationTypeMap.PlaceID,normalize:h},{regex:o.RegExpCanonicalCityID,type:o.LocationTypeMap.CanonicalCityID,normalize:v}],s=/-/,d=/\s/;function u(e){let t=e;if(i.test(e))if(s.test(e)){let o=e.split("-").pop();o&&(t=o)}else if(d.test(e)){let o=e.split(" ").pop();o&&(t=o)}else{let o=e.split("+").pop();o&&(t=o)}return t}function p(e){if(""===e||!l(e,a.Geocode))throw o.ErrInvalidGeocode;let t=e.split(",");if(2!==t.length)throw o.ErrInvalidGeocode;try{for(let e=0;e{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getLocationPointByPlaceId=l,o.getLocationPointByGeocode=c,o.getLocationPointByLocIdParam=s,o.getLocationPointByCanonicalCityId=d;let a=e.r(630585),r=e.r(678651),i=e.r(414655),n=e.r(330091);async function l(e,t){let o=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({placeId:e,language:t})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,i.handleFetchResponse)(n)}async function c(e,t){let o=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({geocode:e,language:t})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,i.handleFetchResponse)(n)}async function s(e,t){let o=(0,n.testLocId)(e);if(!o)throw Error("Not a valid locId or type supported");let l=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({[o.type]:o.locId,language:t})),c=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,i.handleFetchResponse)(c)}async function d(e,t){let o=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({canonicalCityId:e,language:t})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,i.handleFetchResponse)(n)}},295553,e=>{"use strict";let t=(0,e.i(751931).atom)();e.s(["pageLocationDataAtom",0,t])},150137,e=>{"use strict";var t=e.i(751931),o=e.i(405052),a=e.i(695881),r=e.i(233601);let i=(0,a.createLogger)("getGeolocationAPIGeocode");async function n(e=1e4){try{let t=sessionStorage.getItem("wxu-web/key-val:html5Geolocation");if(t){let{latitude:e,longitude:o,timestamp:a,permissionDenied:r}=JSON.parse(t),i=Date.now()-a;if(r&&inavigator.geolocation.getCurrentPosition(e=>{let{latitude:o,longitude:a}=e.coords;sessionStorage.setItem("wxu-web/key-val:html5Geolocation",JSON.stringify({latitude:o,longitude:a,permissionDenied:!1,timestamp:Date.now()})),t({latitude:o,longitude:a})},e=>{e.code===e.PERMISSION_DENIED&&sessionStorage.setItem("wxu-web/key-val:html5Geolocation",JSON.stringify({permissionDenied:!0,timestamp:Date.now()})),o(e)},{enableHighAccuracy:!0,timeout:e,maximumAge:0}))}catch(e){i.error("getGeolocationAPIGeocode error: ",e)}}var l=e.i(333350);let c=(0,a.createLogger)("geolocationApi");(0,t.atom)(async()=>{try{return(await navigator.permissions.query({name:"geolocation"})).state}catch(e){c.error(e)}});let s=(0,t.atom)(async()=>{if(!l.default)return;let e=await n();if(e?.latitude&&e?.longitude)return(0,o.formatGeocode)(`${e?.latitude},${e?.longitude}`)}),d=(0,t.atom)(void 0),u=(0,t.atom)(e=>{let t=e((0,r.loadable)(s));return"hasData"===t.state?t.data:void 0}),p=(0,t.atom)(e=>"loading"===e((0,r.loadable)(s)).state);e.s(["geolocationAPIGeocodeAtom",0,u,"isGeolocationAPIGeocodeLoadingAtom",0,p,"undefinedAtom",0,d],150137)},335355,e=>{"use strict";var t=e.i(751931),o=e.i(889753);let a=(0,t.atom)(e=>e(o.userPreferencesAtom)?.locale||"en_US");(0,t.atom)(e=>e(a).split("_")[0]);let r=(0,t.atom)(e=>e(a).split("_")[1]);e.s(["userCountryAtom",0,r,"userLocaleAtom",0,a])},405052,935807,919101,e=>{"use strict";function t(e,o=[],r=!1,i="US",n){let l,c=o.find(t=>t.placeID===e.placeId);if(c&&r){let t=c.userTag||c.name;if(t&&"Other"!==t){let o=e.displayName,r=a(e,i,"");if(t!==o&&t!==r)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||"",o=e?.postalCode||"";l=n?`${t} ${o}`.trim():`${t}`.trim();break}default:l=e?.displayName||""}0===l.length&&(l=e?.displayName||"")}return l}function o(e,t=[],r=!1,i="US",n){let l,c=t.find(t=>t.placeID===e.placeId);if(c&&r){let t=c.userTag||c.name;if(t&&"Other"!==t){let o=e.displayName,r=a(e,i,"");if(t!==o&&t!==r)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let o=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,o].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,o].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,o].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",a=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${a}`.trim(),o].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,o].filter(Boolean).join(", ")}}}(e,i)}}if(e?.disputedCountries)l=e?.displayName||"";else{let t=i===e?.countryCode?"":e?.country||"",o=e?.adminDistrict||"",a=e?.postalCode||"",r=e.city||"";switch(e?.type){case"address":l=[r,o,t].filter(Boolean).join(", ");break;case"city":default:l=[o,t].filter(Boolean).join(", ");break;case"locality":l=[e?.locale?.locale2||"",o,t].filter(Boolean).join(", ");break;case"neighborhood":l=[e?.locale?.locale3||e?.locale?.locale2||"",o,t].filter(Boolean).join(", ");break;case"postal":{let r=o||e?.locale?.locale2||"";l=[n?`${r} ${a}`.trim():r,t].filter(Boolean).join(", ")}}}return l}function a(e,t,o){let{displayName:a,adminDistrictCode:r,adminDistrict:i,countryCode:n,disputedArea:l,country:c}=e,s=[];return a&&s.push(a),"IL"!==t&&(r?s.push(r):i&&s.push(i)),n!==t&&!1===l&&c&&s.push(c),s.join(o)}e.s(["formatGeocode",0,function(e){if(!e||!e.includes(","))return e;let t=e.split(",");if(2!==t.length)return e;let[o,a]=t,r=parseFloat(o||"0").toFixed(2),i=parseFloat(a||"0").toFixed(2);return`${r},${i}`}],405052),e.s(["getLocationContext",0,o,"getLocationName",0,t,"getLocationPresentationName",0,function(e,a=[],r=!1,i="US"){let n=t(e,a,r,i,!1),l=o(e,a,r,i,!0),c=e?.separator?e?.separator:n&&l?", ":"";return`${n}${c}${l}`.trim()}],935807),e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let o=t.find(t=>t.placeId===e.placeId);return o?{...e,displayName:o.address,address:o.address}:e}],919101)},693796,77323,e=>{"use strict";var t=e.i(405052),o=e.i(475566),a=e.i(579310),r=e.i(528600),i=e.i(935807),n=e.i(335355),l=e.i(539922),c=e.i(919101),s=e.i(310847);function d(){let e=(0,o.useAtomValue)(a.userLocationsGetAtom),t=(0,o.useAtomValue)(n.userLocaleAtom),d=t?.slice(3)||"US",{user:u}=(0,r.useUser)(),p=u.isUserLoggedIn,m=(0,o.useAtomValue)(s.wxuUserRecentAddressesAtom);return(0,l.useMemo)(()=>({getLocationName:(t,o)=>(0,i.getLocationName)((0,c.getAddressForLocationData)(t,m),e,p,d,o),getLocationContext:(t,o)=>(0,i.getLocationContext)((0,c.getAddressForLocationData)(t,m),e,p,d,o),getLocationPresentationName:t=>(0,i.getLocationPresentationName)((0,c.getAddressForLocationData)(t,m),e,p,d)}),[])}e.s(["usePresentationName",0,d],77323),e.s(["useLocationData",0,function(){let{getLocationName:e,getLocationContext:a,getLocationPresentationName:r}=d(),i=(0,o.useAtomValue)(s.wxuUserRecentAddressesAtom);return{fromLocationPoint:o=>{let n=(0,c.getAddressForLocationData)(o.location,i);return{displayName:n.displayName,adminDistrict:n.adminDistrict,geocode:(0,t.formatGeocode)(`${n.latitude},${n.longitude}`),placeId:n.placeId,city:n.city,countryCode:n.countryCode,adminDistrictCode:n.adminDistrictCode||"",presentationName:r(n),name:e(n),context:a(n),ianaTimeZone:n.ianaTimeZone,postalCode:n.postalCode,address:n.address||"",type:n.type,dmaCd:n.dmaCd||"",isDisputedLocation:!1}},fromLocationSearchItem:o=>{let n=(0,c.getAddressForLocationData)(o,i);return{displayName:n.displayName,adminDistrict:n.adminDistrict,geocode:(0,t.formatGeocode)(`${n.latitude},${n.longitude}`),placeId:n.placeId,city:n.city,countryCode:n.countryCode,adminDistrictCode:n.adminDistrictCode||"",presentationName:r(n),name:e(n),context:a(n),ianaTimeZone:n.ianaTimeZone,postalCode:n.postalCode,address:n.address||"",type:n.type,dmaCd:n.dmaCd||"",isDisputedLocation:!1}}}}],693796)},472737,e=>{"use strict";var t,o=e.i(539922),a=e.i(475566),r=e.i(381477),i=e.i(579310),n=e.i(310847),l=e.i(427309),c=e.i(343277),s=e.i(295553),d=e.i(25681),u=e.i(150137),p=e.i(693796),m=((t={}).PREFER_FAVORITES="preferFavorites",t.PREFER_RECENT="preferRecent",t);e.s(["LocationFallbackOrder",()=>m,"useLocationSource",0,function({location:e,fallbackOrder:t="preferFavorites"}={}){let m=(0,d.useParams)(),g=m?.locale,f=(0,o.useMemo)(()=>e,[e?.placeId,e?.geocode,e?.address]),I=(0,a.useAtomValue)(s.pageLocationDataAtom),y=(0,a.useAtomValue)(i.userLocationsAtom),h=(0,a.useAtomValue)(n.wxuUserRecentLocationsAtom),v=!m?.locId&&!f&&!y?.length&&!h?.length,L=(0,a.useAtomValue)(v?u.geolocationAPIGeocodeAtom:u.undefinedAtom),D=(0,a.useAtomValue)(l.geoipGeocode),C=Array.isArray(y)&&y.length>0?y[0]?.coordinate:null,w=Array.isArray(h)&&h.length>0?h[0]:null,E="preferFavorites"===t,P="preferRecent"===t,x=e=>(0,c.getLocationPointByGeocode)(e,g),{data:A,error:R,isLoading:S}=(0,r.default)(!f&&C&&(E||P&&!w)?["/v3/location/point",C]:null,()=>C?x(C):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:U,error:b,isLoading:N}=(0,r.default)(!f&&w&&(P||E&&!C)?["/v3/location/point",w]:null,()=>w?(0,c.getLocationPointByPlaceId)(w,g):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:F,error:T,isLoading:G}=(0,r.default)(v&&L?["/v3/location/point",L]:null,()=>L?x(L):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:$,error:k,isLoading:O}=(0,r.default)(f||!D||C||w||L?null:["/v3/location/point",D],()=>D?x(D):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{fromLocationPoint:j}=(0,p.useLocationData)();return{effectiveLocation:(0,o.useMemo)(()=>{let e;return f?e=f:I?e=I:A&&C?e=j(A):R&&C?(console.error("Error fetching favorite location data:",R),e={displayName:"Favorite Location",adminDistrict:"",geocode:C,placeId:"unknown",ianaTimeZone:""}):U&&w?e=j(U):b&&w?(console.error("Error fetching recent location data:",b),e={displayName:"Recent Location",adminDistrict:"",geocode:"",placeId:w,ianaTimeZone:""}):F&&L?e=j(F):T&&L?(console.error("Error fetching geolocation API data:",T),e={displayName:"Unknown Location",adminDistrict:"",geocode:L,placeId:"unknown",city:"",countryCode:"",adminDistrictCode:"",ianaTimeZone:""}):$&&D?e=j($):k&&D&&(console.error("Error fetching geoip location data:",k),e={displayName:"Unknown Location",adminDistrict:"",geocode:D,placeId:"unknown",city:"",countryCode:"",adminDistrictCode:"",ianaTimeZone:""}),e},[f,A,R,U,w,L,F,D,$,I,C,P,k,b]),isLocationLoading:!!E&&S||!!P&&N||G||O,locationError:(E?R:null)||(P?b:null)||T||k}}])},682142,e=>{"use strict";var t=e.i(903938),o=e.i(333350);let a=null;e.s(["getCICookie",0,function(){if(!o.default)return null;if(a)return a;let e=(0,t.getCookie)("ci")||"";return e?a=e.split("&").reduce((e,t)=>{let o=t.split("=");return o[0]&&"string"==typeof o[1]&&(e[o[0]]=o[1]),e},{}):null}])},959194,896363,e=>{"use strict";var t=e.i(333350),o=e.i(682142),a=e.i(903938);let r=e=>{if(!e)return"";let t="[";return Array.isArray(e)&&e.forEach((o,a)=>{t+=`'${o}'${a!==e.length-1?",":""}`}),t+="]"};e.s(["parseArrayToString",0,r],896363);let i=()=>t.default?Object.fromEntries(new URLSearchParams(window.location.search.replace("+","%2B")).entries()):{},n=(0,o.getCICookie)()?.["TWC-GeoIP-DMA"]||null;e.s(["WEEK_DAYS",0,["SUN","MON","TUE","WED","THU","FRI","SAT"],"areObjectValuesDefined",0,e=>Object.keys(e).every(t=>void 0!==e[t]),"geoIPDma",0,n,"getAnonymizedPath",0,function(e){var t;let o,a,r,i=(o=e,a=e?.indexOf?.("?"),r=e?.indexOf?.("#"),a>-1?o=o.substring(0,a):r>-1&&(o=o.substring(0,r)),o);if(t=i,"/index.html"===(i=t?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===i||""===i)i="/";else{let e=i?.split("/")||[],t=e.length-1,o=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(o.match(/[A-Z]/)||o.match(/[0-9]/)||o.match(/[@#$%&!*:]/)||""===o)&&e.pop(),i=e.join("/")}return i},"getCampaign",0,()=>{let e=i(),t=null,o=!0,r=[];return e.cm_ven&&r.push(e.cm_ven),e.cm_date&&r.push(e.cm_date),e.cm_cat&&r.push(e.cm_cat),e.cm_pla&&r.push(e.cm_pla),e.cm_ite&&r.push(e.cm_ite),r.length>0?t=r.join(":"):(t=(0,a.getCookie)("campaign-values")||null,o=!1),o&&t&&(0,a.setCookie)("campaign-values",t,{domain:".weather.com",path:"/",maxAge:1800}),t},"getLinkReferral",0,()=>i()?.traffic_source||null,"getPartner",0,()=>(0,a.getCookie)("twc-partner")||null,"getTimezoneOffsetInHours",0,function(e,t=new Date){if(!e)throw Error("Invalid timeZone provided.");try{let o=t.getTime(),a=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hourCycle:"h23"}).formatToParts(t).reduce((e,t)=>{if("literal"!==t.type){let o=parseInt(t.value,10);"hour"===t.type&&24===o&&(o=0),e[t.type]=o}return e},{});return(Date.UTC(a.year??0,(a.month??1)-1,a.day??1,a.hour??0,a.minute??0,a.second??0)-o)/36e5}catch(e){return e instanceof Error&&console.error(e.message),0}},"getTpcc",0,()=>{let e=i()?.tpcc||(0,a.getCookie)("tpcc")||null;return e&&(0,a.setCookie)("tpcc",e,{path:"/",domain:".weather.com",maxAge:1800}),e},"jwtDecoder",0,function(e){if(!e)return{};let t=e.split("."),o=(Array.isArray(t)&&t.length>=2&&t[1]||"").replace("-","+").replace("_","/");try{return JSON.parse(window.atob(o))||{}}catch{return{}}},"mapIabTagsToIabContent",0,e=>{let t=[];return e?.v1&&t.push(e.v1),e?.v2&&t.push(e.v2),e?.v3&&t.push(e.v3),r(t)},"stripLastPartOfSlug",0,(e="")=>{let t=e.split("/");return t?.[t.length-1]===""&&t.pop(),t.slice(0,t.length-1).join("/")}],959194)},827049,e=>{"use strict";let t=(0,e.i(751931).atom)("en-US");e.s(["pageLocaleAtom",0,t])},695203,e=>{"use strict";let t=(0,e.i(751931).atom)("");e.s(["deviceClassAtom",0,t])},294237,e=>{"use strict";var t=e.i(7284);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t.clsx;e.s(["cva",0,(e,t)=>r=>{var i;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:l}=t,c=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],a=null==l?void 0:l[e];if(null===t)return null;let i=o(t)||o(a);return n[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[o,a]=t;return void 0===a||(e[o]=a),e},{});return a(e,c,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:o,className:a,...r}=t;return Object.entries(r).every(e=>{let[t,o]=e;return Array.isArray(o)?o.includes({...l,...s}[t]):({...l,...s})[t]===o})?[...e,o,a]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}])},747961,e=>{"use strict";var t=e.i(648198),o=e.i(539922),a=e.i(294237),r=e.i(789876);let i=(0,a.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=o.default.forwardRef(({icon:e,size:o,color:a,title:n,desc:l,className:c,ariaHidden:s,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,r.cn)(i({size:o,color:a}),c),title:n,desc:l,...s&&{"aria-hidden":s},...d}));n.displayName="BaseIcon",e.s(["BaseIcon",0,n])},632137,e=>{"use strict";var t=e.i(7284);let o=(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 o((0,t.clsx)(e))}])},547100,e=>{"use strict";var t=e.i(654623);function o(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=o(0,t.useTranslations),r=o(0,t.useFormatter);e.s(["useFormatter",0,r,"useTranslations",0,a])}]);