import clsx from 'clsx';
import React from 'react';
import type { AkismetIconType } from './types';

const AkismetIcon: AkismetIconType = ( {
	className = '',
	size = 63,
	backgroundColor = '#1858D8',
} ) => (
	<svg
		width={ size }
		height={ size }
		className={ clsx( 'akismet-icon', className ) }
		viewBox="0 0 63 63"
		fill="none"
		xmlns="http://www.w3.org/2000/svg"
	>
		<rect width="63" height="63" rx="10.5" fill={ backgroundColor } />
		<g clipPath="url(#clip0_4206_27717)">
			<path
				d="M33.4389 16.4846L42.5913 40.5347C43.3807 42.5925 44.5934 43.3384 46.6669 43.5128C46.7427 43.5162 46.817 43.5352 46.8851 43.5684C46.9533 43.6017 47.0139 43.6486 47.0632 43.7061C47.1125 43.7637 47.1495 43.8308 47.1719 43.9032C47.1942 43.9757 47.2015 44.0519 47.1932 44.1272C47.1962 44.205 47.1838 44.2827 47.1567 44.3556C47.1295 44.4286 47.0881 44.4955 47.0349 44.5524C46.9817 44.6092 46.9178 44.655 46.8467 44.687C46.7757 44.719 46.699 44.7367 46.6212 44.7389H36.5965C36.5154 44.7408 36.4348 44.7263 36.3596 44.6963C36.2843 44.6663 36.2158 44.6214 36.1584 44.5642C36.1009 44.5071 36.0556 44.4389 36.0252 44.3638C35.9949 44.2887 35.98 44.2082 35.9816 44.1272C35.9757 44.0487 35.9861 43.9697 36.0122 43.8953C36.0382 43.8209 36.0794 43.7528 36.1332 43.6951C36.1869 43.6374 36.252 43.5914 36.3243 43.56C36.3967 43.5286 36.4747 43.5126 36.5536 43.5128C37.5603 43.5128 38.7015 43.2498 38.7015 42.0238C38.6926 41.5125 38.5878 41.0074 38.3926 40.5347L36.1961 34.7073C36.1074 34.4443 36.0645 34.3557 35.8014 34.3557H27.4356C26.1199 34.3557 24.4982 34.3557 23.7517 36.0219L21.7497 40.5347C21.5461 40.9442 21.4265 41.3902 21.3979 41.8466C21.3979 43.4242 23.46 43.5128 24.544 43.5128C24.6229 43.5126 24.7009 43.5286 24.7733 43.56C24.8456 43.5914 24.9107 43.6374 24.9644 43.6951C25.0182 43.7528 25.0593 43.8209 25.0854 43.8953C25.1115 43.9697 25.1219 44.0487 25.116 44.1272C25.1176 44.2084 25.1027 44.2889 25.0721 44.3641C25.0415 44.4392 24.9959 44.5074 24.9381 44.5643C24.8803 44.6213 24.8115 44.6659 24.7358 44.6954C24.6602 44.7249 24.5794 44.7387 24.4982 44.736H15.6033C15.5224 44.738 15.4419 44.7235 15.3668 44.6934C15.2916 44.6634 15.2234 44.6184 15.1661 44.5612C15.1089 44.504 15.0639 44.4358 15.0338 44.3607C15.0038 44.2857 14.9893 44.2052 14.9912 44.1244C14.9853 44.0458 14.9957 43.9668 15.0218 43.8925C15.0479 43.8181 15.0891 43.7499 15.1428 43.6922C15.1965 43.6345 15.2616 43.5885 15.334 43.5571C15.4063 43.5258 15.4844 43.5097 15.5633 43.5099C17.7112 43.3785 18.4234 42.3667 19.2442 40.5319L29.8095 17.402C30.2928 16.3932 31.3453 15.5186 32.3092 15.5186C33.0013 15.5215 33.2216 15.9159 33.4389 16.4846ZM25.4306 32.1665C25.3777 32.2444 25.347 32.3354 25.342 32.4294C25.342 32.518 25.4306 32.5609 25.6051 32.5609H34.2855C34.8976 32.5609 35.1607 32.4294 35.1607 32.035C35.1599 31.8371 35.115 31.6418 35.0292 31.4634L32.6181 24.9786C32.0461 23.4896 31.2166 21.5204 30.9535 19.8971C30.9535 19.8113 30.9077 19.7656 30.8648 19.7656C30.8219 19.7656 30.779 19.8113 30.779 19.8971C30.4498 21.0132 30.024 22.0986 29.5063 23.1409L25.4306 32.1665Z"
				fill="white"
			/>
			<path
				d="M33.4389 16.4846L42.5913 40.5347C43.3807 42.5925 44.5934 43.3384 46.6669 43.5128C46.7427 43.5162 46.817 43.5352 46.8851 43.5684C46.9533 43.6017 47.0139 43.6486 47.0632 43.7062C47.1125 43.7637 47.1495 43.8308 47.1719 43.9032C47.1942 43.9757 47.2015 44.0519 47.1932 44.1273C47.1962 44.2051 47.1838 44.2827 47.1567 44.3556C47.1295 44.4286 47.0881 44.4955 47.0349 44.5524C46.9817 44.6092 46.9178 44.655 46.8467 44.687C46.7757 44.719 46.6991 44.7367 46.6212 44.7389H36.5965C36.5154 44.7408 36.4349 44.7263 36.3596 44.6963C36.2843 44.6663 36.2158 44.6214 36.1584 44.5642C36.1009 44.5071 36.0556 44.4389 36.0252 44.3638C35.9949 44.2887 35.98 44.2082 35.9816 44.1273C35.9757 44.0487 35.9861 43.9697 36.0122 43.8953C36.0382 43.821 36.0794 43.7528 36.1332 43.6951C36.1869 43.6374 36.252 43.5914 36.3243 43.56C36.3967 43.5286 36.4747 43.5126 36.5536 43.5128C37.5603 43.5128 38.7015 43.2498 38.7015 42.0238C38.6926 41.5125 38.5879 41.0074 38.3926 40.5347L36.1961 34.7073C36.1074 34.4443 36.0645 34.3557 35.8014 34.3557H27.4356C26.1199 34.3557 24.4982 34.3557 23.7517 36.022L21.7497 40.5347C21.5461 40.9442 21.4265 41.3902 21.3979 41.8466C21.3979 43.4242 23.46 43.5128 24.544 43.5128C24.6229 43.5126 24.7009 43.5286 24.7733 43.56C24.8456 43.5914 24.9107 43.6374 24.9644 43.6951C25.0182 43.7528 25.0593 43.821 25.0854 43.8953C25.1115 43.9697 25.1219 44.0487 25.116 44.1273C25.1176 44.2084 25.1027 44.289 25.0721 44.3641C25.0415 44.4392 24.9959 44.5074 24.9381 44.5643C24.8803 44.6213 24.8115 44.6659 24.7358 44.6954C24.6602 44.7249 24.5794 44.7387 24.4982 44.736H15.6033C15.5224 44.738 15.4419 44.7235 15.3668 44.6934C15.2916 44.6634 15.2234 44.6184 15.1661 44.5612C15.1089 44.504 15.0639 44.4358 15.0338 44.3608C15.0038 44.2857 14.9893 44.2053 14.9912 44.1244C14.9853 44.0458 14.9957 43.9668 15.0218 43.8925C15.0479 43.8181 15.0891 43.7499 15.1428 43.6922C15.1965 43.6345 15.2616 43.5885 15.334 43.5572C15.4063 43.5258 15.4844 43.5097 15.5633 43.5099C17.7112 43.3785 18.4234 42.3667 19.2442 40.5319L29.8095 17.402C30.2928 16.3932 31.3453 15.5186 32.3092 15.5186C33.0013 15.5215 33.2216 15.9159 33.4389 16.4846ZM25.4306 32.1665C25.3777 32.2444 25.347 32.3354 25.342 32.4294C25.342 32.518 25.4306 32.5609 25.6051 32.5609H34.2855C34.8976 32.5609 35.1607 32.4294 35.1607 32.035C35.1599 31.8371 35.115 31.6418 35.0292 31.4634L32.6181 24.9786C32.0461 23.4896 31.2166 21.5204 30.9535 19.8971C30.9535 19.8113 30.9077 19.7656 30.8648 19.7656C30.8219 19.7656 30.779 19.8113 30.779 19.8971C30.4498 21.0132 30.024 22.0986 29.5063 23.1409L25.4306 32.1665Z"
				fill="white"
			/>
			<path
				d="M49.9246 31.1343C49.9246 32.2604 49.2868 32.8977 48.1342 32.8977C46.9815 32.8977 46.5239 32.3118 46.5239 31.4173C46.5239 30.2912 47.1903 29.6539 48.3144 29.6539C49.4384 29.6539 49.9246 30.2655 49.9246 31.1343Z"
				fill="white"
			/>
			<path
				d="M15.5775 31.1715C15.5775 32.2947 14.9369 32.9349 13.7871 32.9349C12.6373 32.9349 12.1711 32.3461 12.1711 31.4516C12.1711 30.3284 12.8375 29.6882 13.9616 29.6882C15.0856 29.6882 15.5775 30.3026 15.5775 31.1715Z"
				fill="white"
			/>
		</g>
		<defs>
			<clipPath id="clip0_4206_27717">
				<rect width="37.7391" height="29.2174" fill="white" transform="translate(12.174 15.5213)" />
			</clipPath>
		</defs>
	</svg>
);

export default AkismetIcon;
