{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ticker-tape",
  "title": "Ticker Tape",
  "description": "A stock-style ticker symbol with price and green percent change over a scrolling tape.",
  "dependencies": ["remotion", "@remotion/google-fonts"],
  "files": [
    {
      "path": "registry/remocn/ticker-tape/index.tsx",
      "content": "\"use client\";\n\nimport { loadFont as loadMono } from \"@remotion/google-fonts/JetBrainsMono\";\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport { loadFont } from \"@remotion/google-fonts/Oswald\";\nimport type React from \"react\";\nimport { useId, useMemo } from \"react\";\nimport {\n  AbsoluteFill,\n  Easing,\n  interpolate,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\n\nconst { fontFamily: display } = loadFont(\"normal\", {\n  weights: [\"500\"],\n  subsets: [\"latin\"],\n});\nconst { fontFamily: mono } = loadMono(\"normal\", {\n  weights: [\"400\", \"500\"],\n  subsets: [\"latin\"],\n});\nconst manrope = loadManrope(\"normal\", {\n  weights: [\"600\"],\n  subsets: [\"latin\"],\n});\n\nconst REMOCN_R_PATH =\n  \"M 0.01 0.81 C 0.01 1.73, 0.36 2.79, 1.09 4.13 C 4.91 11.04, 13.45 17.16, 21.7 18.9 C 22.94 19.16, 23.18 19.16, 51.39 19.27 C 76.07 19.36, 80.02 19.4, 81.32 19.57 C 89.89 20.69, 96.2 24.68, 99.38 31.01 C 103.19 38.56, 102.53 50.1, 97.91 57.07 C 94.66 61.96, 89.68 64.99, 83.26 66 C 82.81 66.07, 70.18 66.83, 55.2 67.69 C 24.82 69.43, 27.03 69.23, 24.18 70.4 C 19.9 72.15, 14.84 75.7, 10.65 79.89 C 4.86 85.68, 1.3 91.91, 0.25 98.13 C 0.12 98.85, 0.08 103.13, 0.04 116.66 L 0 134.26 9.5 134.26 L 19 134.26 19.05 119.41 C 19.1 103.27, 19.08 103.82, 19.82 101.04 C 21.79 93.65, 27.86 88.75, 36.45 87.63 C 37.23 87.53, 39.41 87.5, 43.57 87.53 C 50.12 87.59, 50.75 87.65, 53.22 88.45 C 56.61 89.56, 59.67 91.86, 62.02 95.07 C 62.52 95.76, 69.35 103.85, 77.2 113.07 C 85.04 122.28, 91.63 130.04, 91.85 130.32 C 92.07 130.59, 92.5 131.34, 92.82 131.97 C 93.52 133.35, 94.11 133.93, 95.06 134.13 C 95.5 134.23, 98.97 134.26, 106.36 134.23 L 117.01 134.19 100.82 113.07 C 91.91 101.45, 84.52 91.78, 84.39 91.57 C 83.36 89.89, 83.66 87.53, 85.09 86 C 85.79 85.25, 86.36 84.94, 88.07 84.38 C 96.18 81.72, 104.15 76.62, 109.97 70.36 C 120.59 58.93, 124.06 44.32, 119.44 30.43 C 114.59 15.81, 101.93 4.02, 87.64 0.83 C 83.93 0.01, 88.09 0.08, 41.85 0.04 L 0.01 0 0.01 0.81 Z\";\n\n/** Full logo as on remocn.dev: R mark (0.76em tall, baseline-aligned) + \"emocn\" in Manrope 600. */\nfunction RemocnLogo({ fontSize, color }: { fontSize: number; color: string }) {\n  return (\n    <div\n      style={{\n        display: \"flex\",\n        alignItems: \"baseline\",\n        color,\n        fontFamily: manrope.fontFamily,\n        fontWeight: 600,\n        fontSize,\n        letterSpacing: \"-0.025em\",\n        lineHeight: 1,\n      }}\n    >\n      <svg\n        viewBox=\"0 0 124.06 134.26\"\n        style={{ height: \"0.76em\", width: \"auto\" }}\n        aria-hidden\n      >\n        <path fill=\"currentColor\" d={REMOCN_R_PATH} />\n      </svg>\n      <span style={{ marginLeft: \"0.04em\" }}>emocn</span>\n    </div>\n  );\n}\n\nexport interface TickerTapeProps {\n  /** The hero symbol the middle band stops on. */\n  symbol?: string;\n  /** Hero price, shown as typed. */\n  price?: string;\n  /** Hero move in percent; negative reads as a down move. */\n  change?: number;\n  /** Other (fictional) symbols filling the bands. */\n  symbols?: string[];\n  /** Product under the poster; \"remocn\" renders the real logo. */\n  name?: string;\n  /** Replaces the logo / name under the poster. */\n  logo?: React.ReactNode;\n  accent?: string;\n  /** Playback multiplier. */\n  speed?: number;\n  theme?: \"dark\" | \"light\";\n}\n\n// Oswald 500 advances per em for A–Z (fontTools, wght 500); cap height 0.81.\nconst OSWALD: Record<string, number> = {\n  A: 0.522,\n  B: 0.557,\n  C: 0.54,\n  D: 0.557,\n  E: 0.428,\n  F: 0.413,\n  G: 0.559,\n  H: 0.586,\n  I: 0.275,\n  J: 0.326,\n  K: 0.532,\n  L: 0.421,\n  M: 0.683,\n  N: 0.545,\n  O: 0.563,\n  P: 0.527,\n  Q: 0.564,\n  R: 0.561,\n  S: 0.494,\n  T: 0.43,\n  U: 0.566,\n  V: 0.516,\n  W: 0.712,\n  X: 0.499,\n  Y: 0.487,\n  Z: 0.425,\n};\nconst CAP = 0.81;\n/** JetBrains Mono: every glyph advances 0.6em, cap height 0.73. */\nconst MONO = 0.6;\nconst MONO_CAP = 0.73;\n\nconst symWidth = (s: string) =>\n  Array.from(s).reduce((w, ch) => w + (OSWALD[ch] ?? 0.52), 0);\n\nconst EASE_OUT = Easing.bezier(0.22, 1, 0.36, 1);\nconst EASE_IO = Easing.bezier(0.65, 0, 0.35, 1);\nconst EASE_IN = Easing.bezier(0.55, 0, 0.8, 0.2);\nconst CLAMP = {\n  extrapolateLeft: \"clamp\",\n  extrapolateRight: \"clamp\",\n} as const;\n\n// Beat sheet (30fps, speed 1):\n//   0–40   seven bands run at full tilt, alternating directions, fast ones smear\n//  40–86   everything brakes; the middle band stops dead with the hero symbol\n//          centred, the others slow to a crawl\n//  84–108  the side bands clear out up and down, the hero's neighbours slide\n//          off, and the hero quote scales up into the poster\n//  108–    poster: symbol, price, move; the thin mono tapes keep crawling\nconst BRAKE_AT = 40;\nconst STOP_AT = 86;\nconst RISE_AT = 84;\nconst RISE_LEN = 26;\n\n// gradients.sh \"aurora\" (bg #03050b): #a0f0c8 #3fb5a3 #5147b6 #b25c9c.\n// Up moves take the mint/teal end; the glow under the poster uses the set.\nconst THEMES = {\n  dark: {\n    bg: \"#0A0A0B\",\n    fg: \"#F3F2EF\",\n    muted: \"#7E7D84\",\n    rule: \"rgba(243,242,239,0.1)\",\n    up: [\"#A0F0C8\", \"#3FB5A3\"],\n    down: \"#C8675E\",\n    glow: [\"#3FB5A3\", \"#5147B6\", \"#A0F0C8\"],\n    glowAlpha: 0.3,\n  },\n  light: {\n    bg: \"#F5F4F0\",\n    fg: \"#121214\",\n    muted: \"#7A7873\",\n    rule: \"rgba(18,18,20,0.1)\",\n    up: [\"#2E9C8B\", \"#5147B6\"],\n    down: \"#B24A40\",\n    glow: [\"#A0F0C8\", \"#C9C4F2\", \"#A0F0C8\"],\n    glowAlpha: 0.45,\n  },\n} as const;\n\nconst SYMBOLS = [\n  \"KTBS\",\n  \"KEYF\",\n  \"EASE\",\n  \"SPRG\",\n  \"TWEN\",\n  \"FRMS\",\n  \"SEQN\",\n  \"MOTN\",\n  \"BLUR\",\n  \"PXLS\",\n  \"KERN\",\n  \"GLYF\",\n  \"WIPE\",\n  \"CRVE\",\n  \"TIMR\",\n  \"FADE\",\n];\n\nfunction hash(n: number) {\n  const s = Math.sin(n * 127.1 + 311.7) * 43758.5453;\n  return s - Math.floor(s);\n}\n\ninterface Quote {\n  sym: string;\n  price: string;\n  chg: number;\n  hero: boolean;\n}\n\ninterface Placed extends Quote {\n  /** left edge inside the tile, px */\n  x: number;\n  w: number;\n}\n\ninterface RowSpec {\n  /** font size as a share of the frame height */\n  size: number;\n  kind: \"big\" | \"mono\";\n  dir: 1 | -1;\n  /** px per frame at 720p */\n  v: number;\n  hero?: boolean;\n}\n\nconst ROWS: RowSpec[] = [\n  { size: 0.026, kind: \"mono\", dir: -1, v: 2.6 },\n  { size: 0.088, kind: \"big\", dir: 1, v: 7 },\n  { size: 0.13, kind: \"big\", dir: -1, v: 11.5 },\n  { size: 0.2, kind: \"big\", dir: -1, v: 17, hero: true },\n  { size: 0.13, kind: \"big\", dir: 1, v: 10 },\n  { size: 0.088, kind: \"big\", dir: -1, v: 7.5 },\n  { size: 0.026, kind: \"mono\", dir: 1, v: 2.8 },\n];\n\nfunction fmtChg(c: number) {\n  return `${Math.abs(c).toFixed(1)}%`;\n}\n\n/** Width of a quote at font size `fs`. Big: symbol + a two-line price/move stack. */\nfunction quoteWidth(q: Quote, fs: number, kind: RowSpec[\"kind\"]) {\n  if (kind === \"mono\") {\n    const chars = q.sym.length + 1 + q.price.length + 3 + fmtChg(q.chg).length;\n    return chars * MONO * fs;\n  }\n  const sub = fs * 0.3;\n  const stack = Math.max(\n    q.price.length * MONO * sub,\n    (fmtChg(q.chg).length + 1.4) * MONO * sub,\n  );\n  return symWidth(q.sym) * fs + fs * 0.16 + stack;\n}\n\nfunction Triangle({\n  x,\n  baseline,\n  size,\n  up,\n  fill,\n}: {\n  x: number;\n  baseline: number;\n  size: number;\n  up: boolean;\n  fill: string;\n}) {\n  // sits on the cap height of the figures beside it\n  const h = size * 0.56;\n  const w = size * 0.62;\n  const top = baseline - size * MONO_CAP + (size * MONO_CAP - h) / 2;\n  const d = up\n    ? `M${x} ${top + h} L${x + w / 2} ${top} L${x + w} ${top + h} Z`\n    : `M${x} ${top} L${x + w} ${top} L${x + w / 2} ${top + h} Z`;\n  return <path d={d} fill={fill} />;\n}\n\nfunction QuoteView({\n  q,\n  x,\n  baseline,\n  fs,\n  kind,\n  fg,\n  muted,\n  upFill,\n  downFill,\n}: {\n  q: Quote;\n  x: number;\n  baseline: number;\n  fs: number;\n  kind: RowSpec[\"kind\"];\n  fg: string;\n  muted: string;\n  upFill: string;\n  downFill: string;\n}) {\n  const up = q.chg >= 0;\n  const col = up ? upFill : downFill;\n  if (kind === \"mono\") {\n    const a = x + (q.sym.length + 1) * MONO * fs;\n    const b = a + (q.price.length + 1) * MONO * fs;\n    return (\n      <g fontFamily={mono} fontSize={fs}>\n        <text x={x} y={baseline} fill={fg} fontWeight={500}>\n          {q.sym}\n        </text>\n        <text x={a} y={baseline} fill={muted} fontWeight={400}>\n          {q.price}\n        </text>\n        <Triangle\n          x={b}\n          baseline={baseline}\n          size={fs}\n          up={up}\n          fill={up ? upFill : downFill}\n        />\n        <text x={b + 1.1 * MONO * fs} y={baseline} fill={col} fontWeight={400}>\n          {fmtChg(q.chg)}\n        </text>\n      </g>\n    );\n  }\n  const sub = fs * 0.3;\n  const sx = x + symWidth(q.sym) * fs + fs * 0.16;\n  const capTop = baseline - CAP * fs;\n  return (\n    <g>\n      <text\n        x={x}\n        y={baseline}\n        fill={fg}\n        fontFamily={display}\n        fontWeight={500}\n        fontSize={fs}\n      >\n        {q.sym}\n      </text>\n      <g fontFamily={mono} fontSize={sub} fontWeight={400}>\n        <text x={sx} y={capTop + MONO_CAP * sub} fill={muted}>\n          {q.price}\n        </text>\n        <Triangle x={sx} baseline={baseline} size={sub} up={up} fill={col} />\n        <text x={sx + 1.4 * MONO * sub} y={baseline} fill={col}>\n          {fmtChg(q.chg)}\n        </text>\n      </g>\n    </g>\n  );\n}\n\n/** Distance travelled: full speed, then a cubic brake to `rest` × speed. */\nfunction travel(t: number, v: number, stopAt: number, rest: number) {\n  const L = stopAt - BRAKE_AT;\n  if (t <= BRAKE_AT) return v * t;\n  const tau = Math.min(1, (t - BRAKE_AT) / L);\n  const brake = (v * (1 - rest) * L * (1 - (1 - tau) ** 3)) / 3;\n  return v * BRAKE_AT + brake + v * rest * (t - BRAKE_AT);\n}\n\nfunction speedAt(t: number, v: number, stopAt: number, rest: number) {\n  if (t <= BRAKE_AT) return v;\n  const tau = Math.min(1, (t - BRAKE_AT) / (stopAt - BRAKE_AT));\n  return v * rest + v * (1 - rest) * (1 - tau) ** 2;\n}\n\nexport function TickerTape({\n  symbol = \"RMCN\",\n  price = \"128.40\",\n  change = 12.4,\n  symbols = SYMBOLS,\n  name = \"remocn\",\n  logo,\n  accent = \"#3B5BFD\",\n  speed = 1,\n  theme = \"dark\",\n}: TickerTapeProps) {\n  const t = useCurrentFrame() * speed;\n  const { width: W, height: H } = useVideoConfig();\n  const u = H / 720;\n  const p = THEMES[theme];\n  const uid = useId().replace(/[^a-zA-Z0-9_-]/g, \"\");\n  const heroSym = symbol.trim().toUpperCase() || \"RMCN\";\n\n  // One tile of quotes per row, wide enough to cover the frame twice.\n  const rows = useMemo(() => {\n    let seed = 0;\n    return ROWS.map((r, ri) => {\n      const fs = r.size * H;\n      const placed: Placed[] = [];\n      let x = 0;\n      const gap = r.kind === \"mono\" ? 2.4 * MONO * fs : fs * 0.5;\n      let k = 0;\n      while (x < W * 2.2 || (r.hero && k < 7)) {\n        const isHero = Boolean(r.hero) && k === 5;\n        const sym = isHero\n          ? heroSym\n          : symbols[\n              (ri * 5 + k * 3 + Math.floor(hash(seed) * 4)) % symbols.length\n            ];\n        const up = hash(seed * 1.7 + 3) < 0.6;\n        const q: Quote = isHero\n          ? { sym, price, chg: change, hero: true }\n          : {\n              sym,\n              price: (8 + hash(seed * 2.9) * 390).toFixed(2),\n              chg: (up ? 1 : -1) * (0.2 + hash(seed * 4.3 + 1) * 8.6),\n              hero: false,\n            };\n        const w = quoteWidth(q, fs, r.kind);\n        placed.push({ ...q, x, w });\n        x += w + gap;\n        k++;\n        seed++;\n      }\n      return { ...r, fs, placed, period: x };\n    });\n  }, [H, W, heroSym, price, change, symbols]);\n\n  // vertical stack: rows separated by hairlines, centred in the frame\n  const gaps = rows.map((r) => (r.kind === \"mono\" ? 0.03 : 0.036) * H);\n  const heights = rows.map((r) => CAP * r.fs);\n  const total =\n    heights.reduce((a, b) => a + b, 0) +\n    gaps.slice(0, -1).reduce((a, b) => a + b, 0) * 1;\n  let yCursor = (H - total) / 2;\n  const baselines = rows.map((_, i) => {\n    const b = yCursor + heights[i];\n    yCursor = b + gaps[i];\n    return b;\n  });\n\n  const heroRowIdx = rows.findIndex((r) => r.hero);\n  const heroRow = rows[heroRowIdx];\n  const heroQ = heroRow.placed.find((q) => q.hero) as Placed;\n\n  // poster scale and position\n  const rise = interpolate(t, [RISE_AT, RISE_AT + RISE_LEN], [0, 1], {\n    ...CLAMP,\n    easing: Easing.bezier(0.7, 0, 0.2, 1),\n  });\n  const posterScale = Math.min((W * 0.74) / heroQ.w, (H * 0.36) / heroRow.fs);\n  const scale = 1 + (posterScale - 1) * rise;\n  const heroBaseline0 = baselines[heroRowIdx];\n  const heroCy0 = heroBaseline0 - (CAP * heroRow.fs) / 2;\n  const heroCy1 = H * 0.46;\n  const heroCy = heroCy0 + (heroCy1 - heroCy0) * rise;\n\n  const clear = interpolate(t, [RISE_AT - 4, RISE_AT + 20], [0, 1], {\n    ...CLAMP,\n    easing: EASE_IN,\n  });\n  const caption = (d: number) =>\n    interpolate(\n      t,\n      [RISE_AT + RISE_LEN - 6 + d, RISE_AT + RISE_LEN + 14 + d],\n      [0, 1],\n      { ...CLAMP, easing: EASE_OUT },\n    );\n  const glowIn = interpolate(t, [RISE_AT, RISE_AT + 40], [0, 1], {\n    ...CLAMP,\n    easing: EASE_IO,\n  });\n  const drift = interpolate(t, [0, 160], [0, 1], CLAMP);\n\n  const upId = `${uid}up`;\n  const upFill = `url(#${upId})`;\n\n  return (\n    <AbsoluteFill style={{ background: p.bg, overflow: \"hidden\" }}>\n      {/* aurora glow lands under the poster */}\n      <AbsoluteFill\n        style={{\n          opacity: p.glowAlpha * glowIn,\n          background: p.glow\n            .map(\n              (c, i) =>\n                `radial-gradient(30% 42% at ${22 + i * 28 + drift * 4}% ${heroCy1 / (H / 100) + (i % 2 ? 5 : -3)}%, ${c} 0%, transparent 70%)`,\n            )\n            .join(\", \"),\n        }}\n      />\n      <svg\n        width={W}\n        height={H}\n        viewBox={`0 0 ${W} ${H}`}\n        style={{ position: \"absolute\", inset: 0 }}\n        role=\"img\"\n        aria-label={`${heroSym} ${price} ${change >= 0 ? \"up\" : \"down\"} ${fmtChg(change)}`}\n      >\n        <defs>\n          <linearGradient id={upId} x1=\"0\" y1=\"0\" x2=\"1\" y2=\"0\">\n            <stop offset=\"0\" stopColor={p.up[0]} />\n            <stop offset=\"1\" stopColor={p.up[1]} />\n          </linearGradient>\n          <clipPath id={`${uid}stage`}>\n            <rect\n              x={0}\n              y={baselines[0] + gaps[0] / 2}\n              width={W}\n              height={\n                baselines[rows.length - 1] -\n                heights[rows.length - 1] -\n                gaps[rows.length - 2] / 2 -\n                (baselines[0] + gaps[0] / 2)\n              }\n            />\n          </clipPath>\n          {rows.map((r, i) => {\n            const v = speedAt(\n              t,\n              r.v * u,\n              r.hero ? STOP_AT : STOP_AT - 8 + i * 3,\n              r.hero ? 0 : 0.12,\n            );\n            return (\n              <filter\n                key={`blur${r.size}${r.dir}${r.v}`}\n                id={`${uid}blur${i}`}\n                x=\"-5%\"\n                y=\"-50%\"\n                width=\"110%\"\n                height=\"200%\"\n              >\n                <feGaussianBlur stdDeviation={`${(v * 0.2).toFixed(2)} 0`} />\n              </filter>\n            );\n          })}\n        </defs>\n\n        {rows.map((r, i) => {\n          const stopAt = r.hero ? STOP_AT : STOP_AT - 8 + i * 3;\n          const rest = r.hero ? 0 : r.kind === \"mono\" ? 0.35 : 0.12;\n          const D = travel(t, r.v * u, stopAt, rest);\n          // the hero row is offset so the hero quote lands dead centre\n          const Dstop = travel(stopAt + 1000, r.v * u, stopAt, 0);\n          const x0 = r.hero\n            ? W / 2 - (heroQ.x + heroQ.w / 2) - r.dir * Dstop\n            : -hash(i * 3.3) * r.period;\n          const shift = x0 + r.dir * D;\n          const off = ((shift % r.period) + r.period) % r.period;\n          const baseline = baselines[i];\n          // side bands clear: upper ones up, lower ones down\n          const away =\n            r.kind === \"mono\" || r.hero\n              ? 0\n              : (i < heroRowIdx ? -1 : 1) * clear * H * 0.55;\n          const fade = r.kind === \"mono\" ? 1 - 0.35 * clear : 1 - clear;\n          const copies = [-1, 0, 1, 2];\n          return (\n            <g\n              key={`row${r.size}${r.dir}${r.v}`}\n              clipPath={r.kind === \"mono\" ? undefined : `url(#${uid}stage)`}\n            >\n              <g opacity={fade} transform={`translate(0 ${away})`}>\n                {/* hairlines between bands, carried away by the side bands */}\n                {i !== heroRowIdx ? (\n                  <line\n                    x1={0}\n                    x2={W}\n                    y1={\n                      i < heroRowIdx\n                        ? baseline + gaps[i] / 2\n                        : baseline - heights[i] - gaps[i - 1] / 2\n                    }\n                    y2={\n                      i < heroRowIdx\n                        ? baseline + gaps[i] / 2\n                        : baseline - heights[i] - gaps[i - 1] / 2\n                    }\n                    stroke={p.rule}\n                    strokeWidth={Math.max(1, u)}\n                  />\n                ) : null}\n                <g filter={`url(#${uid}blur${i})`}>\n                  {copies.flatMap((c) =>\n                    r.placed.map((q) => {\n                      if (q.hero) return null;\n                      let x =\n                        q.x + c * r.period + (r.hero ? shift : off - r.period);\n                      if (r.hero) {\n                        // neighbours make room for the growing hero quote\n                        const heroX = heroQ.x + c * r.period + shift;\n                        const dirSide = x < heroX ? -1 : 1;\n                        x +=\n                          dirSide *\n                          ((scale - 1) * heroQ.w * 0.5 + rise * W * 0.12);\n                      }\n                      if (x > W + 20 * u || x + q.w < -20 * u) return null;\n                      return (\n                        <g key={`${c}-${q.x}`} opacity={r.hero ? 1 - rise : 1}>\n                          <QuoteView\n                            q={q}\n                            x={x}\n                            baseline={baseline}\n                            fs={r.fs}\n                            kind={r.kind}\n                            fg={p.fg}\n                            muted={p.muted}\n                            upFill={upFill}\n                            downFill={p.down}\n                          />\n                        </g>\n                      );\n                    }),\n                  )}\n                </g>\n              </g>\n            </g>\n          );\n        })}\n\n        {/* hero quote: rides its band, then scales into the poster */}\n        {(() => {\n          const r = heroRow;\n          const D = travel(t, r.v * u, STOP_AT, 0);\n          const Dstop = travel(STOP_AT + 1000, r.v * u, STOP_AT, 0);\n          const x0 = W / 2 - (heroQ.x + heroQ.w / 2) - r.dir * Dstop;\n          const shift = x0 + r.dir * D;\n          // nearest copy to the centre\n          const raw = heroQ.x + shift;\n          const n = Math.round((W / 2 - heroQ.w / 2 - raw) / r.period);\n          const left = raw + n * r.period;\n          const cx = left + heroQ.w / 2;\n          return (\n            <g\n              transform={`translate(${cx} ${heroCy}) scale(${scale}) translate(${-cx} ${-heroCy0})`}\n            >\n              <g filter={`url(#${uid}blur${heroRowIdx})`}>\n                <QuoteView\n                  q={heroQ}\n                  x={left}\n                  baseline={heroBaseline0}\n                  fs={r.fs}\n                  kind=\"big\"\n                  fg={p.fg}\n                  muted={p.muted}\n                  upFill={upFill}\n                  downFill={p.down}\n                />\n              </g>\n            </g>\n          );\n        })()}\n      </svg>\n\n      {/* caption under the poster */}\n      <div\n        style={{\n          position: \"absolute\",\n          left: 0,\n          right: 0,\n          top: heroCy1 + (CAP * heroRow.fs * posterScale) / 2 + 46 * u,\n          display: \"flex\",\n          justifyContent: \"center\",\n          alignItems: \"center\",\n          gap: 14 * u,\n          fontFamily: mono,\n          fontSize: 15 * u,\n          letterSpacing: \"0.12em\",\n          color: p.muted,\n          lineHeight: 1,\n        }}\n      >\n        <div\n          style={{\n            opacity: caption(0),\n            transform: `translateY(${(1 - caption(0)) * 12 * u}px)`,\n          }}\n        >\n          {logo ??\n            (name.trim().toLowerCase() === \"remocn\" ? (\n              <RemocnLogo fontSize={30 * u} color={p.fg} />\n            ) : (\n              <span\n                style={{\n                  fontFamily: display,\n                  fontWeight: 500,\n                  fontSize: 30 * u,\n                  letterSpacing: \"0.01em\",\n                  color: p.fg,\n                }}\n              >\n                {name}\n              </span>\n            ))}\n        </div>\n        <div\n          style={{\n            width: Math.max(1, u),\n            height: 20 * u,\n            background: p.rule,\n            transform: `scaleY(${caption(3)})`,\n          }}\n        />\n        <div\n          style={{\n            display: \"flex\",\n            alignItems: \"center\",\n            gap: 9 * u,\n            opacity: caption(6),\n            transform: `translateY(${(1 - caption(6)) * 12 * u}px)`,\n          }}\n        >\n          <div\n            style={{\n              width: 7 * u,\n              height: 7 * u,\n              borderRadius: 99,\n              background: accent,\n            }}\n          />\n          <span>MARKET CLOSE</span>\n        </div>\n      </div>\n    </AbsoluteFill>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/ticker-tape.tsx"
    }
  ],
  "type": "registry:component"
}
