(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2301],{1247:(e,t,l)=>{"use strict";t.j=r;let a=l(17681),n=l(36762),i=l(84015);async function r(){let e=(0,i.getEmailPreferencesStatusUrlConfig)(),t=(0,a.urlFrom)(e),l=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,n.handleFetchResponse)(l)}},2362:(e,t)=>{"use strict";t.C=void 0,t.C=(e,t,l)=>e&&Array.isArray(e)?e.find(e=>e.subscriptionGroupName===t)||l||null:l||null},3916:(e,t,l)=>{"use strict";l.d(t,{y:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Arrow Down"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M3.353 9.767a.499.499 0 0 1 .705-.706L7.5 12.5V2.914a.5.5 0 0 1 1 0V12.5l3.443-3.438a.499.499 0 0 1 .705.706l-3.94 3.94a1 1 0 0 1-1.415 0z"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="ArrowDown"},4883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSunWeatherAlertHeadlinesUrlConfig=function(e){let{geocode:t,countryCode:l,areaId:a,adminDistrictCode:n,language:i}=e,r={format:"json",language:i,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return t&&(r.geocode=t),l&&(r.countryCode=l),a&&(r.areaId=a),n&&(r.adminDistrictCode=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/alerts/headlines",query:r}},t.getSunWeatherAlertDetailUrlConfig=function(e){let{detailKey:t,language:l}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/alerts/detail",query:{alertId:t,format:"json",language:l,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},5606:(e,t,l)=>{"use strict";l.r(t),l.d(t,{MorningBriefBlock:()=>U,default:()=>z});var a=l(76792),n=l(42292),i=l(29385),r=l(97935),s=l(4963),o=l(27370),d=l(94591),c=l(44615),u=l(46178),m=l(99551),h=l(31892),p=l(73455),v=l(48260);function x(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB,{"data-slot":"command",className:(0,v.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...l})}function g(e){let{className:t,...l}=e;return(0,a.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[(0,a.jsx)(p.A,{className:"size-4 shrink-0 opacity-50"}),(0,a.jsx)(h.uB.Input,{"data-slot":"command-input",className:(0,v.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t),...l})]})}function f(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.List,{"data-slot":"command-list",className:(0,v.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...l})}function y(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.Group,{"data-slot":"command-group",className:(0,v.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),...l})}function N(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.Item,{"data-slot":"command-item",className:(0,v.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...l})}l(79442);var b=l(65485),w=l(55198);function j(e){var t;let{label:l,placeholder:i,className:s,location:h,onChangeLocation:p}=e,j=(0,w.useParams)(),I=null==j?void 0:j.locale,[_,T]=(0,n.useState)(!1),[E,A]=(0,n.useState)(""),{isLoading:C,data:R}=function(e,t){let l=e.trim().length>0,{isLoading:a,data:n,error:i}=(0,c.Ay)(l?["search/locations",encodeURIComponent(e)]:null,async()=>await (0,d.SK)(e,t));return{isLoading:a,data:n,error:i}}((0,u.A)(E,300),I);return(0,a.jsxs)(m.AM,{open:_,onOpenChange:T,children:[(0,a.jsx)(m.Wv,{asChild:!0,children:(0,a.jsxs)(o.$n,{variant:"outline",role:"combobox",className:(0,v.cn)("text-muted-foreground flex w-full bg-white px-2 text-nowrap",s),children:[(0,a.jsx)("div",{children:C?(0,a.jsx)(r.A,{className:"animate-spin"}):(0,a.jsx)(b.A,{})}),(0,a.jsx)("div",{className:"flex flex-1 px-2 text-start",children:null!=(t=null==h?void 0:h.displayName)?t:l})]})}),(0,a.jsx)(m.hl,{className:"w-[var(--radix-popover-trigger-width)]",showArrow:!1,children:(0,a.jsxs)(x,{shouldFilter:!1,children:[(0,a.jsx)(g,{placeholder:i,value:E,onValueChange:A}),(0,a.jsx)(f,{children:(0,a.jsx)(y,{children:null==R?void 0:R.map(e=>(0,a.jsx)(N,{value:e.locId,onSelect:()=>{null==p||p(e),T(!1)},children:e.address},e.locId))})})]})})]})}var I=l(77722);function _(e){let{label:t,error:l,className:n,...i}=e;return(0,a.jsxs)("div",{className:"w-full",children:[t&&(0,a.jsx)("label",{className:"text-sm",children:t}),(0,a.jsx)(I.p,{...i,className:l?"".concat(n," border-red-500"):n})]})}var T=l(9198);let E={"{{terms}}":{text:"Terms",url:"https://".concat("weather.com","/legal")},"{{privacy}}":{text:"Privacy Policy",url:"https://".concat("weather.com","/en-US/twc/privacy-policy")}},A=/\{\{(.*?)\}\}/g;function C(){return(0,a.jsx)("div",{className:"mt-4 text-xs",children:"By signing up you agree to the {{terms}} & {{privacy}}. Unsubscribe at any time.".split(A).map((e,t)=>{let l=E["{{".concat(e,"}}")];return l?(0,a.jsx)(T.default,{href:l.url,className:"underline",children:l.text},t):(0,a.jsx)("span",{children:e},t)})})}let R={src:"/_next/static/media/morning-brief-logo.73126316.svg"},S={src:"/_next/static/media/ellipse.b0c8befa.png"};var L=l(89512),D=l(27301),M=l(87103),P=l(75302),W=l(1247);let O=(0,l(20156).tG)("emailPreferences",null,void 0,{getOnInit:!0});var k=l(25319),H=l(82304);let F=()=>{let[e,t]=(0,P.fp)(O),{user:l}=(0,k.J)(),a=(null==l?void 0:l.userID)||null,i=(null==l?void 0:l.isUserLoggedIn)||!1,r=(0,n.useCallback)(l=>{a&&t({userId:a,expiry:Date.now()+9e5,subscriptions:function(e,t){let l=(null==t?void 0:t.length)?t:H.J3,a={};return e?(null==l||l.forEach(e=>{a[e.subscriptionGroupName]=e}),e.forEach(e=>{a[e.subscriptionGroupName]=e}),Object.values(a)):l}(l,null==e?void 0:e.subscriptions)})},[a,t,null==e?void 0:e.subscriptions]),s=e&&e.userId===a&&e.expiry&&e.expiry>Date.now();return(0,c.Ay)(a&&i&&!s?"getEmailPreferencesStatus/".concat(a):void 0,()=>(0,W.j)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{a&&e&&r(e.subscriptions)}}),{subscriptions:a&&e?e.subscriptions:null,updateSubscriptions:r}};async function G(e,t){let{arg:l}=t,{email:a,location:n,locale:i,isAnonymous:r}=l,{location:s}=await (0,M.$M)(n.placeId,i).catch(()=>({location:null})),o={subscriptions:[{subscriptionGroupName:e,isSubscribed:!0,attributes:{location:n.placeId,latitude:n.latitude,longitude:n.longitude,dmaCode:(null==s?void 0:s.dmaCd)||null,adminDistrict:n.adminDistrict,adminDistrictCode:n.adminDistrictCode||null,postalCode:n.postalCode}}]};return r&&(o.email=a),await (0,D.p_)(o).then(e=>({...e,sentSubscriptions:o.subscriptions}))}var B=l(22627),V=l(2362);let U=()=>{var e,t;let l=(0,w.useParams)(),d=(0,w.useSearchParams)(),c=null==l?void 0:l.locale,{userProfile:u}=(0,k.J)(),[m,h]=(0,n.useState)(null!=(e=null==u?void 0:u.email)?e:""),[p,v]=(0,n.useState)(null),[x,g]=(0,n.useState)(!1),{data:f,loading:y,onSubmit:N,error:b}=function(){let{updateSubscriptions:e}=F(),{isMutating:t,trigger:l,data:a,error:i,reset:r}=(0,L.A)("newsletter/signup/daily-newsletters-1",(e,t)=>G("daily-newsletters-1",t));return{loading:t,error:i,data:a,onSubmit:(0,n.useCallback)(async t=>{let a=await l(t);return a.sentSubscriptions&&e(a.sentSubscriptions),a},[l,e]),onReset:r}}(),I=d.get("cm_ven"),T=null==I?void 0:I.startsWith("dnt_newsletter"),{subscriptions:E}=F(),A=(0,n.useMemo)(()=>(0,V.C)(E,H.rn),[E]),D=(0,n.useCallback)(async e=>{e.preventDefault(),!y&&m.trim()&&p&&(g(!0),await N({email:m,location:p,locale:c,isAnonymous:!(null==u?void 0:u.email)}))},[N,m,p,c,y,null==u?void 0:u.email]);return!x&&(null==A?void 0:A.isSubscribed)||T?null:(0,a.jsxs)("div",{"data-flatplan-id":"flatplan_signup_form",style:{backgroundImage:'url("'.concat(S.src,'")'),backgroundPosition:"right top",backgroundRepeat:"no-repeat",backgroundSize:"70px"},className:"my-4 space-y-2 rounded-xl bg-white py-5 pr-[30px] pl-5 shadow-[0_3px_20px_0_rgba(181,171,162,0.5)]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:gap-3",children:[(0,a.jsx)(B.A,{src:R.src,alt:"",className:"m-0 w-37.5",rounded:!1}),(0,a.jsx)("div",{className:"mb-1.5 hidden min-h-[24px] min-w-[2px] bg-black sm:block"}),(0,a.jsx)("div",{className:"text-lg font-semibold",children:"Weather in your inbox"})]}),(null==f?void 0:f.status)==="success"?(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.A,{className:"h-6 w-6 text-green-500"}),(0,a.jsx)("div",{className:"text-sm text-gray-700",children:(0,a.jsx)("p",{children:"You are subscribed to the Morning Brief newsletter."})})]}):(0,a.jsxs)("form",{onSubmit:D,className:"flex flex-1 flex-col items-end gap-4 pt-4 lg:flex-row",children:[(0,a.jsx)(_,{id:"email",required:!0,type:"email",placeholder:"Email",className:"h-12",value:m,onChange:e=>h(e.target.value),error:!!(null==f?void 0:f.emailError),disabled:!!(null==u?void 0:u.email)}),(0,a.jsx)(j,{label:"Forecast Location",placeholder:"Search City or Zip Code",className:"h-12 items-center text-sm",location:p,onChangeLocation:v}),(0,a.jsx)("div",{children:(0,a.jsxs)(o.$n,{type:"submit",className:"flex h-12 items-center gap-1 text-nowrap",disabled:y||!(m&&p),children:[(0,a.jsx)("span",{children:"Sign Up"}),y&&(0,a.jsx)(r.A,{className:"animate-spin"})]})})]}),b&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-red-500",children:[(0,a.jsx)(s.A,{className:"h-6 w-6 text-red-500"}),(0,a.jsx)("div",{className:"text-sm",children:"Failed to subscribe, please try again."})]}),(null==f?void 0:f.status)==="error"&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-red-500",children:[(0,a.jsx)(s.A,{className:"h-6 w-6 text-red-500"}),(0,a.jsx)("div",{className:"text-sm",children:null!=(t=f.emailError)?t:f.error})]}),(0,a.jsx)(C,{})]})};U.displayName="MorningBriefBlock";let z=U},6106:(e,t,l)=>{"use strict";l.r(t),l.d(t,{LiveblogEntriesBlock:()=>n,default:()=>i});var a=l(76792);l(42292);let n=()=>(0,a.jsx)("div",{children:"Live Blog Entries"}),i=n},6453:(e,t,l)=>{"use strict";l.d(t,{A:()=>J});var a=l(76792),n=l(42292),i=l(75302),r=l(30505),s=l(47421),o=l(70336),d=l(68751),c=l(32035),u=l(50772),m=l(21230),h=l(58196),p=l(20135),v=l(23233);let x=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Snow Wintery Mix"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M7.982 1.833c-1.303 0-2.391 1.032-2.5 2.37l-.034.407-.405.049c-.67.08-1.209.672-1.209 1.41 0 .724.518 1.307 1.17 1.405l.217.015h4.896l.024.003q.087.008.175.008c1.01 0 1.851-.845 1.851-1.915 0-.946-.66-1.719-1.51-1.882l-.264-.051-.104-.248c-.386-.93-1.279-1.57-2.307-1.57M4.535 3.747C4.843 2.096 6.26.833 7.982.833c1.367 0 2.543.798 3.123 1.95 1.198.352 2.062 1.48 2.062 2.802 0 1.597-1.264 2.915-2.851 2.915a3 3 0 0 1-.245-.01H5.187l-.25-.018H4.92l-.034-.005c-1.168-.16-2.051-1.182-2.051-2.398 0-1.091.71-2.026 1.701-2.322",clipRule:"evenodd","data-figma-bg-blur-radius":20}),(0,a.jsx)("path",{d:"m7.954 9.295-.543 1.491a.5.5 0 0 0 .94.342l.543-1.491a.5.5 0 1 0-.94-.342M10.267 11.085l-.856 2.352a.5.5 0 0 0 .94.342l.856-2.352a.5.5 0 1 0-.94-.342M5.964 11.324a.25.25 0 0 1 .25.25v.152a.25.25 0 0 1 .297.396l-.297.297v2.092l.301.317a.25.25 0 0 1-.301.391v.207a.25.25 0 0 1-.5 0v-.212a.25.25 0 0 1-.309-.389l.309-.315v-2.092l-.307-.307a.25.25 0 0 1 .307-.39v-.147a.25.25 0 0 1 .25-.25"}),(0,a.jsx)("path",{d:"M7.816 12.41a.255.255 0 0 1-.092.345l-.182.107a.253.253 0 0 1-.272.383l-.264-.068-1.792 1.054-.153.366a.247.247 0 0 1-.46-.006l-.152.09a.245.245 0 0 1-.339-.09.255.255 0 0 1 .092-.345l.175-.103a.25.25 0 0 1-.04-.174.25.25 0 0 1 .279-.218l.351.045 1.792-1.054.085-.307a.247.247 0 0 1 .473-.02l.16-.095c.12-.07.271-.03.34.09"}),(0,a.jsx)("path",{d:"M7.815 14.59a.245.245 0 0 1-.339.09l-.16-.094a.247.247 0 0 1-.473-.02l-.084-.308-1.792-1.053-.352.045a.25.25 0 0 1-.279-.219.25.25 0 0 1 .04-.174l-.175-.102a.255.255 0 0 1-.092-.345c.068-.12.22-.16.339-.09l.152.089a.247.247 0 0 1 .46-.006l.154.367 1.791 1.053.265-.067a.25.25 0 0 1 .303.182.25.25 0 0 1-.032.2l.182.107c.119.07.16.225.092.345"})]})]})}),g=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:x,...e}));g.displayName="RainSnowWinteryMix";var f=l(60645),y=l(51254);let N=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Feels Like"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M10.889 4.163A2 2 0 1 0 13.11.837a2 2 0 0 0-2.222 3.326m.555-2.494a1 1 0 1 1 1.112 1.662 1 1 0 0 1-1.112-1.662M11 15h2a1.003 1.003 0 0 0 1-1v-3.5a1.003 1.003 0 0 0 1-1v-3A1.47 1.47 0 0 0 13.5 5h-3A1.473 1.473 0 0 0 9 6.5v3a1.003 1.003 0 0 0 1 1V14a1.003 1.003 0 0 0 1 1m-.696-8.97A.5.5 0 0 1 10.5 6h3a.473.473 0 0 1 .5.5v3h-1V14h-2V9.5h-1v-3a.47.47 0 0 1 .304-.47",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M5 10.092V6H4v4.092a1.5 1.5 0 1 0 1 0"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M2.563 14.417c.574.38 1.248.584 1.937.583A3.497 3.497 0 0 0 7 9.055V3.5a2.5 2.5 0 1 0-5 0v5.555a3.497 3.497 0 0 0 .563 5.362M3.44 2.44a1.5 1.5 0 0 1 2.12 0c.281.281.44.662.44 1.06v5.992l.166.149a2.5 2.5 0 1 1-3.332 0L3 9.49V3.5c0-.398.159-.779.44-1.06",clipRule:"evenodd"})]})]})}),b=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:N,...e}));b.displayName="FeelsLike";var w=l(60393),j=l(75848),I=l(49694),_=l(8366);let T=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Cloud Cover"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.109 11.591.06.006q.099.01.204.01c1.17 0 2.176-.984 2.176-2.269 0-1.133-.789-2.04-1.778-2.23l-.66-.128-.258-.62c-.488-1.174-1.607-1.967-2.88-1.967-1.614 0-2.987 1.28-3.125 2.974l-.083 1.017-1.013.122c-.707.085-1.303.718-1.303 1.538 0 .795.562 1.415 1.242 1.528l.276.02zm-7.185 1.25-.363-.025h-.003C2.226 12.633 1.2 11.461 1.2 10.044c0-1.434 1.05-2.616 2.403-2.779.189-2.309 2.073-4.122 4.37-4.122 1.812 0 3.366 1.127 4.035 2.737 1.59.305 2.792 1.737 2.792 3.458 0 1.944-1.534 3.519-3.426 3.519q-.165 0-.324-.016z",clipRule:"evenodd"})]})}),E=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:T,...e}));E.displayName="CloudCover";var A=l(56157);let C=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Wind Gust"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"m2.5 4.375 4-3a.63.63 0 0 1 .572-.093l11.25 3.75h.001a.624.624 0 0 1 0 1.186l-11.25 3.75a.63.63 0 0 1-.573-.093l-4-3V18.75H1.25V1.25H2.5zm13.75 9.375a2.5 2.5 0 0 1 0 5H7.5V17.5h8.75A1.25 1.25 0 1 0 15 16.25h-1.25a2.503 2.503 0 0 1 2.5-2.5M10 11.25a2.5 2.5 0 0 1 0 5H5V15h5a1.25 1.25 0 1 0-1.25-1.25H7.5a2.5 2.5 0 0 1 2.5-2.5M7.5 8.508l1.25-.417V3.159L7.5 2.742zM2.917 5.625l3.333 2.5v-5zM10 7.675l1.25-.417V3.992L10 3.575zm2.5-.834 3.648-1.216L12.5 4.409z"})]})}),R=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:C,...e}));R.displayName="WindGust";var S=l(23376),L=l(21021);let D=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"moonrise"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",children:(0,a.jsx)("path",{d:"M14.5 14h-13a.5.5 0 0 0 0 1h13a.5.5 0 0 0 0-1M12.975 12.501c.027.275-.199.499-.475.499s-.497-.225-.531-.5a4 4 0 0 0-.678-1.774c-.158-.227-.143-.542.063-.726.205-.184.524-.168.687.055.523.717.846 1.562.934 2.446M8.03 12.5c-.034.274-.255.5-.531.5s-.502-.224-.475-.498a4.96 4.96 0 0 1 1.853-3.404 4.005 4.005 0 0 0-4.845 3.404c-.035.274-.256.498-.531.498-.277 0-.503-.225-.475-.5A5.006 5.006 0 0 1 8 8c.772 0 1.533.18 2.223.526a.5.5 0 0 1 0 .895A3.98 3.98 0 0 0 8.03 12.5M8.471 1.195a.667.667 0 0 0-.942 0L5.853 2.871a.499.499 0 0 0 .705.706L7.5 2.64v3.585a.5.5 0 0 0 1 0V2.639l.942.938a.499.499 0 0 0 .705-.706z"})})]})}),M=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:D,...e}));M.displayName="Moonrise";var P=l(40640),W=l(62596),O=l(99838);let k=e=>e?(0,O.$)(e).replace(/([+-]\d{2}:?\d{2})$/,"+0000"):"";var H=l(71666),F=l(55406),G=l(38098),B=l(28004),V=l(46670),U=l(63236),z=l(48834),Z=l(7886),Y=l(43436);let q=e=>!(0,h.g)(e)||null,Q={derive:e=>{let{precipType:t}=e;return"precip"===t?g:"snow"===t?f.D:y.Y}},X={temperatureFeelsLike:{label:(e,t)=>{let{t:l}=t;return l("feelsLike")},icon:b,value:e=>{let{temperatureFeelsLike:t}=e;return q(t)&&(0,a.jsx)(F.B,{value:t})}},windSpeed:{label:(e,t)=>{let{t:l}=t;return l("wind")},icon:w.Z,value:(e,t)=>{let{windSpeed:l,windDirectionCardinal:n}=e,{unitName:i}=t,r=(0,H.xP)(i);return q(l)&&(0,a.jsx)(G.Z,{className:"whitespace-nowrap",windSpeed:l,windDirectionCardinal:n,units:r.code,displayMode:"directionalAndCardinal"})}},precipChance:{label:(e,t)=>{let{precipType:l}=e,{t:a}=t;return a("chanceOf".concat((0,p.Z)(null!=l?l:"")))},icon:Q,value:e=>{let{precipChance:t}=e;return q(t)&&(0,a.jsx)(B.N,{value:t})}},relativeHumidity:{label:(e,t)=>{let{t:l}=t;return l("humidity")},icon:j.K,value:e=>{let{relativeHumidity:t}=e;return q(t)&&(0,a.jsx)(B.N,{value:t})}},pressureMeanSeaLevel:{label:(e,t)=>{let{t:l}=t;return l("pressure")},icon:I.S,value:e=>{let{pressureMeanSeaLevel:t}=e;return q(t)&&(0,a.jsx)(V.S,{pressureMeanSeaLevel:t})}},visibility:{label:(e,t)=>{let{t:l}=t;return l("visibility")},icon:P.S,value:(e,t)=>{let{visibility:l}=e,{unitName:n}=t;return q(l)&&(0,a.jsx)(U.b,{visibility:l,units:(0,H.xP)(n).code})}},uvIndex:{label:(e,t)=>{let{t:l}=t;return l("uvIndex")},icon:_.o,value:e=>{let{uvIndex:t}=e;return q(t)&&(0,a.jsx)(z.M,{uvIndex:t})}},cloudCover:{label:(e,t)=>{let{t:l}=t;return l("cloudCover")},icon:E,value:e=>{let{cloudCover:t}=e;return q(t)&&(0,a.jsx)(B.N,{value:t})}},accumulation:{label:(e,t)=>{let{precipType:l}=e,{t:a}=t;return a("".concat(l,"Amount"))},icon:Q,value:(e,t)=>{let{qpf:l,qpfSnow:n,precipType:i}=e,{unitName:r}=t;return q(l)||q(n)?(0,a.jsx)(Z.e,{precipType:i,qpf:l,qpfSnow:n,units:(0,H.xP)(r).code}):null}},temperatureDewPoint:{label:(e,t)=>{let{t:l}=t;return l("dewPoint")},icon:A.$,value:e=>{let{temperatureDewPoint:t}=e;return q(t)&&(0,a.jsx)(F.B,{value:t})}},windGust:{label:(e,t)=>{let{t:l}=t;return l("windGust")},icon:R,value:(e,t)=>{let{windGust:l}=e,{unitName:n}=t;return(0,a.jsx)(G.Z,{windSpeed:null!=l?l:void 0,units:(0,H.xP)(n).code})}},sunrise:{label:(e,t)=>{let{t:l}=t;return l("sunrise")},icon:S.m,value:(e,t)=>{let{sunriseTimeLocal:l}=e,{locale:a}=t;return l?(0,W.P)({date:k(l),timeZone:"Etc/GMT",locale:a,minutes:!0}):"--"}},sunset:{label:(e,t)=>{let{t:l}=t;return l("sunset")},icon:L.d,value:(e,t)=>{let{sunsetTimeLocal:l}=e,{locale:a}=t;return l?(0,W.P)({date:k(l),timeZone:"Etc/GMT",locale:a,minutes:!0}):"--"}},moonrise:{label:(e,t)=>{let{t:l}=t;return l("moonrise")},icon:M,value:(e,t)=>{let{moonriseTimeLocal:l}=e,{locale:a}=t;return l?(0,W.P)({date:k(l),timeZone:"Etc/GMT",locale:a,minutes:!0}):"--"}},moonset:{label:(e,t)=>{let{t:l}=t;return l("moonset")},icon:M,value:(e,t)=>{let{moonsetTimeLocal:l}=e,{locale:a}=t;return l?(0,W.P)({date:k(l),timeZone:"Etc/GMT",locale:a,minutes:!0}):"--"}},moonPhase:{label:"",icon:{derive:e=>{let{moonPhaseCode:t}=e;return e=>(0,a.jsx)(Y.r,{...e,moonPhaseCode:t})}},value:e=>{let{moonPhase:t}=e;return q(t)&&t}}},$=(0,r.F)("grid justify-between gap-1",{variants:{cols:{1:"grid-cols-[repeat(1,auto)]",2:"grid-cols-[repeat(2,auto)]",3:"grid-cols-[repeat(3,auto)]",4:"grid-cols-[repeat(4,auto)]",5:"grid-cols-[repeat(5,auto)]",6:"grid-cols-[repeat(6,auto)]"}}}),J=(0,n.memo)(e=>{let{dataPoints:t,fields:l,locale:r,columns:h,children:p}=e,{small:v=2,medium:x=3,large:g=4}="object"==typeof h?h||{}:{small:h,medium:h,large:h},[f,y]=(0,u.r)(e=>e>=m.c["@xl"]?g:e>=m.c["@xs"]?x:v),N=f||x,b=(0,s.c3)("DetailsTable"),w={unitName:(0,i.md)(c.Yt),t:b,locale:r},j=0;return(0,a.jsx)(o.Zp,{ref:y,className:"border-2xl @container/detailsTable h-full bg-gray-100 p-0",children:(0,a.jsxs)(o.Wu,{className:"px-4 py-4 @xl/detailsTable:px-6",children:[p&&(0,a.jsx)("div",{children:p}),(0,a.jsx)("ul",{className:$({cols:N}),children:l.map((e,i)=>{let r,s=X[e],o=null==s?void 0:s.value(t,w);if(!s||!o)return j++,null;let c="derive"in s.icon?s.icon.derive(t,w):s.icon,u="function"==typeof s.label?s.label(t,w):s.label,m=l.length-j,h=i-j,p=m%N;if(h===m-1&&0!==p){let e=N-p+1;r={gridColumn:"span ".concat(e," / span ").concat(e)}}return(0,a.jsxs)(n.Fragment,{children:[h>0&&h%N==0&&(0,a.jsx)("li",{className:"col-span-full py-3",children:(0,a.jsx)("div",{className:"border-b border-[#dedede]"})}),(0,a.jsxs)("li",{className:"flex gap-1 @md/detailsTable:gap-1.5 @xl/detailsTable:gap-2",style:r,children:[c&&(0,a.jsx)(c,{className:"size-4 @md/detailsTable:size-5"}),(0,a.jsxs)("div",{children:[u&&(0,a.jsx)(d.Ay,{variant:"Body.M",className:"mb-0.5 text-sm leading-normal @xl/detailsTable:text-base",children:u}),(0,a.jsx)(d.Ay,{elementType:"string"==typeof o?"p":"div",variant:"Body.L.Bold",className:"text-sm leading-normal @xl/detailsTable:text-base",children:o})]})]})]},u+h)})})]})})})},6626:(e,t,l)=>{"use strict";l.r(t),l.d(t,{SlideshowBlock:()=>s,default:()=>o});var a=l(76792);l(42292);var n=l(49192),i=l(98066),r=l(18556);let s=e=>{let{slides:t=[],settings:l={},id:s}=e;if(!(0,r.J)(t))return null;let o=[];for(let e of t){var d;if(!e.imageAsset){console.error("Slide missing imageAsset:",e);continue}let t=(0,i.bt)(e.imageAsset)?e.imageAsset:null;if(!t||!t.url){console.error("Invalid imageAsset or missing URL:",t);continue}let l={...t,seo:{...t.seo,caption:e.imageCaption||t.caption||"",altText:e.imageTitle&&""!==e.imageTitle.trim()?e.imageTitle:(null==(d=t.seo)?void 0:d.altText)||""},...!e.imageTitle||""===e.imageTitle.trim()||/\.(jpg|jpeg|png|gif|webp|bmp|tiff|svg)$/i.test(e.imageTitle)||/^[A-Z0-9_]+\d*\.[a-zA-Z]+$/i.test(e.imageTitle)||/^[a-zA-Z0-9_-]+\d+$/i.test(e.imageTitle)||/[._][0-9]+/i.test(e.imageTitle)||/^[A-Z0-9_]+$/i.test(e.imageTitle)?{}:{filename:e.imageTitle}};o.push(l)}return 0===o.length?(console.error("SlideshowBlock - No valid assets after transformation"),(0,a.jsx)("div",{className:"text-center text-red-500",children:"Error: Could not load images for the slideshow."})):(0,a.jsx)(n.A,{id:s||"slideshow-".concat(Math.random().toString(36).substring(2,9)),assets:o.slice(0,20),allSlides:o,totalAssets:o.length,rounded:(null==l?void 0:l.rounded)||!1,blockType:"Slideshow",slides:t,settings:l,sendTrackString:()=>{}})},o=s},7886:(e,t,l)=>{"use strict";l.d(t,{e:()=>r});var a=l(76792);l(42292);var n=l(48260),i=l(71666);let r=e=>{let t,l,{precipType:r="rain",rain:s,snow:o,qpf:d=0,qpfSnow:c=0,units:u,unitOverride:m,className:h,unitClass:p}=e,v=null!=s?s:d,x=null!=o?o:c,g=u?(0,i.Bu)(u):null;if("snow"===r)t=x,l="accumulation";else if("rain"===r)t=v,l="precip";else if("precip"===r){let e=Number(v)>=Number(x);t=e?v:x,l=e?"precip":"accumulation"}else t=v,l="precip";let f=null==g?void 0:g[l];return(0,a.jsxs)("span",{"data-testid":"AccumulationValue",className:(0,n.cn)(h),children:[(0,a.jsx)("span",{children:t})," ",(0,a.jsx)("span",{className:(0,n.cn)(p),children:m||f})]})}},8366:(e,t,l)=>{"use strict";l.d(t,{o:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Uv Index"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m8.022 15.021-1.748-2.94-3.29.932.931-3.284L.977 8.01l2.936-1.72-.924-3.236 3.278.874L8.022.977l1.7 2.949 3.255-.861-.868 3.226 2.853 1.717-2.854 1.718L12.98 13l-3.265-.918zm1.216-4.112 2.325.654-.615-2.306 2.075-1.249-2.075-1.248.615-2.287-2.325.615-1.23-2.132L6.74 5.088l-2.305-.615.653 2.287-2.132 1.248 2.132 1.25-.653 2.305 2.305-.654 1.268 2.133z",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="UvIndex"},9390:(e,t,l)=>{"use strict";l.d(t,{s:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunny Day"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7.5 13.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M7.5 1.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M13.5 8.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1M1.5 8.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1M11.536 12.243l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 0 0-.707.707M3.05 3.757l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 1 0-.707.707M12.243 4.464l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 0 0 .707.707M3.757 12.95l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 1 0 .707.707"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M8 10.667a2.667 2.667 0 1 0 0-5.334 2.667 2.667 0 0 0 0 5.334m0 1a3.667 3.667 0 1 0 0-7.334 3.667 3.667 0 0 0 0 7.334",clipRule:"evenodd"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="SunnyDay"},9946:(e,t)=>{"use strict";t.k=void 0,t.k=e=>{let{phenomena:t,significance:l,areaId:a,officeCode:n,eventTrackingNumber:i,locId:r}=e;return"".concat("/weather/alerts/localalerts/l/".concat(r),"?phenomena=").concat(t,"&significance=").concat(l,"&areaid=").concat(a,"&office=").concat(n,"&etn=").concat(i)}},11806:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TwitterBlock:()=>r,default:()=>s});var a=l(76792),n=l(42292);let i="twitter-script-loaded",r=e=>{let{entryMethod:t,tweetURL:l,tweetId:r,showThread:s}=e,o=(0,n.useRef)(null),d=(0,n.useCallback)(()=>"id"===t&&r?"https://twitter.com/i/status/".concat(r):"url"===t&&l?l.replace("x.com","twitter.com"):null,[t,r,l]),{isLoaded:c}=function(){let[e,t]=(0,n.useState)(()=>!!(window.twttr&&window.twttr.widgets)),[l,a]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(e)return;if(!l){if(window.twttr&&window.twttr.widgets)return void t(!0);a(new Promise(e=>{if(window.twttr&&window.twttr.widgets){t(!0),e();return}let l=document.createElement("script");l.src="https://platform.twitter.com/widgets.js",l.async=!0,l.onload=()=>{t(!0);let l=new CustomEvent(i);window.dispatchEvent(l),e()},document.body.appendChild(l)}))}l&&l.then(()=>t(!0));let n=()=>t(!0);return window.addEventListener(i,n),()=>{window.removeEventListener(i,n)}},[e,l]),{isLoaded:e}}();return(0,n.useEffect)(()=>{let e=d();e&&(o.current&&(o.current.innerHTML='\n

\n \n
\n ')),c&&window.twttr&&window.twttr.widgets&&window.twttr.widgets.load(o.current))},[d,r,l,t,s,c]),(0,a.jsx)("div",{className:"flex items-center",ref:o})},s=r},11904:(e,t,l)=>{"use strict";t.o=void 0;let a=l(43716),n={US:a.AirQualityScale.EPA,CN:a.AirQualityScale.HJ6332012,FR:a.AirQualityScale.ATMO,DE:a.AirQualityScale.UBA,GB:a.AirQualityScale.DAQI,IN:a.AirQualityScale.NAQI,MX:a.AirQualityScale.IMECA,ES:a.AirQualityScale.CAQI};t.o=e=>{let{countryCode:t}=e;return n[t]||a.AirQualityScale.EPA}},12086:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(76792),n=l(42292),i=l(47421),r=l(96304),s=l(42531);let o=e=>{let{rtl:t,isSamsungTheme:l,radius:o=4,legendTypes:d}=e,c=(0,i.c3)("PrecipIntensity"),u=(0,n.useMemo)(()=>{let e=[{label:c("legendRain"),type:r.PrecipType.RAIN,color:s.vc},{label:c("legendSnow"),type:r.PrecipType.SNOW,color:s.at},{label:c(l?"samsungLegendMix":"legendMix"),type:r.PrecipType.PRECIP,color:s._x}];return t?e.reverse():e},[l,t,c]);return(0,a.jsx)("div",{className:"mt-3 flex items-center justify-center gap-6",children:u.map(e=>{let{label:t,type:l,color:n}=e;return(!d||d[l])&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("div",{style:{width:2*o,height:2*o,backgroundColor:n},className:"rounded-full"}),(0,a.jsx)("p",{className:"text-xs",children:t})]},l)})})}},12962:(e,t,l)=>{"use strict";t.lh=void 0,t.$c=d;let a=l(39825),n=l(17681),i=l(36762),r=l(35181),s=l(96304),o=l(76088);async function d(e){let l=(0,a.getHourlyForecastUrlConfig)(e),r=(0,n.urlFrom)(l),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),o=await (0,i.handleFetchResponse)(s);return(0,t.lh)(o)}t.lh=(0,r.createTransformer)(e=>{var t,l,a,n,i,r,d,c,u,m,h,p,v,x,g,f,y,N,b,w,j,I,_,T,E,A,C,R,S;return{cloudCover:null!=(t=e.cloudCover)?t:0,dayOfWeek:null!=(l=e.dayOfWeek)?l:"",dayOrNight:null!=(a=e.dayOrNight)?a:o.DayOrNight.DAY,expirationTimeUtc:null!=(n=e.expirationTimeUtc)?n:0,iconCode:null!=(i=e.iconCode)?i:0,iconCodeExtend:null!=(r=e.iconCodeExtend)?r:0,precipChance:null!=(d=e.precipChance)?d:0,precipType:null!=(c=e.precipType)?c:s.PrecipType.RAIN,pressureMeanSeaLevel:null!=(u=e.pressureMeanSeaLevel)?u:0,qpf:null!=(m=e.qpf)?m:0,qpfSnow:null!=(h=e.qpfSnow)?h:0,relativeHumidity:null!=(p=e.relativeHumidity)?p:0,temperature:null!=(v=e.temperature)?v:0,temperatureDewPoint:null!=(x=e.temperatureDewPoint)?x:0,temperatureFeelsLike:null!=(g=e.temperatureFeelsLike)?g:0,temperatureHeatIndex:null!=(f=e.temperatureHeatIndex)?f:0,temperatureWindChill:null!=(y=e.temperatureWindChill)?y:0,uvDescription:null!=(N=e.uvDescription)?N:o.UVDescription.LOW,uvIndex:null!=(b=e.uvIndex)?b:0,validTimeLocal:null!=(w=e.validTimeLocal)?w:"",validTimeUtc:null!=(j=e.validTimeUtc)?j:0,visibility:null!=(I=e.visibility)?I:0,windDirection:null!=(_=e.windDirection)?_:0,windDirectionCardinal:null!=(T=e.windDirectionCardinal)?T:o.WindDirectionCardinal.NORTH,windGust:null!=(E=e.windGust)?E:null,windSpeed:null!=(A=e.windSpeed)?A:0,wxPhraseLong:null!=(C=e.wxPhraseLong)?C:"",wxPhraseShort:null!=(R=e.wxPhraseShort)?R:"",wxSeverity:null!=(S=e.wxSeverity)?S:0}})},13886:(e,t,l)=>{"use strict";t.I=r;let a=l(47681),n=l(17681),i=l(36762);async function r(e){let t=(0,a.getSunV3WeatherInsightsUrlConfig)(e),l=(0,n.urlFrom)(t),r=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return(0,i.handleFetchResponse)(r)}},14124:(e,t,l)=>{"use strict";t.vt=void 0,t.v1=r;let a=l(39825),n=l(17681),i=l(36762);async function r(e){let l=(0,a.getDailyForecastUrlConfig)(e),r=(0,n.urlFrom)(l),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:1800}}),o=await (0,i.handleFetchResponse)(s);return(0,t.vt)(o)}t.vt=(0,l(35181).createTransformer)((e,t,l)=>{var a,n,i,r,s,o,d,c,u,m,h,p,v,x,g,f,y,N,b,w,j,I,_,T,E,A,C,R,S,L,D,M,P,W,O,k,H,F,G,B,V,U,z,Z,Y,q,Q,X,$,J,K,ee,et,el,ea,en,ei,er,es,eo,ed,ec,eu,em,eh,ep,ev,ex,eg,ef,ey,eN,eb,ew,ej,eI,e_,eT,eE,eA,eC,eR,eS,eL,eD,eM,eP,eW,eO,ek,eH,eF,eG,eB,eV,eU,ez,eZ,eY,eq,eQ,eX,e$,eJ,eK,e0,e1,e2,e5,e4,e3,e6,e7,e8,e9,te,tt,tl,ta,tn,ti,tr,ts,to,td,tc,tu,tm,th,tp,tv,tx,tg,tf,ty,tN,tb,tw,tj,tI,t_,tT,tE,tA,tC,tR,tS,tL,tD,tM,tP,tW,tO,tk,tH,tF,tG,tB,tV,tU,tz,tZ,tY;let tq=2*t,tQ=tq+1;return{calendarDayTemperatureMax:e.calendarDayTemperatureMax||void 0,calendarDayTemperatureMin:e.calendarDayTemperatureMin||void 0,dayOfWeek:e.dayOfWeek||void 0,expirationTimeUtc:e.expirationTimeUtc||void 0,moonPhase:e.moonPhase||void 0,moonPhaseCode:e.moonPhaseCode||void 0,moonPhaseDay:e.moonPhaseDay||void 0,moonriseTimeLocal:e.moonriseTimeLocal||void 0,moonriseTimeUtc:e.moonriseTimeUtc||void 0,moonsetTimeLocal:e.moonsetTimeLocal||void 0,moonsetTimeUtc:e.moonsetTimeUtc||void 0,narrative:e.narrative||void 0,qpf:e.qpf||void 0,qpfSnow:e.qpfSnow||void 0,sunriseTimeLocal:e.sunriseTimeLocal||void 0,sunriseTimeUtc:e.sunriseTimeUtc||void 0,sunsetTimeLocal:e.sunsetTimeLocal||void 0,sunsetTimeUtc:e.sunsetTimeUtc||void 0,temperatureMax:e.temperatureMax||void 0,temperatureMin:e.temperatureMin||void 0,validTimeLocal:e.validTimeLocal||void 0,validTimeUtc:e.validTimeUtc||void 0,daypart:[{cloudCover:(null==l||null==(i=l.daypart)||null==(n=i[0])||null==(a=n.cloudCover)?void 0:a[tq])||void 0,dayOrNight:(null==l||null==(o=l.daypart)||null==(s=o[0])||null==(r=s.dayOrNight)?void 0:r[tq])||void 0,daypartName:(null==l||null==(u=l.daypart)||null==(c=u[0])||null==(d=c.daypartName)?void 0:d[tq])||void 0,iconCode:(null==l||null==(p=l.daypart)||null==(h=p[0])||null==(m=h.iconCode)?void 0:m[tq])||void 0,iconCodeExtend:(null==l||null==(g=l.daypart)||null==(x=g[0])||null==(v=x.iconCodeExtend)?void 0:v[tq])||void 0,narrative:(null==l||null==(N=l.daypart)||null==(y=N[0])||null==(f=y.narrative)?void 0:f[tq])||void 0,precipChance:(null==l||null==(j=l.daypart)||null==(w=j[0])||null==(b=w.precipChance)?void 0:b[tq])||void 0,precipType:(null==l||null==(T=l.daypart)||null==(_=T[0])||null==(I=_.precipType)?void 0:I[tq])||void 0,qpf:(null==l||null==(C=l.daypart)||null==(A=C[0])||null==(E=A.qpf)?void 0:E[tq])||void 0,qpfSnow:(null==l||null==(L=l.daypart)||null==(S=L[0])||null==(R=S.qpfSnow)?void 0:R[tq])||void 0,qualifierCode:(null==l||null==(P=l.daypart)||null==(M=P[0])||null==(D=M.qualifierCode)?void 0:D[tq])||void 0,qualifierPhrase:(null==l||null==(k=l.daypart)||null==(O=k[0])||null==(W=O.qualifierPhrase)?void 0:W[tq])||void 0,relativeHumidity:(null==l||null==(G=l.daypart)||null==(F=G[0])||null==(H=F.relativeHumidity)?void 0:H[tq])||void 0,snowRange:(null==l||null==(U=l.daypart)||null==(V=U[0])||null==(B=V.snowRange)?void 0:B[tq])||void 0,temperature:(null==l||null==(Y=l.daypart)||null==(Z=Y[0])||null==(z=Z.temperature)?void 0:z[tq])||void 0,temperatureHeatIndex:(null==l||null==(X=l.daypart)||null==(Q=X[0])||null==(q=Q.temperatureHeatIndex)?void 0:q[tq])||void 0,temperatureWindChill:(null==l||null==(K=l.daypart)||null==(J=K[0])||null==($=J.temperatureWindChill)?void 0:$[tq])||void 0,thunderCategory:(null==l||null==(el=l.daypart)||null==(et=el[0])||null==(ee=et.thunderCategory)?void 0:ee[tq])||void 0,thunderIndex:(null==l||null==(ei=l.daypart)||null==(en=ei[0])||null==(ea=en.thunderIndex)?void 0:ea[tq])||void 0,uvDescription:(null==l||null==(eo=l.daypart)||null==(es=eo[0])||null==(er=es.uvDescription)?void 0:er[tq])||void 0,uvIndex:(null==l||null==(eu=l.daypart)||null==(ec=eu[0])||null==(ed=ec.uvIndex)?void 0:ed[tq])||void 0,windDirection:(null==l||null==(ep=l.daypart)||null==(eh=ep[0])||null==(em=eh.windDirection)?void 0:em[tq])||void 0,windDirectionCardinal:(null==l||null==(eg=l.daypart)||null==(ex=eg[0])||null==(ev=ex.windDirectionCardinal)?void 0:ev[tq])||void 0,windPhrase:(null==l||null==(eN=l.daypart)||null==(ey=eN[0])||null==(ef=ey.windPhrase)?void 0:ef[tq])||void 0,windSpeed:(null==l||null==(ej=l.daypart)||null==(ew=ej[0])||null==(eb=ew.windSpeed)?void 0:eb[tq])||void 0,wxPhraseLong:(null==l||null==(eT=l.daypart)||null==(e_=eT[0])||null==(eI=e_.wxPhraseLong)?void 0:eI[tq])||void 0,wxPhraseShort:(null==l||null==(eC=l.daypart)||null==(eA=eC[0])||null==(eE=eA.wxPhraseShort)?void 0:eE[tq])||void 0},{cloudCover:(null==l||null==(eL=l.daypart)||null==(eS=eL[0])||null==(eR=eS.cloudCover)?void 0:eR[tQ])||void 0,dayOrNight:(null==l||null==(eP=l.daypart)||null==(eM=eP[0])||null==(eD=eM.dayOrNight)?void 0:eD[tQ])||void 0,daypartName:(null==l||null==(ek=l.daypart)||null==(eO=ek[0])||null==(eW=eO.daypartName)?void 0:eW[tQ])||void 0,iconCode:(null==l||null==(eG=l.daypart)||null==(eF=eG[0])||null==(eH=eF.iconCode)?void 0:eH[tQ])||void 0,iconCodeExtend:(null==l||null==(eU=l.daypart)||null==(eV=eU[0])||null==(eB=eV.iconCodeExtend)?void 0:eB[tQ])||void 0,narrative:(null==l||null==(eY=l.daypart)||null==(eZ=eY[0])||null==(ez=eZ.narrative)?void 0:ez[tQ])||void 0,precipChance:(null==l||null==(eX=l.daypart)||null==(eQ=eX[0])||null==(eq=eQ.precipChance)?void 0:eq[tQ])||void 0,precipType:(null==l||null==(eK=l.daypart)||null==(eJ=eK[0])||null==(e$=eJ.precipType)?void 0:e$[tQ])||void 0,qpf:(null==l||null==(e2=l.daypart)||null==(e1=e2[0])||null==(e0=e1.qpf)?void 0:e0[tQ])||void 0,qpfSnow:(null==l||null==(e3=l.daypart)||null==(e4=e3[0])||null==(e5=e4.qpfSnow)?void 0:e5[tQ])||void 0,qualifierCode:(null==l||null==(e8=l.daypart)||null==(e7=e8[0])||null==(e6=e7.qualifierCode)?void 0:e6[tQ])||void 0,qualifierPhrase:(null==l||null==(tt=l.daypart)||null==(te=tt[0])||null==(e9=te.qualifierPhrase)?void 0:e9[tQ])||void 0,relativeHumidity:(null==l||null==(tn=l.daypart)||null==(ta=tn[0])||null==(tl=ta.relativeHumidity)?void 0:tl[tQ])||void 0,snowRange:(null==l||null==(ts=l.daypart)||null==(tr=ts[0])||null==(ti=tr.snowRange)?void 0:ti[tQ])||void 0,temperature:(null==l||null==(tc=l.daypart)||null==(td=tc[0])||null==(to=td.temperature)?void 0:to[tQ])||void 0,temperatureHeatIndex:(null==l||null==(th=l.daypart)||null==(tm=th[0])||null==(tu=tm.temperatureHeatIndex)?void 0:tu[tQ])||void 0,temperatureWindChill:(null==l||null==(tx=l.daypart)||null==(tv=tx[0])||null==(tp=tv.temperatureWindChill)?void 0:tp[tQ])||void 0,thunderCategory:(null==l||null==(ty=l.daypart)||null==(tf=ty[0])||null==(tg=tf.thunderCategory)?void 0:tg[tQ])||void 0,thunderIndex:(null==l||null==(tw=l.daypart)||null==(tb=tw[0])||null==(tN=tb.thunderIndex)?void 0:tN[tQ])||void 0,uvDescription:(null==l||null==(t_=l.daypart)||null==(tI=t_[0])||null==(tj=tI.uvDescription)?void 0:tj[tQ])||void 0,uvIndex:(null==l||null==(tA=l.daypart)||null==(tE=tA[0])||null==(tT=tE.uvIndex)?void 0:tT[tQ])||void 0,windDirection:(null==l||null==(tS=l.daypart)||null==(tR=tS[0])||null==(tC=tR.windDirection)?void 0:tC[tQ])||void 0,windDirectionCardinal:null!=(tY=null==l||null==(tM=l.daypart)||null==(tD=tM[0])||null==(tL=tD.windDirectionCardinal)?void 0:tL[tQ])?tY:void 0,windPhrase:(null==l||null==(tO=l.daypart)||null==(tW=tO[0])||null==(tP=tW.windPhrase)?void 0:tP[tQ])||void 0,windSpeed:(null==l||null==(tF=l.daypart)||null==(tH=tF[0])||null==(tk=tH.windSpeed)?void 0:tk[tQ])||void 0,wxPhraseLong:(null==l||null==(tV=l.daypart)||null==(tB=tV[0])||null==(tG=tB.wxPhraseLong)?void 0:tG[tQ])||void 0,wxPhraseShort:(null==l||null==(tZ=l.daypart)||null==(tz=tZ[0])||null==(tU=tz.wxPhraseShort)?void 0:tU[tQ])||void 0}]}})},15008:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CurrentDetailsBlock:()=>Q,default:()=>X});var a=l(76792),n=l(44685),i=l(46593),r=l(44615),s=l(86942),o=l(55198),d=l(75302),c=l(32035),u=l(71666),m=l(76088),h=l(14124),p=l(42292),v=l(77962),x=l(47421),g=l(68751),f=l(48260),y=l(69585),N=l(40640),b=l(23233);let w=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"temperature"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M6.5 8.63V3a2 2 0 1 0-4 0v5.63a3.5 3.5 0 1 0 4 0M4.5 2a1 1 0 0 1 1 1v3.5h-2V3a1 1 0 0 1 1-1m0 12a2.5 2.5 0 0 1-1.25-4.665l.25-.14V7.5h2v1.695l.25.14A2.5 2.5 0 0 1 4.5 14",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M9.938 2.466a.5.5 0 0 1 .5-.5h4.087a.5.5 0 0 1 0 1h-4.087a.5.5 0 0 1-.5-.5M10.438 4.996a.5.5 0 1 0 0 1h2.63a.5.5 0 0 0 0-1zM9.938 11.509a.5.5 0 0 1 .5-.5h2.63a.5.5 0 0 1 0 1h-2.63a.5.5 0 0 1-.5-.5M10.438 8.002a.5.5 0 1 0 0 1h4.087a.5.5 0 0 0 0-1z"})]})]})}),j=p.forwardRef((e,t)=>(0,a.jsx)(b.h,{ref:t,icon:w,...e}));j.displayName="Temperature";var I=l(60393),_=l(75848),T=l(56157),E=l(49694),A=l(8366),C=l(55406),R=l(38098),S=l(28004),L=l(46670),D=l(48834),M=l(63236),P=l(43436),W=l(81692),O=l(23376),k=l(21021);let H=(e,t)=>{var l,a,n,i,r,s,o,d,c,u,m,h;if(!e)return!1;let{top:p,right:v,bottom:x,left:g,width:f,height:y}=e.getBoundingClientRect(),N={t:x,r:window.innerWidth-g,b:window.innerHeight-p,l:v},b={x:(null!=(o=null==t||null==(l=t.threshold)?void 0:l.x)?o:0)*f,y:(null!=(d=null==t||null==(a=t.threshold)?void 0:a.y)?d:0)*y},w={top:null!=(c=null==t||null==(n=t.offset)?void 0:n.top)?c:0,right:null!=(u=null==t||null==(i=t.offset)?void 0:i.right)?u:0,bottom:null!=(m=null==t||null==(r=t.offset)?void 0:r.bottom)?m:0,left:null!=(h=null==t||null==(s=t.offset)?void 0:s.left)?h:0};return N.t>w.top+b.y&&N.r>w.right+b.x&&N.b>w.bottom+b.y&&N.l>w.left+b.x};var F=l(62596),G=l(99838);let B=e=>{let{date:t,normalizeString:l=!0,resetToStartOfHour:a,resetToOffset:n,resetToStartOfMonth:i,resetToEndOfMonth:r,resetToStartOfWeek:s,resetToEndOfWeek:o,resetToHour:d,daysFromDate:c,daysBeforeDate:u,monthsBeforeDate:m,monthsAfterDate:h,yearsBeforeDate:p,yearsAfterDate:v}=e;if(!t)return new Date;let x=l||"string"!=typeof t?(0,G.$)(t):t,g=/([+-]\d{2}:?\d{2})$/,f=x.match(g),y=new Date(x.replace(g,""));if(c&&y.setDate(y.getDate()+c),u&&y.setDate(y.getDate()-u),m&&y.setMonth(y.getMonth()-m),h&&y.setMonth(y.getMonth()+h),a&&(y.setMinutes(0),y.setSeconds(0)),n&&f){let e,t=f[0];t.includes(":")?[,e]=t.split(":"):e=t.slice(-2),y.setMinutes(parseInt(e||"0",10)),y.setSeconds(0)}if(i&&y.setDate(1),r){let e=y.getMonth(),t=y.getFullYear();y.setMonth(e+1),y.setDate(0),y.setFullYear(t)}return s&&y.setDate(y.getDate()-y.getDay()),o&&y.setDate(y.getDate()-y.getDay()+6),d&&y.setHours(d),p&&y.setFullYear(y.getFullYear()-1),v&&y.setFullYear(y.getFullYear()+1),y},V=(0,a.jsxs)("svg",{children:[(0,a.jsx)("title",{children:"Daylight"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"12",fill:"#FFF"}),(0,a.jsx)("path",{fill:"#FFB900",d:"M18.405 17.661a1 1 0 0 1-1.437 1.391l-1.665-1.72a1 1 0 1 1 1.437-1.39l1.665 1.72zm-5.541 2.651a1 1 0 0 1-2 0v-2.366a1 1 0 1 1 2 0v2.366zm-6.718-1.624a1 1 0 0 1-1.357-1.469l1.758-1.624a1 1 0 1 1 1.357 1.47l-1.758 1.623zm-2.753-5.769a1 1 0 1 1 .002-2l2.422.001a1 1 0 0 1-.001 2l-2.423-.001zm1.77-6.115A1 1 0 0 1 6.6 5.414l1.664 1.719a1 1 0 0 1-1.436 1.391l-1.665-1.72zm5.751-3.391a1 1 0 1 1 2 0v2.366a1 1 0 0 1-2 0V3.413zm6.5 1.903a1 1 0 1 1 1.356 1.47l-1.757 1.623a1 1 0 1 1-1.357-1.47l1.758-1.623zm3.005 6.114a1 1 0 0 1-.002 2l-2.422-.001a1 1 0 0 1 .001-2l2.423.001z"}),(0,a.jsx)("ellipse",{fill:"#FFB900",cx:"11.85",cy:"11.935",rx:"3.225",ry:"3.256"})]}),U=(0,p.memo)(e=>{var t;let{isLoading:l,sunriseTimeLocal:n,sunsetTimeLocal:i,ianaTimeZone:r,validTimeLocal:s,width:d=100,className:c}=e,u=null==(t=(0,o.useParams)())?void 0:t.locale,m=(0,p.useRef)(null),h=(0,p.useRef)(null),[v,x]=(0,p.useState)(0),f=d/2,y=(0,p.useMemo)(()=>({formattedTime:(0,F.P)({date:n,timeZone:r,locale:u,minutes:!0}),dateTime:B({date:n})}),[r,u,n]),N=(0,p.useMemo)(()=>({formattedTime:(0,F.P)({date:i,timeZone:r,locale:u,minutes:!0}),dateTime:B({date:i})}),[r,u,i]),b=(0,p.useMemo)(()=>B({date:s}),[s]),w=N.dateTime.getTime()-y.dateTime.getTime(),j=(b.getTime()-y.dateTime.getTime())*180/w,I=(e,t)=>{let l="x"===e?Math.cos:Math.sin;return Math.round(1e4*(("y"===e?f-6:f)*(l((t+180)*Math.PI/180)+1)+1.5))/1e4},_=(0,p.useCallback)(()=>{let e=0,t=setInterval(()=>{e>=j?clearInterval(t):x(e=Math.min(e+1,j))},10)},[j]),T=(0,p.useMemo)(()=>(0,W.n)(()=>{m.current&&H(m.current)&&y&&N&&(_(),window.removeEventListener("scroll",T))},400),[_,y,N]);(0,p.useEffect)(()=>(y&&N&&(m.current&&H(m.current)?_():window.addEventListener("scroll",T)),()=>{window.removeEventListener("scroll",T)}),[_,T,y,N]);let E=b.getTime()=y.dateTime.getTime();return y&&N?(0,a.jsx)("div",{ref:m,className:c,children:(0,a.jsxs)("div",{"data-testid":"sunriseSunsetContainer",className:"flex flex-col items-center",children:[(0,a.jsxs)("svg",{"data-testid":"TwcSunChartGraph",className:"mx-auto my-0 block",width:d+27,height:d/2+27-6,children:[(0,a.jsx)("path",{d:"M ".concat(-13.5," ").concat(f-13.5," a 1 1 0 0 0 ").concat(d," 0"),className:"transform-[rotate(180deg)] fill-none stroke-[#252422] stroke-3 [stroke-linecap:round]",style:{transformOrigin:"".concat(f,"px ").concat(f,"px")}}),E&&(0,a.jsx)("g",{ref:h,style:{transform:"translate(".concat(I("x",v),"px, ").concat(I("y",v),"px)")},children:V})]}),(0,a.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,a.jsxs)("div",{"data-testid":"SunriseValue",className:"flex items-center justify-end gap-1.25",children:[(0,a.jsx)(O.m,{}),(0,a.jsx)(g.Ay,{isLoading:l,skeletonClassName:"h-4 w-12",variant:"Body.S",className:"text-sm font-normal",children:y.formattedTime.toLowerCase()})]}),(0,a.jsxs)("div",{"data-testid":"SunsetValue",className:"flex items-center justify-end gap-1.25",children:[(0,a.jsx)(k.d,{}),(0,a.jsx)(g.Ay,{isLoading:l,skeletonClassName:"h-4 w-12",variant:"Body.S",className:"text-sm font-normal",children:N.formattedTime.toLowerCase()})]})]})]})}):null}),z={temperatureMax:-1,temperatureMin:-1,windSpeed:-1,windDirection:-1,windDirectionCardinal:m.WindDirectionCardinal.NORTH_NORTHEAST,relativeHumidity:-1,temperatureDewPoint:-1,pressureAltimeter:-1,pressureTendencyCode:m.PressureTendencyCode.STEADY,uvIndex:-1,visibility:-1},Z=e=>{var t;let{currentDetails:l,location:n,isLoading:i}=e,r=(0,x.c3)("CurrentDetails"),s=(0,x.c3)("DetailsTable"),o=(0,d.md)(c.Yt),m=null==(t=(0,u.xP)(o))?void 0:t.code,h=(0,p.useMemo)(()=>((e,t,l)=>[{Icon:j,label:"".concat(t("high")," / ").concat(t("low")),content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C.B,{value:e.temperatureMax})," / ",(0,a.jsx)(C.B,{value:e.temperatureMin})]})},{Icon:I.Z,label:t("wind"),content:(0,a.jsx)(R.Z,{windSpeed:e.windSpeed,units:l,windDirection:e.windDirection,windDirectionCardinal:e.windDirectionCardinal,displayMode:"directionalAndCardinal"})},{Icon:_.K,label:t("humidity"),content:(0,a.jsx)(S.N,{value:e.relativeHumidity})},{Icon:T.$,label:t("dewPoint"),content:(0,a.jsx)(C.B,{value:e.temperatureDewPoint})},{Icon:E.S,label:t("pressure"),content:(0,a.jsx)(L.S,{pressureAltimeter:e.pressureAltimeter,pressureTendencyCode:e.pressureTendencyCode,units:l})},{Icon:A.o,label:t("uvIndex"),content:(0,a.jsx)(D.M,{uvIndex:e.uvIndex})},{Icon:N.S,label:t("visibility"),content:(0,a.jsx)(M.b,{visibility:e.visibility,units:l})},{Icon:t=>(0,a.jsx)(P.r,{...t,moonPhaseCode:e.moonPhaseCode}),label:t("moonPhase"),content:e.moonPhase}])(i||!l?z:l,s,m),[i,l,s,m]),v=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mb-3 flex w-full items-end @md/currentDetails:mb-4",children:[(0,a.jsxs)("div",{className:"grow-1",children:[(0,a.jsx)(g.Ay,{className:"text-sm leading-normal @md/currentDetails:text-base",children:r("feelsLike")}),(0,a.jsx)(g.Ay,{variant:"Display.L",className:"text-[40px] leading-normal font-medium @md/currentDetails:text-5xl",isLoading:i,skeletonClassName:"mt-2 h-12 w-16 @md:h-14 @md:w-22",children:(0,a.jsx)(C.B,{value:null==l?void 0:l.temperatureFeelsLike})})]}),(0,a.jsx)(U,{isLoading:i,sunriseTimeLocal:(null==l?void 0:l.sunriseTimeLocal)||"",sunsetTimeLocal:(null==l?void 0:l.sunsetTimeLocal)||"",validTimeLocal:(null==l?void 0:l.validTimeLocal)||"",ianaTimeZone:null==n?void 0:n.ianaTimeZone,className:"mb-1 @md/currentDetails:mb-2"})]}),(0,a.jsx)("div",{className:"grid gap-x-8 gap-y-0 @md/currentDetails:grid-cols-2",children:h.map(e=>{let{Icon:t,label:n,content:r}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-1.5 border-t py-3 [&:first-child]:border-none @md/currentDetails:[&:nth-child(-n+2)]:border-none",children:[(0,a.jsx)(t,{className:"size-4 @md/currentDetails:size-5"}),(0,a.jsx)(g.Ay,{variant:"Body.M",className:"grow-1 font-normal whitespace-nowrap @2xl/currentDetails:text-lg",children:n}),(0,a.jsx)(g.Ay,{isLoading:i||!l,skeletonClassName:"h-6 w-20",variant:"Body.M",className:"text-right leading-[1.5] font-normal tracking-normal @2xl/currentDetails:text-lg",children:r})]},n)})})]});return(0,a.jsxs)(y.Zp,{"aria-label":r("weatherToday"),className:"@container/currentDetails","data-testid":"current-details",children:[(0,a.jsx)(y.aR,{text:i?void 0:"".concat(r("weatherToday")," ").concat(null==n?void 0:n.presentationName),children:i?(0,a.jsx)("span",{className:(0,f.cn)("square inline-block h-6 w-[70%] animate-pulse rounded bg-gray-200")}):null}),(0,a.jsx)(y.Wu,{className:"p-0",children:v})]})};var Y=l(81100);let q=e=>{let{location:t,initializing:l,initialError:n}=e,{effectiveLocation:i,isLocationLoading:x}=(0,Y.s)({location:t}),{currentDetails:g,loading:f}=(e=>{var t,l;let a=(0,d.md)(c.Yt),n=null==(t=(0,u.xP)(a))?void 0:t.code,i=null==(l=(0,o.useParams)())?void 0:l.locale,x=(0,v.A)(),{data:g,error:f,isLoading:y}=(0,r.Ay)(e?["get-current-observations",e.geocode,n,i]:null,e=>{let[t,l,a,n]=e;return(0,s.z)({geocode:l,units:a,language:n})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:N,error:b,isLoading:w}=(0,r.Ay)(e?["get-daily-forecast",e.geocode,m.ForecastDuration.THREE_DAY,n,i,"KR"===x?x:void 0]:null,e=>{let[t,l,a,n,i,r]=e;return(0,h.v1)({geocode:l,units:n,language:i,duration:a,cscCountryCode:r})},{revalidateOnFocus:!1,dedupingInterval:6e4}),j=null==N?void 0:N[0];return{currentDetails:(0,p.useMemo)(()=>g&&j&&{...g,temperatureMin:j.temperatureMin,temperatureMax:j.temperatureMax,moonPhase:j.moonPhase,moonPhaseCode:j.moonPhaseCode},[g,j]),loading:y||w,error:f||b}})(i),y=l||x||f||!g||!i;return n?null:(0,a.jsx)(Z,{location:i,currentDetails:g,isLoading:y})},Q=e=>{let{locationProvider:t,locationEntry:l}=e,r="specified"===t,{specifiedLocationData:s,specifiedLocationError:o,isSpecifiedLocationLoading:d}=(0,i.v)(r?l:null),c=r&&s&&l?(0,n.I)(s):void 0;return(0,a.jsx)(q,{location:c,initializing:r&&d,initialError:r?o:void 0})},X=Q},18556:(e,t,l)=>{"use strict";l.d(t,{J:()=>a});let a=e=>Array.isArray(e)&&e.length>0},20712:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.r(t),l.d(t,{HourlyForecastBlock:()=>d,default:()=>c});var n=l(76792),i=l(88572),r=l(44685),s=l(46593),o=e([i]);i=(o.then?(await o)():o)[0];let d=e=>{let{locationProvider:t,locationEntry:l,simplifiedVersion:a}=e,o="specified"===t,{specifiedLocationData:d,specifiedLocationError:c,isSpecifiedLocationLoading:u}=(0,s.v)(o?l:null),m=o&&d&&l?(0,r.I)(d):void 0;return(0,n.jsx)(i.A,{location:m,simplifiedVersion:null!=a&&a,initializing:o&&u,initialError:o?c:void 0})},c=d;a()}catch(e){a(e)}})},21021:(e,t,l)=>{"use strict";l.d(t,{d:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunset"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",children:(0,a.jsx)("path",{d:"M14.499 13.502a.5.5 0 0 1 0 1H1.5a.5.5 0 0 1 0-1zM3 11.003a.5.5 0 0 1 0 1H1.5a.5.5 0 0 1 0-1zM14.5 11.003a.5.5 0 0 1 0 1H13a.5.5 0 0 1 0-1zM8 9a3 3 0 0 1 2.958 2.502c.046.272-.183.498-.459.498s-.493-.227-.562-.494A2.006 2.006 0 0 0 8 10a2.004 2.004 0 0 0-1.937 1.506c-.07.267-.287.494-.563.494s-.505-.226-.459-.498A3 3 0 0 1 8 9M3.05 7.053a.5.5 0 0 1 .707 0l1.046 1.046a.5.5 0 0 1-.707.707L3.05 7.76a.5.5 0 0 1 0-.707M12.242 7.053a.5.5 0 0 1 .707.707l-1.046 1.046a.5.5 0 0 1-.707-.707zM8 2.003a.5.5 0 0 1 .5.5v3.585l.941-.939a.5.5 0 0 1 .705.706L8.396 7.607a.56.56 0 0 1-.79 0L5.853 5.855a.5.5 0 0 1 .705-.706l.942.939V2.503a.5.5 0 0 1 .5-.5"})})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Sunset"},21230:(e,t,l)=>{"use strict";l.d(t,{c:()=>a});let a={"@3xs":256,"@2xs":288,"@xs":320,"@sm":384,"@md":448,"@lg":512,"@xl":576,"@2xl":672,"@3xl":768,"@4xl":896,"@5xl":1024,"@6xl":1152,"@7xl":1280}},23376:(e,t,l)=>{"use strict";l.d(t,{m:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunrise"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",children:(0,a.jsx)("path",{d:"M14.499 13.5a.5.5 0 1 1 0 1H1.5a.5.5 0 0 1 0-1zM3 11a.5.5 0 0 1 0 1H1.5a.5.5 0 1 1 0-1zM8 9a3 3 0 0 1 2.958 2.502c.046.272-.183.497-.459.497s-.493-.227-.562-.494A2 2 0 0 0 8 10a2 2 0 0 0-1.937 1.505c-.069.267-.287.494-.563.494s-.504-.225-.459-.497A3 3 0 0 1 8 9M14.5 11a.5.5 0 0 1 0 1H13a.5.5 0 1 1 0-1zM3.05 7.05a.5.5 0 0 1 .708 0l1.045 1.046a.5.5 0 0 1-.707.707L3.05 7.757a.5.5 0 0 1 0-.707M12.242 7.05a.5.5 0 0 1 .707.707l-1.046 1.046a.5.5 0 0 1-.707-.707zM7.605 2.397a.56.56 0 0 1 .79 0l1.753 1.753a.5.5 0 0 1-.706.706L8.5 3.917v3.585a.5.5 0 0 1-1 0V3.917l-.942.939a.5.5 0 0 1-.705-.706z"})})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Sunrise"},25115:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BuyButtonBlock:()=>u,default:()=>m});var a=l(76792),n=l(42292),i=l(84057),r=l(30505),s=l(48260);let o=(0,r.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 my-1 mx-1 py-2 px-4",{variants:{variant:{"bg-brand-200":"bg-brand-200 text-black hover:bg-brand-200/90","bg-brand-300":"bg-brand-300 text-white hover:bg-brand-300/90","bg-yellow-400":"bg-yellow-400 text-black hover:bg-yellow-400/90","bg-green-600":"bg-green-600 text-white hover:bg-green-500/90","bg-violet-500":"bg-violet-500 text-white hover:bg-violet-500/90","bg-gray-900":"bg-gray-900 text-white hover:bg-gray-900/90"},display:{block:"block",inline:"inline-block"}},defaultVariants:{variant:"bg-gray-900",display:"block"}}),d=n.forwardRef((e,t)=>{let{className:l,variant:n,display:r,inline:d=!1,asChild:c=!1,...u}=e,m=c?i.DX:"button";return(0,a.jsx)(m,{className:(0,s.cn)(o({variant:n,display:d?"inline":r,className:l})),ref:t,...u})});d.displayName="Button";var c=l(9198);let u=e=>{let{label:t,url:l,variant:n="bg-gray-900",inline:i=!1,isAffiliate:r=!0}=e;return(0,a.jsx)("div",{className:i?"inline-block":"block",children:(0,a.jsx)(c.default,{href:l,target:"_blank",rel:r?"nofollow noopener noreferrer":"noopener",children:(0,a.jsx)(d,{variant:n,inline:!1,className:"cursor-pointer whitespace-nowrap",children:t})})})},m=u},26106:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TaboolaBlock:()=>x,TaboolaBlockView:()=>g,default:()=>f});var a=l(76792),n=l(42292),i=l(55198),r=l(54909),s=l(58010),o=l(48260),d=l(70336),c=l(25319),u=l(75302),m=l(13942),h=l(64996);let p=function(){let{DISCONNECTED_user:e}=(0,c.J)(),[t,l]=(0,n.useState)(!1),a=(0,u.md)(h.W);return(0,n.useEffect)(()=>{a&&l((()=>{try{var e,t,l,a;if(void 0!==(null==(e=window)?void 0:e.DprSdk)){let e=null==(l=window)||null==(t=l.DprSdk)?void 0:t.getFeatureFlags();return null==(a=null==e?void 0:e.taboola)||a}return!0}catch(e){return!0}})())},[a]),t&&!(null==e?void 0:e.isUserPremium)},v=(()=>{let e="",t=!1;return()=>({pushTaboolaCommand:(0,n.useCallback)((l,a,n)=>{window._taboola=window._taboola||[],a!==e&&(""===e||t||(window._taboola.push({notify:"newPageLoad"}),t=!0),e=a,t=!1),window._taboola.push({[n]:"auto",url:a}),window._taboola.push(l),window._taboola.push({flush:!0})},[])})})(),x=e=>{let{showTaboola:t=!0,...l}=e,{user:n}=(0,c.J)(),i=(0,u.md)(m.a),r=p();return n.isUserPremium||i||!r||!t?null:(0,a.jsx)(g,{...l})},g=e=>{let{taboolaId:t,taboolaUiMode:l,placementName:c,targetType:u,title:m="",pageType:h,taboolaType:p}=e,x=(0,n.useRef)(null),[g,f]=(0,n.useState)("pending"),y=(0,i.usePathname)(),{isTaboolaLoaded:N}=(()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(e)return;if(document.getElementById("tb_loader_script"))return void t(!0);window._taboola=window._taboola||[],window.performance&&"function"==typeof window.performance.mark&&window.performance.mark("tbl_ic");let l=document.createElement("script");l.src="//cdn.taboola.com/libtrc/theweatherchannel/loader.js",l.id="tb_loader_script",l.async=!0,l.onload=()=>{t(!0)},l.onerror=()=>{console.error("Failed to load Taboola script.")},document.body.appendChild(l)},[e]),{isTaboolaLoaded:e}})(),{pushTaboolaCommand:b}=v(),w=(0,n.useMemo)(()=>{let e=(0,r.j)();return"".concat(e).concat(y||"")},[y]),j="empty"!==g,I=(0,n.useMemo)(()=>{let e="taboola-below-content-thumbnails---video"===t||"taboola-below-content-thumbnails-video"===t;return{container:j?"generic"!==p?"wx-media-object gradient-overlay thirdparty-feed border":e?"gap-2 py-0 md:rounded-md max-sm:rounded-none":"gap-2 py-5":"hidden",headerContainer:e?"mx-4 px-0 pt-6 max-sm:border-t max-sm:border-gray-200":"px-4",header:e?"text-[20px] font-semibold":"text-xl font-semibold",contentContainer:"z-40 px-4"}},[t,p,j]);return((0,n.useEffect)(()=>{N&&"pending"===g&&b({mode:l,container:t,placement:c,target_type:u},w,h)},[N,g,b,t,l,c,u,w,h]),(0,n.useEffect)(()=>{let e=x.current;if(!e||!N)return;let t=new MutationObserver((t,l)=>{try{e.hasChildNodes()?(f("populated"),l.disconnect()):"pending"!==g&&(f("empty"),l.disconnect())}catch(e){console.warn("Error in TaboolaBlock content observer",e)}});return t.observe(e,{childList:!0}),e.hasChildNodes()&&(f("populated"),t.disconnect()),()=>t.disconnect()},[N,g]),N)?"invisible"===p?(0,a.jsx)("div",{id:t,ref:x}):(0,a.jsxs)("section",{className:"@container",children:[(0,a.jsx)(s.DebugCollector,{componentName:"TaboolaBlock",data:{props:{taboolaId:t,taboolaUiMode:l,placementName:c,targetType:u,pageUrl:w,pageType:h,taboolaContentState:g,shouldShow:j}}}),"generic"===p?(0,a.jsxs)(d.Zp,{className:I.container,children:[m&&j&&(0,a.jsx)(d.aR,{className:I.headerContainer,children:(0,a.jsx)("h2",{className:I.header,children:m})}),(0,a.jsx)(d.Wu,{className:(0,o.cn)(I.contentContainer),children:(0,a.jsx)("div",{id:t,className:"bg-none",ref:x})})]}):(0,a.jsxs)("div",{className:I.container,children:[m&&j&&(0,a.jsx)("header",{"aria-label":"Taboola",className:"panel-heading mb-2",children:(0,a.jsx)("h2",{"data-testid":"taboolaHeading",className:"text-lg font-medium",children:m})}),(0,a.jsx)("div",{id:t,className:"flex min-h-[300px] w-full items-center justify-center",ref:x})]})]}):null},f=x},27301:(e,t,l)=>{"use strict";t.p_=r;let a=l(17681),n=l(36762),i=l(84015);async function r(e){let t=(0,i.getEmailPreferencesSetUrlConfig)(),l=(0,a.urlFrom)(t),r=JSON.stringify(function(e){let{subscriptions:t,email:l,mParticleId:a}=e,n={};return t&&(n.subscriptions=t),l&&(n.email=l),a&&(n.mParticleId=a),n}(e)),s=await fetch(l,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:r});if(200===s.status||400===s.status){let e=await s.json();return console.log({json:e}),e}return(0,n.handleFetchResponse)(s)}},28004:(e,t,l)=>{"use strict";l.d(t,{N:()=>r});var a=l(76792),n=l(42292),i=l(48260);let r=(0,n.memo)(e=>{let{value:t,className:l,roundValue:n}=e,r=n?function(e){return e%5>=2.5?5*parseInt(String(e/5),10)+5:5*parseInt(String(e/5),10)}(t):t;return(0,a.jsx)("span",{"data-testid":"PercentageValue",className:(0,i.cn)(l),children:Number.isFinite(r)&&r>=0?"".concat(r,"%"):"--"})})},29814:(e,t,l)=>{"use strict";l.d(t,{W:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.5 1.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M7.5 13.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M2.5 8.5h-1a.5.5 0 0 1 0-1h1a.5.5 0 0 1 0 1M11.536 12.243l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 0 0-.707.707M3.757 4.464l-.707-.707a.5.5 0 1 1 .707-.707l.707.707a.5.5 0 0 1-.707.707M12.243 4.464l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 0 0 .707.707M4.464 12.243l-.707.707a.5.5 0 1 1-.707-.707l.707-.707a.5.5 0 1 1 .707.707M8.72 10.568A2.67 2.67 0 0 1 5.333 8 2.667 2.667 0 0 1 9.85 6.079c.25-.234.55-.414.883-.524a3.667 3.667 0 1 0-.125 5.021H9.217z"}),(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.489 5.9c-.985 0-1.795.747-1.913 1.71a1.25 1.25 0 0 0-1.01 1.231c0 .633.465 1.159 1.07 1.24l.007.002h.004l.148.01h2.97q.07.006.14.006c.845 0 1.528-.694 1.528-1.548 0-.738-.509-1.356-1.192-1.512a1.93 1.93 0 0 0-1.752-1.14m-1.203 1.847a1.22 1.22 0 0 1 1.203-1.133c.488 0 .92.301 1.108.749l.128.305.328.062c.365.07.66.402.66.82a.82.82 0 0 1-.883.831l-.03-.003H9.823l-.107-.007a.53.53 0 0 1-.429-.53.53.53 0 0 1 .455-.534l.503-.06z",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="FairMostlyClearDay"},30253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHourlyAirQualityForecastUrlConfig=function(e){let{geocode:t,language:l,scale:a,duration:n}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/globalAirQuality/forecast/hourly/".concat(n),query:{geocode:t,language:l,scale:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},30596:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CurrentConditionsBlock:()=>z,default:()=>Z});var a=l(76792),n=l(42292),i=l(44615),r=l(81100),s=l(86942),o=l(14124),d=l(76159),c=l(11904),u=l(76088),m=l(43716),h=l(46828),p=l(68751),v=l(48260);let x=e=>{let{children:t,direction:l="horizontal",height:i,width:r,textVariant:s="Display.L",textColor:o="inverse",translateDistance:d,transitionDuration:c="500ms",className:u,transitionClassName:m,isLoading:h,skeletonClassName:x}=e,[g,f]=(0,n.useState)(!1);(0,n.useEffect)(()=>{g||h||setTimeout(()=>{f(!0)},0)},[g,h]);let y="horizontal"===l?"translateX":"translateY";return(0,a.jsx)(p.Ay,{isLoading:h,skeletonClassName:x,elementType:"div",className:(0,v.cn)("w-max overflow-hidden",u),variant:s,color:o,style:{height:i,width:r},children:(0,a.jsx)("span",{className:(0,v.cn)("transform: flex transition-transform",m),style:{transitionDuration:c,flexDirection:"horizontal"===l?"row":"column",transform:g?"".concat(y,"(-").concat(d,")"):"".concat(y,"(0px)")},children:t})})};var g=l(11340);let f="https://s.w-x.co/WeatherImages_Web/WeatherImage_",y=[320,480,640,800],N=[{name:"Tornadoes",iconCodes:[0],dayVariants:2,nightVariants:2},{name:"TropicalStorms",iconCodes:[1,2],dayVariants:2,nightVariants:2},{name:"StrongStorms",iconCodes:[3,4],dayVariants:2,nightVariants:2},{name:"RainAndSnow",iconCodes:[5,7],dayVariants:2,nightVariants:2},{name:"RainAndSleet",iconCodes:[6,10,35],dayVariants:2,nightVariants:2},{name:"FreezingDrizzle",iconCodes:[8],dayVariants:2,nightVariants:2},{name:"Drizzle",iconCodes:[9,11,39],dayVariants:2,nightVariants:2},{name:"Rain",iconCodes:[12],dayVariants:2,nightVariants:2},{name:"Flurries",iconCodes:[13],dayVariants:2,nightVariants:2},{name:"SnowShowers",iconCodes:[14,16],dayVariants:2,nightVariants:2},{name:"BlowingSnow",iconCodes:[15,25],dayVariants:2,nightVariants:2},{name:"Hail",iconCodes:[17,18],dayVariants:2,nightVariants:2},{name:"BlowingSand",iconCodes:[19],dayVariants:2,nightVariants:2},{name:"Foggy",iconCodes:[20],dayVariants:2,nightVariants:2},{name:"Haze",iconCodes:[21],dayVariants:2,nightVariants:2},{name:"Smoke",iconCodes:[22],dayVariants:2,nightVariants:2},{name:"Breezy",iconCodes:[23,24],dayVariants:2,nightVariants:2},{name:"Cloudy",iconCodes:[26],dayVariants:2,nightVariants:2},{name:"MostlyCloudy",iconCodes:[27],dayVariants:null,nightVariants:2},{name:"MostlyCloudy",iconCodes:[28],dayVariants:5,nightVariants:null},{name:"PartlyCloudy",iconCodes:[29],dayVariants:null,nightVariants:2},{name:"PartlyCloudy",iconCodes:[30],dayVariants:5,nightVariants:null},{name:"Clear",iconCodes:[31],dayVariants:null,nightVariants:2},{name:"Sunny",iconCodes:[32,36],dayVariants:4,nightVariants:null},{name:"MostlyClear",iconCodes:[33],dayVariants:null,nightVariants:2},{name:"Fair",iconCodes:[34],dayVariants:2,nightVariants:null},{name:"IsolatedThunderstorms",iconCodes:[37],dayVariants:2,nightVariants:null},{name:"ScatteredThunderstorms",iconCodes:[38],dayVariants:2,nightVariants:null},{name:"HeavyRain",iconCodes:[40],dayVariants:2,nightVariants:2},{name:"ScatteredSnowShowers",iconCodes:[41],dayVariants:2,nightVariants:null},{name:"HeavySnow",iconCodes:[42,43],dayVariants:2,nightVariants:2},{name:"Unknown",iconCodes:[44],dayVariants:null,nightVariants:null},{name:"ScatteredShowers",iconCodes:[45],dayVariants:null,nightVariants:2},{name:"ScatteredSnowShowers",iconCodes:[46],dayVariants:null,nightVariants:2},{name:"Thunderstorms",iconCodes:[47],dayVariants:null,nightVariants:2}],b={"--color-blue-800":["BlowingSnow-night","Breezy-night","Clear-night","Fluries-night","HeavySnow-night","MostlyClear-night","PartlyCloudy-night","ScatteredSnowShowers-night","SnowShowers-night","Unknown.jpg"],"--color-teal-700":["BlowingSnow-day","Breezy-day","Fair-day","Flurries-day","HeavySnow-day","PartlyCloudy-day","ScatteredSnowShowers-day","SnowShowers-day","Sunny-day"],"--color-teal-800":["Drizzle-day","FreezingDrizzle-day","Hail-day","HeavyRain-day","IsolatedThunderstorms-day","Rain-day","RainAndSleet-day","RainAndSnow-day","ScatteredThunderstorms-day","StrongStorms-day","Tornadoes-day","TropicalStorms-day"],"--color-teal-900":["Drizzle-night","FreezingDrizzle-night","Hail-night","HeavyRain-night","Rain-night","RainAndSleet-night","RainAndSnow-night","ScatteredShowers-night","StrongStorms-night","Thunderstorms-night","Tornadoes-night","TropicalStorms-night"],"--color-violet-800":["BlowingSand-day","Cloudy-day","Foggy-day","Haze-day","MostlyCloudy-day","Smoke-day"],"--color-indigo-900":["BlowingSand-night","Cloudy-night","Foggy-night","Haze-night","MostlyCloudy-night","Smoke-night"]};var w=l(98833);let j=function(){let{iconCode:e=44}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=N.find(t=>{var l,a;return null==t||null==(a=t.iconCodes)||null==(l=a.includes)?void 0:l.call(a,e)}),l=N.find(e=>(null==e?void 0:e.name)==="Unknown");return t||l},I=function(){let{width:e=320}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y.reduce((t,l)=>Math.abs(l-e){var t;let{className:l,relativeHumidity:n,roundValue:i}=e,r=(t=n){let{className:t,airQualityIndex:l,airQualityCategory:n,separator:i="parenthesis"}=e;return Number.isNaN(l)||!n?"--":(0,a.jsxs)("span",{"data-testid":"AirQualityValue",className:(0,v.cn)(t),children:[(0,a.jsx)("span",{children:l}),"parenthesis"===i&&(0,a.jsx)("span",{children:" (".concat(n,")")}),"dash"===i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:" - "}),(0,a.jsxs)("span",{children:[" ",n]})]})]})});var P=l(55406),W=l(69585);let O=e=>{let{location:t,weatherData:l,forecastData:n,isLoading:i,error:r}=e;return r?(0,a.jsx)(H,{error:r}):(0,a.jsx)(k,{isLoading:i,location:t,weatherData:l,forecastData:n})},k=e=>{let{isLoading:t,location:l,weatherData:n,forecastData:i}=e,r=function(){let{iconCode:e=44,dayPart:t="day",variant:l=0,width:a=800,isSevere:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i={src:function(){let{iconCode:e=44,dayPart:t="day",variant:l=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=j({iconCode:e}),n=null==a?void 0:a["".concat(t,"Variants")];if(!n||l>n)return a=j({iconCode:44}),"".concat(f).concat(a.name,".jpg");let i=!!n&&0===l&&((e,t)=>{let l=Math.ceil(e);return Math.floor(Math.random()*(Math.floor(t)-l+1)+l)})(1,n),r="";return i?r="_".concat(i):l&&(r="_".concat(l)),"".concat(f).concat(a.name,"-").concat(t).concat(r,".jpg")}({iconCode:e,dayPart:t,variant:l}),width:I({width:a}),quality:70,format:"pjpg",autoWebP:!0,ratio:"16:9"};return n&&(i.saturation=-100),(0,w.default)(i)}({iconCode:null==n?void 0:n.iconCode,dayPart:(null==n?void 0:n.dayOrNight)==="D"?"day":"night"}),s=t?"--color-white":(e=>Object.keys(b).find(t=>b[t].find(t=>{var l;return null==e||null==(l=e.includes)?void 0:l.call(e,t)}))||"--color-blue-800")(r),{user:o}=(0,T.J)(),d=(0,_.c3)("CurrentConditions"),c=(0,E.md)(A.Mu),u=o.isUserLoggedIn,m=function(e){let{firstName:t=""}=e,l=new Date().getHours();return t?l>=5&&l=12&&l=18&&l{let{error:t}=e;return(0,a.jsx)("div",{className:"overflow-hidden rounded-lg","data-testid":"current-conditions-error",children:(0,a.jsx)("div",{className:"flex min-h-[150px] flex-col bg-white p-8 text-white",children:(0,a.jsx)("div",{className:"flex flex-grow items-center justify-center",children:(0,a.jsx)("div",{className:"text-xl text-red-300",children:(null==t?void 0:t.message)||"Unable to load weather data"})})})})};var F=l(58010),G=l(55198);let B=e=>{let{location:t}=e,{effectiveLocation:l,isLocationLoading:n,locationError:h}=(0,r.s)({location:t}),{weatherData:p,forecastData:v,isLoading:x,error:g}=function(e){var t,l,a,n,r,h,p,v,x,g;let f=(0,G.useParams)(),y=null==f?void 0:f.locale,N=(0,E.md)(S.Yt),b=null==(t=(0,R.xP)(N))?void 0:t.code,{data:w,error:j,isLoading:I}=(0,i.Ay)(e?["observations",e.geocode,b]:null,e=>{let[t,l,a]=e;return(0,s.z)({geocode:l,units:a,language:y})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:_,error:T,isLoading:A}=(0,i.Ay)(e?["daily-forecast",e.geocode,b]:null,t=>{let[l,a,n]=t;return e?(0,o.v1)({geocode:a,units:n,language:y}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),C=(null==y||null==(a=y.split)||null==(l=a.call(y,"-"))?void 0:l[1])||"US",{data:L,error:D,isLoading:M}=(0,i.Ay)(e?["hourly-airquality",e.geocode]:null,t=>{let[l,a]=t;return e?(0,d.g)({geocode:a,language:y,scale:(0,c.o)({countryCode:C}),duration:m.AirQualityForecastDuration.TWELVE_HOUR}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),P=w?{airQualityIndex:null==L||null==(n=L.forecast[0])?void 0:n.airQualityIndex,airQualityCategory:null!=(v=null==L||null==(r=L.forecast[0])?void 0:r.airQualityCategory)?v:"",temperature:w.temperature,temperatureFeelsLike:w.temperatureFeelsLike,wxPhraseLong:w.wxPhraseLong,iconName:u.ICON_CODE_MAP[w.iconCode]||"na",iconCode:w.iconCode,validTimeLocal:w.validTimeLocal,relativeHumidity:w.relativeHumidity,windSpeed:w.windSpeed,windDirectionCardinal:w.windDirectionCardinal,dayOrNight:w.dayOrNight}:void 0,W=_&&_.length>0?{temperatureMax:null!=(x=null==(h=_[0])?void 0:h.calendarDayTemperatureMax)?x:0,temperatureMin:null!=(g=null==(p=_[0])?void 0:p.calendarDayTemperatureMin)?g:0}:void 0;return{weatherData:P,forecastData:W,isLoading:I||!w||A||!_||M,error:j||T||D}}(l),f=x||n,y=g||h;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(F.DebugCollector,{componentName:"CurrentConditions",data:{props:{location:t},state:{effectiveLocation:l,isLocationLoading:n,isLoading:f,weatherData:p,forecastData:v,error:y,componentState:y&&"error"||f&&"loading"||"ready"},performance:{renderCount:void 0}}}),(0,a.jsx)(O,{location:l,weatherData:p,forecastData:v,isLoading:f,error:y})]})};var V=l(46593),U=l(44685);let z=e=>{let{locationProvider:t,locationEntry:l}=e,n="specified"===t,{specifiedLocationData:i,specifiedLocationError:r,isSpecifiedLocationLoading:s}=(0,V.v)(n?l:null);return n&&s?(0,a.jsx)("div",{children:"Loading location data..."}):n&&r?(0,a.jsxs)("div",{children:["Error loading location data: ",r.message]}):n&&i&&l?(0,a.jsx)(B,{location:(0,U.I)(i)}):n?null:(0,a.jsx)(B,{})},Z=z},31607:(e,t,l)=>{"use strict";l.d(t,{D:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Arrow Up"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M3.353 6.647a.499.499 0 0 0 .705.706L7.5 3.915V13.5a.5.5 0 0 0 1 0V3.915l3.443 3.438a.499.499 0 0 0 .705-.706l-3.94-3.94a1 1 0 0 0-1.415 0z"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="ArrowUp"},34672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCompactResponse=function(e){if(!e)return null;let t=Object.keys(e);return t.length&&t[0]&&void 0!==e[t[0]]&&Array.isArray(e[t[0]])?Array.from({length:e[t[0]].length},(l,a)=>{let n={};return t.forEach(t=>{let l=e[t];void 0!==l&&Array.isArray(l)&&a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTransformer=function(e){return t=>((0,a.fromCompactResponse)(t)||[]).map((l,a)=>e(l,a,t))};let a=l(34672)},35374:(e,t,l)=>{"use strict";l.d(t,{h:()=>a});let a=4},35555:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ImageBlock:()=>d,default:()=>c});var a=l(76792),n=l(42292),i=l(9198),r=l(48260),s=l(22627);let o=n.forwardRef((e,t)=>{let{src:l,alt:n,caption:i,credit:o,width:d=320,height:c=180,shadow:u=!0,rounded:m=!0,className:h,sizes:p,priority:v,imageAttributes:x}=e,g=!!(i||o);return(0,a.jsxs)("figure",{ref:t,className:(0,r.cn)(h),children:[(0,a.jsx)(s._,{src:l,alt:n,width:d,height:c,shadow:u,rounded:m,sizes:p,priority:v,...x}),g&&(0,a.jsxs)("figcaption",{className:"mt-2 text-sm leading-tight",children:[i&&(0,a.jsx)("p",{children:i}),o&&(0,a.jsxs)("p",{className:"m-0 text-gray-500",children:["(",o,")"]})]})]})});o.displayName="Figure";let d=e=>{var t,l;let{imageType:n,internalImageId:s,externalImageUrl:d,controls:c,altText:u,isPriorityImage:m,imageAttributes:h,linkUrl:p}=e;if(!n||!s&&!d)return(0,a.jsx)("div",{className:"text-center text-red-500",children:"Error: Missing data for the image block."});let v="internal"===n&&(e=>"object"==typeof e&&null!==e&&"url"in e)(s),x=v?(null==s?void 0:s.url)||"":d||"",g=v?(null==s||null==(t=s.seo)?void 0:t.altText)||"":u||"",f="",y="";(null==c?void 0:c.showCaption)&&((!v||(null==c?void 0:c.useImageCaption))&&"external"!==n?v&&(f=(null==s?void 0:s.caption)||"",y=(null==s||null==(l=s.seo)?void 0:l.credit)||""):(f=(null==c?void 0:c.caption)||"",y=(null==c?void 0:c.credit)||""));let N=(0,a.jsx)(o,{src:x,alt:g,caption:f,credit:y,priority:!!m,className:(0,r.cn)("my-4 flex flex-col",{"max-w-[480px]":(null==c?void 0:c.width)==="half"}),sizes:"(max-width: 767px) 91vw, (max-width: 1280px) 64vw, 800px",imageAttributes:h});return p?(0,a.jsx)(i.default,{href:p,target:"_blank",rel:"noopener noreferrer nofollow",children:N}):N},c=d},36116:(e,t,l)=>{"use strict";t.$t=void 0,t.FA=d;let a=l(39825),n=l(17681),i=l(36762),r=l(35181),s=l(96304),o=l(76088);async function d(e){let l=(0,a.getFifteenMinuteForecastUrlConfig)(e),r=(0,n.urlFrom)(l),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:60}}),o=await (0,i.handleFetchResponse)(s);return(0,t.$t)(o)}t.$t=(0,r.createTransformer)(e=>{var t,l,a,n,i,r,d,c,u,m,h,p,v,x,g,f,y;return{dayOfWeek:null!=(t=e.dayOfWeek)?t:"",iconCode:null!=(l=e.iconCode)?l:0,iconCodeExtend:null!=(a=e.iconCodeExtend)?a:0,precipChance:null!=(n=e.precipChance)?n:0,precipRate:null!=(i=e.precipRate)?i:0,precipType:null!=(r=e.precipType)?r:s.PrecipType.RAIN,relativeHumidity:null!=(d=e.relativeHumidity)?d:0,snowRate:null!=(c=e.snowRate)?c:0,temperature:null!=(u=e.temperature)?u:0,temperatureFeelsLike:null!=(m=e.temperatureFeelsLike)?m:0,validTimeLocal:null!=(h=e.validTimeLocal)?h:"",windDirection:null!=(p=e.windDirection)?p:0,windDirectionCardinal:null!=(v=e.windDirectionCardinal)?v:o.WindDirectionCardinal.NORTH,windSpeed:null!=(x=e.windSpeed)?x:0,wxPhraseLong:null!=(g=e.wxPhraseLong)?g:"",wxPhraseShort:null!=(f=e.wxPhraseShort)?f:"",wxSeverity:null!=(y=e.wxSeverity)?y:0}})},37971:(e,t,l)=>{"use strict";l.d(t,{T:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Cloudy"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.063 3c1.877 0 3.35 1.456 3.457 3.53l.035.241.795.084.028.008c.482.124.891.343 1.182.674.295.337.44.757.44 1.227a1.9 1.9 0 0 1-.616 1.395c-.35.33-.838.56-1.457.656.046.156.073.322.073.495 0 .846-.605 1.548-1.388 1.658l-.107.014h-.103l-.006.001-7.808.006q-.111.01-.226.011C2.058 13 1 11.897 1 10.537c0-1.203.828-2.207 1.923-2.42l.701-.138.28-.683a3.49 3.49 0 0 1 1.769-1.858c.033-.45.257-.844.48-1.133.245-.32.53-.569.7-.699C7.454 3.15 8.216 3 9.064 3M7.029 6.019c-1.065 0-1.975.671-2.365 1.625l-.456 1.112-1.135.222c-.716.14-1.246.794-1.246 1.56 0 .864.677 1.587 1.535 1.587q.075 0 .149-.008l.038-.004 7.901-.006.054-.007a.79.79 0 0 0 .669-.79.79.79 0 0 0-.682-.792l-1.755-.216-.147-1.845c-.109-1.354-1.205-2.438-2.56-2.438m2.034-2.171c-.767 0-1.317.139-1.71.437a3 3 0 0 0-.543.541q-.136.177-.214.348.213-.03.433-.031c1.778 0 3.239 1.426 3.384 3.24l.09 1.132 1.083.132c.315.04.602.175.834.376a.4.4 0 0 1 .085-.013c.652-.04 1.067-.242 1.313-.473s.348-.514.348-.773c0-.284-.084-.497-.229-.662-.146-.167-.382-.314-.736-.41l-1.379-.146-.133-.936v-.02c-.078-1.668-1.222-2.742-2.626-2.742",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Cloudy"},38098:(e,t,l)=>{"use strict";l.d(t,{Z:()=>v});var a=l(76792),n=l(42292),i=l(48260),r=l(3916),s=l(60393),o=l(71666);let d={N:0,NNE:22.5,NE:45,ENE:67.5,E:90,ESE:112.5,SE:135,SSE:157.5,S:180,SSW:202.5,SW:225,WSW:247.5,W:270,WNW:292.5,NW:315,NNW:337.5};var c=l(76088);let u={O:c.WindDirectionCardinal.WEST,NO:c.WindDirectionCardinal.NORTHWEST,NNO:c.WindDirectionCardinal.NORTH_NORTHWEST,ONO:c.WindDirectionCardinal.WEST_NORTHWEST,OSO:c.WindDirectionCardinal.WEST_SOUTHWEST,SO:c.WindDirectionCardinal.SOUTHWEST,SSO:c.WindDirectionCardinal.SOUTH_SOUTHWEST},m=e=>{let{windDirection:t,windDirectionCardinal:l,iconClassName:n,iconColor:o,displayWindDirectionIcon:c,displayMode:u,afterSpeed:m,useWindIcon:h}=e;if(!t&&!l)return null;let p=((e,t)=>null!=e&&Number.isFinite(e)?e:t?d[t]:void 0)(t,l);if(!("directional"===u||"directionalAndCardinal"===u||void 0===u&&c||h)||!h&&!Number.isFinite(p))return null;let v=h?s.Z:r.y;return(0,a.jsx)(v,{className:(0,i.cn)("inline-block size-4 align-middle",m?"ml-0.5":"mr-0.5",n),color:o,style:h?void 0:{transform:"rotate(".concat(p,"deg)")},"aria-label":"Wind direction icon","data-testid":"WindDirectionIcon"})},h=e=>{let{windDirection:t,windDirectionCardinal:l,cardinalClassName:n,displayWindDirectionIcon:i,displayMode:r,beforeSpeed:s}=e;return(t||l)&&("cardinal"===r||"directionalAndCardinal"===r||void 0===r&&!i)&&l?(0,a.jsxs)("span",{className:n,children:[!s&&" ",l,s&&" "]}):null},p=e=>{let{units:t,windUnitClass:l}=e,n=t?(0,o.Bu)(t):null,r=null==n?void 0:n.speed;return(0,a.jsx)("span",{className:(0,i.cn)(l),children:r})},v=(0,n.memo)(e=>{let{windSpeed:t,units:l,className:n,windDirection:r,windDirectionCardinal:s,windSpeedClass:o,windUnitClass:d,iconClassName:c,iconColor:v,cardinalClassName:x,iconAfterSpeed:g,cardinalBeforeSpeed:f,spaceWindSpeedAndUnit:y=!0,displayWindDirectionIcon:N=!1,displayMode:b,useWindIcon:w}=e;s=s&&(e=>u[e]||e)(s);let j=(0,a.jsx)(m,{windDirection:r,windDirectionCardinal:s,iconClassName:c,iconColor:v,displayWindDirectionIcon:N,displayMode:b,afterSpeed:g,useWindIcon:w}),I=(0,a.jsx)(h,{windDirection:r,windDirectionCardinal:s,displayWindDirectionIcon:N,displayMode:b,beforeSpeed:f,cardinalClassName:x});return(0,a.jsxs)("span",{"data-testid":"Wind",className:(0,i.cn)(n),children:[!g&&j,f&&I,Number.isFinite(t)&&l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,i.cn)(o),children:t}),y&&" ",(0,a.jsx)(p,{units:l,windUnitClass:d})]}):"--",!f&&I,g&&j]})})},39565:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>s});var a=l(76792),n=l(48260),i=l(79770),r=l(68751);let s=e=>{let{insightHeadline:t,insightTextLong:l,className:s,headlineClass:o,textClass:d,background:c,weatherMode:u}=e;if(!t&&!l)return null;let m="";return u&&(m="severe"===u?"warning":"watch"),(0,a.jsxs)("div",{className:(0,n.cn)("nowrap flex items-center px-6.5 py-4",s,c&&"bg-[#f6f6f6]","watch"===m&&"bg-[#f6f6f6]","warning"===m&&"bg-[#ba0d00]"),children:[m?(0,a.jsx)(i.A,{className:"mr-4 size-4.5 shrink-0"}):null,(0,a.jsxs)("div",{children:[t?(0,a.jsx)(r.Ay,{elementType:"h2",variant:"Body.M",className:(0,n.cn)("mb-2.5 text-base font-medium text-gray-500",o),children:t}):null,l?(0,a.jsx)(r.Ay,{variant:"Body.L.Bold",className:(0,n.cn)("font-semibold text-gray-800","watch"===m&&"text-sm text-white","warning"===m&&"text-sm text-[#ba0d00]",d),children:l}):null]})]})}},39825:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDailyForecastUrlConfig=function(e){let{geocode:t,units:l,language:n,duration:i=a.ForecastDuration.FIVE_DAY,cscCountryCode:r}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/daily/".concat(i),query:{geocode:t,units:l,language:n,cscCountryCode:r||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getHourlyForecastUrlConfig=function(e){let{geocode:t,units:l,language:n,duration:i=a.HourlyForecastDuration.TWO_DAY,cscCountryCode:r}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/hourly/".concat(i),query:{geocode:t,units:l,language:n,cscCountryCode:r||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getFifteenMinuteForecastUrlConfig=function(e){let{geocode:t,units:l,language:a}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/fifteenminute",query:{geocode:t,units:l,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getMinutelyPrecipitationForecastUrlConfig=function(e){let{geocode:t,units:l,language:a,duration:n="60minute"}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/minutely/precipitation/".concat(n),query:{geocode:t,units:l,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}};let a=l(76088)},40358:(e,t,l)=>{"use strict";l.d(t,{r:()=>d});var a=l(44615),n=l(13886),i=l(75302),r=l(32035),s=l(71666);let o={revalidateOnFocus:!1,dedupingInterval:6e4},d=e=>{let{key:t,geoCode:l,insightType:d,locale:c,par:u="twc"}=e,m=(0,i.md)(r.Yt),h=((0,s.xP)(m)||s.AF).code;return(0,a.Ay)(l?[t,d,l,h,u,c]:null,e=>{let[t,l,a,i,r,s]=e;return(0,n.I)({geocode:a,units:i,language:s,insightType:l,par:r})},o)}},40640:(e,t,l)=>{"use strict";l.d(t,{S:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"View"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,a.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="View"},42531:(e,t,l)=>{"use strict";l.d(t,{VF:()=>n,_x:()=>s,at:()=>r,cv:()=>a,ro:()=>o,vc:()=>i});let a=["rain","freezing_rain"],n=["snow","sleet"],i="#47A25D",r="#65B0C3",s="#DD85A7",o={300:"rain",310:"rain",400:"rain",402:"rain",410:"rain",412:"rain",500:"rain",510:"rain",600:"rain",601:"rain",610:"rain",611:"rain",700:"sleet",701:"sleet",710:"sleet",711:"sleet",800:"freezing_rain",810:"freezing_rain",850:"freezing_rain",900:"rain",910:"rain",950:"rain",1e3:"freezing_rain",1001:"freezing_rain",1002:"freezing_rain",1010:"freezing_rain",1011:"freezing_rain",1012:"freezing_rain",1051:"freezing_rain",1100:"rain",1110:"rain",1140:"rain",1170:"rain",1200:"rain",1201:"rain",1210:"rain",1211:"rain",1240:"rain",1251:"rain",1270:"rain",1300:"snow",1310:"snow",1400:"snow",1410:"snow",1600:"snow",1601:"snow",1610:"snow",1611:"snow",1651:"snow",1800:"sleet",1801:"sleet",1810:"sleet",1811:"sleet",3700:"rain",3710:"rain",3800:"rain",3810:"rain",3900:"rain",3910:"rain",4e3:"rain",4010:"rain",4100:"snow",4110:"snow",4200:"snow",4210:"snow",4300:"snow",4500:"rain",4510:"rain",4600:"rain",4610:"rain",4700:"snow",4710:"snow",4800:"snow",4810:"snow",4900:"rain",4910:"rain",5e3:"snow",5100:"freezing_rain",5101:"freezing_rain",5110:"freezing_rain",5111:"freezing_rain",5200:"sleet",5210:"sleet",5300:"freezing_rain",5301:"freezing_rain",5302:"freezing_rain",5310:"freezing_rain",5311:"freezing_rain",5312:"freezing_rain",5351:"freezing_rain",5400:"snow",5500:"rain",5600:"snow",5610:"snow",5700:"rain",5710:"rain"}},43436:(e,t,l)=>{"use strict";l.d(t,{r:()=>I});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"New Moon"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("circle",{cx:8,cy:7.613,r:6.4,fill:"currentColor"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="NewMoon";let o=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waxing Crescent"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.01 13.553q2.432 0 4.18-1.742 1.75-1.742 1.75-4.202 0-2.452-1.75-4.198-1.748-1.745-4.18-1.745 1.704 0 2.92 1.745t1.216 4.198q0 2.46-1.216 4.202t-2.92 1.742m-.014-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),d=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:o,...e}));d.displayName="WaxingCrescent";let c=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"First Quarter"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.004 13.552q2.446 0 4.19-1.745 1.746-1.745 1.746-4.198 0-2.452-1.745-4.198-1.745-1.745-4.191-1.745zm-.007-12.34q2.644 0 4.524 1.88t1.88 4.517q0 2.64-1.88 4.521-1.879 1.883-4.524 1.883-2.639 0-4.517-1.883Q1.6 10.247 1.6 7.61q0-2.64 1.88-4.518 1.878-1.88 4.517-1.88"})]})}),u=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:c,...e}));u.displayName="FirstQuarter";let m=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waxing Gibbous"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.003 1.673q-1.38 0-2.367 1.745-.986 1.746-.986 4.198 0 2.454.986 4.198t2.367 1.745q2.439 0 4.188-1.745 1.748-1.744 1.748-4.198 0-2.452-1.748-4.198-1.749-1.745-4.188-1.745m0 12.34q-2.645 0-4.524-1.88-1.88-1.878-1.88-4.517t1.88-4.52q1.878-1.883 4.524-1.883 2.638 0 4.518 1.882Q14.4 4.978 14.4 7.616q0 2.64-1.88 4.518-1.878 1.879-4.517 1.879"})]})}),h=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:m,...e}));h.displayName="WaxingGibbous";let p=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Full Moon"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.996 13.553q2.445 0 4.195-1.742 1.748-1.742 1.748-4.202 0-2.452-1.748-4.198-1.749-1.745-4.195-1.745-2.452 0-4.198 1.745Q2.053 5.157 2.053 7.61q0 2.46 1.745 4.202t4.198 1.742m0-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),v=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:p,...e}));v.displayName="FullMoon";let x=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waning Gibbous"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.996 13.553q1.374 0 2.36-1.742t.986-4.202q0-2.452-.986-4.198-.986-1.745-2.36-1.745-2.452 0-4.198 1.745Q2.053 5.157 2.053 7.61q0 2.46 1.745 4.202t4.198 1.742m0-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),g=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:x,...e}));g.displayName="WaningGibbous";let f=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Last Quarter"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.997 1.673q-2.439 0-4.188 1.742-1.748 1.74-1.748 4.201 0 2.453 1.748 4.198 1.749 1.745 4.188 1.745zm.007 12.34q-2.64 0-4.521-1.883Q1.6 10.247 1.6 7.61q0-2.646 1.883-4.522 1.883-1.875 4.52-1.875 2.646 0 4.522 1.875Q14.4 4.964 14.4 7.61q0 2.64-1.875 4.521-1.876 1.883-4.521 1.883"})]})}),y=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:f,...e}));y.displayName="LastQuarter";let N=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waning Crescent"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.01 1.673q-2.453 0-4.201 1.745-1.75 1.746-1.75 4.198 0 2.454 1.75 4.198 1.748 1.745 4.2 1.745-.975 0-1.676-1.745-.7-1.744-.7-4.198 0-2.452.7-4.198.701-1.745 1.677-1.745m-.007 12.34q-2.645 0-4.524-1.88-1.88-1.878-1.88-4.517t1.88-4.52q1.878-1.883 4.524-1.883 2.638 0 4.518 1.882Q14.4 4.978 14.4 7.616q0 2.64-1.88 4.518-1.878 1.879-4.517 1.879"})]})}),b=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:N,...e}));b.displayName="WaningCrescent";var w=l(96304);let j={[w.MoonPhaseCode.NEW]:s,[w.MoonPhaseCode.WAXING_CRESCENT]:d,[w.MoonPhaseCode.FIRST_QUARTER]:u,[w.MoonPhaseCode.WAXING_GIBBOUS]:h,[w.MoonPhaseCode.FULL]:v,[w.MoonPhaseCode.WANING_GIBBOUS]:g,[w.MoonPhaseCode.LAST_QUARTER]:y,[w.MoonPhaseCode.WANING_CRESCENT]:b},I=e=>{var t;let{moonPhaseCode:l,...n}=e,i=null!=(t=l&&j[l])?t:s;return(0,a.jsx)(i,{...n})}},43635:(e,t,l)=>{"use strict";l.r(t),l.d(t,{AdBlock:()=>v,default:()=>g});var a=l(76792),n=l(42292),i=l(58010),r=l(48260),s=l(74130),o=l(25319),d=l(75302),c=l(13942);let u=(0,l(30505).F)("",{variants:{overflow:{hidden:"overflow-hidden",none:""},layout:{flex:"flex-1",block:"block",fixed:"block fixed w-full",fixedBelowBottomNav:"block fixed w-full bottom-[61px] sm:bottom-0 z-[101]",contentTopDiv:"region-contentTop",stickyTopRight:"sticky top-[82px] z-45",default:""},bg:{white:"bg-white",gray:"bg-[#dee0e3]",none:""},radius:{md:"rounded-md",lg:"rounded-lg",none:""},padding:{standard:"px-4 pb-4",noTop:"pt-0 px-4 pb-4",mobile:"p-2",none:""},margin:{bottomMd:"mb-4",bottomLg:"mb-5",topMd:"mt-3",topLg:"mt-4",none:""},shadow:{md:"shadow-md",none:""},special:{hidden:"hidden",none:""}},compoundVariants:[{layout:"flex",margin:"topMd",class:"-mb-3"}],defaultVariants:{overflow:"none",layout:"default",bg:"none",radius:"none",padding:"none",margin:"none",shadow:"none",special:"none"}}),m={WX_WindowShade:{layout:"contentTopDiv",overflow:"hidden",margin:"bottomMd"},WX_Leaderboard:{layout:"contentTopDiv",overflow:"hidden",margin:"bottomMd"},WX_BottomLeader:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_Bot300:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_PromoDriver1:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_MidLeader:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_Top300Small:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"},WX_SpotLight:{overflow:"hidden",bg:"white",margin:"bottomMd"},WX_DriverUnit:{overflow:"hidden",bg:"white",margin:"bottomMd"},WX_Top300Variable:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"},MW_Position1:{layout:"fixedBelowBottomNav",bg:"gray",padding:"mobile"},MW_Position1_Samsung:{layout:"fixedBelowBottomNav",bg:"gray",padding:"mobile"},MW_Position3:{overflow:"hidden",margin:"bottomLg"},MW_Position4:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"},MW_Position5:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"},MW_Position2:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"}},h=new Set(["MW_Position_ContentFeedAd","MW_Position_ContentFeedAd1","MW_Position_ContentFeedAd11","WX_ContentFeed","WX_ContentFeed1","WX_ContentFeedRadar"]),p=e=>h.has(e),v=e=>{let{user:t}=(0,o.J)(),l=(0,d.md)(c.a);return t.isUserPremium||l||!e.adId?null:(0,a.jsx)(x,{...e})},x=e=>{let{adId:t,variant:l="banner",title:o=null,titleAlignment:d="right",height:c="120px",className:h="",sticky:v=!1}=e,[x,g]=(0,n.useState)({loaded:!1,height:c,displayAd:!1}),f=(0,n.useRef)(null),y=(0,n.useRef)(!1),N=(0,n.useRef)({resize:null,adFrameMutation:null,adCreativeMutation:null}),b=(0,n.useMemo)(()=>((e,t,l,a)=>{if(p(e))return l?u({layout:"flex",margin:"topMd"}):"";if("WX_Hidden"===e||!l)return u({special:"hidden"});let n=m[e];return n||(n="banner"===t?{radius:"lg",overflow:"hidden",bg:"white",shadow:"md",margin:"bottomMd"}:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"}),"WX_Top300Variable"===e&&a&&(n={...n,layout:"stickyTopRight"}),u(n)})(t,l,x.displayAd,v),[t,l,x.displayAd,v]),w=(0,n.useMemo)(()=>{let e=x.loaded?"visible":"invisible";return"".concat("text-center w-full h-full flex text-gray-600 text-base leading-none"," ").concat("WX_SpotLight"!==t?"justify-center":""," ").concat(e)},[t,x.loaded]),j=(0,n.useCallback)(e=>{for(let t of e){let e=t.contentRect.height;e>0&&g(t=>({...t,height:"".concat(e+10,"px"),loaded:!0}))}},[]),I=(0,n.useCallback)(e=>{let t=e.some(e=>"childList"===e.type&&e.addedNodes.length>0);g(e=>({...e,displayAd:t}))},[]),_=(0,n.useCallback)(e=>{let t=f.current;if(e.some(e=>{var t;return"childList"===e.type&&e.addedNodes.length>0&&((null==(t=e.addedNodes[0])?void 0:t.textContent)!=="Advertisement"||e.addedNodes.length>1)})&&t){var l,a,n;null==(l=N.current.resize)||l.observe(t),null==(a=N.current.adCreativeMutation)||a.observe(t,{childList:!0,subtree:!0}),g(e=>({...e,loaded:!0})),null==(n=N.current.adFrameMutation)||n.disconnect()}},[]);return(0,n.useEffect)(()=>{g({loaded:!1,height:c,displayAd:!1});let e=new ResizeObserver(j),t=new MutationObserver(I),l=new MutationObserver(_);N.current={resize:e,adCreativeMutation:t,adFrameMutation:l};let a=f.current;return a&&l.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect(),l.disconnect(),t.disconnect()}},[I,t,c,j,_]),(0,n.useEffect)(()=>{p(t)&&!y.current&&((e=>{try{let t=(e=>{if("MW_Position_ContentFeedAd11"===e)return{currContentFeedIndex:"21",baseNativeAdPosition:"MW_Position_ContentFeedAd1"};if("MW_Position_ContentFeedAd1"===e||"WX_ContentFeed1"===e){let t=e.match(/(\d+)$/);if(t)return{currContentFeedIndex:t[1],baseNativeAdPosition:e.substring(0,t.index)}}return console.error("Could not parse index from ContentFeed adId: ".concat(e)),null})(e);if(t){let{currContentFeedIndex:l,baseNativeAdPosition:a}=t,n=window.__HeliosConfig.slotsConfig[a];if(n){let t="".concat(n.adUnitPath,"/contentfeed").concat(l);window.__HeliosQ=window.__HeliosQ||[],window.__HeliosQ.push(()=>{window.__Helios.waitForEvent("AD_SLOTS_CONNECTED").then(()=>{window.__Helios.emit("AD_RENDER_CONTENT_FEED",{elementId:e,adUnitPath:t,baseNativeAdPosition:a})})})}else console.error("No config found for ".concat(e," at Helios.slotConfig.").concat(a))}}catch(e){console.error("Error rendering native ad",e)}})(t),y.current=!0)},[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.DebugCollector,{componentName:"AdBlock",data:{props:{adId:t,variant:l,title:o,titleAlignment:d,height:c,className:h},state:{loaded:x.loaded,height:x.height,displayAd:x.displayAd},performance:{renderTime:Date.now()}}}),(0,a.jsxs)("div",{className:(0,r.cn)(b,h),children:[o&&x.loaded&&(0,a.jsx)("div",{className:"text-xxs w-full px-4 py-0.75 text-gray-400 text-".concat(d),children:o}),"WX_PromoDriver1"===t&&!o&&x.loaded&&x.displayAd&&(0,a.jsx)("h2",{className:"my-6 px-2 text-2xl font-bold",children:"Stay Safe"}),(0,a.jsx)("div",{id:t,"data-testid":t,className:w,style:{height:x.loaded?"100%":"0px"},ref:f})]}),"WX_PromoDriver1"===t&&(!x.loaded||!x.displayAd)&&(0,a.jsx)(s.default,{title:"Stay Safe",ctaStyle:"featured",linkUrl:"/",backgroundColor:"white",media:"https://s-dev.w-x.co/wxnext/img/Screenshot2025-04-17at44929PMpng"})]})},g=v},43716:(e,t)=>{"use strict";var l,a,n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.PollutantType=t.AirQualityCategory=t.AirQualityForecastDuration=t.AirQualityScale=void 0,function(e){e.EPA="EPA",e.HJ6332012="HJ6332012",e.ATMO="ATMO",e.UBA="UBA",e.DAQI="DAQI",e.NAQI="NAQI",e.IMECA="IMECA",e.CAQI="CAQI"}(l||(t.AirQualityScale=l={})),function(e){e.TWELVE_HOUR="12hour",e.TWENTY_FOUR_HOUR="24hour",e.FORTY_EIGHT_HOUR="48hour",e.SEVENTY_TWO_HOUR="72hour"}(a||(t.AirQualityForecastDuration=a={})),function(e){e.GOOD="Good",e.MODERATE="Moderate",e.UNHEALTHY_FOR_SENSITIVE_GROUPS="Unhealthy for Sensitive Groups",e.UNHEALTHY="Unhealthy",e.VERY_UNHEALTHY="Very Unhealthy",e.HAZARDOUS="Hazardous"}(n||(t.AirQualityCategory=n={})),function(e){e.CO="CO",e.NO2="NO2",e.O3="O3",e.PM10="PM10",e.PM2_5="PM2.5",e.SO2="SO2"}(i||(t.PollutantType=i={}))},43834:(e,t,l)=>{"use strict";l.r(t),l.d(t,{PromoDriverBlock:()=>s,default:()=>o});var a=l(76792);l(42292);var n=l(57965),i=l(9198),r=l(98066);let s=e=>{let{title:t,image:l,subtitle:s,bodyText:o,ctaButton:d}=e,c=(null==d?void 0:d.url)&&/^https?:\/\//i.test(d.url),u=(0,r.bt)(l)?l:null;return t||u&&(null==u?void 0:u.url)||s||o||d?(0,a.jsxs)("div",{className:"overflow-hidden rounded-lg bg-white",children:[t&&(0,a.jsx)("div",{className:"p-4",children:(0,a.jsx)("h3",{className:"text-xl font-semibold text-gray-900",children:t})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(null==u?void 0:u.url)?(0,a.jsx)("div",{className:"relative aspect-[42/13] w-full overflow-hidden bg-white px-4 pt-4",children:(0,a.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-lg",children:(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)(n.default,{src:u.url,alt:t||"Promo image",fill:!0,className:"object-cover"})})})}):null,(s||o||d)&&(0,a.jsxs)("div",{className:"p-4",children:[s&&(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)("h4",{className:"mb-2 text-base font-bold",children:s})}),o&&(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)("p",{className:"mb-4 text-base",children:o})}),d&&(0,a.jsx)("div",{className:"flex justify-end",children:c?(0,a.jsx)("a",{href:d.url||"#",target:d.openInNewTab?"_blank":"_self",rel:d.openInNewTab?"noopener noreferrer":"",className:"inline-block max-w-[200px] overflow-hidden rounded-lg bg-black px-4 py-2 text-base font-normal text-ellipsis whitespace-nowrap text-white",children:d.text}):(0,a.jsx)(i.default,{href:d.url||"#",target:d.openInNewTab?"_blank":"_self",className:"inline-block max-w-[200px] overflow-hidden rounded-lg bg-black px-4 py-2 text-base font-normal text-ellipsis whitespace-nowrap text-white",children:d.text})})]})]})]}):null},o=s},44685:(e,t,l)=>{"use strict";l.d(t,{I:()=>i});var a=l(63255),n=l(67810);function i(e){return{displayName:e.location.displayName,adminDistrict:e.location.adminDistrict,geocode:(0,a.S)("".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.LM)(e.location),ianaTimeZone:e.location.ianaTimeZone}}},44936:(e,t,l)=>{"use strict";l.d(t,{p:()=>r});var a=l(56768),n=l(42292),i=l(40358);let r=(e,t)=>{var l;let{data:r,isLoading:s}=(0,i.r)({key:"precipintensity-insight",geoCode:null!=(l=null==e?void 0:e.geocode)?l:null,insightType:a.InsightType.PRECIP_INSIGHT,locale:t}),o=(0,n.useMemo)(()=>null==r?void 0:r.find(e=>{var t;return(null==e||null==(t=e.supplement)?void 0:t.precipSource)==="wwir"}),[r]);return{loadingInsight:s,insightHeadline:(null==o?void 0:o.insightHeadline[0])||"",insightTextLong:(null==o?void 0:o.insightTextLong[0])||""}}},46593:(e,t,l)=>{"use strict";l.d(t,{v:()=>r});var a=l(44615),n=l(87103),i=l(55198);let r=e=>{let t=(0,i.useParams)(),l=null==t?void 0:t.locale,{data:r,error:s,isLoading:o}=(0,a.Ay)(e?["/v3/location/point",e]:null,()=>e?(0,n.PT)(e,l):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return{specifiedLocationData:r,specifiedLocationError:s,isSpecifiedLocationLoading:o}}},46670:(e,t,l)=>{"use strict";l.d(t,{S:()=>d});var a=l(76792);l(42292);var n=l(48260),i=l(31607),r=l(3916),s=l(71666);let o=e=>{let{pressureTendencyCode:t,iconClassName:l}=e;return 1===t?(0,a.jsx)(i.D,{"data-testid":"PressureRisingIcon",className:(0,n.cn)("mr-1 inline-block h-4 w-4",l),"aria-label":"Pressure rising"}):2===t?(0,a.jsx)(r.y,{"data-testid":"PressureFallingIcon",className:(0,n.cn)("mr-1 inline-block h-4 w-4",l),"aria-label":"Pressure falling"}):null},d=e=>{let{className:t,unitsClassName:l,pressureAltimeter:i,pressureMeanSeaLevel:r,pressureTendencyCode:d,units:c,iconClassName:u}=e,m=c?(0,s.Bu)(c):null,h=null==m?void 0:m.pressure,p=(()=>{let e=i&&i>0||r&&r>0?i||r:null;return e?"e"===c?e.toFixed(2):e.toFixed(1):null})();return(0,a.jsx)("span",{"data-testid":"PressureValue",className:(0,n.cn)("inline-flex items-center",t),children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{pressureTendencyCode:d,iconClassName:u}),(0,a.jsx)("span",{children:p}),"\xa0",(0,a.jsx)("span",{className:(0,n.cn)(l),children:h})]}):"--"})}},46828:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});var a=l(76792);l(42292);var n=l(93146),i=l(63481),r=l(29963),s=l(79770),o=l(44615),d=l(27370),c=l(55198),u=l(48260),m=l(62596),h=l(79315);let p=e=>{let{date:t,locale:l="en-US",timeZone:a}=e;if(!t)return null;let{cDate:n,cTimeZone:i}=(0,h.r)({date:t,locale:l,timeZone:a});return new Intl.DateTimeFormat(l,{weekday:"long",timeZone:i}).format(n)};var v=l(47421),x=l(68751),g=l(9946);let f=e=>{let{location:t,className:l,headlineClassName:h,showSubheadline:f=!1}=e,y=(0,c.useParams)(),N=null==y?void 0:y.locale,b=(0,v.c3)("AlertHeadlines"),{data:w,error:j,isLoading:I}=(0,o.Ay)((null==t?void 0:t.geocode)?["alerts",t.geocode]:null,e=>{let[t,l]=e;return(0,n.Sn)({geocode:l,language:N})},{revalidateOnFocus:!1,dedupingInterval:6e4}),_=(null==w?void 0:w.alerts)&&w.alerts.length>0?w.alerts[0]:null,T=_?(()=>{if(!_)return null;let{productIdentifier:e,phenomena:t,significance:l}=_;if(!e||!t||!l)return null;let a=(0,i.F)({productIdentifier:e,phenomena:t,significance:l}),n=(0,r.t)({productIdentifier:e||"",phenomena:t,significance:l}),s={1:{icon:"#fff",fill:"#ba0d00",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#ba0d00",buttonBackgroundColor:"#ba0d00"},2:{icon:"#000",fill:"#e6731f",border:"#f0f0f0",textColor:"#ffffff",backgroundColor:"#25242299",buttonBackgroundColor:"#25242299"},3:{icon:"#000",fill:"#ebbb02",border:"#f0f0f0",textColor:"#ffffff",backgroundColor:"#25242299",buttonBackgroundColor:"#25242299"},4:{icon:"#fff",fill:"#a51ccb",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#25242299",buttonBackgroundColor:"#ffffff1a"},severe:{icon:"#fff",fill:"#ba0d00",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#ba0d00",buttonBackgroundColor:"#ba0d00"}};return s[n?"severe":a]||s[4]})():null,E=_?(0,i.F)({productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance}):null,A=_?(0,r.t)({productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance}):null;if(I||j||!_)return null;let C=_.effectiveTimeLocalTimeZone||_.endTimeLocalTimeZone||"",R=(e=>{let{effectiveTimeLocal:t,endTimeLocal:l}=e,a="";switch(!0){case!!(t&&l):a="subheadlineTextWithStartAndEndTime";break;case!!(!t&&l):a="subheadlineTextWithoutStartTime";break;case!!(t&&!l):a="subheadlineTextWithoutEndTime";break;default:return""}return a})({effectiveTimeLocal:_.effectiveTimeLocal,endTimeLocal:_.endTimeLocal}),S=(0,g.k)({phenomena:_.phenomena,significance:_.significance,areaId:_.areaId,officeCode:_.officeCode,eventTrackingNumber:_.eventTrackingNumber,locId:(null==t?void 0:t.placeId)||""});return(0,a.jsxs)("a",{href:S,className:(0,u.cn)("flex items-center gap-4 rounded-sm px-2 py-2 text-sm",l),style:{backgroundColor:null==T?void 0:T.backgroundColor,color:null==T?void 0:T.textColor},role:"alert","aria-live":"polite",children:[(0,a.jsxs)("div",{className:"flex-1 flex-col",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[_&&(0,a.jsx)(s.AlertIcon,{productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance,className:"h-4 w-4 items-start","aria-hidden":"true"}),(0,a.jsx)("span",{className:(0,u.cn)("uppercase",h),children:_.eventDescription})]}),f&&(0,a.jsx)(x.Ay,{className:"mt-1 uppercase",variant:"Caption.S.Bold",color:"inverse",children:b(R,{[(null==_?void 0:_.effectiveTimeLocal)&&"startTime"]:(0,m.P)({date:_.effectiveTimeLocal,weekday:"short",locale:N,timeZone:_.ianaTimeZone,minutes:!0}),[(null==_?void 0:_.endTimeLocal)&&"endTime"]:(e=>{let{effectiveTimeLocal:t,endTimeLocal:l,locale:a,ianaTimeZone:n}=e,i=p({date:t,locale:a,timeZone:n}),r=p({date:l,locale:a,timeZone:n});return(0,m.P)({date:l,locale:a,weekday:i!==r&&"short"||void 0,timeZone:n,minutes:!0})})({effectiveTimeLocal:_.effectiveTimeLocal||"",endTimeLocal:_.endTimeLocal||"",locale:N,ianaTimeZone:_.ianaTimeZone||""}),timeZone:C})})]}),w&&w.alerts.length>1&&(0,a.jsxs)(d.$n,{variant:"outline",size:"sm",style:{backgroundColor:null==T?void 0:T.buttonBackgroundColor,...1===E||A?{outline:"solid 1px #ffffff"}:{}},className:"flex h-6 items-center justify-center rounded-xs border-0 px-2 py-2 text-xs text-white hover:bg-transparent hover:text-white","aria-label":"View ".concat(w.alerts.length-1," more alerts"),children:["+",w.alerts.length-1," MORE"]})]})}},46859:(e,t,l)=>{"use strict";l.d(t,{v:()=>N});var a=l(23803);let n=(0,a.h)("AdUtils"),i=async e=>{let{player:t,user:l,ctx:a={},isMobile:n=!1}=e;if(!t)return;if(null==l?void 0:l.isUserPremium)return void t.play();let i=await r(a,n);i?t.playAd(i):t.play()},r=async function(e){let t,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!c())return null;let a=o(e,l),i=s({},e.iab);window.__Helios.emit("UPDATE_AD_UNIT_PATH",a);try{var r,u,m;null==(m=window.__Helios.modules)||null==(u=m.iabc)||null==(r=u.update)||r.call(u,{page:i,site:{v1:["IAB15-10_Weather"],v3:["390_Weather"]}})}catch(e){n.error("Error updating IABC parameters",e)}try{t=await d()}catch(e){t=null,n.error("Error getting ad tag",e)}return window.__Helios.emit("UPDATE_AD_UNIT_PATH",a),t},s=(e,t)=>{let l={...e};for(let e in t)Array.isArray(t[e])?(l[e]=[...l[e]||[],...t[e]],l[e]=[...new Set(l[e])]):"object"==typeof t[e]&&null!==t[e]?l[e]=s(l[e]||{},t[e]):l[e]=t[e];return l},o=(e,t)=>{var l,a,n,i,r,s;let o=null==(a=window)||null==(l=a.__HeliosConfig)?void 0:l.generalConfig,d=null!=(r=null==o||null==(n=o.targeting)?void 0:n.networkCode)?r:"/7646",c=null!=(s=null==o||null==(i=o.targeting)?void 0:i.adUnits)?s:t?"mobile_smart_us":"web_weather_us",u=e.collectionAdZone||e.adzone||"video";return"".concat(d,"/").concat(c,"/").concat(u)},d=async()=>{let e=[];try{var t;e=await (null==(t=window)?void 0:t.__Helios.video.requestVideoBids())}catch(e){n.error("Error getting video bids",e)}return await window.__Helios.modules.videoTag.createAdTag(e)},c=()=>{try{var e,t,l,a,n;return"function"==typeof(null==(t=window.__Helios)||null==(e=t.video)?void 0:e.requestVideoBids)&&"function"==typeof(null==(n=window.__Helios)||null==(a=n.modules)||null==(l=a.videoTag)?void 0:l.createAdTag)}catch(e){return!1}},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https";return e.replace(/^\/\//,"".concat(t,"://"))},m=e=>{let{collectionId:t,videoIndex:l,videoId:a}=e||{};return{videoCount:l,videoId:a,collectionId:t}},h=e=>"GDFP"===e||"AdSense/AdX"===e;l(76792),l(73675);var p=l(37811);let v=(0,a.h)("NewRelic");function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var l,a,n;null==(n=window)||null==(a=n.NREUM)||null==(l=a.addPageAction)||l.call(a,e,{...g(t,"meta.")})}catch(e){v.error("New Relic: sendReumEvent error",e instanceof Error?e.message:String(e))}}p.env.NEW_RELIC_RUM_ACCOUNT_ID,p.env.NEW_RELIC_RUM_APP_ID,p.env.NEW_RELIC_RUM_LICENSE_KEY;let g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.fromEntries(Object.entries(e).map(e=>{let[l,a]=e;return["".concat(t).concat(l),a]}))},f=(0,a.h)("AdEvents"),y=new Set(["amznbid","crt_pb","hb_pb"]),N=[{eventName:"ready",callback:e=>{let{event:t}=e;x("videoReady",{isViewable:!!t.viewable,setupTime:t.setupTime})}},{eventName:"beforePlay",callback:async e=>{var t;let{event:l,player:a,isFirstPlayRef:n,user:r,isMobile:s}=e;if(!(null==n?void 0:n.current))return;let o=a.getPlaylistItem(),d=null==o||null==(t=o.custom)?void 0:t.ctx;d&&(d.videoIndex=a.getPlaylistIndex()),x("videoBeforePlay",{...m(d),isViewable:!!l.viewable,playReason:l.playReason}),a.stop(),await i({player:a,user:r,ctx:d,isMobile:s}),n.current=!1}},{eventName:"adRequest",callback:e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem(),i=null==n||null==(t=n.custom)?void 0:t.ctx,r={},s=m(i);try{let e=u(l.tag||""),t=new URL(e).searchParams.get("cust_params"),a=(e=>e?e.split("&").reduce((e,t)=>{let[l,a]=t.split("=");return l&&a&&(e[l]||(e[l]=[]),e[l].push(a)),e},{}):{})(t);for(let e of Object.keys(a))y.has(e)&&(r["".concat("kv_").concat(e)]="".concat(a[e]))}catch(e){f.error("Error parsing cust_params",e)}x("videoAdRequest",{...s,isViewable:!!l.viewable,roll:l.adposition,...r})}},{eventName:"adStarted",callback:e=>{var t,l,a,n,i,r;let{event:s,player:o}=e,d=o.getPlaylistItem(),c=null==d||null==(t=d.custom)?void 0:t.ctx,{duration:u,adposition:p}=s,v=m(c),g="";try{let e=null==(r=s.ima)||null==(i=r.ad)?void 0:i.data;e&&(g=(e=>{let{adSystem:t,adId:l,adWrapperSystems:a,adWrapperIds:n}={adSystem:"",adId:"",adWrapperSystems:[],adWrapperIds:[],...e};if(h(t))return l;let i=a.findIndex(h);return i>=0&&i{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();x("videoStart",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),isViewable:!!l.viewable,loadTime:l.loadTime})}},{eventName:"complete",callback:e=>{var t;let{player:l}=e,a=l.getPlaylistItem();x("videoComplete",{...m(null==a||null==(t=a.custom)?void 0:t.ctx)})}},{eventName:"adSkipped",callback:e=>{var t;let{player:l}=e,a=l.getPlaylistItem();x("videoAdSkip",{...m(null==a||null==(t=a.custom)?void 0:t.ctx)})}},{eventName:"playlistItem",callback:async e=>{var t;let{event:l,player:a,isFirstPlayRef:n,user:r,isMobile:s}=e;if(null==n?void 0:n.current)return;let{item:o}=l,d=null==o||null==(t=o.custom)?void 0:t.ctx;d.videoIndex=a.getPlaylistIndex(),a.stop(),await i({player:a,user:r,ctx:d,isMobile:s})}},{eventName:"adComplete",callback:async e=>{let{player:t}=e;t.play()}},{eventName:"adError",callback:async e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();x("videoAdError",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),message:l.message,code:l.code,vastCode:l.vastCode,roll:l.adposition}),f.error("Ad error occurred",l),a.play()}},{eventName:"error",callback:async e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();x("videoError",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),message:l.message,code:l.code}),f.error("Video Player error",l)}},{eventName:"setupError",callback:e=>{let{event:t}=e;x("videoSetupError",{message:t.message,code:t.code})}}]},47060:(e,t,l)=>{"use strict";l.d(t,{c:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Clear Night"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M6.751 2.707a7.54 7.54 0 0 0 5.797 9.097A5.56 5.56 0 0 1 8.561 13.5q-.105.002-.21 0a5.547 5.547 0 0 1-1.6-10.792m.74-1.207a1 1 0 0 0-.088.008 6.548 6.548 0 0 0 .912 12.99c.082.004.164 0 .246 0a6.54 6.54 0 0 0 5.35-2.777.504.504 0 0 0-.391-.782A6.54 6.54 0 0 1 7.945 2.19a.507.507 0 0 0-.455-.69"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="ClearNight"},47681:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSunV3WeatherInsightsUrlConfig=function(e){let{geocode:t,placeId:l,postalKey:n,insightType:i=a.InsightType.ALL,units:r,language:s,par:o}=e,d={format:"json",units:r,language:s,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061",insightType:i,par:o};return t?d.geocode=t:l?d.placeid=l:n&&(d.postalKey=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/insights",query:d}};let a=l(56768)},48195:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>A});var n=l(76792),i=l(42292),r=l(68751),s=l(27370),o=l(9198),d=l(69585),c=l(47421),u=l(79634),m=l(70214),h=l(46828),p=l(82903);l(56768);var v=l(31607),x=l(3916),g=l(9390),f=l(37971),y=l(95002),N=l(47060),b=l(29814),w=l(39565),j=l(61344),I=l(44936),_=e([j]);j=(_.then?(await _)():_)[0];let T={up:v.D,down:x.y,sun:g.s,cloud:f.T,rain:y.c,clear:g.s,"clear-night":N.c,fair:b.W},E=e=>{let{location:t,locale:l}=e,{insightTextLong:a}=(0,I.p)(t,l);return a?(0,n.jsx)(w.Ay,{className:"px-4 py-2",headlineClass:"hidden",textClass:"text-sm m-0",insightTextLong:a}):null},A=e=>{let{location:t,hourlyForecast:l,isLoading:a,error:v,locale:x,showDayLabel:g,canToggleMultipleItems:f,ctaLink:y,ctaText:N,enableAlertHeadlines:b,insight:w,insightIcon:I,showPrecipIntensity:_}=e,A=(0,c.c3)("HourlyForecast"),[C,R]=(0,i.useState)(!1),S=I&&T[I];return(0,n.jsxs)(d.Zp,{"aria-label":A("hourlyWeather"),className:"not-prose @container/hourly",children:[(0,n.jsx)(d.aR,{text:A("hourlyWeather"),className:"gap-0 p-0"}),(0,n.jsxs)(d.Wu,{className:"p-0",children:[w&&(0,n.jsxs)("div",{className:"mb-4 flex items-center gap-1",children:[S&&(0,n.jsx)("div",{children:(0,n.jsx)(S,{className:"text-brand-light size-5"})}),(0,n.jsx)(r.Ay,{variant:"Body.S.Bold",color:"brandLight",children:w})]}),b&&(0,n.jsx)("div",{children:(0,n.jsx)(h.A,{location:t,className:"mx-4 mb-3 inline-flex @lg/hourly:min-w-59"})}),_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E,{location:t,locale:x}),(0,n.jsx)("div",{className:"px-4 py-2",children:(0,n.jsx)(j.A,{location:t,onlyChart:!0})})]}),(()=>{var e,d;let c="flex min-h-48 items-center justify-center p-4";if(!t)return(0,n.jsx)("div",{className:"".concat(c," text-xl"),children:A("locationLoading")});if(a)return(0,n.jsx)("div",{className:"".concat(c," text-xl"),children:A("loadingForecast")});if(v||0===l.length)return(0,n.jsx)("div",{className:"".concat(c," text-xl"),children:(null==v?void 0:v.message)||A("errorMsg")});let h=null!=(d=null==(e=l[0])?void 0:e.validTimeLocal)?d:void 0;return(0,n.jsxs)("div",{children:[(0,n.jsx)(p.nD,{...f?{type:"multiple",defaultValue:h?[h]:void 0}:{type:"single",defaultValue:h},children:l.map((e,a)=>{var s;return!C&&e.wxPhraseLong.length>15&&R(!0),(0,n.jsxs)(i.Fragment,{children:[g&&(0===a||e.dayOfWeek!==((null==(s=l[a-1])?void 0:s.dayOfWeek)||""))&&(0,n.jsx)(r.Ay,{variant:"Body.L.Bold",className:"border-b border-[#dedede] p-4",children:(0,m.z)({date:e.validTimeLocal,locale:x,timeZone:t.ianaTimeZone})}),(0,n.jsx)(u.A,{itemIndex:a,forecast:e,location:t,locale:x,longPhraseInSet:C})]},e.validTimeLocal)})}),y&&N&&(0,n.jsx)("div",{className:"pt-6",children:(0,n.jsx)(s.$n,{asChild:!0,children:(0,n.jsx)(o.default,{href:y,children:N})})})]})})()]})]})};a()}catch(e){a(e)}})},48834:(e,t,l)=>{"use strict";l.d(t,{M:()=>r});var a=l(76792),n=l(48260),i=l(47421);let r=e=>{let t,{uvIndex:l,uvDescription:r,className:s,descriptionClassName:o}=e,d=(0,i.c3)("DetailsTable");return t=!Number.isFinite(l)||l10?d("extreme"):r?l:t=d("uvIndexVal",{val:l,maxVal:11}),(0,a.jsxs)("span",{"data-testid":"UVIndexValue",className:(0,n.cn)(s),children:[t,r&&l{"use strict";l.d(t,{A:()=>m});var a=l(76792),n=l(42292);let i={src:"/_next/static/media/SlideshowIcon.2da11b0d.png"};var r=l(22627),s=l(68751),o=l(64868),d=l(11181);let c=e=>!!e&&""!==e.trim()&&(/\.(jpg|jpeg|png|gif|webp|bmp|tiff|svg)$/i.test(e)||/^[A-Z0-9_]+\d*\.[a-zA-Z]+$/i.test(e)||/^[a-zA-Z0-9_-]+\d+$/i.test(e)||/[._][0-9]+/i.test(e)||/^[A-Z0-9_]+$/i.test(e)),u=e=>{var t;let{id:l,assets:n,currentSlideIndex:u,totalAssets:m,previous:h,next:p,sendTrackString:v,rounded:x=!1}=e;if(!n.length||u=n.length)return null;let g=n[u],f="".concat(u+1,"/").concat(m),y=0===u,N=u===m-1;return(0,a.jsxs)("figure",{id:l,className:"relative mt-4 mb-4 w-full max-w-full",children:[(0,a.jsx)("div",{className:x?"overflow-hidden rounded-[16px]":"",children:(0,a.jsx)("div",{className:"relative w-full ".concat(x?"rounded-[16px]":""),children:(0,a.jsx)("div",{className:"relative w-full ".concat(x?"rounded-[16px]":""),style:{paddingTop:"56.25%"},children:(0,a.jsx)(r.A,{className:"absolute top-0 left-0 h-full w-full object-cover",src:g.url||"",alt:(null==(t=g.seo)?void 0:t.altText)||"",rounded:x,width:800,height:450,sizes:"(max-width: 767px) 91vw, (max-width: 1280px) 64vw, 800px"})})})}),(0,a.jsx)("figcaption",{children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"flex items-center pt-2",children:(0,a.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(r.A,{src:i.src,alt:"Slideshow",width:20,height:20,className:"h-5 w-5",rounded:!1})}),(0,a.jsx)("div",{className:"mr-2 ml-2",children:(0,a.jsx)(s.EY,{variant:"Body.S",color:"primary",children:f})}),(0,a.jsx)("div",{className:"flex-grow"}),(0,a.jsx)("button",{type:"button","aria-label":"Previous",className:"mr-[10px] flex cursor-pointer items-center justify-center border-none bg-transparent p-2 disabled:cursor-not-allowed disabled:opacity-50",disabled:y,onClick:()=>{v("wxnode_slideshow_link-previous"),h()},children:(0,a.jsx)("span",{className:"flex items-center justify-center",children:(0,a.jsx)("span",{className:"flex items-center justify-center","aria-label":"chevron left",children:(0,a.jsx)(o.A,{className:"h-5 w-5 ".concat(y?"text-gray-200":"text-blue-500")})})})}),(0,a.jsx)("button",{type:"button","aria-label":"Next",className:"ml-auto flex cursor-pointer items-center justify-center border-none bg-transparent p-2 disabled:cursor-not-allowed disabled:opacity-50",disabled:N,onClick:()=>{v("wxnode_slideshow_link-next"),p()},children:(0,a.jsx)("span",{className:"flex items-center justify-center",children:(0,a.jsx)("span",{className:"flex items-center justify-center","aria-label":"chevron right",children:(0,a.jsx)(d.A,{className:"h-5 w-5 ".concat(N?"text-gray-200":"text-blue-500")})})})})]})}),g.filename&&!c(g.filename)&&(0,a.jsx)(s.EY,{variant:"Title.S",color:"primary",elementType:"h3",className:"mt-0 mb-1",children:g.filename}),g.caption&&(0,a.jsx)(s.EY,{variant:"Body.S",color:"primary",className:"py-1 pb-0 ".concat(g.filename&&!c(g.filename)?"":"mt-0 pt-0"),children:g.caption}),(0,a.jsx)("div",{className:"border-b border-gray-200 py-2"})]})})]})},m=e=>{let{id:t,assets:l=[],allSlides:i=[],totalAssets:r=i.length||0,loadNextSlideshowPage:s,sendTrackString:o=()=>{},rounded:d=!1}=e,c=(0,n.useId)(),m=t||"slideshow-".concat(c),h=i.length>0,[p,v]=(0,n.useState)(0),[x,g]=(0,n.useState)(1),[f,y]=(0,n.useState)(1),[N,b]=(0,n.useState)(h?i.slice(0,20):l),w=(0,n.useCallback)(e=>{if(!e)return!1;let{top:t}=e.getBoundingClientRect();return t>=-100&&t{if(p-1>=0){let e=p-1?Math.ceil((p-1)/20):1;v(p-1),g(e)}},[p]),I=(0,n.useCallback)(()=>{if(p+1=f){let e=20*x;if(e-3

l.length&&x>=f){let e=20*x;e-3

{if(w(document.querySelector("#".concat(m))))switch(e.key){case"ArrowLeft":j();break;case"ArrowRight":I()}},[m,w,j,I]);return(0,n.useEffect)(()=>(document.body.addEventListener("keydown",_),()=>{document.body.removeEventListener("keydown",_)}),[_]),(0,n.useEffect)(()=>{h&&0===N.length&&b(i.slice(0,20))},[h,i,N.length]),(0,a.jsx)(u,{id:m,assets:h?N:l,currentSlideIndex:p,totalAssets:r,previous:j,next:I,sendTrackString:o,rounded:d})}},49694:(e,t,l)=>{"use strict";l.d(t,{S:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"pressure"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.498 1.022a.5.5 0 0 1 .5.5v3.022H4.841l3.14 2.788 3.16-2.788h-1.13V1.522a.5.5 0 0 1 1 0v2.022h1.453a.5.5 0 0 1 .33.875L8.744 7.993l4.053 3.6a.5.5 0 0 1-.332.874h-1.473v2.022a.5.5 0 0 1-1 0v-3.022h1.157L8.008 8.68l-3.16 2.788h1.13v3.022a.5.5 0 0 1-1 0v-2.022H3.525a.5.5 0 0 1-.33-.875l4.052-3.574-4.054-3.6a.5.5 0 0 1 .332-.874h1.473V1.522a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Pressure"},50772:(e,t,l)=>{"use strict";l.d(t,{r:()=>r});var a=l(42292),n=l(55680),i=l(1843);let r=e=>{let t=(0,a.useRef)(null),[l,r]=(0,a.useState)(i.A?e(window.innerWidth,window.innerHeight):null),s=(0,a.useRef)(!1),o=(0,n.X)(e);return(0,a.useEffect)(()=>{let e=t.current;if(!e||"undefined"==typeof ResizeObserver)return;let l=new ResizeObserver(e=>{for(let t of e){let{right:e,left:l,top:a,bottom:n}=t.contentRect,i=e+l,d=a+n,c=o.current(i,d);s.current=!0,r(c)}});return l.observe(e),()=>{l.disconnect()}},[t,o]),[l,t,s.current]}},51254:(e,t,l)=>{"use strict";l.d(t,{Y:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Drop"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,a.jsx)("path",{d:"M8 14.256a4.506 4.506 0 0 1-4.5-4.5 5 5 0 0 1 .747-2.478l3.33-5.303a.52.52 0 0 1 .847 0l3.314 5.278a5.03 5.03 0 0 1 .762 2.503 4.506 4.506 0 0 1-4.5 4.5M8 3.18 5.11 7.784a4 4 0 0 0-.61 1.972 3.5 3.5 0 0 0 7 0 4.03 4.03 0 0 0-.624-1.998z"}),(0,a.jsx)("path",{d:"M10.103 9.757a.5.5 0 0 1 .319.631 2.74 2.74 0 0 1-1.747 1.724.5.5 0 0 1-.313-.95c.615-.203.976-.68 1.11-1.086a.5.5 0 0 1 .63-.32"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="RainDrop"},53976:(e,t,l)=>{"use strict";l.d(t,{S:()=>y});var a=l(76792),n=l(22627),i=l(42292),r=l(23233);let s=(0,i.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Play"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M5.5 11.5A.5.5 0 0 1 5 11V5a.5.5 0 0 1 .724-.447l6 3a.5.5 0 0 1 0 .894l-6 3a.5.5 0 0 1-.224.053M6 5.809v4.382L10.382 8z"}),(0,a.jsx)("path",{d:"M8 2a6 6 0 1 1 0 12A6 6 0 0 1 8 2m0-1a7 7 0 1 0 0 14A7 7 0 0 0 8 1"})]})]})}),o=i.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:s,...e}));o.displayName="PlayOutline";let d=(0,i.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Video Player"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,a.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})}),c=i.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:d,...e}));c.displayName="VideoPlayer";let u=(0,i.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Book"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,a.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})}),m=i.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:u,...e}));m.displayName="Book";var h=l(9198),p=l(48260),v=l(68751),x=l(54086);let g={video:o,article:m},f={col:"flex-col",row:"flex-row","col-reverse":"flex-col-reverse","row-reverse":"flex-row-reverse"},y=e=>{let{heading:t,description:l,content:i,href:r,target:s,imageUrl:o,altText:d,onClick:u,className:m,imageWrapClassName:y,imageClassName:N,contentClassName:b,badge:w,icon:j="video",showIcon:I,iconClassName:_,overlayClassName:T,dir:E="row",noPadding:A=!1,duration:C,badgeStyle:R=!1,bodyText:S,imageWidth:L,aspectRatio:D="square",partnerLogoThumbnailUrl:M,partnerLogoWhite:P=!1,partnerLogoPosition:W="default"}=e,O=g[j],k=!!(t||l||i),H=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,p.cn)("relative overflow-hidden rounded-lg","transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",D&&"auto"!==D?"square"===D?"aspect-square":"video"===D?"aspect-video":"aspect-[".concat(D,"]"):"",L||"w-full",y),children:[(0,a.jsx)(n.A,{src:o,alt:d||l||"",fill:!0,className:(0,p.cn)("absolute top-0 left-0 h-full w-full scale-[1.01] object-cover","transition-transform duration-150 group-hover:scale-[1.02] group-focus-visible:scale-[1.02]",N),sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,a.jsx)("div",{className:(0,p.cn)("absolute inset-0 flex items-center justify-center",T),children:I&&O&&(0,a.jsx)(O,{className:(0,p.cn)("size-10 text-white",_)})}),w&&(0,a.jsx)("div",{className:"absolute right-2 bottom-2 rounded-full bg-black/70 px-[10px] py-2 text-[14px] leading-none text-white md:right-1 md:bottom-1 md:p-1 md:text-[10px]",children:w}),M&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(to_bottom,rgba(17,30,55,0)_0%,rgba(17,30,55,0)_50%,rgba(17,30,55,0.4)_100%)]"}),(0,a.jsx)("div",{className:(0,p.cn)("absolute overflow-visible","compact"===W?"bottom-3 left-3":"bottom-4 left-4"),children:(0,a.jsx)("div",{className:(0,p.cn)("relative","compact"===W?"w-24":"w-40"),children:(0,a.jsx)(n.A,{src:M,alt:"",width:"compact"===W?96:160,height:0,className:(0,p.cn)("h-auto max-h-5 w-full rounded-none object-contain object-left",P&&"brightness-0 invert"),style:{height:"auto"},sizes:"compact"===W?"96px":"160px"})})})]})]}),k&&(0,a.jsx)("div",{className:(0,p.cn)(b,"row"===E&&"max-h-40"),children:i||(0,a.jsxs)(a.Fragment,{children:[t&&(R?(0,a.jsx)("span",{className:"mb-2 inline-block rounded-full bg-gray-100 px-3 py-1 text-xs font-medium text-gray-700",children:t}):(0,a.jsx)(v.Ay,{elementType:"span",variant:"Title.S",className:"mb-1 text-xs",color:"placeholder",children:t})),(l||S)&&(0,a.jsxs)("div",{className:(0,p.cn)("row"===E&&!C&&"line-clamp-7 sm:line-clamp-6","row"===E&&C&&"line-clamp-5 sm:line-clamp-4","row"===E&&"overflow-hidden","mb-2"),children:[l&&(0,a.jsx)(v.Ay,{elementType:"h2",className:"mb-2 text-base leading-tight font-semibold text-gray-900 @md:text-lg @lg:text-xl @xl:text-2xl",children:l}),S&&(0,a.jsx)(v.Ay,{elementType:"p",className:"text-sm font-normal text-gray-500 @md:text-base",children:S})]}),C&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c,{className:"size-6 text-gray-500 sm:size-6"}),(0,a.jsx)(v.Ay,{elementType:"span",className:"text-sm text-gray-500 sm:text-base",children:(0,x.h)(C)})]})]})})]}),F=(0,p.cn)("group","not-prose font-normal text-gray-900 no-underline rounded-2xl flex gap-4",!A&&"p-3","transition-all duration-150",!A&&"hover:bg-gray-100 focus-visible:bg-gray-100","focus-visible:outline-none",f[E],m);return!u&&r?(0,a.jsx)(h.default,{className:F,href:r,target:s,children:H}):(0,a.jsx)("div",{className:F,onClick:u,children:H})}},54086:(e,t,l)=>{"use strict";l.d(t,{h:()=>a});let a=e=>{let t=e.split(":");""===t[0]&&(t[0]="0");let l=parseInt(t[0]||"0",10).toString();if("0"===l&&3===t.length){let e=parseInt(t[1]||"0",10).toString();return"".concat(e,":").concat(t[2])}return[l,...t.slice(1)].join(":")}},54909:(e,t,l)=>{"use strict";l.d(t,{j:()=>n,w:()=>i});var a=l(37811);let n=e=>{var t,l,n,i;let r,s=null==(t=null!=(l=a.env.VERCEL_TARGET_ENV)?l:"production")?void 0:t.toLowerCase();a.env.VERCEL_TARGET_ENV,"preview"!==s&&a.env.VERCEL_TARGET_ENV_URL;let o=null!=(n=a.env.VERCEL_URL)?n:"wx-next-4n5k2e5r1.vercel.weather.com",d=null!=(i=a.env.VERCEL_TARGET_ENV_URL)?i:"weather.com",c="true"===a.env.NEXT_DEV_SERVER_INSECURE||"true"===a.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(s){case"preview":r="https://".concat(o);break;case"development":r=c?"http://".concat(d):"https://".concat(d);break;default:r="https://".concat(d)}return e?new URL(e,r).toString():r},i=e=>{var t,l;a.env.VERCEL_TARGET_ENV_PRODUCTION_URL;let n=null!=(t=a.env.VERCEL_TARGET_ENV_PRODUCTION_URL)?t:"weather.com",i=null!=(l=a.env.VERCEL_PROJECT_PRODUCTION_URL)?l:"wxnext.weather.com",r="https://".concat(null!=n?n:i);return e?new URL(e,r).toString():r}},55094:(e,t,l)=>{"use strict";l.d(t,{lV:()=>i,os:()=>r,rT:()=>n});var a=l(82170);let n={id:"barBackground",beforeDatasetsDraw(e,t,l){let{ctx:a,chartArea:{top:n},scales:{y:i}}=e;if(!i)return;let r=e.getDatasetMeta(0),s=l.floatPoint||0;r.data.forEach(e=>{var t;let{x:r,width:o}=e.getProps(["x","width"],!0);a.save(),a.fillStyle=l.color||"transparent",function(e,t,l,a,n,i){let r=Math.min(i,a/2,n/2);e.beginPath(),e.moveTo(t+r,l),e.lineTo(t+a-r,l),e.quadraticCurveTo(t+a,l,t+a,l+r),e.lineTo(t+a,l+n-r),e.quadraticCurveTo(t+a,l+n,t+a-r,l+n),e.lineTo(t+r,l+n),e.quadraticCurveTo(t,l+n,t,l+n-r),e.lineTo(t,l+r),e.quadraticCurveTo(t,l,t+r,l),e.closePath(),e.fill()}(a,r-o/2,n,o,i.getPixelForValue(i.min+s)-n,null!=(t=l.borderRadius)?t:8),a.restore()})}},i={id:"extendXAxisLine",afterDraw(e,t,l){var a,n,i,r,s;let{ctx:o,scales:d}=e,c=d.x,u=d.y,m=null!=(a=l.offset)?a:20,h=(null!=(n=null==u?void 0:u.bottom)?n:0)+m;o.save(),o.beginPath(),o.strokeStyle=l.color||"black",o.lineWidth=null!=(i=l.lineWidth)?i:1,o.moveTo((null!=(r=null==c?void 0:c.left)?r:0)-200,h),o.lineTo((null!=(s=null==c?void 0:c.right)?s:0)+200,h),o.stroke(),o.restore()}},r={id:"transitionLines",afterDatasetsDraw(e,t,l){let{ctx:n,scales:{x:i,y:r}}=e;r&&(n.save(),n.lineWidth=1,n.setLineDash([2,2]),(0,a.v)(l.transitionPoints,(t,a)=>{var i;let s=e.getDatasetMeta(0).data[+a];if(!s)return;let{x:o,width:d}=s.getProps(["x","width"],!0),c=o-d/2;n.beginPath(),n.strokeStyle=t,n.moveTo(c,r.top),n.lineTo(c,r.getPixelForValue(r.min+(null!=(i=l.floatPoint)?i:0))),n.stroke()}),n.restore())}}},56157:(e,t,l)=>{"use strict";l.d(t,{$:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Dew Point"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,a.jsx)("path",{d:"M10.889 4.663a2 2 0 1 0 2.222-3.326 2 2 0 0 0-2.222 3.326m.555-2.494a1 1 0 1 1 1.112 1.663 1 1 0 0 1-1.112-1.663M5.308 14.199A2.75 2.75 0 0 0 7.25 15 2.75 2.75 0 0 0 10 12.26c0-1.721-2.172-10.507-2.265-10.88a.5.5 0 0 0-.97 0C6.672 1.753 4.5 10.539 4.5 12.26c.002.728.293 1.425.808 1.939M5.5 12.26c0-1.056 1.02-5.57 1.75-8.638C7.98 6.69 9 11.205 9 12.26a1.75 1.75 0 1 1-3.5 0"})})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="DewPoint"},56768:(e,t)=>{"use strict";var l;Object.defineProperty(t,"__esModule",{value:!0}),t.InsightType=void 0,function(e){e.ALL="all",e.BREAKING_VIDEO_INSIGHT="breakingVideoInsight",e.CHANCE_PRECIP_INSIGHT="chancePrecipInsight",e.SUNNY_DAY_INSIGHT="sunnyDayInsight",e.POLLEN_INSIGHT="pollenInsight",e.TEMPERATURE_CHANGE_INSIGHT="temperatureChangeInsight",e.TRENDING_TEMPERATURE_INSIGHT="trendingTemperatureInsight",e.SUN_INSIGHT="sunInsight",e.SHORT_TERM_PRECIP_INSIGHT="shortTermPrecipInsight",e.THUNDERSTORM_SOON_INSIGHT="thunderstormSoonInsight",e.SEVERE_STORM_INSIGHT="severeStormInsight",e.PRECIP_INSIGHT="precipInsight"}(l||(t.InsightType=l={}))},56791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedAlerts=void 0,t.getSortedAlerts=e=>[...e].sort((e,t)=>e.displayRank>t.displayRank?1:e.displayRankt.eventTrackingNumber?1:(e.eventTrackingNumber{"use strict";l.d(t,{Z:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Wind"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.333 4.626C8.575 3.757 9.41 3 10.648 3c1.497 0 2.39 1.095 2.39 2.165 0 1.069-.893 2.164-2.39 2.164H4.389c-.256 0-.463-.188-.463-.42s.207-.42.463-.42h6.259c.91 0 1.463-.649 1.463-1.324 0-.676-.552-1.325-1.463-1.325-.764 0-1.265.45-1.416.991-.063.225-.315.361-.563.304s-.398-.285-.336-.51M2 9.09c0-.232.207-.42.463-.42h9.148C13.107 8.67 14 9.766 14 10.835S13.107 13 11.61 13c-1.334 0-2.211-.882-2.364-1.694-.043-.228.127-.445.379-.484s.491.115.534.343c.082.435.598.996 1.452.996.91 0 1.462-.65 1.462-1.326 0-.675-.552-1.325-1.462-1.325H2.463C2.207 9.51 2 9.322 2 9.09",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Wind"},60645:(e,t,l)=>{"use strict";l.d(t,{D:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Snowflake"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,a.jsx)("path",{d:"M8 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13A.5.5 0 0 1 8 1"}),(0,a.jsx)("path",{d:"M5.896 1.896a.5.5 0 0 1 .707 0L8 3.293l1.396-1.397a.5.5 0 1 1 .707.708L8 4.707 5.896 2.604a.5.5 0 0 1 0-.708M5.896 13.854a.5.5 0 0 0 .707 0L8 12.457l1.396 1.397a.5.5 0 0 0 .707-.708L8 11.043l-2.104 2.103a.5.5 0 0 0 0 .708M14.062 4.5a.5.5 0 0 1-.183.683l-11.259 6.5a.5.5 0 0 1-.5-.866l11.259-6.5a.5.5 0 0 1 .683.183"}),(0,a.jsx)("path",{d:"M12.234 3.126a.5.5 0 0 1 .353.613l-.51 1.907 1.907.512a.5.5 0 1 1-.26.965l-2.873-.77.77-2.873a.5.5 0 0 1 .613-.354M1.878 9.105a.5.5 0 0 0 .354.612l1.908.511-.512 1.908a.5.5 0 1 0 .966.259l.77-2.874-2.873-.77a.5.5 0 0 0-.613.354M14.062 11.5a.5.5 0 0 1-.683.183L2.12 5.183a.5.5 0 1 1 .5-.866l11.259 6.5a.5.5 0 0 1 .183.683"}),(0,a.jsx)("path",{d:"M14.337 9.23a.5.5 0 0 1-.353.612l-1.908.511.511 1.908a.5.5 0 1 1-.966.259l-.77-2.874 2.874-.77a.5.5 0 0 1 .612.354M3.982 3.251a.5.5 0 0 0-.354.613L4.14 5.77l-1.908.512a.5.5 0 1 0 .259.965l2.873-.77-.77-2.873a.5.5 0 0 0-.612-.354"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Snowflake"},60827:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BlueskyBlock:()=>d,default:()=>c});var a=l(76792),n=l(42292);let i=(0,l(23803).h)("payload:Bluesky:OEmbed");function r(e){try{if(e.startsWith("at://")){let t=e.match(/^at:\/\/([^/]+)\/app\.bsky\.feed\.post\/([^/?#]+)/);if(t){let e=t[1],l=t[2];if(e&&l)return{handle:e,postId:l}}return null}let t=new URL(e).pathname.split("/");if(t.length>=5&&"profile"===t[1]&&"post"===t[3]){let e=t[2],l=t[4];if(e&&l)return{handle:e,postId:l}}return null}catch(e){return null}}async function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let l=r(e);if(!l)return{error:"invalid_url",message:"Invalid Bluesky URL format"};let a=new URL("https://embed.bsky.app/oembed");a.searchParams.set("url",e),i.debug("Fetching Bluesky oEmbed",{url:e,parsedUrl:l,options:t}),t.maxWidth&&a.searchParams.set("maxwidth",t.maxWidth.toString()),t.maxHeight&&a.searchParams.set("maxheight",t.maxHeight.toString());let n=await fetch(a.toString(),{method:"GET",headers:{Accept:"application/json","User-Agent":"wx-next/1.0"}});if(!n.ok)return{error:"api_error",message:"Bluesky API returned ".concat(n.status,": ").concat(n.statusText)};let s=await n.json();if("rich"!==s.type||!s.html)return{error:"invalid_response",message:"Invalid oEmbed response from Bluesky"};return s}catch(e){return{error:"fetch_error",message:e instanceof Error?e.message:"Unknown error occurred"}}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=r(e),a=l?"@".concat(l.handle):"Bluesky User";return'\n

\n
\n \n \n \n Bluesky Post\n
\n
\n Post by '.concat(a,'\n
\n \n ').concat(t?'
Thread view enabled
':"","\n
\n ")}let d=e=>{let{entryMethod:t,blueskyURL:l,postId:i,showThread:r=!1}=e,d=(0,n.useRef)(null),[c,u]=(0,n.useState)(!0),[m,h]=(0,n.useState)(null),p=(0,n.useCallback)(()=>"id"===t&&i?null:"url"===t&&l?l:null,[t,i,l]);return((0,n.useEffect)(()=>{(async()=>{let e=p();if(!e){h("No valid Bluesky URL provided"),u(!1);return}if(d.current){u(!0),h(null);try{let t=await s(e,{maxWidth:550,showThread:r});"error"in t?(console.warn("Bluesky oEmbed error:",t),d.current.innerHTML=o(e,r)):d.current.innerHTML=t.html}catch(t){console.error("Failed to load Bluesky embed:",t),d.current.innerHTML=o(e,r)}finally{u(!1)}}})()},[p,r]),c)?(0,a.jsx)("div",{className:"bluesky-embed-loading",style:{border:"1px solid #e1e8ed",borderRadius:"12px",padding:"16px",margin:"16px 0",maxWidth:"550px",background:"#f8f9fa",textAlign:"center"},children:(0,a.jsx)("div",{style:{color:"#536471"},children:"Loading Bluesky post..."})}):m?(0,a.jsxs)("div",{className:"bluesky-embed-error",style:{border:"1px solid #ff6b6b",borderRadius:"12px",padding:"16px",margin:"16px 0",maxWidth:"550px",background:"#fff5f5"},children:[(0,a.jsx)("div",{style:{color:"#d63031",fontWeight:"bold",marginBottom:"8px"},children:"Bluesky Embed Error"}),(0,a.jsx)("div",{style:{color:"#636e72"},children:m})]}):(0,a.jsx)("div",{className:"bluesky-embed-container",ref:d})},c=d},61344:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>c});var n=l(76792),i=l(55198),r=l(81100),s=l(91053),o=l(77119),d=e([o]);o=(d.then?(await d)():d)[0];let c=e=>{var t;let{location:l,onlyChart:a,initializing:d,initialError:c}=e,u=null==(t=(0,i.useParams)())?void 0:t.locale,{effectiveLocation:m,isLocationLoading:h}=(0,r.s)({location:l}),{loadingForecast:p,chartData:v,hasChartData:x,insightTextLong:g}=(0,s.A)(m,u);return c?null:(0,n.jsx)(o.A,{location:m,locale:u,onlyChart:a,isLoading:d||h||p,chartData:v,hasChartData:x,insightTextLong:g})};a()}catch(e){a(e)}})},62596:(e,t,l)=>{"use strict";l.d(t,{P:()=>n});var a=l(79315);let n=e=>{var t,l,n,i,r,s,o,d,c;let{date:u,locale:m="en-US",timeZone:h,minutes:p,showTimeZone:v,showShortDayperiod:x,weekday:g}=e;if(!u)return"";let{cDate:f,cTimeZone:y}=(0,a.r)({date:u,locale:m,timeZone:h}),N={hour:"numeric",hour12:!0,timeZone:y};g&&(N.weekday=g),p&&(N.minute="2-digit"),"en-US"!==m&&"es-US"!==m&&(delete N.hour12,N.minute="2-digit",N.hourCycle="h23"),v&&(N.timeZoneName="short");let b=new Intl.DateTimeFormat(m,N);if(m.includes("-US")){let e=b.formatToParts(f),a=g&&(null==(t=e.find(e=>"weekday"===e.type))?void 0:t.value),s=null==(l=e.find(e=>"hour"===e.type))?void 0:l.value,o=p&&(null==(n=e.find(e=>"minute"===e.type))?void 0:n.value),d=null==(i=e.find(e=>"dayperiod"===e.type.toLowerCase()))?void 0:i.value.toLowerCase(),c=m.includes("en")?d:null==d?void 0:d.replace(/\./g,"").replace(/\s/g,""),u=x?"".concat(null==c?void 0:c[0]," "):" ".concat(c," "),h=v?null==(r=e.find(e=>"timeZoneName"===e.type))?void 0:r.value:"",y=g?"".concat(a," "):"";return"".concat(y).concat(s).concat(p?":".concat(o):"").concat(u).concat(h).trim()}if(x){let e=b.formatToParts(f),t=g&&(null==(s=e.find(e=>"weekday"===e.type))?void 0:s.value),l=null==(o=e.find(e=>"hour"===e.type))?void 0:o.value,a=p&&(null==(d=e.find(e=>"minute"===e.type))?void 0:d.value),n=v?null==(c=e.find(e=>"timeZoneName"===e.type))?void 0:c.value:"";return"".concat(g?"".concat(t," "):"").concat(l).concat(p?":".concat(a):""," ").concat(n).trim()}return b.format(f)}},63236:(e,t,l)=>{"use strict";l.d(t,{b:()=>r});var a=l(76792);l(42292);var n=l(48260),i=l(71666);let r=e=>{let{className:t,units:l,visibility:r,unitsClassName:s}=e,o=l?(0,i.Bu)(l):null,d=null==o?void 0:o.distance,c="";return c=0===r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"0"}),(0,a.jsxs)("span",{className:(0,n.cn)(s),children:[" ",d]})]}):!r||r10||"m"===l&&r>16?"Unlimited":(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:r}),(0,a.jsxs)("span",{className:(0,n.cn)(s),children:[" ",d]})]}),(0,a.jsx)("span",{"data-testid":"VisibilityValue",className:(0,n.cn)(t),children:c})}},65148:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>b});var n=l(76792),i=l(42292),r=l(47421),s=l(48260),o=l(62596),d=l(50772),c=l(21230),u=l(42531),m=l(96304),h=l(55094),p=l(85670),v=l(12086),x=l(86096);let{Chart:e,CategoryScale:g,LinearScale:f,BarController:y,BarElement:N}=await Promise.all([l.e(9645),l.e(675)]).then(l.bind(l,46354));e.register(g,f,y,N);let b=(0,i.memo)(t=>{let{chartData:l,hasChartData:a,ianaTimeZone:g,locale:f,rootClass:y,rtl:N=!1,removeTransitionLines:b}=t,w=(0,r.c3)("PrecipIntensity"),j=(0,i.useRef)(null),I=(0,i.useRef)(null),[_,T]=(0,d.r)(e=>eN?[...l].reverse():l,[l,N]),A=(0,i.useMemo)(()=>(0,x.Hi)(l),[l]),C=(0,i.useMemo)(()=>{let e=Object.values(m.PrecipType),t=0;for(let l of e)A[l]&&t++;return t>1},[A]),R=(0,i.useMemo)(()=>{let e=E.map(e=>e.level),t=E.map(e=>{let{validTimeLocal:t}=e;return t}),l=E.map(e=>{let{precipType:t}=e;return t===m.PrecipType.RAIN?u.vc:t===m.PrecipType.SNOW?u.at:u._x});return{labels:t,datasets:[{label:w("chartTitle"),data:e,backgroundColor:l,borderWidth:0,maxBarThickness:_?4:8,categoryPercentage:1,stack:"stack1",borderRadius:12,borderSkipped:!1}]}},[_,E,w]),S=(0,i.useMemo)(()=>({responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1},transitionLines:{floatPoint:.5,transitionPoints:b?void 0:E.reduce((e,t,l)=>{var a;if(l>0&&t.level>0&&E[l-1]&&t.precipType!==(null==(a=E[l-1])?void 0:a.precipType)){let a=u._x;u.cv.includes(t.precipType)?a=u.vc:u.VF.includes(t.precipType)&&(a=u.at),e[l]=a}return e},{})},barBackground:{color:"#eeeeee",borderRadius:12,floatPoint:.5},extendXAxisLine:{color:"#eeeeee",lineWidth:1,offset:-2},datasets:{bar:{minBarLength:10}}},scales:{x:{stacked:!0,grid:{display:!0,drawOnChartArea:!1,drawTicks:!0,tickColor:"#676767",tickLength:3,tickWidth:1,tickBorderDashOffset:50,offset:!1},border:{display:!1},ticks:{major:{enabled:!0},display:!0,maxRotation:0,minRotation:0,autoSkip:!1,font:{size:_?12:14},color:"#676767",callback:function(e,t){var l;let a=(null==(l=this.chart.data.labels)?void 0:l[t])||"",n=new Date(a);return 0===n.getMinutes()?(0,o.P)({date:n,locale:f,timeZone:g,showShortDayperiod:!0}):_?null:""}}},y:{stacked:!0,min:-.5,max:9,position:N?"right":"left",grid:{display:!1,drawBorder:!1},ticks:{count:10,autoSkip:!1,display:!0,crossAlign:"far",font:{size:_?12:14},callback:function(e,t){return 2===t?w("chartLight"):8===t?w("chartHeavy"):""}},border:{display:!1}}}}),[b,E,_,N,w,f,g]);return((0,i.useEffect)(()=>{var t;let l=null==(t=j.current)?void 0:t.getContext("2d");if(l&&e)return I.current=new e(l,{type:"bar",data:R,options:S,plugins:[h.rT,h.lV,h.os]}),()=>{var e;null==(e=I.current)||e.destroy()}},[R,S]),a)?(0,n.jsxs)("div",{ref:T,className:(0,s.cn)("@container/precipChart",y),dir:N?"rtl":void 0,children:[(0,n.jsx)(p.A,{data:l,ianaTimeZone:g,locale:f}),(0,n.jsx)("div",{className:(0,s.cn)("relative h-26 text-sm text-gray-500 @md/precipChart:h-30",N?"pr-2 @md/precipChart:pr-3 @xl/precipChart:pr-4":"pl-2 @md/precipChart:pl-3 @xl/precipChart:pl-4"),children:(0,n.jsx)("canvas",{ref:j})}),C&&(0,n.jsx)(v.A,{rtl:N,legendTypes:A,isSamsungTheme:!1})]}):null});a()}catch(e){a(e)}},1)},66605:(e,t,l)=>{"use strict";l.r(t),l.d(t,{DailyForecastBlock:()=>H,default:()=>F});var a=l(76792),n=l(44685),i=l(46593),r=l(42292),s=l(47421),o=l(55198),d=l(81100),c=l(99530);let u=function(e,t){let l=(0,c.G)();return l?l.variant(e,t):t};var m=l(27370),h=l(48260),p=l(75302),v=l(32035),x=l(71666),g=l(68751),f=l(38098),y=l(55406),N=l(82903),b=l(69474),w=l(11340),j=l(6453),I=l(76088);let _=["relativeHumidity","uvIndex","sunrise","sunset"],T=["relativeHumidity","uvIndex","moonrise","moonset","moonPhase"],E=e=>{let{data:t,locale:l,validTime:n}=e,i=(0,s.c3)("DailyForecast"),r=(0,p.md)(v.Yt),o=(0,x.xP)(r),d=t.dayOrNight===I.DayOrNight.DAY,c=d?"cols-start-1":"cols-start-2";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:c+" row-start-1 mb-4",children:[(0,a.jsxs)("div",{className:"mb-2 flex justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)(g.Ay,{children:[(0,a.jsx)("span",{className:"font-bold",children:n})," | ",i(d?"day":"night")]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(g.Ay,{variant:"Title.XL",elementType:"span",children:(0,a.jsx)(y.B,{value:t.temperature})}),(0,a.jsx)(w.WxIcon,{iconCode:t.iconCode,iconCodeExtend:t.iconCodeExtend,className:"size-11"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-end gap-1",children:[(0,a.jsx)(b.W,{precipChance:t.precipChance,precipType:t.precipType,iconClassName:"mr-1"}),(0,a.jsx)(f.Z,{windSpeed:t.windSpeed,windDirectionCardinal:t.windDirectionCardinal,units:o.code,iconClassName:"mr-1",cardinalBeforeSpeed:!0,useWindIcon:!0})]})]}),(0,a.jsx)(g.Ay,{children:t.narrative})]}),(0,a.jsx)("div",{className:c+" row-start-2 mb-4",children:(0,a.jsx)(j.A,{dataPoints:t,fields:d?_:T,locale:l,columns:2})})]})};var A=l(79315);let C=(e,t,l)=>{var a,n;if(!e)return"";let i=((e,t,l,a)=>{if(!e)return[];let{cDate:n,formatOptions:i}=((e,t,l,a)=>{let{cDate:n,cTimeZone:i}=(0,A.r)({date:e,locale:t,timeZone:l}),r=null!=a?a:{year:"numeric",month:"2-digit",day:"2-digit",weekday:"short"};return r.timeZone=i,{cDate:n,cTimeZone:i,formatOptions:r}})(e,t,l,a);return new Intl.DateTimeFormat(t,i).formatToParts(n)})(e,t,l),r=null==(a=i.find(e=>"day"===e.type))?void 0:a.value,s=null==(n=i.find(e=>"weekday"===e.type))?void 0:n.value;return"".concat(s," ").concat(r)},R=e=>{var t,l;let{dailyForecast:n,locale:i,timeZone:o,itemIndex:d,isKoreaCscLocation:c,locationDayDate:u}=e,m=(0,p.md)(v.Yt),h=(0,x.xP)(m),j=(0,s.c3)("DailyForecast"),I=null==(t=n.daypart)?void 0:t[0],_=null==(l=n.daypart)?void 0:l[1],T=null!=I?I:_,A=null==T?void 0:T.wxPhraseLong,R=(null==n?void 0:n.validTimeLocal)&&C(n.validTimeLocal,i,o),S=(0,r.useMemo)(()=>c?u===R?j("today"):R:0===d&&(null==T?void 0:T.daypartName)?null==T?void 0:T.daypartName:R,[c,d,u,null==T?void 0:T.daypartName,R,j]);return R?(0,a.jsxs)(N.As,{value:R,className:"border-grey-500 @container/dailyItem gap-1 overflow-hidden border-b py-3",children:[(0,a.jsx)(N.$m,{className:"items-center gap-2 p-0",iconClassName:"size-4",triggerContent:(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-1 [&>.openHide]:group-data-[state=open]:invisible",children:[(0,a.jsx)("div",{className:"min-w-[60px]",children:(0,a.jsx)(g.Ay,{className:"whitespace-nowrap group-data-[state=open]:font-bold @max-xs/dailyItem:text-sm",children:S})}),(0,a.jsx)("div",{className:"openHide basis-[90px]",children:(0,a.jsxs)(g.Ay,{variant:"Body.M",elementType:"span",className:"whitespace-nowrap",children:[(0,a.jsx)(g.Ay,{variant:"Body.L.Bold",elementType:"span",children:(0,a.jsx)(y.B,{value:n.temperatureMax})})," / ",(0,a.jsx)(y.B,{value:n.temperatureMin})]})}),(0,a.jsxs)("div",{className:"openHide relative flex h-6 items-center",children:[(0,a.jsx)(w.WxIcon,{iconCode:null==T?void 0:T.iconCode,className:"lightBG size-7",size:"lg",iconTheme:"lightBG","aria-label":A||"Weather condition ".concat(null==T?void 0:T.iconCode)}),(0,a.jsx)(g.Ay,{variant:"Body.M",className:"min-w-[200px] pl-1.5 @max-xl/dailyItem:hidden",children:A})]}),(0,a.jsx)("div",{className:"openHide basis-[60px]",children:(0,a.jsx)(b.W,{precipChance:null==T?void 0:T.precipChance,className:"whitespace-nowrap",iconClassName:"size-3"})}),(0,a.jsx)("div",{className:"openHide basis-[76px]",children:(0,a.jsx)(g.Ay,{elementType:"div",children:(0,a.jsx)(f.Z,{windSpeed:null==T?void 0:T.windSpeed,windDirectionCardinal:null==T?void 0:T.windDirectionCardinal,units:h.code,displayMode:"directional",className:"whitespace-nowrap",iconClassName:"size-3 @md/dailyItem:size-4"})})})]})}),(0,a.jsxs)(N.ub,{className:"mt-2 block auto-cols-[1fr_1fr] gap-x-6 @md/dailyItem:grid @xl/dailyItem:gap-x-8",children:[I&&(0,a.jsx)(E,{data:I,locale:i,validTime:R}),_&&(0,a.jsx)(E,{data:_,locale:i,validTime:R})]})]}):null};var S=l(69585),L=l(9198);let D=e=>{var t;let{location:l,isLoading:n,error:i,dailyForecasts:o,locale:d,isKoreaCscLocation:c,locationTime:u,canToggleMultipleItems:p,ctaText:v,ctaLink:x,reorderModule:g}=e,f=(0,s.c3)("DailyForecast"),y=(null==l?void 0:l.ianaTimeZone)||"America/New_York",b=(0,r.useMemo)(()=>y?C(u,d,y):"",[d,y,u]),w=null==o||null==(t=o[0])?void 0:t.validTimeLocal;return(0,a.jsxs)(S.Zp,{className:(0,h.cn)("not-prose @container/daily",g?"-order-1":"order-0"),"aria-label":f("dailyForecast"),"data-testid":"hourly-forecast",children:[(0,a.jsx)(S.aR,{text:f("dailyForecast"),className:"gap-0 p-0"}),(0,a.jsx)(S.Wu,{className:"p-0",children:l?n?(0,a.jsx)("div",{className:"flex h-64 items-center justify-center p-6",children:(0,a.jsx)("div",{className:"animate-pulse text-xl",children:f("loadingForecastData")})}):i||(null==o?void 0:o.length)===0?(0,a.jsx)("div",{className:"flex h-64 items-center justify-center p-6",children:(0,a.jsx)("div",{className:"text-xl text-red-500",children:(null==i?void 0:i.message)||f("unableToLoadData")})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N.nD,{...p?{type:"multiple",defaultValue:w?[w]:void 0}:{type:"single",defaultValue:w},children:null==o?void 0:o.map((e,t)=>(0,a.jsx)(R,{itemIndex:t,dailyForecast:e,location:l,locale:d,timeZone:y,isKoreaCscLocation:c,locationDayDate:b},e.validTimeLocal))}),x&&v&&(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(m.$n,{"data-testid":"next-48-hours",asChild:!0,children:(0,a.jsx)(L.default,{href:x,children:v})})})]}):(0,a.jsx)("div",{className:"flex h-64 items-center justify-center p-6",children:(0,a.jsx)("div",{className:"animate-pulse text-xl",children:f("loadingLocation")})})})]})};var M=l(44615),P=l(14124),W=l(99838),O=l(77962);let k=e=>{let{location:t,simplifiedVersion:l,initializing:n,initialError:i}=e,c=(0,o.useParams)(),m=null==c?void 0:c.locale,h=(0,s.c3)("DailyForecast"),{value:g}=u("reorder-current-conditions-and-forecast","control"),{effectiveLocation:f,isLocationLoading:y}=(0,d.s)({location:t}),{dailyForecasts:N,error:b,isLoading:w,isKoreaCscLocation:j,locationTime:_}=((e,t)=>{var l;let a=(0,o.useParams)(),n=null==a?void 0:a.locale,i=(0,p.md)(v.Yt),s=null==(l=(0,x.xP)(i))?void 0:l.code,d=(0,O.A)(),c="KR"===d,u=c&&(null==e?void 0:e.countryCode)==="KR",m=null==e?void 0:e.ianaTimeZone,h=(0,r.useMemo)(()=>{let e;return m?(e=new Date,(0,W.$)(new Intl.DateTimeFormat("en-US",{timeZone:m,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZoneName:"longOffset"}).format(new Date(e)))):""},[m]),{data:g,error:f,isLoading:y}=(0,M.Ay)(e?["get-daily-forecast",e.geocode,t?I.ForecastDuration.THREE_DAY:I.ForecastDuration.FIFTEEN_DAY,s,n,c?d:void 0]:null,e=>{let[t,l,a,n,i,r]=e;return(0,P.v1)({geocode:l,units:n,duration:a,language:i,cscCountryCode:r})},{revalidateOnFocus:!0,dedupingInterval:6e4});return{dailyForecasts:(0,r.useMemo)(()=>t?null==g?void 0:g.slice(0,4):g,[g,t]),error:f,isLoading:y,isKoreaCscLocation:u,locationTime:h}})(f,l);return(0,a.jsx)(D,{location:f,isLoading:n||w||y,error:i||b,dailyForecasts:N,locale:m,isKoreaCscLocation:j,locationTime:_,canToggleMultipleItems:!l,ctaText:l?h("bottomCtaButton"):void 0,ctaLink:l?"/weather/tenday/l/".concat(null==f?void 0:f.placeId):void 0,reorderModule:"treatment"===g})},H=e=>{let{locationProvider:t,locationEntry:l,simplifiedVersion:r}=e,s="specified"===t,{specifiedLocationData:o,specifiedLocationError:d,isSpecifiedLocationLoading:c}=(0,i.v)(s?l:null),u=s&&o&&l?(0,n.I)(o):void 0;return(0,a.jsx)(k,{location:u,simplifiedVersion:null!=r&&r,initializing:s&&c,initialError:s?d:void 0})},F=H},69474:(e,t,l)=>{"use strict";l.d(t,{W:()=>d});var a=l(76792),n=l(60645),i=l(51254),r=l(48260),s=l(28004),o=l(96304);let d=e=>{let{precipChance:t,precipType:l,showIcon:d=!0,displayMode:c="text",className:u,iconClassName:m,textClassName:h,progressClassName:p,progressBarClassName:v}=e;if(!t)return"--";let x=l===o.PrecipType.SNOW?n.D:i.Y;return(0,a.jsxs)(a.Fragment,{children:[("text"===c||"both"===c)&&(0,a.jsxs)("span",{className:(0,r.cn)(u,h),children:[d&&(0,a.jsx)(x,{className:(0,r.cn)("size-4",m)}),(0,a.jsx)(s.N,{value:t,className:"align-middle"})]}),("progress"===c||"both"===c)&&(0,a.jsxs)("div",{className:(0,r.cn)("relative inline-block h-5 w-26 overflow-hidden rounded-xl bg-[#e9e9e9] align-middle",u,p),children:[(0,a.jsx)("div",{className:(0,r.cn)("relative h-full w-full rounded-xl bg-[#cbdef0]",v),style:{left:"".concat(t-100,"%")}}),(0,a.jsxs)("div",{className:"absolute top-0 bottom-0 flex h-full w-full items-center p-1",children:[d&&(0,a.jsx)(x,{className:(0,r.cn)("size-3.25",m)}),(0,a.jsx)(s.N,{value:t,className:"text-sm"})]})]})]})}},69585:(e,t,l)=>{"use strict";l.d(t,{Wu:()=>h,Zp:()=>u,aR:()=>m});var a=l(76792),n=l(42292),i=l(84057),r=l(30505),s=l(48260),o=l(68751),d=l(27370);let c=(0,r.F)("flex flex-col",{variants:{variant:{default:"bg-card text-card-foreground border-b",outline:"bg-card text-card-foreground overflow-hidden",ghost:"bg-transparent"},padding:{default:"",none:"",sm:"p-2",md:"p-4",lg:"p-6"},border:{default:"",none:"",lt:"border border-gray-200",md:"border border-gray-400",dk:"border border-gray-600"},background:{default:"",none:"",lt:"bg-gray-100",md:"bg-gray-300",dk:"bg-gray-500"},radius:{none:"",default:"",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg"},interactive:{true:"focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 hover:outline hover:outline-2 hover:outline-offset-2 hover:outline-blue-500",false:""}},defaultVariants:{variant:"default",padding:"default",border:"default",radius:"default",background:"default",interactive:!1},compoundVariants:[{variant:"default",padding:"default",border:"default",class:"pb-6 border-gray-500 last-of-type:border-0"},{variant:"outline",radius:"default",class:"rounded-md"},{variant:"outline",border:"default",class:"border bg-gray-100"},{variant:"outline",padding:"default",class:"p-4"}]}),u=n.forwardRef((e,t)=>{let{className:l,variant:n,padding:r,radius:o,border:d,asChild:u=!1,children:m,testId:h,...p}=e,v=u?i.DX:"section";return(0,a.jsx)(v,{className:(0,s.cn)(c({variant:n,padding:r,radius:o,border:d,interactive:u}),l),ref:t,...p,children:m})});u.displayName="Card";let m=n.forwardRef((e,t)=>{let{className:l,textVariant:n="Title.S",text:i,children:r}=e;return(0,a.jsx)(a.Fragment,{children:i?(0,a.jsx)(o.EY,{ref:t,className:(0,s.cn)("flex",l),variant:n,children:i}):r})});m.displayName="CardHeader";let h=n.forwardRef((e,t)=>{let{className:l,children:n,...i}=e;return(0,a.jsx)("div",{className:(0,s.cn)("flex-1",l),ref:t,...i,children:n})});h.displayName="CardContent",n.forwardRef((e,t)=>{let{className:l,ctaText:n,ctaHref:i,ctaTarget:r="_self",children:o,...c}=e;return(0,a.jsx)("footer",{className:(0,s.cn)("flex items-center pt-4",l),ref:t,...c,children:o||(n&&i?(0,a.jsx)(d.$n,{variant:"default",size:"sm",asChild:!0,children:(0,a.jsx)("a",{href:i,target:r,children:n})}):null)})}).displayName="CardFooter"},70214:(e,t,l)=>{"use strict";l.d(t,{z:()=>n});var a=l(79315);let n=e=>{let{date:t,locale:l="en-US",timeZone:n}=e;if(!t)return"";let{cDate:i,cTimeZone:r}=(0,a.r)({date:t,locale:l,timeZone:n});return new Intl.DateTimeFormat(l,{weekday:"long",day:"numeric",month:"long",timeZone:r}).format(i)}},70336:(e,t,l)=>{"use strict";l.d(t,{Wu:()=>s,Zp:()=>i,aR:()=>r});var a=l(76792);l(42292);var n=l(48260);function i(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card",className:(0,n.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl py-6",t),...l})}function r(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...l})}function s(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-6",t),...l})}},74130:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CTABlock:()=>i,default:()=>r});var a=l(76792);l(42292);var n=l(22627);let i=e=>{let{title:t,subTitle:l,subText:i,ctaStyle:r,media:s,buttonText:o,linkUrl:d,openInNewTab:c,backgroundColor:u}=e,m=void 0!=s.url?s.url:"string"==typeof s?s:null;return(0,a.jsx)("section",{className:"not-prose @container mx-auto w-full max-w-4xl rounded-md ".concat({white:"bg-white","light-gray":"bg-gray-100","brand-blue":"bg-blue-500",accent:"bg-accent"}[u||"white"]," p-5 shadow-2xl"),children:(0,a.jsx)("div",{className:"cta-block ".concat(r),children:(0,a.jsxs)("div",{className:"cta-content text-black",children:[(0,a.jsx)("h2",{className:"mb-6 text-2xl font-bold",children:t}),m&&(0,a.jsx)("a",{href:d,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,className:"mb-4 block overflow-hidden rounded-lg",children:(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)(n.A,{src:m,alt:t})})}),l&&(0,a.jsx)("h2",{className:"mb-2 text-lg font-bold",children:l}),i&&(0,a.jsx)("p",{className:"mb-4",children:i}),"standard"===r&&(0,a.jsx)("div",{className:"mt-4 flex justify-end",children:(0,a.jsx)("a",{href:d,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,className:"inline-block rounded-lg bg-black px-6 py-3 text-white transition-colors hover:bg-gray-800",children:o||"Learn More"})})]})})})},r=i},75782:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.r(t),l.d(t,{PrecipIntensityBlock:()=>d,default:()=>c});var n=l(76792),i=l(46593),r=l(44685),s=l(61344),o=e([s]);s=(o.then?(await o)():o)[0];let d=e=>{let{locationEntry:t,locationProvider:l}=e,a="specified"===l,{specifiedLocationData:o,specifiedLocationError:d,isSpecifiedLocationLoading:c}=(0,i.v)(t),u=a&&o&&t?(0,r.I)(o):void 0;return(0,n.jsx)(s.A,{location:u,initializing:a&&c,initialError:a?d:void 0})},c=d;a()}catch(e){a(e)}})},75848:(e,t,l)=>{"use strict";l.d(t,{K:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"humidity"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M8 13a3.5 3.5 0 0 0 3.5-3.5c0-.59-.276-1.34-.701-2.13-.309-.573-.637-1.068-.907-1.475a26 26 0 0 1-.267-.406 77 77 0 0 1-.564-.9c-.151-.244-.281-.453-.502-.796a43 43 0 0 1-.556-.885c-.14.229-.318.52-.55.883-.238.37-.371.587-.538.86-.13.212-.28.456-.515.832q-.159.25-.35.531c-.257.382-.549.816-.841 1.348C4.78 8.139 4.5 8.886 4.5 9.5A3.5 3.5 0 0 0 8 13m0 1a4.5 4.5 0 0 0 4.5-4.5c0-1.486-1.16-3.231-1.797-4.19q-.136-.206-.234-.358a80 80 0 0 1-.552-.88c-.16-.258-.3-.484-.518-.821-.243-.376-.426-.674-.57-.91-.425-.693-.514-.837-.829-.837s-.395.133-.814.822c-.144.237-.328.54-.575.925-.24.373-.382.606-.556.889-.131.214-.28.457-.503.812-.078.125-.18.276-.296.449C4.606 6.37 3.5 8.017 3.5 9.5A4.5 4.5 0 0 0 8 14",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M12.5 9.5a4.48 4.48 0 0 1-1.107 2.957L4.845 6.025c.283-.443.545-.814.707-1.073.517-.825.638-1.045 1.059-1.701.966-1.507.967-1.747 1.389-1.747s.438.259 1.399 1.747c.413.64.55.883 1.07 1.701S12.5 7.804 12.5 9.5"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="Humidity"},76088:(e,t)=>{"use strict";var l,a,n,i,r,s,o,d,c,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"}(l||(t.Units=l={})),function(e){e.THREE_DAY="3day",e.FIVE_DAY="5day",e.SEVEN_DAY="7day",e.TEN_DAY="10day",e.FIFTEEN_DAY="15day"}(a||(t.ForecastDuration=a={})),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"}(n||(t.HourlyForecastDuration=n={})),function(e){e.DAY="D",e.NIGHT="N",e.MISSING="X"}(i||(t.DayOrNight=i={})),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"}(r||(t.WindDirectionCardinal=r={})),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"}(o||(t.PressureTendencyCode=o={})),function(e){e.CLEAR="Clear",e.PARTLY_CLOUDY="Partly Cloudy",e.MOSTLY_CLOUDY="Mostly Cloudy",e.CLOUDY="Cloudy"}(d||(t.CloudCoverPhrase=d={})),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"}(c||(t.IconCode=c={})),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"}},76159:(e,t,l)=>{"use strict";t.g=s;let a=l(30253),n=l(17681),i=l(36762),r=l(35181);async function s(e){let t=(0,a.getHourlyAirQualityForecastUrlConfig)(e),l=(0,n.urlFrom)(t),s=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return function(e){let t=e.globalairquality,l={validTimeGmt:t.validTimeGmt,airQualityIndex:t.airQualityIndex,airQualityCategory:t.airQualityCategory,airQualityCategoryIndex:t.airQualityCategoryIndex,airQualityCategoryIndexColor:t.airQualityCategoryIndexColor,primaryPollutant:t.primaryPollutant},a=(0,r.createTransformer)((e,l)=>{var a,n;let i=e=>{var a,n,i,r;let s=t.pollutants[e];if(s)return{name:s.name,phrase:s.phrase,amount:null!=(a=s.amount[l])?a:0,unit:s.unit,category:null!=(n=s.category[l])?n:"",categoryIndex:null!=(i=s.categoryIndex[l])?i:0,index:null!=(r=s.index[l])?r:0}};return{...e,pollutants:{CO:i("CO"),NO2:i("NO2"),O3:i("O3"),PM10:i("PM10"),PM2_5:i("PM2.5"),SO2:i("SO2")},messages:{general:null!=(a=t.messages.General[l])?a:{title:"",text:""},sensitiveGroup:null!=(n=t.messages["Sensitive Group"][l])?n:{title:"",text:""}}}})(l);return{latitude:t.latitude,longitude:t.longitude,source:t.source,disclaimer:t.disclaimer,expireTimeGmt:t.expireTimeGmt,forecast:a}}(await (0,i.handleFetchResponse)(s))}},77119:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>u});var n=l(76792),i=l(47421),r=l(70336),s=l(68751),o=l(9198),d=l(65148),c=e([d]);d=(c.then?(await c)():c)[0];let u=e=>{let{location:t,locale:l,onlyChart:a,isLoading:c,chartData:u,hasChartData:m,rtl:h,removeTransitionLines:p,insightTextLong:v}=e,x=(0,i.c3)("PrecipIntensity");if(c||!c&&!m)return null;let g=()=>(0,n.jsx)(d.A,{chartData:u,hasChartData:m,ianaTimeZone:null==t?void 0:t.ianaTimeZone,locale:l,rtl:h,removeTransitionLines:p});return a?g():m&&(0,n.jsxs)(r.Zp,{className:"relative min-h-[100px] gap-0 overflow-hidden p-4",children:[(0,n.jsxs)(r.Wu,{className:"p-0",children:[v&&(0,n.jsxs)(s.Ay,{variant:"Body.M",className:"mb-2",children:[(0,n.jsx)("span",{className:"font-bold",children:"Outlook:"})," ",v]}),g()]}),t&&(0,n.jsx)(o.default,{className:"absolute top-0 right-0 bottom-0 left-0",href:"/weather/hourbyhour/l/".concat(t.placeId),"aria-label":x("viewHourlyForecast"),children:"\xa0"})]})};a()}catch(e){a(e)}})},77962:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a=()=>""},79315:(e,t,l)=>{"use strict";l.d(t,{r:()=>n});var a=l(99838);let n=e=>{let{date:t,timeZone:l}=e;return{cDate:new Date((0,a.$)(t)),cTimeZone:(e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch(e){return"Etc/UTC"}})(l)}}},79442:(e,t,l)=>{"use strict";l.d(t,{lG:()=>u,Cf:()=>p,LC:()=>h,ZJ:()=>m,L3:()=>v});var a=l(76792);l(42292);var n=l(74277),i=l(72527),r=l(48260);l(27370);var s=l(30505),o=l(68751);let d=(0,s.F)("",{variants:{type:{overlay:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",content:"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 fixed left-[50%] top-[50%] z-50 w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md p-6",header:"mb-4 text-center",footer:"mt-6 flex flex-col-reverse gap-2 text-center"}},defaultVariants:{type:"content"}}),c=e=>{let{children:t}=e;return(0,a.jsx)(o.EY,{variant:"Title.M",children:t})};function u(e){let{...t}=e;return(0,a.jsx)(n.bL,{"data-slot":"dialog",...t})}function m(e){let{...t}=e;return(0,a.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function h(e){let{className:t,...l}=e;return(0,a.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,r.cn)(d({type:"overlay"}),t),...l})}function p(e){let{className:t,children:l,showCloseButton:s=!0,...o}=e;return(0,a.jsxs)(m,{"data-slot":"dialog-portal",children:[(0,a.jsx)(h,{}),(0,a.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,r.cn)(d({type:"content"}),t),...o,children:[l,s&&(0,a.jsxs)(n.bm,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,a.jsx)(i.b,{className:"h-5 w-5 text-black"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function v(e){let{className:t,children:l,...i}=e;return(0,a.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,r.cn)("pt-4 text-center",t),...i,children:(0,a.jsx)(c,{children:l})})}},79634:(e,t,l)=>{"use strict";l.d(t,{A:()=>b});var a=l(76792),n=l(6453),i=l(75302),r=l(32035),s=l(71666),o=l(68751),d=l(47421),c=l(62596),u=l(38098),m=l(55406),h=l(28004),p=l(82903),v=l(48260),x=l(69474),g=l(7886),f=l(11340);let y=["temperatureFeelsLike","accumulation","windSpeed","pressureMeanSeaLevel","cloudCover","temperatureDewPoint","uvIndex","visibility","relativeHumidity","windGust"],N=e=>{let{text:t}=e;return(0,a.jsx)(o.Ay,{variant:"Caption.M",color:"secondary",className:"mb-1 font-bold @max-md/hourItem:hidden",children:t})},b=e=>{let{forecast:t,location:l,locale:b,itemIndex:w,longPhraseInSet:j}=e,I=(0,d.c3)("DetailsTable"),_=(0,i.md)(r.Yt),T=(0,s.xP)(_),E=0===w;return(0,a.jsxs)(p.As,{value:t.validTimeLocal,className:"border-grey-500 @container/hourItem gap-2 border-b py-3",children:[(0,a.jsx)(p.$m,{className:"items-end gap-1 p-0 @md/hourItem:gap-3",iconClassName:"mb-1 size-4",triggerContent:(0,a.jsxs)("div",{className:"flex w-full items-end justify-between gap-1",children:[(0,a.jsx)("div",{className:"min-w-[60px]",children:(0,a.jsx)(o.Ay,{className:(0,v.cn)("inline-block rounded-[100px] px-2 py-0.5 whitespace-nowrap","group-data-[state=open]:bg-blue-500 group-data-[state=open]:text-white"),children:(0,c.P)({date:t.validTimeLocal,locale:b,timeZone:l.ianaTimeZone})})}),(0,a.jsx)("div",{className:"basis-[40px]",children:(0,a.jsx)(o.Ay,{variant:"Body.L.Bold",children:(0,a.jsx)(m.B,{value:t.temperature})})}),(0,a.jsxs)("div",{className:"relative flex h-6 items-center",children:[(0,a.jsx)(f.WxIcon,{iconCode:t.iconCode,className:"lightBG size-7 @md/hourItem:size-8",size:"lg",iconTheme:"lightBG","aria-label":t.wxPhraseLong||"Weather condition ".concat(t.iconCode)}),(0,a.jsx)(o.Ay,{variant:"Body.M",className:(0,v.cn)("pl-1.5 @max-2xl/hourItem:hidden",j?"min-w-[200px]":"min-w-[110px]"),children:t.wxPhraseLong})]}),(0,a.jsx)("div",{className:"min-w-[50px] items-end @lg/hourItem:min-w-[105px] @lg/hourItem:py-0.5",children:(0,a.jsx)(x.W,{precipChance:t.precipChance,displayMode:"both",textClassName:"@lg/hourItem:hidden",progressClassName:"@max-lg/hourItem:hidden",iconClassName:"@max-lg/hourItem:size-3"})}),(0,a.jsxs)("div",{className:"basis-[72px] items-end @max-md/hourItem:hidden",children:[E&&(0,a.jsx)(N,{text:I("humidity")}),(0,a.jsx)(o.Ay,{children:(0,a.jsx)(h.N,{value:t.relativeHumidity})})]}),(0,a.jsxs)("div",{className:"basis-[76px] items-end",children:[E&&(0,a.jsx)(N,{text:I("wind")}),(0,a.jsx)(o.Ay,{elementType:"div",children:(0,a.jsx)(u.Z,{windSpeed:t.windSpeed,windDirectionCardinal:t.windDirectionCardinal,units:T.code,displayMode:"directional",className:"whitespace-nowrap",iconClassName:"size-3 @md/hourItem:size-4"})})]}),(0,a.jsxs)("div",{className:"min-w-[76px] @max-md/hourItem:hidden",children:[E&&(0,a.jsx)(N,{text:I("precipitation")}),(0,a.jsx)(o.Ay,{children:(0,a.jsx)(g.e,{precipType:t.precipType,qpf:t.qpf,qpfSnow:t.qpfSnow,units:T.code})})]})]})}),(0,a.jsx)(p.ub,{className:"pt-2 pb-2 @md/hourItem:pt-4",children:(0,a.jsx)(n.A,{dataPoints:t,fields:y,locale:b})})]})}},82064:(e,t,l)=>{"use strict";l.r(t),l.d(t,{VideoBlock:()=>b,default:()=>w});var a=l(76792),n=l(42292),i=l(44615),r=l(86605);let s="/placeholder-video-thumbnail.jpg";var o=l(46859),d=l(95624),c=l(99343),u=l(58010),m=l(18556),h=l(48260),p=l(25319),v=l(70412),x=l(75302),g=l(13942);let f={src:"/_next/static/media/placeholder.6858ca75.jpg"},y=(0,l(23803).h)("video:events"),N=async e=>{let t=await fetch(e);if(!t.ok)throw Error("Failed to fetch video data from ".concat(e));return t.json()},b=e=>{var t;let{file:l,image:b,title:w,description:j,tracks:I=[],playlist:_,custom:T={},playerSettings:E,descriptionAttributes:A,videoReference:C,playlistsReference:R=[]}=e,S="video-player-".concat((0,n.useId)()),L=(0,n.useRef)(!0),D=(0,n.useRef)(null),M=(null==(t=(0,p.J)())?void 0:t.user)||{},P=(0,x.md)(g.a),W=M.isUserPremium||P,O=(0,v.z)(),k=null;C&&("string"==typeof C?k="/api/payload/videos/".concat(C):"object"==typeof C&&(k=(null==C?void 0:C.id)?"/api/payload/videos/".concat(C.id):null));let{data:H,error:F}=(0,i.Ay)(k,N,{revalidateOnFocus:!1,dedupingInterval:3e5}),G=(0,c.c)(),B=(0,n.useMemo)(()=>{let e=[];return!Array.isArray(I)&&(null==I?void 0:I.file)?e.push(I):Array.isArray(I)&&e.push(...I),e},[I]),V=(0,n.useMemo)(()=>H&&Object.keys(H).length>0||C&&"string"!=typeof C,[H,C]),U=(0,n.useMemo)(()=>H&&Object.keys(H).length>0?H:C&&"string"!=typeof C?C:null,[H,C]),z=(0,n.useMemo)(()=>{var e,t,a,n,i,r,s,o,d;return V&&(null==U||null==(t=U.content)||null==(e=t.videoFormatUrls)?void 0:e.length)>0?(null==U||null==(n=U.content)||null==(a=n.defaultFormat)?void 0:a.url)?null==U||null==(d=U.content)||null==(o=d.defaultFormat)?void 0:o.url:null==U||null==(s=U.content)||null==(r=s.videoFormatUrls)||null==(i=r[0])?void 0:i.url:l},[V,U,l]),Z=(0,n.useMemo)(()=>{if(V){var e,t,l;return(null==U||null==(e=U.content)?void 0:e.keyFrameImage)||(null==U||null==(l=U.seo)||null==(t=l.image)?void 0:t.url)||b}return b},[V,U,b]),Y=(0,n.useMemo)(()=>V&&(null==U?void 0:U.title)||w,[V,U,w]),q=(0,n.useMemo)(()=>{if(V&&(null==U?void 0:U.description)){var e,t,l;return(null==(l=U.description.root)||null==(t=l.children[0])||null==(e=t.children[0])?void 0:e.text)||j}return j},[V,U,j]),Q=(0,n.useMemo)(()=>{if(D.current&&JSON.stringify({file:z,image:Z,title:Y,description:q,tracks:B,playlist:_,custom:T})===JSON.stringify(D.current))return D.current;let e=Z||(z?(e=>{if(!e)return s;for(let t of[/(?:cdn\.jwplayer\.com\/(?:videos|manifests|previews)\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/,/(?:content\.jwplatform\.com\/(?:videos|manifests)\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/,/(?:players\.jwplayer\.com\/preview\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/]){let l=e.match(t);if(l&&l[1])return"https://cdn.jwplayer.com/v2/media/".concat(l[1],"/poster.jpg")}return s})(z):null)||f.src,t={file:z,image:e,title:Y,description:q,tracks:B,custom:T};return D.current=t,t},[z,Z,Y,q,B,_,T]),X=(0,n.useMemo)(()=>{var e,t,l,a;let n=[];return _&&(n=((e,t)=>{var l;if(!(null==t?void 0:t.file))return[];if("string"==typeof e)return(null==t?void 0:t.file)?[t]:[];let a=Array.isArray(e)?e:[];return(null==t?void 0:t.file)&&(!(a.length>0)||(null==(l=a[0])?void 0:l.file)!==(null==t?void 0:t.file))?[t,...a.filter(e=>e.file!==t.file)]:a})(_,Q)||[]),R&&R.length,V&&(null==U||null==(e=U.content)?void 0:e.playlists)&&Array.isArray(null==U||null==(t=U.content)?void 0:t.playlists)&&(null==U||null==(a=U.content)||null==(l=a.playlists)||l.length),n.length>0?n:[Q]},[_,Q,R,U,V]);if((0,n.useEffect)(()=>{L.current=!0},[X]),C&&"string"==typeof C&&!H&&!F)return(0,a.jsx)("div",{className:"flex h-32 items-center justify-center bg-gray-100",children:(0,a.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-t-2 border-b-2 border-gray-900"})});if(F)return(0,a.jsx)("div",{className:"flex h-32 items-center justify-center bg-red-100 text-red-800",children:(0,a.jsx)("span",{children:"Failed to load video data"})});if(!z)return null;let $=[...o.v,...d.yW].map(e=>{let{eventName:t,callback:l}=e;return{eventName:t,callback:e=>{let{event:a,player:n}=e;"time"!==t&&y.info("[".concat(t,"]:"),a),l({event:a,player:n,isFirstPlayRef:L,user:M,trackVideoEvent:G,isMobile:O})}}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.DebugCollector,{componentName:"VideoBlock",data:{props:{file:l,image:b,title:w,description:j,tracksCount:(0,m.J)(B),hasPlaylist:!!_&&_.length>0,custom:T},state:{videoObject:Q,playlistItems:X.length,isFirstPlay:L.current,events:$.map(e=>e.eventName)},performance:{}}}),(0,a.jsx)("div",{className:"overflow-hidden rounded-lg",children:(0,a.jsx)(r.h,{playlist:X,events:$,setupParams:{ads:!W}},S)}),(null==E?void 0:E.showDescriptions)&&(0,a.jsx)("p",{...A,className:(0,h.cn)("my-2 text-sm",null==A?void 0:A.className),children:Q.title})]})},w=b},82304:(e,t)=>{"use strict";t.J3=t.Ny=t.rn=void 0,t.rn="daily-newsletters-1",t.Ny="marketing-emails-1",t.J3=[{subscriptionGroupName:t.rn,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:t.Ny,subscriptionGroupId:"",isSubscribed:!1}]},84015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmailPreferencesStatusUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/status"}},t.getEmailPreferencesSetUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/set"}},t.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/change-email"}}},85670:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(76792),n=l(47421),i=l(62596);let r=e=>{let{data:t,ianaTimeZone:l,locale:r}=e,s=(0,n.c3)("PrecipIntensity");return(0,a.jsxs)("table",{className:"hidden",children:[(0,a.jsx)("caption",{children:s("tableCaption")}),(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:s("time")}),(0,a.jsx)("th",{children:s("precipType")}),(0,a.jsx)("th",{children:s("precipLevel")})]})}),(0,a.jsx)("tbody",{children:null==t?void 0:t.map(e=>0!==e.level?(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,i.P)({date:e.validTimeLocal,locale:r,timeZone:l,minutes:!0})}),(0,a.jsx)("td",{children:e.precipType}),(0,a.jsx)("td",{children:e.level})]},e.validTimeLocal):null)})]})}},86096:(e,t,l)=>{"use strict";l.d(t,{Hi:()=>r,gS:()=>o,nE:()=>i,xZ:()=>s});var a=l(99838),n=l(42531);let i=(e,t,l,a)=>e?(a?(null==e?void 0:e.slice(0,7))||[]:e||[]).map((e,n)=>{let i=e.iconCodeExtend,r=e.precipType,s=u({precipRate:a?e.qpf:e.precipRate,iconCodeExtend:i,precipType:r,unitsSystem:t});return{precipType:r,validTimeLocal:l[n],level:s}}):Array(7).fill({precipType:"",validTimeLocal:"",level:0}),r=e=>e.reduce((e,t)=>{let{precipType:l}=t;return e[l]=!0,e},{}),s=e=>!!(null==e?void 0:e.find(e=>{let{level:t}=e;return t>0})),o=(e,t)=>{if(!(null==e?void 0:e.length))return[];let l=e.map(e=>(0,a.$)(e.validTimeLocal));return t?l.slice(0,7):l},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;switch(!0){case e>1.65:return 9;case e>.72:return 8;case e>.32:return 7;case e>.14:return 6;case e>.06:return 5;case e>.03:return 4;case e>.01:return 3;case e>0:return 2;case 0===e:return .7;default:return 0}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;switch(!0){case e>1.52:return 9;case e>.48:return 8;case e>.17:return 7;case e>.07:return 6;case e>.03:return 5;case e>.02:return 4;case e>.01:return 3;case e>0:return 2;case 0===e:return .7;default:return 0}},u=e=>{let{precipRate:t,iconCodeExtend:l,precipType:a,unitsSystem:i}=e,r=(null==i?void 0:i.precip)!=="in"?Number((t/25.4).toFixed(2)):t,s="precip"===a||0===t?n.ro[l]:a;switch(!0){case n.cv.includes(s):return d(r);case n.VF.includes(s):return c(r);default:return 0}}},86605:(e,t,l)=>{"use strict";l.d(t,{h:()=>m});var a=l(76792),n=l(42292),i=l(48260),r=l(73675);let s={autoplayadsmuted:!1,client:"googima",vpaidcontrols:!0};var o=l(23803),d=l(92928),c=l.n(d);let u=(0,o.h)("JWPlayer"),m=e=>{var t;let{playlist:l,options:o={},setupParams:d={},events:m=[],className:h=""}=e,p="player-".concat((0,n.useId)()),{playerId:v="IdNDrRWQ"}=d,x=(0,n.useMemo)(()=>({playlist:l,...(e=>{let{ads:t=!0,showDescriptions:l=!0}=e;return{aspectratio:"16:9",autostart:!0,backgroundLoading:!0,width:"100%",mute:!1,autoPause:{pauseAds:!0,viewability:!0},captions:{backgroundOpacity:50,fontSize:14},...t?{advertising:s}:{},...l?{displaytitle:!0,displaydescription:!0}:{displaytitle:!1,displaydescription:!1}}})({...d}),...o}),[l,d,o]),g=(0,n.useRef)(null),f=(0,n.useRef)(!1),y=null==l||null==(t=l[0])?void 0:t.file,[N,b]=(0,n.useState)(y?"loading":"error");return(0,n.useEffect)(()=>{if(f.current||!("jwplayer"in window)||"ready"!==N||!y)return;let e=window.jwplayer(p);g.current=e,f.current=!0,u.info("initialized player"),e.setup(x),m.forEach(t=>{let{eventName:l,callback:a}=t;e.on(l,t=>{a({event:t,player:e})}),u.lifecycle("Registered event handler for ".concat(l))})},[x,m,y,p,N]),(0,n.useEffect)(()=>()=>{if(g.current)try{g.current.remove(),g.current=null,f.current=!1}catch(e){u.error("Error removing JW Player",e)}},[]),(0,a.jsxs)("div",{children:[y&&(0,a.jsx)(r.default,{src:"https://cdn.jwplayer.com/libraries/".concat(v,".js"),strategy:"afterInteractive",onLoad:()=>b("ready"),onReady:()=>b("ready"),onError:()=>b("error")}),(0,a.jsx)("div",{className:(0,i.cn)("overflow-hidden",c().jwplayerContainer,h),children:"loading"===N&&y?(0,a.jsx)("div",{className:"flex aspect-video w-full items-center justify-center bg-black",children:(0,a.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-t-2 border-b-2 border-white"})}):"error"===N?(0,a.jsx)("div",{className:"flex aspect-video w-full items-center justify-center bg-black text-white",children:"Failed to initialize video player"}):(0,a.jsx)("div",{id:p,className:"aspect-video w-full bg-black"})})]})}},88572:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>y});var n=l(76792),i=l(42292),r=l(47421),s=l(44615),o=l(12962),d=l(76088),c=l(81100),u=l(75302),m=l(32035),h=l(71666),p=l(55198),v=l(48195),x=l(88790),g=l(35374),f=e([v]);v=(f.then?(await f)():f)[0];let y=e=>{var t,l;let{location:a,simplifiedVersion:f,initializing:y,initialError:N}=e,b=(0,r.c3)("HourlyForecast"),{effectiveLocation:w,isLocationLoading:j}=(0,c.s)({location:a}),I=(0,u.md)(m.Yt),_=null==(t=(0,h.xP)(I))?void 0:t.code,T=f?d.HourlyForecastDuration.ONE_DAY:d.HourlyForecastDuration.THREE_DAY,E=null==(l=(0,p.useParams)())?void 0:l.locale,{data:A=[],error:C,isLoading:R}=(0,s.Ay)(w?["get-hourly-forecast",w.geocode,_,T,E]:null,e=>{let[t,l,a,n,i]=e;return(0,o.$c)({geocode:l,units:a,duration:n,language:i})},{revalidateOnFocus:!1,dedupingInterval:6e4}),S=(0,i.useMemo)(()=>f?A.slice(0,g.h):A,[A,f]),{insight:L,insightIcon:D}=(0,x.j)(w,E),M=w?f?"/weather/hourbyhour/l/".concat(w.placeId):"/weather/tenday/l/".concat(w.placeId):"";return(0,n.jsx)(v.A,{location:w,hourlyForecast:S,locale:E,isLoading:y||R||j,error:N||C,showDayLabel:!f,canToggleMultipleItems:!f,ctaLink:M,ctaText:b(f?"next48":"10DayWeather"),enableAlertHeadlines:!f,insight:L,insightIcon:D,showPrecipIntensity:!f})};a()}catch(e){a(e)}})},88790:(e,t,l)=>{"use strict";l.d(t,{j:()=>v});var a=l(42292),n=l(44615),i=l(75302),r=l(23189),s=l(56768),o=l(14124),d=l(32035),c=l(71666),u=l(76088),m=l(40358);let h=["trendingFeelsLikeInsight","trendingTemperatureInsight","trendingWindInsight","trendingUvIndexInsight"],p=Math.floor(Math.random()*h.length),v=(e,t)=>{var l;let v=(0,i.md)(d.Yt),x=null==(l=(0,c.xP)(v))?void 0:l.code,{data:g,isLoading:f}=(0,m.r)({key:"hourly-forecast-all-insights",geoCode:(null==e?void 0:e.geocode)||null,insightType:s.InsightType.ALL,locale:t}),y=(0,a.useMemo)(()=>null==g?void 0:g.reduce((e,t)=>(e[t.insightType]=t,e),{}),[g]),{data:N=[],isLoading:b}=(0,n.Ay)(e?["get-daily-forecast",e.geocode,u.ForecastDuration.THREE_DAY,x,t]:null,e=>{let[t,l,a,n,i]=e;return(0,o.v1)({geocode:l,units:n,duration:a,language:i})},{revalidateOnFocus:!1,dedupingInterval:6e5}),w=f||b,j=N[0],I=(0,a.useMemo)(()=>{var e,t,l,a,n,i;if(w)return"";let r=null==y||null==(t=y.significantWeatherTodayInsight)||null==(e=t.insightText)?void 0:e[0];if(r)return r;let s=null==j||null==(a=j.daypart)||null==(l=a[0])?void 0:l.narrative;if(s)return s.split(".")[0];let o=h[p]||h[0];return(null==y||null==(i=y[o])||null==(n=i.insightText)?void 0:n[0])||""},[w,y,null==j?void 0:j.daypart]);return(0,a.useMemo)(()=>{let e=(0,r.B)(I,[" ","."]),t=e?(e=>{if(e){if(/(warmer|higher)/i.test(e))return"up";else if(/(cooler|lower)/i.test(e))return"down";else if(/(partly cloudy)/i.test(e)||/(sun)/i.test(e)&&/(cloud)/i.test(e))return"fair";else if(/(sunny|sunshine)/i.test(e))return"sun";else if(/(cloudy)/i.test(e))return"cloud";else if(/(shower|rain)/i.test(e))return"rain";else if(/(clear)/i.test(e))return/(night)/i.test(e)?"clear-night":"clear"}return null})(e):null;return{insight:e,insightIcon:t}},[I])}},91053:(e,t,l)=>{"use strict";l.d(t,{A:()=>v});var a=l(42292),n=l(75302),i=l(32035),r=l(71666),s=l(76088),o=l(44615),d=l(12962),c=l(36116),u=l(77962),m=l(86096),h=l(44936);let p={revalidateOnFocus:!1,dedupingInterval:6e4},v=(e,t)=>{let l=(0,n.md)(i.Yt),v=(0,r.xP)(l)||r.AF,x=v.code,g=(0,u.A)(),f="KR"===g,y=f&&(null==e?void 0:e.countryCode)==="KR",{data:N,isLoading:b}=(0,o.Ay)(e&&y?["get-hourly-forecast",e.geocode,x,t,f?g:void 0]:null,e=>{let[t,l,a,n,i]=e;return(0,d.$c)({geocode:l,units:a,language:n,cscCountryCode:i,duration:s.HourlyForecastDuration.TWO_DAY})},p),{data:w,isLoading:j}=(0,o.Ay)(e&&!y?["get-fifteen-minute-forecast",e.geocode,x,t]:null,e=>{let[t,l,a,n]=e;return(0,c.FA)({geocode:l,units:a,language:n})},p),I=y?N:w,_=(0,a.useMemo)(()=>(0,m.gS)(I,y),[I,y]),T=(0,a.useMemo)(()=>(0,m.nE)(I,v,_,y)||[],[I,y,_,v]),E=(0,a.useMemo)(()=>(0,m.xZ)(T),[T]),{loadingInsight:A,insightHeadline:C,insightTextLong:R}=(0,h.p)(e,t);return{loadingForecast:b||j,chartData:T,hasChartData:E,loadingInsight:A,insightHeadline:C,insightTextLong:R}}},92928:e=>{e.exports={jwplayerContainer:"JWPlayer_jwplayerContainer__u4Psj"}},93146:(e,t,l)=>{"use strict";t.Sn=s;let a=l(4883),n=l(17681),i=l(36762),r=l(56791);async function s(e){let{geocode:t,language:l="en-US"}=e,s=(0,n.urlFrom)((0,a.getSunWeatherAlertHeadlinesUrlConfig)({geocode:t,language:l})),o=await fetch(s,{headers:{"Accept-Encoding":"gzip"},cache:"no-store",next:{revalidate:0}}),d=await (0,i.handleFetchResponse)(o);return{...d,alerts:(0,r.getSortedAlerts)(d.alerts)}}},95002:(e,t,l)=>{"use strict";l.d(t,{c:()=>s});var a=l(76792),n=l(42292),i=l(23233);let r=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Heavy"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M7.982 1.833c-1.303 0-2.391 1.032-2.5 2.37l-.034.407-.405.049c-.67.08-1.209.672-1.209 1.41 0 .724.518 1.307 1.17 1.405l.217.015h4.896l.024.003q.087.008.175.008c1.01 0 1.851-.845 1.851-1.915 0-.946-.66-1.719-1.51-1.882l-.264-.051-.104-.248c-.386-.93-1.279-1.57-2.307-1.57M4.535 3.747C4.843 2.096 6.26.833 7.982.833c1.367 0 2.543.798 3.123 1.95 1.198.352 2.062 1.48 2.062 2.802 0 1.597-1.264 2.915-2.851 2.915a3 3 0 0 1-.245-.01H5.187l-.25-.018H4.92l-.034-.005c-1.168-.16-2.051-1.182-2.051-2.398 0-1.091.71-2.026 1.701-2.322",clipRule:"evenodd","data-figma-bg-blur-radius":20}),(0,a.jsx)("path",{d:"m7.65 9.47-.711 1.954a.5.5 0 1 0 .94.342l.71-1.954a.5.5 0 1 0-.94-.342M4.882 10.816l-.803 2.205a.5.5 0 0 0 .94.342l.802-2.205a.5.5 0 0 0-.94-.342M10.179 10.918l-.766 2.103a.5.5 0 1 0 .94.342l.765-2.103a.5.5 0 0 0-.94-.342"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:r,...e}));s.displayName="RainHeavy"},95624:(e,t,l)=>{"use strict";l.d(t,{yW:()=>N});var a=l(95913),n=l(90937);let i="",r="",s=1,o=0,d=0,c=0,u=0,m=!1,h=0,p={adImpression:!1,videoAttempt:!1,videoPlayed:!1,videoStarted:!1,videoCompleted:!1,videoEnd:!1},v={autostart:"auto",interaction:"click",external:"externalLink",playlist:"playlistClick","related-interaction":"nextClick","related-auto":"auto"};function x(e){var t;return null!=(t=v[e])?t:"click"}function g(e){let t=e.split(":").map(Number);if(2===t.length){let[e=0,l=0]=t,a=Math.floor(60*e+l);return isNaN(a)?0:a}if(3===t.length){let[e=0,l=0,a=0]=t,n=Math.floor(3600*e+60*l+a);return isNaN(n)?0:n}return 0}function f(){Object.keys(p).map(e=>{p[e]=!1}),o=0,d=0,r=""}function y(e,t){var l,i,r,s,o,d,c,u,m,h,p,v,x,g,f,y,N,b,w,j,I,_,T,E,A,C,R,S,L,D,M,P,W,O,k,H,F;let G=t||e.getPlaylistItem();return{adBlock:e.getAdBlock(),adsMetricsUnitAndZone:null==G||null==(i=G.custom)||null==(l=i.ctx)?void 0:l.adzone,aspectRatio:null==e||null==(r=e.getConfig())?void 0:r.aspectratio,assetName:(0,a.EY)(null!=(H=null==G||null==(o=G.custom)||null==(s=o.ctx)?void 0:s.assetName)?H:""),collection:null==G||null==(c=G.custom)||null==(d=c.ctx)?void 0:d.pcollid,collectionId:null==G||null==(m=G.custom)||null==(u=m.ctx)?void 0:u.pcollid,contentId:null==G||null==(p=G.custom)||null==(h=p.ctx)?void 0:h.id,entitlements:(0,n.X)(null!=(F=null==G||null==(x=G.custom)||null==(v=x.ctx)?void 0:v.entitlements)?F:[]),iabContent:(0,a.IA)((null==G||null==(f=G.custom)||null==(g=f.ctx)?void 0:g.iab)||{}),id:null==G||null==(N=G.custom)||null==(y=N.ctx)?void 0:y.id,duration:null==G||null==(w=G.custom)||null==(b=w.ctx)?void 0:b.duration,lastmodifieddate:null==G||null==(_=G.custom)||null==(I=_.ctx)||null==(j=I.lastmodifieddate)?void 0:j.toString(),muted:e.getMute(),premiumContent:null==G||null==(E=G.custom)||null==(T=E.ctx)?void 0:T.premium,publishdate:null==G||null==(R=G.custom)||null==(C=R.ctx)||null==(A=C.publishdate)?void 0:A.toString(),providerName:null==G||null==(L=G.custom)||null==(S=L.ctx)?void 0:S.providername,tagsGeo:(0,n.X)(null==G||null==(M=G.custom)||null==(D=M.ctx)?void 0:D.tagsGeo),tagsKeyword:(0,n.X)(null==G||null==(W=G.custom)||null==(P=W.ctx)?void 0:P.tagsKeyword),tagsStorm:(0,n.X)(null==G||null==(k=G.custom)||null==(O=k.ctx)?void 0:O.tagsStorm)}}let N=[{eventName:"ready",callback:e=>{let{player:t,trackVideoEvent:l}=e;window.addEventListener("beforeunload",()=>{if(p.videoStarted&&!p.videoEnd){var e,a;let n=t.getPlaylistItem(),d=g(null==n||null==(a=n.custom)||null==(e=a.ctx)?void 0:e.duration);n&&!p.videoAttempt&&l&&(l({eventName:"video-end",eventAttributes:{errorMessage:r,contentWatchedSeconds:o,playReason:i,videoView:s,...y(t)}}),l({eventName:"video-ended",eventAttributes:{errorMessage:r,videoWatchedLength:o,playMethod:i,videoView:s,...y(t),videoLength:d,adLength:c,adWatchedLength:u,adSkipped:m,exitReason:"pageExit"}})),p.videoEnd=!0}})}},{eventName:"adImpression",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();if(r="",f(),console.debug("JW Player callback - adImpression eventSentFlags:",p),p.adImpression=!0,a&&!p.videoAttempt&&l){var n,o;let e=g(null==a||null==(o=a.custom)||null==(n=o.ctx)?void 0:n.duration);l({eventName:"video-attempt",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}}),l({eventName:"video-attempted",eventAttributes:{errorMessage:r,playMethod:i,videoLength:e,videoView:s,...y(t)}}),p.videoAttempt=!0}a&&!p.videoPlayed&&l&&(l({eventName:"video-played",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}}),p.videoPlayed=!0)}},{eventName:"viewable",callback:async e=>{let{event:t}=e;s=null==t?void 0:t.viewable}},{eventName:"playlistItem",callback:async e=>{let{player:t,trackVideoEvent:l}=e;if(i=x("playlist"),p.videoStarted&&!p.videoCompleted&&!p.videoEnd){var a,n;let e=t.getPlaylistIndex(),d=t.getPlaylistItem(e-1),h=g(null==d||null==(n=d.custom)||null==(a=n.ctx)?void 0:a.duration);l({eventName:"video-end",eventAttributes:{errorMessage:r,contentWatchedSeconds:o,playReason:i,videoView:s,...y(t,d)}}),l({eventName:"video-ended",eventAttributes:{errorMessage:r,videoWatchedLength:o,playMethod:i,videoView:s,...y(t),videoLength:h,adLength:c,adWatchedLength:u,adSkipped:m,exitReason:"nextVideo"}}),p.videoEnd=!0}}},{eventName:"playAttempt",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();if(p.adImpression||(r="",f()),console.debug("JW Player callback - playAttempt eventSentFlags:",p),a&&!p.videoAttempt&&l){var n,o;let e=g(null==a||null==(o=a.custom)||null==(n=o.ctx)?void 0:n.duration);p.videoAttempt=!0,l({eventName:"video-attempt",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}}),l({eventName:"video-attempted",eventAttributes:{errorMessage:r,videoLength:e,playMethod:i,videoView:s,...y(t)}})}}},{eventName:"firstFrame",callback:async e=>{let{player:t,trackVideoEvent:l}=e;console.debug("JW Player callback - firstFrame eventSentFlags:",p);let a=t.getPlaylistItem();if(a&&!p.videoPlayed&&l&&(l({eventName:"video-played",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}}),p.videoPlayed=!0),a&&!p.videoStarted&&l){var n,o;let e=g(null==a||null==(o=a.custom)||null==(n=o.ctx)?void 0:n.duration);l({eventName:"video-started",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}}),l({eventName:"video-begin",eventAttributes:{errorMessage:r,playMethod:i,videoView:s,...y(t),videoLength:e,adLength:c,adWatchedLength:u,adSkipped:m}}),p.videoStarted=!0}}},{eventName:"complete",callback:async e=>{var t,l;let{player:a,trackVideoEvent:n}=e,d=a.getPlaylistItem(),h=g(null==d||null==(l=d.custom)||null==(t=l.ctx)?void 0:t.duration);console.debug("JW Player callback - complete eventSentFlags:",p),d&&!p.videoCompleted&&n&&(n({eventName:"video-completed",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(a)}}),p.videoCompleted=!0),p.videoStarted&&!p.videoEnd&&(n({eventName:"video-end",eventAttributes:{errorMessage:r,contentWatchedSeconds:o,playReason:i,videoView:s,...y(a)}}),n({eventName:"video-ended",eventAttributes:{errorMessage:r,videoWatchedLength:o,playMethod:i,videoView:s,...y(a),videoLength:h,adLength:c,adWatchedLength:u,adSkipped:m,exitReason:"complete"}}),p.videoEnd=!0)}},{eventName:"adStarted",callback:async e=>{let{event:t,player:l,trackVideoEvent:a}=e,n=l.getPlaylistItem();c=t.duration,console.debug("JW Player callback - adStarted eventSentFlags:",p),n&&a&&a({eventName:"ad-started",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(l)}})}},{eventName:"adSkipped",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();m=!0,a&&l&&l({eventName:"ad-skipped",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(t)}})}},{eventName:"adComplete",callback:async e=>{let{event:t,player:l,trackVideoEvent:a}=e,n=l.getPlaylistItem();u=t.duration,console.debug("JW Player callback - adComplete eventSentFlags:",p),n&&a&&a({eventName:"ad-complete",eventAttributes:{errorMessage:r,playReason:i,videoView:s,...y(l)}})}},{eventName:"beforePlay",callback:async e=>{let{event:t}=e;i=x(null==t?void 0:t.playReason)}},{eventName:"adError",callback:async e=>{let{event:t}=e;console.error("Video ad error:",t)}},{eventName:"error",callback:async e=>{let{event:t}=e;r=null==t?void 0:t.message,console.error("Video Player error:",t)}},{eventName:"time",callback:e=>{let{event:t}=e;if("number"==typeof(null==t?void 0:t.position)){let e=t.position-d;o+=e,d=t.position}}},{eventName:"seek",callback:e=>{let{event:t}=e;"number"==typeof(null==t?void 0:t.offset)&&(d=t.offset)}},{eventName:"adTime",callback:async e=>{let{event:t}=e,l=Date.now();l-h>=1e3&&(u=parseFloat(t.position.toFixed(2)),h=l)}}]},96304:(e,t)=>{"use strict";var l,a,n,i,r;Object.defineProperty(t,"__esModule",{value:!0}),t.PrecipIntensityCode=t.PrecipTypeCode=t.ThunderCategory=t.PrecipType=t.MoonPhaseCode=void 0,function(e){e.WANING_GIBBOUS="WNG",e.WAXING_CRESCENT="WXC",e.FIRST_QUARTER="FQ",e.WANING_CRESCENT="WNC",e.LAST_QUARTER="LQ",e.FULL="F",e.WAXING_GIBBOUS="WXG",e.NEW="N"}(l||(t.MoonPhaseCode=l={})),function(e){e.RAIN="rain",e.SNOW="snow",e.PRECIP="precip"}(a||(t.PrecipType=a={})),function(e){e.NO_THUNDER="0",e.THUNDER_POSSIBLE="1",e.THUNDER_EXPECTED="2",e.SEVERE_THUNDERSTORMS_POSSIBLE="3",e.SEVERE_THUNDERSTORMS_LIKELY="4",e.HIGH_RISK_OF_SEVERE_THUNDERSTORMS="5"}(n||(t.ThunderCategory=n={})),function(e){e[e.NONE=0]="NONE",e[e.RAIN=1]="RAIN",e[e.SNOW=2]="SNOW",e[e.FREEZING_RAIN=3]="FREEZING_RAIN",e[e.THUNDER=4]="THUNDER",e[e.SLEET=5]="SLEET",e[e.HAIL=6]="HAIL"}(i||(t.PrecipTypeCode=i={})),function(e){e[e.NONE=0]="NONE",e[e.VERY_LIGHT=1]="VERY_LIGHT",e[e.LIGHT=2]="LIGHT",e[e.MODERATE=3]="MODERATE",e[e.HEAVY=4]="HEAVY"}(r||(t.PrecipIntensityCode=r={}))},97812:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ContentMediaBlock:()=>x,default:()=>g});var a=l(76792),n=l(18556),i=l(48260),r=l(53976),s=l(22627),o=l(49192),d=l(42292),c=l(23233);let u=(0,d.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:i,descId:r,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":r,...s,children:[i?(0,a.jsx)("desc",{id:r,children:i}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Play"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M3.5 14a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .741-.438l10 5.5a.5.5 0 0 1 0 .876l-10 5.5A.5.5 0 0 1 3.5 14"})]})}),m=d.forwardRef((e,t)=>(0,a.jsx)(c.h,{ref:t,icon:u,...e}));m.displayName="PlayFilledAlt";var h=l(54086);let p=e=>{let{items:t,title:l,showCategory:n,showDescription:d=!0,template:c="grid",gridColumns:u=2,aspectRatio:p="square",heroStyle:v="side-content",showTopDivider:x=!1}=e,g="not-prose mx-auto w-full mb-5";if(t.every(e=>"image"===e.contentType)){let e=t.map(e=>({id:e.id,url:e.overrideThumbnail||e.thumbnail||"",filename:e.overrideTitle||"",caption:d&&(e.overrideDescription||e.description)||"",seo:{altText:e.overrideTitle||e.title},createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}));return(0,a.jsx)("section",{className:g,children:(0,a.jsx)(o.A,{id:"content-media-slideshow-".concat(Math.random().toString(36).substring(2,9)),assets:e,allSlides:e,slides:[],totalAssets:e.length,rounded:!0,sendTrackString:()=>{},blockType:"Slideshow"})})}if("travel-hero"===c){var f,y,N,b;let e=t[0],o=t.slice(1,4);if(!e)return null;let c=e.overrideTitle||e.title,u=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",w=(null==(f=e.category)?void 0:f.title)||"Weather News",j=e.caption||e.description||"",I=e.duration,_=e.url||"#",T="object"==typeof e.provider&&e.provider?e.provider:null,E=T&&"object"==typeof T.partnerLogo&&(null==(b=T.partnerLogo)||null==(N=b.sizes)||null==(y=N.medium)?void 0:y.url)?T.partnerLogo.sizes.medium.url:void 0;return(0,a.jsxs)("section",{className:(0,i.cn)("@container",g),children:[x&&(0,a.jsx)("div",{className:"mx-3 h-px bg-black/10"}),l?(0,a.jsx)("h2",{className:"not-prose p-3 pt-8 text-2xl font-bold",children:l}):(0,a.jsx)("div",{className:"p-3"}),"side-content"===v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("a",{href:_,className:"group hidden grid-cols-3 gap-6 rounded-2xl p-3 no-underline transition-all duration-150 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none sm:grid",children:[(0,a.jsx)("div",{className:"relative col-span-2 aspect-[8/5] max-h-[480px] w-full overflow-hidden rounded-lg transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",children:(0,a.jsx)(s.A,{src:u,alt:c,fill:!0,className:"absolute top-0 left-0 h-full w-full scale-[1.01] object-cover transition-transform duration-150 group-hover:scale-[1.02] group-focus-visible:scale-[1.02]",sizes:"(max-width: 1024px) 100vw, 66vw"})}),(0,a.jsxs)("div",{className:"col-span-1 flex flex-col justify-center gap-4",children:[E&&(0,a.jsx)("div",{className:"relative mb-3 w-52",children:(0,a.jsx)(s.A,{src:E,alt:"",width:208,height:0,className:"h-auto max-h-6 w-full rounded-none object-contain object-left",style:{height:"auto"},sizes:"208px"})}),n&&(0,a.jsx)("span",{className:"inline-block self-start rounded-full bg-blue-600 px-3 py-1 text-xs font-medium text-white",children:w}),(0,a.jsx)("h3",{className:"text-2xl leading-tight font-bold text-gray-900",children:c}),d&&j&&(0,a.jsx)("p",{className:"line-clamp-2 text-base text-gray-600 @[654px]:line-clamp-5 @[854px]:line-clamp-none",children:j}),(0,a.jsx)("div",{className:"flex items-center gap-3",children:I?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"inline-flex h-12 items-center gap-2 rounded-md border border-gray-900 bg-transparent px-4 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-50",children:[(0,a.jsx)(m,{className:"h-4 w-4"}),"Watch"]}),(0,a.jsx)("span",{className:"text-sm text-gray-600",children:(0,h.h)(I)})]}):(0,a.jsx)("span",{className:"inline-flex h-12 items-center gap-2 rounded-md border border-gray-900 bg-transparent px-4 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-50",children:"Read more"})})]})]}),(0,a.jsx)("div",{className:"block sm:hidden",children:(0,a.jsxs)("a",{href:_,className:"group flex flex-col gap-4 rounded-2xl p-3 no-underline transition-all duration-150 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none",children:[(0,a.jsx)("div",{className:"relative aspect-video w-full overflow-hidden rounded-lg transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",children:(0,a.jsx)(s.A,{src:u,alt:c,fill:!0,className:"absolute top-0 left-0 h-full w-full scale-[1.01] object-cover transition-transform duration-150 group-hover:scale-[1.02] group-focus-visible:scale-[1.02]",sizes:"100vw"})}),(0,a.jsxs)("div",{children:[E&&(0,a.jsx)("div",{className:"relative mb-3 w-40",children:(0,a.jsx)(s.A,{src:E,alt:"",width:160,height:0,className:"h-auto max-h-6 w-full rounded-none object-contain object-left",style:{height:"auto"},sizes:"160px"})}),n&&(0,a.jsx)("span",{className:"mb-2 inline-block rounded-full bg-gray-100 px-3 py-1 text-xs font-medium text-gray-700",children:w}),(0,a.jsx)("h3",{className:"mb-2 text-base leading-tight font-semibold text-gray-900 sm:text-lg md:text-xl lg:text-2xl",children:c}),d&&j&&(0,a.jsx)("p",{className:"mb-2 line-clamp-4 text-sm font-normal text-gray-500 sm:text-base",children:j}),I&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(m,{className:"h-6 w-6 text-gray-500"}),(0,a.jsx)("span",{className:"text-sm text-gray-500 sm:text-base",children:(0,h.h)(I)})]})]})]})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:_,className:"group hidden rounded-2xl p-3 no-underline transition-all duration-150 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none sm:block",children:(0,a.jsxs)("div",{className:"relative aspect-[8/5] max-h-[480px] w-full overflow-hidden rounded-lg transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",children:[(0,a.jsx)(s.A,{src:u,alt:c,fill:!0,className:"absolute top-0 left-0 h-full w-full scale-[1.01] object-cover transition-transform duration-150 group-hover:scale-[1.02] group-focus-visible:scale-[1.02]",sizes:"100vw"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,rgba(17,30,55,0.76)_0%,rgba(17,30,55,0.61)_33%,rgba(17,30,55,0)_100%)]"}),(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 max-w-full p-6 text-white sm:max-w-[50%] sm:p-8 sm:pr-0",children:[E&&(0,a.jsx)("div",{className:"relative mb-6 w-64",children:(0,a.jsx)(s.A,{src:E,alt:"",width:256,height:0,className:"h-auto max-h-6 w-full rounded-none object-contain object-left brightness-0 invert",style:{height:"auto"},sizes:"256px"})}),n&&(0,a.jsx)("span",{className:"mb-3 inline-block rounded-full bg-white/20 px-3 py-1 text-xs font-medium backdrop-blur-sm",children:w}),(0,a.jsx)("h3",{className:"mb-3 text-2xl leading-tight font-bold sm:text-[32px]",children:c}),d&&j&&(0,a.jsx)("p",{className:"mb-4 line-clamp-2 text-base text-white/90 sm:text-lg @[604px]:line-clamp-5 @[754px]:line-clamp-none",children:j}),(0,a.jsx)("div",{className:"flex items-center gap-3",children:I?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"inline-flex h-12 items-center gap-2 rounded-md border border-gray-900 bg-white px-4 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-50",children:[(0,a.jsx)(m,{className:"h-4 w-4"}),"Watch"]}),(0,a.jsx)("span",{className:"text-sm text-white",children:(0,h.h)(I)})]}):(0,a.jsx)("span",{className:"inline-flex h-12 items-center gap-2 rounded-md border border-gray-900 bg-white px-4 text-sm font-medium text-gray-900 transition-colors hover:bg-gray-50",children:"Read more"})})]})]})}),(0,a.jsx)("div",{className:"block sm:hidden",children:(0,a.jsxs)("a",{href:_,className:"group flex flex-col gap-4 rounded-2xl p-3 no-underline transition-all duration-150 hover:bg-gray-100 focus-visible:bg-gray-100 focus-visible:outline-none",children:[(0,a.jsx)("div",{className:"relative aspect-video w-full overflow-hidden rounded-lg transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",children:(0,a.jsx)(s.A,{src:u,alt:c,fill:!0,className:"absolute top-0 left-0 h-full w-full scale-[1.01] object-cover transition-transform duration-150 group-hover:scale-[1.02] group-focus-visible:scale-[1.02]",sizes:"100vw"})}),(0,a.jsxs)("div",{children:[E&&(0,a.jsx)("div",{className:"relative mb-3 w-40",children:(0,a.jsx)(s.A,{src:E,alt:"",width:160,height:0,className:"h-auto max-h-6 w-full rounded-none object-contain object-left",style:{height:"auto"},sizes:"160px"})}),n&&(0,a.jsx)("span",{className:"mb-2 inline-block rounded-full bg-gray-100 px-3 py-1 text-xs font-medium text-gray-700",children:w}),(0,a.jsx)("h3",{className:"mb-2 text-base leading-tight font-semibold text-gray-900 sm:text-lg md:text-xl lg:text-2xl",children:c}),d&&j&&(0,a.jsx)("p",{className:"mb-2 line-clamp-4 text-sm font-normal text-gray-500 sm:text-base",children:j}),I&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(m,{className:"h-6 w-6 text-gray-500"}),(0,a.jsx)("span",{className:"text-sm text-gray-500 sm:text-base",children:(0,h.h)(I)})]})]})]})})]}),o.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden grid-cols-3 sm:grid",children:o.map(e=>{var t,l,i,s;let o=e.overrideTitle||e.title,c=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",u=(null==(t=e.category)?void 0:t.title)||"Weather News",m=d&&(e.caption||e.description)||void 0,h="object"==typeof e.provider&&e.provider?e.provider:null,v=h&&"object"==typeof h.partnerLogo&&(null==(s=h.partnerLogo)||null==(i=s.sizes)||null==(l=i.small)?void 0:l.url)?h.partnerLogo.sizes.small.url:void 0;return(0,a.jsx)(r.S,{heading:n?u:void 0,description:o,href:e.url,imageUrl:c,showIcon:!1,dir:"col",badgeStyle:!!n,bodyText:m,duration:e.duration||void 0,aspectRatio:p||"square",partnerLogoThumbnailUrl:v,partnerLogoWhite:!0,partnerLogoPosition:"default"},e.id)})}),(0,a.jsx)("div",{className:"flex flex-col sm:hidden",children:o.map(e=>{var t,l,i,s;let o=e.overrideTitle||e.title,c=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",u=(null==(t=e.category)?void 0:t.title)||"Weather News",m=d&&(e.caption||e.description)||void 0,h="object"==typeof e.provider&&e.provider?e.provider:null,v=h&&"object"==typeof h.partnerLogo&&(null==(s=h.partnerLogo)||null==(i=s.sizes)||null==(l=i.small)?void 0:l.url)?h.partnerLogo.sizes.small.url:void 0;return(0,a.jsx)(r.S,{heading:n?u:void 0,description:o,href:e.url,imageUrl:c,showIcon:!1,dir:"row",badgeStyle:!!n,bodyText:m,duration:e.duration||void 0,aspectRatio:p||"square",imageWidth:"w-40 flex-shrink-0",partnerLogoThumbnailUrl:v,partnerLogoWhite:!0,partnerLogoPosition:"compact"},e.id)})})]})]})}return(0,a.jsxs)("section",{className:(0,i.cn)("@container",g),children:[x&&(0,a.jsx)("div",{className:"mx-3 h-px bg-black/10"}),l?(0,a.jsx)("h2",{className:"not-prose p-3 pt-8 text-2xl font-bold",children:l}):(0,a.jsx)("div",{className:"p-3"}),(0,a.jsx)("div",{className:(()=>{if("list"===c)return"flex flex-col";if("grid"===c){let e={1:"grid-cols-1",2:"grid-cols-1 @md:grid-cols-2",3:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-3",4:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-4",5:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-5",6:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-3 @xl:grid-cols-6",7:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-3 @xl:grid-cols-7",8:"grid-cols-1 @md:grid-cols-2 @lg:grid-cols-4 @xl:grid-cols-8"},t=e[null!=u?u:2]||e[2];return"grid ".concat(t)}return"grid grid-cols-1 @md:grid-cols-2"})(),children:t.map(e=>{var t,l,i,s;let o=e.overrideTitle||e.title,u=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",m=(null==(t=e.category)?void 0:t.title)||"Weather News",h=d&&(e.caption||e.description)||void 0,v="object"==typeof e.provider&&e.provider?e.provider:null,x="list"===c?"thumbnail":"small",g=v&&"object"==typeof v.partnerLogo&&(null==(s=v.partnerLogo)||null==(i=s.sizes)||null==(l=i[x])?void 0:l.url)?v.partnerLogo.sizes[x].url:void 0;return(0,a.jsx)(r.S,{heading:n?m:void 0,description:o,href:e.url,imageUrl:u,showIcon:!1,dir:"list"===c?"row":"col",badgeStyle:!!n,bodyText:h,duration:e.duration||void 0,imageWidth:"list"===c?"w-40 h-40 flex-shrink-0":void 0,aspectRatio:p||"square",partnerLogoThumbnailUrl:g,partnerLogoWhite:!0,partnerLogoPosition:"list"===c?"compact":"default"},e.id)})})]})},v=e=>{let{contentQuery:t,limit:l="4",title:i,showCategory:r,showDescription:s,template:o="grid",gridColumns:d=2,aspectRatio:c="square",heroStyle:u="side-content",showTopDivider:m=!1}=e,h=(null==t?void 0:t.mergedContent)||[];if(!(0,n.J)(h))return null;let v=h.slice(0,Number(l));return(0,a.jsx)(p,{items:v,title:null!=i?i:void 0,showCategory:null!=r?r:void 0,showDescription:null==s||s,template:null!=o?o:void 0,gridColumns:null!=d?d:void 0,aspectRatio:null!=c?c:void 0,heroStyle:null!=u?u:void 0,showTopDivider:null!=m&&m})},x=e=>(0,a.jsx)(v,{...e}),g=x},98066:(e,t,l)=>{"use strict";function a(e){return"string"!=typeof e}function n(e){return"object"==typeof e&&null!==e&&"url"in e&&("mimeType"in e||"seo"in e&&"altText"in e.seo)}l.d(t,{QY:()=>a,bt:()=>n})},99343:(e,t,l)=>{"use strict";l.d(t,{c:()=>o});var a=l(42292),n=l(92700),i=l(55198),r=l(95913),s=l(153);let o=()=>{let e=(0,n.N)(),t=(0,s.A)(),l=(0,i.usePathname)();return(0,a.useCallback)(a=>{var n,i,s,o,d,c;let{eventName:u,eventAttributes:m={}}=a;if(!(null==(i=window.mParticle)||null==(n=i.isInitialized)?void 0:n.call(i)))return void console.warn("MParticle is not initialized");let h={...m,author:(null==t?void 0:t.author)||"",contentId:(null==t?void 0:t.contentId)||m.contentId,...e,url:l?(0,r.EY)(l):""};try{null==(c=window.mParticle)||null==(d=c.logEvent)||d.call(c,u,null==(o=window.mParticle)||null==(s=o.EventType)?void 0:s.Other,h),console.debug('MParticle: Video Event tracked - "'.concat(u,'"'),h)}catch(e){console.error('MParticle: Failed to track Video Event - "'.concat(u,'"'),e)}},[null==t?void 0:t.author,null==t?void 0:t.contentId,e,l])}},99838:(e,t,l)=>{"use strict";function a(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e.replace(/GMT(?![+-])/,"GMT+0000")).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),l=/([+-])(\d{2})(\d{2})$/;l.test(t)&&(t=t.replace(l,"$1$2:$3"));let a=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(a).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":a}l.d(t,{$:()=>a})}}]);