import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const PostHog: IconComponent = React.forwardRef<
  SVGSVGElement,
  IconProps
>(function PostHog(
  {
    color = "currentColor",
    fill,
    size = 24,
    strokeWidth,
    strokeLinecap,
    strokeLinejoin,
    strokeDasharray,
    opacity,
    className,
    ...props
  },
  forwardedRef,
) {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      strokeWidth={strokeWidth}
      strokeLinecap={strokeLinecap}
      strokeLinejoin={strokeLinejoin}
      strokeDasharray={strokeDasharray}
      opacity={opacity}
      {...props}
      ref={forwardedRef}
    >
      <path
        d="M5.22772 13.0295C5.18782 13.1069 5.12654 13.172 5.05076 13.2175C4.97497 13.2629 4.88767 13.287 4.7986 13.287C4.70954 13.287 4.62223 13.2629 4.54645 13.2175C4.47066 13.172 4.40939 13.1069 4.36948 13.0295L3.94612 12.2067C3.91283 12.142 3.8955 12.0705 3.8955 11.9981C3.8955 11.9257 3.91283 11.8543 3.94612 11.7895L4.36948 10.9668C4.40939 10.8894 4.47066 10.8243 4.54645 10.7788C4.62223 10.7333 4.70954 10.7092 4.7986 10.7092C4.88767 10.7092 4.97497 10.7333 5.05076 10.7788C5.12654 10.8243 5.18782 10.8894 5.22772 10.9668L5.65108 11.7895C5.68437 11.8543 5.70171 11.9257 5.70171 11.9981C5.70171 12.0705 5.68437 12.142 5.65108 12.2067L5.22772 13.0295ZM5.22772 17.6947C5.18782 17.7721 5.12654 17.8372 5.05076 17.8827C4.97497 17.9282 4.88767 17.9523 4.7986 17.9523C4.70954 17.9523 4.62223 17.9282 4.54645 17.8827C4.47066 17.8372 4.40939 17.7721 4.36948 17.6947L3.94564 16.872C3.91235 16.8072 3.89502 16.7358 3.89502 16.6634C3.89502 16.591 3.91235 16.5196 3.94564 16.4548L4.369 15.6321C4.40891 15.5547 4.47018 15.4896 4.54597 15.4441C4.62175 15.3986 4.70906 15.3745 4.79812 15.3745C4.88719 15.3745 4.97449 15.3986 5.05028 15.4441C5.12606 15.4896 5.18734 15.5547 5.22724 15.6321L5.6506 16.4548C5.6839 16.5196 5.70123 16.591 5.70123 16.6634C5.70123 16.7358 5.6839 16.8072 5.6506 16.872L5.22772 17.6947Z"
        fill="#1d4aff"
      />
      <path
        d="M1.48339e-07 15.9237C1.48339e-07 15.5084 0.51696 15.2998 0.81936 15.5938L3.0192 17.7325C3.3216 18.0265 3.10752 18.5296 2.67984 18.5296H0.48C0.352696 18.5296 0.230606 18.4804 0.140589 18.3929C0.0505714 18.3054 1.48339e-07 18.1867 1.48339e-07 18.0629V15.9237ZM1.48339e-07 13.6707C-4.94654e-05 13.732 0.0123468 13.7928 0.0364796 13.8495C0.0606123 13.9062 0.0960077 13.9577 0.14064 14.0011L4.65792 18.3924C4.70244 18.4358 4.75533 18.4703 4.81356 18.4938C4.87179 18.5174 4.93422 18.5295 4.99728 18.5296H7.47888C7.90608 18.5296 8.12064 18.027 7.81824 17.733L0.81984 10.929C0.51696 10.6345 1.48339e-07 10.8427 1.48339e-07 11.258V13.6707ZM1.48339e-07 9.00539C2.73343e-05 9.12915 0.0506165 9.24783 0.14064 9.33533L9.456 18.3933C9.546 18.4808 9.66807 18.53 9.79536 18.5301H12.277C12.7042 18.5301 12.9187 18.027 12.6163 17.733L0.81936 6.26326C0.51696 5.96926 1.48339e-07 6.17739 1.48339e-07 6.59319V9.00539ZM4.79856 9.00539C4.79859 9.12915 4.84918 9.24783 4.9392 9.33533L13.5763 17.733C13.8787 18.027 14.3957 17.8184 14.3957 17.4026V14.9904C14.3957 14.8666 14.3451 14.748 14.255 14.6605L5.61792 6.26326C5.31552 5.96926 4.79856 6.17739 4.79856 6.59319V9.00539ZM10.4165 6.26326C10.1141 5.96926 9.59712 6.17739 9.59712 6.59319V9.00586C9.59727 9.12945 9.64785 9.24794 9.73776 9.33533L13.5763 13.0677C13.8787 13.3617 14.3957 13.1531 14.3957 12.7373V10.3251C14.3957 10.2014 14.3451 10.0827 14.255 9.99519L10.4165 6.26326Z"
        fill="#f9bd2b"
      />
      <path
        d="M20.4121 15.9807L15.8938 11.5885C15.5914 11.2945 15.0745 11.5026 15.0745 11.9184V18.063C15.0745 18.1868 15.125 18.3055 15.2151 18.393C15.3051 18.4805 15.4272 18.5297 15.5545 18.5297H22.5529C22.6802 18.5297 22.8023 18.4805 22.8923 18.393C22.9823 18.3055 23.0329 18.1868 23.0329 18.063V17.503C23.0329 17.2454 22.8173 17.0396 22.5543 17.0065C21.7435 16.9038 20.9903 16.5428 20.4121 15.9807ZM17.378 17.0368C17.1743 17.0368 16.979 16.9581 16.8349 16.8181C16.6909 16.6781 16.61 16.4881 16.61 16.2901C16.61 16.0921 16.6909 15.9022 16.8349 15.7621C16.979 15.6221 17.1743 15.5435 17.378 15.5435C17.5817 15.5435 17.777 15.6221 17.921 15.7621C18.0651 15.9022 18.146 16.0921 18.146 16.2901C18.146 16.4881 18.0651 16.6781 17.921 16.8181C17.777 16.9581 17.5817 17.0368 17.378 17.0368Z"
        fill="currentColor"
      />
      <path
        d="M0 18.0629C0 18.1867 0.0505713 18.3054 0.140589 18.3929C0.230606 18.4804 0.352696 18.5296 0.48 18.5296H2.67984C3.10752 18.5296 3.3216 18.0265 3.0192 17.7325L0.81936 15.5938C0.51696 15.2998 0 15.5079 0 15.9237L0 18.0629ZM4.79856 10.1319L0.81936 6.26326C0.51696 5.96926 0 6.17739 0 6.59319V9.00586C0.000154368 9.12945 0.0507338 9.24794 0.14064 9.33533L4.79856 13.8643V10.1319ZM0.81936 10.9285C0.51696 10.6345 0 10.8427 0 11.2585V13.6711C0.000154368 13.7947 0.0507338 13.9132 0.14064 14.0006L4.79856 18.5296V14.7972L0.81936 10.9285Z"
        fill="#1d4aff"
      />
      <path
        d="M9.59714 10.3251C9.59712 10.2014 9.54653 10.0827 9.4565 9.99519L5.61794 6.26326C5.31554 5.96926 4.79858 6.17739 4.79858 6.59319V9.00586C4.79874 9.12945 4.84932 9.24794 4.93922 9.33533L9.59714 13.8643V10.3247V10.3251ZM4.79858 18.5291H7.47842C7.9061 18.5291 8.12018 18.0265 7.81778 17.7325L4.79858 14.7972V18.5296V18.5291ZM4.79858 10.1319V13.6707C4.79853 13.732 4.81093 13.7928 4.83506 13.8495C4.8592 13.9062 4.89459 13.9577 4.93922 14.0011L9.59714 18.5296V14.9904C9.59712 14.8666 9.54653 14.748 9.4565 14.6605L4.79858 10.1319Z"
        fill="#f54e00"
      />
    </svg>
  );
});

PostHog.displayName = "PostHog";

PostHog.metadata = {
  name: "PostHog",
  category: "icon/devtool",
  tags: ["post", "hog", "icon"],
  description: "PostHog icon from icon/devtool category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default PostHog;
