{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "radial-orbital-timeline",
  "title": "Radial Orbital Timeline",
  "author": "AlgorizeTech",
  "description": "A dynamic orbital visualization component that displays nodes in a circular pattern around a central point. Each node represents a data point with title, status, and energy level.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "https://avaraui.com/r/ui-card.json",
    "utils"
  ],
  "files": [
    {
      "path": "src/components/custom/blocks/RadialOrbitalTimeline.tsx",
      "content": "\"use client\";\n\nimport React, { useState, useEffect, useRef, useMemo } from \"react\";\nimport {\n  ArrowRight,\n  Link as LinkIcon,\n  Zap,\n  Calendar,\n  FileText,\n  Code2,\n  CheckCircle2,\n  Clock,\n  Shield,\n  BarChart3,\n  Cpu,\n  MessageSquare,\n} from \"lucide-react\";\nimport { Card, CardContent, CardHeader, CardTitle } from \"@/components/ui/card\";\nimport { cn } from \"@/lib/utils\";\n\n/* ═══════════════════════════════════════════════\n   TYPES & INTERFACES\n   ═══════════════════════════════════════════════ */\n\nexport interface TimelineItem {\n  id: number;\n  title: string;\n  date: string;\n  content: string;\n  category?: string;\n  icon: React.ElementType;\n  relatedIds: number[];\n  status: \"completed\" | \"in-progress\" | \"pending\";\n  energy: number;\n  color?: string;\n  layer?: \"outer\" | \"inner\";\n}\n\nexport interface RadialOrbitalTimelineProps {\n  timelineData?: TimelineItem[];\n  outerOrbitItems?: TimelineItem[];\n  innerOrbitItems?: TimelineItem[];\n  orbitCount?: 1 | 2;\n  className?: string;\n}\n\n/* ═══════════════════════════════════════════════\n   HELPER UI COMPONENTS (Self-Contained)\n   ═══════════════════════════════════════════════ */\n\nconst Badge = ({ className, children, ...props }: React.HTMLAttributes<HTMLSpanElement>) => (\n  <span\n    className={cn(\"inline-flex items-center justify-center rounded-full px-2 py-0.5 text-xs font-semibold transition-colors border\", className)}\n    {...props}\n  >\n    {children}\n  </span>\n);\n\nconst Button = ({\n  className,\n  children,\n  ...props\n}: React.ButtonHTMLAttributes<HTMLButtonElement> & { variant?: string; size?: string }) => (\n  <button\n    className={cn(\n      \"inline-flex items-center justify-center font-medium transition-colors cursor-pointer disabled:opacity-50\",\n      className,\n    )}\n    {...props}\n  >\n    {children}\n  </button>\n);\n\n/* ═══════════════════════════════════════════════\n   DEFAULT SAMPLE DATA (5 Outer Orbit, 5 Inner Orbit)\n   ═══════════════════════════════════════════════ */\n\nconst DEFAULT_TIMELINE_DATA: TimelineItem[] = [\n  // Outer Orbit (5 items - indices 0, 2, 4, 6, 8)\n  {\n    id: 1,\n    title: \"Planning\",\n    date: \"Jan 2024\",\n    content: \"Project scope definition, requirements gathering, and initial architecture design.\",\n    category: \"Phase 1\",\n    icon: Calendar,\n    relatedIds: [2],\n    status: \"completed\",\n    energy: 100,\n    color: \"bg-blue-500 text-white border-blue-400\",\n  },\n  {\n    id: 2,\n    title: \"Research\",\n    date: \"Feb 2024\",\n    content: \"Competitive analysis, user persona creation, and market trend studies.\",\n    category: \"Phase 1.5\",\n    icon: Zap,\n    relatedIds: [3],\n    status: \"completed\",\n    energy: 90,\n    color: \"bg-purple-500 text-white border-purple-400\",\n  },\n  {\n    id: 3,\n    title: \"Design\",\n    date: \"Mar 2024\",\n    content: \"High-fidelity UI/UX design systems, interactive prototypes, and component specs.\",\n    category: \"Phase 2\",\n    icon: FileText,\n    relatedIds: [4],\n    status: \"completed\",\n    energy: 85,\n    color: \"bg-pink-500 text-white border-pink-400\",\n  },\n  {\n    id: 4,\n    title: \"Security\",\n    date: \"Apr 2024\",\n    content: \"Vulnerability assessment, encryption protocol setup, and compliance checks.\",\n    category: \"Phase 2.5\",\n    icon: Shield,\n    relatedIds: [5],\n    status: \"in-progress\",\n    energy: 75,\n    color: \"bg-amber-500 text-white border-amber-400\",\n  },\n  {\n    id: 5,\n    title: \"Development\",\n    date: \"May 2024\",\n    content: \"Core frontend component construction, state management, and backend API integration.\",\n    category: \"Phase 3\",\n    icon: Code2,\n    relatedIds: [6],\n    status: \"in-progress\",\n    energy: 60,\n    color: \"bg-emerald-500 text-white border-emerald-400\",\n  },\n  {\n    id: 6,\n    title: \"Analytics\",\n    date: \"Jun 2024\",\n    content: \"Real-time telemetry logging, event tracking instrumentation, and metrics dashboards.\",\n    category: \"Phase 3.5\",\n    icon: BarChart3,\n    relatedIds: [7],\n    status: \"in-progress\",\n    energy: 50,\n    color: \"bg-cyan-500 text-white border-cyan-400\",\n  },\n  {\n    id: 7,\n    title: \"Testing\",\n    date: \"Jul 2024\",\n    content: \"Automated unit tests, end-to-end user journey validation, and cross-browser testing.\",\n    category: \"Phase 4\",\n    icon: CheckCircle2,\n    relatedIds: [8],\n    status: \"in-progress\",\n    energy: 40,\n    color: \"bg-indigo-500 text-white border-indigo-400\",\n  },\n  {\n    id: 8,\n    title: \"Optimization\",\n    date: \"Aug 2024\",\n    content: \"Performance tuning, bundle size reduction, and asset caching strategy implementation.\",\n    category: \"Phase 4.5\",\n    icon: Cpu,\n    relatedIds: [9],\n    status: \"pending\",\n    energy: 30,\n    color: \"bg-orange-500 text-white border-orange-400\",\n  },\n  {\n    id: 9,\n    title: \"Release\",\n    date: \"Sep 2024\",\n    content: \"Final deployment and release to production environment with continuous monitoring.\",\n    category: \"Phase 5\",\n    icon: Clock,\n    relatedIds: [10],\n    status: \"pending\",\n    energy: 20,\n    color: \"bg-rose-500 text-white border-rose-400\",\n  },\n  {\n    id: 10,\n    title: \"Feedback\",\n    date: \"Oct 2024\",\n    content: \"User review collection, post-launch analytics evaluation, and iterative backlog planning.\",\n    category: \"Phase 5.5\",\n    icon: MessageSquare,\n    relatedIds: [1],\n    status: \"pending\",\n    energy: 10,\n    color: \"bg-teal-500 text-white border-teal-400\",\n  },\n];\n\n/* ═══════════════════════════════════════════════\n   MAIN COMPONENT\n   ═══════════════════════════════════════════════ */\n\nexport default function RadialOrbitalTimeline({\n  timelineData,\n  outerOrbitItems,\n  innerOrbitItems,\n  orbitCount,\n  className,\n}: RadialOrbitalTimelineProps) {\n  const [expandedItems, setExpandedItems] = useState<Record<number, boolean>>({});\n  const [viewMode] = useState<\"orbital\">(\"orbital\");\n  const [rotationAngle, setRotationAngle] = useState<number>(0);\n  const [autoRotate, setAutoRotate] = useState<boolean>(true);\n  const [pulseEffect, setPulseEffect] = useState<Record<number, boolean>>({});\n  const [centerOffset] = useState<{ x: number; y: number }>({\n    x: 0,\n    y: 0,\n  });\n  const [activeNodeId, setActiveNodeId] = useState<number | null>(null);\n  const [isMobile, setIsMobile] = useState<boolean>(false);\n  const containerRef = useRef<HTMLDivElement>(null);\n  const orbitRef = useRef<HTMLDivElement>(null);\n  const nodeRefs = useRef<Record<number, HTMLDivElement | null>>({});\n\n  // Determine effective orbit count\n  const effectiveOrbitCount = useMemo(() => {\n    if (orbitCount === 1) return 1;\n    if (orbitCount === 2) return 2;\n    if (innerOrbitItems && innerOrbitItems.length > 0) return 2;\n    return 2;\n  }, [orbitCount, innerOrbitItems]);\n\n  // Process outer and inner items flexibly from props\n  const { outerList, innerList, allItems } = useMemo(() => {\n    let outer: TimelineItem[] = [];\n    let inner: TimelineItem[] = [];\n\n    if (effectiveOrbitCount === 1) {\n      const source =\n        outerOrbitItems && outerOrbitItems.length > 0\n          ? outerOrbitItems\n          : timelineData && timelineData.length > 0\n            ? timelineData\n            : DEFAULT_TIMELINE_DATA;\n      outer = source.map((item) => ({ ...item, layer: \"outer\" as const }));\n    } else {\n      if (outerOrbitItems && outerOrbitItems.length > 0) {\n        outer = outerOrbitItems.map((item) => ({ ...item, layer: \"outer\" as const }));\n      }\n      if (innerOrbitItems && innerOrbitItems.length > 0) {\n        inner = innerOrbitItems.map((item) => ({ ...item, layer: \"inner\" as const }));\n      }\n\n      if (outer.length === 0 && inner.length === 0) {\n        const source = timelineData && timelineData.length > 0 ? timelineData : DEFAULT_TIMELINE_DATA;\n        const explicitOuter = source.filter((item) => item.layer === \"outer\");\n        const explicitInner = source.filter((item) => item.layer === \"inner\");\n\n        if (explicitOuter.length > 0 || explicitInner.length > 0) {\n          outer = explicitOuter;\n          inner = explicitInner;\n        } else {\n          source.forEach((item, idx) => {\n            if (idx % 2 === 0) outer.push({ ...item, layer: \"outer\" });\n            else inner.push({ ...item, layer: \"inner\" });\n          });\n        }\n      }\n    }\n\n    const combined = [...outer, ...inner];\n    return { outerList: outer, innerList: inner, allItems: combined };\n  }, [timelineData, outerOrbitItems, innerOrbitItems, effectiveOrbitCount]);\n\n  useEffect(() => {\n    const checkMobile = () => {\n      setIsMobile(window.innerWidth < 640);\n    };\n    checkMobile();\n    window.addEventListener(\"resize\", checkMobile);\n    return () => window.removeEventListener(\"resize\", checkMobile);\n  }, []);\n\n  const handleContainerClick = (e: React.MouseEvent<HTMLDivElement>) => {\n    if (e.target === containerRef.current || e.target === orbitRef.current) {\n      setExpandedItems({});\n      setActiveNodeId(null);\n      setPulseEffect({});\n      setAutoRotate(true);\n    }\n  };\n\n  const toggleItem = (id: number) => {\n    setExpandedItems((prev) => {\n      const newState = { ...prev };\n      Object.keys(newState).forEach((key) => {\n        if (parseInt(key) !== id) {\n          newState[parseInt(key)] = false;\n        }\n      });\n\n      newState[id] = !prev[id];\n\n      if (!prev[id]) {\n        setActiveNodeId(id);\n        setAutoRotate(false);\n\n        const relatedItems = getRelatedItems(id);\n        const newPulseEffect: Record<number, boolean> = {};\n        relatedItems.forEach((relId) => {\n          newPulseEffect[relId] = true;\n        });\n        setPulseEffect(newPulseEffect);\n\n        centerViewOnNode(id);\n      } else {\n        setActiveNodeId(null);\n        setAutoRotate(true);\n        setPulseEffect({});\n      }\n\n      return newState;\n    });\n  };\n\n  // Smooth 60FPS Rotation via requestAnimationFrame (avoids timer throttling & lag jumps)\n  const requestRef = useRef<number | null>(null);\n  const previousTimeRef = useRef<number | null>(null);\n\n  useEffect(() => {\n    const animateRotation = (time: number) => {\n      if (previousTimeRef.current !== null) {\n        const deltaTime = time - previousTimeRef.current;\n        // Smooth 60fps constant angular velocity (12 deg/sec)\n        setRotationAngle((prev) => (prev + (12 * deltaTime) / 1000) % 360);\n      }\n      previousTimeRef.current = time;\n      requestRef.current = requestAnimationFrame(animateRotation);\n    };\n\n    if (autoRotate && viewMode === \"orbital\") {\n      previousTimeRef.current = null;\n      requestRef.current = requestAnimationFrame(animateRotation);\n    } else if (requestRef.current !== null) {\n      cancelAnimationFrame(requestRef.current);\n    }\n\n    return () => {\n      if (requestRef.current !== null) {\n        cancelAnimationFrame(requestRef.current);\n      }\n    };\n  }, [autoRotate, viewMode]);\n\n  const centerViewOnNode = (nodeId: number) => {\n    if (viewMode !== \"orbital\" || !nodeRefs.current[nodeId]) return;\n\n    const targetItem = allItems.find((item) => item.id === nodeId);\n    if (!targetItem) return;\n\n    const isInnerLayer = targetItem.layer === \"inner\";\n    const layerList = isInnerLayer ? innerList : outerList;\n    const itemIndexInLayer = Math.max(0, layerList.findIndex((i) => i.id === nodeId));\n    const itemsOnThisLayer = layerList.length || 1;\n    const initialAngleOffset = isInnerLayer ? 36 : 0;\n\n    const targetAngle = (itemIndexInLayer / itemsOnThisLayer) * 360 + initialAngleOffset;\n\n    if (isInnerLayer) {\n      setRotationAngle(-(270 - targetAngle));\n    } else {\n      setRotationAngle(270 - targetAngle);\n    }\n  };\n\n  const calculateNodePosition = (item: TimelineItem) => {\n    const isInnerLayer = item.layer === \"inner\";\n    const layerList = isInnerLayer ? innerList : outerList;\n    const itemIndexInLayer = Math.max(0, layerList.findIndex((i) => i.id === item.id));\n    const itemsOnThisLayer = layerList.length || 1;\n\n    const outerRadius = isMobile ? 115 : 210;\n    const innerRadius = isMobile ? 70 : 130;\n    const radius = isInnerLayer ? innerRadius : outerRadius;\n    const directionMultiplier = isInnerLayer ? -1 : 1;\n    const initialAngleOffset = isInnerLayer ? 36 : 0;\n\n    const angle =\n      ((itemIndexInLayer / itemsOnThisLayer) * 360 + initialAngleOffset + rotationAngle * directionMultiplier) % 360;\n    const radian = (angle * Math.PI) / 180;\n\n    const x = radius * Math.cos(radian) + centerOffset.x;\n    const y = radius * Math.sin(radian) + centerOffset.y;\n\n    const zIndex = Math.round(100 + 50 * Math.cos(radian));\n    const opacity = 1;\n\n    return { x, y, angle, zIndex, opacity, isInnerLayer };\n  };\n\n  const getRelatedItems = (itemId: number): number[] => {\n    const currentItem = allItems.find((item) => item.id === itemId);\n    return currentItem ? currentItem.relatedIds : [];\n  };\n\n  const isRelatedToActive = (itemId: number): boolean => {\n    if (!activeNodeId) return false;\n    const relatedItems = getRelatedItems(activeNodeId);\n    return relatedItems.includes(itemId);\n  };\n\n  const getStatusStyles = (status: TimelineItem[\"status\"]): string => {\n    switch (status) {\n      case \"completed\":\n        return \"text-primary bg-primary/10 border-primary/30\";\n      case \"in-progress\":\n        return \"text-emerald-700 bg-emerald-100 border-emerald-300 dark:text-emerald-300 dark:bg-emerald-950/60 dark:border-emerald-800\";\n      case \"pending\":\n        return \"text-muted-foreground bg-muted border-border\";\n      default:\n        return \"text-muted-foreground bg-muted border-border\";\n    }\n  };\n\n  return (\n    <div\n      className={cn(\n        \"w-full h-[650px] sm:h-[720px] flex flex-col items-center justify-center bg-background text-foreground overflow-hidden rounded-3xl border border-border relative selection:bg-primary/20\",\n        className,\n      )}\n      ref={containerRef}\n      onClick={handleContainerClick}\n    >\n      <div className=\"relative w-full max-w-4xl h-full flex items-center justify-center\">\n        <div\n          className=\"absolute w-full h-full flex items-center justify-center\"\n          ref={orbitRef}\n          style={{\n            perspective: \"1000px\",\n            transform: `translate(${centerOffset.x}px, ${centerOffset.y}px)`,\n          }}\n        >\n          {/* Central Nucleus (Ultra-Stylish Modern Pulse with Rotating Halo) */}\n          <div className=\"absolute w-14 h-14 sm:w-20 sm:h-20 rounded-full bg-transparent flex items-center justify-center z-10 pointer-events-none\">\n            {/* Outer Rotating Sci-Fi Dashed Halo Ring */}\n            <div className=\"absolute inset-0 rounded-full border border-dashed border-primary/40 animate-[spin_12s_linear_infinite]\" />\n\n            {/* Staggered Concentric Border Pulse Rings */}\n            <div className=\"absolute w-12 h-12 sm:w-16 sm:h-16 rounded-full border-2 border-primary/60 animate-ping opacity-60 pointer-events-none\" />\n            <div\n              className=\"absolute w-14 h-14 sm:w-20 sm:h-20 rounded-full border border-primary/30 animate-ping opacity-40 pointer-events-none\"\n              style={{ animationDelay: \"0.7s\" }}\n            />\n\n            {/* Core Center Dot */}\n            <div className=\"w-6 h-6 sm:w-8 sm:h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center shadow-lg shadow-primary/30 relative z-10\">\n              <div className=\"w-2.5 h-2.5 sm:w-3 sm:h-3 rounded-full bg-primary-foreground animate-pulse\" />\n            </div>\n          </div>\n\n          {/* Outer Orbital Circle Line (ONLY line is kept 100% rounded circle at all times) */}\n          <div\n            className=\"keep-rounded rounded-full absolute border border-foreground/15 pointer-events-none transition-all duration-300\"\n            style={{\n              width: isMobile ? \"230px\" : \"420px\",\n              height: isMobile ? \"230px\" : \"420px\",\n            }}\n          ></div>\n\n          {/* Inner Orbital Circle Line (Only shown when effectiveOrbitCount === 2) */}\n          {effectiveOrbitCount === 2 && (\n            <div\n              className=\"keep-rounded rounded-full absolute border border-dashed border-foreground/20 pointer-events-none transition-all duration-300\"\n              style={{\n                width: isMobile ? \"140px\" : \"260px\",\n                height: isMobile ? \"140px\" : \"260px\",\n              }}\n            ></div>\n          )}\n\n          {/* Timeline Nodes */}\n          {allItems.map((item, index) => {\n            const position = calculateNodePosition(item);\n            const isExpanded = expandedItems[item.id];\n            const isRelated = isRelatedToActive(item.id);\n            const isPulsing = pulseEffect[item.id];\n            const Icon = item.icon;\n\n            const defaultColors = [\n              \"bg-blue-500 text-white border-blue-400 dark:border-blue-300\",\n              \"bg-purple-500 text-white border-purple-400 dark:border-purple-300\",\n              \"bg-pink-500 text-white border-pink-400 dark:border-pink-300\",\n              \"bg-amber-500 text-white border-amber-400 dark:border-amber-300\",\n              \"bg-emerald-500 text-white border-emerald-400 dark:border-emerald-300\",\n              \"bg-cyan-500 text-white border-cyan-400 dark:border-cyan-300\",\n              \"bg-indigo-500 text-white border-indigo-400 dark:border-indigo-300\",\n              \"bg-orange-500 text-white border-orange-400 dark:border-orange-300\",\n              \"bg-rose-500 text-white border-rose-400 dark:border-rose-300\",\n              \"bg-teal-500 text-white border-teal-400 dark:border-teal-300\",\n            ];\n            const badgeColor = item.color || defaultColors[index % defaultColors.length];\n\n            const nodeStyle = {\n              transform: `translate(${position.x}px, ${position.y}px)`,\n              zIndex: isExpanded ? 200 : position.zIndex,\n              opacity: isExpanded ? 1 : position.opacity,\n            };\n\n            return (\n              <div\n                key={item.id}\n                ref={(el) => {\n                  nodeRefs.current[item.id] = el;\n                }}\n                className={cn(\n                  \"absolute cursor-pointer\",\n                  !autoRotate && \"transition-all duration-700 ease-out\",\n                )}\n                style={nodeStyle}\n                onClick={(e) => {\n                  e.stopPropagation();\n                  toggleItem(item.id);\n                }}\n              >\n                {/* Energy Pulse Aura */}\n                <div\n                  className={`absolute left-0 top-0 -translate-x-1/2 -translate-y-1/2 pointer-events-none rounded-full ${\n                    isPulsing ? \"animate-pulse duration-1000\" : \"\"\n                  }`}\n                  style={{\n                    background: `radial-gradient(circle, color-mix(in oklab, var(--primary) 25%, transparent) 0%, transparent 70%)`,\n                    width: isMobile ? `${item.energy * 0.35 + 28}px` : `${item.energy * 0.5 + 40}px`,\n                    height: isMobile ? `${item.energy * 0.35 + 28}px` : `${item.energy * 0.5 + 40}px`,\n                  }}\n                ></div>\n\n                {/* Node Icon Badge */}\n                <div\n                  className={cn(\n                    \"absolute top-0 left-0 -translate-x-1/2 -translate-y-1/2 rounded-full flex items-center justify-center shrink-0 z-10 border-2 transition-all duration-300 transform shadow-md\",\n                    isMobile ? \"w-7 h-7\" : \"w-10 h-10\",\n                    badgeColor,\n                    isExpanded && (isMobile ? \"scale-125 ring-2 ring-primary/40 shadow-lg shadow-primary/30 border-white\" : \"scale-150 ring-4 ring-primary/40 shadow-xl shadow-primary/30 border-white\"),\n                    isRelated && !isExpanded && \"ring-2 ring-primary/30\",\n                  )}\n                >\n                  <Icon size={isMobile ? 12 : 16} />\n                </div>\n\n                {/* Node Title Label (Hangs centered below icon) */}\n                <div\n                  className={`\n                  absolute left-1/2 -translate-x-1/2 whitespace-nowrap tracking-wider transition-all duration-300 pointer-events-none\n                  ${isMobile ? \"text-[10px]\" : \"text-xs font-semibold\"}\n                  ${\n                    isExpanded\n                      ? isMobile ? \"top-5 text-primary font-semibold scale-105\" : \"top-10 text-primary font-semibold scale-110\"\n                      : isMobile ? \"top-4 text-muted-foreground\" : \"top-7 text-muted-foreground\"\n                  }\n                `}\n                >\n                  {item.title}\n                </div>\n\n                {/* Expanded Card Popover */}\n                {isExpanded && (\n                  <Card className=\"absolute top-16 left-1/2 -translate-x-1/2 w-64 bg-popover/95 backdrop-blur-lg border-border shadow-2xl shadow-zinc-900/10 dark:shadow-white/10 overflow-visible text-popover-foreground z-50\">\n                    <div className=\"absolute -top-3 left-1/2 -translate-x-1/2 w-px h-3 bg-primary/80\"></div>\n                    <CardHeader className=\"pb-2\">\n                      <div className=\"flex justify-between items-center\">\n                        <Badge\n                          className={`px-2 text-xs font-semibold ${getStatusStyles(\n                            item.status\n                          )}`}\n                        >\n                          {item.status === \"completed\"\n                            ? \"COMPLETE\"\n                            : item.status === \"in-progress\"\n                            ? \"IN PROGRESS\"\n                            : \"PENDING\"}\n                        </Badge>\n                        <span className=\"text-xs font-mono text-muted-foreground\">\n                          {item.date}\n                        </span>\n                      </div>\n                      <CardTitle className=\"text-sm mt-2 font-semibold text-popover-foreground\">\n                        {item.title}\n                      </CardTitle>\n                    </CardHeader>\n                    <CardContent className=\"text-xs text-muted-foreground\">\n                      <p>{item.content}</p>\n\n                      <div className=\"mt-4 pt-3 border-t border-border\">\n                        <div className=\"flex justify-between items-center text-xs mb-1\">\n                          <span className=\"flex items-center text-foreground/90\">\n                            <Zap size={10} className=\"mr-1 text-primary\" />\n                            Energy Level\n                          </span>\n                          <span className=\"font-mono font-semibold text-foreground\">{item.energy}%</span>\n                        </div>\n                        <div className=\"w-full h-1 bg-muted rounded-full overflow-hidden\">\n                          <div\n                            className=\"h-full bg-primary\"\n                            style={{ width: `${item.energy}%` }}\n                          ></div>\n                        </div>\n                      </div>\n\n                      {item.relatedIds.length > 0 && (\n                        <div className=\"mt-4 pt-3 border-t border-border\">\n                          <div className=\"flex items-center mb-2\">\n                            <LinkIcon size={10} className=\"text-muted-foreground mr-1\" />\n                            <h4 className=\"text-xs uppercase tracking-wider font-medium text-muted-foreground\">\n                              Connected Nodes\n                            </h4>\n                          </div>\n                          <div className=\"flex flex-wrap gap-1\">\n                            {item.relatedIds.map((relatedId) => {\n                              const relatedItem = allItems.find(\n                                (i) => i.id === relatedId\n                              );\n                              return (\n                                <Button\n                                  key={relatedId}\n                                  variant=\"outline\"\n                                  size=\"sm\"\n                                  className=\"flex items-center h-6 px-2 py-0 text-xs rounded-none border-border bg-muted hover:bg-primary/10 hover:border-primary/40 hover:text-primary text-foreground/80 transition-all\"\n                                  onClick={(e) => {\n                                    e.stopPropagation();\n                                    toggleItem(relatedId);\n                                  }}\n                                >\n                                  {relatedItem?.title}\n                                  <ArrowRight\n                                    size={8}\n                                    className=\"ml-1 text-primary\"\n                                  />\n                                </Button>\n                              );\n                            })}\n                          </div>\n                        </div>\n                      )}\n                    </CardContent>\n                  </Card>\n                )}\n              </div>\n            );\n          })}\n        </div>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/custom/blocks/RadialOrbitalTimeline.tsx"
    }
  ],
  "docs": "Named export: RadialOrbitalTimeline. `nodes` take { id, title, date, status, energyLevel, description, icon?, connectedNodes? }. Click or hover nodes to reveal inspector popover card. Supports `autoRotate`, `rotationSpeed`, and custom accent colors.",
  "categories": [
    "data-display",
    "marketing"
  ],
  "type": "registry:component"
}
