patriot-workflow-scheduler 0.8.0 → 0.8.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.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjNjNzA3NWI2YWU2ZmQ0OWZhM2E1ZmJjNTVlNTBmN2Q0YzkyYjQ3OQ==
5
- data.tar.gz: !binary |-
6
- MDRmNGNkOWE0MDAzYmY2NDA5MGZkYzJhNDc2N2Y0ZWM4ZjEzMGM2OQ==
2
+ SHA1:
3
+ metadata.gz: c66f7917a00f83c6ba14ab317f7e46cd347c9c93
4
+ data.tar.gz: 9aa795a8770aa0b5edd129463241533a6d91b413
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZTY5YzAwNjFmYjNlNjllODliNGM4MzRjMjBhYzgwMDZhZWZlZjcyYWE2MmM4
10
- ZGYwNDgyNTljOTg5ZTY0MDBmN2M4ZWYyOWQ4YTE5YzkwM2Y2YmE4NGU3NWI5
11
- MDdkNDIwMWFmNWYzZjY3MzIzZmMzNmQ0OWQ2MTc2NWRkNWJmZDM=
12
- data.tar.gz: !binary |-
13
- NWE5OGY0NDQ2NGY4NjAwNTJmMjIwNGJiMWU5OGExMjY4ZjkxMTQyOGU2MjYy
14
- Mjg5YzgxZDVhOTZlZGQzYTg1YWU3ZDYyY2Y4N2FiYzk4NmY1ODQ0MDdlYmVm
15
- MWU0MWE1ZTNmY2UyYjE0NWM5Y2M0MWVhMjRjOGZiMzQ2YTFhOTI=
6
+ metadata.gz: 251daff44d4bfd604ee455e4348b3c19e8026c482d9e8a3029b41326ab716703be7c6cb1aaeb9eb63d6a701b1e121b10a6a5b17c90204fdb74ef9d575ca2d22e
7
+ data.tar.gz: 2765cfa43548802ec078afdf67d277288bbbd758c39de3a3bf0fe058f871386d8c3cb01ffb06098e7c8dcb2d7080849af6823bed9f334632cf530d24ace2bfb7
@@ -39,7 +39,8 @@ module Patriot
39
39
  to = @props[TO_PROP_KEY]
40
40
  subject = "#{job_ticket.job_id} has been failed"
41
41
  body = "#{job_ticket.job_id} has been failed \n\n --- \n #{job_ticket.description}"
42
- deliver(from, to, subject, body)
42
+ to = [to] unless to.is_a? Array
43
+ to.each{|to_addr| deliver(from, to_addr, subject, body) }
43
44
  end
44
45
 
45
46
  def deliver(from_addr, to_addr, msg_subj, msg_body)
@@ -29,6 +29,7 @@ module Patriot
29
29
  @default_hosts = @config.get(WORKER_HOST_KEY) || []
30
30
  @default_port = @config.get(INFO_SERVER_PORT_KEY)
31
31
  @user = @config.get(ADMIN_USER_KEY)
32
+ @worker_user = @config.get(WORKER_USER_KEY)
32
33
  end
33
34
  private :set_default_values
34
35
 
@@ -140,7 +141,8 @@ module Patriot
140
141
  # execute a worker command at a remote host
141
142
  # @param host [String] host name of the target host
142
143
  def controll_worker_at(host, cmd)
143
- ssh_cmd = "ssh -l #{@user} #{host} sudo #{WORKER_COMMAND} #{cmd}"
144
+ sudoer = @worker_user.nil? ? "" : "-u #{@worker_user}"
145
+ ssh_cmd = "ssh -l #{@user} #{host} sudo #{sudoer} #{WORKER_COMMAND} #{cmd}"
144
146
  @logger.info ssh_cmd
145
147
  puts `#{ssh_cmd}`
146
148
  end
@@ -273,7 +273,7 @@ END_OB_QUERY
273
273
 
274
274
  def _get_jobs_for_products(table, products, opts = {:include_attrs => [Patriot::Command::STATE_ATTR]}, c)
275
275
  result = []
276
- return result if products.blank?
276
+ return result if products.empty?
277
277
  products = [products] unless products.is_a? Array
278
278
  included_cols = (opts[:include_attrs] || []).map{|a| ATTR_TO_COLUMN[a]}
279
279
 
@@ -403,7 +403,7 @@ END_OB_QUERY
403
403
  condition = ["state = #{state}", "id != #{@initiator_id}"]
404
404
  condition |= ["job_id LIKE '#{opts[:filter_exp]}'"] if opts.has_key?(:filter_exp)
405
405
  query = "SELECT job_id FROM jobs WHERE #{condition.join(' AND ')}"
406
- query = "#{query} ORDER BY job_id DESC"
406
+ query = "#{query} ORDER BY update_id DESC"
407
407
  if opts.has_key?(:limit)
408
408
  query = "#{query} LIMIT #{opts[:limit]}"
409
409
  query = "#{query} OFFSET #{opts[:offset]}" if opts.has_key?(:offset)
@@ -17,8 +17,10 @@ module Patriot
17
17
  PLUGIN_LIB_DIR = 'lib'
18
18
  # plugin initiation script
19
19
  PLUGIN_INIT_SCRIPT = 'init.rb'
20
- # admin user mail address
20
+ # admin user to access remote host
21
21
  ADMIN_USER_KEY = 'admin_user'
22
+ # user who runs worker
23
+ WORKER_USER_KEY = 'worker_user'
22
24
 
23
25
  # a comma separated list of hosts where workers are running
24
26
  WORKER_HOST_KEY = 'worker_hosts'
@@ -1,3 +1,3 @@
1
1
  module Patriot
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -158,11 +158,11 @@ module Patriot
158
158
  def set_traps
159
159
  Patriot::Worker::SIGNAL_FOR_GRACEFUL_SHUTDOWN.each do |s|
160
160
  Signal.trap(s) do
161
- @logger.info "SIG#{s}: worker will terminate"
162
161
  @status = Patriot::Worker::Status::SHUTDOWN
163
162
  end
164
163
  end
165
164
  Patriot::Worker::SIGNAL_FOR_THREAD_DUMP.each do |s|
165
+ # TODO may not work on Ruby 2.x
166
166
  Signal.trap(s) do
167
167
  # TODO output to separated stream
168
168
  Thread.list.each do |t|
@@ -24,7 +24,7 @@ module Patriot
24
24
  offset = (params['offset'] || DEFAULT_JOB_OFFSET).to_i
25
25
 
26
26
  query = {:limit => limit, :offset => offset}
27
- query[:filter_exp] = params['filter_exp'] unless params['filter_exp'].blank?
27
+ query[:filter_exp] = params['filter_exp'] unless params['filter_exp'].nil? || params['filter_exp'].empty?
28
28
  job_ids = @@worker.job_store.find_jobs_by_state(state, query) || []
29
29
  return JSON.generate(job_ids.map{|job_id| {:job_id => job_id, :state => state}})
30
30
  end
@@ -59,7 +59,7 @@ module Patriot
59
59
  post '/' do
60
60
  protected!
61
61
  body = JSON.parse(request.body.read)
62
- halt(400, json({ERROR: "COMMAND_CLASS is not provided"})) if body["COMMAND_CLASS"].blank?
62
+ halt(400, json({ERROR: "COMMAND_CLASS is not provided"})) if body["COMMAND_CLASS"].empty?
63
63
  halt(400, json({ERROR: "Patriot::Command::CommandGroup is not acceptable"})) if body["COMMAND_CLASS"] == "Patriot::Command::CommandGroup"
64
64
  command_class = body.delete("COMMAND_CLASS").gsub(/\./, '::').constantize
65
65
 
@@ -60260,7 +60260,6 @@ module.exports = function (str) {
60260
60260
  };
60261
60261
 
60262
60262
  },{}],221:[function(require,module,exports){
60263
- (function (process){
60264
60263
  /**
60265
60264
  * Copyright 2013-2015, Facebook, Inc.
60266
60265
  * All rights reserved.
@@ -60284,7 +60283,7 @@ module.exports = function (str) {
60284
60283
  */
60285
60284
 
60286
60285
  var invariant = function(condition, format, a, b, c, d, e, f) {
60287
- if (process.env.NODE_ENV !== 'production') {
60286
+ if ("development" !== 'production') {
60288
60287
  if (format === undefined) {
60289
60288
  throw new Error('invariant requires an error message argument');
60290
60289
  }
@@ -60313,9 +60312,7 @@ var invariant = function(condition, format, a, b, c, d, e, f) {
60313
60312
 
60314
60313
  module.exports = invariant;
60315
60314
 
60316
- }).call(this,require('_process'))
60317
- },{"_process":111}],222:[function(require,module,exports){
60318
- (function (process){
60315
+ },{}],222:[function(require,module,exports){
60319
60316
  /**
60320
60317
  * Copyright 2014-2015, Facebook, Inc.
60321
60318
  * All rights reserved.
@@ -60336,7 +60333,7 @@ module.exports = invariant;
60336
60333
 
60337
60334
  var warning = function() {};
60338
60335
 
60339
- if (process.env.NODE_ENV !== 'production') {
60336
+ if ("development" !== 'production') {
60340
60337
  warning = function(condition, format, args) {
60341
60338
  var len = arguments.length;
60342
60339
  args = new Array(len > 2 ? len - 2 : 0);
@@ -60377,8 +60374,7 @@ if (process.env.NODE_ENV !== 'production') {
60377
60374
 
60378
60375
  module.exports = warning;
60379
60376
 
60380
- }).call(this,require('_process'))
60381
- },{"_process":111}],223:[function(require,module,exports){
60377
+ },{}],223:[function(require,module,exports){
60382
60378
  'use strict';
60383
60379
 
60384
60380
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -61685,7 +61681,6 @@ var CSSProperty = {
61685
61681
 
61686
61682
  module.exports = CSSProperty;
61687
61683
  },{}],235:[function(require,module,exports){
61688
- (function (process){
61689
61684
  /**
61690
61685
  * Copyright 2013-2015, Facebook, Inc.
61691
61686
  * All rights reserved.
@@ -61730,7 +61725,7 @@ if (ExecutionEnvironment.canUseDOM) {
61730
61725
  }
61731
61726
  }
61732
61727
 
61733
- if (process.env.NODE_ENV !== 'production') {
61728
+ if ("development" !== 'production') {
61734
61729
  // 'msTransform' is correct, but the other prefixes should be capitalized
61735
61730
  var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;
61736
61731
 
@@ -61746,7 +61741,7 @@ if (process.env.NODE_ENV !== 'production') {
61746
61741
  }
61747
61742
 
61748
61743
  warnedStyleNames[name] = true;
61749
- process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?', name, camelizeStyleName(name)) : undefined;
61744
+ "development" !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?', name, camelizeStyleName(name)) : undefined;
61750
61745
  };
61751
61746
 
61752
61747
  var warnBadVendoredStyleName = function (name) {
@@ -61755,7 +61750,7 @@ if (process.env.NODE_ENV !== 'production') {
61755
61750
  }
61756
61751
 
61757
61752
  warnedStyleNames[name] = true;
61758
- process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1)) : undefined;
61753
+ "development" !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1)) : undefined;
61759
61754
  };
61760
61755
 
61761
61756
  var warnStyleValueWithSemicolon = function (name, value) {
@@ -61764,7 +61759,7 @@ if (process.env.NODE_ENV !== 'production') {
61764
61759
  }
61765
61760
 
61766
61761
  warnedStyleValues[value] = true;
61767
- process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\'t contain a semicolon. ' + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, '')) : undefined;
61762
+ "development" !== 'production' ? warning(false, 'Style property values shouldn\'t contain a semicolon. ' + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, '')) : undefined;
61768
61763
  };
61769
61764
 
61770
61765
  /**
@@ -61806,7 +61801,7 @@ var CSSPropertyOperations = {
61806
61801
  continue;
61807
61802
  }
61808
61803
  var styleValue = styles[styleName];
61809
- if (process.env.NODE_ENV !== 'production') {
61804
+ if ("development" !== 'production') {
61810
61805
  warnValidStyle(styleName, styleValue);
61811
61806
  }
61812
61807
  if (styleValue != null) {
@@ -61830,7 +61825,7 @@ var CSSPropertyOperations = {
61830
61825
  if (!styles.hasOwnProperty(styleName)) {
61831
61826
  continue;
61832
61827
  }
61833
- if (process.env.NODE_ENV !== 'production') {
61828
+ if ("development" !== 'production') {
61834
61829
  warnValidStyle(styleName, styles[styleName]);
61835
61830
  }
61836
61831
  var styleValue = dangerousStyleValue(styleName, styles[styleName]);
@@ -61861,9 +61856,7 @@ ReactPerf.measureMethods(CSSPropertyOperations, 'CSSPropertyOperations', {
61861
61856
  });
61862
61857
 
61863
61858
  module.exports = CSSPropertyOperations;
61864
- }).call(this,require('_process'))
61865
- },{"./CSSProperty":234,"./ReactPerf":302,"./dangerousStyleValue":336,"_process":111,"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/camelizeStyleName":363,"fbjs/lib/hyphenateStyleName":374,"fbjs/lib/memoizeStringOnly":381,"fbjs/lib/warning":386}],236:[function(require,module,exports){
61866
- (function (process){
61859
+ },{"./CSSProperty":234,"./ReactPerf":302,"./dangerousStyleValue":336,"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/camelizeStyleName":363,"fbjs/lib/hyphenateStyleName":374,"fbjs/lib/memoizeStringOnly":381,"fbjs/lib/warning":386}],236:[function(require,module,exports){
61867
61860
  /**
61868
61861
  * Copyright 2013-2015, Facebook, Inc.
61869
61862
  * All rights reserved.
@@ -61924,7 +61917,7 @@ assign(CallbackQueue.prototype, {
61924
61917
  var callbacks = this._callbacks;
61925
61918
  var contexts = this._contexts;
61926
61919
  if (callbacks) {
61927
- !(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : invariant(false) : undefined;
61920
+ !(callbacks.length === contexts.length) ? "development" !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : invariant(false) : undefined;
61928
61921
  this._callbacks = null;
61929
61922
  this._contexts = null;
61930
61923
  for (var i = 0; i < callbacks.length; i++) {
@@ -61957,8 +61950,7 @@ assign(CallbackQueue.prototype, {
61957
61950
  PooledClass.addPoolingTo(CallbackQueue);
61958
61951
 
61959
61952
  module.exports = CallbackQueue;
61960
- }).call(this,require('_process'))
61961
- },{"./Object.assign":253,"./PooledClass":254,"_process":111,"fbjs/lib/invariant":375}],237:[function(require,module,exports){
61953
+ },{"./Object.assign":253,"./PooledClass":254,"fbjs/lib/invariant":375}],237:[function(require,module,exports){
61962
61954
  /**
61963
61955
  * Copyright 2013-2015, Facebook, Inc.
61964
61956
  * All rights reserved.
@@ -62305,7 +62297,6 @@ var ClientReactRootIndex = {
62305
62297
 
62306
62298
  module.exports = ClientReactRootIndex;
62307
62299
  },{}],239:[function(require,module,exports){
62308
- (function (process){
62309
62300
  /**
62310
62301
  * Copyright 2013-2015, Facebook, Inc.
62311
62302
  * All rights reserved.
@@ -62380,7 +62371,7 @@ var DOMChildrenOperations = {
62380
62371
  var updatedChild = update.parentNode.childNodes[updatedIndex];
62381
62372
  var parentID = update.parentID;
62382
62373
 
62383
- !updatedChild ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processUpdates(): Unable to find child %s of element. This ' + 'probably means the DOM was unexpectedly mutated (e.g., by the ' + 'browser), usually due to forgetting a <tbody> when using tables, ' + 'nesting tags like <form>, <p>, or <a>, or using non-SVG elements ' + 'in an <svg> parent. Try inspecting the child nodes of the element ' + 'with React ID `%s`.', updatedIndex, parentID) : invariant(false) : undefined;
62374
+ !updatedChild ? "development" !== 'production' ? invariant(false, 'processUpdates(): Unable to find child %s of element. This ' + 'probably means the DOM was unexpectedly mutated (e.g., by the ' + 'browser), usually due to forgetting a <tbody> when using tables, ' + 'nesting tags like <form>, <p>, or <a>, or using non-SVG elements ' + 'in an <svg> parent. Try inspecting the child nodes of the element ' + 'with React ID `%s`.', updatedIndex, parentID) : invariant(false) : undefined;
62384
62375
 
62385
62376
  initialChildren = initialChildren || {};
62386
62377
  initialChildren[parentID] = initialChildren[parentID] || [];
@@ -62435,9 +62426,7 @@ ReactPerf.measureMethods(DOMChildrenOperations, 'DOMChildrenOperations', {
62435
62426
  });
62436
62427
 
62437
62428
  module.exports = DOMChildrenOperations;
62438
- }).call(this,require('_process'))
62439
- },{"./Danger":242,"./ReactMultiChildUpdateTypes":298,"./ReactPerf":302,"./setInnerHTML":355,"./setTextContent":356,"_process":111,"fbjs/lib/invariant":375}],240:[function(require,module,exports){
62440
- (function (process){
62429
+ },{"./Danger":242,"./ReactMultiChildUpdateTypes":298,"./ReactPerf":302,"./setInnerHTML":355,"./setTextContent":356,"fbjs/lib/invariant":375}],240:[function(require,module,exports){
62441
62430
  /**
62442
62431
  * Copyright 2013-2015, Facebook, Inc.
62443
62432
  * All rights reserved.
@@ -62512,7 +62501,7 @@ var DOMPropertyInjection = {
62512
62501
  }
62513
62502
 
62514
62503
  for (var propName in Properties) {
62515
- !!DOMProperty.properties.hasOwnProperty(propName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\'re trying to inject DOM property ' + '\'%s\' which has already been injected. You may be accidentally ' + 'injecting the same DOM property config twice, or you may be ' + 'injecting two configs that have conflicting property names.', propName) : invariant(false) : undefined;
62504
+ !!DOMProperty.properties.hasOwnProperty(propName) ? "development" !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\'re trying to inject DOM property ' + '\'%s\' which has already been injected. You may be accidentally ' + 'injecting the same DOM property config twice, or you may be ' + 'injecting two configs that have conflicting property names.', propName) : invariant(false) : undefined;
62516
62505
 
62517
62506
  var lowerCased = propName.toLowerCase();
62518
62507
  var propConfig = Properties[propName];
@@ -62532,18 +62521,18 @@ var DOMPropertyInjection = {
62532
62521
  hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)
62533
62522
  };
62534
62523
 
62535
- !(!propertyInfo.mustUseAttribute || !propertyInfo.mustUseProperty) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Cannot require using both attribute and property: %s', propName) : invariant(false) : undefined;
62536
- !(propertyInfo.mustUseProperty || !propertyInfo.hasSideEffects) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Properties that have side effects must use property: %s', propName) : invariant(false) : undefined;
62537
- !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or ' + 'numeric value, but not a combination: %s', propName) : invariant(false) : undefined;
62524
+ !(!propertyInfo.mustUseAttribute || !propertyInfo.mustUseProperty) ? "development" !== 'production' ? invariant(false, 'DOMProperty: Cannot require using both attribute and property: %s', propName) : invariant(false) : undefined;
62525
+ !(propertyInfo.mustUseProperty || !propertyInfo.hasSideEffects) ? "development" !== 'production' ? invariant(false, 'DOMProperty: Properties that have side effects must use property: %s', propName) : invariant(false) : undefined;
62526
+ !(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) : invariant(false) : undefined;
62538
62527
 
62539
- if (process.env.NODE_ENV !== 'production') {
62528
+ if ("development" !== 'production') {
62540
62529
  DOMProperty.getPossibleStandardName[lowerCased] = propName;
62541
62530
  }
62542
62531
 
62543
62532
  if (DOMAttributeNames.hasOwnProperty(propName)) {
62544
62533
  var attributeName = DOMAttributeNames[propName];
62545
62534
  propertyInfo.attributeName = attributeName;
62546
- if (process.env.NODE_ENV !== 'production') {
62535
+ if ("development" !== 'production') {
62547
62536
  DOMProperty.getPossibleStandardName[attributeName] = propName;
62548
62537
  }
62549
62538
  }
@@ -62626,7 +62615,7 @@ var DOMProperty = {
62626
62615
  * to warn in the case of missing properties. Available only in __DEV__.
62627
62616
  * @type {Object}
62628
62617
  */
62629
- getPossibleStandardName: process.env.NODE_ENV !== 'production' ? {} : null,
62618
+ getPossibleStandardName: "development" !== 'production' ? {} : null,
62630
62619
 
62631
62620
  /**
62632
62621
  * All of the isCustomAttribute() functions that have been injected.
@@ -62672,9 +62661,7 @@ var DOMProperty = {
62672
62661
  };
62673
62662
 
62674
62663
  module.exports = DOMProperty;
62675
- }).call(this,require('_process'))
62676
- },{"_process":111,"fbjs/lib/invariant":375}],241:[function(require,module,exports){
62677
- (function (process){
62664
+ },{"fbjs/lib/invariant":375}],241:[function(require,module,exports){
62678
62665
  /**
62679
62666
  * Copyright 2013-2015, Facebook, Inc.
62680
62667
  * All rights reserved.
@@ -62712,7 +62699,7 @@ function isAttributeNameSafe(attributeName) {
62712
62699
  return true;
62713
62700
  }
62714
62701
  illegalAttributeNameCache[attributeName] = true;
62715
- process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid attribute name: `%s`', attributeName) : undefined;
62702
+ "development" !== 'production' ? warning(false, 'Invalid attribute name: `%s`', attributeName) : undefined;
62716
62703
  return false;
62717
62704
  }
62718
62705
 
@@ -62720,7 +62707,7 @@ function shouldIgnoreValue(propertyInfo, value) {
62720
62707
  return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;
62721
62708
  }
62722
62709
 
62723
- if (process.env.NODE_ENV !== 'production') {
62710
+ if ("development" !== 'production') {
62724
62711
  var reactProps = {
62725
62712
  children: true,
62726
62713
  dangerouslySetInnerHTML: true,
@@ -62742,7 +62729,7 @@ if (process.env.NODE_ENV !== 'production') {
62742
62729
 
62743
62730
  // For now, only warn when we have a suggested correction. This prevents
62744
62731
  // logging too much when using transferPropsTo.
62745
- process.env.NODE_ENV !== 'production' ? warning(standardName == null, 'Unknown DOM property %s. Did you mean %s?', name, standardName) : undefined;
62732
+ "development" !== 'production' ? warning(standardName == null, 'Unknown DOM property %s. Did you mean %s?', name, standardName) : undefined;
62746
62733
  };
62747
62734
  }
62748
62735
 
@@ -62788,7 +62775,7 @@ var DOMPropertyOperations = {
62788
62775
  return '';
62789
62776
  }
62790
62777
  return name + '=' + quoteAttributeValueForBrowser(value);
62791
- } else if (process.env.NODE_ENV !== 'production') {
62778
+ } else if ("development" !== 'production') {
62792
62779
  warnUnknownProperty(name);
62793
62780
  }
62794
62781
  return null;
@@ -62847,7 +62834,7 @@ var DOMPropertyOperations = {
62847
62834
  }
62848
62835
  } else if (DOMProperty.isCustomAttribute(name)) {
62849
62836
  DOMPropertyOperations.setValueForAttribute(node, name, value);
62850
- } else if (process.env.NODE_ENV !== 'production') {
62837
+ } else if ("development" !== 'production') {
62851
62838
  warnUnknownProperty(name);
62852
62839
  }
62853
62840
  },
@@ -62886,7 +62873,7 @@ var DOMPropertyOperations = {
62886
62873
  }
62887
62874
  } else if (DOMProperty.isCustomAttribute(name)) {
62888
62875
  node.removeAttribute(name);
62889
- } else if (process.env.NODE_ENV !== 'production') {
62876
+ } else if ("development" !== 'production') {
62890
62877
  warnUnknownProperty(name);
62891
62878
  }
62892
62879
  }
@@ -62900,9 +62887,7 @@ ReactPerf.measureMethods(DOMPropertyOperations, 'DOMPropertyOperations', {
62900
62887
  });
62901
62888
 
62902
62889
  module.exports = DOMPropertyOperations;
62903
- }).call(this,require('_process'))
62904
- },{"./DOMProperty":240,"./ReactPerf":302,"./quoteAttributeValueForBrowser":353,"_process":111,"fbjs/lib/warning":386}],242:[function(require,module,exports){
62905
- (function (process){
62890
+ },{"./DOMProperty":240,"./ReactPerf":302,"./quoteAttributeValueForBrowser":353,"fbjs/lib/warning":386}],242:[function(require,module,exports){
62906
62891
  /**
62907
62892
  * Copyright 2013-2015, Facebook, Inc.
62908
62893
  * All rights reserved.
@@ -62954,12 +62939,12 @@ var Danger = {
62954
62939
  * @internal
62955
62940
  */
62956
62941
  dangerouslyRenderMarkup: function (markupList) {
62957
- !ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== '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.') : invariant(false) : undefined;
62942
+ !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.') : invariant(false) : undefined;
62958
62943
  var nodeName;
62959
62944
  var markupByNodeName = {};
62960
62945
  // Group markup by `nodeName` if a wrap is necessary, else by '*'.
62961
62946
  for (var i = 0; i < markupList.length; i++) {
62962
- !markupList[i] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyRenderMarkup(...): Missing markup.') : invariant(false) : undefined;
62947
+ !markupList[i] ? "development" !== 'production' ? invariant(false, 'dangerouslyRenderMarkup(...): Missing markup.') : invariant(false) : undefined;
62963
62948
  nodeName = getNodeName(markupList[i]);
62964
62949
  nodeName = getMarkupWrap(nodeName) ? nodeName : '*';
62965
62950
  markupByNodeName[nodeName] = markupByNodeName[nodeName] || [];
@@ -63001,14 +62986,14 @@ var Danger = {
63001
62986
  resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR);
63002
62987
  renderNode.removeAttribute(RESULT_INDEX_ATTR);
63003
62988
 
63004
- !!resultList.hasOwnProperty(resultIndex) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Danger: Assigning to an already-occupied result index.') : invariant(false) : undefined;
62989
+ !!resultList.hasOwnProperty(resultIndex) ? "development" !== 'production' ? invariant(false, 'Danger: Assigning to an already-occupied result index.') : invariant(false) : undefined;
63005
62990
 
63006
62991
  resultList[resultIndex] = renderNode;
63007
62992
 
63008
62993
  // This should match resultList.length and markupList.length when
63009
62994
  // we're done.
63010
62995
  resultListAssignmentCount += 1;
63011
- } else if (process.env.NODE_ENV !== 'production') {
62996
+ } else if ("development" !== 'production') {
63012
62997
  console.error('Danger: Discarding unexpected node:', renderNode);
63013
62998
  }
63014
62999
  }
@@ -63016,9 +63001,9 @@ var Danger = {
63016
63001
 
63017
63002
  // Although resultList was populated out of order, it should now be a dense
63018
63003
  // array.
63019
- !(resultListAssignmentCount === resultList.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Danger: Did not assign to every index of resultList.') : invariant(false) : undefined;
63004
+ !(resultListAssignmentCount === resultList.length) ? "development" !== 'production' ? invariant(false, 'Danger: Did not assign to every index of resultList.') : invariant(false) : undefined;
63020
63005
 
63021
- !(resultList.length === markupList.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Danger: Expected markup to render %s nodes, but rendered %s.', markupList.length, resultList.length) : invariant(false) : undefined;
63006
+ !(resultList.length === markupList.length) ? "development" !== 'production' ? invariant(false, 'Danger: Expected markup to render %s nodes, but rendered %s.', markupList.length, resultList.length) : invariant(false) : undefined;
63022
63007
 
63023
63008
  return resultList;
63024
63009
  },
@@ -63032,9 +63017,9 @@ var Danger = {
63032
63017
  * @internal
63033
63018
  */
63034
63019
  dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {
63035
- !ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): 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.') : invariant(false) : undefined;
63036
- !markup ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(false) : undefined;
63037
- !(oldChild.tagName.toLowerCase() !== 'html') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the ' + '<html> node. This is because browser quirks make this unreliable ' + 'and/or slow. If you want to render to the root you must use ' + 'server rendering. See ReactDOMServer.renderToString().') : invariant(false) : undefined;
63020
+ !ExecutionEnvironment.canUseDOM ? "development" !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): 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.') : invariant(false) : undefined;
63021
+ !markup ? "development" !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(false) : undefined;
63022
+ !(oldChild.tagName.toLowerCase() !== 'html') ? "development" !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the ' + '<html> node. This is because browser quirks make this unreliable ' + 'and/or slow. If you want to render to the root you must use ' + 'server rendering. See ReactDOMServer.renderToString().') : invariant(false) : undefined;
63038
63023
 
63039
63024
  var newChild;
63040
63025
  if (typeof markup === 'string') {
@@ -63048,8 +63033,7 @@ var Danger = {
63048
63033
  };
63049
63034
 
63050
63035
  module.exports = Danger;
63051
- }).call(this,require('_process'))
63052
- },{"_process":111,"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/createNodesFromMarkup":366,"fbjs/lib/emptyFunction":367,"fbjs/lib/getMarkupWrap":371,"fbjs/lib/invariant":375}],243:[function(require,module,exports){
63036
+ },{"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/createNodesFromMarkup":366,"fbjs/lib/emptyFunction":367,"fbjs/lib/getMarkupWrap":371,"fbjs/lib/invariant":375}],243:[function(require,module,exports){
63053
63037
  /**
63054
63038
  * Copyright 2013-2015, Facebook, Inc.
63055
63039
  * All rights reserved.
@@ -63296,7 +63280,6 @@ var EventConstants = {
63296
63280
 
63297
63281
  module.exports = EventConstants;
63298
63282
  },{"fbjs/lib/keyMirror":378}],246:[function(require,module,exports){
63299
- (function (process){
63300
63283
  /**
63301
63284
  * Copyright 2013-2015, Facebook, Inc.
63302
63285
  * All rights reserved.
@@ -63361,7 +63344,7 @@ var InstanceHandle = null;
63361
63344
 
63362
63345
  function validateInstanceHandle() {
63363
63346
  var valid = InstanceHandle && InstanceHandle.traverseTwoPhase && InstanceHandle.traverseEnterLeave;
63364
- process.env.NODE_ENV !== 'production' ? warning(valid, 'InstanceHandle not injected before use!') : undefined;
63347
+ "development" !== 'production' ? warning(valid, 'InstanceHandle not injected before use!') : undefined;
63365
63348
  }
63366
63349
 
63367
63350
  /**
@@ -63405,13 +63388,13 @@ var EventPluginHub = {
63405
63388
  */
63406
63389
  injectInstanceHandle: function (InjectedInstanceHandle) {
63407
63390
  InstanceHandle = InjectedInstanceHandle;
63408
- if (process.env.NODE_ENV !== 'production') {
63391
+ if ("development" !== 'production') {
63409
63392
  validateInstanceHandle();
63410
63393
  }
63411
63394
  },
63412
63395
 
63413
63396
  getInstanceHandle: function () {
63414
- if (process.env.NODE_ENV !== 'production') {
63397
+ if ("development" !== 'production') {
63415
63398
  validateInstanceHandle();
63416
63399
  }
63417
63400
  return InstanceHandle;
@@ -63442,7 +63425,7 @@ var EventPluginHub = {
63442
63425
  * @param {?function} listener The callback to store.
63443
63426
  */
63444
63427
  putListener: function (id, registrationName, listener) {
63445
- !(typeof listener === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : invariant(false) : undefined;
63428
+ !(typeof listener === 'function') ? "development" !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : invariant(false) : undefined;
63446
63429
 
63447
63430
  var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});
63448
63431
  bankForRegistrationName[id] = listener;
@@ -63557,7 +63540,7 @@ var EventPluginHub = {
63557
63540
  } else {
63558
63541
  forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
63559
63542
  }
63560
- !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.') : invariant(false) : undefined;
63543
+ !!eventQueue ? "development" !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.') : invariant(false) : undefined;
63561
63544
  // This would be a good time to rethrow if any of the event handlers threw.
63562
63545
  ReactErrorUtils.rethrowCaughtError();
63563
63546
  },
@@ -63576,9 +63559,7 @@ var EventPluginHub = {
63576
63559
  };
63577
63560
 
63578
63561
  module.exports = EventPluginHub;
63579
- }).call(this,require('_process'))
63580
- },{"./EventPluginRegistry":247,"./EventPluginUtils":248,"./ReactErrorUtils":287,"./accumulateInto":333,"./forEachAccumulated":341,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],247:[function(require,module,exports){
63581
- (function (process){
63562
+ },{"./EventPluginRegistry":247,"./EventPluginUtils":248,"./ReactErrorUtils":287,"./accumulateInto":333,"./forEachAccumulated":341,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],247:[function(require,module,exports){
63582
63563
  /**
63583
63564
  * Copyright 2013-2015, Facebook, Inc.
63584
63565
  * All rights reserved.
@@ -63618,15 +63599,15 @@ function recomputePluginOrdering() {
63618
63599
  for (var pluginName in namesToPlugins) {
63619
63600
  var PluginModule = namesToPlugins[pluginName];
63620
63601
  var pluginIndex = EventPluginOrder.indexOf(pluginName);
63621
- !(pluginIndex > -1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in ' + 'the plugin ordering, `%s`.', pluginName) : invariant(false) : undefined;
63602
+ !(pluginIndex > -1) ? "development" !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in ' + 'the plugin ordering, `%s`.', pluginName) : invariant(false) : undefined;
63622
63603
  if (EventPluginRegistry.plugins[pluginIndex]) {
63623
63604
  continue;
63624
63605
  }
63625
- !PluginModule.extractEvents ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` ' + 'method, but `%s` does not.', pluginName) : invariant(false) : undefined;
63606
+ !PluginModule.extractEvents ? "development" !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` ' + 'method, but `%s` does not.', pluginName) : invariant(false) : undefined;
63626
63607
  EventPluginRegistry.plugins[pluginIndex] = PluginModule;
63627
63608
  var publishedEvents = PluginModule.eventTypes;
63628
63609
  for (var eventName in publishedEvents) {
63629
- !publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : invariant(false) : undefined;
63610
+ !publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName) ? "development" !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : invariant(false) : undefined;
63630
63611
  }
63631
63612
  }
63632
63613
  }
@@ -63640,7 +63621,7 @@ function recomputePluginOrdering() {
63640
63621
  * @private
63641
63622
  */
63642
63623
  function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
63643
- !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'event name, `%s`.', eventName) : invariant(false) : undefined;
63624
+ !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? "development" !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'event name, `%s`.', eventName) : invariant(false) : undefined;
63644
63625
  EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;
63645
63626
 
63646
63627
  var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
@@ -63668,7 +63649,7 @@ function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
63668
63649
  * @private
63669
63650
  */
63670
63651
  function publishRegistrationName(registrationName, PluginModule, eventName) {
63671
- !!EventPluginRegistry.registrationNameModules[registrationName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'registration name, `%s`.', registrationName) : invariant(false) : undefined;
63652
+ !!EventPluginRegistry.registrationNameModules[registrationName] ? "development" !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'registration name, `%s`.', registrationName) : invariant(false) : undefined;
63672
63653
  EventPluginRegistry.registrationNameModules[registrationName] = PluginModule;
63673
63654
  EventPluginRegistry.registrationNameDependencies[registrationName] = PluginModule.eventTypes[eventName].dependencies;
63674
63655
  }
@@ -63710,7 +63691,7 @@ var EventPluginRegistry = {
63710
63691
  * @see {EventPluginHub.injection.injectEventPluginOrder}
63711
63692
  */
63712
63693
  injectEventPluginOrder: function (InjectedEventPluginOrder) {
63713
- !!EventPluginOrder ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than ' + 'once. You are likely trying to load more than one copy of React.') : invariant(false) : undefined;
63694
+ !!EventPluginOrder ? "development" !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than ' + 'once. You are likely trying to load more than one copy of React.') : invariant(false) : undefined;
63714
63695
  // Clone the ordering so it cannot be dynamically mutated.
63715
63696
  EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);
63716
63697
  recomputePluginOrdering();
@@ -63734,7 +63715,7 @@ var EventPluginRegistry = {
63734
63715
  }
63735
63716
  var PluginModule = injectedNamesToPlugins[pluginName];
63736
63717
  if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== PluginModule) {
63737
- !!namesToPlugins[pluginName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins ' + 'using the same name, `%s`.', pluginName) : invariant(false) : undefined;
63718
+ !!namesToPlugins[pluginName] ? "development" !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins ' + 'using the same name, `%s`.', pluginName) : invariant(false) : undefined;
63738
63719
  namesToPlugins[pluginName] = PluginModule;
63739
63720
  isOrderingDirty = true;
63740
63721
  }
@@ -63799,9 +63780,7 @@ var EventPluginRegistry = {
63799
63780
  };
63800
63781
 
63801
63782
  module.exports = EventPluginRegistry;
63802
- }).call(this,require('_process'))
63803
- },{"_process":111,"fbjs/lib/invariant":375}],248:[function(require,module,exports){
63804
- (function (process){
63783
+ },{"fbjs/lib/invariant":375}],248:[function(require,module,exports){
63805
63784
  /**
63806
63785
  * Copyright 2013-2015, Facebook, Inc.
63807
63786
  * All rights reserved.
@@ -63833,8 +63812,8 @@ var injection = {
63833
63812
  Mount: null,
63834
63813
  injectMount: function (InjectedMount) {
63835
63814
  injection.Mount = InjectedMount;
63836
- if (process.env.NODE_ENV !== 'production') {
63837
- process.env.NODE_ENV !== 'production' ? warning(InjectedMount && InjectedMount.getNode && InjectedMount.getID, 'EventPluginUtils.injection.injectMount(...): Injected Mount ' + 'module is missing getNode or getID.') : undefined;
63815
+ if ("development" !== 'production') {
63816
+ "development" !== 'production' ? warning(InjectedMount && InjectedMount.getNode && InjectedMount.getID, 'EventPluginUtils.injection.injectMount(...): Injected Mount ' + 'module is missing getNode or getID.') : undefined;
63838
63817
  }
63839
63818
  }
63840
63819
  };
@@ -63853,7 +63832,7 @@ function isStartish(topLevelType) {
63853
63832
  }
63854
63833
 
63855
63834
  var validateEventDispatches;
63856
- if (process.env.NODE_ENV !== 'production') {
63835
+ if ("development" !== 'production') {
63857
63836
  validateEventDispatches = function (event) {
63858
63837
  var dispatchListeners = event._dispatchListeners;
63859
63838
  var dispatchIDs = event._dispatchIDs;
@@ -63863,7 +63842,7 @@ if (process.env.NODE_ENV !== 'production') {
63863
63842
  var IDsLen = idsIsArr ? dispatchIDs.length : dispatchIDs ? 1 : 0;
63864
63843
  var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;
63865
63844
 
63866
- process.env.NODE_ENV !== 'production' ? warning(idsIsArr === listenersIsArr && IDsLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : undefined;
63845
+ "development" !== 'production' ? warning(idsIsArr === listenersIsArr && IDsLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : undefined;
63867
63846
  };
63868
63847
  }
63869
63848
 
@@ -63891,7 +63870,7 @@ function executeDispatch(event, simulated, listener, domID) {
63891
63870
  function executeDispatchesInOrder(event, simulated) {
63892
63871
  var dispatchListeners = event._dispatchListeners;
63893
63872
  var dispatchIDs = event._dispatchIDs;
63894
- if (process.env.NODE_ENV !== 'production') {
63873
+ if ("development" !== 'production') {
63895
63874
  validateEventDispatches(event);
63896
63875
  }
63897
63876
  if (Array.isArray(dispatchListeners)) {
@@ -63919,7 +63898,7 @@ function executeDispatchesInOrder(event, simulated) {
63919
63898
  function executeDispatchesInOrderStopAtTrueImpl(event) {
63920
63899
  var dispatchListeners = event._dispatchListeners;
63921
63900
  var dispatchIDs = event._dispatchIDs;
63922
- if (process.env.NODE_ENV !== 'production') {
63901
+ if ("development" !== 'production') {
63923
63902
  validateEventDispatches(event);
63924
63903
  }
63925
63904
  if (Array.isArray(dispatchListeners)) {
@@ -63960,12 +63939,12 @@ function executeDispatchesInOrderStopAtTrue(event) {
63960
63939
  * @return {*} The return value of executing the single dispatch.
63961
63940
  */
63962
63941
  function executeDirectDispatch(event) {
63963
- if (process.env.NODE_ENV !== 'production') {
63942
+ if ("development" !== 'production') {
63964
63943
  validateEventDispatches(event);
63965
63944
  }
63966
63945
  var dispatchListener = event._dispatchListeners;
63967
63946
  var dispatchID = event._dispatchIDs;
63968
- !!Array.isArray(dispatchListener) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : invariant(false) : undefined;
63947
+ !!Array.isArray(dispatchListener) ? "development" !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : invariant(false) : undefined;
63969
63948
  var res = dispatchListener ? dispatchListener(event, dispatchID) : null;
63970
63949
  event._dispatchListeners = null;
63971
63950
  event._dispatchIDs = null;
@@ -64004,9 +63983,7 @@ var EventPluginUtils = {
64004
63983
  };
64005
63984
 
64006
63985
  module.exports = EventPluginUtils;
64007
- }).call(this,require('_process'))
64008
- },{"./EventConstants":245,"./ReactErrorUtils":287,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],249:[function(require,module,exports){
64009
- (function (process){
63986
+ },{"./EventConstants":245,"./ReactErrorUtils":287,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],249:[function(require,module,exports){
64010
63987
  /**
64011
63988
  * Copyright 2013-2015, Facebook, Inc.
64012
63989
  * All rights reserved.
@@ -64047,8 +64024,8 @@ function listenerAtPhase(id, event, propagationPhase) {
64047
64024
  * "dispatch" object that pairs the event with the listener.
64048
64025
  */
64049
64026
  function accumulateDirectionalDispatches(domID, upwards, event) {
64050
- if (process.env.NODE_ENV !== 'production') {
64051
- process.env.NODE_ENV !== 'production' ? warning(domID, 'Dispatching id must not be null') : undefined;
64027
+ if ("development" !== 'production') {
64028
+ "development" !== 'production' ? warning(domID, 'Dispatching id must not be null') : undefined;
64052
64029
  }
64053
64030
  var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;
64054
64031
  var listener = listenerAtPhase(domID, event, phase);
@@ -64142,8 +64119,7 @@ var EventPropagators = {
64142
64119
  };
64143
64120
 
64144
64121
  module.exports = EventPropagators;
64145
- }).call(this,require('_process'))
64146
- },{"./EventConstants":245,"./EventPluginHub":246,"./accumulateInto":333,"./forEachAccumulated":341,"_process":111,"fbjs/lib/warning":386}],250:[function(require,module,exports){
64122
+ },{"./EventConstants":245,"./EventPluginHub":246,"./accumulateInto":333,"./forEachAccumulated":341,"fbjs/lib/warning":386}],250:[function(require,module,exports){
64147
64123
  /**
64148
64124
  * Copyright 2013-2015, Facebook, Inc.
64149
64125
  * All rights reserved.
@@ -64471,7 +64447,6 @@ var HTMLDOMPropertyConfig = {
64471
64447
 
64472
64448
  module.exports = HTMLDOMPropertyConfig;
64473
64449
  },{"./DOMProperty":240,"fbjs/lib/ExecutionEnvironment":361}],252:[function(require,module,exports){
64474
- (function (process){
64475
64450
  /**
64476
64451
  * Copyright 2013-2015, Facebook, Inc.
64477
64452
  * All rights reserved.
@@ -64503,16 +64478,16 @@ var hasReadOnlyValue = {
64503
64478
  };
64504
64479
 
64505
64480
  function _assertSingleLink(inputProps) {
64506
- !(inputProps.checkedLink == null || inputProps.valueLink == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use ' + 'checkedLink, you probably don\'t want to use valueLink and vice versa.') : invariant(false) : undefined;
64481
+ !(inputProps.checkedLink == null || inputProps.valueLink == null) ? "development" !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use ' + 'checkedLink, you probably don\'t want to use valueLink and vice versa.') : invariant(false) : undefined;
64507
64482
  }
64508
64483
  function _assertValueLink(inputProps) {
64509
64484
  _assertSingleLink(inputProps);
64510
- !(inputProps.value == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want ' + 'to use value or onChange, you probably don\'t want to use valueLink.') : invariant(false) : undefined;
64485
+ !(inputProps.value == null && inputProps.onChange == null) ? "development" !== 'production' ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want ' + 'to use value or onChange, you probably don\'t want to use valueLink.') : invariant(false) : undefined;
64511
64486
  }
64512
64487
 
64513
64488
  function _assertCheckedLink(inputProps) {
64514
64489
  _assertSingleLink(inputProps);
64515
- !(inputProps.checked == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. ' + 'If you want to use checked or onChange, you probably don\'t want to ' + 'use checkedLink') : invariant(false) : undefined;
64490
+ !(inputProps.checked == null && inputProps.onChange == null) ? "development" !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. ' + 'If you want to use checked or onChange, you probably don\'t want to ' + 'use checkedLink') : invariant(false) : undefined;
64516
64491
  }
64517
64492
 
64518
64493
  var propTypes = {
@@ -64558,7 +64533,7 @@ var LinkedValueUtils = {
64558
64533
  loggedTypeFailures[error.message] = true;
64559
64534
 
64560
64535
  var addendum = getDeclarationErrorAddendum(owner);
64561
- process.env.NODE_ENV !== 'production' ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : undefined;
64536
+ "development" !== 'production' ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : undefined;
64562
64537
  }
64563
64538
  }
64564
64539
  },
@@ -64606,8 +64581,7 @@ var LinkedValueUtils = {
64606
64581
  };
64607
64582
 
64608
64583
  module.exports = LinkedValueUtils;
64609
- }).call(this,require('_process'))
64610
- },{"./ReactPropTypeLocations":304,"./ReactPropTypes":305,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],253:[function(require,module,exports){
64584
+ },{"./ReactPropTypeLocations":304,"./ReactPropTypes":305,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],253:[function(require,module,exports){
64611
64585
  /**
64612
64586
  * Copyright 2014-2015, Facebook, Inc.
64613
64587
  * All rights reserved.
@@ -64656,7 +64630,6 @@ function assign(target, sources) {
64656
64630
 
64657
64631
  module.exports = assign;
64658
64632
  },{}],254:[function(require,module,exports){
64659
- (function (process){
64660
64633
  /**
64661
64634
  * Copyright 2013-2015, Facebook, Inc.
64662
64635
  * All rights reserved.
@@ -64736,7 +64709,7 @@ var fiveArgumentPooler = function (a1, a2, a3, a4, a5) {
64736
64709
 
64737
64710
  var standardReleaser = function (instance) {
64738
64711
  var Klass = this;
64739
- !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : invariant(false) : undefined;
64712
+ !(instance instanceof Klass) ? "development" !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : invariant(false) : undefined;
64740
64713
  instance.destructor();
64741
64714
  if (Klass.instancePool.length < Klass.poolSize) {
64742
64715
  Klass.instancePool.push(instance);
@@ -64776,8 +64749,7 @@ var PooledClass = {
64776
64749
  };
64777
64750
 
64778
64751
  module.exports = PooledClass;
64779
- }).call(this,require('_process'))
64780
- },{"_process":111,"fbjs/lib/invariant":375}],255:[function(require,module,exports){
64752
+ },{"fbjs/lib/invariant":375}],255:[function(require,module,exports){
64781
64753
  /**
64782
64754
  * Copyright 2013-2015, Facebook, Inc.
64783
64755
  * All rights reserved.
@@ -64819,7 +64791,6 @@ React.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactDOMServer;
64819
64791
 
64820
64792
  module.exports = React;
64821
64793
  },{"./Object.assign":253,"./ReactDOM":266,"./ReactDOMServer":276,"./ReactIsomorphic":294,"./deprecated":337}],256:[function(require,module,exports){
64822
- (function (process){
64823
64794
  /**
64824
64795
  * Copyright 2013-2015, Facebook, Inc.
64825
64796
  * All rights reserved.
@@ -64849,15 +64820,14 @@ var ReactBrowserComponentMixin = {
64849
64820
  * @protected
64850
64821
  */
64851
64822
  getDOMNode: function () {
64852
- process.env.NODE_ENV !== 'production' ? warning(this.constructor[didWarnKey], '%s.getDOMNode(...) is deprecated. Please use ' + 'ReactDOM.findDOMNode(instance) instead.', ReactInstanceMap.get(this).getName() || this.tagName || 'Unknown') : undefined;
64823
+ "development" !== 'production' ? warning(this.constructor[didWarnKey], '%s.getDOMNode(...) is deprecated. Please use ' + 'ReactDOM.findDOMNode(instance) instead.', ReactInstanceMap.get(this).getName() || this.tagName || 'Unknown') : undefined;
64853
64824
  this.constructor[didWarnKey] = true;
64854
64825
  return findDOMNode(this);
64855
64826
  }
64856
64827
  };
64857
64828
 
64858
64829
  module.exports = ReactBrowserComponentMixin;
64859
- }).call(this,require('_process'))
64860
- },{"./ReactInstanceMap":293,"./findDOMNode":339,"_process":111,"fbjs/lib/warning":386}],257:[function(require,module,exports){
64830
+ },{"./ReactInstanceMap":293,"./findDOMNode":339,"fbjs/lib/warning":386}],257:[function(require,module,exports){
64861
64831
  /**
64862
64832
  * Copyright 2013-2015, Facebook, Inc.
64863
64833
  * All rights reserved.
@@ -65183,7 +65153,6 @@ ReactPerf.measureMethods(ReactBrowserEventEmitter, 'ReactBrowserEventEmitter', {
65183
65153
 
65184
65154
  module.exports = ReactBrowserEventEmitter;
65185
65155
  },{"./EventConstants":245,"./EventPluginHub":246,"./EventPluginRegistry":247,"./Object.assign":253,"./ReactEventEmitterMixin":288,"./ReactPerf":302,"./ViewportMetrics":332,"./isEventSupported":350}],258:[function(require,module,exports){
65186
- (function (process){
65187
65156
  /**
65188
65157
  * Copyright 2014-2015, Facebook, Inc.
65189
65158
  * All rights reserved.
@@ -65208,8 +65177,8 @@ var warning = require('fbjs/lib/warning');
65208
65177
  function instantiateChild(childInstances, child, name) {
65209
65178
  // We found a component instance.
65210
65179
  var keyUnique = childInstances[name] === undefined;
65211
- if (process.env.NODE_ENV !== 'production') {
65212
- process.env.NODE_ENV !== '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.', name) : undefined;
65180
+ if ("development" !== 'production') {
65181
+ "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.', name) : undefined;
65213
65182
  }
65214
65183
  if (child != null && keyUnique) {
65215
65184
  childInstances[name] = instantiateReactComponent(child, null);
@@ -65306,8 +65275,7 @@ var ReactChildReconciler = {
65306
65275
  };
65307
65276
 
65308
65277
  module.exports = ReactChildReconciler;
65309
- }).call(this,require('_process'))
65310
- },{"./ReactReconciler":307,"./instantiateReactComponent":349,"./shouldUpdateReactComponent":357,"./traverseAllChildren":358,"_process":111,"fbjs/lib/warning":386}],259:[function(require,module,exports){
65278
+ },{"./ReactReconciler":307,"./instantiateReactComponent":349,"./shouldUpdateReactComponent":357,"./traverseAllChildren":358,"fbjs/lib/warning":386}],259:[function(require,module,exports){
65311
65279
  /**
65312
65280
  * Copyright 2013-2015, Facebook, Inc.
65313
65281
  * All rights reserved.
@@ -65491,7 +65459,6 @@ var ReactChildren = {
65491
65459
 
65492
65460
  module.exports = ReactChildren;
65493
65461
  },{"./PooledClass":254,"./ReactElement":283,"./traverseAllChildren":358,"fbjs/lib/emptyFunction":367}],260:[function(require,module,exports){
65494
- (function (process){
65495
65462
  /**
65496
65463
  * Copyright 2013-2015, Facebook, Inc.
65497
65464
  * All rights reserved.
@@ -65551,7 +65518,7 @@ var warnedSetProps = false;
65551
65518
  function warnSetProps() {
65552
65519
  if (!warnedSetProps) {
65553
65520
  warnedSetProps = true;
65554
- process.env.NODE_ENV !== 'production' ? warning(false, 'setProps(...) and replaceProps(...) are deprecated. ' + 'Instead, call render again at the top level.') : undefined;
65521
+ "development" !== 'production' ? warning(false, 'setProps(...) and replaceProps(...) are deprecated. ' + 'Instead, call render again at the top level.') : undefined;
65555
65522
  }
65556
65523
  }
65557
65524
 
@@ -65821,13 +65788,13 @@ var RESERVED_SPEC_KEYS = {
65821
65788
  }
65822
65789
  },
65823
65790
  childContextTypes: function (Constructor, childContextTypes) {
65824
- if (process.env.NODE_ENV !== 'production') {
65791
+ if ("development" !== 'production') {
65825
65792
  validateTypeDef(Constructor, childContextTypes, ReactPropTypeLocations.childContext);
65826
65793
  }
65827
65794
  Constructor.childContextTypes = assign({}, Constructor.childContextTypes, childContextTypes);
65828
65795
  },
65829
65796
  contextTypes: function (Constructor, contextTypes) {
65830
- if (process.env.NODE_ENV !== 'production') {
65797
+ if ("development" !== 'production') {
65831
65798
  validateTypeDef(Constructor, contextTypes, ReactPropTypeLocations.context);
65832
65799
  }
65833
65800
  Constructor.contextTypes = assign({}, Constructor.contextTypes, contextTypes);
@@ -65844,7 +65811,7 @@ var RESERVED_SPEC_KEYS = {
65844
65811
  }
65845
65812
  },
65846
65813
  propTypes: function (Constructor, propTypes) {
65847
- if (process.env.NODE_ENV !== 'production') {
65814
+ if ("development" !== 'production') {
65848
65815
  validateTypeDef(Constructor, propTypes, ReactPropTypeLocations.prop);
65849
65816
  }
65850
65817
  Constructor.propTypes = assign({}, Constructor.propTypes, propTypes);
@@ -65860,7 +65827,7 @@ function validateTypeDef(Constructor, typeDef, location) {
65860
65827
  if (typeDef.hasOwnProperty(propName)) {
65861
65828
  // use a warning instead of an invariant so components
65862
65829
  // don't show up in prod but not in __DEV__
65863
- process.env.NODE_ENV !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : undefined;
65830
+ "development" !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : undefined;
65864
65831
  }
65865
65832
  }
65866
65833
  }
@@ -65870,12 +65837,12 @@ function validateMethodOverride(proto, name) {
65870
65837
 
65871
65838
  // Disallow overriding of base class methods unless explicitly allowed.
65872
65839
  if (ReactClassMixin.hasOwnProperty(name)) {
65873
- !(specPolicy === SpecPolicy.OVERRIDE_BASE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to override ' + '`%s` from your class specification. Ensure that your method names ' + 'do not overlap with React methods.', name) : invariant(false) : undefined;
65840
+ !(specPolicy === SpecPolicy.OVERRIDE_BASE) ? "development" !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to override ' + '`%s` from your class specification. Ensure that your method names ' + 'do not overlap with React methods.', name) : invariant(false) : undefined;
65874
65841
  }
65875
65842
 
65876
65843
  // Disallow defining methods more than once unless explicitly allowed.
65877
65844
  if (proto.hasOwnProperty(name)) {
65878
- !(specPolicy === SpecPolicy.DEFINE_MANY || specPolicy === SpecPolicy.DEFINE_MANY_MERGED) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to define ' + '`%s` on your component more than once. This conflict may be due ' + 'to a mixin.', name) : invariant(false) : undefined;
65845
+ !(specPolicy === SpecPolicy.DEFINE_MANY || specPolicy === SpecPolicy.DEFINE_MANY_MERGED) ? "development" !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to define ' + '`%s` on your component more than once. This conflict may be due ' + 'to a mixin.', name) : invariant(false) : undefined;
65879
65846
  }
65880
65847
  }
65881
65848
 
@@ -65888,8 +65855,8 @@ function mixSpecIntoComponent(Constructor, spec) {
65888
65855
  return;
65889
65856
  }
65890
65857
 
65891
- !(typeof spec !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\'re attempting to ' + 'use a component class as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;
65892
- !!ReactElement.isValidElement(spec) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\'re attempting to ' + 'use a component as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;
65858
+ !(typeof spec !== 'function') ? "development" !== 'production' ? invariant(false, 'ReactClass: You\'re attempting to ' + 'use a component class as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;
65859
+ !!ReactElement.isValidElement(spec) ? "development" !== 'production' ? invariant(false, 'ReactClass: You\'re attempting to ' + 'use a component as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;
65893
65860
 
65894
65861
  var proto = Constructor.prototype;
65895
65862
 
@@ -65936,7 +65903,7 @@ function mixSpecIntoComponent(Constructor, spec) {
65936
65903
  var specPolicy = ReactClassInterface[name];
65937
65904
 
65938
65905
  // These cases should already be caught by validateMethodOverride.
65939
- !(isReactClassMethod && (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s ' + 'when mixing in component specs.', specPolicy, name) : invariant(false) : undefined;
65906
+ !(isReactClassMethod && (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY)) ? "development" !== 'production' ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s ' + 'when mixing in component specs.', specPolicy, name) : invariant(false) : undefined;
65940
65907
 
65941
65908
  // For methods which are defined more than once, call the existing
65942
65909
  // methods before calling the new property, merging if appropriate.
@@ -65947,7 +65914,7 @@ function mixSpecIntoComponent(Constructor, spec) {
65947
65914
  }
65948
65915
  } else {
65949
65916
  proto[name] = property;
65950
- if (process.env.NODE_ENV !== 'production') {
65917
+ if ("development" !== 'production') {
65951
65918
  // Add verbose displayName to the function, which helps when looking
65952
65919
  // at profiling tools.
65953
65920
  if (typeof property === 'function' && spec.displayName) {
@@ -65971,10 +65938,10 @@ function mixStaticSpecIntoComponent(Constructor, statics) {
65971
65938
  }
65972
65939
 
65973
65940
  var isReserved = (name in RESERVED_SPEC_KEYS);
65974
- !!isReserved ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define a reserved ' + 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' + 'as an instance property instead; it will still be accessible on the ' + 'constructor.', name) : invariant(false) : undefined;
65941
+ !!isReserved ? "development" !== 'production' ? invariant(false, 'ReactClass: You are attempting to define a reserved ' + 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' + 'as an instance property instead; it will still be accessible on the ' + 'constructor.', name) : invariant(false) : undefined;
65975
65942
 
65976
65943
  var isInherited = (name in Constructor);
65977
- !!isInherited ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define ' + '`%s` on your component more than once. This conflict may be ' + 'due to a mixin.', name) : invariant(false) : undefined;
65944
+ !!isInherited ? "development" !== 'production' ? invariant(false, 'ReactClass: You are attempting to define ' + '`%s` on your component more than once. This conflict may be ' + 'due to a mixin.', name) : invariant(false) : undefined;
65978
65945
  Constructor[name] = property;
65979
65946
  }
65980
65947
  }
@@ -65987,11 +65954,11 @@ function mixStaticSpecIntoComponent(Constructor, statics) {
65987
65954
  * @return {object} one after it has been mutated to contain everything in two.
65988
65955
  */
65989
65956
  function mergeIntoWithNoDuplicateKeys(one, two) {
65990
- !(one && two && typeof one === 'object' && typeof two === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : invariant(false) : undefined;
65957
+ !(one && two && typeof one === 'object' && typeof two === 'object') ? "development" !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : invariant(false) : undefined;
65991
65958
 
65992
65959
  for (var key in two) {
65993
65960
  if (two.hasOwnProperty(key)) {
65994
- !(one[key] === undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): ' + 'Tried to merge two objects with the same key: `%s`. This conflict ' + 'may be due to a mixin; in particular, this may be caused by two ' + 'getInitialState() or getDefaultProps() methods returning objects ' + 'with clashing keys.', key) : invariant(false) : undefined;
65961
+ !(one[key] === undefined) ? "development" !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): ' + 'Tried to merge two objects with the same key: `%s`. This conflict ' + 'may be due to a mixin; in particular, this may be caused by two ' + 'getInitialState() or getDefaultProps() methods returning objects ' + 'with clashing keys.', key) : invariant(false) : undefined;
65995
65962
  one[key] = two[key];
65996
65963
  }
65997
65964
  }
@@ -66046,7 +66013,7 @@ function createChainedFunction(one, two) {
66046
66013
  */
66047
66014
  function bindAutoBindMethod(component, method) {
66048
66015
  var boundMethod = method.bind(component);
66049
- if (process.env.NODE_ENV !== 'production') {
66016
+ if ("development" !== 'production') {
66050
66017
  boundMethod.__reactBoundContext = component;
66051
66018
  boundMethod.__reactBoundMethod = method;
66052
66019
  boundMethod.__reactBoundArguments = null;
@@ -66062,9 +66029,9 @@ function bindAutoBindMethod(component, method) {
66062
66029
  // ignore the value of "this" that the user is trying to use, so
66063
66030
  // let's warn.
66064
66031
  if (newThis !== component && newThis !== null) {
66065
- process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : undefined;
66032
+ "development" !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : undefined;
66066
66033
  } else if (!args.length) {
66067
- process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : undefined;
66034
+ "development" !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : undefined;
66068
66035
  return boundMethod;
66069
66036
  }
66070
66037
  var reboundMethod = _bind.apply(boundMethod, arguments);
@@ -66129,7 +66096,7 @@ var ReactClassMixin = {
66129
66096
  * @deprecated
66130
66097
  */
66131
66098
  setProps: function (partialProps, callback) {
66132
- if (process.env.NODE_ENV !== 'production') {
66099
+ if ("development" !== 'production') {
66133
66100
  warnSetProps();
66134
66101
  }
66135
66102
  this.updater.enqueueSetProps(this, partialProps);
@@ -66148,7 +66115,7 @@ var ReactClassMixin = {
66148
66115
  * @deprecated
66149
66116
  */
66150
66117
  replaceProps: function (newProps, callback) {
66151
- if (process.env.NODE_ENV !== 'production') {
66118
+ if ("development" !== 'production') {
66152
66119
  warnSetProps();
66153
66120
  }
66154
66121
  this.updater.enqueueReplaceProps(this, newProps);
@@ -66180,8 +66147,8 @@ var ReactClass = {
66180
66147
  // This constructor is overridden by mocks. The argument is used
66181
66148
  // by mocks to assert on what gets mounted.
66182
66149
 
66183
- if (process.env.NODE_ENV !== 'production') {
66184
- process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : undefined;
66150
+ if ("development" !== 'production') {
66151
+ "development" !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : undefined;
66185
66152
  }
66186
66153
 
66187
66154
  // Wire up auto-binding
@@ -66200,7 +66167,7 @@ var ReactClass = {
66200
66167
  // getInitialState and componentWillMount methods for initialization.
66201
66168
 
66202
66169
  var initialState = this.getInitialState ? this.getInitialState() : null;
66203
- if (process.env.NODE_ENV !== 'production') {
66170
+ if ("development" !== 'production') {
66204
66171
  // We allow auto-mocks to proceed as if they're returning null.
66205
66172
  if (typeof initialState === 'undefined' && this.getInitialState._isMockFunction) {
66206
66173
  // This is probably bad practice. Consider warning here and
@@ -66208,7 +66175,7 @@ var ReactClass = {
66208
66175
  initialState = null;
66209
66176
  }
66210
66177
  }
66211
- !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : invariant(false) : undefined;
66178
+ !(typeof initialState === 'object' && !Array.isArray(initialState)) ? "development" !== 'production' ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : invariant(false) : undefined;
66212
66179
 
66213
66180
  this.state = initialState;
66214
66181
  };
@@ -66224,7 +66191,7 @@ var ReactClass = {
66224
66191
  Constructor.defaultProps = Constructor.getDefaultProps();
66225
66192
  }
66226
66193
 
66227
- if (process.env.NODE_ENV !== 'production') {
66194
+ if ("development" !== 'production') {
66228
66195
  // This is a tag to indicate that the use of these method names is ok,
66229
66196
  // since it's used with createClass. If it's not, then it's likely a
66230
66197
  // mistake so we'll warn you to use the static property, property
@@ -66237,11 +66204,11 @@ var ReactClass = {
66237
66204
  }
66238
66205
  }
66239
66206
 
66240
- !Constructor.prototype.render ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : invariant(false) : undefined;
66207
+ !Constructor.prototype.render ? "development" !== 'production' ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : invariant(false) : undefined;
66241
66208
 
66242
- if (process.env.NODE_ENV !== 'production') {
66243
- process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : undefined;
66244
- process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : undefined;
66209
+ if ("development" !== 'production') {
66210
+ "development" !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : undefined;
66211
+ "development" !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : undefined;
66245
66212
  }
66246
66213
 
66247
66214
  // Reduce time spent doing lookups by setting these on the prototype.
@@ -66263,9 +66230,7 @@ var ReactClass = {
66263
66230
  };
66264
66231
 
66265
66232
  module.exports = ReactClass;
66266
- }).call(this,require('_process'))
66267
- },{"./Object.assign":253,"./ReactComponent":261,"./ReactElement":283,"./ReactNoopUpdateQueue":300,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"_process":111,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/keyMirror":378,"fbjs/lib/keyOf":379,"fbjs/lib/warning":386}],261:[function(require,module,exports){
66268
- (function (process){
66233
+ },{"./Object.assign":253,"./ReactComponent":261,"./ReactElement":283,"./ReactNoopUpdateQueue":300,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/keyMirror":378,"fbjs/lib/keyOf":379,"fbjs/lib/warning":386}],261:[function(require,module,exports){
66269
66234
  /**
66270
66235
  * Copyright 2013-2015, Facebook, Inc.
66271
66236
  * All rights reserved.
@@ -66326,9 +66291,9 @@ ReactComponent.prototype.isReactComponent = {};
66326
66291
  * @protected
66327
66292
  */
66328
66293
  ReactComponent.prototype.setState = function (partialState, callback) {
66329
- !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.') : invariant(false) : undefined;
66330
- if (process.env.NODE_ENV !== 'production') {
66331
- process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : undefined;
66294
+ !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? "development" !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.') : invariant(false) : undefined;
66295
+ if ("development" !== 'production') {
66296
+ "development" !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : undefined;
66332
66297
  }
66333
66298
  this.updater.enqueueSetState(this, partialState);
66334
66299
  if (callback) {
@@ -66362,7 +66327,7 @@ ReactComponent.prototype.forceUpdate = function (callback) {
66362
66327
  * we would like to deprecate them, we're not going to move them over to this
66363
66328
  * modern base class. Instead, we define a getter that warns if it's accessed.
66364
66329
  */
66365
- if (process.env.NODE_ENV !== 'production') {
66330
+ if ("development" !== 'production') {
66366
66331
  var deprecatedAPIs = {
66367
66332
  getDOMNode: ['getDOMNode', 'Use ReactDOM.findDOMNode(component) instead.'],
66368
66333
  isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
@@ -66374,7 +66339,7 @@ if (process.env.NODE_ENV !== 'production') {
66374
66339
  if (canDefineProperty) {
66375
66340
  Object.defineProperty(ReactComponent.prototype, methodName, {
66376
66341
  get: function () {
66377
- process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : undefined;
66342
+ "development" !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : undefined;
66378
66343
  return undefined;
66379
66344
  }
66380
66345
  });
@@ -66388,8 +66353,7 @@ if (process.env.NODE_ENV !== 'production') {
66388
66353
  }
66389
66354
 
66390
66355
  module.exports = ReactComponent;
66391
- }).call(this,require('_process'))
66392
- },{"./ReactNoopUpdateQueue":300,"./canDefineProperty":335,"_process":111,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],262:[function(require,module,exports){
66356
+ },{"./ReactNoopUpdateQueue":300,"./canDefineProperty":335,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],262:[function(require,module,exports){
66393
66357
  /**
66394
66358
  * Copyright 2013-2015, Facebook, Inc.
66395
66359
  * All rights reserved.
@@ -66432,7 +66396,6 @@ var ReactComponentBrowserEnvironment = {
66432
66396
 
66433
66397
  module.exports = ReactComponentBrowserEnvironment;
66434
66398
  },{"./ReactDOMIDOperations":271,"./ReactMount":296}],263:[function(require,module,exports){
66435
- (function (process){
66436
66399
  /**
66437
66400
  * Copyright 2014-2015, Facebook, Inc.
66438
66401
  * All rights reserved.
@@ -66473,7 +66436,7 @@ var ReactComponentEnvironment = {
66473
66436
 
66474
66437
  injection: {
66475
66438
  injectEnvironment: function (environment) {
66476
- !!injected ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : invariant(false) : undefined;
66439
+ !!injected ? "development" !== 'production' ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : invariant(false) : undefined;
66477
66440
  ReactComponentEnvironment.unmountIDFromEnvironment = environment.unmountIDFromEnvironment;
66478
66441
  ReactComponentEnvironment.replaceNodeWithMarkupByID = environment.replaceNodeWithMarkupByID;
66479
66442
  ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;
@@ -66484,9 +66447,7 @@ var ReactComponentEnvironment = {
66484
66447
  };
66485
66448
 
66486
66449
  module.exports = ReactComponentEnvironment;
66487
- }).call(this,require('_process'))
66488
- },{"_process":111,"fbjs/lib/invariant":375}],264:[function(require,module,exports){
66489
- (function (process){
66450
+ },{"fbjs/lib/invariant":375}],264:[function(require,module,exports){
66490
66451
  /**
66491
66452
  * Copyright 2013-2015, Facebook, Inc.
66492
66453
  * All rights reserved.
@@ -66631,7 +66592,7 @@ var ReactCompositeComponentMixin = {
66631
66592
  var canInstantiate = ('prototype' in Component);
66632
66593
 
66633
66594
  if (canInstantiate) {
66634
- if (process.env.NODE_ENV !== 'production') {
66595
+ if ("development" !== 'production') {
66635
66596
  ReactCurrentOwner.current = this;
66636
66597
  try {
66637
66598
  inst = new Component(publicProps, publicContext, ReactUpdateQueue);
@@ -66648,15 +66609,15 @@ var ReactCompositeComponentMixin = {
66648
66609
  inst = new StatelessComponent(Component);
66649
66610
  }
66650
66611
 
66651
- if (process.env.NODE_ENV !== 'production') {
66612
+ if ("development" !== 'production') {
66652
66613
  // This will throw later in _renderValidatedComponent, but add an early
66653
66614
  // warning now to help debugging
66654
66615
  if (inst.render == null) {
66655
- process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`, returned ' + 'null/false from a stateless component, or tried to render an ' + 'element whose type is a function that isn\'t a React component.', Component.displayName || Component.name || 'Component') : undefined;
66616
+ "development" !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`, returned ' + 'null/false from a stateless component, or tried to render an ' + 'element whose type is a function that isn\'t a React component.', Component.displayName || Component.name || 'Component') : undefined;
66656
66617
  } else {
66657
66618
  // We support ES6 inheriting from React.Component, the module pattern,
66658
66619
  // and stateless components, but not ES6 classes that don't extend
66659
- process.env.NODE_ENV !== 'production' ? warning(Component.prototype && Component.prototype.isReactComponent || !canInstantiate || !(inst instanceof Component), '%s(...): React component classes must extend React.Component.', Component.displayName || Component.name || 'Component') : undefined;
66620
+ "development" !== 'production' ? warning(Component.prototype && Component.prototype.isReactComponent || !canInstantiate || !(inst instanceof Component), '%s(...): React component classes must extend React.Component.', Component.displayName || Component.name || 'Component') : undefined;
66660
66621
  }
66661
66622
  }
66662
66623
 
@@ -66672,24 +66633,24 @@ var ReactCompositeComponentMixin = {
66672
66633
  // Store a reference from the instance back to the internal representation
66673
66634
  ReactInstanceMap.set(inst, this);
66674
66635
 
66675
- if (process.env.NODE_ENV !== 'production') {
66636
+ if ("development" !== 'production') {
66676
66637
  // Since plain JS classes are defined without any special initialization
66677
66638
  // logic, we can not catch common errors early. Therefore, we have to
66678
66639
  // catch them here, at initialization time, instead.
66679
- process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : undefined;
66680
- process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : undefined;
66681
- process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : undefined;
66682
- process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : undefined;
66683
- process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : undefined;
66684
- process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : undefined;
66685
- process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : undefined;
66640
+ "development" !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : undefined;
66641
+ "development" !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : undefined;
66642
+ "development" !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : undefined;
66643
+ "development" !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : undefined;
66644
+ "development" !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : undefined;
66645
+ "development" !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : undefined;
66646
+ "development" !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : undefined;
66686
66647
  }
66687
66648
 
66688
66649
  var initialState = inst.state;
66689
66650
  if (initialState === undefined) {
66690
66651
  inst.state = initialState = null;
66691
66652
  }
66692
- !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
66653
+ !(typeof initialState === 'object' && !Array.isArray(initialState)) ? "development" !== 'production' ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
66693
66654
 
66694
66655
  this._pendingStateQueue = null;
66695
66656
  this._pendingReplaceState = false;
@@ -66795,7 +66756,7 @@ var ReactCompositeComponentMixin = {
66795
66756
  */
66796
66757
  _processContext: function (context) {
66797
66758
  var maskedContext = this._maskContext(context);
66798
- if (process.env.NODE_ENV !== 'production') {
66759
+ if ("development" !== 'production') {
66799
66760
  var Component = this._currentElement.type;
66800
66761
  if (Component.contextTypes) {
66801
66762
  this._checkPropTypes(Component.contextTypes, maskedContext, ReactPropTypeLocations.context);
@@ -66814,12 +66775,12 @@ var ReactCompositeComponentMixin = {
66814
66775
  var inst = this._instance;
66815
66776
  var childContext = inst.getChildContext && inst.getChildContext();
66816
66777
  if (childContext) {
66817
- !(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
66818
- if (process.env.NODE_ENV !== 'production') {
66778
+ !(typeof Component.childContextTypes === 'object') ? "development" !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
66779
+ if ("development" !== 'production') {
66819
66780
  this._checkPropTypes(Component.childContextTypes, childContext, ReactPropTypeLocations.childContext);
66820
66781
  }
66821
66782
  for (var name in childContext) {
66822
- !(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : invariant(false) : undefined;
66783
+ !(name in Component.childContextTypes) ? "development" !== 'production' ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : invariant(false) : undefined;
66823
66784
  }
66824
66785
  return assign({}, currentContext, childContext);
66825
66786
  }
@@ -66836,7 +66797,7 @@ var ReactCompositeComponentMixin = {
66836
66797
  * @private
66837
66798
  */
66838
66799
  _processProps: function (newProps) {
66839
- if (process.env.NODE_ENV !== 'production') {
66800
+ if ("development" !== 'production') {
66840
66801
  var Component = this._currentElement.type;
66841
66802
  if (Component.propTypes) {
66842
66803
  this._checkPropTypes(Component.propTypes, newProps, ReactPropTypeLocations.prop);
@@ -66863,7 +66824,7 @@ var ReactCompositeComponentMixin = {
66863
66824
  try {
66864
66825
  // This is intentionally an invariant that gets caught. It's the same
66865
66826
  // behavior as without this statement except with a better message.
66866
- !(typeof propTypes[propName] === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually ' + 'from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;
66827
+ !(typeof propTypes[propName] === 'function') ? "development" !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually ' + 'from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;
66867
66828
  error = propTypes[propName](props, propName, componentName, location);
66868
66829
  } catch (ex) {
66869
66830
  error = ex;
@@ -66876,9 +66837,9 @@ var ReactCompositeComponentMixin = {
66876
66837
 
66877
66838
  if (location === ReactPropTypeLocations.prop) {
66878
66839
  // Preface gives us something to blacklist in warning module
66879
- process.env.NODE_ENV !== 'production' ? warning(false, 'Failed Composite propType: %s%s', error.message, addendum) : undefined;
66840
+ "development" !== 'production' ? warning(false, 'Failed Composite propType: %s%s', error.message, addendum) : undefined;
66880
66841
  } else {
66881
- process.env.NODE_ENV !== 'production' ? warning(false, 'Failed Context Types: %s%s', error.message, addendum) : undefined;
66842
+ "development" !== 'production' ? warning(false, 'Failed Context Types: %s%s', error.message, addendum) : undefined;
66882
66843
  }
66883
66844
  }
66884
66845
  }
@@ -66952,8 +66913,8 @@ var ReactCompositeComponentMixin = {
66952
66913
 
66953
66914
  var shouldUpdate = this._pendingForceUpdate || !inst.shouldComponentUpdate || inst.shouldComponentUpdate(nextProps, nextState, nextContext);
66954
66915
 
66955
- if (process.env.NODE_ENV !== 'production') {
66956
- process.env.NODE_ENV !== 'production' ? warning(typeof shouldUpdate !== 'undefined', '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : undefined;
66916
+ if ("development" !== 'production') {
66917
+ "development" !== 'production' ? warning(typeof shouldUpdate !== 'undefined', '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : undefined;
66957
66918
  }
66958
66919
 
66959
66920
  if (shouldUpdate) {
@@ -67074,7 +67035,7 @@ var ReactCompositeComponentMixin = {
67074
67035
  _renderValidatedComponentWithoutOwnerOrContext: function () {
67075
67036
  var inst = this._instance;
67076
67037
  var renderedComponent = inst.render();
67077
- if (process.env.NODE_ENV !== 'production') {
67038
+ if ("development" !== 'production') {
67078
67039
  // We allow auto-mocks to proceed as if they're returning null.
67079
67040
  if (typeof renderedComponent === 'undefined' && inst.render._isMockFunction) {
67080
67041
  // This is probably bad practice. Consider warning here and
@@ -67099,7 +67060,7 @@ var ReactCompositeComponentMixin = {
67099
67060
  }
67100
67061
  !(
67101
67062
  // TODO: An `isValidNode` function would probably be more appropriate
67102
- renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.render(): A valid ReactComponent must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
67063
+ renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? "development" !== 'production' ? invariant(false, '%s.render(): A valid ReactComponent must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;
67103
67064
  return renderedComponent;
67104
67065
  },
67105
67066
 
@@ -67113,11 +67074,11 @@ var ReactCompositeComponentMixin = {
67113
67074
  */
67114
67075
  attachRef: function (ref, component) {
67115
67076
  var inst = this.getPublicInstance();
67116
- !(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : invariant(false) : undefined;
67077
+ !(inst != null) ? "development" !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : invariant(false) : undefined;
67117
67078
  var publicComponentInstance = component.getPublicInstance();
67118
- if (process.env.NODE_ENV !== 'production') {
67079
+ if ("development" !== 'production') {
67119
67080
  var componentName = component && component.getName ? component.getName() : 'a component';
67120
- process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null, 'Stateless function components cannot be given refs ' + '(See ref "%s" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : undefined;
67081
+ "development" !== 'production' ? warning(publicComponentInstance != null, 'Stateless function components cannot be given refs ' + '(See ref "%s" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : undefined;
67121
67082
  }
67122
67083
  var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;
67123
67084
  refs[ref] = publicComponentInstance;
@@ -67181,8 +67142,7 @@ var ReactCompositeComponent = {
67181
67142
  };
67182
67143
 
67183
67144
  module.exports = ReactCompositeComponent;
67184
- }).call(this,require('_process'))
67185
- },{"./Object.assign":253,"./ReactComponentEnvironment":263,"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceMap":293,"./ReactPerf":302,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"./ReactReconciler":307,"./ReactUpdateQueue":313,"./shouldUpdateReactComponent":357,"_process":111,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],265:[function(require,module,exports){
67145
+ },{"./Object.assign":253,"./ReactComponentEnvironment":263,"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceMap":293,"./ReactPerf":302,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"./ReactReconciler":307,"./ReactUpdateQueue":313,"./shouldUpdateReactComponent":357,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],265:[function(require,module,exports){
67186
67146
  /**
67187
67147
  * Copyright 2013-2015, Facebook, Inc.
67188
67148
  * All rights reserved.
@@ -67214,7 +67174,6 @@ var ReactCurrentOwner = {
67214
67174
 
67215
67175
  module.exports = ReactCurrentOwner;
67216
67176
  },{}],266:[function(require,module,exports){
67217
- (function (process){
67218
67177
  /**
67219
67178
  * Copyright 2013-2015, Facebook, Inc.
67220
67179
  * All rights reserved.
@@ -67272,7 +67231,7 @@ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVT
67272
67231
  });
67273
67232
  }
67274
67233
 
67275
- if (process.env.NODE_ENV !== 'production') {
67234
+ if ("development" !== 'production') {
67276
67235
  var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');
67277
67236
  if (ExecutionEnvironment.canUseDOM && window.top === window.self) {
67278
67237
 
@@ -67288,7 +67247,7 @@ if (process.env.NODE_ENV !== 'production') {
67288
67247
  // information on preventing compatibility mode
67289
67248
  var ieCompatibilityMode = document.documentMode && document.documentMode < 8;
67290
67249
 
67291
- process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv="X-UA-Compatible" content="IE=edge" />') : undefined;
67250
+ "development" !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv="X-UA-Compatible" content="IE=edge" />') : undefined;
67292
67251
 
67293
67252
  var expectedFeatures = [
67294
67253
  // shims
@@ -67307,8 +67266,7 @@ if (process.env.NODE_ENV !== 'production') {
67307
67266
  }
67308
67267
 
67309
67268
  module.exports = React;
67310
- }).call(this,require('_process'))
67311
- },{"./ReactCurrentOwner":265,"./ReactDOMTextComponent":277,"./ReactDefaultInjection":280,"./ReactInstanceHandles":292,"./ReactMount":296,"./ReactPerf":302,"./ReactReconciler":307,"./ReactUpdates":314,"./ReactVersion":315,"./findDOMNode":339,"./renderSubtreeIntoContainer":354,"_process":111,"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/warning":386}],267:[function(require,module,exports){
67269
+ },{"./ReactCurrentOwner":265,"./ReactDOMTextComponent":277,"./ReactDefaultInjection":280,"./ReactInstanceHandles":292,"./ReactMount":296,"./ReactPerf":302,"./ReactReconciler":307,"./ReactUpdates":314,"./ReactVersion":315,"./findDOMNode":339,"./renderSubtreeIntoContainer":354,"fbjs/lib/ExecutionEnvironment":361,"fbjs/lib/warning":386}],267:[function(require,module,exports){
67312
67270
  /**
67313
67271
  * Copyright 2013-2015, Facebook, Inc.
67314
67272
  * All rights reserved.
@@ -67360,7 +67318,6 @@ var ReactDOMButton = {
67360
67318
 
67361
67319
  module.exports = ReactDOMButton;
67362
67320
  },{}],268:[function(require,module,exports){
67363
- (function (process){
67364
67321
  /**
67365
67322
  * Copyright 2013-2015, Facebook, Inc.
67366
67323
  * All rights reserved.
@@ -67433,13 +67390,13 @@ function getDeclarationErrorAddendum(internalInstance) {
67433
67390
  }
67434
67391
 
67435
67392
  var legacyPropsDescriptor;
67436
- if (process.env.NODE_ENV !== 'production') {
67393
+ if ("development" !== 'production') {
67437
67394
  legacyPropsDescriptor = {
67438
67395
  props: {
67439
67396
  enumerable: false,
67440
67397
  get: function () {
67441
67398
  var component = this._reactInternalComponent;
67442
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .props of a DOM node; instead, ' + 'recreate the props as `render` did originally or read the DOM ' + 'properties/attributes directly from this node (e.g., ' + 'this.refs.box.className).%s', getDeclarationErrorAddendum(component)) : undefined;
67399
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .props of a DOM node; instead, ' + 'recreate the props as `render` did originally or read the DOM ' + 'properties/attributes directly from this node (e.g., ' + 'this.refs.box.className).%s', getDeclarationErrorAddendum(component)) : undefined;
67443
67400
  return component._currentElement.props;
67444
67401
  }
67445
67402
  }
@@ -67447,32 +67404,32 @@ if (process.env.NODE_ENV !== 'production') {
67447
67404
  }
67448
67405
 
67449
67406
  function legacyGetDOMNode() {
67450
- if (process.env.NODE_ENV !== 'production') {
67407
+ if ("development" !== 'production') {
67451
67408
  var component = this._reactInternalComponent;
67452
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .getDOMNode() of a DOM node; ' + 'instead, use the node directly.%s', getDeclarationErrorAddendum(component)) : undefined;
67409
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .getDOMNode() of a DOM node; ' + 'instead, use the node directly.%s', getDeclarationErrorAddendum(component)) : undefined;
67453
67410
  }
67454
67411
  return this;
67455
67412
  }
67456
67413
 
67457
67414
  function legacyIsMounted() {
67458
67415
  var component = this._reactInternalComponent;
67459
- if (process.env.NODE_ENV !== 'production') {
67460
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .isMounted() of a DOM node.%s', getDeclarationErrorAddendum(component)) : undefined;
67416
+ if ("development" !== 'production') {
67417
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .isMounted() of a DOM node.%s', getDeclarationErrorAddendum(component)) : undefined;
67461
67418
  }
67462
67419
  return !!component;
67463
67420
  }
67464
67421
 
67465
67422
  function legacySetStateEtc() {
67466
- if (process.env.NODE_ENV !== 'production') {
67423
+ if ("development" !== 'production') {
67467
67424
  var component = this._reactInternalComponent;
67468
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setState(), .replaceState(), or ' + '.forceUpdate() of a DOM node. This is a no-op.%s', getDeclarationErrorAddendum(component)) : undefined;
67425
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setState(), .replaceState(), or ' + '.forceUpdate() of a DOM node. This is a no-op.%s', getDeclarationErrorAddendum(component)) : undefined;
67469
67426
  }
67470
67427
  }
67471
67428
 
67472
67429
  function legacySetProps(partialProps, callback) {
67473
67430
  var component = this._reactInternalComponent;
67474
- if (process.env.NODE_ENV !== 'production') {
67475
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;
67431
+ if ("development" !== 'production') {
67432
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;
67476
67433
  }
67477
67434
  if (!component) {
67478
67435
  return;
@@ -67485,8 +67442,8 @@ function legacySetProps(partialProps, callback) {
67485
67442
 
67486
67443
  function legacyReplaceProps(partialProps, callback) {
67487
67444
  var component = this._reactInternalComponent;
67488
- if (process.env.NODE_ENV !== 'production') {
67489
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .replaceProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;
67445
+ if ("development" !== 'production') {
67446
+ "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .replaceProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;
67490
67447
  }
67491
67448
  if (!component) {
67492
67449
  return;
@@ -67546,7 +67503,7 @@ function checkAndWarnForMutatedStyle(style1, style2, component) {
67546
67503
 
67547
67504
  styleMutationWarning[hash] = true;
67548
67505
 
67549
- process.env.NODE_ENV !== 'production' ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : undefined;
67506
+ "development" !== 'production' ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : undefined;
67550
67507
  }
67551
67508
 
67552
67509
  /**
@@ -67558,27 +67515,27 @@ function assertValidProps(component, props) {
67558
67515
  return;
67559
67516
  }
67560
67517
  // Note the use of `==` which checks for null or undefined.
67561
- if (process.env.NODE_ENV !== 'production') {
67518
+ if ("development" !== 'production') {
67562
67519
  if (voidElementTags[component._tag]) {
67563
- process.env.NODE_ENV !== 'production' ? warning(props.children == null && props.dangerouslySetInnerHTML == null, '%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() + '.' : '') : undefined;
67520
+ "development" !== 'production' ? warning(props.children == null && props.dangerouslySetInnerHTML == null, '%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() + '.' : '') : undefined;
67564
67521
  }
67565
67522
  }
67566
67523
  if (props.dangerouslySetInnerHTML != null) {
67567
- !(props.children == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : invariant(false) : undefined;
67568
- !(typeof props.dangerouslySetInnerHTML === 'object' && HTML in props.dangerouslySetInnerHTML) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' + 'Please visit https://fb.me/react-invariant-dangerously-set-inner-html ' + 'for more information.') : invariant(false) : undefined;
67524
+ !(props.children == null) ? "development" !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : invariant(false) : undefined;
67525
+ !(typeof props.dangerouslySetInnerHTML === 'object' && HTML in props.dangerouslySetInnerHTML) ? "development" !== 'production' ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' + 'Please visit https://fb.me/react-invariant-dangerously-set-inner-html ' + 'for more information.') : invariant(false) : undefined;
67569
67526
  }
67570
- if (process.env.NODE_ENV !== 'production') {
67571
- process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : undefined;
67572
- process.env.NODE_ENV !== 'production' ? warning(!props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : undefined;
67527
+ if ("development" !== 'production') {
67528
+ "development" !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : undefined;
67529
+ "development" !== 'production' ? warning(!props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : undefined;
67573
67530
  }
67574
- !(props.style == null || typeof props.style === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'The `style` prop expects a mapping from style properties to values, ' + 'not a string. For example, style={{marginRight: spacing + \'em\'}} when ' + 'using JSX.%s', getDeclarationErrorAddendum(component)) : invariant(false) : undefined;
67531
+ !(props.style == null || typeof props.style === 'object') ? "development" !== 'production' ? invariant(false, 'The `style` prop expects a mapping from style properties to values, ' + 'not a string. For example, style={{marginRight: spacing + \'em\'}} when ' + 'using JSX.%s', getDeclarationErrorAddendum(component)) : invariant(false) : undefined;
67575
67532
  }
67576
67533
 
67577
67534
  function enqueuePutListener(id, registrationName, listener, transaction) {
67578
- if (process.env.NODE_ENV !== 'production') {
67535
+ if ("development" !== 'production') {
67579
67536
  // IE8 has no API for event capturing and the `onScroll` event doesn't
67580
67537
  // bubble.
67581
- process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\'t support the `onScroll` event') : undefined;
67538
+ "development" !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\'t support the `onScroll` event') : undefined;
67582
67539
  }
67583
67540
  var container = ReactMount.findReactContainerForID(id);
67584
67541
  if (container) {
@@ -67629,9 +67586,9 @@ function trapBubbledEventsLocal() {
67629
67586
  var inst = this;
67630
67587
  // If a component renders to null or if another component fatals and causes
67631
67588
  // the state of the tree to be corrupted, `node` here can be null.
67632
- !inst._rootNodeID ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Must be mounted to trap events') : invariant(false) : undefined;
67589
+ !inst._rootNodeID ? "development" !== 'production' ? invariant(false, 'Must be mounted to trap events') : invariant(false) : undefined;
67633
67590
  var node = ReactMount.getNode(inst._rootNodeID);
67634
- !node ? process.env.NODE_ENV !== 'production' ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : invariant(false) : undefined;
67591
+ !node ? "development" !== 'production' ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : invariant(false) : undefined;
67635
67592
 
67636
67593
  switch (inst._tag) {
67637
67594
  case 'iframe':
@@ -67711,7 +67668,7 @@ var hasOwnProperty = ({}).hasOwnProperty;
67711
67668
 
67712
67669
  function validateDangerousTag(tag) {
67713
67670
  if (!hasOwnProperty.call(validatedTagCache, tag)) {
67714
- !VALID_TAG_REGEX.test(tag) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : invariant(false) : undefined;
67671
+ !VALID_TAG_REGEX.test(tag) ? "development" !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : invariant(false) : undefined;
67715
67672
  validatedTagCache[tag] = true;
67716
67673
  }
67717
67674
  }
@@ -67752,7 +67709,7 @@ function ReactDOMComponent(tag) {
67752
67709
  this._wrapperState = null;
67753
67710
  this._topLevelWrapper = null;
67754
67711
  this._nodeWithLegacyProperties = null;
67755
- if (process.env.NODE_ENV !== 'production') {
67712
+ if ("development" !== 'production') {
67756
67713
  this._unprocessedContextDev = null;
67757
67714
  this._processedContextDev = null;
67758
67715
  }
@@ -67815,13 +67772,13 @@ ReactDOMComponent.Mixin = {
67815
67772
  }
67816
67773
 
67817
67774
  assertValidProps(this, props);
67818
- if (process.env.NODE_ENV !== 'production') {
67775
+ if ("development" !== 'production') {
67819
67776
  if (context[validateDOMNesting.ancestorInfoContextKey]) {
67820
67777
  validateDOMNesting(this._tag, this, context[validateDOMNesting.ancestorInfoContextKey]);
67821
67778
  }
67822
67779
  }
67823
67780
 
67824
- if (process.env.NODE_ENV !== 'production') {
67781
+ if ("development" !== 'production') {
67825
67782
  this._unprocessedContextDev = context;
67826
67783
  this._processedContextDev = processChildContextDev(context, this);
67827
67784
  context = this._processedContextDev;
@@ -67894,7 +67851,7 @@ ReactDOMComponent.Mixin = {
67894
67851
  } else {
67895
67852
  if (propKey === STYLE) {
67896
67853
  if (propValue) {
67897
- if (process.env.NODE_ENV !== 'production') {
67854
+ if ("development" !== 'production') {
67898
67855
  // See `_updateDOMProperties`. style block
67899
67856
  this._previousStyle = propValue;
67900
67857
  }
@@ -68047,7 +68004,7 @@ ReactDOMComponent.Mixin = {
68047
68004
  break;
68048
68005
  }
68049
68006
 
68050
- if (process.env.NODE_ENV !== 'production') {
68007
+ if ("development" !== 'production') {
68051
68008
  // If the context is reference-equal to the old one, pass down the same
68052
68009
  // processed object so the update bailout in ReactReconciler behaves
68053
68010
  // correctly (and identically in dev and prod). See #5005.
@@ -68129,7 +68086,7 @@ ReactDOMComponent.Mixin = {
68129
68086
  }
68130
68087
  if (propKey === STYLE) {
68131
68088
  if (nextProp) {
68132
- if (process.env.NODE_ENV !== 'production') {
68089
+ if ("development" !== 'production') {
68133
68090
  checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);
68134
68091
  this._previousStyle = nextProp;
68135
68092
  }
@@ -68267,7 +68224,7 @@ ReactDOMComponent.Mixin = {
68267
68224
  * take advantage of React's reconciliation for styling and <title>
68268
68225
  * management. So we just document it and throw in dangerous cases.
68269
68226
  */
68270
- !false ? process.env.NODE_ENV !== 'production' ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is ' + 'impossible to unmount some top-level components (eg <html>, ' + '<head>, and <body>) reliably and efficiently. To fix this, have a ' + 'single top-level component that never unmounts render these ' + 'elements.', this._tag) : invariant(false) : undefined;
68227
+ !false ? "development" !== 'production' ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is ' + 'impossible to unmount some top-level components (eg <html>, ' + '<head>, and <body>) reliably and efficiently. To fix this, have a ' + 'single top-level component that never unmounts render these ' + 'elements.', this._tag) : invariant(false) : undefined;
68271
68228
  break;
68272
68229
  }
68273
68230
 
@@ -68296,7 +68253,7 @@ ReactDOMComponent.Mixin = {
68296
68253
  node.setProps = legacySetProps;
68297
68254
  node.replaceProps = legacyReplaceProps;
68298
68255
 
68299
- if (process.env.NODE_ENV !== 'production') {
68256
+ if ("development" !== 'production') {
68300
68257
  if (canDefineProperty) {
68301
68258
  Object.defineProperties(node, legacyPropsDescriptor);
68302
68259
  } else {
@@ -68323,9 +68280,7 @@ ReactPerf.measureMethods(ReactDOMComponent, 'ReactDOMComponent', {
68323
68280
  assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);
68324
68281
 
68325
68282
  module.exports = ReactDOMComponent;
68326
- }).call(this,require('_process'))
68327
- },{"./AutoFocusUtils":232,"./CSSPropertyOperations":235,"./DOMProperty":240,"./DOMPropertyOperations":241,"./EventConstants":245,"./Object.assign":253,"./ReactBrowserEventEmitter":257,"./ReactComponentBrowserEnvironment":262,"./ReactDOMButton":267,"./ReactDOMInput":272,"./ReactDOMOption":273,"./ReactDOMSelect":274,"./ReactDOMTextarea":278,"./ReactMount":296,"./ReactMultiChild":297,"./ReactPerf":302,"./ReactUpdateQueue":313,"./canDefineProperty":335,"./escapeTextContentForBrowser":338,"./isEventSupported":350,"./setInnerHTML":355,"./setTextContent":356,"./validateDOMNesting":359,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/keyOf":379,"fbjs/lib/shallowEqual":384,"fbjs/lib/warning":386}],269:[function(require,module,exports){
68328
- (function (process){
68283
+ },{"./AutoFocusUtils":232,"./CSSPropertyOperations":235,"./DOMProperty":240,"./DOMPropertyOperations":241,"./EventConstants":245,"./Object.assign":253,"./ReactBrowserEventEmitter":257,"./ReactComponentBrowserEnvironment":262,"./ReactDOMButton":267,"./ReactDOMInput":272,"./ReactDOMOption":273,"./ReactDOMSelect":274,"./ReactDOMTextarea":278,"./ReactMount":296,"./ReactMultiChild":297,"./ReactPerf":302,"./ReactUpdateQueue":313,"./canDefineProperty":335,"./escapeTextContentForBrowser":338,"./isEventSupported":350,"./setInnerHTML":355,"./setTextContent":356,"./validateDOMNesting":359,"fbjs/lib/invariant":375,"fbjs/lib/keyOf":379,"fbjs/lib/shallowEqual":384,"fbjs/lib/warning":386}],269:[function(require,module,exports){
68329
68284
  /**
68330
68285
  * Copyright 2013-2015, Facebook, Inc.
68331
68286
  * All rights reserved.
@@ -68352,7 +68307,7 @@ var mapObject = require('fbjs/lib/mapObject');
68352
68307
  * @private
68353
68308
  */
68354
68309
  function createDOMFactory(tag) {
68355
- if (process.env.NODE_ENV !== 'production') {
68310
+ if ("development" !== 'production') {
68356
68311
  return ReactElementValidator.createFactory(tag);
68357
68312
  }
68358
68313
  return ReactElement.createFactory(tag);
@@ -68503,8 +68458,7 @@ var ReactDOMFactories = mapObject({
68503
68458
  }, createDOMFactory);
68504
68459
 
68505
68460
  module.exports = ReactDOMFactories;
68506
- }).call(this,require('_process'))
68507
- },{"./ReactElement":283,"./ReactElementValidator":284,"_process":111,"fbjs/lib/mapObject":380}],270:[function(require,module,exports){
68461
+ },{"./ReactElement":283,"./ReactElementValidator":284,"fbjs/lib/mapObject":380}],270:[function(require,module,exports){
68508
68462
  /**
68509
68463
  * Copyright 2013-2015, Facebook, Inc.
68510
68464
  * All rights reserved.
@@ -68524,7 +68478,6 @@ var ReactDOMFeatureFlags = {
68524
68478
 
68525
68479
  module.exports = ReactDOMFeatureFlags;
68526
68480
  },{}],271:[function(require,module,exports){
68527
- (function (process){
68528
68481
  /**
68529
68482
  * Copyright 2013-2015, Facebook, Inc.
68530
68483
  * All rights reserved.
@@ -68573,7 +68526,7 @@ var ReactDOMIDOperations = {
68573
68526
  */
68574
68527
  updatePropertyByID: function (id, name, value) {
68575
68528
  var node = ReactMount.getNode(id);
68576
- !!INVALID_PROPERTY_ERRORS.hasOwnProperty(name) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'updatePropertyByID(...): %s', INVALID_PROPERTY_ERRORS[name]) : invariant(false) : undefined;
68529
+ !!INVALID_PROPERTY_ERRORS.hasOwnProperty(name) ? "development" !== 'production' ? invariant(false, 'updatePropertyByID(...): %s', INVALID_PROPERTY_ERRORS[name]) : invariant(false) : undefined;
68577
68530
 
68578
68531
  // If we're updating to null or undefined, we should remove the property
68579
68532
  // from the DOM node instead of inadvertantly setting to a string. This
@@ -68619,9 +68572,7 @@ ReactPerf.measureMethods(ReactDOMIDOperations, 'ReactDOMIDOperations', {
68619
68572
  });
68620
68573
 
68621
68574
  module.exports = ReactDOMIDOperations;
68622
- }).call(this,require('_process'))
68623
- },{"./DOMChildrenOperations":239,"./DOMPropertyOperations":241,"./ReactMount":296,"./ReactPerf":302,"_process":111,"fbjs/lib/invariant":375}],272:[function(require,module,exports){
68624
- (function (process){
68575
+ },{"./DOMChildrenOperations":239,"./DOMPropertyOperations":241,"./ReactMount":296,"./ReactPerf":302,"fbjs/lib/invariant":375}],272:[function(require,module,exports){
68625
68576
  /**
68626
68577
  * Copyright 2013-2015, Facebook, Inc.
68627
68578
  * All rights reserved.
@@ -68685,7 +68636,7 @@ var ReactDOMInput = {
68685
68636
  },
68686
68637
 
68687
68638
  mountWrapper: function (inst, props) {
68688
- if (process.env.NODE_ENV !== 'production') {
68639
+ if ("development" !== 'production') {
68689
68640
  LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner);
68690
68641
  }
68691
68642
 
@@ -68761,9 +68712,9 @@ function _handleChange(event) {
68761
68712
  // That's probably okay; we don't support it just as we don't support
68762
68713
  // mixing React with non-React.
68763
68714
  var otherID = ReactMount.getID(otherNode);
68764
- !otherID ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the ' + 'same `name` is not supported.') : invariant(false) : undefined;
68715
+ !otherID ? "development" !== 'production' ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the ' + 'same `name` is not supported.') : invariant(false) : undefined;
68765
68716
  var otherInstance = instancesByReactID[otherID];
68766
- !otherInstance ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOMInput: Unknown radio button ID %s.', otherID) : invariant(false) : undefined;
68717
+ !otherInstance ? "development" !== 'production' ? invariant(false, 'ReactDOMInput: Unknown radio button ID %s.', otherID) : invariant(false) : undefined;
68767
68718
  // If this is a controlled radio button group, forcing the input that
68768
68719
  // was previously checked to update will cause it to be come re-checked
68769
68720
  // as appropriate.
@@ -68775,9 +68726,7 @@ function _handleChange(event) {
68775
68726
  }
68776
68727
 
68777
68728
  module.exports = ReactDOMInput;
68778
- }).call(this,require('_process'))
68779
- },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactDOMIDOperations":271,"./ReactMount":296,"./ReactUpdates":314,"_process":111,"fbjs/lib/invariant":375}],273:[function(require,module,exports){
68780
- (function (process){
68729
+ },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactDOMIDOperations":271,"./ReactMount":296,"./ReactUpdates":314,"fbjs/lib/invariant":375}],273:[function(require,module,exports){
68781
68730
  /**
68782
68731
  * Copyright 2013-2015, Facebook, Inc.
68783
68732
  * All rights reserved.
@@ -68805,8 +68754,8 @@ var valueContextKey = ReactDOMSelect.valueContextKey;
68805
68754
  var ReactDOMOption = {
68806
68755
  mountWrapper: function (inst, props, context) {
68807
68756
  // TODO (yungsters): Remove support for `selected` in <option>.
68808
- if (process.env.NODE_ENV !== 'production') {
68809
- process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : undefined;
68757
+ if ("development" !== 'production') {
68758
+ "development" !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : undefined;
68810
68759
  }
68811
68760
 
68812
68761
  // Look up whether this option is 'selected' via context
@@ -68853,7 +68802,7 @@ var ReactDOMOption = {
68853
68802
  if (typeof child === 'string' || typeof child === 'number') {
68854
68803
  content += child;
68855
68804
  } else {
68856
- process.env.NODE_ENV !== 'production' ? warning(false, 'Only strings and numbers are supported as <option> children.') : undefined;
68805
+ "development" !== 'production' ? warning(false, 'Only strings and numbers are supported as <option> children.') : undefined;
68857
68806
  }
68858
68807
  });
68859
68808
 
@@ -68867,9 +68816,7 @@ var ReactDOMOption = {
68867
68816
  };
68868
68817
 
68869
68818
  module.exports = ReactDOMOption;
68870
- }).call(this,require('_process'))
68871
- },{"./Object.assign":253,"./ReactChildren":259,"./ReactDOMSelect":274,"_process":111,"fbjs/lib/warning":386}],274:[function(require,module,exports){
68872
- (function (process){
68819
+ },{"./Object.assign":253,"./ReactChildren":259,"./ReactDOMSelect":274,"fbjs/lib/warning":386}],274:[function(require,module,exports){
68873
68820
  /**
68874
68821
  * Copyright 2013-2015, Facebook, Inc.
68875
68822
  * All rights reserved.
@@ -68931,9 +68878,9 @@ function checkSelectPropTypes(inst, props) {
68931
68878
  continue;
68932
68879
  }
68933
68880
  if (props.multiple) {
68934
- process.env.NODE_ENV !== 'production' ? warning(Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;
68881
+ "development" !== 'production' ? warning(Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;
68935
68882
  } else {
68936
- process.env.NODE_ENV !== 'production' ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;
68883
+ "development" !== 'production' ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;
68937
68884
  }
68938
68885
  }
68939
68886
  }
@@ -69001,7 +68948,7 @@ var ReactDOMSelect = {
69001
68948
  },
69002
68949
 
69003
68950
  mountWrapper: function (inst, props) {
69004
- if (process.env.NODE_ENV !== 'production') {
68951
+ if ("development" !== 'production') {
69005
68952
  checkSelectPropTypes(inst, props);
69006
68953
  }
69007
68954
 
@@ -69058,8 +69005,7 @@ function _handleChange(event) {
69058
69005
  }
69059
69006
 
69060
69007
  module.exports = ReactDOMSelect;
69061
- }).call(this,require('_process'))
69062
- },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactMount":296,"./ReactUpdates":314,"_process":111,"fbjs/lib/warning":386}],275:[function(require,module,exports){
69008
+ },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactMount":296,"./ReactUpdates":314,"fbjs/lib/warning":386}],275:[function(require,module,exports){
69063
69009
  /**
69064
69010
  * Copyright 2013-2015, Facebook, Inc.
69065
69011
  * All rights reserved.
@@ -69300,7 +69246,6 @@ var ReactDOMServer = {
69300
69246
 
69301
69247
  module.exports = ReactDOMServer;
69302
69248
  },{"./ReactDefaultInjection":280,"./ReactServerRendering":311,"./ReactVersion":315}],277:[function(require,module,exports){
69303
- (function (process){
69304
69249
  /**
69305
69250
  * Copyright 2013-2015, Facebook, Inc.
69306
69251
  * All rights reserved.
@@ -69370,7 +69315,7 @@ assign(ReactDOMTextComponent.prototype, {
69370
69315
  * @internal
69371
69316
  */
69372
69317
  mountComponent: function (rootID, transaction, context) {
69373
- if (process.env.NODE_ENV !== 'production') {
69318
+ if ("development" !== 'production') {
69374
69319
  if (context[validateDOMNesting.ancestorInfoContextKey]) {
69375
69320
  validateDOMNesting('span', null, context[validateDOMNesting.ancestorInfoContextKey]);
69376
69321
  }
@@ -69428,9 +69373,7 @@ assign(ReactDOMTextComponent.prototype, {
69428
69373
  });
69429
69374
 
69430
69375
  module.exports = ReactDOMTextComponent;
69431
- }).call(this,require('_process'))
69432
- },{"./DOMChildrenOperations":239,"./DOMPropertyOperations":241,"./Object.assign":253,"./ReactComponentBrowserEnvironment":262,"./ReactMount":296,"./escapeTextContentForBrowser":338,"./setTextContent":356,"./validateDOMNesting":359,"_process":111}],278:[function(require,module,exports){
69433
- (function (process){
69376
+ },{"./DOMChildrenOperations":239,"./DOMPropertyOperations":241,"./Object.assign":253,"./ReactComponentBrowserEnvironment":262,"./ReactMount":296,"./escapeTextContentForBrowser":338,"./setTextContent":356,"./validateDOMNesting":359}],278:[function(require,module,exports){
69434
69377
  /**
69435
69378
  * Copyright 2013-2015, Facebook, Inc.
69436
69379
  * All rights reserved.
@@ -69476,7 +69419,7 @@ function forceUpdateIfMounted() {
69476
69419
  */
69477
69420
  var ReactDOMTextarea = {
69478
69421
  getNativeProps: function (inst, props, context) {
69479
- !(props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : invariant(false) : undefined;
69422
+ !(props.dangerouslySetInnerHTML == null) ? "development" !== 'production' ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : invariant(false) : undefined;
69480
69423
 
69481
69424
  // Always set children to the same thing. In IE9, the selection range will
69482
69425
  // get reset if `textContent` is mutated.
@@ -69491,7 +69434,7 @@ var ReactDOMTextarea = {
69491
69434
  },
69492
69435
 
69493
69436
  mountWrapper: function (inst, props) {
69494
- if (process.env.NODE_ENV !== 'production') {
69437
+ if ("development" !== 'production') {
69495
69438
  LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner);
69496
69439
  }
69497
69440
 
@@ -69499,12 +69442,12 @@ var ReactDOMTextarea = {
69499
69442
  // TODO (yungsters): Remove support for children content in <textarea>.
69500
69443
  var children = props.children;
69501
69444
  if (children != null) {
69502
- if (process.env.NODE_ENV !== 'production') {
69503
- process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : undefined;
69445
+ if ("development" !== 'production') {
69446
+ "development" !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : undefined;
69504
69447
  }
69505
- !(defaultValue == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : invariant(false) : undefined;
69448
+ !(defaultValue == null) ? "development" !== 'production' ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : invariant(false) : undefined;
69506
69449
  if (Array.isArray(children)) {
69507
- !(children.length <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, '<textarea> can only have at most one child.') : invariant(false) : undefined;
69450
+ !(children.length <= 1) ? "development" !== 'production' ? invariant(false, '<textarea> can only have at most one child.') : invariant(false) : undefined;
69508
69451
  children = children[0];
69509
69452
  }
69510
69453
 
@@ -69544,8 +69487,7 @@ function _handleChange(event) {
69544
69487
  }
69545
69488
 
69546
69489
  module.exports = ReactDOMTextarea;
69547
- }).call(this,require('_process'))
69548
- },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactDOMIDOperations":271,"./ReactUpdates":314,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],279:[function(require,module,exports){
69490
+ },{"./LinkedValueUtils":252,"./Object.assign":253,"./ReactDOMIDOperations":271,"./ReactUpdates":314,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],279:[function(require,module,exports){
69549
69491
  /**
69550
69492
  * Copyright 2013-2015, Facebook, Inc.
69551
69493
  * All rights reserved.
@@ -69614,7 +69556,6 @@ var ReactDefaultBatchingStrategy = {
69614
69556
 
69615
69557
  module.exports = ReactDefaultBatchingStrategy;
69616
69558
  },{"./Object.assign":253,"./ReactUpdates":314,"./Transaction":331,"fbjs/lib/emptyFunction":367}],280:[function(require,module,exports){
69617
- (function (process){
69618
69559
  /**
69619
69560
  * Copyright 2013-2015, Facebook, Inc.
69620
69561
  * All rights reserved.
@@ -69700,7 +69641,7 @@ function inject() {
69700
69641
 
69701
69642
  ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);
69702
69643
 
69703
- if (process.env.NODE_ENV !== 'production') {
69644
+ if ("development" !== 'production') {
69704
69645
  var url = ExecutionEnvironment.canUseDOM && window.location.href || '';
69705
69646
  if (/[?&]react_perf\b/.test(url)) {
69706
69647
  var ReactDefaultPerf = require('./ReactDefaultPerf');
@@ -69712,8 +69653,7 @@ function inject() {
69712
69653
  module.exports = {
69713
69654
  inject: inject
69714
69655
  };
69715
- }).call(this,require('_process'))
69716
- },{"./BeforeInputEventPlugin":233,"./ChangeEventPlugin":237,"./ClientReactRootIndex":238,"./DefaultEventPluginOrder":243,"./EnterLeaveEventPlugin":244,"./HTMLDOMPropertyConfig":251,"./ReactBrowserComponentMixin":256,"./ReactComponentBrowserEnvironment":262,"./ReactDOMComponent":268,"./ReactDOMTextComponent":277,"./ReactDefaultBatchingStrategy":279,"./ReactDefaultPerf":281,"./ReactEventListener":289,"./ReactInjection":290,"./ReactInstanceHandles":292,"./ReactMount":296,"./ReactReconcileTransaction":306,"./SVGDOMPropertyConfig":316,"./SelectEventPlugin":317,"./ServerReactRootIndex":318,"./SimpleEventPlugin":319,"_process":111,"fbjs/lib/ExecutionEnvironment":361}],281:[function(require,module,exports){
69656
+ },{"./BeforeInputEventPlugin":233,"./ChangeEventPlugin":237,"./ClientReactRootIndex":238,"./DefaultEventPluginOrder":243,"./EnterLeaveEventPlugin":244,"./HTMLDOMPropertyConfig":251,"./ReactBrowserComponentMixin":256,"./ReactComponentBrowserEnvironment":262,"./ReactDOMComponent":268,"./ReactDOMTextComponent":277,"./ReactDefaultBatchingStrategy":279,"./ReactDefaultPerf":281,"./ReactEventListener":289,"./ReactInjection":290,"./ReactInstanceHandles":292,"./ReactMount":296,"./ReactReconcileTransaction":306,"./SVGDOMPropertyConfig":316,"./SelectEventPlugin":317,"./ServerReactRootIndex":318,"./SimpleEventPlugin":319,"fbjs/lib/ExecutionEnvironment":361}],281:[function(require,module,exports){
69717
69657
  /**
69718
69658
  * Copyright 2013-2015, Facebook, Inc.
69719
69659
  * All rights reserved.
@@ -70154,7 +70094,6 @@ var ReactDefaultPerfAnalysis = {
70154
70094
 
70155
70095
  module.exports = ReactDefaultPerfAnalysis;
70156
70096
  },{"./Object.assign":253}],283:[function(require,module,exports){
70157
- (function (process){
70158
70097
  /**
70159
70098
  * Copyright 2014-2015, Facebook, Inc.
70160
70099
  * All rights reserved.
@@ -70217,7 +70156,7 @@ var ReactElement = function (type, key, ref, self, source, owner, props) {
70217
70156
  _owner: owner
70218
70157
  };
70219
70158
 
70220
- if (process.env.NODE_ENV !== 'production') {
70159
+ if ("development" !== 'production') {
70221
70160
  // The validation flag is currently mutative. We put it on
70222
70161
  // an external backing store so that we can freeze the whole object.
70223
70162
  // This can be replaced with a WeakMap once they are implemented in
@@ -70332,7 +70271,7 @@ ReactElement.cloneAndReplaceKey = function (oldElement, newKey) {
70332
70271
  ReactElement.cloneAndReplaceProps = function (oldElement, newProps) {
70333
70272
  var newElement = ReactElement(oldElement.type, oldElement.key, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, newProps);
70334
70273
 
70335
- if (process.env.NODE_ENV !== 'production') {
70274
+ if ("development" !== 'production') {
70336
70275
  // If the key on the original is valid, then the clone is valid
70337
70276
  newElement._store.validated = oldElement._store.validated;
70338
70277
  }
@@ -70402,9 +70341,7 @@ ReactElement.isValidElement = function (object) {
70402
70341
  };
70403
70342
 
70404
70343
  module.exports = ReactElement;
70405
- }).call(this,require('_process'))
70406
- },{"./Object.assign":253,"./ReactCurrentOwner":265,"./canDefineProperty":335,"_process":111}],284:[function(require,module,exports){
70407
- (function (process){
70344
+ },{"./Object.assign":253,"./ReactCurrentOwner":265,"./canDefineProperty":335}],284:[function(require,module,exports){
70408
70345
  /**
70409
70346
  * Copyright 2014-2015, Facebook, Inc.
70410
70347
  * All rights reserved.
@@ -70475,7 +70412,7 @@ function validateExplicitKey(element, parentType) {
70475
70412
  // we already showed the warning
70476
70413
  return;
70477
70414
  }
70478
- process.env.NODE_ENV !== 'production' ? warning(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s%s', addenda.parentOrOwner || '', addenda.childOwner || '', addenda.url || '') : undefined;
70415
+ "development" !== 'production' ? warning(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s%s', addenda.parentOrOwner || '', addenda.childOwner || '', addenda.url || '') : undefined;
70479
70416
  }
70480
70417
 
70481
70418
  /**
@@ -70581,19 +70518,19 @@ function checkPropTypes(componentName, propTypes, props, location) {
70581
70518
  try {
70582
70519
  // This is intentionally an invariant that gets caught. It's the same
70583
70520
  // behavior as without this statement except with a better message.
70584
- !(typeof propTypes[propName] === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;
70521
+ !(typeof propTypes[propName] === 'function') ? "development" !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;
70585
70522
  error = propTypes[propName](props, propName, componentName, location);
70586
70523
  } catch (ex) {
70587
70524
  error = ex;
70588
70525
  }
70589
- process.env.NODE_ENV !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], propName, typeof error) : undefined;
70526
+ "development" !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], propName, typeof error) : undefined;
70590
70527
  if (error instanceof Error && !(error.message in loggedTypeFailures)) {
70591
70528
  // Only monitor this failure once because there tends to be a lot of the
70592
70529
  // same error.
70593
70530
  loggedTypeFailures[error.message] = true;
70594
70531
 
70595
70532
  var addendum = getDeclarationErrorAddendum();
70596
- process.env.NODE_ENV !== 'production' ? warning(false, 'Failed propType: %s%s', error.message, addendum) : undefined;
70533
+ "development" !== 'production' ? warning(false, 'Failed propType: %s%s', error.message, addendum) : undefined;
70597
70534
  }
70598
70535
  }
70599
70536
  }
@@ -70615,7 +70552,7 @@ function validatePropTypes(element) {
70615
70552
  checkPropTypes(name, componentClass.propTypes, element.props, ReactPropTypeLocations.prop);
70616
70553
  }
70617
70554
  if (typeof componentClass.getDefaultProps === 'function') {
70618
- process.env.NODE_ENV !== 'production' ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : undefined;
70555
+ "development" !== 'production' ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : undefined;
70619
70556
  }
70620
70557
  }
70621
70558
 
@@ -70625,7 +70562,7 @@ var ReactElementValidator = {
70625
70562
  var validType = typeof type === 'string' || typeof type === 'function';
70626
70563
  // We warn in this case but don't throw. We expect the element creation to
70627
70564
  // succeed and there will likely be errors in render.
70628
- process.env.NODE_ENV !== 'production' ? warning(validType, 'React.createElement: type should not be null, undefined, boolean, or ' + 'number. It should be a string (for DOM elements) or a ReactClass ' + '(for composite components).%s', getDeclarationErrorAddendum()) : undefined;
70565
+ "development" !== 'production' ? warning(validType, 'React.createElement: type should not be null, undefined, boolean, or ' + 'number. It should be a string (for DOM elements) or a ReactClass ' + '(for composite components).%s', getDeclarationErrorAddendum()) : undefined;
70629
70566
 
70630
70567
  var element = ReactElement.createElement.apply(this, arguments);
70631
70568
 
@@ -70656,12 +70593,12 @@ var ReactElementValidator = {
70656
70593
  // Legacy hook TODO: Warn if this is accessed
70657
70594
  validatedFactory.type = type;
70658
70595
 
70659
- if (process.env.NODE_ENV !== 'production') {
70596
+ if ("development" !== 'production') {
70660
70597
  if (canDefineProperty) {
70661
70598
  Object.defineProperty(validatedFactory, 'type', {
70662
70599
  enumerable: false,
70663
70600
  get: function () {
70664
- process.env.NODE_ENV !== 'production' ? warning(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.') : undefined;
70601
+ "development" !== 'production' ? warning(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.') : undefined;
70665
70602
  Object.defineProperty(this, 'type', {
70666
70603
  value: type
70667
70604
  });
@@ -70686,8 +70623,7 @@ var ReactElementValidator = {
70686
70623
  };
70687
70624
 
70688
70625
  module.exports = ReactElementValidator;
70689
- }).call(this,require('_process'))
70690
- },{"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"./canDefineProperty":335,"./getIteratorFn":346,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],285:[function(require,module,exports){
70626
+ },{"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactPropTypeLocationNames":303,"./ReactPropTypeLocations":304,"./canDefineProperty":335,"./getIteratorFn":346,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],285:[function(require,module,exports){
70691
70627
  /**
70692
70628
  * Copyright 2014-2015, Facebook, Inc.
70693
70629
  * All rights reserved.
@@ -70789,7 +70725,6 @@ var ReactEmptyComponentRegistry = {
70789
70725
 
70790
70726
  module.exports = ReactEmptyComponentRegistry;
70791
70727
  },{}],287:[function(require,module,exports){
70792
- (function (process){
70793
70728
  /**
70794
70729
  * Copyright 2013-2015, Facebook, Inc.
70795
70730
  * All rights reserved.
@@ -70847,7 +70782,7 @@ var ReactErrorUtils = {
70847
70782
  }
70848
70783
  };
70849
70784
 
70850
- if (process.env.NODE_ENV !== 'production') {
70785
+ if ("development" !== 'production') {
70851
70786
  /**
70852
70787
  * To help development we can get better devtools integration by simulating a
70853
70788
  * real browser event.
@@ -70867,8 +70802,7 @@ if (process.env.NODE_ENV !== 'production') {
70867
70802
  }
70868
70803
 
70869
70804
  module.exports = ReactErrorUtils;
70870
- }).call(this,require('_process'))
70871
- },{"_process":111}],288:[function(require,module,exports){
70805
+ },{}],288:[function(require,module,exports){
70872
70806
  /**
70873
70807
  * Copyright 2013-2015, Facebook, Inc.
70874
70808
  * All rights reserved.
@@ -71284,7 +71218,6 @@ var ReactInputSelection = {
71284
71218
 
71285
71219
  module.exports = ReactInputSelection;
71286
71220
  },{"./ReactDOMSelection":275,"fbjs/lib/containsNode":364,"fbjs/lib/focusNode":369,"fbjs/lib/getActiveElement":370}],292:[function(require,module,exports){
71287
- (function (process){
71288
71221
  /**
71289
71222
  * Copyright 2013-2015, Facebook, Inc.
71290
71223
  * All rights reserved.
@@ -71378,8 +71311,8 @@ function getParentID(id) {
71378
71311
  * @private
71379
71312
  */
71380
71313
  function getNextDescendantID(ancestorID, destinationID) {
71381
- !(isValidID(ancestorID) && isValidID(destinationID)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNextDescendantID(%s, %s): Received an invalid React DOM ID.', ancestorID, destinationID) : invariant(false) : undefined;
71382
- !isAncestorIDOf(ancestorID, destinationID) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNextDescendantID(...): React has made an invalid assumption about ' + 'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.', ancestorID, destinationID) : invariant(false) : undefined;
71314
+ !(isValidID(ancestorID) && isValidID(destinationID)) ? "development" !== 'production' ? invariant(false, 'getNextDescendantID(%s, %s): Received an invalid React DOM ID.', ancestorID, destinationID) : invariant(false) : undefined;
71315
+ !isAncestorIDOf(ancestorID, destinationID) ? "development" !== 'production' ? invariant(false, 'getNextDescendantID(...): React has made an invalid assumption about ' + 'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.', ancestorID, destinationID) : invariant(false) : undefined;
71383
71316
  if (ancestorID === destinationID) {
71384
71317
  return ancestorID;
71385
71318
  }
@@ -71421,7 +71354,7 @@ function getFirstCommonAncestorID(oneID, twoID) {
71421
71354
  }
71422
71355
  }
71423
71356
  var longestCommonID = oneID.substr(0, lastCommonMarkerIndex);
71424
- !isValidID(longestCommonID) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s', oneID, twoID, longestCommonID) : invariant(false) : undefined;
71357
+ !isValidID(longestCommonID) ? "development" !== 'production' ? invariant(false, 'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s', oneID, twoID, longestCommonID) : invariant(false) : undefined;
71425
71358
  return longestCommonID;
71426
71359
  }
71427
71360
 
@@ -71441,9 +71374,9 @@ function getFirstCommonAncestorID(oneID, twoID) {
71441
71374
  function traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) {
71442
71375
  start = start || '';
71443
71376
  stop = stop || '';
71444
- !(start !== stop) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.', start) : invariant(false) : undefined;
71377
+ !(start !== stop) ? "development" !== 'production' ? invariant(false, 'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.', start) : invariant(false) : undefined;
71445
71378
  var traverseUp = isAncestorIDOf(stop, start);
71446
- !(traverseUp || isAncestorIDOf(start, stop)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' + 'not have a parent path.', start, stop) : invariant(false) : undefined;
71379
+ !(traverseUp || isAncestorIDOf(start, stop)) ? "development" !== 'production' ? invariant(false, 'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' + 'not have a parent path.', start, stop) : invariant(false) : undefined;
71447
71380
  // Traverse from `start` to `stop` one depth at a time.
71448
71381
  var depth = 0;
71449
71382
  var traverse = traverseUp ? getParentID : getNextDescendantID;
@@ -71456,7 +71389,7 @@ function traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) {
71456
71389
  // Only break //after// visiting `stop`.
71457
71390
  break;
71458
71391
  }
71459
- !(depth++ < MAX_TREE_DEPTH) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' + 'traversing the React DOM ID tree. This may be due to malformed IDs: %s', start, stop, id) : invariant(false) : undefined;
71392
+ !(depth++ < MAX_TREE_DEPTH) ? "development" !== 'production' ? invariant(false, 'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' + 'traversing the React DOM ID tree. This may be due to malformed IDs: %s', start, stop, id) : invariant(false) : undefined;
71460
71393
  }
71461
71394
  }
71462
71395
 
@@ -71587,8 +71520,7 @@ var ReactInstanceHandles = {
71587
71520
  };
71588
71521
 
71589
71522
  module.exports = ReactInstanceHandles;
71590
- }).call(this,require('_process'))
71591
- },{"./ReactRootIndex":309,"_process":111,"fbjs/lib/invariant":375}],293:[function(require,module,exports){
71523
+ },{"./ReactRootIndex":309,"fbjs/lib/invariant":375}],293:[function(require,module,exports){
71592
71524
  /**
71593
71525
  * Copyright 2013-2015, Facebook, Inc.
71594
71526
  * All rights reserved.
@@ -71637,7 +71569,6 @@ var ReactInstanceMap = {
71637
71569
 
71638
71570
  module.exports = ReactInstanceMap;
71639
71571
  },{}],294:[function(require,module,exports){
71640
- (function (process){
71641
71572
  /**
71642
71573
  * Copyright 2013-2015, Facebook, Inc.
71643
71574
  * All rights reserved.
@@ -71667,7 +71598,7 @@ var createElement = ReactElement.createElement;
71667
71598
  var createFactory = ReactElement.createFactory;
71668
71599
  var cloneElement = ReactElement.cloneElement;
71669
71600
 
71670
- if (process.env.NODE_ENV !== 'production') {
71601
+ if ("development" !== 'production') {
71671
71602
  createElement = ReactElementValidator.createElement;
71672
71603
  createFactory = ReactElementValidator.createFactory;
71673
71604
  cloneElement = ReactElementValidator.cloneElement;
@@ -71712,8 +71643,7 @@ var React = {
71712
71643
  };
71713
71644
 
71714
71645
  module.exports = React;
71715
- }).call(this,require('_process'))
71716
- },{"./Object.assign":253,"./ReactChildren":259,"./ReactClass":260,"./ReactComponent":261,"./ReactDOMFactories":269,"./ReactElement":283,"./ReactElementValidator":284,"./ReactPropTypes":305,"./ReactVersion":315,"./onlyChild":352,"_process":111}],295:[function(require,module,exports){
71646
+ },{"./Object.assign":253,"./ReactChildren":259,"./ReactClass":260,"./ReactComponent":261,"./ReactDOMFactories":269,"./ReactElement":283,"./ReactElementValidator":284,"./ReactPropTypes":305,"./ReactVersion":315,"./onlyChild":352}],295:[function(require,module,exports){
71717
71647
  /**
71718
71648
  * Copyright 2013-2015, Facebook, Inc.
71719
71649
  * All rights reserved.
@@ -71760,7 +71690,6 @@ var ReactMarkupChecksum = {
71760
71690
 
71761
71691
  module.exports = ReactMarkupChecksum;
71762
71692
  },{"./adler32":334}],296:[function(require,module,exports){
71763
- (function (process){
71764
71693
  /**
71765
71694
  * Copyright 2013-2015, Facebook, Inc.
71766
71695
  * All rights reserved.
@@ -71813,7 +71742,7 @@ var instancesByReactRootID = {};
71813
71742
  /** Mapping from reactRootID to `container` nodes. */
71814
71743
  var containersByReactRootID = {};
71815
71744
 
71816
- if (process.env.NODE_ENV !== 'production') {
71745
+ if ("development" !== 'production') {
71817
71746
  /** __DEV__-only mapping from reactRootID to root elements. */
71818
71747
  var rootElementsByReactRootID = {};
71819
71748
  }
@@ -71879,7 +71808,7 @@ function getID(node) {
71879
71808
  if (nodeCache.hasOwnProperty(id)) {
71880
71809
  var cached = nodeCache[id];
71881
71810
  if (cached !== node) {
71882
- !!isValid(cached, id) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactMount: Two valid but unequal nodes with the same `%s`: %s', ATTR_NAME, id) : invariant(false) : undefined;
71811
+ !!isValid(cached, id) ? "development" !== 'production' ? invariant(false, 'ReactMount: Two valid but unequal nodes with the same `%s`: %s', ATTR_NAME, id) : invariant(false) : undefined;
71883
71812
 
71884
71813
  nodeCache[id] = node;
71885
71814
  }
@@ -71957,7 +71886,7 @@ function getNodeFromInstance(instance) {
71957
71886
  */
71958
71887
  function isValid(node, id) {
71959
71888
  if (node) {
71960
- !(internalGetID(node) === id) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactMount: Unexpected modification of `%s`', ATTR_NAME) : invariant(false) : undefined;
71889
+ !(internalGetID(node) === id) ? "development" !== 'production' ? invariant(false, 'ReactMount: Unexpected modification of `%s`', ATTR_NAME) : invariant(false) : undefined;
71961
71890
 
71962
71891
  var container = ReactMount.findReactContainerForID(id);
71963
71892
  if (container && containsNode(container, node)) {
@@ -72019,7 +71948,7 @@ function mountComponentIntoNode(componentInstance, rootID, container, transactio
72019
71948
  context[ownerDocumentContextKey] = container.ownerDocument;
72020
71949
  }
72021
71950
  }
72022
- if (process.env.NODE_ENV !== 'production') {
71951
+ if ("development" !== 'production') {
72023
71952
  if (context === emptyObject) {
72024
71953
  context = {};
72025
71954
  }
@@ -72131,7 +72060,7 @@ function findFirstReactDOMImpl(node) {
72131
72060
  */
72132
72061
  var TopLevelWrapper = function () {};
72133
72062
  TopLevelWrapper.prototype.isReactComponent = {};
72134
- if (process.env.NODE_ENV !== 'production') {
72063
+ if ("development" !== 'production') {
72135
72064
  TopLevelWrapper.displayName = 'TopLevelWrapper';
72136
72065
  }
72137
72066
  TopLevelWrapper.prototype.render = function () {
@@ -72191,7 +72120,7 @@ var ReactMount = {
72191
72120
  }
72192
72121
  });
72193
72122
 
72194
- if (process.env.NODE_ENV !== 'production') {
72123
+ if ("development" !== 'production') {
72195
72124
  // Record the root element in case it later gets transplanted.
72196
72125
  rootElementsByReactRootID[getReactRootID(container)] = getReactRootElementInContainer(container);
72197
72126
  }
@@ -72207,7 +72136,7 @@ var ReactMount = {
72207
72136
  * @return {string} reactRoot ID prefix
72208
72137
  */
72209
72138
  _registerComponent: function (nextComponent, container) {
72210
- !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : invariant(false) : undefined;
72139
+ !(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.') : invariant(false) : undefined;
72211
72140
 
72212
72141
  ReactBrowserEventEmitter.ensureScrollValueMonitoring();
72213
72142
 
@@ -72227,7 +72156,7 @@ var ReactMount = {
72227
72156
  // Various parts of our code (such as ReactCompositeComponent's
72228
72157
  // _renderValidatedComponent) assume that calls to render aren't nested;
72229
72158
  // verify that that's the case.
72230
- process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;
72159
+ "development" !== 'production' ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;
72231
72160
 
72232
72161
  var componentInstance = instantiateReactComponent(nextElement, null);
72233
72162
  var reactRootID = ReactMount._registerComponent(componentInstance, container);
@@ -72238,7 +72167,7 @@ var ReactMount = {
72238
72167
 
72239
72168
  ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, reactRootID, container, shouldReuseMarkup, context);
72240
72169
 
72241
- if (process.env.NODE_ENV !== 'production') {
72170
+ if ("development" !== 'production') {
72242
72171
  // Record the root element in case it later gets transplanted.
72243
72172
  rootElementsByReactRootID[reactRootID] = getReactRootElementInContainer(container);
72244
72173
  }
@@ -72260,16 +72189,16 @@ var ReactMount = {
72260
72189
  * @return {ReactComponent} Component instance rendered in `container`.
72261
72190
  */
72262
72191
  renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {
72263
- !(parentComponent != null && parentComponent._reactInternalInstance != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : invariant(false) : undefined;
72192
+ !(parentComponent != null && parentComponent._reactInternalInstance != null) ? "development" !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : invariant(false) : undefined;
72264
72193
  return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);
72265
72194
  },
72266
72195
 
72267
72196
  _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {
72268
- !ReactElement.isValidElement(nextElement) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing an element string, make sure to instantiate ' + 'it by passing it to React.createElement.' : typeof nextElement === 'function' ? ' Instead of passing a component class, make sure to instantiate ' + 'it by passing it to React.createElement.' :
72197
+ !ReactElement.isValidElement(nextElement) ? "development" !== 'production' ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing an element string, make sure to instantiate ' + 'it by passing it to React.createElement.' : typeof nextElement === 'function' ? ' Instead of passing a component class, make sure to instantiate ' + 'it by passing it to React.createElement.' :
72269
72198
  // Check if it quacks like an element
72270
72199
  nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : invariant(false) : undefined;
72271
72200
 
72272
- process.env.NODE_ENV !== 'production' ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : undefined;
72201
+ "development" !== 'production' ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : undefined;
72273
72202
 
72274
72203
  var nextWrappedElement = new ReactElement(TopLevelWrapper, null, null, null, null, null, nextElement);
72275
72204
 
@@ -72294,14 +72223,14 @@ var ReactMount = {
72294
72223
  var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);
72295
72224
  var containerHasNonRootReactChild = hasNonRootReactChild(container);
72296
72225
 
72297
- if (process.env.NODE_ENV !== 'production') {
72298
- process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : undefined;
72226
+ if ("development" !== 'production') {
72227
+ "development" !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : undefined;
72299
72228
 
72300
72229
  if (!containerHasReactMarkup || reactRootElement.nextSibling) {
72301
72230
  var rootElementSibling = reactRootElement;
72302
72231
  while (rootElementSibling) {
72303
72232
  if (internalGetID(rootElementSibling)) {
72304
- process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : undefined;
72233
+ "development" !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : undefined;
72305
72234
  break;
72306
72235
  }
72307
72236
  rootElementSibling = rootElementSibling.nextSibling;
@@ -72367,9 +72296,9 @@ var ReactMount = {
72367
72296
  // _renderValidatedComponent) assume that calls to render aren't nested;
72368
72297
  // verify that that's the case. (Strictly speaking, unmounting won't cause a
72369
72298
  // render but we still don't expect to be in a render call here.)
72370
- process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;
72299
+ "development" !== 'production' ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;
72371
72300
 
72372
- !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : invariant(false) : undefined;
72301
+ !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? "development" !== 'production' ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : invariant(false) : undefined;
72373
72302
 
72374
72303
  var reactRootID = getReactRootID(container);
72375
72304
  var component = instancesByReactRootID[reactRootID];
@@ -72382,8 +72311,8 @@ var ReactMount = {
72382
72311
  var containerID = internalGetID(container);
72383
72312
  var isContainerReactRoot = containerID && containerID === ReactInstanceHandles.getReactRootIDFromNodeID(containerID);
72384
72313
 
72385
- if (process.env.NODE_ENV !== 'production') {
72386
- process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : undefined;
72314
+ if ("development" !== 'production') {
72315
+ "development" !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : undefined;
72387
72316
  }
72388
72317
 
72389
72318
  return false;
@@ -72391,7 +72320,7 @@ var ReactMount = {
72391
72320
  ReactUpdates.batchedUpdates(unmountComponentFromNode, component, container);
72392
72321
  delete instancesByReactRootID[reactRootID];
72393
72322
  delete containersByReactRootID[reactRootID];
72394
- if (process.env.NODE_ENV !== 'production') {
72323
+ if ("development" !== 'production') {
72395
72324
  delete rootElementsByReactRootID[reactRootID];
72396
72325
  }
72397
72326
  return true;
@@ -72408,10 +72337,10 @@ var ReactMount = {
72408
72337
  var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(id);
72409
72338
  var container = containersByReactRootID[reactRootID];
72410
72339
 
72411
- if (process.env.NODE_ENV !== 'production') {
72340
+ if ("development" !== 'production') {
72412
72341
  var rootElement = rootElementsByReactRootID[reactRootID];
72413
72342
  if (rootElement && rootElement.parentNode !== container) {
72414
- process.env.NODE_ENV !== 'production' ? warning(
72343
+ "development" !== 'production' ? warning(
72415
72344
  // Call internalGetID here because getID calls isValid which calls
72416
72345
  // findReactContainerForID (this function).
72417
72346
  internalGetID(rootElement) === reactRootID, 'ReactMount: Root element ID differed from reactRootID.') : undefined;
@@ -72423,7 +72352,7 @@ var ReactMount = {
72423
72352
  // warning is when the container is empty.
72424
72353
  rootElementsByReactRootID[reactRootID] = containerChild;
72425
72354
  } else {
72426
- process.env.NODE_ENV !== 'production' ? warning(false, 'ReactMount: Root element has been removed from its original ' + 'container. New container: %s', rootElement.parentNode) : undefined;
72355
+ "development" !== 'production' ? warning(false, 'ReactMount: Root element has been removed from its original ' + 'container. New container: %s', rootElement.parentNode) : undefined;
72427
72356
  }
72428
72357
  }
72429
72358
  }
@@ -72470,9 +72399,9 @@ var ReactMount = {
72470
72399
 
72471
72400
  var deepestAncestor = findDeepestCachedAncestor(targetID) || ancestorNode;
72472
72401
 
72473
- if (process.env.NODE_ENV !== 'production') {
72402
+ if ("development" !== 'production') {
72474
72403
  // This will throw on the next line; give an early warning
72475
- process.env.NODE_ENV !== 'production' ? warning(deepestAncestor != null, 'React can\'t find the root component node for data-reactid value ' + '`%s`. If you\'re seeing this message, it probably means that ' + 'you\'ve loaded two copies of React on the page. At this time, only ' + 'a single copy of React can be loaded at a time.', targetID) : undefined;
72404
+ "development" !== 'production' ? warning(deepestAncestor != null, 'React can\'t find the root component node for data-reactid value ' + '`%s`. If you\'re seeing this message, it probably means that ' + 'you\'ve loaded two copies of React on the page. At this time, only ' + 'a single copy of React can be loaded at a time.', targetID) : undefined;
72476
72405
  }
72477
72406
 
72478
72407
  firstChildren[0] = deepestAncestor.firstChild;
@@ -72524,11 +72453,11 @@ var ReactMount = {
72524
72453
 
72525
72454
  firstChildren.length = 0;
72526
72455
 
72527
- !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'findComponentRoot(..., %s): Unable to find element. This probably ' + 'means the DOM was unexpectedly mutated (e.g., by the browser), ' + 'usually due to forgetting a <tbody> when using tables, nesting tags ' + 'like <form>, <p>, or <a>, or using non-SVG elements in an <svg> ' + 'parent. ' + 'Try inspecting the child nodes of the element with React ID `%s`.', targetID, ReactMount.getID(ancestorNode)) : invariant(false) : undefined;
72456
+ !false ? "development" !== 'production' ? invariant(false, 'findComponentRoot(..., %s): Unable to find element. This probably ' + 'means the DOM was unexpectedly mutated (e.g., by the browser), ' + 'usually due to forgetting a <tbody> when using tables, nesting tags ' + 'like <form>, <p>, or <a>, or using non-SVG elements in an <svg> ' + 'parent. ' + 'Try inspecting the child nodes of the element with React ID `%s`.', targetID, ReactMount.getID(ancestorNode)) : invariant(false) : undefined;
72528
72457
  },
72529
72458
 
72530
72459
  _mountImageIntoNode: function (markup, container, shouldReuseMarkup, transaction) {
72531
- !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : invariant(false) : undefined;
72460
+ !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? "development" !== 'production' ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : invariant(false) : undefined;
72532
72461
 
72533
72462
  if (shouldReuseMarkup) {
72534
72463
  var rootElement = getReactRootElementInContainer(container);
@@ -72542,7 +72471,7 @@ var ReactMount = {
72542
72471
  rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);
72543
72472
 
72544
72473
  var normalizedMarkup = markup;
72545
- if (process.env.NODE_ENV !== 'production') {
72474
+ if ("development" !== 'production') {
72546
72475
  // because rootMarkup is retrieved from the DOM, various normalizations
72547
72476
  // will have occurred which will not be present in `markup`. Here,
72548
72477
  // insert markup into a <div> or <iframe> depending on the container
@@ -72564,15 +72493,15 @@ var ReactMount = {
72564
72493
  var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup);
72565
72494
  var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20);
72566
72495
 
72567
- !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\'re trying to render a component to the document using ' + 'server rendering but the checksum was invalid. This usually ' + 'means you rendered a different component type or props on ' + 'the client from the one on the server, or your render() ' + 'methods are impure. React cannot handle this case due to ' + 'cross-browser quirks by rendering at the document root. You ' + 'should look for environment dependent code in your components ' + 'and ensure the props are the same client and server side:\n%s', difference) : invariant(false) : undefined;
72496
+ !(container.nodeType !== DOC_NODE_TYPE) ? "development" !== 'production' ? invariant(false, 'You\'re trying to render a component to the document using ' + 'server rendering but the checksum was invalid. This usually ' + 'means you rendered a different component type or props on ' + 'the client from the one on the server, or your render() ' + 'methods are impure. React cannot handle this case due to ' + 'cross-browser quirks by rendering at the document root. You ' + 'should look for environment dependent code in your components ' + 'and ensure the props are the same client and server side:\n%s', difference) : invariant(false) : undefined;
72568
72497
 
72569
- if (process.env.NODE_ENV !== 'production') {
72570
- process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\n%s', difference) : undefined;
72498
+ if ("development" !== 'production') {
72499
+ "development" !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\n%s', difference) : undefined;
72571
72500
  }
72572
72501
  }
72573
72502
  }
72574
72503
 
72575
- !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\'re trying to render a component to the document but ' + 'you didn\'t use server rendering. We can\'t do this ' + 'without using server rendering due to cross-browser quirks. ' + 'See ReactDOMServer.renderToString() for server rendering.') : invariant(false) : undefined;
72504
+ !(container.nodeType !== DOC_NODE_TYPE) ? "development" !== 'production' ? invariant(false, 'You\'re trying to render a component to the document but ' + 'you didn\'t use server rendering. We can\'t do this ' + 'without using server rendering due to cross-browser quirks. ' + 'See ReactDOMServer.renderToString() for server rendering.') : invariant(false) : undefined;
72576
72505
 
72577
72506
  if (transaction.useCreateElement) {
72578
72507
  while (container.lastChild) {
@@ -72611,9 +72540,7 @@ ReactPerf.measureMethods(ReactMount, 'ReactMount', {
72611
72540
  });
72612
72541
 
72613
72542
  module.exports = ReactMount;
72614
- }).call(this,require('_process'))
72615
- },{"./DOMProperty":240,"./Object.assign":253,"./ReactBrowserEventEmitter":257,"./ReactCurrentOwner":265,"./ReactDOMFeatureFlags":270,"./ReactElement":283,"./ReactEmptyComponentRegistry":286,"./ReactInstanceHandles":292,"./ReactInstanceMap":293,"./ReactMarkupChecksum":295,"./ReactPerf":302,"./ReactReconciler":307,"./ReactUpdateQueue":313,"./ReactUpdates":314,"./instantiateReactComponent":349,"./setInnerHTML":355,"./shouldUpdateReactComponent":357,"./validateDOMNesting":359,"_process":111,"fbjs/lib/containsNode":364,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],297:[function(require,module,exports){
72616
- (function (process){
72543
+ },{"./DOMProperty":240,"./Object.assign":253,"./ReactBrowserEventEmitter":257,"./ReactCurrentOwner":265,"./ReactDOMFeatureFlags":270,"./ReactElement":283,"./ReactEmptyComponentRegistry":286,"./ReactInstanceHandles":292,"./ReactInstanceMap":293,"./ReactMarkupChecksum":295,"./ReactPerf":302,"./ReactReconciler":307,"./ReactUpdateQueue":313,"./ReactUpdates":314,"./instantiateReactComponent":349,"./setInnerHTML":355,"./shouldUpdateReactComponent":357,"./validateDOMNesting":359,"fbjs/lib/containsNode":364,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],297:[function(require,module,exports){
72617
72544
  /**
72618
72545
  * Copyright 2013-2015, Facebook, Inc.
72619
72546
  * All rights reserved.
@@ -72806,7 +72733,7 @@ var ReactMultiChild = {
72806
72733
  Mixin: {
72807
72734
 
72808
72735
  _reconcilerInstantiateChildren: function (nestedChildren, transaction, context) {
72809
- if (process.env.NODE_ENV !== 'production') {
72736
+ if ("development" !== 'production') {
72810
72737
  if (this._currentElement) {
72811
72738
  try {
72812
72739
  ReactCurrentOwner.current = this._currentElement._owner;
@@ -72821,7 +72748,7 @@ var ReactMultiChild = {
72821
72748
 
72822
72749
  _reconcilerUpdateChildren: function (prevChildren, nextNestedChildrenElements, transaction, context) {
72823
72750
  var nextChildren;
72824
- if (process.env.NODE_ENV !== 'production') {
72751
+ if ("development" !== 'production') {
72825
72752
  if (this._currentElement) {
72826
72753
  try {
72827
72754
  ReactCurrentOwner.current = this._currentElement._owner;
@@ -73110,8 +73037,7 @@ var ReactMultiChild = {
73110
73037
  };
73111
73038
 
73112
73039
  module.exports = ReactMultiChild;
73113
- }).call(this,require('_process'))
73114
- },{"./ReactChildReconciler":258,"./ReactComponentEnvironment":263,"./ReactCurrentOwner":265,"./ReactMultiChildUpdateTypes":298,"./ReactReconciler":307,"./flattenChildren":340,"_process":111}],298:[function(require,module,exports){
73040
+ },{"./ReactChildReconciler":258,"./ReactComponentEnvironment":263,"./ReactCurrentOwner":265,"./ReactMultiChildUpdateTypes":298,"./ReactReconciler":307,"./flattenChildren":340}],298:[function(require,module,exports){
73115
73041
  /**
73116
73042
  * Copyright 2013-2015, Facebook, Inc.
73117
73043
  * All rights reserved.
@@ -73145,7 +73071,6 @@ var ReactMultiChildUpdateTypes = keyMirror({
73145
73071
 
73146
73072
  module.exports = ReactMultiChildUpdateTypes;
73147
73073
  },{"fbjs/lib/keyMirror":378}],299:[function(require,module,exports){
73148
- (function (process){
73149
73074
  /**
73150
73075
  * Copyright 2014-2015, Facebook, Inc.
73151
73076
  * All rights reserved.
@@ -73211,7 +73136,7 @@ function getComponentClassForElement(element) {
73211
73136
  * @return {function} The internal class constructor function.
73212
73137
  */
73213
73138
  function createInternalComponent(element) {
73214
- !genericComponentClass ? process.env.NODE_ENV !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : invariant(false) : undefined;
73139
+ !genericComponentClass ? "development" !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : invariant(false) : undefined;
73215
73140
  return new genericComponentClass(element.type, element.props);
73216
73141
  }
73217
73142
 
@@ -73240,9 +73165,7 @@ var ReactNativeComponent = {
73240
73165
  };
73241
73166
 
73242
73167
  module.exports = ReactNativeComponent;
73243
- }).call(this,require('_process'))
73244
- },{"./Object.assign":253,"_process":111,"fbjs/lib/invariant":375}],300:[function(require,module,exports){
73245
- (function (process){
73168
+ },{"./Object.assign":253,"fbjs/lib/invariant":375}],300:[function(require,module,exports){
73246
73169
  /**
73247
73170
  * Copyright 2015, Facebook, Inc.
73248
73171
  * All rights reserved.
@@ -73259,8 +73182,8 @@ module.exports = ReactNativeComponent;
73259
73182
  var warning = require('fbjs/lib/warning');
73260
73183
 
73261
73184
  function warnTDZ(publicInstance, callerName) {
73262
- if (process.env.NODE_ENV !== 'production') {
73263
- process.env.NODE_ENV !== '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 || '') : undefined;
73185
+ if ("development" !== 'production') {
73186
+ "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 || '') : undefined;
73264
73187
  }
73265
73188
  }
73266
73189
 
@@ -73361,9 +73284,7 @@ var ReactNoopUpdateQueue = {
73361
73284
  };
73362
73285
 
73363
73286
  module.exports = ReactNoopUpdateQueue;
73364
- }).call(this,require('_process'))
73365
- },{"_process":111,"fbjs/lib/warning":386}],301:[function(require,module,exports){
73366
- (function (process){
73287
+ },{"fbjs/lib/warning":386}],301:[function(require,module,exports){
73367
73288
  /**
73368
73289
  * Copyright 2013-2015, Facebook, Inc.
73369
73290
  * All rights reserved.
@@ -73430,7 +73351,7 @@ var ReactOwner = {
73430
73351
  * @internal
73431
73352
  */
73432
73353
  addComponentAsRefTo: function (component, ref, owner) {
73433
- !ReactOwner.isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might ' + 'be adding a ref to a component that was not created inside a component\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;
73354
+ !ReactOwner.isValidOwner(owner) ? "development" !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might ' + 'be adding a ref to a component that was not created inside a component\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;
73434
73355
  owner.attachRef(ref, component);
73435
73356
  },
73436
73357
 
@@ -73444,7 +73365,7 @@ var ReactOwner = {
73444
73365
  * @internal
73445
73366
  */
73446
73367
  removeComponentAsRefFrom: function (component, ref, owner) {
73447
- !ReactOwner.isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might ' + 'be removing a ref to a component that was not created inside a component\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;
73368
+ !ReactOwner.isValidOwner(owner) ? "development" !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might ' + 'be removing a ref to a component that was not created inside a component\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;
73448
73369
  // Check that `component` is still the current ref because we do not want to
73449
73370
  // detach the ref if another component stole it.
73450
73371
  if (owner.getPublicInstance().refs[ref] === component.getPublicInstance()) {
@@ -73455,9 +73376,7 @@ var ReactOwner = {
73455
73376
  };
73456
73377
 
73457
73378
  module.exports = ReactOwner;
73458
- }).call(this,require('_process'))
73459
- },{"_process":111,"fbjs/lib/invariant":375}],302:[function(require,module,exports){
73460
- (function (process){
73379
+ },{"fbjs/lib/invariant":375}],302:[function(require,module,exports){
73461
73380
  /**
73462
73381
  * Copyright 2013-2015, Facebook, Inc.
73463
73382
  * All rights reserved.
@@ -73495,7 +73414,7 @@ var ReactPerf = {
73495
73414
  * @param {object<string>} methodNames
73496
73415
  */
73497
73416
  measureMethods: function (object, objectName, methodNames) {
73498
- if (process.env.NODE_ENV !== 'production') {
73417
+ if ("development" !== 'production') {
73499
73418
  for (var key in methodNames) {
73500
73419
  if (!methodNames.hasOwnProperty(key)) {
73501
73420
  continue;
@@ -73514,7 +73433,7 @@ var ReactPerf = {
73514
73433
  * @return {function}
73515
73434
  */
73516
73435
  measure: function (objName, fnName, func) {
73517
- if (process.env.NODE_ENV !== 'production') {
73436
+ if ("development" !== 'production') {
73518
73437
  var measuredFunc = null;
73519
73438
  var wrapper = function () {
73520
73439
  if (ReactPerf.enableMeasure) {
@@ -73554,9 +73473,7 @@ function _noMeasure(objName, fnName, func) {
73554
73473
  }
73555
73474
 
73556
73475
  module.exports = ReactPerf;
73557
- }).call(this,require('_process'))
73558
- },{"_process":111}],303:[function(require,module,exports){
73559
- (function (process){
73476
+ },{}],303:[function(require,module,exports){
73560
73477
  /**
73561
73478
  * Copyright 2013-2015, Facebook, Inc.
73562
73479
  * All rights reserved.
@@ -73572,7 +73489,7 @@ module.exports = ReactPerf;
73572
73489
 
73573
73490
  var ReactPropTypeLocationNames = {};
73574
73491
 
73575
- if (process.env.NODE_ENV !== 'production') {
73492
+ if ("development" !== 'production') {
73576
73493
  ReactPropTypeLocationNames = {
73577
73494
  prop: 'prop',
73578
73495
  context: 'context',
@@ -73581,8 +73498,7 @@ if (process.env.NODE_ENV !== 'production') {
73581
73498
  }
73582
73499
 
73583
73500
  module.exports = ReactPropTypeLocationNames;
73584
- }).call(this,require('_process'))
73585
- },{"_process":111}],304:[function(require,module,exports){
73501
+ },{}],304:[function(require,module,exports){
73586
73502
  /**
73587
73503
  * Copyright 2013-2015, Facebook, Inc.
73588
73504
  * All rights reserved.
@@ -74356,7 +74272,6 @@ var ReactServerBatchingStrategy = {
74356
74272
 
74357
74273
  module.exports = ReactServerBatchingStrategy;
74358
74274
  },{}],311:[function(require,module,exports){
74359
- (function (process){
74360
74275
  /**
74361
74276
  * Copyright 2013-2015, Facebook, Inc.
74362
74277
  * All rights reserved.
@@ -74387,7 +74302,7 @@ var invariant = require('fbjs/lib/invariant');
74387
74302
  * @return {string} the HTML markup
74388
74303
  */
74389
74304
  function renderToString(element) {
74390
- !ReactElement.isValidElement(element) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'renderToString(): You must pass a valid ReactElement.') : invariant(false) : undefined;
74305
+ !ReactElement.isValidElement(element) ? "development" !== 'production' ? invariant(false, 'renderToString(): You must pass a valid ReactElement.') : invariant(false) : undefined;
74391
74306
 
74392
74307
  var transaction;
74393
74308
  try {
@@ -74415,7 +74330,7 @@ function renderToString(element) {
74415
74330
  * (for generating static pages)
74416
74331
  */
74417
74332
  function renderToStaticMarkup(element) {
74418
- !ReactElement.isValidElement(element) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'renderToStaticMarkup(): You must pass a valid ReactElement.') : invariant(false) : undefined;
74333
+ !ReactElement.isValidElement(element) ? "development" !== 'production' ? invariant(false, 'renderToStaticMarkup(): You must pass a valid ReactElement.') : invariant(false) : undefined;
74419
74334
 
74420
74335
  var transaction;
74421
74336
  try {
@@ -74440,8 +74355,7 @@ module.exports = {
74440
74355
  renderToString: renderToString,
74441
74356
  renderToStaticMarkup: renderToStaticMarkup
74442
74357
  };
74443
- }).call(this,require('_process'))
74444
- },{"./ReactDefaultBatchingStrategy":279,"./ReactElement":283,"./ReactInstanceHandles":292,"./ReactMarkupChecksum":295,"./ReactServerBatchingStrategy":310,"./ReactServerRenderingTransaction":312,"./ReactUpdates":314,"./instantiateReactComponent":349,"_process":111,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375}],312:[function(require,module,exports){
74358
+ },{"./ReactDefaultBatchingStrategy":279,"./ReactElement":283,"./ReactInstanceHandles":292,"./ReactMarkupChecksum":295,"./ReactServerBatchingStrategy":310,"./ReactServerRenderingTransaction":312,"./ReactUpdates":314,"./instantiateReactComponent":349,"fbjs/lib/emptyObject":368,"fbjs/lib/invariant":375}],312:[function(require,module,exports){
74445
74359
  /**
74446
74360
  * Copyright 2014-2015, Facebook, Inc.
74447
74361
  * All rights reserved.
@@ -74530,7 +74444,6 @@ PooledClass.addPoolingTo(ReactServerRenderingTransaction);
74530
74444
 
74531
74445
  module.exports = ReactServerRenderingTransaction;
74532
74446
  },{"./CallbackQueue":236,"./Object.assign":253,"./PooledClass":254,"./Transaction":331,"fbjs/lib/emptyFunction":367}],313:[function(require,module,exports){
74533
- (function (process){
74534
74447
  /**
74535
74448
  * Copyright 2015, Facebook, Inc.
74536
74449
  * All rights reserved.
@@ -74560,17 +74473,17 @@ function enqueueUpdate(internalInstance) {
74560
74473
  function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
74561
74474
  var internalInstance = ReactInstanceMap.get(publicInstance);
74562
74475
  if (!internalInstance) {
74563
- if (process.env.NODE_ENV !== 'production') {
74476
+ if ("development" !== 'production') {
74564
74477
  // Only warn when we have a callerName. Otherwise we should be silent.
74565
74478
  // We're probably calling from enqueueCallback. We don't want to warn
74566
74479
  // there because we already warned for the corresponding lifecycle method.
74567
- process.env.NODE_ENV !== 'production' ? warning(!callerName, '%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.displayName) : undefined;
74480
+ "development" !== 'production' ? warning(!callerName, '%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.displayName) : undefined;
74568
74481
  }
74569
74482
  return null;
74570
74483
  }
74571
74484
 
74572
- if (process.env.NODE_ENV !== 'production') {
74573
- process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition ' + '(such as within `render`). Render methods should be a pure function ' + 'of props and state.', callerName) : undefined;
74485
+ if ("development" !== 'production') {
74486
+ "development" !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition ' + '(such as within `render`). Render methods should be a pure function ' + 'of props and state.', callerName) : undefined;
74574
74487
  }
74575
74488
 
74576
74489
  return internalInstance;
@@ -74590,10 +74503,10 @@ var ReactUpdateQueue = {
74590
74503
  * @final
74591
74504
  */
74592
74505
  isMounted: function (publicInstance) {
74593
- if (process.env.NODE_ENV !== 'production') {
74506
+ if ("development" !== 'production') {
74594
74507
  var owner = ReactCurrentOwner.current;
74595
74508
  if (owner !== null) {
74596
- process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;
74509
+ "development" !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;
74597
74510
  owner._warnedAboutRefsInRender = true;
74598
74511
  }
74599
74512
  }
@@ -74617,7 +74530,7 @@ var ReactUpdateQueue = {
74617
74530
  * @internal
74618
74531
  */
74619
74532
  enqueueCallback: function (publicInstance, callback) {
74620
- !(typeof callback === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\'t callable.') : invariant(false) : undefined;
74533
+ !(typeof callback === 'function') ? "development" !== 'production' ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\'t callable.') : invariant(false) : undefined;
74621
74534
  var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);
74622
74535
 
74623
74536
  // Previously we would throw an error if we didn't have an internal
@@ -74642,7 +74555,7 @@ var ReactUpdateQueue = {
74642
74555
  },
74643
74556
 
74644
74557
  enqueueCallbackInternal: function (internalInstance, callback) {
74645
- !(typeof callback === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\'t callable.') : invariant(false) : undefined;
74558
+ !(typeof callback === 'function') ? "development" !== 'production' ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\'t callable.') : invariant(false) : undefined;
74646
74559
  if (internalInstance._pendingCallbacks) {
74647
74560
  internalInstance._pendingCallbacks.push(callback);
74648
74561
  } else {
@@ -74740,7 +74653,7 @@ var ReactUpdateQueue = {
74740
74653
 
74741
74654
  enqueueSetPropsInternal: function (internalInstance, partialProps) {
74742
74655
  var topLevelWrapper = internalInstance._topLevelWrapper;
74743
- !topLevelWrapper ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setProps(...): You called `setProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;
74656
+ !topLevelWrapper ? "development" !== 'production' ? invariant(false, 'setProps(...): You called `setProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;
74744
74657
 
74745
74658
  // Merge with the pending element if it exists, otherwise with existing
74746
74659
  // element props.
@@ -74769,7 +74682,7 @@ var ReactUpdateQueue = {
74769
74682
 
74770
74683
  enqueueReplacePropsInternal: function (internalInstance, props) {
74771
74684
  var topLevelWrapper = internalInstance._topLevelWrapper;
74772
- !topLevelWrapper ? process.env.NODE_ENV !== 'production' ? invariant(false, 'replaceProps(...): You called `replaceProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;
74685
+ !topLevelWrapper ? "development" !== 'production' ? invariant(false, 'replaceProps(...): You called `replaceProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;
74773
74686
 
74774
74687
  // Merge with the pending element if it exists, otherwise with existing
74775
74688
  // element props.
@@ -74788,9 +74701,7 @@ var ReactUpdateQueue = {
74788
74701
  };
74789
74702
 
74790
74703
  module.exports = ReactUpdateQueue;
74791
- }).call(this,require('_process'))
74792
- },{"./Object.assign":253,"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceMap":293,"./ReactUpdates":314,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],314:[function(require,module,exports){
74793
- (function (process){
74704
+ },{"./Object.assign":253,"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceMap":293,"./ReactUpdates":314,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],314:[function(require,module,exports){
74794
74705
  /**
74795
74706
  * Copyright 2013-2015, Facebook, Inc.
74796
74707
  * All rights reserved.
@@ -74820,7 +74731,7 @@ var asapEnqueued = false;
74820
74731
  var batchingStrategy = null;
74821
74732
 
74822
74733
  function ensureInjected() {
74823
- !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching ' + 'strategy') : invariant(false) : undefined;
74734
+ !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? "development" !== 'production' ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching ' + 'strategy') : invariant(false) : undefined;
74824
74735
  }
74825
74736
 
74826
74737
  var NESTED_UPDATES = {
@@ -74900,7 +74811,7 @@ function mountOrderComparator(c1, c2) {
74900
74811
 
74901
74812
  function runBatchedUpdates(transaction) {
74902
74813
  var len = transaction.dirtyComponentsLength;
74903
- !(len === dirtyComponents.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected flush transaction\'s stored dirty-components length (%s) to ' + 'match dirty-components array length (%s).', len, dirtyComponents.length) : invariant(false) : undefined;
74814
+ !(len === dirtyComponents.length) ? "development" !== 'production' ? invariant(false, 'Expected flush transaction\'s stored dirty-components length (%s) to ' + 'match dirty-components array length (%s).', len, dirtyComponents.length) : invariant(false) : undefined;
74904
74815
 
74905
74816
  // Since reconciling a component higher in the owner hierarchy usually (not
74906
74817
  // always -- see shouldComponentUpdate()) will reconcile children, reconcile
@@ -74978,21 +74889,21 @@ function enqueueUpdate(component) {
74978
74889
  * if no updates are currently being performed.
74979
74890
  */
74980
74891
  function asap(callback, context) {
74981
- !batchingStrategy.isBatchingUpdates ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates.asap: Can\'t enqueue an asap callback in a context where' + 'updates are not being batched.') : invariant(false) : undefined;
74892
+ !batchingStrategy.isBatchingUpdates ? "development" !== 'production' ? invariant(false, 'ReactUpdates.asap: Can\'t enqueue an asap callback in a context where' + 'updates are not being batched.') : invariant(false) : undefined;
74982
74893
  asapCallbackQueue.enqueue(callback, context);
74983
74894
  asapEnqueued = true;
74984
74895
  }
74985
74896
 
74986
74897
  var ReactUpdatesInjection = {
74987
74898
  injectReconcileTransaction: function (ReconcileTransaction) {
74988
- !ReconcileTransaction ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : invariant(false) : undefined;
74899
+ !ReconcileTransaction ? "development" !== 'production' ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : invariant(false) : undefined;
74989
74900
  ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;
74990
74901
  },
74991
74902
 
74992
74903
  injectBatchingStrategy: function (_batchingStrategy) {
74993
- !_batchingStrategy ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batching strategy') : invariant(false) : undefined;
74994
- !(typeof _batchingStrategy.batchedUpdates === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : invariant(false) : undefined;
74995
- !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : invariant(false) : undefined;
74904
+ !_batchingStrategy ? "development" !== 'production' ? invariant(false, 'ReactUpdates: must provide a batching strategy') : invariant(false) : undefined;
74905
+ !(typeof _batchingStrategy.batchedUpdates === 'function') ? "development" !== 'production' ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : invariant(false) : undefined;
74906
+ !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? "development" !== 'production' ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : invariant(false) : undefined;
74996
74907
  batchingStrategy = _batchingStrategy;
74997
74908
  }
74998
74909
  };
@@ -75014,8 +74925,7 @@ var ReactUpdates = {
75014
74925
  };
75015
74926
 
75016
74927
  module.exports = ReactUpdates;
75017
- }).call(this,require('_process'))
75018
- },{"./CallbackQueue":236,"./Object.assign":253,"./PooledClass":254,"./ReactPerf":302,"./ReactReconciler":307,"./Transaction":331,"_process":111,"fbjs/lib/invariant":375}],315:[function(require,module,exports){
74928
+ },{"./CallbackQueue":236,"./Object.assign":253,"./PooledClass":254,"./ReactPerf":302,"./ReactReconciler":307,"./Transaction":331,"fbjs/lib/invariant":375}],315:[function(require,module,exports){
75019
74929
  /**
75020
74930
  * Copyright 2013-2015, Facebook, Inc.
75021
74931
  * All rights reserved.
@@ -75391,7 +75301,6 @@ var ServerReactRootIndex = {
75391
75301
 
75392
75302
  module.exports = ServerReactRootIndex;
75393
75303
  },{}],319:[function(require,module,exports){
75394
- (function (process){
75395
75304
  /**
75396
75305
  * Copyright 2013-2015, Facebook, Inc.
75397
75306
  * All rights reserved.
@@ -75950,7 +75859,7 @@ var SimpleEventPlugin = {
75950
75859
  EventConstructor = SyntheticClipboardEvent;
75951
75860
  break;
75952
75861
  }
75953
- !EventConstructor ? process.env.NODE_ENV !== 'production' ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : invariant(false) : undefined;
75862
+ !EventConstructor ? "development" !== 'production' ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : invariant(false) : undefined;
75954
75863
  var event = EventConstructor.getPooled(dispatchConfig, topLevelTargetID, nativeEvent, nativeEventTarget);
75955
75864
  EventPropagators.accumulateTwoPhaseDispatches(event);
75956
75865
  return event;
@@ -75979,8 +75888,7 @@ var SimpleEventPlugin = {
75979
75888
  };
75980
75889
 
75981
75890
  module.exports = SimpleEventPlugin;
75982
- }).call(this,require('_process'))
75983
- },{"./EventConstants":245,"./EventPropagators":249,"./ReactMount":296,"./SyntheticClipboardEvent":320,"./SyntheticDragEvent":322,"./SyntheticEvent":323,"./SyntheticFocusEvent":324,"./SyntheticKeyboardEvent":326,"./SyntheticMouseEvent":327,"./SyntheticTouchEvent":328,"./SyntheticUIEvent":329,"./SyntheticWheelEvent":330,"./getEventCharCode":342,"_process":111,"fbjs/lib/EventListener":360,"fbjs/lib/emptyFunction":367,"fbjs/lib/invariant":375,"fbjs/lib/keyOf":379}],320:[function(require,module,exports){
75891
+ },{"./EventConstants":245,"./EventPropagators":249,"./ReactMount":296,"./SyntheticClipboardEvent":320,"./SyntheticDragEvent":322,"./SyntheticEvent":323,"./SyntheticFocusEvent":324,"./SyntheticKeyboardEvent":326,"./SyntheticMouseEvent":327,"./SyntheticTouchEvent":328,"./SyntheticUIEvent":329,"./SyntheticWheelEvent":330,"./getEventCharCode":342,"fbjs/lib/EventListener":360,"fbjs/lib/emptyFunction":367,"fbjs/lib/invariant":375,"fbjs/lib/keyOf":379}],320:[function(require,module,exports){
75984
75892
  /**
75985
75893
  * Copyright 2013-2015, Facebook, Inc.
75986
75894
  * All rights reserved.
@@ -76097,7 +76005,6 @@ SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);
76097
76005
 
76098
76006
  module.exports = SyntheticDragEvent;
76099
76007
  },{"./SyntheticMouseEvent":327}],323:[function(require,module,exports){
76100
- (function (process){
76101
76008
  /**
76102
76009
  * Copyright 2013-2015, Facebook, Inc.
76103
76010
  * All rights reserved.
@@ -76190,8 +76097,8 @@ assign(SyntheticEvent.prototype, {
76190
76097
  preventDefault: function () {
76191
76098
  this.defaultPrevented = true;
76192
76099
  var event = this.nativeEvent;
76193
- if (process.env.NODE_ENV !== 'production') {
76194
- process.env.NODE_ENV !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re calling `preventDefault` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;
76100
+ if ("development" !== 'production') {
76101
+ "development" !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re calling `preventDefault` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;
76195
76102
  }
76196
76103
  if (!event) {
76197
76104
  return;
@@ -76207,8 +76114,8 @@ assign(SyntheticEvent.prototype, {
76207
76114
 
76208
76115
  stopPropagation: function () {
76209
76116
  var event = this.nativeEvent;
76210
- if (process.env.NODE_ENV !== 'production') {
76211
- process.env.NODE_ENV !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re calling `stopPropagation` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;
76117
+ if ("development" !== 'production') {
76118
+ "development" !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re calling `stopPropagation` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;
76212
76119
  }
76213
76120
  if (!event) {
76214
76121
  return;
@@ -76278,8 +76185,7 @@ SyntheticEvent.augmentClass = function (Class, Interface) {
76278
76185
  PooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);
76279
76186
 
76280
76187
  module.exports = SyntheticEvent;
76281
- }).call(this,require('_process'))
76282
- },{"./Object.assign":253,"./PooledClass":254,"_process":111,"fbjs/lib/emptyFunction":367,"fbjs/lib/warning":386}],324:[function(require,module,exports){
76188
+ },{"./Object.assign":253,"./PooledClass":254,"fbjs/lib/emptyFunction":367,"fbjs/lib/warning":386}],324:[function(require,module,exports){
76283
76189
  /**
76284
76190
  * Copyright 2013-2015, Facebook, Inc.
76285
76191
  * All rights reserved.
@@ -76681,7 +76587,6 @@ SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);
76681
76587
 
76682
76588
  module.exports = SyntheticWheelEvent;
76683
76589
  },{"./SyntheticMouseEvent":327}],331:[function(require,module,exports){
76684
- (function (process){
76685
76590
  /**
76686
76591
  * Copyright 2013-2015, Facebook, Inc.
76687
76592
  * All rights reserved.
@@ -76806,7 +76711,7 @@ var Mixin = {
76806
76711
  * @return {*} Return value from `method`.
76807
76712
  */
76808
76713
  perform: function (method, scope, a, b, c, d, e, f) {
76809
- !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there ' + 'is already an outstanding transaction.') : invariant(false) : undefined;
76714
+ !!this.isInTransaction() ? "development" !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there ' + 'is already an outstanding transaction.') : invariant(false) : undefined;
76810
76715
  var errorThrown;
76811
76716
  var ret;
76812
76717
  try {
@@ -76870,7 +76775,7 @@ var Mixin = {
76870
76775
  * invoked).
76871
76776
  */
76872
76777
  closeAll: function (startIndex) {
76873
- !this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : invariant(false) : undefined;
76778
+ !this.isInTransaction() ? "development" !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : invariant(false) : undefined;
76874
76779
  var transactionWrappers = this.transactionWrappers;
76875
76780
  for (var i = startIndex; i < transactionWrappers.length; i++) {
76876
76781
  var wrapper = transactionWrappers[i];
@@ -76913,8 +76818,7 @@ var Transaction = {
76913
76818
  };
76914
76819
 
76915
76820
  module.exports = Transaction;
76916
- }).call(this,require('_process'))
76917
- },{"_process":111,"fbjs/lib/invariant":375}],332:[function(require,module,exports){
76821
+ },{"fbjs/lib/invariant":375}],332:[function(require,module,exports){
76918
76822
  /**
76919
76823
  * Copyright 2013-2015, Facebook, Inc.
76920
76824
  * All rights reserved.
@@ -76943,7 +76847,6 @@ var ViewportMetrics = {
76943
76847
 
76944
76848
  module.exports = ViewportMetrics;
76945
76849
  },{}],333:[function(require,module,exports){
76946
- (function (process){
76947
76850
  /**
76948
76851
  * Copyright 2014-2015, Facebook, Inc.
76949
76852
  * All rights reserved.
@@ -76974,7 +76877,7 @@ var invariant = require('fbjs/lib/invariant');
76974
76877
  */
76975
76878
 
76976
76879
  function accumulateInto(current, next) {
76977
- !(next != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : invariant(false) : undefined;
76880
+ !(next != null) ? "development" !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : invariant(false) : undefined;
76978
76881
  if (current == null) {
76979
76882
  return next;
76980
76883
  }
@@ -77003,8 +76906,7 @@ function accumulateInto(current, next) {
77003
76906
  }
77004
76907
 
77005
76908
  module.exports = accumulateInto;
77006
- }).call(this,require('_process'))
77007
- },{"_process":111,"fbjs/lib/invariant":375}],334:[function(require,module,exports){
76909
+ },{"fbjs/lib/invariant":375}],334:[function(require,module,exports){
77008
76910
  /**
77009
76911
  * Copyright 2013-2015, Facebook, Inc.
77010
76912
  * All rights reserved.
@@ -77048,7 +76950,6 @@ function adler32(data) {
77048
76950
 
77049
76951
  module.exports = adler32;
77050
76952
  },{}],335:[function(require,module,exports){
77051
- (function (process){
77052
76953
  /**
77053
76954
  * Copyright 2013-2015, Facebook, Inc.
77054
76955
  * All rights reserved.
@@ -77063,7 +76964,7 @@ module.exports = adler32;
77063
76964
  'use strict';
77064
76965
 
77065
76966
  var canDefineProperty = false;
77066
- if (process.env.NODE_ENV !== 'production') {
76967
+ if ("development" !== 'production') {
77067
76968
  try {
77068
76969
  Object.defineProperty({}, 'x', { get: function () {} });
77069
76970
  canDefineProperty = true;
@@ -77073,8 +76974,7 @@ if (process.env.NODE_ENV !== 'production') {
77073
76974
  }
77074
76975
 
77075
76976
  module.exports = canDefineProperty;
77076
- }).call(this,require('_process'))
77077
- },{"_process":111}],336:[function(require,module,exports){
76977
+ },{}],336:[function(require,module,exports){
77078
76978
  /**
77079
76979
  * Copyright 2013-2015, Facebook, Inc.
77080
76980
  * All rights reserved.
@@ -77131,7 +77031,6 @@ function dangerousStyleValue(name, value) {
77131
77031
 
77132
77032
  module.exports = dangerousStyleValue;
77133
77033
  },{"./CSSProperty":234}],337:[function(require,module,exports){
77134
- (function (process){
77135
77034
  /**
77136
77035
  * Copyright 2013-2015, Facebook, Inc.
77137
77036
  * All rights reserved.
@@ -77161,9 +77060,9 @@ var warning = require('fbjs/lib/warning');
77161
77060
  */
77162
77061
  function deprecated(fnName, newModule, newPackage, ctx, fn) {
77163
77062
  var warned = false;
77164
- if (process.env.NODE_ENV !== 'production') {
77063
+ if ("development" !== 'production') {
77165
77064
  var newFn = function () {
77166
- process.env.NODE_ENV !== 'production' ? warning(warned,
77065
+ "development" !== 'production' ? warning(warned,
77167
77066
  // Require examples in this string must be split to prevent React's
77168
77067
  // build tools from mistaking them for real requires.
77169
77068
  // Otherwise the build tools will attempt to build a '%s' module.
@@ -77180,8 +77079,7 @@ function deprecated(fnName, newModule, newPackage, ctx, fn) {
77180
77079
  }
77181
77080
 
77182
77081
  module.exports = deprecated;
77183
- }).call(this,require('_process'))
77184
- },{"./Object.assign":253,"_process":111,"fbjs/lib/warning":386}],338:[function(require,module,exports){
77082
+ },{"./Object.assign":253,"fbjs/lib/warning":386}],338:[function(require,module,exports){
77185
77083
  /**
77186
77084
  * Copyright 2013-2015, Facebook, Inc.
77187
77085
  * All rights reserved.
@@ -77221,7 +77119,6 @@ function escapeTextContentForBrowser(text) {
77221
77119
 
77222
77120
  module.exports = escapeTextContentForBrowser;
77223
77121
  },{}],339:[function(require,module,exports){
77224
- (function (process){
77225
77122
  /**
77226
77123
  * Copyright 2013-2015, Facebook, Inc.
77227
77124
  * All rights reserved.
@@ -77250,10 +77147,10 @@ var warning = require('fbjs/lib/warning');
77250
77147
  * @return {?DOMElement} The root node of this element.
77251
77148
  */
77252
77149
  function findDOMNode(componentOrElement) {
77253
- if (process.env.NODE_ENV !== 'production') {
77150
+ if ("development" !== 'production') {
77254
77151
  var owner = ReactCurrentOwner.current;
77255
77152
  if (owner !== null) {
77256
- process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing getDOMNode or findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;
77153
+ "development" !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing getDOMNode or findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;
77257
77154
  owner._warnedAboutRefsInRender = true;
77258
77155
  }
77259
77156
  }
@@ -77266,14 +77163,12 @@ function findDOMNode(componentOrElement) {
77266
77163
  if (ReactInstanceMap.has(componentOrElement)) {
77267
77164
  return ReactMount.getNodeFromInstance(componentOrElement);
77268
77165
  }
77269
- !(componentOrElement.render == null || typeof componentOrElement.render !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'findDOMNode was called on an unmounted component.') : invariant(false) : undefined;
77270
- !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : invariant(false) : undefined;
77166
+ !(componentOrElement.render == null || typeof componentOrElement.render !== 'function') ? "development" !== 'production' ? invariant(false, 'findDOMNode was called on an unmounted component.') : invariant(false) : undefined;
77167
+ !false ? "development" !== 'production' ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : invariant(false) : undefined;
77271
77168
  }
77272
77169
 
77273
77170
  module.exports = findDOMNode;
77274
- }).call(this,require('_process'))
77275
- },{"./ReactCurrentOwner":265,"./ReactInstanceMap":293,"./ReactMount":296,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],340:[function(require,module,exports){
77276
- (function (process){
77171
+ },{"./ReactCurrentOwner":265,"./ReactInstanceMap":293,"./ReactMount":296,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],340:[function(require,module,exports){
77277
77172
  /**
77278
77173
  * Copyright 2013-2015, Facebook, Inc.
77279
77174
  * All rights reserved.
@@ -77299,8 +77194,8 @@ function flattenSingleChildIntoContext(traverseContext, child, name) {
77299
77194
  // We found a component instance.
77300
77195
  var result = traverseContext;
77301
77196
  var keyUnique = result[name] === undefined;
77302
- if (process.env.NODE_ENV !== 'production') {
77303
- process.env.NODE_ENV !== '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.', name) : undefined;
77197
+ if ("development" !== 'production') {
77198
+ "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.', name) : undefined;
77304
77199
  }
77305
77200
  if (keyUnique && child != null) {
77306
77201
  result[name] = child;
@@ -77322,8 +77217,7 @@ function flattenChildren(children) {
77322
77217
  }
77323
77218
 
77324
77219
  module.exports = flattenChildren;
77325
- }).call(this,require('_process'))
77326
- },{"./traverseAllChildren":358,"_process":111,"fbjs/lib/warning":386}],341:[function(require,module,exports){
77220
+ },{"./traverseAllChildren":358,"fbjs/lib/warning":386}],341:[function(require,module,exports){
77327
77221
  /**
77328
77222
  * Copyright 2013-2015, Facebook, Inc.
77329
77223
  * All rights reserved.
@@ -77733,7 +77627,6 @@ function getTextContentAccessor() {
77733
77627
 
77734
77628
  module.exports = getTextContentAccessor;
77735
77629
  },{"fbjs/lib/ExecutionEnvironment":361}],349:[function(require,module,exports){
77736
- (function (process){
77737
77630
  /**
77738
77631
  * Copyright 2013-2015, Facebook, Inc.
77739
77632
  * All rights reserved.
@@ -77797,7 +77690,7 @@ function instantiateReactComponent(node) {
77797
77690
  instance = new ReactEmptyComponent(instantiateReactComponent);
77798
77691
  } else if (typeof node === 'object') {
77799
77692
  var element = node;
77800
- !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element type is invalid: expected a string (for built-in components) ' + 'or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : invariant(false) : undefined;
77693
+ !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? "development" !== 'production' ? invariant(false, 'Element type is invalid: expected a string (for built-in components) ' + 'or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : invariant(false) : undefined;
77801
77694
 
77802
77695
  // Special case string values
77803
77696
  if (typeof element.type === 'string') {
@@ -77813,11 +77706,11 @@ function instantiateReactComponent(node) {
77813
77706
  } else if (typeof node === 'string' || typeof node === 'number') {
77814
77707
  instance = ReactNativeComponent.createInstanceForText(node);
77815
77708
  } else {
77816
- !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : invariant(false) : undefined;
77709
+ !false ? "development" !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : invariant(false) : undefined;
77817
77710
  }
77818
77711
 
77819
- if (process.env.NODE_ENV !== 'production') {
77820
- process.env.NODE_ENV !== 'production' ? warning(typeof instance.construct === 'function' && typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : undefined;
77712
+ if ("development" !== 'production') {
77713
+ "development" !== 'production' ? warning(typeof instance.construct === 'function' && typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : undefined;
77821
77714
  }
77822
77715
 
77823
77716
  // Sets up the instance. This can probably just move into the constructor now.
@@ -77829,14 +77722,14 @@ function instantiateReactComponent(node) {
77829
77722
  instance._mountIndex = 0;
77830
77723
  instance._mountImage = null;
77831
77724
 
77832
- if (process.env.NODE_ENV !== 'production') {
77725
+ if ("development" !== 'production') {
77833
77726
  instance._isOwnerNecessary = false;
77834
77727
  instance._warnedAboutRefsInRender = false;
77835
77728
  }
77836
77729
 
77837
77730
  // Internal instances should fully constructed at this point, so they should
77838
77731
  // not get any new fields added to them at this point.
77839
- if (process.env.NODE_ENV !== 'production') {
77732
+ if ("development" !== 'production') {
77840
77733
  if (Object.preventExtensions) {
77841
77734
  Object.preventExtensions(instance);
77842
77735
  }
@@ -77846,8 +77739,7 @@ function instantiateReactComponent(node) {
77846
77739
  }
77847
77740
 
77848
77741
  module.exports = instantiateReactComponent;
77849
- }).call(this,require('_process'))
77850
- },{"./Object.assign":253,"./ReactCompositeComponent":264,"./ReactEmptyComponent":285,"./ReactNativeComponent":299,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],350:[function(require,module,exports){
77742
+ },{"./Object.assign":253,"./ReactCompositeComponent":264,"./ReactEmptyComponent":285,"./ReactNativeComponent":299,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],350:[function(require,module,exports){
77851
77743
  /**
77852
77744
  * Copyright 2013-2015, Facebook, Inc.
77853
77745
  * All rights reserved.
@@ -77950,7 +77842,6 @@ function isTextInputElement(elem) {
77950
77842
 
77951
77843
  module.exports = isTextInputElement;
77952
77844
  },{}],352:[function(require,module,exports){
77953
- (function (process){
77954
77845
  /**
77955
77846
  * Copyright 2013-2015, Facebook, Inc.
77956
77847
  * All rights reserved.
@@ -77979,13 +77870,12 @@ var invariant = require('fbjs/lib/invariant');
77979
77870
  * structure.
77980
77871
  */
77981
77872
  function onlyChild(children) {
77982
- !ReactElement.isValidElement(children) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'onlyChild must be passed a children with exactly one child.') : invariant(false) : undefined;
77873
+ !ReactElement.isValidElement(children) ? "development" !== 'production' ? invariant(false, 'onlyChild must be passed a children with exactly one child.') : invariant(false) : undefined;
77983
77874
  return children;
77984
77875
  }
77985
77876
 
77986
77877
  module.exports = onlyChild;
77987
- }).call(this,require('_process'))
77988
- },{"./ReactElement":283,"_process":111,"fbjs/lib/invariant":375}],353:[function(require,module,exports){
77878
+ },{"./ReactElement":283,"fbjs/lib/invariant":375}],353:[function(require,module,exports){
77989
77879
  /**
77990
77880
  * Copyright 2013-2015, Facebook, Inc.
77991
77881
  * All rights reserved.
@@ -78206,7 +78096,6 @@ function shouldUpdateReactComponent(prevElement, nextElement) {
78206
78096
 
78207
78097
  module.exports = shouldUpdateReactComponent;
78208
78098
  },{}],358:[function(require,module,exports){
78209
- (function (process){
78210
78099
  /**
78211
78100
  * Copyright 2013-2015, Facebook, Inc.
78212
78101
  * All rights reserved.
@@ -78335,8 +78224,8 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
78335
78224
  subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
78336
78225
  }
78337
78226
  } else {
78338
- if (process.env.NODE_ENV !== 'production') {
78339
- process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.') : undefined;
78227
+ if ("development" !== 'production') {
78228
+ "development" !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.') : undefined;
78340
78229
  didWarnAboutMaps = true;
78341
78230
  }
78342
78231
  // Iterator will provide entry [k,v] tuples rather than values.
@@ -78351,7 +78240,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
78351
78240
  }
78352
78241
  } else if (type === 'object') {
78353
78242
  var addendum = '';
78354
- if (process.env.NODE_ENV !== 'production') {
78243
+ if ("development" !== 'production') {
78355
78244
  addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';
78356
78245
  if (children._isReactElement) {
78357
78246
  addendum = ' It looks like you\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';
@@ -78364,7 +78253,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
78364
78253
  }
78365
78254
  }
78366
78255
  var childrenString = String(children);
78367
- !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : invariant(false) : undefined;
78256
+ !false ? "development" !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : invariant(false) : undefined;
78368
78257
  }
78369
78258
  }
78370
78259
 
@@ -78396,9 +78285,7 @@ function traverseAllChildren(children, callback, traverseContext) {
78396
78285
  }
78397
78286
 
78398
78287
  module.exports = traverseAllChildren;
78399
- }).call(this,require('_process'))
78400
- },{"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceHandles":292,"./getIteratorFn":346,"_process":111,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],359:[function(require,module,exports){
78401
- (function (process){
78288
+ },{"./ReactCurrentOwner":265,"./ReactElement":283,"./ReactInstanceHandles":292,"./getIteratorFn":346,"fbjs/lib/invariant":375,"fbjs/lib/warning":386}],359:[function(require,module,exports){
78402
78289
  /**
78403
78290
  * Copyright 2015, Facebook, Inc.
78404
78291
  * All rights reserved.
@@ -78418,7 +78305,7 @@ var warning = require('fbjs/lib/warning');
78418
78305
 
78419
78306
  var validateDOMNesting = emptyFunction;
78420
78307
 
78421
- if (process.env.NODE_ENV !== 'production') {
78308
+ if ("development" !== 'production') {
78422
78309
  // This validation code was written based on the HTML5 parsing spec:
78423
78310
  // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
78424
78311
  //
@@ -78741,9 +78628,9 @@ if (process.env.NODE_ENV !== 'production') {
78741
78628
  if (ancestorTag === 'table' && childTag === 'tr') {
78742
78629
  info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';
78743
78630
  }
78744
- process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a child of <%s>. ' + 'See %s.%s', childTag, ancestorTag, ownerInfo, info) : undefined;
78631
+ "development" !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a child of <%s>. ' + 'See %s.%s', childTag, ancestorTag, ownerInfo, info) : undefined;
78745
78632
  } else {
78746
- process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a descendant of ' + '<%s>. See %s.', childTag, ancestorTag, ownerInfo) : undefined;
78633
+ "development" !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a descendant of ' + '<%s>. See %s.', childTag, ancestorTag, ownerInfo) : undefined;
78747
78634
  }
78748
78635
  }
78749
78636
  };
@@ -78762,9 +78649,7 @@ if (process.env.NODE_ENV !== 'production') {
78762
78649
  }
78763
78650
 
78764
78651
  module.exports = validateDOMNesting;
78765
- }).call(this,require('_process'))
78766
- },{"./Object.assign":253,"_process":111,"fbjs/lib/emptyFunction":367,"fbjs/lib/warning":386}],360:[function(require,module,exports){
78767
- (function (process){
78652
+ },{"./Object.assign":253,"fbjs/lib/emptyFunction":367,"fbjs/lib/warning":386}],360:[function(require,module,exports){
78768
78653
  /**
78769
78654
  * Copyright 2013-2015, Facebook, Inc.
78770
78655
  *
@@ -78836,7 +78721,7 @@ var EventListener = {
78836
78721
  }
78837
78722
  };
78838
78723
  } else {
78839
- if (process.env.NODE_ENV !== 'production') {
78724
+ if ("development" !== 'production') {
78840
78725
  console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');
78841
78726
  }
78842
78727
  return {
@@ -78849,8 +78734,7 @@ var EventListener = {
78849
78734
  };
78850
78735
 
78851
78736
  module.exports = EventListener;
78852
- }).call(this,require('_process'))
78853
- },{"./emptyFunction":367,"_process":111}],361:[function(require,module,exports){
78737
+ },{"./emptyFunction":367}],361:[function(require,module,exports){
78854
78738
  /**
78855
78739
  * Copyright 2013-2015, Facebook, Inc.
78856
78740
  * All rights reserved.
@@ -79104,7 +78988,6 @@ function createArrayFromMixed(obj) {
79104
78988
 
79105
78989
  module.exports = createArrayFromMixed;
79106
78990
  },{"./toArray":385}],366:[function(require,module,exports){
79107
- (function (process){
79108
78991
  /**
79109
78992
  * Copyright 2013-2015, Facebook, Inc.
79110
78993
  * All rights reserved.
@@ -79160,7 +79043,7 @@ function getNodeName(markup) {
79160
79043
  */
79161
79044
  function createNodesFromMarkup(markup, handleScript) {
79162
79045
  var node = dummyNode;
79163
- !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : undefined;
79046
+ !!!dummyNode ? "development" !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : undefined;
79164
79047
  var nodeName = getNodeName(markup);
79165
79048
 
79166
79049
  var wrap = nodeName && getMarkupWrap(nodeName);
@@ -79177,7 +79060,7 @@ function createNodesFromMarkup(markup, handleScript) {
79177
79060
 
79178
79061
  var scripts = node.getElementsByTagName('script');
79179
79062
  if (scripts.length) {
79180
- !handleScript ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : undefined;
79063
+ !handleScript ? "development" !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : undefined;
79181
79064
  createArrayFromMixed(scripts).forEach(handleScript);
79182
79065
  }
79183
79066
 
@@ -79189,8 +79072,7 @@ function createNodesFromMarkup(markup, handleScript) {
79189
79072
  }
79190
79073
 
79191
79074
  module.exports = createNodesFromMarkup;
79192
- }).call(this,require('_process'))
79193
- },{"./ExecutionEnvironment":361,"./createArrayFromMixed":365,"./getMarkupWrap":371,"./invariant":375,"_process":111}],367:[function(require,module,exports){
79075
+ },{"./ExecutionEnvironment":361,"./createArrayFromMixed":365,"./getMarkupWrap":371,"./invariant":375}],367:[function(require,module,exports){
79194
79076
  /**
79195
79077
  * Copyright 2013-2015, Facebook, Inc.
79196
79078
  * All rights reserved.
@@ -79230,7 +79112,6 @@ emptyFunction.thatReturnsArgument = function (arg) {
79230
79112
 
79231
79113
  module.exports = emptyFunction;
79232
79114
  },{}],368:[function(require,module,exports){
79233
- (function (process){
79234
79115
  /**
79235
79116
  * Copyright 2013-2015, Facebook, Inc.
79236
79117
  * All rights reserved.
@@ -79246,13 +79127,12 @@ module.exports = emptyFunction;
79246
79127
 
79247
79128
  var emptyObject = {};
79248
79129
 
79249
- if (process.env.NODE_ENV !== 'production') {
79130
+ if ("development" !== 'production') {
79250
79131
  Object.freeze(emptyObject);
79251
79132
  }
79252
79133
 
79253
79134
  module.exports = emptyObject;
79254
- }).call(this,require('_process'))
79255
- },{"_process":111}],369:[function(require,module,exports){
79135
+ },{}],369:[function(require,module,exports){
79256
79136
  /**
79257
79137
  * Copyright 2013-2015, Facebook, Inc.
79258
79138
  * All rights reserved.
@@ -79316,7 +79196,6 @@ function getActiveElement() /*?DOMElement*/{
79316
79196
 
79317
79197
  module.exports = getActiveElement;
79318
79198
  },{}],371:[function(require,module,exports){
79319
- (function (process){
79320
79199
  /**
79321
79200
  * Copyright 2013-2015, Facebook, Inc.
79322
79201
  * All rights reserved.
@@ -79396,7 +79275,7 @@ svgElements.forEach(function (nodeName) {
79396
79275
  * @return {?array} Markup wrap configuration, if applicable.
79397
79276
  */
79398
79277
  function getMarkupWrap(nodeName) {
79399
- !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : undefined;
79278
+ !!!dummyNode ? "development" !== 'production' ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : undefined;
79400
79279
  if (!markupWrap.hasOwnProperty(nodeName)) {
79401
79280
  nodeName = '*';
79402
79281
  }
@@ -79412,8 +79291,7 @@ function getMarkupWrap(nodeName) {
79412
79291
  }
79413
79292
 
79414
79293
  module.exports = getMarkupWrap;
79415
- }).call(this,require('_process'))
79416
- },{"./ExecutionEnvironment":361,"./invariant":375,"_process":111}],372:[function(require,module,exports){
79294
+ },{"./ExecutionEnvironment":361,"./invariant":375}],372:[function(require,module,exports){
79417
79295
  /**
79418
79296
  * Copyright 2013-2015, Facebook, Inc.
79419
79297
  * All rights reserved.
@@ -79527,7 +79405,6 @@ function hyphenateStyleName(string) {
79527
79405
 
79528
79406
  module.exports = hyphenateStyleName;
79529
79407
  },{"./hyphenate":373}],375:[function(require,module,exports){
79530
- (function (process){
79531
79408
  /**
79532
79409
  * Copyright 2013-2015, Facebook, Inc.
79533
79410
  * All rights reserved.
@@ -79553,7 +79430,7 @@ module.exports = hyphenateStyleName;
79553
79430
  */
79554
79431
 
79555
79432
  function invariant(condition, format, a, b, c, d, e, f) {
79556
- if (process.env.NODE_ENV !== 'production') {
79433
+ if ("development" !== 'production') {
79557
79434
  if (format === undefined) {
79558
79435
  throw new Error('invariant requires an error message argument');
79559
79436
  }
@@ -79578,8 +79455,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
79578
79455
  }
79579
79456
 
79580
79457
  module.exports = invariant;
79581
- }).call(this,require('_process'))
79582
- },{"_process":111}],376:[function(require,module,exports){
79458
+ },{}],376:[function(require,module,exports){
79583
79459
  /**
79584
79460
  * Copyright 2013-2015, Facebook, Inc.
79585
79461
  * All rights reserved.
@@ -79630,7 +79506,6 @@ function isTextNode(object) {
79630
79506
 
79631
79507
  module.exports = isTextNode;
79632
79508
  },{"./isNode":376}],378:[function(require,module,exports){
79633
- (function (process){
79634
79509
  /**
79635
79510
  * Copyright 2013-2015, Facebook, Inc.
79636
79511
  * All rights reserved.
@@ -79668,7 +79543,7 @@ var invariant = require('./invariant');
79668
79543
  var keyMirror = function (obj) {
79669
79544
  var ret = {};
79670
79545
  var key;
79671
- !(obj instanceof Object && !Array.isArray(obj)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : undefined;
79546
+ !(obj instanceof Object && !Array.isArray(obj)) ? "development" !== 'production' ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : undefined;
79672
79547
  for (key in obj) {
79673
79548
  if (!obj.hasOwnProperty(key)) {
79674
79549
  continue;
@@ -79679,8 +79554,7 @@ var keyMirror = function (obj) {
79679
79554
  };
79680
79555
 
79681
79556
  module.exports = keyMirror;
79682
- }).call(this,require('_process'))
79683
- },{"./invariant":375,"_process":111}],379:[function(require,module,exports){
79557
+ },{"./invariant":375}],379:[function(require,module,exports){
79684
79558
  /**
79685
79559
  * Copyright 2013-2015, Facebook, Inc.
79686
79560
  * All rights reserved.
@@ -79911,7 +79785,6 @@ function shallowEqual(objA, objB) {
79911
79785
 
79912
79786
  module.exports = shallowEqual;
79913
79787
  },{}],385:[function(require,module,exports){
79914
- (function (process){
79915
79788
  /**
79916
79789
  * Copyright 2013-2015, Facebook, Inc.
79917
79790
  * All rights reserved.
@@ -79942,11 +79815,11 @@ function toArray(obj) {
79942
79815
 
79943
79816
  // Some browse builtin objects can report typeof 'function' (e.g. NodeList in
79944
79817
  // old versions of Safari).
79945
- !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : undefined;
79818
+ !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? "development" !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : undefined;
79946
79819
 
79947
- !(typeof length === 'number') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : undefined;
79820
+ !(typeof length === 'number') ? "development" !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : undefined;
79948
79821
 
79949
- !(length === 0 || length - 1 in obj) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : undefined;
79822
+ !(length === 0 || length - 1 in obj) ? "development" !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : undefined;
79950
79823
 
79951
79824
  // Old IE doesn't give collections access to hasOwnProperty. Assume inputs
79952
79825
  // without method will throw during the slice call and skip straight to the
@@ -79969,9 +79842,7 @@ function toArray(obj) {
79969
79842
  }
79970
79843
 
79971
79844
  module.exports = toArray;
79972
- }).call(this,require('_process'))
79973
- },{"./invariant":375,"_process":111}],386:[function(require,module,exports){
79974
- (function (process){
79845
+ },{"./invariant":375}],386:[function(require,module,exports){
79975
79846
  /**
79976
79847
  * Copyright 2014-2015, Facebook, Inc.
79977
79848
  * All rights reserved.
@@ -79996,7 +79867,7 @@ var emptyFunction = require('./emptyFunction');
79996
79867
 
79997
79868
  var warning = emptyFunction;
79998
79869
 
79999
- if (process.env.NODE_ENV !== 'production') {
79870
+ if ("development" !== 'production') {
80000
79871
  warning = function (condition, format) {
80001
79872
  for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
80002
79873
  args[_key - 2] = arguments[_key];
@@ -80029,8 +79900,7 @@ if (process.env.NODE_ENV !== 'production') {
80029
79900
  }
80030
79901
 
80031
79902
  module.exports = warning;
80032
- }).call(this,require('_process'))
80033
- },{"./emptyFunction":367,"_process":111}],387:[function(require,module,exports){
79903
+ },{"./emptyFunction":367}],387:[function(require,module,exports){
80034
79904
  'use strict';
80035
79905
 
80036
79906
  module.exports = require('./lib/React');
@@ -80559,31 +80429,29 @@ module.exports = _react2['default'].createClass({
80559
80429
  },
80560
80430
  getInitialState: function getInitialState() {
80561
80431
  return {
80562
- job: this.props.job,
80563
80432
  graphNodes: {},
80564
- graphEdges: {},
80565
- dependencyProducerDepth: this.props.dependencyProducerDepth,
80566
- dependencyConsumerDepth: this.props.dependencyConsumerDepth,
80567
- divWidth: 0, // div width to draw a graph
80568
- divHeight: 0 // div height to draw a graph
80433
+ graphEdges: {}
80569
80434
  };
80570
80435
  },
80571
80436
  componentDidMount: function componentDidMount() {
80572
80437
  window.addEventListener('resize', this.handleResize);
80573
- this.setState({
80574
- job: this.props.job,
80575
- divWidth: _reactDom2['default'].findDOMNode(this).offsetWidth,
80576
- divHeight: innerHeight - 150
80577
- });
80438
+
80439
+ this.getGraph(this.props.job.job_id, this.props.dependencyProducerDepth, this.props.dependencyConsumerDepth, (function (graph) {
80440
+ if (Object.keys(graph.nodes).length > 0) {
80441
+ this.setState({
80442
+ graphNodes: graph.nodes,
80443
+ graphEdges: graph.edges
80444
+ });
80445
+ }
80446
+ }).bind(this));
80578
80447
  },
80579
80448
  componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
80580
- this.setState({
80581
- job: nextProps.job,
80582
- graphNodes: {},
80583
- graphEdges: {},
80584
- dependencyProducerDepth: nextProps.dependencyProducerDepth,
80585
- dependencyConsumerDepth: nextProps.dependencyConsumerDepth
80586
- });
80449
+ this.getGraph(nextProps.job.job_id, nextProps.dependencyProducerDepth, nextProps.dependencyConsumerDepth, (function (graph) {
80450
+ this.setState({
80451
+ graphNodes: graph.nodes,
80452
+ graphEdges: graph.edges
80453
+ });
80454
+ }).bind(this));
80587
80455
  },
80588
80456
  componentWillMount: function componentWillMount() {
80589
80457
  this.redraw = _lodash2['default'].debounce(this.redraw, 200);
@@ -80591,18 +80459,8 @@ module.exports = _react2['default'].createClass({
80591
80459
  componentWillUnmount: function componentWillUnmount() {
80592
80460
  window.removeEventListener('resize', this.handleResize);
80593
80461
  },
80594
- shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {
80595
- if (typeof nextState.job.job_id === 'undefined') {
80596
- return false;
80597
- } else {
80598
- return true;
80599
- }
80600
- },
80601
80462
  redraw: function redraw() {
80602
- this.setState({
80603
- divWidth: _reactDom2['default'].findDOMNode(this).offsetWidth,
80604
- divHeight: innerHeight - 150
80605
- });
80463
+ this.render();
80606
80464
  },
80607
80465
  handleResize: function handleResize(e) {
80608
80466
  this.redraw();
@@ -80629,18 +80487,27 @@ module.exports = _react2['default'].createClass({
80629
80487
 
80630
80488
  return humanReadableDiffString;
80631
80489
  },
80490
+ refresh: function refresh() {
80491
+ this.getGraph(this.props.job.job_id, this.props.dependencyProducerDepth, this.props.dependencyConsumerDepth, (function (graph) {
80492
+ if (_lodash2['default'].isEqual(graph.nodes, this.state.graphNodes) === false || _lodash2['default'].isEqual(graph.edges.sort(), this.state.graphEdges.sort()) === false) {
80493
+ this.setState({
80494
+ graphNodes: graph.nodes,
80495
+ graphEdges: graph.edges
80496
+ });
80497
+ }
80498
+ }).bind(this));
80499
+ },
80632
80500
  render: function render() {
80633
- if (typeof this.state.job.job_id === 'undefined') return _react2['default'].createElement('div', null);
80634
- this.getGraph(this.state.job.job_id, this.state.dependencyProducerDepth, this.state.dependencyConsumerDepth, (function (graph) {
80635
- var nodes = graph.nodes;
80636
- var edges = graph.edges;
80501
+ var nodes = this.state.graphNodes;
80502
+ var edges = this.state.graphEdges;
80637
80503
 
80638
- if (typeof window.d3 === "undefined") {
80639
- // set a global variable because d3 >=3.4 no longer exports a global d3
80640
- // https://github.com/mbostock/d3/issues/1727
80641
- window.d3 = _d32['default'];
80642
- }
80504
+ if (typeof window.d3 === "undefined") {
80505
+ // set a global variable because d3 >=3.4 no longer exports a global d3
80506
+ // https://github.com/mbostock/d3/issues/1727
80507
+ window.d3 = _d32['default'];
80508
+ }
80643
80509
 
80510
+ if (Object.keys(nodes).length > 0) {
80644
80511
  // changing dependency depth from 4 to 0 always re-produces this problem
80645
80512
  var g = new _dagreD32['default'].graphlib.Graph().setGraph({}).setDefaultEdgeLabel(function () {
80646
80513
  return {};
@@ -80672,7 +80539,7 @@ module.exports = _react2['default'].createClass({
80672
80539
  };
80673
80540
 
80674
80541
  // highlight selfJob
80675
- if (this.state.job.job_id === node.job_id) {
80542
+ if (this.props.job.job_id === node.job_id) {
80676
80543
  nodeSetting['style'] = 'fill: #afeeee;';
80677
80544
  }
80678
80545
  g.setNode(key, nodeSetting);
@@ -80684,8 +80551,8 @@ module.exports = _react2['default'].createClass({
80684
80551
  }).bind(this));
80685
80552
 
80686
80553
  // set up an svg group so that we can translate the final graph.
80687
- var svg = _d32['default'].select(_reactDom2['default'].findDOMNode(this.refs.nodeTree));
80688
- var inner = _d32['default'].select(_reactDom2['default'].findDOMNode(this.refs.nodeTreeGroup));
80554
+ var svg = _d32['default'].select(this.refs.nodeTree);
80555
+ var inner = _d32['default'].select(this.refs.nodeTreeGroup);
80689
80556
 
80690
80557
  // set up zoom support
80691
80558
  var zoom = _d32['default'].behavior.zoom().on("zoom", function () {
@@ -80699,16 +80566,19 @@ module.exports = _react2['default'].createClass({
80699
80566
  // run the renderer. this is what draws the final graph.
80700
80567
  render(inner, g);
80701
80568
 
80702
- var initialScaleHorizontal = this.state.divWidth / g.graph().width;
80703
- var initialScaleVertical = this.state.divHeight / g.graph().height;
80569
+ var divWidth = this.refs.graphDiv.offsetWidth;
80570
+ var divHeight = innerHeight;
80571
+
80572
+ var initialScaleHorizontal = divWidth / g.graph().width;
80573
+ var initialScaleVertical = divHeight / g.graph().height;
80704
80574
 
80705
80575
  var initialScale = initialScaleHorizontal < initialScaleVertical ? initialScaleHorizontal : initialScaleVertical;
80706
80576
  if (initialScale >= 1) initialScale = 1;
80707
80577
 
80708
80578
  // center and resize
80709
- zoom.translate([(this.state.divWidth - g.graph().width * initialScale) / 2, 20]).scale(initialScale).event(svg);
80710
- svg.attr('height', this.state.divHeight);
80711
- svg.attr('width', this.state.divWidth);
80579
+ zoom.translate([(divWidth - g.graph().width * initialScale) / 2, 20]).scale(initialScale).event(svg);
80580
+ svg.attr('height', divHeight);
80581
+ svg.attr('width', divWidth);
80712
80582
 
80713
80583
  // tooltip
80714
80584
  var tooltip = _d32['default'].select("body").append("div").attr("class", "jobToolTip").style("position", "absolute").style("visibility", "hidden");
@@ -80739,7 +80609,7 @@ module.exports = _react2['default'].createClass({
80739
80609
  }
80740
80610
  return tooltip.html(html).style("visibility", "visible");
80741
80611
  }).bind(this)).on("mousemove", (function () {
80742
- if (_d32['default'].event.pageX > this.state.divWidth / 2 + 200) {
80612
+ if (_d32['default'].event.pageX > divWidth / 2 + 200) {
80743
80613
  return tooltip.style("top", _d32['default'].event.pageY + 10 + "px").style("left", _d32['default'].event.pageX - 300 + "px");
80744
80614
  } else {
80745
80615
  return tooltip.style("top", _d32['default'].event.pageY + 10 + "px").style("left", _d32['default'].event.pageX + 10 + "px");
@@ -80753,11 +80623,16 @@ module.exports = _react2['default'].createClass({
80753
80623
 
80754
80624
  // set fixed height even if scaled to x %
80755
80625
  svg.selectAll("g.node rect").attr("height", this.props.rectHeight);
80756
- }).bind(this));
80626
+ }
80757
80627
 
80758
80628
  return _react2['default'].createElement(
80759
80629
  'div',
80760
- { className: 'nodeTree' },
80630
+ { ref: 'graphDiv', className: 'nodeTree' },
80631
+ _react2['default'].createElement(
80632
+ 'button',
80633
+ { onClick: this.refresh },
80634
+ 'refresh'
80635
+ ),
80761
80636
  _react2['default'].createElement(
80762
80637
  'svg',
80763
80638
  { ref: 'nodeTree' },