text: "use strict";
  
  var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _recaptcha = require("./recaptcha");
  
  var _recaptcha2 = _interopRequireDefault(_recaptcha);
  
  var _reactAsyncScript = require("react-async-script");
  
  var _reactAsyncScript2 = _interopRequireDefault(_reactAsyncScript);
  
  var callbackName = "onloadcallback";
  var lang = typeof window !== "undefined" && window.recaptchaOptions && window.recaptchaOptions.lang ? "&hl=" + window.recaptchaOptions.lang : "";
  var URL = "https://www.google.com/recaptcha/api.js?onload=" + callbackName + "&render=explicit" + lang;
  var globalName = "grecaptcha";
  
  exports["default"] = (0, _reactAsyncScript2["default"])(_recaptcha2["default"], URL, {
    callbackName: callbackName,
    globalName: globalName,
    exposeFuncs: ["getValue", "reset"]
  });
  module.exports = exports["default"];