"use strict";

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

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

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

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

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

var _box = _interopRequireDefault(require("../box"));

var _icon = _interopRequireDefault(require("../icon"));

var _classnames = _interopRequireDefault(require("classnames"));

var _theme = _interopRequireDefault(require("./theme.css"));

var _uiIcons = require("@teamleader/ui-icons");

var _excluded = ["className", "size"];

var MarketingLockBadge = function MarketingLockBadge(_ref) {
  var className = _ref.className,
      _ref$size = _ref.size,
      size = _ref$size === void 0 ? 'medium' : _ref$size,
      others = (0, _objectWithoutProperties2.default)(_ref, _excluded);
  var classNames = (0, _classnames.default)(_theme.default['wrapper'], _theme.default["is-".concat(size)], className);
  return /*#__PURE__*/_react.default.createElement(_box.default, (0, _extends2.default)({}, others, {
    alignItems: "center",
    borderRadius: "rounded",
    display: "flex",
    justifyContent: "center",
    className: classNames
  }), /*#__PURE__*/_react.default.createElement(_icon.default, {
    className: _theme.default['icon']
  }, /*#__PURE__*/_react.default.createElement(_uiIcons.IconLockSmallFilled, null)));
};

var _default = MarketingLockBadge;
exports.default = _default;