import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';

export const ClipboardCopiedToIcon = createSvgIcon({
  svg: ({ classes }) => (
    <svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
      <path
        className={cx(iconClassNames.outline, classes.outlinePart)}
        d="M15,8c0.2705,0,0.5273,0.0537,0.7695,0.1602c0.2422,0.1069,0.4541,0.2515,0.6367,0.4336
        c0.1816,0.1826,0.3262,0.3945,0.4336,0.6367C16.9463,9.4727,17,9.7295,17,10h2.5c0.2031,0,0.3945,0.0405,0.5742,0.1211
        c0.1797,0.0811,0.3379,0.1904,0.4766,0.3281c0.1377,0.1382,0.2471,0.2969,0.3281,0.4766C20.959,11.1055,21,11.2969,21,11.5V14
        h0.2734c0.1348,0,0.2695,0.0068,0.4023,0.0195c0.1328,0.0132,0.2637,0.0459,0.3945,0.0977c0.1348,0.0522,0.2598,0.1265,0.375,0.2227
        c0.1143,0.0967,0.2129,0.2061,0.2969,0.3281c0.083,0.1226,0.1465,0.2554,0.1914,0.3984C22.9775,15.21,23,15.3545,23,15.5v7
        c0,0.2031-0.041,0.3945-0.1211,0.5742c-0.0811,0.1797-0.1904,0.3389-0.3281,0.4766c-0.1387,0.1387-0.2969,0.248-0.4766,0.3281
        C21.8945,23.96,21.7031,24,21.5,24h-5c-0.1562,0-0.3076-0.0244-0.4531-0.0742c-0.146-0.0488-0.2812-0.1182-0.4062-0.207
        c-0.125-0.0879-0.2344-0.1934-0.3281-0.3164c-0.0938-0.1221-0.167-0.2559-0.2188-0.4023H10.5c-0.1982,0-0.3882-0.04-0.5703-0.1211
        c-0.1826-0.0801-0.3428-0.1895-0.4805-0.3281c-0.1382-0.1377-0.2476-0.2979-0.3281-0.4805C9.04,21.8887,9,21.6982,9,21.5v-10
        c0-0.2031,0.04-0.3945,0.1211-0.5742c0.0806-0.1797,0.1899-0.3384,0.3281-0.4766c0.1377-0.1377,0.2969-0.2471,0.4766-0.3281
        C10.1055,10.0405,10.2969,10,10.5,10H13c0-0.2705,0.0532-0.5273,0.1602-0.7695c0.1064-0.2422,0.251-0.4541,0.4336-0.6367
        c0.1821-0.1821,0.3945-0.3267,0.6367-0.4336C14.4727,8.0537,14.729,8,15,8z M10.7344,10.9922c-0.0889,0-0.1772,0.0054-0.2656,0.0156
        c-0.0889,0.0107-0.168,0.0342-0.2383,0.0703c-0.0703,0.0366-0.1265,0.0889-0.168,0.1562C10.0205,11.3022,10,11.3906,10,11.5v10
        c0,0.1357,0.0493,0.2529,0.1484,0.3516C10.2471,21.9512,10.3643,22,10.5,22H15v-6.5c0-0.2031,0.04-0.3945,0.1211-0.5742
        c0.0806-0.1797,0.1899-0.3384,0.3281-0.4766c0.1377-0.1377,0.2969-0.2471,0.4766-0.3281C16.1055,14.0405,16.2969,14,16.5,14H20v-2.5
        c0-0.1143-0.0225-0.2056-0.0664-0.2734c-0.0449-0.0674-0.1035-0.1182-0.1758-0.1523c-0.0732-0.0337-0.1553-0.0547-0.2461-0.0625
        C19.4199,11.0039,19.3301,11,19.2422,11h-0.2578c0,0.1201,0.001,0.2383,0.0039,0.3555c0.002,0.1172,0.0039,0.2358,0.0039,0.3555
        c0,0.1719-0.0146,0.335-0.043,0.4883c-0.0293,0.1538-0.0801,0.2891-0.1523,0.4062c-0.0732,0.1172-0.1748,0.21-0.3047,0.2773
        c-0.1309,0.0679-0.2949,0.1016-0.4922,0.1016h-6c-0.2764,0-0.4834-0.0674-0.6211-0.2031c-0.1382-0.1353-0.2344-0.3018-0.2891-0.5
        c-0.0547-0.1978-0.0811-0.4126-0.0781-0.6445c0.0024-0.2314,0.0039-0.4438,0.0039-0.6367c-0.0469,0-0.0938-0.001-0.1406-0.0039
        C10.8281,10.9937,10.7812,10.9922,10.7344,10.9922z M11.9844,11v1L18,12.0156L18.0156,12v-1H11.9844z M15,9
        c-0.1304,0-0.2568,0.0273-0.3789,0.082c-0.1226,0.0547-0.2295,0.1279-0.3203,0.2188c-0.0913,0.0913-0.1641,0.1968-0.2188,0.3164
        C14.0273,9.7373,14,9.8647,14,10h2c0-0.1353-0.0273-0.2627-0.082-0.3828c-0.0547-0.1196-0.1279-0.2251-0.2188-0.3164
        C15.6079,9.21,15.5024,9.1367,15.3828,9.082C15.2627,9.0273,15.1353,9,15,9z M16.5,15c-0.1357,0-0.2529,0.0498-0.3516,0.1484
        C16.0488,15.2476,16,15.3647,16,15.5v7c0,0.1357,0.0488,0.2529,0.1484,0.3516C16.2471,22.9512,16.3643,23,16.5,23h5
        c0.1348,0,0.252-0.0488,0.3516-0.1484C21.9502,22.7529,22,22.6357,22,22.5v-7c0-0.1353-0.0498-0.2524-0.1484-0.3516
        C21.752,15.0498,21.6348,15,21.5,15H16.5z"
      />
      <path
        className={cx(iconClassNames.filled, classes.filledPart)}
        d="M15,8c0.2705,0,0.5273,0.0537,0.7695,0.1602c0.2422,0.1069,0.4541,0.2515,0.6367,0.4336
        c0.1816,0.1826,0.3262,0.3945,0.4336,0.6367C16.9463,9.4727,17,9.7295,17,10h2.5c0.2031,0,0.3955,0.0405,0.5781,0.1211
        c0.1816,0.0811,0.3408,0.189,0.4766,0.3242c0.1348,0.1357,0.2432,0.2944,0.3242,0.4766C20.959,11.1045,21,11.2969,21,11.5V14
        c0.1924,0,0.373,0.0015,0.543,0.0039c0.1689,0.0029,0.3447,0.0405,0.5273,0.1133c0.2754,0.1201,0.5,0.3047,0.6719,0.5547
        S23,15.1982,23,15.5v7c0,0.2031-0.041,0.3965-0.1211,0.5781c-0.0811,0.1826-0.1895,0.3418-0.3242,0.4766
        c-0.1357,0.1357-0.2949,0.2441-0.4766,0.3242C21.8955,23.96,21.7031,24,21.5,24h-5c-0.1514,0-0.2998-0.0244-0.4453-0.0742
        c-0.146-0.0488-0.2812-0.1182-0.4062-0.207c-0.125-0.0879-0.2358-0.1934-0.332-0.3164c-0.0967-0.1221-0.1709-0.2559-0.2227-0.4023
        H10.5c-0.2031,0-0.396-0.04-0.5781-0.1211c-0.1826-0.0801-0.3413-0.1885-0.4766-0.3242c-0.1357-0.1348-0.2437-0.2939-0.3242-0.4766
        C9.04,21.8965,9,21.7031,9,21.5v-10c0-0.2031,0.04-0.3955,0.1211-0.5781c0.0806-0.1821,0.1885-0.3408,0.3242-0.4766
        c0.1353-0.1353,0.2939-0.2432,0.4766-0.3242C10.104,10.0405,10.2969,10,10.5,10H13c0-0.2705,0.0532-0.5273,0.1602-0.7695
        c0.1064-0.2422,0.251-0.4541,0.4336-0.6367c0.1821-0.1821,0.3945-0.3267,0.6367-0.4336C14.4727,8.0537,14.729,8,15,8z M18.9844,11
        c0,0.1201,0.001,0.2383,0.0039,0.3555c0.002,0.1172,0.0039,0.2358,0.0039,0.3555c0,0.1719-0.0146,0.335-0.043,0.4883
        c-0.0293,0.1538-0.0811,0.2891-0.1562,0.4062c-0.0762,0.1172-0.1777,0.21-0.3047,0.2773c-0.1279,0.0679-0.291,0.1016-0.4883,0.1016
        h-6c-0.1875,0-0.3428-0.0312-0.4648-0.0938c-0.1226-0.0625-0.2202-0.1455-0.293-0.25c-0.0732-0.104-0.125-0.2227-0.1562-0.3555
        s-0.0522-0.2734-0.0625-0.4219c-0.0107-0.1484-0.0146-0.2969-0.0117-0.4453c0.0024-0.1484,0.0039-0.2876,0.0039-0.418
        c-0.0469,0-0.0938-0.001-0.1406-0.0039c-0.0469-0.0024-0.0938-0.0039-0.1406-0.0039c-0.0938,0-0.1836,0.0054-0.2695,0.0156
        c-0.0859,0.0107-0.1641,0.0327-0.2344,0.0664c-0.0703,0.0342-0.1265,0.085-0.168,0.1523C10.0205,11.2944,10,11.3857,10,11.5v10
        c0,0.1357,0.0493,0.2529,0.1484,0.3516C10.2471,21.9512,10.3643,22,10.5,22H15v-6.5c0-0.2031,0.04-0.3955,0.1211-0.5781
        c0.0806-0.1821,0.1885-0.3408,0.3242-0.4766c0.1353-0.1353,0.2939-0.2432,0.4766-0.3242C16.1035,14.0405,16.2969,14,16.5,14H20v-2.5
        c0-0.1143-0.0215-0.2056-0.0625-0.2734c-0.042-0.0674-0.0967-0.1182-0.1641-0.1523c-0.0684-0.0337-0.1465-0.0557-0.2344-0.0664
        c-0.0889-0.0103-0.1797-0.0156-0.2734-0.0156c-0.0469,0-0.0938,0.0015-0.1406,0.0039C19.0781,10.999,19.0312,11,18.9844,11z
         M11.9844,11v1L18,12.0156L18.0156,12v-1H11.9844z M15,9c-0.1304,0-0.2568,0.0273-0.3789,0.082
        c-0.1226,0.0547-0.2295,0.1279-0.3203,0.2188c-0.0913,0.0913-0.1641,0.1968-0.2188,0.3164C14.0273,9.7373,14,9.8647,14,10h2
        c0-0.1353-0.0273-0.2627-0.082-0.3828c-0.0547-0.1196-0.1279-0.2251-0.2188-0.3164C15.6079,9.21,15.5024,9.1367,15.3828,9.082
        C15.2627,9.0273,15.1353,9,15,9z"
      />
    </svg>
  ),
  displayName: 'ClipboardCopiedToIcon',
});
