import React from "react";
import Svg, { G, Path, Defs, ClipPath, Rect } from "react-native-svg";
import type { SvgProps } from "react-native-svg";

const SvgComponent = ({ width = 120, height = 120, ...props }: SvgProps) => (
  <Svg
    width={width}
    height={height}
    viewBox="0 0 120 120"
    fill="none"
    {...props}
  >
    <G clipPath="url(#clip0_15027_349483)">
      <Path
        opacity={0.2}
        d="M105 45.2598H97.5V64.0098C97.5 74.3635 89.1037 82.7598 78.75 82.7598H45V90.2598C45 98.5435 51.7162 105.26 60 105.26H82.5L98.85 118.872C100.44 120.196 102.806 119.982 104.13 118.392C104.692 117.717 105 116.866 105 115.985V105.26C113.284 105.26 120 98.5435 120 90.2598V60.2598C120 51.976 113.284 45.2598 105 45.2598Z"
        fill="#DCDCDC"
      />
      <Path
        opacity={0.2}
        d="M75 0.259766H15C6.71625 0.259766 0 6.97602 0 15.2598V60.2598C0 68.5435 6.71625 75.2598 15 75.2598V89.6223C15 91.6923 16.68 93.3723 18.75 93.3723C19.6425 93.3723 20.5088 93.0535 21.1875 92.4723L41.25 75.2598H75C83.2838 75.2598 90 68.5435 90 60.2598V15.2598C90 6.97602 83.2838 0.259766 75 0.259766ZM27.7875 43.0473C27.4575 43.411 27.0788 43.726 26.6625 43.9848C26.2575 44.2585 25.8337 44.4985 25.3875 44.6973C24.9225 44.8698 24.4462 45.0085 23.9625 45.1098C23.4825 45.2148 22.9912 45.2635 22.5 45.2598C18.3563 45.2598 15 41.9035 15 37.7598C14.9213 33.6198 18.2138 30.196 22.3538 30.1173C22.8937 30.106 23.4338 30.1548 23.9625 30.2598C24.4462 30.361 24.9225 30.4998 25.3875 30.6723C25.8412 30.8598 26.2688 31.096 26.6625 31.3848C27.0713 31.6435 27.4462 31.9435 27.7875 32.2848C29.2425 33.7323 30.0413 35.7085 30 37.7598C29.9925 39.7473 29.1975 41.6485 27.7875 43.0473ZM50.2875 43.0473C48.8887 44.4573 46.9875 45.2523 45 45.2598C44.5125 45.316 44.025 45.316 43.5375 45.2598C43.0537 45.1585 42.5775 45.0198 42.1125 44.8473C41.6662 44.6485 41.2425 44.4085 40.8375 44.1348C40.4175 43.8648 40.0275 43.5535 39.675 43.1973C38.2425 41.7535 37.4588 39.7923 37.5 37.7598C37.4437 37.2723 37.4437 36.7848 37.5 36.2973C37.6012 35.8135 37.74 35.3373 37.9125 34.8723C38.1 34.4185 38.3363 33.991 38.625 33.5973C38.8913 33.1848 39.195 32.7948 39.525 32.4348C39.885 32.1048 40.275 31.801 40.6875 31.5348C41.0813 31.246 41.5087 31.0098 41.9625 30.8223C42.4725 30.5898 42.9975 30.4023 43.5375 30.2598C47.5987 29.4498 51.5475 32.0898 52.3575 36.151C52.4625 36.6798 52.5112 37.2198 52.5 37.7598C52.5 39.7398 51.72 41.641 50.325 43.0473H50.2875ZM72.7875 43.0473C72.4575 43.411 72.0788 43.726 71.6625 43.9848C71.2575 44.2585 70.8338 44.4985 70.3875 44.6973C69.9225 44.8698 69.4463 45.0085 68.9625 45.1098C68.4825 45.2148 67.9912 45.2635 67.5 45.2598C63.3563 45.2598 60 41.9035 60 37.7598C59.9212 33.6198 63.2138 30.196 67.3538 30.1173C67.8938 30.106 68.4337 30.1548 68.9625 30.2598C69.4463 30.361 69.9225 30.4998 70.3875 30.6723C70.8413 30.8598 71.2688 31.096 71.6625 31.3848C72.0713 31.6435 72.4463 31.9435 72.7875 32.2848C74.2425 33.7323 75.0413 35.7085 75 37.7598C74.9925 39.7473 74.1975 41.6485 72.7875 43.0473Z"
        fill="#DCDCDC"
      />
      <Path
        d="M47.7349 18.3633C41.9551 18.3602 36.3043 20.0713 31.497 23.2801C26.6898 26.4889 22.9422 31.0513 20.7283 36.3902C18.5143 41.7291 17.9334 47.6047 19.0591 53.2738C20.1847 58.9429 22.9664 64.1508 27.0522 68.2389C31.138 72.3269 36.3445 75.1114 42.013 76.2401C47.6815 77.3688 53.5574 76.7911 58.8975 74.58C64.2376 72.3688 68.802 68.6237 72.0134 63.8182C75.2248 59.0127 76.9389 53.3628 76.9389 47.583C76.9389 39.8362 73.8626 32.4064 68.3862 26.9271C62.9099 21.4478 55.4817 18.3674 47.7349 18.3633Z"
        fill="white"
        stroke="#A1A1A1"
        strokeWidth={1.57011}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <Path
        d="M68.5233 68.7793L76.311 76.567"
        stroke="#A1A1A1"
        strokeWidth={1.57011}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <Path
        d="M75.4307 72.784L73.0113 75.3149C71.9267 76.4494 71.9672 78.2483 73.1017 79.3329L94.0982 99.4046C95.2328 100.489 97.0317 100.449 98.1163 99.3142L100.536 96.7832C101.62 95.6487 101.58 93.8498 100.445 92.7652L79.4487 72.6935C78.3142 71.6089 76.5153 71.6494 75.4307 72.784Z"
        fill="#A1A1A1"
      />
    </G>
    <Defs>
      <ClipPath id="clip0_15027_349483">
        <Rect width={120} height={120} fill="white" />
      </ClipPath>
    </Defs>
  </Svg>
);

export default SvgComponent;
