(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,792461,e=>{"use strict";var t=e.i(592121);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},393864,499167,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Facebook"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M8 0a8 8 0 0 0-1.932 15.765v-5.32h-1.65V8h1.65V6.947c0-2.723 1.232-3.985 3.905-3.985.507 0 1.382.1 1.74.198v2.216c-.19-.02-.518-.03-.925-.03-1.312 0-1.818.498-1.818 1.79V8h2.613l-.45 2.445H8.97v5.496A8 8 0 0 0 8 0"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Facebook",e.s(["Facebook",0,a],393864);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Twitter"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.217 1.27h2.249L9.552 6.884l5.78 7.642h-4.525L7.262 9.892l-4.056 4.635H.956L6.21 8.52.666 1.27h4.64l3.205 4.236zm-.79 11.91h1.247L4.63 2.546H3.292z"})]})),s=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:o,...e}));s.displayName="Twitter",e.s(["Twitter",0,s],499167)},859827,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Plus",e.s(["Plus",0,a])},993269,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Minus",e.s(["Minus",0,a])},385277,e=>{"use strict";var t=e.i(592121),r=e.i(792461),i=e.i(333350);e.s(["useClientContainerSize",0,e=>{let n=(0,t.useRef)(null),[a,o]=(0,t.useState)(i.default?e(window.innerWidth,window.innerHeight):null),s=(0,t.useRef)(!1),l=(0,r.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=n.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:i,bottom:n}=t.contentRect,a=e+r,I=i+n,d=l.current(a,I);s.current=!0,o(d)}})});return t.observe(e),()=>{t.disconnect()}},[n,l]),[a,n,s.current]}])},101346,e=>{"use strict";e.i(512134),e.s([])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",0,t])},498076,e=>{"use strict";var t=e.i(546446),r=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(r.deviceClassAtom)}])},985542,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.searchLocations=o,r.transformLocationSearch=s,r.getLocationsByQuery=l,r.getLocationsByQueryAndType=I;let i=e.r(630585),n=e.r(678651),a=e.r(414655);async function o(e){let t=(0,i.getLocationSearchUrlConfig)(e),r=(0,n.urlFrom)(t),o=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(o)}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 i=0;i{"use strict";var t=e.i(592121),r=e.i(147732);function i(e,i){let[n,a]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{a(e)},i);return t(e),()=>{t.cancel()}},[e,i]),n}e.s(["default",0,i,"useDebounce",0,i])},336726,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 10.529a.667.667 0 0 1-.942 0L3.35 6.35a.495.495 0 1 1 .7-.7L8 9.6l3.95-3.95a.495.495 0 1 1 .7.7z"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="ChevronDown",e.s(["ChevronDown",0,a])},925209,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}),(0,t.jsx)("path",{d:"m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"})]})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="Location",e.s(["Location",0,a])},724475,(e,t,r)=>{"use strict";r.match=function(e,t){return l(e).some(function(e){var r=e.inverse,i="all"===e.type||t.type===e.type;if(i&&r||!(i||r))return!1;var n=e.expressions.every(function(e){var r=e.feature,i=e.modifier,n=e.value,a=t[r];if(!a)return!1;switch(r){case"orientation":case"scan":return a.toLowerCase()===n.toLowerCase();case"width":case"height":case"device-width":case"device-height":n=_(n),a=_(a);break;case"resolution":n=d(n),a=d(a);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":n=I(n),a=I(a);break;case"grid":case"color":case"color-index":case"monochrome":n=parseInt(n,10)||1,a=parseInt(a,10)||0}switch(i){case"min":return a>=n;case"max":return a{"use strict";var i=e.r(724475).match,n="u">typeof window?window.matchMedia:null;function a(e,t,r){var a,o=this;function s(e){o.matches=e.matches,o.media=e.media}n&&!r&&(a=n.call(window,e)),a?(this.matches=a.matches,this.media=a.media,a.addListener(s)):(this.matches=i(e,t),this.media=e),this.addListener=function(e){a&&a.addListener(e)},this.removeListener=function(e){a&&a.removeListener(e)},this.dispose=function(){a&&a.removeListener(s)}}t.exports=function(e,t,r){return new a(e,t,r)}},35305,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,r)=>{"use strict";var i=e.r(35305);function n(){}function a(){}a.resetWarningCache=n,t.exports=function(){function e(e,t,r,n,a,o){if(o!==i){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},304153,(e,t,r)=>{t.exports=e.r(561227)()},909232,e=>{"use strict";var t=e.i(592121),r=e.i(342716),i=/[A-Z]/g,n=/^ms-/,a={};function o(e){return"-"+e.toLowerCase()}let s=function(e){if(a.hasOwnProperty(e))return a[e];var t=e.replace(i,o);return a[e]=n.test(t)?"-"+t:t};var l=e.i(304153);let I=l.default.oneOfType([l.default.string,l.default.number]),d={all:l.default.bool,grid:l.default.bool,aural:l.default.bool,braille:l.default.bool,handheld:l.default.bool,print:l.default.bool,projection:l.default.bool,screen:l.default.bool,tty:l.default.bool,tv:l.default.bool,embossed:l.default.bool},{type:_,...c}={orientation:l.default.oneOf(["portrait","landscape"]),scan:l.default.oneOf(["progressive","interlace"]),aspectRatio:l.default.string,deviceAspectRatio:l.default.string,height:I,deviceHeight:I,width:I,deviceWidth:I,color:l.default.bool,colorIndex:l.default.bool,monochrome:l.default.bool,resolution:I,type:Object.keys(d)},E={minAspectRatio:l.default.string,maxAspectRatio:l.default.string,minDeviceAspectRatio:l.default.string,maxDeviceAspectRatio:l.default.string,minHeight:I,maxHeight:I,minDeviceHeight:I,maxDeviceHeight:I,minWidth:I,maxWidth:I,minDeviceWidth:I,maxDeviceWidth:I,minColor:l.default.number,maxColor:l.default.number,minColorIndex:l.default.number,maxColorIndex:l.default.number,minMonochrome:l.default.number,maxMonochrome:l.default.number,minResolution:I,maxResolution:I,...c};var N={...d,...E};let u=(0,t.createContext)(void 0),R=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[s(r)]=e[r],t),{})},A=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current};e.s(["useClientMobileMedia",0,()=>!(e=>{let i=(e=>{let r=(0,t.useContext)(u),i=()=>R(e)||R(r),[n,a]=(0,t.useState)(i);return(0,t.useEffect)(()=>{let e=i();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),i=Object.keys(t),n=r.length;if(i.length!==n)return!1;for(let i=0;i{let r=()=>{let t;return e.query||(t=[],Object.keys(N).forEach(r=>{let i=e[r];null!=i&&t.push(((e,t)=>{let r=s(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,i))}),t.join(" and "))},[i,n]=(0,t.useState)(r);return(0,t.useEffect)(()=>{let e=r();i!==e&&n(e)},[e]),i})(e);if(!n)throw Error("Invalid or missing MediaQuery!");let a=((e,i)=>{let n=()=>(0,r.default)(e,i||{},!!i),[a,o]=(0,t.useState)(n),s=A();return(0,t.useEffect)(()=>{if(s){let e=n();return o(e),()=>{e&&e.dispose()}}},[e,i]),a})(n,i),o=(e=>{let[r,i]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{i(e.matches)};return e.addListener(t),i(e.matches),()=>{e.removeListener(t)}},[e]),r})(a);return A(),(0,t.useEffect)(()=>{},[o]),(0,t.useEffect)(()=>()=>{a&&a.dispose()},[]),o})({query:"(min-width: 768px)"})],909232)},935331,e=>{"use strict";var t=e.i(699173),r=e.i(632137);e.s(["Input",0,function({className:e,type:i,...n}){return(0,t.jsx)("input",{type:i,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none 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",e),...n})}])},526456,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(747961);let n=(0,r.forwardRef)(({title:e,titleId:r,desc:i,descId:n,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":n,...a,children:[i?(0,t.jsx)("desc",{id:n,children:i}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Current Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M2 6.491a.5.5 0 0 0 .315.473l4.8 1.92 1.92 4.801A.5.5 0 0 0 9.5 14h.008a.5.5 0 0 0 .462-.329l4-11a.5.5 0 0 0-.64-.64l-11 4A.5.5 0 0 0 2 6.49"})]})),a=r.default.forwardRef((e,r)=>(0,t.jsx)(i.BaseIcon,{ref:r,icon:n,...e}));a.displayName="CurrentLocationFilled",e.s(["CurrentLocationFilled",0,a])},180193,e=>{"use strict";var t=e.i(699173),r=e.i(592121),i=e.i(617874);let n=(0,r.memo)(({className:e,unitsClassName:r,units:n,value:a,degreeSymbolClass:o,unitOnly:s})=>{let l=null!=a,I=n?(0,i.unitsSystemByCode)(n):null,d=I?.temp,_=Number.isFinite(a)&&Math.round(a);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:l||!l&&s?(0,t.jsxs)(t.Fragment,{children:[l&&_,(0,t.jsx)("span",{className:o,children:"°"}),d&&(0,t.jsx)("span",{className:r,children:d})]}):"--"})});e.s(["Temperature",0,n])},979777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,units:t,language:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,units:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:i,language:n}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:i,language:n,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var i,n,a,o,s,l,I,d,_,c,E,N,u,R,A,T,f,S,L,C;Object.defineProperty(r,"__esModule",{value:!0}),r.ICON_CODE_MAP=r.ICON_CODE_EXTENDED=r.IconCodeExtended=r.IconCode=r.CloudCoverPhrase=r.PressureTendencyCode=r.UVDescription=r.WindDirectionCardinal=r.DayOrNight=r.HourlyForecastDuration=r.ForecastDuration=r.Units=void 0,(E=i||(r.Units=i={})).IMPERIAL="e",E.METRIC="m",E.HYBRID="h",(N=n||(r.ForecastDuration=n={})).THREE_DAY="3day",N.FIVE_DAY="5day",N.SEVEN_DAY="7day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(u=a||(r.HourlyForecastDuration=a={})).SIX_HOUR="6hour",u.TWELVE_HOUR="12hour",u.ONE_DAY="1day",u.TWO_DAY="2day",u.THREE_DAY="3day",u.TEN_DAY="10day",u.FIFTEEN_DAY="15day",(R=o||(r.DayOrNight=o={})).DAY="D",R.NIGHT="N",R.MISSING="X",(A=s||(r.WindDirectionCardinal=s={})).NORTH="N",A.NORTH_NORTHEAST="NNE",A.NORTHEAST="NE",A.EAST_NORTHEAST="ENE",A.EAST="E",A.EAST_SOUTHEAST="ESE",A.SOUTHEAST="SE",A.SOUTH_SOUTHEAST="SSE",A.SOUTH="S",A.SOUTH_SOUTHWEST="SSW",A.SOUTHWEST="SW",A.WEST_SOUTHWEST="WSW",A.WEST="W",A.WEST_NORTHWEST="WNW",A.NORTHWEST="NW",A.NORTH_NORTHWEST="NNW",A.CALM="CALM",(T=l||(r.UVDescription=l={})).NOT_AVAILABLE="-2",T.NO_REPORT="-1",T.LOW="Low",T.MODERATE="Moderate",T.HIGH="High",T.VERY_HIGH="Very High",T.EXTREME="Extreme",(f=I||(r.PressureTendencyCode=I={}))[f.STEADY=0]="STEADY",f[f.RISING=1]="RISING",f[f.FALLING=2]="FALLING",f[f.RAPIDLY_RISING=3]="RAPIDLY_RISING",f[f.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(S=d||(r.CloudCoverPhrase=d={})).CLEAR="Clear",S.PARTLY_CLOUDY="Partly Cloudy",S.MOSTLY_CLOUDY="Mostly Cloudy",S.CLOUDY="Cloudy",(L=_||(r.IconCode=_={}))[L.TORNADO=0]="TORNADO",L[L.TROPICAL_STORM=1]="TROPICAL_STORM",L[L.HURRICANE=2]="HURRICANE",L[L.STRONG_STORMS=3]="STRONG_STORMS",L[L.THUNDERSTORMS=4]="THUNDERSTORMS",L[L.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",L[L.RAIN_SLEET=6]="RAIN_SLEET",L[L.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",L[L.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",L[L.DRIZZLE=9]="DRIZZLE",L[L.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",L[L.SHOWERS=11]="SHOWERS",L[L.RAIN=12]="RAIN",L[L.FLURRIES=13]="FLURRIES",L[L.SNOW_SHOWERS=14]="SNOW_SHOWERS",L[L.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",L[L.SNOW=16]="SNOW",L[L.HAIL=17]="HAIL",L[L.SLEET=18]="SLEET",L[L.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",L[L.FOGGY=20]="FOGGY",L[L.HAZE=21]="HAZE",L[L.SMOKE=22]="SMOKE",L[L.BREEZY=23]="BREEZY",L[L.WINDY=24]="WINDY",L[L.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",L[L.CLOUDY=26]="CLOUDY",L[L.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",L[L.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",L[L.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",L[L.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",L[L.CLEAR_NIGHT=31]="CLEAR_NIGHT",L[L.SUNNY=32]="SUNNY",L[L.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",L[L.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",L[L.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",L[L.SUNNY_ALT=36]="SUNNY_ALT",L[L.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",L[L.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",L[L.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",L[L.HEAVY_RAIN=40]="HEAVY_RAIN",L[L.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",L[L.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",L[L.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",L[L.NA=44]="NA",L[L.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",L[L.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",L[L.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(C=c||(r.IconCodeExtended=c={}))[C.STRONG_STORMS=300]="STRONG_STORMS",C[C.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",C[C.FREEZING_RAIN=1e3]="FREEZING_RAIN",C[C.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",C[C.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",C[C.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",C[C.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",C[C.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",C[C.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",C[C.SLEET=1800]="SLEET",C[C.LIGHT_SLEET=1801]="LIGHT_SLEET",C[C.SLEET_WIND=1810]="SLEET_WIND",C[C.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",C[C.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",C[C.HEAVY_SNOW=4200]="HEAVY_SNOW",C[C.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",C[C.BLIZZARD=4300]="BLIZZARD",C[C.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",C[C.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",C[C.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",C[C.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",C[C.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",C[C.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",C[C.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",C[C.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",C[C.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",C[C.THUNDER_SNOW=5600]="THUNDER_SNOW",C[C.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",C[C.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",C[C.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",C[C.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",C[C.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",C[C.AM_RAIN_ICE=6503]="AM_RAIN_ICE",C[C.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",C[C.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",C[C.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",C[C.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",C[C.ICE_EARLY=6600]="ICE_EARLY",C[C.AM_ICE=6603]="AM_ICE",C[C.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",C[C.AM_ICE_WIND=6613]="AM_ICE_WIND",C[C.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",C[C.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",C[C.PM_RAIN_ICE=7503]="PM_RAIN_ICE",C[C.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",C[C.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",C[C.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",C[C.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",C[C.ICE_LATE=7600]="ICE_LATE",C[C.PM_ICE=7603]="PM_ICE",C[C.ICE_WIND_LATE=7610]="ICE_WIND_LATE",C[C.PM_ICE_WIND=7613]="PM_ICE_WIND",C[C.RAIN_TO_ICE=8100]="RAIN_TO_ICE",C[C.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",C[C.ICE_TO_RAIN=8500]="ICE_TO_RAIN",C[C.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND",r.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"},r.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"}},861160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeCardinal=void 0;let i=e.r(349262),n={O:i.WindDirectionCardinal.WEST,NO:i.WindDirectionCardinal.NORTHWEST,NNO:i.WindDirectionCardinal.NORTH_NORTHWEST,ONO:i.WindDirectionCardinal.WEST_NORTHWEST,OSO:i.WindDirectionCardinal.WEST_SOUTHWEST,SO:i.WindDirectionCardinal.SOUTHWEST,SSO:i.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>n[e]||e},889951,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=l;let i=e.r(979777),n=e.r(678651),a=e.r(414655),o=e.r(861160),s=e.r(349262);async function l(e){let t=(0,i.getCurrentObservationsUrlConfig)(e),r=(0,n.urlFrom)(t),l=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),I=await (0,a.handleFetchResponse)(l);return{...I,pressureMeanSeaLevel:e.units===s.Units.IMPERIAL?I.pressureMeanSeaLevel/33.8639:I.pressureMeanSeaLevel,windDirectionCardinal:(0,o.normalizeCardinal)(I.windDirectionCardinal)}}},650130,(e,t,r)=>{"use strict";function i(e){return Math.PI/180*e}function n(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))return NaN;if(e===r&&t===n)return 0;let a=i(r-e),o=i(n-t),s=Math.sin(a/2)*Math.sin(a/2)+Math.cos(i(e))*Math.cos(i(r))*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))*6371}Object.defineProperty(r,"__esModule",{value:!0}),r.degreesToRadians=i,r.calculateDistance=n,r.findNearestPlace=function(e,t,r){if(0===r.length)return null;let i=null,a=1/0;for(let o of r){let r=n(e,t,o.lat,o.lon);r{"use strict";var t=e.i(304116),r=e.i(388706),i=e.i(258990);function n(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return r.CANONICAL_PAGE_TYPES.includes(t)?t:void 0}e.s(["LOC_ID_SEGMENT",0,"/l/","isSwappableLocationPathname",0,function({pathname:e,locId:t}){return!!t||void 0!==n(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:r,locale:a,identifier:o,featureId:s,placeId:l,canonicalID:I,skipCanonical:d}){if(r){let t=(0,i.decodeLocId)(r);return e.replace(r,t).replace(t,o)}let _=n(e);if(_)return(0,t.buildLocationPageHref)({pageType:_,locale:a,canonicalID:I,featureId:s,placeId:l,skipCanonical:d});let c=e.indexOf("/l/");if(-1!==c){let t=e.slice(0,c+3);return`${t}${o}`}return null}])},262453,214008,352711,e=>{"use strict";var t=e.i(546446),r=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(r.preciseGeocodeAtom)}],262453);var i=e.i(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let r=(0,i.locationDedupKey)(e);return!!r&&r===(0,i.locationDedupKey)(t)}],214008);var n=e.i(699173),a=e.i(592121),o=e.i(961123),s=e.i(553329),l=e.i(695881),I=e.i(88349);let d=(0,l.createLogger)("useRequestPreciseLocation");var _=e.i(942400),c=e.i(520938),E=e.i(671525),N=e.i(747961);let u=(0,a.forwardRef)(({title:e,titleId:t,desc:r,descId:i,...a},o)=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":t,"aria-describedby":i,...a,children:[r?(0,n.jsx)("desc",{id:i,children:r}):null,void 0===e?(0,n.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,n.jsx)("title",{id:t,children:e}):null,(0,n.jsx)("g",{fill:"currentColor",children:(0,n.jsx)("path",{d:"M15 14.295 1.705 1 1 1.705l4 4L1.33 7.03a.5.5 0 0 0-.323.467.5.5 0 0 0 .323.468l4.8 1.92 1.92 4.8A.5.5 0 0 0 8.5 15a.5.5 0 0 0 .46-.33L10.3 11l4 4zm-6.522-1.197L6.885 9.115 2.902 7.522 4.335 7l1.435-.5 3.73 3.73-.5 1.435zM7.845 5.725l3.82-1.39-1.39 3.82.78.78L12.97 3.67a.499.499 0 0 0-.64-.64L7.065 4.945z"})})]})),R=a.default.forwardRef((e,t)=>(0,n.jsx)(N.BaseIcon,{ref:t,icon:u,...e}));R.displayName="CurrentLocationLost",e.i(807079);var A=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:l}=function(){let[e,n]=(0,a.useState)("idle"),[o,l]=(0,a.useState)(void 0),_=(0,t.useSetAtom)(r.preciseGeocodeAtom),c=(0,a.useRef)(!1);return{status:e,geocode:o,request:(0,a.useCallback)(async()=>{if(c.current)return{status:"requesting",geocode:void 0};c.current=!0,n("requesting");try{let e;if(navigator.permissions){let{data:t,error:r}=await (0,s.tryCatch)(navigator.permissions.query({name:"geolocation"}));r?d.error("Permissions API query failed",r):e=t?.state}if("denied"===e)return n("denied"),{status:"denied",geocode:void 0};let t=await (0,I.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,i.formatGeocode)(`${t.latitude},${t.longitude}`);return l(e),_(e),n("granted"),{status:"granted",geocode:e}}return n("error"),{status:"error",geocode:void 0}}finally{c.current=!1}},[_]),reset:(0,a.useCallback)(()=>{n("idle"),l(void 0)},[])}}(),{navigate:N}=(0,E.usePageNavigation)(),u=(0,o.useParams)(),T=(0,o.usePathname)(),f=(0,_.usePageLocale)(),S=u?.locId,L=u?.canonicalLocation,C=(0,a.useRef)(e);return C.current=e,(0,a.useCallback)(async()=>{let{status:e,geocode:t}=await l();if("denied"===e){let e=C.current;(0,A.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,n.jsx)(R,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,c.isSwappableLocationPathname)({pathname:T,locId:S,canonicalLocation:L}))return;let{data:r}=await (0,s.tryCatch)(fetch(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(f)}`).then(e=>e.ok?e.json():null)),i=r?.featureId,a=r?.placeId,o=r?.canonicalID,I=i??a;if(!I)return;let d=(0,c.swapLocationOnCurrentPage)({pathname:T,locId:S,canonicalLocation:L,locale:f,identifier:I,featureId:i,placeId:a,canonicalID:o});d&&N(d)},[l,N,S,L,T,f])}],352711)},870393,e=>{"use strict";let t=(0,e.i(514514).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],870393)}]);