(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345],{39579:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(59716);a(77704);var l=a(67352),s=a(40843),n=a(85533),o=a(74171);let i=()=>{let{effectiveLocation:e}=(0,n.s)({}),t=(null==e?void 0:e.placeId)?"".concat((0,o.y)(),"/weather/today/l/").concat(e.placeId):"/weather",a=(null==e?void 0:e.placeId)?"".concat((0,o.y)(),"/weather/radar/interactive/l/").concat(e.placeId):"/";return(0,r.jsxs)("div",{className:"mt-10 grid grid-cols-1 gap-8 md:grid-cols-3",children:[(0,r.jsx)(l.default,{href:"/video",className:"block",children:(0,r.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm hover:shadow-md",children:[(0,r.jsx)("div",{className:"relative h-48 w-full",children:(0,r.jsx)(s._,{src:"https://s.w-x.co/404-video.jpg",alt:"Video thumbnail",fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",objectFit:"cover"})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,r.jsx)("h3",{className:"mb-2 text-center text-xl font-semibold",children:"Video"}),(0,r.jsx)("p",{className:"text-center",children:"Watch today's top stories and most popular videos. Looking to watch incredible tornadoes? We've got that too."})]})]})}),(0,r.jsx)(l.default,{href:a,className:"block",children:(0,r.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm hover:shadow-md",children:[(0,r.jsx)("div",{className:"relative h-48 w-full",children:(0,r.jsx)(s._,{src:"https://s.w-x.co/404-maps.jpg",alt:"Weather maps",fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",objectFit:"cover"})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,r.jsx)("h3",{className:"mb-2 text-center text-xl font-semibold",children:"Maps"}),(0,r.jsx)("p",{className:"text-center",children:"Check out our interactive maps, which provide you with features like past/future radar and customizable layers."})]})]})}),(0,r.jsx)(l.default,{href:t,className:"block",children:(0,r.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm hover:shadow-md",children:[(0,r.jsx)("div",{className:"relative h-48 w-full",children:(0,r.jsx)(s._,{src:"https://s.w-x.co/404-local.jpg",alt:"Local weather",fill:!0,sizes:"(max-width: 768px) 100vw, 33vw",objectFit:"cover"})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col p-3",children:[(0,r.jsx)("h3",{className:"mb-2 text-center text-xl font-semibold",children:"Local Weather"}),(0,r.jsx)("p",{className:"text-center",children:"Trust us to help you plan the best day possible, with the most accurate weather forecast available."})]})]})})]})}},72407:(e,t,a)=>{"use strict";a.d(t,{default:()=>p});var r,l,s=a(59716),n=a(77704),o=a(67352),i=a(85533),c=a(97729),d=a(95931),h=a(25692),m=a(81288),f=["title","titleId","desc","descId"];function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,s.jsx)(o.default,{href:e.href,className:"hover:underline",children:(0,s.jsxs)("span",{className:"text-base font-normal text-[#252422]",children:[e.name,(0,s.jsx)("span",{children:e.icon})]})},e.name))})]})}function p(e){let{location:t}=e,[a,r]=n.useState(!1),{effectiveLocation:l,isLocationLoading:m}=(0,i.s)({location:t,fallbackOrder:i.i.PREFER_RECENT}),f=!m&&l?[{name:"My Dashboard",href:"/mydashboard",isNew:!1},{name:"Today",href:"/weather/today/l/".concat(l.placeId)},{name:"Hourly",href:"/weather/hourbyhour/l/".concat(l.placeId)},{name:"10 Day",href:"/weather/tenday/l/".concat(l.placeId)},{name:"Weekend",href:"/weather/weekend/l/".concat(l.placeId)},{name:"Monthly",href:"/weather/monthly/l/".concat(l.placeId)},{name:"Radar",href:"/radar/interactive/l/".concat(l.placeId)},{name:"Tropics",href:"/storms/hurricane/video/tropics-refresh-your-guide-to-tropical-terminology?adRef=nav",icon:(0,s.jsx)(v,{className:"h-4 w-4"})}]:[];return(0,s.jsx)("nav",{className:"border-b border-[#2524221a]",children:(0,s.jsx)("div",{className:"mx-auto flex w-full max-w-7xl",children:m||!l?null:(0,s.jsxs)("div",{className:"flex h-10 w-full",children:[(0,s.jsx)("div",{className:"relative flex w-full flex-wrap items-stretch justify-around overflow-hidden",children:f.map(e=>(0,s.jsxs)(o.default,{href:e.href,className:"relative mt-[1px] flex h-[calc(100%-2px)] items-center justify-center gap-[5px] text-nowrap px-[15px] text-base font-medium text-gray-800 outline-offset-0 after:absolute after:bottom-[-1px] after:left-1/2 after:h-[2px] after:w-0 after:-translate-x-1/2 after:bg-gray-800 after:transition-[width] after:duration-300 after:content-[''] hover:after:w-[calc(100%-10px)]",children:[e.icon,(0,s.jsxs)("span",{children:[e.name,e.isNew&&(0,s.jsx)("span",{className:"ml-2 rounded bg-black px-1.5 py-0.5 text-xs text-white",children:"NEW"})]})]},e.name))}),(0,s.jsx)("div",{className:"flex shrink-0 items-center justify-center",children:(0,s.jsxs)(c.AM,{open:a,onOpenChange:r,children:[(0,s.jsx)(c.Wv,{asChild:!0,children:(0,s.jsxs)("button",{className:"relative mt-[1px] flex h-[calc(100%-2px)] cursor-pointer items-center px-[15px] after:absolute after:bottom-[-1px] after:left-1/2 after:h-[2px] after:w-0 after:-translate-x-1/2 after:bg-gray-800 after:transition-[width] after:duration-300 after:content-[''] hover:after:w-[calc(100%-10px)]",children:[(0,s.jsxs)("span",{className:"hidden text-nowrap font-medium text-gray-800 sm:inline",children:["More ",(0,s.jsx)("span",{className:"hidden lg:inline",children:"Forecasts"})]}),a?(0,s.jsx)(d.A,{className:"ml-1 h-4 w-4"}):(0,s.jsx)(h.A,{className:"ml-1 h-4 w-4"})]})}),(0,s.jsx)(c.hl,{showArrow:!1,children:(0,s.jsx)(u,{placeId:l.placeId})})]})})]})})})}},74171:(e,t,a)=>{"use strict";a.d(t,{y:()=>s});var r=a(9005),l=a(37811);let s=()=>{if(r.A){let e=window.location.protocol,t=window.location.hostname,a=window.location.port;return"".concat(e,"//").concat(t).concat(a?":".concat(a):"")}return l.env.VERCEL_PROJECT_PRODUCTION_URL?"https://".concat(l.env.VERCEL_PROJECT_PRODUCTION_URL):l.env.NEXT_PUBLIC_SERVER_URL||""}},78282:(e,t,a)=>{Promise.resolve().then(a.bind(a,81912)),Promise.resolve().then(a.bind(a,82746)),Promise.resolve().then(a.bind(a,68090)),Promise.resolve().then(a.bind(a,7330)),Promise.resolve().then(a.bind(a,72698)),Promise.resolve().then(a.bind(a,85552)),Promise.resolve().then(a.bind(a,30752)),Promise.resolve().then(a.bind(a,30741)),Promise.resolve().then(a.bind(a,72407)),Promise.resolve().then(a.bind(a,276)),Promise.resolve().then(a.bind(a,31364)),Promise.resolve().then(a.bind(a,72763)),Promise.resolve().then(a.bind(a,94766)),Promise.resolve().then(a.bind(a,67352)),Promise.resolve().then(a.bind(a,39579)),Promise.resolve().then(a.bind(a,3703)),Promise.resolve().then(a.bind(a,43312)),Promise.resolve().then(a.t.bind(a,21282,23))}},e=>{var t=t=>e(e.s=t);e.O(0,[9863,7759,9841,4547,9966,6867,6380,9313,3303,2234,3530,8236,5870,4743,7358],()=>t(78282)),_N_E=e.O()}]);