{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ipo-open",
  "title": "Ipo Open",
  "description": "A huge ticker symbol RMCN opens over an IPO price printing $42.60 with a percent-up pill.",
  "dependencies": ["remotion", "@remotion/google-fonts"],
  "files": [
    {
      "path": "registry/remocn/ipo-open/index.tsx",
      "content": "\"use client\";\n\nimport { loadFont as loadMono } from \"@remotion/google-fonts/GeistMono\";\nimport { loadFont as loadManrope } from \"@remotion/google-fonts/Manrope\";\nimport { loadFont } from \"@remotion/google-fonts/SchibstedGrotesk\";\nimport type React from \"react\";\nimport { useId } from \"react\";\nimport {\n  AbsoluteFill,\n  Easing,\n  interpolate,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\n\nconst { fontFamily: sans } = loadFont(\"normal\", {\n  weights: [\"400\", \"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 IpoOpenProps {\n  /** Ticker symbol, set huge. Fictional, 1–5 capital letters reads best. */\n  symbol?: string;\n  /** Small mono line above the symbol. */\n  label?: string;\n  /** The IPO price the opening print starts from. */\n  ipoPrice?: number;\n  /** The first trade the price races to. */\n  openPrice?: number;\n  /** Clock in the corner; ticks over to this on the bell. */\n  openTime?: string;\n  /** Brand in the corner bug; \"remocn\" renders the real logo. */\n  name?: string;\n  /** Replaces the logo / name in the corner bug. */\n  logo?: React.ReactNode;\n  accent?: string;\n  /** Playback multiplier. */\n  speed?: number;\n  theme?: \"dark\" | \"light\";\n}\n\n// Schibsted Grotesk 500 advances per em for A–Z (harfbuzz, wght 500),\n// tabular figures .635, \"$\" .574, \".\" .287, cap height .703.\nconst SCHIBSTED: Record<string, number> = {\n  A: 0.71,\n  B: 0.654,\n  C: 0.708,\n  D: 0.708,\n  E: 0.591,\n  F: 0.567,\n  G: 0.721,\n  H: 0.729,\n  I: 0.373,\n  J: 0.55,\n  K: 0.678,\n  L: 0.555,\n  M: 0.886,\n  N: 0.739,\n  O: 0.769,\n  P: 0.63,\n  Q: 0.769,\n  R: 0.648,\n  S: 0.623,\n  T: 0.656,\n  U: 0.685,\n  V: 0.688,\n  W: 0.955,\n  X: 0.675,\n  Y: 0.633,\n  Z: 0.606,\n};\nconst DIGIT = 0.635;\nconst DOLLAR = 0.574;\nconst DOT = 0.287;\nconst CAP = 0.703;\nconst SYM_TRACK = -0.035;\nconst PRICE_TRACK = -0.02;\n\nconst EASE_OUT = Easing.bezier(0.22, 1, 0.36, 1);\nconst EASE_RACE = Easing.bezier(0.3, 0, 0.12, 1);\nconst CLAMP = {\n  extrapolateLeft: \"clamp\",\n  extrapolateRight: \"clamp\",\n} as const;\n\n// Beat sheet (30fps, speed 1):\n//   0–26   LISTED TODAY, then the symbol rises letter by letter out of a\n//          baseline window; the IPO price and its tag settle underneath\n//  34–35   the bell: a two-frame inverted flash, the clock flips to the open,\n//          a shockwave line tears out sideways from the centre\n//  37–87   the opening print races up on rolling tabular reels, the live move\n//          counting in the chip, the sunrise ground climbing with it\n//  87–99   the price lands, the chip pops into the gradient\n//  99–     poster holds\nconst BELL = 34;\nconst RACE_AT = 37;\nconst RACE_LEN = 50;\nconst LAND = RACE_AT + RACE_LEN;\n\n// gradients.sh \"rise\" (bg #030306): #fff1e2 #ff8a3d #a3301a #2a0d0a.\nconst THEMES = {\n  dark: {\n    bg: \"#0A0A0B\",\n    fg: \"#F5F4F1\",\n    muted: \"#85838A\",\n    hair: \"rgba(245,244,241,0.16)\",\n    chipInk: \"#1E0B07\",\n    chip: \"linear-gradient(105deg, #FFF1E2 0%, #FFC59A 34%, #FF8A3D 72%, #E0703B 100%)\",\n    ground: (k: number) =>\n      [\n        `radial-gradient(${70 + 30 * k}% ${16 + 34 * k}% at 50% 104%, rgba(255,241,226,${0.95 * k}) 0%, rgba(255,138,61,${0.9 * k}) 22%, rgba(163,48,26,${0.75 * k}) 52%, rgba(42,13,10,${0.6 * k}) 76%, rgba(42,13,10,0) 100%)`,\n        `radial-gradient(120% ${30 + 30 * k}% at 50% 100%, rgba(163,48,26,${0.28 * k}) 0%, rgba(42,13,10,0) 70%)`,\n      ].join(\", \"),\n  },\n  light: {\n    bg: \"#F5F4F0\",\n    fg: \"#121214\",\n    muted: \"#8A8883\",\n    hair: \"rgba(18,18,20,0.14)\",\n    chipInk: \"#FFF1E2\",\n    chip: \"linear-gradient(105deg, #2A0D0A 0%, #A3301A 46%, #E0703B 78%, #FF8A3D 100%)\",\n    ground: (k: number) =>\n      [\n        `radial-gradient(${70 + 30 * k}% ${16 + 34 * k}% at 50% 104%, rgba(255,138,61,${0.85 * k}) 0%, rgba(255,138,61,${0.42 * k}) 34%, rgba(255,241,226,${0.5 * k}) 70%, rgba(255,241,226,0) 100%)`,\n      ].join(\", \"),\n  },\n} as const;\n\nconst fmt = (cents: number) => {\n  const c = Math.round(cents);\n  return `${Math.floor(c / 100)}.${String(c % 100).padStart(2, \"0\")}`;\n};\n\n/** Odometer position for the column with place value `p` (in cents). */\nfunction columnPos(cents: number, p: number) {\n  if (p === 1) return cents;\n  const below = ((cents % p) + p) % p;\n  const carry = Math.max(0, (below - 0.9 * p) / (0.1 * p));\n  return Math.floor(cents / p) + carry;\n}\n\nexport function IpoOpen({\n  symbol = \"RMCN\",\n  label = \"Listed today\",\n  ipoPrice = 18,\n  openPrice = 42.6,\n  openTime = \"09:30\",\n  name = \"remocn\",\n  logo,\n  accent = \"#3B5BFD\",\n  speed = 1,\n  theme = \"dark\",\n}: IpoOpenProps) {\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\n  // ---- symbol layout -------------------------------------------------------\n  const letters = Array.from(symbol.toUpperCase());\n  const symEm =\n    letters.reduce((w, ch) => w + (SCHIBSTED[ch] ?? 0.68) + SYM_TRACK, 0) -\n    SYM_TRACK;\n  const S = Math.min(H * 0.43, (W * 0.74) / symEm);\n  const symBase = H * 0.505;\n  const symX0 = (W - symEm * S) / 2;\n\n  // ---- price layout ($dd.cc, digits on reels) -------------------------------\n  const startC = Math.round(ipoPrice * 100);\n  const endC = Math.round(openPrice * 100);\n  const intDigits = Math.max(1, String(Math.floor(endC / 100)).length);\n  const places: number[] = [];\n  for (let i = intDigits - 1; i >= 0; i--) places.push(10 ** (i + 2));\n  places.push(10, 1);\n  const P = H * 0.19;\n  const priceBase = H * 0.815;\n  const glyphs: Array<{ kind: \"$\" | \".\" | number; x: number; w: number }> = [];\n  {\n    let x = 0;\n    glyphs.push({ kind: \"$\", x, w: DOLLAR });\n    x += DOLLAR + PRICE_TRACK;\n    places.forEach((pl, i) => {\n      if (i === intDigits) {\n        glyphs.push({ kind: \".\", x, w: DOT });\n        x += DOT + PRICE_TRACK;\n      }\n      glyphs.push({ kind: pl, x, w: DIGIT });\n      x += DIGIT + PRICE_TRACK;\n    });\n  }\n  const last = glyphs[glyphs.length - 1];\n  const priceW = (last.x + last.w) * P;\n  const chipH = 0.64 * P;\n  const chipFont = 0.33 * P;\n  const chipW = chipFont * 5.5;\n  const gap = 0.22 * P;\n  const rowX0 = (W - (priceW + gap + chipW)) / 2;\n  const chipX = rowX0 + priceW + gap;\n  const chipY = priceBase - (CAP * P) / 2 - chipH / 2;\n  const ruleY = H * 0.588;\n\n  // ---- timing ----------------------------------------------------------------\n  const race = EASE_RACE(Math.max(0, Math.min(1, (t - RACE_AT) / RACE_LEN)));\n  const raceAt = (tt: number) =>\n    startC +\n    (endC - startC) *\n      EASE_RACE(Math.max(0, Math.min(1, (tt - RACE_AT) / RACE_LEN)));\n  const cents = raceAt(t);\n  const pct = (cents / startC - 1) * 100;\n  const flash = t >= BELL && t < BELL + 2;\n  const opened = t >= BELL;\n  const landed = t >= LAND;\n  const rise = (a: number, len = 18) =>\n    interpolate(t, [a, a + len], [0, 1], { ...CLAMP, easing: EASE_OUT });\n  const kick = interpolate(t, [BELL, BELL + 14], [1.045, 1], {\n    ...CLAMP,\n    easing: EASE_OUT,\n  });\n  const shock = interpolate(t, [BELL, BELL + 16], [0, 1], {\n    ...CLAMP,\n    easing: Easing.bezier(0.05, 0.7, 0.1, 1),\n  });\n  const shock2 = interpolate(t, [BELL + 3, BELL + 22], [0, 1], {\n    ...CLAMP,\n    easing: Easing.bezier(0.05, 0.7, 0.1, 1),\n  });\n  const pop = interpolate(t, [LAND - 2, LAND + 5, LAND + 14], [0, 1.09, 1], {\n    ...CLAMP,\n    easing: EASE_OUT,\n  });\n  const fill = interpolate(t, [LAND - 2, LAND + 4], [0, 1], CLAMP);\n  const groundK =\n    0.12 * rise(BELL, 10) +\n    0.7 * race +\n    0.18 * interpolate(t, [LAND - 4, LAND + 16], [0, 1], CLAMP);\n\n  // corner clock: one second before the bell, ticking after it\n  const secs = Math.floor((t - BELL) / 30);\n  const [hh, mm] = openTime.split(\":\").map((n) => Number(n));\n  const clockMin = hh * 60 + mm + Math.floor(secs / 60);\n  const clock = `${String(Math.floor(clockMin / 60) % 24).padStart(2, \"0\")}:${String(((clockMin % 60) + 60) % 60).padStart(2, \"0\")}:${String(((secs % 60) + 60) % 60).padStart(2, \"0\")}`;\n\n  // ---- reels ------------------------------------------------------------------\n  const step = (CAP + 0.3) * P;\n  const digitOf = (n: number) => ((Math.floor(n) % 10) + 10) % 10;\n  const reels = glyphs.map((g, i) => {\n    const gx = rowX0 + (g.x + g.w / 2) * P;\n    const enter = rise(14 + i * 2, 16);\n    if (g.kind === \"$\" || g.kind === \".\") {\n      return (\n        <text\n          key={`m${g.kind}`}\n          x={gx}\n          y={priceBase + (1 - enter) * 0.3 * P}\n          opacity={enter}\n        >\n          {g.kind}\n        </text>\n      );\n    }\n    const pl = g.kind;\n    const pos = columnPos(cents, pl);\n    const v = Math.abs(\n      columnPos(raceAt(t + 0.5), pl) - columnPos(raceAt(t - 0.5), pl),\n    );\n    const base = Math.floor(pos);\n    const f = pos - base;\n    const sd = Math.min(0.09, v * 0.06) * P;\n    // a leading zero stays hidden until the race carries into it\n    const lead = pl >= 1000 && cents < pl;\n    return (\n      <g\n        key={`d${pl}`}\n        opacity={enter * (lead ? 0 : 1)}\n        transform={`translate(0 ${(1 - enter) * 0.3 * P - f * step})`}\n      >\n        <g filter={sd > 0.2 ? `url(#${uid}b${pl})` : undefined}>\n          <text x={gx} y={priceBase}>\n            {digitOf(base)}\n          </text>\n          {f > 0.001 ? (\n            <text x={gx} y={priceBase + step}>\n              {digitOf(base + 1)}\n            </text>\n          ) : null}\n        </g>\n        <filter\n          id={`${uid}b${pl}`}\n          filterUnits=\"userSpaceOnUse\"\n          x={0}\n          y={0}\n          width={W}\n          height={H}\n        >\n          <feGaussianBlur stdDeviation={`0 ${sd.toFixed(2)}`} />\n        </filter>\n      </g>\n    );\n  });\n\n  const shockW = shock * W * 0.62;\n  const shockT = (1 - shock) ** 1.5 * 14 * u + 1.5 * u;\n  const ruleSettle = interpolate(t, [BELL + 10, BELL + 26], [0, 1], CLAMP);\n\n  return (\n    <AbsoluteFill style={{ background: p.bg, overflow: \"hidden\" }}>\n      {/* sunrise ground, climbing with the opening print */}\n      <div\n        style={{\n          position: \"absolute\",\n          inset: 0,\n          background: p.ground(groundK),\n        }}\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={`${symbol} opens at ${fmt(endC)}, IPO price ${fmt(startC)}`}\n      >\n        <defs>\n          <linearGradient id={`${uid}feather`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n            <stop offset=\"0\" stopColor=\"#fff\" stopOpacity={0} />\n            <stop offset=\"0.16\" stopColor=\"#fff\" />\n            <stop offset=\"0.84\" stopColor=\"#fff\" />\n            <stop offset=\"1\" stopColor=\"#fff\" stopOpacity={0} />\n          </linearGradient>\n          <mask\n            id={`${uid}win`}\n            maskUnits=\"userSpaceOnUse\"\n            x={0}\n            y={0}\n            width={W}\n            height={H}\n          >\n            <rect\n              x={0}\n              y={priceBase - CAP * P - 0.16 * P}\n              width={W}\n              height={CAP * P + 0.32 * P}\n              fill={`url(#${uid}feather)`}\n            />\n          </mask>\n          <clipPath id={`${uid}symWin`}>\n            <rect x={0} y={0} width={W} height={symBase + 0.02 * S} />\n          </clipPath>\n          <linearGradient id={`${uid}shock`} x1=\"0\" y1=\"0\" x2=\"1\" y2=\"0\">\n            <stop offset=\"0\" stopColor={p.fg} stopOpacity={0} />\n            <stop offset=\"0.35\" stopColor={p.fg} stopOpacity={0.5} />\n            <stop offset=\"0.5\" stopColor={p.fg} />\n            <stop offset=\"0.65\" stopColor={p.fg} stopOpacity={0.5} />\n            <stop offset=\"1\" stopColor={p.fg} stopOpacity={0} />\n          </linearGradient>\n        </defs>\n\n        {/* the symbol rises out of its baseline, kicks on the bell */}\n        <g\n          clipPath={`url(#${uid}symWin)`}\n          transform={`translate(${W / 2} ${symBase}) scale(${kick}) translate(${-W / 2} ${-symBase})`}\n        >\n          <g\n            fontFamily={sans}\n            fontWeight={500}\n            fontSize={S}\n            fill={p.fg}\n            textAnchor=\"start\"\n          >\n            {letters.map((ch, i) => {\n              const x =\n                symX0 +\n                letters\n                  .slice(0, i)\n                  .reduce((w, c) => w + (SCHIBSTED[c] ?? 0.68) + SYM_TRACK, 0) *\n                  S;\n              const k = rise(4 + i * 3, 16);\n              return (\n                <text\n                  key={`${ch}${x}`}\n                  x={x}\n                  y={symBase + (1 - k) * CAP * S * 1.05}\n                >\n                  {ch}\n                </text>\n              );\n            })}\n          </g>\n        </g>\n\n        {/* shockwave out of the centre, settling into a hairline rule */}\n        {opened ? (\n          <>\n            <rect\n              x={W / 2 - shockW}\n              y={ruleY - shockT / 2}\n              width={shockW * 2}\n              height={shockT}\n              fill={`url(#${uid}shock)`}\n              opacity={1 - ruleSettle * 0.8}\n            />\n            <rect\n              x={W / 2 - shock2 * W * 0.75}\n              y={ruleY - 0.75 * u}\n              width={shock2 * W * 1.5}\n              height={1.5 * u}\n              fill={`url(#${uid}shock)`}\n              opacity={(1 - shock2) * 0.7}\n            />\n          </>\n        ) : null}\n        <rect\n          x={W * 0.08}\n          y={ruleY - 0.5 * u}\n          width={W * 0.84}\n          height={1 * u}\n          fill={p.hair}\n          opacity={ruleSettle}\n        />\n\n        {/* the price on reels */}\n        <g\n          fontFamily={sans}\n          fontWeight={500}\n          fontSize={P}\n          fill={p.fg}\n          textAnchor=\"middle\"\n          letterSpacing=\"0\"\n          style={{ fontVariantNumeric: \"tabular-nums\" }}\n        >\n          <g mask={`url(#${uid}win)`}>\n            {reels.filter((_, i) => typeof glyphs[i].kind === \"number\")}\n          </g>\n          {reels.filter((_, i) => typeof glyphs[i].kind !== \"number\")}\n        </g>\n      </svg>\n\n      {/* chip: IPO tag before the bell, live move during the race, gradient on the land */}\n      <div\n        style={{\n          position: \"absolute\",\n          left: chipX,\n          top: chipY,\n          width: chipW,\n          height: chipH,\n          borderRadius: chipH / 2,\n          boxShadow: `inset 0 0 0 ${1.5 * u}px ${p.hair}`,\n          opacity: rise(18, 16),\n          transform: `translateY(${(1 - rise(18, 16)) * 0.2 * P}px) scale(${landed || t >= LAND - 2 ? pop : 1})`,\n          overflow: \"hidden\",\n        }}\n      >\n        <div\n          style={{\n            position: \"absolute\",\n            inset: 0,\n            background: p.chip,\n            opacity: fill,\n          }}\n        />\n        <div\n          style={{\n            position: \"absolute\",\n            inset: 0,\n            display: \"flex\",\n            alignItems: \"center\",\n            justifyContent: \"center\",\n            gap: 0.32 * chipFont,\n            color: fill > 0.5 ? p.chipInk : p.fg,\n            lineHeight: 1,\n          }}\n        >\n          {opened ? (\n            <>\n              <svg\n                width={0.62 * chipFont}\n                height={0.54 * chipFont}\n                viewBox=\"0 0 10 8.66\"\n                aria-hidden\n                style={{ display: \"block\" }}\n              >\n                <path\n                  d=\"M5 0 L10 8.66 L0 8.66 Z\"\n                  fill={fill > 0.5 ? p.chipInk : accent}\n                />\n              </svg>\n              <span\n                style={{\n                  fontFamily: sans,\n                  fontWeight: 500,\n                  fontSize: chipFont,\n                  letterSpacing: \"-0.01em\",\n                }}\n              >\n                {/* tabular digits so the live move doesn't wobble, a\n                    proportional point so it doesn't gape */}\n                {Array.from(`+${pct.toFixed(1)}%`).map((ch, i) => (\n                  <span\n                    key={i}\n                    style={{\n                      fontVariantNumeric:\n                        ch === \".\" ? \"normal\" : \"tabular-nums\",\n                    }}\n                  >\n                    {ch}\n                  </span>\n                ))}\n              </span>\n            </>\n          ) : (\n            <span\n              style={{\n                fontFamily: mono,\n                fontWeight: 400,\n                fontSize: chipFont * 0.6,\n                letterSpacing: \"0.12em\",\n                textTransform: \"uppercase\",\n                color: p.muted,\n              }}\n            >\n              IPO price\n            </span>\n          )}\n        </div>\n      </div>\n\n      {/* label above the symbol */}\n      <div\n        style={{\n          position: \"absolute\",\n          left: 0,\n          right: 0,\n          top: H * 0.115,\n          display: \"flex\",\n          justifyContent: \"center\",\n          alignItems: \"center\",\n          gap: 12 * u,\n          fontFamily: mono,\n          fontWeight: 500,\n          fontSize: 18 * u,\n          letterSpacing: \"0.16em\",\n          textTransform: \"uppercase\",\n          color: p.fg,\n          opacity: rise(0, 14),\n          transform: `translateY(${(1 - rise(0, 14)) * 8 * u}px)`,\n          lineHeight: 1,\n        }}\n      >\n        <div\n          style={{\n            width: 9 * u,\n            height: 9 * u,\n            borderRadius: 99,\n            background: accent,\n          }}\n        />\n        {label}\n      </div>\n\n      {/* corner bug: logo left, market clock right */}\n      <div\n        style={{\n          position: \"absolute\",\n          left: W * 0.045,\n          top: H * 0.06,\n          opacity: rise(-6, 14),\n        }}\n      >\n        {logo ??\n          (name.trim().toLowerCase() === \"remocn\" ? (\n            <RemocnLogo fontSize={24 * u} color={p.fg} />\n          ) : (\n            <span\n              style={{\n                fontFamily: sans,\n                fontWeight: 500,\n                fontSize: 24 * u,\n                letterSpacing: \"-0.02em\",\n                color: p.fg,\n              }}\n            >\n              {name}\n            </span>\n          ))}\n      </div>\n      <div\n        style={{\n          position: \"absolute\",\n          right: W * 0.045,\n          top: H * 0.06 + 3 * u,\n          fontFamily: mono,\n          fontWeight: 400,\n          fontSize: 17 * u,\n          letterSpacing: \"0.06em\",\n          color: opened ? p.fg : p.muted,\n          fontVariantNumeric: \"tabular-nums\",\n          opacity: rise(-6, 14),\n          lineHeight: 1,\n        }}\n      >\n        {clock}\n      </div>\n\n      {/* the bell: two inverted frames */}\n      {flash ? (\n        <div\n          style={{\n            position: \"absolute\",\n            inset: 0,\n            background: \"#FFFFFF\",\n            mixBlendMode: \"difference\",\n            opacity: 1,\n          }}\n        />\n      ) : null}\n    </AbsoluteFill>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/ipo-open.tsx"
    }
  ],
  "type": "registry:component"
}
