: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
// shim for using process in browser
var process = module.exports = {};
process.nextTick = (function () {
var canSetImmediate = typeof window !== 'undefined'
var canPost = typeof window !== 'undefined'
&& window.postMessage && window.addEventListener
return function (f) { return window.setImmediate(f) };
window.addEventListener('message', function (ev) {
if ((source === window || source === null) && ev.data === 'process-tick') {
return function nextTick(fn) {
window.postMessage('process-tick', '*');
return function nextTick(fn) {
process.title = 'browser';
process.addListener = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.binding = function (name) {
throw new Error('process.binding is not supported');
process.cwd = function () { return '/' };
process.chdir = function (dir) {
throw new Error('process.chdir is not supported');
},{}],2:[function(require,module,exports){
/* eslint-disable no-unused-vars */
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var hasOwnProperty = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
if (val === null || val === undefined) {
throw new TypeError('Object.assign cannot be called with null or undefined');
function shouldUseNative() {
// Detect buggy property enumeration order in older V8 versions.
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
if (Object.getOwnPropertyNames(test1)[0] === '5') {
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
for (var i = 0; i < 10; i++) {
test2['_' + String.fromCharCode(i)] = i;
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
if (order2.join('') !== '0123456789') {
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
if (Object.keys(Object.assign({}, test3)).join('') !==
'abcdefghijklmnopqrst') {
// We don't expect any of the above to throw, but better to be safe.
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
var to = toObject(target);
for (var s = 1; s < arguments.length; s++) {
from = Object(arguments[s]);
if (hasOwnProperty.call(from, key)) {
if (getOwnPropertySymbols) {
symbols = getOwnPropertySymbols(from);
for (var i = 0; i < symbols.length; i++) {
if (propIsEnumerable.call(from, symbols[i])) {
to[symbols[i]] = from[symbols[i]];
},{}],3:[function(require,module,exports){
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
var printWarning = function() {};
if (process.env.NODE_ENV !== 'production') {
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
var loggedTypeFailures = {};
var has = require('./lib/has');
printWarning = function(text) {
var message = 'Warning: ' + text;
if (typeof console !== 'undefined') {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
* Assert that the values match with the type specs.
* Error messages are memorized and will only be shown once.
* @param {object} typeSpecs Map of name to a ReactPropType
* @param {object} values Runtime values that need to be type-checked
* @param {string} location e.g. "prop", "context", "child context"
* @param {string} componentName Name of the component for error messages.
* @param {?Function} getStack Returns the component stack.
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
if (process.env.NODE_ENV !== 'production') {
for (var typeSpecName in typeSpecs) {
if (has(typeSpecs, typeSpecName)) {
// Prop type validation may throw. In case they do, we don't want to
// fail the render phase where it didn't fail before. So we log it.
// After these have been cleaned up, we'll let them throw.
// This is intentionally an invariant that gets caught. It's the same
// behavior as without this statement except with a better message.
if (typeof typeSpecs[typeSpecName] !== 'function') {
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
err.name = 'Invariant Violation';
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
if (error && !(error instanceof Error)) {
(componentName || 'React class') + ': type specification of ' +
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
'You may have forgotten to pass an argument to the type checker ' +
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
'shape all require an argument).'
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
// Only monitor this failure once because there tends to be a lot of the
loggedTypeFailures[error.message] = true;
var stack = getStack ? getStack() : '';
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
* Resets warning cache when testing.
checkPropTypes.resetWarningCache = function() {
if (process.env.NODE_ENV !== 'production') {
module.exports = checkPropTypes;
}).call(this,require("hmr7eR"))
},{"./lib/ReactPropTypesSecret":7,"./lib/has":8,"hmr7eR":1}],4:[function(require,module,exports){
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
function emptyFunction() {}
function emptyFunctionWithReset() {}
emptyFunctionWithReset.resetWarningCache = emptyFunction;
module.exports = function() {
function shim(props, propName, componentName, location, propFullName, secret) {
if (secret === ReactPropTypesSecret) {
// It is still safe when called from React.
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
'Use PropTypes.checkPropTypes() to call them. ' +
'Read more at http://fb.me/use-check-prop-types'
err.name = 'Invariant Violation';
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
checkPropTypes: emptyFunctionWithReset,
resetWarningCache: emptyFunction
ReactPropTypes.PropTypes = ReactPropTypes;
},{"./lib/ReactPropTypesSecret":7}],5:[function(require,module,exports){
* Copyright (c) 2013-present, Facebook, Inc.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
var ReactIs = require('react-is');
var assign = require('object-assign');
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
var has = require('./lib/has');
var checkPropTypes = require('./checkPropTypes');
var printWarning = function() {};
if (process.env.NODE_ENV !== 'production') {
printWarning = function(text) {
var message = 'Warning: ' + text;
if (typeof console !== 'undefined') {
// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
function emptyFunctionThatReturnsNull() {
module.exports = function(isValidElement, throwOnDirectAccess) {
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
* Returns the iterator method function contained on the iterable object.
* Be sure to invoke the function with the iterable as context:
* var iteratorFn = getIteratorFn(myIterable);
* var iterator = iteratorFn.call(myIterable);
* @param {?object} maybeIterable
function getIteratorFn(maybeIterable) {
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
if (typeof iteratorFn === 'function') {
* Collection of methods that allow declaration and validation of props that are
* supplied to React components. Example usage:
* var Props = require('ReactPropTypes');
* var MyArticle = React.createClass({
* // An optional string prop named "description".
* description: Props.string,
* // A required enum prop named "category".
* category: Props.oneOf(['News','Photos']).isRequired,
* // A prop named "dialog" that requires an instance of Dialog.
* dialog: Props.instanceOf(Dialog).isRequired
* render: function() { ... }
* A more formal specification of how these methods are used:
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
* decl := ReactPropTypes.{type}(.isRequired)?
* Each and every declaration produces a function with the same signature. This
* allows the creation of custom validation functions. For example:
* var MyLink = React.createClass({
* // An optional string or URI prop named "href".
* href: function(props, propName, componentName) {
* var propValue = props[propName];
* if (propValue != null && typeof propValue !== 'string' &&
* !(propValue instanceof URI)) {
* 'Expected a string or an URI for ' + propName + ' in ' +
* render: function() {...}
var ANONYMOUS = '<<anonymous>>';
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
array: createPrimitiveTypeChecker('array'),
bigint: createPrimitiveTypeChecker('bigint'),
bool: createPrimitiveTypeChecker('boolean'),
func: createPrimitiveTypeChecker('function'),
number: createPrimitiveTypeChecker('number'),
object: createPrimitiveTypeChecker('object'),
string: createPrimitiveTypeChecker('string'),
symbol: createPrimitiveTypeChecker('symbol'),
any: createAnyTypeChecker(),
arrayOf: createArrayOfTypeChecker,
element: createElementTypeChecker(),
elementType: createElementTypeTypeChecker(),
instanceOf: createInstanceTypeChecker,
node: createNodeChecker(),
objectOf: createObjectOfTypeChecker,
oneOf: createEnumTypeChecker,
oneOfType: createUnionTypeChecker,
shape: createShapeTypeChecker,
exact: createStrictShapeTypeChecker,
* inlined Object.is polyfill to avoid requiring consumers ship their own
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
/*eslint-disable no-self-compare*/
// Steps 6.b-6.e: +0 != -0
return x !== 0 || 1 / x === 1 / y;
return x !== x && y !== y;
/*eslint-enable no-self-compare*/
* We use an Error-like object for backward compatibility as people may call
* PropTypes directly and inspect their output. However, we don't use real
* Errors anymore. We don't inspect their stack anyway, and creating them
* is prohibitively expensive if they are created too often, such as what
* happens in oneOfType() for any type before the one that matched.
function PropTypeError(message, data) {
this.data = data && typeof data === 'object' ? data: {};