text: "use strict";
  
  exports.__esModule = true;
  exports.MjmlHero = void 0;
  
  var _react = _interopRequireWildcard(require("react"));
  
  var _utils = require("./utils");
  
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
  
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
  
  var MjmlHero = /*#__PURE__*/function (_Component) {
    _inheritsLoose(MjmlHero, _Component);
  
    function MjmlHero() {
      return _Component.apply(this, arguments) || this;
    }
  
    var _proto = MjmlHero.prototype;
  
    _proto.render = function render() {
      var _this$props = this.props,
          children = _this$props.children,
          rest = _objectWithoutPropertiesLoose(_this$props, ["children"]);
  
      return /*#__PURE__*/_react["default"].createElement('mj-hero', (0, _utils.handleMjmlProps)(rest), children);
    };
  
    return MjmlHero;
  }(_react.Component);
  
  exports.MjmlHero = MjmlHero;