1import{r as i,j as e,L as c,b as m}from"./index-CDarmjNK.js";import{g}from"./ghost-fly-C5blPNM4.js";import{g as b}from"./active-map-C-xEYSxi.js";import{c as h}from"./createLucideIcon-BfXV4Vl5.js";import{S as u}from"./sparkles-C5_N6dO6.js";import{X as f}from"./x-CN7kWqNg.js";import"./families-store-BvTt-0_I.js";import"./lab-master-token-Dgq_qWKx.js";import"./createServerFn-CNGAtMsd.js";const k=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],j=h("bell",k),o=[{id:"2026-05-22-lab-cloud",date:"2026-05-22",tag:"LAB",title:"Lab agora vive na nuvem",body:"Personagens, inimigos, armas e itens compartilhados entre todos os jogadores. Sua evolução continua local."},{id:"2026-05-20-bosses-12-attacks",date:"2026-05-20",tag:"BALANCE",title:"Boss kits expandidos",body:"Cada espécie ganhou 12 ataques únicos no registry. Tinge tudo com a paleta da espécie."},{id:"2026-05-18-elite-mimic",date:"2026-05-18",tag:"NEW",title:"Elites são a sombra do jogador",body:"Carregam 3 cartas da mesma pool de armas. HP Ã2 e Ãcones acima da cabeça."},{id:"2026-05-15-biomes",date:"2026-05-15",tag:"NEW",title:"Biomas por espécie",body:"Sub-arenas com paredes destrutÃveis. Bosses ignoram paredes â você não."}],p="md.news.lastSeen";function N(){try{return localStorage.getItem(p)}catch{return null}}function w(){try{const a=o[0]?.id;a&&localStorage.setItem(p,a),window.dispatchEvent(new CustomEvent("md:news:seen"))}catch{}}function v(){const a=N();if(!a)return o.length;const s=o.findIndex(n=>n.id===a);return s<0?o.length:s}const y={NEW:"bg-postit-cinnabar text-paper",FIX:"bg-ink text-paper",BALANCE:"bg-paper-2 text-ink border-2 border-ink",LAB:"bg-[#7c3aed] text-paper",EVENT:"bg-[#f59e0b] text-ink"};function _(){const[a,s]=i.useState(!1),[n,l]=i.useState(0);i.useEffect(()=>{l(v());const t=()=>l(0);return window.addEventListener("md:news:seen",t),()=>window.removeEventListener("md:news:seen",t)},[]);const r=n>0;function x(){s(t=>{const d=!t;return d&&r&&w(),d})}return e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",onClick:x,"aria-label":r?`${n} atualizações novas`:"Atualizações",className:["fixed z-50 bottom-5 right-5 sm:bottom-6 sm:right-6","flex items-center gap-2 px-3 py-2","border-2 border-ink bg-paper shadow-[3px_3px_0_0_rgba(11,11,14,0.85)]","font-mono text-[11px] uppercase tracking-widest","hover:-translate-y-[2px] hover:shadow-[5px_5px_0_0_rgba(11,11,14,0.85)] transition-all",r?"animate-[wiggle_1.2s_ease-in-out_infinite]":""].join(" "),children:[e.jsxs("span",{className:"relative inline-flex",children:[e.jsx(j,{className:`h-4 w-4 ${r?"text-postit-cinnabar":"text-ink"}`}),r&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"absolute -top-1 -right-1 h-2.5 w-2.5 rounded-full bg-postit-cinnabar animate-ping"}),e.jsx("span",{className:"absolute -top-1 -right-1 h-2.5 w-2.5 rounded-full bg-postit-cinnabar"})]})]}),e.jsx("span",{children:r?"NEW!":"News"}),r&&e.jsx("span",{className:"ml-1 inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-postit-cinnabar px-1.5 text-[10px] font-black text-paper",children:n})]}),a&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed inset-0 z-40 bg-ink/40 backdrop-blur-[2px] animate-fade-in",onClick:()=>s(!1),"aria-hidden":!0}),e.jsxs("aside",{role:"dialog","aria-label":"Atualizações do jogo",className:"fixed z-50 bottom-20 right-5 sm:right-6 w-[min(92vw,360px)] max-h-[70vh] border-2 border-ink bg-paper shadow-[6px_6px_0_0_rgba(11,11,14,0.85)] flex flex-col animate-scale-in",children:[e.jsxs("header",{className:"flex items-center justify-between gap-2 border-b-2 border-ink bg-paper-2 px-3 py-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(u,{className:"h-4 w-4 text-postit-cinnabar"}),e.jsx("h2",{className:"font-display text-base font-black tracking-wider",children:"PATCH NOTES"})]}),e.jsx("button",{type:"button",onClick:()=>s(!1),"aria-label":"Fechar",className:"p-1 hover:bg-paper border border-transparent hover:border-ink",children:e.jsx(f,{className:"h-4 w-4"})})]}),e.jsx("ul",{className:"overflow-y-auto divide-y-2 divide-ink/15",children:o.map(t=>e.jsxs("li",{className:"px-3 py-3 hover:bg-paper-2/60",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1.5",children:[e.jsx("span",{className:`inline-block px-1.5 py-0.5 text-[9px] font-black tracking-widest ${y[t.tag]}`,children:t.tag}),e.jsx("span",{className:"font-mono text-[10px] text-ink/55",children:t.date})]}),e.jsx("h3",{className:"font-display text-sm font-black leading-tight",children:t.title}),e.jsx("p",{className:"mt-1 text-xs text-ink/75 leading-snug",children:t.body})]},t.id))}),e.jsx("footer",{className:"border-t-2 border-ink bg-paper-2 px-3 py-2 text-center",children:e.jsx("span",{className:"font-mono text-[10px] uppercase tracking-widest text-ink/50",children:"ãããã¨ã · keep dreaming"})})]})]}),e.jsx("style",{children:` 2 @keyframes wiggle { 3 0%, 100% { transform: rotate(0deg); } 4 25% { transform: rotate(-4deg); } 5 75% { transform: rotate(4deg); } 6 } 7 `})]})}function M(){const[a,s]=i.useState(!1),[n,l]=i.useState(null);return i.useEffect(()=>{s(!0);try{l(b())}catch{}},[]),e.jsxs("div",{className:"relative min-h-screen overflow-hidden bg-paper text-ink flex items-center justify-center px-4",children:[e.jsx("div",{"aria-hidden":!0,
7className:"absolute inset-0 opacity-[0.08] pointer-events-none",style:{backgroundImage:"radial-gradient(#0b0b0e 1px, transparent 1.5px)",backgroundSize:"10px 10px"}}),e.jsx("div",{"aria-hidden":!0,className:"absolute -bottom-10 -right-4 text-[260px] sm:text-[360px] leading-none font-serif text-ink/[0.05] select-none pointer-events-none",children:"å³é"}),e.jsxs("main",{className:"relative z-10 flex flex-col items-center text-center gap-6 max-w-xl",children:[e.jsx("img",{src:g,alt:"MD â mascote",className:"w-40 sm:w-48 drop-shadow-[6px_6px_0_rgba(11,11,14,0.25)] animate-[float_4s_ease-in-out_infinite]",style:{imageRendering:"auto"}}),e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-[11px] uppercase tracking-[0.4em] text-ink/60",children:"ã¢ã¯ããªã¼ã "}),e.jsxs("h1",{className:"font-display text-5xl sm:text-7xl font-black leading-none tracking-tight mt-1",children:["MOCK",e.jsx("span",{className:"text-postit-cinnabar",children:"·"}),"DREAM"]}),e.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-ink/50 mt-3",children:"arcade · roguelite · ink"})]}),e.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs mt-2",suppressHydrationWarning:!0,children:[e.jsx(c,{to:"/hub",className:"relative border-2 border-ink bg-postit-cinnabar text-paper px-6 py-4 font-display text-xl font-black tracking-wider shadow-[4px_4px_0_0_rgba(11,11,14,0.7)] hover:-translate-y-[2px] hover:shadow-[6px_6px_0_0_rgba(11,11,14,0.7)] transition-all",children:"â¶ PRESS START"}),a&&n&&e.jsx(c,{to:"/play",className:"border-2 border-ink bg-paper px-4 py-2 text-sm font-mono uppercase tracking-wider shadow-flat hover:-translate-y-[1px] transition-transform",children:"â» continuar onde parou"})]}),e.jsxs("footer",{className:"absolute -bottom-12 left-1/2 -translate-x-1/2 flex items-center gap-3 font-mono text-[10px] uppercase tracking-widest text-ink/40",children:[e.jsxs("span",{children:["v",m]}),e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsx(c,{to:"/",className:"hover:text-ink/70",children:"site"}),e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsx(c,{to:"/leaderboard",className:"hover:text-ink/70",children:"ranking"})]})]}),e.jsx("style",{children:` 8 @keyframes float { 9 0%, 100% { transform: translateY(0); } 10 50% { transform: translateY(-10px); } 11 } 12 `}),e.jsx(_,{})]})}export{M as component};
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.