import React from 'react'

import { IconPropsWithStatus, StatusIcon } from '../_utils/icon/status'

export const SleepIcon = (props: IconPropsWithStatus) => (
  <StatusIcon {...props}>
    <path
      d="M11.845 5c1.847 0 3.563.18 5.104.48.541.106 1.023.22 1.439.333l.261.073.056-.044a5.39 5.39 0 01.243-.18l.138-.094c.363-.237.727-.41 1.086-.487.554-.119 1.065.001 1.461.435.273.33.352.725.26 1.132-.097.423-.366.832-.75 1.236a5.796 5.796 0 01-.492.457l.027-.024.049.193a18.94 18.94 0 01.355 6.644l-.059.44-.068.435c-.058.342-.12.646-.183.91l-.004.016.122.098.162.142.157.148c.32.314.56.628.69.952.201.505.108 1.005-.333 1.363a1.547 1.547 0 01-1.161.333c-.42-.042-.843-.218-1.26-.483a4.935 4.935 0 01-.431-.307l-.325.069c-4.264.86-8.106.874-11.357.357l-.42-.07a19.08 19.08 0 01-1.343-.282l-.29-.077-.294.14-.268.118c-.19.08-.375.15-.552.206-.74.236-1.288.258-1.604-.122-.395-.392-.307-.914.03-1.518.096-.17.21-.344.342-.523.125-.168.257-.331.394-.49l-.057-.252A20.267 20.267 0 012.74 9.6l.069-.441c.06-.363.125-.687.19-.969l.014-.06-.073-.07-.12-.122-.124-.136c-.302-.344-.512-.694-.585-1.057-.093-.46.052-.892.445-1.21.33-.27.724-.378 1.147-.35.425.03.853.193 1.276.443l.105.064.19.125.092.066.085-.027.364-.109a16.5 16.5 0 011.092-.266C8.343 5.18 9.997 5 11.845 5zm0 .953c-1.781 0-3.37.174-4.743.462a14.804 14.804 0 00-1.46.381l-.193.068a.475.475 0 01-.486-.085 3.329 3.329 0 00-.468-.33c-.307-.18-.604-.294-.857-.311a.653.653 0 00-.482.138c-.112.09-.136.162-.112.281.033.168.165.387.367.618.163.185.327.334.43.414.152.12.217.32.164.507-.01.03-.022.08-.04.149l-.084.366c-.045.213-.09.449-.133.706-.394 2.362-.394 5.019.262 7.713a.477.477 0 01-.118.442c-.12.126-.307.342-.493.593-.11.149-.203.292-.277.423-.146.261-.169.397-.161.407-.01-.011.238-.02.614-.141a7.767 7.767 0 001.128-.486.475.475 0 01.372-.035c.041.014.11.034.203.06l.448.112c.31.073.66.145 1.05.213 3.361.59 7.423.59 11.97-.396a.476.476 0 01.425.117c.092.086.264.225.483.364.303.192.597.315.844.34.19.018.34-.02.468-.125.095-.077.105-.13.049-.27-.07-.175-.238-.394-.472-.623a4.745 4.745 0 00-.584-.49.477.477 0 01-.187-.526c.014-.047.04-.144.074-.288l.043-.192c.015-.066.03-.134.044-.205l.083-.454c.393-2.32.374-4.943-.333-7.612a.477.477 0 01.181-.509c.142-.102.367-.29.59-.523.276-.29.46-.57.51-.79.03-.13.011-.22-.048-.294-.131-.143-.297-.182-.544-.129-.228.049-.492.174-.765.353a4.03 4.03 0 00-.522.402.475.475 0 01-.479.103 8.787 8.787 0 00-.468-.138l-.245-.065a19.979 19.979 0 00-1.126-.252 25.797 25.797 0 00-4.922-.463zm6.548 4.107c.212.097.319.331.263.55l-.06.163a3.88 3.88 0 00-.114.433c-.253 1.19-.253 2.91.18 5.22a.477.477 0 11-.935.176c-.457-2.43-.457-4.277-.176-5.595l.064-.27a2.86 2.86 0 01.147-.442.476.476 0 01.63-.235zM6.015 8.32l.105.31.035.112c.103.329.205.698.3 1.099.355 1.488.522 3.002.398 4.427-.041.471-.114.924-.222 1.356a.476.476 0 11-.923-.23c.095-.382.16-.786.197-1.209.114-1.31-.043-2.726-.375-4.123a16.104 16.104 0 00-.211-.797l-.072-.239c-.057-.183-.101-.31-.125-.375a.477.477 0 01.893-.33z"
      fill={props.iconColor}
      fillRule="nonzero"
    />
  </StatusIcon>
)

SleepIcon.defaultProps = StatusIcon.defaultProps
