react-gettext
Version:
Gettext implementation for React based project.
496 lines (400 loc) • 24.6 kB
JavaScript
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("hoistNonReactStatic"), require("PropTypes"), require("React"));
else if(typeof define === 'function' && define.amd)
define(["hoistNonReactStatic", "PropTypes", "React"], factory);
else if(typeof exports === 'object')
exports["ReactGettext"] = factory(require("hoistNonReactStatic"), require("PropTypes"), require("React"));
else
root["ReactGettext"] = factory(root["hoistNonReactStatic"], root["PropTypes"], root["React"]);
})(window, function(__WEBPACK_EXTERNAL_MODULE_hoist_non_react_statics__, __WEBPACK_EXTERNAL_MODULE_prop_types__, __WEBPACK_EXTERNAL_MODULE_react__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "./index.js");
/******/ })
/************************************************************************/
/******/ ({
/***/ "./Textdomain.js":
/*!***********************!*\
!*** ./Textdomain.js ***!
\***********************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _gettext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gettext */ "./gettext.js");
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var Textdomain = /*#__PURE__*/function (_Component) {
_inherits(Textdomain, _Component);
var _super = _createSuper(Textdomain);
function Textdomain() {
_classCallCheck(this, Textdomain);
return _super.apply(this, arguments);
}
_createClass(Textdomain, [{
key: "getChildContext",
value: function getChildContext() {
var self = this;
return {
gettext: self.gettext.bind(self),
xgettext: self.xgettext.bind(self),
ngettext: self.ngettext.bind(self),
nxgettext: self.nxgettext.bind(self)
};
}
}, {
key: "gettext",
value: function gettext(message) {
var translations = this.props.translations;
return Object(_gettext__WEBPACK_IMPORTED_MODULE_2__["gettext"])(translations, message);
}
}, {
key: "ngettext",
value: function ngettext(singular, plural, n) {
var _this$props = this.props,
translations = _this$props.translations,
plurality = _this$props.plural;
return Object(_gettext__WEBPACK_IMPORTED_MODULE_2__["ngettext"])(translations, plurality, singular, plural, n);
}
}, {
key: "xgettext",
value: function xgettext(message, context) {
var translations = this.props.translations;
return Object(_gettext__WEBPACK_IMPORTED_MODULE_2__["xgettext"])(translations, message, context);
}
}, {
key: "nxgettext",
value: function nxgettext(singular, plural, n, context) {
var _this$props2 = this.props,
translations = _this$props2.translations,
plurality = _this$props2.plural;
return Object(_gettext__WEBPACK_IMPORTED_MODULE_2__["nxgettext"])(translations, plurality, singular, plural, n, context);
}
}, {
key: "render",
value: function render() {
var children = this.props.children;
return children;
}
}]);
return Textdomain;
}(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
Textdomain.propTypes = {
translations: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.objectOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string)]))]),
plural: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node)])
};
Textdomain.defaultProps = {
translations: {},
plural: 'n != 1',
children: []
};
Textdomain.childContextTypes = {
gettext: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
ngettext: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
xgettext: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
nxgettext: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
};
/* harmony default export */ __webpack_exports__["default"] = (Textdomain);
/***/ }),
/***/ "./TextdomainContext.js":
/*!******************************!*\
!*** ./TextdomainContext.js ***!
\******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _buildTextdomain__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./buildTextdomain */ "./buildTextdomain.js");
var TextdomainContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(Object(_buildTextdomain__WEBPACK_IMPORTED_MODULE_1__["default"])({}, 'n != 1'));
/* harmony default export */ __webpack_exports__["default"] = (TextdomainContext);
/***/ }),
/***/ "./buildTextdomain.js":
/*!****************************!*\
!*** ./buildTextdomain.js ***!
\****************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _gettext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gettext */ "./gettext.js");
function buildTextdomain() {
var translations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var plural = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'n != 1';
return {
gettext: _gettext__WEBPACK_IMPORTED_MODULE_0__["gettext"].bind(null, translations),
ngettext: _gettext__WEBPACK_IMPORTED_MODULE_0__["ngettext"].bind(null, translations, plural),
xgettext: _gettext__WEBPACK_IMPORTED_MODULE_0__["xgettext"].bind(null, translations),
nxgettext: _gettext__WEBPACK_IMPORTED_MODULE_0__["nxgettext"].bind(null, translations, plural)
};
}
/* harmony default export */ __webpack_exports__["default"] = (buildTextdomain);
/***/ }),
/***/ "./gettext.js":
/*!********************!*\
!*** ./gettext.js ***!
\********************/
/*! exports provided: gettext, ngettext, xgettext, nxgettext, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gettext", function() { return gettext; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ngettext", function() { return ngettext; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xgettext", function() { return xgettext; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nxgettext", function() { return nxgettext; });
var DELIMITER = "\x04"; // End of Transmission (EOT)
function getTranslations(catalog) {
return typeof catalog === 'function' ? catalog() : catalog;
}
function getPluralForm(plural, n) {
// return 0 if n is not integer
if (Number.isNaN(parseInt(n, 10))) {
return 0;
} // if pluralForm is function, use it to get plural form index
if (typeof plural === 'function') {
return plural(n);
} // if pluralForm is string and contains only "n", "0-9", " ", "!=?:%+-/*><&|()"
// characters, then we can "eval" it to calculate plural form
if (typeof plural === 'string' && !plural.match(/[^n0-9 !=?:%+-/*><&|()]/i)) {
/* eslint-disable no-new-func */
var calcPlural = Function('n', "return ".concat(plural));
/* eslint-enable no-new-func */
return +calcPlural(n);
}
return 0;
}
function gettext(catalog, message) {
var messages = getTranslations(catalog);
return Object.prototype.hasOwnProperty.call(messages, message) ? messages[message] : message;
}
function ngettext(catalog, plurality, singular, plural, n) {
var messages = getTranslations(catalog);
var pluralIndex = getPluralForm(plurality, n);
var defaultValue = n > 1 ? plural : singular;
return Object.prototype.hasOwnProperty.call(messages, singular) && Array.isArray(messages[singular]) && messages[singular].length > pluralIndex && pluralIndex >= 0 ? messages[singular][pluralIndex] : defaultValue;
}
function xgettext(catalog, message, context) {
var messages = getTranslations(catalog);
var key = context + DELIMITER + message;
return Object.prototype.hasOwnProperty.call(messages, key) ? messages[key] : message;
}
function nxgettext(catalog, plurality, singular, plural, n, context) {
var messages = getTranslations(catalog);
var pluralIndex = getPluralForm(plurality, n);
var defaultValue = n > 1 ? plural : singular;
var key = context + DELIMITER + singular;
return Object.prototype.hasOwnProperty.call(messages, key) && Array.isArray(messages[key]) && messages[key].length > pluralIndex && pluralIndex >= 0 ? messages[key][pluralIndex] : defaultValue;
}
/* harmony default export */ __webpack_exports__["default"] = ({
gettext: gettext,
ngettext: ngettext,
xgettext: xgettext,
nxgettext: nxgettext
});
/***/ }),
/***/ "./index.js":
/*!******************!*\
!*** ./index.js ***!
\******************/
/*! exports provided: Textdomain, TextdomainContext, buildTextdomain, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _withGettext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./withGettext */ "./withGettext.js");
/* harmony import */ var _Textdomain__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Textdomain */ "./Textdomain.js");
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Textdomain", function() { return _Textdomain__WEBPACK_IMPORTED_MODULE_1__["default"]; });
/* harmony import */ var _TextdomainContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TextdomainContext */ "./TextdomainContext.js");
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextdomainContext", function() { return _TextdomainContext__WEBPACK_IMPORTED_MODULE_2__["default"]; });
/* harmony import */ var _buildTextdomain__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buildTextdomain */ "./buildTextdomain.js");
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "buildTextdomain", function() { return _buildTextdomain__WEBPACK_IMPORTED_MODULE_3__["default"]; });
/* harmony default export */ __webpack_exports__["default"] = (_withGettext__WEBPACK_IMPORTED_MODULE_0__["default"]);
/***/ }),
/***/ "./withGettext.js":
/*!************************!*\
!*** ./withGettext.js ***!
\************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
;
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! hoist-non-react-statics */ "hoist-non-react-statics");
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _Textdomain__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Textdomain */ "./Textdomain.js");
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
var withGettext = function withGettext() {
var translations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var pluralForm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'n != 1';
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
return function (WrappedComponent) {
var args = Object.assign({
withRef: false
}, options);
var WithGettext = /*#__PURE__*/function (_Textdomain) {
_inherits(WithGettext, _Textdomain);
var _super = _createSuper(WithGettext);
function WithGettext() {
_classCallCheck(this, WithGettext);
return _super.apply(this, arguments);
}
_createClass(WithGettext, [{
key: "getWrappedComponent",
value: function getWrappedComponent() {
return this.refs.wrappedComponent;
}
}, {
key: "render",
value: function render() {
var newprops = Object.assign({}, this.props);
if (args.withRef) {
newprops.ref = 'wrappedComponent';
}
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(WrappedComponent, newprops);
}
}]);
return WithGettext;
}(_Textdomain__WEBPACK_IMPORTED_MODULE_2__["default"]);
WithGettext.defaultProps = {
translations: translations,
plural: pluralForm
};
WithGettext.displayName = "withGettext(".concat(WrappedComponent.displayName || WrappedComponent.name || 'Component', ")");
return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_1___default()(WithGettext, WrappedComponent);
};
};
/* harmony default export */ __webpack_exports__["default"] = (withGettext);
/***/ }),
/***/ "hoist-non-react-statics":
/*!**************************************!*\
!*** external "hoistNonReactStatic" ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_hoist_non_react_statics__;
/***/ }),
/***/ "prop-types":
/*!****************************!*\
!*** external "PropTypes" ***!
\****************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_prop_types__;
/***/ }),
/***/ "react":
/*!************************!*\
!*** external "React" ***!
\************************/
/*! no static exports found */
/***/ (function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_react__;
/***/ })
/******/ });
});