{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-mega",
  "type": "registry:component",
  "title": "Footer Mega",
  "description": "A large footer with a newsletter card, a brand column with social buttons, five link columns, and a bottom row with legal links, a live status pill and a language selector.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "footer",
    "footer",
    "newsletter",
    "sitemap",
    "language",
    "status",
    "social"
  ],
  "docs": "https://hyperblur.dev/effects/footer-mega",
  "files": [
    {
      "path": "registry/hyperblur/footer-mega.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/footer-mega.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport type FooterMegaSocialId = \"x\" | \"github\" | \"linkedin\" | \"youtube\" | \"discord\";\n\nexport interface FooterMegaLink {\n  label: string;\n  href: string;\n  badge?: string;\n}\n\nexport interface FooterMegaColumn {\n  title: string;\n  links: FooterMegaLink[];\n}\n\nexport interface FooterMegaSocial {\n  id: FooterMegaSocialId;\n  href: string;\n  label?: string;\n}\n\nexport interface FooterMegaLanguage {\n  code: string;\n  label: string;\n}\n\nexport interface FooterMegaStatus {\n  label: string;\n  href: string;\n  tone?: \"ok\" | \"degraded\" | \"down\";\n}\n\nexport interface FooterMegaNewsletter {\n  title: string;\n  description: string;\n  placeholder?: string;\n  button?: string;\n}\n\nexport interface FooterMegaProps extends Omit<React.HTMLAttributes<HTMLElement>, \"children\"> {\n  brand?: string;\n  tagline?: string;\n  columns?: FooterMegaColumn[];\n  newsletter?: FooterMegaNewsletter | null;\n  onSubscribe?: (email: string) => void;\n  socials?: FooterMegaSocial[];\n  languages?: FooterMegaLanguage[];\n  language?: string;\n  defaultLanguage?: string;\n  onLanguageChange?: (code: string) => void;\n  status?: FooterMegaStatus | null;\n  legal?: FooterMegaLink[];\n  copyright?: string;\n  accent?: string;\n}\n\nconst css = `\n.hb-ke5 {\n  --hb-ke5-accent: #22d3ee;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  overflow: hidden;\n  border-top: 1px solid rgba(255,255,255,.08);\n  background:\n    radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--hb-ke5-accent) 7%, transparent), transparent 60%),\n    #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-ke5 *, .hb-ke5 *::before, .hb-ke5 *::after { box-sizing: border-box; }\n.hb-ke5::before {\n  content: \"\";\n  position: absolute;\n  top: -1px;\n  left: -240px;\n  width: 220px;\n  height: 1px;\n  background: linear-gradient(90deg, transparent, var(--hb-ke5-accent), transparent);\n  animation: hb-ke5-beam 7s cubic-bezier(.45,0,.2,1) infinite;\n}\n.hb-ke5-in { max-width: 1120px; margin: 0 auto; padding: 64px 24px 28px; }\n.hb-ke5-news {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);\n  align-items: center;\n  gap: 32px;\n  padding: 26px 28px;\n  border: 1px solid rgba(255,255,255,.08);\n  border-radius: 20px;\n  background: linear-gradient(180deg, #121212, #0e0e0e);\n  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);\n}\n.hb-ke5-nt { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.015em; }\n.hb-ke5-nd { margin: 6px 0 0; color: #8f8f8f; font-size: 14px; line-height: 1.5; }\n.hb-ke5-form {\n  position: relative;\n  display: flex;\n  align-items: center;\n  height: 48px;\n  padding: 4px;\n  border: 1px solid rgba(255,255,255,.1);\n  border-radius: 999px;\n  background: #0a0a0a;\n  transition: border-color .2s ease, box-shadow .2s ease;\n}\n.hb-ke5-form:focus-within { border-color: color-mix(in srgb, var(--hb-ke5-accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hb-ke5-accent) 14%, transparent); }\n.hb-ke5-form[data-invalid=\"true\"] { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.14); animation: hb-ke5-shake .35s ease; }\n.hb-ke5-input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #ededed; font: inherit; font-size: 14px; }\n.hb-ke5-input::placeholder { color: #6f6f6f; }\n.hb-ke5-btn {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 6px;\n  height: 38px;\n  min-width: 112px;\n  margin: 0;\n  padding: 0 16px;\n  border: 0;\n  border-radius: 999px;\n  background: #ededed;\n  color: #0a0a0a;\n  font: inherit;\n  font-size: 13.5px;\n  font-weight: 600;\n  cursor: pointer;\n  overflow: hidden;\n  transition: background-color .25s ease, color .25s ease, transform .15s ease;\n}\n.hb-ke5-btn:hover { background: #fff; }\n.hb-ke5-btn:active { transform: scale(.97); }\n.hb-ke5-btn[data-done=\"true\"] { background: var(--hb-ke5-accent); color: #04151a; }\n.hb-ke5-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: hb-ke5-draw .4s .05s ease forwards; }\n.hb-ke5-grid {\n  display: grid;\n  grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr));\n  gap: 28px;\n  padding: 48px 4px 40px;\n}\n.hb-ke5-brand { display: inline-flex; align-items: center; gap: 10px; color: #ededed; font-size: 17px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; border-radius: 6px; }\n.hb-ke5-mark { position: relative; width: 28px; height: 28px; border-radius: 9px; background: #171717; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; }\n.hb-ke5-mark::before { content: \"\"; position: absolute; inset: 7px; border: 2px solid var(--hb-ke5-accent); border-radius: 50% 50% 50% 2px; }\n.hb-ke5-tag { margin: 14px 0 20px; max-width: 220px; color: #8f8f8f; font-size: 13.5px; line-height: 1.55; }\n.hb-ke5-socials { display: flex; flex-wrap: wrap; gap: 8px; }\n.hb-ke5-soc {\n  display: grid;\n  place-items: center;\n  width: 36px;\n  height: 36px;\n  border: 1px solid rgba(255,255,255,.09);\n  border-radius: 10px;\n  background: #111;\n  color: #a1a1a1;\n  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s cubic-bezier(.3,1.4,.5,1);\n}\n.hb-ke5-soc:hover { color: #fff; border-color: rgba(255,255,255,.2); background: #171717; transform: translateY(-2px); }\n.hb-ke5-soc svg { width: 16px; height: 16px; fill: currentColor; }\n.hb-ke5-ct { margin: 4px 0 14px; color: #ededed; font-size: 13px; font-weight: 600; }\n.hb-ke5-ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }\n.hb-ke5-a {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  color: #8f8f8f;\n  font-size: 13.5px;\n  text-decoration: none;\n  transition: color .18s ease;\n}\n.hb-ke5-a::before { content: \"\"; width: 0; height: 1px; background: var(--hb-ke5-accent); transition: width .25s cubic-bezier(.2,.8,.2,1); }\n.hb-ke5-a:hover { color: #ededed; }\n.hb-ke5-a:hover::before { width: 10px; }\n.hb-ke5-badge { padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--hb-ke5-accent) 14%, transparent); color: var(--hb-ke5-accent); font-size: 10.5px; font-weight: 600; }\n.hb-ke5-bottom {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 12px 20px;\n  padding-top: 22px;\n  border-top: 1px solid rgba(255,255,255,.08);\n  color: #6f6f6f;\n  font-size: 13px;\n}\n.hb-ke5-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }\n.hb-ke5-legal a { color: #8f8f8f; text-decoration: none; transition: color .15s ease; }\n.hb-ke5-legal a:hover { color: #ededed; }\n.hb-ke5-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }\n.hb-ke5-status {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  height: 32px;\n  padding: 0 12px;\n  border: 1px solid rgba(255,255,255,.08);\n  border-radius: 999px;\n  color: #a1a1a1;\n  text-decoration: none;\n  transition: border-color .15s ease, color .15s ease;\n}\n.hb-ke5-status:hover { color: #ededed; border-color: rgba(255,255,255,.18); }\n.hb-ke5-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-ke5-tone); }\n.hb-ke5-dot::after { content: \"\"; position: absolute; inset: 0; border-radius: 50%; background: var(--hb-ke5-tone); animation: hb-ke5-ping 2s cubic-bezier(0,0,.2,1) infinite; }\n.hb-ke5-lang { position: relative; display: inline-flex; align-items: center; }\n.hb-ke5-lang svg { position: absolute; pointer-events: none; width: 14px; height: 14px; fill: none; stroke: #8f8f8f; stroke-width: 1.7; stroke-linecap: round; }\n.hb-ke5-lang svg:first-child { left: 11px; }\n.hb-ke5-lang svg:last-child { right: 10px; width: 10px; height: 10px; stroke-width: 2; }\n.hb-ke5-select {\n  height: 32px;\n  padding: 0 28px 0 32px;\n  border: 1px solid rgba(255,255,255,.08);\n  border-radius: 999px;\n  background: #111;\n  color: #ededed;\n  font: inherit;\n  font-size: 13px;\n  -webkit-appearance: none;\n  appearance: none;\n  cursor: pointer;\n  transition: border-color .15s ease;\n}\n.hb-ke5-select:hover { border-color: rgba(255,255,255,.18); }\n.hb-ke5-select option { background: #111; color: #ededed; }\n.hb-ke5 a:focus-visible, .hb-ke5 button:focus-visible, .hb-ke5 select:focus-visible { outline: 2px solid var(--hb-ke5-accent); outline-offset: 2px; }\n.hb-ke5-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n@keyframes hb-ke5-beam { 0% { left: -240px; } 60%, 100% { left: 100%; } }\n@keyframes hb-ke5-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }\n@keyframes hb-ke5-draw { to { stroke-dashoffset: 0; } }\n@keyframes hb-ke5-shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }\n@container (max-width: 980px) {\n  .hb-ke5-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }\n  .hb-ke5-about { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }\n  .hb-ke5-tag { margin: 8px 0 0; max-width: 360px; }\n}\n@container (max-width: 720px) {\n  .hb-ke5-news { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }\n  .hb-ke5-in { padding: 48px 16px 24px; }\n  .hb-ke5-tools { margin-left: 0; flex-wrap: wrap; }\n  .hb-ke5-bottom { flex-direction: column; align-items: flex-start; }\n}\n@container (max-width: 480px) {\n  .hb-ke5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }\n  .hb-ke5-btn { min-width: 0; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-ke5 *, .hb-ke5 *::before, .hb-ke5 *::after, .hb-ke5::before { animation: none !important; transition: none !important; }\n  .hb-ke5-btn svg { stroke-dashoffset: 0; }\n}\n`;\n\nconst socialPaths: Record<FooterMegaSocialId, string> = {\n  x: \"M17.8 3h3.1l-6.8 7.8L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.3-8.3L1.9 3h6.4l4.4 5.8L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5z\",\n  github:\n    \"M12 2a10 10 0 0 0-3.2 19.5c.5.1.7-.2.7-.5v-1.7c-2.8.6-3.4-1.3-3.4-1.3-.4-1.2-1.1-1.5-1.1-1.5-.9-.6.1-.6.1-.6 1 .1 1.5 1 1.5 1 .9 1.5 2.3 1.1 2.9.8.1-.6.3-1.1.6-1.3-2.2-.3-4.6-1.1-4.6-5 0-1.1.4-2 1-2.7-.1-.2-.4-1.3.1-2.7 0 0 .8-.3 2.8 1a9.6 9.6 0 0 1 5 0c1.9-1.3 2.8-1 2.8-1 .5 1.4.2 2.5.1 2.7.6.7 1 1.6 1 2.7 0 3.9-2.3 4.7-4.6 5 .4.3.7.9.7 1.9V21c0 .3.2.6.7.5A10 10 0 0 0 12 2z\",\n  linkedin:\n    \"M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9.5h4V21H3V9.5zm6.5 0h3.8v1.6h.1c.5-1 1.8-2 3.8-2 4 0 4.8 2.6 4.8 6V21h-4v-5.2c0-1.3 0-2.9-1.8-2.9s-2 1.4-2 2.8V21h-4V9.5z\",\n  youtube:\n    \"M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8c1.6.4 7.8.4 7.8.4s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3L10 15z\",\n  discord:\n    \"M19.5 5.3A17 17 0 0 0 15.3 4l-.5 1a15.7 15.7 0 0 0-5.6 0l-.5-1a17 17 0 0 0-4.2 1.3C1.8 9.3 1.1 13.2 1.4 17a17 17 0 0 0 5.2 2.6l1.1-1.8c-.6-.2-1.2-.5-1.8-.9l.4-.3a12.2 12.2 0 0 0 11.4 0l.4.3c-.6.4-1.2.7-1.8.9l1.1 1.8a17 17 0 0 0 5.2-2.6c.4-4.4-.7-8.3-3.1-11.7zM8.7 14.7c-1 0-1.9-1-1.9-2.2s.8-2.2 1.9-2.2 1.9 1 1.9 2.2-.8 2.2-1.9 2.2zm6.6 0c-1 0-1.9-1-1.9-2.2s.8-2.2 1.9-2.2 1.9 1 1.9 2.2-.8 2.2-1.9 2.2z\",\n};\n\nconst socialLabels: Record<FooterMegaSocialId, string> = {\n  x: \"X\",\n  github: \"GitHub\",\n  linkedin: \"LinkedIn\",\n  youtube: \"YouTube\",\n  discord: \"Discord\",\n};\n\nconst toneColors = { ok: \"#34d399\", degraded: \"#fbbf24\", down: \"#f87171\" };\n\nconst defaultColumns: FooterMegaColumn[] = [\n  {\n    title: \"Product\",\n    links: [\n      { label: \"Pipelines\", href: \"#\" },\n      { label: \"Edge functions\", href: \"#\" },\n      { label: \"Observability\", href: \"#\" },\n      { label: \"Pricing\", href: \"#\" },\n      { label: \"Changelog\", href: \"#\", badge: \"v3.8\" },\n    ],\n  },\n  {\n    title: \"Solutions\",\n    links: [\n      { label: \"Startups\", href: \"#\" },\n      { label: \"Enterprise\", href: \"#\" },\n      { label: \"E-commerce\", href: \"#\" },\n      { label: \"Fintech\", href: \"#\" },\n      { label: \"Gaming\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Developers\",\n    links: [\n      { label: \"Documentation\", href: \"#\" },\n      { label: \"API reference\", href: \"#\" },\n      { label: \"CLI\", href: \"#\" },\n      { label: \"SDKs\", href: \"#\" },\n      { label: \"Open source\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Resources\",\n    links: [\n      { label: \"Blog\", href: \"#\" },\n      { label: \"Guides\", href: \"#\" },\n      { label: \"Customers\", href: \"#\" },\n      { label: \"Webinars\", href: \"#\" },\n      { label: \"Templates\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Company\",\n    links: [\n      { label: \"About\", href: \"#\" },\n      { label: \"Careers\", href: \"#\", badge: \"14 open\" },\n      { label: \"Press kit\", href: \"#\" },\n      { label: \"Partners\", href: \"#\" },\n      { label: \"Contact\", href: \"#\" },\n    ],\n  },\n];\n\nconst defaultSocials: FooterMegaSocial[] = [\n  { id: \"x\", href: \"#\" },\n  { id: \"github\", href: \"#\" },\n  { id: \"linkedin\", href: \"#\" },\n  { id: \"youtube\", href: \"#\" },\n  { id: \"discord\", href: \"#\" },\n];\n\nconst defaultLanguages: FooterMegaLanguage[] = [\n  { code: \"en\", label: \"English\" },\n  { code: \"de\", label: \"Deutsch\" },\n  { code: \"fr\", label: \"Français\" },\n  { code: \"es\", label: \"Español\" },\n  { code: \"ja\", label: \"日本語\" },\n  { code: \"pt\", label: \"Português\" },\n];\n\nconst defaultLegal: FooterMegaLink[] = [\n  { label: \"Privacy\", href: \"#\" },\n  { label: \"Terms\", href: \"#\" },\n  { label: \"Cookies\", href: \"#\" },\n  { label: \"DPA\", href: \"#\" },\n  { label: \"Security\", href: \"#\" },\n];\n\nexport function FooterMega({\n  brand = \"Arcfield\",\n  tagline = \"The data platform for teams that ship every day. Built in Copenhagen, running in 31 regions.\",\n  columns = defaultColumns,\n  newsletter = {\n    title: \"The monthly changelog\",\n    description: \"One email on the first Tuesday of every month. New features, deep dives and zero fluff.\",\n    placeholder: \"you@company.com\",\n    button: \"Subscribe\",\n  },\n  onSubscribe,\n  socials = defaultSocials,\n  languages = defaultLanguages,\n  language,\n  defaultLanguage = \"en\",\n  onLanguageChange,\n  status = { label: \"All systems normal\", href: \"#\", tone: \"ok\" },\n  legal = defaultLegal,\n  copyright = \"© 2026 Arcfield Labs ApS\",\n  accent = \"#22d3ee\",\n  className = \"\",\n  style,\n  ...rest\n}: FooterMegaProps) {\n  const uid = React.useId();\n  const [email, setEmail] = React.useState(\"\");\n  const [state, setState] = React.useState<\"idle\" | \"invalid\" | \"done\">(\"idle\");\n  const [innerLang, setInnerLang] = React.useState(defaultLanguage);\n  const lang = language ?? innerLang;\n\n  function submit(e: React.FormEvent) {\n    e.preventDefault();\n    const value = email.trim();\n    if (!/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(value)) {\n      setState(\"invalid\");\n      return;\n    }\n    setState(\"done\");\n    onSubscribe?.(value);\n  }\n\n  return (\n    <footer className={`hb-ke5 ${className}`} style={{ \"--hb-ke5-accent\": accent, ...style } as React.CSSProperties} {...rest}>\n      <style href=\"hb-footer-mega\" precedence=\"default\">\n        {css}\n      </style>\n      <div className=\"hb-ke5-in\">\n        {newsletter && (\n          <div className=\"hb-ke5-news\">\n            <div>\n              <p className=\"hb-ke5-nt\" id={`${uid}-nt`}>\n                {newsletter.title}\n              </p>\n              <p className=\"hb-ke5-nd\">{newsletter.description}</p>\n            </div>\n            <form\n              className=\"hb-ke5-form\"\n              data-invalid={state === \"invalid\" ? \"true\" : \"false\"}\n              onSubmit={submit}\n              noValidate\n              aria-labelledby={`${uid}-nt`}\n            >\n              <label htmlFor={`${uid}-email`} className=\"hb-ke5-sr\">\n                Email address\n              </label>\n              <input\n                id={`${uid}-email`}\n                className=\"hb-ke5-input\"\n                type=\"email\"\n                autoComplete=\"email\"\n                placeholder={newsletter.placeholder ?? \"you@company.com\"}\n                value={email}\n                disabled={state === \"done\"}\n                aria-invalid={state === \"invalid\"}\n                onChange={(e) => {\n                  setEmail(e.target.value);\n                  if (state === \"invalid\") setState(\"idle\");\n                }}\n              />\n              <button type=\"submit\" className=\"hb-ke5-btn\" data-done={state === \"done\" ? \"true\" : \"false\"} disabled={state === \"done\"}>\n                {state === \"done\" ? (\n                  <>\n                    <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                      <path d=\"M3 8.5l3 3 7-7\" />\n                    </svg>\n                    Subscribed\n                  </>\n                ) : (\n                  (newsletter.button ?? \"Subscribe\")\n                )}\n              </button>\n              <span className=\"hb-ke5-sr\" role=\"status\" aria-live=\"polite\">\n                {state === \"done\" ? \"Thanks, you are subscribed.\" : state === \"invalid\" ? \"Enter a valid email address.\" : \"\"}\n              </span>\n            </form>\n          </div>\n        )}\n        <div className=\"hb-ke5-grid\">\n          <div className=\"hb-ke5-about\">\n            <div>\n              <a href=\"#\" className=\"hb-ke5-brand\" aria-label={`${brand} home`}>\n                <span className=\"hb-ke5-mark\" aria-hidden=\"true\" />\n                {brand}\n              </a>\n              <p className=\"hb-ke5-tag\">{tagline}</p>\n            </div>\n            {socials.length > 0 && (\n              <div className=\"hb-ke5-socials\">\n                {socials.map((s) => (\n                  <a\n                    key={s.id}\n                    href={s.href}\n                    className=\"hb-ke5-soc\"\n                    aria-label={s.label ?? socialLabels[s.id]}\n                    target=\"_blank\"\n                    rel=\"noopener noreferrer\"\n                  >\n                    <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n                      <path d={socialPaths[s.id]} />\n                    </svg>\n                  </a>\n                ))}\n              </div>\n            )}\n          </div>\n          {columns.map((col) => (\n            <nav key={col.title} aria-label={col.title}>\n              <p className=\"hb-ke5-ct\">{col.title}</p>\n              <ul className=\"hb-ke5-ul\">\n                {col.links.map((link) => (\n                  <li key={link.label}>\n                    <a href={link.href} className=\"hb-ke5-a\">\n                      {link.label}\n                      {link.badge && <span className=\"hb-ke5-badge\">{link.badge}</span>}\n                    </a>\n                  </li>\n                ))}\n              </ul>\n            </nav>\n          ))}\n        </div>\n        <div className=\"hb-ke5-bottom\">\n          <span>{copyright}</span>\n          <ul className=\"hb-ke5-legal\" aria-label=\"Legal\">\n            {legal.map((link) => (\n              <li key={link.label}>\n                <a href={link.href}>{link.label}</a>\n              </li>\n            ))}\n          </ul>\n          <div className=\"hb-ke5-tools\">\n            {status && (\n              <a\n                href={status.href}\n                className=\"hb-ke5-status\"\n                style={{ \"--hb-ke5-tone\": toneColors[status.tone ?? \"ok\"] } as React.CSSProperties}\n              >\n                <span className=\"hb-ke5-dot\" aria-hidden=\"true\" />\n                {status.label}\n              </a>\n            )}\n            {languages.length > 0 && (\n              <span className=\"hb-ke5-lang\">\n                <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                  <circle cx=\"8\" cy=\"8\" r=\"6\" />\n                  <path d=\"M2 8h12M8 2c2 2.2 2 9.8 0 12M8 2c-2 2.2-2 9.8 0 12\" />\n                </svg>\n                <label htmlFor={`${uid}-lang`} className=\"hb-ke5-sr\">\n                  Language\n                </label>\n                <select\n                  id={`${uid}-lang`}\n                  className=\"hb-ke5-select\"\n                  value={lang}\n                  onChange={(e) => {\n                    if (language === undefined) setInnerLang(e.target.value);\n                    onLanguageChange?.(e.target.value);\n                  }}\n                >\n                  {languages.map((l) => (\n                    <option key={l.code} value={l.code}>\n                      {l.label}\n                    </option>\n                  ))}\n                </select>\n                <svg viewBox=\"0 0 10 10\" aria-hidden=\"true\">\n                  <path d=\"m2.5 4 2.5 2.5L7.5 4\" />\n                </svg>\n              </span>\n            )}\n          </div>\n        </div>\n      </div>\n    </footer>\n  );\n}\n"
    }
  ]
}