'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('./_commonjsHelpers-06173234.js');
require('./_to-object-329a650b.js');
require('./es6.string.iterator-cc0bbaa4.js');
require('./_library-dd23b178.js');
require('./_iter-detect-60b2f026.js');
require('./core.get-iterator-method-f62321d4.js');
require('./define-property-f4d12f4e.js');
require('./web.dom.iterable-a0e279c1.js');
var React = require('react');
require('prop-types');
var Row = require('react-bootstrap/Row');
var Col = require('react-bootstrap/Col');
require('./isSymbol-04666465.js');
require('./asyncToGenerator-140e5f89.js');
require('./Segment.js');
require('./get-adbb11e3.js');
require('./eq-bb2843ed.js');
require('./react-social-icons-07939b41.js');
require('./defineProperty-55548b25.js');
var SideFooter = require('./SideFooter.js');
var ConferenceBanner = require('./ConferenceBanner-6c9e718a.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);

var Column2 = function Column2(props) {
  var rightItems = props.rightItems,
      title = props.title,
      website = props.website;


  return React__default['default'].createElement(
    'section',
    null,
    React__default['default'].createElement(
      Row__default['default'],
      { className: 'justify-content-md-center' },
      React__default['default'].createElement(
        Col__default['default'],
        { md: true, className: 'middleCol', style: { marginTop: !title && '10px' } },
        title && React__default['default'].createElement(
          'h1',
          null,
          title
        ),
        props.children
      ),
      React__default['default'].createElement(
        Col__default['default'],
        { xs: 12, className: 'rightCol' },
        website && website.conferenceBannerContent && React__default['default'].createElement(ConferenceBanner.ConferenceBanner, { website: website }),
        React__default['default'].createElement(
          'div',
          { className: 'sticky-top', style: { top: '60px' } },
          rightItems && rightItems.map(function (row, index) {
            return React__default['default'].createElement(
              'div',
              { key: index },
              row.component
            );
          }),
          website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default['default'].createElement(SideFooter, { website: website })
        )
      )
    )
  );
};

exports.Column2 = Column2;
exports.default = Column2;
