react 15.2.0 → 15.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/react-with-addons.js +1099 -999
  2. package/dist/react-with-addons.min.js +6 -7
  3. package/dist/react.js +1034 -935
  4. package/dist/react.min.js +6 -6
  5. package/lib/DOMProperty.js +0 -9
  6. package/lib/DOMPropertyOperations.js +4 -12
  7. package/lib/Danger.js +0 -98
  8. package/lib/KeyEscapeUtils.js +2 -1
  9. package/lib/PooledClass.js +1 -1
  10. package/lib/ReactChildReconciler.js +3 -3
  11. package/lib/ReactComponentTreeDevtool.js +0 -5
  12. package/lib/ReactCompositeComponent.js +23 -13
  13. package/lib/ReactDOMComponent.js +1 -1
  14. package/lib/ReactDOMDebugTool.js +11 -11
  15. package/lib/ReactDOMFiber.js +78 -0
  16. package/lib/ReactDOMInput.js +17 -15
  17. package/lib/ReactDOMInstrumentation.js +7 -2
  18. package/lib/ReactDOMNullInputValuePropDevtool.js +43 -0
  19. package/lib/ReactDOMSelect.js +0 -13
  20. package/lib/ReactDOMTextarea.js +0 -14
  21. package/lib/ReactDebugTool.js +75 -83
  22. package/lib/ReactFeatureFlags.js +1 -0
  23. package/lib/ReactInstrumentation.js +7 -2
  24. package/lib/ReactMount.js +15 -17
  25. package/lib/ReactMultiChild.js +8 -3
  26. package/lib/ReactNativeMount.js +2 -13
  27. package/lib/ReactNativeReconcileTransaction.js +16 -0
  28. package/lib/ReactNodeTypes.js +1 -0
  29. package/lib/ReactNoop.js +100 -3
  30. package/lib/ReactNoopUpdateQueue.js +6 -5
  31. package/lib/ReactReconcileTransaction.js +16 -0
  32. package/lib/ReactServerRendering.js +1 -5
  33. package/lib/ReactServerRenderingTransaction.js +17 -0
  34. package/lib/ReactServerUpdateQueue.js +141 -0
  35. package/lib/ReactTestMount.js +1 -12
  36. package/lib/ReactTestReconcileTransaction.js +8 -0
  37. package/lib/ReactTransitionGroup.js +1 -0
  38. package/lib/ReactUpdateQueue.js +4 -2
  39. package/lib/ReactUpdates.js +1 -10
  40. package/lib/ReactVersion.js +1 -1
  41. package/lib/ResponderEventPlugin.js +1 -1
  42. package/lib/ResponderTouchHistoryStore.js +97 -95
  43. package/lib/accumulate.js +14 -14
  44. package/lib/accumulateInto.js +8 -11
  45. package/lib/adler32.js +1 -0
  46. package/lib/checkReactTypeSpec.js +7 -5
  47. package/lib/deprecated.js +7 -1
  48. package/lib/flattenChildren.js +11 -8
  49. package/lib/forEachAccumulated.js +3 -2
  50. package/lib/getIteratorFn.js +1 -0
  51. package/lib/instantiateReactComponent.js +8 -7
  52. package/lib/isTextInputElement.js +11 -1
  53. package/lib/reactProdInvariant.js +1 -0
  54. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React (with addons) v15.2.0
2
+ * React (with addons) v15.2.1
3
3
  */
4
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
5
  /**
@@ -17,7 +17,7 @@
17
17
 
18
18
  var ReactDOMComponentTree = _dereq_(45);
19
19
 
20
- var focusNode = _dereq_(169);
20
+ var focusNode = _dereq_(171);
21
21
 
22
22
  var AutoFocusUtils = {
23
23
  focusDOMComponent: function () {
@@ -26,7 +26,7 @@ var AutoFocusUtils = {
26
26
  };
27
27
 
28
28
  module.exports = AutoFocusUtils;
29
- },{"169":169,"45":45}],2:[function(_dereq_,module,exports){
29
+ },{"171":171,"45":45}],2:[function(_dereq_,module,exports){
30
30
  /**
31
31
  * Copyright 2013-present Facebook, Inc.
32
32
  * All rights reserved.
@@ -42,12 +42,12 @@ module.exports = AutoFocusUtils;
42
42
 
43
43
  var EventConstants = _dereq_(16);
44
44
  var EventPropagators = _dereq_(20);
45
- var ExecutionEnvironment = _dereq_(161);
45
+ var ExecutionEnvironment = _dereq_(163);
46
46
  var FallbackCompositionState = _dereq_(21);
47
- var SyntheticCompositionEvent = _dereq_(113);
48
- var SyntheticInputEvent = _dereq_(117);
47
+ var SyntheticCompositionEvent = _dereq_(115);
48
+ var SyntheticInputEvent = _dereq_(119);
49
49
 
50
- var keyOf = _dereq_(179);
50
+ var keyOf = _dereq_(181);
51
51
 
52
52
  var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
53
53
  var START_KEYCODE = 229;
@@ -415,7 +415,7 @@ var BeforeInputEventPlugin = {
415
415
  };
416
416
 
417
417
  module.exports = BeforeInputEventPlugin;
418
- },{"113":113,"117":117,"16":16,"161":161,"179":179,"20":20,"21":21}],3:[function(_dereq_,module,exports){
418
+ },{"115":115,"119":119,"16":16,"163":163,"181":181,"20":20,"21":21}],3:[function(_dereq_,module,exports){
419
419
  /**
420
420
  * Copyright 2013-present, Facebook, Inc.
421
421
  * All rights reserved.
@@ -579,14 +579,14 @@ module.exports = CSSProperty;
579
579
  'use strict';
580
580
 
581
581
  var CSSProperty = _dereq_(3);
582
- var ExecutionEnvironment = _dereq_(161);
583
- var ReactInstrumentation = _dereq_(78);
582
+ var ExecutionEnvironment = _dereq_(163);
583
+ var ReactInstrumentation = _dereq_(79);
584
584
 
585
- var camelizeStyleName = _dereq_(163);
586
- var dangerousStyleValue = _dereq_(131);
587
- var hyphenateStyleName = _dereq_(174);
588
- var memoizeStringOnly = _dereq_(181);
589
- var warning = _dereq_(185);
585
+ var camelizeStyleName = _dereq_(165);
586
+ var dangerousStyleValue = _dereq_(133);
587
+ var hyphenateStyleName = _dereq_(176);
588
+ var memoizeStringOnly = _dereq_(183);
589
+ var warning = _dereq_(187);
590
590
 
591
591
  var processStyleName = memoizeStringOnly(function (styleName) {
592
592
  return hyphenateStyleName(styleName);
@@ -770,7 +770,7 @@ var CSSPropertyOperations = {
770
770
  };
771
771
 
772
772
  module.exports = CSSPropertyOperations;
773
- },{"131":131,"161":161,"163":163,"174":174,"181":181,"185":185,"3":3,"78":78}],5:[function(_dereq_,module,exports){
773
+ },{"133":133,"163":163,"165":165,"176":176,"183":183,"187":187,"3":3,"79":79}],5:[function(_dereq_,module,exports){
774
774
  /**
775
775
  * Copyright 2013-present, Facebook, Inc.
776
776
  * All rights reserved.
@@ -784,12 +784,12 @@ module.exports = CSSPropertyOperations;
784
784
 
785
785
  'use strict';
786
786
 
787
- var _prodInvariant = _dereq_(150),
788
- _assign = _dereq_(186);
787
+ var _prodInvariant = _dereq_(152),
788
+ _assign = _dereq_(188);
789
789
 
790
790
  var PooledClass = _dereq_(26);
791
791
 
792
- var invariant = _dereq_(175);
792
+ var invariant = _dereq_(177);
793
793
 
794
794
  /**
795
795
  * A specialized pseudo-event module to help keep track of components waiting to
@@ -877,7 +877,7 @@ _assign(CallbackQueue.prototype, {
877
877
  PooledClass.addPoolingTo(CallbackQueue);
878
878
 
879
879
  module.exports = CallbackQueue;
880
- },{"150":150,"175":175,"186":186,"26":26}],6:[function(_dereq_,module,exports){
880
+ },{"152":152,"177":177,"188":188,"26":26}],6:[function(_dereq_,module,exports){
881
881
  /**
882
882
  * Copyright 2013-present, Facebook, Inc.
883
883
  * All rights reserved.
@@ -894,15 +894,15 @@ module.exports = CallbackQueue;
894
894
  var EventConstants = _dereq_(16);
895
895
  var EventPluginHub = _dereq_(17);
896
896
  var EventPropagators = _dereq_(20);
897
- var ExecutionEnvironment = _dereq_(161);
897
+ var ExecutionEnvironment = _dereq_(163);
898
898
  var ReactDOMComponentTree = _dereq_(45);
899
- var ReactUpdates = _dereq_(104);
900
- var SyntheticEvent = _dereq_(115);
899
+ var ReactUpdates = _dereq_(106);
900
+ var SyntheticEvent = _dereq_(117);
901
901
 
902
- var getEventTarget = _dereq_(139);
903
- var isEventSupported = _dereq_(146);
904
- var isTextInputElement = _dereq_(147);
905
- var keyOf = _dereq_(179);
902
+ var getEventTarget = _dereq_(141);
903
+ var isEventSupported = _dereq_(148);
904
+ var isTextInputElement = _dereq_(149);
905
+ var keyOf = _dereq_(181);
906
906
 
907
907
  var topLevelTypes = EventConstants.topLevelTypes;
908
908
 
@@ -1203,7 +1203,7 @@ var ChangeEventPlugin = {
1203
1203
  };
1204
1204
 
1205
1205
  module.exports = ChangeEventPlugin;
1206
- },{"104":104,"115":115,"139":139,"146":146,"147":147,"16":16,"161":161,"17":17,"179":179,"20":20,"45":45}],7:[function(_dereq_,module,exports){
1206
+ },{"106":106,"117":117,"141":141,"148":148,"149":149,"16":16,"163":163,"17":17,"181":181,"20":20,"45":45}],7:[function(_dereq_,module,exports){
1207
1207
  /**
1208
1208
  * Copyright 2013-present, Facebook, Inc.
1209
1209
  * All rights reserved.
@@ -1219,13 +1219,13 @@ module.exports = ChangeEventPlugin;
1219
1219
 
1220
1220
  var DOMLazyTree = _dereq_(8);
1221
1221
  var Danger = _dereq_(12);
1222
- var ReactMultiChildUpdateTypes = _dereq_(84);
1222
+ var ReactMultiChildUpdateTypes = _dereq_(85);
1223
1223
  var ReactDOMComponentTree = _dereq_(45);
1224
- var ReactInstrumentation = _dereq_(78);
1224
+ var ReactInstrumentation = _dereq_(79);
1225
1225
 
1226
- var createMicrosoftUnsafeLocalFunction = _dereq_(130);
1227
- var setInnerHTML = _dereq_(152);
1228
- var setTextContent = _dereq_(153);
1226
+ var createMicrosoftUnsafeLocalFunction = _dereq_(132);
1227
+ var setInnerHTML = _dereq_(154);
1228
+ var setTextContent = _dereq_(155);
1229
1229
 
1230
1230
  function getNodeAfter(parentNode, node) {
1231
1231
  // Special case for text components, which return [open, close] comments
@@ -1398,7 +1398,7 @@ var DOMChildrenOperations = {
1398
1398
  };
1399
1399
 
1400
1400
  module.exports = DOMChildrenOperations;
1401
- },{"12":12,"130":130,"152":152,"153":153,"45":45,"78":78,"8":8,"84":84}],8:[function(_dereq_,module,exports){
1401
+ },{"12":12,"132":132,"154":154,"155":155,"45":45,"79":79,"8":8,"85":85}],8:[function(_dereq_,module,exports){
1402
1402
  /**
1403
1403
  * Copyright 2015-present, Facebook, Inc.
1404
1404
  * All rights reserved.
@@ -1413,10 +1413,10 @@ module.exports = DOMChildrenOperations;
1413
1413
  'use strict';
1414
1414
 
1415
1415
  var DOMNamespaces = _dereq_(9);
1416
- var setInnerHTML = _dereq_(152);
1416
+ var setInnerHTML = _dereq_(154);
1417
1417
 
1418
- var createMicrosoftUnsafeLocalFunction = _dereq_(130);
1419
- var setTextContent = _dereq_(153);
1418
+ var createMicrosoftUnsafeLocalFunction = _dereq_(132);
1419
+ var setTextContent = _dereq_(155);
1420
1420
 
1421
1421
  var ELEMENT_NODE_TYPE = 1;
1422
1422
  var DOCUMENT_FRAGMENT_NODE_TYPE = 11;
@@ -1517,7 +1517,7 @@ DOMLazyTree.queueHTML = queueHTML;
1517
1517
  DOMLazyTree.queueText = queueText;
1518
1518
 
1519
1519
  module.exports = DOMLazyTree;
1520
- },{"130":130,"152":152,"153":153,"9":9}],9:[function(_dereq_,module,exports){
1520
+ },{"132":132,"154":154,"155":155,"9":9}],9:[function(_dereq_,module,exports){
1521
1521
  /**
1522
1522
  * Copyright 2013-present, Facebook, Inc.
1523
1523
  * All rights reserved.
@@ -1552,9 +1552,9 @@ module.exports = DOMNamespaces;
1552
1552
 
1553
1553
  'use strict';
1554
1554
 
1555
- var _prodInvariant = _dereq_(150);
1555
+ var _prodInvariant = _dereq_(152);
1556
1556
 
1557
- var invariant = _dereq_(175);
1557
+ var invariant = _dereq_(177);
1558
1558
 
1559
1559
  function checkMask(value, bitmask) {
1560
1560
  return (value & bitmask) === bitmask;
@@ -1566,7 +1566,6 @@ var DOMPropertyInjection = {
1566
1566
  * specifies how the associated DOM property should be accessed or rendered.
1567
1567
  */
1568
1568
  MUST_USE_PROPERTY: 0x1,
1569
- HAS_SIDE_EFFECTS: 0x2,
1570
1569
  HAS_BOOLEAN_VALUE: 0x4,
1571
1570
  HAS_NUMERIC_VALUE: 0x8,
1572
1571
  HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,
@@ -1625,14 +1624,11 @@ var DOMPropertyInjection = {
1625
1624
  mutationMethod: null,
1626
1625
 
1627
1626
  mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),
1628
- hasSideEffects: checkMask(propConfig, Injection.HAS_SIDE_EFFECTS),
1629
1627
  hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),
1630
1628
  hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),
1631
1629
  hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),
1632
1630
  hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)
1633
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;
1636
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;
1637
1633
 
1638
1634
  if ("development" !== 'production') {
@@ -1704,11 +1700,6 @@ var DOMProperty = {
1704
1700
  * initial render.
1705
1701
  * mustUseProperty:
1706
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.
1712
1703
  * hasBooleanValue:
1713
1704
  * Whether the property should be removed when set to a falsey value.
1714
1705
  * hasNumericValue:
@@ -1754,7 +1745,7 @@ var DOMProperty = {
1754
1745
  };
1755
1746
 
1756
1747
  module.exports = DOMProperty;
1757
- },{"150":150,"175":175}],11:[function(_dereq_,module,exports){
1748
+ },{"152":152,"177":177}],11:[function(_dereq_,module,exports){
1758
1749
  /**
1759
1750
  * Copyright 2013-present, Facebook, Inc.
1760
1751
  * All rights reserved.
@@ -1771,10 +1762,10 @@ module.exports = DOMProperty;
1771
1762
  var DOMProperty = _dereq_(10);
1772
1763
  var ReactDOMComponentTree = _dereq_(45);
1773
1764
  var ReactDOMInstrumentation = _dereq_(53);
1774
- var ReactInstrumentation = _dereq_(78);
1765
+ var ReactInstrumentation = _dereq_(79);
1775
1766
 
1776
- var quoteAttributeValueForBrowser = _dereq_(149);
1777
- var warning = _dereq_(185);
1767
+ var quoteAttributeValueForBrowser = _dereq_(151);
1768
+ var warning = _dereq_(187);
1778
1769
 
1779
1770
  var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');
1780
1771
  var illegalAttributeNameCache = {};
@@ -1888,14 +1879,9 @@ var DOMPropertyOperations = {
1888
1879
  this.deleteValueForProperty(node, name);
1889
1880
  return;
1890
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;
1899
1885
  } else {
1900
1886
  var attributeName = propertyInfo.attributeName;
1901
1887
  var namespace = propertyInfo.attributeNamespace;
@@ -1968,12 +1954,9 @@ var DOMPropertyOperations = {
1968
1954
  } else if (propertyInfo.mustUseProperty) {
1969
1955
  var propName = propertyInfo.propertyName;
1970
1956
  if (propertyInfo.hasBooleanValue) {
1971
- // No HAS_SIDE_EFFECTS logic here, only `value` has it and is string.
1972
1957
  node[propName] = false;
1973
1958
  } else {
1974
- if (!propertyInfo.hasSideEffects || '' + node[propName] !== '') {
1975
- node[propName] = '';
1976
- }
1959
+ node[propName] = '';
1977
1960
  }
1978
1961
  } else {
1979
1962
  node.removeAttribute(propertyInfo.attributeName);
@@ -1991,7 +1974,7 @@ var DOMPropertyOperations = {
1991
1974
  };
1992
1975
 
1993
1976
  module.exports = DOMPropertyOperations;
1994
- },{"10":10,"149":149,"185":185,"45":45,"53":53,"78":78}],12:[function(_dereq_,module,exports){
1977
+ },{"10":10,"151":151,"187":187,"45":45,"53":53,"79":79}],12:[function(_dereq_,module,exports){
1995
1978
  /**
1996
1979
  * Copyright 2013-present, Facebook, Inc.
1997
1980
  * All rights reserved.
@@ -2005,115 +1988,17 @@ module.exports = DOMPropertyOperations;
2005
1988
 
2006
1989
  'use strict';
2007
1990
 
2008
- var _prodInvariant = _dereq_(150);
1991
+ var _prodInvariant = _dereq_(152);
2009
1992
 
2010
1993
  var DOMLazyTree = _dereq_(8);
2011
- var ExecutionEnvironment = _dereq_(161);
2012
-
2013
- var createNodesFromMarkup = _dereq_(166);
2014
- var emptyFunction = _dereq_(167);
2015
- var getMarkupWrap = _dereq_(171);
2016
- var invariant = _dereq_(175);
2017
-
2018
- var OPEN_TAG_NAME_EXP = /^(<[^ \/>]+)/;
2019
- var RESULT_INDEX_ATTR = 'data-danger-index';
1994
+ var ExecutionEnvironment = _dereq_(163);
2020
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_(168);
1997
+ var emptyFunction = _dereq_(169);
1998
+ var invariant = _dereq_(177);
2035
1999
 
2036
2000
  var Danger = {
2037
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
-
2117
2002
  /**
2118
2003
  * Replaces a node with a string of markup at its current position within its
2119
2004
  * parent. The markup must render into a single root node.
@@ -2138,7 +2023,7 @@ var Danger = {
2138
2023
  };
2139
2024
 
2140
2025
  module.exports = Danger;
2141
- },{"150":150,"161":161,"166":166,"167":167,"171":171,"175":175,"8":8}],13:[function(_dereq_,module,exports){
2026
+ },{"152":152,"163":163,"168":168,"169":169,"177":177,"8":8}],13:[function(_dereq_,module,exports){
2142
2027
  /**
2143
2028
  * Copyright 2013-present, Facebook, Inc.
2144
2029
  * All rights reserved.
@@ -2152,7 +2037,7 @@ module.exports = Danger;
2152
2037
 
2153
2038
  'use strict';
2154
2039
 
2155
- var keyOf = _dereq_(179);
2040
+ var keyOf = _dereq_(181);
2156
2041
 
2157
2042
  /**
2158
2043
  * Module that is injectable into `EventPluginHub`, that specifies a
@@ -2166,7 +2051,7 @@ var keyOf = _dereq_(179);
2166
2051
  var DefaultEventPluginOrder = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })];
2167
2052
 
2168
2053
  module.exports = DefaultEventPluginOrder;
2169
- },{"179":179}],14:[function(_dereq_,module,exports){
2054
+ },{"181":181}],14:[function(_dereq_,module,exports){
2170
2055
  /**
2171
2056
  * Copyright 2013-present, Facebook, Inc.
2172
2057
  * All rights reserved.
@@ -2234,9 +2119,9 @@ module.exports = DisabledInputUtils;
2234
2119
  var EventConstants = _dereq_(16);
2235
2120
  var EventPropagators = _dereq_(20);
2236
2121
  var ReactDOMComponentTree = _dereq_(45);
2237
- var SyntheticMouseEvent = _dereq_(119);
2122
+ var SyntheticMouseEvent = _dereq_(121);
2238
2123
 
2239
- var keyOf = _dereq_(179);
2124
+ var keyOf = _dereq_(181);
2240
2125
 
2241
2126
  var topLevelTypes = EventConstants.topLevelTypes;
2242
2127
 
@@ -2323,7 +2208,7 @@ var EnterLeaveEventPlugin = {
2323
2208
  };
2324
2209
 
2325
2210
  module.exports = EnterLeaveEventPlugin;
2326
- },{"119":119,"16":16,"179":179,"20":20,"45":45}],16:[function(_dereq_,module,exports){
2211
+ },{"121":121,"16":16,"181":181,"20":20,"45":45}],16:[function(_dereq_,module,exports){
2327
2212
  /**
2328
2213
  * Copyright 2013-present, Facebook, Inc.
2329
2214
  * All rights reserved.
@@ -2337,7 +2222,7 @@ module.exports = EnterLeaveEventPlugin;
2337
2222
 
2338
2223
  'use strict';
2339
2224
 
2340
- var keyMirror = _dereq_(178);
2225
+ var keyMirror = _dereq_(180);
2341
2226
 
2342
2227
  var PropagationPhases = keyMirror({ bubbled: null, captured: null });
2343
2228
 
@@ -2421,7 +2306,7 @@ var EventConstants = {
2421
2306
  };
2422
2307
 
2423
2308
  module.exports = EventConstants;
2424
- },{"178":178}],17:[function(_dereq_,module,exports){
2309
+ },{"180":180}],17:[function(_dereq_,module,exports){
2425
2310
  /**
2426
2311
  * Copyright 2013-present, Facebook, Inc.
2427
2312
  * All rights reserved.
@@ -2435,15 +2320,15 @@ module.exports = EventConstants;
2435
2320
 
2436
2321
  'use strict';
2437
2322
 
2438
- var _prodInvariant = _dereq_(150);
2323
+ var _prodInvariant = _dereq_(152);
2439
2324
 
2440
2325
  var EventPluginRegistry = _dereq_(18);
2441
2326
  var EventPluginUtils = _dereq_(19);
2442
- var ReactErrorUtils = _dereq_(68);
2327
+ var ReactErrorUtils = _dereq_(69);
2443
2328
 
2444
- var accumulateInto = _dereq_(126);
2445
- var forEachAccumulated = _dereq_(135);
2446
- var invariant = _dereq_(175);
2329
+ var accumulateInto = _dereq_(128);
2330
+ var forEachAccumulated = _dereq_(137);
2331
+ var invariant = _dereq_(177);
2447
2332
 
2448
2333
  /**
2449
2334
  * Internal store for event listeners
@@ -2663,7 +2548,7 @@ var EventPluginHub = {
2663
2548
  };
2664
2549
 
2665
2550
  module.exports = EventPluginHub;
2666
- },{"126":126,"135":135,"150":150,"175":175,"18":18,"19":19,"68":68}],18:[function(_dereq_,module,exports){
2551
+ },{"128":128,"137":137,"152":152,"177":177,"18":18,"19":19,"69":69}],18:[function(_dereq_,module,exports){
2667
2552
  /**
2668
2553
  * Copyright 2013-present, Facebook, Inc.
2669
2554
  * All rights reserved.
@@ -2677,9 +2562,9 @@ module.exports = EventPluginHub;
2677
2562
 
2678
2563
  'use strict';
2679
2564
 
2680
- var _prodInvariant = _dereq_(150);
2565
+ var _prodInvariant = _dereq_(152);
2681
2566
 
2682
- var invariant = _dereq_(175);
2567
+ var invariant = _dereq_(177);
2683
2568
 
2684
2569
  /**
2685
2570
  * Injectable ordering of event plugins.
@@ -2911,7 +2796,7 @@ var EventPluginRegistry = {
2911
2796
  };
2912
2797
 
2913
2798
  module.exports = EventPluginRegistry;
2914
- },{"150":150,"175":175}],19:[function(_dereq_,module,exports){
2799
+ },{"152":152,"177":177}],19:[function(_dereq_,module,exports){
2915
2800
  /**
2916
2801
  * Copyright 2013-present, Facebook, Inc.
2917
2802
  * All rights reserved.
@@ -2925,13 +2810,13 @@ module.exports = EventPluginRegistry;
2925
2810
 
2926
2811
  'use strict';
2927
2812
 
2928
- var _prodInvariant = _dereq_(150);
2813
+ var _prodInvariant = _dereq_(152);
2929
2814
 
2930
2815
  var EventConstants = _dereq_(16);
2931
- var ReactErrorUtils = _dereq_(68);
2816
+ var ReactErrorUtils = _dereq_(69);
2932
2817
 
2933
- var invariant = _dereq_(175);
2934
- var warning = _dereq_(185);
2818
+ var invariant = _dereq_(177);
2819
+ var warning = _dereq_(187);
2935
2820
 
2936
2821
  /**
2937
2822
  * Injected dependencies:
@@ -3141,7 +3026,7 @@ var EventPluginUtils = {
3141
3026
  };
3142
3027
 
3143
3028
  module.exports = EventPluginUtils;
3144
- },{"150":150,"16":16,"175":175,"185":185,"68":68}],20:[function(_dereq_,module,exports){
3029
+ },{"152":152,"16":16,"177":177,"187":187,"69":69}],20:[function(_dereq_,module,exports){
3145
3030
  /**
3146
3031
  * Copyright 2013-present, Facebook, Inc.
3147
3032
  * All rights reserved.
@@ -3159,9 +3044,9 @@ var EventConstants = _dereq_(16);
3159
3044
  var EventPluginHub = _dereq_(17);
3160
3045
  var EventPluginUtils = _dereq_(19);
3161
3046
 
3162
- var accumulateInto = _dereq_(126);
3163
- var forEachAccumulated = _dereq_(135);
3164
- var warning = _dereq_(185);
3047
+ var accumulateInto = _dereq_(128);
3048
+ var forEachAccumulated = _dereq_(137);
3049
+ var warning = _dereq_(187);
3165
3050
 
3166
3051
  var PropagationPhases = EventConstants.PropagationPhases;
3167
3052
  var getListener = EventPluginHub.getListener;
@@ -3279,7 +3164,7 @@ var EventPropagators = {
3279
3164
  };
3280
3165
 
3281
3166
  module.exports = EventPropagators;
3282
- },{"126":126,"135":135,"16":16,"17":17,"185":185,"19":19}],21:[function(_dereq_,module,exports){
3167
+ },{"128":128,"137":137,"16":16,"17":17,"187":187,"19":19}],21:[function(_dereq_,module,exports){
3283
3168
  /**
3284
3169
  * Copyright 2013-present, Facebook, Inc.
3285
3170
  * All rights reserved.
@@ -3293,11 +3178,11 @@ module.exports = EventPropagators;
3293
3178
 
3294
3179
  'use strict';
3295
3180
 
3296
- var _assign = _dereq_(186);
3181
+ var _assign = _dereq_(188);
3297
3182
 
3298
3183
  var PooledClass = _dereq_(26);
3299
3184
 
3300
- var getTextContentAccessor = _dereq_(143);
3185
+ var getTextContentAccessor = _dereq_(145);
3301
3186
 
3302
3187
  /**
3303
3188
  * This helper class stores information about text content of a target node,
@@ -3375,7 +3260,7 @@ _assign(FallbackCompositionState.prototype, {
3375
3260
  PooledClass.addPoolingTo(FallbackCompositionState);
3376
3261
 
3377
3262
  module.exports = FallbackCompositionState;
3378
- },{"143":143,"186":186,"26":26}],22:[function(_dereq_,module,exports){
3263
+ },{"145":145,"188":188,"26":26}],22:[function(_dereq_,module,exports){
3379
3264
  /**
3380
3265
  * Copyright 2013-present, Facebook, Inc.
3381
3266
  * All rights reserved.
@@ -3594,6 +3479,7 @@ module.exports = HTMLDOMPropertyConfig;
3594
3479
  * of patent rights can be found in the PATENTS file in the same directory.
3595
3480
  *
3596
3481
  * @providesModule KeyEscapeUtils
3482
+ *
3597
3483
  */
3598
3484
 
3599
3485
  'use strict';
@@ -3601,7 +3487,7 @@ module.exports = HTMLDOMPropertyConfig;
3601
3487
  /**
3602
3488
  * Escape and wrap key so it is safe to use as a reactid
3603
3489
  *
3604
- * @param {*} key to be escaped.
3490
+ * @param {string} key to be escaped.
3605
3491
  * @return {string} the escaped key.
3606
3492
  */
3607
3493
 
@@ -3657,8 +3543,8 @@ module.exports = KeyEscapeUtils;
3657
3543
 
3658
3544
  'use strict';
3659
3545
 
3660
- var ReactLink = _dereq_(80);
3661
- var ReactStateSetters = _dereq_(98);
3546
+ var ReactLink = _dereq_(81);
3547
+ var ReactStateSetters = _dereq_(100);
3662
3548
 
3663
3549
  /**
3664
3550
  * A simple mixin around ReactLink.forState().
@@ -3680,7 +3566,7 @@ var LinkedStateMixin = {
3680
3566
  };
3681
3567
 
3682
3568
  module.exports = LinkedStateMixin;
3683
- },{"80":80,"98":98}],25:[function(_dereq_,module,exports){
3569
+ },{"100":100,"81":81}],25:[function(_dereq_,module,exports){
3684
3570
  /**
3685
3571
  * Copyright 2013-present, Facebook, Inc.
3686
3572
  * All rights reserved.
@@ -3694,13 +3580,13 @@ module.exports = LinkedStateMixin;
3694
3580
 
3695
3581
  'use strict';
3696
3582
 
3697
- var _prodInvariant = _dereq_(150);
3583
+ var _prodInvariant = _dereq_(152);
3698
3584
 
3699
- var ReactPropTypes = _dereq_(91);
3700
- var ReactPropTypeLocations = _dereq_(90);
3585
+ var ReactPropTypes = _dereq_(92);
3586
+ var ReactPropTypeLocations = _dereq_(91);
3701
3587
 
3702
- var invariant = _dereq_(175);
3703
- var warning = _dereq_(185);
3588
+ var invariant = _dereq_(177);
3589
+ var warning = _dereq_(187);
3704
3590
 
3705
3591
  var hasReadOnlyValue = {
3706
3592
  'button': true,
@@ -3816,7 +3702,7 @@ var LinkedValueUtils = {
3816
3702
  };
3817
3703
 
3818
3704
  module.exports = LinkedValueUtils;
3819
- },{"150":150,"175":175,"185":185,"90":90,"91":91}],26:[function(_dereq_,module,exports){
3705
+ },{"152":152,"177":177,"187":187,"91":91,"92":92}],26:[function(_dereq_,module,exports){
3820
3706
  /**
3821
3707
  * Copyright 2013-present, Facebook, Inc.
3822
3708
  * All rights reserved.
@@ -3830,9 +3716,9 @@ module.exports = LinkedValueUtils;
3830
3716
 
3831
3717
  'use strict';
3832
3718
 
3833
- var _prodInvariant = _dereq_(150);
3719
+ var _prodInvariant = _dereq_(152);
3834
3720
 
3835
- var invariant = _dereq_(175);
3721
+ var invariant = _dereq_(177);
3836
3722
 
3837
3723
  /**
3838
3724
  * Static poolers. Several custom versions for each potential number of
@@ -3912,7 +3798,7 @@ var DEFAULT_POOLER = oneArgumentPooler;
3912
3798
  * Augments `CopyConstructor` to be a poolable class, augmenting only the class
3913
3799
  * itself (statically) not adding any prototypical fields. Any CopyConstructor
3914
3800
  * you give this may have a `poolSize` property, and will look for a
3915
- * prototypical `destructor` on instances (optional).
3801
+ * prototypical `destructor` on instances.
3916
3802
  *
3917
3803
  * @param {Function} CopyConstructor Constructor that can be used to reset.
3918
3804
  * @param {Function} pooler Customizable pooler.
@@ -3938,7 +3824,7 @@ var PooledClass = {
3938
3824
  };
3939
3825
 
3940
3826
  module.exports = PooledClass;
3941
- },{"150":150,"175":175}],27:[function(_dereq_,module,exports){
3827
+ },{"152":152,"177":177}],27:[function(_dereq_,module,exports){
3942
3828
  /**
3943
3829
  * Copyright 2013-present, Facebook, Inc.
3944
3830
  * All rights reserved.
@@ -3952,25 +3838,25 @@ module.exports = PooledClass;
3952
3838
 
3953
3839
  'use strict';
3954
3840
 
3955
- var _assign = _dereq_(186);
3841
+ var _assign = _dereq_(188);
3956
3842
 
3957
3843
  var ReactChildren = _dereq_(32);
3958
3844
  var ReactComponent = _dereq_(34);
3959
3845
  var ReactClass = _dereq_(33);
3960
3846
  var ReactDOMFactories = _dereq_(49);
3961
- var ReactElement = _dereq_(65);
3962
- var ReactPropTypes = _dereq_(91);
3963
- var ReactVersion = _dereq_(105);
3847
+ var ReactElement = _dereq_(66);
3848
+ var ReactPropTypes = _dereq_(92);
3849
+ var ReactVersion = _dereq_(107);
3964
3850
 
3965
- var onlyChild = _dereq_(148);
3966
- var warning = _dereq_(185);
3851
+ var onlyChild = _dereq_(150);
3852
+ var warning = _dereq_(187);
3967
3853
 
3968
3854
  var createElement = ReactElement.createElement;
3969
3855
  var createFactory = ReactElement.createFactory;
3970
3856
  var cloneElement = ReactElement.cloneElement;
3971
3857
 
3972
3858
  if ("development" !== 'production') {
3973
- var ReactElementValidator = _dereq_(66);
3859
+ var ReactElementValidator = _dereq_(67);
3974
3860
  createElement = ReactElementValidator.createElement;
3975
3861
  createFactory = ReactElementValidator.createFactory;
3976
3862
  cloneElement = ReactElementValidator.cloneElement;
@@ -4026,7 +3912,7 @@ var React = {
4026
3912
  };
4027
3913
 
4028
3914
  module.exports = React;
4029
- },{"105":105,"148":148,"185":185,"186":186,"32":32,"33":33,"34":34,"49":49,"65":65,"66":66,"91":91}],28:[function(_dereq_,module,exports){
3915
+ },{"107":107,"150":150,"187":187,"188":188,"32":32,"33":33,"34":34,"49":49,"66":66,"67":67,"92":92}],28:[function(_dereq_,module,exports){
4030
3916
  /**
4031
3917
  * Copyright 2013-present, Facebook, Inc.
4032
3918
  * All rights reserved.
@@ -4040,15 +3926,15 @@ module.exports = React;
4040
3926
 
4041
3927
  'use strict';
4042
3928
 
4043
- var _assign = _dereq_(186);
3929
+ var _assign = _dereq_(188);
4044
3930
 
4045
3931
  var EventConstants = _dereq_(16);
4046
3932
  var EventPluginRegistry = _dereq_(18);
4047
- var ReactEventEmitterMixin = _dereq_(69);
4048
- var ViewportMetrics = _dereq_(125);
3933
+ var ReactEventEmitterMixin = _dereq_(70);
3934
+ var ViewportMetrics = _dereq_(127);
4049
3935
 
4050
- var getVendorPrefixedEventName = _dereq_(144);
4051
- var isEventSupported = _dereq_(146);
3936
+ var getVendorPrefixedEventName = _dereq_(146);
3937
+ var isEventSupported = _dereq_(148);
4052
3938
 
4053
3939
  /**
4054
3940
  * Summary of `ReactBrowserEventEmitter` event handling:
@@ -4344,7 +4230,7 @@ var ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {
4344
4230
  });
4345
4231
 
4346
4232
  module.exports = ReactBrowserEventEmitter;
4347
- },{"125":125,"144":144,"146":146,"16":16,"18":18,"186":186,"69":69}],29:[function(_dereq_,module,exports){
4233
+ },{"127":127,"146":146,"148":148,"16":16,"18":18,"188":188,"70":70}],29:[function(_dereq_,module,exports){
4348
4234
  /**
4349
4235
  * Copyright 2013-present, Facebook, Inc.
4350
4236
  * All rights reserved.
@@ -4358,11 +4244,11 @@ module.exports = ReactBrowserEventEmitter;
4358
4244
 
4359
4245
  'use strict';
4360
4246
 
4361
- var _assign = _dereq_(186);
4247
+ var _assign = _dereq_(188);
4362
4248
 
4363
4249
  var React = _dereq_(27);
4364
4250
 
4365
- var ReactTransitionGroup = _dereq_(102);
4251
+ var ReactTransitionGroup = _dereq_(104);
4366
4252
  var ReactCSSTransitionGroupChild = _dereq_(30);
4367
4253
 
4368
4254
  function createTransitionTimeoutPropValidator(transitionType) {
@@ -4432,7 +4318,7 @@ var ReactCSSTransitionGroup = React.createClass({
4432
4318
  });
4433
4319
 
4434
4320
  module.exports = ReactCSSTransitionGroup;
4435
- },{"102":102,"186":186,"27":27,"30":30}],30:[function(_dereq_,module,exports){
4321
+ },{"104":104,"188":188,"27":27,"30":30}],30:[function(_dereq_,module,exports){
4436
4322
  /**
4437
4323
  * Copyright 2013-present, Facebook, Inc.
4438
4324
  * All rights reserved.
@@ -4449,10 +4335,10 @@ module.exports = ReactCSSTransitionGroup;
4449
4335
  var React = _dereq_(27);
4450
4336
  var ReactDOM = _dereq_(41);
4451
4337
 
4452
- var CSSCore = _dereq_(159);
4453
- var ReactTransitionEvents = _dereq_(101);
4338
+ var CSSCore = _dereq_(161);
4339
+ var ReactTransitionEvents = _dereq_(103);
4454
4340
 
4455
- var onlyChild = _dereq_(148);
4341
+ var onlyChild = _dereq_(150);
4456
4342
 
4457
4343
  var TICK = 17;
4458
4344
 
@@ -4600,7 +4486,7 @@ var ReactCSSTransitionGroupChild = React.createClass({
4600
4486
  });
4601
4487
 
4602
4488
  module.exports = ReactCSSTransitionGroupChild;
4603
- },{"101":101,"148":148,"159":159,"27":27,"41":41}],31:[function(_dereq_,module,exports){
4489
+ },{"103":103,"150":150,"161":161,"27":27,"41":41}],31:[function(_dereq_,module,exports){
4604
4490
  /**
4605
4491
  * Copyright 2014-present, Facebook, Inc.
4606
4492
  * All rights reserved.
@@ -4614,23 +4500,23 @@ module.exports = ReactCSSTransitionGroupChild;
4614
4500
 
4615
4501
  'use strict';
4616
4502
 
4617
- var ReactReconciler = _dereq_(93);
4503
+ var ReactReconciler = _dereq_(94);
4618
4504
 
4619
- var ReactComponentTreeDevtool = _dereq_(37);
4620
- var instantiateReactComponent = _dereq_(145);
4505
+ var instantiateReactComponent = _dereq_(147);
4621
4506
  var KeyEscapeUtils = _dereq_(23);
4622
- var shouldUpdateReactComponent = _dereq_(155);
4623
- var traverseAllChildren = _dereq_(156);
4624
- var warning = _dereq_(185);
4507
+ var shouldUpdateReactComponent = _dereq_(157);
4508
+ var traverseAllChildren = _dereq_(158);
4509
+ var warning = _dereq_(187);
4625
4510
 
4626
4511
  function instantiateChild(childInstances, child, name, selfDebugID) {
4627
4512
  // We found a component instance.
4628
4513
  var keyUnique = childInstances[name] === undefined;
4629
4514
  if ("development" !== 'production') {
4515
+ var ReactComponentTreeDevtool = _dereq_(37);
4630
4516
  "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;
4631
4517
  }
4632
4518
  if (child != null && keyUnique) {
4633
- childInstances[name] = instantiateReactComponent(child);
4519
+ childInstances[name] = instantiateReactComponent(child, true);
4634
4520
  }
4635
4521
  }
4636
4522
 
@@ -4702,7 +4588,7 @@ var ReactChildReconciler = {
4702
4588
  ReactReconciler.unmountComponent(prevChild, false);
4703
4589
  }
4704
4590
  // The child must be instantiated before it's mounted.
4705
- var nextChildInstance = instantiateReactComponent(nextElement);
4591
+ var nextChildInstance = instantiateReactComponent(nextElement, true);
4706
4592
  nextChildren[name] = nextChildInstance;
4707
4593
  }
4708
4594
  }
@@ -4735,7 +4621,7 @@ var ReactChildReconciler = {
4735
4621
  };
4736
4622
 
4737
4623
  module.exports = ReactChildReconciler;
4738
- },{"145":145,"155":155,"156":156,"185":185,"23":23,"37":37,"93":93}],32:[function(_dereq_,module,exports){
4624
+ },{"147":147,"157":157,"158":158,"187":187,"23":23,"37":37,"94":94}],32:[function(_dereq_,module,exports){
4739
4625
  /**
4740
4626
  * Copyright 2013-present, Facebook, Inc.
4741
4627
  * All rights reserved.
@@ -4750,10 +4636,10 @@ module.exports = ReactChildReconciler;
4750
4636
  'use strict';
4751
4637
 
4752
4638
  var PooledClass = _dereq_(26);
4753
- var ReactElement = _dereq_(65);
4639
+ var ReactElement = _dereq_(66);
4754
4640
 
4755
- var emptyFunction = _dereq_(167);
4756
- var traverseAllChildren = _dereq_(156);
4641
+ var emptyFunction = _dereq_(169);
4642
+ var traverseAllChildren = _dereq_(158);
4757
4643
 
4758
4644
  var twoArgumentPooler = PooledClass.twoArgumentPooler;
4759
4645
  var fourArgumentPooler = PooledClass.fourArgumentPooler;
@@ -4927,7 +4813,7 @@ var ReactChildren = {
4927
4813
  };
4928
4814
 
4929
4815
  module.exports = ReactChildren;
4930
- },{"156":156,"167":167,"26":26,"65":65}],33:[function(_dereq_,module,exports){
4816
+ },{"158":158,"169":169,"26":26,"66":66}],33:[function(_dereq_,module,exports){
4931
4817
  /**
4932
4818
  * Copyright 2013-present, Facebook, Inc.
4933
4819
  * All rights reserved.
@@ -4941,20 +4827,20 @@ module.exports = ReactChildren;
4941
4827
 
4942
4828
  'use strict';
4943
4829
 
4944
- var _prodInvariant = _dereq_(150),
4945
- _assign = _dereq_(186);
4830
+ var _prodInvariant = _dereq_(152),
4831
+ _assign = _dereq_(188);
4946
4832
 
4947
4833
  var ReactComponent = _dereq_(34);
4948
- var ReactElement = _dereq_(65);
4949
- var ReactPropTypeLocations = _dereq_(90);
4950
- var ReactPropTypeLocationNames = _dereq_(89);
4951
- var ReactNoopUpdateQueue = _dereq_(86);
4834
+ var ReactElement = _dereq_(66);
4835
+ var ReactPropTypeLocations = _dereq_(91);
4836
+ var ReactPropTypeLocationNames = _dereq_(90);
4837
+ var ReactNoopUpdateQueue = _dereq_(87);
4952
4838
 
4953
- var emptyObject = _dereq_(168);
4954
- var invariant = _dereq_(175);
4955
- var keyMirror = _dereq_(178);
4956
- var keyOf = _dereq_(179);
4957
- var warning = _dereq_(185);
4839
+ var emptyObject = _dereq_(170);
4840
+ var invariant = _dereq_(177);
4841
+ var keyMirror = _dereq_(180);
4842
+ var keyOf = _dereq_(181);
4843
+ var warning = _dereq_(187);
4958
4844
 
4959
4845
  var MIXINS_KEY = keyOf({ mixins: null });
4960
4846
 
@@ -5653,7 +5539,7 @@ var ReactClass = {
5653
5539
  };
5654
5540
 
5655
5541
  module.exports = ReactClass;
5656
- },{"150":150,"168":168,"175":175,"178":178,"179":179,"185":185,"186":186,"34":34,"65":65,"86":86,"89":89,"90":90}],34:[function(_dereq_,module,exports){
5542
+ },{"152":152,"170":170,"177":177,"180":180,"181":181,"187":187,"188":188,"34":34,"66":66,"87":87,"90":90,"91":91}],34:[function(_dereq_,module,exports){
5657
5543
  /**
5658
5544
  * Copyright 2013-present, Facebook, Inc.
5659
5545
  * All rights reserved.
@@ -5667,14 +5553,14 @@ module.exports = ReactClass;
5667
5553
 
5668
5554
  'use strict';
5669
5555
 
5670
- var _prodInvariant = _dereq_(150);
5556
+ var _prodInvariant = _dereq_(152);
5671
5557
 
5672
- var ReactNoopUpdateQueue = _dereq_(86);
5558
+ var ReactNoopUpdateQueue = _dereq_(87);
5673
5559
 
5674
- var canDefineProperty = _dereq_(128);
5675
- var emptyObject = _dereq_(168);
5676
- var invariant = _dereq_(175);
5677
- var warning = _dereq_(185);
5560
+ var canDefineProperty = _dereq_(130);
5561
+ var emptyObject = _dereq_(170);
5562
+ var invariant = _dereq_(177);
5563
+ var warning = _dereq_(187);
5678
5564
 
5679
5565
  /**
5680
5566
  * Base class helpers for the updating state of a component.
@@ -5772,7 +5658,7 @@ if ("development" !== 'production') {
5772
5658
  }
5773
5659
 
5774
5660
  module.exports = ReactComponent;
5775
- },{"128":128,"150":150,"168":168,"175":175,"185":185,"86":86}],35:[function(_dereq_,module,exports){
5661
+ },{"130":130,"152":152,"170":170,"177":177,"187":187,"87":87}],35:[function(_dereq_,module,exports){
5776
5662
  /**
5777
5663
  * Copyright 2013-present, Facebook, Inc.
5778
5664
  * All rights reserved.
@@ -5826,9 +5712,9 @@ module.exports = ReactComponentBrowserEnvironment;
5826
5712
 
5827
5713
  'use strict';
5828
5714
 
5829
- var _prodInvariant = _dereq_(150);
5715
+ var _prodInvariant = _dereq_(152);
5830
5716
 
5831
- var invariant = _dereq_(175);
5717
+ var invariant = _dereq_(177);
5832
5718
 
5833
5719
  var injected = false;
5834
5720
 
@@ -5866,7 +5752,7 @@ var ReactComponentEnvironment = {
5866
5752
  };
5867
5753
 
5868
5754
  module.exports = ReactComponentEnvironment;
5869
- },{"150":150,"175":175}],37:[function(_dereq_,module,exports){
5755
+ },{"152":152,"177":177}],37:[function(_dereq_,module,exports){
5870
5756
  /**
5871
5757
  * Copyright 2016-present, Facebook, Inc.
5872
5758
  * All rights reserved.
@@ -5880,12 +5766,12 @@ module.exports = ReactComponentEnvironment;
5880
5766
 
5881
5767
  'use strict';
5882
5768
 
5883
- var _prodInvariant = _dereq_(150);
5769
+ var _prodInvariant = _dereq_(152);
5884
5770
 
5885
5771
  var ReactCurrentOwner = _dereq_(40);
5886
5772
 
5887
- var invariant = _dereq_(175);
5888
- var warning = _dereq_(185);
5773
+ var invariant = _dereq_(177);
5774
+ var warning = _dereq_(187);
5889
5775
 
5890
5776
  var tree = {};
5891
5777
  var unmountedIDs = {};
@@ -5903,10 +5789,6 @@ function updateTree(id, update) {
5903
5789
  isMounted: false,
5904
5790
  updateCount: 0
5905
5791
  };
5906
- // TODO: We need to do this awkward dance because TopLevelWrapper "never
5907
- // gets mounted" but its display name gets set in instantiateReactComponent
5908
- // before its debug ID is set to 0.
5909
- unmountedIDs[id] = true;
5910
5792
  }
5911
5793
  update(tree[id]);
5912
5794
  }
@@ -5992,7 +5874,6 @@ var ReactComponentTreeDevtool = {
5992
5874
  updateTree(id, function (item) {
5993
5875
  return item.isMounted = true;
5994
5876
  });
5995
- delete unmountedIDs[id];
5996
5877
  },
5997
5878
  onMountRootComponent: function (id) {
5998
5879
  rootIDs[id] = true;
@@ -6090,7 +5971,7 @@ var ReactComponentTreeDevtool = {
6090
5971
  };
6091
5972
 
6092
5973
  module.exports = ReactComponentTreeDevtool;
6093
- },{"150":150,"175":175,"185":185,"40":40}],38:[function(_dereq_,module,exports){
5974
+ },{"152":152,"177":177,"187":187,"40":40}],38:[function(_dereq_,module,exports){
6094
5975
  /**
6095
5976
  * Copyright 2013-present, Facebook, Inc.
6096
5977
  * All rights reserved.
@@ -6104,7 +5985,7 @@ module.exports = ReactComponentTreeDevtool;
6104
5985
 
6105
5986
  'use strict';
6106
5987
 
6107
- var shallowCompare = _dereq_(154);
5988
+ var shallowCompare = _dereq_(156);
6108
5989
 
6109
5990
  /**
6110
5991
  * If your React component's render function is "pure", e.g. it will render the
@@ -6139,7 +6020,7 @@ var ReactComponentWithPureRenderMixin = {
6139
6020
  };
6140
6021
 
6141
6022
  module.exports = ReactComponentWithPureRenderMixin;
6142
- },{"154":154}],39:[function(_dereq_,module,exports){
6023
+ },{"156":156}],39:[function(_dereq_,module,exports){
6143
6024
  /**
6144
6025
  * Copyright 2013-present, Facebook, Inc.
6145
6026
  * All rights reserved.
@@ -6153,26 +6034,25 @@ module.exports = ReactComponentWithPureRenderMixin;
6153
6034
 
6154
6035
  'use strict';
6155
6036
 
6156
- var _prodInvariant = _dereq_(150),
6157
- _assign = _dereq_(186);
6037
+ var _prodInvariant = _dereq_(152),
6038
+ _assign = _dereq_(188);
6158
6039
 
6159
6040
  var ReactComponentEnvironment = _dereq_(36);
6160
6041
  var ReactCurrentOwner = _dereq_(40);
6161
- var ReactElement = _dereq_(65);
6162
- var ReactErrorUtils = _dereq_(68);
6163
- var ReactInstanceMap = _dereq_(77);
6164
- var ReactInstrumentation = _dereq_(78);
6165
- var ReactNodeTypes = _dereq_(85);
6166
- var ReactPropTypeLocations = _dereq_(90);
6167
- var ReactReconciler = _dereq_(93);
6168
- var ReactUpdateQueue = _dereq_(103);
6169
-
6170
- var checkReactTypeSpec = _dereq_(129);
6171
-
6172
- var emptyObject = _dereq_(168);
6173
- var invariant = _dereq_(175);
6174
- var shouldUpdateReactComponent = _dereq_(155);
6175
- var warning = _dereq_(185);
6042
+ var ReactElement = _dereq_(66);
6043
+ var ReactErrorUtils = _dereq_(69);
6044
+ var ReactInstanceMap = _dereq_(78);
6045
+ var ReactInstrumentation = _dereq_(79);
6046
+ var ReactNodeTypes = _dereq_(86);
6047
+ var ReactPropTypeLocations = _dereq_(91);
6048
+ var ReactReconciler = _dereq_(94);
6049
+
6050
+ var checkReactTypeSpec = _dereq_(131);
6051
+
6052
+ var emptyObject = _dereq_(170);
6053
+ var invariant = _dereq_(177);
6054
+ var shouldUpdateReactComponent = _dereq_(157);
6055
+ var warning = _dereq_(187);
6176
6056
 
6177
6057
  function StatelessComponent(Component) {}
6178
6058
  StatelessComponent.prototype.render = function () {
@@ -6315,8 +6195,10 @@ var ReactCompositeComponentMixin = {
6315
6195
 
6316
6196
  var Component = this._currentElement.type;
6317
6197
 
6198
+ var updateQueue = transaction.getUpdateQueue();
6199
+
6318
6200
  // Initialize the public class
6319
- var inst = this._constructComponent(publicProps, publicContext);
6201
+ var inst = this._constructComponent(publicProps, publicContext, updateQueue);
6320
6202
  var renderedElement;
6321
6203
 
6322
6204
  // Support functional components
@@ -6345,7 +6227,7 @@ var ReactCompositeComponentMixin = {
6345
6227
  inst.props = publicProps;
6346
6228
  inst.context = publicContext;
6347
6229
  inst.refs = emptyObject;
6348
- inst.updater = ReactUpdateQueue;
6230
+ inst.updater = updateQueue;
6349
6231
 
6350
6232
  this._instance = inst;
6351
6233
 
@@ -6393,20 +6275,20 @@ var ReactCompositeComponentMixin = {
6393
6275
  return markup;
6394
6276
  },
6395
6277
 
6396
- _constructComponent: function (publicProps, publicContext) {
6278
+ _constructComponent: function (publicProps, publicContext, updateQueue) {
6397
6279
  if ("development" !== 'production') {
6398
6280
  ReactCurrentOwner.current = this;
6399
6281
  try {
6400
- return this._constructComponentWithoutOwner(publicProps, publicContext);
6282
+ return this._constructComponentWithoutOwner(publicProps, publicContext, updateQueue);
6401
6283
  } finally {
6402
6284
  ReactCurrentOwner.current = null;
6403
6285
  }
6404
6286
  } else {
6405
- return this._constructComponentWithoutOwner(publicProps, publicContext);
6287
+ return this._constructComponentWithoutOwner(publicProps, publicContext, updateQueue);
6406
6288
  }
6407
6289
  },
6408
6290
 
6409
- _constructComponentWithoutOwner: function (publicProps, publicContext) {
6291
+ _constructComponentWithoutOwner: function (publicProps, publicContext, updateQueue) {
6410
6292
  var Component = this._currentElement.type;
6411
6293
  var instanceOrElement;
6412
6294
  if (shouldConstruct(Component)) {
@@ -6415,7 +6297,7 @@ var ReactCompositeComponentMixin = {
6415
6297
  ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'ctor');
6416
6298
  }
6417
6299
  }
6418
- instanceOrElement = new Component(publicProps, publicContext, ReactUpdateQueue);
6300
+ instanceOrElement = new Component(publicProps, publicContext, updateQueue);
6419
6301
  if ("development" !== 'production') {
6420
6302
  if (this._debugID !== 0) {
6421
6303
  ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'ctor');
@@ -6429,7 +6311,7 @@ var ReactCompositeComponentMixin = {
6429
6311
  ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'render');
6430
6312
  }
6431
6313
  }
6432
- instanceOrElement = Component(publicProps, publicContext, ReactUpdateQueue);
6314
+ instanceOrElement = Component(publicProps, publicContext, updateQueue);
6433
6315
  if ("development" !== 'production') {
6434
6316
  if (this._debugID !== 0) {
6435
6317
  ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'render');
@@ -6445,6 +6327,11 @@ var ReactCompositeComponentMixin = {
6445
6327
  try {
6446
6328
  markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);
6447
6329
  } catch (e) {
6330
+ if ("development" !== 'production') {
6331
+ if (this._debugID !== 0) {
6332
+ ReactInstrumentation.debugTool.onError();
6333
+ }
6334
+ }
6448
6335
  // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint
6449
6336
  transaction.rollback(checkpoint);
6450
6337
  this._instance.unstable_handleError(e);
@@ -6489,8 +6376,10 @@ var ReactCompositeComponentMixin = {
6489
6376
  renderedElement = this._renderValidatedComponent();
6490
6377
  }
6491
6378
 
6492
- this._renderedNodeType = ReactNodeTypes.getType(renderedElement);
6493
- var child = this._instantiateReactComponent(renderedElement);
6379
+ var nodeType = ReactNodeTypes.getType(renderedElement);
6380
+ this._renderedNodeType = nodeType;
6381
+ var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
6382
+ );
6494
6383
  this._renderedComponent = child;
6495
6384
  if ("development" !== 'production') {
6496
6385
  if (child._debugID !== 0 && this._debugID !== 0) {
@@ -6873,8 +6762,10 @@ var ReactCompositeComponentMixin = {
6873
6762
  var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);
6874
6763
  ReactReconciler.unmountComponent(prevComponentInstance, false);
6875
6764
 
6876
- this._renderedNodeType = ReactNodeTypes.getType(nextRenderedElement);
6877
- var child = this._instantiateReactComponent(nextRenderedElement);
6765
+ var nodeType = ReactNodeTypes.getType(nextRenderedElement);
6766
+ this._renderedNodeType = nodeType;
6767
+ var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
6768
+ );
6878
6769
  this._renderedComponent = child;
6879
6770
  if ("development" !== 'production') {
6880
6771
  if (child._debugID !== 0 && this._debugID !== 0) {
@@ -7023,7 +6914,7 @@ var ReactCompositeComponent = {
7023
6914
  };
7024
6915
 
7025
6916
  module.exports = ReactCompositeComponent;
7026
- },{"103":103,"129":129,"150":150,"155":155,"168":168,"175":175,"185":185,"186":186,"36":36,"40":40,"65":65,"68":68,"77":77,"78":78,"85":85,"90":90,"93":93}],40:[function(_dereq_,module,exports){
6917
+ },{"131":131,"152":152,"157":157,"170":170,"177":177,"187":187,"188":188,"36":36,"40":40,"66":66,"69":69,"78":78,"79":79,"86":86,"91":91,"94":94}],40:[function(_dereq_,module,exports){
7027
6918
  /**
7028
6919
  * Copyright 2013-present, Facebook, Inc.
7029
6920
  * All rights reserved.
@@ -7072,16 +6963,16 @@ module.exports = ReactCurrentOwner;
7072
6963
  'use strict';
7073
6964
 
7074
6965
  var ReactDOMComponentTree = _dereq_(45);
7075
- var ReactDefaultInjection = _dereq_(64);
7076
- var ReactMount = _dereq_(82);
7077
- var ReactReconciler = _dereq_(93);
7078
- var ReactUpdates = _dereq_(104);
7079
- var ReactVersion = _dereq_(105);
6966
+ var ReactDefaultInjection = _dereq_(65);
6967
+ var ReactMount = _dereq_(83);
6968
+ var ReactReconciler = _dereq_(94);
6969
+ var ReactUpdates = _dereq_(106);
6970
+ var ReactVersion = _dereq_(107);
7080
6971
 
7081
- var findDOMNode = _dereq_(133);
7082
- var getHostComponentFromComposite = _dereq_(140);
7083
- var renderSubtreeIntoContainer = _dereq_(151);
7084
- var warning = _dereq_(185);
6972
+ var findDOMNode = _dereq_(135);
6973
+ var getHostComponentFromComposite = _dereq_(142);
6974
+ var renderSubtreeIntoContainer = _dereq_(153);
6975
+ var warning = _dereq_(187);
7085
6976
 
7086
6977
  ReactDefaultInjection.inject();
7087
6978
 
@@ -7121,7 +7012,7 @@ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVT
7121
7012
  }
7122
7013
 
7123
7014
  if ("development" !== 'production') {
7124
- var ExecutionEnvironment = _dereq_(161);
7015
+ var ExecutionEnvironment = _dereq_(163);
7125
7016
  if (ExecutionEnvironment.canUseDOM && window.top === window.self) {
7126
7017
 
7127
7018
  // First check if devtools is not installed
@@ -7157,7 +7048,7 @@ if ("development" !== 'production') {
7157
7048
  }
7158
7049
 
7159
7050
  module.exports = React;
7160
- },{"104":104,"105":105,"133":133,"140":140,"151":151,"161":161,"185":185,"45":45,"64":64,"82":82,"93":93}],42:[function(_dereq_,module,exports){
7051
+ },{"106":106,"107":107,"135":135,"142":142,"153":153,"163":163,"187":187,"45":45,"65":65,"83":83,"94":94}],42:[function(_dereq_,module,exports){
7161
7052
  /**
7162
7053
  * Copyright 2013-present, Facebook, Inc.
7163
7054
  * All rights reserved.
@@ -7198,8 +7089,8 @@ module.exports = ReactDOMButton;
7198
7089
 
7199
7090
  'use strict';
7200
7091
 
7201
- var _prodInvariant = _dereq_(150),
7202
- _assign = _dereq_(186);
7092
+ var _prodInvariant = _dereq_(152),
7093
+ _assign = _dereq_(188);
7203
7094
 
7204
7095
  var AutoFocusUtils = _dereq_(1);
7205
7096
  var CSSPropertyOperations = _dereq_(4);
@@ -7216,21 +7107,21 @@ var ReactDOMButton = _dereq_(42);
7216
7107
  var ReactDOMComponentFlags = _dereq_(44);
7217
7108
  var ReactDOMComponentTree = _dereq_(45);
7218
7109
  var ReactDOMInput = _dereq_(52);
7219
- var ReactDOMOption = _dereq_(54);
7220
- var ReactDOMSelect = _dereq_(55);
7221
- var ReactDOMTextarea = _dereq_(59);
7222
- var ReactInstrumentation = _dereq_(78);
7223
- var ReactMultiChild = _dereq_(83);
7224
- var ReactServerRenderingTransaction = _dereq_(97);
7225
-
7226
- var emptyFunction = _dereq_(167);
7227
- var escapeTextContentForBrowser = _dereq_(132);
7228
- var invariant = _dereq_(175);
7229
- var isEventSupported = _dereq_(146);
7230
- var keyOf = _dereq_(179);
7231
- var shallowEqual = _dereq_(184);
7232
- var validateDOMNesting = _dereq_(158);
7233
- var warning = _dereq_(185);
7110
+ var ReactDOMOption = _dereq_(55);
7111
+ var ReactDOMSelect = _dereq_(56);
7112
+ var ReactDOMTextarea = _dereq_(60);
7113
+ var ReactInstrumentation = _dereq_(79);
7114
+ var ReactMultiChild = _dereq_(84);
7115
+ var ReactServerRenderingTransaction = _dereq_(98);
7116
+
7117
+ var emptyFunction = _dereq_(169);
7118
+ var escapeTextContentForBrowser = _dereq_(134);
7119
+ var invariant = _dereq_(177);
7120
+ var isEventSupported = _dereq_(148);
7121
+ var keyOf = _dereq_(181);
7122
+ var shallowEqual = _dereq_(186);
7123
+ var validateDOMNesting = _dereq_(160);
7124
+ var warning = _dereq_(187);
7234
7125
 
7235
7126
  var Flags = ReactDOMComponentFlags;
7236
7127
  var deleteListener = EventPluginHub.deleteListener;
@@ -7327,7 +7218,7 @@ function assertValidProps(component, props) {
7327
7218
  }
7328
7219
  // Note the use of `==` which checks for null or undefined.
7329
7220
  if (voidElementTags[component._tag]) {
7330
- !(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;
7221
+ !(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;
7331
7222
  }
7332
7223
  if (props.dangerouslySetInnerHTML != null) {
7333
7224
  !(props.children == null) ? "development" !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;
@@ -8186,7 +8077,7 @@ ReactDOMComponent.Mixin = {
8186
8077
  _assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);
8187
8078
 
8188
8079
  module.exports = ReactDOMComponent;
8189
- },{"1":1,"10":10,"11":11,"132":132,"146":146,"150":150,"158":158,"16":16,"167":167,"17":17,"175":175,"179":179,"18":18,"184":184,"185":185,"186":186,"28":28,"35":35,"4":4,"42":42,"44":44,"45":45,"52":52,"54":54,"55":55,"59":59,"78":78,"8":8,"83":83,"9":9,"97":97}],44:[function(_dereq_,module,exports){
8080
+ },{"1":1,"10":10,"11":11,"134":134,"148":148,"152":152,"16":16,"160":160,"169":169,"17":17,"177":177,"18":18,"181":181,"186":186,"187":187,"188":188,"28":28,"35":35,"4":4,"42":42,"44":44,"45":45,"52":52,"55":55,"56":56,"60":60,"79":79,"8":8,"84":84,"9":9,"98":98}],44:[function(_dereq_,module,exports){
8190
8081
  /**
8191
8082
  * Copyright 2015-present, Facebook, Inc.
8192
8083
  * All rights reserved.
@@ -8219,12 +8110,12 @@ module.exports = ReactDOMComponentFlags;
8219
8110
 
8220
8111
  'use strict';
8221
8112
 
8222
- var _prodInvariant = _dereq_(150);
8113
+ var _prodInvariant = _dereq_(152);
8223
8114
 
8224
8115
  var DOMProperty = _dereq_(10);
8225
8116
  var ReactDOMComponentFlags = _dereq_(44);
8226
8117
 
8227
- var invariant = _dereq_(175);
8118
+ var invariant = _dereq_(177);
8228
8119
 
8229
8120
  var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;
8230
8121
  var Flags = ReactDOMComponentFlags;
@@ -8394,7 +8285,7 @@ var ReactDOMComponentTree = {
8394
8285
  };
8395
8286
 
8396
8287
  module.exports = ReactDOMComponentTree;
8397
- },{"10":10,"150":150,"175":175,"44":44}],46:[function(_dereq_,module,exports){
8288
+ },{"10":10,"152":152,"177":177,"44":44}],46:[function(_dereq_,module,exports){
8398
8289
  /**
8399
8290
  * Copyright 2013-present, Facebook, Inc.
8400
8291
  * All rights reserved.
@@ -8408,7 +8299,7 @@ module.exports = ReactDOMComponentTree;
8408
8299
 
8409
8300
  'use strict';
8410
8301
 
8411
- var validateDOMNesting = _dereq_(158);
8302
+ var validateDOMNesting = _dereq_(160);
8412
8303
 
8413
8304
  var DOC_NODE_TYPE = 9;
8414
8305
 
@@ -8428,7 +8319,7 @@ function ReactDOMContainerInfo(topLevelWrapper, node) {
8428
8319
  }
8429
8320
 
8430
8321
  module.exports = ReactDOMContainerInfo;
8431
- },{"158":158}],47:[function(_dereq_,module,exports){
8322
+ },{"160":160}],47:[function(_dereq_,module,exports){
8432
8323
  /**
8433
8324
  * Copyright 2013-present, Facebook, Inc.
8434
8325
  * All rights reserved.
@@ -8442,27 +8333,26 @@ module.exports = ReactDOMContainerInfo;
8442
8333
 
8443
8334
  'use strict';
8444
8335
 
8445
- var ReactDOMUnknownPropertyDevtool = _dereq_(61);
8446
- var ReactDebugTool = _dereq_(62);
8336
+ var ReactDOMNullInputValuePropDevtool = _dereq_(54);
8337
+ var ReactDOMUnknownPropertyDevtool = _dereq_(62);
8338
+ var ReactDebugTool = _dereq_(63);
8447
8339
 
8448
- var warning = _dereq_(185);
8340
+ var warning = _dereq_(187);
8449
8341
 
8450
8342
  var eventHandlers = [];
8451
8343
  var handlerDoesThrowForEvent = {};
8452
8344
 
8453
8345
  function emitEvent(handlerFunctionName, arg1, arg2, arg3, arg4, arg5) {
8454
- if ("development" !== 'production') {
8455
- eventHandlers.forEach(function (handler) {
8456
- try {
8457
- if (handler[handlerFunctionName]) {
8458
- handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
8459
- }
8460
- } catch (e) {
8461
- "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
8462
- handlerDoesThrowForEvent[handlerFunctionName] = true;
8346
+ eventHandlers.forEach(function (handler) {
8347
+ try {
8348
+ if (handler[handlerFunctionName]) {
8349
+ handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
8463
8350
  }
8464
- });
8465
- }
8351
+ } catch (e) {
8352
+ "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
8353
+ handlerDoesThrowForEvent[handlerFunctionName] = true;
8354
+ }
8355
+ });
8466
8356
  }
8467
8357
 
8468
8358
  var ReactDOMDebugTool = {
@@ -8494,9 +8384,10 @@ var ReactDOMDebugTool = {
8494
8384
  };
8495
8385
 
8496
8386
  ReactDOMDebugTool.addDevtool(ReactDOMUnknownPropertyDevtool);
8387
+ ReactDOMDebugTool.addDevtool(ReactDOMNullInputValuePropDevtool);
8497
8388
 
8498
8389
  module.exports = ReactDOMDebugTool;
8499
- },{"185":185,"61":61,"62":62}],48:[function(_dereq_,module,exports){
8390
+ },{"187":187,"54":54,"62":62,"63":63}],48:[function(_dereq_,module,exports){
8500
8391
  /**
8501
8392
  * Copyright 2014-present, Facebook, Inc.
8502
8393
  * All rights reserved.
@@ -8510,7 +8401,7 @@ module.exports = ReactDOMDebugTool;
8510
8401
 
8511
8402
  'use strict';
8512
8403
 
8513
- var _assign = _dereq_(186);
8404
+ var _assign = _dereq_(188);
8514
8405
 
8515
8406
  var DOMLazyTree = _dereq_(8);
8516
8407
  var ReactDOMComponentTree = _dereq_(45);
@@ -8557,7 +8448,7 @@ _assign(ReactDOMEmptyComponent.prototype, {
8557
8448
  });
8558
8449
 
8559
8450
  module.exports = ReactDOMEmptyComponent;
8560
- },{"186":186,"45":45,"8":8}],49:[function(_dereq_,module,exports){
8451
+ },{"188":188,"45":45,"8":8}],49:[function(_dereq_,module,exports){
8561
8452
  /**
8562
8453
  * Copyright 2013-present, Facebook, Inc.
8563
8454
  * All rights reserved.
@@ -8571,9 +8462,9 @@ module.exports = ReactDOMEmptyComponent;
8571
8462
 
8572
8463
  'use strict';
8573
8464
 
8574
- var ReactElement = _dereq_(65);
8465
+ var ReactElement = _dereq_(66);
8575
8466
 
8576
- var mapObject = _dereq_(180);
8467
+ var mapObject = _dereq_(182);
8577
8468
 
8578
8469
  /**
8579
8470
  * Create a factory that creates HTML tag elements.
@@ -8583,7 +8474,7 @@ var mapObject = _dereq_(180);
8583
8474
  */
8584
8475
  function createDOMFactory(tag) {
8585
8476
  if ("development" !== 'production') {
8586
- var ReactElementValidator = _dereq_(66);
8477
+ var ReactElementValidator = _dereq_(67);
8587
8478
  return ReactElementValidator.createFactory(tag);
8588
8479
  }
8589
8480
  return ReactElement.createFactory(tag);
@@ -8734,7 +8625,7 @@ var ReactDOMFactories = mapObject({
8734
8625
  }, createDOMFactory);
8735
8626
 
8736
8627
  module.exports = ReactDOMFactories;
8737
- },{"180":180,"65":65,"66":66}],50:[function(_dereq_,module,exports){
8628
+ },{"182":182,"66":66,"67":67}],50:[function(_dereq_,module,exports){
8738
8629
  /**
8739
8630
  * Copyright 2013-present, Facebook, Inc.
8740
8631
  * All rights reserved.
@@ -8802,21 +8693,20 @@ module.exports = ReactDOMIDOperations;
8802
8693
 
8803
8694
  'use strict';
8804
8695
 
8805
- var _prodInvariant = _dereq_(150),
8806
- _assign = _dereq_(186);
8696
+ var _prodInvariant = _dereq_(152),
8697
+ _assign = _dereq_(188);
8807
8698
 
8808
8699
  var DisabledInputUtils = _dereq_(14);
8809
8700
  var DOMPropertyOperations = _dereq_(11);
8810
8701
  var LinkedValueUtils = _dereq_(25);
8811
8702
  var ReactDOMComponentTree = _dereq_(45);
8812
- var ReactUpdates = _dereq_(104);
8703
+ var ReactUpdates = _dereq_(106);
8813
8704
 
8814
- var invariant = _dereq_(175);
8815
- var warning = _dereq_(185);
8705
+ var invariant = _dereq_(177);
8706
+ var warning = _dereq_(187);
8816
8707
 
8817
8708
  var didWarnValueLink = false;
8818
8709
  var didWarnCheckedLink = false;
8819
- var didWarnValueNull = false;
8820
8710
  var didWarnValueDefaultValue = false;
8821
8711
  var didWarnCheckedDefaultChecked = false;
8822
8712
  var didWarnControlledToUncontrolled = false;
@@ -8829,14 +8719,6 @@ function forceUpdateIfMounted() {
8829
8719
  }
8830
8720
  }
8831
8721
 
8832
- function warnIfValueIsNull(props) {
8833
- if (props != null && props.value === null && !didWarnValueNull) {
8834
- "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;
8835
-
8836
- didWarnValueNull = true;
8837
- }
8838
- }
8839
-
8840
8722
  function isControlled(props) {
8841
8723
  var usesChecked = props.type === 'checkbox' || props.type === 'radio';
8842
8724
  return usesChecked ? props.checked !== undefined : props.value !== undefined;
@@ -8900,7 +8782,6 @@ var ReactDOMInput = {
8900
8782
  "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;
8901
8783
  didWarnValueDefaultValue = true;
8902
8784
  }
8903
- warnIfValueIsNull(props);
8904
8785
  }
8905
8786
 
8906
8787
  var defaultValue = props.defaultValue;
@@ -8920,8 +8801,6 @@ var ReactDOMInput = {
8920
8801
  var props = inst._currentElement.props;
8921
8802
 
8922
8803
  if ("development" !== 'production') {
8923
- warnIfValueIsNull(props);
8924
-
8925
8804
  var controlled = isControlled(props);
8926
8805
  var owner = inst._currentElement._owner;
8927
8806
 
@@ -8964,10 +8843,20 @@ var ReactDOMInput = {
8964
8843
  },
8965
8844
 
8966
8845
  postMountWrapper: function (inst) {
8846
+ var props = inst._currentElement.props;
8847
+
8967
8848
  // This is in postMount because we need access to the DOM node, which is not
8968
8849
  // available until after the component has mounted.
8969
8850
  var node = ReactDOMComponentTree.getNodeFromInstance(inst);
8970
- node.value = node.value; // Detach value from defaultValue
8851
+
8852
+ // Detach value from defaultValue. We won't do anything if we're working on
8853
+ // submit or reset inputs as those values & defaultValues are linked. They
8854
+ // are not resetable nodes so this operation doesn't matter and actually
8855
+ // removes browser-default values (eg "Submit Query") when no value is
8856
+ // provided.
8857
+ if (props.type !== 'submit' && props.type !== 'reset') {
8858
+ node.value = node.value;
8859
+ }
8971
8860
 
8972
8861
  // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
8973
8862
  // this is needed to work around a chrome bug where setting defaultChecked
@@ -8975,10 +8864,14 @@ var ReactDOMInput = {
8975
8864
  // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
8976
8865
  // We need to temporarily unset name to avoid disrupting radio button groups.
8977
8866
  var name = node.name;
8978
- node.name = undefined;
8867
+ if (name !== '') {
8868
+ node.name = '';
8869
+ }
8979
8870
  node.defaultChecked = !node.defaultChecked;
8980
8871
  node.defaultChecked = !node.defaultChecked;
8981
- node.name = name;
8872
+ if (name !== '') {
8873
+ node.name = name;
8874
+ }
8982
8875
  }
8983
8876
  };
8984
8877
 
@@ -9031,7 +8924,7 @@ function _handleChange(event) {
9031
8924
  }
9032
8925
 
9033
8926
  module.exports = ReactDOMInput;
9034
- },{"104":104,"11":11,"14":14,"150":150,"175":175,"185":185,"186":186,"25":25,"45":45}],53:[function(_dereq_,module,exports){
8927
+ },{"106":106,"11":11,"14":14,"152":152,"177":177,"187":187,"188":188,"25":25,"45":45}],53:[function(_dereq_,module,exports){
9035
8928
  /**
9036
8929
  * Copyright 2013-present, Facebook, Inc.
9037
8930
  * All rights reserved.
@@ -9045,10 +8938,59 @@ module.exports = ReactDOMInput;
9045
8938
 
9046
8939
  'use strict';
9047
8940
 
9048
- var ReactDOMDebugTool = _dereq_(47);
8941
+ var debugTool = null;
8942
+
8943
+ if ("development" !== 'production') {
8944
+ var ReactDOMDebugTool = _dereq_(47);
8945
+ debugTool = ReactDOMDebugTool;
8946
+ }
9049
8947
 
9050
- module.exports = { debugTool: ReactDOMDebugTool };
8948
+ module.exports = { debugTool: debugTool };
9051
8949
  },{"47":47}],54:[function(_dereq_,module,exports){
8950
+ /**
8951
+ * Copyright 2013-present, Facebook, Inc.
8952
+ * All rights reserved.
8953
+ *
8954
+ * This source code is licensed under the BSD-style license found in the
8955
+ * LICENSE file in the root directory of this source tree. An additional grant
8956
+ * of patent rights can be found in the PATENTS file in the same directory.
8957
+ *
8958
+ * @providesModule ReactDOMNullInputValuePropDevtool
8959
+ */
8960
+
8961
+ 'use strict';
8962
+
8963
+ var ReactComponentTreeDevtool = _dereq_(37);
8964
+
8965
+ var warning = _dereq_(187);
8966
+
8967
+ var didWarnValueNull = false;
8968
+
8969
+ function handleElement(debugID, element) {
8970
+ if (element == null) {
8971
+ return;
8972
+ }
8973
+ if (element.type !== 'input' && element.type !== 'textarea' && element.type !== 'select') {
8974
+ return;
8975
+ }
8976
+ if (element.props != null && element.props.value === null && !didWarnValueNull) {
8977
+ "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;
8978
+
8979
+ didWarnValueNull = true;
8980
+ }
8981
+ }
8982
+
8983
+ var ReactDOMUnknownPropertyDevtool = {
8984
+ onBeforeMountComponent: function (debugID, element) {
8985
+ handleElement(debugID, element);
8986
+ },
8987
+ onBeforeUpdateComponent: function (debugID, element) {
8988
+ handleElement(debugID, element);
8989
+ }
8990
+ };
8991
+
8992
+ module.exports = ReactDOMUnknownPropertyDevtool;
8993
+ },{"187":187,"37":37}],55:[function(_dereq_,module,exports){
9052
8994
  /**
9053
8995
  * Copyright 2013-present, Facebook, Inc.
9054
8996
  * All rights reserved.
@@ -9062,13 +9004,13 @@ module.exports = { debugTool: ReactDOMDebugTool };
9062
9004
 
9063
9005
  'use strict';
9064
9006
 
9065
- var _assign = _dereq_(186);
9007
+ var _assign = _dereq_(188);
9066
9008
 
9067
9009
  var ReactChildren = _dereq_(32);
9068
9010
  var ReactDOMComponentTree = _dereq_(45);
9069
- var ReactDOMSelect = _dereq_(55);
9011
+ var ReactDOMSelect = _dereq_(56);
9070
9012
 
9071
- var warning = _dereq_(185);
9013
+ var warning = _dereq_(187);
9072
9014
  var didWarnInvalidOptionChildren = false;
9073
9015
 
9074
9016
  function flattenChildren(children) {
@@ -9172,7 +9114,7 @@ var ReactDOMOption = {
9172
9114
  };
9173
9115
 
9174
9116
  module.exports = ReactDOMOption;
9175
- },{"185":185,"186":186,"32":32,"45":45,"55":55}],55:[function(_dereq_,module,exports){
9117
+ },{"187":187,"188":188,"32":32,"45":45,"56":56}],56:[function(_dereq_,module,exports){
9176
9118
  /**
9177
9119
  * Copyright 2013-present, Facebook, Inc.
9178
9120
  * All rights reserved.
@@ -9186,17 +9128,16 @@ module.exports = ReactDOMOption;
9186
9128
 
9187
9129
  'use strict';
9188
9130
 
9189
- var _assign = _dereq_(186);
9131
+ var _assign = _dereq_(188);
9190
9132
 
9191
9133
  var DisabledInputUtils = _dereq_(14);
9192
9134
  var LinkedValueUtils = _dereq_(25);
9193
9135
  var ReactDOMComponentTree = _dereq_(45);
9194
- var ReactUpdates = _dereq_(104);
9136
+ var ReactUpdates = _dereq_(106);
9195
9137
 
9196
- var warning = _dereq_(185);
9138
+ var warning = _dereq_(187);
9197
9139
 
9198
9140
  var didWarnValueLink = false;
9199
- var didWarnValueNull = false;
9200
9141
  var didWarnValueDefaultValue = false;
9201
9142
 
9202
9143
  function updateOptionsIfPendingUpdateAndMounted() {
@@ -9222,14 +9163,6 @@ function getDeclarationErrorAddendum(owner) {
9222
9163
  return '';
9223
9164
  }
9224
9165
 
9225
- function warnIfValueIsNull(props) {
9226
- if (props != null && props.value === null && !didWarnValueNull) {
9227
- "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;
9228
-
9229
- didWarnValueNull = true;
9230
- }
9231
- }
9232
-
9233
9166
  var valuePropNames = ['value', 'defaultValue'];
9234
9167
 
9235
9168
  /**
@@ -9321,7 +9254,6 @@ var ReactDOMSelect = {
9321
9254
  mountWrapper: function (inst, props) {
9322
9255
  if ("development" !== 'production') {
9323
9256
  checkSelectPropTypes(inst, props);
9324
- warnIfValueIsNull(props);
9325
9257
  }
9326
9258
 
9327
9259
  var value = LinkedValueUtils.getValue(props);
@@ -9347,9 +9279,6 @@ var ReactDOMSelect = {
9347
9279
 
9348
9280
  postUpdateWrapper: function (inst) {
9349
9281
  var props = inst._currentElement.props;
9350
- if ("development" !== 'production') {
9351
- warnIfValueIsNull(props);
9352
- }
9353
9282
 
9354
9283
  // After the initial mount, we control selected-ness manually so don't pass
9355
9284
  // this value down
@@ -9386,7 +9315,7 @@ function _handleChange(event) {
9386
9315
  }
9387
9316
 
9388
9317
  module.exports = ReactDOMSelect;
9389
- },{"104":104,"14":14,"185":185,"186":186,"25":25,"45":45}],56:[function(_dereq_,module,exports){
9318
+ },{"106":106,"14":14,"187":187,"188":188,"25":25,"45":45}],57:[function(_dereq_,module,exports){
9390
9319
  /**
9391
9320
  * Copyright 2013-present, Facebook, Inc.
9392
9321
  * All rights reserved.
@@ -9400,10 +9329,10 @@ module.exports = ReactDOMSelect;
9400
9329
 
9401
9330
  'use strict';
9402
9331
 
9403
- var ExecutionEnvironment = _dereq_(161);
9332
+ var ExecutionEnvironment = _dereq_(163);
9404
9333
 
9405
- var getNodeForCharacterOffset = _dereq_(142);
9406
- var getTextContentAccessor = _dereq_(143);
9334
+ var getNodeForCharacterOffset = _dereq_(144);
9335
+ var getTextContentAccessor = _dereq_(145);
9407
9336
 
9408
9337
  /**
9409
9338
  * While `isCollapsed` is available on the Selection object and `collapsed`
@@ -9599,7 +9528,7 @@ var ReactDOMSelection = {
9599
9528
  };
9600
9529
 
9601
9530
  module.exports = ReactDOMSelection;
9602
- },{"142":142,"143":143,"161":161}],57:[function(_dereq_,module,exports){
9531
+ },{"144":144,"145":145,"163":163}],58:[function(_dereq_,module,exports){
9603
9532
  /**
9604
9533
  * Copyright 2013-present, Facebook, Inc.
9605
9534
  * All rights reserved.
@@ -9613,9 +9542,9 @@ module.exports = ReactDOMSelection;
9613
9542
 
9614
9543
  'use strict';
9615
9544
 
9616
- var ReactDefaultInjection = _dereq_(64);
9617
- var ReactServerRendering = _dereq_(96);
9618
- var ReactVersion = _dereq_(105);
9545
+ var ReactDefaultInjection = _dereq_(65);
9546
+ var ReactServerRendering = _dereq_(97);
9547
+ var ReactVersion = _dereq_(107);
9619
9548
 
9620
9549
  ReactDefaultInjection.inject();
9621
9550
 
@@ -9626,7 +9555,7 @@ var ReactDOMServer = {
9626
9555
  };
9627
9556
 
9628
9557
  module.exports = ReactDOMServer;
9629
- },{"105":105,"64":64,"96":96}],58:[function(_dereq_,module,exports){
9558
+ },{"107":107,"65":65,"97":97}],59:[function(_dereq_,module,exports){
9630
9559
  /**
9631
9560
  * Copyright 2013-present, Facebook, Inc.
9632
9561
  * All rights reserved.
@@ -9640,17 +9569,17 @@ module.exports = ReactDOMServer;
9640
9569
 
9641
9570
  'use strict';
9642
9571
 
9643
- var _prodInvariant = _dereq_(150),
9644
- _assign = _dereq_(186);
9572
+ var _prodInvariant = _dereq_(152),
9573
+ _assign = _dereq_(188);
9645
9574
 
9646
9575
  var DOMChildrenOperations = _dereq_(7);
9647
9576
  var DOMLazyTree = _dereq_(8);
9648
9577
  var ReactDOMComponentTree = _dereq_(45);
9649
- var ReactInstrumentation = _dereq_(78);
9578
+ var ReactInstrumentation = _dereq_(79);
9650
9579
 
9651
- var escapeTextContentForBrowser = _dereq_(132);
9652
- var invariant = _dereq_(175);
9653
- var validateDOMNesting = _dereq_(158);
9580
+ var escapeTextContentForBrowser = _dereq_(134);
9581
+ var invariant = _dereq_(177);
9582
+ var validateDOMNesting = _dereq_(160);
9654
9583
 
9655
9584
  /**
9656
9585
  * Text nodes violate a couple assumptions that React makes about components:
@@ -9798,7 +9727,7 @@ _assign(ReactDOMTextComponent.prototype, {
9798
9727
  });
9799
9728
 
9800
9729
  module.exports = ReactDOMTextComponent;
9801
- },{"132":132,"150":150,"158":158,"175":175,"186":186,"45":45,"7":7,"78":78,"8":8}],59:[function(_dereq_,module,exports){
9730
+ },{"134":134,"152":152,"160":160,"177":177,"188":188,"45":45,"7":7,"79":79,"8":8}],60:[function(_dereq_,module,exports){
9802
9731
  /**
9803
9732
  * Copyright 2013-present, Facebook, Inc.
9804
9733
  * All rights reserved.
@@ -9812,19 +9741,18 @@ module.exports = ReactDOMTextComponent;
9812
9741
 
9813
9742
  'use strict';
9814
9743
 
9815
- var _prodInvariant = _dereq_(150),
9816
- _assign = _dereq_(186);
9744
+ var _prodInvariant = _dereq_(152),
9745
+ _assign = _dereq_(188);
9817
9746
 
9818
9747
  var DisabledInputUtils = _dereq_(14);
9819
9748
  var LinkedValueUtils = _dereq_(25);
9820
9749
  var ReactDOMComponentTree = _dereq_(45);
9821
- var ReactUpdates = _dereq_(104);
9750
+ var ReactUpdates = _dereq_(106);
9822
9751
 
9823
- var invariant = _dereq_(175);
9824
- var warning = _dereq_(185);
9752
+ var invariant = _dereq_(177);
9753
+ var warning = _dereq_(187);
9825
9754
 
9826
9755
  var didWarnValueLink = false;
9827
- var didWarnValueNull = false;
9828
9756
  var didWarnValDefaultVal = false;
9829
9757
 
9830
9758
  function forceUpdateIfMounted() {
@@ -9834,14 +9762,6 @@ function forceUpdateIfMounted() {
9834
9762
  }
9835
9763
  }
9836
9764
 
9837
- function warnIfValueIsNull(props) {
9838
- if (props != null && props.value === null && !didWarnValueNull) {
9839
- "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;
9840
-
9841
- didWarnValueNull = true;
9842
- }
9843
- }
9844
-
9845
9765
  /**
9846
9766
  * Implements a <textarea> host component that allows setting `value`, and
9847
9767
  * `defaultValue`. This differs from the traditional DOM API because value is
@@ -9887,7 +9807,6 @@ var ReactDOMTextarea = {
9887
9807
  "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;
9888
9808
  didWarnValDefaultVal = true;
9889
9809
  }
9890
- warnIfValueIsNull(props);
9891
9810
  }
9892
9811
 
9893
9812
  var value = LinkedValueUtils.getValue(props);
@@ -9926,10 +9845,6 @@ var ReactDOMTextarea = {
9926
9845
  updateWrapper: function (inst) {
9927
9846
  var props = inst._currentElement.props;
9928
9847
 
9929
- if ("development" !== 'production') {
9930
- warnIfValueIsNull(props);
9931
- }
9932
-
9933
9848
  var node = ReactDOMComponentTree.getNodeFromInstance(inst);
9934
9849
  var value = LinkedValueUtils.getValue(props);
9935
9850
  if (value != null) {
@@ -9968,7 +9883,7 @@ function _handleChange(event) {
9968
9883
  }
9969
9884
 
9970
9885
  module.exports = ReactDOMTextarea;
9971
- },{"104":104,"14":14,"150":150,"175":175,"185":185,"186":186,"25":25,"45":45}],60:[function(_dereq_,module,exports){
9886
+ },{"106":106,"14":14,"152":152,"177":177,"187":187,"188":188,"25":25,"45":45}],61:[function(_dereq_,module,exports){
9972
9887
  /**
9973
9888
  * Copyright 2015-present, Facebook, Inc.
9974
9889
  * All rights reserved.
@@ -9982,9 +9897,9 @@ module.exports = ReactDOMTextarea;
9982
9897
 
9983
9898
  'use strict';
9984
9899
 
9985
- var _prodInvariant = _dereq_(150);
9900
+ var _prodInvariant = _dereq_(152);
9986
9901
 
9987
- var invariant = _dereq_(175);
9902
+ var invariant = _dereq_(177);
9988
9903
 
9989
9904
  /**
9990
9905
  * Return the lowest common ancestor of A and B, or null if they are in
@@ -10105,7 +10020,7 @@ module.exports = {
10105
10020
  traverseTwoPhase: traverseTwoPhase,
10106
10021
  traverseEnterLeave: traverseEnterLeave
10107
10022
  };
10108
- },{"150":150,"175":175}],61:[function(_dereq_,module,exports){
10023
+ },{"152":152,"177":177}],62:[function(_dereq_,module,exports){
10109
10024
  /**
10110
10025
  * Copyright 2013-present, Facebook, Inc.
10111
10026
  * All rights reserved.
@@ -10123,7 +10038,7 @@ var DOMProperty = _dereq_(10);
10123
10038
  var EventPluginRegistry = _dereq_(18);
10124
10039
  var ReactComponentTreeDevtool = _dereq_(37);
10125
10040
 
10126
- var warning = _dereq_(185);
10041
+ var warning = _dereq_(187);
10127
10042
 
10128
10043
  if ("development" !== 'production') {
10129
10044
  var reactProps = {
@@ -10218,7 +10133,7 @@ var ReactDOMUnknownPropertyDevtool = {
10218
10133
  };
10219
10134
 
10220
10135
  module.exports = ReactDOMUnknownPropertyDevtool;
10221
- },{"10":10,"18":18,"185":185,"37":37}],62:[function(_dereq_,module,exports){
10136
+ },{"10":10,"18":18,"187":187,"37":37}],63:[function(_dereq_,module,exports){
10222
10137
  /**
10223
10138
  * Copyright 2016-present, Facebook, Inc.
10224
10139
  * All rights reserved.
@@ -10232,27 +10147,28 @@ module.exports = ReactDOMUnknownPropertyDevtool;
10232
10147
 
10233
10148
  'use strict';
10234
10149
 
10235
- var ExecutionEnvironment = _dereq_(161);
10150
+ var ReactInvalidSetStateWarningDevTool = _dereq_(80);
10151
+ var ReactHostOperationHistoryDevtool = _dereq_(75);
10152
+ var ReactComponentTreeDevtool = _dereq_(37);
10153
+ var ExecutionEnvironment = _dereq_(163);
10236
10154
 
10237
- var performanceNow = _dereq_(183);
10238
- var warning = _dereq_(185);
10155
+ var performanceNow = _dereq_(185);
10156
+ var warning = _dereq_(187);
10239
10157
 
10240
10158
  var eventHandlers = [];
10241
10159
  var handlerDoesThrowForEvent = {};
10242
10160
 
10243
10161
  function emitEvent(handlerFunctionName, arg1, arg2, arg3, arg4, arg5) {
10244
- if ("development" !== 'production') {
10245
- eventHandlers.forEach(function (handler) {
10246
- try {
10247
- if (handler[handlerFunctionName]) {
10248
- handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
10249
- }
10250
- } catch (e) {
10251
- "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
10252
- handlerDoesThrowForEvent[handlerFunctionName] = true;
10162
+ eventHandlers.forEach(function (handler) {
10163
+ try {
10164
+ if (handler[handlerFunctionName]) {
10165
+ handler[handlerFunctionName](arg1, arg2, arg3, arg4, arg5);
10253
10166
  }
10254
- });
10255
- }
10167
+ } catch (e) {
10168
+ "development" !== 'production' ? warning(handlerDoesThrowForEvent[handlerFunctionName], 'exception thrown by devtool while handling %s: %s', handlerFunctionName, e + '\n' + e.stack) : void 0;
10169
+ handlerDoesThrowForEvent[handlerFunctionName] = true;
10170
+ }
10171
+ });
10256
10172
  }
10257
10173
 
10258
10174
  var isProfiling = false;
@@ -10289,32 +10205,30 @@ function getTreeSnapshot(registeredIDs) {
10289
10205
  }
10290
10206
 
10291
10207
  function resetMeasurements() {
10292
- if ("development" !== 'production') {
10293
- var previousStartTime = currentFlushStartTime;
10294
- var previousMeasurements = currentFlushMeasurements || [];
10295
- var previousOperations = ReactHostOperationHistoryDevtool.getHistory();
10296
-
10297
- if (!isProfiling || currentFlushNesting === 0) {
10298
- currentFlushStartTime = null;
10299
- currentFlushMeasurements = null;
10300
- clearHistory();
10301
- return;
10302
- }
10303
-
10304
- if (previousMeasurements.length || previousOperations.length) {
10305
- var registeredIDs = ReactComponentTreeDevtool.getRegisteredIDs();
10306
- flushHistory.push({
10307
- duration: performanceNow() - previousStartTime,
10308
- measurements: previousMeasurements || [],
10309
- operations: previousOperations || [],
10310
- treeSnapshot: getTreeSnapshot(registeredIDs)
10311
- });
10312
- }
10208
+ var previousStartTime = currentFlushStartTime;
10209
+ var previousMeasurements = currentFlushMeasurements || [];
10210
+ var previousOperations = ReactHostOperationHistoryDevtool.getHistory();
10313
10211
 
10212
+ if (currentFlushNesting === 0) {
10213
+ currentFlushStartTime = null;
10214
+ currentFlushMeasurements = null;
10314
10215
  clearHistory();
10315
- currentFlushStartTime = performanceNow();
10316
- currentFlushMeasurements = [];
10216
+ return;
10317
10217
  }
10218
+
10219
+ if (previousMeasurements.length || previousOperations.length) {
10220
+ var registeredIDs = ReactComponentTreeDevtool.getRegisteredIDs();
10221
+ flushHistory.push({
10222
+ duration: performanceNow() - previousStartTime,
10223
+ measurements: previousMeasurements || [],
10224
+ operations: previousOperations || [],
10225
+ treeSnapshot: getTreeSnapshot(registeredIDs)
10226
+ });
10227
+ }
10228
+
10229
+ clearHistory();
10230
+ currentFlushStartTime = performanceNow();
10231
+ currentFlushMeasurements = [];
10318
10232
  }
10319
10233
 
10320
10234
  function checkDebugID(debugID) {
@@ -10322,7 +10236,7 @@ function checkDebugID(debugID) {
10322
10236
  }
10323
10237
 
10324
10238
  function beginLifeCycleTimer(debugID, timerType) {
10325
- if (!isProfiling || currentFlushNesting === 0) {
10239
+ if (currentFlushNesting === 0) {
10326
10240
  return;
10327
10241
  }
10328
10242
  "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;
@@ -10333,15 +10247,17 @@ function beginLifeCycleTimer(debugID, timerType) {
10333
10247
  }
10334
10248
 
10335
10249
  function endLifeCycleTimer(debugID, timerType) {
10336
- if (!isProfiling || currentFlushNesting === 0) {
10250
+ if (currentFlushNesting === 0) {
10337
10251
  return;
10338
10252
  }
10339
10253
  "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;
10340
- currentFlushMeasurements.push({
10341
- timerType: timerType,
10342
- instanceID: debugID,
10343
- duration: performanceNow() - currentTimerStartTime - currentTimerNestedFlushDuration
10344
- });
10254
+ if (isProfiling) {
10255
+ currentFlushMeasurements.push({
10256
+ timerType: timerType,
10257
+ instanceID: debugID,
10258
+ duration: performanceNow() - currentTimerStartTime - currentTimerNestedFlushDuration
10259
+ });
10260
+ }
10345
10261
  currentTimerStartTime = null;
10346
10262
  currentTimerNestedFlushDuration = null;
10347
10263
  currentTimerDebugID = null;
@@ -10393,57 +10309,47 @@ var ReactDebugTool = {
10393
10309
  return isProfiling;
10394
10310
  },
10395
10311
  beginProfiling: function () {
10396
- if ("development" !== 'production') {
10397
- if (isProfiling) {
10398
- return;
10399
- }
10400
-
10401
- isProfiling = true;
10402
- flushHistory.length = 0;
10403
- resetMeasurements();
10312
+ if (isProfiling) {
10313
+ return;
10404
10314
  }
10315
+
10316
+ isProfiling = true;
10317
+ flushHistory.length = 0;
10318
+ resetMeasurements();
10319
+ ReactDebugTool.addDevtool(ReactHostOperationHistoryDevtool);
10405
10320
  },
10406
10321
  endProfiling: function () {
10407
- if ("development" !== 'production') {
10408
- if (!isProfiling) {
10409
- return;
10410
- }
10411
-
10412
- isProfiling = false;
10413
- resetMeasurements();
10322
+ if (!isProfiling) {
10323
+ return;
10414
10324
  }
10325
+
10326
+ isProfiling = false;
10327
+ resetMeasurements();
10328
+ ReactDebugTool.removeDevtool(ReactHostOperationHistoryDevtool);
10415
10329
  },
10416
10330
  getFlushHistory: function () {
10417
10331
  return flushHistory;
10418
10332
  },
10419
10333
  onBeginFlush: function () {
10420
- if ("development" !== 'production') {
10421
- currentFlushNesting++;
10422
- resetMeasurements();
10423
- pauseCurrentLifeCycleTimer();
10424
- }
10334
+ currentFlushNesting++;
10335
+ resetMeasurements();
10336
+ pauseCurrentLifeCycleTimer();
10425
10337
  emitEvent('onBeginFlush');
10426
10338
  },
10427
10339
  onEndFlush: function () {
10428
- if ("development" !== 'production') {
10429
- resetMeasurements();
10430
- currentFlushNesting--;
10431
- resumeCurrentLifeCycleTimer();
10432
- }
10340
+ resetMeasurements();
10341
+ currentFlushNesting--;
10342
+ resumeCurrentLifeCycleTimer();
10433
10343
  emitEvent('onEndFlush');
10434
10344
  },
10435
10345
  onBeginLifeCycleTimer: function (debugID, timerType) {
10436
10346
  checkDebugID(debugID);
10437
10347
  emitEvent('onBeginLifeCycleTimer', debugID, timerType);
10438
- if ("development" !== 'production') {
10439
- beginLifeCycleTimer(debugID, timerType);
10440
- }
10348
+ beginLifeCycleTimer(debugID, timerType);
10441
10349
  },
10442
10350
  onEndLifeCycleTimer: function (debugID, timerType) {
10443
10351
  checkDebugID(debugID);
10444
- if ("development" !== 'production') {
10445
- endLifeCycleTimer(debugID, timerType);
10446
- }
10352
+ endLifeCycleTimer(debugID, timerType);
10447
10353
  emitEvent('onEndLifeCycleTimer', debugID, timerType);
10448
10354
  },
10449
10355
  onBeginReconcilerTimer: function (debugID, timerType) {
@@ -10454,6 +10360,12 @@ var ReactDebugTool = {
10454
10360
  checkDebugID(debugID);
10455
10361
  emitEvent('onEndReconcilerTimer', debugID, timerType);
10456
10362
  },
10363
+ onError: function (debugID) {
10364
+ if (currentTimerDebugID != null) {
10365
+ endLifeCycleTimer(currentTimerDebugID, currentTimerType);
10366
+ }
10367
+ emitEvent('onError', debugID);
10368
+ },
10457
10369
  onBeginProcessingChildContext: function () {
10458
10370
  emitEvent('onBeginProcessingChildContext');
10459
10371
  },
@@ -10473,6 +10385,7 @@ var ReactDebugTool = {
10473
10385
  },
10474
10386
  onSetChildren: function (debugID, childDebugIDs) {
10475
10387
  checkDebugID(debugID);
10388
+ childDebugIDs.forEach(checkDebugID);
10476
10389
  emitEvent('onSetChildren', debugID, childDebugIDs);
10477
10390
  },
10478
10391
  onSetOwner: function (debugID, ownerDebugID) {
@@ -10516,21 +10429,15 @@ var ReactDebugTool = {
10516
10429
  }
10517
10430
  };
10518
10431
 
10519
- if ("development" !== 'production') {
10520
- var ReactInvalidSetStateWarningDevTool = _dereq_(79);
10521
- var ReactHostOperationHistoryDevtool = _dereq_(74);
10522
- var ReactComponentTreeDevtool = _dereq_(37);
10523
- ReactDebugTool.addDevtool(ReactInvalidSetStateWarningDevTool);
10524
- ReactDebugTool.addDevtool(ReactComponentTreeDevtool);
10525
- ReactDebugTool.addDevtool(ReactHostOperationHistoryDevtool);
10526
- var url = ExecutionEnvironment.canUseDOM && window.location.href || '';
10527
- if (/[?&]react_perf\b/.test(url)) {
10528
- ReactDebugTool.beginProfiling();
10529
- }
10432
+ ReactDebugTool.addDevtool(ReactInvalidSetStateWarningDevTool);
10433
+ ReactDebugTool.addDevtool(ReactComponentTreeDevtool);
10434
+ var url = ExecutionEnvironment.canUseDOM && window.location.href || '';
10435
+ if (/[?&]react_perf\b/.test(url)) {
10436
+ ReactDebugTool.beginProfiling();
10530
10437
  }
10531
10438
 
10532
10439
  module.exports = ReactDebugTool;
10533
- },{"161":161,"183":183,"185":185,"37":37,"74":74,"79":79}],63:[function(_dereq_,module,exports){
10440
+ },{"163":163,"185":185,"187":187,"37":37,"75":75,"80":80}],64:[function(_dereq_,module,exports){
10534
10441
  /**
10535
10442
  * Copyright 2013-present, Facebook, Inc.
10536
10443
  * All rights reserved.
@@ -10544,12 +10451,12 @@ module.exports = ReactDebugTool;
10544
10451
 
10545
10452
  'use strict';
10546
10453
 
10547
- var _assign = _dereq_(186);
10454
+ var _assign = _dereq_(188);
10548
10455
 
10549
- var ReactUpdates = _dereq_(104);
10550
- var Transaction = _dereq_(124);
10456
+ var ReactUpdates = _dereq_(106);
10457
+ var Transaction = _dereq_(126);
10551
10458
 
10552
- var emptyFunction = _dereq_(167);
10459
+ var emptyFunction = _dereq_(169);
10553
10460
 
10554
10461
  var RESET_BATCHED_UPDATES = {
10555
10462
  initialize: emptyFunction,
@@ -10599,7 +10506,7 @@ var ReactDefaultBatchingStrategy = {
10599
10506
  };
10600
10507
 
10601
10508
  module.exports = ReactDefaultBatchingStrategy;
10602
- },{"104":104,"124":124,"167":167,"186":186}],64:[function(_dereq_,module,exports){
10509
+ },{"106":106,"126":126,"169":169,"188":188}],65:[function(_dereq_,module,exports){
10603
10510
  /**
10604
10511
  * Copyright 2013-present, Facebook, Inc.
10605
10512
  * All rights reserved.
@@ -10622,15 +10529,15 @@ var ReactComponentBrowserEnvironment = _dereq_(35);
10622
10529
  var ReactDOMComponent = _dereq_(43);
10623
10530
  var ReactDOMComponentTree = _dereq_(45);
10624
10531
  var ReactDOMEmptyComponent = _dereq_(48);
10625
- var ReactDOMTreeTraversal = _dereq_(60);
10626
- var ReactDOMTextComponent = _dereq_(58);
10627
- var ReactDefaultBatchingStrategy = _dereq_(63);
10628
- var ReactEventListener = _dereq_(70);
10629
- var ReactInjection = _dereq_(75);
10630
- var ReactReconcileTransaction = _dereq_(92);
10631
- var SVGDOMPropertyConfig = _dereq_(108);
10632
- var SelectEventPlugin = _dereq_(109);
10633
- var SimpleEventPlugin = _dereq_(110);
10532
+ var ReactDOMTreeTraversal = _dereq_(61);
10533
+ var ReactDOMTextComponent = _dereq_(59);
10534
+ var ReactDefaultBatchingStrategy = _dereq_(64);
10535
+ var ReactEventListener = _dereq_(71);
10536
+ var ReactInjection = _dereq_(76);
10537
+ var ReactReconcileTransaction = _dereq_(93);
10538
+ var SVGDOMPropertyConfig = _dereq_(110);
10539
+ var SelectEventPlugin = _dereq_(111);
10540
+ var SimpleEventPlugin = _dereq_(112);
10634
10541
 
10635
10542
  var alreadyInjected = false;
10636
10543
 
@@ -10684,7 +10591,7 @@ function inject() {
10684
10591
  module.exports = {
10685
10592
  inject: inject
10686
10593
  };
10687
- },{"108":108,"109":109,"110":110,"13":13,"15":15,"2":2,"22":22,"35":35,"43":43,"45":45,"48":48,"58":58,"6":6,"60":60,"63":63,"70":70,"75":75,"92":92}],65:[function(_dereq_,module,exports){
10594
+ },{"110":110,"111":111,"112":112,"13":13,"15":15,"2":2,"22":22,"35":35,"43":43,"45":45,"48":48,"59":59,"6":6,"61":61,"64":64,"71":71,"76":76,"93":93}],66:[function(_dereq_,module,exports){
10688
10595
  /**
10689
10596
  * Copyright 2014-present, Facebook, Inc.
10690
10597
  * All rights reserved.
@@ -10698,12 +10605,12 @@ module.exports = {
10698
10605
 
10699
10606
  'use strict';
10700
10607
 
10701
- var _assign = _dereq_(186);
10608
+ var _assign = _dereq_(188);
10702
10609
 
10703
10610
  var ReactCurrentOwner = _dereq_(40);
10704
10611
 
10705
- var warning = _dereq_(185);
10706
- var canDefineProperty = _dereq_(128);
10612
+ var warning = _dereq_(187);
10613
+ var canDefineProperty = _dereq_(130);
10707
10614
  var hasOwnProperty = Object.prototype.hasOwnProperty;
10708
10615
 
10709
10616
  // The Symbol used to tag the ReactElement type. If there is no native Symbol
@@ -11037,7 +10944,7 @@ ReactElement.isValidElement = function (object) {
11037
10944
  ReactElement.REACT_ELEMENT_TYPE = REACT_ELEMENT_TYPE;
11038
10945
 
11039
10946
  module.exports = ReactElement;
11040
- },{"128":128,"185":185,"186":186,"40":40}],66:[function(_dereq_,module,exports){
10947
+ },{"130":130,"187":187,"188":188,"40":40}],67:[function(_dereq_,module,exports){
11041
10948
  /**
11042
10949
  * Copyright 2014-present, Facebook, Inc.
11043
10950
  * All rights reserved.
@@ -11060,14 +10967,14 @@ module.exports = ReactElement;
11060
10967
 
11061
10968
  var ReactCurrentOwner = _dereq_(40);
11062
10969
  var ReactComponentTreeDevtool = _dereq_(37);
11063
- var ReactElement = _dereq_(65);
11064
- var ReactPropTypeLocations = _dereq_(90);
10970
+ var ReactElement = _dereq_(66);
10971
+ var ReactPropTypeLocations = _dereq_(91);
11065
10972
 
11066
- var checkReactTypeSpec = _dereq_(129);
10973
+ var checkReactTypeSpec = _dereq_(131);
11067
10974
 
11068
- var canDefineProperty = _dereq_(128);
11069
- var getIteratorFn = _dereq_(141);
11070
- var warning = _dereq_(185);
10975
+ var canDefineProperty = _dereq_(130);
10976
+ var getIteratorFn = _dereq_(143);
10977
+ var warning = _dereq_(187);
11071
10978
 
11072
10979
  function getDeclarationErrorAddendum() {
11073
10980
  if (ReactCurrentOwner.current) {
@@ -11264,7 +11171,7 @@ var ReactElementValidator = {
11264
11171
  };
11265
11172
 
11266
11173
  module.exports = ReactElementValidator;
11267
- },{"128":128,"129":129,"141":141,"185":185,"37":37,"40":40,"65":65,"90":90}],67:[function(_dereq_,module,exports){
11174
+ },{"130":130,"131":131,"143":143,"187":187,"37":37,"40":40,"66":66,"91":91}],68:[function(_dereq_,module,exports){
11268
11175
  /**
11269
11176
  * Copyright 2014-present, Facebook, Inc.
11270
11177
  * All rights reserved.
@@ -11295,7 +11202,7 @@ var ReactEmptyComponent = {
11295
11202
  ReactEmptyComponent.injection = ReactEmptyComponentInjection;
11296
11203
 
11297
11204
  module.exports = ReactEmptyComponent;
11298
- },{}],68:[function(_dereq_,module,exports){
11205
+ },{}],69:[function(_dereq_,module,exports){
11299
11206
  /**
11300
11207
  * Copyright 2013-present, Facebook, Inc.
11301
11208
  * All rights reserved.
@@ -11372,7 +11279,7 @@ if ("development" !== 'production') {
11372
11279
  }
11373
11280
 
11374
11281
  module.exports = ReactErrorUtils;
11375
- },{}],69:[function(_dereq_,module,exports){
11282
+ },{}],70:[function(_dereq_,module,exports){
11376
11283
  /**
11377
11284
  * Copyright 2013-present, Facebook, Inc.
11378
11285
  * All rights reserved.
@@ -11406,7 +11313,7 @@ var ReactEventEmitterMixin = {
11406
11313
  };
11407
11314
 
11408
11315
  module.exports = ReactEventEmitterMixin;
11409
- },{"17":17}],70:[function(_dereq_,module,exports){
11316
+ },{"17":17}],71:[function(_dereq_,module,exports){
11410
11317
  /**
11411
11318
  * Copyright 2013-present, Facebook, Inc.
11412
11319
  * All rights reserved.
@@ -11420,16 +11327,16 @@ module.exports = ReactEventEmitterMixin;
11420
11327
 
11421
11328
  'use strict';
11422
11329
 
11423
- var _assign = _dereq_(186);
11330
+ var _assign = _dereq_(188);
11424
11331
 
11425
- var EventListener = _dereq_(160);
11426
- var ExecutionEnvironment = _dereq_(161);
11332
+ var EventListener = _dereq_(162);
11333
+ var ExecutionEnvironment = _dereq_(163);
11427
11334
  var PooledClass = _dereq_(26);
11428
11335
  var ReactDOMComponentTree = _dereq_(45);
11429
- var ReactUpdates = _dereq_(104);
11336
+ var ReactUpdates = _dereq_(106);
11430
11337
 
11431
- var getEventTarget = _dereq_(139);
11432
- var getUnboundedScrollPosition = _dereq_(172);
11338
+ var getEventTarget = _dereq_(141);
11339
+ var getUnboundedScrollPosition = _dereq_(174);
11433
11340
 
11434
11341
  /**
11435
11342
  * Find the deepest React component completely containing the root of the
@@ -11564,7 +11471,7 @@ var ReactEventListener = {
11564
11471
  };
11565
11472
 
11566
11473
  module.exports = ReactEventListener;
11567
- },{"104":104,"139":139,"160":160,"161":161,"172":172,"186":186,"26":26,"45":45}],71:[function(_dereq_,module,exports){
11474
+ },{"106":106,"141":141,"162":162,"163":163,"174":174,"188":188,"26":26,"45":45}],72:[function(_dereq_,module,exports){
11568
11475
  /**
11569
11476
  * Copyright 2013-present, Facebook, Inc.
11570
11477
  * All rights reserved.
@@ -11574,6 +11481,7 @@ module.exports = ReactEventListener;
11574
11481
  * of patent rights can be found in the PATENTS file in the same directory.
11575
11482
  *
11576
11483
  * @providesModule ReactFeatureFlags
11484
+ *
11577
11485
  */
11578
11486
 
11579
11487
  'use strict';
@@ -11586,7 +11494,7 @@ var ReactFeatureFlags = {
11586
11494
  };
11587
11495
 
11588
11496
  module.exports = ReactFeatureFlags;
11589
- },{}],72:[function(_dereq_,module,exports){
11497
+ },{}],73:[function(_dereq_,module,exports){
11590
11498
  /**
11591
11499
  * Copyright 2015-present, Facebook, Inc.
11592
11500
  * All rights reserved.
@@ -11600,14 +11508,14 @@ module.exports = ReactFeatureFlags;
11600
11508
 
11601
11509
  'use strict';
11602
11510
 
11603
- var _prodInvariant = _dereq_(150);
11511
+ var _prodInvariant = _dereq_(152);
11604
11512
 
11605
11513
  var ReactChildren = _dereq_(32);
11606
- var ReactElement = _dereq_(65);
11514
+ var ReactElement = _dereq_(66);
11607
11515
 
11608
- var emptyFunction = _dereq_(167);
11609
- var invariant = _dereq_(175);
11610
- var warning = _dereq_(185);
11516
+ var emptyFunction = _dereq_(169);
11517
+ var invariant = _dereq_(177);
11518
+ var warning = _dereq_(187);
11611
11519
 
11612
11520
  /**
11613
11521
  * We used to allow keyed objects to serve as a collection of ReactElements,
@@ -11656,7 +11564,7 @@ var ReactFragment = {
11656
11564
  };
11657
11565
 
11658
11566
  module.exports = ReactFragment;
11659
- },{"150":150,"167":167,"175":175,"185":185,"32":32,"65":65}],73:[function(_dereq_,module,exports){
11567
+ },{"152":152,"169":169,"177":177,"187":187,"32":32,"66":66}],74:[function(_dereq_,module,exports){
11660
11568
  /**
11661
11569
  * Copyright 2014-present, Facebook, Inc.
11662
11570
  * All rights reserved.
@@ -11670,10 +11578,10 @@ module.exports = ReactFragment;
11670
11578
 
11671
11579
  'use strict';
11672
11580
 
11673
- var _prodInvariant = _dereq_(150),
11674
- _assign = _dereq_(186);
11581
+ var _prodInvariant = _dereq_(152),
11582
+ _assign = _dereq_(188);
11675
11583
 
11676
- var invariant = _dereq_(175);
11584
+ var invariant = _dereq_(177);
11677
11585
 
11678
11586
  var genericComponentClass = null;
11679
11587
  // This registry keeps track of wrapper classes around host tags.
@@ -11733,7 +11641,7 @@ var ReactHostComponent = {
11733
11641
  };
11734
11642
 
11735
11643
  module.exports = ReactHostComponent;
11736
- },{"150":150,"175":175,"186":186}],74:[function(_dereq_,module,exports){
11644
+ },{"152":152,"177":177,"188":188}],75:[function(_dereq_,module,exports){
11737
11645
  /**
11738
11646
  * Copyright 2016-present, Facebook, Inc.
11739
11647
  * All rights reserved.
@@ -11771,7 +11679,7 @@ var ReactHostOperationHistoryDevtool = {
11771
11679
  };
11772
11680
 
11773
11681
  module.exports = ReactHostOperationHistoryDevtool;
11774
- },{}],75:[function(_dereq_,module,exports){
11682
+ },{}],76:[function(_dereq_,module,exports){
11775
11683
  /**
11776
11684
  * Copyright 2013-present, Facebook, Inc.
11777
11685
  * All rights reserved.
@@ -11790,10 +11698,10 @@ var EventPluginHub = _dereq_(17);
11790
11698
  var EventPluginUtils = _dereq_(19);
11791
11699
  var ReactComponentEnvironment = _dereq_(36);
11792
11700
  var ReactClass = _dereq_(33);
11793
- var ReactEmptyComponent = _dereq_(67);
11701
+ var ReactEmptyComponent = _dereq_(68);
11794
11702
  var ReactBrowserEventEmitter = _dereq_(28);
11795
- var ReactHostComponent = _dereq_(73);
11796
- var ReactUpdates = _dereq_(104);
11703
+ var ReactHostComponent = _dereq_(74);
11704
+ var ReactUpdates = _dereq_(106);
11797
11705
 
11798
11706
  var ReactInjection = {
11799
11707
  Component: ReactComponentEnvironment.injection,
@@ -11808,7 +11716,7 @@ var ReactInjection = {
11808
11716
  };
11809
11717
 
11810
11718
  module.exports = ReactInjection;
11811
- },{"10":10,"104":104,"17":17,"19":19,"28":28,"33":33,"36":36,"67":67,"73":73}],76:[function(_dereq_,module,exports){
11719
+ },{"10":10,"106":106,"17":17,"19":19,"28":28,"33":33,"36":36,"68":68,"74":74}],77:[function(_dereq_,module,exports){
11812
11720
  /**
11813
11721
  * Copyright 2013-present, Facebook, Inc.
11814
11722
  * All rights reserved.
@@ -11822,11 +11730,11 @@ module.exports = ReactInjection;
11822
11730
 
11823
11731
  'use strict';
11824
11732
 
11825
- var ReactDOMSelection = _dereq_(56);
11733
+ var ReactDOMSelection = _dereq_(57);
11826
11734
 
11827
- var containsNode = _dereq_(164);
11828
- var focusNode = _dereq_(169);
11829
- var getActiveElement = _dereq_(170);
11735
+ var containsNode = _dereq_(166);
11736
+ var focusNode = _dereq_(171);
11737
+ var getActiveElement = _dereq_(172);
11830
11738
 
11831
11739
  function isInDocument(node) {
11832
11740
  return containsNode(document.documentElement, node);
@@ -11933,7 +11841,7 @@ var ReactInputSelection = {
11933
11841
  };
11934
11842
 
11935
11843
  module.exports = ReactInputSelection;
11936
- },{"164":164,"169":169,"170":170,"56":56}],77:[function(_dereq_,module,exports){
11844
+ },{"166":166,"171":171,"172":172,"57":57}],78:[function(_dereq_,module,exports){
11937
11845
  /**
11938
11846
  * Copyright 2013-present, Facebook, Inc.
11939
11847
  * All rights reserved.
@@ -11982,7 +11890,7 @@ var ReactInstanceMap = {
11982
11890
  };
11983
11891
 
11984
11892
  module.exports = ReactInstanceMap;
11985
- },{}],78:[function(_dereq_,module,exports){
11893
+ },{}],79:[function(_dereq_,module,exports){
11986
11894
  /**
11987
11895
  * Copyright 2016-present, Facebook, Inc.
11988
11896
  * All rights reserved.
@@ -11996,10 +11904,15 @@ module.exports = ReactInstanceMap;
11996
11904
 
11997
11905
  'use strict';
11998
11906
 
11999
- var ReactDebugTool = _dereq_(62);
11907
+ var debugTool = null;
12000
11908
 
12001
- module.exports = { debugTool: ReactDebugTool };
12002
- },{"62":62}],79:[function(_dereq_,module,exports){
11909
+ if ("development" !== 'production') {
11910
+ var ReactDebugTool = _dereq_(63);
11911
+ debugTool = ReactDebugTool;
11912
+ }
11913
+
11914
+ module.exports = { debugTool: debugTool };
11915
+ },{"63":63}],80:[function(_dereq_,module,exports){
12003
11916
  /**
12004
11917
  * Copyright 2016-present, Facebook, Inc.
12005
11918
  * All rights reserved.
@@ -12013,7 +11926,7 @@ module.exports = { debugTool: ReactDebugTool };
12013
11926
 
12014
11927
  'use strict';
12015
11928
 
12016
- var warning = _dereq_(185);
11929
+ var warning = _dereq_(187);
12017
11930
 
12018
11931
  if ("development" !== 'production') {
12019
11932
  var processingChildContext = false;
@@ -12036,7 +11949,7 @@ var ReactInvalidSetStateWarningDevTool = {
12036
11949
  };
12037
11950
 
12038
11951
  module.exports = ReactInvalidSetStateWarningDevTool;
12039
- },{"185":185}],80:[function(_dereq_,module,exports){
11952
+ },{"187":187}],81:[function(_dereq_,module,exports){
12040
11953
  /**
12041
11954
  * Copyright 2013-present, Facebook, Inc.
12042
11955
  * All rights reserved.
@@ -12108,7 +12021,7 @@ ReactLink.PropTypes = {
12108
12021
  };
12109
12022
 
12110
12023
  module.exports = ReactLink;
12111
- },{"27":27}],81:[function(_dereq_,module,exports){
12024
+ },{"27":27}],82:[function(_dereq_,module,exports){
12112
12025
  /**
12113
12026
  * Copyright 2013-present, Facebook, Inc.
12114
12027
  * All rights reserved.
@@ -12122,7 +12035,7 @@ module.exports = ReactLink;
12122
12035
 
12123
12036
  'use strict';
12124
12037
 
12125
- var adler32 = _dereq_(127);
12038
+ var adler32 = _dereq_(129);
12126
12039
 
12127
12040
  var TAG_END = /\/?>/;
12128
12041
  var COMMENT_START = /^<\!\-\-/;
@@ -12159,7 +12072,7 @@ var ReactMarkupChecksum = {
12159
12072
  };
12160
12073
 
12161
12074
  module.exports = ReactMarkupChecksum;
12162
- },{"127":127}],82:[function(_dereq_,module,exports){
12075
+ },{"129":129}],83:[function(_dereq_,module,exports){
12163
12076
  /**
12164
12077
  * Copyright 2013-present, Facebook, Inc.
12165
12078
  * All rights reserved.
@@ -12173,7 +12086,7 @@ module.exports = ReactMarkupChecksum;
12173
12086
 
12174
12087
  'use strict';
12175
12088
 
12176
- var _prodInvariant = _dereq_(150);
12089
+ var _prodInvariant = _dereq_(152);
12177
12090
 
12178
12091
  var DOMLazyTree = _dereq_(8);
12179
12092
  var DOMProperty = _dereq_(10);
@@ -12182,20 +12095,21 @@ var ReactCurrentOwner = _dereq_(40);
12182
12095
  var ReactDOMComponentTree = _dereq_(45);
12183
12096
  var ReactDOMContainerInfo = _dereq_(46);
12184
12097
  var ReactDOMFeatureFlags = _dereq_(50);
12185
- var ReactElement = _dereq_(65);
12186
- var ReactFeatureFlags = _dereq_(71);
12187
- var ReactInstrumentation = _dereq_(78);
12188
- var ReactMarkupChecksum = _dereq_(81);
12189
- var ReactReconciler = _dereq_(93);
12190
- var ReactUpdateQueue = _dereq_(103);
12191
- var ReactUpdates = _dereq_(104);
12192
-
12193
- var emptyObject = _dereq_(168);
12194
- var instantiateReactComponent = _dereq_(145);
12195
- var invariant = _dereq_(175);
12196
- var setInnerHTML = _dereq_(152);
12197
- var shouldUpdateReactComponent = _dereq_(155);
12198
- var warning = _dereq_(185);
12098
+ var ReactElement = _dereq_(66);
12099
+ var ReactFeatureFlags = _dereq_(72);
12100
+ var ReactInstanceMap = _dereq_(78);
12101
+ var ReactInstrumentation = _dereq_(79);
12102
+ var ReactMarkupChecksum = _dereq_(82);
12103
+ var ReactReconciler = _dereq_(94);
12104
+ var ReactUpdateQueue = _dereq_(105);
12105
+ var ReactUpdates = _dereq_(106);
12106
+
12107
+ var emptyObject = _dereq_(170);
12108
+ var instantiateReactComponent = _dereq_(147);
12109
+ var invariant = _dereq_(177);
12110
+ var setInnerHTML = _dereq_(154);
12111
+ var shouldUpdateReactComponent = _dereq_(157);
12112
+ var warning = _dereq_(187);
12199
12113
 
12200
12114
  var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;
12201
12115
  var ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;
@@ -12409,9 +12323,9 @@ var ReactMount = {
12409
12323
  * @param {DOMElement} container container to render into
12410
12324
  * @param {?function} callback function triggered on completion
12411
12325
  */
12412
- _updateRootComponent: function (prevComponent, nextElement, container, callback) {
12326
+ _updateRootComponent: function (prevComponent, nextElement, nextContext, container, callback) {
12413
12327
  ReactMount.scrollMonitor(container, function () {
12414
- ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement);
12328
+ ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);
12415
12329
  if (callback) {
12416
12330
  ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);
12417
12331
  }
@@ -12429,10 +12343,6 @@ var ReactMount = {
12429
12343
  * @return {ReactComponent} nextComponent
12430
12344
  */
12431
12345
  _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {
12432
- if ("development" !== 'production') {
12433
- ReactInstrumentation.debugTool.onBeginFlush();
12434
- }
12435
-
12436
12346
  // Various parts of our code (such as ReactCompositeComponent's
12437
12347
  // _renderValidatedComponent) assume that calls to render aren't nested;
12438
12348
  // verify that that's the case.
@@ -12441,13 +12351,7 @@ var ReactMount = {
12441
12351
  !(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;
12442
12352
 
12443
12353
  ReactBrowserEventEmitter.ensureScrollValueMonitoring();
12444
- var componentInstance = instantiateReactComponent(nextElement);
12445
-
12446
- if ("development" !== 'production') {
12447
- // Mute future events from the top level wrapper.
12448
- // It is an implementation detail that devtools should not know about.
12449
- componentInstance._debugID = 0;
12450
- }
12354
+ var componentInstance = instantiateReactComponent(nextElement, false);
12451
12355
 
12452
12356
  // The initial render is synchronous but any updates that happen during
12453
12357
  // rendering, in componentWillMount or componentDidMount, will be batched
@@ -12461,7 +12365,6 @@ var ReactMount = {
12461
12365
  if ("development" !== 'production') {
12462
12366
  // The instance here is TopLevelWrapper so we report mount for its child.
12463
12367
  ReactInstrumentation.debugTool.onMountRootComponent(componentInstance._renderedComponent._debugID);
12464
- ReactInstrumentation.debugTool.onEndFlush();
12465
12368
  }
12466
12369
 
12467
12370
  return componentInstance;
@@ -12481,7 +12384,7 @@ var ReactMount = {
12481
12384
  * @return {ReactComponent} Component instance rendered in `container`.
12482
12385
  */
12483
12386
  renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {
12484
- !(parentComponent != null && parentComponent._reactInternalInstance != null) ? "development" !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;
12387
+ !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? "development" !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;
12485
12388
  return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);
12486
12389
  },
12487
12390
 
@@ -12495,6 +12398,14 @@ var ReactMount = {
12495
12398
 
12496
12399
  var nextWrappedElement = ReactElement(TopLevelWrapper, null, null, null, null, null, nextElement);
12497
12400
 
12401
+ var nextContext;
12402
+ if (parentComponent) {
12403
+ var parentInst = ReactInstanceMap.get(parentComponent);
12404
+ nextContext = parentInst._processChildContext(parentInst._context);
12405
+ } else {
12406
+ nextContext = emptyObject;
12407
+ }
12408
+
12498
12409
  var prevComponent = getTopLevelWrapperInContainer(container);
12499
12410
 
12500
12411
  if (prevComponent) {
@@ -12505,7 +12416,7 @@ var ReactMount = {
12505
12416
  var updatedCallback = callback && function () {
12506
12417
  callback.call(publicInst);
12507
12418
  };
12508
- ReactMount._updateRootComponent(prevComponent, nextWrappedElement, container, updatedCallback);
12419
+ ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);
12509
12420
  return publicInst;
12510
12421
  } else {
12511
12422
  ReactMount.unmountComponentAtNode(container);
@@ -12532,7 +12443,7 @@ var ReactMount = {
12532
12443
  }
12533
12444
 
12534
12445
  var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;
12535
- var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, parentComponent != null ? parentComponent._reactInternalInstance._processChildContext(parentComponent._reactInternalInstance._context) : emptyObject)._renderedComponent.getPublicInstance();
12446
+ var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();
12536
12447
  if (callback) {
12537
12448
  callback.call(component);
12538
12449
  }
@@ -12661,7 +12572,7 @@ var ReactMount = {
12661
12572
  };
12662
12573
 
12663
12574
  module.exports = ReactMount;
12664
- },{"10":10,"103":103,"104":104,"145":145,"150":150,"152":152,"155":155,"168":168,"175":175,"185":185,"28":28,"40":40,"45":45,"46":46,"50":50,"65":65,"71":71,"78":78,"8":8,"81":81,"93":93}],83:[function(_dereq_,module,exports){
12575
+ },{"10":10,"105":105,"106":106,"147":147,"152":152,"154":154,"157":157,"170":170,"177":177,"187":187,"28":28,"40":40,"45":45,"46":46,"50":50,"66":66,"72":72,"78":78,"79":79,"8":8,"82":82,"94":94}],84:[function(_dereq_,module,exports){
12665
12576
  /**
12666
12577
  * Copyright 2013-present, Facebook, Inc.
12667
12578
  * All rights reserved.
@@ -12675,20 +12586,20 @@ module.exports = ReactMount;
12675
12586
 
12676
12587
  'use strict';
12677
12588
 
12678
- var _prodInvariant = _dereq_(150);
12589
+ var _prodInvariant = _dereq_(152);
12679
12590
 
12680
12591
  var ReactComponentEnvironment = _dereq_(36);
12681
- var ReactInstanceMap = _dereq_(77);
12682
- var ReactInstrumentation = _dereq_(78);
12683
- var ReactMultiChildUpdateTypes = _dereq_(84);
12592
+ var ReactInstanceMap = _dereq_(78);
12593
+ var ReactInstrumentation = _dereq_(79);
12594
+ var ReactMultiChildUpdateTypes = _dereq_(85);
12684
12595
 
12685
12596
  var ReactCurrentOwner = _dereq_(40);
12686
- var ReactReconciler = _dereq_(93);
12597
+ var ReactReconciler = _dereq_(94);
12687
12598
  var ReactChildReconciler = _dereq_(31);
12688
12599
 
12689
- var emptyFunction = _dereq_(167);
12690
- var flattenChildren = _dereq_(134);
12691
- var invariant = _dereq_(175);
12600
+ var emptyFunction = _dereq_(169);
12601
+ var flattenChildren = _dereq_(136);
12602
+ var invariant = _dereq_(177);
12692
12603
 
12693
12604
  /**
12694
12605
  * Make an update for markup to be rendered and inserted at a supplied index.
@@ -12822,9 +12733,14 @@ if ("development" !== 'production') {
12822
12733
  }
12823
12734
  };
12824
12735
  setChildrenForInstrumentation = function (children) {
12825
- ReactInstrumentation.debugTool.onSetChildren(getDebugID(this), children ? Object.keys(children).map(function (key) {
12826
- return children[key]._debugID;
12827
- }) : []);
12736
+ var debugID = getDebugID(this);
12737
+ // TODO: React Native empty components are also multichild.
12738
+ // This means they still get into this method but don't have _debugID.
12739
+ if (debugID !== 0) {
12740
+ ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) {
12741
+ return children[key]._debugID;
12742
+ }) : []);
12743
+ }
12828
12744
  };
12829
12745
  }
12830
12746
 
@@ -13107,7 +13023,7 @@ var ReactMultiChild = {
13107
13023
  };
13108
13024
 
13109
13025
  module.exports = ReactMultiChild;
13110
- },{"134":134,"150":150,"167":167,"175":175,"31":31,"36":36,"40":40,"77":77,"78":78,"84":84,"93":93}],84:[function(_dereq_,module,exports){
13026
+ },{"136":136,"152":152,"169":169,"177":177,"31":31,"36":36,"40":40,"78":78,"79":79,"85":85,"94":94}],85:[function(_dereq_,module,exports){
13111
13027
  /**
13112
13028
  * Copyright 2013-present, Facebook, Inc.
13113
13029
  * All rights reserved.
@@ -13121,7 +13037,7 @@ module.exports = ReactMultiChild;
13121
13037
 
13122
13038
  'use strict';
13123
13039
 
13124
- var keyMirror = _dereq_(178);
13040
+ var keyMirror = _dereq_(180);
13125
13041
 
13126
13042
  /**
13127
13043
  * When a component's children are updated, a series of update configuration
@@ -13140,7 +13056,7 @@ var ReactMultiChildUpdateTypes = keyMirror({
13140
13056
  });
13141
13057
 
13142
13058
  module.exports = ReactMultiChildUpdateTypes;
13143
- },{"178":178}],85:[function(_dereq_,module,exports){
13059
+ },{"180":180}],86:[function(_dereq_,module,exports){
13144
13060
  /**
13145
13061
  * Copyright 2013-present, Facebook, Inc.
13146
13062
  * All rights reserved.
@@ -13150,15 +13066,16 @@ module.exports = ReactMultiChildUpdateTypes;
13150
13066
  * of patent rights can be found in the PATENTS file in the same directory.
13151
13067
  *
13152
13068
  * @providesModule ReactNodeTypes
13069
+ *
13153
13070
  */
13154
13071
 
13155
13072
  'use strict';
13156
13073
 
13157
- var _prodInvariant = _dereq_(150);
13074
+ var _prodInvariant = _dereq_(152);
13158
13075
 
13159
- var ReactElement = _dereq_(65);
13076
+ var ReactElement = _dereq_(66);
13160
13077
 
13161
- var invariant = _dereq_(175);
13078
+ var invariant = _dereq_(177);
13162
13079
 
13163
13080
  var ReactNodeTypes = {
13164
13081
  HOST: 0,
@@ -13180,7 +13097,7 @@ var ReactNodeTypes = {
13180
13097
  };
13181
13098
 
13182
13099
  module.exports = ReactNodeTypes;
13183
- },{"150":150,"175":175,"65":65}],86:[function(_dereq_,module,exports){
13100
+ },{"152":152,"177":177,"66":66}],87:[function(_dereq_,module,exports){
13184
13101
  /**
13185
13102
  * Copyright 2015-present, Facebook, Inc.
13186
13103
  * All rights reserved.
@@ -13194,11 +13111,12 @@ module.exports = ReactNodeTypes;
13194
13111
 
13195
13112
  'use strict';
13196
13113
 
13197
- var warning = _dereq_(185);
13114
+ var warning = _dereq_(187);
13198
13115
 
13199
- function warnTDZ(publicInstance, callerName) {
13116
+ function warnNoop(publicInstance, callerName) {
13200
13117
  if ("development" !== 'production') {
13201
- "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;
13118
+ var constructor = publicInstance.constructor;
13119
+ "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;
13202
13120
  }
13203
13121
  }
13204
13122
 
@@ -13242,7 +13160,7 @@ var ReactNoopUpdateQueue = {
13242
13160
  * @internal
13243
13161
  */
13244
13162
  enqueueForceUpdate: function (publicInstance) {
13245
- warnTDZ(publicInstance, 'forceUpdate');
13163
+ warnNoop(publicInstance, 'forceUpdate');
13246
13164
  },
13247
13165
 
13248
13166
  /**
@@ -13257,7 +13175,7 @@ var ReactNoopUpdateQueue = {
13257
13175
  * @internal
13258
13176
  */
13259
13177
  enqueueReplaceState: function (publicInstance, completeState) {
13260
- warnTDZ(publicInstance, 'replaceState');
13178
+ warnNoop(publicInstance, 'replaceState');
13261
13179
  },
13262
13180
 
13263
13181
  /**
@@ -13271,12 +13189,12 @@ var ReactNoopUpdateQueue = {
13271
13189
  * @internal
13272
13190
  */
13273
13191
  enqueueSetState: function (publicInstance, partialState) {
13274
- warnTDZ(publicInstance, 'setState');
13192
+ warnNoop(publicInstance, 'setState');
13275
13193
  }
13276
13194
  };
13277
13195
 
13278
13196
  module.exports = ReactNoopUpdateQueue;
13279
- },{"185":185}],87:[function(_dereq_,module,exports){
13197
+ },{"187":187}],88:[function(_dereq_,module,exports){
13280
13198
  /**
13281
13199
  * Copyright 2013-present, Facebook, Inc.
13282
13200
  * All rights reserved.
@@ -13290,9 +13208,9 @@ module.exports = ReactNoopUpdateQueue;
13290
13208
 
13291
13209
  'use strict';
13292
13210
 
13293
- var _prodInvariant = _dereq_(150);
13211
+ var _prodInvariant = _dereq_(152);
13294
13212
 
13295
- var invariant = _dereq_(175);
13213
+ var invariant = _dereq_(177);
13296
13214
 
13297
13215
  /**
13298
13216
  * ReactOwners are capable of storing references to owned components.
@@ -13371,7 +13289,7 @@ var ReactOwner = {
13371
13289
  };
13372
13290
 
13373
13291
  module.exports = ReactOwner;
13374
- },{"150":150,"175":175}],88:[function(_dereq_,module,exports){
13292
+ },{"152":152,"177":177}],89:[function(_dereq_,module,exports){
13375
13293
  /**
13376
13294
  * Copyright 2016-present, Facebook, Inc.
13377
13295
  * All rights reserved.
@@ -13385,12 +13303,12 @@ module.exports = ReactOwner;
13385
13303
 
13386
13304
  'use strict';
13387
13305
 
13388
- var _assign = _dereq_(186);
13306
+ var _assign = _dereq_(188);
13389
13307
 
13390
13308
  var _extends = _assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
13391
13309
 
13392
- var ReactDebugTool = _dereq_(62);
13393
- var warning = _dereq_(185);
13310
+ var ReactDebugTool = _dereq_(63);
13311
+ var warning = _dereq_(187);
13394
13312
  var alreadyWarned = false;
13395
13313
 
13396
13314
  function roundFloat(val) {
@@ -13866,7 +13784,7 @@ var ReactPerfAnalysis = {
13866
13784
  };
13867
13785
 
13868
13786
  module.exports = ReactPerfAnalysis;
13869
- },{"185":185,"186":186,"62":62}],89:[function(_dereq_,module,exports){
13787
+ },{"187":187,"188":188,"63":63}],90:[function(_dereq_,module,exports){
13870
13788
  /**
13871
13789
  * Copyright 2013-present, Facebook, Inc.
13872
13790
  * All rights reserved.
@@ -13891,7 +13809,7 @@ if ("development" !== 'production') {
13891
13809
  }
13892
13810
 
13893
13811
  module.exports = ReactPropTypeLocationNames;
13894
- },{}],90:[function(_dereq_,module,exports){
13812
+ },{}],91:[function(_dereq_,module,exports){
13895
13813
  /**
13896
13814
  * Copyright 2013-present, Facebook, Inc.
13897
13815
  * All rights reserved.
@@ -13905,7 +13823,7 @@ module.exports = ReactPropTypeLocationNames;
13905
13823
 
13906
13824
  'use strict';
13907
13825
 
13908
- var keyMirror = _dereq_(178);
13826
+ var keyMirror = _dereq_(180);
13909
13827
 
13910
13828
  var ReactPropTypeLocations = keyMirror({
13911
13829
  prop: null,
@@ -13914,7 +13832,7 @@ var ReactPropTypeLocations = keyMirror({
13914
13832
  });
13915
13833
 
13916
13834
  module.exports = ReactPropTypeLocations;
13917
- },{"178":178}],91:[function(_dereq_,module,exports){
13835
+ },{"180":180}],92:[function(_dereq_,module,exports){
13918
13836
  /**
13919
13837
  * Copyright 2013-present, Facebook, Inc.
13920
13838
  * All rights reserved.
@@ -13928,11 +13846,11 @@ module.exports = ReactPropTypeLocations;
13928
13846
 
13929
13847
  'use strict';
13930
13848
 
13931
- var ReactElement = _dereq_(65);
13932
- var ReactPropTypeLocationNames = _dereq_(89);
13849
+ var ReactElement = _dereq_(66);
13850
+ var ReactPropTypeLocationNames = _dereq_(90);
13933
13851
 
13934
- var emptyFunction = _dereq_(167);
13935
- var getIteratorFn = _dereq_(141);
13852
+ var emptyFunction = _dereq_(169);
13853
+ var getIteratorFn = _dereq_(143);
13936
13854
 
13937
13855
  /**
13938
13856
  * Collection of methods that allow declaration and validation of props that are
@@ -14318,7 +14236,7 @@ function getClassName(propValue) {
14318
14236
  }
14319
14237
 
14320
14238
  module.exports = ReactPropTypes;
14321
- },{"141":141,"167":167,"65":65,"89":89}],92:[function(_dereq_,module,exports){
14239
+ },{"143":143,"169":169,"66":66,"90":90}],93:[function(_dereq_,module,exports){
14322
14240
  /**
14323
14241
  * Copyright 2013-present, Facebook, Inc.
14324
14242
  * All rights reserved.
@@ -14332,13 +14250,15 @@ module.exports = ReactPropTypes;
14332
14250
 
14333
14251
  'use strict';
14334
14252
 
14335
- var _assign = _dereq_(186);
14253
+ var _assign = _dereq_(188);
14336
14254
 
14337
14255
  var CallbackQueue = _dereq_(5);
14338
14256
  var PooledClass = _dereq_(26);
14339
14257
  var ReactBrowserEventEmitter = _dereq_(28);
14340
- var ReactInputSelection = _dereq_(76);
14341
- var Transaction = _dereq_(124);
14258
+ var ReactInputSelection = _dereq_(77);
14259
+ var ReactInstrumentation = _dereq_(79);
14260
+ var Transaction = _dereq_(126);
14261
+ var ReactUpdateQueue = _dereq_(105);
14342
14262
 
14343
14263
  /**
14344
14264
  * Ensures that, when possible, the selection range (currently selected text
@@ -14408,6 +14328,13 @@ var ON_DOM_READY_QUEUEING = {
14408
14328
  */
14409
14329
  var TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];
14410
14330
 
14331
+ if ("development" !== 'production') {
14332
+ TRANSACTION_WRAPPERS.push({
14333
+ initialize: ReactInstrumentation.debugTool.onBeginFlush,
14334
+ close: ReactInstrumentation.debugTool.onEndFlush
14335
+ });
14336
+ }
14337
+
14411
14338
  /**
14412
14339
  * Currently:
14413
14340
  * - The order that these are listed in the transaction is critical:
@@ -14453,6 +14380,13 @@ var Mixin = {
14453
14380
  return this.reactMountReady;
14454
14381
  },
14455
14382
 
14383
+ /**
14384
+ * @return {object} The queue to collect React async events.
14385
+ */
14386
+ getUpdateQueue: function () {
14387
+ return ReactUpdateQueue;
14388
+ },
14389
+
14456
14390
  /**
14457
14391
  * Save current transaction state -- if the return value from this method is
14458
14392
  * passed to `rollback`, the transaction will be reset to that state.
@@ -14481,7 +14415,7 @@ _assign(ReactReconcileTransaction.prototype, Transaction.Mixin, Mixin);
14481
14415
  PooledClass.addPoolingTo(ReactReconcileTransaction);
14482
14416
 
14483
14417
  module.exports = ReactReconcileTransaction;
14484
- },{"124":124,"186":186,"26":26,"28":28,"5":5,"76":76}],93:[function(_dereq_,module,exports){
14418
+ },{"105":105,"126":126,"188":188,"26":26,"28":28,"5":5,"77":77,"79":79}],94:[function(_dereq_,module,exports){
14485
14419
  /**
14486
14420
  * Copyright 2013-present, Facebook, Inc.
14487
14421
  * All rights reserved.
@@ -14495,12 +14429,12 @@ module.exports = ReactReconcileTransaction;
14495
14429
 
14496
14430
  'use strict';
14497
14431
 
14498
- var _prodInvariant = _dereq_(150);
14432
+ var _prodInvariant = _dereq_(152);
14499
14433
 
14500
- var ReactRef = _dereq_(94);
14501
- var ReactInstrumentation = _dereq_(78);
14434
+ var ReactRef = _dereq_(95);
14435
+ var ReactInstrumentation = _dereq_(79);
14502
14436
 
14503
- var invariant = _dereq_(175);
14437
+ var invariant = _dereq_(177);
14504
14438
 
14505
14439
  /**
14506
14440
  * Helper to call ReactRef.attachRefs with this composite component, split out
@@ -14658,7 +14592,7 @@ var ReactReconciler = {
14658
14592
  };
14659
14593
 
14660
14594
  module.exports = ReactReconciler;
14661
- },{"150":150,"175":175,"78":78,"94":94}],94:[function(_dereq_,module,exports){
14595
+ },{"152":152,"177":177,"79":79,"95":95}],95:[function(_dereq_,module,exports){
14662
14596
  /**
14663
14597
  * Copyright 2013-present, Facebook, Inc.
14664
14598
  * All rights reserved.
@@ -14672,7 +14606,7 @@ module.exports = ReactReconciler;
14672
14606
 
14673
14607
  'use strict';
14674
14608
 
14675
- var ReactOwner = _dereq_(87);
14609
+ var ReactOwner = _dereq_(88);
14676
14610
 
14677
14611
  var ReactRef = {};
14678
14612
 
@@ -14737,7 +14671,7 @@ ReactRef.detachRefs = function (instance, element) {
14737
14671
  };
14738
14672
 
14739
14673
  module.exports = ReactRef;
14740
- },{"87":87}],95:[function(_dereq_,module,exports){
14674
+ },{"88":88}],96:[function(_dereq_,module,exports){
14741
14675
  /**
14742
14676
  * Copyright 2014-present, Facebook, Inc.
14743
14677
  * All rights reserved.
@@ -14760,7 +14694,7 @@ var ReactServerBatchingStrategy = {
14760
14694
  };
14761
14695
 
14762
14696
  module.exports = ReactServerBatchingStrategy;
14763
- },{}],96:[function(_dereq_,module,exports){
14697
+ },{}],97:[function(_dereq_,module,exports){
14764
14698
  /**
14765
14699
  * Copyright 2013-present, Facebook, Inc.
14766
14700
  * All rights reserved.
@@ -14773,21 +14707,21 @@ module.exports = ReactServerBatchingStrategy;
14773
14707
  */
14774
14708
  'use strict';
14775
14709
 
14776
- var _prodInvariant = _dereq_(150);
14710
+ var _prodInvariant = _dereq_(152);
14777
14711
 
14778
14712
  var ReactDOMContainerInfo = _dereq_(46);
14779
- var ReactDefaultBatchingStrategy = _dereq_(63);
14780
- var ReactElement = _dereq_(65);
14781
- var ReactInstrumentation = _dereq_(78);
14782
- var ReactMarkupChecksum = _dereq_(81);
14783
- var ReactReconciler = _dereq_(93);
14784
- var ReactServerBatchingStrategy = _dereq_(95);
14785
- var ReactServerRenderingTransaction = _dereq_(97);
14786
- var ReactUpdates = _dereq_(104);
14713
+ var ReactDefaultBatchingStrategy = _dereq_(64);
14714
+ var ReactElement = _dereq_(66);
14715
+ var ReactInstrumentation = _dereq_(79);
14716
+ var ReactMarkupChecksum = _dereq_(82);
14717
+ var ReactReconciler = _dereq_(94);
14718
+ var ReactServerBatchingStrategy = _dereq_(96);
14719
+ var ReactServerRenderingTransaction = _dereq_(98);
14720
+ var ReactUpdates = _dereq_(106);
14787
14721
 
14788
- var emptyObject = _dereq_(168);
14789
- var instantiateReactComponent = _dereq_(145);
14790
- var invariant = _dereq_(175);
14722
+ var emptyObject = _dereq_(170);
14723
+ var instantiateReactComponent = _dereq_(147);
14724
+ var invariant = _dereq_(177);
14791
14725
 
14792
14726
  /**
14793
14727
  * @param {ReactElement} element
@@ -14801,14 +14735,10 @@ function renderToStringImpl(element, makeStaticMarkup) {
14801
14735
  transaction = ReactServerRenderingTransaction.getPooled(makeStaticMarkup);
14802
14736
 
14803
14737
  return transaction.perform(function () {
14804
- if ("development" !== 'production') {
14805
- ReactInstrumentation.debugTool.onBeginFlush();
14806
- }
14807
- var componentInstance = instantiateReactComponent(element);
14738
+ var componentInstance = instantiateReactComponent(element, true);
14808
14739
  var markup = ReactReconciler.mountComponent(componentInstance, transaction, null, ReactDOMContainerInfo(), emptyObject);
14809
14740
  if ("development" !== 'production') {
14810
14741
  ReactInstrumentation.debugTool.onUnmountComponent(componentInstance._debugID);
14811
- ReactInstrumentation.debugTool.onEndFlush();
14812
14742
  }
14813
14743
  if (!makeStaticMarkup) {
14814
14744
  markup = ReactMarkupChecksum.addChecksumToMarkup(markup);
@@ -14847,7 +14777,7 @@ module.exports = {
14847
14777
  renderToString: renderToString,
14848
14778
  renderToStaticMarkup: renderToStaticMarkup
14849
14779
  };
14850
- },{"104":104,"145":145,"150":150,"168":168,"175":175,"46":46,"63":63,"65":65,"78":78,"81":81,"93":93,"95":95,"97":97}],97:[function(_dereq_,module,exports){
14780
+ },{"106":106,"147":147,"152":152,"170":170,"177":177,"46":46,"64":64,"66":66,"79":79,"82":82,"94":94,"96":96,"98":98}],98:[function(_dereq_,module,exports){
14851
14781
  /**
14852
14782
  * Copyright 2014-present, Facebook, Inc.
14853
14783
  * All rights reserved.
@@ -14861,10 +14791,12 @@ module.exports = {
14861
14791
 
14862
14792
  'use strict';
14863
14793
 
14864
- var _assign = _dereq_(186);
14794
+ var _assign = _dereq_(188);
14865
14795
 
14866
14796
  var PooledClass = _dereq_(26);
14867
- var Transaction = _dereq_(124);
14797
+ var Transaction = _dereq_(126);
14798
+ var ReactInstrumentation = _dereq_(79);
14799
+ var ReactServerUpdateQueue = _dereq_(99);
14868
14800
 
14869
14801
  /**
14870
14802
  * Executed within the scope of the `Transaction` instance. Consider these as
@@ -14873,6 +14805,13 @@ var Transaction = _dereq_(124);
14873
14805
  */
14874
14806
  var TRANSACTION_WRAPPERS = [];
14875
14807
 
14808
+ if ("development" !== 'production') {
14809
+ TRANSACTION_WRAPPERS.push({
14810
+ initialize: ReactInstrumentation.debugTool.onBeginFlush,
14811
+ close: ReactInstrumentation.debugTool.onEndFlush
14812
+ });
14813
+ }
14814
+
14876
14815
  var noopCallbackQueue = {
14877
14816
  enqueue: function () {}
14878
14817
  };
@@ -14885,6 +14824,7 @@ function ReactServerRenderingTransaction(renderToStaticMarkup) {
14885
14824
  this.reinitializeTransaction();
14886
14825
  this.renderToStaticMarkup = renderToStaticMarkup;
14887
14826
  this.useCreateElement = false;
14827
+ this.updateQueue = new ReactServerUpdateQueue(this);
14888
14828
  }
14889
14829
 
14890
14830
  var Mixin = {
@@ -14905,6 +14845,13 @@ var Mixin = {
14905
14845
  return noopCallbackQueue;
14906
14846
  },
14907
14847
 
14848
+ /**
14849
+ * @return {object} The queue to collect React async events.
14850
+ */
14851
+ getUpdateQueue: function () {
14852
+ return this.updateQueue;
14853
+ },
14854
+
14908
14855
  /**
14909
14856
  * `PooledClass` looks for this, and will invoke this before allowing this
14910
14857
  * instance to be reused.
@@ -14921,7 +14868,149 @@ _assign(ReactServerRenderingTransaction.prototype, Transaction.Mixin, Mixin);
14921
14868
  PooledClass.addPoolingTo(ReactServerRenderingTransaction);
14922
14869
 
14923
14870
  module.exports = ReactServerRenderingTransaction;
14924
- },{"124":124,"186":186,"26":26}],98:[function(_dereq_,module,exports){
14871
+ },{"126":126,"188":188,"26":26,"79":79,"99":99}],99:[function(_dereq_,module,exports){
14872
+ /**
14873
+ * Copyright 2015-present, Facebook, Inc.
14874
+ * All rights reserved.
14875
+ *
14876
+ * This source code is licensed under the BSD-style license found in the
14877
+ * LICENSE file in the root directory of this source tree. An additional grant
14878
+ * of patent rights can be found in the PATENTS file in the same directory.
14879
+ *
14880
+ * @providesModule ReactServerUpdateQueue
14881
+ *
14882
+ */
14883
+
14884
+ 'use strict';
14885
+
14886
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14887
+
14888
+ var ReactUpdateQueue = _dereq_(105);
14889
+ var Transaction = _dereq_(126);
14890
+ var warning = _dereq_(187);
14891
+
14892
+ function warnNoop(publicInstance, callerName) {
14893
+ if ("development" !== 'production') {
14894
+ var constructor = publicInstance.constructor;
14895
+ "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;
14896
+ }
14897
+ }
14898
+
14899
+ /**
14900
+ * This is the update queue used for server rendering.
14901
+ * It delegates to ReactUpdateQueue while server rendering is in progress and
14902
+ * switches to ReactNoopUpdateQueue after the transaction has completed.
14903
+ * @class ReactServerUpdateQueue
14904
+ * @param {Transaction} transaction
14905
+ */
14906
+
14907
+ var ReactServerUpdateQueue = function () {
14908
+ /* :: transaction: Transaction; */
14909
+
14910
+ function ReactServerUpdateQueue(transaction) {
14911
+ _classCallCheck(this, ReactServerUpdateQueue);
14912
+
14913
+ this.transaction = transaction;
14914
+ }
14915
+
14916
+ /**
14917
+ * Checks whether or not this composite component is mounted.
14918
+ * @param {ReactClass} publicInstance The instance we want to test.
14919
+ * @return {boolean} True if mounted, false otherwise.
14920
+ * @protected
14921
+ * @final
14922
+ */
14923
+
14924
+
14925
+ ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) {
14926
+ return false;
14927
+ };
14928
+
14929
+ /**
14930
+ * Enqueue a callback that will be executed after all the pending updates
14931
+ * have processed.
14932
+ *
14933
+ * @param {ReactClass} publicInstance The instance to use as `this` context.
14934
+ * @param {?function} callback Called after state is updated.
14935
+ * @internal
14936
+ */
14937
+
14938
+
14939
+ ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) {
14940
+ if (this.transaction.isInTransaction()) {
14941
+ ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName);
14942
+ }
14943
+ };
14944
+
14945
+ /**
14946
+ * Forces an update. This should only be invoked when it is known with
14947
+ * certainty that we are **not** in a DOM transaction.
14948
+ *
14949
+ * You may want to call this when you know that some deeper aspect of the
14950
+ * component's state has changed but `setState` was not called.
14951
+ *
14952
+ * This will not invoke `shouldComponentUpdate`, but it will invoke
14953
+ * `componentWillUpdate` and `componentDidUpdate`.
14954
+ *
14955
+ * @param {ReactClass} publicInstance The instance that should rerender.
14956
+ * @internal
14957
+ */
14958
+
14959
+
14960
+ ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) {
14961
+ if (this.transaction.isInTransaction()) {
14962
+ ReactUpdateQueue.enqueueForceUpdate(publicInstance);
14963
+ } else {
14964
+ warnNoop(publicInstance, 'forceUpdate');
14965
+ }
14966
+ };
14967
+
14968
+ /**
14969
+ * Replaces all of the state. Always use this or `setState` to mutate state.
14970
+ * You should treat `this.state` as immutable.
14971
+ *
14972
+ * There is no guarantee that `this.state` will be immediately updated, so
14973
+ * accessing `this.state` after calling this method may return the old value.
14974
+ *
14975
+ * @param {ReactClass} publicInstance The instance that should rerender.
14976
+ * @param {object|function} completeState Next state.
14977
+ * @internal
14978
+ */
14979
+
14980
+
14981
+ ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) {
14982
+ if (this.transaction.isInTransaction()) {
14983
+ ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState);
14984
+ } else {
14985
+ warnNoop(publicInstance, 'replaceState');
14986
+ }
14987
+ };
14988
+
14989
+ /**
14990
+ * Sets a subset of the state. This only exists because _pendingState is
14991
+ * internal. This provides a merging strategy that is not available to deep
14992
+ * properties which is confusing. TODO: Expose pendingState or don't use it
14993
+ * during the merge.
14994
+ *
14995
+ * @param {ReactClass} publicInstance The instance that should rerender.
14996
+ * @param {object|function} partialState Next partial state to be merged with state.
14997
+ * @internal
14998
+ */
14999
+
15000
+
15001
+ ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) {
15002
+ if (this.transaction.isInTransaction()) {
15003
+ ReactUpdateQueue.enqueueSetState(publicInstance, partialState);
15004
+ } else {
15005
+ warnNoop(publicInstance, 'setState');
15006
+ }
15007
+ };
15008
+
15009
+ return ReactServerUpdateQueue;
15010
+ }();
15011
+
15012
+ module.exports = ReactServerUpdateQueue;
15013
+ },{"105":105,"126":126,"187":187}],100:[function(_dereq_,module,exports){
14925
15014
  /**
14926
15015
  * Copyright 2013-present, Facebook, Inc.
14927
15016
  * All rights reserved.
@@ -15026,7 +15115,7 @@ ReactStateSetters.Mixin = {
15026
15115
  };
15027
15116
 
15028
15117
  module.exports = ReactStateSetters;
15029
- },{}],99:[function(_dereq_,module,exports){
15118
+ },{}],101:[function(_dereq_,module,exports){
15030
15119
  /**
15031
15120
  * Copyright 2013-present, Facebook, Inc.
15032
15121
  * All rights reserved.
@@ -15040,29 +15129,29 @@ module.exports = ReactStateSetters;
15040
15129
 
15041
15130
  'use strict';
15042
15131
 
15043
- var _prodInvariant = _dereq_(150),
15044
- _assign = _dereq_(186);
15132
+ var _prodInvariant = _dereq_(152),
15133
+ _assign = _dereq_(188);
15045
15134
 
15046
15135
  var EventConstants = _dereq_(16);
15047
15136
  var EventPluginHub = _dereq_(17);
15048
15137
  var EventPluginRegistry = _dereq_(18);
15049
15138
  var EventPropagators = _dereq_(20);
15050
15139
  var React = _dereq_(27);
15051
- var ReactDefaultInjection = _dereq_(64);
15140
+ var ReactDefaultInjection = _dereq_(65);
15052
15141
  var ReactDOM = _dereq_(41);
15053
15142
  var ReactDOMComponentTree = _dereq_(45);
15054
- var ReactElement = _dereq_(65);
15143
+ var ReactElement = _dereq_(66);
15055
15144
  var ReactBrowserEventEmitter = _dereq_(28);
15056
15145
  var ReactCompositeComponent = _dereq_(39);
15057
- var ReactInstanceMap = _dereq_(77);
15058
- var ReactInstrumentation = _dereq_(78);
15059
- var ReactReconciler = _dereq_(93);
15060
- var ReactUpdates = _dereq_(104);
15061
- var SyntheticEvent = _dereq_(115);
15146
+ var ReactInstanceMap = _dereq_(78);
15147
+ var ReactInstrumentation = _dereq_(79);
15148
+ var ReactReconciler = _dereq_(94);
15149
+ var ReactUpdates = _dereq_(106);
15150
+ var SyntheticEvent = _dereq_(117);
15062
15151
 
15063
- var emptyObject = _dereq_(168);
15064
- var findDOMNode = _dereq_(133);
15065
- var invariant = _dereq_(175);
15152
+ var emptyObject = _dereq_(170);
15153
+ var findDOMNode = _dereq_(135);
15154
+ var invariant = _dereq_(177);
15066
15155
 
15067
15156
  var topLevelTypes = EventConstants.topLevelTypes;
15068
15157
 
@@ -15541,7 +15630,7 @@ Object.keys(topLevelTypes).forEach(function (eventType) {
15541
15630
  });
15542
15631
 
15543
15632
  module.exports = ReactTestUtils;
15544
- },{"104":104,"115":115,"133":133,"150":150,"16":16,"168":168,"17":17,"175":175,"18":18,"186":186,"20":20,"27":27,"28":28,"39":39,"41":41,"45":45,"64":64,"65":65,"77":77,"78":78,"93":93}],100:[function(_dereq_,module,exports){
15633
+ },{"106":106,"117":117,"135":135,"152":152,"16":16,"17":17,"170":170,"177":177,"18":18,"188":188,"20":20,"27":27,"28":28,"39":39,"41":41,"45":45,"65":65,"66":66,"78":78,"79":79,"94":94}],102:[function(_dereq_,module,exports){
15545
15634
  /**
15546
15635
  * Copyright 2013-present, Facebook, Inc.
15547
15636
  * All rights reserved.
@@ -15555,7 +15644,7 @@ module.exports = ReactTestUtils;
15555
15644
 
15556
15645
  'use strict';
15557
15646
 
15558
- var flattenChildren = _dereq_(134);
15647
+ var flattenChildren = _dereq_(136);
15559
15648
 
15560
15649
  var ReactTransitionChildMapping = {
15561
15650
  /**
@@ -15645,7 +15734,7 @@ var ReactTransitionChildMapping = {
15645
15734
  };
15646
15735
 
15647
15736
  module.exports = ReactTransitionChildMapping;
15648
- },{"134":134}],101:[function(_dereq_,module,exports){
15737
+ },{"136":136}],103:[function(_dereq_,module,exports){
15649
15738
  /**
15650
15739
  * Copyright 2013-present, Facebook, Inc.
15651
15740
  * All rights reserved.
@@ -15659,9 +15748,9 @@ module.exports = ReactTransitionChildMapping;
15659
15748
 
15660
15749
  'use strict';
15661
15750
 
15662
- var ExecutionEnvironment = _dereq_(161);
15751
+ var ExecutionEnvironment = _dereq_(163);
15663
15752
 
15664
- var getVendorPrefixedEventName = _dereq_(144);
15753
+ var getVendorPrefixedEventName = _dereq_(146);
15665
15754
 
15666
15755
  var endEvents = [];
15667
15756
 
@@ -15719,7 +15808,7 @@ var ReactTransitionEvents = {
15719
15808
  };
15720
15809
 
15721
15810
  module.exports = ReactTransitionEvents;
15722
- },{"144":144,"161":161}],102:[function(_dereq_,module,exports){
15811
+ },{"146":146,"163":163}],104:[function(_dereq_,module,exports){
15723
15812
  /**
15724
15813
  * Copyright 2013-present, Facebook, Inc.
15725
15814
  * All rights reserved.
@@ -15733,13 +15822,13 @@ module.exports = ReactTransitionEvents;
15733
15822
 
15734
15823
  'use strict';
15735
15824
 
15736
- var _assign = _dereq_(186);
15825
+ var _assign = _dereq_(188);
15737
15826
 
15738
15827
  var React = _dereq_(27);
15739
- var ReactInstanceMap = _dereq_(77);
15740
- var ReactTransitionChildMapping = _dereq_(100);
15828
+ var ReactInstanceMap = _dereq_(78);
15829
+ var ReactTransitionChildMapping = _dereq_(102);
15741
15830
 
15742
- var emptyFunction = _dereq_(167);
15831
+ var emptyFunction = _dereq_(169);
15743
15832
 
15744
15833
  /**
15745
15834
  * A basis for animations. When children are declaratively added or removed,
@@ -15958,6 +16047,7 @@ var ReactTransitionGroup = React.createClass({
15958
16047
  delete props.childFactory;
15959
16048
  delete props.transitionLeaveTimeout;
15960
16049
  delete props.transitionEnterTimeout;
16050
+ delete props.transitionAppearTimeout;
15961
16051
  delete props.component;
15962
16052
 
15963
16053
  return React.createElement(this.props.component, props, childrenToRender);
@@ -15965,7 +16055,7 @@ var ReactTransitionGroup = React.createClass({
15965
16055
  });
15966
16056
 
15967
16057
  module.exports = ReactTransitionGroup;
15968
- },{"100":100,"167":167,"186":186,"27":27,"77":77}],103:[function(_dereq_,module,exports){
16058
+ },{"102":102,"169":169,"188":188,"27":27,"78":78}],105:[function(_dereq_,module,exports){
15969
16059
  /**
15970
16060
  * Copyright 2015-present, Facebook, Inc.
15971
16061
  * All rights reserved.
@@ -15979,15 +16069,15 @@ module.exports = ReactTransitionGroup;
15979
16069
 
15980
16070
  'use strict';
15981
16071
 
15982
- var _prodInvariant = _dereq_(150);
16072
+ var _prodInvariant = _dereq_(152);
15983
16073
 
15984
16074
  var ReactCurrentOwner = _dereq_(40);
15985
- var ReactInstanceMap = _dereq_(77);
15986
- var ReactInstrumentation = _dereq_(78);
15987
- var ReactUpdates = _dereq_(104);
16075
+ var ReactInstanceMap = _dereq_(78);
16076
+ var ReactInstrumentation = _dereq_(79);
16077
+ var ReactUpdates = _dereq_(106);
15988
16078
 
15989
- var invariant = _dereq_(175);
15990
- var warning = _dereq_(185);
16079
+ var invariant = _dereq_(177);
16080
+ var warning = _dereq_(187);
15991
16081
 
15992
16082
  function enqueueUpdate(internalInstance) {
15993
16083
  ReactUpdates.enqueueUpdate(internalInstance);
@@ -16177,8 +16267,10 @@ var ReactUpdateQueue = {
16177
16267
  enqueueUpdate(internalInstance);
16178
16268
  },
16179
16269
 
16180
- enqueueElementInternal: function (internalInstance, newElement) {
16181
- internalInstance._pendingElement = newElement;
16270
+ enqueueElementInternal: function (internalInstance, nextElement, nextContext) {
16271
+ internalInstance._pendingElement = nextElement;
16272
+ // TODO: introduce _pendingContext instead of setting it directly.
16273
+ internalInstance._context = nextContext;
16182
16274
  enqueueUpdate(internalInstance);
16183
16275
  },
16184
16276
 
@@ -16189,7 +16281,7 @@ var ReactUpdateQueue = {
16189
16281
  };
16190
16282
 
16191
16283
  module.exports = ReactUpdateQueue;
16192
- },{"104":104,"150":150,"175":175,"185":185,"40":40,"77":77,"78":78}],104:[function(_dereq_,module,exports){
16284
+ },{"106":106,"152":152,"177":177,"187":187,"40":40,"78":78,"79":79}],106:[function(_dereq_,module,exports){
16193
16285
  /**
16194
16286
  * Copyright 2013-present, Facebook, Inc.
16195
16287
  * All rights reserved.
@@ -16203,17 +16295,16 @@ module.exports = ReactUpdateQueue;
16203
16295
 
16204
16296
  'use strict';
16205
16297
 
16206
- var _prodInvariant = _dereq_(150),
16207
- _assign = _dereq_(186);
16298
+ var _prodInvariant = _dereq_(152),
16299
+ _assign = _dereq_(188);
16208
16300
 
16209
16301
  var CallbackQueue = _dereq_(5);
16210
16302
  var PooledClass = _dereq_(26);
16211
- var ReactFeatureFlags = _dereq_(71);
16212
- var ReactInstrumentation = _dereq_(78);
16213
- var ReactReconciler = _dereq_(93);
16214
- var Transaction = _dereq_(124);
16303
+ var ReactFeatureFlags = _dereq_(72);
16304
+ var ReactReconciler = _dereq_(94);
16305
+ var Transaction = _dereq_(126);
16215
16306
 
16216
- var invariant = _dereq_(175);
16307
+ var invariant = _dereq_(177);
16217
16308
 
16218
16309
  var dirtyComponents = [];
16219
16310
  var updateBatchNumber = 0;
@@ -16356,10 +16447,6 @@ function runBatchedUpdates(transaction) {
16356
16447
  }
16357
16448
 
16358
16449
  var flushBatchedUpdates = function () {
16359
- if ("development" !== 'production') {
16360
- ReactInstrumentation.debugTool.onBeginFlush();
16361
- }
16362
-
16363
16450
  // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents
16364
16451
  // array and perform any updates enqueued by mount-ready handlers (i.e.,
16365
16452
  // componentDidUpdate) but we need to check here too in order to catch
@@ -16379,10 +16466,6 @@ var flushBatchedUpdates = function () {
16379
16466
  CallbackQueue.release(queue);
16380
16467
  }
16381
16468
  }
16382
-
16383
- if ("development" !== 'production') {
16384
- ReactInstrumentation.debugTool.onEndFlush();
16385
- }
16386
16469
  };
16387
16470
 
16388
16471
  /**
@@ -16395,7 +16478,7 @@ function enqueueUpdate(component) {
16395
16478
  // Various parts of our code (such as ReactCompositeComponent's
16396
16479
  // _renderValidatedComponent) assume that calls to render aren't nested;
16397
16480
  // verify that that's the case. (This is called by each top-level update
16398
- // function, like setProps, setState, forceUpdate, etc.; creation and
16481
+ // function, like setState, forceUpdate, etc.; creation and
16399
16482
  // destruction of top-level components is guarded in ReactMount.)
16400
16483
 
16401
16484
  if (!batchingStrategy.isBatchingUpdates) {
@@ -16450,7 +16533,7 @@ var ReactUpdates = {
16450
16533
  };
16451
16534
 
16452
16535
  module.exports = ReactUpdates;
16453
- },{"124":124,"150":150,"175":175,"186":186,"26":26,"5":5,"71":71,"78":78,"93":93}],105:[function(_dereq_,module,exports){
16536
+ },{"126":126,"152":152,"177":177,"188":188,"26":26,"5":5,"72":72,"94":94}],107:[function(_dereq_,module,exports){
16454
16537
  /**
16455
16538
  * Copyright 2013-present, Facebook, Inc.
16456
16539
  * All rights reserved.
@@ -16464,8 +16547,8 @@ module.exports = ReactUpdates;
16464
16547
 
16465
16548
  'use strict';
16466
16549
 
16467
- module.exports = '15.2.0';
16468
- },{}],106:[function(_dereq_,module,exports){
16550
+ module.exports = '15.2.1';
16551
+ },{}],108:[function(_dereq_,module,exports){
16469
16552
  /**
16470
16553
  * Copyright 2013-present, Facebook, Inc.
16471
16554
  * All rights reserved.
@@ -16483,11 +16566,11 @@ var LinkedStateMixin = _dereq_(24);
16483
16566
  var React = _dereq_(27);
16484
16567
  var ReactComponentWithPureRenderMixin = _dereq_(38);
16485
16568
  var ReactCSSTransitionGroup = _dereq_(29);
16486
- var ReactFragment = _dereq_(72);
16487
- var ReactTransitionGroup = _dereq_(102);
16569
+ var ReactFragment = _dereq_(73);
16570
+ var ReactTransitionGroup = _dereq_(104);
16488
16571
 
16489
- var shallowCompare = _dereq_(154);
16490
- var update = _dereq_(157);
16572
+ var shallowCompare = _dereq_(156);
16573
+ var update = _dereq_(159);
16491
16574
 
16492
16575
  React.addons = {
16493
16576
  CSSTransitionGroup: ReactCSSTransitionGroup,
@@ -16501,12 +16584,12 @@ React.addons = {
16501
16584
  };
16502
16585
 
16503
16586
  if ("development" !== 'production') {
16504
- React.addons.Perf = _dereq_(88);
16505
- React.addons.TestUtils = _dereq_(99);
16587
+ React.addons.Perf = _dereq_(89);
16588
+ React.addons.TestUtils = _dereq_(101);
16506
16589
  }
16507
16590
 
16508
16591
  module.exports = React;
16509
- },{"102":102,"154":154,"157":157,"24":24,"27":27,"29":29,"38":38,"72":72,"88":88,"99":99}],107:[function(_dereq_,module,exports){
16592
+ },{"101":101,"104":104,"156":156,"159":159,"24":24,"27":27,"29":29,"38":38,"73":73,"89":89}],109:[function(_dereq_,module,exports){
16510
16593
  /**
16511
16594
  * Copyright 2013-present, Facebook, Inc.
16512
16595
  * All rights reserved.
@@ -16520,11 +16603,11 @@ module.exports = React;
16520
16603
 
16521
16604
  'use strict';
16522
16605
 
16523
- var _assign = _dereq_(186);
16606
+ var _assign = _dereq_(188);
16524
16607
 
16525
16608
  var ReactDOM = _dereq_(41);
16526
- var ReactDOMServer = _dereq_(57);
16527
- var ReactWithAddons = _dereq_(106);
16609
+ var ReactDOMServer = _dereq_(58);
16610
+ var ReactWithAddons = _dereq_(108);
16528
16611
 
16529
16612
  // `version` will be added here by ReactIsomorphic.
16530
16613
  var ReactWithAddonsUMDEntry = _assign({
@@ -16533,7 +16616,7 @@ var ReactWithAddonsUMDEntry = _assign({
16533
16616
  }, ReactWithAddons);
16534
16617
 
16535
16618
  module.exports = ReactWithAddonsUMDEntry;
16536
- },{"106":106,"186":186,"41":41,"57":57}],108:[function(_dereq_,module,exports){
16619
+ },{"108":108,"188":188,"41":41,"58":58}],110:[function(_dereq_,module,exports){
16537
16620
  /**
16538
16621
  * Copyright 2013-present, Facebook, Inc.
16539
16622
  * All rights reserved.
@@ -16834,7 +16917,7 @@ Object.keys(ATTRS).forEach(function (key) {
16834
16917
  });
16835
16918
 
16836
16919
  module.exports = SVGDOMPropertyConfig;
16837
- },{}],109:[function(_dereq_,module,exports){
16920
+ },{}],111:[function(_dereq_,module,exports){
16838
16921
  /**
16839
16922
  * Copyright 2013-present, Facebook, Inc.
16840
16923
  * All rights reserved.
@@ -16850,15 +16933,15 @@ module.exports = SVGDOMPropertyConfig;
16850
16933
 
16851
16934
  var EventConstants = _dereq_(16);
16852
16935
  var EventPropagators = _dereq_(20);
16853
- var ExecutionEnvironment = _dereq_(161);
16936
+ var ExecutionEnvironment = _dereq_(163);
16854
16937
  var ReactDOMComponentTree = _dereq_(45);
16855
- var ReactInputSelection = _dereq_(76);
16856
- var SyntheticEvent = _dereq_(115);
16938
+ var ReactInputSelection = _dereq_(77);
16939
+ var SyntheticEvent = _dereq_(117);
16857
16940
 
16858
- var getActiveElement = _dereq_(170);
16859
- var isTextInputElement = _dereq_(147);
16860
- var keyOf = _dereq_(179);
16861
- var shallowEqual = _dereq_(184);
16941
+ var getActiveElement = _dereq_(172);
16942
+ var isTextInputElement = _dereq_(149);
16943
+ var keyOf = _dereq_(181);
16944
+ var shallowEqual = _dereq_(186);
16862
16945
 
16863
16946
  var topLevelTypes = EventConstants.topLevelTypes;
16864
16947
 
@@ -17031,7 +17114,7 @@ var SelectEventPlugin = {
17031
17114
  };
17032
17115
 
17033
17116
  module.exports = SelectEventPlugin;
17034
- },{"115":115,"147":147,"16":16,"161":161,"170":170,"179":179,"184":184,"20":20,"45":45,"76":76}],110:[function(_dereq_,module,exports){
17117
+ },{"117":117,"149":149,"16":16,"163":163,"172":172,"181":181,"186":186,"20":20,"45":45,"77":77}],112:[function(_dereq_,module,exports){
17035
17118
  /**
17036
17119
  * Copyright 2013-present, Facebook, Inc.
17037
17120
  * All rights reserved.
@@ -17045,28 +17128,28 @@ module.exports = SelectEventPlugin;
17045
17128
 
17046
17129
  'use strict';
17047
17130
 
17048
- var _prodInvariant = _dereq_(150);
17131
+ var _prodInvariant = _dereq_(152);
17049
17132
 
17050
17133
  var EventConstants = _dereq_(16);
17051
- var EventListener = _dereq_(160);
17134
+ var EventListener = _dereq_(162);
17052
17135
  var EventPropagators = _dereq_(20);
17053
17136
  var ReactDOMComponentTree = _dereq_(45);
17054
- var SyntheticAnimationEvent = _dereq_(111);
17055
- var SyntheticClipboardEvent = _dereq_(112);
17056
- var SyntheticEvent = _dereq_(115);
17057
- var SyntheticFocusEvent = _dereq_(116);
17058
- var SyntheticKeyboardEvent = _dereq_(118);
17059
- var SyntheticMouseEvent = _dereq_(119);
17060
- var SyntheticDragEvent = _dereq_(114);
17061
- var SyntheticTouchEvent = _dereq_(120);
17062
- var SyntheticTransitionEvent = _dereq_(121);
17063
- var SyntheticUIEvent = _dereq_(122);
17064
- var SyntheticWheelEvent = _dereq_(123);
17065
-
17066
- var emptyFunction = _dereq_(167);
17067
- var getEventCharCode = _dereq_(136);
17068
- var invariant = _dereq_(175);
17069
- var keyOf = _dereq_(179);
17137
+ var SyntheticAnimationEvent = _dereq_(113);
17138
+ var SyntheticClipboardEvent = _dereq_(114);
17139
+ var SyntheticEvent = _dereq_(117);
17140
+ var SyntheticFocusEvent = _dereq_(118);
17141
+ var SyntheticKeyboardEvent = _dereq_(120);
17142
+ var SyntheticMouseEvent = _dereq_(121);
17143
+ var SyntheticDragEvent = _dereq_(116);
17144
+ var SyntheticTouchEvent = _dereq_(122);
17145
+ var SyntheticTransitionEvent = _dereq_(123);
17146
+ var SyntheticUIEvent = _dereq_(124);
17147
+ var SyntheticWheelEvent = _dereq_(125);
17148
+
17149
+ var emptyFunction = _dereq_(169);
17150
+ var getEventCharCode = _dereq_(138);
17151
+ var invariant = _dereq_(177);
17152
+ var keyOf = _dereq_(181);
17070
17153
 
17071
17154
  var topLevelTypes = EventConstants.topLevelTypes;
17072
17155
 
@@ -17661,7 +17744,7 @@ var SimpleEventPlugin = {
17661
17744
  };
17662
17745
 
17663
17746
  module.exports = SimpleEventPlugin;
17664
- },{"111":111,"112":112,"114":114,"115":115,"116":116,"118":118,"119":119,"120":120,"121":121,"122":122,"123":123,"136":136,"150":150,"16":16,"160":160,"167":167,"175":175,"179":179,"20":20,"45":45}],111:[function(_dereq_,module,exports){
17747
+ },{"113":113,"114":114,"116":116,"117":117,"118":118,"120":120,"121":121,"122":122,"123":123,"124":124,"125":125,"138":138,"152":152,"16":16,"162":162,"169":169,"177":177,"181":181,"20":20,"45":45}],113:[function(_dereq_,module,exports){
17665
17748
  /**
17666
17749
  * Copyright 2013-present, Facebook, Inc.
17667
17750
  * All rights reserved.
@@ -17675,7 +17758,7 @@ module.exports = SimpleEventPlugin;
17675
17758
 
17676
17759
  'use strict';
17677
17760
 
17678
- var SyntheticEvent = _dereq_(115);
17761
+ var SyntheticEvent = _dereq_(117);
17679
17762
 
17680
17763
  /**
17681
17764
  * @interface Event
@@ -17701,7 +17784,7 @@ function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, na
17701
17784
  SyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface);
17702
17785
 
17703
17786
  module.exports = SyntheticAnimationEvent;
17704
- },{"115":115}],112:[function(_dereq_,module,exports){
17787
+ },{"117":117}],114:[function(_dereq_,module,exports){
17705
17788
  /**
17706
17789
  * Copyright 2013-present, Facebook, Inc.
17707
17790
  * All rights reserved.
@@ -17715,7 +17798,7 @@ module.exports = SyntheticAnimationEvent;
17715
17798
 
17716
17799
  'use strict';
17717
17800
 
17718
- var SyntheticEvent = _dereq_(115);
17801
+ var SyntheticEvent = _dereq_(117);
17719
17802
 
17720
17803
  /**
17721
17804
  * @interface Event
@@ -17740,7 +17823,7 @@ function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, na
17740
17823
  SyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);
17741
17824
 
17742
17825
  module.exports = SyntheticClipboardEvent;
17743
- },{"115":115}],113:[function(_dereq_,module,exports){
17826
+ },{"117":117}],115:[function(_dereq_,module,exports){
17744
17827
  /**
17745
17828
  * Copyright 2013-present, Facebook, Inc.
17746
17829
  * All rights reserved.
@@ -17754,7 +17837,7 @@ module.exports = SyntheticClipboardEvent;
17754
17837
 
17755
17838
  'use strict';
17756
17839
 
17757
- var SyntheticEvent = _dereq_(115);
17840
+ var SyntheticEvent = _dereq_(117);
17758
17841
 
17759
17842
  /**
17760
17843
  * @interface Event
@@ -17777,7 +17860,7 @@ function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent,
17777
17860
  SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);
17778
17861
 
17779
17862
  module.exports = SyntheticCompositionEvent;
17780
- },{"115":115}],114:[function(_dereq_,module,exports){
17863
+ },{"117":117}],116:[function(_dereq_,module,exports){
17781
17864
  /**
17782
17865
  * Copyright 2013-present, Facebook, Inc.
17783
17866
  * All rights reserved.
@@ -17791,7 +17874,7 @@ module.exports = SyntheticCompositionEvent;
17791
17874
 
17792
17875
  'use strict';
17793
17876
 
17794
- var SyntheticMouseEvent = _dereq_(119);
17877
+ var SyntheticMouseEvent = _dereq_(121);
17795
17878
 
17796
17879
  /**
17797
17880
  * @interface DragEvent
@@ -17814,7 +17897,7 @@ function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeE
17814
17897
  SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);
17815
17898
 
17816
17899
  module.exports = SyntheticDragEvent;
17817
- },{"119":119}],115:[function(_dereq_,module,exports){
17900
+ },{"121":121}],117:[function(_dereq_,module,exports){
17818
17901
  /**
17819
17902
  * Copyright 2013-present, Facebook, Inc.
17820
17903
  * All rights reserved.
@@ -17828,12 +17911,12 @@ module.exports = SyntheticDragEvent;
17828
17911
 
17829
17912
  'use strict';
17830
17913
 
17831
- var _assign = _dereq_(186);
17914
+ var _assign = _dereq_(188);
17832
17915
 
17833
17916
  var PooledClass = _dereq_(26);
17834
17917
 
17835
- var emptyFunction = _dereq_(167);
17836
- var warning = _dereq_(185);
17918
+ var emptyFunction = _dereq_(169);
17919
+ var warning = _dereq_(187);
17837
17920
 
17838
17921
  var didWarnForAddedNewProperty = false;
17839
17922
  var isProxySupported = typeof Proxy === 'function';
@@ -18075,7 +18158,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
18075
18158
  "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;
18076
18159
  }
18077
18160
  }
18078
- },{"167":167,"185":185,"186":186,"26":26}],116:[function(_dereq_,module,exports){
18161
+ },{"169":169,"187":187,"188":188,"26":26}],118:[function(_dereq_,module,exports){
18079
18162
  /**
18080
18163
  * Copyright 2013-present, Facebook, Inc.
18081
18164
  * All rights reserved.
@@ -18089,7 +18172,7 @@ function getPooledWarningPropertyDefinition(propName, getVal) {
18089
18172
 
18090
18173
  'use strict';
18091
18174
 
18092
- var SyntheticUIEvent = _dereq_(122);
18175
+ var SyntheticUIEvent = _dereq_(124);
18093
18176
 
18094
18177
  /**
18095
18178
  * @interface FocusEvent
@@ -18112,7 +18195,7 @@ function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, native
18112
18195
  SyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);
18113
18196
 
18114
18197
  module.exports = SyntheticFocusEvent;
18115
- },{"122":122}],117:[function(_dereq_,module,exports){
18198
+ },{"124":124}],119:[function(_dereq_,module,exports){
18116
18199
  /**
18117
18200
  * Copyright 2013-present, Facebook, Inc.
18118
18201
  * All rights reserved.
@@ -18126,7 +18209,7 @@ module.exports = SyntheticFocusEvent;
18126
18209
 
18127
18210
  'use strict';
18128
18211
 
18129
- var SyntheticEvent = _dereq_(115);
18212
+ var SyntheticEvent = _dereq_(117);
18130
18213
 
18131
18214
  /**
18132
18215
  * @interface Event
@@ -18150,7 +18233,7 @@ function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, native
18150
18233
  SyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);
18151
18234
 
18152
18235
  module.exports = SyntheticInputEvent;
18153
- },{"115":115}],118:[function(_dereq_,module,exports){
18236
+ },{"117":117}],120:[function(_dereq_,module,exports){
18154
18237
  /**
18155
18238
  * Copyright 2013-present, Facebook, Inc.
18156
18239
  * All rights reserved.
@@ -18164,11 +18247,11 @@ module.exports = SyntheticInputEvent;
18164
18247
 
18165
18248
  'use strict';
18166
18249
 
18167
- var SyntheticUIEvent = _dereq_(122);
18250
+ var SyntheticUIEvent = _dereq_(124);
18168
18251
 
18169
- var getEventCharCode = _dereq_(136);
18170
- var getEventKey = _dereq_(137);
18171
- var getEventModifierState = _dereq_(138);
18252
+ var getEventCharCode = _dereq_(138);
18253
+ var getEventKey = _dereq_(139);
18254
+ var getEventModifierState = _dereq_(140);
18172
18255
 
18173
18256
  /**
18174
18257
  * @interface KeyboardEvent
@@ -18235,7 +18318,7 @@ function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nat
18235
18318
  SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);
18236
18319
 
18237
18320
  module.exports = SyntheticKeyboardEvent;
18238
- },{"122":122,"136":136,"137":137,"138":138}],119:[function(_dereq_,module,exports){
18321
+ },{"124":124,"138":138,"139":139,"140":140}],121:[function(_dereq_,module,exports){
18239
18322
  /**
18240
18323
  * Copyright 2013-present, Facebook, Inc.
18241
18324
  * All rights reserved.
@@ -18249,10 +18332,10 @@ module.exports = SyntheticKeyboardEvent;
18249
18332
 
18250
18333
  'use strict';
18251
18334
 
18252
- var SyntheticUIEvent = _dereq_(122);
18253
- var ViewportMetrics = _dereq_(125);
18335
+ var SyntheticUIEvent = _dereq_(124);
18336
+ var ViewportMetrics = _dereq_(127);
18254
18337
 
18255
- var getEventModifierState = _dereq_(138);
18338
+ var getEventModifierState = _dereq_(140);
18256
18339
 
18257
18340
  /**
18258
18341
  * @interface MouseEvent
@@ -18308,7 +18391,7 @@ function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, native
18308
18391
  SyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);
18309
18392
 
18310
18393
  module.exports = SyntheticMouseEvent;
18311
- },{"122":122,"125":125,"138":138}],120:[function(_dereq_,module,exports){
18394
+ },{"124":124,"127":127,"140":140}],122:[function(_dereq_,module,exports){
18312
18395
  /**
18313
18396
  * Copyright 2013-present, Facebook, Inc.
18314
18397
  * All rights reserved.
@@ -18322,9 +18405,9 @@ module.exports = SyntheticMouseEvent;
18322
18405
 
18323
18406
  'use strict';
18324
18407
 
18325
- var SyntheticUIEvent = _dereq_(122);
18408
+ var SyntheticUIEvent = _dereq_(124);
18326
18409
 
18327
- var getEventModifierState = _dereq_(138);
18410
+ var getEventModifierState = _dereq_(140);
18328
18411
 
18329
18412
  /**
18330
18413
  * @interface TouchEvent
@@ -18354,7 +18437,7 @@ function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, native
18354
18437
  SyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);
18355
18438
 
18356
18439
  module.exports = SyntheticTouchEvent;
18357
- },{"122":122,"138":138}],121:[function(_dereq_,module,exports){
18440
+ },{"124":124,"140":140}],123:[function(_dereq_,module,exports){
18358
18441
  /**
18359
18442
  * Copyright 2013-present, Facebook, Inc.
18360
18443
  * All rights reserved.
@@ -18368,7 +18451,7 @@ module.exports = SyntheticTouchEvent;
18368
18451
 
18369
18452
  'use strict';
18370
18453
 
18371
- var SyntheticEvent = _dereq_(115);
18454
+ var SyntheticEvent = _dereq_(117);
18372
18455
 
18373
18456
  /**
18374
18457
  * @interface Event
@@ -18394,7 +18477,7 @@ function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, n
18394
18477
  SyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface);
18395
18478
 
18396
18479
  module.exports = SyntheticTransitionEvent;
18397
- },{"115":115}],122:[function(_dereq_,module,exports){
18480
+ },{"117":117}],124:[function(_dereq_,module,exports){
18398
18481
  /**
18399
18482
  * Copyright 2013-present, Facebook, Inc.
18400
18483
  * All rights reserved.
@@ -18408,9 +18491,9 @@ module.exports = SyntheticTransitionEvent;
18408
18491
 
18409
18492
  'use strict';
18410
18493
 
18411
- var SyntheticEvent = _dereq_(115);
18494
+ var SyntheticEvent = _dereq_(117);
18412
18495
 
18413
- var getEventTarget = _dereq_(139);
18496
+ var getEventTarget = _dereq_(141);
18414
18497
 
18415
18498
  /**
18416
18499
  * @interface UIEvent
@@ -18454,7 +18537,7 @@ function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEve
18454
18537
  SyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);
18455
18538
 
18456
18539
  module.exports = SyntheticUIEvent;
18457
- },{"115":115,"139":139}],123:[function(_dereq_,module,exports){
18540
+ },{"117":117,"141":141}],125:[function(_dereq_,module,exports){
18458
18541
  /**
18459
18542
  * Copyright 2013-present, Facebook, Inc.
18460
18543
  * All rights reserved.
@@ -18468,7 +18551,7 @@ module.exports = SyntheticUIEvent;
18468
18551
 
18469
18552
  'use strict';
18470
18553
 
18471
- var SyntheticMouseEvent = _dereq_(119);
18554
+ var SyntheticMouseEvent = _dereq_(121);
18472
18555
 
18473
18556
  /**
18474
18557
  * @interface WheelEvent
@@ -18509,7 +18592,7 @@ function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, native
18509
18592
  SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);
18510
18593
 
18511
18594
  module.exports = SyntheticWheelEvent;
18512
- },{"119":119}],124:[function(_dereq_,module,exports){
18595
+ },{"121":121}],126:[function(_dereq_,module,exports){
18513
18596
  /**
18514
18597
  * Copyright 2013-present, Facebook, Inc.
18515
18598
  * All rights reserved.
@@ -18523,9 +18606,9 @@ module.exports = SyntheticWheelEvent;
18523
18606
 
18524
18607
  'use strict';
18525
18608
 
18526
- var _prodInvariant = _dereq_(150);
18609
+ var _prodInvariant = _dereq_(152);
18527
18610
 
18528
- var invariant = _dereq_(175);
18611
+ var invariant = _dereq_(177);
18529
18612
 
18530
18613
  /**
18531
18614
  * `Transaction` creates a black box that is able to wrap any method such that
@@ -18743,7 +18826,7 @@ var Transaction = {
18743
18826
  };
18744
18827
 
18745
18828
  module.exports = Transaction;
18746
- },{"150":150,"175":175}],125:[function(_dereq_,module,exports){
18829
+ },{"152":152,"177":177}],127:[function(_dereq_,module,exports){
18747
18830
  /**
18748
18831
  * Copyright 2013-present, Facebook, Inc.
18749
18832
  * All rights reserved.
@@ -18771,7 +18854,7 @@ var ViewportMetrics = {
18771
18854
  };
18772
18855
 
18773
18856
  module.exports = ViewportMetrics;
18774
- },{}],126:[function(_dereq_,module,exports){
18857
+ },{}],128:[function(_dereq_,module,exports){
18775
18858
  /**
18776
18859
  * Copyright 2014-present, Facebook, Inc.
18777
18860
  * All rights reserved.
@@ -18781,16 +18864,16 @@ module.exports = ViewportMetrics;
18781
18864
  * of patent rights can be found in the PATENTS file in the same directory.
18782
18865
  *
18783
18866
  * @providesModule accumulateInto
18867
+ *
18784
18868
  */
18785
18869
 
18786
18870
  'use strict';
18787
18871
 
18788
- var _prodInvariant = _dereq_(150);
18872
+ var _prodInvariant = _dereq_(152);
18789
18873
 
18790
- var invariant = _dereq_(175);
18874
+ var invariant = _dereq_(177);
18791
18875
 
18792
18876
  /**
18793
- *
18794
18877
  * Accumulates items that must not be null or undefined into the first one. This
18795
18878
  * is used to conserve memory by avoiding array allocations, and thus sacrifices
18796
18879
  * API cleanness. Since `current` can be null before being passed in and not
@@ -18805,26 +18888,23 @@ var invariant = _dereq_(175);
18805
18888
 
18806
18889
  function accumulateInto(current, next) {
18807
18890
  !(next != null) ? "development" !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;
18891
+
18808
18892
  if (current == null) {
18809
18893
  return next;
18810
18894
  }
18811
18895
 
18812
18896
  // Both are not empty. Warning: Never call x.concat(y) when you are not
18813
18897
  // certain that x is an Array (x could be a string with concat method).
18814
- var currentIsArray = Array.isArray(current);
18815
- var nextIsArray = Array.isArray(next);
18816
-
18817
- if (currentIsArray && nextIsArray) {
18818
- current.push.apply(current, next);
18819
- return current;
18820
- }
18821
-
18822
- if (currentIsArray) {
18898
+ if (Array.isArray(current)) {
18899
+ if (Array.isArray(next)) {
18900
+ current.push.apply(current, next);
18901
+ return current;
18902
+ }
18823
18903
  current.push(next);
18824
18904
  return current;
18825
18905
  }
18826
18906
 
18827
- if (nextIsArray) {
18907
+ if (Array.isArray(next)) {
18828
18908
  // A bit too dangerous to mutate `next`.
18829
18909
  return [current].concat(next);
18830
18910
  }
@@ -18833,7 +18913,7 @@ function accumulateInto(current, next) {
18833
18913
  }
18834
18914
 
18835
18915
  module.exports = accumulateInto;
18836
- },{"150":150,"175":175}],127:[function(_dereq_,module,exports){
18916
+ },{"152":152,"177":177}],129:[function(_dereq_,module,exports){
18837
18917
  /**
18838
18918
  * Copyright 2013-present, Facebook, Inc.
18839
18919
  * All rights reserved.
@@ -18843,6 +18923,7 @@ module.exports = accumulateInto;
18843
18923
  * of patent rights can be found in the PATENTS file in the same directory.
18844
18924
  *
18845
18925
  * @providesModule adler32
18926
+ *
18846
18927
  */
18847
18928
 
18848
18929
  'use strict';
@@ -18877,7 +18958,7 @@ function adler32(data) {
18877
18958
  }
18878
18959
 
18879
18960
  module.exports = adler32;
18880
- },{}],128:[function(_dereq_,module,exports){
18961
+ },{}],130:[function(_dereq_,module,exports){
18881
18962
  /**
18882
18963
  * Copyright 2013-present, Facebook, Inc.
18883
18964
  * All rights reserved.
@@ -18902,7 +18983,7 @@ if ("development" !== 'production') {
18902
18983
  }
18903
18984
 
18904
18985
  module.exports = canDefineProperty;
18905
- },{}],129:[function(_dereq_,module,exports){
18986
+ },{}],131:[function(_dereq_,module,exports){
18906
18987
  /**
18907
18988
  * Copyright 2013-present, Facebook, Inc.
18908
18989
  * All rights reserved.
@@ -18916,13 +18997,12 @@ module.exports = canDefineProperty;
18916
18997
 
18917
18998
  'use strict';
18918
18999
 
18919
- var _prodInvariant = _dereq_(150);
19000
+ var _prodInvariant = _dereq_(152);
18920
19001
 
18921
- var ReactComponentTreeDevtool = _dereq_(37);
18922
- var ReactPropTypeLocationNames = _dereq_(89);
19002
+ var ReactPropTypeLocationNames = _dereq_(90);
18923
19003
 
18924
- var invariant = _dereq_(175);
18925
- var warning = _dereq_(185);
19004
+ var invariant = _dereq_(177);
19005
+ var warning = _dereq_(187);
18926
19006
 
18927
19007
  var loggedTypeFailures = {};
18928
19008
 
@@ -18961,10 +19041,13 @@ function checkReactTypeSpec(typeSpecs, values, location, componentName, element,
18961
19041
 
18962
19042
  var componentStackInfo = '';
18963
19043
 
18964
- if (debugID !== null) {
18965
- componentStackInfo = ReactComponentTreeDevtool.getStackAddendumByID(debugID);
18966
- } else if (element !== null) {
18967
- componentStackInfo = ReactComponentTreeDevtool.getCurrentStackAddendum(element);
19044
+ if ("development" !== 'production') {
19045
+ var ReactComponentTreeDevtool = _dereq_(37);
19046
+ if (debugID !== null) {
19047
+ componentStackInfo = ReactComponentTreeDevtool.getStackAddendumByID(debugID);
19048
+ } else if (element !== null) {
19049
+ componentStackInfo = ReactComponentTreeDevtool.getCurrentStackAddendum(element);
19050
+ }
18968
19051
  }
18969
19052
 
18970
19053
  "development" !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;
@@ -18974,7 +19057,7 @@ function checkReactTypeSpec(typeSpecs, values, location, componentName, element,
18974
19057
  }
18975
19058
 
18976
19059
  module.exports = checkReactTypeSpec;
18977
- },{"150":150,"175":175,"185":185,"37":37,"89":89}],130:[function(_dereq_,module,exports){
19060
+ },{"152":152,"177":177,"187":187,"37":37,"90":90}],132:[function(_dereq_,module,exports){
18978
19061
  /**
18979
19062
  * Copyright 2013-present, Facebook, Inc.
18980
19063
  * All rights reserved.
@@ -19007,7 +19090,7 @@ var createMicrosoftUnsafeLocalFunction = function (func) {
19007
19090
  };
19008
19091
 
19009
19092
  module.exports = createMicrosoftUnsafeLocalFunction;
19010
- },{}],131:[function(_dereq_,module,exports){
19093
+ },{}],133:[function(_dereq_,module,exports){
19011
19094
  /**
19012
19095
  * Copyright 2013-present, Facebook, Inc.
19013
19096
  * All rights reserved.
@@ -19022,7 +19105,7 @@ module.exports = createMicrosoftUnsafeLocalFunction;
19022
19105
  'use strict';
19023
19106
 
19024
19107
  var CSSProperty = _dereq_(3);
19025
- var warning = _dereq_(185);
19108
+ var warning = _dereq_(187);
19026
19109
 
19027
19110
  var isUnitlessNumber = CSSProperty.isUnitlessNumber;
19028
19111
  var styleWarnings = {};
@@ -19087,7 +19170,7 @@ function dangerousStyleValue(name, value, component) {
19087
19170
  }
19088
19171
 
19089
19172
  module.exports = dangerousStyleValue;
19090
- },{"185":185,"3":3}],132:[function(_dereq_,module,exports){
19173
+ },{"187":187,"3":3}],134:[function(_dereq_,module,exports){
19091
19174
  /**
19092
19175
  * Copyright 2016-present, Facebook, Inc.
19093
19176
  * All rights reserved.
@@ -19210,7 +19293,7 @@ function escapeTextContentForBrowser(text) {
19210
19293
  }
19211
19294
 
19212
19295
  module.exports = escapeTextContentForBrowser;
19213
- },{}],133:[function(_dereq_,module,exports){
19296
+ },{}],135:[function(_dereq_,module,exports){
19214
19297
  /**
19215
19298
  * Copyright 2013-present, Facebook, Inc.
19216
19299
  * All rights reserved.
@@ -19224,15 +19307,15 @@ module.exports = escapeTextContentForBrowser;
19224
19307
 
19225
19308
  'use strict';
19226
19309
 
19227
- var _prodInvariant = _dereq_(150);
19310
+ var _prodInvariant = _dereq_(152);
19228
19311
 
19229
19312
  var ReactCurrentOwner = _dereq_(40);
19230
19313
  var ReactDOMComponentTree = _dereq_(45);
19231
- var ReactInstanceMap = _dereq_(77);
19314
+ var ReactInstanceMap = _dereq_(78);
19232
19315
 
19233
- var getHostComponentFromComposite = _dereq_(140);
19234
- var invariant = _dereq_(175);
19235
- var warning = _dereq_(185);
19316
+ var getHostComponentFromComposite = _dereq_(142);
19317
+ var invariant = _dereq_(177);
19318
+ var warning = _dereq_(187);
19236
19319
 
19237
19320
  /**
19238
19321
  * Returns the DOM node rendered by this element.
@@ -19271,7 +19354,7 @@ function findDOMNode(componentOrElement) {
19271
19354
  }
19272
19355
 
19273
19356
  module.exports = findDOMNode;
19274
- },{"140":140,"150":150,"175":175,"185":185,"40":40,"45":45,"77":77}],134:[function(_dereq_,module,exports){
19357
+ },{"142":142,"152":152,"177":177,"187":187,"40":40,"45":45,"78":78}],136:[function(_dereq_,module,exports){
19275
19358
  /**
19276
19359
  * Copyright 2013-present, Facebook, Inc.
19277
19360
  * All rights reserved.
@@ -19281,14 +19364,14 @@ module.exports = findDOMNode;
19281
19364
  * of patent rights can be found in the PATENTS file in the same directory.
19282
19365
  *
19283
19366
  * @providesModule flattenChildren
19367
+ *
19284
19368
  */
19285
19369
 
19286
19370
  'use strict';
19287
19371
 
19288
- var ReactComponentTreeDevtool = _dereq_(37);
19289
19372
  var KeyEscapeUtils = _dereq_(23);
19290
- var traverseAllChildren = _dereq_(156);
19291
- var warning = _dereq_(185);
19373
+ var traverseAllChildren = _dereq_(158);
19374
+ var warning = _dereq_(187);
19292
19375
 
19293
19376
  /**
19294
19377
  * @param {function} traverseContext Context passed through traversal.
@@ -19298,13 +19381,16 @@ var warning = _dereq_(185);
19298
19381
  */
19299
19382
  function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {
19300
19383
  // We found a component instance.
19301
- var result = traverseContext;
19302
- var keyUnique = result[name] === undefined;
19303
- if ("development" !== 'production') {
19304
- "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;
19305
- }
19306
- if (keyUnique && child != null) {
19307
- result[name] = child;
19384
+ if (traverseContext && typeof traverseContext === 'object') {
19385
+ var result = traverseContext;
19386
+ var keyUnique = result[name] === undefined;
19387
+ if ("development" !== 'production') {
19388
+ var ReactComponentTreeDevtool = _dereq_(37);
19389
+ "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;
19390
+ }
19391
+ if (keyUnique && child != null) {
19392
+ result[name] = child;
19393
+ }
19308
19394
  }
19309
19395
  }
19310
19396
 
@@ -19330,7 +19416,7 @@ function flattenChildren(children, selfDebugID) {
19330
19416
  }
19331
19417
 
19332
19418
  module.exports = flattenChildren;
19333
- },{"156":156,"185":185,"23":23,"37":37}],135:[function(_dereq_,module,exports){
19419
+ },{"158":158,"187":187,"23":23,"37":37}],137:[function(_dereq_,module,exports){
19334
19420
  /**
19335
19421
  * Copyright 2013-present, Facebook, Inc.
19336
19422
  * All rights reserved.
@@ -19340,6 +19426,7 @@ module.exports = flattenChildren;
19340
19426
  * of patent rights can be found in the PATENTS file in the same directory.
19341
19427
  *
19342
19428
  * @providesModule forEachAccumulated
19429
+ *
19343
19430
  */
19344
19431
 
19345
19432
  'use strict';
@@ -19352,16 +19439,16 @@ module.exports = flattenChildren;
19352
19439
  * allocate an array).
19353
19440
  */
19354
19441
 
19355
- var forEachAccumulated = function (arr, cb, scope) {
19442
+ function forEachAccumulated(arr, cb, scope) {
19356
19443
  if (Array.isArray(arr)) {
19357
19444
  arr.forEach(cb, scope);
19358
19445
  } else if (arr) {
19359
19446
  cb.call(scope, arr);
19360
19447
  }
19361
- };
19448
+ }
19362
19449
 
19363
19450
  module.exports = forEachAccumulated;
19364
- },{}],136:[function(_dereq_,module,exports){
19451
+ },{}],138:[function(_dereq_,module,exports){
19365
19452
  /**
19366
19453
  * Copyright 2013-present, Facebook, Inc.
19367
19454
  * All rights reserved.
@@ -19412,7 +19499,7 @@ function getEventCharCode(nativeEvent) {
19412
19499
  }
19413
19500
 
19414
19501
  module.exports = getEventCharCode;
19415
- },{}],137:[function(_dereq_,module,exports){
19502
+ },{}],139:[function(_dereq_,module,exports){
19416
19503
  /**
19417
19504
  * Copyright 2013-present, Facebook, Inc.
19418
19505
  * All rights reserved.
@@ -19426,7 +19513,7 @@ module.exports = getEventCharCode;
19426
19513
 
19427
19514
  'use strict';
19428
19515
 
19429
- var getEventCharCode = _dereq_(136);
19516
+ var getEventCharCode = _dereq_(138);
19430
19517
 
19431
19518
  /**
19432
19519
  * Normalization of deprecated HTML5 `key` values
@@ -19515,7 +19602,7 @@ function getEventKey(nativeEvent) {
19515
19602
  }
19516
19603
 
19517
19604
  module.exports = getEventKey;
19518
- },{"136":136}],138:[function(_dereq_,module,exports){
19605
+ },{"138":138}],140:[function(_dereq_,module,exports){
19519
19606
  /**
19520
19607
  * Copyright 2013-present, Facebook, Inc.
19521
19608
  * All rights reserved.
@@ -19559,7 +19646,7 @@ function getEventModifierState(nativeEvent) {
19559
19646
  }
19560
19647
 
19561
19648
  module.exports = getEventModifierState;
19562
- },{}],139:[function(_dereq_,module,exports){
19649
+ },{}],141:[function(_dereq_,module,exports){
19563
19650
  /**
19564
19651
  * Copyright 2013-present, Facebook, Inc.
19565
19652
  * All rights reserved.
@@ -19595,7 +19682,7 @@ function getEventTarget(nativeEvent) {
19595
19682
  }
19596
19683
 
19597
19684
  module.exports = getEventTarget;
19598
- },{}],140:[function(_dereq_,module,exports){
19685
+ },{}],142:[function(_dereq_,module,exports){
19599
19686
  /**
19600
19687
  * Copyright 2013-present, Facebook, Inc.
19601
19688
  * All rights reserved.
@@ -19609,7 +19696,7 @@ module.exports = getEventTarget;
19609
19696
 
19610
19697
  'use strict';
19611
19698
 
19612
- var ReactNodeTypes = _dereq_(85);
19699
+ var ReactNodeTypes = _dereq_(86);
19613
19700
 
19614
19701
  function getHostComponentFromComposite(inst) {
19615
19702
  var type;
@@ -19626,7 +19713,7 @@ function getHostComponentFromComposite(inst) {
19626
19713
  }
19627
19714
 
19628
19715
  module.exports = getHostComponentFromComposite;
19629
- },{"85":85}],141:[function(_dereq_,module,exports){
19716
+ },{"86":86}],143:[function(_dereq_,module,exports){
19630
19717
  /**
19631
19718
  * Copyright 2013-present, Facebook, Inc.
19632
19719
  * All rights reserved.
@@ -19636,6 +19723,7 @@ module.exports = getHostComponentFromComposite;
19636
19723
  * of patent rights can be found in the PATENTS file in the same directory.
19637
19724
  *
19638
19725
  * @providesModule getIteratorFn
19726
+ *
19639
19727
  */
19640
19728
 
19641
19729
  'use strict';
@@ -19667,7 +19755,7 @@ function getIteratorFn(maybeIterable) {
19667
19755
  }
19668
19756
 
19669
19757
  module.exports = getIteratorFn;
19670
- },{}],142:[function(_dereq_,module,exports){
19758
+ },{}],144:[function(_dereq_,module,exports){
19671
19759
  /**
19672
19760
  * Copyright 2013-present, Facebook, Inc.
19673
19761
  * All rights reserved.
@@ -19742,7 +19830,7 @@ function getNodeForCharacterOffset(root, offset) {
19742
19830
  }
19743
19831
 
19744
19832
  module.exports = getNodeForCharacterOffset;
19745
- },{}],143:[function(_dereq_,module,exports){
19833
+ },{}],145:[function(_dereq_,module,exports){
19746
19834
  /**
19747
19835
  * Copyright 2013-present, Facebook, Inc.
19748
19836
  * All rights reserved.
@@ -19756,7 +19844,7 @@ module.exports = getNodeForCharacterOffset;
19756
19844
 
19757
19845
  'use strict';
19758
19846
 
19759
- var ExecutionEnvironment = _dereq_(161);
19847
+ var ExecutionEnvironment = _dereq_(163);
19760
19848
 
19761
19849
  var contentKey = null;
19762
19850
 
@@ -19776,7 +19864,7 @@ function getTextContentAccessor() {
19776
19864
  }
19777
19865
 
19778
19866
  module.exports = getTextContentAccessor;
19779
- },{"161":161}],144:[function(_dereq_,module,exports){
19867
+ },{"163":163}],146:[function(_dereq_,module,exports){
19780
19868
  /**
19781
19869
  * Copyright 2013-present, Facebook, Inc.
19782
19870
  * All rights reserved.
@@ -19790,7 +19878,7 @@ module.exports = getTextContentAccessor;
19790
19878
 
19791
19879
  'use strict';
19792
19880
 
19793
- var ExecutionEnvironment = _dereq_(161);
19881
+ var ExecutionEnvironment = _dereq_(163);
19794
19882
 
19795
19883
  /**
19796
19884
  * Generate a mapping of standard vendor prefixes using the defined style property and event name.
@@ -19878,7 +19966,7 @@ function getVendorPrefixedEventName(eventName) {
19878
19966
  }
19879
19967
 
19880
19968
  module.exports = getVendorPrefixedEventName;
19881
- },{"161":161}],145:[function(_dereq_,module,exports){
19969
+ },{"163":163}],147:[function(_dereq_,module,exports){
19882
19970
  /**
19883
19971
  * Copyright 2013-present, Facebook, Inc.
19884
19972
  * All rights reserved.
@@ -19892,16 +19980,16 @@ module.exports = getVendorPrefixedEventName;
19892
19980
 
19893
19981
  'use strict';
19894
19982
 
19895
- var _prodInvariant = _dereq_(150),
19896
- _assign = _dereq_(186);
19983
+ var _prodInvariant = _dereq_(152),
19984
+ _assign = _dereq_(188);
19897
19985
 
19898
19986
  var ReactCompositeComponent = _dereq_(39);
19899
- var ReactEmptyComponent = _dereq_(67);
19900
- var ReactHostComponent = _dereq_(73);
19901
- var ReactInstrumentation = _dereq_(78);
19987
+ var ReactEmptyComponent = _dereq_(68);
19988
+ var ReactHostComponent = _dereq_(74);
19989
+ var ReactInstrumentation = _dereq_(79);
19902
19990
 
19903
- var invariant = _dereq_(175);
19904
- var warning = _dereq_(185);
19991
+ var invariant = _dereq_(177);
19992
+ var warning = _dereq_(187);
19905
19993
 
19906
19994
  // To avoid a cyclic dependency, we create the final class in this module
19907
19995
  var ReactCompositeComponentWrapper = function (element) {
@@ -19953,14 +20041,14 @@ var nextDebugID = 1;
19953
20041
  * Given a ReactNode, create an instance that will actually be mounted.
19954
20042
  *
19955
20043
  * @param {ReactNode} node
20044
+ * @param {boolean} shouldHaveDebugID
19956
20045
  * @return {object} A new instance of the element's constructor.
19957
20046
  * @protected
19958
20047
  */
19959
- function instantiateReactComponent(node) {
20048
+ function instantiateReactComponent(node, shouldHaveDebugID) {
19960
20049
  var instance;
19961
20050
 
19962
- var isEmpty = node === null || node === false;
19963
- if (isEmpty) {
20051
+ if (node === null || node === false) {
19964
20052
  instance = ReactEmptyComponent.create(instantiateReactComponent);
19965
20053
  } else if (typeof node === 'object') {
19966
20054
  var element = node;
@@ -19999,16 +20087,17 @@ function instantiateReactComponent(node) {
19999
20087
  instance._mountImage = null;
20000
20088
 
20001
20089
  if ("development" !== 'production') {
20002
- var debugID = isEmpty ? 0 : nextDebugID++;
20003
- instance._debugID = debugID;
20004
-
20005
- if (debugID !== 0) {
20090
+ if (shouldHaveDebugID) {
20091
+ var debugID = nextDebugID++;
20092
+ instance._debugID = debugID;
20006
20093
  var displayName = getDisplayName(instance);
20007
20094
  ReactInstrumentation.debugTool.onSetDisplayName(debugID, displayName);
20008
20095
  var owner = node && node._owner;
20009
20096
  if (owner) {
20010
20097
  ReactInstrumentation.debugTool.onSetOwner(debugID, owner._debugID);
20011
20098
  }
20099
+ } else {
20100
+ instance._debugID = 0;
20012
20101
  }
20013
20102
  }
20014
20103
 
@@ -20024,7 +20113,7 @@ function instantiateReactComponent(node) {
20024
20113
  }
20025
20114
 
20026
20115
  module.exports = instantiateReactComponent;
20027
- },{"150":150,"175":175,"185":185,"186":186,"39":39,"67":67,"73":73,"78":78}],146:[function(_dereq_,module,exports){
20116
+ },{"152":152,"177":177,"187":187,"188":188,"39":39,"68":68,"74":74,"79":79}],148:[function(_dereq_,module,exports){
20028
20117
  /**
20029
20118
  * Copyright 2013-present, Facebook, Inc.
20030
20119
  * All rights reserved.
@@ -20038,7 +20127,7 @@ module.exports = instantiateReactComponent;
20038
20127
 
20039
20128
  'use strict';
20040
20129
 
20041
- var ExecutionEnvironment = _dereq_(161);
20130
+ var ExecutionEnvironment = _dereq_(163);
20042
20131
 
20043
20132
  var useHasFeature;
20044
20133
  if (ExecutionEnvironment.canUseDOM) {
@@ -20085,7 +20174,7 @@ function isEventSupported(eventNameSuffix, capture) {
20085
20174
  }
20086
20175
 
20087
20176
  module.exports = isEventSupported;
20088
- },{"161":161}],147:[function(_dereq_,module,exports){
20177
+ },{"163":163}],149:[function(_dereq_,module,exports){
20089
20178
  /**
20090
20179
  * Copyright 2013-present, Facebook, Inc.
20091
20180
  * All rights reserved.
@@ -20095,6 +20184,7 @@ module.exports = isEventSupported;
20095
20184
  * of patent rights can be found in the PATENTS file in the same directory.
20096
20185
  *
20097
20186
  * @providesModule isTextInputElement
20187
+ *
20098
20188
  */
20099
20189
 
20100
20190
  'use strict';
@@ -20123,11 +20213,20 @@ var supportedInputTypes = {
20123
20213
 
20124
20214
  function isTextInputElement(elem) {
20125
20215
  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
20126
- return nodeName && (nodeName === 'input' && supportedInputTypes[elem.type] || nodeName === 'textarea');
20216
+
20217
+ if (nodeName === 'input') {
20218
+ return !!supportedInputTypes[elem.type];
20219
+ }
20220
+
20221
+ if (nodeName === 'textarea') {
20222
+ return true;
20223
+ }
20224
+
20225
+ return false;
20127
20226
  }
20128
20227
 
20129
20228
  module.exports = isTextInputElement;
20130
- },{}],148:[function(_dereq_,module,exports){
20229
+ },{}],150:[function(_dereq_,module,exports){
20131
20230
  /**
20132
20231
  * Copyright 2013-present, Facebook, Inc.
20133
20232
  * All rights reserved.
@@ -20140,11 +20239,11 @@ module.exports = isTextInputElement;
20140
20239
  */
20141
20240
  'use strict';
20142
20241
 
20143
- var _prodInvariant = _dereq_(150);
20242
+ var _prodInvariant = _dereq_(152);
20144
20243
 
20145
- var ReactElement = _dereq_(65);
20244
+ var ReactElement = _dereq_(66);
20146
20245
 
20147
- var invariant = _dereq_(175);
20246
+ var invariant = _dereq_(177);
20148
20247
 
20149
20248
  /**
20150
20249
  * Returns the first child in a collection of children and verifies that there
@@ -20166,7 +20265,7 @@ function onlyChild(children) {
20166
20265
  }
20167
20266
 
20168
20267
  module.exports = onlyChild;
20169
- },{"150":150,"175":175,"65":65}],149:[function(_dereq_,module,exports){
20268
+ },{"152":152,"177":177,"66":66}],151:[function(_dereq_,module,exports){
20170
20269
  /**
20171
20270
  * Copyright 2013-present, Facebook, Inc.
20172
20271
  * All rights reserved.
@@ -20180,7 +20279,7 @@ module.exports = onlyChild;
20180
20279
 
20181
20280
  'use strict';
20182
20281
 
20183
- var escapeTextContentForBrowser = _dereq_(132);
20282
+ var escapeTextContentForBrowser = _dereq_(134);
20184
20283
 
20185
20284
  /**
20186
20285
  * Escapes attribute value to prevent scripting attacks.
@@ -20193,7 +20292,7 @@ function quoteAttributeValueForBrowser(value) {
20193
20292
  }
20194
20293
 
20195
20294
  module.exports = quoteAttributeValueForBrowser;
20196
- },{"132":132}],150:[function(_dereq_,module,exports){
20295
+ },{"134":134}],152:[function(_dereq_,module,exports){
20197
20296
  /**
20198
20297
  * Copyright (c) 2013-present, Facebook, Inc.
20199
20298
  * All rights reserved.
@@ -20203,6 +20302,7 @@ module.exports = quoteAttributeValueForBrowser;
20203
20302
  * of patent rights can be found in the PATENTS file in the same directory.
20204
20303
  *
20205
20304
  * @providesModule reactProdInvariant
20305
+ *
20206
20306
  */
20207
20307
  'use strict';
20208
20308
 
@@ -20232,7 +20332,7 @@ function reactProdInvariant(code) {
20232
20332
  }
20233
20333
 
20234
20334
  module.exports = reactProdInvariant;
20235
- },{}],151:[function(_dereq_,module,exports){
20335
+ },{}],153:[function(_dereq_,module,exports){
20236
20336
  /**
20237
20337
  * Copyright 2013-present, Facebook, Inc.
20238
20338
  * All rights reserved.
@@ -20246,10 +20346,10 @@ module.exports = reactProdInvariant;
20246
20346
 
20247
20347
  'use strict';
20248
20348
 
20249
- var ReactMount = _dereq_(82);
20349
+ var ReactMount = _dereq_(83);
20250
20350
 
20251
20351
  module.exports = ReactMount.renderSubtreeIntoContainer;
20252
- },{"82":82}],152:[function(_dereq_,module,exports){
20352
+ },{"83":83}],154:[function(_dereq_,module,exports){
20253
20353
  /**
20254
20354
  * Copyright 2013-present, Facebook, Inc.
20255
20355
  * All rights reserved.
@@ -20263,13 +20363,13 @@ module.exports = ReactMount.renderSubtreeIntoContainer;
20263
20363
 
20264
20364
  'use strict';
20265
20365
 
20266
- var ExecutionEnvironment = _dereq_(161);
20366
+ var ExecutionEnvironment = _dereq_(163);
20267
20367
  var DOMNamespaces = _dereq_(9);
20268
20368
 
20269
20369
  var WHITESPACE_TEST = /^[ \r\n\t\f]/;
20270
20370
  var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/;
20271
20371
 
20272
- var createMicrosoftUnsafeLocalFunction = _dereq_(130);
20372
+ var createMicrosoftUnsafeLocalFunction = _dereq_(132);
20273
20373
 
20274
20374
  // SVG temp container for IE lacking innerHTML
20275
20375
  var reusableSVGContainer;
@@ -20348,7 +20448,7 @@ if (ExecutionEnvironment.canUseDOM) {
20348
20448
  }
20349
20449
 
20350
20450
  module.exports = setInnerHTML;
20351
- },{"130":130,"161":161,"9":9}],153:[function(_dereq_,module,exports){
20451
+ },{"132":132,"163":163,"9":9}],155:[function(_dereq_,module,exports){
20352
20452
  /**
20353
20453
  * Copyright 2013-present, Facebook, Inc.
20354
20454
  * All rights reserved.
@@ -20362,9 +20462,9 @@ module.exports = setInnerHTML;
20362
20462
 
20363
20463
  'use strict';
20364
20464
 
20365
- var ExecutionEnvironment = _dereq_(161);
20366
- var escapeTextContentForBrowser = _dereq_(132);
20367
- var setInnerHTML = _dereq_(152);
20465
+ var ExecutionEnvironment = _dereq_(163);
20466
+ var escapeTextContentForBrowser = _dereq_(134);
20467
+ var setInnerHTML = _dereq_(154);
20368
20468
 
20369
20469
  /**
20370
20470
  * Set the textContent property of a node, ensuring that whitespace is preserved
@@ -20397,7 +20497,7 @@ if (ExecutionEnvironment.canUseDOM) {
20397
20497
  }
20398
20498
 
20399
20499
  module.exports = setTextContent;
20400
- },{"132":132,"152":152,"161":161}],154:[function(_dereq_,module,exports){
20500
+ },{"134":134,"154":154,"163":163}],156:[function(_dereq_,module,exports){
20401
20501
  /**
20402
20502
  * Copyright 2013-present, Facebook, Inc.
20403
20503
  * All rights reserved.
@@ -20411,7 +20511,7 @@ module.exports = setTextContent;
20411
20511
 
20412
20512
  'use strict';
20413
20513
 
20414
- var shallowEqual = _dereq_(184);
20514
+ var shallowEqual = _dereq_(186);
20415
20515
 
20416
20516
  /**
20417
20517
  * Does a shallow comparison for props and state.
@@ -20423,7 +20523,7 @@ function shallowCompare(instance, nextProps, nextState) {
20423
20523
  }
20424
20524
 
20425
20525
  module.exports = shallowCompare;
20426
- },{"184":184}],155:[function(_dereq_,module,exports){
20526
+ },{"186":186}],157:[function(_dereq_,module,exports){
20427
20527
  /**
20428
20528
  * Copyright 2013-present, Facebook, Inc.
20429
20529
  * All rights reserved.
@@ -20466,7 +20566,7 @@ function shouldUpdateReactComponent(prevElement, nextElement) {
20466
20566
  }
20467
20567
 
20468
20568
  module.exports = shouldUpdateReactComponent;
20469
- },{}],156:[function(_dereq_,module,exports){
20569
+ },{}],158:[function(_dereq_,module,exports){
20470
20570
  /**
20471
20571
  * Copyright 2013-present, Facebook, Inc.
20472
20572
  * All rights reserved.
@@ -20480,15 +20580,15 @@ module.exports = shouldUpdateReactComponent;
20480
20580
 
20481
20581
  'use strict';
20482
20582
 
20483
- var _prodInvariant = _dereq_(150);
20583
+ var _prodInvariant = _dereq_(152);
20484
20584
 
20485
20585
  var ReactCurrentOwner = _dereq_(40);
20486
- var ReactElement = _dereq_(65);
20586
+ var ReactElement = _dereq_(66);
20487
20587
 
20488
- var getIteratorFn = _dereq_(141);
20489
- var invariant = _dereq_(175);
20588
+ var getIteratorFn = _dereq_(143);
20589
+ var invariant = _dereq_(177);
20490
20590
  var KeyEscapeUtils = _dereq_(23);
20491
- var warning = _dereq_(185);
20591
+ var warning = _dereq_(187);
20492
20592
 
20493
20593
  var SEPARATOR = '.';
20494
20594
  var SUBSEPARATOR = ':';
@@ -20627,7 +20727,7 @@ function traverseAllChildren(children, callback, traverseContext) {
20627
20727
  }
20628
20728
 
20629
20729
  module.exports = traverseAllChildren;
20630
- },{"141":141,"150":150,"175":175,"185":185,"23":23,"40":40,"65":65}],157:[function(_dereq_,module,exports){
20730
+ },{"143":143,"152":152,"177":177,"187":187,"23":23,"40":40,"66":66}],159:[function(_dereq_,module,exports){
20631
20731
  /**
20632
20732
  * Copyright 2013-present, Facebook, Inc.
20633
20733
  * All rights reserved.
@@ -20643,11 +20743,11 @@ module.exports = traverseAllChildren;
20643
20743
 
20644
20744
  'use strict';
20645
20745
 
20646
- var _prodInvariant = _dereq_(150),
20647
- _assign = _dereq_(186);
20746
+ var _prodInvariant = _dereq_(152),
20747
+ _assign = _dereq_(188);
20648
20748
 
20649
- var keyOf = _dereq_(179);
20650
- var invariant = _dereq_(175);
20749
+ var keyOf = _dereq_(181);
20750
+ var invariant = _dereq_(177);
20651
20751
  var hasOwnProperty = {}.hasOwnProperty;
20652
20752
 
20653
20753
  function shallowCopy(x) {
@@ -20741,7 +20841,7 @@ function update(value, spec) {
20741
20841
  }
20742
20842
 
20743
20843
  module.exports = update;
20744
- },{"150":150,"175":175,"179":179,"186":186}],158:[function(_dereq_,module,exports){
20844
+ },{"152":152,"177":177,"181":181,"188":188}],160:[function(_dereq_,module,exports){
20745
20845
  /**
20746
20846
  * Copyright 2015-present, Facebook, Inc.
20747
20847
  * All rights reserved.
@@ -20755,10 +20855,10 @@ module.exports = update;
20755
20855
 
20756
20856
  'use strict';
20757
20857
 
20758
- var _assign = _dereq_(186);
20858
+ var _assign = _dereq_(188);
20759
20859
 
20760
- var emptyFunction = _dereq_(167);
20761
- var warning = _dereq_(185);
20860
+ var emptyFunction = _dereq_(169);
20861
+ var warning = _dereq_(187);
20762
20862
 
20763
20863
  var validateDOMNesting = emptyFunction;
20764
20864
 
@@ -21111,7 +21211,7 @@ if ("development" !== 'production') {
21111
21211
  }
21112
21212
 
21113
21213
  module.exports = validateDOMNesting;
21114
- },{"167":167,"185":185,"186":186}],159:[function(_dereq_,module,exports){
21214
+ },{"169":169,"187":187,"188":188}],161:[function(_dereq_,module,exports){
21115
21215
  'use strict';
21116
21216
 
21117
21217
  /**
@@ -21125,7 +21225,7 @@ module.exports = validateDOMNesting;
21125
21225
  * @typechecks
21126
21226
  */
21127
21227
 
21128
- var invariant = _dereq_(175);
21228
+ var invariant = _dereq_(177);
21129
21229
 
21130
21230
  /**
21131
21231
  * The CSSCore module specifies the API (and implements most of the methods)
@@ -21233,7 +21333,7 @@ var CSSCore = {
21233
21333
  };
21234
21334
 
21235
21335
  module.exports = CSSCore;
21236
- },{"175":175}],160:[function(_dereq_,module,exports){
21336
+ },{"177":177}],162:[function(_dereq_,module,exports){
21237
21337
  'use strict';
21238
21338
 
21239
21339
  /**
@@ -21254,7 +21354,7 @@ module.exports = CSSCore;
21254
21354
  * @typechecks
21255
21355
  */
21256
21356
 
21257
- var emptyFunction = _dereq_(167);
21357
+ var emptyFunction = _dereq_(169);
21258
21358
 
21259
21359
  /**
21260
21360
  * Upstream version of event listener. Does not take into account specific
@@ -21317,7 +21417,7 @@ var EventListener = {
21317
21417
  };
21318
21418
 
21319
21419
  module.exports = EventListener;
21320
- },{"167":167}],161:[function(_dereq_,module,exports){
21420
+ },{"169":169}],163:[function(_dereq_,module,exports){
21321
21421
  /**
21322
21422
  * Copyright (c) 2013-present, Facebook, Inc.
21323
21423
  * All rights reserved.
@@ -21353,7 +21453,7 @@ var ExecutionEnvironment = {
21353
21453
  };
21354
21454
 
21355
21455
  module.exports = ExecutionEnvironment;
21356
- },{}],162:[function(_dereq_,module,exports){
21456
+ },{}],164:[function(_dereq_,module,exports){
21357
21457
  "use strict";
21358
21458
 
21359
21459
  /**
@@ -21385,7 +21485,7 @@ function camelize(string) {
21385
21485
  }
21386
21486
 
21387
21487
  module.exports = camelize;
21388
- },{}],163:[function(_dereq_,module,exports){
21488
+ },{}],165:[function(_dereq_,module,exports){
21389
21489
  /**
21390
21490
  * Copyright (c) 2013-present, Facebook, Inc.
21391
21491
  * All rights reserved.
@@ -21399,7 +21499,7 @@ module.exports = camelize;
21399
21499
 
21400
21500
  'use strict';
21401
21501
 
21402
- var camelize = _dereq_(162);
21502
+ var camelize = _dereq_(164);
21403
21503
 
21404
21504
  var msPattern = /^-ms-/;
21405
21505
 
@@ -21425,7 +21525,7 @@ function camelizeStyleName(string) {
21425
21525
  }
21426
21526
 
21427
21527
  module.exports = camelizeStyleName;
21428
- },{"162":162}],164:[function(_dereq_,module,exports){
21528
+ },{"164":164}],166:[function(_dereq_,module,exports){
21429
21529
  'use strict';
21430
21530
 
21431
21531
  /**
@@ -21439,7 +21539,7 @@ module.exports = camelizeStyleName;
21439
21539
  *
21440
21540
  */
21441
21541
 
21442
- var isTextNode = _dereq_(177);
21542
+ var isTextNode = _dereq_(179);
21443
21543
 
21444
21544
  /*eslint-disable no-bitwise */
21445
21545
 
@@ -21465,7 +21565,7 @@ function containsNode(outerNode, innerNode) {
21465
21565
  }
21466
21566
 
21467
21567
  module.exports = containsNode;
21468
- },{"177":177}],165:[function(_dereq_,module,exports){
21568
+ },{"179":179}],167:[function(_dereq_,module,exports){
21469
21569
  'use strict';
21470
21570
 
21471
21571
  /**
@@ -21479,7 +21579,7 @@ module.exports = containsNode;
21479
21579
  * @typechecks
21480
21580
  */
21481
21581
 
21482
- var invariant = _dereq_(175);
21582
+ var invariant = _dereq_(177);
21483
21583
 
21484
21584
  /**
21485
21585
  * Convert array-like objects to arrays.
@@ -21592,7 +21692,7 @@ function createArrayFromMixed(obj) {
21592
21692
  }
21593
21693
 
21594
21694
  module.exports = createArrayFromMixed;
21595
- },{"175":175}],166:[function(_dereq_,module,exports){
21695
+ },{"177":177}],168:[function(_dereq_,module,exports){
21596
21696
  'use strict';
21597
21697
 
21598
21698
  /**
@@ -21608,11 +21708,11 @@ module.exports = createArrayFromMixed;
21608
21708
 
21609
21709
  /*eslint-disable fb-www/unsafe-html*/
21610
21710
 
21611
- var ExecutionEnvironment = _dereq_(161);
21711
+ var ExecutionEnvironment = _dereq_(163);
21612
21712
 
21613
- var createArrayFromMixed = _dereq_(165);
21614
- var getMarkupWrap = _dereq_(171);
21615
- var invariant = _dereq_(175);
21713
+ var createArrayFromMixed = _dereq_(167);
21714
+ var getMarkupWrap = _dereq_(173);
21715
+ var invariant = _dereq_(177);
21616
21716
 
21617
21717
  /**
21618
21718
  * Dummy container used to render all markup.
@@ -21676,7 +21776,7 @@ function createNodesFromMarkup(markup, handleScript) {
21676
21776
  }
21677
21777
 
21678
21778
  module.exports = createNodesFromMarkup;
21679
- },{"161":161,"165":165,"171":171,"175":175}],167:[function(_dereq_,module,exports){
21779
+ },{"163":163,"167":167,"173":173,"177":177}],169:[function(_dereq_,module,exports){
21680
21780
  "use strict";
21681
21781
 
21682
21782
  /**
@@ -21715,7 +21815,7 @@ emptyFunction.thatReturnsArgument = function (arg) {
21715
21815
  };
21716
21816
 
21717
21817
  module.exports = emptyFunction;
21718
- },{}],168:[function(_dereq_,module,exports){
21818
+ },{}],170:[function(_dereq_,module,exports){
21719
21819
  /**
21720
21820
  * Copyright (c) 2013-present, Facebook, Inc.
21721
21821
  * All rights reserved.
@@ -21735,7 +21835,7 @@ if ("development" !== 'production') {
21735
21835
  }
21736
21836
 
21737
21837
  module.exports = emptyObject;
21738
- },{}],169:[function(_dereq_,module,exports){
21838
+ },{}],171:[function(_dereq_,module,exports){
21739
21839
  /**
21740
21840
  * Copyright (c) 2013-present, Facebook, Inc.
21741
21841
  * All rights reserved.
@@ -21762,7 +21862,7 @@ function focusNode(node) {
21762
21862
  }
21763
21863
 
21764
21864
  module.exports = focusNode;
21765
- },{}],170:[function(_dereq_,module,exports){
21865
+ },{}],172:[function(_dereq_,module,exports){
21766
21866
  'use strict';
21767
21867
 
21768
21868
  /**
@@ -21797,7 +21897,7 @@ function getActiveElement() /*?DOMElement*/{
21797
21897
  }
21798
21898
 
21799
21899
  module.exports = getActiveElement;
21800
- },{}],171:[function(_dereq_,module,exports){
21900
+ },{}],173:[function(_dereq_,module,exports){
21801
21901
  'use strict';
21802
21902
 
21803
21903
  /**
@@ -21812,9 +21912,9 @@ module.exports = getActiveElement;
21812
21912
 
21813
21913
  /*eslint-disable fb-www/unsafe-html */
21814
21914
 
21815
- var ExecutionEnvironment = _dereq_(161);
21915
+ var ExecutionEnvironment = _dereq_(163);
21816
21916
 
21817
- var invariant = _dereq_(175);
21917
+ var invariant = _dereq_(177);
21818
21918
 
21819
21919
  /**
21820
21920
  * Dummy container used to detect which wraps are necessary.
@@ -21892,7 +21992,7 @@ function getMarkupWrap(nodeName) {
21892
21992
  }
21893
21993
 
21894
21994
  module.exports = getMarkupWrap;
21895
- },{"161":161,"175":175}],172:[function(_dereq_,module,exports){
21995
+ },{"163":163,"177":177}],174:[function(_dereq_,module,exports){
21896
21996
  /**
21897
21997
  * Copyright (c) 2013-present, Facebook, Inc.
21898
21998
  * All rights reserved.
@@ -21931,7 +22031,7 @@ function getUnboundedScrollPosition(scrollable) {
21931
22031
  }
21932
22032
 
21933
22033
  module.exports = getUnboundedScrollPosition;
21934
- },{}],173:[function(_dereq_,module,exports){
22034
+ },{}],175:[function(_dereq_,module,exports){
21935
22035
  'use strict';
21936
22036
 
21937
22037
  /**
@@ -21964,7 +22064,7 @@ function hyphenate(string) {
21964
22064
  }
21965
22065
 
21966
22066
  module.exports = hyphenate;
21967
- },{}],174:[function(_dereq_,module,exports){
22067
+ },{}],176:[function(_dereq_,module,exports){
21968
22068
  /**
21969
22069
  * Copyright (c) 2013-present, Facebook, Inc.
21970
22070
  * All rights reserved.
@@ -21978,7 +22078,7 @@ module.exports = hyphenate;
21978
22078
 
21979
22079
  'use strict';
21980
22080
 
21981
- var hyphenate = _dereq_(173);
22081
+ var hyphenate = _dereq_(175);
21982
22082
 
21983
22083
  var msPattern = /^ms-/;
21984
22084
 
@@ -22003,7 +22103,7 @@ function hyphenateStyleName(string) {
22003
22103
  }
22004
22104
 
22005
22105
  module.exports = hyphenateStyleName;
22006
- },{"173":173}],175:[function(_dereq_,module,exports){
22106
+ },{"175":175}],177:[function(_dereq_,module,exports){
22007
22107
  /**
22008
22108
  * Copyright (c) 2013-present, Facebook, Inc.
22009
22109
  * All rights reserved.
@@ -22053,7 +22153,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
22053
22153
  }
22054
22154
 
22055
22155
  module.exports = invariant;
22056
- },{}],176:[function(_dereq_,module,exports){
22156
+ },{}],178:[function(_dereq_,module,exports){
22057
22157
  'use strict';
22058
22158
 
22059
22159
  /**
@@ -22076,7 +22176,7 @@ function isNode(object) {
22076
22176
  }
22077
22177
 
22078
22178
  module.exports = isNode;
22079
- },{}],177:[function(_dereq_,module,exports){
22179
+ },{}],179:[function(_dereq_,module,exports){
22080
22180
  'use strict';
22081
22181
 
22082
22182
  /**
@@ -22090,7 +22190,7 @@ module.exports = isNode;
22090
22190
  * @typechecks
22091
22191
  */
22092
22192
 
22093
- var isNode = _dereq_(176);
22193
+ var isNode = _dereq_(178);
22094
22194
 
22095
22195
  /**
22096
22196
  * @param {*} object The object to check.
@@ -22101,7 +22201,7 @@ function isTextNode(object) {
22101
22201
  }
22102
22202
 
22103
22203
  module.exports = isTextNode;
22104
- },{"176":176}],178:[function(_dereq_,module,exports){
22204
+ },{"178":178}],180:[function(_dereq_,module,exports){
22105
22205
  /**
22106
22206
  * Copyright (c) 2013-present, Facebook, Inc.
22107
22207
  * All rights reserved.
@@ -22115,7 +22215,7 @@ module.exports = isTextNode;
22115
22215
 
22116
22216
  'use strict';
22117
22217
 
22118
- var invariant = _dereq_(175);
22218
+ var invariant = _dereq_(177);
22119
22219
 
22120
22220
  /**
22121
22221
  * Constructs an enumeration with keys equal to their value.
@@ -22149,7 +22249,7 @@ var keyMirror = function keyMirror(obj) {
22149
22249
  };
22150
22250
 
22151
22251
  module.exports = keyMirror;
22152
- },{"175":175}],179:[function(_dereq_,module,exports){
22252
+ },{"177":177}],181:[function(_dereq_,module,exports){
22153
22253
  "use strict";
22154
22254
 
22155
22255
  /**
@@ -22184,7 +22284,7 @@ var keyOf = function keyOf(oneKeyObj) {
22184
22284
  };
22185
22285
 
22186
22286
  module.exports = keyOf;
22187
- },{}],180:[function(_dereq_,module,exports){
22287
+ },{}],182:[function(_dereq_,module,exports){
22188
22288
  /**
22189
22289
  * Copyright (c) 2013-present, Facebook, Inc.
22190
22290
  * All rights reserved.
@@ -22235,7 +22335,7 @@ function mapObject(object, callback, context) {
22235
22335
  }
22236
22336
 
22237
22337
  module.exports = mapObject;
22238
- },{}],181:[function(_dereq_,module,exports){
22338
+ },{}],183:[function(_dereq_,module,exports){
22239
22339
  /**
22240
22340
  * Copyright (c) 2013-present, Facebook, Inc.
22241
22341
  * All rights reserved.
@@ -22265,7 +22365,7 @@ function memoizeStringOnly(callback) {
22265
22365
  }
22266
22366
 
22267
22367
  module.exports = memoizeStringOnly;
22268
- },{}],182:[function(_dereq_,module,exports){
22368
+ },{}],184:[function(_dereq_,module,exports){
22269
22369
  /**
22270
22370
  * Copyright (c) 2013-present, Facebook, Inc.
22271
22371
  * All rights reserved.
@@ -22279,7 +22379,7 @@ module.exports = memoizeStringOnly;
22279
22379
 
22280
22380
  'use strict';
22281
22381
 
22282
- var ExecutionEnvironment = _dereq_(161);
22382
+ var ExecutionEnvironment = _dereq_(163);
22283
22383
 
22284
22384
  var performance;
22285
22385
 
@@ -22288,7 +22388,7 @@ if (ExecutionEnvironment.canUseDOM) {
22288
22388
  }
22289
22389
 
22290
22390
  module.exports = performance || {};
22291
- },{"161":161}],183:[function(_dereq_,module,exports){
22391
+ },{"163":163}],185:[function(_dereq_,module,exports){
22292
22392
  'use strict';
22293
22393
 
22294
22394
  /**
@@ -22302,7 +22402,7 @@ module.exports = performance || {};
22302
22402
  * @typechecks
22303
22403
  */
22304
22404
 
22305
- var performance = _dereq_(182);
22405
+ var performance = _dereq_(184);
22306
22406
 
22307
22407
  var performanceNow;
22308
22408
 
@@ -22322,7 +22422,7 @@ if (performance.now) {
22322
22422
  }
22323
22423
 
22324
22424
  module.exports = performanceNow;
22325
- },{"182":182}],184:[function(_dereq_,module,exports){
22425
+ },{"184":184}],186:[function(_dereq_,module,exports){
22326
22426
  /**
22327
22427
  * Copyright (c) 2013-present, Facebook, Inc.
22328
22428
  * All rights reserved.
@@ -22389,7 +22489,7 @@ function shallowEqual(objA, objB) {
22389
22489
  }
22390
22490
 
22391
22491
  module.exports = shallowEqual;
22392
- },{}],185:[function(_dereq_,module,exports){
22492
+ },{}],187:[function(_dereq_,module,exports){
22393
22493
  /**
22394
22494
  * Copyright 2014-2015, Facebook, Inc.
22395
22495
  * All rights reserved.
@@ -22402,7 +22502,7 @@ module.exports = shallowEqual;
22402
22502
 
22403
22503
  'use strict';
22404
22504
 
22405
- var emptyFunction = _dereq_(167);
22505
+ var emptyFunction = _dereq_(169);
22406
22506
 
22407
22507
  /**
22408
22508
  * Similar to invariant but only logs a warning if the condition is not met.
@@ -22446,7 +22546,7 @@ if ("development" !== 'production') {
22446
22546
  }
22447
22547
 
22448
22548
  module.exports = warning;
22449
- },{"167":167}],186:[function(_dereq_,module,exports){
22549
+ },{"169":169}],188:[function(_dereq_,module,exports){
22450
22550
  'use strict';
22451
22551
  /* eslint-disable no-unused-vars */
22452
22552
  var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -22531,5 +22631,5 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
22531
22631
  return to;
22532
22632
  };
22533
22633
 
22534
- },{}]},{},[107])(107)
22634
+ },{}]},{},[109])(109)
22535
22635
  });