Completely updated React, fixed #11, (hopefully)
This commit is contained in:
118
goTorrentWebUI/node_modules/react/cjs/react.development.js
generated
vendored
118
goTorrentWebUI/node_modules/react/cjs/react.development.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
/** @license React v16.1.0
|
||||
/** @license React v16.2.0
|
||||
* react.development.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
@@ -9,20 +9,46 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
|
||||
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
var _assign = require('object-assign');
|
||||
var invariant = require('fbjs/lib/invariant');
|
||||
var emptyObject = require('fbjs/lib/emptyObject');
|
||||
var invariant = require('fbjs/lib/invariant');
|
||||
var warning = require('fbjs/lib/warning');
|
||||
var emptyFunction = require('fbjs/lib/emptyFunction');
|
||||
var checkPropTypes = require('prop-types/checkPropTypes');
|
||||
|
||||
// TODO: this is special because it gets imported during build.
|
||||
|
||||
var ReactVersion = '16.1.0';
|
||||
var ReactVersion = '16.2.0';
|
||||
|
||||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
|
||||
|
||||
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol['for']('react.element') : 0xeac7;
|
||||
var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
|
||||
var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
|
||||
var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
|
||||
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
|
||||
|
||||
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
||||
|
||||
function getIteratorFn(maybeIterable) {
|
||||
if (maybeIterable === null || typeof maybeIterable === 'undefined') {
|
||||
return null;
|
||||
}
|
||||
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
||||
if (typeof maybeIterator === 'function') {
|
||||
return maybeIterator;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* WARNING: DO NOT manually require this module.
|
||||
@@ -31,21 +57,6 @@ var ReactVersion = '16.1.0';
|
||||
* It always throws.
|
||||
*/
|
||||
|
||||
// Exports React.Fragment
|
||||
var enableReactFragment = false;
|
||||
// Exports ReactDOM.createRoot
|
||||
|
||||
|
||||
|
||||
// Mutating mode (React DOM, React ART, React Native):
|
||||
|
||||
// Experimental noop mode (currently unused):
|
||||
|
||||
// Experimental persistent mode (CS):
|
||||
|
||||
|
||||
// Only used in www builds.
|
||||
|
||||
/**
|
||||
* Forked from fbjs/warning:
|
||||
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
||||
@@ -325,10 +336,6 @@ var ReactCurrentOwner = {
|
||||
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
|
||||
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var REACT_ELEMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
||||
|
||||
var RESERVED_PROPS = {
|
||||
key: true,
|
||||
ref: true,
|
||||
@@ -414,7 +421,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
||||
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
||||
var element = {
|
||||
// This tag allow us to uniquely identify this as a React Element
|
||||
$$typeof: REACT_ELEMENT_TYPE$1,
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
|
||||
// Built-in properties that belong on the element
|
||||
type: type,
|
||||
@@ -529,7 +536,7 @@ function createElement(type, config, children) {
|
||||
}
|
||||
{
|
||||
if (key || ref) {
|
||||
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE$1) {
|
||||
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {
|
||||
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
||||
if (key) {
|
||||
defineKeyPropWarningGetter(props, displayName);
|
||||
@@ -629,7 +636,7 @@ function cloneElement(element, config, children) {
|
||||
* @final
|
||||
*/
|
||||
function isValidElement(object) {
|
||||
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE$1;
|
||||
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
|
||||
var ReactDebugCurrentFrame = {};
|
||||
@@ -647,12 +654,6 @@ var ReactDebugCurrentFrame = {};
|
||||
};
|
||||
}
|
||||
|
||||
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
||||
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
||||
var REACT_PORTAL_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.portal') || 0xeaca;
|
||||
var SEPARATOR = '.';
|
||||
var SUBSEPARATOR = ':';
|
||||
|
||||
@@ -736,10 +737,28 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
||||
children = null;
|
||||
}
|
||||
|
||||
if (children === null || type === 'string' || type === 'number' ||
|
||||
// The following is inlined from ReactElement. This means we can optimize
|
||||
// some checks. React Fiber also inlines this logic for similar purposes.
|
||||
type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE || type === 'object' && children.$$typeof === REACT_PORTAL_TYPE) {
|
||||
var invokeCallback = false;
|
||||
|
||||
if (children === null) {
|
||||
invokeCallback = true;
|
||||
} else {
|
||||
switch (type) {
|
||||
case 'string':
|
||||
case 'number':
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case 'object':
|
||||
switch (children.$$typeof) {
|
||||
case REACT_ELEMENT_TYPE:
|
||||
case REACT_CALL_TYPE:
|
||||
case REACT_RETURN_TYPE:
|
||||
case REACT_PORTAL_TYPE:
|
||||
invokeCallback = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (invokeCallback) {
|
||||
callback(traverseContext, children,
|
||||
// If it's the only child, treat the name as if it was wrapped in an array
|
||||
// so that it's consistent if the number of children grows.
|
||||
@@ -759,7 +778,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
||||
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
||||
}
|
||||
} else {
|
||||
var iteratorFn = ITERATOR_SYMBOL && children[ITERATOR_SYMBOL] || children[FAUX_ITERATOR_SYMBOL];
|
||||
var iteratorFn = getIteratorFn(children);
|
||||
if (typeof iteratorFn === 'function') {
|
||||
{
|
||||
// Warn about using Maps as children
|
||||
@@ -983,6 +1002,8 @@ function getComponentName(fiber) {
|
||||
{
|
||||
var currentlyValidatingElement = null;
|
||||
|
||||
var propTypesMisspellWarningShown = false;
|
||||
|
||||
var getDisplayName = function (element) {
|
||||
if (element == null) {
|
||||
return '#empty';
|
||||
@@ -990,7 +1011,7 @@ function getComponentName(fiber) {
|
||||
return '#text';
|
||||
} else if (typeof element.type === 'string') {
|
||||
return element.type;
|
||||
} else if (element.type === REACT_FRAGMENT_TYPE$1) {
|
||||
} else if (element.type === REACT_FRAGMENT_TYPE) {
|
||||
return 'React.Fragment';
|
||||
} else {
|
||||
return element.type.displayName || element.type.name || 'Unknown';
|
||||
@@ -1008,14 +1029,9 @@ function getComponentName(fiber) {
|
||||
return stack;
|
||||
};
|
||||
|
||||
var REACT_FRAGMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
||||
|
||||
var VALID_FRAGMENT_PROPS = new Map([['children', true], ['key', true]]);
|
||||
}
|
||||
|
||||
var ITERATOR_SYMBOL$1 = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL$1 = '@@iterator'; // Before Symbol spec.
|
||||
|
||||
function getDeclarationErrorAddendum() {
|
||||
if (ReactCurrentOwner.current) {
|
||||
var name = getComponentName(ReactCurrentOwner.current);
|
||||
@@ -1120,7 +1136,7 @@ function validateChildKeys(node, parentType) {
|
||||
node._store.validated = true;
|
||||
}
|
||||
} else if (node) {
|
||||
var iteratorFn = ITERATOR_SYMBOL$1 && node[ITERATOR_SYMBOL$1] || node[FAUX_ITERATOR_SYMBOL$1];
|
||||
var iteratorFn = getIteratorFn(node);
|
||||
if (typeof iteratorFn === 'function') {
|
||||
// Entry iterators used to provide implicit keys,
|
||||
// but now we print a separate warning for them later.
|
||||
@@ -1150,11 +1166,13 @@ function validatePropTypes(element) {
|
||||
}
|
||||
var name = componentClass.displayName || componentClass.name;
|
||||
var propTypes = componentClass.propTypes;
|
||||
|
||||
if (propTypes) {
|
||||
currentlyValidatingElement = element;
|
||||
checkPropTypes(propTypes, element.props, 'prop', name, getStackAddendum);
|
||||
currentlyValidatingElement = null;
|
||||
} else if (componentClass.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
||||
propTypesMisspellWarningShown = true;
|
||||
warning(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
|
||||
}
|
||||
if (typeof componentClass.getDefaultProps === 'function') {
|
||||
warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
||||
@@ -1210,7 +1228,7 @@ function createElementWithValidation(type, props, children) {
|
||||
if (!validType) {
|
||||
var info = '';
|
||||
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
||||
info += ' You likely forgot to export your component from the file ' + "it's defined in.";
|
||||
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
||||
}
|
||||
|
||||
var sourceInfo = getSourceInfoErrorAddendum(props);
|
||||
@@ -1244,7 +1262,7 @@ function createElementWithValidation(type, props, children) {
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE$1) {
|
||||
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE) {
|
||||
validateFragmentProps(element);
|
||||
} else {
|
||||
validatePropTypes(element);
|
||||
@@ -1283,8 +1301,6 @@ function cloneElementWithValidation(element, props, children) {
|
||||
return newElement;
|
||||
}
|
||||
|
||||
var REACT_FRAGMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
||||
|
||||
var React = {
|
||||
Children: {
|
||||
map: mapChildren,
|
||||
@@ -1298,6 +1314,8 @@ var React = {
|
||||
PureComponent: PureComponent,
|
||||
unstable_AsyncComponent: AsyncComponent,
|
||||
|
||||
Fragment: REACT_FRAGMENT_TYPE,
|
||||
|
||||
createElement: createElementWithValidation,
|
||||
cloneElement: cloneElementWithValidation,
|
||||
createFactory: createFactoryWithValidation,
|
||||
@@ -1312,10 +1330,6 @@ var React = {
|
||||
}
|
||||
};
|
||||
|
||||
if (enableReactFragment) {
|
||||
React.Fragment = REACT_FRAGMENT_TYPE;
|
||||
}
|
||||
|
||||
{
|
||||
_assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
|
||||
// These should not be included in production.
|
||||
|
29
goTorrentWebUI/node_modules/react/cjs/react.production.min.js
generated
vendored
29
goTorrentWebUI/node_modules/react/cjs/react.production.min.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
/** @license React v16.1.0
|
||||
/** @license React v16.2.0
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
@@ -6,17 +6,16 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var m=require("object-assign"),n=require("fbjs/lib/emptyObject"),p=require("fbjs/lib/emptyFunction");
|
||||
function q(a){for(var b=arguments.length-1,e="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
|
||||
var r={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function t(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||r}t.prototype.isReactComponent={};t.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};t.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
||||
function u(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||r}function v(){}v.prototype=t.prototype;var w=u.prototype=new v;w.constructor=u;m(w,t.prototype);w.isPureReactComponent=!0;function x(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||r}var y=x.prototype=new v;y.constructor=x;m(y,t.prototype);y.unstable_isAsyncReactComponent=!0;y.render=function(){return this.props.children};
|
||||
var z={current:null},A=Object.prototype.hasOwnProperty,B="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,C={key:!0,ref:!0,__self:!0,__source:!0};
|
||||
function D(a,b,e){var d,c={},h=null,k=null;if(null!=b)for(d in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(h=""+b.key),b)A.call(b,d)&&!C.hasOwnProperty(d)&&(c[d]=b[d]);var f=arguments.length-2;if(1===f)c.children=e;else if(1<f){for(var g=Array(f),l=0;l<f;l++)g[l]=arguments[l+2];c.children=g}if(a&&a.defaultProps)for(d in f=a.defaultProps,f)void 0===c[d]&&(c[d]=f[d]);return{$$typeof:B,type:a,key:h,ref:k,props:c,_owner:z.current}}function E(a){return"object"===typeof a&&null!==a&&a.$$typeof===B}
|
||||
var F="function"===typeof Symbol&&Symbol.iterator,G="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,H="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.portal")||60106;function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var I=/\/+/g,J=[];
|
||||
function K(a,b,e,d){if(J.length){var c=J.pop();c.result=a;c.keyPrefix=b;c.func=e;c.context=d;c.count=0;return c}return{result:a,keyPrefix:b,func:e,context:d,count:0}}function L(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>J.length&&J.push(a)}
|
||||
function M(a,b,e,d){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;if(null===a||"string"===c||"number"===c||"object"===c&&a.$$typeof===G||"object"===c&&a.$$typeof===H)return e(d,a,""===b?"."+N(a,0):b),1;var h=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var f=b+N(c,k);h+=M(c,f,e,d)}else if(f=F&&a[F]||a["@@iterator"],"function"===typeof f)for(a=f.call(a),k=0;!(c=a.next()).done;)c=c.value,f=b+N(c,k++),h+=M(c,f,e,d);else"object"===c&&(e=""+a,q("31","[object Object]"===
|
||||
e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return h}function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function O(a,b){a.func.call(a.context,b,a.count++)}
|
||||
function P(a,b,e){var d=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?Q(a,d,e,p.thatReturnsArgument):null!=a&&(E(a)&&(b=c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(I,"$\x26/")+"/")+e,a={$$typeof:B,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),d.push(a))}function Q(a,b,e,d,c){var h="";null!=e&&(h=(""+e).replace(I,"$\x26/")+"/");b=K(b,h,d,c);null==a||M(a,"",P,b);L(b)}"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");
|
||||
var R={Children:{map:function(a,b,e){if(null==a)return a;var d=[];Q(a,d,null,b,e);return d},forEach:function(a,b,e){if(null==a)return a;b=K(null,null,b,e);null==a||M(a,"",O,b);L(b)},count:function(a){return null==a?0:M(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];Q(a,b,null,p.thatReturnsArgument);return b},only:function(a){E(a)?void 0:q("143");return a}},Component:t,PureComponent:u,unstable_AsyncComponent:x,createElement:D,cloneElement:function(a,b,e){var d=m({},a.props),c=a.key,h=a.ref,
|
||||
k=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,k=z.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(g in b)A.call(b,g)&&!C.hasOwnProperty(g)&&(d[g]=void 0===b[g]&&void 0!==f?f[g]:b[g])}var g=arguments.length-2;if(1===g)d.children=e;else if(1<g){f=Array(g);for(var l=0;l<g;l++)f[l]=arguments[l+2];d.children=f}return{$$typeof:B,type:a.type,key:c,ref:h,props:d,_owner:k}},createFactory:function(a){var b=D.bind(null,a);b.type=a;return b},isValidElement:E,
|
||||
version:"16.1.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:z,assign:m}},S=Object.freeze({default:R}),T=S&&R||S;module.exports=T["default"]?T["default"]:T;
|
||||
|
||||
'use strict';var m=require("object-assign"),n=require("fbjs/lib/emptyObject"),p=require("fbjs/lib/emptyFunction"),q="function"===typeof Symbol&&Symbol["for"],r=q?Symbol["for"]("react.element"):60103,t=q?Symbol["for"]("react.call"):60104,u=q?Symbol["for"]("react.return"):60105,v=q?Symbol["for"]("react.portal"):60106,w=q?Symbol["for"]("react.fragment"):60107,x="function"===typeof Symbol&&Symbol.iterator;
|
||||
function y(a){for(var b=arguments.length-1,e="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
|
||||
var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function A(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?y("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
||||
function B(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}function C(){}C.prototype=A.prototype;var D=B.prototype=new C;D.constructor=B;m(D,A.prototype);D.isPureReactComponent=!0;function E(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}var F=E.prototype=new C;F.constructor=E;m(F,A.prototype);F.unstable_isAsyncReactComponent=!0;F.render=function(){return this.props.children};var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};
|
||||
function J(a,b,e){var c,d={},g=null,k=null;if(null!=b)for(c in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var h=Array(f),l=0;l<f;l++)h[l]=arguments[l+2];d.children=h}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:r,type:a,key:g,ref:k,props:d,_owner:G.current}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}
|
||||
function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var L=/\/+/g,M=[];function N(a,b,e,c){if(M.length){var d=M.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function O(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>M.length&&M.push(a)}
|
||||
function P(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case r:case t:case u:case v:g=!0}}if(g)return e(c,a,""===b?"."+Q(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+Q(d,k);g+=P(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=x&&a[x]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=
|
||||
f.call(a),k=0;!(d=a.next()).done;)d=d.value,f=b+Q(d,k++),g+=P(d,f,e,c);else"object"===d&&(e=""+a,y("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function R(a,b){a.func.call(a.context,b,a.count++)}
|
||||
function S(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?T(a,c,e,p.thatReturnsArgument):null!=a&&(K(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(L,"$\x26/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function T(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(L,"$\x26/")+"/");b=N(b,g,c,d);null==a||P(a,"",S,b);O(b)}
|
||||
var U={Children:{map:function(a,b,e){if(null==a)return a;var c=[];T(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=N(null,null,b,e);null==a||P(a,"",R,b);O(b)},count:function(a){return null==a?0:P(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];T(a,b,null,p.thatReturnsArgument);return b},only:function(a){K(a)?void 0:y("143");return a}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:w,createElement:J,cloneElement:function(a,b,e){var c=m({},a.props),
|
||||
d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)H.call(b,h)&&!I.hasOwnProperty(h)&&(c[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)c.children=e;else if(1<h){f=Array(h);for(var l=0;l<h;l++)f[l]=arguments[l+2];c.children=f}return{$$typeof:r,type:a.type,key:d,ref:g,props:c,_owner:k}},createFactory:function(a){var b=J.bind(null,a);b.type=a;return b},
|
||||
isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:G,assign:m}},V=Object.freeze({default:U}),W=V&&U||V;module.exports=W["default"]?W["default"]:W;
|
||||
|
20
goTorrentWebUI/node_modules/react/package.json
generated
vendored
20
goTorrentWebUI/node_modules/react/package.json
generated
vendored
@@ -1,31 +1,31 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"react@16.1.0",
|
||||
"react@16.2.0",
|
||||
"C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI"
|
||||
]
|
||||
],
|
||||
"_from": "react@16.1.0",
|
||||
"_id": "react@16.1.0",
|
||||
"_from": "react@16.2.0",
|
||||
"_id": "react@16.2.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-hvKYlKqde2JNnNiEzORvSA0J1L7uSZ43l+J89ZNoP4EXxQrVNH0CFj8vorfPou3w+1ou1BNMBir2VVsuXtETRA==",
|
||||
"_integrity": "sha512-ZmIomM7EE1DvPEnSFAHZn9Vs9zJl5A9H7el0EGTE6ZbW9FKe/14IYAlPbC8iH25YarEQxZL+E8VW7Mi7kfQrDQ==",
|
||||
"_location": "/react",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "react@16.1.0",
|
||||
"raw": "react@16.2.0",
|
||||
"name": "react",
|
||||
"escapedName": "react",
|
||||
"rawSpec": "16.1.0",
|
||||
"rawSpec": "16.2.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "16.1.0"
|
||||
"fetchSpec": "16.2.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/react/-/react-16.1.0.tgz",
|
||||
"_spec": "16.1.0",
|
||||
"_resolved": "https://registry.npmjs.org/react/-/react-16.2.0.tgz",
|
||||
"_spec": "16.2.0",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI",
|
||||
"browserify": {
|
||||
"transform": [
|
||||
@@ -63,5 +63,5 @@
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/facebook/react.git"
|
||||
},
|
||||
"version": "16.1.0"
|
||||
"version": "16.2.0"
|
||||
}
|
||||
|
198
goTorrentWebUI/node_modules/react/umd/react.development.js
generated
vendored
198
goTorrentWebUI/node_modules/react/umd/react.development.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
/** @license React v16.1.0
|
||||
/** @license React v16.2.0
|
||||
* react.development.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
@@ -79,7 +79,7 @@ function shouldUseNative() {
|
||||
}
|
||||
}
|
||||
|
||||
var objectAssign$1 = shouldUseNative() ? Object.assign : function (target, source) {
|
||||
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
||||
var from;
|
||||
var to = toObject(target);
|
||||
var symbols;
|
||||
@@ -108,7 +108,31 @@ var objectAssign$1 = shouldUseNative() ? Object.assign : function (target, sourc
|
||||
|
||||
// TODO: this is special because it gets imported during build.
|
||||
|
||||
var ReactVersion = '16.1.0';
|
||||
var ReactVersion = '16.2.0';
|
||||
|
||||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
|
||||
|
||||
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol['for']('react.element') : 0xeac7;
|
||||
var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
|
||||
var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
|
||||
var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
|
||||
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
|
||||
|
||||
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
||||
|
||||
function getIteratorFn(maybeIterable) {
|
||||
if (maybeIterable === null || typeof maybeIterable === 'undefined') {
|
||||
return null;
|
||||
}
|
||||
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
||||
if (typeof maybeIterator === 'function') {
|
||||
return maybeIterator;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* WARNING: DO NOT manually require this module.
|
||||
@@ -127,6 +151,24 @@ var ReactVersion = '16.1.0';
|
||||
|
||||
|
||||
|
||||
var emptyObject = {};
|
||||
|
||||
{
|
||||
Object.freeze(emptyObject);
|
||||
}
|
||||
|
||||
var emptyObject_1 = emptyObject;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Use invariant() to assert state which your program assumes to be true.
|
||||
*
|
||||
@@ -169,40 +211,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
||||
}
|
||||
}
|
||||
|
||||
var invariant_1$1 = invariant;
|
||||
|
||||
// Exports React.Fragment
|
||||
var enableReactFragment = false;
|
||||
// Exports ReactDOM.createRoot
|
||||
|
||||
|
||||
|
||||
// Mutating mode (React DOM, React ART, React Native):
|
||||
|
||||
// Experimental noop mode (currently unused):
|
||||
|
||||
// Experimental persistent mode (CS):
|
||||
|
||||
|
||||
// Only used in www builds.
|
||||
|
||||
/**
|
||||
* 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 emptyObject = {};
|
||||
|
||||
{
|
||||
Object.freeze(emptyObject);
|
||||
}
|
||||
|
||||
var emptyObject_1 = emptyObject;
|
||||
var invariant_1 = invariant;
|
||||
|
||||
/**
|
||||
* Forked from fbjs/warning:
|
||||
@@ -353,7 +362,7 @@ var warning = emptyFunction_1;
|
||||
};
|
||||
}
|
||||
|
||||
var warning_1$1 = warning;
|
||||
var warning_1 = warning;
|
||||
|
||||
var didWarnStateUpdateForUnmountedComponent = {};
|
||||
|
||||
@@ -365,7 +374,7 @@ function warnNoop(publicInstance, callerName) {
|
||||
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
||||
return;
|
||||
}
|
||||
warning_1$1(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op.\n\nPlease check the code for the %s component.', callerName, callerName, componentName);
|
||||
warning_1(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op.\n\nPlease check the code for the %s component.', callerName, callerName, componentName);
|
||||
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
||||
}
|
||||
}
|
||||
@@ -478,7 +487,7 @@ Component.prototype.isReactComponent = {};
|
||||
* @protected
|
||||
*/
|
||||
Component.prototype.setState = function (partialState, callback) {
|
||||
!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? invariant_1$1(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : void 0;
|
||||
!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? invariant_1(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : void 0;
|
||||
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
||||
};
|
||||
|
||||
@@ -543,7 +552,7 @@ ComponentDummy.prototype = Component.prototype;
|
||||
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
||||
pureComponentPrototype.constructor = PureComponent;
|
||||
// Avoid an extra prototype jump for these methods.
|
||||
objectAssign$1(pureComponentPrototype, Component.prototype);
|
||||
objectAssign(pureComponentPrototype, Component.prototype);
|
||||
pureComponentPrototype.isPureReactComponent = true;
|
||||
|
||||
function AsyncComponent(props, context, updater) {
|
||||
@@ -559,7 +568,7 @@ function AsyncComponent(props, context, updater) {
|
||||
var asyncComponentPrototype = AsyncComponent.prototype = new ComponentDummy();
|
||||
asyncComponentPrototype.constructor = AsyncComponent;
|
||||
// Avoid an extra prototype jump for these methods.
|
||||
objectAssign$1(asyncComponentPrototype, Component.prototype);
|
||||
objectAssign(asyncComponentPrototype, Component.prototype);
|
||||
asyncComponentPrototype.unstable_isAsyncReactComponent = true;
|
||||
asyncComponentPrototype.render = function () {
|
||||
return this.props.children;
|
||||
@@ -581,10 +590,6 @@ var ReactCurrentOwner = {
|
||||
|
||||
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
||||
|
||||
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var REACT_ELEMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
||||
|
||||
var RESERVED_PROPS = {
|
||||
key: true,
|
||||
ref: true,
|
||||
@@ -623,7 +628,7 @@ function defineKeyPropWarningGetter(props, displayName) {
|
||||
var warnAboutAccessingKey = function () {
|
||||
if (!specialPropKeyWarningShown) {
|
||||
specialPropKeyWarningShown = true;
|
||||
warning_1$1(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
||||
warning_1(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
||||
}
|
||||
};
|
||||
warnAboutAccessingKey.isReactWarning = true;
|
||||
@@ -637,7 +642,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
||||
var warnAboutAccessingRef = function () {
|
||||
if (!specialPropRefWarningShown) {
|
||||
specialPropRefWarningShown = true;
|
||||
warning_1$1(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
||||
warning_1(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
|
||||
}
|
||||
};
|
||||
warnAboutAccessingRef.isReactWarning = true;
|
||||
@@ -670,7 +675,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
||||
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
||||
var element = {
|
||||
// This tag allow us to uniquely identify this as a React Element
|
||||
$$typeof: REACT_ELEMENT_TYPE$1,
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
|
||||
// Built-in properties that belong on the element
|
||||
type: type,
|
||||
@@ -785,7 +790,7 @@ function createElement(type, config, children) {
|
||||
}
|
||||
{
|
||||
if (key || ref) {
|
||||
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE$1) {
|
||||
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {
|
||||
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
||||
if (key) {
|
||||
defineKeyPropWarningGetter(props, displayName);
|
||||
@@ -819,7 +824,7 @@ function cloneElement(element, config, children) {
|
||||
var propName;
|
||||
|
||||
// Original props are copied
|
||||
var props = objectAssign$1({}, element.props);
|
||||
var props = objectAssign({}, element.props);
|
||||
|
||||
// Reserved names are extracted
|
||||
var key = element.key;
|
||||
@@ -885,7 +890,7 @@ function cloneElement(element, config, children) {
|
||||
* @final
|
||||
*/
|
||||
function isValidElement(object) {
|
||||
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE$1;
|
||||
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
|
||||
var ReactDebugCurrentFrame = {};
|
||||
@@ -903,12 +908,6 @@ var ReactDebugCurrentFrame = {};
|
||||
};
|
||||
}
|
||||
|
||||
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
||||
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
||||
var REACT_PORTAL_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.portal') || 0xeaca;
|
||||
var SEPARATOR = '.';
|
||||
var SUBSEPARATOR = ':';
|
||||
|
||||
@@ -992,10 +991,28 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
||||
children = null;
|
||||
}
|
||||
|
||||
if (children === null || type === 'string' || type === 'number' ||
|
||||
// The following is inlined from ReactElement. This means we can optimize
|
||||
// some checks. React Fiber also inlines this logic for similar purposes.
|
||||
type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE || type === 'object' && children.$$typeof === REACT_PORTAL_TYPE) {
|
||||
var invokeCallback = false;
|
||||
|
||||
if (children === null) {
|
||||
invokeCallback = true;
|
||||
} else {
|
||||
switch (type) {
|
||||
case 'string':
|
||||
case 'number':
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case 'object':
|
||||
switch (children.$$typeof) {
|
||||
case REACT_ELEMENT_TYPE:
|
||||
case REACT_CALL_TYPE:
|
||||
case REACT_RETURN_TYPE:
|
||||
case REACT_PORTAL_TYPE:
|
||||
invokeCallback = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (invokeCallback) {
|
||||
callback(traverseContext, children,
|
||||
// If it's the only child, treat the name as if it was wrapped in an array
|
||||
// so that it's consistent if the number of children grows.
|
||||
@@ -1015,12 +1032,12 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
||||
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
||||
}
|
||||
} else {
|
||||
var iteratorFn = ITERATOR_SYMBOL && children[ITERATOR_SYMBOL] || children[FAUX_ITERATOR_SYMBOL];
|
||||
var iteratorFn = getIteratorFn(children);
|
||||
if (typeof iteratorFn === 'function') {
|
||||
{
|
||||
// Warn about using Maps as children
|
||||
if (iteratorFn === children.entries) {
|
||||
warning_1$1(didWarnAboutMaps, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum());
|
||||
warning_1(didWarnAboutMaps, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum());
|
||||
didWarnAboutMaps = true;
|
||||
}
|
||||
}
|
||||
@@ -1039,7 +1056,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
||||
addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
|
||||
}
|
||||
var childrenString = '' + children;
|
||||
invariant_1$1(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum);
|
||||
invariant_1(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1209,7 +1226,7 @@ function toArray(children) {
|
||||
* structure.
|
||||
*/
|
||||
function onlyChild(children) {
|
||||
!isValidElement(children) ? invariant_1$1(false, 'React.Children.only expected to receive a single React element child.') : void 0;
|
||||
!isValidElement(children) ? invariant_1(false, 'React.Children.only expected to receive a single React element child.') : void 0;
|
||||
return children;
|
||||
}
|
||||
|
||||
@@ -1252,8 +1269,8 @@ var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
||||
|
||||
|
||||
{
|
||||
var invariant$2 = invariant_1$1;
|
||||
var warning$2 = warning_1$1;
|
||||
var invariant$2 = invariant_1;
|
||||
var warning$2 = warning_1;
|
||||
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
||||
var loggedTypeFailures = {};
|
||||
}
|
||||
@@ -1300,7 +1317,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
||||
}
|
||||
}
|
||||
|
||||
var checkPropTypes_1$1 = checkPropTypes;
|
||||
var checkPropTypes_1 = checkPropTypes;
|
||||
|
||||
/**
|
||||
* ReactElementValidator provides a wrapper around a element factory
|
||||
@@ -1312,6 +1329,8 @@ var checkPropTypes_1$1 = checkPropTypes;
|
||||
{
|
||||
var currentlyValidatingElement = null;
|
||||
|
||||
var propTypesMisspellWarningShown = false;
|
||||
|
||||
var getDisplayName = function (element) {
|
||||
if (element == null) {
|
||||
return '#empty';
|
||||
@@ -1319,7 +1338,7 @@ var checkPropTypes_1$1 = checkPropTypes;
|
||||
return '#text';
|
||||
} else if (typeof element.type === 'string') {
|
||||
return element.type;
|
||||
} else if (element.type === REACT_FRAGMENT_TYPE$1) {
|
||||
} else if (element.type === REACT_FRAGMENT_TYPE) {
|
||||
return 'React.Fragment';
|
||||
} else {
|
||||
return element.type.displayName || element.type.name || 'Unknown';
|
||||
@@ -1337,14 +1356,9 @@ var checkPropTypes_1$1 = checkPropTypes;
|
||||
return stack;
|
||||
};
|
||||
|
||||
var REACT_FRAGMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
||||
|
||||
var VALID_FRAGMENT_PROPS = new Map([['children', true], ['key', true]]);
|
||||
}
|
||||
|
||||
var ITERATOR_SYMBOL$1 = typeof Symbol === 'function' && Symbol.iterator;
|
||||
var FAUX_ITERATOR_SYMBOL$1 = '@@iterator'; // Before Symbol spec.
|
||||
|
||||
function getDeclarationErrorAddendum() {
|
||||
if (ReactCurrentOwner.current) {
|
||||
var name = getComponentName(ReactCurrentOwner.current);
|
||||
@@ -1418,7 +1432,7 @@ function validateExplicitKey(element, parentType) {
|
||||
|
||||
currentlyValidatingElement = element;
|
||||
{
|
||||
warning_1$1(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.%s', currentComponentErrorInfo, childOwner, getStackAddendum());
|
||||
warning_1(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.%s', currentComponentErrorInfo, childOwner, getStackAddendum());
|
||||
}
|
||||
currentlyValidatingElement = null;
|
||||
}
|
||||
@@ -1449,7 +1463,7 @@ function validateChildKeys(node, parentType) {
|
||||
node._store.validated = true;
|
||||
}
|
||||
} else if (node) {
|
||||
var iteratorFn = ITERATOR_SYMBOL$1 && node[ITERATOR_SYMBOL$1] || node[FAUX_ITERATOR_SYMBOL$1];
|
||||
var iteratorFn = getIteratorFn(node);
|
||||
if (typeof iteratorFn === 'function') {
|
||||
// Entry iterators used to provide implicit keys,
|
||||
// but now we print a separate warning for them later.
|
||||
@@ -1479,14 +1493,16 @@ function validatePropTypes(element) {
|
||||
}
|
||||
var name = componentClass.displayName || componentClass.name;
|
||||
var propTypes = componentClass.propTypes;
|
||||
|
||||
if (propTypes) {
|
||||
currentlyValidatingElement = element;
|
||||
checkPropTypes_1$1(propTypes, element.props, 'prop', name, getStackAddendum);
|
||||
checkPropTypes_1(propTypes, element.props, 'prop', name, getStackAddendum);
|
||||
currentlyValidatingElement = null;
|
||||
} else if (componentClass.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
||||
propTypesMisspellWarningShown = true;
|
||||
warning_1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
|
||||
}
|
||||
if (typeof componentClass.getDefaultProps === 'function') {
|
||||
warning_1$1(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
||||
warning_1(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1506,7 +1522,7 @@ function validateFragmentProps(fragment) {
|
||||
var key = _step.value;
|
||||
|
||||
if (!VALID_FRAGMENT_PROPS.has(key)) {
|
||||
warning_1$1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.%s', key, getStackAddendum());
|
||||
warning_1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.%s', key, getStackAddendum());
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1526,7 +1542,7 @@ function validateFragmentProps(fragment) {
|
||||
}
|
||||
|
||||
if (fragment.ref !== null) {
|
||||
warning_1$1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.%s', getStackAddendum());
|
||||
warning_1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.%s', getStackAddendum());
|
||||
}
|
||||
|
||||
currentlyValidatingElement = null;
|
||||
@@ -1539,7 +1555,7 @@ function createElementWithValidation(type, props, children) {
|
||||
if (!validType) {
|
||||
var info = '';
|
||||
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
||||
info += ' You likely forgot to export your component from the file ' + "it's defined in.";
|
||||
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
||||
}
|
||||
|
||||
var sourceInfo = getSourceInfoErrorAddendum(props);
|
||||
@@ -1551,7 +1567,7 @@ function createElementWithValidation(type, props, children) {
|
||||
|
||||
info += getStackAddendum() || '';
|
||||
|
||||
warning_1$1(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', type == null ? type : typeof type, info);
|
||||
warning_1(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', type == null ? type : typeof type, info);
|
||||
}
|
||||
|
||||
var element = createElement.apply(this, arguments);
|
||||
@@ -1573,7 +1589,7 @@ function createElementWithValidation(type, props, children) {
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE$1) {
|
||||
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE) {
|
||||
validateFragmentProps(element);
|
||||
} else {
|
||||
validatePropTypes(element);
|
||||
@@ -1612,8 +1628,6 @@ function cloneElementWithValidation(element, props, children) {
|
||||
return newElement;
|
||||
}
|
||||
|
||||
var REACT_FRAGMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
||||
|
||||
var React = {
|
||||
Children: {
|
||||
map: mapChildren,
|
||||
@@ -1627,6 +1641,8 @@ var React = {
|
||||
PureComponent: PureComponent,
|
||||
unstable_AsyncComponent: AsyncComponent,
|
||||
|
||||
Fragment: REACT_FRAGMENT_TYPE,
|
||||
|
||||
createElement: createElementWithValidation,
|
||||
cloneElement: cloneElementWithValidation,
|
||||
createFactory: createFactoryWithValidation,
|
||||
@@ -1637,16 +1653,12 @@ var React = {
|
||||
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
|
||||
ReactCurrentOwner: ReactCurrentOwner,
|
||||
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
||||
assign: objectAssign$1
|
||||
assign: objectAssign
|
||||
}
|
||||
};
|
||||
|
||||
if (enableReactFragment) {
|
||||
React.Fragment = REACT_FRAGMENT_TYPE;
|
||||
}
|
||||
|
||||
{
|
||||
objectAssign$1(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
|
||||
objectAssign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
|
||||
// These should not be included in production.
|
||||
ReactDebugCurrentFrame: ReactDebugCurrentFrame,
|
||||
// Shim for React DOM 16.0.0 which still destructured (but not used) this.
|
||||
|
28
goTorrentWebUI/node_modules/react/umd/react.production.min.js
generated
vendored
28
goTorrentWebUI/node_modules/react/umd/react.production.min.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
/** @license React v16.1.0
|
||||
/** @license React v16.2.0
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
@@ -6,16 +6,16 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';(function(p,l){"object"===typeof exports&&"undefined"!==typeof module?module.exports=l():"function"===typeof define&&define.amd?define(l):p.React=l()})(this,function(){function p(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,e=0;e<b;e++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[e+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");
|
||||
b.name="Invariant Violation";b.framesToPop=1;throw b;}function l(a){return function(){return a}}function n(a,b,c){this.props=a;this.context=b;this.refs=v;this.updater=c||w}function x(a,b,c){this.props=a;this.context=b;this.refs=v;this.updater=c||w}function y(){}function z(a,b,c){this.props=a;this.context=b;this.refs=v;this.updater=c||w}function F(a,b,c){var e,f={},d=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(d=""+b.key),b)G.call(b,e)&&!H.hasOwnProperty(e)&&(f[e]=b[e]);
|
||||
var g=arguments.length-2;if(1===g)f.children=c;else if(1<g){for(var k=Array(g),m=0;m<g;m++)k[m]=arguments[m+2];f.children=k}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===f[e]&&(f[e]=g[e]);return{$$typeof:r,type:a,key:d,ref:h,props:f,_owner:A.current}}function B(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}function O(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function I(a,b,c,e){if(t.length){var f=t.pop();f.result=a;f.keyPrefix=
|
||||
b;f.func=c;f.context=e;f.count=0;return f}return{result:a,keyPrefix:b,func:c,context:e,count:0}}function J(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>t.length&&t.push(a)}function q(a,b,c,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;if(null===a||"string"===f||"number"===f||"object"===f&&a.$$typeof===P||"object"===f&&a.$$typeof===Q)return c(e,a,""===b?"."+C(a,0):b),1;var d=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){f=a[h];var g=
|
||||
b+C(f,h);d+=q(f,g,c,e)}else if(g=K&&a[K]||a["@@iterator"],"function"===typeof g)for(a=g.call(a),h=0;!(f=a.next()).done;)f=f.value,g=b+C(f,h++),d+=q(f,g,c,e);else"object"===f&&(c=""+a,p("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return d}function C(a,b){return"object"===typeof a&&null!==a&&null!=a.key?O(a.key):b.toString(36)}function R(a,b,c){a.func.call(a.context,b,a.count++)}function S(a,b,c){var e=a.result,f=a.keyPrefix;a=a.func.call(a.context,b,a.count++);
|
||||
Array.isArray(a)?D(a,e,c,E.thatReturnsArgument):null!=a&&(B(a)&&(b=f+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(L,"$\x26/")+"/")+c,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),e.push(a))}function D(a,b,c,e,f){var d="";null!=c&&(d=(""+c).replace(L,"$\x26/")+"/");b=I(b,d,e,f);null==a||q(a,"",S,b);J(b)}var M=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,u=function(){try{if(!Object.assign)return!1;var a=new String("abc");
|
||||
a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(e){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
|
||||
var c=Object(a);for(var e,f=1;f<arguments.length;f++){var d=Object(arguments[f]);for(var h in d)T.call(d,h)&&(c[h]=d[h]);if(M){e=M(d);for(var g=0;g<e.length;g++)U.call(d,e[g])&&(c[e[g]]=d[e[g]])}}return c},v={},d=function(){};d.thatReturns=l;d.thatReturnsFalse=l(!1);d.thatReturnsTrue=l(!0);d.thatReturnsNull=l(null);d.thatReturnsThis=function(){return this};d.thatReturnsArgument=function(a){return a};var E=d,w={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,
|
||||
b,c,e){},enqueueSetState:function(a,b,c,e){}};n.prototype.isReactComponent={};n.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};n.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};y.prototype=n.prototype;d=x.prototype=new y;d.constructor=x;u(d,n.prototype);d.isPureReactComponent=!0;d=z.prototype=new y;d.constructor=z;u(d,n.prototype);d.unstable_isAsyncReactComponent=
|
||||
!0;d.render=function(){return this.props.children};var A={current:null},G=Object.prototype.hasOwnProperty,r="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,H={key:!0,ref:!0,__self:!0,__source:!0},K="function"===typeof Symbol&&Symbol.iterator,P="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,Q="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.portal")||60106,L=/\/+/g,t=[];"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");
|
||||
d={Children:{map:function(a,b,c){if(null==a)return a;var e=[];D(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=I(null,null,b,c);null==a||q(a,"",R,b);J(b)},count:function(a,b){return null==a?0:q(a,"",E.thatReturnsNull,null)},toArray:function(a){var b=[];D(a,b,null,E.thatReturnsArgument);return b},only:function(a){B(a)?void 0:p("143");return a}},Component:n,PureComponent:x,unstable_AsyncComponent:z,createElement:F,cloneElement:function(a,b,c){var e=u({},a.props),d=a.key,l=a.ref,
|
||||
h=a._owner;if(null!=b){void 0!==b.ref&&(l=b.ref,h=A.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)G.call(b,k)&&!H.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){g=Array(k);for(var m=0;m<k;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:r,type:a.type,key:d,ref:l,props:e,_owner:h}},createFactory:function(a){var b=F.bind(null,a);b.type=a;return b},isValidElement:B,
|
||||
version:"16.1.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:A,assign:u}};var N=Object.freeze({default:d});d=N&&d||N;return d["default"]?d["default"]:d});
|
||||
'use strict';(function(q,k){"object"===typeof exports&&"undefined"!==typeof module?module.exports=k():"function"===typeof define&&define.amd?define(k):q.React=k()})(this,function(){function q(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");
|
||||
b.name="Invariant Violation";b.framesToPop=1;throw b;}function k(a){return function(){return a}}function p(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function y(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function z(){}function A(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function G(a,b,c){var d,f={},l=null,e=null;if(null!=b)for(d in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(l=""+b.key),b)H.call(b,d)&&!I.hasOwnProperty(d)&&(f[d]=b[d]);
|
||||
var g=arguments.length-2;if(1===g)f.children=c;else if(1<g){for(var h=Array(g),n=0;n<g;n++)h[n]=arguments[n+2];f.children=h}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===f[d]&&(f[d]=g[d]);return{$$typeof:r,type:a,key:l,ref:e,props:f,_owner:B.current}}function C(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}function O(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function J(a,b,c,d){if(u.length){var f=u.pop();f.result=a;f.keyPrefix=
|
||||
b;f.func=c;f.context=d;f.count=0;return f}return{result:a,keyPrefix:b,func:c,context:d,count:0}}function K(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>u.length&&u.push(a)}function t(a,b,c,d){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var l=!1;if(null===a)l=!0;else switch(f){case "string":case "number":l=!0;break;case "object":switch(a.$$typeof){case r:case P:case Q:case R:l=!0}}if(l)return c(d,a,""===b?"."+D(a,0):b),1;l=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=
|
||||
0;e<a.length;e++){f=a[e];var g=b+D(f,e);l+=t(f,g,c,d)}else if(null===a||"undefined"===typeof a?g=null:(g=L&&a[L]||a["@@iterator"],g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),e=0;!(f=a.next()).done;)f=f.value,g=b+D(f,e++),l+=t(f,g,c,d);else"object"===f&&(c=""+a,q("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return l}function D(a,b){return"object"===typeof a&&null!==a&&null!=a.key?O(a.key):b.toString(36)}function S(a,b,c){a.func.call(a.context,
|
||||
b,a.count++)}function T(a,b,c){var d=a.result,f=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?E(a,d,c,F.thatReturnsArgument):null!=a&&(C(a)&&(b=f+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(M,"$\x26/")+"/")+c,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),d.push(a))}function E(a,b,c,d,f){var e="";null!=c&&(e=(""+c).replace(M,"$\x26/")+"/");b=J(b,e,d,f);null==a||t(a,"",T,b);K(b)}var N=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,
|
||||
V=Object.prototype.propertyIsEnumerable,v=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:
|
||||
function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,f=1;f<arguments.length;f++){var e=Object(arguments[f]);for(var h in e)U.call(e,h)&&(c[h]=e[h]);if(N){d=N(e);for(var g=0;g<d.length;g++)V.call(e,d[g])&&(c[d[g]]=e[d[g]])}}return c},h="function"===typeof Symbol&&Symbol["for"],r=h?Symbol["for"]("react.element"):60103,P=h?Symbol["for"]("react.call"):60104,Q=h?Symbol["for"]("react.return"):60105,R=h?Symbol["for"]("react.portal"):
|
||||
60106;h=h?Symbol["for"]("react.fragment"):60107;var L="function"===typeof Symbol&&Symbol.iterator,w={},e=function(){};e.thatReturns=k;e.thatReturnsFalse=k(!1);e.thatReturnsTrue=k(!0);e.thatReturnsNull=k(null);e.thatReturnsThis=function(){return this};e.thatReturnsArgument=function(a){return a};var F=e,x={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}};p.prototype.isReactComponent={};p.prototype.setState=
|
||||
function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};p.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};z.prototype=p.prototype;e=y.prototype=new z;e.constructor=y;v(e,p.prototype);e.isPureReactComponent=!0;e=A.prototype=new z;e.constructor=A;v(e,p.prototype);e.unstable_isAsyncReactComponent=!0;e.render=function(){return this.props.children};var B={current:null},H=Object.prototype.hasOwnProperty,
|
||||
I={key:!0,ref:!0,__self:!0,__source:!0},M=/\/+/g,u=[];h={Children:{map:function(a,b,c){if(null==a)return a;var d=[];E(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=J(null,null,b,c);null==a||t(a,"",S,b);K(b)},count:function(a,b){return null==a?0:t(a,"",F.thatReturnsNull,null)},toArray:function(a){var b=[];E(a,b,null,F.thatReturnsArgument);return b},only:function(a){C(a)?void 0:q("143");return a}},Component:p,PureComponent:y,unstable_AsyncComponent:A,Fragment:h,createElement:G,
|
||||
cloneElement:function(a,b,c){var d=v({},a.props),e=a.key,h=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,k=B.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(m in b)H.call(b,m)&&!I.hasOwnProperty(m)&&(d[m]=void 0===b[m]&&void 0!==g?g[m]:b[m])}var m=arguments.length-2;if(1===m)d.children=c;else if(1<m){g=Array(m);for(var n=0;n<m;n++)g[n]=arguments[n+2];d.children=g}return{$$typeof:r,type:a.type,key:e,ref:h,props:d,_owner:k}},createFactory:function(a){var b=
|
||||
G.bind(null,a);b.type=a;return b},isValidElement:C,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:B,assign:v}};h=(e=Object.freeze({default:h}))&&h||e;return h["default"]?h["default"]:h});
|
||||
|
Reference in New Issue
Block a user