Showing preview only (4,333K chars total). Download the full file or copy to clipboard to get everything.
Repository: TheLarkInn/compare-webpack-target-bundles
Branch: master
Commit: 308458ad46bc
Files: 109
Total size: 4.1 MB
Directory structure:
gitextract_a82ramjw/
├── .gitignore
├── README.md
├── dep_one.js
├── dep_two.js
├── dist/
│ ├── async-node/
│ │ ├── 0.async-node.js
│ │ ├── 1.async-node.js
│ │ ├── 10.async-node.js
│ │ ├── 11.async-node.js
│ │ ├── 12.async-node.js
│ │ ├── 13.async-node.js
│ │ ├── 14.async-node.js
│ │ ├── 15.async-node.js
│ │ ├── 2.async-node.js
│ │ ├── 3.async-node.js
│ │ ├── 4.async-node.js
│ │ ├── 5.async-node.js
│ │ ├── 6.async-node.js
│ │ ├── 7.async-node.js
│ │ ├── 8.async-node.js
│ │ ├── 9.async-node.js
│ │ └── inline.js
│ ├── electron-main/
│ │ ├── 0.electron-main.js
│ │ ├── 1.electron-main.js
│ │ ├── 10.electron-main.js
│ │ ├── 11.electron-main.js
│ │ ├── 12.electron-main.js
│ │ ├── 13.electron-main.js
│ │ ├── 14.electron-main.js
│ │ ├── 15.electron-main.js
│ │ ├── 2.electron-main.js
│ │ ├── 3.electron-main.js
│ │ ├── 4.electron-main.js
│ │ ├── 5.electron-main.js
│ │ ├── 6.electron-main.js
│ │ ├── 7.electron-main.js
│ │ ├── 8.electron-main.js
│ │ ├── 9.electron-main.js
│ │ └── inline.js
│ ├── node/
│ │ ├── 0.node.js
│ │ ├── 1.node.js
│ │ ├── 10.node.js
│ │ ├── 11.node.js
│ │ ├── 12.node.js
│ │ ├── 13.node.js
│ │ ├── 14.node.js
│ │ ├── 15.node.js
│ │ ├── 2.node.js
│ │ ├── 3.node.js
│ │ ├── 4.node.js
│ │ ├── 5.node.js
│ │ ├── 6.node.js
│ │ ├── 7.node.js
│ │ ├── 8.node.js
│ │ ├── 9.node.js
│ │ └── inline.js
│ ├── node-webkit/
│ │ ├── 0.node-webkit.js
│ │ ├── 1.node-webkit.js
│ │ ├── 10.node-webkit.js
│ │ ├── 11.node-webkit.js
│ │ ├── 12.node-webkit.js
│ │ ├── 13.node-webkit.js
│ │ ├── 14.node-webkit.js
│ │ ├── 15.node-webkit.js
│ │ ├── 2.node-webkit.js
│ │ ├── 3.node-webkit.js
│ │ ├── 4.node-webkit.js
│ │ ├── 5.node-webkit.js
│ │ ├── 6.node-webkit.js
│ │ ├── 7.node-webkit.js
│ │ ├── 8.node-webkit.js
│ │ ├── 9.node-webkit.js
│ │ └── inline.js
│ ├── web/
│ │ ├── 0.web.js
│ │ ├── 1.web.js
│ │ ├── 10.web.js
│ │ ├── 11.web.js
│ │ ├── 12.web.js
│ │ ├── 13.web.js
│ │ ├── 14.web.js
│ │ ├── 15.web.js
│ │ ├── 2.web.js
│ │ ├── 3.web.js
│ │ ├── 4.web.js
│ │ ├── 5.web.js
│ │ ├── 6.web.js
│ │ ├── 7.web.js
│ │ ├── 8.web.js
│ │ ├── 9.web.js
│ │ └── inline.js
│ └── webworker/
│ ├── 0.webworker.js
│ ├── 1.webworker.js
│ ├── 10.webworker.js
│ ├── 11.webworker.js
│ ├── 12.webworker.js
│ ├── 13.webworker.js
│ ├── 14.webworker.js
│ ├── 15.webworker.js
│ ├── 2.webworker.js
│ ├── 3.webworker.js
│ ├── 4.webworker.js
│ ├── 5.webworker.js
│ ├── 6.webworker.js
│ ├── 7.webworker.js
│ ├── 8.webworker.js
│ ├── 9.webworker.js
│ └── inline.js
├── entry.js
├── package.json
└── webpack.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
/node_modules/
================================================
FILE: README.md
================================================
# compare-webpack-target-bundles
Example of webpack targets bundled into separate bundles.
## Overview
This repo is a super small playground for testing and learning how webpack output "templates" (shape of the bundle), vary between build targets.
Feel free to use this as you will. Can also serve a purpose for bug reporting.
## Usage
Clone the repo locally, `cd` into repo and run the following:
`$ npm install`
`$ npm start`
**Resulting bundles can be seen in the `dist` folder**
## Dist Table of Contents
* [web](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/web) <== DEFAULT
* [async-node](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/async-node)
* [electron-main](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/electron-main)
* [node-webkit](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/node-webkit)
* [node](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/node)
* [webworker](https://github.com/TheLarkInn/compare-webpack-target-bundles/tree/master/dist/webworker)
## tl;dr (Show me the config from right here):
```javascript
var path = require('path');
var webpack = require('webpack');
var webpackMerge = require('webpack-merge');
var baseConfig = {
target: 'async-node',
entry: {
entry: './entry.js'
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, './dist')
},
plugins: [
new webpack.optimize.CommonsChunkPlugin({
name: 'inline',
filename: 'inline.js',
minChunks: Infinity
}),
new webpack.optimize.AggressiveSplittingPlugin({
minSize: 5000,
maxSize: 10000
}),
]
};
let targets = ['web', 'webworker', 'node', 'async-node', 'node-webkit', 'electron-main'].map((target) => {
let base = webpackMerge(baseConfig, {
target: target,
output: {
path: path.resolve(__dirname, './dist/' + target),
filename: '[name].' + target + '.js'
}
});
return base;
});
module.exports = targets;
```
================================================
FILE: dep_one.js
================================================
const something = function() {
console.log("SOMETHING IS HAPPENING");
}
const foo = function() {
console.table("FOO IS HAPPENING HERE", "FOO", "FOO");
}
export {something, foo}
================================================
FILE: dep_two.js
================================================
export default function foo() {
console.log("DEFAULT EXPORT HELLOOOOO");
}
================================================
FILE: dist/async-node/0.async-node.js
================================================
exports.ids = [0,16];
exports.modules = {
/***/ 100:
/***/ function(module, exports) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
'use strict';
/**
* Gets the scroll position of the supplied element or window.
*
* The return values are unbounded, unlike `getScrollPosition`. This means they
* may be negative or exceed the element boundaries (which is possible using
* inertial scrolling).
*
* @param {DOMWindow|DOMElement} scrollable
* @return {object} Map with `x` and `y` keys.
*/
function getUnboundedScrollPosition(scrollable) {
if (scrollable === window) {
return {
x: window.pageXOffset || document.documentElement.scrollLeft,
y: window.pageYOffset || document.documentElement.scrollTop
};
}
return {
x: scrollable.scrollLeft,
y: scrollable.scrollTop
};
}
module.exports = getUnboundedScrollPosition;
/***/ },
/***/ 101:
/***/ function(module, exports) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
var _uppercasePattern = /([A-Z])/g;
/**
* Hyphenates a camelcased string, for example:
*
* > hyphenate('backgroundColor')
* < "background-color"
*
* For CSS style names, use `hyphenateStyleName` instead which works properly
* with all vendor prefixes, including `ms`.
*
* @param {string} string
* @return {string}
*/
function hyphenate(string) {
return string.replace(_uppercasePattern, '-$1').toLowerCase();
}
module.exports = hyphenate;
/***/ },
/***/ 102:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
'use strict';
var hyphenate = __webpack_require__(101);
var msPattern = /^ms-/;
/**
* Hyphenates a camelcased CSS property name, for example:
*
* > hyphenateStyleName('backgroundColor')
* < "background-color"
* > hyphenateStyleName('MozTransition')
* < "-moz-transition"
* > hyphenateStyleName('msTransition')
* < "-ms-transition"
*
* As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
* is converted to `-ms-`.
*
* @param {string} string
* @return {string}
*/
function hyphenateStyleName(string) {
return hyphenate(string).replace(msPattern, '-ms-');
}
module.exports = hyphenateStyleName;
/***/ },
/***/ 103:
/***/ function(module, exports) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
/**
* @param {*} object The object to check.
* @return {boolean} Whether or not the object is a DOM node.
*/
function isNode(object) {
return !!(object && (typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));
}
module.exports = isNode;
/***/ },
/***/ 104:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
var isNode = __webpack_require__(103);
/**
* @param {*} object The object to check.
* @return {boolean} Whether or not the object is a DOM text node.
*/
function isTextNode(object) {
return isNode(object) && object.nodeType == 3;
}
module.exports = isTextNode;
/***/ },
/***/ 105:
/***/ function(module, exports) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
* @typechecks static-only
*/
'use strict';
/**
* Memoizes the return value of a function that accepts one string argument.
*/
function memoizeStringOnly(callback) {
var cache = {};
return function (string) {
if (!cache.hasOwnProperty(string)) {
cache[string] = callback.call(this, string);
}
return cache[string];
};
}
module.exports = memoizeStringOnly;
/***/ },
/***/ 106:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var performance;
if (ExecutionEnvironment.canUseDOM) {
performance = window.performance || window.msPerformance || window.webkitPerformance;
}
module.exports = performance || {};
/***/ },
/***/ 107:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
var performance = __webpack_require__(106);
var performanceNow;
/**
* Detect if we can use `window.performance.now()` and gracefully fallback to
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
* because of Facebook's testing infrastructure.
*/
if (performance.now) {
performanceNow = function performanceNow() {
return performance.now();
};
} else {
performanceNow = function performanceNow() {
return Date.now();
};
}
module.exports = performanceNow;
/***/ },
/***/ 108:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule AutoFocusUtils
*/
'use strict';
var ReactDOMComponentTree = __webpack_require__(36);
var focusNode = __webpack_require__(72);
var AutoFocusUtils = {
focusDOMComponent: function () {
focusNode(ReactDOMComponentTree.getNodeFromInstance(this));
}
};
module.exports = AutoFocusUtils;
/***/ },
/***/ 109:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule BeforeInputEventPlugin
*/
'use strict';
var EventConstants = __webpack_require__(40);
var EventPropagators = __webpack_require__(46);
var ExecutionEnvironment = __webpack_require__(37);
var FallbackCompositionState = __webpack_require__(115);
var SyntheticCompositionEvent = __webpack_require__(156);
var SyntheticInputEvent = __webpack_require__(159);
var keyOf = __webpack_require__(20);
var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
var START_KEYCODE = 229;
var canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;
var documentMode = null;
if (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {
documentMode = document.documentMode;
}
// Webkit offers a very useful `textInput` event that can be used to
// directly represent `beforeInput`. The IE `textinput` event is not as
// useful, so we don't use it.
var canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();
// In IE9+, we have access to composition events, but the data supplied
// by the native compositionend event may be incorrect. Japanese ideographic
// spaces, for instance (\u3000) are not recorded correctly.
var useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);
/**
* Opera <= 12 includes TextEvent in window, but does not fire
* text input events. Rely on keypress instead.
*/
function isPresto() {
var opera = window.opera;
return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;
}
var SPACEBAR_CODE = 32;
var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);
var topLevelTypes = EventConstants.topLevelTypes;
// Events and their corresponding property names.
var eventTypes = {
beforeInput: {
phasedRegistrationNames: {
bubbled: keyOf({ onBeforeInput: null }),
captured: keyOf({ onBeforeInputCapture: null })
},
dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste]
},
compositionEnd: {
phasedRegistrationNames: {
bubbled: keyOf({ onCompositionEnd: null }),
captured: keyOf({ onCompositionEndCapture: null })
},
dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]
},
compositionStart: {
phasedRegistrationNames: {
bubbled: keyOf({ onCompositionStart: null }),
captured: keyOf({ onCompositionStartCapture: null })
},
dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]
},
compositionUpdate: {
phasedRegistrationNames: {
bubbled: keyOf({ onCompositionUpdate: null }),
captured: keyOf({ onCompositionUpdateCapture: null })
},
dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]
}
};
// Track whether we've ever handled a keypress on the space key.
var hasSpaceKeypress = false;
/**
* Return whether a native keypress event is assumed to be a command.
* This is required because Firefox fires `keypress` events for key commands
* (cut, copy, select-all, etc.) even though no character is inserted.
*/
function isKeypressCommand(nativeEvent) {
return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&
// ctrlKey && altKey is equivalent to AltGr, and is not a command.
!(nativeEvent.ctrlKey && nativeEvent.altKey);
}
/**
* Translate native top level events into event types.
*
* @param {string} topLevelType
* @return {object}
*/
function getCompositionEventType(topLevelType) {
switch (topLevelType) {
case topLevelTypes.topCompositionStart:
return eventTypes.compositionStart;
case topLevelTypes.topCompositionEnd:
return eventTypes.compositionEnd;
case topLevelTypes.topCompositionUpdate:
return eventTypes.compositionUpdate;
}
}
/**
* Does our fallback best-guess model think this event signifies that
* composition has begun?
*
* @param {string} topLevelType
* @param {object} nativeEvent
* @return {boolean}
*/
function isFallbackCompositionStart(topLevelType, nativeEvent) {
return topLevelType === topLevelTypes.topKeyDown && nativeEvent.keyCode === START_KEYCODE;
}
/**
* Does our fallback mode think that this event is the end of composition?
*
* @param {string} topLevelType
* @param {object} nativeEvent
* @return {boolean}
*/
function isFallbackCompositionEnd(topLevelType, nativeEvent) {
switch (topLevelType) {
case topLevelTypes.topKeyUp:
// Command keys insert or clear IME input.
return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
case topLevelTypes.topKeyDown:
// Expect IME keyCode on each keydown. If we get any other
// code we must have exited earlier.
return nativeEvent.keyCode !== START_KEYCODE;
case topLevelTypes.topKeyPress:
case topLevelTypes.topMouseDown:
case topLevelTypes.topBlur:
// Events are not possible without cancelling IME.
return true;
default:
return false;
}
}
/**
* Google Input Tools provides composition data via a CustomEvent,
* with the `data` property populated in the `detail` object. If this
* is available on the event object, use it. If not, this is a plain
* composition event and we have nothing special to extract.
*
* @param {object} nativeEvent
* @return {?string}
*/
function getDataFromCustomEvent(nativeEvent) {
var detail = nativeEvent.detail;
if (typeof detail === 'object' && 'data' in detail) {
return detail.data;
}
return null;
}
// Track the current IME composition fallback object, if any.
var currentComposition = null;
/**
* @return {?object} A SyntheticCompositionEvent.
*/
function extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
var eventType;
var fallbackData;
if (canUseCompositionEvent) {
eventType = getCompositionEventType(topLevelType);
} else if (!currentComposition) {
if (isFallbackCompositionStart(topLevelType, nativeEvent)) {
eventType = eventTypes.compositionStart;
}
} else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {
eventType = eventTypes.compositionEnd;
}
if (!eventType) {
return null;
}
if (useFallbackCompositionData) {
// The current composition is stored statically and must not be
// overwritten while composition continues.
if (!currentComposition && eventType === eventTypes.compositionStart) {
currentComposition = FallbackCompositionState.getPooled(nativeEventTarget);
} else if (eventType === eventTypes.compositionEnd) {
if (currentComposition) {
fallbackData = currentComposition.getData();
}
}
}
var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);
if (fallbackData) {
// Inject data generated from fallback path into the synthetic event.
// This matches the property of native CompositionEventInterface.
event.data = fallbackData;
} else {
var customData = getDataFromCustomEvent(nativeEvent);
if (customData !== null) {
event.data = customData;
}
}
EventPropagators.accumulateTwoPhaseDispatches(event);
return event;
}
/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {object} nativeEvent Native browser event.
* @return {?string} The string corresponding to this `beforeInput` event.
*/
function getNativeBeforeInputChars(topLevelType, nativeEvent) {
switch (topLevelType) {
case topLevelTypes.topCompositionEnd:
return getDataFromCustomEvent(nativeEvent);
case topLevelTypes.topKeyPress:
/**
* If native `textInput` events are available, our goal is to make
* use of them. However, there is a special case: the spacebar key.
* In Webkit, preventing default on a spacebar `textInput` event
* cancels character insertion, but it *also* causes the browser
* to fall back to its default spacebar behavior of scrolling the
* page.
*
* Tracking at:
* https://code.google.com/p/chromium/issues/detail?id=355103
*
* To avoid this issue, use the keypress event as if no `textInput`
* event is available.
*/
var which = nativeEvent.which;
if (which !== SPACEBAR_CODE) {
return null;
}
hasSpaceKeypress = true;
return SPACEBAR_CHAR;
case topLevelTypes.topTextInput:
// Record the characters to be added to the DOM.
var chars = nativeEvent.data;
// If it's a spacebar character, assume that we have already handled
// it at the keypress level and bail immediately. Android Chrome
// doesn't give us keycodes, so we need to blacklist it.
if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {
return null;
}
return chars;
default:
// For other native event types, do nothing.
return null;
}
}
/**
* For browsers that do not provide the `textInput` event, extract the
* appropriate string to use for SyntheticInputEvent.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {object} nativeEvent Native browser event.
* @return {?string} The fallback string for this `beforeInput` event.
*/
function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
// If we are currently composing (IME) and using a fallback to do so,
// try to extract the composed characters from the fallback object.
if (currentComposition) {
if (topLevelType === topLevelTypes.topCompositionEnd || isFallbackCompositionEnd(topLevelType, nativeEvent)) {
var chars = currentComposition.getData();
FallbackCompositionState.release(currentComposition);
currentComposition = null;
return chars;
}
return null;
}
switch (topLevelType) {
case topLevelTypes.topPaste:
// If a paste event occurs after a keypress, throw out the input
// chars. Paste events should not lead to BeforeInput events.
return null;
case topLevelTypes.topKeyPress:
/**
* As of v27, Firefox may fire keypress events even when no character
* will be inserted. A few possibilities:
*
* - `which` is `0`. Arrow keys, Esc key, etc.
*
* - `which` is the pressed key code, but no char is available.
* Ex: 'AltGr + d` in Polish. There is no modified character for
* this key combination and no character is inserted into the
* document, but FF fires the keypress for char code `100` anyway.
* No `input` event will occur.
*
* - `which` is the pressed key code, but a command combination is
* being used. Ex: `Cmd+C`. No character is inserted, and no
* `input` event will occur.
*/
if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {
return String.fromCharCode(nativeEvent.which);
}
return null;
case topLevelTypes.topCompositionEnd:
return useFallbackCompositionData ? null : nativeEvent.data;
default:
return null;
}
}
/**
* Extract a SyntheticInputEvent for `beforeInput`, based on either native
* `textInput` or fallback behavior.
*
* @return {?object} A SyntheticInputEvent.
*/
function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
var chars;
if (canUseTextInputEvent) {
chars = getNativeBeforeInputChars(topLevelType, nativeEvent);
} else {
chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);
}
// If no characters are being inserted, no BeforeInput event should
// be fired.
if (!chars) {
return null;
}
var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);
event.data = chars;
EventPropagators.accumulateTwoPhaseDispatches(event);
return event;
}
/**
* Create an `onBeforeInput` event to match
* http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.
*
* This event plugin is based on the native `textInput` event
* available in Chrome, Safari, Opera, and IE. This event fires after
* `onKeyPress` and `onCompositionEnd`, but before `onInput`.
*
* `beforeInput` is spec'd but not implemented in any browsers, and
* the `input` event does not provide any useful information about what has
* actually been added, contrary to the spec. Thus, `textInput` is the best
* available event to identify the characters that have actually been inserted
* into the target node.
*
* This plugin is also responsible for emitting `composition` events, thus
* allowing us to share composition fallback code for both `beforeInput` and
* `composition` event types.
*/
var BeforeInputEventPlugin = {
eventTypes: eventTypes,
extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)];
}
};
module.exports = BeforeInputEventPlugin;
/***/ },
/***/ 112:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Danger
*/
'use strict';
var _prodInvariant = __webpack_require__(3);
var DOMLazyTree = __webpack_require__(43);
var ExecutionEnvironment = __webpack_require__(37);
var createNodesFromMarkup = __webpack_require__(98);
var emptyFunction = __webpack_require__(6);
var invariant = __webpack_require__(1);
var Danger = {
/**
* Replaces a node with a string of markup at its current position within its
* parent. The markup must render into a single root node.
*
* @param {DOMElement} oldChild Child node to replace.
* @param {string} markup Markup to render in place of the child node.
* @internal
*/
dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {
!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.') : _prodInvariant('56') : void 0;
!markup ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0;
!(oldChild.nodeName !== '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().') : _prodInvariant('58') : void 0;
if (typeof markup === 'string') {
var newChild = createNodesFromMarkup(markup, emptyFunction)[0];
oldChild.parentNode.replaceChild(newChild, oldChild);
} else {
DOMLazyTree.replaceChildWithTree(oldChild, markup);
}
}
};
module.exports = Danger;
/***/ },
/***/ 30:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
module.exports = __webpack_require__(121);
/***/ },
/***/ 37:
/***/ function(module, exports) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
'use strict';
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
/**
* Simple, lightweight module assisting with the detection and context of
* Worker. Helps avoid circular dependencies and allows code to reason about
* whether or not they are in a Worker, even if they never include the main
* `ReactWorker` dependency.
*/
var ExecutionEnvironment = {
canUseDOM: canUseDOM,
canUseWorkers: typeof Worker !== 'undefined',
canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),
canUseViewport: canUseDOM && !!window.screen,
isInWorker: !canUseDOM // For now, this is true - might change in the future.
};
module.exports = ExecutionEnvironment;
/***/ },
/***/ 56:
/***/ function(module, exports) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*
*/
/*eslint-disable no-self-compare */
'use strict';
var hasOwnProperty = Object.prototype.hasOwnProperty;
/**
* inlined Object.is polyfill to avoid requiring consumers ship their own
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
*/
function is(x, y) {
// SameValue algorithm
if (x === y) {
// Steps 1-5, 7-10
// Steps 6.b-6.e: +0 != -0
return x !== 0 || 1 / x === 1 / y;
} else {
// Step 6.a: NaN == NaN
return x !== x && y !== y;
}
}
/**
* Performs equality by iterating through keys on an object and returning false
* when any key has values which are not strictly equal between the arguments.
* Returns true when the values of all keys are strictly equal.
*/
function shallowEqual(objA, objB) {
if (is(objA, objB)) {
return true;
}
if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
return false;
}
var keysA = Object.keys(objA);
var keysB = Object.keys(objB);
if (keysA.length !== keysB.length) {
return false;
}
// Test for A's keys different from B.
for (var i = 0; i < keysA.length; i++) {
if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
return false;
}
}
return true;
}
module.exports = shallowEqual;
/***/ },
/***/ 58:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMNamespaces
*/
'use strict';
var DOMNamespaces = {
html: 'http://www.w3.org/1999/xhtml',
mathml: 'http://www.w3.org/1998/Math/MathML',
svg: 'http://www.w3.org/2000/svg'
};
module.exports = DOMNamespaces;
/***/ },
/***/ 71:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @typechecks
*/
var emptyFunction = __webpack_require__(6);
/**
* Upstream version of event listener. Does not take into account specific
* nature of platform.
*/
var EventListener = {
/**
* Listen to DOM events during the bubble phase.
*
* @param {DOMEventTarget} target DOM element to register listener on.
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
* @param {function} callback Callback function.
* @return {object} Object with a `remove` method.
*/
listen: function listen(target, eventType, callback) {
if (target.addEventListener) {
target.addEventListener(eventType, callback, false);
return {
remove: function remove() {
target.removeEventListener(eventType, callback, false);
}
};
} else if (target.attachEvent) {
target.attachEvent('on' + eventType, callback);
return {
remove: function remove() {
target.detachEvent('on' + eventType, callback);
}
};
}
},
/**
* Listen to DOM events during the capture phase.
*
* @param {DOMEventTarget} target DOM element to register listener on.
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
* @param {function} callback Callback function.
* @return {object} Object with a `remove` method.
*/
capture: function capture(target, eventType, callback) {
if (target.addEventListener) {
target.addEventListener(eventType, callback, true);
return {
remove: function remove() {
target.removeEventListener(eventType, callback, true);
}
};
} else {
if (process.env.NODE_ENV !== 'production') {
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.');
}
return {
remove: emptyFunction
};
}
},
registerDefault: function registerDefault() {}
};
module.exports = EventListener;
/***/ },
/***/ 72:
/***/ function(module, exports) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
'use strict';
/**
* @param {DOMElement} node input/textarea to focus
*/
function focusNode(node) {
// IE8 can throw "Can't move focus to the control because it is invisible,
// not enabled, or of a type that does not accept the focus." for all kinds of
// reasons that are too expensive and fragile to test.
try {
node.focus();
} catch (e) {}
}
module.exports = focusNode;
/***/ },
/***/ 73:
/***/ function(module, exports) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
/* eslint-disable fb-www/typeof-undefined */
/**
* Same as document.activeElement but wraps in a try-catch block. In IE it is
* not safe to call document.activeElement if there is nothing focused.
*
* The activeElement will be null only if the document or document body is not
* yet defined.
*/
function getActiveElement() /*?DOMElement*/{
if (typeof document === 'undefined') {
return null;
}
try {
return document.activeElement || document.body;
} catch (e) {
return document.body;
}
}
module.exports = getActiveElement;
/***/ },
/***/ 74:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSProperty
*/
'use strict';
/**
* CSS properties which accept numbers but are not in units of "px".
*/
var isUnitlessNumber = {
animationIterationCount: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
columnCount: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
flexOrder: true,
gridRow: true,
gridColumn: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,
opacity: true,
order: true,
orphans: true,
tabSize: true,
widows: true,
zIndex: true,
zoom: true,
// SVG-related properties
fillOpacity: true,
floodOpacity: true,
stopOpacity: true,
strokeDasharray: true,
strokeDashoffset: true,
strokeMiterlimit: true,
strokeOpacity: true,
strokeWidth: true
};
/**
* @param {string} prefix vendor-specific prefix, eg: Webkit
* @param {string} key style name, eg: transitionDuration
* @return {string} style name prefixed with `prefix`, properly camelCased, eg:
* WebkitTransitionDuration
*/
function prefixKey(prefix, key) {
return prefix + key.charAt(0).toUpperCase() + key.substring(1);
}
/**
* Support style names that may come passed in prefixed by adding permutations
* of vendor prefixes.
*/
var prefixes = ['Webkit', 'ms', 'Moz', 'O'];
// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
// infinite loop, because it iterates over the newly added props too.
Object.keys(isUnitlessNumber).forEach(function (prop) {
prefixes.forEach(function (prefix) {
isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
});
});
/**
* Most style properties can be unset by doing .style[prop] = '' but IE8
* doesn't like doing that with shorthand properties so for the properties that
* IE8 breaks on, which are listed here, we instead unset each of the
* individual properties. See http://bugs.jquery.com/ticket/12385.
* The 4-value 'clock' properties like margin, padding, border-width seem to
* behave without any problems. Curiously, list-style works too without any
* special prodding.
*/
var shorthandPropertyExpansions = {
background: {
backgroundAttachment: true,
backgroundColor: true,
backgroundImage: true,
backgroundPositionX: true,
backgroundPositionY: true,
backgroundRepeat: true
},
backgroundPosition: {
backgroundPositionX: true,
backgroundPositionY: true
},
border: {
borderWidth: true,
borderStyle: true,
borderColor: true
},
borderBottom: {
borderBottomWidth: true,
borderBottomStyle: true,
borderBottomColor: true
},
borderLeft: {
borderLeftWidth: true,
borderLeftStyle: true,
borderLeftColor: true
},
borderRight: {
borderRightWidth: true,
borderRightStyle: true,
borderRightColor: true
},
borderTop: {
borderTopWidth: true,
borderTopStyle: true,
borderTopColor: true
},
font: {
fontStyle: true,
fontVariant: true,
fontWeight: true,
fontSize: true,
lineHeight: true,
fontFamily: true
},
outline: {
outlineWidth: true,
outlineStyle: true,
outlineColor: true
}
};
var CSSProperty = {
isUnitlessNumber: isUnitlessNumber,
shorthandPropertyExpansions: shorthandPropertyExpansions
};
module.exports = CSSProperty;
/***/ },
/***/ 75:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CallbackQueue
*/
'use strict';
var _prodInvariant = __webpack_require__(3),
_assign = __webpack_require__(4);
var PooledClass = __webpack_require__(21);
var invariant = __webpack_require__(1);
/**
* A specialized pseudo-event module to help keep track of components waiting to
* be notified when their DOM representations are available for use.
*
* This implements `PooledClass`, so you should never need to instantiate this.
* Instead, use `CallbackQueue.getPooled()`.
*
* @class ReactMountReady
* @implements PooledClass
* @internal
*/
function CallbackQueue() {
this._callbacks = null;
this._contexts = null;
}
_assign(CallbackQueue.prototype, {
/**
* Enqueues a callback to be invoked when `notifyAll` is invoked.
*
* @param {function} callback Invoked when `notifyAll` is invoked.
* @param {?object} context Context to call `callback` with.
* @internal
*/
enqueue: function (callback, context) {
this._callbacks = this._callbacks || [];
this._contexts = this._contexts || [];
this._callbacks.push(callback);
this._contexts.push(context);
},
/**
* Invokes all enqueued callbacks and clears the queue. This is invoked after
* the DOM representation of a component has been created or updated.
*
* @internal
*/
notifyAll: function () {
var callbacks = this._callbacks;
var contexts = this._contexts;
if (callbacks) {
!(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;
this._callbacks = null;
this._contexts = null;
for (var i = 0; i < callbacks.length; i++) {
callbacks[i].call(contexts[i]);
}
callbacks.length = 0;
contexts.length = 0;
}
},
checkpoint: function () {
return this._callbacks ? this._callbacks.length : 0;
},
rollback: function (len) {
if (this._callbacks) {
this._callbacks.length = len;
this._contexts.length = len;
}
},
/**
* Resets the internal queue.
*
* @internal
*/
reset: function () {
this._callbacks = null;
this._contexts = null;
},
/**
* `PooledClass` looks for this.
*/
destructor: function () {
this.reset();
}
});
PooledClass.addPoolingTo(CallbackQueue);
module.exports = CallbackQueue;
/***/ },
/***/ 94:
/***/ function(module, exports) {
"use strict";
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
var _hyphenPattern = /-(.)/g;
/**
* Camelcases a hyphenated string, for example:
*
* > camelize('background-color')
* < "backgroundColor"
*
* @param {string} string
* @return {string}
*/
function camelize(string) {
return string.replace(_hyphenPattern, function (_, character) {
return character.toUpperCase();
});
}
module.exports = camelize;
/***/ },
/***/ 95:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
'use strict';
var camelize = __webpack_require__(94);
var msPattern = /^-ms-/;
/**
* Camelcases a hyphenated CSS property name, for example:
*
* > camelizeStyleName('background-color')
* < "backgroundColor"
* > camelizeStyleName('-moz-transition')
* < "MozTransition"
* > camelizeStyleName('-ms-transition')
* < "msTransition"
*
* As Andi Smith suggests
* (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
* is converted to lowercase `ms`.
*
* @param {string} string
* @return {string}
*/
function camelizeStyleName(string) {
return camelize(string.replace(msPattern, 'ms-'));
}
module.exports = camelizeStyleName;
/***/ },
/***/ 96:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
*/
var isTextNode = __webpack_require__(104);
/*eslint-disable no-bitwise */
/**
* Checks if a given DOM node contains or is another DOM node.
*/
function containsNode(outerNode, innerNode) {
if (!outerNode || !innerNode) {
return false;
} else if (outerNode === innerNode) {
return true;
} else if (isTextNode(outerNode)) {
return false;
} else if (isTextNode(innerNode)) {
return containsNode(outerNode, innerNode.parentNode);
} else if ('contains' in outerNode) {
return outerNode.contains(innerNode);
} else if (outerNode.compareDocumentPosition) {
return !!(outerNode.compareDocumentPosition(innerNode) & 16);
} else {
return false;
}
}
module.exports = containsNode;
/***/ },
/***/ 97:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
var invariant = __webpack_require__(1);
/**
* Convert array-like objects to arrays.
*
* This API assumes the caller knows the contents of the data type. For less
* well defined inputs use createArrayFromMixed.
*
* @param {object|function|filelist} obj
* @return {array}
*/
function toArray(obj) {
var length = obj.length;
// Some browsers builtin objects can report typeof 'function' (e.g. NodeList
// in old versions of Safari).
!(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;
!(typeof length === 'number') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;
!(length === 0 || length - 1 in obj) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;
!(typeof obj.callee !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object can\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;
// Old IE doesn't give collections access to hasOwnProperty. Assume inputs
// without method will throw during the slice call and skip straight to the
// fallback.
if (obj.hasOwnProperty) {
try {
return Array.prototype.slice.call(obj);
} catch (e) {
// IE < 9 does not support Array#slice on collections objects
}
}
// Fall back to copying key by key. This assumes all keys have a value,
// so will not preserve sparsely populated inputs.
var ret = Array(length);
for (var ii = 0; ii < length; ii++) {
ret[ii] = obj[ii];
}
return ret;
}
/**
* Perform a heuristic test to determine if an object is "array-like".
*
* A monk asked Joshu, a Zen master, "Has a dog Buddha nature?"
* Joshu replied: "Mu."
*
* This function determines if its argument has "array nature": it returns
* true if the argument is an actual array, an `arguments' object, or an
* HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).
*
* It will return false for other array-like objects like Filelist.
*
* @param {*} obj
* @return {boolean}
*/
function hasArrayNature(obj) {
return (
// not null/false
!!obj && (
// arrays are objects, NodeLists are functions in Safari
typeof obj == 'object' || typeof obj == 'function') &&
// quacks like an array
'length' in obj &&
// not window
!('setInterval' in obj) &&
// no DOM node should be considered an array-like
// a 'select' element has 'length' and 'item' properties on IE8
typeof obj.nodeType != 'number' && (
// a real array
Array.isArray(obj) ||
// arguments
'callee' in obj ||
// HTMLCollection/NodeList
'item' in obj)
);
}
/**
* Ensure that the argument is an array by wrapping it in an array if it is not.
* Creates a copy of the argument if it is already an array.
*
* This is mostly useful idiomatically:
*
* var createArrayFromMixed = require('createArrayFromMixed');
*
* function takesOneOrMoreThings(things) {
* things = createArrayFromMixed(things);
* ...
* }
*
* This allows you to treat `things' as an array, but accept scalars in the API.
*
* If you need to convert an array-like object, like `arguments`, into an array
* use toArray instead.
*
* @param {*} obj
* @return {array}
*/
function createArrayFromMixed(obj) {
if (!hasArrayNature(obj)) {
return [obj];
} else if (Array.isArray(obj)) {
return obj.slice();
} else {
return toArray(obj);
}
}
module.exports = createArrayFromMixed;
/***/ },
/***/ 98:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
*/
/*eslint-disable fb-www/unsafe-html*/
var ExecutionEnvironment = __webpack_require__(37);
var createArrayFromMixed = __webpack_require__(97);
var getMarkupWrap = __webpack_require__(99);
var invariant = __webpack_require__(1);
/**
* Dummy container used to render all markup.
*/
var dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;
/**
* Pattern used by `getNodeName`.
*/
var nodeNamePattern = /^\s*<(\w+)/;
/**
* Extracts the `nodeName` of the first element in a string of markup.
*
* @param {string} markup String of markup.
* @return {?string} Node name of the supplied markup.
*/
function getNodeName(markup) {
var nodeNameMatch = markup.match(nodeNamePattern);
return nodeNameMatch && nodeNameMatch[1].toLowerCase();
}
/**
* Creates an array containing the nodes rendered from the supplied markup. The
* optionally supplied `handleScript` function will be invoked once for each
* <script> element that is rendered. If no `handleScript` function is supplied,
* an exception is thrown if any <script> elements are rendered.
*
* @param {string} markup A string of valid HTML markup.
* @param {?function} handleScript Invoked once for each rendered <script>.
* @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.
*/
function createNodesFromMarkup(markup, handleScript) {
var node = dummyNode;
!!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0;
var nodeName = getNodeName(markup);
var wrap = nodeName && getMarkupWrap(nodeName);
if (wrap) {
node.innerHTML = wrap[1] + markup + wrap[2];
var wrapDepth = wrap[0];
while (wrapDepth--) {
node = node.lastChild;
}
} else {
node.innerHTML = markup;
}
var scripts = node.getElementsByTagName('script');
if (scripts.length) {
!handleScript ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : void 0;
createArrayFromMixed(scripts).forEach(handleScript);
}
var nodes = Array.from(node.childNodes);
while (node.lastChild) {
node.removeChild(node.lastChild);
}
return nodes;
}
module.exports = createNodesFromMarkup;
/***/ },
/***/ 99:
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
/*eslint-disable fb-www/unsafe-html */
var ExecutionEnvironment = __webpack_require__(37);
var invariant = __webpack_require__(1);
/**
* Dummy container used to detect which wraps are necessary.
*/
var dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;
/**
* Some browsers cannot use `innerHTML` to render certain elements standalone,
* so we wrap them, render the wrapped nodes, then extract the desired node.
*
* In IE8, certain elements cannot render alone, so wrap all elements ('*').
*/
var shouldWrap = {};
var selectWrap = [1, '<select multiple="true">', '</select>'];
var tableWrap = [1, '<table>', '</table>'];
var trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];
var svgWrap = [1, '<svg xmlns="http://www.w3.org/2000/svg">', '</svg>'];
var markupWrap = {
'*': [1, '?<div>', '</div>'],
'area': [1, '<map>', '</map>'],
'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],
'legend': [1, '<fieldset>', '</fieldset>'],
'param': [1, '<object>', '</object>'],
'tr': [2, '<table><tbody>', '</tbody></table>'],
'optgroup': selectWrap,
'option': selectWrap,
'caption': tableWrap,
'colgroup': tableWrap,
'tbody': tableWrap,
'tfoot': tableWrap,
'thead': tableWrap,
'td': trWrap,
'th': trWrap
};
// Initialize the SVG elements since we know they'll always need to be wrapped
// consistently. If they are created inside a <div> they will be initialized in
// the wrong namespace (and will not display).
var svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan'];
svgElements.forEach(function (nodeName) {
markupWrap[nodeName] = svgWrap;
shouldWrap[nodeName] = true;
});
/**
* Gets the markup wrap configuration for the supplied `nodeName`.
*
* NOTE: This lazily detects which wraps are necessary for the current browser.
*
* @param {string} nodeName Lowercase `nodeName`.
* @return {?array} Markup wrap configuration, if applicable.
*/
function getMarkupWrap(nodeName) {
!!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : void 0;
if (!markupWrap.hasOwnProperty(nodeName)) {
nodeName = '*';
}
if (!shouldWrap.hasOwnProperty(nodeName)) {
if (nodeName === '*') {
dummyNode.innerHTML = '<link />';
} else {
dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';
}
shouldWrap[nodeName] = !dummyNode.firstChild;
}
return shouldWrap[nodeName] ? markupWrap[nodeName] : null;
}
module.exports = getMarkupWrap;
/***/ }
};;
================================================
FILE: dist/async-node/1.async-node.js
================================================
exports.ids = [1,16];
exports.modules = {
/***/ 166:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule findDOMNode
*/
'use strict';
var _prodInvariant = __webpack_require__(3);
var ReactCurrentOwner = __webpack_require__(5);
var ReactDOMComponentTree = __webpack_require__(36);
var ReactInstanceMap = __webpack_require__(47);
var getHostComponentFromComposite = __webpack_require__(89);
var invariant = __webpack_require__(1);
var warning = __webpack_require__(0);
/**
* Returns the DOM node rendered by this element.
*
* See https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode
*
* @param {ReactComponent|DOMElement} componentOrElement
* @return {?DOMElement} The root node of this element.
*/
function findDOMNode(componentOrElement) {
if (process.env.NODE_ENV !== 'production') {
var owner = ReactCurrentOwner.current;
if (owner !== null) {
process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing 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') : void 0;
owner._warnedAboutRefsInRender = true;
}
}
if (componentOrElement == null) {
return null;
}
if (componentOrElement.nodeType === 1) {
return componentOrElement;
}
var inst = ReactInstanceMap.get(componentOrElement);
if (inst) {
inst = getHostComponentFromComposite(inst);
return inst ? ReactDOMComponentTree.getNodeFromInstance(inst) : null;
}
if (typeof componentOrElement.render === 'function') {
true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'findDOMNode was called on an unmounted component.') : _prodInvariant('44') : void 0;
} else {
true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : _prodInvariant('45', Object.keys(componentOrElement)) : void 0;
}
}
module.exports = findDOMNode;
/***/ },
/***/ 167:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule flattenChildren
*
*/
'use strict';
var KeyEscapeUtils = __webpack_require__(22);
var traverseAllChildren = __webpack_require__(23);
var warning = __webpack_require__(0);
var ReactComponentTreeHook;
if (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {
// Temporary hack.
// Inline requires don't work well with Jest:
// https://github.com/facebook/react/issues/7240
// Remove the inline requires when we don't need them anymore:
// https://github.com/facebook/react/pull/7178
ReactComponentTreeHook = __webpack_require__(7);
}
/**
* @param {function} traverseContext Context passed through traversal.
* @param {?ReactComponent} child React child component.
* @param {!string} name String name of key path to child.
* @param {number=} selfDebugID Optional debugID of the current internal instance.
*/
function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {
// We found a component instance.
if (traverseContext && typeof traverseContext === 'object') {
var result = traverseContext;
var keyUnique = result[name] === undefined;
if (process.env.NODE_ENV !== 'production') {
if (!ReactComponentTreeHook) {
ReactComponentTreeHook = __webpack_require__(7);
}
if (!keyUnique) {
process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;
}
}
if (keyUnique && child != null) {
result[name] = child;
}
}
}
/**
* Flattens children that are typically specified as `props.children`. Any null
* children will not be included in the resulting object.
* @return {!object} flattened children keyed by name.
*/
function flattenChildren(children, selfDebugID) {
if (children == null) {
return children;
}
var result = {};
if (process.env.NODE_ENV !== 'production') {
traverseAllChildren(children, function (traverseContext, child, name) {
return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);
}, result);
} else {
traverseAllChildren(children, flattenSingleChildIntoContext, result);
}
return result;
}
module.exports = flattenChildren;
/***/ },
/***/ 168:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventKey
*/
'use strict';
var getEventCharCode = __webpack_require__(65);
/**
* Normalization of deprecated HTML5 `key` values
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
*/
var normalizeKey = {
'Esc': 'Escape',
'Spacebar': ' ',
'Left': 'ArrowLeft',
'Up': 'ArrowUp',
'Right': 'ArrowRight',
'Down': 'ArrowDown',
'Del': 'Delete',
'Win': 'OS',
'Menu': 'ContextMenu',
'Apps': 'ContextMenu',
'Scroll': 'ScrollLock',
'MozPrintableKey': 'Unidentified'
};
/**
* Translation from legacy `keyCode` to HTML5 `key`
* Only special keys supported, all others depend on keyboard layout or browser
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
*/
var translateToKey = {
8: 'Backspace',
9: 'Tab',
12: 'Clear',
13: 'Enter',
16: 'Shift',
17: 'Control',
18: 'Alt',
19: 'Pause',
20: 'CapsLock',
27: 'Escape',
32: ' ',
33: 'PageUp',
34: 'PageDown',
35: 'End',
36: 'Home',
37: 'ArrowLeft',
38: 'ArrowUp',
39: 'ArrowRight',
40: 'ArrowDown',
45: 'Insert',
46: 'Delete',
112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6',
118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12',
144: 'NumLock',
145: 'ScrollLock',
224: 'Meta'
};
/**
* @param {object} nativeEvent Native browser event.
* @return {string} Normalized `key` property.
*/
function getEventKey(nativeEvent) {
if (nativeEvent.key) {
// Normalize inconsistent values reported by browsers due to
// implementations of a working draft specification.
// FireFox implements `key` but returns `MozPrintableKey` for all
// printable characters (normalized to `Unidentified`), ignore it.
var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
if (key !== 'Unidentified') {
return key;
}
}
// Browser does not implement `key`, polyfill as much of it as we can.
if (nativeEvent.type === 'keypress') {
var charCode = getEventCharCode(nativeEvent);
// The enter-key is technically both printable and non-printable and can
// thus be captured by `keypress`, no other non-printable key should.
return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
}
if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
// While user keyboard layout determines the actual meaning of each
// `keyCode` value, almost all function keys have a universal value.
return translateToKey[nativeEvent.keyCode] || 'Unidentified';
}
return '';
}
module.exports = getEventKey;
/***/ },
/***/ 169:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getNodeForCharacterOffset
*/
'use strict';
/**
* Given any node return the first leaf node without children.
*
* @param {DOMElement|DOMTextNode} node
* @return {DOMElement|DOMTextNode}
*/
function getLeafNode(node) {
while (node && node.firstChild) {
node = node.firstChild;
}
return node;
}
/**
* Get the next sibling within a container. This will walk up the
* DOM if a node's siblings have been exhausted.
*
* @param {DOMElement|DOMTextNode} node
* @return {?DOMElement|DOMTextNode}
*/
function getSiblingNode(node) {
while (node) {
if (node.nextSibling) {
return node.nextSibling;
}
node = node.parentNode;
}
}
/**
* Get object describing the nodes which contain characters at offset.
*
* @param {DOMElement|DOMTextNode} root
* @param {number} offset
* @return {?object}
*/
function getNodeForCharacterOffset(root, offset) {
var node = getLeafNode(root);
var nodeStart = 0;
var nodeEnd = 0;
while (node) {
if (node.nodeType === 3) {
nodeEnd = nodeStart + node.textContent.length;
if (nodeStart <= offset && nodeEnd >= offset) {
return {
node: node,
offset: offset - nodeStart
};
}
nodeStart = nodeEnd;
}
node = getLeafNode(getSiblingNode(node));
}
}
module.exports = getNodeForCharacterOffset;
/***/ },
/***/ 170:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getVendorPrefixedEventName
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
/**
* Generate a mapping of standard vendor prefixes using the defined style property and event name.
*
* @param {string} styleProp
* @param {string} eventName
* @returns {object}
*/
function makePrefixMap(styleProp, eventName) {
var prefixes = {};
prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
prefixes['Webkit' + styleProp] = 'webkit' + eventName;
prefixes['Moz' + styleProp] = 'moz' + eventName;
prefixes['ms' + styleProp] = 'MS' + eventName;
prefixes['O' + styleProp] = 'o' + eventName.toLowerCase();
return prefixes;
}
/**
* A list of event names to a configurable list of vendor prefixes.
*/
var vendorPrefixes = {
animationend: makePrefixMap('Animation', 'AnimationEnd'),
animationiteration: makePrefixMap('Animation', 'AnimationIteration'),
animationstart: makePrefixMap('Animation', 'AnimationStart'),
transitionend: makePrefixMap('Transition', 'TransitionEnd')
};
/**
* Event names that have already been detected and prefixed (if applicable).
*/
var prefixedEventNames = {};
/**
* Element to check for prefixes on.
*/
var style = {};
/**
* Bootstrap if a DOM exists.
*/
if (ExecutionEnvironment.canUseDOM) {
style = document.createElement('div').style;
// On some platforms, in particular some releases of Android 4.x,
// the un-prefixed "animation" and "transition" properties are defined on the
// style object but the events that fire will still be prefixed, so we need
// to check if the un-prefixed events are usable, and if not remove them from the map.
if (!('AnimationEvent' in window)) {
delete vendorPrefixes.animationend.animation;
delete vendorPrefixes.animationiteration.animation;
delete vendorPrefixes.animationstart.animation;
}
// Same as above
if (!('TransitionEvent' in window)) {
delete vendorPrefixes.transitionend.transition;
}
}
/**
* Attempts to determine the correct vendor prefixed event name.
*
* @param {string} eventName
* @returns {string}
*/
function getVendorPrefixedEventName(eventName) {
if (prefixedEventNames[eventName]) {
return prefixedEventNames[eventName];
} else if (!vendorPrefixes[eventName]) {
return eventName;
}
var prefixMap = vendorPrefixes[eventName];
for (var styleProp in prefixMap) {
if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {
return prefixedEventNames[eventName] = prefixMap[styleProp];
}
}
return '';
}
module.exports = getVendorPrefixedEventName;
/***/ },
/***/ 171:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule quoteAttributeValueForBrowser
*/
'use strict';
var escapeTextContentForBrowser = __webpack_require__(54);
/**
* Escapes attribute value to prevent scripting attacks.
*
* @param {*} value Value to escape.
* @return {string} An escaped string.
*/
function quoteAttributeValueForBrowser(value) {
return '"' + escapeTextContentForBrowser(value) + '"';
}
module.exports = quoteAttributeValueForBrowser;
/***/ },
/***/ 172:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule renderSubtreeIntoContainer
*/
'use strict';
var ReactMount = __webpack_require__(83);
module.exports = ReactMount.renderSubtreeIntoContainer;
/***/ },
/***/ 55:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setInnerHTML
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var DOMNamespaces = __webpack_require__(58);
var WHITESPACE_TEST = /^[ \r\n\t\f]/;
var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/;
var createMicrosoftUnsafeLocalFunction = __webpack_require__(64);
// SVG temp container for IE lacking innerHTML
var reusableSVGContainer;
/**
* Set the innerHTML property of a node, ensuring that whitespace is preserved
* even in IE8.
*
* @param {DOMElement} node
* @param {string} html
* @internal
*/
var setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {
// IE does not have innerHTML for SVG nodes, so instead we inject the
// new markup in a temp node and then move the child nodes across into
// the target node
if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {
reusableSVGContainer = reusableSVGContainer || document.createElement('div');
reusableSVGContainer.innerHTML = '<svg>' + html + '</svg>';
var newNodes = reusableSVGContainer.firstChild.childNodes;
for (var i = 0; i < newNodes.length; i++) {
node.appendChild(newNodes[i]);
}
} else {
node.innerHTML = html;
}
});
if (ExecutionEnvironment.canUseDOM) {
// IE8: When updating a just created node with innerHTML only leading
// whitespace is removed. When updating an existing node with innerHTML
// whitespace in root TextNodes is also collapsed.
// @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html
// Feature detection; only IE8 is known to behave improperly like this.
var testElement = document.createElement('div');
testElement.innerHTML = ' ';
if (testElement.innerHTML === '') {
setInnerHTML = function (node, html) {
// Magic theory: IE8 supposedly differentiates between added and updated
// nodes when processing innerHTML, innerHTML on updated nodes suffers
// from worse whitespace behavior. Re-adding a node like this triggers
// the initial and more favorable whitespace behavior.
// TODO: What to do on a detached node?
if (node.parentNode) {
node.parentNode.replaceChild(node, node);
}
// We also implement a workaround for non-visible tags disappearing into
// thin air on IE8, this only happens if there is no visible text
// in-front of the non-visible tags. Piggyback on the whitespace fix
// and simply check if any non-visible tags appear in the source.
if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {
// Recover leading whitespace by temporarily prepending any character.
// \uFEFF has the potential advantage of being zero-width/invisible.
// UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode
// in hopes that this is preserved even if "\uFEFF" is transformed to
// the actual Unicode character (by Babel, for example).
// https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216
node.innerHTML = String.fromCharCode(0xFEFF) + html;
// deleteData leaves an empty `TextNode` which offsets the index of all
// children. Definitely want to avoid this.
var textNode = node.firstChild;
if (textNode.data.length === 1) {
node.removeChild(textNode);
} else {
textNode.deleteData(0, 1);
}
} else {
node.innerHTML = html;
}
};
}
testElement = null;
}
module.exports = setInnerHTML;
/***/ },
/***/ 65:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventCharCode
*/
'use strict';
/**
* `charCode` represents the actual "character code" and is safe to use with
* `String.fromCharCode`. As such, only keys that correspond to printable
* characters produce a valid `charCode`, the only exception to this is Enter.
* The Tab-key is considered non-printable and does not have a `charCode`,
* presumably because it does not produce a tab-character in browsers.
*
* @param {object} nativeEvent Native browser event.
* @return {number} Normalized `charCode` property.
*/
function getEventCharCode(nativeEvent) {
var charCode;
var keyCode = nativeEvent.keyCode;
if ('charCode' in nativeEvent) {
charCode = nativeEvent.charCode;
// FF does not set `charCode` for the Enter-key, check against `keyCode`.
if (charCode === 0 && keyCode === 13) {
charCode = 13;
}
} else {
// IE8 does not implement `charCode`, but `keyCode` has the correct value.
charCode = keyCode;
}
// Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
// Must not discard the (non-)printable Enter-key.
if (charCode >= 32 || charCode === 13) {
return charCode;
}
return 0;
}
module.exports = getEventCharCode;
/***/ },
/***/ 66:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventModifierState
*/
'use strict';
/**
* Translation from modifier key to the associated property in the event.
* @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
*/
var modifierKeyToProp = {
'Alt': 'altKey',
'Control': 'ctrlKey',
'Meta': 'metaKey',
'Shift': 'shiftKey'
};
// IE8 does not implement getModifierState so we simply map it to the only
// modifier keys exposed by the event itself, does not support Lock-keys.
// Currently, all major browsers except Chrome seems to support Lock-keys.
function modifierStateGetter(keyArg) {
var syntheticEvent = this;
var nativeEvent = syntheticEvent.nativeEvent;
if (nativeEvent.getModifierState) {
return nativeEvent.getModifierState(keyArg);
}
var keyProp = modifierKeyToProp[keyArg];
return keyProp ? !!nativeEvent[keyProp] : false;
}
function getEventModifierState(nativeEvent) {
return modifierStateGetter;
}
module.exports = getEventModifierState;
/***/ },
/***/ 67:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventTarget
*/
'use strict';
/**
* Gets the target node from a native browser event by accounting for
* inconsistencies in browser DOM APIs.
*
* @param {object} nativeEvent Native browser event.
* @return {DOMEventTarget} Target node.
*/
function getEventTarget(nativeEvent) {
var target = nativeEvent.target || nativeEvent.srcElement || window;
// Normalize SVG <use> element events #4963
if (target.correspondingUseElement) {
target = target.correspondingUseElement;
}
// Safari may fire events on text nodes (Node.TEXT_NODE is 3).
// @see http://www.quirksmode.org/js/events_properties.html
return target.nodeType === 3 ? target.parentNode : target;
}
module.exports = getEventTarget;
/***/ },
/***/ 68:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isEventSupported
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var useHasFeature;
if (ExecutionEnvironment.canUseDOM) {
useHasFeature = document.implementation && document.implementation.hasFeature &&
// always returns true in newer browsers as per the standard.
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
document.implementation.hasFeature('', '') !== true;
}
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function isEventSupported(eventNameSuffix, capture) {
if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {
return false;
}
var eventName = 'on' + eventNameSuffix;
var isSupported = eventName in document;
if (!isSupported) {
var element = document.createElement('div');
element.setAttribute(eventName, 'return;');
isSupported = typeof element[eventName] === 'function';
}
if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
// This is the only way to test support for the `wheel` event in IE9+.
isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
}
return isSupported;
}
module.exports = isEventSupported;
/***/ },
/***/ 69:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shouldUpdateReactComponent
*/
'use strict';
/**
* Given a `prevElement` and `nextElement`, determines if the existing
* instance should be updated as opposed to being destroyed or replaced by a new
* instance. Both arguments are elements. This ensures that this logic can
* operate on stateless trees without any backing instance.
*
* @param {?object} prevElement
* @param {?object} nextElement
* @return {boolean} True if the existing instance should be updated.
* @protected
*/
function shouldUpdateReactComponent(prevElement, nextElement) {
var prevEmpty = prevElement === null || prevElement === false;
var nextEmpty = nextElement === null || nextElement === false;
if (prevEmpty || nextEmpty) {
return prevEmpty === nextEmpty;
}
var prevType = typeof prevElement;
var nextType = typeof nextElement;
if (prevType === 'string' || prevType === 'number') {
return nextType === 'string' || nextType === 'number';
} else {
return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;
}
}
module.exports = shouldUpdateReactComponent;
/***/ },
/***/ 70:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule validateDOMNesting
*/
'use strict';
var _assign = __webpack_require__(4);
var emptyFunction = __webpack_require__(6);
var warning = __webpack_require__(0);
var validateDOMNesting = emptyFunction;
if (process.env.NODE_ENV !== 'production') {
// This validation code was written based on the HTML5 parsing spec:
// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
//
// Note: this does not catch all invalid nesting, nor does it try to (as it's
// not clear what practical benefit doing so provides); instead, we warn only
// for cases where the parser will give a parse tree differing from what React
// intended. For example, <b><div></div></b> is invalid but we don't warn
// because it still parses correctly; we do warn for other cases like nested
// <p> tags where the beginning of the second element implicitly closes the
// first, causing a confusing mess.
// https://html.spec.whatwg.org/multipage/syntax.html#special
var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];
// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',
// https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
// TODO: Distinguish by namespace here -- for <title>, including it here
// errs on the side of fewer warnings
'foreignObject', 'desc', 'title'];
// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope
var buttonScopeTags = inScopeTags.concat(['button']);
// https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags
var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];
var emptyAncestorInfo = {
current: null,
formTag: null,
aTagInScope: null,
buttonTagInScope: null,
nobrTagInScope: null,
pTagInButtonScope: null,
listItemTagAutoclosing: null,
dlItemTagAutoclosing: null
};
var updatedAncestorInfo = function (oldInfo, tag, instance) {
var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);
var info = { tag: tag, instance: instance };
if (inScopeTags.indexOf(tag) !== -1) {
ancestorInfo.aTagInScope = null;
ancestorInfo.buttonTagInScope = null;
ancestorInfo.nobrTagInScope = null;
}
if (buttonScopeTags.indexOf(tag) !== -1) {
ancestorInfo.pTagInButtonScope = null;
}
// See rules for 'li', 'dd', 'dt' start tags in
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {
ancestorInfo.listItemTagAutoclosing = null;
ancestorInfo.dlItemTagAutoclosing = null;
}
ancestorInfo.current = info;
if (tag === 'form') {
ancestorInfo.formTag = info;
}
if (tag === 'a') {
ancestorInfo.aTagInScope = info;
}
if (tag === 'button') {
ancestorInfo.buttonTagInScope = info;
}
if (tag === 'nobr') {
ancestorInfo.nobrTagInScope = info;
}
if (tag === 'p') {
ancestorInfo.pTagInButtonScope = info;
}
if (tag === 'li') {
ancestorInfo.listItemTagAutoclosing = info;
}
if (tag === 'dd' || tag === 'dt') {
ancestorInfo.dlItemTagAutoclosing = info;
}
return ancestorInfo;
};
/**
* Returns whether
*/
var isTagValidWithParent = function (tag, parentTag) {
// First, let's check if we're in an unusual parsing mode...
switch (parentTag) {
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
case 'select':
return tag === 'option' || tag === 'optgroup' || tag === '#text';
case 'optgroup':
return tag === 'option' || tag === '#text';
// Strictly speaking, seeing an <option> doesn't mean we're in a <select>
// but
case 'option':
return tag === '#text';
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
// No special behavior since these rules fall back to "in body" mode for
// all except special table nodes which cause bad parsing behavior anyway.
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
case 'tr':
return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
case 'tbody':
case 'thead':
case 'tfoot':
return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
case 'colgroup':
return tag === 'col' || tag === 'template';
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
case 'table':
return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
case 'head':
return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';
// https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
case 'html':
return tag === 'head' || tag === 'body';
case '#document':
return tag === 'html';
}
// Probably in the "in body" parsing mode, so we outlaw only tag combos
// where the parsing rules cause implicit opens or closes to be added.
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
switch (tag) {
case 'h1':
case 'h2':
case 'h3':
case 'h4':
case 'h5':
case 'h6':
return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';
case 'rp':
case 'rt':
return impliedEndTags.indexOf(parentTag) === -1;
case 'body':
case 'caption':
case 'col':
case 'colgroup':
case 'frame':
case 'head':
case 'html':
case 'tbody':
case 'td':
case 'tfoot':
case 'th':
case 'thead':
case 'tr':
// These tags are only valid with a few parents that have special child
// parsing rules -- if we're down here, then none of those matched and
// so we allow it only if we don't know what the parent is, as all other
// cases are invalid.
return parentTag == null;
}
return true;
};
/**
* Returns whether
*/
var findInvalidAncestorForTag = function (tag, ancestorInfo) {
switch (tag) {
case 'address':
case 'article':
case 'aside':
case 'blockquote':
case 'center':
case 'details':
case 'dialog':
case 'dir':
case 'div':
case 'dl':
case 'fieldset':
case 'figcaption':
case 'figure':
case 'footer':
case 'header':
case 'hgroup':
case 'main':
case 'menu':
case 'nav':
case 'ol':
case 'p':
case 'section':
case 'summary':
case 'ul':
case 'pre':
case 'listing':
case 'table':
case 'hr':
case 'xmp':
case 'h1':
case 'h2':
case 'h3':
case 'h4':
case 'h5':
case 'h6':
return ancestorInfo.pTagInButtonScope;
case 'form':
return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;
case 'li':
return ancestorInfo.listItemTagAutoclosing;
case 'dd':
case 'dt':
return ancestorInfo.dlItemTagAutoclosing;
case 'button':
return ancestorInfo.buttonTagInScope;
case 'a':
// Spec says something about storing a list of markers, but it sounds
// equivalent to this check.
return ancestorInfo.aTagInScope;
case 'nobr':
return ancestorInfo.nobrTagInScope;
}
return null;
};
/**
* Given a ReactCompositeComponent instance, return a list of its recursive
* owners, starting at the root and ending with the instance itself.
*/
var findOwnerStack = function (instance) {
if (!instance) {
return [];
}
var stack = [];
do {
stack.push(instance);
} while (instance = instance._currentElement._owner);
stack.reverse();
return stack;
};
var didWarn = {};
validateDOMNesting = function (childTag, childInstance, ancestorInfo) {
ancestorInfo = ancestorInfo || emptyAncestorInfo;
var parentInfo = ancestorInfo.current;
var parentTag = parentInfo && parentInfo.tag;
var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;
var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);
var problematic = invalidParent || invalidAncestor;
if (problematic) {
var ancestorTag = problematic.tag;
var ancestorInstance = problematic.instance;
var childOwner = childInstance && childInstance._currentElement._owner;
var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;
var childOwners = findOwnerStack(childOwner);
var ancestorOwners = findOwnerStack(ancestorOwner);
var minStackLen = Math.min(childOwners.length, ancestorOwners.length);
var i;
var deepestCommon = -1;
for (i = 0; i < minStackLen; i++) {
if (childOwners[i] === ancestorOwners[i]) {
deepestCommon = i;
} else {
break;
}
}
var UNKNOWN = '(unknown)';
var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {
return inst.getName() || UNKNOWN;
});
var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {
return inst.getName() || UNKNOWN;
});
var ownerInfo = [].concat(
// If the parent and child instances have a common owner ancestor, start
// with that -- otherwise we just start with the parent's owners.
deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,
// If we're warning about an invalid (non-parent) ancestry, add '...'
invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');
var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;
if (didWarn[warnKey]) {
return;
}
didWarn[warnKey] = true;
var tagDisplayName = childTag;
if (childTag !== '#text') {
tagDisplayName = '<' + childTag + '>';
}
if (invalidParent) {
var info = '';
if (ancestorTag === 'table' && childTag === 'tr') {
info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';
}
process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>. ' + 'See %s.%s', tagDisplayName, ancestorTag, ownerInfo, info) : void 0;
} else {
process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;
}
}
};
validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;
// For testing
validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {
ancestorInfo = ancestorInfo || emptyAncestorInfo;
var parentInfo = ancestorInfo.current;
var parentTag = parentInfo && parentInfo.tag;
return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);
};
}
module.exports = validateDOMNesting;
/***/ },
/***/ 88:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule forEachAccumulated
*
*/
'use strict';
/**
* @param {array} arr an "accumulation" of items which is either an Array or
* a single item. Useful when paired with the `accumulate` module. This is a
* simple utility that allows us to reason about a collection of items, but
* handling the case when there is exactly one item (and we do not need to
* allocate an array).
*/
function forEachAccumulated(arr, cb, scope) {
if (Array.isArray(arr)) {
arr.forEach(cb, scope);
} else if (arr) {
cb.call(scope, arr);
}
}
module.exports = forEachAccumulated;
/***/ },
/***/ 89:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getHostComponentFromComposite
*/
'use strict';
var ReactNodeTypes = __webpack_require__(85);
function getHostComponentFromComposite(inst) {
var type;
while ((type = inst._renderedNodeType) === ReactNodeTypes.COMPOSITE) {
inst = inst._renderedComponent;
}
if (type === ReactNodeTypes.HOST) {
return inst._renderedComponent;
} else if (type === ReactNodeTypes.EMPTY) {
return null;
}
}
module.exports = getHostComponentFromComposite;
/***/ },
/***/ 90:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getTextContentAccessor
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var contentKey = null;
/**
* Gets the key used to access text content on a DOM node.
*
* @return {?string} Key used to access text content.
* @internal
*/
function getTextContentAccessor() {
if (!contentKey && ExecutionEnvironment.canUseDOM) {
// Prefer textContent to innerText because many browsers support both but
// SVG <text> elements don't support innerText even when <div> does.
contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';
}
return contentKey;
}
module.exports = getTextContentAccessor;
/***/ },
/***/ 91:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule instantiateReactComponent
*/
'use strict';
var _prodInvariant = __webpack_require__(3),
_assign = __webpack_require__(4);
var ReactCompositeComponent = __webpack_require__(120);
var ReactEmptyComponent = __webpack_require__(79);
var ReactHostComponent = __webpack_require__(81);
var invariant = __webpack_require__(1);
var warning = __webpack_require__(0);
// To avoid a cyclic dependency, we create the final class in this module
var ReactCompositeComponentWrapper = function (element) {
this.construct(element);
};
_assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent.Mixin, {
_instantiateReactComponent: instantiateReactComponent
});
function getDeclarationErrorAddendum(owner) {
if (owner) {
var name = owner.getName();
if (name) {
return ' Check the render method of `' + name + '`.';
}
}
return '';
}
/**
* Check if the type reference is a known internal type. I.e. not a user
* provided composite type.
*
* @param {function} type
* @return {boolean} Returns true if this is a valid internal type.
*/
function isInternalComponentType(type) {
return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';
}
var nextDebugID = 1;
/**
* Given a ReactNode, create an instance that will actually be mounted.
*
* @param {ReactNode} node
* @param {boolean} shouldHaveDebugID
* @return {object} A new instance of the element's constructor.
* @protected
*/
function instantiateReactComponent(node, shouldHaveDebugID) {
var instance;
if (node === null || node === false) {
instance = ReactEmptyComponent.create(instantiateReactComponent);
} else if (typeof node === 'object') {
var element = node;
!(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)) : _prodInvariant('130', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : void 0;
// Special case string values
if (typeof element.type === 'string') {
instance = ReactHostComponent.createInternalComponent(element);
} else if (isInternalComponentType(element.type)) {
// This is temporarily available for custom components that are not string
// representations. I.e. ART. Once those are updated to use the string
// representation, we can drop this code path.
instance = new element.type(element);
// We renamed this. Allow the old name for compat. :(
if (!instance.getHostNode) {
instance.getHostNode = instance.getNativeNode;
}
} else {
instance = new ReactCompositeComponentWrapper(element);
}
} else if (typeof node === 'string' || typeof node === 'number') {
instance = ReactHostComponent.createInstanceForText(node);
} else {
true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : _prodInvariant('131', typeof node) : void 0;
}
if (process.env.NODE_ENV !== 'production') {
process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;
}
// These two fields are used by the DOM and ART diffing algorithms
// respectively. Instead of using expandos on components, we should be
// storing the state needed by the diffing algorithms elsewhere.
instance._mountIndex = 0;
instance._mountImage = null;
if (process.env.NODE_ENV !== 'production') {
instance._debugID = shouldHaveDebugID ? nextDebugID++ : 0;
}
// Internal instances should fully constructed at this point, so they should
// not get any new fields added to them at this point.
if (process.env.NODE_ENV !== 'production') {
if (Object.preventExtensions) {
Object.preventExtensions(instance);
}
}
return instance;
}
module.exports = instantiateReactComponent;
/***/ },
/***/ 92:
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isTextInputElement
*
*/
'use strict';
/**
* @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
*/
var supportedInputTypes = {
'color': true,
'date': true,
'datetime': true,
'datetime-local': true,
'email': true,
'month': true,
'number': true,
'password': true,
'range': true,
'search': true,
'tel': true,
'text': true,
'time': true,
'url': true,
'week': true
};
function isTextInputElement(elem) {
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
if (nodeName === 'input') {
return !!supportedInputTypes[elem.type];
}
if (nodeName === 'textarea') {
return true;
}
return false;
}
module.exports = isTextInputElement;
/***/ },
/***/ 93:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setTextContent
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var escapeTextContentForBrowser = __webpack_require__(54);
var setInnerHTML = __webpack_require__(55);
/**
* Set the textContent property of a node, ensuring that whitespace is preserved
* even in IE8. innerText is a poor substitute for textContent and, among many
* issues, inserts <br> instead of the literal newline chars. innerHTML behaves
* as it should.
*
* @param {DOMElement} node
* @param {string} text
* @internal
*/
var setTextContent = function (node, text) {
if (text) {
var firstChild = node.firstChild;
if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {
firstChild.nodeValue = text;
return;
}
}
node.textContent = text;
};
if (ExecutionEnvironment.canUseDOM) {
if (!('textContent' in document.documentElement)) {
setTextContent = function (node, text) {
setInnerHTML(node, escapeTextContentForBrowser(text));
};
}
}
module.exports = setTextContent;
/***/ }
};;
================================================
FILE: dist/async-node/10.async-node.js
================================================
exports.ids = [10,16];
exports.modules = {
/***/ 120:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCompositeComponent
*/
'use strict';
var _prodInvariant = __webpack_require__(3),
_assign = __webpack_require__(4);
var ReactComponentEnvironment = __webpack_require__(61);
var ReactCurrentOwner = __webpack_require__(5);
var ReactElement = __webpack_require__(2);
var ReactErrorUtils = __webpack_require__(62);
var ReactInstanceMap = __webpack_require__(47);
var ReactInstrumentation = __webpack_require__(38);
var ReactNodeTypes = __webpack_require__(85);
var ReactPropTypeLocations = __webpack_require__(15);
var ReactReconciler = __webpack_require__(44);
var checkReactTypeSpec = __webpack_require__(28);
var emptyObject = __webpack_require__(8);
var invariant = __webpack_require__(1);
var shallowEqual = __webpack_require__(56);
var shouldUpdateReactComponent = __webpack_require__(69);
var warning = __webpack_require__(0);
var CompositeTypes = {
ImpureClass: 0,
PureClass: 1,
StatelessFunctional: 2
};
function StatelessComponent(Component) {}
StatelessComponent.prototype.render = function () {
var Component = ReactInstanceMap.get(this)._currentElement.type;
var element = Component(this.props, this.context, this.updater);
warnIfInvalidElement(Component, element);
return element;
};
function warnIfInvalidElement(Component, element) {
if (process.env.NODE_ENV !== 'production') {
process.env.NODE_ENV !== 'production' ? warning(element === null || element === false || ReactElement.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0;
process.env.NODE_ENV !== 'production' ? warning(!Component.childContextTypes, '%s(...): childContextTypes cannot be defined on a functional component.', Component.displayName || Component.name || 'Component') : void 0;
}
}
function invokeComponentDidMountWithTimer() {
var publicInstance = this._instance;
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentDidMount');
}
publicInstance.componentDidMount();
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentDidMount');
}
}
function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevContext) {
var publicInstance = this._instance;
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentDidUpdate');
}
publicInstance.componentDidUpdate(prevProps, prevState, prevContext);
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentDidUpdate');
}
}
function shouldConstruct(Component) {
return !!(Component.prototype && Component.prototype.isReactComponent);
}
function isPureComponent(Component) {
return !!(Component.prototype && Component.prototype.isPureReactComponent);
}
/**
* ------------------ The Life-Cycle of a Composite Component ------------------
*
* - constructor: Initialization of state. The instance is now retained.
* - componentWillMount
* - render
* - [children's constructors]
* - [children's componentWillMount and render]
* - [children's componentDidMount]
* - componentDidMount
*
* Update Phases:
* - componentWillReceiveProps (only called if parent updated)
* - shouldComponentUpdate
* - componentWillUpdate
* - render
* - [children's constructors or receive props phases]
* - componentDidUpdate
*
* - componentWillUnmount
* - [children's componentWillUnmount]
* - [children destroyed]
* - (destroyed): The instance is now blank, released by React and ready for GC.
*
* -----------------------------------------------------------------------------
*/
/**
* An incrementing ID assigned to each component when it is mounted. This is
* used to enforce the order in which `ReactUpdates` updates dirty components.
*
* @private
*/
var nextMountID = 1;
/**
* @lends {ReactCompositeComponent.prototype}
*/
var ReactCompositeComponentMixin = {
/**
* Base constructor for all composite component.
*
* @param {ReactElement} element
* @final
* @internal
*/
construct: function (element) {
this._currentElement = element;
this._rootNodeID = 0;
this._compositeType = null;
this._instance = null;
this._hostParent = null;
this._hostContainerInfo = null;
// See ReactUpdateQueue
this._updateBatchNumber = null;
this._pendingElement = null;
this._pendingStateQueue = null;
this._pendingReplaceState = false;
this._pendingForceUpdate = false;
this._renderedNodeType = null;
this._renderedComponent = null;
this._context = null;
this._mountOrder = 0;
this._topLevelWrapper = null;
// See ReactUpdates and ReactUpdateQueue.
this._pendingCallbacks = null;
// ComponentWillUnmount shall only be called once
this._calledComponentWillUnmount = false;
if (process.env.NODE_ENV !== 'production') {
this._warnedAboutRefsInRender = false;
}
},
/**
* Initializes the component, renders markup, and registers event listeners.
*
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {?object} hostParent
* @param {?object} hostContainerInfo
* @param {?object} context
* @return {?string} Rendered markup to be inserted into the DOM.
* @final
* @internal
*/
mountComponent: function (transaction, hostParent, hostContainerInfo, context) {
this._context = context;
this._mountOrder = nextMountID++;
this._hostParent = hostParent;
this._hostContainerInfo = hostContainerInfo;
var publicProps = this._currentElement.props;
var publicContext = this._processContext(context);
var Component = this._currentElement.type;
var updateQueue = transaction.getUpdateQueue();
// Initialize the public class
var doConstruct = shouldConstruct(Component);
var inst = this._constructComponent(doConstruct, publicProps, publicContext, updateQueue);
var renderedElement;
// Support functional components
if (!doConstruct && (inst == null || inst.render == null)) {
renderedElement = inst;
warnIfInvalidElement(Component, renderedElement);
!(inst === null || inst === false || ReactElement.isValidElement(inst)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : _prodInvariant('105', Component.displayName || Component.name || 'Component') : void 0;
inst = new StatelessComponent(Component);
this._compositeType = CompositeTypes.StatelessFunctional;
} else {
if (isPureComponent(Component)) {
this._compositeType = CompositeTypes.PureClass;
} else {
this._compositeType = CompositeTypes.ImpureClass;
}
}
if (process.env.NODE_ENV !== 'production') {
// This will throw later in _renderValidatedComponent, but add an early
// warning now to help debugging
if (inst.render == null) {
process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', Component.displayName || Component.name || 'Component') : void 0;
}
var propsMutated = inst.props !== publicProps;
var componentName = Component.displayName || Component.name || 'Component';
process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + 'up the same props that your component\'s constructor was passed.', componentName, componentName) : void 0;
}
// These should be set up in the constructor, but as a convenience for
// simpler class abstractions, we set them up after the fact.
inst.props = publicProps;
inst.context = publicContext;
inst.refs = emptyObject;
inst.updater = updateQueue;
this._instance = inst;
// Store a reference from the instance back to the internal representation
ReactInstanceMap.set(inst, this);
if (process.env.NODE_ENV !== 'production') {
// Since plain JS classes are defined without any special initialization
// logic, we can not catch common errors early. Therefore, we have to
// catch them here, at initialization time, instead.
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') : void 0;
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') : void 0;
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') : void 0;
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') : void 0;
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') : void 0;
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') : void 0;
process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : void 0;
}
var initialState = inst.state;
if (initialState === undefined) {
inst.state = initialState = null;
}
!(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') : _prodInvariant('106', this.getName() || 'ReactCompositeComponent') : void 0;
this._pendingStateQueue = null;
this._pendingReplaceState = false;
this._pendingForceUpdate = false;
var markup;
if (inst.unstable_handleError) {
markup = this.performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context);
} else {
markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);
}
if (inst.componentDidMount) {
if (process.env.NODE_ENV !== 'production') {
transaction.getReactMountReady().enqueue(invokeComponentDidMountWithTimer, this);
} else {
transaction.getReactMountReady().enqueue(inst.componentDidMount, inst);
}
}
return markup;
},
_constructComponent: function (doConstruct, publicProps, publicContext, updateQueue) {
if (process.env.NODE_ENV !== 'production') {
ReactCurrentOwner.current = this;
try {
return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);
} finally {
ReactCurrentOwner.current = null;
}
} else {
return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);
}
},
_constructComponentWithoutOwner: function (doConstruct, publicProps, publicContext, updateQueue) {
var Component = this._currentElement.type;
var instanceOrElement;
if (doConstruct) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'ctor');
}
}
instanceOrElement = new Component(publicProps, publicContext, updateQueue);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'ctor');
}
}
} else {
// This can still be an instance in case of factory components
// but we'll count this as time spent rendering as the more common case.
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'render');
}
}
instanceOrElement = Component(publicProps, publicContext, updateQueue);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'render');
}
}
}
return instanceOrElement;
},
performInitialMountWithErrorHandling: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {
var markup;
var checkpoint = transaction.checkpoint();
try {
markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);
} catch (e) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onError();
}
}
// Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint
transaction.rollback(checkpoint);
this._instance.unstable_handleError(e);
if (this._pendingStateQueue) {
this._instance.state = this._processPendingState(this._instance.props, this._instance.context);
}
checkpoint = transaction.checkpoint();
this._renderedComponent.unmountComponent(true);
transaction.rollback(checkpoint);
// Try again - we've informed the component about the error, so they can render an error message this time.
// If this throws again, the error will bubble up (and can be caught by a higher error boundary).
markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);
}
return markup;
},
performInitialMount: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {
var inst = this._instance;
if (inst.componentWillMount) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentWillMount');
}
}
inst.componentWillMount();
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentWillMount');
}
}
// When mounting, calls to `setState` by `componentWillMount` will set
// `this._pendingStateQueue` without triggering a re-render.
if (this._pendingStateQueue) {
inst.state = this._processPendingState(inst.props, inst.context);
}
}
// If not a stateless component, we now render
if (renderedElement === undefined) {
renderedElement = this._renderValidatedComponent();
}
var nodeType = ReactNodeTypes.getType(renderedElement);
this._renderedNodeType = nodeType;
var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
);
this._renderedComponent = child;
var selfDebugID = 0;
if (process.env.NODE_ENV !== 'production') {
selfDebugID = this._debugID;
}
var markup = ReactReconciler.mountComponent(child, transaction, hostParent, hostContainerInfo, this._processChildContext(context), selfDebugID);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onSetChildren(this._debugID, child._debugID !== 0 ? [child._debugID] : []);
}
}
return markup;
},
getHostNode: function () {
return ReactReconciler.getHostNode(this._renderedComponent);
},
/**
* Releases any resources allocated by `mountComponent`.
*
* @final
* @internal
*/
unmountComponent: function (safely) {
if (!this._renderedComponent) {
return;
}
var inst = this._instance;
if (inst.componentWillUnmount && !inst._calledComponentWillUnmount) {
inst._calledComponentWillUnmount = true;
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentWillUnmount');
}
}
if (safely) {
var name = this.getName() + '.componentWillUnmount()';
ReactErrorUtils.invokeGuardedCallback(name, inst.componentWillUnmount.bind(inst));
} else {
inst.componentWillUnmount();
}
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentWillUnmount');
}
}
}
if (this._renderedComponent) {
ReactReconciler.unmountComponent(this._renderedComponent, safely);
this._renderedNodeType = null;
this._renderedComponent = null;
this._instance = null;
}
// Reset pending fields
// Even if this component is scheduled for another update in ReactUpdates,
// it would still be ignored because these fields are reset.
this._pendingStateQueue = null;
this._pendingReplaceState = false;
this._pendingForceUpdate = false;
this._pendingCallbacks = null;
this._pendingElement = null;
// These fields do not really need to be reset since this object is no
// longer accessible.
this._context = null;
this._rootNodeID = 0;
this._topLevelWrapper = null;
// Delete the reference from the instance to this internal representation
// which allow the internals to be properly cleaned up even if the user
// leaks a reference to the public instance.
ReactInstanceMap.remove(inst);
// Some existing components rely on inst.props even after they've been
// destroyed (in event handlers).
// TODO: inst.props = null;
// TODO: inst.state = null;
// TODO: inst.context = null;
},
/**
* Filters the context object to only contain keys specified in
* `contextTypes`
*
* @param {object} context
* @return {?object}
* @private
*/
_maskContext: function (context) {
var Component = this._currentElement.type;
var contextTypes = Component.contextTypes;
if (!contextTypes) {
return emptyObject;
}
var maskedContext = {};
for (var contextName in contextTypes) {
maskedContext[contextName] = context[contextName];
}
return maskedContext;
},
/**
* Filters the context object to only contain keys specified in
* `contextTypes`, and asserts that they are valid.
*
* @param {object} context
* @return {?object}
* @private
*/
_processContext: function (context) {
var maskedContext = this._maskContext(context);
if (process.env.NODE_ENV !== 'production') {
var Component = this._currentElement.type;
if (Component.contextTypes) {
this._checkContextTypes(Component.contextTypes, maskedContext, ReactPropTypeLocations.context);
}
}
return maskedContext;
},
/**
* @param {object} currentContext
* @return {object}
* @private
*/
_processChildContext: function (currentContext) {
var Component = this._currentElement.type;
var inst = this._instance;
if (process.env.NODE_ENV !== 'production') {
ReactInstrumentation.debugTool.onBeginProcessingChildContext();
}
var childContext = inst.getChildContext && inst.getChildContext();
if (process.env.NODE_ENV !== 'production') {
ReactInstrumentation.debugTool.onEndProcessingChildContext();
}
if (childContext) {
!(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0;
if (process.env.NODE_ENV !== 'production') {
this._checkContextTypes(Component.childContextTypes, childContext, ReactPropTypeLocations.childContext);
}
for (var name in childContext) {
!(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0;
}
return _assign({}, currentContext, childContext);
}
return currentContext;
},
/**
* Assert that the context types are valid
*
* @param {object} typeSpecs Map of context field to a ReactPropType
* @param {object} values Runtime values that need to be type-checked
* @param {string} location e.g. "prop", "context", "child context"
* @private
*/
_checkContextTypes: function (typeSpecs, values, location) {
checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);
},
receiveComponent: function (nextElement, transaction, nextContext) {
var prevElement = this._currentElement;
var prevContext = this._context;
this._pendingElement = null;
this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext);
},
/**
* If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`
* is set, update the component.
*
* @param {ReactReconcileTransaction} transaction
* @internal
*/
performUpdateIfNecessary: function (transaction) {
if (this._pendingElement != null) {
ReactReconciler.receiveComponent(this, this._pendingElement, transaction, this._context);
} else if (this._pendingStateQueue !== null || this._pendingForceUpdate) {
this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context);
} else {
this._updateBatchNumber = null;
}
},
/**
* Perform an update to a mounted component. The componentWillReceiveProps and
* shouldComponentUpdate methods are called, then (assuming the update isn't
* skipped) the remaining update lifecycle methods are called and the DOM
* representation is updated.
*
* By default, this implements React's rendering and reconciliation algorithm.
* Sophisticated clients may wish to override this.
*
* @param {ReactReconcileTransaction} transaction
* @param {ReactElement} prevParentElement
* @param {ReactElement} nextParentElement
* @internal
* @overridable
*/
updateComponent: function (transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) {
var inst = this._instance;
!(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Attempted to update component `%s` that has already been unmounted (or failed to mount).', this.getName() || 'ReactCompositeComponent') : _prodInvariant('136', this.getName() || 'ReactCompositeComponent') : void 0;
var willReceive = false;
var nextContext;
// Determine if the context has changed or not
if (this._context === nextUnmaskedContext) {
nextContext = inst.context;
} else {
nextContext = this._processContext(nextUnmaskedContext);
willReceive = true;
}
var prevProps = prevParentElement.props;
var nextProps = nextParentElement.props;
// Not a simple state update but a props update
if (prevParentElement !== nextParentElement) {
willReceive = true;
}
// An update here will schedule an update but immediately set
// _pendingStateQueue which will ensure that any state updates gets
// immediately reconciled instead of waiting for the next batch.
if (willReceive && inst.componentWillReceiveProps) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentWillReceiveProps');
}
}
inst.componentWillReceiveProps(nextProps, nextContext);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentWillReceiveProps');
}
}
}
var nextState = this._processPendingState(nextProps, nextContext);
var shouldUpdate = true;
if (!this._pendingForceUpdate) {
if (inst.shouldComponentUpdate) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'shouldComponentUpdate');
}
}
shouldUpdate = inst.shouldComponentUpdate(nextProps, nextState, nextContext);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'shouldComponentUpdate');
}
}
} else {
if (this._compositeType === CompositeTypes.PureClass) {
shouldUpdate = !shallowEqual(prevProps, nextProps) || !shallowEqual(inst.state, nextState);
}
}
}
if (process.env.NODE_ENV !== 'production') {
process.env.NODE_ENV !== 'production' ? warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : void 0;
}
this._updateBatchNumber = null;
if (shouldUpdate) {
this._pendingForceUpdate = false;
// Will set `this.props`, `this.state` and `this.context`.
this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext);
} else {
// If it's determined that a component should not update, we still want
// to set props and state but we shortcut the rest of the update.
this._currentElement = nextParentElement;
this._context = nextUnmaskedContext;
inst.props = nextProps;
inst.state = nextState;
inst.context = nextContext;
}
},
_processPendingState: function (props, context) {
var inst = this._instance;
var queue = this._pendingStateQueue;
var replace = this._pendingReplaceState;
this._pendingReplaceState = false;
this._pendingStateQueue = null;
if (!queue) {
return inst.state;
}
if (replace && queue.length === 1) {
return queue[0];
}
var nextState = _assign({}, replace ? queue[0] : inst.state);
for (var i = replace ? 1 : 0; i < queue.length; i++) {
var partial = queue[i];
_assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial);
}
return nextState;
},
/**
* Merges new props and state, notifies delegate methods of update and
* performs update.
*
* @param {ReactElement} nextElement Next element
* @param {object} nextProps Next public object to set as properties.
* @param {?object} nextState Next object to set as state.
* @param {?object} nextContext Next public object to set as context.
* @param {ReactReconcileTransaction} transaction
* @param {?object} unmaskedContext
* @private
*/
_performComponentUpdate: function (nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) {
var inst = this._instance;
var hasComponentDidUpdate = Boolean(inst.componentDidUpdate);
var prevProps;
var prevState;
var prevContext;
if (hasComponentDidUpdate) {
prevProps = inst.props;
prevState = inst.state;
prevContext = inst.context;
}
if (inst.componentWillUpdate) {
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'componentWillUpdate');
}
}
inst.componentWillUpdate(nextProps, nextState, nextContext);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'componentWillUpdate');
}
}
}
this._currentElement = nextElement;
this._context = unmaskedContext;
inst.props = nextProps;
inst.state = nextState;
inst.context = nextContext;
this._updateRenderedComponent(transaction, unmaskedContext);
if (hasComponentDidUpdate) {
if (process.env.NODE_ENV !== 'production') {
transaction.getReactMountReady().enqueue(invokeComponentDidUpdateWithTimer.bind(this, prevProps, prevState, prevContext), this);
} else {
transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst);
}
}
},
/**
* Call the component's `render` method and update the DOM accordingly.
*
* @param {ReactReconcileTransaction} transaction
* @internal
*/
_updateRenderedComponent: function (transaction, context) {
var prevComponentInstance = this._renderedComponent;
var prevRenderedElement = prevComponentInstance._currentElement;
var nextRenderedElement = this._renderValidatedComponent();
if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) {
ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context));
} else {
var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);
ReactReconciler.unmountComponent(prevComponentInstance, false);
var nodeType = ReactNodeTypes.getType(nextRenderedElement);
this._renderedNodeType = nodeType;
var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */
);
this._renderedComponent = child;
var selfDebugID = 0;
if (process.env.NODE_ENV !== 'production') {
selfDebugID = this._debugID;
}
var nextMarkup = ReactReconciler.mountComponent(child, transaction, this._hostParent, this._hostContainerInfo, this._processChildContext(context), selfDebugID);
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onSetChildren(this._debugID, child._debugID !== 0 ? [child._debugID] : []);
}
}
this._replaceNodeWithMarkup(oldHostNode, nextMarkup, prevComponentInstance);
}
},
/**
* Overridden in shallow rendering.
*
* @protected
*/
_replaceNodeWithMarkup: function (oldHostNode, nextMarkup, prevInstance) {
ReactComponentEnvironment.replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance);
},
/**
* @protected
*/
_renderValidatedComponentWithoutOwnerOrContext: function () {
var inst = this._instance;
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onBeginLifeCycleTimer(this._debugID, 'render');
}
}
var renderedComponent = inst.render();
if (process.env.NODE_ENV !== 'production') {
if (this._debugID !== 0) {
ReactInstrumentation.debugTool.onEndLifeCycleTimer(this._debugID, 'render');
}
}
if (process.env.NODE_ENV !== 'production') {
// We allow auto-mocks to proceed as if they're returning null.
if (renderedComponent === undefined && inst.render._isMockFunction) {
// This is probably bad practice. Consider warning here and
// deprecating this convenience.
renderedComponent = null;
}
}
return renderedComponent;
},
/**
* @private
*/
_renderValidatedComponent: function () {
var renderedComponent;
if (process.env.NODE_ENV !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {
ReactCurrentOwner.current = this;
try {
renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();
} finally {
ReactCurrentOwner.current = null;
}
} else {
renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();
}
!(
// TODO: An `isValidNode` function would probably be more appropriate
renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : _prodInvariant('109', this.getName() || 'ReactCompositeComponent') : void 0;
return renderedComponent;
},
/**
* Lazily allocates the refs object and stores `component` as `ref`.
*
* @param {string} ref Reference name.
* @param {component} component Component to store as `ref`.
* @final
* @private
*/
attachRef: function (ref, component) {
var inst = this.getPublicInstance();
!(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : _prodInvariant('110') : void 0;
var publicComponentInstance = component.getPublicInstance();
if (process.env.NODE_ENV !== 'production') {
var componentName = component && component.getName ? component.getName() : 'a component';
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()) : void 0;
}
var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;
refs[ref] = publicComponentInstance;
},
/**
* Detaches a reference name.
*
* @param {string} ref Name to dereference.
* @final
* @private
*/
detachRef: function (ref) {
var refs = this.getPublicInstance().refs;
delete refs[ref];
},
/**
* Get a text description of the component that can be used to identify it
* in error messages.
* @return {string} The name or null.
* @internal
*/
getName: function () {
var type = this._currentElement.type;
var constructor = this._instance && this._instance.constructor;
return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null;
},
/**
* Get the publicly accessible representation of this component - i.e. what
* is exposed by refs and returned by render. Can be null for stateless
* components.
*
* @return {ReactComponent} the public component instance.
* @internal
*/
getPublicInstance: function () {
var inst = this._instance;
if (this._compositeType === CompositeTypes.StatelessFunctional) {
return null;
}
return inst;
},
// Stub
_instantiateReactComponent: null
};
var ReactCompositeComponent = {
Mixin: ReactCompositeComponentMixin
};
module.exports = ReactCompositeComponent;
/***/ },
/***/ 129:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMNullInputValuePropHook
*/
'use strict';
var ReactComponentTreeHook = __webpack_require__(7);
var warning = __webpack_require__(0);
var didWarnValueNull = false;
function handleElement(debugID, element) {
if (element == null) {
return;
}
if (element.type !== 'input' && element.type !== 'textarea' && element.type !== 'select') {
return;
}
if (element.props != null && element.props.value === null && !didWarnValueNull) {
process.env.NODE_ENV !== 'production' ? warning(false, '`value` prop on `%s` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.%s', element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;
didWarnValueNull = true;
}
}
var ReactDOMNullInputValuePropHook = {
onBeforeMountComponent: function (debugID, element) {
handleElement(debugID, element);
},
onBeforeUpdateComponent: function (debugID, element) {
handleElement(debugID, element);
}
};
module.exports = ReactDOMNullInputValuePropHook;
/***/ },
/***/ 130:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMOption
*/
'use strict';
var _assign = __webpack_require__(4);
var ReactChildren = __webpack_require__(24);
var ReactDOMComponentTree = __webpack_require__(36);
var ReactDOMSelect = __webpack_require__(78);
var warning = __webpack_require__(0);
var didWarnInvalidOptionChildren = false;
function flattenChildren(children) {
var content = '';
// Flatten children and warn if they aren't strings or numbers;
// invalid types are ignored.
ReactChildren.forEach(children, function (child) {
if (child == null) {
return;
}
if (typeof child === 'string' || typeof child === 'number') {
content += child;
} else if (!didWarnInvalidOptionChildren) {
didWarnInvalidOptionChildren = true;
process.env.NODE_ENV !== 'production' ? warning(false, 'Only strings and numbers are supported as <option> children.') : void 0;
}
});
return content;
}
/**
* Implements an <option> host component that warns when `selected` is set.
*/
var ReactDOMOption = {
mountWrapper: function (inst, props, hostParent) {
// TODO (yungsters): Remove support for `selected` in <option>.
if (process.env.NODE_ENV !== 'production') {
process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : void 0;
}
// Look up whether this option is 'selected'
var selectValue = null;
if (hostParent != null) {
var selectParent = hostParent;
if (selectParent._tag === 'optgroup') {
selectParent = selectParent._hostParent;
}
if (selectParent != null && selectParent._tag === 'select') {
selectValue = ReactDOMSelect.getSelectValueContext(selectParent);
}
}
// If the value is null (e.g., no specified value or after initial mount)
// or missing (e.g., for <datalist>), we don't change props.selected
var selected = null;
if (selectValue != null) {
var value;
if (props.value != null) {
value = props.value + '';
} else {
value = flattenChildren(props.children);
}
selected = false;
if (Array.isArray(selectValue)) {
// multiple
for (var i = 0; i < selectValue.length; i++) {
if ('' + selectValue[i] === value) {
selected = true;
break;
}
}
} else {
selected = '' + selectValue === value;
}
}
inst._wrapperState = { selected: selected };
},
postMountWrapper: function (inst) {
// value="" should make a value attribute (#6219)
var props = inst._currentElement.props;
if (props.value != null) {
var node = ReactDOMComponentTree.getNodeFromInstance(inst);
node.setAttribute('value', props.value);
}
},
getHostProps: function (inst, props) {
var hostProps = _assign({ selected: undefined, children: undefined }, props);
// Read state only from initial mount because <select> updates value
// manually; we need the initial state only for server rendering
if (inst._wrapperState.selected != null) {
hostProps.selected = inst._wrapperState.selected;
}
var content = flattenChildren(props.children);
if (content) {
hostProps.children = content;
}
return hostProps;
}
};
module.exports = ReactDOMOption;
/***/ },
/***/ 139:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEventEmitterMixin
*/
'use strict';
var EventPluginHub = __webpack_require__(45);
function runEventQueueInBatch(events) {
EventPluginHub.enqueueEvents(events);
EventPluginHub.processEventQueue(false);
}
var ReactEventEmitterMixin = {
/**
* Streams a fired top-level event to `EventPluginHub` where plugins have the
* opportunity to create `ReactEvent`s to be dispatched.
*/
handleTopLevel: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);
runEventQueueInBatch(events);
}
};
module.exports = ReactEventEmitterMixin;
/***/ },
/***/ 78:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelect
*/
'use strict';
var _assign = __webpack_require__(4);
var DisabledInputUtils = __webpack_require__(50);
var LinkedValueUtils = __webpack_require__(60);
var ReactDOMComponentTree = __webpack_require__(36);
var ReactUpdates = __webpack_require__(39);
var warning = __webpack_require__(0);
var didWarnValueLink = false;
var didWarnValueDefaultValue = false;
function updateOptionsIfPendingUpdateAndMounted() {
if (this._rootNodeID && this._wrapperState.pendingUpdate) {
this._wrapperState.pendingUpdate = false;
var props = this._currentElement.props;
var value = LinkedValueUtils.getValue(props);
if (value != null) {
updateOptions(this, Boolean(props.multiple), value);
}
}
}
function getDeclarationErrorAddendum(owner) {
if (owner) {
var name = owner.getName();
if (name) {
return ' Check the render method of `' + name + '`.';
}
}
return '';
}
var valuePropNames = ['value', 'defaultValue'];
/**
* Validation function for `value` and `defaultValue`.
* @private
*/
function checkSelectPropTypes(inst, props) {
var owner = inst._currentElement._owner;
LinkedValueUtils.checkPropTypes('select', props, owner);
if (props.valueLink !== undefined && !didWarnValueLink) {
process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;
didWarnValueLink = true;
}
for (var i = 0; i < valuePropNames.length; i++) {
var propName = valuePropNames[i];
if (props[propName] == null) {
continue;
}
var isArray = Array.isArray(props[propName]);
if (props.multiple && !isArray) {
process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;
} else if (!props.multiple && isArray) {
process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;
}
}
}
/**
* @param {ReactDOMComponent} inst
* @param {boolean} multiple
* @param {*} propValue A stringable (with `multiple`, a list of stringables).
* @private
*/
function updateOptions(inst, multiple, propValue) {
var selectedValue, i;
var options = ReactDOMComponentTree.getNodeFromInstance(inst).options;
if (multiple) {
selectedValue = {};
for (i = 0; i < propValue.length; i++) {
selectedValue['' + propValue[i]] = true;
}
for (i = 0; i < options.length; i++) {
var selected = selectedValue.hasOwnProperty(options[i].value);
if (options[i].selected !== selected) {
options[i].selected = selected;
}
}
} else {
// Do not set `select.value` as exact behavior isn't consistent across all
// browsers for all cases.
selectedValue = '' + propValue;
for (i = 0; i < options.length; i++) {
if (options[i].value === selectedValue) {
options[i].selected = true;
return;
}
}
if (options.length) {
options[0].selected = true;
}
}
}
/**
* Implements a <select> host component that allows optionally setting the
* props `value` and `defaultValue`. If `multiple` is false, the prop must be a
* stringable. If `multiple` is true, the prop must be an array of stringables.
*
* If `value` is not supplied (or null/undefined), user actions that change the
* selected option will trigger updates to the rendered options.
*
* If it is supplied (and not null/undefined), the rendered options will not
* update in response to user actions. Instead, the `value` prop must change in
* order for the rendered options to update.
*
* If `defaultValue` is provided, any options with the supplied values will be
* selected.
*/
var ReactDOMSelect = {
getHostProps: function (inst, props) {
return _assign({}, DisabledInputUtils.getHostProps(inst, props), {
onChange: inst._wrapperState.onChange,
value: undefined
});
},
mountWrapper: function (inst, props) {
if (process.env.NODE_ENV !== 'production') {
checkSelectPropTypes(inst, props);
}
var value = LinkedValueUtils.getValue(props);
inst._wrapperState = {
pendingUpdate: false,
initialValue: value != null ? value : props.defaultValue,
listeners: null,
onChange: _handleChange.bind(inst),
wasMultiple: Boolean(props.multiple)
};
if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {
process.env.NODE_ENV !== 'production' ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;
didWarnValueDefaultValue = true;
}
},
getSelectValueContext: function (inst) {
// ReactDOMOption looks at this initial value so the initial generated
// markup has correct `selected` attributes
return inst._wrapperState.initialValue;
},
postUpdateWrapper: function (inst) {
var props = inst._currentElement.props;
// After the initial mount, we control selected-ness manually so don't pass
// this value down
inst._wrapperState.initialValue = undefined;
var wasMultiple = inst._wrapperState.wasMultiple;
inst._wrapperState.wasMultiple = Boolean(props.multiple);
var value = LinkedValueUtils.getValue(props);
if (value != null) {
inst._wrapperState.pendingUpdate = false;
updateOptions(inst, Boolean(props.multiple), value);
} else if (wasMultiple !== Boolean(props.multiple)) {
// For simplicity, reapply `defaultValue` if `multiple` is toggled.
if (props.defaultValue != null) {
updateOptions(inst, Boolean(props.multiple), props.defaultValue);
} else {
// Revert the select back to its default unselected state.
updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');
}
}
}
};
function _handleChange(event) {
var props = this._currentElement.props;
var returnValue = LinkedValueUtils.executeOnChange(props, event);
if (this._rootNodeID) {
this._wrapperState.pendingUpdate = true;
}
ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);
return returnValue;
}
module.exports = ReactDOMSelect;
/***/ }
};;
================================================
FILE: dist/async-node/11.async-node.js
================================================
exports.ids = [11,16];
exports.modules = {
/***/ 123:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMComponent
*/
/* global hasOwnProperty:true */
'use strict';
var _prodInvariant = __webpack_require__(3),
_assign = __webpack_require__(4);
var AutoFocusUtils = __webpack_require__(108);
var CSSPropertyOperations = __webpack_require__(110);
var DOMLazyTree = __webpack_require__(43);
var DOMNamespaces = __webpack_require__(58);
var DOMProperty = __webpack_require__(42);
var DOMPropertyOperations = __webpack_require__(76);
var EventConstants = __webpack_require__(40);
var EventPluginHub = __webpack_require__(45);
var EventPluginRegistry = __webpack_require__(51);
var ReactBrowserEventEmitter = __webpack_require__(52);
var ReactDOMButton = __webpack_require__(122);
var ReactDOMComponentFlags = __webpack_require__(77);
var ReactDOMComponentTree = __webpack_require__(36);
var ReactDOMInput = __webpack_require__(128);
var ReactDOMOption = __webpack_require__(130);
var ReactDOMSelect = __webpack_require__(78);
var ReactDOMTextarea = __webpack_require__(133);
var ReactInstrumentation = __webpack_require__(38);
var ReactMultiChild = __webpack_require__(145);
var ReactServerRenderingTransaction = __webpack_require__(149);
var emptyFunction = __webpack_require__(6);
var escapeTextContentForBrowser = __webpack_require__(54);
var invariant = __webpack_require__(1);
var isEventSupported = __webpack_require__(68);
var keyOf = __webpack_require__(20);
var shallowEqual = __webpack_require__(56);
var validateDOMNesting = __webpack_require__(70);
var warning = __webpack_require__(0);
var Flags = ReactDOMComponentFlags;
var deleteListener = EventPluginHub.deleteListener;
var getNode = ReactDOMComponentTree.getNodeFromInstance;
var listenTo = ReactBrowserEventEmitter.listenTo;
var registrationNameModules = EventPluginRegistry.registrationNameModules;
// For quickly matching children type, to test if can be treated as content.
var CONTENT_TYPES = { 'string': true, 'number': true };
var STYLE = keyOf({ style: null });
var HTML = keyOf({ __html: null });
var RESERVED_PROPS = {
children: null,
dangerouslySetInnerHTML: null,
suppressContentEditableWarning: null
};
// Node type for document fragments (Node.DOCUMENT_FRAGMENT_NODE).
var DOC_FRAGMENT_TYPE = 11;
function getDeclarationErrorAddendum(internalInstance) {
if (internalInstance) {
var owner = internalInstance._currentElement._owner || null;
if (owner) {
var name = owner.getName();
if (name) {
return ' This DOM node was rendered by `' + name + '`.';
}
}
}
return '';
}
function friendlyStringify(obj) {
if (typeof obj === 'object') {
if (Array.isArray(obj)) {
return '[' + obj.map(friendlyStringify).join(', ') + ']';
} else {
var pairs = [];
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var keyEscaped = /^[a-z$_][\w$_]*$/i.test(key) ? key : JSON.stringify(key);
pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key]));
}
}
return '{' + pairs.join(', ') + '}';
}
} else if (typeof obj === 'string') {
return JSON.stringify(obj);
} else if (typeof obj === 'function') {
return '[function object]';
}
// Differs from JSON.stringify in that undefined because undefined and that
// inf and nan don't become null
return String(obj);
}
var styleMutationWarning = {};
function checkAndWarnForMutatedStyle(style1, style2, component) {
if (style1 == null || style2 == null) {
return;
}
if (shallowEqual(style1, style2)) {
return;
}
var componentName = component._tag;
var owner = component._currentElement._owner;
var ownerName;
if (owner) {
ownerName = owner.getName();
}
var hash = ownerName + '|' + componentName;
if (styleMutationWarning.hasOwnProperty(hash)) {
return;
}
styleMutationWarning[hash] = true;
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)) : void 0;
}
/**
* @param {object} component
* @param {?object} props
*/
function assertValidProps(component, props) {
if (!props) {
return;
}
// Note the use of `==` which checks for null or undefined.
if (voidElementTags[component._tag]) {
!(props.children == null && props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;
}
if (props.dangerouslySetInnerHTML != null) {
!(props.children == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;
!(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.') : _prodInvariant('61') : void 0;
}
if (process.env.NODE_ENV !== 'production') {
process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : void 0;
process.env.NODE_ENV !== 'production' ? warning(props.suppressContentEditableWarning || !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.') : void 0;
process.env.NODE_ENV !== 'production' ? warning(props.onFocusIn == null && props.onFocusOut == null, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.') : void 0;
}
!(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)) : _prodInvariant('62', getDeclarationErrorAddendum(component)) : void 0;
}
function enqueuePutListener(inst, registrationName, listener, transaction) {
if (transaction instanceof ReactServerRenderingTransaction) {
return;
}
if (process.env.NODE_ENV !== 'production') {
// IE8 has no API for event capturing and the `onScroll` event doesn't
// bubble.
process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\'t support the `onScroll` event') : void 0;
}
var containerInfo = inst._hostContainerInfo;
var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE;
var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument;
listenTo(registrationName, doc);
transaction.getReactMountReady().enqueue(putListener, {
inst: inst,
registrationName: registrationName,
listener: listener
});
}
function putListener() {
var listenerToPut = this;
EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener);
}
function inputPostMount() {
var inst = this;
ReactDOMInput.postMountWrapper(inst);
}
function textareaPostMount() {
var inst = this;
ReactDOMTextarea.postMountWrapper(inst);
}
function optionPostMount() {
var inst = this;
ReactDOMOption.postMountWrapper(inst);
}
var setContentChildForInstrumentation = emptyFunction;
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation = function (content) {
var hasExistingContent = this._contentDebugID != null;
var debugID = this._debugID;
// This ID represents the inlined child that has no backing instance:
var contentDebugID = -debugID;
if (content == null) {
if (hasExistingContent) {
ReactInstrumentation.debugTool.onUnmountComponent(this._contentDebugID);
}
this._contentDebugID = null;
return;
}
this._contentDebugID = contentDebugID;
if (hasExistingContent) {
ReactInstrumentation.debugTool.onBeforeUpdateComponent(contentDebugID, content);
ReactInstrumentation.debugTool.onUpdateComponent(contentDebugID);
} else {
ReactInstrumentation.debugTool.onBeforeMountComponent(contentDebugID, content, debugID);
ReactInstrumentation.debugTool.onMountComponent(contentDebugID);
ReactInstrumentation.debugTool.onSetChildren(debugID, [contentDebugID]);
}
};
}
// There are so many media events, it makes sense to just
// maintain a list rather than create a `trapBubbledEvent` for each
var mediaEvents = {
topAbort: 'abort',
topCanPlay: 'canplay',
topCanPlayThrough: 'canplaythrough',
topDurationChange: 'durationchange',
topEmptied: 'emptied',
topEncrypted: 'encrypted',
topEnded: 'ended',
topError: 'error',
topLoadedData: 'loadeddata',
topLoadedMetadata: 'loadedmetadata',
topLoadStart: 'loadstart',
topPause: 'pause',
topPlay: 'play',
topPlaying: 'playing',
topProgress: 'progress',
topRateChange: 'ratechange',
topSeeked: 'seeked',
topSeeking: 'seeking',
topStalled: 'stalled',
topSuspend: 'suspend',
topTimeUpdate: 'timeupdate',
topVolumeChange: 'volumechange',
topWaiting: 'waiting'
};
function trapBubbledEventsLocal() {
var inst = this;
// If a component renders to null or if another component fatals and causes
// the state of the tree to be corrupted, `node` here can be null.
!inst._rootNodeID ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Must be mounted to trap events') : _prodInvariant('63') : void 0;
var node = getNode(inst);
!node ? process.env.NODE_ENV !== 'production' ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : _prodInvariant('64') : void 0;
switch (inst._tag) {
case 'iframe':
case 'object':
inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];
break;
case 'video':
case 'audio':
inst._wrapperState.listeners = [];
// Create listener for each media event
for (var event in mediaEvents) {
if (mediaEvents.hasOwnProperty(event)) {
inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes[event], mediaEvents[event], node));
}
}
break;
case 'source':
inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node)];
break;
case 'img':
inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];
break;
case 'form':
inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'submit', node)];
break;
case 'input':
case 'select':
case 'textarea':
inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topInvalid, 'invalid', node)];
break;
}
}
function postUpdateSelectWrapper() {
ReactDOMSelect.postUpdateWrapper(this);
}
// For HTML, certain tags should omit their close tag. We keep a whitelist for
// those special-case tags.
var omittedCloseTags = {
'area': true,
'base': true,
'br': true,
'col': true,
'embed': true,
'hr': true,
'img': true,
'input': true,
'keygen': true,
'link': true,
'meta': true,
'param': true,
'source': true,
'track': true,
'wbr': true
};
// NOTE: menuitem's close tag should be omitted, but that causes problems.
var newlineEatingTags = {
'listing': true,
'pre': true,
'textarea': true
};
// For HTML, certain tags cannot have children. This has the same purpose as
// `omittedCloseTags` except that `menuitem` should still have its closing tag.
var voidElementTags = _assign({
'menuitem': true
}, omittedCloseTags);
// We accept any tag to be rendered but since this gets injected into arbitrary
// HTML, we want to make sure that it's a safe tag.
// http://www.w3.org/TR/REC-xml/#NT-Name
var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/; // Simplified subset
var validatedTagCache = {};
var hasOwnProperty = {}.hasOwnProperty;
function validateDangerousTag(tag) {
if (!hasOwnProperty.call(validatedTagCache, tag)) {
!VALID_TAG_REGEX.test(tag) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : _prodInvariant('65', tag) : void 0;
validatedTagCache[tag] = true;
}
}
function isCustomComponent(tagName, props) {
return tagName.indexOf('-') >= 0 || props.is != null;
}
var globalIdCounter = 1;
/**
* Creates a new React class that is idempotent and capable of containing other
* React components. It accepts event listeners and DOM properties that are
* valid according to `DOMProperty`.
*
* - Event listeners: `onClick`, `onMouseDown`, etc.
* - DOM properties: `className`, `name`, `title`, etc.
*
* The `style` property functions differently from the DOM API. It accepts an
* object mapping of style properties to values.
*
* @constructor ReactDOMComponent
* @extends ReactMultiChild
*/
function ReactDOMComponent(element) {
var tag = element.type;
validateDangerousTag(tag);
this._currentElement = element;
this._tag = tag.toLowerCase();
this._namespaceURI = null;
this._renderedChildren = null;
this._previousStyle = null;
this._previousStyleCopy = null;
this._hostNode = null;
this._hostParent = null;
this._rootNodeID = 0;
this._domID = 0;
this._hostContainerInfo = null;
this._wrapperState = null;
this._topLevelWrapper = null;
this._flags = 0;
if (process.env.NODE_ENV !== 'production') {
this._ancestorInfo = null;
setContentChildForInstrumentation.call(this, null);
}
}
ReactDOMComponent.displayName = 'ReactDOMComponent';
ReactDOMComponent.Mixin = {
/**
* Generates root tag markup then recurses. This method has side effects and
* is not idempotent.
*
* @internal
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {?ReactDOMComponent} the parent component instance
* @param {?object} info about the host container
* @param {object} context
* @return {string} The computed markup.
*/
mountComponent: function (transaction, hostParent, hostContainerInfo, context) {
this._rootNodeID = globalIdCounter++;
this._domID = hostContainerInfo._idCounter++;
this._hostParent = hostParent;
this._hostContainerInfo = hostContainerInfo;
var props = this._currentElement.props;
switch (this._tag) {
case 'audio':
case 'form':
case 'iframe':
case 'img':
case 'link':
case 'object':
case 'source':
case 'video':
this._wrapperState = {
listeners: null
};
transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);
break;
case 'button':
props = ReactDOMButton.getHostProps(this, props, hostParent);
break;
case 'input':
ReactDOMInput.mountWrapper(this, props, hostParent);
props = ReactDOMInput.getHostProps(this, props);
transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);
break;
case 'option':
ReactDOMOption.mountWrapper(this, props, hostParent);
props = ReactDOMOption.getHostProps(this, props);
break;
case 'select':
ReactDOMSelect.mountWrapper(this, props, hostParent);
props = ReactDOMSelect.getHostProps(this, props);
transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);
break;
case 'textarea':
ReactDOMTextarea.mountWrapper(this, props, hostParent);
props = ReactDOMTextarea.getHostProps(this, props);
transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);
break;
}
assertValidProps(this, props);
// We create tags in the namespace of their parent container, except HTML
// tags get no namespace.
var namespaceURI;
var parentTag;
if (hostParent != null) {
namespaceURI = hostParent._namespaceURI;
parentTag = hostParent._tag;
} else if (hostContainerInfo._tag) {
namespaceURI = hostContainerInfo._namespaceURI;
parentTag = hostContainerInfo._tag;
}
if (namespaceURI == null || namespaceURI === DOMNamespaces.svg && parentTag === 'foreignobject') {
namespaceURI = DOMNamespaces.html;
}
if (namespaceURI === DOMNamespaces.html) {
if (this._tag === 'svg') {
namespaceURI = DOMNamespaces.svg;
} else if (this._tag === 'math') {
namespaceURI = DOMNamespaces.mathml;
}
}
this._namespaceURI = namespaceURI;
if (process.env.NODE_ENV !== 'production') {
var parentInfo;
if (hostParent != null) {
parentInfo = hostParent._ancestorInfo;
} else if (hostContainerInfo._tag) {
parentInfo = hostContainerInfo._ancestorInfo;
}
if (parentInfo) {
// parentInfo should always be present except for the top-level
// component when server rendering
validateDOMNesting(this._tag, this, parentInfo);
}
this._ancestorInfo = validateDOMNesting.updatedAncestorInfo(parentInfo, this._tag, this);
}
var mountImage;
if (transaction.useCreateElement) {
var ownerDocument = hostContainerInfo._ownerDocument;
var el;
if (namespaceURI === DOMNamespaces.html) {
if (this._tag === 'script') {
// Create the script via .innerHTML so its "parser-inserted" flag is
// set to true and it does not execute
var div = ownerDocument.createElement('div');
var type = this._currentElement.type;
div.innerHTML = '<' + type + '></' + type + '>';
el = div.removeChild(div.firstChild);
} else if (props.is) {
el = ownerDocument.createElement(this._currentElement.type, props.is);
} else {
// Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.
// See discussion in https://github.com/facebook/react/pull/6896
// and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
el = ownerDocument.createElement(this._currentElement.type);
}
} else {
el = ownerDocument.createElementNS(namespaceURI, this._currentElement.type);
}
ReactDOMComponentTree.precacheNode(this, el);
this._flags |= Flags.hasCachedChildNodes;
if (!this._hostParent) {
DOMPropertyOperations.setAttributeForRoot(el);
}
this._updateDOMProperties(null, props, transaction);
var lazyTree = DOMLazyTree(el);
this._createInitialChildren(transaction, props, context, lazyTree);
mountImage = lazyTree;
} else {
var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props);
var tagContent = this._createContentMarkup(transaction, props, context);
if (!tagContent && omittedCloseTags[this._tag]) {
mountImage = tagOpen + '/>';
} else {
mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>';
}
}
switch (this._tag) {
case 'input':
transaction.getReactMountReady().enqueue(inputPostMount, this);
if (props.autoFocus) {
transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);
}
break;
case 'textarea':
transaction.getReactMountReady().enqueue(textareaPostMount, this);
if (props.autoFocus) {
transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);
}
break;
case 'select':
if (props.autoFocus) {
transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);
}
break;
case 'button':
if (props.autoFocus) {
transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);
}
break;
case 'option':
transaction.getReactMountReady().enqueue(optionPostMount, this);
break;
}
return mountImage;
},
/**
* Creates markup for the open tag and all attributes.
*
* This method has side effects because events get registered.
*
* Iterating over object properties is faster than iterating over arrays.
* @see http://jsperf.com/obj-vs-arr-iteration
*
* @private
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} props
* @return {string} Markup of opening tag.
*/
_createOpenTagMarkupAndPutListeners: function (transaction, props) {
var ret = '<' + this._currentElement.type;
for (var propKey in props) {
if (!props.hasOwnProperty(propKey)) {
continue;
}
var propValue = props[propKey];
if (propValue == null) {
continue;
}
if (registrationNameModules.hasOwnProperty(propKey)) {
if (propValue) {
enqueuePutListener(this, propKey, propValue, transaction);
}
} else {
if (propKey === STYLE) {
if (propValue) {
if (process.env.NODE_ENV !== 'production') {
// See `_updateDOMProperties`. style block
this._previousStyle = propValue;
}
propValue = this._previousStyleCopy = _assign({}, props.style);
}
propValue = CSSPropertyOperations.createMarkupForStyles(propValue, this);
}
var markup = null;
if (this._tag != null && isCustomComponent(this._tag, props)) {
if (!RESERVED_PROPS.hasOwnProperty(propKey)) {
markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);
}
} else {
markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);
}
if (markup) {
ret += ' ' + markup;
}
}
}
// For static pages, no need to put React ID and checksum. Saves lots of
// bytes.
if (transaction.renderToStaticMarkup) {
return ret;
}
if (!this._hostParent) {
ret += ' ' + DOMPropertyOperations.createMarkupForRoot();
}
ret += ' ' + DOMPropertyOperations.createMarkupForID(this._domID);
return ret;
},
/**
* Creates markup for the content between the tags.
*
* @private
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} props
* @param {object} context
* @return {string} Content markup.
*/
_createContentMarkup: function (transaction, props, context) {
var ret = '';
// Intentional use of != to avoid catching zero/false.
var innerHTML = props.dangerouslySetInnerHTML;
if (innerHTML != null) {
if (innerHTML.__html != null) {
ret = innerHTML.__html;
}
} else {
var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;
var childrenToUse = contentToUse != null ? null : props.children;
if (contentToUse != null) {
// TODO: Validate that text is allowed as a child of this node
ret = escapeTextContentForBrowser(contentToUse);
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation.call(this, contentToUse);
}
} else if (childrenToUse != null) {
var mountImages = this.mountChildren(childrenToUse, transaction, context);
ret = mountImages.join('');
}
}
if (newlineEatingTags[this._tag] && ret.charAt(0) === '\n') {
// text/html ignores the first character in these tags if it's a newline
// Prefer to break application/xml over text/html (for now) by adding
// a newline specifically to get eaten by the parser. (Alternately for
// textareas, replacing "^\n" with "\r\n" doesn't get eaten, and the first
// \r is normalized out by HTMLTextAreaElement#value.)
// See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>
// See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions>
// See: <http://www.w3.org/TR/html5/syntax.html#newlines>
// See: Parsing of "textarea" "listing" and "pre" elements
// from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>
return '\n' + ret;
} else {
return ret;
}
},
_createInitialChildren: function (transaction, props, context, lazyTree) {
// Intentional use of != to avoid catching zero/false.
var innerHTML = props.dangerouslySetInnerHTML;
if (innerHTML != null) {
if (innerHTML.__html != null) {
DOMLazyTree.queueHTML(lazyTree, innerHTML.__html);
}
} else {
var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;
var childrenToUse = contentToUse != null ? null : props.children;
if (contentToUse != null) {
// TODO: Validate that text is allowed as a child of this node
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation.call(this, contentToUse);
}
DOMLazyTree.queueText(lazyTree, contentToUse);
} else if (childrenToUse != null) {
var mountImages = this.mountChildren(childrenToUse, transaction, context);
for (var i = 0; i < mountImages.length; i++) {
DOMLazyTree.queueChild(lazyTree, mountImages[i]);
}
}
}
},
/**
* Receives a next element and updates the component.
*
* @internal
* @param {ReactElement} nextElement
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} context
*/
receiveComponent: function (nextElement, transaction, context) {
var prevElement = this._currentElement;
this._currentElement = nextElement;
this.updateComponent(transaction, prevElement, nextElement, context);
},
/**
* Updates a DOM component after it has already been allocated and
* attached to the DOM. Reconciles the root DOM node, then recurses.
*
* @param {ReactReconcileTransaction} transaction
* @param {ReactElement} prevElement
* @param {ReactElement} nextElement
* @internal
* @overridable
*/
updateComponent: function (transaction, prevElement, nextElement, context) {
var lastProps = prevElement.props;
var nextProps = this._currentElement.props;
switch (this._tag) {
case 'button':
lastProps = ReactDOMButton.getHostProps(this, lastProps);
nextProps = ReactDOMButton.getHostProps(this, nextProps);
break;
case 'input':
lastProps = ReactDOMInput.getHostProps(this, lastProps);
nextProps = ReactDOMInput.getHostProps(this, nextProps);
break;
case 'option':
lastProps = ReactDOMOption.getHostProps(this, lastProps);
nextProps = ReactDOMOption.getHostProps(this, nextProps);
break;
case 'select':
lastProps = ReactDOMSelect.getHostProps(this, lastProps);
nextProps = ReactDOMSelect.getHostProps(this, nextProps);
break;
case 'textarea':
lastProps = ReactDOMTextarea.getHostProps(this, lastProps);
nextProps = ReactDOMTextarea.getHostProps(this, nextProps);
break;
}
assertValidProps(this, nextProps);
this._updateDOMProperties(lastProps, nextProps, transaction);
this._updateDOMChildren(lastProps, nextProps, transaction, context);
switch (this._tag) {
case 'input':
// Update the wrapper around inputs *after* updating props. This has to
// happen after `_updateDOMProperties`. Otherwise HTML5 input validations
// raise warnings and prevent the new value from being assigned.
ReactDOMInput.updateWrapper(this);
break;
case 'textarea':
ReactDOMTextarea.updateWrapper(this);
break;
case 'select':
// <select> value update needs to occur after <option> children
// reconciliation
transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);
break;
}
},
/**
* Reconciles the properties by detecting differences in property values and
* updating the DOM as necessary. This function is probably the single most
* critical path for performance optimization.
*
* TODO: Benchmark whether checking for changed values in memory actually
* improves performance (especially statically positioned elements).
* TODO: Benchmark the effects of putting this at the top since 99% of props
* do not change for a given reconciliation.
* TODO: Benchmark areas that can be improved with caching.
*
* @private
* @param {object} lastProps
* @param {object} nextProps
* @param {?DOMElement} node
*/
_updateDOMProperties: function (lastProps, nextProps, transaction) {
var propKey;
var styleName;
var styleUpdates;
for (propKey in lastProps) {
if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {
continue;
}
if (propKey === STYLE) {
var lastStyle = this._previousStyleCopy;
for (styleName in lastStyle) {
if (lastStyle.hasOwnProperty(styleName)) {
styleUpdates = styleUpdates || {};
styleUpdates[styleName] = '';
}
}
this._previousStyleCopy = null;
} else if (registrationNameModules.hasOwnProperty(propKey)) {
if (lastProps[propKey]) {
// Only call deleteListener if there was a listener previously or
// else willDeleteListener gets called when there wasn't actually a
// listener (e.g., onClick={null})
deleteListener(this, propKey);
}
} else if (isCustomComponent(this._tag, lastProps)) {
if (!RESERVED_PROPS.hasOwnProperty(propKey)) {
DOMPropertyOperations.deleteValueForAttribute(getNode(this), propKey);
}
} else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {
DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);
}
}
for (propKey in nextProps) {
var nextProp = nextProps[propKey];
var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps != null ? lastProps[propKey] : undefined;
if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {
continue;
}
if (propKey === STYLE) {
if (nextProp) {
if (process.env.NODE_ENV !== 'production') {
checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);
this._previousStyle = nextProp;
}
nextProp = this._previousStyleCopy = _assign({}, nextProp);
} else {
this._previousStyleCopy = null;
}
if (lastProp) {
// Unset styles on `lastProp` but not on `nextProp`.
for (styleName in lastProp) {
if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {
styleUpdates = styleUpdates || {};
styleUpdates[styleName] = '';
}
}
// Update styles that changed since `lastProp`.
for (styleName in nextProp) {
if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {
styleUpdates = styleUpdates || {};
styleUpdates[styleName] = nextProp[styleName];
}
}
} else {
// Relies on `updateStylesByID` not mutating `styleUpdates`.
styleUpdates = nextProp;
}
} else if (registrationNameModules.hasOwnProperty(propKey)) {
if (nextProp) {
enqueuePutListener(this, propKey, nextProp, transaction);
} else if (lastProp) {
deleteListener(this, propKey);
}
} else if (isCustomComponent(this._tag, nextProps)) {
if (!RESERVED_PROPS.hasOwnProperty(propKey)) {
DOMPropertyOperations.setValueForAttribute(getNode(this), propKey, nextProp);
}
} else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {
var node = getNode(this);
// If we're updating to null or undefined, we should remove the property
// from the DOM node instead of inadvertently setting to a string. This
// brings us in line with the same behavior we have on initial render.
if (nextProp != null) {
DOMPropertyOperations.setValueForProperty(node, propKey, nextProp);
} else {
DOMPropertyOperations.deleteValueForProperty(node, propKey);
}
}
}
if (styleUpdates) {
CSSPropertyOperations.setValueForStyles(getNode(this), styleUpdates, this);
}
},
/**
* Reconciles the children with the various properties that affect the
* children content.
*
* @param {object} lastProps
* @param {object} nextProps
* @param {ReactReconcileTransaction} transaction
* @param {object} context
*/
_updateDOMChildren: function (lastProps, nextProps, transaction, context) {
var lastContent = CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;
var nextContent = CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;
var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html;
var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html;
// Note the use of `!=` which checks for null or undefined.
var lastChildren = lastContent != null ? null : lastProps.children;
var nextChildren = nextContent != null ? null : nextProps.children;
// If we're switching from children to content/html or vice versa, remove
// the old content
var lastHasContentOrHtml = lastContent != null || lastHtml != null;
var nextHasContentOrHtml = nextContent != null || nextHtml != null;
if (lastChildren != null && nextChildren == null) {
this.updateChildren(null, transaction, context);
} else if (lastHasContentOrHtml && !nextHasContentOrHtml) {
this.updateTextContent('');
if (process.env.NODE_ENV !== 'production') {
ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);
}
}
if (nextContent != null) {
if (lastContent !== nextContent) {
this.updateTextContent('' + nextContent);
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation.call(this, nextContent);
}
}
} else if (nextHtml != null) {
if (lastHtml !== nextHtml) {
this.updateMarkup('' + nextHtml);
}
if (process.env.NODE_ENV !== 'production') {
ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);
}
} else if (nextChildren != null) {
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation.call(this, null);
}
this.updateChildren(nextChildren, transaction, context);
}
},
getHostNode: function () {
return getNode(this);
},
/**
* Destroys all event registrations for this instance. Does not remove from
* the DOM. That must be done by the parent.
*
* @internal
*/
unmountComponent: function (safely) {
switch (this._tag) {
case 'audio':
case 'form':
case 'iframe':
case 'img':
case 'link':
case 'object':
case 'source':
case 'video':
var listeners = this._wrapperState.listeners;
if (listeners) {
for (var i = 0; i < listeners.length; i++) {
listeners[i].remove();
}
}
break;
case 'html':
case 'head':
case 'body':
/**
* Components like <html> <head> and <body> can't be removed or added
* easily in a cross-browser way, however it's valuable to be able to
* take advantage of React's reconciliation for styling and <title>
* management. So we just document it and throw in dangerous cases.
*/
true ? 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) : _prodInvariant('66', this._tag) : void 0;
break;
}
this.unmountChildren(safely);
ReactDOMComponentTree.uncacheNode(this);
EventPluginHub.deleteAllListeners(this);
this._rootNodeID = 0;
this._domID = 0;
this._wrapperState = null;
if (process.env.NODE_ENV !== 'production') {
setContentChildForInstrumentation.call(this, null);
}
},
getPublicInstance: function () {
return getNode(this);
}
};
_assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);
module.exports = ReactDOMComponent;
/***/ },
/***/ 131:
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelection
*/
'use strict';
var ExecutionEnvironment = __webpack_require__(37);
var getNodeForCharacterOffset = __webpack_require__(169);
var getTextContentAccessor = __webpack_require__(90);
/**
* While `isCollapsed` is available on the Selection object and `collapsed`
* is available on the Range object, IE11 sometimes gets them wrong.
* If the anchor/focus nodes and offsets are the same, the range is collapsed.
*/
function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
return anchorNode === focusNode && anchorOffset === focusOffset;
}
/**
* Get the appropriate anchor and focus node/offset pairs for IE.
*
* The catch here is that IE's selection API doesn't provide information
* about whether the selection is forward or backward, so we have to
* behave as though it's always forward.
*
* IE text differs from modern selection in that it behaves as though
* block elements end with a new line. This means character offsets will
* differ between the two APIs.
*
* @param {DOMElement} node
* @return {object}
*/
function getIEOffsets(node) {
var selection = document.selection;
var selectedRange = selection.createRange();
var selectedLength = selectedRange.text.length;
// Duplicate selection so we can move range without breaking user selection.
var fromStart = selectedRange.duplicate();
fromStart.moveToElementText(node);
fromStart.setEndPoint('EndToStart', selectedRange);
var startOffset = fromStart.text.length;
var endOffset = startOffset + selectedLength;
return {
start: startOffset,
end: endOffset
};
}
/**
* @param {DOMElement} node
* @return {?object}
*/
function getModernOffsets(node) {
var selection = window.getSelection && window.getSelection();
if (!selection || selection.rangeCount === 0) {
return null;
}
var anchorNode = selection.anchorNode;
var anchorOffset = selection.anchorOffset;
var focusNode = selection.focusNode;
var focusOffset = selection.focusOffset;
var currentRange = selection.getRangeAt(0);
// In Firefox, range.startContainer and range.endContainer can be "anonymous
// divs", e.g. the up/down buttons on an <input type="number">. Anonymous
// divs do not seem to expose properties, triggering a "Permission denied
// error" if any of its properties are accessed. The only seemingly possible
// way to avoid erroring is to access a property that typically works for
// non-anonymous divs and catch any error that may otherwise arise. See
// https://bugzilla.mozilla.org/show_bug.cgi?id=208427
try {
/* eslint-disable no-unused-expressions */
currentRange.startContainer.nodeType;
currentRange.endContainer.nodeType;
/* eslint-enable no-unused-expressions */
} catch (e) {
return null;
}
// If the node and offset values are the same, the selection is collapsed.
// `Selection.isCollapsed` is available natively, but IE sometimes gets
// this value wrong.
var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset);
var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length;
var tempRange = currentRange.cloneRange();
tempRange.selectNodeContents(node);
tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);
var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset);
var start = isTempRangeCollapsed ? 0 : tempRange.toString().length;
var end = start + rangeLength;
// Detect whether the selection is backward.
var detectionRange = document.createRange();
detectionRange.setStart(anchorNode, anchorOffset);
detectionRange.setEnd(focusNode, focusOffset);
var isBackward = detectionRange.collapsed;
return {
start: isBackward ? end : start,
end: isBackward ? start : end
};
}
/**
* @param {DOMElement|DOMTextNode} node
* @param {object} offsets
*/
function setIEOffsets(node, offsets) {
var range = document.selection.createRange().duplicate();
var start, end;
if (offsets.end === undefined) {
start = offsets.start;
end = start;
} else if (offsets.start > offsets.end) {
start = offsets.end;
end = offsets.start;
} else {
start = offsets.start;
end = offsets.end;
}
range.moveToElementText(node);
range.moveStart('character', start);
range.setEndPoint('EndToStart', range);
range.moveEnd('character', end - start);
range.select();
}
/**
* In modern non-IE browsers, we can support both forward and backward
* selections.
*
* Note: IE10+ supports the Selection object, but it does not support
* the `extend` method, which means that even in modern IE, it's not possible
* to programmatically create a backward selection. Thus, for all IE
* versions, we use the old IE API to create our selections.
*
* @param {DOMElement|DOMTextNode} node
* @param {object} offsets
*/
function setModernOffsets(node, offsets) {
if (!window.getSelection) {
return;
}
var selection = window.getSelection();
var length = node[getTextContentAccessor()].length;
var start = Math.min(offsets.start, length);
var end = offsets.end === undefined ? start : Math.min(offsets.end, length);
// IE 11 uses modern selection, but doesn't support the extend method.
// Flip backward selections, so we can set with a single range.
if (!selection.extend && start > end) {
var temp = end;
end = start;
start = temp;
}
var startMarker = getNodeForCharacterOffset(node, start);
var endMarker = getNodeForCharacterOffset(node, end);
if (startMarker && endMarker) {
var range = document.createRange();
range.setStart(startMarker.node, startMarker.offset);
selection.removeAllRanges();
if (start > end) {
selection.addRange(range);
selection.extend(endMarker.node, endMarker.offset);
} else {
range.setEnd(endMarker.node, endMarker.offset);
selection.addRange(range);
}
}
}
var useIEOffsets = E
gitextract_a82ramjw/ ├── .gitignore ├── README.md ├── dep_one.js ├── dep_two.js ├── dist/ │ ├── async-node/ │ │ ├── 0.async-node.js │ │ ├── 1.async-node.js │ │ ├── 10.async-node.js │ │ ├── 11.async-node.js │ │ ├── 12.async-node.js │ │ ├── 13.async-node.js │ │ ├── 14.async-node.js │ │ ├── 15.async-node.js │ │ ├── 2.async-node.js │ │ ├── 3.async-node.js │ │ ├── 4.async-node.js │ │ ├── 5.async-node.js │ │ ├── 6.async-node.js │ │ ├── 7.async-node.js │ │ ├── 8.async-node.js │ │ ├── 9.async-node.js │ │ └── inline.js │ ├── electron-main/ │ │ ├── 0.electron-main.js │ │ ├── 1.electron-main.js │ │ ├── 10.electron-main.js │ │ ├── 11.electron-main.js │ │ ├── 12.electron-main.js │ │ ├── 13.electron-main.js │ │ ├── 14.electron-main.js │ │ ├── 15.electron-main.js │ │ ├── 2.electron-main.js │ │ ├── 3.electron-main.js │ │ ├── 4.electron-main.js │ │ ├── 5.electron-main.js │ │ ├── 6.electron-main.js │ │ ├── 7.electron-main.js │ │ ├── 8.electron-main.js │ │ ├── 9.electron-main.js │ │ └── inline.js │ ├── node/ │ │ ├── 0.node.js │ │ ├── 1.node.js │ │ ├── 10.node.js │ │ ├── 11.node.js │ │ ├── 12.node.js │ │ ├── 13.node.js │ │ ├── 14.node.js │ │ ├── 15.node.js │ │ ├── 2.node.js │ │ ├── 3.node.js │ │ ├── 4.node.js │ │ ├── 5.node.js │ │ ├── 6.node.js │ │ ├── 7.node.js │ │ ├── 8.node.js │ │ ├── 9.node.js │ │ └── inline.js │ ├── node-webkit/ │ │ ├── 0.node-webkit.js │ │ ├── 1.node-webkit.js │ │ ├── 10.node-webkit.js │ │ ├── 11.node-webkit.js │ │ ├── 12.node-webkit.js │ │ ├── 13.node-webkit.js │ │ ├── 14.node-webkit.js │ │ ├── 15.node-webkit.js │ │ ├── 2.node-webkit.js │ │ ├── 3.node-webkit.js │ │ ├── 4.node-webkit.js │ │ ├── 5.node-webkit.js │ │ ├── 6.node-webkit.js │ │ ├── 7.node-webkit.js │ │ ├── 8.node-webkit.js │ │ ├── 9.node-webkit.js │ │ └── inline.js │ ├── web/ │ │ ├── 0.web.js │ │ ├── 1.web.js │ │ ├── 10.web.js │ │ ├── 11.web.js │ │ ├── 12.web.js │ │ ├── 13.web.js │ │ ├── 14.web.js │ │ ├── 15.web.js │ │ ├── 2.web.js │ │ ├── 3.web.js │ │ ├── 4.web.js │ │ ├── 5.web.js │ │ ├── 6.web.js │ │ ├── 7.web.js │ │ ├── 8.web.js │ │ ├── 9.web.js │ │ └── inline.js │ └── webworker/ │ ├── 0.webworker.js │ ├── 1.webworker.js │ ├── 10.webworker.js │ ├── 11.webworker.js │ ├── 12.webworker.js │ ├── 13.webworker.js │ ├── 14.webworker.js │ ├── 15.webworker.js │ ├── 2.webworker.js │ ├── 3.webworker.js │ ├── 4.webworker.js │ ├── 5.webworker.js │ ├── 6.webworker.js │ ├── 7.webworker.js │ ├── 8.webworker.js │ ├── 9.webworker.js │ └── inline.js ├── entry.js ├── package.json └── webpack.config.js
SYMBOL INDEX (1983 symbols across 103 files)
FILE: dep_two.js
function foo (line 1) | function foo() {
FILE: dist/async-node/0.async-node.js
function getUnboundedScrollPosition (line 32) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 80) | function hyphenate(string) {
function hyphenateStyleName (line 125) | function hyphenateStyleName(string) {
function isNode (line 154) | function isNode(object) {
function isTextNode (line 185) | function isTextNode(object) {
function memoizeStringOnly (line 215) | function memoizeStringOnly(callback) {
function isPresto (line 379) | function isPresto() {
function isKeypressCommand (line 429) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 441) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 460) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 471) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 499) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 513) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 565) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 619) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 671) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 858) | function is(x, y) {
function shallowEqual (line 875) | function shallowEqual(objA, objB) {
function focusNode (line 1042) | function focusNode(node) {
function getActiveElement (line 1081) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1162) | function prefixKey(prefix, key) {
function CallbackQueue (line 1286) | function CallbackQueue() {
function camelize (line 1392) | function camelize(string) {
function camelizeStyleName (line 1440) | function camelizeStyleName(string) {
function containsNode (line 1472) | function containsNode(outerNode, innerNode) {
function toArray (line 1522) | function toArray(obj) {
function hasArrayNature (line 1570) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1613) | function createArrayFromMixed(obj) {
function getNodeName (line 1668) | function getNodeName(markup) {
function createNodesFromMarkup (line 1683) | function createNodesFromMarkup(markup, handleScript) {
function getMarkupWrap (line 1798) | function getMarkupWrap(nodeName) {
FILE: dist/async-node/1.async-node.js
function findDOMNode (line 39) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 110) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 134) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 230) | function getEventKey(nativeEvent) {
function getLeafNode (line 287) | function getLeafNode(node) {
function getSiblingNode (line 301) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 317) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 370) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 430) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 477) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 641) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 702) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 712) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 745) | function getEventTarget(nativeEvent) {
function isEventSupported (line 803) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 858) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1280) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1311) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1356) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1404) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1421) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1435) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1535) | function isTextInputElement(elem) {
FILE: dist/async-node/10.async-node.js
function StatelessComponent (line 47) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 55) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 62) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 73) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 84) | function shouldConstruct(Component) {
function isPureComponent (line 88) | function isPureComponent(Component) {
function handleElement (line 954) | function handleElement(debugID, element) {
function flattenChildren (line 1007) | function flattenChildren(children) {
function runEventQueueInBatch (line 1130) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1180) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1193) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1209) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1238) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1344) | function _handleChange(event) {
FILE: dist/async-node/11.async-node.js
function getDeclarationErrorAddendum (line 76) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 89) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 115) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 145) | function assertValidProps(component, props) {
function enqueuePutListener (line 165) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 185) | function putListener() {
function inputPostMount (line 190) | function inputPostMount() {
function textareaPostMount (line 195) | function textareaPostMount() {
function optionPostMount (line 200) | function optionPostMount() {
function trapBubbledEventsLocal (line 261) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 302) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 349) | function validateDangerousTag(tag) {
function isCustomComponent (line 356) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 376) | function ReactDOMComponent(element) {
function isCollapsed (line 1043) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1061) | function getIEOffsets(node) {
function getModernOffsets (line 1084) | function getModernOffsets(node) {
function setIEOffsets (line 1146) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1180) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1260) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1300) | function isAncestor(instA, instB) {
function getParentInstance (line 1316) | function getParentInstance(inst) {
function traverseTwoPhase (line 1325) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1347) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/async-node/12.async-node.js
function foo (line 8) | function foo() {
FILE: dist/async-node/13.async-node.js
function invariant (line 102) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 141) | function toObject(val) {
function shouldUseNative (line 149) | function shouldUseNative() {
function makeEmptyFunction (line 276) | function makeEmptyFunction(arg) {
function isNative (line 327) | function isNative(fn) {
function getKeyFromID (line 376) | function getKeyFromID(id) {
function getIDFromKey (line 379) | function getIDFromKey(key) {
function get (line 383) | function get(id) {
function remove (line 392) | function remove(id) {
function create (line 401) | function create(id, element, parentID) {
function addRoot (line 419) | function addRoot(id) {
function removeRoot (line 428) | function removeRoot(id) {
function getRegisteredIDs (line 437) | function getRegisteredIDs() {
function getRootIDs (line 445) | function getRootIDs() {
function purgeDeep (line 453) | function purgeDeep(id) {
function describeComponentFrame (line 463) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 467) | function getDisplayName(element) {
function describeID (line 479) | function describeID(id) {
function ReactComponent (line 705) | function ReactComponent(props, context, updater) {
function warnNoop (line 819) | function warnNoop(publicInstance, callerName) {
function escape (line 1257) | function escape(key) {
function unescape (line 1276) | function unescape(key) {
function escapeUserProvidedKey (line 1325) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1337) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1349) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1368) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1386) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1402) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1423) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1446) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1455) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1468) | function countChildren(children, context) {
function toArray (line 1478) | function toArray(children) {
FILE: dist/async-node/14.async-node.js
function reactProdInvariant (line 30) | function reactProdInvariant(code) {
function getIteratorFn (line 126) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 174) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 191) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 214) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 249) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 288) | function validatePropTypes(element) {
function getComponentKey (line 422) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 441) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 540) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 652) | function is(x, y) {
function PropTypeError (line 672) | function PropTypeError(message) {
function createChainableTypeChecker (line 679) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 712) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 730) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 734) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 756) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 769) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 782) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 803) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 827) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 847) | function createNodeChecker() {
function createShapeTypeChecker (line 858) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 881) | function isNode(propValue) {
function isSymbol (line 928) | function isSymbol(propType, propValue) {
function getPropType (line 948) | function getPropType(propValue) {
function getPreciseType (line 967) | function getPreciseType(propValue) {
function getClassName (line 980) | function getClassName(propValue) {
function checkReactTypeSpec (line 1041) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1115) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1125) | function ComponentDummy() {}
function onlyChild (line 1172) | function onlyChild(children) {
FILE: dist/async-node/15.async-node.js
function hasValidRef (line 42) | function hasValidRef(config) {
function hasValidKey (line 54) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 66) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 80) | function defineRefPropWarningGetter(props, displayName) {
function validateTypeDef (line 736) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 746) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 764) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 846) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 872) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 892) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 916) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 930) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 967) | function bindAutoBindMethods(component) {
FILE: dist/async-node/2.async-node.js
function forceUpdateIfMounted (line 206) | function forceUpdateIfMounted() {
function _handleChange (line 326) | function _handleChange(event) {
function handleElement (line 433) | function handleElement(debugID, element) {
function callHook (line 485) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 494) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 517) | function clearHistory() {
function getTreeSnapshot (line 522) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 539) | function resetMeasurements() {
function checkDebugID (line 566) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 577) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 591) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 612) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 626) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 808) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 883) | function inject() {
function findParent (line 969) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 982) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 996) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1016) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1214) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1350) | function createInternalComponent(element) {
function createInstanceForText (line 1359) | function createInstanceForText(text) {
function isTextComponent (line 1367) | function isTextComponent(component) {
function isInDocument (line 1405) | function isInDocument(node) {
FILE: dist/async-node/3.async-node.js
function getSelection (line 66) | function getSelection(node) {
function constructSelectEvent (line 97) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 698) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 882) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 925) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 969) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1060) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1112) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1158) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1219) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1295) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1474) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1559) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1638) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/async-node/4.async-node.js
function instantiateChild (line 40) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 371) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 534) | function forceUpdateIfMounted() {
function isControlled (line 541) | function isControlled(props) {
function _handleChange (line 722) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 810) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 822) | function precacheNode(inst, node) {
function uncacheNode (line 828) | function uncacheNode(inst) {
function precacheChildNodes (line 850) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 883) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 917) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 930) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1131) | function getListeningForDocument(mountAt) {
FILE: dist/async-node/5.async-node.js
function ReactReconcileTransaction (line 120) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 210) | function attachRef(ref, component, owner) {
function detachRef (line 219) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 322) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 391) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 397) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 415) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 865) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 908) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 953) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 987) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1017) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1029) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1033) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1112) | function enqueueUpdate(component) {
function asap (line 1136) | function asap(callback, context) {
function attachRefs (line 1202) | function attachRefs() {
function enqueueUpdate (line 1378) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1382) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1395) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/async-node/6.async-node.js
function FallbackCompositionState (line 150) | function FallbackCompositionState(root) {
function handleElement (line 455) | function handleElement(debugID, element) {
function listenerAtPhase (line 810) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 821) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 840) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 849) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 862) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 878) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 884) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 888) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 892) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 896) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 958) | function recomputePluginOrdering() {
function publishEventForPlugin (line 987) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1015) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1228) | function isEndish(topLevelType) {
function isMoveish (line 1232) | function isMoveish(topLevelType) {
function isStartish (line 1235) | function isStartish(topLevelType) {
function executeDispatch (line 1262) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1276) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1304) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1331) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1347) | function executeDirectDispatch(event) {
function hasDispatches (line 1366) | function hasDispatches(event) {
function _assertSingleLink (line 1448) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1451) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1456) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1478) | function getDeclarationErrorAddendum(owner) {
FILE: dist/async-node/7.async-node.js
function shouldUseChangeEvent (line 269) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 280) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 298) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 303) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 309) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 318) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 323) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 366) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 386) | function stopWatchingForValueChange() {
function handlePropertyChange (line 410) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 426) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 434) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 457) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 479) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 486) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 707) | function checkMask(value, bitmask) {
function insertTreeChildren (line 938) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 971) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 976) | function queueChild(parentTree, childTree) {
function queueHTML (line 984) | function queueHTML(tree, html) {
function queueText (line 992) | function queueText(tree, text) {
function toString (line 1000) | function toString() {
function DOMLazyTree (line 1004) | function DOMLazyTree(node) {
function getNodeAfter (line 1108) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1132) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1136) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1144) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1154) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1166) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1178) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1310) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1326) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/async-node/8.async-node.js
function makeInsertMarkup (line 143) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 162) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 180) | function makeRemove(child, node) {
function makeSetMarkup (line 198) | function makeSetMarkup(markup) {
function makeTextContent (line 216) | function makeTextContent(textContent) {
function enqueue (line 232) | function enqueue(queue, update) {
function processQueue (line 245) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 699) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 821) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 836) | function getReactRootElementInContainer(container) {
function internalGetID (line 848) | function internalGetID(node) {
function mountComponentIntoNode (line 863) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 890) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 907) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 936) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 952) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 964) | function isValidContainer(node) {
function isReactNode (line 975) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 979) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 985) | function getTopLevelWrapperInContainer(container) {
FILE: dist/async-node/9.async-node.js
function adler32 (line 29) | function adler32(data) {
function dangerousStyleValue (line 88) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 439) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 497) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 585) | function accumulateInto(current, next) {
FILE: dist/async-node/inline.js
function __webpack_require__ (line 12) | function __webpack_require__(moduleId) {
FILE: dist/electron-main/0.electron-main.js
function getUnboundedScrollPosition (line 32) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 80) | function hyphenate(string) {
function hyphenateStyleName (line 125) | function hyphenateStyleName(string) {
function isNode (line 154) | function isNode(object) {
function isTextNode (line 185) | function isTextNode(object) {
function memoizeStringOnly (line 215) | function memoizeStringOnly(callback) {
function isPresto (line 379) | function isPresto() {
function isKeypressCommand (line 429) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 441) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 460) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 471) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 499) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 513) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 565) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 619) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 671) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 858) | function is(x, y) {
function shallowEqual (line 875) | function shallowEqual(objA, objB) {
function focusNode (line 1042) | function focusNode(node) {
function getActiveElement (line 1081) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1162) | function prefixKey(prefix, key) {
function CallbackQueue (line 1286) | function CallbackQueue() {
function camelize (line 1392) | function camelize(string) {
function camelizeStyleName (line 1440) | function camelizeStyleName(string) {
function containsNode (line 1472) | function containsNode(outerNode, innerNode) {
function toArray (line 1522) | function toArray(obj) {
function hasArrayNature (line 1570) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1613) | function createArrayFromMixed(obj) {
function getNodeName (line 1668) | function getNodeName(markup) {
function createNodesFromMarkup (line 1683) | function createNodesFromMarkup(markup, handleScript) {
function getMarkupWrap (line 1798) | function getMarkupWrap(nodeName) {
FILE: dist/electron-main/1.electron-main.js
function findDOMNode (line 39) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 110) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 134) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 230) | function getEventKey(nativeEvent) {
function getLeafNode (line 287) | function getLeafNode(node) {
function getSiblingNode (line 301) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 317) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 370) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 430) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 477) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 641) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 702) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 712) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 745) | function getEventTarget(nativeEvent) {
function isEventSupported (line 803) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 858) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1280) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1311) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1356) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1404) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1421) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1435) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1535) | function isTextInputElement(elem) {
FILE: dist/electron-main/10.electron-main.js
function StatelessComponent (line 47) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 55) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 62) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 73) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 84) | function shouldConstruct(Component) {
function isPureComponent (line 88) | function isPureComponent(Component) {
function handleElement (line 954) | function handleElement(debugID, element) {
function flattenChildren (line 1007) | function flattenChildren(children) {
function runEventQueueInBatch (line 1130) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1180) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1193) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1209) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1238) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1344) | function _handleChange(event) {
FILE: dist/electron-main/11.electron-main.js
function getDeclarationErrorAddendum (line 76) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 89) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 115) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 145) | function assertValidProps(component, props) {
function enqueuePutListener (line 165) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 185) | function putListener() {
function inputPostMount (line 190) | function inputPostMount() {
function textareaPostMount (line 195) | function textareaPostMount() {
function optionPostMount (line 200) | function optionPostMount() {
function trapBubbledEventsLocal (line 261) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 302) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 349) | function validateDangerousTag(tag) {
function isCustomComponent (line 356) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 376) | function ReactDOMComponent(element) {
function isCollapsed (line 1043) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1061) | function getIEOffsets(node) {
function getModernOffsets (line 1084) | function getModernOffsets(node) {
function setIEOffsets (line 1146) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1180) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1260) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1300) | function isAncestor(instA, instB) {
function getParentInstance (line 1316) | function getParentInstance(inst) {
function traverseTwoPhase (line 1325) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1347) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/electron-main/12.electron-main.js
function foo (line 8) | function foo() {
FILE: dist/electron-main/13.electron-main.js
function invariant (line 102) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 141) | function toObject(val) {
function shouldUseNative (line 149) | function shouldUseNative() {
function makeEmptyFunction (line 276) | function makeEmptyFunction(arg) {
function isNative (line 327) | function isNative(fn) {
function getKeyFromID (line 376) | function getKeyFromID(id) {
function getIDFromKey (line 379) | function getIDFromKey(key) {
function get (line 383) | function get(id) {
function remove (line 392) | function remove(id) {
function create (line 401) | function create(id, element, parentID) {
function addRoot (line 419) | function addRoot(id) {
function removeRoot (line 428) | function removeRoot(id) {
function getRegisteredIDs (line 437) | function getRegisteredIDs() {
function getRootIDs (line 445) | function getRootIDs() {
function purgeDeep (line 453) | function purgeDeep(id) {
function describeComponentFrame (line 463) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 467) | function getDisplayName(element) {
function describeID (line 479) | function describeID(id) {
function ReactComponent (line 705) | function ReactComponent(props, context, updater) {
function warnNoop (line 819) | function warnNoop(publicInstance, callerName) {
function escape (line 1257) | function escape(key) {
function unescape (line 1276) | function unescape(key) {
function escapeUserProvidedKey (line 1325) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1337) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1349) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1368) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1386) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1402) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1423) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1446) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1455) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1468) | function countChildren(children, context) {
function toArray (line 1478) | function toArray(children) {
FILE: dist/electron-main/14.electron-main.js
function reactProdInvariant (line 30) | function reactProdInvariant(code) {
function getIteratorFn (line 126) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 174) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 191) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 214) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 249) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 288) | function validatePropTypes(element) {
function getComponentKey (line 422) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 441) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 540) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 652) | function is(x, y) {
function PropTypeError (line 672) | function PropTypeError(message) {
function createChainableTypeChecker (line 679) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 712) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 730) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 734) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 756) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 769) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 782) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 803) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 827) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 847) | function createNodeChecker() {
function createShapeTypeChecker (line 858) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 881) | function isNode(propValue) {
function isSymbol (line 928) | function isSymbol(propType, propValue) {
function getPropType (line 948) | function getPropType(propValue) {
function getPreciseType (line 967) | function getPreciseType(propValue) {
function getClassName (line 980) | function getClassName(propValue) {
function checkReactTypeSpec (line 1041) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1115) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1125) | function ComponentDummy() {}
function onlyChild (line 1172) | function onlyChild(children) {
FILE: dist/electron-main/15.electron-main.js
function hasValidRef (line 42) | function hasValidRef(config) {
function hasValidKey (line 54) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 66) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 80) | function defineRefPropWarningGetter(props, displayName) {
function validateTypeDef (line 736) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 746) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 764) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 846) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 872) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 892) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 916) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 930) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 967) | function bindAutoBindMethods(component) {
FILE: dist/electron-main/2.electron-main.js
function forceUpdateIfMounted (line 206) | function forceUpdateIfMounted() {
function _handleChange (line 326) | function _handleChange(event) {
function handleElement (line 433) | function handleElement(debugID, element) {
function callHook (line 485) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 494) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 517) | function clearHistory() {
function getTreeSnapshot (line 522) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 539) | function resetMeasurements() {
function checkDebugID (line 566) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 577) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 591) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 612) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 626) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 808) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 883) | function inject() {
function findParent (line 969) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 982) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 996) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1016) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1214) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1350) | function createInternalComponent(element) {
function createInstanceForText (line 1359) | function createInstanceForText(text) {
function isTextComponent (line 1367) | function isTextComponent(component) {
function isInDocument (line 1405) | function isInDocument(node) {
FILE: dist/electron-main/3.electron-main.js
function getSelection (line 66) | function getSelection(node) {
function constructSelectEvent (line 97) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 698) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 882) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 925) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 969) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1060) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1112) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1158) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1219) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1295) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1474) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1559) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1638) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/electron-main/4.electron-main.js
function instantiateChild (line 40) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 371) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 534) | function forceUpdateIfMounted() {
function isControlled (line 541) | function isControlled(props) {
function _handleChange (line 722) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 810) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 822) | function precacheNode(inst, node) {
function uncacheNode (line 828) | function uncacheNode(inst) {
function precacheChildNodes (line 850) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 883) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 917) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 930) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1131) | function getListeningForDocument(mountAt) {
FILE: dist/electron-main/5.electron-main.js
function ReactReconcileTransaction (line 120) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 210) | function attachRef(ref, component, owner) {
function detachRef (line 219) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 322) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 391) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 397) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 415) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 865) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 908) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 953) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 987) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1017) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1029) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1033) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1112) | function enqueueUpdate(component) {
function asap (line 1136) | function asap(callback, context) {
function attachRefs (line 1202) | function attachRefs() {
function enqueueUpdate (line 1378) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1382) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1395) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/electron-main/6.electron-main.js
function FallbackCompositionState (line 150) | function FallbackCompositionState(root) {
function handleElement (line 455) | function handleElement(debugID, element) {
function listenerAtPhase (line 810) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 821) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 840) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 849) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 862) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 878) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 884) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 888) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 892) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 896) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 958) | function recomputePluginOrdering() {
function publishEventForPlugin (line 987) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1015) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1228) | function isEndish(topLevelType) {
function isMoveish (line 1232) | function isMoveish(topLevelType) {
function isStartish (line 1235) | function isStartish(topLevelType) {
function executeDispatch (line 1262) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1276) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1304) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1331) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1347) | function executeDirectDispatch(event) {
function hasDispatches (line 1366) | function hasDispatches(event) {
function _assertSingleLink (line 1448) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1451) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1456) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1478) | function getDeclarationErrorAddendum(owner) {
FILE: dist/electron-main/7.electron-main.js
function shouldUseChangeEvent (line 269) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 280) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 298) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 303) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 309) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 318) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 323) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 366) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 386) | function stopWatchingForValueChange() {
function handlePropertyChange (line 410) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 426) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 434) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 457) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 479) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 486) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 707) | function checkMask(value, bitmask) {
function insertTreeChildren (line 938) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 971) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 976) | function queueChild(parentTree, childTree) {
function queueHTML (line 984) | function queueHTML(tree, html) {
function queueText (line 992) | function queueText(tree, text) {
function toString (line 1000) | function toString() {
function DOMLazyTree (line 1004) | function DOMLazyTree(node) {
function getNodeAfter (line 1108) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1132) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1136) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1144) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1154) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1166) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1178) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1310) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1326) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/electron-main/8.electron-main.js
function makeInsertMarkup (line 143) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 162) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 180) | function makeRemove(child, node) {
function makeSetMarkup (line 198) | function makeSetMarkup(markup) {
function makeTextContent (line 216) | function makeTextContent(textContent) {
function enqueue (line 232) | function enqueue(queue, update) {
function processQueue (line 245) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 699) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 821) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 836) | function getReactRootElementInContainer(container) {
function internalGetID (line 848) | function internalGetID(node) {
function mountComponentIntoNode (line 863) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 890) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 907) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 936) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 952) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 964) | function isValidContainer(node) {
function isReactNode (line 975) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 979) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 985) | function getTopLevelWrapperInContainer(container) {
FILE: dist/electron-main/9.electron-main.js
function adler32 (line 29) | function adler32(data) {
function dangerousStyleValue (line 88) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 439) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 497) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 585) | function accumulateInto(current, next) {
FILE: dist/electron-main/inline.js
function __webpack_require__ (line 12) | function __webpack_require__(moduleId) {
FILE: dist/node-webkit/0.node-webkit.js
function getUnboundedScrollPosition (line 31) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 79) | function hyphenate(string) {
function hyphenateStyleName (line 124) | function hyphenateStyleName(string) {
function isNode (line 153) | function isNode(object) {
function isTextNode (line 184) | function isTextNode(object) {
function memoizeStringOnly (line 214) | function memoizeStringOnly(callback) {
function isPresto (line 378) | function isPresto() {
function isKeypressCommand (line 428) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 440) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 459) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 470) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 498) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 512) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 564) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 618) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 670) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 857) | function is(x, y) {
function shallowEqual (line 874) | function shallowEqual(objA, objB) {
function focusNode (line 1041) | function focusNode(node) {
function getActiveElement (line 1080) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1161) | function prefixKey(prefix, key) {
function CallbackQueue (line 1285) | function CallbackQueue() {
function camelize (line 1391) | function camelize(string) {
function camelizeStyleName (line 1439) | function camelizeStyleName(string) {
function containsNode (line 1471) | function containsNode(outerNode, innerNode) {
function toArray (line 1521) | function toArray(obj) {
function hasArrayNature (line 1569) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1612) | function createArrayFromMixed(obj) {
function getNodeName (line 1667) | function getNodeName(markup) {
function createNodesFromMarkup (line 1682) | function createNodesFromMarkup(markup, handleScript) {
function getMarkupWrap (line 1797) | function getMarkupWrap(nodeName) {
FILE: dist/node-webkit/1.node-webkit.js
function findDOMNode (line 38) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 109) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 133) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 229) | function getEventKey(nativeEvent) {
function getLeafNode (line 286) | function getLeafNode(node) {
function getSiblingNode (line 300) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 316) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 369) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 429) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 476) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 640) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 701) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 711) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 744) | function getEventTarget(nativeEvent) {
function isEventSupported (line 802) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 857) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1279) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1310) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1355) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1403) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1420) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1434) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1534) | function isTextInputElement(elem) {
FILE: dist/node-webkit/10.node-webkit.js
function StatelessComponent (line 46) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 54) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 61) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 72) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 83) | function shouldConstruct(Component) {
function isPureComponent (line 87) | function isPureComponent(Component) {
function handleElement (line 953) | function handleElement(debugID, element) {
function flattenChildren (line 1006) | function flattenChildren(children) {
function runEventQueueInBatch (line 1129) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1179) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1192) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1208) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1237) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1343) | function _handleChange(event) {
FILE: dist/node-webkit/11.node-webkit.js
function getDeclarationErrorAddendum (line 75) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 88) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 114) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 144) | function assertValidProps(component, props) {
function enqueuePutListener (line 164) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 184) | function putListener() {
function inputPostMount (line 189) | function inputPostMount() {
function textareaPostMount (line 194) | function textareaPostMount() {
function optionPostMount (line 199) | function optionPostMount() {
function trapBubbledEventsLocal (line 260) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 301) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 348) | function validateDangerousTag(tag) {
function isCustomComponent (line 355) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 375) | function ReactDOMComponent(element) {
function isCollapsed (line 1042) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1060) | function getIEOffsets(node) {
function getModernOffsets (line 1083) | function getModernOffsets(node) {
function setIEOffsets (line 1145) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1179) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1259) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1299) | function isAncestor(instA, instB) {
function getParentInstance (line 1315) | function getParentInstance(inst) {
function traverseTwoPhase (line 1324) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1346) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/node-webkit/12.node-webkit.js
function foo (line 7) | function foo() {
FILE: dist/node-webkit/13.node-webkit.js
function invariant (line 101) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 140) | function toObject(val) {
function shouldUseNative (line 148) | function shouldUseNative() {
function makeEmptyFunction (line 275) | function makeEmptyFunction(arg) {
function isNative (line 326) | function isNative(fn) {
function getKeyFromID (line 375) | function getKeyFromID(id) {
function getIDFromKey (line 378) | function getIDFromKey(key) {
function get (line 382) | function get(id) {
function remove (line 391) | function remove(id) {
function create (line 400) | function create(id, element, parentID) {
function addRoot (line 418) | function addRoot(id) {
function removeRoot (line 427) | function removeRoot(id) {
function getRegisteredIDs (line 436) | function getRegisteredIDs() {
function getRootIDs (line 444) | function getRootIDs() {
function purgeDeep (line 452) | function purgeDeep(id) {
function describeComponentFrame (line 462) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 466) | function getDisplayName(element) {
function describeID (line 478) | function describeID(id) {
function ReactComponent (line 704) | function ReactComponent(props, context, updater) {
function warnNoop (line 818) | function warnNoop(publicInstance, callerName) {
function escape (line 1256) | function escape(key) {
function unescape (line 1275) | function unescape(key) {
function escapeUserProvidedKey (line 1324) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1336) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1348) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1367) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1385) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1401) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1422) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1445) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1454) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1467) | function countChildren(children, context) {
function toArray (line 1477) | function toArray(children) {
FILE: dist/node-webkit/14.node-webkit.js
function reactProdInvariant (line 29) | function reactProdInvariant(code) {
function getIteratorFn (line 125) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 173) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 190) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 213) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 248) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 287) | function validatePropTypes(element) {
function getComponentKey (line 421) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 440) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 539) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 651) | function is(x, y) {
function PropTypeError (line 671) | function PropTypeError(message) {
function createChainableTypeChecker (line 678) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 711) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 729) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 733) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 755) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 768) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 781) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 802) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 826) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 846) | function createNodeChecker() {
function createShapeTypeChecker (line 857) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 880) | function isNode(propValue) {
function isSymbol (line 927) | function isSymbol(propType, propValue) {
function getPropType (line 947) | function getPropType(propValue) {
function getPreciseType (line 966) | function getPreciseType(propValue) {
function getClassName (line 979) | function getClassName(propValue) {
function checkReactTypeSpec (line 1040) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1114) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1124) | function ComponentDummy() {}
function onlyChild (line 1171) | function onlyChild(children) {
FILE: dist/node-webkit/15.node-webkit.js
function hasValidRef (line 41) | function hasValidRef(config) {
function hasValidKey (line 53) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 65) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 79) | function defineRefPropWarningGetter(props, displayName) {
function validateTypeDef (line 735) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 745) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 763) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 845) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 871) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 891) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 915) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 929) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 966) | function bindAutoBindMethods(component) {
FILE: dist/node-webkit/2.node-webkit.js
function forceUpdateIfMounted (line 205) | function forceUpdateIfMounted() {
function _handleChange (line 325) | function _handleChange(event) {
function handleElement (line 432) | function handleElement(debugID, element) {
function callHook (line 484) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 493) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 516) | function clearHistory() {
function getTreeSnapshot (line 521) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 538) | function resetMeasurements() {
function checkDebugID (line 565) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 576) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 590) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 611) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 625) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 807) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 882) | function inject() {
function findParent (line 968) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 981) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 995) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1015) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1213) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1349) | function createInternalComponent(element) {
function createInstanceForText (line 1358) | function createInstanceForText(text) {
function isTextComponent (line 1366) | function isTextComponent(component) {
function isInDocument (line 1404) | function isInDocument(node) {
FILE: dist/node-webkit/3.node-webkit.js
function getSelection (line 65) | function getSelection(node) {
function constructSelectEvent (line 96) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 697) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 881) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 924) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 968) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1059) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1111) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1157) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1218) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1294) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1473) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1558) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1637) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/node-webkit/4.node-webkit.js
function instantiateChild (line 39) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 370) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 533) | function forceUpdateIfMounted() {
function isControlled (line 540) | function isControlled(props) {
function _handleChange (line 721) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 809) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 821) | function precacheNode(inst, node) {
function uncacheNode (line 827) | function uncacheNode(inst) {
function precacheChildNodes (line 849) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 882) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 916) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 929) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1130) | function getListeningForDocument(mountAt) {
FILE: dist/node-webkit/5.node-webkit.js
function ReactReconcileTransaction (line 119) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 209) | function attachRef(ref, component, owner) {
function detachRef (line 218) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 321) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 390) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 396) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 414) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 864) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 907) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 952) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 986) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1016) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1028) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1032) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1111) | function enqueueUpdate(component) {
function asap (line 1135) | function asap(callback, context) {
function attachRefs (line 1201) | function attachRefs() {
function enqueueUpdate (line 1377) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1381) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1394) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/node-webkit/6.node-webkit.js
function FallbackCompositionState (line 149) | function FallbackCompositionState(root) {
function handleElement (line 454) | function handleElement(debugID, element) {
function listenerAtPhase (line 809) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 820) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 839) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 848) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 861) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 877) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 883) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 887) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 891) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 895) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 957) | function recomputePluginOrdering() {
function publishEventForPlugin (line 986) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1014) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1227) | function isEndish(topLevelType) {
function isMoveish (line 1231) | function isMoveish(topLevelType) {
function isStartish (line 1234) | function isStartish(topLevelType) {
function executeDispatch (line 1261) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1275) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1303) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1330) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1346) | function executeDirectDispatch(event) {
function hasDispatches (line 1365) | function hasDispatches(event) {
function _assertSingleLink (line 1447) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1450) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1455) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1477) | function getDeclarationErrorAddendum(owner) {
FILE: dist/node-webkit/7.node-webkit.js
function shouldUseChangeEvent (line 268) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 279) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 297) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 302) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 308) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 317) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 322) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 365) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 385) | function stopWatchingForValueChange() {
function handlePropertyChange (line 409) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 425) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 433) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 456) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 478) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 485) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 706) | function checkMask(value, bitmask) {
function insertTreeChildren (line 937) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 970) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 975) | function queueChild(parentTree, childTree) {
function queueHTML (line 983) | function queueHTML(tree, html) {
function queueText (line 991) | function queueText(tree, text) {
function toString (line 999) | function toString() {
function DOMLazyTree (line 1003) | function DOMLazyTree(node) {
function getNodeAfter (line 1107) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1131) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1135) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1143) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1153) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1165) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1177) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1309) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1325) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/node-webkit/8.node-webkit.js
function makeInsertMarkup (line 142) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 161) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 179) | function makeRemove(child, node) {
function makeSetMarkup (line 197) | function makeSetMarkup(markup) {
function makeTextContent (line 215) | function makeTextContent(textContent) {
function enqueue (line 231) | function enqueue(queue, update) {
function processQueue (line 244) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 698) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 820) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 835) | function getReactRootElementInContainer(container) {
function internalGetID (line 847) | function internalGetID(node) {
function mountComponentIntoNode (line 862) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 889) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 906) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 935) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 951) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 963) | function isValidContainer(node) {
function isReactNode (line 974) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 978) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 984) | function getTopLevelWrapperInContainer(container) {
FILE: dist/node-webkit/9.node-webkit.js
function adler32 (line 28) | function adler32(data) {
function dangerousStyleValue (line 87) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 438) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 496) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 584) | function accumulateInto(current, next) {
FILE: dist/node-webkit/inline.js
function __webpack_require__ (line 39) | function __webpack_require__(moduleId) {
function onScriptComplete (line 83) | function onScriptComplete() {
FILE: dist/node/0.node.js
function getUnboundedScrollPosition (line 32) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 80) | function hyphenate(string) {
function hyphenateStyleName (line 125) | function hyphenateStyleName(string) {
function isNode (line 154) | function isNode(object) {
function isTextNode (line 185) | function isTextNode(object) {
function memoizeStringOnly (line 215) | function memoizeStringOnly(callback) {
function isPresto (line 379) | function isPresto() {
function isKeypressCommand (line 429) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 441) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 460) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 471) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 499) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 513) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 565) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 619) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 671) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 858) | function is(x, y) {
function shallowEqual (line 875) | function shallowEqual(objA, objB) {
function focusNode (line 1042) | function focusNode(node) {
function getActiveElement (line 1081) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1162) | function prefixKey(prefix, key) {
function CallbackQueue (line 1286) | function CallbackQueue() {
function camelize (line 1392) | function camelize(string) {
function camelizeStyleName (line 1440) | function camelizeStyleName(string) {
function containsNode (line 1472) | function containsNode(outerNode, innerNode) {
function toArray (line 1522) | function toArray(obj) {
function hasArrayNature (line 1570) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1613) | function createArrayFromMixed(obj) {
function getNodeName (line 1668) | function getNodeName(markup) {
function createNodesFromMarkup (line 1683) | function createNodesFromMarkup(markup, handleScript) {
function getMarkupWrap (line 1798) | function getMarkupWrap(nodeName) {
FILE: dist/node/1.node.js
function findDOMNode (line 39) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 110) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 134) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 230) | function getEventKey(nativeEvent) {
function getLeafNode (line 287) | function getLeafNode(node) {
function getSiblingNode (line 301) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 317) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 370) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 430) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 477) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 641) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 702) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 712) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 745) | function getEventTarget(nativeEvent) {
function isEventSupported (line 803) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 858) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1280) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1311) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1356) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1404) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1421) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1435) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1535) | function isTextInputElement(elem) {
FILE: dist/node/10.node.js
function StatelessComponent (line 47) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 55) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 62) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 73) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 84) | function shouldConstruct(Component) {
function isPureComponent (line 88) | function isPureComponent(Component) {
function handleElement (line 954) | function handleElement(debugID, element) {
function flattenChildren (line 1007) | function flattenChildren(children) {
function runEventQueueInBatch (line 1130) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1180) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1193) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1209) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1238) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1344) | function _handleChange(event) {
FILE: dist/node/11.node.js
function getDeclarationErrorAddendum (line 76) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 89) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 115) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 145) | function assertValidProps(component, props) {
function enqueuePutListener (line 165) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 185) | function putListener() {
function inputPostMount (line 190) | function inputPostMount() {
function textareaPostMount (line 195) | function textareaPostMount() {
function optionPostMount (line 200) | function optionPostMount() {
function trapBubbledEventsLocal (line 261) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 302) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 349) | function validateDangerousTag(tag) {
function isCustomComponent (line 356) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 376) | function ReactDOMComponent(element) {
function isCollapsed (line 1043) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1061) | function getIEOffsets(node) {
function getModernOffsets (line 1084) | function getModernOffsets(node) {
function setIEOffsets (line 1146) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1180) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1260) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1300) | function isAncestor(instA, instB) {
function getParentInstance (line 1316) | function getParentInstance(inst) {
function traverseTwoPhase (line 1325) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1347) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/node/12.node.js
function foo (line 8) | function foo() {
FILE: dist/node/13.node.js
function invariant (line 102) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 141) | function toObject(val) {
function shouldUseNative (line 149) | function shouldUseNative() {
function makeEmptyFunction (line 276) | function makeEmptyFunction(arg) {
function isNative (line 327) | function isNative(fn) {
function getKeyFromID (line 376) | function getKeyFromID(id) {
function getIDFromKey (line 379) | function getIDFromKey(key) {
function get (line 383) | function get(id) {
function remove (line 392) | function remove(id) {
function create (line 401) | function create(id, element, parentID) {
function addRoot (line 419) | function addRoot(id) {
function removeRoot (line 428) | function removeRoot(id) {
function getRegisteredIDs (line 437) | function getRegisteredIDs() {
function getRootIDs (line 445) | function getRootIDs() {
function purgeDeep (line 453) | function purgeDeep(id) {
function describeComponentFrame (line 463) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 467) | function getDisplayName(element) {
function describeID (line 479) | function describeID(id) {
function ReactComponent (line 705) | function ReactComponent(props, context, updater) {
function warnNoop (line 819) | function warnNoop(publicInstance, callerName) {
function escape (line 1257) | function escape(key) {
function unescape (line 1276) | function unescape(key) {
function escapeUserProvidedKey (line 1325) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1337) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1349) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1368) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1386) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1402) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1423) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1446) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1455) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1468) | function countChildren(children, context) {
function toArray (line 1478) | function toArray(children) {
FILE: dist/node/14.node.js
function reactProdInvariant (line 30) | function reactProdInvariant(code) {
function getIteratorFn (line 126) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 174) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 191) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 214) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 249) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 288) | function validatePropTypes(element) {
function getComponentKey (line 422) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 441) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 540) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 652) | function is(x, y) {
function PropTypeError (line 672) | function PropTypeError(message) {
function createChainableTypeChecker (line 679) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 712) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 730) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 734) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 756) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 769) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 782) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 803) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 827) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 847) | function createNodeChecker() {
function createShapeTypeChecker (line 858) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 881) | function isNode(propValue) {
function isSymbol (line 928) | function isSymbol(propType, propValue) {
function getPropType (line 948) | function getPropType(propValue) {
function getPreciseType (line 967) | function getPreciseType(propValue) {
function getClassName (line 980) | function getClassName(propValue) {
function checkReactTypeSpec (line 1041) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1115) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1125) | function ComponentDummy() {}
function onlyChild (line 1172) | function onlyChild(children) {
FILE: dist/node/15.node.js
function hasValidRef (line 42) | function hasValidRef(config) {
function hasValidKey (line 54) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 66) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 80) | function defineRefPropWarningGetter(props, displayName) {
function validateTypeDef (line 736) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 746) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 764) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 846) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 872) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 892) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 916) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 930) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 967) | function bindAutoBindMethods(component) {
FILE: dist/node/2.node.js
function forceUpdateIfMounted (line 206) | function forceUpdateIfMounted() {
function _handleChange (line 326) | function _handleChange(event) {
function handleElement (line 433) | function handleElement(debugID, element) {
function callHook (line 485) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 494) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 517) | function clearHistory() {
function getTreeSnapshot (line 522) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 539) | function resetMeasurements() {
function checkDebugID (line 566) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 577) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 591) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 612) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 626) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 808) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 883) | function inject() {
function findParent (line 969) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 982) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 996) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1016) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1214) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1350) | function createInternalComponent(element) {
function createInstanceForText (line 1359) | function createInstanceForText(text) {
function isTextComponent (line 1367) | function isTextComponent(component) {
function isInDocument (line 1405) | function isInDocument(node) {
FILE: dist/node/3.node.js
function getSelection (line 66) | function getSelection(node) {
function constructSelectEvent (line 97) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 698) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 882) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 925) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 969) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1060) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1112) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1158) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1219) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1295) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1474) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1559) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1638) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/node/4.node.js
function instantiateChild (line 40) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 371) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 534) | function forceUpdateIfMounted() {
function isControlled (line 541) | function isControlled(props) {
function _handleChange (line 722) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 810) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 822) | function precacheNode(inst, node) {
function uncacheNode (line 828) | function uncacheNode(inst) {
function precacheChildNodes (line 850) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 883) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 917) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 930) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1131) | function getListeningForDocument(mountAt) {
FILE: dist/node/5.node.js
function ReactReconcileTransaction (line 120) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 210) | function attachRef(ref, component, owner) {
function detachRef (line 219) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 322) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 391) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 397) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 415) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 865) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 908) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 953) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 987) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1017) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1029) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1033) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1112) | function enqueueUpdate(component) {
function asap (line 1136) | function asap(callback, context) {
function attachRefs (line 1202) | function attachRefs() {
function enqueueUpdate (line 1378) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1382) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1395) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/node/6.node.js
function FallbackCompositionState (line 150) | function FallbackCompositionState(root) {
function handleElement (line 455) | function handleElement(debugID, element) {
function listenerAtPhase (line 810) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 821) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 840) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 849) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 862) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 878) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 884) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 888) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 892) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 896) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 958) | function recomputePluginOrdering() {
function publishEventForPlugin (line 987) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1015) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1228) | function isEndish(topLevelType) {
function isMoveish (line 1232) | function isMoveish(topLevelType) {
function isStartish (line 1235) | function isStartish(topLevelType) {
function executeDispatch (line 1262) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1276) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1304) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1331) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1347) | function executeDirectDispatch(event) {
function hasDispatches (line 1366) | function hasDispatches(event) {
function _assertSingleLink (line 1448) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1451) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1456) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1478) | function getDeclarationErrorAddendum(owner) {
FILE: dist/node/7.node.js
function shouldUseChangeEvent (line 269) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 280) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 298) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 303) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 309) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 318) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 323) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 366) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 386) | function stopWatchingForValueChange() {
function handlePropertyChange (line 410) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 426) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 434) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 457) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 479) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 486) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 707) | function checkMask(value, bitmask) {
function insertTreeChildren (line 938) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 971) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 976) | function queueChild(parentTree, childTree) {
function queueHTML (line 984) | function queueHTML(tree, html) {
function queueText (line 992) | function queueText(tree, text) {
function toString (line 1000) | function toString() {
function DOMLazyTree (line 1004) | function DOMLazyTree(node) {
function getNodeAfter (line 1108) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1132) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1136) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1144) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1154) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1166) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1178) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1310) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1326) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/node/8.node.js
function makeInsertMarkup (line 143) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 162) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 180) | function makeRemove(child, node) {
function makeSetMarkup (line 198) | function makeSetMarkup(markup) {
function makeTextContent (line 216) | function makeTextContent(textContent) {
function enqueue (line 232) | function enqueue(queue, update) {
function processQueue (line 245) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 699) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 821) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 836) | function getReactRootElementInContainer(container) {
function internalGetID (line 848) | function internalGetID(node) {
function mountComponentIntoNode (line 863) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 890) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 907) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 936) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 952) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 964) | function isValidContainer(node) {
function isReactNode (line 975) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 979) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 985) | function getTopLevelWrapperInContainer(container) {
FILE: dist/node/9.node.js
function adler32 (line 29) | function adler32(data) {
function dangerousStyleValue (line 88) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 439) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 497) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 585) | function accumulateInto(current, next) {
FILE: dist/node/inline.js
function __webpack_require__ (line 12) | function __webpack_require__(moduleId) {
FILE: dist/web/0.web.js
function getMarkupWrap (line 84) | function getMarkupWrap(nodeName) {
function getUnboundedScrollPosition (line 133) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 181) | function hyphenate(string) {
function hyphenateStyleName (line 226) | function hyphenateStyleName(string) {
function isNode (line 255) | function isNode(object) {
function isTextNode (line 286) | function isTextNode(object) {
function memoizeStringOnly (line 316) | function memoizeStringOnly(callback) {
function isPresto (line 480) | function isPresto() {
function isKeypressCommand (line 530) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 542) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 561) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 572) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 600) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 614) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 666) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 720) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 772) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 960) | function is(x, y) {
function shallowEqual (line 977) | function shallowEqual(objA, objB) {
function focusNode (line 1145) | function focusNode(node) {
function getActiveElement (line 1184) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1265) | function prefixKey(prefix, key) {
function CallbackQueue (line 1389) | function CallbackQueue() {
function camelize (line 1496) | function camelize(string) {
function camelizeStyleName (line 1544) | function camelizeStyleName(string) {
function containsNode (line 1576) | function containsNode(outerNode, innerNode) {
function toArray (line 1626) | function toArray(obj) {
function hasArrayNature (line 1674) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1717) | function createArrayFromMixed(obj) {
function getNodeName (line 1773) | function getNodeName(markup) {
function createNodesFromMarkup (line 1788) | function createNodesFromMarkup(markup, handleScript) {
FILE: dist/web/1.web.js
function findDOMNode (line 38) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 110) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 134) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 231) | function getEventKey(nativeEvent) {
function getLeafNode (line 288) | function getLeafNode(node) {
function getSiblingNode (line 302) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 318) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 371) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 431) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 478) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 642) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 703) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 713) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 746) | function getEventTarget(nativeEvent) {
function isEventSupported (line 804) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 859) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1282) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1313) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1358) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1406) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1423) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1437) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1538) | function isTextInputElement(elem) {
FILE: dist/web/10.web.js
function StatelessComponent (line 46) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 54) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 61) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 72) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 83) | function shouldConstruct(Component) {
function isPureComponent (line 87) | function isPureComponent(Component) {
function handleElement (line 954) | function handleElement(debugID, element) {
function flattenChildren (line 1008) | function flattenChildren(children) {
function runEventQueueInBatch (line 1132) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1182) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1195) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1211) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1240) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1346) | function _handleChange(event) {
FILE: dist/web/11.web.js
function getDeclarationErrorAddendum (line 75) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 88) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 114) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 144) | function assertValidProps(component, props) {
function enqueuePutListener (line 164) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 184) | function putListener() {
function inputPostMount (line 189) | function inputPostMount() {
function textareaPostMount (line 194) | function textareaPostMount() {
function optionPostMount (line 199) | function optionPostMount() {
function trapBubbledEventsLocal (line 260) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 301) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 348) | function validateDangerousTag(tag) {
function isCustomComponent (line 355) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 375) | function ReactDOMComponent(element) {
function isCollapsed (line 1043) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1061) | function getIEOffsets(node) {
function getModernOffsets (line 1084) | function getModernOffsets(node) {
function setIEOffsets (line 1146) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1180) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1260) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1300) | function isAncestor(instA, instB) {
function getParentInstance (line 1316) | function getParentInstance(inst) {
function traverseTwoPhase (line 1325) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1347) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/web/12.web.js
function foo (line 7) | function foo() {
FILE: dist/web/13.web.js
function runTimeout (line 32) | function runTimeout(fun) {
function runClearTimeout (line 52) | function runClearTimeout(marker) {
function cleanUpNextTick (line 79) | function cleanUpNextTick() {
function drainQueue (line 94) | function drainQueue() {
function Item (line 132) | function Item(fun, array) {
function noop (line 146) | function noop() {}
function invariant (line 268) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 308) | function toObject(val) {
function shouldUseNative (line 316) | function shouldUseNative() {
function makeEmptyFunction (line 443) | function makeEmptyFunction(arg) {
function isNative (line 494) | function isNative(fn) {
function getKeyFromID (line 543) | function getKeyFromID(id) {
function getIDFromKey (line 546) | function getIDFromKey(key) {
function get (line 550) | function get(id) {
function remove (line 559) | function remove(id) {
function create (line 568) | function create(id, element, parentID) {
function addRoot (line 586) | function addRoot(id) {
function removeRoot (line 595) | function removeRoot(id) {
function getRegisteredIDs (line 604) | function getRegisteredIDs() {
function getRootIDs (line 612) | function getRootIDs() {
function purgeDeep (line 620) | function purgeDeep(id) {
function describeComponentFrame (line 630) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 634) | function getDisplayName(element) {
function describeID (line 646) | function describeID(id) {
function ReactComponent (line 874) | function ReactComponent(props, context, updater) {
function escape (line 1272) | function escape(key) {
function unescape (line 1291) | function unescape(key) {
function escapeUserProvidedKey (line 1340) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1352) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1364) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1383) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1401) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1417) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1438) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1461) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1470) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1483) | function countChildren(children, context) {
function toArray (line 1493) | function toArray(children) {
FILE: dist/web/14.web.js
function reactProdInvariant (line 30) | function reactProdInvariant(code) {
function warnNoop (line 76) | function warnNoop(publicInstance, callerName) {
function getIteratorFn (line 229) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 325) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 342) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 365) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 400) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 439) | function validatePropTypes(element) {
function getComponentKey (line 583) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 602) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 701) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 814) | function is(x, y) {
function PropTypeError (line 834) | function PropTypeError(message) {
function createChainableTypeChecker (line 841) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 874) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 892) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 896) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 918) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 931) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 944) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 965) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 989) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 1009) | function createNodeChecker() {
function createShapeTypeChecker (line 1020) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 1043) | function isNode(propValue) {
function isSymbol (line 1090) | function isSymbol(propType, propValue) {
function getPropType (line 1110) | function getPropType(propValue) {
function getPreciseType (line 1129) | function getPreciseType(propValue) {
function getClassName (line 1142) | function getClassName(propValue) {
function checkReactTypeSpec (line 1204) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1279) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1289) | function ComponentDummy() {}
function onlyChild (line 1336) | function onlyChild(children) {
FILE: dist/web/15.web.js
function validateTypeDef (line 364) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 374) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 392) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 474) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 500) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 520) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 544) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 558) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 595) | function bindAutoBindMethods(component) {
function hasValidRef (line 781) | function hasValidRef(config) {
function hasValidKey (line 793) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 805) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 819) | function defineRefPropWarningGetter(props, displayName) {
FILE: dist/web/2.web.js
function forceUpdateIfMounted (line 206) | function forceUpdateIfMounted() {
function _handleChange (line 326) | function _handleChange(event) {
function handleElement (line 434) | function handleElement(debugID, element) {
function callHook (line 487) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 496) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 519) | function clearHistory() {
function getTreeSnapshot (line 524) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 541) | function resetMeasurements() {
function checkDebugID (line 568) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 579) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 593) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 614) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 628) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 811) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 886) | function inject() {
function findParent (line 972) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 985) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 999) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1019) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1217) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1354) | function createInternalComponent(element) {
function createInstanceForText (line 1363) | function createInstanceForText(text) {
function isTextComponent (line 1371) | function isTextComponent(component) {
function isInDocument (line 1410) | function isInDocument(node) {
FILE: dist/web/3.web.js
function getSelection (line 65) | function getSelection(node) {
function constructSelectEvent (line 96) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 697) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 882) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 925) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 969) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1060) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1112) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1158) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1219) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1295) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1474) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1560) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1639) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/web/4.web.js
function instantiateChild (line 39) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 372) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 536) | function forceUpdateIfMounted() {
function isControlled (line 543) | function isControlled(props) {
function _handleChange (line 724) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 813) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 825) | function precacheNode(inst, node) {
function uncacheNode (line 831) | function uncacheNode(inst) {
function precacheChildNodes (line 853) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 886) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 920) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 933) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1135) | function getListeningForDocument(mountAt) {
FILE: dist/web/5.web.js
function ReactReconcileTransaction (line 119) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 210) | function attachRef(ref, component, owner) {
function detachRef (line 219) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 322) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 392) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 398) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 416) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 867) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 910) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 955) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 989) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1019) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1031) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1035) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1114) | function enqueueUpdate(component) {
function asap (line 1138) | function asap(callback, context) {
function attachRefs (line 1205) | function attachRefs() {
function enqueueUpdate (line 1382) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1386) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1399) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/web/6.web.js
function FallbackCompositionState (line 149) | function FallbackCompositionState(root) {
function handleElement (line 454) | function handleElement(debugID, element) {
function listenerAtPhase (line 811) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 822) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 841) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 850) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 863) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 879) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 885) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 889) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 893) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 897) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 960) | function recomputePluginOrdering() {
function publishEventForPlugin (line 989) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1017) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1231) | function isEndish(topLevelType) {
function isMoveish (line 1235) | function isMoveish(topLevelType) {
function isStartish (line 1238) | function isStartish(topLevelType) {
function executeDispatch (line 1265) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1279) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1307) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1334) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1350) | function executeDirectDispatch(event) {
function hasDispatches (line 1369) | function hasDispatches(event) {
function _assertSingleLink (line 1452) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1455) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1460) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1482) | function getDeclarationErrorAddendum(owner) {
FILE: dist/web/7.web.js
function shouldUseChangeEvent (line 269) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 280) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 298) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 303) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 309) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 318) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 323) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 366) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 386) | function stopWatchingForValueChange() {
function handlePropertyChange (line 410) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 426) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 434) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 457) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 479) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 486) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 707) | function checkMask(value, bitmask) {
function insertTreeChildren (line 939) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 972) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 977) | function queueChild(parentTree, childTree) {
function queueHTML (line 985) | function queueHTML(tree, html) {
function queueText (line 993) | function queueText(tree, text) {
function toString (line 1001) | function toString() {
function DOMLazyTree (line 1005) | function DOMLazyTree(node) {
function getNodeAfter (line 1109) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1133) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1137) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1145) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1155) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1167) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1179) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1312) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1328) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/web/8.web.js
function makeInsertMarkup (line 143) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 162) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 180) | function makeRemove(child, node) {
function makeSetMarkup (line 198) | function makeSetMarkup(markup) {
function makeTextContent (line 216) | function makeTextContent(textContent) {
function enqueue (line 232) | function enqueue(queue, update) {
function processQueue (line 245) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 701) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 823) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 838) | function getReactRootElementInContainer(container) {
function internalGetID (line 850) | function internalGetID(node) {
function mountComponentIntoNode (line 865) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 892) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 909) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 938) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 954) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 966) | function isValidContainer(node) {
function isReactNode (line 977) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 981) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 987) | function getTopLevelWrapperInContainer(container) {
FILE: dist/web/9.web.js
function adler32 (line 28) | function adler32(data) {
function dangerousStyleValue (line 87) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 440) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 498) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 586) | function accumulateInto(current, next) {
FILE: dist/web/inline.js
function __webpack_require__ (line 39) | function __webpack_require__(moduleId) {
function onScriptComplete (line 83) | function onScriptComplete() {
FILE: dist/webworker/0.webworker.js
function getMarkupWrap (line 84) | function getMarkupWrap(nodeName) {
function getUnboundedScrollPosition (line 133) | function getUnboundedScrollPosition(scrollable) {
function hyphenate (line 181) | function hyphenate(string) {
function hyphenateStyleName (line 226) | function hyphenateStyleName(string) {
function isNode (line 255) | function isNode(object) {
function isTextNode (line 286) | function isTextNode(object) {
function memoizeStringOnly (line 316) | function memoizeStringOnly(callback) {
function isPresto (line 480) | function isPresto() {
function isKeypressCommand (line 530) | function isKeypressCommand(nativeEvent) {
function getCompositionEventType (line 542) | function getCompositionEventType(topLevelType) {
function isFallbackCompositionStart (line 561) | function isFallbackCompositionStart(topLevelType, nativeEvent) {
function isFallbackCompositionEnd (line 572) | function isFallbackCompositionEnd(topLevelType, nativeEvent) {
function getDataFromCustomEvent (line 600) | function getDataFromCustomEvent(nativeEvent) {
function extractCompositionEvent (line 614) | function extractCompositionEvent(topLevelType, targetInst, nativeEvent, ...
function getNativeBeforeInputChars (line 666) | function getNativeBeforeInputChars(topLevelType, nativeEvent) {
function getFallbackBeforeInputChars (line 720) | function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
function extractBeforeInputEvent (line 772) | function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, ...
function is (line 960) | function is(x, y) {
function shallowEqual (line 977) | function shallowEqual(objA, objB) {
function focusNode (line 1145) | function focusNode(node) {
function getActiveElement (line 1184) | function getActiveElement() /*?DOMElement*/{
function prefixKey (line 1265) | function prefixKey(prefix, key) {
function CallbackQueue (line 1389) | function CallbackQueue() {
function camelize (line 1496) | function camelize(string) {
function camelizeStyleName (line 1544) | function camelizeStyleName(string) {
function containsNode (line 1576) | function containsNode(outerNode, innerNode) {
function toArray (line 1626) | function toArray(obj) {
function hasArrayNature (line 1674) | function hasArrayNature(obj) {
function createArrayFromMixed (line 1717) | function createArrayFromMixed(obj) {
function getNodeName (line 1773) | function getNodeName(markup) {
function createNodesFromMarkup (line 1788) | function createNodesFromMarkup(markup, handleScript) {
FILE: dist/webworker/1.webworker.js
function findDOMNode (line 38) | function findDOMNode(componentOrElement) {
function flattenSingleChildIntoContext (line 110) | function flattenSingleChildIntoContext(traverseContext, child, name, sel...
function flattenChildren (line 134) | function flattenChildren(children, selfDebugID) {
function getEventKey (line 231) | function getEventKey(nativeEvent) {
function getLeafNode (line 288) | function getLeafNode(node) {
function getSiblingNode (line 302) | function getSiblingNode(node) {
function getNodeForCharacterOffset (line 318) | function getNodeForCharacterOffset(root, offset) {
function makePrefixMap (line 371) | function makePrefixMap(styleProp, eventName) {
function getVendorPrefixedEventName (line 431) | function getVendorPrefixedEventName(eventName) {
function quoteAttributeValueForBrowser (line 478) | function quoteAttributeValueForBrowser(value) {
function getEventCharCode (line 642) | function getEventCharCode(nativeEvent) {
function modifierStateGetter (line 703) | function modifierStateGetter(keyArg) {
function getEventModifierState (line 713) | function getEventModifierState(nativeEvent) {
function getEventTarget (line 746) | function getEventTarget(nativeEvent) {
function isEventSupported (line 804) | function isEventSupported(eventNameSuffix, capture) {
function shouldUpdateReactComponent (line 859) | function shouldUpdateReactComponent(prevElement, nextElement) {
function forEachAccumulated (line 1282) | function forEachAccumulated(arr, cb, scope) {
function getHostComponentFromComposite (line 1313) | function getHostComponentFromComposite(inst) {
function getTextContentAccessor (line 1358) | function getTextContentAccessor() {
function getDeclarationErrorAddendum (line 1406) | function getDeclarationErrorAddendum(owner) {
function isInternalComponentType (line 1423) | function isInternalComponentType(type) {
function instantiateReactComponent (line 1437) | function instantiateReactComponent(node, shouldHaveDebugID) {
function isTextInputElement (line 1538) | function isTextInputElement(elem) {
FILE: dist/webworker/10.webworker.js
function StatelessComponent (line 46) | function StatelessComponent(Component) {}
function warnIfInvalidElement (line 54) | function warnIfInvalidElement(Component, element) {
function invokeComponentDidMountWithTimer (line 61) | function invokeComponentDidMountWithTimer() {
function invokeComponentDidUpdateWithTimer (line 72) | function invokeComponentDidUpdateWithTimer(prevProps, prevState, prevCon...
function shouldConstruct (line 83) | function shouldConstruct(Component) {
function isPureComponent (line 87) | function isPureComponent(Component) {
function handleElement (line 954) | function handleElement(debugID, element) {
function flattenChildren (line 1008) | function flattenChildren(children) {
function runEventQueueInBatch (line 1132) | function runEventQueueInBatch(events) {
function updateOptionsIfPendingUpdateAndMounted (line 1182) | function updateOptionsIfPendingUpdateAndMounted() {
function getDeclarationErrorAddendum (line 1195) | function getDeclarationErrorAddendum(owner) {
function checkSelectPropTypes (line 1211) | function checkSelectPropTypes(inst, props) {
function updateOptions (line 1240) | function updateOptions(inst, multiple, propValue) {
function _handleChange (line 1346) | function _handleChange(event) {
FILE: dist/webworker/11.webworker.js
function getDeclarationErrorAddendum (line 75) | function getDeclarationErrorAddendum(internalInstance) {
function friendlyStringify (line 88) | function friendlyStringify(obj) {
function checkAndWarnForMutatedStyle (line 114) | function checkAndWarnForMutatedStyle(style1, style2, component) {
function assertValidProps (line 144) | function assertValidProps(component, props) {
function enqueuePutListener (line 164) | function enqueuePutListener(inst, registrationName, listener, transactio...
function putListener (line 184) | function putListener() {
function inputPostMount (line 189) | function inputPostMount() {
function textareaPostMount (line 194) | function textareaPostMount() {
function optionPostMount (line 199) | function optionPostMount() {
function trapBubbledEventsLocal (line 260) | function trapBubbledEventsLocal() {
function postUpdateSelectWrapper (line 301) | function postUpdateSelectWrapper() {
function validateDangerousTag (line 348) | function validateDangerousTag(tag) {
function isCustomComponent (line 355) | function isCustomComponent(tagName, props) {
function ReactDOMComponent (line 375) | function ReactDOMComponent(element) {
function isCollapsed (line 1043) | function isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {
function getIEOffsets (line 1061) | function getIEOffsets(node) {
function getModernOffsets (line 1084) | function getModernOffsets(node) {
function setIEOffsets (line 1146) | function setIEOffsets(node, offsets) {
function setModernOffsets (line 1180) | function setModernOffsets(node, offsets) {
function getLowestCommonAncestor (line 1260) | function getLowestCommonAncestor(instA, instB) {
function isAncestor (line 1300) | function isAncestor(instA, instB) {
function getParentInstance (line 1316) | function getParentInstance(inst) {
function traverseTwoPhase (line 1325) | function traverseTwoPhase(inst, fn, arg) {
function traverseEnterLeave (line 1347) | function traverseEnterLeave(from, to, fn, argFrom, argTo) {
FILE: dist/webworker/12.webworker.js
function foo (line 7) | function foo() {
FILE: dist/webworker/13.webworker.js
function runTimeout (line 32) | function runTimeout(fun) {
function runClearTimeout (line 52) | function runClearTimeout(marker) {
function cleanUpNextTick (line 79) | function cleanUpNextTick() {
function drainQueue (line 94) | function drainQueue() {
function Item (line 132) | function Item(fun, array) {
function noop (line 146) | function noop() {}
function invariant (line 268) | function invariant(condition, format, a, b, c, d, e, f) {
function toObject (line 308) | function toObject(val) {
function shouldUseNative (line 316) | function shouldUseNative() {
function makeEmptyFunction (line 443) | function makeEmptyFunction(arg) {
function isNative (line 494) | function isNative(fn) {
function getKeyFromID (line 543) | function getKeyFromID(id) {
function getIDFromKey (line 546) | function getIDFromKey(key) {
function get (line 550) | function get(id) {
function remove (line 559) | function remove(id) {
function create (line 568) | function create(id, element, parentID) {
function addRoot (line 586) | function addRoot(id) {
function removeRoot (line 595) | function removeRoot(id) {
function getRegisteredIDs (line 604) | function getRegisteredIDs() {
function getRootIDs (line 612) | function getRootIDs() {
function purgeDeep (line 620) | function purgeDeep(id) {
function describeComponentFrame (line 630) | function describeComponentFrame(name, source, ownerName) {
function getDisplayName (line 634) | function getDisplayName(element) {
function describeID (line 646) | function describeID(id) {
function ReactComponent (line 874) | function ReactComponent(props, context, updater) {
function escape (line 1272) | function escape(key) {
function unescape (line 1291) | function unescape(key) {
function escapeUserProvidedKey (line 1340) | function escapeUserProvidedKey(text) {
function ForEachBookKeeping (line 1352) | function ForEachBookKeeping(forEachFunction, forEachContext) {
function forEachSingleChild (line 1364) | function forEachSingleChild(bookKeeping, child, name) {
function forEachChildren (line 1383) | function forEachChildren(children, forEachFunc, forEachContext) {
function MapBookKeeping (line 1401) | function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {
function mapSingleChildIntoContext (line 1417) | function mapSingleChildIntoContext(bookKeeping, child, childKey) {
function mapIntoWithKeyPrefixInternal (line 1438) | function mapIntoWithKeyPrefixInternal(children, array, prefix, func, con...
function mapChildren (line 1461) | function mapChildren(children, func, context) {
function forEachSingleChildDummy (line 1470) | function forEachSingleChildDummy(traverseContext, child, name) {
function countChildren (line 1483) | function countChildren(children, context) {
function toArray (line 1493) | function toArray(children) {
FILE: dist/webworker/14.webworker.js
function reactProdInvariant (line 30) | function reactProdInvariant(code) {
function warnNoop (line 76) | function warnNoop(publicInstance, callerName) {
function getIteratorFn (line 229) | function getIteratorFn(maybeIterable) {
function getDeclarationErrorAddendum (line 325) | function getDeclarationErrorAddendum() {
function getCurrentComponentErrorInfo (line 342) | function getCurrentComponentErrorInfo(parentType) {
function validateExplicitKey (line 365) | function validateExplicitKey(element, parentType) {
function validateChildKeys (line 400) | function validateChildKeys(node, parentType) {
function validatePropTypes (line 439) | function validatePropTypes(element) {
function getComponentKey (line 583) | function getComponentKey(component, index) {
function traverseAllChildrenImpl (line 602) | function traverseAllChildrenImpl(children, nameSoFar, callback, traverse...
function traverseAllChildren (line 701) | function traverseAllChildren(children, callback, traverseContext) {
function is (line 814) | function is(x, y) {
function PropTypeError (line 834) | function PropTypeError(message) {
function createChainableTypeChecker (line 841) | function createChainableTypeChecker(validate) {
function createPrimitiveTypeChecker (line 874) | function createPrimitiveTypeChecker(expectedType) {
function createAnyTypeChecker (line 892) | function createAnyTypeChecker() {
function createArrayOfTypeChecker (line 896) | function createArrayOfTypeChecker(typeChecker) {
function createElementTypeChecker (line 918) | function createElementTypeChecker() {
function createInstanceTypeChecker (line 931) | function createInstanceTypeChecker(expectedClass) {
function createEnumTypeChecker (line 944) | function createEnumTypeChecker(expectedValues) {
function createObjectOfTypeChecker (line 965) | function createObjectOfTypeChecker(typeChecker) {
function createUnionTypeChecker (line 989) | function createUnionTypeChecker(arrayOfTypeCheckers) {
function createNodeChecker (line 1009) | function createNodeChecker() {
function createShapeTypeChecker (line 1020) | function createShapeTypeChecker(shapeTypes) {
function isNode (line 1043) | function isNode(propValue) {
function isSymbol (line 1090) | function isSymbol(propType, propValue) {
function getPropType (line 1110) | function getPropType(propValue) {
function getPreciseType (line 1129) | function getPreciseType(propValue) {
function getClassName (line 1142) | function getClassName(propValue) {
function checkReactTypeSpec (line 1204) | function checkReactTypeSpec(typeSpecs, values, location, componentName, ...
function ReactPureComponent (line 1279) | function ReactPureComponent(props, context, updater) {
function ComponentDummy (line 1289) | function ComponentDummy() {}
function onlyChild (line 1336) | function onlyChild(children) {
FILE: dist/webworker/15.webworker.js
function validateTypeDef (line 364) | function validateTypeDef(Constructor, typeDef, location) {
function validateMethodOverride (line 374) | function validateMethodOverride(isAlreadyDefined, name) {
function mixSpecIntoComponent (line 392) | function mixSpecIntoComponent(Constructor, spec) {
function mixStaticSpecIntoComponent (line 474) | function mixStaticSpecIntoComponent(Constructor, statics) {
function mergeIntoWithNoDuplicateKeys (line 500) | function mergeIntoWithNoDuplicateKeys(one, two) {
function createMergedResultFunction (line 520) | function createMergedResultFunction(one, two) {
function createChainedFunction (line 544) | function createChainedFunction(one, two) {
function bindAutoBindMethod (line 558) | function bindAutoBindMethod(component, method) {
function bindAutoBindMethods (line 595) | function bindAutoBindMethods(component) {
function hasValidRef (line 781) | function hasValidRef(config) {
function hasValidKey (line 793) | function hasValidKey(config) {
function defineKeyPropWarningGetter (line 805) | function defineKeyPropWarningGetter(props, displayName) {
function defineRefPropWarningGetter (line 819) | function defineRefPropWarningGetter(props, displayName) {
FILE: dist/webworker/2.webworker.js
function forceUpdateIfMounted (line 206) | function forceUpdateIfMounted() {
function _handleChange (line 326) | function _handleChange(event) {
function handleElement (line 434) | function handleElement(debugID, element) {
function callHook (line 487) | function callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {
function emitEvent (line 496) | function emitEvent(event, arg1, arg2, arg3, arg4, arg5) {
function clearHistory (line 519) | function clearHistory() {
function getTreeSnapshot (line 524) | function getTreeSnapshot(registeredIDs) {
function resetMeasurements (line 541) | function resetMeasurements() {
function checkDebugID (line 568) | function checkDebugID(debugID) {
function beginLifeCycleTimer (line 579) | function beginLifeCycleTimer(debugID, timerType) {
function endLifeCycleTimer (line 593) | function endLifeCycleTimer(debugID, timerType) {
function pauseCurrentLifeCycleTimer (line 614) | function pauseCurrentLifeCycleTimer() {
function resumeCurrentLifeCycleTimer (line 628) | function resumeCurrentLifeCycleTimer() {
function ReactDefaultBatchingStrategyTransaction (line 811) | function ReactDefaultBatchingStrategyTransaction() {
function inject (line 886) | function inject() {
function findParent (line 972) | function findParent(inst) {
function TopLevelCallbackBookKeeping (line 985) | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
function handleTopLevelImpl (line 999) | function handleTopLevelImpl(bookKeeping) {
function scrollValueMonitor (line 1019) | function scrollValueMonitor(cb) {
function invokeGuardedCallback (line 1217) | function invokeGuardedCallback(name, func, a, b) {
function createInternalComponent (line 1354) | function createInternalComponent(element) {
function createInstanceForText (line 1363) | function createInstanceForText(text) {
function isTextComponent (line 1371) | function isTextComponent(component) {
function isInDocument (line 1410) | function isInDocument(node) {
FILE: dist/webworker/3.webworker.js
function getSelection (line 65) | function getSelection(node) {
function constructSelectEvent (line 96) | function constructSelectEvent(nativeEvent, nativeEventTarget) {
function getDictionaryKey (line 697) | function getDictionaryKey(inst) {
function SyntheticDragEvent (line 882) | function SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent,...
function SyntheticFocusEvent (line 925) | function SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticInputEvent (line 969) | function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticKeyboardEvent (line 1060) | function SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEv...
function SyntheticTouchEvent (line 1112) | function SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticTransitionEvent (line 1158) | function SyntheticTransitionEvent(dispatchConfig, dispatchMarker, native...
function SyntheticWheelEvent (line 1219) | function SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent...
function SyntheticEvent (line 1295) | function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeE...
function getPooledWarningPropertyDefinition (line 1474) | function getPooledWarningPropertyDefinition(propName, getVal) {
function SyntheticUIEvent (line 1560) | function SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, n...
function SyntheticMouseEvent (line 1639) | function SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent...
FILE: dist/webworker/4.webworker.js
function instantiateChild (line 39) | function instantiateChild(childInstances, child, name, selfDebugID) {
function ReactDOMContainerInfo (line 372) | function ReactDOMContainerInfo(topLevelWrapper, node) {
function forceUpdateIfMounted (line 536) | function forceUpdateIfMounted() {
function isControlled (line 543) | function isControlled(props) {
function _handleChange (line 724) | function _handleChange(event) {
function getRenderedHostOrTextFromComponent (line 813) | function getRenderedHostOrTextFromComponent(component) {
function precacheNode (line 825) | function precacheNode(inst, node) {
function uncacheNode (line 831) | function uncacheNode(inst) {
function precacheChildNodes (line 853) | function precacheChildNodes(inst, node) {
function getClosestInstanceFromNode (line 886) | function getClosestInstanceFromNode(node) {
function getInstanceFromNode (line 920) | function getInstanceFromNode(node) {
function getNodeFromInstance (line 933) | function getNodeFromInstance(inst) {
function getListeningForDocument (line 1135) | function getListeningForDocument(mountAt) {
FILE: dist/webworker/5.webworker.js
function ReactReconcileTransaction (line 119) | function ReactReconcileTransaction(useCreateElement) {
function attachRef (line 210) | function attachRef(ref, component, owner) {
function detachRef (line 219) | function detachRef(ref, component, owner) {
function ReactServerRenderingTransaction (line 322) | function ReactServerRenderingTransaction(renderToStaticMarkup) {
function _classCallCheck (line 392) | function _classCallCheck(instance, Constructor) { if (!(instance instanc...
function warnNoop (line 398) | function warnNoop(publicInstance, callerName) {
function ReactServerUpdateQueue (line 416) | function ReactServerUpdateQueue(transaction) {
function SyntheticClipboardEvent (line 867) | function SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeE...
function SyntheticCompositionEvent (line 910) | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativ...
function ensureInjected (line 955) | function ensureInjected() {
function ReactUpdatesFlushTransaction (line 989) | function ReactUpdatesFlushTransaction() {
function batchedUpdates (line 1019) | function batchedUpdates(callback, a, b, c, d, e) {
function mountOrderComparator (line 1031) | function mountOrderComparator(c1, c2) {
function runBatchedUpdates (line 1035) | function runBatchedUpdates(transaction) {
function enqueueUpdate (line 1114) | function enqueueUpdate(component) {
function asap (line 1138) | function asap(callback, context) {
function attachRefs (line 1205) | function attachRefs() {
function enqueueUpdate (line 1382) | function enqueueUpdate(internalInstance) {
function formatUnexpectedArgument (line 1386) | function formatUnexpectedArgument(arg) {
function getInternalInstanceReadyForUpdate (line 1399) | function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
FILE: dist/webworker/6.webworker.js
function FallbackCompositionState (line 149) | function FallbackCompositionState(root) {
function handleElement (line 454) | function handleElement(debugID, element) {
function listenerAtPhase (line 811) | function listenerAtPhase(inst, event, propagationPhase) {
function accumulateDirectionalDispatches (line 822) | function accumulateDirectionalDispatches(inst, upwards, event) {
function accumulateTwoPhaseDispatchesSingle (line 841) | function accumulateTwoPhaseDispatchesSingle(event) {
function accumulateTwoPhaseDispatchesSingleSkipTarget (line 850) | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
function accumulateDispatches (line 863) | function accumulateDispatches(inst, ignoredDirection, event) {
function accumulateDirectDispatchesSingle (line 879) | function accumulateDirectDispatchesSingle(event) {
function accumulateTwoPhaseDispatches (line 885) | function accumulateTwoPhaseDispatches(events) {
function accumulateTwoPhaseDispatchesSkipTarget (line 889) | function accumulateTwoPhaseDispatchesSkipTarget(events) {
function accumulateEnterLeaveDispatches (line 893) | function accumulateEnterLeaveDispatches(leave, enter, from, to) {
function accumulateDirectDispatches (line 897) | function accumulateDirectDispatches(events) {
function recomputePluginOrdering (line 960) | function recomputePluginOrdering() {
function publishEventForPlugin (line 989) | function publishEventForPlugin(dispatchConfig, PluginModule, eventName) {
function publishRegistrationName (line 1017) | function publishRegistrationName(registrationName, PluginModule, eventNa...
function isEndish (line 1231) | function isEndish(topLevelType) {
function isMoveish (line 1235) | function isMoveish(topLevelType) {
function isStartish (line 1238) | function isStartish(topLevelType) {
function executeDispatch (line 1265) | function executeDispatch(event, simulated, listener, inst) {
function executeDispatchesInOrder (line 1279) | function executeDispatchesInOrder(event, simulated) {
function executeDispatchesInOrderStopAtTrueImpl (line 1307) | function executeDispatchesInOrderStopAtTrueImpl(event) {
function executeDispatchesInOrderStopAtTrue (line 1334) | function executeDispatchesInOrderStopAtTrue(event) {
function executeDirectDispatch (line 1350) | function executeDirectDispatch(event) {
function hasDispatches (line 1369) | function hasDispatches(event) {
function _assertSingleLink (line 1452) | function _assertSingleLink(inputProps) {
function _assertValueLink (line 1455) | function _assertValueLink(inputProps) {
function _assertCheckedLink (line 1460) | function _assertCheckedLink(inputProps) {
function getDeclarationErrorAddendum (line 1482) | function getDeclarationErrorAddendum(owner) {
FILE: dist/webworker/7.webworker.js
function shouldUseChangeEvent (line 269) | function shouldUseChangeEvent(elem) {
function manualDispatchChangeEvent (line 280) | function manualDispatchChangeEvent(nativeEvent) {
function runEventInBatch (line 298) | function runEventInBatch(event) {
function startWatchingForChangeEventIE8 (line 303) | function startWatchingForChangeEventIE8(target, targetInst) {
function stopWatchingForChangeEventIE8 (line 309) | function stopWatchingForChangeEventIE8() {
function getTargetInstForChangeEvent (line 318) | function getTargetInstForChangeEvent(topLevelType, targetInst) {
function handleEventsForChangeEventIE8 (line 323) | function handleEventsForChangeEventIE8(topLevelType, target, targetInst) {
function startWatchingForValueChange (line 366) | function startWatchingForValueChange(target, targetInst) {
function stopWatchingForValueChange (line 386) | function stopWatchingForValueChange() {
function handlePropertyChange (line 410) | function handlePropertyChange(nativeEvent) {
function getTargetInstForInputEvent (line 426) | function getTargetInstForInputEvent(topLevelType, targetInst) {
function handleEventsForInputEventIE (line 434) | function handleEventsForInputEventIE(topLevelType, target, targetInst) {
function getTargetInstForInputEventIE (line 457) | function getTargetInstForInputEventIE(topLevelType, targetInst) {
function shouldUseClickEvent (line 479) | function shouldUseClickEvent(elem) {
function getTargetInstForClickEvent (line 486) | function getTargetInstForClickEvent(topLevelType, targetInst) {
function checkMask (line 707) | function checkMask(value, bitmask) {
function insertTreeChildren (line 939) | function insertTreeChildren(tree) {
function replaceChildWithTree (line 972) | function replaceChildWithTree(oldNode, newTree) {
function queueChild (line 977) | function queueChild(parentTree, childTree) {
function queueHTML (line 985) | function queueHTML(tree, html) {
function queueText (line 993) | function queueText(tree, text) {
function toString (line 1001) | function toString() {
function DOMLazyTree (line 1005) | function DOMLazyTree(node) {
function getNodeAfter (line 1109) | function getNodeAfter(parentNode, node) {
function insertLazyTreeChildAt (line 1133) | function insertLazyTreeChildAt(parentNode, childTree, referenceNode) {
function moveChild (line 1137) | function moveChild(parentNode, childNode, referenceNode) {
function removeChild (line 1145) | function removeChild(parentNode, childNode) {
function moveDelimitedText (line 1155) | function moveDelimitedText(parentNode, openingComment, closingComment, r...
function removeDelimitedText (line 1167) | function removeDelimitedText(parentNode, startNode, closingComment) {
function replaceDelimitedText (line 1179) | function replaceDelimitedText(openingComment, closingComment, stringText) {
function isAttributeNameSafe (line 1312) | function isAttributeNameSafe(attributeName) {
function shouldIgnoreValue (line 1328) | function shouldIgnoreValue(propertyInfo, value) {
FILE: dist/webworker/8.webworker.js
function makeInsertMarkup (line 143) | function makeInsertMarkup(markup, afterNode, toIndex) {
function makeMove (line 162) | function makeMove(child, afterNode, toIndex) {
function makeRemove (line 180) | function makeRemove(child, node) {
function makeSetMarkup (line 198) | function makeSetMarkup(markup) {
function makeTextContent (line 216) | function makeTextContent(textContent) {
function enqueue (line 232) | function enqueue(queue, update) {
function processQueue (line 245) | function processQueue(inst, updateQueue) {
function SyntheticAnimationEvent (line 701) | function SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeE...
function firstDifferenceIndex (line 823) | function firstDifferenceIndex(string1, string2) {
function getReactRootElementInContainer (line 838) | function getReactRootElementInContainer(container) {
function internalGetID (line 850) | function internalGetID(node) {
function mountComponentIntoNode (line 865) | function mountComponentIntoNode(wrapperInstance, container, transaction,...
function batchedMountComponentIntoNode (line 892) | function batchedMountComponentIntoNode(componentInstance, container, sho...
function unmountComponentFromNode (line 909) | function unmountComponentFromNode(instance, container, safely) {
function hasNonRootReactChild (line 938) | function hasNonRootReactChild(container) {
function nodeIsRenderedByOtherInstance (line 954) | function nodeIsRenderedByOtherInstance(container) {
function isValidContainer (line 966) | function isValidContainer(node) {
function isReactNode (line 977) | function isReactNode(node) {
function getHostRootInstanceInContainer (line 981) | function getHostRootInstanceInContainer(container) {
function getTopLevelWrapperInContainer (line 987) | function getTopLevelWrapperInContainer(container) {
FILE: dist/webworker/9.webworker.js
function adler32 (line 28) | function adler32(data) {
function dangerousStyleValue (line 87) | function dangerousStyleValue(name, value, component) {
function escapeHtml (line 440) | function escapeHtml(string) {
function escapeTextContentForBrowser (line 498) | function escapeTextContentForBrowser(text) {
function accumulateInto (line 586) | function accumulateInto(current, next) {
FILE: dist/webworker/inline.js
function __webpack_require__ (line 20) | function __webpack_require__(moduleId) {
Condensed preview — 109 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,457K chars).
[
{
"path": ".gitignore",
"chars": 14,
"preview": "/node_modules/"
},
{
"path": "README.md",
"chars": 2095,
"preview": "# compare-webpack-target-bundles\nExample of webpack targets bundled into separate bundles.\n\n## Overview\n\nThis repo is a "
},
{
"path": "dep_one.js",
"chars": 180,
"preview": "const something = function() {\n\tconsole.log(\"SOMETHING IS HAPPENING\");\n}\n\nconst foo = function() {\n\tconsole.table(\"FOO I"
},
{
"path": "dep_two.js",
"chars": 76,
"preview": "export default function foo() {\n\tconsole.log(\"DEFAULT EXPORT HELLOOOOO\");\n} "
},
{
"path": "dist/async-node/0.async-node.js",
"chars": 51600,
"preview": "exports.ids = [0,16];\nexports.modules = {\n\n/***/ 100:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/async-node/1.async-node.js",
"chars": 49667,
"preview": "exports.ids = [1,16];\nexports.modules = {\n\n/***/ 166:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/10.async-node.js",
"chars": 50093,
"preview": "exports.ids = [10,16];\nexports.modules = {\n\n/***/ 120:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/async-node/11.async-node.js",
"chars": 50141,
"preview": "exports.ids = [11,16];\nexports.modules = {\n\n/***/ 123:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/async-node/12.async-node.js",
"chars": 245,
"preview": "exports.ids = [12,16];\nexports.modules = {\n\n/***/ 29:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/13.async-node.js",
"chars": 51840,
"preview": "exports.ids = [13,16];\nexports.modules = [\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";"
},
{
"path": "dist/async-node/14.async-node.js",
"chars": 42234,
"preview": "exports.ids = [14,16];\nexports.modules = [\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */\n/***/ function(module, exports) {\n\n\"use st"
},
{
"path": "dist/async-node/15.async-node.js",
"chars": 39850,
"preview": "exports.ids = [15,16];\nexports.modules = {\n\n/***/ 2:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict"
},
{
"path": "dist/async-node/2.async-node.js",
"chars": 50573,
"preview": "exports.ids = [2,16];\nexports.modules = {\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/3.async-node.js",
"chars": 50498,
"preview": "exports.ids = [3,16];\nexports.modules = {\n\n/***/ 152:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/4.async-node.js",
"chars": 50427,
"preview": "exports.ids = [4,16];\nexports.modules = {\n\n/***/ 117:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/5.async-node.js",
"chars": 50437,
"preview": "exports.ids = [5,16];\nexports.modules = {\n\n/***/ 147:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/6.async-node.js",
"chars": 50703,
"preview": "exports.ids = [6,16];\nexports.modules = {\n\n/***/ 114:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/7.async-node.js",
"chars": 50601,
"preview": "exports.ids = [7,16];\nexports.modules = {\n\n/***/ 110:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/8.async-node.js",
"chars": 50422,
"preview": "exports.ids = [8,16];\nexports.modules = {\n\n/***/ 143:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/async-node/9.async-node.js",
"chars": 20455,
"preview": "exports.ids = [9,16];\nexports.modules = {\n\n/***/ 164:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/async-node/inline.js",
"chars": 4380,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/*"
},
{
"path": "dist/electron-main/0.electron-main.js",
"chars": 51600,
"preview": "exports.ids = [0,16];\nexports.modules = {\n\n/***/ 100:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/electron-main/1.electron-main.js",
"chars": 49667,
"preview": "exports.ids = [1,16];\nexports.modules = {\n\n/***/ 166:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/10.electron-main.js",
"chars": 50093,
"preview": "exports.ids = [10,16];\nexports.modules = {\n\n/***/ 120:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/electron-main/11.electron-main.js",
"chars": 50141,
"preview": "exports.ids = [11,16];\nexports.modules = {\n\n/***/ 123:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/electron-main/12.electron-main.js",
"chars": 245,
"preview": "exports.ids = [12,16];\nexports.modules = {\n\n/***/ 29:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/13.electron-main.js",
"chars": 51840,
"preview": "exports.ids = [13,16];\nexports.modules = [\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";"
},
{
"path": "dist/electron-main/14.electron-main.js",
"chars": 42234,
"preview": "exports.ids = [14,16];\nexports.modules = [\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */\n/***/ function(module, exports) {\n\n\"use st"
},
{
"path": "dist/electron-main/15.electron-main.js",
"chars": 39850,
"preview": "exports.ids = [15,16];\nexports.modules = {\n\n/***/ 2:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict"
},
{
"path": "dist/electron-main/2.electron-main.js",
"chars": 50573,
"preview": "exports.ids = [2,16];\nexports.modules = {\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/3.electron-main.js",
"chars": 50498,
"preview": "exports.ids = [3,16];\nexports.modules = {\n\n/***/ 152:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/4.electron-main.js",
"chars": 50427,
"preview": "exports.ids = [4,16];\nexports.modules = {\n\n/***/ 117:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/5.electron-main.js",
"chars": 50437,
"preview": "exports.ids = [5,16];\nexports.modules = {\n\n/***/ 147:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/6.electron-main.js",
"chars": 50703,
"preview": "exports.ids = [6,16];\nexports.modules = {\n\n/***/ 114:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/7.electron-main.js",
"chars": 50601,
"preview": "exports.ids = [7,16];\nexports.modules = {\n\n/***/ 110:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/8.electron-main.js",
"chars": 50422,
"preview": "exports.ids = [8,16];\nexports.modules = {\n\n/***/ 143:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/electron-main/9.electron-main.js",
"chars": 20455,
"preview": "exports.ids = [9,16];\nexports.modules = {\n\n/***/ 164:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/electron-main/inline.js",
"chars": 4383,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/*"
},
{
"path": "dist/node/0.node.js",
"chars": 51600,
"preview": "exports.ids = [0,16];\nexports.modules = {\n\n/***/ 100:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/node/1.node.js",
"chars": 49667,
"preview": "exports.ids = [1,16];\nexports.modules = {\n\n/***/ 166:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/10.node.js",
"chars": 50093,
"preview": "exports.ids = [10,16];\nexports.modules = {\n\n/***/ 120:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/node/11.node.js",
"chars": 50141,
"preview": "exports.ids = [11,16];\nexports.modules = {\n\n/***/ 123:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stri"
},
{
"path": "dist/node/12.node.js",
"chars": 245,
"preview": "exports.ids = [12,16];\nexports.modules = {\n\n/***/ 29:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/13.node.js",
"chars": 51840,
"preview": "exports.ids = [13,16];\nexports.modules = [\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";"
},
{
"path": "dist/node/14.node.js",
"chars": 42234,
"preview": "exports.ids = [14,16];\nexports.modules = [\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */\n/***/ function(module, exports) {\n\n\"use st"
},
{
"path": "dist/node/15.node.js",
"chars": 39850,
"preview": "exports.ids = [15,16];\nexports.modules = {\n\n/***/ 2:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict"
},
{
"path": "dist/node/2.node.js",
"chars": 50573,
"preview": "exports.ids = [2,16];\nexports.modules = {\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/3.node.js",
"chars": 50498,
"preview": "exports.ids = [3,16];\nexports.modules = {\n\n/***/ 152:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/4.node.js",
"chars": 50427,
"preview": "exports.ids = [4,16];\nexports.modules = {\n\n/***/ 117:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/5.node.js",
"chars": 50437,
"preview": "exports.ids = [5,16];\nexports.modules = {\n\n/***/ 147:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/6.node.js",
"chars": 50703,
"preview": "exports.ids = [6,16];\nexports.modules = {\n\n/***/ 114:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/7.node.js",
"chars": 50601,
"preview": "exports.ids = [7,16];\nexports.modules = {\n\n/***/ 110:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/8.node.js",
"chars": 50422,
"preview": "exports.ids = [8,16];\nexports.modules = {\n\n/***/ 143:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use stric"
},
{
"path": "dist/node/9.node.js",
"chars": 20455,
"preview": "exports.ids = [9,16];\nexports.modules = {\n\n/***/ 164:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/node/inline.js",
"chars": 3351,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/*"
},
{
"path": "dist/node-webkit/0.node-webkit.js",
"chars": 51580,
"preview": "webpackJsonp([0,16],{\n\n/***/ 100:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright (c) 2013-present, Fa"
},
{
"path": "dist/node-webkit/1.node-webkit.js",
"chars": 49647,
"preview": "webpackJsonp([1,16],{\n\n/***/ 166:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/10.node-webkit.js",
"chars": 50073,
"preview": "webpackJsonp([10,16],{\n\n/***/ 120:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyrigh"
},
{
"path": "dist/node-webkit/11.node-webkit.js",
"chars": 50121,
"preview": "webpackJsonp([11,16],{\n\n/***/ 123:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyrigh"
},
{
"path": "dist/node-webkit/12.node-webkit.js",
"chars": 225,
"preview": "webpackJsonp([12,16],{\n\n/***/ 29:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony expor"
},
{
"path": "dist/node-webkit/13.node-webkit.js",
"chars": 51820,
"preview": "webpackJsonp([13,16],[\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright 20"
},
{
"path": "dist/node-webkit/14.node-webkit.js",
"chars": 42219,
"preview": "webpackJsonp([14,16],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyri"
},
{
"path": "dist/node-webkit/15.node-webkit.js",
"chars": 39830,
"preview": "webpackJsonp([15,16],{\n\n/***/ 2:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright "
},
{
"path": "dist/node-webkit/2.node-webkit.js",
"chars": 50553,
"preview": "webpackJsonp([2,16],{\n\n/***/ 132:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/3.node-webkit.js",
"chars": 50478,
"preview": "webpackJsonp([3,16],{\n\n/***/ 152:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/4.node-webkit.js",
"chars": 50407,
"preview": "webpackJsonp([4,16],{\n\n/***/ 117:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/5.node-webkit.js",
"chars": 50417,
"preview": "webpackJsonp([5,16],{\n\n/***/ 147:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/6.node-webkit.js",
"chars": 50683,
"preview": "webpackJsonp([6,16],{\n\n/***/ 114:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/7.node-webkit.js",
"chars": 50581,
"preview": "webpackJsonp([7,16],{\n\n/***/ 110:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/8.node-webkit.js",
"chars": 50402,
"preview": "webpackJsonp([8,16],{\n\n/***/ 143:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/node-webkit/9.node-webkit.js",
"chars": 20435,
"preview": "webpackJsonp([9,16],{\n\n/***/ 164:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright 2013-present, Facebo"
},
{
"path": "dist/node-webkit/inline.js",
"chars": 5347,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar "
},
{
"path": "dist/web/0.web.js",
"chars": 52272,
"preview": "webpackJsonp([0,16],{\n\n/***/ 100:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/1.web.js",
"chars": 50107,
"preview": "webpackJsonp([1,16],{\n\n/***/ 167:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/10.web.js",
"chars": 50533,
"preview": "webpackJsonp([10,16],{\n\n/***/ 121:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR "
},
{
"path": "dist/web/11.web.js",
"chars": 50466,
"preview": "webpackJsonp([11,16],{\n\n/***/ 124:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR "
},
{
"path": "dist/web/12.web.js",
"chars": 225,
"preview": "webpackJsonp([12,16],{\n\n/***/ 30:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony expor"
},
{
"path": "dist/web/13.web.js",
"chars": 52821,
"preview": "webpackJsonp([13,16],[\n/* 0 */\n/***/ function(module, exports) {\n\n// shim for using process in browser\nvar process = mod"
},
{
"path": "dist/web/14.web.js",
"chars": 47834,
"preview": "webpackJsonp([14,16],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n"
},
{
"path": "dist/web/15.web.js",
"chars": 40061,
"preview": "webpackJsonp([15,16],{\n\n/***/ 26:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/2.web.js",
"chars": 51264,
"preview": "webpackJsonp([2,16],{\n\n/***/ 133:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/3.web.js",
"chars": 50708,
"preview": "webpackJsonp([3,16],{\n\n/***/ 153:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/web/4.web.js",
"chars": 51097,
"preview": "webpackJsonp([4,16],{\n\n/***/ 118:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/5.web.js",
"chars": 51107,
"preview": "webpackJsonp([5,16],{\n\n/***/ 148:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/6.web.js",
"chars": 51373,
"preview": "webpackJsonp([6,16],{\n\n/***/ 115:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/web/7.web.js",
"chars": 51041,
"preview": "webpackJsonp([7,16],{\n\n/***/ 111:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/8.web.js",
"chars": 50977,
"preview": "webpackJsonp([8,16],{\n\n/***/ 144:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/web/9.web.js",
"chars": 20780,
"preview": "webpackJsonp([9,16],{\n\n/***/ 165:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright 2013-present, Facebo"
},
{
"path": "dist/web/inline.js",
"chars": 5339,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar "
},
{
"path": "dist/webworker/0.webworker.js",
"chars": 52272,
"preview": "webpackChunk([0,16],{\n\n/***/ 100:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/1.webworker.js",
"chars": 50107,
"preview": "webpackChunk([1,16],{\n\n/***/ 167:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/10.webworker.js",
"chars": 50533,
"preview": "webpackChunk([10,16],{\n\n/***/ 121:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR "
},
{
"path": "dist/webworker/11.webworker.js",
"chars": 50466,
"preview": "webpackChunk([11,16],{\n\n/***/ 124:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR "
},
{
"path": "dist/webworker/12.webworker.js",
"chars": 225,
"preview": "webpackChunk([12,16],{\n\n/***/ 30:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* harmony expor"
},
{
"path": "dist/webworker/13.webworker.js",
"chars": 52821,
"preview": "webpackChunk([13,16],[\n/* 0 */\n/***/ function(module, exports) {\n\n// shim for using process in browser\nvar process = mod"
},
{
"path": "dist/webworker/14.webworker.js",
"chars": 47829,
"preview": "webpackChunk([14,16],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n"
},
{
"path": "dist/webworker/15.webworker.js",
"chars": 40061,
"preview": "webpackChunk([15,16],{\n\n/***/ 26:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/2.webworker.js",
"chars": 51264,
"preview": "webpackChunk([2,16],{\n\n/***/ 133:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/3.webworker.js",
"chars": 50708,
"preview": "webpackChunk([3,16],{\n\n/***/ 153:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/webworker/4.webworker.js",
"chars": 51097,
"preview": "webpackChunk([4,16],{\n\n/***/ 118:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/5.webworker.js",
"chars": 51107,
"preview": "webpackChunk([5,16],{\n\n/***/ 148:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/6.webworker.js",
"chars": 51373,
"preview": "webpackChunk([6,16],{\n\n/***/ 115:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * Copyright"
},
{
"path": "dist/webworker/7.webworker.js",
"chars": 51041,
"preview": "webpackChunk([7,16],{\n\n/***/ 111:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/8.webworker.js",
"chars": 50977,
"preview": "webpackChunk([8,16],{\n\n/***/ 144:\n/***/ function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR I"
},
{
"path": "dist/webworker/9.webworker.js",
"chars": 20780,
"preview": "webpackChunk([9,16],{\n\n/***/ 165:\n/***/ function(module, exports) {\n\n\"use strict\";\n/**\n * Copyright 2013-present, Facebo"
},
{
"path": "dist/webworker/inline.js",
"chars": 3104,
"preview": "/******/ (function(modules) { // webpackBootstrap\n/******/ \tthis[\"webpackChunk\"] = function webpackChunkCallback(chunkId"
},
{
"path": "entry.js",
"chars": 272,
"preview": "require('react');\nrequire(['react-dom']);\nimport { foo, something } from './dep_one.js';\n\nsomething(); \nfoo(); \n\nvar foo"
},
{
"path": "package.json",
"chars": 411,
"preview": "{\n \"name\": \"compare-webpack-target-bundles\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"main\": \"index.js\",\n \"script"
},
{
"path": "webpack.config.js",
"chars": 879,
"preview": "var path = require('path');\nvar webpack = require('webpack');\nvar webpackMerge = require('webpack-merge');\n\nvar baseConf"
}
]
About this extraction
This page contains the full source code of the TheLarkInn/compare-webpack-target-bundles GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 109 files (4.1 MB), approximately 1.1M tokens, and a symbol index with 1983 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.