aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/common.js
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2017-04-14 17:22:58 +0800
committerafc163 <afc163@gmail.com>2017-04-14 17:22:58 +0800
commit5b1086548164afd65cf4a5cbb7ec1f92cd5e2b9e (patch)
treed5c8b096944cd0648b04983cdf0630ade3a94151 /examples/common.js
parentbc74c14f3cb8ea2d2b242563dbe9963b6491ade4 (diff)
downloadtime-picker-5b1086548164afd65cf4a5cbb7ec1f92cd5e2b9e.tar.gz
time-picker-5b1086548164afd65cf4a5cbb7ec1f92cd5e2b9e.tar.zst
time-picker-5b1086548164afd65cf4a5cbb7ec1f92cd5e2b9e.zip
Updates
Diffstat (limited to 'examples/common.js')
-rw-r--r--examples/common.js6654
1 files changed, 4175 insertions, 2479 deletions
diff --git a/examples/common.js b/examples/common.js
index 46dc3bc..65350a6 100644
--- a/examples/common.js
+++ b/examples/common.js
@@ -12,27 +12,29 @@
12/******/ installedChunks[chunkId] = 0; 12/******/ installedChunks[chunkId] = 0;
13/******/ } 13/******/ }
14/******/ for(moduleId in moreModules) { 14/******/ for(moduleId in moreModules) {
15/******/ var _m = moreModules[moduleId]; 15/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
16/******/ var _m = moreModules[moduleId];
16/******/ 17/******/
17/******/ // Check if module is deduplicated 18/******/ // Check if module is deduplicated
18/******/ switch(typeof _m) { 19/******/ switch(typeof _m) {
19/******/ case "object": 20/******/ case "object":
20/******/ // Module can be created from a template 21/******/ // Module can be created from a template
21/******/ modules[moduleId] = (function(_m) { 22/******/ modules[moduleId] = (function(_m) {
22/******/ var args = _m.slice(1), templateId = _m[0]; 23/******/ var args = _m.slice(1), templateId = _m[0];
23/******/ return function (a,b,c) { 24/******/ return function (a,b,c) {
24/******/ modules[templateId].apply(this, [a,b,c].concat(args)); 25/******/ modules[templateId].apply(this, [a,b,c].concat(args));
25/******/ }; 26/******/ };
26/******/ }(_m)); 27/******/ }(_m));
27/******/ break; 28/******/ break;
28/******/ case "function": 29/******/ case "function":
29/******/ // Normal module 30/******/ // Normal module
30/******/ modules[moduleId] = _m; 31/******/ modules[moduleId] = _m;
31/******/ break; 32/******/ break;
32/******/ default: 33/******/ default:
33/******/ // Module is a copy of another module 34/******/ // Module is a copy of another module
34/******/ modules[moduleId] = modules[_m]; 35/******/ modules[moduleId] = modules[_m];
35/******/ break; 36/******/ break;
37/******/ }
36/******/ } 38/******/ }
37/******/ } 39/******/ }
38/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules); 40/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);
@@ -139,22 +141,22 @@
139/* 0 */, 141/* 0 */,
140/* 1 */, 142/* 1 */,
141/* 2 */ 143/* 2 */
142/***/ function(module, exports) { 144/***/ (function(module, exports) {
143 145
144 // removed by extract-text-webpack-plugin 146 // removed by extract-text-webpack-plugin
145 147
146/***/ }, 148/***/ }),
147/* 3 */ 149/* 3 */
148/***/ function(module, exports, __webpack_require__) { 150/***/ (function(module, exports, __webpack_require__) {
149 151
150 'use strict'; 152 'use strict';
151 153
152 module.exports = __webpack_require__(4); 154 module.exports = __webpack_require__(4);
153 155
154 156
155/***/ }, 157/***/ }),
156/* 4 */ 158/* 4 */
157/***/ function(module, exports, __webpack_require__) { 159/***/ (function(module, exports, __webpack_require__) {
158 160
159 /* WEBPACK VAR INJECTION */(function(process) {/** 161 /* WEBPACK VAR INJECTION */(function(process) {/**
160 * Copyright 2013-present, Facebook, Inc. 162 * Copyright 2013-present, Facebook, Inc.
@@ -177,9 +179,9 @@
177 var ReactDOMFactories = __webpack_require__(26); 179 var ReactDOMFactories = __webpack_require__(26);
178 var ReactElement = __webpack_require__(11); 180 var ReactElement = __webpack_require__(11);
179 var ReactPropTypes = __webpack_require__(31); 181 var ReactPropTypes = __webpack_require__(31);
180 var ReactVersion = __webpack_require__(32); 182 var ReactVersion = __webpack_require__(36);
181 183
182 var onlyChild = __webpack_require__(33); 184 var onlyChild = __webpack_require__(37);
183 var warning = __webpack_require__(13); 185 var warning = __webpack_require__(13);
184 186
185 var createElement = ReactElement.createElement; 187 var createElement = ReactElement.createElement;
@@ -187,7 +189,9 @@
187 var cloneElement = ReactElement.cloneElement; 189 var cloneElement = ReactElement.cloneElement;
188 190
189 if (process.env.NODE_ENV !== 'production') { 191 if (process.env.NODE_ENV !== 'production') {
192 var canDefineProperty = __webpack_require__(15);
190 var ReactElementValidator = __webpack_require__(27); 193 var ReactElementValidator = __webpack_require__(27);
194 var didWarnPropTypesDeprecated = false;
191 createElement = ReactElementValidator.createElement; 195 createElement = ReactElementValidator.createElement;
192 createFactory = ReactElementValidator.createFactory; 196 createFactory = ReactElementValidator.createFactory;
193 cloneElement = ReactElementValidator.cloneElement; 197 cloneElement = ReactElementValidator.cloneElement;
@@ -243,12 +247,25 @@
243 __spread: __spread 247 __spread: __spread
244 }; 248 };
245 249
250 // TODO: Fix tests so that this deprecation warning doesn't cause failures.
251 if (process.env.NODE_ENV !== 'production') {
252 if (canDefineProperty) {
253 Object.defineProperty(React, 'PropTypes', {
254 get: function () {
255 process.env.NODE_ENV !== 'production' ? warning(didWarnPropTypesDeprecated, 'Accessing PropTypes via the main React package is deprecated. Use ' + 'the prop-types package from npm instead.') : void 0;
256 didWarnPropTypesDeprecated = true;
257 return ReactPropTypes;
258 }
259 });
260 }
261 }
262
246 module.exports = React; 263 module.exports = React;
247 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 264 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
248 265
249/***/ }, 266/***/ }),
250/* 5 */ 267/* 5 */
251/***/ function(module, exports) { 268/***/ (function(module, exports) {
252 269
253 // shim for using process in browser 270 // shim for using process in browser
254 var process = module.exports = {}; 271 var process = module.exports = {};
@@ -432,9 +449,9 @@
432 process.umask = function() { return 0; }; 449 process.umask = function() { return 0; };
433 450
434 451
435/***/ }, 452/***/ }),
436/* 6 */ 453/* 6 */
437/***/ function(module, exports) { 454/***/ (function(module, exports) {
438 455
439 /* 456 /*
440 object-assign 457 object-assign
@@ -528,9 +545,9 @@
528 }; 545 };
529 546
530 547
531/***/ }, 548/***/ }),
532/* 7 */ 549/* 7 */
533/***/ function(module, exports, __webpack_require__) { 550/***/ (function(module, exports, __webpack_require__) {
534 551
535 /** 552 /**
536 * Copyright 2013-present, Facebook, Inc. 553 * Copyright 2013-present, Facebook, Inc.
@@ -723,11 +740,11 @@
723 740
724 module.exports = ReactChildren; 741 module.exports = ReactChildren;
725 742
726/***/ }, 743/***/ }),
727/* 8 */ 744/* 8 */
728[272, 9], 745[323, 9],
729/* 9 */ 746/* 9 */
730/***/ function(module, exports) { 747/***/ (function(module, exports) {
731 748
732 /** 749 /**
733 * Copyright (c) 2013-present, Facebook, Inc. 750 * Copyright (c) 2013-present, Facebook, Inc.
@@ -768,9 +785,9 @@
768 785
769 module.exports = reactProdInvariant; 786 module.exports = reactProdInvariant;
770 787
771/***/ }, 788/***/ }),
772/* 10 */ 789/* 10 */
773/***/ function(module, exports, __webpack_require__) { 790/***/ (function(module, exports, __webpack_require__) {
774 791
775 /* WEBPACK VAR INJECTION */(function(process) {/** 792 /* WEBPACK VAR INJECTION */(function(process) {/**
776 * Copyright (c) 2013-present, Facebook, Inc. 793 * Copyright (c) 2013-present, Facebook, Inc.
@@ -829,9 +846,9 @@
829 module.exports = invariant; 846 module.exports = invariant;
830 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 847 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
831 848
832/***/ }, 849/***/ }),
833/* 11 */ 850/* 11 */
834/***/ function(module, exports, __webpack_require__) { 851/***/ (function(module, exports, __webpack_require__) {
835 852
836 /* WEBPACK VAR INJECTION */(function(process) {/** 853 /* WEBPACK VAR INJECTION */(function(process) {/**
837 * Copyright 2014-present, Facebook, Inc. 854 * Copyright 2014-present, Facebook, Inc.
@@ -1175,9 +1192,9 @@
1175 module.exports = ReactElement; 1192 module.exports = ReactElement;
1176 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1193 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1177 1194
1178/***/ }, 1195/***/ }),
1179/* 12 */ 1196/* 12 */
1180/***/ function(module, exports) { 1197/***/ (function(module, exports) {
1181 1198
1182 /** 1199 /**
1183 * Copyright 2013-present, Facebook, Inc. 1200 * Copyright 2013-present, Facebook, Inc.
@@ -1210,9 +1227,9 @@
1210 1227
1211 module.exports = ReactCurrentOwner; 1228 module.exports = ReactCurrentOwner;
1212 1229
1213/***/ }, 1230/***/ }),
1214/* 13 */ 1231/* 13 */
1215/***/ function(module, exports, __webpack_require__) { 1232/***/ (function(module, exports, __webpack_require__) {
1216 1233
1217 /* WEBPACK VAR INJECTION */(function(process) {/** 1234 /* WEBPACK VAR INJECTION */(function(process) {/**
1218 * Copyright 2014-2015, Facebook, Inc. 1235 * Copyright 2014-2015, Facebook, Inc.
@@ -1282,9 +1299,9 @@
1282 module.exports = warning; 1299 module.exports = warning;
1283 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1300 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1284 1301
1285/***/ }, 1302/***/ }),
1286/* 14 */ 1303/* 14 */
1287/***/ function(module, exports) { 1304/***/ (function(module, exports) {
1288 1305
1289 "use strict"; 1306 "use strict";
1290 1307
@@ -1325,9 +1342,9 @@
1325 1342
1326 module.exports = emptyFunction; 1343 module.exports = emptyFunction;
1327 1344
1328/***/ }, 1345/***/ }),
1329/* 15 */ 1346/* 15 */
1330/***/ function(module, exports, __webpack_require__) { 1347/***/ (function(module, exports, __webpack_require__) {
1331 1348
1332 /* WEBPACK VAR INJECTION */(function(process) {/** 1349 /* WEBPACK VAR INJECTION */(function(process) {/**
1333 * Copyright 2013-present, Facebook, Inc. 1350 * Copyright 2013-present, Facebook, Inc.
@@ -1356,9 +1373,9 @@
1356 module.exports = canDefineProperty; 1373 module.exports = canDefineProperty;
1357 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1374 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1358 1375
1359/***/ }, 1376/***/ }),
1360/* 16 */ 1377/* 16 */
1361/***/ function(module, exports) { 1378/***/ (function(module, exports) {
1362 1379
1363 /** 1380 /**
1364 * Copyright 2014-present, Facebook, Inc. 1381 * Copyright 2014-present, Facebook, Inc.
@@ -1380,9 +1397,9 @@
1380 1397
1381 module.exports = REACT_ELEMENT_TYPE; 1398 module.exports = REACT_ELEMENT_TYPE;
1382 1399
1383/***/ }, 1400/***/ }),
1384/* 17 */ 1401/* 17 */
1385/***/ function(module, exports, __webpack_require__) { 1402/***/ (function(module, exports, __webpack_require__) {
1386 1403
1387 /* WEBPACK VAR INJECTION */(function(process) {/** 1404 /* WEBPACK VAR INJECTION */(function(process) {/**
1388 * Copyright 2013-present, Facebook, Inc. 1405 * Copyright 2013-present, Facebook, Inc.
@@ -1561,9 +1578,9 @@
1561 module.exports = traverseAllChildren; 1578 module.exports = traverseAllChildren;
1562 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1579 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1563 1580
1564/***/ }, 1581/***/ }),
1565/* 18 */ 1582/* 18 */
1566/***/ function(module, exports) { 1583/***/ (function(module, exports) {
1567 1584
1568 /** 1585 /**
1569 * Copyright 2013-present, Facebook, Inc. 1586 * Copyright 2013-present, Facebook, Inc.
@@ -1606,9 +1623,9 @@
1606 1623
1607 module.exports = getIteratorFn; 1624 module.exports = getIteratorFn;
1608 1625
1609/***/ }, 1626/***/ }),
1610/* 19 */ 1627/* 19 */
1611/***/ function(module, exports) { 1628/***/ (function(module, exports) {
1612 1629
1613 /** 1630 /**
1614 * Copyright 2013-present, Facebook, Inc. 1631 * Copyright 2013-present, Facebook, Inc.
@@ -1669,9 +1686,9 @@
1669 1686
1670 module.exports = KeyEscapeUtils; 1687 module.exports = KeyEscapeUtils;
1671 1688
1672/***/ }, 1689/***/ }),
1673/* 20 */ 1690/* 20 */
1674/***/ function(module, exports, __webpack_require__) { 1691/***/ (function(module, exports, __webpack_require__) {
1675 1692
1676 /* WEBPACK VAR INJECTION */(function(process) {/** 1693 /* WEBPACK VAR INJECTION */(function(process) {/**
1677 * Copyright 2013-present, Facebook, Inc. 1694 * Copyright 2013-present, Facebook, Inc.
@@ -1792,9 +1809,9 @@
1792 module.exports = ReactComponent; 1809 module.exports = ReactComponent;
1793 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1810 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1794 1811
1795/***/ }, 1812/***/ }),
1796/* 21 */ 1813/* 21 */
1797/***/ function(module, exports, __webpack_require__) { 1814/***/ (function(module, exports, __webpack_require__) {
1798 1815
1799 /* WEBPACK VAR INJECTION */(function(process) {/** 1816 /* WEBPACK VAR INJECTION */(function(process) {/**
1800 * Copyright 2015-present, Facebook, Inc. 1817 * Copyright 2015-present, Facebook, Inc.
@@ -1893,9 +1910,9 @@
1893 module.exports = ReactNoopUpdateQueue; 1910 module.exports = ReactNoopUpdateQueue;
1894 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1911 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1895 1912
1896/***/ }, 1913/***/ }),
1897/* 22 */ 1914/* 22 */
1898/***/ function(module, exports, __webpack_require__) { 1915/***/ (function(module, exports, __webpack_require__) {
1899 1916
1900 /* WEBPACK VAR INJECTION */(function(process) {/** 1917 /* WEBPACK VAR INJECTION */(function(process) {/**
1901 * Copyright (c) 2013-present, Facebook, Inc. 1918 * Copyright (c) 2013-present, Facebook, Inc.
@@ -1918,9 +1935,9 @@
1918 module.exports = emptyObject; 1935 module.exports = emptyObject;
1919 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 1936 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
1920 1937
1921/***/ }, 1938/***/ }),
1922/* 23 */ 1939/* 23 */
1923/***/ function(module, exports, __webpack_require__) { 1940/***/ (function(module, exports, __webpack_require__) {
1924 1941
1925 /** 1942 /**
1926 * Copyright 2013-present, Facebook, Inc. 1943 * Copyright 2013-present, Facebook, Inc.
@@ -1964,9 +1981,9 @@
1964 1981
1965 module.exports = ReactPureComponent; 1982 module.exports = ReactPureComponent;
1966 1983
1967/***/ }, 1984/***/ }),
1968/* 24 */ 1985/* 24 */
1969/***/ function(module, exports, __webpack_require__) { 1986/***/ (function(module, exports, __webpack_require__) {
1970 1987
1971 /* WEBPACK VAR INJECTION */(function(process) {/** 1988 /* WEBPACK VAR INJECTION */(function(process) {/**
1972 * Copyright 2013-present, Facebook, Inc. 1989 * Copyright 2013-present, Facebook, Inc.
@@ -2121,7 +2138,6 @@
2121 * } 2138 * }
2122 * 2139 *
2123 * @return {ReactComponent} 2140 * @return {ReactComponent}
2124 * @nosideeffects
2125 * @required 2141 * @required
2126 */ 2142 */
2127 render: 'DEFINE_ONCE', 2143 render: 'DEFINE_ONCE',
@@ -2577,6 +2593,8 @@
2577 var ReactClassComponent = function () {}; 2593 var ReactClassComponent = function () {};
2578 _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin); 2594 _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);
2579 2595
2596 var didWarnDeprecated = false;
2597
2580 /** 2598 /**
2581 * Module for creating composite components. 2599 * Module for creating composite components.
2582 * 2600 *
@@ -2593,6 +2611,11 @@
2593 * @public 2611 * @public
2594 */ 2612 */
2595 createClass: function (spec) { 2613 createClass: function (spec) {
2614 if (process.env.NODE_ENV !== 'production') {
2615 process.env.NODE_ENV !== 'production' ? warning(didWarnDeprecated, '%s: React.createClass is deprecated and will be removed in version 16. ' + 'Use plain JavaScript classes instead. If you\'re not yet ready to ' + 'migrate, create-react-class is available on npm as a ' + 'drop-in replacement.', spec && spec.displayName || 'A Component') : void 0;
2616 didWarnDeprecated = true;
2617 }
2618
2596 // To keep our warnings more understandable, we'll use a little hack here to 2619 // To keep our warnings more understandable, we'll use a little hack here to
2597 // ensure that Constructor.name !== 'Constructor'. This makes sure we don't 2620 // ensure that Constructor.name !== 'Constructor'. This makes sure we don't
2598 // unnecessarily identify a class without displayName as 'Constructor'. 2621 // unnecessarily identify a class without displayName as 'Constructor'.
@@ -2686,9 +2709,9 @@
2686 module.exports = ReactClass; 2709 module.exports = ReactClass;
2687 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 2710 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
2688 2711
2689/***/ }, 2712/***/ }),
2690/* 25 */ 2713/* 25 */
2691/***/ function(module, exports, __webpack_require__) { 2714/***/ (function(module, exports, __webpack_require__) {
2692 2715
2693 /* WEBPACK VAR INJECTION */(function(process) {/** 2716 /* WEBPACK VAR INJECTION */(function(process) {/**
2694 * Copyright 2013-present, Facebook, Inc. 2717 * Copyright 2013-present, Facebook, Inc.
@@ -2716,9 +2739,9 @@
2716 module.exports = ReactPropTypeLocationNames; 2739 module.exports = ReactPropTypeLocationNames;
2717 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 2740 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
2718 2741
2719/***/ }, 2742/***/ }),
2720/* 26 */ 2743/* 26 */
2721/***/ function(module, exports, __webpack_require__) { 2744/***/ (function(module, exports, __webpack_require__) {
2722 2745
2723 /* WEBPACK VAR INJECTION */(function(process) {/** 2746 /* WEBPACK VAR INJECTION */(function(process) {/**
2724 * Copyright 2013-present, Facebook, Inc. 2747 * Copyright 2013-present, Facebook, Inc.
@@ -2891,9 +2914,9 @@
2891 module.exports = ReactDOMFactories; 2914 module.exports = ReactDOMFactories;
2892 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 2915 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
2893 2916
2894/***/ }, 2917/***/ }),
2895/* 27 */ 2918/* 27 */
2896/***/ function(module, exports, __webpack_require__) { 2919/***/ (function(module, exports, __webpack_require__) {
2897 2920
2898 /* WEBPACK VAR INJECTION */(function(process) {/** 2921 /* WEBPACK VAR INJECTION */(function(process) {/**
2899 * Copyright 2014-present, Facebook, Inc. 2922 * Copyright 2014-present, Facebook, Inc.
@@ -2934,6 +2957,16 @@
2934 return ''; 2957 return '';
2935 } 2958 }
2936 2959
2960 function getSourceInfoErrorAddendum(elementProps) {
2961 if (elementProps !== null && elementProps !== undefined && elementProps.__source !== undefined) {
2962 var source = elementProps.__source;
2963 var fileName = source.fileName.replace(/^.*[\\\/]/, '');
2964 var lineNumber = source.lineNumber;
2965 return ' Check your code at ' + fileName + ':' + lineNumber + '.';
2966 }
2967 return '';
2968 }
2969
2937 /** 2970 /**
2938 * Warn if there's no key explicitly set on dynamic arrays of children or 2971 * Warn if there's no key explicitly set on dynamic arrays of children or
2939 * object keys are not valid. This allows us to keep track of children between 2972 * object keys are not valid. This allows us to keep track of children between
@@ -3064,7 +3097,16 @@
3064 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 3097 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
3065 info += ' You likely forgot to export your component from the file ' + 'it\'s defined in.'; 3098 info += ' You likely forgot to export your component from the file ' + 'it\'s defined in.';
3066 } 3099 }
3067 info += getDeclarationErrorAddendum(); 3100
3101 var sourceInfo = getSourceInfoErrorAddendum(props);
3102 if (sourceInfo) {
3103 info += sourceInfo;
3104 } else {
3105 info += getDeclarationErrorAddendum();
3106 }
3107
3108 info += ReactComponentTreeHook.getCurrentStackAddendum();
3109
3068 process.env.NODE_ENV !== 'production' ? warning(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) : void 0; 3110 process.env.NODE_ENV !== 'production' ? warning(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) : void 0;
3069 } 3111 }
3070 } 3112 }
@@ -3130,9 +3172,9 @@
3130 module.exports = ReactElementValidator; 3172 module.exports = ReactElementValidator;
3131 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 3173 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
3132 3174
3133/***/ }, 3175/***/ }),
3134/* 28 */ 3176/* 28 */
3135/***/ function(module, exports, __webpack_require__) { 3177/***/ (function(module, exports, __webpack_require__) {
3136 3178
3137 /* WEBPACK VAR INJECTION */(function(process) {/** 3179 /* WEBPACK VAR INJECTION */(function(process) {/**
3138 * Copyright 2016-present, Facebook, Inc. 3180 * Copyright 2016-present, Facebook, Inc.
@@ -3469,9 +3511,9 @@
3469 module.exports = ReactComponentTreeHook; 3511 module.exports = ReactComponentTreeHook;
3470 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 3512 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
3471 3513
3472/***/ }, 3514/***/ }),
3473/* 29 */ 3515/* 29 */
3474/***/ function(module, exports, __webpack_require__) { 3516/***/ (function(module, exports, __webpack_require__) {
3475 3517
3476 /* WEBPACK VAR INJECTION */(function(process) {/** 3518 /* WEBPACK VAR INJECTION */(function(process) {/**
3477 * Copyright 2013-present, Facebook, Inc. 3519 * Copyright 2013-present, Facebook, Inc.
@@ -3561,9 +3603,9 @@
3561 module.exports = checkReactTypeSpec; 3603 module.exports = checkReactTypeSpec;
3562 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 3604 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
3563 3605
3564/***/ }, 3606/***/ }),
3565/* 30 */ 3607/* 30 */
3566/***/ function(module, exports) { 3608/***/ (function(module, exports) {
3567 3609
3568 /** 3610 /**
3569 * Copyright 2013-present, Facebook, Inc. 3611 * Copyright 2013-present, Facebook, Inc.
@@ -3582,11 +3624,11 @@
3582 3624
3583 module.exports = ReactPropTypesSecret; 3625 module.exports = ReactPropTypesSecret;
3584 3626
3585/***/ }, 3627/***/ }),
3586/* 31 */ 3628/* 31 */
3587/***/ function(module, exports, __webpack_require__) { 3629/***/ (function(module, exports, __webpack_require__) {
3588 3630
3589 /* WEBPACK VAR INJECTION */(function(process) {/** 3631 /**
3590 * Copyright 2013-present, Facebook, Inc. 3632 * Copyright 2013-present, Facebook, Inc.
3591 * All rights reserved. 3633 * All rights reserved.
3592 * 3634 *
@@ -3598,432 +3640,616 @@
3598 3640
3599 'use strict'; 3641 'use strict';
3600 3642
3601 var ReactElement = __webpack_require__(11); 3643 var _require = __webpack_require__(11),
3602 var ReactPropTypeLocationNames = __webpack_require__(25); 3644 isValidElement = _require.isValidElement;
3603 var ReactPropTypesSecret = __webpack_require__(30);
3604 3645
3605 var emptyFunction = __webpack_require__(14); 3646 var factory = __webpack_require__(32);
3606 var getIteratorFn = __webpack_require__(18);
3607 var warning = __webpack_require__(13);
3608 3647
3648 module.exports = factory(isValidElement);
3649
3650/***/ }),
3651/* 32 */
3652/***/ (function(module, exports, __webpack_require__) {
3653
3609 /** 3654 /**
3610 * Collection of methods that allow declaration and validation of props that are 3655 * Copyright 2013-present, Facebook, Inc.
3611 * supplied to React components. Example usage: 3656 * All rights reserved.
3612 *
3613 * var Props = require('ReactPropTypes');
3614 * var MyArticle = React.createClass({
3615 * propTypes: {
3616 * // An optional string prop named "description".
3617 * description: Props.string,
3618 *
3619 * // A required enum prop named "category".
3620 * category: Props.oneOf(['News','Photos']).isRequired,
3621 *
3622 * // A prop named "dialog" that requires an instance of Dialog.
3623 * dialog: Props.instanceOf(Dialog).isRequired
3624 * },
3625 * render: function() { ... }
3626 * });
3627 * 3657 *
3628 * A more formal specification of how these methods are used: 3658 * This source code is licensed under the BSD-style license found in the
3629 * 3659 * LICENSE file in the root directory of this source tree. An additional grant
3630 * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) 3660 * of patent rights can be found in the PATENTS file in the same directory.
3631 * decl := ReactPropTypes.{type}(.isRequired)? 3661 */
3632 * 3662
3633 * Each and every declaration produces a function with the same signature. This 3663 'use strict';
3634 * allows the creation of custom validation functions. For example: 3664
3635 * 3665 // React 15.5 references this module, and assumes PropTypes are still callable in production.
3636 * var MyLink = React.createClass({ 3666 // Therefore we re-export development-only version with all the PropTypes checks here.
3637 * propTypes: { 3667 // However if one is migrating to the `prop-types` npm library, they will go through the
3638 * // An optional string or URI prop named "href". 3668 // `index.js` entry point, and it will branch depending on the environment.
3639 * href: function(props, propName, componentName) { 3669 var factory = __webpack_require__(33);
3640 * var propValue = props[propName]; 3670 module.exports = function(isValidElement) {
3641 * if (propValue != null && typeof propValue !== 'string' && 3671 // It is still allowed in 15.5.
3642 * !(propValue instanceof URI)) { 3672 var throwOnDirectAccess = false;
3643 * return new Error( 3673 return factory(isValidElement, throwOnDirectAccess);
3644 * 'Expected a string or an URI for ' + propName + ' in ' + 3674 };
3645 * componentName 3675
3646 * ); 3676
3647 * } 3677/***/ }),
3648 * } 3678/* 33 */
3649 * }, 3679/***/ (function(module, exports, __webpack_require__) {
3650 * render: function() {...} 3680
3651 * }); 3681 /* WEBPACK VAR INJECTION */(function(process) {/**
3682 * Copyright 2013-present, Facebook, Inc.
3683 * All rights reserved.
3652 * 3684 *
3653 * @internal 3685 * This source code is licensed under the BSD-style license found in the
3686 * LICENSE file in the root directory of this source tree. An additional grant
3687 * of patent rights can be found in the PATENTS file in the same directory.
3654 */ 3688 */
3655 3689
3656 var ANONYMOUS = '<<anonymous>>'; 3690 'use strict';
3657 3691
3658 var ReactPropTypes = { 3692 var emptyFunction = __webpack_require__(14);
3659 array: createPrimitiveTypeChecker('array'), 3693 var invariant = __webpack_require__(10);
3660 bool: createPrimitiveTypeChecker('boolean'), 3694 var warning = __webpack_require__(13);
3661 func: createPrimitiveTypeChecker('function'),
3662 number: createPrimitiveTypeChecker('number'),
3663 object: createPrimitiveTypeChecker('object'),
3664 string: createPrimitiveTypeChecker('string'),
3665 symbol: createPrimitiveTypeChecker('symbol'),
3666 3695
3667 any: createAnyTypeChecker(), 3696 var ReactPropTypesSecret = __webpack_require__(34);
3668 arrayOf: createArrayOfTypeChecker, 3697 var checkPropTypes = __webpack_require__(35);
3669 element: createElementTypeChecker(),
3670 instanceOf: createInstanceTypeChecker,
3671 node: createNodeChecker(),
3672 objectOf: createObjectOfTypeChecker,
3673 oneOf: createEnumTypeChecker,
3674 oneOfType: createUnionTypeChecker,
3675 shape: createShapeTypeChecker
3676 };
3677 3698
3678 /** 3699 module.exports = function(isValidElement, throwOnDirectAccess) {
3679 * inlined Object.is polyfill to avoid requiring consumers ship their own 3700 /* global Symbol */
3680 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 3701 var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
3681 */ 3702 var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
3682 /*eslint-disable no-self-compare*/ 3703
3683 function is(x, y) { 3704 /**
3684 // SameValue algorithm 3705 * Returns the iterator method function contained on the iterable object.
3685 if (x === y) { 3706 *
3686 // Steps 1-5, 7-10 3707 * Be sure to invoke the function with the iterable as context:
3687 // Steps 6.b-6.e: +0 != -0 3708 *
3688 return x !== 0 || 1 / x === 1 / y; 3709 * var iteratorFn = getIteratorFn(myIterable);
3689 } else { 3710 * if (iteratorFn) {
3690 // Step 6.a: NaN == NaN 3711 * var iterator = iteratorFn.call(myIterable);
3691 return x !== x && y !== y; 3712 * ...
3713 * }
3714 *
3715 * @param {?object} maybeIterable
3716 * @return {?function}
3717 */
3718 function getIteratorFn(maybeIterable) {
3719 var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
3720 if (typeof iteratorFn === 'function') {
3721 return iteratorFn;
3722 }
3692 } 3723 }
3693 }
3694 /*eslint-enable no-self-compare*/
3695 3724
3696 /** 3725 /**
3697 * We use an Error-like object for backward compatibility as people may call 3726 * Collection of methods that allow declaration and validation of props that are
3698 * PropTypes directly and inspect their output. However we don't use real 3727 * supplied to React components. Example usage:
3699 * Errors anymore. We don't inspect their stack anyway, and creating them 3728 *
3700 * is prohibitively expensive if they are created too often, such as what 3729 * var Props = require('ReactPropTypes');
3701 * happens in oneOfType() for any type before the one that matched. 3730 * var MyArticle = React.createClass({
3702 */ 3731 * propTypes: {
3703 function PropTypeError(message) { 3732 * // An optional string prop named "description".
3704 this.message = message; 3733 * description: Props.string,
3705 this.stack = ''; 3734 *
3706 } 3735 * // A required enum prop named "category".
3707 // Make `instanceof Error` still work for returned errors. 3736 * category: Props.oneOf(['News','Photos']).isRequired,
3708 PropTypeError.prototype = Error.prototype; 3737 *
3738 * // A prop named "dialog" that requires an instance of Dialog.
3739 * dialog: Props.instanceOf(Dialog).isRequired
3740 * },
3741 * render: function() { ... }
3742 * });
3743 *
3744 * A more formal specification of how these methods are used:
3745 *
3746 * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
3747 * decl := ReactPropTypes.{type}(.isRequired)?
3748 *
3749 * Each and every declaration produces a function with the same signature. This
3750 * allows the creation of custom validation functions. For example:
3751 *
3752 * var MyLink = React.createClass({
3753 * propTypes: {
3754 * // An optional string or URI prop named "href".
3755 * href: function(props, propName, componentName) {
3756 * var propValue = props[propName];
3757 * if (propValue != null && typeof propValue !== 'string' &&
3758 * !(propValue instanceof URI)) {
3759 * return new Error(
3760 * 'Expected a string or an URI for ' + propName + ' in ' +
3761 * componentName
3762 * );
3763 * }
3764 * }
3765 * },
3766 * render: function() {...}
3767 * });
3768 *
3769 * @internal
3770 */
3709 3771
3710 function createChainableTypeChecker(validate) { 3772 var ANONYMOUS = '<<anonymous>>';
3711 if (process.env.NODE_ENV !== 'production') { 3773
3712 var manualPropTypeCallCache = {}; 3774 // Important!
3775 // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
3776 var ReactPropTypes = {
3777 array: createPrimitiveTypeChecker('array'),
3778 bool: createPrimitiveTypeChecker('boolean'),
3779 func: createPrimitiveTypeChecker('function'),
3780 number: createPrimitiveTypeChecker('number'),
3781 object: createPrimitiveTypeChecker('object'),
3782 string: createPrimitiveTypeChecker('string'),
3783 symbol: createPrimitiveTypeChecker('symbol'),
3784
3785 any: createAnyTypeChecker(),
3786 arrayOf: createArrayOfTypeChecker,
3787 element: createElementTypeChecker(),
3788 instanceOf: createInstanceTypeChecker,
3789 node: createNodeChecker(),
3790 objectOf: createObjectOfTypeChecker,
3791 oneOf: createEnumTypeChecker,
3792 oneOfType: createUnionTypeChecker,
3793 shape: createShapeTypeChecker
3794 };
3795
3796 /**
3797 * inlined Object.is polyfill to avoid requiring consumers ship their own
3798 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
3799 */
3800 /*eslint-disable no-self-compare*/
3801 function is(x, y) {
3802 // SameValue algorithm
3803 if (x === y) {
3804 // Steps 1-5, 7-10
3805 // Steps 6.b-6.e: +0 != -0
3806 return x !== 0 || 1 / x === 1 / y;
3807 } else {
3808 // Step 6.a: NaN == NaN
3809 return x !== x && y !== y;
3810 }
3811 }
3812 /*eslint-enable no-self-compare*/
3813
3814 /**
3815 * We use an Error-like object for backward compatibility as people may call
3816 * PropTypes directly and inspect their output. However, we don't use real
3817 * Errors anymore. We don't inspect their stack anyway, and creating them
3818 * is prohibitively expensive if they are created too often, such as what
3819 * happens in oneOfType() for any type before the one that matched.
3820 */
3821 function PropTypeError(message) {
3822 this.message = message;
3823 this.stack = '';
3713 } 3824 }
3714 function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { 3825 // Make `instanceof Error` still work for returned errors.
3715 componentName = componentName || ANONYMOUS; 3826 PropTypeError.prototype = Error.prototype;
3716 propFullName = propFullName || propName; 3827
3828 function createChainableTypeChecker(validate) {
3717 if (process.env.NODE_ENV !== 'production') { 3829 if (process.env.NODE_ENV !== 'production') {
3718 if (secret !== ReactPropTypesSecret && typeof console !== 'undefined') { 3830 var manualPropTypeCallCache = {};
3719 var cacheKey = componentName + ':' + propName; 3831 var manualPropTypeWarningCount = 0;
3720 if (!manualPropTypeCallCache[cacheKey]) { 3832 }
3721 process.env.NODE_ENV !== 'production' ? warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will not work in production with the next major version. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName) : void 0; 3833 function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
3722 manualPropTypeCallCache[cacheKey] = true; 3834 componentName = componentName || ANONYMOUS;
3835 propFullName = propFullName || propName;
3836
3837 if (secret !== ReactPropTypesSecret) {
3838 if (throwOnDirectAccess) {
3839 // New behavior only for users of `prop-types` package
3840 invariant(
3841 false,
3842 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
3843 'Use `PropTypes.checkPropTypes()` to call them. ' +
3844 'Read more at http://fb.me/use-check-prop-types'
3845 );
3846 } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
3847 // Old behavior for people using React.PropTypes
3848 var cacheKey = componentName + ':' + propName;
3849 if (
3850 !manualPropTypeCallCache[cacheKey] &&
3851 // Avoid spamming the console because they are often not actionable except for lib authors
3852 manualPropTypeWarningCount < 3
3853 ) {
3854 warning(
3855 false,
3856 'You are manually calling a React.PropTypes validation ' +
3857 'function for the `%s` prop on `%s`. This is deprecated ' +
3858 'and will throw in the standalone `prop-types` package. ' +
3859 'You may be seeing this warning due to a third-party PropTypes ' +
3860 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',
3861 propFullName,
3862 componentName
3863 );
3864 manualPropTypeCallCache[cacheKey] = true;
3865 manualPropTypeWarningCount++;
3866 }
3723 } 3867 }
3724 } 3868 }
3725 } 3869 if (props[propName] == null) {
3726 if (props[propName] == null) { 3870 if (isRequired) {
3727 var locationName = ReactPropTypeLocationNames[location]; 3871 if (props[propName] === null) {
3728 if (isRequired) { 3872 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
3729 if (props[propName] === null) { 3873 }
3730 return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); 3874 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
3731 } 3875 }
3732 return new PropTypeError('The ' + locationName + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); 3876 return null;
3877 } else {
3878 return validate(props, propName, componentName, location, propFullName);
3733 } 3879 }
3734 return null;
3735 } else {
3736 return validate(props, propName, componentName, location, propFullName);
3737 } 3880 }
3738 }
3739 3881
3740 var chainedCheckType = checkType.bind(null, false); 3882 var chainedCheckType = checkType.bind(null, false);
3741 chainedCheckType.isRequired = checkType.bind(null, true); 3883 chainedCheckType.isRequired = checkType.bind(null, true);
3742 3884
3743 return chainedCheckType; 3885 return chainedCheckType;
3744 } 3886 }
3745 3887
3746 function createPrimitiveTypeChecker(expectedType) { 3888 function createPrimitiveTypeChecker(expectedType) {
3747 function validate(props, propName, componentName, location, propFullName, secret) { 3889 function validate(props, propName, componentName, location, propFullName, secret) {
3748 var propValue = props[propName]; 3890 var propValue = props[propName];
3749 var propType = getPropType(propValue); 3891 var propType = getPropType(propValue);
3750 if (propType !== expectedType) { 3892 if (propType !== expectedType) {
3751 var locationName = ReactPropTypeLocationNames[location]; 3893 // `propValue` being instance of, say, date/regexp, pass the 'object'
3752 // `propValue` being instance of, say, date/regexp, pass the 'object' 3894 // check, but we can offer a more precise error message here rather than
3753 // check, but we can offer a more precise error message here rather than 3895 // 'of type `object`'.
3754 // 'of type `object`'. 3896 var preciseType = getPreciseType(propValue);
3755 var preciseType = getPreciseType(propValue);
3756 3897
3757 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.')); 3898 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
3899 }
3900 return null;
3758 } 3901 }
3759 return null; 3902 return createChainableTypeChecker(validate);
3760 } 3903 }
3761 return createChainableTypeChecker(validate);
3762 }
3763 3904
3764 function createAnyTypeChecker() { 3905 function createAnyTypeChecker() {
3765 return createChainableTypeChecker(emptyFunction.thatReturns(null)); 3906 return createChainableTypeChecker(emptyFunction.thatReturnsNull);
3766 } 3907 }
3767 3908
3768 function createArrayOfTypeChecker(typeChecker) { 3909 function createArrayOfTypeChecker(typeChecker) {
3769 function validate(props, propName, componentName, location, propFullName) { 3910 function validate(props, propName, componentName, location, propFullName) {
3770 if (typeof typeChecker !== 'function') { 3911 if (typeof typeChecker !== 'function') {
3771 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); 3912 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
3772 }
3773 var propValue = props[propName];
3774 if (!Array.isArray(propValue)) {
3775 var locationName = ReactPropTypeLocationNames[location];
3776 var propType = getPropType(propValue);
3777 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
3778 }
3779 for (var i = 0; i < propValue.length; i++) {
3780 var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
3781 if (error instanceof Error) {
3782 return error;
3783 } 3913 }
3914 var propValue = props[propName];
3915 if (!Array.isArray(propValue)) {
3916 var propType = getPropType(propValue);
3917 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
3918 }
3919 for (var i = 0; i < propValue.length; i++) {
3920 var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
3921 if (error instanceof Error) {
3922 return error;
3923 }
3924 }
3925 return null;
3784 } 3926 }
3785 return null; 3927 return createChainableTypeChecker(validate);
3786 } 3928 }
3787 return createChainableTypeChecker(validate);
3788 }
3789 3929
3790 function createElementTypeChecker() { 3930 function createElementTypeChecker() {
3791 function validate(props, propName, componentName, location, propFullName) { 3931 function validate(props, propName, componentName, location, propFullName) {
3792 var propValue = props[propName]; 3932 var propValue = props[propName];
3793 if (!ReactElement.isValidElement(propValue)) { 3933 if (!isValidElement(propValue)) {
3794 var locationName = ReactPropTypeLocationNames[location]; 3934 var propType = getPropType(propValue);
3795 var propType = getPropType(propValue); 3935 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
3796 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); 3936 }
3937 return null;
3797 } 3938 }
3798 return null; 3939 return createChainableTypeChecker(validate);
3799 } 3940 }
3800 return createChainableTypeChecker(validate);
3801 }
3802 3941
3803 function createInstanceTypeChecker(expectedClass) { 3942 function createInstanceTypeChecker(expectedClass) {
3804 function validate(props, propName, componentName, location, propFullName) { 3943 function validate(props, propName, componentName, location, propFullName) {
3805 if (!(props[propName] instanceof expectedClass)) { 3944 if (!(props[propName] instanceof expectedClass)) {
3806 var locationName = ReactPropTypeLocationNames[location]; 3945 var expectedClassName = expectedClass.name || ANONYMOUS;
3807 var expectedClassName = expectedClass.name || ANONYMOUS; 3946 var actualClassName = getClassName(props[propName]);
3808 var actualClassName = getClassName(props[propName]); 3947 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
3809 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); 3948 }
3949 return null;
3810 } 3950 }
3811 return null; 3951 return createChainableTypeChecker(validate);
3812 } 3952 }
3813 return createChainableTypeChecker(validate);
3814 }
3815 3953
3816 function createEnumTypeChecker(expectedValues) { 3954 function createEnumTypeChecker(expectedValues) {
3817 if (!Array.isArray(expectedValues)) { 3955 if (!Array.isArray(expectedValues)) {
3818 process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0; 3956 process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;
3819 return emptyFunction.thatReturnsNull; 3957 return emptyFunction.thatReturnsNull;
3820 } 3958 }
3821 3959
3822 function validate(props, propName, componentName, location, propFullName) { 3960 function validate(props, propName, componentName, location, propFullName) {
3823 var propValue = props[propName]; 3961 var propValue = props[propName];
3824 for (var i = 0; i < expectedValues.length; i++) { 3962 for (var i = 0; i < expectedValues.length; i++) {
3825 if (is(propValue, expectedValues[i])) { 3963 if (is(propValue, expectedValues[i])) {
3826 return null; 3964 return null;
3965 }
3827 } 3966 }
3828 }
3829 3967
3830 var locationName = ReactPropTypeLocationNames[location]; 3968 var valuesString = JSON.stringify(expectedValues);
3831 var valuesString = JSON.stringify(expectedValues); 3969 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
3832 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); 3970 }
3971 return createChainableTypeChecker(validate);
3833 } 3972 }
3834 return createChainableTypeChecker(validate);
3835 }
3836 3973
3837 function createObjectOfTypeChecker(typeChecker) { 3974 function createObjectOfTypeChecker(typeChecker) {
3838 function validate(props, propName, componentName, location, propFullName) { 3975 function validate(props, propName, componentName, location, propFullName) {
3839 if (typeof typeChecker !== 'function') { 3976 if (typeof typeChecker !== 'function') {
3840 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); 3977 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
3841 } 3978 }
3842 var propValue = props[propName]; 3979 var propValue = props[propName];
3843 var propType = getPropType(propValue); 3980 var propType = getPropType(propValue);
3844 if (propType !== 'object') { 3981 if (propType !== 'object') {
3845 var locationName = ReactPropTypeLocationNames[location]; 3982 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
3846 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); 3983 }
3847 } 3984 for (var key in propValue) {
3848 for (var key in propValue) { 3985 if (propValue.hasOwnProperty(key)) {
3849 if (propValue.hasOwnProperty(key)) { 3986 var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
3850 var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); 3987 if (error instanceof Error) {
3851 if (error instanceof Error) { 3988 return error;
3852 return error; 3989 }
3853 } 3990 }
3854 } 3991 }
3992 return null;
3855 } 3993 }
3856 return null; 3994 return createChainableTypeChecker(validate);
3857 } 3995 }
3858 return createChainableTypeChecker(validate);
3859 }
3860 3996
3861 function createUnionTypeChecker(arrayOfTypeCheckers) { 3997 function createUnionTypeChecker(arrayOfTypeCheckers) {
3862 if (!Array.isArray(arrayOfTypeCheckers)) { 3998 if (!Array.isArray(arrayOfTypeCheckers)) {
3863 process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0; 3999 process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
3864 return emptyFunction.thatReturnsNull; 4000 return emptyFunction.thatReturnsNull;
3865 } 4001 }
3866 4002
3867 function validate(props, propName, componentName, location, propFullName) { 4003 function validate(props, propName, componentName, location, propFullName) {
3868 for (var i = 0; i < arrayOfTypeCheckers.length; i++) { 4004 for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3869 var checker = arrayOfTypeCheckers[i]; 4005 var checker = arrayOfTypeCheckers[i];
3870 if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { 4006 if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
3871 return null; 4007 return null;
4008 }
3872 } 4009 }
3873 }
3874 4010
3875 var locationName = ReactPropTypeLocationNames[location]; 4011 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
3876 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); 4012 }
4013 return createChainableTypeChecker(validate);
3877 } 4014 }
3878 return createChainableTypeChecker(validate);
3879 }
3880 4015
3881 function createNodeChecker() { 4016 function createNodeChecker() {
3882 function validate(props, propName, componentName, location, propFullName) { 4017 function validate(props, propName, componentName, location, propFullName) {
3883 if (!isNode(props[propName])) { 4018 if (!isNode(props[propName])) {
3884 var locationName = ReactPropTypeLocationNames[location]; 4019 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
3885 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); 4020 }
4021 return null;
3886 } 4022 }
3887 return null; 4023 return createChainableTypeChecker(validate);
3888 } 4024 }
3889 return createChainableTypeChecker(validate);
3890 }
3891 4025
3892 function createShapeTypeChecker(shapeTypes) { 4026 function createShapeTypeChecker(shapeTypes) {
3893 function validate(props, propName, componentName, location, propFullName) { 4027 function validate(props, propName, componentName, location, propFullName) {
3894 var propValue = props[propName]; 4028 var propValue = props[propName];
3895 var propType = getPropType(propValue); 4029 var propType = getPropType(propValue);
3896 if (propType !== 'object') { 4030 if (propType !== 'object') {
3897 var locationName = ReactPropTypeLocationNames[location]; 4031 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3898 return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3899 }
3900 for (var key in shapeTypes) {
3901 var checker = shapeTypes[key];
3902 if (!checker) {
3903 continue;
3904 } 4032 }
3905 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); 4033 for (var key in shapeTypes) {
3906 if (error) { 4034 var checker = shapeTypes[key];
3907 return error; 4035 if (!checker) {
4036 continue;
4037 }
4038 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4039 if (error) {
4040 return error;
4041 }
3908 } 4042 }
4043 return null;
3909 } 4044 }
3910 return null; 4045 return createChainableTypeChecker(validate);
3911 } 4046 }
3912 return createChainableTypeChecker(validate);
3913 }
3914 4047
3915 function isNode(propValue) { 4048 function isNode(propValue) {
3916 switch (typeof propValue) { 4049 switch (typeof propValue) {
3917 case 'number': 4050 case 'number':
3918 case 'string': 4051 case 'string':
3919 case 'undefined': 4052 case 'undefined':
3920 return true;
3921 case 'boolean':
3922 return !propValue;
3923 case 'object':
3924 if (Array.isArray(propValue)) {
3925 return propValue.every(isNode);
3926 }
3927 if (propValue === null || ReactElement.isValidElement(propValue)) {
3928 return true; 4053 return true;
3929 } 4054 case 'boolean':
4055 return !propValue;
4056 case 'object':
4057 if (Array.isArray(propValue)) {
4058 return propValue.every(isNode);
4059 }
4060 if (propValue === null || isValidElement(propValue)) {
4061 return true;
4062 }
3930 4063
3931 var iteratorFn = getIteratorFn(propValue); 4064 var iteratorFn = getIteratorFn(propValue);
3932 if (iteratorFn) { 4065 if (iteratorFn) {
3933 var iterator = iteratorFn.call(propValue); 4066 var iterator = iteratorFn.call(propValue);
3934 var step; 4067 var step;
3935 if (iteratorFn !== propValue.entries) { 4068 if (iteratorFn !== propValue.entries) {
3936 while (!(step = iterator.next()).done) { 4069 while (!(step = iterator.next()).done) {
3937 if (!isNode(step.value)) { 4070 if (!isNode(step.value)) {
3938 return false;
3939 }
3940 }
3941 } else {
3942 // Iterator will provide entry [k,v] tuples rather than values.
3943 while (!(step = iterator.next()).done) {
3944 var entry = step.value;
3945 if (entry) {
3946 if (!isNode(entry[1])) {
3947 return false; 4071 return false;
3948 } 4072 }
3949 } 4073 }
4074 } else {
4075 // Iterator will provide entry [k,v] tuples rather than values.
4076 while (!(step = iterator.next()).done) {
4077 var entry = step.value;
4078 if (entry) {
4079 if (!isNode(entry[1])) {
4080 return false;
4081 }
4082 }
4083 }
3950 } 4084 }
4085 } else {
4086 return false;
3951 } 4087 }
3952 } else { 4088
4089 return true;
4090 default:
3953 return false; 4091 return false;
3954 } 4092 }
4093 }
3955 4094
4095 function isSymbol(propType, propValue) {
4096 // Native Symbol.
4097 if (propType === 'symbol') {
3956 return true; 4098 return true;
3957 default: 4099 }
3958 return false; 4100
4101 // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
4102 if (propValue['@@toStringTag'] === 'Symbol') {
4103 return true;
4104 }
4105
4106 // Fallback for non-spec compliant Symbols which are polyfilled.
4107 if (typeof Symbol === 'function' && propValue instanceof Symbol) {
4108 return true;
4109 }
4110
4111 return false;
3959 } 4112 }
3960 }
3961 4113
3962 function isSymbol(propType, propValue) { 4114 // Equivalent of `typeof` but with special handling for array and regexp.
3963 // Native Symbol. 4115 function getPropType(propValue) {
3964 if (propType === 'symbol') { 4116 var propType = typeof propValue;
3965 return true; 4117 if (Array.isArray(propValue)) {
4118 return 'array';
4119 }
4120 if (propValue instanceof RegExp) {
4121 // Old webkits (at least until Android 4.0) return 'function' rather than
4122 // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
4123 // passes PropTypes.object.
4124 return 'object';
4125 }
4126 if (isSymbol(propType, propValue)) {
4127 return 'symbol';
4128 }
4129 return propType;
3966 } 4130 }
3967 4131
3968 // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' 4132 // This handles more types than `getPropType`. Only used for error messages.
3969 if (propValue['@@toStringTag'] === 'Symbol') { 4133 // See `createPrimitiveTypeChecker`.
3970 return true; 4134 function getPreciseType(propValue) {
4135 var propType = getPropType(propValue);
4136 if (propType === 'object') {
4137 if (propValue instanceof Date) {
4138 return 'date';
4139 } else if (propValue instanceof RegExp) {
4140 return 'regexp';
4141 }
4142 }
4143 return propType;
3971 } 4144 }
3972 4145
3973 // Fallback for non-spec compliant Symbols which are polyfilled. 4146 // Returns class name of the object, if any.
3974 if (typeof Symbol === 'function' && propValue instanceof Symbol) { 4147 function getClassName(propValue) {
3975 return true; 4148 if (!propValue.constructor || !propValue.constructor.name) {
4149 return ANONYMOUS;
4150 }
4151 return propValue.constructor.name;
3976 } 4152 }
3977 4153
3978 return false; 4154 ReactPropTypes.checkPropTypes = checkPropTypes;
3979 } 4155 ReactPropTypes.PropTypes = ReactPropTypes;
3980 4156
3981 // Equivalent of `typeof` but with special handling for array and regexp. 4157 return ReactPropTypes;
3982 function getPropType(propValue) { 4158 };
3983 var propType = typeof propValue; 4159
3984 if (Array.isArray(propValue)) { 4160 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
3985 return 'array'; 4161
3986 } 4162/***/ }),
3987 if (propValue instanceof RegExp) { 4163/* 34 */
3988 // Old webkits (at least until Android 4.0) return 'function' rather than 4164/***/ (function(module, exports) {
3989 // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ 4165
3990 // passes PropTypes.object. 4166 /**
3991 return 'object'; 4167 * Copyright 2013-present, Facebook, Inc.
3992 } 4168 * All rights reserved.
3993 if (isSymbol(propType, propValue)) { 4169 *
3994 return 'symbol'; 4170 * This source code is licensed under the BSD-style license found in the
3995 } 4171 * LICENSE file in the root directory of this source tree. An additional grant
3996 return propType; 4172 * of patent rights can be found in the PATENTS file in the same directory.
4173 */
4174
4175 'use strict';
4176
4177 var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
4178
4179 module.exports = ReactPropTypesSecret;
4180
4181
4182/***/ }),
4183/* 35 */
4184/***/ (function(module, exports, __webpack_require__) {
4185
4186 /* WEBPACK VAR INJECTION */(function(process) {/**
4187 * Copyright 2013-present, Facebook, Inc.
4188 * All rights reserved.
4189 *
4190 * This source code is licensed under the BSD-style license found in the
4191 * LICENSE file in the root directory of this source tree. An additional grant
4192 * of patent rights can be found in the PATENTS file in the same directory.
4193 */
4194
4195 'use strict';
4196
4197 if (process.env.NODE_ENV !== 'production') {
4198 var invariant = __webpack_require__(10);
4199 var warning = __webpack_require__(13);
4200 var ReactPropTypesSecret = __webpack_require__(34);
4201 var loggedTypeFailures = {};
3997 } 4202 }
3998 4203
3999 // This handles more types than `getPropType`. Only used for error messages. 4204 /**
4000 // See `createPrimitiveTypeChecker`. 4205 * Assert that the values match with the type specs.
4001 function getPreciseType(propValue) { 4206 * Error messages are memorized and will only be shown once.
4002 var propType = getPropType(propValue); 4207 *
4003 if (propType === 'object') { 4208 * @param {object} typeSpecs Map of name to a ReactPropType
4004 if (propValue instanceof Date) { 4209 * @param {object} values Runtime values that need to be type-checked
4005 return 'date'; 4210 * @param {string} location e.g. "prop", "context", "child context"
4006 } else if (propValue instanceof RegExp) { 4211 * @param {string} componentName Name of the component for error messages.
4007 return 'regexp'; 4212 * @param {?Function} getStack Returns the component stack.
4213 * @private
4214 */
4215 function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
4216 if (process.env.NODE_ENV !== 'production') {
4217 for (var typeSpecName in typeSpecs) {
4218 if (typeSpecs.hasOwnProperty(typeSpecName)) {
4219 var error;
4220 // Prop type validation may throw. In case they do, we don't want to
4221 // fail the render phase where it didn't fail before. So we log it.
4222 // After these have been cleaned up, we'll let them throw.
4223 try {
4224 // This is intentionally an invariant that gets caught. It's the same
4225 // behavior as without this statement except with a better message.
4226 invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);
4227 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
4228 } catch (ex) {
4229 error = ex;
4230 }
4231 warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);
4232 if (error instanceof Error && !(error.message in loggedTypeFailures)) {
4233 // Only monitor this failure once because there tends to be a lot of the
4234 // same error.
4235 loggedTypeFailures[error.message] = true;
4236
4237 var stack = getStack ? getStack() : '';
4238
4239 warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');
4240 }
4241 }
4008 } 4242 }
4009 } 4243 }
4010 return propType;
4011 } 4244 }
4012 4245
4013 // Returns class name of the object, if any. 4246 module.exports = checkPropTypes;
4014 function getClassName(propValue) {
4015 if (!propValue.constructor || !propValue.constructor.name) {
4016 return ANONYMOUS;
4017 }
4018 return propValue.constructor.name;
4019 }
4020 4247
4021 module.exports = ReactPropTypes;
4022 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 4248 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4023 4249
4024/***/ }, 4250/***/ }),
4025/* 32 */ 4251/* 36 */
4026/***/ function(module, exports) { 4252/***/ (function(module, exports) {
4027 4253
4028 /** 4254 /**
4029 * Copyright 2013-present, Facebook, Inc. 4255 * Copyright 2013-present, Facebook, Inc.
@@ -4037,11 +4263,11 @@
4037 4263
4038 'use strict'; 4264 'use strict';
4039 4265
4040 module.exports = '15.4.2'; 4266 module.exports = '15.5.4';
4041 4267
4042/***/ }, 4268/***/ }),
4043/* 33 */ 4269/* 37 */
4044/***/ function(module, exports, __webpack_require__) { 4270/***/ (function(module, exports, __webpack_require__) {
4045 4271
4046 /* WEBPACK VAR INJECTION */(function(process) {/** 4272 /* WEBPACK VAR INJECTION */(function(process) {/**
4047 * Copyright 2013-present, Facebook, Inc. 4273 * Copyright 2013-present, Facebook, Inc.
@@ -4082,18 +4308,18 @@
4082 module.exports = onlyChild; 4308 module.exports = onlyChild;
4083 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 4309 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4084 4310
4085/***/ }, 4311/***/ }),
4086/* 34 */ 4312/* 38 */
4087/***/ function(module, exports, __webpack_require__) { 4313/***/ (function(module, exports, __webpack_require__) {
4088 4314
4089 'use strict'; 4315 'use strict';
4090 4316
4091 module.exports = __webpack_require__(35); 4317 module.exports = __webpack_require__(39);
4092 4318
4093 4319
4094/***/ }, 4320/***/ }),
4095/* 35 */ 4321/* 39 */
4096/***/ function(module, exports, __webpack_require__) { 4322/***/ (function(module, exports, __webpack_require__) {
4097 4323
4098 /* WEBPACK VAR INJECTION */(function(process) {/** 4324 /* WEBPACK VAR INJECTION */(function(process) {/**
4099 * Copyright 2013-present, Facebook, Inc. 4325 * Copyright 2013-present, Facebook, Inc.
@@ -4109,16 +4335,16 @@
4109 4335
4110 'use strict'; 4336 'use strict';
4111 4337
4112 var ReactDOMComponentTree = __webpack_require__(36); 4338 var ReactDOMComponentTree = __webpack_require__(40);
4113 var ReactDefaultInjection = __webpack_require__(40); 4339 var ReactDefaultInjection = __webpack_require__(44);
4114 var ReactMount = __webpack_require__(168); 4340 var ReactMount = __webpack_require__(172);
4115 var ReactReconciler = __webpack_require__(61); 4341 var ReactReconciler = __webpack_require__(65);
4116 var ReactUpdates = __webpack_require__(58); 4342 var ReactUpdates = __webpack_require__(62);
4117 var ReactVersion = __webpack_require__(173); 4343 var ReactVersion = __webpack_require__(177);
4118 4344
4119 var findDOMNode = __webpack_require__(174); 4345 var findDOMNode = __webpack_require__(178);
4120 var getHostComponentFromComposite = __webpack_require__(175); 4346 var getHostComponentFromComposite = __webpack_require__(179);
4121 var renderSubtreeIntoContainer = __webpack_require__(176); 4347 var renderSubtreeIntoContainer = __webpack_require__(180);
4122 var warning = __webpack_require__(13); 4348 var warning = __webpack_require__(13);
4123 4349
4124 ReactDefaultInjection.inject(); 4350 ReactDefaultInjection.inject();
@@ -4158,7 +4384,7 @@
4158 } 4384 }
4159 4385
4160 if (process.env.NODE_ENV !== 'production') { 4386 if (process.env.NODE_ENV !== 'production') {
4161 var ExecutionEnvironment = __webpack_require__(50); 4387 var ExecutionEnvironment = __webpack_require__(54);
4162 if (ExecutionEnvironment.canUseDOM && window.top === window.self) { 4388 if (ExecutionEnvironment.canUseDOM && window.top === window.self) {
4163 4389
4164 // First check if devtools is not installed 4390 // First check if devtools is not installed
@@ -4194,10 +4420,10 @@
4194 } 4420 }
4195 4421
4196 if (process.env.NODE_ENV !== 'production') { 4422 if (process.env.NODE_ENV !== 'production') {
4197 var ReactInstrumentation = __webpack_require__(64); 4423 var ReactInstrumentation = __webpack_require__(68);
4198 var ReactDOMUnknownPropertyHook = __webpack_require__(177); 4424 var ReactDOMUnknownPropertyHook = __webpack_require__(181);
4199 var ReactDOMNullInputValuePropHook = __webpack_require__(178); 4425 var ReactDOMNullInputValuePropHook = __webpack_require__(182);
4200 var ReactDOMInvalidARIAHook = __webpack_require__(179); 4426 var ReactDOMInvalidARIAHook = __webpack_require__(183);
4201 4427
4202 ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook); 4428 ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);
4203 ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook); 4429 ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);
@@ -4207,9 +4433,9 @@
4207 module.exports = ReactDOM; 4433 module.exports = ReactDOM;
4208 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 4434 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4209 4435
4210/***/ }, 4436/***/ }),
4211/* 36 */ 4437/* 40 */
4212/***/ function(module, exports, __webpack_require__) { 4438/***/ (function(module, exports, __webpack_require__) {
4213 4439
4214 /* WEBPACK VAR INJECTION */(function(process) {/** 4440 /* WEBPACK VAR INJECTION */(function(process) {/**
4215 * Copyright 2013-present, Facebook, Inc. 4441 * Copyright 2013-present, Facebook, Inc.
@@ -4223,10 +4449,10 @@
4223 4449
4224 'use strict'; 4450 'use strict';
4225 4451
4226 var _prodInvariant = __webpack_require__(37); 4452 var _prodInvariant = __webpack_require__(41);
4227 4453
4228 var DOMProperty = __webpack_require__(38); 4454 var DOMProperty = __webpack_require__(42);
4229 var ReactDOMComponentFlags = __webpack_require__(39); 4455 var ReactDOMComponentFlags = __webpack_require__(43);
4230 4456
4231 var invariant = __webpack_require__(10); 4457 var invariant = __webpack_require__(10);
4232 4458
@@ -4407,11 +4633,11 @@
4407 module.exports = ReactDOMComponentTree; 4633 module.exports = ReactDOMComponentTree;
4408 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 4634 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4409 4635
4410/***/ }, 4636/***/ }),
4411/* 37 */ 4637/* 41 */
44129, 46389,
4413/* 38 */ 4639/* 42 */
4414/***/ function(module, exports, __webpack_require__) { 4640/***/ (function(module, exports, __webpack_require__) {
4415 4641
4416 /* WEBPACK VAR INJECTION */(function(process) {/** 4642 /* WEBPACK VAR INJECTION */(function(process) {/**
4417 * Copyright 2013-present, Facebook, Inc. 4643 * Copyright 2013-present, Facebook, Inc.
@@ -4425,7 +4651,7 @@
4425 4651
4426 'use strict'; 4652 'use strict';
4427 4653
4428 var _prodInvariant = __webpack_require__(37); 4654 var _prodInvariant = __webpack_require__(41);
4429 4655
4430 var invariant = __webpack_require__(10); 4656 var invariant = __webpack_require__(10);
4431 4657
@@ -4624,9 +4850,9 @@
4624 module.exports = DOMProperty; 4850 module.exports = DOMProperty;
4625 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 4851 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4626 4852
4627/***/ }, 4853/***/ }),
4628/* 39 */ 4854/* 43 */
4629/***/ function(module, exports) { 4855/***/ (function(module, exports) {
4630 4856
4631 /** 4857 /**
4632 * Copyright 2015-present, Facebook, Inc. 4858 * Copyright 2015-present, Facebook, Inc.
@@ -4646,9 +4872,9 @@
4646 4872
4647 module.exports = ReactDOMComponentFlags; 4873 module.exports = ReactDOMComponentFlags;
4648 4874
4649/***/ }, 4875/***/ }),
4650/* 40 */ 4876/* 44 */
4651/***/ function(module, exports, __webpack_require__) { 4877/***/ (function(module, exports, __webpack_require__) {
4652 4878
4653 /** 4879 /**
4654 * Copyright 2013-present, Facebook, Inc. 4880 * Copyright 2013-present, Facebook, Inc.
@@ -4662,25 +4888,25 @@
4662 4888
4663 'use strict'; 4889 'use strict';
4664 4890
4665 var ARIADOMPropertyConfig = __webpack_require__(41); 4891 var ARIADOMPropertyConfig = __webpack_require__(45);
4666 var BeforeInputEventPlugin = __webpack_require__(42); 4892 var BeforeInputEventPlugin = __webpack_require__(46);
4667 var ChangeEventPlugin = __webpack_require__(57); 4893 var ChangeEventPlugin = __webpack_require__(61);
4668 var DefaultEventPluginOrder = __webpack_require__(74); 4894 var DefaultEventPluginOrder = __webpack_require__(78);
4669 var EnterLeaveEventPlugin = __webpack_require__(75); 4895 var EnterLeaveEventPlugin = __webpack_require__(79);
4670 var HTMLDOMPropertyConfig = __webpack_require__(80); 4896 var HTMLDOMPropertyConfig = __webpack_require__(84);
4671 var ReactComponentBrowserEnvironment = __webpack_require__(81); 4897 var ReactComponentBrowserEnvironment = __webpack_require__(85);
4672 var ReactDOMComponent = __webpack_require__(94); 4898 var ReactDOMComponent = __webpack_require__(98);
4673 var ReactDOMComponentTree = __webpack_require__(36); 4899 var ReactDOMComponentTree = __webpack_require__(40);
4674 var ReactDOMEmptyComponent = __webpack_require__(139); 4900 var ReactDOMEmptyComponent = __webpack_require__(143);
4675 var ReactDOMTreeTraversal = __webpack_require__(140); 4901 var ReactDOMTreeTraversal = __webpack_require__(144);
4676 var ReactDOMTextComponent = __webpack_require__(141); 4902 var ReactDOMTextComponent = __webpack_require__(145);
4677 var ReactDefaultBatchingStrategy = __webpack_require__(142); 4903 var ReactDefaultBatchingStrategy = __webpack_require__(146);
4678 var ReactEventListener = __webpack_require__(143); 4904 var ReactEventListener = __webpack_require__(147);
4679 var ReactInjection = __webpack_require__(146); 4905 var ReactInjection = __webpack_require__(150);
4680 var ReactReconcileTransaction = __webpack_require__(147); 4906 var ReactReconcileTransaction = __webpack_require__(151);
4681 var SVGDOMPropertyConfig = __webpack_require__(155); 4907 var SVGDOMPropertyConfig = __webpack_require__(159);
4682 var SelectEventPlugin = __webpack_require__(156); 4908 var SelectEventPlugin = __webpack_require__(160);
4683 var SimpleEventPlugin = __webpack_require__(157); 4909 var SimpleEventPlugin = __webpack_require__(161);
4684 4910
4685 var alreadyInjected = false; 4911 var alreadyInjected = false;
4686 4912
@@ -4736,9 +4962,9 @@
4736 inject: inject 4962 inject: inject
4737 }; 4963 };
4738 4964
4739/***/ }, 4965/***/ }),
4740/* 41 */ 4966/* 45 */
4741/***/ function(module, exports) { 4967/***/ (function(module, exports) {
4742 4968
4743 /** 4969 /**
4744 * Copyright 2013-present, Facebook, Inc. 4970 * Copyright 2013-present, Facebook, Inc.
@@ -4814,9 +5040,9 @@
4814 5040
4815 module.exports = ARIADOMPropertyConfig; 5041 module.exports = ARIADOMPropertyConfig;
4816 5042
4817/***/ }, 5043/***/ }),
4818/* 42 */ 5044/* 46 */
4819/***/ function(module, exports, __webpack_require__) { 5045/***/ (function(module, exports, __webpack_require__) {
4820 5046
4821 /** 5047 /**
4822 * Copyright 2013-present Facebook, Inc. 5048 * Copyright 2013-present Facebook, Inc.
@@ -4830,11 +5056,11 @@
4830 5056
4831 'use strict'; 5057 'use strict';
4832 5058
4833 var EventPropagators = __webpack_require__(43); 5059 var EventPropagators = __webpack_require__(47);
4834 var ExecutionEnvironment = __webpack_require__(50); 5060 var ExecutionEnvironment = __webpack_require__(54);
4835 var FallbackCompositionState = __webpack_require__(51); 5061 var FallbackCompositionState = __webpack_require__(55);
4836 var SyntheticCompositionEvent = __webpack_require__(54); 5062 var SyntheticCompositionEvent = __webpack_require__(58);
4837 var SyntheticInputEvent = __webpack_require__(56); 5063 var SyntheticInputEvent = __webpack_require__(60);
4838 5064
4839 var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space 5065 var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
4840 var START_KEYCODE = 229; 5066 var START_KEYCODE = 229;
@@ -5203,9 +5429,9 @@
5203 5429
5204 module.exports = BeforeInputEventPlugin; 5430 module.exports = BeforeInputEventPlugin;
5205 5431
5206/***/ }, 5432/***/ }),
5207/* 43 */ 5433/* 47 */
5208/***/ function(module, exports, __webpack_require__) { 5434/***/ (function(module, exports, __webpack_require__) {
5209 5435
5210 /* WEBPACK VAR INJECTION */(function(process) {/** 5436 /* WEBPACK VAR INJECTION */(function(process) {/**
5211 * Copyright 2013-present, Facebook, Inc. 5437 * Copyright 2013-present, Facebook, Inc.
@@ -5219,11 +5445,11 @@
5219 5445
5220 'use strict'; 5446 'use strict';
5221 5447
5222 var EventPluginHub = __webpack_require__(44); 5448 var EventPluginHub = __webpack_require__(48);
5223 var EventPluginUtils = __webpack_require__(46); 5449 var EventPluginUtils = __webpack_require__(50);
5224 5450
5225 var accumulateInto = __webpack_require__(48); 5451 var accumulateInto = __webpack_require__(52);
5226 var forEachAccumulated = __webpack_require__(49); 5452 var forEachAccumulated = __webpack_require__(53);
5227 var warning = __webpack_require__(13); 5453 var warning = __webpack_require__(13);
5228 5454
5229 var getListener = EventPluginHub.getListener; 5455 var getListener = EventPluginHub.getListener;
@@ -5342,9 +5568,9 @@
5342 module.exports = EventPropagators; 5568 module.exports = EventPropagators;
5343 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 5569 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
5344 5570
5345/***/ }, 5571/***/ }),
5346/* 44 */ 5572/* 48 */
5347/***/ function(module, exports, __webpack_require__) { 5573/***/ (function(module, exports, __webpack_require__) {
5348 5574
5349 /* WEBPACK VAR INJECTION */(function(process) {/** 5575 /* WEBPACK VAR INJECTION */(function(process) {/**
5350 * Copyright 2013-present, Facebook, Inc. 5576 * Copyright 2013-present, Facebook, Inc.
@@ -5358,14 +5584,14 @@
5358 5584
5359 'use strict'; 5585 'use strict';
5360 5586
5361 var _prodInvariant = __webpack_require__(37); 5587 var _prodInvariant = __webpack_require__(41);
5362 5588
5363 var EventPluginRegistry = __webpack_require__(45); 5589 var EventPluginRegistry = __webpack_require__(49);
5364 var EventPluginUtils = __webpack_require__(46); 5590 var EventPluginUtils = __webpack_require__(50);
5365 var ReactErrorUtils = __webpack_require__(47); 5591 var ReactErrorUtils = __webpack_require__(51);
5366 5592
5367 var accumulateInto = __webpack_require__(48); 5593 var accumulateInto = __webpack_require__(52);
5368 var forEachAccumulated = __webpack_require__(49); 5594 var forEachAccumulated = __webpack_require__(53);
5369 var invariant = __webpack_require__(10); 5595 var invariant = __webpack_require__(10);
5370 5596
5371 /** 5597 /**
@@ -5625,9 +5851,9 @@
5625 module.exports = EventPluginHub; 5851 module.exports = EventPluginHub;
5626 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 5852 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
5627 5853
5628/***/ }, 5854/***/ }),
5629/* 45 */ 5855/* 49 */
5630/***/ function(module, exports, __webpack_require__) { 5856/***/ (function(module, exports, __webpack_require__) {
5631 5857
5632 /* WEBPACK VAR INJECTION */(function(process) {/** 5858 /* WEBPACK VAR INJECTION */(function(process) {/**
5633 * Copyright 2013-present, Facebook, Inc. 5859 * Copyright 2013-present, Facebook, Inc.
@@ -5642,7 +5868,7 @@
5642 5868
5643 'use strict'; 5869 'use strict';
5644 5870
5645 var _prodInvariant = __webpack_require__(37); 5871 var _prodInvariant = __webpack_require__(41);
5646 5872
5647 var invariant = __webpack_require__(10); 5873 var invariant = __webpack_require__(10);
5648 5874
@@ -5885,9 +6111,9 @@
5885 module.exports = EventPluginRegistry; 6111 module.exports = EventPluginRegistry;
5886 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 6112 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
5887 6113
5888/***/ }, 6114/***/ }),
5889/* 46 */ 6115/* 50 */
5890/***/ function(module, exports, __webpack_require__) { 6116/***/ (function(module, exports, __webpack_require__) {
5891 6117
5892 /* WEBPACK VAR INJECTION */(function(process) {/** 6118 /* WEBPACK VAR INJECTION */(function(process) {/**
5893 * Copyright 2013-present, Facebook, Inc. 6119 * Copyright 2013-present, Facebook, Inc.
@@ -5901,9 +6127,9 @@
5901 6127
5902 'use strict'; 6128 'use strict';
5903 6129
5904 var _prodInvariant = __webpack_require__(37); 6130 var _prodInvariant = __webpack_require__(41);
5905 6131
5906 var ReactErrorUtils = __webpack_require__(47); 6132 var ReactErrorUtils = __webpack_require__(51);
5907 6133
5908 var invariant = __webpack_require__(10); 6134 var invariant = __webpack_require__(10);
5909 var warning = __webpack_require__(13); 6135 var warning = __webpack_require__(13);
@@ -6116,9 +6342,9 @@
6116 module.exports = EventPluginUtils; 6342 module.exports = EventPluginUtils;
6117 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 6343 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
6118 6344
6119/***/ }, 6345/***/ }),
6120/* 47 */ 6346/* 51 */
6121/***/ function(module, exports, __webpack_require__) { 6347/***/ (function(module, exports, __webpack_require__) {
6122 6348
6123 /* WEBPACK VAR INJECTION */(function(process) {/** 6349 /* WEBPACK VAR INJECTION */(function(process) {/**
6124 * Copyright 2013-present, Facebook, Inc. 6350 * Copyright 2013-present, Facebook, Inc.
@@ -6187,7 +6413,6 @@
6187 var evtType = 'react-' + name; 6413 var evtType = 'react-' + name;
6188 fakeNode.addEventListener(evtType, boundFunc, false); 6414 fakeNode.addEventListener(evtType, boundFunc, false);
6189 var evt = document.createEvent('Event'); 6415 var evt = document.createEvent('Event');
6190 // $FlowFixMe https://github.com/facebook/flow/issues/2336
6191 evt.initEvent(evtType, false, false); 6416 evt.initEvent(evtType, false, false);
6192 fakeNode.dispatchEvent(evt); 6417 fakeNode.dispatchEvent(evt);
6193 fakeNode.removeEventListener(evtType, boundFunc, false); 6418 fakeNode.removeEventListener(evtType, boundFunc, false);
@@ -6198,9 +6423,9 @@
6198 module.exports = ReactErrorUtils; 6423 module.exports = ReactErrorUtils;
6199 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 6424 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
6200 6425
6201/***/ }, 6426/***/ }),
6202/* 48 */ 6427/* 52 */
6203/***/ function(module, exports, __webpack_require__) { 6428/***/ (function(module, exports, __webpack_require__) {
6204 6429
6205 /* WEBPACK VAR INJECTION */(function(process) {/** 6430 /* WEBPACK VAR INJECTION */(function(process) {/**
6206 * Copyright 2014-present, Facebook, Inc. 6431 * Copyright 2014-present, Facebook, Inc.
@@ -6215,7 +6440,7 @@
6215 6440
6216 'use strict'; 6441 'use strict';
6217 6442
6218 var _prodInvariant = __webpack_require__(37); 6443 var _prodInvariant = __webpack_require__(41);
6219 6444
6220 var invariant = __webpack_require__(10); 6445 var invariant = __webpack_require__(10);
6221 6446
@@ -6261,9 +6486,9 @@
6261 module.exports = accumulateInto; 6486 module.exports = accumulateInto;
6262 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 6487 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
6263 6488
6264/***/ }, 6489/***/ }),
6265/* 49 */ 6490/* 53 */
6266/***/ function(module, exports) { 6491/***/ (function(module, exports) {
6267 6492
6268 /** 6493 /**
6269 * Copyright 2013-present, Facebook, Inc. 6494 * Copyright 2013-present, Facebook, Inc.
@@ -6296,9 +6521,9 @@
6296 6521
6297 module.exports = forEachAccumulated; 6522 module.exports = forEachAccumulated;
6298 6523
6299/***/ }, 6524/***/ }),
6300/* 50 */ 6525/* 54 */
6301/***/ function(module, exports) { 6526/***/ (function(module, exports) {
6302 6527
6303 /** 6528 /**
6304 * Copyright (c) 2013-present, Facebook, Inc. 6529 * Copyright (c) 2013-present, Facebook, Inc.
@@ -6336,9 +6561,9 @@
6336 6561
6337 module.exports = ExecutionEnvironment; 6562 module.exports = ExecutionEnvironment;
6338 6563
6339/***/ }, 6564/***/ }),
6340/* 51 */ 6565/* 55 */
6341/***/ function(module, exports, __webpack_require__) { 6566/***/ (function(module, exports, __webpack_require__) {
6342 6567
6343 /** 6568 /**
6344 * Copyright 2013-present, Facebook, Inc. 6569 * Copyright 2013-present, Facebook, Inc.
@@ -6354,9 +6579,9 @@
6354 6579
6355 var _assign = __webpack_require__(6); 6580 var _assign = __webpack_require__(6);
6356 6581
6357 var PooledClass = __webpack_require__(52); 6582 var PooledClass = __webpack_require__(56);
6358 6583
6359 var getTextContentAccessor = __webpack_require__(53); 6584 var getTextContentAccessor = __webpack_require__(57);
6360 6585
6361 /** 6586 /**
6362 * This helper class stores information about text content of a target node, 6587 * This helper class stores information about text content of a target node,
@@ -6435,11 +6660,11 @@
6435 6660
6436 module.exports = FallbackCompositionState; 6661 module.exports = FallbackCompositionState;
6437 6662
6438/***/ }, 6663/***/ }),
6439/* 52 */ 6664/* 56 */
6440[272, 37], 6665[323, 41],
6441/* 53 */ 6666/* 57 */
6442/***/ function(module, exports, __webpack_require__) { 6667/***/ (function(module, exports, __webpack_require__) {
6443 6668
6444 /** 6669 /**
6445 * Copyright 2013-present, Facebook, Inc. 6670 * Copyright 2013-present, Facebook, Inc.
@@ -6453,7 +6678,7 @@
6453 6678
6454 'use strict'; 6679 'use strict';
6455 6680
6456 var ExecutionEnvironment = __webpack_require__(50); 6681 var ExecutionEnvironment = __webpack_require__(54);
6457 6682
6458 var contentKey = null; 6683 var contentKey = null;
6459 6684
@@ -6474,9 +6699,9 @@
6474 6699
6475 module.exports = getTextContentAccessor; 6700 module.exports = getTextContentAccessor;
6476 6701
6477/***/ }, 6702/***/ }),
6478/* 54 */ 6703/* 58 */
6479/***/ function(module, exports, __webpack_require__) { 6704/***/ (function(module, exports, __webpack_require__) {
6480 6705
6481 /** 6706 /**
6482 * Copyright 2013-present, Facebook, Inc. 6707 * Copyright 2013-present, Facebook, Inc.
@@ -6490,7 +6715,7 @@
6490 6715
6491 'use strict'; 6716 'use strict';
6492 6717
6493 var SyntheticEvent = __webpack_require__(55); 6718 var SyntheticEvent = __webpack_require__(59);
6494 6719
6495 /** 6720 /**
6496 * @interface Event 6721 * @interface Event
@@ -6514,9 +6739,9 @@
6514 6739
6515 module.exports = SyntheticCompositionEvent; 6740 module.exports = SyntheticCompositionEvent;
6516 6741
6517/***/ }, 6742/***/ }),
6518/* 55 */ 6743/* 59 */
6519/***/ function(module, exports, __webpack_require__) { 6744/***/ (function(module, exports, __webpack_require__) {
6520 6745
6521 /* WEBPACK VAR INJECTION */(function(process) {/** 6746 /* WEBPACK VAR INJECTION */(function(process) {/**
6522 * Copyright 2013-present, Facebook, Inc. 6747 * Copyright 2013-present, Facebook, Inc.
@@ -6532,7 +6757,7 @@
6532 6757
6533 var _assign = __webpack_require__(6); 6758 var _assign = __webpack_require__(6);
6534 6759
6535 var PooledClass = __webpack_require__(52); 6760 var PooledClass = __webpack_require__(56);
6536 6761
6537 var emptyFunction = __webpack_require__(14); 6762 var emptyFunction = __webpack_require__(14);
6538 var warning = __webpack_require__(13); 6763 var warning = __webpack_require__(13);
@@ -6787,9 +7012,9 @@
6787 } 7012 }
6788 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 7013 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
6789 7014
6790/***/ }, 7015/***/ }),
6791/* 56 */ 7016/* 60 */
6792/***/ function(module, exports, __webpack_require__) { 7017/***/ (function(module, exports, __webpack_require__) {
6793 7018
6794 /** 7019 /**
6795 * Copyright 2013-present, Facebook, Inc. 7020 * Copyright 2013-present, Facebook, Inc.
@@ -6803,7 +7028,7 @@
6803 7028
6804 'use strict'; 7029 'use strict';
6805 7030
6806 var SyntheticEvent = __webpack_require__(55); 7031 var SyntheticEvent = __webpack_require__(59);
6807 7032
6808 /** 7033 /**
6809 * @interface Event 7034 * @interface Event
@@ -6828,9 +7053,9 @@
6828 7053
6829 module.exports = SyntheticInputEvent; 7054 module.exports = SyntheticInputEvent;
6830 7055
6831/***/ }, 7056/***/ }),
6832/* 57 */ 7057/* 61 */
6833/***/ function(module, exports, __webpack_require__) { 7058/***/ (function(module, exports, __webpack_require__) {
6834 7059
6835 /** 7060 /**
6836 * Copyright 2013-present, Facebook, Inc. 7061 * Copyright 2013-present, Facebook, Inc.
@@ -6844,16 +7069,16 @@
6844 7069
6845 'use strict'; 7070 'use strict';
6846 7071
6847 var EventPluginHub = __webpack_require__(44); 7072 var EventPluginHub = __webpack_require__(48);
6848 var EventPropagators = __webpack_require__(43); 7073 var EventPropagators = __webpack_require__(47);
6849 var ExecutionEnvironment = __webpack_require__(50); 7074 var ExecutionEnvironment = __webpack_require__(54);
6850 var ReactDOMComponentTree = __webpack_require__(36); 7075 var ReactDOMComponentTree = __webpack_require__(40);
6851 var ReactUpdates = __webpack_require__(58); 7076 var ReactUpdates = __webpack_require__(62);
6852 var SyntheticEvent = __webpack_require__(55); 7077 var SyntheticEvent = __webpack_require__(59);
6853 7078
6854 var getEventTarget = __webpack_require__(71); 7079 var getEventTarget = __webpack_require__(75);
6855 var isEventSupported = __webpack_require__(72); 7080 var isEventSupported = __webpack_require__(76);
6856 var isTextInputElement = __webpack_require__(73); 7081 var isTextInputElement = __webpack_require__(77);
6857 7082
6858 var eventTypes = { 7083 var eventTypes = {
6859 change: { 7084 change: {
@@ -7099,6 +7324,26 @@
7099 } 7324 }
7100 } 7325 }
7101 7326
7327 function handleControlledInputBlur(inst, node) {
7328 // TODO: In IE, inst is occasionally null. Why?
7329 if (inst == null) {
7330 return;
7331 }
7332
7333 // Fiber and ReactDOM keep wrapper state in separate places
7334 var state = inst._wrapperState || node._wrapperState;
7335
7336 if (!state || !state.controlled || node.type !== 'number') {
7337 return;
7338 }
7339
7340 // If controlled, assign the value attribute to the current value on blur
7341 var value = '' + node.value;
7342 if (node.getAttribute('value') !== value) {
7343 node.setAttribute('value', value);
7344 }
7345 }
7346
7102 /** 7347 /**
7103 * This plugin creates an `onChange` event that normalizes change events 7348 * This plugin creates an `onChange` event that normalizes change events
7104 * across form elements. This event fires at a time when it's possible to 7349 * across form elements. This event fires at a time when it's possible to
@@ -7147,15 +7392,20 @@
7147 if (handleEventFunc) { 7392 if (handleEventFunc) {
7148 handleEventFunc(topLevelType, targetNode, targetInst); 7393 handleEventFunc(topLevelType, targetNode, targetInst);
7149 } 7394 }
7395
7396 // When blurring, set the value attribute for number inputs
7397 if (topLevelType === 'topBlur') {
7398 handleControlledInputBlur(targetInst, targetNode);
7399 }
7150 } 7400 }
7151 7401
7152 }; 7402 };
7153 7403
7154 module.exports = ChangeEventPlugin; 7404 module.exports = ChangeEventPlugin;
7155 7405
7156/***/ }, 7406/***/ }),
7157/* 58 */ 7407/* 62 */
7158/***/ function(module, exports, __webpack_require__) { 7408/***/ (function(module, exports, __webpack_require__) {
7159 7409
7160 /* WEBPACK VAR INJECTION */(function(process) {/** 7410 /* WEBPACK VAR INJECTION */(function(process) {/**
7161 * Copyright 2013-present, Facebook, Inc. 7411 * Copyright 2013-present, Facebook, Inc.
@@ -7169,14 +7419,14 @@
7169 7419
7170 'use strict'; 7420 'use strict';
7171 7421
7172 var _prodInvariant = __webpack_require__(37), 7422 var _prodInvariant = __webpack_require__(41),
7173 _assign = __webpack_require__(6); 7423 _assign = __webpack_require__(6);
7174 7424
7175 var CallbackQueue = __webpack_require__(59); 7425 var CallbackQueue = __webpack_require__(63);
7176 var PooledClass = __webpack_require__(52); 7426 var PooledClass = __webpack_require__(56);
7177 var ReactFeatureFlags = __webpack_require__(60); 7427 var ReactFeatureFlags = __webpack_require__(64);
7178 var ReactReconciler = __webpack_require__(61); 7428 var ReactReconciler = __webpack_require__(65);
7179 var Transaction = __webpack_require__(70); 7429 var Transaction = __webpack_require__(74);
7180 7430
7181 var invariant = __webpack_require__(10); 7431 var invariant = __webpack_require__(10);
7182 7432
@@ -7409,9 +7659,9 @@
7409 module.exports = ReactUpdates; 7659 module.exports = ReactUpdates;
7410 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 7660 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7411 7661
7412/***/ }, 7662/***/ }),
7413/* 59 */ 7663/* 63 */
7414/***/ function(module, exports, __webpack_require__) { 7664/***/ (function(module, exports, __webpack_require__) {
7415 7665
7416 /* WEBPACK VAR INJECTION */(function(process) {/** 7666 /* WEBPACK VAR INJECTION */(function(process) {/**
7417 * Copyright 2013-present, Facebook, Inc. 7667 * Copyright 2013-present, Facebook, Inc.
@@ -7426,11 +7676,11 @@
7426 7676
7427 'use strict'; 7677 'use strict';
7428 7678
7429 var _prodInvariant = __webpack_require__(37); 7679 var _prodInvariant = __webpack_require__(41);
7430 7680
7431 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 7681 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7432 7682
7433 var PooledClass = __webpack_require__(52); 7683 var PooledClass = __webpack_require__(56);
7434 7684
7435 var invariant = __webpack_require__(10); 7685 var invariant = __webpack_require__(10);
7436 7686
@@ -7533,9 +7783,9 @@
7533 module.exports = PooledClass.addPoolingTo(CallbackQueue); 7783 module.exports = PooledClass.addPoolingTo(CallbackQueue);
7534 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 7784 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7535 7785
7536/***/ }, 7786/***/ }),
7537/* 60 */ 7787/* 64 */
7538/***/ function(module, exports) { 7788/***/ (function(module, exports) {
7539 7789
7540 /** 7790 /**
7541 * Copyright 2013-present, Facebook, Inc. 7791 * Copyright 2013-present, Facebook, Inc.
@@ -7559,9 +7809,9 @@
7559 7809
7560 module.exports = ReactFeatureFlags; 7810 module.exports = ReactFeatureFlags;
7561 7811
7562/***/ }, 7812/***/ }),
7563/* 61 */ 7813/* 65 */
7564/***/ function(module, exports, __webpack_require__) { 7814/***/ (function(module, exports, __webpack_require__) {
7565 7815
7566 /* WEBPACK VAR INJECTION */(function(process) {/** 7816 /* WEBPACK VAR INJECTION */(function(process) {/**
7567 * Copyright 2013-present, Facebook, Inc. 7817 * Copyright 2013-present, Facebook, Inc.
@@ -7575,8 +7825,8 @@
7575 7825
7576 'use strict'; 7826 'use strict';
7577 7827
7578 var ReactRef = __webpack_require__(62); 7828 var ReactRef = __webpack_require__(66);
7579 var ReactInstrumentation = __webpack_require__(64); 7829 var ReactInstrumentation = __webpack_require__(68);
7580 7830
7581 var warning = __webpack_require__(13); 7831 var warning = __webpack_require__(13);
7582 7832
@@ -7732,9 +7982,9 @@
7732 module.exports = ReactReconciler; 7982 module.exports = ReactReconciler;
7733 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 7983 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7734 7984
7735/***/ }, 7985/***/ }),
7736/* 62 */ 7986/* 66 */
7737/***/ function(module, exports, __webpack_require__) { 7987/***/ (function(module, exports, __webpack_require__) {
7738 7988
7739 /** 7989 /**
7740 * Copyright 2013-present, Facebook, Inc. 7990 * Copyright 2013-present, Facebook, Inc.
@@ -7749,7 +7999,7 @@
7749 7999
7750 'use strict'; 8000 'use strict';
7751 8001
7752 var ReactOwner = __webpack_require__(63); 8002 var ReactOwner = __webpack_require__(67);
7753 8003
7754 var ReactRef = {}; 8004 var ReactRef = {};
7755 8005
@@ -7825,9 +8075,9 @@
7825 8075
7826 module.exports = ReactRef; 8076 module.exports = ReactRef;
7827 8077
7828/***/ }, 8078/***/ }),
7829/* 63 */ 8079/* 67 */
7830/***/ function(module, exports, __webpack_require__) { 8080/***/ (function(module, exports, __webpack_require__) {
7831 8081
7832 /* WEBPACK VAR INJECTION */(function(process) {/** 8082 /* WEBPACK VAR INJECTION */(function(process) {/**
7833 * Copyright 2013-present, Facebook, Inc. 8083 * Copyright 2013-present, Facebook, Inc.
@@ -7842,7 +8092,7 @@
7842 8092
7843 'use strict'; 8093 'use strict';
7844 8094
7845 var _prodInvariant = __webpack_require__(37); 8095 var _prodInvariant = __webpack_require__(41);
7846 8096
7847 var invariant = __webpack_require__(10); 8097 var invariant = __webpack_require__(10);
7848 8098
@@ -7924,9 +8174,9 @@
7924 module.exports = ReactOwner; 8174 module.exports = ReactOwner;
7925 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 8175 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7926 8176
7927/***/ }, 8177/***/ }),
7928/* 64 */ 8178/* 68 */
7929/***/ function(module, exports, __webpack_require__) { 8179/***/ (function(module, exports, __webpack_require__) {
7930 8180
7931 /* WEBPACK VAR INJECTION */(function(process) {/** 8181 /* WEBPACK VAR INJECTION */(function(process) {/**
7932 * Copyright 2016-present, Facebook, Inc. 8182 * Copyright 2016-present, Facebook, Inc.
@@ -7946,16 +8196,16 @@
7946 var debugTool = null; 8196 var debugTool = null;
7947 8197
7948 if (process.env.NODE_ENV !== 'production') { 8198 if (process.env.NODE_ENV !== 'production') {
7949 var ReactDebugTool = __webpack_require__(65); 8199 var ReactDebugTool = __webpack_require__(69);
7950 debugTool = ReactDebugTool; 8200 debugTool = ReactDebugTool;
7951 } 8201 }
7952 8202
7953 module.exports = { debugTool: debugTool }; 8203 module.exports = { debugTool: debugTool };
7954 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 8204 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7955 8205
7956/***/ }, 8206/***/ }),
7957/* 65 */ 8207/* 69 */
7958/***/ function(module, exports, __webpack_require__) { 8208/***/ (function(module, exports, __webpack_require__) {
7959 8209
7960 /* WEBPACK VAR INJECTION */(function(process) {/** 8210 /* WEBPACK VAR INJECTION */(function(process) {/**
7961 * Copyright 2016-present, Facebook, Inc. 8211 * Copyright 2016-present, Facebook, Inc.
@@ -7970,12 +8220,12 @@
7970 8220
7971 'use strict'; 8221 'use strict';
7972 8222
7973 var ReactInvalidSetStateWarningHook = __webpack_require__(66); 8223 var ReactInvalidSetStateWarningHook = __webpack_require__(70);
7974 var ReactHostOperationHistoryHook = __webpack_require__(67); 8224 var ReactHostOperationHistoryHook = __webpack_require__(71);
7975 var ReactComponentTreeHook = __webpack_require__(28); 8225 var ReactComponentTreeHook = __webpack_require__(28);
7976 var ExecutionEnvironment = __webpack_require__(50); 8226 var ExecutionEnvironment = __webpack_require__(54);
7977 8227
7978 var performanceNow = __webpack_require__(68); 8228 var performanceNow = __webpack_require__(72);
7979 var warning = __webpack_require__(13); 8229 var warning = __webpack_require__(13);
7980 8230
7981 var hooks = []; 8231 var hooks = [];
@@ -8137,9 +8387,7 @@
8137 } 8387 }
8138 8388
8139 var lastMarkTimeStamp = 0; 8389 var lastMarkTimeStamp = 0;
8140 var canUsePerformanceMeasure = 8390 var canUsePerformanceMeasure = typeof performance !== 'undefined' && typeof performance.mark === 'function' && typeof performance.clearMarks === 'function' && typeof performance.measure === 'function' && typeof performance.clearMeasures === 'function';
8141 // $FlowFixMe https://github.com/facebook/flow/issues/2345
8142 typeof performance !== 'undefined' && typeof performance.mark === 'function' && typeof performance.clearMarks === 'function' && typeof performance.measure === 'function' && typeof performance.clearMeasures === 'function';
8143 8391
8144 function shouldMark(debugID) { 8392 function shouldMark(debugID) {
8145 if (!isProfiling || !canUsePerformanceMeasure) { 8393 if (!isProfiling || !canUsePerformanceMeasure) {
@@ -8319,9 +8567,9 @@
8319 module.exports = ReactDebugTool; 8567 module.exports = ReactDebugTool;
8320 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 8568 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
8321 8569
8322/***/ }, 8570/***/ }),
8323/* 66 */ 8571/* 70 */
8324/***/ function(module, exports, __webpack_require__) { 8572/***/ (function(module, exports, __webpack_require__) {
8325 8573
8326 /* WEBPACK VAR INJECTION */(function(process) {/** 8574 /* WEBPACK VAR INJECTION */(function(process) {/**
8327 * Copyright 2016-present, Facebook, Inc. 8575 * Copyright 2016-present, Facebook, Inc.
@@ -8361,9 +8609,9 @@
8361 module.exports = ReactInvalidSetStateWarningHook; 8609 module.exports = ReactInvalidSetStateWarningHook;
8362 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 8610 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
8363 8611
8364/***/ }, 8612/***/ }),
8365/* 67 */ 8613/* 71 */
8366/***/ function(module, exports) { 8614/***/ (function(module, exports) {
8367 8615
8368 /** 8616 /**
8369 * Copyright 2016-present, Facebook, Inc. 8617 * Copyright 2016-present, Facebook, Inc.
@@ -8399,9 +8647,9 @@
8399 8647
8400 module.exports = ReactHostOperationHistoryHook; 8648 module.exports = ReactHostOperationHistoryHook;
8401 8649
8402/***/ }, 8650/***/ }),
8403/* 68 */ 8651/* 72 */
8404/***/ function(module, exports, __webpack_require__) { 8652/***/ (function(module, exports, __webpack_require__) {
8405 8653
8406 'use strict'; 8654 'use strict';
8407 8655
@@ -8416,7 +8664,7 @@
8416 * @typechecks 8664 * @typechecks
8417 */ 8665 */
8418 8666
8419 var performance = __webpack_require__(69); 8667 var performance = __webpack_require__(73);
8420 8668
8421 var performanceNow; 8669 var performanceNow;
8422 8670
@@ -8437,9 +8685,9 @@
8437 8685
8438 module.exports = performanceNow; 8686 module.exports = performanceNow;
8439 8687
8440/***/ }, 8688/***/ }),
8441/* 69 */ 8689/* 73 */
8442/***/ function(module, exports, __webpack_require__) { 8690/***/ (function(module, exports, __webpack_require__) {
8443 8691
8444 /** 8692 /**
8445 * Copyright (c) 2013-present, Facebook, Inc. 8693 * Copyright (c) 2013-present, Facebook, Inc.
@@ -8454,7 +8702,7 @@
8454 8702
8455 'use strict'; 8703 'use strict';
8456 8704
8457 var ExecutionEnvironment = __webpack_require__(50); 8705 var ExecutionEnvironment = __webpack_require__(54);
8458 8706
8459 var performance; 8707 var performance;
8460 8708
@@ -8464,9 +8712,9 @@
8464 8712
8465 module.exports = performance || {}; 8713 module.exports = performance || {};
8466 8714
8467/***/ }, 8715/***/ }),
8468/* 70 */ 8716/* 74 */
8469/***/ function(module, exports, __webpack_require__) { 8717/***/ (function(module, exports, __webpack_require__) {
8470 8718
8471 /* WEBPACK VAR INJECTION */(function(process) {/** 8719 /* WEBPACK VAR INJECTION */(function(process) {/**
8472 * Copyright 2013-present, Facebook, Inc. 8720 * Copyright 2013-present, Facebook, Inc.
@@ -8481,7 +8729,7 @@
8481 8729
8482 'use strict'; 8730 'use strict';
8483 8731
8484 var _prodInvariant = __webpack_require__(37); 8732 var _prodInvariant = __webpack_require__(41);
8485 8733
8486 var invariant = __webpack_require__(10); 8734 var invariant = __webpack_require__(10);
8487 8735
@@ -8694,9 +8942,9 @@
8694 module.exports = TransactionImpl; 8942 module.exports = TransactionImpl;
8695 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 8943 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
8696 8944
8697/***/ }, 8945/***/ }),
8698/* 71 */ 8946/* 75 */
8699/***/ function(module, exports) { 8947/***/ (function(module, exports) {
8700 8948
8701 /** 8949 /**
8702 * Copyright 2013-present, Facebook, Inc. 8950 * Copyright 2013-present, Facebook, Inc.
@@ -8733,9 +8981,9 @@
8733 8981
8734 module.exports = getEventTarget; 8982 module.exports = getEventTarget;
8735 8983
8736/***/ }, 8984/***/ }),
8737/* 72 */ 8985/* 76 */
8738/***/ function(module, exports, __webpack_require__) { 8986/***/ (function(module, exports, __webpack_require__) {
8739 8987
8740 /** 8988 /**
8741 * Copyright 2013-present, Facebook, Inc. 8989 * Copyright 2013-present, Facebook, Inc.
@@ -8749,7 +8997,7 @@
8749 8997
8750 'use strict'; 8998 'use strict';
8751 8999
8752 var ExecutionEnvironment = __webpack_require__(50); 9000 var ExecutionEnvironment = __webpack_require__(54);
8753 9001
8754 var useHasFeature; 9002 var useHasFeature;
8755 if (ExecutionEnvironment.canUseDOM) { 9003 if (ExecutionEnvironment.canUseDOM) {
@@ -8797,9 +9045,9 @@
8797 9045
8798 module.exports = isEventSupported; 9046 module.exports = isEventSupported;
8799 9047
8800/***/ }, 9048/***/ }),
8801/* 73 */ 9049/* 77 */
8802/***/ function(module, exports) { 9050/***/ (function(module, exports) {
8803 9051
8804 /** 9052 /**
8805 * Copyright 2013-present, Facebook, Inc. 9053 * Copyright 2013-present, Facebook, Inc.
@@ -8852,9 +9100,9 @@
8852 9100
8853 module.exports = isTextInputElement; 9101 module.exports = isTextInputElement;
8854 9102
8855/***/ }, 9103/***/ }),
8856/* 74 */ 9104/* 78 */
8857/***/ function(module, exports) { 9105/***/ (function(module, exports) {
8858 9106
8859 /** 9107 /**
8860 * Copyright 2013-present, Facebook, Inc. 9108 * Copyright 2013-present, Facebook, Inc.
@@ -8882,9 +9130,9 @@
8882 9130
8883 module.exports = DefaultEventPluginOrder; 9131 module.exports = DefaultEventPluginOrder;
8884 9132
8885/***/ }, 9133/***/ }),
8886/* 75 */ 9134/* 79 */
8887/***/ function(module, exports, __webpack_require__) { 9135/***/ (function(module, exports, __webpack_require__) {
8888 9136
8889 /** 9137 /**
8890 * Copyright 2013-present, Facebook, Inc. 9138 * Copyright 2013-present, Facebook, Inc.
@@ -8898,9 +9146,9 @@
8898 9146
8899 'use strict'; 9147 'use strict';
8900 9148
8901 var EventPropagators = __webpack_require__(43); 9149 var EventPropagators = __webpack_require__(47);
8902 var ReactDOMComponentTree = __webpack_require__(36); 9150 var ReactDOMComponentTree = __webpack_require__(40);
8903 var SyntheticMouseEvent = __webpack_require__(76); 9151 var SyntheticMouseEvent = __webpack_require__(80);
8904 9152
8905 var eventTypes = { 9153 var eventTypes = {
8906 mouseEnter: { 9154 mouseEnter: {
@@ -8986,9 +9234,9 @@
8986 9234
8987 module.exports = EnterLeaveEventPlugin; 9235 module.exports = EnterLeaveEventPlugin;
8988 9236
8989/***/ }, 9237/***/ }),
8990/* 76 */ 9238/* 80 */
8991/***/ function(module, exports, __webpack_require__) { 9239/***/ (function(module, exports, __webpack_require__) {
8992 9240
8993 /** 9241 /**
8994 * Copyright 2013-present, Facebook, Inc. 9242 * Copyright 2013-present, Facebook, Inc.
@@ -9002,10 +9250,10 @@
9002 9250
9003 'use strict'; 9251 'use strict';
9004 9252
9005 var SyntheticUIEvent = __webpack_require__(77); 9253 var SyntheticUIEvent = __webpack_require__(81);
9006 var ViewportMetrics = __webpack_require__(78); 9254 var ViewportMetrics = __webpack_require__(82);
9007 9255
9008 var getEventModifierState = __webpack_require__(79); 9256 var getEventModifierState = __webpack_require__(83);
9009 9257
9010 /** 9258 /**
9011 * @interface MouseEvent 9259 * @interface MouseEvent
@@ -9062,9 +9310,9 @@
9062 9310
9063 module.exports = SyntheticMouseEvent; 9311 module.exports = SyntheticMouseEvent;
9064 9312
9065/***/ }, 9313/***/ }),
9066/* 77 */ 9314/* 81 */
9067/***/ function(module, exports, __webpack_require__) { 9315/***/ (function(module, exports, __webpack_require__) {
9068 9316
9069 /** 9317 /**
9070 * Copyright 2013-present, Facebook, Inc. 9318 * Copyright 2013-present, Facebook, Inc.
@@ -9078,9 +9326,9 @@
9078 9326
9079 'use strict'; 9327 'use strict';
9080 9328
9081 var SyntheticEvent = __webpack_require__(55); 9329 var SyntheticEvent = __webpack_require__(59);
9082 9330
9083 var getEventTarget = __webpack_require__(71); 9331 var getEventTarget = __webpack_require__(75);
9084 9332
9085 /** 9333 /**
9086 * @interface UIEvent 9334 * @interface UIEvent
@@ -9125,9 +9373,9 @@
9125 9373
9126 module.exports = SyntheticUIEvent; 9374 module.exports = SyntheticUIEvent;
9127 9375
9128/***/ }, 9376/***/ }),
9129/* 78 */ 9377/* 82 */
9130/***/ function(module, exports) { 9378/***/ (function(module, exports) {
9131 9379
9132 /** 9380 /**
9133 * Copyright 2013-present, Facebook, Inc. 9381 * Copyright 2013-present, Facebook, Inc.
@@ -9156,9 +9404,9 @@
9156 9404
9157 module.exports = ViewportMetrics; 9405 module.exports = ViewportMetrics;
9158 9406
9159/***/ }, 9407/***/ }),
9160/* 79 */ 9408/* 83 */
9161/***/ function(module, exports) { 9409/***/ (function(module, exports) {
9162 9410
9163 /** 9411 /**
9164 * Copyright 2013-present, Facebook, Inc. 9412 * Copyright 2013-present, Facebook, Inc.
@@ -9203,9 +9451,9 @@
9203 9451
9204 module.exports = getEventModifierState; 9452 module.exports = getEventModifierState;
9205 9453
9206/***/ }, 9454/***/ }),
9207/* 80 */ 9455/* 84 */
9208/***/ function(module, exports, __webpack_require__) { 9456/***/ (function(module, exports, __webpack_require__) {
9209 9457
9210 /** 9458 /**
9211 * Copyright 2013-present, Facebook, Inc. 9459 * Copyright 2013-present, Facebook, Inc.
@@ -9219,7 +9467,7 @@
9219 9467
9220 'use strict'; 9468 'use strict';
9221 9469
9222 var DOMProperty = __webpack_require__(38); 9470 var DOMProperty = __webpack_require__(42);
9223 9471
9224 var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY; 9472 var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;
9225 var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE; 9473 var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;
@@ -9414,14 +9662,38 @@
9414 htmlFor: 'for', 9662 htmlFor: 'for',
9415 httpEquiv: 'http-equiv' 9663 httpEquiv: 'http-equiv'
9416 }, 9664 },
9417 DOMPropertyNames: {} 9665 DOMPropertyNames: {},
9666 DOMMutationMethods: {
9667 value: function (node, value) {
9668 if (value == null) {
9669 return node.removeAttribute('value');
9670 }
9671
9672 // Number inputs get special treatment due to some edge cases in
9673 // Chrome. Let everything else assign the value attribute as normal.
9674 // https://github.com/facebook/react/issues/7253#issuecomment-236074326
9675 if (node.type !== 'number' || node.hasAttribute('value') === false) {
9676 node.setAttribute('value', '' + value);
9677 } else if (node.validity && !node.validity.badInput && node.ownerDocument.activeElement !== node) {
9678 // Don't assign an attribute if validation reports bad
9679 // input. Chrome will clear the value. Additionally, don't
9680 // operate on inputs that have focus, otherwise Chrome might
9681 // strip off trailing decimal places and cause the user's
9682 // cursor position to jump to the beginning of the input.
9683 //
9684 // In ReactDOMInput, we have an onBlur event that will trigger
9685 // this function again when focus is lost.
9686 node.setAttribute('value', '' + value);
9687 }
9688 }
9689 }
9418 }; 9690 };
9419 9691
9420 module.exports = HTMLDOMPropertyConfig; 9692 module.exports = HTMLDOMPropertyConfig;
9421 9693
9422/***/ }, 9694/***/ }),
9423/* 81 */ 9695/* 85 */
9424/***/ function(module, exports, __webpack_require__) { 9696/***/ (function(module, exports, __webpack_require__) {
9425 9697
9426 /** 9698 /**
9427 * Copyright 2013-present, Facebook, Inc. 9699 * Copyright 2013-present, Facebook, Inc.
@@ -9435,8 +9707,8 @@
9435 9707
9436 'use strict'; 9708 'use strict';
9437 9709
9438 var DOMChildrenOperations = __webpack_require__(82); 9710 var DOMChildrenOperations = __webpack_require__(86);
9439 var ReactDOMIDOperations = __webpack_require__(93); 9711 var ReactDOMIDOperations = __webpack_require__(97);
9440 9712
9441 /** 9713 /**
9442 * Abstracts away all functionality of the reconciler that requires knowledge of 9714 * Abstracts away all functionality of the reconciler that requires knowledge of
@@ -9453,9 +9725,9 @@
9453 9725
9454 module.exports = ReactComponentBrowserEnvironment; 9726 module.exports = ReactComponentBrowserEnvironment;
9455 9727
9456/***/ }, 9728/***/ }),
9457/* 82 */ 9729/* 86 */
9458/***/ function(module, exports, __webpack_require__) { 9730/***/ (function(module, exports, __webpack_require__) {
9459 9731
9460 /* WEBPACK VAR INJECTION */(function(process) {/** 9732 /* WEBPACK VAR INJECTION */(function(process) {/**
9461 * Copyright 2013-present, Facebook, Inc. 9733 * Copyright 2013-present, Facebook, Inc.
@@ -9469,14 +9741,14 @@
9469 9741
9470 'use strict'; 9742 'use strict';
9471 9743
9472 var DOMLazyTree = __webpack_require__(83); 9744 var DOMLazyTree = __webpack_require__(87);
9473 var Danger = __webpack_require__(89); 9745 var Danger = __webpack_require__(93);
9474 var ReactDOMComponentTree = __webpack_require__(36); 9746 var ReactDOMComponentTree = __webpack_require__(40);
9475 var ReactInstrumentation = __webpack_require__(64); 9747 var ReactInstrumentation = __webpack_require__(68);
9476 9748
9477 var createMicrosoftUnsafeLocalFunction = __webpack_require__(86); 9749 var createMicrosoftUnsafeLocalFunction = __webpack_require__(90);
9478 var setInnerHTML = __webpack_require__(85); 9750 var setInnerHTML = __webpack_require__(89);
9479 var setTextContent = __webpack_require__(87); 9751 var setTextContent = __webpack_require__(91);
9480 9752
9481 function getNodeAfter(parentNode, node) { 9753 function getNodeAfter(parentNode, node) {
9482 // Special case for text components, which return [open, close] comments 9754 // Special case for text components, which return [open, close] comments
@@ -9683,9 +9955,9 @@
9683 module.exports = DOMChildrenOperations; 9955 module.exports = DOMChildrenOperations;
9684 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 9956 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
9685 9957
9686/***/ }, 9958/***/ }),
9687/* 83 */ 9959/* 87 */
9688/***/ function(module, exports, __webpack_require__) { 9960/***/ (function(module, exports, __webpack_require__) {
9689 9961
9690 /** 9962 /**
9691 * Copyright 2015-present, Facebook, Inc. 9963 * Copyright 2015-present, Facebook, Inc.
@@ -9699,11 +9971,11 @@
9699 9971
9700 'use strict'; 9972 'use strict';
9701 9973
9702 var DOMNamespaces = __webpack_require__(84); 9974 var DOMNamespaces = __webpack_require__(88);
9703 var setInnerHTML = __webpack_require__(85); 9975 var setInnerHTML = __webpack_require__(89);
9704 9976
9705 var createMicrosoftUnsafeLocalFunction = __webpack_require__(86); 9977 var createMicrosoftUnsafeLocalFunction = __webpack_require__(90);
9706 var setTextContent = __webpack_require__(87); 9978 var setTextContent = __webpack_require__(91);
9707 9979
9708 var ELEMENT_NODE_TYPE = 1; 9980 var ELEMENT_NODE_TYPE = 1;
9709 var DOCUMENT_FRAGMENT_NODE_TYPE = 11; 9981 var DOCUMENT_FRAGMENT_NODE_TYPE = 11;
@@ -9805,9 +10077,9 @@
9805 10077
9806 module.exports = DOMLazyTree; 10078 module.exports = DOMLazyTree;
9807 10079
9808/***/ }, 10080/***/ }),
9809/* 84 */ 10081/* 88 */
9810/***/ function(module, exports) { 10082/***/ (function(module, exports) {
9811 10083
9812 /** 10084 /**
9813 * Copyright 2013-present, Facebook, Inc. 10085 * Copyright 2013-present, Facebook, Inc.
@@ -9829,9 +10101,9 @@
9829 10101
9830 module.exports = DOMNamespaces; 10102 module.exports = DOMNamespaces;
9831 10103
9832/***/ }, 10104/***/ }),
9833/* 85 */ 10105/* 89 */
9834/***/ function(module, exports, __webpack_require__) { 10106/***/ (function(module, exports, __webpack_require__) {
9835 10107
9836 /** 10108 /**
9837 * Copyright 2013-present, Facebook, Inc. 10109 * Copyright 2013-present, Facebook, Inc.
@@ -9845,13 +10117,13 @@
9845 10117
9846 'use strict'; 10118 'use strict';
9847 10119
9848 var ExecutionEnvironment = __webpack_require__(50); 10120 var ExecutionEnvironment = __webpack_require__(54);
9849 var DOMNamespaces = __webpack_require__(84); 10121 var DOMNamespaces = __webpack_require__(88);
9850 10122
9851 var WHITESPACE_TEST = /^[ \r\n\t\f]/; 10123 var WHITESPACE_TEST = /^[ \r\n\t\f]/;
9852 var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/; 10124 var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/;
9853 10125
9854 var createMicrosoftUnsafeLocalFunction = __webpack_require__(86); 10126 var createMicrosoftUnsafeLocalFunction = __webpack_require__(90);
9855 10127
9856 // SVG temp container for IE lacking innerHTML 10128 // SVG temp container for IE lacking innerHTML
9857 var reusableSVGContainer; 10129 var reusableSVGContainer;
@@ -9931,9 +10203,9 @@
9931 10203
9932 module.exports = setInnerHTML; 10204 module.exports = setInnerHTML;
9933 10205
9934/***/ }, 10206/***/ }),
9935/* 86 */ 10207/* 90 */
9936/***/ function(module, exports) { 10208/***/ (function(module, exports) {
9937 10209
9938 /** 10210 /**
9939 * Copyright 2013-present, Facebook, Inc. 10211 * Copyright 2013-present, Facebook, Inc.
@@ -9967,9 +10239,9 @@
9967 10239
9968 module.exports = createMicrosoftUnsafeLocalFunction; 10240 module.exports = createMicrosoftUnsafeLocalFunction;
9969 10241
9970/***/ }, 10242/***/ }),
9971/* 87 */ 10243/* 91 */
9972/***/ function(module, exports, __webpack_require__) { 10244/***/ (function(module, exports, __webpack_require__) {
9973 10245
9974 /** 10246 /**
9975 * Copyright 2013-present, Facebook, Inc. 10247 * Copyright 2013-present, Facebook, Inc.
@@ -9983,9 +10255,9 @@
9983 10255
9984 'use strict'; 10256 'use strict';
9985 10257
9986 var ExecutionEnvironment = __webpack_require__(50); 10258 var ExecutionEnvironment = __webpack_require__(54);
9987 var escapeTextContentForBrowser = __webpack_require__(88); 10259 var escapeTextContentForBrowser = __webpack_require__(92);
9988 var setInnerHTML = __webpack_require__(85); 10260 var setInnerHTML = __webpack_require__(89);
9989 10261
9990 /** 10262 /**
9991 * Set the textContent property of a node, ensuring that whitespace is preserved 10263 * Set the textContent property of a node, ensuring that whitespace is preserved
@@ -10023,9 +10295,9 @@
10023 10295
10024 module.exports = setTextContent; 10296 module.exports = setTextContent;
10025 10297
10026/***/ }, 10298/***/ }),
10027/* 88 */ 10299/* 92 */
10028/***/ function(module, exports) { 10300/***/ (function(module, exports) {
10029 10301
10030 /** 10302 /**
10031 * Copyright 2016-present, Facebook, Inc. 10303 * Copyright 2016-present, Facebook, Inc.
@@ -10150,9 +10422,9 @@
10150 10422
10151 module.exports = escapeTextContentForBrowser; 10423 module.exports = escapeTextContentForBrowser;
10152 10424
10153/***/ }, 10425/***/ }),
10154/* 89 */ 10426/* 93 */
10155/***/ function(module, exports, __webpack_require__) { 10427/***/ (function(module, exports, __webpack_require__) {
10156 10428
10157 /* WEBPACK VAR INJECTION */(function(process) {/** 10429 /* WEBPACK VAR INJECTION */(function(process) {/**
10158 * Copyright 2013-present, Facebook, Inc. 10430 * Copyright 2013-present, Facebook, Inc.
@@ -10166,12 +10438,12 @@
10166 10438
10167 'use strict'; 10439 'use strict';
10168 10440
10169 var _prodInvariant = __webpack_require__(37); 10441 var _prodInvariant = __webpack_require__(41);
10170 10442
10171 var DOMLazyTree = __webpack_require__(83); 10443 var DOMLazyTree = __webpack_require__(87);
10172 var ExecutionEnvironment = __webpack_require__(50); 10444 var ExecutionEnvironment = __webpack_require__(54);
10173 10445
10174 var createNodesFromMarkup = __webpack_require__(90); 10446 var createNodesFromMarkup = __webpack_require__(94);
10175 var emptyFunction = __webpack_require__(14); 10447 var emptyFunction = __webpack_require__(14);
10176 var invariant = __webpack_require__(10); 10448 var invariant = __webpack_require__(10);
10177 10449
@@ -10203,9 +10475,9 @@
10203 module.exports = Danger; 10475 module.exports = Danger;
10204 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 10476 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
10205 10477
10206/***/ }, 10478/***/ }),
10207/* 90 */ 10479/* 94 */
10208/***/ function(module, exports, __webpack_require__) { 10480/***/ (function(module, exports, __webpack_require__) {
10209 10481
10210 /* WEBPACK VAR INJECTION */(function(process) {'use strict'; 10482 /* WEBPACK VAR INJECTION */(function(process) {'use strict';
10211 10483
@@ -10222,10 +10494,10 @@
10222 10494
10223 /*eslint-disable fb-www/unsafe-html*/ 10495 /*eslint-disable fb-www/unsafe-html*/
10224 10496
10225 var ExecutionEnvironment = __webpack_require__(50); 10497 var ExecutionEnvironment = __webpack_require__(54);
10226 10498
10227 var createArrayFromMixed = __webpack_require__(91); 10499 var createArrayFromMixed = __webpack_require__(95);
10228 var getMarkupWrap = __webpack_require__(92); 10500 var getMarkupWrap = __webpack_require__(96);
10229 var invariant = __webpack_require__(10); 10501 var invariant = __webpack_require__(10);
10230 10502
10231 /** 10503 /**
@@ -10292,9 +10564,9 @@
10292 module.exports = createNodesFromMarkup; 10564 module.exports = createNodesFromMarkup;
10293 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 10565 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
10294 10566
10295/***/ }, 10567/***/ }),
10296/* 91 */ 10568/* 95 */
10297/***/ function(module, exports, __webpack_require__) { 10569/***/ (function(module, exports, __webpack_require__) {
10298 10570
10299 /* WEBPACK VAR INJECTION */(function(process) {'use strict'; 10571 /* WEBPACK VAR INJECTION */(function(process) {'use strict';
10300 10572
@@ -10424,9 +10696,9 @@
10424 module.exports = createArrayFromMixed; 10696 module.exports = createArrayFromMixed;
10425 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 10697 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
10426 10698
10427/***/ }, 10699/***/ }),
10428/* 92 */ 10700/* 96 */
10429/***/ function(module, exports, __webpack_require__) { 10701/***/ (function(module, exports, __webpack_require__) {
10430 10702
10431 /* WEBPACK VAR INJECTION */(function(process) {'use strict'; 10703 /* WEBPACK VAR INJECTION */(function(process) {'use strict';
10432 10704
@@ -10442,7 +10714,7 @@
10442 10714
10443 /*eslint-disable fb-www/unsafe-html */ 10715 /*eslint-disable fb-www/unsafe-html */
10444 10716
10445 var ExecutionEnvironment = __webpack_require__(50); 10717 var ExecutionEnvironment = __webpack_require__(54);
10446 10718
10447 var invariant = __webpack_require__(10); 10719 var invariant = __webpack_require__(10);
10448 10720
@@ -10524,9 +10796,9 @@
10524 module.exports = getMarkupWrap; 10796 module.exports = getMarkupWrap;
10525 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 10797 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
10526 10798
10527/***/ }, 10799/***/ }),
10528/* 93 */ 10800/* 97 */
10529/***/ function(module, exports, __webpack_require__) { 10801/***/ (function(module, exports, __webpack_require__) {
10530 10802
10531 /** 10803 /**
10532 * Copyright 2013-present, Facebook, Inc. 10804 * Copyright 2013-present, Facebook, Inc.
@@ -10540,8 +10812,8 @@
10540 10812
10541 'use strict'; 10813 'use strict';
10542 10814
10543 var DOMChildrenOperations = __webpack_require__(82); 10815 var DOMChildrenOperations = __webpack_require__(86);
10544 var ReactDOMComponentTree = __webpack_require__(36); 10816 var ReactDOMComponentTree = __webpack_require__(40);
10545 10817
10546 /** 10818 /**
10547 * Operations used to process updates to DOM nodes. 10819 * Operations used to process updates to DOM nodes.
@@ -10562,9 +10834,9 @@
10562 10834
10563 module.exports = ReactDOMIDOperations; 10835 module.exports = ReactDOMIDOperations;
10564 10836
10565/***/ }, 10837/***/ }),
10566/* 94 */ 10838/* 98 */
10567/***/ function(module, exports, __webpack_require__) { 10839/***/ (function(module, exports, __webpack_require__) {
10568 10840
10569 /* WEBPACK VAR INJECTION */(function(process) {/** 10841 /* WEBPACK VAR INJECTION */(function(process) {/**
10570 * Copyright 2013-present, Facebook, Inc. 10842 * Copyright 2013-present, Facebook, Inc.
@@ -10580,34 +10852,34 @@
10580 10852
10581 'use strict'; 10853 'use strict';
10582 10854
10583 var _prodInvariant = __webpack_require__(37), 10855 var _prodInvariant = __webpack_require__(41),
10584 _assign = __webpack_require__(6); 10856 _assign = __webpack_require__(6);
10585 10857
10586 var AutoFocusUtils = __webpack_require__(95); 10858 var AutoFocusUtils = __webpack_require__(99);
10587 var CSSPropertyOperations = __webpack_require__(97); 10859 var CSSPropertyOperations = __webpack_require__(101);
10588 var DOMLazyTree = __webpack_require__(83); 10860 var DOMLazyTree = __webpack_require__(87);
10589 var DOMNamespaces = __webpack_require__(84); 10861 var DOMNamespaces = __webpack_require__(88);
10590 var DOMProperty = __webpack_require__(38); 10862 var DOMProperty = __webpack_require__(42);
10591 var DOMPropertyOperations = __webpack_require__(105); 10863 var DOMPropertyOperations = __webpack_require__(109);
10592 var EventPluginHub = __webpack_require__(44); 10864 var EventPluginHub = __webpack_require__(48);
10593 var EventPluginRegistry = __webpack_require__(45); 10865 var EventPluginRegistry = __webpack_require__(49);
10594 var ReactBrowserEventEmitter = __webpack_require__(107); 10866 var ReactBrowserEventEmitter = __webpack_require__(111);
10595 var ReactDOMComponentFlags = __webpack_require__(39); 10867 var ReactDOMComponentFlags = __webpack_require__(43);
10596 var ReactDOMComponentTree = __webpack_require__(36); 10868 var ReactDOMComponentTree = __webpack_require__(40);
10597 var ReactDOMInput = __webpack_require__(110); 10869 var ReactDOMInput = __webpack_require__(114);
10598 var ReactDOMOption = __webpack_require__(113); 10870 var ReactDOMOption = __webpack_require__(117);
10599 var ReactDOMSelect = __webpack_require__(114); 10871 var ReactDOMSelect = __webpack_require__(118);
10600 var ReactDOMTextarea = __webpack_require__(115); 10872 var ReactDOMTextarea = __webpack_require__(119);
10601 var ReactInstrumentation = __webpack_require__(64); 10873 var ReactInstrumentation = __webpack_require__(68);
10602 var ReactMultiChild = __webpack_require__(116); 10874 var ReactMultiChild = __webpack_require__(120);
10603 var ReactServerRenderingTransaction = __webpack_require__(135); 10875 var ReactServerRenderingTransaction = __webpack_require__(139);
10604 10876
10605 var emptyFunction = __webpack_require__(14); 10877 var emptyFunction = __webpack_require__(14);
10606 var escapeTextContentForBrowser = __webpack_require__(88); 10878 var escapeTextContentForBrowser = __webpack_require__(92);
10607 var invariant = __webpack_require__(10); 10879 var invariant = __webpack_require__(10);
10608 var isEventSupported = __webpack_require__(72); 10880 var isEventSupported = __webpack_require__(76);
10609 var shallowEqual = __webpack_require__(125); 10881 var shallowEqual = __webpack_require__(129);
10610 var validateDOMNesting = __webpack_require__(138); 10882 var validateDOMNesting = __webpack_require__(142);
10611 var warning = __webpack_require__(13); 10883 var warning = __webpack_require__(13);
10612 10884
10613 var Flags = ReactDOMComponentFlags; 10885 var Flags = ReactDOMComponentFlags;
@@ -11568,9 +11840,9 @@
11568 module.exports = ReactDOMComponent; 11840 module.exports = ReactDOMComponent;
11569 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 11841 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
11570 11842
11571/***/ }, 11843/***/ }),
11572/* 95 */ 11844/* 99 */
11573/***/ function(module, exports, __webpack_require__) { 11845/***/ (function(module, exports, __webpack_require__) {
11574 11846
11575 /** 11847 /**
11576 * Copyright 2013-present, Facebook, Inc. 11848 * Copyright 2013-present, Facebook, Inc.
@@ -11584,9 +11856,9 @@
11584 11856
11585 'use strict'; 11857 'use strict';
11586 11858
11587 var ReactDOMComponentTree = __webpack_require__(36); 11859 var ReactDOMComponentTree = __webpack_require__(40);
11588 11860
11589 var focusNode = __webpack_require__(96); 11861 var focusNode = __webpack_require__(100);
11590 11862
11591 var AutoFocusUtils = { 11863 var AutoFocusUtils = {
11592 focusDOMComponent: function () { 11864 focusDOMComponent: function () {
@@ -11596,9 +11868,9 @@
11596 11868
11597 module.exports = AutoFocusUtils; 11869 module.exports = AutoFocusUtils;
11598 11870
11599/***/ }, 11871/***/ }),
11600/* 96 */ 11872/* 100 */
11601/***/ function(module, exports) { 11873/***/ (function(module, exports) {
11602 11874
11603 /** 11875 /**
11604 * Copyright (c) 2013-present, Facebook, Inc. 11876 * Copyright (c) 2013-present, Facebook, Inc.
@@ -11627,9 +11899,9 @@
11627 11899
11628 module.exports = focusNode; 11900 module.exports = focusNode;
11629 11901
11630/***/ }, 11902/***/ }),
11631/* 97 */ 11903/* 101 */
11632/***/ function(module, exports, __webpack_require__) { 11904/***/ (function(module, exports, __webpack_require__) {
11633 11905
11634 /* WEBPACK VAR INJECTION */(function(process) {/** 11906 /* WEBPACK VAR INJECTION */(function(process) {/**
11635 * Copyright 2013-present, Facebook, Inc. 11907 * Copyright 2013-present, Facebook, Inc.
@@ -11643,14 +11915,14 @@
11643 11915
11644 'use strict'; 11916 'use strict';
11645 11917
11646 var CSSProperty = __webpack_require__(98); 11918 var CSSProperty = __webpack_require__(102);
11647 var ExecutionEnvironment = __webpack_require__(50); 11919 var ExecutionEnvironment = __webpack_require__(54);
11648 var ReactInstrumentation = __webpack_require__(64); 11920 var ReactInstrumentation = __webpack_require__(68);
11649 11921
11650 var camelizeStyleName = __webpack_require__(99); 11922 var camelizeStyleName = __webpack_require__(103);
11651 var dangerousStyleValue = __webpack_require__(101); 11923 var dangerousStyleValue = __webpack_require__(105);
11652 var hyphenateStyleName = __webpack_require__(102); 11924 var hyphenateStyleName = __webpack_require__(106);
11653 var memoizeStringOnly = __webpack_require__(104); 11925 var memoizeStringOnly = __webpack_require__(108);
11654 var warning = __webpack_require__(13); 11926 var warning = __webpack_require__(13);
11655 11927
11656 var processStyleName = memoizeStringOnly(function (styleName) { 11928 var processStyleName = memoizeStringOnly(function (styleName) {
@@ -11841,9 +12113,9 @@
11841 module.exports = CSSPropertyOperations; 12113 module.exports = CSSPropertyOperations;
11842 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 12114 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
11843 12115
11844/***/ }, 12116/***/ }),
11845/* 98 */ 12117/* 102 */
11846/***/ function(module, exports) { 12118/***/ (function(module, exports) {
11847 12119
11848 /** 12120 /**
11849 * Copyright 2013-present, Facebook, Inc. 12121 * Copyright 2013-present, Facebook, Inc.
@@ -11993,9 +12265,9 @@
11993 12265
11994 module.exports = CSSProperty; 12266 module.exports = CSSProperty;
11995 12267
11996/***/ }, 12268/***/ }),
11997/* 99 */ 12269/* 103 */
11998/***/ function(module, exports, __webpack_require__) { 12270/***/ (function(module, exports, __webpack_require__) {
11999 12271
12000 /** 12272 /**
12001 * Copyright (c) 2013-present, Facebook, Inc. 12273 * Copyright (c) 2013-present, Facebook, Inc.
@@ -12010,7 +12282,7 @@
12010 12282
12011 'use strict'; 12283 'use strict';
12012 12284
12013 var camelize = __webpack_require__(100); 12285 var camelize = __webpack_require__(104);
12014 12286
12015 var msPattern = /^-ms-/; 12287 var msPattern = /^-ms-/;
12016 12288
@@ -12037,9 +12309,9 @@
12037 12309
12038 module.exports = camelizeStyleName; 12310 module.exports = camelizeStyleName;
12039 12311
12040/***/ }, 12312/***/ }),
12041/* 100 */ 12313/* 104 */
12042/***/ function(module, exports) { 12314/***/ (function(module, exports) {
12043 12315
12044 "use strict"; 12316 "use strict";
12045 12317
@@ -12073,9 +12345,9 @@
12073 12345
12074 module.exports = camelize; 12346 module.exports = camelize;
12075 12347
12076/***/ }, 12348/***/ }),
12077/* 101 */ 12349/* 105 */
12078/***/ function(module, exports, __webpack_require__) { 12350/***/ (function(module, exports, __webpack_require__) {
12079 12351
12080 /* WEBPACK VAR INJECTION */(function(process) {/** 12352 /* WEBPACK VAR INJECTION */(function(process) {/**
12081 * Copyright 2013-present, Facebook, Inc. 12353 * Copyright 2013-present, Facebook, Inc.
@@ -12089,7 +12361,7 @@
12089 12361
12090 'use strict'; 12362 'use strict';
12091 12363
12092 var CSSProperty = __webpack_require__(98); 12364 var CSSProperty = __webpack_require__(102);
12093 var warning = __webpack_require__(13); 12365 var warning = __webpack_require__(13);
12094 12366
12095 var isUnitlessNumber = CSSProperty.isUnitlessNumber; 12367 var isUnitlessNumber = CSSProperty.isUnitlessNumber;
@@ -12157,9 +12429,9 @@
12157 module.exports = dangerousStyleValue; 12429 module.exports = dangerousStyleValue;
12158 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 12430 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
12159 12431
12160/***/ }, 12432/***/ }),
12161/* 102 */ 12433/* 106 */
12162/***/ function(module, exports, __webpack_require__) { 12434/***/ (function(module, exports, __webpack_require__) {
12163 12435
12164 /** 12436 /**
12165 * Copyright (c) 2013-present, Facebook, Inc. 12437 * Copyright (c) 2013-present, Facebook, Inc.
@@ -12174,7 +12446,7 @@
12174 12446
12175 'use strict'; 12447 'use strict';
12176 12448
12177 var hyphenate = __webpack_require__(103); 12449 var hyphenate = __webpack_require__(107);
12178 12450
12179 var msPattern = /^ms-/; 12451 var msPattern = /^ms-/;
12180 12452
@@ -12200,9 +12472,9 @@
12200 12472
12201 module.exports = hyphenateStyleName; 12473 module.exports = hyphenateStyleName;
12202 12474
12203/***/ }, 12475/***/ }),
12204/* 103 */ 12476/* 107 */
12205/***/ function(module, exports) { 12477/***/ (function(module, exports) {
12206 12478
12207 'use strict'; 12479 'use strict';
12208 12480
@@ -12237,9 +12509,9 @@
12237 12509
12238 module.exports = hyphenate; 12510 module.exports = hyphenate;
12239 12511
12240/***/ }, 12512/***/ }),
12241/* 104 */ 12513/* 108 */
12242/***/ function(module, exports) { 12514/***/ (function(module, exports) {
12243 12515
12244 /** 12516 /**
12245 * Copyright (c) 2013-present, Facebook, Inc. 12517 * Copyright (c) 2013-present, Facebook, Inc.
@@ -12271,9 +12543,9 @@
12271 12543
12272 module.exports = memoizeStringOnly; 12544 module.exports = memoizeStringOnly;
12273 12545
12274/***/ }, 12546/***/ }),
12275/* 105 */ 12547/* 109 */
12276/***/ function(module, exports, __webpack_require__) { 12548/***/ (function(module, exports, __webpack_require__) {
12277 12549
12278 /* WEBPACK VAR INJECTION */(function(process) {/** 12550 /* WEBPACK VAR INJECTION */(function(process) {/**
12279 * Copyright 2013-present, Facebook, Inc. 12551 * Copyright 2013-present, Facebook, Inc.
@@ -12287,11 +12559,11 @@
12287 12559
12288 'use strict'; 12560 'use strict';
12289 12561
12290 var DOMProperty = __webpack_require__(38); 12562 var DOMProperty = __webpack_require__(42);
12291 var ReactDOMComponentTree = __webpack_require__(36); 12563 var ReactDOMComponentTree = __webpack_require__(40);
12292 var ReactInstrumentation = __webpack_require__(64); 12564 var ReactInstrumentation = __webpack_require__(68);
12293 12565
12294 var quoteAttributeValueForBrowser = __webpack_require__(106); 12566 var quoteAttributeValueForBrowser = __webpack_require__(110);
12295 var warning = __webpack_require__(13); 12567 var warning = __webpack_require__(13);
12296 12568
12297 var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$'); 12569 var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');
@@ -12513,9 +12785,9 @@
12513 module.exports = DOMPropertyOperations; 12785 module.exports = DOMPropertyOperations;
12514 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 12786 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
12515 12787
12516/***/ }, 12788/***/ }),
12517/* 106 */ 12789/* 110 */
12518/***/ function(module, exports, __webpack_require__) { 12790/***/ (function(module, exports, __webpack_require__) {
12519 12791
12520 /** 12792 /**
12521 * Copyright 2013-present, Facebook, Inc. 12793 * Copyright 2013-present, Facebook, Inc.
@@ -12529,7 +12801,7 @@
12529 12801
12530 'use strict'; 12802 'use strict';
12531 12803
12532 var escapeTextContentForBrowser = __webpack_require__(88); 12804 var escapeTextContentForBrowser = __webpack_require__(92);
12533 12805
12534 /** 12806 /**
12535 * Escapes attribute value to prevent scripting attacks. 12807 * Escapes attribute value to prevent scripting attacks.
@@ -12543,9 +12815,9 @@
12543 12815
12544 module.exports = quoteAttributeValueForBrowser; 12816 module.exports = quoteAttributeValueForBrowser;
12545 12817
12546/***/ }, 12818/***/ }),
12547/* 107 */ 12819/* 111 */
12548/***/ function(module, exports, __webpack_require__) { 12820/***/ (function(module, exports, __webpack_require__) {
12549 12821
12550 /** 12822 /**
12551 * Copyright 2013-present, Facebook, Inc. 12823 * Copyright 2013-present, Facebook, Inc.
@@ -12561,12 +12833,12 @@
12561 12833
12562 var _assign = __webpack_require__(6); 12834 var _assign = __webpack_require__(6);
12563 12835
12564 var EventPluginRegistry = __webpack_require__(45); 12836 var EventPluginRegistry = __webpack_require__(49);
12565 var ReactEventEmitterMixin = __webpack_require__(108); 12837 var ReactEventEmitterMixin = __webpack_require__(112);
12566 var ViewportMetrics = __webpack_require__(78); 12838 var ViewportMetrics = __webpack_require__(82);
12567 12839
12568 var getVendorPrefixedEventName = __webpack_require__(109); 12840 var getVendorPrefixedEventName = __webpack_require__(113);
12569 var isEventSupported = __webpack_require__(72); 12841 var isEventSupported = __webpack_require__(76);
12570 12842
12571 /** 12843 /**
12572 * Summary of `ReactBrowserEventEmitter` event handling: 12844 * Summary of `ReactBrowserEventEmitter` event handling:
@@ -12875,9 +13147,9 @@
12875 13147
12876 module.exports = ReactBrowserEventEmitter; 13148 module.exports = ReactBrowserEventEmitter;
12877 13149
12878/***/ }, 13150/***/ }),
12879/* 108 */ 13151/* 112 */
12880/***/ function(module, exports, __webpack_require__) { 13152/***/ (function(module, exports, __webpack_require__) {
12881 13153
12882 /** 13154 /**
12883 * Copyright 2013-present, Facebook, Inc. 13155 * Copyright 2013-present, Facebook, Inc.
@@ -12891,7 +13163,7 @@
12891 13163
12892 'use strict'; 13164 'use strict';
12893 13165
12894 var EventPluginHub = __webpack_require__(44); 13166 var EventPluginHub = __webpack_require__(48);
12895 13167
12896 function runEventQueueInBatch(events) { 13168 function runEventQueueInBatch(events) {
12897 EventPluginHub.enqueueEvents(events); 13169 EventPluginHub.enqueueEvents(events);
@@ -12912,9 +13184,9 @@
12912 13184
12913 module.exports = ReactEventEmitterMixin; 13185 module.exports = ReactEventEmitterMixin;
12914 13186
12915/***/ }, 13187/***/ }),
12916/* 109 */ 13188/* 113 */
12917/***/ function(module, exports, __webpack_require__) { 13189/***/ (function(module, exports, __webpack_require__) {
12918 13190
12919 /** 13191 /**
12920 * Copyright 2013-present, Facebook, Inc. 13192 * Copyright 2013-present, Facebook, Inc.
@@ -12928,7 +13200,7 @@
12928 13200
12929 'use strict'; 13201 'use strict';
12930 13202
12931 var ExecutionEnvironment = __webpack_require__(50); 13203 var ExecutionEnvironment = __webpack_require__(54);
12932 13204
12933 /** 13205 /**
12934 * Generate a mapping of standard vendor prefixes using the defined style property and event name. 13206 * Generate a mapping of standard vendor prefixes using the defined style property and event name.
@@ -13017,9 +13289,9 @@
13017 13289
13018 module.exports = getVendorPrefixedEventName; 13290 module.exports = getVendorPrefixedEventName;
13019 13291
13020/***/ }, 13292/***/ }),
13021/* 110 */ 13293/* 114 */
13022/***/ function(module, exports, __webpack_require__) { 13294/***/ (function(module, exports, __webpack_require__) {
13023 13295
13024 /* WEBPACK VAR INJECTION */(function(process) {/** 13296 /* WEBPACK VAR INJECTION */(function(process) {/**
13025 * Copyright 2013-present, Facebook, Inc. 13297 * Copyright 2013-present, Facebook, Inc.
@@ -13033,13 +13305,13 @@
13033 13305
13034 'use strict'; 13306 'use strict';
13035 13307
13036 var _prodInvariant = __webpack_require__(37), 13308 var _prodInvariant = __webpack_require__(41),
13037 _assign = __webpack_require__(6); 13309 _assign = __webpack_require__(6);
13038 13310
13039 var DOMPropertyOperations = __webpack_require__(105); 13311 var DOMPropertyOperations = __webpack_require__(109);
13040 var LinkedValueUtils = __webpack_require__(111); 13312 var LinkedValueUtils = __webpack_require__(115);
13041 var ReactDOMComponentTree = __webpack_require__(36); 13313 var ReactDOMComponentTree = __webpack_require__(40);
13042 var ReactUpdates = __webpack_require__(58); 13314 var ReactUpdates = __webpack_require__(62);
13043 13315
13044 var invariant = __webpack_require__(10); 13316 var invariant = __webpack_require__(10);
13045 var warning = __webpack_require__(13); 13317 var warning = __webpack_require__(13);
@@ -13135,12 +13407,9 @@
13135 initialChecked: props.checked != null ? props.checked : props.defaultChecked, 13407 initialChecked: props.checked != null ? props.checked : props.defaultChecked,
13136 initialValue: props.value != null ? props.value : defaultValue, 13408 initialValue: props.value != null ? props.value : defaultValue,
13137 listeners: null, 13409 listeners: null,
13138 onChange: _handleChange.bind(inst) 13410 onChange: _handleChange.bind(inst),
13411 controlled: isControlled(props)
13139 }; 13412 };
13140
13141 if (process.env.NODE_ENV !== 'production') {
13142 inst._wrapperState.controlled = isControlled(props);
13143 }
13144 }, 13413 },
13145 13414
13146 updateWrapper: function (inst) { 13415 updateWrapper: function (inst) {
@@ -13169,14 +13438,24 @@
13169 var node = ReactDOMComponentTree.getNodeFromInstance(inst); 13438 var node = ReactDOMComponentTree.getNodeFromInstance(inst);
13170 var value = LinkedValueUtils.getValue(props); 13439 var value = LinkedValueUtils.getValue(props);
13171 if (value != null) { 13440 if (value != null) {
13172 13441 if (value === 0 && node.value === '') {
13173 // Cast `value` to a string to ensure the value is set correctly. While 13442 node.value = '0';
13174 // browsers typically do this as necessary, jsdom doesn't. 13443 // Note: IE9 reports a number inputs as 'text', so check props instead.
13175 var newValue = '' + value; 13444 } else if (props.type === 'number') {
13176 13445 // Simulate `input.valueAsNumber`. IE9 does not support it
13177 // To avoid side effects (such as losing text selection), only set value if changed 13446 var valueAsNumber = parseFloat(node.value, 10) || 0;
13178 if (newValue !== node.value) { 13447
13179 node.value = newValue; 13448 // eslint-disable-next-line
13449 if (value != valueAsNumber) {
13450 // Cast `value` to a string to ensure the value is set correctly. While
13451 // browsers typically do this as necessary, jsdom doesn't.
13452 node.value = '' + value;
13453 }
13454 // eslint-disable-next-line
13455 } else if (value != node.value) {
13456 // Cast `value` to a string to ensure the value is set correctly. While
13457 // browsers typically do this as necessary, jsdom doesn't.
13458 node.value = '' + value;
13180 } 13459 }
13181 } else { 13460 } else {
13182 if (props.value == null && props.defaultValue != null) { 13461 if (props.value == null && props.defaultValue != null) {
@@ -13300,9 +13579,9 @@
13300 module.exports = ReactDOMInput; 13579 module.exports = ReactDOMInput;
13301 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 13580 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
13302 13581
13303/***/ }, 13582/***/ }),
13304/* 111 */ 13583/* 115 */
13305/***/ function(module, exports, __webpack_require__) { 13584/***/ (function(module, exports, __webpack_require__) {
13306 13585
13307 /* WEBPACK VAR INJECTION */(function(process) {/** 13586 /* WEBPACK VAR INJECTION */(function(process) {/**
13308 * Copyright 2013-present, Facebook, Inc. 13587 * Copyright 2013-present, Facebook, Inc.
@@ -13316,10 +13595,13 @@
13316 13595
13317 'use strict'; 13596 'use strict';
13318 13597
13319 var _prodInvariant = __webpack_require__(37); 13598 var _prodInvariant = __webpack_require__(41);
13599
13600 var ReactPropTypesSecret = __webpack_require__(116);
13601 var propTypesFactory = __webpack_require__(32);
13320 13602
13321 var React = __webpack_require__(4); 13603 var React = __webpack_require__(4);
13322 var ReactPropTypesSecret = __webpack_require__(112); 13604 var PropTypes = propTypesFactory(React.isValidElement);
13323 13605
13324 var invariant = __webpack_require__(10); 13606 var invariant = __webpack_require__(10);
13325 var warning = __webpack_require__(13); 13607 var warning = __webpack_require__(13);
@@ -13360,7 +13642,7 @@
13360 } 13642 }
13361 return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.'); 13643 return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
13362 }, 13644 },
13363 onChange: React.PropTypes.func 13645 onChange: PropTypes.func
13364 }; 13646 };
13365 13647
13366 var loggedTypeFailures = {}; 13648 var loggedTypeFailures = {};
@@ -13440,11 +13722,11 @@
13440 module.exports = LinkedValueUtils; 13722 module.exports = LinkedValueUtils;
13441 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 13723 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
13442 13724
13443/***/ }, 13725/***/ }),
13444/* 112 */ 13726/* 116 */
1344530, 1372730,
13446/* 113 */ 13728/* 117 */
13447/***/ function(module, exports, __webpack_require__) { 13729/***/ (function(module, exports, __webpack_require__) {
13448 13730
13449 /* WEBPACK VAR INJECTION */(function(process) {/** 13731 /* WEBPACK VAR INJECTION */(function(process) {/**
13450 * Copyright 2013-present, Facebook, Inc. 13732 * Copyright 2013-present, Facebook, Inc.
@@ -13461,8 +13743,8 @@
13461 var _assign = __webpack_require__(6); 13743 var _assign = __webpack_require__(6);
13462 13744
13463 var React = __webpack_require__(4); 13745 var React = __webpack_require__(4);
13464 var ReactDOMComponentTree = __webpack_require__(36); 13746 var ReactDOMComponentTree = __webpack_require__(40);
13465 var ReactDOMSelect = __webpack_require__(114); 13747 var ReactDOMSelect = __webpack_require__(118);
13466 13748
13467 var warning = __webpack_require__(13); 13749 var warning = __webpack_require__(13);
13468 var didWarnInvalidOptionChildren = false; 13750 var didWarnInvalidOptionChildren = false;
@@ -13570,9 +13852,9 @@
13570 module.exports = ReactDOMOption; 13852 module.exports = ReactDOMOption;
13571 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 13853 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
13572 13854
13573/***/ }, 13855/***/ }),
13574/* 114 */ 13856/* 118 */
13575/***/ function(module, exports, __webpack_require__) { 13857/***/ (function(module, exports, __webpack_require__) {
13576 13858
13577 /* WEBPACK VAR INJECTION */(function(process) {/** 13859 /* WEBPACK VAR INJECTION */(function(process) {/**
13578 * Copyright 2013-present, Facebook, Inc. 13860 * Copyright 2013-present, Facebook, Inc.
@@ -13588,9 +13870,9 @@
13588 13870
13589 var _assign = __webpack_require__(6); 13871 var _assign = __webpack_require__(6);
13590 13872
13591 var LinkedValueUtils = __webpack_require__(111); 13873 var LinkedValueUtils = __webpack_require__(115);
13592 var ReactDOMComponentTree = __webpack_require__(36); 13874 var ReactDOMComponentTree = __webpack_require__(40);
13593 var ReactUpdates = __webpack_require__(58); 13875 var ReactUpdates = __webpack_require__(62);
13594 13876
13595 var warning = __webpack_require__(13); 13877 var warning = __webpack_require__(13);
13596 13878
@@ -13775,9 +14057,9 @@
13775 module.exports = ReactDOMSelect; 14057 module.exports = ReactDOMSelect;
13776 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 14058 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
13777 14059
13778/***/ }, 14060/***/ }),
13779/* 115 */ 14061/* 119 */
13780/***/ function(module, exports, __webpack_require__) { 14062/***/ (function(module, exports, __webpack_require__) {
13781 14063
13782 /* WEBPACK VAR INJECTION */(function(process) {/** 14064 /* WEBPACK VAR INJECTION */(function(process) {/**
13783 * Copyright 2013-present, Facebook, Inc. 14065 * Copyright 2013-present, Facebook, Inc.
@@ -13791,12 +14073,12 @@
13791 14073
13792 'use strict'; 14074 'use strict';
13793 14075
13794 var _prodInvariant = __webpack_require__(37), 14076 var _prodInvariant = __webpack_require__(41),
13795 _assign = __webpack_require__(6); 14077 _assign = __webpack_require__(6);
13796 14078
13797 var LinkedValueUtils = __webpack_require__(111); 14079 var LinkedValueUtils = __webpack_require__(115);
13798 var ReactDOMComponentTree = __webpack_require__(36); 14080 var ReactDOMComponentTree = __webpack_require__(40);
13799 var ReactUpdates = __webpack_require__(58); 14081 var ReactUpdates = __webpack_require__(62);
13800 14082
13801 var invariant = __webpack_require__(10); 14083 var invariant = __webpack_require__(10);
13802 var warning = __webpack_require__(13); 14084 var warning = __webpack_require__(13);
@@ -13940,9 +14222,9 @@
13940 module.exports = ReactDOMTextarea; 14222 module.exports = ReactDOMTextarea;
13941 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 14223 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
13942 14224
13943/***/ }, 14225/***/ }),
13944/* 116 */ 14226/* 120 */
13945/***/ function(module, exports, __webpack_require__) { 14227/***/ (function(module, exports, __webpack_require__) {
13946 14228
13947 /* WEBPACK VAR INJECTION */(function(process) {/** 14229 /* WEBPACK VAR INJECTION */(function(process) {/**
13948 * Copyright 2013-present, Facebook, Inc. 14230 * Copyright 2013-present, Facebook, Inc.
@@ -13956,18 +14238,18 @@
13956 14238
13957 'use strict'; 14239 'use strict';
13958 14240
13959 var _prodInvariant = __webpack_require__(37); 14241 var _prodInvariant = __webpack_require__(41);
13960 14242
13961 var ReactComponentEnvironment = __webpack_require__(117); 14243 var ReactComponentEnvironment = __webpack_require__(121);
13962 var ReactInstanceMap = __webpack_require__(118); 14244 var ReactInstanceMap = __webpack_require__(122);
13963 var ReactInstrumentation = __webpack_require__(64); 14245 var ReactInstrumentation = __webpack_require__(68);
13964 14246
13965 var ReactCurrentOwner = __webpack_require__(12); 14247 var ReactCurrentOwner = __webpack_require__(12);
13966 var ReactReconciler = __webpack_require__(61); 14248 var ReactReconciler = __webpack_require__(65);
13967 var ReactChildReconciler = __webpack_require__(119); 14249 var ReactChildReconciler = __webpack_require__(123);
13968 14250
13969 var emptyFunction = __webpack_require__(14); 14251 var emptyFunction = __webpack_require__(14);
13970 var flattenChildren = __webpack_require__(134); 14252 var flattenChildren = __webpack_require__(138);
13971 var invariant = __webpack_require__(10); 14253 var invariant = __webpack_require__(10);
13972 14254
13973 /** 14255 /**
@@ -14395,9 +14677,9 @@
14395 module.exports = ReactMultiChild; 14677 module.exports = ReactMultiChild;
14396 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 14678 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
14397 14679
14398/***/ }, 14680/***/ }),
14399/* 117 */ 14681/* 121 */
14400/***/ function(module, exports, __webpack_require__) { 14682/***/ (function(module, exports, __webpack_require__) {
14401 14683
14402 /* WEBPACK VAR INJECTION */(function(process) {/** 14684 /* WEBPACK VAR INJECTION */(function(process) {/**
14403 * Copyright 2014-present, Facebook, Inc. 14685 * Copyright 2014-present, Facebook, Inc.
@@ -14412,7 +14694,7 @@
14412 14694
14413 'use strict'; 14695 'use strict';
14414 14696
14415 var _prodInvariant = __webpack_require__(37); 14697 var _prodInvariant = __webpack_require__(41);
14416 14698
14417 var invariant = __webpack_require__(10); 14699 var invariant = __webpack_require__(10);
14418 14700
@@ -14446,9 +14728,9 @@
14446 module.exports = ReactComponentEnvironment; 14728 module.exports = ReactComponentEnvironment;
14447 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 14729 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
14448 14730
14449/***/ }, 14731/***/ }),
14450/* 118 */ 14732/* 122 */
14451/***/ function(module, exports) { 14733/***/ (function(module, exports) {
14452 14734
14453 /** 14735 /**
14454 * Copyright 2013-present, Facebook, Inc. 14736 * Copyright 2013-present, Facebook, Inc.
@@ -14498,9 +14780,9 @@
14498 14780
14499 module.exports = ReactInstanceMap; 14781 module.exports = ReactInstanceMap;
14500 14782
14501/***/ }, 14783/***/ }),
14502/* 119 */ 14784/* 123 */
14503/***/ function(module, exports, __webpack_require__) { 14785/***/ (function(module, exports, __webpack_require__) {
14504 14786
14505 /* WEBPACK VAR INJECTION */(function(process) {/** 14787 /* WEBPACK VAR INJECTION */(function(process) {/**
14506 * Copyright 2014-present, Facebook, Inc. 14788 * Copyright 2014-present, Facebook, Inc.
@@ -14514,12 +14796,12 @@
14514 14796
14515 'use strict'; 14797 'use strict';
14516 14798
14517 var ReactReconciler = __webpack_require__(61); 14799 var ReactReconciler = __webpack_require__(65);
14518 14800
14519 var instantiateReactComponent = __webpack_require__(120); 14801 var instantiateReactComponent = __webpack_require__(124);
14520 var KeyEscapeUtils = __webpack_require__(130); 14802 var KeyEscapeUtils = __webpack_require__(134);
14521 var shouldUpdateReactComponent = __webpack_require__(126); 14803 var shouldUpdateReactComponent = __webpack_require__(130);
14522 var traverseAllChildren = __webpack_require__(131); 14804 var traverseAllChildren = __webpack_require__(135);
14523 var warning = __webpack_require__(13); 14805 var warning = __webpack_require__(13);
14524 14806
14525 var ReactComponentTreeHook; 14807 var ReactComponentTreeHook;
@@ -14657,9 +14939,9 @@
14657 module.exports = ReactChildReconciler; 14939 module.exports = ReactChildReconciler;
14658 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 14940 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
14659 14941
14660/***/ }, 14942/***/ }),
14661/* 120 */ 14943/* 124 */
14662/***/ function(module, exports, __webpack_require__) { 14944/***/ (function(module, exports, __webpack_require__) {
14663 14945
14664 /* WEBPACK VAR INJECTION */(function(process) {/** 14946 /* WEBPACK VAR INJECTION */(function(process) {/**
14665 * Copyright 2013-present, Facebook, Inc. 14947 * Copyright 2013-present, Facebook, Inc.
@@ -14673,14 +14955,14 @@
14673 14955
14674 'use strict'; 14956 'use strict';
14675 14957
14676 var _prodInvariant = __webpack_require__(37), 14958 var _prodInvariant = __webpack_require__(41),
14677 _assign = __webpack_require__(6); 14959 _assign = __webpack_require__(6);
14678 14960
14679 var ReactCompositeComponent = __webpack_require__(121); 14961 var ReactCompositeComponent = __webpack_require__(125);
14680 var ReactEmptyComponent = __webpack_require__(127); 14962 var ReactEmptyComponent = __webpack_require__(131);
14681 var ReactHostComponent = __webpack_require__(128); 14963 var ReactHostComponent = __webpack_require__(132);
14682 14964
14683 var getNextDebugID = __webpack_require__(129); 14965 var getNextDebugID = __webpack_require__(133);
14684 var invariant = __webpack_require__(10); 14966 var invariant = __webpack_require__(10);
14685 var warning = __webpack_require__(13); 14967 var warning = __webpack_require__(13);
14686 14968
@@ -14688,9 +14970,6 @@
14688 var ReactCompositeComponentWrapper = function (element) { 14970 var ReactCompositeComponentWrapper = function (element) {
14689 this.construct(element); 14971 this.construct(element);
14690 }; 14972 };
14691 _assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, {
14692 _instantiateReactComponent: instantiateReactComponent
14693 });
14694 14973
14695 function getDeclarationErrorAddendum(owner) { 14974 function getDeclarationErrorAddendum(owner) {
14696 if (owner) { 14975 if (owner) {
@@ -14787,12 +15066,16 @@
14787 return instance; 15066 return instance;
14788 } 15067 }
14789 15068
15069 _assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, {
15070 _instantiateReactComponent: instantiateReactComponent
15071 });
15072
14790 module.exports = instantiateReactComponent; 15073 module.exports = instantiateReactComponent;
14791 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 15074 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
14792 15075
14793/***/ }, 15076/***/ }),
14794/* 121 */ 15077/* 125 */
14795/***/ function(module, exports, __webpack_require__) { 15078/***/ (function(module, exports, __webpack_require__) {
14796 15079
14797 /* WEBPACK VAR INJECTION */(function(process) {/** 15080 /* WEBPACK VAR INJECTION */(function(process) {/**
14798 * Copyright 2013-present, Facebook, Inc. 15081 * Copyright 2013-present, Facebook, Inc.
@@ -14806,26 +15089,26 @@
14806 15089
14807 'use strict'; 15090 'use strict';
14808 15091
14809 var _prodInvariant = __webpack_require__(37), 15092 var _prodInvariant = __webpack_require__(41),
14810 _assign = __webpack_require__(6); 15093 _assign = __webpack_require__(6);
14811 15094
14812 var React = __webpack_require__(4); 15095 var React = __webpack_require__(4);
14813 var ReactComponentEnvironment = __webpack_require__(117); 15096 var ReactComponentEnvironment = __webpack_require__(121);
14814 var ReactCurrentOwner = __webpack_require__(12); 15097 var ReactCurrentOwner = __webpack_require__(12);
14815 var ReactErrorUtils = __webpack_require__(47); 15098 var ReactErrorUtils = __webpack_require__(51);
14816 var ReactInstanceMap = __webpack_require__(118); 15099 var ReactInstanceMap = __webpack_require__(122);
14817 var ReactInstrumentation = __webpack_require__(64); 15100 var ReactInstrumentation = __webpack_require__(68);
14818 var ReactNodeTypes = __webpack_require__(122); 15101 var ReactNodeTypes = __webpack_require__(126);
14819 var ReactReconciler = __webpack_require__(61); 15102 var ReactReconciler = __webpack_require__(65);
14820 15103
14821 if (process.env.NODE_ENV !== 'production') { 15104 if (process.env.NODE_ENV !== 'production') {
14822 var checkReactTypeSpec = __webpack_require__(123); 15105 var checkReactTypeSpec = __webpack_require__(127);
14823 } 15106 }
14824 15107
14825 var emptyObject = __webpack_require__(22); 15108 var emptyObject = __webpack_require__(22);
14826 var invariant = __webpack_require__(10); 15109 var invariant = __webpack_require__(10);
14827 var shallowEqual = __webpack_require__(125); 15110 var shallowEqual = __webpack_require__(129);
14828 var shouldUpdateReactComponent = __webpack_require__(126); 15111 var shouldUpdateReactComponent = __webpack_require__(130);
14829 var warning = __webpack_require__(13); 15112 var warning = __webpack_require__(13);
14830 15113
14831 var CompositeTypes = { 15114 var CompositeTypes = {
@@ -15310,7 +15593,7 @@
15310 if (childContext) { 15593 if (childContext) {
15311 !(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0; 15594 !(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0;
15312 if (process.env.NODE_ENV !== 'production') { 15595 if (process.env.NODE_ENV !== 'production') {
15313 this._checkContextTypes(Component.childContextTypes, childContext, 'childContext'); 15596 this._checkContextTypes(Component.childContextTypes, childContext, 'child context');
15314 } 15597 }
15315 for (var name in childContext) { 15598 for (var name in childContext) {
15316 !(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0; 15599 !(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0;
@@ -15697,9 +15980,9 @@
15697 module.exports = ReactCompositeComponent; 15980 module.exports = ReactCompositeComponent;
15698 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 15981 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
15699 15982
15700/***/ }, 15983/***/ }),
15701/* 122 */ 15984/* 126 */
15702/***/ function(module, exports, __webpack_require__) { 15985/***/ (function(module, exports, __webpack_require__) {
15703 15986
15704 /* WEBPACK VAR INJECTION */(function(process) {/** 15987 /* WEBPACK VAR INJECTION */(function(process) {/**
15705 * Copyright 2013-present, Facebook, Inc. 15988 * Copyright 2013-present, Facebook, Inc.
@@ -15714,7 +15997,7 @@
15714 15997
15715 'use strict'; 15998 'use strict';
15716 15999
15717 var _prodInvariant = __webpack_require__(37); 16000 var _prodInvariant = __webpack_require__(41);
15718 16001
15719 var React = __webpack_require__(4); 16002 var React = __webpack_require__(4);
15720 16003
@@ -15742,9 +16025,9 @@
15742 module.exports = ReactNodeTypes; 16025 module.exports = ReactNodeTypes;
15743 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16026 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
15744 16027
15745/***/ }, 16028/***/ }),
15746/* 123 */ 16029/* 127 */
15747/***/ function(module, exports, __webpack_require__) { 16030/***/ (function(module, exports, __webpack_require__) {
15748 16031
15749 /* WEBPACK VAR INJECTION */(function(process) {/** 16032 /* WEBPACK VAR INJECTION */(function(process) {/**
15750 * Copyright 2013-present, Facebook, Inc. 16033 * Copyright 2013-present, Facebook, Inc.
@@ -15758,10 +16041,10 @@
15758 16041
15759 'use strict'; 16042 'use strict';
15760 16043
15761 var _prodInvariant = __webpack_require__(37); 16044 var _prodInvariant = __webpack_require__(41);
15762 16045
15763 var ReactPropTypeLocationNames = __webpack_require__(124); 16046 var ReactPropTypeLocationNames = __webpack_require__(128);
15764 var ReactPropTypesSecret = __webpack_require__(112); 16047 var ReactPropTypesSecret = __webpack_require__(116);
15765 16048
15766 var invariant = __webpack_require__(10); 16049 var invariant = __webpack_require__(10);
15767 var warning = __webpack_require__(13); 16050 var warning = __webpack_require__(13);
@@ -15834,11 +16117,11 @@
15834 module.exports = checkReactTypeSpec; 16117 module.exports = checkReactTypeSpec;
15835 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16118 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
15836 16119
15837/***/ }, 16120/***/ }),
15838/* 124 */ 16121/* 128 */
1583925, 1612225,
15840/* 125 */ 16123/* 129 */
15841/***/ function(module, exports) { 16124/***/ (function(module, exports) {
15842 16125
15843 /** 16126 /**
15844 * Copyright (c) 2013-present, Facebook, Inc. 16127 * Copyright (c) 2013-present, Facebook, Inc.
@@ -15908,9 +16191,9 @@
15908 16191
15909 module.exports = shallowEqual; 16192 module.exports = shallowEqual;
15910 16193
15911/***/ }, 16194/***/ }),
15912/* 126 */ 16195/* 130 */
15913/***/ function(module, exports) { 16196/***/ (function(module, exports) {
15914 16197
15915 /** 16198 /**
15916 * Copyright 2013-present, Facebook, Inc. 16199 * Copyright 2013-present, Facebook, Inc.
@@ -15954,9 +16237,9 @@
15954 16237
15955 module.exports = shouldUpdateReactComponent; 16238 module.exports = shouldUpdateReactComponent;
15956 16239
15957/***/ }, 16240/***/ }),
15958/* 127 */ 16241/* 131 */
15959/***/ function(module, exports) { 16242/***/ (function(module, exports) {
15960 16243
15961 /** 16244 /**
15962 * Copyright 2014-present, Facebook, Inc. 16245 * Copyright 2014-present, Facebook, Inc.
@@ -15988,9 +16271,9 @@
15988 16271
15989 module.exports = ReactEmptyComponent; 16272 module.exports = ReactEmptyComponent;
15990 16273
15991/***/ }, 16274/***/ }),
15992/* 128 */ 16275/* 132 */
15993/***/ function(module, exports, __webpack_require__) { 16276/***/ (function(module, exports, __webpack_require__) {
15994 16277
15995 /* WEBPACK VAR INJECTION */(function(process) {/** 16278 /* WEBPACK VAR INJECTION */(function(process) {/**
15996 * Copyright 2014-present, Facebook, Inc. 16279 * Copyright 2014-present, Facebook, Inc.
@@ -16004,7 +16287,7 @@
16004 16287
16005 'use strict'; 16288 'use strict';
16006 16289
16007 var _prodInvariant = __webpack_require__(37); 16290 var _prodInvariant = __webpack_require__(41);
16008 16291
16009 var invariant = __webpack_require__(10); 16292 var invariant = __webpack_require__(10);
16010 16293
@@ -16061,9 +16344,9 @@
16061 module.exports = ReactHostComponent; 16344 module.exports = ReactHostComponent;
16062 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16345 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16063 16346
16064/***/ }, 16347/***/ }),
16065/* 129 */ 16348/* 133 */
16066/***/ function(module, exports) { 16349/***/ (function(module, exports) {
16067 16350
16068 /** 16351 /**
16069 * Copyright 2013-present, Facebook, Inc. 16352 * Copyright 2013-present, Facebook, Inc.
@@ -16086,11 +16369,11 @@
16086 16369
16087 module.exports = getNextDebugID; 16370 module.exports = getNextDebugID;
16088 16371
16089/***/ }, 16372/***/ }),
16090/* 130 */ 16373/* 134 */
1609119, 1637419,
16092/* 131 */ 16375/* 135 */
16093/***/ function(module, exports, __webpack_require__) { 16376/***/ (function(module, exports, __webpack_require__) {
16094 16377
16095 /* WEBPACK VAR INJECTION */(function(process) {/** 16378 /* WEBPACK VAR INJECTION */(function(process) {/**
16096 * Copyright 2013-present, Facebook, Inc. 16379 * Copyright 2013-present, Facebook, Inc.
@@ -16104,14 +16387,14 @@
16104 16387
16105 'use strict'; 16388 'use strict';
16106 16389
16107 var _prodInvariant = __webpack_require__(37); 16390 var _prodInvariant = __webpack_require__(41);
16108 16391
16109 var ReactCurrentOwner = __webpack_require__(12); 16392 var ReactCurrentOwner = __webpack_require__(12);
16110 var REACT_ELEMENT_TYPE = __webpack_require__(132); 16393 var REACT_ELEMENT_TYPE = __webpack_require__(136);
16111 16394
16112 var getIteratorFn = __webpack_require__(133); 16395 var getIteratorFn = __webpack_require__(137);
16113 var invariant = __webpack_require__(10); 16396 var invariant = __webpack_require__(10);
16114 var KeyEscapeUtils = __webpack_require__(130); 16397 var KeyEscapeUtils = __webpack_require__(134);
16115 var warning = __webpack_require__(13); 16398 var warning = __webpack_require__(13);
16116 16399
16117 var SEPARATOR = '.'; 16400 var SEPARATOR = '.';
@@ -16269,13 +16552,13 @@
16269 module.exports = traverseAllChildren; 16552 module.exports = traverseAllChildren;
16270 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16553 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16271 16554
16272/***/ }, 16555/***/ }),
16273/* 132 */ 16556/* 136 */
1627416, 1655716,
16275/* 133 */ 16558/* 137 */
1627618, 1655918,
16277/* 134 */ 16560/* 138 */
16278/***/ function(module, exports, __webpack_require__) { 16561/***/ (function(module, exports, __webpack_require__) {
16279 16562
16280 /* WEBPACK VAR INJECTION */(function(process) {/** 16563 /* WEBPACK VAR INJECTION */(function(process) {/**
16281 * Copyright 2013-present, Facebook, Inc. 16564 * Copyright 2013-present, Facebook, Inc.
@@ -16290,8 +16573,8 @@
16290 16573
16291 'use strict'; 16574 'use strict';
16292 16575
16293 var KeyEscapeUtils = __webpack_require__(130); 16576 var KeyEscapeUtils = __webpack_require__(134);
16294 var traverseAllChildren = __webpack_require__(131); 16577 var traverseAllChildren = __webpack_require__(135);
16295 var warning = __webpack_require__(13); 16578 var warning = __webpack_require__(13);
16296 16579
16297 var ReactComponentTreeHook; 16580 var ReactComponentTreeHook;
@@ -16354,9 +16637,9 @@
16354 module.exports = flattenChildren; 16637 module.exports = flattenChildren;
16355 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16638 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16356 16639
16357/***/ }, 16640/***/ }),
16358/* 135 */ 16641/* 139 */
16359/***/ function(module, exports, __webpack_require__) { 16642/***/ (function(module, exports, __webpack_require__) {
16360 16643
16361 /* WEBPACK VAR INJECTION */(function(process) {/** 16644 /* WEBPACK VAR INJECTION */(function(process) {/**
16362 * Copyright 2014-present, Facebook, Inc. 16645 * Copyright 2014-present, Facebook, Inc.
@@ -16372,10 +16655,10 @@
16372 16655
16373 var _assign = __webpack_require__(6); 16656 var _assign = __webpack_require__(6);
16374 16657
16375 var PooledClass = __webpack_require__(52); 16658 var PooledClass = __webpack_require__(56);
16376 var Transaction = __webpack_require__(70); 16659 var Transaction = __webpack_require__(74);
16377 var ReactInstrumentation = __webpack_require__(64); 16660 var ReactInstrumentation = __webpack_require__(68);
16378 var ReactServerUpdateQueue = __webpack_require__(136); 16661 var ReactServerUpdateQueue = __webpack_require__(140);
16379 16662
16380 /** 16663 /**
16381 * Executed within the scope of the `Transaction` instance. Consider these as 16664 * Executed within the scope of the `Transaction` instance. Consider these as
@@ -16449,9 +16732,9 @@
16449 module.exports = ReactServerRenderingTransaction; 16732 module.exports = ReactServerRenderingTransaction;
16450 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16733 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16451 16734
16452/***/ }, 16735/***/ }),
16453/* 136 */ 16736/* 140 */
16454/***/ function(module, exports, __webpack_require__) { 16737/***/ (function(module, exports, __webpack_require__) {
16455 16738
16456 /* WEBPACK VAR INJECTION */(function(process) {/** 16739 /* WEBPACK VAR INJECTION */(function(process) {/**
16457 * Copyright 2015-present, Facebook, Inc. 16740 * Copyright 2015-present, Facebook, Inc.
@@ -16468,7 +16751,7 @@
16468 16751
16469 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 16752 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16470 16753
16471 var ReactUpdateQueue = __webpack_require__(137); 16754 var ReactUpdateQueue = __webpack_require__(141);
16472 16755
16473 var warning = __webpack_require__(13); 16756 var warning = __webpack_require__(13);
16474 16757
@@ -16593,9 +16876,9 @@
16593 module.exports = ReactServerUpdateQueue; 16876 module.exports = ReactServerUpdateQueue;
16594 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 16877 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16595 16878
16596/***/ }, 16879/***/ }),
16597/* 137 */ 16880/* 141 */
16598/***/ function(module, exports, __webpack_require__) { 16881/***/ (function(module, exports, __webpack_require__) {
16599 16882
16600 /* WEBPACK VAR INJECTION */(function(process) {/** 16883 /* WEBPACK VAR INJECTION */(function(process) {/**
16601 * Copyright 2015-present, Facebook, Inc. 16884 * Copyright 2015-present, Facebook, Inc.
@@ -16609,12 +16892,12 @@
16609 16892
16610 'use strict'; 16893 'use strict';
16611 16894
16612 var _prodInvariant = __webpack_require__(37); 16895 var _prodInvariant = __webpack_require__(41);
16613 16896
16614 var ReactCurrentOwner = __webpack_require__(12); 16897 var ReactCurrentOwner = __webpack_require__(12);
16615 var ReactInstanceMap = __webpack_require__(118); 16898 var ReactInstanceMap = __webpack_require__(122);
16616 var ReactInstrumentation = __webpack_require__(64); 16899 var ReactInstrumentation = __webpack_require__(68);
16617 var ReactUpdates = __webpack_require__(58); 16900 var ReactUpdates = __webpack_require__(62);
16618 16901
16619 var invariant = __webpack_require__(10); 16902 var invariant = __webpack_require__(10);
16620 var warning = __webpack_require__(13); 16903 var warning = __webpack_require__(13);
@@ -16767,7 +17050,7 @@
16767 * @param {object} completeState Next state. 17050 * @param {object} completeState Next state.
16768 * @internal 17051 * @internal
16769 */ 17052 */
16770 enqueueReplaceState: function (publicInstance, completeState) { 17053 enqueueReplaceState: function (publicInstance, completeState, callback) {
16771 var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState'); 17054 var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');
16772 17055
16773 if (!internalInstance) { 17056 if (!internalInstance) {
@@ -16777,6 +17060,16 @@
16777 internalInstance._pendingStateQueue = [completeState]; 17060 internalInstance._pendingStateQueue = [completeState];
16778 internalInstance._pendingReplaceState = true; 17061 internalInstance._pendingReplaceState = true;
16779 17062
17063 // Future-proof 15.5
17064 if (callback !== undefined && callback !== null) {
17065 ReactUpdateQueue.validateCallback(callback, 'replaceState');
17066 if (internalInstance._pendingCallbacks) {
17067 internalInstance._pendingCallbacks.push(callback);
17068 } else {
17069 internalInstance._pendingCallbacks = [callback];
17070 }
17071 }
17072
16780 enqueueUpdate(internalInstance); 17073 enqueueUpdate(internalInstance);
16781 }, 17074 },
16782 17075
@@ -16824,9 +17117,9 @@
16824 module.exports = ReactUpdateQueue; 17117 module.exports = ReactUpdateQueue;
16825 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 17118 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
16826 17119
16827/***/ }, 17120/***/ }),
16828/* 138 */ 17121/* 142 */
16829/***/ function(module, exports, __webpack_require__) { 17122/***/ (function(module, exports, __webpack_require__) {
16830 17123
16831 /* WEBPACK VAR INJECTION */(function(process) {/** 17124 /* WEBPACK VAR INJECTION */(function(process) {/**
16832 * Copyright 2015-present, Facebook, Inc. 17125 * Copyright 2015-present, Facebook, Inc.
@@ -17054,16 +17347,11 @@
17054 case 'section': 17347 case 'section':
17055 case 'summary': 17348 case 'summary':
17056 case 'ul': 17349 case 'ul':
17057
17058 case 'pre': 17350 case 'pre':
17059 case 'listing': 17351 case 'listing':
17060
17061 case 'table': 17352 case 'table':
17062
17063 case 'hr': 17353 case 'hr':
17064
17065 case 'xmp': 17354 case 'xmp':
17066
17067 case 'h1': 17355 case 'h1':
17068 case 'h2': 17356 case 'h2':
17069 case 'h3': 17357 case 'h3':
@@ -17211,9 +17499,9 @@
17211 module.exports = validateDOMNesting; 17499 module.exports = validateDOMNesting;
17212 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 17500 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
17213 17501
17214/***/ }, 17502/***/ }),
17215/* 139 */ 17503/* 143 */
17216/***/ function(module, exports, __webpack_require__) { 17504/***/ (function(module, exports, __webpack_require__) {
17217 17505
17218 /** 17506 /**
17219 * Copyright 2014-present, Facebook, Inc. 17507 * Copyright 2014-present, Facebook, Inc.
@@ -17229,8 +17517,8 @@
17229 17517
17230 var _assign = __webpack_require__(6); 17518 var _assign = __webpack_require__(6);
17231 17519
17232 var DOMLazyTree = __webpack_require__(83); 17520 var DOMLazyTree = __webpack_require__(87);
17233 var ReactDOMComponentTree = __webpack_require__(36); 17521 var ReactDOMComponentTree = __webpack_require__(40);
17234 17522
17235 var ReactDOMEmptyComponent = function (instantiate) { 17523 var ReactDOMEmptyComponent = function (instantiate) {
17236 // ReactCompositeComponent uses this: 17524 // ReactCompositeComponent uses this:
@@ -17275,9 +17563,9 @@
17275 17563
17276 module.exports = ReactDOMEmptyComponent; 17564 module.exports = ReactDOMEmptyComponent;
17277 17565
17278/***/ }, 17566/***/ }),
17279/* 140 */ 17567/* 144 */
17280/***/ function(module, exports, __webpack_require__) { 17568/***/ (function(module, exports, __webpack_require__) {
17281 17569
17282 /* WEBPACK VAR INJECTION */(function(process) {/** 17570 /* WEBPACK VAR INJECTION */(function(process) {/**
17283 * Copyright 2015-present, Facebook, Inc. 17571 * Copyright 2015-present, Facebook, Inc.
@@ -17291,7 +17579,7 @@
17291 17579
17292 'use strict'; 17580 'use strict';
17293 17581
17294 var _prodInvariant = __webpack_require__(37); 17582 var _prodInvariant = __webpack_require__(41);
17295 17583
17296 var invariant = __webpack_require__(10); 17584 var invariant = __webpack_require__(10);
17297 17585
@@ -17416,9 +17704,9 @@
17416 }; 17704 };
17417 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 17705 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
17418 17706
17419/***/ }, 17707/***/ }),
17420/* 141 */ 17708/* 145 */
17421/***/ function(module, exports, __webpack_require__) { 17709/***/ (function(module, exports, __webpack_require__) {
17422 17710
17423 /* WEBPACK VAR INJECTION */(function(process) {/** 17711 /* WEBPACK VAR INJECTION */(function(process) {/**
17424 * Copyright 2013-present, Facebook, Inc. 17712 * Copyright 2013-present, Facebook, Inc.
@@ -17432,16 +17720,16 @@
17432 17720
17433 'use strict'; 17721 'use strict';
17434 17722
17435 var _prodInvariant = __webpack_require__(37), 17723 var _prodInvariant = __webpack_require__(41),
17436 _assign = __webpack_require__(6); 17724 _assign = __webpack_require__(6);
17437 17725
17438 var DOMChildrenOperations = __webpack_require__(82); 17726 var DOMChildrenOperations = __webpack_require__(86);
17439 var DOMLazyTree = __webpack_require__(83); 17727 var DOMLazyTree = __webpack_require__(87);
17440 var ReactDOMComponentTree = __webpack_require__(36); 17728 var ReactDOMComponentTree = __webpack_require__(40);
17441 17729
17442 var escapeTextContentForBrowser = __webpack_require__(88); 17730 var escapeTextContentForBrowser = __webpack_require__(92);
17443 var invariant = __webpack_require__(10); 17731 var invariant = __webpack_require__(10);
17444 var validateDOMNesting = __webpack_require__(138); 17732 var validateDOMNesting = __webpack_require__(142);
17445 17733
17446 /** 17734 /**
17447 * Text nodes violate a couple assumptions that React makes about components: 17735 * Text nodes violate a couple assumptions that React makes about components:
@@ -17585,9 +17873,9 @@
17585 module.exports = ReactDOMTextComponent; 17873 module.exports = ReactDOMTextComponent;
17586 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 17874 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
17587 17875
17588/***/ }, 17876/***/ }),
17589/* 142 */ 17877/* 146 */
17590/***/ function(module, exports, __webpack_require__) { 17878/***/ (function(module, exports, __webpack_require__) {
17591 17879
17592 /** 17880 /**
17593 * Copyright 2013-present, Facebook, Inc. 17881 * Copyright 2013-present, Facebook, Inc.
@@ -17603,8 +17891,8 @@
17603 17891
17604 var _assign = __webpack_require__(6); 17892 var _assign = __webpack_require__(6);
17605 17893
17606 var ReactUpdates = __webpack_require__(58); 17894 var ReactUpdates = __webpack_require__(62);
17607 var Transaction = __webpack_require__(70); 17895 var Transaction = __webpack_require__(74);
17608 17896
17609 var emptyFunction = __webpack_require__(14); 17897 var emptyFunction = __webpack_require__(14);
17610 17898
@@ -17657,9 +17945,9 @@
17657 17945
17658 module.exports = ReactDefaultBatchingStrategy; 17946 module.exports = ReactDefaultBatchingStrategy;
17659 17947
17660/***/ }, 17948/***/ }),
17661/* 143 */ 17949/* 147 */
17662/***/ function(module, exports, __webpack_require__) { 17950/***/ (function(module, exports, __webpack_require__) {
17663 17951
17664 /** 17952 /**
17665 * Copyright 2013-present, Facebook, Inc. 17953 * Copyright 2013-present, Facebook, Inc.
@@ -17675,14 +17963,14 @@
17675 17963
17676 var _assign = __webpack_require__(6); 17964 var _assign = __webpack_require__(6);
17677 17965
17678 var EventListener = __webpack_require__(144); 17966 var EventListener = __webpack_require__(148);
17679 var ExecutionEnvironment = __webpack_require__(50); 17967 var ExecutionEnvironment = __webpack_require__(54);
17680 var PooledClass = __webpack_require__(52); 17968 var PooledClass = __webpack_require__(56);
17681 var ReactDOMComponentTree = __webpack_require__(36); 17969 var ReactDOMComponentTree = __webpack_require__(40);
17682 var ReactUpdates = __webpack_require__(58); 17970 var ReactUpdates = __webpack_require__(62);
17683 17971
17684 var getEventTarget = __webpack_require__(71); 17972 var getEventTarget = __webpack_require__(75);
17685 var getUnboundedScrollPosition = __webpack_require__(145); 17973 var getUnboundedScrollPosition = __webpack_require__(149);
17686 17974
17687 /** 17975 /**
17688 * Find the deepest React component completely containing the root of the 17976 * Find the deepest React component completely containing the root of the
@@ -17816,9 +18104,9 @@
17816 18104
17817 module.exports = ReactEventListener; 18105 module.exports = ReactEventListener;
17818 18106
17819/***/ }, 18107/***/ }),
17820/* 144 */ 18108/* 148 */
17821/***/ function(module, exports, __webpack_require__) { 18109/***/ (function(module, exports, __webpack_require__) {
17822 18110
17823 /* WEBPACK VAR INJECTION */(function(process) {'use strict'; 18111 /* WEBPACK VAR INJECTION */(function(process) {'use strict';
17824 18112
@@ -17905,9 +18193,9 @@
17905 module.exports = EventListener; 18193 module.exports = EventListener;
17906 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 18194 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
17907 18195
17908/***/ }, 18196/***/ }),
17909/* 145 */ 18197/* 149 */
17910/***/ function(module, exports) { 18198/***/ (function(module, exports) {
17911 18199
17912 /** 18200 /**
17913 * Copyright (c) 2013-present, Facebook, Inc. 18201 * Copyright (c) 2013-present, Facebook, Inc.
@@ -17934,10 +18222,10 @@
17934 */ 18222 */
17935 18223
17936 function getUnboundedScrollPosition(scrollable) { 18224 function getUnboundedScrollPosition(scrollable) {
17937 if (scrollable === window) { 18225 if (scrollable.Window && scrollable instanceof scrollable.Window) {
17938 return { 18226 return {
17939 x: window.pageXOffset || document.documentElement.scrollLeft, 18227 x: scrollable.pageXOffset || scrollable.document.documentElement.scrollLeft,
17940 y: window.pageYOffset || document.documentElement.scrollTop 18228 y: scrollable.pageYOffset || scrollable.document.documentElement.scrollTop
17941 }; 18229 };
17942 } 18230 }
17943 return { 18231 return {
@@ -17948,9 +18236,9 @@
17948 18236
17949 module.exports = getUnboundedScrollPosition; 18237 module.exports = getUnboundedScrollPosition;
17950 18238
17951/***/ }, 18239/***/ }),
17952/* 146 */ 18240/* 150 */
17953/***/ function(module, exports, __webpack_require__) { 18241/***/ (function(module, exports, __webpack_require__) {
17954 18242
17955 /** 18243 /**
17956 * Copyright 2013-present, Facebook, Inc. 18244 * Copyright 2013-present, Facebook, Inc.
@@ -17964,14 +18252,14 @@
17964 18252
17965 'use strict'; 18253 'use strict';
17966 18254
17967 var DOMProperty = __webpack_require__(38); 18255 var DOMProperty = __webpack_require__(42);
17968 var EventPluginHub = __webpack_require__(44); 18256 var EventPluginHub = __webpack_require__(48);
17969 var EventPluginUtils = __webpack_require__(46); 18257 var EventPluginUtils = __webpack_require__(50);
17970 var ReactComponentEnvironment = __webpack_require__(117); 18258 var ReactComponentEnvironment = __webpack_require__(121);
17971 var ReactEmptyComponent = __webpack_require__(127); 18259 var ReactEmptyComponent = __webpack_require__(131);
17972 var ReactBrowserEventEmitter = __webpack_require__(107); 18260 var ReactBrowserEventEmitter = __webpack_require__(111);
17973 var ReactHostComponent = __webpack_require__(128); 18261 var ReactHostComponent = __webpack_require__(132);
17974 var ReactUpdates = __webpack_require__(58); 18262 var ReactUpdates = __webpack_require__(62);
17975 18263
17976 var ReactInjection = { 18264 var ReactInjection = {
17977 Component: ReactComponentEnvironment.injection, 18265 Component: ReactComponentEnvironment.injection,
@@ -17986,9 +18274,9 @@
17986 18274
17987 module.exports = ReactInjection; 18275 module.exports = ReactInjection;
17988 18276
17989/***/ }, 18277/***/ }),
17990/* 147 */ 18278/* 151 */
17991/***/ function(module, exports, __webpack_require__) { 18279/***/ (function(module, exports, __webpack_require__) {
17992 18280
17993 /* WEBPACK VAR INJECTION */(function(process) {/** 18281 /* WEBPACK VAR INJECTION */(function(process) {/**
17994 * Copyright 2013-present, Facebook, Inc. 18282 * Copyright 2013-present, Facebook, Inc.
@@ -18004,13 +18292,13 @@
18004 18292
18005 var _assign = __webpack_require__(6); 18293 var _assign = __webpack_require__(6);
18006 18294
18007 var CallbackQueue = __webpack_require__(59); 18295 var CallbackQueue = __webpack_require__(63);
18008 var PooledClass = __webpack_require__(52); 18296 var PooledClass = __webpack_require__(56);
18009 var ReactBrowserEventEmitter = __webpack_require__(107); 18297 var ReactBrowserEventEmitter = __webpack_require__(111);
18010 var ReactInputSelection = __webpack_require__(148); 18298 var ReactInputSelection = __webpack_require__(152);
18011 var ReactInstrumentation = __webpack_require__(64); 18299 var ReactInstrumentation = __webpack_require__(68);
18012 var Transaction = __webpack_require__(70); 18300 var Transaction = __webpack_require__(74);
18013 var ReactUpdateQueue = __webpack_require__(137); 18301 var ReactUpdateQueue = __webpack_require__(141);
18014 18302
18015 /** 18303 /**
18016 * Ensures that, when possible, the selection range (currently selected text 18304 * Ensures that, when possible, the selection range (currently selected text
@@ -18169,9 +18457,9 @@
18169 module.exports = ReactReconcileTransaction; 18457 module.exports = ReactReconcileTransaction;
18170 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 18458 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
18171 18459
18172/***/ }, 18460/***/ }),
18173/* 148 */ 18461/* 152 */
18174/***/ function(module, exports, __webpack_require__) { 18462/***/ (function(module, exports, __webpack_require__) {
18175 18463
18176 /** 18464 /**
18177 * Copyright 2013-present, Facebook, Inc. 18465 * Copyright 2013-present, Facebook, Inc.
@@ -18185,11 +18473,11 @@
18185 18473
18186 'use strict'; 18474 'use strict';
18187 18475
18188 var ReactDOMSelection = __webpack_require__(149); 18476 var ReactDOMSelection = __webpack_require__(153);
18189 18477
18190 var containsNode = __webpack_require__(151); 18478 var containsNode = __webpack_require__(155);
18191 var focusNode = __webpack_require__(96); 18479 var focusNode = __webpack_require__(100);
18192 var getActiveElement = __webpack_require__(154); 18480 var getActiveElement = __webpack_require__(158);
18193 18481
18194 function isInDocument(node) { 18482 function isInDocument(node) {
18195 return containsNode(document.documentElement, node); 18483 return containsNode(document.documentElement, node);
@@ -18297,9 +18585,9 @@
18297 18585
18298 module.exports = ReactInputSelection; 18586 module.exports = ReactInputSelection;
18299 18587
18300/***/ }, 18588/***/ }),
18301/* 149 */ 18589/* 153 */
18302/***/ function(module, exports, __webpack_require__) { 18590/***/ (function(module, exports, __webpack_require__) {
18303 18591
18304 /** 18592 /**
18305 * Copyright 2013-present, Facebook, Inc. 18593 * Copyright 2013-present, Facebook, Inc.
@@ -18313,10 +18601,10 @@
18313 18601
18314 'use strict'; 18602 'use strict';
18315 18603
18316 var ExecutionEnvironment = __webpack_require__(50); 18604 var ExecutionEnvironment = __webpack_require__(54);
18317 18605
18318 var getNodeForCharacterOffset = __webpack_require__(150); 18606 var getNodeForCharacterOffset = __webpack_require__(154);
18319 var getTextContentAccessor = __webpack_require__(53); 18607 var getTextContentAccessor = __webpack_require__(57);
18320 18608
18321 /** 18609 /**
18322 * While `isCollapsed` is available on the Selection object and `collapsed` 18610 * While `isCollapsed` is available on the Selection object and `collapsed`
@@ -18513,9 +18801,9 @@
18513 18801
18514 module.exports = ReactDOMSelection; 18802 module.exports = ReactDOMSelection;
18515 18803
18516/***/ }, 18804/***/ }),
18517/* 150 */ 18805/* 154 */
18518/***/ function(module, exports) { 18806/***/ (function(module, exports) {
18519 18807
18520 /** 18808 /**
18521 * Copyright 2013-present, Facebook, Inc. 18809 * Copyright 2013-present, Facebook, Inc.
@@ -18591,9 +18879,9 @@
18591 18879
18592 module.exports = getNodeForCharacterOffset; 18880 module.exports = getNodeForCharacterOffset;
18593 18881
18594/***/ }, 18882/***/ }),
18595/* 151 */ 18883/* 155 */
18596/***/ function(module, exports, __webpack_require__) { 18884/***/ (function(module, exports, __webpack_require__) {
18597 18885
18598 'use strict'; 18886 'use strict';
18599 18887
@@ -18608,7 +18896,7 @@
18608 * 18896 *
18609 */ 18897 */
18610 18898
18611 var isTextNode = __webpack_require__(152); 18899 var isTextNode = __webpack_require__(156);
18612 18900
18613 /*eslint-disable no-bitwise */ 18901 /*eslint-disable no-bitwise */
18614 18902
@@ -18635,9 +18923,9 @@
18635 18923
18636 module.exports = containsNode; 18924 module.exports = containsNode;
18637 18925
18638/***/ }, 18926/***/ }),
18639/* 152 */ 18927/* 156 */
18640/***/ function(module, exports, __webpack_require__) { 18928/***/ (function(module, exports, __webpack_require__) {
18641 18929
18642 'use strict'; 18930 'use strict';
18643 18931
@@ -18652,7 +18940,7 @@
18652 * @typechecks 18940 * @typechecks
18653 */ 18941 */
18654 18942
18655 var isNode = __webpack_require__(153); 18943 var isNode = __webpack_require__(157);
18656 18944
18657 /** 18945 /**
18658 * @param {*} object The object to check. 18946 * @param {*} object The object to check.
@@ -18664,9 +18952,9 @@
18664 18952
18665 module.exports = isTextNode; 18953 module.exports = isTextNode;
18666 18954
18667/***/ }, 18955/***/ }),
18668/* 153 */ 18956/* 157 */
18669/***/ function(module, exports) { 18957/***/ (function(module, exports) {
18670 18958
18671 'use strict'; 18959 'use strict';
18672 18960
@@ -18686,14 +18974,16 @@
18686 * @return {boolean} Whether or not the object is a DOM node. 18974 * @return {boolean} Whether or not the object is a DOM node.
18687 */ 18975 */
18688 function isNode(object) { 18976 function isNode(object) {
18689 return !!(object && (typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string')); 18977 var doc = object ? object.ownerDocument || object : document;
18978 var defaultView = doc.defaultView || window;
18979 return !!(object && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));
18690 } 18980 }
18691 18981
18692 module.exports = isNode; 18982 module.exports = isNode;
18693 18983
18694/***/ }, 18984/***/ }),
18695/* 154 */ 18985/* 158 */
18696/***/ function(module, exports) { 18986/***/ (function(module, exports) {
18697 18987
18698 'use strict'; 18988 'use strict';
18699 18989
@@ -18716,23 +19006,27 @@
18716 * 19006 *
18717 * The activeElement will be null only if the document or document body is not 19007 * The activeElement will be null only if the document or document body is not
18718 * yet defined. 19008 * yet defined.
19009 *
19010 * @param {?DOMDocument} doc Defaults to current document.
19011 * @return {?DOMElement}
18719 */ 19012 */
18720 function getActiveElement() /*?DOMElement*/{ 19013 function getActiveElement(doc) /*?DOMElement*/{
18721 if (typeof document === 'undefined') { 19014 doc = doc || (typeof document !== 'undefined' ? document : undefined);
19015 if (typeof doc === 'undefined') {
18722 return null; 19016 return null;
18723 } 19017 }
18724 try { 19018 try {
18725 return document.activeElement || document.body; 19019 return doc.activeElement || doc.body;
18726 } catch (e) { 19020 } catch (e) {
18727 return document.body; 19021 return doc.body;
18728 } 19022 }
18729 } 19023 }
18730 19024
18731 module.exports = getActiveElement; 19025 module.exports = getActiveElement;
18732 19026
18733/***/ }, 19027/***/ }),
18734/* 155 */ 19028/* 159 */
18735/***/ function(module, exports) { 19029/***/ (function(module, exports) {
18736 19030
18737 /** 19031 /**
18738 * Copyright 2013-present, Facebook, Inc. 19032 * Copyright 2013-present, Facebook, Inc.
@@ -19036,9 +19330,9 @@
19036 19330
19037 module.exports = SVGDOMPropertyConfig; 19331 module.exports = SVGDOMPropertyConfig;
19038 19332
19039/***/ }, 19333/***/ }),
19040/* 156 */ 19334/* 160 */
19041/***/ function(module, exports, __webpack_require__) { 19335/***/ (function(module, exports, __webpack_require__) {
19042 19336
19043 /** 19337 /**
19044 * Copyright 2013-present, Facebook, Inc. 19338 * Copyright 2013-present, Facebook, Inc.
@@ -19052,15 +19346,15 @@
19052 19346
19053 'use strict'; 19347 'use strict';
19054 19348
19055 var EventPropagators = __webpack_require__(43); 19349 var EventPropagators = __webpack_require__(47);
19056 var ExecutionEnvironment = __webpack_require__(50); 19350 var ExecutionEnvironment = __webpack_require__(54);
19057 var ReactDOMComponentTree = __webpack_require__(36); 19351 var ReactDOMComponentTree = __webpack_require__(40);
19058 var ReactInputSelection = __webpack_require__(148); 19352 var ReactInputSelection = __webpack_require__(152);
19059 var SyntheticEvent = __webpack_require__(55); 19353 var SyntheticEvent = __webpack_require__(59);
19060 19354
19061 var getActiveElement = __webpack_require__(154); 19355 var getActiveElement = __webpack_require__(158);
19062 var isTextInputElement = __webpack_require__(73); 19356 var isTextInputElement = __webpack_require__(77);
19063 var shallowEqual = __webpack_require__(125); 19357 var shallowEqual = __webpack_require__(129);
19064 19358
19065 var skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11; 19359 var skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;
19066 19360
@@ -19231,9 +19525,9 @@
19231 19525
19232 module.exports = SelectEventPlugin; 19526 module.exports = SelectEventPlugin;
19233 19527
19234/***/ }, 19528/***/ }),
19235/* 157 */ 19529/* 161 */
19236/***/ function(module, exports, __webpack_require__) { 19530/***/ (function(module, exports, __webpack_require__) {
19237 19531
19238 /* WEBPACK VAR INJECTION */(function(process) {/** 19532 /* WEBPACK VAR INJECTION */(function(process) {/**
19239 * Copyright 2013-present, Facebook, Inc. 19533 * Copyright 2013-present, Facebook, Inc.
@@ -19248,25 +19542,25 @@
19248 19542
19249 'use strict'; 19543 'use strict';
19250 19544
19251 var _prodInvariant = __webpack_require__(37); 19545 var _prodInvariant = __webpack_require__(41);
19252 19546
19253 var EventListener = __webpack_require__(144); 19547 var EventListener = __webpack_require__(148);
19254 var EventPropagators = __webpack_require__(43); 19548 var EventPropagators = __webpack_require__(47);
19255 var ReactDOMComponentTree = __webpack_require__(36); 19549 var ReactDOMComponentTree = __webpack_require__(40);
19256 var SyntheticAnimationEvent = __webpack_require__(158); 19550 var SyntheticAnimationEvent = __webpack_require__(162);
19257 var SyntheticClipboardEvent = __webpack_require__(159); 19551 var SyntheticClipboardEvent = __webpack_require__(163);
19258 var SyntheticEvent = __webpack_require__(55); 19552 var SyntheticEvent = __webpack_require__(59);
19259 var SyntheticFocusEvent = __webpack_require__(160); 19553 var SyntheticFocusEvent = __webpack_require__(164);
19260 var SyntheticKeyboardEvent = __webpack_require__(161); 19554 var SyntheticKeyboardEvent = __webpack_require__(165);
19261 var SyntheticMouseEvent = __webpack_require__(76); 19555 var SyntheticMouseEvent = __webpack_require__(80);
19262 var SyntheticDragEvent = __webpack_require__(164); 19556 var SyntheticDragEvent = __webpack_require__(168);
19263 var SyntheticTouchEvent = __webpack_require__(165); 19557 var SyntheticTouchEvent = __webpack_require__(169);
19264 var SyntheticTransitionEvent = __webpack_require__(166); 19558 var SyntheticTransitionEvent = __webpack_require__(170);
19265 var SyntheticUIEvent = __webpack_require__(77); 19559 var SyntheticUIEvent = __webpack_require__(81);
19266 var SyntheticWheelEvent = __webpack_require__(167); 19560 var SyntheticWheelEvent = __webpack_require__(171);
19267 19561
19268 var emptyFunction = __webpack_require__(14); 19562 var emptyFunction = __webpack_require__(14);
19269 var getEventCharCode = __webpack_require__(162); 19563 var getEventCharCode = __webpack_require__(166);
19270 var invariant = __webpack_require__(10); 19564 var invariant = __webpack_require__(10);
19271 19565
19272 /** 19566 /**
@@ -19464,9 +19758,9 @@
19464 module.exports = SimpleEventPlugin; 19758 module.exports = SimpleEventPlugin;
19465 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 19759 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
19466 19760
19467/***/ }, 19761/***/ }),
19468/* 158 */ 19762/* 162 */
19469/***/ function(module, exports, __webpack_require__) { 19763/***/ (function(module, exports, __webpack_require__) {
19470 19764
19471 /** 19765 /**
19472 * Copyright 2013-present, Facebook, Inc. 19766 * Copyright 2013-present, Facebook, Inc.
@@ -19480,7 +19774,7 @@
19480 19774
19481 'use strict'; 19775 'use strict';
19482 19776
19483 var SyntheticEvent = __webpack_require__(55); 19777 var SyntheticEvent = __webpack_require__(59);
19484 19778
19485 /** 19779 /**
19486 * @interface Event 19780 * @interface Event
@@ -19507,9 +19801,9 @@
19507 19801
19508 module.exports = SyntheticAnimationEvent; 19802 module.exports = SyntheticAnimationEvent;
19509 19803
19510/***/ }, 19804/***/ }),
19511/* 159 */ 19805/* 163 */
19512/***/ function(module, exports, __webpack_require__) { 19806/***/ (function(module, exports, __webpack_require__) {
19513 19807
19514 /** 19808 /**
19515 * Copyright 2013-present, Facebook, Inc. 19809 * Copyright 2013-present, Facebook, Inc.
@@ -19523,7 +19817,7 @@
19523 19817
19524 'use strict'; 19818 'use strict';
19525 19819
19526 var SyntheticEvent = __webpack_require__(55); 19820 var SyntheticEvent = __webpack_require__(59);
19527 19821
19528 /** 19822 /**
19529 * @interface Event 19823 * @interface Event
@@ -19549,9 +19843,9 @@
19549 19843
19550 module.exports = SyntheticClipboardEvent; 19844 module.exports = SyntheticClipboardEvent;
19551 19845
19552/***/ }, 19846/***/ }),
19553/* 160 */ 19847/* 164 */
19554/***/ function(module, exports, __webpack_require__) { 19848/***/ (function(module, exports, __webpack_require__) {
19555 19849
19556 /** 19850 /**
19557 * Copyright 2013-present, Facebook, Inc. 19851 * Copyright 2013-present, Facebook, Inc.
@@ -19565,7 +19859,7 @@
19565 19859
19566 'use strict'; 19860 'use strict';
19567 19861
19568 var SyntheticUIEvent = __webpack_require__(77); 19862 var SyntheticUIEvent = __webpack_require__(81);
19569 19863
19570 /** 19864 /**
19571 * @interface FocusEvent 19865 * @interface FocusEvent
@@ -19589,9 +19883,9 @@
19589 19883
19590 module.exports = SyntheticFocusEvent; 19884 module.exports = SyntheticFocusEvent;
19591 19885
19592/***/ }, 19886/***/ }),
19593/* 161 */ 19887/* 165 */
19594/***/ function(module, exports, __webpack_require__) { 19888/***/ (function(module, exports, __webpack_require__) {
19595 19889
19596 /** 19890 /**
19597 * Copyright 2013-present, Facebook, Inc. 19891 * Copyright 2013-present, Facebook, Inc.
@@ -19605,11 +19899,11 @@
19605 19899
19606 'use strict'; 19900 'use strict';
19607 19901
19608 var SyntheticUIEvent = __webpack_require__(77); 19902 var SyntheticUIEvent = __webpack_require__(81);
19609 19903
19610 var getEventCharCode = __webpack_require__(162); 19904 var getEventCharCode = __webpack_require__(166);
19611 var getEventKey = __webpack_require__(163); 19905 var getEventKey = __webpack_require__(167);
19612 var getEventModifierState = __webpack_require__(79); 19906 var getEventModifierState = __webpack_require__(83);
19613 19907
19614 /** 19908 /**
19615 * @interface KeyboardEvent 19909 * @interface KeyboardEvent
@@ -19677,9 +19971,9 @@
19677 19971
19678 module.exports = SyntheticKeyboardEvent; 19972 module.exports = SyntheticKeyboardEvent;
19679 19973
19680/***/ }, 19974/***/ }),
19681/* 162 */ 19975/* 166 */
19682/***/ function(module, exports) { 19976/***/ (function(module, exports) {
19683 19977
19684 /** 19978 /**
19685 * Copyright 2013-present, Facebook, Inc. 19979 * Copyright 2013-present, Facebook, Inc.
@@ -19731,9 +20025,9 @@
19731 20025
19732 module.exports = getEventCharCode; 20026 module.exports = getEventCharCode;
19733 20027
19734/***/ }, 20028/***/ }),
19735/* 163 */ 20029/* 167 */
19736/***/ function(module, exports, __webpack_require__) { 20030/***/ (function(module, exports, __webpack_require__) {
19737 20031
19738 /** 20032 /**
19739 * Copyright 2013-present, Facebook, Inc. 20033 * Copyright 2013-present, Facebook, Inc.
@@ -19747,7 +20041,7 @@
19747 20041
19748 'use strict'; 20042 'use strict';
19749 20043
19750 var getEventCharCode = __webpack_require__(162); 20044 var getEventCharCode = __webpack_require__(166);
19751 20045
19752 /** 20046 /**
19753 * Normalization of deprecated HTML5 `key` values 20047 * Normalization of deprecated HTML5 `key` values
@@ -19837,9 +20131,9 @@
19837 20131
19838 module.exports = getEventKey; 20132 module.exports = getEventKey;
19839 20133
19840/***/ }, 20134/***/ }),
19841/* 164 */ 20135/* 168 */
19842/***/ function(module, exports, __webpack_require__) { 20136/***/ (function(module, exports, __webpack_require__) {
19843 20137
19844 /** 20138 /**
19845 * Copyright 2013-present, Facebook, Inc. 20139 * Copyright 2013-present, Facebook, Inc.
@@ -19853,7 +20147,7 @@
19853 20147
19854 'use strict'; 20148 'use strict';
19855 20149
19856 var SyntheticMouseEvent = __webpack_require__(76); 20150 var SyntheticMouseEvent = __webpack_require__(80);
19857 20151
19858 /** 20152 /**
19859 * @interface DragEvent 20153 * @interface DragEvent
@@ -19877,9 +20171,9 @@
19877 20171
19878 module.exports = SyntheticDragEvent; 20172 module.exports = SyntheticDragEvent;
19879 20173
19880/***/ }, 20174/***/ }),
19881/* 165 */ 20175/* 169 */
19882/***/ function(module, exports, __webpack_require__) { 20176/***/ (function(module, exports, __webpack_require__) {
19883 20177
19884 /** 20178 /**
19885 * Copyright 2013-present, Facebook, Inc. 20179 * Copyright 2013-present, Facebook, Inc.
@@ -19893,9 +20187,9 @@
19893 20187
19894 'use strict'; 20188 'use strict';
19895 20189
19896 var SyntheticUIEvent = __webpack_require__(77); 20190 var SyntheticUIEvent = __webpack_require__(81);
19897 20191
19898 var getEventModifierState = __webpack_require__(79); 20192 var getEventModifierState = __webpack_require__(83);
19899 20193
19900 /** 20194 /**
19901 * @interface TouchEvent 20195 * @interface TouchEvent
@@ -19926,9 +20220,9 @@
19926 20220
19927 module.exports = SyntheticTouchEvent; 20221 module.exports = SyntheticTouchEvent;
19928 20222
19929/***/ }, 20223/***/ }),
19930/* 166 */ 20224/* 170 */
19931/***/ function(module, exports, __webpack_require__) { 20225/***/ (function(module, exports, __webpack_require__) {
19932 20226
19933 /** 20227 /**
19934 * Copyright 2013-present, Facebook, Inc. 20228 * Copyright 2013-present, Facebook, Inc.
@@ -19942,7 +20236,7 @@
19942 20236
19943 'use strict'; 20237 'use strict';
19944 20238
19945 var SyntheticEvent = __webpack_require__(55); 20239 var SyntheticEvent = __webpack_require__(59);
19946 20240
19947 /** 20241 /**
19948 * @interface Event 20242 * @interface Event
@@ -19969,9 +20263,9 @@
19969 20263
19970 module.exports = SyntheticTransitionEvent; 20264 module.exports = SyntheticTransitionEvent;
19971 20265
19972/***/ }, 20266/***/ }),
19973/* 167 */ 20267/* 171 */
19974/***/ function(module, exports, __webpack_require__) { 20268/***/ (function(module, exports, __webpack_require__) {
19975 20269
19976 /** 20270 /**
19977 * Copyright 2013-present, Facebook, Inc. 20271 * Copyright 2013-present, Facebook, Inc.
@@ -19985,7 +20279,7 @@
19985 20279
19986 'use strict'; 20280 'use strict';
19987 20281
19988 var SyntheticMouseEvent = __webpack_require__(76); 20282 var SyntheticMouseEvent = __webpack_require__(80);
19989 20283
19990 /** 20284 /**
19991 * @interface WheelEvent 20285 * @interface WheelEvent
@@ -20027,9 +20321,9 @@
20027 20321
20028 module.exports = SyntheticWheelEvent; 20322 module.exports = SyntheticWheelEvent;
20029 20323
20030/***/ }, 20324/***/ }),
20031/* 168 */ 20325/* 172 */
20032/***/ function(module, exports, __webpack_require__) { 20326/***/ (function(module, exports, __webpack_require__) {
20033 20327
20034 /* WEBPACK VAR INJECTION */(function(process) {/** 20328 /* WEBPACK VAR INJECTION */(function(process) {/**
20035 * Copyright 2013-present, Facebook, Inc. 20329 * Copyright 2013-present, Facebook, Inc.
@@ -20043,29 +20337,29 @@
20043 20337
20044 'use strict'; 20338 'use strict';
20045 20339
20046 var _prodInvariant = __webpack_require__(37); 20340 var _prodInvariant = __webpack_require__(41);
20047 20341
20048 var DOMLazyTree = __webpack_require__(83); 20342 var DOMLazyTree = __webpack_require__(87);
20049 var DOMProperty = __webpack_require__(38); 20343 var DOMProperty = __webpack_require__(42);
20050 var React = __webpack_require__(4); 20344 var React = __webpack_require__(4);
20051 var ReactBrowserEventEmitter = __webpack_require__(107); 20345 var ReactBrowserEventEmitter = __webpack_require__(111);
20052 var ReactCurrentOwner = __webpack_require__(12); 20346 var ReactCurrentOwner = __webpack_require__(12);
20053 var ReactDOMComponentTree = __webpack_require__(36); 20347 var ReactDOMComponentTree = __webpack_require__(40);
20054 var ReactDOMContainerInfo = __webpack_require__(169); 20348 var ReactDOMContainerInfo = __webpack_require__(173);
20055 var ReactDOMFeatureFlags = __webpack_require__(170); 20349 var ReactDOMFeatureFlags = __webpack_require__(174);
20056 var ReactFeatureFlags = __webpack_require__(60); 20350 var ReactFeatureFlags = __webpack_require__(64);
20057 var ReactInstanceMap = __webpack_require__(118); 20351 var ReactInstanceMap = __webpack_require__(122);
20058 var ReactInstrumentation = __webpack_require__(64); 20352 var ReactInstrumentation = __webpack_require__(68);
20059 var ReactMarkupChecksum = __webpack_require__(171); 20353 var ReactMarkupChecksum = __webpack_require__(175);
20060 var ReactReconciler = __webpack_require__(61); 20354 var ReactReconciler = __webpack_require__(65);
20061 var ReactUpdateQueue = __webpack_require__(137); 20355 var ReactUpdateQueue = __webpack_require__(141);
20062 var ReactUpdates = __webpack_require__(58); 20356 var ReactUpdates = __webpack_require__(62);
20063 20357
20064 var emptyObject = __webpack_require__(22); 20358 var emptyObject = __webpack_require__(22);
20065 var instantiateReactComponent = __webpack_require__(120); 20359 var instantiateReactComponent = __webpack_require__(124);
20066 var invariant = __webpack_require__(10); 20360 var invariant = __webpack_require__(10);
20067 var setInnerHTML = __webpack_require__(85); 20361 var setInnerHTML = __webpack_require__(89);
20068 var shouldUpdateReactComponent = __webpack_require__(126); 20362 var shouldUpdateReactComponent = __webpack_require__(130);
20069 var warning = __webpack_require__(13); 20363 var warning = __webpack_require__(13);
20070 20364
20071 var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; 20365 var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;
@@ -20570,9 +20864,9 @@
20570 module.exports = ReactMount; 20864 module.exports = ReactMount;
20571 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 20865 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
20572 20866
20573/***/ }, 20867/***/ }),
20574/* 169 */ 20868/* 173 */
20575/***/ function(module, exports, __webpack_require__) { 20869/***/ (function(module, exports, __webpack_require__) {
20576 20870
20577 /* WEBPACK VAR INJECTION */(function(process) {/** 20871 /* WEBPACK VAR INJECTION */(function(process) {/**
20578 * Copyright 2013-present, Facebook, Inc. 20872 * Copyright 2013-present, Facebook, Inc.
@@ -20586,7 +20880,7 @@
20586 20880
20587 'use strict'; 20881 'use strict';
20588 20882
20589 var validateDOMNesting = __webpack_require__(138); 20883 var validateDOMNesting = __webpack_require__(142);
20590 20884
20591 var DOC_NODE_TYPE = 9; 20885 var DOC_NODE_TYPE = 9;
20592 20886
@@ -20608,9 +20902,9 @@
20608 module.exports = ReactDOMContainerInfo; 20902 module.exports = ReactDOMContainerInfo;
20609 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 20903 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
20610 20904
20611/***/ }, 20905/***/ }),
20612/* 170 */ 20906/* 174 */
20613/***/ function(module, exports) { 20907/***/ (function(module, exports) {
20614 20908
20615 /** 20909 /**
20616 * Copyright 2013-present, Facebook, Inc. 20910 * Copyright 2013-present, Facebook, Inc.
@@ -20631,9 +20925,9 @@
20631 20925
20632 module.exports = ReactDOMFeatureFlags; 20926 module.exports = ReactDOMFeatureFlags;
20633 20927
20634/***/ }, 20928/***/ }),
20635/* 171 */ 20929/* 175 */
20636/***/ function(module, exports, __webpack_require__) { 20930/***/ (function(module, exports, __webpack_require__) {
20637 20931
20638 /** 20932 /**
20639 * Copyright 2013-present, Facebook, Inc. 20933 * Copyright 2013-present, Facebook, Inc.
@@ -20647,7 +20941,7 @@
20647 20941
20648 'use strict'; 20942 'use strict';
20649 20943
20650 var adler32 = __webpack_require__(172); 20944 var adler32 = __webpack_require__(176);
20651 20945
20652 var TAG_END = /\/?>/; 20946 var TAG_END = /\/?>/;
20653 var COMMENT_START = /^<\!\-\-/; 20947 var COMMENT_START = /^<\!\-\-/;
@@ -20685,9 +20979,9 @@
20685 20979
20686 module.exports = ReactMarkupChecksum; 20980 module.exports = ReactMarkupChecksum;
20687 20981
20688/***/ }, 20982/***/ }),
20689/* 172 */ 20983/* 176 */
20690/***/ function(module, exports) { 20984/***/ (function(module, exports) {
20691 20985
20692 /** 20986 /**
20693 * Copyright 2013-present, Facebook, Inc. 20987 * Copyright 2013-present, Facebook, Inc.
@@ -20733,11 +21027,11 @@
20733 21027
20734 module.exports = adler32; 21028 module.exports = adler32;
20735 21029
20736/***/ }, 21030/***/ }),
20737/* 173 */ 21031/* 177 */
2073832, 2103236,
20739/* 174 */ 21033/* 178 */
20740/***/ function(module, exports, __webpack_require__) { 21034/***/ (function(module, exports, __webpack_require__) {
20741 21035
20742 /* WEBPACK VAR INJECTION */(function(process) {/** 21036 /* WEBPACK VAR INJECTION */(function(process) {/**
20743 * Copyright 2013-present, Facebook, Inc. 21037 * Copyright 2013-present, Facebook, Inc.
@@ -20751,13 +21045,13 @@
20751 21045
20752 'use strict'; 21046 'use strict';
20753 21047
20754 var _prodInvariant = __webpack_require__(37); 21048 var _prodInvariant = __webpack_require__(41);
20755 21049
20756 var ReactCurrentOwner = __webpack_require__(12); 21050 var ReactCurrentOwner = __webpack_require__(12);
20757 var ReactDOMComponentTree = __webpack_require__(36); 21051 var ReactDOMComponentTree = __webpack_require__(40);
20758 var ReactInstanceMap = __webpack_require__(118); 21052 var ReactInstanceMap = __webpack_require__(122);
20759 21053
20760 var getHostComponentFromComposite = __webpack_require__(175); 21054 var getHostComponentFromComposite = __webpack_require__(179);
20761 var invariant = __webpack_require__(10); 21055 var invariant = __webpack_require__(10);
20762 var warning = __webpack_require__(13); 21056 var warning = __webpack_require__(13);
20763 21057
@@ -20800,9 +21094,9 @@
20800 module.exports = findDOMNode; 21094 module.exports = findDOMNode;
20801 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 21095 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
20802 21096
20803/***/ }, 21097/***/ }),
20804/* 175 */ 21098/* 179 */
20805/***/ function(module, exports, __webpack_require__) { 21099/***/ (function(module, exports, __webpack_require__) {
20806 21100
20807 /** 21101 /**
20808 * Copyright 2013-present, Facebook, Inc. 21102 * Copyright 2013-present, Facebook, Inc.
@@ -20816,7 +21110,7 @@
20816 21110
20817 'use strict'; 21111 'use strict';
20818 21112
20819 var ReactNodeTypes = __webpack_require__(122); 21113 var ReactNodeTypes = __webpack_require__(126);
20820 21114
20821 function getHostComponentFromComposite(inst) { 21115 function getHostComponentFromComposite(inst) {
20822 var type; 21116 var type;
@@ -20834,9 +21128,9 @@
20834 21128
20835 module.exports = getHostComponentFromComposite; 21129 module.exports = getHostComponentFromComposite;
20836 21130
20837/***/ }, 21131/***/ }),
20838/* 176 */ 21132/* 180 */
20839/***/ function(module, exports, __webpack_require__) { 21133/***/ (function(module, exports, __webpack_require__) {
20840 21134
20841 /** 21135 /**
20842 * Copyright 2013-present, Facebook, Inc. 21136 * Copyright 2013-present, Facebook, Inc.
@@ -20850,13 +21144,13 @@
20850 21144
20851 'use strict'; 21145 'use strict';
20852 21146
20853 var ReactMount = __webpack_require__(168); 21147 var ReactMount = __webpack_require__(172);
20854 21148
20855 module.exports = ReactMount.renderSubtreeIntoContainer; 21149 module.exports = ReactMount.renderSubtreeIntoContainer;
20856 21150
20857/***/ }, 21151/***/ }),
20858/* 177 */ 21152/* 181 */
20859/***/ function(module, exports, __webpack_require__) { 21153/***/ (function(module, exports, __webpack_require__) {
20860 21154
20861 /* WEBPACK VAR INJECTION */(function(process) {/** 21155 /* WEBPACK VAR INJECTION */(function(process) {/**
20862 * Copyright 2013-present, Facebook, Inc. 21156 * Copyright 2013-present, Facebook, Inc.
@@ -20870,8 +21164,8 @@
20870 21164
20871 'use strict'; 21165 'use strict';
20872 21166
20873 var DOMProperty = __webpack_require__(38); 21167 var DOMProperty = __webpack_require__(42);
20874 var EventPluginRegistry = __webpack_require__(45); 21168 var EventPluginRegistry = __webpack_require__(49);
20875 var ReactComponentTreeHook = __webpack_require__(28); 21169 var ReactComponentTreeHook = __webpack_require__(28);
20876 21170
20877 var warning = __webpack_require__(13); 21171 var warning = __webpack_require__(13);
@@ -20971,9 +21265,9 @@
20971 module.exports = ReactDOMUnknownPropertyHook; 21265 module.exports = ReactDOMUnknownPropertyHook;
20972 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 21266 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
20973 21267
20974/***/ }, 21268/***/ }),
20975/* 178 */ 21269/* 182 */
20976/***/ function(module, exports, __webpack_require__) { 21270/***/ (function(module, exports, __webpack_require__) {
20977 21271
20978 /* WEBPACK VAR INJECTION */(function(process) {/** 21272 /* WEBPACK VAR INJECTION */(function(process) {/**
20979 * Copyright 2013-present, Facebook, Inc. 21273 * Copyright 2013-present, Facebook, Inc.
@@ -21019,9 +21313,9 @@
21019 module.exports = ReactDOMNullInputValuePropHook; 21313 module.exports = ReactDOMNullInputValuePropHook;
21020 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 21314 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
21021 21315
21022/***/ }, 21316/***/ }),
21023/* 179 */ 21317/* 183 */
21024/***/ function(module, exports, __webpack_require__) { 21318/***/ (function(module, exports, __webpack_require__) {
21025 21319
21026 /* WEBPACK VAR INJECTION */(function(process) {/** 21320 /* WEBPACK VAR INJECTION */(function(process) {/**
21027 * Copyright 2013-present, Facebook, Inc. 21321 * Copyright 2013-present, Facebook, Inc.
@@ -21035,7 +21329,7 @@
21035 21329
21036 'use strict'; 21330 'use strict';
21037 21331
21038 var DOMProperty = __webpack_require__(38); 21332 var DOMProperty = __webpack_require__(42);
21039 var ReactComponentTreeHook = __webpack_require__(28); 21333 var ReactComponentTreeHook = __webpack_require__(28);
21040 21334
21041 var warning = __webpack_require__(13); 21335 var warning = __webpack_require__(13);
@@ -21117,12 +21411,12 @@
21117 module.exports = ReactDOMInvalidARIAHook; 21411 module.exports = ReactDOMInvalidARIAHook;
21118 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 21412 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
21119 21413
21120/***/ }, 21414/***/ }),
21121/* 180 */ 21415/* 184 */
21122/***/ function(module, exports) { 21416/***/ (function(module, exports) {
21123 21417
21124 //! moment.js 21418 //! moment.js
21125 //! version : 2.17.1 21419 //! version : 2.18.1
21126 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors 21420 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
21127 //! license : MIT 21421 //! license : MIT
21128 //! momentjs.com 21422 //! momentjs.com
@@ -21164,6 +21458,10 @@
21164 return true; 21458 return true;
21165 } 21459 }
21166 21460
21461 function isUndefined(input) {
21462 return input === void 0;
21463 }
21464
21167 function isNumber(input) { 21465 function isNumber(input) {
21168 return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; 21466 return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
21169 } 21467 }
@@ -21220,7 +21518,9 @@
21220 userInvalidated : false, 21518 userInvalidated : false,
21221 iso : false, 21519 iso : false,
21222 parsedDateParts : [], 21520 parsedDateParts : [],
21223 meridiem : null 21521 meridiem : null,
21522 rfc2822 : false,
21523 weekdayMismatch : false
21224 }; 21524 };
21225 } 21525 }
21226 21526
@@ -21296,10 +21596,6 @@
21296 return m; 21596 return m;
21297 } 21597 }
21298 21598
21299 function isUndefined(input) {
21300 return input === void 0;
21301 }
21302
21303 // Plugins that add properties should also add the key here (null value), 21599 // Plugins that add properties should also add the key here (null value),
21304 // so we can properly clone ourselves. 21600 // so we can properly clone ourselves.
21305 var momentProperties = hooks.momentProperties = []; 21601 var momentProperties = hooks.momentProperties = [];
@@ -21339,7 +21635,7 @@
21339 } 21635 }
21340 21636
21341 if (momentProperties.length > 0) { 21637 if (momentProperties.length > 0) {
21342 for (i in momentProperties) { 21638 for (i = 0; i < momentProperties.length; i++) {
21343 prop = momentProperties[i]; 21639 prop = momentProperties[i];
21344 val = from[prop]; 21640 val = from[prop];
21345 if (!isUndefined(val)) { 21641 if (!isUndefined(val)) {
@@ -21476,8 +21772,11 @@
21476 } 21772 }
21477 this._config = config; 21773 this._config = config;
21478 // Lenient ordinal parsing accepts just a number in addition to 21774 // Lenient ordinal parsing accepts just a number in addition to
21479 // number + (possibly) stuff coming from _ordinalParseLenient. 21775 // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
21480 this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + (/\d{1,2}/).source); 21776 // TODO: Remove "ordinalParse" fallback in next major release.
21777 this._dayOfMonthOrdinalParseLenient = new RegExp(
21778 (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
21779 '|' + (/\d{1,2}/).source);
21481 } 21780 }
21482 21781
21483 function mergeConfigs(parentConfig, childConfig) { 21782 function mergeConfigs(parentConfig, childConfig) {
@@ -21575,7 +21874,7 @@
21575 } 21874 }
21576 21875
21577 var defaultOrdinal = '%d'; 21876 var defaultOrdinal = '%d';
21578 var defaultOrdinalParse = /\d{1,2}/; 21877 var defaultDayOfMonthOrdinalParse = /\d{1,2}/;
21579 21878
21580 function ordinal (number) { 21879 function ordinal (number) {
21581 return this._ordinal.replace('%d', number); 21880 return this._ordinal.replace('%d', number);
@@ -21585,6 +21884,7 @@
21585 future : 'in %s', 21884 future : 'in %s',
21586 past : '%s ago', 21885 past : '%s ago',
21587 s : 'a few seconds', 21886 s : 'a few seconds',
21887 ss : '%d seconds',
21588 m : 'a minute', 21888 m : 'a minute',
21589 mm : '%d minutes', 21889 mm : '%d minutes',
21590 h : 'an hour', 21890 h : 'an hour',
@@ -21767,7 +22067,7 @@
21767 return function (mom) { 22067 return function (mom) {
21768 var output = '', i; 22068 var output = '', i;
21769 for (i = 0; i < length; i++) { 22069 for (i = 0; i < length; i++) {
21770 output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; 22070 output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];
21771 } 22071 }
21772 return output; 22072 return output;
21773 }; 22073 };
@@ -21970,7 +22270,8 @@
21970 var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); 22270 var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
21971 function localeMonths (m, format) { 22271 function localeMonths (m, format) {
21972 if (!m) { 22272 if (!m) {
21973 return this._months; 22273 return isArray(this._months) ? this._months :
22274 this._months['standalone'];
21974 } 22275 }
21975 return isArray(this._months) ? this._months[m.month()] : 22276 return isArray(this._months) ? this._months[m.month()] :
21976 this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()]; 22277 this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
@@ -21979,7 +22280,8 @@
21979 var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); 22280 var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
21980 function localeMonthsShort (m, format) { 22281 function localeMonthsShort (m, format) {
21981 if (!m) { 22282 if (!m) {
21982 return this._monthsShort; 22283 return isArray(this._monthsShort) ? this._monthsShort :
22284 this._monthsShort['standalone'];
21983 } 22285 }
21984 return isArray(this._monthsShort) ? this._monthsShort[m.month()] : 22286 return isArray(this._monthsShort) ? this._monthsShort[m.month()] :
21985 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()]; 22287 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
@@ -22246,11 +22548,11 @@
22246 } 22548 }
22247 22549
22248 function createDate (y, m, d, h, M, s, ms) { 22550 function createDate (y, m, d, h, M, s, ms) {
22249 //can't just apply() to create a date: 22551 // can't just apply() to create a date:
22250 //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply 22552 // https://stackoverflow.com/q/181348
22251 var date = new Date(y, m, d, h, M, s, ms); 22553 var date = new Date(y, m, d, h, M, s, ms);
22252 22554
22253 //the date constructor remaps years 0-99 to 1900-1999 22555 // the date constructor remaps years 0-99 to 1900-1999
22254 if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { 22556 if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {
22255 date.setFullYear(y); 22557 date.setFullYear(y);
22256 } 22558 }
@@ -22260,7 +22562,7 @@
22260 function createUTCDate (y) { 22562 function createUTCDate (y) {
22261 var date = new Date(Date.UTC.apply(null, arguments)); 22563 var date = new Date(Date.UTC.apply(null, arguments));
22262 22564
22263 //the Date.UTC function remaps years 0-99 to 1900-1999 22565 // the Date.UTC function remaps years 0-99 to 1900-1999
22264 if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { 22566 if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) {
22265 date.setUTCFullYear(y); 22567 date.setUTCFullYear(y);
22266 } 22568 }
@@ -22277,7 +22579,7 @@
22277 return -fwdlw + fwd - 1; 22579 return -fwdlw + fwd - 1;
22278 } 22580 }
22279 22581
22280 //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday 22582 // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
22281 function dayOfYearFromWeeks(year, week, weekday, dow, doy) { 22583 function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
22282 var localWeekday = (7 + weekday - dow) % 7, 22584 var localWeekday = (7 + weekday - dow) % 7,
22283 weekOffset = firstWeekOffset(year, dow, doy), 22585 weekOffset = firstWeekOffset(year, dow, doy),
@@ -22478,7 +22780,8 @@
22478 var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); 22780 var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');
22479 function localeWeekdays (m, format) { 22781 function localeWeekdays (m, format) {
22480 if (!m) { 22782 if (!m) {
22481 return this._weekdays; 22783 return isArray(this._weekdays) ? this._weekdays :
22784 this._weekdays['standalone'];
22482 } 22785 }
22483 return isArray(this._weekdays) ? this._weekdays[m.day()] : 22786 return isArray(this._weekdays) ? this._weekdays[m.day()] :
22484 this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; 22787 this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];
@@ -22798,8 +23101,10 @@
22798 addRegexToken('A', matchMeridiem); 23101 addRegexToken('A', matchMeridiem);
22799 addRegexToken('H', match1to2); 23102 addRegexToken('H', match1to2);
22800 addRegexToken('h', match1to2); 23103 addRegexToken('h', match1to2);
23104 addRegexToken('k', match1to2);
22801 addRegexToken('HH', match1to2, match2); 23105 addRegexToken('HH', match1to2, match2);
22802 addRegexToken('hh', match1to2, match2); 23106 addRegexToken('hh', match1to2, match2);
23107 addRegexToken('kk', match1to2, match2);
22803 23108
22804 addRegexToken('hmm', match3to4); 23109 addRegexToken('hmm', match3to4);
22805 addRegexToken('hmmss', match5to6); 23110 addRegexToken('hmmss', match5to6);
@@ -22807,6 +23112,10 @@
22807 addRegexToken('Hmmss', match5to6); 23112 addRegexToken('Hmmss', match5to6);
22808 23113
22809 addParseToken(['H', 'HH'], HOUR); 23114 addParseToken(['H', 'HH'], HOUR);
23115 addParseToken(['k', 'kk'], function (input, array, config) {
23116 var kInput = toInt(input);
23117 array[HOUR] = kInput === 24 ? 0 : kInput;
23118 });
22810 addParseToken(['a', 'A'], function (input, array, config) { 23119 addParseToken(['a', 'A'], function (input, array, config) {
22811 config._isPm = config._locale.isPM(input); 23120 config._isPm = config._locale.isPM(input);
22812 config._meridiem = input; 23121 config._meridiem = input;
@@ -22877,7 +23186,7 @@
22877 longDateFormat: defaultLongDateFormat, 23186 longDateFormat: defaultLongDateFormat,
22878 invalidDate: defaultInvalidDate, 23187 invalidDate: defaultInvalidDate,
22879 ordinal: defaultOrdinal, 23188 ordinal: defaultOrdinal,
22880 ordinalParse: defaultOrdinalParse, 23189 dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
22881 relativeTime: defaultRelativeTime, 23190 relativeTime: defaultRelativeTime,
22882 23191
22883 months: defaultLocaleMonths, 23192 months: defaultLocaleMonths,
@@ -23188,6 +23497,77 @@
23188 } 23497 }
23189 } 23498 }
23190 23499
23500 // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
23501 var basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;
23502
23503 // date and time from ref 2822 format
23504 function configFromRFC2822(config) {
23505 var string, match, dayFormat,
23506 dateFormat, timeFormat, tzFormat;
23507 var timezones = {
23508 ' GMT': ' +0000',
23509 ' EDT': ' -0400',
23510 ' EST': ' -0500',
23511 ' CDT': ' -0500',
23512 ' CST': ' -0600',
23513 ' MDT': ' -0600',
23514 ' MST': ' -0700',
23515 ' PDT': ' -0700',
23516 ' PST': ' -0800'
23517 };
23518 var military = 'YXWVUTSRQPONZABCDEFGHIKLM';
23519 var timezone, timezoneIndex;
23520
23521 string = config._i
23522 .replace(/\([^\)]*\)|[\n\t]/g, ' ') // Remove comments and folding whitespace
23523 .replace(/(\s\s+)/g, ' ') // Replace multiple-spaces with a single space
23524 .replace(/^\s|\s$/g, ''); // Remove leading and trailing spaces
23525 match = basicRfcRegex.exec(string);
23526
23527 if (match) {
23528 dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : '';
23529 dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY ');
23530 timeFormat = 'HH:mm' + (match[4] ? ':ss' : '');
23531
23532 // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check.
23533 if (match[1]) { // day of week given
23534 var momentDate = new Date(match[2]);
23535 var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()];
23536
23537 if (match[1].substr(0,3) !== momentDay) {
23538 getParsingFlags(config).weekdayMismatch = true;
23539 config._isValid = false;
23540 return;
23541 }
23542 }
23543
23544 switch (match[5].length) {
23545 case 2: // military
23546 if (timezoneIndex === 0) {
23547 timezone = ' +0000';
23548 } else {
23549 timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12;
23550 timezone = ((timezoneIndex < 0) ? ' -' : ' +') +
23551 (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00';
23552 }
23553 break;
23554 case 4: // Zone
23555 timezone = timezones[match[5]];
23556 break;
23557 default: // UT or +/-9999
23558 timezone = timezones[' GMT'];
23559 }
23560 match[5] = timezone;
23561 config._i = match.splice(1).join('');
23562 tzFormat = ' ZZ';
23563 config._f = dayFormat + dateFormat + timeFormat + tzFormat;
23564 configFromStringAndFormat(config);
23565 getParsingFlags(config).rfc2822 = true;
23566 } else {
23567 config._isValid = false;
23568 }
23569 }
23570
23191 // date from iso format or fallback 23571 // date from iso format or fallback
23192 function configFromString(config) { 23572 function configFromString(config) {
23193 var matched = aspNetJsonRegex.exec(config._i); 23573 var matched = aspNetJsonRegex.exec(config._i);
@@ -23200,13 +23580,24 @@
23200 configFromISO(config); 23580 configFromISO(config);
23201 if (config._isValid === false) { 23581 if (config._isValid === false) {
23202 delete config._isValid; 23582 delete config._isValid;
23203 hooks.createFromInputFallback(config); 23583 } else {
23584 return;
23585 }
23586
23587 configFromRFC2822(config);
23588 if (config._isValid === false) {
23589 delete config._isValid;
23590 } else {
23591 return;
23204 } 23592 }
23593
23594 // Final attempt, use Input Fallback
23595 hooks.createFromInputFallback(config);
23205 } 23596 }
23206 23597
23207 hooks.createFromInputFallback = deprecate( 23598 hooks.createFromInputFallback = deprecate(
23208 'value provided is not in a recognized ISO format. moment construction falls back to js Date(), ' + 23599 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
23209 'which is not reliable across all browsers and versions. Non ISO date formats are ' + 23600 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
23210 'discouraged and will be removed in an upcoming major release. Please refer to ' + 23601 'discouraged and will be removed in an upcoming major release. Please refer to ' +
23211 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', 23602 'http://momentjs.com/guides/#/warnings/js-date/ for more info.',
23212 function (config) { 23603 function (config) {
@@ -23253,10 +23644,10 @@
23253 } 23644 }
23254 23645
23255 //if the day of the year is set, figure out what it is 23646 //if the day of the year is set, figure out what it is
23256 if (config._dayOfYear) { 23647 if (config._dayOfYear != null) {
23257 yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); 23648 yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
23258 23649
23259 if (config._dayOfYear > daysInYear(yearToUse)) { 23650 if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
23260 getParsingFlags(config)._overflowDayOfYear = true; 23651 getParsingFlags(config)._overflowDayOfYear = true;
23261 } 23652 }
23262 23653
@@ -23360,6 +23751,9 @@
23360 // constant that refers to the ISO standard 23751 // constant that refers to the ISO standard
23361 hooks.ISO_8601 = function () {}; 23752 hooks.ISO_8601 = function () {};
23362 23753
23754 // constant that refers to the RFC 2822 form
23755 hooks.RFC_2822 = function () {};
23756
23363 // date from string and format string 23757 // date from string and format string
23364 function configFromStringAndFormat(config) { 23758 function configFromStringAndFormat(config) {
23365 // TODO: Move this to another part of the creation flow to prevent circular deps 23759 // TODO: Move this to another part of the creation flow to prevent circular deps
@@ -23367,7 +23761,10 @@
23367 configFromISO(config); 23761 configFromISO(config);
23368 return; 23762 return;
23369 } 23763 }
23370 23764 if (config._f === hooks.RFC_2822) {
23765 configFromRFC2822(config);
23766 return;
23767 }
23371 config._a = []; 23768 config._a = [];
23372 getParsingFlags(config).empty = true; 23769 getParsingFlags(config).empty = true;
23373 23770
@@ -23559,7 +23956,7 @@
23559 23956
23560 function configFromInput(config) { 23957 function configFromInput(config) {
23561 var input = config._i; 23958 var input = config._i;
23562 if (input === undefined) { 23959 if (isUndefined(input)) {
23563 config._d = new Date(hooks.now()); 23960 config._d = new Date(hooks.now());
23564 } else if (isDate(input)) { 23961 } else if (isDate(input)) {
23565 config._d = new Date(input.valueOf()); 23962 config._d = new Date(input.valueOf());
@@ -23570,7 +23967,7 @@
23570 return parseInt(obj, 10); 23967 return parseInt(obj, 10);
23571 }); 23968 });
23572 configFromArray(config); 23969 configFromArray(config);
23573 } else if (typeof(input) === 'object') { 23970 } else if (isObject(input)) {
23574 configFromObject(config); 23971 configFromObject(config);
23575 } else if (isNumber(input)) { 23972 } else if (isNumber(input)) {
23576 // from milliseconds 23973 // from milliseconds
@@ -23671,6 +24068,38 @@
23671 return Date.now ? Date.now() : +(new Date()); 24068 return Date.now ? Date.now() : +(new Date());
23672 }; 24069 };
23673 24070
24071 var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];
24072
24073 function isDurationValid(m) {
24074 for (var key in m) {
24075 if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
24076 return false;
24077 }
24078 }
24079
24080 var unitHasDecimal = false;
24081 for (var i = 0; i < ordering.length; ++i) {
24082 if (m[ordering[i]]) {
24083 if (unitHasDecimal) {
24084 return false; // only allow non-integers for smallest unit
24085 }
24086 if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
24087 unitHasDecimal = true;
24088 }
24089 }
24090 }
24091
24092 return true;
24093 }
24094
24095 function isValid$1() {
24096 return this._isValid;
24097 }
24098
24099 function createInvalid$1() {
24100 return createDuration(NaN);
24101 }
24102
23674 function Duration (duration) { 24103 function Duration (duration) {
23675 var normalizedInput = normalizeObjectUnits(duration), 24104 var normalizedInput = normalizeObjectUnits(duration),
23676 years = normalizedInput.year || 0, 24105 years = normalizedInput.year || 0,
@@ -23683,6 +24112,8 @@
23683 seconds = normalizedInput.second || 0, 24112 seconds = normalizedInput.second || 0,
23684 milliseconds = normalizedInput.millisecond || 0; 24113 milliseconds = normalizedInput.millisecond || 0;
23685 24114
24115 this._isValid = isDurationValid(normalizedInput);
24116
23686 // representation for dateAddRemove 24117 // representation for dateAddRemove
23687 this._milliseconds = +milliseconds + 24118 this._milliseconds = +milliseconds +
23688 seconds * 1e3 + // 1000 24119 seconds * 1e3 + // 1000
@@ -23806,7 +24237,7 @@
23806 // a second time. In case it wants us to change the offset again 24237 // a second time. In case it wants us to change the offset again
23807 // _changeInProgress == true case, then we have to adjust, because 24238 // _changeInProgress == true case, then we have to adjust, because
23808 // there is no such time in the given timezone. 24239 // there is no such time in the given timezone.
23809 function getSetOffset (input, keepLocalTime) { 24240 function getSetOffset (input, keepLocalTime, keepMinutes) {
23810 var offset = this._offset || 0, 24241 var offset = this._offset || 0,
23811 localAdjust; 24242 localAdjust;
23812 if (!this.isValid()) { 24243 if (!this.isValid()) {
@@ -23818,7 +24249,7 @@
23818 if (input === null) { 24249 if (input === null) {
23819 return this; 24250 return this;
23820 } 24251 }
23821 } else if (Math.abs(input) < 16) { 24252 } else if (Math.abs(input) < 16 && !keepMinutes) {
23822 input = input * 60; 24253 input = input * 60;
23823 } 24254 }
23824 if (!this._isUTC && keepLocalTime) { 24255 if (!this._isUTC && keepLocalTime) {
@@ -23876,7 +24307,7 @@
23876 24307
23877 function setOffsetToParsedOffset () { 24308 function setOffsetToParsedOffset () {
23878 if (this._tzm != null) { 24309 if (this._tzm != null) {
23879 this.utcOffset(this._tzm); 24310 this.utcOffset(this._tzm, false, true);
23880 } else if (typeof this._i === 'string') { 24311 } else if (typeof this._i === 'string') {
23881 var tZone = offsetFromString(matchOffset, this._i); 24312 var tZone = offsetFromString(matchOffset, this._i);
23882 if (tZone != null) { 24313 if (tZone != null) {
@@ -24008,6 +24439,7 @@
24008 } 24439 }
24009 24440
24010 createDuration.fn = Duration.prototype; 24441 createDuration.fn = Duration.prototype;
24442 createDuration.invalid = createInvalid$1;
24011 24443
24012 function parseIso (inp, sign) { 24444 function parseIso (inp, sign) {
24013 // We'd normally use ~~inp for this, but unfortunately it also 24445 // We'd normally use ~~inp for this, but unfortunately it also
@@ -24244,18 +24676,19 @@
24244 return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); 24676 return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
24245 } 24677 }
24246 24678
24247 function toISOString () { 24679 function toISOString() {
24680 if (!this.isValid()) {
24681 return null;
24682 }
24248 var m = this.clone().utc(); 24683 var m = this.clone().utc();
24249 if (0 < m.year() && m.year() <= 9999) { 24684 if (m.year() < 0 || m.year() > 9999) {
24250 if (isFunction(Date.prototype.toISOString)) {
24251 // native implementation is ~50x faster, use it when we can
24252 return this.toDate().toISOString();
24253 } else {
24254 return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
24255 }
24256 } else {
24257 return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); 24685 return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
24258 } 24686 }
24687 if (isFunction(Date.prototype.toISOString)) {
24688 // native implementation is ~50x faster, use it when we can
24689 return this.toDate().toISOString();
24690 }
24691 return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
24259 } 24692 }
24260 24693
24261 /** 24694 /**
@@ -24275,7 +24708,7 @@
24275 zone = 'Z'; 24708 zone = 'Z';
24276 } 24709 }
24277 var prefix = '[' + func + '("]'; 24710 var prefix = '[' + func + '("]';
24278 var year = (0 < this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY'; 24711 var year = (0 <= this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY';
24279 var datetime = '-MM-DD[T]HH:mm:ss.SSS'; 24712 var datetime = '-MM-DD[T]HH:mm:ss.SSS';
24280 var suffix = zone + '[")]'; 24713 var suffix = zone + '[")]';
24281 24714
@@ -24443,7 +24876,7 @@
24443 return this.isValid() ? this.toISOString() : null; 24876 return this.isValid() ? this.toISOString() : null;
24444 } 24877 }
24445 24878
24446 function isValid$1 () { 24879 function isValid$2 () {
24447 return isValid(this); 24880 return isValid(this);
24448 } 24881 }
24449 24882
@@ -24603,7 +25036,10 @@
24603 addRegexToken('D', match1to2); 25036 addRegexToken('D', match1to2);
24604 addRegexToken('DD', match1to2, match2); 25037 addRegexToken('DD', match1to2, match2);
24605 addRegexToken('Do', function (isStrict, locale) { 25038 addRegexToken('Do', function (isStrict, locale) {
24606 return isStrict ? locale._ordinalParse : locale._ordinalParseLenient; 25039 // TODO: Remove "ordinalParse" fallback in next major release.
25040 return isStrict ?
25041 (locale._dayOfMonthOrdinalParse || locale._ordinalParse) :
25042 locale._dayOfMonthOrdinalParseLenient;
24607 }); 25043 });
24608 25044
24609 addParseToken(['D', 'DD'], DATE); 25045 addParseToken(['D', 'DD'], DATE);
@@ -24783,7 +25219,7 @@
24783 proto.isSame = isSame; 25219 proto.isSame = isSame;
24784 proto.isSameOrAfter = isSameOrAfter; 25220 proto.isSameOrAfter = isSameOrAfter;
24785 proto.isSameOrBefore = isSameOrBefore; 25221 proto.isSameOrBefore = isSameOrBefore;
24786 proto.isValid = isValid$1; 25222 proto.isValid = isValid$2;
24787 proto.lang = lang; 25223 proto.lang = lang;
24788 proto.locale = locale; 25224 proto.locale = locale;
24789 proto.localeData = localeData; 25225 proto.localeData = localeData;
@@ -25008,7 +25444,7 @@
25008 } 25444 }
25009 25445
25010 getSetGlobalLocale('en', { 25446 getSetGlobalLocale('en', {
25011 ordinalParse: /\d{1,2}(th|st|nd|rd)/, 25447 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
25012 ordinal : function (number) { 25448 ordinal : function (number) {
25013 var b = number % 10, 25449 var b = number % 10,
25014 output = (toInt(number % 100 / 10) === 1) ? 'th' : 25450 output = (toInt(number % 100 / 10) === 1) ? 'th' :
@@ -25129,6 +25565,9 @@
25129 } 25565 }
25130 25566
25131 function as (units) { 25567 function as (units) {
25568 if (!this.isValid()) {
25569 return NaN;
25570 }
25132 var days; 25571 var days;
25133 var months; 25572 var months;
25134 var milliseconds = this._milliseconds; 25573 var milliseconds = this._milliseconds;
@@ -25157,6 +25596,9 @@
25157 25596
25158 // TODO: Use this.as('ms')? 25597 // TODO: Use this.as('ms')?
25159 function valueOf$1 () { 25598 function valueOf$1 () {
25599 if (!this.isValid()) {
25600 return NaN;
25601 }
25160 return ( 25602 return (
25161 this._milliseconds + 25603 this._milliseconds +
25162 this._days * 864e5 + 25604 this._days * 864e5 +
@@ -25182,12 +25624,12 @@
25182 25624
25183 function get$2 (units) { 25625 function get$2 (units) {
25184 units = normalizeUnits(units); 25626 units = normalizeUnits(units);
25185 return this[units + 's'](); 25627 return this.isValid() ? this[units + 's']() : NaN;
25186 } 25628 }
25187 25629
25188 function makeGetter(name) { 25630 function makeGetter(name) {
25189 return function () { 25631 return function () {
25190 return this._data[name]; 25632 return this.isValid() ? this._data[name] : NaN;
25191 }; 25633 };
25192 } 25634 }
25193 25635
@@ -25205,11 +25647,12 @@
25205 25647
25206 var round = Math.round; 25648 var round = Math.round;
25207 var thresholds = { 25649 var thresholds = {
25208 s: 45, // seconds to minute 25650 ss: 44, // a few seconds to seconds
25209 m: 45, // minutes to hour 25651 s : 45, // seconds to minute
25210 h: 22, // hours to day 25652 m : 45, // minutes to hour
25211 d: 26, // days to month 25653 h : 22, // hours to day
25212 M: 11 // months to year 25654 d : 26, // days to month
25655 M : 11 // months to year
25213 }; 25656 };
25214 25657
25215 // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize 25658 // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
@@ -25226,16 +25669,17 @@
25226 var months = round(duration.as('M')); 25669 var months = round(duration.as('M'));
25227 var years = round(duration.as('y')); 25670 var years = round(duration.as('y'));
25228 25671
25229 var a = seconds < thresholds.s && ['s', seconds] || 25672 var a = seconds <= thresholds.ss && ['s', seconds] ||
25230 minutes <= 1 && ['m'] || 25673 seconds < thresholds.s && ['ss', seconds] ||
25231 minutes < thresholds.m && ['mm', minutes] || 25674 minutes <= 1 && ['m'] ||
25232 hours <= 1 && ['h'] || 25675 minutes < thresholds.m && ['mm', minutes] ||
25233 hours < thresholds.h && ['hh', hours] || 25676 hours <= 1 && ['h'] ||
25234 days <= 1 && ['d'] || 25677 hours < thresholds.h && ['hh', hours] ||
25235 days < thresholds.d && ['dd', days] || 25678 days <= 1 && ['d'] ||
25236 months <= 1 && ['M'] || 25679 days < thresholds.d && ['dd', days] ||
25237 months < thresholds.M && ['MM', months] || 25680 months <= 1 && ['M'] ||
25238 years <= 1 && ['y'] || ['yy', years]; 25681 months < thresholds.M && ['MM', months] ||
25682 years <= 1 && ['y'] || ['yy', years];
25239 25683
25240 a[2] = withoutSuffix; 25684 a[2] = withoutSuffix;
25241 a[3] = +posNegDuration > 0; 25685 a[3] = +posNegDuration > 0;
@@ -25264,10 +25708,17 @@
25264 return thresholds[threshold]; 25708 return thresholds[threshold];
25265 } 25709 }
25266 thresholds[threshold] = limit; 25710 thresholds[threshold] = limit;
25711 if (threshold === 's') {
25712 thresholds.ss = limit - 1;
25713 }
25267 return true; 25714 return true;
25268 } 25715 }
25269 25716
25270 function humanize (withSuffix) { 25717 function humanize (withSuffix) {
25718 if (!this.isValid()) {
25719 return this.localeData().invalidDate();
25720 }
25721
25271 var locale = this.localeData(); 25722 var locale = this.localeData();
25272 var output = relativeTime$1(this, !withSuffix, locale); 25723 var output = relativeTime$1(this, !withSuffix, locale);
25273 25724
@@ -25288,6 +25739,10 @@
25288 // This is because there is no context-free conversion between hours and days 25739 // This is because there is no context-free conversion between hours and days
25289 // (think of clock changes) 25740 // (think of clock changes)
25290 // and also not between days and months (28-31 days per month) 25741 // and also not between days and months (28-31 days per month)
25742 if (!this.isValid()) {
25743 return this.localeData().invalidDate();
25744 }
25745
25291 var seconds = abs$1(this._milliseconds) / 1000; 25746 var seconds = abs$1(this._milliseconds) / 1000;
25292 var days = abs$1(this._days); 25747 var days = abs$1(this._days);
25293 var months = abs$1(this._months); 25748 var months = abs$1(this._months);
@@ -25332,6 +25787,7 @@
25332 25787
25333 var proto$2 = Duration.prototype; 25788 var proto$2 = Duration.prototype;
25334 25789
25790 proto$2.isValid = isValid$1;
25335 proto$2.abs = abs; 25791 proto$2.abs = abs;
25336 proto$2.add = add$1; 25792 proto$2.add = add$1;
25337 proto$2.subtract = subtract$1; 25793 proto$2.subtract = subtract$1;
@@ -25387,7 +25843,7 @@
25387 // Side effect imports 25843 // Side effect imports
25388 25844
25389 25845
25390 hooks.version = '2.17.1'; 25846 hooks.version = '2.18.1';
25391 25847
25392 setHookCallback(createLocal); 25848 setHookCallback(createLocal);
25393 25849
@@ -25424,9 +25880,9 @@
25424 }))); 25880 })));
25425 25881
25426 25882
25427/***/ }, 25883/***/ }),
25428/* 181 */ 25884/* 185 */
25429/***/ function(module, exports, __webpack_require__) { 25885/***/ (function(module, exports, __webpack_require__) {
25430 25886
25431 'use strict'; 25887 'use strict';
25432 25888
@@ -25434,7 +25890,7 @@
25434 value: true 25890 value: true
25435 }); 25891 });
25436 25892
25437 var _src = __webpack_require__(182); 25893 var _src = __webpack_require__(186);
25438 25894
25439 var _src2 = _interopRequireDefault(_src); 25895 var _src2 = _interopRequireDefault(_src);
25440 25896
@@ -25443,9 +25899,9 @@
25443 exports.default = _src2.default; 25899 exports.default = _src2.default;
25444 module.exports = exports['default']; 25900 module.exports = exports['default'];
25445 25901
25446/***/ }, 25902/***/ }),
25447/* 182 */ 25903/* 186 */
25448/***/ function(module, exports, __webpack_require__) { 25904/***/ (function(module, exports, __webpack_require__) {
25449 25905
25450 'use strict'; 25906 'use strict';
25451 25907
@@ -25453,7 +25909,7 @@
25453 value: true 25909 value: true
25454 }); 25910 });
25455 25911
25456 var _TimePicker = __webpack_require__(183); 25912 var _TimePicker = __webpack_require__(187);
25457 25913
25458 var _TimePicker2 = _interopRequireDefault(_TimePicker); 25914 var _TimePicker2 = _interopRequireDefault(_TimePicker);
25459 25915
@@ -25462,9 +25918,9 @@
25462 exports.default = _TimePicker2.default; 25918 exports.default = _TimePicker2.default;
25463 module.exports = exports['default']; 25919 module.exports = exports['default'];
25464 25920
25465/***/ }, 25921/***/ }),
25466/* 183 */ 25922/* 187 */
25467/***/ function(module, exports, __webpack_require__) { 25923/***/ (function(module, exports, __webpack_require__) {
25468 25924
25469 'use strict'; 25925 'use strict';
25470 25926
@@ -25472,23 +25928,39 @@
25472 value: true 25928 value: true
25473 }); 25929 });
25474 25930
25931 var _classCallCheck2 = __webpack_require__(188);
25932
25933 var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
25934
25935 var _possibleConstructorReturn2 = __webpack_require__(189);
25936
25937 var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
25938
25939 var _inherits2 = __webpack_require__(258);
25940
25941 var _inherits3 = _interopRequireDefault(_inherits2);
25942
25475 var _react = __webpack_require__(3); 25943 var _react = __webpack_require__(3);
25476 25944
25477 var _react2 = _interopRequireDefault(_react); 25945 var _react2 = _interopRequireDefault(_react);
25478 25946
25479 var _rcTrigger = __webpack_require__(184); 25947 var _propTypes = __webpack_require__(266);
25948
25949 var _propTypes2 = _interopRequireDefault(_propTypes);
25950
25951 var _rcTrigger = __webpack_require__(268);
25480 25952
25481 var _rcTrigger2 = _interopRequireDefault(_rcTrigger); 25953 var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
25482 25954
25483 var _Panel = __webpack_require__(256); 25955 var _Panel = __webpack_require__(307);
25484 25956
25485 var _Panel2 = _interopRequireDefault(_Panel); 25957 var _Panel2 = _interopRequireDefault(_Panel);
25486 25958
25487 var _placements = __webpack_require__(265); 25959 var _placements = __webpack_require__(316);
25488 25960
25489 var _placements2 = _interopRequireDefault(_placements); 25961 var _placements2 = _interopRequireDefault(_placements);
25490 25962
25491 var _moment = __webpack_require__(180); 25963 var _moment = __webpack_require__(184);
25492 25964
25493 var _moment2 = _interopRequireDefault(_moment); 25965 var _moment2 = _interopRequireDefault(_moment);
25494 25966
@@ -25500,85 +25972,33 @@
25500 this[field] = component; 25972 this[field] = component;
25501 } 25973 }
25502 25974
25503 var Picker = _react2.default.createClass({ 25975 var Picker = function (_Component) {
25504 displayName: 'Picker', 25976 (0, _inherits3.default)(Picker, _Component);
25505 25977
25506 propTypes: { 25978 function Picker(props) {
25507 prefixCls: _react.PropTypes.string, 25979 (0, _classCallCheck3.default)(this, Picker);
25508 clearText: _react.PropTypes.string,
25509 value: _react.PropTypes.object,
25510 defaultOpenValue: _react.PropTypes.object,
25511 disabled: _react.PropTypes.bool,
25512 allowEmpty: _react.PropTypes.bool,
25513 defaultValue: _react.PropTypes.object,
25514 open: _react.PropTypes.bool,
25515 defaultOpen: _react.PropTypes.bool,
25516 align: _react.PropTypes.object,
25517 placement: _react.PropTypes.any,
25518 transitionName: _react.PropTypes.string,
25519 getPopupContainer: _react.PropTypes.func,
25520 placeholder: _react.PropTypes.string,
25521 format: _react.PropTypes.string,
25522 showHour: _react.PropTypes.bool,
25523 showMinute: _react.PropTypes.bool,
25524 showSecond: _react.PropTypes.bool,
25525 style: _react.PropTypes.object,
25526 className: _react.PropTypes.string,
25527 disabledHours: _react.PropTypes.func,
25528 disabledMinutes: _react.PropTypes.func,
25529 disabledSeconds: _react.PropTypes.func,
25530 hideDisabledOptions: _react.PropTypes.bool,
25531 onChange: _react.PropTypes.func,
25532 onOpen: _react.PropTypes.func,
25533 onClose: _react.PropTypes.func,
25534 addon: _react.PropTypes.func,
25535 name: _react.PropTypes.string,
25536 autoComplete: _react.PropTypes.string,
25537 use12Hours: _react.PropTypes.bool
25538 },
25539 25980
25540 getDefaultProps: function getDefaultProps() { 25981 var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props));
25541 return { 25982
25542 clearText: 'clear', 25983 _initialiseProps.call(_this);
25543 prefixCls: 'rc-time-picker', 25984
25544 defaultOpen: false, 25985 _this.saveInputRef = refFn.bind(_this, 'picker');
25545 style: {}, 25986 _this.savePanelRef = refFn.bind(_this, 'panelInstance');
25546 className: '', 25987 var defaultOpen = props.defaultOpen,
25547 align: {}, 25988 defaultValue = props.defaultValue,
25548 defaultOpenValue: (0, _moment2.default)(), 25989 _props$open = props.open,
25549 allowEmpty: true,
25550 showHour: true,
25551 showMinute: true,
25552 showSecond: true,
25553 disabledHours: noop,
25554 disabledMinutes: noop,
25555 disabledSeconds: noop,
25556 hideDisabledOptions: false,
25557 placement: 'bottomLeft',
25558 onChange: noop,
25559 onOpen: noop,
25560 onClose: noop,
25561 addon: noop,
25562 use12Hours: false
25563 };
25564 },
25565 getInitialState: function getInitialState() {
25566 this.saveInputRef = refFn.bind(this, 'picker');
25567 this.savePanelRef = refFn.bind(this, 'panelInstance');
25568 var _props = this.props,
25569 defaultOpen = _props.defaultOpen,
25570 defaultValue = _props.defaultValue,
25571 _props$open = _props.open,
25572 open = _props$open === undefined ? defaultOpen : _props$open, 25990 open = _props$open === undefined ? defaultOpen : _props$open,
25573 _props$value = _props.value, 25991 _props$value = props.value,
25574 value = _props$value === undefined ? defaultValue : _props$value; 25992 value = _props$value === undefined ? defaultValue : _props$value;
25575 25993
25576 return { 25994 _this.state = {
25577 open: open, 25995 open: open,
25578 value: value 25996 value: value
25579 }; 25997 };
25580 }, 25998 return _this;
25581 componentWillReceiveProps: function componentWillReceiveProps(nextProps) { 25999 }
26000
26001 Picker.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
25582 var value = nextProps.value, 26002 var value = nextProps.value,
25583 open = nextProps.open; 26003 open = nextProps.open;
25584 26004
@@ -25590,41 +26010,24 @@
25590 if (open !== undefined) { 26010 if (open !== undefined) {
25591 this.setState({ open: open }); 26011 this.setState({ open: open });
25592 } 26012 }
25593 }, 26013 };
25594 onPanelChange: function onPanelChange(value) { 26014
25595 this.setValue(value); 26015 Picker.prototype.setValue = function setValue(value) {
25596 },
25597 onPanelClear: function onPanelClear() {
25598 this.setValue(null);
25599 this.setOpen(false);
25600 },
25601 onVisibleChange: function onVisibleChange(open) {
25602 this.setOpen(open);
25603 },
25604 onEsc: function onEsc() {
25605 this.setOpen(false);
25606 this.focus();
25607 },
25608 onKeyDown: function onKeyDown(e) {
25609 if (e.keyCode === 40) {
25610 this.setOpen(true);
25611 }
25612 },
25613 setValue: function setValue(value) {
25614 if (!('value' in this.props)) { 26016 if (!('value' in this.props)) {
25615 this.setState({ 26017 this.setState({
25616 value: value 26018 value: value
25617 }); 26019 });
25618 } 26020 }
25619 this.props.onChange(value); 26021 this.props.onChange(value);
25620 }, 26022 };
25621 getFormat: function getFormat() { 26023
25622 var _props2 = this.props, 26024 Picker.prototype.getFormat = function getFormat() {
25623 format = _props2.format, 26025 var _props = this.props,
25624 showHour = _props2.showHour, 26026 format = _props.format,
25625 showMinute = _props2.showMinute, 26027 showHour = _props.showHour,
25626 showSecond = _props2.showSecond, 26028 showMinute = _props.showMinute,
25627 use12Hours = _props2.use12Hours; 26029 showSecond = _props.showSecond,
26030 use12Hours = _props.use12Hours;
25628 26031
25629 if (format) { 26032 if (format) {
25630 return format; 26033 return format;
@@ -25641,23 +26044,24 @@
25641 return [showHour ? 'HH' : '', showMinute ? 'mm' : '', showSecond ? 'ss' : ''].filter(function (item) { 26044 return [showHour ? 'HH' : '', showMinute ? 'mm' : '', showSecond ? 'ss' : ''].filter(function (item) {
25642 return !!item; 26045 return !!item;
25643 }).join(':'); 26046 }).join(':');
25644 }, 26047 };
25645 getPanelElement: function getPanelElement() { 26048
25646 var _props3 = this.props, 26049 Picker.prototype.getPanelElement = function getPanelElement() {
25647 prefixCls = _props3.prefixCls, 26050 var _props2 = this.props,
25648 placeholder = _props3.placeholder, 26051 prefixCls = _props2.prefixCls,
25649 disabledHours = _props3.disabledHours, 26052 placeholder = _props2.placeholder,
25650 disabledMinutes = _props3.disabledMinutes, 26053 disabledHours = _props2.disabledHours,
25651 disabledSeconds = _props3.disabledSeconds, 26054 disabledMinutes = _props2.disabledMinutes,
25652 hideDisabledOptions = _props3.hideDisabledOptions, 26055 disabledSeconds = _props2.disabledSeconds,
25653 allowEmpty = _props3.allowEmpty, 26056 hideDisabledOptions = _props2.hideDisabledOptions,
25654 showHour = _props3.showHour, 26057 allowEmpty = _props2.allowEmpty,
25655 showMinute = _props3.showMinute, 26058 showHour = _props2.showHour,
25656 showSecond = _props3.showSecond, 26059 showMinute = _props2.showMinute,
25657 defaultOpenValue = _props3.defaultOpenValue, 26060 showSecond = _props2.showSecond,
25658 clearText = _props3.clearText, 26061 defaultOpenValue = _props2.defaultOpenValue,
25659 addon = _props3.addon, 26062 clearText = _props2.clearText,
25660 use12Hours = _props3.use12Hours; 26063 addon = _props2.addon,
26064 use12Hours = _props2.use12Hours;
25661 26065
25662 return _react2.default.createElement(_Panel2.default, { 26066 return _react2.default.createElement(_Panel2.default, {
25663 clearText: clearText, 26067 clearText: clearText,
@@ -25681,11 +26085,12 @@
25681 use12Hours: use12Hours, 26085 use12Hours: use12Hours,
25682 addon: addon 26086 addon: addon
25683 }); 26087 });
25684 }, 26088 };
25685 setOpen: function setOpen(open) { 26089
25686 var _props4 = this.props, 26090 Picker.prototype.setOpen = function setOpen(open) {
25687 onOpen = _props4.onOpen, 26091 var _props3 = this.props,
25688 onClose = _props4.onClose; 26092 onOpen = _props3.onOpen,
26093 onClose = _props3.onClose;
25689 26094
25690 if (this.state.open !== open) { 26095 if (this.state.open !== open) {
25691 if (!('open' in this.props)) { 26096 if (!('open' in this.props)) {
@@ -25697,27 +26102,29 @@
25697 onClose({ open: open }); 26102 onClose({ open: open });
25698 } 26103 }
25699 } 26104 }
25700 }, 26105 };
25701 focus: function focus() { 26106
26107 Picker.prototype.focus = function focus() {
25702 this.picker.focus(); 26108 this.picker.focus();
25703 }, 26109 };
25704 render: function render() { 26110
25705 var _props5 = this.props, 26111 Picker.prototype.render = function render() {
25706 prefixCls = _props5.prefixCls, 26112 var _props4 = this.props,
25707 placeholder = _props5.placeholder, 26113 prefixCls = _props4.prefixCls,
25708 placement = _props5.placement, 26114 placeholder = _props4.placeholder,
25709 align = _props5.align, 26115 placement = _props4.placement,
25710 disabled = _props5.disabled, 26116 align = _props4.align,
25711 transitionName = _props5.transitionName, 26117 disabled = _props4.disabled,
25712 style = _props5.style, 26118 transitionName = _props4.transitionName,
25713 className = _props5.className, 26119 style = _props4.style,
25714 showHour = _props5.showHour, 26120 className = _props4.className,
25715 showMinute = _props5.showMinute, 26121 showHour = _props4.showHour,
25716 showSecond = _props5.showSecond, 26122 showMinute = _props4.showMinute,
25717 getPopupContainer = _props5.getPopupContainer, 26123 showSecond = _props4.showSecond,
25718 name = _props5.name, 26124 getPopupContainer = _props4.getPopupContainer,
25719 autoComplete = _props5.autoComplete, 26125 name = _props4.name,
25720 use12Hours = _props5.use12Hours; 26126 autoComplete = _props4.autoComplete,
26127 use12Hours = _props4.use12Hours;
25721 var _state = this.state, 26128 var _state = this.state,
25722 open = _state.open, 26129 open = _state.open,
25723 value = _state.value; 26130 value = _state.value;
@@ -25759,23 +26166,1639 @@
25759 _react2.default.createElement('span', { className: prefixCls + '-icon' }) 26166 _react2.default.createElement('span', { className: prefixCls + '-icon' })
25760 ) 26167 )
25761 ); 26168 );
25762 } 26169 };
25763 }); 26170
26171 return Picker;
26172 }(_react.Component);
26173
26174 Picker.propTypes = {
26175 prefixCls: _propTypes2.default.string,
26176 clearText: _propTypes2.default.string,
26177 value: _propTypes2.default.object,
26178 defaultOpenValue: _propTypes2.default.object,
26179 disabled: _propTypes2.default.bool,
26180 allowEmpty: _propTypes2.default.bool,
26181 defaultValue: _propTypes2.default.object,
26182 open: _propTypes2.default.bool,
26183 defaultOpen: _propTypes2.default.bool,
26184 align: _propTypes2.default.object,
26185 placement: _propTypes2.default.any,
26186 transitionName: _propTypes2.default.string,
26187 getPopupContainer: _propTypes2.default.func,
26188 placeholder: _propTypes2.default.string,
26189 format: _propTypes2.default.string,
26190 showHour: _propTypes2.default.bool,
26191 showMinute: _propTypes2.default.bool,
26192 showSecond: _propTypes2.default.bool,
26193 style: _propTypes2.default.object,
26194 className: _propTypes2.default.string,
26195 disabledHours: _propTypes2.default.func,
26196 disabledMinutes: _propTypes2.default.func,
26197 disabledSeconds: _propTypes2.default.func,
26198 hideDisabledOptions: _propTypes2.default.bool,
26199 onChange: _propTypes2.default.func,
26200 onOpen: _propTypes2.default.func,
26201 onClose: _propTypes2.default.func,
26202 addon: _propTypes2.default.func,
26203 name: _propTypes2.default.string,
26204 autoComplete: _propTypes2.default.string,
26205 use12Hours: _propTypes2.default.bool
26206 };
26207 Picker.defaultProps = {
26208 clearText: 'clear',
26209 prefixCls: 'rc-time-picker',
26210 defaultOpen: false,
26211 style: {},
26212 className: '',
26213 align: {},
26214 defaultOpenValue: (0, _moment2.default)(),
26215 allowEmpty: true,
26216 showHour: true,
26217 showMinute: true,
26218 showSecond: true,
26219 disabledHours: noop,
26220 disabledMinutes: noop,
26221 disabledSeconds: noop,
26222 hideDisabledOptions: false,
26223 placement: 'bottomLeft',
26224 onChange: noop,
26225 onOpen: noop,
26226 onClose: noop,
26227 addon: noop,
26228 use12Hours: false
26229 };
26230
26231 var _initialiseProps = function _initialiseProps() {
26232 var _this2 = this;
26233
26234 this.onPanelChange = function (value) {
26235 _this2.setValue(value);
26236 };
26237
26238 this.onPanelClear = function () {
26239 _this2.setValue(null);
26240 _this2.setOpen(false);
26241 };
26242
26243 this.onVisibleChange = function (open) {
26244 _this2.setOpen(open);
26245 };
26246
26247 this.onEsc = function () {
26248 _this2.setOpen(false);
26249 _this2.focus();
26250 };
26251
26252 this.onKeyDown = function (e) {
26253 if (e.keyCode === 40) {
26254 _this2.setOpen(true);
26255 }
26256 };
26257 };
25764 26258
25765 exports.default = Picker; 26259 exports.default = Picker;
25766 module.exports = exports['default']; 26260 module.exports = exports['default'];
25767 26261
25768/***/ }, 26262/***/ }),
25769/* 184 */ 26263/* 188 */
25770/***/ function(module, exports, __webpack_require__) { 26264/***/ (function(module, exports) {
26265
26266 "use strict";
26267
26268 exports.__esModule = true;
26269
26270 exports.default = function (instance, Constructor) {
26271 if (!(instance instanceof Constructor)) {
26272 throw new TypeError("Cannot call a class as a function");
26273 }
26274 };
26275
26276/***/ }),
26277/* 189 */
26278/***/ (function(module, exports, __webpack_require__) {
26279
26280 "use strict";
26281
26282 exports.__esModule = true;
26283
26284 var _typeof2 = __webpack_require__(190);
26285
26286 var _typeof3 = _interopRequireDefault(_typeof2);
26287
26288 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26289
26290 exports.default = function (self, call) {
26291 if (!self) {
26292 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
26293 }
26294
26295 return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
26296 };
26297
26298/***/ }),
26299/* 190 */
26300/***/ (function(module, exports, __webpack_require__) {
26301
26302 "use strict";
26303
26304 exports.__esModule = true;
26305
26306 var _iterator = __webpack_require__(191);
26307
26308 var _iterator2 = _interopRequireDefault(_iterator);
26309
26310 var _symbol = __webpack_require__(242);
26311
26312 var _symbol2 = _interopRequireDefault(_symbol);
26313
26314 var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
26315
26316 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26317
26318 exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
26319 return typeof obj === "undefined" ? "undefined" : _typeof(obj);
26320 } : function (obj) {
26321 return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
26322 };
26323
26324/***/ }),
26325/* 191 */
26326/***/ (function(module, exports, __webpack_require__) {
26327
26328 module.exports = { "default": __webpack_require__(192), __esModule: true };
26329
26330/***/ }),
26331/* 192 */
26332/***/ (function(module, exports, __webpack_require__) {
26333
26334 __webpack_require__(193);
26335 __webpack_require__(237);
26336 module.exports = __webpack_require__(241).f('iterator');
26337
26338/***/ }),
26339/* 193 */
26340/***/ (function(module, exports, __webpack_require__) {
26341
26342 'use strict';
26343 var $at = __webpack_require__(194)(true);
26344
26345 // 21.1.3.27 String.prototype[@@iterator]()
26346 __webpack_require__(197)(String, 'String', function(iterated){
26347 this._t = String(iterated); // target
26348 this._i = 0; // next index
26349 // 21.1.5.2.1 %StringIteratorPrototype%.next()
26350 }, function(){
26351 var O = this._t
26352 , index = this._i
26353 , point;
26354 if(index >= O.length)return {value: undefined, done: true};
26355 point = $at(O, index);
26356 this._i += point.length;
26357 return {value: point, done: false};
26358 });
26359
26360/***/ }),
26361/* 194 */
26362/***/ (function(module, exports, __webpack_require__) {
26363
26364 var toInteger = __webpack_require__(195)
26365 , defined = __webpack_require__(196);
26366 // true -> String#at
26367 // false -> String#codePointAt
26368 module.exports = function(TO_STRING){
26369 return function(that, pos){
26370 var s = String(defined(that))
26371 , i = toInteger(pos)
26372 , l = s.length
26373 , a, b;
26374 if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
26375 a = s.charCodeAt(i);
26376 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
26377 ? TO_STRING ? s.charAt(i) : a
26378 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
26379 };
26380 };
26381
26382/***/ }),
26383/* 195 */
26384/***/ (function(module, exports) {
26385
26386 // 7.1.4 ToInteger
26387 var ceil = Math.ceil
26388 , floor = Math.floor;
26389 module.exports = function(it){
26390 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
26391 };
26392
26393/***/ }),
26394/* 196 */
26395/***/ (function(module, exports) {
26396
26397 // 7.2.1 RequireObjectCoercible(argument)
26398 module.exports = function(it){
26399 if(it == undefined)throw TypeError("Can't call method on " + it);
26400 return it;
26401 };
26402
26403/***/ }),
26404/* 197 */
26405/***/ (function(module, exports, __webpack_require__) {
25771 26406
25772 'use strict'; 26407 'use strict';
26408 var LIBRARY = __webpack_require__(198)
26409 , $export = __webpack_require__(199)
26410 , redefine = __webpack_require__(214)
26411 , hide = __webpack_require__(204)
26412 , has = __webpack_require__(215)
26413 , Iterators = __webpack_require__(216)
26414 , $iterCreate = __webpack_require__(217)
26415 , setToStringTag = __webpack_require__(233)
26416 , getPrototypeOf = __webpack_require__(235)
26417 , ITERATOR = __webpack_require__(234)('iterator')
26418 , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
26419 , FF_ITERATOR = '@@iterator'
26420 , KEYS = 'keys'
26421 , VALUES = 'values';
26422
26423 var returnThis = function(){ return this; };
26424
26425 module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
26426 $iterCreate(Constructor, NAME, next);
26427 var getMethod = function(kind){
26428 if(!BUGGY && kind in proto)return proto[kind];
26429 switch(kind){
26430 case KEYS: return function keys(){ return new Constructor(this, kind); };
26431 case VALUES: return function values(){ return new Constructor(this, kind); };
26432 } return function entries(){ return new Constructor(this, kind); };
26433 };
26434 var TAG = NAME + ' Iterator'
26435 , DEF_VALUES = DEFAULT == VALUES
26436 , VALUES_BUG = false
26437 , proto = Base.prototype
26438 , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
26439 , $default = $native || getMethod(DEFAULT)
26440 , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined
26441 , $anyNative = NAME == 'Array' ? proto.entries || $native : $native
26442 , methods, key, IteratorPrototype;
26443 // Fix native
26444 if($anyNative){
26445 IteratorPrototype = getPrototypeOf($anyNative.call(new Base));
26446 if(IteratorPrototype !== Object.prototype){
26447 // Set @@toStringTag to native iterators
26448 setToStringTag(IteratorPrototype, TAG, true);
26449 // fix for some old engines
26450 if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
26451 }
26452 }
26453 // fix Array#{values, @@iterator}.name in V8 / FF
26454 if(DEF_VALUES && $native && $native.name !== VALUES){
26455 VALUES_BUG = true;
26456 $default = function values(){ return $native.call(this); };
26457 }
26458 // Define iterator
26459 if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
26460 hide(proto, ITERATOR, $default);
26461 }
26462 // Plug for library
26463 Iterators[NAME] = $default;
26464 Iterators[TAG] = returnThis;
26465 if(DEFAULT){
26466 methods = {
26467 values: DEF_VALUES ? $default : getMethod(VALUES),
26468 keys: IS_SET ? $default : getMethod(KEYS),
26469 entries: $entries
26470 };
26471 if(FORCED)for(key in methods){
26472 if(!(key in proto))redefine(proto, key, methods[key]);
26473 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
26474 }
26475 return methods;
26476 };
26477
26478/***/ }),
26479/* 198 */
26480/***/ (function(module, exports) {
26481
26482 module.exports = true;
26483
26484/***/ }),
26485/* 199 */
26486/***/ (function(module, exports, __webpack_require__) {
26487
26488 var global = __webpack_require__(200)
26489 , core = __webpack_require__(201)
26490 , ctx = __webpack_require__(202)
26491 , hide = __webpack_require__(204)
26492 , PROTOTYPE = 'prototype';
25773 26493
25774 module.exports = __webpack_require__(185); 26494 var $export = function(type, name, source){
26495 var IS_FORCED = type & $export.F
26496 , IS_GLOBAL = type & $export.G
26497 , IS_STATIC = type & $export.S
26498 , IS_PROTO = type & $export.P
26499 , IS_BIND = type & $export.B
26500 , IS_WRAP = type & $export.W
26501 , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
26502 , expProto = exports[PROTOTYPE]
26503 , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
26504 , key, own, out;
26505 if(IS_GLOBAL)source = name;
26506 for(key in source){
26507 // contains in native
26508 own = !IS_FORCED && target && target[key] !== undefined;
26509 if(own && key in exports)continue;
26510 // export native or passed
26511 out = own ? target[key] : source[key];
26512 // prevent global pollution for namespaces
26513 exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
26514 // bind timers to global for call from export context
26515 : IS_BIND && own ? ctx(out, global)
26516 // wrap global constructors for prevent change them in library
26517 : IS_WRAP && target[key] == out ? (function(C){
26518 var F = function(a, b, c){
26519 if(this instanceof C){
26520 switch(arguments.length){
26521 case 0: return new C;
26522 case 1: return new C(a);
26523 case 2: return new C(a, b);
26524 } return new C(a, b, c);
26525 } return C.apply(this, arguments);
26526 };
26527 F[PROTOTYPE] = C[PROTOTYPE];
26528 return F;
26529 // make static versions for prototype methods
26530 })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
26531 // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
26532 if(IS_PROTO){
26533 (exports.virtual || (exports.virtual = {}))[key] = out;
26534 // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
26535 if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);
26536 }
26537 }
26538 };
26539 // type bitmap
26540 $export.F = 1; // forced
26541 $export.G = 2; // global
26542 $export.S = 4; // static
26543 $export.P = 8; // proto
26544 $export.B = 16; // bind
26545 $export.W = 32; // wrap
26546 $export.U = 64; // safe
26547 $export.R = 128; // real proto method for `library`
26548 module.exports = $export;
25775 26549
25776/***/ }, 26550/***/ }),
25777/* 185 */ 26551/* 200 */
25778/***/ function(module, exports, __webpack_require__) { 26552/***/ (function(module, exports) {
26553
26554 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
26555 var global = module.exports = typeof window != 'undefined' && window.Math == Math
26556 ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
26557 if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
26558
26559/***/ }),
26560/* 201 */
26561/***/ (function(module, exports) {
26562
26563 var core = module.exports = {version: '2.4.0'};
26564 if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
26565
26566/***/ }),
26567/* 202 */
26568/***/ (function(module, exports, __webpack_require__) {
26569
26570 // optional / simple context binding
26571 var aFunction = __webpack_require__(203);
26572 module.exports = function(fn, that, length){
26573 aFunction(fn);
26574 if(that === undefined)return fn;
26575 switch(length){
26576 case 1: return function(a){
26577 return fn.call(that, a);
26578 };
26579 case 2: return function(a, b){
26580 return fn.call(that, a, b);
26581 };
26582 case 3: return function(a, b, c){
26583 return fn.call(that, a, b, c);
26584 };
26585 }
26586 return function(/* ...args */){
26587 return fn.apply(that, arguments);
26588 };
26589 };
26590
26591/***/ }),
26592/* 203 */
26593/***/ (function(module, exports) {
26594
26595 module.exports = function(it){
26596 if(typeof it != 'function')throw TypeError(it + ' is not a function!');
26597 return it;
26598 };
26599
26600/***/ }),
26601/* 204 */
26602/***/ (function(module, exports, __webpack_require__) {
26603
26604 var dP = __webpack_require__(205)
26605 , createDesc = __webpack_require__(213);
26606 module.exports = __webpack_require__(209) ? function(object, key, value){
26607 return dP.f(object, key, createDesc(1, value));
26608 } : function(object, key, value){
26609 object[key] = value;
26610 return object;
26611 };
26612
26613/***/ }),
26614/* 205 */
26615/***/ (function(module, exports, __webpack_require__) {
26616
26617 var anObject = __webpack_require__(206)
26618 , IE8_DOM_DEFINE = __webpack_require__(208)
26619 , toPrimitive = __webpack_require__(212)
26620 , dP = Object.defineProperty;
26621
26622 exports.f = __webpack_require__(209) ? Object.defineProperty : function defineProperty(O, P, Attributes){
26623 anObject(O);
26624 P = toPrimitive(P, true);
26625 anObject(Attributes);
26626 if(IE8_DOM_DEFINE)try {
26627 return dP(O, P, Attributes);
26628 } catch(e){ /* empty */ }
26629 if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
26630 if('value' in Attributes)O[P] = Attributes.value;
26631 return O;
26632 };
26633
26634/***/ }),
26635/* 206 */
26636/***/ (function(module, exports, __webpack_require__) {
26637
26638 var isObject = __webpack_require__(207);
26639 module.exports = function(it){
26640 if(!isObject(it))throw TypeError(it + ' is not an object!');
26641 return it;
26642 };
26643
26644/***/ }),
26645/* 207 */
26646/***/ (function(module, exports) {
26647
26648 module.exports = function(it){
26649 return typeof it === 'object' ? it !== null : typeof it === 'function';
26650 };
26651
26652/***/ }),
26653/* 208 */
26654/***/ (function(module, exports, __webpack_require__) {
26655
26656 module.exports = !__webpack_require__(209) && !__webpack_require__(210)(function(){
26657 return Object.defineProperty(__webpack_require__(211)('div'), 'a', {get: function(){ return 7; }}).a != 7;
26658 });
26659
26660/***/ }),
26661/* 209 */
26662/***/ (function(module, exports, __webpack_require__) {
26663
26664 // Thank's IE8 for his funny defineProperty
26665 module.exports = !__webpack_require__(210)(function(){
26666 return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
26667 });
26668
26669/***/ }),
26670/* 210 */
26671/***/ (function(module, exports) {
26672
26673 module.exports = function(exec){
26674 try {
26675 return !!exec();
26676 } catch(e){
26677 return true;
26678 }
26679 };
26680
26681/***/ }),
26682/* 211 */
26683/***/ (function(module, exports, __webpack_require__) {
26684
26685 var isObject = __webpack_require__(207)
26686 , document = __webpack_require__(200).document
26687 // in old IE typeof document.createElement is 'object'
26688 , is = isObject(document) && isObject(document.createElement);
26689 module.exports = function(it){
26690 return is ? document.createElement(it) : {};
26691 };
26692
26693/***/ }),
26694/* 212 */
26695/***/ (function(module, exports, __webpack_require__) {
26696
26697 // 7.1.1 ToPrimitive(input [, PreferredType])
26698 var isObject = __webpack_require__(207);
26699 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
26700 // and the second argument - flag - preferred type is a string
26701 module.exports = function(it, S){
26702 if(!isObject(it))return it;
26703 var fn, val;
26704 if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
26705 if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
26706 if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
26707 throw TypeError("Can't convert object to primitive value");
26708 };
26709
26710/***/ }),
26711/* 213 */
26712/***/ (function(module, exports) {
26713
26714 module.exports = function(bitmap, value){
26715 return {
26716 enumerable : !(bitmap & 1),
26717 configurable: !(bitmap & 2),
26718 writable : !(bitmap & 4),
26719 value : value
26720 };
26721 };
26722
26723/***/ }),
26724/* 214 */
26725/***/ (function(module, exports, __webpack_require__) {
26726
26727 module.exports = __webpack_require__(204);
26728
26729/***/ }),
26730/* 215 */
26731/***/ (function(module, exports) {
26732
26733 var hasOwnProperty = {}.hasOwnProperty;
26734 module.exports = function(it, key){
26735 return hasOwnProperty.call(it, key);
26736 };
26737
26738/***/ }),
26739/* 216 */
26740/***/ (function(module, exports) {
26741
26742 module.exports = {};
26743
26744/***/ }),
26745/* 217 */
26746/***/ (function(module, exports, __webpack_require__) {
26747
26748 'use strict';
26749 var create = __webpack_require__(218)
26750 , descriptor = __webpack_require__(213)
26751 , setToStringTag = __webpack_require__(233)
26752 , IteratorPrototype = {};
26753
26754 // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
26755 __webpack_require__(204)(IteratorPrototype, __webpack_require__(234)('iterator'), function(){ return this; });
26756
26757 module.exports = function(Constructor, NAME, next){
26758 Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
26759 setToStringTag(Constructor, NAME + ' Iterator');
26760 };
26761
26762/***/ }),
26763/* 218 */
26764/***/ (function(module, exports, __webpack_require__) {
26765
26766 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
26767 var anObject = __webpack_require__(206)
26768 , dPs = __webpack_require__(219)
26769 , enumBugKeys = __webpack_require__(231)
26770 , IE_PROTO = __webpack_require__(228)('IE_PROTO')
26771 , Empty = function(){ /* empty */ }
26772 , PROTOTYPE = 'prototype';
26773
26774 // Create object with fake `null` prototype: use iframe Object with cleared prototype
26775 var createDict = function(){
26776 // Thrash, waste and sodomy: IE GC bug
26777 var iframe = __webpack_require__(211)('iframe')
26778 , i = enumBugKeys.length
26779 , lt = '<'
26780 , gt = '>'
26781 , iframeDocument;
26782 iframe.style.display = 'none';
26783 __webpack_require__(232).appendChild(iframe);
26784 iframe.src = 'javascript:'; // eslint-disable-line no-script-url
26785 // createDict = iframe.contentWindow.Object;
26786 // html.removeChild(iframe);
26787 iframeDocument = iframe.contentWindow.document;
26788 iframeDocument.open();
26789 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
26790 iframeDocument.close();
26791 createDict = iframeDocument.F;
26792 while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];
26793 return createDict();
26794 };
26795
26796 module.exports = Object.create || function create(O, Properties){
26797 var result;
26798 if(O !== null){
26799 Empty[PROTOTYPE] = anObject(O);
26800 result = new Empty;
26801 Empty[PROTOTYPE] = null;
26802 // add "__proto__" for Object.getPrototypeOf polyfill
26803 result[IE_PROTO] = O;
26804 } else result = createDict();
26805 return Properties === undefined ? result : dPs(result, Properties);
26806 };
26807
26808
26809/***/ }),
26810/* 219 */
26811/***/ (function(module, exports, __webpack_require__) {
26812
26813 var dP = __webpack_require__(205)
26814 , anObject = __webpack_require__(206)
26815 , getKeys = __webpack_require__(220);
26816
26817 module.exports = __webpack_require__(209) ? Object.defineProperties : function defineProperties(O, Properties){
26818 anObject(O);
26819 var keys = getKeys(Properties)
26820 , length = keys.length
26821 , i = 0
26822 , P;
26823 while(length > i)dP.f(O, P = keys[i++], Properties[P]);
26824 return O;
26825 };
26826
26827/***/ }),
26828/* 220 */
26829/***/ (function(module, exports, __webpack_require__) {
26830
26831 // 19.1.2.14 / 15.2.3.14 Object.keys(O)
26832 var $keys = __webpack_require__(221)
26833 , enumBugKeys = __webpack_require__(231);
26834
26835 module.exports = Object.keys || function keys(O){
26836 return $keys(O, enumBugKeys);
26837 };
26838
26839/***/ }),
26840/* 221 */
26841/***/ (function(module, exports, __webpack_require__) {
26842
26843 var has = __webpack_require__(215)
26844 , toIObject = __webpack_require__(222)
26845 , arrayIndexOf = __webpack_require__(225)(false)
26846 , IE_PROTO = __webpack_require__(228)('IE_PROTO');
26847
26848 module.exports = function(object, names){
26849 var O = toIObject(object)
26850 , i = 0
26851 , result = []
26852 , key;
26853 for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
26854 // Don't enum bug & hidden keys
26855 while(names.length > i)if(has(O, key = names[i++])){
26856 ~arrayIndexOf(result, key) || result.push(key);
26857 }
26858 return result;
26859 };
26860
26861/***/ }),
26862/* 222 */
26863/***/ (function(module, exports, __webpack_require__) {
26864
26865 // to indexed object, toObject with fallback for non-array-like ES3 strings
26866 var IObject = __webpack_require__(223)
26867 , defined = __webpack_require__(196);
26868 module.exports = function(it){
26869 return IObject(defined(it));
26870 };
26871
26872/***/ }),
26873/* 223 */
26874/***/ (function(module, exports, __webpack_require__) {
26875
26876 // fallback for non-array-like ES3 and non-enumerable old V8 strings
26877 var cof = __webpack_require__(224);
26878 module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
26879 return cof(it) == 'String' ? it.split('') : Object(it);
26880 };
26881
26882/***/ }),
26883/* 224 */
26884/***/ (function(module, exports) {
26885
26886 var toString = {}.toString;
26887
26888 module.exports = function(it){
26889 return toString.call(it).slice(8, -1);
26890 };
26891
26892/***/ }),
26893/* 225 */
26894/***/ (function(module, exports, __webpack_require__) {
26895
26896 // false -> Array#indexOf
26897 // true -> Array#includes
26898 var toIObject = __webpack_require__(222)
26899 , toLength = __webpack_require__(226)
26900 , toIndex = __webpack_require__(227);
26901 module.exports = function(IS_INCLUDES){
26902 return function($this, el, fromIndex){
26903 var O = toIObject($this)
26904 , length = toLength(O.length)
26905 , index = toIndex(fromIndex, length)
26906 , value;
26907 // Array#includes uses SameValueZero equality algorithm
26908 if(IS_INCLUDES && el != el)while(length > index){
26909 value = O[index++];
26910 if(value != value)return true;
26911 // Array#toIndex ignores holes, Array#includes - not
26912 } else for(;length > index; index++)if(IS_INCLUDES || index in O){
26913 if(O[index] === el)return IS_INCLUDES || index || 0;
26914 } return !IS_INCLUDES && -1;
26915 };
26916 };
26917
26918/***/ }),
26919/* 226 */
26920/***/ (function(module, exports, __webpack_require__) {
26921
26922 // 7.1.15 ToLength
26923 var toInteger = __webpack_require__(195)
26924 , min = Math.min;
26925 module.exports = function(it){
26926 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
26927 };
26928
26929/***/ }),
26930/* 227 */
26931/***/ (function(module, exports, __webpack_require__) {
26932
26933 var toInteger = __webpack_require__(195)
26934 , max = Math.max
26935 , min = Math.min;
26936 module.exports = function(index, length){
26937 index = toInteger(index);
26938 return index < 0 ? max(index + length, 0) : min(index, length);
26939 };
26940
26941/***/ }),
26942/* 228 */
26943/***/ (function(module, exports, __webpack_require__) {
26944
26945 var shared = __webpack_require__(229)('keys')
26946 , uid = __webpack_require__(230);
26947 module.exports = function(key){
26948 return shared[key] || (shared[key] = uid(key));
26949 };
26950
26951/***/ }),
26952/* 229 */
26953/***/ (function(module, exports, __webpack_require__) {
26954
26955 var global = __webpack_require__(200)
26956 , SHARED = '__core-js_shared__'
26957 , store = global[SHARED] || (global[SHARED] = {});
26958 module.exports = function(key){
26959 return store[key] || (store[key] = {});
26960 };
26961
26962/***/ }),
26963/* 230 */
26964/***/ (function(module, exports) {
26965
26966 var id = 0
26967 , px = Math.random();
26968 module.exports = function(key){
26969 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
26970 };
26971
26972/***/ }),
26973/* 231 */
26974/***/ (function(module, exports) {
26975
26976 // IE 8- don't enum bug keys
26977 module.exports = (
26978 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
26979 ).split(',');
26980
26981/***/ }),
26982/* 232 */
26983/***/ (function(module, exports, __webpack_require__) {
26984
26985 module.exports = __webpack_require__(200).document && document.documentElement;
26986
26987/***/ }),
26988/* 233 */
26989/***/ (function(module, exports, __webpack_require__) {
26990
26991 var def = __webpack_require__(205).f
26992 , has = __webpack_require__(215)
26993 , TAG = __webpack_require__(234)('toStringTag');
26994
26995 module.exports = function(it, tag, stat){
26996 if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
26997 };
26998
26999/***/ }),
27000/* 234 */
27001/***/ (function(module, exports, __webpack_require__) {
27002
27003 var store = __webpack_require__(229)('wks')
27004 , uid = __webpack_require__(230)
27005 , Symbol = __webpack_require__(200).Symbol
27006 , USE_SYMBOL = typeof Symbol == 'function';
27007
27008 var $exports = module.exports = function(name){
27009 return store[name] || (store[name] =
27010 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
27011 };
27012
27013 $exports.store = store;
27014
27015/***/ }),
27016/* 235 */
27017/***/ (function(module, exports, __webpack_require__) {
27018
27019 // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
27020 var has = __webpack_require__(215)
27021 , toObject = __webpack_require__(236)
27022 , IE_PROTO = __webpack_require__(228)('IE_PROTO')
27023 , ObjectProto = Object.prototype;
27024
27025 module.exports = Object.getPrototypeOf || function(O){
27026 O = toObject(O);
27027 if(has(O, IE_PROTO))return O[IE_PROTO];
27028 if(typeof O.constructor == 'function' && O instanceof O.constructor){
27029 return O.constructor.prototype;
27030 } return O instanceof Object ? ObjectProto : null;
27031 };
27032
27033/***/ }),
27034/* 236 */
27035/***/ (function(module, exports, __webpack_require__) {
27036
27037 // 7.1.13 ToObject(argument)
27038 var defined = __webpack_require__(196);
27039 module.exports = function(it){
27040 return Object(defined(it));
27041 };
27042
27043/***/ }),
27044/* 237 */
27045/***/ (function(module, exports, __webpack_require__) {
27046
27047 __webpack_require__(238);
27048 var global = __webpack_require__(200)
27049 , hide = __webpack_require__(204)
27050 , Iterators = __webpack_require__(216)
27051 , TO_STRING_TAG = __webpack_require__(234)('toStringTag');
27052
27053 for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){
27054 var NAME = collections[i]
27055 , Collection = global[NAME]
27056 , proto = Collection && Collection.prototype;
27057 if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);
27058 Iterators[NAME] = Iterators.Array;
27059 }
27060
27061/***/ }),
27062/* 238 */
27063/***/ (function(module, exports, __webpack_require__) {
27064
27065 'use strict';
27066 var addToUnscopables = __webpack_require__(239)
27067 , step = __webpack_require__(240)
27068 , Iterators = __webpack_require__(216)
27069 , toIObject = __webpack_require__(222);
27070
27071 // 22.1.3.4 Array.prototype.entries()
27072 // 22.1.3.13 Array.prototype.keys()
27073 // 22.1.3.29 Array.prototype.values()
27074 // 22.1.3.30 Array.prototype[@@iterator]()
27075 module.exports = __webpack_require__(197)(Array, 'Array', function(iterated, kind){
27076 this._t = toIObject(iterated); // target
27077 this._i = 0; // next index
27078 this._k = kind; // kind
27079 // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
27080 }, function(){
27081 var O = this._t
27082 , kind = this._k
27083 , index = this._i++;
27084 if(!O || index >= O.length){
27085 this._t = undefined;
27086 return step(1);
27087 }
27088 if(kind == 'keys' )return step(0, index);
27089 if(kind == 'values')return step(0, O[index]);
27090 return step(0, [index, O[index]]);
27091 }, 'values');
27092
27093 // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
27094 Iterators.Arguments = Iterators.Array;
27095
27096 addToUnscopables('keys');
27097 addToUnscopables('values');
27098 addToUnscopables('entries');
27099
27100/***/ }),
27101/* 239 */
27102/***/ (function(module, exports) {
27103
27104 module.exports = function(){ /* empty */ };
27105
27106/***/ }),
27107/* 240 */
27108/***/ (function(module, exports) {
27109
27110 module.exports = function(done, value){
27111 return {value: value, done: !!done};
27112 };
27113
27114/***/ }),
27115/* 241 */
27116/***/ (function(module, exports, __webpack_require__) {
27117
27118 exports.f = __webpack_require__(234);
27119
27120/***/ }),
27121/* 242 */
27122/***/ (function(module, exports, __webpack_require__) {
27123
27124 module.exports = { "default": __webpack_require__(243), __esModule: true };
27125
27126/***/ }),
27127/* 243 */
27128/***/ (function(module, exports, __webpack_require__) {
27129
27130 __webpack_require__(244);
27131 __webpack_require__(255);
27132 __webpack_require__(256);
27133 __webpack_require__(257);
27134 module.exports = __webpack_require__(201).Symbol;
27135
27136/***/ }),
27137/* 244 */
27138/***/ (function(module, exports, __webpack_require__) {
27139
27140 'use strict';
27141 // ECMAScript 6 symbols shim
27142 var global = __webpack_require__(200)
27143 , has = __webpack_require__(215)
27144 , DESCRIPTORS = __webpack_require__(209)
27145 , $export = __webpack_require__(199)
27146 , redefine = __webpack_require__(214)
27147 , META = __webpack_require__(245).KEY
27148 , $fails = __webpack_require__(210)
27149 , shared = __webpack_require__(229)
27150 , setToStringTag = __webpack_require__(233)
27151 , uid = __webpack_require__(230)
27152 , wks = __webpack_require__(234)
27153 , wksExt = __webpack_require__(241)
27154 , wksDefine = __webpack_require__(246)
27155 , keyOf = __webpack_require__(247)
27156 , enumKeys = __webpack_require__(248)
27157 , isArray = __webpack_require__(251)
27158 , anObject = __webpack_require__(206)
27159 , toIObject = __webpack_require__(222)
27160 , toPrimitive = __webpack_require__(212)
27161 , createDesc = __webpack_require__(213)
27162 , _create = __webpack_require__(218)
27163 , gOPNExt = __webpack_require__(252)
27164 , $GOPD = __webpack_require__(254)
27165 , $DP = __webpack_require__(205)
27166 , $keys = __webpack_require__(220)
27167 , gOPD = $GOPD.f
27168 , dP = $DP.f
27169 , gOPN = gOPNExt.f
27170 , $Symbol = global.Symbol
27171 , $JSON = global.JSON
27172 , _stringify = $JSON && $JSON.stringify
27173 , PROTOTYPE = 'prototype'
27174 , HIDDEN = wks('_hidden')
27175 , TO_PRIMITIVE = wks('toPrimitive')
27176 , isEnum = {}.propertyIsEnumerable
27177 , SymbolRegistry = shared('symbol-registry')
27178 , AllSymbols = shared('symbols')
27179 , OPSymbols = shared('op-symbols')
27180 , ObjectProto = Object[PROTOTYPE]
27181 , USE_NATIVE = typeof $Symbol == 'function'
27182 , QObject = global.QObject;
27183 // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
27184 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
27185
27186 // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
27187 var setSymbolDesc = DESCRIPTORS && $fails(function(){
27188 return _create(dP({}, 'a', {
27189 get: function(){ return dP(this, 'a', {value: 7}).a; }
27190 })).a != 7;
27191 }) ? function(it, key, D){
27192 var protoDesc = gOPD(ObjectProto, key);
27193 if(protoDesc)delete ObjectProto[key];
27194 dP(it, key, D);
27195 if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);
27196 } : dP;
27197
27198 var wrap = function(tag){
27199 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
27200 sym._k = tag;
27201 return sym;
27202 };
27203
27204 var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){
27205 return typeof it == 'symbol';
27206 } : function(it){
27207 return it instanceof $Symbol;
27208 };
27209
27210 var $defineProperty = function defineProperty(it, key, D){
27211 if(it === ObjectProto)$defineProperty(OPSymbols, key, D);
27212 anObject(it);
27213 key = toPrimitive(key, true);
27214 anObject(D);
27215 if(has(AllSymbols, key)){
27216 if(!D.enumerable){
27217 if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));
27218 it[HIDDEN][key] = true;
27219 } else {
27220 if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
27221 D = _create(D, {enumerable: createDesc(0, false)});
27222 } return setSymbolDesc(it, key, D);
27223 } return dP(it, key, D);
27224 };
27225 var $defineProperties = function defineProperties(it, P){
27226 anObject(it);
27227 var keys = enumKeys(P = toIObject(P))
27228 , i = 0
27229 , l = keys.length
27230 , key;
27231 while(l > i)$defineProperty(it, key = keys[i++], P[key]);
27232 return it;
27233 };
27234 var $create = function create(it, P){
27235 return P === undefined ? _create(it) : $defineProperties(_create(it), P);
27236 };
27237 var $propertyIsEnumerable = function propertyIsEnumerable(key){
27238 var E = isEnum.call(this, key = toPrimitive(key, true));
27239 if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;
27240 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
27241 };
27242 var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
27243 it = toIObject(it);
27244 key = toPrimitive(key, true);
27245 if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;
27246 var D = gOPD(it, key);
27247 if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
27248 return D;
27249 };
27250 var $getOwnPropertyNames = function getOwnPropertyNames(it){
27251 var names = gOPN(toIObject(it))
27252 , result = []
27253 , i = 0
27254 , key;
27255 while(names.length > i){
27256 if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);
27257 } return result;
27258 };
27259 var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
27260 var IS_OP = it === ObjectProto
27261 , names = gOPN(IS_OP ? OPSymbols : toIObject(it))
27262 , result = []
27263 , i = 0
27264 , key;
27265 while(names.length > i){
27266 if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);
27267 } return result;
27268 };
27269
27270 // 19.4.1.1 Symbol([description])
27271 if(!USE_NATIVE){
27272 $Symbol = function Symbol(){
27273 if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');
27274 var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
27275 var $set = function(value){
27276 if(this === ObjectProto)$set.call(OPSymbols, value);
27277 if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
27278 setSymbolDesc(this, tag, createDesc(1, value));
27279 };
27280 if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});
27281 return wrap(tag);
27282 };
27283 redefine($Symbol[PROTOTYPE], 'toString', function toString(){
27284 return this._k;
27285 });
27286
27287 $GOPD.f = $getOwnPropertyDescriptor;
27288 $DP.f = $defineProperty;
27289 __webpack_require__(253).f = gOPNExt.f = $getOwnPropertyNames;
27290 __webpack_require__(250).f = $propertyIsEnumerable;
27291 __webpack_require__(249).f = $getOwnPropertySymbols;
27292
27293 if(DESCRIPTORS && !__webpack_require__(198)){
27294 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
27295 }
27296
27297 wksExt.f = function(name){
27298 return wrap(wks(name));
27299 }
27300 }
27301
27302 $export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});
27303
27304 for(var symbols = (
27305 // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
27306 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
27307 ).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);
27308
27309 for(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);
27310
27311 $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
27312 // 19.4.2.1 Symbol.for(key)
27313 'for': function(key){
27314 return has(SymbolRegistry, key += '')
27315 ? SymbolRegistry[key]
27316 : SymbolRegistry[key] = $Symbol(key);
27317 },
27318 // 19.4.2.5 Symbol.keyFor(sym)
27319 keyFor: function keyFor(key){
27320 if(isSymbol(key))return keyOf(SymbolRegistry, key);
27321 throw TypeError(key + ' is not a symbol!');
27322 },
27323 useSetter: function(){ setter = true; },
27324 useSimple: function(){ setter = false; }
27325 });
27326
27327 $export($export.S + $export.F * !USE_NATIVE, 'Object', {
27328 // 19.1.2.2 Object.create(O [, Properties])
27329 create: $create,
27330 // 19.1.2.4 Object.defineProperty(O, P, Attributes)
27331 defineProperty: $defineProperty,
27332 // 19.1.2.3 Object.defineProperties(O, Properties)
27333 defineProperties: $defineProperties,
27334 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
27335 getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
27336 // 19.1.2.7 Object.getOwnPropertyNames(O)
27337 getOwnPropertyNames: $getOwnPropertyNames,
27338 // 19.1.2.8 Object.getOwnPropertySymbols(O)
27339 getOwnPropertySymbols: $getOwnPropertySymbols
27340 });
27341
27342 // 24.3.2 JSON.stringify(value [, replacer [, space]])
27343 $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){
27344 var S = $Symbol();
27345 // MS Edge converts symbol values to JSON as {}
27346 // WebKit converts symbol values to JSON as null
27347 // V8 throws on boxed symbols
27348 return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
27349 })), 'JSON', {
27350 stringify: function stringify(it){
27351 if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
27352 var args = [it]
27353 , i = 1
27354 , replacer, $replacer;
27355 while(arguments.length > i)args.push(arguments[i++]);
27356 replacer = args[1];
27357 if(typeof replacer == 'function')$replacer = replacer;
27358 if($replacer || !isArray(replacer))replacer = function(key, value){
27359 if($replacer)value = $replacer.call(this, key, value);
27360 if(!isSymbol(value))return value;
27361 };
27362 args[1] = replacer;
27363 return _stringify.apply($JSON, args);
27364 }
27365 });
27366
27367 // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
27368 $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(204)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
27369 // 19.4.3.5 Symbol.prototype[@@toStringTag]
27370 setToStringTag($Symbol, 'Symbol');
27371 // 20.2.1.9 Math[@@toStringTag]
27372 setToStringTag(Math, 'Math', true);
27373 // 24.3.3 JSON[@@toStringTag]
27374 setToStringTag(global.JSON, 'JSON', true);
27375
27376/***/ }),
27377/* 245 */
27378/***/ (function(module, exports, __webpack_require__) {
27379
27380 var META = __webpack_require__(230)('meta')
27381 , isObject = __webpack_require__(207)
27382 , has = __webpack_require__(215)
27383 , setDesc = __webpack_require__(205).f
27384 , id = 0;
27385 var isExtensible = Object.isExtensible || function(){
27386 return true;
27387 };
27388 var FREEZE = !__webpack_require__(210)(function(){
27389 return isExtensible(Object.preventExtensions({}));
27390 });
27391 var setMeta = function(it){
27392 setDesc(it, META, {value: {
27393 i: 'O' + ++id, // object ID
27394 w: {} // weak collections IDs
27395 }});
27396 };
27397 var fastKey = function(it, create){
27398 // return primitive with prefix
27399 if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
27400 if(!has(it, META)){
27401 // can't set metadata to uncaught frozen object
27402 if(!isExtensible(it))return 'F';
27403 // not necessary to add metadata
27404 if(!create)return 'E';
27405 // add missing metadata
27406 setMeta(it);
27407 // return object ID
27408 } return it[META].i;
27409 };
27410 var getWeak = function(it, create){
27411 if(!has(it, META)){
27412 // can't set metadata to uncaught frozen object
27413 if(!isExtensible(it))return true;
27414 // not necessary to add metadata
27415 if(!create)return false;
27416 // add missing metadata
27417 setMeta(it);
27418 // return hash weak collections IDs
27419 } return it[META].w;
27420 };
27421 // add metadata on freeze-family methods calling
27422 var onFreeze = function(it){
27423 if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);
27424 return it;
27425 };
27426 var meta = module.exports = {
27427 KEY: META,
27428 NEED: false,
27429 fastKey: fastKey,
27430 getWeak: getWeak,
27431 onFreeze: onFreeze
27432 };
27433
27434/***/ }),
27435/* 246 */
27436/***/ (function(module, exports, __webpack_require__) {
27437
27438 var global = __webpack_require__(200)
27439 , core = __webpack_require__(201)
27440 , LIBRARY = __webpack_require__(198)
27441 , wksExt = __webpack_require__(241)
27442 , defineProperty = __webpack_require__(205).f;
27443 module.exports = function(name){
27444 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
27445 if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
27446 };
27447
27448/***/ }),
27449/* 247 */
27450/***/ (function(module, exports, __webpack_require__) {
27451
27452 var getKeys = __webpack_require__(220)
27453 , toIObject = __webpack_require__(222);
27454 module.exports = function(object, el){
27455 var O = toIObject(object)
27456 , keys = getKeys(O)
27457 , length = keys.length
27458 , index = 0
27459 , key;
27460 while(length > index)if(O[key = keys[index++]] === el)return key;
27461 };
27462
27463/***/ }),
27464/* 248 */
27465/***/ (function(module, exports, __webpack_require__) {
27466
27467 // all enumerable object keys, includes symbols
27468 var getKeys = __webpack_require__(220)
27469 , gOPS = __webpack_require__(249)
27470 , pIE = __webpack_require__(250);
27471 module.exports = function(it){
27472 var result = getKeys(it)
27473 , getSymbols = gOPS.f;
27474 if(getSymbols){
27475 var symbols = getSymbols(it)
27476 , isEnum = pIE.f
27477 , i = 0
27478 , key;
27479 while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);
27480 } return result;
27481 };
27482
27483/***/ }),
27484/* 249 */
27485/***/ (function(module, exports) {
27486
27487 exports.f = Object.getOwnPropertySymbols;
27488
27489/***/ }),
27490/* 250 */
27491/***/ (function(module, exports) {
27492
27493 exports.f = {}.propertyIsEnumerable;
27494
27495/***/ }),
27496/* 251 */
27497/***/ (function(module, exports, __webpack_require__) {
27498
27499 // 7.2.2 IsArray(argument)
27500 var cof = __webpack_require__(224);
27501 module.exports = Array.isArray || function isArray(arg){
27502 return cof(arg) == 'Array';
27503 };
27504
27505/***/ }),
27506/* 252 */
27507/***/ (function(module, exports, __webpack_require__) {
27508
27509 // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
27510 var toIObject = __webpack_require__(222)
27511 , gOPN = __webpack_require__(253).f
27512 , toString = {}.toString;
27513
27514 var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
27515 ? Object.getOwnPropertyNames(window) : [];
27516
27517 var getWindowNames = function(it){
27518 try {
27519 return gOPN(it);
27520 } catch(e){
27521 return windowNames.slice();
27522 }
27523 };
27524
27525 module.exports.f = function getOwnPropertyNames(it){
27526 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
27527 };
27528
27529
27530/***/ }),
27531/* 253 */
27532/***/ (function(module, exports, __webpack_require__) {
27533
27534 // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
27535 var $keys = __webpack_require__(221)
27536 , hiddenKeys = __webpack_require__(231).concat('length', 'prototype');
27537
27538 exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){
27539 return $keys(O, hiddenKeys);
27540 };
27541
27542/***/ }),
27543/* 254 */
27544/***/ (function(module, exports, __webpack_require__) {
27545
27546 var pIE = __webpack_require__(250)
27547 , createDesc = __webpack_require__(213)
27548 , toIObject = __webpack_require__(222)
27549 , toPrimitive = __webpack_require__(212)
27550 , has = __webpack_require__(215)
27551 , IE8_DOM_DEFINE = __webpack_require__(208)
27552 , gOPD = Object.getOwnPropertyDescriptor;
27553
27554 exports.f = __webpack_require__(209) ? gOPD : function getOwnPropertyDescriptor(O, P){
27555 O = toIObject(O);
27556 P = toPrimitive(P, true);
27557 if(IE8_DOM_DEFINE)try {
27558 return gOPD(O, P);
27559 } catch(e){ /* empty */ }
27560 if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);
27561 };
27562
27563/***/ }),
27564/* 255 */
27565/***/ (function(module, exports) {
27566
27567
27568
27569/***/ }),
27570/* 256 */
27571/***/ (function(module, exports, __webpack_require__) {
27572
27573 __webpack_require__(246)('asyncIterator');
27574
27575/***/ }),
27576/* 257 */
27577/***/ (function(module, exports, __webpack_require__) {
27578
27579 __webpack_require__(246)('observable');
27580
27581/***/ }),
27582/* 258 */
27583/***/ (function(module, exports, __webpack_require__) {
27584
27585 "use strict";
27586
27587 exports.__esModule = true;
27588
27589 var _setPrototypeOf = __webpack_require__(259);
27590
27591 var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
27592
27593 var _create = __webpack_require__(263);
27594
27595 var _create2 = _interopRequireDefault(_create);
27596
27597 var _typeof2 = __webpack_require__(190);
27598
27599 var _typeof3 = _interopRequireDefault(_typeof2);
27600
27601 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27602
27603 exports.default = function (subClass, superClass) {
27604 if (typeof superClass !== "function" && superClass !== null) {
27605 throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
27606 }
27607
27608 subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
27609 constructor: {
27610 value: subClass,
27611 enumerable: false,
27612 writable: true,
27613 configurable: true
27614 }
27615 });
27616 if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
27617 };
27618
27619/***/ }),
27620/* 259 */
27621/***/ (function(module, exports, __webpack_require__) {
27622
27623 module.exports = { "default": __webpack_require__(260), __esModule: true };
27624
27625/***/ }),
27626/* 260 */
27627/***/ (function(module, exports, __webpack_require__) {
27628
27629 __webpack_require__(261);
27630 module.exports = __webpack_require__(201).Object.setPrototypeOf;
27631
27632/***/ }),
27633/* 261 */
27634/***/ (function(module, exports, __webpack_require__) {
27635
27636 // 19.1.3.19 Object.setPrototypeOf(O, proto)
27637 var $export = __webpack_require__(199);
27638 $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(262).set});
27639
27640/***/ }),
27641/* 262 */
27642/***/ (function(module, exports, __webpack_require__) {
27643
27644 // Works with __proto__ only. Old v8 can't work with null proto objects.
27645 /* eslint-disable no-proto */
27646 var isObject = __webpack_require__(207)
27647 , anObject = __webpack_require__(206);
27648 var check = function(O, proto){
27649 anObject(O);
27650 if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
27651 };
27652 module.exports = {
27653 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
27654 function(test, buggy, set){
27655 try {
27656 set = __webpack_require__(202)(Function.call, __webpack_require__(254).f(Object.prototype, '__proto__').set, 2);
27657 set(test, []);
27658 buggy = !(test instanceof Array);
27659 } catch(e){ buggy = true; }
27660 return function setPrototypeOf(O, proto){
27661 check(O, proto);
27662 if(buggy)O.__proto__ = proto;
27663 else set(O, proto);
27664 return O;
27665 };
27666 }({}, false) : undefined),
27667 check: check
27668 };
27669
27670/***/ }),
27671/* 263 */
27672/***/ (function(module, exports, __webpack_require__) {
27673
27674 module.exports = { "default": __webpack_require__(264), __esModule: true };
27675
27676/***/ }),
27677/* 264 */
27678/***/ (function(module, exports, __webpack_require__) {
27679
27680 __webpack_require__(265);
27681 var $Object = __webpack_require__(201).Object;
27682 module.exports = function create(P, D){
27683 return $Object.create(P, D);
27684 };
27685
27686/***/ }),
27687/* 265 */
27688/***/ (function(module, exports, __webpack_require__) {
27689
27690 var $export = __webpack_require__(199)
27691 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
27692 $export($export.S, 'Object', {create: __webpack_require__(218)});
27693
27694/***/ }),
27695/* 266 */
27696/***/ (function(module, exports, __webpack_require__) {
27697
27698 /* WEBPACK VAR INJECTION */(function(process) {/**
27699 * Copyright 2013-present, Facebook, Inc.
27700 * All rights reserved.
27701 *
27702 * This source code is licensed under the BSD-style license found in the
27703 * LICENSE file in the root directory of this source tree. An additional grant
27704 * of patent rights can be found in the PATENTS file in the same directory.
27705 */
27706
27707 if (process.env.NODE_ENV !== 'production') {
27708 var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
27709 Symbol.for &&
27710 Symbol.for('react.element')) ||
27711 0xeac7;
27712
27713 var isValidElement = function(object) {
27714 return typeof object === 'object' &&
27715 object !== null &&
27716 object.$$typeof === REACT_ELEMENT_TYPE;
27717 };
27718
27719 // By explicitly using `prop-types` you are opting into new development behavior.
27720 // http://fb.me/prop-types-in-prod
27721 var throwOnDirectAccess = true;
27722 module.exports = __webpack_require__(33)(isValidElement, throwOnDirectAccess);
27723 } else {
27724 // By explicitly using `prop-types` you are opting into new production behavior.
27725 // http://fb.me/prop-types-in-prod
27726 module.exports = __webpack_require__(267)();
27727 }
27728
27729 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
27730
27731/***/ }),
27732/* 267 */
27733/***/ (function(module, exports, __webpack_require__) {
27734
27735 /**
27736 * Copyright 2013-present, Facebook, Inc.
27737 * All rights reserved.
27738 *
27739 * This source code is licensed under the BSD-style license found in the
27740 * LICENSE file in the root directory of this source tree. An additional grant
27741 * of patent rights can be found in the PATENTS file in the same directory.
27742 */
27743
27744 'use strict';
27745
27746 var emptyFunction = __webpack_require__(14);
27747 var invariant = __webpack_require__(10);
27748
27749 module.exports = function() {
27750 // Important!
27751 // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
27752 function shim() {
27753 invariant(
27754 false,
27755 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
27756 'Use PropTypes.checkPropTypes() to call them. ' +
27757 'Read more at http://fb.me/use-check-prop-types'
27758 );
27759 };
27760 shim.isRequired = shim;
27761 function getShim() {
27762 return shim;
27763 };
27764 var ReactPropTypes = {
27765 array: shim,
27766 bool: shim,
27767 func: shim,
27768 number: shim,
27769 object: shim,
27770 string: shim,
27771 symbol: shim,
27772
27773 any: shim,
27774 arrayOf: getShim,
27775 element: shim,
27776 instanceOf: getShim,
27777 node: shim,
27778 objectOf: getShim,
27779 oneOf: getShim,
27780 oneOfType: getShim,
27781 shape: getShim
27782 };
27783
27784 ReactPropTypes.checkPropTypes = emptyFunction;
27785 ReactPropTypes.PropTypes = ReactPropTypes;
27786
27787 return ReactPropTypes;
27788 };
27789
27790
27791/***/ }),
27792/* 268 */
27793/***/ (function(module, exports, __webpack_require__) {
27794
27795 'use strict';
27796
27797 module.exports = __webpack_require__(269);
27798
27799/***/ }),
27800/* 269 */
27801/***/ (function(module, exports, __webpack_require__) {
25779 27802
25780 'use strict'; 27803 'use strict';
25781 27804
@@ -25783,7 +27806,7 @@
25783 value: true 27806 value: true
25784 }); 27807 });
25785 27808
25786 var _extends2 = __webpack_require__(186); 27809 var _extends2 = __webpack_require__(270);
25787 27810
25788 var _extends3 = _interopRequireDefault(_extends2); 27811 var _extends3 = _interopRequireDefault(_extends2);
25789 27812
@@ -25791,25 +27814,25 @@
25791 27814
25792 var _react2 = _interopRequireDefault(_react); 27815 var _react2 = _interopRequireDefault(_react);
25793 27816
25794 var _reactDom = __webpack_require__(34); 27817 var _reactDom = __webpack_require__(38);
25795 27818
25796 var _reactDom2 = _interopRequireDefault(_reactDom); 27819 var _reactDom2 = _interopRequireDefault(_reactDom);
25797 27820
25798 var _contains = __webpack_require__(224); 27821 var _contains = __webpack_require__(275);
25799 27822
25800 var _contains2 = _interopRequireDefault(_contains); 27823 var _contains2 = _interopRequireDefault(_contains);
25801 27824
25802 var _addEventListener = __webpack_require__(225); 27825 var _addEventListener = __webpack_require__(276);
25803 27826
25804 var _addEventListener2 = _interopRequireDefault(_addEventListener); 27827 var _addEventListener2 = _interopRequireDefault(_addEventListener);
25805 27828
25806 var _Popup = __webpack_require__(229); 27829 var _Popup = __webpack_require__(280);
25807 27830
25808 var _Popup2 = _interopRequireDefault(_Popup); 27831 var _Popup2 = _interopRequireDefault(_Popup);
25809 27832
25810 var _utils = __webpack_require__(254); 27833 var _utils = __webpack_require__(305);
25811 27834
25812 var _getContainerRenderMixin = __webpack_require__(255); 27835 var _getContainerRenderMixin = __webpack_require__(306);
25813 27836
25814 var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin); 27837 var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
25815 27838
@@ -25821,7 +27844,12 @@
25821 return ''; 27844 return '';
25822 } 27845 }
25823 27846
25824 var ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur']; 27847 function returnDocument() {
27848 return window.document;
27849 }
27850
27851 // use fastclick for mobile touch
27852 var ALL_HANDLERS = ['onClick', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur'];
25825 27853
25826 var Trigger = _react2["default"].createClass({ 27854 var Trigger = _react2["default"].createClass({
25827 displayName: 'Trigger', 27855 displayName: 'Trigger',
@@ -25840,7 +27868,7 @@
25840 popupClassName: _react.PropTypes.string, 27868 popupClassName: _react.PropTypes.string,
25841 popupPlacement: _react.PropTypes.string, 27869 popupPlacement: _react.PropTypes.string,
25842 builtinPlacements: _react.PropTypes.object, 27870 builtinPlacements: _react.PropTypes.object,
25843 popupTransitionName: _react.PropTypes.string, 27871 popupTransitionName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]),
25844 popupAnimation: _react.PropTypes.any, 27872 popupAnimation: _react.PropTypes.any,
25845 mouseEnterDelay: _react.PropTypes.number, 27873 mouseEnterDelay: _react.PropTypes.number,
25846 mouseLeaveDelay: _react.PropTypes.number, 27874 mouseLeaveDelay: _react.PropTypes.number,
@@ -25848,13 +27876,14 @@
25848 focusDelay: _react.PropTypes.number, 27876 focusDelay: _react.PropTypes.number,
25849 blurDelay: _react.PropTypes.number, 27877 blurDelay: _react.PropTypes.number,
25850 getPopupContainer: _react.PropTypes.func, 27878 getPopupContainer: _react.PropTypes.func,
27879 getDocument: _react.PropTypes.func,
25851 destroyPopupOnHide: _react.PropTypes.bool, 27880 destroyPopupOnHide: _react.PropTypes.bool,
25852 mask: _react.PropTypes.bool, 27881 mask: _react.PropTypes.bool,
25853 maskClosable: _react.PropTypes.bool, 27882 maskClosable: _react.PropTypes.bool,
25854 onPopupAlign: _react.PropTypes.func, 27883 onPopupAlign: _react.PropTypes.func,
25855 popupAlign: _react.PropTypes.object, 27884 popupAlign: _react.PropTypes.object,
25856 popupVisible: _react.PropTypes.bool, 27885 popupVisible: _react.PropTypes.bool,
25857 maskTransitionName: _react.PropTypes.string, 27886 maskTransitionName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]),
25858 maskAnimation: _react.PropTypes.string 27887 maskAnimation: _react.PropTypes.string
25859 }, 27888 },
25860 27889
@@ -25865,8 +27894,16 @@
25865 return instance.state.popupVisible; 27894 return instance.state.popupVisible;
25866 }, 27895 },
25867 getContainer: function getContainer(instance) { 27896 getContainer: function getContainer(instance) {
27897 var props = instance.props;
27898
25868 var popupContainer = document.createElement('div'); 27899 var popupContainer = document.createElement('div');
25869 var mountNode = instance.props.getPopupContainer ? instance.props.getPopupContainer((0, _reactDom.findDOMNode)(instance)) : document.body; 27900 // Make sure default popup container will never cause scrollbar appearing
27901 // https://github.com/react-component/trigger/issues/41
27902 popupContainer.style.position = 'absolute';
27903 popupContainer.style.top = '0';
27904 popupContainer.style.left = '0';
27905 popupContainer.style.width = '100%';
27906 var mountNode = props.getPopupContainer ? props.getPopupContainer((0, _reactDom.findDOMNode)(instance)) : props.getDocument().body;
25870 mountNode.appendChild(popupContainer); 27907 mountNode.appendChild(popupContainer);
25871 return popupContainer; 27908 return popupContainer;
25872 } 27909 }
@@ -25876,6 +27913,7 @@
25876 return { 27913 return {
25877 prefixCls: 'rc-trigger-popup', 27914 prefixCls: 'rc-trigger-popup',
25878 getPopupClassNameFromAlign: returnEmptyString, 27915 getPopupClassNameFromAlign: returnEmptyString,
27916 getDocument: returnDocument,
25879 onPopupVisibleChange: noop, 27917 onPopupVisibleChange: noop,
25880 afterPopupVisibleChange: noop, 27918 afterPopupVisibleChange: noop,
25881 onPopupAlign: noop, 27919 onPopupAlign: noop,
@@ -25938,30 +27976,21 @@
25938 props.afterPopupVisibleChange(state.popupVisible); 27976 props.afterPopupVisibleChange(state.popupVisible);
25939 } 27977 }
25940 }); 27978 });
25941 if (this.isClickToHide()) { 27979
25942 if (state.popupVisible) { 27980 if (state.popupVisible) {
25943 if (!this.clickOutsideHandler) { 27981 var currentDocument = void 0;
25944 this.clickOutsideHandler = (0, _addEventListener2["default"])(document, 'mousedown', this.onDocumentClick); 27982 if (!this.clickOutsideHandler && this.isClickToHide()) {
25945 this.touchOutsideHandler = (0, _addEventListener2["default"])(document, 'touchstart', this.onDocumentClick); 27983 currentDocument = props.getDocument();
25946 } 27984 this.clickOutsideHandler = (0, _addEventListener2["default"])(currentDocument, 'click', this.onDocumentClick);
25947 return;
25948 } 27985 }
27986 return;
25949 } 27987 }
25950 if (this.clickOutsideHandler) { 27988
25951 this.clickOutsideHandler.remove(); 27989 this.clearOutsideHandler();
25952 this.touchOutsideHandler.remove();
25953 this.clickOutsideHandler = null;
25954 this.touchOutsideHandler = null;
25955 }
25956 }, 27990 },
25957 componentWillUnmount: function componentWillUnmount() { 27991 componentWillUnmount: function componentWillUnmount() {
25958 this.clearDelayTimer(); 27992 this.clearDelayTimer();
25959 if (this.clickOutsideHandler) { 27993 this.clearOutsideHandler();
25960 this.clickOutsideHandler.remove();
25961 this.touchOutsideHandler.remove();
25962 this.clickOutsideHandler = null;
25963 this.touchOutsideHandler = null;
25964 }
25965 }, 27994 },
25966 onMouseEnter: function onMouseEnter(e) { 27995 onMouseEnter: function onMouseEnter(e) {
25967 this.fireEvents('onMouseEnter', e); 27996 this.fireEvents('onMouseEnter', e);
@@ -25995,10 +28024,6 @@
25995 this.fireEvents('onMouseDown', e); 28024 this.fireEvents('onMouseDown', e);
25996 this.preClickTime = Date.now(); 28025 this.preClickTime = Date.now();
25997 }, 28026 },
25998 onTouchStart: function onTouchStart(e) {
25999 this.fireEvents('onTouchStart', e);
26000 this.preTouchTime = Date.now();
26001 },
26002 onBlur: function onBlur(e) { 28027 onBlur: function onBlur(e) {
26003 this.fireEvents('onBlur', e); 28028 this.fireEvents('onBlur', e);
26004 this.clearDelayTimer(); 28029 this.clearDelayTimer();
@@ -26011,12 +28036,8 @@
26011 // focus will trigger click 28036 // focus will trigger click
26012 if (this.focusTime) { 28037 if (this.focusTime) {
26013 var preTime = void 0; 28038 var preTime = void 0;
26014 if (this.preClickTime && this.preTouchTime) { 28039 if (this.preClickTime) {
26015 preTime = Math.min(this.preClickTime, this.preTouchTime);
26016 } else if (this.preClickTime) {
26017 preTime = this.preClickTime; 28040 preTime = this.preClickTime;
26018 } else if (this.preTouchTime) {
26019 preTime = this.preTouchTime;
26020 } 28041 }
26021 if (Math.abs(preTime - this.focusTime) < 20) { 28042 if (Math.abs(preTime - this.focusTime) < 20) {
26022 return; 28043 return;
@@ -26024,7 +28045,6 @@
26024 this.focusTime = 0; 28045 this.focusTime = 0;
26025 } 28046 }
26026 this.preClickTime = 0; 28047 this.preClickTime = 0;
26027 this.preTouchTime = 0;
26028 event.preventDefault(); 28048 event.preventDefault();
26029 var nextVisible = !this.state.popupVisible; 28049 var nextVisible = !this.state.popupVisible;
26030 if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) { 28050 if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) {
@@ -26144,6 +28164,12 @@
26144 this.delayTimer = null; 28164 this.delayTimer = null;
26145 } 28165 }
26146 }, 28166 },
28167 clearOutsideHandler: function clearOutsideHandler() {
28168 if (this.clickOutsideHandler) {
28169 this.clickOutsideHandler.remove();
28170 this.clickOutsideHandler = null;
28171 }
28172 },
26147 createTwoChains: function createTwoChains(event) { 28173 createTwoChains: function createTwoChains(event) {
26148 var childPros = this.props.children.props; 28174 var childPros = this.props.children.props;
26149 var props = this.props; 28175 var props = this.props;
@@ -26217,15 +28243,12 @@
26217 var children = props.children; 28243 var children = props.children;
26218 var child = _react2["default"].Children.only(children); 28244 var child = _react2["default"].Children.only(children);
26219 var newChildProps = {}; 28245 var newChildProps = {};
26220
26221 if (this.isClickToHide() || this.isClickToShow()) { 28246 if (this.isClickToHide() || this.isClickToShow()) {
26222 newChildProps.onClick = this.onClick; 28247 newChildProps.onClick = this.onClick;
26223 newChildProps.onMouseDown = this.onMouseDown; 28248 newChildProps.onMouseDown = this.onMouseDown;
26224 newChildProps.onTouchStart = this.onTouchStart;
26225 } else { 28249 } else {
26226 newChildProps.onClick = this.createTwoChains('onClick'); 28250 newChildProps.onClick = this.createTwoChains('onClick');
26227 newChildProps.onMouseDown = this.createTwoChains('onMouseDown'); 28251 newChildProps.onMouseDown = this.createTwoChains('onMouseDown');
26228 newChildProps.onTouchStart = this.createTwoChains('onTouchStart');
26229 } 28252 }
26230 if (this.isMouseEnterToShow()) { 28253 if (this.isMouseEnterToShow()) {
26231 newChildProps.onMouseEnter = this.onMouseEnter; 28254 newChildProps.onMouseEnter = this.onMouseEnter;
@@ -26252,15 +28275,15 @@
26252 exports["default"] = Trigger; 28275 exports["default"] = Trigger;
26253 module.exports = exports['default']; 28276 module.exports = exports['default'];
26254 28277
26255/***/ }, 28278/***/ }),
26256/* 186 */ 28279/* 270 */
26257/***/ function(module, exports, __webpack_require__) { 28280/***/ (function(module, exports, __webpack_require__) {
26258 28281
26259 "use strict"; 28282 "use strict";
26260 28283
26261 exports.__esModule = true; 28284 exports.__esModule = true;
26262 28285
26263 var _assign = __webpack_require__(187); 28286 var _assign = __webpack_require__(271);
26264 28287
26265 var _assign2 = _interopRequireDefault(_assign); 28288 var _assign2 = _interopRequireDefault(_assign);
26266 28289
@@ -26280,282 +28303,43 @@
26280 return target; 28303 return target;
26281 }; 28304 };
26282 28305
26283/***/ }, 28306/***/ }),
26284/* 187 */ 28307/* 271 */
26285/***/ function(module, exports, __webpack_require__) { 28308/***/ (function(module, exports, __webpack_require__) {
26286 28309
26287 module.exports = { "default": __webpack_require__(188), __esModule: true }; 28310 module.exports = { "default": __webpack_require__(272), __esModule: true };
26288 28311
26289/***/ }, 28312/***/ }),
26290/* 188 */ 28313/* 272 */
26291/***/ function(module, exports, __webpack_require__) { 28314/***/ (function(module, exports, __webpack_require__) {
26292 28315
26293 __webpack_require__(189); 28316 __webpack_require__(273);
26294 module.exports = __webpack_require__(192).Object.assign; 28317 module.exports = __webpack_require__(201).Object.assign;
26295 28318
26296/***/ }, 28319/***/ }),
26297/* 189 */ 28320/* 273 */
26298/***/ function(module, exports, __webpack_require__) { 28321/***/ (function(module, exports, __webpack_require__) {
26299 28322
26300 // 19.1.3.1 Object.assign(target, source) 28323 // 19.1.3.1 Object.assign(target, source)
26301 var $export = __webpack_require__(190); 28324 var $export = __webpack_require__(199);
26302
26303 $export($export.S + $export.F, 'Object', {assign: __webpack_require__(205)});
26304
26305/***/ },
26306/* 190 */
26307/***/ function(module, exports, __webpack_require__) {
26308
26309 var global = __webpack_require__(191)
26310 , core = __webpack_require__(192)
26311 , ctx = __webpack_require__(193)
26312 , hide = __webpack_require__(195)
26313 , PROTOTYPE = 'prototype';
26314
26315 var $export = function(type, name, source){
26316 var IS_FORCED = type & $export.F
26317 , IS_GLOBAL = type & $export.G
26318 , IS_STATIC = type & $export.S
26319 , IS_PROTO = type & $export.P
26320 , IS_BIND = type & $export.B
26321 , IS_WRAP = type & $export.W
26322 , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
26323 , expProto = exports[PROTOTYPE]
26324 , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
26325 , key, own, out;
26326 if(IS_GLOBAL)source = name;
26327 for(key in source){
26328 // contains in native
26329 own = !IS_FORCED && target && target[key] !== undefined;
26330 if(own && key in exports)continue;
26331 // export native or passed
26332 out = own ? target[key] : source[key];
26333 // prevent global pollution for namespaces
26334 exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
26335 // bind timers to global for call from export context
26336 : IS_BIND && own ? ctx(out, global)
26337 // wrap global constructors for prevent change them in library
26338 : IS_WRAP && target[key] == out ? (function(C){
26339 var F = function(a, b, c){
26340 if(this instanceof C){
26341 switch(arguments.length){
26342 case 0: return new C;
26343 case 1: return new C(a);
26344 case 2: return new C(a, b);
26345 } return new C(a, b, c);
26346 } return C.apply(this, arguments);
26347 };
26348 F[PROTOTYPE] = C[PROTOTYPE];
26349 return F;
26350 // make static versions for prototype methods
26351 })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
26352 // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
26353 if(IS_PROTO){
26354 (exports.virtual || (exports.virtual = {}))[key] = out;
26355 // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
26356 if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);
26357 }
26358 }
26359 };
26360 // type bitmap
26361 $export.F = 1; // forced
26362 $export.G = 2; // global
26363 $export.S = 4; // static
26364 $export.P = 8; // proto
26365 $export.B = 16; // bind
26366 $export.W = 32; // wrap
26367 $export.U = 64; // safe
26368 $export.R = 128; // real proto method for `library`
26369 module.exports = $export;
26370
26371/***/ },
26372/* 191 */
26373/***/ function(module, exports) {
26374
26375 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
26376 var global = module.exports = typeof window != 'undefined' && window.Math == Math
26377 ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
26378 if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
26379
26380/***/ },
26381/* 192 */
26382/***/ function(module, exports) {
26383
26384 var core = module.exports = {version: '2.4.0'};
26385 if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
26386
26387/***/ },
26388/* 193 */
26389/***/ function(module, exports, __webpack_require__) {
26390
26391 // optional / simple context binding
26392 var aFunction = __webpack_require__(194);
26393 module.exports = function(fn, that, length){
26394 aFunction(fn);
26395 if(that === undefined)return fn;
26396 switch(length){
26397 case 1: return function(a){
26398 return fn.call(that, a);
26399 };
26400 case 2: return function(a, b){
26401 return fn.call(that, a, b);
26402 };
26403 case 3: return function(a, b, c){
26404 return fn.call(that, a, b, c);
26405 };
26406 }
26407 return function(/* ...args */){
26408 return fn.apply(that, arguments);
26409 };
26410 };
26411
26412/***/ },
26413/* 194 */
26414/***/ function(module, exports) {
26415
26416 module.exports = function(it){
26417 if(typeof it != 'function')throw TypeError(it + ' is not a function!');
26418 return it;
26419 };
26420
26421/***/ },
26422/* 195 */
26423/***/ function(module, exports, __webpack_require__) {
26424
26425 var dP = __webpack_require__(196)
26426 , createDesc = __webpack_require__(204);
26427 module.exports = __webpack_require__(200) ? function(object, key, value){
26428 return dP.f(object, key, createDesc(1, value));
26429 } : function(object, key, value){
26430 object[key] = value;
26431 return object;
26432 };
26433
26434/***/ },
26435/* 196 */
26436/***/ function(module, exports, __webpack_require__) {
26437
26438 var anObject = __webpack_require__(197)
26439 , IE8_DOM_DEFINE = __webpack_require__(199)
26440 , toPrimitive = __webpack_require__(203)
26441 , dP = Object.defineProperty;
26442 28325
26443 exports.f = __webpack_require__(200) ? Object.defineProperty : function defineProperty(O, P, Attributes){ 28326 $export($export.S + $export.F, 'Object', {assign: __webpack_require__(274)});
26444 anObject(O);
26445 P = toPrimitive(P, true);
26446 anObject(Attributes);
26447 if(IE8_DOM_DEFINE)try {
26448 return dP(O, P, Attributes);
26449 } catch(e){ /* empty */ }
26450 if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
26451 if('value' in Attributes)O[P] = Attributes.value;
26452 return O;
26453 };
26454
26455/***/ },
26456/* 197 */
26457/***/ function(module, exports, __webpack_require__) {
26458
26459 var isObject = __webpack_require__(198);
26460 module.exports = function(it){
26461 if(!isObject(it))throw TypeError(it + ' is not an object!');
26462 return it;
26463 };
26464
26465/***/ },
26466/* 198 */
26467/***/ function(module, exports) {
26468
26469 module.exports = function(it){
26470 return typeof it === 'object' ? it !== null : typeof it === 'function';
26471 };
26472
26473/***/ },
26474/* 199 */
26475/***/ function(module, exports, __webpack_require__) {
26476
26477 module.exports = !__webpack_require__(200) && !__webpack_require__(201)(function(){
26478 return Object.defineProperty(__webpack_require__(202)('div'), 'a', {get: function(){ return 7; }}).a != 7;
26479 });
26480
26481/***/ },
26482/* 200 */
26483/***/ function(module, exports, __webpack_require__) {
26484
26485 // Thank's IE8 for his funny defineProperty
26486 module.exports = !__webpack_require__(201)(function(){
26487 return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
26488 });
26489
26490/***/ },
26491/* 201 */
26492/***/ function(module, exports) {
26493
26494 module.exports = function(exec){
26495 try {
26496 return !!exec();
26497 } catch(e){
26498 return true;
26499 }
26500 };
26501
26502/***/ },
26503/* 202 */
26504/***/ function(module, exports, __webpack_require__) {
26505
26506 var isObject = __webpack_require__(198)
26507 , document = __webpack_require__(191).document
26508 // in old IE typeof document.createElement is 'object'
26509 , is = isObject(document) && isObject(document.createElement);
26510 module.exports = function(it){
26511 return is ? document.createElement(it) : {};
26512 };
26513
26514/***/ },
26515/* 203 */
26516/***/ function(module, exports, __webpack_require__) {
26517
26518 // 7.1.1 ToPrimitive(input [, PreferredType])
26519 var isObject = __webpack_require__(198);
26520 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
26521 // and the second argument - flag - preferred type is a string
26522 module.exports = function(it, S){
26523 if(!isObject(it))return it;
26524 var fn, val;
26525 if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
26526 if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
26527 if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
26528 throw TypeError("Can't convert object to primitive value");
26529 };
26530
26531/***/ },
26532/* 204 */
26533/***/ function(module, exports) {
26534 28327
26535 module.exports = function(bitmap, value){ 28328/***/ }),
26536 return { 28329/* 274 */
26537 enumerable : !(bitmap & 1), 28330/***/ (function(module, exports, __webpack_require__) {
26538 configurable: !(bitmap & 2),
26539 writable : !(bitmap & 4),
26540 value : value
26541 };
26542 };
26543
26544/***/ },
26545/* 205 */
26546/***/ function(module, exports, __webpack_require__) {
26547 28331
26548 'use strict'; 28332 'use strict';
26549 // 19.1.2.1 Object.assign(target, source, ...) 28333 // 19.1.2.1 Object.assign(target, source, ...)
26550 var getKeys = __webpack_require__(206) 28334 var getKeys = __webpack_require__(220)
26551 , gOPS = __webpack_require__(221) 28335 , gOPS = __webpack_require__(249)
26552 , pIE = __webpack_require__(222) 28336 , pIE = __webpack_require__(250)
26553 , toObject = __webpack_require__(223) 28337 , toObject = __webpack_require__(236)
26554 , IObject = __webpack_require__(210) 28338 , IObject = __webpack_require__(223)
26555 , $assign = Object.assign; 28339 , $assign = Object.assign;
26556 28340
26557 // should work with symbols and should have deterministic property order (V8 bug) 28341 // should work with symbols and should have deterministic property order (V8 bug)
26558 module.exports = !$assign || __webpack_require__(201)(function(){ 28342 module.exports = !$assign || __webpack_require__(210)(function(){
26559 var A = {} 28343 var A = {}
26560 , B = {} 28344 , B = {}
26561 , S = Symbol() 28345 , S = Symbol()
@@ -26579,215 +28363,9 @@
26579 } return T; 28363 } return T;
26580 } : $assign; 28364 } : $assign;
26581 28365
26582/***/ }, 28366/***/ }),
26583/* 206 */ 28367/* 275 */
26584/***/ function(module, exports, __webpack_require__) { 28368/***/ (function(module, exports) {
26585
26586 // 19.1.2.14 / 15.2.3.14 Object.keys(O)
26587 var $keys = __webpack_require__(207)
26588 , enumBugKeys = __webpack_require__(220);
26589
26590 module.exports = Object.keys || function keys(O){
26591 return $keys(O, enumBugKeys);
26592 };
26593
26594/***/ },
26595/* 207 */
26596/***/ function(module, exports, __webpack_require__) {
26597
26598 var has = __webpack_require__(208)
26599 , toIObject = __webpack_require__(209)
26600 , arrayIndexOf = __webpack_require__(213)(false)
26601 , IE_PROTO = __webpack_require__(217)('IE_PROTO');
26602
26603 module.exports = function(object, names){
26604 var O = toIObject(object)
26605 , i = 0
26606 , result = []
26607 , key;
26608 for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
26609 // Don't enum bug & hidden keys
26610 while(names.length > i)if(has(O, key = names[i++])){
26611 ~arrayIndexOf(result, key) || result.push(key);
26612 }
26613 return result;
26614 };
26615
26616/***/ },
26617/* 208 */
26618/***/ function(module, exports) {
26619
26620 var hasOwnProperty = {}.hasOwnProperty;
26621 module.exports = function(it, key){
26622 return hasOwnProperty.call(it, key);
26623 };
26624
26625/***/ },
26626/* 209 */
26627/***/ function(module, exports, __webpack_require__) {
26628
26629 // to indexed object, toObject with fallback for non-array-like ES3 strings
26630 var IObject = __webpack_require__(210)
26631 , defined = __webpack_require__(212);
26632 module.exports = function(it){
26633 return IObject(defined(it));
26634 };
26635
26636/***/ },
26637/* 210 */
26638/***/ function(module, exports, __webpack_require__) {
26639
26640 // fallback for non-array-like ES3 and non-enumerable old V8 strings
26641 var cof = __webpack_require__(211);
26642 module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
26643 return cof(it) == 'String' ? it.split('') : Object(it);
26644 };
26645
26646/***/ },
26647/* 211 */
26648/***/ function(module, exports) {
26649
26650 var toString = {}.toString;
26651
26652 module.exports = function(it){
26653 return toString.call(it).slice(8, -1);
26654 };
26655
26656/***/ },
26657/* 212 */
26658/***/ function(module, exports) {
26659
26660 // 7.2.1 RequireObjectCoercible(argument)
26661 module.exports = function(it){
26662 if(it == undefined)throw TypeError("Can't call method on " + it);
26663 return it;
26664 };
26665
26666/***/ },
26667/* 213 */
26668/***/ function(module, exports, __webpack_require__) {
26669
26670 // false -> Array#indexOf
26671 // true -> Array#includes
26672 var toIObject = __webpack_require__(209)
26673 , toLength = __webpack_require__(214)
26674 , toIndex = __webpack_require__(216);
26675 module.exports = function(IS_INCLUDES){
26676 return function($this, el, fromIndex){
26677 var O = toIObject($this)
26678 , length = toLength(O.length)
26679 , index = toIndex(fromIndex, length)
26680 , value;
26681 // Array#includes uses SameValueZero equality algorithm
26682 if(IS_INCLUDES && el != el)while(length > index){
26683 value = O[index++];
26684 if(value != value)return true;
26685 // Array#toIndex ignores holes, Array#includes - not
26686 } else for(;length > index; index++)if(IS_INCLUDES || index in O){
26687 if(O[index] === el)return IS_INCLUDES || index || 0;
26688 } return !IS_INCLUDES && -1;
26689 };
26690 };
26691
26692/***/ },
26693/* 214 */
26694/***/ function(module, exports, __webpack_require__) {
26695
26696 // 7.1.15 ToLength
26697 var toInteger = __webpack_require__(215)
26698 , min = Math.min;
26699 module.exports = function(it){
26700 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
26701 };
26702
26703/***/ },
26704/* 215 */
26705/***/ function(module, exports) {
26706
26707 // 7.1.4 ToInteger
26708 var ceil = Math.ceil
26709 , floor = Math.floor;
26710 module.exports = function(it){
26711 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
26712 };
26713
26714/***/ },
26715/* 216 */
26716/***/ function(module, exports, __webpack_require__) {
26717
26718 var toInteger = __webpack_require__(215)
26719 , max = Math.max
26720 , min = Math.min;
26721 module.exports = function(index, length){
26722 index = toInteger(index);
26723 return index < 0 ? max(index + length, 0) : min(index, length);
26724 };
26725
26726/***/ },
26727/* 217 */
26728/***/ function(module, exports, __webpack_require__) {
26729
26730 var shared = __webpack_require__(218)('keys')
26731 , uid = __webpack_require__(219);
26732 module.exports = function(key){
26733 return shared[key] || (shared[key] = uid(key));
26734 };
26735
26736/***/ },
26737/* 218 */
26738/***/ function(module, exports, __webpack_require__) {
26739
26740 var global = __webpack_require__(191)
26741 , SHARED = '__core-js_shared__'
26742 , store = global[SHARED] || (global[SHARED] = {});
26743 module.exports = function(key){
26744 return store[key] || (store[key] = {});
26745 };
26746
26747/***/ },
26748/* 219 */
26749/***/ function(module, exports) {
26750
26751 var id = 0
26752 , px = Math.random();
26753 module.exports = function(key){
26754 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
26755 };
26756
26757/***/ },
26758/* 220 */
26759/***/ function(module, exports) {
26760
26761 // IE 8- don't enum bug keys
26762 module.exports = (
26763 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
26764 ).split(',');
26765
26766/***/ },
26767/* 221 */
26768/***/ function(module, exports) {
26769
26770 exports.f = Object.getOwnPropertySymbols;
26771
26772/***/ },
26773/* 222 */
26774/***/ function(module, exports) {
26775
26776 exports.f = {}.propertyIsEnumerable;
26777
26778/***/ },
26779/* 223 */
26780/***/ function(module, exports, __webpack_require__) {
26781
26782 // 7.1.13 ToObject(argument)
26783 var defined = __webpack_require__(212);
26784 module.exports = function(it){
26785 return Object(defined(it));
26786 };
26787
26788/***/ },
26789/* 224 */
26790/***/ function(module, exports) {
26791 28369
26792 "use strict"; 28370 "use strict";
26793 28371
@@ -26808,9 +28386,9 @@
26808 } 28386 }
26809 module.exports = exports['default']; 28387 module.exports = exports['default'];
26810 28388
26811/***/ }, 28389/***/ }),
26812/* 225 */ 28390/* 276 */
26813/***/ function(module, exports, __webpack_require__) { 28391/***/ (function(module, exports, __webpack_require__) {
26814 28392
26815 'use strict'; 28393 'use strict';
26816 28394
@@ -26819,11 +28397,11 @@
26819 }); 28397 });
26820 exports["default"] = addEventListenerWrap; 28398 exports["default"] = addEventListenerWrap;
26821 28399
26822 var _addDomEventListener = __webpack_require__(226); 28400 var _addDomEventListener = __webpack_require__(277);
26823 28401
26824 var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener); 28402 var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener);
26825 28403
26826 var _reactDom = __webpack_require__(34); 28404 var _reactDom = __webpack_require__(38);
26827 28405
26828 var _reactDom2 = _interopRequireDefault(_reactDom); 28406 var _reactDom2 = _interopRequireDefault(_reactDom);
26829 28407
@@ -26838,9 +28416,9 @@
26838 } 28416 }
26839 module.exports = exports['default']; 28417 module.exports = exports['default'];
26840 28418
26841/***/ }, 28419/***/ }),
26842/* 226 */ 28420/* 277 */
26843/***/ function(module, exports, __webpack_require__) { 28421/***/ (function(module, exports, __webpack_require__) {
26844 28422
26845 'use strict'; 28423 'use strict';
26846 28424
@@ -26849,7 +28427,7 @@
26849 }); 28427 });
26850 exports["default"] = addEventListener; 28428 exports["default"] = addEventListener;
26851 28429
26852 var _EventObject = __webpack_require__(227); 28430 var _EventObject = __webpack_require__(278);
26853 28431
26854 var _EventObject2 = _interopRequireDefault(_EventObject); 28432 var _EventObject2 = _interopRequireDefault(_EventObject);
26855 28433
@@ -26879,9 +28457,9 @@
26879 } 28457 }
26880 module.exports = exports['default']; 28458 module.exports = exports['default'];
26881 28459
26882/***/ }, 28460/***/ }),
26883/* 227 */ 28461/* 278 */
26884/***/ function(module, exports, __webpack_require__) { 28462/***/ (function(module, exports, __webpack_require__) {
26885 28463
26886 'use strict'; 28464 'use strict';
26887 28465
@@ -26889,7 +28467,7 @@
26889 value: true 28467 value: true
26890 }); 28468 });
26891 28469
26892 var _EventBaseObject = __webpack_require__(228); 28470 var _EventBaseObject = __webpack_require__(279);
26893 28471
26894 var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject); 28472 var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
26895 28473
@@ -27161,9 +28739,9 @@
27161 exports["default"] = DomEventObject; 28739 exports["default"] = DomEventObject;
27162 module.exports = exports['default']; 28740 module.exports = exports['default'];
27163 28741
27164/***/ }, 28742/***/ }),
27165/* 228 */ 28743/* 279 */
27166/***/ function(module, exports) { 28744/***/ (function(module, exports) {
27167 28745
27168 "use strict"; 28746 "use strict";
27169 28747
@@ -27226,9 +28804,9 @@
27226 exports["default"] = EventBaseObject; 28804 exports["default"] = EventBaseObject;
27227 module.exports = exports['default']; 28805 module.exports = exports['default'];
27228 28806
27229/***/ }, 28807/***/ }),
27230/* 229 */ 28808/* 280 */
27231/***/ function(module, exports, __webpack_require__) { 28809/***/ (function(module, exports, __webpack_require__) {
27232 28810
27233 'use strict'; 28811 'use strict';
27234 28812
@@ -27236,7 +28814,7 @@
27236 value: true 28814 value: true
27237 }); 28815 });
27238 28816
27239 var _extends2 = __webpack_require__(186); 28817 var _extends2 = __webpack_require__(270);
27240 28818
27241 var _extends3 = _interopRequireDefault(_extends2); 28819 var _extends3 = _interopRequireDefault(_extends2);
27242 28820
@@ -27244,23 +28822,23 @@
27244 28822
27245 var _react2 = _interopRequireDefault(_react); 28823 var _react2 = _interopRequireDefault(_react);
27246 28824
27247 var _reactDom = __webpack_require__(34); 28825 var _reactDom = __webpack_require__(38);
27248 28826
27249 var _reactDom2 = _interopRequireDefault(_reactDom); 28827 var _reactDom2 = _interopRequireDefault(_reactDom);
27250 28828
27251 var _rcAlign = __webpack_require__(230); 28829 var _rcAlign = __webpack_require__(281);
27252 28830
27253 var _rcAlign2 = _interopRequireDefault(_rcAlign); 28831 var _rcAlign2 = _interopRequireDefault(_rcAlign);
27254 28832
27255 var _rcAnimate = __webpack_require__(242); 28833 var _rcAnimate = __webpack_require__(293);
27256 28834
27257 var _rcAnimate2 = _interopRequireDefault(_rcAnimate); 28835 var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
27258 28836
27259 var _PopupInner = __webpack_require__(251); 28837 var _PopupInner = __webpack_require__(302);
27260 28838
27261 var _PopupInner2 = _interopRequireDefault(_PopupInner); 28839 var _PopupInner2 = _interopRequireDefault(_PopupInner);
27262 28840
27263 var _LazyRenderBox = __webpack_require__(252); 28841 var _LazyRenderBox = __webpack_require__(303);
27264 28842
27265 var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox); 28843 var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
27266 28844
@@ -27457,9 +29035,9 @@
27457 exports["default"] = Popup; 29035 exports["default"] = Popup;
27458 module.exports = exports['default']; 29036 module.exports = exports['default'];
27459 29037
27460/***/ }, 29038/***/ }),
27461/* 230 */ 29039/* 281 */
27462/***/ function(module, exports, __webpack_require__) { 29040/***/ (function(module, exports, __webpack_require__) {
27463 29041
27464 'use strict'; 29042 'use strict';
27465 29043
@@ -27467,7 +29045,7 @@
27467 value: true 29045 value: true
27468 }); 29046 });
27469 29047
27470 var _Align = __webpack_require__(231); 29048 var _Align = __webpack_require__(282);
27471 29049
27472 var _Align2 = _interopRequireDefault(_Align); 29050 var _Align2 = _interopRequireDefault(_Align);
27473 29051
@@ -27477,9 +29055,9 @@
27477 29055
27478 module.exports = exports['default']; 29056 module.exports = exports['default'];
27479 29057
27480/***/ }, 29058/***/ }),
27481/* 231 */ 29059/* 282 */
27482/***/ function(module, exports, __webpack_require__) { 29060/***/ (function(module, exports, __webpack_require__) {
27483 29061
27484 'use strict'; 29062 'use strict';
27485 29063
@@ -27491,19 +29069,19 @@
27491 29069
27492 var _react2 = _interopRequireDefault(_react); 29070 var _react2 = _interopRequireDefault(_react);
27493 29071
27494 var _reactDom = __webpack_require__(34); 29072 var _reactDom = __webpack_require__(38);
27495 29073
27496 var _reactDom2 = _interopRequireDefault(_reactDom); 29074 var _reactDom2 = _interopRequireDefault(_reactDom);
27497 29075
27498 var _domAlign = __webpack_require__(232); 29076 var _domAlign = __webpack_require__(283);
27499 29077
27500 var _domAlign2 = _interopRequireDefault(_domAlign); 29078 var _domAlign2 = _interopRequireDefault(_domAlign);
27501 29079
27502 var _addEventListener = __webpack_require__(225); 29080 var _addEventListener = __webpack_require__(276);
27503 29081
27504 var _addEventListener2 = _interopRequireDefault(_addEventListener); 29082 var _addEventListener2 = _interopRequireDefault(_addEventListener);
27505 29083
27506 var _isWindow = __webpack_require__(241); 29084 var _isWindow = __webpack_require__(292);
27507 29085
27508 var _isWindow2 = _interopRequireDefault(_isWindow); 29086 var _isWindow2 = _interopRequireDefault(_isWindow);
27509 29087
@@ -27636,9 +29214,9 @@
27636 exports["default"] = Align; 29214 exports["default"] = Align;
27637 module.exports = exports['default']; 29215 module.exports = exports['default'];
27638 29216
27639/***/ }, 29217/***/ }),
27640/* 232 */ 29218/* 283 */
27641/***/ function(module, exports, __webpack_require__) { 29219/***/ (function(module, exports, __webpack_require__) {
27642 29220
27643 'use strict'; 29221 'use strict';
27644 29222
@@ -27646,27 +29224,27 @@
27646 value: true 29224 value: true
27647 }); 29225 });
27648 29226
27649 var _utils = __webpack_require__(233); 29227 var _utils = __webpack_require__(284);
27650 29228
27651 var _utils2 = _interopRequireDefault(_utils); 29229 var _utils2 = _interopRequireDefault(_utils);
27652 29230
27653 var _getOffsetParent = __webpack_require__(235); 29231 var _getOffsetParent = __webpack_require__(286);
27654 29232
27655 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent); 29233 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
27656 29234
27657 var _getVisibleRectForElement = __webpack_require__(236); 29235 var _getVisibleRectForElement = __webpack_require__(287);
27658 29236
27659 var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement); 29237 var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
27660 29238
27661 var _adjustForViewport = __webpack_require__(237); 29239 var _adjustForViewport = __webpack_require__(288);
27662 29240
27663 var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport); 29241 var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
27664 29242
27665 var _getRegion = __webpack_require__(238); 29243 var _getRegion = __webpack_require__(289);
27666 29244
27667 var _getRegion2 = _interopRequireDefault(_getRegion); 29245 var _getRegion2 = _interopRequireDefault(_getRegion);
27668 29246
27669 var _getElFuturePos = __webpack_require__(239); 29247 var _getElFuturePos = __webpack_require__(290);
27670 29248
27671 var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos); 29249 var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
27672 29250
@@ -27859,9 +29437,9 @@
27859 29437
27860 module.exports = exports['default']; 29438 module.exports = exports['default'];
27861 29439
27862/***/ }, 29440/***/ }),
27863/* 233 */ 29441/* 284 */
27864/***/ function(module, exports, __webpack_require__) { 29442/***/ (function(module, exports, __webpack_require__) {
27865 29443
27866 'use strict'; 29444 'use strict';
27867 29445
@@ -27871,7 +29449,7 @@
27871 29449
27872 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 29450 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
27873 29451
27874 var _propertyUtils = __webpack_require__(234); 29452 var _propertyUtils = __webpack_require__(285);
27875 29453
27876 var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source; 29454 var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
27877 29455
@@ -28422,9 +30000,9 @@
28422 exports["default"] = utils; 30000 exports["default"] = utils;
28423 module.exports = exports['default']; 30001 module.exports = exports['default'];
28424 30002
28425/***/ }, 30003/***/ }),
28426/* 234 */ 30004/* 285 */
28427/***/ function(module, exports) { 30005/***/ (function(module, exports) {
28428 30006
28429 'use strict'; 30007 'use strict';
28430 30008
@@ -28537,9 +30115,9 @@
28537 } 30115 }
28538 } 30116 }
28539 30117
28540/***/ }, 30118/***/ }),
28541/* 235 */ 30119/* 286 */
28542/***/ function(module, exports, __webpack_require__) { 30120/***/ (function(module, exports, __webpack_require__) {
28543 30121
28544 'use strict'; 30122 'use strict';
28545 30123
@@ -28547,7 +30125,7 @@
28547 value: true 30125 value: true
28548 }); 30126 });
28549 30127
28550 var _utils = __webpack_require__(233); 30128 var _utils = __webpack_require__(284);
28551 30129
28552 var _utils2 = _interopRequireDefault(_utils); 30130 var _utils2 = _interopRequireDefault(_utils);
28553 30131
@@ -28595,9 +30173,9 @@
28595 exports["default"] = getOffsetParent; 30173 exports["default"] = getOffsetParent;
28596 module.exports = exports['default']; 30174 module.exports = exports['default'];
28597 30175
28598/***/ }, 30176/***/ }),
28599/* 236 */ 30177/* 287 */
28600/***/ function(module, exports, __webpack_require__) { 30178/***/ (function(module, exports, __webpack_require__) {
28601 30179
28602 'use strict'; 30180 'use strict';
28603 30181
@@ -28605,11 +30183,11 @@
28605 value: true 30183 value: true
28606 }); 30184 });
28607 30185
28608 var _utils = __webpack_require__(233); 30186 var _utils = __webpack_require__(284);
28609 30187
28610 var _utils2 = _interopRequireDefault(_utils); 30188 var _utils2 = _interopRequireDefault(_utils);
28611 30189
28612 var _getOffsetParent = __webpack_require__(235); 30190 var _getOffsetParent = __webpack_require__(286);
28613 30191
28614 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent); 30192 var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
28615 30193
@@ -28676,9 +30254,9 @@
28676 exports["default"] = getVisibleRectForElement; 30254 exports["default"] = getVisibleRectForElement;
28677 module.exports = exports['default']; 30255 module.exports = exports['default'];
28678 30256
28679/***/ }, 30257/***/ }),
28680/* 237 */ 30258/* 288 */
28681/***/ function(module, exports, __webpack_require__) { 30259/***/ (function(module, exports, __webpack_require__) {
28682 30260
28683 'use strict'; 30261 'use strict';
28684 30262
@@ -28686,7 +30264,7 @@
28686 value: true 30264 value: true
28687 }); 30265 });
28688 30266
28689 var _utils = __webpack_require__(233); 30267 var _utils = __webpack_require__(284);
28690 30268
28691 var _utils2 = _interopRequireDefault(_utils); 30269 var _utils2 = _interopRequireDefault(_utils);
28692 30270
@@ -28736,9 +30314,9 @@
28736 exports["default"] = adjustForViewport; 30314 exports["default"] = adjustForViewport;
28737 module.exports = exports['default']; 30315 module.exports = exports['default'];
28738 30316
28739/***/ }, 30317/***/ }),
28740/* 238 */ 30318/* 289 */
28741/***/ function(module, exports, __webpack_require__) { 30319/***/ (function(module, exports, __webpack_require__) {
28742 30320
28743 'use strict'; 30321 'use strict';
28744 30322
@@ -28746,7 +30324,7 @@
28746 value: true 30324 value: true
28747 }); 30325 });
28748 30326
28749 var _utils = __webpack_require__(233); 30327 var _utils = __webpack_require__(284);
28750 30328
28751 var _utils2 = _interopRequireDefault(_utils); 30329 var _utils2 = _interopRequireDefault(_utils);
28752 30330
@@ -28777,9 +30355,9 @@
28777 exports["default"] = getRegion; 30355 exports["default"] = getRegion;
28778 module.exports = exports['default']; 30356 module.exports = exports['default'];
28779 30357
28780/***/ }, 30358/***/ }),
28781/* 239 */ 30359/* 290 */
28782/***/ function(module, exports, __webpack_require__) { 30360/***/ (function(module, exports, __webpack_require__) {
28783 30361
28784 'use strict'; 30362 'use strict';
28785 30363
@@ -28787,7 +30365,7 @@
28787 value: true 30365 value: true
28788 }); 30366 });
28789 30367
28790 var _getAlignOffset = __webpack_require__(240); 30368 var _getAlignOffset = __webpack_require__(291);
28791 30369
28792 var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset); 30370 var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
28793 30371
@@ -28818,9 +30396,9 @@
28818 exports["default"] = getElFuturePos; 30396 exports["default"] = getElFuturePos;
28819 module.exports = exports['default']; 30397 module.exports = exports['default'];
28820 30398
28821/***/ }, 30399/***/ }),
28822/* 240 */ 30400/* 291 */
28823/***/ function(module, exports) { 30401/***/ (function(module, exports) {
28824 30402
28825 'use strict'; 30403 'use strict';
28826 30404
@@ -28863,9 +30441,9 @@
28863 exports["default"] = getAlignOffset; 30441 exports["default"] = getAlignOffset;
28864 module.exports = exports['default']; 30442 module.exports = exports['default'];
28865 30443
28866/***/ }, 30444/***/ }),
28867/* 241 */ 30445/* 292 */
28868/***/ function(module, exports) { 30446/***/ (function(module, exports) {
28869 30447
28870 "use strict"; 30448 "use strict";
28871 30449
@@ -28880,18 +30458,18 @@
28880 } 30458 }
28881 module.exports = exports['default']; 30459 module.exports = exports['default'];
28882 30460
28883/***/ }, 30461/***/ }),
28884/* 242 */ 30462/* 293 */
28885/***/ function(module, exports, __webpack_require__) { 30463/***/ (function(module, exports, __webpack_require__) {
28886 30464
28887 'use strict'; 30465 'use strict';
28888 30466
28889 // export this package's api 30467 // export this package's api
28890 module.exports = __webpack_require__(243); 30468 module.exports = __webpack_require__(294);
28891 30469
28892/***/ }, 30470/***/ }),
28893/* 243 */ 30471/* 294 */
28894/***/ function(module, exports, __webpack_require__) { 30472/***/ (function(module, exports, __webpack_require__) {
28895 30473
28896 'use strict'; 30474 'use strict';
28897 30475
@@ -28899,17 +30477,19 @@
28899 value: true 30477 value: true
28900 }); 30478 });
28901 30479
30480 var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
30481
28902 var _react = __webpack_require__(3); 30482 var _react = __webpack_require__(3);
28903 30483
28904 var _react2 = _interopRequireDefault(_react); 30484 var _react2 = _interopRequireDefault(_react);
28905 30485
28906 var _ChildrenUtils = __webpack_require__(244); 30486 var _ChildrenUtils = __webpack_require__(295);
28907 30487
28908 var _AnimateChild = __webpack_require__(245); 30488 var _AnimateChild = __webpack_require__(296);
28909 30489
28910 var _AnimateChild2 = _interopRequireDefault(_AnimateChild); 30490 var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
28911 30491
28912 var _util = __webpack_require__(250); 30492 var _util = __webpack_require__(301);
28913 30493
28914 var _util2 = _interopRequireDefault(_util); 30494 var _util2 = _interopRequireDefault(_util);
28915 30495
@@ -28939,6 +30519,7 @@
28939 30519
28940 propTypes: { 30520 propTypes: {
28941 component: _react2["default"].PropTypes.any, 30521 component: _react2["default"].PropTypes.any,
30522 componentProps: _react2["default"].PropTypes.object,
28942 animation: _react2["default"].PropTypes.object, 30523 animation: _react2["default"].PropTypes.object,
28943 transitionName: _react2["default"].PropTypes.oneOfType([_react2["default"].PropTypes.string, _react2["default"].PropTypes.object]), 30524 transitionName: _react2["default"].PropTypes.oneOfType([_react2["default"].PropTypes.string, _react2["default"].PropTypes.object]),
28944 transitionEnter: _react2["default"].PropTypes.bool, 30525 transitionEnter: _react2["default"].PropTypes.bool,
@@ -28956,6 +30537,7 @@
28956 return { 30537 return {
28957 animation: {}, 30538 animation: {},
28958 component: 'span', 30539 component: 'span',
30540 componentProps: {},
28959 transitionEnter: true, 30541 transitionEnter: true,
28960 transitionLeave: true, 30542 transitionLeave: true,
28961 transitionAppear: false, 30543 transitionAppear: false,
@@ -29203,10 +30785,10 @@
29203 if (Component) { 30785 if (Component) {
29204 var passedProps = props; 30786 var passedProps = props;
29205 if (typeof Component === 'string') { 30787 if (typeof Component === 'string') {
29206 passedProps = { 30788 passedProps = _extends({
29207 className: props.className, 30789 className: props.className,
29208 style: props.style 30790 style: props.style
29209 }; 30791 }, props.componentProps);
29210 } 30792 }
29211 return _react2["default"].createElement( 30793 return _react2["default"].createElement(
29212 Component, 30794 Component,
@@ -29221,9 +30803,9 @@
29221 exports["default"] = Animate; 30803 exports["default"] = Animate;
29222 module.exports = exports['default']; 30804 module.exports = exports['default'];
29223 30805
29224/***/ }, 30806/***/ }),
29225/* 244 */ 30807/* 295 */
29226/***/ function(module, exports, __webpack_require__) { 30808/***/ (function(module, exports, __webpack_require__) {
29227 30809
29228 'use strict'; 30810 'use strict';
29229 30811
@@ -29343,9 +30925,9 @@
29343 return ret; 30925 return ret;
29344 } 30926 }
29345 30927
29346/***/ }, 30928/***/ }),
29347/* 245 */ 30929/* 296 */
29348/***/ function(module, exports, __webpack_require__) { 30930/***/ (function(module, exports, __webpack_require__) {
29349 30931
29350 'use strict'; 30932 'use strict';
29351 30933
@@ -29353,21 +30935,21 @@
29353 value: true 30935 value: true
29354 }); 30936 });
29355 30937
29356 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; 30938 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
29357 30939
29358 var _react = __webpack_require__(3); 30940 var _react = __webpack_require__(3);
29359 30941
29360 var _react2 = _interopRequireDefault(_react); 30942 var _react2 = _interopRequireDefault(_react);
29361 30943
29362 var _reactDom = __webpack_require__(34); 30944 var _reactDom = __webpack_require__(38);
29363 30945
29364 var _reactDom2 = _interopRequireDefault(_reactDom); 30946 var _reactDom2 = _interopRequireDefault(_reactDom);
29365 30947
29366 var _cssAnimation = __webpack_require__(246); 30948 var _cssAnimation = __webpack_require__(297);
29367 30949
29368 var _cssAnimation2 = _interopRequireDefault(_cssAnimation); 30950 var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
29369 30951
29370 var _util = __webpack_require__(250); 30952 var _util = __webpack_require__(301);
29371 30953
29372 var _util2 = _interopRequireDefault(_util); 30954 var _util2 = _interopRequireDefault(_util);
29373 30955
@@ -29454,9 +31036,9 @@
29454 exports["default"] = AnimateChild; 31036 exports["default"] = AnimateChild;
29455 module.exports = exports['default']; 31037 module.exports = exports['default'];
29456 31038
29457/***/ }, 31039/***/ }),
29458/* 246 */ 31040/* 297 */
29459/***/ function(module, exports, __webpack_require__) { 31041/***/ (function(module, exports, __webpack_require__) {
29460 31042
29461 'use strict'; 31043 'use strict';
29462 31044
@@ -29466,11 +31048,11 @@
29466 31048
29467 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 31049 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
29468 31050
29469 var _Event = __webpack_require__(247); 31051 var _Event = __webpack_require__(298);
29470 31052
29471 var _Event2 = _interopRequireDefault(_Event); 31053 var _Event2 = _interopRequireDefault(_Event);
29472 31054
29473 var _componentClasses = __webpack_require__(248); 31055 var _componentClasses = __webpack_require__(299);
29474 31056
29475 var _componentClasses2 = _interopRequireDefault(_componentClasses); 31057 var _componentClasses2 = _interopRequireDefault(_componentClasses);
29476 31058
@@ -29649,9 +31231,9 @@
29649 exports["default"] = cssAnimation; 31231 exports["default"] = cssAnimation;
29650 module.exports = exports['default']; 31232 module.exports = exports['default'];
29651 31233
29652/***/ }, 31234/***/ }),
29653/* 247 */ 31235/* 298 */
29654/***/ function(module, exports) { 31236/***/ (function(module, exports) {
29655 31237
29656 'use strict'; 31238 'use strict';
29657 31239
@@ -29742,18 +31324,18 @@
29742 exports["default"] = TransitionEvents; 31324 exports["default"] = TransitionEvents;
29743 module.exports = exports['default']; 31325 module.exports = exports['default'];
29744 31326
29745/***/ }, 31327/***/ }),
29746/* 248 */ 31328/* 299 */
29747/***/ function(module, exports, __webpack_require__) { 31329/***/ (function(module, exports, __webpack_require__) {
29748 31330
29749 /** 31331 /**
29750 * Module dependencies. 31332 * Module dependencies.
29751 */ 31333 */
29752 31334
29753 try { 31335 try {
29754 var index = __webpack_require__(249); 31336 var index = __webpack_require__(300);
29755 } catch (err) { 31337 } catch (err) {
29756 var index = __webpack_require__(249); 31338 var index = __webpack_require__(300);
29757 } 31339 }
29758 31340
29759 /** 31341 /**
@@ -29939,9 +31521,9 @@
29939 }; 31521 };
29940 31522
29941 31523
29942/***/ }, 31524/***/ }),
29943/* 249 */ 31525/* 300 */
29944/***/ function(module, exports) { 31526/***/ (function(module, exports) {
29945 31527
29946 module.exports = function(arr, obj){ 31528 module.exports = function(arr, obj){
29947 if (arr.indexOf) return arr.indexOf(obj); 31529 if (arr.indexOf) return arr.indexOf(obj);
@@ -29951,9 +31533,9 @@
29951 return -1; 31533 return -1;
29952 }; 31534 };
29953 31535
29954/***/ }, 31536/***/ }),
29955/* 250 */ 31537/* 301 */
29956/***/ function(module, exports) { 31538/***/ (function(module, exports) {
29957 31539
29958 "use strict"; 31540 "use strict";
29959 31541
@@ -29983,9 +31565,9 @@
29983 exports["default"] = util; 31565 exports["default"] = util;
29984 module.exports = exports['default']; 31566 module.exports = exports['default'];
29985 31567
29986/***/ }, 31568/***/ }),
29987/* 251 */ 31569/* 302 */
29988/***/ function(module, exports, __webpack_require__) { 31570/***/ (function(module, exports, __webpack_require__) {
29989 31571
29990 'use strict'; 31572 'use strict';
29991 31573
@@ -29997,7 +31579,7 @@
29997 31579
29998 var _react2 = _interopRequireDefault(_react); 31580 var _react2 = _interopRequireDefault(_react);
29999 31581
30000 var _LazyRenderBox = __webpack_require__(252); 31582 var _LazyRenderBox = __webpack_require__(303);
30001 31583
30002 var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox); 31584 var _LazyRenderBox2 = _interopRequireDefault(_LazyRenderBox);
30003 31585
@@ -30040,9 +31622,9 @@
30040 exports["default"] = PopupInner; 31622 exports["default"] = PopupInner;
30041 module.exports = exports['default']; 31623 module.exports = exports['default'];
30042 31624
30043/***/ }, 31625/***/ }),
30044/* 252 */ 31626/* 303 */
30045/***/ function(module, exports, __webpack_require__) { 31627/***/ (function(module, exports, __webpack_require__) {
30046 31628
30047 'use strict'; 31629 'use strict';
30048 31630
@@ -30050,7 +31632,7 @@
30050 value: true 31632 value: true
30051 }); 31633 });
30052 31634
30053 var _objectWithoutProperties2 = __webpack_require__(253); 31635 var _objectWithoutProperties2 = __webpack_require__(304);
30054 31636
30055 var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2); 31637 var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
30056 31638
@@ -30093,9 +31675,9 @@
30093 exports["default"] = LazyRenderBox; 31675 exports["default"] = LazyRenderBox;
30094 module.exports = exports['default']; 31676 module.exports = exports['default'];
30095 31677
30096/***/ }, 31678/***/ }),
30097/* 253 */ 31679/* 304 */
30098/***/ function(module, exports) { 31680/***/ (function(module, exports) {
30099 31681
30100 "use strict"; 31682 "use strict";
30101 31683
@@ -30113,9 +31695,9 @@
30113 return target; 31695 return target;
30114 }; 31696 };
30115 31697
30116/***/ }, 31698/***/ }),
30117/* 254 */ 31699/* 305 */
30118/***/ function(module, exports, __webpack_require__) { 31700/***/ (function(module, exports, __webpack_require__) {
30119 31701
30120 'use strict'; 31702 'use strict';
30121 31703
@@ -30123,7 +31705,7 @@
30123 value: true 31705 value: true
30124 }); 31706 });
30125 31707
30126 var _extends2 = __webpack_require__(186); 31708 var _extends2 = __webpack_require__(270);
30127 31709
30128 var _extends3 = _interopRequireDefault(_extends2); 31710 var _extends3 = _interopRequireDefault(_extends2);
30129 31711
@@ -30153,9 +31735,9 @@
30153 return ''; 31735 return '';
30154 } 31736 }
30155 31737
30156/***/ }, 31738/***/ }),
30157/* 255 */ 31739/* 306 */
30158/***/ function(module, exports, __webpack_require__) { 31740/***/ (function(module, exports, __webpack_require__) {
30159 31741
30160 'use strict'; 31742 'use strict';
30161 31743
@@ -30167,7 +31749,7 @@
30167 31749
30168 exports["default"] = getContainerRenderMixin; 31750 exports["default"] = getContainerRenderMixin;
30169 31751
30170 var _reactDom = __webpack_require__(34); 31752 var _reactDom = __webpack_require__(38);
30171 31753
30172 var _reactDom2 = _interopRequireDefault(_reactDom); 31754 var _reactDom2 = _interopRequireDefault(_reactDom);
30173 31755
@@ -30258,9 +31840,9 @@
30258 } 31840 }
30259 module.exports = exports['default']; 31841 module.exports = exports['default'];
30260 31842
30261/***/ }, 31843/***/ }),
30262/* 256 */ 31844/* 307 */
30263/***/ function(module, exports, __webpack_require__) { 31845/***/ (function(module, exports, __webpack_require__) {
30264 31846
30265 'use strict'; 31847 'use strict';
30266 31848
@@ -30268,27 +31850,43 @@
30268 value: true 31850 value: true
30269 }); 31851 });
30270 31852
30271 var _defineProperty2 = __webpack_require__(257); 31853 var _defineProperty2 = __webpack_require__(308);
30272 31854
30273 var _defineProperty3 = _interopRequireDefault(_defineProperty2); 31855 var _defineProperty3 = _interopRequireDefault(_defineProperty2);
30274 31856
31857 var _classCallCheck2 = __webpack_require__(188);
31858
31859 var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
31860
31861 var _possibleConstructorReturn2 = __webpack_require__(189);
31862
31863 var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
31864
31865 var _inherits2 = __webpack_require__(258);
31866
31867 var _inherits3 = _interopRequireDefault(_inherits2);
31868
30275 var _react = __webpack_require__(3); 31869 var _react = __webpack_require__(3);
30276 31870
30277 var _react2 = _interopRequireDefault(_react); 31871 var _react2 = _interopRequireDefault(_react);
30278 31872
30279 var _Header = __webpack_require__(261); 31873 var _propTypes = __webpack_require__(266);
31874
31875 var _propTypes2 = _interopRequireDefault(_propTypes);
31876
31877 var _Header = __webpack_require__(312);
30280 31878
30281 var _Header2 = _interopRequireDefault(_Header); 31879 var _Header2 = _interopRequireDefault(_Header);
30282 31880
30283 var _Combobox = __webpack_require__(262); 31881 var _Combobox = __webpack_require__(313);
30284 31882
30285 var _Combobox2 = _interopRequireDefault(_Combobox); 31883 var _Combobox2 = _interopRequireDefault(_Combobox);
30286 31884
30287 var _moment = __webpack_require__(180); 31885 var _moment = __webpack_require__(184);
30288 31886
30289 var _moment2 = _interopRequireDefault(_moment); 31887 var _moment2 = _interopRequireDefault(_moment);
30290 31888
30291 var _classnames = __webpack_require__(264); 31889 var _classnames = __webpack_require__(315);
30292 31890
30293 var _classnames2 = _interopRequireDefault(_classnames); 31891 var _classnames2 = _interopRequireDefault(_classnames);
30294 31892
@@ -30306,73 +31904,40 @@
30306 return arr; 31904 return arr;
30307 } 31905 }
30308 31906
30309 var Panel = _react2.default.createClass({ 31907 var Panel = function (_Component) {
30310 displayName: 'Panel', 31908 (0, _inherits3.default)(Panel, _Component);
30311 31909
30312 propTypes: { 31910 function Panel(props) {
30313 clearText: _react.PropTypes.string, 31911 (0, _classCallCheck3.default)(this, Panel);
30314 prefixCls: _react.PropTypes.string,
30315 className: _react.PropTypes.string,
30316 defaultOpenValue: _react.PropTypes.object,
30317 value: _react.PropTypes.object,
30318 placeholder: _react.PropTypes.string,
30319 format: _react.PropTypes.string,
30320 disabledHours: _react.PropTypes.func,
30321 disabledMinutes: _react.PropTypes.func,
30322 disabledSeconds: _react.PropTypes.func,
30323 hideDisabledOptions: _react.PropTypes.bool,
30324 onChange: _react.PropTypes.func,
30325 onEsc: _react.PropTypes.func,
30326 allowEmpty: _react.PropTypes.bool,
30327 showHour: _react.PropTypes.bool,
30328 showMinute: _react.PropTypes.bool,
30329 showSecond: _react.PropTypes.bool,
30330 onClear: _react.PropTypes.func,
30331 use12Hours: _react.PropTypes.bool,
30332 addon: _react.PropTypes.func
30333 },
30334 31912
30335 getDefaultProps: function getDefaultProps() { 31913 var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props));
30336 return { 31914
30337 prefixCls: 'rc-time-picker-panel', 31915 _this.onChange = function (newValue) {
30338 onChange: noop, 31916 _this.setState({ value: newValue });
30339 onClear: noop, 31917 _this.props.onChange(newValue);
30340 disabledHours: noop,
30341 disabledMinutes: noop,
30342 disabledSeconds: noop,
30343 defaultOpenValue: (0, _moment2.default)(),
30344 use12Hours: false,
30345 addon: noop
30346 }; 31918 };
30347 }, 31919
30348 getInitialState: function getInitialState() { 31920 _this.onCurrentSelectPanelChange = function (currentSelectPanel) {
30349 return { 31921 _this.setState({ currentSelectPanel: currentSelectPanel });
30350 value: this.props.value, 31922 };
31923
31924 _this.state = {
31925 value: props.value,
30351 selectionRange: [] 31926 selectionRange: []
30352 }; 31927 };
30353 }, 31928 return _this;
30354 componentWillReceiveProps: function componentWillReceiveProps(nextProps) { 31929 }
31930
31931 Panel.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
30355 var value = nextProps.value; 31932 var value = nextProps.value;
30356 if (value) { 31933 if (value) {
30357 this.setState({ 31934 this.setState({
30358 value: value 31935 value: value
30359 }); 31936 });
30360 } 31937 }
30361 }, 31938 };
30362 onChange: function onChange(newValue) { 31939
30363 this.setState({ value: newValue }); 31940 Panel.prototype.render = function render() {
30364 this.props.onChange(newValue);
30365 },
30366 onClear: function onClear() {
30367 this.props.onClear();
30368 },
30369 onCurrentSelectPanelChange: function onCurrentSelectPanelChange(currentSelectPanel) {
30370 this.setState({ currentSelectPanel: currentSelectPanel });
30371 },
30372 close: function close() {
30373 this.props.onEsc();
30374 },
30375 render: function render() {
30376 var _classNames; 31941 var _classNames;
30377 31942
30378 var _props = this.props, 31943 var _props = this.props,
@@ -30392,7 +31957,8 @@
30392 clearText = _props.clearText, 31957 clearText = _props.clearText,
30393 onEsc = _props.onEsc, 31958 onEsc = _props.onEsc,
30394 addon = _props.addon, 31959 addon = _props.addon,
30395 use12Hours = _props.use12Hours; 31960 use12Hours = _props.use12Hours,
31961 onClear = _props.onClear;
30396 var _state = this.state, 31962 var _state = this.state,
30397 value = _state.value, 31963 value = _state.value,
30398 currentSelectPanel = _state.currentSelectPanel; 31964 currentSelectPanel = _state.currentSelectPanel;
@@ -30423,7 +31989,7 @@
30423 disabledMinutes: disabledMinutes, 31989 disabledMinutes: disabledMinutes,
30424 disabledSeconds: disabledSeconds, 31990 disabledSeconds: disabledSeconds,
30425 onChange: this.onChange, 31991 onChange: this.onChange,
30426 onClear: this.onClear, 31992 onClear: onClear,
30427 allowEmpty: allowEmpty 31993 allowEmpty: allowEmpty
30428 }), 31994 }),
30429 _react2.default.createElement(_Combobox2.default, { 31995 _react2.default.createElement(_Combobox2.default, {
@@ -30446,21 +32012,56 @@
30446 }), 32012 }),
30447 addon(this) 32013 addon(this)
30448 ); 32014 );
30449 } 32015 };
30450 });
30451 32016
32017 return Panel;
32018 }(_react.Component);
32019
32020 Panel.propTypes = {
32021 clearText: _propTypes2.default.string,
32022 prefixCls: _propTypes2.default.string,
32023 className: _propTypes2.default.string,
32024 defaultOpenValue: _propTypes2.default.object,
32025 value: _propTypes2.default.object,
32026 placeholder: _propTypes2.default.string,
32027 format: _propTypes2.default.string,
32028 disabledHours: _propTypes2.default.func,
32029 disabledMinutes: _propTypes2.default.func,
32030 disabledSeconds: _propTypes2.default.func,
32031 hideDisabledOptions: _propTypes2.default.bool,
32032 onChange: _propTypes2.default.func,
32033 onEsc: _propTypes2.default.func,
32034 allowEmpty: _propTypes2.default.bool,
32035 showHour: _propTypes2.default.bool,
32036 showMinute: _propTypes2.default.bool,
32037 showSecond: _propTypes2.default.bool,
32038 onClear: _propTypes2.default.func,
32039 use12Hours: _propTypes2.default.bool,
32040 addon: _propTypes2.default.func
32041 };
32042 Panel.defaultProps = {
32043 prefixCls: 'rc-time-picker-panel',
32044 onChange: noop,
32045 onClear: noop,
32046 disabledHours: noop,
32047 disabledMinutes: noop,
32048 disabledSeconds: noop,
32049 defaultOpenValue: (0, _moment2.default)(),
32050 use12Hours: false,
32051 addon: noop
32052 };
30452 exports.default = Panel; 32053 exports.default = Panel;
30453 module.exports = exports['default']; 32054 module.exports = exports['default'];
30454 32055
30455/***/ }, 32056/***/ }),
30456/* 257 */ 32057/* 308 */
30457/***/ function(module, exports, __webpack_require__) { 32058/***/ (function(module, exports, __webpack_require__) {
30458 32059
30459 "use strict"; 32060 "use strict";
30460 32061
30461 exports.__esModule = true; 32062 exports.__esModule = true;
30462 32063
30463 var _defineProperty = __webpack_require__(258); 32064 var _defineProperty = __webpack_require__(309);
30464 32065
30465 var _defineProperty2 = _interopRequireDefault(_defineProperty); 32066 var _defineProperty2 = _interopRequireDefault(_defineProperty);
30466 32067
@@ -30481,33 +32082,33 @@
30481 return obj; 32082 return obj;
30482 }; 32083 };
30483 32084
30484/***/ }, 32085/***/ }),
30485/* 258 */ 32086/* 309 */
30486/***/ function(module, exports, __webpack_require__) { 32087/***/ (function(module, exports, __webpack_require__) {
30487 32088
30488 module.exports = { "default": __webpack_require__(259), __esModule: true }; 32089 module.exports = { "default": __webpack_require__(310), __esModule: true };
30489 32090
30490/***/ }, 32091/***/ }),
30491/* 259 */ 32092/* 310 */
30492/***/ function(module, exports, __webpack_require__) { 32093/***/ (function(module, exports, __webpack_require__) {
30493 32094
30494 __webpack_require__(260); 32095 __webpack_require__(311);
30495 var $Object = __webpack_require__(192).Object; 32096 var $Object = __webpack_require__(201).Object;
30496 module.exports = function defineProperty(it, key, desc){ 32097 module.exports = function defineProperty(it, key, desc){
30497 return $Object.defineProperty(it, key, desc); 32098 return $Object.defineProperty(it, key, desc);
30498 }; 32099 };
30499 32100
30500/***/ }, 32101/***/ }),
30501/* 260 */ 32102/* 311 */
30502/***/ function(module, exports, __webpack_require__) { 32103/***/ (function(module, exports, __webpack_require__) {
30503 32104
30504 var $export = __webpack_require__(190); 32105 var $export = __webpack_require__(199);
30505 // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) 32106 // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
30506 $export($export.S + $export.F * !__webpack_require__(200), 'Object', {defineProperty: __webpack_require__(196).f}); 32107 $export($export.S + $export.F * !__webpack_require__(209), 'Object', {defineProperty: __webpack_require__(205).f});
30507 32108
30508/***/ }, 32109/***/ }),
30509/* 261 */ 32110/* 312 */
30510/***/ function(module, exports, __webpack_require__) { 32111/***/ (function(module, exports, __webpack_require__) {
30511 32112
30512 'use strict'; 32113 'use strict';
30513 32114
@@ -30515,51 +32116,53 @@
30515 value: true 32116 value: true
30516 }); 32117 });
30517 32118
32119 var _classCallCheck2 = __webpack_require__(188);
32120
32121 var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
32122
32123 var _possibleConstructorReturn2 = __webpack_require__(189);
32124
32125 var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
32126
32127 var _inherits2 = __webpack_require__(258);
32128
32129 var _inherits3 = _interopRequireDefault(_inherits2);
32130
30518 var _react = __webpack_require__(3); 32131 var _react = __webpack_require__(3);
30519 32132
30520 var _react2 = _interopRequireDefault(_react); 32133 var _react2 = _interopRequireDefault(_react);
30521 32134
30522 var _moment = __webpack_require__(180); 32135 var _propTypes = __webpack_require__(266);
32136
32137 var _propTypes2 = _interopRequireDefault(_propTypes);
32138
32139 var _moment = __webpack_require__(184);
30523 32140
30524 var _moment2 = _interopRequireDefault(_moment); 32141 var _moment2 = _interopRequireDefault(_moment);
30525 32142
30526 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 32143 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30527 32144
30528 var Header = _react2.default.createClass({ 32145 var Header = function (_Component) {
30529 displayName: 'Header', 32146 (0, _inherits3.default)(Header, _Component);
30530 32147
30531 propTypes: { 32148 function Header(props) {
30532 format: _react.PropTypes.string, 32149 (0, _classCallCheck3.default)(this, Header);
30533 prefixCls: _react.PropTypes.string,
30534 disabledDate: _react.PropTypes.func,
30535 placeholder: _react.PropTypes.string,
30536 clearText: _react.PropTypes.string,
30537 value: _react.PropTypes.object,
30538 hourOptions: _react.PropTypes.array,
30539 minuteOptions: _react.PropTypes.array,
30540 secondOptions: _react.PropTypes.array,
30541 disabledHours: _react.PropTypes.func,
30542 disabledMinutes: _react.PropTypes.func,
30543 disabledSeconds: _react.PropTypes.func,
30544 onChange: _react.PropTypes.func,
30545 onClear: _react.PropTypes.func,
30546 onEsc: _react.PropTypes.func,
30547 allowEmpty: _react.PropTypes.bool,
30548 defaultOpenValue: _react.PropTypes.object,
30549 currentSelectPanel: _react.PropTypes.string
30550 },
30551 32150
30552 getInitialState: function getInitialState() { 32151 var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props));
30553 var _props = this.props,
30554 value = _props.value,
30555 format = _props.format;
30556 32152
30557 return { 32153 _initialiseProps.call(_this);
32154
32155 var value = props.value,
32156 format = props.format;
32157
32158 _this.state = {
30558 str: value && value.format(format) || '', 32159 str: value && value.format(format) || '',
30559 invalid: false 32160 invalid: false
30560 }; 32161 };
30561 }, 32162 return _this;
30562 componentWillReceiveProps: function componentWillReceiveProps(nextProps) { 32163 }
32164
32165 Header.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
30563 var value = nextProps.value, 32166 var value = nextProps.value,
30564 format = nextProps.format; 32167 format = nextProps.format;
30565 32168
@@ -30567,30 +32170,108 @@
30567 str: value && value.format(format) || '', 32170 str: value && value.format(format) || '',
30568 invalid: false 32171 invalid: false
30569 }); 32172 });
30570 }, 32173 };
30571 onInputChange: function onInputChange(event) { 32174
32175 Header.prototype.getClearButton = function getClearButton() {
32176 var _props = this.props,
32177 prefixCls = _props.prefixCls,
32178 allowEmpty = _props.allowEmpty;
32179
32180 if (!allowEmpty) {
32181 return null;
32182 }
32183 return _react2.default.createElement('a', {
32184 className: prefixCls + '-clear-btn',
32185 role: 'button',
32186 title: this.props.clearText,
32187 onMouseDown: this.onClear
32188 });
32189 };
32190
32191 Header.prototype.getProtoValue = function getProtoValue() {
32192 return this.props.value || this.props.defaultOpenValue;
32193 };
32194
32195 Header.prototype.getInput = function getInput() {
32196 var _props2 = this.props,
32197 prefixCls = _props2.prefixCls,
32198 placeholder = _props2.placeholder;
32199 var _state = this.state,
32200 invalid = _state.invalid,
32201 str = _state.str;
32202
32203 var invalidClass = invalid ? prefixCls + '-input-invalid' : '';
32204 return _react2.default.createElement('input', {
32205 className: prefixCls + '-input ' + invalidClass,
32206 ref: 'input',
32207 onKeyDown: this.onKeyDown,
32208 value: str,
32209 placeholder: placeholder,
32210 onChange: this.onInputChange
32211 });
32212 };
32213
32214 Header.prototype.render = function render() {
32215 var prefixCls = this.props.prefixCls;
32216
32217 return _react2.default.createElement(
32218 'div',
32219 { className: prefixCls + '-input-wrap' },
32220 this.getInput(),
32221 this.getClearButton()
32222 );
32223 };
32224
32225 return Header;
32226 }(_react.Component);
32227
32228 Header.propTypes = {
32229 format: _propTypes2.default.string,
32230 prefixCls: _propTypes2.default.string,
32231 disabledDate: _propTypes2.default.func,
32232 placeholder: _propTypes2.default.string,
32233 clearText: _propTypes2.default.string,
32234 value: _propTypes2.default.object,
32235 hourOptions: _propTypes2.default.array,
32236 minuteOptions: _propTypes2.default.array,
32237 secondOptions: _propTypes2.default.array,
32238 disabledHours: _propTypes2.default.func,
32239 disabledMinutes: _propTypes2.default.func,
32240 disabledSeconds: _propTypes2.default.func,
32241 onChange: _propTypes2.default.func,
32242 onClear: _propTypes2.default.func,
32243 onEsc: _propTypes2.default.func,
32244 allowEmpty: _propTypes2.default.bool,
32245 defaultOpenValue: _propTypes2.default.object,
32246 currentSelectPanel: _propTypes2.default.string
32247 };
32248
32249 var _initialiseProps = function _initialiseProps() {
32250 var _this2 = this;
32251
32252 this.onInputChange = function (event) {
30572 var str = event.target.value; 32253 var str = event.target.value;
30573 this.setState({ 32254 _this2.setState({
30574 str: str 32255 str: str
30575 }); 32256 });
30576 var _props2 = this.props, 32257 var _props3 = _this2.props,
30577 format = _props2.format, 32258 format = _props3.format,
30578 hourOptions = _props2.hourOptions, 32259 hourOptions = _props3.hourOptions,
30579 minuteOptions = _props2.minuteOptions, 32260 minuteOptions = _props3.minuteOptions,
30580 secondOptions = _props2.secondOptions, 32261 secondOptions = _props3.secondOptions,
30581 disabledHours = _props2.disabledHours, 32262 disabledHours = _props3.disabledHours,
30582 disabledMinutes = _props2.disabledMinutes, 32263 disabledMinutes = _props3.disabledMinutes,
30583 disabledSeconds = _props2.disabledSeconds, 32264 disabledSeconds = _props3.disabledSeconds,
30584 onChange = _props2.onChange, 32265 onChange = _props3.onChange,
30585 allowEmpty = _props2.allowEmpty; 32266 allowEmpty = _props3.allowEmpty;
30586 32267
30587 32268
30588 if (str) { 32269 if (str) {
30589 var originalValue = this.props.value; 32270 var originalValue = _this2.props.value;
30590 var value = this.getProtoValue().clone(); 32271 var value = _this2.getProtoValue().clone();
30591 var parsed = (0, _moment2.default)(str, format, true); 32272 var parsed = (0, _moment2.default)(str, format, true);
30592 if (!parsed.isValid()) { 32273 if (!parsed.isValid()) {
30593 this.setState({ 32274 _this2.setState({
30594 invalid: true 32275 invalid: true
30595 }); 32276 });
30596 return; 32277 return;
@@ -30599,7 +32280,7 @@
30599 32280
30600 // if time value not allowed, response warning. 32281 // if time value not allowed, response warning.
30601 if (hourOptions.indexOf(value.hour()) < 0 || minuteOptions.indexOf(value.minute()) < 0 || secondOptions.indexOf(value.second()) < 0) { 32282 if (hourOptions.indexOf(value.hour()) < 0 || minuteOptions.indexOf(value.minute()) < 0 || secondOptions.indexOf(value.second()) < 0) {
30602 this.setState({ 32283 _this2.setState({
30603 invalid: true 32284 invalid: true
30604 }); 32285 });
30605 return; 32286 return;
@@ -30610,7 +32291,7 @@
30610 var disabledMinuteOptions = disabledMinutes(value.hour()); 32291 var disabledMinuteOptions = disabledMinutes(value.hour());
30611 var disabledSecondOptions = disabledSeconds(value.hour(), value.minute()); 32292 var disabledSecondOptions = disabledSeconds(value.hour(), value.minute());
30612 if (disabledHourOptions && disabledHourOptions.indexOf(value.hour()) >= 0 || disabledMinuteOptions && disabledMinuteOptions.indexOf(value.minute()) >= 0 || disabledSecondOptions && disabledSecondOptions.indexOf(value.second()) >= 0) { 32293 if (disabledHourOptions && disabledHourOptions.indexOf(value.hour()) >= 0 || disabledMinuteOptions && disabledMinuteOptions.indexOf(value.minute()) >= 0 || disabledSecondOptions && disabledSecondOptions.indexOf(value.second()) >= 0) {
30613 this.setState({ 32294 _this2.setState({
30614 invalid: true 32295 invalid: true
30615 }); 32296 });
30616 return; 32297 return;
@@ -30631,79 +32312,35 @@
30631 } else if (allowEmpty) { 32312 } else if (allowEmpty) {
30632 onChange(null); 32313 onChange(null);
30633 } else { 32314 } else {
30634 this.setState({ 32315 _this2.setState({
30635 invalid: true 32316 invalid: true
30636 }); 32317 });
30637 return; 32318 return;
30638 } 32319 }
30639 32320
30640 this.setState({ 32321 _this2.setState({
30641 invalid: false 32322 invalid: false
30642 }); 32323 });
30643 }, 32324 };
30644 onKeyDown: function onKeyDown(e) {
30645 if (e.keyCode === 27) {
30646 this.props.onEsc();
30647 }
30648 },
30649 onClear: function onClear() {
30650 this.setState({ str: '' });
30651 this.props.onClear();
30652 },
30653 getClearButton: function getClearButton() {
30654 var _props3 = this.props,
30655 prefixCls = _props3.prefixCls,
30656 allowEmpty = _props3.allowEmpty;
30657 32325
30658 if (!allowEmpty) { 32326 this.onKeyDown = function (e) {
30659 return null; 32327 if (e.keyCode === 27) {
32328 _this2.props.onEsc();
30660 } 32329 }
30661 return _react2.default.createElement('a', { 32330 };
30662 className: prefixCls + '-clear-btn',
30663 role: 'button',
30664 title: this.props.clearText,
30665 onMouseDown: this.onClear
30666 });
30667 },
30668 getProtoValue: function getProtoValue() {
30669 return this.props.value || this.props.defaultOpenValue;
30670 },
30671 getInput: function getInput() {
30672 var _props4 = this.props,
30673 prefixCls = _props4.prefixCls,
30674 placeholder = _props4.placeholder;
30675 var _state = this.state,
30676 invalid = _state.invalid,
30677 str = _state.str;
30678
30679 var invalidClass = invalid ? prefixCls + '-input-invalid' : '';
30680 return _react2.default.createElement('input', {
30681 className: prefixCls + '-input ' + invalidClass,
30682 ref: 'input',
30683 onKeyDown: this.onKeyDown,
30684 value: str,
30685 placeholder: placeholder,
30686 onChange: this.onInputChange
30687 });
30688 },
30689 render: function render() {
30690 var prefixCls = this.props.prefixCls;
30691 32331
30692 return _react2.default.createElement( 32332 this.onClear = function () {
30693 'div', 32333 _this2.setState({ str: '' });
30694 { className: prefixCls + '-input-wrap' }, 32334 _this2.props.onClear();
30695 this.getInput(), 32335 };
30696 this.getClearButton() 32336 };
30697 );
30698 }
30699 });
30700 32337
30701 exports.default = Header; 32338 exports.default = Header;
30702 module.exports = exports['default']; 32339 module.exports = exports['default'];
30703 32340
30704/***/ }, 32341/***/ }),
30705/* 262 */ 32342/* 313 */
30706/***/ function(module, exports, __webpack_require__) { 32343/***/ (function(module, exports, __webpack_require__) {
30707 32344
30708 'use strict'; 32345 'use strict';
30709 32346
@@ -30711,11 +32348,27 @@
30711 value: true 32348 value: true
30712 }); 32349 });
30713 32350
32351 var _classCallCheck2 = __webpack_require__(188);
32352
32353 var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
32354
32355 var _possibleConstructorReturn2 = __webpack_require__(189);
32356
32357 var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
32358
32359 var _inherits2 = __webpack_require__(258);
32360
32361 var _inherits3 = _interopRequireDefault(_inherits2);
32362
30714 var _react = __webpack_require__(3); 32363 var _react = __webpack_require__(3);
30715 32364
30716 var _react2 = _interopRequireDefault(_react); 32365 var _react2 = _interopRequireDefault(_react);
30717 32366
30718 var _Select = __webpack_require__(263); 32367 var _propTypes = __webpack_require__(266);
32368
32369 var _propTypes2 = _interopRequireDefault(_propTypes);
32370
32371 var _Select = __webpack_require__(314);
30719 32372
30720 var _Select2 = _interopRequireDefault(_Select); 32373 var _Select2 = _interopRequireDefault(_Select);
30721 32374
@@ -30738,76 +32391,67 @@
30738 }; 32391 };
30739 }; 32392 };
30740 32393
30741 var Combobox = _react2.default.createClass({ 32394 var Combobox = function (_Component) {
30742 displayName: 'Combobox', 32395 (0, _inherits3.default)(Combobox, _Component);
30743 32396
30744 propTypes: { 32397 function Combobox() {
30745 format: _react.PropTypes.string, 32398 var _temp, _this, _ret;
30746 defaultOpenValue: _react.PropTypes.object, 32399
30747 prefixCls: _react.PropTypes.string, 32400 (0, _classCallCheck3.default)(this, Combobox);
30748 value: _react.PropTypes.object, 32401
30749 onChange: _react.PropTypes.func, 32402 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
30750 showHour: _react.PropTypes.bool, 32403 args[_key] = arguments[_key];
30751 showMinute: _react.PropTypes.bool, 32404 }
30752 showSecond: _react.PropTypes.bool, 32405
30753 hourOptions: _react.PropTypes.array, 32406 return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onItemChange = function (type, itemValue) {
30754 minuteOptions: _react.PropTypes.array, 32407 var _this$props = _this.props,
30755 secondOptions: _react.PropTypes.array, 32408 onChange = _this$props.onChange,
30756 disabledHours: _react.PropTypes.func, 32409 defaultOpenValue = _this$props.defaultOpenValue,
30757 disabledMinutes: _react.PropTypes.func, 32410 use12Hours = _this$props.use12Hours;
30758 disabledSeconds: _react.PropTypes.func,
30759 onCurrentSelectPanelChange: _react.PropTypes.func,
30760 use12Hours: _react.PropTypes.bool
30761 },
30762
30763 onItemChange: function onItemChange(type, itemValue) {
30764 var _props = this.props,
30765 onChange = _props.onChange,
30766 defaultOpenValue = _props.defaultOpenValue,
30767 use12Hours = _props.use12Hours;
30768 32411
30769 var value = (this.props.value || defaultOpenValue).clone(); 32412 var value = (_this.props.value || defaultOpenValue).clone();
30770 32413
30771 if (type === 'hour') { 32414 if (type === 'hour') {
30772 if (use12Hours) { 32415 if (use12Hours) {
30773 if (this.isAM()) { 32416 if (_this.isAM()) {
30774 value.hour(+itemValue % 12); 32417 value.hour(+itemValue % 12);
32418 } else {
32419 value.hour(+itemValue % 12 + 12);
32420 }
30775 } else { 32421 } else {
30776 value.hour(+itemValue % 12 + 12); 32422 value.hour(+itemValue);
30777 }
30778 } else {
30779 value.hour(+itemValue);
30780 }
30781 } else if (type === 'minute') {
30782 value.minute(+itemValue);
30783 } else if (type === 'ampm') {
30784 var ampm = itemValue.toUpperCase();
30785 if (use12Hours) {
30786 if (ampm === 'PM' && value.hour() < 12) {
30787 value.hour(value.hour() % 12 + 12);
30788 } 32423 }
32424 } else if (type === 'minute') {
32425 value.minute(+itemValue);
32426 } else if (type === 'ampm') {
32427 var ampm = itemValue.toUpperCase();
32428 if (use12Hours) {
32429 if (ampm === 'PM' && value.hour() < 12) {
32430 value.hour(value.hour() % 12 + 12);
32431 }
30789 32432
30790 if (ampm === 'AM') { 32433 if (ampm === 'AM') {
30791 if (value.hour() >= 12) { 32434 if (value.hour() >= 12) {
30792 value.hour(value.hour() - 12); 32435 value.hour(value.hour() - 12);
32436 }
30793 } 32437 }
30794 } 32438 }
32439 } else {
32440 value.second(+itemValue);
30795 } 32441 }
30796 } else { 32442 onChange(value);
30797 value.second(+itemValue); 32443 }, _this.onEnterSelectPanel = function (range) {
30798 } 32444 _this.props.onCurrentSelectPanelChange(range);
30799 onChange(value); 32445 }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);
30800 }, 32446 }
30801 onEnterSelectPanel: function onEnterSelectPanel(range) { 32447
30802 this.props.onCurrentSelectPanelChange(range); 32448 Combobox.prototype.getHourSelect = function getHourSelect(hour) {
30803 }, 32449 var _props = this.props,
30804 getHourSelect: function getHourSelect(hour) { 32450 prefixCls = _props.prefixCls,
30805 var _props2 = this.props, 32451 hourOptions = _props.hourOptions,
30806 prefixCls = _props2.prefixCls, 32452 disabledHours = _props.disabledHours,
30807 hourOptions = _props2.hourOptions, 32453 showHour = _props.showHour,
30808 disabledHours = _props2.disabledHours, 32454 use12Hours = _props.use12Hours;
30809 showHour = _props2.showHour,
30810 use12Hours = _props2.use12Hours;
30811 32455
30812 if (!showHour) { 32456 if (!showHour) {
30813 return null; 32457 return null;
@@ -30835,14 +32479,15 @@
30835 onSelect: this.onItemChange, 32479 onSelect: this.onItemChange,
30836 onMouseEnter: this.onEnterSelectPanel.bind(this, 'hour') 32480 onMouseEnter: this.onEnterSelectPanel.bind(this, 'hour')
30837 }); 32481 });
30838 }, 32482 };
30839 getMinuteSelect: function getMinuteSelect(minute) { 32483
30840 var _props3 = this.props, 32484 Combobox.prototype.getMinuteSelect = function getMinuteSelect(minute) {
30841 prefixCls = _props3.prefixCls, 32485 var _props2 = this.props,
30842 minuteOptions = _props3.minuteOptions, 32486 prefixCls = _props2.prefixCls,
30843 disabledMinutes = _props3.disabledMinutes, 32487 minuteOptions = _props2.minuteOptions,
30844 defaultOpenValue = _props3.defaultOpenValue, 32488 disabledMinutes = _props2.disabledMinutes,
30845 showMinute = _props3.showMinute; 32489 defaultOpenValue = _props2.defaultOpenValue,
32490 showMinute = _props2.showMinute;
30846 32491
30847 if (!showMinute) { 32492 if (!showMinute) {
30848 return null; 32493 return null;
@@ -30860,14 +32505,15 @@
30860 onSelect: this.onItemChange, 32505 onSelect: this.onItemChange,
30861 onMouseEnter: this.onEnterSelectPanel.bind(this, 'minute') 32506 onMouseEnter: this.onEnterSelectPanel.bind(this, 'minute')
30862 }); 32507 });
30863 }, 32508 };
30864 getSecondSelect: function getSecondSelect(second) { 32509
30865 var _props4 = this.props, 32510 Combobox.prototype.getSecondSelect = function getSecondSelect(second) {
30866 prefixCls = _props4.prefixCls, 32511 var _props3 = this.props,
30867 secondOptions = _props4.secondOptions, 32512 prefixCls = _props3.prefixCls,
30868 disabledSeconds = _props4.disabledSeconds, 32513 secondOptions = _props3.secondOptions,
30869 showSecond = _props4.showSecond, 32514 disabledSeconds = _props3.disabledSeconds,
30870 defaultOpenValue = _props4.defaultOpenValue; 32515 showSecond = _props3.showSecond,
32516 defaultOpenValue = _props3.defaultOpenValue;
30871 32517
30872 if (!showSecond) { 32518 if (!showSecond) {
30873 return null; 32519 return null;
@@ -30885,12 +32531,13 @@
30885 onSelect: this.onItemChange, 32531 onSelect: this.onItemChange,
30886 onMouseEnter: this.onEnterSelectPanel.bind(this, 'second') 32532 onMouseEnter: this.onEnterSelectPanel.bind(this, 'second')
30887 }); 32533 });
30888 }, 32534 };
30889 getAMPMSelect: function getAMPMSelect() { 32535
30890 var _props5 = this.props, 32536 Combobox.prototype.getAMPMSelect = function getAMPMSelect() {
30891 prefixCls = _props5.prefixCls, 32537 var _props4 = this.props,
30892 use12Hours = _props5.use12Hours, 32538 prefixCls = _props4.prefixCls,
30893 format = _props5.format; 32539 use12Hours = _props4.use12Hours,
32540 format = _props4.format;
30894 32541
30895 if (!use12Hours) { 32542 if (!use12Hours) {
30896 return null; 32543 return null;
@@ -30913,15 +32560,17 @@
30913 onSelect: this.onItemChange, 32560 onSelect: this.onItemChange,
30914 onMouseEnter: this.onEnterSelectPanel.bind(this, 'ampm') 32561 onMouseEnter: this.onEnterSelectPanel.bind(this, 'ampm')
30915 }); 32562 });
30916 }, 32563 };
30917 isAM: function isAM() { 32564
32565 Combobox.prototype.isAM = function isAM() {
30918 var value = this.props.value || this.props.defaultOpenValue; 32566 var value = this.props.value || this.props.defaultOpenValue;
30919 return value.hour() >= 0 && value.hour() < 12; 32567 return value.hour() >= 0 && value.hour() < 12;
30920 }, 32568 };
30921 render: function render() { 32569
30922 var _props6 = this.props, 32570 Combobox.prototype.render = function render() {
30923 prefixCls = _props6.prefixCls, 32571 var _props5 = this.props,
30924 defaultOpenValue = _props6.defaultOpenValue; 32572 prefixCls = _props5.prefixCls,
32573 defaultOpenValue = _props5.defaultOpenValue;
30925 32574
30926 var value = this.props.value || defaultOpenValue; 32575 var value = this.props.value || defaultOpenValue;
30927 return _react2.default.createElement( 32576 return _react2.default.createElement(
@@ -30932,15 +32581,35 @@
30932 this.getSecondSelect(value.second()), 32581 this.getSecondSelect(value.second()),
30933 this.getAMPMSelect(value.hour()) 32582 this.getAMPMSelect(value.hour())
30934 ); 32583 );
30935 } 32584 };
30936 });
30937 32585
32586 return Combobox;
32587 }(_react.Component);
32588
32589 Combobox.propTypes = {
32590 format: _propTypes2.default.string,
32591 defaultOpenValue: _propTypes2.default.object,
32592 prefixCls: _propTypes2.default.string,
32593 value: _propTypes2.default.object,
32594 onChange: _propTypes2.default.func,
32595 showHour: _propTypes2.default.bool,
32596 showMinute: _propTypes2.default.bool,
32597 showSecond: _propTypes2.default.bool,
32598 hourOptions: _propTypes2.default.array,
32599 minuteOptions: _propTypes2.default.array,
32600 secondOptions: _propTypes2.default.array,
32601 disabledHours: _propTypes2.default.func,
32602 disabledMinutes: _propTypes2.default.func,
32603 disabledSeconds: _propTypes2.default.func,
32604 onCurrentSelectPanelChange: _propTypes2.default.func,
32605 use12Hours: _propTypes2.default.bool
32606 };
30938 exports.default = Combobox; 32607 exports.default = Combobox;
30939 module.exports = exports['default']; 32608 module.exports = exports['default'];
30940 32609
30941/***/ }, 32610/***/ }),
30942/* 263 */ 32611/* 314 */
30943/***/ function(module, exports, __webpack_require__) { 32612/***/ (function(module, exports, __webpack_require__) {
30944 32613
30945 'use strict'; 32614 'use strict';
30946 32615
@@ -30948,19 +32617,35 @@
30948 value: true 32617 value: true
30949 }); 32618 });
30950 32619
30951 var _defineProperty2 = __webpack_require__(257); 32620 var _defineProperty2 = __webpack_require__(308);
30952 32621
30953 var _defineProperty3 = _interopRequireDefault(_defineProperty2); 32622 var _defineProperty3 = _interopRequireDefault(_defineProperty2);
30954 32623
32624 var _classCallCheck2 = __webpack_require__(188);
32625
32626 var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
32627
32628 var _possibleConstructorReturn2 = __webpack_require__(189);
32629
32630 var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
32631
32632 var _inherits2 = __webpack_require__(258);
32633
32634 var _inherits3 = _interopRequireDefault(_inherits2);
32635
30955 var _react = __webpack_require__(3); 32636 var _react = __webpack_require__(3);
30956 32637
30957 var _react2 = _interopRequireDefault(_react); 32638 var _react2 = _interopRequireDefault(_react);
30958 32639
30959 var _reactDom = __webpack_require__(34); 32640 var _propTypes = __webpack_require__(266);
32641
32642 var _propTypes2 = _interopRequireDefault(_propTypes);
32643
32644 var _reactDom = __webpack_require__(38);
30960 32645
30961 var _reactDom2 = _interopRequireDefault(_reactDom); 32646 var _reactDom2 = _interopRequireDefault(_reactDom);
30962 32647
30963 var _classnames3 = __webpack_require__(264); 32648 var _classnames3 = __webpack_require__(315);
30964 32649
30965 var _classnames4 = _interopRequireDefault(_classnames3); 32650 var _classnames4 = _interopRequireDefault(_classnames3);
30966 32651
@@ -30985,47 +32670,53 @@
30985 }); 32670 });
30986 }; 32671 };
30987 32672
30988 var Select = _react2.default.createClass({ 32673 var Select = function (_Component) {
30989 displayName: 'Select', 32674 (0, _inherits3.default)(Select, _Component);
30990 32675
30991 propTypes: { 32676 function Select() {
30992 prefixCls: _react.PropTypes.string, 32677 var _temp, _this, _ret;
30993 options: _react.PropTypes.array,
30994 selectedIndex: _react.PropTypes.number,
30995 type: _react.PropTypes.string,
30996 onSelect: _react.PropTypes.func,
30997 onMouseEnter: _react.PropTypes.func
30998 },
30999 32678
31000 getInitialState: function getInitialState() { 32679 (0, _classCallCheck3.default)(this, Select);
31001 return { 32680
32681 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
32682 args[_key] = arguments[_key];
32683 }
32684
32685 return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
31002 active: false 32686 active: false
31003 }; 32687 }, _this.onSelect = function (value) {
31004 }, 32688 var _this$props = _this.props,
31005 componentDidMount: function componentDidMount() { 32689 onSelect = _this$props.onSelect,
32690 type = _this$props.type;
32691
32692 onSelect(type, value);
32693 }, _this.handleMouseEnter = function (e) {
32694 _this.setState({ active: true });
32695 _this.props.onMouseEnter(e);
32696 }, _this.handleMouseLeave = function () {
32697 _this.setState({ active: false });
32698 }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);
32699 }
32700
32701 Select.prototype.componentDidMount = function componentDidMount() {
31006 // jump to selected option 32702 // jump to selected option
31007 this.scrollToSelected(0); 32703 this.scrollToSelected(0);
31008 }, 32704 };
31009 componentDidUpdate: function componentDidUpdate(prevProps) { 32705
32706 Select.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
31010 // smooth scroll to selected option 32707 // smooth scroll to selected option
31011 if (prevProps.selectedIndex !== this.props.selectedIndex) { 32708 if (prevProps.selectedIndex !== this.props.selectedIndex) {
31012 this.scrollToSelected(120); 32709 this.scrollToSelected(120);
31013 } 32710 }
31014 }, 32711 };
31015 onSelect: function onSelect(value) {
31016 var _props = this.props,
31017 onSelect = _props.onSelect,
31018 type = _props.type;
31019 32712
31020 onSelect(type, value); 32713 Select.prototype.getOptions = function getOptions() {
31021 }, 32714 var _this2 = this;
31022 getOptions: function getOptions() {
31023 var _this = this;
31024 32715
31025 var _props2 = this.props, 32716 var _props = this.props,
31026 options = _props2.options, 32717 options = _props.options,
31027 selectedIndex = _props2.selectedIndex, 32718 selectedIndex = _props.selectedIndex,
31028 prefixCls = _props2.prefixCls; 32719 prefixCls = _props.prefixCls;
31029 32720
31030 return options.map(function (item, index) { 32721 return options.map(function (item, index) {
31031 var _classnames; 32722 var _classnames;
@@ -31033,7 +32724,7 @@
31033 var cls = (0, _classnames4.default)((_classnames = {}, (0, _defineProperty3.default)(_classnames, prefixCls + '-select-option-selected', selectedIndex === index), (0, _defineProperty3.default)(_classnames, prefixCls + '-select-option-disabled', item.disabled), _classnames)); 32724 var cls = (0, _classnames4.default)((_classnames = {}, (0, _defineProperty3.default)(_classnames, prefixCls + '-select-option-selected', selectedIndex === index), (0, _defineProperty3.default)(_classnames, prefixCls + '-select-option-disabled', item.disabled), _classnames));
31034 var onclick = null; 32725 var onclick = null;
31035 if (!item.disabled) { 32726 if (!item.disabled) {
31036 onclick = _this.onSelect.bind(_this, item.value); 32727 onclick = _this2.onSelect.bind(_this2, item.value);
31037 } 32728 }
31038 return _react2.default.createElement( 32729 return _react2.default.createElement(
31039 'li', 32730 'li',
@@ -31046,8 +32737,9 @@
31046 item.value 32737 item.value
31047 ); 32738 );
31048 }); 32739 });
31049 }, 32740 };
31050 scrollToSelected: function scrollToSelected(duration) { 32741
32742 Select.prototype.scrollToSelected = function scrollToSelected(duration) {
31051 // move to selected item 32743 // move to selected item
31052 var select = _reactDom2.default.findDOMNode(this); 32744 var select = _reactDom2.default.findDOMNode(this);
31053 var list = _reactDom2.default.findDOMNode(this.refs.list); 32745 var list = _reactDom2.default.findDOMNode(this.refs.list);
@@ -31061,15 +32753,9 @@
31061 var topOption = list.children[index]; 32753 var topOption = list.children[index];
31062 var to = topOption.offsetTop; 32754 var to = topOption.offsetTop;
31063 scrollTo(select, to, duration); 32755 scrollTo(select, to, duration);
31064 }, 32756 };
31065 handleMouseEnter: function handleMouseEnter(e) { 32757
31066 this.setState({ active: true }); 32758 Select.prototype.render = function render() {
31067 this.props.onMouseEnter(e);
31068 },
31069 handleMouseLeave: function handleMouseLeave() {
31070 this.setState({ active: false });
31071 },
31072 render: function render() {
31073 var _classnames2; 32759 var _classnames2;
31074 32760
31075 if (this.props.options.length === 0) { 32761 if (this.props.options.length === 0) {
@@ -31093,15 +32779,25 @@
31093 this.getOptions() 32779 this.getOptions()
31094 ) 32780 )
31095 ); 32781 );
31096 } 32782 };
31097 }); 32783
32784 return Select;
32785 }(_react.Component);
31098 32786
32787 Select.propTypes = {
32788 prefixCls: _propTypes2.default.string,
32789 options: _propTypes2.default.array,
32790 selectedIndex: _propTypes2.default.number,
32791 type: _propTypes2.default.string,
32792 onSelect: _propTypes2.default.func,
32793 onMouseEnter: _propTypes2.default.func
32794 };
31099 exports.default = Select; 32795 exports.default = Select;
31100 module.exports = exports['default']; 32796 module.exports = exports['default'];
31101 32797
31102/***/ }, 32798/***/ }),
31103/* 264 */ 32799/* 315 */
31104/***/ function(module, exports, __webpack_require__) { 32800/***/ (function(module, exports, __webpack_require__) {
31105 32801
31106 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 32802 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
31107 Copyright (c) 2016 Jed Watson. 32803 Copyright (c) 2016 Jed Watson.
@@ -31153,9 +32849,9 @@
31153 }()); 32849 }());
31154 32850
31155 32851
31156/***/ }, 32852/***/ }),
31157/* 265 */ 32853/* 316 */
31158/***/ function(module, exports) { 32854/***/ (function(module, exports) {
31159 32855
31160 'use strict'; 32856 'use strict';
31161 32857
@@ -31199,15 +32895,15 @@
31199 exports.default = placements; 32895 exports.default = placements;
31200 module.exports = exports['default']; 32896 module.exports = exports['default'];
31201 32897
31202/***/ }, 32898/***/ }),
31203/* 266 */, 32899/* 317 */,
31204/* 267 */, 32900/* 318 */,
31205/* 268 */, 32901/* 319 */,
31206/* 269 */, 32902/* 320 */,
31207/* 270 */, 32903/* 321 */,
31208/* 271 */, 32904/* 322 */,
31209/* 272 */ 32905/* 323 */
31210/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { 32906/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) {
31211 32907
31212 /* WEBPACK VAR INJECTION */(function(process) {/** 32908 /* WEBPACK VAR INJECTION */(function(process) {/**
31213 * Copyright 2013-present, Facebook, Inc. 32909 * Copyright 2013-present, Facebook, Inc.
@@ -31322,6 +33018,6 @@
31322 module.exports = PooledClass; 33018 module.exports = PooledClass;
31323 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5))) 33019 /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
31324 33020
31325/***/ } 33021/***/ })
31326/******/ ]))); 33022/******/ ])));
31327//# sourceMappingURL=common.js.map \ No newline at end of file 33023//# sourceMappingURL=common.js.map \ No newline at end of file