{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "notification-off",
  "type": "registry:ui",
  "addGlobalCss": false,
  "registryDependencies": [],
  "dependencies": [
    "motion"
  ],
  "devDependencies": [],
  "files": [
    {
      "path": "notification-off-icon.tsx",
      "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport type { Variants } from \"motion/react\";\nimport {\n LazyMotion,\n domMin,\n m,\n useAnimation,\n useReducedMotion,\n} from \"motion/react\";\nimport {\n forwardRef,\n useCallback,\n useImperativeHandle,\n useRef,\n type HTMLAttributes,\n} from \"react\";\nexport interface NotificationOffIconHandle {\n startAnimation: () => void;\n stopAnimation: () => void;\n}\n\ninterface NotificationOffIconProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n | \"color\"\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> {\n size?: number;\n duration?: number;\n isAnimated?: boolean;\n color?: string;\n}\n\nconst NotificationOffIcon = forwardRef<\n NotificationOffIconHandle,\n NotificationOffIconProps\n>(\n (\n  {\n   onMouseEnter,\n   onMouseLeave,\n   className,\n   size = 24,\n   duration = 1,\n   isAnimated = true,\n   color,\n   ...props\n  },\n  ref,\n ) => {\n  const controls = useAnimation();\n  const reduced = useReducedMotion();\n  const isControlled = useRef(false);\n\n  useImperativeHandle(ref, () => {\n   isControlled.current = true;\n   return {\n    startAnimation: () =>\n     reduced ? controls.start(\"normal\") : controls.start(\"animate\"),\n    stopAnimation: () => controls.start(\"normal\"),\n   };\n  });\n\n  const handleEnter = useCallback(\n   (e?: React.MouseEvent<HTMLDivElement>) => {\n    if (!isAnimated || reduced) return;\n    if (!isControlled.current) controls.start(\"animate\");\n    else onMouseEnter?.(e as any);\n   },\n   [controls, reduced, isAnimated, onMouseEnter],\n  );\n\n  const handleLeave = useCallback(\n   (e: React.MouseEvent<HTMLDivElement>) => {\n    if (!isControlled.current) controls.start(\"normal\");\n    else onMouseLeave?.(e as any);\n   },\n   [controls, onMouseLeave],\n  );\n\n  const bellVariants: Variants = {\n   normal: { rotate: 0 },\n   animate: {\n    rotate: [0, 4, -6, 4, -2, 0],\n    transition: {\n     duration: 1 * duration,\n     ease: \"easeInOut\",\n     times: [0, 0.16, 0.36, 0.58, 0.8, 1],\n    },\n   },\n  };\n\n  const clapperVariants: Variants = {\n   normal: { x: 0 },\n   animate: {\n    x: [0, 1, -1.5, 1, -0.5, 0],\n    transition: {\n     duration: 1 * duration,\n     ease: \"easeInOut\",\n     times: [0, 0.16, 0.36, 0.58, 0.8, 1],\n     delay: 0.08 * duration,\n    },\n   },\n  };\n\n  const slashVariants: Variants = {\n   normal: { pathLength: 1, opacity: 1 },\n   animate: {\n    pathLength: [0, 1],\n    opacity: [0, 1],\n    transition: {\n     pathLength: {\n      duration: 0.9 * duration,\n      ease: [0.16, 1, 0.3, 1],\n      delay: 0.1 * duration,\n     },\n     opacity: { duration: 0.18 * duration, delay: 0.1 * duration },\n    },\n   },\n  };\n\n  return (\n   <LazyMotion features={domMin} strict>\n    <m.div\n     className={cn(\"relative inline-flex\", className)}\n     onMouseEnter={handleEnter}\n     onMouseLeave={handleLeave}\n     {...props}\n     style={{ color, ...props.style }}\n    >\n     <m.svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      animate={controls}\n      initial=\"normal\"\n      variants={bellVariants}\n      style={{ originX: 0.5, originY: 0.15 }}\n     >\n      <m.path\n       d=\"M15.5 18C15.5 19.933 13.933 21.5 12 21.5C10.067 21.5 8.5 19.933 8.5 18\"\n       variants={clapperVariants}\n      />\n\n      <m.path d=\"M2 2L22 22\" variants={slashVariants} />\n\n      <path d=\"M21 16.2311C21 15.762 20.8136 15.3121 20.4819 14.9803L19.8787 14.3771C19.3161 13.8145 19 13.0514 19 12.2558V9.5C19 5.634 15.866 2.5 12 2.5C10.4497 2.5 9.01706 3.00399 7.85707 3.85707M4.76887 18C3.79195 18 3 17.208 3 16.2311C3 15.762 3.18636 15.3121 3.51809 14.9803L4.12132 14.3771C4.68393 13.8145 5 13.0514 5 12.2558V9.5C5 8.20839 5.34981 6.99849 5.95987 5.95987L18 18H4.76887Z\" />\n     </m.svg>\n    </m.div>\n   </LazyMotion>\n  );\n },\n);\n\nNotificationOffIcon.displayName = \"NotificationOffIcon\";\nexport { NotificationOffIcon };\n",
      "type": "registry:ui"
    }
  ]
}