"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3665],{413:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrInvalidCanonicalCityID=t.ErrInvalidPlaceID=t.ErrInvalidPartialLocID9=t.ErrInvalidPartialLocID1=t.ErrInvalidUSZipCode=t.ErrInvalidLocID=t.ErrInvalidLatOrLong=t.ErrInvalidGeocode=t.ErrInvalid=t.LocationError=t.RegExpCanonicalCityID=t.RegExpPlaceID=t.RegExpPartialLocID9=t.RegExpPartialLocID1=t.RegExpUSZipCode=t.RegExpLocID=t.RegExpGeocode=t.LocationTypeMap=t.LocationType=void 0,t.valid=o,t.normalized=function(e,t){switch(t){case r.Geocode:return i(e);case r.LocID:return l(e);case r.USZipCode:return c(e);case r.PartialLocID1:return d(e);case r.PartialLocID9:return u(e);case r.PlaceID:return p(e);case r.CanonicalCityID:return h(e);default:return e}},t.testLocId=function(e){for(let t of a)if(t.regex.test(e))return{type:t.type,locId:t.normalize(e)};return null},t.normalizedGeocode=i,t.parseLatLonFromGeocode=function(e){let r=i(e).split(",");if(2!==r.length||!r[0]||!r[1])throw t.ErrInvalidGeocode;let n=parseFloat(r[0].trim()),o=parseFloat(r[1].trim());if(isNaN(n)||isNaN(o))throw t.ErrInvalidGeocode;return[n,o]},t.normalizeLatOrLong=s,t.normalizedLocID=l,t.normalizedUSZipCode=c,t.normalizedPartialLocID1=d,t.normalizedPartialLocID9=u,t.normalizedPlaceID=p,t.normalizedCanonicalCityID=h,t.geocodeFromLatLong=function(e,t){return"".concat(e.toFixed(2),",").concat(t.toFixed(2))},function(e){e[e.Geocode=0]="Geocode",e[e.LocID=1]="LocID",e[e.USZipCode=2]="USZipCode",e[e.PartialLocID1=3]="PartialLocID1",e[e.PartialLocID9=4]="PartialLocID9",e[e.PlaceID=5]="PlaceID",e[e.CanonicalCityID=6]="CanonicalCityID"}(r||(t.LocationType=r={})),t.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId"},t.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/,t.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27):\w{2}$/,t.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,t.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,t.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,t.RegExpPlaceID=/^([0-9a-f]){32,}$/,t.RegExpCanonicalCityID=t.RegExpPlaceID;class n extends Error{constructor(e){super(e),this.name="LocationError"}}function o(e,n){switch(n){case r.Geocode:return t.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case r.LocID:return t.RegExpLocID.test(e);case r.USZipCode:return t.RegExpUSZipCode.test(e);case r.PartialLocID1:return t.RegExpPartialLocID1.test(e);case r.PartialLocID9:return t.RegExpPartialLocID9.test(e);case r.PlaceID:return t.RegExpPlaceID.test(e);case r.CanonicalCityID:return t.RegExpCanonicalCityID.test(e);default:return!1}}t.LocationError=n,t.ErrInvalid=new n("location: invalid location"),t.ErrInvalidGeocode=new n("location: invalid location: invalid geocode"),t.ErrInvalidLatOrLong=new n("location: invalid location: invalid latitude or longitude"),t.ErrInvalidLocID=new n("location: invalid location: invalid locid"),t.ErrInvalidUSZipCode=new n("location: invalid location: invalid US zip code"),t.ErrInvalidPartialLocID1=new n("location: invalid location: invalid partial locid type 1"),t.ErrInvalidPartialLocID9=new n("location: invalid location: invalid partial locid type 9"),t.ErrInvalidPlaceID=new n("location: invalid location: invalid placeid"),t.ErrInvalidCanonicalCityID=new n("location: invalid location: invalid canonical city ID");let a=[{regex:t.RegExpGeocode,type:t.LocationTypeMap.Geocode,normalize:i},{regex:t.RegExpLocID,type:t.LocationTypeMap.LocID,normalize:l},{regex:t.RegExpUSZipCode,type:t.LocationTypeMap.USZipCode,normalize:c},{regex:t.RegExpPartialLocID1,type:t.LocationTypeMap.PartialLocID1,normalize:d},{regex:t.RegExpPartialLocID9,type:t.LocationTypeMap.PartialLocID9,normalize:u},{regex:t.RegExpPlaceID,type:t.LocationTypeMap.PlaceID,normalize:p},{regex:t.RegExpCanonicalCityID,type:t.LocationTypeMap.CanonicalCityID,normalize:h}];function i(e){if(""===e||!o(e,r.Geocode))throw t.ErrInvalidGeocode;let n=e.split(",");if(2!==n.length)throw t.ErrInvalidGeocode;try{for(let e=0;e{var r,n,o,a,i,s,l,c,d,u;Object.defineProperty(t,"__esModule",{value:!0}),t.ICON_CODE_MAP=t.ICON_CODE_EXTENDED=t.IconCodeExtended=t.IconCode=t.CloudCoverPhrase=t.PressureTendencyCode=t.UVDescription=t.WindDirectionCardinal=t.DayOrNight=t.HourlyForecastDuration=t.ForecastDuration=t.Units=void 0,function(e){e.IMPERIAL="e",e.METRIC="m",e.HYBRID="h"}(r||(t.Units=r={})),function(e){e.THREE_DAY="3day",e.FIVE_DAY="5day",e.SEVEN_DAY="7day",e.TEN_DAY="10day",e.FIFTEEN_DAY="15day"}(n||(t.ForecastDuration=n={})),function(e){e.SIX_HOUR="6hour",e.TWELVE_HOUR="12hour",e.ONE_DAY="1day",e.TWO_DAY="2day",e.THREE_DAY="3day",e.TEN_DAY="10day",e.FIFTEEN_DAY="15day"}(o||(t.HourlyForecastDuration=o={})),function(e){e.DAY="D",e.NIGHT="N",e.MISSING="X"}(a||(t.DayOrNight=a={})),function(e){e.NORTH="N",e.NORTH_NORTHEAST="NNE",e.NORTHEAST="NE",e.EAST_NORTHEAST="ENE",e.EAST="E",e.EAST_SOUTHEAST="ESE",e.SOUTHEAST="SE",e.SOUTH_SOUTHEAST="SSE",e.SOUTH="S",e.SOUTH_SOUTHWEST="SSW",e.SOUTHWEST="SW",e.WEST_SOUTHWEST="WSW",e.WEST="W",e.WEST_NORTHWEST="WNW",e.NORTHWEST="NW",e.NORTH_NORTHWEST="NNW",e.CALM="CALM"}(i||(t.WindDirectionCardinal=i={})),function(e){e.NOT_AVAILABLE="-2",e.NO_REPORT="-1",e.LOW="Low",e.MODERATE="Moderate",e.HIGH="High",e.VERY_HIGH="Very High",e.EXTREME="Extreme"}(s||(t.UVDescription=s={})),function(e){e[e.STEADY=0]="STEADY",e[e.RISING=1]="RISING",e[e.FALLING=2]="FALLING",e[e.RAPIDLY_RISING=3]="RAPIDLY_RISING",e[e.RAPIDLY_FALLING=4]="RAPIDLY_FALLING"}(l||(t.PressureTendencyCode=l={})),function(e){e.CLEAR="Clear",e.PARTLY_CLOUDY="Partly Cloudy",e.MOSTLY_CLOUDY="Mostly Cloudy",e.CLOUDY="Cloudy"}(c||(t.CloudCoverPhrase=c={})),function(e){e[e.TORNADO=0]="TORNADO",e[e.TROPICAL_STORM=1]="TROPICAL_STORM",e[e.HURRICANE=2]="HURRICANE",e[e.STRONG_STORMS=3]="STRONG_STORMS",e[e.THUNDERSTORMS=4]="THUNDERSTORMS",e[e.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",e[e.RAIN_SLEET=6]="RAIN_SLEET",e[e.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",e[e.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",e[e.DRIZZLE=9]="DRIZZLE",e[e.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",e[e.SHOWERS=11]="SHOWERS",e[e.RAIN=12]="RAIN",e[e.FLURRIES=13]="FLURRIES",e[e.SNOW_SHOWERS=14]="SNOW_SHOWERS",e[e.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",e[e.SNOW=16]="SNOW",e[e.HAIL=17]="HAIL",e[e.SLEET=18]="SLEET",e[e.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",e[e.FOGGY=20]="FOGGY",e[e.HAZE=21]="HAZE",e[e.SMOKE=22]="SMOKE",e[e.BREEZY=23]="BREEZY",e[e.WINDY=24]="WINDY",e[e.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",e[e.CLOUDY=26]="CLOUDY",e[e.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",e[e.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",e[e.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",e[e.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",e[e.CLEAR_NIGHT=31]="CLEAR_NIGHT",e[e.SUNNY=32]="SUNNY",e[e.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",e[e.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",e[e.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",e[e.SUNNY_ALT=36]="SUNNY_ALT",e[e.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",e[e.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",e[e.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",e[e.HEAVY_RAIN=40]="HEAVY_RAIN",e[e.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",e[e.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",e[e.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",e[e.NA=44]="NA",e[e.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",e[e.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",e[e.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT"}(d||(t.IconCode=d={})),function(e){e[e.STRONG_STORMS=300]="STRONG_STORMS",e[e.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",e[e.FREEZING_RAIN=1e3]="FREEZING_RAIN",e[e.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",e[e.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",e[e.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",e[e.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",e[e.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",e[e.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",e[e.SLEET=1800]="SLEET",e[e.LIGHT_SLEET=1801]="LIGHT_SLEET",e[e.SLEET_WIND=1810]="SLEET_WIND",e[e.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",e[e.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",e[e.HEAVY_SNOW=4200]="HEAVY_SNOW",e[e.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",e[e.BLIZZARD=4300]="BLIZZARD",e[e.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",e[e.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",e[e.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",e[e.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",e[e.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",e[e.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",e[e.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",e[e.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",e[e.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",e[e.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",e[e.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",e[e.THUNDER_SNOW=5600]="THUNDER_SNOW",e[e.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",e[e.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",e[e.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",e[e.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",e[e.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",e[e.AM_RAIN_ICE=6503]="AM_RAIN_ICE",e[e.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",e[e.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",e[e.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",e[e.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",e[e.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",e[e.ICE_EARLY=6600]="ICE_EARLY",e[e.AM_ICE=6603]="AM_ICE",e[e.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",e[e.AM_ICE_WIND=6613]="AM_ICE_WIND",e[e.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",e[e.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",e[e.PM_RAIN_ICE=7503]="PM_RAIN_ICE",e[e.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",e[e.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",e[e.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",e[e.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",e[e.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",e[e.ICE_LATE=7600]="ICE_LATE",e[e.PM_ICE=7603]="PM_ICE",e[e.ICE_WIND_LATE=7610]="ICE_WIND_LATE",e[e.PM_ICE_WIND=7613]="PM_ICE_WIND",e[e.RAIN_TO_ICE=8100]="RAIN_TO_ICE",e[e.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",e[e.ICE_TO_RAIN=8500]="ICE_TO_RAIN",e[e.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND"}(u||(t.IconCodeExtended=u={})),t.ICON_CODE_EXTENDED={300:"STRONG_STORMS",310:"STRONG_STORMS-WIND",1e3:"FREEZING_RAIN",1001:"LIGHT_FREEZING_RAIN",1002:"HEAVY_FREEZING_RAIN",1010:"FREEZING_RAIN-WIND",1011:"LIGHTFREEZING_RAIN-WIND",1012:"HEAVY_FREEZING_RAIN-WIND",1051:"LIGHT_FREEZING_RAIN-FOG",1800:"SLEET",1801:"LIGHT_SLEET",1810:"SLEET-WIND",1811:"LIGHT_SLEET-WIND",3819:"SCATTERED_THUNDERSTORMS-WIND",4200:"HEAVY_SNOW",4210:"HEAVY_SNOW-WIND",4300:"BLIZZARD",5100:"FREEZING_RAIN-SLEET",5101:"LIGHT_FREEZING_RAIN-SLEET",5110:"FREEZING_RAIN-SLEET-WIND",5111:"LIGHT_FREEZING_RAIN-SLEET-WIND",5300:"RAIN-FREEZING_RAIN",5301:"LIGHT_RAIN-FREEZING_RAIN",5302:"HEAVY_RAIN-FREEZING_RAIN",5310:"RAIN-FREEZING_RAIN-WIND",5311:"LIGHT_RAIN-FREEZING_RAIN-WIND",5312:"HEAVY_RAIN-FREEZING_RAIN-WIND",5351:"LIGHT_RAIN-FREEZING_RAIN-FOG",5600:"THUNDER_SNOW",5610:"THUNDER_SNOW-WIND",5709:"SCATTERED_STRONG_STORMS",5719:"SCATTERED_STRONG_STORMS-WIND",6500:"RAIN-ICE_EARLY",6501:"LIGHT_RAIN-ICE_EARLY",6503:"AM_RAIN-ICE",6504:"AM_LIGHT_RAIN-ICE",6510:"RAIN-ICE-WIND_EARLY",6511:"LIGHT_RAIN-ICE-WIND_EARLY",6513:"AM_RAIN-ICE-WIND",6514:"AM_LIGHT_RAIN-ICE-WIND",6600:"ICE_EARLY",6603:"AM_ICE",6610:"ICE-WIND_EARLY",6613:"AM_ICE-WIND",7500:"RAIN-ICE_LATE",7501:"LIGHT_RAIN-ICE_LATE",7503:"PM_RAIN-ICE",7504:"PM_LIGHT_RAIN-ICE",7510:"RAIN-ICE-WIND_LATE",7511:"LIGHT_RAIN-ICE-WIND_LATE",7513:"PM_RAIN-ICE-WIND",7514:"PM_LIGHT_RAIN-ICE-WIND",7600:"ICE_LATE",7603:"PM_ICE",7610:"ICE-WIND_LATE",7613:"PM_ICE-WIND",8100:"RAIN_TO_ICE",8110:"RAIN_TO_ICE-WIND",8500:"ICE_TO_RAIN",8510:"ICE_TO_RAIN-WIND"},t.ICON_CODE_MAP={0:"tornado",1:"tropical-storm",2:"hurricane",3:"strong-storms",4:"thunderstorms",5:"rain-snow-wintery-mix",6:"rain-sleet",7:"rain-snow-wintery-mix",8:"freezing-drizzle-rain",9:"drizzle",10:"freezing-drizzle-rain",11:"showers",12:"rain",13:"flurries",14:"snow-showers",15:"blowing-drifting-snow",16:"snow",17:"hail",18:"sleet",19:"blowing-dust-sandstorm",20:"foggy",21:"haze",22:"smoke",23:"breezy",24:"windy",25:"blowing-drifting-snow",26:"cloudy",27:"mostly-cloudy-night",28:"mostly-cloudy-day",29:"partly-cloudy-night",30:"partly-cloudy-day",31:"clear-night",32:"sunny",33:"mostly-clear-night",34:"mostly-clear-day",35:"mixed-rain-hail",36:"sunny",37:"isolated-thunderstorms",38:"scattered-thunderstorms-day",39:"scattered-showers-day",40:"heavy-rain",41:"scattered-snow-showers-day",42:"heavy-snow-blizzard",43:"heavy-snow-blizzard",44:"na",45:"scattered-showers-night",46:"scattered-snow-showers-night",47:"scattered-thunderstorms-night"}},1990:(e,t,r)=>{r.d(t,{h:()=>c});var n=r(16852),o=r(77976),a=r(90877),i=r(32677);let s=(0,r(80645).zu)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}}),l=(0,a.F)("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"}}),c=o.forwardRef((e,t)=>{let{icon:r,size:o,color:a,title:c,desc:d,className:u,ariaHidden:p,...h}=e;return(0,n.jsx)(r,{ref:t,className:function(){for(var e=arguments.length,t=Array(e),r=0;r{Object.defineProperty(t,"__esModule",{value:!0})},4846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssetsAPI=void 0;let n=r(76840);class o{async getAssets(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/assets"})}async getUserAssets(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/assets/".concat(e)})}async deleteUserAssets(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/assets/".concat(e)})}async createWUAssets(e,t){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/assets/wu/".concat(e),data:t})}async updateWUAssets(e,t){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/assets/wu/".concat(e),data:t})}async createWUAssetsMigration(e,t){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/assets/migration/".concat(e),data:t})}constructor(e){this.requestHandler=e}}t.AssetsAPI=o},6333:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(4100),o=r(24153);let a=()=>(0,n.md)(o.$)},6977:(e,t,r)=>{r.d(t,{X:()=>n});let n=(0,r(98540).eU)("en-US")},7253:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},8418:(e,t,r)=>{r.d(t,{C:()=>n});var n=function(e){return e[e.none=-1]="none",e[e.standard=0]="standard",e[e.premium=1]="premium",e[e.adFree=2]="adFree",e[e.premiumWithAd=3]="premiumWithAd",e}({})},10078:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},10130:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},11808:(e,t,r)=>{r.d(t,{W:()=>s,default:()=>c});var n=r(16852),o=r(86139),a=r(80099),i=r(98540);let s=(0,i.eU)(!1);function l(){if(window.top===window.self)window.DprSdk&&(window.DprSdk.init({getApplicationInfo:()=>({id:"weather.com",version:"2.0.0"}),getUserRegime:()=>(0,a.getCookie)("twc-privacy")}),(0,i.zp)().set(s,!0));else try{var e;(null==(e=window.top)?void 0:e.DprSdk)&&(window.DprSdk=window.top.DprSdk)}catch(e){}}function c(){return(0,n.jsx)(o.default,{async:!0,src:"https://weather.com/api/v1/script/dprSdkScript.js",onLoad:l})}},12266:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AccountAPI=void 0;let n=r(76840);class o{async getAccount(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/account"})}async updateAccount(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/account",data:e})}async getAccountId(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/account/id"})}async changeEmail(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/email/change",data:{email:e}})}async changePassword(e,t){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/password/change",data:{old_password:e,new_password:t}})}async forgotPassword(e,t,r){let o={};t&&(o.reset_password_url=t),r&&(o.platform=r),await this.requestHandler.request({method:n.HttpMethod.POST,path:"/password/forgotten",data:{email:e},params:o,requiresAuth:!1})}async resetPassword(e,t,r,o){let a={};o&&(a.platform=o),await this.requestHandler.request({method:n.HttpMethod.POST,path:"/password/reset",data:{email:e,otp:t,password:r},params:a,requiresAuth:!1})}async getUserId(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/user/id"})}async getUserInfo(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/user/id/email"})}async getUserAccountById(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/users/".concat(e,"/account")})}async getUserAccountByEmail(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/users/email/".concat(encodeURIComponent(e),"/account")})}async updateAccountLockStatus(e,t){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/users/".concat(e,"/account/lockStatus"),data:{accountLockStatus:t}})}constructor(e){this.requestHandler=e}}t.AccountAPI=o},15547:(e,t,r)=>{r.d(t,{G:()=>n});let n=(0,r(98540).eU)()},16552:(e,t,r)=>{r.d(t,{b:()=>o});var n=r(11182);let o=()=>{let e=(0,n.useRouter)();return{navigate:function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mpa:n=!0,replace:o=!1}=r;n?o?window.location.replace(t):window.location.href=t:o?e.replace(t):e.push(t)},refresh:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}}},16559:(e,t,r)=>{r.d(t,{A:()=>n});let n=!!window.document&&!!window.document.createElement},17690:(e,t,r)=>{r.d(t,{Y:()=>s});var n=r(16852),o=r(77976),a=r(1990);let i=(0,o.forwardRef)((e,t)=>{let{title:r,titleId:o,desc:a,descId:i,...s}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":o,"aria-describedby":i,...s,children:[a?(0,n.jsx)("desc",{id:i,children:a}):null,void 0===r?(0,n.jsx)("title",{id:o,children:"No Data"}):r?(0,n.jsx)("title",{id:o,children:r}):null,(0,n.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,n.jsx)("path",{d:"M2 8c0-.368.224-.667.5-.667h3.991c.276 0 .5.299.5.667s-.224.667-.5.667H2.5c-.276 0-.5-.299-.5-.667M9.009 8c0-.368.224-.667.5-.667H13.5c.276 0 .5.299.5.667s-.224.667-.5.667H9.509c-.276 0-.5-.299-.5-.667"})})]})}),s=o.forwardRef((e,t)=>(0,n.jsx)(a.h,{ref:t,icon:i,...e}));s.displayName="NoData"},19644:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},20131:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentObservationsUrlConfig=function(e){let{geocode:t,units:r,language:n}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:t,units:r,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},24153:(e,t,r)=>{r.d(t,{$:()=>n});let n=(0,r(98540).eU)()},26839:(e,t,r)=>{t.h=function e(t){let r=(0,n.default)("".concat(a,":").concat(t)),i=(0,n.default)("".concat(a,":").concat(t,":error")),s=(0,n.default)("".concat(a,":").concat(t,":warn")),l=(0,n.default)("".concat(a,":").concat(t,":lifecycle"));i.log=o;let c=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;o1?t-1:0),n=1;n1?t-1:0),n=1;n1?t-1:0),n=1;ne("".concat(t,":").concat(r)),c};let n=function(e){return e&&e.__esModule?e:{default:e}}(r(33279));n.default.log=console.info.bind(console);let o=console.error.bind(console),a="wx-next"},27207:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentAPI=void 0;let n=r(76840);class o{async getConsent(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/consent",params:{endpointID:e}})}async updateConsent(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/consent",data:e})}async createConsent(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/consent",data:e})}async deleteConsent(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/consent",params:{endpointID:e}})}async getUserConsent(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/consent/user"})}async updateUserConsent(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/consent/user",data:e})}async createUserConsent(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/consent/user",data:e})}async deleteUserConsent(){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/consent/user"})}async getBulkConsent(e,t){let r={};return e&&(r.endpointIDs=e),t&&(r.userID=t),this.requestHandler.request({method:n.HttpMethod.GET,path:"/consent/bulk",params:r})}async deleteBulkConsent(e,t){let r={};e&&(r.endpointIDs=e),t&&(r.userID=t),await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/consent/bulk",params:r})}async migrateUserConsent(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/consent/user/migration",data:e})}async updateUserConsentWebhook(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/consent/user/update",data:e})}constructor(e){this.requestHandler=e}}t.ConsentAPI=o},29336:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},29590:(e,t,r)=>{r.d(t,{Bu:()=>d,Uo:()=>a,cl:()=>o,lr:()=>c,tE:()=>n,xP:()=>u});let n="Imperial",o="Metric",a="Hybrid",i={code:"e",name:n,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},s={code:"m",name:o,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},l={code:"h",name:a,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"},c="unitOfMeasurement";function d(e){switch(null==e?void 0:e.toLowerCase()){case"e":case"f":return i;case"m":case"c":return s;case"h":return l;default:return null}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e.toLowerCase()){case"imperial":case"Imperial":return i;case"metric":case"Metric":return s;case"hybrid":case"Hybrid":return l;default:return null}}},30649:(e,t,r)=>{r.d(t,{J:()=>s,U:()=>i});var n=r(53994),o=r(29590),a=r(54318);let i=(0,n.tG)("userProfile",null),s=(0,n.tG)("userPreferences",{userID:(0,a.A)(),unit:o.tE,locations:[],locale:"en_US",mapSettings:{animationSpeed:1,autoplay:!0,opacity:100,roadOverlay:"default",style:"default"},favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]})},31157:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getLocationSearchUrlConfig=function(e){let{query:t,language:r,locationType:n,countryCode:o,adminDistrictCode:a}=e,i={query:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return n&&(i.locationType=n),o&&(i.countryCode=o),a&&(i.adminDistrictCode=a),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:i}},t.getLocationPointUrlConfig=function(e){let{geocode:t,locId:r,placeId:n,language:o}=e,a={language:o,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return t&&(a.geocode=t),r&&(a.locId=r),n&&(a.placeid=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:a}}},32189:(e,t,r)=>{r.d(t,{X:()=>n});let n=e=>{if(!e)return"";let t="[";return Array.isArray(e)&&e.forEach((r,n)=>{t+="'".concat(r,"'").concat(n!==e.length-1?",":"")}),t+="]"}},34891:(e,t,r)=>{t.$M=s,t.PT=l;let n=r(31157),o=r(41661),a=r(86078),i=r(413);async function s(e,t){let r=(0,o.urlFrom)((0,n.getLocationPointUrlConfig)({placeId:e,language:t})),i=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(i)}async function l(e,t){let r=(0,o.urlFrom)((0,n.getLocationPointUrlConfig)({geocode:e,language:t})),i=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(i)}},37628:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationsAPI=void 0;let n=r(76840);class o{async getApplications(e,t){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/applications",params:{appId:e,endpointId:t}})}async createApplication(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/applications",data:e})}async addPartner(e,t,r){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/applications/app-id/".concat(e,"/endpoint-id/").concat(t),data:r})}async deletePartner(e,t,r){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/applications/partner/app-id/".concat(e,"/endpoint-id/").concat(t),params:{partner:r}})}async updateLastActivity(e,t,r){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/applications/activity/user/".concat(e,"/app-id/").concat(t,"/endpoint-id/").concat(r)})}async getUserApplications(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/applications/user/".concat(e)})}async createUserApplication(e,t){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/applications/user/".concat(e),data:t})}async deleteUserApplications(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/applications/user/".concat(e)})}async deleteUserApplication(e,t,r){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/applications/user/".concat(e,"/app-id/").concat(t,"/endpoint-id/").concat(r)})}async getUserEndpointIds(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/applications/endpoint-ids",params:{userID:e}})}constructor(e){this.requestHandler=e}}t.ApplicationsAPI=o},38747:(e,t,r)=>{r.d(t,{Ay:()=>l,EY:()=>s});var n=r(16852),o=r(77976),a=r(90877),i=r(71232);let s=o.forwardRef((e,t)=>{let{className:r,variant:o,elementType:a,lineClamp:s,color:l,children:d,...u}=e,p=a||function(e){let{variant:t}=e;switch(t){case"Display.XL":case"Display.L":case"Title.XL":return"h1";case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:o});return(0,n.jsx)(p,{className:(0,i.cn)(c({variant:o,color:l,lineClamp:s,className:r})),ref:t,...u,children:d})});s.displayName="Text";let l=s,c=(0,a.F)("",{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-semibold"],"Title.L":["text-3xl","leading-tight","tracking-tight","font-medium"],"Title.M":["text-2xl","leading-tight","tracking-tight","font-semibold"],"Title.S":["text-xl","leading-tight","tracking-tight","font-semibold"],"Body.L":["text-lg","leading-looser","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-looser","tracking-normal","font-bold"],"Body.M":["text-base","leading-looser","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-looser","tracking-tight","font-bold"],"Body.S":["text-sm","leading-normal","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-normal","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"]},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:{1:"line-clamp-1",2:"line-clamp-2",3:"line-clamp-3",4:"line-clamp-4",5:"line-clamp-5"}},defaultVariants:{variant:"Body.M",color:"default"}})},40685:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UPSXClient=void 0;let n=r(12266),o=r(37628),a=r(4846),i=r(77679),s=r(27207),l=r(85642),c=r(88540),d=r(61965),u=r(78290),p=r(67407);class h{constructor(e){this.requestHandler=new p.RequestHandler(e),this.auth=new i.AuthAPI(this.requestHandler),this.account=new n.AccountAPI(this.requestHandler),this.applications=new o.ApplicationsAPI(this.requestHandler),this.assets=new a.AssetsAPI(this.requestHandler),this.consent=new s.ConsentAPI(this.requestHandler),this.preference=new l.PreferenceAPI(this.requestHandler),this.purchase=new c.PurchaseAPI(this.requestHandler),this.segmentation=new d.SegmentationAPI(this.requestHandler),this.subscription=new u.SubscriptionAPI(this.requestHandler)}}t.UPSXClient=h},41661:(e,t)=>{function r(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))void 0!==n&&t.append(r,n);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.queryStringToSearchParams=r,t.urlFrom=function(e){let{host:t,...n}=e;if(!t)throw Error("Host is missing");let o=new URL("https://".concat(t));return Object.assign(o,{...n,hostname:t}),n.query&&(o.search=r(n.query).toString()),o}},45367:(e,t,r)=>{r.d(t,{B:()=>n});let n=(0,r(98540).eU)({timestamp:new Date().toISOString()})},47887:(e,t,r)=>{r.d(t,{PF:()=>l,Vp:()=>c,Yt:()=>i,c2:()=>s});var n=r(98540),o=r(29590),a=r(30649);let i=(0,n.eU)(e=>{var t;return(null==(t=e(a.J))?void 0:t.unit)||o.tE}),s=(0,n.eU)(e=>e(i)===o.tE),l=(0,n.eU)(e=>e(i)===o.cl),c=(0,n.eU)(e=>e(i)===o.Uo)},48774:(e,t,r)=>{r.d(t,{p:()=>a});var n=r(16852);r(77976);var o=r(71232);function a(e){let{className:t,type:r,...a}=e;return(0,n.jsx)("input",{type:r,"data-slot":"input",className:(0,o.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input shadow-xs flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base outline-none transition-[color,box-shadow] file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...a})}},55843:(e,t,r)=>{t.SK=l;let n=r(31157),o=r(41661),a=r(86078);async function i(e){let t=(0,n.getLocationSearchUrlConfig)(e),r=(0,o.urlFrom)(t),i=await fetch(r,{headers:{"Accept-Encoding":"gzip"}});return(0,a.handleFetchResponse)(i)}function s(e){let t=[];if(!e.location||!e.location.city||0===e.location.city.length)return t;let r=e.location.city.length;for(let V=0;V{Object.defineProperty(t,"__esModule",{value:!0})},57758:(e,t,r)=>{r.d(t,{u:()=>n});let n=(0,r(98540).eU)("")},60146:(e,t,r)=>{var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},o=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationError=t.APIError=t.UPSXClient=void 0;let a=r(40685);Object.defineProperty(t,"UPSXClient",{enumerable:!0,get:function(){return a.UPSXClient}});let i=r(79314);Object.defineProperty(t,"APIError",{enumerable:!0,get:function(){return i.APIError}}),Object.defineProperty(t,"AuthenticationError",{enumerable:!0,get:function(){return i.AuthenticationError}}),o(r(76840),t),o(r(84183),t),o(r(86953),t)},60305:(e,t,r)=>{r.d(t,{I:()=>o});var n=r(60942);function o(e){return{displayName:e.location.displayName,adminDistrict:e.location.adminDistrict,geocode:function(e){if(!e||!e.includes(","))return e;let t=e.split(",");if(2!==t.length)return e;let[r,n]=t,o=parseFloat(r||"0").toFixed(2),a=parseFloat(n||"0").toFixed(2);return"".concat(o,",").concat(a)}("".concat(e.location.latitude,",").concat(e.location.longitude)),placeId:e.location.placeId,city:e.location.city,countryCode:e.location.countryCode,adminDistrictCode:e.location.adminDistrictCode||"",presentationName:(0,n.r)(e.location)}}},60942:(e,t,r)=>{r.d(t,{r:()=>n});function n(e){let{displayName:t,adminDistrict:r,adminDistrictCode:n,countryCode:o,country:a,disputedArea:i=!0,localeCountryCode:s="US",separator:l=", "}=e,c=[];return t&&c.push(t),"IL"===s||(n?c.push(n):r&&c.push(r)),o!==s&&!i&&a&&c.push(a),c.join(l)}},61391:(e,t,r)=>{r.d(t,{A:()=>l,_:()=>s});var n=r(16852),o=r(77976),a=r(44893),i=r(71232);let s=(0,o.forwardRef)((e,t)=>{let{src:r,alt:o,shadow:s,rounded:l=!0,className:c,wrapperClassName:d,width:u=320,height:p=180,quality:h,priority:E=!1,loading:I,objectFit:_="contain",fill:m=!1,sizes:A,...f}=e;if(!r)return null;let T=(0,n.jsx)(a.default,{ref:t,src:r,alt:o,width:m?void 0:u,height:m?void 0:p,quality:h,priority:E,loading:I,fill:m,sizes:A,className:(0,i.cn)({"shadow-md":s,"rounded-lg":l,"object-contain":"contain"===_,"object-cover":"cover"===_,"object-fill":"fill"===_,"object-none":"none"===_,"object-scale-down":"scale-down"===_,"h-auto w-full":!m},c),...f});return m?(0,n.jsx)("div",{className:(0,i.cn)("relative h-full w-full",d),children:T}):T});s.displayName="Image";let l=s},61965:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentationAPI=void 0;let n=r(76840);class o{async getEndpointSegmentation(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/segmentation/endpoint"})}async updateEndpointSegmentation(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/segmentation/endpoint",data:e})}async deleteEndpointSegmentation(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/endpoint",data:{keys:e}})}async getEndpointMetrics(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/segmentation/metrics/endpoint"})}async getUserSegmentation(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/segmentation/user"})}async updateUserSegmentation(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/segmentation/user",data:e})}async deleteUserSegmentation(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/user",data:{keys:e}})}async getUserMetrics(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/segmentation/metrics/user"})}async getBulkSegmentation(e,t){let r={};return e&&(r.endpointIDs=e),t&&(r.userID=t),this.requestHandler.request({method:n.HttpMethod.GET,path:"/segmentation/bulk",params:r})}async deleteBulkSegmentation(e,t){let r={};e&&(r.endpointIDs=e),t&&(r.userID=t),await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/bulk",params:r})}async updateBulkSegmentation(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/segmentation/analytics/bulk",data:e})}async updateKeyOnCondition(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/segmentation/analytics/condition",data:e})}async deleteKeyOnCondition(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/analytics/condition",data:e})}async deleteKeyForIds(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/analytics/key",data:e})}async deleteKeyForAll(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/segmentation/analytics/key/all",data:{key:e}})}constructor(e){this.requestHandler=e}}t.SegmentationAPI=o},63290:(e,t,r)=>{r.d(t,{m:()=>n});let n=(0,r(98540).eU)()},64973:(e,t,r)=>{r.d(t,{C:()=>c,Hg:()=>d,SZ:()=>u,Wy:()=>l,kB:()=>s,mj:()=>p});var n=r(80099),o=r(54318);let a="wxu-metrics-session",i="new-metrics-session",s=()=>{let e=(0,n.getCookie)(a);if(!e)return null;let[t="",r="",o=""]=e.split(":"),i=parseInt(r,10);return{sessionId:t,sessionStartTime:i,pageCount:parseInt(o,10)}},l=e=>{let t=(null==e?void 0:e.sessionId)||(0,o.A)(),r=(null==e?void 0:e.sessionStartTime)||new Date().getTime(),i=(null==e?void 0:e.pageCount)||0,s="".concat(t,":").concat(r,":").concat(i);(0,n.setCookie)(a,decodeURIComponent(s),{domain:".weather.com",path:"/",maxAge:1800})},c=()=>{let e=s();e&&l({...e,pageCount:(null==e?void 0:e.pageCount)+1})},d=()=>{localStorage.setItem(i,"true")},u=()=>{localStorage.removeItem(i)},p=()=>localStorage.getItem(i)},65415:(e,t,r)=>{r.d(t,{ExperimentProvider:()=>A,G:()=>f});var n=r(16852),o=r(77976),a=r(63230),i=r(16559),s=r(84935),l=r(4100),c=r(86356),d=r(96208),u=r(84211),p=r(65659),h=r(30289),E=r(37811);let I="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",_="production"!==E.env.VERCEL_TARGET_ENV,m=(0,o.createContext)(null),A=e=>{let{children:t}=e,r=(0,l.md)(s.pX),E=(()=>{let e=(0,d.N)(),t=(0,u.G)();return(0,o.useCallback)(function(r){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return void console.warn("MParticle is not initialized");if(!r)return void console.warn("No exposure data provided to trackEnrolledInExperiment");try{let t={...e,newVariant:r.variant||"",newExperiment:r.experiment_key||"",newExperimentReceivedAt:Date.now()};c.A.logEvent("enrolled-in-experiment",c.A.EventType.Other,t,n),console.debug("MParticle: Event tracked - enrolled-in-experiment for ".concat(r.flag_key||"unknown",":").concat(r.variant))}catch(e){console.error("MParticle: Failed to track event",e)}},[t,e])})(),{user:A}=(0,p.J)(),f=function(e){let t=(0,o.useRef)(null),[r,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(i.A&&!r&&I)try{t.current=a.aj.initialize(I,{debug:_,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,exposureTrackingProvider:{track:t=>{try{console.debug("[Experiment] Raw Exposure:",t),e(t),console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}}}),n(!0),console.debug("Amplitude Experiment SDK initialized")}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}},[r,e]),t.current}(E);return(0,o.useEffect)(()=>{(async()=>{if(f){var e;let t=null==(e=(0,h.getCookie)("ANON_C"))?void 0:e.toString(),n=A.userID||t||r;if(!n)return console.debug("[Experiment] No user identifier available");let o={device_id:r,user_id:n,user_properties:{}};console.debug("[Experiment] Fetching experiments for user:",o),await f.fetch(o)}})()},[f,r,A.userID]),(0,n.jsx)(m.Provider,{value:{client:f,variant:(e,t)=>{if(!f)return t;let r=f.variant(e,t);return console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!f)return Promise.resolve();if(!e){var t;let e=null==(t=(0,h.getCookie)("ANON_C"))?void 0:t.toString(),n=A.userID||e||r;if(n){let e=A.userID?{user_id:n,user_properties:{}}:{device_id:n,user_properties:{}};return f.fetch(e)}}return f.fetch(e)}},children:t})},f=()=>{let e=(0,o.useContext)(m);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}},65437:(e,t,r)=>{r.d(t,{AI:()=>m,EY:()=>d,Hd:()=>I,IA:()=>l,Js:()=>_,dM:()=>s,mT:()=>A,mn:()=>p,pW:()=>f,t9:()=>h,tm:()=>E,wo:()=>c});var n=r(8418),o=r(16559),a=r(80099),i=r(32189);function s(){var e;return!!o.A&&null!=(e=navigator)&&!!e.cookieEnabled}let l=e=>{let t=[];return(null==e?void 0:e.v1)&&t.push(e.v1),(null==e?void 0:e.v2)&&t.push(e.v2),(null==e?void 0:e.v3)&&t.push(e.v3),(0,i.X)(t)};function c(e){var t,r,n;let o=function(e){var t,r;let n=e,o=null==e||null==(t=e.indexOf)?void 0:t.call(e,"?"),a=null==e||null==(r=e.indexOf)?void 0:r.call(e,"#");return o>-1?n=n.substring(0,o):a>-1&&(n=n.substring(0,a)),n}(e);if("/index.html"===(o=null==(t=o)||null==(r=t.replace)?void 0:r.call(t,/\/l\/[^/]+/gi,"/l"))||"/"===o||""===o)o="/";else{let e=(null==o?void 0:o.split("/"))||[],t=e.length-1,r=null!=(n=e[t])?n:"";"news"!==(t>0?e[t-1]:"")&&(r.match(/[A-Z]/)||r.match(/[0-9]/)||r.match(/[@#$%&!*:]/)||""===r)&&e.pop(),o=e.join("/")}return o}let d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/");return(null==t?void 0:t[t.length-1])===""&&t.pop(),t.slice(0,t.length-1).join("/")},u=()=>o.A?Object.fromEntries(new URLSearchParams(window.location.search.replace("+","%2B")).entries()):{},p=()=>{var e;return(null==(e=u())?void 0:e.traffic_source)||null},h=()=>(0,a.getCookie)("twc-partner")||null,E=()=>{let e=u(),t=null,r=!0,n=[];return e.cm_ven&&n.push(e.cm_ven),e.cm_date&&n.push(e.cm_date),e.cm_cat&&n.push(e.cm_cat),e.cm_pla&&n.push(e.cm_pla),e.cm_ite&&n.push(e.cm_ite),n.length>0?t=n.join(":"):(t=(0,a.getCookie)("campaign-values")||null,r=!1),r&&t&&(0,a.setCookie)("campaign-values",t,{domain:".weather.com",path:"/",maxAge:1800}),t},I=()=>{var e;let t=(null==(e=u())?void 0:e.tpcc)||(0,a.getCookie)("tpcc")||null;return t&&(0,a.setCookie)("tpcc",t,{path:"/",domain:".weather.com",maxAge:1800}),t},_=e=>Object.keys(e).every(t=>void 0!==e[t]);function m(e){switch(e){case n.C.premium:return"premium";case n.C.standard:return"standard";case n.C.premiumWithAd:return"premiumWithAd";case n.C.adFree:return"adFree";case n.C.none:default:return"none"}}function A(e){if(!e)return{};let t=e.split("."),r=(Array.isArray(t)&&t.length>=2&&t[1]||"").replace("-","+").replace("_","/");try{return JSON.parse(window.atob(r))||{}}catch(e){return{}}}let f=["SUN","MON","TUE","WED","THU","FRI","SAT"]},65659:(e,t,r)=>{r.d(t,{J:()=>I});var n=r(77976),o=r(4100),a=r(62468),i=r(64784),s=r(60964),l=r(30289),c=r(16552),d=r(30649),u=r(67207),p=r(84935),h=r(8418),E=r(54318);function I(){var e,t;let[r,I]=(0,n.useState)(null),[_,m]=(0,o.fp)(d.U),[A,f]=(0,o.fp)(p.pX),[T,y]=(0,o.fp)(p.lr),{refresh:g}=(0,c.b)(),N=parseInt((null==(e=(0,l.useGetCookie)()("twc-user"))?void 0:e.toString())||h.C.none.toString()),R=parseInt((null==(t=(0,l.getCookie)("twc-user"))?void 0:t.toString())||h.C.none.toString()),v=(0,l.getCookie)("ANON_C"),H=v||A||(0,E.A)();v||(0,l.setCookie)("ANON_C",H,{path:"/",domain:".weather.com",secure:!0}),(!A||A&&v&&A!==v)&&f(H),!_&&T&&m(T);let S=N>h.C.none?"upsx/id":null,D=(0,s.A)(S,()=>u._.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:C=""}=(null==D?void 0:D.data)||{};(0,a.Ay)(!_&&C?"upsx/account":null,()=>u._.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{m(e),y(e)}});let L=async()=>{try{return await u._.auth.logout(),(0,i.j)(e=>"string"==typeof e&&e.startsWith("/upsx"),void 0,{revalidate:!1}),m(null),y(null),(0,l.deleteCookie)("twc-user",{domain:".weather.com"}),g({mpa:!0}),!0}catch(e){return I(e instanceof Error?e:Error("Failed to log out")),!1}};return{error:r,DISCONNECTED_user:{isUserLoggedIn:R>h.C.none,subscriptionTier:R,isUserPremium:R>h.C.standard},user:{userID:C,isUserLoggedIn:N>h.C.none,subscriptionTier:N,isUserPremium:N>h.C.standard},userProfile:_,logout:L}}},65933:(e,t,r)=>{function n(e){let{src:t,width:r,quality:n}=e;if(!t||-1===t.indexOf("w-x.co"))return t;let o=new URL(t);return o.searchParams.set("format","auto"),o.searchParams.set("optimize","medium"),o.searchParams.set("width",r.toString()),n&&o.searchParams.set("quality",n.toString()),o.href}r.r(t),r.d(t,{default:()=>n})},66544:(e,t,r)=>{r.d(t,{$n:()=>p});var n=r(16852),o=r(77976),a=r(97963),i=r(90877),s=r(71232),l=r(1990);let c=(0,o.forwardRef)((e,t)=>{let{title:r,titleId:o,desc:a,descId:i,...s}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":o,"aria-describedby":i,...s,children:[a?(0,n.jsx)("desc",{id:i,children:a}):null,void 0===r?(0,n.jsx)("title",{id:o,children:"Loader Circle"}):r?(0,n.jsx)("title",{id:o,children:r}):null,(0,n.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"})]})}),d=o.forwardRef((e,t)=>(0,n.jsx)(l.h,{ref:t,icon:c,...e}));d.displayName="LoaderCircle";let u=(0,i.F)("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:""}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1}}),p=o.forwardRef((e,t)=>{let{className:r,role:o,type:i,variant:l="default",size:c,asChild:p=!1,disabled:h=!1,loading:E=!1,children:I,style:_,onClick:m,onFocus:A,onMouseEnter:f,onMouseLeave:T,"data-testid":y,"data-slot":g,"data-state":N,"aria-label":R,"aria-controls":v,"aria-expanded":H,"aria-haspopup":S}=e,D=p?a.DX:"button";return(0,n.jsxs)(D,{onClick:m,onFocus:A,onMouseEnter:f,onMouseLeave:T,"data-testid":y,"data-slot":g,"data-state":N,"aria-label":R,"aria-controls":v,"aria-expanded":H,"aria-haspopup":S,role:o,type:i,style:_,className:(0,s.cn)(u({variant:l,size:c,loading:E,disabled:h,className:r}),"flex items-center justify-center"),ref:t,disabled:h||E,children:[E&&(0,n.jsx)(d,{size:"sm",className:"mr-2 animate-spin",color:"default"===l||"destructive"===l?"inverse":"primary"}),I]})});p.displayName="Button"},67207:(e,t,r)=>{r.d(t,{_:()=>n});let n=new(r(60146)).UPSXClient({baseUrl:"https://upsx.weather.com"})},67407:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RequestHandler=void 0;let n=r(79314),o=r(76840);class a{setTokens(e){this.tokens=e}getTokens(){return this.tokens}clearTokens(){this.tokens=null}isAuthenticated(){var e;return!!(null==(e=this.tokens)?void 0:e.accessToken)}async request(e){var t;let{method:r,path:a,params:i,data:s,headers:l={},requiresAuth:c=!1,timeout:d=this.timeout}=e;if(c&&!this.isAuthenticated())throw new n.AuthenticationError("Authentication required");let u="".concat(this.baseUrl).concat(a.startsWith("/")?a:"/".concat(a));if(i&&Object.keys(i).length>0){let e=new URLSearchParams;for(let[t,r]of Object.entries(i))void 0!==r&&e.append(t,String(r));let t=e.toString();t&&(u+="?".concat(t))}let p={...this.defaultHeaders,...l};(null==(t=this.tokens)?void 0:t.accessToken)&&(p.Authorization="Bearer ".concat(this.tokens.accessToken));let h={method:r,headers:p,credentials:"include"};void 0!==s&&(r===o.HttpMethod.POST||r===o.HttpMethod.PUT)&&(h.body=JSON.stringify(s));try{let e=new AbortController,t=setTimeout(()=>e.abort(),d);h.signal=e.signal;let r=await fetch(u,h);if(clearTimeout(t),r.ok||await this.handleErrorResponse(r),204===r.status)return{};let n=r.headers.get("content-type");if(n&&n.includes("application/json"))return await r.json();return await r.text()}catch(e){if(e instanceof n.APIError)throw e;if(e instanceof DOMException&&"AbortError"===e.name)throw new n.APIError("Request timeout",408);throw new n.APIError("Network error: ".concat(e.message),0)}}async handleErrorResponse(e){let t;try{t=await e.json()}catch(r){t={message:e.statusText}}let r=t.message||"Unknown error",o=e.status;switch(o){case 400:throw new n.ValidationError(r,t);case 401:throw this.clearTokens(),new n.AuthenticationError(r);case 404:throw new n.NotFoundError(r);case 429:throw new n.RateLimitError(r);case 500:case 502:case 503:case 504:throw new n.ServerError(r,o);default:throw new n.APIError(r,o,t)}}constructor(e){this.tokens=null,this.baseUrl=e.baseUrl.endsWith("/")?e.baseUrl.slice(0,-1):e.baseUrl,this.timeout=e.timeout||3e4,this.defaultHeaders={"Content-Type":"application/json",Accept:"application/json",...e.headers}}}t.RequestHandler=a},68779:(e,t,r)=>{r.d(t,{i:()=>I,s:()=>_});var n,o=r(4100),a=r(62468),i=r(74871),s=r(84935),l=r(98540);let c=(null==(n=(0,r(30289).getCookie)("twc-location-geocode"))?void 0:n.toString())||null,d=(0,l.eU)(c);var u=r(34891),p=r(15547),h=r(60305),E=r(11182),I=function(e){return e.PREFER_FAVORITES="preferFavorites",e.PREFER_RECENT="preferRecent",e}({});function _(e){var t;let r,{location:n,fallbackOrder:l="preferFavorites"}=e,c=(0,E.useParams)(),I=null==c?void 0:c.locale,_=(0,o.md)(p.G),m=(0,o.md)(i.nU),A=(0,o.md)(s.I6),f=(0,o.md)(d),T=Array.isArray(m)&&m.length>0?null==(t=m[0])?void 0:t.coordinate:null,y=Array.isArray(A)&&A.length>0?A[0]:null,g="preferRecent"===l,N=e=>(0,u.PT)(e,I),{data:R,error:v,isLoading:H}=(0,a.Ay)(!n&&T?["location-data",T]:null,()=>T?N(T):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:S,error:D,isLoading:C}=(0,a.Ay)(!n&&!T&&y&&g?["recent-location-data",y]:null,()=>y?(0,u.$M)(y,I):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:L,error:w,isLoading:P}=(0,a.Ay)(n||T||"preferFavorites"!==l&&(!g||y)||!f?null:["geoip-location-data",f],()=>f?N(f):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return n?r=n:_?r=_:R&&T?r=(0,h.I)(R):v&&T?(console.error("Error fetching favorite location data:",v),r={displayName:"Favorite Location",adminDistrict:"",geocode:T,placeId:"unknown"}):g&&S&&y?r=(0,h.I)(S):g&&D&&y?(console.error("Error fetching recent location data:",D),r={displayName:"Recent Location",adminDistrict:"",geocode:"",placeId:y}):L&&f?r=(0,h.I)(L):w&&f&&(console.error("Error fetching geoip location data:",w),r={displayName:"Unknown Location",adminDistrict:"",geocode:f,placeId:"unknown",city:"",countryCode:"",adminDistrictCode:""}),{effectiveLocation:r,isLocationLoading:H||!!g&&C||P,locationError:v||(g?D:null)||w}}},69770:(e,t,r)=>{t.z=i;let n=r(20131),o=r(41661),a=r(86078);async function i(e){let t=(0,n.getCurrentObservationsUrlConfig)(e),r=(0,o.urlFrom)(t),i=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return(0,a.handleFetchResponse)(i)}},71232:(e,t,r)=>{r.d(t,{cn:()=>a});var n=r(32677);let o=(0,r(80645).zu)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});function a(){for(var e=arguments.length,t=Array(e),r=0;r{r.d(t,{AM:()=>l,Rp:()=>d,Wv:()=>c,hl:()=>u});var n=r(16852),o=r(77976),a=r(55397),i=r(71232);let s=o.createContext({trigger:"click",onMouseEnter:()=>{},onMouseLeave:()=>{}});function l(e){let{trigger:t="click",openDelay:r=0,closeDelay:i=300,open:l,onOpenChange:c,...d}=e,[u,p]=o.useState(l||!1),h=o.useRef(null),E=o.useRef(null);o.useEffect(()=>{void 0!==l&&p(l)},[l]);let I=o.useCallback(e=>{p(e),null==c||c(e)},[c]);o.useEffect(()=>()=>{h.current&&clearTimeout(h.current),E.current&&clearTimeout(E.current)},[]);let _=o.useCallback(()=>{"hover"===t&&(E.current&&(clearTimeout(E.current),E.current=null),u||(h.current=setTimeout(()=>{I(!0)},r)))},[t,u,r,I]),m=o.useCallback(()=>{"hover"===t&&(h.current&&(clearTimeout(h.current),h.current=null),E.current=setTimeout(()=>{I(!1)},i))},[t,i,I]),A=o.useMemo(()=>({trigger:t,onMouseEnter:_,onMouseLeave:m}),[t,_,m]);return(0,n.jsx)(s.Provider,{value:A,children:(0,n.jsx)(a.bL,{"data-slot":"popover",open:u,onOpenChange:I,...d})})}function c(e){let{triggerClass:t,...r}=e,{trigger:i,onMouseEnter:l,onMouseLeave:c}=o.useContext(s);return(0,n.jsx)(a.l9,{"data-slot":"popover-trigger",className:t,..."hover"===i?{onMouseEnter:l,onMouseLeave:c}:{},...r})}function d(e){let{...t}=e;return(0,n.jsx)(a.i3,{"data-slot":"popover-arrow",...t})}function u(e){let{className:t,align:r="center",sideOffset:l=4,children:c,showArrow:d=!0,...u}=e,{trigger:p,onMouseEnter:h,onMouseLeave:E}=o.useContext(s);return(0,n.jsx)(a.ZL,{children:(0,n.jsxs)(a.UC,{"data-slot":"popover-content",align:r,sideOffset:l,className:(0,i.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin) outline-hidden z-50 w-72 rounded-md border-none p-4 shadow-[0_2px_12px_0_#0003]",t),..."hover"===p?{onMouseEnter:h,onMouseLeave:E}:{},...u,children:[d&&(0,n.jsx)(a.i3,{className:"border-none fill-white",height:12,width:20}),c]})})}},74871:(e,t,r)=>{r.d(t,{nU:()=>a});var n=r(98540),o=r(30649);let a=(0,r(64133).I)(o.J,e=>e.prop("locations")||[]);(0,n.eU)(e=>{var t;return(null==(t=e(o.J))?void 0:t.locations)||[]}),(0,n.eU)(e=>{let t=e(a);return(null==t?void 0:t.find(e=>0===e.position))||(null==t?void 0:t[0])||null}),(0,n.eU)(e=>{var t;return(null==(t=e(a))?void 0:t.length)||!1})},76840:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethod=void 0,function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e.PATCH="PATCH"}(r||(t.HttpMethod=r={}))},77679:(e,t,r)=>{var n=r(29236).hp;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthAPI=void 0;let o=r(79314),a=r(76840);class i{async login(e){try{let t=await this.requestHandler.request({method:a.HttpMethod.POST,path:"/login",data:e,requiresAuth:!1}),r={accessToken:"access_token_from_cookies",idToken:"id_token_from_cookies",refreshToken:"refresh_token_from_cookies",expiresAt:Date.now()+36e5};return this.requestHandler.setTokens(r),t}catch(e){if(e instanceof o.AuthenticationError)throw e;throw new o.AuthenticationError("Login failed: ".concat(e.message))}}async logout(){try{await this.requestHandler.request({method:a.HttpMethod.POST,path:"/logout"})}finally{this.requestHandler.clearTokens()}}async getMachineToken(e){try{let t=n.from("".concat(e.clientId,":").concat(e.clientSecret)).toString("base64"),r=await this.requestHandler.request({method:a.HttpMethod.POST,path:"/oauth/token",requiresAuth:!1,headers:{Authorization:"Basic ".concat(t)}}),o={accessToken:r.access_token,expiresAt:Date.now()+1e3*r.expires_in};return this.requestHandler.setTokens(o),r}catch(e){throw new o.AuthenticationError("Machine authentication failed: ".concat(e.message))}}async refreshToken(){try{let e=await this.requestHandler.request({method:a.HttpMethod.GET,path:"/refresh",requiresAuth:!1}),t={accessToken:"new_access_token_from_cookies",idToken:"new_id_token_from_cookies",refreshToken:"new_refresh_token_from_cookies",expiresAt:Date.now()+36e5};return this.requestHandler.setTokens(t),e}catch(e){throw this.requestHandler.clearTokens(),new o.AuthenticationError("Token refresh failed: ".concat(e.message))}}async register(e){try{return await this.requestHandler.request({method:a.HttpMethod.POST,path:"/register",data:e,requiresAuth:!1})}catch(e){throw new o.AuthenticationError("Registration failed: ".concat(e.message))}}async verifyEmail(e,t){try{return await this.requestHandler.request({method:a.HttpMethod.PUT,path:"/register/verify/email",data:{email:e,otp:t},requiresAuth:!1})}catch(e){throw new o.AuthenticationError("Email verification failed: ".concat(e.message))}}constructor(e){this.requestHandler=e}}t.AuthAPI=i},78290:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionAPI=void 0;let n=r(76840);class o{async updateActivity(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/activity",data:e})}async updateAddress(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/address",data:e})}async createMultiple(e){return this.requestHandler.request({method:n.HttpMethod.PUT,path:"/subscription/create",data:e})}async create(e){return this.requestHandler.request({method:n.HttpMethod.POST,path:"/subscription/create",data:e})}async delete(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/subscription/delete",params:{subids:e}})}async updateEvent(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/event",data:e})}async find(e){let t={};return e.endpointId&&(t.endpointid=e.endpointId),e.address&&(t.address=e.address),e.userId&&(t.userid=e.userId),this.requestHandler.request({method:n.HttpMethod.GET,path:"/subscription/find",params:t})}async findAll(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/subscription/findall",params:{endpoints:e}})}async updateLocation(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/location",data:e})}async update(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/update",data:e})}async updateAll(e){await this.requestHandler.request({method:n.HttpMethod.PATCH,path:"/subscription/updateall",data:e})}async deleteAll(e){let t={};e.endpoints&&(t.endpoints=e.endpoints),e.userId&&(t.userid=e.userId),await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/subscriptions",params:t})}constructor(e){this.requestHandler=e}}t.SubscriptionAPI=o},78845:(e,t)=>{var r,n,o,a,i,s,l,c,d,u,p,h,E,I,_,m;Object.defineProperty(t,"__esModule",{value:!0}),t.LocationType=t.Role=t.PermissionType=t.ActivityCondition=t.WigetPropType=t.WigetPropPeriod=t.WigetPropCondition=t.WidgetType=t.StrikeTypeCode=t.GeometryType=t.InterruptionLevel=t.Weekday=t.Platform=t.Unit=t.ActivityType=t.AlertType=void 0,function(e){e[e.News=1]="News",e[e.AirQuality=2]="AirQuality",e[e.Avalanche=3]="Avalanche",e[e.Coastal=4]="Coastal",e[e.Miscellaneous=5]="Miscellaneous",e[e.RainFlood=6]="RainFlood",e[e.Temperature=7]="Temperature",e[e.Thunderstorm=8]="Thunderstorm",e[e.Visibility=9]="Visibility",e[e.Wind=10]="Wind",e[e.Lightning=11]="Lightning",e[e.Precipitation=12]="Precipitation",e[e.ExtremeCold=13]="ExtremeCold",e[e.ExtremeHeat=14]="ExtremeHeat",e[e.WinterPrecipitation=15]="WinterPrecipitation",e[e.HeavySnow=16]="HeavySnow",e[e.DenseFog=17]="DenseFog",e[e.HeavyRain=18]="HeavyRain",e[e.HighWind=19]="HighWind",e[e.Flux=20]="Flux",e[e.IcyForecast=21]="IcyForecast",e[e.Pollen=22]="Pollen",e[e.Flu=23]="Flu",e[e.DailyPrecip=24]="DailyPrecip",e[e.WebEmail=25]="WebEmail",e[e.DailyDigest=26]="DailyDigest",e[e.HeavyThunderstorm=27]="HeavyThunderstorm",e[e.Custom=28]="Custom",e[e.Activity=29]="Activity"}(r||(t.AlertType=r={})),function(e){e[e.Running=1]="Running",e[e.Golfing=2]="Golfing",e[e.Hiking=3]="Hiking",e[e.Gardening=4]="Gardening",e[e.Tennis=5]="Tennis",e[e.Cycling=6]="Cycling"}(n||(t.ActivityType=n={})),function(e){e[e.English=1]="English",e[e.Metric=2]="Metric",e[e.Hybrid=3]="Hybrid"}(o||(t.Unit=o={})),function(e){e[e.Apple=1]="Apple",e[e.Android=2]="Android",e[e.Http=3]="Http",e[e.Web=4]="Web",e[e.Email=5]="Email",e[e.Sms=6]="Sms"}(a||(t.Platform=a={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(i||(t.Weekday=i={})),function(e){e[e.Passive=0]="Passive",e[e.Active=1]="Active",e[e.TimeSensitive=2]="TimeSensitive",e[e.Critical=3]="Critical"}(s||(t.InterruptionLevel=s={})),function(e){e.GeometryPoint="Point",e.GeometryMultiPoint="MultiPoint",e.GeometryPolygon="Polygon",e.GeometryMultiPolygon="MultiPolygon",e.GeometryLineString="LineString",e.GeometryMultiLineString="MultiLineString",e.GeometryCollection="GeometryCollection",e.Feature="Feature",e.FeatureCollection="FeatureCollection"}(l||(t.GeometryType=l={})),function(e){e[e.CloudToGround=0]="CloudToGround",e[e.CloudToCloud=1]="CloudToCloud"}(c||(t.StrikeTypeCode=c={})),function(e){e.WXLocation="wxlocation",e.WXComparison="wxcomparison"}(d||(t.WidgetType=d={})),function(e){e.Humidity="humidity",e.Wind="wind",e.Pressure="pressure",e.Visibility="visibility",e.DewPoint="dewPoint",e.UV="uv",e.AirQuality="airQuality",e.Temperature="temperature",e.TemperatureFeelsLike="temperatureFeelsLike",e.Precip="precip"}(u||(t.WigetPropCondition=u={})),function(e){e.Daily="daily",e.Hourly="hourly"}(p||(t.WigetPropPeriod=p={})),function(e){e.Forecast="forecast",e.Historical="historical"}(h||(t.WigetPropType=h={})),function(e){e[e.Poor=1]="Poor",e[e.Fair=2]="Fair",e[e.Good=3]="Good"}(E||(t.ActivityCondition=E={})),function(e){e[e.EndpointLookup=1]="EndpointLookup",e[e.LocationLookup=2]="LocationLookup",e[e.UserLookup=3]="UserLookup",e[e.NotificationMetric=4]="NotificationMetric",e[e.ClickMetric=5]="ClickMetric",e[e.AlertMap=6]="AlertMap",e[e.AlertNews=7]="AlertNews",e[e.AlertSegment=8]="AlertSegment",e[e.NotificationApps=9]="NotificationApps",e[e.NotificationTemplates=10]="NotificationTemplates",e[e.NotificationHeadlines=11]="NotificationHeadlines",e[e.NotificationDateFormats=12]="NotificationDateFormats",e[e.NotificationTranslations=13]="NotificationTranslations",e[e.Permissions=14]="Permissions",e[e.AgentActivity=15]="AgentActivity",e[e.DeleteSubscriptions=16]="DeleteSubscriptions",e[e.AlertSent=17]="AlertSent",e[e.Culture=18]="Culture",e[e.SendNotification=19]="SendNotification",e[e.Headlines=20]="Headlines",e[e.Templates=21]="Templates",e[e.UpdateAccountLockStatus=22]="UpdateAccountLockStatus"}(I||(t.PermissionType=I={})),function(e){e[e.Admin=1]="Admin",e[e.User=2]="User",e[e.UnAuthorized=3]="UnAuthorized",e[e.AppAgent=4]="AppAgent"}(_||(t.Role=_={})),function(e){e[e.Globe=0]="Globe",e[e.PollenID=1]="PollenID",e[e.TideID=2]="TideID",e[e.ZoneID=3]="ZoneID",e[e.PostalKey=4]="PostalKey",e[e.CountyID=5]="CountyID",e[e.CityID=6]="CityID",e[e.AdminDistrict=7]="AdminDistrict",e[e.DmaID=8]="DmaID",e[e.TimeZone=9]="TimeZone",e[e.CountryCode=10]="CountryCode"}(m||(t.LocationType=m={}))},79314:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ServerError=t.RateLimitError=t.ValidationError=t.NotFoundError=t.UnauthorizedError=t.AuthenticationError=t.APIError=t.UPSXError=void 0;class r extends Error{constructor(e){super(e),this.name="UPSXError",Object.setPrototypeOf(this,r.prototype)}}t.UPSXError=r;class n extends r{constructor(e,t,r){super(e),this.name="APIError",this.code=t,this.data=r,Object.setPrototypeOf(this,n.prototype)}}t.APIError=n;class o extends r{constructor(e){super(e),this.name="AuthenticationError",Object.setPrototypeOf(this,o.prototype)}}t.AuthenticationError=o;class a extends o{constructor(e="Authentication required"){super(e),this.name="UnauthorizedError",Object.setPrototypeOf(this,a.prototype)}}t.UnauthorizedError=a;class i extends n{constructor(e="Resource not found"){super(e,404),this.name="NotFoundError",Object.setPrototypeOf(this,i.prototype)}}t.NotFoundError=i;class s extends n{constructor(e="Invalid request",t){super(e,400,t),this.name="ValidationError",Object.setPrototypeOf(this,s.prototype)}}t.ValidationError=s;class l extends n{constructor(e="Rate limit exceeded"){super(e,429),this.name="RateLimitError",Object.setPrototypeOf(this,l.prototype)}}t.RateLimitError=l;class c extends n{constructor(e="Server error",t=500){super(e,t),this.name="ServerError",Object.setPrototypeOf(this,c.prototype)}}t.ServerError=c},84065:(e,t,r)=>{r.d(t,{K:()=>i});var n=r(4100),o=r(77976),a=r(45367);function i(){let[e,t]=(0,n.fp)(a.B),r=(0,o.useCallback)((e,r)=>{t(t=>{let n=(null==t?void 0:t[e])||{},o="object"==typeof r&&null!==r&&"object"==typeof n?{...n,...r}:r;return{...t,[e]:o}})},[t]),i=(0,o.useCallback)((e,r)=>{t(t=>{let n=t||{timestamp:new Date().toISOString()},o=n.components||{};if(null===r){let t={...o};return delete t[e],{...n,components:t}}return{...n,components:{...o,[e]:r}}})},[t]),s=(0,o.useCallback)(e=>{r("page",e)},[r]),l=(0,o.useCallback)(e=>{r("route",e)},[r]),c=(0,o.useCallback)(e=>{Object.entries(e).forEach(e=>{let[t,n]=e;n&&r(t,n)})},[r]);return{debugData:e,updateSection:r,updateComponentData:i,setPageData:s,clearAllDebugData:(0,o.useCallback)(()=>{t({timestamp:new Date().toISOString()})},[t]),updateRouteInfo:l,updatePageDebug:c}}},84183:(e,t,r)=>{var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},o=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(19644),t),o(r(10130),t),o(r(29336),t),o(r(7253),t),o(r(78845),t),o(r(56996),t),o(r(10078),t),o(r(4095),t),o(r(86708),t)},84211:(e,t,r)=>{r.d(t,{G:()=>i});var n=r(77976),o=r(86356);let a=e=>(o.A.ready(e),()=>{}),i=()=>(0,n.useSyncExternalStore)(a,()=>!!o.A.isInitialized(),()=>!1)},84935:(e,t,r)=>{r.d(t,{I6:()=>l,P9:()=>s,YA:()=>c,lr:()=>u,pX:()=>i});var n=r(64133),o=r(53994);let a=(0,o.tG)("wxu-web/keyval:user",{},void 0,{getOnInit:!0}),i=(0,n.I)(a,e=>e.prop("anonymousId")),s=(0,n.I)(a,e=>e.prop("userHasLoggedInBefore")||!1),l=(0,n.I)(a,e=>e.prop("recentLocations")||[]),c=(0,n.I)(a,e=>e.prop("userPreference")||{}),d=(0,o.tG)("wxu-web/keyval:user-account",{},void 0,{getOnInit:!0}),u=(0,n.I)(d,e=>e.prop("userAccountResponse")||null)},85642:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PreferenceAPI=void 0;let n=r(76840);class o{async getPreference(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/preference"})}async updatePreference(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/preference",data:e})}async createPreference(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/preference",data:e})}async getWUPreference(){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/preference/wu"})}async updateWUPreference(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/preference/wu",data:e})}async createWUPreference(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/preference/wu",data:e})}async getUserPreference(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/preference/".concat(e)})}async deleteUserPreference(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/preference/".concat(e)})}async createUserWUPreference(e,t){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/preference/wu/".concat(e),data:t})}constructor(e){this.requestHandler=e}}t.PreferenceAPI=o},86078:(e,t)=>{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 ".concat(e.status,")"));throw Error("Unhandled error (status ".concat(e.status,")"))}try{if(204===e.status)return null;return await e.json()}catch(e){throw Error("Invalid JSON response: ".concat(e.message))}}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFetchResponse=r},86392:(e,t,r)=>{r.d(t,{z:()=>o});var n=r(53286);let o=()=>!(0,n.Ub)({query:"(min-width: 768px)"})},86708:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},86953:(e,t,r)=>{var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},o=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(12266),t),o(r(37628),t),o(r(4846),t),o(r(27207),t),o(r(85642),t),o(r(88540),t),o(r(61965),t),o(r(78290),t)},88540:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PurchaseAPI=void 0;let n=r(76840);class o{async getPurchases(e){let t={};return e&&(t.platform=e),this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/",params:t})}async createPurchase(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/purchase/app/user",data:e})}async getPurchaseRecord(e,t,r){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/record",params:{platform:e,vendor:t,product:r}})}async getPurchaseToken(e){let t={};return e&&(t.platform=e),this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/token",params:t})}async updatePurchase(e){await this.requestHandler.request({method:n.HttpMethod.PUT,path:"/purchase",data:e})}async createPurchaseTransaction(e){await this.requestHandler.request({method:n.HttpMethod.POST,path:"/purchase",data:e})}async getUserPurchases(e){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/".concat(e)})}async deleteUserPurchases(e){await this.requestHandler.request({method:n.HttpMethod.DELETE,path:"/purchase/".concat(e)})}async getUserPurchaseSnapshot(e,t){let r={};return t&&(r.platform=t),this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/".concat(e,"/getSnapshot"),params:r})}async getUserPurchaseRecord(e,t,r,o){return this.requestHandler.request({method:n.HttpMethod.GET,path:"/purchase/".concat(e,"/record"),params:{platform:t,vendor:r,product:o}})}constructor(e){this.requestHandler=e}}t.PurchaseAPI=o},96208:(e,t,r)=>{r.d(t,{N:()=>E});var n=r(4100),o=r(64973),a=r(65437),i=r(63290),s=r(77976),l=r(6977),c=r(57758),d=r(80099),u=r(11182),p=r(16559),h=r(68779);let E=()=>{var e,t,r,E,I,_,m,A,f,T,y;let g=(0,a.tm)(),N=(0,a.Hd)(),R=(0,a.t9)(),v=(0,a.dM)(),H=(0,d.getCookie)("twc-location-country"),S=(0,d.getCookie)("twc-location-region"),D=(0,o.kB)(),C=(null==D?void 0:D.pageCount)?(null==D?void 0:D.pageCount)+1:1,L=(null==D?void 0:D.sessionId)||"",w=(null==D?void 0:D.sessionStartTime)||0,P=(0,n.md)(i.m)||"",O=(0,n.md)(l.X),M=(0,n.md)(c.u),b=(0,u.usePathname)(),G=["article","video"].includes(P)?(0,a.EY)(b):(0,a.wo)(b),x=(0,a.mn)(),q="undefined"!=typeof document?document.referrer:null,U=(0,h.s)({}),W=null==U||null==(e=U.effectiveLocation)?void 0:e.displayName,k=null==U||null==(t=U.effectiveLocation)?void 0:t.adminDistrict,F=null==U||null==(r=U.effectiveLocation)?void 0:r.adminDistrictCode,Y=new Date,j=Y.getHours(),Z=Y.getDay(),z=a.pW[Z]||null,V=(0,d.getCookie)("twc-privacy"),B=p.A&&null!=(m=null==(E=window.DprSdk)?void 0:E.getCcpaSaleOptInString())?m:"",X=p.A&&null!=(A=null==(I=window.DprSdk)?void 0:I.getGdprConsentOptInsString())?A:"",K=!!p.A&&null!=(f=null==(_=window.navigator)?void 0:_.globalPrivacyControl)&&f,$=null!=(T=null==X?void 0:X.includes("functional-technology"))&&T,J=null!=(y=null==X?void 0:X.includes("geographically-relevant-advertising"))&&y;return(0,s.useMemo)(()=>({campaign:g,tpcc:N,cookiesEnabled:v,physicalCountry:H,physicalState:S,pageId:P,partner:R,locale:O,deviceClass:M,url:G,linkReferral:x,referrer:q,pageCount:C,sessionId:L,sessionStartTime:w,schemaVersion:"nextgen",hourOfDay:j,dayOfWeek:z,wlocCity:W,wlocCountry:k,wlocState:F,privProducts:B,priv:X,gpcSignalOptOut:K,functionalTechnologies:$,geographicallyRelevantAds:J,regime:V,appVersion:"e38a11b8acae1a197cfe37aac90a792917f8560b"}),[g,N,v,H,S,P,R,O,G,x,q,C,L,w,j,z,W,k,F,X,B,K,$,J,V])}},98830:(e,t,r)=>{r.d(t,{A:()=>i,d:()=>a});var n=r(77976),o=r(51359);function a(e,t){let[r,a]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let r=(0,o.s)(e=>{a(e)},t);return r(e),()=>{r.cancel()}},[e,t]),r}let i=a}}]);