"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _core = require("@emotion/core");

function _templateObject() {
  var data = (0, _taggedTemplateLiteral2["default"])(["\n\t\t\thtml {\n\t\t\t\t-webkit-font-smoothing: antialiased;\n\t\t\t\t-moz-osx-font-smoothing: grayscale;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\t*,\n\t\t\t*::before,\n\t\t\t*::after {\n\t\t\t\tbox-sizing: inherit;\n\t\t\t}\n\t\t\tstrong,\n\t\t\tb {\n\t\t\t\tfont-weight: bolder;\n\t\t\t}\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\tbody.modal--opened {\n\t\t\t\toverflow-y: hidden;\n\t\t\t}\n\t\t\t", "\n\t\t"]);

  _templateObject = function _templateObject() {
    return data;
  };

  return data;
}

var CssBaseline = function CssBaseline(_ref) {
  var styles = _ref.styles;
  return /*#__PURE__*/_react["default"].createElement(_core.Global, {
    styles: (0, _core.css)(_templateObject(), styles)
  });
};

process.env.NODE_ENV !== "production" ? CssBaseline.propTypes = {
  styles: _propTypes["default"].string
} : void 0;
var _default = CssBaseline;
exports["default"] = _default;