text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.styles = undefined;
  
  var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
  
  var _defineProperty3 = _interopRequireDefault(_defineProperty2);
  
  var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
  
  var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
  
  var _extends2 = require('babel-runtime/helpers/extends');
  
  var _extends3 = _interopRequireDefault(_extends2);
  
  var _ref; //  weak
  
  var _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  var _classnames = require('classnames');
  
  var _classnames2 = _interopRequireDefault(_classnames);
  
  var _withStyles = require('../styles/withStyles');
  
  var _withStyles2 = _interopRequireDefault(_withStyles);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  var babelPluginFlowReactPropTypes_proptype_Node = require('react').babelPluginFlowReactPropTypes_proptype_Node || require('prop-types').any;
  
  var styles = exports.styles = function styles(theme) {
    return {
      root: (0, _extends3.default)({
        position: 'relative',
        display: 'flex',
        alignItems: 'center'
      }, theme.mixins.toolbar),
      gutters: theme.mixins.gutters({})
    };
  };
  
  var babelPluginFlowReactPropTypes_proptype_Props = {
    /**
     * Useful to extend the style applied to components.
     */
    classes: require('prop-types').object,
  
    /**
     * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.
     */
    children: typeof babelPluginFlowReactPropTypes_proptype_Node === 'function' ? babelPluginFlowReactPropTypes_proptype_Node : require('prop-types').shape(babelPluginFlowReactPropTypes_proptype_Node),
  
    /**
     * @ignore
     */
    className: require('prop-types').string,
  
    /**
     * If `true`, disables gutter padding.
     */
    disableGutters: require('prop-types').bool
  };
  
  
  function Toolbar(props) {
    var children = props.children,
        classes = props.classes,
        classNameProp = props.className,
        disableGutters = props.disableGutters,
        other = (0, _objectWithoutProperties3.default)(props, ['children', 'classes', 'className', 'disableGutters']);
  
  
    var className = (0, _classnames2.default)(classes.root, (0, _defineProperty3.default)({}, classes.gutters, !disableGutters), classNameProp);
  
    return _react2.default.createElement(
      'div',
      (0, _extends3.default)({ className: className }, other),
      children
    );
  }
  
  Toolbar.propTypes = process.env.NODE_ENV !== "production" ? (_ref = {
    classes: require('prop-types').object.isRequired
  }, (0, _defineProperty3.default)(_ref, 'classes', require('prop-types').object), (0, _defineProperty3.default)(_ref, 'children', typeof babelPluginFlowReactPropTypes_proptype_Node === 'function' ? babelPluginFlowReactPropTypes_proptype_Node : require('prop-types').shape(babelPluginFlowReactPropTypes_proptype_Node)), (0, _defineProperty3.default)(_ref, 'className', require('prop-types').string), (0, _defineProperty3.default)(_ref, 'disableGutters', require('prop-types').bool), _ref) : {};
  Toolbar.defaultProps = {
    disableGutters: false
  };
  
  exports.default = (0, _withStyles2.default)(styles, { name: 'MuiToolbar' })(Toolbar);