// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

import React from 'react';

import Svg, { SvgProps } from '../Svg';

export const DropToAttach: React.FC<React.PropsWithChildren<SvgProps>> = (props) => (
  <Svg {...props} viewBox="0 0 130 130">
    <path
      fill="#FFF"
      d="M65.43 29.094L65.903 39.871 74.377 40.564 60.598 57.243 60.04 46.147 51.452 45.361 64.931 28.57z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      fill="#075FFF"
      d="M64.961 29.412L52.258 44.977l7.018.038c.828 0 1.502.673 1.502 1.501v9.852l12.706-15.537h-7.02c-.829 0-1.503-.673-1.503-1.502v-9.917zM60.78 57.87c-.178 0-.359-.032-.534-.1-.587-.222-.967-.773-.967-1.402v-9.852h-7.034c-.602 0-1.129-.342-1.375-.89-.247-.55-.152-1.17.248-1.62l12.701-15.567c.438-.494 1.09-.652 1.676-.43.587.223.967.774.967 1.403v9.917l7.023.002c.604 0 1.132.342 1.38.893.247.551.152 1.173-.249 1.625L61.92 57.343c-.307.345-.718.527-1.14.527z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      fill="#FFF"
      d="M91.059 29.729L92.616 26.084 97.976 31.805 91.896 33.737 91.517 31.805z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      fill="#075FFF"
      d="M90.539 18.583c1.533-.23 3.08-.148 4.596.242 6.188 1.593 9.927 7.924 8.334 14.113-1.042 4.051-4.203 7.236-8.25 8.313-.938.251-1.907.382-2.88.389-.417 0-.753-.332-.756-.745-.003-.414.33-.752.745-.755.846-.006 1.689-.12 2.506-.338 3.523-.938 6.275-3.712 7.182-7.238.672-2.61.287-5.325-1.083-7.646-1.37-2.321-3.562-3.968-6.172-4.64-1.32-.34-2.666-.41-4.001-.212-.408.065-.791-.221-.852-.631-.061-.409.22-.791.63-.852zm1.831 6.982c.65-.152 1.331.07 1.768.58l3.464 4.047c.38.443.52 1.046.374 1.613-.145.567-.559 1.027-1.107 1.233l-3.982 1.493c-.086.032-.176.048-.263.048-.304 0-.589-.186-.702-.487-.146-.388.05-.82.44-.966l3.981-1.493c.124-.047.167-.146.181-.202.014-.055.025-.163-.06-.263l-3.466-4.046c-.1-.118-.223-.11-.289-.095-.065.015-.179.062-.217.213l-.603 2.34c-.104.402-.512.644-.914.54-.4-.103-.642-.512-.539-.913l.602-2.341c.168-.65.678-1.15 1.332-1.301z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      d="M70.507 8.38c2.633 0 5.125 1.146 6.838 3.144l8.47 9.883c1.399 1.631 2.169 3.712 2.169 5.861v32.995c0 3.977-3.235 7.211-7.211 7.211H44.96c-3.976 0-7.211-3.234-7.211-7.211V15.591c0-3.976 3.235-7.211 7.21-7.211zm0 1.5H44.96c-3.15 0-5.711 2.562-5.711 5.711v44.672c0 3.149 2.562 5.711 5.71 5.711h35.813c3.149 0 5.71-2.562 5.71-5.711V27.268c0-.242-.013-.483-.036-.722h-10.06c-3.177 0-5.763-2.586-5.763-5.764V9.886c-.04 0-.078-.006-.117-.006zm-45.95-5.234c1.732-.217 3.492.19 4.954 1.187l5.185 3.906c.33.249.397.719.148 1.05-.25.33-.72.396-1.05.148l-5.157-3.885c-.955-.65-2.092-.978-3.246-.964l2.134 7.89c.456 1.688 2.2 2.69 3.888 2.233.397-.11.81.128.92.529.108.4-.13.81-.53.92-.405.11-.814.162-1.217.162-2.057 0-3.947-1.372-4.51-3.452l-2.182-8.071-19.212 5.194c-1.11.3-2.035 1.014-2.608 2.01-.572.997-.722 2.157-.422 3.266l9.117 33.719c.618 2.29 2.987 3.647 5.275 3.03l17.509-4.28c.403-.098.81.148.907.55.099.402-.148.809-.55.907L16.418 54.97c-.5.135-1.003.199-1.5.199-2.548 0-4.9-1.705-5.597-4.29L.204 17.16c-.404-1.495-.202-3.06.57-4.403.77-1.344 2.02-2.307 3.516-2.712l19.283-5.213c.173-.047.348-.078.522-.111.044-.022.083-.053.132-.066.112-.031.223-.03.33-.01zm55.34-.158c.822-3.19 4.085-5.12 7.28-4.298l20.016 5.152c2.103.541 3.858 1.97 4.816 3.92l4.644 9.452c.782 1.59.97 3.412.527 5.128l-6.656 25.854c-.398 1.546-1.374 2.845-2.749 3.658-.932.55-1.973.833-3.029.833-.5 0-1.003-.064-1.5-.192l-11.73-3.22c-.4-.103-.642-.513-.54-.914.105-.4.512-.64.915-.539l11.73 3.22c1.156.297 2.362.128 3.392-.48 1.03-.609 1.761-1.58 2.06-2.74l6.655-25.854c.037-.144.045-.29.071-.437l-7.734-1.99c-1.244-.32-2.288-1.106-2.94-2.21-.654-1.107-.837-2.4-.517-3.644l2.164-8.404-19.97-5.14c-2.39-.617-4.837.828-5.452 3.22l-.966 3.81c-.103.4-.512.643-.913.539-.4-.103-.642-.512-.539-.914zm-7.773 5.567v10.727c0 2.351 1.913 4.264 4.264 4.264h9.752c-.301-.971-.792-1.88-1.463-2.662l-8.471-9.883c-1.07-1.249-2.506-2.099-4.082-2.446zm36.054-2.717l-2.117 8.223c-.22.856-.094 1.745.355 2.506.45.76 1.167 1.3 2.023 1.521l7.446 1.917c-.06-.735-.248-1.459-.578-2.13l-4.644-9.452c-.546-1.11-1.42-2.004-2.485-2.585z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      fill="#FFF"
      d="M24.191 24.91L27.535 37.359 26.365 37.927 21.12 36.082 17.066 36.891 15.453 30.572 19.261 29.247 22.98 24.91z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <path
      fill="#075FFF"
      d="M21.934 24.52c.467-.598 1.216-.876 1.967-.73.724.144 1.292.667 1.48 1.365l3.05 11.279c.189.698-.038 1.436-.592 1.924-.376.332-.846.505-1.324.505-.255 0-.513-.05-.76-.151l-4.436-1.586c-.161-.058-.342-.064-.51-.02l-2.833.768c-1.025.276-2.081-.314-2.353-1.317l-1.364-5.045c-.272-1.008.345-2.056 1.376-2.335l2.826-.764c.167-.045.319-.141.428-.271zm1.676.742c-.072-.014-.323-.043-.497.184l-.021.027-3.055 3.634c-.308.367-.718.627-1.185.754l-2.825.764c-.233.063-.377.285-.32.496l1.364 5.044c.056.205.284.32.514.26l2.833-.766c.204-.055.412-.083.619-.083.267 0 .533.046.787.137l4.469 1.6c.298.123.5-.03.554-.08.074-.065.19-.206.136-.408l-3.05-11.28c-.054-.201-.226-.263-.323-.283zm5.45 1.149c.178-.374.627-.531 1-.352 1.302.624 2.261 1.768 2.632 3.137.37 1.37.117 2.84-.692 4.036-.145.214-.382.33-.622.33-.145 0-.29-.042-.42-.13-.343-.232-.433-.698-.2-1.041.564-.834.742-1.856.486-2.803-.257-.948-.925-1.741-1.833-2.177-.373-.18-.53-.627-.352-1z"
      transform="translate(-375 -646) translate(295.5 362) translate(80 284) translate(6.5)"
    />
    <g>
      <text transform="translate(0 84)">
        <tspan x=".14" y="14">
          Drop to attach file
        </tspan>
      </text>
    </g>
  </Svg>
);

DropToAttach.displayName = 'DropToAttach';

export default DropToAttach;
