{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "image-generation-loader",
  "title": "Image Generation Loader",
  "description": "A streaming image surface with live progress, a playable Snake diversion, and an in-place completed result.",
  "dependencies": [
    "@solar-icons/react@^2.2.0",
    "cn@^0.3.0"
  ],
  "registryDependencies": [
    "button",
    "https://pastaui.com/r/pastaui-styles.json"
  ],
  "files": [
    {
      "path": "src/components/ai/image-generation-loader.tsx",
      "content": "import { ExportIcon } from '@solar-icons/react/linear/export'\nimport * as React from 'react'\n\nimport { ImageGenerationCanvas } from '@/components/ai/image-generation-canvas'\nimport { ImageGenerationSnake } from '@/components/ai/image-generation-snake'\nimport { Button } from '@/components/ui/button'\nimport { cn } from 'cn'\n\ninterface ImageGenerationLoaderProps extends React.ComponentProps<'figure'> {\n  alt?: string\n  imageUrl?: string\n  onEdit?: () => void\n  onShare?: () => void\n  playable?: boolean\n  progress?: number\n  prompt: string\n  status?: 'complete' | 'generating' | 'queued'\n}\n\nfunction ImageGenerationLoader({\n  alt = 'Generated image',\n  className,\n  imageUrl,\n  onEdit,\n  onShare,\n  playable = true,\n  progress = 0,\n  prompt,\n  status = 'complete',\n  ...props\n}: ImageGenerationLoaderProps) {\n  const [isPlaying, setIsPlaying] = React.useState(false)\n  const displayedProgress = Math.max(0, Math.min(Math.round(progress), 100))\n  const isComplete = status === 'complete'\n  const showGame = status === 'generating' && playable && isPlaying\n\n  return (\n    <figure data-slot=\"image-generation-loader\" className={cn('w-full', className)} {...props}>\n      <div className=\"relative aspect-square overflow-hidden rounded-[16px] border-[0.5px] border-border bg-background\">\n        {isComplete ? (\n          <CompletedImage alt={alt} imageUrl={imageUrl} onEdit={onEdit} onShare={onShare} />\n        ) : showGame ? (\n          <ImageGenerationSnake onExit={() => setIsPlaying(false)} />\n        ) : (\n          <div className=\"absolute inset-0 flex flex-col\">\n            <button\n              aria-label={\n                playable && status === 'generating'\n                  ? 'Play Snake while your image is generating'\n                  : 'Image generation in progress'\n              }\n              className=\"relative min-h-0 flex-1 overflow-hidden rounded-[16px] text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default\"\n              disabled={!playable || status === 'queued'}\n              onClick={() => setIsPlaying(true)}\n              type=\"button\"\n            >\n              <ImageGenerationCanvas progress={displayedProgress / 100} />\n            </button>\n            <progress\n              aria-label=\"Image generation progress\"\n              className=\"sr-only\"\n              max={100}\n              value={displayedProgress}\n            />\n            {playable && status === 'generating' && (\n              <span className=\"pointer-events-none absolute top-3.5 left-3.5 z-30 flex h-7 items-center gap-1.5 rounded-full border-[0.5px] border-border bg-background/80 px-2.5 text-xs font-medium text-foreground shadow-sm backdrop-blur-md transition-[opacity,translate] [transition-delay:1200ms] duration-500 ease-[cubic-bezier(0.23,1,0.32,1)] select-none starting:-translate-y-1 starting:opacity-0 motion-reduce:starting:translate-y-0\">\n                <span className=\"relative flex size-1.5\">\n                  <span className=\"absolute inset-0 animate-ping rounded-full bg-current opacity-50 motion-reduce:animate-none\" />\n                  <span className=\"relative size-1.5 rounded-full bg-current\" />\n                </span>\n                Click to play Snake while you wait\n              </span>\n            )}\n            <span className=\"pointer-events-none absolute right-3.5 bottom-3.5 z-30 flex h-7 min-w-14 items-center justify-center rounded-full border-[0.5px] border-border bg-background/80 px-2 text-sm font-medium text-foreground tabular-nums shadow-sm backdrop-blur-md select-none\">\n              {status === 'queued' ? 'Queued' : `${displayedProgress}%`}\n            </span>\n          </div>\n        )}\n      </div>\n      <figcaption className=\"sr-only\">{prompt}</figcaption>\n    </figure>\n  )\n}\n\ninterface CompletedImageProps {\n  alt: string\n  imageUrl?: string\n  onEdit?: () => void\n  onShare?: () => void\n}\n\nconst revealClass =\n  'transition-[opacity,scale,filter] duration-700 ease-[cubic-bezier(0.23,1,0.32,1)] starting:scale-[1.06] starting:opacity-0 starting:blur-xl motion-reduce:starting:scale-100 motion-reduce:starting:blur-none'\n\nfunction CompletedImage({ alt, imageUrl, onEdit, onShare }: CompletedImageProps) {\n  return (\n    <div className=\"group relative size-full\">\n      {imageUrl ? (\n        <img\n          alt={alt}\n          className={cn('size-full object-cover', revealClass)}\n          height={480}\n          src={imageUrl}\n          width={480}\n        />\n      ) : (\n        <div\n          className={cn(\n            'size-full bg-[radial-gradient(circle_at_50%_30%,var(--background),var(--muted)_48%,var(--foreground)_160%)]',\n            revealClass,\n          )}\n        />\n      )}\n      <div className=\"pointer-events-none absolute inset-x-0 bottom-0 h-28 bg-gradient-to-t from-foreground/45 to-transparent\" />\n      {onEdit && (\n        <Button\n          className=\"absolute bottom-4 left-4 border-0 bg-background/16 text-primary-foreground shadow-sm backdrop-blur-md transition-[opacity,translate,background-color] [transition-delay:150ms,150ms,0ms] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] hover:bg-background/25 starting:translate-y-1 starting:opacity-0 motion-reduce:starting:translate-y-0\"\n          onClick={onEdit}\n          size=\"sm\"\n          variant=\"outline\"\n        >\n          Edit\n        </Button>\n      )}\n      {onShare && (\n        <Button\n          aria-label=\"Share generated image\"\n          className=\"absolute right-4 bottom-4 border-0 bg-background/16 text-primary-foreground shadow-sm backdrop-blur-md transition-[opacity,translate,background-color] [transition-delay:200ms,200ms,0ms] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] hover:bg-background/25 starting:translate-y-1 starting:opacity-0 motion-reduce:starting:translate-y-0\"\n          onClick={onShare}\n          size=\"icon-sm\"\n          variant=\"outline\"\n        >\n          <ExportIcon />\n        </Button>\n      )}\n    </div>\n  )\n}\n\nexport { ImageGenerationLoader }\nexport type { ImageGenerationLoaderProps, CompletedImageProps }\nexport default ImageGenerationLoader\n",
      "type": "registry:component",
      "target": "@components/ai/image-generation-loader.tsx"
    },
    {
      "path": "src/components/ai/image-generation-canvas.tsx",
      "content": "import * as React from 'react'\n\nconst GRID_GAP = 40 / 3\nconst BASE_DOT_RADIUS = 1.1\nconst BASE_ALPHA = 0.2\nconst ORB_RADIUS_SCALE = 0.5\nconst MIN_ACTIVE_DOT_DIAMETER = 2\nconst MAX_ACTIVE_DOT_DIAMETER = 7\nconst FULL_SIZE_PROGRESS = 0.7\nconst PROGRESS_NORMALIZER = 0.82\nconst FRAME_DURATION = 1000 / 30\n\ninterface ImageGenerationCanvasProps {\n  progress: number\n}\n\ninterface DrawLoaderOptions {\n  accentColor: string\n  elapsedMilliseconds: number\n  height: number\n  progress: number\n  reducedMotion: boolean\n  width: number\n}\n\nfunction clamp(value: number) {\n  return Math.min(1, Math.max(0, value))\n}\n\nfunction smoothstep(value: number) {\n  const clampedValue = clamp(value)\n  return clampedValue * clampedValue * (3 - 2 * clampedValue)\n}\n\nfunction pingPong(from: number, to: number, duration: number, elapsed: number) {\n  const phase = (elapsed / duration) % 2\n  const triangle = phase <= 1 ? phase : 2 - phase\n  const easedProgress = (1 - Math.cos(triangle * Math.PI)) / 2\n\n  return from + (to - from) * easedProgress\n}\n\nfunction orbFalloff(radius: number, distance: number) {\n  const innerRadius = radius * 0.14\n  const broadFalloff = (distance - innerRadius) / Math.max(radius - innerRadius, 0.001)\n  const coreFalloff = (distance - innerRadius) / Math.max(radius * 0.32, 0.001)\n\n  return (1 - smoothstep(broadFalloff)) * (1 - smoothstep(coreFalloff) * 0.12)\n}\n\nfunction drawLoader(\n  context: CanvasRenderingContext2D,\n  { accentColor, elapsedMilliseconds, height, progress, reducedMotion, width }: DrawLoaderOptions,\n) {\n  context.clearRect(0, 0, width, height)\n\n  if (width < GRID_GAP || height < GRID_GAP) return\n\n  const columns = Math.floor(width / GRID_GAP)\n  const rows = Math.floor(height / GRID_GAP)\n  const offsetX = (width - (columns - 1) * GRID_GAP) / 2\n  const offsetY = (height - (rows - 1) * GRID_GAP) / 2\n  const elapsedSeconds = reducedMotion ? 0 : Math.max(0, elapsedMilliseconds) / 1000\n  const isCorner = (column: number, row: number) =>\n    (column === 0 || column === columns - 1) && (row === 0 || row === rows - 1)\n\n  context.save()\n  context.fillStyle = accentColor\n  context.globalAlpha = BASE_ALPHA\n  context.beginPath()\n\n  for (let column = 0; column < columns; column += 1) {\n    for (let row = 0; row < rows; row += 1) {\n      if (isCorner(column, row)) continue\n\n      const x = offsetX + column * GRID_GAP\n      const y = offsetY + row * GRID_GAP\n      context.moveTo(x + BASE_DOT_RADIUS, y)\n      context.arc(x, y, BASE_DOT_RADIUS, 0, Math.PI * 2)\n    }\n  }\n\n  context.fill()\n\n  const progressFactor = clamp(progress / PROGRESS_NORMALIZER) ** 1.28\n  const growth = progressFactor * (0.72 - 0.08 * smoothstep((progressFactor - 0.5) / 0.5))\n  const firstOrbX = pingPong(0.18, 0.82, 3.46, elapsedSeconds)\n  const firstOrbY = pingPong(0.18, 0.82, 4.87, elapsedSeconds)\n  const secondOrbX = pingPong(0.82, 0.18, 4.31, elapsedSeconds)\n  const secondOrbY = pingPong(0.82, 0.18, 4.42, elapsedSeconds)\n  const firstOrbRadius = pingPong(0.35, 0.6, 3.6, elapsedSeconds) * ORB_RADIUS_SCALE + growth\n  const secondOrbRadius = pingPong(0.43, 0.7, 2.4, elapsedSeconds) * ORB_RADIUS_SCALE + growth\n  const radiusStrength = reducedMotion ? 0.234 : pingPong(0.105, 0.234, 2.25, elapsedSeconds)\n  const minimumBrightAlpha = pingPong(0.58, 0.82, 2.1, elapsedSeconds)\n  const maxDotDiameter =\n    MIN_ACTIVE_DOT_DIAMETER +\n    (MAX_ACTIVE_DOT_DIAMETER - MIN_ACTIVE_DOT_DIAMETER) * smoothstep(progress / FULL_SIZE_PROGRESS)\n  const maximumRadius = Math.min(GRID_GAP * 0.48, maxDotDiameter / 2)\n\n  for (let column = 0; column < columns; column += 1) {\n    for (let row = 0; row < rows; row += 1) {\n      if (isCorner(column, row)) continue\n\n      const normalizedX = columns === 1 ? 0.5 : column / (columns - 1)\n      const normalizedY = rows === 1 ? 0.5 : row / (rows - 1)\n      const firstOrbStrength = orbFalloff(\n        firstOrbRadius,\n        Math.hypot(normalizedX - firstOrbX, normalizedY - firstOrbY),\n      )\n      const secondOrbStrength = orbFalloff(\n        secondOrbRadius,\n        Math.hypot(normalizedX - secondOrbX, normalizedY - secondOrbY),\n      )\n      const fieldStrength = Math.max(firstOrbStrength, secondOrbStrength)\n      const brightness = progressFactor * fieldStrength ** (0.85 + progressFactor * 1.1)\n      const dotRadius = maximumRadius * fieldStrength ** 1.15 * (radiusStrength / 0.234)\n\n      if (dotRadius <= 0.2) continue\n\n      const x = offsetX + column * GRID_GAP\n      const y = offsetY + row * GRID_GAP\n      context.globalAlpha = minimumBrightAlpha + (1 - minimumBrightAlpha) * brightness * 0.64\n      context.beginPath()\n      context.arc(x, y, dotRadius, 0, Math.PI * 2)\n      context.fill()\n    }\n  }\n\n  context.restore()\n}\n\nfunction ImageGenerationCanvas({ progress }: ImageGenerationCanvasProps) {\n  const canvasRef = React.useRef<HTMLCanvasElement>(null)\n  const progressRef = React.useRef(progress)\n\n  React.useEffect(() => {\n    progressRef.current = progress\n  }, [progress])\n\n  React.useEffect(() => {\n    const canvas = canvasRef.current\n    if (!canvas) return\n\n    const context = canvas.getContext('2d')\n    if (!context) return\n\n    const drawingCanvas = canvas\n    const drawingContext = context\n\n    const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches\n    const startedAt = performance.now()\n    let animationFrame = 0\n    let reducedMotionTimeout = 0\n    let lastFrameAt = Number.NEGATIVE_INFINITY\n    let width = 0\n    let height = 0\n\n    function resize() {\n      const nextWidth = drawingCanvas.clientWidth\n      const nextHeight = drawingCanvas.clientHeight\n      const pixelRatio = Math.min(window.devicePixelRatio || 1, 2)\n      const backingWidth = Math.round(nextWidth * pixelRatio)\n      const backingHeight = Math.round(nextHeight * pixelRatio)\n\n      if (drawingCanvas.width !== backingWidth || drawingCanvas.height !== backingHeight) {\n        drawingCanvas.width = backingWidth\n        drawingCanvas.height = backingHeight\n      }\n\n      width = nextWidth\n      height = nextHeight\n      drawingContext.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0)\n    }\n\n    function draw(timestamp: number) {\n      if (timestamp - lastFrameAt >= FRAME_DURATION) {\n        drawLoader(drawingContext, {\n          accentColor: getComputedStyle(drawingCanvas).color,\n          elapsedMilliseconds: timestamp - startedAt,\n          height,\n          progress: clamp(progressRef.current),\n          reducedMotion,\n          width,\n        })\n        lastFrameAt = timestamp\n      }\n\n      if (reducedMotion) {\n        reducedMotionTimeout = window.setTimeout(() => draw(performance.now()), 1000)\n      } else {\n        animationFrame = window.requestAnimationFrame(draw)\n      }\n    }\n\n    resize()\n    const resizeObserver = new ResizeObserver(resize)\n    resizeObserver.observe(drawingCanvas)\n    animationFrame = window.requestAnimationFrame(draw)\n\n    return () => {\n      resizeObserver.disconnect()\n      window.cancelAnimationFrame(animationFrame)\n      window.clearTimeout(reducedMotionTimeout)\n    }\n  }, [])\n\n  return (\n    <canvas\n      aria-hidden=\"true\"\n      className=\"pointer-events-none absolute inset-0 size-full text-foreground\"\n      ref={canvasRef}\n    />\n  )\n}\n\nexport { ImageGenerationCanvas }\n",
      "type": "registry:component",
      "target": "@components/ai/image-generation-canvas.tsx"
    },
    {
      "path": "src/components/ai/image-generation-snake.tsx",
      "content": "import * as React from 'react'\n\nimport { cn } from 'cn'\n\nconst GRID_SIZE = 17\nconst TICK_RATE = 120\n\ninterface Cell {\n  x: number\n  y: number\n}\n\ninterface Direction extends Cell {}\n\ninterface GameState {\n  direction: Direction\n  food: Cell\n  gameOver: boolean\n  paused: boolean\n  queuedDirection: Direction\n  snake: Cell[]\n}\n\ntype GameAction =\n  | { direction: Direction; type: 'turn' }\n  | { type: 'restart' }\n  | { type: 'tick' }\n  | { type: 'toggle-pause' }\n\ninterface ImageGenerationSnakeProps extends React.ComponentProps<'button'> {\n  onExit: () => void\n}\n\nconst directions = {\n  down: { x: 0, y: 1 },\n  left: { x: -1, y: 0 },\n  right: { x: 1, y: 0 },\n  up: { x: 0, y: -1 },\n} satisfies Record<string, Direction>\n\nconst initialState: GameState = {\n  direction: directions.right,\n  food: { x: 3, y: 8 },\n  gameOver: false,\n  paused: false,\n  queuedDirection: directions.right,\n  snake: [\n    { x: 10, y: 8 },\n    { x: 9, y: 8 },\n    { x: 8, y: 8 },\n    { x: 7, y: 8 },\n  ],\n}\n\nfunction cellsMatch(first: Cell, second: Cell) {\n  return first.x === second.x && first.y === second.y\n}\n\nfunction nextFood(snake: Cell[]) {\n  const offset = snake.length * 7\n\n  for (let index = 0; index < GRID_SIZE * GRID_SIZE; index += 1) {\n    const candidate = {\n      x: (offset + index * 5) % GRID_SIZE,\n      y: (offset * 3 + index * 7) % GRID_SIZE,\n    }\n\n    if (!snake.some((cell) => cellsMatch(cell, candidate))) return candidate\n  }\n\n  return { x: 0, y: 0 }\n}\n\nfunction gameReducer(state: GameState, action: GameAction): GameState {\n  if (action.type === 'restart') return initialState\n\n  if (action.type === 'toggle-pause') {\n    return state.gameOver ? state : { ...state, paused: !state.paused }\n  }\n\n  if (action.type === 'turn') {\n    const reversesDirection =\n      action.direction.x + state.direction.x === 0 && action.direction.y + state.direction.y === 0\n\n    return reversesDirection ? state : { ...state, queuedDirection: action.direction }\n  }\n\n  if (state.paused || state.gameOver) return state\n\n  const direction = state.queuedDirection\n  const head = state.snake[0]\n  const nextHead = {\n    x: (head.x + direction.x + GRID_SIZE) % GRID_SIZE,\n    y: (head.y + direction.y + GRID_SIZE) % GRID_SIZE,\n  }\n  const ateFood = cellsMatch(nextHead, state.food)\n  const body = ateFood ? state.snake : state.snake.slice(0, -1)\n\n  if (body.some((cell) => cellsMatch(cell, nextHead))) {\n    return { ...state, gameOver: true }\n  }\n\n  const snake = [nextHead, ...state.snake]\n  if (!ateFood) snake.pop()\n\n  return {\n    ...state,\n    direction,\n    food: ateFood ? nextFood(snake) : state.food,\n    queuedDirection: direction,\n    snake,\n  }\n}\n\nfunction ImageGenerationSnake({ className, onExit, ...props }: ImageGenerationSnakeProps) {\n  const [state, dispatch] = React.useReducer(gameReducer, initialState)\n  const boardRef = React.useRef<HTMLButtonElement>(null)\n  const pointerStartRef = React.useRef<Cell | null>(null)\n\n  React.useEffect(() => {\n    boardRef.current?.focus()\n  }, [])\n\n  React.useEffect(() => {\n    const timer = window.setInterval(() => dispatch({ type: 'tick' }), TICK_RATE)\n    return () => window.clearInterval(timer)\n  }, [])\n\n  function turn(direction: Direction) {\n    dispatch({ direction, type: 'turn' })\n  }\n\n  function handleKeyDown(event: React.KeyboardEvent<HTMLButtonElement>) {\n    const direction = {\n      ArrowDown: directions.down,\n      ArrowLeft: directions.left,\n      ArrowRight: directions.right,\n      ArrowUp: directions.up,\n      a: directions.left,\n      d: directions.right,\n      s: directions.down,\n      w: directions.up,\n    }[event.key]\n\n    if (direction) {\n      event.preventDefault()\n      turn(direction)\n      return\n    }\n\n    if (event.key === ' ') {\n      event.preventDefault()\n      dispatch({ type: 'toggle-pause' })\n    }\n\n    if (event.key === 'Escape') onExit()\n    if (event.key === 'Enter' && state.gameOver) dispatch({ type: 'restart' })\n  }\n\n  function handlePointerDown(event: React.PointerEvent<HTMLButtonElement>) {\n    pointerStartRef.current = { x: event.clientX, y: event.clientY }\n  }\n\n  function handlePointerUp(event: React.PointerEvent<HTMLButtonElement>) {\n    const start = pointerStartRef.current\n    pointerStartRef.current = null\n    if (!start) return\n\n    const x = event.clientX - start.x\n    const y = event.clientY - start.y\n    if (Math.max(Math.abs(x), Math.abs(y)) < 18) return\n\n    if (Math.abs(x) > Math.abs(y)) turn(x > 0 ? directions.right : directions.left)\n    else turn(y > 0 ? directions.down : directions.up)\n  }\n\n  const cellSize = 100 / GRID_SIZE\n\n  return (\n    <button\n      aria-label=\"Snake. Use arrow keys, WASD, or swipe to move. Press Space to pause or resume, or Escape to exit.\"\n      className={cn(\n        'relative size-full touch-none overflow-hidden border-0 bg-transparent p-0 text-foreground outline-none select-none',\n        className,\n      )}\n      onKeyDown={handleKeyDown}\n      onPointerDown={handlePointerDown}\n      onPointerUp={handlePointerUp}\n      ref={boardRef}\n      type=\"button\"\n      {...props}\n    >\n      <DotField />\n\n      {state.snake.map((cell, index) => (\n        <span\n          className={cn(\n            'absolute rounded-full bg-foreground shadow-sm',\n            index === 0 &&\n              \"before:absolute before:top-[28%] before:right-[28%] before:size-[12%] before:rounded-full before:bg-background before:content-[''] after:absolute after:top-[28%] after:left-[28%] after:size-[12%] after:rounded-full after:bg-background after:content-['']\",\n          )}\n          key={`${index}-${cell.x}-${cell.y}`}\n          style={{\n            height: `${cellSize * 0.64}%`,\n            left: `${cell.x * cellSize + cellSize * 0.18}%`,\n            top: `${cell.y * cellSize + cellSize * 0.18}%`,\n            width: `${cellSize * 0.64}%`,\n          }}\n        />\n      ))}\n\n      <span\n        className=\"absolute rounded-full bg-foreground ring-4 ring-background/20\"\n        style={{\n          height: `${cellSize * 0.55}%`,\n          left: `${state.food.x * cellSize + cellSize * 0.225}%`,\n          top: `${state.food.y * cellSize + cellSize * 0.225}%`,\n          width: `${cellSize * 0.55}%`,\n        }}\n      />\n\n      <div className=\"absolute top-4 right-4 rounded-full bg-foreground/80 px-2.5 py-1 text-[11px] font-medium text-background tabular-nums backdrop-blur-sm\">\n        {state.snake.length - initialState.snake.length}\n      </div>\n\n      {(state.paused || state.gameOver) && (\n        <div className=\"absolute inset-0 flex items-center justify-center bg-background/72 backdrop-blur-sm\">\n          <div className=\"text-center\">\n            <p className=\"card-heading\">{state.gameOver ? 'Game over' : 'Paused'}</p>\n            <p className=\"mt-1 text-xs text-muted-foreground\">\n              {state.gameOver ? 'Press Enter to restart' : 'Press Space to continue'}\n            </p>\n          </div>\n        </div>\n      )}\n\n      <span aria-live=\"polite\" className=\"sr-only\">\n        Score {state.snake.length - initialState.snake.length}\n      </span>\n    </button>\n  )\n}\n\nfunction DotField() {\n  return (\n    <>\n      <div className=\"absolute inset-0 [background-image:radial-gradient(circle,var(--foreground)_1px,transparent_1.25px)] [mask-image:radial-gradient(ellipse_at_28%_28%,black_0%,transparent_64%)] [background-size:18px_18px] opacity-35\" />\n      <div className=\"absolute inset-0 [background-image:radial-gradient(circle,var(--foreground)_1px,transparent_1.25px)] [mask-image:radial-gradient(ellipse_at_72%_72%,black_0%,transparent_64%)] [background-size:18px_18px] opacity-35\" />\n    </>\n  )\n}\n\nexport { DotField, ImageGenerationSnake }\n",
      "type": "registry:component",
      "target": "@components/ai/image-generation-snake.tsx"
    }
  ],
  "type": "registry:component"
}