@samitouri / QOS-React / commits / c3ce0f24c9

Update website for 15.2.1

(cherry picked from commit ea880f2e2cd7944dceb0097e80f5e92f39243afc)

Paul O’Shannessy committed Jul 8, 2016 at 15:26 UTC c3ce0f24c98917ead456ab56b00360ed140ad371
4 files changed +1044 -945
docs/_config.yml
+9 -9
@@ -36,13 +36,13 @@ sass:
36 sass_dir: _css
37 gems:
38 - jekyll-redirect-from
39 -react_version: 15.1.0
39 +react_version: 15.2.1
40 react_hashes:
41 - dev: vck4RVcD/d8oCyYODNkyY5bF8we4hBqLNCQzIsK1n4eN+WTWkSMaXH8Bl0ByIaMd
42 - prod: SA/uTNKFAqs8tVn1gROCqtn9Y/waa33EiLYKD7iALN+MDxP1DWBEWPCPmSkYzdsa
43 - addons_dev: Bhsz0xzA1wDnGOSV7KbIL0pKaNOZ5KdPxqVOZTwVyU5NfUGDgN56LTVPVrGi3cMy
44 - addons_prod: Gi+revrP36Zmqp/aqipOToEggqK5NWoKz1B1SUgiA1/OwV+pR8FqnU/VdfzizfUf
45 - dom_dev: 0D/X+kBzzy9hGstygpjpkksS9+WWyG0B/ZfKROdwJ4h6BbJLCnL8lodLYYXxEunS
46 - dom_prod: eZbWlQZOpUJXnnogcw4IRZvbGDRjAOpZvOEe932rEg0fhFmXXnaN9bLP/x1RbB6D
47 - dom_server_dev: oo6/aLeY4xKtb+MetozfT9WlfPcJq6wnqeIT6suwaeA/qPaSG7B1wWvM8WLATV7Z
48 - dom_server_prod: m3fk/O7t/S25hafVhhsrQ7YwjLJdqNNZwgYsAXft24YSrPXysowaoqpQokZO1lsI
41 + dev: g2900ZIpFKhyIsz+bnx4YDEfAISugYRU58ljeAgI8TZ0A0AkRLGUCN7OmjF16Cj+
42 + prod: ICzDcvbNpMy31akJ8WzksHoK9tl1iRIUPRCaBRN+sn/k40TNGjs9IvgPN0SekkDT
43 + addons_dev: js+Yc2Nd259A4+UPokRNVOXJdipY9oIrkkDdFJAZzZxgryRJLkWYDrJVgM97aweF
44 + addons_prod: DaNE8gIDQr8RWDoa4y9HX/70fzdOBzpV/e+7RJtMN1MnXEiCMpiIFtutJml6mvPC
45 + dom_dev: LD1cH7LXOdrrq5dOOiE2N/HdgCyrw3nmUMq6oPFCJKUfWO3i7AozvBKz7G3maMHt
46 + dom_prod: 1dLXeik7kFcDPXbz3rX9dibLTGh/D8dpAOL5X2Ml09pH8wpQlpL+JOgOnzAMCO4T
47 + dom_server_dev: WJt1y2JljJEQ1OgpupP2ly0GgIwi7Aodp+n+/fv2bakpgWpXMnLklj5rSouRJt59
48 + dom_server_prod: Y6UDASOvQhWWBwXy/Ccp4vSAt0YAp+ymuRXBX4hffy+pMlOgjXzryIjbiceIB6GF
docs/downloads/react-15.2.1.zip
Binary files /dev/null and b/docs/downloads/react-15.2.1.zip differ
docs/js/react-dom.js
+1 -1
@@ -1,5 +1,5 @@
1 /**
2 - * ReactDOM v15.2.0
2 + * ReactDOM v15.2.1
3 *
4 * Copyright 2013-present, Facebook, Inc.
5 * All rights reserved.
docs/js/react.js
+1034 -935
@@ -1,5 +1,5 @@
1 /**
2 - * React v15.2.0
2 + * React v15.2.1
3 */
4 (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
5 /**
@@ -17,7 +17,7 @@
17
18 var ReactDOMComponentTree = _dereq_(41);
19
20 -var focusNode = _dereq_(153);
20 +var focusNode = _dereq_(155);
21
22 var AutoFocusUtils = {
23 focusDOMComponent: function () {
@@ -26,7 +26,7 @@ var AutoFocusUtils = {
26 };
27
28 module.exports = AutoFocusUtils;
29 -},{"153":153,"41":41}],2:[function(_dereq_,module,exports){
29 +},{"155":155,"41":41}],2:[function(_dereq_,module,exports){
30 /**
31 * Copyright 2013-present Facebook, Inc.
32 * All rights reserved.
@@ -42,12 +42,12 @@ module.exports = AutoFocusUtils;
42
43 var EventConstants = _dereq_(16);
44 var EventPropagators = _dereq_(20);
45 -var ExecutionEnvironment = _dereq_(145);
45 +var ExecutionEnvironment = _dereq_(147);
46 var FallbackCompositionState = _dereq_(21);
47 -var SyntheticCompositionEvent = _dereq_(100);
48 -var SyntheticInputEvent = _dereq_(104);
47 +var SyntheticCompositionEvent = _dereq_(102);
48 +var SyntheticInputEvent = _dereq_(106);
49
50 -var keyOf = _dereq_(163);
50 +var keyOf = _dereq_(165);
51
52 var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
53 var START_KEYCODE = 229;
@@ -415,7 +415,7 @@ var BeforeInputEventPlugin = {
415 };
416
417 module.exports = BeforeInputEventPlugin;
418 -},{"100":100,"104":104,"145":145,"16":16,"163":163,"20":20,"21":21}],3:[function(_dereq_,module,exports){
418 +},{"102":102,"106":106,"147":147,"16":16,"165":165,"20":20,"21":21}],3:[function(_dereq_,module,exports){
419 /**
420 * Copyright 2013-present, Facebook, Inc.
421 * All rights reserved.
@@ -579,14 +579,14 @@ module.exports = CSSProperty;
579 'use strict';
580
581 var CSSProperty = _dereq_(3);
582 -var ExecutionEnvironment = _dereq_(145);
583 -var ReactInstrumentation = _dereq_(73);
582 +var ExecutionEnvironment = _dereq_(147);
583 +var ReactInstrumentation = _dereq_(74);
584
585 -var camelizeStyleName = _dereq_(147);
586 -var dangerousStyleValue = _dereq_(118);
587 -var hyphenateStyleName = _dereq_(158);
588 -var memoizeStringOnly = _dereq_(165);
589 -var warning = _dereq_(169);
585 +var camelizeStyleName = _dereq_(149);
586 +var dangerousStyleValue = _dereq_(120);
587 +var hyphenateStyleName = _dereq_(160);
588 +var memoizeStringOnly = _dereq_(167);
589 +var warning = _dereq_(171);
590
591 var processStyleName = memoizeStringOnly(function (styleName) {
592 return hyphenateStyleName(styleName);
@@ -770,7 +770,7 @@ var CSSPropertyOperations = {
770 };
771
772 module.exports = CSSPropertyOperations;
773 -},{"118":118,"145":145,"147":147,"158":158,"165":165,"169":169,"3":3,"73":73}],5:[function(_dereq_,module,exports){
773 +},{"120":120,"147":147,"149":149,"160":160,"167":167,"171":171,"3":3,"74":74}],5:[function(_dereq_,module,exports){
774 /**
775 * Copyright 2013-present, Facebook, Inc.
776 * All rights reserved.
@@ -784,12 +784,12 @@ module.exports = CSSPropertyOperations;
784
785 'use strict';
786
787 -var _prodInvariant = _dereq_(137),
788 - _assign = _dereq_(170);
787 +var _prodInvariant = _dereq_(139),
788 + _assign = _dereq_(172);
789
790 var PooledClass = _dereq_(25);
791
792 -var invariant = _dereq_(159);
792 +var invariant = _dereq_(161);
793
794 /**
795 * A specialized pseudo-event module to help keep track of components waiting to
@@ -877,7 +877,7 @@ _assign(CallbackQueue.prototype, {
877 PooledClass.addPoolingTo(CallbackQueue);
878
879 module.exports = CallbackQueue;
880 -},{"137":137,"159":159,"170":170,"25":25}],6:[function(_dereq_,module,exports){
880 +},{"139":139,"161":161,"172":172,"25":25}],6:[function(_dereq_,module,exports){
881 /**
882 * Copyright 2013-present, Facebook, Inc.
883 * All rights reserved.
@@ -894,15 +894,15 @@ module.exports = CallbackQueue;
894 var EventConstants = _dereq_(16);
895 var EventPluginHub = _dereq_(17);
896 var EventPropagators = _dereq_(20);
897 -var ExecutionEnvironment = _dereq_(145);
897 +var ExecutionEnvironment = _dereq_(147);
898 var ReactDOMComponentTree = _dereq_(41);
899 -var ReactUpdates = _dereq_(93);
900 -var SyntheticEvent = _dereq_(102);
899 +var ReactUpdates = _dereq_(95);
900 +var SyntheticEvent = _dereq_(104);
901
902 -var getEventTarget = _dereq_(126);
903 -var isEventSupported = _dereq_(133);
904 -var isTextInputElement = _dereq_(134);
905 -var keyOf = _dereq_(163);
902 +var getEventTarget = _dereq_(128);
903 +var isEventSupported = _dereq_(135);
904 +var isTextInputElement = _dereq_(136);
905 +var keyOf = _dereq_(165);
906
907 var topLevelTypes = EventConstants.topLevelTypes;
908
@@ -1203,7 +1203,7 @@ var ChangeEventPlugin = {
1203 };
1204
1205 module.exports = ChangeEventPlugin;
1206 -},{"102":102,"126":126,"133":133,"134":134,"145":145,"16":16,"163":163,"17":17,"20":20,"41":41,"93":93}],7:[function(_dereq_,module,exports){
1206 +},{"104":104,"128":128,"135":135,"136":136,"147":147,"16":16,"165":165,"17":17,"20":20,"41":41,"95":95}],7:[function(_dereq_,module,exports){
1207 /**
1208 * Copyright 2013-present, Facebook, Inc.
1209 * All rights reserved.
@@ -1219,13 +1219,13 @@ module.exports = ChangeEventPlugin;
1219
1220 var DOMLazyTree = _dereq_(8);
1221 var Danger = _dereq_(12);
1222 -var ReactMultiChildUpdateTypes = _dereq_(78);
1222 +var ReactMultiChildUpdateTypes = _dereq_(79);
1223 var ReactDOMComponentTree = _dereq_(41);
1224 -var ReactInstrumentation = _dereq_(73);
1224 +var ReactInstrumentation = _dereq_(74);
1225
1226 -var createMicrosoftUnsafeLocalFunction = _dereq_(117);
1227 -var setInnerHTML = _dereq_(139);
1228 -var setTextContent = _dereq_(140);
1226 +var createMicrosoftUnsafeLocalFunction = _dereq_(119);
1227 +var setInnerHTML = _dereq_(141);
1228 +var setTextContent = _dereq_(142);
1229
1230 function getNodeAfter(parentNode, node) {
1231 // Special case for text components, which return [open, close] comments
@@ -1398,7 +1398,7 @@ var DOMChildrenOperations = {
1398 };
1399
1400 module.exports = DOMChildrenOperations;
1401 -},{"117":117,"12":12,"139":139,"140":140,"41":41,"73":73,"78":78,"8":8}],8:[function(_dereq_,module,exports){
1401 +},{"119":119,"12":12,"141":141,"142":142,"41":41,"74":74,"79":79,"8":8}],8:[function(_dereq_,module,exports){
1402 /**
1403 * Copyright 2015-present, Facebook, Inc.
1404 * All rights reserved.
@@ -1413,10 +1413,10 @@ module.exports = DOMChildrenOperations;
1413 'use strict';
1414
1415 var DOMNamespaces = _dereq_(9);
1416 -var setInnerHTML = _dereq_(139);
1416 +var setInnerHTML = _dereq_(141);
1417
1418 -var createMicrosoftUnsafeLocalFunction = _dereq_(117);
1419 -var setTextContent = _dereq_(140);
1418 +var createMicrosoftUnsafeLocalFunction = _dereq_(119);
1419 +var setTextContent = _dereq_(142);
1420
1421 var ELEMENT_NODE_TYPE = 1;
1422 var DOCUMENT_FRAGMENT_NODE_TYPE = 11;
@@ -1517,7 +1517,7 @@ DOMLazyTree.queueHTML = queueHTML;
1517 DOMLazyTree.queueText = queueText;
1518
1519 module.exports = DOMLazyTree;
1520 -},{"117":117,"139":139,"140":140,"9":9}],9:[function(_dereq_,module,exports){
1520 +},{"119":119,"141":141,"142":142,"9":9}],9:[function(_dereq_,module,exports){
1521 /**
1522 * Copyright 2013-present, Facebook, Inc.
1523 * All rights reserved.
@@ -1552,9 +1552,9 @@ module.exports = DOMNamespaces;
1552
1553 'use strict';
1554
1555 -var _prodInvariant = _dereq_(137);
1555 +var _prodInvariant = _dereq_(139);
1556
1557 -var invariant = _dereq_(159);
1557 +var invariant = _dereq_(161);
1558
1559 function checkMask(value, bitmask) {
1560 return (value & bitmask) === bitmask;
@@ -1566,7 +1566,6 @@ var DOMPropertyInjection = {
1566 * specifies how the associated DOM property should be accessed or rendered.
1567 */
1568 MUST_USE_PROPERTY: 0x1,
1569 - HAS_SIDE_EFFECTS: 0x2,
1569 HAS_BOOLEAN_VALUE: 0x4,
1570 HAS_NUMERIC_VALUE: 0x8,
1571 HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,
@@ -1625,14 +1624,11 @@ var DOMPropertyInjection = {
1624 mutationMethod: null,
1625
1626 mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),
1628 - hasSideEffects: checkMask(propConfig, Injection.HAS_SIDE_EFFECTS),
1627 hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),
1628 hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),
1629 hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),
1630 hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)
1631 };
1634 -
1635 - !(propertyInfo.mustUseProperty || !propertyInfo.hasSideEffects) ? "development" !== 'production' ? invariant(false, 'DOMProperty: Properties that have side effects must use property: %s', propName) : _prodInvariant('49', propName) : void 0;
1632 !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? "development" !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;
1633
1634 if ("development" !== 'production') {
@@ -1704,11 +1700,6 @@ var DOMProperty = {
1700 * initial render.
1701 * mustUseProperty:
1702 * Whether the property must be accessed and mutated as an object property.
1707 - * hasSideEffects:
1708 - * Whether or not setting a value causes side effects such as triggering
1709 - * resources to be loaded or text selection changes. If true, we read from
1710 - * the DOM before updating to ensure that the value is only set if it has
1711 - * changed.
1703 * hasBooleanValue:
1704 * Whether the property should be removed when set to a falsey value.
1705 * hasNumericValue:
@@ -1754,7 +1745,7 @@ var DOMProperty = {
1745 };
1746
1747 module.exports = DOMProperty;
1757 -},{"137":137,"159":159}],11:[function(_dereq_,module,exports){
1748 +},{"139":139,"161":161}],11:[function(_dereq_,module,exports){
1749 /**
1750 * Copyright 2013-present, Facebook, Inc.
1751 * All rights reserved.
@@ -1771,10 +1762,10 @@ module.exports = DOMProperty;
1762 var DOMProperty = _dereq_(10);
1763 var ReactDOMComponentTree = _dereq_(41);
1764 var ReactDOMInstrumentation = _dereq_(49);
1774 -var ReactInstrumentation = _dereq_(73);
1765 +var ReactInstrumentation = _dereq_(74);
1766
1776 -var quoteAttributeValueForBrowser = _dereq_(136);
1777 -var warning = _dereq_(169);
1767 +var quoteAttributeValueForBrowser = _dereq_(138);
1768 +var warning = _dereq_(171);
1769
1770 var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');
1771 var illegalAttributeNameCache = {};
@@ -1888,14 +1879,9 @@ var DOMPropertyOperations = {
1879 this.deleteValueForProperty(node, name);
1880 return;
1881 } else if (propertyInfo.mustUseProperty) {
1891 - var propName = propertyInfo.propertyName;
1892 - // Must explicitly cast values for HAS_SIDE_EFFECTS-properties to the
1893 - // property type before comparing; only `value` does and is string.
1894 - if (!propertyInfo.hasSideEffects || '' + node[propName] !== '' + value) {
1895 - // Contrary to `setAttribute`, object properties are properly
1896 - // `toString`ed by IE8/9.
1897 - node[propName] = value;
1898 - }
1882 + // Contrary to `setAttribute`, object properties are properly
1883 + // `toString`ed by IE8/9.
1884 + node[propertyInfo.propertyName] = value;
1885 } else {
1886 var attributeName = propertyInfo.attributeName;
1887 var namespace = propertyInfo.attributeNamespace;
@@ -1968,12 +1954,9 @@ var DOMPropertyOperations = {
1954 } else if (propertyInfo.mustUseProperty) {
1955 var propName = propertyInfo.propertyName;
1956 if (propertyInfo.hasBooleanValue) {
1971 - // No HAS_SIDE_EFFECTS logic here, only `value` has it and is string.
1957 node[propName] = false;
1958 } else {
1974 - if (!propertyInfo.hasSideEffects || '' + node[propName] !== '') {
1975 - node[propName] = '';
1976 - }
1959 + node[propName] = '';
1960 }
1961 } else {
1962 node.removeAttribute(propertyInfo.attributeName);
@@ -1991,7 +1974,7 @@ var DOMPropertyOperations = {
1974 };
1975
1976 module.exports = DOMPropertyOperations;
1994 -},{"10":10,"136":136,"169":169,"41":41,"49":49,"73":73}],12:[function(_dereq_,module,exports){
1977 +},{"10":10,"138":138,"171":171,"41":41,"49":49,"74":74}],12:[function(_dereq_,module,exports){
1978 /**
1979 * Copyright 2013-present, Facebook, Inc.
1980 * All rights reserved.
@@ -2005,115 +1988,17 @@ module.exports = DOMPropertyOperations;
1988
1989 'use strict';
1990
2008 -var _prodInvariant = _dereq_(137);
1991 +var _prodInvariant = _dereq_(139);
1992
1993 var DOMLazyTree = _dereq_(8);
2011 -var ExecutionEnvironment = _dereq_(145);
2012 -
2013 -var createNodesFromMarkup = _dereq_(150);
2014 -var emptyFunction = _dereq_(151);
2015 -var getMarkupWrap = _dereq_(155);
2016 -var invariant = _dereq_(159);
2017 -
2018 -var OPEN_TAG_NAME_EXP = /^(<[^ \/>]+)/;
2019 -var RESULT_INDEX_ATTR = 'data-danger-index';
1994 +var ExecutionEnvironment = _dereq_(147);
1995
2021 -/**
2022 - * Extracts the `nodeName` from a string of markup.
2023 - *
2024 - * NOTE: Extracting the `nodeName` does not require a regular expression match
2025 - * because we make assumptions about React-generated markup (i.e. there are no
2026 - * spaces surrounding the opening tag and there is at least one attribute).
2027 - *
2028 - * @param {string} markup String of markup.
2029 - * @return {string} Node name of the supplied markup.
2030 - * @see http://jsperf.com/extract-nodename
2031 - */
2032 -function getNodeName(markup) {
2033 - return markup.substring(1, markup.indexOf(' '));
2034 -}
1996 +var createNodesFromMarkup = _dereq_(152);
1997 +var emptyFunction = _dereq_(153);
1998 +var invariant = _dereq_(161);
1999
2000 var Danger = {
2001
2038 - /**
2039 - * Renders markup into an array of nodes. The markup is expected to render
2040 - * into a list of root nodes. Also, the length of `resultList` and
2041 - * `markupList` should be the same.
2042 - *
2043 - * @param {array<string>} markupList List of markup strings to render.
2044 - * @return {array<DOMElement>} List of rendered nodes.
2045 - * @internal
2046 - */
2047 - dangerouslyRenderMarkup: function (markupList) {
2048 - !ExecutionEnvironment.canUseDOM ? "development" !== 'production' ? invariant(false, 'dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString for server rendering.') : _prodInvariant('51') : void 0;
2049 - var nodeName;
2050 - var markupByNodeName = {};
2051 - // Group markup by `nodeName` if a wrap is necessary, else by '*'.
2052 - for (var i = 0; i < markupList.length; i++) {
2053 - !markupList[i] ? "development" !== 'production' ? invariant(false, 'dangerouslyRenderMarkup(...): Missing markup.') : _prodInvariant('52') : void 0;
2054 - nodeName = getNodeName(markupList[i]);
2055 - nodeName = getMarkupWrap(nodeName) ? nodeName : '*';
2056 - markupByNodeName[nodeName] = markupByNodeName[nodeName] || [];
2057 - markupByNodeName[nodeName][i] = markupList[i];
2058 - }
2059 - var resultList = [];
2060 - var resultListAssignmentCount = 0;
2061 - for (nodeName in markupByNodeName) {
2062 - if (!markupByNodeName.hasOwnProperty(nodeName)) {
2063 - continue;
2064 - }
2065 - var markupListByNodeName = markupByNodeName[nodeName];
2066 -
2067 - // This for-in loop skips the holes of the sparse array. The order of
2068 - // iteration should follow the order of assignment, which happens to match
2069 - // numerical index order, but we don't rely on that.
2070 - var resultIndex;
2071 - for (resultIndex in markupListByNodeName) {
2072 - if (markupListByNodeName.hasOwnProperty(resultIndex)) {
2073 - var markup = markupListByNodeName[resultIndex];
2074 -
2075 - // Push the requested markup with an additional RESULT_INDEX_ATTR
2076 - // attribute. If the markup does not start with a < character, it
2077 - // will be discarded below (with an appropriate console.error).
2078 - markupListByNodeName[resultIndex] = markup.replace(OPEN_TAG_NAME_EXP,
2079 - // This index will be parsed back out below.
2080 - '$1 ' + RESULT_INDEX_ATTR + '="' + resultIndex + '" ');
2081 - }
2082 - }
2083 -
2084 - // Render each group of markup with similar wrapping `nodeName`.
2085 - var renderNodes = createNodesFromMarkup(markupListByNodeName.join(''), emptyFunction // Do nothing special with <script> tags.
2086 - );
2087 -
2088 - for (var j = 0; j < renderNodes.length; ++j) {
2089 - var renderNode = renderNodes[j];
2090 - if (renderNode.hasAttribute && renderNode.hasAttribute(RESULT_INDEX_ATTR)) {
2091 -
2092 - resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR);
2093 - renderNode.removeAttribute(RESULT_INDEX_ATTR);
2094 -
2095 - !!resultList.hasOwnProperty(resultIndex) ? "development" !== 'production' ? invariant(false, 'Danger: Assigning to an already-occupied result index.') : _prodInvariant('53') : void 0;
2096 -
2097 - resultList[resultIndex] = renderNode;
2098 -
2099 - // This should match resultList.length and markupList.length when
2100 - // we're done.
2101 - resultListAssignmentCount += 1;
2102 - } else if ("development" !== 'production') {
2103 - console.error('Danger: Discarding unexpected node:', renderNode);
2104 - }
2105 - }
2106 - }
2107 -
2108 - // Although resultList was populated out of order, it should now be a dense
2109 - // array.
2110 - !(resultListAssignmentCount === resultList.length) ? "development" !== 'production' ? invariant(false, 'Danger: Did not assign to every index of resultList.') : _prodInvariant('54') : void 0;
2111 -
2112 - !(resultList.length === markupList.length) ? "development" !== 'production' ? invariant(false, 'Danger: Expected markup to render %s nodes, but rendered %s.', markupList.length, resultList.length) : _prodInvariant('55', markupList.length, resultList.length) : void 0;
2113 -
2114 - return resultList;
2115 - },
2116 -
2002 /**
2003 * Replaces a node with a string of markup at its current position within its
2004 * parent. The markup must render into a single root node.
@@ -2138,7 +2023,7 @@ var Danger = {
2023 };
2024
2025 module.exports = Danger;
2141 -},{"137":137,"145":145,"150":150,"151":151,"155":155,"159":159,"8":8}],13:[function(_dereq_,module,exports){
2026 +},{"139":139,"147":147,"152":152,"153":153,"161":161,"8":8}],13:[function(_dereq_,module,exports){
2027 /**
2028 * Copyright 2013-present, Facebook, Inc.
2029 * All rights reserved.
@@ -2152,7 +2037,7 @@ module.exports = Danger;
2037
2038 'use strict';
2039
2155 -var keyOf = _dereq_(163);
2040 +var keyOf = _dereq_(165);
2041
2042 /**
2043 * Module that is injectable into `EventPluginHub`, that specifies a
@@ -2166,7 +2051,7 @@ var keyOf = _dereq_(163);
2051 var DefaultEventPluginOrder = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })];
2052
2053 module.exports = DefaultEventPluginOrder;
2169 -},{"163":163}],14:[function(_dereq_,module,exports){
2054 +},{"165":165}],14:[function(_dereq_,module,exports){
2055 /**
2056 * Copyright 2013-present, Facebook, Inc.
2057 * All rights reserved.
@@ -2234,9 +2119,9 @@ module.exports = DisabledInputUtils;
2119 var EventConstants = _dereq_(16);
2120 var EventPropagators = _dereq_(20);
2121 var ReactDOMComponentTree = _dereq_(41);
2237 -var SyntheticMouseEvent = _dereq_(106);
2122 +var SyntheticMouseEvent = _dereq_(108);
2123
2239 -var keyOf = _dereq_(163);
2124 +var keyOf = _dereq_(165);
2125
2126 var topLevelTypes = EventConstants.topLevelTypes;
2127
@@ -2323,7 +2208,7 @@ var EnterLeaveEventPlugin = {
2208 };
2209
2210 module.exports = EnterLeaveEventPlugin;
2326 -},{"106":106,"16":16,"163":163,"20":20,"41":41}],16:[function(_dereq_,module,exports){
2211 +},{"108":108,"16":16,"165":165,"20":20,"41":41}],16:[function(_dereq_,module,exports){
2212 /**
2213 * Copyright 2013-present, Facebook, Inc.
2214 * All rights reserved.
@@ -2337,7 +2222,7 @@ module.exports = EnterLeaveEventPlugin;
2222
2223 'use strict';
2224
2340 -var keyMirror = _dereq_(162);
2225 +var keyMirror = _dereq_(164);
2226
2227 var PropagationPhases = keyMirror({ bubbled: null, captured: null });
2228
@@ -2421,7 +2306,7 @@ var EventConstants = {
2306 };
2307
2308 module.exports = EventConstants;
2424 -},{"162":162}],17:[function(_dereq_,module,exports){
2309 +},{"164":164}],17:[function(_dereq_,module,exports){
2310 /**
2311 * Copyright 2013-present, Facebook, Inc.
2312 * All rights reserved.
@@ -2435,15 +2320,15 @@ module.exports = EventConstants;
2320
2321 'use strict';
2322
2438 -var _prodInvariant = _dereq_(137);
2323 +var _prodInvariant = _dereq_(139);
2324
2325 var EventPluginRegistry = _dereq_(18);
2326 var EventPluginUtils = _dereq_(19);
2442 -var ReactErrorUtils = _dereq_(64);
2327 +var ReactErrorUtils = _dereq_(65);
2328
2444 -var accumulateInto = _dereq_(113);
2445 -var forEachAccumulated = _dereq_(122);
2446 -var invariant = _dereq_(159);
2329 +var accumulateInto = _dereq_(115);
2330 +var forEachAccumulated = _dereq_(124);
2331 +var invariant = _dereq_(161);
2332
2333 /**
2334 * Internal store for event listeners
@@ -2663,7 +2548,7 @@ var EventPluginHub = {
2548 };
2549
2550 module.exports = EventPluginHub;
2666 -},{"113":113,"122":122,"137":137,"159":159,"18":18,"19":19,"64":64}],18:[function(_dereq_,module,exports){
2551 +},{"115":115,"124":124,"139":139,"161":161,"18":18,"19":19,"65":65}],18:[function(_dereq_,module,exports){
2552 /**
2553 * Copyright 2013-present, Facebook, Inc.
2554 * All rights reserved.
@@ -2677,9 +2562,9 @@ module.exports = EventPluginHub;
2562
2563 'use strict';
2564
2680 -var _prodInvariant = _dereq_(137);
2565 +var _prodInvariant = _dereq_(139);
2566
2682 -var invariant = _dereq_(159);
2567 +var invariant = _dereq_(161);
2568
2569 /**
2570 * Injectable ordering of event plugins.
@@ -2911,7 +2796,7 @@ var EventPluginRegistry = {
2796 };
2797
2798 module.exports = EventPluginRegistry;
2914 -},{"137":137,"159":159}],19:[function(_dereq_,module,exports){
2799 +},{"139":139,"161":161}],19:[function(_dereq_,module,exports){
2800 /**
2801 * Copyright 2013-present, Facebook, Inc.
2802 * All rights reserved.
@@ -2925,13 +2810,13 @@ module.exports = EventPluginRegistry;
2810
2811 'use strict';
2812
2928 -var _prodInvariant = _dereq_(137);
2813 +var _prodInvariant = _dereq_(139);
2814
2815 var EventConstants = _dereq_(16);
2931 -var ReactErrorUtils = _dereq_(64);
2816 +var ReactErrorUtils = _dereq_(65);
2817
2933 -var invariant = _dereq_(159);
2934 -var warning = _dereq_(169);
2818 +var invariant = _dereq_(161);
2819 +var warning = _dereq_(171);
2820
2821 /**
2822 * Injected dependencies:
@@ -3141,7 +3026,7 @@ var EventPluginUtils = {
3026 };
3027
3028 module.exports = EventPluginUtils;
3144 -},{"137":137,"159":159,"16":16,"169":169,"64":64}],20:[function(_dereq_,module,exports){
3029 +},{"139":139,"16":16,"161":161,"171":171,"65":65}],20:[function(_dereq_,module,exports){
3030 /**
3031 * Copyright 2013-present, Facebook, Inc.
3032 * All rights reserved.
@@ -3159,9 +3044,9 @@ var EventConstants = _dereq_(16);
3044 var EventPluginHub = _dereq_(17);
3045 var EventPluginUtils = _dereq_(19);
3046
3162 -var accumulateInto = _dereq_(113);
3163 -var forEachAccumulated = _dereq_(122);
3164 -var warning = _dereq_(169);
3047 +var accumulateInto = _dereq_(115);
3048 +var forEachAccumulated = _dereq_(124);
3049 +var warning = _dereq_(171);
3050
3051 var PropagationPhases = EventConstants.PropagationPhases;
3052 var getListener = EventPluginHub.getListener;
@@ -3279,7 +3164,7 @@ var EventPropagators = {
3164 };
3165
3166 module.exports = EventPropagators;
3282 -},{"113":113,"122":122,"16":16,"169":169,"17":17,"19":19}],21:[function(_dereq_,module,exports){
3167 +},{"115":115,"124":124,"16":16,"17":17,"171":171,"19":19}],21:[function(_dereq_,module,exports){
3168 /**
3169 * Copyright 2013-present, Facebook, Inc.
3170 * All rights reserved.
@@ -3293,11 +3178,11 @@ module.exports = EventPropagators;
3178
3179 'use strict';
3180
3296 -var _assign = _dereq_(170);
3181 +var _assign = _dereq_(172);
3182
3183 var PooledClass = _dereq_(25);
3184
3300 -var getTextContentAccessor = _dereq_(130);
3185 +var getTextContentAccessor = _dereq_(132);
3186
3187 /**
3188 * This helper class stores information about text content of a target node,
@@ -3375,7 +3260,7 @@ _assign(FallbackCompositionState.prototype, {
3260 PooledClass.addPoolingTo(FallbackCompositionState);
3261
3262 module.exports = FallbackCompositionState;
3378 -},{"130":130,"170":170,"25":25}],22:[function(_dereq_,module,exports){
3263 +},{"132":132,"172":172,"25":25}],22:[function(_dereq_,module,exports){
3264 /**
3265 * Copyright 2013-present, Facebook, Inc.
3266 * All rights reserved.
@@ -3594,6 +3479,7 @@ module.exports = HTMLDOMPropertyConfig;
3479 * of patent rights can be found in the PATENTS file in the same directory.
3480 *
3481 * @providesModule KeyEscapeUtils
3482 + *
3483 */
3484
3485 'use strict';
@@ -3601,7 +3487,7 @@ module.exports = HTMLDOMPropertyConfig;
3487 /**
3488 * Escape and wrap key so it is safe to use as a reactid
3489 *
3604 - * @param {*} key to be escaped.
3490 + * @param {string} key to be escaped.
3491 * @return {string} the escaped key.
3492 */
3493
@@ -3657,13 +3543,13 @@ module.exports = KeyEscapeUtils;
3543
3544 'use strict';
3545
3660 -var _prodInvariant = _dereq_(137);
3546 +var _prodInvariant = _dereq_(139);
3547
3662 -var ReactPropTypes = _dereq_(84);
3663 -var ReactPropTypeLocations = _dereq_(83);
3548 +var ReactPropTypes = _dereq_(85);
3549 +var ReactPropTypeLocations = _dereq_(84);
3550
3665 -var invariant = _dereq_(159);
3666 -var warning = _dereq_(169);
3551 +var invariant = _dereq_(161);
3552 +var warning = _dereq_(171);
3553
3554 var hasReadOnlyValue = {
3555 'button': true,
@@ -3779,7 +3665,7 @@ var LinkedValueUtils = {
3665 };
3666
3667 module.exports = LinkedValueUtils;
3782 -},{"137":137,"159":159,"169":169,"83":83,"84":84}],25:[function(_dereq_,module,exports){
3668 +},{"139":139,"161":161,"171":171,"84":84,"85":85}],25:[function(_dereq_,module,exports){
3669 /**
3670 * Copyright 2013-present, Facebook, Inc.
3671 * All rights reserved.
@@ -3793,9 +3679,9 @@ module.exports = LinkedValueUtils;
3679
3680 'use strict';
3681
3796 -var _prodInvariant = _dereq_(137);
3682 +var _prodInvariant = _dereq_(139);
3683
3798 -var invariant = _dereq_(159);
3684 +var invariant = _dereq_(161);
3685
3686 /**
3687 * Static poolers. Several custom versions for each potential number of
@@ -3875,7 +3761,7 @@ var DEFAULT_POOLER = oneArgumentPooler;
3761 * Augments `CopyConstructor` to be a poolable class, augmenting only the class
3762 * itself (statically) not adding any prototypical fields. Any CopyConstructor
3763 * you give this may have a `poolSize` property, and will look for a
3878 - * prototypical `destructor` on instances (optional).
3764 + * prototypical `destructor` on instances.
3765 *
3766 * @param {Function} CopyConstructor Constructor that can be used to reset.
3767 * @param {Function} pooler Customizable pooler.
@@ -3901,7 +3787,7 @@ var PooledClass = {
3787 };
3788
3789 module.exports = PooledClass;
3904 -},{"137":137,"159":159}],26:[function(_dereq_,module,exports){
3790 +},{"139":139,"161":161}],26:[function(_dereq_,module,exports){
3791 /**
3792 * Copyright 2013-present, Facebook, Inc.
3793 * All rights reserved.
@@ -3915,25 +3801,25 @@ module.exports = PooledClass;
3801
3802 'use strict';
3803
3918 -var _assign = _dereq_(170);
3804 +var _assign = _dereq_(172);
3805
3806 var ReactChildren = _dereq_(29);
3807 var ReactComponent = _dereq_(31);
3808 var ReactClass = _dereq_(30);
3809 var ReactDOMFactories = _dereq_(45);
3924 -var ReactElement = _dereq_(61);
3925 -var ReactPropTypes = _dereq_(84);
3926 -var ReactVersion = _dereq_(94);
3810 +var ReactElement = _dereq_(62);
3811 +var ReactPropTypes = _dereq_(85);
3812 +var ReactVersion = _dereq_(96);
3813
3928 -var onlyChild = _dereq_(135);
3929 -var warning = _dereq_(169);
3814 +var onlyChild = _dereq_(137);
3815 +var warning = _dereq_(171);
3816
3817 var createElement = ReactElement.createElement;
3818 var createFactory = ReactElement.createFactory;
3819 var cloneElement = ReactElement.cloneElement;
3820
3821 if ("development" !== 'production') {
3936 - var ReactElementValidator = _dereq_(62);
3822 + var ReactElementValidator = _dereq_(63);
3823 createElement = ReactElementValidator.createElement;
3824 createFactory = ReactElementValidator.createFactory;
3825 cloneElement = ReactElementValidator.cloneElement;
@@ -3989,7 +3875,7 @@ var React = {
3875 };
3876
3877 module.exports = React;
3992 -},{"135":135,"169":169,"170":170,"29":29,"30":30,"31":31,"45":45,"61":61,"62":62,"84":84,"94":94}],27:[function(_dereq_,module,exports){
3878 +},{"137":137,"171":171,"172":172,"29":29,"30":30,"31":31,"45":45,"62":62,"63":63,"85":85,"96":96}],27:[function(_dereq_,module,exports){
3879 /**
3880 * Copyright 2013-present, Facebook, Inc.
3881 * All rights reserved.
@@ -4003,15 +3889,15 @@ module.exports = React;
3889
3890 'use strict';
3891
4006 -var _assign = _dereq_(170);
3892 +var _assign = _dereq_(172);
3893
3894 var EventConstants = _dereq_(16);
3895 var EventPluginRegistry = _dereq_(18);
4010 -var ReactEventEmitterMixin = _dereq_(65);
4011 -var ViewportMetrics = _dereq_(112);
3896 +var ReactEventEmitterMixin = _dereq_(66);
3897 +var ViewportMetrics = _dereq_(114);
3898
4013 -var getVendorPrefixedEventName = _dereq_(131);
4014 -var isEventSupported = _dereq_(133);
3899 +var getVendorPrefixedEventName = _dereq_(133);
3900 +var isEventSupported = _dereq_(135);
3901
3902 /**
3903 * Summary of `ReactBrowserEventEmitter` event handling:
@@ -4307,7 +4193,7 @@ var ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {
4193 });
4194
4195 module.exports = ReactBrowserEventEmitter;
4310 -},{"112":112,"131":131,"133":133,"16":16,"170":170,"18":18,"65":65}],28:[function(_dereq_,module,exports){
4196 +},{"114":114,"133":133,"135":135,"16":16,"172":172,"18":18,"66":66}],28:[function(_dereq_,module,exports){
4197 /**
4198 * Copyright 2014-present, Facebook, Inc.
4199 * All rights reserved.
@@ -4321,23 +4207,23 @@ module.exports = ReactBrowserEventEmitter;
4207
4208 'use strict';
4209
4324 -var ReactReconciler = _dereq_(86);
4210 +var ReactReconciler = _dereq_(87);
4211
4326 -var ReactComponentTreeDevtool = _dereq_(34);
4327 -var instantiateReactComponent = _dereq_(132);
4212 +var instantiateReactComponent = _dereq_(134);
4213 var KeyEscapeUtils = _dereq_(23);
4329 -var shouldUpdateReactComponent = _dereq_(141);
4330 -var traverseAllChildren = _dereq_(142);
4331 -var warning = _dereq_(169);
4214 +var shouldUpdateReactComponent = _dereq_(143);
4215 +var traverseAllChildren = _dereq_(144);
4216 +var warning = _dereq_(171);
4217
4218 function instantiateChild(childInstances, child, name, selfDebugID) {
4219 // We found a component instance.
4220 var keyUnique = childInstances[name] === undefined;
4221 if ("development" !== 'production') {
4222 + var ReactComponentTreeDevtool = _dereq_(34);
4223 "development" !== 'production' ? warning(keyUnique, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeDevtool.getStackAddendumByID(selfDebugID)) : void 0;
4224 }
4225 if (child != null && keyUnique) {
4340 - childInstances[name] = instantiateReactComponent(child);
4226 + childInstances[name] = instantiateReactComponent(child, true);
4227 }
4228 }
4229
@@ -4409,7 +4295,7 @@ var ReactChildReconciler = {
4295 ReactReconciler.unmountComponent(prevChild, false);
4296 }
4297 // The child must be instantiated before it's mounted.
4412 - var nextChildInstance = instantiateReactComponent(nextElement);
4298 + var nextChildInstance = instantiateReactComponent(nextElement, true);
4299 nextChildren[name] = nextChildInstance;
4300 }
4301 }
@@ -4442,7 +4328,7 @@ var ReactChildReconciler = {
4328 };
4329
4330 module.exports = ReactChildReconciler;
4445 -},{"132":132,"141":141,"142":142,"169":169,"23":23,"34":34,"86":86}],29:[function(_dereq_,module,exports){
4331 +},{"134":134,"143":143,"144":144,"171":171,"23":23,"34":34,"87":87}],29:[function(_dereq_,module,exports){
4332 /**
4333 * Copyright 2013-present, Facebook, Inc.
4334 * All rights reserved.
@@ -4457,10 +4343,10 @@ module.exports = ReactChildReconciler;
4343 'use strict';
4344
4345 var PooledClass = _dereq_(25);
4460 -var ReactElement = _dereq_(61);
4346 +var ReactElement = _dereq_(62);
4347
4462 -var emptyFunction = _dereq_(151);
4463 -var traverseAllChildren = _dereq_(142);
4348 +var emptyFunction = _dereq_(153);
4349 +var traverseAllChildren = _dereq_(144);
4350
4351 var twoArgumentPooler = PooledClass.twoArgumentPooler;
4352 var fourArgumentPooler = PooledClass.fourArgumentPooler;
@@ -4634,7 +4520,7 @@ var ReactChildren = {
4520 };
4521
4522 module.exports = ReactChildren;
4637 -},{"142":142,"151":151,"25":25,"61":61}],30:[function(_dereq_,module,exports){
4523 +},{"144":144,"153":153,"25":25,"62":62}],30:[function(_dereq_,module,exports){
4524 /**
4525 * Copyright 2013-present, Facebook, Inc.
4526 * All rights reserved.
@@ -4648,20 +4534,20 @@ module.exports = ReactChildren;
4534
4535 'use strict';
4536
4651 -var _prodInvariant = _dereq_(137),
4652 - _assign = _dereq_(170);
4537 +var _prodInvariant = _dereq_(139),
4538 + _assign = _dereq_(172);
4539
4540 var ReactComponent = _dereq_(31);
4655 -var ReactElement = _dereq_(61);
4656 -var ReactPropTypeLocations = _dereq_(83);
4657 -var ReactPropTypeLocationNames = _dereq_(82);
4658 -var ReactNoopUpdateQueue = _dereq_(80);
4541 +var ReactElement = _dereq_(62);
4542 +var ReactPropTypeLocations = _dereq_(84);
4543 +var ReactPropTypeLocationNames = _dereq_(83);
4544 +var ReactNoopUpdateQueue = _dereq_(81);
4545
4660 -var emptyObject = _dereq_(152);
4661 -var invariant = _dereq_(159);
4662 -var keyMirror = _dereq_(162);
4663 -var keyOf = _dereq_(163);
4664 -var warning = _dereq_(169);
4546 +var emptyObject = _dereq_(154);
4547 +var invariant = _dereq_(161);
4548 +var keyMirror = _dereq_(164);
4549 +var keyOf = _dereq_(165);
4550 +var warning = _dereq_(171);
4551
4552 var MIXINS_KEY = keyOf({ mixins: null });
4553
@@ -5360,7 +5246,7 @@ var ReactClass = {
5246 };
5247
5248 module.exports = ReactClass;
5363 -},{"137":137,"152":152,"159":159,"162":162,"163":163,"169":169,"170":170,"31":31,"61":61,"80":80,"82":82,"83":83}],31:[function(_dereq_,module,exports){
5249 +},{"139":139,"154":154,"161":161,"164":164,"165":165,"171":171,"172":172,"31":31,"62":62,"81":81,"83":83,"84":84}],31:[function(_dereq_,module,exports){
5250 /**
5251 * Copyright 2013-present, Facebook, Inc.
5252 * All rights reserved.
@@ -5374,14 +5260,14 @@ module.exports = ReactClass;
5260
5261 'use strict';
5262
5377 -var _prodInvariant = _dereq_(137);
5263 +var _prodInvariant = _dereq_(139);
5264
5379 -var ReactNoopUpdateQueue = _dereq_(80);
5265 +var ReactNoopUpdateQueue = _dereq_(81);
5266
5381 -var canDefineProperty = _dereq_(115);
5382 -var emptyObject = _dereq_(152);
5383 -var invariant = _dereq_(159);
5384 -var warning = _dereq_(169);
5267 +var canDefineProperty = _dereq_(117);
5268 +var emptyObject = _dereq_(154);
5269 +var invariant = _dereq_(161);
5270 +var warning = _dereq_(171);
5271
5272 /**
5273 * Base class helpers for the updating state of a component.
@@ -5479,7 +5365,7 @@ if ("development" !== 'production') {
5365 }
5366
5367 module.exports = ReactComponent;
5482 -},{"115":115,"137":137,"152":152,"159":159,"169":169,"80":80}],32:[function(_dereq_,module,exports){
5368 +},{"117":117,"139":139,"154":154,"161":161,"171":171,"81":81}],32:[function(_dereq_,module,exports){
5369 /**
5370 * Copyright 2013-present, Facebook, Inc.
5371 * All rights reserved.
@@ -5533,9 +5419,9 @@ module.exports = ReactComponentBrowserEnvironment;
5419
5420 'use strict';
5421
5536 -var _prodInvariant = _dereq_(137);
5422 +var _prodInvariant = _dereq_(139);
5423
5538 -var invariant = _dereq_(159);
5424 +var invariant = _dereq_(161);
5425
5426 var injected = false;
5427
@@ -5573,7 +5459,7 @@ var ReactComponentEnvironment = {
5459 };
5460
5461 module.exports = ReactComponentEnvironment;
5576 -},{"137":137,"159":159}],34:[function(_dereq_,module,exports){
5462 +},{"139":139,"161":161}],34:[function(_dereq_,module,exports){
5463 /**
5464 * Copyright 2016-present, Facebook, Inc.
5465 * All rights reserved.
@@ -5587,12 +5473,12 @@ module.exports = ReactComponentEnvironment;
5473
5474 'use strict';
5475
5590 -var _prodInvariant = _dereq_(137);
5476 +var _prodInvariant = _dereq_(139);
5477
5478 var ReactCurrentOwner = _dereq_(36);
5479
5594 -var invariant = _dereq_(159);
5595 -var warning = _dereq_(169);
5480 +var invariant = _dereq_(161);
5481 +var warning = _dereq_(171);
5482
5483 var tree = {};
5484 var unmountedIDs = {};
@@ -5610,10 +5496,6 @@ function updateTree(id, update) {
5496 isMounted: false,
5497 updateCount: 0
5498 };
5613 - // TODO: We need to do this awkward dance because TopLevelWrapper "never
5614 - // gets mounted" but its display name gets set in instantiateReactComponent
5615 - // before its debug ID is set to 0.
5616 - unmountedIDs[id] = true;
5499 }
5500 update(tree[id]);
5501 }
@@ -5699,7 +5581,6 @@ var ReactComponentTreeDevtool = {
5581 updateTree(id, function (item) {
5582 return item.isMounted = true;
5583 });
5702 - delete unmountedIDs[id];
5584 },
5585 onMountRootComponent: function (id) {
5586 rootIDs[id] = true;
@@ -5797,7 +5678,7 @@ var ReactComponentTreeDevtool = {
5678 };
5679
5680 module.exports = ReactComponentTreeDevtool;
5800 -},{"137":137,"159":159,"169":169,"36":36}],35:[function(_dereq_,module,exports){
5681 +},{"139":139,"161":161,"171":171,"36":36}],35:[function(_dereq_,module,exports){
5682 /**
5683 * Copyright 2013-present, Facebook, Inc.
5684 * All rights reserved.
@@ -5811,26 +5692,25 @@ module.exports = ReactComponentTreeDevtool;
5692
5693 'use strict';
5694
5814 -var _prodInvariant = _dereq_(137),
5815 - _assign = _dereq_(170);
5695 +var _prodInvariant = _dereq_(139),
5696 + _assign = _dereq_(172);
5697
5698 var ReactComponentEnvironment = _dereq_(33);
5699 var ReactCurrentOwner = _dereq_(36);
5819 -var ReactElement = _dereq_(61);
5820 -var ReactErrorUtils = _dereq_(64);
5821 -var ReactInstanceMap = _dereq_(72);
5822 -var ReactInstrumentation = _dereq_(73);
5823 -var ReactNodeTypes = _dereq_(79);
5824 -var ReactPropTypeLocations = _dereq_(83);
5825 -var ReactReconciler = _dereq_(86);
5826 -var ReactUpdateQueue = _dereq_(92);
5827 -
5828 -var checkReactTypeSpec = _dereq_(116);
5829 -
5830 -var emptyObject = _dereq_(152);
5831 -var invariant = _dereq_(159);
5832 -var shouldUpdateReactComponent = _dereq_(141);
5833 -var warning = _dereq_(169);
5700 +var ReactElement = _dereq_(62);
5701 +var ReactErrorUtils = _dereq_(65);
5702 +var ReactInstanceMap = _dereq_(73);
5703 +var ReactInstrumentation = _dereq_(74);
5704 +var ReactNodeTypes = _dereq_(80);
5705 +var ReactPropTypeLocations = _dereq_(84);
5706 +var ReactReconciler = _dereq_(87);
5707 +
5708 +var checkReactTypeSpec = _dereq_(118);
5709 +
5710 +var emptyObject = _dereq_(154);
5711 +var invariant = _dereq_(161);
5712 +var shouldUpdateReactComponent = _dereq_(143);
5713 +var warning = _dereq_(171);
5714
5715 function StatelessComponent(Component) {}
5716 StatelessComponent.prototype.render = function () {
@@ -5973,8 +5853,10 @@ var ReactCompositeComponentMixin = {
5853
5854 var Component = this._currentElement.type;
5855
5856 + var updateQueue = transaction.getUpdateQueue();
5857 +
5858 // Initialize the public class
5977 - var inst = this._constructComponent(publicProps, publicContext);
5859 + var inst = this._constructComponent(publicProps, publicContext, updateQueue);
5860 var renderedElement;
5861
5862 // Support functional components
@@ -6003,7 +5885,7 @@ var ReactCompositeComponentMixin = {
5885 inst.props = publicProps;
5886 inst.context = publicContext;
5887 inst.refs = emptyObject;
6006 - inst.updater = ReactUpdateQueue;
5888 + inst.updater = updateQueue;
5889
5890 this._instance = inst;
5891
@@ -6051,20 +5933,20 @@ var ReactCompositeComponentMixin = {
5933 return markup;
5934 },
5935
6054 - _constructComponent: function (publicProps, publicContext) {
5936 + _constructComponent: function (publicProps, publicContext, updateQueue) {
5937 if ("development" !== 'production') {
5938 ReactCurrentOwner.current = this;
5939 try {
6058 - return this._constructComponentWithoutOwner(publicProps, publicContext);
5940 + return this._constructComponentWithoutOwner(publicProps, publicContext, updateQueue);
5941 } finally {
5942 ReactCurrentOwner.current = null;
5943 }
5944 } else {
6063 - return this._constructComponentWithoutOwner(publicProps, publicContext);
5945 + return this._constructComponentWithoutOwner(publicProps, publicContext, updateQueue);
5946 }
5947 },
5948
6067 - _constructComponentWithoutOwner: function (publicProps, publicContext) {
5949 + _constructComponentWithoutOwner: function (publicProps, publicContext, updateQueue) {
5950 var Component = this._currentElement.type;
5951 var instanceOrElement;
5952 if (shouldConstruct(Component)) {
@@ -6073,7 +5955,7 @@ var ReactCompositeComponentMixin = {
5955 ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'ctor');
5956 }
5957 }
6076 - instanceOrElement = new Component(publicProps, publicContext, ReactUpdateQueue);
5958 + instanceOrElement = new Component(publicProps, publicContext, updateQueue);
5959 if ("development" !== 'production') {
5960 if (this._debugID !== 0) {
5961 ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'ctor');
@@ -6087,7 +5969,7 @@ var ReactCompositeComponentMixin = {
5969 ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'render');
5970 }
5971 }
6090 - instanceOrElement = Component(publicProps, publicContext, ReactUpdateQueue);
5972 + instanceOrElement = Component(publicProps, publicContext, updateQueue);
5973 if ("development" !== 'production') {
5974 if (this._debugID !== 0) {
5975 ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'render');
@@ -6103,6 +5985,11 @@ var ReactCompositeComponentMixin = {
5985 try {
5986 markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);
5987 } catch (e) {
5988 + if ("development" !== 'production') {
5989 + if (this._debugID !== 0) {
5990 + ReactInstrumentation.debugTool.onError();
5991 + }
5992 + }
5993 // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint
5994 transaction.rollback(checkpoint);
5995 this._instance.unstable_handleError(e);
@@ -6147,8 +6034,10 @@ var ReactCompositeComponentMixin = {
6034 renderedElement = this._renderValidatedComponent();
6035 }
6036
6150 - this._renderedNodeType = ReactNodeTypes.getType(renderedElement);
6151 - var child = this._instantiateReactComponent(renderedElement);
6037 + var nodeType = ReactNodeTypes.getType(renderedElement);
6038 + this._renderedNodeType = nodeType;
6039 + var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
6040 + );
6041 this._renderedComponent = child;
6042 if ("development" !== 'production') {
6043 if (child._debugID !== 0 && this._debugID !== 0) {
@@ -6531,8 +6420,10 @@ var ReactCompositeComponentMixin = {
6420 var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);
6421 ReactReconciler.unmountComponent(prevComponentInstance, false);
6422
6534 - this._renderedNodeType = ReactNodeTypes.getType(nextRenderedElement);
6535 - var child = this._instantiateReactComponent(nextRenderedElement);
6423 + var nodeType = ReactNodeTypes.getType(nextRenderedElement);
6424 + this._renderedNodeType = nodeType;
6425 + var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
6426 + );
6427 this._renderedComponent = child;
6428 if ("development" !== 'production') {
6429 if (child._debugID !== 0 && this._debugID !== 0) {
@@ -6681,7 +6572,7 @@ var ReactCompositeComponent = {
6572 };
6573
6574 module.exports = ReactCompositeComponent;
6684 -},{"116":116,"137":137,"141":141,"152":152,"159":159,"169":169,"170":170,"33":33,"36":36,"61":61,"64":64,"72":72,"73":73,"79":79,"83":83,"86":86,"92":92}],36:[function(_dereq_,module,exports){
6575 +},{"118":118,"139":139,"143":143,"154":154,"161":161,"171":171,"172":172,"33":33,"36":36,"62":62,"65":65,"73":73,"74":74,"80":80,"84":84,"87":87}],36:[function(_dereq_,module,exports){
6576 /**
6577 * Copyright 2013-present, Facebook, Inc.
6578 * All rights reserved.
@@ -6730,16 +6621,16 @@ module.exports = ReactCurrentOwner;
6621 'use strict';
6622
6623 var ReactDOMComponentTree = _dereq_(41);
6733 -var ReactDefaultInjection = _dereq_(60);
6734 -var ReactMount = _dereq_(76);
6735 -var ReactReconciler = _dereq_(86);
6736 -var ReactUpdates = _dereq_(93);
6737 -var ReactVersion = _dereq_(94);
6624 +var ReactDefaultInjection = _dereq_(61);
6625 +var ReactMount = _dereq_(77);
6626 +var ReactReconciler = _dereq_(87);
6627 +var ReactUpdates = _dereq_(95);
6628 +var ReactVersion = _dereq_(96);
6629
6739 -var findDOMNode = _dereq_(120);
6740 -var getHostComponentFromComposite = _dereq_(127);
6741 -var renderSubtreeIntoContainer = _dereq_(138);
6742 -var warning = _dereq_(169);
6630 +var findDOMNode = _dereq_(122);
6631 +var getHostComponentFromComposite = _dereq_(129);
6632 +var renderSubtreeIntoContainer = _dereq_(140);
6633 +var warning = _dereq_(171);
6634
6635 ReactDefaultInjection.inject();
6636
@@ -6779,7 +6670,7 @@ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVT
6670 }
6671
6672 if ("development" !== 'production') {
6782 - var ExecutionEnvironment = _dereq_(145);
6673 + var ExecutionEnvironment = _dereq_(147);
6674 if (ExecutionEnvironment.canUseDOM && window.top === window.self) {
6675
6676 // First check if devtools is not installed
@@ -6815,7 +6706,7 @@ if ("development" !== 'production') {
6706 }
6707
6708 module.exports = React;
6818 -},{"120":120,"127":127,"138":138,"145":145,"169":169,"41":41,"60":60,"76":76,"86":86,"93":93,"94":94}],38:[function(_dereq_,module,exports){
6709 +},{"122":122,"129":129,"140":140,"147":147,"171":171,"41":41,"61":61,"77":77,"87":87,"95":95,"96":96}],38:[function(_dereq_,module,exports){
6710 /**
6711 * Copyright 2013-present, Facebook, Inc.
6712 * All rights reserved.
@@ -6856,8 +6747,8 @@ module.exports = ReactDOMButton;
6747
6748 'use strict';
6749
6859 -var _prodInvariant = _dereq_(137),
6860 - _assign = _dereq_(170);
6750 +var _prodInvariant = _dereq_(139),
6751 + _assign = _dereq_(172);
6752
6753 var AutoFocusUtils = _dereq_(1);
6754 var CSSPropertyOperations = _dereq_(4);
@@ -6874,21 +6765,21 @@ var ReactDOMButton = _dereq_(38);
6765 var ReactDOMComponentFlags = _dereq_(40);
6766 var ReactDOMComponentTree = _dereq_(41);
6767 var ReactDOMInput = _dereq_(48);
6877 -var ReactDOMOption = _dereq_(50);
6878 -var ReactDOMSelect = _dereq_(51);
6879 -var ReactDOMTextarea = _dereq_(55);
6880 -var ReactInstrumentation = _dereq_(73);
6881 -var ReactMultiChild = _dereq_(77);
6882 -var ReactServerRenderingTransaction = _dereq_(90);
6883 -
6884 -var emptyFunction = _dereq_(151);
6885 -var escapeTextContentForBrowser = _dereq_(119);
6886 -var invariant = _dereq_(159);
6887 -var isEventSupported = _dereq_(133);
6888 -var keyOf = _dereq_(163);
6889 -var shallowEqual = _dereq_(168);
6890 -var validateDOMNesting = _dereq_(143);
6891 -var warning = _dereq_(169);
6768 +var ReactDOMOption = _dereq_(51);
6769 +var ReactDOMSelect = _dereq_(52);
6770 +var ReactDOMTextarea = _dereq_(56);
6771 +var ReactInstrumentation = _dereq_(74);
6772 +var ReactMultiChild = _dereq_(78);
6773 +var ReactServerRenderingTransaction = _dereq_(91);
6774 +
6775 +var emptyFunction = _dereq_(153);
6776 +var escapeTextContentForBrowser = _dereq_(121);
6777 +var invariant = _dereq_(161);
6778 +var isEventSupported = _dereq_(135);
6779 +var keyOf = _dereq_(165);
6780 +var shallowEqual = _dereq_(170);
6781 +var validateDOMNesting = _dereq_(145);
6782 +var warning = _dereq_(171);
6783
6784 var Flags = ReactDOMComponentFlags;
6785 var deleteListener = EventPluginHub.deleteListener;
@@ -6985,7 +6876,7 @@ function assertValidProps(component, props) {
6876 }
6877 // Note the use of `==` which checks for null or undefined.
6878 if (voidElementTags[component._tag]) {
6988 - !(props.children == null && props.dangerouslySetInnerHTML == null) ? "development" !== 'production' ? invariant(false, '%s is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('59', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;
6879 + !(props.children == null && props.dangerouslySetInnerHTML == null) ? "development" !== 'production' ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;
6880 }
6881 if (props.dangerouslySetInnerHTML != null) {
6882 !(props.children == null) ? "development" !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;
@@ -7844,7 +7735,7 @@ ReactDOMComponent.Mixin = {
7735 _assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);
7736
7737 module.exports = ReactDOMComponent;
7847 -},{"1":1,"10":10,"11":11,"119":119,"133":133,"137":137,"143":143,"151":151,"159":159,"16":16,"163":163,"168":168,"169":169,"17":17,"170":170,"18":18,"27":27,"32":32,"38":38,"4":4,"40":40,"41":41,"48":48,"50":50,"51":51,"55":55,"73":73,"77":77,"8":8,"9":9,"90":90}],40:[function(_dereq_,module,exports){
7738 +},{"1":1,"10":10,"11":11,"121":121,"135":135,"139":139,"145":145,"153":153,"16":16,"161":161,"165":165,"17":17,"170":170,"171":171,"172":172,"18":18,"27":27,"32":32,"38":38,"4":4,"40":40,"41":41,"48":48,"51":51,"52":52,"56":56,"74":74,"78":78,"8":8,"9":9,"91":91}],40:[function(_dereq_,module,exports){
7739 /**
7740 * Copyright 2015-present, Facebook, Inc.
7741 * All rights reserved.
@@ -7877,12 +7768,12 @@ module.exports = ReactDOMComponentFlags;
7768
7769 'use strict';
7770
7880 -var _prodInvariant = _dereq_(137);
7771 +var _prodInvariant = _dereq_(139);
7772
7773 var DOMProperty = _dereq_(10);
7774 var ReactDOMComponentFlags = _dereq_(40);
7775
7885 -var invariant = _dereq_(159);
7776 +var invariant = _dereq_(161);
7777
7778 var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;
7779 var Flags = ReactDOMComponentFlags;
@@ -8052,7 +7943,7 @@ var ReactDOMComponentTree = {
7943 };
7944
7945 module.exports = ReactDOMComponentTree;
8055 -},{"10":10,"137":137,"159":159,"40":40}],42:[function(_dereq_,module,exports){
7946 +},{"10":10,"139":139,"161":161,"40":40}],42:[function(_dereq_,module,exports){
7947 /**
7948 * Copyright 2013-present, Facebook, Inc.
7949 * All rights reserved.
@@ -8066,7 +7957,7 @@ module.exports = ReactDOMComponentTree;
7957
7958 'use strict';
7959
8069 -var validateDOMNesting = _dereq_(143);
7960 +var validateDOMNesting = _dereq_(145);
7961
7962 var DOC_NODE_TYPE = 9;
7963
@@ -8086,7 +7977,7 @@ function ReactDOMContainerInfo(topLevelWrapper, node) {
7977 }
7978
7979 module.exports = ReactDOMContainerInfo;
8089 -},{"143":143}],43:[function(_dereq_,module,exports){
7980 +},{"145":145}],43:[function(_dereq_,module,exports){
7981 /**
7982 * Copyright 2013-present, Facebook, Inc.
7983 * All rights reserved.
@@ -8100,27 +7991,26 @@ module.exports = ReactDOMContainerInfo;
7991
7992 'use strict';
7993
8103 -var ReactDOMUnknownPropertyDevtool = _dereq_(57);
8104 -var ReactDebugTool = _dereq_(58);
7994 +var ReactDOMNullInputValuePropDevtool = _dereq_(50);
7995 +var ReactDOMUnknownPropertyDevtool = _dereq_(58);
7996 +var ReactDebugTool = _dereq_(59);
7997
8106 -var warning = _dereq_(169);
7998 +var warning = _dereq_(171);
7999
8000 var eventHandlers = [];
8001 var handlerDoesThrowForEvent = {};
8002
8003 function emitEvent(handlerFunctionName, arg1, arg2, arg3, arg4, arg5) {
8112 - if ("development" !== 'production') {
8113 - eventHandlers.forEach(function (handler) {
8114 - try {
8115 - if (handler[handlerFunctionName]) {
8116 - handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
8117 - }
8118 - } catch (e) {
8119 - "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
8120 - handlerDoesThrowForEvent[handlerFunctionName] = true;
8004 + eventHandlers.forEach(function (handler) {
8005 + try {
8006 + if (handler[handlerFunctionName]) {
8007 + handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
8008 }
8122 - });
8123 - }
8009 + } catch (e) {
8010 + "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
8011 + handlerDoesThrowForEvent[handlerFunctionName] = true;
8012 + }
8013 + });
8014 }
8015
8016 var ReactDOMDebugTool = {
@@ -8152,9 +8042,10 @@ var ReactDOMDebugTool = {
8042 };
8043
8044 ReactDOMDebugTool.addDevtool(ReactDOMUnknownPropertyDevtool);
8045 +ReactDOMDebugTool.addDevtool(ReactDOMNullInputValuePropDevtool);
8046
8047 module.exports = ReactDOMDebugTool;
8157 -},{"169":169,"57":57,"58":58}],44:[function(_dereq_,module,exports){
8048 +},{"171":171,"50":50,"58":58,"59":59}],44:[function(_dereq_,module,exports){
8049 /**
8050 * Copyright 2014-present, Facebook, Inc.
8051 * All rights reserved.
@@ -8168,7 +8059,7 @@ module.exports = ReactDOMDebugTool;
8059
8060 'use strict';
8061
8171 -var _assign = _dereq_(170);
8062 +var _assign = _dereq_(172);
8063
8064 var DOMLazyTree = _dereq_(8);
8065 var ReactDOMComponentTree = _dereq_(41);
@@ -8215,7 +8106,7 @@ _assign(ReactDOMEmptyComponent.prototype, {
8106 });
8107
8108 module.exports = ReactDOMEmptyComponent;
8218 -},{"170":170,"41":41,"8":8}],45:[function(_dereq_,module,exports){
8109 +},{"172":172,"41":41,"8":8}],45:[function(_dereq_,module,exports){
8110 /**
8111 * Copyright 2013-present, Facebook, Inc.
8112 * All rights reserved.
@@ -8229,9 +8120,9 @@ module.exports = ReactDOMEmptyComponent;
8120
8121 'use strict';
8122
8232 -var ReactElement = _dereq_(61);
8123 +var ReactElement = _dereq_(62);
8124
8234 -var mapObject = _dereq_(164);
8125 +var mapObject = _dereq_(166);
8126
8127 /**
8128 * Create a factory that creates HTML tag elements.
@@ -8241,7 +8132,7 @@ var mapObject = _dereq_(164);
8132 */
8133 function createDOMFactory(tag) {
8134 if ("development" !== 'production') {
8244 - var ReactElementValidator = _dereq_(62);
8135 + var ReactElementValidator = _dereq_(63);
8136 return ReactElementValidator.createFactory(tag);
8137 }
8138 return ReactElement.createFactory(tag);
@@ -8392,7 +8283,7 @@ var ReactDOMFactories = mapObject({
8283 }, createDOMFactory);
8284
8285 module.exports = ReactDOMFactories;
8395 -},{"164":164,"61":61,"62":62}],46:[function(_dereq_,module,exports){
8286 +},{"166":166,"62":62,"63":63}],46:[function(_dereq_,module,exports){
8287 /**
8288 * Copyright 2013-present, Facebook, Inc.
8289 * All rights reserved.
@@ -8460,21 +8351,20 @@ module.exports = ReactDOMIDOperations;
8351
8352 'use strict';
8353
8463 -var _prodInvariant = _dereq_(137),
8464 - _assign = _dereq_(170);
8354 +var _prodInvariant = _dereq_(139),
8355 + _assign = _dereq_(172);
8356
8357 var DisabledInputUtils = _dereq_(14);
8358 var DOMPropertyOperations = _dereq_(11);
8359 var LinkedValueUtils = _dereq_(24);
8360 var ReactDOMComponentTree = _dereq_(41);
8470 -var ReactUpdates = _dereq_(93);
8361 +var ReactUpdates = _dereq_(95);
8362
8472 -var invariant = _dereq_(159);
8473 -var warning = _dereq_(169);
8363 +var invariant = _dereq_(161);
8364 +var warning = _dereq_(171);
8365
8366 var didWarnValueLink = false;
8367 var didWarnCheckedLink = false;
8477 -var didWarnValueNull = false;
8368 var didWarnValueDefaultValue = false;
8369 var didWarnCheckedDefaultChecked = false;
8370 var didWarnControlledToUncontrolled = false;
@@ -8487,14 +8377,6 @@ function forceUpdateIfMounted() {
8377 }
8378 }
8379
8490 -function warnIfValueIsNull(props) {
8491 - if (props != null && props.value === null && !didWarnValueNull) {
8492 - "development" !== 'production' ? warning(false, '`value` prop on `input` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.') : void 0;
8493 -
8494 - didWarnValueNull = true;
8495 - }
8496 -}
8497 -
8380 function isControlled(props) {
8381 var usesChecked = props.type === 'checkbox' || props.type === 'radio';
8382 return usesChecked ? props.checked !== undefined : props.value !== undefined;
@@ -8558,7 +8440,6 @@ var ReactDOMInput = {
8440 "development" !== 'production' ? warning(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;
8441 didWarnValueDefaultValue = true;
8442 }
8561 - warnIfValueIsNull(props);
8443 }
8444
8445 var defaultValue = props.defaultValue;
@@ -8578,8 +8459,6 @@ var ReactDOMInput = {
8459 var props = inst._currentElement.props;
8460
8461 if ("development" !== 'production') {
8581 - warnIfValueIsNull(props);
8582 -
8462 var controlled = isControlled(props);
8463 var owner = inst._currentElement._owner;
8464
@@ -8622,10 +8501,20 @@ var ReactDOMInput = {
8501 },
8502
8503 postMountWrapper: function (inst) {
8504 + var props = inst._currentElement.props;
8505 +
8506 // This is in postMount because we need access to the DOM node, which is not
8507 // available until after the component has mounted.
8508 var node = ReactDOMComponentTree.getNodeFromInstance(inst);
8628 - node.value = node.value; // Detach value from defaultValue
8509 +
8510 + // Detach value from defaultValue. We won't do anything if we're working on
8511 + // submit or reset inputs as those values & defaultValues are linked. They
8512 + // are not resetable nodes so this operation doesn't matter and actually
8513 + // removes browser-default values (eg "Submit Query") when no value is
8514 + // provided.
8515 + if (props.type !== 'submit' && props.type !== 'reset') {
8516 + node.value = node.value;
8517 + }
8518
8519 // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
8520 // this is needed to work around a chrome bug where setting defaultChecked
@@ -8633,10 +8522,14 @@ var ReactDOMInput = {
8522 // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
8523 // We need to temporarily unset name to avoid disrupting radio button groups.
8524 var name = node.name;
8636 - node.name = undefined;
8525 + if (name !== '') {
8526 + node.name = '';
8527 + }
8528 node.defaultChecked = !node.defaultChecked;
8529 node.defaultChecked = !node.defaultChecked;
8639 - node.name = name;
8530 + if (name !== '') {
8531 + node.name = name;
8532 + }
8533 }
8534 };
8535
@@ -8689,7 +8582,7 @@ function _handleChange(event) {
8582 }
8583
8584 module.exports = ReactDOMInput;
8692 -},{"11":11,"137":137,"14":14,"159":159,"169":169,"170":170,"24":24,"41":41,"93":93}],49:[function(_dereq_,module,exports){
8585 +},{"11":11,"139":139,"14":14,"161":161,"171":171,"172":172,"24":24,"41":41,"95":95}],49:[function(_dereq_,module,exports){
8586 /**
8587 * Copyright 2013-present, Facebook, Inc.
8588 * All rights reserved.
@@ -8703,10 +8596,59 @@ module.exports = ReactDOMInput;
8596
8597 'use strict';
8598
8706 -var ReactDOMDebugTool = _dereq_(43);
8599 +var debugTool = null;
8600 +
8601 +if ("development" !== 'production') {
8602 + var ReactDOMDebugTool = _dereq_(43);
8603 + debugTool = ReactDOMDebugTool;
8604 +}
8605
8708 -module.exports = { debugTool: ReactDOMDebugTool };
8606 +module.exports = { debugTool: debugTool };
8607 },{"43":43}],50:[function(_dereq_,module,exports){
8608 +/**
8609 + * Copyright 2013-present, Facebook, Inc.
8610 + * All rights reserved.
8611 + *
8612 + * This source code is licensed under the BSD-style license found in the
8613 + * LICENSE file in the root directory of this source tree. An additional grant
8614 + * of patent rights can be found in the PATENTS file in the same directory.
8615 + *
8616 + * @providesModule ReactDOMNullInputValuePropDevtool
8617 + */
8618 +
8619 +'use strict';
8620 +
8621 +var ReactComponentTreeDevtool = _dereq_(34);
8622 +
8623 +var warning = _dereq_(171);
8624 +
8625 +var didWarnValueNull = false;
8626 +
8627 +function handleElement(debugID, element) {
8628 + if (element == null) {
8629 + return;
8630 + }
8631 + if (element.type !== 'input' && element.type !== 'textarea' && element.type !== 'select') {
8632 + return;
8633 + }
8634 + if (element.props != null && element.props.value === null && !didWarnValueNull) {
8635 + "development" !== 'production' ? warning(false, '`value` prop on `%s` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.%s', element.type, ReactComponentTreeDevtool.getStackAddendumByID(debugID)) : void 0;
8636 +
8637 + didWarnValueNull = true;
8638 + }
8639 +}
8640 +
8641 +var ReactDOMUnknownPropertyDevtool = {
8642 + onBeforeMountComponent: function (debugID, element) {
8643 + handleElement(debugID, element);
8644 + },
8645 + onBeforeUpdateComponent: function (debugID, element) {
8646 + handleElement(debugID, element);
8647 + }
8648 +};
8649 +
8650 +module.exports = ReactDOMUnknownPropertyDevtool;
8651 +},{"171":171,"34":34}],51:[function(_dereq_,module,exports){
8652 /**
8653 * Copyright 2013-present, Facebook, Inc.
8654 * All rights reserved.
@@ -8720,13 +8662,13 @@ module.exports = { debugTool: ReactDOMDebugTool };
8662
8663 'use strict';
8664
8723 -var _assign = _dereq_(170);
8665 +var _assign = _dereq_(172);
8666
8667 var ReactChildren = _dereq_(29);
8668 var ReactDOMComponentTree = _dereq_(41);
8727 -var ReactDOMSelect = _dereq_(51);
8669 +var ReactDOMSelect = _dereq_(52);
8670
8729 -var warning = _dereq_(169);
8671 +var warning = _dereq_(171);
8672 var didWarnInvalidOptionChildren = false;
8673
8674 function flattenChildren(children) {
@@ -8830,7 +8772,7 @@ var ReactDOMOption = {
8772 };
8773
8774 module.exports = ReactDOMOption;
8833 -},{"169":169,"170":170,"29":29,"41":41,"51":51}],51:[function(_dereq_,module,exports){
8775 +},{"171":171,"172":172,"29":29,"41":41,"52":52}],52:[function(_dereq_,module,exports){
8776 /**
8777 * Copyright 2013-present, Facebook, Inc.
8778 * All rights reserved.
@@ -8844,17 +8786,16 @@ module.exports = ReactDOMOption;
8786
8787 'use strict';
8788
8847 -var _assign = _dereq_(170);
8789 +var _assign = _dereq_(172);
8790
8791 var DisabledInputUtils = _dereq_(14);
8792 var LinkedValueUtils = _dereq_(24);
8793 var ReactDOMComponentTree = _dereq_(41);
8852 -var ReactUpdates = _dereq_(93);
8794 +var ReactUpdates = _dereq_(95);
8795
8854 -var warning = _dereq_(169);
8796 +var warning = _dereq_(171);
8797
8798 var didWarnValueLink = false;
8857 -var didWarnValueNull = false;
8799 var didWarnValueDefaultValue = false;
8800
8801 function updateOptionsIfPendingUpdateAndMounted() {
@@ -8880,14 +8821,6 @@ function getDeclarationErrorAddendum(owner) {
8821 return '';
8822 }
8823
8883 -function warnIfValueIsNull(props) {
8884 - if (props != null && props.value === null && !didWarnValueNull) {
8885 - "development" !== 'production' ? warning(false, '`value` prop on `select` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.') : void 0;
8886 -
8887 - didWarnValueNull = true;
8888 - }
8889 -}
8890 -
8824 var valuePropNames = ['value', 'defaultValue'];
8825
8826 /**
@@ -8979,7 +8912,6 @@ var ReactDOMSelect = {
8912 mountWrapper: function (inst, props) {
8913 if ("development" !== 'production') {
8914 checkSelectPropTypes(inst, props);
8982 - warnIfValueIsNull(props);
8915 }
8916
8917 var value = LinkedValueUtils.getValue(props);
@@ -9005,9 +8937,6 @@ var ReactDOMSelect = {
8937
8938 postUpdateWrapper: function (inst) {
8939 var props = inst._currentElement.props;
9008 - if ("development" !== 'production') {
9009 - warnIfValueIsNull(props);
9010 - }
8940
8941 // After the initial mount, we control selected-ness manually so don't pass
8942 // this value down
@@ -9044,7 +8973,7 @@ function _handleChange(event) {
8973 }
8974
8975 module.exports = ReactDOMSelect;
9047 -},{"14":14,"169":169,"170":170,"24":24,"41":41,"93":93}],52:[function(_dereq_,module,exports){
8976 +},{"14":14,"171":171,"172":172,"24":24,"41":41,"95":95}],53:[function(_dereq_,module,exports){
8977 /**
8978 * Copyright 2013-present, Facebook, Inc.
8979 * All rights reserved.
@@ -9058,10 +8987,10 @@ module.exports = ReactDOMSelect;
8987
8988 'use strict';
8989
9061 -var ExecutionEnvironment = _dereq_(145);
8990 +var ExecutionEnvironment = _dereq_(147);
8991
9063 -var getNodeForCharacterOffset = _dereq_(129);
9064 -var getTextContentAccessor = _dereq_(130);
8992 +var getNodeForCharacterOffset = _dereq_(131);
8993 +var getTextContentAccessor = _dereq_(132);
8994
8995 /**
8996 * While `isCollapsed` is available on the Selection object and `collapsed`
@@ -9257,7 +9186,7 @@ var ReactDOMSelection = {
9186 };
9187
9188 module.exports = ReactDOMSelection;
9260 -},{"129":129,"130":130,"145":145}],53:[function(_dereq_,module,exports){
9189 +},{"131":131,"132":132,"147":147}],54:[function(_dereq_,module,exports){
9190 /**
9191 * Copyright 2013-present, Facebook, Inc.
9192 * All rights reserved.
@@ -9271,9 +9200,9 @@ module.exports = ReactDOMSelection;
9200
9201 'use strict';
9202
9274 -var ReactDefaultInjection = _dereq_(60);
9275 -var ReactServerRendering = _dereq_(89);
9276 -var ReactVersion = _dereq_(94);
9203 +var ReactDefaultInjection = _dereq_(61);
9204 +var ReactServerRendering = _dereq_(90);
9205 +var ReactVersion = _dereq_(96);
9206
9207 ReactDefaultInjection.inject();
9208
@@ -9284,7 +9213,7 @@ var ReactDOMServer = {
9213 };
9214
9215 module.exports = ReactDOMServer;
9287 -},{"60":60,"89":89,"94":94}],54:[function(_dereq_,module,exports){
9216 +},{"61":61,"90":90,"96":96}],55:[function(_dereq_,module,exports){
9217 /**
9218 * Copyright 2013-present, Facebook, Inc.
9219 * All rights reserved.
@@ -9298,17 +9227,17 @@ module.exports = ReactDOMServer;
9227
9228 'use strict';
9229
9301 -var _prodInvariant = _dereq_(137),
9302 - _assign = _dereq_(170);
9230 +var _prodInvariant = _dereq_(139),
9231 + _assign = _dereq_(172);
9232
9233 var DOMChildrenOperations = _dereq_(7);
9234 var DOMLazyTree = _dereq_(8);
9235 var ReactDOMComponentTree = _dereq_(41);
9307 -var ReactInstrumentation = _dereq_(73);
9236 +var ReactInstrumentation = _dereq_(74);
9237
9309 -var escapeTextContentForBrowser = _dereq_(119);
9310 -var invariant = _dereq_(159);
9311 -var validateDOMNesting = _dereq_(143);
9238 +var escapeTextContentForBrowser = _dereq_(121);
9239 +var invariant = _dereq_(161);
9240 +var validateDOMNesting = _dereq_(145);
9241
9242 /**
9243 * Text nodes violate a couple assumptions that React makes about components:
@@ -9456,7 +9385,7 @@ _assign(ReactDOMTextComponent.prototype, {
9385 });
9386
9387 module.exports = ReactDOMTextComponent;
9459 -},{"119":119,"137":137,"143":143,"159":159,"170":170,"41":41,"7":7,"73":73,"8":8}],55:[function(_dereq_,module,exports){
9388 +},{"121":121,"139":139,"145":145,"161":161,"172":172,"41":41,"7":7,"74":74,"8":8}],56:[function(_dereq_,module,exports){
9389 /**
9390 * Copyright 2013-present, Facebook, Inc.
9391 * All rights reserved.
@@ -9470,19 +9399,18 @@ module.exports = ReactDOMTextComponent;
9399
9400 'use strict';
9401
9473 -var _prodInvariant = _dereq_(137),
9474 - _assign = _dereq_(170);
9402 +var _prodInvariant = _dereq_(139),
9403 + _assign = _dereq_(172);
9404
9405 var DisabledInputUtils = _dereq_(14);
9406 var LinkedValueUtils = _dereq_(24);
9407 var ReactDOMComponentTree = _dereq_(41);
9479 -var ReactUpdates = _dereq_(93);
9408 +var ReactUpdates = _dereq_(95);
9409
9481 -var invariant = _dereq_(159);
9482 -var warning = _dereq_(169);
9410 +var invariant = _dereq_(161);
9411 +var warning = _dereq_(171);
9412
9413 var didWarnValueLink = false;
9485 -var didWarnValueNull = false;
9414 var didWarnValDefaultVal = false;
9415
9416 function forceUpdateIfMounted() {
@@ -9492,14 +9420,6 @@ function forceUpdateIfMounted() {
9420 }
9421 }
9422
9495 -function warnIfValueIsNull(props) {
9496 - if (props != null && props.value === null && !didWarnValueNull) {
9497 - "development" !== 'production' ? warning(false, '`value` prop on `textarea` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.') : void 0;
9498 -
9499 - didWarnValueNull = true;
9500 - }
9501 -}
9502 -
9423 /**
9424 * Implements a <textarea> host component that allows setting `value`, and
9425 * `defaultValue`. This differs from the traditional DOM API because value is
@@ -9545,7 +9465,6 @@ var ReactDOMTextarea = {
9465 "development" !== 'production' ? warning(false, 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;
9466 didWarnValDefaultVal = true;
9467 }
9548 - warnIfValueIsNull(props);
9468 }
9469
9470 var value = LinkedValueUtils.getValue(props);
@@ -9584,10 +9503,6 @@ var ReactDOMTextarea = {
9503 updateWrapper: function (inst) {
9504 var props = inst._currentElement.props;
9505
9587 - if ("development" !== 'production') {
9588 - warnIfValueIsNull(props);
9589 - }
9590 -
9506 var node = ReactDOMComponentTree.getNodeFromInstance(inst);
9507 var value = LinkedValueUtils.getValue(props);
9508 if (value != null) {
@@ -9626,7 +9541,7 @@ function _handleChange(event) {
9541 }
9542
9543 module.exports = ReactDOMTextarea;
9629 -},{"137":137,"14":14,"159":159,"169":169,"170":170,"24":24,"41":41,"93":93}],56:[function(_dereq_,module,exports){
9544 +},{"139":139,"14":14,"161":161,"171":171,"172":172,"24":24,"41":41,"95":95}],57:[function(_dereq_,module,exports){
9545 /**
9546 * Copyright 2015-present, Facebook, Inc.
9547 * All rights reserved.
@@ -9640,9 +9555,9 @@ module.exports = ReactDOMTextarea;
9555
9556 'use strict';
9557
9643 -var _prodInvariant = _dereq_(137);
9558 +var _prodInvariant = _dereq_(139);
9559
9645 -var invariant = _dereq_(159);
9560 +var invariant = _dereq_(161);
9561
9562 /**
9563 * Return the lowest common ancestor of A and B, or null if they are in
@@ -9763,7 +9678,7 @@ module.exports = {
9678 traverseTwoPhase: traverseTwoPhase,
9679 traverseEnterLeave: traverseEnterLeave
9680 };
9766 -},{"137":137,"159":159}],57:[function(_dereq_,module,exports){
9681 +},{"139":139,"161":161}],58:[function(_dereq_,module,exports){
9682 /**
9683 * Copyright 2013-present, Facebook, Inc.
9684 * All rights reserved.
@@ -9781,7 +9696,7 @@ var DOMProperty = _dereq_(10);
9696 var EventPluginRegistry = _dereq_(18);
9697 var ReactComponentTreeDevtool = _dereq_(34);
9698
9784 -var warning = _dereq_(169);
9699 +var warning = _dereq_(171);
9700
9701 if ("development" !== 'production') {
9702 var reactProps = {
@@ -9876,7 +9791,7 @@ var ReactDOMUnknownPropertyDevtool = {
9791 };
9792
9793 module.exports = ReactDOMUnknownPropertyDevtool;
9879 -},{"10":10,"169":169,"18":18,"34":34}],58:[function(_dereq_,module,exports){
9794 +},{"10":10,"171":171,"18":18,"34":34}],59:[function(_dereq_,module,exports){
9795 /**
9796 * Copyright 2016-present, Facebook, Inc.
9797 * All rights reserved.
@@ -9890,27 +9805,28 @@ module.exports = ReactDOMUnknownPropertyDevtool;
9805
9806 'use strict';
9807
9893 -var ExecutionEnvironment = _dereq_(145);
9808 +var ReactInvalidSetStateWarningDevTool = _dereq_(75);
9809 +var ReactHostOperationHistoryDevtool = _dereq_(70);
9810 +var ReactComponentTreeDevtool = _dereq_(34);
9811 +var ExecutionEnvironment = _dereq_(147);
9812
9895 -var performanceNow = _dereq_(167);
9896 -var warning = _dereq_(169);
9813 +var performanceNow = _dereq_(169);
9814 +var warning = _dereq_(171);
9815
9816 var eventHandlers = [];
9817 var handlerDoesThrowForEvent = {};
9818
9819 function emitEvent(handlerFunctionName, arg1, arg2, arg3, arg4, arg5) {
9902 - if ("development" !== 'production') {
9903 - eventHandlers.forEach(function (handler) {
9904 - try {
9905 - if (handler[handlerFunctionName]) {
9906 - handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
9907 - }
9908 - } catch (e) {
9909 - "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
9910 - handlerDoesThrowForEvent[handlerFunctionName] = true;
9820 + eventHandlers.forEach(function (handler) {
9821 + try {
9822 + if (handler[handlerFunctionName]) {
9823 + handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
9824 }
9912 - });
9913 - }
9825 + } catch (e) {
9826 + "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
9827 + handlerDoesThrowForEvent[handlerFunctionName] = true;
9828 + }
9829 + });
9830 }
9831
9832 var isProfiling = false;
@@ -9947,32 +9863,30 @@ function getTreeSnapshot(registeredIDs) {
9863 }
9864
9865 function resetMeasurements() {
9950 - if ("development" !== 'production') {
9951 - var previousStartTime = currentFlushStartTime;
9952 - var previousMeasurements = currentFlushMeasurements || [];
9953 - var previousOperations = ReactHostOperationHistoryDevtool.getHistory();
9954 -
9955 - if (!isProfiling || currentFlushNesting === 0) {
9956 - currentFlushStartTime = null;
9957 - currentFlushMeasurements = null;
9958 - clearHistory();
9959 - return;
9960 - }
9961 -
9962 - if (previousMeasurements.length || previousOperations.length) {
9963 - var registeredIDs = ReactComponentTreeDevtool.getRegisteredIDs();
9964 - flushHistory.push({
9965 - duration: performanceNow() - previousStartTime,
9966 - measurements: previousMeasurements || [],
9967 - operations: previousOperations || [],
9968 - treeSnapshot: getTreeSnapshot(registeredIDs)
9969 - });
9970 - }
9866 + var previousStartTime = currentFlushStartTime;
9867 + var previousMeasurements = currentFlushMeasurements || [];
9868 + var previousOperations = ReactHostOperationHistoryDevtool.getHistory();
9869
9870 + if (currentFlushNesting === 0) {
9871 + currentFlushStartTime = null;
9872 + currentFlushMeasurements = null;
9873 clearHistory();
9973 - currentFlushStartTime = performanceNow();
9974 - currentFlushMeasurements = [];
9874 + return;
9875 + }
9876 +
9877 + if (previousMeasurements.length || previousOperations.length) {
9878 + var registeredIDs = ReactComponentTreeDevtool.getRegisteredIDs();
9879 + flushHistory.push({
9880 + duration: performanceNow() - previousStartTime,
9881 + measurements: previousMeasurements || [],
9882 + operations: previousOperations || [],
9883 + treeSnapshot: getTreeSnapshot(registeredIDs)
9884 + });
9885 }
9886 +
9887 + clearHistory();
9888 + currentFlushStartTime = performanceNow();
9889 + currentFlushMeasurements = [];
9890 }
9891
9892 function checkDebugID(debugID) {
@@ -9980,7 +9894,7 @@ function checkDebugID(debugID) {
9894 }
9895
9896 function beginLifeCycleTimer(debugID, timerType) {
9983 - if (!isProfiling || currentFlushNesting === 0) {
9897 + if (currentFlushNesting === 0) {
9898 return;
9899 }
9900 "development" !== 'production' ? warning(!currentTimerType, 'There is an internal error in the React performance measurement code. ' + 'Did not expect %s timer to start while %s timer is still in ' + 'progress for %s instance.', timerType, currentTimerType || 'no', debugID === currentTimerDebugID ? 'the same' : 'another') : void 0;
@@ -9991,15 +9905,17 @@ function beginLifeCycleTimer(debugID, timerType) {
9905 }
9906
9907 function endLifeCycleTimer(debugID, timerType) {
9994 - if (!isProfiling || currentFlushNesting === 0) {
9908 + if (currentFlushNesting === 0) {
9909 return;
9910 }
9911 "development" !== 'production' ? warning(currentTimerType === timerType, 'There is an internal error in the React performance measurement code. ' + 'We did not expect %s timer to stop while %s timer is still in ' + 'progress for %s instance. Please report this as a bug in React.', timerType, currentTimerType || 'no', debugID === currentTimerDebugID ? 'the same' : 'another') : void 0;
9998 - currentFlushMeasurements.push({
9999 - timerType: timerType,
10000 - instanceID: debugID,
10001 - duration: performanceNow() - currentTimerStartTime - currentTimerNestedFlushDuration
10002 - });
9912 + if (isProfiling) {
9913 + currentFlushMeasurements.push({
9914 + timerType: timerType,
9915 + instanceID: debugID,
9916 + duration: performanceNow() - currentTimerStartTime - currentTimerNestedFlushDuration
9917 + });
9918 + }
9919 currentTimerStartTime = null;
9920 currentTimerNestedFlushDuration = null;
9921 currentTimerDebugID = null;
@@ -10051,57 +9967,47 @@ var ReactDebugTool = {
9967 return isProfiling;
9968 },
9969 beginProfiling: function () {
10054 - if ("development" !== 'production') {
10055 - if (isProfiling) {
10056 - return;
10057 - }
10058 -
10059 - isProfiling = true;
10060 - flushHistory.length = 0;
10061 - resetMeasurements();
9970 + if (isProfiling) {
9971 + return;
9972 }
9973 +
9974 + isProfiling = true;
9975 + flushHistory.length = 0;
9976 + resetMeasurements();
9977 + ReactDebugTool.addDevtool(ReactHostOperationHistoryDevtool);
9978 },
9979 endProfiling: function () {
10065 - if ("development" !== 'production') {
10066 - if (!isProfiling) {
10067 - return;
10068 - }
10069 -
10070 - isProfiling = false;
10071 - resetMeasurements();
9980 + if (!isProfiling) {
9981 + return;
9982 }
9983 +
9984 + isProfiling = false;
9985 + resetMeasurements();
9986 + ReactDebugTool.removeDevtool(ReactHostOperationHistoryDevtool);
9987 },
9988 getFlushHistory: function () {
9989 return flushHistory;
9990 },
9991 onBeginFlush: function () {
10078 - if ("development" !== 'production') {
10079 - currentFlushNesting++;
10080 - resetMeasurements();
10081 - pauseCurrentLifeCycleTimer();
10082 - }
9992 + currentFlushNesting++;
9993 + resetMeasurements();
9994 + pauseCurrentLifeCycleTimer();
9995 emitEvent('onBeginFlush');
9996 },
9997 onEndFlush: function () {
10086 - if ("development" !== 'production') {
10087 - resetMeasurements();
10088 - currentFlushNesting--;
10089 - resumeCurrentLifeCycleTimer();
10090 - }
9998 + resetMeasurements();
9999 + currentFlushNesting--;
10000 + resumeCurrentLifeCycleTimer();
10001 emitEvent('onEndFlush');
10002 },
10003 onBeginLifeCycleTimer: function (debugID, timerType) {
10004 checkDebugID(debugID);
10005 emitEvent('onBeginLifeCycleTimer', debugID, timerType);
10096 - if ("development" !== 'production') {
10097 - beginLifeCycleTimer(debugID, timerType);
10098 - }
10006 + beginLifeCycleTimer(debugID, timerType);
10007 },
10008 onEndLifeCycleTimer: function (debugID, timerType) {
10009 checkDebugID(debugID);
10102 - if ("development" !== 'production') {
10103 - endLifeCycleTimer(debugID, timerType);
10104 - }
10010 + endLifeCycleTimer(debugID, timerType);
10011 emitEvent('onEndLifeCycleTimer', debugID, timerType);
10012 },
10013 onBeginReconcilerTimer: function (debugID, timerType) {
@@ -10112,6 +10018,12 @@ var ReactDebugTool = {
10018 checkDebugID(debugID);
10019 emitEvent('onEndReconcilerTimer', debugID, timerType);
10020 },
10021 + onError: function (debugID) {
10022 + if (currentTimerDebugID != null) {
10023 + endLifeCycleTimer(currentTimerDebugID, currentTimerType);
10024 + }
10025 + emitEvent('onError', debugID);
10026 + },
10027 onBeginProcessingChildContext: function () {
10028 emitEvent('onBeginProcessingChildContext');
10029 },
@@ -10131,6 +10043,7 @@ var ReactDebugTool = {
10043 },
10044 onSetChildren: function (debugID, childDebugIDs) {
10045 checkDebugID(debugID);
10046 + childDebugIDs.forEach(checkDebugID);
10047 emitEvent('onSetChildren', debugID, childDebugIDs);
10048 },
10049 onSetOwner: function (debugID, ownerDebugID) {
@@ -10174,21 +10087,15 @@ var ReactDebugTool = {
10087 }
10088 };
10089
10177 -if ("development" !== 'production') {
10178 - var ReactInvalidSetStateWarningDevTool = _dereq_(74);
10179 - var ReactHostOperationHistoryDevtool = _dereq_(69);
10180 - var ReactComponentTreeDevtool = _dereq_(34);
10181 - ReactDebugTool.addDevtool(ReactInvalidSetStateWarningDevTool);
10182 - ReactDebugTool.addDevtool(ReactComponentTreeDevtool);
10183 - ReactDebugTool.addDevtool(ReactHostOperationHistoryDevtool);
10184 - var url = ExecutionEnvironment.canUseDOM && window.location.href || '';
10185 - if (/[?&]react_perf\b/.test(url)) {
10186 - ReactDebugTool.beginProfiling();
10187 - }
10090 +ReactDebugTool.addDevtool(ReactInvalidSetStateWarningDevTool);
10091 +ReactDebugTool.addDevtool(ReactComponentTreeDevtool);
10092 +var url = ExecutionEnvironment.canUseDOM && window.location.href || '';
10093 +if (/[?&]react_perf\b/.test(url)) {
10094 + ReactDebugTool.beginProfiling();
10095 }
10096
10097 module.exports = ReactDebugTool;
10191 -},{"145":145,"167":167,"169":169,"34":34,"69":69,"74":74}],59:[function(_dereq_,module,exports){
10098 +},{"147":147,"169":169,"171":171,"34":34,"70":70,"75":75}],60:[function(_dereq_,module,exports){
10099 /**
10100 * Copyright 2013-present, Facebook, Inc.
10101 * All rights reserved.
@@ -10202,12 +10109,12 @@ module.exports = ReactDebugTool;
10109
10110 'use strict';
10111
10205 -var _assign = _dereq_(170);
10112 +var _assign = _dereq_(172);
10113
10207 -var ReactUpdates = _dereq_(93);
10208 -var Transaction = _dereq_(111);
10114 +var ReactUpdates = _dereq_(95);
10115 +var Transaction = _dereq_(113);
10116
10210 -var emptyFunction = _dereq_(151);
10117 +var emptyFunction = _dereq_(153);
10118
10119 var RESET_BATCHED_UPDATES = {
10120 initialize: emptyFunction,
@@ -10257,7 +10164,7 @@ var ReactDefaultBatchingStrategy = {
10164 };
10165
10166 module.exports = ReactDefaultBatchingStrategy;
10260 -},{"111":111,"151":151,"170":170,"93":93}],60:[function(_dereq_,module,exports){
10167 +},{"113":113,"153":153,"172":172,"95":95}],61:[function(_dereq_,module,exports){
10168 /**
10169 * Copyright 2013-present, Facebook, Inc.
10170 * All rights reserved.
@@ -10280,15 +10187,15 @@ var ReactComponentBrowserEnvironment = _dereq_(32);
10187 var ReactDOMComponent = _dereq_(39);
10188 var ReactDOMComponentTree = _dereq_(41);
10189 var ReactDOMEmptyComponent = _dereq_(44);
10283 -var ReactDOMTreeTraversal = _dereq_(56);
10284 -var ReactDOMTextComponent = _dereq_(54);
10285 -var ReactDefaultBatchingStrategy = _dereq_(59);
10286 -var ReactEventListener = _dereq_(66);
10287 -var ReactInjection = _dereq_(70);
10288 -var ReactReconcileTransaction = _dereq_(85);
10289 -var SVGDOMPropertyConfig = _dereq_(95);
10290 -var SelectEventPlugin = _dereq_(96);
10291 -var SimpleEventPlugin = _dereq_(97);
10190 +var ReactDOMTreeTraversal = _dereq_(57);
10191 +var ReactDOMTextComponent = _dereq_(55);
10192 +var ReactDefaultBatchingStrategy = _dereq_(60);
10193 +var ReactEventListener = _dereq_(67);
10194 +var ReactInjection = _dereq_(71);
10195 +var ReactReconcileTransaction = _dereq_(86);
10196 +var SVGDOMPropertyConfig = _dereq_(97);
10197 +var SelectEventPlugin = _dereq_(98);
10198 +var SimpleEventPlugin = _dereq_(99);
10199
10200 var alreadyInjected = false;
10201
@@ -10342,7 +10249,7 @@ function inject() {
10249 module.exports = {
10250 inject: inject
10251 };
10345 -},{"13":13,"15":15,"2":2,"22":22,"32":32,"39":39,"41":41,"44":44,"54":54,"56":56,"59":59,"6":6,"66":66,"70":70,"85":85,"95":95,"96":96,"97":97}],61:[function(_dereq_,module,exports){
10252 +},{"13":13,"15":15,"2":2,"22":22,"32":32,"39":39,"41":41,"44":44,"55":55,"57":57,"6":6,"60":60,"67":67,"71":71,"86":86,"97":97,"98":98,"99":99}],62:[function(_dereq_,module,exports){
10253 /**
10254 * Copyright 2014-present, Facebook, Inc.
10255 * All rights reserved.
@@ -10356,12 +10263,12 @@ module.exports = {
10263
10264 'use strict';
10265
10359 -var _assign = _dereq_(170);
10266 +var _assign = _dereq_(172);
10267
10268 var ReactCurrentOwner = _dereq_(36);
10269
10363 -var warning = _dereq_(169);
10364 -var canDefineProperty = _dereq_(115);
10270 +var warning = _dereq_(171);
10271 +var canDefineProperty = _dereq_(117);
10272 var hasOwnProperty = Object.prototype.hasOwnProperty;
10273
10274 // The Symbol used to tag the ReactElement type. If there is no native Symbol
@@ -10695,7 +10602,7 @@ ReactElement.isValidElement = function (object) {
10602 ReactElement.REACT_ELEMENT_TYPE = REACT_ELEMENT_TYPE;
10603
10604 module.exports = ReactElement;
10698 -},{"115":115,"169":169,"170":170,"36":36}],62:[function(_dereq_,module,exports){
10605 +},{"117":117,"171":171,"172":172,"36":36}],63:[function(_dereq_,module,exports){
10606 /**
10607 * Copyright 2014-present, Facebook, Inc.
10608 * All rights reserved.
@@ -10718,14 +10625,14 @@ module.exports = ReactElement;
10625
10626 var ReactCurrentOwner = _dereq_(36);
10627 var ReactComponentTreeDevtool = _dereq_(34);
10721 -var ReactElement = _dereq_(61);
10722 -var ReactPropTypeLocations = _dereq_(83);
10628 +var ReactElement = _dereq_(62);
10629 +var ReactPropTypeLocations = _dereq_(84);
10630
10724 -var checkReactTypeSpec = _dereq_(116);
10631 +var checkReactTypeSpec = _dereq_(118);
10632
10726 -var canDefineProperty = _dereq_(115);
10727 -var getIteratorFn = _dereq_(128);
10728 -var warning = _dereq_(169);
10633 +var canDefineProperty = _dereq_(117);
10634 +var getIteratorFn = _dereq_(130);
10635 +var warning = _dereq_(171);
10636
10637 function getDeclarationErrorAddendum() {
10638 if (ReactCurrentOwner.current) {
@@ -10922,7 +10829,7 @@ var ReactElementValidator = {
10829 };
10830
10831 module.exports = ReactElementValidator;
10925 -},{"115":115,"116":116,"128":128,"169":169,"34":34,"36":36,"61":61,"83":83}],63:[function(_dereq_,module,exports){
10832 +},{"117":117,"118":118,"130":130,"171":171,"34":34,"36":36,"62":62,"84":84}],64:[function(_dereq_,module,exports){
10833 /**
10834 * Copyright 2014-present, Facebook, Inc.
10835 * All rights reserved.
@@ -10953,7 +10860,7 @@ var ReactEmptyComponent = {
10860 ReactEmptyComponent.injection = ReactEmptyComponentInjection;
10861
10862 module.exports = ReactEmptyComponent;
10956 -},{}],64:[function(_dereq_,module,exports){
10863 +},{}],65:[function(_dereq_,module,exports){
10864 /**
10865 * Copyright 2013-present, Facebook, Inc.
10866 * All rights reserved.
@@ -11030,7 +10937,7 @@ if ("development" !== 'production') {
10937 }
10938
10939 module.exports = ReactErrorUtils;
11033 -},{}],65:[function(_dereq_,module,exports){
10940 +},{}],66:[function(_dereq_,module,exports){
10941 /**
10942 * Copyright 2013-present, Facebook, Inc.
10943 * All rights reserved.
@@ -11064,7 +10971,7 @@ var ReactEventEmitterMixin = {
10971 };
10972
10973 module.exports = ReactEventEmitterMixin;
11067 -},{"17":17}],66:[function(_dereq_,module,exports){
10974 +},{"17":17}],67:[function(_dereq_,module,exports){
10975 /**
10976 * Copyright 2013-present, Facebook, Inc.
10977 * All rights reserved.
@@ -11078,16 +10985,16 @@ module.exports = ReactEventEmitterMixin;
10985
10986 'use strict';
10987
11081 -var _assign = _dereq_(170);
10988 +var _assign = _dereq_(172);
10989
11083 -var EventListener = _dereq_(144);
11084 -var ExecutionEnvironment = _dereq_(145);
10990 +var EventListener = _dereq_(146);
10991 +var ExecutionEnvironment = _dereq_(147);
10992 var PooledClass = _dereq_(25);
10993 var ReactDOMComponentTree = _dereq_(41);
11087 -var ReactUpdates = _dereq_(93);
10994 +var ReactUpdates = _dereq_(95);
10995
11089 -var getEventTarget = _dereq_(126);
11090 -var getUnboundedScrollPosition = _dereq_(156);
10996 +var getEventTarget = _dereq_(128);
10997 +var getUnboundedScrollPosition = _dereq_(158);
10998
10999 /**
11000 * Find the deepest React component completely containing the root of the
@@ -11222,7 +11129,7 @@ var ReactEventListener = {
11129 };
11130
11131 module.exports = ReactEventListener;
11225 -},{"126":126,"144":144,"145":145,"156":156,"170":170,"25":25,"41":41,"93":93}],67:[function(_dereq_,module,exports){
11132 +},{"128":128,"146":146,"147":147,"158":158,"172":172,"25":25,"41":41,"95":95}],68:[function(_dereq_,module,exports){
11133 /**
11134 * Copyright 2013-present, Facebook, Inc.
11135 * All rights reserved.
@@ -11232,6 +11139,7 @@ module.exports = ReactEventListener;
11139 * of patent rights can be found in the PATENTS file in the same directory.
11140 *
11141 * @providesModule ReactFeatureFlags
11142 + *
11143 */
11144
11145 'use strict';
@@ -11244,7 +11152,7 @@ var ReactFeatureFlags = {
11152 };
11153
11154 module.exports = ReactFeatureFlags;
11247 -},{}],68:[function(_dereq_,module,exports){
11155 +},{}],69:[function(_dereq_,module,exports){
11156 /**
11157 * Copyright 2014-present, Facebook, Inc.
11158 * All rights reserved.
@@ -11258,10 +11166,10 @@ module.exports = ReactFeatureFlags;
11166
11167 'use strict';
11168
11261 -var _prodInvariant = _dereq_(137),
11262 - _assign = _dereq_(170);
11169 +var _prodInvariant = _dereq_(139),
11170 + _assign = _dereq_(172);
11171
11264 -var invariant = _dereq_(159);
11172 +var invariant = _dereq_(161);
11173
11174 var genericComponentClass = null;
11175 // This registry keeps track of wrapper classes around host tags.
@@ -11321,7 +11229,7 @@ var ReactHostComponent = {
11229 };
11230
11231 module.exports = ReactHostComponent;
11324 -},{"137":137,"159":159,"170":170}],69:[function(_dereq_,module,exports){
11232 +},{"139":139,"161":161,"172":172}],70:[function(_dereq_,module,exports){
11233 /**
11234 * Copyright 2016-present, Facebook, Inc.
11235 * All rights reserved.
@@ -11359,7 +11267,7 @@ var ReactHostOperationHistoryDevtool = {
11267 };
11268
11269 module.exports = ReactHostOperationHistoryDevtool;
11362 -},{}],70:[function(_dereq_,module,exports){
11270 +},{}],71:[function(_dereq_,module,exports){
11271 /**
11272 * Copyright 2013-present, Facebook, Inc.
11273 * All rights reserved.
@@ -11378,10 +11286,10 @@ var EventPluginHub = _dereq_(17);
11286 var EventPluginUtils = _dereq_(19);
11287 var ReactComponentEnvironment = _dereq_(33);
11288 var ReactClass = _dereq_(30);
11381 -var ReactEmptyComponent = _dereq_(63);
11289 +var ReactEmptyComponent = _dereq_(64);
11290 var ReactBrowserEventEmitter = _dereq_(27);
11383 -var ReactHostComponent = _dereq_(68);
11384 -var ReactUpdates = _dereq_(93);
11291 +var ReactHostComponent = _dereq_(69);
11292 +var ReactUpdates = _dereq_(95);
11293
11294 var ReactInjection = {
11295 Component: ReactComponentEnvironment.injection,
@@ -11396,7 +11304,7 @@ var ReactInjection = {
11304 };
11305
11306 module.exports = ReactInjection;
11399 -},{"10":10,"17":17,"19":19,"27":27,"30":30,"33":33,"63":63,"68":68,"93":93}],71:[function(_dereq_,module,exports){
11307 +},{"10":10,"17":17,"19":19,"27":27,"30":30,"33":33,"64":64,"69":69,"95":95}],72:[function(_dereq_,module,exports){
11308 /**
11309 * Copyright 2013-present, Facebook, Inc.
11310 * All rights reserved.
@@ -11410,11 +11318,11 @@ module.exports = ReactInjection;
11318
11319 'use strict';
11320
11413 -var ReactDOMSelection = _dereq_(52);
11321 +var ReactDOMSelection = _dereq_(53);
11322
11415 -var containsNode = _dereq_(148);
11416 -var focusNode = _dereq_(153);
11417 -var getActiveElement = _dereq_(154);
11323 +var containsNode = _dereq_(150);
11324 +var focusNode = _dereq_(155);
11325 +var getActiveElement = _dereq_(156);
11326
11327 function isInDocument(node) {
11328 return containsNode(document.documentElement, node);
@@ -11521,7 +11429,7 @@ var ReactInputSelection = {
11429 };
11430
11431 module.exports = ReactInputSelection;
11524 -},{"148":148,"153":153,"154":154,"52":52}],72:[function(_dereq_,module,exports){
11432 +},{"150":150,"155":155,"156":156,"53":53}],73:[function(_dereq_,module,exports){
11433 /**
11434 * Copyright 2013-present, Facebook, Inc.
11435 * All rights reserved.
@@ -11570,7 +11478,7 @@ var ReactInstanceMap = {
11478 };
11479
11480 module.exports = ReactInstanceMap;
11573 -},{}],73:[function(_dereq_,module,exports){
11481 +},{}],74:[function(_dereq_,module,exports){
11482 /**
11483 * Copyright 2016-present, Facebook, Inc.
11484 * All rights reserved.
@@ -11584,10 +11492,15 @@ module.exports = ReactInstanceMap;
11492
11493 'use strict';
11494
11587 -var ReactDebugTool = _dereq_(58);
11495 +var debugTool = null;
11496
11589 -module.exports = { debugTool: ReactDebugTool };
11590 -},{"58":58}],74:[function(_dereq_,module,exports){
11497 +if ("development" !== 'production') {
11498 + var ReactDebugTool = _dereq_(59);
11499 + debugTool = ReactDebugTool;
11500 +}
11501 +
11502 +module.exports = { debugTool: debugTool };
11503 +},{"59":59}],75:[function(_dereq_,module,exports){
11504 /**
11505 * Copyright 2016-present, Facebook, Inc.
11506 * All rights reserved.
@@ -11601,7 +11514,7 @@ module.exports = { debugTool: ReactDebugTool };
11514
11515 'use strict';
11516
11604 -var warning = _dereq_(169);
11517 +var warning = _dereq_(171);
11518
11519 if ("development" !== 'production') {
11520 var processingChildContext = false;
@@ -11624,7 +11537,7 @@ var ReactInvalidSetStateWarningDevTool = {
11537 };
11538
11539 module.exports = ReactInvalidSetStateWarningDevTool;
11627 -},{"169":169}],75:[function(_dereq_,module,exports){
11540 +},{"171":171}],76:[function(_dereq_,module,exports){
11541 /**
11542 * Copyright 2013-present, Facebook, Inc.
11543 * All rights reserved.
@@ -11638,7 +11551,7 @@ module.exports = ReactInvalidSetStateWarningDevTool;
11551
11552 'use strict';
11553
11641 -var adler32 = _dereq_(114);
11554 +var adler32 = _dereq_(116);
11555
11556 var TAG_END = /\/?>/;
11557 var COMMENT_START = /^<\!\-\-/;
@@ -11675,7 +11588,7 @@ var ReactMarkupChecksum = {
11588 };
11589
11590 module.exports = ReactMarkupChecksum;
11678 -},{"114":114}],76:[function(_dereq_,module,exports){
11591 +},{"116":116}],77:[function(_dereq_,module,exports){
11592 /**
11593 * Copyright 2013-present, Facebook, Inc.
11594 * All rights reserved.
@@ -11689,7 +11602,7 @@ module.exports = ReactMarkupChecksum;
11602
11603 'use strict';
11604
11692 -var _prodInvariant = _dereq_(137);
11605 +var _prodInvariant = _dereq_(139);
11606
11607 var DOMLazyTree = _dereq_(8);
11608 var DOMProperty = _dereq_(10);
@@ -11698,20 +11611,21 @@ var ReactCurrentOwner = _dereq_(36);
11611 var ReactDOMComponentTree = _dereq_(41);
11612 var ReactDOMContainerInfo = _dereq_(42);
11613 var ReactDOMFeatureFlags = _dereq_(46);
11701 -var ReactElement = _dereq_(61);
11702 -var ReactFeatureFlags = _dereq_(67);
11703 -var ReactInstrumentation = _dereq_(73);
11704 -var ReactMarkupChecksum = _dereq_(75);
11705 -var ReactReconciler = _dereq_(86);
11706 -var ReactUpdateQueue = _dereq_(92);
11707 -var ReactUpdates = _dereq_(93);
11708 -
11709 -var emptyObject = _dereq_(152);
11710 -var instantiateReactComponent = _dereq_(132);
11711 -var invariant = _dereq_(159);
11712 -var setInnerHTML = _dereq_(139);
11713 -var shouldUpdateReactComponent = _dereq_(141);
11714 -var warning = _dereq_(169);
11614 +var ReactElement = _dereq_(62);
11615 +var ReactFeatureFlags = _dereq_(68);
11616 +var ReactInstanceMap = _dereq_(73);
11617 +var ReactInstrumentation = _dereq_(74);
11618 +var ReactMarkupChecksum = _dereq_(76);
11619 +var ReactReconciler = _dereq_(87);
11620 +var ReactUpdateQueue = _dereq_(94);
11621 +var ReactUpdates = _dereq_(95);
11622 +
11623 +var emptyObject = _dereq_(154);
11624 +var instantiateReactComponent = _dereq_(134);
11625 +var invariant = _dereq_(161);
11626 +var setInnerHTML = _dereq_(141);
11627 +var shouldUpdateReactComponent = _dereq_(143);
11628 +var warning = _dereq_(171);
11629
11630 var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;
11631 var ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;
@@ -11925,9 +11839,9 @@ var ReactMount = {
11839 * @param {DOMElement} container container to render into
11840 * @param {?function} callback function triggered on completion
11841 */
11928 - _updateRootComponent: function (prevComponent, nextElement, container, callback) {
11842 + _updateRootComponent: function (prevComponent, nextElement, nextContext, container, callback) {
11843 ReactMount.scrollMonitor(container, function () {
11930 - ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement);
11844 + ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);
11845 if (callback) {
11846 ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);
11847 }
@@ -11945,10 +11859,6 @@ var ReactMount = {
11859 * @return {ReactComponent} nextComponent
11860 */
11861 _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {
11948 - if ("development" !== 'production') {
11949 - ReactInstrumentation.debugTool.onBeginFlush();
11950 - }
11951 -
11862 // Various parts of our code (such as ReactCompositeComponent's
11863 // _renderValidatedComponent) assume that calls to render aren't nested;
11864 // verify that that's the case.
@@ -11957,13 +11867,7 @@ var ReactMount = {
11867 !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? "development" !== 'production' ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0;
11868
11869 ReactBrowserEventEmitter.ensureScrollValueMonitoring();
11960 - var componentInstance = instantiateReactComponent(nextElement);
11961 -
11962 - if ("development" !== 'production') {
11963 - // Mute future events from the top level wrapper.
11964 - // It is an implementation detail that devtools should not know about.
11965 - componentInstance._debugID = 0;
11966 - }
11870 + var componentInstance = instantiateReactComponent(nextElement, false);
11871
11872 // The initial render is synchronous but any updates that happen during
11873 // rendering, in componentWillMount or componentDidMount, will be batched
@@ -11977,7 +11881,6 @@ var ReactMount = {
11881 if ("development" !== 'production') {
11882 // The instance here is TopLevelWrapper so we report mount for its child.
11883 ReactInstrumentation.debugTool.onMountRootComponent(componentInstance._renderedComponent._debugID);
11980 - ReactInstrumentation.debugTool.onEndFlush();
11884 }
11885
11886 return componentInstance;
@@ -11997,7 +11900,7 @@ var ReactMount = {
11900 * @return {ReactComponent} Component instance rendered in `container`.
11901 */
11902 renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {
12000 - !(parentComponent != null && parentComponent._reactInternalInstance != null) ? "development" !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;
11903 + !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? "development" !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;
11904 return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);
11905 },
11906
@@ -12011,6 +11914,14 @@ var ReactMount = {
11914
11915 var nextWrappedElement = ReactElement(TopLevelWrapper, null, null, null, null, null, nextElement);
11916
11917 + var nextContext;
11918 + if (parentComponent) {
11919 + var parentInst = ReactInstanceMap.get(parentComponent);
11920 + nextContext = parentInst._processChildContext(parentInst._context);
11921 + } else {
11922 + nextContext = emptyObject;
11923 + }
11924 +
11925 var prevComponent = getTopLevelWrapperInContainer(container);
11926
11927 if (prevComponent) {
@@ -12021,7 +11932,7 @@ var ReactMount = {
11932 var updatedCallback = callback && function () {
11933 callback.call(publicInst);
11934 };
12024 - ReactMount._updateRootComponent(prevComponent, nextWrappedElement, container, updatedCallback);
11935 + ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);
11936 return publicInst;
11937 } else {
11938 ReactMount.unmountComponentAtNode(container);
@@ -12048,7 +11959,7 @@ var ReactMount = {
11959 }
11960
11961 var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;
12051 - var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, parentComponent != null ? parentComponent._reactInternalInstance._processChildContext(parentComponent._reactInternalInstance._context) : emptyObject)._renderedComponent.getPublicInstance();
11962 + var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();
11963 if (callback) {
11964 callback.call(component);
11965 }
@@ -12177,7 +12088,7 @@ var ReactMount = {
12088 };
12089
12090 module.exports = ReactMount;
12180 -},{"10":10,"132":132,"137":137,"139":139,"141":141,"152":152,"159":159,"169":169,"27":27,"36":36,"41":41,"42":42,"46":46,"61":61,"67":67,"73":73,"75":75,"8":8,"86":86,"92":92,"93":93}],77:[function(_dereq_,module,exports){
12091 +},{"10":10,"134":134,"139":139,"141":141,"143":143,"154":154,"161":161,"171":171,"27":27,"36":36,"41":41,"42":42,"46":46,"62":62,"68":68,"73":73,"74":74,"76":76,"8":8,"87":87,"94":94,"95":95}],78:[function(_dereq_,module,exports){
12092 /**
12093 * Copyright 2013-present, Facebook, Inc.
12094 * All rights reserved.
@@ -12191,20 +12102,20 @@ module.exports = ReactMount;
12102
12103 'use strict';
12104
12194 -var _prodInvariant = _dereq_(137);
12105 +var _prodInvariant = _dereq_(139);
12106
12107 var ReactComponentEnvironment = _dereq_(33);
12197 -var ReactInstanceMap = _dereq_(72);
12198 -var ReactInstrumentation = _dereq_(73);
12199 -var ReactMultiChildUpdateTypes = _dereq_(78);
12108 +var ReactInstanceMap = _dereq_(73);
12109 +var ReactInstrumentation = _dereq_(74);
12110 +var ReactMultiChildUpdateTypes = _dereq_(79);
12111
12112 var ReactCurrentOwner = _dereq_(36);
12202 -var ReactReconciler = _dereq_(86);
12113 +var ReactReconciler = _dereq_(87);
12114 var ReactChildReconciler = _dereq_(28);
12115
12205 -var emptyFunction = _dereq_(151);
12206 -var flattenChildren = _dereq_(121);
12207 -var invariant = _dereq_(159);
12116 +var emptyFunction = _dereq_(153);
12117 +var flattenChildren = _dereq_(123);
12118 +var invariant = _dereq_(161);
12119
12120 /**
12121 * Make an update for markup to be rendered and inserted at a supplied index.
@@ -12338,9 +12249,14 @@ if ("development" !== 'production') {
12249 }
12250 };
12251 setChildrenForInstrumentation = function (children) {
12341 - ReactInstrumentation.debugTool.onSetChildren(getDebugID(this), children ? Object.keys(children).map(function (key) {
12342 - return children[key]._debugID;
12343 - }) : []);
12252 + var debugID = getDebugID(this);
12253 + // TODO: React Native empty components are also multichild.
12254 + // This means they still get into this method but don't have _debugID.
12255 + if (debugID !== 0) {
12256 + ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) {
12257 + return children[key]._debugID;
12258 + }) : []);
12259 + }
12260 };
12261 }
12262
@@ -12623,7 +12539,7 @@ var ReactMultiChild = {
12539 };
12540
12541 module.exports = ReactMultiChild;
12626 -},{"121":121,"137":137,"151":151,"159":159,"28":28,"33":33,"36":36,"72":72,"73":73,"78":78,"86":86}],78:[function(_dereq_,module,exports){
12542 +},{"123":123,"139":139,"153":153,"161":161,"28":28,"33":33,"36":36,"73":73,"74":74,"79":79,"87":87}],79:[function(_dereq_,module,exports){
12543 /**
12544 * Copyright 2013-present, Facebook, Inc.
12545 * All rights reserved.
@@ -12637,7 +12553,7 @@ module.exports = ReactMultiChild;
12553
12554 'use strict';
12555
12640 -var keyMirror = _dereq_(162);
12556 +var keyMirror = _dereq_(164);
12557
12558 /**
12559 * When a component's children are updated, a series of update configuration
@@ -12656,7 +12572,7 @@ var ReactMultiChildUpdateTypes = keyMirror({
12572 });
12573
12574 module.exports = ReactMultiChildUpdateTypes;
12659 -},{"162":162}],79:[function(_dereq_,module,exports){
12575 +},{"164":164}],80:[function(_dereq_,module,exports){
12576 /**
12577 * Copyright 2013-present, Facebook, Inc.
12578 * All rights reserved.
@@ -12666,15 +12582,16 @@ module.exports = ReactMultiChildUpdateTypes;
12582 * of patent rights can be found in the PATENTS file in the same directory.
12583 *
12584 * @providesModule ReactNodeTypes
12585 + *
12586 */
12587
12588 'use strict';
12589
12673 -var _prodInvariant = _dereq_(137);
12590 +var _prodInvariant = _dereq_(139);
12591
12675 -var ReactElement = _dereq_(61);
12592 +var ReactElement = _dereq_(62);
12593
12677 -var invariant = _dereq_(159);
12594 +var invariant = _dereq_(161);
12595
12596 var ReactNodeTypes = {
12597 HOST: 0,
@@ -12696,7 +12613,7 @@ var ReactNodeTypes = {
12613 };
12614
12615 module.exports = ReactNodeTypes;
12699 -},{"137":137,"159":159,"61":61}],80:[function(_dereq_,module,exports){
12616 +},{"139":139,"161":161,"62":62}],81:[function(_dereq_,module,exports){
12617 /**
12618 * Copyright 2015-present, Facebook, Inc.
12619 * All rights reserved.
@@ -12710,11 +12627,12 @@ module.exports = ReactNodeTypes;
12627
12628 'use strict';
12629
12713 -var warning = _dereq_(169);
12630 +var warning = _dereq_(171);
12631
12715 -function warnTDZ(publicInstance, callerName) {
12632 +function warnNoop(publicInstance, callerName) {
12633 if ("development" !== 'production') {
12717 - "development" !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, publicInstance.constructor && publicInstance.constructor.displayName || '') : void 0;
12634 + var constructor = publicInstance.constructor;
12635 + "development" !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;
12636 }
12637 }
12638
@@ -12758,7 +12676,7 @@ var ReactNoopUpdateQueue = {
12676 * @internal
12677 */
12678 enqueueForceUpdate: function (publicInstance) {
12761 - warnTDZ(publicInstance, 'forceUpdate');
12679 + warnNoop(publicInstance, 'forceUpdate');
12680 },
12681
12682 /**
@@ -12773,7 +12691,7 @@ var ReactNoopUpdateQueue = {
12691 * @internal
12692 */
12693 enqueueReplaceState: function (publicInstance, completeState) {
12776 - warnTDZ(publicInstance, 'replaceState');
12694 + warnNoop(publicInstance, 'replaceState');
12695 },
12696
12697 /**
@@ -12787,12 +12705,12 @@ var ReactNoopUpdateQueue = {
12705 * @internal
12706 */
12707 enqueueSetState: function (publicInstance, partialState) {
12790 - warnTDZ(publicInstance, 'setState');
12708 + warnNoop(publicInstance, 'setState');
12709 }
12710 };
12711
12712 module.exports = ReactNoopUpdateQueue;
12795 -},{"169":169}],81:[function(_dereq_,module,exports){
12713 +},{"171":171}],82:[function(_dereq_,module,exports){
12714 /**
12715 * Copyright 2013-present, Facebook, Inc.
12716 * All rights reserved.
@@ -12806,9 +12724,9 @@ module.exports = ReactNoopUpdateQueue;
12724
12725 'use strict';
12726
12809 -var _prodInvariant = _dereq_(137);
12727 +var _prodInvariant = _dereq_(139);
12728
12811 -var invariant = _dereq_(159);
12729 +var invariant = _dereq_(161);
12730
12731 /**
12732 * ReactOwners are capable of storing references to owned components.
@@ -12887,7 +12805,7 @@ var ReactOwner = {
12805 };
12806
12807 module.exports = ReactOwner;
12890 -},{"137":137,"159":159}],82:[function(_dereq_,module,exports){
12808 +},{"139":139,"161":161}],83:[function(_dereq_,module,exports){
12809 /**
12810 * Copyright 2013-present, Facebook, Inc.
12811 * All rights reserved.
@@ -12912,7 +12830,7 @@ if ("development" !== 'production') {
12830 }
12831
12832 module.exports = ReactPropTypeLocationNames;
12915 -},{}],83:[function(_dereq_,module,exports){
12833 +},{}],84:[function(_dereq_,module,exports){
12834 /**
12835 * Copyright 2013-present, Facebook, Inc.
12836 * All rights reserved.
@@ -12926,7 +12844,7 @@ module.exports = ReactPropTypeLocationNames;
12844
12845 'use strict';
12846
12929 -var keyMirror = _dereq_(162);
12847 +var keyMirror = _dereq_(164);
12848
12849 var ReactPropTypeLocations = keyMirror({
12850 prop: null,
@@ -12935,7 +12853,7 @@ var ReactPropTypeLocations = keyMirror({
12853 });
12854
12855 module.exports = ReactPropTypeLocations;
12938 -},{"162":162}],84:[function(_dereq_,module,exports){
12856 +},{"164":164}],85:[function(_dereq_,module,exports){
12857 /**
12858 * Copyright 2013-present, Facebook, Inc.
12859 * All rights reserved.
@@ -12949,11 +12867,11 @@ module.exports = ReactPropTypeLocations;
12867
12868 'use strict';
12869
12952 -var ReactElement = _dereq_(61);
12953 -var ReactPropTypeLocationNames = _dereq_(82);
12870 +var ReactElement = _dereq_(62);
12871 +var ReactPropTypeLocationNames = _dereq_(83);
12872
12955 -var emptyFunction = _dereq_(151);
12956 -var getIteratorFn = _dereq_(128);
12873 +var emptyFunction = _dereq_(153);
12874 +var getIteratorFn = _dereq_(130);
12875
12876 /**
12877 * Collection of methods that allow declaration and validation of props that are
@@ -13339,7 +13257,7 @@ function getClassName(propValue) {
13257 }
13258
13259 module.exports = ReactPropTypes;
13342 -},{"128":128,"151":151,"61":61,"82":82}],85:[function(_dereq_,module,exports){
13260 +},{"130":130,"153":153,"62":62,"83":83}],86:[function(_dereq_,module,exports){
13261 /**
13262 * Copyright 2013-present, Facebook, Inc.
13263 * All rights reserved.
@@ -13353,13 +13271,15 @@ module.exports = ReactPropTypes;
13271
13272 'use strict';
13273
13356 -var _assign = _dereq_(170);
13274 +var _assign = _dereq_(172);
13275
13276 var CallbackQueue = _dereq_(5);
13277 var PooledClass = _dereq_(25);
13278 var ReactBrowserEventEmitter = _dereq_(27);
13361 -var ReactInputSelection = _dereq_(71);
13362 -var Transaction = _dereq_(111);
13279 +var ReactInputSelection = _dereq_(72);
13280 +var ReactInstrumentation = _dereq_(74);
13281 +var Transaction = _dereq_(113);
13282 +var ReactUpdateQueue = _dereq_(94);
13283
13284 /**
13285 * Ensures that, when possible, the selection range (currently selected text
@@ -13429,6 +13349,13 @@ var ON_DOM_READY_QUEUEING = {
13349 */
13350 var TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];
13351
13352 +if ("development" !== 'production') {
13353 + TRANSACTION_WRAPPERS.push({
13354 + initialize: ReactInstrumentation.debugTool.onBeginFlush,
13355 + close: ReactInstrumentation.debugTool.onEndFlush
13356 + });
13357 +}
13358 +
13359 /**
13360 * Currently:
13361 * - The order that these are listed in the transaction is critical:
@@ -13474,6 +13401,13 @@ var Mixin = {
13401 return this.reactMountReady;
13402 },
13403
13404 + /**
13405 + * @return {object} The queue to collect React async events.
13406 + */
13407 + getUpdateQueue: function () {
13408 + return ReactUpdateQueue;
13409 + },
13410 +
13411 /**
13412 * Save current transaction state -- if the return value from this method is
13413 * passed to `rollback`, the transaction will be reset to that state.
@@ -13502,7 +13436,7 @@ _assign(ReactReconcileTransaction.prototype, Transaction.Mixin, Mixin);
13436 PooledClass.addPoolingTo(ReactReconcileTransaction);
13437
13438 module.exports = ReactReconcileTransaction;
13505 -},{"111":111,"170":170,"25":25,"27":27,"5":5,"71":71}],86:[function(_dereq_,module,exports){
13439 +},{"113":113,"172":172,"25":25,"27":27,"5":5,"72":72,"74":74,"94":94}],87:[function(_dereq_,module,exports){
13440 /**
13441 * Copyright 2013-present, Facebook, Inc.
13442 * All rights reserved.
@@ -13516,12 +13450,12 @@ module.exports = ReactReconcileTransaction;
13450
13451 'use strict';
13452
13519 -var _prodInvariant = _dereq_(137);
13453 +var _prodInvariant = _dereq_(139);
13454
13521 -var ReactRef = _dereq_(87);
13522 -var ReactInstrumentation = _dereq_(73);
13455 +var ReactRef = _dereq_(88);
13456 +var ReactInstrumentation = _dereq_(74);
13457
13524 -var invariant = _dereq_(159);
13458 +var invariant = _dereq_(161);
13459
13460 /**
13461 * Helper to call ReactRef.attachRefs with this composite component, split out
@@ -13679,7 +13613,7 @@ var ReactReconciler = {
13613 };
13614
13615 module.exports = ReactReconciler;
13682 -},{"137":137,"159":159,"73":73,"87":87}],87:[function(_dereq_,module,exports){
13616 +},{"139":139,"161":161,"74":74,"88":88}],88:[function(_dereq_,module,exports){
13617 /**
13618 * Copyright 2013-present, Facebook, Inc.
13619 * All rights reserved.
@@ -13693,7 +13627,7 @@ module.exports = ReactReconciler;
13627
13628 'use strict';
13629
13696 -var ReactOwner = _dereq_(81);
13630 +var ReactOwner = _dereq_(82);
13631
13632 var ReactRef = {};
13633
@@ -13758,7 +13692,7 @@ ReactRef.detachRefs = function (instance, element) {
13692 };
13693
13694 module.exports = ReactRef;
13761 -},{"81":81}],88:[function(_dereq_,module,exports){
13695 +},{"82":82}],89:[function(_dereq_,module,exports){
13696 /**
13697 * Copyright 2014-present, Facebook, Inc.
13698 * All rights reserved.
@@ -13781,7 +13715,7 @@ var ReactServerBatchingStrategy = {
13715 };
13716
13717 module.exports = ReactServerBatchingStrategy;
13784 -},{}],89:[function(_dereq_,module,exports){
13718 +},{}],90:[function(_dereq_,module,exports){
13719 /**
13720 * Copyright 2013-present, Facebook, Inc.
13721 * All rights reserved.
@@ -13794,21 +13728,21 @@ module.exports = ReactServerBatchingStrategy;
13728 */
13729 'use strict';
13730
13797 -var _prodInvariant = _dereq_(137);
13731 +var _prodInvariant = _dereq_(139);
13732
13733 var ReactDOMContainerInfo = _dereq_(42);
13800 -var ReactDefaultBatchingStrategy = _dereq_(59);
13801 -var ReactElement = _dereq_(61);
13802 -var ReactInstrumentation = _dereq_(73);
13803 -var ReactMarkupChecksum = _dereq_(75);
13804 -var ReactReconciler = _dereq_(86);
13805 -var ReactServerBatchingStrategy = _dereq_(88);
13806 -var ReactServerRenderingTransaction = _dereq_(90);
13807 -var ReactUpdates = _dereq_(93);
13734 +var ReactDefaultBatchingStrategy = _dereq_(60);
13735 +var ReactElement = _dereq_(62);
13736 +var ReactInstrumentation = _dereq_(74);
13737 +var ReactMarkupChecksum = _dereq_(76);
13738 +var ReactReconciler = _dereq_(87);
13739 +var ReactServerBatchingStrategy = _dereq_(89);
13740 +var ReactServerRenderingTransaction = _dereq_(91);
13741 +var ReactUpdates = _dereq_(95);
13742
13809 -var emptyObject = _dereq_(152);
13810 -var instantiateReactComponent = _dereq_(132);
13811 -var invariant = _dereq_(159);
13743 +var emptyObject = _dereq_(154);
13744 +var instantiateReactComponent = _dereq_(134);
13745 +var invariant = _dereq_(161);
13746
13747 /**
13748 * @param {ReactElement} element
@@ -13822,14 +13756,10 @@ function renderToStringImpl(element, makeStaticMarkup) {
13756 transaction = ReactServerRenderingTransaction.getPooled(makeStaticMarkup);
13757
13758 return transaction.perform(function () {
13825 - if ("development" !== 'production') {
13826 - ReactInstrumentation.debugTool.onBeginFlush();
13827 - }
13828 - var componentInstance = instantiateReactComponent(element);
13759 + var componentInstance = instantiateReactComponent(element, true);
13760 var markup = ReactReconciler.mountComponent(componentInstance, transaction, null, ReactDOMContainerInfo(), emptyObject);
13761 if ("development" !== 'production') {
13762 ReactInstrumentation.debugTool.onUnmountComponent(componentInstance._debugID);
13832 - ReactInstrumentation.debugTool.onEndFlush();
13763 }
13764 if (!makeStaticMarkup) {
13765 markup = ReactMarkupChecksum.addChecksumToMarkup(markup);
@@ -13868,7 +13798,7 @@ module.exports = {
13798 renderToString: renderToString,
13799 renderToStaticMarkup: renderToStaticMarkup
13800 };
13871 -},{"132":132,"137":137,"152":152,"159":159,"42":42,"59":59,"61":61,"73":73,"75":75,"86":86,"88":88,"90":90,"93":93}],90:[function(_dereq_,module,exports){
13801 +},{"134":134,"139":139,"154":154,"161":161,"42":42,"60":60,"62":62,"74":74,"76":76,"87":87,"89":89,"91":91,"95":95}],91:[function(_dereq_,module,exports){
13802 /**
13803 * Copyright 2014-present, Facebook, Inc.
13804 * All rights reserved.
@@ -13882,10 +13812,12 @@ module.exports = {
13812
13813 'use strict';
13814
13885 -var _assign = _dereq_(170);
13815 +var _assign = _dereq_(172);
13816
13817 var PooledClass = _dereq_(25);
13888 -var Transaction = _dereq_(111);
13818 +var Transaction = _dereq_(113);
13819 +var ReactInstrumentation = _dereq_(74);
13820 +var ReactServerUpdateQueue = _dereq_(92);
13821
13822 /**
13823 * Executed within the scope of the `Transaction` instance. Consider these as
@@ -13894,6 +13826,13 @@ var Transaction = _dereq_(111);
13826 */
13827 var TRANSACTION_WRAPPERS = [];
13828
13829 +if ("development" !== 'production') {
13830 + TRANSACTION_WRAPPERS.push({
13831 + initialize: ReactInstrumentation.debugTool.onBeginFlush,
13832 + close: ReactInstrumentation.debugTool.onEndFlush
13833 + });
13834 +}
13835 +
13836 var noopCallbackQueue = {
13837 enqueue: function () {}
13838 };
@@ -13906,6 +13845,7 @@ function ReactServerRenderingTransaction(renderToStaticMarkup) {
13845 this.reinitializeTransaction();
13846 this.renderToStaticMarkup = renderToStaticMarkup;
13847 this.useCreateElement = false;
13848 + this.updateQueue = new ReactServerUpdateQueue(this);
13849 }
13850
13851 var Mixin = {
@@ -13926,6 +13866,13 @@ var Mixin = {
13866 return noopCallbackQueue;
13867 },
13868
13869 + /**
13870 + * @return {object} The queue to collect React async events.
13871 + */
13872 + getUpdateQueue: function () {
13873 + return this.updateQueue;
13874 + },
13875 +
13876 /**
13877 * `PooledClass` looks for this, and will invoke this before allowing this
13878 * instance to be reused.
@@ -13942,7 +13889,149 @@ _assign(ReactServerRenderingTransaction.prototype, Transaction.Mixin, Mixin);
13889 PooledClass.addPoolingTo(ReactServerRenderingTransaction);
13890
13891 module.exports = ReactServerRenderingTransaction;
13945 -},{"111":111,"170":170,"25":25}],91:[function(_dereq_,module,exports){
13892 +},{"113":113,"172":172,"25":25,"74":74,"92":92}],92:[function(_dereq_,module,exports){
13893 +/**
13894 + * Copyright 2015-present, Facebook, Inc.
13895 + * All rights reserved.
13896 + *
13897 + * This source code is licensed under the BSD-style license found in the
13898 + * LICENSE file in the root directory of this source tree. An additional grant
13899 + * of patent rights can be found in the PATENTS file in the same directory.
13900 + *
13901 + * @providesModule ReactServerUpdateQueue
13902 + *
13903 + */
13904 +
13905 +'use strict';
13906 +
13907 +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13908 +
13909 +var ReactUpdateQueue = _dereq_(94);
13910 +var Transaction = _dereq_(113);
13911 +var warning = _dereq_(171);
13912 +
13913 +function warnNoop(publicInstance, callerName) {
13914 + if ("development" !== 'production') {
13915 + var constructor = publicInstance.constructor;
13916 + "development" !== 'production' ? warning(false, '%s(...): Can only update a mounting component. ' + 'This usually means you called %s() outside componentWillMount() on the server. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;
13917 + }
13918 +}
13919 +
13920 +/**
13921 + * This is the update queue used for server rendering.
13922 + * It delegates to ReactUpdateQueue while server rendering is in progress and
13923 + * switches to ReactNoopUpdateQueue after the transaction has completed.
13924 + * @class ReactServerUpdateQueue
13925 + * @param {Transaction} transaction
13926 + */
13927 +
13928 +var ReactServerUpdateQueue = function () {
13929 + /* :: transaction: Transaction; */
13930 +
13931 + function ReactServerUpdateQueue(transaction) {
13932 + _classCallCheck(this, ReactServerUpdateQueue);
13933 +
13934 + this.transaction = transaction;
13935 + }
13936 +
13937 + /**
13938 + * Checks whether or not this composite component is mounted.
13939 + * @param {ReactClass} publicInstance The instance we want to test.
13940 + * @return {boolean} True if mounted, false otherwise.
13941 + * @protected
13942 + * @final
13943 + */
13944 +
13945 +
13946 + ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) {
13947 + return false;
13948 + };
13949 +
13950 + /**
13951 + * Enqueue a callback that will be executed after all the pending updates
13952 + * have processed.
13953 + *
13954 + * @param {ReactClass} publicInstance The instance to use as `this` context.
13955 + * @param {?function} callback Called after state is updated.
13956 + * @internal
13957 + */
13958 +
13959 +
13960 + ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) {
13961 + if (this.transaction.isInTransaction()) {
13962 + ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName);
13963 + }
13964 + };
13965 +
13966 + /**
13967 + * Forces an update. This should only be invoked when it is known with
13968 + * certainty that we are **not** in a DOM transaction.
13969 + *
13970 + * You may want to call this when you know that some deeper aspect of the
13971 + * component's state has changed but `setState` was not called.
13972 + *
13973 + * This will not invoke `shouldComponentUpdate`, but it will invoke
13974 + * `componentWillUpdate` and `componentDidUpdate`.
13975 + *
13976 + * @param {ReactClass} publicInstance The instance that should rerender.
13977 + * @internal
13978 + */
13979 +
13980 +
13981 + ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) {
13982 + if (this.transaction.isInTransaction()) {
13983 + ReactUpdateQueue.enqueueForceUpdate(publicInstance);
13984 + } else {
13985 + warnNoop(publicInstance, 'forceUpdate');
13986 + }
13987 + };
13988 +
13989 + /**
13990 + * Replaces all of the state. Always use this or `setState` to mutate state.
13991 + * You should treat `this.state` as immutable.
13992 + *
13993 + * There is no guarantee that `this.state` will be immediately updated, so
13994 + * accessing `this.state` after calling this method may return the old value.
13995 + *
13996 + * @param {ReactClass} publicInstance The instance that should rerender.
13997 + * @param {object|function} completeState Next state.
13998 + * @internal
13999 + */
14000 +
14001 +
14002 + ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) {
14003 + if (this.transaction.isInTransaction()) {
14004 + ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState);
14005 + } else {
14006 + warnNoop(publicInstance, 'replaceState');
14007 + }
14008 + };
14009 +
14010 + /**
14011 + * Sets a subset of the state. This only exists because _pendingState is
14012 + * internal. This provides a merging strategy that is not available to deep
14013 + * properties which is confusing. TODO: Expose pendingState or don't use it
14014 + * during the merge.
14015 + *
14016 + * @param {ReactClass} publicInstance The instance that should rerender.
14017 + * @param {object|function} partialState Next partial state to be merged with state.
14018 + * @internal
14019 + */
14020 +
14021 +
14022 + ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) {
14023 + if (this.transaction.isInTransaction()) {
14024 + ReactUpdateQueue.enqueueSetState(publicInstance, partialState);
14025 + } else {
14026 + warnNoop(publicInstance, 'setState');
14027 + }
14028 + };
14029 +
14030 + return ReactServerUpdateQueue;
14031 +}();
14032 +
14033 +module.exports = ReactServerUpdateQueue;
14034 +},{"113":113,"171":171,"94":94}],93:[function(_dereq_,module,exports){
14035 /**
14036 * Copyright 2013-present, Facebook, Inc.
14037 * All rights reserved.
@@ -13956,10 +14045,10 @@ module.exports = ReactServerRenderingTransaction;
14045
14046 'use strict';
14047
13959 -var _assign = _dereq_(170);
14048 +var _assign = _dereq_(172);
14049
14050 var ReactDOM = _dereq_(37);
13962 -var ReactDOMServer = _dereq_(53);
14051 +var ReactDOMServer = _dereq_(54);
14052 var React = _dereq_(26);
14053
14054 // `version` will be added here by ReactIsomorphic.
@@ -13969,7 +14058,7 @@ var ReactUMDEntry = _assign({
14058 }, React);
14059
14060 module.exports = ReactUMDEntry;
13972 -},{"170":170,"26":26,"37":37,"53":53}],92:[function(_dereq_,module,exports){
14061 +},{"172":172,"26":26,"37":37,"54":54}],94:[function(_dereq_,module,exports){
14062 /**
14063 * Copyright 2015-present, Facebook, Inc.
14064 * All rights reserved.
@@ -13983,15 +14072,15 @@ module.exports = ReactUMDEntry;
14072
14073 'use strict';
14074
13986 -var _prodInvariant = _dereq_(137);
14075 +var _prodInvariant = _dereq_(139);
14076
14077 var ReactCurrentOwner = _dereq_(36);
13989 -var ReactInstanceMap = _dereq_(72);
13990 -var ReactInstrumentation = _dereq_(73);
13991 -var ReactUpdates = _dereq_(93);
14078 +var ReactInstanceMap = _dereq_(73);
14079 +var ReactInstrumentation = _dereq_(74);
14080 +var ReactUpdates = _dereq_(95);
14081
13993 -var invariant = _dereq_(159);
13994 -var warning = _dereq_(169);
14082 +var invariant = _dereq_(161);
14083 +var warning = _dereq_(171);
14084
14085 function enqueueUpdate(internalInstance) {
14086 ReactUpdates.enqueueUpdate(internalInstance);
@@ -14181,8 +14270,10 @@ var ReactUpdateQueue = {
14270 enqueueUpdate(internalInstance);
14271 },
14272
14184 - enqueueElementInternal: function (internalInstance, newElement) {
14185 - internalInstance._pendingElement = newElement;
14273 + enqueueElementInternal: function (internalInstance, nextElement, nextContext) {
14274 + internalInstance._pendingElement = nextElement;
14275 + // TODO: introduce _pendingContext instead of setting it directly.
14276 + internalInstance._context = nextContext;
14277 enqueueUpdate(internalInstance);
14278 },
14279
@@ -14193,7 +14284,7 @@ var ReactUpdateQueue = {
14284 };
14285
14286 module.exports = ReactUpdateQueue;
14196 -},{"137":137,"159":159,"169":169,"36":36,"72":72,"73":73,"93":93}],93:[function(_dereq_,module,exports){
14287 +},{"139":139,"161":161,"171":171,"36":36,"73":73,"74":74,"95":95}],95:[function(_dereq_,module,exports){
14288 /**
14289 * Copyright 2013-present, Facebook, Inc.
14290 * All rights reserved.
@@ -14207,17 +14298,16 @@ module.exports = ReactUpdateQueue;
14298
14299 'use strict';
14300
14210 -var _prodInvariant = _dereq_(137),
14211 - _assign = _dereq_(170);
14301 +var _prodInvariant = _dereq_(139),
14302 + _assign = _dereq_(172);
14303
14304 var CallbackQueue = _dereq_(5);
14305 var PooledClass = _dereq_(25);
14215 -var ReactFeatureFlags = _dereq_(67);
14216 -var ReactInstrumentation = _dereq_(73);
14217 -var ReactReconciler = _dereq_(86);
14218 -var Transaction = _dereq_(111);
14306 +var ReactFeatureFlags = _dereq_(68);
14307 +var ReactReconciler = _dereq_(87);
14308 +var Transaction = _dereq_(113);
14309
14220 -var invariant = _dereq_(159);
14310 +var invariant = _dereq_(161);
14311
14312 var dirtyComponents = [];
14313 var updateBatchNumber = 0;
@@ -14360,10 +14450,6 @@ function runBatchedUpdates(transaction) {
14450 }
14451
14452 var flushBatchedUpdates = function () {
14363 - if ("development" !== 'production') {
14364 - ReactInstrumentation.debugTool.onBeginFlush();
14365 - }
14366 -
14453 // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents
14454 // array and perform any updates enqueued by mount-ready handlers (i.e.,
14455 // componentDidUpdate) but we need to check here too in order to catch
@@ -14383,10 +14469,6 @@ var flushBatchedUpdates = function () {
14469 CallbackQueue.release(queue);
14470 }
14471 }
14386 -
14387 - if ("development" !== 'production') {
14388 - ReactInstrumentation.debugTool.onEndFlush();
14389 - }
14472 };
14473
14474 /**
@@ -14399,7 +14481,7 @@ function enqueueUpdate(component) {
14481 // Various parts of our code (such as ReactCompositeComponent's
14482 // _renderValidatedComponent) assume that calls to render aren't nested;
14483 // verify that that's the case. (This is called by each top-level update
14402 - // function, like setProps, setState, forceUpdate, etc.; creation and
14484 + // function, like setState, forceUpdate, etc.; creation and
14485 // destruction of top-level components is guarded in ReactMount.)
14486
14487 if (!batchingStrategy.isBatchingUpdates) {
@@ -14454,7 +14536,7 @@ var ReactUpdates = {
14536 };
14537
14538 module.exports = ReactUpdates;
14457 -},{"111":111,"137":137,"159":159,"170":170,"25":25,"5":5,"67":67,"73":73,"86":86}],94:[function(_dereq_,module,exports){
14539 +},{"113":113,"139":139,"161":161,"172":172,"25":25,"5":5,"68":68,"87":87}],96:[function(_dereq_,module,exports){
14540 /**
14541 * Copyright 2013-present, Facebook, Inc.
14542 * All rights reserved.
@@ -14468,8 +14550,8 @@ module.exports = ReactUpdates;
14550
14551 'use strict';
14552
14471 -module.exports = '15.2.0';
14472 -},{}],95:[function(_dereq_,module,exports){
14553 +module.exports = '15.2.1';
14554 +},{}],97:[function(_dereq_,module,exports){
14555 /**
14556 * Copyright 2013-present, Facebook, Inc.
14557 * All rights reserved.
@@ -14770,7 +14852,7 @@ Object.keys(ATTRS).forEach(function (key) {
14852 });
14853
14854 module.exports = SVGDOMPropertyConfig;
14773 -},{}],96:[function(_dereq_,module,exports){
14855 +},{}],98:[function(_dereq_,module,exports){
14856 /**
14857 * Copyright 2013-present, Facebook, Inc.
14858 * All rights reserved.
@@ -14786,15 +14868,15 @@ module.exports = SVGDOMPropertyConfig;
14868
14869 var EventConstants = _dereq_(16);
14870 var EventPropagators = _dereq_(20);
14789 -var ExecutionEnvironment = _dereq_(145);
14871 +var ExecutionEnvironment = _dereq_(147);
14872 var ReactDOMComponentTree = _dereq_(41);
14791 -var ReactInputSelection = _dereq_(71);
14792 -var SyntheticEvent = _dereq_(102);
14873 +var ReactInputSelection = _dereq_(72);
14874 +var SyntheticEvent = _dereq_(104);
14875
14794 -var getActiveElement = _dereq_(154);
14795 -var isTextInputElement = _dereq_(134);
14796 -var keyOf = _dereq_(163);
14797 -var shallowEqual = _dereq_(168);
14876 +var getActiveElement = _dereq_(156);
14877 +var isTextInputElement = _dereq_(136);
14878 +var keyOf = _dereq_(165);
14879 +var shallowEqual = _dereq_(170);
14880
14881 var topLevelTypes = EventConstants.topLevelTypes;
14882
@@ -14967,7 +15049,7 @@ var SelectEventPlugin = {
15049 };
15050
15051 module.exports = SelectEventPlugin;
14970 -},{"102":102,"134":134,"145":145,"154":154,"16":16,"163":163,"168":168,"20":20,"41":41,"71":71}],97:[function(_dereq_,module,exports){
15052 +},{"104":104,"136":136,"147":147,"156":156,"16":16,"165":165,"170":170,"20":20,"41":41,"72":72}],99:[function(_dereq_,module,exports){
15053 /**
15054 * Copyright 2013-present, Facebook, Inc.
15055 * All rights reserved.
@@ -14981,28 +15063,28 @@ module.exports = SelectEventPlugin;
15063
15064 'use strict';
15065
14984 -var _prodInvariant = _dereq_(137);
15066 +var _prodInvariant = _dereq_(139);
15067
15068 var EventConstants = _dereq_(16);
14987 -var EventListener = _dereq_(144);
15069 +var EventListener = _dereq_(146);
15070 var EventPropagators = _dereq_(20);
15071 var ReactDOMComponentTree = _dereq_(41);
14990 -var SyntheticAnimationEvent = _dereq_(98);
14991 -var SyntheticClipboardEvent = _dereq_(99);
14992 -var SyntheticEvent = _dereq_(102);
14993 -var SyntheticFocusEvent = _dereq_(103);
14994 -var SyntheticKeyboardEvent = _dereq_(105);
14995 -var SyntheticMouseEvent = _dereq_(106);
14996 -var SyntheticDragEvent = _dereq_(101);
14997 -var SyntheticTouchEvent = _dereq_(107);
14998 -var SyntheticTransitionEvent = _dereq_(108);
14999 -var SyntheticUIEvent = _dereq_(109);
15000 -var SyntheticWheelEvent = _dereq_(110);
15001 -
15002 -var emptyFunction = _dereq_(151);
15003 -var getEventCharCode = _dereq_(123);
15004 -var invariant = _dereq_(159);
15005 -var keyOf = _dereq_(163);
15072 +var SyntheticAnimationEvent = _dereq_(100);
15073 +var SyntheticClipboardEvent = _dereq_(101);
15074 +var SyntheticEvent = _dereq_(104);
15075 +var SyntheticFocusEvent = _dereq_(105);
15076 +var SyntheticKeyboardEvent = _dereq_(107);
15077 +var SyntheticMouseEvent = _dereq_(108);
15078 +var SyntheticDragEvent = _dereq_(103);
15079 +var SyntheticTouchEvent = _dereq_(109);
15080 +var SyntheticTransitionEvent = _dereq_(110);
15081 +var SyntheticUIEvent = _dereq_(111);
15082 +var SyntheticWheelEvent = _dereq_(112);
15083 +
15084 +var emptyFunction = _dereq_(153);
15085 +var getEventCharCode = _dereq_(125);
15086 +var invariant = _dereq_(161);
15087 +var keyOf = _dereq_(165);
15088
15089 var topLevelTypes = EventConstants.topLevelTypes;
15090
@@ -15597,7 +15679,7 @@ var SimpleEventPlugin = {
15679 };
15680
15681 module.exports = SimpleEventPlugin;
15600 -},{"101":101,"102":102,"103":103,"105":105,"106":106,"107":107,"108":108,"109":109,"110":110,"123":123,"137":137,"144":144,"151":151,"159":159,"16":16,"163":163,"20":20,"41":41,"98":98,"99":99}],98:[function(_dereq_,module,exports){
15682 +},{"100":100,"101":101,"103":103,"104":104,"105":105,"107":107,"108":108,"109":109,"110":110,"111":111,"112":112,"125":125,"139":139,"146":146,"153":153,"16":16,"161":161,"165":165,"20":20,"41":41}],100:[function(_dereq_,module,exports){
15683 /**
15684 * Copyright 2013-present, Facebook, Inc.
15685 * All rights reserved.
@@ -15611,7 +15693,7 @@ module.exports = SimpleEventPlugin;
15693
15694 'use strict';
15695
15614 -var SyntheticEvent = _dereq_(102);
15696 +var SyntheticEvent = _dereq_(104);
15697
15698 /**
15699 * @interface Event
@@ -15637,7 +15719,7 @@ function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, na
15719 SyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface);
15720
15721 module.exports = SyntheticAnimationEvent;
15640 -},{"102":102}],99:[function(_dereq_,module,exports){
15722 +},{"104":104}],101:[function(_dereq_,module,exports){
15723 /**
15724 * Copyright 2013-present, Facebook, Inc.
15725 * All rights reserved.
@@ -15651,7 +15733,7 @@ module.exports = SyntheticAnimationEvent;
15733
15734 'use strict';
15735
15654 -var SyntheticEvent = _dereq_(102);
15736 +var SyntheticEvent = _dereq_(104);
15737
15738 /**
15739 * @interface Event
@@ -15676,7 +15758,7 @@ function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, na
15758 SyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);
15759
15760 module.exports = SyntheticClipboardEvent;
15679 -},{"102":102}],100:[function(_dereq_,module,exports){
15761 +},{"104":104}],102:[function(_dereq_,module,exports){
15762 /**
15763 * Copyright 2013-present, Facebook, Inc.
15764 * All rights reserved.
@@ -15690,7 +15772,7 @@ module.exports = SyntheticClipboardEvent;
15772
15773 'use strict';
15774
15693 -var SyntheticEvent = _dereq_(102);
15775 +var SyntheticEvent = _dereq_(104);
15776
15777 /**
15778 * @interface Event
@@ -15713,7 +15795,7 @@ function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent,
15795 SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);
15796
15797 module.exports = SyntheticCompositionEvent;
15716 -},{"102":102}],101:[function(_dereq_,module,exports){
15798 +},{"104":104}],103:[function(_dereq_,module,exports){
15799 /**
15800 * Copyright 2013-present, Facebook, Inc.
15801 * All rights reserved.
@@ -15727,7 +15809,7 @@ module.exports = SyntheticCompositionEvent;
15809
15810 'use strict';
15811
15730 -var SyntheticMouseEvent = _dereq_(106);
15812 +var SyntheticMouseEvent = _dereq_(108);
15813
15814 /**
15815 * @interface DragEvent
@@ -15750,7 +15832,7 @@ function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeE
15832 SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);
15833
15834 module.exports = SyntheticDragEvent;
15753 -},{"106":106}],102:[function(_dereq_,module,exports){
15835 +},{"108":108}],104:[function(_dereq_,module,exports){
15836 /**
15837 * Copyright 2013-present, Facebook, Inc.
15838 * All rights reserved.
@@ -15764,12 +15846,12 @@ module.exports = SyntheticDragEvent;
15846
15847 'use strict';
15848
15767 -var _assign = _dereq_(170);
15849 +var _assign = _dereq_(172);
15850
15851 var PooledClass = _dereq_(25);
15852
15771 -var emptyFunction = _dereq_(151);
15772 -var warning = _dereq_(169);
15853 +var emptyFunction = _dereq_(153);
15854 +var warning = _dereq_(171);
15855
15856 var didWarnForAddedNewProperty = false;
15857 var isProxySupported = typeof Proxy === 'function';
@@ -16011,7 +16093,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
16093 "development" !== 'production' ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\'re seeing this, ' + 'you\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;
16094 }
16095 }
16014 -},{"151":151,"169":169,"170":170,"25":25}],103:[function(_dereq_,module,exports){
16096 +},{"153":153,"171":171,"172":172,"25":25}],105:[function(_dereq_,module,exports){
16097 /**
16098 * Copyright 2013-present, Facebook, Inc.
16099 * All rights reserved.
@@ -16025,7 +16107,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
16107
16108 'use strict';
16109
16028 -var SyntheticUIEvent = _dereq_(109);
16110 +var SyntheticUIEvent = _dereq_(111);
16111
16112 /**
16113 * @interface FocusEvent
@@ -16048,7 +16130,7 @@ function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, native
16130 SyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);
16131
16132 module.exports = SyntheticFocusEvent;
16051 -},{"109":109}],104:[function(_dereq_,module,exports){
16133 +},{"111":111}],106:[function(_dereq_,module,exports){
16134 /**
16135 * Copyright 2013-present, Facebook, Inc.
16136 * All rights reserved.
@@ -16062,7 +16144,7 @@ module.exports = SyntheticFocusEvent;
16144
16145 'use strict';
16146
16065 -var SyntheticEvent = _dereq_(102);
16147 +var SyntheticEvent = _dereq_(104);
16148
16149 /**
16150 * @interface Event
@@ -16086,7 +16168,7 @@ function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, native
16168 SyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);
16169
16170 module.exports = SyntheticInputEvent;
16089 -},{"102":102}],105:[function(_dereq_,module,exports){
16171 +},{"104":104}],107:[function(_dereq_,module,exports){
16172 /**
16173 * Copyright 2013-present, Facebook, Inc.
16174 * All rights reserved.
@@ -16100,11 +16182,11 @@ module.exports = SyntheticInputEvent;
16182
16183 'use strict';
16184
16103 -var SyntheticUIEvent = _dereq_(109);
16185 +var SyntheticUIEvent = _dereq_(111);
16186
16105 -var getEventCharCode = _dereq_(123);
16106 -var getEventKey = _dereq_(124);
16107 -var getEventModifierState = _dereq_(125);
16187 +var getEventCharCode = _dereq_(125);
16188 +var getEventKey = _dereq_(126);
16189 +var getEventModifierState = _dereq_(127);
16190
16191 /**
16192 * @interface KeyboardEvent
@@ -16171,7 +16253,7 @@ function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nat
16253 SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);
16254
16255 module.exports = SyntheticKeyboardEvent;
16174 -},{"109":109,"123":123,"124":124,"125":125}],106:[function(_dereq_,module,exports){
16256 +},{"111":111,"125":125,"126":126,"127":127}],108:[function(_dereq_,module,exports){
16257 /**
16258 * Copyright 2013-present, Facebook, Inc.
16259 * All rights reserved.
@@ -16185,10 +16267,10 @@ module.exports = SyntheticKeyboardEvent;
16267
16268 'use strict';
16269
16188 -var SyntheticUIEvent = _dereq_(109);
16189 -var ViewportMetrics = _dereq_(112);
16270 +var SyntheticUIEvent = _dereq_(111);
16271 +var ViewportMetrics = _dereq_(114);
16272
16191 -var getEventModifierState = _dereq_(125);
16273 +var getEventModifierState = _dereq_(127);
16274
16275 /**
16276 * @interface MouseEvent
@@ -16244,7 +16326,7 @@ function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, native
16326 SyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);
16327
16328 module.exports = SyntheticMouseEvent;
16247 -},{"109":109,"112":112,"125":125}],107:[function(_dereq_,module,exports){
16329 +},{"111":111,"114":114,"127":127}],109:[function(_dereq_,module,exports){
16330 /**
16331 * Copyright 2013-present, Facebook, Inc.
16332 * All rights reserved.
@@ -16258,9 +16340,9 @@ module.exports = SyntheticMouseEvent;
16340
16341 'use strict';
16342
16261 -var SyntheticUIEvent = _dereq_(109);
16343 +var SyntheticUIEvent = _dereq_(111);
16344
16263 -var getEventModifierState = _dereq_(125);
16345 +var getEventModifierState = _dereq_(127);
16346
16347 /**
16348 * @interface TouchEvent
@@ -16290,7 +16372,7 @@ function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, native
16372 SyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);
16373
16374 module.exports = SyntheticTouchEvent;
16293 -},{"109":109,"125":125}],108:[function(_dereq_,module,exports){
16375 +},{"111":111,"127":127}],110:[function(_dereq_,module,exports){
16376 /**
16377 * Copyright 2013-present, Facebook, Inc.
16378 * All rights reserved.
@@ -16304,7 +16386,7 @@ module.exports = SyntheticTouchEvent;
16386
16387 'use strict';
16388
16307 -var SyntheticEvent = _dereq_(102);
16389 +var SyntheticEvent = _dereq_(104);
16390
16391 /**
16392 * @interface Event
@@ -16330,7 +16412,7 @@ function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, n
16412 SyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface);
16413
16414 module.exports = SyntheticTransitionEvent;
16333 -},{"102":102}],109:[function(_dereq_,module,exports){
16415 +},{"104":104}],111:[function(_dereq_,module,exports){
16416 /**
16417 * Copyright 2013-present, Facebook, Inc.
16418 * All rights reserved.
@@ -16344,9 +16426,9 @@ module.exports = SyntheticTransitionEvent;
16426
16427 'use strict';
16428
16347 -var SyntheticEvent = _dereq_(102);
16429 +var SyntheticEvent = _dereq_(104);
16430
16349 -var getEventTarget = _dereq_(126);
16431 +var getEventTarget = _dereq_(128);
16432
16433 /**
16434 * @interface UIEvent
@@ -16390,7 +16472,7 @@ function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEve
16472 SyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);
16473
16474 module.exports = SyntheticUIEvent;
16393 -},{"102":102,"126":126}],110:[function(_dereq_,module,exports){
16475 +},{"104":104,"128":128}],112:[function(_dereq_,module,exports){
16476 /**
16477 * Copyright 2013-present, Facebook, Inc.
16478 * All rights reserved.
@@ -16404,7 +16486,7 @@ module.exports = SyntheticUIEvent;
16486
16487 'use strict';
16488
16407 -var SyntheticMouseEvent = _dereq_(106);
16489 +var SyntheticMouseEvent = _dereq_(108);
16490
16491 /**
16492 * @interface WheelEvent
@@ -16445,7 +16527,7 @@ function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, native
16527 SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);
16528
16529 module.exports = SyntheticWheelEvent;
16448 -},{"106":106}],111:[function(_dereq_,module,exports){
16530 +},{"108":108}],113:[function(_dereq_,module,exports){
16531 /**
16532 * Copyright 2013-present, Facebook, Inc.
16533 * All rights reserved.
@@ -16459,9 +16541,9 @@ module.exports = SyntheticWheelEvent;
16541
16542 'use strict';
16543
16462 -var _prodInvariant = _dereq_(137);
16544 +var _prodInvariant = _dereq_(139);
16545
16464 -var invariant = _dereq_(159);
16546 +var invariant = _dereq_(161);
16547
16548 /**
16549 * `Transaction` creates a black box that is able to wrap any method such that
@@ -16679,7 +16761,7 @@ var Transaction = {
16761 };
16762
16763 module.exports = Transaction;
16682 -},{"137":137,"159":159}],112:[function(_dereq_,module,exports){
16764 +},{"139":139,"161":161}],114:[function(_dereq_,module,exports){
16765 /**
16766 * Copyright 2013-present, Facebook, Inc.
16767 * All rights reserved.
@@ -16707,7 +16789,7 @@ var ViewportMetrics = {
16789 };
16790
16791 module.exports = ViewportMetrics;
16710 -},{}],113:[function(_dereq_,module,exports){
16792 +},{}],115:[function(_dereq_,module,exports){
16793 /**
16794 * Copyright 2014-present, Facebook, Inc.
16795 * All rights reserved.
@@ -16717,16 +16799,16 @@ module.exports = ViewportMetrics;
16799 * of patent rights can be found in the PATENTS file in the same directory.
16800 *
16801 * @providesModule accumulateInto
16802 + *
16803 */
16804
16805 'use strict';
16806
16724 -var _prodInvariant = _dereq_(137);
16807 +var _prodInvariant = _dereq_(139);
16808
16726 -var invariant = _dereq_(159);
16809 +var invariant = _dereq_(161);
16810
16811 /**
16729 - *
16812 * Accumulates items that must not be null or undefined into the first one. This
16813 * is used to conserve memory by avoiding array allocations, and thus sacrifices
16814 * API cleanness. Since `current` can be null before being passed in and not
@@ -16741,26 +16823,23 @@ var invariant = _dereq_(159);
16823
16824 function accumulateInto(current, next) {
16825 !(next != null) ? "development" !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;
16826 +
16827 if (current == null) {
16828 return next;
16829 }
16830
16831 // Both are not empty. Warning: Never call x.concat(y) when you are not
16832 // certain that x is an Array (x could be a string with concat method).
16750 - var currentIsArray = Array.isArray(current);
16751 - var nextIsArray = Array.isArray(next);
16752 -
16753 - if (currentIsArray && nextIsArray) {
16754 - current.push.apply(current, next);
16755 - return current;
16756 - }
16757 -
16758 - if (currentIsArray) {
16833 + if (Array.isArray(current)) {
16834 + if (Array.isArray(next)) {
16835 + current.push.apply(current, next);
16836 + return current;
16837 + }
16838 current.push(next);
16839 return current;
16840 }
16841
16763 - if (nextIsArray) {
16842 + if (Array.isArray(next)) {
16843 // A bit too dangerous to mutate `next`.
16844 return [current].concat(next);
16845 }
@@ -16769,7 +16848,7 @@ function accumulateInto(current, next) {
16848 }
16849
16850 module.exports = accumulateInto;
16772 -},{"137":137,"159":159}],114:[function(_dereq_,module,exports){
16851 +},{"139":139,"161":161}],116:[function(_dereq_,module,exports){
16852 /**
16853 * Copyright 2013-present, Facebook, Inc.
16854 * All rights reserved.
@@ -16779,6 +16858,7 @@ module.exports = accumulateInto;
16858 * of patent rights can be found in the PATENTS file in the same directory.
16859 *
16860 * @providesModule adler32
16861 + *
16862 */
16863
16864 'use strict';
@@ -16813,7 +16893,7 @@ function adler32(data) {
16893 }
16894
16895 module.exports = adler32;
16816 -},{}],115:[function(_dereq_,module,exports){
16896 +},{}],117:[function(_dereq_,module,exports){
16897 /**
16898 * Copyright 2013-present, Facebook, Inc.
16899 * All rights reserved.
@@ -16838,7 +16918,7 @@ if ("development" !== 'production') {
16918 }
16919
16920 module.exports = canDefineProperty;
16841 -},{}],116:[function(_dereq_,module,exports){
16921 +},{}],118:[function(_dereq_,module,exports){
16922 /**
16923 * Copyright 2013-present, Facebook, Inc.
16924 * All rights reserved.
@@ -16852,13 +16932,12 @@ module.exports = canDefineProperty;
16932
16933 'use strict';
16934
16855 -var _prodInvariant = _dereq_(137);
16935 +var _prodInvariant = _dereq_(139);
16936
16857 -var ReactComponentTreeDevtool = _dereq_(34);
16858 -var ReactPropTypeLocationNames = _dereq_(82);
16937 +var ReactPropTypeLocationNames = _dereq_(83);
16938
16860 -var invariant = _dereq_(159);
16861 -var warning = _dereq_(169);
16939 +var invariant = _dereq_(161);
16940 +var warning = _dereq_(171);
16941
16942 var loggedTypeFailures = {};
16943
@@ -16897,10 +16976,13 @@ function checkReactTypeSpec(typeSpecs, values, location, componentName, element,
16976
16977 var componentStackInfo = '';
16978
16900 - if (debugID !== null) {
16901 - componentStackInfo = ReactComponentTreeDevtool.getStackAddendumByID(debugID);
16902 - } else if (element !== null) {
16903 - componentStackInfo = ReactComponentTreeDevtool.getCurrentStackAddendum(element);
16979 + if ("development" !== 'production') {
16980 + var ReactComponentTreeDevtool = _dereq_(34);
16981 + if (debugID !== null) {
16982 + componentStackInfo = ReactComponentTreeDevtool.getStackAddendumByID(debugID);
16983 + } else if (element !== null) {
16984 + componentStackInfo = ReactComponentTreeDevtool.getCurrentStackAddendum(element);
16985 + }
16986 }
16987
16988 "development" !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;
@@ -16910,7 +16992,7 @@ function checkReactTypeSpec(typeSpecs, values, location, componentName, element,
16992 }
16993
16994 module.exports = checkReactTypeSpec;
16913 -},{"137":137,"159":159,"169":169,"34":34,"82":82}],117:[function(_dereq_,module,exports){
16995 +},{"139":139,"161":161,"171":171,"34":34,"83":83}],119:[function(_dereq_,module,exports){
16996 /**
16997 * Copyright 2013-present, Facebook, Inc.
16998 * All rights reserved.
@@ -16943,7 +17025,7 @@ var createMicrosoftUnsafeLocalFunction = function (func) {
17025 };
17026
17027 module.exports = createMicrosoftUnsafeLocalFunction;
16946 -},{}],118:[function(_dereq_,module,exports){
17028 +},{}],120:[function(_dereq_,module,exports){
17029 /**
17030 * Copyright 2013-present, Facebook, Inc.
17031 * All rights reserved.
@@ -16958,7 +17040,7 @@ module.exports = createMicrosoftUnsafeLocalFunction;
17040 'use strict';
17041
17042 var CSSProperty = _dereq_(3);
16961 -var warning = _dereq_(169);
17043 +var warning = _dereq_(171);
17044
17045 var isUnitlessNumber = CSSProperty.isUnitlessNumber;
17046 var styleWarnings = {};
@@ -17023,7 +17105,7 @@ function dangerousStyleValue(name, value, component) {
17105 }
17106
17107 module.exports = dangerousStyleValue;
17026 -},{"169":169,"3":3}],119:[function(_dereq_,module,exports){
17108 +},{"171":171,"3":3}],121:[function(_dereq_,module,exports){
17109 /**
17110 * Copyright 2016-present, Facebook, Inc.
17111 * All rights reserved.
@@ -17146,7 +17228,7 @@ function escapeTextContentForBrowser(text) {
17228 }
17229
17230 module.exports = escapeTextContentForBrowser;
17149 -},{}],120:[function(_dereq_,module,exports){
17231 +},{}],122:[function(_dereq_,module,exports){
17232 /**
17233 * Copyright 2013-present, Facebook, Inc.
17234 * All rights reserved.
@@ -17160,15 +17242,15 @@ module.exports = escapeTextContentForBrowser;
17242
17243 'use strict';
17244
17163 -var _prodInvariant = _dereq_(137);
17245 +var _prodInvariant = _dereq_(139);
17246
17247 var ReactCurrentOwner = _dereq_(36);
17248 var ReactDOMComponentTree = _dereq_(41);
17167 -var ReactInstanceMap = _dereq_(72);
17249 +var ReactInstanceMap = _dereq_(73);
17250
17169 -var getHostComponentFromComposite = _dereq_(127);
17170 -var invariant = _dereq_(159);
17171 -var warning = _dereq_(169);
17251 +var getHostComponentFromComposite = _dereq_(129);
17252 +var invariant = _dereq_(161);
17253 +var warning = _dereq_(171);
17254
17255 /**
17256 * Returns the DOM node rendered by this element.
@@ -17207,7 +17289,7 @@ function findDOMNode(componentOrElement) {
17289 }
17290
17291 module.exports = findDOMNode;
17210 -},{"127":127,"137":137,"159":159,"169":169,"36":36,"41":41,"72":72}],121:[function(_dereq_,module,exports){
17292 +},{"129":129,"139":139,"161":161,"171":171,"36":36,"41":41,"73":73}],123:[function(_dereq_,module,exports){
17293 /**
17294 * Copyright 2013-present, Facebook, Inc.
17295 * All rights reserved.
@@ -17217,14 +17299,14 @@ module.exports = findDOMNode;
17299 * of patent rights can be found in the PATENTS file in the same directory.
17300 *
17301 * @providesModule flattenChildren
17302 + *
17303 */
17304
17305 'use strict';
17306
17224 -var ReactComponentTreeDevtool = _dereq_(34);
17307 var KeyEscapeUtils = _dereq_(23);
17226 -var traverseAllChildren = _dereq_(142);
17227 -var warning = _dereq_(169);
17308 +var traverseAllChildren = _dereq_(144);
17309 +var warning = _dereq_(171);
17310
17311 /**
17312 * @param {function} traverseContext Context passed through traversal.
@@ -17234,13 +17316,16 @@ var warning = _dereq_(169);
17316 */
17317 function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {
17318 // We found a component instance.
17237 - var result = traverseContext;
17238 - var keyUnique = result[name] === undefined;
17239 - if ("development" !== 'production') {
17240 - "development" !== 'production' ? warning(keyUnique, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeDevtool.getStackAddendumByID(selfDebugID)) : void 0;
17241 - }
17242 - if (keyUnique && child != null) {
17243 - result[name] = child;
17319 + if (traverseContext && typeof traverseContext === 'object') {
17320 + var result = traverseContext;
17321 + var keyUnique = result[name] === undefined;
17322 + if ("development" !== 'production') {
17323 + var ReactComponentTreeDevtool = _dereq_(34);
17324 + "development" !== 'production' ? warning(keyUnique, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeDevtool.getStackAddendumByID(selfDebugID)) : void 0;
17325 + }
17326 + if (keyUnique && child != null) {
17327 + result[name] = child;
17328 + }
17329 }
17330 }
17331
@@ -17266,7 +17351,7 @@ function flattenChildren(children, selfDebugID) {
17351 }
17352
17353 module.exports = flattenChildren;
17269 -},{"142":142,"169":169,"23":23,"34":34}],122:[function(_dereq_,module,exports){
17354 +},{"144":144,"171":171,"23":23,"34":34}],124:[function(_dereq_,module,exports){
17355 /**
17356 * Copyright 2013-present, Facebook, Inc.
17357 * All rights reserved.
@@ -17276,6 +17361,7 @@ module.exports = flattenChildren;
17361 * of patent rights can be found in the PATENTS file in the same directory.
17362 *
17363 * @providesModule forEachAccumulated
17364 + *
17365 */
17366
17367 'use strict';
@@ -17288,16 +17374,16 @@ module.exports = flattenChildren;
17374 * allocate an array).
17375 */
17376
17291 -var forEachAccumulated = function (arr, cb, scope) {
17377 +function forEachAccumulated(arr, cb, scope) {
17378 if (Array.isArray(arr)) {
17379 arr.forEach(cb, scope);
17380 } else if (arr) {
17381 cb.call(scope, arr);
17382 }
17297 -};
17383 +}
17384
17385 module.exports = forEachAccumulated;
17300 -},{}],123:[function(_dereq_,module,exports){
17386 +},{}],125:[function(_dereq_,module,exports){
17387 /**
17388 * Copyright 2013-present, Facebook, Inc.
17389 * All rights reserved.
@@ -17348,7 +17434,7 @@ function getEventCharCode(nativeEvent) {
17434 }
17435
17436 module.exports = getEventCharCode;
17351 -},{}],124:[function(_dereq_,module,exports){
17437 +},{}],126:[function(_dereq_,module,exports){
17438 /**
17439 * Copyright 2013-present, Facebook, Inc.
17440 * All rights reserved.
@@ -17362,7 +17448,7 @@ module.exports = getEventCharCode;
17448
17449 'use strict';
17450
17365 -var getEventCharCode = _dereq_(123);
17451 +var getEventCharCode = _dereq_(125);
17452
17453 /**
17454 * Normalization of deprecated HTML5 `key` values
@@ -17451,7 +17537,7 @@ function getEventKey(nativeEvent) {
17537 }
17538
17539 module.exports = getEventKey;
17454 -},{"123":123}],125:[function(_dereq_,module,exports){
17540 +},{"125":125}],127:[function(_dereq_,module,exports){
17541 /**
17542 * Copyright 2013-present, Facebook, Inc.
17543 * All rights reserved.
@@ -17495,7 +17581,7 @@ function getEventModifierState(nativeEvent) {
17581 }
17582
17583 module.exports = getEventModifierState;
17498 -},{}],126:[function(_dereq_,module,exports){
17584 +},{}],128:[function(_dereq_,module,exports){
17585 /**
17586 * Copyright 2013-present, Facebook, Inc.
17587 * All rights reserved.
@@ -17531,7 +17617,7 @@ function getEventTarget(nativeEvent) {
17617 }
17618
17619 module.exports = getEventTarget;
17534 -},{}],127:[function(_dereq_,module,exports){
17620 +},{}],129:[function(_dereq_,module,exports){
17621 /**
17622 * Copyright 2013-present, Facebook, Inc.
17623 * All rights reserved.
@@ -17545,7 +17631,7 @@ module.exports = getEventTarget;
17631
17632 'use strict';
17633
17548 -var ReactNodeTypes = _dereq_(79);
17634 +var ReactNodeTypes = _dereq_(80);
17635
17636 function getHostComponentFromComposite(inst) {
17637 var type;
@@ -17562,7 +17648,7 @@ function getHostComponentFromComposite(inst) {
17648 }
17649
17650 module.exports = getHostComponentFromComposite;
17565 -},{"79":79}],128:[function(_dereq_,module,exports){
17651 +},{"80":80}],130:[function(_dereq_,module,exports){
17652 /**
17653 * Copyright 2013-present, Facebook, Inc.
17654 * All rights reserved.
@@ -17572,6 +17658,7 @@ module.exports = getHostComponentFromComposite;
17658 * of patent rights can be found in the PATENTS file in the same directory.
17659 *
17660 * @providesModule getIteratorFn
17661 + *
17662 */
17663
17664 'use strict';
@@ -17603,7 +17690,7 @@ function getIteratorFn(maybeIterable) {
17690 }
17691
17692 module.exports = getIteratorFn;
17606 -},{}],129:[function(_dereq_,module,exports){
17693 +},{}],131:[function(_dereq_,module,exports){
17694 /**
17695 * Copyright 2013-present, Facebook, Inc.
17696 * All rights reserved.
@@ -17678,7 +17765,7 @@ function getNodeForCharacterOffset(root, offset) {
17765 }
17766
17767 module.exports = getNodeForCharacterOffset;
17681 -},{}],130:[function(_dereq_,module,exports){
17768 +},{}],132:[function(_dereq_,module,exports){
17769 /**
17770 * Copyright 2013-present, Facebook, Inc.
17771 * All rights reserved.
@@ -17692,7 +17779,7 @@ module.exports = getNodeForCharacterOffset;
17779
17780 'use strict';
17781
17695 -var ExecutionEnvironment = _dereq_(145);
17782 +var ExecutionEnvironment = _dereq_(147);
17783
17784 var contentKey = null;
17785
@@ -17712,7 +17799,7 @@ function getTextContentAccessor() {
17799 }
17800
17801 module.exports = getTextContentAccessor;
17715 -},{"145":145}],131:[function(_dereq_,module,exports){
17802 +},{"147":147}],133:[function(_dereq_,module,exports){
17803 /**
17804 * Copyright 2013-present, Facebook, Inc.
17805 * All rights reserved.
@@ -17726,7 +17813,7 @@ module.exports = getTextContentAccessor;
17813
17814 'use strict';
17815
17729 -var ExecutionEnvironment = _dereq_(145);
17816 +var ExecutionEnvironment = _dereq_(147);
17817
17818 /**
17819 * Generate a mapping of standard vendor prefixes using the defined style property and event name.
@@ -17814,7 +17901,7 @@ function getVendorPrefixedEventName(eventName) {
17901 }
17902
17903 module.exports = getVendorPrefixedEventName;
17817 -},{"145":145}],132:[function(_dereq_,module,exports){
17904 +},{"147":147}],134:[function(_dereq_,module,exports){
17905 /**
17906 * Copyright 2013-present, Facebook, Inc.
17907 * All rights reserved.
@@ -17828,16 +17915,16 @@ module.exports = getVendorPrefixedEventName;
17915
17916 'use strict';
17917
17831 -var _prodInvariant = _dereq_(137),
17832 - _assign = _dereq_(170);
17918 +var _prodInvariant = _dereq_(139),
17919 + _assign = _dereq_(172);
17920
17921 var ReactCompositeComponent = _dereq_(35);
17835 -var ReactEmptyComponent = _dereq_(63);
17836 -var ReactHostComponent = _dereq_(68);
17837 -var ReactInstrumentation = _dereq_(73);
17922 +var ReactEmptyComponent = _dereq_(64);
17923 +var ReactHostComponent = _dereq_(69);
17924 +var ReactInstrumentation = _dereq_(74);
17925
17839 -var invariant = _dereq_(159);
17840 -var warning = _dereq_(169);
17926 +var invariant = _dereq_(161);
17927 +var warning = _dereq_(171);
17928
17929 // To avoid a cyclic dependency, we create the final class in this module
17930 var ReactCompositeComponentWrapper = function (element) {
@@ -17889,14 +17976,14 @@ var nextDebugID = 1;
17976 * Given a ReactNode, create an instance that will actually be mounted.
17977 *
17978 * @param {ReactNode} node
17979 + * @param {boolean} shouldHaveDebugID
17980 * @return {object} A new instance of the element's constructor.
17981 * @protected
17982 */
17895 -function instantiateReactComponent(node) {
17983 +function instantiateReactComponent(node, shouldHaveDebugID) {
17984 var instance;
17985
17898 - var isEmpty = node === null || node === false;
17899 - if (isEmpty) {
17986 + if (node === null || node === false) {
17987 instance = ReactEmptyComponent.create(instantiateReactComponent);
17988 } else if (typeof node === 'object') {
17989 var element = node;
@@ -17935,16 +18022,17 @@ function instantiateReactComponent(node) {
18022 instance._mountImage = null;
18023
18024 if ("development" !== 'production') {
17938 - var debugID = isEmpty ? 0 : nextDebugID++;
17939 - instance._debugID = debugID;
17940 -
17941 - if (debugID !== 0) {
18025 + if (shouldHaveDebugID) {
18026 + var debugID = nextDebugID++;
18027 + instance._debugID = debugID;
18028 var displayName = getDisplayName(instance);
18029 ReactInstrumentation.debugTool.onSetDisplayName(debugID, displayName);
18030 var owner = node && node._owner;
18031 if (owner) {
18032 ReactInstrumentation.debugTool.onSetOwner(debugID, owner._debugID);
18033 }
18034 + } else {
18035 + instance._debugID = 0;
18036 }
18037 }
18038
@@ -17960,7 +18048,7 @@ function instantiateReactComponent(node) {
18048 }
18049
18050 module.exports = instantiateReactComponent;
17963 -},{"137":137,"159":159,"169":169,"170":170,"35":35,"63":63,"68":68,"73":73}],133:[function(_dereq_,module,exports){
18051 +},{"139":139,"161":161,"171":171,"172":172,"35":35,"64":64,"69":69,"74":74}],135:[function(_dereq_,module,exports){
18052 /**
18053 * Copyright 2013-present, Facebook, Inc.
18054 * All rights reserved.
@@ -17974,7 +18062,7 @@ module.exports = instantiateReactComponent;
18062
18063 'use strict';
18064
17977 -var ExecutionEnvironment = _dereq_(145);
18065 +var ExecutionEnvironment = _dereq_(147);
18066
18067 var useHasFeature;
18068 if (ExecutionEnvironment.canUseDOM) {
@@ -18021,7 +18109,7 @@ function isEventSupported(eventNameSuffix, capture) {
18109 }
18110
18111 module.exports = isEventSupported;
18024 -},{"145":145}],134:[function(_dereq_,module,exports){
18112 +},{"147":147}],136:[function(_dereq_,module,exports){
18113 /**
18114 * Copyright 2013-present, Facebook, Inc.
18115 * All rights reserved.
@@ -18031,6 +18119,7 @@ module.exports = isEventSupported;
18119 * of patent rights can be found in the PATENTS file in the same directory.
18120 *
18121 * @providesModule isTextInputElement
18122 + *
18123 */
18124
18125 'use strict';
@@ -18059,11 +18148,20 @@ var supportedInputTypes = {
18148
18149 function isTextInputElement(elem) {
18150 var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
18062 - return nodeName && (nodeName === 'input' && supportedInputTypes[elem.type] || nodeName === 'textarea');
18151 +
18152 + if (nodeName === 'input') {
18153 + return !!supportedInputTypes[elem.type];
18154 + }
18155 +
18156 + if (nodeName === 'textarea') {
18157 + return true;
18158 + }
18159 +
18160 + return false;
18161 }
18162
18163 module.exports = isTextInputElement;
18066 -},{}],135:[function(_dereq_,module,exports){
18164 +},{}],137:[function(_dereq_,module,exports){
18165 /**
18166 * Copyright 2013-present, Facebook, Inc.
18167 * All rights reserved.
@@ -18076,11 +18174,11 @@ module.exports = isTextInputElement;
18174 */
18175 'use strict';
18176
18079 -var _prodInvariant = _dereq_(137);
18177 +var _prodInvariant = _dereq_(139);
18178
18081 -var ReactElement = _dereq_(61);
18179 +var ReactElement = _dereq_(62);
18180
18083 -var invariant = _dereq_(159);
18181 +var invariant = _dereq_(161);
18182
18183 /**
18184 * Returns the first child in a collection of children and verifies that there
@@ -18102,7 +18200,7 @@ function onlyChild(children) {
18200 }
18201
18202 module.exports = onlyChild;
18105 -},{"137":137,"159":159,"61":61}],136:[function(_dereq_,module,exports){
18203 +},{"139":139,"161":161,"62":62}],138:[function(_dereq_,module,exports){
18204 /**
18205 * Copyright 2013-present, Facebook, Inc.
18206 * All rights reserved.
@@ -18116,7 +18214,7 @@ module.exports = onlyChild;
18214
18215 'use strict';
18216
18119 -var escapeTextContentForBrowser = _dereq_(119);
18217 +var escapeTextContentForBrowser = _dereq_(121);
18218
18219 /**
18220 * Escapes attribute value to prevent scripting attacks.
@@ -18129,7 +18227,7 @@ function quoteAttributeValueForBrowser(value) {
18227 }
18228
18229 module.exports = quoteAttributeValueForBrowser;
18132 -},{"119":119}],137:[function(_dereq_,module,exports){
18230 +},{"121":121}],139:[function(_dereq_,module,exports){
18231 /**
18232 * Copyright (c) 2013-present, Facebook, Inc.
18233 * All rights reserved.
@@ -18139,6 +18237,7 @@ module.exports = quoteAttributeValueForBrowser;
18237 * of patent rights can be found in the PATENTS file in the same directory.
18238 *
18239 * @providesModule reactProdInvariant
18240 + *
18241 */
18242 'use strict';
18243
@@ -18168,7 +18267,7 @@ function reactProdInvariant(code) {
18267 }
18268
18269 module.exports = reactProdInvariant;
18171 -},{}],138:[function(_dereq_,module,exports){
18270 +},{}],140:[function(_dereq_,module,exports){
18271 /**
18272 * Copyright 2013-present, Facebook, Inc.
18273 * All rights reserved.
@@ -18182,10 +18281,10 @@ module.exports = reactProdInvariant;
18281
18282 'use strict';
18283
18185 -var ReactMount = _dereq_(76);
18284 +var ReactMount = _dereq_(77);
18285
18286 module.exports = ReactMount.renderSubtreeIntoContainer;
18188 -},{"76":76}],139:[function(_dereq_,module,exports){
18287 +},{"77":77}],141:[function(_dereq_,module,exports){
18288 /**
18289 * Copyright 2013-present, Facebook, Inc.
18290 * All rights reserved.
@@ -18199,13 +18298,13 @@ module.exports = ReactMount.renderSubtreeIntoContainer;
18298
18299 'use strict';
18300
18202 -var ExecutionEnvironment = _dereq_(145);
18301 +var ExecutionEnvironment = _dereq_(147);
18302 var DOMNamespaces = _dereq_(9);
18303
18304 var WHITESPACE_TEST = /^[ \r\n\t\f]/;
18305 var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/;
18306
18208 -var createMicrosoftUnsafeLocalFunction = _dereq_(117);
18307 +var createMicrosoftUnsafeLocalFunction = _dereq_(119);
18308
18309 // SVG temp container for IE lacking innerHTML
18310 var reusableSVGContainer;
@@ -18284,7 +18383,7 @@ if (ExecutionEnvironment.canUseDOM) {
18383 }
18384
18385 module.exports = setInnerHTML;
18287 -},{"117":117,"145":145,"9":9}],140:[function(_dereq_,module,exports){
18386 +},{"119":119,"147":147,"9":9}],142:[function(_dereq_,module,exports){
18387 /**
18388 * Copyright 2013-present, Facebook, Inc.
18389 * All rights reserved.
@@ -18298,9 +18397,9 @@ module.exports = setInnerHTML;
18397
18398 'use strict';
18399
18301 -var ExecutionEnvironment = _dereq_(145);
18302 -var escapeTextContentForBrowser = _dereq_(119);
18303 -var setInnerHTML = _dereq_(139);
18400 +var ExecutionEnvironment = _dereq_(147);
18401 +var escapeTextContentForBrowser = _dereq_(121);
18402 +var setInnerHTML = _dereq_(141);
18403
18404 /**
18405 * Set the textContent property of a node, ensuring that whitespace is preserved
@@ -18333,7 +18432,7 @@ if (ExecutionEnvironment.canUseDOM) {
18432 }
18433
18434 module.exports = setTextContent;
18336 -},{"119":119,"139":139,"145":145}],141:[function(_dereq_,module,exports){
18435 +},{"121":121,"141":141,"147":147}],143:[function(_dereq_,module,exports){
18436 /**
18437 * Copyright 2013-present, Facebook, Inc.
18438 * All rights reserved.
@@ -18376,7 +18475,7 @@ function shouldUpdateReactComponent(prevElement, nextElement) {
18475 }
18476
18477 module.exports = shouldUpdateReactComponent;
18379 -},{}],142:[function(_dereq_,module,exports){
18478 +},{}],144:[function(_dereq_,module,exports){
18479 /**
18480 * Copyright 2013-present, Facebook, Inc.
18481 * All rights reserved.
@@ -18390,15 +18489,15 @@ module.exports = shouldUpdateReactComponent;
18489
18490 'use strict';
18491
18393 -var _prodInvariant = _dereq_(137);
18492 +var _prodInvariant = _dereq_(139);
18493
18494 var ReactCurrentOwner = _dereq_(36);
18396 -var ReactElement = _dereq_(61);
18495 +var ReactElement = _dereq_(62);
18496
18398 -var getIteratorFn = _dereq_(128);
18399 -var invariant = _dereq_(159);
18497 +var getIteratorFn = _dereq_(130);
18498 +var invariant = _dereq_(161);
18499 var KeyEscapeUtils = _dereq_(23);
18401 -var warning = _dereq_(169);
18500 +var warning = _dereq_(171);
18501
18502 var SEPARATOR = '.';
18503 var SUBSEPARATOR = ':';
@@ -18537,7 +18636,7 @@ function traverseAllChildren(children, callback, traverseContext) {
18636 }
18637
18638 module.exports = traverseAllChildren;
18540 -},{"128":128,"137":137,"159":159,"169":169,"23":23,"36":36,"61":61}],143:[function(_dereq_,module,exports){
18639 +},{"130":130,"139":139,"161":161,"171":171,"23":23,"36":36,"62":62}],145:[function(_dereq_,module,exports){
18640 /**
18641 * Copyright 2015-present, Facebook, Inc.
18642 * All rights reserved.
@@ -18551,10 +18650,10 @@ module.exports = traverseAllChildren;
18650
18651 'use strict';
18652
18554 -var _assign = _dereq_(170);
18653 +var _assign = _dereq_(172);
18654
18556 -var emptyFunction = _dereq_(151);
18557 -var warning = _dereq_(169);
18655 +var emptyFunction = _dereq_(153);
18656 +var warning = _dereq_(171);
18657
18658 var validateDOMNesting = emptyFunction;
18659
@@ -18907,7 +19006,7 @@ if ("development" !== 'production') {
19006 }
19007
19008 module.exports = validateDOMNesting;
18910 -},{"151":151,"169":169,"170":170}],144:[function(_dereq_,module,exports){
19009 +},{"153":153,"171":171,"172":172}],146:[function(_dereq_,module,exports){
19010 'use strict';
19011
19012 /**
@@ -18928,7 +19027,7 @@ module.exports = validateDOMNesting;
19027 * @typechecks
19028 */
19029
18931 -var emptyFunction = _dereq_(151);
19030 +var emptyFunction = _dereq_(153);
19031
19032 /**
19033 * Upstream version of event listener. Does not take into account specific
@@ -18991,7 +19090,7 @@ var EventListener = {
19090 };
19091
19092 module.exports = EventListener;
18994 -},{"151":151}],145:[function(_dereq_,module,exports){
19093 +},{"153":153}],147:[function(_dereq_,module,exports){
19094 /**
19095 * Copyright (c) 2013-present, Facebook, Inc.
19096 * All rights reserved.
@@ -19027,7 +19126,7 @@ var ExecutionEnvironment = {
19126 };
19127
19128 module.exports = ExecutionEnvironment;
19030 -},{}],146:[function(_dereq_,module,exports){
19129 +},{}],148:[function(_dereq_,module,exports){
19130 "use strict";
19131
19132 /**
@@ -19059,7 +19158,7 @@ function camelize(string) {
19158 }
19159
19160 module.exports = camelize;
19062 -},{}],147:[function(_dereq_,module,exports){
19161 +},{}],149:[function(_dereq_,module,exports){
19162 /**
19163 * Copyright (c) 2013-present, Facebook, Inc.
19164 * All rights reserved.
@@ -19073,7 +19172,7 @@ module.exports = camelize;
19172
19173 'use strict';
19174
19076 -var camelize = _dereq_(146);
19175 +var camelize = _dereq_(148);
19176
19177 var msPattern = /^-ms-/;
19178
@@ -19099,7 +19198,7 @@ function camelizeStyleName(string) {
19198 }
19199
19200 module.exports = camelizeStyleName;
19102 -},{"146":146}],148:[function(_dereq_,module,exports){
19201 +},{"148":148}],150:[function(_dereq_,module,exports){
19202 'use strict';
19203
19204 /**
@@ -19113,7 +19212,7 @@ module.exports = camelizeStyleName;
19212 *
19213 */
19214
19116 -var isTextNode = _dereq_(161);
19215 +var isTextNode = _dereq_(163);
19216
19217 /*eslint-disable no-bitwise */
19218
@@ -19139,7 +19238,7 @@ function containsNode(outerNode, innerNode) {
19238 }
19239
19240 module.exports = containsNode;
19142 -},{"161":161}],149:[function(_dereq_,module,exports){
19241 +},{"163":163}],151:[function(_dereq_,module,exports){
19242 'use strict';
19243
19244 /**
@@ -19153,7 +19252,7 @@ module.exports = containsNode;
19252 * @typechecks
19253 */
19254
19156 -var invariant = _dereq_(159);
19255 +var invariant = _dereq_(161);
19256
19257 /**
19258 * Convert array-like objects to arrays.
@@ -19266,7 +19365,7 @@ function createArrayFromMixed(obj) {
19365 }
19366
19367 module.exports = createArrayFromMixed;
19269 -},{"159":159}],150:[function(_dereq_,module,exports){
19368 +},{"161":161}],152:[function(_dereq_,module,exports){
19369 'use strict';
19370
19371 /**
@@ -19282,11 +19381,11 @@ module.exports = createArrayFromMixed;
19381
19382 /*eslint-disable fb-www/unsafe-html*/
19383
19285 -var ExecutionEnvironment = _dereq_(145);
19384 +var ExecutionEnvironment = _dereq_(147);
19385
19287 -var createArrayFromMixed = _dereq_(149);
19288 -var getMarkupWrap = _dereq_(155);
19289 -var invariant = _dereq_(159);
19386 +var createArrayFromMixed = _dereq_(151);
19387 +var getMarkupWrap = _dereq_(157);
19388 +var invariant = _dereq_(161);
19389
19390 /**
19391 * Dummy container used to render all markup.
@@ -19350,7 +19449,7 @@ function createNodesFromMarkup(markup, handleScript) {
19449 }
19450
19451 module.exports = createNodesFromMarkup;
19353 -},{"145":145,"149":149,"155":155,"159":159}],151:[function(_dereq_,module,exports){
19452 +},{"147":147,"151":151,"157":157,"161":161}],153:[function(_dereq_,module,exports){
19453 "use strict";
19454
19455 /**
@@ -19389,7 +19488,7 @@ emptyFunction.thatReturnsArgument = function (arg) {
19488 };
19489
19490 module.exports = emptyFunction;
19392 -},{}],152:[function(_dereq_,module,exports){
19491 +},{}],154:[function(_dereq_,module,exports){
19492 /**
19493 * Copyright (c) 2013-present, Facebook, Inc.
19494 * All rights reserved.
@@ -19409,7 +19508,7 @@ if ("development" !== 'production') {
19508 }
19509
19510 module.exports = emptyObject;
19412 -},{}],153:[function(_dereq_,module,exports){
19511 +},{}],155:[function(_dereq_,module,exports){
19512 /**
19513 * Copyright (c) 2013-present, Facebook, Inc.
19514 * All rights reserved.
@@ -19436,7 +19535,7 @@ function focusNode(node) {
19535 }
19536
19537 module.exports = focusNode;
19439 -},{}],154:[function(_dereq_,module,exports){
19538 +},{}],156:[function(_dereq_,module,exports){
19539 'use strict';
19540
19541 /**
@@ -19471,7 +19570,7 @@ function getActiveElement() /*?DOMElement*/{
19570 }
19571
19572 module.exports = getActiveElement;
19474 -},{}],155:[function(_dereq_,module,exports){
19573 +},{}],157:[function(_dereq_,module,exports){
19574 'use strict';
19575
19576 /**
@@ -19486,9 +19585,9 @@ module.exports = getActiveElement;
19585
19586 /*eslint-disable fb-www/unsafe-html */
19587
19489 -var ExecutionEnvironment = _dereq_(145);
19588 +var ExecutionEnvironment = _dereq_(147);
19589
19491 -var invariant = _dereq_(159);
19590 +var invariant = _dereq_(161);
19591
19592 /**
19593 * Dummy container used to detect which wraps are necessary.
@@ -19566,7 +19665,7 @@ function getMarkupWrap(nodeName) {
19665 }
19666
19667 module.exports = getMarkupWrap;
19569 -},{"145":145,"159":159}],156:[function(_dereq_,module,exports){
19668 +},{"147":147,"161":161}],158:[function(_dereq_,module,exports){
19669 /**
19670 * Copyright (c) 2013-present, Facebook, Inc.
19671 * All rights reserved.
@@ -19605,7 +19704,7 @@ function getUnboundedScrollPosition(scrollable) {
19704 }
19705
19706 module.exports = getUnboundedScrollPosition;
19608 -},{}],157:[function(_dereq_,module,exports){
19707 +},{}],159:[function(_dereq_,module,exports){
19708 'use strict';
19709
19710 /**
@@ -19638,7 +19737,7 @@ function hyphenate(string) {
19737 }
19738
19739 module.exports = hyphenate;
19641 -},{}],158:[function(_dereq_,module,exports){
19740 +},{}],160:[function(_dereq_,module,exports){
19741 /**
19742 * Copyright (c) 2013-present, Facebook, Inc.
19743 * All rights reserved.
@@ -19652,7 +19751,7 @@ module.exports = hyphenate;
19751
19752 'use strict';
19753
19655 -var hyphenate = _dereq_(157);
19754 +var hyphenate = _dereq_(159);
19755
19756 var msPattern = /^ms-/;
19757
@@ -19677,7 +19776,7 @@ function hyphenateStyleName(string) {
19776 }
19777
19778 module.exports = hyphenateStyleName;
19680 -},{"157":157}],159:[function(_dereq_,module,exports){
19779 +},{"159":159}],161:[function(_dereq_,module,exports){
19780 /**
19781 * Copyright (c) 2013-present, Facebook, Inc.
19782 * All rights reserved.
@@ -19727,7 +19826,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
19826 }
19827
19828 module.exports = invariant;
19730 -},{}],160:[function(_dereq_,module,exports){
19829 +},{}],162:[function(_dereq_,module,exports){
19830 'use strict';
19831
19832 /**
@@ -19750,7 +19849,7 @@ function isNode(object) {
19849 }
19850
19851 module.exports = isNode;
19753 -},{}],161:[function(_dereq_,module,exports){
19852 +},{}],163:[function(_dereq_,module,exports){
19853 'use strict';
19854
19855 /**
@@ -19764,7 +19863,7 @@ module.exports = isNode;
19863 * @typechecks
19864 */
19865
19767 -var isNode = _dereq_(160);
19866 +var isNode = _dereq_(162);
19867
19868 /**
19869 * @param {*} object The object to check.
@@ -19775,7 +19874,7 @@ function isTextNode(object) {
19874 }
19875
19876 module.exports = isTextNode;
19778 -},{"160":160}],162:[function(_dereq_,module,exports){
19877 +},{"162":162}],164:[function(_dereq_,module,exports){
19878 /**
19879 * Copyright (c) 2013-present, Facebook, Inc.
19880 * All rights reserved.
@@ -19789,7 +19888,7 @@ module.exports = isTextNode;
19888
19889 'use strict';
19890
19792 -var invariant = _dereq_(159);
19891 +var invariant = _dereq_(161);
19892
19893 /**
19894 * Constructs an enumeration with keys equal to their value.
@@ -19823,7 +19922,7 @@ var keyMirror = function keyMirror(obj) {
19922 };
19923
19924 module.exports = keyMirror;
19826 -},{"159":159}],163:[function(_dereq_,module,exports){
19925 +},{"161":161}],165:[function(_dereq_,module,exports){
19926 "use strict";
19927
19928 /**
@@ -19858,7 +19957,7 @@ var keyOf = function keyOf(oneKeyObj) {
19957 };
19958
19959 module.exports = keyOf;
19861 -},{}],164:[function(_dereq_,module,exports){
19960 +},{}],166:[function(_dereq_,module,exports){
19961 /**
19962 * Copyright (c) 2013-present, Facebook, Inc.
19963 * All rights reserved.
@@ -19909,7 +20008,7 @@ function mapObject(object, callback, context) {
20008 }
20009
20010 module.exports = mapObject;
19912 -},{}],165:[function(_dereq_,module,exports){
20011 +},{}],167:[function(_dereq_,module,exports){
20012 /**
20013 * Copyright (c) 2013-present, Facebook, Inc.
20014 * All rights reserved.
@@ -19939,7 +20038,7 @@ function memoizeStringOnly(callback) {
20038 }
20039
20040 module.exports = memoizeStringOnly;
19942 -},{}],166:[function(_dereq_,module,exports){
20041 +},{}],168:[function(_dereq_,module,exports){
20042 /**
20043 * Copyright (c) 2013-present, Facebook, Inc.
20044 * All rights reserved.
@@ -19953,7 +20052,7 @@ module.exports = memoizeStringOnly;
20052
20053 'use strict';
20054
19956 -var ExecutionEnvironment = _dereq_(145);
20055 +var ExecutionEnvironment = _dereq_(147);
20056
20057 var performance;
20058
@@ -19962,7 +20061,7 @@ if (ExecutionEnvironment.canUseDOM) {
20061 }
20062
20063 module.exports = performance || {};
19965 -},{"145":145}],167:[function(_dereq_,module,exports){
20064 +},{"147":147}],169:[function(_dereq_,module,exports){
20065 'use strict';
20066
20067 /**
@@ -19976,7 +20075,7 @@ module.exports = performance || {};
20075 * @typechecks
20076 */
20077
19979 -var performance = _dereq_(166);
20078 +var performance = _dereq_(168);
20079
20080 var performanceNow;
20081
@@ -19996,7 +20095,7 @@ if (performance.now) {
20095 }
20096
20097 module.exports = performanceNow;
19999 -},{"166":166}],168:[function(_dereq_,module,exports){
20098 +},{"168":168}],170:[function(_dereq_,module,exports){
20099 /**
20100 * Copyright (c) 2013-present, Facebook, Inc.
20101 * All rights reserved.
@@ -20063,7 +20162,7 @@ function shallowEqual(objA, objB) {
20162 }
20163
20164 module.exports = shallowEqual;
20066 -},{}],169:[function(_dereq_,module,exports){
20165 +},{}],171:[function(_dereq_,module,exports){
20166 /**
20167 * Copyright 2014-2015, Facebook, Inc.
20168 * All rights reserved.
@@ -20076,7 +20175,7 @@ module.exports = shallowEqual;
20175
20176 'use strict';
20177
20079 -var emptyFunction = _dereq_(151);
20178 +var emptyFunction = _dereq_(153);
20179
20180 /**
20181 * Similar to invariant but only logs a warning if the condition is not met.
@@ -20120,7 +20219,7 @@ if ("development" !== 'production') {
20219 }
20220
20221 module.exports = warning;
20123 -},{"151":151}],170:[function(_dereq_,module,exports){
20222 +},{"153":153}],172:[function(_dereq_,module,exports){
20223 'use strict';
20224 /* eslint-disable no-unused-vars */
20225 var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -20205,5 +20304,5 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
20304 return to;
20305 };
20306
20208 -},{}]},{},[91])(91)
20307 +},{}]},{},[93])(93)
20308 });
\ No newline at end of file