{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"bloom-lockup","type":"registry:component","title":"Bloom Lockup","description":"Logo reveal in four seconds. A wall of finished work blooms outward from your logo, cuts in tight on it, then bends away through a lens and a flash while the logo rises to take its wordmark and tagline.","dependencies":["remotion","@remotion/google-fonts"],"docs":"Needs a Remotion project. If a frame renders black, the component is drawing on a transparent layer: put a background behind it, e.g. <AbsoluteFill style={{ background: \"#faf9f6\" }}><Component /></AbsoluteFill>. Pass mode=\"dark\" for dark frames.","registryDependencies":["https://kuchi.kalarislabs.com/r/kuchi-ui.json"],"files":[{"path":"components/kuchi/bloom-lockup/index.tsx","type":"registry:component","target":"components/kuchi/bloom-lockup/index.tsx","content":"/*! Portions Copyright (c) 2026 Sri Nath (snap-cn). MIT License. See THIRD_PARTY_LICENSES. */\n\"use client\";\r\n\r\nimport { loadFont as loadGeistMono } from \"@remotion/google-fonts/GeistMono\";\r\nimport { loadFont as loadPoppins } from \"@remotion/google-fonts/Poppins\";\r\nimport { type ReactNode, useEffect, useId, useState } from \"react\";\r\nimport {\r\n  AbsoluteFill,\r\n  continueRender,\r\n  delayRender,\r\n  Img,\r\n  useCurrentFrame,\r\n  useVideoConfig,\r\n} from \"remotion\";\r\nimport {\r\n  resolveFont,\r\n  type KuchiTheme,\r\n  useKuchiTheme,\r\n} from \"@/lib/kuchi-ui\";\r\nimport {\r\n  BEHIND_LOGO,\r\n  BLOOM_CARDS,\r\n  BLOOM_DELAY,\r\n  BLOOM_FADE,\r\n  BLOOM_SECONDS,\r\n  BLOOM_ZOOM,\r\n  CARD_HALO,\r\n  CARD_IMAGES,\r\n  HOLD_SECONDS,\r\n  LENS,\r\n  LENS_FLASH,\r\n  LENS_FROM,\r\n  LENS_RADIUS,\r\n  LENS_ZOOM,\r\n  LOCKUP_CARDS,\r\n  LOCKUP_SECONDS,\r\n  LOGO_FADE,\r\n  LOGO_SIZE_BLOOM,\r\n  LOGO_SIZE_LOCKUP,\r\n  LOGO_Y,\r\n  KUCHI_MARK,\r\n  TAGLINE_FADE,\r\n  TAGLINE_RISE,\r\n  TAGLINE_Y,\r\n  WORDMARK_FADE,\r\n  WORDMARK_RISE,\r\n  WORDMARK_Y,\r\n} from \"./data\";\r\n\r\nconst { fontFamily: POPPINS } = loadPoppins(\"normal\", {\r\n  weights: [\"600\"],\r\n  subsets: [\"latin\"],\r\n});\r\nconst { fontFamily: GEIST_MONO } = loadGeistMono(\"normal\", {\r\n  weights: [\"400\"],\r\n  subsets: [\"latin\"],\r\n});\r\n\r\nconst STAGE_W = 1920;\r\nconst STAGE_H = 1080;\r\nconst RATE = 30;\r\n\r\nexport interface BloomLockupProps {\r\n  /** The wordmark under the logo. */\r\n  wordmark?: string;\r\n  /** The line under the wordmark. */\r\n  tagline?: string;\r\n  /** Your mark as SVG paths, like Cut Lockup's `logo`. Defaults to the kuchi mark. */\r\n  logo?: {\r\n    width: number;\r\n    height: number;\r\n    shapes: readonly string[];\r\n    /** Share of the tile the mark fills. */\r\n    fill?: number;\r\n  };\r\n  /** Pictures for the cards; repeats if there are fewer than cards. */\r\n  images?: readonly string[];\r\n  /** One picture per card on the first board, in order. */\r\n  imagesA?: readonly string[];\r\n  /** One picture per card on the second board, in order. */\r\n  imagesB?: readonly string[];\r\n  wordmarkFont?: string;\r\n  wordmarkWeight?: number;\r\n  /** Wordmark size on a 1920x1080 stage. */\r\n  wordmarkSize?: number;\r\n  speed?: number;\r\n  theme?: Partial<KuchiTheme>;\r\n  mode?: \"light\" | \"dark\";\r\n}\r\n\r\n/** Sample a 1/30s table at a time in seconds; holds both ends. */\r\nexport const sample = (table: readonly number[], seconds: number) => {\r\n  const x = Math.max(0, Math.min(seconds * RATE, table.length - 1));\r\n  const i = Math.floor(x);\r\n  const a = table[i] ?? 0;\r\n  return a + ((table[i + 1] ?? a) - a) * (x - i);\r\n};\r\n\r\n/** Opacity of a bloom card at `t`: the wave leaves the logo and spreads outward. */\r\nexport const cardFade = (i: number, t: number) => {\r\n  const k = (t - (BLOOM_DELAY[i] ?? 0)) / (BLOOM_FADE[i] ?? 0.2);\r\n  const x = Math.max(0, Math.min(1, k));\r\n  return x * x * (3 - 2 * x);\r\n};\r\n\r\n/** Frames in the whole clip at `fps`. */\r\nexport const clipFrames = (fps: number) =>\r\n  Math.ceil((BLOOM_SECONDS + LOCKUP_SECONDS + HOLD_SECONDS) * fps);\r\n\r\n/** What a lens of strength `q` shows at `r` radii out, as a share of `r`. */\r\nexport const lensFactor = (q: number, r: number) =>\r\n  1 / Math.sqrt(1 + q * r * r);\r\n\r\n/** The uniform scale that leaves the least for the 8-bit map to carry. */\r\nexport const lensSplit = (q: number, rMax: number) => {\r\n  const worst = (c: number) => {\r\n    let m = 0;\r\n    for (let j = 1; j <= 64; j++) {\r\n      const r = (rMax * j) / 64;\r\n      m = Math.max(m, r * Math.abs(lensFactor(q, r) / c - 1));\r\n    }\r\n    return m;\r\n  };\r\n  let lo = lensFactor(q, rMax);\r\n  let hi = 1;\r\n  for (let it = 0; it < 60; it++) {\r\n    const a = lo + (hi - lo) / 3;\r\n    const b = hi - (hi - lo) / 3;\r\n    if (worst(a) < worst(b)) hi = b;\r\n    else lo = a;\r\n  }\r\n  return (lo + hi) / 2;\r\n};\r\n\r\nconst MAP_W = 240;\r\nconst MAP_H = 135;\r\ntype LensMap = { href: string; scale: number; split: number };\r\n\r\n/** One displacement map per lens row, decoded before the first frame that needs it. */\r\nconst useLensMaps = () => {\r\n  const [maps, setMaps] = useState<LensMap[] | null>(null);\r\n  useEffect(() => {\r\n    const handle = delayRender(\"bloom-lockup: lens maps\");\r\n    const cx = STAGE_W / 2;\r\n    const cy = STAGE_H / 2;\r\n    const rMax = Math.hypot(cx, cy) / LENS_RADIUS;\r\n    const canvas = document.createElement(\"canvas\");\r\n    canvas.width = MAP_W;\r\n    canvas.height = MAP_H;\r\n    const ctx = canvas.getContext(\"2d\");\r\n    if (!ctx) {\r\n      continueRender(handle);\r\n      return;\r\n    }\r\n    const out = LENS.map((q) => {\r\n      const split = lensSplit(q, rMax);\r\n      const field: number[] = [];\r\n      let peak = 1e-3;\r\n      for (let j = 0; j < MAP_H; j++) {\r\n        for (let i = 0; i < MAP_W; i++) {\r\n          const dx = ((i + 0.5) / MAP_W) * STAGE_W - cx;\r\n          const dy = ((j + 0.5) / MAP_H) * STAGE_H - cy;\r\n          const g = lensFactor(q, Math.hypot(dx, dy) / LENS_RADIUS) / split - 1;\r\n          field.push(dx * g, dy * g);\r\n          peak = Math.max(peak, Math.abs(dx * g), Math.abs(dy * g));\r\n        }\r\n      }\r\n      const scale = peak * 2.02;\r\n      const img = ctx.createImageData(MAP_W, MAP_H);\r\n      for (let p = 0; p < MAP_W * MAP_H; p++) {\r\n        img.data[p * 4] = Math.round(255 * (0.5 + (field[2 * p] ?? 0) / scale));\r\n        img.data[p * 4 + 1] = Math.round(\r\n          255 * (0.5 + (field[2 * p + 1] ?? 0) / scale),\r\n        );\r\n        img.data[p * 4 + 2] = 128;\r\n        img.data[p * 4 + 3] = 255;\r\n      }\r\n      ctx.putImageData(img, 0, 0);\r\n      return { href: canvas.toDataURL(\"image/png\"), scale, split };\r\n    });\r\n    Promise.all(\r\n      out.map((m) => {\r\n        const im = new Image();\r\n        im.src = m.href;\r\n        return im.decode().catch(() => undefined);\r\n      }),\r\n    ).then(() => {\r\n      setMaps(out);\r\n      continueRender(handle);\r\n    });\r\n  }, []);\r\n  return maps;\r\n};\r\n\r\n/** Type at a fraction of a device row: two copies added by the fraction between. */\r\nconst Line: React.FC<{\r\n  y: number;\r\n  opacity: number;\r\n  px: number;\r\n  children: ReactNode;\r\n}> = ({ y, opacity, px, children }) => {\r\n  if (opacity <= 0) return null;\r\n  const row = Math.floor(y * px);\r\n  const f = y * px - row;\r\n  return (\r\n    <g opacity={opacity} style={{ isolation: \"isolate\" }}>\r\n      {[\r\n        { r: row, w: 1 - f },\r\n        { r: row + 1, w: f },\r\n      ].map(({ r, w }) => (\r\n        <g\r\n          key={r}\r\n          transform={`translate(${STAGE_W / 2} ${(r + 1e-3) / px})`}\r\n          style={{ opacity: w, mixBlendMode: \"plus-lighter\" }}\r\n        >\r\n          {children}\r\n        </g>\r\n      ))}\r\n    </g>\r\n  );\r\n};\r\n\r\nconst Card: React.FC<{\r\n  rect: readonly number[];\r\n  src: string;\r\n  halo: number;\r\n  opacity: number;\r\n  fill: string;\r\n}> = ({ rect, src, halo, opacity, fill }) => {\r\n  const [x = 0, y = 0, w = 0, h = 0] = rect;\r\n  if (opacity <= 0) return null;\r\n  return (\r\n    <div\r\n      style={{\r\n        position: \"absolute\",\r\n        left: x,\r\n        top: y,\r\n        width: w,\r\n        height: h,\r\n        opacity,\r\n        overflow: \"hidden\",\r\n        background: fill,\r\n        boxShadow: `0 0 ${halo}px ${halo * 0.6}px rgba(0,0,0,0.05)`,\r\n      }}\r\n    >\r\n      <Img\r\n        src={src}\r\n        style={{\r\n          width: \"100%\",\r\n          height: \"100%\",\r\n          maxWidth: \"none\",\r\n          objectFit: \"cover\",\r\n          display: \"block\",\r\n        }}\r\n      />\r\n    </div>\r\n  );\r\n};\r\n\r\n/**\r\n * Bloom Lockup: a wall of finished work blooms outward from your logo, cuts in\r\n * tight on it, then bends away through a lens and a flash as the logo rises to its wordmark. `t` is\r\n * seconds into the clip.\r\n */\r\nexport const BloomLockupScene: React.FC<BloomLockupProps & { t: number }> = ({\r\n  t,\r\n  wordmark = \"kuchi\",\r\n  tagline = \"kuchi.kalarislabs.com\",\r\n  logo = KUCHI_MARK,\r\n  images = CARD_IMAGES,\r\n  imagesA,\r\n  imagesB,\r\n  wordmarkFont,\r\n  wordmarkWeight = 600,\r\n  wordmarkSize = 112,\r\n  theme,\r\n  mode,\r\n}) => {\r\n  const c = useKuchiTheme(theme, mode);\r\n  const { width, height } = useVideoConfig();\r\n  const px = Math.max(width / STAGE_W, height / STAGE_H);\r\n  const bloom = t < BLOOM_SECONDS;\r\n  const b = t - BLOOM_SECONDS;\r\n  const pick = (list: readonly string[], i: number) =>\r\n    list[i % Math.max(1, list.length)] ?? \"\";\r\n\r\n  const size = bloom ? sample(LOGO_SIZE_BLOOM, t) : sample(LOGO_SIZE_LOCKUP, b);\r\n  const y = bloom ? STAGE_H / 2 : sample(LOGO_Y, b);\r\n  const zoom = bloom ? sample(BLOOM_ZOOM, t) : 1 + 0.00009 * (0.55 - b) * 60;\r\n  const lift = bloom ? 0 : -3.5 * (b - 0.4);\r\n  const uid = useId().replace(/:/g, \"\");\r\n  const maps = useLensMaps();\r\n  const row = bloom ? -1 : Math.round((b - LENS_FROM) * RATE);\r\n  const gone = row >= LENS.length;\r\n  const map = row >= 0 && !gone ? (maps?.[row] ?? null) : null;\r\n  const flash = bloom ? undefined : LENS_FLASH[row - (LENS.length - 2)];\r\n  const logoScale =\r\n    (size * ((\"fill\" in logo ? logo.fill : undefined) ?? 0.56)) /\r\n    Math.max(logo.width, logo.height);\r\n\r\n  return (\r\n    <AbsoluteFill style={{ background: c.background, overflow: \"hidden\" }}>\r\n      {map ? (\r\n        <svg width={0} height={0} style={{ position: \"absolute\" }} aria-hidden>\r\n          <filter\r\n            id={uid}\r\n            x={0}\r\n            y={0}\r\n            width={STAGE_W}\r\n            height={STAGE_H}\r\n            filterUnits=\"userSpaceOnUse\"\r\n            primitiveUnits=\"userSpaceOnUse\"\r\n            colorInterpolationFilters=\"sRGB\"\r\n          >\r\n            <feImage\r\n              href={map.href}\r\n              x={0}\r\n              y={0}\r\n              width={STAGE_W}\r\n              height={STAGE_H}\r\n              preserveAspectRatio=\"none\"\r\n              result=\"map\"\r\n            />\r\n            <feDisplacementMap\r\n              in=\"SourceGraphic\"\r\n              in2=\"map\"\r\n              scale={map.scale}\r\n              xChannelSelector=\"R\"\r\n              yChannelSelector=\"G\"\r\n              result=\"bent\"\r\n            />\r\n            {flash ? (\r\n              <>\r\n                <feComponentTransfer in=\"bent\" result=\"lit\">\r\n                  <feFuncR type=\"linear\" slope={flash[0]} />\r\n                  <feFuncG type=\"linear\" slope={flash[1]} />\r\n                  <feFuncB type=\"linear\" slope={flash[2]} />\r\n                </feComponentTransfer>\r\n                <feGaussianBlur in=\"lit\" stdDeviation={flash[3]} />\r\n              </>\r\n            ) : null}\r\n          </filter>\r\n        </svg>\r\n      ) : null}\r\n      <AbsoluteFill\r\n        style={{\r\n          filter: map ? `url(#${uid})` : undefined,\r\n        }}\r\n      >\r\n        <AbsoluteFill\r\n          style={{\r\n            transform: `translateY(${lift}px) scale(${\r\n              zoom * (map ? (LENS_ZOOM[row] ?? 1) / map.split : 1)\r\n            })`,\r\n            transformOrigin: \"50% 50%\",\r\n          }}\r\n        >\r\n          {bloom\r\n            ? BLOOM_CARDS.map((rect, i) =>\r\n                !imagesA && i === BEHIND_LOGO.bloom ? null : (\r\n                  <Card\r\n                    key={rect.join()}\r\n                    rect={rect}\r\n                    src={imagesA ? pick(imagesA, i) : pick(images, i)}\r\n                    halo={CARD_HALO.bloom}\r\n                    fill={c.card}\r\n                    opacity={cardFade(i, t)}\r\n                  />\r\n                ),\r\n              )\r\n            : !gone &&\r\n              LOCKUP_CARDS.map((rect, i) =>\r\n                !imagesB && i === BEHIND_LOGO.lockup ? null : (\r\n                  <Card\r\n                    key={rect.join()}\r\n                    rect={rect}\r\n                    src={imagesB ? pick(imagesB, i) : pick(images, i + 7)}\r\n                    halo={CARD_HALO.lockup}\r\n                    fill={c.card}\r\n                    opacity={1}\r\n                  />\r\n                ),\r\n              )}\r\n        </AbsoluteFill>\r\n      </AbsoluteFill>\r\n\r\n      <div\r\n        style={{\r\n          position: \"absolute\",\r\n          left: STAGE_W / 2 - size / 2,\r\n          top: y - size / 2,\r\n          width: size,\r\n          height: size,\r\n          borderRadius: size * 0.235,\r\n          background: c.foreground,\r\n          opacity: bloom ? sample(LOGO_FADE, t) : 1,\r\n          boxShadow: `0 ${size * 0.1}px ${size * 0.34}px rgba(0,0,0,0.22)`,\r\n        }}\r\n      >\r\n        <svg\r\n          viewBox={`0 0 ${size} ${size}`}\r\n          width={size}\r\n          height={size}\r\n          style={{ position: \"absolute\", inset: 0 }}\r\n        >\r\n          <title>{wordmark}</title>\r\n          <g\r\n            transform={`translate(${size / 2} ${size / 2}) scale(${logoScale}) translate(${-logo.width / 2} ${-logo.height / 2})`}\r\n          >\r\n            {logo.shapes.map((d) => (\r\n              <path key={d} d={d} fill={c.card} fillRule=\"evenodd\" />\r\n            ))}\r\n          </g>\r\n        </svg>\r\n      </div>\r\n\r\n      {!bloom && (\r\n        <svg\r\n          viewBox={`0 0 ${STAGE_W} ${STAGE_H}`}\r\n          width=\"100%\"\r\n          height=\"100%\"\r\n          style={{ position: \"absolute\", inset: 0 }}\r\n        >\r\n          <title>{tagline}</title>\r\n          <Line\r\n            y={WORDMARK_Y + sample(WORDMARK_RISE, b)}\r\n            opacity={sample(WORDMARK_FADE, b)}\r\n            px={px}\r\n          >\r\n            <text\r\n              textAnchor=\"middle\"\r\n              fill={c.foreground}\r\n              style={{\r\n                fontFamily: resolveFont(wordmarkFont) ?? POPPINS,\r\n                fontWeight: wordmarkWeight,\r\n                fontSize: wordmarkSize,\r\n                letterSpacing: \"-0.02em\",\r\n                textRendering: \"geometricPrecision\",\r\n              }}\r\n            >\r\n              {wordmark}\r\n            </text>\r\n          </Line>\r\n          <Line\r\n            y={TAGLINE_Y + sample(TAGLINE_RISE, b)}\r\n            opacity={sample(TAGLINE_FADE, b)}\r\n            px={px}\r\n          >\r\n            <text\r\n              textAnchor=\"middle\"\r\n              fill={c.mutedForeground}\r\n              style={{\r\n                fontFamily: GEIST_MONO,\r\n                fontSize: 40,\r\n                textRendering: \"geometricPrecision\",\r\n              }}\r\n            >\r\n              {tagline}\r\n            </text>\r\n          </Line>\r\n        </svg>\r\n      )}\r\n    </AbsoluteFill>\r\n  );\r\n};\r\n\r\nexport const BloomLockup: React.FC<BloomLockupProps> = ({\r\n  speed = 1,\r\n  ...props\r\n}) => {\r\n  const frame = useCurrentFrame();\r\n  const { fps } = useVideoConfig();\r\n  return <BloomLockupScene {...props} t={(frame * speed) / fps} />;\r\n};\r\n\r\nexport default BloomLockup;\r\n"},{"path":"components/kuchi/bloom-lockup/data.ts","type":"registry:component","target":"components/kuchi/bloom-lockup/data.ts","content":"/*! Portions Copyright (c) 2026 Sri Nath (snap-cn). MIT License. See THIRD_PARTY_LICENSES. */\n/**\r\n * Measured frame by frame off a screen recording, scaled to a 1920x1080 stage with\r\n * the logo's first resting place at its centre. Tables hold one sample per 1/30s.\r\n */\r\n\r\n/** Length of the bloom, then of the lockup, in seconds. The join is a hard cut. */\r\nexport const BLOOM_SECONDS = 1.825;\r\nexport const LOCKUP_SECONDS = 2.063;\r\n/** The last frame holds this long. */\r\nexport const HOLD_SECONDS = 0.1;\r\n\r\n/** Cards on the bloom board: x, y, width, height. */\r\nexport const BLOOM_CARDS = [\r\n  [43.1, -65.8, 226.5, 221.1],\r\n  [310.0, -65.8, 229.2, 347.9],\r\n  [582.4, -65.8, 223.8, 172.6],\r\n  [846.7, -65.8, 229.2, 366.7],\r\n  [1116.3, -65.8, 226.5, 245.4],\r\n  [1653.0, -65.8, 226.5, 226.5],\r\n  [1386.0, 39.3, 226.5, 391.0],\r\n  [579.7, 147.2, 226.5, 391.0],\r\n  [43.1, 195.7, 226.5, 391.0],\r\n  [1653.0, 201.1, 226.5, 142.9],\r\n  [310.0, 322.5, 229.2, 151.0],\r\n  [1653.0, 384.5, 226.5, 124.0],\r\n  [1383.3, 473.5, 229.2, 207.6],\r\n  [310.0, 514.0, 229.2, 199.6],\r\n  [1653.0, 551.7, 229.2, 124.0],\r\n  [579.7, 592.2, 229.2, 453.0],\r\n  [40.4, 629.9, 229.2, 391.0],\r\n  [1113.6, 651.5, 229.2, 391.0],\r\n  [1653.0, 716.2, 229.2, 159.1],\r\n  [1383.3, 721.6, 229.2, 275.1],\r\n  [849.4, 729.7, 223.8, 110.6],\r\n  [310.0, 754.0, 229.2, 183.4],\r\n  [849.4, 880.7, 223.8, 264.3],\r\n  [1653.0, 915.7, 226.5, 229.2],\r\n  [310.0, 977.8, 229.2, 167.2],\r\n  [1383.3, 1037.1, 229.2, 107.9],\r\n  [849.4, 352.2, 223.8, 334.4],\r\n  [1116.3, 220.0, 226.5, 391.0],\r\n] as const;\r\n/** When each bloom card starts, in seconds: a wave leaving the logo. */\r\nexport const BLOOM_DELAY = [\r\n  0.669, 0.466, 0.366, 0.271, 0.406, 0.68, 0.388, 0.217, 0.548, 0.58, 0.348,\r\n  0.55, 0.34, 0.34, 0.552, 0.249, 0.577, 0.262, 0.583, 0.411, 0.166, 0.386,\r\n  0.317, 0.58, 0.567, 0.478, 0.071, 0.196,\r\n] as const;\r\n/** How long each bloom card takes to arrive. */\r\nexport const BLOOM_FADE = [\r\n  0.239, 0.409, 0.395, 0.334, 0.389, 0.298, 0.42, 0.414, 0.394, 0.42, 0.401,\r\n  0.37, 0.42, 0.412, 0.42, 0.42, 0.385, 0.42, 0.42, 0.384, 0.203, 0.42, 0.391,\r\n  0.42, 0.353, 0.42, 0.124, 0.42,\r\n] as const;\r\nexport const BLOOM_ZOOM = [\r\n  0.9847, 0.9848, 0.9848, 0.9849, 0.9849, 0.9849, 0.985, 0.985, 0.9851, 0.9851,\r\n  0.9852, 0.9852, 0.9852, 0.9853, 0.9853, 0.9854, 0.9854, 0.9854, 0.9855,\r\n  0.9855, 0.9856, 0.9856, 0.9856, 0.9857, 0.9857, 0.9858, 0.9858, 0.9858, 0.986,\r\n  0.9863, 0.9865, 0.9867, 0.9868, 0.987, 0.9874, 0.9877, 0.9879, 0.9883, 0.9887,\r\n  0.9892, 0.9897, 0.9903, 0.9909, 0.9916, 0.9922, 0.993, 0.9938, 0.9943, 0.9953,\r\n  0.9962, 0.9972, 0.9981, 0.9993, 1.0003, 1.0014, 1.0016,\r\n] as const;\r\n\r\n/** The same grid at 1.33x. */\r\nexport const LOCKUP_CARDS = [\r\n  [103.7, -61.8, 302.0, 231.9],\r\n  [457.0, -61.8, 302.0, 172.6],\r\n  [813.0, -61.8, 299.3, 83.6],\r\n  [1160.8, -61.8, 304.7, 563.6],\r\n  [1516.8, -61.8, 302.0, 196.9],\r\n  [1870.0, 56.9, 110.6, 358.7],\r\n  [810.3, 75.7, 302.0, 649.9],\r\n  [457.0, 164.7, 302.0, 275.1],\r\n  [-68.8, 175.5, 121.3, 512.4],\r\n  [1516.8, 186.3, 302.0, 364.0],\r\n  [106.4, 221.4, 299.3, 515.1],\r\n  [1870.0, 472.2, 110.6, 186.1],\r\n  [457.0, 488.3, 302.0, 288.5],\r\n  [1158.1, 545.0, 304.7, 596.0],\r\n  [1514.1, 604.3, 304.7, 229.2],\r\n  [1870.0, 712.2, 110.6, 164.5],\r\n  [-68.8, 741.8, 121.3, 399.1],\r\n  [103.7, 790.4, 302.0, 199.6],\r\n  [807.6, 820.0, 304.7, 218.4],\r\n  [454.3, 828.1, 304.7, 312.8],\r\n  [1516.8, 884.7, 463.8, 256.2],\r\n  [106.4, 1041.1, 299.3, 99.8],\r\n] as const;\r\n/**\r\n * The wall leaves through a lens, then a flash, then a cut to the bare page. One row\r\n * per frame from `LENS_FROM` seconds into the lockup. A point `r` radii out shows what\r\n * sat at `r / sqrt(1 + q r^2)`: the edges stretch and the middle pulls back.\r\n */\r\nexport const LENS_FROM = 0.02;\r\nexport const LENS_RADIUS = 960;\r\nexport const LENS = [\r\n  0.01313, 0.01484, 0.01758, 0.02186, 0.02722, 0.03385, 0.04192, 0.05143,\r\n  0.06274, 0.07689, 0.09468, 0.11714, 0.14713, 0.19098, 0.25382, 0.34701,\r\n  0.5287, 1.56386,\r\n] as const;\r\nexport const LENS_ZOOM = [\r\n  1.0, 0.99627, 0.9925, 0.98863, 0.98457, 0.98025, 0.97571, 0.97095, 0.96603,\r\n  0.96092, 0.95548, 0.94957, 0.94291, 0.93499, 0.92518, 0.91473, 0.89903,\r\n  0.85653,\r\n] as const;\r\n/** The last two rows: channel gain and blur in stage px. */\r\nexport const LENS_FLASH = [\r\n  [1.424, 1.491, 1.47, 1.67],\r\n  [1.403, 1.45, 1.437, 1.79],\r\n] as const;\r\n\r\n/** The slot under the logo on each board stays empty unless you fill it. */\r\nexport const BEHIND_LOGO = { bloom: 26, lockup: 6 } as const;\r\n\r\nexport const CARD_HALO = { bloom: 12, lockup: 16 } as const;\r\n\r\nexport const LOGO_FADE = [\r\n  0, 0, 0, 0, 0, 0, 0, 0, 0, 0.089, 0.204, 0.379, 0.541, 0.737, 0.834, 0.91,\r\n  0.971, 0.981, 0.997, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\r\n  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\r\n] as const;\r\nexport const LOGO_SIZE_BLOOM = [\r\n  143.9, 144.3, 145, 145.6, 146.1, 146.8, 147.4, 148, 148.8, 149.4, 150, 150.6,\r\n  151.1, 151.6, 152.2, 152.8, 153.3, 153.5, 154, 154.9, 156, 156.8, 157.3,\r\n  157.6, 157.7, 157.8, 157.8, 157.9, 157.9, 158, 158, 158, 158, 158, 158, 158,\r\n  158.1, 158.1, 158.2, 158.2, 158.3, 158.4, 158.4, 158.3, 158.3, 158.4, 158.4,\r\n  158.5, 158.9, 159.2, 159.6, 160, 160.4, 160.7, 160.8, 160.8,\r\n] as const;\r\nexport const LOGO_SIZE_LOCKUP = [\r\n  210.2, 210, 210, 210, 210, 210, 210.1, 210.1, 210, 210, 210, 210, 210.1,\r\n  210.2, 210.4, 210.5, 210.5, 210.6, 210.6, 210.6, 210.6, 210.6, 210.6, 210.6,\r\n  210.7, 210.7, 210.8, 210.8, 210.8, 210.9, 210.9, 211, 211, 211.1, 211.1,\r\n  211.2, 211.3, 211.3, 211.4, 211.4, 211.4, 211.5, 211.6, 211.7, 211.8, 212,\r\n  212.1, 212.3, 212.5, 212.7, 212.9, 213, 213.1, 213.3, 213.4, 213.5, 213.5,\r\n  213.6, 213.6, 213.6, 213.6, 213.6, 213.6,\r\n] as const;\r\nexport const LOGO_Y = [\r\n  540.4, 533.2, 516.9, 502.5, 492.3, 485.4, 473.4, 459.9, 452.1, 442, 437.3,\r\n  432.8, 428, 422.9, 418.6, 415.4, 414, 412.3, 411.6, 410.7, 409.9, 409.4,\r\n  409.2, 408.8, 408.6, 408.5, 408.4, 408.4, 408.3, 408.3, 408.3, 408.2, 408.2,\r\n  408.2, 408.2, 408.1, 408.1, 408, 407.9, 407.8, 407.8, 407.8, 407.7, 407.5,\r\n  407.4, 407.3, 407.3, 407.3, 407.1, 407, 406.9, 406.9, 406.9, 406.9, 406.8,\r\n  406.8, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7,\r\n] as const;\r\n\r\nexport const WORDMARK_Y = 653.6;\r\nexport const TAGLINE_Y = 715.7;\r\nexport const WORDMARK_FADE = [\r\n  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.006, 0.023, 0.161,\r\n  0.291, 0.432, 0.588, 0.676, 0.734, 0.789, 0.821, 0.85, 0.878, 0.898, 0.928,\r\n  0.935, 0.941, 0.946, 0.953, 0.969, 0.973, 0.975, 0.975, 0.976, 0.977, 0.977,\r\n  0.977, 0.979, 0.98, 0.982, 0.983, 0.984, 0.986, 0.987, 0.988, 0.989, 0.99,\r\n  0.992, 0.993, 0.994, 0.995, 0.996, 0.998, 0.999, 1,\r\n] as const;\r\nexport const WORDMARK_RISE = [\r\n  17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5,\r\n  17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 17.5, 15.9, 11.7, 9,\r\n  7.4, 5.8, 4.7, 4, 3.1, 2.4, 1.8, 1.3, 0.7, 0.6, 0.6, 0.6, 0.1, 0, 0, 0, 0, 0,\r\n  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\r\n] as const;\r\nexport const TAGLINE_FADE = [\r\n  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\r\n  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.001, 0.06, 0.169, 0.353, 0.474,\r\n  0.596, 0.674, 0.791, 0.853, 0.911, 0.957, 0.975, 0.981, 0.982, 0.986, 0.988,\r\n  0.996, 0.999, 0.999, 0.999, 1, 1, 1,\r\n] as const;\r\nexport const TAGLINE_RISE = [\r\n  11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9,\r\n  11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9,\r\n  11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9, 11.9,\r\n  11.9, 11.9, 11.9, 11.9, 11.9, 9.3, 5.9, 4.5, 2.2, 0.9, 0.2, 0, 0, 0, 0, 0, 0,\r\n  0, 0, 0, 0, 0, 0, 0,\r\n] as const;\r\n\r\n/** What fills the cards: kuchi showcase art and Unsplash-licensed photographs. */\r\nexport const CARD_IMAGES = [\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-11.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-06.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-02.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-11.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-09.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-06.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-10.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-04.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-03.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-10.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-12.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-12.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-08.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-03.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-08.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-08.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-12.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-07.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-05.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-05.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-06.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-05.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-07.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-04.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-12.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-09.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-02.svg\",\r\n  \"https://kuchi-media.kalarislabs.com/components/art/art-10.svg\",\r\n] as const;\r\n\r\n/** The kuchi mark, outlined. */\r\nexport const KUCHI_MARK = {\r\n  width: 723,\r\n  height: 632,\r\n  shapes: [\r\n    \"M139.04 0H583.96Q723 0 723 139.04V492.96000000000004Q723 632 583.96 632H139.04Q0 632 0 492.96000000000004V139.04Q0 0 139.04 0Z\",\r\n  ],\r\n} as const;\r\n"}]}