{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "brand-wheel",
  "title": "Brand Wheel",
  "description": "Rotating logos text: a lead word and a wheel of brand pills that rolls through the platforms you ship to, blurred rows above and below, then a cursor clicks the last one. Motion measured frame by frame from a recording.",
  "dependencies": [
    "remotion",
    "@remotion/google-fonts"
  ],
  "registryDependencies": [
    "https://snapcn.dev/r/snap-cn-ui.json"
  ],
  "files": [
    {
      "path": "registry/snap-cn/brand-wheel/index.tsx",
      "content": "// Brand Wheel · snapcn — https://snapcn.dev/docs/text/brand-wheel\n\"use client\";\n\nimport { loadFont } from \"@remotion/google-fonts/InterTight\";\nimport {\n  AbsoluteFill,\n  getRemotionEnvironment,\n  useCurrentFrame,\n  useVideoConfig,\n} from \"remotion\";\nimport {\n  resolveFont,\n  type SnapCnTheme,\n  useSnapCnTheme,\n  withAlpha,\n} from \"@/lib/snap-cn-ui\";\nimport {\n  BRANDS,\n  type BrandMark,\n  brandKey,\n  CURSOR,\n  ENTER,\n  FADE,\n  FIRST,\n  FIRST_REST,\n  INK,\n  PITCH,\n  REF_H,\n  REF_W,\n  STEP,\n  STEP_FRAMES,\n  STOP_EARLY,\n  SWAP,\n} from \"./data\";\n\n/**\n * A lead word and a wheel of brand pills that rolls through where you ship.\n *\n * \"launch on\" holds the left of the line; the pill to its\n * right is one row of a column whose other rows sit above and below it, blurred\n * and fading. The column rolls a row every two thirds of a second, never quite\n * stopping, draws in as a cursor glides up, and freezes on the last brand just\n * as the cursor clicks it. A ring answers the click, then the line slides away.\n *\n * Every number in `./data` was recovered frame by frame from a recording and is\n * in that recording's pixels — the 57.45px pitch, the step curve that creeps\n * through the slot and rushes between rows, the moment focus changes hands, the\n * fade with distance, the cursor's glide. The constants below are the same\n * frame's geometry: the scene is laid out at 712 × 402 and scaled by height.\n *\n * The recording is set in SF Pro, which no render farm has. Inter Tight is the\n * nearest face a Remotion bundle can load — fingerprinted on five words against\n * the reference's ink, 2.9% RMS with -0.012em of tracking — and each size below\n * is fitted to the reference's ink height, not to a nominal point size.\n */\n\nconst { fontFamily: SANS } = loadFont(\"normal\", {\n  weights: [\"400\", \"500\"],\n  subsets: [\"latin\"],\n});\n\n/* ── The lockup, in reference px ─────────────────────────────────────────── */\n\n/** The slot's middle. Pill borders measured at 177.55 and 215.30. */\nconst ROW_Y = 196.43;\n/** Centre of the whole lockup, lead.s left edge to pill's right (504.6). */\nconst ROW_X = 360.875;\nconst PILL_H = 38.75;\n/** Border to brand box, and label's box to border, at the widest label. */\nconst PILL_PAD_L = 6.5;\nconst PILL_PAD_R = 12.86;\nconst MARK_H = 28;\nconst MARK_GAP = 10.73;\nconst LABEL = 22.8;\nconst LEAD = 30.65;\nconst TRACK = \"-0.032em\";\nconst LEAD_GAP = 20.05;\n/**\n * Baselines, as nudges off flex centring: the lead's ink sits on 206.65 and\n * the label's on 204.9, neither of which is where centring a line box puts it.\n */\nconst LEAD_NUDGE = 0.31;\nconst LABEL_NUDGE = 0.75;\n\n/** Rows out of focus. */\nconst BLUR = 2.4;\nconst DIM = 0.42;\n\n/* ── Timing, in reference frames at 30fps, relative to the stop ──────────── */\n\n/** The wheel draws in under the approaching cursor. */\nconst SHRINK = 0.93;\nconst SHRINK_AT: readonly [number, number] = [-33.6, -9.6];\nconst CURSOR_IN: readonly [number, number] = [-34.6, -19.6];\n/** Click: the cursor presses to 0.9 and lets go. */\nconst PRESS: readonly [number, number, number, number] = [-2.6, -0.6, 4.4, 7.4];\n/** The ring that answers the click: grows to 12.5px and fades out by +17.4. */\nconst RING_AT = 0.4;\nconst RING_W = 12.5;\nconst RING_FADE: readonly [number, number] = [3.4, 17.4];\nconst RING_ALPHA = 0.06;\n/** The line leaves on an ease-in slide, fading over its last five frames. */\nconst EXIT_AT = 2.4;\nconst EXIT_FADE: readonly [number, number] = [20.4, 25.4];\n\ntype Table = readonly (readonly [number, number])[];\n\nfunction read(table: Table, v: number): number {\n  const first = table[0];\n  const last = table[table.length - 1];\n  if (!first || !last) return 0;\n  if (v <= first[0]) return first[1];\n  if (v >= last[0]) return last[1];\n  for (let i = 1; i < table.length; i++) {\n    const hi = table[i];\n    const lo = table[i - 1];\n    if (hi && lo && v <= hi[0]) {\n      return lo[1] + ((hi[1] - lo[1]) * (v - lo[0])) / (hi[0] - lo[0]);\n    }\n  }\n  return last[1];\n}\n\nconst clamp01 = (v: number) => Math.min(1, Math.max(0, v));\nconst ramp = (v: number, a: number, b: number) => clamp01((v - a) / (b - a));\nconst smooth = (v: number) => v * v * (3 - 2 * v);\n\n/** The reference frame the strip freezes on, for a reel of `n`. */\nexport const stopFrame = (n: number) =>\n  FIRST_REST + STEP_FRAMES * Math.max(0, n - 2) - STOP_EARLY;\n\n/** Frames at 30fps for a reel of `n`: the roll, the click, the exit. */\nexport const brandWheelDuration = (n: number) =>\n  Math.ceil(stopFrame(n) + EXIT_FADE[1]);\n\n/** Rows travelled at reference frame `f`, for a reel of `n`. */\nexport function rollAt(f: number, n: number): number {\n  if (n < 2) return 0;\n  const g = Math.min(f, stopFrame(n));\n  if (g < FIRST_REST) return read(FIRST, g);\n  const k = (g - FIRST_REST) / STEP_FRAMES;\n  const whole = Math.floor(k);\n  const u = (k - whole) * STEP_FRAMES;\n  const i = Math.floor(u);\n  const a = STEP[i] ?? 1;\n  const b = STEP[i + 1] ?? 1;\n  return Math.min(n - 1, 1 + whole + a + (b - a) * (u - i));\n}\n\n/** The row in focus: it changes hands before the midpoint, at `SWAP`. */\nexport const focusAt = (q: number, n: number) =>\n  Math.min(n - 1, Math.floor(q + 1 - SWAP));\n\n/** Interpolates a (t, x, y) track. */\nfunction track(v: number): readonly [number, number] {\n  const first = CURSOR[0]!;\n  const last = CURSOR[CURSOR.length - 1]!;\n  if (v <= first[0]) return [first[1], first[2]];\n  for (let i = 1; i < CURSOR.length; i++) {\n    const hi = CURSOR[i]!;\n    const lo = CURSOR[i - 1]!;\n    if (v <= hi[0]) {\n      const k = (v - lo[0]) / (hi[0] - lo[0]);\n      return [lo[1] + (hi[1] - lo[1]) * k, lo[2] + (hi[2] - lo[2]) * k];\n    }\n  }\n  return [last[1], last[2]];\n}\n\nfunction Mark({\n  mark,\n  label,\n  ink,\n  card,\n  u,\n}: {\n  mark?: BrandMark;\n  label: string;\n  ink: string;\n  card: string;\n  u: number;\n}) {\n  const box = {\n    width: (mark?.w ?? MARK_H) * u,\n    height: MARK_H * u,\n    flexShrink: 0,\n    display: \"flex\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n  } as const;\n  if (!mark) {\n    // A brand with no mark gets its initial on a disc, so any copy works.\n    return (\n      <div style={box}>\n        <svg width={24 * u} height={24 * u} viewBox=\"0 0 24 24\" aria-hidden>\n          <circle cx={12} cy={12} r={12} fill={ink} />\n          <text\n            x={12}\n            y={16.5}\n            textAnchor=\"middle\"\n            fontSize={13}\n            fontWeight={600}\n            fill={card}\n          >\n            {label.charAt(0).toUpperCase()}\n          </text>\n        </svg>\n      </div>\n    );\n  }\n  const id = `bw-${brandKey(label)}`;\n  return (\n    <div style={box}>\n      <svg\n        width={mark.ink[0] * u}\n        height={mark.ink[1] * u}\n        viewBox={mark.view ?? \"0 0 24 24\"}\n        preserveAspectRatio=\"none\"\n        aria-hidden\n      >\n        {mark.tile ? (\n          <>\n            <defs>\n              <radialGradient id={id} cx=\"0.3\" cy=\"1.07\" r=\"1.3\">\n                {mark.tile.map((c, i, all) => (\n                  <stop\n                    key={c}\n                    offset={0.05 + (0.85 * i) / (all.length - 1)}\n                    stopColor={c}\n                  />\n                ))}\n              </radialGradient>\n            </defs>\n            <rect width={24} height={24} rx={5} fill={`url(#${id})`} />\n          </>\n        ) : null}\n        {mark.paths.map((p) => (\n          <path\n            key={p.d.slice(0, 32)}\n            d={p.d}\n            transform={p.t}\n            fill={p.fill === INK ? ink : p.fill}\n          />\n        ))}\n      </svg>\n    </div>\n  );\n}\n\nexport interface BrandWheelProps {\n  /** The word that never changes. */\n  lead?: string;\n  /** The reel, comma separated, top to bottom. It comes to rest on the last. */\n  items?: string;\n  /** The lead word. Defaults to the theme's primary. */\n  accent?: string;\n  /** Glide a cursor onto the last pill and click it. */\n  cursor?: boolean;\n  speed?: number;\n  theme?: Partial<SnapCnTheme>;\n  mode?: \"light\" | \"dark\";\n  fontFamily?: string;\n}\n\nexport function BrandWheel({\n  lead = \"launch on\",\n  items = \"X, YouTube, LinkedIn, Instagram, TikTok, Product Hunt\",\n  accent,\n  cursor = true,\n  speed = 1,\n  theme,\n  mode = \"light\",\n  fontFamily = \"Default\",\n}: BrandWheelProps) {\n  const frame = useCurrentFrame();\n  const { fps, width, height } = useVideoConfig();\n  const t = useSnapCnTheme(theme, mode);\n  const face = resolveFont(fontFamily) ?? SANS;\n  const tint = accent ?? t.primary;\n\n  const reel = items\n    .split(\",\")\n    .map((s) => s.trim())\n    .filter(Boolean);\n  const n = reel.length;\n\n  const u = height / REF_H;\n  const ox = (width - REF_W * u) / 2;\n  const f = (frame * speed * 30) / fps;\n  const since = f - stopFrame(n);\n\n  const q = rollAt(f, n);\n  const focus = focusAt(q, n);\n\n  const slide = read(ENTER, f) - 0.0212 * Math.max(0, since - EXIT_AT) ** 2.24;\n  const gone = 1 - ramp(since, EXIT_FADE[0], EXIT_FADE[1]);\n  const shrink = 1 - (1 - SHRINK) * smooth(ramp(since, ...SHRINK_AT));\n  const ringW = RING_W * (1 - Math.exp(-Math.max(0, since - RING_AT) / 2.5));\n  const ringA =\n    since > RING_AT ? RING_ALPHA * (1 - ramp(since, ...RING_FADE)) : 0;\n\n  const wheelIn = ramp(f, -1, 3);\n\n  const [tx, ty] = track(since);\n  const press =\n    1 -\n    0.1 *\n      (smooth(ramp(since, PRESS[0], PRESS[1])) -\n        smooth(ramp(since, PRESS[2], PRESS[3])));\n\n  // Composite in the Player, re-rasterise in the render — see motion-quality.\n  const live = getRemotionEnvironment().isRendering\n    ? null\n    : ({ willChange: \"transform\" } as const);\n\n  const pill = (label: string, ring?: string) => (\n    <div\n      style={{\n        boxSizing: \"border-box\",\n        height: PILL_H * u,\n        display: \"flex\",\n        alignItems: \"center\",\n        gap: MARK_GAP * u,\n        paddingLeft: PILL_PAD_L * u,\n        paddingRight: PILL_PAD_R * u,\n        borderRadius: t.radius * u,\n        border: `${u}px solid ${t.border}`,\n        background: t.card,\n        boxShadow: ring,\n        color: t.cardForeground,\n      }}\n    >\n      <Mark\n        mark={BRANDS[brandKey(label)]}\n        label={label}\n        ink={t.cardForeground}\n        card={t.card}\n        u={u}\n      />\n      <span\n        style={{\n          fontSize: LABEL * u,\n          lineHeight: 1,\n          fontWeight: 500,\n          letterSpacing: TRACK,\n          transform: `translateY(${LABEL_NUDGE * u}px)`,\n        }}\n      >\n        {label}\n      </span>\n    </div>\n  );\n\n  return (\n    <AbsoluteFill style={{ backgroundColor: t.background }}>\n      <div\n        style={{\n          position: \"absolute\",\n          left: ox,\n          top: 0,\n          width: REF_W * u,\n          height: REF_H * u,\n          overflow: \"hidden\",\n          fontFamily: face,\n          fontWeight: 400,\n          textRendering: \"geometricPrecision\",\n          whiteSpace: \"nowrap\",\n        }}\n      >\n        <div\n          style={{\n            position: \"absolute\",\n            left: ROW_X * u,\n            top: (ROW_Y - PILL_H / 2) * u,\n            height: PILL_H * u,\n            display: \"flex\",\n            alignItems: \"center\",\n            opacity: gone,\n            transform: `translateX(calc(-50% + ${slide * u}px))`,\n            ...live,\n          }}\n        >\n          <div\n            style={{\n              marginRight: LEAD_GAP * u,\n              fontSize: LEAD * u,\n              lineHeight: 1,\n              letterSpacing: \"-0.024em\",\n              color: tint,\n              transform: `translateY(${LEAD_NUDGE * u}px)`,\n            }}\n          >\n            {lead}\n          </div>\n          {/* Every pill in one grid cell: the column is as wide as its widest\n              label, so every row is the same pill and any copy fits. */}\n          <div\n            style={{\n              display: \"grid\",\n              height: PILL_H * u,\n              opacity: wheelIn,\n              transform: `scale(${shrink})`,\n            }}\n          >\n            {reel.map((label, i) => {\n              const d = (i - q) * PITCH;\n              const vis = read(FADE, Math.abs(d * shrink));\n              const sharp = i === focus;\n              return (\n                <div\n                  key={`${i}-${label}`}\n                  style={{\n                    gridArea: \"1 / 1\",\n                    visibility: vis > 0 ? \"visible\" : \"hidden\",\n                    transform: `translateY(${d * u}px)`,\n                    opacity: vis * (sharp ? 1 : DIM),\n                    filter: sharp ? undefined : `blur(${BLUR * u}px)`,\n                    ...live,\n                  }}\n                >\n                  {pill(\n                    label,\n                    i === n - 1 && ringA > 0\n                      ? `0 0 0 ${ringW * u}px ${withAlpha(t.foreground, ringA)}`\n                      : undefined,\n                  )}\n                </div>\n              );\n            })}\n          </div>\n        </div>\n        {cursor && n > 1 ? (\n          <div\n            style={{\n              position: \"absolute\",\n              left: (tx - 1) * u,\n              top: (ty - 1) * u,\n              opacity: ramp(since, ...CURSOR_IN),\n              transform: `scale(${press})`,\n              transformOrigin: `${u}px ${u}px`,\n            }}\n          >\n            {/* A macOS arrow, its tip one unit in from the corner. */}\n            <svg\n              width={13 * u}\n              height={21 * u}\n              viewBox=\"-1 -1 13 21\"\n              aria-hidden\n            >\n              <path\n                d=\"M0 0V16.2L3.9 12.6L6.6 18.7L9.1 17.6L6.5 11.6H11.6Z\"\n                fill=\"#000000\"\n                stroke=\"#ffffff\"\n                strokeWidth={1}\n                strokeLinejoin=\"round\"\n              />\n            </svg>\n          </div>\n        ) : null}\n      </div>\n    </AbsoluteFill>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/snap-cn/brand-wheel/index.tsx"
    },
    {
      "path": "registry/snap-cn/brand-wheel/data.ts",
      "content": "// Brand Wheel · snapcn — https://snapcn.dev/docs/text/brand-wheel\n/**\n * Everything Brand Wheel knows about its own motion, measured.\n *\n * The numbers below were recovered from a 4.6 second, 712 × 402 screen capture,\n * every one of its 139 frames, and they are in that recording's own pixels and\n * its own 30fps frames. The scene scales them by height, so a render at the\n * reference's size is the reference's size and nothing resamples in between.\n */\n\nexport const REF_W = 712;\nexport const REF_H = 402;\n\n/**\n * Row to row, in px. Three rest crossings — 34.72, 54.35 and 74.76 — land\n * 57.78, 57.11 and 57.44 apart on the strip; this is their mean.\n */\nexport const PITCH = 57.45;\n\n/**\n * A step of the wheel, from one row resting in the slot to the next, as\n * (share of the 20 frames, share of the pitch).\n *\n * It is not an ease you can name. The strip never stops between rows: it\n * creeps through the slot at 1.35px a frame, speeds up to 9px a frame as the\n * next row comes in, and creeps again — which reads as a wheel with weight\n * rather than as a carousel with a timer. Read by cross-correlating the column's\n * vertical ink profile frame to frame (0.01px steps) and averaging the two\n * cycles the cursor does not touch; they agree to 0.46px.\n */\nexport const STEP: readonly number[] = [\n  0, 0.0264, 0.055, 0.0864, 0.122, 0.1636, 0.2147, 0.2838, 0.3991, 0.5496,\n  0.656, 0.7222, 0.771, 0.8107, 0.8452, 0.8759, 0.9042, 0.9293, 0.953, 0.9763,\n  1,\n];\n\n/** Frames per step. Swaps land on 22.5, 42.5, 62.5, 82.5 and 102.5. */\nexport const STEP_FRAMES = 20;\n\n/**\n * The first step, which starts from a standstill and so is not a `STEP`: the\n * first row holds the slot until frame 11.5, then the strip pulls away slowly\n * and catches the rhythm by the time the second row rests at 34.72.\n */\nexport const FIRST: readonly (readonly [number, number])[] = [\n  [11.5, 0],\n  [12, 0.0003],\n  [13, 0.0015],\n  [14, 0.0041],\n  [15, 0.0077],\n  [16, 0.0145],\n  [17, 0.0228],\n  [18, 0.0363],\n  [19, 0.054],\n  [20, 0.0788],\n  [21, 0.1178],\n  [22, 0.1899],\n  [23, 0.3876],\n  [24, 0.567],\n  [25, 0.6587],\n  [26, 0.7226],\n  [27, 0.7733],\n  [28, 0.815],\n  [29, 0.8507],\n  [30, 0.8826],\n  [31, 0.9114],\n  [32, 0.9365],\n  [33, 0.9596],\n  [34, 0.9823],\n  [34.72, 1],\n];\n\n/** The frame the second row comes to rest; every later row is 20 frames on. */\nexport const FIRST_REST = 34.72;\n\n/**\n * Where in a step the slot changes hands, as a share of the pitch.\n *\n * Not half. The incoming row takes the focus when it is still 0.64 of a pitch\n * out — between 0.319 and 0.388 on every swap in the recording — which is why\n * each new row arrives already sharp instead of popping in at the midpoint.\n */\nexport const SWAP = 0.36;\n\n/**\n * The strip freezes this many frames before the last row would rest, still\n * creeping at 1.15px a frame. Measured, and it is the beat that makes the stop\n * read as a click landing rather than as the wheel running out.\n */\nexport const STOP_EARLY = 1.12;\n\n/**\n * How visible a row is by its distance from the slot, in px, as (distance,\n * opacity). Read off the peak ink of every row in every frame of the Google\n * cycle and normalised to the row in the slot. It is a property of position,\n * not of focus: the row in the slot is faded by it too while it is arriving.\n */\nexport const FADE: readonly (readonly [number, number])[] = [\n  [0, 1],\n  [12, 1],\n  [21.4, 0.88],\n  [32.4, 0.81],\n  [41.7, 0.7],\n  [47, 0.61],\n  [53.9, 0.47],\n  [59.4, 0.36],\n  [67.2, 0.25],\n  [74.2, 0.14],\n  [82.6, 0.09],\n  [93.5, 0.04],\n  [105, 0],\n];\n\n/**\n * The lockup sliding into place, as (frame, px to the right of home). It is a\n * plain exponential settle — 0.8 of the remaining distance each frame.\n */\nexport const ENTER: readonly (readonly [number, number])[] = [\n  [0, 38],\n  [1, 31.5],\n  [2, 25],\n  [3, 20.5],\n  [4, 17],\n  [5, 14],\n  [6, 11.3],\n  [7, 9.2],\n  [8, 7.6],\n  [9, 6.2],\n  [10, 5],\n  [11, 4],\n  [12, 3.2],\n  [13, 2.5],\n  [14, 1.9],\n  [15, 1.4],\n  [16, 1],\n  [18, 0.45],\n  [21, 0],\n];\n\n/**\n * The cursor's tip, as (frames before the stop, x, y). It glides in from the\n * lower right, decelerating, and parks on the end of the pill a few frames\n * before the wheel stops under it.\n */\nexport const CURSOR: readonly (readonly [number, number, number])[] = [\n  [-40, 640, 343],\n  [-37, 606, 314],\n  [-34, 580, 292],\n  [-31.6, 557, 273],\n  [-30.6, 553, 267],\n  [-29.6, 548, 263],\n  [-28.6, 542, 258],\n  [-27.6, 536, 253],\n  [-26.6, 528.5, 248],\n  [-25.6, 522, 242.5],\n  [-24.6, 515.5, 237.5],\n  [-23.6, 509.5, 233],\n  [-22.6, 504.5, 229],\n  [-21.6, 500, 225.5],\n  [-20.6, 496.5, 222.5],\n  [-19.6, 493.5, 220],\n  [-18.6, 491, 218],\n  [-17.6, 488.5, 216.2],\n  [-16.6, 486.5, 214.6],\n  [-15.6, 484.5, 213.2],\n  [-14.6, 483, 212],\n  [-13.6, 481.6, 211],\n  [-12.6, 480.5, 210.2],\n  [-11.6, 479.6, 209.6],\n  [-10.6, 479, 209.1],\n  [-8.6, 478.4, 208.6],\n  [-6.6, 478, 208.4],\n];\n\n/**\n * Brand marks. Each sits in a box `w` wide and 28 tall at the reference's\n * scale — the box is what the label is spaced from, and it is not square:\n * YouTube's is 34, Meta's 31, which is why their labels start later in the\n * recording. `ink` is the drawn size inside it, centred. Paths are Simple\n * Icons (CC0) in their own 24-unit space unless `view` says otherwise.\n */\nexport interface BrandMark {\n  w: number;\n  ink: readonly [number, number];\n  view?: string;\n  paths: readonly { d: string; fill: string; t?: string }[];\n  /** A rounded gradient tile under the paths (Instagram). */\n  tile?: readonly string[];\n}\n\n/** Paints the ink colour, so a black mark survives `mode=\"dark\"`. */\nexport const INK = \"ink\";\n\nconst DISC = \"M12 0a12 12 0 1 1 0 24a12 12 0 1 1 0-24z\";\n\nexport const BRANDS: Record<string, BrandMark> = {\n  x: {\n    w: 28,\n    ink: [21, 21],\n    paths: [\n      {\n        fill: INK,\n        d: \"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z\",\n      },\n    ],\n  },\n  youtube: {\n    w: 30.7,\n    ink: [26.2, 20.8],\n    view: \"0 0 26.2 20.8\",\n    paths: [\n      {\n        fill: \"#cb1f1a\",\n        d: \"M5.4 0h15.4a5.4 5.4 0 0 1 5.4 5.4v10a5.4 5.4 0 0 1-5.4 5.4H5.4A5.4 5.4 0 0 1 0 15.4v-10A5.4 5.4 0 0 1 5.4 0z\",\n      },\n      { fill: \"#ffffff\", d: \"M10.3 6.3v8.2l7-4.1z\" },\n    ],\n  },\n  linkedin: {\n    w: 28,\n    ink: [23, 23],\n    paths: [\n      {\n        fill: \"#0a66c2\",\n        d: \"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\",\n      },\n    ],\n  },\n  instagram: {\n    w: 28,\n    ink: [24.2, 24.2],\n    tile: [\"#fdf497\", \"#fd5949\", \"#d6249f\", \"#285aeb\"],\n    paths: [\n      {\n        fill: \"#ffffff\",\n        t: \"translate(3.6 3.6) scale(0.7)\",\n        d: \"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077\",\n      },\n    ],\n  },\n  tiktok: {\n    w: 28,\n    ink: [21, 23],\n    view: \"1.6 0 21 24\",\n    paths: [\n      {\n        fill: INK,\n        d: \"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z\",\n      },\n    ],\n  },\n  producthunt: {\n    w: 28,\n    ink: [24, 24],\n    paths: [\n      {\n        fill: \"#da552f\",\n        d: \"M13.604 8.4h-3.405V12h3.405c.995 0 1.801-.806 1.801-1.801 0-.993-.805-1.799-1.801-1.799zM12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm1.604 14.4h-3.405V18H7.801V6h5.804c2.319 0 4.2 1.88 4.2 4.199 0 2.321-1.881 4.201-4.201 4.201z\",\n      },\n    ],\n  },\n  google: {\n    w: 28,\n    ink: [26.6, 27.5],\n    view: \"0 0.95 24 22\",\n    paths: [\n      {\n        fill: \"#f4af44\",\n        d: \"M7.5137 4.8438L1.5645 15.1484A4.5 4.5 0 0 1 4 14.4297c2.5597-.0075 4.6248 2.1585 4.4941 4.7148l3.2168-5.5723-3.6094-6.25c-.4499-.7793-.6322-1.6394-.5878-2.4784z\",\n      },\n      {\n        fill: \"#1775b7\",\n        d: \"M23.4641 16.9287L15.4632 3.072C14.3586 1.1587 11.9121.5028 9.9988 1.6074S7.4295 5.1585 8.5341 7.0718l8.0009 13.8567c1.1046 1.9133 3.5511 2.5679 5.4644 1.4646 1.9134-1.1046 2.568-3.5511 1.4647-5.4644z\",\n      },\n      {\n        fill: \"#34b24a\",\n        d: \"M3.9998 22.9291C1.7908 22.9291 0 21.1383 0 18.9293s1.7908-3.9998 3.9998-3.9998 3.9998 1.7908 3.9998 3.9998-1.7908 3.9998-3.9998 3.9998z\",\n      },\n    ],\n  },\n  shopify: {\n    w: 28,\n    ink: [23.3, 30],\n    view: \"1.25 0 21.3 24\",\n    paths: [\n      {\n        fill: \"#95bf47\",\n        d: \"M11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z\",\n      },\n      {\n        fill: \"#5e8e3e\",\n        d: \"M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023z\",\n      },\n    ],\n  },\n  meta: {\n    w: 31,\n    ink: [27.5, 18.5],\n    view: \"0 4.03 24 15.94\",\n    paths: [\n      {\n        fill: \"#3088e5\",\n        d: \"M6.915 4.03c-1.968 0-3.683 1.28-4.871 3.113C.704 9.208 0 11.883 0 14.449c0 .706.07 1.369.21 1.973a6.624 6.624 0 0 0 .265.86 5.297 5.297 0 0 0 .371.761c.696 1.159 1.818 1.927 3.593 1.927 1.497 0 2.633-.671 3.965-2.444.76-1.012 1.144-1.626 2.663-4.32l.756-1.339.186-.325c.061.1.121.196.183.3l2.152 3.595c.724 1.21 1.665 2.556 2.47 3.314 1.046.987 1.992 1.22 3.06 1.22 1.075 0 1.876-.355 2.455-.843a3.743 3.743 0 0 0 .81-.973c.542-.939.861-2.127.861-3.745 0-2.72-.681-5.357-2.084-7.45-1.282-1.912-2.957-2.93-4.716-2.93-1.047 0-2.088.467-3.053 1.308-.652.57-1.257 1.29-1.82 2.05-.69-.875-1.335-1.547-1.958-2.056-1.182-.966-2.315-1.303-3.454-1.303zm10.16 2.053c1.147 0 2.188.758 2.992 1.999 1.132 1.748 1.647 4.195 1.647 6.4 0 1.548-.368 2.9-1.839 2.9-.58 0-1.027-.23-1.664-1.004-.496-.601-1.343-1.878-2.832-4.358l-.617-1.028a44.908 44.908 0 0 0-1.255-1.98c.07-.109.141-.224.211-.327 1.12-1.667 2.118-2.602 3.358-2.602zm-10.201.553c1.265 0 2.058.791 2.675 1.446.307.327.737.871 1.234 1.579l-1.02 1.566c-.757 1.163-1.882 3.017-2.837 4.338-1.191 1.649-1.81 1.817-2.486 1.817-.524 0-1.038-.237-1.383-.794-.263-.426-.464-1.13-.464-2.046 0-2.221.63-4.535 1.66-6.088.454-.687.964-1.226 1.533-1.533a2.264 2.264 0 0 1 1.088-.285z\",\n      },\n    ],\n  },\n  stripe: {\n    w: 31.4,\n    ink: [28.6, 28.6],\n    paths: [\n      { fill: \"#625af4\", d: DISC },\n      {\n        fill: \"#ffffff\",\n        t: \"translate(4.6 4.6) scale(0.62)\",\n        d: \"M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z\",\n      },\n    ],\n  },\n};\n\n/** `\"Product Hunt\"` → `producthunt`, so the copy and the lookup can differ. */\nexport const brandKey = (label: string) =>\n  label.toLowerCase().replace(/[^a-z0-9]/g, \"\");\n",
      "type": "registry:component",
      "target": "components/snap-cn/brand-wheel/data.ts"
    }
  ],
  "docs": "Docs and props: https://snapcn.dev/docs/text/brand-wheel?ref=cli — lead is the fixed word; items is the reel, comma separated, top to bottom, and it comes to rest on the LAST one. Known brands (X, YouTube, LinkedIn, Instagram, TikTok, Product Hunt, Google, Shopify, Meta, Stripe) get their mark; anything else gets its initial. Six items run 139 frames; each extra item adds 20 (brandWheelDuration). — 82 Pro components too — charts, launch scenes, device shots: https://snapcn.dev/docs/pricing?ref=cli-docs",
  "type": "registry:component"
}
