{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "isometric-city",
  "type": "registry:ui",
  "title": "Isometric City",
  "author": "Rishabh Bose <https://theb0se.vercel.app/>",
  "description": "Procedural 3D-projected isometric night cityscape rendered on HTML5 Canvas 2D with depth-sorted skyscrapers, flickering office windows, rooftop aviation beacons, and avenue light-streak traffic.",
  "dependencies": [
    "lucide-react",
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "components/ui/isometric-city.tsx",
      "content": "\"use client\";\n\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { Building2, Car, Sparkles, RefreshCw } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface IsometricCityProps {\n  /** Number of city blocks along each isometric axis (4 to 10) */\n  gridSize?: number;\n  /** Probability [0.3 - 1.0] that a grid cell contains a skyscraper */\n  buildingDensity?: number;\n  /** Speed multiplier for avenue light-streak traffic */\n  trafficSpeed?: number;\n  /** Architectural lighting color palette */\n  colorPalette?: \"cyberpunk\" | \"midnight\" | \"amber\";\n  /** Whether office windows subtly toggle on and off over time */\n  windowFlicker?: boolean;\n  /** Optional foreground content */\n  children?: React.ReactNode;\n  /** Additional container classes */\n  className?: string;\n}\n\ninterface PaletteConfig {\n  bgTop: string;\n  bgBottom: string;\n  smogGlow: string;\n  gridLine: string;\n  streetGlow: string;\n  roofFace: string;\n  leftFace: string;\n  rightFace: string;\n  edgeStroke: string;\n  neonAccent: string;\n  windowLitA: string;\n  windowLitB: string;\n  beaconColor: string;\n  headlight: string;\n  taillight: string;\n}\n\nconst PALETTES: Record<\"cyberpunk\" | \"midnight\" | \"amber\", PaletteConfig> = {\n  midnight: {\n    bgTop: \"#020617\",\n    bgBottom: \"#091936\",\n    smogGlow: \"rgba(56, 189, 248, 0.16)\",\n    gridLine: \"rgba(56, 189, 248, 0.18)\",\n    streetGlow: \"rgba(56, 189, 248, 0.12)\",\n    roofFace: \"#1E293B\",\n    leftFace: \"#0F172A\",\n    rightFace: \"#080D1A\",\n    edgeStroke: \"rgba(148, 163, 184, 0.25)\",\n    neonAccent: \"#38BDF8\",\n    windowLitA: \"#38BDF8\",\n    windowLitB: \"#E0F2FE\",\n    beaconColor: \"#F43F5E\",\n    headlight: \"#F8FAFC\",\n    taillight: \"#FB7185\",\n  },\n  cyberpunk: {\n    bgTop: \"#060212\",\n    bgBottom: \"#1B0933\",\n    smogGlow: \"rgba(236, 72, 153, 0.20)\",\n    gridLine: \"rgba(236, 72, 153, 0.22)\",\n    streetGlow: \"rgba(34, 211, 238, 0.14)\",\n    roofFace: \"#271340\",\n    leftFace: \"#170A29\",\n    rightFace: \"#0D041A\",\n    edgeStroke: \"rgba(244, 114, 182, 0.32)\",\n    neonAccent: \"#22D3EE\",\n    windowLitA: \"#22D3EE\",\n    windowLitB: \"#F472B6\",\n    beaconColor: \"#22D3EE\",\n    headlight: \"#22D3EE\",\n    taillight: \"#F43F5E\",\n  },\n  amber: {\n    bgTop: \"#080502\",\n    bgBottom: \"#1F1408\",\n    smogGlow: \"rgba(245, 158, 11, 0.16)\",\n    gridLine: \"rgba(245, 158, 11, 0.18)\",\n    streetGlow: \"rgba(251, 191, 36, 0.12)\",\n    roofFace: \"#2B2118\",\n    leftFace: \"#1C150E\",\n    rightFace: \"#110C08\",\n    edgeStroke: \"rgba(251, 191, 36, 0.26)\",\n    neonAccent: \"#F59E0B\",\n    windowLitA: \"#FBBF24\",\n    windowLitB: \"#FEF3C7\",\n    beaconColor: \"#EF4444\",\n    headlight: \"#FDE68A\",\n    taillight: \"#EA580C\",\n  },\n};\n\ninterface BuildingBlock {\n  gx: number;\n  gy: number;\n  height: number;\n  floors: number;\n  style: \"stepped\" | \"helipad\" | \"spire\" | \"modern\";\n  upperTierHeight: number;\n  hasBeacon: boolean;\n  hasNeonTrim: boolean;\n  beaconPhase: number;\n  windowsLeft: boolean[][];\n  windowsRight: boolean[][];\n}\n\ninterface TrafficStreak {\n  axis: \"x\" | \"y\";\n  laneIndex: number;\n  pos: number;\n  speed: number;\n  dir: 1 | -1;\n  length: number;\n}\n\nexport function IsometricCity({\n  gridSize: propGridSize = 7,\n  buildingDensity: propDensity = 0.78,\n  trafficSpeed: propTrafficSpeed = 1.0,\n  colorPalette: propPalette = \"midnight\",\n  windowFlicker: propFlicker = true,\n  children,\n  className,\n}: IsometricCityProps) {\n  const containerRef = useRef<HTMLDivElement>(null);\n  const canvasRef = useRef<HTMLCanvasElement>(null);\n  const pointerRef = useRef<{ x: number; y: number }>({ x: 0, y: 0 });\n\n  const [palette, setPalette] = useState<\"cyberpunk\" | \"midnight\" | \"amber\">(\n    propPalette\n  );\n  const [trafficSpeed, setTrafficSpeed] = useState(propTrafficSpeed);\n  const [windowFlicker, setWindowFlicker] = useState(propFlicker);\n  const [seed, setSeed] = useState(1);\n  const [buildingCount, setBuildingCount] = useState(0);\n\n  useEffect(() => {\n    setPalette(propPalette);\n  }, [propPalette]);\n\n  useEffect(() => {\n    setTrafficSpeed(propTrafficSpeed);\n  }, [propTrafficSpeed]);\n\n  useEffect(() => {\n    setWindowFlicker(propFlicker);\n  }, [propFlicker]);\n\n  useEffect(() => {\n    const container = containerRef.current;\n    const canvas = canvasRef.current;\n    if (!container || !canvas) return;\n\n    const ctx = canvas.getContext(\"2d\");\n    if (!ctx) return;\n\n    let animationFrameId = 0;\n    let width = 0;\n    let height = 0;\n\n    const N = Math.max(4, Math.min(10, propGridSize));\n\n    // Generate procedural city blocks sorted back-to-front by (gx + gy)\n    const buildings: BuildingBlock[] = [];\n    for (let gx = 0; gx < N; gx++) {\n      for (let gy = 0; gy < N; gy++) {\n        if (Math.random() > propDensity) continue;\n\n        const distFromCenter =\n          Math.hypot(gx - (N - 1) / 2, gy - (N - 1) / 2) / (N * 0.7);\n        const centerBoost = Math.max(0.28, 1 - distFromCenter * 0.72);\n        const floors = Math.max(\n          3,\n          Math.floor((4 + Math.random() * 14) * centerBoost)\n        );\n        const bHeight = floors * 10;\n\n        const cols = 4;\n        const windowsLeft: boolean[][] = [];\n        const windowsRight: boolean[][] = [];\n        for (let f = 0; f < floors; f++) {\n          windowsLeft.push(\n            Array.from({ length: cols }, () => Math.random() < 0.64)\n          );\n          windowsRight.push(\n            Array.from({ length: cols }, () => Math.random() < 0.58)\n          );\n        }\n\n        const roll = Math.random();\n        const style: BuildingBlock[\"style\"] =\n          floors >= 11 && roll < 0.38\n            ? \"stepped\"\n            : floors >= 10 && roll < 0.68\n            ? \"spire\"\n            : floors >= 8 && roll < 0.88\n            ? \"helipad\"\n            : \"modern\";\n\n        buildings.push({\n          gx,\n          gy,\n          height: bHeight,\n          floors,\n          style,\n          upperTierHeight:\n            style === \"stepped\" ? Math.floor(2 + Math.random() * 3) * 10 : 0,\n          hasBeacon: floors >= 8,\n          hasNeonTrim: floors >= 9 && Math.random() < 0.55,\n          beaconPhase: Math.random() * Math.PI * 2,\n          windowsLeft,\n          windowsRight,\n        });\n      }\n    }\n\n    buildings.sort((a, b) => a.gx + a.gy - (b.gx + b.gy));\n    setBuildingCount(buildings.length);\n\n    // Avenue vehicle light-streaks\n    const streaks: TrafficStreak[] = Array.from({ length: N * 4 }, (_, i) => ({\n      axis: i % 2 === 0 ? \"x\" : \"y\",\n      laneIndex: Math.floor(Math.random() * (N + 1)),\n      pos: Math.random() * N,\n      speed: 0.012 + Math.random() * 0.018,\n      dir: Math.random() > 0.5 ? 1 : -1,\n      length: 0.38 + Math.random() * 0.45,\n    }));\n\n    const updateSize = () => {\n      const rect = container.getBoundingClientRect();\n      const dpr = Math.min(window.devicePixelRatio || 1, 2);\n      width = Math.max(1, Math.floor(rect.width));\n      height = Math.max(1, Math.floor(rect.height));\n      canvas.width = width * dpr;\n      canvas.height = height * dpr;\n      ctx.setTransform(dpr, 0, 0, dpr, 0, 0);\n    };\n\n    updateSize();\n    const observer = new ResizeObserver(updateSize);\n    observer.observe(container);\n\n    let time = 0;\n\n    const render = () => {\n      time += 0.03;\n      const theme = PALETTES[palette];\n\n      // 1. Nocturnal Sky & Atmospheric Smog Horizon Glow\n      const bgGrad = ctx.createLinearGradient(0, 0, 0, height);\n      bgGrad.addColorStop(0, theme.bgTop);\n      bgGrad.addColorStop(1, theme.bgBottom);\n      ctx.fillStyle = bgGrad;\n      ctx.fillRect(0, 0, width, height);\n\n      const smog = ctx.createRadialGradient(\n        width * 0.5,\n        height * 0.54,\n        20,\n        width * 0.5,\n        height * 0.54,\n        Math.max(width, height) * 0.55\n      );\n      smog.addColorStop(0, theme.smogGlow);\n      smog.addColorStop(1, \"transparent\");\n      ctx.fillStyle = smog;\n      ctx.fillRect(0, 0, width, height);\n\n      // Isometric projection with subtle mouse-driven camera parallax\n      const tileW = Math.min(width / (N * 1.32), 70);\n      const tileH = tileW * 0.52;\n      const originX = width / 2 + pointerRef.current.x * 16;\n      const originY = height * 0.35 + pointerRef.current.y * 10;\n\n      const isoProject = (gx: number, gy: number, z = 0) => ({\n        x: originX + (gx - gy) * (tileW * 0.5),\n        y: originY + (gx + gy) * (tileH * 0.5) - z,\n      });\n\n      const drawIsoPrism = (\n        x0: number,\n        y0: number,\n        x1: number,\n        y1: number,\n        zBase: number,\n        zTop: number,\n        highlightNeon = false\n      ) => {\n        const tBack = isoProject(x0, y0, zTop);\n        const tRight = isoProject(x1, y0, zTop);\n        const tFront = isoProject(x1, y1, zTop);\n        const tLeft = isoProject(x0, y1, zTop);\n\n        const bRight = isoProject(x1, y0, zBase);\n        const bFront = isoProject(x1, y1, zBase);\n        const bLeft = isoProject(x0, y1, zBase);\n\n        // Left Face\n        ctx.beginPath();\n        ctx.moveTo(tLeft.x, tLeft.y);\n        ctx.lineTo(tFront.x, tFront.y);\n        ctx.lineTo(bFront.x, bFront.y);\n        ctx.lineTo(bLeft.x, bLeft.y);\n        ctx.closePath();\n        ctx.fillStyle = theme.leftFace;\n        ctx.fill();\n        ctx.strokeStyle = theme.edgeStroke;\n        ctx.lineWidth = 0.85;\n        ctx.stroke();\n\n        // Right Face\n        ctx.beginPath();\n        ctx.moveTo(tFront.x, tFront.y);\n        ctx.lineTo(tRight.x, tRight.y);\n        ctx.lineTo(bRight.x, bRight.y);\n        ctx.lineTo(bFront.x, bFront.y);\n        ctx.closePath();\n        ctx.fillStyle = theme.rightFace;\n        ctx.fill();\n        ctx.stroke();\n\n        // Roof Face\n        ctx.beginPath();\n        ctx.moveTo(tBack.x, tBack.y);\n        ctx.lineTo(tRight.x, tRight.y);\n        ctx.lineTo(tFront.x, tFront.y);\n        ctx.lineTo(tLeft.x, tLeft.y);\n        ctx.closePath();\n        ctx.fillStyle = theme.roofFace;\n        ctx.fill();\n        ctx.stroke();\n\n        // Neon architectural roof cornice trim\n        if (highlightNeon) {\n          ctx.save();\n          ctx.beginPath();\n          ctx.moveTo(tLeft.x, tLeft.y);\n          ctx.lineTo(tFront.x, tFront.y);\n          ctx.lineTo(tRight.x, tRight.y);\n          ctx.strokeStyle = theme.neonAccent;\n          ctx.shadowColor = theme.neonAccent;\n          ctx.shadowBlur = 8;\n          ctx.lineWidth = 1.5;\n          ctx.stroke();\n          ctx.restore();\n        }\n      };\n\n      // 2. Ground Avenue Grid & Wet-Street Intersection Glow Pools\n      ctx.strokeStyle = theme.gridLine;\n      ctx.lineWidth = 1.1;\n      for (let i = 0; i <= N; i++) {\n        const startX = isoProject(i, 0, 0);\n        const endX = isoProject(i, N, 0);\n        ctx.beginPath();\n        ctx.moveTo(startX.x, startX.y);\n        ctx.lineTo(endX.x, endX.y);\n        ctx.stroke();\n\n        const startY = isoProject(0, i, 0);\n        const endY = isoProject(N, i, 0);\n        ctx.beginPath();\n        ctx.moveTo(startY.x, startY.y);\n        ctx.lineTo(endY.x, endY.y);\n        ctx.stroke();\n      }\n\n      // Intersection streetlamp reflection pools\n      for (let gx = 0; gx <= N; gx++) {\n        for (let gy = 0; gy <= N; gy++) {\n          const pt = isoProject(gx, gy, 0);\n          const pool = ctx.createRadialGradient(pt.x, pt.y, 1, pt.x, pt.y, 12);\n          pool.addColorStop(0, theme.streetGlow);\n          pool.addColorStop(1, \"transparent\");\n          ctx.fillStyle = pool;\n          ctx.beginPath();\n          ctx.arc(pt.x, pt.y, 12, 0, Math.PI * 2);\n          ctx.fill();\n        }\n      }\n\n      // 3. Bidirectional Avenue Vehicle Light Streaks (Headlights + Taillights)\n      for (let i = 0; i < streaks.length; i++) {\n        const st = streaks[i];\n        st.pos += st.speed * trafficSpeed * st.dir;\n        if (st.pos > N) st.pos = 0;\n        if (st.pos < 0) st.pos = N;\n\n        const tailPos = Math.max(0, Math.min(N, st.pos - st.length * st.dir));\n        const laneOffset = st.dir === 1 ? 0.04 : -0.04;\n        const pHead =\n          st.axis === \"x\"\n            ? isoProject(st.pos, st.laneIndex + laneOffset, 1)\n            : isoProject(st.laneIndex + laneOffset, st.pos, 1);\n        const pTail =\n          st.axis === \"x\"\n            ? isoProject(tailPos, st.laneIndex + laneOffset, 1)\n            : isoProject(st.laneIndex + laneOffset, tailPos, 1);\n\n        const grad = ctx.createLinearGradient(\n          pTail.x,\n          pTail.y,\n          pHead.x,\n          pHead.y\n        );\n        const streakColor = st.dir === 1 ? theme.headlight : theme.taillight;\n        grad.addColorStop(0, \"transparent\");\n        grad.addColorStop(1, streakColor);\n\n        ctx.save();\n        ctx.strokeStyle = grad;\n        ctx.lineWidth = 2.4;\n        ctx.shadowColor = streakColor;\n        ctx.shadowBlur = 9;\n        ctx.beginPath();\n        ctx.moveTo(pTail.x, pTail.y);\n        ctx.lineTo(pHead.x, pHead.y);\n        ctx.stroke();\n        ctx.restore();\n      }\n\n      // 4. Depth-Sorted 3D Isometric Skyscrapers with Architectural Setbacks & Details\n      const pad = 0.14;\n      const bw = 1 - pad * 2;\n\n      for (let i = 0; i < buildings.length; i++) {\n        const b = buildings[i];\n\n        if (windowFlicker && Math.random() < 0.016) {\n          const f = Math.floor(Math.random() * b.floors);\n          const c = Math.floor(Math.random() * 4);\n          if (Math.random() < 0.5) {\n            b.windowsLeft[f][c] = !b.windowsLeft[f][c];\n          } else {\n            b.windowsRight[f][c] = !b.windowsRight[f][c];\n          }\n        }\n\n        const x0 = b.gx + pad;\n        const y0 = b.gy + pad;\n        const x1 = x0 + bw;\n        const y1 = y0 + bw;\n        const h = b.height;\n\n        // Main tower shaft\n        drawIsoPrism(x0, y0, x1, y1, 0, h, b.hasNeonTrim);\n\n        // Draw perspective-projected office windows on main shaft\n        for (let f = 0; f < b.floors; f++) {\n          const zTop = (f + 0.72) * 10;\n          const zBot = (f + 0.24) * 10;\n\n          for (let col = 0; col < 4; col++) {\n            const u0 = (col + 0.22) / 4.4;\n            const u1 = (col + 0.76) / 4.4;\n\n            if (b.windowsLeft[f][col]) {\n              const wl0 = isoProject(x0 + bw * u0, y1, zTop);\n              const wl1 = isoProject(x0 + bw * u1, y1, zTop);\n              const wl2 = isoProject(x0 + bw * u1, y1, zBot);\n              const wl3 = isoProject(x0 + bw * u0, y1, zBot);\n\n              ctx.fillStyle =\n                (f + col) % 3 === 0 ? theme.windowLitB : theme.windowLitA;\n              ctx.globalAlpha = 0.82;\n              ctx.beginPath();\n              ctx.moveTo(wl0.x, wl0.y);\n              ctx.lineTo(wl1.x, wl1.y);\n              ctx.lineTo(wl2.x, wl2.y);\n              ctx.lineTo(wl3.x, wl3.y);\n              ctx.closePath();\n              ctx.fill();\n              ctx.globalAlpha = 1;\n            }\n\n            if (b.windowsRight[f][col]) {\n              const wr0 = isoProject(x1, y0 + bw * u0, zTop);\n              const wr1 = isoProject(x1, y0 + bw * u1, zTop);\n              const wr2 = isoProject(x1, y0 + bw * u1, zBot);\n              const wr3 = isoProject(x1, y0 + bw * u0, zBot);\n\n              ctx.fillStyle =\n                (f + col) % 2 === 0 ? theme.windowLitA : theme.windowLitB;\n              ctx.globalAlpha = 0.58;\n              ctx.beginPath();\n              ctx.moveTo(wr0.x, wr0.y);\n              ctx.lineTo(wr1.x, wr1.y);\n              ctx.lineTo(wr2.x, wr2.y);\n              ctx.lineTo(wr3.x, wr3.y);\n              ctx.closePath();\n              ctx.fill();\n              ctx.globalAlpha = 1;\n            }\n          }\n        }\n\n        // Architectural Upper Setback Tier (Stepped Skyscraper)\n        let topZ = h;\n        if (b.style === \"stepped\" && b.upperTierHeight > 0) {\n          const inset = bw * 0.22;\n          topZ = h + b.upperTierHeight;\n          drawIsoPrism(\n            x0 + inset,\n            y0 + inset,\n            x1 - inset,\n            y1 - inset,\n            h,\n            topZ,\n            true\n          );\n        }\n\n        // Glowing Rooftop Helipad Ring\n        if (b.style === \"helipad\") {\n          const roofCenter = isoProject(x0 + bw * 0.5, y0 + bw * 0.5, topZ + 0.5);\n          ctx.save();\n          ctx.translate(roofCenter.x, roofCenter.y);\n          ctx.scale(1, 0.52);\n          ctx.beginPath();\n          ctx.arc(0, 0, tileW * 0.16, 0, Math.PI * 2);\n          ctx.strokeStyle = theme.neonAccent;\n          ctx.lineWidth = 1.3;\n          ctx.stroke();\n          ctx.restore();\n        }\n\n        // Rooftop Spire & Blinking Aviation Warning Beacon\n        if (b.hasBeacon) {\n          const roofCenter = isoProject(x0 + bw * 0.5, y0 + bw * 0.5, topZ);\n          const hasTallSpire = b.style === \"spire\" || b.style === \"stepped\";\n          const spireTop = isoProject(\n            x0 + bw * 0.5,\n            y0 + bw * 0.5,\n            topZ + (hasTallSpire ? 22 : 5)\n          );\n\n          if (hasTallSpire) {\n            ctx.beginPath();\n            ctx.moveTo(roofCenter.x, roofCenter.y);\n            ctx.lineTo(spireTop.x, spireTop.y);\n            ctx.strokeStyle = \"rgba(226, 232, 240, 0.65)\";\n            ctx.lineWidth = 1.3;\n            ctx.stroke();\n          }\n\n          const pulse =\n            0.35 +\n            0.65 *\n              Math.pow(Math.sin(time * 2.4 + b.beaconPhase) * 0.5 + 0.5, 2);\n          ctx.save();\n          ctx.beginPath();\n          ctx.arc(spireTop.x, spireTop.y, 2.4, 0, Math.PI * 2);\n          ctx.fillStyle = theme.beaconColor;\n          ctx.globalAlpha = pulse;\n          ctx.shadowColor = theme.beaconColor;\n          ctx.shadowBlur = 12;\n          ctx.fill();\n          ctx.restore();\n        }\n      }\n\n      animationFrameId = requestAnimationFrame(render);\n    };\n\n    animationFrameId = requestAnimationFrame(render);\n\n    return () => {\n      cancelAnimationFrame(animationFrameId);\n      observer.disconnect();\n    };\n  }, [propGridSize, propDensity, palette, trafficSpeed, windowFlicker, seed]);\n\n  return (\n    <div\n      ref={containerRef}\n      data-fullscreen-scroll\n      onMouseMove={(e) => {\n        const rect = e.currentTarget.getBoundingClientRect();\n        pointerRef.current = {\n          x: (e.clientX - rect.left) / Math.max(1, rect.width) - 0.5,\n          y: (e.clientY - rect.top) / Math.max(1, rect.height) - 0.5,\n        };\n      }}\n      onMouseLeave={() => {\n        pointerRef.current = { x: 0, y: 0 };\n      }}\n      className={cn(\n        \"relative w-full min-h-[520px] overflow-hidden rounded-2xl border border-sky-500/20 bg-[#020617] text-slate-100 shadow-2xl\",\n        className\n      )}\n    >\n      <canvas\n        ref={canvasRef}\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 h-full w-full\"\n      />\n\n      {children && (\n        <div className=\"relative z-10 flex min-h-[520px] w-full flex-col\">\n          {children}\n        </div>\n      )}\n    </div>\n  );\n}\n\nexport default IsometricCity;\n",
      "type": "registry:ui",
      "target": "components/ui/isometric-city.tsx"
    },
    {
      "path": "lib/utils.ts",
      "content": "import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nexport async function copyToClipboard(text: string): Promise<boolean> {\n  if (typeof window === \"undefined\") return false;\n\n  try {\n    if (navigator.clipboard && window.isSecureContext) {\n      await navigator.clipboard.writeText(text);\n      return true;\n    }\n\n    const textArea = document.createElement(\"textarea\");\n    textArea.value = text;\n    textArea.style.position = \"fixed\";\n    textArea.style.left = \"-999999px\";\n    textArea.style.top = \"-999999px\";\n    document.body.appendChild(textArea);\n    textArea.focus();\n    textArea.select();\n    const succeeded = document.execCommand(\"copy\");\n    textArea.remove();\n    return succeeded;\n  } catch {\n    return false;\n  }\n}\n",
      "type": "registry:lib",
      "target": "lib/utils.ts"
    }
  ]
}
