'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var React = require('react');
var React__default = _interopDefault(React);

var Dfp = React__default.lazy(function () {
  return new Promise(function (resolve) { resolve(require('./Dfp-f6a18ed2.js')); });
});

var AD = function AD(props) {
  if (typeof window === 'undefined') {
    return null;
  }
  return React__default.createElement(
    'div',
    null,
    React__default.createElement(
      React.Suspense,
      { fallback: React__default.createElement(
          'div',
          null,
          'Loading...'
        ) },
      React__default.createElement(Dfp, props)
    )
  );
};

module.exports = AD;
