{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-trophy",
  "title": "Trophy",
  "description": "Animated Lucide trophy icon — draws on, then hoists: the cup hops with a pop at the apex while its handles flash in.",
  "dependencies": ["remotion"],
  "registryDependencies": ["@remocn/icons-core"],
  "files": [
    {
      "path": "registry/remocn-icons/icon-trophy/index.tsx",
      "content": "\"use client\";\n\nimport { Easing, interpolate } from \"remotion\";\nimport {\n  drawnPathProps,\n  type IconAnimationProps,\n  useIconAnimation,\n} from \"@/lib/remocn-icons\";\n\nconst CUP_PATH = \"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z\";\nconst LEG_LEFT_PATH = \"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978\";\nconst LEG_RIGHT_PATH =\n  \"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978\";\nconst BASE_PATH = \"M4 22h16\";\nconst HANDLE_LEFT_PATH = \"M6 9H4.5a1 1 0 0 1 0-5H6\";\nconst HANDLE_RIGHT_PATH = \"M18 9h1.5a1 1 0 0 0 0-5H18\";\n\nconst CENTER = 12;\n\nconst TIMINGS = {\n  drawDurationInFrames: 18,\n  actionDelayInFrames: 2,\n  actionDurationInFrames: 24,\n  loop: false,\n} as const;\n\nexport function TrophyIcon({\n  animation = \"both\",\n  loop,\n  speed,\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: IconAnimationProps) {\n  const { drawProgress, scaleIn, actionProgress, actionFrame } =\n    useIconAnimation({ animation, loop, speed }, TIMINGS);\n\n  const linearDraw = 1 - (1 - drawProgress) ** (1 / 3);\n  const acting = animation !== \"draw\" && actionFrame >= 0;\n\n  const cupDraw = interpolate(linearDraw, [0, 0.78], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n  const legDraw = interpolate(linearDraw, [0.56, 1], [0, 1], {\n    extrapolateLeft: \"clamp\",\n    extrapolateRight: \"clamp\",\n    easing: Easing.out(Easing.quad),\n  });\n\n  const hop = acting\n    ? interpolate(actionProgress, [0, 0.4, 1], [0, -3, 0], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 0;\n  const pop = acting\n    ? interpolate(actionProgress, [0, 0.4, 0.75, 1], [1, 1.08, 1, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.inOut(Easing.quad),\n      })\n    : 1;\n  const handleDraw = acting\n    ? interpolate(actionProgress, [0.1, 0.6], [0, 1], {\n        extrapolateLeft: \"clamp\",\n        extrapolateRight: \"clamp\",\n        easing: Easing.out(Easing.quad),\n      })\n    : 0;\n\n  const cup = drawnPathProps(CUP_PATH, acting ? 1 : cupDraw);\n  const legLeft = drawnPathProps(LEG_LEFT_PATH, acting ? 1 : legDraw);\n  const legRight = drawnPathProps(LEG_RIGHT_PATH, acting ? 1 : legDraw);\n  const base = drawnPathProps(BASE_PATH, acting ? 1 : legDraw);\n  const handleLeft = drawnPathProps(HANDLE_LEFT_PATH, handleDraw);\n  const handleRight = drawnPathProps(HANDLE_RIGHT_PATH, handleDraw);\n\n  const scale = 0.85 + 0.15 * scaleIn;\n  const hoistTransform = `translate(${CENTER * (1 - pop)} ${CENTER * (1 - pop) + hop}) scale(${pop})`;\n\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      style={{\n        overflow: \"visible\",\n        transformOrigin: \"center\",\n        transform: `scale(${scale})`,\n      }}\n    >\n      <g transform={hoistTransform}>\n        <path\n          d={HANDLE_LEFT_PATH}\n          strokeDasharray={handleLeft.strokeDasharray}\n          strokeDashoffset={handleLeft.strokeDashoffset}\n        />\n        <path\n          d={HANDLE_RIGHT_PATH}\n          strokeDasharray={handleRight.strokeDasharray}\n          strokeDashoffset={handleRight.strokeDashoffset}\n        />\n        <path\n          d={CUP_PATH}\n          strokeDasharray={cup.strokeDasharray}\n          strokeDashoffset={cup.strokeDashoffset}\n        />\n        <path\n          d={LEG_LEFT_PATH}\n          strokeDasharray={legLeft.strokeDasharray}\n          strokeDashoffset={legLeft.strokeDashoffset}\n        />\n        <path\n          d={LEG_RIGHT_PATH}\n          strokeDasharray={legRight.strokeDasharray}\n          strokeDashoffset={legRight.strokeDashoffset}\n        />\n        <path\n          d={BASE_PATH}\n          strokeDasharray={base.strokeDasharray}\n          strokeDashoffset={base.strokeDashoffset}\n        />\n      </g>\n    </svg>\n  );\n}\n\nexport function TrophyIconStatic({\n  size = 48,\n  color = \"currentColor\",\n  strokeWidth = 2,\n  className,\n}: {\n  size?: number;\n  color?: string;\n  strokeWidth?: number;\n  className?: string;\n}) {\n  return (\n    <svg\n      className={className}\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke={color}\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n    >\n      <path d=\"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978\" />\n      <path d=\"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978\" />\n      <path d=\"M18 9h1.5a1 1 0 0 0 0-5H18\" />\n      <path d=\"M4 22h16\" />\n      <path d=\"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z\" />\n      <path d=\"M6 9H4.5a1 1 0 0 1 0-5H6\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/remocn/icon-trophy.tsx"
    }
  ],
  "type": "registry:component"
}
