PageSourceSearch

https://milkywaynews.com/_next/static/chunks/bf2050a653f6240b.js?dpl=dpl_2TeNYyxzKfU3eZdtXzt3BL8QqHKJ

js milkywaynews.com collected 2026-10-07 03:29:35 UTC 54,103 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,402971,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(657688),s=e.i(271645),i=e.i(217255),n=e.i(125169);let l=[{label:"HOME",href:"/"},{label:"MEMBERS ONLY",href:"/category/members-only"},{label:"VIDEO",href:"/video"},{label:"ABOUT",href:"/about"},{label:"CONTACT",href:"/contact"}],o=[{label:"Universe",href:"/category/universe"},{label:"Earth",href:"/category/earth"},{label:"UFO/UAP",href:"/category/ufo-uap"},{label:"Consciousness",href:"/category/consciousness"},{label:"Tech",href:"/category/tech"},{label:"Humanity",href:"/category/humans"}];function c(){return(0,t.jsxs)("div",{className:"flex flex-col gap-[3px] bg-[#efefef]",children:[(0,t.jsx)("div",{className:"border-t border-gray-600"}),(0,t.jsx)("div",{className:"border-t border-gray-600"})]})}function h(){let[e,h]=(0,s.useState)(!1),[d,u]=(0,s.useState)(!1),{data:f}=(0,i.useSession)(),x=new Date().toLocaleDateString("en-US",{weekday:"long",day:"numeric",month:"long",year:"numeric"});return(0,t.jsxs)("header",{className:"relative z-50",children:[(0,t.jsxs)("div",{className:"bg-black starfield",children:[(0,t.jsx)("div",{className:"container mx-auto px-2 pt-2 pb-2 md:py-2",children:(0,t.jsxs)("div",{className:"flex items-end justify-between md:items-center md:relative",children:[(0,t.jsx)(r.default,{href:"/",className:"flex-shrink-0 md:z-10",children:(0,t.jsx)(a.default,{src:"/images/mwn-logo-v7.png",alt:"The Milky Way News",width:200,height:200,className:"header-logo",priority:!0,unoptimized:!0})}),(0,t.jsxs)("div",{className:"flex-1 text-center px-2 pb-1 md:pb-0 min-w-0 md:absolute md:left-1/2 md:-translate-x-1/2 md:w-full md:pointer-events-none",children:[(0,t.jsx)(r.default,{href:"/",className:"md:pointer-events-auto",children:(0,t.jsx)("div",{className:"masthead-title text-white",children:"The Milky Way News"})}),(0,t.jsx)("p",{className:"tagline mt-0 mb-0 md:mb-0 tracking-wider text-xs md:text-sm uppercase md:pointer-events-auto",style:{color:"#C9A84C"},children:"Earth's Cosmic Newspaper"})]}),(0,t.jsxs)("div",{className:"flex-shrink-0 text-right self-center hidden md:flex md:flex-col md:items-end md:gap-0.5 md:z-10",children:[(0,t.jsx)("p",{className:"header-date text-white text-[0.65rem] lg:text-xs truncate",children:x}),(0,t.jsxs)("div",{className:"hidden md:inline-flex md:flex-col md:items-stretch md:gap-0.5",children:[(0,t.jsx)(r.default,{href:"/subscribe",className:"bg-[#C9A84C] text-black hover:bg-[#B89740] transition subscribe-btn header-date py-1 rounded text-xs lg:text-sm whitespace-nowrap text-center block",children:"SUBSCRIBE"}),(0,t.jsx)(r.default,{href:f?"/account":"/login",className:"bg-transparent border border-[#C9A84C] hover:bg-white/10 transition subscribe-btn header-date py-1 rounded text-xs lg:text-sm whitespace-nowrap text-center block",style:{color:"#C9A84C"},children:f?"MY ACCOUNT":"LOG IN"})]})]})]})}),(0,t.jsx)("nav",{className:"hidden md:block relative z-50 bg-black starfield -mt-1",children:(0,t.jsx)("div",{className:"container mx-auto px-2",children:(0,t.jsxs)("div",{className:"flex items-center justify-between py-1 gap-3 flex-wrap",children:[(0,t.jsxs)("ul",{className:"flex items-center gap-x-4 gap-y-1 flex-wrap",children:[(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:"/",className:"menu-item text-sm text-white hover:text-[#87CEEB] transition whitespace-nowrap",children:"HOME"})}),(0,t.jsxs)("li",{className:"relative",onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[(0,t.jsxs)(r.default,{href:"/news",className:"menu-item text-sm text-white hover:text-[#87CEEB] transition whitespace-nowrap flex items-center gap-1 py-2",children:["NEWS",(0,t.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),d&&(0,t.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 top-full z-[1000]",children:(0,t.jsx)("ul",{className:"bg-white border-2 border-black shadow-xl min-w-[180px] mt-1 py-2",children:o.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"block px-4 py-2 text-sm text-black hover:bg-[#87CEEB] hover:text-white transition",children:e.label})},e.href))})})]}),l.slice(1).map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"menu-item text-sm text-white hover:text-[#87CEEB] transition whitespace-nowrap",children:e.label})},e.href))]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[(0,t.jsx)("a",{href:"https://youtube.com/@TheMilkyWayNews",target:"_blank",rel:"noopener noreferrer","aria-label":"YouTube",className:"text-white hover:text-[#87CEEB] transition",children:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),(0,t.jsx)("a",{href:"https://tiktok.com/@themilkywaynews",target:"_blank",rel:"noopener noreferrer","aria-label":"TikTok",className:"text-white hover:text-[#87CEEB] transition",children:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
1-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"})})}),(0,t.jsx)("a",{href:"https://x.com/milkywaynewz",target:"_blank",rel:"noopener noreferrer","aria-label":"X (Twitter)",className:"text-white hover:text-[#87CEEB] transition",children:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,t.jsx)("a",{href:"https://instagram.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"text-white hover:text-[#87CEEB] transition",children:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),(0,t.jsx)("a",{href:"https://facebook.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"text-white hover:text-[#87CEEB] transition",children:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})})]})]})})})]}),(0,t.jsxs)("div",{className:"md:hidden flex justify-center items-center gap-3 py-2 bg-black starfield",children:[(0,t.jsx)("button",{onClick:()=>h(!e),className:"flex items-center gap-2 p-2","aria-label":"Toggle menu",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:`w-6 h-0.5 bg-white transition-transform ${e?"rotate-45 translate-y-2":""}`}),(0,t.jsx)("span",{className:`w-6 h-0.5 bg-white transition-opacity ${e?"opacity-0":""}`}),(0,t.jsx)("span",{className:`w-6 h-0.5 bg-white transition-transform ${e?"-rotate-45 -translate-y-2":""}`})]})}),(0,t.jsx)(n.default,{})]}),e&&(0,t.jsxs)("nav",{className:"md:hidden bg-black starfield",children:[(0,t.jsxs)("ul",{className:"flex flex-col items-center py-2",children:[(0,t.jsx)("li",{className:"w-full",children:(0,t.jsx)(r.default,{href:"/",className:"menu-item block text-center py-3 text-sm text-white hover:bg-gray-800 transition",onClick:()=>h(!1),children:"HOME"})}),(0,t.jsx)("li",{className:"w-full",children:(0,t.jsx)(r.default,{href:"/news",className:"menu-item block text-center py-3 text-sm text-white hover:bg-gray-800 transition",onClick:()=>h(!1),children:"NEWS"})}),l.slice(1).map(e=>(0,t.jsx)("li",{className:"w-full",children:(0,t.jsx)(r.default,{href:e.href,className:"menu-item block text-center py-3 text-sm text-white hover:bg-gray-800 transition",onClick:()=>h(!1),children:e.label})},e.href))]}),(0,t.jsxs)("div",{className:"flex justify-center gap-4 py-4 border-t border-gray-700",children:[(0,t.jsx)("a",{href:"https://youtube.com/@TheMilkyWayNews",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600 transition",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",f
1ill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),(0,t.jsx)("a",{href:"https://tiktok.com/@themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600 transition",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"})})}),(0,t.jsx)("a",{href:"https://x.com/milkywaynewz",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600 transition",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,t.jsx)("a",{href:"https://instagram.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600 transition",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),(0,t.jsx)("a",{href:"https://facebook.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-gray-700 rounded-full flex items-center justify-center hover:bg-gray-600 transition",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})})]})]}),(0,t.jsx)(c,{}),(0,t.jsx)("div",{className:"py-2 bg-[#efefef]",children:(0,t.jsx)("div",{className:"container mx-auto px-2",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)(r.default,{href:"/subscribe",className:"subscribe-btn bg-[#C9A84C] text-black font-medium hover:bg-[#B89740] transition whitespace-nowrap rounded md:hidden w-[140px] flex items-center justify-center",children:"SUBSCRIBE"}),(0,t.jsx)("p",{className:"sub-header-text font-bold whitespace-nowrap hidden md:block",children:"journalist-founded startup"}),(0,t.jsx)(n.default,{className:"hidden md:flex"}),(0,t.jsxs)(r.default,{href:f?"/account":"/login",className:"subscribe-btn bg-black font-medium hover:bg-gray-800 transition whitespace-nowrap rounded w-[140px] text-center md:hidden relative overflow-hidden",style:{color:"#C9A84C"},children:[(0,t.jsx)("span",{className:"absolute inset-0 pointer-events-none topics-stars"}),(0,t.jsx)("span",{className:"relative z-[1]",children:f?"MY ACCOUNT":"LOG IN"})]}),(0,t.jsx)("p",{className:"sub-header-text font-bold whitespace-nowrap hidden md:block",children:"daily universal updates"})]})})}),(0,t.jsx)(c,{})]})}e.s(["default",()=>h])},13642,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(271645),s=e.i(618566);let i=[{label:"Universe",href:"/category/universe"},{label:"Earth",href:"/category/earth"},{label:"Humanity",href:"/category/humans"},{label:"Tech",href:"/category/tech"},{label:"UFO/UAP",href:"/category/ufo-uap"},{label:"Consciousness",href:"/category/consciousness"}],n=[{label:"Sign In",href:"/login"},{label:"About",href:"/about"},{label:"Guide",href:"/guide"},{label:"Subscription",href:"/subscribe"},{label:"Privacy Policy & Legal Disclaimer",href:"/privacy"}];function l(){let[e,l]=(0,a.useState)(""),[o,c]=(0,a.useState)(""),[h,d]=(0,a.useState)("idle"),[u,f]=(0,a.useState)(""),x=(0,s.useRouter)(),m=t=>{t.preventDefault(),e.trim()&&(x.push(`/search?q=${encodeURIComponent(e.trim())}`),l(""))},p=async e=>{e.preventDefault(),d("loading"),f("");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o})}
1),t=await e.json();e.ok?(d("success"),f(t.message||"Successfully subscribed!"),c("")):(d("error"),f(t.error||"Something went wrong"))}catch{d("error"),f("Failed to subscribe. Please try again.")}};return(0,t.jsxs)("footer",{className:"bg-[#efefef]",children:[(0,t.jsx)("div",{className:"bg-black starfield border-b border-gray-700",children:(0,t.jsx)("div",{className:"container mx-auto px-4 py-10",children:(0,t.jsxs)("div",{className:"max-w-xl mx-auto text-center",children:[(0,t.jsx)("h3",{className:"text-xl font-bold mb-4",style:{color:"#C9A84C"},children:"Support Independent Journalism"}),(0,t.jsx)(r.default,{href:"/subscribe",className:"inline-block px-8 py-2 bg-[#C9A84C] text-black transition rounded hover:bg-[#B89740] subscribe-btn",children:"SUBSCRIBE"})]})})}),(0,t.jsx)("div",{className:"border-b border-gray-300",children:(0,t.jsx)("div",{className:"container mx-auto px-4 py-10",children:(0,t.jsxs)("div",{className:"max-w-xl mx-auto text-center",children:[(0,t.jsx)("h3",{className:"text-xl font-bold mb-2",children:"Stay Connected to the Cosmos"}),(0,t.jsx)("p",{className:"text-gray-600 mb-4 text-sm",children:"Connect with our free newsletter for regular updates from across the universe."}),"success"===h?(0,t.jsx)("div",{className:"bg-green-50 text-green-700 p-3 rounded max-w-md mx-auto",children:u}):(0,t.jsxs)("form",{onSubmit:p,className:"flex gap-2 max-w-md mx-auto",children:[(0,t.jsx)("input",{type:"email",value:o,onChange:e=>c(e.target.value),placeholder:"Enter your email",required:!0,disabled:"loading"===h,className:"flex-1 px-4 py-2 bg-white border border-gray-300 rounded focus:outline-none focus:border-[#87CEEB] disabled:opacity-50"}),(0,t.jsxs)("button",{type:"submit",disabled:"loading"===h,className:"px-6 py-2 bg-black text-white transition rounded hover:bg-gray-800 subscribe-btn disabled:opacity-50 relative overflow-hidden",children:[(0,t.jsx)("span",{className:"absolute inset-0 pointer-events-none topics-stars"}),(0,t.jsx)("span",{className:"relative z-[1]",children:"loading"===h?"...":"JOIN"})]})]}),"error"===h&&(0,t.jsx)("p",{className:"text-red-600 text-sm mt-2",children:u})]})})}),(0,t.jsx)("div",{className:"container mx-auto px-4 py-10",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start justify-between gap-8",children:[(0,t.jsxs)("div",{className:"shrink-0",children:[(0,t.jsx)(r.default,{href:"/",className:"block mb-4",children:(0,t.jsx)("span",{className:"masthead-title text-xl md:text-2xl whitespace-nowrap",children:"The Milky Way News"})}),(0,t.jsx)("p",{className:"tagline text-gray-600 text-xs md:text-sm whitespace-nowrap uppercase",children:"Earth's Cosmic Newspaper"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"menu-item text-sm mb-4",children:"TOPICS"}),(0,t.jsx)("ul",{className:"space-y-2",children:i.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-gray-600 hover:text-black transition text-sm",children:e.label})},e.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"menu-item text-sm mb-4",children:"MILKY WAY NEWS"}),(0,t.jsx)("ul",{className:"space-y-2",children:n.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-gray-600 hover:text-black transition text-sm",children:e.label})},e.href))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"menu-item text-sm mb-4",children:"FOLLOW US"}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("a",{href:"https://youtube.com/@TheMilkyWayNews",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-black transition",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),(0,t.jsx)("a",{href:"https://tiktok.com/@themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-black transition",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
1-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"})})}),(0,t.jsx)("a",{href:"https://x.com/milkywaynewz",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-black transition",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,t.jsx)("a",{href:"https://instagram.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-black transition",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),(0,t.jsx)("a",{href:"https://facebook.com/themilkywaynews",target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-black transition",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})})]})]})]})]})}),(0,t.jsx)("div",{className:"bg-white border-t border-gray-300",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-4",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 sm:hidden",children:[(0,t.jsxs)("form",{onSubmit:m,className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:e,onChange:e=>l(e.target.value),placeholder:"SEARCH",className:"w-32 px-3 py-1 text-xs border border-gray-300 rounded focus:outline-none focus:border-[#87CEEB]",style:{fontFamily:"var(--font-audiowide), sans-serif"}}),(0,t.jsx)("button",{type:"submit",className:"text-gray-500 hover:text-black transition","aria-label":"Search",children:(0,t.jsxs)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{strokeLinecap:"round",d:"M20 20l-4.35-4.35"})]})})]}),(0,t.jsxs)("p",{className:"text-gray-500 text-sm",children:["© ",new Date().getFullYear()," Milky Way News LLC. All rights reserved."]})]}),(0,t.jsxs)("div",{className:"hidden sm:flex items-center justify-between",children:[(0,t.jsx)("div",{className:"w-40"}),(0,t.jsxs)("p",{className:"text-gray-500 text-sm",children:["© ",new Date().getFullYear()," Milky Way News LLC. All rights reserved."]}),(0,t.jsxs)("form",{onSubmit:m,className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:e,onCh
1ange:e=>l(e.target.value),placeholder:"SEARCH",className:"w-32 px-3 py-1 text-xs border border-gray-300 rounded focus:outline-none focus:border-[#87CEEB]",style:{fontFamily:"var(--font-audiowide), sans-serif"}}),(0,t.jsx)("button",{type:"submit",className:"text-gray-500 hover:text-black transition","aria-label":"Search",children:(0,t.jsxs)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{strokeLinecap:"round",d:"M20 20l-4.35-4.35"})]})})]})]})]})})]})}e.s(["default",()=>l],13642)},247984,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}var r={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},a={0:8203,1:8204,2:8205,3:65279};[,,,,].fill(String.fromCodePoint(a[0])).join(""),Object.fromEntries(Object.entries(a).map(e=>e.reverse())),Object.fromEntries(Object.entries(r).map(e=>e.reverse()));var s=`${Object.values(r).map(e=>`\\u{${e.toString(16)}}`).join("")}`,i=RegExp(`[${s}]{4,}`,"gu");function n(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(i,""),encoded:(null==(r=t.match(i))?void 0:r[0])||""}.cleaned)}e.s(["isRecord",()=>t,"stegaClean",()=>n])},439884,(e,t,r)=>{e.e,t.exports=function(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function t(){return(t=Object.assign.bind()).apply(null,arguments)}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function a(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var s=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],i=["clip","crop","fill","fillmax","max","scale","min"],n=["top","bottom","left","right","center","focalpoint","entropy"],l=["format"],o=function(){function o(e,r){this.options=void 0,this.options=e?t({},e.options||{},r||{}):t({},r||{})}var c=o.prototype;return c.withOptions=function(r){var a=r.baseUrl||this.options.baseUrl,i={baseUrl:a};for(var n in r)r.hasOwnProperty(n)&&(i[function(t){for(var r,a=function(t,r){var a="u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return(a=a.call(t)).next.bind(a);if(Array.isArray(t)||(a=function(t,r){if(t){if("string"==typeof t)return e(t,void 0);var a=({}).toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?e(t,void 0):void 0}}(t))){a&&(t=a);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(s);!(r=a()).done;){var i=r.value,n=i[0],l=i[1];if(t===n||t===l)return n}return t}(n)]=r[n]);return new o(this,t({baseUrl:a},i))},c.image=function(e){return this.withOptions({source:e})},c.dataset=function(e){return this.withOptions({dataset:e})},c.projectId=function(e){return this.withOptions({projectId:e})},c.bg=function(e){return this.withOptions({bg:e})},c.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},c.width=function(e){return this.withOptions({width:e})},c.height=function(e){return this.withOptions({height:e})},c.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},c.maxWidth=function(e){return this.withOptions({maxWidth:e})},c.minWidth=function(e){return this.withOptions({minWidth:e})},c.maxHeight=function(e){return this.withOptions({maxHeight:e})},c.minHeight=function(e){return this.withOptions({minHeight:e})},c.size=function(e,t){return this.withOptions({width:e,height:t})},c.blur=function(e){return this.withOptions({blur:e})},c.sharpen=function(e){return this.withOptions({sharpen:e})},c.rect=function(e,t,r,a){return this.withOptions({rect:{left:e,top:t,width:r,height:a}})},c.format=function(e){return this.withOptions({format:e})},c.invert=function(e){return this.withOptions({invert:e})},c.orientation=function(e){return this.withOptions({orientation:e})},c.quality=function(e){return this.withOptions({quality:e})},c.forceDownload=function(e){return this.withOptions({download:e})},c.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},c.flipVertical=function(){return this.withOptions({flipVertical:!0})},c.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},c.fit=function(e){if(-1===i.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},c.crop=function(e){if(-1===n.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},c.saturation=function(e){return this.withOptions({saturation:e})},c.auto=function(e){if(-1===l.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},c.pad=function(e){return this.withOptions({pad:e})},c.vanityName=function(e){return this.withOptions({vanityName:e})},c.frame=function(e){if(1!==e)throw Error('Invalid frame value "'+e+'"');return this.withOptions({frame:e})},c.url=function(){return function(e){var i=t({},e||{}),n=i.source;delete i.source;var l=function(e){var r,s;if(!e)return null;if("string"==typeof e&&(s=e,/^https?:\/\//.test(""+s)))r={asset:{_ref:a(e)}};else if("string"==typeof e)r={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)r={asset:e};else if(e&&"string"==typeof e._id)r={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)r={asset:{_ref:a(e.asset.url)}};else{if("object"!=typeof e.asset)return null;r=t({},e)}return e.crop&&(r.crop=e.crop),e.hotspot&&(r.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;var r=t({},e);
1return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(n);if(!l){if(n&&"object"==typeof n&&null!==n&&n._upload&&(!n.asset||!n.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error("Unable to resolve image URL from source ("+JSON.stringify(n)+")")}var o=function(e){var t=e.split("-"),a=t[1],s=t[2],i=t[3];if(!a||!s||!i)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');var n=s.split("x"),l=n[0],o=n[1],c=+l,h=+o;if(!(isFinite(c)&&isFinite(h)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');return{id:a,width:c,height:h,format:i}}(l.asset._ref||l.asset._id||""),c=Math.round(l.crop.left*o.width),h=Math.round(l.crop.top*o.height),d={left:c,top:h,width:Math.round(o.width-l.crop.right*o.width-c),height:Math.round(o.height-l.crop.bottom*o.height-h)},u=l.hotspot.height*o.height/2,f=l.hotspot.width*o.width/2,x=l.hotspot.x*o.width,m=l.hotspot.y*o.height;return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=t({},i,function(e,t){var r,a=t.width,s=t.height;if(!(a&&s))return{width:a,height:s,rect:e.crop};var i=e.crop,n=e.hotspot,l=a/s;if(i.width/i.height>l){var o=Math.round(i.height),c=Math.round(o*l),h=Math.max(0,Math.round(i.top)),d=Math.max(0,Math.round(Math.round((n.right-n.left)/2+n.left)-c/2));d<i.left?d=i.left:d+c>i.left+i.width&&(d=i.left+i.width-c),r={left:d,top:h,width:c,height:o}}else{var u=i.width,f=Math.round(u/l),x=Math.max(0,Math.round(i.left)),m=Math.max(0,Math.round(Math.round((n.bottom-n.top)/2+n.top)-f/2));m<i.top?m=i.top:m+f>i.top+i.height&&(m=i.top+i.height-f),r={left:x,top:m,width:u,height:f}}return{width:a,height:s,rect:r}}({crop:d,hotspot:{left:x-f,top:m-u,right:x+f,bottom:m+u}},i))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=e.vanityName?"/"+e.vanityName:"",a=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format+r,i=t+"/images/"+e.projectId+"/"+e.dataset+"/"+a,n=[];if(e.rect){var l=e.rect,o=l.left,c=l.top,h=l.width,d=l.height;(0!==o||0!==c||d!==e.asset.height||h!==e.asset.width)&&n.push("rect="+o+","+c+","+h+","+d)}e.bg&&n.push("bg="+e.bg),e.focalPoint&&(n.push("fp-x="+e.focalPoint.x),n.push("fp-y="+e.focalPoint.y));var u=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(u&&n.push("flip="+u),s.forEach(function(t){var r=t[0],a=t[1];void 0!==e[r]?n.push(a+"="+encodeURIComponent(e[r])):void 0!==e[a]&&n.push(a+"="+encodeURIComponent(e[a]))}),0===n.length)?i:i+"?"+n.join("&")}(t({},i,{asset:o}))}(this.options)},c.toString=function(){return this.url()},o}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),r=t.apiHost,a=t.projectId,s=t.dataset;return new o(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:a,dataset:s})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var i=e.clientConfig,n=i.apiHost,l=i.projectId,c=i.dataset;return new o(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:l,dataset:c})}return new o(null,e||{})}}()},904234,e=>{"use strict";var t=e.i(439884),r=e.i(247167),a=e.i(945736);let s=(0,a.createClient)({projectId:"z9v7amfr",dataset:"production",apiVersion:"2024-01-01",useCdn:!1});(0,a.createClient)({projectId:"z9v7amfr",dataset:"production",apiVersion:"2024-01-01",useCdn:!1,token:r.default.env.SANITY_API_TOKEN}),(0,a.createClient)({projectId:"z9v7amfr",dataset:"production",apiVersion:"2024-01-01",useCdn:!1,token:r.default.env.SANITY_API_TOKEN,perspective:"drafts"});let i=(0,t.default)(s);e.s(["urlForImage",0,e=>i?.image(e).auto("format").fit("crop")],904234)},459099,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(79866);function s(){let[e,s]=(0,r.useState)(""),[i,n]=(0,r.useState)("idle"),[l,o]=(0,r.useState)(""),c=async t=>{t.preventDefault(),n("loading"),o("");try{let t=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,attribution:(0,a.getAttribution)()})}),r=await t.json();t.ok?(n("success"),o(r.message||"Successfully subscribed!"),s("")):(n("error"),o(r.error||"Something went wrong"))}catch{n("error"),o("Failed to subscribe. Please try again.")}};return(0,t.jsx)("div",{className:"bg-[#efefef] py-10 newsletter-signup",children:(0,t.jsxs)("div",{className:"max-w-xl mx-auto text-center px-4",children:[(0,t.jsx)("h3",{className:"text-xl font-bold mb-2",children:"Stay Connected to the Cosmos"}),(0,t.jsx)("p",{className:"text-gray-600 mb-4 text-sm",children:"Connect with our free newsletter for regular updates from across the universe."}),"success"===i?(0,t.jsx)("div",{className:"bg-green-50 text-green-700 p-3 rounded max-w-md mx-auto",children:l}):(0,t.jsxs)("form",{onSubmit:c,className:"flex gap-2 max-w-md mx-auto",children:[(0,t.jsx)("input",{type:"email",value:e,onCh
1ange:e=>s(e.target.value),placeholder:"Enter your email",required:!0,disabled:"loading"===i,className:"flex-1 px-4 py-2 bg-white border border-gray-300 rounded focus:outline-none focus:border-[#87CEEB] disabled:opacity-50"}),(0,t.jsxs)("button",{type:"submit",disabled:"loading"===i,className:"px-6 py-2 bg-black text-white transition rounded hover:bg-gray-800 subscribe-btn disabled:opacity-50 relative overflow-hidden",children:[(0,t.jsx)("span",{className:"absolute inset-0 pointer-events-none topics-stars"}),(0,t.jsx)("span",{className:"relative z-[1]",children:"loading"===i?"...":"JOIN"})]})]}),"error"===i&&(0,t.jsx)("p",{className:"text-red-600 text-sm mt-2",children:l})]})})}e.s(["default",()=>s])},207798,e=>{"use strict";var t=e.i(843476),r=e.i(657688),a=e.i(522016),s=e.i(904234);function i({article:e,shape:i="bolt"}){if(!e)return null;let n=e.categories||[],l=new Date(e.publishedAt).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),o="bolt"!==i?` fb-${i}`:"";return(0,t.jsxs)("div",{className:`featured-bolt-cell mb-8${o}`,children:[(0,t.jsx)("div",{className:"featured-bolt-fx","aria-hidden":"true",children:(0,t.jsx)("div",{className:"featured-bolt-frame"})}),(0,t.jsxs)(a.default,{href:`/article/${e.slug.current}`,className:"featured-bolt-inner group block bg-black",children:[(0,t.jsxs)("div",{className:"relative h-80 md:h-96 overflow-hidden bg-gray-200 article-image",children:[e.mainImage?(0,t.jsx)(r.default,{src:(0,s.urlForImage)(e.mainImage).width(1600).height(630).url(),alt:e.title,fill:!0,sizes:"100vw",className:"object-cover group-hover:scale-105 transition-transform duration-300",priority:!0}):(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-gradient-to-br from-gray-700 to-gray-900",children:(0,t.jsx)("span",{className:"text-gray-400 text-lg",children:"Featured Story"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),(0,t.jsx)("div",{className:"featured-bolt-headline absolute bottom-0 left-0 right-0 py-4",children:(0,t.jsx)("h3",{className:"article-title text-2xl md:text-3xl text-white group-hover:text-[#87CEEB] transition",children:e.title})})]}),(0,t.jsx)("div",{className:"featured-bolt-text bg-black starfield relative overflow-hidden",children:(0,t.jsxs)("div",{className:"relative z-[1]",children:[n.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1",children:n.map((e,r)=>(0,t.jsxs)("span",{className:"category-tag",style:{color:"#C9A84C"},children:[e.title,r<n.length-1&&","]},e._id))}),e.excerpt&&(0,t.jsx)("p",{className:"article-excerpt text-base mt-2",style:{color:"#fff"},children:e.excerpt}),(0,t.jsxs)("p",{className:"text-sm mt-2",style:{color:"#999"},children:[e.author?.name&&`By ${e.author.name} • `,l]})]})})]})]})}e.s(["default",()=>i])},203760,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(522016);let s="nodownload nofullscreen noplaybackrate noremoteplayback";function i({src:e="/home-video/featured.mp4",poster:i,caption:n,href:l}){let o=(0,r.useRef)(null),[c,h]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=o.current;if(!e)return;e.muted=!0;let t=new IntersectionObserver(t=>{for(let r of t)r.isIntersecting?e.play().catch(()=>{}):e.pause()},{threshold:.4});return t.observe(e),()=>t.disconnect()},[]),(0,r.useEffect)(()=>{if(!c)return;let e=e=>{"Escape"===e.key&&h(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[c]),(0,t.jsxs)("div",{className:"group relative flex h-full min-h-[280px] flex-col overflow-hidden rounded-lg border-2 border-[#87CEEB] bg-black",children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)("video",{ref:o,src:e,poster:i,className:"mwn-video h-full w-full object-cover",controls:!0,controlsList:s,disablePictureInPicture:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}),(0,t.jsx)("button",{type:"button",onClick:()=>{o.current?.pause(),h(!0)},"aria-label":"Enlarge video",className:"absolute right-2 top-2 z-[1] hidden rounded bg-black/60 p-1.5 text-white opacity-80 transition hover:bg-black/80 hover:opacity-100 md:block",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"})})})]}),(n||l)&&(0,t.jsxs)("div",{className:"border-t border-[#87CEEB]/30 p-3 text-center",children:[n&&(0,t.jsx)("p",{className:"text-sm font-semibold uppercase leading-snug text-gray-100",children:n}),l&&(0,t.jsx)(a.default,{href:l,className:"mt-2 inline-block font-mono text-xs uppercase tracking-widest text-[#C9A84C] transition hover:text-[#e5c25a]",children:"Read the Article →"})]}),c&&(0,t.jsx)("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/85 p-4",onClick:()=>h(!1),children:(0,t.jsxs)("div",{className:"relative",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("video",{src:e,poster:i,className:"mwn-video block max-h-[85vh] w-auto max-w-full rounded-lg object-contain",controls:!0,controlsList:s,disablePictureInPicture:!0,autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0}),(0,t.jsx)("button",{type:"button",onClick:()=>h(!1),"aria-label":"Close enlarged video",className:"absolute right-2 top-2 z-[1] flex h-9 w-9 items-center justify-center rounded-full border border-white/40 bg-black/70 text-white transition hover:bg-black hover:text-[#C9A84C]",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})})})]})})]})}e.s(["default",()=>i])},166551,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(657688),s=e.i(217255),i=e.i(271645);let n="#fff5b8",l="#ffd95a";function o(e){let t=43758.5453*Math.sin(e);return t-Math.floor(t)}function c({variant:e="arcade"}={}){let d=(0,i.useRef)(null),{data:u}=(0,s.useSession)(),f=u?.user?.subscriptionStatus==="active",x="members"===e;return(0,i.useEffect)(()=>{let e=d.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let r=()=>{let t=e.getBoundingClientRect(),r=Math.floor(t.width),a=Math.floor(t.height);r>0&&a>0&&(e.width!==r||e.height!==a)&&(e.width=r,e.height=a)};r();let a=new ResizeObserver(r);a.observe(e);let s={galaxy:{x:120,y:40,vx:70,vy:55},star:{x:400,y:70,vx:-95,vy:-60},lastFrameAt:-1},i=0,o=()=>{let r=performance.now(),a=s.lastFrameAt>0?Math.min(.05,(r-s.lastFrameAt)/1e3):0;s.lastFrameAt=r;let c=e.width,d=e.height;if(0===c||0===d){i=requestAnimationFrame(o);return}let{galaxy:u,star:f}=s;u.x+=u.vx*a,u.y+=u.vy*a,f.x+=f.vx*a,f.y+=f.vy*a,u.x-16<0?(u.x=16,u.vx=Math.abs(u.vx)):u.x+16>c&&(u.x=c-16,u.vx=-Math.abs(u.vx)),u.y-16<0?(u.y=16,u.vy=Math.abs(u.vy)):u.y+16>d&&(u.y=d-16,u.vy=-Math.abs(u.vy)),f.x-5<0?(f.x=5,f.vx=Math.abs(f.vx)):f.x+5>c&&(f.x=c-5,f.vx=-Math.abs(f.vx)),f.y-5<0?(f.y=5,f.vy=Math.abs(f.vy)):f.y+5>d&&(f.y=d-5,f.vy=-Math.abs(f.vy));let x=f.x-u.x,m=f.y-u.y,p=Math.sqrt(x*x+m*m);if(p>0&&p<21){let e=x/p,t=m/p,r=(f.vx-u.vx)*e+(f.vy-u.vy)*t;r<0&&(f.vx-=r*e,f.vy-=r*t,u.vx+=r*e,u.vy+=r*t);let a=21-p;f.x+=e*a*.5,f.y+=t*a*.5,u.x-=e*a*.5,u.y-=t*a*.5}t.clearRect(0,0,c,d);let b=r/6e3*Math.PI*2;(function(e,t,r){let a=3*Math.round(t/3),s=3*Math.round(r/3),i=Math.floor(h[0].length/2),o=Math.floor(h.length/2);for(let t=0;t<h.length;t++)for(let r=0;r<h[t].length;r++){let c=h[t][r];"."!==c&&(e.fillStyle="B"===c?n:l,e.fillRect(a+(r-i)*3,s+(t-o)*3,3,3))}})(t,f.x,f.y),function(e,t,r,a,s,i){e.save(),e.globalAlpha=.85;let o=4*Math.round(t/4),c=4*Math.round(r/4),h=Math.ceil(4);for(let t=-h;t<=h;t++)for(let r=-h;r<=h;r++){let a=t/.85,s=Math.sqrt(r*r+a*a)/h;if(s>1)continue;if(s<.14){e.fillStyle=n,e.fillRect(o+4*r,c+4*t,4,4);continue}if(s<.26){e.fillStyle=l,e.fillRect(o+4*r,c+4*t,4,4);continue}let d=Math.atan2(a,r),u=(1-s)*.55+.55*Math.max(0,Math.cos(2*d+5*s+i))+.18*Math.max(0,Math.cos(4*d+8*s+.7*i)),f=null;u>.88?f=n:u>.62?f=l:u>.38?f="#d4af37":u>.2&&(f="#8a6f1f"),f&&(e.fillStyle=f,e.fillRect(o+4*r,c+4*t,4,4))}e.restore()}(t,u.x,u.y,16,.85,b),i=requestAnimationFrame(o)};return i=requestAnimationFrame(o),()=>{cancelAnimationFrame(i),a.disconnect()}},[]),(0,t.jsxs)(r.default,{href:x&&!f?"/subscribe":"/arcade/void-wrangler",className:"group relative my-8 block overflow-hidden rounded-lg border-2 border-[#87CEEB] bg-black transition hover:border-[#d4af37] focus:outline-none focus:ring-2 focus:ring-[#87CEEB]",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",children:Array.from({length:50}).map((e,r)=>{let a=100*o(12.9898*r+4.1),s=100*o(78.233*r+1.7),i=o(3.71*r)>.85,n=o(9.13*r)>.9,l=i?2:1,c=n?"rgba(255, 245, 184, 0.85)":`rgba(255, 255, 255, ${.45+.5*o(5.2*r)})`;return(0,t.jsx)("span",{className:"absolute block rounded-full",style:{left:`${a}%`,top:`${s}%`,width:l,height:l,background:c,boxShadow:i?`0 0 4px ${c}`:"none"}},r)})}),(0,t.jsx)("canvas",{ref:d,className:"pointer-events-none absolute inset-0 z-20 h-full w-full",style:{imageRendering:"pixelated"},"aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-4 px-6 py-7",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(a.default,{src:"/void-wrangler-icons/apple-touch-icon.png",alt:"",width:72,height:72,className:"shrink-0 object-contain",unoptimized:!0}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-[10px] uppercase tracking-widest text-[#87CEEB]",children:x?"MWN Originals":"MWN Arcade"}),(0,t.jsx)("h3",{className:"font-mono text-xl font-bold uppercase tracking-widest text-[#d4af37]",children:x?"Void Wrangler":"Play Void Wrangler"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-300",children:x?"Our retro arcade game. Save the star from the expanding abyss.":"Free retro arcade game — beat 5 levels to make the Big Board."})]})]}),x?(0,t.jsx)("span",{className:"shrink-0 whitespace-nowrap rounded bg-[#d4af37] px-4 py-2.5 font-mono text-[11px] font-bold uppercase tracking-widest transition group-hover:bg-[#ffd95a] sm:text-xs",style:{color:"#000"},children:f?"Play →":"Free for Members →"}):(0,t.jsx)("span",{className:"hidden shrink-0 font-mono text-xs uppercase tracking-widest text-[#d4af37] transition group-hover:text-[#ffd95a] sm:inline",children:"Insert Coin →"})]})]})}let h=["..X..",".XXX.","XXBXX",".XXX.","..X.."];e.s(["default",()=>c])},531039,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(657688),s=e.i(271645);let i=[{key:"void-wrangler",href:"/arcade/void-wrangler",accent:"#d4af37",kicker:"MWN Arcade",title:"Play Void Wrangler",tagline:"Free retro arcade game — beat 5 levels to make the Big Board.",cta:"Insert Coin →",iconSrc:"/void-wrangler-icons/apple-touch-icon.png"}
1,{key:"alien-species",href:"/arcade/what-alien-species-are-you",accent:"#9dff8f",kicker:"MWN Arcade",title:"What Alien Species Are You?",tagline:"Compose a 72-bit signal to the cosmos and see who answers.",cta:"Transmit →",glyph:"⌬"},{key:"constellation-connect",href:"/arcade/constellation-connect",accent:"#87CEEB",kicker:"MWN Arcade",title:"Constellation Connect",tagline:"Trace the night sky and build your daily streak.",cta:"Play →",glyph:"✦"}];function n(e){let t=43758.5453*Math.sin(e);return t-Math.floor(t)}let l="#fff5b8",o="#ffd95a";function c(){let e=(0,s.useRef)(null),[c,d]=(0,s.useState)(0),[u,f]=(0,s.useState)(!1),x=(0,s.useRef)(!1),m=(0,s.useRef)(0),p=(0,s.useRef)(null);(0,s.useEffect)(()=>{m.current=c},[c]);let b=(0,s.useCallback)(e=>{f(!0),window.setTimeout(()=>d(e),250),window.setTimeout(()=>f(!1),500)},[]),g=(0,s.useCallback)(()=>{p.current&&window.clearInterval(p.current),p.current=window.setInterval(()=>{x.current||b((m.current+1)%i.length)},5e3)},[b]);(0,s.useEffect)(()=>(g(),()=>{p.current&&window.clearInterval(p.current)}),[g]),(0,s.useEffect)(()=>{let t=e.current;if(!t)return;let r=t.getContext("2d");if(!r)return;let a=()=>{let e=t.getBoundingClientRect(),r=Math.floor(e.width),a=Math.floor(e.height);r>0&&a>0&&(t.width!==r||t.height!==a)&&(t.width=r,t.height=a)};a();let s=new ResizeObserver(a);s.observe(t);let i={galaxy:{x:120,y:40,vx:70,vy:55},star:{x:400,y:70,vx:-95,vy:-60},lastFrameAt:-1},n=0,c=()=>{let e=performance.now(),a=i.lastFrameAt>0?Math.min(.05,(e-i.lastFrameAt)/1e3):0;i.lastFrameAt=e;let s=t.width,d=t.height;if(0===s||0===d){n=requestAnimationFrame(c);return}let{galaxy:u,star:f}=i;u.x+=u.vx*a,u.y+=u.vy*a,f.x+=f.vx*a,f.y+=f.vy*a,u.x-16<0?(u.x=16,u.vx=Math.abs(u.vx)):u.x+16>s&&(u.x=s-16,u.vx=-Math.abs(u.vx)),u.y-16<0?(u.y=16,u.vy=Math.abs(u.vy)):u.y+16>d&&(u.y=d-16,u.vy=-Math.abs(u.vy)),f.x-5<0?(f.x=5,f.vx=Math.abs(f.vx)):f.x+5>s&&(f.x=s-5,f.vx=-Math.abs(f.vx)),f.y-5<0?(f.y=5,f.vy=Math.abs(f.vy)):f.y+5>d&&(f.y=d-5,f.vy=-Math.abs(f.vy));let x=f.x-u.x,m=f.y-u.y,p=Math.sqrt(x*x+m*m);if(p>0&&p<21){let e=x/p,t=m/p,r=(f.vx-u.vx)*e+(f.vy-u.vy)*t;r<0&&(f.vx-=r*e,f.vy-=r*t,u.vx+=r*e,u.vy+=r*t);let a=21-p;f.x+=e*a*.5,f.y+=t*a*.5,u.x-=e*a*.5,u.y-=t*a*.5}r.clearRect(0,0,s,d);let b=e/6e3*Math.PI*2;(function(e,t,r){let a=3*Math.round(t/3),s=3*Math.round(r/3),i=Math.floor(h[0].length/2),n=Math.floor(h.length/2);for(let t=0;t<h.length;t++)for(let r=0;r<h[t].length;r++){let c=h[t][r];"."!==c&&(e.fillStyle="B"===c?l:o,e.fillRect(a+(r-i)*3,s+(t-n)*3,3,3))}})(r,f.x,f.y),function(e,t,r,a,s,i){e.save(),e.globalAlpha=.85;let n=4*Math.round(t/4),c=4*Math.round(r/4),h=Math.ceil(4);for(let t=-h;t<=h;t++)for(let r=-h;r<=h;r++){let a=t/.85,s=Math.sqrt(r*r+a*a)/h;if(s>1)continue;if(s<.14){e.fillStyle=l,e.fillRect(n+4*r,c+4*t,4,4);continue}if(s<.26){e.fillStyle=o,e.fillRect(n+4*r,c+4*t,4,4);continue}let d=Math.atan2(a,r),u=(1-s)*.55+.55*Math.max(0,Math.cos(2*d+5*s+i))+.18*Math.max(0,Math.cos(4*d+8*s+.7*i)),f=null;u>.88?f=l:u>.62?f=o:u>.38?f="#d4af37":u>.2&&(f="#8a6f1f"),f&&(e.fillStyle=f,e.fillRect(n+4*r,c+4*t,4,4))}e.restore()}(r,u.x,u.y,16,.85,b),n=requestAnimationFrame(c)};return n=requestAnimationFrame(c),()=>{cancelAnimationFrame(n),s.disconnect()}},[]);let v=i[c];return(0,t.jsxs)("div",{className:"relative my-8 overflow-hidden rounded-lg border-2 bg-black",style:{borderColor:v.accent},onMouseEnter:()=>{x.current=!0},onMouseLeave:()=>{x.current=!1},children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",children:Array.from({length:50}).map((e,r)=>{let a=100*n(12.9898*r+4.1),s=100*n(78.233*r+1.7),i=n(3.71*r)>.85,l=i?2:1,o=n(9.13*r)>.9?"rgba(255, 245, 184, 0.85)":`rgba(255, 255, 255, ${.45+.5*n(5.2*r)})`;return(0,t.jsx)("span",{className:"absolute block rounded-full",style:{left:`${a}%`,top:`${s}%`,width:l,height:l,background:o,boxShadow:i?`0 0 4px ${o}`:"none"}},r)})}),(0,t.jsx)("canvas",{ref:e,className:"pointer-events-none absolute inset-0 z-20 h-full w-full",style:{imageRendering:"pixelated"},"aria-hidden":"true"}),(0,t.jsx)(r.default,{href:v.href,className:"relative z-10 block focus:outline-none","aria-label":v.title,children:(0,t.jsxs)("div",{className:`flex items-center justify-between gap-4 px-6 py-7 pb-9${u?" arcade-glitch":""}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[v.iconSrc?(0,t.jsx)(a.default,{src:v.iconSrc,alt:"",width:72,height:72,className:"shrink-0 object-contain",unoptimized:!0}):(0,t.jsx)("span",{className:"flex h-[72px] w-[72px] shrink-0 items-center justify-center text-5xl",style:{color:v.accent},"aria-hidden":"true",children:v.glyph}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-[10px] uppercase tracking-widest",style:{color:v.accent},children:v.kicker}),(0,t.jsx)("h3",{className:"font-mono text-xl font-bold uppercase tracking-widest",style:{color:v.accent},children:v.title}),(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-300",children:v.tagline})]})]}),(0,t.jsx)("span",{className:"hidden shrink-0 font-mono text-xs uppercase tracking-widest sm:inline",style:{color:v.accent},children:v.cta})]},v.key)}),(0,t.jsx)("div",{className:"absolute bottom-2.5 left-1/2 z-30 flex -translate-x-1/2 gap-2.5",children:i.map((e,r)=>
1(0,t.jsx)("button",{type:"button","aria-label":`Show ${e.title}`,"aria-current":r===c,onClick:e=>{e.preventDefault(),e.stopPropagation(),r!==m.current&&(b(r),g())},className:"h-2.5 w-2.5 cursor-pointer rounded-full border transition",style:{borderColor:e.accent,backgroundColor:r===c?e.accent:"transparent",boxShadow:r===c?`0 0 6px ${e.accent}`:"none",opacity:r===c?1:.55}},e.key))})]})}let h=["..X..",".XXX.","XXBXX",".XXX.","..X.."];e.s(["default",()=>c])},407363,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(207798);function s({article:e,shapes:s,mobileShapes:i,mobileRandom:n=!1,displayMs:l=5e3}){let[o,c]=(0,r.useState)(!1),[h,d]=(0,r.useState)(0),[u,f]=(0,r.useState)(!1),x=(0,r.useRef)(!1),m=(0,r.useRef)(0);(0,r.useEffect)(()=>{m.current=h},[h]),(0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=()=>c(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let p=o&&i&&i.length?i:s,b=p.length;if((0,r.useEffect)(()=>{d(0)},[o]),(0,r.useEffect)(()=>{if(b<=1)return;let e=window.setInterval(()=>{let e;if(x.current)return;let t=m.current;if(o&&n&&b>1)do e=Math.floor(Math.random()*b);while(e===t)else e=(t+1)%b;f(!0),window.setTimeout(()=>d(e),250),window.setTimeout(()=>f(!1),500)},l);return()=>window.clearInterval(e)},[b,o,n,l]),0===b)return null;let g=p[h%b]??p[0];return(0,t.jsx)("div",{className:"relative",onMouseEnter:()=>{x.current=!0},onMouseLeave:()=>{x.current=!1},children:(0,t.jsx)("div",{className:u?"arcade-glitch":"",children:(0,t.jsx)(a.default,{article:e,shape:g})})})}e.s(["default",()=>s])},684927,e=>{e.v(t=>Promise.all(["static/chunks/59fb81c8314a5069.js"].map(t=>e.l(t))).then(()=>t(145587)))},627649,e=>{e.v(t=>Promise.all(["static/chunks/3565c7c04ef0af5f.js"].map(t=>e.l(t))).then(()=>t(712220)))}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.