// Copyright (c) 2022 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

import React, {Component} from 'react';
import Base, {BaseProps} from './base';

export default class Db extends Component<Partial<BaseProps>> {
  static displayName = 'Db';
  static defaultProps = {
    height: '16px',
    predefinedClassName: 'data-ex-icons-db'
  };

  render() {
    return (
      <Base {...this.props}>
        <g>
          <path d="M32.000001,6 C26.2249941,6 20.9934005,7.06979182 17.0208337,8.93585449 C13.0482668,10.8019172 10,13.6479177 10,17.4078917 L10,45.5921083 C10,49.3520823 13.0482668,52.177146 17.0208337,54.0432087 C20.9934005,55.9092042 26.2249941,57 32.000001,57 C37.7750413,57 43.0066082,55.9092042 46.9791677,54.0432087 C50.9517265,52.177146 54,49.3520823 54,45.5921083 L54,17.4078917 C54,13.6479177 50.9517259,10.8019172 46.9791677,8.93585449 C43.0066075,7.06979182 37.7750406,6 32.0000003,6 L32.000001,6 Z M32.0000003,10 C37.2706271,10 42.0256405,11.0406591 45.2916666,12.5994318 C48.557694,14.1582045 50,16.0484773 50,17.5 C50,18.9515227 48.557694,20.8204545 45.2916666,22.3792273 C42.0256405,23.9380682 37.2706271,25 32.0000003,25 C26.7294069,25 21.9743668,23.9380682 18.7083334,22.3792273 C15.4422994,20.8204545 14,18.9515227 14,17.5 C14,16.0484773 15.4422994,14.1582045 18.7083334,12.5994318 C21.9743668,11.0406591 26.7294069,10 32.0000003,10 Z M14,24 C14.9089734,24.6525751 15.9275867,25.2372249 17.0208334,25.7463652 C20.9934001,27.5963149 26.2249936,28.6777307 32.0000003,28.6777307 C37.7750404,28.6777307 43.0066072,27.5963149 46.9791666,25.7463652 C48.0724133,25.2372249 49.0910266,24.6525751 50,24 L50,26.6818848 C50,28.0982036 48.557694,29.9218214 45.2916666,31.4427891 C42.0256405,32.9638898 37.2706271,34 32.0000003,34 C26.7294069,34 21.9743668,32.9638898 18.7083334,31.4427891 C15.4422994,29.9218214 14,28.0982036 14,26.6818848 L14,24 Z M14,33 C14.9091527,33.6585228 15.92008,34.251917 17.0208334,34.7635187 C20.9934001,36.6095602 26.2249936,37.6887967 32.0000003,37.6887967 C37.7750404,37.6887967 43.0066072,36.6095602 46.9791666,34.7635187 C48.07992,34.2518506 49.0908466,33.6585228 50,33 L50,35.6970954 C50,37.110473 48.557694,38.9302905 45.2916666,40.4480996 C42.0256405,41.9660415 37.2706271,43 32.0000003,43 C26.7294069,43 21.9743668,41.9660415 18.7083334,40.4480996 C15.4422994,38.9302905 14,37.110473 14,35.6970954 L14,33 Z M14,43 C14.9091527,43.6585228 15.92008,44.2518506 17.0208334,44.7635187 C20.9934001,46.6095602 26.2249936,47.6887967 32.0000003,47.6887967 C37.7750404,47.6887967 43.0066072,46.6095602 46.9791666,44.7635187 C48.07992,44.251917 49.0908466,43.6585228 50,43 L50,45.6970954 C50,47.110473 48.557694,48.9302905 45.2916666,50.4480996 C42.0256405,51.9659751 37.2706271,53 32.0000003,53 C26.7294069,53 21.9743668,51.9659751 18.7083334,50.4480996 C15.4422994,48.9302905 14,47.110473 14,45.6970954 L14,43 Z" />
        </g>
      </Base>
    );
  }
}
