1import{r as o,j as t}from"./index-5sufeFFL.js";const i={time:{label:"TIME'S UP",color:"#ffffff",glow:"rgba(255,255,255,0.55)"},win:{label:"MISSION COMPLETE",color:"#9CF6FF",glow:"rgba(123,255,255,0.85)",pulse:!0},trust:{label:"TRUST DEPLETED",color:"#FFB347",glow:"rgba(255,120,90,0.75)"},overrun:{label:"OVERRUN",color:"#FF4D5E",glow:"rgba(255,77,94,0.85)"}};function u({kind:s,leaving:n=!1}){const[r,a]=o.useState(!1);if(o.useEffect(()=>{if(!s){a(!1);return}a(!1);const l=setTimeout(()=>a(!0),1500);return()=>clearTimeout(l)},[s]),!s)return null;const e=i[s];return t.jsxs("div",{className:`fixed inset-0 z-[60] pointer-events-none transition-opacity duration-500 ${n?"opacity-0":"opacity-100"}`,children:[t.jsx("div",{className:"absolute inset-0 transition-opacity duration-500",style:{background:"linear-gradient(180deg, #07082A 0%, #0E1247 50%, #1B0C3B 100%)",opacity:r?1:0}}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:t.jsx("div",{className:"px-6 py-3 animate-end-label",style:{color:e.color,textShadow:`0 0 24px ${e.glow}, 0 0 56px ${e.glow}`,fontWeight:900,letterSpacing:"0.18em",fontSize:"clamp(40px, 8vw, 88px)",animation:e.pulse?"ub-end-pulse 1.4s ease-in-out infinite, ub-end-in 300ms ease-out both":"ub-end-in 300ms ease-out both"},children:e.label})}),t.jsx("style",{children:` 2 @keyframes ub-end-in { 3 from { opacity: 0; transform: scale(0.94); } 4 to { opacity: 1; transform: scale(1); } 5 } 6 @keyframes ub-end-pulse { 7 0%, 100% { filter: brightness(1); } 8 50% { filter: brightness(1.35); } 9 } 10 `})]})}export{u as G};
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.