Plato on Github
Report Home
build/goldfish.min.js
Maintainability
93.31
Lines of code
40
Difficulty
46.86
Estimated Errors
11.84
Function weight
By Complexity
By SLOC
!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="http://localhost:3001/",n(0)}(function(e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))switch(typeof e[n]){case"function":break;case"object":e[n]=function(n){var t=n.slice(1),r=e[n[0]];return function(e,n,o){r.apply(this,[e,n,o].concat(t))}}(e[n]);break;default:e[n]=e[e[n]]}return e}([function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _PeopleSearch = __webpack_require__(154);\n\nvar _PeopleSearch2 = _interopRequireDefault(_PeopleSearch);\n\nvar _snappin = __webpack_require__(486);\n\nvar _snappin2 = _interopRequireDefault(_snappin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Custom event polyfill for IE9 - IE10\n/* eslint new-cap: 0 */\nfunction CustomEvent(event, params) {\n var eventParams = params || { bubbles: false, cancelable: false, detail: undefined };\n\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, eventParams.bubbles, eventParams.cancelable, eventParams.detail);\n\n return evt;\n}\n\nCustomEvent.prototype = window.CustomEvent.prototype;\nwindow.CustomEvent = CustomEvent;\n\nvar Goldfish = {\n options: {\n title: 'Goldfish',\n properties: ''\n },\n\n interval: null,\n\n LoadStyleSheet: function () {\n function LoadStyleSheet(href) {\n var sheet = document.createElement('link');\n sheet.setAttribute('href', href);\n sheet.setAttribute('rel', 'stylesheet');\n\n sheet.onreadystatechange = function () {\n function readyStylesIE() {\n if (this.readyState === 'complete') {\n Goldfish.Ready();\n }\n }\n\n return readyStylesIE;\n }();\n\n // Handle better browsers\n sheet.onload = function () {\n function readyStylesModern() {\n Goldfish.Ready();\n }\n\n return readyStylesModern;\n }();\n\n document.getElementsByTagName('head')[0].appendChild(sheet);\n }\n\n return LoadStyleSheet;\n }(),\n LoadScript: function () {\n function LoadScript(href, callback) {\n var link = document.createElement('script');\n link.setAttribute('type', 'text/javascript');\n link.setAttribute('src', href);\n\n // Handle IE\n link.onreadystatechange = function () {\n function readyScriptIE() {\n if (this.readyState === 'complete') {\n callback();\n }\n }\n\n return readyScriptIE;\n }();\n // Handle better browsers\n link.onload = function () {\n function readyScriptModern() {\n callback();\n }\n\n return readyScriptModern;\n }();\n\n document.getElementsByTagName('head')[0].appendChild(link);\n }\n\n return LoadScript;\n }(),\n HouseKeeping: function () {\n function HouseKeeping() {\n // Minimal download strategy page click house keeping\n window.onhashchange = function () {\n if (location.hash.charAt(1) === '/') {\n var child = document.getElementById('component-holder');\n // After the MDS has finished loading the page, we need to clear down Goldfish if it's open\n if (child !== null) {\n document.body.removeChild(child);\n }\n }\n };\n\n if (typeof window.houseKeeping === 'undefined') {\n // We need to clear up if this is the first visit\n Object.keys(localStorage).forEach(function (item) {\n if (item.indexOf('PeopleSearch-Results') > -1) {\n localStorage.removeItem(item);\n }\n });\n\n window.houseKeeping = true;\n }\n }\n\n return HouseKeeping;\n }(),\n KeyPressListener: function () {\n function KeyPressListener() {\n document.addEventListener('keydown', function () {\n function launchByKey(e) {\n window.keyWatcher = window.keyWatcher || null;\n\n if (window.keyWatcher === null && e.keyCode === 18) {\n window.keyWatcher = e.keyCode;\n } else if (window.keyWatcher === 18 && e.keyCode === 71) {\n (function () {\n var component = document.getElementById('component-holder');\n\n if (component === null) {\n Goldfish.Create();\n } else if (component !== null) {\n var holder = document.getElementById('outer-space');\n\n holder.className = 'animated bounceOutRight';\n\n window.setTimeout(function () {\n // destroy\n _react2['default'].unmountComponentAtNode(component);\n\n document.body.removeChild(component);\n }, 1000);\n }\n\n window.keyWatcher = null;\n })();\n }\n }\n\n return launchByKey;\n }());\n }\n\n return KeyPressListener;\n }(),\n DisableDragAndDrop: function () {\n function DisableDragAndDrop() {\n // If we are on a page with drag and drop controls we need to temporarily disable them\n window.ExecuteOrDelayUntilScriptLoaded(function () {\n if (typeof window.DUCBindDragDrop !== 'undefined') {\n window.removeListener(document.body, 'dragenter', window.dropElementDragEnter);\n window.removeListener(document.body, 'dragover', null);\n window.removeListener(document.body, 'dragleave', window.dropElementDragLeave);\n window.removeListener(document.body, 'drop', window.dropElementDrop);\n }\n }, 'dragdrop.js');\n }\n\n return DisableDragAndDrop;\n }(),\n Ready: function () {\n function Ready() {\n if (typeof Sys !== 'undefined' && Sys && Sys.Application) {\n Sys.Application.notifyScriptLoaded();\n }\n\n if (typeof SP !== 'undefined') {\n if (typeof SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs === 'function') {\n // Inform the create functionthat Goldfish can now load safely\n SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs('goldfish.min.js');\n }\n }\n\n Goldfish.KeyPressListener();\n }\n\n return Ready;\n }(),\n GetjQueryStatus: function () {\n function GetjQueryStatus() {\n return typeof jQuery !== 'undefined';\n }\n\n return GetjQueryStatus;\n }(),\n GetjQuery: function () {\n function GetjQuery() {\n Goldfish.LoadScript('https://code.jquery.com/jquery-1.11.3.min.js', Goldfish.Swim);\n }\n\n return GetjQuery;\n }(),\n FakeExecuteOrDelay: function () {\n function FakeExecuteOrDelay() {\n if (typeof window.ExecuteOrDelayUntilScriptLoaded === 'undefined') {\n window.ExecuteOrDelayUntilScriptLoaded = function (callback, script) {\n callback();\n };\n window.IMNRC = function () {};\n window.fakeAjaxCalls = true;\n }\n }\n\n return FakeExecuteOrDelay;\n }(),\n /*\r\n This functionchecks for necessary dependencies and it will then notify waiting code that the app can run\r\n */\n Swim: function () {\n function Swim() {\n if (!Goldfish.GetjQueryStatus()) {\n Goldfish.GetjQuery();\n return false;\n // Check that jQuery has fully loaded...\n }\n\n // Setup the google materials font and animate css for the UI\n Goldfish.LoadStyleSheet('https://fonts.googleapis.com/icon?family=Material+Icons');\n Goldfish.LoadStyleSheet('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css');\n }\n\n return Swim;\n }(),\n Snappy: function () {\n function Snappy() {\n if (typeof Goldfish.options.snappy !== 'undefined') {\n if (Goldfish.options.snappy) {\n console.log('SNAPPY IS CALLED AND ENABLED');\n\n var clickers = ['dragSnapinGoldfish', 'dragSnapinGoldfishLayout', 'dragSnapinGoldfishSettings', 'dragSnapinGoldfishFavourites'];\n\n _snappin2['default'].Start('outer-space', 'component-ghostpane', clickers);\n }\n }\n }\n\n return Snappy;\n }(),\n Create: function () {\n function Create(options) {\n // If options are provided do a cursory check and save them if they are valid\n if (typeof options !== 'undefined') {\n if (this.ObjectPayloadCheck(options)) {\n Goldfish.options = options;\n } else {\n console.log('Goldfish.Swim - options ignored (invalid format)');\n }\n }\n // fake the execute or delay functionality if we are showing this as a demo\n Goldfish.FakeExecuteOrDelay();\n // we need to clear up if this is the first visit\n Goldfish.HouseKeeping();\n // due to the global way drag and drop is invoked on document libraries, we need to disable this whilst our component is active\n Goldfish.DisableDragAndDrop();\n /*\r\n everything looks good...\r\n lets setup the container and component elements\r\n */\n var holder = document.createElement('div');\n\n holder.id = 'component-holder';\n holder.style.width = '400px';\n\n var ghost = document.createElement('div');\n ghost.id = 'component-ghostpane';\n ghost.style.display = 'none';\n\n document.getElementsByTagName('body')[0].appendChild(holder);\n document.getElementsByTagName('body')[0].appendChild(ghost);\n\n // When we close the People Search component, we trash it. Recreate if it is opened again\n window.ExecuteOrDelayUntilScriptLoaded(function () {\n _react2['default'].render(_react2['default'].createElement(_PeopleSearch2['default'], { options: Goldfish.options }), document.getElementById('component-holder'), function () {\n // callback function to apply any override theme CSS\n Goldfish.OverrideThemeColours();\n // callback function to add Snappin functionality when specified in options\n Goldfish.Snappy();\n });\n }, 'goldfish.min.js');\n }\n\n return Create;\n }(),\n GetPrimaryColour: function () {\n function GetPrimaryColour() {\n if (typeof Goldfish.options.css !== 'undefined' && 'primary' in Goldfish.options.css) {\n return Goldfish.options.css.primary;\n }\n\n var theme = void 0;\n\n if (typeof jQuery('#O365_NavHeader').css('backgroundColor') !== 'undefined') {\n theme = jQuery('#O365_NavHeader').css('backgroundColor');\n } else if (typeof jQuery('#suiteBarLeft').css('backgroundColor') !== 'undefined') {\n theme = jQuery('#suiteBarLeft').css('backgroundColor');\n } else {\n theme = _default2['default'].DEFAULT_COLOUR;\n }\n\n return theme;\n }\n\n return GetPrimaryColour;\n }(),\n OverrideThemeColours: function () {\n function OverrideThemeColours() {\n if (typeof jQuery !== 'undefined') {\n if (document.getElementById('component') !== null) {\n if (Goldfish.interval !== null) {\n window.clearInterval(Goldfish.interval);\n }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var colour = Goldfish.GetPrimaryColour();\n\n var overrides = document.createElement('style');\n\n overrides.type = 'text/css';\n\n var css = '#O365fpcontainerid { z-index:2010; } #outer-space { position: absolute; z-index: 2000; top: 85px; display: block; right: 0; height: 100%; width: 570px; overflow-y: scroll; } #outer-space::-webkit-scrollbar { background: #eeeeee } #outer-space::-webkit-scrollbar-thumb { background: #cccccc } #outer-space div.sortable-container div.sortable-item div:hover, #outer-space div.sortable-container div.sortable-item:hover { background-color: ' + colour + '; } #outer-space .highlight, #component-tabs .active { color:' + colour + ' !important; } #outer-space span.commandor input[type=button], #outer-space span.commandor button { background: #eeeeee !important; color: #666666; border-radius: 0%; box-shadow: none; } #outer-space input[type=text]:focus, #outer-space input[type=text]:hover { border-color: ' + colour + ' !important; } #outer-space button, #outer-space input[type=button] { background-color: ' + colour + ' !important; } #outer-space div.nocolour button, #outer-space div.nocolour input[type=button] { background-color: #f4f4f4 !important; } #outer-space div.remove button, #outer-space div.remove input[type=button] { background-color: #666666 !important; } div.switches-with-broomsticks label span[role=switch] { background-color: ' + colour + ' !important; } div.switches-with-broomsticks label span span[role=thumb] { background-color: ' + colour + ' !important; } #outer-space div.Select-option.is-focused { background-color: ' + colour + ' !important; color:#ffffff; }';\n\n if (overrides.styleSheet) {\n overrides.styleSheet.cssText = css;\n } else {\n overrides.appendChild(document.createTextNode(css));\n }\n\n head.appendChild(overrides);\n } else {\n // IE safe guard for late rendering\n Goldfish.interval = Goldfish.interval || window.setInterval(function () {\n Goldfish.OverrideThemeColours();\n }, 1000);\n }\n }\n }\n\n return OverrideThemeColours;\n }(),\n ObjectPayloadCheck: function () {\n function ObjectPayloadCheck(options) {\n var safe = ['title', 'css', 'layout', 'snappy', 'menu', 'properties', 'suggest', 'settings'];\n\n var valid = Object.keys(options).some(function (item) {\n return safe.indexOf(item) > -1;\n });\n\n return valid;\n }\n\n return ObjectPayloadCheck;\n }(),\n RegisterLayouts: function () {\n function RegisterLayouts(layouts) {\n var newLayoutsAdded = new CustomEvent('Goldfish.Layouts', {\n detail: {\n layouts: layouts,\n time: new Date()\n },\n bubbles: true,\n cancelable: true\n });\n\n document.dispatchEvent(newLayoutsAdded);\n }\n\n return RegisterLayouts;\n }()\n};\n\n// fetches and prepares everything\nGoldfish.Swim();\n\nwindow.Goldfish = window.Goldfish || Goldfish;\n\n/*\r\n You can load Goldfish with or without options (options are shown in the readme.md file)\r\n var options = {\r\n css: {\r\n primary: \"#00FF00\"\r\n },\r\n snappy: true\r\n }\r\n Goldfish.Create();\r\n Goldfish.Create(options);\r\n*/\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/index.js\n ** module id = 0\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(2);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/react.js\n ** module id = 1\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/react.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule React\n */\n\n'use strict';\n\nvar ReactDOM = __webpack_require__(3);\nvar ReactDOMServer = __webpack_require__(143);\nvar ReactIsomorphic = __webpack_require__(147);\n\nvar assign = __webpack_require__(38);\nvar deprecated = __webpack_require__(152);\n\n// `version` will be added here by ReactIsomorphic.\nvar React = {};\n\nassign(React, ReactIsomorphic);\n\nassign(React, {\n // ReactDOM\n findDOMNode: deprecated('findDOMNode', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.findDOMNode),\n render: deprecated('render', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.render),\n unmountComponentAtNode: deprecated('unmountComponentAtNode', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.unmountComponentAtNode),\n\n // ReactDOMServer\n renderToString: deprecated('renderToString', 'ReactDOMServer', 'react-dom/server', ReactDOMServer, ReactDOMServer.renderToString),\n renderToStaticMarkup: deprecated('renderToStaticMarkup', 'ReactDOMServer', 'react-dom/server', ReactDOMServer, ReactDOMServer.renderToStaticMarkup)\n});\n\nReact.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactDOM;\nReact.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactDOMServer;\n\nmodule.exports = React;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/React.js\n ** module id = 2\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/React.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOM\n */\n\n/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactDOMTextComponent = __webpack_require__(5);\nvar ReactDefaultInjection = __webpack_require__(70);\nvar ReactInstanceHandles = __webpack_require__(44);\nvar ReactMount = __webpack_require__(27);\nvar ReactPerf = __webpack_require__(17);\nvar ReactReconciler = __webpack_require__(49);\nvar ReactUpdates = __webpack_require__(53);\nvar ReactVersion = __webpack_require__(141);\n\nvar findDOMNode = __webpack_require__(90);\nvar renderSubtreeIntoContainer = __webpack_require__(142);\nvar warning = __webpack_require__(24);\n\nReactDefaultInjection.inject();\n\nvar render = ReactPerf.measure('React', 'render', ReactMount.render);\n\nvar React = {\n findDOMNode: findDOMNode,\n render: render,\n unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n version: ReactVersion,\n\n /* eslint-disable camelcase */\n unstable_batchedUpdates: ReactUpdates.batchedUpdates,\n unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer\n};\n\n// Inject the runtime into a devtools global hook regardless of browser.\n// Allows for debugging when the hook is injected on the page.\n/* eslint-enable camelcase */\nif (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({\n CurrentOwner: ReactCurrentOwner,\n InstanceHandles: ReactInstanceHandles,\n Mount: ReactMount,\n Reconciler: ReactReconciler,\n TextComponent: ReactDOMTextComponent\n });\n}\n\nif (false) {\n var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n if (ExecutionEnvironment.canUseDOM && window.top === window.self) {\n\n // First check if devtools is not installed\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n // If we're in Chrome or Firefox, provide a download link if not installed.\n if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {\n console.debug('Download the React DevTools for a better development experience: ' + 'https://fb.me/react-devtools');\n }\n }\n\n // If we're in IE8, check to see if we are in compatibility mode and provide\n // information on preventing compatibility mode\n var ieCompatibilityMode = document.documentMode && document.documentMode < 8;\n\n process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />') : undefined;\n\n var expectedFeatures = [\n // shims\n Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.split, String.prototype.trim,\n\n // shams\n Object.create, Object.freeze];\n\n for (var i = 0; i < expectedFeatures.length; i++) {\n if (!expectedFeatures[i]) {\n console.error('One or more ES5 shim/shams expected by React are not available: ' + 'https://fb.me/react-warning-polyfills');\n break;\n }\n }\n }\n}\n\nmodule.exports = React;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOM.js\n ** module id = 3\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOM.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactCurrentOwner\n */\n\n'use strict';\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n */\nvar ReactCurrentOwner = {\n\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n\n};\n\nmodule.exports = ReactCurrentOwner;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactCurrentOwner.js\n ** module id = 4\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactCurrentOwner.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMTextComponent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar DOMChildrenOperations = __webpack_require__(6);\nvar DOMPropertyOperations = __webpack_require__(21);\nvar ReactComponentBrowserEnvironment = __webpack_require__(25);\nvar ReactMount = __webpack_require__(27);\n\nvar assign = __webpack_require__(38);\nvar escapeTextContentForBrowser = __webpack_require__(20);\nvar setTextContent = __webpack_require__(19);\nvar validateDOMNesting = __webpack_require__(69);\n\n/**\n * Text nodes violate a couple assumptions that React makes about components:\n *\n * - When mounting text into the DOM, adjacent text nodes are merged.\n * - Text nodes cannot be assigned a React root ID.\n *\n * This component is used to wrap strings in elements so that they can undergo\n * the same reconciliation that is applied to elements.\n *\n * TODO: Investigate representing React components in the DOM with text nodes.\n *\n * @class ReactDOMTextComponent\n * @extends ReactComponent\n * @internal\n */\nvar ReactDOMTextComponent = function (props) {\n // This constructor and its argument is currently used by mocks.\n};\n\nassign(ReactDOMTextComponent.prototype, {\n\n /**\n * @param {ReactText} text\n * @internal\n */\n construct: function (text) {\n // TODO: This is really a ReactText (ReactNode), not a ReactElement\n this._currentElement = text;\n this._stringText = '' + text;\n\n // Properties\n this._rootNodeID = null;\n this._mountIndex = 0;\n },\n\n /**\n * Creates the markup for this text node. This node is not intended to have\n * any features besides containing text content.\n *\n * @param {string} rootID DOM ID of the root node.\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @return {string} Markup for this text node.\n * @internal\n */\n mountComponent: function (rootID, transaction, context) {\n if (false) {\n if (context[validateDOMNesting.ancestorInfoContextKey]) {\n validateDOMNesting('span', null, context[validateDOMNesting.ancestorInfoContextKey]);\n }\n }\n\n this._rootNodeID = rootID;\n if (transaction.useCreateElement) {\n var ownerDocument = context[ReactMount.ownerDocumentContextKey];\n var el = ownerDocument.createElement('span');\n DOMPropertyOperations.setAttributeForID(el, rootID);\n // Populate node cache\n ReactMount.getID(el);\n setTextContent(el, this._stringText);\n return el;\n } else {\n var escapedText = escapeTextContentForBrowser(this._stringText);\n\n if (transaction.renderToStaticMarkup) {\n // Normally we'd wrap this in a `span` for the reasons stated above, but\n // since this is a situation where React won't take over (static pages),\n // we can simply return the text as it is.\n return escapedText;\n }\n\n return '<span ' + DOMPropertyOperations.createMarkupForID(rootID) + '>' + escapedText + '</span>';\n }\n },\n\n /**\n * Updates this component by updating the text content.\n *\n * @param {ReactText} nextText The next text content\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n receiveComponent: function (nextText, transaction) {\n if (nextText !== this._currentElement) {\n this._currentElement = nextText;\n var nextStringText = '' + nextText;\n if (nextStringText !== this._stringText) {\n // TODO: Save this as pending props and use performUpdateIfNecessary\n // and/or updateComponent to do the actual update for consistency with\n // other component types?\n this._stringText = nextStringText;\n var node = ReactMount.getNode(this._rootNodeID);\n DOMChildrenOperations.updateTextContent(node, nextStringText);\n }\n }\n },\n\n unmountComponent: function () {\n ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID);\n }\n\n});\n\nmodule.exports = ReactDOMTextComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMTextComponent.js\n ** module id = 5\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMTextComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMChildrenOperations\n * @typechecks static-only\n */\n\n'use strict';\n\nvar Danger = __webpack_require__(7);\nvar ReactMultiChildUpdateTypes = __webpack_require__(15);\nvar ReactPerf = __webpack_require__(17);\n\nvar setInnerHTML = __webpack_require__(18);\nvar setTextContent = __webpack_require__(19);\nvar invariant = __webpack_require__(12);\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nfunction insertChildAt(parentNode, childNode, index) {\n // By exploiting arrays returning `undefined` for an undefined index, we can\n // rely exclusively on `insertBefore(node, null)` instead of also using\n // `appendChild(node)`. However, using `undefined` is not allowed by all\n // browsers so we must replace it with `null`.\n\n // fix render order error in safari\n // IE8 will throw error when index out of list size.\n var beforeChild = index >= parentNode.childNodes.length ? null : parentNode.childNodes.item(index);\n\n parentNode.insertBefore(childNode, beforeChild);\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n dangerouslyReplaceNodeWithMarkup: Danger.dangerouslyReplaceNodeWithMarkup,\n\n updateTextContent: setTextContent,\n\n /**\n * Updates a component's children by processing a series of updates. The\n * update configurations are each expected to have a `parentNode` property.\n *\n * @param {array<object>} updates List of update configurations.\n * @param {array<string>} markupList List of markup strings.\n * @internal\n */\n processUpdates: function (updates, markupList) {\n var update;\n // Mapping from parent IDs to initial child orderings.\n var initialChildren = null;\n // List of children that will be moved or removed.\n var updatedChildren = null;\n\n for (var i = 0; i < updates.length; i++) {\n update = updates[i];\n if (update.type === ReactMultiChildUpdateTypes.MOVE_EXISTING || update.type === ReactMultiChildUpdateTypes.REMOVE_NODE) {\n var updatedIndex = update.fromIndex;\n var updatedChild = update.parentNode.childNodes[updatedIndex];\n var parentID = update.parentID;\n\n !updatedChild ? false ? invariant(false, 'processUpdates(): Unable to find child %s of element. This ' + 'probably means the DOM was unexpectedly mutated (e.g., by the ' + 'browser), usually due to forgetting a <tbody> when using tables, ' + 'nesting tags like <form>, <p>, or <a>, or using non-SVG elements ' + 'in an <svg> parent. Try inspecting the child nodes of the element ' + 'with React ID `%s`.', updatedIndex, parentID) : invariant(false) : undefined;\n\n initialChildren = initialChildren || {};\n initialChildren[parentID] = initialChildren[parentID] || [];\n initialChildren[parentID][updatedIndex] = updatedChild;\n\n updatedChildren = updatedChildren || [];\n updatedChildren.push(updatedChild);\n }\n }\n\n var renderedMarkup;\n // markupList is either a list of markup or just a list of elements\n if (markupList.length && typeof markupList[0] === 'string') {\n renderedMarkup = Danger.dangerouslyRenderMarkup(markupList);\n } else {\n renderedMarkup = markupList;\n }\n\n // Remove updated children first so that `toIndex` is consistent.\n if (updatedChildren) {\n for (var j = 0; j < updatedChildren.length; j++) {\n updatedChildren[j].parentNode.removeChild(updatedChildren[j]);\n }\n }\n\n for (var k = 0; k < updates.length; k++) {\n update = updates[k];\n switch (update.type) {\n case ReactMultiChildUpdateTypes.INSERT_MARKUP:\n insertChildAt(update.parentNode, renderedMarkup[update.markupIndex], update.toIndex);\n break;\n case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n insertChildAt(update.parentNode, initialChildren[update.parentID][update.fromIndex], update.toIndex);\n break;\n case ReactMultiChildUpdateTypes.SET_MARKUP:\n setInnerHTML(update.parentNode, update.content);\n break;\n case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n setTextContent(update.parentNode, update.content);\n break;\n case ReactMultiChildUpdateTypes.REMOVE_NODE:\n // Already removed by the for-loop above.\n break;\n }\n }\n }\n\n};\n\nReactPerf.measureMethods(DOMChildrenOperations, 'DOMChildrenOperations', {\n updateTextContent: 'updateTextContent'\n});\n\nmodule.exports = DOMChildrenOperations;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMChildrenOperations.js\n ** module id = 6\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/DOMChildrenOperations.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Danger\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar createNodesFromMarkup = __webpack_require__(9);\nvar emptyFunction = __webpack_require__(14);\nvar getMarkupWrap = __webpack_require__(13);\nvar invariant = __webpack_require__(12);\n\nvar OPEN_TAG_NAME_EXP = /^(<[^ \\/>]+)/;\nvar RESULT_INDEX_ATTR = 'data-danger-index';\n\n/**\n * Extracts the `nodeName` from a string of markup.\n *\n * NOTE: Extracting the `nodeName` does not require a regular expression match\n * because we make assumptions about React-generated markup (i.e. there are no\n * spaces surrounding the opening tag and there is at least one attribute).\n *\n * @param {string} markup String of markup.\n * @return {string} Node name of the supplied markup.\n * @see http://jsperf.com/extract-nodename\n */\nfunction getNodeName(markup) {\n return markup.substring(1, markup.indexOf(' '));\n}\n\nvar Danger = {\n\n /**\n * Renders markup into an array of nodes. The markup is expected to render\n * into a list of root nodes. Also, the length of `resultList` and\n * `markupList` should be the same.\n *\n * @param {array<string>} markupList List of markup strings to render.\n * @return {array<DOMElement>} List of rendered nodes.\n * @internal\n */\n dangerouslyRenderMarkup: function (markupList) {\n !ExecutionEnvironment.canUseDOM ? false ? invariant(false, 'dangerouslyRenderMarkup(...): Cannot render markup in a worker ' + 'thread. Make sure `window` and `document` are available globally ' + 'before requiring React when unit testing or use ' + 'ReactDOMServer.renderToString for server rendering.') : invariant(false) : undefined;\n var nodeName;\n var markupByNodeName = {};\n // Group markup by `nodeName` if a wrap is necessary, else by '*'.\n for (var i = 0; i < markupList.length; i++) {\n !markupList[i] ? false ? invariant(false, 'dangerouslyRenderMarkup(...): Missing markup.') : invariant(false) : undefined;\n nodeName = getNodeName(markupList[i]);\n nodeName = getMarkupWrap(nodeName) ? nodeName : '*';\n markupByNodeName[nodeName] = markupByNodeName[nodeName] || [];\n markupByNodeName[nodeName][i] = markupList[i];\n }\n var resultList = [];\n var resultListAssignmentCount = 0;\n for (nodeName in markupByNodeName) {\n if (!markupByNodeName.hasOwnProperty(nodeName)) {\n continue;\n }\n var markupListByNodeName = markupByNodeName[nodeName];\n\n // This for-in loop skips the holes of the sparse array. The order of\n // iteration should follow the order of assignment, which happens to match\n // numerical index order, but we don't rely on that.\n var resultIndex;\n for (resultIndex in markupListByNodeName) {\n if (markupListByNodeName.hasOwnProperty(resultIndex)) {\n var markup = markupListByNodeName[resultIndex];\n\n // Push the requested markup with an additional RESULT_INDEX_ATTR\n // attribute. If the markup does not start with a < character, it\n // will be discarded below (with an appropriate console.error).\n markupListByNodeName[resultIndex] = markup.replace(OPEN_TAG_NAME_EXP,\n // This index will be parsed back out below.\n '$1 ' + RESULT_INDEX_ATTR + '=\"' + resultIndex + '\" ');\n }\n }\n\n // Render each group of markup with similar wrapping `nodeName`.\n var renderNodes = createNodesFromMarkup(markupListByNodeName.join(''), emptyFunction // Do nothing special with <script> tags.\n );\n\n for (var j = 0; j < renderNodes.length; ++j) {\n var renderNode = renderNodes[j];\n if (renderNode.hasAttribute && renderNode.hasAttribute(RESULT_INDEX_ATTR)) {\n\n resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR);\n renderNode.removeAttribute(RESULT_INDEX_ATTR);\n\n !!resultList.hasOwnProperty(resultIndex) ? false ? invariant(false, 'Danger: Assigning to an already-occupied result index.') : invariant(false) : undefined;\n\n resultList[resultIndex] = renderNode;\n\n // This should match resultList.length and markupList.length when\n // we're done.\n resultListAssignmentCount += 1;\n } else if (false) {\n console.error('Danger: Discarding unexpected node:', renderNode);\n }\n }\n }\n\n // Although resultList was populated out of order, it should now be a dense\n // array.\n !(resultListAssignmentCount === resultList.length) ? false ? invariant(false, 'Danger: Did not assign to every index of resultList.') : invariant(false) : undefined;\n\n !(resultList.length === markupList.length) ? false ? invariant(false, 'Danger: Expected markup to render %s nodes, but rendered %s.', markupList.length, resultList.length) : invariant(false) : undefined;\n\n return resultList;\n },\n\n /**\n * Replaces a node with a string of markup at its current position within its\n * parent. The markup must render into a single root node.\n *\n * @param {DOMElement} oldChild Child node to replace.\n * @param {string} markup Markup to render in place of the child node.\n * @internal\n */\n dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {\n !ExecutionEnvironment.canUseDOM ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a ' + 'worker thread. Make sure `window` and `document` are available ' + 'globally before requiring React when unit testing or use ' + 'ReactDOMServer.renderToString() for server rendering.') : invariant(false) : undefined;\n !markup ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(false) : undefined;\n !(oldChild.tagName.toLowerCase() !== 'html') ? false ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the ' + '<html> node. This is because browser quirks make this unreliable ' + 'and/or slow. If you want to render to the root you must use ' + 'server rendering. See ReactDOMServer.renderToString().') : invariant(false) : undefined;\n\n var newChild;\n if (typeof markup === 'string') {\n newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n } else {\n newChild = markup;\n }\n oldChild.parentNode.replaceChild(newChild, oldChild);\n }\n\n};\n\nmodule.exports = Danger;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/Danger.js\n ** module id = 7\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/Danger.js?"); },function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ExecutionEnvironment\n */\n\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n canUseDOM: canUseDOM,\n\n canUseWorkers: typeof Worker !== 'undefined',\n\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n canUseViewport: canUseDOM && !!window.screen,\n\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/ExecutionEnvironment.js\n ** module id = 8\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/ExecutionEnvironment.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule createNodesFromMarkup\n * @typechecks\n */\n\n/*eslint-disable fb-www/unsafe-html*/\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar createArrayFromMixed = __webpack_require__(10);\nvar getMarkupWrap = __webpack_require__(13);\nvar invariant = __webpack_require__(12);\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n var nodeNameMatch = markup.match(nodeNamePattern);\n return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * <script> element that is rendered. If no `handleScript` function is supplied,\n * an exception is thrown if any <script> elements are rendered.\n *\n * @param {string} markup A string of valid HTML markup.\n * @param {?function} handleScript Invoked once for each rendered <script>.\n * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n */\nfunction createNodesFromMarkup(markup, handleScript) {\n var node = dummyNode;\n !!!dummyNode ? false ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : undefined;\n var nodeName = getNodeName(markup);\n\n var wrap = nodeName && getMarkupWrap(nodeName);\n if (wrap) {\n node.innerHTML = wrap[1] + markup + wrap[2];\n\n var wrapDepth = wrap[0];\n while (wrapDepth--) {\n node = node.lastChild;\n }\n } else {\n node.innerHTML = markup;\n }\n\n var scripts = node.getElementsByTagName('script');\n if (scripts.length) {\n !handleScript ? false ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : undefined;\n createArrayFromMixed(scripts).forEach(handleScript);\n }\n\n var nodes = createArrayFromMixed(node.childNodes);\n while (node.lastChild) {\n node.removeChild(node.lastChild);\n }\n return nodes;\n}\n\nmodule.exports = createNodesFromMarkup;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/createNodesFromMarkup.js\n ** module id = 9\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/createNodesFromMarkup.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule createArrayFromMixed\n * @typechecks\n */\n\n'use strict';\n\nvar toArray = __webpack_require__(11);\n\n/**\n * Perform a heuristic test to determine if an object is \"array-like\".\n *\n * A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n * Joshu replied: \"Mu.\"\n *\n * This function determines if its argument has \"array nature\": it returns\n * true if the argument is an actual array, an `arguments' object, or an\n * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n *\n * It will return false for other array-like objects like Filelist.\n *\n * @param {*} obj\n * @return {boolean}\n */\nfunction hasArrayNature(obj) {\n return(\n // not null/false\n !!obj && (\n // arrays are objects, NodeLists are functions in Safari\n typeof obj == 'object' || typeof obj == 'function') &&\n // quacks like an array\n 'length' in obj &&\n // not window\n !('setInterval' in obj) &&\n // no DOM node should be considered an array-like\n // a 'select' element has 'length' and 'item' properties on IE8\n typeof obj.nodeType != 'number' && (\n // a real array\n Array.isArray(obj) ||\n // arguments\n 'callee' in obj ||\n // HTMLCollection/NodeList\n 'item' in obj)\n );\n}\n\n/**\n * Ensure that the argument is an array by wrapping it in an array if it is not.\n * Creates a copy of the argument if it is already an array.\n *\n * This is mostly useful idiomatically:\n *\n * var createArrayFromMixed = require('createArrayFromMixed');\n *\n * function takesOneOrMoreThings(things) {\n * things = createArrayFromMixed(things);\n * ...\n * }\n *\n * This allows you to treat `things' as an array, but accept scalars in the API.\n *\n * If you need to convert an array-like object, like `arguments`, into an array\n * use toArray instead.\n *\n * @param {*} obj\n * @return {array}\n */\nfunction createArrayFromMixed(obj) {\n if (!hasArrayNature(obj)) {\n return [obj];\n } else if (Array.isArray(obj)) {\n return obj.slice();\n } else {\n return toArray(obj);\n }\n}\n\nmodule.exports = createArrayFromMixed;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/createArrayFromMixed.js\n ** module id = 10\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/createArrayFromMixed.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule toArray\n * @typechecks\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Convert array-like objects to arrays.\n *\n * This API assumes the caller knows the contents of the data type. For less\n * well defined inputs use createArrayFromMixed.\n *\n * @param {object|function|filelist} obj\n * @return {array}\n */\nfunction toArray(obj) {\n var length = obj.length;\n\n // Some browse builtin objects can report typeof 'function' (e.g. NodeList in\n // old versions of Safari).\n !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? false ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : undefined;\n\n !(typeof length === 'number') ? false ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : undefined;\n\n !(length === 0 || length - 1 in obj) ? false ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : undefined;\n\n // Old IE doesn't give collections access to hasOwnProperty. Assume inputs\n // without method will throw during the slice call and skip straight to the\n // fallback.\n if (obj.hasOwnProperty) {\n try {\n return Array.prototype.slice.call(obj);\n } catch (e) {\n // IE < 9 does not support Array#slice on collections objects\n }\n }\n\n // Fall back to copying key by key. This assumes all keys have a value,\n // so will not preserve sparsely populated inputs.\n var ret = Array(length);\n for (var ii = 0; ii < length; ii++) {\n ret[ii] = obj[ii];\n }\n return ret;\n}\n\nmodule.exports = toArray;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/toArray.js\n ** module id = 11\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/toArray.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule invariant\n */\n\n\"use strict\";\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function (condition, format, a, b, c, d, e, f) {\n if (false) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/invariant.js\n ** module id = 12\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/invariant.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getMarkupWrap\n */\n\n/*eslint-disable fb-www/unsafe-html */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Dummy container used to detect which wraps are necessary.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Some browsers cannot use `innerHTML` to render certain elements standalone,\n * so we wrap them, render the wrapped nodes, then extract the desired node.\n *\n * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n */\n\nvar shouldWrap = {};\n\nvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\nvar tableWrap = [1, '<table>', '</table>'];\nvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\nvar svgWrap = [1, '<svg xmlns=\"http://www.w3.org/2000/svg\">', '</svg>'];\n\nvar markupWrap = {\n '*': [1, '?<div>', '</div>'],\n\n 'area': [1, '<map>', '</map>'],\n 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n 'legend': [1, '<fieldset>', '</fieldset>'],\n 'param': [1, '<object>', '</object>'],\n 'tr': [2, '<table><tbody>', '</tbody></table>'],\n\n 'optgroup': selectWrap,\n 'option': selectWrap,\n\n 'caption': tableWrap,\n 'colgroup': tableWrap,\n 'tbody': tableWrap,\n 'tfoot': tableWrap,\n 'thead': tableWrap,\n\n 'td': trWrap,\n 'th': trWrap\n};\n\n// Initialize the SVG elements since we know they'll always need to be wrapped\n// consistently. If they are created inside a <div> they will be initialized in\n// the wrong namespace (and will not display).\nvar svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan'];\nsvgElements.forEach(function (nodeName) {\n markupWrap[nodeName] = svgWrap;\n shouldWrap[nodeName] = true;\n});\n\n/**\n * Gets the markup wrap configuration for the supplied `nodeName`.\n *\n * NOTE: This lazily detects which wraps are necessary for the current browser.\n *\n * @param {string} nodeName Lowercase `nodeName`.\n * @return {?array} Markup wrap configuration, if applicable.\n */\nfunction getMarkupWrap(nodeName) {\n !!!dummyNode ? false ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : undefined;\n if (!markupWrap.hasOwnProperty(nodeName)) {\n nodeName = '*';\n }\n if (!shouldWrap.hasOwnProperty(nodeName)) {\n if (nodeName === '*') {\n dummyNode.innerHTML = '<link />';\n } else {\n dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n }\n shouldWrap[nodeName] = !dummyNode.firstChild;\n }\n return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n}\n\nmodule.exports = getMarkupWrap;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/getMarkupWrap.js\n ** module id = 13\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/getMarkupWrap.js?")},function(module,exports){eval('/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule emptyFunction\n */\n\n"use strict";\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nfunction emptyFunction() {}\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/emptyFunction.js\n ** module id = 14\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/emptyFunction.js?')},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactMultiChildUpdateTypes\n */\n\n'use strict';\n\nvar keyMirror = __webpack_require__(16);\n\n/**\n * When a component's children are updated, a series of update configuration\n * objects are created in order to batch and serialize the required changes.\n *\n * Enumerates all the possible types of update configurations.\n *\n * @internal\n */\nvar ReactMultiChildUpdateTypes = keyMirror({\n INSERT_MARKUP: null,\n MOVE_EXISTING: null,\n REMOVE_NODE: null,\n SET_MARKUP: null,\n TEXT_CONTENT: null\n});\n\nmodule.exports = ReactMultiChildUpdateTypes;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactMultiChildUpdateTypes.js\n ** module id = 15\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactMultiChildUpdateTypes.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule keyMirror\n * @typechecks static-only\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n * var COLORS = keyMirror({blue: null, red: null});\n * var myColor = COLORS.blue;\n * var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n * Input: {key1: val1, key2: val2}\n * Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function (obj) {\n var ret = {};\n var key;\n !(obj instanceof Object && !Array.isArray(obj)) ? false ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : undefined;\n for (key in obj) {\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n ret[key] = key;\n }\n return ret;\n};\n\nmodule.exports = keyMirror;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/keyMirror.js\n ** module id = 16\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/keyMirror.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPerf\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * ReactPerf is a general AOP system designed to measure performance. This\n * module only has the hooks: see ReactDefaultPerf for the analysis tool.\n */\nvar ReactPerf = {\n /**\n * Boolean to enable/disable measurement. Set to false by default to prevent\n * accidental logging and perf loss.\n */\n enableMeasure: false,\n\n /**\n * Holds onto the measure function in use. By default, don't measure\n * anything, but we'll override this if we inject a measure function.\n */\n storedMeasure: _noMeasure,\n\n /**\n * @param {object} object\n * @param {string} objectName\n * @param {object<string>} methodNames\n */\n measureMethods: function (object, objectName, methodNames) {\n if (false) {\n for (var key in methodNames) {\n if (!methodNames.hasOwnProperty(key)) {\n continue;\n }\n object[key] = ReactPerf.measure(objectName, methodNames[key], object[key]);\n }\n }\n },\n\n /**\n * Use this to wrap methods you want to measure. Zero overhead in production.\n *\n * @param {string} objName\n * @param {string} fnName\n * @param {function} func\n * @return {function}\n */\n measure: function (objName, fnName, func) {\n if (false) {\n var measuredFunc = null;\n var wrapper = function () {\n if (ReactPerf.enableMeasure) {\n if (!measuredFunc) {\n measuredFunc = ReactPerf.storedMeasure(objName, fnName, func);\n }\n return measuredFunc.apply(this, arguments);\n }\n return func.apply(this, arguments);\n };\n wrapper.displayName = objName + '_' + fnName;\n return wrapper;\n }\n return func;\n },\n\n injection: {\n /**\n * @param {function} measure\n */\n injectMeasure: function (measure) {\n ReactPerf.storedMeasure = measure;\n }\n }\n};\n\n/**\n * Simply passes through the measured function, without measuring it.\n *\n * @param {string} objName\n * @param {string} fnName\n * @param {function} func\n * @return {function}\n */\nfunction _noMeasure(objName, fnName, func) {\n return func;\n}\n\nmodule.exports = ReactPerf;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPerf.js\n ** module id = 17\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactPerf.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule setInnerHTML\n */\n\n/* globals MSApp */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\nvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\n/**\n * Set the innerHTML property of a node, ensuring that whitespace is preserved\n * even in IE8.\n *\n * @param {DOMElement} node\n * @param {string} html\n * @internal\n */\nvar setInnerHTML = function (node, html) {\n node.innerHTML = html;\n};\n\n// Win8 apps: Allow all html to be inserted\nif (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n setInnerHTML = function (node, html) {\n MSApp.execUnsafeLocalFunction(function () {\n node.innerHTML = html;\n });\n };\n}\n\nif (ExecutionEnvironment.canUseDOM) {\n // IE8: When updating a just created node with innerHTML only leading\n // whitespace is removed. When updating an existing node with innerHTML\n // whitespace in root TextNodes is also collapsed.\n // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\n // Feature detection; only IE8 is known to behave improperly like this.\n var testElement = document.createElement('div');\n testElement.innerHTML = ' ';\n if (testElement.innerHTML === '') {\n setInnerHTML = function (node, html) {\n // Magic theory: IE8 supposedly differentiates between added and updated\n // nodes when processing innerHTML, innerHTML on updated nodes suffers\n // from worse whitespace behavior. Re-adding a node like this triggers\n // the initial and more favorable whitespace behavior.\n // TODO: What to do on a detached node?\n if (node.parentNode) {\n node.parentNode.replaceChild(node, node);\n }\n\n // We also implement a workaround for non-visible tags disappearing into\n // thin air on IE8, this only happens if there is no visible text\n // in-front of the non-visible tags. Piggyback on the whitespace fix\n // and simply check if any non-visible tags appear in the source.\n if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n // Recover leading whitespace by temporarily prepending any character.\n // \\uFEFF has the potential advantage of being zero-width/invisible.\n // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n // the actual Unicode character (by Babel, for example).\n // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\n // deleteData leaves an empty `TextNode` which offsets the index of all\n // children. Definitely want to avoid this.\n var textNode = node.firstChild;\n if (textNode.data.length === 1) {\n node.removeChild(textNode);\n } else {\n textNode.deleteData(0, 1);\n }\n } else {\n node.innerHTML = html;\n }\n };\n }\n}\n\nmodule.exports = setInnerHTML;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/setInnerHTML.js\n ** module id = 18\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/setInnerHTML.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule setTextContent\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\nvar escapeTextContentForBrowser = __webpack_require__(20);\nvar setInnerHTML = __webpack_require__(18);\n\n/**\n * Set the textContent property of a node, ensuring that whitespace is preserved\n * even in IE8. innerText is a poor substitute for textContent and, among many\n * issues, inserts <br> instead of the literal newline chars. innerHTML behaves\n * as it should.\n *\n * @param {DOMElement} node\n * @param {string} text\n * @internal\n */\nvar setTextContent = function (node, text) {\n node.textContent = text;\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n if (!('textContent' in document.documentElement)) {\n setTextContent = function (node, text) {\n setInnerHTML(node, escapeTextContentForBrowser(text));\n };\n }\n}\n\nmodule.exports = setTextContent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/setTextContent.js\n ** module id = 19\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/setTextContent.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule escapeTextContentForBrowser\n */\n\n'use strict';\n\nvar ESCAPE_LOOKUP = {\n '&': '&',\n '>': '>',\n '<': '<',\n '\"': '"',\n '\\'': '''\n};\n\nvar ESCAPE_REGEX = /[&><\"']/g;\n\nfunction escaper(match) {\n return ESCAPE_LOOKUP[match];\n}\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextContentForBrowser(text) {\n return ('' + text).replace(ESCAPE_REGEX, escaper);\n}\n\nmodule.exports = escapeTextContentForBrowser;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/escapeTextContentForBrowser.js\n ** module id = 20\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/escapeTextContentForBrowser.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMPropertyOperations\n * @typechecks static-only\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(22);\nvar ReactPerf = __webpack_require__(17);\n\nvar quoteAttributeValueForBrowser = __webpack_require__(23);\nvar warning = __webpack_require__(24);\n\n// Simplified subset\nvar VALID_ATTRIBUTE_NAME_REGEX = /^[a-zA-Z_][\\w\\.\\-]*$/;\nvar illegalAttributeNameCache = {};\nvar validatedAttributeNameCache = {};\n\nfunction isAttributeNameSafe(attributeName) {\n if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n return true;\n }\n if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n return false;\n }\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n validatedAttributeNameCache[attributeName] = true;\n return true;\n }\n illegalAttributeNameCache[attributeName] = true;\n false ? warning(false, 'Invalid attribute name: `%s`', attributeName) : undefined;\n return false;\n}\n\nfunction shouldIgnoreValue(propertyInfo, value) {\n return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n}\n\nif (false) {\n var reactProps = {\n children: true,\n dangerouslySetInnerHTML: true,\n key: true,\n ref: true\n };\n var warnedProperties = {};\n\n var warnUnknownProperty = function (name) {\n if (reactProps.hasOwnProperty(name) && reactProps[name] || warnedProperties.hasOwnProperty(name) && warnedProperties[name]) {\n return;\n }\n\n warnedProperties[name] = true;\n var lowerCasedName = name.toLowerCase();\n\n // data-* attributes should be lowercase; suggest the lowercase version\n var standardName = DOMProperty.isCustomAttribute(lowerCasedName) ? lowerCasedName : DOMProperty.getPossibleStandardName.hasOwnProperty(lowerCasedName) ? DOMProperty.getPossibleStandardName[lowerCasedName] : null;\n\n // For now, only warn when we have a suggested correction. This prevents\n // logging too much when using transferPropsTo.\n process.env.NODE_ENV !== 'production' ? warning(standardName == null, 'Unknown DOM property %s. Did you mean %s?', name, standardName) : undefined;\n };\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n\n /**\n * Creates markup for the ID property.\n *\n * @param {string} id Unescaped ID.\n * @return {string} Markup string.\n */\n createMarkupForID: function (id) {\n return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n },\n\n setAttributeForID: function (node, id) {\n node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n },\n\n /**\n * Creates markup for a property.\n *\n * @param {string} name\n * @param {*} value\n * @return {?string} Markup string, or null if the property was invalid.\n */\n createMarkupForProperty: function (name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n if (shouldIgnoreValue(propertyInfo, value)) {\n return '';\n }\n var attributeName = propertyInfo.attributeName;\n if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n return attributeName + '=\"\"';\n }\n return attributeName + '=' + quoteAttributeValueForBrowser(value);\n } else if (DOMProperty.isCustomAttribute(name)) {\n if (value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n } else if (false) {\n warnUnknownProperty(name);\n }\n return null;\n },\n\n /**\n * Creates markup for a custom property.\n *\n * @param {string} name\n * @param {*} value\n * @return {string} Markup string, or empty string if the property was invalid.\n */\n createMarkupForCustomAttribute: function (name, value) {\n if (!isAttributeNameSafe(name) || value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n },\n\n /**\n * Sets the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n * @param {*} value\n */\n setValueForProperty: function (node, name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, value);\n } else if (shouldIgnoreValue(propertyInfo, value)) {\n this.deleteValueForProperty(node, name);\n } else if (propertyInfo.mustUseAttribute) {\n var attributeName = propertyInfo.attributeName;\n var namespace = propertyInfo.attributeNamespace;\n // `setAttribute` with objects becomes only `[object]` in IE8/9,\n // ('' + value) makes it output the correct toString()-value.\n if (namespace) {\n node.setAttributeNS(namespace, attributeName, '' + value);\n } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n node.setAttribute(attributeName, '');\n } else {\n node.setAttribute(attributeName, '' + value);\n }\n } else {\n var propName = propertyInfo.propertyName;\n // Must explicitly cast values for HAS_SIDE_EFFECTS-properties to the\n // property type before comparing; only `value` does and is string.\n if (!propertyInfo.hasSideEffects || '' + node[propName] !== '' + value) {\n // Contrary to `setAttribute`, object properties are properly\n // `toString`ed by IE8/9.\n node[propName] = value;\n }\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n DOMPropertyOperations.setValueForAttribute(node, name, value);\n } else if (false) {\n warnUnknownProperty(name);\n }\n },\n\n setValueForAttribute: function (node, name, value) {\n if (!isAttributeNameSafe(name)) {\n return;\n }\n if (value == null) {\n node.removeAttribute(name);\n } else {\n node.setAttribute(name, '' + value);\n }\n },\n\n /**\n * Deletes the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForProperty: function (node, name) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, undefined);\n } else if (propertyInfo.mustUseAttribute) {\n node.removeAttribute(propertyInfo.attributeName);\n } else {\n var propName = propertyInfo.propertyName;\n var defaultValue = DOMProperty.getDefaultValueForProperty(node.nodeName, propName);\n if (!propertyInfo.hasSideEffects || '' + node[propName] !== defaultValue) {\n node[propName] = defaultValue;\n }\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n node.removeAttribute(name);\n } else if (false) {\n warnUnknownProperty(name);\n }\n }\n\n};\n\nReactPerf.measureMethods(DOMPropertyOperations, 'DOMPropertyOperations', {\n setValueForProperty: 'setValueForProperty',\n setValueForAttribute: 'setValueForAttribute',\n deleteValueForProperty: 'deleteValueForProperty'\n});\n\nmodule.exports = DOMPropertyOperations;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMPropertyOperations.js\n ** module id = 21\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/DOMPropertyOperations.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMProperty\n * @typechecks static-only\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\nfunction checkMask(value, bitmask) {\n return (value & bitmask) === bitmask;\n}\n\nvar DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names to a configuration that\n * specifies how the associated DOM property should be accessed or rendered.\n */\n MUST_USE_ATTRIBUTE: 0x1,\n MUST_USE_PROPERTY: 0x2,\n HAS_SIDE_EFFECTS: 0x4,\n HAS_BOOLEAN_VALUE: 0x8,\n HAS_NUMERIC_VALUE: 0x10,\n HAS_POSITIVE_NUMERIC_VALUE: 0x20 | 0x10,\n HAS_OVERLOADED_BOOLEAN_VALUE: 0x40,\n\n /**\n * Inject some specialized knowledge about the DOM. This takes a config object\n * with the following properties:\n *\n * isCustomAttribute: function that given an attribute name will return true\n * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n * attributes where it's impossible to enumerate all of the possible\n * attribute names,\n *\n * Properties: object mapping DOM property name to one of the\n * DOMPropertyInjection constants or null. If your attribute isn't in here,\n * it won't get written to the DOM.\n *\n * DOMAttributeNames: object mapping React attribute name to the DOM\n * attribute name. Attribute names not specified use the **lowercase**\n * normalized name.\n *\n * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n * attribute namespace URL. (Attribute names not specified use no namespace.)\n *\n * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n * Property names not specified use the normalized name.\n *\n * DOMMutationMethods: Properties that require special mutation methods. If\n * `value` is undefined, the mutation method should unset the property.\n *\n * @param {object} domPropertyConfig the config as described above.\n */\n injectDOMPropertyConfig: function (domPropertyConfig) {\n var Injection = DOMPropertyInjection;\n var Properties = domPropertyConfig.Properties || {};\n var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n if (domPropertyConfig.isCustomAttribute) {\n DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n }\n\n for (var propName in Properties) {\n !!DOMProperty.properties.hasOwnProperty(propName) ? false ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property ' + '\\'%s\\' which has already been injected. You may be accidentally ' + 'injecting the same DOM property config twice, or you may be ' + 'injecting two configs that have conflicting property names.', propName) : invariant(false) : undefined;\n\n var lowerCased = propName.toLowerCase();\n var propConfig = Properties[propName];\n\n var propertyInfo = {\n attributeName: lowerCased,\n attributeNamespace: null,\n propertyName: propName,\n mutationMethod: null,\n\n mustUseAttribute: checkMask(propConfig, Injection.MUST_USE_ATTRIBUTE),\n mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n hasSideEffects: checkMask(propConfig, Injection.HAS_SIDE_EFFECTS),\n hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n };\n\n !(!propertyInfo.mustUseAttribute || !propertyInfo.mustUseProperty) ? false ? invariant(false, 'DOMProperty: Cannot require using both attribute and property: %s', propName) : invariant(false) : undefined;\n !(propertyInfo.mustUseProperty || !propertyInfo.hasSideEffects) ? false ? invariant(false, 'DOMProperty: Properties that have side effects must use property: %s', propName) : invariant(false) : undefined;\n !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? false ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or ' + 'numeric value, but not a combination: %s', propName) : invariant(false) : undefined;\n\n if (false) {\n DOMProperty.getPossibleStandardName[lowerCased] = propName;\n }\n\n if (DOMAttributeNames.hasOwnProperty(propName)) {\n var attributeName = DOMAttributeNames[propName];\n propertyInfo.attributeName = attributeName;\n if (false) {\n DOMProperty.getPossibleStandardName[attributeName] = propName;\n }\n }\n\n if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n }\n\n if (DOMPropertyNames.hasOwnProperty(propName)) {\n propertyInfo.propertyName = DOMPropertyNames[propName];\n }\n\n if (DOMMutationMethods.hasOwnProperty(propName)) {\n propertyInfo.mutationMethod = DOMMutationMethods[propName];\n }\n\n DOMProperty.properties[propName] = propertyInfo;\n }\n }\n};\nvar defaultValueCache = {};\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n * > DOMProperty.isValid['id']\n * true\n * > DOMProperty.isValid['foobar']\n * undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n ID_ATTRIBUTE_NAME: 'data-reactid',\n\n /**\n * Map from property \"standard name\" to an object with info about how to set\n * the property in the DOM. Each object contains:\n *\n * attributeName:\n * Used when rendering markup or with `*Attribute()`.\n * attributeNamespace\n * propertyName:\n * Used on DOM node instances. (This includes properties that mutate due to\n * external factors.)\n * mutationMethod:\n * If non-null, used instead of the property or `setAttribute()` after\n * initial render.\n * mustUseAttribute:\n * Whether the property must be accessed and mutated using `*Attribute()`.\n * (This includes anything that fails `<propName> in <element>`.)\n * mustUseProperty:\n * Whether the property must be accessed and mutated as an object property.\n * hasSideEffects:\n * Whether or not setting a value causes side effects such as triggering\n * resources to be loaded or text selection changes. If true, we read from\n * the DOM before updating to ensure that the value is only set if it has\n * changed.\n * hasBooleanValue:\n * Whether the property should be removed when set to a falsey value.\n * hasNumericValue:\n * Whether the property must be numeric or parse as a numeric and should be\n * removed when set to a falsey value.\n * hasPositiveNumericValue:\n * Whether the property must be positive numeric or parse as a positive\n * numeric and should be removed when set to a falsey value.\n * hasOverloadedBooleanValue:\n * Whether the property can be used as a flag as well as with a value.\n * Removed when strictly equal to false; present without a value when\n * strictly equal to true; present with a value otherwise.\n */\n properties: {},\n\n /**\n * Mapping from lowercase property names to the properly cased version, used\n * to warn in the case of missing properties. Available only in __DEV__.\n * @type {Object}\n */\n getPossibleStandardName: false ? {} : null,\n\n /**\n * All of the isCustomAttribute() functions that have been injected.\n */\n _isCustomAttributeFunctions: [],\n\n /**\n * Checks whether a property name is a custom attribute.\n * @method\n */\n isCustomAttribute: function (attributeName) {\n for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n if (isCustomAttributeFn(attributeName)) {\n return true;\n }\n }\n return false;\n },\n\n /**\n * Returns the default property value for a DOM property (i.e., not an\n * attribute). Most default values are '' or false, but not all. Worse yet,\n * some (in particular, `type`) vary depending on the type of element.\n *\n * TODO: Is it better to grab all the possible properties when creating an\n * element to avoid having to create the same element twice?\n */\n getDefaultValueForProperty: function (nodeName, prop) {\n var nodeDefaults = defaultValueCache[nodeName];\n var testElement;\n if (!nodeDefaults) {\n defaultValueCache[nodeName] = nodeDefaults = {};\n }\n if (!(prop in nodeDefaults)) {\n testElement = document.createElement(nodeName);\n nodeDefaults[prop] = testElement[prop];\n }\n return nodeDefaults[prop];\n },\n\n injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMProperty.js\n ** module id = 22\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/DOMProperty.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule quoteAttributeValueForBrowser\n */\n\n'use strict';\n\nvar escapeTextContentForBrowser = __webpack_require__(20);\n\n/**\n * Escapes attribute value to prevent scripting attacks.\n *\n * @param {*} value Value to escape.\n * @return {string} An escaped string.\n */\nfunction quoteAttributeValueForBrowser(value) {\n return '\"' + escapeTextContentForBrowser(value) + '\"';\n}\n\nmodule.exports = quoteAttributeValueForBrowser;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/quoteAttributeValueForBrowser.js\n ** module id = 23\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/quoteAttributeValueForBrowser.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule warning\n */\n\n\"use strict\";\n\nvar emptyFunction = __webpack_require__(14);\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (false) {\n warning = function (condition, format) {\n for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n };\n}\n\nmodule.exports = warning;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/warning.js\n ** module id = 24\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/warning.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponentBrowserEnvironment\n */\n\n'use strict';\n\nvar ReactDOMIDOperations = __webpack_require__(26);\nvar ReactMount = __webpack_require__(27);\n\n/**\n * Abstracts away all functionality of the reconciler that requires knowledge of\n * the browser context. TODO: These callers should be refactored to avoid the\n * need for this injection.\n */\nvar ReactComponentBrowserEnvironment = {\n\n processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\n replaceNodeWithMarkupByID: ReactDOMIDOperations.dangerouslyReplaceNodeWithMarkupByID,\n\n /**\n * If a particular environment requires that some resources be cleaned up,\n * specify this in the injected Mixin. In the DOM, we would likely want to\n * purge any cached node ID lookups.\n *\n * @private\n */\n unmountIDFromEnvironment: function (rootNodeID) {\n ReactMount.purgeID(rootNodeID);\n }\n\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponentBrowserEnvironment.js\n ** module id = 25\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactComponentBrowserEnvironment.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMIDOperations\n * @typechecks static-only\n */\n\n'use strict';\n\nvar DOMChildrenOperations = __webpack_require__(6);\nvar DOMPropertyOperations = __webpack_require__(21);\nvar ReactMount = __webpack_require__(27);\nvar ReactPerf = __webpack_require__(17);\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Errors for properties that should not be updated with `updatePropertyByID()`.\n *\n * @type {object}\n * @private\n */\nvar INVALID_PROPERTY_ERRORS = {\n dangerouslySetInnerHTML: '`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.',\n style: '`style` must be set using `updateStylesByID()`.'\n};\n\n/**\n * Operations used to process updates to DOM nodes.\n */\nvar ReactDOMIDOperations = {\n\n /**\n * Updates a DOM node with new property values. This should only be used to\n * update DOM properties in `DOMProperty`.\n *\n * @param {string} id ID of the node to update.\n * @param {string} name A valid property name, see `DOMProperty`.\n * @param {*} value New value of the property.\n * @internal\n */\n updatePropertyByID: function (id, name, value) {\n var node = ReactMount.getNode(id);\n !!INVALID_PROPERTY_ERRORS.hasOwnProperty(name) ? false ? invariant(false, 'updatePropertyByID(...): %s', INVALID_PROPERTY_ERRORS[name]) : invariant(false) : undefined;\n\n // If we're updating to null or undefined, we should remove the property\n // from the DOM node instead of inadvertantly setting to a string. This\n // brings us in line with the same behavior we have on initial render.\n if (value != null) {\n DOMPropertyOperations.setValueForProperty(node, name, value);\n } else {\n DOMPropertyOperations.deleteValueForProperty(node, name);\n }\n },\n\n /**\n * Replaces a DOM node that exists in the document with markup.\n *\n * @param {string} id ID of child to be replaced.\n * @param {string} markup Dangerous markup to inject in place of child.\n * @internal\n * @see {Danger.dangerouslyReplaceNodeWithMarkup}\n */\n dangerouslyReplaceNodeWithMarkupByID: function (id, markup) {\n var node = ReactMount.getNode(id);\n DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup(node, markup);\n },\n\n /**\n * Updates a component's children by processing a series of updates.\n *\n * @param {array<object>} updates List of update configurations.\n * @param {array<string>} markup List of markup strings.\n * @internal\n */\n dangerouslyProcessChildrenUpdates: function (updates, markup) {\n for (var i = 0; i < updates.length; i++) {\n updates[i].parentNode = ReactMount.getNode(updates[i].parentID);\n }\n DOMChildrenOperations.processUpdates(updates, markup);\n }\n};\n\nReactPerf.measureMethods(ReactDOMIDOperations, 'ReactDOMIDOperations', {\n dangerouslyReplaceNodeWithMarkupByID: 'dangerouslyReplaceNodeWithMarkupByID',\n dangerouslyProcessChildrenUpdates: 'dangerouslyProcessChildrenUpdates'\n});\n\nmodule.exports = ReactDOMIDOperations;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMIDOperations.js\n ** module id = 26\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMIDOperations.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactMount\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(22);\nvar ReactBrowserEventEmitter = __webpack_require__(28);\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactDOMFeatureFlags = __webpack_require__(40);\nvar ReactElement = __webpack_require__(41);\nvar ReactEmptyComponentRegistry = __webpack_require__(43);\nvar ReactInstanceHandles = __webpack_require__(44);\nvar ReactInstanceMap = __webpack_require__(46);\nvar ReactMarkupChecksum = __webpack_require__(47);\nvar ReactPerf = __webpack_require__(17);\nvar ReactReconciler = __webpack_require__(49);\nvar ReactUpdateQueue = __webpack_require__(52);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar emptyObject = __webpack_require__(57);\nvar containsNode = __webpack_require__(58);\nvar instantiateReactComponent = __webpack_require__(61);\nvar invariant = __webpack_require__(12);\nvar setInnerHTML = __webpack_require__(18);\nvar shouldUpdateReactComponent = __webpack_require__(66);\nvar validateDOMNesting = __webpack_require__(69);\nvar warning = __webpack_require__(24);\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar nodeCache = {};\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\nvar ownerDocumentContextKey = '__ReactMount_ownerDocument$' + Math.random().toString(36).slice(2);\n\n/** Mapping from reactRootID to React component instance. */\nvar instancesByReactRootID = {};\n\n/** Mapping from reactRootID to `container` nodes. */\nvar containersByReactRootID = {};\n\nif (false) {\n /** __DEV__-only mapping from reactRootID to root elements. */\n var rootElementsByReactRootID = {};\n}\n\n// Used to store breadth-first search state in findComponentRoot.\nvar findComponentRootReusableArray = [];\n\n/**\n * Finds the index of the first character\n * that's not common between the two given strings.\n *\n * @return {number} the index of the character where the strings diverge\n */\nfunction firstDifferenceIndex(string1, string2) {\n var minLen = Math.min(string1.length, string2.length);\n for (var i = 0; i < minLen; i++) {\n if (string1.charAt(i) !== string2.charAt(i)) {\n return i;\n }\n }\n return string1.length === string2.length ? -1 : minLen;\n}\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n * a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n if (!container) {\n return null;\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n return container.documentElement;\n } else {\n return container.firstChild;\n }\n}\n\n/**\n * @param {DOMElement} container DOM element that may contain a React component.\n * @return {?string} A \"reactRoot\" ID, if a React component is rendered.\n */\nfunction getReactRootID(container) {\n var rootElement = getReactRootElementInContainer(container);\n return rootElement && ReactMount.getID(rootElement);\n}\n\n/**\n * Accessing node[ATTR_NAME] or calling getAttribute(ATTR_NAME) on a form\n * element can return its control whose name or ID equals ATTR_NAME. All\n * DOM nodes support `getAttributeNode` but this can also get called on\n * other objects so just return '' if we're given something other than a\n * DOM node (such as window).\n *\n * @param {?DOMElement|DOMWindow|DOMDocument|DOMTextNode} node DOM node.\n * @return {string} ID of the supplied `domNode`.\n */\nfunction getID(node) {\n var id = internalGetID(node);\n if (id) {\n if (nodeCache.hasOwnProperty(id)) {\n var cached = nodeCache[id];\n if (cached !== node) {\n !!isValid(cached, id) ? false ? invariant(false, 'ReactMount: Two valid but unequal nodes with the same `%s`: %s', ATTR_NAME, id) : invariant(false) : undefined;\n\n nodeCache[id] = node;\n }\n } else {\n nodeCache[id] = node;\n }\n }\n\n return id;\n}\n\nfunction internalGetID(node) {\n // If node is something like a window, document, or text node, none of\n // which support attributes or a .getAttribute method, gracefully return\n // the empty string, as if the attribute were missing.\n return node && node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Sets the React-specific ID of the given node.\n *\n * @param {DOMElement} node The DOM node whose ID will be set.\n * @param {string} id The value of the ID attribute.\n */\nfunction setID(node, id) {\n var oldID = internalGetID(node);\n if (oldID !== id) {\n delete nodeCache[oldID];\n }\n node.setAttribute(ATTR_NAME, id);\n nodeCache[id] = node;\n}\n\n/**\n * Finds the node with the supplied React-generated DOM ID.\n *\n * @param {string} id A React-generated DOM ID.\n * @return {DOMElement} DOM node with the suppled `id`.\n * @internal\n */\nfunction getNode(id) {\n if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) {\n nodeCache[id] = ReactMount.findReactNodeByID(id);\n }\n return nodeCache[id];\n}\n\n/**\n * Finds the node with the supplied public React instance.\n *\n * @param {*} instance A public React instance.\n * @return {?DOMElement} DOM node with the suppled `id`.\n * @internal\n */\nfunction getNodeFromInstance(instance) {\n var id = ReactInstanceMap.get(instance)._rootNodeID;\n if (ReactEmptyComponentRegistry.isNullComponentID(id)) {\n return null;\n }\n if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) {\n nodeCache[id] = ReactMount.findReactNodeByID(id);\n }\n return nodeCache[id];\n}\n\n/**\n * A node is \"valid\" if it is contained by a currently mounted container.\n *\n * This means that the node does not have to be contained by a document in\n * order to be considered valid.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @param {string} id The expected ID of the node.\n * @return {boolean} Whether the node is contained by a mounted container.\n */\nfunction isValid(node, id) {\n if (node) {\n !(internalGetID(node) === id) ? false ? invariant(false, 'ReactMount: Unexpected modification of `%s`', ATTR_NAME) : invariant(false) : undefined;\n\n var container = ReactMount.findReactContainerForID(id);\n if (container && containsNode(container, node)) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * Causes the cache to forget about one React-specific ID.\n *\n * @param {string} id The ID to forget.\n */\nfunction purgeID(id) {\n delete nodeCache[id];\n}\n\nvar deepestNodeSoFar = null;\nfunction findDeepestCachedAncestorImpl(ancestorID) {\n var ancestor = nodeCache[ancestorID];\n if (ancestor && isValid(ancestor, ancestorID)) {\n deepestNodeSoFar = ancestor;\n } else {\n // This node isn't populated in the cache, so presumably none of its\n // descendants are. Break out of the loop.\n return false;\n }\n}\n\n/**\n * Return the deepest cached node whose ID is a prefix of `targetID`.\n */\nfunction findDeepestCachedAncestor(targetID) {\n deepestNodeSoFar = null;\n ReactInstanceHandles.traverseAncestors(targetID, findDeepestCachedAncestorImpl);\n\n var foundNode = deepestNodeSoFar;\n deepestNodeSoFar = null;\n return foundNode;\n}\n\n/**\n * Mounts this component and inserts it into the DOM.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {string} rootID DOM ID of the root node.\n * @param {DOMElement} container DOM element to mount into.\n * @param {ReactReconcileTransaction} transaction\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction mountComponentIntoNode(componentInstance, rootID, container, transaction, shouldReuseMarkup, context) {\n if (ReactDOMFeatureFlags.useCreateElement) {\n context = assign({}, context);\n if (container.nodeType === DOC_NODE_TYPE) {\n context[ownerDocumentContextKey] = container;\n } else {\n context[ownerDocumentContextKey] = container.ownerDocument;\n }\n }\n if (false) {\n if (context === emptyObject) {\n context = {};\n }\n var tag = container.nodeName.toLowerCase();\n context[validateDOMNesting.ancestorInfoContextKey] = validateDOMNesting.updatedAncestorInfo(null, tag, null);\n }\n var markup = ReactReconciler.mountComponent(componentInstance, rootID, transaction, context);\n componentInstance._renderedComponent._topLevelWrapper = componentInstance;\n ReactMount._mountImageIntoNode(markup, container, shouldReuseMarkup, transaction);\n}\n\n/**\n * Batched mount.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {string} rootID DOM ID of the root node.\n * @param {DOMElement} container DOM element to mount into.\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction batchedMountComponentIntoNode(componentInstance, rootID, container, shouldReuseMarkup, context) {\n var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* forceHTML */shouldReuseMarkup);\n transaction.perform(mountComponentIntoNode, null, componentInstance, rootID, container, transaction, shouldReuseMarkup, context);\n ReactUpdates.ReactReconcileTransaction.release(transaction);\n}\n\n/**\n * Unmounts a component and removes it from the DOM.\n *\n * @param {ReactComponent} instance React component instance.\n * @param {DOMElement} container DOM element to unmount from.\n * @final\n * @internal\n * @see {ReactMount.unmountComponentAtNode}\n */\nfunction unmountComponentFromNode(instance, container) {\n ReactReconciler.unmountComponent(instance);\n\n if (container.nodeType === DOC_NODE_TYPE) {\n container = container.documentElement;\n }\n\n // http://jsperf.com/emptying-a-node\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n}\n\n/**\n * True if the supplied DOM node has a direct React-rendered child that is\n * not a React root element. Useful for warning in `render`,\n * `unmountComponentAtNode`, etc.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM element contains a direct child that was\n * rendered by React but is not a root element.\n * @internal\n */\nfunction hasNonRootReactChild(node) {\n var reactRootID = getReactRootID(node);\n return reactRootID ? reactRootID !== ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID) : false;\n}\n\n/**\n * Returns the first (deepest) ancestor of a node which is rendered by this copy\n * of React.\n */\nfunction findFirstReactDOMImpl(node) {\n // This node might be from another React instance, so we make sure not to\n // examine the node cache here\n for (; node && node.parentNode !== node; node = node.parentNode) {\n if (node.nodeType !== 1) {\n // Not a DOMElement, therefore not a React component\n continue;\n }\n var nodeID = internalGetID(node);\n if (!nodeID) {\n continue;\n }\n var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(nodeID);\n\n // If containersByReactRootID contains the container we find by crawling up\n // the tree, we know that this instance of React rendered the node.\n // nb. isValid's strategy (with containsNode) does not work because render\n // trees may be nested and we don't want a false positive in that case.\n var current = node;\n var lastID;\n do {\n lastID = internalGetID(current);\n current = current.parentNode;\n if (current == null) {\n // The passed-in node has been detached from the container it was\n // originally rendered into.\n return null;\n }\n } while (lastID !== reactRootID);\n\n if (current === containersByReactRootID[reactRootID]) {\n return node;\n }\n }\n return null;\n}\n\n/**\n * Temporary (?) hack so that we can store all top-level pending updates on\n * composites instead of having to worry about different types of components\n * here.\n */\nvar TopLevelWrapper = function () {};\nTopLevelWrapper.prototype.isReactComponent = {};\nif (false) {\n TopLevelWrapper.displayName = 'TopLevelWrapper';\n}\nTopLevelWrapper.prototype.render = function () {\n // this.props is actually a ReactElement\n return this.props;\n};\n\n/**\n * Mounting is the process of initializing a React component by creating its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n * ReactMount.render(\n * component,\n * document.getElementById('container')\n * );\n *\n * <div id=\"container\"> <-- Supplied `container`.\n * <div data-reactid=\".3\"> <-- Rendered reactRoot of React\n * // ... component.\n * </div>\n * </div>\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n\n TopLevelWrapper: TopLevelWrapper,\n\n /** Exposed for debugging purposes **/\n _instancesByReactRootID: instancesByReactRootID,\n\n /**\n * This is a hook provided to support rendering React components while\n * ensuring that the apparent scroll position of its `container` does not\n * change.\n *\n * @param {DOMElement} container The `container` being rendered into.\n * @param {function} renderCallback This must be called once to do the render.\n */\n scrollMonitor: function (container, renderCallback) {\n renderCallback();\n },\n\n /**\n * Take a component that's already mounted into the DOM and replace its props\n * @param {ReactComponent} prevComponent component instance already in the DOM\n * @param {ReactElement} nextElement component instance to render\n * @param {DOMElement} container container to render into\n * @param {?function} callback function triggered on completion\n */\n _updateRootComponent: function (prevComponent, nextElement, container, callback) {\n ReactMount.scrollMonitor(container, function () {\n ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);\n }\n });\n\n if (false) {\n // Record the root element in case it later gets transplanted.\n rootElementsByReactRootID[getReactRootID(container)] = getReactRootElementInContainer(container);\n }\n\n return prevComponent;\n },\n\n /**\n * Register a component into the instance map and starts scroll value\n * monitoring\n * @param {ReactComponent} nextComponent component instance to render\n * @param {DOMElement} container container to render into\n * @return {string} reactRoot ID prefix\n */\n _registerComponent: function (nextComponent, container) {\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? false ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : invariant(false) : undefined;\n\n ReactBrowserEventEmitter.ensureScrollValueMonitoring();\n\n var reactRootID = ReactMount.registerContainer(container);\n instancesByReactRootID[reactRootID] = nextComponent;\n return reactRootID;\n },\n\n /**\n * Render a new component into the DOM.\n * @param {ReactElement} nextElement element to render\n * @param {DOMElement} container container to render into\n * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n * @return {ReactComponent} nextComponent\n */\n _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case.\n false ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;\n\n var componentInstance = instantiateReactComponent(nextElement, null);\n var reactRootID = ReactMount._registerComponent(componentInstance, container);\n\n // The initial render is synchronous but any updates that happen during\n // rendering, in componentWillMount or componentDidMount, will be batched\n // according to the current batching strategy.\n\n ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, reactRootID, container, shouldReuseMarkup, context);\n\n if (false) {\n // Record the root element in case it later gets transplanted.\n rootElementsByReactRootID[reactRootID] = getReactRootElementInContainer(container);\n }\n\n return componentInstance;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactComponent} parentComponent The conceptual parent of this render tree.\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n !(parentComponent != null && parentComponent._reactInternalInstance != null) ? false ? invariant(false, 'parentComponent must be a valid React Component') : invariant(false) : undefined;\n return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);\n },\n\n _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n !ReactElement.isValidElement(nextElement) ? false ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing an element string, make sure to instantiate ' + 'it by passing it to React.createElement.' : typeof nextElement === 'function' ? ' Instead of passing a component class, make sure to instantiate ' + 'it by passing it to React.createElement.' :\n // Check if it quacks like an element\n nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : invariant(false) : undefined;\n\n false ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : undefined;\n\n var nextWrappedElement = new ReactElement(TopLevelWrapper, null, null, null, null, null, nextElement);\n\n var prevComponent = instancesByReactRootID[getReactRootID(container)];\n\n if (prevComponent) {\n var prevWrappedElement = prevComponent._currentElement;\n var prevElement = prevWrappedElement.props;\n if (shouldUpdateReactComponent(prevElement, nextElement)) {\n var publicInst = prevComponent._renderedComponent.getPublicInstance();\n var updatedCallback = callback && function () {\n callback.call(publicInst);\n };\n ReactMount._updateRootComponent(prevComponent, nextWrappedElement, container, updatedCallback);\n return publicInst;\n } else {\n ReactMount.unmountComponentAtNode(container);\n }\n }\n\n var reactRootElement = getReactRootElementInContainer(container);\n var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : undefined;\n\n if (!containerHasReactMarkup || reactRootElement.nextSibling) {\n var rootElementSibling = reactRootElement;\n while (rootElementSibling) {\n if (internalGetID(rootElementSibling)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : undefined;\n break;\n }\n rootElementSibling = rootElementSibling.nextSibling;\n }\n }\n }\n\n var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;\n var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, parentComponent != null ? parentComponent._reactInternalInstance._processChildContext(parentComponent._reactInternalInstance._context) : emptyObject)._renderedComponent.getPublicInstance();\n if (callback) {\n callback.call(component);\n }\n return component;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n render: function (nextElement, container, callback) {\n return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback);\n },\n\n /**\n * Registers a container node into which React components will be rendered.\n * This also creates the \"reactRoot\" ID that will be assigned to the element\n * rendered within.\n *\n * @param {DOMElement} container DOM element to register as a container.\n * @return {string} The \"reactRoot\" ID of elements rendered within.\n */\n registerContainer: function (container) {\n var reactRootID = getReactRootID(container);\n if (reactRootID) {\n // If one exists, make sure it is a valid \"reactRoot\" ID.\n reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID);\n }\n if (!reactRootID) {\n // No valid \"reactRoot\" ID found, create one.\n reactRootID = ReactInstanceHandles.createReactRootID();\n }\n containersByReactRootID[reactRootID] = container;\n return reactRootID;\n },\n\n /**\n * Unmounts and destroys the React component rendered in the `container`.\n *\n * @param {DOMElement} container DOM element containing a React component.\n * @return {boolean} True if a component was found in and unmounted from\n * `container`\n */\n unmountComponentAtNode: function (container) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (Strictly speaking, unmounting won't cause a\n // render but we still don't expect to be in a render call here.)\n false ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : undefined;\n\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? false ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : invariant(false) : undefined;\n\n var reactRootID = getReactRootID(container);\n var component = instancesByReactRootID[reactRootID];\n if (!component) {\n // Check if the node being unmounted was rendered by React, but isn't a\n // root node.\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n // Check if the container itself is a React root node.\n var containerID = internalGetID(container);\n var isContainerReactRoot = containerID && containerID === ReactInstanceHandles.getReactRootIDFromNodeID(containerID);\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : undefined;\n }\n\n return false;\n }\n ReactUpdates.batchedUpdates(unmountComponentFromNode, component, container);\n delete instancesByReactRootID[reactRootID];\n delete containersByReactRootID[reactRootID];\n if (false) {\n delete rootElementsByReactRootID[reactRootID];\n }\n return true;\n },\n\n /**\n * Finds the container DOM element that contains React component to which the\n * supplied DOM `id` belongs.\n *\n * @param {string} id The ID of an element rendered by a React component.\n * @return {?DOMElement} DOM element that contains the `id`.\n */\n findReactContainerForID: function (id) {\n var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(id);\n var container = containersByReactRootID[reactRootID];\n\n if (false) {\n var rootElement = rootElementsByReactRootID[reactRootID];\n if (rootElement && rootElement.parentNode !== container) {\n process.env.NODE_ENV !== 'production' ? warning(\n // Call internalGetID here because getID calls isValid which calls\n // findReactContainerForID (this function).\n internalGetID(rootElement) === reactRootID, 'ReactMount: Root element ID differed from reactRootID.') : undefined;\n var containerChild = container.firstChild;\n if (containerChild && reactRootID === internalGetID(containerChild)) {\n // If the container has a new child with the same ID as the old\n // root element, then rootElementsByReactRootID[reactRootID] is\n // just stale and needs to be updated. The case that deserves a\n // warning is when the container is empty.\n rootElementsByReactRootID[reactRootID] = containerChild;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactMount: Root element has been removed from its original ' + 'container. New container: %s', rootElement.parentNode) : undefined;\n }\n }\n }\n\n return container;\n },\n\n /**\n * Finds an element rendered by React with the supplied ID.\n *\n * @param {string} id ID of a DOM node in the React component.\n * @return {DOMElement} Root DOM node of the React component.\n */\n findReactNodeByID: function (id) {\n var reactRoot = ReactMount.findReactContainerForID(id);\n return ReactMount.findComponentRoot(reactRoot, id);\n },\n\n /**\n * Traverses up the ancestors of the supplied node to find a node that is a\n * DOM representation of a React component rendered by this copy of React.\n *\n * @param {*} node\n * @return {?DOMEventTarget}\n * @internal\n */\n getFirstReactDOM: function (node) {\n return findFirstReactDOMImpl(node);\n },\n\n /**\n * Finds a node with the supplied `targetID` inside of the supplied\n * `ancestorNode`. Exploits the ID naming scheme to perform the search\n * quickly.\n *\n * @param {DOMEventTarget} ancestorNode Search from this root.\n * @pararm {string} targetID ID of the DOM representation of the component.\n * @return {DOMEventTarget} DOM node with the supplied `targetID`.\n * @internal\n */\n findComponentRoot: function (ancestorNode, targetID) {\n var firstChildren = findComponentRootReusableArray;\n var childIndex = 0;\n\n var deepestAncestor = findDeepestCachedAncestor(targetID) || ancestorNode;\n\n if (false) {\n // This will throw on the next line; give an early warning\n process.env.NODE_ENV !== 'production' ? warning(deepestAncestor != null, 'React can\\'t find the root component node for data-reactid value ' + '`%s`. If you\\'re seeing this message, it probably means that ' + 'you\\'ve loaded two copies of React on the page. At this time, only ' + 'a single copy of React can be loaded at a time.', targetID) : undefined;\n }\n\n firstChildren[0] = deepestAncestor.firstChild;\n firstChildren.length = 1;\n\n while (childIndex < firstChildren.length) {\n var child = firstChildren[childIndex++];\n var targetChild;\n\n while (child) {\n var childID = ReactMount.getID(child);\n if (childID) {\n // Even if we find the node we're looking for, we finish looping\n // through its siblings to ensure they're cached so that we don't have\n // to revisit this node again. Otherwise, we make n^2 calls to getID\n // when visiting the many children of a single node in order.\n\n if (targetID === childID) {\n targetChild = child;\n } else if (ReactInstanceHandles.isAncestorIDOf(childID, targetID)) {\n // If we find a child whose ID is an ancestor of the given ID,\n // then we can be sure that we only want to search the subtree\n // rooted at this child, so we can throw out the rest of the\n // search state.\n firstChildren.length = childIndex = 0;\n firstChildren.push(child.firstChild);\n }\n } else {\n // If this child had no ID, then there's a chance that it was\n // injected automatically by the browser, as when a `<table>`\n // element sprouts an extra `<tbody>` child as a side effect of\n // `.innerHTML` parsing. Optimistically continue down this\n // branch, but not before examining the other siblings.\n firstChildren.push(child.firstChild);\n }\n\n child = child.nextSibling;\n }\n\n if (targetChild) {\n // Emptying firstChildren/findComponentRootReusableArray is\n // not necessary for correctness, but it helps the GC reclaim\n // any nodes that were left at the end of the search.\n firstChildren.length = 0;\n\n return targetChild;\n }\n }\n\n firstChildren.length = 0;\n\n true ? false ? invariant(false, 'findComponentRoot(..., %s): Unable to find element. This probably ' + 'means the DOM was unexpectedly mutated (e.g., by the browser), ' + 'usually due to forgetting a <tbody> when using tables, nesting tags ' + 'like <form>, <p>, or <a>, or using non-SVG elements in an <svg> ' + 'parent. ' + 'Try inspecting the child nodes of the element with React ID `%s`.', targetID, ReactMount.getID(ancestorNode)) : invariant(false) : undefined;\n },\n\n _mountImageIntoNode: function (markup, container, shouldReuseMarkup, transaction) {\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? false ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : invariant(false) : undefined;\n\n if (shouldReuseMarkup) {\n var rootElement = getReactRootElementInContainer(container);\n if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) {\n return;\n } else {\n var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\n var rootMarkup = rootElement.outerHTML;\n rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);\n\n var normalizedMarkup = markup;\n if (false) {\n // because rootMarkup is retrieved from the DOM, various normalizations\n // will have occurred which will not be present in `markup`. Here,\n // insert markup into a <div> or <iframe> depending on the container\n // type to perform the same normalizations before comparing.\n var normalizer;\n if (container.nodeType === ELEMENT_NODE_TYPE) {\n normalizer = document.createElement('div');\n normalizer.innerHTML = markup;\n normalizedMarkup = normalizer.innerHTML;\n } else {\n normalizer = document.createElement('iframe');\n document.body.appendChild(normalizer);\n normalizer.contentDocument.write(markup);\n normalizedMarkup = normalizer.contentDocument.documentElement.outerHTML;\n document.body.removeChild(normalizer);\n }\n }\n\n var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup);\n var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20);\n\n !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\\'re trying to render a component to the document using ' + 'server rendering but the checksum was invalid. This usually ' + 'means you rendered a different component type or props on ' + 'the client from the one on the server, or your render() ' + 'methods are impure. React cannot handle this case due to ' + 'cross-browser quirks by rendering at the document root. You ' + 'should look for environment dependent code in your components ' + 'and ensure the props are the same client and server side:\\n%s', difference) : invariant(false) : undefined;\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\\n%s', difference) : undefined;\n }\n }\n }\n\n !(container.nodeType !== DOC_NODE_TYPE) ? false ? invariant(false, 'You\\'re trying to render a component to the document but ' + 'you didn\\'t use server rendering. We can\\'t do this ' + 'without using server rendering due to cross-browser quirks. ' + 'See ReactDOMServer.renderToString() for server rendering.') : invariant(false) : undefined;\n\n if (transaction.useCreateElement) {\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n container.appendChild(markup);\n } else {\n setInnerHTML(container, markup);\n }\n },\n\n ownerDocumentContextKey: ownerDocumentContextKey,\n\n /**\n * React ID utilities.\n */\n\n getReactRootID: getReactRootID,\n\n getID: getID,\n\n setID: setID,\n\n getNode: getNode,\n\n getNodeFromInstance: getNodeFromInstance,\n\n isValid: isValid,\n\n purgeID: purgeID\n};\n\nReactPerf.measureMethods(ReactMount, 'ReactMount', {\n _renderNewRootComponent: '_renderNewRootComponent',\n _mountImageIntoNode: '_mountImageIntoNode'\n});\n\nmodule.exports = ReactMount;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactMount.js\n ** module id = 27\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactMount.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactBrowserEventEmitter\n * @typechecks static-only\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPluginHub = __webpack_require__(30);\nvar EventPluginRegistry = __webpack_require__(31);\nvar ReactEventEmitterMixin = __webpack_require__(36);\nvar ReactPerf = __webpack_require__(17);\nvar ViewportMetrics = __webpack_require__(37);\n\nvar assign = __webpack_require__(38);\nvar isEventSupported = __webpack_require__(39);\n\n/**\n * Summary of `ReactBrowserEventEmitter` event handling:\n *\n * - Top-level delegation is used to trap most native browser events. This\n * may only occur in the main thread and is the responsibility of\n * ReactEventListener, which is injected and can therefore support pluggable\n * event sources. This is the only work that occurs in the main thread.\n *\n * - We normalize and de-duplicate events to account for browser quirks. This\n * may be done in the worker thread.\n *\n * - Forward these native events (with the associated top-level type used to\n * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n * to extract any synthetic events.\n *\n * - The `EventPluginHub` will then process each event by annotating them with\n * \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n * - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n * +------------+ .\n * | DOM | .\n * +------------+ .\n * | .\n * v .\n * +------------+ .\n * | ReactEvent | .\n * | Listener | .\n * +------------+ . +-----------+\n * | . +--------+|SimpleEvent|\n * | . | |Plugin |\n * +-----|------+ . v +-----------+\n * | | | . +--------------+ +------------+\n * | +-----------.--->|EventPluginHub| | Event |\n * | | . | | +-----------+ | Propagators|\n * | ReactEvent | . | | |TapEvent | |------------|\n * | Emitter | . | |<---+|Plugin | |other plugin|\n * | | . | | +-----------+ | utilities |\n * | +-----------.--->| | +------------+\n * | | | . +--------------+\n * +-----|------+ . ^ +-----------+\n * | . | |Enter/Leave|\n * + . +-------+|Plugin |\n * +-------------+ . +-----------+\n * | application | .\n * |-------------| .\n * | | .\n * | | .\n * +-------------+ .\n * .\n * React Core . General Purpose Event Plugin System\n */\n\nvar alreadyListeningTo = {};\nvar isMonitoringScrollValue = false;\nvar reactTopListenersCounter = 0;\n\n// For events like 'submit' which don't consistently bubble (which we trap at a\n// lower node than `document`), binding at `document` would cause duplicate\n// events so we don't include them here\nvar topEventMapping = {\n topAbort: 'abort',\n topBlur: 'blur',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topChange: 'change',\n topClick: 'click',\n topCompositionEnd: 'compositionend',\n topCompositionStart: 'compositionstart',\n topCompositionUpdate: 'compositionupdate',\n topContextMenu: 'contextmenu',\n topCopy: 'copy',\n topCut: 'cut',\n topDoubleClick: 'dblclick',\n topDrag: 'drag',\n topDragEnd: 'dragend',\n topDragEnter: 'dragenter',\n topDragExit: 'dragexit',\n topDragLeave: 'dragleave',\n topDragOver: 'dragover',\n topDragStart: 'dragstart',\n topDrop: 'drop',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topFocus: 'focus',\n topInput: 'input',\n topKeyDown: 'keydown',\n topKeyPress: 'keypress',\n topKeyUp: 'keyup',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topMouseDown: 'mousedown',\n topMouseMove: 'mousemove',\n topMouseOut: 'mouseout',\n topMouseOver: 'mouseover',\n topMouseUp: 'mouseup',\n topPaste: 'paste',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topScroll: 'scroll',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topSelectionChange: 'selectionchange',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTextInput: 'textInput',\n topTimeUpdate: 'timeupdate',\n topTouchCancel: 'touchcancel',\n topTouchEnd: 'touchend',\n topTouchMove: 'touchmove',\n topTouchStart: 'touchstart',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting',\n topWheel: 'wheel'\n};\n\n/**\n * To ensure no conflicts with other potential React instances on the page\n */\nvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\nfunction getListeningForDocument(mountAt) {\n // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n // directly.\n if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n mountAt[topListenersIDKey] = reactTopListenersCounter++;\n alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n }\n return alreadyListeningTo[mountAt[topListenersIDKey]];\n}\n\n/**\n * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n * example:\n *\n * ReactBrowserEventEmitter.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactBrowserEventEmitter = assign({}, ReactEventEmitterMixin, {\n\n /**\n * Injectable event backend\n */\n ReactEventListener: null,\n\n injection: {\n /**\n * @param {object} ReactEventListener\n */\n injectReactEventListener: function (ReactEventListener) {\n ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n }\n },\n\n /**\n * Sets whether or not any created callbacks should be enabled.\n *\n * @param {boolean} enabled True if callbacks should be enabled.\n */\n setEnabled: function (enabled) {\n if (ReactBrowserEventEmitter.ReactEventListener) {\n ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n }\n },\n\n /**\n * @return {boolean} True if callbacks are enabled.\n */\n isEnabled: function () {\n return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n },\n\n /**\n * We listen for bubbled touch events on the document object.\n *\n * Firefox v8.01 (and possibly others) exhibited strange behavior when\n * mounting `onmousemove` events at some node that was not the document\n * element. The symptoms were that if your mouse is not moving over something\n * contained within that mount point (for example on the background) the\n * top-level listeners for `onmousemove` won't be called. However, if you\n * register the `mousemove` on the document object, then it will of course\n * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n * top-level listeners to the document object only, at least for these\n * movement types of events and possibly all events.\n *\n * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n *\n * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n * they bubble to document.\n *\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {object} contentDocumentHandle Document which owns the container\n */\n listenTo: function (registrationName, contentDocumentHandle) {\n var mountAt = contentDocumentHandle;\n var isListening = getListeningForDocument(mountAt);\n var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\n var topLevelTypes = EventConstants.topLevelTypes;\n for (var i = 0; i < dependencies.length; i++) {\n var dependency = dependencies[i];\n if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n if (dependency === topLevelTypes.topWheel) {\n if (isEventSupported('wheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n } else if (isEventSupported('mousewheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'mousewheel', mountAt);\n } else {\n // Firefox needs to capture a different mouse scroll event.\n // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n }\n } else if (dependency === topLevelTypes.topScroll) {\n\n if (isEventSupported('scroll', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n } else {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n }\n } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) {\n\n if (isEventSupported('focus', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topBlur, 'blur', mountAt);\n } else if (isEventSupported('focusin')) {\n // IE has `focusin` and `focusout` events which bubble.\n // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topFocus, 'focusin', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n }\n\n // to make sure blur and focus event listeners are only attached once\n isListening[topLevelTypes.topBlur] = true;\n isListening[topLevelTypes.topFocus] = true;\n } else if (topEventMapping.hasOwnProperty(dependency)) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n }\n\n isListening[dependency] = true;\n }\n }\n },\n\n trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n },\n\n trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n },\n\n /**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * NOTE: Scroll events do not bubble.\n *\n * @see http://www.quirksmode.org/dom/events/scroll.html\n */\n ensureScrollValueMonitoring: function () {\n if (!isMonitoringScrollValue) {\n var refresh = ViewportMetrics.refreshScrollValues;\n ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n isMonitoringScrollValue = true;\n }\n },\n\n eventNameDispatchConfigs: EventPluginHub.eventNameDispatchConfigs,\n\n registrationNameModules: EventPluginHub.registrationNameModules,\n\n putListener: EventPluginHub.putListener,\n\n getListener: EventPluginHub.getListener,\n\n deleteListener: EventPluginHub.deleteListener,\n\n deleteAllListeners: EventPluginHub.deleteAllListeners\n\n});\n\nReactPerf.measureMethods(ReactBrowserEventEmitter, 'ReactBrowserEventEmitter', {\n putListener: 'putListener',\n deleteListener: 'deleteListener'\n});\n\nmodule.exports = ReactBrowserEventEmitter;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactBrowserEventEmitter.js\n ** module id = 28\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactBrowserEventEmitter.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventConstants\n */\n\n'use strict';\n\nvar keyMirror = __webpack_require__(16);\n\nvar PropagationPhases = keyMirror({ bubbled: null, captured: null });\n\n/**\n * Types of raw signals from the browser caught at the top level.\n */\nvar topLevelTypes = keyMirror({\n topAbort: null,\n topBlur: null,\n topCanPlay: null,\n topCanPlayThrough: null,\n topChange: null,\n topClick: null,\n topCompositionEnd: null,\n topCompositionStart: null,\n topCompositionUpdate: null,\n topContextMenu: null,\n topCopy: null,\n topCut: null,\n topDoubleClick: null,\n topDrag: null,\n topDragEnd: null,\n topDragEnter: null,\n topDragExit: null,\n topDragLeave: null,\n topDragOver: null,\n topDragStart: null,\n topDrop: null,\n topDurationChange: null,\n topEmptied: null,\n topEncrypted: null,\n topEnded: null,\n topError: null,\n topFocus: null,\n topInput: null,\n topKeyDown: null,\n topKeyPress: null,\n topKeyUp: null,\n topLoad: null,\n topLoadedData: null,\n topLoadedMetadata: null,\n topLoadStart: null,\n topMouseDown: null,\n topMouseMove: null,\n topMouseOut: null,\n topMouseOver: null,\n topMouseUp: null,\n topPaste: null,\n topPause: null,\n topPlay: null,\n topPlaying: null,\n topProgress: null,\n topRateChange: null,\n topReset: null,\n topScroll: null,\n topSeeked: null,\n topSeeking: null,\n topSelectionChange: null,\n topStalled: null,\n topSubmit: null,\n topSuspend: null,\n topTextInput: null,\n topTimeUpdate: null,\n topTouchCancel: null,\n topTouchEnd: null,\n topTouchMove: null,\n topTouchStart: null,\n topVolumeChange: null,\n topWaiting: null,\n topWheel: null\n});\n\nvar EventConstants = {\n topLevelTypes: topLevelTypes,\n PropagationPhases: PropagationPhases\n};\n\nmodule.exports = EventConstants;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventConstants.js\n ** module id = 29\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EventConstants.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginHub\n */\n\n'use strict';\n\nvar EventPluginRegistry = __webpack_require__(31);\nvar EventPluginUtils = __webpack_require__(32);\nvar ReactErrorUtils = __webpack_require__(33);\n\nvar accumulateInto = __webpack_require__(34);\nvar forEachAccumulated = __webpack_require__(35);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\n/**\n * Internal store for event listeners\n */\nvar listenerBank = {};\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @private\n */\nvar executeDispatchesAndRelease = function (event, simulated) {\n if (event) {\n EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\n if (!event.isPersistent()) {\n event.constructor.release(event);\n }\n }\n};\nvar executeDispatchesAndReleaseSimulated = function (e) {\n return executeDispatchesAndRelease(e, true);\n};\nvar executeDispatchesAndReleaseTopLevel = function (e) {\n return executeDispatchesAndRelease(e, false);\n};\n\n/**\n * - `InstanceHandle`: [required] Module that performs logical traversals of DOM\n * hierarchy given ids of the logical DOM elements involved.\n */\nvar InstanceHandle = null;\n\nfunction validateInstanceHandle() {\n var valid = InstanceHandle && InstanceHandle.traverseTwoPhase && InstanceHandle.traverseEnterLeave;\n false ? warning(valid, 'InstanceHandle not injected before use!') : undefined;\n}\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n * Required. When a top-level event is fired, this method is expected to\n * extract synthetic events that will in turn be queued and dispatched.\n *\n * `eventTypes` {object}\n * Optional, plugins that fire events must publish a mapping of registration\n * names that are used to register listeners. Values of this mapping must\n * be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n * `executeDispatch` {function(object, function, string)}\n * Optional, allows plugins to override how an event gets dispatched. By\n * default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n /**\n * Methods for injecting dependencies.\n */\n injection: {\n\n /**\n * @param {object} InjectedMount\n * @public\n */\n injectMount: EventPluginUtils.injection.injectMount,\n\n /**\n * @param {object} InjectedInstanceHandle\n * @public\n */\n injectInstanceHandle: function (InjectedInstanceHandle) {\n InstanceHandle = InjectedInstanceHandle;\n if (false) {\n validateInstanceHandle();\n }\n },\n\n getInstanceHandle: function () {\n if (false) {\n validateInstanceHandle();\n }\n return InstanceHandle;\n },\n\n /**\n * @param {array} InjectedEventPluginOrder\n * @public\n */\n injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n /**\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n */\n injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n },\n\n eventNameDispatchConfigs: EventPluginRegistry.eventNameDispatchConfigs,\n\n registrationNameModules: EventPluginRegistry.registrationNameModules,\n\n /**\n * Stores `listener` at `listenerBank[registrationName][id]`. Is idempotent.\n *\n * @param {string} id ID of the DOM element.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {?function} listener The callback to store.\n */\n putListener: function (id, registrationName, listener) {\n !(typeof listener === 'function') ? false ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : invariant(false) : undefined;\n\n var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n bankForRegistrationName[id] = listener;\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.didPutListener) {\n PluginModule.didPutListener(id, registrationName, listener);\n }\n },\n\n /**\n * @param {string} id ID of the DOM element.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @return {?function} The stored callback.\n */\n getListener: function (id, registrationName) {\n var bankForRegistrationName = listenerBank[registrationName];\n return bankForRegistrationName && bankForRegistrationName[id];\n },\n\n /**\n * Deletes a listener from the registration bank.\n *\n * @param {string} id ID of the DOM element.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n */\n deleteListener: function (id, registrationName) {\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(id, registrationName);\n }\n\n var bankForRegistrationName = listenerBank[registrationName];\n // TODO: This should never be null -- when is it?\n if (bankForRegistrationName) {\n delete bankForRegistrationName[id];\n }\n },\n\n /**\n * Deletes all listeners for the DOM element with the supplied ID.\n *\n * @param {string} id ID of the DOM element.\n */\n deleteAllListeners: function (id) {\n for (var registrationName in listenerBank) {\n if (!listenerBank[registrationName][id]) {\n continue;\n }\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(id, registrationName);\n }\n\n delete listenerBank[registrationName][id];\n }\n },\n\n /**\n * Allows registered plugins an opportunity to extract events from top-level\n * native browser events.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @internal\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n var events;\n var plugins = EventPluginRegistry.plugins;\n for (var i = 0; i < plugins.length; i++) {\n // Not every plugin in the ordering may be loaded at runtime.\n var possiblePlugin = plugins[i];\n if (possiblePlugin) {\n var extractedEvents = possiblePlugin.extractEvents(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget);\n if (extractedEvents) {\n events = accumulateInto(events, extractedEvents);\n }\n }\n }\n return events;\n },\n\n /**\n * Enqueues a synthetic event that should be dispatched when\n * `processEventQueue` is invoked.\n *\n * @param {*} events An accumulation of synthetic events.\n * @internal\n */\n enqueueEvents: function (events) {\n if (events) {\n eventQueue = accumulateInto(eventQueue, events);\n }\n },\n\n /**\n * Dispatches all synthetic events on the event queue.\n *\n * @internal\n */\n processEventQueue: function (simulated) {\n // Set `eventQueue` to null before processing it so that we can tell if more\n // events get enqueued while processing.\n var processingEventQueue = eventQueue;\n eventQueue = null;\n if (simulated) {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n } else {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n }\n !!eventQueue ? false ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing ' + 'an event queue. Support for this has not yet been implemented.') : invariant(false) : undefined;\n // This would be a good time to rethrow if any of the event handlers threw.\n ReactErrorUtils.rethrowCaughtError();\n },\n\n /**\n * These are needed for tests only. Do not use!\n */\n __purge: function () {\n listenerBank = {};\n },\n\n __getListenerBank: function () {\n return listenerBank;\n }\n\n};\n\nmodule.exports = EventPluginHub;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginHub.js\n ** module id = 30\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EventPluginHub.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginRegistry\n * @typechecks static-only\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Injectable ordering of event plugins.\n */\nvar EventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n if (!EventPluginOrder) {\n // Wait until an `EventPluginOrder` is injected.\n return;\n }\n for (var pluginName in namesToPlugins) {\n var PluginModule = namesToPlugins[pluginName];\n var pluginIndex = EventPluginOrder.indexOf(pluginName);\n !(pluginIndex > -1) ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in ' + 'the plugin ordering, `%s`.', pluginName) : invariant(false) : undefined;\n if (EventPluginRegistry.plugins[pluginIndex]) {\n continue;\n }\n !PluginModule.extractEvents ? false ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` ' + 'method, but `%s` does not.', pluginName) : invariant(false) : undefined;\n EventPluginRegistry.plugins[pluginIndex] = PluginModule;\n var publishedEvents = PluginModule.eventTypes;\n for (var eventName in publishedEvents) {\n !publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName) ? false ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : invariant(false) : undefined;\n }\n }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, PluginModule, eventName) {\n !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'event name, `%s`.', eventName) : invariant(false) : undefined;\n EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (var phaseName in phasedRegistrationNames) {\n if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n var phasedRegistrationName = phasedRegistrationNames[phaseName];\n publishRegistrationName(phasedRegistrationName, PluginModule, eventName);\n }\n }\n return true;\n } else if (dispatchConfig.registrationName) {\n publishRegistrationName(dispatchConfig.registrationName, PluginModule, eventName);\n return true;\n }\n return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, PluginModule, eventName) {\n !!EventPluginRegistry.registrationNameModules[registrationName] ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same ' + 'registration name, `%s`.', registrationName) : invariant(false) : undefined;\n EventPluginRegistry.registrationNameModules[registrationName] = PluginModule;\n EventPluginRegistry.registrationNameDependencies[registrationName] = PluginModule.eventTypes[eventName].dependencies;\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n /**\n * Ordered list of injected plugins.\n */\n plugins: [],\n\n /**\n * Mapping from event name to dispatch config\n */\n eventNameDispatchConfigs: {},\n\n /**\n * Mapping from registration name to plugin module\n */\n registrationNameModules: {},\n\n /**\n * Mapping from registration name to event name\n */\n registrationNameDependencies: {},\n\n /**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginOrder}\n */\n injectEventPluginOrder: function (InjectedEventPluginOrder) {\n !!EventPluginOrder ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than ' + 'once. You are likely trying to load more than one copy of React.') : invariant(false) : undefined;\n // Clone the ordering so it cannot be dynamically mutated.\n EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);\n recomputePluginOrdering();\n },\n\n /**\n * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginsByName}\n */\n injectEventPluginsByName: function (injectedNamesToPlugins) {\n var isOrderingDirty = false;\n for (var pluginName in injectedNamesToPlugins) {\n if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n continue;\n }\n var PluginModule = injectedNamesToPlugins[pluginName];\n if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== PluginModule) {\n !!namesToPlugins[pluginName] ? false ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins ' + 'using the same name, `%s`.', pluginName) : invariant(false) : undefined;\n namesToPlugins[pluginName] = PluginModule;\n isOrderingDirty = true;\n }\n }\n if (isOrderingDirty) {\n recomputePluginOrdering();\n }\n },\n\n /**\n * Looks up the plugin for the supplied event.\n *\n * @param {object} event A synthetic event.\n * @return {?object} The plugin that created the supplied event.\n * @internal\n */\n getPluginModuleForEvent: function (event) {\n var dispatchConfig = event.dispatchConfig;\n if (dispatchConfig.registrationName) {\n return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n }\n for (var phase in dispatchConfig.phasedRegistrationNames) {\n if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];\n if (PluginModule) {\n return PluginModule;\n }\n }\n return null;\n },\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _resetEventPlugins: function () {\n EventPluginOrder = null;\n for (var pluginName in namesToPlugins) {\n if (namesToPlugins.hasOwnProperty(pluginName)) {\n delete namesToPlugins[pluginName];\n }\n }\n EventPluginRegistry.plugins.length = 0;\n\n var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n for (var eventName in eventNameDispatchConfigs) {\n if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n delete eventNameDispatchConfigs[eventName];\n }\n }\n\n var registrationNameModules = EventPluginRegistry.registrationNameModules;\n for (var registrationName in registrationNameModules) {\n if (registrationNameModules.hasOwnProperty(registrationName)) {\n delete registrationNameModules[registrationName];\n }\n }\n }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginRegistry.js\n ** module id = 31\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EventPluginRegistry.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginUtils\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar ReactErrorUtils = __webpack_require__(33);\n\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `Mount`: [required] Module that can convert between React dom IDs and\n * actual node references.\n */\nvar injection = {\n Mount: null,\n injectMount: function (InjectedMount) {\n injection.Mount = InjectedMount;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(InjectedMount && InjectedMount.getNode && InjectedMount.getID, 'EventPluginUtils.injection.injectMount(...): Injected Mount ' + 'module is missing getNode or getID.') : undefined;\n }\n }\n};\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nfunction isEndish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel;\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove;\n}\nfunction isStartish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.topTouchStart;\n}\n\nvar validateEventDispatches;\nif (false) {\n validateEventDispatches = function (event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchIDs = event._dispatchIDs;\n\n var listenersIsArr = Array.isArray(dispatchListeners);\n var idsIsArr = Array.isArray(dispatchIDs);\n var IDsLen = idsIsArr ? dispatchIDs.length : dispatchIDs ? 1 : 0;\n var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\n process.env.NODE_ENV !== 'production' ? warning(idsIsArr === listenersIsArr && IDsLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : undefined;\n };\n}\n\n/**\n * Dispatch the event to the listener.\n * @param {SyntheticEvent} event SyntheticEvent to handle\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @param {function} listener Application-level callback\n * @param {string} domID DOM id to pass to the callback.\n */\nfunction executeDispatch(event, simulated, listener, domID) {\n var type = event.type || 'unknown-event';\n event.currentTarget = injection.Mount.getNode(domID);\n if (simulated) {\n ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event, domID);\n } else {\n ReactErrorUtils.invokeGuardedCallback(type, listener, event, domID);\n }\n event.currentTarget = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, simulated) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchIDs = event._dispatchIDs;\n if (false) {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and IDs are two parallel arrays that are always in sync.\n executeDispatch(event, simulated, dispatchListeners[i], dispatchIDs[i]);\n }\n } else if (dispatchListeners) {\n executeDispatch(event, simulated, dispatchListeners, dispatchIDs);\n }\n event._dispatchListeners = null;\n event._dispatchIDs = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return {?string} id of the first dispatch execution who's listener returns\n * true, or null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchIDs = event._dispatchIDs;\n if (false) {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and IDs are two parallel arrays that are always in sync.\n if (dispatchListeners[i](event, dispatchIDs[i])) {\n return dispatchIDs[i];\n }\n }\n } else if (dispatchListeners) {\n if (dispatchListeners(event, dispatchIDs)) {\n return dispatchIDs;\n }\n }\n return null;\n}\n\n/**\n * @see executeDispatchesInOrderStopAtTrueImpl\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n event._dispatchIDs = null;\n event._dispatchListeners = null;\n return ret;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return {*} The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n if (false) {\n validateEventDispatches(event);\n }\n var dispatchListener = event._dispatchListeners;\n var dispatchID = event._dispatchIDs;\n !!Array.isArray(dispatchListener) ? false ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : invariant(false) : undefined;\n var res = dispatchListener ? dispatchListener(event, dispatchID) : null;\n event._dispatchListeners = null;\n event._dispatchIDs = null;\n return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n isEndish: isEndish,\n isMoveish: isMoveish,\n isStartish: isStartish,\n\n executeDirectDispatch: executeDirectDispatch,\n executeDispatchesInOrder: executeDispatchesInOrder,\n executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n hasDispatches: hasDispatches,\n\n getNode: function (id) {\n return injection.Mount.getNode(id);\n },\n getID: function (node) {\n return injection.Mount.getID(node);\n },\n\n injection: injection\n};\n\nmodule.exports = EventPluginUtils;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginUtils.js\n ** module id = 32\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EventPluginUtils.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactErrorUtils\n * @typechecks\n */\n\n'use strict';\n\nvar caughtError = null;\n\n/**\n * Call a function while guarding against errors that happens within it.\n *\n * @param {?String} name of the guard to use for logging or debugging\n * @param {Function} func The function to invoke\n * @param {*} a First argument\n * @param {*} b Second argument\n */\nfunction invokeGuardedCallback(name, func, a, b) {\n try {\n return func(a, b);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n return undefined;\n }\n}\n\nvar ReactErrorUtils = {\n invokeGuardedCallback: invokeGuardedCallback,\n\n /**\n * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n * handler are sure to be rethrown by rethrowCaughtError.\n */\n invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\n /**\n * During execution of guarded functions we will capture the first error which\n * we will rethrow to be handled by the top level error handler.\n */\n rethrowCaughtError: function () {\n if (caughtError) {\n var error = caughtError;\n caughtError = null;\n throw error;\n }\n }\n};\n\nif (false) {\n /**\n * To help development we can get better devtools integration by simulating a\n * real browser event.\n */\n if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n var fakeNode = document.createElement('react');\n ReactErrorUtils.invokeGuardedCallback = function (name, func, a, b) {\n var boundFunc = func.bind(null, a, b);\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\n evt.initEvent(evtType, false, false);\n fakeNode.dispatchEvent(evt);\n fakeNode.removeEventListener(evtType, boundFunc, false);\n };\n }\n}\n\nmodule.exports = ReactErrorUtils;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactErrorUtils.js\n ** module id = 33\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactErrorUtils.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule accumulateInto\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n *\n * Accumulates items that must not be null or undefined into the first one. This\n * is used to conserve memory by avoiding array allocations, and thus sacrifices\n * API cleanness. Since `current` can be null before being passed in and not\n * null after this function, make sure to assign it back to `current`:\n *\n * `a = accumulateInto(a, b);`\n *\n * This API should be sparingly used. Try `accumulate` for something cleaner.\n *\n * @return {*|array<*>} An accumulation of items.\n */\n\nfunction accumulateInto(current, next) {\n !(next != null) ? false ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : invariant(false) : undefined;\n if (current == null) {\n return next;\n }\n\n // Both are not empty. Warning: Never call x.concat(y) when you are not\n // certain that x is an Array (x could be a string with concat method).\n var currentIsArray = Array.isArray(current);\n var nextIsArray = Array.isArray(next);\n\n if (currentIsArray && nextIsArray) {\n current.push.apply(current, next);\n return current;\n }\n\n if (currentIsArray) {\n current.push(next);\n return current;\n }\n\n if (nextIsArray) {\n // A bit too dangerous to mutate `next`.\n return [current].concat(next);\n }\n\n return [current, next];\n}\n\nmodule.exports = accumulateInto;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/accumulateInto.js\n ** module id = 34\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/accumulateInto.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule forEachAccumulated\n */\n\n'use strict';\n\n/**\n * @param {array} arr an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\nvar forEachAccumulated = function (arr, cb, scope) {\n if (Array.isArray(arr)) {\n arr.forEach(cb, scope);\n } else if (arr) {\n cb.call(scope, arr);\n }\n};\n\nmodule.exports = forEachAccumulated;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/forEachAccumulated.js\n ** module id = 35\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/forEachAccumulated.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactEventEmitterMixin\n */\n\n'use strict';\n\nvar EventPluginHub = __webpack_require__(30);\n\nfunction runEventQueueInBatch(events) {\n EventPluginHub.enqueueEvents(events);\n EventPluginHub.processEventQueue(false);\n}\n\nvar ReactEventEmitterMixin = {\n\n /**\n * Streams a fired top-level event to `EventPluginHub` where plugins have the\n * opportunity to create `ReactEvent`s to be dispatched.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native environment event.\n */\n handleTopLevel: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n var events = EventPluginHub.extractEvents(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget);\n runEventQueueInBatch(events);\n }\n};\n\nmodule.exports = ReactEventEmitterMixin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactEventEmitterMixin.js\n ** module id = 36\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactEventEmitterMixin.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ViewportMetrics\n */\n\n'use strict';\n\nvar ViewportMetrics = {\n\n currentScrollLeft: 0,\n\n currentScrollTop: 0,\n\n refreshScrollValues: function (scrollPosition) {\n ViewportMetrics.currentScrollLeft = scrollPosition.x;\n ViewportMetrics.currentScrollTop = scrollPosition.y;\n }\n\n};\n\nmodule.exports = ViewportMetrics;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ViewportMetrics.js\n ** module id = 37\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ViewportMetrics.js?")},function(module,exports){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Object.assign\n */\n\n// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign\n\n'use strict';\n\nfunction assign(target, sources) {\n if (target == null) {\n throw new TypeError('Object.assign target cannot be null or undefined');\n }\n\n var to = Object(target);\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n for (var nextIndex = 1; nextIndex < arguments.length; nextIndex++) {\n var nextSource = arguments[nextIndex];\n if (nextSource == null) {\n continue;\n }\n\n var from = Object(nextSource);\n\n // We don't currently support accessors nor proxies. Therefore this\n // copy cannot throw. If we ever supported this then we must handle\n // exceptions and side-effects. We don't support symbols so they won't\n // be transferred.\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n }\n\n return to;\n}\n\nmodule.exports = assign;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/Object.assign.js\n ** module id = 38\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/Object.assign.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isEventSupported\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature &&\n // always returns true in newer browsers as per the standard.\n // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = (eventName in document);\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/isEventSupported.js\n ** module id = 39\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/isEventSupported.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMFeatureFlags\n */\n\n'use strict';\n\nvar ReactDOMFeatureFlags = {\n useCreateElement: false\n};\n\nmodule.exports = ReactDOMFeatureFlags;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMFeatureFlags.js\n ** module id = 40\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMFeatureFlags.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactElement\n */\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(4);\n\nvar assign = __webpack_require__(38);\nvar canDefineProperty = __webpack_require__(42);\n\n// The Symbol used to tag the ReactElement type. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\n\n/**\n * Base constructor for all React elements. This is only used to make this\n * work with a dynamic instanceof check. Nothing should live on this prototype.\n *\n * @param {*} type\n * @param {*} key\n * @param {string|object} ref\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @param {*} owner\n * @param {*} props\n * @internal\n */\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allow us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n if (false) {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {};\n\n // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n if (canDefineProperty) {\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n });\n // self and source are DEV only properties.\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n });\n // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n } else {\n element._store.validated = false;\n element._self = self;\n element._source = source;\n }\n Object.freeze(element.props);\n Object.freeze(element);\n }\n\n return element;\n};\n\nReactElement.createElement = function (type, config, children) {\n var propName;\n\n // Reserved names are extracted\n var props = {};\n\n var key = null;\n var ref = null;\n var self = null;\n var source = null;\n\n if (config != null) {\n ref = config.ref === undefined ? null : config.ref;\n key = config.key === undefined ? null : '' + config.key;\n self = config.__self === undefined ? null : config.__self;\n source = config.__source === undefined ? null : config.__source;\n // Remaining properties are added to a new props object\n for (propName in config) {\n if (config.hasOwnProperty(propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n props.children = childArray;\n }\n\n // Resolve default props\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n for (propName in defaultProps) {\n if (typeof props[propName] === 'undefined') {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n};\n\nReactElement.createFactory = function (type) {\n var factory = ReactElement.createElement.bind(null, type);\n // Expose the type on the factory and the prototype so that it can be\n // easily accessed on elements. E.g. `<Foo />.type === Foo`.\n // This should not be named `constructor` since this may not be the function\n // that created the element, and it may not even be a constructor.\n // Legacy hook TODO: Warn if this is accessed\n factory.type = type;\n return factory;\n};\n\nReactElement.cloneAndReplaceKey = function (oldElement, newKey) {\n var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n\n return newElement;\n};\n\nReactElement.cloneAndReplaceProps = function (oldElement, newProps) {\n var newElement = ReactElement(oldElement.type, oldElement.key, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, newProps);\n\n if (false) {\n // If the key on the original is valid, then the clone is valid\n newElement._store.validated = oldElement._store.validated;\n }\n\n return newElement;\n};\n\nReactElement.cloneElement = function (element, config, children) {\n var propName;\n\n // Original props are copied\n var props = assign({}, element.props);\n\n // Reserved names are extracted\n var key = element.key;\n var ref = element.ref;\n // Self is preserved since the owner is preserved.\n var self = element._self;\n // Source is preserved since cloneElement is unlikely to be targeted by a\n // transpiler, and the original source is probably a better indicator of the\n // true owner.\n var source = element._source;\n\n // Owner will be preserved, unless ref is overridden\n var owner = element._owner;\n\n if (config != null) {\n if (config.ref !== undefined) {\n // Silently steal the ref from the parent.\n ref = config.ref;\n owner = ReactCurrentOwner.current;\n }\n if (config.key !== undefined) {\n key = '' + config.key;\n }\n // Remaining properties override existing props\n for (propName in config) {\n if (config.hasOwnProperty(propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n props.children = childArray;\n }\n\n return ReactElement(element.type, key, ref, self, source, owner, props);\n};\n\n/**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid component.\n * @final\n */\nReactElement.isValidElement = function (object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n};\n\nmodule.exports = ReactElement;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactElement.js\n ** module id = 41\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactElement.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule canDefineProperty\n */\n\n'use strict';\n\nvar canDefineProperty = false;\nif (false) {\n try {\n Object.defineProperty({}, 'x', { get: function () {} });\n canDefineProperty = true;\n } catch (x) {\n // IE will fail on defineProperty\n }\n}\n\nmodule.exports = canDefineProperty;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/canDefineProperty.js\n ** module id = 42\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/canDefineProperty.js?")},function(module,exports){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactEmptyComponentRegistry\n */\n\n'use strict';\n\n// This registry keeps track of the React IDs of the components that rendered to\n// `null` (in reality a placeholder such as `noscript`)\nvar nullComponentIDsRegistry = {};\n\n/**\n * @param {string} id Component's `_rootNodeID`.\n * @return {boolean} True if the component is rendered to null.\n */\nfunction isNullComponentID(id) {\n return !!nullComponentIDsRegistry[id];\n}\n\n/**\n * Mark the component as having rendered to null.\n * @param {string} id Component's `_rootNodeID`.\n */\nfunction registerNullComponentID(id) {\n nullComponentIDsRegistry[id] = true;\n}\n\n/**\n * Unmark the component as having rendered to null: it renders to something now.\n * @param {string} id Component's `_rootNodeID`.\n */\nfunction deregisterNullComponentID(id) {\n delete nullComponentIDsRegistry[id];\n}\n\nvar ReactEmptyComponentRegistry = {\n isNullComponentID: isNullComponentID,\n registerNullComponentID: registerNullComponentID,\n deregisterNullComponentID: deregisterNullComponentID\n};\n\nmodule.exports = ReactEmptyComponentRegistry;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactEmptyComponentRegistry.js\n ** module id = 43\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactEmptyComponentRegistry.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInstanceHandles\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactRootIndex = __webpack_require__(45);\n\nvar invariant = __webpack_require__(12);\n\nvar SEPARATOR = '.';\nvar SEPARATOR_LENGTH = SEPARATOR.length;\n\n/**\n * Maximum depth of traversals before we consider the possibility of a bad ID.\n */\nvar MAX_TREE_DEPTH = 10000;\n\n/**\n * Creates a DOM ID prefix to use when mounting React components.\n *\n * @param {number} index A unique integer\n * @return {string} React root ID.\n * @internal\n */\nfunction getReactRootIDString(index) {\n return SEPARATOR + index.toString(36);\n}\n\n/**\n * Checks if a character in the supplied ID is a separator or the end.\n *\n * @param {string} id A React DOM ID.\n * @param {number} index Index of the character to check.\n * @return {boolean} True if the character is a separator or end of the ID.\n * @private\n */\nfunction isBoundary(id, index) {\n return id.charAt(index) === SEPARATOR || index === id.length;\n}\n\n/**\n * Checks if the supplied string is a valid React DOM ID.\n *\n * @param {string} id A React DOM ID, maybe.\n * @return {boolean} True if the string is a valid React DOM ID.\n * @private\n */\nfunction isValidID(id) {\n return id === '' || id.charAt(0) === SEPARATOR && id.charAt(id.length - 1) !== SEPARATOR;\n}\n\n/**\n * Checks if the first ID is an ancestor of or equal to the second ID.\n *\n * @param {string} ancestorID\n * @param {string} descendantID\n * @return {boolean} True if `ancestorID` is an ancestor of `descendantID`.\n * @internal\n */\nfunction isAncestorIDOf(ancestorID, descendantID) {\n return descendantID.indexOf(ancestorID) === 0 && isBoundary(descendantID, ancestorID.length);\n}\n\n/**\n * Gets the parent ID of the supplied React DOM ID, `id`.\n *\n * @param {string} id ID of a component.\n * @return {string} ID of the parent, or an empty string.\n * @private\n */\nfunction getParentID(id) {\n return id ? id.substr(0, id.lastIndexOf(SEPARATOR)) : '';\n}\n\n/**\n * Gets the next DOM ID on the tree path from the supplied `ancestorID` to the\n * supplied `destinationID`. If they are equal, the ID is returned.\n *\n * @param {string} ancestorID ID of an ancestor node of `destinationID`.\n * @param {string} destinationID ID of the destination node.\n * @return {string} Next ID on the path from `ancestorID` to `destinationID`.\n * @private\n */\nfunction getNextDescendantID(ancestorID, destinationID) {\n !(isValidID(ancestorID) && isValidID(destinationID)) ? false ? invariant(false, 'getNextDescendantID(%s, %s): Received an invalid React DOM ID.', ancestorID, destinationID) : invariant(false) : undefined;\n !isAncestorIDOf(ancestorID, destinationID) ? false ? invariant(false, 'getNextDescendantID(...): React has made an invalid assumption about ' + 'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.', ancestorID, destinationID) : invariant(false) : undefined;\n if (ancestorID === destinationID) {\n return ancestorID;\n }\n // Skip over the ancestor and the immediate separator. Traverse until we hit\n // another separator or we reach the end of `destinationID`.\n var start = ancestorID.length + SEPARATOR_LENGTH;\n var i;\n for (i = start; i < destinationID.length; i++) {\n if (isBoundary(destinationID, i)) {\n break;\n }\n }\n return destinationID.substr(0, i);\n}\n\n/**\n * Gets the nearest common ancestor ID of two IDs.\n *\n * Using this ID scheme, the nearest common ancestor ID is the longest common\n * prefix of the two IDs that immediately preceded a \"marker\" in both strings.\n *\n * @param {string} oneID\n * @param {string} twoID\n * @return {string} Nearest common ancestor ID, or the empty string if none.\n * @private\n */\nfunction getFirstCommonAncestorID(oneID, twoID) {\n var minLength = Math.min(oneID.length, twoID.length);\n if (minLength === 0) {\n return '';\n }\n var lastCommonMarkerIndex = 0;\n // Use `<=` to traverse until the \"EOL\" of the shorter string.\n for (var i = 0; i <= minLength; i++) {\n if (isBoundary(oneID, i) && isBoundary(twoID, i)) {\n lastCommonMarkerIndex = i;\n } else if (oneID.charAt(i) !== twoID.charAt(i)) {\n break;\n }\n }\n var longestCommonID = oneID.substr(0, lastCommonMarkerIndex);\n !isValidID(longestCommonID) ? false ? invariant(false, 'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s', oneID, twoID, longestCommonID) : invariant(false) : undefined;\n return longestCommonID;\n}\n\n/**\n * Traverses the parent path between two IDs (either up or down). The IDs must\n * not be the same, and there must exist a parent path between them. If the\n * callback returns `false`, traversal is stopped.\n *\n * @param {?string} start ID at which to start traversal.\n * @param {?string} stop ID at which to end traversal.\n * @param {function} cb Callback to invoke each ID with.\n * @param {*} arg Argument to invoke the callback with.\n * @param {?boolean} skipFirst Whether or not to skip the first node.\n * @param {?boolean} skipLast Whether or not to skip the last node.\n * @private\n */\nfunction traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) {\n start = start || '';\n stop = stop || '';\n !(start !== stop) ? false ? invariant(false, 'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.', start) : invariant(false) : undefined;\n var traverseUp = isAncestorIDOf(stop, start);\n !(traverseUp || isAncestorIDOf(start, stop)) ? false ? invariant(false, 'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' + 'not have a parent path.', start, stop) : invariant(false) : undefined;\n // Traverse from `start` to `stop` one depth at a time.\n var depth = 0;\n var traverse = traverseUp ? getParentID : getNextDescendantID;\n for (var id = start;; /* until break */id = traverse(id, stop)) {\n var ret;\n if ((!skipFirst || id !== start) && (!skipLast || id !== stop)) {\n ret = cb(id, traverseUp, arg);\n }\n if (ret === false || id === stop) {\n // Only break //after// visiting `stop`.\n break;\n }\n !(depth++ < MAX_TREE_DEPTH) ? false ? invariant(false, 'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' + 'traversing the React DOM ID tree. This may be due to malformed IDs: %s', start, stop, id) : invariant(false) : undefined;\n }\n}\n\n/**\n * Manages the IDs assigned to DOM representations of React components. This\n * uses a specific scheme in order to traverse the DOM efficiently (e.g. in\n * order to simulate events).\n *\n * @internal\n */\nvar ReactInstanceHandles = {\n\n /**\n * Constructs a React root ID\n * @return {string} A React root ID.\n */\n createReactRootID: function () {\n return getReactRootIDString(ReactRootIndex.createReactRootIndex());\n },\n\n /**\n * Constructs a React ID by joining a root ID with a name.\n *\n * @param {string} rootID Root ID of a parent component.\n * @param {string} name A component's name (as flattened children).\n * @return {string} A React ID.\n * @internal\n */\n createReactID: function (rootID, name) {\n return rootID + name;\n },\n\n /**\n * Gets the DOM ID of the React component that is the root of the tree that\n * contains the React component with the supplied DOM ID.\n *\n * @param {string} id DOM ID of a React component.\n * @return {?string} DOM ID of the React component that is the root.\n * @internal\n */\n getReactRootIDFromNodeID: function (id) {\n if (id && id.charAt(0) === SEPARATOR && id.length > 1) {\n var index = id.indexOf(SEPARATOR, 1);\n return index > -1 ? id.substr(0, index) : id;\n }\n return null;\n },\n\n /**\n * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n * should would receive a `mouseEnter` or `mouseLeave` event.\n *\n * NOTE: Does not invoke the callback on the nearest common ancestor because\n * nothing \"entered\" or \"left\" that element.\n *\n * @param {string} leaveID ID being left.\n * @param {string} enterID ID being entered.\n * @param {function} cb Callback to invoke on each entered/left ID.\n * @param {*} upArg Argument to invoke the callback with on left IDs.\n * @param {*} downArg Argument to invoke the callback with on entered IDs.\n * @internal\n */\n traverseEnterLeave: function (leaveID, enterID, cb, upArg, downArg) {\n var ancestorID = getFirstCommonAncestorID(leaveID, enterID);\n if (ancestorID !== leaveID) {\n traverseParentPath(leaveID, ancestorID, cb, upArg, false, true);\n }\n if (ancestorID !== enterID) {\n traverseParentPath(ancestorID, enterID, cb, downArg, true, false);\n }\n },\n\n /**\n * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n *\n * NOTE: This traversal happens on IDs without touching the DOM.\n *\n * @param {string} targetID ID of the target node.\n * @param {function} cb Callback to invoke.\n * @param {*} arg Argument to invoke the callback with.\n * @internal\n */\n traverseTwoPhase: function (targetID, cb, arg) {\n if (targetID) {\n traverseParentPath('', targetID, cb, arg, true, false);\n traverseParentPath(targetID, '', cb, arg, false, true);\n }\n },\n\n /**\n * Same as `traverseTwoPhase` but skips the `targetID`.\n */\n traverseTwoPhaseSkipTarget: function (targetID, cb, arg) {\n if (targetID) {\n traverseParentPath('', targetID, cb, arg, true, true);\n traverseParentPath(targetID, '', cb, arg, true, true);\n }\n },\n\n /**\n * Traverse a node ID, calling the supplied `cb` for each ancestor ID. For\n * example, passing `.0.$row-0.1` would result in `cb` getting called\n * with `.0`, `.0.$row-0`, and `.0.$row-0.1`.\n *\n * NOTE: This traversal happens on IDs without touching the DOM.\n *\n * @param {string} targetID ID of the target node.\n * @param {function} cb Callback to invoke.\n * @param {*} arg Argument to invoke the callback with.\n * @internal\n */\n traverseAncestors: function (targetID, cb, arg) {\n traverseParentPath('', targetID, cb, arg, true, false);\n },\n\n getFirstCommonAncestorID: getFirstCommonAncestorID,\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _getNextDescendantID: getNextDescendantID,\n\n isAncestorIDOf: isAncestorIDOf,\n\n SEPARATOR: SEPARATOR\n\n};\n\nmodule.exports = ReactInstanceHandles;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInstanceHandles.js\n ** module id = 44\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactInstanceHandles.js?"); },function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactRootIndex\n * @typechecks\n */\n\n'use strict';\n\nvar ReactRootIndexInjection = {\n /**\n * @param {function} _createReactRootIndex\n */\n injectCreateReactRootIndex: function (_createReactRootIndex) {\n ReactRootIndex.createReactRootIndex = _createReactRootIndex;\n }\n};\n\nvar ReactRootIndex = {\n createReactRootIndex: null,\n injection: ReactRootIndexInjection\n};\n\nmodule.exports = ReactRootIndex;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactRootIndex.js\n ** module id = 45\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactRootIndex.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInstanceMap\n */\n\n'use strict';\n\n/**\n * `ReactInstanceMap` maintains a mapping from a public facing stateful\n * instance (key) and the internal representation (value). This allows public\n * methods to accept the user facing instance as an argument and map them back\n * to internal methods.\n */\n\n// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\nvar ReactInstanceMap = {\n\n /**\n * This API should be called `delete` but we'd have to make sure to always\n * transform these to strings for IE support. When this transform is fully\n * supported we can rename it.\n */\n remove: function (key) {\n key._reactInternalInstance = undefined;\n },\n\n get: function (key) {\n return key._reactInternalInstance;\n },\n\n has: function (key) {\n return key._reactInternalInstance !== undefined;\n },\n\n set: function (key, value) {\n key._reactInternalInstance = value;\n }\n\n};\n\nmodule.exports = ReactInstanceMap;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInstanceMap.js\n ** module id = 46\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactInstanceMap.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactMarkupChecksum\n */\n\n'use strict';\n\nvar adler32 = __webpack_require__(48);\n\nvar TAG_END = /\\/?>/;\n\nvar ReactMarkupChecksum = {\n CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\n /**\n * @param {string} markup Markup string\n * @return {string} Markup string with checksum attribute attached\n */\n addChecksumToMarkup: function (markup) {\n var checksum = adler32(markup);\n\n // Add checksum (handle both parent tags and self-closing tags)\n return markup.replace(TAG_END, ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\"$&');\n },\n\n /**\n * @param {string} markup to use\n * @param {DOMElement} element root React element\n * @returns {boolean} whether or not the markup is the same\n */\n canReuseMarkup: function (markup, element) {\n var existingChecksum = element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n var markupChecksum = adler32(markup);\n return markupChecksum === existingChecksum;\n }\n};\n\nmodule.exports = ReactMarkupChecksum;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactMarkupChecksum.js\n ** module id = 47\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactMarkupChecksum.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule adler32\n */\n\n'use strict';\n\nvar MOD = 65521;\n\n// adler32 is not cryptographically strong, and is only used to sanity check that\n// markup generated on the server matches the markup generated on the client.\n// This implementation (a modified version of the SheetJS version) has been optimized\n// for our use case, at the expense of conforming to the adler32 specification\n// for non-ascii inputs.\nfunction adler32(data) {\n var a = 1;\n var b = 0;\n var i = 0;\n var l = data.length;\n var m = l & ~0x3;\n while (i < m) {\n for (; i < Math.min(i + 4096, m); i += 4) {\n b += (a += data.charCodeAt(i)) + (a += data.charCodeAt(i + 1)) + (a += data.charCodeAt(i + 2)) + (a += data.charCodeAt(i + 3));\n }\n a %= MOD;\n b %= MOD;\n }\n for (; i < l; i++) {\n b += a += data.charCodeAt(i);\n }\n a %= MOD;\n b %= MOD;\n return a | b << 16;\n}\n\nmodule.exports = adler32;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/adler32.js\n ** module id = 48\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/adler32.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactReconciler\n */\n\n'use strict';\n\nvar ReactRef = __webpack_require__(50);\n\n/**\n * Helper to call ReactRef.attachRefs with this composite component, split out\n * to avoid allocations in the transaction mount-ready queue.\n */\nfunction attachRefs() {\n ReactRef.attachRefs(this, this._currentElement);\n}\n\nvar ReactReconciler = {\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactComponent} internalInstance\n * @param {string} rootID DOM ID of the root node.\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (internalInstance, rootID, transaction, context) {\n var markup = internalInstance.mountComponent(rootID, transaction, context);\n if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n return markup;\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (internalInstance) {\n ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n internalInstance.unmountComponent();\n },\n\n /**\n * Update a component using a new element.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @internal\n */\n receiveComponent: function (internalInstance, nextElement, transaction, context) {\n var prevElement = internalInstance._currentElement;\n\n if (nextElement === prevElement && context === internalInstance._context) {\n // Since elements are immutable after the owner is rendered,\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update of the owner which would recreate\n // the element. We explicitly check for the existence of an owner since\n // it's possible for an element created outside a composite to be\n // deeply mutated and reused.\n\n // TODO: Bailing out early is just a perf optimization right?\n // TODO: Removing the return statement should affect correctness?\n return;\n }\n\n var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\n if (refsChanged) {\n ReactRef.detachRefs(internalInstance, prevElement);\n }\n\n internalInstance.receiveComponent(nextElement, transaction, context);\n\n if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n },\n\n /**\n * Flush any dirty changes in a component.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (internalInstance, transaction) {\n internalInstance.performUpdateIfNecessary(transaction);\n }\n\n};\n\nmodule.exports = ReactReconciler;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactReconciler.js\n ** module id = 49\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactReconciler.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactRef\n */\n\n'use strict';\n\nvar ReactOwner = __webpack_require__(51);\n\nvar ReactRef = {};\n\nfunction attachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(component.getPublicInstance());\n } else {\n // Legacy ref\n ReactOwner.addComponentAsRefTo(component, ref, owner);\n }\n}\n\nfunction detachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(null);\n } else {\n // Legacy ref\n ReactOwner.removeComponentAsRefFrom(component, ref, owner);\n }\n}\n\nReactRef.attachRefs = function (instance, element) {\n if (element === null || element === false) {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n attachRef(ref, instance, element._owner);\n }\n};\n\nReactRef.shouldUpdateRefs = function (prevElement, nextElement) {\n // If either the owner or a `ref` has changed, make sure the newest owner\n // has stored a reference to `this`, and the previous owner (if different)\n // has forgotten the reference to `this`. We use the element instead\n // of the public this.props because the post processing cannot determine\n // a ref. The ref conceptually lives on the element.\n\n // TODO: Should this even be possible? The owner cannot change because\n // it's forbidden by shouldUpdateReactComponent. The ref can change\n // if you swap the keys of but not the refs. Reconsider where this check\n // is made. It probably belongs where the key checking and\n // instantiateReactComponent is done.\n\n var prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n\n return(\n // This has a few false positives w/r/t empty components.\n prevEmpty || nextEmpty || nextElement._owner !== prevElement._owner || nextElement.ref !== prevElement.ref\n );\n};\n\nReactRef.detachRefs = function (instance, element) {\n if (element === null || element === false) {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n detachRef(ref, instance, element._owner);\n }\n};\n\nmodule.exports = ReactRef;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactRef.js\n ** module id = 50\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactRef.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactOwner\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return (\n * <div onClick={this.handleClick}>\n * <CustomComponent ref=\"custom\" />\n * </div>\n * );\n * },\n * handleClick: function() {\n * this.refs.custom.handleClick();\n * },\n * componentDidMount: function() {\n * this.refs.custom.initialize();\n * }\n * });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n\n /**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid owner.\n * @final\n */\n isValidOwner: function (object) {\n return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n },\n\n /**\n * Adds a component by ref to an owner component.\n *\n * @param {ReactComponent} component Component to reference.\n * @param {string} ref Name by which to refer to the component.\n * @param {ReactOwner} owner Component on which to record the ref.\n * @final\n * @internal\n */\n addComponentAsRefTo: function (component, ref, owner) {\n !ReactOwner.isValidOwner(owner) ? false ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might ' + 'be adding a ref to a component that was not created inside a component\\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;\n owner.attachRef(ref, component);\n },\n\n /**\n * Removes a component by ref from an owner component.\n *\n * @param {ReactComponent} component Component to dereference.\n * @param {string} ref Name of the ref to remove.\n * @param {ReactOwner} owner Component on which the ref is recorded.\n * @final\n * @internal\n */\n removeComponentAsRefFrom: function (component, ref, owner) {\n !ReactOwner.isValidOwner(owner) ? false ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might ' + 'be removing a ref to a component that was not created inside a component\\'s ' + '`render` method, or you have multiple copies of React loaded ' + '(details: https://fb.me/react-refs-must-have-owner).') : invariant(false) : undefined;\n // Check that `component` is still the current ref because we do not want to\n // detach the ref if another component stole it.\n if (owner.getPublicInstance().refs[ref] === component.getPublicInstance()) {\n owner.detachRef(ref);\n }\n }\n\n};\n\nmodule.exports = ReactOwner;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactOwner.js\n ** module id = 51\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactOwner.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactUpdateQueue\n */\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactElement = __webpack_require__(41);\nvar ReactInstanceMap = __webpack_require__(46);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\nfunction enqueueUpdate(internalInstance) {\n ReactUpdates.enqueueUpdate(internalInstance);\n}\n\nfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (!internalInstance) {\n if (false) {\n // Only warn when we have a callerName. Otherwise we should be silent.\n // We're probably calling from enqueueCallback. We don't want to warn\n // there because we already warned for the corresponding lifecycle method.\n process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, publicInstance.constructor.displayName) : undefined;\n }\n return null;\n }\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition ' + '(such as within `render`). Render methods should be a pure function ' + 'of props and state.', callerName) : undefined;\n }\n\n return internalInstance;\n}\n\n/**\n * ReactUpdateQueue allows for state updates to be scheduled into a later\n * reconciliation step.\n */\nvar ReactUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n if (false) {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;\n owner._warnedAboutRefsInRender = true;\n }\n }\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (internalInstance) {\n // During componentWillMount and render this will still be null but after\n // that will always render to something. At least for now. So we can use\n // this hack.\n return !!internalInstance._renderedComponent;\n } else {\n return false;\n }\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {\n !(typeof callback === 'function') ? false ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\\'t callable.') : invariant(false) : undefined;\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\n // Previously we would throw an error if we didn't have an internal\n // instance. Since we want to make it a no-op instead, we mirror the same\n // behavior we have in other enqueue* methods.\n // We also need to ignore callbacks in componentWillMount. See\n // enqueueUpdates.\n if (!internalInstance) {\n return null;\n }\n\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n // TODO: The callback here is ignored when setState is called from\n // componentWillMount. Either fix it or disallow doing so completely in\n // favor of getInitialState. Alternatively, we can disallow\n // componentWillMount during server-side rendering.\n enqueueUpdate(internalInstance);\n },\n\n enqueueCallbackInternal: function (internalInstance, callback) {\n !(typeof callback === 'function') ? false ? invariant(false, 'enqueueCallback(...): You called `setProps`, `replaceProps`, ' + '`setState`, `replaceState`, or `forceUpdate` with a callback that ' + 'isn\\'t callable.') : invariant(false) : undefined;\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingForceUpdate = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingStateQueue = [completeState];\n internalInstance._pendingReplaceState = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\n if (!internalInstance) {\n return;\n }\n\n var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n queue.push(partialState);\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Sets a subset of the props.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialProps Subset of the next props.\n * @internal\n */\n enqueueSetProps: function (publicInstance, partialProps) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setProps');\n if (!internalInstance) {\n return;\n }\n ReactUpdateQueue.enqueueSetPropsInternal(internalInstance, partialProps);\n },\n\n enqueueSetPropsInternal: function (internalInstance, partialProps) {\n var topLevelWrapper = internalInstance._topLevelWrapper;\n !topLevelWrapper ? false ? invariant(false, 'setProps(...): You called `setProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;\n\n // Merge with the pending element if it exists, otherwise with existing\n // element props.\n var wrapElement = topLevelWrapper._pendingElement || topLevelWrapper._currentElement;\n var element = wrapElement.props;\n var props = assign({}, element.props, partialProps);\n topLevelWrapper._pendingElement = ReactElement.cloneAndReplaceProps(wrapElement, ReactElement.cloneAndReplaceProps(element, props));\n\n enqueueUpdate(topLevelWrapper);\n },\n\n /**\n * Replaces all of the props.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} props New props.\n * @internal\n */\n enqueueReplaceProps: function (publicInstance, props) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceProps');\n if (!internalInstance) {\n return;\n }\n ReactUpdateQueue.enqueueReplacePropsInternal(internalInstance, props);\n },\n\n enqueueReplacePropsInternal: function (internalInstance, props) {\n var topLevelWrapper = internalInstance._topLevelWrapper;\n !topLevelWrapper ? false ? invariant(false, 'replaceProps(...): You called `replaceProps` on a ' + 'component with a parent. This is an anti-pattern since props will ' + 'get reactively updated when rendered. Instead, change the owner\\'s ' + '`render` method to pass the correct value as props to the component ' + 'where it is created.') : invariant(false) : undefined;\n\n // Merge with the pending element if it exists, otherwise with existing\n // element props.\n var wrapElement = topLevelWrapper._pendingElement || topLevelWrapper._currentElement;\n var element = wrapElement.props;\n topLevelWrapper._pendingElement = ReactElement.cloneAndReplaceProps(wrapElement, ReactElement.cloneAndReplaceProps(element, props));\n\n enqueueUpdate(topLevelWrapper);\n },\n\n enqueueElementInternal: function (internalInstance, newElement) {\n internalInstance._pendingElement = newElement;\n enqueueUpdate(internalInstance);\n }\n\n};\n\nmodule.exports = ReactUpdateQueue;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactUpdateQueue.js\n ** module id = 52\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactUpdateQueue.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactUpdates\n */\n\n'use strict';\n\nvar CallbackQueue = __webpack_require__(54);\nvar PooledClass = __webpack_require__(55);\nvar ReactPerf = __webpack_require__(17);\nvar ReactReconciler = __webpack_require__(49);\nvar Transaction = __webpack_require__(56);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\n\nvar dirtyComponents = [];\nvar asapCallbackQueue = CallbackQueue.getPooled();\nvar asapEnqueued = false;\n\nvar batchingStrategy = null;\n\nfunction ensureInjected() {\n !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? false ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching ' + 'strategy') : invariant(false) : undefined;\n}\n\nvar NESTED_UPDATES = {\n initialize: function () {\n this.dirtyComponentsLength = dirtyComponents.length;\n },\n close: function () {\n if (this.dirtyComponentsLength !== dirtyComponents.length) {\n // Additional updates were enqueued by componentDidUpdate handlers or\n // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run\n // these new updates so that if A's componentDidUpdate calls setState on\n // B, B will update before the callback A's updater provided when calling\n // setState.\n dirtyComponents.splice(0, this.dirtyComponentsLength);\n flushBatchedUpdates();\n } else {\n dirtyComponents.length = 0;\n }\n }\n};\n\nvar UPDATE_QUEUEING = {\n initialize: function () {\n this.callbackQueue.reset();\n },\n close: function () {\n this.callbackQueue.notifyAll();\n }\n};\n\nvar TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING];\n\nfunction ReactUpdatesFlushTransaction() {\n this.reinitializeTransaction();\n this.dirtyComponentsLength = null;\n this.callbackQueue = CallbackQueue.getPooled();\n this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled( /* forceHTML */false);\n}\n\nassign(ReactUpdatesFlushTransaction.prototype, Transaction.Mixin, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n destructor: function () {\n this.dirtyComponentsLength = null;\n CallbackQueue.release(this.callbackQueue);\n this.callbackQueue = null;\n ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);\n this.reconcileTransaction = null;\n },\n\n perform: function (method, scope, a) {\n // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`\n // with this transaction's wrappers around it.\n return Transaction.Mixin.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a);\n }\n});\n\nPooledClass.addPoolingTo(ReactUpdatesFlushTransaction);\n\nfunction batchedUpdates(callback, a, b, c, d, e) {\n ensureInjected();\n batchingStrategy.batchedUpdates(callback, a, b, c, d, e);\n}\n\n/**\n * Array comparator for ReactComponents by mount ordering.\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountOrderComparator(c1, c2) {\n return c1._mountOrder - c2._mountOrder;\n}\n\nfunction runBatchedUpdates(transaction) {\n var len = transaction.dirtyComponentsLength;\n !(len === dirtyComponents.length) ? false ? invariant(false, 'Expected flush transaction\\'s stored dirty-components length (%s) to ' + 'match dirty-components array length (%s).', len, dirtyComponents.length) : invariant(false) : undefined;\n\n // Since reconciling a component higher in the owner hierarchy usually (not\n // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n // them before their children by sorting the array.\n dirtyComponents.sort(mountOrderComparator);\n\n for (var i = 0; i < len; i++) {\n // If a component is unmounted before pending changes apply, it will still\n // be here, but we assume that it has cleared its _pendingCallbacks and\n // that performUpdateIfNecessary is a noop.\n var component = dirtyComponents[i];\n\n // If performUpdateIfNecessary happens to enqueue any new updates, we\n // shouldn't execute the callbacks until the next render happens, so\n // stash the callbacks first\n var callbacks = component._pendingCallbacks;\n component._pendingCallbacks = null;\n\n ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction);\n\n if (callbacks) {\n for (var j = 0; j < callbacks.length; j++) {\n transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance());\n }\n }\n }\n}\n\nvar flushBatchedUpdates = function () {\n // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents\n // array and perform any updates enqueued by mount-ready handlers (i.e.,\n // componentDidUpdate) but we need to check here too in order to catch\n // updates enqueued by setState callbacks and asap calls.\n while (dirtyComponents.length || asapEnqueued) {\n if (dirtyComponents.length) {\n var transaction = ReactUpdatesFlushTransaction.getPooled();\n transaction.perform(runBatchedUpdates, null, transaction);\n ReactUpdatesFlushTransaction.release(transaction);\n }\n\n if (asapEnqueued) {\n asapEnqueued = false;\n var queue = asapCallbackQueue;\n asapCallbackQueue = CallbackQueue.getPooled();\n queue.notifyAll();\n CallbackQueue.release(queue);\n }\n }\n};\nflushBatchedUpdates = ReactPerf.measure('ReactUpdates', 'flushBatchedUpdates', flushBatchedUpdates);\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component) {\n ensureInjected();\n\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (This is called by each top-level update\n // function, like setProps, setState, forceUpdate, etc.; creation and\n // destruction of top-level components is guarded in ReactMount.)\n\n if (!batchingStrategy.isBatchingUpdates) {\n batchingStrategy.batchedUpdates(enqueueUpdate, component);\n return;\n }\n\n dirtyComponents.push(component);\n}\n\n/**\n * Enqueue a callback to be run at the end of the current batching cycle. Throws\n * if no updates are currently being performed.\n */\nfunction asap(callback, context) {\n !batchingStrategy.isBatchingUpdates ? false ? invariant(false, 'ReactUpdates.asap: Can\\'t enqueue an asap callback in a context where' + 'updates are not being batched.') : invariant(false) : undefined;\n asapCallbackQueue.enqueue(callback, context);\n asapEnqueued = true;\n}\n\nvar ReactUpdatesInjection = {\n injectReconcileTransaction: function (ReconcileTransaction) {\n !ReconcileTransaction ? false ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : invariant(false) : undefined;\n ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;\n },\n\n injectBatchingStrategy: function (_batchingStrategy) {\n !_batchingStrategy ? false ? invariant(false, 'ReactUpdates: must provide a batching strategy') : invariant(false) : undefined;\n !(typeof _batchingStrategy.batchedUpdates === 'function') ? false ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : invariant(false) : undefined;\n !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? false ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : invariant(false) : undefined;\n batchingStrategy = _batchingStrategy;\n }\n};\n\nvar ReactUpdates = {\n /**\n * React references `ReactReconcileTransaction` using this property in order\n * to allow dependency injection.\n *\n * @internal\n */\n ReactReconcileTransaction: null,\n\n batchedUpdates: batchedUpdates,\n enqueueUpdate: enqueueUpdate,\n flushBatchedUpdates: flushBatchedUpdates,\n injection: ReactUpdatesInjection,\n asap: asap\n};\n\nmodule.exports = ReactUpdates;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactUpdates.js\n ** module id = 53\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactUpdates.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CallbackQueue\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(55);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `CallbackQueue.getPooled()`.\n *\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\nfunction CallbackQueue() {\n this._callbacks = null;\n this._contexts = null;\n}\n\nassign(CallbackQueue.prototype, {\n\n /**\n * Enqueues a callback to be invoked when `notifyAll` is invoked.\n *\n * @param {function} callback Invoked when `notifyAll` is invoked.\n * @param {?object} context Context to call `callback` with.\n * @internal\n */\n enqueue: function (callback, context) {\n this._callbacks = this._callbacks || [];\n this._contexts = this._contexts || [];\n this._callbacks.push(callback);\n this._contexts.push(context);\n },\n\n /**\n * Invokes all enqueued callbacks and clears the queue. This is invoked after\n * the DOM representation of a component has been created or updated.\n *\n * @internal\n */\n notifyAll: function () {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n if (callbacks) {\n !(callbacks.length === contexts.length) ? false ? invariant(false, 'Mismatched list of contexts in callback queue') : invariant(false) : undefined;\n this._callbacks = null;\n this._contexts = null;\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i].call(contexts[i]);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n },\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n reset: function () {\n this._callbacks = null;\n this._contexts = null;\n },\n\n /**\n * `PooledClass` looks for this.\n */\n destructor: function () {\n this.reset();\n }\n\n});\n\nPooledClass.addPoolingTo(CallbackQueue);\n\nmodule.exports = CallbackQueue;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/CallbackQueue.js\n ** module id = 54\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/CallbackQueue.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule PooledClass\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar fiveArgumentPooler = function (a1, a2, a3, a4, a5) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4, a5);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4, a5);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? false ? invariant(false, 'Trying to release an instance into a pool of a different type.') : invariant(false) : undefined;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances (optional).\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler,\n fiveArgumentPooler: fiveArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/PooledClass.js\n ** module id = 55\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/PooledClass.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Transaction\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be run while it is already being run. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n * <pre>\n * wrappers (injected at creation time)\n * + +\n * | |\n * +-----------------|--------|--------------+\n * | v | |\n * | +---------------+ | |\n * | +--| wrapper1 |---|----+ |\n * | | +---------------+ v | |\n * | | +-------------+ | |\n * | | +----| wrapper2 |--------+ |\n * | | | +-------------+ | | |\n * | | | | | |\n * | v v v v | wrapper\n * | +---+ +---+ +---------+ +---+ +---+ | invariants\n * perform(anyMethod) | | | | | | | | | | | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | +---+ +---+ +---------+ +---+ +---+ |\n * | initialize close |\n * +-----------------------------------------+\n * </pre>\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n * Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n * content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n * to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM updates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n * when the wrapped process is completed, or has failed.\n *\n * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar Mixin = {\n /**\n * Sets up this instance so that it is prepared for collecting metrics. Does\n * so such that this setup method may be used on an instance that is already\n * initialized, in a way that does not consume additional memory upon reuse.\n * That can be useful if you decide to make your subclass of this mixin a\n * \"PooledClass\".\n */\n reinitializeTransaction: function () {\n this.transactionWrappers = this.getTransactionWrappers();\n if (this.wrapperInitData) {\n this.wrapperInitData.length = 0;\n } else {\n this.wrapperInitData = [];\n }\n this._isInTransaction = false;\n },\n\n _isInTransaction: false,\n\n /**\n * @abstract\n * @return {Array<TransactionWrapper>} Array of transaction wrappers.\n */\n getTransactionWrappers: null,\n\n isInTransaction: function () {\n return !!this._isInTransaction;\n },\n\n /**\n * Executes the function within a safety window. Use this for the top level\n * methods that result in large amounts of computation/mutations that would\n * need to be safety checked. The optional arguments helps prevent the need\n * to bind in many cases.\n *\n * @param {function} method Member of scope to call.\n * @param {Object} scope Scope to invoke from.\n * @param {Object?=} a Argument to pass to the method.\n * @param {Object?=} b Argument to pass to the method.\n * @param {Object?=} c Argument to pass to the method.\n * @param {Object?=} d Argument to pass to the method.\n * @param {Object?=} e Argument to pass to the method.\n * @param {Object?=} f Argument to pass to the method.\n *\n * @return {*} Return value from `method`.\n */\n perform: function (method, scope, a, b, c, d, e, f) {\n !!this.isInTransaction() ? false ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there ' + 'is already an outstanding transaction.') : invariant(false) : undefined;\n var errorThrown;\n var ret;\n try {\n this._isInTransaction = true;\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // one of these calls threw.\n errorThrown = true;\n this.initializeAll(0);\n ret = method.call(scope, a, b, c, d, e, f);\n errorThrown = false;\n } finally {\n try {\n if (errorThrown) {\n // If `method` throws, prefer to show that stack trace over any thrown\n // by invoking `closeAll`.\n try {\n this.closeAll(0);\n } catch (err) {}\n } else {\n // Since `method` didn't throw, we don't want to silence the exception\n // here.\n this.closeAll(0);\n }\n } finally {\n this._isInTransaction = false;\n }\n }\n return ret;\n },\n\n initializeAll: function (startIndex) {\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n try {\n // Catching errors makes debugging more difficult, so we start with the\n // OBSERVED_ERROR state before overwriting it with the real return value\n // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n // block, it means wrapper.initialize threw.\n this.wrapperInitData[i] = Transaction.OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === Transaction.OBSERVED_ERROR) {\n // The initializer for wrapper i threw an error; initialize the\n // remaining wrappers but silence any exceptions from them to ensure\n // that the first error is the one to bubble up.\n try {\n this.initializeAll(i + 1);\n } catch (err) {}\n }\n }\n }\n },\n\n /**\n * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n * them the respective return values of `this.transactionWrappers.init[i]`\n * (`close`rs that correspond to initializers that failed will not be\n * invoked).\n */\n closeAll: function (startIndex) {\n !this.isInTransaction() ? false ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : invariant(false) : undefined;\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n var initData = this.wrapperInitData[i];\n var errorThrown;\n try {\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // wrapper.close threw.\n errorThrown = true;\n if (initData !== Transaction.OBSERVED_ERROR && wrapper.close) {\n wrapper.close.call(this, initData);\n }\n errorThrown = false;\n } finally {\n if (errorThrown) {\n // The closer for wrapper i threw an error; close the remaining\n // wrappers but silence any exceptions from them to ensure that the\n // first error is the one to bubble up.\n try {\n this.closeAll(i + 1);\n } catch (e) {}\n }\n }\n }\n this.wrapperInitData.length = 0;\n }\n};\n\nvar Transaction = {\n\n Mixin: Mixin,\n\n /**\n * Token to look for to determine if an error occurred.\n */\n OBSERVED_ERROR: {}\n\n};\n\nmodule.exports = Transaction;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/Transaction.js\n ** module id = 56\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/Transaction.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule emptyObject\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (false) {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/emptyObject.js\n ** module id = 57\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/emptyObject.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule containsNode\n * @typechecks\n */\n\n'use strict';\n\nvar isTextNode = __webpack_require__(59);\n\n/*eslint-disable no-bitwise */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n *\n * @param {?DOMNode} outerNode Outer DOM node.\n * @param {?DOMNode} innerNode Inner DOM node.\n * @return {boolean} True if `outerNode` contains or is `innerNode`.\n */\nfunction containsNode(_x, _x2) {\n var _again = true;\n\n _function: while (_again) {\n var outerNode = _x,\n innerNode = _x2;\n _again = false;\n\n if (!outerNode || !innerNode) {\n return false;\n } else if (outerNode === innerNode) {\n return true;\n } else if (isTextNode(outerNode)) {\n return false;\n } else if (isTextNode(innerNode)) {\n _x = outerNode;\n _x2 = innerNode.parentNode;\n _again = true;\n continue _function;\n } else if (outerNode.contains) {\n return outerNode.contains(innerNode);\n } else if (outerNode.compareDocumentPosition) {\n return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n } else {\n return false;\n }\n }\n}\n\nmodule.exports = containsNode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/containsNode.js\n ** module id = 58\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/containsNode.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isTextNode\n * @typechecks\n */\n\n'use strict';\n\nvar isNode = __webpack_require__(60);\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/isTextNode.js\n ** module id = 59\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/isTextNode.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isNode\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\n'use strict';\n\nfunction isNode(object) {\n return !!(object && (typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nmodule.exports = isNode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/isNode.js\n ** module id = 60\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/isNode.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule instantiateReactComponent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactCompositeComponent = __webpack_require__(62);\nvar ReactEmptyComponent = __webpack_require__(67);\nvar ReactNativeComponent = __webpack_require__(68);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\n// To avoid a cyclic dependency, we create the final class in this module\nvar ReactCompositeComponentWrapper = function () {};\nassign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent.Mixin, {\n _instantiateReactComponent: instantiateReactComponent\n});\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Check if the type reference is a known internal type. I.e. not a user\n * provided composite type.\n *\n * @param {function} type\n * @return {boolean} Returns true if this is a valid internal type.\n */\nfunction isInternalComponentType(type) {\n return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';\n}\n\n/**\n * Given a ReactNode, create an instance that will actually be mounted.\n *\n * @param {ReactNode} node\n * @return {object} A new instance of the element's constructor.\n * @protected\n */\nfunction instantiateReactComponent(node) {\n var instance;\n\n if (node === null || node === false) {\n instance = new ReactEmptyComponent(instantiateReactComponent);\n } else if (typeof node === 'object') {\n var element = node;\n !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? false ? invariant(false, 'Element type is invalid: expected a string (for built-in components) ' + 'or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : invariant(false) : undefined;\n\n // Special case string values\n if (typeof element.type === 'string') {\n instance = ReactNativeComponent.createInternalComponent(element);\n } else if (isInternalComponentType(element.type)) {\n // This is temporarily available for custom components that are not string\n // representations. I.e. ART. Once those are updated to use the string\n // representation, we can drop this code path.\n instance = new element.type(element);\n } else {\n instance = new ReactCompositeComponentWrapper();\n }\n } else if (typeof node === 'string' || typeof node === 'number') {\n instance = ReactNativeComponent.createInstanceForText(node);\n } else {\n true ? false ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : invariant(false) : undefined;\n }\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(typeof instance.construct === 'function' && typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : undefined;\n }\n\n // Sets up the instance. This can probably just move into the constructor now.\n instance.construct(node);\n\n // These two fields are used by the DOM and ART diffing algorithms\n // respectively. Instead of using expandos on components, we should be\n // storing the state needed by the diffing algorithms elsewhere.\n instance._mountIndex = 0;\n instance._mountImage = null;\n\n if (false) {\n instance._isOwnerNecessary = false;\n instance._warnedAboutRefsInRender = false;\n }\n\n // Internal instances should fully constructed at this point, so they should\n // not get any new fields added to them at this point.\n if (false) {\n if (Object.preventExtensions) {\n Object.preventExtensions(instance);\n }\n }\n\n return instance;\n}\n\nmodule.exports = instantiateReactComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/instantiateReactComponent.js\n ** module id = 61\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/instantiateReactComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactCompositeComponent\n */\n\n'use strict';\n\nvar ReactComponentEnvironment = __webpack_require__(63);\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactElement = __webpack_require__(41);\nvar ReactInstanceMap = __webpack_require__(46);\nvar ReactPerf = __webpack_require__(17);\nvar ReactPropTypeLocations = __webpack_require__(64);\nvar ReactPropTypeLocationNames = __webpack_require__(65);\nvar ReactReconciler = __webpack_require__(49);\nvar ReactUpdateQueue = __webpack_require__(52);\n\nvar assign = __webpack_require__(38);\nvar emptyObject = __webpack_require__(57);\nvar invariant = __webpack_require__(12);\nvar shouldUpdateReactComponent = __webpack_require__(66);\nvar warning = __webpack_require__(24);\n\nfunction getDeclarationErrorAddendum(component) {\n var owner = component._currentElement._owner || null;\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nfunction StatelessComponent(Component) {}\nStatelessComponent.prototype.render = function () {\n var Component = ReactInstanceMap.get(this)._currentElement.type;\n return Component(this.props, this.context, this.updater);\n};\n\n/**\n * ------------------ The Life-Cycle of a Composite Component ------------------\n *\n * - constructor: Initialization of state. The instance is now retained.\n * - componentWillMount\n * - render\n * - [children's constructors]\n * - [children's componentWillMount and render]\n * - [children's componentDidMount]\n * - componentDidMount\n *\n * Update Phases:\n * - componentWillReceiveProps (only called if parent updated)\n * - shouldComponentUpdate\n * - componentWillUpdate\n * - render\n * - [children's constructors or receive props phases]\n * - componentDidUpdate\n *\n * - componentWillUnmount\n * - [children's componentWillUnmount]\n * - [children destroyed]\n * - (destroyed): The instance is now blank, released by React and ready for GC.\n *\n * -----------------------------------------------------------------------------\n */\n\n/**\n * An incrementing ID assigned to each component when it is mounted. This is\n * used to enforce the order in which `ReactUpdates` updates dirty components.\n *\n * @private\n */\nvar nextMountID = 1;\n\n/**\n * @lends {ReactCompositeComponent.prototype}\n */\nvar ReactCompositeComponentMixin = {\n\n /**\n * Base constructor for all composite component.\n *\n * @param {ReactElement} element\n * @final\n * @internal\n */\n construct: function (element) {\n this._currentElement = element;\n this._rootNodeID = null;\n this._instance = null;\n\n // See ReactUpdateQueue\n this._pendingElement = null;\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n this._renderedComponent = null;\n\n this._context = null;\n this._mountOrder = 0;\n this._topLevelWrapper = null;\n\n // See ReactUpdates and ReactUpdateQueue.\n this._pendingCallbacks = null;\n },\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {string} rootID DOM ID of the root node.\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (rootID, transaction, context) {\n this._context = context;\n this._mountOrder = nextMountID++;\n this._rootNodeID = rootID;\n\n var publicProps = this._processProps(this._currentElement.props);\n var publicContext = this._processContext(context);\n\n var Component = this._currentElement.type;\n\n // Initialize the public class\n var inst;\n var renderedElement;\n\n // This is a way to detect if Component is a stateless arrow function\n // component, which is not newable. It might not be 100% reliable but is\n // something we can do until we start detecting that Component extends\n // React.Component. We already assume that typeof Component === 'function'.\n var canInstantiate = ('prototype' in Component);\n\n if (canInstantiate) {\n if (false) {\n ReactCurrentOwner.current = this;\n try {\n inst = new Component(publicProps, publicContext, ReactUpdateQueue);\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n inst = new Component(publicProps, publicContext, ReactUpdateQueue);\n }\n }\n\n if (!canInstantiate || inst === null || inst === false || ReactElement.isValidElement(inst)) {\n renderedElement = inst;\n inst = new StatelessComponent(Component);\n }\n\n if (false) {\n // This will throw later in _renderValidatedComponent, but add an early\n // warning now to help debugging\n if (inst.render == null) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`, returned ' + 'null/false from a stateless component, or tried to render an ' + 'element whose type is a function that isn\\'t a React component.', Component.displayName || Component.name || 'Component') : undefined;\n } else {\n // We support ES6 inheriting from React.Component, the module pattern,\n // and stateless components, but not ES6 classes that don't extend\n process.env.NODE_ENV !== 'production' ? warning(Component.prototype && Component.prototype.isReactComponent || !canInstantiate || !(inst instanceof Component), '%s(...): React component classes must extend React.Component.', Component.displayName || Component.name || 'Component') : undefined;\n }\n }\n\n // These should be set up in the constructor, but as a convenience for\n // simpler class abstractions, we set them up after the fact.\n inst.props = publicProps;\n inst.context = publicContext;\n inst.refs = emptyObject;\n inst.updater = ReactUpdateQueue;\n\n this._instance = inst;\n\n // Store a reference from the instance back to the internal representation\n ReactInstanceMap.set(inst, this);\n\n if (false) {\n // Since plain JS classes are defined without any special initialization\n // logic, we can not catch common errors early. Therefore, we have to\n // catch them here, at initialization time, instead.\n process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : undefined;\n }\n\n var initialState = inst.state;\n if (initialState === undefined) {\n inst.state = initialState = null;\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;\n\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n if (inst.componentWillMount) {\n inst.componentWillMount();\n // When mounting, calls to `setState` by `componentWillMount` will set\n // `this._pendingStateQueue` without triggering a re-render.\n if (this._pendingStateQueue) {\n inst.state = this._processPendingState(inst.props, inst.context);\n }\n }\n\n // If not a stateless component, we now render\n if (renderedElement === undefined) {\n renderedElement = this._renderValidatedComponent();\n }\n\n this._renderedComponent = this._instantiateReactComponent(renderedElement);\n\n var markup = ReactReconciler.mountComponent(this._renderedComponent, rootID, transaction, this._processChildContext(context));\n if (inst.componentDidMount) {\n transaction.getReactMountReady().enqueue(inst.componentDidMount, inst);\n }\n\n return markup;\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function () {\n var inst = this._instance;\n\n if (inst.componentWillUnmount) {\n inst.componentWillUnmount();\n }\n\n ReactReconciler.unmountComponent(this._renderedComponent);\n this._renderedComponent = null;\n this._instance = null;\n\n // Reset pending fields\n // Even if this component is scheduled for another update in ReactUpdates,\n // it would still be ignored because these fields are reset.\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n this._pendingCallbacks = null;\n this._pendingElement = null;\n\n // These fields do not really need to be reset since this object is no\n // longer accessible.\n this._context = null;\n this._rootNodeID = null;\n this._topLevelWrapper = null;\n\n // Delete the reference from the instance to this internal representation\n // which allow the internals to be properly cleaned up even if the user\n // leaks a reference to the public instance.\n ReactInstanceMap.remove(inst);\n\n // Some existing components rely on inst.props even after they've been\n // destroyed (in event handlers).\n // TODO: inst.props = null;\n // TODO: inst.state = null;\n // TODO: inst.context = null;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _maskContext: function (context) {\n var maskedContext = null;\n var Component = this._currentElement.type;\n var contextTypes = Component.contextTypes;\n if (!contextTypes) {\n return emptyObject;\n }\n maskedContext = {};\n for (var contextName in contextTypes) {\n maskedContext[contextName] = context[contextName];\n }\n return maskedContext;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`, and asserts that they are valid.\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _processContext: function (context) {\n var maskedContext = this._maskContext(context);\n if (false) {\n var Component = this._currentElement.type;\n if (Component.contextTypes) {\n this._checkPropTypes(Component.contextTypes, maskedContext, ReactPropTypeLocations.context);\n }\n }\n return maskedContext;\n },\n\n /**\n * @param {object} currentContext\n * @return {object}\n * @private\n */\n _processChildContext: function (currentContext) {\n var Component = this._currentElement.type;\n var inst = this._instance;\n var childContext = inst.getChildContext && inst.getChildContext();\n if (childContext) {\n !(typeof Component.childContextTypes === 'object') ? false ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;\n if (false) {\n this._checkPropTypes(Component.childContextTypes, childContext, ReactPropTypeLocations.childContext);\n }\n for (var name in childContext) {\n !(name in Component.childContextTypes) ? false ? invariant(false, '%s.getChildContext(): key \"%s\" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : invariant(false) : undefined;\n }\n return assign({}, currentContext, childContext);\n }\n return currentContext;\n },\n\n /**\n * Processes props by setting default values for unspecified props and\n * asserting that the props are valid. Does not mutate its argument; returns\n * a new props object with defaults merged in.\n *\n * @param {object} newProps\n * @return {object}\n * @private\n */\n _processProps: function (newProps) {\n if (false) {\n var Component = this._currentElement.type;\n if (Component.propTypes) {\n this._checkPropTypes(Component.propTypes, newProps, ReactPropTypeLocations.prop);\n }\n }\n return newProps;\n },\n\n /**\n * Assert that the props are valid\n *\n * @param {object} propTypes Map of prop name to a ReactPropType\n * @param {object} props\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @private\n */\n _checkPropTypes: function (propTypes, props, location) {\n // TODO: Stop validating prop types here and only use the element\n // validation.\n var componentName = this.getName();\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error;\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n !(typeof propTypes[propName] === 'function') ? false ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually ' + 'from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;\n error = propTypes[propName](props, propName, componentName, location);\n } catch (ex) {\n error = ex;\n }\n if (error instanceof Error) {\n // We may want to extend this logic for similar errors in\n // top-level render calls, so I'm abstracting it away into\n // a function to minimize refactoring in the future\n var addendum = getDeclarationErrorAddendum(this);\n\n if (location === ReactPropTypeLocations.prop) {\n // Preface gives us something to blacklist in warning module\n false ? warning(false, 'Failed Composite propType: %s%s', error.message, addendum) : undefined;\n } else {\n false ? warning(false, 'Failed Context Types: %s%s', error.message, addendum) : undefined;\n }\n }\n }\n }\n },\n\n receiveComponent: function (nextElement, transaction, nextContext) {\n var prevElement = this._currentElement;\n var prevContext = this._context;\n\n this._pendingElement = null;\n\n this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext);\n },\n\n /**\n * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`\n * is set, update the component.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (transaction) {\n if (this._pendingElement != null) {\n ReactReconciler.receiveComponent(this, this._pendingElement || this._currentElement, transaction, this._context);\n }\n\n if (this._pendingStateQueue !== null || this._pendingForceUpdate) {\n this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context);\n }\n },\n\n /**\n * Perform an update to a mounted component. The componentWillReceiveProps and\n * shouldComponentUpdate methods are called, then (assuming the update isn't\n * skipped) the remaining update lifecycle methods are called and the DOM\n * representation is updated.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevParentElement\n * @param {ReactElement} nextParentElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) {\n var inst = this._instance;\n\n var nextContext = this._context === nextUnmaskedContext ? inst.context : this._processContext(nextUnmaskedContext);\n var nextProps;\n\n // Distinguish between a props update versus a simple state update\n if (prevParentElement === nextParentElement) {\n // Skip checking prop types again -- we don't read inst.props to avoid\n // warning for DOM component props in this upgrade\n nextProps = nextParentElement.props;\n } else {\n nextProps = this._processProps(nextParentElement.props);\n // An update here will schedule an update but immediately set\n // _pendingStateQueue which will ensure that any state updates gets\n // immediately reconciled instead of waiting for the next batch.\n\n if (inst.componentWillReceiveProps) {\n inst.componentWillReceiveProps(nextProps, nextContext);\n }\n }\n\n var nextState = this._processPendingState(nextProps, nextContext);\n\n var shouldUpdate = this._pendingForceUpdate || !inst.shouldComponentUpdate || inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(typeof shouldUpdate !== 'undefined', '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : undefined;\n }\n\n if (shouldUpdate) {\n this._pendingForceUpdate = false;\n // Will set `this.props`, `this.state` and `this.context`.\n this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext);\n } else {\n // If it's determined that a component should not update, we still want\n // to set props and state but we shortcut the rest of the update.\n this._currentElement = nextParentElement;\n this._context = nextUnmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n }\n },\n\n _processPendingState: function (props, context) {\n var inst = this._instance;\n var queue = this._pendingStateQueue;\n var replace = this._pendingReplaceState;\n this._pendingReplaceState = false;\n this._pendingStateQueue = null;\n\n if (!queue) {\n return inst.state;\n }\n\n if (replace && queue.length === 1) {\n return queue[0];\n }\n\n var nextState = assign({}, replace ? queue[0] : inst.state);\n for (var i = replace ? 1 : 0; i < queue.length; i++) {\n var partial = queue[i];\n assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial);\n }\n\n return nextState;\n },\n\n /**\n * Merges new props and state, notifies delegate methods of update and\n * performs update.\n *\n * @param {ReactElement} nextElement Next element\n * @param {object} nextProps Next public object to set as properties.\n * @param {?object} nextState Next object to set as state.\n * @param {?object} nextContext Next public object to set as context.\n * @param {ReactReconcileTransaction} transaction\n * @param {?object} unmaskedContext\n * @private\n */\n _performComponentUpdate: function (nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) {\n var inst = this._instance;\n\n var hasComponentDidUpdate = Boolean(inst.componentDidUpdate);\n var prevProps;\n var prevState;\n var prevContext;\n if (hasComponentDidUpdate) {\n prevProps = inst.props;\n prevState = inst.state;\n prevContext = inst.context;\n }\n\n if (inst.componentWillUpdate) {\n inst.componentWillUpdate(nextProps, nextState, nextContext);\n }\n\n this._currentElement = nextElement;\n this._context = unmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n\n this._updateRenderedComponent(transaction, unmaskedContext);\n\n if (hasComponentDidUpdate) {\n transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst);\n }\n },\n\n /**\n * Call the component's `render` method and update the DOM accordingly.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n _updateRenderedComponent: function (transaction, context) {\n var prevComponentInstance = this._renderedComponent;\n var prevRenderedElement = prevComponentInstance._currentElement;\n var nextRenderedElement = this._renderValidatedComponent();\n if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) {\n ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context));\n } else {\n // These two IDs are actually the same! But nothing should rely on that.\n var thisID = this._rootNodeID;\n var prevComponentID = prevComponentInstance._rootNodeID;\n ReactReconciler.unmountComponent(prevComponentInstance);\n\n this._renderedComponent = this._instantiateReactComponent(nextRenderedElement);\n var nextMarkup = ReactReconciler.mountComponent(this._renderedComponent, thisID, transaction, this._processChildContext(context));\n this._replaceNodeWithMarkupByID(prevComponentID, nextMarkup);\n }\n },\n\n /**\n * @protected\n */\n _replaceNodeWithMarkupByID: function (prevComponentID, nextMarkup) {\n ReactComponentEnvironment.replaceNodeWithMarkupByID(prevComponentID, nextMarkup);\n },\n\n /**\n * @protected\n */\n _renderValidatedComponentWithoutOwnerOrContext: function () {\n var inst = this._instance;\n var renderedComponent = inst.render();\n if (false) {\n // We allow auto-mocks to proceed as if they're returning null.\n if (typeof renderedComponent === 'undefined' && inst.render._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n renderedComponent = null;\n }\n }\n\n return renderedComponent;\n },\n\n /**\n * @private\n */\n _renderValidatedComponent: function () {\n var renderedComponent;\n ReactCurrentOwner.current = this;\n try {\n renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();\n } finally {\n ReactCurrentOwner.current = null;\n }\n !(\n // TODO: An `isValidNode` function would probably be more appropriate\n renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? false ? invariant(false, '%s.render(): A valid ReactComponent must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : invariant(false) : undefined;\n return renderedComponent;\n },\n\n /**\n * Lazily allocates the refs object and stores `component` as `ref`.\n *\n * @param {string} ref Reference name.\n * @param {component} component Component to store as `ref`.\n * @final\n * @private\n */\n attachRef: function (ref, component) {\n var inst = this.getPublicInstance();\n !(inst != null) ? false ? invariant(false, 'Stateless function components cannot have refs.') : invariant(false) : undefined;\n var publicComponentInstance = component.getPublicInstance();\n if (false) {\n var componentName = component && component.getName ? component.getName() : 'a component';\n process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null, 'Stateless function components cannot be given refs ' + '(See ref \"%s\" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : undefined;\n }\n var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;\n refs[ref] = publicComponentInstance;\n },\n\n /**\n * Detaches a reference name.\n *\n * @param {string} ref Name to dereference.\n * @final\n * @private\n */\n detachRef: function (ref) {\n var refs = this.getPublicInstance().refs;\n delete refs[ref];\n },\n\n /**\n * Get a text description of the component that can be used to identify it\n * in error messages.\n * @return {string} The name or null.\n * @internal\n */\n getName: function () {\n var type = this._currentElement.type;\n var constructor = this._instance && this._instance.constructor;\n return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null;\n },\n\n /**\n * Get the publicly accessible representation of this component - i.e. what\n * is exposed by refs and returned by render. Can be null for stateless\n * components.\n *\n * @return {ReactComponent} the public component instance.\n * @internal\n */\n getPublicInstance: function () {\n var inst = this._instance;\n if (inst instanceof StatelessComponent) {\n return null;\n }\n return inst;\n },\n\n // Stub\n _instantiateReactComponent: null\n\n};\n\nReactPerf.measureMethods(ReactCompositeComponentMixin, 'ReactCompositeComponent', {\n mountComponent: 'mountComponent',\n updateComponent: 'updateComponent',\n _renderValidatedComponent: '_renderValidatedComponent'\n});\n\nvar ReactCompositeComponent = {\n\n Mixin: ReactCompositeComponentMixin\n\n};\n\nmodule.exports = ReactCompositeComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactCompositeComponent.js\n ** module id = 62\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactCompositeComponent.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponentEnvironment\n */\n\n'use strict';\n\nvar invariant = __webpack_require__(12);\n\nvar injected = false;\n\nvar ReactComponentEnvironment = {\n\n /**\n * Optionally injectable environment dependent cleanup hook. (server vs.\n * browser etc). Example: A browser system caches DOM nodes based on component\n * ID and must remove that cache entry when this instance is unmounted.\n */\n unmountIDFromEnvironment: null,\n\n /**\n * Optionally injectable hook for swapping out mount images in the middle of\n * the tree.\n */\n replaceNodeWithMarkupByID: null,\n\n /**\n * Optionally injectable hook for processing a queue of child updates. Will\n * later move into MultiChildComponents.\n */\n processChildrenUpdates: null,\n\n injection: {\n injectEnvironment: function (environment) {\n !!injected ? false ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : invariant(false) : undefined;\n ReactComponentEnvironment.unmountIDFromEnvironment = environment.unmountIDFromEnvironment;\n ReactComponentEnvironment.replaceNodeWithMarkupByID = environment.replaceNodeWithMarkupByID;\n ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n injected = true;\n }\n }\n\n};\n\nmodule.exports = ReactComponentEnvironment;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponentEnvironment.js\n ** module id = 63\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactComponentEnvironment.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypeLocations\n */\n\n'use strict';\n\nvar keyMirror = __webpack_require__(16);\n\nvar ReactPropTypeLocations = keyMirror({\n prop: null,\n context: null,\n childContext: null\n});\n\nmodule.exports = ReactPropTypeLocations;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypeLocations.js\n ** module id = 64\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypeLocations.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypeLocationNames\n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (false) {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypeLocationNames.js\n ** module id = 65\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypeLocationNames.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule shouldUpdateReactComponent\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Given a `prevElement` and `nextElement`, determines if the existing\n * instance should be updated as opposed to being destroyed or replaced by a new\n * instance. Both arguments are elements. This ensures that this logic can\n * operate on stateless trees without any backing instance.\n *\n * @param {?object} prevElement\n * @param {?object} nextElement\n * @return {boolean} True if the existing instance should be updated.\n * @protected\n */\nfunction shouldUpdateReactComponent(prevElement, nextElement) {\n var prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n if (prevEmpty || nextEmpty) {\n return prevEmpty === nextEmpty;\n }\n\n var prevType = typeof prevElement;\n var nextType = typeof nextElement;\n if (prevType === 'string' || prevType === 'number') {\n return nextType === 'string' || nextType === 'number';\n } else {\n return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n }\n return false;\n}\n\nmodule.exports = shouldUpdateReactComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/shouldUpdateReactComponent.js\n ** module id = 66\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/shouldUpdateReactComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactEmptyComponent\n */\n\n'use strict';\n\nvar ReactElement = __webpack_require__(41);\nvar ReactEmptyComponentRegistry = __webpack_require__(43);\nvar ReactReconciler = __webpack_require__(49);\n\nvar assign = __webpack_require__(38);\n\nvar placeholderElement;\n\nvar ReactEmptyComponentInjection = {\n injectEmptyComponent: function (component) {\n placeholderElement = ReactElement.createElement(component);\n }\n};\n\nfunction registerNullComponentID() {\n ReactEmptyComponentRegistry.registerNullComponentID(this._rootNodeID);\n}\n\nvar ReactEmptyComponent = function (instantiate) {\n this._currentElement = null;\n this._rootNodeID = null;\n this._renderedComponent = instantiate(placeholderElement);\n};\nassign(ReactEmptyComponent.prototype, {\n construct: function (element) {},\n mountComponent: function (rootID, transaction, context) {\n transaction.getReactMountReady().enqueue(registerNullComponentID, this);\n this._rootNodeID = rootID;\n return ReactReconciler.mountComponent(this._renderedComponent, rootID, transaction, context);\n },\n receiveComponent: function () {},\n unmountComponent: function (rootID, transaction, context) {\n ReactReconciler.unmountComponent(this._renderedComponent);\n ReactEmptyComponentRegistry.deregisterNullComponentID(this._rootNodeID);\n this._rootNodeID = null;\n this._renderedComponent = null;\n }\n});\n\nReactEmptyComponent.injection = ReactEmptyComponentInjection;\n\nmodule.exports = ReactEmptyComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactEmptyComponent.js\n ** module id = 67\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactEmptyComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactNativeComponent\n */\n\n'use strict';\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\n\nvar autoGenerateWrapperClass = null;\nvar genericComponentClass = null;\n// This registry keeps track of wrapper classes around native tags.\nvar tagToComponentClass = {};\nvar textComponentClass = null;\n\nvar ReactNativeComponentInjection = {\n // This accepts a class that receives the tag string. This is a catch all\n // that can render any kind of tag.\n injectGenericComponentClass: function (componentClass) {\n genericComponentClass = componentClass;\n },\n // This accepts a text component class that takes the text string to be\n // rendered as props.\n injectTextComponentClass: function (componentClass) {\n textComponentClass = componentClass;\n },\n // This accepts a keyed object with classes as values. Each key represents a\n // tag. That particular tag will use this class instead of the generic one.\n injectComponentClasses: function (componentClasses) {\n assign(tagToComponentClass, componentClasses);\n }\n};\n\n/**\n * Get a composite component wrapper class for a specific tag.\n *\n * @param {ReactElement} element The tag for which to get the class.\n * @return {function} The React class constructor function.\n */\nfunction getComponentClassForElement(element) {\n if (typeof element.type === 'function') {\n return element.type;\n }\n var tag = element.type;\n var componentClass = tagToComponentClass[tag];\n if (componentClass == null) {\n tagToComponentClass[tag] = componentClass = autoGenerateWrapperClass(tag);\n }\n return componentClass;\n}\n\n/**\n * Get a native internal component class for a specific tag.\n *\n * @param {ReactElement} element The element to create.\n * @return {function} The internal class constructor function.\n */\nfunction createInternalComponent(element) {\n !genericComponentClass ? false ? invariant(false, 'There is no registered component for the tag %s', element.type) : invariant(false) : undefined;\n return new genericComponentClass(element.type, element.props);\n}\n\n/**\n * @param {ReactText} text\n * @return {ReactComponent}\n */\nfunction createInstanceForText(text) {\n return new textComponentClass(text);\n}\n\n/**\n * @param {ReactComponent} component\n * @return {boolean}\n */\nfunction isTextComponent(component) {\n return component instanceof textComponentClass;\n}\n\nvar ReactNativeComponent = {\n getComponentClassForElement: getComponentClassForElement,\n createInternalComponent: createInternalComponent,\n createInstanceForText: createInstanceForText,\n isTextComponent: isTextComponent,\n injection: ReactNativeComponentInjection\n};\n\nmodule.exports = ReactNativeComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactNativeComponent.js\n ** module id = 68\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactNativeComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule validateDOMNesting\n */\n\n'use strict';\n\nvar assign = __webpack_require__(38);\nvar emptyFunction = __webpack_require__(14);\nvar warning = __webpack_require__(24);\n\nvar validateDOMNesting = emptyFunction;\n\nif (false) {\n // This validation code was written based on the HTML5 parsing spec:\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n //\n // Note: this does not catch all invalid nesting, nor does it try to (as it's\n // not clear what practical benefit doing so provides); instead, we warn only\n // for cases where the parser will give a parse tree differing from what React\n // intended. For example, <b><div></div></b> is invalid but we don't warn\n // because it still parses correctly; we do warn for other cases like nested\n // <p> tags where the beginning of the second element implicitly closes the\n // first, causing a confusing mess.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#special\n 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'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\n // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n // TODO: Distinguish by namespace here -- for <title>, including it here\n // errs on the side of fewer warnings\n 'foreignObject', 'desc', 'title'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n var buttonScopeTags = inScopeTags.concat(['button']);\n\n // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\n var emptyAncestorInfo = {\n parentTag: null,\n\n formTag: null,\n aTagInScope: null,\n buttonTagInScope: null,\n nobrTagInScope: null,\n pTagInButtonScope: null,\n\n listItemTagAutoclosing: null,\n dlItemTagAutoclosing: null\n };\n\n var updatedAncestorInfo = function (oldInfo, tag, instance) {\n var ancestorInfo = assign({}, oldInfo || emptyAncestorInfo);\n var info = { tag: tag, instance: instance };\n\n if (inScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.aTagInScope = null;\n ancestorInfo.buttonTagInScope = null;\n ancestorInfo.nobrTagInScope = null;\n }\n if (buttonScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.pTagInButtonScope = null;\n }\n\n // See rules for 'li', 'dd', 'dt' start tags in\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n ancestorInfo.listItemTagAutoclosing = null;\n ancestorInfo.dlItemTagAutoclosing = null;\n }\n\n ancestorInfo.parentTag = info;\n\n if (tag === 'form') {\n ancestorInfo.formTag = info;\n }\n if (tag === 'a') {\n ancestorInfo.aTagInScope = info;\n }\n if (tag === 'button') {\n ancestorInfo.buttonTagInScope = info;\n }\n if (tag === 'nobr') {\n ancestorInfo.nobrTagInScope = info;\n }\n if (tag === 'p') {\n ancestorInfo.pTagInButtonScope = info;\n }\n if (tag === 'li') {\n ancestorInfo.listItemTagAutoclosing = info;\n }\n if (tag === 'dd' || tag === 'dt') {\n ancestorInfo.dlItemTagAutoclosing = info;\n }\n\n return ancestorInfo;\n };\n\n /**\n * Returns whether\n */\n var isTagValidWithParent = function (tag, parentTag) {\n // First, let's check if we're in an unusual parsing mode...\n switch (parentTag) {\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n case 'select':\n return tag === 'option' || tag === 'optgroup' || tag === '#text';\n case 'optgroup':\n return tag === 'option' || tag === '#text';\n // Strictly speaking, seeing an <option> doesn't mean we're in a <select>\n // but\n case 'option':\n return tag === '#text';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n // No special behavior since these rules fall back to \"in body\" mode for\n // all except special table nodes which cause bad parsing behavior anyway.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n case 'tr':\n return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n case 'tbody':\n case 'thead':\n case 'tfoot':\n return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n case 'colgroup':\n return tag === 'col' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n case 'table':\n return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n case 'head':\n return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n case 'html':\n return tag === 'head' || tag === 'body';\n }\n\n // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n // where the parsing rules cause implicit opens or closes to be added.\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n switch (tag) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\n case 'rp':\n case 'rt':\n return impliedEndTags.indexOf(parentTag) === -1;\n\n case 'caption':\n case 'col':\n case 'colgroup':\n case 'frame':\n case 'head':\n case 'tbody':\n case 'td':\n case 'tfoot':\n case 'th':\n case 'thead':\n case 'tr':\n // These tags are only valid with a few parents that have special child\n // parsing rules -- if we're down here, then none of those matched and\n // so we allow it only if we don't know what the parent is, as all other\n // cases are invalid.\n return parentTag == null;\n }\n\n return true;\n };\n\n /**\n * Returns whether\n */\n var findInvalidAncestorForTag = function (tag, ancestorInfo) {\n switch (tag) {\n case 'address':\n case 'article':\n case 'aside':\n case 'blockquote':\n case 'center':\n case 'details':\n case 'dialog':\n case 'dir':\n case 'div':\n case 'dl':\n case 'fieldset':\n case 'figcaption':\n case 'figure':\n case 'footer':\n case 'header':\n case 'hgroup':\n case 'main':\n case 'menu':\n case 'nav':\n case 'ol':\n case 'p':\n case 'section':\n case 'summary':\n case 'ul':\n\n case 'pre':\n case 'listing':\n\n case 'table':\n\n case 'hr':\n\n case 'xmp':\n\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return ancestorInfo.pTagInButtonScope;\n\n case 'form':\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\n case 'li':\n return ancestorInfo.listItemTagAutoclosing;\n\n case 'dd':\n case 'dt':\n return ancestorInfo.dlItemTagAutoclosing;\n\n case 'button':\n return ancestorInfo.buttonTagInScope;\n\n case 'a':\n // Spec says something about storing a list of markers, but it sounds\n // equivalent to this check.\n return ancestorInfo.aTagInScope;\n\n case 'nobr':\n return ancestorInfo.nobrTagInScope;\n }\n\n return null;\n };\n\n /**\n * Given a ReactCompositeComponent instance, return a list of its recursive\n * owners, starting at the root and ending with the instance itself.\n */\n var findOwnerStack = function (instance) {\n if (!instance) {\n return [];\n }\n\n var stack = [];\n /*eslint-disable space-after-keywords */\n do {\n /*eslint-enable space-after-keywords */\n stack.push(instance);\n } while (instance = instance._currentElement._owner);\n stack.reverse();\n return stack;\n };\n\n var didWarn = {};\n\n validateDOMNesting = function (childTag, childInstance, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.parentTag;\n var parentTag = parentInfo && parentInfo.tag;\n\n var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n var problematic = invalidParent || invalidAncestor;\n\n if (problematic) {\n var ancestorTag = problematic.tag;\n var ancestorInstance = problematic.instance;\n\n var childOwner = childInstance && childInstance._currentElement._owner;\n var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\n var childOwners = findOwnerStack(childOwner);\n var ancestorOwners = findOwnerStack(ancestorOwner);\n\n var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n var i;\n\n var deepestCommon = -1;\n for (i = 0; i < minStackLen; i++) {\n if (childOwners[i] === ancestorOwners[i]) {\n deepestCommon = i;\n } else {\n break;\n }\n }\n\n var UNKNOWN = '(unknown)';\n var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ownerInfo = [].concat(\n // If the parent and child instances have a common owner ancestor, start\n // with that -- otherwise we just start with the parent's owners.\n deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n // If we're warning about an invalid (non-parent) ancestry, add '...'\n invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\n var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n if (didWarn[warnKey]) {\n return;\n }\n didWarn[warnKey] = true;\n\n if (invalidParent) {\n var info = '';\n if (ancestorTag === 'table' && childTag === 'tr') {\n info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';\n }\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a child of <%s>. ' + 'See %s.%s', childTag, ancestorTag, ownerInfo, info) : undefined;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): <%s> cannot appear as a descendant of ' + '<%s>. See %s.', childTag, ancestorTag, ownerInfo) : undefined;\n }\n }\n };\n\n validateDOMNesting.ancestorInfoContextKey = '__validateDOMNesting_ancestorInfo$' + Math.random().toString(36).slice(2);\n\n validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\n // For testing\n validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.parentTag;\n var parentTag = parentInfo && parentInfo.tag;\n return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n };\n}\n\nmodule.exports = validateDOMNesting;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/validateDOMNesting.js\n ** module id = 69\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/validateDOMNesting.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDefaultInjection\n */\n\n'use strict';\n\nvar BeforeInputEventPlugin = __webpack_require__(71);\nvar ChangeEventPlugin = __webpack_require__(79);\nvar ClientReactRootIndex = __webpack_require__(82);\nvar DefaultEventPluginOrder = __webpack_require__(83);\nvar EnterLeaveEventPlugin = __webpack_require__(84);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar HTMLDOMPropertyConfig = __webpack_require__(88);\nvar ReactBrowserComponentMixin = __webpack_require__(89);\nvar ReactComponentBrowserEnvironment = __webpack_require__(25);\nvar ReactDefaultBatchingStrategy = __webpack_require__(91);\nvar ReactDOMComponent = __webpack_require__(92);\nvar ReactDOMTextComponent = __webpack_require__(5);\nvar ReactEventListener = __webpack_require__(117);\nvar ReactInjection = __webpack_require__(120);\nvar ReactInstanceHandles = __webpack_require__(44);\nvar ReactMount = __webpack_require__(27);\nvar ReactReconcileTransaction = __webpack_require__(124);\nvar SelectEventPlugin = __webpack_require__(129);\nvar ServerReactRootIndex = __webpack_require__(130);\nvar SimpleEventPlugin = __webpack_require__(131);\nvar SVGDOMPropertyConfig = __webpack_require__(140);\n\nvar alreadyInjected = false;\n\nfunction inject() {\n if (alreadyInjected) {\n // TODO: This is currently true because these injections are shared between\n // the client and the server package. They should be built independently\n // and not share any injection state. Then this problem will be solved.\n return;\n }\n alreadyInjected = true;\n\n ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);\n\n /**\n * Inject modules for resolving DOM hierarchy and plugin ordering.\n */\n ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);\n ReactInjection.EventPluginHub.injectInstanceHandle(ReactInstanceHandles);\n ReactInjection.EventPluginHub.injectMount(ReactMount);\n\n /**\n * Some important event plugins included by default (without having to require\n * them).\n */\n ReactInjection.EventPluginHub.injectEventPluginsByName({\n SimpleEventPlugin: SimpleEventPlugin,\n EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n ChangeEventPlugin: ChangeEventPlugin,\n SelectEventPlugin: SelectEventPlugin,\n BeforeInputEventPlugin: BeforeInputEventPlugin\n });\n\n ReactInjection.NativeComponent.injectGenericComponentClass(ReactDOMComponent);\n\n ReactInjection.NativeComponent.injectTextComponentClass(ReactDOMTextComponent);\n\n ReactInjection.Class.injectMixin(ReactBrowserComponentMixin);\n\n ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);\n\n ReactInjection.EmptyComponent.injectEmptyComponent('noscript');\n\n ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);\n ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n\n ReactInjection.RootIndex.injectCreateReactRootIndex(ExecutionEnvironment.canUseDOM ? ClientReactRootIndex.createReactRootIndex : ServerReactRootIndex.createReactRootIndex);\n\n ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);\n\n if (false) {\n var url = ExecutionEnvironment.canUseDOM && window.location.href || '';\n if (/[?&]react_perf\\b/.test(url)) {\n var ReactDefaultPerf = require('./ReactDefaultPerf');\n ReactDefaultPerf.start();\n }\n }\n}\n\nmodule.exports = {\n inject: inject\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDefaultInjection.js\n ** module id = 70\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDefaultInjection.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015 Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule BeforeInputEventPlugin\n * @typechecks static-only\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPropagators = __webpack_require__(72);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar FallbackCompositionState = __webpack_require__(73);\nvar SyntheticCompositionEvent = __webpack_require__(75);\nvar SyntheticInputEvent = __webpack_require__(77);\n\nvar keyOf = __webpack_require__(78);\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;\n\nvar documentMode = null;\nif (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {\n documentMode = document.documentMode;\n}\n\n// Webkit offers a very useful `textInput` event that can be used to\n// directly represent `beforeInput`. The IE `textinput` event is not as\n// useful, so we don't use it.\nvar canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();\n\n// In IE9+, we have access to composition events, but the data supplied\n// by the native compositionend event may be incorrect. Japanese ideographic\n// spaces, for instance (\\u3000) are not recorded correctly.\nvar useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);\n\n/**\n * Opera <= 12 includes TextEvent in window, but does not fire\n * text input events. Rely on keypress instead.\n */\nfunction isPresto() {\n var opera = window.opera;\n return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;\n}\n\nvar SPACEBAR_CODE = 32;\nvar SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\n// Events and their corresponding property names.\nvar eventTypes = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onBeforeInput: null }),\n captured: keyOf({ onBeforeInputCapture: null })\n },\n dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste]\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionEnd: null }),\n captured: keyOf({ onCompositionEndCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionStart: null }),\n captured: keyOf({ onCompositionStartCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionUpdate: null }),\n captured: keyOf({ onCompositionUpdateCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n }\n};\n\n// Track whether we've ever handled a keypress on the space key.\nvar hasSpaceKeypress = false;\n\n/**\n * Return whether a native keypress event is assumed to be a command.\n * This is required because Firefox fires `keypress` events for key commands\n * (cut, copy, select-all, etc.) even though no character is inserted.\n */\nfunction isKeypressCommand(nativeEvent) {\n return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&\n // ctrlKey && altKey is equivalent to AltGr, and is not a command.\n !(nativeEvent.ctrlKey && nativeEvent.altKey);\n}\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n switch (topLevelType) {\n case topLevelTypes.topCompositionStart:\n return eventTypes.compositionStart;\n case topLevelTypes.topCompositionEnd:\n return eventTypes.compositionEnd;\n case topLevelTypes.topCompositionUpdate:\n return eventTypes.compositionUpdate;\n }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionStart(topLevelType, nativeEvent) {\n return topLevelType === topLevelTypes.topKeyDown && nativeEvent.keyCode === START_KEYCODE;\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionEnd(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case topLevelTypes.topKeyUp:\n // Command keys insert or clear IME input.\n return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n case topLevelTypes.topKeyDown:\n // Expect IME keyCode on each keydown. If we get any other\n // code we must have exited earlier.\n return nativeEvent.keyCode !== START_KEYCODE;\n case topLevelTypes.topKeyPress:\n case topLevelTypes.topMouseDown:\n case topLevelTypes.topBlur:\n // Events are not possible without cancelling IME.\n return true;\n default:\n return false;\n }\n}\n\n/**\n * Google Input Tools provides composition data via a CustomEvent,\n * with the `data` property populated in the `detail` object. If this\n * is available on the event object, use it. If not, this is a plain\n * composition event and we have nothing special to extract.\n *\n * @param {object} nativeEvent\n * @return {?string}\n */\nfunction getDataFromCustomEvent(nativeEvent) {\n var detail = nativeEvent.detail;\n if (typeof detail === 'object' && 'data' in detail) {\n return detail.data;\n }\n return null;\n}\n\n// Track the current IME composition fallback object, if any.\nvar currentComposition = null;\n\n/**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {?object} A SyntheticCompositionEvent.\n */\nfunction extractCompositionEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n var eventType;\n var fallbackData;\n\n if (canUseCompositionEvent) {\n eventType = getCompositionEventType(topLevelType);\n } else if (!currentComposition) {\n if (isFallbackCompositionStart(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionStart;\n }\n } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionEnd;\n }\n\n if (!eventType) {\n return null;\n }\n\n if (useFallbackCompositionData) {\n // The current composition is stored statically and must not be\n // overwritten while composition continues.\n if (!currentComposition && eventType === eventTypes.compositionStart) {\n currentComposition = FallbackCompositionState.getPooled(topLevelTarget);\n } else if (eventType === eventTypes.compositionEnd) {\n if (currentComposition) {\n fallbackData = currentComposition.getData();\n }\n }\n }\n\n var event = SyntheticCompositionEvent.getPooled(eventType, topLevelTargetID, nativeEvent, nativeEventTarget);\n\n if (fallbackData) {\n // Inject data generated from fallback path into the synthetic event.\n // This matches the property of native CompositionEventInterface.\n event.data = fallbackData;\n } else {\n var customData = getDataFromCustomEvent(nativeEvent);\n if (customData !== null) {\n event.data = customData;\n }\n }\n\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The string corresponding to this `beforeInput` event.\n */\nfunction getNativeBeforeInputChars(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case topLevelTypes.topCompositionEnd:\n return getDataFromCustomEvent(nativeEvent);\n case topLevelTypes.topKeyPress:\n /**\n * If native `textInput` events are available, our goal is to make\n * use of them. However, there is a special case: the spacebar key.\n * In Webkit, preventing default on a spacebar `textInput` event\n * cancels character insertion, but it *also* causes the browser\n * to fall back to its default spacebar behavior of scrolling the\n * page.\n *\n * Tracking at:\n * https://code.google.com/p/chromium/issues/detail?id=355103\n *\n * To avoid this issue, use the keypress event as if no `textInput`\n * event is available.\n */\n var which = nativeEvent.which;\n if (which !== SPACEBAR_CODE) {\n return null;\n }\n\n hasSpaceKeypress = true;\n return SPACEBAR_CHAR;\n\n case topLevelTypes.topTextInput:\n // Record the characters to be added to the DOM.\n var chars = nativeEvent.data;\n\n // If it's a spacebar character, assume that we have already handled\n // it at the keypress level and bail immediately. Android Chrome\n // doesn't give us keycodes, so we need to blacklist it.\n if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {\n return null;\n }\n\n return chars;\n\n default:\n // For other native event types, do nothing.\n return null;\n }\n}\n\n/**\n * For browsers that do not provide the `textInput` event, extract the\n * appropriate string to use for SyntheticInputEvent.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The fallback string for this `beforeInput` event.\n */\nfunction getFallbackBeforeInputChars(topLevelType, nativeEvent) {\n // If we are currently composing (IME) and using a fallback to do so,\n // try to extract the composed characters from the fallback object.\n if (currentComposition) {\n if (topLevelType === topLevelTypes.topCompositionEnd || isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n var chars = currentComposition.getData();\n FallbackCompositionState.release(currentComposition);\n currentComposition = null;\n return chars;\n }\n return null;\n }\n\n switch (topLevelType) {\n case topLevelTypes.topPaste:\n // If a paste event occurs after a keypress, throw out the input\n // chars. Paste events should not lead to BeforeInput events.\n return null;\n case topLevelTypes.topKeyPress:\n /**\n * As of v27, Firefox may fire keypress events even when no character\n * will be inserted. A few possibilities:\n *\n * - `which` is `0`. Arrow keys, Esc key, etc.\n *\n * - `which` is the pressed key code, but no char is available.\n * Ex: 'AltGr + d` in Polish. There is no modified character for\n * this key combination and no character is inserted into the\n * document, but FF fires the keypress for char code `100` anyway.\n * No `input` event will occur.\n *\n * - `which` is the pressed key code, but a command combination is\n * being used. Ex: `Cmd+C`. No character is inserted, and no\n * `input` event will occur.\n */\n if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {\n return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case topLevelTypes.topCompositionEnd:\n return useFallbackCompositionData ? null : nativeEvent.data;\n default:\n return null;\n }\n}\n\n/**\n * Extract a SyntheticInputEvent for `beforeInput`, based on either native\n * `textInput` or fallback behavior.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {?object} A SyntheticInputEvent.\n */\nfunction extractBeforeInputEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n var chars;\n\n if (canUseTextInputEvent) {\n chars = getNativeBeforeInputChars(topLevelType, nativeEvent);\n } else {\n chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);\n }\n\n // If no characters are being inserted, no BeforeInput event should\n // be fired.\n if (!chars) {\n return null;\n }\n\n var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, topLevelTargetID, nativeEvent, nativeEventTarget);\n\n event.data = chars;\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * Create an `onBeforeInput` event to match\n * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.\n *\n * This event plugin is based on the native `textInput` event\n * available in Chrome, Safari, Opera, and IE. This event fires after\n * `onKeyPress` and `onCompositionEnd`, but before `onInput`.\n *\n * `beforeInput` is spec'd but not implemented in any browsers, and\n * the `input` event does not provide any useful information about what has\n * actually been added, contrary to the spec. Thus, `textInput` is the best\n * available event to identify the characters that have actually been inserted\n * into the target node.\n *\n * This plugin is also responsible for emitting `composition` events, thus\n * allowing us to share composition fallback code for both `beforeInput` and\n * `composition` event types.\n */\nvar BeforeInputEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @see {EventPluginHub.extractEvents}\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n return [extractCompositionEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget)];\n }\n};\n\nmodule.exports = BeforeInputEventPlugin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/BeforeInputEventPlugin.js\n ** module id = 71\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/BeforeInputEventPlugin.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPropagators\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPluginHub = __webpack_require__(30);\n\nvar warning = __webpack_require__(24);\n\nvar accumulateInto = __webpack_require__(34);\nvar forEachAccumulated = __webpack_require__(35);\n\nvar PropagationPhases = EventConstants.PropagationPhases;\nvar getListener = EventPluginHub.getListener;\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(id, event, propagationPhase) {\n var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n return getListener(id, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(domID, upwards, event) {\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(domID, 'Dispatching id must not be null') : undefined;\n }\n var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\n var listener = listenerAtPhase(domID, event, phase);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchIDs = accumulateInto(event._dispatchIDs, domID);\n }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory. We must loop through\n * each event and perform the traversal for each one. We cannot perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginHub.injection.getInstanceHandle().traverseTwoPhase(event.dispatchMarker, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n */\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginHub.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(event.dispatchMarker, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(id, ignoredDirection, event) {\n if (event && event.dispatchConfig.registrationName) {\n var registrationName = event.dispatchConfig.registrationName;\n var listener = getListener(id, registrationName);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchIDs = accumulateInto(event._dispatchIDs, id);\n }\n }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n accumulateDispatches(event.dispatchMarker, null, event);\n }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, fromID, toID) {\n EventPluginHub.injection.getInstanceHandle().traverseEnterLeave(fromID, toID, accumulateDispatches, leave, enter);\n}\n\nfunction accumulateDirectDispatches(events) {\n forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n accumulateDirectDispatches: accumulateDirectDispatches,\n accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n};\n\nmodule.exports = EventPropagators;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPropagators.js\n ** module id = 72\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EventPropagators.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule FallbackCompositionState\n * @typechecks static-only\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(55);\n\nvar assign = __webpack_require__(38);\nvar getTextContentAccessor = __webpack_require__(74);\n\n/**\n * This helper class stores information about text content of a target node,\n * allowing comparison of content before and after a given event.\n *\n * Identify the node where selection currently begins, then observe\n * both its text content and its current position in the DOM. Since the\n * browser may natively replace the target node during composition, we can\n * use its position to find its replacement.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n this._root = root;\n this._startText = this.getText();\n this._fallbackText = null;\n}\n\nassign(FallbackCompositionState.prototype, {\n destructor: function () {\n this._root = null;\n this._startText = null;\n this._fallbackText = null;\n },\n\n /**\n * Get current text of input.\n *\n * @return {string}\n */\n getText: function () {\n if ('value' in this._root) {\n return this._root.value;\n }\n return this._root[getTextContentAccessor()];\n },\n\n /**\n * Determine the differing substring between the initially stored\n * text content and the current content.\n *\n * @return {string}\n */\n getData: function () {\n if (this._fallbackText) {\n return this._fallbackText;\n }\n\n var start;\n var startValue = this._startText;\n var startLength = startValue.length;\n var end;\n var endValue = this.getText();\n var endLength = endValue.length;\n\n for (start = 0; start < startLength; start++) {\n if (startValue[start] !== endValue[start]) {\n break;\n }\n }\n\n var minEnd = startLength - start;\n for (end = 1; end <= minEnd; end++) {\n if (startValue[startLength - end] !== endValue[endLength - end]) {\n break;\n }\n }\n\n var sliceTail = end > 1 ? 1 - end : undefined;\n this._fallbackText = endValue.slice(start, sliceTail);\n return this._fallbackText;\n }\n});\n\nPooledClass.addPoolingTo(FallbackCompositionState);\n\nmodule.exports = FallbackCompositionState;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/FallbackCompositionState.js\n ** module id = 73\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/FallbackCompositionState.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getTextContentAccessor\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n if (!contentKey && ExecutionEnvironment.canUseDOM) {\n // Prefer textContent to innerText because many browsers support both but\n // SVG <text> elements don't support innerText even when <div> does.\n contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n }\n return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getTextContentAccessor.js\n ** module id = 74\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getTextContentAccessor.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticCompositionEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(76);\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);\n\nmodule.exports = SyntheticCompositionEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticCompositionEvent.js\n ** module id = 75\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticCompositionEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(55);\n\nvar assign = __webpack_require__(38);\nvar emptyFunction = __webpack_require__(14);\nvar warning = __webpack_require__(24);\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n type: null,\n target: null,\n // currentTarget is set when dispatching; no use in copying it here\n currentTarget: emptyFunction.thatReturnsNull,\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n */\nfunction SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n this.dispatchConfig = dispatchConfig;\n this.dispatchMarker = dispatchMarker;\n this.nativeEvent = nativeEvent;\n\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (!Interface.hasOwnProperty(propName)) {\n continue;\n }\n var normalize = Interface[propName];\n if (normalize) {\n this[propName] = normalize(nativeEvent);\n } else {\n if (propName === 'target') {\n this.target = nativeEventTarget;\n } else {\n this[propName] = nativeEvent[propName];\n }\n }\n }\n\n var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;\n if (defaultPrevented) {\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n } else {\n this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n }\n this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n}\n\nassign(SyntheticEvent.prototype, {\n\n preventDefault: function () {\n this.defaultPrevented = true;\n var event = this.nativeEvent;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\\'re ' + 'seeing this, you\\'re calling `preventDefault` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;\n }\n if (!event) {\n return;\n }\n\n if (event.preventDefault) {\n event.preventDefault();\n } else {\n event.returnValue = false;\n }\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n },\n\n stopPropagation: function () {\n var event = this.nativeEvent;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(event, 'This synthetic event is reused for performance reasons. If you\\'re ' + 'seeing this, you\\'re calling `stopPropagation` on a ' + 'released/nullified synthetic event. This is a no-op. See ' + 'https://fb.me/react-event-pooling for more information.') : undefined;\n }\n if (!event) {\n return;\n }\n\n if (event.stopPropagation) {\n event.stopPropagation();\n } else {\n event.cancelBubble = true;\n }\n this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * We release all dispatched `SyntheticEvent`s after each event loop, adding\n * them back into the pool. This allows a way to hold onto a reference that\n * won't be added back into the pool.\n */\n persist: function () {\n this.isPersistent = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * Checks if this event should be released back into the pool.\n *\n * @return {boolean} True if this should not be released, false otherwise.\n */\n isPersistent: emptyFunction.thatReturnsFalse,\n\n /**\n * `PooledClass` looks for `destructor` on each instance it releases.\n */\n destructor: function () {\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n this[propName] = null;\n }\n this.dispatchConfig = null;\n this.dispatchMarker = null;\n this.nativeEvent = null;\n }\n\n});\n\nSyntheticEvent.Interface = EventInterface;\n\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function (Class, Interface) {\n var Super = this;\n\n var prototype = Object.create(Super.prototype);\n assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n\n Class.Interface = assign({}, Super.Interface, Interface);\n Class.augmentClass = Super.augmentClass;\n\n PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler);\n};\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticEvent.js\n ** module id = 76\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticInputEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(76);\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105\n * /#events-inputevents\n */\nvar InputEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);\n\nmodule.exports = SyntheticInputEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticInputEvent.js\n ** module id = 77\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticInputEvent.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule keyOf\n */\n\n/**\n * Allows extraction of a minified key. Let's the build system minify keys\n * without losing the ability to dynamically use key strings as values\n * themselves. Pass in an object with a single key/val pair and it will return\n * you the string key of that single record. Suppose you want to grab the\n * value for a key 'className' inside of an object. Key/val minification may\n * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n * reuse those resolutions.\n */\n\"use strict\";\n\nvar keyOf = function (oneKeyObj) {\n var key;\n for (key in oneKeyObj) {\n if (!oneKeyObj.hasOwnProperty(key)) {\n continue;\n }\n return key;\n }\n return null;\n};\n\nmodule.exports = keyOf;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/keyOf.js\n ** module id = 78\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/keyOf.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ChangeEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPluginHub = __webpack_require__(30);\nvar EventPropagators = __webpack_require__(72);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar ReactUpdates = __webpack_require__(53);\nvar SyntheticEvent = __webpack_require__(76);\n\nvar getEventTarget = __webpack_require__(80);\nvar isEventSupported = __webpack_require__(39);\nvar isTextInputElement = __webpack_require__(81);\nvar keyOf = __webpack_require__(78);\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n change: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onChange: null }),\n captured: keyOf({ onChangeCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topChange, topLevelTypes.topClick, topLevelTypes.topFocus, topLevelTypes.topInput, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.topSelectionChange]\n }\n};\n\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementID = null;\nvar activeElementValue = null;\nvar activeElementValueProp = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n var nodeName = elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n // See `handleChange` comment below\n doesChangeEventBubble = isEventSupported('change') && (!('documentMode' in document) || document.documentMode > 8);\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n var event = SyntheticEvent.getPooled(eventTypes.change, activeElementID, nativeEvent, getEventTarget(nativeEvent));\n EventPropagators.accumulateTwoPhaseDispatches(event);\n\n // If change and propertychange bubbled, we'd just bind to it like all the\n // other events and have it go through ReactBrowserEventEmitter. Since it\n // doesn't, we manually listen for the events and so we have to enqueue and\n // process the abstract event manually.\n //\n // Batching is necessary here in order to ensure that all event handlers run\n // before the next rerender (including event handlers attached to ancestor\n // elements instead of directly on the input). Without this, controlled\n // components don't work properly in conjunction with event bubbling because\n // the component is rerendered and the value reverted before all the event\n // handlers can run. See https://github.com/facebook/react/issues/708.\n ReactUpdates.batchedUpdates(runEventInBatch, event);\n}\n\nfunction runEventInBatch(event) {\n EventPluginHub.enqueueEvents(event);\n EventPluginHub.processEventQueue(false);\n}\n\nfunction startWatchingForChangeEventIE8(target, targetID) {\n activeElement = target;\n activeElementID = targetID;\n activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n if (!activeElement) {\n return;\n }\n activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n activeElement = null;\n activeElementID = null;\n}\n\nfunction getTargetIDForChangeEvent(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topChange) {\n return topLevelTargetID;\n }\n}\nfunction handleEventsForChangeEventIE8(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topFocus) {\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForChangeEventIE8();\n startWatchingForChangeEventIE8(topLevelTarget, topLevelTargetID);\n } else if (topLevelType === topLevelTypes.topBlur) {\n stopWatchingForChangeEventIE8();\n }\n}\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n // IE9 claims to support the input event but fails to trigger it when\n // deleting text, so we ignore its input events\n isInputEventSupported = isEventSupported('input') && (!('documentMode' in document) || document.documentMode > 9);\n}\n\n/**\n * (For old IE.) Replacement getter/setter for the `value` property that gets\n * set on the active element.\n */\nvar newValueProp = {\n get: function () {\n return activeElementValueProp.get.call(this);\n },\n set: function (val) {\n // Cast to a string so we can do equality checks.\n activeElementValue = '' + val;\n activeElementValueProp.set.call(this, val);\n }\n};\n\n/**\n * (For old IE.) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetID) {\n activeElement = target;\n activeElementID = targetID;\n activeElementValue = target.value;\n activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value');\n\n // Not guarded in a canDefineProperty check: IE8 supports defineProperty only\n // on DOM elements\n Object.defineProperty(activeElement, 'value', newValueProp);\n activeElement.attachEvent('onpropertychange', handlePropertyChange);\n}\n\n/**\n * (For old IE.) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n if (!activeElement) {\n return;\n }\n\n // delete restores the original property definition\n delete activeElement.value;\n activeElement.detachEvent('onpropertychange', handlePropertyChange);\n\n activeElement = null;\n activeElementID = null;\n activeElementValue = null;\n activeElementValueProp = null;\n}\n\n/**\n * (For old IE.) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n if (nativeEvent.propertyName !== 'value') {\n return;\n }\n var value = nativeEvent.srcElement.value;\n if (value === activeElementValue) {\n return;\n }\n activeElementValue = value;\n\n manualDispatchChangeEvent(nativeEvent);\n}\n\n/**\n * If a `change` event should be fired, returns the target's ID.\n */\nfunction getTargetIDForInputEvent(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topInput) {\n // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n // what we want so fall through here and trigger an abstract event\n return topLevelTargetID;\n }\n}\n\n// For IE8 and IE9.\nfunction handleEventsForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topFocus) {\n // In IE8, we can capture almost all .value changes by adding a\n // propertychange handler and looking for events with propertyName\n // equal to 'value'\n // In IE9, propertychange fires for most input events but is buggy and\n // doesn't fire when text is deleted, but conveniently, selectionchange\n // appears to fire in all of the remaining cases so we catch those and\n // forward the event if the value has changed\n // In either case, we don't want to call the event handler if the value\n // is changed from JS so we redefine a setter for `.value` that updates\n // our activeElementValue variable, allowing us to ignore those changes\n //\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForValueChange();\n startWatchingForValueChange(topLevelTarget, topLevelTargetID);\n } else if (topLevelType === topLevelTypes.topBlur) {\n stopWatchingForValueChange();\n }\n}\n\n// For IE8 and IE9.\nfunction getTargetIDForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topSelectionChange || topLevelType === topLevelTypes.topKeyUp || topLevelType === topLevelTypes.topKeyDown) {\n // On the selectionchange event, the target is just document which isn't\n // helpful for us so just check activeElement instead.\n //\n // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n // propertychange on the first input event after setting `value` from a\n // script and fires only keydown, keypress, keyup. Catching keyup usually\n // gets it and catching keydown lets us fire an event for the first\n // keystroke if user does a key repeat (it'll be a little delayed: right\n // before the second keystroke). Other input methods (e.g., paste) seem to\n // fire selectionchange normally.\n if (activeElement && activeElement.value !== activeElementValue) {\n activeElementValue = activeElement.value;\n return activeElementID;\n }\n }\n}\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n // Use the `click` event to detect changes to checkbox and radio inputs.\n // This approach works across all browsers, whereas `change` does not fire\n // until `blur` in IE8.\n return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');\n}\n\nfunction getTargetIDForClickEvent(topLevelType, topLevelTarget, topLevelTargetID) {\n if (topLevelType === topLevelTypes.topClick) {\n return topLevelTargetID;\n }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @see {EventPluginHub.extractEvents}\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n\n var getTargetIDFunc, handleEventFunc;\n if (shouldUseChangeEvent(topLevelTarget)) {\n if (doesChangeEventBubble) {\n getTargetIDFunc = getTargetIDForChangeEvent;\n } else {\n handleEventFunc = handleEventsForChangeEventIE8;\n }\n } else if (isTextInputElement(topLevelTarget)) {\n if (isInputEventSupported) {\n getTargetIDFunc = getTargetIDForInputEvent;\n } else {\n getTargetIDFunc = getTargetIDForInputEventIE;\n handleEventFunc = handleEventsForInputEventIE;\n }\n } else if (shouldUseClickEvent(topLevelTarget)) {\n getTargetIDFunc = getTargetIDForClickEvent;\n }\n\n if (getTargetIDFunc) {\n var targetID = getTargetIDFunc(topLevelType, topLevelTarget, topLevelTargetID);\n if (targetID) {\n var event = SyntheticEvent.getPooled(eventTypes.change, targetID, nativeEvent, nativeEventTarget);\n event.type = 'change';\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n }\n }\n\n if (handleEventFunc) {\n handleEventFunc(topLevelType, topLevelTarget, topLevelTargetID);\n }\n }\n\n};\n\nmodule.exports = ChangeEventPlugin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ChangeEventPlugin.js\n ** module id = 79\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ChangeEventPlugin.js?"); },function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventTarget\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\nfunction getEventTarget(nativeEvent) {\n var target = nativeEvent.target || nativeEvent.srcElement || window;\n // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n // @see http://www.quirksmode.org/js/events_properties.html\n return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventTarget.js\n ** module id = 80\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getEventTarget.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isTextInputElement\n */\n\n'use strict';\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\nvar supportedInputTypes = {\n 'color': true,\n 'date': true,\n 'datetime': true,\n 'datetime-local': true,\n 'email': true,\n 'month': true,\n 'number': true,\n 'password': true,\n 'range': true,\n 'search': true,\n 'tel': true,\n 'text': true,\n 'time': true,\n 'url': true,\n 'week': true\n};\n\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName && (nodeName === 'input' && supportedInputTypes[elem.type] || nodeName === 'textarea');\n}\n\nmodule.exports = isTextInputElement;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/isTextInputElement.js\n ** module id = 81\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/isTextInputElement.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ClientReactRootIndex\n * @typechecks\n */\n\n'use strict';\n\nvar nextReactRootIndex = 0;\n\nvar ClientReactRootIndex = {\n createReactRootIndex: function () {\n return nextReactRootIndex++;\n }\n};\n\nmodule.exports = ClientReactRootIndex;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ClientReactRootIndex.js\n ** module id = 82\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ClientReactRootIndex.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DefaultEventPluginOrder\n */\n\n'use strict';\n\nvar keyOf = __webpack_require__(78);\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\nvar DefaultEventPluginOrder = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })];\n\nmodule.exports = DefaultEventPluginOrder;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DefaultEventPluginOrder.js\n ** module id = 83\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/DefaultEventPluginOrder.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EnterLeaveEventPlugin\n * @typechecks static-only\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPropagators = __webpack_require__(72);\nvar SyntheticMouseEvent = __webpack_require__(85);\n\nvar ReactMount = __webpack_require__(27);\nvar keyOf = __webpack_require__(78);\n\nvar topLevelTypes = EventConstants.topLevelTypes;\nvar getFirstReactDOM = ReactMount.getFirstReactDOM;\n\nvar eventTypes = {\n mouseEnter: {\n registrationName: keyOf({ onMouseEnter: null }),\n dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver]\n },\n mouseLeave: {\n registrationName: keyOf({ onMouseLeave: null }),\n dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver]\n }\n};\n\nvar extractedEvents = [null, null];\n\nvar EnterLeaveEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * For almost every interaction we care about, there will be both a top-level\n * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n * we do not extract duplicate events. However, moving the mouse into the\n * browser from outside will not fire a `mouseout` event. In this case, we use\n * the `mouseover` top-level event.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @see {EventPluginHub.extractEvents}\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n if (topLevelType === topLevelTypes.topMouseOver && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n return null;\n }\n if (topLevelType !== topLevelTypes.topMouseOut && topLevelType !== topLevelTypes.topMouseOver) {\n // Must not be a mouse in or mouse out - ignoring.\n return null;\n }\n\n var win;\n if (topLevelTarget.window === topLevelTarget) {\n // `topLevelTarget` is probably a window object.\n win = topLevelTarget;\n } else {\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n var doc = topLevelTarget.ownerDocument;\n if (doc) {\n win = doc.defaultView || doc.parentWindow;\n } else {\n win = window;\n }\n }\n\n var from;\n var to;\n var fromID = '';\n var toID = '';\n if (topLevelType === topLevelTypes.topMouseOut) {\n from = topLevelTarget;\n fromID = topLevelTargetID;\n to = getFirstReactDOM(nativeEvent.relatedTarget || nativeEvent.toElement);\n if (to) {\n toID = ReactMount.getID(to);\n } else {\n to = win;\n }\n to = to || win;\n } else {\n from = win;\n to = topLevelTarget;\n toID = topLevelTargetID;\n }\n\n if (from === to) {\n // Nothing pertains to our managed components.\n return null;\n }\n\n var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, fromID, nativeEvent, nativeEventTarget);\n leave.type = 'mouseleave';\n leave.target = from;\n leave.relatedTarget = to;\n\n var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, toID, nativeEvent, nativeEventTarget);\n enter.type = 'mouseenter';\n enter.target = to;\n enter.relatedTarget = from;\n\n EventPropagators.accumulateEnterLeaveDispatches(leave, enter, fromID, toID);\n\n extractedEvents[0] = leave;\n extractedEvents[1] = enter;\n\n return extractedEvents;\n }\n\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EnterLeaveEventPlugin.js\n ** module id = 84\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/EnterLeaveEventPlugin.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticMouseEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(86);\nvar ViewportMetrics = __webpack_require__(37);\n\nvar getEventModifierState = __webpack_require__(87);\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: getEventModifierState,\n button: function (event) {\n // Webkit, Firefox, IE9+\n // which: 1 2 3\n // button: 0 1 2 (standard)\n var button = event.button;\n if ('which' in event) {\n return button;\n }\n // IE<9\n // which: undefined\n // button: 0 0 0\n // button: 1 4 2 (onmouseup)\n return button === 2 ? 2 : button === 4 ? 1 : 0;\n },\n buttons: null,\n relatedTarget: function (event) {\n return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n },\n // \"Proprietary\" Interface.\n pageX: function (event) {\n return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n },\n pageY: function (event) {\n return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticMouseEvent.js\n ** module id = 85\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticMouseEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticUIEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(76);\n\nvar getEventTarget = __webpack_require__(80);\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n view: function (event) {\n if (event.view) {\n return event.view;\n }\n\n var target = getEventTarget(event);\n if (target != null && target.window === target) {\n // target is a window object\n return target;\n }\n\n var doc = target.ownerDocument;\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n if (doc) {\n return doc.defaultView || doc.parentWindow;\n } else {\n return window;\n }\n },\n detail: function (event) {\n return event.detail || 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticUIEvent.js\n ** module id = 86\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticUIEvent.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventModifierState\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Translation from modifier key to the associated property in the event.\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n */\n\nvar modifierKeyToProp = {\n 'Alt': 'altKey',\n 'Control': 'ctrlKey',\n 'Meta': 'metaKey',\n 'Shift': 'shiftKey'\n};\n\n// IE8 does not implement getModifierState so we simply map it to the only\n// modifier keys exposed by the event itself, does not support Lock-keys.\n// Currently, all major browsers except Chrome seems to support Lock-keys.\nfunction modifierStateGetter(keyArg) {\n var syntheticEvent = this;\n var nativeEvent = syntheticEvent.nativeEvent;\n if (nativeEvent.getModifierState) {\n return nativeEvent.getModifierState(keyArg);\n }\n var keyProp = modifierKeyToProp[keyArg];\n return keyProp ? !!nativeEvent[keyProp] : false;\n}\n\nfunction getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n}\n\nmodule.exports = getEventModifierState;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventModifierState.js\n ** module id = 87\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getEventModifierState.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule HTMLDOMPropertyConfig\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(22);\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE;\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS;\nvar HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE;\nvar HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\nvar HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\nvar hasSVG;\nif (ExecutionEnvironment.canUseDOM) {\n var implementation = document.implementation;\n hasSVG = implementation && implementation.hasFeature && implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1');\n}\n\nvar HTMLDOMPropertyConfig = {\n isCustomAttribute: RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\\d_.\\-]*$/),\n Properties: {\n /**\n * Standard Properties\n */\n accept: null,\n acceptCharset: null,\n accessKey: null,\n action: null,\n allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n allowTransparency: MUST_USE_ATTRIBUTE,\n alt: null,\n async: HAS_BOOLEAN_VALUE,\n autoComplete: null,\n // autoFocus is polyfilled/normalized by AutoFocusUtils\n // autoFocus: HAS_BOOLEAN_VALUE,\n autoPlay: HAS_BOOLEAN_VALUE,\n capture: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n cellPadding: null,\n cellSpacing: null,\n charSet: MUST_USE_ATTRIBUTE,\n challenge: MUST_USE_ATTRIBUTE,\n checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n classID: MUST_USE_ATTRIBUTE,\n // To set className on SVG elements, it's necessary to use .setAttribute;\n // this works on HTML elements too in all browsers except IE8. Conveniently,\n // IE8 doesn't support SVG and so we can simply use the attribute in\n // browsers that support SVG and the property in browsers that don't,\n // regardless of whether the element is HTML or SVG.\n className: hasSVG ? MUST_USE_ATTRIBUTE : MUST_USE_PROPERTY,\n cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n colSpan: null,\n content: null,\n contentEditable: null,\n contextMenu: MUST_USE_ATTRIBUTE,\n controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n coords: null,\n crossOrigin: null,\n data: null, // For `<object />` acts as `src`.\n dateTime: MUST_USE_ATTRIBUTE,\n 'default': HAS_BOOLEAN_VALUE,\n defer: HAS_BOOLEAN_VALUE,\n dir: null,\n disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n download: HAS_OVERLOADED_BOOLEAN_VALUE,\n draggable: null,\n encType: null,\n form: MUST_USE_ATTRIBUTE,\n formAction: MUST_USE_ATTRIBUTE,\n formEncType: MUST_USE_ATTRIBUTE,\n formMethod: MUST_USE_ATTRIBUTE,\n formNoValidate: HAS_BOOLEAN_VALUE,\n formTarget: MUST_USE_ATTRIBUTE,\n frameBorder: MUST_USE_ATTRIBUTE,\n headers: null,\n height: MUST_USE_ATTRIBUTE,\n hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n high: null,\n href: null,\n hrefLang: null,\n htmlFor: null,\n httpEquiv: null,\n icon: null,\n id: MUST_USE_PROPERTY,\n inputMode: MUST_USE_ATTRIBUTE,\n integrity: null,\n is: MUST_USE_ATTRIBUTE,\n keyParams: MUST_USE_ATTRIBUTE,\n keyType: MUST_USE_ATTRIBUTE,\n kind: null,\n label: null,\n lang: null,\n list: MUST_USE_ATTRIBUTE,\n loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n low: null,\n manifest: MUST_USE_ATTRIBUTE,\n marginHeight: null,\n marginWidth: null,\n max: null,\n maxLength: MUST_USE_ATTRIBUTE,\n media: MUST_USE_ATTRIBUTE,\n mediaGroup: null,\n method: null,\n min: null,\n minLength: MUST_USE_ATTRIBUTE,\n multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n name: null,\n nonce: MUST_USE_ATTRIBUTE,\n noValidate: HAS_BOOLEAN_VALUE,\n open: HAS_BOOLEAN_VALUE,\n optimum: null,\n pattern: null,\n placeholder: null,\n poster: null,\n preload: null,\n radioGroup: null,\n readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n rel: null,\n required: HAS_BOOLEAN_VALUE,\n reversed: HAS_BOOLEAN_VALUE,\n role: MUST_USE_ATTRIBUTE,\n rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n rowSpan: null,\n sandbox: null,\n scope: null,\n scoped: HAS_BOOLEAN_VALUE,\n scrolling: null,\n seamless: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n shape: null,\n size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n sizes: MUST_USE_ATTRIBUTE,\n span: HAS_POSITIVE_NUMERIC_VALUE,\n spellCheck: null,\n src: null,\n srcDoc: MUST_USE_PROPERTY,\n srcLang: null,\n srcSet: MUST_USE_ATTRIBUTE,\n start: HAS_NUMERIC_VALUE,\n step: null,\n style: null,\n summary: null,\n tabIndex: null,\n target: null,\n title: null,\n type: null,\n useMap: null,\n value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS,\n width: MUST_USE_ATTRIBUTE,\n wmode: MUST_USE_ATTRIBUTE,\n wrap: null,\n\n /**\n * RDFa Properties\n */\n about: MUST_USE_ATTRIBUTE,\n datatype: MUST_USE_ATTRIBUTE,\n inlist: MUST_USE_ATTRIBUTE,\n prefix: MUST_USE_ATTRIBUTE,\n // property is also supported for OpenGraph in meta tags.\n property: MUST_USE_ATTRIBUTE,\n resource: MUST_USE_ATTRIBUTE,\n 'typeof': MUST_USE_ATTRIBUTE,\n vocab: MUST_USE_ATTRIBUTE,\n\n /**\n * Non-standard Properties\n */\n // autoCapitalize and autoCorrect are supported in Mobile Safari for\n // keyboard hints.\n autoCapitalize: MUST_USE_ATTRIBUTE,\n autoCorrect: MUST_USE_ATTRIBUTE,\n // autoSave allows WebKit/Blink to persist values of input fields on page reloads\n autoSave: null,\n // color is for Safari mask-icon link\n color: null,\n // itemProp, itemScope, itemType are for\n // Microdata support. See http://schema.org/docs/gs.html\n itemProp: MUST_USE_ATTRIBUTE,\n itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n itemType: MUST_USE_ATTRIBUTE,\n // itemID and itemRef are for Microdata support as well but\n // only specified in the the WHATWG spec document. See\n // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api\n itemID: MUST_USE_ATTRIBUTE,\n itemRef: MUST_USE_ATTRIBUTE,\n // results show looking glass icon and recent searches on input\n // search fields in WebKit/Blink\n results: null,\n // IE-only attribute that specifies security restrictions on an iframe\n // as an alternative to the sandbox attribute on IE<10\n security: MUST_USE_ATTRIBUTE,\n // IE-only attribute that controls focus behavior\n unselectable: MUST_USE_ATTRIBUTE\n },\n DOMAttributeNames: {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n },\n DOMPropertyNames: {\n autoComplete: 'autocomplete',\n autoFocus: 'autofocus',\n autoPlay: 'autoplay',\n autoSave: 'autosave',\n // `encoding` is equivalent to `enctype`, IE8 lacks an `enctype` setter.\n // http://www.w3.org/TR/html5/forms.html#dom-fs-encoding\n encType: 'encoding',\n hrefLang: 'hreflang',\n radioGroup: 'radiogroup',\n spellCheck: 'spellcheck',\n srcDoc: 'srcdoc',\n srcSet: 'srcset'\n }\n};\n\nmodule.exports = HTMLDOMPropertyConfig;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/HTMLDOMPropertyConfig.js\n ** module id = 88\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/HTMLDOMPropertyConfig.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactBrowserComponentMixin\n */\n\n'use strict';\n\nvar ReactInstanceMap = __webpack_require__(46);\n\nvar findDOMNode = __webpack_require__(90);\nvar warning = __webpack_require__(24);\n\nvar didWarnKey = '_getDOMNodeDidWarn';\n\nvar ReactBrowserComponentMixin = {\n /**\n * Returns the DOM node rendered by this component.\n *\n * @return {DOMElement} The root node of this component.\n * @final\n * @protected\n */\n getDOMNode: function () {\n false ? warning(this.constructor[didWarnKey], '%s.getDOMNode(...) is deprecated. Please use ' + 'ReactDOM.findDOMNode(instance) instead.', ReactInstanceMap.get(this).getName() || this.tagName || 'Unknown') : undefined;\n this.constructor[didWarnKey] = true;\n return findDOMNode(this);\n }\n};\n\nmodule.exports = ReactBrowserComponentMixin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactBrowserComponentMixin.js\n ** module id = 89\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactBrowserComponentMixin.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule findDOMNode\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactInstanceMap = __webpack_require__(46);\nvar ReactMount = __webpack_require__(27);\n\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\n/**\n * Returns the DOM node rendered by this element.\n *\n * @param {ReactComponent|DOMElement} componentOrElement\n * @return {?DOMElement} The root node of this element.\n */\nfunction findDOMNode(componentOrElement) {\n if (false) {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing getDOMNode or findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : undefined;\n owner._warnedAboutRefsInRender = true;\n }\n }\n if (componentOrElement == null) {\n return null;\n }\n if (componentOrElement.nodeType === 1) {\n return componentOrElement;\n }\n if (ReactInstanceMap.has(componentOrElement)) {\n return ReactMount.getNodeFromInstance(componentOrElement);\n }\n !(componentOrElement.render == null || typeof componentOrElement.render !== 'function') ? false ? invariant(false, 'findDOMNode was called on an unmounted component.') : invariant(false) : undefined;\n true ? false ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : invariant(false) : undefined;\n}\n\nmodule.exports = findDOMNode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/findDOMNode.js\n ** module id = 90\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/findDOMNode.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDefaultBatchingStrategy\n */\n\n'use strict';\n\nvar ReactUpdates = __webpack_require__(53);\nvar Transaction = __webpack_require__(56);\n\nvar assign = __webpack_require__(38);\nvar emptyFunction = __webpack_require__(14);\n\nvar RESET_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: function () {\n ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n }\n};\n\nvar FLUSH_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n};\n\nvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\nfunction ReactDefaultBatchingStrategyTransaction() {\n this.reinitializeTransaction();\n}\n\nassign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction.Mixin, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n }\n});\n\nvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\nvar ReactDefaultBatchingStrategy = {\n isBatchingUpdates: false,\n\n /**\n * Call the provided function in a context within which calls to `setState`\n * and friends are batched such that components aren't updated unnecessarily.\n */\n batchedUpdates: function (callback, a, b, c, d, e) {\n var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\n ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\n // The code is written this way to avoid extra allocations\n if (alreadyBatchingUpdates) {\n callback(a, b, c, d, e);\n } else {\n transaction.perform(callback, null, a, b, c, d, e);\n }\n }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDefaultBatchingStrategy.js\n ** module id = 91\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDefaultBatchingStrategy.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMComponent\n * @typechecks static-only\n */\n\n/* global hasOwnProperty:true */\n\n'use strict';\n\nvar AutoFocusUtils = __webpack_require__(93);\nvar CSSPropertyOperations = __webpack_require__(95);\nvar DOMProperty = __webpack_require__(22);\nvar DOMPropertyOperations = __webpack_require__(21);\nvar EventConstants = __webpack_require__(29);\nvar ReactBrowserEventEmitter = __webpack_require__(28);\nvar ReactComponentBrowserEnvironment = __webpack_require__(25);\nvar ReactDOMButton = __webpack_require__(103);\nvar ReactDOMInput = __webpack_require__(104);\nvar ReactDOMOption = __webpack_require__(108);\nvar ReactDOMSelect = __webpack_require__(111);\nvar ReactDOMTextarea = __webpack_require__(112);\nvar ReactMount = __webpack_require__(27);\nvar ReactMultiChild = __webpack_require__(113);\nvar ReactPerf = __webpack_require__(17);\nvar ReactUpdateQueue = __webpack_require__(52);\n\nvar assign = __webpack_require__(38);\nvar canDefineProperty = __webpack_require__(42);\nvar escapeTextContentForBrowser = __webpack_require__(20);\nvar invariant = __webpack_require__(12);\nvar isEventSupported = __webpack_require__(39);\nvar keyOf = __webpack_require__(78);\nvar setInnerHTML = __webpack_require__(18);\nvar setTextContent = __webpack_require__(19);\nvar shallowEqual = __webpack_require__(116);\nvar validateDOMNesting = __webpack_require__(69);\nvar warning = __webpack_require__(24);\n\nvar deleteListener = ReactBrowserEventEmitter.deleteListener;\nvar listenTo = ReactBrowserEventEmitter.listenTo;\nvar registrationNameModules = ReactBrowserEventEmitter.registrationNameModules;\n\n// For quickly matching children type, to test if can be treated as content.\nvar CONTENT_TYPES = { 'string': true, 'number': true };\n\nvar CHILDREN = keyOf({ children: null });\nvar STYLE = keyOf({ style: null });\nvar HTML = keyOf({ __html: null });\n\nvar ELEMENT_NODE_TYPE = 1;\n\nfunction getDeclarationErrorAddendum(internalInstance) {\n if (internalInstance) {\n var owner = internalInstance._currentElement._owner || null;\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' This DOM node was rendered by `' + name + '`.';\n }\n }\n }\n return '';\n}\n\nvar legacyPropsDescriptor;\nif (false) {\n legacyPropsDescriptor = {\n props: {\n enumerable: false,\n get: function () {\n var component = this._reactInternalComponent;\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .props of a DOM node; instead, ' + 'recreate the props as `render` did originally or read the DOM ' + 'properties/attributes directly from this node (e.g., ' + 'this.refs.box.className).%s', getDeclarationErrorAddendum(component)) : undefined;\n return component._currentElement.props;\n }\n }\n };\n}\n\nfunction legacyGetDOMNode() {\n if (false) {\n var component = this._reactInternalComponent;\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .getDOMNode() of a DOM node; ' + 'instead, use the node directly.%s', getDeclarationErrorAddendum(component)) : undefined;\n }\n return this;\n}\n\nfunction legacyIsMounted() {\n var component = this._reactInternalComponent;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .isMounted() of a DOM node.%s', getDeclarationErrorAddendum(component)) : undefined;\n }\n return !!component;\n}\n\nfunction legacySetStateEtc() {\n if (false) {\n var component = this._reactInternalComponent;\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setState(), .replaceState(), or ' + '.forceUpdate() of a DOM node. This is a no-op.%s', getDeclarationErrorAddendum(component)) : undefined;\n }\n}\n\nfunction legacySetProps(partialProps, callback) {\n var component = this._reactInternalComponent;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .setProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;\n }\n if (!component) {\n return;\n }\n ReactUpdateQueue.enqueueSetPropsInternal(component, partialProps);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(component, callback);\n }\n}\n\nfunction legacyReplaceProps(partialProps, callback) {\n var component = this._reactInternalComponent;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .replaceProps() of a DOM node. ' + 'Instead, call ReactDOM.render again at the top level.%s', getDeclarationErrorAddendum(component)) : undefined;\n }\n if (!component) {\n return;\n }\n ReactUpdateQueue.enqueueReplacePropsInternal(component, partialProps);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(component, callback);\n }\n}\n\nfunction friendlyStringify(obj) {\n if (typeof obj === 'object') {\n if (Array.isArray(obj)) {\n return '[' + obj.map(friendlyStringify).join(', ') + ']';\n } else {\n var pairs = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var keyEscaped = /^[a-z$_][\\w$_]*$/i.test(key) ? key : JSON.stringify(key);\n pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key]));\n }\n }\n return '{' + pairs.join(', ') + '}';\n }\n } else if (typeof obj === 'string') {\n return JSON.stringify(obj);\n } else if (typeof obj === 'function') {\n return '[function object]';\n }\n // Differs from JSON.stringify in that undefined becauses undefined and that\n // inf and nan don't become null\n return String(obj);\n}\n\nvar styleMutationWarning = {};\n\nfunction checkAndWarnForMutatedStyle(style1, style2, component) {\n if (style1 == null || style2 == null) {\n return;\n }\n if (shallowEqual(style1, style2)) {\n return;\n }\n\n var componentName = component._tag;\n var owner = component._currentElement._owner;\n var ownerName;\n if (owner) {\n ownerName = owner.getName();\n }\n\n var hash = ownerName + '|' + componentName;\n\n if (styleMutationWarning.hasOwnProperty(hash)) {\n return;\n }\n\n styleMutationWarning[hash] = true;\n\n false ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : undefined;\n}\n\n/**\n * @param {object} component\n * @param {?object} props\n */\nfunction assertValidProps(component, props) {\n if (!props) {\n return;\n }\n // Note the use of `==` which checks for null or undefined.\n if (false) {\n if (voidElementTags[component._tag]) {\n process.env.NODE_ENV !== 'production' ? warning(props.children == null && props.dangerouslySetInnerHTML == null, '%s is a void element tag and must not have `children` or ' + 'use `props.dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : undefined;\n }\n }\n if (props.dangerouslySetInnerHTML != null) {\n !(props.children == null) ? false ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : invariant(false) : undefined;\n !(typeof props.dangerouslySetInnerHTML === 'object' && HTML in props.dangerouslySetInnerHTML) ? false ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' + 'Please visit https://fb.me/react-invariant-dangerously-set-inner-html ' + 'for more information.') : invariant(false) : undefined;\n }\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(!props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : undefined;\n }\n !(props.style == null || typeof props.style === 'object') ? false ? invariant(false, 'The `style` prop expects a mapping from style properties to values, ' + 'not a string. For example, style={{marginRight: spacing + \\'em\\'}} when ' + 'using JSX.%s', getDeclarationErrorAddendum(component)) : invariant(false) : undefined;\n}\n\nfunction enqueuePutListener(id, registrationName, listener, transaction) {\n if (false) {\n // IE8 has no API for event capturing and the `onScroll` event doesn't\n // bubble.\n process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\\'t support the `onScroll` event') : undefined;\n }\n var container = ReactMount.findReactContainerForID(id);\n if (container) {\n var doc = container.nodeType === ELEMENT_NODE_TYPE ? container.ownerDocument : container;\n listenTo(registrationName, doc);\n }\n transaction.getReactMountReady().enqueue(putListener, {\n id: id,\n registrationName: registrationName,\n listener: listener\n });\n}\n\nfunction putListener() {\n var listenerToPut = this;\n ReactBrowserEventEmitter.putListener(listenerToPut.id, listenerToPut.registrationName, listenerToPut.listener);\n}\n\n// There are so many media events, it makes sense to just\n// maintain a list rather than create a `trapBubbledEvent` for each\nvar mediaEvents = {\n topAbort: 'abort',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTimeUpdate: 'timeupdate',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting'\n};\n\nfunction trapBubbledEventsLocal() {\n var inst = this;\n // If a component renders to null or if another component fatals and causes\n // the state of the tree to be corrupted, `node` here can be null.\n !inst._rootNodeID ? false ? invariant(false, 'Must be mounted to trap events') : invariant(false) : undefined;\n var node = ReactMount.getNode(inst._rootNodeID);\n !node ? false ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : invariant(false) : undefined;\n\n switch (inst._tag) {\n case 'iframe':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];\n break;\n case 'video':\n case 'audio':\n\n inst._wrapperState.listeners = [];\n // create listener for each media event\n for (var event in mediaEvents) {\n if (mediaEvents.hasOwnProperty(event)) {\n inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes[event], mediaEvents[event], node));\n }\n }\n\n break;\n case 'img':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];\n break;\n case 'form':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'submit', node)];\n break;\n }\n}\n\nfunction mountReadyInputWrapper() {\n ReactDOMInput.mountReadyWrapper(this);\n}\n\nfunction postUpdateSelectWrapper() {\n ReactDOMSelect.postUpdateWrapper(this);\n}\n\n// For HTML, certain tags should omit their close tag. We keep a whitelist for\n// those special cased tags.\n\nvar omittedCloseTags = {\n 'area': true,\n 'base': true,\n 'br': true,\n 'col': true,\n 'embed': true,\n 'hr': true,\n 'img': true,\n 'input': true,\n 'keygen': true,\n 'link': true,\n 'meta': true,\n 'param': true,\n 'source': true,\n 'track': true,\n 'wbr': true\n};\n\n// NOTE: menuitem's close tag should be omitted, but that causes problems.\nvar newlineEatingTags = {\n 'listing': true,\n 'pre': true,\n 'textarea': true\n};\n\n// For HTML, certain tags cannot have children. This has the same purpose as\n// `omittedCloseTags` except that `menuitem` should still have its closing tag.\n\nvar voidElementTags = assign({\n 'menuitem': true\n}, omittedCloseTags);\n\n// We accept any tag to be rendered but since this gets injected into arbitrary\n// HTML, we want to make sure that it's a safe tag.\n// http://www.w3.org/TR/REC-xml/#NT-Name\n\nvar VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/; // Simplified subset\nvar validatedTagCache = {};\nvar hasOwnProperty = ({}).hasOwnProperty;\n\nfunction validateDangerousTag(tag) {\n if (!hasOwnProperty.call(validatedTagCache, tag)) {\n !VALID_TAG_REGEX.test(tag) ? false ? invariant(false, 'Invalid tag: %s', tag) : invariant(false) : undefined;\n validatedTagCache[tag] = true;\n }\n}\n\nfunction processChildContextDev(context, inst) {\n // Pass down our tag name to child components for validation purposes\n context = assign({}, context);\n var info = context[validateDOMNesting.ancestorInfoContextKey];\n context[validateDOMNesting.ancestorInfoContextKey] = validateDOMNesting.updatedAncestorInfo(info, inst._tag, inst);\n return context;\n}\n\nfunction isCustomComponent(tagName, props) {\n return tagName.indexOf('-') >= 0 || props.is != null;\n}\n\n/**\n * Creates a new React class that is idempotent and capable of containing other\n * React components. It accepts event listeners and DOM properties that are\n * valid according to `DOMProperty`.\n *\n * - Event listeners: `onClick`, `onMouseDown`, etc.\n * - DOM properties: `className`, `name`, `title`, etc.\n *\n * The `style` property functions differently from the DOM API. It accepts an\n * object mapping of style properties to values.\n *\n * @constructor ReactDOMComponent\n * @extends ReactMultiChild\n */\nfunction ReactDOMComponent(tag) {\n validateDangerousTag(tag);\n this._tag = tag.toLowerCase();\n this._renderedChildren = null;\n this._previousStyle = null;\n this._previousStyleCopy = null;\n this._rootNodeID = null;\n this._wrapperState = null;\n this._topLevelWrapper = null;\n this._nodeWithLegacyProperties = null;\n if (false) {\n this._unprocessedContextDev = null;\n this._processedContextDev = null;\n }\n}\n\nReactDOMComponent.displayName = 'ReactDOMComponent';\n\nReactDOMComponent.Mixin = {\n\n construct: function (element) {\n this._currentElement = element;\n },\n\n /**\n * Generates root tag markup then recurses. This method has side effects and\n * is not idempotent.\n *\n * @internal\n * @param {string} rootID The root DOM ID for this node.\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} context\n * @return {string} The computed markup.\n */\n mountComponent: function (rootID, transaction, context) {\n this._rootNodeID = rootID;\n\n var props = this._currentElement.props;\n\n switch (this._tag) {\n case 'iframe':\n case 'img':\n case 'form':\n case 'video':\n case 'audio':\n this._wrapperState = {\n listeners: null\n };\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'button':\n props = ReactDOMButton.getNativeProps(this, props, context);\n break;\n case 'input':\n ReactDOMInput.mountWrapper(this, props, context);\n props = ReactDOMInput.getNativeProps(this, props, context);\n break;\n case 'option':\n ReactDOMOption.mountWrapper(this, props, context);\n props = ReactDOMOption.getNativeProps(this, props, context);\n break;\n case 'select':\n ReactDOMSelect.mountWrapper(this, props, context);\n props = ReactDOMSelect.getNativeProps(this, props, context);\n context = ReactDOMSelect.processChildContext(this, props, context);\n break;\n case 'textarea':\n ReactDOMTextarea.mountWrapper(this, props, context);\n props = ReactDOMTextarea.getNativeProps(this, props, context);\n break;\n }\n\n assertValidProps(this, props);\n if (false) {\n if (context[validateDOMNesting.ancestorInfoContextKey]) {\n validateDOMNesting(this._tag, this, context[validateDOMNesting.ancestorInfoContextKey]);\n }\n }\n\n if (false) {\n this._unprocessedContextDev = context;\n this._processedContextDev = processChildContextDev(context, this);\n context = this._processedContextDev;\n }\n\n var mountImage;\n if (transaction.useCreateElement) {\n var ownerDocument = context[ReactMount.ownerDocumentContextKey];\n var el = ownerDocument.createElement(this._currentElement.type);\n DOMPropertyOperations.setAttributeForID(el, this._rootNodeID);\n // Populate node cache\n ReactMount.getID(el);\n this._updateDOMProperties({}, props, transaction, el);\n this._createInitialChildren(transaction, props, context, el);\n mountImage = el;\n } else {\n var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props);\n var tagContent = this._createContentMarkup(transaction, props, context);\n if (!tagContent && omittedCloseTags[this._tag]) {\n mountImage = tagOpen + '/>';\n } else {\n mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>';\n }\n }\n\n switch (this._tag) {\n case 'input':\n transaction.getReactMountReady().enqueue(mountReadyInputWrapper, this);\n // falls through\n case 'button':\n case 'select':\n case 'textarea':\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n }\n\n return mountImage;\n },\n\n /**\n * Creates markup for the open tag and all attributes.\n *\n * This method has side effects because events get registered.\n *\n * Iterating over object properties is faster than iterating over arrays.\n * @see http://jsperf.com/obj-vs-arr-iteration\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @return {string} Markup of opening tag.\n */\n _createOpenTagMarkupAndPutListeners: function (transaction, props) {\n var ret = '<' + this._currentElement.type;\n\n for (var propKey in props) {\n if (!props.hasOwnProperty(propKey)) {\n continue;\n }\n var propValue = props[propKey];\n if (propValue == null) {\n continue;\n }\n if (registrationNameModules.hasOwnProperty(propKey)) {\n if (propValue) {\n enqueuePutListener(this._rootNodeID, propKey, propValue, transaction);\n }\n } else {\n if (propKey === STYLE) {\n if (propValue) {\n if (false) {\n // See `_updateDOMProperties`. style block\n this._previousStyle = propValue;\n }\n propValue = this._previousStyleCopy = assign({}, props.style);\n }\n propValue = CSSPropertyOperations.createMarkupForStyles(propValue);\n }\n var markup = null;\n if (this._tag != null && isCustomComponent(this._tag, props)) {\n if (propKey !== CHILDREN) {\n markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);\n }\n } else {\n markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n }\n if (markup) {\n ret += ' ' + markup;\n }\n }\n }\n\n // For static pages, no need to put React ID and checksum. Saves lots of\n // bytes.\n if (transaction.renderToStaticMarkup) {\n return ret;\n }\n\n var markupForID = DOMPropertyOperations.createMarkupForID(this._rootNodeID);\n return ret + ' ' + markupForID;\n },\n\n /**\n * Creates markup for the content between the tags.\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @param {object} context\n * @return {string} Content markup.\n */\n _createContentMarkup: function (transaction, props, context) {\n var ret = '';\n\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n ret = innerHTML.__html;\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n if (contentToUse != null) {\n // TODO: Validate that text is allowed as a child of this node\n ret = escapeTextContentForBrowser(contentToUse);\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n ret = mountImages.join('');\n }\n }\n if (newlineEatingTags[this._tag] && ret.charAt(0) === '\\n') {\n // text/html ignores the first character in these tags if it's a newline\n // Prefer to break application/xml over text/html (for now) by adding\n // a newline specifically to get eaten by the parser. (Alternately for\n // textareas, replacing \"^\\n\" with \"\\r\\n\" doesn't get eaten, and the first\n // \\r is normalized out by HTMLTextAreaElement#value.)\n // See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>\n // See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions>\n // See: <http://www.w3.org/TR/html5/syntax.html#newlines>\n // See: Parsing of \"textarea\" \"listing\" and \"pre\" elements\n // from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>\n return '\\n' + ret;\n } else {\n return ret;\n }\n },\n\n _createInitialChildren: function (transaction, props, context, el) {\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n setInnerHTML(el, innerHTML.__html);\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n if (contentToUse != null) {\n // TODO: Validate that text is allowed as a child of this node\n setTextContent(el, contentToUse);\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n for (var i = 0; i < mountImages.length; i++) {\n el.appendChild(mountImages[i]);\n }\n }\n }\n },\n\n /**\n * Receives a next element and updates the component.\n *\n * @internal\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} context\n */\n receiveComponent: function (nextElement, transaction, context) {\n var prevElement = this._currentElement;\n this._currentElement = nextElement;\n this.updateComponent(transaction, prevElement, nextElement, context);\n },\n\n /**\n * Updates a native DOM component after it has already been allocated and\n * attached to the DOM. Reconciles the root DOM node, then recurses.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevElement\n * @param {ReactElement} nextElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevElement, nextElement, context) {\n var lastProps = prevElement.props;\n var nextProps = this._currentElement.props;\n\n switch (this._tag) {\n case 'button':\n lastProps = ReactDOMButton.getNativeProps(this, lastProps);\n nextProps = ReactDOMButton.getNativeProps(this, nextProps);\n break;\n case 'input':\n ReactDOMInput.updateWrapper(this);\n lastProps = ReactDOMInput.getNativeProps(this, lastProps);\n nextProps = ReactDOMInput.getNativeProps(this, nextProps);\n break;\n case 'option':\n lastProps = ReactDOMOption.getNativeProps(this, lastProps);\n nextProps = ReactDOMOption.getNativeProps(this, nextProps);\n break;\n case 'select':\n lastProps = ReactDOMSelect.getNativeProps(this, lastProps);\n nextProps = ReactDOMSelect.getNativeProps(this, nextProps);\n break;\n case 'textarea':\n ReactDOMTextarea.updateWrapper(this);\n lastProps = ReactDOMTextarea.getNativeProps(this, lastProps);\n nextProps = ReactDOMTextarea.getNativeProps(this, nextProps);\n break;\n }\n\n if (false) {\n // If the context is reference-equal to the old one, pass down the same\n // processed object so the update bailout in ReactReconciler behaves\n // correctly (and identically in dev and prod). See #5005.\n if (this._unprocessedContextDev !== context) {\n this._unprocessedContextDev = context;\n this._processedContextDev = processChildContextDev(context, this);\n }\n context = this._processedContextDev;\n }\n\n assertValidProps(this, nextProps);\n this._updateDOMProperties(lastProps, nextProps, transaction, null);\n this._updateDOMChildren(lastProps, nextProps, transaction, context);\n\n if (!canDefineProperty && this._nodeWithLegacyProperties) {\n this._nodeWithLegacyProperties.props = nextProps;\n }\n\n if (this._tag === 'select') {\n // <select> value update needs to occur after <option> children\n // reconciliation\n transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);\n }\n },\n\n /**\n * Reconciles the properties by detecting differences in property values and\n * updating the DOM as necessary. This function is probably the single most\n * critical path for performance optimization.\n *\n * TODO: Benchmark whether checking for changed values in memory actually\n * improves performance (especially statically positioned elements).\n * TODO: Benchmark the effects of putting this at the top since 99% of props\n * do not change for a given reconciliation.\n * TODO: Benchmark areas that can be improved with caching.\n *\n * @private\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {ReactReconcileTransaction} transaction\n * @param {?DOMElement} node\n */\n _updateDOMProperties: function (lastProps, nextProps, transaction, node) {\n var propKey;\n var styleName;\n var styleUpdates;\n for (propKey in lastProps) {\n if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey)) {\n continue;\n }\n if (propKey === STYLE) {\n var lastStyle = this._previousStyleCopy;\n for (styleName in lastStyle) {\n if (lastStyle.hasOwnProperty(styleName)) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n this._previousStyleCopy = null;\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (lastProps[propKey]) {\n // Only call deleteListener if there was a listener previously or\n // else willDeleteListener gets called when there wasn't actually a\n // listener (e.g., onClick={null})\n deleteListener(this._rootNodeID, propKey);\n }\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n if (!node) {\n node = ReactMount.getNode(this._rootNodeID);\n }\n DOMPropertyOperations.deleteValueForProperty(node, propKey);\n }\n }\n for (propKey in nextProps) {\n var nextProp = nextProps[propKey];\n var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps[propKey];\n if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp) {\n continue;\n }\n if (propKey === STYLE) {\n if (nextProp) {\n if (false) {\n checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);\n this._previousStyle = nextProp;\n }\n nextProp = this._previousStyleCopy = assign({}, nextProp);\n } else {\n this._previousStyleCopy = null;\n }\n if (lastProp) {\n // Unset styles on `lastProp` but not on `nextProp`.\n for (styleName in lastProp) {\n if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n // Update styles that changed since `lastProp`.\n for (styleName in nextProp) {\n if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = nextProp[styleName];\n }\n }\n } else {\n // Relies on `updateStylesByID` not mutating `styleUpdates`.\n styleUpdates = nextProp;\n }\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (nextProp) {\n enqueuePutListener(this._rootNodeID, propKey, nextProp, transaction);\n } else if (lastProp) {\n deleteListener(this._rootNodeID, propKey);\n }\n } else if (isCustomComponent(this._tag, nextProps)) {\n if (!node) {\n node = ReactMount.getNode(this._rootNodeID);\n }\n if (propKey === CHILDREN) {\n nextProp = null;\n }\n DOMPropertyOperations.setValueForAttribute(node, propKey, nextProp);\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n if (!node) {\n node = ReactMount.getNode(this._rootNodeID);\n }\n // If we're updating to null or undefined, we should remove the property\n // from the DOM node instead of inadvertantly setting to a string. This\n // brings us in line with the same behavior we have on initial render.\n if (nextProp != null) {\n DOMPropertyOperations.setValueForProperty(node, propKey, nextProp);\n } else {\n DOMPropertyOperations.deleteValueForProperty(node, propKey);\n }\n }\n }\n if (styleUpdates) {\n if (!node) {\n node = ReactMount.getNode(this._rootNodeID);\n }\n CSSPropertyOperations.setValueForStyles(node, styleUpdates);\n }\n },\n\n /**\n * Reconciles the children with the various properties that affect the\n * children content.\n *\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n */\n _updateDOMChildren: function (lastProps, nextProps, transaction, context) {\n var lastContent = CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;\n var nextContent = CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;\n\n var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html;\n var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html;\n\n // Note the use of `!=` which checks for null or undefined.\n var lastChildren = lastContent != null ? null : lastProps.children;\n var nextChildren = nextContent != null ? null : nextProps.children;\n\n // If we're switching from children to content/html or vice versa, remove\n // the old content\n var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n if (lastChildren != null && nextChildren == null) {\n this.updateChildren(null, transaction, context);\n } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n this.updateTextContent('');\n }\n\n if (nextContent != null) {\n if (lastContent !== nextContent) {\n this.updateTextContent('' + nextContent);\n }\n } else if (nextHtml != null) {\n if (lastHtml !== nextHtml) {\n this.updateMarkup('' + nextHtml);\n }\n } else if (nextChildren != null) {\n this.updateChildren(nextChildren, transaction, context);\n }\n },\n\n /**\n * Destroys all event registrations for this instance. Does not remove from\n * the DOM. That must be done by the parent.\n *\n * @internal\n */\n unmountComponent: function () {\n switch (this._tag) {\n case 'iframe':\n case 'img':\n case 'form':\n case 'video':\n case 'audio':\n var listeners = this._wrapperState.listeners;\n if (listeners) {\n for (var i = 0; i < listeners.length; i++) {\n listeners[i].remove();\n }\n }\n break;\n case 'input':\n ReactDOMInput.unmountWrapper(this);\n break;\n case 'html':\n case 'head':\n case 'body':\n /**\n * Components like <html> <head> and <body> can't be removed or added\n * easily in a cross-browser way, however it's valuable to be able to\n * take advantage of React's reconciliation for styling and <title>\n * management. So we just document it and throw in dangerous cases.\n */\n true ? false ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is ' + 'impossible to unmount some top-level components (eg <html>, ' + '<head>, and <body>) reliably and efficiently. To fix this, have a ' + 'single top-level component that never unmounts render these ' + 'elements.', this._tag) : invariant(false) : undefined;\n break;\n }\n\n this.unmountChildren();\n ReactBrowserEventEmitter.deleteAllListeners(this._rootNodeID);\n ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID);\n this._rootNodeID = null;\n this._wrapperState = null;\n if (this._nodeWithLegacyProperties) {\n var node = this._nodeWithLegacyProperties;\n node._reactInternalComponent = null;\n this._nodeWithLegacyProperties = null;\n }\n },\n\n getPublicInstance: function () {\n if (!this._nodeWithLegacyProperties) {\n var node = ReactMount.getNode(this._rootNodeID);\n\n node._reactInternalComponent = this;\n node.getDOMNode = legacyGetDOMNode;\n node.isMounted = legacyIsMounted;\n node.setState = legacySetStateEtc;\n node.replaceState = legacySetStateEtc;\n node.forceUpdate = legacySetStateEtc;\n node.setProps = legacySetProps;\n node.replaceProps = legacyReplaceProps;\n\n if (false) {\n if (canDefineProperty) {\n Object.defineProperties(node, legacyPropsDescriptor);\n } else {\n // updateComponent will update this property on subsequent renders\n node.props = this._currentElement.props;\n }\n } else {\n // updateComponent will update this property on subsequent renders\n node.props = this._currentElement.props;\n }\n\n this._nodeWithLegacyProperties = node;\n }\n return this._nodeWithLegacyProperties;\n }\n\n};\n\nReactPerf.measureMethods(ReactDOMComponent, 'ReactDOMComponent', {\n mountComponent: 'mountComponent',\n updateComponent: 'updateComponent'\n});\n\nassign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);\n\nmodule.exports = ReactDOMComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMComponent.js\n ** module id = 92\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMComponent.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule AutoFocusUtils\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactMount = __webpack_require__(27);\n\nvar findDOMNode = __webpack_require__(90);\nvar focusNode = __webpack_require__(94);\n\nvar Mixin = {\n componentDidMount: function () {\n if (this.props.autoFocus) {\n focusNode(findDOMNode(this));\n }\n }\n};\n\nvar AutoFocusUtils = {\n Mixin: Mixin,\n\n focusDOMComponent: function () {\n focusNode(ReactMount.getNode(this._rootNodeID));\n }\n};\n\nmodule.exports = AutoFocusUtils;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/AutoFocusUtils.js\n ** module id = 93\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/AutoFocusUtils.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule focusNode\n */\n\n'use strict';\n\n/**\n * @param {DOMElement} node input/textarea to focus\n */\nfunction focusNode(node) {\n // IE8 can throw \"Can't move focus to the control because it is invisible,\n // not enabled, or of a type that does not accept the focus.\" for all kinds of\n // reasons that are too expensive and fragile to test.\n try {\n node.focus();\n } catch (e) {}\n}\n\nmodule.exports = focusNode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/focusNode.js\n ** module id = 94\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/focusNode.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSPropertyOperations\n * @typechecks static-only\n */\n\n'use strict';\n\nvar CSSProperty = __webpack_require__(96);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar ReactPerf = __webpack_require__(17);\n\nvar camelizeStyleName = __webpack_require__(97);\nvar dangerousStyleValue = __webpack_require__(99);\nvar hyphenateStyleName = __webpack_require__(100);\nvar memoizeStringOnly = __webpack_require__(102);\nvar warning = __webpack_require__(24);\n\nvar processStyleName = memoizeStringOnly(function (styleName) {\n return hyphenateStyleName(styleName);\n});\n\nvar hasShorthandPropertyBug = false;\nvar styleFloatAccessor = 'cssFloat';\nif (ExecutionEnvironment.canUseDOM) {\n var tempStyle = document.createElement('div').style;\n try {\n // IE8 throws \"Invalid argument.\" if resetting shorthand style properties.\n tempStyle.font = '';\n } catch (e) {\n hasShorthandPropertyBug = true;\n }\n // IE8 only supports accessing cssFloat (standard) as styleFloat\n if (document.documentElement.style.cssFloat === undefined) {\n styleFloatAccessor = 'styleFloat';\n }\n}\n\nif (false) {\n // 'msTransform' is correct, but the other prefixes should be capitalized\n var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;\n\n // style values shouldn't contain a semicolon\n var badStyleValueWithSemicolonPattern = /;\\s*$/;\n\n var warnedStyleNames = {};\n var warnedStyleValues = {};\n\n var warnHyphenatedStyleName = function (name) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?', name, camelizeStyleName(name)) : undefined;\n };\n\n var warnBadVendoredStyleName = function (name) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1)) : undefined;\n };\n\n var warnStyleValueWithSemicolon = function (name, value) {\n if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n return;\n }\n\n warnedStyleValues[value] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\\'t contain a semicolon. ' + 'Try \"%s: %s\" instead.', name, value.replace(badStyleValueWithSemicolonPattern, '')) : undefined;\n };\n\n /**\n * @param {string} name\n * @param {*} value\n */\n var warnValidStyle = function (name, value) {\n if (name.indexOf('-') > -1) {\n warnHyphenatedStyleName(name);\n } else if (badVendoredStyleNamePattern.test(name)) {\n warnBadVendoredStyleName(name);\n } else if (badStyleValueWithSemicolonPattern.test(value)) {\n warnStyleValueWithSemicolon(name, value);\n }\n };\n}\n\n/**\n * Operations for dealing with CSS properties.\n */\nvar CSSPropertyOperations = {\n\n /**\n * Serializes a mapping of style properties for use as inline styles:\n *\n * > createMarkupForStyles({width: '200px', height: 0})\n * \"width:200px;height:0;\"\n *\n * Undefined values are ignored so that declarative programming is easier.\n * The result should be HTML-escaped before insertion into the DOM.\n *\n * @param {object} styles\n * @return {?string}\n */\n createMarkupForStyles: function (styles) {\n var serialized = '';\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n var styleValue = styles[styleName];\n if (false) {\n warnValidStyle(styleName, styleValue);\n }\n if (styleValue != null) {\n serialized += processStyleName(styleName) + ':';\n serialized += dangerousStyleValue(styleName, styleValue) + ';';\n }\n }\n return serialized || null;\n },\n\n /**\n * Sets the value for multiple styles on a node. If a value is specified as\n * '' (empty string), the corresponding style property will be unset.\n *\n * @param {DOMElement} node\n * @param {object} styles\n */\n setValueForStyles: function (node, styles) {\n var style = node.style;\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n if (false) {\n warnValidStyle(styleName, styles[styleName]);\n }\n var styleValue = dangerousStyleValue(styleName, styles[styleName]);\n if (styleName === 'float') {\n styleName = styleFloatAccessor;\n }\n if (styleValue) {\n style[styleName] = styleValue;\n } else {\n var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName];\n if (expansion) {\n // Shorthand property that IE8 won't like unsetting, so unset each\n // component to placate it\n for (var individualStyleName in expansion) {\n style[individualStyleName] = '';\n }\n } else {\n style[styleName] = '';\n }\n }\n }\n }\n\n};\n\nReactPerf.measureMethods(CSSPropertyOperations, 'CSSPropertyOperations', {\n setValueForStyles: 'setValueForStyles'\n});\n\nmodule.exports = CSSPropertyOperations;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/CSSPropertyOperations.js\n ** module id = 95\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/CSSPropertyOperations.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSProperty\n */\n\n'use strict';\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\nvar isUnitlessNumber = {\n animationIterationCount: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n stopOpacity: true,\n strokeDashoffset: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n background: {\n backgroundAttachment: true,\n backgroundColor: true,\n backgroundImage: true,\n backgroundPositionX: true,\n backgroundPositionY: true,\n backgroundRepeat: true\n },\n backgroundPosition: {\n backgroundPositionX: true,\n backgroundPositionY: true\n },\n border: {\n borderWidth: true,\n borderStyle: true,\n borderColor: true\n },\n borderBottom: {\n borderBottomWidth: true,\n borderBottomStyle: true,\n borderBottomColor: true\n },\n borderLeft: {\n borderLeftWidth: true,\n borderLeftStyle: true,\n borderLeftColor: true\n },\n borderRight: {\n borderRightWidth: true,\n borderRightStyle: true,\n borderRightColor: true\n },\n borderTop: {\n borderTopWidth: true,\n borderTopStyle: true,\n borderTopColor: true\n },\n font: {\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n fontSize: true,\n lineHeight: true,\n fontFamily: true\n },\n outline: {\n outlineWidth: true,\n outlineStyle: true,\n outlineColor: true\n }\n};\n\nvar CSSProperty = {\n isUnitlessNumber: isUnitlessNumber,\n shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/CSSProperty.js\n ** module id = 96\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/CSSProperty.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule camelizeStyleName\n * @typechecks\n */\n\n'use strict';\n\nvar camelize = __webpack_require__(98);\n\nvar msPattern = /^-ms-/;\n\n/**\n * Camelcases a hyphenated CSS property name, for example:\n *\n * > camelizeStyleName('background-color')\n * < \"backgroundColor\"\n * > camelizeStyleName('-moz-transition')\n * < \"MozTransition\"\n * > camelizeStyleName('-ms-transition')\n * < \"msTransition\"\n *\n * As Andi Smith suggests\n * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n * is converted to lowercase `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelizeStyleName(string) {\n return camelize(string.replace(msPattern, 'ms-'));\n}\n\nmodule.exports = camelizeStyleName;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/camelizeStyleName.js\n ** module id = 97\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/camelizeStyleName.js?")},function(module,exports){eval('/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule camelize\n * @typechecks\n */\n\n"use strict";\n\nvar _hyphenPattern = /-(.)/g;\n\n/**\n * Camelcases a hyphenated string, for example:\n *\n * > camelize(\'background-color\')\n * < "backgroundColor"\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelize(string) {\n return string.replace(_hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n}\n\nmodule.exports = camelize;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/camelize.js\n ** module id = 98\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/camelize.js?')},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule dangerousStyleValue\n * @typechecks static-only\n */\n\n'use strict';\n\nvar CSSProperty = __webpack_require__(96);\n\nvar isUnitlessNumber = CSSProperty.isUnitlessNumber;\n\n/**\n * Convert a value into the proper css writable value. The style name `name`\n * should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} name CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(name, value) {\n // Note that we've removed escapeTextForBrowser() calls here since the\n // whole string will be escaped when the attribute is injected into\n // the markup. If you provide unsafe user data here they can inject\n // arbitrary CSS which may be problematic (I couldn't repro this):\n // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n // This is not an XSS hole but instead a potential CSS injection issue\n // which has lead to a greater discussion about how we're going to\n // trust URLs moving forward. See #2115901\n\n var isEmpty = value == null || typeof value === 'boolean' || value === '';\n if (isEmpty) {\n return '';\n }\n\n var isNonNumeric = isNaN(value);\n if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {\n return '' + value; // cast to string\n }\n\n if (typeof value === 'string') {\n value = value.trim();\n }\n return value + 'px';\n}\n\nmodule.exports = dangerousStyleValue;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/dangerousStyleValue.js\n ** module id = 99\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/dangerousStyleValue.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule hyphenateStyleName\n * @typechecks\n */\n\n'use strict';\n\nvar hyphenate = __webpack_require__(101);\n\nvar msPattern = /^ms-/;\n\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}\n\nmodule.exports = hyphenateStyleName;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/hyphenateStyleName.js\n ** module id = 100\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/hyphenateStyleName.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule hyphenate\n * @typechecks\n */\n\n'use strict';\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n * > hyphenate('backgroundColor')\n * < \"background-color\"\n *\n * For CSS style names, use `hyphenateStyleName` instead which works properly\n * with all vendor prefixes, including `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/hyphenate.js\n ** module id = 101\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/hyphenate.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule memoizeStringOnly\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n *\n * @param {function} callback\n * @return {function}\n */\nfunction memoizeStringOnly(callback) {\n var cache = {};\n return function (string) {\n if (!cache.hasOwnProperty(string)) {\n cache[string] = callback.call(this, string);\n }\n return cache[string];\n };\n}\n\nmodule.exports = memoizeStringOnly;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/~/fbjs/lib/memoizeStringOnly.js\n ** module id = 102\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/~/fbjs/lib/memoizeStringOnly.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMButton\n */\n\n'use strict';\n\nvar mouseListenerNames = {\n onClick: true,\n onDoubleClick: true,\n onMouseDown: true,\n onMouseMove: true,\n onMouseUp: true,\n\n onClickCapture: true,\n onDoubleClickCapture: true,\n onMouseDownCapture: true,\n onMouseMoveCapture: true,\n onMouseUpCapture: true\n};\n\n/**\n * Implements a <button> native component that does not receive mouse events\n * when `disabled` is set.\n */\nvar ReactDOMButton = {\n getNativeProps: function (inst, props, context) {\n if (!props.disabled) {\n return props;\n }\n\n // Copy the props, except the mouse listeners\n var nativeProps = {};\n for (var key in props) {\n if (props.hasOwnProperty(key) && !mouseListenerNames[key]) {\n nativeProps[key] = props[key];\n }\n }\n\n return nativeProps;\n }\n};\n\nmodule.exports = ReactDOMButton;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMButton.js\n ** module id = 103\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMButton.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMInput\n */\n\n'use strict';\n\nvar ReactDOMIDOperations = __webpack_require__(26);\nvar LinkedValueUtils = __webpack_require__(105);\nvar ReactMount = __webpack_require__(27);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\n\nvar instancesByReactID = {};\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMInput.updateWrapper(this);\n }\n}\n\n/**\n * Implements an <input> native component that allows setting these optional\n * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n *\n * If `checked` or `value` are not supplied (or null/undefined), user actions\n * that affect the checked state or value will trigger updates to the element.\n *\n * If they are supplied (and not null/undefined), the rendered element will not\n * trigger updates to the element. Instead, the props must change in order for\n * the rendered element to be updated.\n *\n * The rendered element will be initialized as unchecked (or `defaultChecked`)\n * with an empty value (or `defaultValue`).\n *\n * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n */\nvar ReactDOMInput = {\n getNativeProps: function (inst, props, context) {\n var value = LinkedValueUtils.getValue(props);\n var checked = LinkedValueUtils.getChecked(props);\n\n var nativeProps = assign({}, props, {\n defaultChecked: undefined,\n defaultValue: undefined,\n value: value != null ? value : inst._wrapperState.initialValue,\n checked: checked != null ? checked : inst._wrapperState.initialChecked,\n onChange: inst._wrapperState.onChange\n });\n\n return nativeProps;\n },\n\n mountWrapper: function (inst, props) {\n if (false) {\n LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner);\n }\n\n var defaultValue = props.defaultValue;\n inst._wrapperState = {\n initialChecked: props.defaultChecked || false,\n initialValue: defaultValue != null ? defaultValue : null,\n onChange: _handleChange.bind(inst)\n };\n },\n\n mountReadyWrapper: function (inst) {\n // Can't be in mountWrapper or else server rendering leaks.\n instancesByReactID[inst._rootNodeID] = inst;\n },\n\n unmountWrapper: function (inst) {\n delete instancesByReactID[inst._rootNodeID];\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // TODO: Shouldn't this be getChecked(props)?\n var checked = props.checked;\n if (checked != null) {\n ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID, 'checked', checked || false);\n }\n\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID, 'value', '' + value);\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n // Here we use asap to wait until all updates have propagated, which\n // is important when using controlled components within layers:\n // https://github.com/facebook/react/issues/1698\n ReactUpdates.asap(forceUpdateIfMounted, this);\n\n var name = props.name;\n if (props.type === 'radio' && name != null) {\n var rootNode = ReactMount.getNode(this._rootNodeID);\n var queryRoot = rootNode;\n\n while (queryRoot.parentNode) {\n queryRoot = queryRoot.parentNode;\n }\n\n // If `rootNode.form` was non-null, then we could try `form.elements`,\n // but that sometimes behaves strangely in IE8. We could also try using\n // `form.getElementsByName`, but that will only return direct children\n // and won't include inputs that use the HTML5 `form=` attribute. Since\n // the input might not even be in a form, let's just use the global\n // `querySelectorAll` to ensure we don't miss anything.\n var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type=\"radio\"]');\n\n for (var i = 0; i < group.length; i++) {\n var otherNode = group[i];\n if (otherNode === rootNode || otherNode.form !== rootNode.form) {\n continue;\n }\n // This will throw if radio buttons rendered by different copies of React\n // and the same name are rendered into the same form (same as #1939).\n // That's probably okay; we don't support it just as we don't support\n // mixing React with non-React.\n var otherID = ReactMount.getID(otherNode);\n !otherID ? false ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the ' + 'same `name` is not supported.') : invariant(false) : undefined;\n var otherInstance = instancesByReactID[otherID];\n !otherInstance ? false ? invariant(false, 'ReactDOMInput: Unknown radio button ID %s.', otherID) : invariant(false) : undefined;\n // If this is a controlled radio button group, forcing the input that\n // was previously checked to update will cause it to be come re-checked\n // as appropriate.\n ReactUpdates.asap(forceUpdateIfMounted, otherInstance);\n }\n }\n\n return returnValue;\n}\n\nmodule.exports = ReactDOMInput;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMInput.js\n ** module id = 104\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMInput.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule LinkedValueUtils\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactPropTypes = __webpack_require__(106);\nvar ReactPropTypeLocations = __webpack_require__(64);\n\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\nvar hasReadOnlyValue = {\n 'button': true,\n 'checkbox': true,\n 'image': true,\n 'hidden': true,\n 'radio': true,\n 'reset': true,\n 'submit': true\n};\n\nfunction _assertSingleLink(inputProps) {\n !(inputProps.checkedLink == null || inputProps.valueLink == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use ' + 'checkedLink, you probably don\\'t want to use valueLink and vice versa.') : invariant(false) : undefined;\n}\nfunction _assertValueLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.value == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want ' + 'to use value or onChange, you probably don\\'t want to use valueLink.') : invariant(false) : undefined;\n}\n\nfunction _assertCheckedLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.checked == null && inputProps.onChange == null) ? false ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. ' + 'If you want to use checked or onChange, you probably don\\'t want to ' + 'use checkedLink') : invariant(false) : undefined;\n}\n\nvar propTypes = {\n value: function (props, propName, componentName) {\n if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n checked: function (props, propName, componentName) {\n if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n onChange: ReactPropTypes.func\n};\n\nvar loggedTypeFailures = {};\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueUtils = {\n checkPropTypes: function (tagName, props, owner) {\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error = propTypes[propName](props, propName, tagName, ReactPropTypeLocations.prop);\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var addendum = getDeclarationErrorAddendum(owner);\n false ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : undefined;\n }\n }\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current value of the input either from value prop or link.\n */\n getValue: function (inputProps) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.value;\n }\n return inputProps.value;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current checked status of the input either from checked prop\n * or link.\n */\n getChecked: function (inputProps) {\n if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.value;\n }\n return inputProps.checked;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @param {SyntheticEvent} event change event to handle\n */\n executeOnChange: function (inputProps, event) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.requestChange(event.target.value);\n } else if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.requestChange(event.target.checked);\n } else if (inputProps.onChange) {\n return inputProps.onChange.call(undefined, event);\n }\n }\n};\n\nmodule.exports = LinkedValueUtils;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/LinkedValueUtils.js\n ** module id = 105\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/LinkedValueUtils.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypes\n */\n\n'use strict';\n\nvar ReactElement = __webpack_require__(41);\nvar ReactPropTypeLocationNames = __webpack_require__(65);\n\nvar emptyFunction = __webpack_require__(14);\nvar getIteratorFn = __webpack_require__(107);\n\n/**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\nvar ANONYMOUS = '<<anonymous>>';\n\nvar ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n};\n\nfunction createChainableTypeChecker(validate) {\n function checkType(isRequired, props, propName, componentName, location, propFullName) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n if (props[propName] == null) {\n var locationName = ReactPropTypeLocationNames[location];\n if (isRequired) {\n return new Error('Required ' + locationName + ' `' + propFullName + '` was not specified in ' + ('`' + componentName + '`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n}\n\nfunction createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n var locationName = ReactPropTypeLocationNames[location];\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturns(null));\n}\n\nfunction createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var locationName = ReactPropTypeLocationNames[location];\n var propType = getPropType(propValue);\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']');\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!ReactElement.isValidElement(props[propName])) {\n var locationName = ReactPropTypeLocationNames[location];\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var locationName = ReactPropTypeLocationNames[location];\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n return createChainableTypeChecker(function () {\n return new Error('Invalid argument supplied to oneOf, expected an instance of array.');\n });\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (propValue === expectedValues[i]) {\n return null;\n }\n }\n\n var locationName = ReactPropTypeLocationNames[location];\n var valuesString = JSON.stringify(expectedValues);\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n var locationName = ReactPropTypeLocationNames[location];\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n return createChainableTypeChecker(function () {\n return new Error('Invalid argument supplied to oneOfType, expected an instance of array.');\n });\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName) == null) {\n return null;\n }\n }\n\n var locationName = ReactPropTypeLocationNames[location];\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n var locationName = ReactPropTypeLocationNames[location];\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n var locationName = ReactPropTypeLocationNames[location];\n return new Error('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n}\n\nfunction isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || ReactElement.isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n}\n\n// Equivalent of `typeof` but with special handling for array and regexp.\nfunction getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n return propType;\n}\n\n// This handles more types than `getPropType`. Only used for error messages.\n// See `createPrimitiveTypeChecker`.\nfunction getPreciseType(propValue) {\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n}\n\n// Returns class name of the object, if any.\nfunction getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return '<<anonymous>>';\n }\n return propValue.constructor.name;\n}\n\nmodule.exports = ReactPropTypes;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypes.js\n ** module id = 106\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypes.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getIteratorFn\n * @typechecks static-only\n */\n\n'use strict';\n\n/* global Symbol */\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n/**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\nfunction getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\n\nmodule.exports = getIteratorFn;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getIteratorFn.js\n ** module id = 107\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getIteratorFn.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMOption\n */\n\n'use strict';\n\nvar ReactChildren = __webpack_require__(109);\nvar ReactDOMSelect = __webpack_require__(111);\n\nvar assign = __webpack_require__(38);\nvar warning = __webpack_require__(24);\n\nvar valueContextKey = ReactDOMSelect.valueContextKey;\n\n/**\n * Implements an <option> native component that warns when `selected` is set.\n */\nvar ReactDOMOption = {\n mountWrapper: function (inst, props, context) {\n // TODO (yungsters): Remove support for `selected` in <option>.\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : undefined;\n }\n\n // Look up whether this option is 'selected' via context\n var selectValue = context[valueContextKey];\n\n // If context key is null (e.g., no specified value or after initial mount)\n // or missing (e.g., for <datalist>), we don't change props.selected\n var selected = null;\n if (selectValue != null) {\n selected = false;\n if (Array.isArray(selectValue)) {\n // multiple\n for (var i = 0; i < selectValue.length; i++) {\n if ('' + selectValue[i] === '' + props.value) {\n selected = true;\n break;\n }\n }\n } else {\n selected = '' + selectValue === '' + props.value;\n }\n }\n\n inst._wrapperState = { selected: selected };\n },\n\n getNativeProps: function (inst, props, context) {\n var nativeProps = assign({ selected: undefined, children: undefined }, props);\n\n // Read state only from initial mount because <select> updates value\n // manually; we need the initial state only for server rendering\n if (inst._wrapperState.selected != null) {\n nativeProps.selected = inst._wrapperState.selected;\n }\n\n var content = '';\n\n // Flatten children and warn if they aren't strings or numbers;\n // invalid types are ignored.\n ReactChildren.forEach(props.children, function (child) {\n if (child == null) {\n return;\n }\n if (typeof child === 'string' || typeof child === 'number') {\n content += child;\n } else {\n false ? warning(false, 'Only strings and numbers are supported as <option> children.') : undefined;\n }\n });\n\n if (content) {\n nativeProps.children = content;\n }\n\n return nativeProps;\n }\n\n};\n\nmodule.exports = ReactDOMOption;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMOption.js\n ** module id = 108\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMOption.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactChildren\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(55);\nvar ReactElement = __webpack_require__(41);\n\nvar emptyFunction = __webpack_require__(14);\nvar traverseAllChildren = __webpack_require__(110);\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\nvar userProvidedKeyEscapeRegex = /\\/(?!\\/)/g;\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, '//');\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n this.func = forEachFunction;\n this.context = forEachContext;\n this.count = 0;\n}\nForEachBookKeeping.prototype.destructor = function () {\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(bookKeeping, child, name) {\n var func = bookKeeping.func;\n var context = bookKeeping.context;\n\n func.call(context, child, bookKeeping.count++);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n if (children == null) {\n return children;\n }\n var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n traverseAllChildren(children, forEachSingleChild, traverseContext);\n ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n this.result = mapResult;\n this.keyPrefix = keyPrefix;\n this.func = mapFunction;\n this.context = mapContext;\n this.count = 0;\n}\nMapBookKeeping.prototype.destructor = function () {\n this.result = null;\n this.keyPrefix = null;\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\nfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n var result = bookKeeping.result;\n var keyPrefix = bookKeeping.keyPrefix;\n var func = bookKeeping.func;\n var context = bookKeeping.context;\n\n var mappedChild = func.call(context, child, bookKeeping.count++);\n if (Array.isArray(mappedChild)) {\n mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n } else if (mappedChild != null) {\n if (ReactElement.isValidElement(mappedChild)) {\n mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n keyPrefix + (mappedChild !== child ? escapeUserProvidedKey(mappedChild.key || '') + '/' : '') + childKey);\n }\n result.push(mappedChild);\n }\n}\n\nfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n var escapedPrefix = '';\n if (prefix != null) {\n escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n }\n var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n MapBookKeeping.release(traverseContext);\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n return result;\n}\n\nfunction forEachSingleChildDummy(traverseContext, child, name) {\n return null;\n}\n\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\nfunction countChildren(children, context) {\n return traverseAllChildren(children, forEachSingleChildDummy, null);\n}\n\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n */\nfunction toArray(children) {\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n return result;\n}\n\nvar ReactChildren = {\n forEach: forEachChildren,\n map: mapChildren,\n mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n count: countChildren,\n toArray: toArray\n};\n\nmodule.exports = ReactChildren;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactChildren.js\n ** module id = 109\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactChildren.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule traverseAllChildren\n */\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactElement = __webpack_require__(41);\nvar ReactInstanceHandles = __webpack_require__(44);\n\nvar getIteratorFn = __webpack_require__(107);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\nvar SEPARATOR = ReactInstanceHandles.SEPARATOR;\nvar SUBSEPARATOR = ':';\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar userProvidedKeyEscaperLookup = {\n '=': '=0',\n '.': '=1',\n ':': '=2'\n};\n\nvar userProvidedKeyEscapeRegex = /[=.:]/g;\n\nvar didWarnAboutMaps = false;\n\nfunction userProvidedKeyEscaper(match) {\n return userProvidedKeyEscaperLookup[match];\n}\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n if (component && component.key != null) {\n // Explicit key\n return wrapUserProvidedKey(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * Escape a component key so that it is safe to use in a reactid.\n *\n * @param {*} text Component key to be escaped.\n * @return {string} An escaped string.\n */\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, userProvidedKeyEscaper);\n}\n\n/**\n * Wrap a `key` value explicitly provided by the user to distinguish it from\n * implicitly-generated keys generated by a component's index in its parent.\n *\n * @param {string} key Value of a user-provided `key` attribute\n * @return {string}\n */\nfunction wrapUserProvidedKey(key) {\n return '$' + escapeUserProvidedKey(key);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' || ReactElement.isValidElement(children)) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.') : undefined;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + wrapUserProvidedKey(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (false) {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : invariant(false) : undefined;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/traverseAllChildren.js\n ** module id = 110\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/traverseAllChildren.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMSelect\n */\n\n'use strict';\n\nvar LinkedValueUtils = __webpack_require__(105);\nvar ReactMount = __webpack_require__(27);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar warning = __webpack_require__(24);\n\nvar valueContextKey = '__ReactDOMSelect_value$' + Math.random().toString(36).slice(2);\n\nfunction updateOptionsIfPendingUpdateAndMounted() {\n if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n this._wrapperState.pendingUpdate = false;\n\n var props = this._currentElement.props;\n var value = LinkedValueUtils.getValue(props);\n\n if (value != null) {\n updateOptions(this, Boolean(props.multiple), value);\n }\n }\n}\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nvar valuePropNames = ['value', 'defaultValue'];\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction checkSelectPropTypes(inst, props) {\n var owner = inst._currentElement._owner;\n LinkedValueUtils.checkPropTypes('select', props, owner);\n\n for (var i = 0; i < valuePropNames.length; i++) {\n var propName = valuePropNames[i];\n if (props[propName] == null) {\n continue;\n }\n if (props.multiple) {\n false ? warning(Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;\n } else {\n false ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : undefined;\n }\n }\n}\n\n/**\n * @param {ReactDOMComponent} inst\n * @param {boolean} multiple\n * @param {*} propValue A stringable (with `multiple`, a list of stringables).\n * @private\n */\nfunction updateOptions(inst, multiple, propValue) {\n var selectedValue, i;\n var options = ReactMount.getNode(inst._rootNodeID).options;\n\n if (multiple) {\n selectedValue = {};\n for (i = 0; i < propValue.length; i++) {\n selectedValue['' + propValue[i]] = true;\n }\n for (i = 0; i < options.length; i++) {\n var selected = selectedValue.hasOwnProperty(options[i].value);\n if (options[i].selected !== selected) {\n options[i].selected = selected;\n }\n }\n } else {\n // Do not set `select.value` as exact behavior isn't consistent across all\n // browsers for all cases.\n selectedValue = '' + propValue;\n for (i = 0; i < options.length; i++) {\n if (options[i].value === selectedValue) {\n options[i].selected = true;\n return;\n }\n }\n if (options.length) {\n options[0].selected = true;\n }\n }\n}\n\n/**\n * Implements a <select> native component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * stringable. If `multiple` is true, the prop must be an array of stringables.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = {\n valueContextKey: valueContextKey,\n\n getNativeProps: function (inst, props, context) {\n return assign({}, props, {\n onChange: inst._wrapperState.onChange,\n value: undefined\n });\n },\n\n mountWrapper: function (inst, props) {\n if (false) {\n checkSelectPropTypes(inst, props);\n }\n\n var value = LinkedValueUtils.getValue(props);\n inst._wrapperState = {\n pendingUpdate: false,\n initialValue: value != null ? value : props.defaultValue,\n onChange: _handleChange.bind(inst),\n wasMultiple: Boolean(props.multiple)\n };\n },\n\n processChildContext: function (inst, props, context) {\n // Pass down initial value so initial generated markup has correct\n // `selected` attributes\n var childContext = assign({}, context);\n childContext[valueContextKey] = inst._wrapperState.initialValue;\n return childContext;\n },\n\n postUpdateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // After the initial mount, we control selected-ness manually so don't pass\n // the context value down\n inst._wrapperState.initialValue = undefined;\n\n var wasMultiple = inst._wrapperState.wasMultiple;\n inst._wrapperState.wasMultiple = Boolean(props.multiple);\n\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n inst._wrapperState.pendingUpdate = false;\n updateOptions(inst, Boolean(props.multiple), value);\n } else if (wasMultiple !== Boolean(props.multiple)) {\n // For simplicity, reapply `defaultValue` if `multiple` is toggled.\n if (props.defaultValue != null) {\n updateOptions(inst, Boolean(props.multiple), props.defaultValue);\n } else {\n // Revert the select back to its default unselected state.\n updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');\n }\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n this._wrapperState.pendingUpdate = true;\n ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMSelect;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMSelect.js\n ** module id = 111\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMSelect.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMTextarea\n */\n\n'use strict';\n\nvar LinkedValueUtils = __webpack_require__(105);\nvar ReactDOMIDOperations = __webpack_require__(26);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMTextarea.updateWrapper(this);\n }\n}\n\n/**\n * Implements a <textarea> native component that allows setting `value`, and\n * `defaultValue`. This differs from the traditional DOM API because value is\n * usually set as PCDATA children.\n *\n * If `value` is not supplied (or null/undefined), user actions that affect the\n * value will trigger updates to the element.\n *\n * If `value` is supplied (and not null/undefined), the rendered element will\n * not trigger updates to the element. Instead, the `value` prop must change in\n * order for the rendered element to be updated.\n *\n * The rendered element will be initialized with an empty value, the prop\n * `defaultValue` if specified, or the children content (deprecated).\n */\nvar ReactDOMTextarea = {\n getNativeProps: function (inst, props, context) {\n !(props.dangerouslySetInnerHTML == null) ? false ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : invariant(false) : undefined;\n\n // Always set children to the same thing. In IE9, the selection range will\n // get reset if `textContent` is mutated.\n var nativeProps = assign({}, props, {\n defaultValue: undefined,\n value: undefined,\n children: inst._wrapperState.initialValue,\n onChange: inst._wrapperState.onChange\n });\n\n return nativeProps;\n },\n\n mountWrapper: function (inst, props) {\n if (false) {\n LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner);\n }\n\n var defaultValue = props.defaultValue;\n // TODO (yungsters): Remove support for children content in <textarea>.\n var children = props.children;\n if (children != null) {\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : undefined;\n }\n !(defaultValue == null) ? false ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : invariant(false) : undefined;\n if (Array.isArray(children)) {\n !(children.length <= 1) ? false ? invariant(false, '<textarea> can only have at most one child.') : invariant(false) : undefined;\n children = children[0];\n }\n\n defaultValue = '' + children;\n }\n if (defaultValue == null) {\n defaultValue = '';\n }\n var value = LinkedValueUtils.getValue(props);\n\n inst._wrapperState = {\n // We save the initial value so that `ReactDOMComponent` doesn't update\n // `textContent` (unnecessary since we update value).\n // The initial value can be a boolean or object so that's why it's\n // forced to be a string.\n initialValue: '' + (value != null ? value : defaultValue),\n onChange: _handleChange.bind(inst)\n };\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID, 'value', '' + value);\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n ReactUpdates.asap(forceUpdateIfMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMTextarea;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMTextarea.js\n ** module id = 112\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMTextarea.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactMultiChild\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactComponentEnvironment = __webpack_require__(63);\nvar ReactMultiChildUpdateTypes = __webpack_require__(15);\n\nvar ReactCurrentOwner = __webpack_require__(4);\nvar ReactReconciler = __webpack_require__(49);\nvar ReactChildReconciler = __webpack_require__(114);\n\nvar flattenChildren = __webpack_require__(115);\n\n/**\n * Updating children of a component may trigger recursive updates. The depth is\n * used to batch recursive updates to render markup more efficiently.\n *\n * @type {number}\n * @private\n */\nvar updateDepth = 0;\n\n/**\n * Queue of update configuration objects.\n *\n * Each object has a `type` property that is in `ReactMultiChildUpdateTypes`.\n *\n * @type {array<object>}\n * @private\n */\nvar updateQueue = [];\n\n/**\n * Queue of markup to be rendered.\n *\n * @type {array<string>}\n * @private\n */\nvar markupQueue = [];\n\n/**\n * Enqueues markup to be rendered and inserted at a supplied index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} markup Markup that renders into an element.\n * @param {number} toIndex Destination index.\n * @private\n */\nfunction enqueueInsertMarkup(parentID, markup, toIndex) {\n // NOTE: Null values reduce hidden classes.\n updateQueue.push({\n parentID: parentID,\n parentNode: null,\n type: ReactMultiChildUpdateTypes.INSERT_MARKUP,\n markupIndex: markupQueue.push(markup) - 1,\n content: null,\n fromIndex: null,\n toIndex: toIndex\n });\n}\n\n/**\n * Enqueues moving an existing element to another index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Source index of the existing element.\n * @param {number} toIndex Destination index of the element.\n * @private\n */\nfunction enqueueMove(parentID, fromIndex, toIndex) {\n // NOTE: Null values reduce hidden classes.\n updateQueue.push({\n parentID: parentID,\n parentNode: null,\n type: ReactMultiChildUpdateTypes.MOVE_EXISTING,\n markupIndex: null,\n content: null,\n fromIndex: fromIndex,\n toIndex: toIndex\n });\n}\n\n/**\n * Enqueues removing an element at an index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Index of the element to remove.\n * @private\n */\nfunction enqueueRemove(parentID, fromIndex) {\n // NOTE: Null values reduce hidden classes.\n updateQueue.push({\n parentID: parentID,\n parentNode: null,\n type: ReactMultiChildUpdateTypes.REMOVE_NODE,\n markupIndex: null,\n content: null,\n fromIndex: fromIndex,\n toIndex: null\n });\n}\n\n/**\n * Enqueues setting the markup of a node.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} markup Markup that renders into an element.\n * @private\n */\nfunction enqueueSetMarkup(parentID, markup) {\n // NOTE: Null values reduce hidden classes.\n updateQueue.push({\n parentID: parentID,\n parentNode: null,\n type: ReactMultiChildUpdateTypes.SET_MARKUP,\n markupIndex: null,\n content: markup,\n fromIndex: null,\n toIndex: null\n });\n}\n\n/**\n * Enqueues setting the text content.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} textContent Text content to set.\n * @private\n */\nfunction enqueueTextContent(parentID, textContent) {\n // NOTE: Null values reduce hidden classes.\n updateQueue.push({\n parentID: parentID,\n parentNode: null,\n type: ReactMultiChildUpdateTypes.TEXT_CONTENT,\n markupIndex: null,\n content: textContent,\n fromIndex: null,\n toIndex: null\n });\n}\n\n/**\n * Processes any enqueued updates.\n *\n * @private\n */\nfunction processQueue() {\n if (updateQueue.length) {\n ReactComponentEnvironment.processChildrenUpdates(updateQueue, markupQueue);\n clearQueue();\n }\n}\n\n/**\n * Clears any enqueued updates.\n *\n * @private\n */\nfunction clearQueue() {\n updateQueue.length = 0;\n markupQueue.length = 0;\n}\n\n/**\n * ReactMultiChild are capable of reconciling multiple children.\n *\n * @class ReactMultiChild\n * @internal\n */\nvar ReactMultiChild = {\n\n /**\n * Provides common functionality for components that must reconcile multiple\n * children. This is used by `ReactDOMComponent` to mount, update, and\n * unmount child components.\n *\n * @lends {ReactMultiChild.prototype}\n */\n Mixin: {\n\n _reconcilerInstantiateChildren: function (nestedChildren, transaction, context) {\n if (false) {\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context);\n } finally {\n ReactCurrentOwner.current = null;\n }\n }\n }\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context);\n },\n\n _reconcilerUpdateChildren: function (prevChildren, nextNestedChildrenElements, transaction, context) {\n var nextChildren;\n if (false) {\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n nextChildren = flattenChildren(nextNestedChildrenElements);\n } finally {\n ReactCurrentOwner.current = null;\n }\n return ReactChildReconciler.updateChildren(prevChildren, nextChildren, transaction, context);\n }\n }\n nextChildren = flattenChildren(nextNestedChildrenElements);\n return ReactChildReconciler.updateChildren(prevChildren, nextChildren, transaction, context);\n },\n\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildren Nested child maps.\n * @return {array} An array of mounted representations.\n * @internal\n */\n mountChildren: function (nestedChildren, transaction, context) {\n var children = this._reconcilerInstantiateChildren(nestedChildren, transaction, context);\n this._renderedChildren = children;\n var mountImages = [];\n var index = 0;\n for (var name in children) {\n if (children.hasOwnProperty(name)) {\n var child = children[name];\n // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n var rootID = this._rootNodeID + name;\n var mountImage = ReactReconciler.mountComponent(child, rootID, transaction, context);\n child._mountIndex = index++;\n mountImages.push(mountImage);\n }\n }\n return mountImages;\n },\n\n /**\n * Replaces any rendered children with a text content string.\n *\n * @param {string} nextContent String of content.\n * @internal\n */\n updateTextContent: function (nextContent) {\n updateDepth++;\n var errorThrown = true;\n try {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren);\n // TODO: The setTextContent operation should be enough\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n this._unmountChild(prevChildren[name]);\n }\n }\n // Set new text content.\n this.setTextContent(nextContent);\n errorThrown = false;\n } finally {\n updateDepth--;\n if (!updateDepth) {\n if (errorThrown) {\n clearQueue();\n } else {\n processQueue();\n }\n }\n }\n },\n\n /**\n * Replaces any rendered children with a markup string.\n *\n * @param {string} nextMarkup String of markup.\n * @internal\n */\n updateMarkup: function (nextMarkup) {\n updateDepth++;\n var errorThrown = true;\n try {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren);\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n this._unmountChildByName(prevChildren[name], name);\n }\n }\n this.setMarkup(nextMarkup);\n errorThrown = false;\n } finally {\n updateDepth--;\n if (!updateDepth) {\n if (errorThrown) {\n clearQueue();\n } else {\n processQueue();\n }\n }\n }\n },\n\n /**\n * Updates the rendered children with new children.\n *\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n updateChildren: function (nextNestedChildrenElements, transaction, context) {\n updateDepth++;\n var errorThrown = true;\n try {\n this._updateChildren(nextNestedChildrenElements, transaction, context);\n errorThrown = false;\n } finally {\n updateDepth--;\n if (!updateDepth) {\n if (errorThrown) {\n clearQueue();\n } else {\n processQueue();\n }\n }\n }\n },\n\n /**\n * Improve performance by isolating this hot code path from the try/catch\n * block in `updateChildren`.\n *\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @final\n * @protected\n */\n _updateChildren: function (nextNestedChildrenElements, transaction, context) {\n var prevChildren = this._renderedChildren;\n var nextChildren = this._reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, transaction, context);\n this._renderedChildren = nextChildren;\n if (!nextChildren && !prevChildren) {\n return;\n }\n var name;\n // `nextIndex` will increment for each child in `nextChildren`, but\n // `lastIndex` will be the last index visited in `prevChildren`.\n var lastIndex = 0;\n var nextIndex = 0;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n var prevChild = prevChildren && prevChildren[name];\n var nextChild = nextChildren[name];\n if (prevChild === nextChild) {\n this.moveChild(prevChild, nextIndex, lastIndex);\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n prevChild._mountIndex = nextIndex;\n } else {\n if (prevChild) {\n // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n this._unmountChild(prevChild);\n }\n // The child must be instantiated before it's mounted.\n this._mountChildByNameAtIndex(nextChild, name, nextIndex, transaction, context);\n }\n nextIndex++;\n }\n // Remove children that are no longer present.\n for (name in prevChildren) {\n if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) {\n this._unmountChild(prevChildren[name]);\n }\n }\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted.\n *\n * @internal\n */\n unmountChildren: function () {\n var renderedChildren = this._renderedChildren;\n ReactChildReconciler.unmountChildren(renderedChildren);\n this._renderedChildren = null;\n },\n\n /**\n * Moves a child component to the supplied index.\n *\n * @param {ReactComponent} child Component to move.\n * @param {number} toIndex Destination index of the element.\n * @param {number} lastIndex Last index visited of the siblings of `child`.\n * @protected\n */\n moveChild: function (child, toIndex, lastIndex) {\n // If the index of `child` is less than `lastIndex`, then it needs to\n // be moved. Otherwise, we do not need to move it because a child will be\n // inserted or moved before `child`.\n if (child._mountIndex < lastIndex) {\n enqueueMove(this._rootNodeID, child._mountIndex, toIndex);\n }\n },\n\n /**\n * Creates a child component.\n *\n * @param {ReactComponent} child Component to create.\n * @param {string} mountImage Markup to insert.\n * @protected\n */\n createChild: function (child, mountImage) {\n enqueueInsertMarkup(this._rootNodeID, mountImage, child._mountIndex);\n },\n\n /**\n * Removes a child component.\n *\n * @param {ReactComponent} child Child to remove.\n * @protected\n */\n removeChild: function (child) {\n enqueueRemove(this._rootNodeID, child._mountIndex);\n },\n\n /**\n * Sets this text content string.\n *\n * @param {string} textContent Text content to set.\n * @protected\n */\n setTextContent: function (textContent) {\n enqueueTextContent(this._rootNodeID, textContent);\n },\n\n /**\n * Sets this markup string.\n *\n * @param {string} markup Markup to set.\n * @protected\n */\n setMarkup: function (markup) {\n enqueueSetMarkup(this._rootNodeID, markup);\n },\n\n /**\n * Mounts a child with the supplied name.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to mount.\n * @param {string} name Name of the child.\n * @param {number} index Index at which to insert the child.\n * @param {ReactReconcileTransaction} transaction\n * @private\n */\n _mountChildByNameAtIndex: function (child, name, index, transaction, context) {\n // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n var rootID = this._rootNodeID + name;\n var mountImage = ReactReconciler.mountComponent(child, rootID, transaction, context);\n child._mountIndex = index;\n this.createChild(child, mountImage);\n },\n\n /**\n * Unmounts a rendered child.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to unmount.\n * @private\n */\n _unmountChild: function (child) {\n this.removeChild(child);\n child._mountIndex = null;\n }\n\n }\n\n};\n\nmodule.exports = ReactMultiChild;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactMultiChild.js\n ** module id = 113\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactMultiChild.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactChildReconciler\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactReconciler = __webpack_require__(49);\n\nvar instantiateReactComponent = __webpack_require__(61);\nvar shouldUpdateReactComponent = __webpack_require__(66);\nvar traverseAllChildren = __webpack_require__(110);\nvar warning = __webpack_require__(24);\n\nfunction instantiateChild(childInstances, child, name) {\n // We found a component instance.\n var keyUnique = childInstances[name] === undefined;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(keyUnique, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.', name) : undefined;\n }\n if (child != null && keyUnique) {\n childInstances[name] = instantiateReactComponent(child, null);\n }\n}\n\n/**\n * ReactChildReconciler provides helpers for initializing or updating a set of\n * children. Its output is suitable for passing it onto ReactMultiChild which\n * does diffed reordering and insertion.\n */\nvar ReactChildReconciler = {\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildNodes Nested child maps.\n * @return {?object} A set of child instances.\n * @internal\n */\n instantiateChildren: function (nestedChildNodes, transaction, context) {\n if (nestedChildNodes == null) {\n return null;\n }\n var childInstances = {};\n traverseAllChildren(nestedChildNodes, instantiateChild, childInstances);\n return childInstances;\n },\n\n /**\n * Updates the rendered children and returns a new set of children.\n *\n * @param {?object} prevChildren Previously initialized set of children.\n * @param {?object} nextChildren Flat child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @return {?object} A new set of child instances.\n * @internal\n */\n updateChildren: function (prevChildren, nextChildren, transaction, context) {\n // We currently don't have a way to track moves here but if we use iterators\n // instead of for..in we can zip the iterators and check if an item has\n // moved.\n // TODO: If nothing has changed, return the prevChildren object so that we\n // can quickly bailout if nothing has changed.\n if (!nextChildren && !prevChildren) {\n return null;\n }\n var name;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n var prevChild = prevChildren && prevChildren[name];\n var prevElement = prevChild && prevChild._currentElement;\n var nextElement = nextChildren[name];\n if (prevChild != null && shouldUpdateReactComponent(prevElement, nextElement)) {\n ReactReconciler.receiveComponent(prevChild, nextElement, transaction, context);\n nextChildren[name] = prevChild;\n } else {\n if (prevChild) {\n ReactReconciler.unmountComponent(prevChild, name);\n }\n // The child must be instantiated before it's mounted.\n var nextChildInstance = instantiateReactComponent(nextElement, null);\n nextChildren[name] = nextChildInstance;\n }\n }\n // Unmount children that are no longer present.\n for (name in prevChildren) {\n if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) {\n ReactReconciler.unmountComponent(prevChildren[name]);\n }\n }\n return nextChildren;\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted.\n *\n * @param {?object} renderedChildren Previously initialized set of children.\n * @internal\n */\n unmountChildren: function (renderedChildren) {\n for (var name in renderedChildren) {\n if (renderedChildren.hasOwnProperty(name)) {\n var renderedChild = renderedChildren[name];\n ReactReconciler.unmountComponent(renderedChild);\n }\n }\n }\n\n};\n\nmodule.exports = ReactChildReconciler;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactChildReconciler.js\n ** module id = 114\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactChildReconciler.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule flattenChildren\n */\n\n'use strict';\n\nvar traverseAllChildren = __webpack_require__(110);\nvar warning = __webpack_require__(24);\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name) {\n // We found a component instance.\n var result = traverseContext;\n var keyUnique = result[name] === undefined;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(keyUnique, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.', name) : undefined;\n }\n if (keyUnique && child != null) {\n result[name] = child;\n }\n}\n\n/**\n * Flattens children that are typically specified as `props.children`. Any null\n * children will not be included in the resulting object.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children) {\n if (children == null) {\n return children;\n }\n var result = {};\n traverseAllChildren(children, flattenSingleChildIntoContext, result);\n return result;\n}\n\nmodule.exports = flattenChildren;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/flattenChildren.js\n ** module id = 115\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/flattenChildren.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule shallowEqual\n * @typechecks\n * \n */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n var bHasOwnProperty = hasOwnProperty.bind(objB);\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/shallowEqual.js\n ** module id = 116\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/shallowEqual.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactEventListener\n * @typechecks static-only\n */\n\n'use strict';\n\nvar EventListener = __webpack_require__(118);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar PooledClass = __webpack_require__(55);\nvar ReactInstanceHandles = __webpack_require__(44);\nvar ReactMount = __webpack_require__(27);\nvar ReactUpdates = __webpack_require__(53);\n\nvar assign = __webpack_require__(38);\nvar getEventTarget = __webpack_require__(80);\nvar getUnboundedScrollPosition = __webpack_require__(119);\n\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\n/**\n * Finds the parent React component of `node`.\n *\n * @param {*} node\n * @return {?DOMEventTarget} Parent container, or `null` if the specified node\n * is not nested.\n */\nfunction findParent(node) {\n // TODO: It may be a good idea to cache this to prevent unnecessary DOM\n // traversal, but caching is difficult to do correctly without using a\n // mutation observer to listen for all DOM changes.\n var nodeID = ReactMount.getID(node);\n var rootID = ReactInstanceHandles.getReactRootIDFromNodeID(nodeID);\n var container = ReactMount.findReactContainerForID(rootID);\n var parent = ReactMount.getFirstReactDOM(container);\n return parent;\n}\n\n// Used to store ancestor hierarchy in top level callback\nfunction TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {\n this.topLevelType = topLevelType;\n this.nativeEvent = nativeEvent;\n this.ancestors = [];\n}\nassign(TopLevelCallbackBookKeeping.prototype, {\n destructor: function () {\n this.topLevelType = null;\n this.nativeEvent = null;\n this.ancestors.length = 0;\n }\n});\nPooledClass.addPoolingTo(TopLevelCallbackBookKeeping, PooledClass.twoArgumentPooler);\n\nfunction handleTopLevelImpl(bookKeeping) {\n // TODO: Re-enable event.path handling\n //\n // if (bookKeeping.nativeEvent.path && bookKeeping.nativeEvent.path.length > 1) {\n // // New browsers have a path attribute on native events\n // handleTopLevelWithPath(bookKeeping);\n // } else {\n // // Legacy browsers don't have a path attribute on native events\n // handleTopLevelWithoutPath(bookKeeping);\n // }\n\n void handleTopLevelWithPath; // temporarily unused\n handleTopLevelWithoutPath(bookKeeping);\n}\n\n// Legacy browsers don't have a path attribute on native events\nfunction handleTopLevelWithoutPath(bookKeeping) {\n var topLevelTarget = ReactMount.getFirstReactDOM(getEventTarget(bookKeeping.nativeEvent)) || window;\n\n // Loop through the hierarchy, in case there's any nested components.\n // It's important that we build the array of ancestors before calling any\n // event handlers, because event handlers can modify the DOM, leading to\n // inconsistencies with ReactMount's node cache. See #1105.\n var ancestor = topLevelTarget;\n while (ancestor) {\n bookKeeping.ancestors.push(ancestor);\n ancestor = findParent(ancestor);\n }\n\n for (var i = 0; i < bookKeeping.ancestors.length; i++) {\n topLevelTarget = bookKeeping.ancestors[i];\n var topLevelTargetID = ReactMount.getID(topLevelTarget) || '';\n ReactEventListener._handleTopLevel(bookKeeping.topLevelType, topLevelTarget, topLevelTargetID, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));\n }\n}\n\n// New browsers have a path attribute on native events\nfunction handleTopLevelWithPath(bookKeeping) {\n var path = bookKeeping.nativeEvent.path;\n var currentNativeTarget = path[0];\n var eventsFired = 0;\n for (var i = 0; i < path.length; i++) {\n var currentPathElement = path[i];\n if (currentPathElement.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE) {\n currentNativeTarget = path[i + 1];\n }\n // TODO: slow\n var reactParent = ReactMount.getFirstReactDOM(currentPathElement);\n if (reactParent === currentPathElement) {\n var currentPathElementID = ReactMount.getID(currentPathElement);\n var newRootID = ReactInstanceHandles.getReactRootIDFromNodeID(currentPathElementID);\n bookKeeping.ancestors.push(currentPathElement);\n\n var topLevelTargetID = ReactMount.getID(currentPathElement) || '';\n eventsFired++;\n ReactEventListener._handleTopLevel(bookKeeping.topLevelType, currentPathElement, topLevelTargetID, bookKeeping.nativeEvent, currentNativeTarget);\n\n // Jump to the root of this React render tree\n while (currentPathElementID !== newRootID) {\n i++;\n currentPathElement = path[i];\n currentPathElementID = ReactMount.getID(currentPathElement);\n }\n }\n }\n if (eventsFired === 0) {\n ReactEventListener._handleTopLevel(bookKeeping.topLevelType, window, '', bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));\n }\n}\n\nfunction scrollValueMonitor(cb) {\n var scrollPosition = getUnboundedScrollPosition(window);\n cb(scrollPosition);\n}\n\nvar ReactEventListener = {\n _enabled: true,\n _handleTopLevel: null,\n\n WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null,\n\n setHandleTopLevel: function (handleTopLevel) {\n ReactEventListener._handleTopLevel = handleTopLevel;\n },\n\n setEnabled: function (enabled) {\n ReactEventListener._enabled = !!enabled;\n },\n\n isEnabled: function () {\n return ReactEventListener._enabled;\n },\n\n /**\n * Traps top-level events by using event bubbling.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} handle Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n var element = handle;\n if (!element) {\n return null;\n }\n return EventListener.listen(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n /**\n * Traps a top-level event by using event capturing.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} handle Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n var element = handle;\n if (!element) {\n return null;\n }\n return EventListener.capture(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n monitorScrollValue: function (refresh) {\n var callback = scrollValueMonitor.bind(null, refresh);\n EventListener.listen(window, 'scroll', callback);\n },\n\n dispatchEvent: function (topLevelType, nativeEvent) {\n if (!ReactEventListener._enabled) {\n return;\n }\n\n var bookKeeping = TopLevelCallbackBookKeeping.getPooled(topLevelType, nativeEvent);\n try {\n // Event queue being processed in the same cycle allows\n // `preventDefault`.\n ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping);\n } finally {\n TopLevelCallbackBookKeeping.release(bookKeeping);\n }\n }\n};\n\nmodule.exports = ReactEventListener;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactEventListener.js\n ** module id = 117\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactEventListener.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @providesModule EventListener\n * @typechecks\n */\n\n'use strict';\n\nvar emptyFunction = __webpack_require__(14);\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n /**\n * Listen to DOM events during the bubble phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n listen: function (target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function () {\n target.removeEventListener(eventType, callback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function () {\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n },\n\n /**\n * Listen to DOM events during the capture phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n capture: function (target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, true);\n return {\n remove: function () {\n target.removeEventListener(eventType, callback, true);\n }\n };\n } else {\n if (false) {\n 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.');\n }\n return {\n remove: emptyFunction\n };\n }\n },\n\n registerDefault: function () {}\n};\n\nmodule.exports = EventListener;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/EventListener.js\n ** module id = 118\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/EventListener.js?")},function(module,exports){eval('/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getUnboundedScrollPosition\n * @typechecks\n */\n\n"use strict";\n\n/**\n * Gets the scroll position of the supplied element or window.\n *\n * The return values are unbounded, unlike `getScrollPosition`. This means they\n * may be negative or exceed the element boundaries (which is possible using\n * inertial scrolling).\n *\n * @param {DOMWindow|DOMElement} scrollable\n * @return {object} Map with `x` and `y` keys.\n */\nfunction getUnboundedScrollPosition(scrollable) {\n if (scrollable === window) {\n return {\n x: window.pageXOffset || document.documentElement.scrollLeft,\n y: window.pageYOffset || document.documentElement.scrollTop\n };\n }\n return {\n x: scrollable.scrollLeft,\n y: scrollable.scrollTop\n };\n}\n\nmodule.exports = getUnboundedScrollPosition;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/getUnboundedScrollPosition.js\n ** module id = 119\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/getUnboundedScrollPosition.js?')},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInjection\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(22);\nvar EventPluginHub = __webpack_require__(30);\nvar ReactComponentEnvironment = __webpack_require__(63);\nvar ReactClass = __webpack_require__(121);\nvar ReactEmptyComponent = __webpack_require__(67);\nvar ReactBrowserEventEmitter = __webpack_require__(28);\nvar ReactNativeComponent = __webpack_require__(68);\nvar ReactPerf = __webpack_require__(17);\nvar ReactRootIndex = __webpack_require__(45);\nvar ReactUpdates = __webpack_require__(53);\n\nvar ReactInjection = {\n Component: ReactComponentEnvironment.injection,\n Class: ReactClass.injection,\n DOMProperty: DOMProperty.injection,\n EmptyComponent: ReactEmptyComponent.injection,\n EventPluginHub: EventPluginHub.injection,\n EventEmitter: ReactBrowserEventEmitter.injection,\n NativeComponent: ReactNativeComponent.injection,\n Perf: ReactPerf.injection,\n RootIndex: ReactRootIndex.injection,\n Updates: ReactUpdates.injection\n};\n\nmodule.exports = ReactInjection;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInjection.js\n ** module id = 120\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactInjection.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactClass\n */\n\n'use strict';\n\nvar ReactComponent = __webpack_require__(122);\nvar ReactElement = __webpack_require__(41);\nvar ReactPropTypeLocations = __webpack_require__(64);\nvar ReactPropTypeLocationNames = __webpack_require__(65);\nvar ReactNoopUpdateQueue = __webpack_require__(123);\n\nvar assign = __webpack_require__(38);\nvar emptyObject = __webpack_require__(57);\nvar invariant = __webpack_require__(12);\nvar keyMirror = __webpack_require__(16);\nvar keyOf = __webpack_require__(78);\nvar warning = __webpack_require__(24);\n\nvar MIXINS_KEY = keyOf({ mixins: null });\n\n/**\n * Policies that describe methods in `ReactClassInterface`.\n */\nvar SpecPolicy = keyMirror({\n /**\n * These methods may be defined only once by the class specification or mixin.\n */\n DEFINE_ONCE: null,\n /**\n * These methods may be defined by both the class specification and mixins.\n * Subsequent definitions will be chained. These methods must return void.\n */\n DEFINE_MANY: null,\n /**\n * These methods are overriding the base class.\n */\n OVERRIDE_BASE: null,\n /**\n * These methods are similar to DEFINE_MANY, except we assume they return\n * objects. We try to merge the keys of the return values of all the mixed in\n * functions. If there is a key conflict we throw.\n */\n DEFINE_MANY_MERGED: null\n});\n\nvar injectedMixins = [];\n\nvar warnedSetProps = false;\nfunction warnSetProps() {\n if (!warnedSetProps) {\n warnedSetProps = true;\n false ? warning(false, 'setProps(...) and replaceProps(...) are deprecated. ' + 'Instead, call render again at the top level.') : undefined;\n }\n}\n\n/**\n * Composite components are higher-level components that compose other composite\n * or native components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return <div>Hello World</div>;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\nvar ReactClassInterface = {\n\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: SpecPolicy.DEFINE_MANY,\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: SpecPolicy.DEFINE_MANY,\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return <div>Hello, {name}!</div>;\n * }\n *\n * @return {ReactComponent}\n * @nosideeffects\n * @required\n */\n render: SpecPolicy.DEFINE_ONCE,\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: SpecPolicy.DEFINE_ONCE,\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: SpecPolicy.DEFINE_MANY,\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: SpecPolicy.OVERRIDE_BASE\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\nvar RESERVED_SPEC_KEYS = {\n displayName: function (Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function (Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function (Constructor, childContextTypes) {\n if (false) {\n validateTypeDef(Constructor, childContextTypes, ReactPropTypeLocations.childContext);\n }\n Constructor.childContextTypes = assign({}, Constructor.childContextTypes, childContextTypes);\n },\n contextTypes: function (Constructor, contextTypes) {\n if (false) {\n validateTypeDef(Constructor, contextTypes, ReactPropTypeLocations.context);\n }\n Constructor.contextTypes = assign({}, Constructor.contextTypes, contextTypes);\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function (Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function (Constructor, propTypes) {\n if (false) {\n validateTypeDef(Constructor, propTypes, ReactPropTypeLocations.prop);\n }\n Constructor.propTypes = assign({}, Constructor.propTypes, propTypes);\n },\n statics: function (Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function () {} };\n\n// noop\nfunction validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an invariant so components\n // don't show up in prod but not in __DEV__\n false ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : undefined;\n }\n }\n}\n\nfunction validateMethodOverride(proto, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n !(specPolicy === SpecPolicy.OVERRIDE_BASE) ? false ? invariant(false, 'ReactClassInterface: You are attempting to override ' + '`%s` from your class specification. Ensure that your method names ' + 'do not overlap with React methods.', name) : invariant(false) : undefined;\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (proto.hasOwnProperty(name)) {\n !(specPolicy === SpecPolicy.DEFINE_MANY || specPolicy === SpecPolicy.DEFINE_MANY_MERGED) ? false ? invariant(false, 'ReactClassInterface: You are attempting to define ' + '`%s` on your component more than once. This conflict may be due ' + 'to a mixin.', name) : invariant(false) : undefined;\n }\n}\n\n/**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classses.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n return;\n }\n\n !(typeof spec !== 'function') ? false ? invariant(false, 'ReactClass: You\\'re attempting to ' + 'use a component class as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;\n !!ReactElement.isValidElement(spec) ? false ? invariant(false, 'ReactClass: You\\'re attempting to ' + 'use a component as a mixin. Instead, just use a regular object.') : invariant(false) : undefined;\n\n var proto = Constructor.prototype;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n validateMethodOverride(proto, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isAlreadyDefined = proto.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\n if (shouldAutoBind) {\n if (!proto.__reactAutoBindMap) {\n proto.__reactAutoBindMap = {};\n }\n proto.__reactAutoBindMap[name] = property;\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n !(isReactClassMethod && (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY)) ? false ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s ' + 'when mixing in component specs.', specPolicy, name) : invariant(false) : undefined;\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === SpecPolicy.DEFINE_MANY_MERGED) {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === SpecPolicy.DEFINE_MANY) {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (false) {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n}\n\nfunction mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = (name in RESERVED_SPEC_KEYS);\n !!isReserved ? false ? invariant(false, 'ReactClass: You are attempting to define a reserved ' + 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' + 'as an instance property instead; it will still be accessible on the ' + 'constructor.', name) : invariant(false) : undefined;\n\n var isInherited = (name in Constructor);\n !!isInherited ? false ? invariant(false, 'ReactClass: You are attempting to define ' + '`%s` on your component more than once. This conflict may be ' + 'due to a mixin.', name) : invariant(false) : undefined;\n Constructor[name] = property;\n }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeIntoWithNoDuplicateKeys(one, two) {\n !(one && two && typeof one === 'object' && typeof two === 'object') ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : invariant(false) : undefined;\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n !(one[key] === undefined) ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): ' + 'Tried to merge two objects with the same key: `%s`. This conflict ' + 'may be due to a mixin; in particular, this may be caused by two ' + 'getInitialState() or getDefaultProps() methods returning objects ' + 'with clashing keys.', key) : invariant(false) : undefined;\n one[key] = two[key];\n }\n }\n return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n}\n\n/**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\nfunction bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (false) {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n /* eslint-disable block-scoped-var, no-undef */\n boundMethod.bind = function (newThis) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : undefined;\n } else if (!args.length) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : undefined;\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n /* eslint-enable */\n };\n }\n return boundMethod;\n}\n\n/**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\nfunction bindAutoBindMethods(component) {\n for (var autoBindKey in component.__reactAutoBindMap) {\n if (component.__reactAutoBindMap.hasOwnProperty(autoBindKey)) {\n var method = component.__reactAutoBindMap[autoBindKey];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n}\n\n/**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\nvar ReactClassMixin = {\n\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function (newState, callback) {\n this.updater.enqueueReplaceState(this, newState);\n if (callback) {\n this.updater.enqueueCallback(this, callback);\n }\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function () {\n return this.updater.isMounted(this);\n },\n\n /**\n * Sets a subset of the props.\n *\n * @param {object} partialProps Subset of the next props.\n * @param {?function} callback Called after props are updated.\n * @final\n * @public\n * @deprecated\n */\n setProps: function (partialProps, callback) {\n if (false) {\n warnSetProps();\n }\n this.updater.enqueueSetProps(this, partialProps);\n if (callback) {\n this.updater.enqueueCallback(this, callback);\n }\n },\n\n /**\n * Replace all the props.\n *\n * @param {object} newProps Subset of the next props.\n * @param {?function} callback Called after props are updated.\n * @final\n * @public\n * @deprecated\n */\n replaceProps: function (newProps, callback) {\n if (false) {\n warnSetProps();\n }\n this.updater.enqueueReplaceProps(this, newProps);\n if (callback) {\n this.updater.enqueueCallback(this, callback);\n }\n }\n};\n\nvar ReactClassComponent = function () {};\nassign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\n/**\n * Module for creating composite components.\n *\n * @class ReactClass\n */\nvar ReactClass = {\n\n /**\n * Creates a composite component class given a class specification.\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n createClass: function (spec) {\n var Constructor = function (props, context, updater) {\n // This constructor is overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : undefined;\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindMap) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (false) {\n // We allow auto-mocks to proceed as if they're returning null.\n if (typeof initialState === 'undefined' && this.getInitialState._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : invariant(false) : undefined;\n\n this.state = initialState;\n };\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, spec);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (false) {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n !Constructor.prototype.render ? false ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : invariant(false) : undefined;\n\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : undefined;\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : undefined;\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n },\n\n injection: {\n injectMixin: function (mixin) {\n injectedMixins.push(mixin);\n }\n }\n\n};\n\nmodule.exports = ReactClass;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactClass.js\n ** module id = 121\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactClass.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponent\n */\n\n'use strict';\n\nvar ReactNoopUpdateQueue = __webpack_require__(123);\n\nvar canDefineProperty = __webpack_require__(42);\nvar emptyObject = __webpack_require__(57);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nReactComponent.prototype.isReactComponent = {};\n\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\nReactComponent.prototype.setState = function (partialState, callback) {\n !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? false ? invariant(false, 'setState(...): takes an object of state variables to update or a ' + 'function which returns an object of state variables.') : invariant(false) : undefined;\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : undefined;\n }\n this.updater.enqueueSetState(this, partialState);\n if (callback) {\n this.updater.enqueueCallback(this, callback);\n }\n};\n\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\nReactComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this);\n if (callback) {\n this.updater.enqueueCallback(this, callback);\n }\n};\n\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\nif (false) {\n var deprecatedAPIs = {\n getDOMNode: ['getDOMNode', 'Use ReactDOM.findDOMNode(component) instead.'],\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceProps: ['replaceProps', 'Instead, call render again at the top level.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'],\n setProps: ['setProps', 'Instead, call render again at the top level.']\n };\n var defineDeprecationWarning = function (methodName, info) {\n if (canDefineProperty) {\n Object.defineProperty(ReactComponent.prototype, methodName, {\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : undefined;\n return undefined;\n }\n });\n }\n };\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\nmodule.exports = ReactComponent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponent.js\n ** module id = 122\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactComponent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactNoopUpdateQueue\n */\n\n'use strict';\n\nvar warning = __webpack_require__(24);\n\nfunction warnTDZ(publicInstance, callerName) {\n if (false) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, publicInstance.constructor && publicInstance.constructor.displayName || '') : undefined;\n }\n}\n\n/**\n * This is the abstract API for an update queue.\n */\nvar ReactNoopUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {},\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n warnTDZ(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n warnTDZ(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n warnTDZ(publicInstance, 'setState');\n },\n\n /**\n * Sets a subset of the props.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialProps Subset of the next props.\n * @internal\n */\n enqueueSetProps: function (publicInstance, partialProps) {\n warnTDZ(publicInstance, 'setProps');\n },\n\n /**\n * Replaces all of the props.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} props New props.\n * @internal\n */\n enqueueReplaceProps: function (publicInstance, props) {\n warnTDZ(publicInstance, 'replaceProps');\n }\n\n};\n\nmodule.exports = ReactNoopUpdateQueue;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactNoopUpdateQueue.js\n ** module id = 123\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactNoopUpdateQueue.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactReconcileTransaction\n * @typechecks static-only\n */\n\n'use strict';\n\nvar CallbackQueue = __webpack_require__(54);\nvar PooledClass = __webpack_require__(55);\nvar ReactBrowserEventEmitter = __webpack_require__(28);\nvar ReactDOMFeatureFlags = __webpack_require__(40);\nvar ReactInputSelection = __webpack_require__(125);\nvar Transaction = __webpack_require__(56);\n\nvar assign = __webpack_require__(38);\n\n/**\n * Ensures that, when possible, the selection range (currently selected text\n * input) is not disturbed by performing the transaction.\n */\nvar SELECTION_RESTORATION = {\n /**\n * @return {Selection} Selection information.\n */\n initialize: ReactInputSelection.getSelectionInformation,\n /**\n * @param {Selection} sel Selection information returned from `initialize`.\n */\n close: ReactInputSelection.restoreSelection\n};\n\n/**\n * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n * high level DOM manipulations (like temporarily removing a text input from the\n * DOM).\n */\nvar EVENT_SUPPRESSION = {\n /**\n * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before\n * the reconciliation.\n */\n initialize: function () {\n var currentlyEnabled = ReactBrowserEventEmitter.isEnabled();\n ReactBrowserEventEmitter.setEnabled(false);\n return currentlyEnabled;\n },\n\n /**\n * @param {boolean} previouslyEnabled Enabled status of\n * `ReactBrowserEventEmitter` before the reconciliation occurred. `close`\n * restores the previous value.\n */\n close: function (previouslyEnabled) {\n ReactBrowserEventEmitter.setEnabled(previouslyEnabled);\n }\n};\n\n/**\n * Provides a queue for collecting `componentDidMount` and\n * `componentDidUpdate` callbacks during the the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n /**\n * Initializes the internal `onDOMReady` queue.\n */\n initialize: function () {\n this.reactMountReady.reset();\n },\n\n /**\n * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n */\n close: function () {\n this.reactMountReady.notifyAll();\n }\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];\n\n/**\n * Currently:\n * - The order that these are listed in the transaction is critical:\n * - Suppresses events.\n * - Restores selection range.\n *\n * Future:\n * - Restore document/overflow scroll positions that were unintentionally\n * modified via DOM insertions above the top viewport boundary.\n * - Implement/integrate with customized constraint based layout system and keep\n * track of which dimensions must be remeasured.\n *\n * @class ReactReconcileTransaction\n */\nfunction ReactReconcileTransaction(forceHTML) {\n this.reinitializeTransaction();\n // Only server-side rendering really needs this option (see\n // `ReactServerRendering`), but server-side uses\n // `ReactServerRenderingTransaction` instead. This option is here so that it's\n // accessible and defaults to false when `ReactDOMComponent` and\n // `ReactTextComponent` checks it in `mountComponent`.`\n this.renderToStaticMarkup = false;\n this.reactMountReady = CallbackQueue.getPooled(null);\n this.useCreateElement = !forceHTML && ReactDOMFeatureFlags.useCreateElement;\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array<object>} List of operation wrap procedures.\n * TODO: convert to array<TransactionWrapper>\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return this.reactMountReady;\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {\n CallbackQueue.release(this.reactMountReady);\n this.reactMountReady = null;\n }\n};\n\nassign(ReactReconcileTransaction.prototype, Transaction.Mixin, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactReconcileTransaction.js\n ** module id = 124\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactReconcileTransaction.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInputSelection\n */\n\n'use strict';\n\nvar ReactDOMSelection = __webpack_require__(126);\n\nvar containsNode = __webpack_require__(58);\nvar focusNode = __webpack_require__(94);\nvar getActiveElement = __webpack_require__(128);\n\nfunction isInDocument(node) {\n return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n\n hasSelectionCapabilities: function (elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');\n },\n\n getSelectionInformation: function () {\n var focusedElem = getActiveElement();\n return {\n focusedElem: focusedElem,\n selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null\n };\n },\n\n /**\n * @restoreSelection: If any selection information was potentially lost,\n * restore it. This is useful when performing operations that could remove dom\n * nodes and place them back in, resulting in focus being lost.\n */\n restoreSelection: function (priorSelectionInformation) {\n var curFocusedElem = getActiveElement();\n var priorFocusedElem = priorSelectionInformation.focusedElem;\n var priorSelectionRange = priorSelectionInformation.selectionRange;\n if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {\n if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange);\n }\n focusNode(priorFocusedElem);\n }\n },\n\n /**\n * @getSelection: Gets the selection bounds of a focused textarea, input or\n * contentEditable node.\n * -@input: Look up selection bounds of this input\n * -@return {start: selectionStart, end: selectionEnd}\n */\n getSelection: function (input) {\n var selection;\n\n if ('selectionStart' in input) {\n // Modern browser with input or textarea.\n selection = {\n start: input.selectionStart,\n end: input.selectionEnd\n };\n } else if (document.selection && (input.nodeName && input.nodeName.toLowerCase() === 'input')) {\n // IE8 input.\n var range = document.selection.createRange();\n // There can only be one selection per document in IE, so it must\n // be in our element.\n if (range.parentElement() === input) {\n selection = {\n start: -range.moveStart('character', -input.value.length),\n end: -range.moveEnd('character', -input.value.length)\n };\n }\n } else {\n // Content editable or old IE textarea.\n selection = ReactDOMSelection.getOffsets(input);\n }\n\n return selection || { start: 0, end: 0 };\n },\n\n /**\n * @setSelection: Sets the selection bounds of a textarea or input and focuses\n * the input.\n * -@input Set selection bounds of this input or textarea\n * -@offsets Object of same form that is returned from get*\n */\n setSelection: function (input, offsets) {\n var start = offsets.start;\n var end = offsets.end;\n if (typeof end === 'undefined') {\n end = start;\n }\n\n if ('selectionStart' in input) {\n input.selectionStart = start;\n input.selectionEnd = Math.min(end, input.value.length);\n } else if (document.selection && (input.nodeName && input.nodeName.toLowerCase() === 'input')) {\n var range = input.createTextRange();\n range.collapse(true);\n range.moveStart('character', start);\n range.moveEnd('character', end - start);\n range.select();\n } else {\n ReactDOMSelection.setOffsets(input, offsets);\n }\n }\n};\n\nmodule.exports = ReactInputSelection;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInputSelection.js\n ** module id = 125\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactInputSelection.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMSelection\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(8);\n\nvar getNodeForCharacterOffset = __webpack_require__(127);\nvar getTextContentAccessor = __webpack_require__(74);\n\n/**\n * While `isCollapsed` is available on the Selection object and `collapsed`\n * is available on the Range object, IE11 sometimes gets them wrong.\n * If the anchor/focus nodes and offsets are the same, the range is collapsed.\n */\nfunction isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {\n return anchorNode === focusNode && anchorOffset === focusOffset;\n}\n\n/**\n * Get the appropriate anchor and focus node/offset pairs for IE.\n *\n * The catch here is that IE's selection API doesn't provide information\n * about whether the selection is forward or backward, so we have to\n * behave as though it's always forward.\n *\n * IE text differs from modern selection in that it behaves as though\n * block elements end with a new line. This means character offsets will\n * differ between the two APIs.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getIEOffsets(node) {\n var selection = document.selection;\n var selectedRange = selection.createRange();\n var selectedLength = selectedRange.text.length;\n\n // Duplicate selection so we can move range without breaking user selection.\n var fromStart = selectedRange.duplicate();\n fromStart.moveToElementText(node);\n fromStart.setEndPoint('EndToStart', selectedRange);\n\n var startOffset = fromStart.text.length;\n var endOffset = startOffset + selectedLength;\n\n return {\n start: startOffset,\n end: endOffset\n };\n}\n\n/**\n * @param {DOMElement} node\n * @return {?object}\n */\nfunction getModernOffsets(node) {\n var selection = window.getSelection && window.getSelection();\n\n if (!selection || selection.rangeCount === 0) {\n return null;\n }\n\n var anchorNode = selection.anchorNode;\n var anchorOffset = selection.anchorOffset;\n var focusNode = selection.focusNode;\n var focusOffset = selection.focusOffset;\n\n var currentRange = selection.getRangeAt(0);\n\n // In Firefox, range.startContainer and range.endContainer can be \"anonymous\n // divs\", e.g. the up/down buttons on an <input type=\"number\">. Anonymous\n // divs do not seem to expose properties, triggering a \"Permission denied\n // error\" if any of its properties are accessed. The only seemingly possible\n // way to avoid erroring is to access a property that typically works for\n // non-anonymous divs and catch any error that may otherwise arise. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=208427\n try {\n /* eslint-disable no-unused-expressions */\n currentRange.startContainer.nodeType;\n currentRange.endContainer.nodeType;\n /* eslint-enable no-unused-expressions */\n } catch (e) {\n return null;\n }\n\n // If the node and offset values are the same, the selection is collapsed.\n // `Selection.isCollapsed` is available natively, but IE sometimes gets\n // this value wrong.\n var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset);\n\n var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length;\n\n var tempRange = currentRange.cloneRange();\n tempRange.selectNodeContents(node);\n tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\n var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset);\n\n var start = isTempRangeCollapsed ? 0 : tempRange.toString().length;\n var end = start + rangeLength;\n\n // Detect whether the selection is backward.\n var detectionRange = document.createRange();\n detectionRange.setStart(anchorNode, anchorOffset);\n detectionRange.setEnd(focusNode, focusOffset);\n var isBackward = detectionRange.collapsed;\n\n return {\n start: isBackward ? end : start,\n end: isBackward ? start : end\n };\n}\n\n/**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setIEOffsets(node, offsets) {\n var range = document.selection.createRange().duplicate();\n var start, end;\n\n if (typeof offsets.end === 'undefined') {\n start = offsets.start;\n end = start;\n } else if (offsets.start > offsets.end) {\n start = offsets.end;\n end = offsets.start;\n } else {\n start = offsets.start;\n end = offsets.end;\n }\n\n range.moveToElementText(node);\n range.moveStart('character', start);\n range.setEndPoint('EndToStart', range);\n range.moveEnd('character', end - start);\n range.select();\n}\n\n/**\n * In modern non-IE browsers, we can support both forward and backward\n * selections.\n *\n * Note: IE10+ supports the Selection object, but it does not support\n * the `extend` method, which means that even in modern IE, it's not possible\n * to programatically create a backward selection. Thus, for all IE\n * versions, we use the old IE API to create our selections.\n *\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setModernOffsets(node, offsets) {\n if (!window.getSelection) {\n return;\n }\n\n var selection = window.getSelection();\n var length = node[getTextContentAccessor()].length;\n var start = Math.min(offsets.start, length);\n var end = typeof offsets.end === 'undefined' ? start : Math.min(offsets.end, length);\n\n // IE 11 uses modern selection, but doesn't support the extend method.\n // Flip backward selections, so we can set with a single range.\n if (!selection.extend && start > end) {\n var temp = end;\n end = start;\n start = temp;\n }\n\n var startMarker = getNodeForCharacterOffset(node, start);\n var endMarker = getNodeForCharacterOffset(node, end);\n\n if (startMarker && endMarker) {\n var range = document.createRange();\n range.setStart(startMarker.node, startMarker.offset);\n selection.removeAllRanges();\n\n if (start > end) {\n selection.addRange(range);\n selection.extend(endMarker.node, endMarker.offset);\n } else {\n range.setEnd(endMarker.node, endMarker.offset);\n selection.addRange(range);\n }\n }\n}\n\nvar useIEOffsets = ExecutionEnvironment.canUseDOM && 'selection' in document && !('getSelection' in window);\n\nvar ReactDOMSelection = {\n /**\n * @param {DOMElement} node\n */\n getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets,\n\n /**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\n setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets\n};\n\nmodule.exports = ReactDOMSelection;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMSelection.js\n ** module id = 126\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMSelection.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getNodeForCharacterOffset\n */\n\n'use strict';\n\n/**\n * Given any node return the first leaf node without children.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {DOMElement|DOMTextNode}\n */\nfunction getLeafNode(node) {\n while (node && node.firstChild) {\n node = node.firstChild;\n }\n return node;\n}\n\n/**\n * Get the next sibling within a container. This will walk up the\n * DOM if a node's siblings have been exhausted.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {?DOMElement|DOMTextNode}\n */\nfunction getSiblingNode(node) {\n while (node) {\n if (node.nextSibling) {\n return node.nextSibling;\n }\n node = node.parentNode;\n }\n}\n\n/**\n * Get object describing the nodes which contain characters at offset.\n *\n * @param {DOMElement|DOMTextNode} root\n * @param {number} offset\n * @return {?object}\n */\nfunction getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n var nodeStart = 0;\n var nodeEnd = 0;\n\n while (node) {\n if (node.nodeType === 3) {\n nodeEnd = nodeStart + node.textContent.length;\n\n if (nodeStart <= offset && nodeEnd >= offset) {\n return {\n node: node,\n offset: offset - nodeStart\n };\n }\n\n nodeStart = nodeEnd;\n }\n\n node = getLeafNode(getSiblingNode(node));\n }\n}\n\nmodule.exports = getNodeForCharacterOffset;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getNodeForCharacterOffset.js\n ** module id = 127\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getNodeForCharacterOffset.js?")},function(module,exports){eval('/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getActiveElement\n * @typechecks\n */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document body is not yet defined.\n */\n"use strict";\n\nfunction getActiveElement() /*?DOMElement*/{\n try {\n return document.activeElement || document.body;\n } catch (e) {\n return document.body;\n }\n}\n\nmodule.exports = getActiveElement;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/getActiveElement.js\n ** module id = 128\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/getActiveElement.js?')},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SelectEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventPropagators = __webpack_require__(72);\nvar ExecutionEnvironment = __webpack_require__(8);\nvar ReactInputSelection = __webpack_require__(125);\nvar SyntheticEvent = __webpack_require__(76);\n\nvar getActiveElement = __webpack_require__(128);\nvar isTextInputElement = __webpack_require__(81);\nvar keyOf = __webpack_require__(78);\nvar shallowEqual = __webpack_require__(116);\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;\n\nvar eventTypes = {\n select: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSelect: null }),\n captured: keyOf({ onSelectCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topContextMenu, topLevelTypes.topFocus, topLevelTypes.topKeyDown, topLevelTypes.topMouseDown, topLevelTypes.topMouseUp, topLevelTypes.topSelectionChange]\n }\n};\n\nvar activeElement = null;\nvar activeElementID = null;\nvar lastSelection = null;\nvar mouseDown = false;\n\n// Track whether a listener exists for this plugin. If none exist, we do\n// not extract events.\nvar hasListener = false;\nvar ON_SELECT_KEY = keyOf({ onSelect: null });\n\n/**\n * Get an object which is a unique representation of the current selection.\n *\n * The return value will not be consistent across nodes or browsers, but\n * two identical selections on the same node will return identical objects.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getSelection(node) {\n if ('selectionStart' in node && ReactInputSelection.hasSelectionCapabilities(node)) {\n return {\n start: node.selectionStart,\n end: node.selectionEnd\n };\n } else if (window.getSelection) {\n var selection = window.getSelection();\n return {\n anchorNode: selection.anchorNode,\n anchorOffset: selection.anchorOffset,\n focusNode: selection.focusNode,\n focusOffset: selection.focusOffset\n };\n } else if (document.selection) {\n var range = document.selection.createRange();\n return {\n parentElement: range.parentElement(),\n text: range.text,\n top: range.boundingTop,\n left: range.boundingLeft\n };\n }\n}\n\n/**\n * Poll selection to see whether it's changed.\n *\n * @param {object} nativeEvent\n * @return {?SyntheticEvent}\n */\nfunction constructSelectEvent(nativeEvent, nativeEventTarget) {\n // Ensure we have the right element, and that the user is not dragging a\n // selection (this matches native `select` event behavior). In HTML5, select\n // fires only on input and textarea thus if there's no focused element we\n // won't dispatch.\n if (mouseDown || activeElement == null || activeElement !== getActiveElement()) {\n return null;\n }\n\n // Only fire when selection has actually changed.\n var currentSelection = getSelection(activeElement);\n if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n lastSelection = currentSelection;\n\n var syntheticEvent = SyntheticEvent.getPooled(eventTypes.select, activeElementID, nativeEvent, nativeEventTarget);\n\n syntheticEvent.type = 'select';\n syntheticEvent.target = activeElement;\n\n EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\n return syntheticEvent;\n }\n\n return null;\n}\n\n/**\n * This plugin creates an `onSelect` event that normalizes select events\n * across form elements.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - contentEditable\n *\n * This differs from native browser implementations in the following ways:\n * - Fires on contentEditable fields as well as inputs.\n * - Fires for collapsed selection.\n * - Fires after user input.\n */\nvar SelectEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @see {EventPluginHub.extractEvents}\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n if (!hasListener) {\n return null;\n }\n\n switch (topLevelType) {\n // Track the input node that has focus.\n case topLevelTypes.topFocus:\n if (isTextInputElement(topLevelTarget) || topLevelTarget.contentEditable === 'true') {\n activeElement = topLevelTarget;\n activeElementID = topLevelTargetID;\n lastSelection = null;\n }\n break;\n case topLevelTypes.topBlur:\n activeElement = null;\n activeElementID = null;\n lastSelection = null;\n break;\n\n // Don't fire the event while the user is dragging. This matches the\n // semantics of the native select event.\n case topLevelTypes.topMouseDown:\n mouseDown = true;\n break;\n case topLevelTypes.topContextMenu:\n case topLevelTypes.topMouseUp:\n mouseDown = false;\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n\n // Chrome and IE fire non-standard event when selection is changed (and\n // sometimes when it hasn't). IE's event fires out of order with respect\n // to key and input events on deletion, so we discard it.\n //\n // Firefox doesn't support selectionchange, so check selection status\n // after each key entry. The selection changes after keydown and before\n // keyup, but we check on keydown as well in the case of holding down a\n // key, when multiple keydown events are fired but only one keyup is.\n // This is also our approach for IE handling, for the reason above.\n case topLevelTypes.topSelectionChange:\n if (skipSelectionChangeEvent) {\n break;\n }\n // falls through\n case topLevelTypes.topKeyDown:\n case topLevelTypes.topKeyUp:\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n }\n\n return null;\n },\n\n didPutListener: function (id, registrationName, listener) {\n if (registrationName === ON_SELECT_KEY) {\n hasListener = true;\n }\n }\n};\n\nmodule.exports = SelectEventPlugin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SelectEventPlugin.js\n ** module id = 129\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SelectEventPlugin.js?"); },function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ServerReactRootIndex\n * @typechecks\n */\n\n'use strict';\n\n/**\n * Size of the reactRoot ID space. We generate random numbers for React root\n * IDs and if there's a collision the events and DOM update system will\n * get confused. In the future we need a way to generate GUIDs but for\n * now this will work on a smaller scale.\n */\nvar GLOBAL_MOUNT_POINT_MAX = Math.pow(2, 53);\n\nvar ServerReactRootIndex = {\n createReactRootIndex: function () {\n return Math.ceil(Math.random() * GLOBAL_MOUNT_POINT_MAX);\n }\n};\n\nmodule.exports = ServerReactRootIndex;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ServerReactRootIndex.js\n ** module id = 130\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ServerReactRootIndex.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SimpleEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = __webpack_require__(29);\nvar EventListener = __webpack_require__(118);\nvar EventPropagators = __webpack_require__(72);\nvar ReactMount = __webpack_require__(27);\nvar SyntheticClipboardEvent = __webpack_require__(132);\nvar SyntheticEvent = __webpack_require__(76);\nvar SyntheticFocusEvent = __webpack_require__(133);\nvar SyntheticKeyboardEvent = __webpack_require__(134);\nvar SyntheticMouseEvent = __webpack_require__(85);\nvar SyntheticDragEvent = __webpack_require__(137);\nvar SyntheticTouchEvent = __webpack_require__(138);\nvar SyntheticUIEvent = __webpack_require__(86);\nvar SyntheticWheelEvent = __webpack_require__(139);\n\nvar emptyFunction = __webpack_require__(14);\nvar getEventCharCode = __webpack_require__(135);\nvar invariant = __webpack_require__(12);\nvar keyOf = __webpack_require__(78);\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n abort: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onAbort: true }),\n captured: keyOf({ onAbortCapture: true })\n }\n },\n blur: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onBlur: true }),\n captured: keyOf({ onBlurCapture: true })\n }\n },\n canPlay: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCanPlay: true }),\n captured: keyOf({ onCanPlayCapture: true })\n }\n },\n canPlayThrough: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCanPlayThrough: true }),\n captured: keyOf({ onCanPlayThroughCapture: true })\n }\n },\n click: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onClick: true }),\n captured: keyOf({ onClickCapture: true })\n }\n },\n contextMenu: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onContextMenu: true }),\n captured: keyOf({ onContextMenuCapture: true })\n }\n },\n copy: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCopy: true }),\n captured: keyOf({ onCopyCapture: true })\n }\n },\n cut: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCut: true }),\n captured: keyOf({ onCutCapture: true })\n }\n },\n doubleClick: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDoubleClick: true }),\n captured: keyOf({ onDoubleClickCapture: true })\n }\n },\n drag: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDrag: true }),\n captured: keyOf({ onDragCapture: true })\n }\n },\n dragEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragEnd: true }),\n captured: keyOf({ onDragEndCapture: true })\n }\n },\n dragEnter: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragEnter: true }),\n captured: keyOf({ onDragEnterCapture: true })\n }\n },\n dragExit: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragExit: true }),\n captured: keyOf({ onDragExitCapture: true })\n }\n },\n dragLeave: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragLeave: true }),\n captured: keyOf({ onDragLeaveCapture: true })\n }\n },\n dragOver: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragOver: true }),\n captured: keyOf({ onDragOverCapture: true })\n }\n },\n dragStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragStart: true }),\n captured: keyOf({ onDragStartCapture: true })\n }\n },\n drop: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDrop: true }),\n captured: keyOf({ onDropCapture: true })\n }\n },\n durationChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDurationChange: true }),\n captured: keyOf({ onDurationChangeCapture: true })\n }\n },\n emptied: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEmptied: true }),\n captured: keyOf({ onEmptiedCapture: true })\n }\n },\n encrypted: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEncrypted: true }),\n captured: keyOf({ onEncryptedCapture: true })\n }\n },\n ended: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEnded: true }),\n captured: keyOf({ onEndedCapture: true })\n }\n },\n error: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onError: true }),\n captured: keyOf({ onErrorCapture: true })\n }\n },\n focus: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onFocus: true }),\n captured: keyOf({ onFocusCapture: true })\n }\n },\n input: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onInput: true }),\n captured: keyOf({ onInputCapture: true })\n }\n },\n keyDown: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyDown: true }),\n captured: keyOf({ onKeyDownCapture: true })\n }\n },\n keyPress: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyPress: true }),\n captured: keyOf({ onKeyPressCapture: true })\n }\n },\n keyUp: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyUp: true }),\n captured: keyOf({ onKeyUpCapture: true })\n }\n },\n load: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoad: true }),\n captured: keyOf({ onLoadCapture: true })\n }\n },\n loadedData: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadedData: true }),\n captured: keyOf({ onLoadedDataCapture: true })\n }\n },\n loadedMetadata: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadedMetadata: true }),\n captured: keyOf({ onLoadedMetadataCapture: true })\n }\n },\n loadStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadStart: true }),\n captured: keyOf({ onLoadStartCapture: true })\n }\n },\n // Note: We do not allow listening to mouseOver events. Instead, use the\n // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.\n mouseDown: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseDown: true }),\n captured: keyOf({ onMouseDownCapture: true })\n }\n },\n mouseMove: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseMove: true }),\n captured: keyOf({ onMouseMoveCapture: true })\n }\n },\n mouseOut: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseOut: true }),\n captured: keyOf({ onMouseOutCapture: true })\n }\n },\n mouseOver: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseOver: true }),\n captured: keyOf({ onMouseOverCapture: true })\n }\n },\n mouseUp: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseUp: true }),\n captured: keyOf({ onMouseUpCapture: true })\n }\n },\n paste: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPaste: true }),\n captured: keyOf({ onPasteCapture: true })\n }\n },\n pause: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPause: true }),\n captured: keyOf({ onPauseCapture: true })\n }\n },\n play: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPlay: true }),\n captured: keyOf({ onPlayCapture: true })\n }\n },\n playing: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPlaying: true }),\n captured: keyOf({ onPlayingCapture: true })\n }\n },\n progress: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onProgress: true }),\n captured: keyOf({ onProgressCapture: true })\n }\n },\n rateChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onRateChange: true }),\n captured: keyOf({ onRateChangeCapture: true })\n }\n },\n reset: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onReset: true }),\n captured: keyOf({ onResetCapture: true })\n }\n },\n scroll: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onScroll: true }),\n captured: keyOf({ onScrollCapture: true })\n }\n },\n seeked: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSeeked: true }),\n captured: keyOf({ onSeekedCapture: true })\n }\n },\n seeking: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSeeking: true }),\n captured: keyOf({ onSeekingCapture: true })\n }\n },\n stalled: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onStalled: true }),\n captured: keyOf({ onStalledCapture: true })\n }\n },\n submit: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSubmit: true }),\n captured: keyOf({ onSubmitCapture: true })\n }\n },\n suspend: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSuspend: true }),\n captured: keyOf({ onSuspendCapture: true })\n }\n },\n timeUpdate: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTimeUpdate: true }),\n captured: keyOf({ onTimeUpdateCapture: true })\n }\n },\n touchCancel: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchCancel: true }),\n captured: keyOf({ onTouchCancelCapture: true })\n }\n },\n touchEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchEnd: true }),\n captured: keyOf({ onTouchEndCapture: true })\n }\n },\n touchMove: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchMove: true }),\n captured: keyOf({ onTouchMoveCapture: true })\n }\n },\n touchStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchStart: true }),\n captured: keyOf({ onTouchStartCapture: true })\n }\n },\n volumeChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onVolumeChange: true }),\n captured: keyOf({ onVolumeChangeCapture: true })\n }\n },\n waiting: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onWaiting: true }),\n captured: keyOf({ onWaitingCapture: true })\n }\n },\n wheel: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onWheel: true }),\n captured: keyOf({ onWheelCapture: true })\n }\n }\n};\n\nvar topLevelEventsToDispatchConfig = {\n topAbort: eventTypes.abort,\n topBlur: eventTypes.blur,\n topCanPlay: eventTypes.canPlay,\n topCanPlayThrough: eventTypes.canPlayThrough,\n topClick: eventTypes.click,\n topContextMenu: eventTypes.contextMenu,\n topCopy: eventTypes.copy,\n topCut: eventTypes.cut,\n topDoubleClick: eventTypes.doubleClick,\n topDrag: eventTypes.drag,\n topDragEnd: eventTypes.dragEnd,\n topDragEnter: eventTypes.dragEnter,\n topDragExit: eventTypes.dragExit,\n topDragLeave: eventTypes.dragLeave,\n topDragOver: eventTypes.dragOver,\n topDragStart: eventTypes.dragStart,\n topDrop: eventTypes.drop,\n topDurationChange: eventTypes.durationChange,\n topEmptied: eventTypes.emptied,\n topEncrypted: eventTypes.encrypted,\n topEnded: eventTypes.ended,\n topError: eventTypes.error,\n topFocus: eventTypes.focus,\n topInput: eventTypes.input,\n topKeyDown: eventTypes.keyDown,\n topKeyPress: eventTypes.keyPress,\n topKeyUp: eventTypes.keyUp,\n topLoad: eventTypes.load,\n topLoadedData: eventTypes.loadedData,\n topLoadedMetadata: eventTypes.loadedMetadata,\n topLoadStart: eventTypes.loadStart,\n topMouseDown: eventTypes.mouseDown,\n topMouseMove: eventTypes.mouseMove,\n topMouseOut: eventTypes.mouseOut,\n topMouseOver: eventTypes.mouseOver,\n topMouseUp: eventTypes.mouseUp,\n topPaste: eventTypes.paste,\n topPause: eventTypes.pause,\n topPlay: eventTypes.play,\n topPlaying: eventTypes.playing,\n topProgress: eventTypes.progress,\n topRateChange: eventTypes.rateChange,\n topReset: eventTypes.reset,\n topScroll: eventTypes.scroll,\n topSeeked: eventTypes.seeked,\n topSeeking: eventTypes.seeking,\n topStalled: eventTypes.stalled,\n topSubmit: eventTypes.submit,\n topSuspend: eventTypes.suspend,\n topTimeUpdate: eventTypes.timeUpdate,\n topTouchCancel: eventTypes.touchCancel,\n topTouchEnd: eventTypes.touchEnd,\n topTouchMove: eventTypes.touchMove,\n topTouchStart: eventTypes.touchStart,\n topVolumeChange: eventTypes.volumeChange,\n topWaiting: eventTypes.waiting,\n topWheel: eventTypes.wheel\n};\n\nfor (var type in topLevelEventsToDispatchConfig) {\n topLevelEventsToDispatchConfig[type].dependencies = [type];\n}\n\nvar ON_CLICK_KEY = keyOf({ onClick: null });\nvar onClickListeners = {};\n\nvar SimpleEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {DOMEventTarget} topLevelTarget The listening component root node.\n * @param {string} topLevelTargetID ID of `topLevelTarget`.\n * @param {object} nativeEvent Native browser event.\n * @return {*} An accumulation of synthetic events.\n * @see {EventPluginHub.extractEvents}\n */\n extractEvents: function (topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) {\n var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n if (!dispatchConfig) {\n return null;\n }\n var EventConstructor;\n switch (topLevelType) {\n case topLevelTypes.topAbort:\n case topLevelTypes.topCanPlay:\n case topLevelTypes.topCanPlayThrough:\n case topLevelTypes.topDurationChange:\n case topLevelTypes.topEmptied:\n case topLevelTypes.topEncrypted:\n case topLevelTypes.topEnded:\n case topLevelTypes.topError:\n case topLevelTypes.topInput:\n case topLevelTypes.topLoad:\n case topLevelTypes.topLoadedData:\n case topLevelTypes.topLoadedMetadata:\n case topLevelTypes.topLoadStart:\n case topLevelTypes.topPause:\n case topLevelTypes.topPlay:\n case topLevelTypes.topPlaying:\n case topLevelTypes.topProgress:\n case topLevelTypes.topRateChange:\n case topLevelTypes.topReset:\n case topLevelTypes.topSeeked:\n case topLevelTypes.topSeeking:\n case topLevelTypes.topStalled:\n case topLevelTypes.topSubmit:\n case topLevelTypes.topSuspend:\n case topLevelTypes.topTimeUpdate:\n case topLevelTypes.topVolumeChange:\n case topLevelTypes.topWaiting:\n // HTML Events\n // @see http://www.w3.org/TR/html5/index.html#events-0\n EventConstructor = SyntheticEvent;\n break;\n case topLevelTypes.topKeyPress:\n // FireFox creates a keypress event for function keys too. This removes\n // the unwanted keypress events. Enter is however both printable and\n // non-printable. One would expect Tab to be as well (but it isn't).\n if (getEventCharCode(nativeEvent) === 0) {\n return null;\n }\n /* falls through */\n case topLevelTypes.topKeyDown:\n case topLevelTypes.topKeyUp:\n EventConstructor = SyntheticKeyboardEvent;\n break;\n case topLevelTypes.topBlur:\n case topLevelTypes.topFocus:\n EventConstructor = SyntheticFocusEvent;\n break;\n case topLevelTypes.topClick:\n // Firefox creates a click event on right mouse clicks. This removes the\n // unwanted click events.\n if (nativeEvent.button === 2) {\n return null;\n }\n /* falls through */\n case topLevelTypes.topContextMenu:\n case topLevelTypes.topDoubleClick:\n case topLevelTypes.topMouseDown:\n case topLevelTypes.topMouseMove:\n case topLevelTypes.topMouseOut:\n case topLevelTypes.topMouseOver:\n case topLevelTypes.topMouseUp:\n EventConstructor = SyntheticMouseEvent;\n break;\n case topLevelTypes.topDrag:\n case topLevelTypes.topDragEnd:\n case topLevelTypes.topDragEnter:\n case topLevelTypes.topDragExit:\n case topLevelTypes.topDragLeave:\n case topLevelTypes.topDragOver:\n case topLevelTypes.topDragStart:\n case topLevelTypes.topDrop:\n EventConstructor = SyntheticDragEvent;\n break;\n case topLevelTypes.topTouchCancel:\n case topLevelTypes.topTouchEnd:\n case topLevelTypes.topTouchMove:\n case topLevelTypes.topTouchStart:\n EventConstructor = SyntheticTouchEvent;\n break;\n case topLevelTypes.topScroll:\n EventConstructor = SyntheticUIEvent;\n break;\n case topLevelTypes.topWheel:\n EventConstructor = SyntheticWheelEvent;\n break;\n case topLevelTypes.topCopy:\n case topLevelTypes.topCut:\n case topLevelTypes.topPaste:\n EventConstructor = SyntheticClipboardEvent;\n break;\n }\n !EventConstructor ? false ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : invariant(false) : undefined;\n var event = EventConstructor.getPooled(dispatchConfig, topLevelTargetID, nativeEvent, nativeEventTarget);\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n },\n\n didPutListener: function (id, registrationName, listener) {\n // Mobile Safari does not fire properly bubble click events on\n // non-interactive elements, which means delegated click listeners do not\n // fire. The workaround for this bug involves attaching an empty click\n // listener on the target node.\n if (registrationName === ON_CLICK_KEY) {\n var node = ReactMount.getNode(id);\n if (!onClickListeners[id]) {\n onClickListeners[id] = EventListener.listen(node, 'click', emptyFunction);\n }\n }\n },\n\n willDeleteListener: function (id, registrationName) {\n if (registrationName === ON_CLICK_KEY) {\n onClickListeners[id].remove();\n delete onClickListeners[id];\n }\n }\n\n};\n\nmodule.exports = SimpleEventPlugin;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SimpleEventPlugin.js\n ** module id = 131\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SimpleEventPlugin.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticClipboardEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(76);\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/clipboard-apis/\n */\nvar ClipboardEventInterface = {\n clipboardData: function (event) {\n return 'clipboardData' in event ? event.clipboardData : window.clipboardData;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\nmodule.exports = SyntheticClipboardEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticClipboardEvent.js\n ** module id = 132\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticClipboardEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticFocusEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(86);\n\n/**\n * @interface FocusEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar FocusEventInterface = {\n relatedTarget: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\nmodule.exports = SyntheticFocusEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticFocusEvent.js\n ** module id = 133\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticFocusEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticKeyboardEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(86);\n\nvar getEventCharCode = __webpack_require__(135);\nvar getEventKey = __webpack_require__(136);\nvar getEventModifierState = __webpack_require__(87);\n\n/**\n * @interface KeyboardEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar KeyboardEventInterface = {\n key: getEventKey,\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: getEventModifierState,\n // Legacy Interface\n charCode: function (event) {\n // `charCode` is the result of a KeyPress event and represents the value of\n // the actual printable character.\n\n // KeyPress is deprecated, but its replacement is not yet final and not\n // implemented in any major browser. Only KeyPress has charCode.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n return 0;\n },\n keyCode: function (event) {\n // `keyCode` is the result of a KeyDown/Up event and represents the value of\n // physical keyboard key.\n\n // The actual meaning of the value depends on the users' keyboard layout\n // which cannot be detected. Assuming that it is a US keyboard layout\n // provides a surprisingly accurate mapping for US and European users.\n // Due to this, it is left to the user to implement at this time.\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n },\n which: function (event) {\n // `which` is an alias for either `keyCode` or `charCode` depending on the\n // type of the event.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\nmodule.exports = SyntheticKeyboardEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticKeyboardEvent.js\n ** module id = 134\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticKeyboardEvent.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventCharCode\n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * `charCode` represents the actual \"character code\" and is safe to use with\n * `String.fromCharCode`. As such, only keys that correspond to printable\n * characters produce a valid `charCode`, the only exception to this is Enter.\n * The Tab-key is considered non-printable and does not have a `charCode`,\n * presumably because it does not produce a tab-character in browsers.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {number} Normalized `charCode` property.\n */\nfunction getEventCharCode(nativeEvent) {\n var charCode;\n var keyCode = nativeEvent.keyCode;\n\n if ('charCode' in nativeEvent) {\n charCode = nativeEvent.charCode;\n\n // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n if (charCode === 0 && keyCode === 13) {\n charCode = 13;\n }\n } else {\n // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n charCode = keyCode;\n }\n\n // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n // Must not discard the (non-)printable Enter-key.\n if (charCode >= 32 || charCode === 13) {\n return charCode;\n }\n\n return 0;\n}\n\nmodule.exports = getEventCharCode;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventCharCode.js\n ** module id = 135\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getEventCharCode.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventKey\n * @typechecks static-only\n */\n\n'use strict';\n\nvar getEventCharCode = __webpack_require__(135);\n\n/**\n * Normalization of deprecated HTML5 `key` values\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar normalizeKey = {\n 'Esc': 'Escape',\n 'Spacebar': ' ',\n 'Left': 'ArrowLeft',\n 'Up': 'ArrowUp',\n 'Right': 'ArrowRight',\n 'Down': 'ArrowDown',\n 'Del': 'Delete',\n 'Win': 'OS',\n 'Menu': 'ContextMenu',\n 'Apps': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'MozPrintableKey': 'Unidentified'\n};\n\n/**\n * Translation from legacy `keyCode` to HTML5 `key`\n * Only special keys supported, all others depend on keyboard layout or browser\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar translateToKey = {\n 8: 'Backspace',\n 9: 'Tab',\n 12: 'Clear',\n 13: 'Enter',\n 16: 'Shift',\n 17: 'Control',\n 18: 'Alt',\n 19: 'Pause',\n 20: 'CapsLock',\n 27: 'Escape',\n 32: ' ',\n 33: 'PageUp',\n 34: 'PageDown',\n 35: 'End',\n 36: 'Home',\n 37: 'ArrowLeft',\n 38: 'ArrowUp',\n 39: 'ArrowRight',\n 40: 'ArrowDown',\n 45: 'Insert',\n 46: 'Delete',\n 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6',\n 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12',\n 144: 'NumLock',\n 145: 'ScrollLock',\n 224: 'Meta'\n};\n\n/**\n * @param {object} nativeEvent Native browser event.\n * @return {string} Normalized `key` property.\n */\nfunction getEventKey(nativeEvent) {\n if (nativeEvent.key) {\n // Normalize inconsistent values reported by browsers due to\n // implementations of a working draft specification.\n\n // FireFox implements `key` but returns `MozPrintableKey` for all\n // printable characters (normalized to `Unidentified`), ignore it.\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (key !== 'Unidentified') {\n return key;\n }\n }\n\n // Browser does not implement `key`, polyfill as much of it as we can.\n if (nativeEvent.type === 'keypress') {\n var charCode = getEventCharCode(nativeEvent);\n\n // The enter-key is technically both printable and non-printable and can\n // thus be captured by `keypress`, no other non-printable key should.\n return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);\n }\n if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {\n // While user keyboard layout determines the actual meaning of each\n // `keyCode` value, almost all function keys have a universal value.\n return translateToKey[nativeEvent.keyCode] || 'Unidentified';\n }\n return '';\n}\n\nmodule.exports = getEventKey;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventKey.js\n ** module id = 136\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/getEventKey.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticDragEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = __webpack_require__(85);\n\n/**\n * @interface DragEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar DragEventInterface = {\n dataTransfer: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);\n\nmodule.exports = SyntheticDragEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticDragEvent.js\n ** module id = 137\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticDragEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticTouchEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(86);\n\nvar getEventModifierState = __webpack_require__(87);\n\n/**\n * @interface TouchEvent\n * @see http://www.w3.org/TR/touch-events/\n */\nvar TouchEventInterface = {\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: getEventModifierState\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\nmodule.exports = SyntheticTouchEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticTouchEvent.js\n ** module id = 138\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticTouchEvent.js?"); },function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticWheelEvent\n * @typechecks static-only\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = __webpack_require__(85);\n\n/**\n * @interface WheelEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar WheelEventInterface = {\n deltaX: function (event) {\n return 'deltaX' in event ? event.deltaX :\n // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;\n },\n deltaY: function (event) {\n return 'deltaY' in event ? event.deltaY :\n // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).\n 'wheelDeltaY' in event ? -event.wheelDeltaY :\n // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).\n 'wheelDelta' in event ? -event.wheelDelta : 0;\n },\n deltaZ: null,\n\n // Browsers without \"deltaMode\" is reporting in raw wheel delta where one\n // notch on the scroll is always +/- 120, roughly equivalent to pixels.\n // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or\n // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.\n deltaMode: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticMouseEvent}\n */\nfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\nmodule.exports = SyntheticWheelEvent;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticWheelEvent.js\n ** module id = 139\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SyntheticWheelEvent.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SVGDOMPropertyConfig\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(22);\n\nvar MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE;\n\nvar NS = {\n xlink: 'http://www.w3.org/1999/xlink',\n xml: 'http://www.w3.org/XML/1998/namespace'\n};\n\nvar SVGDOMPropertyConfig = {\n Properties: {\n clipPath: MUST_USE_ATTRIBUTE,\n cx: MUST_USE_ATTRIBUTE,\n cy: MUST_USE_ATTRIBUTE,\n d: MUST_USE_ATTRIBUTE,\n dx: MUST_USE_ATTRIBUTE,\n dy: MUST_USE_ATTRIBUTE,\n fill: MUST_USE_ATTRIBUTE,\n fillOpacity: MUST_USE_ATTRIBUTE,\n fontFamily: MUST_USE_ATTRIBUTE,\n fontSize: MUST_USE_ATTRIBUTE,\n fx: MUST_USE_ATTRIBUTE,\n fy: MUST_USE_ATTRIBUTE,\n gradientTransform: MUST_USE_ATTRIBUTE,\n gradientUnits: MUST_USE_ATTRIBUTE,\n markerEnd: MUST_USE_ATTRIBUTE,\n markerMid: MUST_USE_ATTRIBUTE,\n markerStart: MUST_USE_ATTRIBUTE,\n offset: MUST_USE_ATTRIBUTE,\n opacity: MUST_USE_ATTRIBUTE,\n patternContentUnits: MUST_USE_ATTRIBUTE,\n patternUnits: MUST_USE_ATTRIBUTE,\n points: MUST_USE_ATTRIBUTE,\n preserveAspectRatio: MUST_USE_ATTRIBUTE,\n r: MUST_USE_ATTRIBUTE,\n rx: MUST_USE_ATTRIBUTE,\n ry: MUST_USE_ATTRIBUTE,\n spreadMethod: MUST_USE_ATTRIBUTE,\n stopColor: MUST_USE_ATTRIBUTE,\n stopOpacity: MUST_USE_ATTRIBUTE,\n stroke: MUST_USE_ATTRIBUTE,\n strokeDasharray: MUST_USE_ATTRIBUTE,\n strokeLinecap: MUST_USE_ATTRIBUTE,\n strokeOpacity: MUST_USE_ATTRIBUTE,\n strokeWidth: MUST_USE_ATTRIBUTE,\n textAnchor: MUST_USE_ATTRIBUTE,\n transform: MUST_USE_ATTRIBUTE,\n version: MUST_USE_ATTRIBUTE,\n viewBox: MUST_USE_ATTRIBUTE,\n x1: MUST_USE_ATTRIBUTE,\n x2: MUST_USE_ATTRIBUTE,\n x: MUST_USE_ATTRIBUTE,\n xlinkActuate: MUST_USE_ATTRIBUTE,\n xlinkArcrole: MUST_USE_ATTRIBUTE,\n xlinkHref: MUST_USE_ATTRIBUTE,\n xlinkRole: MUST_USE_ATTRIBUTE,\n xlinkShow: MUST_USE_ATTRIBUTE,\n xlinkTitle: MUST_USE_ATTRIBUTE,\n xlinkType: MUST_USE_ATTRIBUTE,\n xmlBase: MUST_USE_ATTRIBUTE,\n xmlLang: MUST_USE_ATTRIBUTE,\n xmlSpace: MUST_USE_ATTRIBUTE,\n y1: MUST_USE_ATTRIBUTE,\n y2: MUST_USE_ATTRIBUTE,\n y: MUST_USE_ATTRIBUTE\n },\n DOMAttributeNamespaces: {\n xlinkActuate: NS.xlink,\n xlinkArcrole: NS.xlink,\n xlinkHref: NS.xlink,\n xlinkRole: NS.xlink,\n xlinkShow: NS.xlink,\n xlinkTitle: NS.xlink,\n xlinkType: NS.xlink,\n xmlBase: NS.xml,\n xmlLang: NS.xml,\n xmlSpace: NS.xml\n },\n DOMAttributeNames: {\n clipPath: 'clip-path',\n fillOpacity: 'fill-opacity',\n fontFamily: 'font-family',\n fontSize: 'font-size',\n gradientTransform: 'gradientTransform',\n gradientUnits: 'gradientUnits',\n markerEnd: 'marker-end',\n markerMid: 'marker-mid',\n markerStart: 'marker-start',\n patternContentUnits: 'patternContentUnits',\n patternUnits: 'patternUnits',\n preserveAspectRatio: 'preserveAspectRatio',\n spreadMethod: 'spreadMethod',\n stopColor: 'stop-color',\n stopOpacity: 'stop-opacity',\n strokeDasharray: 'stroke-dasharray',\n strokeLinecap: 'stroke-linecap',\n strokeOpacity: 'stroke-opacity',\n strokeWidth: 'stroke-width',\n textAnchor: 'text-anchor',\n viewBox: 'viewBox',\n xlinkActuate: 'xlink:actuate',\n xlinkArcrole: 'xlink:arcrole',\n xlinkHref: 'xlink:href',\n xlinkRole: 'xlink:role',\n xlinkShow: 'xlink:show',\n xlinkTitle: 'xlink:title',\n xlinkType: 'xlink:type',\n xmlBase: 'xml:base',\n xmlLang: 'xml:lang',\n xmlSpace: 'xml:space'\n }\n};\n\nmodule.exports = SVGDOMPropertyConfig;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SVGDOMPropertyConfig.js\n ** module id = 140\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/SVGDOMPropertyConfig.js?")},function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactVersion\n */\n\n'use strict';\n\nmodule.exports = '0.14.8';\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactVersion.js\n ** module id = 141\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactVersion.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n* @providesModule renderSubtreeIntoContainer\n*/\n\n'use strict';\n\nvar ReactMount = __webpack_require__(27);\n\nmodule.exports = ReactMount.renderSubtreeIntoContainer;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/renderSubtreeIntoContainer.js\n ** module id = 142\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/renderSubtreeIntoContainer.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMServer\n */\n\n'use strict';\n\nvar ReactDefaultInjection = __webpack_require__(70);\nvar ReactServerRendering = __webpack_require__(144);\nvar ReactVersion = __webpack_require__(141);\n\nReactDefaultInjection.inject();\n\nvar ReactDOMServer = {\n renderToString: ReactServerRendering.renderToString,\n renderToStaticMarkup: ReactServerRendering.renderToStaticMarkup,\n version: ReactVersion\n};\n\nmodule.exports = ReactDOMServer;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMServer.js\n ** module id = 143\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMServer.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks static-only\n * @providesModule ReactServerRendering\n */\n'use strict';\n\nvar ReactDefaultBatchingStrategy = __webpack_require__(91);\nvar ReactElement = __webpack_require__(41);\nvar ReactInstanceHandles = __webpack_require__(44);\nvar ReactMarkupChecksum = __webpack_require__(47);\nvar ReactServerBatchingStrategy = __webpack_require__(145);\nvar ReactServerRenderingTransaction = __webpack_require__(146);\nvar ReactUpdates = __webpack_require__(53);\n\nvar emptyObject = __webpack_require__(57);\nvar instantiateReactComponent = __webpack_require__(61);\nvar invariant = __webpack_require__(12);\n\n/**\n * @param {ReactElement} element\n * @return {string} the HTML markup\n */\nfunction renderToString(element) {\n !ReactElement.isValidElement(element) ? false ? invariant(false, 'renderToString(): You must pass a valid ReactElement.') : invariant(false) : undefined;\n\n var transaction;\n try {\n ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy);\n\n var id = ReactInstanceHandles.createReactRootID();\n transaction = ReactServerRenderingTransaction.getPooled(false);\n\n return transaction.perform(function () {\n var componentInstance = instantiateReactComponent(element, null);\n var markup = componentInstance.mountComponent(id, transaction, emptyObject);\n return ReactMarkupChecksum.addChecksumToMarkup(markup);\n }, null);\n } finally {\n ReactServerRenderingTransaction.release(transaction);\n // Revert to the DOM batching strategy since these two renderers\n // currently share these stateful modules.\n ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n }\n}\n\n/**\n * @param {ReactElement} element\n * @return {string} the HTML markup, without the extra React ID and checksum\n * (for generating static pages)\n */\nfunction renderToStaticMarkup(element) {\n !ReactElement.isValidElement(element) ? false ? invariant(false, 'renderToStaticMarkup(): You must pass a valid ReactElement.') : invariant(false) : undefined;\n\n var transaction;\n try {\n ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy);\n\n var id = ReactInstanceHandles.createReactRootID();\n transaction = ReactServerRenderingTransaction.getPooled(true);\n\n return transaction.perform(function () {\n var componentInstance = instantiateReactComponent(element, null);\n return componentInstance.mountComponent(id, transaction, emptyObject);\n }, null);\n } finally {\n ReactServerRenderingTransaction.release(transaction);\n // Revert to the DOM batching strategy since these two renderers\n // currently share these stateful modules.\n ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n }\n}\n\nmodule.exports = {\n renderToString: renderToString,\n renderToStaticMarkup: renderToStaticMarkup\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactServerRendering.js\n ** module id = 144\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactServerRendering.js?")},function(module,exports){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactServerBatchingStrategy\n * @typechecks\n */\n\n'use strict';\n\nvar ReactServerBatchingStrategy = {\n isBatchingUpdates: false,\n batchedUpdates: function (callback) {\n // Don't do anything here. During the server rendering we don't want to\n // schedule any updates. We will simply ignore them.\n }\n};\n\nmodule.exports = ReactServerBatchingStrategy;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactServerBatchingStrategy.js\n ** module id = 145\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactServerBatchingStrategy.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactServerRenderingTransaction\n * @typechecks\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(55);\nvar CallbackQueue = __webpack_require__(54);\nvar Transaction = __webpack_require__(56);\n\nvar assign = __webpack_require__(38);\nvar emptyFunction = __webpack_require__(14);\n\n/**\n * Provides a `CallbackQueue` queue for collecting `onDOMReady` callbacks\n * during the performing of the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n /**\n * Initializes the internal `onDOMReady` queue.\n */\n initialize: function () {\n this.reactMountReady.reset();\n },\n\n close: emptyFunction\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [ON_DOM_READY_QUEUEING];\n\n/**\n * @class ReactServerRenderingTransaction\n * @param {boolean} renderToStaticMarkup\n */\nfunction ReactServerRenderingTransaction(renderToStaticMarkup) {\n this.reinitializeTransaction();\n this.renderToStaticMarkup = renderToStaticMarkup;\n this.reactMountReady = CallbackQueue.getPooled(null);\n this.useCreateElement = false;\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array} Empty list of operation wrap procedures.\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return this.reactMountReady;\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {\n CallbackQueue.release(this.reactMountReady);\n this.reactMountReady = null;\n }\n};\n\nassign(ReactServerRenderingTransaction.prototype, Transaction.Mixin, Mixin);\n\nPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\nmodule.exports = ReactServerRenderingTransaction;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactServerRenderingTransaction.js\n ** module id = 146\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactServerRenderingTransaction.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactIsomorphic\n */\n\n'use strict';\n\nvar ReactChildren = __webpack_require__(109);\nvar ReactComponent = __webpack_require__(122);\nvar ReactClass = __webpack_require__(121);\nvar ReactDOMFactories = __webpack_require__(148);\nvar ReactElement = __webpack_require__(41);\nvar ReactElementValidator = __webpack_require__(149);\nvar ReactPropTypes = __webpack_require__(106);\nvar ReactVersion = __webpack_require__(141);\n\nvar assign = __webpack_require__(38);\nvar onlyChild = __webpack_require__(151);\n\nvar createElement = ReactElement.createElement;\nvar createFactory = ReactElement.createFactory;\nvar cloneElement = ReactElement.cloneElement;\n\nif (false) {\n createElement = ReactElementValidator.createElement;\n createFactory = ReactElementValidator.createFactory;\n cloneElement = ReactElementValidator.cloneElement;\n}\n\nvar React = {\n\n // Modern\n\n Children: {\n map: ReactChildren.map,\n forEach: ReactChildren.forEach,\n count: ReactChildren.count,\n toArray: ReactChildren.toArray,\n only: onlyChild\n },\n\n Component: ReactComponent,\n\n createElement: createElement,\n cloneElement: cloneElement,\n isValidElement: ReactElement.isValidElement,\n\n // Classic\n\n PropTypes: ReactPropTypes,\n createClass: ReactClass.createClass,\n createFactory: createFactory,\n createMixin: function (mixin) {\n // Currently a noop. Will be used to validate and trace mixins.\n return mixin;\n },\n\n // This looks DOM specific but these are actually isomorphic helpers\n // since they are just generating DOM strings.\n DOM: ReactDOMFactories,\n\n version: ReactVersion,\n\n // Hook for JSX spread, don't use this for anything else.\n __spread: assign\n};\n\nmodule.exports = React;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactIsomorphic.js\n ** module id = 147\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactIsomorphic.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMFactories\n * @typechecks static-only\n */\n\n'use strict';\n\nvar ReactElement = __webpack_require__(41);\nvar ReactElementValidator = __webpack_require__(149);\n\nvar mapObject = __webpack_require__(150);\n\n/**\n * Create a factory that creates HTML tag elements.\n *\n * @param {string} tag Tag name (e.g. `div`).\n * @private\n */\nfunction createDOMFactory(tag) {\n if (false) {\n return ReactElementValidator.createFactory(tag);\n }\n return ReactElement.createFactory(tag);\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n * This is also accessible via `React.DOM`.\n *\n * @public\n */\nvar ReactDOMFactories = mapObject({\n a: 'a',\n abbr: 'abbr',\n address: 'address',\n area: 'area',\n article: 'article',\n aside: 'aside',\n audio: 'audio',\n b: 'b',\n base: 'base',\n bdi: 'bdi',\n bdo: 'bdo',\n big: 'big',\n blockquote: 'blockquote',\n body: 'body',\n br: 'br',\n button: 'button',\n canvas: 'canvas',\n caption: 'caption',\n cite: 'cite',\n code: 'code',\n col: 'col',\n colgroup: 'colgroup',\n data: 'data',\n datalist: 'datalist',\n dd: 'dd',\n del: 'del',\n details: 'details',\n dfn: 'dfn',\n dialog: 'dialog',\n div: 'div',\n dl: 'dl',\n dt: 'dt',\n em: 'em',\n embed: 'embed',\n fieldset: 'fieldset',\n figcaption: 'figcaption',\n figure: 'figure',\n footer: 'footer',\n form: 'form',\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n head: 'head',\n header: 'header',\n hgroup: 'hgroup',\n hr: 'hr',\n html: 'html',\n i: 'i',\n iframe: 'iframe',\n img: 'img',\n input: 'input',\n ins: 'ins',\n kbd: 'kbd',\n keygen: 'keygen',\n label: 'label',\n legend: 'legend',\n li: 'li',\n link: 'link',\n main: 'main',\n map: 'map',\n mark: 'mark',\n menu: 'menu',\n menuitem: 'menuitem',\n meta: 'meta',\n meter: 'meter',\n nav: 'nav',\n noscript: 'noscript',\n object: 'object',\n ol: 'ol',\n optgroup: 'optgroup',\n option: 'option',\n output: 'output',\n p: 'p',\n param: 'param',\n picture: 'picture',\n pre: 'pre',\n progress: 'progress',\n q: 'q',\n rp: 'rp',\n rt: 'rt',\n ruby: 'ruby',\n s: 's',\n samp: 'samp',\n script: 'script',\n section: 'section',\n select: 'select',\n small: 'small',\n source: 'source',\n span: 'span',\n strong: 'strong',\n style: 'style',\n sub: 'sub',\n summary: 'summary',\n sup: 'sup',\n table: 'table',\n tbody: 'tbody',\n td: 'td',\n textarea: 'textarea',\n tfoot: 'tfoot',\n th: 'th',\n thead: 'thead',\n time: 'time',\n title: 'title',\n tr: 'tr',\n track: 'track',\n u: 'u',\n ul: 'ul',\n 'var': 'var',\n video: 'video',\n wbr: 'wbr',\n\n // SVG\n circle: 'circle',\n clipPath: 'clipPath',\n defs: 'defs',\n ellipse: 'ellipse',\n g: 'g',\n image: 'image',\n line: 'line',\n linearGradient: 'linearGradient',\n mask: 'mask',\n path: 'path',\n pattern: 'pattern',\n polygon: 'polygon',\n polyline: 'polyline',\n radialGradient: 'radialGradient',\n rect: 'rect',\n stop: 'stop',\n svg: 'svg',\n text: 'text',\n tspan: 'tspan'\n\n}, createDOMFactory);\n\nmodule.exports = ReactDOMFactories;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMFactories.js\n ** module id = 148\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactDOMFactories.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactElementValidator\n */\n\n/**\n * ReactElementValidator provides a wrapper around a element factory\n * which validates the props passed to the element. This is intended to be\n * used only in DEV and could be replaced by a static type checker for languages\n * that support it.\n */\n\n'use strict';\n\nvar ReactElement = __webpack_require__(41);\nvar ReactPropTypeLocations = __webpack_require__(64);\nvar ReactPropTypeLocationNames = __webpack_require__(65);\nvar ReactCurrentOwner = __webpack_require__(4);\n\nvar canDefineProperty = __webpack_require__(42);\nvar getIteratorFn = __webpack_require__(107);\nvar invariant = __webpack_require__(12);\nvar warning = __webpack_require__(24);\n\nfunction getDeclarationErrorAddendum() {\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\nvar ownerHasKeyUseWarning = {};\n\nvar loggedTypeFailures = {};\n\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\nfunction validateExplicitKey(element, parentType) {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n element._store.validated = true;\n\n var addenda = getAddendaForKeyUse('uniqueKey', element, parentType);\n if (addenda === null) {\n // we already showed the warning\n return;\n }\n false ? warning(false, 'Each child in an array or iterator should have a unique \"key\" prop.' + '%s%s%s', addenda.parentOrOwner || '', addenda.childOwner || '', addenda.url || '') : undefined;\n}\n\n/**\n * Shared warning and monitoring code for the key warnings.\n *\n * @internal\n * @param {string} messageType A key used for de-duping warnings.\n * @param {ReactElement} element Component that requires a key.\n * @param {*} parentType element's parent's type.\n * @returns {?object} A set of addenda to use in the warning message, or null\n * if the warning has already been shown before (and shouldn't be shown again).\n */\nfunction getAddendaForKeyUse(messageType, element, parentType) {\n var addendum = getDeclarationErrorAddendum();\n if (!addendum) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n if (parentName) {\n addendum = ' Check the top-level render call using <' + parentName + '>.';\n }\n }\n\n var memoizer = ownerHasKeyUseWarning[messageType] || (ownerHasKeyUseWarning[messageType] = {});\n if (memoizer[addendum]) {\n return null;\n }\n memoizer[addendum] = true;\n\n var addenda = {\n parentOrOwner: addendum,\n url: ' See https://fb.me/react-warning-keys for more information.',\n childOwner: null\n };\n\n // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n if (element && element._owner && element._owner !== ReactCurrentOwner.current) {\n // Give the component that originally created this child.\n addenda.childOwner = ' It was passed a child from ' + element._owner.getName() + '.';\n }\n\n return addenda;\n}\n\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\nfunction validateChildKeys(node, parentType) {\n if (typeof node !== 'object') {\n return;\n }\n if (Array.isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n if (ReactElement.isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (ReactElement.isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n // Entry iterators provide implicit keys.\n if (iteratorFn) {\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n while (!(step = iterator.next()).done) {\n if (ReactElement.isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n}\n\n/**\n * Assert that the props are valid\n *\n * @param {string} componentName Name of the component for error messages.\n * @param {object} propTypes Map of prop name to a ReactPropType\n * @param {object} props\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @private\n */\nfunction checkPropTypes(componentName, propTypes, props, location) {\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n !(typeof propTypes[propName] === 'function') ? false ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined;\n error = propTypes[propName](props, propName, componentName, location);\n } catch (ex) {\n error = ex;\n }\n false ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], propName, typeof error) : undefined;\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var addendum = getDeclarationErrorAddendum();\n false ? warning(false, 'Failed propType: %s%s', error.message, addendum) : undefined;\n }\n }\n }\n}\n\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\nfunction validatePropTypes(element) {\n var componentClass = element.type;\n if (typeof componentClass !== 'function') {\n return;\n }\n var name = componentClass.displayName || componentClass.name;\n if (componentClass.propTypes) {\n checkPropTypes(name, componentClass.propTypes, element.props, ReactPropTypeLocations.prop);\n }\n if (typeof componentClass.getDefaultProps === 'function') {\n false ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : undefined;\n }\n}\n\nvar ReactElementValidator = {\n\n createElement: function (type, props, children) {\n var validType = typeof type === 'string' || typeof type === 'function';\n // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n false ? warning(validType, 'React.createElement: type should not be null, undefined, boolean, or ' + 'number. It should be a string (for DOM elements) or a ReactClass ' + '(for composite components).%s', getDeclarationErrorAddendum()) : undefined;\n\n var element = ReactElement.createElement.apply(this, arguments);\n\n // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n if (element == null) {\n return element;\n }\n\n // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n if (validType) {\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], type);\n }\n }\n\n validatePropTypes(element);\n\n return element;\n },\n\n createFactory: function (type) {\n var validatedFactory = ReactElementValidator.createElement.bind(null, type);\n // Legacy hook TODO: Warn if this is accessed\n validatedFactory.type = type;\n\n if (false) {\n if (canDefineProperty) {\n Object.defineProperty(validatedFactory, 'type', {\n enumerable: false,\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.') : undefined;\n Object.defineProperty(this, 'type', {\n value: type\n });\n return type;\n }\n });\n }\n }\n\n return validatedFactory;\n },\n\n cloneElement: function (element, props, children) {\n var newElement = ReactElement.cloneElement.apply(this, arguments);\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], newElement.type);\n }\n validatePropTypes(newElement);\n return newElement;\n }\n\n};\n\nmodule.exports = ReactElementValidator;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactElementValidator.js\n ** module id = 149\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/ReactElementValidator.js?"); },function(module,exports){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule mapObject\n */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * Executes the provided `callback` once for each enumerable own property in the\n * object and constructs a new object from the results. The `callback` is\n * invoked with three arguments:\n *\n * - the property value\n * - the property name\n * - the object being traversed\n *\n * Properties that are added after the call to `mapObject` will not be visited\n * by `callback`. If the values of existing properties are changed, the value\n * passed to `callback` will be the value at the time `mapObject` visits them.\n * Properties that are deleted before being visited are not visited.\n *\n * @grep function objectMap()\n * @grep function objMap()\n *\n * @param {?object} object\n * @param {function} callback\n * @param {*} context\n * @return {?object}\n */\nfunction mapObject(object, callback, context) {\n if (!object) {\n return null;\n }\n var result = {};\n for (var name in object) {\n if (hasOwnProperty.call(object, name)) {\n result[name] = callback.call(context, object[name], name, object);\n }\n }\n return result;\n}\n\nmodule.exports = mapObject;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/mapObject.js\n ** module id = 150\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/fbjs/lib/mapObject.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule onlyChild\n */\n'use strict';\n\nvar ReactElement = __webpack_require__(41);\n\nvar invariant = __webpack_require__(12);\n\n/**\n * Returns the first child in a collection of children and verifies that there\n * is only one child in the collection. The current implementation of this\n * function assumes that a single child gets passed without a wrapper, but the\n * purpose of this helper function is to abstract away the particular structure\n * of children.\n *\n * @param {?object} children Child collection structure.\n * @return {ReactComponent} The first and only `ReactComponent` contained in the\n * structure.\n */\nfunction onlyChild(children) {\n !ReactElement.isValidElement(children) ? false ? invariant(false, 'onlyChild must be passed a children with exactly one child.') : invariant(false) : undefined;\n return children;\n}\n\nmodule.exports = onlyChild;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/onlyChild.js\n ** module id = 151\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/onlyChild.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule deprecated\n */\n\n'use strict';\n\nvar assign = __webpack_require__(38);\nvar warning = __webpack_require__(24);\n\n/**\n * This will log a single deprecation notice per function and forward the call\n * on to the new API.\n *\n * @param {string} fnName The name of the function\n * @param {string} newModule The module that fn will exist in\n * @param {string} newPackage The module that fn will exist in\n * @param {*} ctx The context this forwarded call should run in\n * @param {function} fn The function to forward on to\n * @return {function} The function that will warn once and then call fn\n */\nfunction deprecated(fnName, newModule, newPackage, ctx, fn) {\n var warned = false;\n if (false) {\n var newFn = function () {\n process.env.NODE_ENV !== 'production' ? warning(warned,\n // Require examples in this string must be split to prevent React's\n // build tools from mistaking them for real requires.\n // Otherwise the build tools will attempt to build a '%s' module.\n 'React.%s is deprecated. Please use %s.%s from require' + '(\\'%s\\') ' + 'instead.', fnName, newModule, fnName, newPackage) : undefined;\n warned = true;\n return fn.apply(ctx, arguments);\n };\n // We need to make sure all properties of the original fn are copied over.\n // In particular, this is needed to support PropTypes\n return assign(newFn, fn);\n }\n\n return fn;\n}\n\nmodule.exports = deprecated;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/deprecated.js\n ** module id = 152\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react/lib/deprecated.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = {\n MEMBERSHIP_CLAIMS: 'i:0#.f|membership|',\n DEFAULT_COLOUR: '#3E5875',\n // stores use this to emit a change\n CHANGE_EVENT: 'change',\n // default fields to include in the auto suggest drop down within the tag search\n DEFAULT_USERINFORMATION_FIELDS: ['JobTitle', 'Department'],\n // we need some default values for the active fields in the search results\n DEFAULT_CURRENT_LAYOUT: [{\n label: 'Name (with profile link)',\n value: 'Name (with profile link)',\n key: 0,\n template: {\n value: 'PreferredName',\n href: 'Path',\n target: '_self'\n }\n }, {\n label: 'Job Title',\n value: 'Job Title',\n key: 1,\n template: {\n value: 'JobTitle'\n }\n }, {\n label: 'Department',\n value: 'Department',\n key: 2,\n template: {\n value: 'Department'\n }\n }, {\n label: 'Telephone Number',\n value: 'Telephone Number',\n key: 3,\n template: {\n value: 'WorkPhone',\n icon: 'call'\n }\n }],\n // we need some default values for the available but unused fields for the search results\n DEFAULT_AVAILABLE_LAYOUT: [{\n label: 'Name (with email link)',\n value: 'Name (with email link)',\n key: 4,\n template: {\n value: 'PreferredName',\n href: 'WorkEmail',\n target: '_blank'\n }\n }, {\n label: 'Name',\n value: 'Name',\n key: 5,\n template: {\n value: 'PreferredName'\n }\n }, {\n label: 'Office',\n value: 'Office',\n key: 6,\n template: {\n value: 'BaseOfficeLocation'\n }\n }, {\n label: 'Mobile Number',\n value: 'Mobile Number',\n key: 7,\n template: {\n value: 'MobilePhone',\n icon: 'smartphone'\n }\n }, {\n label: 'Email',\n value: 'Email',\n key: 8,\n template: {\n value: 'WorkEmail',\n href: 'WorkEmail',\n target: '_blank'\n }\n }],\n // we need some default values for the app settings\n DEFAULT_SETTINGS: [{ label: 'Show Favourites', internal: 'showFavourites', type: 'switch', value: true }, { label: 'Suggest Search', internal: 'enableSuperSearch', type: 'switch', value: false }, { label: 'Constant Results', internal: 'inifiniteScroll', type: 'switch', value: false }],\n // no need for default favourites, but nice to have the option\n DEFAULT_FAVOURITES: [],\n // ignored search result fields\n IGNORED_VALUES: ['Rank', 'DocId', 'piSearchResultId', 'RenderTemplateId', 'ProfileQueriesFoundYou', 'ProfileViewsLastWeek', 'ProfileViewsLastMonth', 'EditProfileUrl', 'ResultTypeId', 'Culture', 'UrlZone', 'PartitionId', 'OriginalPath']\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/constants/default.js\n ** module id = 153\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/constants/default.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _PeopleSearch = __webpack_require__(155);\n\nvar _PeopleSearch2 = _interopRequireDefault(_PeopleSearch);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nvar _reactWaypoint = __webpack_require__(356);\n\nvar _reactWaypoint2 = _interopRequireDefault(_reactWaypoint);\n\nvar _Menu = __webpack_require__(358);\n\nvar _Menu2 = _interopRequireDefault(_Menu);\n\nvar _Search = __webpack_require__(362);\n\nvar _Search2 = _interopRequireDefault(_Search);\n\nvar _Settings = __webpack_require__(435);\n\nvar _Settings2 = _interopRequireDefault(_Settings);\n\nvar _Layout = __webpack_require__(446);\n\nvar _Layout2 = _interopRequireDefault(_Layout);\n\nvar _Favourites = __webpack_require__(461);\n\nvar _Favourites2 = _interopRequireDefault(_Favourites);\n\nvar _Results = __webpack_require__(477);\n\nvar _Results2 = _interopRequireDefault(_Results);\n\nvar _Paging = __webpack_require__(483);\n\nvar _Paging2 = _interopRequireDefault(_Paging);\n\nvar _Title = __webpack_require__(438);\n\nvar _Title2 = _interopRequireDefault(_Title);\n\nvar _FavouriteStore = __webpack_require__(423);\n\nvar _FavouriteStore2 = _interopRequireDefault(_FavouriteStore);\n\nvar _LayoutStore = __webpack_require__(460);\n\nvar _LayoutStore2 = _interopRequireDefault(_LayoutStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _settings = __webpack_require__(445);\n\nvar _settings2 = _interopRequireDefault(_settings);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getFavouritesState() {\n _PeopleSearchActions2['default'].getFavourites();\n\n return _FavouriteStore2['default'].getCurrentFavourites();\n}\n\nfunction getLayoutState() {\n _PeopleSearchActions2['default'].fetchLayout();\n\n return _LayoutStore2['default'].getLayout();\n}\n\nfunction getMenuClass(menu) {\n var safe = ['alternate-tabs'];\n var menuClass = typeof menu === 'string' ? menu : 'NO_CLASS';\n\n return safe.indexOf(menuClass) > -1 ? menuClass : '';\n}\n\nvar PeopleSearch = function (_React$Component) {\n _inherits(PeopleSearch, _React$Component);\n\n function PeopleSearch(props) {\n _classCallCheck(this, PeopleSearch);\n\n // the very first thing we do in the app is apply any options present\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(PeopleSearch).call(this, props));\n\n _this.setInitialState();\n\n _this.applyOptions = _this.applyOptions.bind(_this);\n return _this;\n }\n\n _createClass(PeopleSearch, [{\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n // ie workaround\n if (this.state === null) {\n this.setInitialState();\n\n this.applyOptions();\n }\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n if (typeof Sys !== 'undefined' && Sys && Sys.Application) {\n Sys.Application.notifyScriptLoaded();\n }\n\n if (typeof SP !== 'undefined') {\n if (typeof SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs === 'function') {\n // Inform the create functionthat Goldfish can now load safely\n SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs('goldfish.ready.min.js');\n }\n }\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'onSearch',\n value: function () {\n function onSearch(items) {\n this.setState(items);\n\n this.setState({\n searching: false,\n refresh: false\n });\n }\n\n return onSearch;\n }()\n }, {\n key: 'onSearching',\n value: function () {\n function onSearching() {\n this.setState({\n searching: true,\n items: [],\n count: 0,\n pageNum: 0,\n refresh: false\n });\n }\n\n return onSearching;\n }()\n }, {\n key: 'onExport',\n value: function () {\n function onExport() {\n if (this.state.items.length > 0) {\n var csv = Exporter.convertArrayObjectsToCsv(this.state.items);\n\n if (csv.length > 0) {\n var csvFileName = this.state.term.replace(/ /g, '-');\n\n Exporter.exportCsvStringToFile(csv, csvFileName);\n }\n }\n }\n\n return onExport;\n }()\n }, {\n key: 'onPage',\n value: function () {\n function onPage(pages) {\n this.setState(pages);\n }\n\n return onPage;\n }()\n }, {\n key: 'onSettingChange',\n value: function () {\n function onSettingChange(collection) {\n // flush any current searches\n this.setInitialState();\n\n this.state.settings = collection;\n\n this.applyOptions();\n }\n\n return onSettingChange;\n }()\n }, {\n key: 'onRefreshFinish',\n value: function () {\n function onRefreshFinish() {\n this.setState({\n refresh: false\n });\n }\n\n return onRefreshFinish;\n }()\n }, {\n key: 'onItemUpdate',\n value: function () {\n function onItemUpdate(index, favourite, type) {\n var items = this.state.items;\n\n if (type === 'person') {\n items[index].Cells.Favourite = favourite;\n\n this.setState({ items: items });\n } else {\n // refresh the view now the favourites have changed\n this.setState({ refresh: true });\n }\n }\n\n return onItemUpdate;\n }()\n }, {\n key: 'onLayoutChange',\n value: function () {\n function onLayoutChange(view) {\n this.setState(view);\n }\n\n return onLayoutChange;\n }()\n }, {\n key: 'onFavouritesChange',\n value: function () {\n function onFavouritesChange(favourites) {\n this.setState({ favourites: favourites });\n }\n\n return onFavouritesChange;\n }()\n }, {\n key: 'applyOptions',\n value: function () {\n function applyOptions() {\n if (Object.keys(this.props.options).length > 0) {\n // suggest taxonomy applied from options\n\n if (typeof this.props.options.termsets !== 'undefined') {\n this.setState({ termsets: this.props.options.termsets });\n }\n\n if (typeof this.props.options.userInformationFields !== 'undefined') {\n this.setState({ userInformationFields: this.props.options.userInformationFields });\n }\n\n // css overrides applied from options\n if (typeof this.props.options.css !== 'undefined') {\n if (typeof this.props.options.css.overrides !== 'undefined') {\n _settings2['default'].settingRouting('cssOveride', this.props.options.css.overrides);\n }\n }\n } else {\n this.setState({ suggestions: [] });\n }\n }\n\n return applyOptions;\n }()\n }, {\n key: 'isInfiniteScrollActive',\n value: function () {\n function isInfiniteScrollActive() {\n // check to see if the super search is enabled\n return this.state.settings.some(function (el) {\n return Object.keys(el)[0] === 'inifiniteScroll' && el[Object.keys(el)[0]];\n });\n }\n\n return isInfiniteScrollActive;\n }()\n }, {\n key: 'renderPaging',\n value: function () {\n function renderPaging() {\n if (!this.isInfiniteScrollActive()) {\n return _react2['default'].createElement(_Paging2['default'], {\n count: this.state.count,\n onSearching: this.onSearching.bind(this),\n properties: this.props.options.properties,\n pageNum: this.state.pageNum,\n term: this.state.term,\n onPaging: this.onPage.bind(this) });\n }\n }\n\n return renderPaging;\n }()\n }, {\n key: 'infiniteScroll',\n value: function () {\n function infiniteScroll() {\n var _this2 = this;\n\n // check the settings to see if we have asked for results to be fetch on scroll\n if (this.isInfiniteScrollActive()) {\n var _ret = function () {\n\n var self = _this2;\n\n // only add a scroll waypoint if we do not have all the results already\n if (_this2.state.count > _this2.state.items.length) {\n return {\n v: _react2['default'].createElement(_reactWaypoint2['default'], {\n onEnter: function () {\n function onEnter(_ref) {\n var previousPosition = _ref.previousPosition;\n var currentPosition = _ref.currentPosition;\n var event = _ref.event;\n\n // only fetch new results if we are not currently doing so...\n if (!self.state.searching) {\n // if we have some results enable constant result fetching (infinite scroll)\n if (self.state.items.length > 0) {\n // get the page number for the search\n var next = typeof self.state.pageNum === 'undefined' || self.state.pageNum === 0 ? 2 : self.state.pageNum + 1;\n\n // ensure we haven't already fetched these results\n if (Math.ceil(self.state.items.length / 10) < next) {\n self.setState({\n searching: true\n });\n\n var url = _utilities2['default'].getFullSearchQueryUrl(self.state.term, self.props.options.properties);\n\n // load x more search results\n _PeopleSearchActions2['default'].fetchData(url, self.state.term, next, true);\n }\n }\n }\n }\n\n return onEnter;\n }() })\n };\n }\n }();\n\n if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n }\n }\n\n return infiniteScroll;\n }()\n }, {\n key: 'setInitialState',\n value: function () {\n function setInitialState() {\n this.state = {\n items: [],\n searching: false,\n refresh: false,\n settings: [],\n count: 0,\n pageNum: 0,\n term: '',\n text: '',\n favourites: getFavouritesState(),\n layout: getLayoutState()\n };\n }\n\n return setInitialState;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n if (this.state === null) {\n this.componentDidUpdate();\n\n return null;\n }\n\n var alternateMenu = getMenuClass(this.props.options.menu);\n var inlineStyles = alternateMenu !== '' ? { paddingTop: '45px' } : { paddingTop: '0' };\n\n return _react2['default'].createElement(\n 'div',\n { id: 'outer-space', key: 'outer-space', className: 'goldfishSnapRight animated bounceInRight' },\n _react2['default'].createElement(_Menu2['default'], {\n onExport: this.onExport,\n alternate: alternateMenu }),\n _react2['default'].createElement(\n 'div',\n { id: 'component', styleName: 'component', style: inlineStyles },\n _react2['default'].createElement(\n 'div',\n { styleName: 'container' },\n _react2['default'].createElement(_Title2['default'], {\n text: this.props.options.title })\n ),\n _react2['default'].createElement(\n 'div',\n { className: 'content' },\n _react2['default'].createElement(\n 'div',\n { className: 'ui center aligned', styleName: 'container' },\n _react2['default'].createElement(_Search2['default'], {\n onSearchChanged: this.onSearch.bind(this),\n onSearching: this.onSearching.bind(this),\n properties: this.props.options.properties,\n settings: this.state.settings,\n termsets: this.state.termsets,\n userInformationFields: this.state.userInformationFields })\n )\n ),\n _react2['default'].createElement(\n 'div',\n { className: 'content', id: 'component-vision', styleName: 'everything-worth-while' },\n this.renderPaging(),\n _react2['default'].createElement(_Results2['default'], {\n items: this.state.items,\n term: this.state.term,\n refresh: this.state.refresh,\n onRefreshFinish: this.onRefreshFinish.bind(this),\n searching: this.state.searching,\n favourites: this.state.favourites,\n layout: this.state.layout,\n onLayoutChange: this.onLayoutChange.bind(this),\n onFavouritesChange: this.onFavouritesChange.bind(this),\n onItemUpdate: this.onItemUpdate.bind(this) }),\n this.infiniteScroll(),\n this.renderPaging()\n )\n ),\n _react2['default'].createElement(_Favourites2['default'], {\n layout: this.state.layout,\n title: this.props.options.title,\n paddingTop: inlineStyles.paddingTop,\n favourites: this.state.favourites,\n onFavouritesChange: this.onFavouritesChange.bind(this),\n onItemUpdate: this.onItemUpdate.bind(this) }),\n _react2['default'].createElement(_Layout2['default'], {\n title: this.props.options.title,\n paddingTop: inlineStyles.paddingTop,\n onLayoutChange: this.onLayoutChange.bind(this) }),\n _react2['default'].createElement(_Settings2['default'], {\n title: this.props.options.title,\n paddingTop: inlineStyles.paddingTop,\n onSettingChange: this.onSettingChange.bind(this) })\n );\n }\n\n return render;\n }()\n }]);\n\n return PeopleSearch;\n}(_react2['default'].Component);\n\nPeopleSearch.propTypes = {\n options: _react2['default'].PropTypes.object\n};\n\nPeopleSearch.defaultProps = {\n options: {\n title: 'Goldfish',\n properties: ''\n }\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(PeopleSearch, _PeopleSearch2['default']);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/views/PeopleSearch/PeopleSearch.jsx\n ** module id = 154\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/views/PeopleSearch/PeopleSearch.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(156);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./PeopleSearch.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./PeopleSearch.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/views/PeopleSearch/PeopleSearch.css\n ** module id = 155\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/views/PeopleSearch/PeopleSearch.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "#component-ghostpane{background:#999;opacity:.2;width:45%;height:45%;top:20%;left:20%;position:absolute;margin:0;padding:0;z-index:1999;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\'liga\';-webkit-font-smoothing:antialiased}._1pr8R3OpG6qEeJTrTNGKry{width:400px!important;background-color:#f9f9f9;border-color:#c8c8c8;box-shadow:0 0 18px #d9d9d9;position:absolute;right:0;overflow-x:visible;height:1900px;padding:0 0 200px;z-index:2000;direction:ltr}._1pr8R3OpG6qEeJTrTNGKry ._1DSOCHU8Bkgb0LD02hMCk5{margin-bottom:30px}._3Y34vCQfn9azS-vp5TgZ2d{width:320px!important}div[data-gf=snackbar] span{font-size:14px}", ""]);\n\n// exports\nexports.locals = {\n "component": "_1pr8R3OpG6qEeJTrTNGKry",\n "everything-worth-while": "_1DSOCHU8Bkgb0LD02hMCk5",\n "container": "_3Y34vCQfn9azS-vp5TgZ2d"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/views/PeopleSearch/PeopleSearch.css\n ** module id = 156\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/views/PeopleSearch/PeopleSearch.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports){eval('/*\r\n MIT License http://www.opensource.org/licenses/mit-license.php\r\n Author Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n var list = [];\r\n\r\n // return the list of modules as css string\r\n list.toString = function toString() {\r\n var result = [];\r\n for(var i = 0; i < this.length; i++) {\r\n var item = this[i];\r\n if(item[2]) {\r\n result.push("@media " + item[2] + "{" + item[1] + "}");\r\n } else {\r\n result.push(item[1]);\r\n }\r\n }\r\n return result.join("");\r\n };\r\n\r\n // import a list of modules into the list\r\n list.i = function(modules, mediaQuery) {\r\n if(typeof modules === "string")\r\n modules = [[null, modules, ""]];\r\n var alreadyImportedModules = {};\r\n for(var i = 0; i < this.length; i++) {\r\n var id = this[i][0];\r\n if(typeof id === "number")\r\n alreadyImportedModules[id] = true;\r\n }\r\n for(i = 0; i < modules.length; i++) {\r\n var item = modules[i];\r\n // skip already imported module\r\n // this implementation is not 100% perfect for weird media query combinations\r\n // when a module is imported multiple times with different media queries.\r\n // I hope this will never occur (Hey this way we have smaller bundles)\r\n if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {\r\n if(mediaQuery && !item[2]) {\r\n item[2] = mediaQuery;\r\n } else if(mediaQuery) {\r\n item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";\r\n }\r\n list.push(item);\r\n }\r\n }\r\n };\r\n return list;\r\n};\r\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader/lib/css-base.js\n ** module id = 157\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/css-loader/lib/css-base.js?')},function(module,exports,__webpack_require__){eval('/*\r\n MIT License http://www.opensource.org/licenses/mit-license.php\r\n Author Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n memoize = function(fn) {\r\n var memo;\r\n return function () {\r\n if (typeof memo === "undefined") memo = fn.apply(this, arguments);\r\n return memo;\r\n };\r\n },\r\n isOldIE = memoize(function() {\r\n return /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n }),\r\n getHeadElement = memoize(function () {\r\n return document.head || document.getElementsByTagName("head")[0];\r\n }),\r\n singletonElement = null,\r\n singletonCounter = 0,\r\n styleElementsInsertedAtTop = [];\r\n\r\nmodule.exports = function(list, options) {\r\n if(false) {\r\n if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");\r\n }\r\n\r\n options = options || {};\r\n // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n // tags it will allow on a page\r\n if (typeof options.singleton === "undefined") options.singleton = isOldIE();\r\n\r\n // By default, add <style> tags to the bottom of <head>.\r\n if (typeof options.insertAt === "undefined") options.insertAt = "bottom";\r\n\r\n var styles = listToStyles(list);\r\n addStylesToDom(styles, options);\r\n\r\n return function update(newList) {\r\n var mayRemove = [];\r\n for(var i = 0; i < styles.length; i++) {\r\n var item = styles[i];\r\n var domStyle = stylesInDom[item.id];\r\n domStyle.refs--;\r\n mayRemove.push(domStyle);\r\n }\r\n if(newList) {\r\n var newStyles = listToStyles(newList);\r\n addStylesToDom(newStyles, options);\r\n }\r\n for(var i = 0; i < mayRemove.length; i++) {\r\n var domStyle = mayRemove[i];\r\n if(domStyle.refs === 0) {\r\n for(var j = 0; j < domStyle.parts.length; j++)\r\n domStyle.parts[j]();\r\n delete stylesInDom[domStyle.id];\r\n }\r\n }\r\n };\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n for(var i = 0; i < styles.length; i++) {\r\n var item = styles[i];\r\n var domStyle = stylesInDom[item.id];\r\n if(domStyle) {\r\n domStyle.refs++;\r\n for(var j = 0; j < domStyle.parts.length; j++) {\r\n domStyle.parts[j](item.parts[j]);\r\n }\r\n for(; j < item.parts.length; j++) {\r\n domStyle.parts.push(addStyle(item.parts[j], options));\r\n }\r\n } else {\r\n var parts = [];\r\n for(var j = 0; j < item.parts.length; j++) {\r\n parts.push(addStyle(item.parts[j], options));\r\n }\r\n stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n }\r\n }\r\n}\r\n\r\nfunction listToStyles(list) {\r\n var styles = [];\r\n var newStyles = {};\r\n for(var i = 0; i < list.length; i++) {\r\n var item = list[i];\r\n var id = item[0];\r\n var css = item[1];\r\n var media = item[2];\r\n var sourceMap = item[3];\r\n var part = {css: css, media: media, sourceMap: sourceMap};\r\n if(!newStyles[id])\r\n styles.push(newStyles[id] = {id: id, parts: [part]});\r\n else\r\n newStyles[id].parts.push(part);\r\n }\r\n return styles;\r\n}\r\n\r\nfunction insertStyleElement(options, styleElement) {\r\n var head = getHeadElement();\r\n var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n if (options.insertAt === "top") {\r\n if(!lastStyleElementInsertedAtTop) {\r\n head.insertBefore(styleElement, head.firstChild);\r\n } else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n } else {\r\n head.appendChild(styleElement);\r\n }\r\n styleElementsInsertedAtTop.push(styleElement);\r\n } else if (options.insertAt === "bottom") {\r\n head.appendChild(styleElement);\r\n } else {\r\n throw new Error("Invalid value for parameter \'insertAt\'. Must be \'top\' or \'bottom\'.");\r\n }\r\n}\r\n\r\nfunction removeStyleElement(styleElement) {\r\n styleElement.parentNode.removeChild(styleElement);\r\n var idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n if(idx >= 0) {\r\n styleElementsInsertedAtTop.splice(idx, 1);\r\n }\r\n}\r\n\r\nfunction createStyleElement(options) {\r\n var styleElement = document.createElement("style");\r\n styleElement.type = "text/css";\r\n insertStyleElement(options, styleElement);\r\n return styleElement;\r\n}\r\n\r\nfunction createLinkElement(options) {\r\n var linkElement = document.createElement("link");\r\n linkElement.rel = "stylesheet";\r\n insertStyleElement(options, linkElement);\r\n return linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n var styleElement, update, remove;\r\n\r\n if (options.singleton) {\r\n var styleIndex = singletonCounter++;\r\n styleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n } else if(obj.sourceMap &&\r\n typeof URL === "function" &&\r\n typeof URL.createObjectURL === "function" &&\r\n typeof URL.revokeObjectURL === "function" &&\r\n typeof Blob === "function" &&\r\n typeof btoa === "function") {\r\n styleElement = createLinkElement(options);\r\n update = updateLink.bind(null, styleElement);\r\n remove = function() {\r\n removeStyleElement(styleElement);\r\n if(styleElement.href)\r\n URL.revokeObjectURL(styleElement.href);\r\n };\r\n } else {\r\n styleElement = createStyleElement(options);\r\n update = applyToTag.bind(null, styleElement);\r\n remove = function() {\r\n removeStyleElement(styleElement);\r\n };\r\n }\r\n\r\n update(obj);\r\n\r\n return function updateStyle(newObj) {\r\n if(newObj) {\r\n if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n return;\r\n update(obj = newObj);\r\n } else {\r\n remove();\r\n }\r\n };\r\n}\r\n\r\nvar replaceText = (function () {\r\n var textStore = [];\r\n\r\n return function (index, replacement) {\r\n textStore[index] = replacement;\r\n return textStore.filter(Boolean).join(\'\\n\');\r\n };\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n var css = remove ? "" : obj.css;\r\n\r\n if (styleElement.styleSheet) {\r\n styleElement.styleSheet.cssText = replaceText(index, css);\r\n } else {\r\n var cssNode = document.createTextNode(css);\r\n var childNodes = styleElement.childNodes;\r\n if (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n if (childNodes.length) {\r\n styleElement.insertBefore(cssNode, childNodes[index]);\r\n } else {\r\n styleElement.appendChild(cssNode);\r\n }\r\n }\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n var css = obj.css;\r\n var media = obj.media;\r\n\r\n if(media) {\r\n styleElement.setAttribute("media", media)\r\n }\r\n\r\n if(styleElement.styleSheet) {\r\n styleElement.styleSheet.cssText = css;\r\n } else {\r\n while(styleElement.firstChild) {\r\n styleElement.removeChild(styleElement.firstChild);\r\n }\r\n styleElement.appendChild(document.createTextNode(css));\r\n }\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n var css = obj.css;\r\n var sourceMap = obj.sourceMap;\r\n\r\n if(sourceMap) {\r\n // http://stackoverflow.com/a/26603875\r\n css += "\\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";\r\n }\r\n\r\n var blob = new Blob([css], { type: "text/css" });\r\n\r\n var oldSrc = linkElement.href;\r\n\r\n linkElement.href = URL.createObjectURL(blob);\r\n\r\n if(oldSrc)\r\n URL.revokeObjectURL(oldSrc);\r\n}\r\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/style-loader/addStyles.js\n ** module id = 158\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/style-loader/addStyles.js?'); },function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isFunction2 = __webpack_require__(160);\n\nvar _isFunction3 = _interopRequireDefault(_isFunction2);\n\nvar _extendReactClass = __webpack_require__(162);\n\nvar _extendReactClass2 = _interopRequireDefault(_extendReactClass);\n\nvar _wrapStatelessFunction = __webpack_require__(354);\n\nvar _wrapStatelessFunction2 = _interopRequireDefault(_wrapStatelessFunction);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Determines if the given object has the signature of a class that inherits React.Component.\n */\n\n\n/**\n * @see https://github.com/gajus/react-css-modules#options\n */\nvar isReactComponent = function isReactComponent(maybeReactComponent) {\n return 'prototype' in maybeReactComponent && (0, _isFunction3.default)(maybeReactComponent.prototype.render);\n};\n\n/**\n * When used as a function.\n */\nvar functionConstructor = function functionConstructor(Component, defaultStyles, options) {\n var decoratedClass = void 0;\n\n if (isReactComponent(Component)) {\n decoratedClass = (0, _extendReactClass2.default)(Component, defaultStyles, options);\n } else {\n decoratedClass = (0, _wrapStatelessFunction2.default)(Component, defaultStyles, options);\n }\n\n if (Component.displayName) {\n decoratedClass.displayName = Component.displayName;\n } else {\n decoratedClass.displayName = Component.name;\n }\n\n return decoratedClass;\n};\n\n/**\n * When used as a ES7 decorator.\n */\nvar decoratorConstructor = function decoratorConstructor(defaultStyles, options) {\n return function (Component) {\n return functionConstructor(Component, defaultStyles, options);\n };\n};\n\nexports.default = function () {\n if ((0, _isFunction3.default)(arguments.length <= 0 ? undefined : arguments[0])) {\n return functionConstructor(arguments.length <= 0 ? undefined : arguments[0], arguments.length <= 1 ? undefined : arguments[1], arguments.length <= 2 ? undefined : arguments[2]);\n } else {\n return decoratorConstructor(arguments.length <= 0 ? undefined : arguments[0], arguments.length <= 1 ? undefined : arguments[1]);\n }\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=index.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/index.js\n ** module id = 159\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/index.js?")},function(module,exports,__webpack_require__){eval("var isObject = __webpack_require__(161);\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8 which returns 'object' for typed array and weak map constructors,\n // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\nmodule.exports = isFunction;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isFunction.js\n ** module id = 160\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isFunction.js?")},function(module,exports){eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isObject.js\n ** module id = 161\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isObject.js?")},function(module,exports,__webpack_require__){eval('\'use strict\';\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\n\nvar _assign2 = __webpack_require__(163);\n\nvar _assign3 = _interopRequireDefault(_assign2);\n\nvar _isObject2 = __webpack_require__(161);\n\nvar _isObject3 = _interopRequireDefault(_isObject2);\n\nvar _linkClass = __webpack_require__(192);\n\nvar _linkClass2 = _interopRequireDefault(_linkClass);\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _hoistNonReactStatics = __webpack_require__(353);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? _defaults(subClass, superClass) : _defaults(subClass, superClass); } /* eslint-disable react/prop-types */\n\n/**\n * @param {ReactClass} Component\n * @param {Object} defaultStyles\n * @param {Object} options\n * @returns {ReactClass}\n */\n\nexports.default = function (Component, defaultStyles, options) {\n var WrappedComponent = function (_Component) {\n _inherits(WrappedComponent, _Component);\n\n function WrappedComponent() {\n _classCallCheck(this, WrappedComponent);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n WrappedComponent.prototype.render = function render() {\n var propsChanged = void 0,\n styles = void 0;\n\n propsChanged = false;\n\n if (this.props.styles) {\n styles = this.props.styles;\n } else if ((0, _isObject3.default)(defaultStyles)) {\n this.props = (0, _assign3.default)({}, this.props, {\n styles: defaultStyles\n });\n\n propsChanged = true;\n styles = defaultStyles;\n } else {\n styles = {};\n }\n\n var renderResult = _Component.prototype.render.call(this);\n\n if (propsChanged) {\n delete this.props.styles;\n }\n\n if (renderResult) {\n return (0, _linkClass2.default)(renderResult, styles, options);\n }\n\n return _react2.default.createElement(\'noscript\');\n };\n\n return WrappedComponent;\n }(Component);\n\n return (0, _hoistNonReactStatics2.default)(WrappedComponent, Component);\n};\n\nmodule.exports = exports[\'default\'];\n//# sourceMappingURL=extendReactClass.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/extendReactClass.js\n ** module id = 162\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/extendReactClass.js?')},function(module,exports,__webpack_require__){eval("var assignValue = __webpack_require__(164),\n copyObject = __webpack_require__(166),\n createAssigner = __webpack_require__(167),\n isArrayLike = __webpack_require__(169),\n isPrototype = __webpack_require__(181),\n keys = __webpack_require__(182);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */\nvar nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf');\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.c = 3;\n * }\n *\n * function Bar() {\n * this.e = 5;\n * }\n *\n * Foo.prototype.d = 4;\n * Bar.prototype.f = 6;\n *\n * _.assign({ 'a': 1 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3, 'e': 5 }\n */\nvar assign = createAssigner(function(object, source) {\n if (nonEnumShadows || isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\n\nmodule.exports = assign;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/assign.js\n ** module id = 163\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/assign.js?")},function(module,exports,__webpack_require__){eval("var eq = __webpack_require__(165);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n object[key] = value;\n }\n}\n\nmodule.exports = assignValue;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_assignValue.js\n ** module id = 164\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_assignValue.js?")},function(module,exports){eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'user': 'fred' };\n * var other = { 'user': 'fred' };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/eq.js\n ** module id = 165\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/eq.js?")},function(module,exports,__webpack_require__){eval("var assignValue = __webpack_require__(164);\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : source[key];\n\n assignValue(object, key, newValue);\n }\n return object;\n}\n\nmodule.exports = copyObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_copyObject.js\n ** module id = 166\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_copyObject.js?")},function(module,exports,__webpack_require__){eval("var isIterateeCall = __webpack_require__(168),\n rest = __webpack_require__(174);\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return rest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_createAssigner.js\n ** module id = 167\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_createAssigner.js?")},function(module,exports,__webpack_require__){eval("var eq = __webpack_require__(165),\n isArrayLike = __webpack_require__(169),\n isIndex = __webpack_require__(173),\n isObject = __webpack_require__(161);\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isIterateeCall.js\n ** module id = 168\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isIterateeCall.js?")},function(module,exports,__webpack_require__){eval("var getLength = __webpack_require__(170),\n isFunction = __webpack_require__(160),\n isLength = __webpack_require__(172);\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(getLength(value)) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isArrayLike.js\n ** module id = 169\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isArrayLike.js?")},function(module,exports,__webpack_require__){eval('var baseProperty = __webpack_require__(171);\n\n/**\n * Gets the "length" property value of `object`.\n *\n * **Note:** This function is used to avoid a\n * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects\n * Safari on at least iOS 8.1-8.3 ARM64.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {*} Returns the "length" value.\n */\nvar getLength = baseProperty(\'length\');\n\nmodule.exports = getLength;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getLength.js\n ** module id = 170\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getLength.js?')},function(module,exports){eval("/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseProperty.js\n ** module id = 171\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseProperty.js?")},function(module,exports){eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This function is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length,\n * else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isLength.js\n ** module id = 172\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isLength.js?")},function(module,exports){eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isIndex.js\n ** module id = 173\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isIndex.js?")},function(module,exports,__webpack_require__){eval("var apply = __webpack_require__(175),\n toInteger = __webpack_require__(176);\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\nfunction rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = nativeMax(start === undefined ? (func.length - 1) : toInteger(start), 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n switch (start) {\n case 0: return func.call(this, array);\n case 1: return func.call(this, args[0], array);\n case 2: return func.call(this, args[0], args[1], array);\n }\n var otherArgs = Array(start + 1);\n index = -1;\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = array;\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = rest;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/rest.js\n ** module id = 174\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/rest.js?")},function(module,exports){eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n var length = args.length;\n switch (length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_apply.js\n ** module id = 175\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_apply.js?")},function(module,exports,__webpack_require__){eval("var toFinite = __webpack_require__(177);\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This function is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/toInteger.js\n ** module id = 176\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/toInteger.js?")},function(module,exports,__webpack_require__){eval("var toNumber = __webpack_require__(178);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/toFinite.js\n ** module id = 177\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/toFinite.js?")},function(module,exports,__webpack_require__){eval("var isFunction = __webpack_require__(160),\n isObject = __webpack_require__(161),\n isSymbol = __webpack_require__(179);\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = isFunction(value.valueOf) ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/toNumber.js\n ** module id = 178\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/toNumber.js?")},function(module,exports,__webpack_require__){eval("var isObjectLike = __webpack_require__(180);\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isSymbol.js\n ** module id = 179\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isSymbol.js?")},function(module,exports){eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isObjectLike.js\n ** module id = 180\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isObjectLike.js?")},function(module,exports){eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isPrototype.js\n ** module id = 181\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isPrototype.js?"); },function(module,exports,__webpack_require__){eval("var baseHas = __webpack_require__(183),\n baseKeys = __webpack_require__(185),\n indexKeys = __webpack_require__(186),\n isArrayLike = __webpack_require__(169),\n isIndex = __webpack_require__(173),\n isPrototype = __webpack_require__(181);\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n var isProto = isPrototype(object);\n if (!(isProto || isArrayLike(object))) {\n return baseKeys(object);\n }\n var indexes = indexKeys(object),\n skipIndexes = !!indexes,\n result = indexes || [],\n length = result.length;\n\n for (var key in object) {\n if (baseHas(object, key) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length))) &&\n !(isProto && key == 'constructor')) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = keys;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/keys.js\n ** module id = 182\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/keys.js?")},function(module,exports,__webpack_require__){eval("var getPrototype = __webpack_require__(184);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,\n // that are composed entirely of index properties, return `false` for\n // `hasOwnProperty` checks of them.\n return hasOwnProperty.call(object, key) ||\n (typeof object == 'object' && key in object && getPrototype(object) === null);\n}\n\nmodule.exports = baseHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseHas.js\n ** module id = 183\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseHas.js?")},function(module,exports){eval("/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetPrototype = Object.getPrototypeOf;\n\n/**\n * Gets the `[[Prototype]]` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {null|Object} Returns the `[[Prototype]]`.\n */\nfunction getPrototype(value) {\n return nativeGetPrototype(Object(value));\n}\n\nmodule.exports = getPrototype;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getPrototype.js\n ** module id = 184\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getPrototype.js?")},function(module,exports){eval("/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = Object.keys;\n\n/**\n * The base implementation of `_.keys` which doesn't skip the constructor\n * property of prototypes or treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n return nativeKeys(Object(object));\n}\n\nmodule.exports = baseKeys;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseKeys.js\n ** module id = 185\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseKeys.js?")},function(module,exports,__webpack_require__){eval("var baseTimes = __webpack_require__(187),\n isArguments = __webpack_require__(188),\n isArray = __webpack_require__(190),\n isLength = __webpack_require__(172),\n isString = __webpack_require__(191);\n\n/**\n * Creates an array of index keys for `object` values of arrays,\n * `arguments` objects, and strings, otherwise `null` is returned.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array|null} Returns index keys, else `null`.\n */\nfunction indexKeys(object) {\n var length = object ? object.length : undefined;\n if (isLength(length) &&\n (isArray(object) || isString(object) || isArguments(object))) {\n return baseTimes(length, String);\n }\n return null;\n}\n\nmodule.exports = indexKeys;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_indexKeys.js\n ** module id = 186\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_indexKeys.js?")},function(module,exports){eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseTimes.js\n ** module id = 187\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseTimes.js?")},function(module,exports,__webpack_require__){eval("var isArrayLikeObject = __webpack_require__(189);\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\nmodule.exports = isArguments;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isArguments.js\n ** module id = 188\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isArguments.js?")},function(module,exports,__webpack_require__){eval("var isArrayLike = __webpack_require__(169),\n isObjectLike = __webpack_require__(180);\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isArrayLikeObject.js\n ** module id = 189\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isArrayLikeObject.js?")},function(module,exports){eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @type {Function}\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isArray.js\n ** module id = 190\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isArray.js?")},function(module,exports,__webpack_require__){eval("var isArray = __webpack_require__(190),\n isObjectLike = __webpack_require__(180);\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isString.js\n ** module id = 191\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isString.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isObject2 = __webpack_require__(161);\n\nvar _isObject3 = _interopRequireDefault(_isObject2);\n\nvar _isArray2 = __webpack_require__(190);\n\nvar _isArray3 = _interopRequireDefault(_isArray2);\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _makeConfiguration = __webpack_require__(193);\n\nvar _makeConfiguration2 = _interopRequireDefault(_makeConfiguration);\n\nvar _isIterable = __webpack_require__(338);\n\nvar _isIterable2 = _interopRequireDefault(_isIterable);\n\nvar _parseStyleName = __webpack_require__(339);\n\nvar _parseStyleName2 = _interopRequireDefault(_parseStyleName);\n\nvar _generateAppendClassName = __webpack_require__(351);\n\nvar _generateAppendClassName2 = _interopRequireDefault(_generateAppendClassName);\n\nvar _objectUnfreeze = __webpack_require__(352);\n\nvar _objectUnfreeze2 = _interopRequireDefault(_objectUnfreeze);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar linkElement = function linkElement(element, styles, configuration) {\n var appendClassName = void 0,\n elementIsFrozen = void 0,\n elementShallowCopy = void 0;\n\n elementShallowCopy = element;\n\n if (Object.isFrozen && Object.isFrozen(elementShallowCopy)) {\n elementIsFrozen = true;\n\n // https://github.com/facebook/react/blob/v0.13.3/src/classic/element/ReactElement.js#L131\n elementShallowCopy = (0, _objectUnfreeze2.default)(elementShallowCopy);\n elementShallowCopy.props = (0, _objectUnfreeze2.default)(elementShallowCopy.props);\n }\n\n var styleNames = (0, _parseStyleName2.default)(elementShallowCopy.props.styleName || '', configuration.allowMultiple);\n\n if (_react2.default.isValidElement(elementShallowCopy.props.children)) {\n elementShallowCopy.props.children = linkElement(_react2.default.Children.only(elementShallowCopy.props.children), styles, configuration);\n } else if ((0, _isArray3.default)(elementShallowCopy.props.children) || (0, _isIterable2.default)(elementShallowCopy.props.children)) {\n elementShallowCopy.props.children = _react2.default.Children.map(elementShallowCopy.props.children, function (node) {\n if (_react2.default.isValidElement(node)) {\n return linkElement(node, styles, configuration);\n } else {\n return node;\n }\n });\n }\n\n if (styleNames.length) {\n appendClassName = (0, _generateAppendClassName2.default)(styles, styleNames, configuration.errorWhenNotFound);\n\n if (appendClassName) {\n if (elementShallowCopy.props.className) {\n appendClassName = elementShallowCopy.props.className + ' ' + appendClassName;\n }\n\n elementShallowCopy.props.className = appendClassName;\n elementShallowCopy.props.styleName = null;\n }\n }\n\n if (elementIsFrozen) {\n Object.freeze(elementShallowCopy.props);\n Object.freeze(elementShallowCopy);\n }\n\n return elementShallowCopy;\n};\n\n/**\n * @param {ReactElement} element\n * @param {Object} styles CSS modules class map.\n * @param {CSSModules~Options} userConfiguration\n */\n\nexports.default = function (element) {\n var styles = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n var userConfiguration = arguments[2];\n\n // @see https://github.com/gajus/react-css-modules/pull/30\n if (!(0, _isObject3.default)(element)) {\n return element;\n }\n\n var configuration = (0, _makeConfiguration2.default)(userConfiguration);\n\n return linkElement(element, styles, configuration);\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=linkClass.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/linkClass.js\n ** module id = 192\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/linkClass.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isBoolean2 = __webpack_require__(194);\n\nvar _isBoolean3 = _interopRequireDefault(_isBoolean2);\n\nvar _isUndefined2 = __webpack_require__(195);\n\nvar _isUndefined3 = _interopRequireDefault(_isUndefined2);\n\nvar _forEach2 = __webpack_require__(196);\n\nvar _forEach3 = _interopRequireDefault(_forEach2);\n\nvar _es6Map = __webpack_require__(285);\n\nvar _es6Map2 = _interopRequireDefault(_es6Map);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar userConfigurationIndex = new _es6Map2.default();\n\n/**\n * @typedef CSSModules~Options\n * @see {@link https://github.com/gajus/react-css-modules#options}\n * @property {boolean} allowMultiple\n * @property {boolean} errorWhenNotFound\n */\n\n/**\n * @param {CSSModules~Options} userConfiguration\n * @returns {CSSModules~Options}\n */\n\nexports.default = function () {\n var userConfiguration = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n var configuration = void 0;\n\n configuration = userConfigurationIndex.get(userConfiguration);\n\n if (configuration) {\n return configuration;\n }\n\n configuration = {\n allowMultiple: false,\n errorWhenNotFound: true\n };\n\n (0, _forEach3.default)(userConfiguration, function (value, name) {\n if ((0, _isUndefined3.default)(configuration[name])) {\n throw new Error('Unknown configuration property \"' + name + '\".');\n }\n\n if (!(0, _isBoolean3.default)(value)) {\n throw new Error('\"' + name + '\" property value must be a boolean.');\n }\n\n configuration[name] = value;\n });\n\n userConfigurationIndex.set(userConfiguration, configuration);\n\n return configuration;\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=makeConfiguration.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/makeConfiguration.js\n ** module id = 193\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/makeConfiguration.js?")},function(module,exports,__webpack_require__){eval("var isObjectLike = __webpack_require__(180);\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && objectToString.call(value) == boolTag);\n}\n\nmodule.exports = isBoolean;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isBoolean.js\n ** module id = 194\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isBoolean.js?")},function(module,exports){eval("/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isUndefined.js\n ** module id = 195\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isUndefined.js?")},function(module,exports,__webpack_require__){eval("var arrayEach = __webpack_require__(197),\n baseEach = __webpack_require__(198),\n baseIteratee = __webpack_require__(203),\n isArray = __webpack_require__(190);\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _([1, 2]).forEach(function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = forEach;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/forEach.js\n ** module id = 196\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/forEach.js?")},function(module,exports){eval("/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_arrayEach.js\n ** module id = 197\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_arrayEach.js?")},function(module,exports,__webpack_require__){eval("var baseForOwn = __webpack_require__(199),\n createBaseEach = __webpack_require__(202);\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseEach.js\n ** module id = 198\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseEach.js?")},function(module,exports,__webpack_require__){eval("var baseFor = __webpack_require__(200),\n keys = __webpack_require__(182);\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseForOwn.js\n ** module id = 199\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseForOwn.js?")},function(module,exports,__webpack_require__){eval("var createBaseFor = __webpack_require__(201);\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseFor.js\n ** module id = 200\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseFor.js?")},function(module,exports){eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_createBaseFor.js\n ** module id = 201\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_createBaseFor.js?")},function(module,exports,__webpack_require__){eval("var isArrayLike = __webpack_require__(169);\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_createBaseEach.js\n ** module id = 202\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_createBaseEach.js?")},function(module,exports,__webpack_require__){eval("var baseMatches = __webpack_require__(204),\n baseMatchesProperty = __webpack_require__(269),\n identity = __webpack_require__(282),\n isArray = __webpack_require__(190),\n property = __webpack_require__(283);\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseIteratee.js\n ** module id = 203\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseIteratee.js?")},function(module,exports,__webpack_require__){eval("var baseIsMatch = __webpack_require__(205),\n getMatchData = __webpack_require__(261),\n matchesStrictComparable = __webpack_require__(268);\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseMatches.js\n ** module id = 204\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseMatches.js?")},function(module,exports,__webpack_require__){eval("var Stack = __webpack_require__(206),\n baseIsEqual = __webpack_require__(242);\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseIsMatch.js\n ** module id = 205\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseIsMatch.js?")},function(module,exports,__webpack_require__){eval("var ListCache = __webpack_require__(207),\n stackClear = __webpack_require__(214),\n stackDelete = __webpack_require__(215),\n stackGet = __webpack_require__(216),\n stackHas = __webpack_require__(217),\n stackSet = __webpack_require__(218);\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n this.__data__ = new ListCache(entries);\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Stack.js\n ** module id = 206\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Stack.js?")},function(module,exports,__webpack_require__){eval("var listCacheClear = __webpack_require__(208),\n listCacheDelete = __webpack_require__(209),\n listCacheGet = __webpack_require__(211),\n listCacheHas = __webpack_require__(212),\n listCacheSet = __webpack_require__(213);\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_ListCache.js\n ** module id = 207\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_ListCache.js?"); },function(module,exports){eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\nmodule.exports = listCacheClear;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_listCacheClear.js\n ** module id = 208\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_listCacheClear.js?")},function(module,exports,__webpack_require__){eval("var assocIndexOf = __webpack_require__(210);\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_listCacheDelete.js\n ** module id = 209\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_listCacheDelete.js?")},function(module,exports,__webpack_require__){eval("var eq = __webpack_require__(165);\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_assocIndexOf.js\n ** module id = 210\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_assocIndexOf.js?")},function(module,exports,__webpack_require__){eval("var assocIndexOf = __webpack_require__(210);\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_listCacheGet.js\n ** module id = 211\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_listCacheGet.js?")},function(module,exports,__webpack_require__){eval("var assocIndexOf = __webpack_require__(210);\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_listCacheHas.js\n ** module id = 212\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_listCacheHas.js?")},function(module,exports,__webpack_require__){eval("var assocIndexOf = __webpack_require__(210);\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_listCacheSet.js\n ** module id = 213\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_listCacheSet.js?")},function(module,exports,__webpack_require__){eval("var ListCache = __webpack_require__(207);\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n}\n\nmodule.exports = stackClear;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stackClear.js\n ** module id = 214\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stackClear.js?")},function(module,exports){eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n return this.__data__['delete'](key);\n}\n\nmodule.exports = stackDelete;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stackDelete.js\n ** module id = 215\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stackDelete.js?")},function(module,exports){eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stackGet.js\n ** module id = 216\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stackGet.js?")},function(module,exports){eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stackHas.js\n ** module id = 217\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stackHas.js?")},function(module,exports,__webpack_require__){eval("var ListCache = __webpack_require__(207),\n MapCache = __webpack_require__(219);\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var cache = this.__data__;\n if (cache instanceof ListCache && cache.__data__.length == LARGE_ARRAY_SIZE) {\n cache = this.__data__ = new MapCache(cache.__data__);\n }\n cache.set(key, value);\n return this;\n}\n\nmodule.exports = stackSet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stackSet.js\n ** module id = 218\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stackSet.js?")},function(module,exports,__webpack_require__){eval("var mapCacheClear = __webpack_require__(220),\n mapCacheDelete = __webpack_require__(236),\n mapCacheGet = __webpack_require__(239),\n mapCacheHas = __webpack_require__(240),\n mapCacheSet = __webpack_require__(241);\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_MapCache.js\n ** module id = 219\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_MapCache.js?")},function(module,exports,__webpack_require__){eval("var Hash = __webpack_require__(221),\n ListCache = __webpack_require__(207),\n Map = __webpack_require__(232);\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapCacheClear.js\n ** module id = 220\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapCacheClear.js?")},function(module,exports,__webpack_require__){eval("var hashClear = __webpack_require__(222),\n hashDelete = __webpack_require__(228),\n hashGet = __webpack_require__(229),\n hashHas = __webpack_require__(230),\n hashSet = __webpack_require__(231);\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Hash.js\n ** module id = 221\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Hash.js?")},function(module,exports,__webpack_require__){eval("var nativeCreate = __webpack_require__(223);\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\nmodule.exports = hashClear;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hashClear.js\n ** module id = 222\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hashClear.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224);\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_nativeCreate.js\n ** module id = 223\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_nativeCreate.js?")},function(module,exports,__webpack_require__){eval("var isNative = __webpack_require__(225);\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = object[key];\n return isNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getNative.js\n ** module id = 224\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getNative.js?")},function(module,exports,__webpack_require__){eval("var isFunction = __webpack_require__(160),\n isHostObject = __webpack_require__(226),\n isObject = __webpack_require__(161),\n toSource = __webpack_require__(227);\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = Function.prototype.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * Checks if `value` is a native function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\nfunction isNative(value) {\n if (!isObject(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = isNative;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isNative.js\n ** module id = 225\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isNative.js?")},function(module,exports){eval("/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\nmodule.exports = isHostObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isHostObject.js\n ** module id = 226\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isHostObject.js?")},function(module,exports){eval("/** Used to resolve the decompiled source of functions. */\nvar funcToString = Function.prototype.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_toSource.js\n ** module id = 227\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_toSource.js?")},function(module,exports){eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\nmodule.exports = hashDelete;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hashDelete.js\n ** module id = 228\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hashDelete.js?")},function(module,exports,__webpack_require__){eval("var nativeCreate = __webpack_require__(223);\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hashGet.js\n ** module id = 229\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hashGet.js?")},function(module,exports,__webpack_require__){eval("var nativeCreate = __webpack_require__(223);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hashHas.js\n ** module id = 230\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hashHas.js?")},function(module,exports,__webpack_require__){eval("var nativeCreate = __webpack_require__(223);\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hashSet.js\n ** module id = 231\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hashSet.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224),\n root = __webpack_require__(233);\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Map.js\n ** module id = 232\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Map.js?")},function(module,exports,__webpack_require__){eval("/* WEBPACK VAR INJECTION */(function(module, global) {var checkGlobal = __webpack_require__(235);\n\n/** Used to determine if values are of the language type `Object`. */\nvar objectTypes = {\n 'function': true,\n 'object': true\n};\n\n/** Detect free variable `exports`. */\nvar freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)\n ? exports\n : undefined;\n\n/** Detect free variable `module`. */\nvar freeModule = (objectTypes[typeof module] && module && !module.nodeType)\n ? module\n : undefined;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);\n\n/** Detect free variable `self`. */\nvar freeSelf = checkGlobal(objectTypes[typeof self] && self);\n\n/** Detect free variable `window`. */\nvar freeWindow = checkGlobal(objectTypes[typeof window] && window);\n\n/** Detect `this` as the global object. */\nvar thisGlobal = checkGlobal(objectTypes[typeof this] && this);\n\n/**\n * Used as a reference to the global object.\n *\n * The `this` value is used if it's the global object to avoid Greasemonkey's\n * restricted `window` object, otherwise the `window` object is used.\n */\nvar root = freeGlobal ||\n ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||\n freeSelf || thisGlobal || Function('return this')();\n\nmodule.exports = root;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(234)(module), (function() { return this; }())))\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_root.js\n ** module id = 233\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_root.js?")},function(module,exports){eval("module.exports = function(module) {\r\n if(!module.webpackPolyfill) {\r\n module.deprecate = function() {};\r\n module.paths = [];\r\n // module.parent = undefined by default\r\n module.children = [];\r\n module.webpackPolyfill = 1;\r\n }\r\n return module;\r\n}\r\n\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/buildin/module.js\n ** module id = 234\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///(webpack)/buildin/module.js?")},function(module,exports){eval("/**\n * Checks if `value` is a global object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n */\nfunction checkGlobal(value) {\n return (value && value.Object === Object) ? value : null;\n}\n\nmodule.exports = checkGlobal;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_checkGlobal.js\n ** module id = 235\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_checkGlobal.js?")},function(module,exports,__webpack_require__){eval("var getMapData = __webpack_require__(237);\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\nmodule.exports = mapCacheDelete;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapCacheDelete.js\n ** module id = 236\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapCacheDelete.js?")},function(module,exports,__webpack_require__){eval("var isKeyable = __webpack_require__(238);\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getMapData.js\n ** module id = 237\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getMapData.js?")},function(module,exports){eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isKeyable.js\n ** module id = 238\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isKeyable.js?")},function(module,exports,__webpack_require__){eval("var getMapData = __webpack_require__(237);\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapCacheGet.js\n ** module id = 239\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapCacheGet.js?")},function(module,exports,__webpack_require__){eval("var getMapData = __webpack_require__(237);\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapCacheHas.js\n ** module id = 240\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapCacheHas.js?")},function(module,exports,__webpack_require__){eval("var getMapData = __webpack_require__(237);\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapCacheSet.js\n ** module id = 241\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapCacheSet.js?")},function(module,exports,__webpack_require__){eval("var baseIsEqualDeep = __webpack_require__(243),\n isObject = __webpack_require__(161),\n isObjectLike = __webpack_require__(180);\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {boolean} [bitmask] The bitmask of comparison flags.\n * The bitmask may be composed of the following flags:\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, customizer, bitmask, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);\n}\n\nmodule.exports = baseIsEqual;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseIsEqual.js\n ** module id = 242\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseIsEqual.js?")},function(module,exports,__webpack_require__){eval("var Stack = __webpack_require__(206),\n equalArrays = __webpack_require__(244),\n equalByTag = __webpack_require__(249),\n equalObjects = __webpack_require__(254),\n getTag = __webpack_require__(255),\n isArray = __webpack_require__(190),\n isHostObject = __webpack_require__(226),\n isTypedArray = __webpack_require__(260);\n\n/** Used to compose bitmasks for comparison styles. */\nvar PARTIAL_COMPARE_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = arrayTag,\n othTag = arrayTag;\n\n if (!objIsArr) {\n objTag = getTag(object);\n objTag = objTag == argsTag ? objectTag : objTag;\n }\n if (!othIsArr) {\n othTag = getTag(other);\n othTag = othTag == argsTag ? objectTag : othTag;\n }\n var objIsObj = objTag == objectTag && !isHostObject(object),\n othIsObj = othTag == objectTag && !isHostObject(other),\n isSameTag = objTag == othTag;\n\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, equalFunc, customizer, bitmask, stack)\n : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);\n }\n if (!(bitmask & PARTIAL_COMPARE_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, equalFunc, customizer, bitmask, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseIsEqualDeep.js\n ** module id = 243\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseIsEqualDeep.js?")},function(module,exports,__webpack_require__){eval("var SetCache = __webpack_require__(245),\n arraySome = __webpack_require__(248);\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, equalFunc, customizer, bitmask, stack) {\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!seen.has(othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {\n return seen.add(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, customizer, bitmask, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n return result;\n}\n\nmodule.exports = equalArrays;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_equalArrays.js\n ** module id = 244\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_equalArrays.js?"); },function(module,exports,__webpack_require__){eval("var MapCache = __webpack_require__(219),\n setCacheAdd = __webpack_require__(246),\n setCacheHas = __webpack_require__(247);\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values ? values.length : 0;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_SetCache.js\n ** module id = 245\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_SetCache.js?")},function(module,exports){eval("/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_setCacheAdd.js\n ** module id = 246\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_setCacheAdd.js?")},function(module,exports){eval("/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_setCacheHas.js\n ** module id = 247\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_setCacheHas.js?")},function(module,exports){eval("/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_arraySome.js\n ** module id = 248\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_arraySome.js?")},function(module,exports,__webpack_require__){eval("var Symbol = __webpack_require__(250),\n Uint8Array = __webpack_require__(251),\n equalArrays = __webpack_require__(244),\n mapToArray = __webpack_require__(252),\n setToArray = __webpack_require__(253);\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n // Coerce dates and booleans to numbers, dates to milliseconds and\n // booleans to `1` or `0` treating invalid dates coerced to `NaN` as\n // not equal.\n return +object == +other;\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case numberTag:\n // Treat `NaN` vs. `NaN` as equal.\n return (object != +object) ? other != +other : object == +other;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/6.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= UNORDERED_COMPARE_FLAG;\n stack.set(object, other);\n\n // Recursively compare objects (susceptible to call stack limits).\n return equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_equalByTag.js\n ** module id = 249\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_equalByTag.js?")},function(module,exports,__webpack_require__){eval("var root = __webpack_require__(233);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Symbol.js\n ** module id = 250\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Symbol.js?")},function(module,exports,__webpack_require__){eval("var root = __webpack_require__(233);\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Uint8Array.js\n ** module id = 251\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Uint8Array.js?")},function(module,exports){eval("/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_mapToArray.js\n ** module id = 252\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_mapToArray.js?")},function(module,exports){eval("/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_setToArray.js\n ** module id = 253\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_setToArray.js?")},function(module,exports,__webpack_require__){eval("var baseHas = __webpack_require__(183),\n keys = __webpack_require__(182);\n\n/** Used to compose bitmasks for comparison styles. */\nvar PARTIAL_COMPARE_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, equalFunc, customizer, bitmask, stack) {\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n objProps = keys(object),\n objLength = objProps.length,\n othProps = keys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : baseHas(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n return result;\n}\n\nmodule.exports = equalObjects;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_equalObjects.js\n ** module id = 254\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_equalObjects.js?")},function(module,exports,__webpack_require__){eval("var DataView = __webpack_require__(256),\n Map = __webpack_require__(232),\n Promise = __webpack_require__(257),\n Set = __webpack_require__(258),\n WeakMap = __webpack_require__(259),\n toSource = __webpack_require__(227);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction getTag(value) {\n return objectToString.call(value);\n}\n\n// Fallback for data views, maps, sets, and weak maps in IE 11,\n// for data views in Edge, and promises in Node.js.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = objectToString.call(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : undefined;\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getTag.js\n ** module id = 255\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getTag.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224),\n root = __webpack_require__(233);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_DataView.js\n ** module id = 256\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_DataView.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224),\n root = __webpack_require__(233);\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Promise.js\n ** module id = 257\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Promise.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224),\n root = __webpack_require__(233);\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_Set.js\n ** module id = 258\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_Set.js?")},function(module,exports,__webpack_require__){eval("var getNative = __webpack_require__(224),\n root = __webpack_require__(233);\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_WeakMap.js\n ** module id = 259\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_WeakMap.js?")},function(module,exports,__webpack_require__){eval("var isLength = __webpack_require__(172),\n isObjectLike = __webpack_require__(180);\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nfunction isTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[objectToString.call(value)];\n}\n\nmodule.exports = isTypedArray;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/isTypedArray.js\n ** module id = 260\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/isTypedArray.js?")},function(module,exports,__webpack_require__){eval("var isStrictComparable = __webpack_require__(262),\n toPairs = __webpack_require__(263);\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = toPairs(object),\n length = result.length;\n\n while (length--) {\n result[length][2] = isStrictComparable(result[length][1]);\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_getMatchData.js\n ** module id = 261\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_getMatchData.js?")},function(module,exports,__webpack_require__){eval("var isObject = __webpack_require__(161);\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isStrictComparable.js\n ** module id = 262\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isStrictComparable.js?")},function(module,exports,__webpack_require__){eval("var createToPairs = __webpack_require__(264),\n keys = __webpack_require__(182);\n\n/**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\nvar toPairs = createToPairs(keys);\n\nmodule.exports = toPairs;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/toPairs.js\n ** module id = 263\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/toPairs.js?")},function(module,exports,__webpack_require__){eval("var baseToPairs = __webpack_require__(265),\n getTag = __webpack_require__(255),\n mapToArray = __webpack_require__(252),\n setToPairs = __webpack_require__(267);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\nfunction createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n}\n\nmodule.exports = createToPairs;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_createToPairs.js\n ** module id = 264\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_createToPairs.js?")},function(module,exports,__webpack_require__){eval("var arrayMap = __webpack_require__(266);\n\n/**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\nfunction baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n}\n\nmodule.exports = baseToPairs;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseToPairs.js\n ** module id = 265\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseToPairs.js?")},function(module,exports){eval("/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_arrayMap.js\n ** module id = 266\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_arrayMap.js?")},function(module,exports){eval("/**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\nfunction setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n}\n\nmodule.exports = setToPairs;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_setToPairs.js\n ** module id = 267\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_setToPairs.js?")},function(module,exports){eval("/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_matchesStrictComparable.js\n ** module id = 268\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_matchesStrictComparable.js?")},function(module,exports,__webpack_require__){eval("var baseIsEqual = __webpack_require__(242),\n get = __webpack_require__(270),\n hasIn = __webpack_require__(279),\n isKey = __webpack_require__(277),\n isStrictComparable = __webpack_require__(262),\n matchesStrictComparable = __webpack_require__(268),\n toKey = __webpack_require__(278);\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseMatchesProperty.js\n ** module id = 269\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseMatchesProperty.js?")},function(module,exports,__webpack_require__){eval("var baseGet = __webpack_require__(271);\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is used in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/get.js\n ** module id = 270\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/get.js?")},function(module,exports,__webpack_require__){eval("var castPath = __webpack_require__(272),\n isKey = __webpack_require__(277),\n toKey = __webpack_require__(278);\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseGet.js\n ** module id = 271\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseGet.js?")},function(module,exports,__webpack_require__){eval("var isArray = __webpack_require__(190),\n stringToPath = __webpack_require__(273);\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\nmodule.exports = castPath;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_castPath.js\n ** module id = 272\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_castPath.js?")},function(module,exports,__webpack_require__){eval("var memoize = __webpack_require__(274),\n toString = __webpack_require__(275);\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoize(function(string) {\n var result = [];\n toString(string).replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stringToPath.js\n ** module id = 273\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stringToPath.js?")},function(module,exports,__webpack_require__){eval("var MapCache = __webpack_require__(219);\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/memoize.js\n ** module id = 274\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/memoize.js?"); },function(module,exports,__webpack_require__){eval("var baseToString = __webpack_require__(276);\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/toString.js\n ** module id = 275\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/toString.js?")},function(module,exports,__webpack_require__){eval("var Symbol = __webpack_require__(250),\n isSymbol = __webpack_require__(179);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseToString.js\n ** module id = 276\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseToString.js?")},function(module,exports,__webpack_require__){eval("var isArray = __webpack_require__(190),\n isSymbol = __webpack_require__(179);\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_isKey.js\n ** module id = 277\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_isKey.js?")},function(module,exports,__webpack_require__){eval("var isSymbol = __webpack_require__(179);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_toKey.js\n ** module id = 278\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_toKey.js?")},function(module,exports,__webpack_require__){eval("var baseHasIn = __webpack_require__(280),\n hasPath = __webpack_require__(281);\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/hasIn.js\n ** module id = 279\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/hasIn.js?")},function(module,exports){eval("/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseHasIn.js\n ** module id = 280\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseHasIn.js?")},function(module,exports,__webpack_require__){eval("var castPath = __webpack_require__(272),\n isArguments = __webpack_require__(188),\n isArray = __webpack_require__(190),\n isIndex = __webpack_require__(173),\n isKey = __webpack_require__(277),\n isLength = __webpack_require__(172),\n isString = __webpack_require__(191),\n toKey = __webpack_require__(278);\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var result,\n index = -1,\n length = path.length;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result) {\n return result;\n }\n var length = object ? object.length : 0;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isString(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_hasPath.js\n ** module id = 281\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_hasPath.js?")},function(module,exports){eval("/**\n * This method returns the first argument given to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'user': 'fred' };\n *\n * _.identity(object) === object;\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/identity.js\n ** module id = 282\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/identity.js?")},function(module,exports,__webpack_require__){eval("var baseProperty = __webpack_require__(171),\n basePropertyDeep = __webpack_require__(284),\n isKey = __webpack_require__(277),\n toKey = __webpack_require__(278);\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/property.js\n ** module id = 283\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/property.js?")},function(module,exports,__webpack_require__){eval("var baseGet = __webpack_require__(271);\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_basePropertyDeep.js\n ** module id = 284\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_basePropertyDeep.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(286)() ? Map : __webpack_require__(287);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/index.js\n ** module id = 285\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function () {\n var map, iterator, result;\n if (typeof Map !== 'function') return false;\n try {\n // WebKit doesn't support arguments and crashes\n map = new Map([['raz', 'one'], ['dwa', 'two'], ['trzy', 'three']]);\n } catch (e) {\n return false;\n }\n if (String(map) !== '[object Map]') return false;\n if (map.size !== 3) return false;\n if (typeof map.clear !== 'function') return false;\n if (typeof map.delete !== 'function') return false;\n if (typeof map.entries !== 'function') return false;\n if (typeof map.forEach !== 'function') return false;\n if (typeof map.get !== 'function') return false;\n if (typeof map.has !== 'function') return false;\n if (typeof map.keys !== 'function') return false;\n if (typeof map.set !== 'function') return false;\n if (typeof map.values !== 'function') return false;\n\n iterator = map.entries();\n result = iterator.next();\n if (result.done !== false) return false;\n if (!result.value) return false;\n if (result.value[0] !== 'raz') return false;\n if (result.value[1] !== 'one') return false;\n\n return true;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/is-implemented.js\n ** module id = 286\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/is-implemented.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar clear = __webpack_require__(288)\n , eIndexOf = __webpack_require__(290)\n , setPrototypeOf = __webpack_require__(296)\n , callable = __webpack_require__(301)\n , validValue = __webpack_require__(289)\n , d = __webpack_require__(302)\n , ee = __webpack_require__(314)\n , Symbol = __webpack_require__(315)\n , iterator = __webpack_require__(320)\n , forOf = __webpack_require__(324)\n , Iterator = __webpack_require__(334)\n , isNative = __webpack_require__(337)\n\n , call = Function.prototype.call\n , defineProperties = Object.defineProperties, getPrototypeOf = Object.getPrototypeOf\n , MapPoly;\n\nmodule.exports = MapPoly = function (/*iterable*/) {\n var iterable = arguments[0], keys, values, self;\n if (!(this instanceof MapPoly)) throw new TypeError('Constructor requires \\'new\\'');\n if (isNative && setPrototypeOf && (Map !== MapPoly)) {\n self = setPrototypeOf(new Map(), getPrototypeOf(this));\n } else {\n self = this;\n }\n if (iterable != null) iterator(iterable);\n defineProperties(self, {\n __mapKeysData__: d('c', keys = []),\n __mapValuesData__: d('c', values = [])\n });\n if (!iterable) return self;\n forOf(iterable, function (value) {\n var key = validValue(value)[0];\n value = value[1];\n if (eIndexOf.call(keys, key) !== -1) return;\n keys.push(key);\n values.push(value);\n }, self);\n return self;\n};\n\nif (isNative) {\n if (setPrototypeOf) setPrototypeOf(MapPoly, Map);\n MapPoly.prototype = Object.create(Map.prototype, {\n constructor: d(MapPoly)\n });\n}\n\nee(defineProperties(MapPoly.prototype, {\n clear: d(function () {\n if (!this.__mapKeysData__.length) return;\n clear.call(this.__mapKeysData__);\n clear.call(this.__mapValuesData__);\n this.emit('_clear');\n }),\n delete: d(function (key) {\n var index = eIndexOf.call(this.__mapKeysData__, key);\n if (index === -1) return false;\n this.__mapKeysData__.splice(index, 1);\n this.__mapValuesData__.splice(index, 1);\n this.emit('_delete', index, key);\n return true;\n }),\n entries: d(function () { return new Iterator(this, 'key+value'); }),\n forEach: d(function (cb/*, thisArg*/) {\n var thisArg = arguments[1], iterator, result;\n callable(cb);\n iterator = this.entries();\n result = iterator._next();\n while (result !== undefined) {\n call.call(cb, thisArg, this.__mapValuesData__[result],\n this.__mapKeysData__[result], this);\n result = iterator._next();\n }\n }),\n get: d(function (key) {\n var index = eIndexOf.call(this.__mapKeysData__, key);\n if (index === -1) return;\n return this.__mapValuesData__[index];\n }),\n has: d(function (key) {\n return (eIndexOf.call(this.__mapKeysData__, key) !== -1);\n }),\n keys: d(function () { return new Iterator(this, 'key'); }),\n set: d(function (key, value) {\n var index = eIndexOf.call(this.__mapKeysData__, key), emit;\n if (index === -1) {\n index = this.__mapKeysData__.push(key) - 1;\n emit = true;\n }\n this.__mapValuesData__[index] = value;\n if (emit) this.emit('_add', index, key);\n return this;\n }),\n size: d.gs(function () { return this.__mapKeysData__.length; }),\n values: d(function () { return new Iterator(this, 'value'); }),\n toString: d(function () { return '[object Map]'; })\n}));\nObject.defineProperty(MapPoly.prototype, Symbol.iterator, d(function () {\n return this.entries();\n}));\nObject.defineProperty(MapPoly.prototype, Symbol.toStringTag, d('c', 'Map'));\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/polyfill.js\n ** module id = 287\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/polyfill.js?")},function(module,exports,__webpack_require__){eval("// Inspired by Google Closure:\n// http://closure-library.googlecode.com/svn/docs/\n// closure_goog_array_array.js.html#goog.array.clear\n\n'use strict';\n\nvar value = __webpack_require__(289);\n\nmodule.exports = function () {\n value(this).length = 0;\n return this;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/array/#/clear.js\n ** module id = 288\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/array/#/clear.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function (value) {\n if (value == null) throw new TypeError(\"Cannot use null or undefined\");\n return value;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/valid-value.js\n ** module id = 289\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/valid-value.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar toPosInt = __webpack_require__(291)\n , value = __webpack_require__(289)\n\n , indexOf = Array.prototype.indexOf\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , abs = Math.abs, floor = Math.floor;\n\nmodule.exports = function (searchElement/*, fromIndex*/) {\n var i, l, fromIndex, val;\n if (searchElement === searchElement) { //jslint: ignore\n return indexOf.apply(this, arguments);\n }\n\n l = toPosInt(value(this).length);\n fromIndex = arguments[1];\n if (isNaN(fromIndex)) fromIndex = 0;\n else if (fromIndex >= 0) fromIndex = floor(fromIndex);\n else fromIndex = toPosInt(this.length) - floor(abs(fromIndex));\n\n for (i = fromIndex; i < l; ++i) {\n if (hasOwnProperty.call(this, i)) {\n val = this[i];\n if (val !== val) return i; //jslint: ignore\n }\n }\n return -1;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/array/#/e-index-of.js\n ** module id = 290\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/array/#/e-index-of.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar toInteger = __webpack_require__(292)\n\n , max = Math.max;\n\nmodule.exports = function (value) { return max(0, toInteger(value)); };\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/number/to-pos-integer.js\n ** module id = 291\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/number/to-pos-integer.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar sign = __webpack_require__(293)\n\n , abs = Math.abs, floor = Math.floor;\n\nmodule.exports = function (value) {\n if (isNaN(value)) return 0;\n value = Number(value);\n if ((value === 0) || !isFinite(value)) return value;\n return sign(value) * floor(abs(value));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/number/to-integer.js\n ** module id = 292\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/number/to-integer.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(294)()\n ? Math.sign\n : __webpack_require__(295);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/math/sign/index.js\n ** module id = 293\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/math/sign/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function () {\n var sign = Math.sign;\n if (typeof sign !== 'function') return false;\n return ((sign(10) === 1) && (sign(-20) === -1));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/math/sign/is-implemented.js\n ** module id = 294\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/math/sign/is-implemented.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function (value) {\n value = Number(value);\n if (isNaN(value) || (value === 0)) return value;\n return (value > 0) ? 1 : -1;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/math/sign/shim.js\n ** module id = 295\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/math/sign/shim.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(297)()\n ? Object.setPrototypeOf\n : __webpack_require__(298);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/set-prototype-of/index.js\n ** module id = 296\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/set-prototype-of/index.js?")},function(module,exports){eval("'use strict';\n\nvar create = Object.create, getPrototypeOf = Object.getPrototypeOf\n , x = {};\n\nmodule.exports = function (/*customCreate*/) {\n var setPrototypeOf = Object.setPrototypeOf\n , customCreate = arguments[0] || create;\n if (typeof setPrototypeOf !== 'function') return false;\n return getPrototypeOf(setPrototypeOf(customCreate(null), x)) === x;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/set-prototype-of/is-implemented.js\n ** module id = 297\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/set-prototype-of/is-implemented.js?")},function(module,exports,__webpack_require__){eval("// Big thanks to @WebReflection for sorting this out\n// https://gist.github.com/WebReflection/5593554\n\n'use strict';\n\nvar isObject = __webpack_require__(299)\n , value = __webpack_require__(289)\n\n , isPrototypeOf = Object.prototype.isPrototypeOf\n , defineProperty = Object.defineProperty\n , nullDesc = { configurable: true, enumerable: false, writable: true,\n value: undefined }\n , validate;\n\nvalidate = function (obj, prototype) {\n value(obj);\n if ((prototype === null) || isObject(prototype)) return obj;\n throw new TypeError('Prototype must be null or an object');\n};\n\nmodule.exports = (function (status) {\n var fn, set;\n if (!status) return null;\n if (status.level === 2) {\n if (status.set) {\n set = status.set;\n fn = function (obj, prototype) {\n set.call(validate(obj, prototype), prototype);\n return obj;\n };\n } else {\n fn = function (obj, prototype) {\n validate(obj, prototype).__proto__ = prototype;\n return obj;\n };\n }\n } else {\n fn = function self(obj, prototype) {\n var isNullBase;\n validate(obj, prototype);\n isNullBase = isPrototypeOf.call(self.nullPolyfill, obj);\n if (isNullBase) delete self.nullPolyfill.__proto__;\n if (prototype === null) prototype = self.nullPolyfill;\n obj.__proto__ = prototype;\n if (isNullBase) defineProperty(self.nullPolyfill, '__proto__', nullDesc);\n return obj;\n };\n }\n return Object.defineProperty(fn, 'level', { configurable: false,\n enumerable: false, writable: false, value: status.level });\n}((function () {\n var x = Object.create(null), y = {}, set\n , desc = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__');\n\n if (desc) {\n try {\n set = desc.set; // Opera crashes at this point\n set.call(x, y);\n } catch (ignore) { }\n if (Object.getPrototypeOf(x) === y) return { set: set, level: 2 };\n }\n\n x.__proto__ = y;\n if (Object.getPrototypeOf(x) === y) return { level: 2 };\n\n x = {};\n x.__proto__ = y;\n if (Object.getPrototypeOf(x) === y) return { level: 1 };\n\n return false;\n}())));\n\n__webpack_require__(300);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/set-prototype-of/shim.js\n ** module id = 298\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/set-prototype-of/shim.js?")},function(module,exports){eval("'use strict';\n\nvar map = { function: true, object: true };\n\nmodule.exports = function (x) {\n return ((x != null) && map[typeof x]) || false;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/is-object.js\n ** module id = 299\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/is-object.js?")},function(module,exports,__webpack_require__){eval("// Workaround for http://code.google.com/p/v8/issues/detail?id=2804\n\n'use strict';\n\nvar create = Object.create, shim;\n\nif (!__webpack_require__(297)()) {\n shim = __webpack_require__(298);\n}\n\nmodule.exports = (function () {\n var nullObject, props, desc;\n if (!shim) return create;\n if (shim.level !== 1) return create;\n\n nullObject = {};\n props = {};\n desc = { configurable: false, enumerable: false, writable: true,\n value: undefined };\n Object.getOwnPropertyNames(Object.prototype).forEach(function (name) {\n if (name === '__proto__') {\n props[name] = { configurable: true, enumerable: false, writable: true,\n value: undefined };\n return;\n }\n props[name] = desc;\n });\n Object.defineProperties(nullObject, props);\n\n Object.defineProperty(shim, 'nullPolyfill', { configurable: false,\n enumerable: false, writable: false, value: nullObject });\n\n return function (prototype, props) {\n return create((prototype === null) ? nullObject : prototype, props);\n };\n}());\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/create.js\n ** module id = 300\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/create.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function (fn) {\n if (typeof fn !== 'function') throw new TypeError(fn + \" is not a function\");\n return fn;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/valid-callable.js\n ** module id = 301\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/valid-callable.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar assign = __webpack_require__(303)\n , normalizeOpts = __webpack_require__(309)\n , isCallable = __webpack_require__(310)\n , contains = __webpack_require__(311)\n\n , d;\n\nd = module.exports = function (dscr, value/*, options*/) {\n var c, e, w, options, desc;\n if ((arguments.length < 2) || (typeof dscr !== 'string')) {\n options = value;\n value = dscr;\n dscr = null;\n } else {\n options = arguments[2];\n }\n if (dscr == null) {\n c = w = true;\n e = false;\n } else {\n c = contains.call(dscr, 'c');\n e = contains.call(dscr, 'e');\n w = contains.call(dscr, 'w');\n }\n\n desc = { value: value, configurable: c, enumerable: e, writable: w };\n return !options ? desc : assign(normalizeOpts(options), desc);\n};\n\nd.gs = function (dscr, get, set/*, options*/) {\n var c, e, options, desc;\n if (typeof dscr !== 'string') {\n options = set;\n set = get;\n get = dscr;\n dscr = null;\n } else {\n options = arguments[3];\n }\n if (get == null) {\n get = undefined;\n } else if (!isCallable(get)) {\n options = get;\n get = set = undefined;\n } else if (set == null) {\n set = undefined;\n } else if (!isCallable(set)) {\n options = set;\n set = undefined;\n }\n if (dscr == null) {\n c = true;\n e = false;\n } else {\n c = contains.call(dscr, 'c');\n e = contains.call(dscr, 'e');\n }\n\n desc = { get: get, set: set, configurable: c, enumerable: e };\n return !options ? desc : assign(normalizeOpts(options), desc);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/d/index.js\n ** module id = 302\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/d/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(304)()\n ? Object.assign\n : __webpack_require__(305);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/assign/index.js\n ** module id = 303\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/assign/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function () {\n var assign = Object.assign, obj;\n if (typeof assign !== 'function') return false;\n obj = { foo: 'raz' };\n assign(obj, { bar: 'dwa' }, { trzy: 'trzy' });\n return (obj.foo + obj.bar + obj.trzy) === 'razdwatrzy';\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/assign/is-implemented.js\n ** module id = 304\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/assign/is-implemented.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar keys = __webpack_require__(306)\n , value = __webpack_require__(289)\n\n , max = Math.max;\n\nmodule.exports = function (dest, src/*, …srcn*/) {\n var error, i, l = max(arguments.length, 2), assign;\n dest = Object(value(dest));\n assign = function (key) {\n try { dest[key] = src[key]; } catch (e) {\n if (!error) error = e;\n }\n };\n for (i = 1; i < l; ++i) {\n src = arguments[i];\n keys(src).forEach(assign);\n }\n if (error !== undefined) throw error;\n return dest;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/assign/shim.js\n ** module id = 305\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/assign/shim.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(307)()\n ? Object.keys\n : __webpack_require__(308);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/keys/index.js\n ** module id = 306\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/keys/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function () {\n try {\n Object.keys('primitive');\n return true;\n } catch (e) { return false; }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/keys/is-implemented.js\n ** module id = 307\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/keys/is-implemented.js?")},function(module,exports){eval("'use strict';\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) {\n return keys(object == null ? object : Object(object));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/keys/shim.js\n ** module id = 308\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/keys/shim.js?")},function(module,exports){eval("'use strict';\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nvar process = function (src, obj) {\n var key;\n for (key in src) obj[key] = src[key];\n};\n\nmodule.exports = function (options/*, …options*/) {\n var result = create(null);\n forEach.call(arguments, function (options) {\n if (options == null) return;\n process(Object(options), result);\n });\n return result;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/normalize-options.js\n ** module id = 309\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/normalize-options.js?")},function(module,exports){eval("// Deprecated\n\n'use strict';\n\nmodule.exports = function (obj) { return typeof obj === 'function'; };\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/is-callable.js\n ** module id = 310\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/is-callable.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(312)()\n ? String.prototype.contains\n : __webpack_require__(313);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/string/#/contains/index.js\n ** module id = 311\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/string/#/contains/index.js?")},function(module,exports){eval("'use strict';\n\nvar str = 'razdwatrzy';\n\nmodule.exports = function () {\n if (typeof str.contains !== 'function') return false;\n return ((str.contains('dwa') === true) && (str.contains('foo') === false));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/string/#/contains/is-implemented.js\n ** module id = 312\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/string/#/contains/is-implemented.js?")},function(module,exports){eval("'use strict';\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString/*, position*/) {\n return indexOf.call(this, searchString, arguments[1]) > -1;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/string/#/contains/shim.js\n ** module id = 313\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/string/#/contains/shim.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar d = __webpack_require__(302)\n , callable = __webpack_require__(301)\n\n , apply = Function.prototype.apply, call = Function.prototype.call\n , create = Object.create, defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , descriptor = { configurable: true, enumerable: false, writable: true }\n\n , on, once, off, emit, methods, descriptors, base;\n\non = function (type, listener) {\n var data;\n\n callable(listener);\n\n if (!hasOwnProperty.call(this, '__ee__')) {\n data = descriptor.value = create(null);\n defineProperty(this, '__ee__', descriptor);\n descriptor.value = null;\n } else {\n data = this.__ee__;\n }\n if (!data[type]) data[type] = listener;\n else if (typeof data[type] === 'object') data[type].push(listener);\n else data[type] = [data[type], listener];\n\n return this;\n};\n\nonce = function (type, listener) {\n var once, self;\n\n callable(listener);\n self = this;\n on.call(this, type, once = function () {\n off.call(self, type, once);\n apply.call(listener, this, arguments);\n });\n\n once.__eeOnceListener__ = listener;\n return this;\n};\n\noff = function (type, listener) {\n var data, listeners, candidate, i;\n\n callable(listener);\n\n if (!hasOwnProperty.call(this, '__ee__')) return this;\n data = this.__ee__;\n if (!data[type]) return this;\n listeners = data[type];\n\n if (typeof listeners === 'object') {\n for (i = 0; (candidate = listeners[i]); ++i) {\n if ((candidate === listener) ||\n (candidate.__eeOnceListener__ === listener)) {\n if (listeners.length === 2) data[type] = listeners[i ? 0 : 1];\n else listeners.splice(i, 1);\n }\n }\n } else {\n if ((listeners === listener) ||\n (listeners.__eeOnceListener__ === listener)) {\n delete data[type];\n }\n }\n\n return this;\n};\n\nemit = function (type) {\n var i, l, listener, listeners, args;\n\n if (!hasOwnProperty.call(this, '__ee__')) return;\n listeners = this.__ee__[type];\n if (!listeners) return;\n\n if (typeof listeners === 'object') {\n l = arguments.length;\n args = new Array(l - 1);\n for (i = 1; i < l; ++i) args[i - 1] = arguments[i];\n\n listeners = listeners.slice();\n for (i = 0; (listener = listeners[i]); ++i) {\n apply.call(listener, this, args);\n }\n } else {\n switch (arguments.length) {\n case 1:\n call.call(listeners, this);\n break;\n case 2:\n call.call(listeners, this, arguments[1]);\n break;\n case 3:\n call.call(listeners, this, arguments[1], arguments[2]);\n break;\n default:\n l = arguments.length;\n args = new Array(l - 1);\n for (i = 1; i < l; ++i) {\n args[i - 1] = arguments[i];\n }\n apply.call(listeners, this, args);\n }\n }\n};\n\nmethods = {\n on: on,\n once: once,\n off: off,\n emit: emit\n};\n\ndescriptors = {\n on: d(on),\n once: d(once),\n off: d(off),\n emit: d(emit)\n};\n\nbase = defineProperties({}, descriptors);\n\nmodule.exports = exports = function (o) {\n return (o == null) ? create(base) : defineProperties(Object(o), descriptors);\n};\nexports.methods = methods;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/event-emitter/index.js\n ** module id = 314\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/event-emitter/index.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(316)() ? Symbol : __webpack_require__(317);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-symbol/index.js\n ** module id = 315\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-symbol/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function () {\n var symbol;\n if (typeof Symbol !== 'function') return false;\n symbol = Symbol('test symbol');\n try { String(symbol); } catch (e) { return false; }\n if (typeof Symbol.iterator === 'symbol') return true;\n\n // Return 'true' for polyfills\n if (typeof Symbol.isConcatSpreadable !== 'object') return false;\n if (typeof Symbol.iterator !== 'object') return false;\n if (typeof Symbol.toPrimitive !== 'object') return false;\n if (typeof Symbol.toStringTag !== 'object') return false;\n if (typeof Symbol.unscopables !== 'object') return false;\n\n return true;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-symbol/is-implemented.js\n ** module id = 316\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-symbol/is-implemented.js?")},function(module,exports,__webpack_require__){eval("// ES2015 Symbol polyfill for environments that do not support it (or partially support it_\n\n'use strict';\n\nvar d = __webpack_require__(302)\n , validateSymbol = __webpack_require__(318)\n\n , create = Object.create, defineProperties = Object.defineProperties\n , defineProperty = Object.defineProperty, objPrototype = Object.prototype\n , NativeSymbol, SymbolPolyfill, HiddenSymbol, globalSymbols = create(null);\n\nif (typeof Symbol === 'function') NativeSymbol = Symbol;\n\nvar generateName = (function () {\n var created = create(null);\n return function (desc) {\n var postfix = 0, name, ie11BugWorkaround;\n while (created[desc + (postfix || '')]) ++postfix;\n desc += (postfix || '');\n created[desc] = true;\n name = '@@' + desc;\n defineProperty(objPrototype, name, d.gs(null, function (value) {\n // For IE11 issue see:\n // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n // ie11-broken-getters-on-dom-objects\n // https://github.com/medikoo/es6-symbol/issues/12\n if (ie11BugWorkaround) return;\n ie11BugWorkaround = true;\n defineProperty(this, name, d(value));\n ie11BugWorkaround = false;\n }));\n return name;\n };\n}());\n\n// Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\nHiddenSymbol = function Symbol(description) {\n if (this instanceof HiddenSymbol) throw new TypeError('TypeError: Symbol is not a constructor');\n return SymbolPolyfill(description);\n};\n\n// Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n var symbol;\n if (this instanceof Symbol) throw new TypeError('TypeError: Symbol is not a constructor');\n symbol = create(HiddenSymbol.prototype);\n description = (description === undefined ? '' : String(description));\n return defineProperties(symbol, {\n __description__: d('', description),\n __name__: d('', generateName(description))\n });\n};\ndefineProperties(SymbolPolyfill, {\n for: d(function (key) {\n if (globalSymbols[key]) return globalSymbols[key];\n return (globalSymbols[key] = SymbolPolyfill(String(key)));\n }),\n keyFor: d(function (s) {\n var key;\n validateSymbol(s);\n for (key in globalSymbols) if (globalSymbols[key] === s) return key;\n }),\n\n // If there's native implementation of given symbol, let's fallback to it\n // to ensure proper interoperability with other native functions e.g. Array.from\n hasInstance: d('', (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill('hasInstance')),\n isConcatSpreadable: d('', (NativeSymbol && NativeSymbol.isConcatSpreadable) ||\n SymbolPolyfill('isConcatSpreadable')),\n iterator: d('', (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill('iterator')),\n match: d('', (NativeSymbol && NativeSymbol.match) || SymbolPolyfill('match')),\n replace: d('', (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill('replace')),\n search: d('', (NativeSymbol && NativeSymbol.search) || SymbolPolyfill('search')),\n species: d('', (NativeSymbol && NativeSymbol.species) || SymbolPolyfill('species')),\n split: d('', (NativeSymbol && NativeSymbol.split) || SymbolPolyfill('split')),\n toPrimitive: d('', (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill('toPrimitive')),\n toStringTag: d('', (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill('toStringTag')),\n unscopables: d('', (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill('unscopables'))\n});\n\n// Internal tweaks for real symbol producer\ndefineProperties(HiddenSymbol.prototype, {\n constructor: d(SymbolPolyfill),\n toString: d('', function () { return this.__name__; })\n});\n\n// Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\ndefineProperties(SymbolPolyfill.prototype, {\n toString: d(function () { return 'Symbol (' + validateSymbol(this).__description__ + ')'; }),\n valueOf: d(function () { return validateSymbol(this); })\n});\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d('',\n function () { return validateSymbol(this); }));\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d('c', 'Symbol'));\n\n// Proper implementaton of toPrimitive and toStringTag for returned symbol instances\ndefineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag,\n d('c', SymbolPolyfill.prototype[SymbolPolyfill.toStringTag]));\n\n// Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\ndefineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive,\n d('c', SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]));\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-symbol/polyfill.js\n ** module id = 317\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-symbol/polyfill.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar isSymbol = __webpack_require__(319);\n\nmodule.exports = function (value) {\n if (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n return value;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-symbol/validate-symbol.js\n ** module id = 318\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-symbol/validate-symbol.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function (x) {\n return (x && ((typeof x === 'symbol') || (x['@@toStringTag'] === 'Symbol'))) || false;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-symbol/is-symbol.js\n ** module id = 319\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-symbol/is-symbol.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar isIterable = __webpack_require__(321);\n\nmodule.exports = function (value) {\n if (!isIterable(value)) throw new TypeError(value + \" is not iterable\");\n return value;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/valid-iterable.js\n ** module id = 320\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/valid-iterable.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar isArguments = __webpack_require__(322)\n , isString = __webpack_require__(323)\n , iteratorSymbol = __webpack_require__(315).iterator\n\n , isArray = Array.isArray;\n\nmodule.exports = function (value) {\n if (value == null) return false;\n if (isArray(value)) return true;\n if (isString(value)) return true;\n if (isArguments(value)) return true;\n return (typeof value[iteratorSymbol] === 'function');\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/is-iterable.js\n ** module id = 321\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/is-iterable.js?")},function(module,exports){eval("'use strict';\n\nvar toString = Object.prototype.toString\n\n , id = toString.call((function () { return arguments; }()));\n\nmodule.exports = function (x) { return (toString.call(x) === id); };\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/function/is-arguments.js\n ** module id = 322\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/function/is-arguments.js?")},function(module,exports){eval("'use strict';\n\nvar toString = Object.prototype.toString\n\n , id = toString.call('');\n\nmodule.exports = function (x) {\n return (typeof x === 'string') || (x && (typeof x === 'object') &&\n ((x instanceof String) || (toString.call(x) === id))) || false;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/string/is-string.js\n ** module id = 323\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/string/is-string.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar isArguments = __webpack_require__(322)\n , callable = __webpack_require__(301)\n , isString = __webpack_require__(323)\n , get = __webpack_require__(325)\n\n , isArray = Array.isArray, call = Function.prototype.call\n , some = Array.prototype.some;\n\nmodule.exports = function (iterable, cb/*, thisArg*/) {\n var mode, thisArg = arguments[2], result, doBreak, broken, i, l, char, code;\n if (isArray(iterable) || isArguments(iterable)) mode = 'array';\n else if (isString(iterable)) mode = 'string';\n else iterable = get(iterable);\n\n callable(cb);\n doBreak = function () { broken = true; };\n if (mode === 'array') {\n some.call(iterable, function (value) {\n call.call(cb, thisArg, value, doBreak);\n if (broken) return true;\n });\n return;\n }\n if (mode === 'string') {\n l = iterable.length;\n for (i = 0; i < l; ++i) {\n char = iterable[i];\n if ((i + 1) < l) {\n code = char.charCodeAt(0);\n if ((code >= 0xD800) && (code <= 0xDBFF)) char += iterable[++i];\n }\n call.call(cb, thisArg, char, doBreak);\n if (broken) break;\n }\n return;\n }\n result = iterable.next();\n\n while (!result.done) {\n call.call(cb, thisArg, result.value, doBreak);\n if (broken) return;\n result = iterable.next();\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/for-of.js\n ** module id = 324\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/for-of.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar isArguments = __webpack_require__(322)\n , isString = __webpack_require__(323)\n , ArrayIterator = __webpack_require__(326)\n , StringIterator = __webpack_require__(333)\n , iterable = __webpack_require__(320)\n , iteratorSymbol = __webpack_require__(315).iterator;\n\nmodule.exports = function (obj) {\n if (typeof iterable(obj)[iteratorSymbol] === 'function') return obj[iteratorSymbol]();\n if (isArguments(obj)) return new ArrayIterator(obj);\n if (isString(obj)) return new StringIterator(obj);\n return new ArrayIterator(obj);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/get.js\n ** module id = 325\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/get.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar setPrototypeOf = __webpack_require__(296)\n , contains = __webpack_require__(311)\n , d = __webpack_require__(302)\n , Iterator = __webpack_require__(327)\n\n , defineProperty = Object.defineProperty\n , ArrayIterator;\n\nArrayIterator = module.exports = function (arr, kind) {\n if (!(this instanceof ArrayIterator)) return new ArrayIterator(arr, kind);\n Iterator.call(this, arr);\n if (!kind) kind = 'value';\n else if (contains.call(kind, 'key+value')) kind = 'key+value';\n else if (contains.call(kind, 'key')) kind = 'key';\n else kind = 'value';\n defineProperty(this, '__kind__', d('', kind));\n};\nif (setPrototypeOf) setPrototypeOf(ArrayIterator, Iterator);\n\nArrayIterator.prototype = Object.create(Iterator.prototype, {\n constructor: d(ArrayIterator),\n _resolve: d(function (i) {\n if (this.__kind__ === 'value') return this.__list__[i];\n if (this.__kind__ === 'key+value') return [i, this.__list__[i]];\n return i;\n }),\n toString: d(function () { return '[object Array Iterator]'; })\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/array.js\n ** module id = 326\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/array.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar clear = __webpack_require__(288)\n , assign = __webpack_require__(303)\n , callable = __webpack_require__(301)\n , value = __webpack_require__(289)\n , d = __webpack_require__(302)\n , autoBind = __webpack_require__(328)\n , Symbol = __webpack_require__(315)\n\n , defineProperty = Object.defineProperty\n , defineProperties = Object.defineProperties\n , Iterator;\n\nmodule.exports = Iterator = function (list, context) {\n if (!(this instanceof Iterator)) return new Iterator(list, context);\n defineProperties(this, {\n __list__: d('w', value(list)),\n __context__: d('w', context),\n __nextIndex__: d('w', 0)\n });\n if (!context) return;\n callable(context.on);\n context.on('_add', this._onAdd);\n context.on('_delete', this._onDelete);\n context.on('_clear', this._onClear);\n};\n\ndefineProperties(Iterator.prototype, assign({\n constructor: d(Iterator),\n _next: d(function () {\n var i;\n if (!this.__list__) return;\n if (this.__redo__) {\n i = this.__redo__.shift();\n if (i !== undefined) return i;\n }\n if (this.__nextIndex__ < this.__list__.length) return this.__nextIndex__++;\n this._unBind();\n }),\n next: d(function () { return this._createResult(this._next()); }),\n _createResult: d(function (i) {\n if (i === undefined) return { done: true, value: undefined };\n return { done: false, value: this._resolve(i) };\n }),\n _resolve: d(function (i) { return this.__list__[i]; }),\n _unBind: d(function () {\n this.__list__ = null;\n delete this.__redo__;\n if (!this.__context__) return;\n this.__context__.off('_add', this._onAdd);\n this.__context__.off('_delete', this._onDelete);\n this.__context__.off('_clear', this._onClear);\n this.__context__ = null;\n }),\n toString: d(function () { return '[object Iterator]'; })\n}, autoBind({\n _onAdd: d(function (index) {\n if (index >= this.__nextIndex__) return;\n ++this.__nextIndex__;\n if (!this.__redo__) {\n defineProperty(this, '__redo__', d('c', [index]));\n return;\n }\n this.__redo__.forEach(function (redo, i) {\n if (redo >= index) this.__redo__[i] = ++redo;\n }, this);\n this.__redo__.push(index);\n }),\n _onDelete: d(function (index) {\n var i;\n if (index >= this.__nextIndex__) return;\n --this.__nextIndex__;\n if (!this.__redo__) return;\n i = this.__redo__.indexOf(index);\n if (i !== -1) this.__redo__.splice(i, 1);\n this.__redo__.forEach(function (redo, i) {\n if (redo > index) this.__redo__[i] = --redo;\n }, this);\n }),\n _onClear: d(function () {\n if (this.__redo__) clear.call(this.__redo__);\n this.__nextIndex__ = 0;\n })\n})));\n\ndefineProperty(Iterator.prototype, Symbol.iterator, d(function () {\n return this;\n}));\ndefineProperty(Iterator.prototype, Symbol.toStringTag, d('', 'Iterator'));\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/index.js\n ** module id = 327\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar copy = __webpack_require__(329)\n , map = __webpack_require__(330)\n , callable = __webpack_require__(301)\n , validValue = __webpack_require__(289)\n\n , bind = Function.prototype.bind, defineProperty = Object.defineProperty\n , hasOwnProperty = Object.prototype.hasOwnProperty\n , define;\n\ndefine = function (name, desc, bindTo) {\n var value = validValue(desc) && callable(desc.value), dgs;\n dgs = copy(desc);\n delete dgs.writable;\n delete dgs.value;\n dgs.get = function () {\n if (hasOwnProperty.call(this, name)) return value;\n desc.value = bind.call(value, (bindTo == null) ? this : this[bindTo]);\n defineProperty(this, name, desc);\n return this[name];\n };\n return dgs;\n};\n\nmodule.exports = function (props/*, bindTo*/) {\n var bindTo = arguments[1];\n return map(props, function (desc, name) {\n return define(name, desc, bindTo);\n });\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/d/auto-bind.js\n ** module id = 328\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/d/auto-bind.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar assign = __webpack_require__(303)\n , value = __webpack_require__(289);\n\nmodule.exports = function (obj) {\n var copy = Object(value(obj));\n if (copy !== obj) return copy;\n return assign({}, obj);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/copy.js\n ** module id = 329\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/copy.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar callable = __webpack_require__(301)\n , forEach = __webpack_require__(331)\n\n , call = Function.prototype.call;\n\nmodule.exports = function (obj, cb/*, thisArg*/) {\n var o = {}, thisArg = arguments[2];\n callable(cb);\n forEach(obj, function (value, key, obj, index) {\n o[key] = call.call(cb, thisArg, value, key, obj, index);\n });\n return o;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/map.js\n ** module id = 330\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/map.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(332)('forEach');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/for-each.js\n ** module id = 331\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/for-each.js?")},function(module,exports,__webpack_require__){eval("// Internal method, used by iteration functions.\n// Calls a function for each key-value pair found in object\n// Optionally takes compareFn to iterate object in specific order\n\n'use strict';\n\nvar callable = __webpack_require__(301)\n , value = __webpack_require__(289)\n\n , bind = Function.prototype.bind, call = Function.prototype.call, keys = Object.keys\n , propertyIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nmodule.exports = function (method, defVal) {\n return function (obj, cb/*, thisArg, compareFn*/) {\n var list, thisArg = arguments[2], compareFn = arguments[3];\n obj = Object(value(obj));\n callable(cb);\n\n list = keys(obj);\n if (compareFn) {\n list.sort((typeof compareFn === 'function') ? bind.call(compareFn, obj) : undefined);\n }\n if (typeof method !== 'function') method = list[method];\n return call.call(method, list, function (key, index) {\n if (!propertyIsEnumerable.call(obj, key)) return defVal;\n return call.call(cb, thisArg, obj[key], key, obj, index);\n });\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/_iterate.js\n ** module id = 332\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/_iterate.js?")},function(module,exports,__webpack_require__){eval("// Thanks @mathiasbynens\n// http://mathiasbynens.be/notes/javascript-unicode#iterating-over-symbols\n\n'use strict';\n\nvar setPrototypeOf = __webpack_require__(296)\n , d = __webpack_require__(302)\n , Iterator = __webpack_require__(327)\n\n , defineProperty = Object.defineProperty\n , StringIterator;\n\nStringIterator = module.exports = function (str) {\n if (!(this instanceof StringIterator)) return new StringIterator(str);\n str = String(str);\n Iterator.call(this, str);\n defineProperty(this, '__length__', d('', str.length));\n\n};\nif (setPrototypeOf) setPrototypeOf(StringIterator, Iterator);\n\nStringIterator.prototype = Object.create(Iterator.prototype, {\n constructor: d(StringIterator),\n _next: d(function () {\n if (!this.__list__) return;\n if (this.__nextIndex__ < this.__length__) return this.__nextIndex__++;\n this._unBind();\n }),\n _resolve: d(function (i) {\n var char = this.__list__[i], code;\n if (this.__nextIndex__ === this.__length__) return char;\n code = char.charCodeAt(0);\n if ((code >= 0xD800) && (code <= 0xDBFF)) return char + this.__list__[this.__nextIndex__++];\n return char;\n }),\n toString: d(function () { return '[object String Iterator]'; })\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-iterator/string.js\n ** module id = 333\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-iterator/string.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar setPrototypeOf = __webpack_require__(296)\n , d = __webpack_require__(302)\n , Iterator = __webpack_require__(327)\n , toStringTagSymbol = __webpack_require__(315).toStringTag\n , kinds = __webpack_require__(335)\n\n , defineProperties = Object.defineProperties\n , unBind = Iterator.prototype._unBind\n , MapIterator;\n\nMapIterator = module.exports = function (map, kind) {\n if (!(this instanceof MapIterator)) return new MapIterator(map, kind);\n Iterator.call(this, map.__mapKeysData__, map);\n if (!kind || !kinds[kind]) kind = 'key+value';\n defineProperties(this, {\n __kind__: d('', kind),\n __values__: d('w', map.__mapValuesData__)\n });\n};\nif (setPrototypeOf) setPrototypeOf(MapIterator, Iterator);\n\nMapIterator.prototype = Object.create(Iterator.prototype, {\n constructor: d(MapIterator),\n _resolve: d(function (i) {\n if (this.__kind__ === 'value') return this.__values__[i];\n if (this.__kind__ === 'key') return this.__list__[i];\n return [this.__list__[i], this.__values__[i]];\n }),\n _unBind: d(function () {\n this.__values__ = null;\n unBind.call(this);\n }),\n toString: d(function () { return '[object Map Iterator]'; })\n});\nObject.defineProperty(MapIterator.prototype, toStringTagSymbol,\n d('c', 'Map Iterator'));\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/lib/iterator.js\n ** module id = 334\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/lib/iterator.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(336)('key',\n 'value', 'key+value');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/lib/iterator-kinds.js\n ** module id = 335\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/lib/iterator-kinds.js?")},function(module,exports){eval("'use strict';\n\nvar forEach = Array.prototype.forEach, create = Object.create;\n\nmodule.exports = function (arg/*, …args*/) {\n var set = create(null);\n forEach.call(arguments, function (name) { set[name] = true; });\n return set;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es5-ext/object/primitive-set.js\n ** module id = 336\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es5-ext/object/primitive-set.js?")},function(module,exports){eval("// Exports true if environment provides native `Map` implementation,\n// whatever that is.\n\n'use strict';\n\nmodule.exports = (function () {\n if (typeof Map === 'undefined') return false;\n return (Object.prototype.toString.call(new Map()) === '[object Map]');\n}());\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-map/is-native-implemented.js\n ** module id = 337\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-map/is-native-implemented.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isObject2 = __webpack_require__(161);\n\nvar _isObject3 = _interopRequireDefault(_isObject2);\n\nvar _isFunction2 = __webpack_require__(160);\n\nvar _isFunction3 = _interopRequireDefault(_isFunction2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ITERATOR_SYMBOL = (0, _isFunction3.default)(Symbol) && Symbol.iterator;\nvar OLD_ITERATOR_SYMBOL = '@@iterator';\n\n/**\n * @see https://github.com/lodash/lodash/issues/1668\n * @see https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Iteration_protocols\n */\n\nexports.default = function (maybeIterable) {\n var iterator = void 0;\n\n if (!(0, _isObject3.default)(maybeIterable)) {\n return false;\n }\n\n if (ITERATOR_SYMBOL) {\n iterator = maybeIterable[ITERATOR_SYMBOL];\n } else {\n iterator = maybeIterable[OLD_ITERATOR_SYMBOL];\n }\n\n return (0, _isFunction3.default)(iterator);\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=isIterable.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/isIterable.js\n ** module id = 338\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/isIterable.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _filter2 = __webpack_require__(340);\n\nvar _filter3 = _interopRequireDefault(_filter2);\n\nvar _trim2 = __webpack_require__(343);\n\nvar _trim3 = _interopRequireDefault(_trim2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar styleNameIndex = {};\n\nexports.default = function (styleNamePropertyValue, allowMultiple) {\n var styleNames = void 0;\n\n if (styleNameIndex[styleNamePropertyValue]) {\n styleNames = styleNameIndex[styleNamePropertyValue];\n } else {\n styleNames = (0, _trim3.default)(styleNamePropertyValue).split(' ');\n styleNames = (0, _filter3.default)(styleNames);\n\n styleNameIndex[styleNamePropertyValue] = styleNames;\n }\n\n if (allowMultiple === false && styleNames.length > 1) {\n throw new Error('ReactElement styleName property defines multiple module names (\"' + styleNamePropertyValue + '\").');\n }\n\n return styleNames;\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=parseStyleName.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/parseStyleName.js\n ** module id = 339\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/parseStyleName.js?")},function(module,exports,__webpack_require__){eval("var arrayFilter = __webpack_require__(341),\n baseFilter = __webpack_require__(342),\n baseIteratee = __webpack_require__(203),\n isArray = __webpack_require__(190);\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|Object|string} [predicate=_.identity]\n * The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/filter.js\n ** module id = 340\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/filter.js?")},function(module,exports){eval("/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_arrayFilter.js\n ** module id = 341\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_arrayFilter.js?")},function(module,exports,__webpack_require__){eval("var baseEach = __webpack_require__(198);\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseFilter.js\n ** module id = 342\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseFilter.js?")},function(module,exports,__webpack_require__){eval("var baseToString = __webpack_require__(276),\n castSlice = __webpack_require__(344),\n charsEndIndex = __webpack_require__(346),\n charsStartIndex = __webpack_require__(349),\n stringToArray = __webpack_require__(350),\n toString = __webpack_require__(275);\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/**\n * Removes leading and trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trim(' abc ');\n * // => 'abc'\n *\n * _.trim('-_-abc-_-', '_-');\n * // => 'abc'\n *\n * _.map([' foo ', ' bar '], _.trim);\n * // => ['foo', 'bar']\n */\nfunction trim(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrim, '');\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n chrSymbols = stringToArray(chars),\n start = charsStartIndex(strSymbols, chrSymbols),\n end = charsEndIndex(strSymbols, chrSymbols) + 1;\n\n return castSlice(strSymbols, start, end).join('');\n}\n\nmodule.exports = trim;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/trim.js\n ** module id = 343\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/trim.js?"); },function(module,exports,__webpack_require__){eval("var baseSlice = __webpack_require__(345);\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_castSlice.js\n ** module id = 344\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_castSlice.js?")},function(module,exports){eval("/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseSlice.js\n ** module id = 345\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseSlice.js?")},function(module,exports,__webpack_require__){eval("var baseIndexOf = __webpack_require__(347);\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\nfunction charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsEndIndex;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_charsEndIndex.js\n ** module id = 346\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_charsEndIndex.js?")},function(module,exports,__webpack_require__){eval("var indexOfNaN = __webpack_require__(348);\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n if (value !== value) {\n return indexOfNaN(array, fromIndex);\n }\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseIndexOf;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_baseIndexOf.js\n ** module id = 347\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_baseIndexOf.js?")},function(module,exports){eval("/**\n * Gets the index at which the first occurrence of `NaN` is found in `array`.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n */\nfunction indexOfNaN(array, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 0 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n var other = array[index];\n if (other !== other) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = indexOfNaN;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_indexOfNaN.js\n ** module id = 348\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_indexOfNaN.js?")},function(module,exports,__webpack_require__){eval("var baseIndexOf = __webpack_require__(347);\n\n/**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\nfunction charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsStartIndex;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_charsStartIndex.js\n ** module id = 349\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_charsStartIndex.js?")},function(module,exports){eval("/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20f0',\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reComplexSymbol = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return string.match(reComplexSymbol);\n}\n\nmodule.exports = stringToArray;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/~/lodash/_stringToArray.js\n ** module id = 350\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/~/lodash/_stringToArray.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _es6Map = __webpack_require__(285);\n\nvar _es6Map2 = _interopRequireDefault(_es6Map);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar stylesIndex = new _es6Map2.default();\n\nexports.default = function (styles, styleNames, errorWhenNotFound) {\n var appendClassName = void 0,\n stylesIndexMap = void 0;\n\n stylesIndexMap = stylesIndex.get(styles);\n\n if (stylesIndexMap) {\n var styleNameIndex = stylesIndexMap.get(styleNames);\n\n if (styleNameIndex) {\n return styleNameIndex;\n }\n } else {\n stylesIndexMap = stylesIndex.set(styles, new _es6Map2.default());\n }\n\n appendClassName = '';\n\n for (var styleName in styleNames) {\n if (styleNames.hasOwnProperty(styleName)) {\n var className = styles[styleNames[styleName]];\n\n if (className) {\n appendClassName += ' ' + className;\n } else if (errorWhenNotFound === true) {\n throw new Error('\"' + styleNames[styleName] + '\" CSS module is undefined.');\n }\n }\n }\n\n appendClassName = appendClassName.trim();\n\n stylesIndexMap.set(styleNames, appendClassName);\n\n return appendClassName;\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=generateAppendClassName.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/generateAppendClassName.js\n ** module id = 351\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/generateAppendClassName.js?")},function(module,exports){eval('"use strict";\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\n\nfunction _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }\n\n/**\n * Make a shallow copy of the object maintaining the prototype.\n */\n\nexports.default = function (source) {\n var target = void 0;\n\n if (source.constructor === Array) {\n target = source.map(function (element) {\n return element;\n });\n } else {\n target = {};\n for (var property in source) {\n if (source.hasOwnProperty(property)) {\n target[property] = source[property];\n }\n }\n }\n\n _defaults(target, Object.getPrototypeOf(source));\n\n return target;\n};\n\nmodule.exports = exports[\'default\'];\n//# sourceMappingURL=objectUnfreeze.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/object-unfreeze/dist/objectUnfreeze.js\n ** module id = 352\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/object-unfreeze/dist/objectUnfreeze.js?')},function(module,exports){eval("/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n'use strict';\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n arguments: true,\n arity: true\n};\n\nmodule.exports = function hoistNonReactStatics(targetComponent, sourceComponent) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n var keys = Object.getOwnPropertyNames(sourceComponent);\n for (var i=0; i<keys.length; ++i) {\n if (!REACT_STATICS[keys[i]] && !KNOWN_STATICS[keys[i]]) {\n try {\n targetComponent[keys[i]] = sourceComponent[keys[i]];\n } catch (error) {\n\n }\n }\n }\n }\n\n return targetComponent;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/hoist-non-react-statics/index.js\n ** module id = 353\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/hoist-non-react-statics/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign2 = __webpack_require__(163);\n\nvar _assign3 = _interopRequireDefault(_assign2);\n\nvar _isObject2 = __webpack_require__(161);\n\nvar _isObject3 = _interopRequireDefault(_isObject2);\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _linkClass = __webpack_require__(192);\n\nvar _linkClass2 = _interopRequireDefault(_linkClass);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * @see https://facebook.github.io/react/blog/2015/09/10/react-v0.14-rc1.html#stateless-function-components\n */\n\nexports.default = function (Component, defaultStyles, options) {\n var WrappedComponent = function WrappedComponent() {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var props = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n var styles = void 0,\n useProps = void 0;\n\n if (props.styles) {\n useProps = props;\n styles = props.styles;\n } else if ((0, _isObject3.default)(defaultStyles)) {\n useProps = (0, _assign3.default)({}, props, {\n styles: defaultStyles\n });\n\n styles = defaultStyles;\n } else {\n useProps = props;\n styles = {};\n }\n\n var renderResult = Component.apply(undefined, [useProps].concat(args));\n\n if (renderResult) {\n return (0, _linkClass2.default)(renderResult, styles, options);\n }\n\n return _react2.default.createElement('noscript');\n };\n\n (0, _assign3.default)(WrappedComponent, Component);\n\n return WrappedComponent;\n}; /* eslint-disable react/prop-types */\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=wrapStatelessFunction.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/wrapStatelessFunction.js\n ** module id = 354\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-css-modules/dist/wrapStatelessFunction.js?")},function(module,exports){eval("'use strict';\n\n/* global SP */\n/* global ExecuteOrDelayUntilScriptLoaded */\n/* eslint new-cap: 0 */\n/* eslint consistent-return: 0 */\nmodule.exports = {\n setNotificationMessage: function () {\n function setNotificationMessage(msg, sticky) {\n ExecuteOrDelayUntilScriptLoaded(function () {\n var note = SP.UI.Notify.addNotification(msg, sticky);\n }, 'sp.js');\n }\n\n return setNotificationMessage;\n }(),\n prefixZeroToSingleInt: function () {\n function prefixZeroToSingleInt(num) {\n return num.toString().length === 1 ? '0' + num.toString() : num;\n }\n\n return prefixZeroToSingleInt;\n }(),\n // accepts an offset of hours to add to the current date time\n getDateAsIsoStandard: function () {\n function getDateAsIsoStandard(hours) {\n var d = new Date();\n\n if (hours !== 0) {\n d.setHours(d.getHours() + hours);\n }\n\n return d.getFullYear() + '-' + this.prefixZeroToSingleInt(d.getMonth() + 1) + '-' + this.prefixZeroToSingleInt(d.getDate()) + 'T' + this.prefixZeroToSingleInt(d.getHours()) + ':' + this.prefixZeroToSingleInt(d.getMinutes()) + ':00.000Z';\n }\n\n return getDateAsIsoStandard;\n }(),\n getDaysBetweenDates: function () {\n function getDaysBetweenDates(d0, d1) {\n var msPerDay = 8.64e7;\n\n // Copy dates so don't mess them up\n var x0 = new Date(d0);\n var x1 = new Date(d1);\n\n // Set to noon - avoid DST errors\n x0.setHours(12, 0, 0);\n x1.setHours(12, 0, 0);\n\n // Round to remove daylight saving errors\n return Math.round((x1 - x0) / msPerDay);\n }\n\n return getDaysBetweenDates;\n }(),\n buildStoragePayload: function () {\n function buildStoragePayload(payload) {\n return {\n birthday: this.getDateAsIsoStandard(0),\n payload: payload\n };\n }\n\n return buildStoragePayload;\n }(),\n createStorageKey: function () {\n function createStorageKey(s) {\n var storageKey = s.replace(/(^|\\s)([a-z])/g, function (m, p1, p2) {\n return p1 + p2.toUpperCase();\n });\n\n return storageKey.replace(/ /g, '');\n }\n\n return createStorageKey;\n }(),\n getRequestDigestToken: function () {\n function getRequestDigestToken() {\n if (document.getElementById('__REQUESTDIGEST')) {\n return document.getElementById('__REQUESTDIGEST').value;\n }\n\n return 0;\n }\n\n return getRequestDigestToken;\n }(),\n getHeaders: function () {\n function getHeaders() {\n return {\n 'Accept': 'application/json; charset=utf-8',\n 'X-RequestDigest': this.getRequestDigestToken()\n };\n }\n\n return getHeaders;\n }(),\n getBaseUrl: function () {\n function getBaseUrl() {\n if (!window.location.origin) {\n window.location.origin = window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '');\n }\n\n var path = window.location.pathname.split('/');\n\n if (typeof path[2] === 'undefined' || path[1].toLowerCase() === 'pages') {\n return '' + window.location.origin;\n }\n\n return window.location.origin + '/' + path[1] + '/' + path[2];\n }\n\n return getBaseUrl;\n }(),\n getFullSearchQueryUrl: function () {\n function getFullSearchQueryUrl(term, selectProperties) {\n var properties = selectProperties !== '' ? ', ' + selectProperties : '';\n\n return this.getBaseUrl().replace('_layouts/15', '') + '/_api/search/query?sourceid=\\'b09a7990-05ea-4af9-81ef-edfab16c4e31\\'&querytext=\\'' + term.replace(\"'\", \"\") + '*\\'&selectproperties=\\'JobTitle,Department,Path,WorkPhone,MobilePhone,BaseOfficeLocation,PreferredName,WorkEmail,Office,Region,SipAddress,SPS-Skills,Manager' + properties + '\\'&sortby=\\'PreferredName:descending\\'';\n }\n\n return getFullSearchQueryUrl;\n }(),\n removeEncodedAmpersand: function () {\n function removeEncodedAmpersand(str) {\n return str.replace('amp;', '');\n }\n\n return removeEncodedAmpersand;\n }(),\n getTrimmedString: function () {\n function getTrimmedString(s, limit) {\n // check for null and undefined with a double equals\n var timmed = s === null ? '' : s;\n\n return timmed.length > limit ? timmed.substring(0, limit - 4) + '...' : timmed;\n }\n\n return getTrimmedString;\n }(),\n capitalizeFirstLetter: function () {\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n\n return capitalizeFirstLetter;\n }(),\n formatNumber: function () {\n function formatNumber(number) {\n if (!number) {\n return;\n }\n\n return number.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, ',');\n }\n\n return formatNumber;\n }(),\n renderStaffListLink: function () {\n function renderStaffListLink(query, propertyName, locationExportType) {\n var baseUrl = this.locationProtocol() + '//' + this.locationHost() + '/sites/search/Pages/peopleresults.aspx';\n var linkViewStaff = baseUrl + '#Default={\"k\":\"\",\"r\":[{\"n\":\"' + propertyName + '\",\"t\":[\"\\\\\"' + unescape('%u01C2') + unescape('%u01C2') + this.stringToHex(query) + '\\\\\"\"],\"o\":\"and\",\"k\":false,\"m\":null}]}';\n\n return {\n linkViewStaff: linkViewStaff,\n linkExportCsv: { locationExportType: locationExportType, query: query }\n };\n }\n\n return renderStaffListLink;\n }(),\n locationProtocol: function () {\n function locationProtocol() {\n return window.location.protocol;\n }\n\n return locationProtocol;\n }(),\n locationHost: function () {\n function locationHost() {\n return window.location.host;\n }\n\n return locationHost;\n }(),\n stringToHex: function () {\n function stringToHex(s) {\n if (!s) {\n return;\n }\n\n var hex = '';\n\n for (var i = 0; i < s.length; i++) {\n if (s.charCodeAt(i) > 2048) {\n hex += this.toUTF8(s.charCodeAt(i));\n } else {\n hex += s.charCodeAt(i).toString(16);\n }\n }\n\n return hex.toLowerCase();\n }\n\n return stringToHex;\n }(),\n toUTF8: function () {\n function toUTF8(codepoint) {\n // make sure the codepoint is >2048\n var bit3 = codepoint & 63;\n var bit2 = codepoint >> 6 & 63;\n var bit1 = codepoint >> 12 & 15;\n\n return (bit1 | 0xE0).toString(16) + (bit2 | 0x80).toString(16) + (bit3 | 0x80).toString(16);\n }\n\n return toUTF8;\n }(),\n _spPageContextInfo: function () {\n function _spPageContextInfo() {\n if (!window.location.origin) {\n window.location.origin = window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '');\n }\n\n var path = window.location.pathname.split('/');\n\n return window.location.origin + '/' + path[1] + '/' + path[2];\n }\n\n return _spPageContextInfo;\n }()\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/utilities.js\n ** module id = 355\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/utilities.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = __webpack_require__(357);\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar POSITIONS = {\n above: 'above',\n inside: 'inside',\n below: 'below',\n invisible: 'invisible'\n};\n\nvar propTypes = {\n // threshold is percentage of the height of the visible part of the\n // scrollable ancestor (e.g. 0.1)\n threshold: _react.PropTypes.number,\n onEnter: _react.PropTypes.func,\n onLeave: _react.PropTypes.func,\n onPositionChange: _react.PropTypes.func,\n fireOnRapidScroll: _react.PropTypes.bool,\n scrollableAncestor: _react.PropTypes.any\n};\n\nvar defaultProps = {\n threshold: 0,\n onEnter: function onEnter() {},\n onLeave: function onLeave() {},\n onPositionChange: function onPositionChange() {},\n\n fireOnRapidScroll: true\n};\n\n/**\n * Calls a function when you scroll to the element.\n */\n\nvar Waypoint = (function (_React$Component) {\n _inherits(Waypoint, _React$Component);\n\n function Waypoint() {\n _classCallCheck(this, Waypoint);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Waypoint).apply(this, arguments));\n }\n\n _createClass(Waypoint, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n if (this.props.scrollableParent) {\n // eslint-disable-line react/prop-types\n throw new Error('The `scrollableParent` prop has changed name ' + 'to `scrollableAncestor`.');\n }\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (!Waypoint.getWindow()) {\n return;\n }\n\n this._handleScroll = this._handleScroll.bind(this);\n this.scrollableAncestor = this._findScrollableAncestor();\n this.scrollableAncestor.addEventListener('scroll', this._handleScroll);\n window.addEventListener('resize', this._handleScroll);\n this._handleScroll(null);\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n if (!Waypoint.getWindow()) {\n return;\n }\n\n // The element may have moved.\n this._handleScroll(null);\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (!Waypoint.getWindow()) {\n return;\n }\n\n if (this.scrollableAncestor) {\n // At the time of unmounting, the scrollable ancestor might no longer\n // exist. Guarding against this prevents the following error:\n //\n // Cannot read property 'removeEventListener' of undefined\n this.scrollableAncestor.removeEventListener('scroll', this._handleScroll);\n }\n window.removeEventListener('resize', this._handleScroll);\n }\n\n /**\n * Traverses up the DOM to find an ancestor container which has an overflow\n * style that allows for scrolling.\n *\n * @return {Object} the closest ancestor element with an overflow style that\n * allows for scrolling. If none is found, the `window` object is returned\n * as a fallback.\n */\n\n }, {\n key: '_findScrollableAncestor',\n value: function _findScrollableAncestor() {\n if (this.props.scrollableAncestor) {\n return this.props.scrollableAncestor;\n }\n\n var node = _reactDom2.default.findDOMNode(this);\n\n while (node.parentNode) {\n node = node.parentNode;\n\n if (node === document) {\n // This particular node does not have a computed style.\n continue;\n }\n\n if (node === document.documentElement) {\n // This particular node does not have a scroll bar, it uses the window.\n continue;\n }\n\n var style = window.getComputedStyle(node);\n var overflowY = style.getPropertyValue('overflow-y') || style.getPropertyValue('overflow');\n\n if (overflowY === 'auto' || overflowY === 'scroll') {\n return node;\n }\n }\n\n // A scrollable ancestor element was not found, which means that we need to\n // do stuff on window.\n return window;\n }\n\n /**\n * @param {Object} event the native scroll event coming from the scrollable\n * ancestor, or resize event coming from the window. Will be undefined if\n * called by a React lifecyle method\n */\n\n }, {\n key: '_handleScroll',\n value: function _handleScroll(event) {\n var currentPosition = this._currentPosition();\n var previousPosition = this._previousPosition || null;\n\n // Save previous position as early as possible to prevent cycles\n this._previousPosition = currentPosition;\n\n if (previousPosition === currentPosition) {\n // No change since last trigger\n return;\n }\n\n var callbackArg = {\n currentPosition: currentPosition,\n previousPosition: previousPosition,\n event: event\n };\n this.props.onPositionChange.call(this, callbackArg);\n\n if (currentPosition === POSITIONS.inside) {\n this.props.onEnter.call(this, callbackArg);\n } else if (previousPosition === POSITIONS.inside) {\n this.props.onLeave.call(this, callbackArg);\n }\n\n var isRapidScrollDown = previousPosition === POSITIONS.below && currentPosition === POSITIONS.above;\n var isRapidScrollUp = previousPosition === POSITIONS.above && currentPosition === POSITIONS.below;\n if (this.props.fireOnRapidScroll && (isRapidScrollDown || isRapidScrollUp)) {\n // If the scroll event isn't fired often enough to occur while the\n // waypoint was visible, we trigger both callbacks anyway.\n this.props.onEnter.call(this, {\n currentPosition: POSITIONS.inside,\n previousPosition: previousPosition,\n event: event\n });\n this.props.onLeave.call(this, {\n currentPosition: currentPosition,\n previousPosition: POSITIONS.inside,\n event: event\n });\n }\n }\n\n /**\n * @return {string} The current position of the waypoint in relation to the\n * visible portion of the scrollable parent. One of `POSITIONS.above`,\n * `POSITIONS.below`, or `POSITIONS.inside`.\n */\n\n }, {\n key: '_currentPosition',\n value: function _currentPosition() {\n var waypointTop = _reactDom2.default.findDOMNode(this).getBoundingClientRect().top;\n var contextHeight = undefined;\n var contextScrollTop = undefined;\n if (this.scrollableAncestor === window) {\n contextHeight = window.innerHeight;\n contextScrollTop = 0;\n } else {\n contextHeight = this.scrollableAncestor.offsetHeight;\n contextScrollTop = _reactDom2.default.findDOMNode(this.scrollableAncestor).getBoundingClientRect().top;\n }\n var thresholdPx = contextHeight * this.props.threshold;\n var contextBottom = contextScrollTop + contextHeight;\n\n if (contextHeight === 0) {\n return Waypoint.invisible;\n }\n\n if (contextScrollTop <= waypointTop + thresholdPx && waypointTop - thresholdPx <= contextBottom) {\n return Waypoint.inside;\n }\n\n if (contextBottom < waypointTop - thresholdPx) {\n return Waypoint.below;\n }\n\n if (waypointTop + thresholdPx < contextScrollTop) {\n return Waypoint.above;\n }\n\n return Waypoint.invisible;\n }\n\n /**\n * @return {Object}\n */\n\n }, {\n key: 'render',\n value: function render() {\n // We need an element that we can locate in the DOM to determine where it is\n // rendered relative to the top of its context.\n return _react2.default.createElement('span', { style: { fontSize: 0 } });\n }\n }]);\n\n return Waypoint;\n})(_react2.default.Component);\n\nexports.default = Waypoint;\n\nWaypoint.propTypes = propTypes;\nWaypoint.above = POSITIONS.above;\nWaypoint.below = POSITIONS.below;\nWaypoint.inside = POSITIONS.inside;\nWaypoint.invisible = POSITIONS.invisible;\nWaypoint.getWindow = function () {\n if (typeof window !== 'undefined') {\n return window;\n }\n};\nWaypoint.defaultProps = defaultProps;\nWaypoint.displayName = 'Waypoint';\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-waypoint/build/npm/waypoint.js\n ** module id = 356\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-waypoint/build/npm/waypoint.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nmodule.exports = __webpack_require__(3);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-dom/index.js\n ** module id = 357\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-dom/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Menu = __webpack_require__(359);\n\nvar _Menu2 = _interopRequireDefault(_Menu);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _menu = __webpack_require__(361);\n\nvar _menu2 = _interopRequireDefault(_menu);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Menu = function (_React$Component) {\n _inherits(Menu, _React$Component);\n\n function Menu(props) {\n _classCallCheck(this, Menu);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Menu).call(this, props));\n }\n\n // All menu actions are routed through here.\n\n\n _createClass(Menu, [{\n key: 'itemAction',\n value: function () {\n function itemAction(value, field) {\n switch (typeof field === 'string' ? field : value) {\n case 'Layout':\n _menu2['default'].loadLayoutComponent(false);\n break;\n case 'Favourites':\n _menu2['default'].loadFavouritesComponent(false);\n break;\n case 'Search':\n _menu2['default'].loadSearchComponent(false);\n break;\n case 'Settings':\n _menu2['default'].loadSettingsComponent(false);\n break;\n case 'Export':\n this.props.onExport();\n break;\n case 'Close':\n _menu2['default'].closePeopleSearch();\n break;\n default:\n // no default action\n break;\n }\n }\n\n return itemAction;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n return _react2['default'].createElement(\n 'div',\n { key: 'menu-items', id: 'menu-items' },\n _react2['default'].createElement(\n 'div',\n { key: 'component-tabs', id: 'component-tabs', styleName: 'component-tabs ' + this.props.alternate },\n _react2['default'].createElement(\n 'div',\n { id: 'component-tab-search', className: 'tab active' },\n _react2['default'].createElement(\n 'i',\n { className: 'material-icons', onClick: this.itemAction.bind(this, 'Search'), title: 'Goldfish Search' },\n 'search'\n )\n ),\n _react2['default'].createElement(\n 'div',\n { id: 'component-tab-favourites', className: 'tab' },\n _react2['default'].createElement(\n 'i',\n { className: 'material-icons', onClick: this.itemAction.bind(this, 'Favourites'), title: 'Goldfish Favourites' },\n 'star'\n )\n ),\n _react2['default'].createElement(\n 'div',\n { id: 'component-tab-layouts', className: 'tab' },\n _react2['default'].createElement(\n 'i',\n { className: 'material-icons', onClick: this.itemAction.bind(this, 'Layout'), title: 'Goldfish Layout' },\n 'view_list'\n )\n ),\n _react2['default'].createElement(\n 'div',\n { id: 'component-tab-settings', className: 'tab last' },\n _react2['default'].createElement(\n 'i',\n { className: 'material-icons', onClick: this.itemAction.bind(this, 'Settings'), title: 'Goldfish Settings' },\n 'settings'\n )\n )\n ),\n _react2['default'].createElement(\n 'div',\n { key: 'close-control', id: 'close-control', className: 'tab closer' },\n _react2['default'].createElement(\n 'i',\n { className: 'material-icons', onClick: this.itemAction.bind(this, 'Close'), title: 'Close' },\n 'cancel'\n )\n )\n );\n }\n\n return render;\n }()\n }]);\n\n return Menu;\n}(_react2['default'].Component);\n\nMenu.propTypes = {\n view: _react2['default'].PropTypes.string,\n onExport: _react2['default'].PropTypes.func,\n alternate: _react2['default'].PropTypes.string\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Menu, _Menu2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/menu/Menu.jsx\n ** module id = 358\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/menu/Menu.jsx?"); },function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(360);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Menu.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Menu.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/menu/Menu.css\n ** module id = 359\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/menu/Menu.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._1TzqCWGVB7RYoOnR6275Gu{position:absolute;height:210px;z-index:2001;width:45px;padding:20px 0 20px 5px;top:-20px;right:400px}.tab{padding:10px;border:1px solid #eee;border-width:0 0 1px 1px;background:#fff}.tab i:hover{cursor:pointer}.active{box-shadow:0 0 #fff;background-color:#f9f9f9}.last{box-shadow:0 5px 5px #d9d9d9}#close-control,.last{border-radius:0 0 0 15%}#close-control{top:0;right:0;z-index:2001;position:absolute;background:none;border-width:0}.emejg6O-M_6ShmPrVoQBe{padding:20px 0 20px 5px;right:51px;width:350px;height:50px}.emejg6O-M_6ShmPrVoQBe .tab{float:left;height:25px;width:51px;padding:10px 0 10px 26px}.emejg6O-M_6ShmPrVoQBe .active{border-bottom-width:0;box-shadow:0 0 #fff}.emejg6O-M_6ShmPrVoQBe .last{border-radius:0;box-shadow:none;border-right-width:1px}.emejg6O-M_6ShmPrVoQBe+div{right:20px!important;top:1px!important}", ""]);\n\n// exports\nexports.locals = {\n "component-tabs": "_1TzqCWGVB7RYoOnR6275Gu",\n "alternate-tabs": "emejg6O-M_6ShmPrVoQBe"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/menu/Menu.css\n ** module id = 360\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/menu/Menu.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction toggleElementVisibility(id, show) {\n var el = document.getElementById(id);\n\n el.style.display = !show ? 'none' : '';\n} /* eslint new-cap: 0 */\n\n\nmodule.exports = {\n closePeopleSearch: function () {\n function closePeopleSearch() {\n var component = document.getElementById('component-holder');\n var holder = document.getElementById('outer-space');\n\n holder.className = 'animated bounceOutRight';\n\n window.setTimeout(function () {\n _react2['default'].unmountComponentAtNode(component);\n\n document.body.removeChild(component);\n }, 1000);\n\n // if necessary re-enable drag and drop on document libraries\n window.ExecuteOrDelayUntilScriptLoaded(function () {\n if (typeof window.DUCBindDragDrop !== 'undefined') {\n window.DUCBindDragDrop();\n }\n }, 'dragdrop.js');\n }\n\n return closePeopleSearch;\n }(),\n closeLayoutView: function () {\n function closeLayoutView() {\n toggleElementVisibility('component-layout', false);\n toggleElementVisibility('component', true);\n }\n\n return closeLayoutView;\n }(),\n closeFavouritesView: function () {\n function closeFavouritesView() {\n toggleElementVisibility('component-favourites', false);\n toggleElementVisibility('component', true);\n }\n\n return closeFavouritesView;\n }(),\n loadLayoutComponent: function () {\n function loadLayoutComponent() {\n toggleElementVisibility('component', false);\n toggleElementVisibility('component-favourites', false);\n toggleElementVisibility('component-settings', false);\n toggleElementVisibility('component-layout', true);\n\n this.tabActiveState('component-tab-layouts');\n }\n\n return loadLayoutComponent;\n }(),\n loadFavouritesComponent: function () {\n function loadFavouritesComponent() {\n toggleElementVisibility('component', false);\n toggleElementVisibility('component-layout', false);\n toggleElementVisibility('component-settings', false);\n toggleElementVisibility('component-favourites', true);\n\n this.tabActiveState('component-tab-favourites');\n }\n\n return loadFavouritesComponent;\n }(),\n loadSearchComponent: function () {\n function loadSearchComponent() {\n toggleElementVisibility('component', true);\n toggleElementVisibility('component-layout', false);\n toggleElementVisibility('component-favourites', false);\n toggleElementVisibility('component-settings', false);\n toggleElementVisibility('menu-items', true);\n\n this.tabActiveState('component-tab-search');\n }\n\n return loadSearchComponent;\n }(),\n loadSettingsComponent: function () {\n function loadSettingsComponent() {\n toggleElementVisibility('component', false);\n toggleElementVisibility('component-layout', false);\n toggleElementVisibility('component-favourites', false);\n toggleElementVisibility('component-settings', true);\n\n this.tabActiveState('component-tab-settings');\n }\n\n return loadSettingsComponent;\n }(),\n tabActiveState: function () {\n function tabActiveState(tab) {\n var tabs = ['component-tab-favourites', 'component-tab-search', 'component-tab-layouts', 'component-tab-settings'];\n\n var current = void 0;\n var t = 0;\n\n while (t < tabs.length) {\n current = document.getElementById(tabs[t]);\n\n if (tab === tabs[t]) {\n current.className = 'tab active';\n current.childNodes[0].className = 'material-icons animated tada';\n } else {\n current.className = 'tab';\n current.childNodes[0].className = 'material-icons';\n }\n\n if (t === tabs.length - 1) {\n current.className += ' last';\n }\n\n t += 1;\n }\n }\n\n return tabActiveState;\n }()\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/menu.js\n ** module id = 361\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/menu.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _search = __webpack_require__(363);\n\nvar _search2 = _interopRequireDefault(_search);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Suggest = __webpack_require__(365);\n\nvar _Suggest2 = _interopRequireDefault(_Suggest);\n\nvar _SearchStore = __webpack_require__(434);\n\nvar _SearchStore2 = _interopRequireDefault(_SearchStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getStoreSearchResultState() {\n return {\n items: _SearchStore2['default'].getResults(),\n searching: false,\n count: _SearchStore2['default'].getResultCount(),\n pageNum: _SearchStore2['default'].getCurrentPage(),\n term: _SearchStore2['default'].getCurrentSearchTerm(),\n text: ''\n };\n}\n\nvar Search = function (_React$Component) {\n _inherits(Search, _React$Component);\n\n function Search(props) {\n _classCallCheck(this, Search);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Search).call(this, props));\n\n _this.state = { tags: [] };\n return _this;\n }\n\n _createClass(Search, [{\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _SearchStore2['default'].removeChangeListener(this.onComponentChange);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _SearchStore2['default'].addChangeListener(this.onComponentChange.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n if (this.state === null) {\n this.state = { tags: [] };\n }\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'onComponentChange',\n value: function () {\n function onComponentChange() {\n this.props.onSearchChanged(getStoreSearchResultState());\n\n // check the container is tall enough to hold the results (else fix it)\n this.setResultAreaHeight();\n }\n\n return onComponentChange;\n }()\n }, {\n key: 'onInputChange',\n value: function () {\n function onInputChange(name, value) {\n this.setState({ text: value });\n }\n\n return onInputChange;\n }()\n }, {\n key: 'onkeyDown',\n value: function () {\n function onkeyDown(e) {\n var keyEvent = e || window.event;\n\n if (keyEvent.keyCode === 13) {\n keyEvent.preventDefault();\n\n this.searchForPeople();\n } else {\n this.setState({ text: keyEvent.target.value });\n\n return true;\n }\n }\n\n return onkeyDown;\n }()\n }, {\n key: 'getSimpleSearchInput',\n value: function () {\n function getSimpleSearchInput() {\n return _react2['default'].createElement('input', {\n key: 'search-input-basic',\n className: 'animated flipInX',\n type: 'text',\n placeholder: 'Search for a colleague...',\n onKeyDown: this.onkeyDown.bind(this) });\n }\n\n return getSimpleSearchInput;\n }()\n }, {\n key: 'getSuggestSearchInput',\n value: function () {\n function getSuggestSearchInput() {\n return _react2['default'].createElement(_Suggest2['default'], {\n key: 'search-input-super',\n value: this.state.text,\n floating: false,\n tags: this.state.tags,\n maxTags: 10,\n termsets: this.props.termsets,\n userInformationFields: this.props.userInformationFields,\n onTagsChange: this.handleChange.bind(this),\n onChange: this.onInputChange.bind(this, 'search') });\n }\n\n return getSuggestSearchInput;\n }()\n }, {\n key: 'searchForPeople',\n value: function () {\n function searchForPeople() {\n var properties = typeof this.props.properties !== 'undefined' ? this.props.properties : '';\n\n var url = _utilities2['default'].getFullSearchQueryUrl(this.state.text, properties);\n\n this.props.onSearching();\n\n _PeopleSearchActions2['default'].fetchData(url, this.state.text, 0);\n }\n\n return searchForPeople;\n }()\n }, {\n key: 'handleSubmit',\n value: function () {\n function handleSubmit(e) {\n e.preventDefault();\n\n // invoke the search request\n this.searchForPeople();\n }\n\n return handleSubmit;\n }()\n }, {\n key: 'handleChange',\n value: function () {\n function handleChange(tags) {\n this.setState({ tags: tags });\n\n // a search has been commited so update with the new tag(s)\n if (this.state.text.indexOf(':') > -1 && tags.length > 0) {\n var properties = typeof this.props.properties !== 'undefined' ? this.props.properties : '';\n\n var searchTerm = tags.map(function (tag) {\n return tag.search;\n }).join(' ');\n\n this.onInputChange(this, searchTerm);\n\n this.props.onSearching();\n\n _PeopleSearchActions2['default'].fetchData(_utilities2['default'].getFullSearchQueryUrl(searchTerm, properties), searchTerm, 0);\n } else if (tags.length === 0) {\n _PeopleSearchActions2['default'].showNoResults();\n }\n }\n\n return handleChange;\n }()\n }, {\n key: 'setResultAreaHeight',\n value: function () {\n function setResultAreaHeight() {\n // if we fetch more results, ensure that we have increased the height of the container when necessary\n var resultsBottom = document.getElementById('component-results').getBoundingClientRect().bottom;\n var containerBottom = document.getElementById('component').getBoundingClientRect().bottom;\n\n var offset = resultsBottom - containerBottom;\n\n // height of the container minus the padding\n var containerHeight = document.getElementById('component').clientHeight - 200;\n\n // check to see if the results are bigger than the container (and adjust if necessary)\n if (offset > 0) {\n // add 100 pixels to the bottom to make sure the results have some room\n document.getElementById('component').style.height = containerHeight + offset + 100 + 'px';\n }\n }\n\n return setResultAreaHeight;\n }()\n }, {\n key: 'searchInputSelector',\n value: function () {\n function searchInputSelector() {\n if (this.props.settings.length === 0) {\n // in the unlikely event of no settings being applied\n return this.getSimpleSearchInput();\n }\n\n // check to see if the super search is enabled\n var suggestEnabled = this.props.settings.some(function (el) {\n return Object.keys(el)[0] === 'enableSuperSearch' && el[Object.keys(el)[0]];\n });\n\n if (suggestEnabled) {\n return this.getSuggestSearchInput();\n }\n\n return this.getSimpleSearchInput();\n }\n\n return searchInputSelector;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n if (this.state !== null) {\n return _react2['default'].createElement(\n 'form',\n { onSubmit: this.handleSubmit.bind(this), key: 'form-soon-to-be-deleted' },\n _react2['default'].createElement(\n 'div',\n { className: 'ui fluid search' },\n _react2['default'].createElement(\n 'div',\n { className: 'ui icon input', styleName: 'search-container' },\n this.searchInputSelector()\n )\n )\n );\n }\n }\n\n return render;\n }()\n }]);\n\n return Search;\n}(_react2['default'].Component);\n\nSearch.propTypes = {\n termsets: _react2['default'].PropTypes.array,\n userInformationFields: _react2['default'].PropTypes.array,\n properties: _react2['default'].PropTypes.object,\n settings: _react2['default'].PropTypes.array,\n suggestions: _react2['default'].PropTypes.array,\n onSearchChanged: _react2['default'].PropTypes.func,\n onSearching: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Search, _search2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/search/Search.jsx\n ** module id = 362\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/search/Search.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(364);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./search.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./search.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/search/search.css\n ** module id = 363\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/search/search.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "div.ReyhGhl_rcuTLTSisI5fl{margin:0 0 0 20px;width:360px;border-top:1px solid #ccc}div.ReyhGhl_rcuTLTSisI5fl input[type=text]{width:347px;font-size:1.3em;height:30px;box-sizing:inherit;margin-top:25px;margin-bottom:25px}div.ReyhGhl_rcuTLTSisI5fl input[type=text]:focus,div.ReyhGhl_rcuTLTSisI5fl input[type=text]:hover{border-color:#e51d2e!important;border-width:0 0 1px}div.ReyhGhl_rcuTLTSisI5fl label{padding-left:40px;top:38px;font-size:1.3em}div.ReyhGhl_rcuTLTSisI5fl label:focus{color:#f4f4f4!important}div.ReyhGhl_rcuTLTSisI5fl div[data-gf=input]{margin-left:0!important}div.ReyhGhl_rcuTLTSisI5fl .material-icons{display:block;top:13px;left:-15px}div.ReyhGhl_rcuTLTSisI5fl span span{line-height:1!important;width:auto!important;height:auto!important;padding:3px}", ""]);\n\n// exports\nexports.locals = {\n "search-container": "ReyhGhl_rcuTLTSisI5fl"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/search/search.css\n ** module id = 364\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/search/search.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _AutosuggestContainer = __webpack_require__(366);\n\nvar _AutosuggestContainer2 = _interopRequireDefault(_AutosuggestContainer);\n\nvar _autosuggestHighlight = __webpack_require__(398);\n\nvar _autosuggestHighlight2 = _interopRequireDefault(_autosuggestHighlight);\n\nvar _Tag = __webpack_require__(404);\n\nvar _Tag2 = _interopRequireDefault(_Tag);\n\nvar _Button = __webpack_require__(407);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _Suggest = __webpack_require__(411);\n\nvar _Suggest2 = _interopRequireDefault(_Suggest);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _TaxonomyStore = __webpack_require__(413);\n\nvar _TaxonomyStore2 = _interopRequireDefault(_TaxonomyStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction renderLayout(tagComponents) {\n return _react2['default'].createElement(\n 'span',\n null,\n tagComponents\n );\n}\n\nfunction getSearchFromTags(tags) {\n // get all the search terms from the tags and return them in a new array\n return tags.map(function (tag) {\n return tag.search;\n }).join(' ');\n}\n\n// https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions#Using_Special_Characters\nfunction escapeRegexCharacters(str) {\n return str.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction getSuggestions(value) {\n var escapedValue = escapeRegexCharacters(value.trim());\n\n if (escapedValue === '') {\n return [];\n }\n\n var regex = new RegExp('^' + escapedValue, 'i');\n\n return _TaxonomyStore2['default'].getCurrentSuggestions().map(function (section) {\n return {\n title: section.title,\n terms: section.terms.filter(function (term) {\n return regex.test(term.name);\n })\n };\n }).filter(function (section) {\n return section.terms.length > 0;\n });\n}\n\nfunction renderSuggestion(suggestion, _ref) {\n var value = _ref.value;\n var valueBeforeUpDown = _ref.valueBeforeUpDown;\n\n var query = (valueBeforeUpDown || value).trim();\n var matches = _autosuggestHighlight2['default'].match(suggestion.name, query);\n var parts = _autosuggestHighlight2['default'].parse(suggestion.name, matches);\n\n return _react2['default'].createElement(\n 'span',\n { className: 'animated' },\n parts.map(function (part, index) {\n var className = part.highlight ? 'highlight' : null;\n\n return _react2['default'].createElement(\n 'span',\n { className: className, key: index },\n part.text\n );\n })\n );\n}\n\nfunction renderSectionTitle(section) {\n return _react2['default'].createElement(\n 'strong',\n null,\n section.title\n );\n}\n\nfunction getSectionSuggestions(section) {\n return section.terms;\n}\n\nfunction setTaxonomySearchResults() {\n this.setState({ suggestions: _TaxonomyStore2['default'].getCurrentSuggestions() });\n}\n\nvar Suggest = function (_React$Component) {\n _inherits(Suggest, _React$Component);\n\n function Suggest(props) {\n _classCallCheck(this, Suggest);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Suggest).call(this, props));\n\n _this.state = {\n tag: '',\n value: '',\n suggestions: getSuggestions('')\n };\n\n _this.onChange = _this.onChange.bind(_this);\n _this.onSuggestionsUpdateRequested = _this.onSuggestionsUpdateRequested.bind(_this);\n return _this;\n }\n\n _createClass(Suggest, [{\n key: 'onComponentChange',\n value: function () {\n function onComponentChange() {\n if (this.state === null) {\n setTaxonomySearchResults();\n }\n }\n\n return onComponentChange;\n }()\n }, {\n key: 'getSuggestionValue',\n value: function () {\n function getSuggestionValue(suggestion, event) {\n // do not load the selected term in the input field\n if (event.type === 'click') {\n // enter or click event\n var validationRegex = this.props.validationRegex;\n\n\n if (validationRegex.test(suggestion.name)) {\n this._addTag(suggestion);\n }\n\n return '';\n }\n\n this.setState({ tag: suggestion });\n\n return suggestion.name;\n }\n\n return getSuggestionValue;\n }()\n }, {\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _TaxonomyStore2['default'].removeChangeListener(this.onComponentChange);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _TaxonomyStore2['default'].addChangeListener(this.onComponentChange.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'onSearch',\n value: function () {\n function onSearch(event) {\n // take the array values and join them for the search (invoke search in parent)\n this.props.onChange(getSearchFromTags(this.props.tags));\n }\n\n return onSearch;\n }()\n }, {\n key: 'componentWillReceiveProps',\n value: function () {\n function componentWillReceiveProps(newProps) {\n if (typeof newProps !== 'undefined') {\n if (typeof newProps.termsets !== 'undefined') {\n if (newProps.termsets.length > 0) {\n // fetch the data for Taxonomy and Job Titles for the Auto Suggest tool\n _PeopleSearchActions2['default'].getTaxonomy(newProps.termsets);\n }\n }\n if (typeof newProps.userInformationFields !== 'undefined') {\n if (newProps.userInformationFields.length > 0) {\n _PeopleSearchActions2['default'].getBusinessInformation(newProps.userInformationFields);\n }\n } else {\n // Defaults are set for auto suggest if none are supplied in the options\n _PeopleSearchActions2['default'].getBusinessInformation(_default2['default'].DEFAULT_USERINFORMATION_FIELDS);\n }\n }\n }\n\n return componentWillReceiveProps;\n }()\n }, {\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n if (this.state === null) {\n this.setState({\n tag: {},\n value: '',\n suggestions: getSuggestions('')\n });\n }\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'removeTag',\n value: function () {\n function removeTag(index) {\n var tags = this.props.tags.concat([]);\n\n if (index > -1 && index < tags.length) {\n tags.splice(index, 1);\n\n this.props.onTagsChange(tags);\n }\n }\n\n return removeTag;\n }()\n }, {\n key: '_clearInput',\n value: function () {\n function _clearInput() {\n this.setState({ tag: {} });\n }\n\n return _clearInput;\n }()\n }, {\n key: 'renderSearchButton',\n value: function () {\n function renderSearchButton() {\n if (typeof this.props.tags !== 'undefined') {\n if (this.props.tags.length > 0) {\n return _react2['default'].createElement(\n 'div',\n { styleName: 'tag-holder' },\n _react2['default'].createElement(_Button2['default'], {\n icon: 'search',\n label: 'Search',\n raised: true, primary: true,\n onClick: this.onSearch.bind(this) })\n );\n }\n }\n }\n\n return renderSearchButton;\n }()\n }, {\n key: '_addTag',\n value: function () {\n function _addTag(tag) {\n var onlyUnique = this.props.onlyUnique;\n\n\n var isUnique = this.props.tags.filter(function (item) {\n return item.name !== tag.name;\n }).length === 0;\n\n var limit = this._maxTags(this.props.tags.length);\n\n if (typeof tag.name !== 'undefined' && limit && (isUnique || !onlyUnique)) {\n var tags = this.props.tags.concat([tag]);\n\n this.props.onTagsChange(tags);\n this._clearInput();\n }\n }\n\n return _addTag;\n }()\n }, {\n key: 'onKeyDown',\n value: function () {\n function onKeyDown(event) {\n // tab or enter key down event\n if (event.keyCode === 9 || event.keyCode === 13) {\n event.preventDefault();\n\n if (Object.keys(this.state.tag).length > 0) {\n this._addTag(this.state.tag);\n\n this.setState({\n tag: {},\n value: ''\n });\n } else if (this.state.value !== '') {\n // vanilla search term\n // if a contains search is being done, display only the right handside value in the tag (but keep the full search term in the search property)\n var seperator = '';\n\n if (this.state.value.indexOf(':') > -1) {\n seperator = ':';\n } else if (this.state.value.indexOf('=') > -1) {\n seperator = '=';\n }\n\n this._addTag({\n name: (seperator === '' ? this.state.value : this.state.value.split(seperator)[1]).replace(/\"/g, ''),\n search: this.state.value\n });\n\n this.setState({ value: '' });\n }\n }\n }\n\n return onKeyDown;\n }()\n }, {\n key: 'onChange',\n value: function () {\n function onChange(event, _ref2) {\n var newValue = _ref2.newValue;\n\n this.setState({ value: newValue });\n\n this.props.onChange(newValue);\n }\n\n return onChange;\n }()\n }, {\n key: 'onSuggestionsUpdateRequested',\n value: function () {\n function onSuggestionsUpdateRequested(_ref3) {\n var value = _ref3.value;\n\n this.setState({ suggestions: getSuggestions(value) });\n }\n\n return onSuggestionsUpdateRequested;\n }()\n }, {\n key: '_maxTags',\n value: function () {\n function _maxTags(tags) {\n return this.props.maxTags !== -1 ? tags < this.props.maxTags : true;\n }\n\n return _maxTags;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _this2 = this;\n\n if (this.state !== null) {\n var _props = this.props;\n var tags = _props.tags;\n var onTagsChange = _props.onTagsChange;\n var addKeys = _props.addKeys;\n var removeKeys = _props.removeKeys;\n\n var other = _objectWithoutProperties(_props, ['tags', 'onTagsChange', 'addKeys', 'removeKeys']);\n\n var _state = this.state;\n var value = _state.value;\n var suggestions = _state.suggestions;\n\n var inputProps = {\n placeholder: 'Add tags and then search...',\n value: value,\n onChange: this.onChange.bind(this),\n onKeyDown: this.onKeyDown.bind(this)\n };\n\n var tagComponents = tags.length > 0 ? renderLayout(tags.map(function (element, index) {\n return _react2['default'].createElement(_Tag2['default'], {\n key: index,\n item: index,\n tag: element,\n onRemove: _this2.removeTag.bind(_this2),\n className: 'react-tagsinput-tag',\n removeClassName: 'react-tagsinput-remove' });\n })) : '';\n\n return _react2['default'].createElement(\n 'div',\n { key: 'autosuggest-region' },\n _react2['default'].createElement(_AutosuggestContainer2['default'], {\n key: 'goldfish-autosuggest',\n className: 'animated flipInX',\n multiSection: true,\n suggestions: suggestions,\n onSuggestionsUpdateRequested: this.onSuggestionsUpdateRequested.bind(this),\n getSuggestionValue: this.getSuggestionValue.bind(this),\n renderSuggestion: renderSuggestion.bind(this),\n renderSectionTitle: renderSectionTitle.bind(this),\n getSectionSuggestions: getSectionSuggestions.bind(this),\n inputProps: inputProps }),\n _react2['default'].createElement(\n 'div',\n _extends({ ref: 'div' }, other),\n tagComponents\n ),\n this.renderSearchButton()\n );\n }\n\n this.componentDidUpdate();\n }\n\n return render;\n }()\n }]);\n\n return Suggest;\n}(_react2['default'].Component);\n\nSuggest.propTypes = {\n onChange: _react2['default'].PropTypes.func,\n addKeys: _react2['default'].PropTypes.array,\n addOnBlur: _react2['default'].PropTypes.bool,\n onTagsChange: _react2['default'].PropTypes.func.isRequired,\n removeKeys: _react2['default'].PropTypes.array,\n onlyUnique: _react2['default'].PropTypes.bool,\n tags: _react2['default'].PropTypes.array.isRequired,\n maxTags: _react2['default'].PropTypes.number,\n validationRegex: _react2['default'].PropTypes.instanceOf(RegExp),\n termsets: _react2['default'].PropTypes.array,\n fields: _react2['default'].PropTypes.array\n};\n\nSuggest.defaultProps = {\n className: 'react-tagsinput',\n addKeys: [9, 13],\n removeKeys: [8],\n onlyUnique: false,\n maxTags: -1,\n validationRegex: /.*/\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Suggest, _Suggest2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/suggest/Suggest.jsx\n ** module id = 365\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/Suggest.jsx?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _redux = __webpack_require__(367);\n\nvar _reactRedux = __webpack_require__(380);\n\nvar _reducerAndActions = __webpack_require__(392);\n\nvar _reducerAndActions2 = _interopRequireDefault(_reducerAndActions);\n\nvar _Autosuggest = __webpack_require__(393);\n\nvar _Autosuggest2 = _interopRequireDefault(_Autosuggest);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } //https://github.com/reactjs/react-autocomplete/blob/master/LICENSE\n\n\nfunction noop() {}\n\nvar defaultTheme = {\n container: 'react-autosuggest__container',\n containerOpen: 'react-autosuggest__container--open',\n input: 'react-autosuggest__input',\n suggestionsContainer: 'react-autosuggest__suggestions-container',\n suggestion: 'react-autosuggest__suggestion',\n suggestionFocused: 'react-autosuggest__suggestion--focused',\n sectionContainer: 'react-autosuggest__section-container',\n sectionTitle: 'react-autosuggest__section-title',\n sectionSuggestionsContainer: 'react-autosuggest__section-suggestions-container'\n};\n\nfunction mapToAutowhateverTheme(theme) {\n var result = {};\n\n for (var key in theme) {\n switch (key) {\n case 'suggestionsContainer':\n result['itemsContainer'] = theme[key];\n break;\n\n case 'suggestion':\n result['item'] = theme[key];\n break;\n\n case 'suggestionFocused':\n result['itemFocused'] = theme[key];\n break;\n\n case 'sectionSuggestionsContainer':\n result['sectionItemsContainer'] = theme[key];\n break;\n\n default:\n result[key] = theme[key];\n }\n }\n\n return result;\n}\n\nvar AutosuggestContainer = function (_Component) {\n _inherits(AutosuggestContainer, _Component);\n\n function AutosuggestContainer() {\n _classCallCheck(this, AutosuggestContainer);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AutosuggestContainer).call(this));\n\n var initialState = {\n isFocused: false,\n isCollapsed: true,\n focusedSectionIndex: null,\n focusedSuggestionIndex: null,\n valueBeforeUpDown: null,\n lastAction: null\n };\n\n _this.store = (0, _redux.createStore)(_reducerAndActions2['default'], initialState);\n\n _this.saveInput = _this.saveInput.bind(_this);\n return _this;\n }\n\n _createClass(AutosuggestContainer, [{\n key: 'saveInput',\n value: function () {\n function saveInput(input) {\n this.input = input;\n }\n\n return saveInput;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _props = this.props;\n var multiSection = _props.multiSection;\n var shouldRenderSuggestions = _props.shouldRenderSuggestions;\n var suggestions = _props.suggestions;\n var onSuggestionsUpdateRequested = _props.onSuggestionsUpdateRequested;\n var getSuggestionValue = _props.getSuggestionValue;\n var renderSuggestion = _props.renderSuggestion;\n var renderSectionTitle = _props.renderSectionTitle;\n var getSectionSuggestions = _props.getSectionSuggestions;\n var inputProps = _props.inputProps;\n var onSuggestionSelected = _props.onSuggestionSelected;\n var focusInputOnSuggestionClick = _props.focusInputOnSuggestionClick;\n var theme = _props.theme;\n var id = _props.id;\n\n\n return _react2['default'].createElement(\n _reactRedux.Provider,\n { store: this.store },\n _react2['default'].createElement(_Autosuggest2['default'], { multiSection: multiSection,\n shouldRenderSuggestions: shouldRenderSuggestions,\n suggestions: suggestions,\n onSuggestionsUpdateRequested: onSuggestionsUpdateRequested,\n getSuggestionValue: getSuggestionValue,\n renderSuggestion: renderSuggestion,\n renderSectionTitle: renderSectionTitle,\n getSectionSuggestions: getSectionSuggestions,\n inputProps: inputProps,\n onSuggestionSelected: onSuggestionSelected,\n focusInputOnSuggestionClick: focusInputOnSuggestionClick,\n theme: mapToAutowhateverTheme(theme),\n id: id,\n inputRef: this.saveInput })\n );\n }\n\n return render;\n }()\n }]);\n\n return AutosuggestContainer;\n}(_react.Component);\n\nAutosuggestContainer.propTypes = {\n suggestions: _react.PropTypes.array.isRequired,\n onSuggestionsUpdateRequested: _react.PropTypes.func,\n getSuggestionValue: _react.PropTypes.func.isRequired,\n renderSuggestion: _react.PropTypes.func.isRequired,\n inputProps: function () {\n function inputProps(props, propName) {\n var inputProps = props[propName];\n\n if (!inputProps.hasOwnProperty('value')) {\n throw new Error('\\'inputProps\\' must have \\'value\\'.');\n }\n\n if (!inputProps.hasOwnProperty('onChange')) {\n throw new Error('\\'inputProps\\' must have \\'onChange\\'.');\n }\n }\n\n return inputProps;\n }(),\n shouldRenderSuggestions: _react.PropTypes.func,\n onSuggestionSelected: _react.PropTypes.func,\n multiSection: _react.PropTypes.bool,\n renderSectionTitle: _react.PropTypes.func,\n getSectionSuggestions: _react.PropTypes.func,\n focusInputOnSuggestionClick: _react.PropTypes.bool,\n theme: _react.PropTypes.object,\n id: _react.PropTypes.string\n};\nAutosuggestContainer.defaultProps = {\n onSuggestionsUpdateRequested: noop,\n shouldRenderSuggestions: function () {\n function shouldRenderSuggestions(value) {\n return value.trim().length > 0;\n }\n\n return shouldRenderSuggestions;\n }(),\n onSuggestionSelected: noop,\n multiSection: false,\n renderSectionTitle: function () {\n function renderSectionTitle() {\n throw new Error('`renderSectionTitle` must be provided');\n }\n\n return renderSectionTitle;\n }(),\n getSectionSuggestions: function () {\n function getSectionSuggestions() {\n throw new Error('`getSectionSuggestions` must be provided');\n }\n\n return getSectionSuggestions;\n }(),\n\n focusInputOnSuggestionClick: true,\n theme: defaultTheme,\n id: '1'\n};\nexports['default'] = AutosuggestContainer;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/suggest/autosuggest/AutosuggestContainer.js\n ** module id = 366\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/autosuggest/AutosuggestContainer.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.__esModule = true;\nexports.compose = exports.applyMiddleware = exports.bindActionCreators = exports.combineReducers = exports.createStore = undefined;\n\nvar _createStore = __webpack_require__(368);\n\nvar _createStore2 = _interopRequireDefault(_createStore);\n\nvar _combineReducers = __webpack_require__(375);\n\nvar _combineReducers2 = _interopRequireDefault(_combineReducers);\n\nvar _bindActionCreators = __webpack_require__(377);\n\nvar _bindActionCreators2 = _interopRequireDefault(_bindActionCreators);\n\nvar _applyMiddleware = __webpack_require__(378);\n\nvar _applyMiddleware2 = _interopRequireDefault(_applyMiddleware);\n\nvar _compose = __webpack_require__(379);\n\nvar _compose2 = _interopRequireDefault(_compose);\n\nvar _warning = __webpack_require__(376);\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n/*\n* This is a dummy function to check if the function name has been altered by minification.\n* If the function has been minified and NODE_ENV !== 'production', warn the user.\n*/\nfunction isCrushed() {}\n\nif (false) {\n (0, _warning2[\"default\"])('You are currently using minified code outside of NODE_ENV === \\'production\\'. ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) ' + 'to ensure you have the correct code for your production build.');\n}\n\nexports.createStore = _createStore2[\"default\"];\nexports.combineReducers = _combineReducers2[\"default\"];\nexports.bindActionCreators = _bindActionCreators2[\"default\"];\nexports.applyMiddleware = _applyMiddleware2[\"default\"];\nexports.compose = _compose2[\"default\"];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/index.js\n ** module id = 367\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.__esModule = true;\nexports.ActionTypes = undefined;\nexports[\"default\"] = createStore;\n\nvar _isPlainObject = __webpack_require__(369);\n\nvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\nvar _symbolObservable = __webpack_require__(373);\n\nvar _symbolObservable2 = _interopRequireDefault(_symbolObservable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar ActionTypes = exports.ActionTypes = {\n INIT: '@@redux/INIT'\n};\n\n/**\n * Creates a Redux store that holds the state tree.\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [initialState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} enhancer The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\nfunction createStore(reducer, initialState, enhancer) {\n var _ref2;\n\n if (typeof initialState === 'function' && typeof enhancer === 'undefined') {\n enhancer = initialState;\n initialState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error('Expected the enhancer to be a function.');\n }\n\n return enhancer(createStore)(reducer, initialState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error('Expected the reducer to be a function.');\n }\n\n var currentReducer = reducer;\n var currentState = initialState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n function getState() {\n return currentState;\n }\n\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error('Expected listener to be a function.');\n }\n\n var isSubscribed = true;\n\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n };\n }\n\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n function dispatch(action) {\n if (!(0, _isPlainObject2[\"default\"])(action)) {\n throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error('Actions may not have an undefined \"type\" property. ' + 'Have you misspelled a constant?');\n }\n\n if (isDispatching) {\n throw new Error('Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n for (var i = 0; i < listeners.length; i++) {\n listeners[i]();\n }\n\n return action;\n }\n\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error('Expected the nextReducer to be a function.');\n }\n\n currentReducer = nextReducer;\n dispatch({ type: ActionTypes.INIT });\n }\n\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/zenparsing/es-observable\n */\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object') {\n throw new TypeError('Expected the observer to be an object.');\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return { unsubscribe: unsubscribe };\n }\n }, _ref[_symbolObservable2[\"default\"]] = function () {\n return this;\n }, _ref;\n }\n\n // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n dispatch({ type: ActionTypes.INIT });\n\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[_symbolObservable2[\"default\"]] = observable, _ref2;\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/createStore.js\n ** module id = 368\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/createStore.js?")},[487,370,371,372],184,226,180,function(module,exports,__webpack_require__){eval("/* WEBPACK VAR INJECTION */(function(global) {/* global window */\n'use strict';\n\nmodule.exports = __webpack_require__(374)(global || window || this);\n\n/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/symbol-observable/index.js\n ** module id = 373\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/symbol-observable/index.js?")},function(module,exports){eval("'use strict';\n\nmodule.exports = function symbolObservablePonyfill(root) {\n var result;\n var Symbol = root.Symbol;\n\n if (typeof Symbol === 'function') {\n if (Symbol.observable) {\n result = Symbol.observable;\n } else {\n result = Symbol('observable');\n Symbol.observable = result;\n }\n } else {\n result = '@@observable';\n }\n\n return result;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/symbol-observable/ponyfill.js\n ** module id = 374\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/symbol-observable/ponyfill.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = combineReducers;\n\nvar _createStore = __webpack_require__(368);\n\nvar _isPlainObject = __webpack_require__(369);\n\nvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\nvar _warning = __webpack_require__(376);\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction getUndefinedStateErrorMessage(key, action) {\n var actionType = action && action.type;\n var actionName = actionType && '\"' + actionType.toString() + '\"' || 'an action';\n\n return 'Given action ' + actionName + ', reducer \"' + key + '\" returned undefined. ' + 'To ignore an action, you must explicitly return the previous state.';\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === _createStore.ActionTypes.INIT ? 'initialState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!(0, _isPlainObject2[\"default\"])(inputState)) {\n return 'The ' + argumentName + ' has unexpected type of \"' + {}.toString.call(inputState).match(/\\s([a-z|A-Z]+)/)[1] + '\". Expected argument to be an object with the following ' + ('keys: \"' + reducerKeys.join('\", \"') + '\"');\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key);\n });\n\n if (unexpectedKeys.length > 0) {\n return 'Unexpected ' + (unexpectedKeys.length > 1 ? 'keys' : 'key') + ' ' + ('\"' + unexpectedKeys.join('\", \"') + '\" found in ' + argumentName + '. ') + 'Expected to find one of the known reducer keys instead: ' + ('\"' + reducerKeys.join('\", \"') + '\". Unexpected keys will be ignored.');\n }\n}\n\nfunction assertReducerSanity(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, { type: _createStore.ActionTypes.INIT });\n\n if (typeof initialState === 'undefined') {\n throw new Error('Reducer \"' + key + '\" returned undefined during initialization. ' + 'If the state passed to the reducer is undefined, you must ' + 'explicitly return the initial state. The initial state may ' + 'not be undefined.');\n }\n\n var type = '@@redux/PROBE_UNKNOWN_ACTION_' + Math.random().toString(36).substring(7).split('').join('.');\n if (typeof reducer(undefined, { type: type }) === 'undefined') {\n throw new Error('Reducer \"' + key + '\" returned undefined when probed with a random type. ' + ('Don\\'t try to handle ' + _createStore.ActionTypes.INIT + ' or other actions in \"redux/*\" ') + 'namespace. They are considered private. Instead, you must return the ' + 'current state for any unknown actions, unless it is undefined, ' + 'in which case you must return the initial state, regardless of the ' + 'action type. The initial state may not be undefined.');\n }\n });\n}\n\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n var finalReducerKeys = Object.keys(finalReducers);\n\n var sanityError;\n try {\n assertReducerSanity(finalReducers);\n } catch (e) {\n sanityError = e;\n }\n\n return function combination() {\n var state = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var action = arguments[1];\n\n if (sanityError) {\n throw sanityError;\n }\n\n if (false) {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action);\n if (warningMessage) {\n (0, _warning2[\"default\"])(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n for (var i = 0; i < finalReducerKeys.length; i++) {\n var key = finalReducerKeys[i];\n var reducer = finalReducers[key];\n var previousStateForKey = state[key];\n var nextStateForKey = reducer(previousStateForKey, action);\n if (typeof nextStateForKey === 'undefined') {\n var errorMessage = getUndefinedStateErrorMessage(key, action);\n throw new Error(errorMessage);\n }\n nextState[key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n return hasChanged ? nextState : state;\n };\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/combineReducers.js\n ** module id = 375\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/combineReducers.js?")},function(module,exports){eval("'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = warning;\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n /* eslint-disable no-empty */\n } catch (e) {}\n /* eslint-enable no-empty */\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/utils/warning.js\n ** module id = 376\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/utils/warning.js?")},function(module,exports){eval("'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = bindActionCreators;\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(undefined, arguments));\n };\n}\n\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass a single function as the first argument,\n * and get a function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error('bindActionCreators expected an object or a function, instead received ' + (actionCreators === null ? 'null' : typeof actionCreators) + '. ' + 'Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?');\n }\n\n var keys = Object.keys(actionCreators);\n var boundActionCreators = {};\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var actionCreator = actionCreators[key];\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n return boundActionCreators;\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/bindActionCreators.js\n ** module id = 377\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/bindActionCreators.js?")},function(module,exports,__webpack_require__){eval('\'use strict\';\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexports["default"] = applyMiddleware;\n\nvar _compose = __webpack_require__(379);\n\nvar _compose2 = _interopRequireDefault(_compose);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function (reducer, initialState, enhancer) {\n var store = createStore(reducer, initialState, enhancer);\n var _dispatch = store.dispatch;\n var chain = [];\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch(action) {\n return _dispatch(action);\n }\n };\n chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = _compose2["default"].apply(undefined, chain)(store.dispatch);\n\n return _extends({}, store, {\n dispatch: _dispatch\n });\n };\n };\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/applyMiddleware.js\n ** module id = 378\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/applyMiddleware.js?'); },function(module,exports){eval('"use strict";\n\nexports.__esModule = true;\nexports["default"] = compose;\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\n\nfunction compose() {\n for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n } else {\n var _ret = function () {\n var last = funcs[funcs.length - 1];\n var rest = funcs.slice(0, -1);\n return {\n v: function v() {\n return rest.reduceRight(function (composed, f) {\n return f(composed);\n }, last.apply(undefined, arguments));\n }\n };\n }();\n\n if (typeof _ret === "object") return _ret.v;\n }\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/compose.js\n ** module id = 379\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/redux/lib/compose.js?')},function(module,exports,__webpack_require__){eval('\'use strict\';\n\nexports.__esModule = true;\nexports.connect = exports.Provider = undefined;\n\nvar _Provider = __webpack_require__(381);\n\nvar _Provider2 = _interopRequireDefault(_Provider);\n\nvar _connect = __webpack_require__(384);\n\nvar _connect2 = _interopRequireDefault(_connect);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\n\nexports.Provider = _Provider2["default"];\nexports.connect = _connect2["default"];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/index.js\n ** module id = 380\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/index.js?')},function(module,exports,__webpack_require__){eval('\'use strict\';\n\nexports.__esModule = true;\nexports["default"] = undefined;\n\nvar _react = __webpack_require__(1);\n\nvar _storeShape = __webpack_require__(382);\n\nvar _storeShape2 = _interopRequireDefault(_storeShape);\n\nvar _warning = __webpack_require__(383);\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar didWarnAboutReceivingStore = false;\nfunction warnAboutReceivingStore() {\n if (didWarnAboutReceivingStore) {\n return;\n }\n didWarnAboutReceivingStore = true;\n\n (0, _warning2["default"])(\'<Provider> does not support changing `store` on the fly. \' + \'It is most likely that you see this error because you updated to \' + \'Redux 2.x and React Redux 2.x which no longer hot reload reducers \' + \'automatically. See https://github.com/reactjs/react-redux/releases/\' + \'tag/v2.0.0 for the migration instructions.\');\n}\n\nvar Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n Provider.prototype.getChildContext = function getChildContext() {\n return { store: this.store };\n };\n\n function Provider(props, context) {\n _classCallCheck(this, Provider);\n\n var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));\n\n _this.store = props.store;\n return _this;\n }\n\n Provider.prototype.render = function render() {\n var children = this.props.children;\n\n return _react.Children.only(children);\n };\n\n return Provider;\n}(_react.Component);\n\nexports["default"] = Provider;\n\nif (false) {\n Provider.prototype.componentWillReceiveProps = function (nextProps) {\n var store = this.store;\n var nextStore = nextProps.store;\n\n if (store !== nextStore) {\n warnAboutReceivingStore();\n }\n };\n}\n\nProvider.propTypes = {\n store: _storeShape2["default"].isRequired,\n children: _react.PropTypes.element.isRequired\n};\nProvider.childContextTypes = {\n store: _storeShape2["default"].isRequired\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/components/Provider.js\n ** module id = 381\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/components/Provider.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.__esModule = true;\n\nvar _react = __webpack_require__(1);\n\nexports[\"default\"] = _react.PropTypes.shape({\n subscribe: _react.PropTypes.func.isRequired,\n dispatch: _react.PropTypes.func.isRequired,\n getState: _react.PropTypes.func.isRequired\n});\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/storeShape.js\n ** module id = 382\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/utils/storeShape.js?")},function(module,exports){eval("'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = warning;\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n /* eslint-disable no-empty */\n } catch (e) {}\n /* eslint-enable no-empty */\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/warning.js\n ** module id = 383\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/utils/warning.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexports.__esModule = true;\nexports[\"default\"] = connect;\n\nvar _react = __webpack_require__(1);\n\nvar _storeShape = __webpack_require__(382);\n\nvar _storeShape2 = _interopRequireDefault(_storeShape);\n\nvar _shallowEqual = __webpack_require__(385);\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nvar _wrapActionCreators = __webpack_require__(386);\n\nvar _wrapActionCreators2 = _interopRequireDefault(_wrapActionCreators);\n\nvar _warning = __webpack_require__(383);\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _isPlainObject = __webpack_require__(387);\n\nvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\nvar _hoistNonReactStatics = __webpack_require__(353);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _invariant = __webpack_require__(391);\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar defaultMapStateToProps = function defaultMapStateToProps(state) {\n return {};\n}; // eslint-disable-line no-unused-vars\nvar defaultMapDispatchToProps = function defaultMapDispatchToProps(dispatch) {\n return { dispatch: dispatch };\n};\nvar defaultMergeProps = function defaultMergeProps(stateProps, dispatchProps, parentProps) {\n return _extends({}, parentProps, stateProps, dispatchProps);\n};\n\nfunction getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n}\n\nvar errorObject = { value: null };\nfunction tryCatch(fn, ctx) {\n try {\n return fn.apply(ctx);\n } catch (e) {\n errorObject.value = e;\n return errorObject;\n }\n}\n\n// Helps track hot reloading.\nvar nextVersion = 0;\n\nfunction connect(mapStateToProps, mapDispatchToProps, mergeProps) {\n var options = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];\n\n var shouldSubscribe = Boolean(mapStateToProps);\n var mapState = mapStateToProps || defaultMapStateToProps;\n\n var mapDispatch = undefined;\n if (typeof mapDispatchToProps === 'function') {\n mapDispatch = mapDispatchToProps;\n } else if (!mapDispatchToProps) {\n mapDispatch = defaultMapDispatchToProps;\n } else {\n mapDispatch = (0, _wrapActionCreators2[\"default\"])(mapDispatchToProps);\n }\n\n var finalMergeProps = mergeProps || defaultMergeProps;\n var _options$pure = options.pure;\n var pure = _options$pure === undefined ? true : _options$pure;\n var _options$withRef = options.withRef;\n var withRef = _options$withRef === undefined ? false : _options$withRef;\n\n var checkMergedEquals = pure && finalMergeProps !== defaultMergeProps;\n\n // Helps track hot reloading.\n var version = nextVersion++;\n\n return function wrapWithConnect(WrappedComponent) {\n var connectDisplayName = 'Connect(' + getDisplayName(WrappedComponent) + ')';\n\n function checkStateShape(props, methodName) {\n if (!(0, _isPlainObject2[\"default\"])(props)) {\n (0, _warning2[\"default\"])(methodName + '() in ' + connectDisplayName + ' must return a plain object. ' + ('Instead received ' + props + '.'));\n }\n }\n\n function computeMergedProps(stateProps, dispatchProps, parentProps) {\n var mergedProps = finalMergeProps(stateProps, dispatchProps, parentProps);\n if (false) {\n checkStateShape(mergedProps, 'mergeProps');\n }\n return mergedProps;\n }\n\n var Connect = function (_Component) {\n _inherits(Connect, _Component);\n\n Connect.prototype.shouldComponentUpdate = function shouldComponentUpdate() {\n return !pure || this.haveOwnPropsChanged || this.hasStoreStateChanged;\n };\n\n function Connect(props, context) {\n _classCallCheck(this, Connect);\n\n var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));\n\n _this.version = version;\n _this.store = props.store || context.store;\n\n (0, _invariant2[\"default\"])(_this.store, 'Could not find \"store\" in either the context or ' + ('props of \"' + connectDisplayName + '\". ') + 'Either wrap the root component in a <Provider>, ' + ('or explicitly pass \"store\" as a prop to \"' + connectDisplayName + '\".'));\n\n var storeState = _this.store.getState();\n _this.state = { storeState: storeState };\n _this.clearCache();\n return _this;\n }\n\n Connect.prototype.computeStateProps = function computeStateProps(store, props) {\n if (!this.finalMapStateToProps) {\n return this.configureFinalMapState(store, props);\n }\n\n var state = store.getState();\n var stateProps = this.doStatePropsDependOnOwnProps ? this.finalMapStateToProps(state, props) : this.finalMapStateToProps(state);\n\n if (false) {\n checkStateShape(stateProps, 'mapStateToProps');\n }\n return stateProps;\n };\n\n Connect.prototype.configureFinalMapState = function configureFinalMapState(store, props) {\n var mappedState = mapState(store.getState(), props);\n var isFactory = typeof mappedState === 'function';\n\n this.finalMapStateToProps = isFactory ? mappedState : mapState;\n this.doStatePropsDependOnOwnProps = this.finalMapStateToProps.length !== 1;\n\n if (isFactory) {\n return this.computeStateProps(store, props);\n }\n\n if (false) {\n checkStateShape(mappedState, 'mapStateToProps');\n }\n return mappedState;\n };\n\n Connect.prototype.computeDispatchProps = function computeDispatchProps(store, props) {\n if (!this.finalMapDispatchToProps) {\n return this.configureFinalMapDispatch(store, props);\n }\n\n var dispatch = store.dispatch;\n\n var dispatchProps = this.doDispatchPropsDependOnOwnProps ? this.finalMapDispatchToProps(dispatch, props) : this.finalMapDispatchToProps(dispatch);\n\n if (false) {\n checkStateShape(dispatchProps, 'mapDispatchToProps');\n }\n return dispatchProps;\n };\n\n Connect.prototype.configureFinalMapDispatch = function configureFinalMapDispatch(store, props) {\n var mappedDispatch = mapDispatch(store.dispatch, props);\n var isFactory = typeof mappedDispatch === 'function';\n\n this.finalMapDispatchToProps = isFactory ? mappedDispatch : mapDispatch;\n this.doDispatchPropsDependOnOwnProps = this.finalMapDispatchToProps.length !== 1;\n\n if (isFactory) {\n return this.computeDispatchProps(store, props);\n }\n\n if (false) {\n checkStateShape(mappedDispatch, 'mapDispatchToProps');\n }\n return mappedDispatch;\n };\n\n Connect.prototype.updateStatePropsIfNeeded = function updateStatePropsIfNeeded() {\n var nextStateProps = this.computeStateProps(this.store, this.props);\n if (this.stateProps && (0, _shallowEqual2[\"default\"])(nextStateProps, this.stateProps)) {\n return false;\n }\n\n this.stateProps = nextStateProps;\n return true;\n };\n\n Connect.prototype.updateDispatchPropsIfNeeded = function updateDispatchPropsIfNeeded() {\n var nextDispatchProps = this.computeDispatchProps(this.store, this.props);\n if (this.dispatchProps && (0, _shallowEqual2[\"default\"])(nextDispatchProps, this.dispatchProps)) {\n return false;\n }\n\n this.dispatchProps = nextDispatchProps;\n return true;\n };\n\n Connect.prototype.updateMergedPropsIfNeeded = function updateMergedPropsIfNeeded() {\n var nextMergedProps = computeMergedProps(this.stateProps, this.dispatchProps, this.props);\n if (this.mergedProps && checkMergedEquals && (0, _shallowEqual2[\"default\"])(nextMergedProps, this.mergedProps)) {\n return false;\n }\n\n this.mergedProps = nextMergedProps;\n return true;\n };\n\n Connect.prototype.isSubscribed = function isSubscribed() {\n return typeof this.unsubscribe === 'function';\n };\n\n Connect.prototype.trySubscribe = function trySubscribe() {\n if (shouldSubscribe && !this.unsubscribe) {\n this.unsubscribe = this.store.subscribe(this.handleChange.bind(this));\n this.handleChange();\n }\n };\n\n Connect.prototype.tryUnsubscribe = function tryUnsubscribe() {\n if (this.unsubscribe) {\n this.unsubscribe();\n this.unsubscribe = null;\n }\n };\n\n Connect.prototype.componentDidMount = function componentDidMount() {\n this.trySubscribe();\n };\n\n Connect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n if (!pure || !(0, _shallowEqual2[\"default\"])(nextProps, this.props)) {\n this.haveOwnPropsChanged = true;\n }\n };\n\n Connect.prototype.componentWillUnmount = function componentWillUnmount() {\n this.tryUnsubscribe();\n this.clearCache();\n };\n\n Connect.prototype.clearCache = function clearCache() {\n this.dispatchProps = null;\n this.stateProps = null;\n this.mergedProps = null;\n this.haveOwnPropsChanged = true;\n this.hasStoreStateChanged = true;\n this.haveStatePropsBeenPrecalculated = false;\n this.statePropsPrecalculationError = null;\n this.renderedElement = null;\n this.finalMapDispatchToProps = null;\n this.finalMapStateToProps = null;\n };\n\n Connect.prototype.handleChange = function handleChange() {\n if (!this.unsubscribe) {\n return;\n }\n\n var storeState = this.store.getState();\n var prevStoreState = this.state.storeState;\n if (pure && prevStoreState === storeState) {\n return;\n }\n\n if (pure && !this.doStatePropsDependOnOwnProps) {\n var haveStatePropsChanged = tryCatch(this.updateStatePropsIfNeeded, this);\n if (!haveStatePropsChanged) {\n return;\n }\n if (haveStatePropsChanged === errorObject) {\n this.statePropsPrecalculationError = errorObject.value;\n }\n this.haveStatePropsBeenPrecalculated = true;\n }\n\n this.hasStoreStateChanged = true;\n this.setState({ storeState: storeState });\n };\n\n Connect.prototype.getWrappedInstance = function getWrappedInstance() {\n (0, _invariant2[\"default\"])(withRef, 'To access the wrapped instance, you need to specify ' + '{ withRef: true } as the fourth argument of the connect() call.');\n\n return this.refs.wrappedInstance;\n };\n\n Connect.prototype.render = function render() {\n var haveOwnPropsChanged = this.haveOwnPropsChanged;\n var hasStoreStateChanged = this.hasStoreStateChanged;\n var haveStatePropsBeenPrecalculated = this.haveStatePropsBeenPrecalculated;\n var statePropsPrecalculationError = this.statePropsPrecalculationError;\n var renderedElement = this.renderedElement;\n\n this.haveOwnPropsChanged = false;\n this.hasStoreStateChanged = false;\n this.haveStatePropsBeenPrecalculated = false;\n this.statePropsPrecalculationError = null;\n\n if (statePropsPrecalculationError) {\n throw statePropsPrecalculationError;\n }\n\n var shouldUpdateStateProps = true;\n var shouldUpdateDispatchProps = true;\n if (pure && renderedElement) {\n shouldUpdateStateProps = hasStoreStateChanged || haveOwnPropsChanged && this.doStatePropsDependOnOwnProps;\n shouldUpdateDispatchProps = haveOwnPropsChanged && this.doDispatchPropsDependOnOwnProps;\n }\n\n var haveStatePropsChanged = false;\n var haveDispatchPropsChanged = false;\n if (haveStatePropsBeenPrecalculated) {\n haveStatePropsChanged = true;\n } else if (shouldUpdateStateProps) {\n haveStatePropsChanged = this.updateStatePropsIfNeeded();\n }\n if (shouldUpdateDispatchProps) {\n haveDispatchPropsChanged = this.updateDispatchPropsIfNeeded();\n }\n\n var haveMergedPropsChanged = true;\n if (haveStatePropsChanged || haveDispatchPropsChanged || haveOwnPropsChanged) {\n haveMergedPropsChanged = this.updateMergedPropsIfNeeded();\n } else {\n haveMergedPropsChanged = false;\n }\n\n if (!haveMergedPropsChanged && renderedElement) {\n return renderedElement;\n }\n\n if (withRef) {\n this.renderedElement = (0, _react.createElement)(WrappedComponent, _extends({}, this.mergedProps, {\n ref: 'wrappedInstance'\n }));\n } else {\n this.renderedElement = (0, _react.createElement)(WrappedComponent, this.mergedProps);\n }\n\n return this.renderedElement;\n };\n\n return Connect;\n }(_react.Component);\n\n Connect.displayName = connectDisplayName;\n Connect.WrappedComponent = WrappedComponent;\n Connect.contextTypes = {\n store: _storeShape2[\"default\"]\n };\n Connect.propTypes = {\n store: _storeShape2[\"default\"]\n };\n\n if (false) {\n Connect.prototype.componentWillUpdate = function componentWillUpdate() {\n if (this.version === version) {\n return;\n }\n\n // We are hot reloading!\n this.version = version;\n this.trySubscribe();\n this.clearCache();\n };\n }\n\n return (0, _hoistNonReactStatics2[\"default\"])(Connect, WrappedComponent);\n };\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/components/connect.js\n ** module id = 384\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/components/connect.js?")},function(module,exports){eval('"use strict";\n\nexports.__esModule = true;\nexports["default"] = shallowEqual;\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A\'s keys different from B.\n var hasOwn = Object.prototype.hasOwnProperty;\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwn.call(objB, keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/shallowEqual.js\n ** module id = 385\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/utils/shallowEqual.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = wrapActionCreators;\n\nvar _redux = __webpack_require__(367);\n\nfunction wrapActionCreators(actionCreators) {\n return function (dispatch) {\n return (0, _redux.bindActionCreators)(actionCreators, dispatch);\n };\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/wrapActionCreators.js\n ** module id = 386\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-redux/lib/utils/wrapActionCreators.js?")},[487,388,389,390],184,226,180,function(module,exports,__webpack_require__){eval("/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (false) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/invariant/browser.js\n ** module id = 391\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/invariant/browser.js?")},function(module,exports){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexports.inputFocused = inputFocused;\nexports.inputBlurred = inputBlurred;\nexports.inputChanged = inputChanged;\nexports.updateFocusedSuggestion = updateFocusedSuggestion;\nexports.revealSuggestions = revealSuggestions;\nexports.closeSuggestions = closeSuggestions;\nexports['default'] = reducer;\n//https://github.com/reactjs/react-autocomplete/blob/master/LICENSE\nvar INPUT_FOCUSED = 'INPUT_FOCUSED';\nvar INPUT_BLURRED = 'INPUT_BLURRED';\nvar INPUT_CHANGED = 'INPUT_CHANGED';\nvar UPDATE_FOCUSED_SUGGESTION = 'UPDATE_FOCUSED_SUGGESTION';\nvar REVEAL_SUGGESTIONS = 'REVEAL_SUGGESTIONS';\nvar CLOSE_SUGGESTIONS = 'CLOSE_SUGGESTIONS';\n\nfunction inputFocused(shouldRenderSuggestions) {\n return {\n type: INPUT_FOCUSED,\n shouldRenderSuggestions: shouldRenderSuggestions\n };\n}\n\nfunction inputBlurred() {\n return {\n type: INPUT_BLURRED\n };\n}\n\nfunction inputChanged(shouldRenderSuggestions, lastAction) {\n return {\n type: INPUT_CHANGED,\n shouldRenderSuggestions: shouldRenderSuggestions,\n lastAction: lastAction\n };\n}\n\nfunction updateFocusedSuggestion(sectionIndex, suggestionIndex, value) {\n return {\n type: UPDATE_FOCUSED_SUGGESTION,\n sectionIndex: sectionIndex,\n suggestionIndex: suggestionIndex,\n value: value\n };\n}\n\nfunction revealSuggestions() {\n return {\n type: REVEAL_SUGGESTIONS\n };\n}\n\nfunction closeSuggestions(lastAction) {\n return {\n type: CLOSE_SUGGESTIONS,\n lastAction: lastAction\n };\n}\n\nfunction reducer(state, action) {\n switch (action.type) {\n case INPUT_FOCUSED:\n return _extends({}, state, {\n isFocused: true,\n isCollapsed: !action.shouldRenderSuggestions\n });\n\n case INPUT_BLURRED:\n return _extends({}, state, {\n isFocused: false,\n focusedSectionIndex: null,\n focusedSuggestionIndex: null,\n valueBeforeUpDown: null,\n isCollapsed: true\n });\n\n case INPUT_CHANGED:\n return _extends({}, state, {\n focusedSectionIndex: null,\n focusedSuggestionIndex: null,\n valueBeforeUpDown: null,\n isCollapsed: !action.shouldRenderSuggestions,\n lastAction: action.lastAction\n });\n\n case UPDATE_FOCUSED_SUGGESTION:\n {\n var value = action.value;\n var sectionIndex = action.sectionIndex;\n var suggestionIndex = action.suggestionIndex;\n\n var valueBeforeUpDown = state.valueBeforeUpDown === null && typeof value !== 'undefined' ? value : state.valueBeforeUpDown;\n\n return _extends({}, state, {\n focusedSectionIndex: sectionIndex,\n focusedSuggestionIndex: suggestionIndex,\n valueBeforeUpDown: valueBeforeUpDown\n });\n }\n\n case REVEAL_SUGGESTIONS:\n return _extends({}, state, {\n isCollapsed: false\n });\n\n case CLOSE_SUGGESTIONS:\n return _extends({}, state, {\n focusedSectionIndex: null,\n focusedSuggestionIndex: null,\n valueBeforeUpDown: null,\n isCollapsed: true,\n lastAction: action.lastAction\n });\n\n default:\n return state;\n }\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/suggest/autosuggest/reducerAndActions.js\n ** module id = 392\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/autosuggest/reducerAndActions.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactRedux = __webpack_require__(380);\n\nvar _reducerAndActions = __webpack_require__(392);\n\nvar _reactAutowhatever = __webpack_require__(394);\n\nvar _reactAutowhatever2 = _interopRequireDefault(_reactAutowhatever);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } //https://github.com/moroshko/react-autosuggest/blob/master/LICENSE\n\n\nfunction mapStateToProps(state) {\n return {\n isFocused: state.isFocused,\n isCollapsed: state.isCollapsed,\n focusedSectionIndex: state.focusedSectionIndex,\n focusedSuggestionIndex: state.focusedSuggestionIndex,\n valueBeforeUpDown: state.valueBeforeUpDown,\n lastAction: state.lastAction\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n inputFocused: function () {\n function inputFocused(shouldRenderSuggestions) {\n dispatch((0, _reducerAndActions.inputFocused)(shouldRenderSuggestions));\n }\n\n return inputFocused;\n }(),\n inputBlurred: function () {\n function inputBlurred() {\n dispatch((0, _reducerAndActions.inputBlurred)());\n }\n\n return inputBlurred;\n }(),\n inputChanged: function () {\n function inputChanged(shouldRenderSuggestions, lastAction) {\n dispatch((0, _reducerAndActions.inputChanged)(shouldRenderSuggestions, lastAction));\n }\n\n return inputChanged;\n }(),\n updateFocusedSuggestion: function () {\n function updateFocusedSuggestion(sectionIndex, suggestionIndex, value) {\n dispatch((0, _reducerAndActions.updateFocusedSuggestion)(sectionIndex, suggestionIndex, value));\n }\n\n return updateFocusedSuggestion;\n }(),\n revealSuggestions: function () {\n function revealSuggestions() {\n dispatch((0, _reducerAndActions.revealSuggestions)());\n }\n\n return revealSuggestions;\n }(),\n closeSuggestions: function () {\n function closeSuggestions(lastAction) {\n dispatch((0, _reducerAndActions.closeSuggestions)(lastAction));\n }\n\n return closeSuggestions;\n }()\n };\n}\n\nvar Autosuggest = function (_Component) {\n _inherits(Autosuggest, _Component);\n\n function Autosuggest() {\n _classCallCheck(this, Autosuggest);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Autosuggest).call(this));\n\n _this.saveInput = _this.saveInput.bind(_this);\n return _this;\n }\n\n _createClass(Autosuggest, [{\n key: 'componentWillReceiveProps',\n value: function () {\n function componentWillReceiveProps(nextProps) {\n if (nextProps.suggestions !== this.props.suggestions) {\n var suggestions = nextProps.suggestions;\n var inputProps = nextProps.inputProps;\n var shouldRenderSuggestions = nextProps.shouldRenderSuggestions;\n var isCollapsed = nextProps.isCollapsed;\n var revealSuggestions = nextProps.revealSuggestions;\n var lastAction = nextProps.lastAction;\n var value = inputProps.value;\n\n\n if (isCollapsed && lastAction !== 'click' && lastAction !== 'enter' && suggestions.length > 0 && shouldRenderSuggestions(value)) {\n revealSuggestions();\n }\n }\n }\n\n return componentWillReceiveProps;\n }()\n }, {\n key: 'getSuggestion',\n value: function () {\n function getSuggestion(sectionIndex, suggestionIndex) {\n var _props = this.props;\n var suggestions = _props.suggestions;\n var multiSection = _props.multiSection;\n var getSectionSuggestions = _props.getSectionSuggestions;\n\n\n if (multiSection) {\n return getSectionSuggestions(suggestions[sectionIndex])[suggestionIndex];\n }\n\n return suggestions[suggestionIndex];\n }\n\n return getSuggestion;\n }()\n }, {\n key: 'getFocusedSuggestion',\n value: function () {\n function getFocusedSuggestion() {\n var _props2 = this.props;\n var focusedSectionIndex = _props2.focusedSectionIndex;\n var focusedSuggestionIndex = _props2.focusedSuggestionIndex;\n\n\n if (focusedSuggestionIndex === null) {\n return null;\n }\n\n return this.getSuggestion(focusedSectionIndex, focusedSuggestionIndex);\n }\n\n return getFocusedSuggestion;\n }()\n }, {\n key: 'getSuggestionValueByIndex',\n value: function () {\n function getSuggestionValueByIndex(sectionIndex, suggestionIndex, event) {\n var getSuggestionValue = this.props.getSuggestionValue;\n\n\n return getSuggestionValue(this.getSuggestion(sectionIndex, suggestionIndex), event);\n }\n\n return getSuggestionValueByIndex;\n }()\n }, {\n key: 'getSuggestionIndices',\n value: function () {\n function getSuggestionIndices(suggestionElement) {\n var sectionIndex = suggestionElement.getAttribute('data-section-index');\n var suggestionIndex = suggestionElement.getAttribute('data-suggestion-index');\n\n return {\n sectionIndex: typeof sectionIndex === 'string' ? parseInt(sectionIndex, 10) : null,\n suggestionIndex: parseInt(suggestionIndex, 10)\n };\n }\n\n return getSuggestionIndices;\n }()\n }, {\n key: 'findSuggestionElement',\n value: function () {\n function findSuggestionElement(startNode) {\n var node = startNode;\n\n do {\n if (node.getAttribute('data-suggestion-index') !== null) {\n return node;\n }\n\n node = node.parentNode;\n } while (node !== null);\n\n console.error('Clicked element:', startNode); // eslint-disable-line no-console\n throw new Error('Couldn\\'t find suggestion element');\n }\n\n return findSuggestionElement;\n }()\n }, {\n key: 'maybeEmitOnChange',\n value: function () {\n function maybeEmitOnChange(event, newValue, method) {\n var _props$inputProps = this.props.inputProps;\n var value = _props$inputProps.value;\n var onChange = _props$inputProps.onChange;\n\n\n if (newValue !== value) {\n onChange && onChange(event, { newValue: newValue, method: method });\n }\n }\n\n return maybeEmitOnChange;\n }()\n }, {\n key: 'willRenderSuggestions',\n value: function () {\n function willRenderSuggestions() {\n var _props3 = this.props;\n var suggestions = _props3.suggestions;\n var inputProps = _props3.inputProps;\n var shouldRenderSuggestions = _props3.shouldRenderSuggestions;\n var value = inputProps.value;\n\n\n return suggestions.length > 0 && shouldRenderSuggestions(value);\n }\n\n return willRenderSuggestions;\n }()\n }, {\n key: 'saveInput',\n value: function () {\n function saveInput(autowhatever) {\n if (autowhatever !== null) {\n var input = autowhatever.refs.input;\n\n this.input = input;\n this.props.inputRef(input);\n }\n }\n\n return saveInput;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _this2 = this;\n\n var _props4 = this.props;\n var suggestions = _props4.suggestions;\n var onSuggestionsUpdateRequested = _props4.onSuggestionsUpdateRequested;\n var renderSuggestion = _props4.renderSuggestion;\n var inputProps = _props4.inputProps;\n var shouldRenderSuggestions = _props4.shouldRenderSuggestions;\n var onSuggestionSelected = _props4.onSuggestionSelected;\n var multiSection = _props4.multiSection;\n var renderSectionTitle = _props4.renderSectionTitle;\n var id = _props4.id;\n var getSectionSuggestions = _props4.getSectionSuggestions;\n var focusInputOnSuggestionClick = _props4.focusInputOnSuggestionClick;\n var theme = _props4.theme;\n var isFocused = _props4.isFocused;\n var isCollapsed = _props4.isCollapsed;\n var focusedSectionIndex = _props4.focusedSectionIndex;\n var focusedSuggestionIndex = _props4.focusedSuggestionIndex;\n var valueBeforeUpDown = _props4.valueBeforeUpDown;\n var inputFocused = _props4.inputFocused;\n var inputBlurred = _props4.inputBlurred;\n var inputChanged = _props4.inputChanged;\n var updateFocusedSuggestion = _props4.updateFocusedSuggestion;\n var revealSuggestions = _props4.revealSuggestions;\n var closeSuggestions = _props4.closeSuggestions;\n var value = inputProps.value;\n var _onBlur = inputProps.onBlur;\n var _onFocus = inputProps.onFocus;\n var _onKeyDown = inputProps.onKeyDown;\n\n var isOpen = isFocused && !isCollapsed && this.willRenderSuggestions();\n var items = isOpen ? suggestions : [];\n var autowhateverInputProps = _extends({}, inputProps, {\n onFocus: function () {\n function onFocus(event) {\n if (!_this2.justClickedOnSuggestion) {\n inputFocused(shouldRenderSuggestions(value));\n _onFocus && _onFocus(event);\n }\n }\n\n return onFocus;\n }(),\n onBlur: function () {\n function onBlur(event) {\n _this2.onBlurEvent = event;\n\n if (!_this2.justClickedOnSuggestion) {\n inputBlurred();\n _onBlur && _onBlur(event);\n\n if (valueBeforeUpDown !== null && value !== valueBeforeUpDown) {\n onSuggestionsUpdateRequested({ value: value, reason: 'blur' });\n }\n }\n }\n\n return onBlur;\n }(),\n onChange: function () {\n function onChange(event) {\n var value = event.target.value;\n var _props5 = _this2.props;\n var shouldRenderSuggestions = _props5.shouldRenderSuggestions;\n var onSuggestionsUpdateRequested = _props5.onSuggestionsUpdateRequested;\n\n\n _this2.maybeEmitOnChange(event, value, 'type');\n inputChanged(shouldRenderSuggestions(value), 'type');\n onSuggestionsUpdateRequested({ value: value, reason: 'type' });\n }\n\n return onChange;\n }(),\n onKeyDown: function () {\n function onKeyDown(event, data) {\n switch (event.key) {\n case 'ArrowDown':\n case 'ArrowUp':\n if (isCollapsed) {\n if (_this2.willRenderSuggestions()) {\n revealSuggestions();\n }\n } else if (suggestions.length > 0) {\n var newFocusedSectionIndex = data.newFocusedSectionIndex;\n var newFocusedItemIndex = data.newFocusedItemIndex;\n\n var newValue = newFocusedItemIndex === null ? valueBeforeUpDown : _this2.getSuggestionValueByIndex(newFocusedSectionIndex, newFocusedItemIndex, event);\n\n updateFocusedSuggestion(newFocusedSectionIndex, newFocusedItemIndex, value);\n _this2.maybeEmitOnChange(event, newValue, event.key === 'ArrowDown' ? 'down' : 'up');\n }\n event.preventDefault();\n break;\n\n case 'Enter':\n {\n var focusedSuggestion = _this2.getFocusedSuggestion();\n\n if (focusedSuggestion !== null) {\n closeSuggestions('enter');\n onSuggestionSelected(event, {\n suggestion: focusedSuggestion,\n suggestionValue: value,\n method: 'enter'\n });\n onSuggestionsUpdateRequested({ value: value, reason: 'enter' });\n }\n break;\n }\n\n case 'Escape':\n if (isOpen) {\n // If input.type === 'search', the browser clears the input\n // when Escape is pressed. We want to disable this default\n // behaviour so that, when suggestions are shown, we just hide\n // them, without clearing the input.\n event.preventDefault();\n }\n\n if (valueBeforeUpDown === null) {\n // Didn't interact with Up/Down\n if (!isOpen) {\n _this2.maybeEmitOnChange(event, '', 'escape');\n onSuggestionsUpdateRequested({ value: '', reason: 'escape' });\n }\n } else {\n // Interacted with Up/Down\n _this2.maybeEmitOnChange(event, valueBeforeUpDown, 'escape');\n }\n\n closeSuggestions('escape');\n break;\n }\n\n _onKeyDown && _onKeyDown(event);\n }\n\n return onKeyDown;\n }()\n });\n var onMouseEnter = function () {\n function onMouseEnter(event, _ref) {\n var sectionIndex = _ref.sectionIndex;\n var itemIndex = _ref.itemIndex;\n\n updateFocusedSuggestion(sectionIndex, itemIndex);\n }\n\n return onMouseEnter;\n }();\n var onMouseLeave = function () {\n function onMouseLeave() {\n updateFocusedSuggestion(null, null);\n }\n\n return onMouseLeave;\n }();\n var onMouseDown = function () {\n function onMouseDown() {\n _this2.justClickedOnSuggestion = true;\n }\n\n return onMouseDown;\n }();\n var onClick = function () {\n function onClick(event) {\n var _getSuggestionIndices = _this2.getSuggestionIndices(_this2.findSuggestionElement(event.target));\n\n var sectionIndex = _getSuggestionIndices.sectionIndex;\n var suggestionIndex = _getSuggestionIndices.suggestionIndex;\n\n var clickedSuggestion = _this2.getSuggestion(sectionIndex, suggestionIndex);\n var clickedSuggestionValue = _this2.props.getSuggestionValue(clickedSuggestion, event);\n\n _this2.maybeEmitOnChange(event, clickedSuggestionValue, 'click');\n onSuggestionSelected(event, {\n suggestion: clickedSuggestion,\n suggestionValue: clickedSuggestionValue,\n method: 'click'\n });\n closeSuggestions('click');\n\n if (focusInputOnSuggestionClick === true) {\n _this2.input.focus();\n } else {\n inputBlurred();\n _onBlur && _onBlur(_this2.onBlurEvent);\n }\n\n onSuggestionsUpdateRequested({ value: clickedSuggestionValue, reason: 'click' });\n\n _this2.justClickedOnSuggestion = false;\n }\n\n return onClick;\n }();\n var itemProps = function () {\n function itemProps(_ref2) {\n var sectionIndex = _ref2.sectionIndex;\n var itemIndex = _ref2.itemIndex;\n\n return {\n 'data-section-index': sectionIndex,\n 'data-suggestion-index': itemIndex,\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onMouseDown: onMouseDown,\n onTouchStart: onMouseDown, // Because on iOS `onMouseDown` is not triggered\n onClick: onClick\n };\n }\n\n return itemProps;\n }();\n var renderItem = function () {\n function renderItem(item) {\n return renderSuggestion(item, { value: value, valueBeforeUpDown: valueBeforeUpDown });\n }\n\n return renderItem;\n }();\n\n return _react2['default'].createElement(_reactAutowhatever2['default'], {\n multiSection: multiSection,\n items: items,\n renderItem: renderItem,\n renderSectionTitle: renderSectionTitle,\n getSectionItems: getSectionSuggestions,\n focusedSectionIndex: focusedSectionIndex,\n focusedItemIndex: focusedSuggestionIndex,\n inputProps: autowhateverInputProps,\n itemProps: itemProps,\n theme: theme,\n id: id,\n ref: this.saveInput });\n }\n\n return render;\n }()\n }]);\n\n return Autosuggest;\n}(_react.Component);\n\nAutosuggest.propTypes = {\n suggestions: _react.PropTypes.array.isRequired,\n onSuggestionsUpdateRequested: _react.PropTypes.func.isRequired,\n getSuggestionValue: _react.PropTypes.func.isRequired,\n renderSuggestion: _react.PropTypes.func.isRequired,\n inputProps: _react.PropTypes.object.isRequired,\n shouldRenderSuggestions: _react.PropTypes.func.isRequired,\n onSuggestionSelected: _react.PropTypes.func.isRequired,\n multiSection: _react.PropTypes.bool.isRequired,\n renderSectionTitle: _react.PropTypes.func.isRequired,\n getSectionSuggestions: _react.PropTypes.func.isRequired,\n focusInputOnSuggestionClick: _react.PropTypes.bool.isRequired,\n theme: _react.PropTypes.object.isRequired,\n id: _react.PropTypes.string.isRequired,\n inputRef: _react.PropTypes.func.isRequired,\n\n isFocused: _react.PropTypes.bool.isRequired,\n isCollapsed: _react.PropTypes.bool.isRequired,\n focusedSectionIndex: _react.PropTypes.number,\n focusedSuggestionIndex: _react.PropTypes.number,\n valueBeforeUpDown: _react.PropTypes.string,\n lastAction: _react.PropTypes.string,\n\n inputFocused: _react.PropTypes.func.isRequired,\n inputBlurred: _react.PropTypes.func.isRequired,\n inputChanged: _react.PropTypes.func.isRequired,\n updateFocusedSuggestion: _react.PropTypes.func.isRequired,\n revealSuggestions: _react.PropTypes.func.isRequired,\n closeSuggestions: _react.PropTypes.func.isRequired\n};\nexports['default'] = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(Autosuggest);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/suggest/autosuggest/Autosuggest.js\n ** module id = 393\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/autosuggest/Autosuggest.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _sectionIterator = __webpack_require__(395);\n\nvar _sectionIterator2 = _interopRequireDefault(_sectionIterator);\n\nvar _reactThemeable = __webpack_require__(396);\n\nvar _reactThemeable2 = _interopRequireDefault(_reactThemeable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction noop() {}\n\nvar Autowhatever = function (_Component) {\n _inherits(Autowhatever, _Component);\n\n function Autowhatever(props) {\n _classCallCheck(this, Autowhatever);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Autowhatever).call(this, props));\n\n _this.onKeyDown = _this.onKeyDown.bind(_this);\n return _this;\n } // Styles. See: https://github.com/markdalgleish/react-themeable\n\n\n _createClass(Autowhatever, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.ensureFocusedSuggestionIsVisible();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n this.ensureFocusedSuggestionIsVisible();\n }\n }, {\n key: 'getItemId',\n value: function getItemId(sectionIndex, itemIndex) {\n if (itemIndex === null) {\n return null;\n }\n\n var id = this.props.id;\n\n var section = sectionIndex === null ? '' : 'section-' + sectionIndex;\n\n return 'react-autowhatever-' + id + '-' + section + '-item-' + itemIndex;\n }\n }, {\n key: 'getItemsContainerId',\n value: function getItemsContainerId() {\n var id = this.props.id;\n\n\n return 'react-whatever-' + id;\n }\n }, {\n key: 'renderItemsList',\n value: function renderItemsList(theme, items, sectionIndex) {\n var _this2 = this;\n\n var _props = this.props;\n var id = _props.id;\n var renderItem = _props.renderItem;\n var focusedSectionIndex = _props.focusedSectionIndex;\n var focusedItemIndex = _props.focusedItemIndex;\n\n var isItemPropsFunction = typeof this.props.itemProps === 'function';\n\n return items.map(function (item, itemIndex) {\n var itemPropsObj = isItemPropsFunction ? _this2.props.itemProps({ sectionIndex: sectionIndex, itemIndex: itemIndex }) : _this2.props.itemProps;\n var onMouseEnter = itemPropsObj.onMouseEnter;\n var onMouseLeave = itemPropsObj.onMouseLeave;\n var onMouseDown = itemPropsObj.onMouseDown;\n var onClick = itemPropsObj.onClick;\n\n\n var onMouseEnterFn = onMouseEnter ? function (event) {\n return onMouseEnter(event, { sectionIndex: sectionIndex, itemIndex: itemIndex });\n } : noop;\n var onMouseLeaveFn = onMouseLeave ? function (event) {\n return onMouseLeave(event, { sectionIndex: sectionIndex, itemIndex: itemIndex });\n } : noop;\n var onMouseDownFn = onMouseDown ? function (event) {\n return onMouseDown(event, { sectionIndex: sectionIndex, itemIndex: itemIndex });\n } : noop;\n var onClickFn = onClick ? function (event) {\n return onClick(event, { sectionIndex: sectionIndex, itemIndex: itemIndex });\n } : noop;\n var sectionPrefix = sectionIndex === null ? '' : 'section-' + sectionIndex + '-';\n var itemKey = 'react-autowhatever-' + id + '-' + sectionPrefix + 'item-' + itemIndex;\n var isFocused = sectionIndex === focusedSectionIndex && itemIndex === focusedItemIndex;\n var itemProps = _extends({\n id: _this2.getItemId(sectionIndex, itemIndex),\n ref: isFocused ? 'focusedItem' : null,\n role: 'option'\n }, theme(itemKey, 'item', isFocused && 'itemFocused'), itemPropsObj, {\n onMouseEnter: onMouseEnterFn,\n onMouseLeave: onMouseLeaveFn,\n onMouseDown: onMouseDownFn,\n onClick: onClickFn\n });\n\n return _react2.default.createElement(\n 'li',\n itemProps,\n renderItem(item)\n );\n });\n }\n }, {\n key: 'renderSections',\n value: function renderSections(theme) {\n var _this3 = this;\n\n var _props2 = this.props;\n var items = _props2.items;\n var getSectionItems = _props2.getSectionItems;\n\n var sectionItemsArray = items.map(function (section) {\n return getSectionItems(section);\n });\n var noItemsExist = sectionItemsArray.every(function (sectionItems) {\n return sectionItems.length === 0;\n });\n\n if (noItemsExist) {\n return null;\n }\n\n var _props3 = this.props;\n var id = _props3.id;\n var shouldRenderSection = _props3.shouldRenderSection;\n var renderSectionTitle = _props3.renderSectionTitle;\n\n\n return _react2.default.createElement(\n 'div',\n _extends({ id: this.getItemsContainerId(),\n ref: 'itemsContainer',\n role: 'listbox'\n }, theme('react-autowhatever-' + id + '-items-container', 'itemsContainer')),\n items.map(function (section, sectionIndex) {\n if (!shouldRenderSection(section)) {\n return null;\n }\n\n var sectionTitle = renderSectionTitle(section);\n\n return _react2.default.createElement(\n 'div',\n theme('react-autowhatever-' + id + '-section-' + sectionIndex + '-container', 'sectionContainer'),\n sectionTitle && _react2.default.createElement(\n 'div',\n theme('react-autowhatever-' + id + '-section-' + sectionIndex + '-title', 'sectionTitle'),\n sectionTitle\n ),\n _react2.default.createElement(\n 'ul',\n theme('react-autowhatever-' + id + '-section-' + sectionIndex + '-items-container', 'sectionItemsContainer'),\n _this3.renderItemsList(theme, sectionItemsArray[sectionIndex], sectionIndex)\n )\n );\n })\n );\n }\n }, {\n key: 'renderItems',\n value: function renderItems(theme) {\n var items = this.props.items;\n\n\n if (items.length === 0) {\n return null;\n }\n\n var id = this.props;\n\n return _react2.default.createElement(\n 'ul',\n _extends({ id: this.getItemsContainerId(),\n ref: 'itemsContainer',\n role: 'listbox'\n }, theme('react-autowhatever-' + id + '-items-container', 'itemsContainer')),\n this.renderItemsList(theme, items, null)\n );\n }\n }, {\n key: 'onKeyDown',\n value: function onKeyDown(event) {\n var _this4 = this;\n\n var _props4 = this.props;\n var inputProps = _props4.inputProps;\n var focusedSectionIndex = _props4.focusedSectionIndex;\n var focusedItemIndex = _props4.focusedItemIndex;\n var onKeyDownFn = inputProps.onKeyDown; // Babel is throwing:\n // \"onKeyDown\" is read-only\n // on:\n // const { onKeyDown } = inputProps;\n\n switch (event.key) {\n case 'ArrowDown':\n case 'ArrowUp':\n {\n var _ret = function () {\n var _props5 = _this4.props;\n var multiSection = _props5.multiSection;\n var items = _props5.items;\n var getSectionItems = _props5.getSectionItems;\n\n var sectionIterator = (0, _sectionIterator2.default)({\n multiSection: multiSection,\n data: multiSection ? items.map(function (section) {\n return getSectionItems(section).length;\n }) : items.length\n });\n var nextPrev = event.key === 'ArrowDown' ? 'next' : 'prev';\n\n var _sectionIterator$next = sectionIterator[nextPrev]([focusedSectionIndex, focusedItemIndex]);\n\n var _sectionIterator$next2 = _slicedToArray(_sectionIterator$next, 2);\n\n var newFocusedSectionIndex = _sectionIterator$next2[0];\n var newFocusedItemIndex = _sectionIterator$next2[1];\n\n\n onKeyDownFn(event, { newFocusedSectionIndex: newFocusedSectionIndex, newFocusedItemIndex: newFocusedItemIndex });\n return 'break';\n }();\n\n if (_ret === 'break') break;\n }\n\n default:\n onKeyDownFn(event, { focusedSectionIndex: focusedSectionIndex, focusedItemIndex: focusedItemIndex });\n }\n }\n }, {\n key: 'ensureFocusedSuggestionIsVisible',\n value: function ensureFocusedSuggestionIsVisible() {\n if (!this.refs.focusedItem) {\n return;\n }\n\n var _refs = this.refs;\n var focusedItem = _refs.focusedItem;\n var itemsContainer = _refs.itemsContainer;\n\n var itemOffsetRelativeToContainer = focusedItem.offsetParent === itemsContainer ? focusedItem.offsetTop : focusedItem.offsetTop - itemsContainer.offsetTop;\n\n var scrollTop = itemsContainer.scrollTop; // Top of the visible area\n\n if (itemOffsetRelativeToContainer < scrollTop) {\n // Item is off the top of the visible area\n scrollTop = itemOffsetRelativeToContainer;\n } else if (itemOffsetRelativeToContainer + focusedItem.offsetHeight > scrollTop + itemsContainer.offsetHeight) {\n // Item is off the bottom of the visible area\n scrollTop = itemOffsetRelativeToContainer + focusedItem.offsetHeight - itemsContainer.offsetHeight;\n }\n\n if (scrollTop !== itemsContainer.scrollTop) {\n itemsContainer.scrollTop = scrollTop;\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props6 = this.props;\n var id = _props6.id;\n var multiSection = _props6.multiSection;\n var focusedSectionIndex = _props6.focusedSectionIndex;\n var focusedItemIndex = _props6.focusedItemIndex;\n\n var theme = (0, _reactThemeable2.default)(this.props.theme);\n var renderedItems = multiSection ? this.renderSections(theme) : this.renderItems(theme);\n var isOpen = renderedItems !== null;\n var ariaActivedescendant = this.getItemId(focusedSectionIndex, focusedItemIndex);\n var inputProps = _extends({\n type: 'text',\n value: '',\n autoComplete: 'off',\n role: 'combobox',\n ref: 'input',\n 'aria-autocomplete': 'list',\n 'aria-owns': this.getItemsContainerId(),\n 'aria-expanded': isOpen,\n 'aria-activedescendant': ariaActivedescendant\n }, theme('react-autowhatever-' + id + '-input', 'input'), this.props.inputProps, {\n onKeyDown: this.props.inputProps.onKeyDown && this.onKeyDown\n });\n\n return _react2.default.createElement(\n 'div',\n theme('react-autowhatever-' + id + '-container', 'container', isOpen && 'containerOpen'),\n _react2.default.createElement('input', inputProps),\n renderedItems\n );\n }\n }]);\n\n return Autowhatever;\n}(_react.Component);\n\nAutowhatever.propTypes = {\n id: _react.PropTypes.string, // Used in aria-* attributes. If multiple Autowhatever's are rendered on a page, they must have unique ids.\n multiSection: _react.PropTypes.bool, // Indicates whether a multi section layout should be rendered.\n items: _react.PropTypes.array.isRequired, // Array of items or sections to render.\n renderItem: _react.PropTypes.func, // This function renders a single item.\n shouldRenderSection: _react.PropTypes.func, // This function gets a section and returns whether it should be rendered, or not.\n renderSectionTitle: _react.PropTypes.func, // This function gets a section and renders its title.\n getSectionItems: _react.PropTypes.func, // This function gets a section and returns its items, which will be passed into `renderItem` for rendering.\n inputProps: _react.PropTypes.object, // Arbitrary input props\n itemProps: _react.PropTypes.oneOfType([// Arbitrary item props\n _react.PropTypes.object, _react.PropTypes.func]),\n focusedSectionIndex: _react.PropTypes.number, // Section index of the focused item\n focusedItemIndex: _react.PropTypes.number, // Focused item index (within a section)\n theme: _react.PropTypes.object };\nAutowhatever.defaultProps = {\n id: '1',\n multiSection: false,\n shouldRenderSection: function shouldRenderSection() {\n return true;\n },\n renderItem: function renderItem() {\n throw new Error('`renderItem` must be provided');\n },\n renderSectionTitle: function renderSectionTitle() {\n throw new Error('`renderSectionTitle` must be provided');\n },\n getSectionItems: function getSectionItems() {\n throw new Error('`getSectionItems` must be provided');\n },\n inputProps: {},\n itemProps: {},\n focusedSectionIndex: null,\n focusedItemIndex: null,\n theme: {\n container: 'react-autowhatever__container',\n containerOpen: 'react-autowhatever__container--open',\n input: 'react-autowhatever__input',\n itemsContainer: 'react-autowhatever__items-container',\n item: 'react-autowhatever__item',\n itemFocused: 'react-autowhatever__item--focused',\n sectionContainer: 'react-autowhatever__section-container',\n sectionTitle: 'react-autowhatever__section-title',\n sectionItemsContainer: 'react-autowhatever__section-items-container'\n }\n};\nexports.default = Autowhatever;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-autowhatever/dist/Autowhatever.js\n ** module id = 394\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-autowhatever/dist/Autowhatever.js?")},function(module,exports){eval('"use strict";\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();\n\nmodule.exports = function (_ref) {\n var data = _ref.data;\n var multiSection = _ref.multiSection;\n\n function nextNonEmptySectionIndex(sectionIndex) {\n if (sectionIndex === null) {\n sectionIndex = 0;\n } else {\n sectionIndex++;\n }\n\n while (sectionIndex < data.length && data[sectionIndex] === 0) {\n sectionIndex++;\n }\n\n return sectionIndex === data.length ? null : sectionIndex;\n }\n\n function prevNonEmptySectionIndex(sectionIndex) {\n if (sectionIndex === null) {\n sectionIndex = data.length - 1;\n } else {\n sectionIndex--;\n }\n\n while (sectionIndex >= 0 && data[sectionIndex] === 0) {\n sectionIndex--;\n }\n\n return sectionIndex === -1 ? null : sectionIndex;\n }\n\n function next(position) {\n var _position = _slicedToArray(position, 2);\n\n var sectionIndex = _position[0];\n var itemIndex = _position[1];\n\n\n if (multiSection) {\n if (itemIndex === null || itemIndex === data[sectionIndex] - 1) {\n sectionIndex = nextNonEmptySectionIndex(sectionIndex);\n\n if (sectionIndex === null) {\n return [null, null];\n }\n\n return [sectionIndex, 0];\n }\n\n return [sectionIndex, itemIndex + 1];\n }\n\n if (data === 0 || itemIndex === data - 1) {\n return [null, null];\n }\n\n if (itemIndex === null) {\n return [null, 0];\n }\n\n return [null, itemIndex + 1];\n }\n\n function prev(position) {\n var _position2 = _slicedToArray(position, 2);\n\n var sectionIndex = _position2[0];\n var itemIndex = _position2[1];\n\n\n if (multiSection) {\n if (itemIndex === null || itemIndex === 0) {\n sectionIndex = prevNonEmptySectionIndex(sectionIndex);\n\n if (sectionIndex === null) {\n return [null, null];\n }\n\n return [sectionIndex, data[sectionIndex] - 1];\n }\n\n return [sectionIndex, itemIndex - 1];\n }\n\n if (data === 0 || itemIndex === 0) {\n return [null, null];\n }\n\n if (itemIndex === null) {\n return [null, data - 1];\n }\n\n return [null, itemIndex - 1];\n }\n\n function isLast(position) {\n return next(position)[1] === null;\n }\n\n return {\n next: next,\n prev: prev,\n isLast: isLast\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/section-iterator/dist/index.js\n ** module id = 395\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/section-iterator/dist/index.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } }\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nvar truthy = function truthy(x) {\n return x;\n};\n\nexports['default'] = function (theme) {\n return function (key) {\n for (var _len = arguments.length, names = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n names[_key - 1] = arguments[_key];\n }\n\n var styles = names.map(function (name) {\n return theme[name];\n }).filter(truthy);\n\n return typeof styles[0] === 'string' ? { key: key, className: styles.join(' ') } : { key: key, style: _objectAssign2['default'].apply(undefined, [{}].concat(_toConsumableArray(styles))) };\n };\n};\n\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-themeable/dist/index.js\n ** module id = 396\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-themeable/dist/index.js?")},function(module,exports){eval("'use strict';\n/* eslint-disable no-unused-vars */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n\n return Object(val);\n}\n\nfunction shouldUseNative() {\n try {\n if (!Object.assign) {\n return false;\n }\n\n // Detect buggy property enumeration order in older V8 versions.\n\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\n var test1 = new String('abc'); // eslint-disable-line\n test1[5] = 'de';\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\n return false;\n }\n\n // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n var test2 = {};\n for (var i = 0; i < 10; i++) {\n test2['_' + String.fromCharCode(i)] = i;\n }\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n return test2[n];\n });\n if (order2.join('') !== '0123456789') {\n return false;\n }\n\n // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n var test3 = {};\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n test3[letter] = letter;\n });\n if (Object.keys(Object.assign({}, test3)).join('') !==\n 'abcdefghijklmnopqrst') {\n return false;\n }\n\n return true;\n } catch (e) {\n // We don't expect any of the above to throw, but better to be safe.\n return false;\n }\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n var from;\n var to = toObject(target);\n var symbols;\n\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n\n if (Object.getOwnPropertySymbols) {\n symbols = Object.getOwnPropertySymbols(from);\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n\n return to;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/object-assign/index.js\n ** module id = 397\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/object-assign/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _match = __webpack_require__(399);\n\nvar _match2 = _interopRequireDefault(_match);\n\nvar _parse = __webpack_require__(402);\n\nvar _parse2 = _interopRequireDefault(_parse);\n\nvar _parseHTML = __webpack_require__(403);\n\nvar _parseHTML2 = _interopRequireDefault(_parseHTML);\n\nexports['default'] = {\n match: _match2['default'],\n parse: _parse2['default'],\n parseHTML: _parseHTML2['default']\n};\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/autosuggest-highlight/dist/autosuggest-highlight.js\n ** module id = 398\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/autosuggest-highlight/dist/autosuggest-highlight.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _lodashRepeat = __webpack_require__(400);\n\nvar _lodashRepeat2 = _interopRequireDefault(_lodashRepeat);\n\n// https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions#Using_Special_Characters\nfunction escapeRegexCharacters(str) {\n return str.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nexports['default'] = function (text, query) {\n var queryWords = query.split(/\\s+/).filter(function (queryWord) {\n return queryWord.length > 0;\n });\n\n return queryWords.reduce(function (result, queryWord) {\n var regex = undefined;\n\n if (queryWord === '&') {\n regex = /&/i;\n } else if (queryWord[0] === '(') {\n regex = new RegExp(escapeRegexCharacters(queryWord), 'i');\n } else {\n regex = new RegExp('\\\\b' + escapeRegexCharacters(queryWord), 'i');\n }\n\n var index = text.search(regex);\n\n if (index > -1) {\n result.push([index, index + queryWord.length]);\n\n // Replace what we just found with spaces so we don't find it again\n text = text.slice(0, index) + (0, _lodashRepeat2['default'])(' ', queryWord.length) + text.slice(index + queryWord.length);\n }\n\n return result;\n }, []).filter(function (match) {\n return match !== null;\n }).sort(function (match1, match2) {\n return match1[0] - match2[0];\n });\n};\n\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/autosuggest-highlight/dist/match.js\n ** module id = 399\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/autosuggest-highlight/dist/match.js?")},function(module,exports,__webpack_require__){eval("/**\n * lodash 3.2.0 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\nvar root = __webpack_require__(401);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeFloor = Math.floor;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = Symbol ? symbolProto.toString : undefined;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8 which returns 'object' for typed array constructors, and\n // PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3');\n * // => 3\n */\nfunction toInteger(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n var remainder = value % 1;\n return value === value ? (remainder ? value - remainder : value) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3);\n * // => 3\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3');\n * // => 3\n */\nfunction toNumber(value) {\n if (isObject(value)) {\n var other = isFunction(value.valueOf) ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\n/**\n * Converts `value` to a string if it's not one. An empty string is returned\n * for `null` and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (value == null) {\n return '';\n }\n if (isSymbol(value)) {\n return Symbol ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=0] The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\nfunction repeat(string, n) {\n string = toString(string);\n n = toInteger(n);\n\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n string += string;\n } while (n);\n\n return result;\n}\n\nmodule.exports = repeat;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash.repeat/index.js\n ** module id = 400\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/lodash.repeat/index.js?"); },function(module,exports,__webpack_require__){eval("/* WEBPACK VAR INJECTION */(function(module, global) {/**\n * lodash 3.0.1 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license <https://lodash.com/license>\n */\n\n/** Used to determine if values are of the language type `Object`. */\nvar objectTypes = {\n 'function': true,\n 'object': true\n};\n\n/** Detect free variable `exports`. */\nvar freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)\n ? exports\n : undefined;\n\n/** Detect free variable `module`. */\nvar freeModule = (objectTypes[typeof module] && module && !module.nodeType)\n ? module\n : undefined;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);\n\n/** Detect free variable `self`. */\nvar freeSelf = checkGlobal(objectTypes[typeof self] && self);\n\n/** Detect free variable `window`. */\nvar freeWindow = checkGlobal(objectTypes[typeof window] && window);\n\n/** Detect `this` as the global object. */\nvar thisGlobal = checkGlobal(objectTypes[typeof this] && this);\n\n/**\n * Used as a reference to the global object.\n *\n * The `this` value is used if it's the global object to avoid Greasemonkey's\n * restricted `window` object, otherwise the `window` object is used.\n */\nvar root = freeGlobal ||\n ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||\n freeSelf || thisGlobal || Function('return this')();\n\n/**\n * Checks if `value` is a global object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n */\nfunction checkGlobal(value) {\n return (value && value.Object === Object) ? value : null;\n}\n\nmodule.exports = root;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(234)(module), (function() { return this; }())))\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash._root/index.js\n ** module id = 401\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/lodash._root/index.js?")},function(module,exports){eval('"use strict";\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\n\nvar _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; })();\n\nexports["default"] = function (text, matches) {\n var rules = [];\n\n if (matches.length === 0) {\n rules.push({\n highlight: false,\n text: text\n });\n } else {\n if (matches[0][0] > 0) {\n rules.push({\n highlight: false,\n text: text.slice(0, matches[0][0])\n });\n }\n }\n\n matches.forEach(function (_ref, i) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var startIndex = _ref2[0];\n var endIndex = _ref2[1];\n\n rules.push({\n highlight: true,\n text: text.slice(startIndex, endIndex)\n });\n\n if (i === matches.length - 1) {\n if (endIndex < text.length) {\n rules.push({\n highlight: false,\n text: text.slice(endIndex, text.length)\n });\n }\n } else if (endIndex < matches[i + 1][0]) {\n rules.push({\n highlight: false,\n text: text.slice(endIndex, matches[i + 1][0])\n });\n }\n });\n\n return rules;\n};\n\nmodule.exports = exports["default"];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/autosuggest-highlight/dist/parse.js\n ** module id = 402\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/autosuggest-highlight/dist/parse.js?')},function(module,exports){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nexports['default'] = function (text, tag) {\n var regex = RegExp('<' + tag + '>(.*?)</' + tag + '>');\n\n return text.split(regex).map(function (text, index) {\n return {\n text: text,\n highlight: index % 2 === 1\n };\n }).filter(function (obj) {\n return obj.text !== '';\n });\n};\n\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/autosuggest-highlight/dist/parseHTML.js\n ** module id = 403\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/autosuggest-highlight/dist/parseHTML.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Tag = __webpack_require__(405);\n\nvar _Tag2 = _interopRequireDefault(_Tag);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint no-unused-vars: 0 */\n\n\nvar Tag = function (_React$Component) {\n _inherits(Tag, _React$Component);\n\n function Tag(props) {\n _classCallCheck(this, Tag);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Tag).call(this, props));\n }\n\n _createClass(Tag, [{\n key: 'handleRemove',\n value: function () {\n function handleRemove(item) {\n this.props.onRemove(item);\n }\n\n return handleRemove;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _this2 = this;\n\n var searchTermStyles = {\n display: 'none !important'\n };\n\n var _props = this.props;\n var tag = _props.tag;\n var item = _props.item;\n var key = _props.key;\n var className = _props.className;\n var classNameRemove = _props.classNameRemove;\n\n\n return _react2['default'].createElement(\n 'span',\n { key: key, className: className },\n _react2['default'].createElement(\n 'span',\n { style: searchTermStyles, className: 'search-term' },\n tag.search\n ),\n tag.name,\n _react2['default'].createElement('a', {\n className: classNameRemove,\n onClick: function () {\n function onClick(e) {\n return _this2.handleRemove(item);\n }\n\n return onClick;\n }() })\n );\n }\n\n return render;\n }()\n }]);\n\n return Tag;\n}(_react2['default'].Component);\n\nTag.propTypes = {\n key: _react2['default'].PropTypes.number,\n item: _react2['default'].PropTypes.number,\n tag: _react2['default'].PropTypes.string,\n onRemove: _react2['default'].PropTypes.func,\n className: _react2['default'].PropTypes.string,\n classNameRemove: _react2['default'].PropTypes.string\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Tag, _Tag2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/tag/Tag.jsx\n ** module id = 404\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/tag/Tag.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(406);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Tag.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Tag.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/tag/Tag.css\n ** module id = 405\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/tag/Tag.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".react-tagsinput{overflow:hidden;width:360px}.react-tagsinput-tag{background-color:#666;color:#fff;display:inline-block;font-size:15px;font-weight:400;margin-bottom:5px;margin-right:5px;padding:10px!important}.react-tagsinput-remove{cursor:pointer;font-weight:700}.react-tagsinput-tag a,.react-tagsinput-tag a:link{text-decoration:none;color:#fff}.react-tagsinput-tag a:hover{cursor:pointer}.react-tagsinput-tag a:before{content:\\" \\\\D7\\"}", ""]);\n\n// exports\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/tag/Tag.css\n ** module id = 406\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/tag/Tag.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(408);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _ButtonStyles = __webpack_require__(409);\n\nvar _ButtonStyles2 = _interopRequireDefault(_ButtonStyles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Button = function (_React$Component) {\n _inherits(Button, _React$Component);\n\n function Button() {\n var _Object$getPrototypeO;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Button);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(Button)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.handleMouseUp = function (event) {\n _this.refs.button.blur();\n if (_this.props.onMouseUp) _this.props.onMouseUp(event);\n }, _this.handleMouseLeave = function (event) {\n _this.refs.button.blur();\n if (_this.props.onMouseLeave) _this.props.onMouseLeave(event);\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Button, [{\n key: 'render',\n value: function () {\n function render() {\n var _ClassNames;\n\n var _props = this.props;\n var accent = _props.accent;\n var children = _props.children;\n var className = _props.className;\n var flat = _props.flat;\n var floating = _props.floating;\n var href = _props.href;\n var icon = _props.icon;\n var inverse = _props.inverse;\n var label = _props.label;\n var mini = _props.mini;\n var neutral = _props.neutral;\n var primary = _props.primary;\n var raised = _props.raised;\n\n var others = _objectWithoutProperties(_props, ['accent', 'children', 'className', 'flat', 'floating', 'href', 'icon', 'inverse', 'label', 'mini', 'neutral', 'primary', 'raised']);\n\n var element = href ? 'a' : 'button';\n var level = primary ? 'primary' : accent ? 'accent' : 'neutral';\n var shape = flat ? 'flat' : raised ? 'raised' : floating ? 'floating' : 'flat';\n\n var classes = (0, _classnames2['default'])([_ButtonStyles2['default'][shape]], (_ClassNames = {}, _defineProperty(_ClassNames, _ButtonStyles2['default'][level], neutral), _defineProperty(_ClassNames, _ButtonStyles2['default'].mini, mini), _defineProperty(_ClassNames, _ButtonStyles2['default'].inverse, inverse), _ClassNames), className);\n\n var props = _extends({}, others, {\n href: href,\n ref: 'button',\n className: classes,\n disabled: this.props.disabled,\n onMouseUp: this.handleMouseUp,\n onMouseLeave: this.handleMouseLeave,\n 'data-gf': 'button'\n });\n\n return _react2['default'].createElement(element, props, icon ? _react2['default'].createElement(\n 'span',\n { className: 'material-icons' },\n icon\n ) : null, label, children);\n }\n\n return render;\n }()\n }]);\n\n return Button;\n}(_react2['default'].Component);\n\nButton.propTypes = {\n accent: _react2['default'].PropTypes.bool,\n children: _react2['default'].PropTypes.node,\n className: _react2['default'].PropTypes.string,\n disabled: _react2['default'].PropTypes.bool,\n flat: _react2['default'].PropTypes.bool,\n floating: _react2['default'].PropTypes.bool,\n href: _react2['default'].PropTypes.string,\n icon: _react2['default'].PropTypes.any,\n inverse: _react2['default'].PropTypes.bool,\n label: _react2['default'].PropTypes.string,\n mini: _react2['default'].PropTypes.bool,\n neutral: _react2['default'].PropTypes.bool,\n onMouseLeave: _react2['default'].PropTypes.func,\n onMouseUp: _react2['default'].PropTypes.func,\n primary: _react2['default'].PropTypes.bool,\n raised: _react2['default'].PropTypes.bool,\n type: _react2['default'].PropTypes.string\n};\nButton.defaultProps = {\n accent: false,\n className: '',\n flat: false,\n floating: false,\n mini: false,\n neutral: true,\n primary: false,\n raised: false\n};\nexports['default'] = Button;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/Button.jsx\n ** module id = 407\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Button.jsx?")},function(module,exports,__webpack_require__){eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n\n function classNames () {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n classes.push(classNames.apply(null, arg));\n } else if (argType === 'object') {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = classNames;\n } else if (true) {\n // register as 'classnames', consistent with npm package name\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n return classNames;\n }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else {\n window.classNames = classNames;\n }\n}());\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 408\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/classnames/index.js?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(410);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./Button.styles.css\", function() {\n var newContent = require(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./Button.styles.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/Button.styles.css\n ** module id = 409\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Button.styles.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._1SI30w4xtVL6WNdtyoAPJT,._2qSCBgnEoUag32Hub_fxnG,._3oTgeQt8x_0QWKsYHVKuen,.znBDxczTaFtBmQrxfXcIi{font-family:Roboto,Helvetica,Arial,sans-serif;font-size:1.4rem;font-weight:500;line-height:1;text-transform:uppercase;letter-spacing:0;position:relative;display:inline-block;height:3.6rem;flex-direction:row;align-content:center;align-items:center;justify-content:center;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;border:0;outline:none;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1)}._1SI30w4xtVL6WNdtyoAPJT::-moz-focus-inner,._2qSCBgnEoUag32Hub_fxnG::-moz-focus-inner,._3oTgeQt8x_0QWKsYHVKuen::-moz-focus-inner,.znBDxczTaFtBmQrxfXcIi::-moz-focus-inner{border:0}._1SI30w4xtVL6WNdtyoAPJT>span:not([data-gf=tooltip]),._2qSCBgnEoUag32Hub_fxnG>span:not([data-gf=tooltip]),._3oTgeQt8x_0QWKsYHVKuen>span:not([data-gf=tooltip]),.znBDxczTaFtBmQrxfXcIi>span:not([data-gf=tooltip]){display:inline-block;line-height:3.6rem;vertical-align:middle}._1SI30w4xtVL6WNdtyoAPJT>svg,._2qSCBgnEoUag32Hub_fxnG>svg,._3oTgeQt8x_0QWKsYHVKuen>svg,.znBDxczTaFtBmQrxfXcIi>svg{display:inline-block;width:1em;height:1em;font-size:120%;vertical-align:middle;fill:currentColor}._1SI30w4xtVL6WNdtyoAPJT>*,._2qSCBgnEoUag32Hub_fxnG>*,._3oTgeQt8x_0QWKsYHVKuen>*,.znBDxczTaFtBmQrxfXcIi>*{pointer-events:none}._1SI30w4xtVL6WNdtyoAPJT [data-gf=ripple],._2qSCBgnEoUag32Hub_fxnG [data-gf=ripple],._3oTgeQt8x_0QWKsYHVKuen [data-gf=ripple],.znBDxczTaFtBmQrxfXcIi [data-gf=ripple]{overflow:hidden}[disabled]._1SI30w4xtVL6WNdtyoAPJT,[disabled]._2qSCBgnEoUag32Hub_fxnG,[disabled]._3oTgeQt8x_0QWKsYHVKuen,[disabled].znBDxczTaFtBmQrxfXcIi{color:rgba(0,0,0,.26);pointer-events:none;cursor:auto}._1SI30w4xtVL6WNdtyoAPJT,.znBDxczTaFtBmQrxfXcIi{min-width:9rem;padding:0 1.2rem;border-radius:.2rem}._1SI30w4xtVL6WNdtyoAPJT ._2X2UERBlnW8M6QA6hPrMIe,.znBDxczTaFtBmQrxfXcIi ._2X2UERBlnW8M6QA6hPrMIe{margin-right:.6rem;font-size:120%;vertical-align:middle}._1SI30w4xtVL6WNdtyoAPJT>svg,.znBDxczTaFtBmQrxfXcIi>svg{margin-right:.5rem}[disabled]._3oTgeQt8x_0QWKsYHVKuen,[disabled].znBDxczTaFtBmQrxfXcIi{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);background-color:rgba(0,0,0,.12)}._3oTgeQt8x_0QWKsYHVKuen:active,.znBDxczTaFtBmQrxfXcIi:active{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2)}._3oTgeQt8x_0QWKsYHVKuen:focus:not(:active),.znBDxczTaFtBmQrxfXcIi:focus:not(:active){box-shadow:0 0 8px rgba(0,0,0,.18),0 8px 16px rgba(0,0,0,.36)}.znBDxczTaFtBmQrxfXcIi{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}._1SI30w4xtVL6WNdtyoAPJT{background:transparent}._3oTgeQt8x_0QWKsYHVKuen{width:5.6rem;height:5.6rem;font-size:2.4rem;border-radius:50%;box-shadow:0 1px 1.5px 0 rgba(0,0,0,.12),0 1px 1px 0 rgba(0,0,0,.24)}._3oTgeQt8x_0QWKsYHVKuen ._2X2UERBlnW8M6QA6hPrMIe{line-height:5.6rem}._3oTgeQt8x_0QWKsYHVKuen [data-gf=ripple]{border-radius:50%}._3oTgeQt8x_0QWKsYHVKuen._1xg2EOeztJk82xGdcXFuo1{width:4rem;height:4rem;font-size:1.77778rem}._3oTgeQt8x_0QWKsYHVKuen._1xg2EOeztJk82xGdcXFuo1 ._2X2UERBlnW8M6QA6hPrMIe{line-height:4rem}._2qSCBgnEoUag32Hub_fxnG{width:3.6rem;background:transparent;border-radius:50%}._2qSCBgnEoUag32Hub_fxnG>._2X2UERBlnW8M6QA6hPrMIe,._2qSCBgnEoUag32Hub_fxnG svg{font-size:2rem;line-height:3.6rem;vertical-align:middle}._2qSCBgnEoUag32Hub_fxnG [data-gf=ripple]{border-radius:50%}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._3oTgeQt8x_0QWKsYHVKuen,._2gzn3Y_wIITsV1huh00Txk:not([disabled]).znBDxczTaFtBmQrxfXcIi{color:#212121;background-color:#fff}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1SI30w4xtVL6WNdtyoAPJT,._2gzn3Y_wIITsV1huh00Txk:not([disabled])._2qSCBgnEoUag32Hub_fxnG{color:#212121}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:focus:not(:active),._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:hover,._2gzn3Y_wIITsV1huh00Txk:not([disabled])._2qSCBgnEoUag32Hub_fxnG:focus:not(:active){background:rgba(33,33,33,.2)}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._3oTgeQt8x_0QWKsYHVKuen,._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP.znBDxczTaFtBmQrxfXcIi{color:#fff;background-color:#212121}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._1SI30w4xtVL6WNdtyoAPJT,._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._2qSCBgnEoUag32Hub_fxnG{color:#fff}._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._1SI30w4xtVL6WNdtyoAPJT:focus:not(:active),._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._1SI30w4xtVL6WNdtyoAPJT:hover,._2gzn3Y_wIITsV1huh00Txk:not([disabled])._1vrOkEuyifuBvpm3c9upMP._2qSCBgnEoUag32Hub_fxnG:focus:not(:active){background:rgba(33,33,33,.2)}._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._3oTgeQt8x_0QWKsYHVKuen,._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled]).znBDxczTaFtBmQrxfXcIi{color:#fff;background:#3f51b5}._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._1SI30w4xtVL6WNdtyoAPJT,._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._2qSCBgnEoUag32Hub_fxnG{color:#3f51b5}._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:focus:not(:active),._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:hover,._3zR8nFpOOtLZC1HLYu-Gbt:not([disabled])._2qSCBgnEoUag32Hub_fxnG:focus:not(:active){background:rgba(63,81,181,.2)}._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._3oTgeQt8x_0QWKsYHVKuen,._3zIb4Jtr14NlJ2UhG3jD79:not([disabled]).znBDxczTaFtBmQrxfXcIi{color:#fff;background:#ff4081}._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._1SI30w4xtVL6WNdtyoAPJT,._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._2qSCBgnEoUag32Hub_fxnG{color:#ff4081}._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:focus:not(:active),._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._1SI30w4xtVL6WNdtyoAPJT:hover,._3zIb4Jtr14NlJ2UhG3jD79:not([disabled])._2qSCBgnEoUag32Hub_fxnG:focus:not(:active){background:rgba(255,64,129,.2)}", ""]);\n\n// exports\nexports.locals = {\n "raised": "znBDxczTaFtBmQrxfXcIi",\n "flat": "_1SI30w4xtVL6WNdtyoAPJT",\n "floating": "_3oTgeQt8x_0QWKsYHVKuen",\n "toggle": "_2qSCBgnEoUag32Hub_fxnG",\n "icon": "_2X2UERBlnW8M6QA6hPrMIe",\n "mini": "_1xg2EOeztJk82xGdcXFuo1",\n "neutral": "_2gzn3Y_wIITsV1huh00Txk",\n "inverse": "_1vrOkEuyifuBvpm3c9upMP",\n "primary": "_3zR8nFpOOtLZC1HLYu-Gbt",\n "accent": "_3zIb4Jtr14NlJ2UhG3jD79"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/ui/Button.styles.css\n ** module id = 410\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Button.styles.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(412);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Suggest.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Suggest.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/suggest/Suggest.css\n ** module id = 411\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/Suggest.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".react-autosuggest__container{position:relative}.react-autosuggest__input{font-size:1.3em;margin-bottom:20px;height:30px;border:1px solid #ccc;-webkit-appearance:initial}.react-autosuggest__input:focus{outline:none}.react-autosuggest__container--open .react-autosuggest__input{border-bottom-left-radius:0;border-bottom-right-radius:0}.react-autosuggest__suggestions-container{position:absolute;top:60px;width:357px;margin:0;padding:0;list-style-type:none;border:1px solid #ccc;border-top:0;background-color:#fff!important;font-weight:300;border-bottom-left-radius:4px;border-bottom-right-radius:4px;z-index:2001;font-size:1em}.react-autosuggest__suggestion{cursor:pointer;padding:10px 20px;color:#777}.highlight{color:#000;font-weight:700}.react-autosuggest__suggestion--focused{background-color:#ddd}.react-autosuggest__suggestion--focused .highlight{color:#000}.react-autosuggest__section-title{padding:10px 0 0 10px;border-top:1px dashed #ccc}.react-autosuggest__section-title span{display:block}.react-autosuggest__section-container:first-child .react-autosuggest__section-title{border-top:0;font-size:1em}.react-autosuggest__section-suggestions-container{margin:0;padding:0;list-style-type:none}.react-autosuggest__section-suggestions-container span{display:inline!important;padding:0!important;font-size:1em}._132a3elgY_LgBYYRvPsPZm{padding-top:20px;margin-bottom:20px}._132a3elgY_LgBYYRvPsPZm button{padding:.5em;font-size:1em;width:359px;height:50px;margin-left:0}._132a3elgY_LgBYYRvPsPZm button span{line-height:1!important}.react-tagsinput-input{background:transparent;border:0;color:#777;box-sizing:inherit!important;font-size:1.3em;outline:none;padding:5px;width:347px;margin-top:25px;margin-bottom:25px;height:30px}.react-tagsinput-input:focus,.react-tagsinput-input:hover{border-color:#0ca597!important;border-width:0 0 1px}", ""]);\n\n// exports\nexports.locals = {\n "tag-holder": "_132a3elgY_LgBYYRvPsPZm"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/suggest/Suggest.css\n ** module id = 412\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/suggest/Suggest.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _events = __webpack_require__(417);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _terms = [];\nvar _userInfo = [];\n\nfunction setPeopleSearchTaxonomy(terms) {\n _terms = terms;\n}\n\nfunction setPeopleUserInfo(userInfo) {\n _userInfo = userInfo;\n}\n\nvar TaxonomyStore = (0, _objectAssign2['default'])({}, _events.EventEmitter.prototype, {\n getCurrentTaxonomy: function () {\n function getCurrentTaxonomy() {\n return _terms;\n }\n\n return getCurrentTaxonomy;\n }(),\n getCurrentSuggestions: function () {\n function getCurrentSuggestions() {\n return _terms.concat(_userInfo);\n }\n\n return getCurrentSuggestions;\n }(),\n getCurrentUserInfo: function () {\n function getCurrentUserInfo() {\n return _userInfo;\n }\n\n return getCurrentUserInfo;\n }(),\n emitChange: function () {\n function emitChange() {\n this.emit(_default2['default'].CHANGE_EVENT);\n }\n\n return emitChange;\n }(),\n addChangeListener: function () {\n function addChangeListener(callback) {\n this.on(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return addChangeListener;\n }(),\n removeChangeListener: function () {\n function removeChangeListener(callback) {\n this.removeListener(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return removeChangeListener;\n }()\n});\n\n_AppDispatcher2['default'].register(function (action) {\n switch (action.actionType) {\n case _data2['default'].GOT_TAXONOMY:\n setPeopleSearchTaxonomy(action.results);\n TaxonomyStore.emitChange();\n break;\n case _data2['default'].GOT_BUSINESSINFO:\n setPeopleUserInfo(action.results);\n TaxonomyStore.emitChange();\n break;\n default:\n // no op\n }\n});\n\nmodule.exports = TaxonomyStore;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/stores/TaxonomyStore.js\n ** module id = 413\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/stores/TaxonomyStore.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _flux = __webpack_require__(415);\n\nmodule.exports = new _flux.Dispatcher();\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/dispatcher/AppDispatcher.js\n ** module id = 414\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/dispatcher/AppDispatcher.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nmodule.exports.Dispatcher = __webpack_require__(416);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/flux/index.js\n ** module id = 415\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/flux/index.js?")},function(module,exports,__webpack_require__){eval("/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Dispatcher\n * \n * @preventMunge\n */\n\n'use strict';\n\nexports.__esModule = true;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nvar invariant = __webpack_require__(12);\n\nvar _prefix = 'ID_';\n\n/**\n * Dispatcher is used to broadcast payloads to registered callbacks. This is\n * different from generic pub-sub systems in two ways:\n *\n * 1) Callbacks are not subscribed to particular events. Every payload is\n * dispatched to every registered callback.\n * 2) Callbacks can be deferred in whole or part until other callbacks have\n * been executed.\n *\n * For example, consider this hypothetical flight destination form, which\n * selects a default city when a country is selected:\n *\n * var flightDispatcher = new Dispatcher();\n *\n * // Keeps track of which country is selected\n * var CountryStore = {country: null};\n *\n * // Keeps track of which city is selected\n * var CityStore = {city: null};\n *\n * // Keeps track of the base flight price of the selected city\n * var FlightPriceStore = {price: null}\n *\n * When a user changes the selected city, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'city-update',\n * selectedCity: 'paris'\n * });\n *\n * This payload is digested by `CityStore`:\n *\n * flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'city-update') {\n * CityStore.city = payload.selectedCity;\n * }\n * });\n *\n * When the user selects a country, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'country-update',\n * selectedCountry: 'australia'\n * });\n *\n * This payload is digested by both stores:\n *\n * CountryStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * CountryStore.country = payload.selectedCountry;\n * }\n * });\n *\n * When the callback to update `CountryStore` is registered, we save a reference\n * to the returned token. Using this token with `waitFor()`, we can guarantee\n * that `CountryStore` is updated before the callback that updates `CityStore`\n * needs to query its data.\n *\n * CityStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * // `CountryStore.country` may not be updated.\n * flightDispatcher.waitFor([CountryStore.dispatchToken]);\n * // `CountryStore.country` is now guaranteed to be updated.\n *\n * // Select the default city for the new country\n * CityStore.city = getDefaultCityForCountry(CountryStore.country);\n * }\n * });\n *\n * The usage of `waitFor()` can be chained, for example:\n *\n * FlightPriceStore.dispatchToken =\n * flightDispatcher.register(function(payload) {\n * switch (payload.actionType) {\n * case 'country-update':\n * case 'city-update':\n * flightDispatcher.waitFor([CityStore.dispatchToken]);\n * FlightPriceStore.price =\n * getFlightPriceStore(CountryStore.country, CityStore.city);\n * break;\n * }\n * });\n *\n * The `country-update` payload will be guaranteed to invoke the stores'\n * registered callbacks in order: `CountryStore`, `CityStore`, then\n * `FlightPriceStore`.\n */\n\nvar Dispatcher = (function () {\n function Dispatcher() {\n _classCallCheck(this, Dispatcher);\n\n this._callbacks = {};\n this._isDispatching = false;\n this._isHandled = {};\n this._isPending = {};\n this._lastID = 1;\n }\n\n /**\n * Registers a callback to be invoked with every dispatched payload. Returns\n * a token that can be used with `waitFor()`.\n */\n\n Dispatcher.prototype.register = function register(callback) {\n var id = _prefix + this._lastID++;\n this._callbacks[id] = callback;\n return id;\n };\n\n /**\n * Removes a callback based on its token.\n */\n\n Dispatcher.prototype.unregister = function unregister(id) {\n !this._callbacks[id] ? false ? invariant(false, 'Dispatcher.unregister(...): `%s` does not map to a registered callback.', id) : invariant(false) : undefined;\n delete this._callbacks[id];\n };\n\n /**\n * Waits for the callbacks specified to be invoked before continuing execution\n * of the current callback. This method should only be used by a callback in\n * response to a dispatched payload.\n */\n\n Dispatcher.prototype.waitFor = function waitFor(ids) {\n !this._isDispatching ? false ? invariant(false, 'Dispatcher.waitFor(...): Must be invoked while dispatching.') : invariant(false) : undefined;\n for (var ii = 0; ii < ids.length; ii++) {\n var id = ids[ii];\n if (this._isPending[id]) {\n !this._isHandled[id] ? false ? invariant(false, 'Dispatcher.waitFor(...): Circular dependency detected while ' + 'waiting for `%s`.', id) : invariant(false) : undefined;\n continue;\n }\n !this._callbacks[id] ? false ? invariant(false, 'Dispatcher.waitFor(...): `%s` does not map to a registered callback.', id) : invariant(false) : undefined;\n this._invokeCallback(id);\n }\n };\n\n /**\n * Dispatches a payload to all registered callbacks.\n */\n\n Dispatcher.prototype.dispatch = function dispatch(payload) {\n !!this._isDispatching ? false ? invariant(false, 'Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.') : invariant(false) : undefined;\n this._startDispatching(payload);\n try {\n for (var id in this._callbacks) {\n if (this._isPending[id]) {\n continue;\n }\n this._invokeCallback(id);\n }\n } finally {\n this._stopDispatching();\n }\n };\n\n /**\n * Is this Dispatcher currently dispatching.\n */\n\n Dispatcher.prototype.isDispatching = function isDispatching() {\n return this._isDispatching;\n };\n\n /**\n * Call the callback stored with the given id. Also do some internal\n * bookkeeping.\n *\n * @internal\n */\n\n Dispatcher.prototype._invokeCallback = function _invokeCallback(id) {\n this._isPending[id] = true;\n this._callbacks[id](this._pendingPayload);\n this._isHandled[id] = true;\n };\n\n /**\n * Set up bookkeeping needed when dispatching.\n *\n * @internal\n */\n\n Dispatcher.prototype._startDispatching = function _startDispatching(payload) {\n for (var id in this._callbacks) {\n this._isPending[id] = false;\n this._isHandled[id] = false;\n }\n this._pendingPayload = payload;\n this._isDispatching = true;\n };\n\n /**\n * Clear bookkeeping used for dispatching.\n *\n * @internal\n */\n\n Dispatcher.prototype._stopDispatching = function _stopDispatching() {\n delete this._pendingPayload;\n this._isDispatching = false;\n };\n\n return Dispatcher;\n})();\n\nmodule.exports = Dispatcher;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/flux/lib/Dispatcher.js\n ** module id = 416\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/flux/lib/Dispatcher.js?")},function(module,exports){eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n }\n throw TypeError('Uncaught, unspecified \"error\" event.');\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/events/events.js\n ** module id = 417\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/events/events.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _keymirror = __webpack_require__(419);\n\nvar _keymirror2 = _interopRequireDefault(_keymirror);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nmodule.exports = (0, _keymirror2['default'])({\n PEOPLE_LOADED: null,\n PEOPLE_LOADED_APPEND: null,\n GOT_DATA: null,\n NO_RESULTS: null,\n GOT_LAYOUT: null,\n LAYOUT_CHANGED: null,\n GOT_SETTINGS: null,\n SETTINGS_CHANGED: null,\n GOT_FAVOURITES: null,\n FAVOURITES_CHANGED: null,\n GOT_TAXONOMY: null,\n GOT_BUSINESSINFO: null\n});\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/constants/data.js\n ** module id = 418\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/constants/data.js?")},function(module,exports){eval('/**\n * Copyright 2013-2014 Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\n\n"use strict";\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n * var COLORS = keyMirror({blue: null, red: null});\n * var myColor = COLORS.blue;\n * var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n * Input: {key1: val1, key2: val2}\n * Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function(obj) {\n var ret = {};\n var key;\n if (!(obj instanceof Object && !Array.isArray(obj))) {\n throw new Error(\'keyMirror(...): Argument must be an object.\');\n }\n for (key in obj) {\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n ret[key] = key;\n }\n return ret;\n};\n\nmodule.exports = keyMirror;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/keymirror/index.js\n ** module id = 419\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/keymirror/index.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _data3 = __webpack_require__(421);\n\nvar _data4 = _interopRequireDefault(_data3);\n\nvar _storage = __webpack_require__(429);\n\nvar _storage2 = _interopRequireDefault(_storage);\n\nvar _taxonomy = __webpack_require__(432);\n\nvar _taxonomy2 = _interopRequireDefault(_taxonomy);\n\nvar _userInformationList = __webpack_require__(433);\n\nvar _userInformationList2 = _interopRequireDefault(_userInformationList);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar PeopleSearchActions = {\n fetchData: function () {\n function fetchData(url, term, pageNum, append) {\n var appendResults = typeof append === 'undefined' ? false : append;\n // we will handle the dispatcher within the logic\n\n if (typeof window.fakeAjaxCalls === 'undefined') {\n _data4['default'].getPeopleResults(url, term, pageNum, appendResults).then(function (data) {});\n } else {\n // load mock data\n _data4['default'].getMockPeopleResults(term, pageNum, appendResults);\n }\n }\n\n return fetchData;\n }(),\n showNoResults: function () {\n function showNoResults() {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].NO_RESULTS,\n results: []\n });\n }\n\n return showNoResults;\n }(),\n fetchLayout: function () {\n function fetchLayout() {\n _storage2['default'].getCurrentLayout().then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].GOT_LAYOUT,\n results: data\n });\n });\n }\n\n return fetchLayout;\n }(),\n updateLayout: function () {\n function updateLayout(layout) {\n _storage2['default'].updateCurrentLayout(layout).then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].LAYOUT_CHANGED,\n results: data\n });\n });\n }\n\n return updateLayout;\n }(),\n fetchSettings: function () {\n function fetchSettings() {\n _storage2['default'].getSettings().then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].GOT_SETTINGS,\n results: data\n });\n });\n }\n\n return fetchSettings;\n }(),\n updateSettings: function () {\n function updateSettings(settings) {\n _storage2['default'].updateSettings(settings).then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].SETTINGS_CHANGED,\n results: data\n });\n });\n }\n\n return updateSettings;\n }(),\n getFavourites: function () {\n function getFavourites() {\n _storage2['default'].getFavourites().then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].GOT_FAVOURITES,\n results: data\n });\n });\n }\n\n return getFavourites;\n }(),\n updateFavourites: function () {\n function updateFavourites(favourites) {\n _storage2['default'].updateFavourites(favourites).then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].FAVOURITES_CHANGED,\n results: data\n });\n });\n }\n\n return updateFavourites;\n }(),\n getTaxonomy: function () {\n function getTaxonomy(termSets) {\n _taxonomy2['default'].getTermsByTermSets(termSets).then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].GOT_TAXONOMY,\n results: data\n });\n });\n }\n\n return getTaxonomy;\n }(),\n getBusinessInformation: function () {\n function getBusinessInformation(keys) {\n _userInformationList2['default'].getBusinessInformation(keys).then(function (data) {\n _AppDispatcher2['default'].dispatch({\n actionType: _data2['default'].GOT_BUSINESSINFO,\n results: data\n });\n });\n }\n\n return getBusinessInformation;\n }()\n};\n\nmodule.exports = PeopleSearchActions;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/actions/PeopleSearchActions.js\n ** module id = 420\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/actions/PeopleSearchActions.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _cacheFunk = __webpack_require__(422);\n\nvar _cacheFunk2 = _interopRequireDefault(_cacheFunk);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nvar _FavouriteStore = __webpack_require__(423);\n\nvar _FavouriteStore2 = _interopRequireDefault(_FavouriteStore);\n\nvar _Mock = __webpack_require__(424);\n\nvar _Mock2 = _interopRequireDefault(_Mock);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n__webpack_require__(425).polyfill();\n\nvar PEOPLE_STORAGE_KEY_PREFIX = 'PeopleSearch-Results-';\nvar MAX_CACHE_KEY_SIZE = 10;\n\nfunction buildCachePayload(payload, count, term, sets) {\n return {\n birthday: _utilities2['default'].getDateAsIsoStandard(0),\n payload: payload,\n sets: sets.length > 0 ? sets : [1],\n count: count,\n term: term\n };\n}\n\n// key value pairs make the world go round and simplify the returned data from SP Search REST query(avoiding array lookups)\nfunction washDataClean(data) {\n var people = [];\n var pairs = {};\n\n var favourites = _FavouriteStore2['default'].getCurrentFavourites();\n var banned = _default2['default'].IGNORED_VALUES;\n\n data.forEach(function (row) {\n pairs = {};\n\n row.Cells.forEach(function (item) {\n // build a new object and store the key and value as an associated pair\n if (banned.indexOf(item.Key) === -1) {\n pairs[item.Key] = item.Value;\n }\n });\n\n // check to see if this person is a favourite\n pairs.Favourite = favourites.some(function (item) {\n return item.name === pairs.PreferredName;\n });\n\n people.push({\n 'Cells': pairs\n });\n });\n\n // we need to check if any of these people are favourites and update accordingly\n return people;\n}\n\nfunction isPayloadStillValid(payloadDate) {\n var now = _utilities2['default'].getDateAsIsoStandard(0);\n\n // check if the payload was saved today\n return _utilities2['default'].getDaysBetweenDates(now, payloadDate) > -1;\n}\n\nfunction initAppDispatcher(items, append) {\n _AppDispatcher2['default'].dispatch({\n actionType: append ? _data2['default'].PEOPLE_LOADED_APPEND : _data2['default'].PEOPLE_LOADED,\n data: items\n });\n}\n\nfunction getResultSetIndexEnd(count, start) {\n return count - start < 10 ? count - start : 10;\n}\n\nfunction getResultSetIndexStart(pageNum, sets) {\n /*\r\n We know that the page being viewed is in the cache, but we need to make sure they have\r\n not skipped a page using the paging\r\n */\n return pageNum === 1 ? 0 : sets.indexOf(pageNum) * 10;\n}\n\nfunction getPagedQueryUrl(queryUrl, pageNum) {\n var startRow = 10 * (pageNum - 1 > 0 ? pageNum - 1 : 1);\n\n // starting row for the results to come back\n return queryUrl + '&startrow=' + startRow;\n}\n\nfunction updateResultsWithFavourites(results) {\n var favourites = _FavouriteStore2['default'].getCurrentFavourites();\n var favs = [];\n\n /* Find any favourites in the cached payload and then\r\n update the result set with the cached property\r\n once this is done, return the payload */\n favourites.forEach(function (favourite) {\n favs.push(favourite.name);\n });\n\n results.forEach(function (item, i) {\n if (favs.indexOf(item.Cells.PreferredName) > -1) {\n results[i].Cells.Favourite = true;\n }\n });\n\n return results;\n}\n\nfunction getResultPage(results, pageNum, sets, count) {\n var start = getResultSetIndexStart(pageNum, sets);\n var end = getResultSetIndexEnd(count, start);\n\n var cachedResults = results.slice(start, start + end);\n\n return updateResultsWithFavourites(cachedResults);\n}\n\nfunction cacheKeySizeExceedsLimit() {\n var keys = Object.keys(localStorage).filter(function (item) {\n return item.indexOf(PEOPLE_STORAGE_KEY_PREFIX) > -1;\n });\n\n return keys.length >= MAX_CACHE_KEY_SIZE;\n}\n\nmodule.exports = {\n getMockPeopleResults: function () {\n function getMockPeopleResults(term, pageNum, append) {\n return new Promise(function (resolve, reject) {\n var mockPayload = buildCachePayload(_Mock2['default'], _Mock2['default'].length, term, [1, 2]);\n mockPayload.pageNum = pageNum;\n\n var start = pageNum < 2 ? 0 : (pageNum - 1) * 10;\n var end = pageNum < 2 ? 10 : pageNum * 10;\n\n // only return the page we need\n mockPayload.payload = updateResultsWithFavourites(mockPayload.payload.slice(start, end));\n\n resolve(mockPayload);\n\n initAppDispatcher(mockPayload, append);\n });\n }\n\n return getMockPeopleResults;\n }(),\n getPeopleResults: function () {\n function getPeopleResults(queryUrl, term, pageNum, append) {\n return new Promise(function (resolve, reject) {\n var key = PEOPLE_STORAGE_KEY_PREFIX + _utilities2['default'].createStorageKey(term).toLowerCase();\n\n var operations = {\n fetch: true,\n insert: false\n };\n var sets = [];\n\n var cachedResults = _cacheFunk2['default'].fetch(key);\n var resolvedQueryUrl = pageNum > 0 ? getPagedQueryUrl(queryUrl, pageNum) : queryUrl;\n\n var resolvedPageNum = pageNum;\n\n if (typeof cachedResults !== 'undefined') {\n /*\r\n Check to see if we have a valid cache object(date check)\r\n Check to see if the cache object contains the current page\r\n */\n if (isPayloadStillValid(cachedResults.birthday)) {\n resolvedPageNum = pageNum === 0 ? 1 : pageNum;\n\n if (cachedResults.sets.indexOf(resolvedPageNum) > -1) {\n // everything looks good - load from cache with the paged results and resist calling the API\n cachedResults.payload = getResultPage(cachedResults.payload, resolvedPageNum, cachedResults.sets, cachedResults.count);\n cachedResults.pageNum = resolvedPageNum;\n\n resolve(cachedResults);\n\n operations.fetch = false;\n\n initAppDispatcher(cachedResults, append);\n\n return;\n } else {\n // we have a valid payload, but we need to insert a new page\n operations.insert = true;\n\n sets = cachedResults.sets;\n sets.push(resolvedPageNum);\n }\n } else {\n // delete the cache object as it is stale\n _cacheFunk2['default'].remove(key);\n }\n }\n\n if (operations.fetch) {\n (function () {\n var items = [];\n\n jQuery.ajax({\n url: resolvedQueryUrl,\n dataType: 'json',\n type: 'GET',\n headers: _utilities2['default'].getHeaders(),\n success: function () {\n function success(data) {\n if (data.PrimaryQueryResult.RelevantResults.RowCount > 0) {\n // clean the data coming back into a manageble object and store in the cache\n items = buildCachePayload(washDataClean(data.PrimaryQueryResult.RelevantResults.Table.Rows), data.PrimaryQueryResult.RelevantResults.TotalRows, term, sets);\n\n if (!operations.insert) {\n // we only allow ten result caches at a time.\n if (!cacheKeySizeExceedsLimit()) {\n _cacheFunk2['default'].store(key, items);\n }\n } else {\n /*\r\n Already a valid cache for this search but we don't have this page. We need to update with the page results\r\n - first of all get the start row(resolvedPageNum - 1 * 10) and then make it work with array indexes( -1 )\r\n */\n var position = (resolvedPageNum - 1) * 10 - 1;\n\n _cacheFunk2['default'].insert(key, items, position);\n\n items.pageNum = resolvedPageNum;\n }\n\n resolve(items);\n } else {\n // we got nothing kid\n items = {\n pageNum: 0,\n payload: [],\n sets: [1],\n count: 0,\n term: term\n };\n\n resolve(buildCachePayload(items, 0, term, sets));\n }\n\n initAppDispatcher(items, append);\n }\n\n return success;\n }(),\n fail: function () {\n function fail(xhr, status, err) {\n reject(this.props.url + ', ' + status + ', ' + err.toString());\n }\n\n return fail;\n }()\n });\n })();\n }\n });\n }\n\n return getPeopleResults;\n }()\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/data.js\n ** module id = 421\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/data.js?"); },function(module,exports){eval("/*!\n * cache-funk <https://github.com/beckettkev/cache-funk>\n *\n * Copyright (c) 2016, Kevin Beckett (@beckettkev).\n * Licensed under the MIT License.\n */\n'use strict';\n\n// Safari, in Private Browsing Mode, looks like it supports localStorage but all calls to setItem\n// throw QuotaExceededError. We're going to detect this and just silently drop any calls to setItem\n// to avoid the entire page breaking, without having to do a check at each usage of Storage.\nwindow.isStorageAvailable = false;\n\nif (typeof localStorage === 'object') {\n try {\n localStorage.setItem('localStorage', 1);\n localStorage.removeItem('localStorage');\n\n window.isStorageAvailable = true;\n } catch (error) {\n Storage.prototype._setItem = Storage.prototype.setItem;\n Storage.prototype.setItem = function setItem () {};\n\n console.log('Your web browser does not support storing settings locally. In Safari, the most common cause of this is using \"Private Browsing Mode\". Some settings may not save or some features may not work properly for you.');\n }\n}\n\nfunction insertIntoArrayAtPosition(src, target, position) {\n var beginning = src.splice(0, position);\n var end = src.splice(position);\n\n return beginning.concat(target).concat(end);\n}\n\nfunction dynamicallySetObjectAttributes(source, target, exclusions) {\n target = {\n payload: target\n };\n\n Object.keys(source).map(function(item) {\n if (exclusions.indexOf(item) === -1) {\n target[item] = source[item];\n }\n });\n\n // update the timestamp to now, we have just updated it...\n target.timestamp = Date.now();\n\n return target;\n}\n\nfunction fetchItem(key) {\n var cache = localStorage.getItem(key);\n var data = JSON.parse(cache);\n\n if (data && data.payload) {\n return data;\n }\n\n return undefined;\n}\n\nmodule.exports = {\n // check to see if we have local storage available\n exists: function exists() {\n return window.isStorageAvailable;\n },\n // get local storage item if it is still valid\n fetch: function fetch(key) {\n return fetchItem(key);\n },\n // good citizen removal service function for deleting local storage entries\n remove: function remove(key) {\n localStorage.removeItem(key);\n },\n // vanilla local storage cache entry with a new key\n store: function store(key, payload) {\n // var data = { timestamp: Date.now(), payload: payload };\n localStorage.setItem(key, JSON.stringify(payload));\n },\n //function for inserting into a pre-existing local storage item at a set position (to maintain the search results shape)\n insert: function insert(key, items, position, exclusions) {\n var data = fetchItem(key);\n\n if (typeof exclusions === 'undefined') {\n exclusions = [];\n }\n\n // if the length of the array is bigger than it's position - insert this page results to the correct position of the cache array\n // else add this data to the end of the cache array (remember that position is zero based)\n data = data.payload.length > (position + 1) ? insertIntoArrayAtPosition(data.payload, items.payload, position) : data.payload.concat(items.payload);\n \n // populate any other properties within the payload before adding the combined result back to the cache\n // var combined = { timestamp: Date.now(), payload: dynamicallySetObjectAttributes(items, data, ['birthday','payload'].concat(exclusions)) };\n var combined = dynamicallySetObjectAttributes(items, data, ['timestamp','payload'].concat(exclusions));\n\n localStorage.setItem(key, JSON.stringify(combined));\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/cache-funk/index.js\n ** module id = 422\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/cache-funk/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _events = __webpack_require__(417);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _favourites = _default2['default'].DEFAULT_FAVOURITES;\n\nfunction setPeopleSearchFavourites(favourites) {\n _favourites = favourites;\n}\n\nvar FavouriteStore = (0, _objectAssign2['default'])({}, _events.EventEmitter.prototype, {\n getCurrentFavourites: function () {\n function getCurrentFavourites() {\n return _favourites;\n }\n\n return getCurrentFavourites;\n }(),\n emitChange: function () {\n function emitChange() {\n this.emit(_default2['default'].CHANGE_EVENT);\n }\n\n return emitChange;\n }(),\n addChangeListener: function () {\n function addChangeListener(callback) {\n this.on(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return addChangeListener;\n }(),\n removeChangeListener: function () {\n function removeChangeListener(callback) {\n this.removeListener(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return removeChangeListener;\n }()\n});\n\n_AppDispatcher2['default'].register(function (action) {\n switch (action.actionType) {\n case _data2['default'].GOT_FAVOURITES:\n case _data2['default'].FAVOURITES_CHANGED:\n setPeopleSearchFavourites(action.results);\n FavouriteStore.emitChange();\n break;\n default:\n // no op\n }\n});\n\nmodule.exports = FavouriteStore;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/stores/FavouriteStore.js\n ** module id = 423\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/stores/FavouriteStore.js?")},function(module,exports){eval('"use strict";\n\n/*\r\n Brief: The follow mock data is for testing purposes (It is not real).\r\n*/\nmodule.exports = [{\n Cells: {\n BaseOfficeLocation: null,\n Department: "Advisory in Accounts",\n Favourite: false,\n JobTitle: "Associate",\n MobilePhone: "+1 115 823 9620",\n Office: null,\n Path: "https://mycompany.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Erenehan%40mycompany%2Ecom",\n PreferredName: "Alan Remains",\n Region: null,\n SipAddress: "Alan.Remains@mycompany.com",\n WorkEmail: "Alan.Remains@mycompany.com",\n WorkPhone: "+1-345-146-0178"\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Transport & Logistics",\n Favourite: false,\n JobTitle: "Senior Engineer",\n MobilePhone: "+11 123 408 165",\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Elord%40mycompany%2Ecom",\n PreferredName: "Alan Lord",\n Region: null,\n SipAddress: "Alan.Lord@mycompany.com",\n WorkEmail: "Alan.Lord@mycompany.com",\n WorkPhone: "+11 0 1234 8420"\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Transport & Logistics",\n Favourite: false,\n JobTitle: "Senior Engineer",\n MobilePhone: "+61 4 1234 1799",\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Ehether%40mycompany%2Ecom",\n PreferredName: "Alan Heather",\n Region: null,\n SipAddress: "Alan.Heather@mycompany.com",\n WorkEmail: "Alan.heather@mycompany.com",\n WorkPhone: "+61 2 3333 9876"\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Buildings Birmingham",\n Favourite: false,\n JobTitle: "Senior Engineer",\n MobilePhone: null,\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Eatkins%40mycompany%2Ecom",\n PreferredName: "Alan Atkins",\n Region: null,\n SipAddress: null,\n WorkEmail: null,\n WorkPhone: null\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Buildings London Rail",\n Favourite: false,\n JobTitle: "Consultant",\n MobilePhone: "+447891234561",\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Estarkles%40mycompany%2Ecom",\n PreferredName: "Alan Starkles",\n Region: null,\n SipAddress: null,\n WorkEmail: "Alan.Starkles@mycompany.com",\n WorkPhone: null\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Engineering Central",\n Favourite: false,\n JobTitle: "Senior Engineer",\n MobilePhone: null,\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Calex%2Elow%40mycompany%2Ecom",\n PreferredName: "Alex Low",\n Region: null,\n SipAddress: "Alex.Low@mycompany.com",\n WorkEmail: "Alex.Low@mycompany.com",\n WorkPhone: null\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Accounts Florida",\n Favourite: false,\n JobTitle: "Senior Consultant",\n MobilePhone: "+974 5555 3333",\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Epiper%40mycompany%2Ecom",\n PreferredName: "Alan Piper",\n Region: null,\n SipAddress: "Alan.Piper@mycompany.com",\n WorkEmail: "Alan.Piper@mycompany.com",\n WorkPhone: "+972 12307123"\n }\n}, {\n Cells: {\n BaseOfficeLocation: null,\n Department: "Business Services Wales",\n Favourite: false,\n JobTitle: "Assistant Director",\n MobilePhone: null,\n Office: null,\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Echain%40mycompany%2Ecom",\n PreferredName: "Alan Chain",\n Region: null,\n SipAddress: null,\n WorkEmail: null,\n WorkPhone: null\n }\n}, {\n Cells: {\n JobTitle: "Senior Engineer",\n Department: "Highways",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2EFeadie%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Feadie",\n WorkEmail: "Alan.Feadie@mycompany.com",\n SipAddress: "Alan.Feadie@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Manager",\n Department: "Information Technology",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Ekelly%40mycompany%2Ecom",\n WorkPhone: "+44 20 7345 1234",\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Kelly",\n WorkEmail: "Alan.Kelly@mycompany.com",\n SipAddress: "Alan.Kelly@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Engineer",\n Department: "Building Engineering Wales",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Eshepherds%40mycompany%2Ecom",\n WorkPhone: "+44 20 1234 5789 x12123",\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Shepherds",\n WorkEmail: "Alan.Shepherds@mycompany.com",\n SipAddress: "Alan.Shepherds@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Senior Engineer",\n Department: "Civil Engineering Ireland",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Edates%40mycompany%2Ecom",\n WorkPhone: "+44 897 111 4444",\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Dates",\n WorkEmail: "Alan.Dates@mycompany.com",\n SipAddress: "Alan.dates@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Document Controller",\n Department: "Building London Management",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Eedward%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Edward",\n WorkEmail: null,\n SipAddress: null,\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Principal",\n Department: "Transport Planning NSW",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Dr%2Esmith%40mycompany%2Ecom",\n WorkPhone: "+61 2 3320 1339",\n MobilePhone: "+61 321 111 125",\n BaseOfficeLocation: null,\n PreferredName: "Alan R Smith",\n WorkEmail: "Alan-R.Smith@mycompany.com",\n SipAddress: "Alan-R.Smith@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Associate",\n Department: "Energy Wales",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2ESmint%40mycompany%2Ecom",\n WorkPhone: "+61 8 1234 1111",\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Smint",\n WorkEmail: "Alan.Smint@mycompany.com.au",\n SipAddress: null,\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Consultant",\n Department: "Management South",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Cbrian%2EWynn%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Brian Wynn",\n WorkEmail: "brian.Wynn@mycompany.com",\n SipAddress: "brian.Wynn@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Associate Director",\n Department: "Buildings Wales",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Cbrian%2Edoles%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Brian Doles",\n WorkEmail: null,\n SipAddress: null,\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Graduate Engineer",\n Department: "Duty Buildings",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CbAlan%2Eaustin%40mycompany%2Ecom",\n WorkPhone: "+1-456-123-7777",\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Austin",\n WorkEmail: "Alan.Austin@mycompany.com",\n SipAddress: "Alan.Austin@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "Consultant",\n Department: "Industrial Projects",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7CAlan%2Efoldsworth%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Foldsworth",\n WorkEmail: "Alan.Foldsworth@mycompany.onmicrosoft.com",\n SipAddress: "Alan.Foldsworth@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}, {\n Cells: {\n JobTitle: "IT Support Analyst",\n Department: "Enterprise Systems",\n Path: "https://mycompany-my.sharepoint.com:443/PersonImmersive.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Calan%2Epartridge%40mycompany%2Ecom",\n WorkPhone: null,\n MobilePhone: null,\n BaseOfficeLocation: null,\n PreferredName: "Alan Partridge",\n WorkEmail: "Alan.Partridge@mycompany.onmicrosoft.com",\n SipAddress: "Alan.Partridge@mycompany.com",\n Office: null,\n Region: null,\n Favourite: false\n }\n}];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/mock/Mock.js\n ** module id = 424\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/mock/Mock.js?')},function(module,exports,__webpack_require__){eval("var require;var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(process, global, module) {/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE\n * @version 3.2.1\n */\n\n(function() {\n \"use strict\";\n function lib$es6$promise$utils$$objectOrFunction(x) {\n return typeof x === 'function' || (typeof x === 'object' && x !== null);\n }\n\n function lib$es6$promise$utils$$isFunction(x) {\n return typeof x === 'function';\n }\n\n function lib$es6$promise$utils$$isMaybeThenable(x) {\n return typeof x === 'object' && x !== null;\n }\n\n var lib$es6$promise$utils$$_isArray;\n if (!Array.isArray) {\n lib$es6$promise$utils$$_isArray = function (x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n } else {\n lib$es6$promise$utils$$_isArray = Array.isArray;\n }\n\n var lib$es6$promise$utils$$isArray = lib$es6$promise$utils$$_isArray;\n var lib$es6$promise$asap$$len = 0;\n var lib$es6$promise$asap$$vertxNext;\n var lib$es6$promise$asap$$customSchedulerFn;\n\n var lib$es6$promise$asap$$asap = function asap(callback, arg) {\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len] = callback;\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len + 1] = arg;\n lib$es6$promise$asap$$len += 2;\n if (lib$es6$promise$asap$$len === 2) {\n // If len is 2, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n if (lib$es6$promise$asap$$customSchedulerFn) {\n lib$es6$promise$asap$$customSchedulerFn(lib$es6$promise$asap$$flush);\n } else {\n lib$es6$promise$asap$$scheduleFlush();\n }\n }\n }\n\n function lib$es6$promise$asap$$setScheduler(scheduleFn) {\n lib$es6$promise$asap$$customSchedulerFn = scheduleFn;\n }\n\n function lib$es6$promise$asap$$setAsap(asapFn) {\n lib$es6$promise$asap$$asap = asapFn;\n }\n\n var lib$es6$promise$asap$$browserWindow = (typeof window !== 'undefined') ? window : undefined;\n var lib$es6$promise$asap$$browserGlobal = lib$es6$promise$asap$$browserWindow || {};\n var lib$es6$promise$asap$$BrowserMutationObserver = lib$es6$promise$asap$$browserGlobal.MutationObserver || lib$es6$promise$asap$$browserGlobal.WebKitMutationObserver;\n var lib$es6$promise$asap$$isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n // test for web worker but not in IE10\n var lib$es6$promise$asap$$isWorker = typeof Uint8ClampedArray !== 'undefined' &&\n typeof importScripts !== 'undefined' &&\n typeof MessageChannel !== 'undefined';\n\n // node\n function lib$es6$promise$asap$$useNextTick() {\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // see https://github.com/cujojs/when/issues/410 for details\n return function() {\n process.nextTick(lib$es6$promise$asap$$flush);\n };\n }\n\n // vertx\n function lib$es6$promise$asap$$useVertxTimer() {\n return function() {\n lib$es6$promise$asap$$vertxNext(lib$es6$promise$asap$$flush);\n };\n }\n\n function lib$es6$promise$asap$$useMutationObserver() {\n var iterations = 0;\n var observer = new lib$es6$promise$asap$$BrowserMutationObserver(lib$es6$promise$asap$$flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return function() {\n node.data = (iterations = ++iterations % 2);\n };\n }\n\n // web worker\n function lib$es6$promise$asap$$useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = lib$es6$promise$asap$$flush;\n return function () {\n channel.port2.postMessage(0);\n };\n }\n\n function lib$es6$promise$asap$$useSetTimeout() {\n return function() {\n setTimeout(lib$es6$promise$asap$$flush, 1);\n };\n }\n\n var lib$es6$promise$asap$$queue = new Array(1000);\n function lib$es6$promise$asap$$flush() {\n for (var i = 0; i < lib$es6$promise$asap$$len; i+=2) {\n var callback = lib$es6$promise$asap$$queue[i];\n var arg = lib$es6$promise$asap$$queue[i+1];\n\n callback(arg);\n\n lib$es6$promise$asap$$queue[i] = undefined;\n lib$es6$promise$asap$$queue[i+1] = undefined;\n }\n\n lib$es6$promise$asap$$len = 0;\n }\n\n function lib$es6$promise$asap$$attemptVertx() {\n try {\n var r = require;\n var vertx = __webpack_require__(427);\n lib$es6$promise$asap$$vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return lib$es6$promise$asap$$useVertxTimer();\n } catch(e) {\n return lib$es6$promise$asap$$useSetTimeout();\n }\n }\n\n var lib$es6$promise$asap$$scheduleFlush;\n // Decide what async method to use to triggering processing of queued callbacks:\n if (lib$es6$promise$asap$$isNode) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useNextTick();\n } else if (lib$es6$promise$asap$$BrowserMutationObserver) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMutationObserver();\n } else if (lib$es6$promise$asap$$isWorker) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMessageChannel();\n } else if (lib$es6$promise$asap$$browserWindow === undefined && \"function\" === 'function') {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$attemptVertx();\n } else {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useSetTimeout();\n }\n function lib$es6$promise$then$$then(onFulfillment, onRejection) {\n var parent = this;\n\n var child = new this.constructor(lib$es6$promise$$internal$$noop);\n\n if (child[lib$es6$promise$$internal$$PROMISE_ID] === undefined) {\n lib$es6$promise$$internal$$makePromise(child);\n }\n\n var state = parent._state;\n\n if (state) {\n var callback = arguments[state - 1];\n lib$es6$promise$asap$$asap(function(){\n lib$es6$promise$$internal$$invokeCallback(state, child, callback, parent._result);\n });\n } else {\n lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection);\n }\n\n return child;\n }\n var lib$es6$promise$then$$default = lib$es6$promise$then$$then;\n function lib$es6$promise$promise$resolve$$resolve(object) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$resolve(promise, object);\n return promise;\n }\n var lib$es6$promise$promise$resolve$$default = lib$es6$promise$promise$resolve$$resolve;\n var lib$es6$promise$$internal$$PROMISE_ID = Math.random().toString(36).substring(16);\n\n function lib$es6$promise$$internal$$noop() {}\n\n var lib$es6$promise$$internal$$PENDING = void 0;\n var lib$es6$promise$$internal$$FULFILLED = 1;\n var lib$es6$promise$$internal$$REJECTED = 2;\n\n var lib$es6$promise$$internal$$GET_THEN_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n\n function lib$es6$promise$$internal$$selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n }\n\n function lib$es6$promise$$internal$$cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n\n function lib$es6$promise$$internal$$getThen(promise) {\n try {\n return promise.then;\n } catch(error) {\n lib$es6$promise$$internal$$GET_THEN_ERROR.error = error;\n return lib$es6$promise$$internal$$GET_THEN_ERROR;\n }\n }\n\n function lib$es6$promise$$internal$$tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n try {\n then.call(value, fulfillmentHandler, rejectionHandler);\n } catch(e) {\n return e;\n }\n }\n\n function lib$es6$promise$$internal$$handleForeignThenable(promise, thenable, then) {\n lib$es6$promise$asap$$asap(function(promise) {\n var sealed = false;\n var error = lib$es6$promise$$internal$$tryThen(then, thenable, function(value) {\n if (sealed) { return; }\n sealed = true;\n if (thenable !== value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }, function(reason) {\n if (sealed) { return; }\n sealed = true;\n\n lib$es6$promise$$internal$$reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && error) {\n sealed = true;\n lib$es6$promise$$internal$$reject(promise, error);\n }\n }, promise);\n }\n\n function lib$es6$promise$$internal$$handleOwnThenable(promise, thenable) {\n if (thenable._state === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, thenable._result);\n } else if (thenable._state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, thenable._result);\n } else {\n lib$es6$promise$$internal$$subscribe(thenable, undefined, function(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n }\n }\n\n function lib$es6$promise$$internal$$handleMaybeThenable(promise, maybeThenable, then) {\n if (maybeThenable.constructor === promise.constructor &&\n then === lib$es6$promise$then$$default &&\n constructor.resolve === lib$es6$promise$promise$resolve$$default) {\n lib$es6$promise$$internal$$handleOwnThenable(promise, maybeThenable);\n } else {\n if (then === lib$es6$promise$$internal$$GET_THEN_ERROR) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$GET_THEN_ERROR.error);\n } else if (then === undefined) {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n } else if (lib$es6$promise$utils$$isFunction(then)) {\n lib$es6$promise$$internal$$handleForeignThenable(promise, maybeThenable, then);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n }\n }\n }\n\n function lib$es6$promise$$internal$$resolve(promise, value) {\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$selfFulfillment());\n } else if (lib$es6$promise$utils$$objectOrFunction(value)) {\n lib$es6$promise$$internal$$handleMaybeThenable(promise, value, lib$es6$promise$$internal$$getThen(value));\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }\n\n function lib$es6$promise$$internal$$publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n\n lib$es6$promise$$internal$$publish(promise);\n }\n\n function lib$es6$promise$$internal$$fulfill(promise, value) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) { return; }\n\n promise._result = value;\n promise._state = lib$es6$promise$$internal$$FULFILLED;\n\n if (promise._subscribers.length !== 0) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, promise);\n }\n }\n\n function lib$es6$promise$$internal$$reject(promise, reason) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) { return; }\n promise._state = lib$es6$promise$$internal$$REJECTED;\n promise._result = reason;\n\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publishRejection, promise);\n }\n\n function lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection) {\n var subscribers = parent._subscribers;\n var length = subscribers.length;\n\n parent._onerror = null;\n\n subscribers[length] = child;\n subscribers[length + lib$es6$promise$$internal$$FULFILLED] = onFulfillment;\n subscribers[length + lib$es6$promise$$internal$$REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, parent);\n }\n }\n\n function lib$es6$promise$$internal$$publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n\n if (subscribers.length === 0) { return; }\n\n var child, callback, detail = promise._result;\n\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n\n if (child) {\n lib$es6$promise$$internal$$invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n\n promise._subscribers.length = 0;\n }\n\n function lib$es6$promise$$internal$$ErrorObject() {\n this.error = null;\n }\n\n var lib$es6$promise$$internal$$TRY_CATCH_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n\n function lib$es6$promise$$internal$$tryCatch(callback, detail) {\n try {\n return callback(detail);\n } catch(e) {\n lib$es6$promise$$internal$$TRY_CATCH_ERROR.error = e;\n return lib$es6$promise$$internal$$TRY_CATCH_ERROR;\n }\n }\n\n function lib$es6$promise$$internal$$invokeCallback(settled, promise, callback, detail) {\n var hasCallback = lib$es6$promise$utils$$isFunction(callback),\n value, error, succeeded, failed;\n\n if (hasCallback) {\n value = lib$es6$promise$$internal$$tryCatch(callback, detail);\n\n if (value === lib$es6$promise$$internal$$TRY_CATCH_ERROR) {\n failed = true;\n error = value.error;\n value = null;\n } else {\n succeeded = true;\n }\n\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$cannotReturnOwn());\n return;\n }\n\n } else {\n value = detail;\n succeeded = true;\n }\n\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {\n // noop\n } else if (hasCallback && succeeded) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else if (failed) {\n lib$es6$promise$$internal$$reject(promise, error);\n } else if (settled === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, value);\n } else if (settled === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n }\n }\n\n function lib$es6$promise$$internal$$initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value){\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function rejectPromise(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n } catch(e) {\n lib$es6$promise$$internal$$reject(promise, e);\n }\n }\n\n var lib$es6$promise$$internal$$id = 0;\n function lib$es6$promise$$internal$$nextId() {\n return lib$es6$promise$$internal$$id++;\n }\n\n function lib$es6$promise$$internal$$makePromise(promise) {\n promise[lib$es6$promise$$internal$$PROMISE_ID] = lib$es6$promise$$internal$$id++;\n promise._state = undefined;\n promise._result = undefined;\n promise._subscribers = [];\n }\n\n function lib$es6$promise$promise$all$$all(entries) {\n return new lib$es6$promise$enumerator$$default(this, entries).promise;\n }\n var lib$es6$promise$promise$all$$default = lib$es6$promise$promise$all$$all;\n function lib$es6$promise$promise$race$$race(entries) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (!lib$es6$promise$utils$$isArray(entries)) {\n return new Constructor(function(resolve, reject) {\n reject(new TypeError('You must pass an array to race.'));\n });\n } else {\n return new Constructor(function(resolve, reject) {\n var length = entries.length;\n for (var i = 0; i < length; i++) {\n Constructor.resolve(entries[i]).then(resolve, reject);\n }\n });\n }\n }\n var lib$es6$promise$promise$race$$default = lib$es6$promise$promise$race$$race;\n function lib$es6$promise$promise$reject$$reject(reason) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$reject(promise, reason);\n return promise;\n }\n var lib$es6$promise$promise$reject$$default = lib$es6$promise$promise$reject$$reject;\n\n\n function lib$es6$promise$promise$$needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n\n function lib$es6$promise$promise$$needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n }\n\n var lib$es6$promise$promise$$default = lib$es6$promise$promise$$Promise;\n /**\n Promise objects represent the eventual result of an asynchronous operation. The\n primary way of interacting with a promise is through its `then` method, which\n registers callbacks to receive either a promise's eventual value or the reason\n why the promise cannot be fulfilled.\n\n Terminology\n -----------\n\n - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n - `thenable` is an object or function that defines a `then` method.\n - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n - `exception` is a value that is thrown using the throw statement.\n - `reason` is a value that indicates why a promise was rejected.\n - `settled` the final resting state of a promise, fulfilled or rejected.\n\n A promise can be in one of three states: pending, fulfilled, or rejected.\n\n Promises that are fulfilled have a fulfillment value and are in the fulfilled\n state. Promises that are rejected have a rejection reason and are in the\n rejected state. A fulfillment value is never a thenable.\n\n Promises can also be said to *resolve* a value. If this value is also a\n promise, then the original promise's settled state will match the value's\n settled state. So a promise that *resolves* a promise that rejects will\n itself reject, and a promise that *resolves* a promise that fulfills will\n itself fulfill.\n\n\n Basic Usage:\n ------------\n\n ```js\n var promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n\n // on failure\n reject(reason);\n });\n\n promise.then(function(value) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Advanced Usage:\n ---------------\n\n Promises shine when abstracting away asynchronous interactions such as\n `XMLHttpRequest`s.\n\n ```js\n function getJSON(url) {\n return new Promise(function(resolve, reject){\n var xhr = new XMLHttpRequest();\n\n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n\n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n }\n\n getJSON('/posts.json').then(function(json) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Unlike callbacks, promises are great composable primitives.\n\n ```js\n Promise.all([\n getJSON('/posts'),\n getJSON('/comments')\n ]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n\n return values;\n });\n ```\n\n @class Promise\n @param {function} resolver\n Useful for tooling.\n @constructor\n */\n function lib$es6$promise$promise$$Promise(resolver) {\n this[lib$es6$promise$$internal$$PROMISE_ID] = lib$es6$promise$$internal$$nextId();\n this._result = this._state = undefined;\n this._subscribers = [];\n\n if (lib$es6$promise$$internal$$noop !== resolver) {\n typeof resolver !== 'function' && lib$es6$promise$promise$$needsResolver();\n this instanceof lib$es6$promise$promise$$Promise ? lib$es6$promise$$internal$$initializePromise(this, resolver) : lib$es6$promise$promise$$needsNew();\n }\n }\n\n lib$es6$promise$promise$$Promise.all = lib$es6$promise$promise$all$$default;\n lib$es6$promise$promise$$Promise.race = lib$es6$promise$promise$race$$default;\n lib$es6$promise$promise$$Promise.resolve = lib$es6$promise$promise$resolve$$default;\n lib$es6$promise$promise$$Promise.reject = lib$es6$promise$promise$reject$$default;\n lib$es6$promise$promise$$Promise._setScheduler = lib$es6$promise$asap$$setScheduler;\n lib$es6$promise$promise$$Promise._setAsap = lib$es6$promise$asap$$setAsap;\n lib$es6$promise$promise$$Promise._asap = lib$es6$promise$asap$$asap;\n\n lib$es6$promise$promise$$Promise.prototype = {\n constructor: lib$es6$promise$promise$$Promise,\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n\n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n\n Chaining\n --------\n\n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n\n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n\n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we're unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n\n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n\n Assimilation\n ------------\n\n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n\n If the assimliated promise rejects, then the downstream promise will also reject.\n\n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n\n Simple Example\n --------------\n\n Synchronous Example\n\n ```javascript\n var result;\n\n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n\n Errback Example\n\n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n\n Promise Example;\n\n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n\n Advanced Example\n --------------\n\n Synchronous Example\n\n ```javascript\n var author, books;\n\n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n\n Errback Example\n\n ```js\n\n function foundBooks(books) {\n\n }\n\n function failure(reason) {\n\n }\n\n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n\n Promise Example;\n\n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n\n @method then\n @param {Function} onFulfilled\n @param {Function} onRejected\n Useful for tooling.\n @return {Promise}\n */\n then: lib$es6$promise$then$$default,\n\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n\n ```js\n function findAuthor(){\n throw new Error('couldn't find that author');\n }\n\n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n\n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n\n @method catch\n @param {Function} onRejection\n Useful for tooling.\n @return {Promise}\n */\n 'catch': function(onRejection) {\n return this.then(null, onRejection);\n }\n };\n var lib$es6$promise$enumerator$$default = lib$es6$promise$enumerator$$Enumerator;\n function lib$es6$promise$enumerator$$Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(lib$es6$promise$$internal$$noop);\n\n if (!this.promise[lib$es6$promise$$internal$$PROMISE_ID]) {\n lib$es6$promise$$internal$$makePromise(this.promise);\n }\n\n if (lib$es6$promise$utils$$isArray(input)) {\n this._input = input;\n this.length = input.length;\n this._remaining = input.length;\n\n this._result = new Array(this.length);\n\n if (this.length === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate();\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n }\n }\n } else {\n lib$es6$promise$$internal$$reject(this.promise, lib$es6$promise$enumerator$$validationError());\n }\n }\n\n function lib$es6$promise$enumerator$$validationError() {\n return new Error('Array Methods must be provided an Array');\n }\n\n lib$es6$promise$enumerator$$Enumerator.prototype._enumerate = function() {\n var length = this.length;\n var input = this._input;\n\n for (var i = 0; this._state === lib$es6$promise$$internal$$PENDING && i < length; i++) {\n this._eachEntry(input[i], i);\n }\n };\n\n lib$es6$promise$enumerator$$Enumerator.prototype._eachEntry = function(entry, i) {\n var c = this._instanceConstructor;\n var resolve = c.resolve;\n\n if (resolve === lib$es6$promise$promise$resolve$$default) {\n var then = lib$es6$promise$$internal$$getThen(entry);\n\n if (then === lib$es6$promise$then$$default &&\n entry._state !== lib$es6$promise$$internal$$PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === lib$es6$promise$promise$$default) {\n var promise = new c(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$handleMaybeThenable(promise, entry, then);\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function(resolve) { resolve(entry); }), i);\n }\n } else {\n this._willSettleAt(resolve(entry), i);\n }\n };\n\n lib$es6$promise$enumerator$$Enumerator.prototype._settledAt = function(state, i, value) {\n var promise = this.promise;\n\n if (promise._state === lib$es6$promise$$internal$$PENDING) {\n this._remaining--;\n\n if (state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(promise, this._result);\n }\n };\n\n lib$es6$promise$enumerator$$Enumerator.prototype._willSettleAt = function(promise, i) {\n var enumerator = this;\n\n lib$es6$promise$$internal$$subscribe(promise, undefined, function(value) {\n enumerator._settledAt(lib$es6$promise$$internal$$FULFILLED, i, value);\n }, function(reason) {\n enumerator._settledAt(lib$es6$promise$$internal$$REJECTED, i, reason);\n });\n };\n function lib$es6$promise$polyfill$$polyfill() {\n var local;\n\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n\n var P = local.Promise;\n\n if (P && Object.prototype.toString.call(P.resolve()) === '[object Promise]' && !P.cast) {\n return;\n }\n\n local.Promise = lib$es6$promise$promise$$default;\n }\n var lib$es6$promise$polyfill$$default = lib$es6$promise$polyfill$$polyfill;\n\n var lib$es6$promise$umd$$ES6Promise = {\n 'Promise': lib$es6$promise$promise$$default,\n 'polyfill': lib$es6$promise$polyfill$$default\n };\n\n /* global define:true module:true window: true */\n if (\"function\" === 'function' && __webpack_require__(428)['amd']) {\n !(__WEBPACK_AMD_DEFINE_RESULT__ = function() { return lib$es6$promise$umd$$ES6Promise; }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n } else if (typeof module !== 'undefined' && module['exports']) {\n module['exports'] = lib$es6$promise$umd$$ES6Promise;\n } else if (typeof this !== 'undefined') {\n this['ES6Promise'] = lib$es6$promise$umd$$ES6Promise;\n }\n\n lib$es6$promise$polyfill$$default();\n}).call(this);\n\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(426), (function() { return this; }()), __webpack_require__(234)(module)))\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/es6-promise/dist/es6-promise.js\n ** module id = 425\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/es6-promise/dist/es6-promise.js?"); },function(module,exports){eval("// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/node-libs-browser/~/process/browser.js\n ** module id = 426\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/node-libs-browser/~/process/browser.js?")},function(module,exports){eval("/* (ignored) */\n\n/*****************\n ** WEBPACK FOOTER\n ** vertx (ignored)\n ** module id = 427\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///vertx_(ignored)?")},function(module,exports){eval('module.exports = function() { throw new Error("define cannot be used indirect"); };\r\n\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/buildin/amd-define.js\n ** module id = 428\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///(webpack)/buildin/amd-define.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _cacheFunk = __webpack_require__(422);\n\nvar _cacheFunk2 = _interopRequireDefault(_cacheFunk);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nvar _profile = __webpack_require__(430);\n\nvar _profile2 = _interopRequireDefault(_profile);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// TODO: App keys for localstorage cache - need to move these somewhere central\n/* eslint no-unused-vars: 1 */\n/* global _spPageContextInfo */\nvar LAYOUT_STORAGE_KEY = 'PeopleSearch-Layout';\nvar SETTINGS_STORAGE_KEY = 'PeopleSearch-Settings';\nvar FAVOURITES_STORAGE_KEY = 'PeopleSearch-Favourites';\n\n// These are the User Profile properties we store our data in for future access\nvar PROFILE_SETTINGS_KEY = 'GF-Settings';\nvar PROFILE_FAVOURITES_KEY = 'GF-Favourites';\nvar PROFILE_LAYOUT_KEY = 'GF-Layout';\n\n// Older browsers\n__webpack_require__(425).polyfill();\n\nvar fetchProfileProperties = void 0;\n\nfunction getProfileProperties() {\n // fetch the user profile properties once and serve to all subscribers\n if (typeof fetchProfileProperties === 'undefined') {\n fetchProfileProperties = _profile2['default'].getProfileProperties();\n }\n\n return fetchProfileProperties;\n}\n\nfunction cacheBuild(data, key) {\n var cached = _utilities2['default'].buildStoragePayload(data);\n\n _cacheFunk2['default'].store(key, cached);\n\n return cached;\n}\n\nfunction getPropertyData(key) {\n var property = _profile2['default'].getProfileProperty(key);\n\n property = property === '' ? [] : property;\n\n // we have the data in the user profile, return these...\n return _utilities2['default'].buildStoragePayload(property).payload;\n}\n\nfunction getDefaultSettings() {\n return _default2['default'].DEFAULT_SETTINGS;\n}\n\nfunction getDefaultFavourites() {\n return _default2['default'].DEFAULT_FAVOURITES;\n}\n\nfunction getDefaultLayout() {\n return {\n current: _default2['default'].DEFAULT_CURRENT_LAYOUT,\n available: _default2['default'].DEFAULT_AVAILABLE_LAYOUT\n };\n}\n\nvar getCurrentLayout = function () {\n function getCurrentLayout() {\n return new Promise(function (resolve, reject) {\n var cachedResults = _cacheFunk2['default'].fetch(LAYOUT_STORAGE_KEY);\n\n if (typeof cachedResults !== 'undefined') {\n resolve(cachedResults.payload);\n }\n\n // the profile properties may not exist\n getProfileProperties().then(function (properties) {\n // we have a layout in the user profile, return this...\n var layoutFromProperties = getPropertyData('layout');\n\n if (layoutFromProperties.length === 0) {\n // no profile properties setup, use the defaults...\n resolve(getDefaultLayout());\n } else if (typeof cachedResults === 'undefined') {\n resolve(layoutFromProperties);\n } else {\n // we have a value, update the cache silently\n _cacheFunk2['default'].store(LAYOUT_STORAGE_KEY, _utilities2['default'].buildStoragePayload(layoutFromProperties));\n }\n })['catch'](function (reason) {\n if (typeof cachedResults === 'undefined') {\n // first go with standard layout\n resolve(_utilities2['default'].buildStoragePayload(getDefaultLayout()).payload);\n }\n });\n });\n }\n\n return getCurrentLayout;\n}();\n\n// someone has changed the order, remove an item or added an item to fields shown in the search results\nvar updateCurrentLayout = function () {\n function updateCurrentLayout(layout) {\n return new Promise(function (resolve, reject) {\n resolve(layout);\n\n var cached = cacheBuild(layout, LAYOUT_STORAGE_KEY);\n\n _profile2['default'].updateProfileProperty(PROFILE_LAYOUT_KEY, cached, _spPageContextInfo.userLoginName);\n });\n }\n\n return updateCurrentLayout;\n}();\n\nvar getSettings = function () {\n function getSettings() {\n return new Promise(function (resolve, reject) {\n var settings = _cacheFunk2['default'].fetch(SETTINGS_STORAGE_KEY);\n\n if (typeof settings !== 'undefined') {\n resolve(settings.payload);\n }\n\n getProfileProperties().then(function (properties) {\n var settingsFromProperties = getPropertyData('settings');\n\n if (settingsFromProperties.length === 0) {\n // no profile properties setup, use the defaults...\n resolve(_utilities2['default'].buildStoragePayload(getDefaultSettings()).payload);\n } else if (typeof settings === 'undefined') {\n // we have their settings in the user profile, return this...\n resolve(settingsFromProperties);\n } else {\n // we have a value, update the cache silently\n _cacheFunk2['default'].store(SETTINGS_STORAGE_KEY, _utilities2['default'].buildStoragePayload(settingsFromProperties));\n }\n })['catch'](function (reason) {\n if (typeof settings === 'undefined') {\n // first go with the standard settings\n resolve(_utilities2['default'].buildStoragePayload(getDefaultSettings()).payload);\n }\n });\n });\n }\n\n return getSettings;\n}();\n\nvar updateSettings = function () {\n function updateSettings(settings) {\n return new Promise(function (resolve, reject) {\n resolve(settings);\n\n var cached = cacheBuild(settings, SETTINGS_STORAGE_KEY);\n\n _profile2['default'].updateProfileProperty(PROFILE_SETTINGS_KEY, cached, _spPageContextInfo.userLoginName);\n });\n }\n\n return updateSettings;\n}();\n\nvar getFavourites = function () {\n function getFavourites() {\n return new Promise(function (resolve, reject) {\n var favourites = _cacheFunk2['default'].fetch(FAVOURITES_STORAGE_KEY);\n\n if (typeof favourites !== 'undefined') {\n resolve(favourites.payload);\n }\n\n getProfileProperties().then(function (properties) {\n var favouritesFromProperties = getPropertyData('favourites');\n\n if (favouritesFromProperties.length === 0) {\n // no profile properties setup, use the defaults...\n resolve(_utilities2['default'].buildStoragePayload(getDefaultFavourites()).payload);\n } else if (typeof favourites === 'undefined') {\n // we have their favourites in the user profile, return this...\n resolve(favouritesFromProperties);\n } else {\n // we have a value, update the cache silently\n _cacheFunk2['default'].store(FAVOURITES_STORAGE_KEY, _utilities2['default'].buildStoragePayload(favouritesFromProperties));\n }\n })['catch'](function (reason) {\n if (typeof favourites === 'undefined') {\n // first go with no favourites\n resolve(_utilities2['default'].buildStoragePayload(getDefaultFavourites()).payload);\n }\n });\n });\n }\n\n return getFavourites;\n}();\n\nvar updateFavourites = function () {\n function updateFavourites(favourites) {\n return new Promise(function (resolve, reject) {\n resolve(favourites);\n\n var cached = cacheBuild(favourites, FAVOURITES_STORAGE_KEY);\n\n _profile2['default'].updateProfileProperty(PROFILE_FAVOURITES_KEY, cached, _spPageContextInfo.userLoginName);\n });\n }\n\n return updateFavourites;\n}();\n\nmodule.exports = {\n getCurrentLayout: getCurrentLayout,\n updateCurrentLayout: updateCurrentLayout,\n getSettings: getSettings,\n updateSettings: updateSettings,\n getFavourites: getFavourites,\n updateFavourites: updateFavourites\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/storage.js\n ** module id = 429\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/storage.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _lzString = __webpack_require__(431);\n\nvar _lzString2 = _interopRequireDefault(_lzString);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n__webpack_require__(425).polyfill();\n\nvar PROFILE_SETTINGS_KEY = 'GF-Settings';\nvar PROFILE_FAVOURITES_KEY = 'GF-Favourites';\nvar PROFILE_LAYOUT_KEY = 'GF-Layout';\n\nvar properties = null;\n\n// This function saves to one of the three user profile properties, first compressing the payload\nfunction update(property, value, account) {\n var ctx = SP.ClientContext.get_current();\n\n SP.SOD.executeFunc('userprofile', 'SP.UserProfiles.PeopleManager', function () {\n var peopleManager = new SP.UserProfiles.PeopleManager(ctx);\n // save the value to the profile property as a compressed UTF16 string to keep within the 3600 character limit for user profile properties\n peopleManager.setSingleValueProfileProperty('i:0#.f|membership|' + account, property, _lzString2['default'].compressToUTF16(JSON.stringify(value)));\n\n ctx.executeQueryAsync(function () {}, function (sender, args) {\n console.log('Goldfish.Profile.Update Error while trying to save to the folowing profile property: ' + property + '. The error details are as follows: ' + args.get_message());\n });\n });\n}\n\n// From the massive user profile payload returned by the REST API, select the property we want\nfunction findPropertyInResults(key, results) {\n // sanitise the response to get just the property we want\n return results.filter(function (item) {\n return item.Key === key;\n })[0];\n}\n\nfunction decompressProfilePropertyValue(property) {\n // profile properties are stored as compress data due to the 3600 character limit...\n if (typeof property !== 'undefined') {\n // if property is undefined(the profile property does not exist) this will throw an error which will be caught by the invoking code\n return JSON.parse(_lzString2['default'].decompressFromUTF16(property.Value));\n }\n\n return null;\n}\n\n// This function constructs an object containing any favourites, settings and layouts found in the given person's user profile\nfunction populateProperties(data) {\n properties = {\n favourites: findPropertyInResults(PROFILE_FAVOURITES_KEY, data.d.UserProfileProperties.results),\n settings: findPropertyInResults(PROFILE_SETTINGS_KEY, data.d.UserProfileProperties.results),\n layout: findPropertyInResults(PROFILE_LAYOUT_KEY, data.d.UserProfileProperties.results)\n };\n\n // attempt to decompress the UTF16 encoding on the original string value to get the original value(this will through an error on purpose if the profile property does not exist)\n properties.favourites = decompressProfilePropertyValue(properties.favourites);\n properties.settings = decompressProfilePropertyValue(properties.settings);\n properties.layout = decompressProfilePropertyValue(properties.layout);\n\n return properties;\n}\n\nvar getProfileProperties = function () {\n function getProfileProperties() {\n // if we are here, it is because we do not have the payload cached\n return new Promise(function (resolve, reject) {\n if (properties !== null) {\n resolve(properties);\n } else {\n // return no properties if we are not on SharePoint\n if (typeof window.fakeAjaxCalls !== 'undefined') {\n resolve('');\n }\n\n jQuery.ajax({\n dataType: 'json',\n contentType: 'application/json;odata=verbose',\n headers: { 'accept': 'application/json;odata=verbose' },\n url: '/_api/SP.UserProfiles.PeopleManager/GetMyProperties',\n type: 'GET',\n success: function () {\n function success(response) {\n properties = populateProperties(response);\n\n if (properties.favourites !== '' || properties.settings !== '' || properties.layout !== '') {\n resolve(properties);\n } else {\n resolve('');\n }\n }\n\n return success;\n }(),\n fail: function () {\n function fail(error) {\n reject({ 'error': error });\n }\n\n return fail;\n }()\n });\n }\n });\n }\n\n return getProfileProperties;\n}();\n\nvar getProfileProperty = function () {\n function getProfileProperty(key) {\n var property = typeof properties[key] !== 'undefined' ? properties[key] : '';\n\n return property !== '' && property !== null ? property.payload : '';\n }\n\n return getProfileProperty;\n}();\n\nvar updateProfileProperty = function () {\n function updateProfileProperty(property, value, account) {\n if (typeof properties.favourites !== 'undefined' || typeof properties.settings !== 'undefined' || typeof properties.layout !== 'undefined') {\n update(property, value, account);\n } else {\n console.log('Goldfish - please ensure you create the Goldfish profile properties to maintain state.');\n }\n }\n\n return updateProfileProperty;\n}();\n\nmodule.exports = {\n getProfileProperties: getProfileProperties,\n getProfileProperty: getProfileProperty,\n updateProfileProperty: updateProfileProperty\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/profile.js\n ** module id = 430\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/profile.js?")},function(module,exports,__webpack_require__){eval('var __WEBPACK_AMD_DEFINE_RESULT__;"use strict";\n\nvar LZString = function () {\n function o(o, r) {\n if (!t[o]) {\n t[o] = {};for (var n = 0; n < o.length; n++) {\n t[o][o.charAt(n)] = n;\n }\n }return t[o][r];\n }var r = String.fromCharCode,\n n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",\n e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",\n t = {},\n i = { compressToBase64: function () {\n function compressToBase64(o) {\n if (null == o) return "";var r = i._compress(o, 6, function (o) {\n return n.charAt(o);\n });switch (r.length % 4) {default:case 0:\n return r;case 1:\n return r + "===";case 2:\n return r + "==";case 3:\n return r + "=";}\n }\n\n return compressToBase64;\n }(), decompressFromBase64: function () {\n function decompressFromBase64(r) {\n return null == r ? "" : "" == r ? null : i._decompress(r.length, 32, function (e) {\n return o(n, r.charAt(e));\n });\n }\n\n return decompressFromBase64;\n }(), compressToUTF16: function () {\n function compressToUTF16(o) {\n return null == o ? "" : i._compress(o, 15, function (o) {\n return r(o + 32);\n }) + " ";\n }\n\n return compressToUTF16;\n }(), decompressFromUTF16: function () {\n function decompressFromUTF16(o) {\n return null == o ? "" : "" == o ? null : i._decompress(o.length, 16384, function (r) {\n return o.charCodeAt(r) - 32;\n });\n }\n\n return decompressFromUTF16;\n }(), compressToUint8Array: function () {\n function compressToUint8Array(o) {\n for (var r = i.compress(o), n = new Uint8Array(2 * r.length), e = 0, t = r.length; t > e; e++) {\n var s = r.charCodeAt(e);n[2 * e] = s >>> 8, n[2 * e + 1] = s % 256;\n }return n;\n }\n\n return compressToUint8Array;\n }(), decompressFromUint8Array: function () {\n function decompressFromUint8Array(o) {\n if (null === o || void 0 === o) return i.decompress(o);for (var n = new Array(o.length / 2), e = 0, t = n.length; t > e; e++) {\n n[e] = 256 * o[2 * e] + o[2 * e + 1];\n }var s = [];return n.forEach(function (o) {\n s.push(r(o));\n }), i.decompress(s.join(""));\n }\n\n return decompressFromUint8Array;\n }(), compressToEncodedURIComponent: function () {\n function compressToEncodedURIComponent(o) {\n return null == o ? "" : i._compress(o, 6, function (o) {\n return e.charAt(o);\n });\n }\n\n return compressToEncodedURIComponent;\n }(), decompressFromEncodedURIComponent: function () {\n function decompressFromEncodedURIComponent(r) {\n return null == r ? "" : "" == r ? null : (r = r.replace(/ /g, "+"), i._decompress(r.length, 32, function (n) {\n return o(e, r.charAt(n));\n }));\n }\n\n return decompressFromEncodedURIComponent;\n }(), compress: function () {\n function compress(o) {\n return i._compress(o, 16, function (o) {\n return r(o);\n });\n }\n\n return compress;\n }(), _compress: function () {\n function _compress(o, r, n) {\n if (null == o) return "";var e,\n t,\n i,\n s = {},\n p = {},\n u = "",\n c = "",\n a = "",\n l = 2,\n f = 3,\n h = 2,\n d = [],\n m = 0,\n v = 0;for (i = 0; i < o.length; i += 1) {\n if (u = o.charAt(i), Object.prototype.hasOwnProperty.call(s, u) || (s[u] = f++, p[u] = !0), c = a + u, Object.prototype.hasOwnProperty.call(s, c)) a = c;else {\n if (Object.prototype.hasOwnProperty.call(p, a)) {\n if (a.charCodeAt(0) < 256) {\n for (e = 0; h > e; e++) {\n m <<= 1, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++;\n }for (t = a.charCodeAt(0), e = 0; 8 > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }\n } else {\n for (t = 1, e = 0; h > e; e++) {\n m = m << 1 | t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t = 0;\n }for (t = a.charCodeAt(0), e = 0; 16 > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }\n }l--, 0 == l && (l = Math.pow(2, h), h++), delete p[a];\n } else for (t = s[a], e = 0; h > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }l--, 0 == l && (l = Math.pow(2, h), h++), s[c] = f++, a = String(u);\n }\n }if ("" !== a) {\n if (Object.prototype.hasOwnProperty.call(p, a)) {\n if (a.charCodeAt(0) < 256) {\n for (e = 0; h > e; e++) {\n m <<= 1, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++;\n }for (t = a.charCodeAt(0), e = 0; 8 > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }\n } else {\n for (t = 1, e = 0; h > e; e++) {\n m = m << 1 | t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t = 0;\n }for (t = a.charCodeAt(0), e = 0; 16 > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }\n }l--, 0 == l && (l = Math.pow(2, h), h++), delete p[a];\n } else for (t = s[a], e = 0; h > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }l--, 0 == l && (l = Math.pow(2, h), h++);\n }for (t = 2, e = 0; h > e; e++) {\n m = m << 1 | 1 & t, v == r - 1 ? (v = 0, d.push(n(m)), m = 0) : v++, t >>= 1;\n }for (;;) {\n if (m <<= 1, v == r - 1) {\n d.push(n(m));break;\n }v++;\n }return d.join("");\n }\n\n return _compress;\n }(), decompress: function () {\n function decompress(o) {\n return null == o ? "" : "" == o ? null : i._decompress(o.length, 32768, function (r) {\n return o.charCodeAt(r);\n });\n }\n\n return decompress;\n }(), _decompress: function () {\n function _decompress(o, n, e) {\n var t,\n i,\n s,\n p,\n u,\n c,\n a,\n l,\n f = [],\n h = 4,\n d = 4,\n m = 3,\n v = "",\n w = [],\n A = { val: e(0), position: n, index: 1 };for (i = 0; 3 > i; i += 1) {\n f[i] = i;\n }for (p = 0, c = Math.pow(2, 2), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }switch (t = p) {case 0:\n for (p = 0, c = Math.pow(2, 8), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }l = r(p);break;case 1:\n for (p = 0, c = Math.pow(2, 16), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }l = r(p);break;case 2:\n return "";}for (f[3] = l, s = l, w.push(l);;) {\n if (A.index > o) return "";for (p = 0, c = Math.pow(2, m), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }switch (l = p) {case 0:\n for (p = 0, c = Math.pow(2, 8), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }f[d++] = r(p), l = d - 1, h--;break;case 1:\n for (p = 0, c = Math.pow(2, 16), a = 1; a != c;) {\n u = A.val & A.position, A.position >>= 1, 0 == A.position && (A.position = n, A.val = e(A.index++)), p |= (u > 0 ? 1 : 0) * a, a <<= 1;\n }f[d++] = r(p), l = d - 1, h--;break;case 2:\n return w.join("");}if (0 == h && (h = Math.pow(2, m), m++), f[l]) v = f[l];else {\n if (l !== d) return null;v = s + s.charAt(0);\n }w.push(v), f[d++] = s + v.charAt(0), h--, s = v, 0 == h && (h = Math.pow(2, m), m++);\n }\n }\n\n return _decompress;\n }() };return i;\n}(); true ? !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {\n return LZString;\n}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : "undefined" != typeof module && null != module && (module.exports = LZString);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/lz-string.js\n ** module id = 431\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/lz-string.js?')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _cacheFunk = __webpack_require__(422);\n\nvar _cacheFunk2 = _interopRequireDefault(_cacheFunk);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n/* eslint no-unused-vars: 1 */\n/* eslint new-cap: 0 */\n/* global SP */\n\n__webpack_require__(425).polyfill();\n\nvar TERMS_STORAGE_KEY = 'PeopleSearch-Terms';\n\n/*\r\n This function checks to see if there is a valid and up to date terms cache from the local storage (otherwise fetch fresh data).\r\n*/\nfunction checkCacheForTermSets(termSets, cache) {\n if (typeof cache !== 'undefined') {\n return cache.payload.some(function (termSet) {\n return termSets.indexOf(termSet.id) === -1;\n });\n }\n\n return false;\n}\n\nfunction getTermStructure(items, context, terms) {\n return new Promise(function (resolve, reject) {\n var term = void 0;\n var data = void 0;\n var item = void 0;\n var termsEnumerator = void 0;\n var collection = [];\n\n context.executeQueryAsync(function () {\n Object.keys(terms).forEach(function (key) {\n termsEnumerator = terms[key].getEnumerator();\n\n // How do we get the correct item detail\n // find the correct index of the array\n item = items.filter(function (element) {\n return element.id === key; // Filter out the appropriate one\n })[0];\n\n data = {};\n data.title = item.title;\n data.terms = [];\n\n while (termsEnumerator.moveNext()) {\n term = termsEnumerator.get_current();\n\n // remove inactive terms\n if (term.get_name().toLowerCase().indexOf('inactive') === -1) {\n // just like with JobTitles (userInformationList.js) - we need to save each term in the correct JSON structure\n data.terms.push({\n name: term.get_name(),\n search: item.property + ':\"' + term.get_name() + '\"'\n });\n }\n }\n\n collection.push(data);\n });\n\n // we now have the collection of Terms grouped by Termset in the structure the auto sugggest tool needs\n resolve(collection);\n }, function (sender, args) {\n console.log(args.get_message());\n\n reject('Unable to access Managed Metadata Service.');\n });\n });\n}\n\n/*\r\n This function is the entry point called by the Action. It retrieves a collection of terms, grouped by the termset name (and relevant managed property)\r\n As an input, it requires an array of termset objects containing:\r\n id: The GUID of the termset\r\n mapping: The managed property\r\n\r\n eg...\r\n [{id:'FGE4-8ADB1-BA001A-GA4342', mapping: 'owsBusinessRegion'}, ...]\r\n\r\n For further information about how you can obtain this information for your tenancy, use the TaxonomyHelper.js file\r\n*/\nvar getTermsByTermSets = function () {\n function getTermsByTermSets(termSets) {\n return new Promise(function (resolve, reject) {\n var cache = _cacheFunk2['default'].fetch(TERMS_STORAGE_KEY);\n\n if (checkCacheForTermSets(termSets, cache)) {\n resolve(cache.payload);\n } else {\n jQuery.getScript(_utilities2['default'].getBaseUrl() + '/_layouts/15/sp.taxonomy.js', function () {\n var context = new SP.ClientContext.get_current();\n var session = SP.Taxonomy.TaxonomySession.getTaxonomySession(context);\n var termStore = session.getDefaultSiteCollectionTermStore();\n var termSet = {};\n var terms = {};\n\n termSets.forEach(function (item) {\n if (typeof item.id !== 'undefined' && typeof item.property !== 'undefined') {\n if (item.id !== '' && item.property !== '') {\n termSet[item.id] = termStore.getTermSet(item.id);\n terms[item.id] = termSet[item.id].getAllTerms();\n\n context.load(terms[item.id]);\n }\n }\n });\n\n // now we have loaded all of the termsets we need to process, execute the Async Query (getTermStructure)\n getTermStructure(termSets, context, terms).then(function (collection) {\n resolve(collection);\n\n _cacheFunk2['default'].store(TERMS_STORAGE_KEY, _utilities2['default'].buildStoragePayload(collection));\n });\n });\n }\n });\n }\n\n return getTermsByTermSets;\n}();\n\nmodule.exports = {\n getTermsByTermSets: getTermsByTermSets\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/taxonomy.js\n ** module id = 432\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/taxonomy.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _cacheFunk = __webpack_require__(422);\n\nvar _cacheFunk2 = _interopRequireDefault(_cacheFunk);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n/* eslint no-unused-vars: 1 */\n\n__webpack_require__(425).polyfill();\n\nvar USERINFO_STORAGE_KEY = 'PeopleSearch-UserInfo';\nvar data = {};\n\nvar id = void 0;\n\n// So many duplicates\nfunction removeDuplicates(collection, results, key) {\n // the last item processed\n id = -1;\n\n var payload = results.value.map(function (item, i) {\n if (i === results.value.length - 1) {\n // next time the recursive function calls, it will load from this point (after the last item in this batch)\n id = item.ID;\n }\n\n // each JobTitle needs to be saved as JSON object, including the search term (search alias - contains - job title)\n return {\n name: item[key],\n search: key + ':\"' + item[key] + '\"'\n };\n // sort the array of Job Titles ready for duplicate removal\n }).concat(collection).sort(function (a, b) {\n if (a.name < b.name) {\n return -1;\n } else if (a.name > b.name) {\n return 1;\n }\n\n return 0;\n }).filter(function (item, pos, ary) {\n // remove all duplicates from payload\n return !pos || item.name !== ary[pos - 1].name;\n });\n\n return typeof payload !== 'undefined' ? payload : [];\n}\n\nfunction fetchUserInfo(url, key) {\n return new Promise(function (resolve, reject) {\n jQuery.ajax({\n url: url,\n dataType: 'json',\n type: 'GET',\n headers: _utilities2['default'].getHeaders(),\n success: function () {\n function success(results) {\n // concatenate results after a de-duplication run (with any previously retrieved items)\n if (results.value.length > 0) {\n data[key].terms = removeDuplicates(data[key].terms, results, key);\n // more to fetch recursively fetch job titles and purge until we have them all\n resolve();\n } else {\n // we have all of the job titles, return this for the suggest tool\n resolve(data[key]);\n }\n }\n\n return success;\n }(),\n fail: function () {\n function fail(xhr, status, err) {\n reject(err.toString());\n }\n\n return fail;\n }()\n });\n });\n}\n\nvar getBusinessInformation = function () {\n function getBusinessInformation(keys, startId) {\n return new Promise(function (resolve, reject) {\n var cache = _cacheFunk2['default'].fetch(USERINFO_STORAGE_KEY);\n\n if (typeof cache !== 'undefined') {\n // we already have them - easy\n resolve(cache.payload);\n } else {\n (function () {\n var collection = [];\n var skip = '';\n\n if (typeof startId === 'undefined') {\n // reset terms if fetching fresh data\n keys.forEach(function (key) {\n data[key] = data[key] || {\n title: key.split(/(?=[A-Z])/).join(' '),\n terms: [],\n complete: false\n };\n });\n } else {\n skip = '&p_ID=' + startId;\n }\n\n var key = !data[keys[0]].complete ? keys[0] : keys[1];\n // we need to process the list 5000 items at a time (we can do that because it's a list).\n var token = encodeURIComponent('Paged=TRUE&p_SortBehavior=0' + skip + '&$top=5000');\n // using the paging token, construct the URL for the REST endpoint\n var url = _utilities2['default'].getBaseUrl() + '/_api/web/SiteUserInfoList/items?$select=' + key + ',ID&$filter=' + key + '%20ne%20null&$top=5000&$skiptoken=' + token;\n\n fetchUserInfo(url, key).then(function (results) {\n if (typeof results === 'undefined') {\n getBusinessInformation(keys, id);\n } else {\n data[key].complete = true;\n }\n\n if (Object.keys(data).every(function (info) {\n return data[info].complete;\n })) {\n collection = Object.keys(data).map(function (item) {\n return data[item];\n });\n\n resolve(collection);\n\n // save this in the local storage so we don't need to fetch this next time\n _cacheFunk2['default'].store(USERINFO_STORAGE_KEY, _utilities2['default'].buildStoragePayload(collection));\n } else if (data[key].complete) {\n // move onto the next one\n getBusinessInformation(keys);\n }\n });\n })();\n }\n });\n }\n\n return getBusinessInformation;\n}();\n\nmodule.exports = {\n getBusinessInformation: getBusinessInformation\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/userInformationList.js\n ** module id = 433\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/userInformationList.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _events = __webpack_require__(417);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _people = [];\nvar _count = 0;\nvar _pageNum = 0;\nvar _term = '';\n\nfunction setPeopleSearchData(people, count, pageNum, term) {\n _people = people;\n _count = count;\n _pageNum = pageNum;\n _term = term;\n}\n\nfunction appendPeopleSearchData(people, count, pageNum, term) {\n if (Math.ceil(_people.length / 10) !== pageNum) {\n _people = _people.concat(people);\n _count = count;\n _pageNum = pageNum;\n _term = term;\n }\n}\n\nvar SearchStore = (0, _objectAssign2['default'])({}, _events.EventEmitter.prototype, {\n getResult: function () {\n function getResult(id) {\n return _people[id];\n }\n\n return getResult;\n }(),\n getResults: function () {\n function getResults() {\n return _people;\n }\n\n return getResults;\n }(),\n getResultCount: function () {\n function getResultCount() {\n return _count;\n }\n\n return getResultCount;\n }(),\n getCurrentPage: function () {\n function getCurrentPage() {\n return _pageNum;\n }\n\n return getCurrentPage;\n }(),\n setNextPage: function () {\n function setNextPage() {\n _pageNum += 1;\n }\n\n return setNextPage;\n }(),\n setPrevPage: function () {\n function setPrevPage() {\n _pageNum -= 1;\n }\n\n return setPrevPage;\n }(),\n getCurrentSearchTerm: function () {\n function getCurrentSearchTerm() {\n return _term;\n }\n\n return getCurrentSearchTerm;\n }(),\n emitChange: function () {\n function emitChange() {\n this.emit(_default2['default'].CHANGE_EVENT);\n }\n\n return emitChange;\n }(),\n addChangeListener: function () {\n function addChangeListener(callback) {\n this.on(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return addChangeListener;\n }(),\n removeChangeListener: function () {\n function removeChangeListener(callback) {\n this.removeListener(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return removeChangeListener;\n }()\n});\n\n_AppDispatcher2['default'].register(function (action) {\n switch (action.actionType) {\n case _data2['default'].PEOPLE_LOADED:\n setPeopleSearchData(action.data.payload, action.data.count, action.data.pageNum, action.data.term);\n SearchStore.emitChange();\n break;\n case _data2['default'].PEOPLE_LOADED_APPEND:\n appendPeopleSearchData(action.data.payload, action.data.count, action.data.pageNum, action.data.term);\n SearchStore.emitChange();\n break;\n case _data2['default'].NO_RESULTS:\n setPeopleSearchData(action.results, 0, 0, typeof action.data !== 'undefined' ? action.data.term : '');\n SearchStore.emitChange();\n break;\n default:\n // no op\n }\n});\n\nmodule.exports = SearchStore;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/stores/SearchStore.js\n ** module id = 434\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/stores/SearchStore.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Settings = __webpack_require__(436);\n\nvar _Settings2 = _interopRequireDefault(_Settings);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Title = __webpack_require__(438);\n\nvar _Title2 = _interopRequireDefault(_Title);\n\nvar _Switch = __webpack_require__(441);\n\nvar _Switch2 = _interopRequireDefault(_Switch);\n\nvar _SettingStore = __webpack_require__(444);\n\nvar _SettingStore2 = _interopRequireDefault(_SettingStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _settings = __webpack_require__(445);\n\nvar _settings2 = _interopRequireDefault(_settings);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getStoreSettingState() {\n var settings = _SettingStore2['default'].getSettings();\n var current = {};\n\n settings.forEach(function (item) {\n current[item.internal] = item.value;\n });\n\n return current;\n}\n\nfunction getSettingsAndApply() {\n _PeopleSearchActions2['default'].fetchSettings();\n\n var settings = getStoreSettingState();\n\n _settings2['default'].applySettings(getStoreSettingState());\n\n return settings;\n}\n\nvar Settings = function (_React$Component) {\n _inherits(Settings, _React$Component);\n\n function Settings(props) {\n _classCallCheck(this, Settings);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Settings).call(this, props));\n\n _this.state = getSettingsAndApply();\n return _this;\n }\n\n _createClass(Settings, [{\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _SettingStore2['default'].removeChangeListener(this.onSettingChange);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _SettingStore2['default'].addChangeListener(this.onSettingChange.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n if (this.state === null) {\n this.state = getSettingsAndApply();\n }\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'onSettingChange',\n value: function () {\n function onSettingChange() {\n var settings = getStoreSettingState();\n var collection = _settings2['default'].applySettings(getStoreSettingState());\n\n this.props.onSettingChange(collection);\n\n this.setState(settings);\n }\n\n return onSettingChange;\n }()\n }, {\n key: 'getSettings',\n value: function () {\n function getSettings(state) {\n var options = [];\n var settings = _SettingStore2['default'].getSettings();\n var self = this;\n\n settings.forEach(function (item) {\n options.push(_react2['default'].createElement(_Switch2['default'], {\n key: item.internal,\n checked: state[item.internal],\n label: item.label,\n onChange: self.handleChange.bind(self, item.internal) }));\n });\n\n return options;\n }\n\n return getSettings;\n }()\n }, {\n key: 'handleChange',\n value: function () {\n function handleChange(field, value) {\n var settings = _SettingStore2['default'].getSettings();\n\n settings.some(function (item, i) {\n var matched = field === item.internal;\n\n if (matched) {\n settings[i].value = value;\n }\n\n return matched;\n });\n\n _PeopleSearchActions2['default'].updateSettings(settings);\n }\n\n return handleChange;\n }()\n }, {\n key: 'applySettings',\n value: function () {\n function applySettings() {\n return _settings2['default'].applySettings(getStoreSettingState());\n }\n\n return applySettings;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var settingComponentStyles = {\n display: 'none !important',\n paddingTop: this.props.paddingTop\n };\n\n if (this.state !== null) {\n return _react2['default'].createElement(\n 'div',\n { id: 'component-settings', styleName: 'component', style: settingComponentStyles },\n _react2['default'].createElement(\n 'div',\n { styleName: 'container' },\n _react2['default'].createElement(_Title2['default'], {\n text: this.props.title,\n suffix: 'Settings' }),\n _react2['default'].createElement(\n 'p',\n { styleName: 'info' },\n _react2['default'].createElement('br', null),\n _react2['default'].createElement('br', null),\n 'Settings can be controlled from this page - they will be ',\n _react2['default'].createElement(\n 'strong',\n null,\n 'applied automatically'\n ),\n '.'\n ),\n _react2['default'].createElement(\n 'div',\n { className: 'content', styleName: 'checkbox-holder' },\n _react2['default'].createElement('br', null),\n _react2['default'].createElement('br', null),\n _react2['default'].createElement(\n 'div',\n { className: 'switches-with-broomsticks' },\n this.getSettings(this.state)\n )\n )\n ),\n _react2['default'].createElement('br', null),\n _react2['default'].createElement('br', null)\n );\n }\n }\n\n return render;\n }()\n }]);\n\n return Settings;\n}(_react2['default'].Component);\n\nSettings.propTypes = {\n title: _react2['default'].PropTypes.string,\n paddingTop: _react2['default'].PropTypes.string,\n onSettingChange: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Settings, _Settings2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/settings/Settings.jsx\n ** module id = 435\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/settings/Settings.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(437);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Settings.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Settings.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/settings/Settings.css\n ** module id = 436\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/settings/Settings.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._97UIJgWqxHakH1I1k5hLn{width:400px!important;background-color:#f9f9f9;border-color:#c8c8c8;box-shadow:0 0 18px #d9d9d9;position:absolute;right:0;overflow-x:visible;height:1900px;padding:0 0 200px;direction:ltr}.zvdJBT3rvVYRr4e7n3gRv{width:320px!important}._15WaJSXJhkCGArQru8sxxw{margin:0 20px 20px}._1voLDAhYqIYYnjsujScfZk,._2g2z2epy8zUCMxFrgf5C8V{margin:0 20px;border-bottom:1px solid #eee;padding-bottom:20px;font-size:14px;width:350px}._1voLDAhYqIYYnjsujScfZk label span{font-size:14px}._1vKnuo3iRGWVXV8bfd9syb{color:red}", ""]);\n\n// exports\nexports.locals = {\n "component": "_97UIJgWqxHakH1I1k5hLn",\n "container": "zvdJBT3rvVYRr4e7n3gRv",\n "layout-heading": "_15WaJSXJhkCGArQru8sxxw",\n "info": "_2g2z2epy8zUCMxFrgf5C8V",\n "checkbox-holder": "_1voLDAhYqIYYnjsujScfZk",\n "warning": "_1vKnuo3iRGWVXV8bfd9syb"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/settings/Settings.css\n ** module id = 437\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/settings/Settings.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Title = __webpack_require__(439);\n\nvar _Title2 = _interopRequireDefault(_Title);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Title = function (_React$Component) {\n _inherits(Title, _React$Component);\n\n function Title(props) {\n _classCallCheck(this, Title);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Title).call(this, props));\n }\n\n _createClass(Title, [{\n key: 'render',\n value: function () {\n function render() {\n var title = typeof this.props.text !== 'undefined' ? this.props.text : 'Goldfish';\n\n title = title + (typeof this.props.suffix !== 'undefined' ? ' ' + this.props.suffix : '');\n\n return _react2['default'].createElement(\n 'div',\n { styleName: 'title-container', id: 'dragSnapin' + title.replace(/ /g, '') },\n _react2['default'].createElement(\n 'span',\n { className: 'o365-NFP-title o365cs-lightFont', styleName: 'title-font' },\n title\n )\n );\n }\n\n return render;\n }()\n }]);\n\n return Title;\n}(_react2['default'].Component);\n\nTitle.propTypes = {\n suffix: _react2['default'].PropTypes.string,\n text: _react2['default'].PropTypes.string\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Title, _Title2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/title/Title.jsx\n ** module id = 438\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/title/Title.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(440);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Title.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Title.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/title/Title.css\n ** module id = 439\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/title/Title.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._3AEjX1uyFaM_-LYr7lbbi1{padding:20px!important}._3sRykwFGhXug-r5vmub04m{font-size:32px!important}", ""]);\n\n// exports\nexports.locals = {\n "title-container": "_3AEjX1uyFaM_-LYr7lbbi1",\n "title-font": "_3sRykwFGhXug-r5vmub04m"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/title/Title.css\n ** module id = 440\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/title/Title.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(408);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _SwitchStyles = __webpack_require__(442);\n\nvar _SwitchStyles2 = _interopRequireDefault(_SwitchStyles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Thumb = function () {\n function Thumb(_ref) {\n var children = _ref.children;\n var onMouseDown = _ref.onMouseDown;\n return _react2['default'].createElement(\n 'span',\n { role: 'thumb', className: _SwitchStyles2['default'].thumb, onMouseDown: onMouseDown },\n children\n );\n }\n\n return Thumb;\n}();\n\nvar Switch = function (_React$Component) {\n _inherits(Switch, _React$Component);\n\n function Switch() {\n var _Object$getPrototypeO;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Switch);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(Switch)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.handleToggle = function (event) {\n if (event.pageX !== 0 && event.pageY !== 0) _this.blur();\n if (!_this.props.disabled && _this.props.onChange) {\n _this.props.onChange(!_this.props.checked, event);\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Switch, [{\n key: 'blur',\n value: function () {\n function blur() {\n this.refs.input.blur();\n }\n\n return blur;\n }()\n }, {\n key: 'focus',\n value: function () {\n function focus() {\n this.refs.input.focus();\n }\n\n return focus;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var className = _SwitchStyles2['default'][this.props.disabled ? 'disabled' : 'field'];\n var switchClassName = _SwitchStyles2['default'][this.props.checked ? 'on' : 'off'];\n var _props = this.props;\n var onChange = _props.onChange;\n\n var others = _objectWithoutProperties(_props, ['onChange']);\n\n if (this.props.className) className += ' ' + this.props.className;\n\n return _react2['default'].createElement(\n 'label',\n { 'data-gf': 'switch', className: className },\n _react2['default'].createElement('input', _extends({}, others, {\n checked: this.props.checked,\n className: _SwitchStyles2['default'].input,\n onClick: this.handleToggle,\n readOnly: true,\n ref: 'input',\n type: 'checkbox'\n })),\n _react2['default'].createElement(\n 'span',\n { className: switchClassName },\n _react2['default'].createElement(Thumb, { disabled: this.props.disabled })\n ),\n this.props.label ? _react2['default'].createElement(\n 'span',\n { className: _SwitchStyles2['default'].text },\n this.props.label\n ) : null\n );\n }\n\n return render;\n }()\n }]);\n\n return Switch;\n}(_react2['default'].Component);\n\nSwitch.propTypes = {\n checked: _react2['default'].PropTypes.bool,\n className: _react2['default'].PropTypes.string,\n disabled: _react2['default'].PropTypes.bool,\n label: _react2['default'].PropTypes.string,\n name: _react2['default'].PropTypes.string,\n onBlur: _react2['default'].PropTypes.func,\n onChange: _react2['default'].PropTypes.func,\n onFocus: _react2['default'].PropTypes.func\n};\nSwitch.defaultProps = {\n checked: false,\n className: '',\n disabled: false\n};\nexports['default'] = Switch;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/Switch.jsx\n ** module id = 441\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Switch.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(443);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./Switch.styles.css\", function() {\n var newContent = require(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./Switch.styles.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/Switch.styles.css\n ** module id = 442\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Switch.styles.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._1oXLVX-pvbC9L2uSS4IFU8,._3TnU_qLPOf4TUW-FJZylQb{position:relative;display:block;height:2.4rem;margin-bottom:1.5rem;white-space:nowrap;vertical-align:middle}._2pawNM9taQJsNPvzdMXArO{display:inline-block;padding-left:1rem;font-size:1.4rem;line-height:2.4rem;color:#000;white-space:nowrap;vertical-align:top}._3BH2UlJAhHYF4r9QK6FRuA,._20uIEbI4cx_7_eeUmasD5I{position:relative;display:inline-block;width:3.6rem;height:1.4rem;margin-top:.5rem;vertical-align:top;cursor:pointer;border-radius:1.4rem}._2GHZghWuuO87TcCsPvaTXG{transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.28s;position:absolute;top:-.3rem;width:2rem;height:2rem;cursor:pointer;border-radius:50%;transition-property:left}._1VjizSl0o-JeqWsxrp-yu8{background-color:#3f51b5;opacity:.3;transition-duration:.65s}._3BH2UlJAhHYF4r9QK6FRuA{background:rgba(63,81,181,.5)}._3BH2UlJAhHYF4r9QK6FRuA ._2GHZghWuuO87TcCsPvaTXG{box-shadow:0 3px 4px 0 rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.2),0 1px 8px 0 rgba(0,0,0,.12);left:1.6rem;background:#3f51b5}._20uIEbI4cx_7_eeUmasD5I{background:rgba(0,0,0,.26)}._20uIEbI4cx_7_eeUmasD5I ._2GHZghWuuO87TcCsPvaTXG{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);left:0;background:#fafafa}._20uIEbI4cx_7_eeUmasD5I ._1VjizSl0o-JeqWsxrp-yu8{background:rgba(0,0,0,.4)}.QLbvodnS3G9yRqmdSI8wc:focus:not(:active)+._2ph6mLl7GqQBaVGWwKVXNj>._2GHZghWuuO87TcCsPvaTXG:before,.QLbvodnS3G9yRqmdSI8wc:focus:not(:active)+.G3VPvkEHI_rdldWQT6M02>._2GHZghWuuO87TcCsPvaTXG:before{position:absolute;top:50%;left:50%;box-sizing:border-box;display:inline-block;width:.8rem;height:.8rem;content:\\"\\";background-color:transparent;border-radius:50%;transform:translate(-.4rem,-.4rem)}.QLbvodnS3G9yRqmdSI8wc{width:0;height:0;overflow:hidden;opacity:0}.QLbvodnS3G9yRqmdSI8wc:focus:not(:active)+._2ph6mLl7GqQBaVGWwKVXNj>._2GHZghWuuO87TcCsPvaTXG:before{background-color:rgba(63,81,181,.26);box-shadow:0 0 0 2rem rgba(63,81,181,.26)}.QLbvodnS3G9yRqmdSI8wc:focus:not(:active)+.G3VPvkEHI_rdldWQT6M02>._2GHZghWuuO87TcCsPvaTXG:before{background-color:rgba(0,0,0,.1);box-shadow:0 0 0 2rem rgba(0,0,0,.1)}._3TnU_qLPOf4TUW-FJZylQb ._2pawNM9taQJsNPvzdMXArO{color:rgba(0,0,0,.26)}._3TnU_qLPOf4TUW-FJZylQb ._3BH2UlJAhHYF4r9QK6FRuA,._3TnU_qLPOf4TUW-FJZylQb ._20uIEbI4cx_7_eeUmasD5I{cursor:auto;background:rgba(0,0,0,.12)}._3TnU_qLPOf4TUW-FJZylQb ._2GHZghWuuO87TcCsPvaTXG{cursor:auto;background-color:#bdbdbd;border-color:transparent}", ""]);\n\n// exports\nexports.locals = {\n "field": "_1oXLVX-pvbC9L2uSS4IFU8",\n "disabled": "_3TnU_qLPOf4TUW-FJZylQb",\n "text": "_2pawNM9taQJsNPvzdMXArO",\n "on": "_3BH2UlJAhHYF4r9QK6FRuA",\n "off": "_20uIEbI4cx_7_eeUmasD5I",\n "thumb": "_2GHZghWuuO87TcCsPvaTXG",\n "ripple": "_1VjizSl0o-JeqWsxrp-yu8",\n "input": "QLbvodnS3G9yRqmdSI8wc",\n "switch-on": "_2ph6mLl7GqQBaVGWwKVXNj",\n "switch-off": "G3VPvkEHI_rdldWQT6M02"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/ui/Switch.styles.css\n ** module id = 443\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/Switch.styles.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _events = __webpack_require__(417);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _settings = _default2['default'].DEFAULT_SETTINGS;\n\nfunction setPeopleSearchSettings(settings) {\n _settings = settings;\n}\n\nvar SettingStore = (0, _objectAssign2['default'])({}, _events.EventEmitter.prototype, {\n getSettings: function () {\n function getSettings() {\n return _settings;\n }\n\n return getSettings;\n }(),\n emitChange: function () {\n function emitChange() {\n this.emit(_default2['default'].CHANGE_EVENT);\n }\n\n return emitChange;\n }(),\n addChangeListener: function () {\n function addChangeListener(callback) {\n this.on(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return addChangeListener;\n }(),\n removeChangeListener: function () {\n function removeChangeListener(callback) {\n this.removeListener(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return removeChangeListener;\n }()\n});\n\n_AppDispatcher2['default'].register(function (action) {\n switch (action.actionType) {\n case _data2['default'].GOT_SETTINGS:\n case _data2['default'].SETTINGS_CHANGED:\n setPeopleSearchSettings(action.results);\n SettingStore.emitChange();\n break;\n default:\n // no op\n }\n});\n\nmodule.exports = SettingStore;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/stores/SettingStore.js\n ** module id = 444\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/stores/SettingStore.js?"); },function(module,exports){eval("'use strict';\n\nfunction createCssStyles(css) {\n var overrides = document.createElement('style');\n overrides.type = 'text/css';\n\n if (overrides.styleSheet) {\n overrides.styleSheet.cssText = css;\n } else {\n overrides.appendChild(document.createTextNode(css));\n }\n\n return overrides;\n}\n\nfunction applyCssToHead(css) {\n var head = document.head || document.getElementsByTagName('head')[0];\n\n head.appendChild(createCssStyles(css));\n}\n\nfunction applyCssToBody(css, id) {\n var body = document.body || document.getElementsByTagName('body')[0];\n\n // remove it if it exists already\n if (document.getElementById(id) !== null) {\n var el = document.getElementById(id);\n el.parentNode.removeChild(el);\n }\n\n var div = document.createElement('div');\n div.id = id;\n\n div.appendChild(createCssStyles(css));\n\n body.appendChild(div);\n}\n\nmodule.exports = {\n applySettings: function () {\n function applySettings(settings) {\n var that = this;\n var collection = [];\n var item = {};\n\n Object.keys(settings).forEach(function (key) {\n that.settingRouting(key, settings[key]);\n\n item[key] = settings[key];\n\n collection.push(item);\n\n item = {};\n });\n\n return collection;\n }\n\n return applySettings;\n }(),\n settingRouting: function () {\n function settingRouting(key, value) {\n switch (key) {\n case 'showFavourites':\n // do some stuff\n this.toggleFavourites(value);\n this.toggleFavouriteButtons(value);\n break;\n case 'showOnRight':\n this.setPosition(value ? 'right' : 'left');\n break;\n case 'cssOveride':\n this.applyCssOverride(value);\n break;\n default:\n // no default action\n break;\n }\n }\n\n return settingRouting;\n }(),\n toggleFavourites: function () {\n function toggleFavouritesTab(value) {\n var tab = document.getElementById('component-tab-favourites');\n var favourites = document.getElementById('component-favourites');\n\n if (tab !== null) {\n if (value) {\n tab.className = 'tab';\n tab.style.display = '';\n } else {\n tab.className = 'tab animated flipOutX';\n\n window.setTimeout(function () {\n tab.style.display = 'none';\n favourites.style.display = 'none';\n }, 1000);\n }\n }\n }\n\n return toggleFavouritesTab;\n }(),\n toggleFavouriteButtons: function () {\n function toggleFavouriteButtons(value) {\n var _inCss$outCss$removeC = { inCss: 'pulse', outCss: 'flipOutX', removeClass: 'remove', addClass: 'add' };\n var inCss = _inCss$outCss$removeC.inCss;\n var outCss = _inCss$outCss$removeC.outCss;\n var removeClass = _inCss$outCss$removeC.removeClass;\n var addClass = _inCss$outCss$removeC.addClass;\n\n var buttons = [].slice.call(document.getElementsByClassName('add')).concat([].slice.call(document.getElementsByClassName('remove')));\n\n buttons.forEach(function (item) {\n if (value) {\n item.className = item.className.indexOf(' animated ' + outCss) > -1 ? item.className.replace(outCss, inCss) : item.className + ' animated ' + inCss;\n } else {\n item.className = item.className.indexOf(' animated ' + inCss) > -1 ? item.className.replace(inCss, outCss) : item.className + ' animated ' + outCss;\n }\n });\n }\n\n return toggleFavouriteButtons;\n }(),\n applyCssOverride: function () {\n function applyCssOverride(value) {\n if (typeof value === 'string') {\n applyCssToHead(value);\n } else {\n console.log('Goldfish.SettingsManager - CSS overrides must be plain text and not an object or array');\n }\n }\n\n return applyCssOverride;\n }(),\n setPosition: function () {\n function setPosition(pos) {\n var css = '#outer-space { direction: ' + (pos === 'right' ? 'ltr' : 'rtl') + '; ' + pos + ': 0px }';\n\n applyCssToBody(css, 'component-direction-styles');\n }\n\n return setPosition;\n }()\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/settings.js\n ** module id = 445\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/settings.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Layout = __webpack_require__(447);\n\nvar _Layout2 = _interopRequireDefault(_Layout);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Title = __webpack_require__(438);\n\nvar _Title2 = _interopRequireDefault(_Title);\n\nvar _Available = __webpack_require__(449);\n\nvar _Available2 = _interopRequireDefault(_Available);\n\nvar _Button = __webpack_require__(407);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _reactSortableComponent = __webpack_require__(457);\n\nvar _LayoutStore = __webpack_require__(460);\n\nvar _LayoutStore2 = _interopRequireDefault(_LayoutStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getLayoutState() {\n return {\n layout: _LayoutStore2['default'].getLayout()\n };\n}\n\n// ensure that any additional layout items are not already in the mix\nfunction filterFromCurrentLayout(newLayouts, current, available) {\n var joined = current.concat(available);\n\n return newLayouts.filter(function (item) {\n return joined.every(function (existing) {\n return existing.label !== item.label;\n });\n });\n}\n\nfunction joinAndSortLayoutArray(source, target) {\n return source.concat(target).sort(function (a, b) {\n if (b.label < a.label) {\n return 1;\n } else if (b.label > a.label) {\n return -1;\n }\n\n return 0;\n });\n}\n\nvar Layout = function (_React$Component) {\n _inherits(Layout, _React$Component);\n\n function Layout(props) {\n _classCallCheck(this, Layout);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Layout).call(this, props));\n\n _PeopleSearchActions2['default'].fetchLayout();\n\n _this.registerLayoutListener();\n\n _this.state = getLayoutState();\n return _this;\n }\n\n _createClass(Layout, [{\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _LayoutStore2['default'].removeChangeListener(this.onLayoutChange);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _LayoutStore2['default'].addChangeListener(this.onLayoutChange.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n if (this.state === null) {\n _PeopleSearchActions2['default'].fetchLayout();\n\n this.state = getLayoutState();\n }\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'onFieldAddClick',\n value: function () {\n function onFieldAddClick(option) {\n var field = this.state.layout.available.filter(function (el) {\n return el.label === option;\n })[0];\n\n this.state.layout.current.push(field);\n\n this.state.layout.available = this.state.layout.available.filter(function (n) {\n return n !== field;\n });\n\n _PeopleSearchActions2['default'].updateLayout(this.state.layout);\n }\n\n return onFieldAddClick;\n }()\n }, {\n key: 'onLayoutChange',\n value: function () {\n function onLayoutChange() {\n this.props.onLayoutChange(getLayoutState());\n\n this.state = getLayoutState();\n }\n\n return onLayoutChange;\n }()\n }, {\n key: 'onFieldRemoveClick',\n value: function () {\n function onFieldRemoveClick(index) {\n this.state.layout.available.push(this.state.layout.current[index]);\n\n delete this.state.layout.current[index];\n\n this.state.layout.current = this.state.layout.current.filter(function (n) {\n return n !== undefined;\n });\n\n _PeopleSearchActions2['default'].updateLayout(this.state.layout);\n }\n\n return onFieldRemoveClick;\n }()\n }, {\n key: 'getAvailableLayoutFieldsHolder',\n value: function () {\n function getAvailableLayoutFieldsHolder(available) {\n if (typeof available !== 'undefined') {\n if (available.length > 0) {\n return _react2['default'].createElement(\n 'div',\n { key: 'available' },\n _react2['default'].createElement(\n 'p',\n { styleName: 'info' },\n _react2['default'].createElement(\n 'strong',\n null,\n 'Add'\n ),\n ' additional items to the layout.'\n ),\n _react2['default'].createElement(_Available2['default'], {\n options: available,\n onChange: this.onFieldAddClick.bind(this) })\n );\n }\n }\n }\n\n return getAvailableLayoutFieldsHolder;\n }()\n }, {\n key: 'getCurrentLayoutFieldsHolder',\n value: function () {\n function getCurrentLayoutFieldsHolder(current) {\n if (typeof current !== 'undefined') {\n if (current.length > 0) {\n return _react2['default'].createElement(\n 'div',\n { className: 'content' },\n _react2['default'].createElement(\n 'p',\n { styleName: 'info' },\n _react2['default'].createElement(\n 'strong',\n null,\n 'Re-order'\n ),\n ' and ',\n _react2['default'].createElement(\n 'strong',\n null,\n 'remove'\n ),\n ' items from the layout.'\n ),\n _react2['default'].createElement(\n 'div',\n { key: 'current-layout-fields', styleName: 'sortable-container' },\n _react2['default'].createElement(\n _reactSortableComponent.SortableItems,\n {\n name: 'sort-current',\n items: current,\n onSort: this.handleLayoutSort.bind(this) },\n current.map(this.createLayoutItems.bind(this, 'current'))\n )\n )\n );\n }\n }\n }\n\n return getCurrentLayoutFieldsHolder;\n }()\n }, {\n key: 'createLayoutItems',\n value: function () {\n function createLayoutItems(type, field, i) {\n return _react2['default'].createElement(\n _reactSortableComponent.SortableItem,\n { key: 'layout-' + i, className: 'animated flipInX' },\n _react2['default'].createElement(\n 'div',\n { styleName: 'current-item' },\n _react2['default'].createElement(\n 'div',\n { key: i },\n field.label\n ),\n _react2['default'].createElement(\n 'div',\n { styleName: 'removal-button' },\n _react2['default'].createElement(_Button2['default'], {\n icon: 'remove',\n key: i,\n onClick: this.onFieldRemoveClick.bind(this, i),\n floating: true, accent: true, mini: true })\n )\n )\n );\n }\n\n return createLayoutItems;\n }()\n }, {\n key: 'registerLayoutListener',\n value: function () {\n function registerLayoutListener() {\n if (typeof window.goldfishLayoutEventRegistered === 'undefined') {\n document.addEventListener('Goldfish.Layouts', this.addNewLayoutItems.bind(this), false);\n\n window.goldfishLayoutEventRegistered = true;\n }\n }\n\n return registerLayoutListener;\n }()\n\n // Only add new items when the state is ready\n\n }, {\n key: 'addNewLayoutItems',\n value: function () {\n function addNewLayoutItems(e) {\n if (typeof e.detail.layouts !== 'undefined') {\n if (typeof this.state === 'undefined') {\n setTimeout(function () {\n this.addNewLayoutItems(e);\n }, 800);\n } else {\n var newLayouts = filterFromCurrentLayout(e.detail.layouts, this.state.layout.current, this.state.layout.available);\n var layout = this.state.layout;\n\n layout.available = joinAndSortLayoutArray(layout.available, newLayouts);\n\n _PeopleSearchActions2['default'].updateLayout(layout);\n }\n }\n }\n\n return addNewLayoutItems;\n }()\n }, {\n key: 'handleLayoutSort',\n value: function () {\n function handleLayoutSort(fields) {\n // we have moved the current fields around. Update the state and storage cache\n this.state.layout.current = fields;\n\n _PeopleSearchActions2['default'].updateLayout(this.state.layout);\n }\n\n return handleLayoutSort;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n if (this.state !== null) {\n var layoutComponentStyles = {\n display: 'none !important',\n paddingTop: this.props.paddingTop\n };\n\n return _react2['default'].createElement(\n 'div',\n { id: 'component-layout', styleName: 'component', style: layoutComponentStyles },\n _react2['default'].createElement(\n 'div',\n { styleName: 'container' },\n _react2['default'].createElement(_Title2['default'], {\n text: this.props.title,\n suffix: 'Layout' })\n ),\n this.getAvailableLayoutFieldsHolder(this.state.layout.available),\n this.getCurrentLayoutFieldsHolder(this.state.layout.current)\n );\n }\n }\n\n return render;\n }()\n }]);\n\n return Layout;\n}(_react2['default'].Component);\n\nLayout.propTypes = {\n title: _react2['default'].PropTypes.string,\n paddingTop: _react2['default'].PropTypes.string,\n onLayoutChange: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Layout, _Layout2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/layout/Layout.jsx\n ** module id = 446\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/layout/Layout.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(448);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Layout.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Layout.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/layout/Layout.css\n ** module id = 447\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/layout/Layout.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._2zdi9bf97cJ0h9Zxtl-_me{width:400px!important;background-color:#f9f9f9;border-color:#c8c8c8;box-shadow:0 0 18px #d9d9d9;position:absolute;right:0;overflow-x:visible;height:1900px;padding:0 0 200px;direction:ltr}.bLxXAuo0m7zlOyn3v0UA7{width:320px!important}._3PWOuijMwirCcapSmJpRG_{margin:0 20px 20px}._1u6ZL2fb2_o6kcHu8hpTyD,.oXG_Fy82bDmT-xbE99JDd{margin:0 20px 20px;padding:5px;border-left:0;border-right:0;font-size:14px;border-radius:0 0 2% 2%}.oXG_Fy82bDmT-xbE99JDd i{float:left}.sortable-item:hover{background-color:#eee}.oXG_Fy82bDmT-xbE99JDd div div{padding:5px}.oXG_Fy82bDmT-xbE99JDd div div:hover{cursor:move;background-color:#f4f4f4}.oXG_Fy82bDmT-xbE99JDd div div span{display:none}.oXG_Fy82bDmT-xbE99JDd div div div span{display:block}._1u6ZL2fb2_o6kcHu8hpTyD{padding:20px 0}._1PlY7AGSzBYUMshUJQucJT input[type=button],._1u6ZL2fb2_o6kcHu8hpTyD button,.oXG_Fy82bDmT-xbE99JDd button,.oXG_Fy82bDmT-xbE99JDd input[type=button]{min-width:auto;padding:0;margin:-8px 10px 14px 5px;width:2rem!important;height:2rem!important;font-size:1rem;float:left}._1PlY7AGSzBYUMshUJQucJT input[type=button] span,._1u6ZL2fb2_o6kcHu8hpTyD button span,.oXG_Fy82bDmT-xbE99JDd button span,.oXG_Fy82bDmT-xbE99JDd input[type=button] span{line-height:2rem!important}._2E5tMhwMQUkFKlcPWrf_kF{float:right;margin-top:-27px}.oXG_Fy82bDmT-xbE99JDd div div._2E5tMhwMQUkFKlcPWrf_kF:hover{background:transparent!important}._2VkgXJqr1gZcAgzvl_vyPU{clear:both;color:#000}p._2FQfhmoCWVfWRpPLkXO38j{font-size:14px;margin:0 20px 5px}.j7mxptaGtrgzY7vknczLd button{background-color:#e51d2e!important;margin:0 130px}[draggable]{-moz-user-select:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:element}.sortable-item{background-color:#fff;cursor:move}.sortable-item ._1Tl-KZUMgGptOJlYpoqoC3{min-height:35px;width:100%;z-index:2000}.pointer-events-none{pointer-events:none}.sortable-item-over{border:1px dashed #ddd}", ""]);\n\n// exports\nexports.locals = {\n "component": "_2zdi9bf97cJ0h9Zxtl-_me",\n "container": "bLxXAuo0m7zlOyn3v0UA7",\n "layout-heading": "_3PWOuijMwirCcapSmJpRG_",\n "sortable-container": "oXG_Fy82bDmT-xbE99JDd",\n "available-container": "_1u6ZL2fb2_o6kcHu8hpTyD",\n "available-contianer": "_1PlY7AGSzBYUMshUJQucJT",\n "removal-button": "_2E5tMhwMQUkFKlcPWrf_kF",\n "left": "_2VkgXJqr1gZcAgzvl_vyPU",\n "info": "_2FQfhmoCWVfWRpPLkXO38j",\n "complete": "j7mxptaGtrgzY7vknczLd",\n "current-item": "_1Tl-KZUMgGptOJlYpoqoC3"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/layout/Layout.css\n ** module id = 448\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/layout/Layout.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactSelect = __webpack_require__(450);\n\nvar _reactSelect2 = _interopRequireDefault(_reactSelect);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Available = __webpack_require__(455);\n\nvar _Available2 = _interopRequireDefault(_Available);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Available = function (_React$Component) {\n _inherits(Available, _React$Component);\n\n function Available(props) {\n _classCallCheck(this, Available);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Available).call(this, props));\n }\n\n _createClass(Available, [{\n key: 'change',\n value: function () {\n function change(option) {\n if (option.label !== 'Add a field...') {\n this.props.onChange(option);\n }\n }\n\n return change;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n if (this.props !== null) {\n if (typeof this.props.options !== 'undefined') {\n var transition = 'flipInX';\n\n return _react2['default'].createElement(\n 'div',\n { key: 'available-selector' },\n _react2['default'].createElement(_reactSelect2['default'], {\n name: 'available-fields',\n className: 'selector animated ' + transition,\n placeholder: 'Add a field...',\n options: this.props.options,\n onChange: this.change.bind(this) })\n );\n }\n }\n }\n\n return render;\n }()\n }]);\n\n return Available;\n}(_react2['default'].Component);\n\nAvailable.propTypes = {\n options: _react2['default'].PropTypes.array,\n onChange: _react2['default'].PropTypes.func\n};\n\nAvailable.defaultProps = {\n options: []\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Available, _Available2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/available/Available.jsx\n ** module id = 449\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/available/Available.jsx?")},function(module,exports,__webpack_require__){eval("/* disable some rules until we refactor more completely; fixing them now would\n cause conflicts with some open PRs unnecessarily. */\n/* eslint react/jsx-sort-prop-types: 0, react/sort-comp: 0, react/prop-types: 0 */\n\n'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(357);\nvar Input = __webpack_require__(451);\nvar classes = __webpack_require__(408);\nvar Value = __webpack_require__(452);\nvar SingleValue = __webpack_require__(453);\nvar Option = __webpack_require__(454);\n\nvar requestId = 0;\n\nvar Select = React.createClass({\n\n displayName: 'Select',\n\n propTypes: {\n addLabelText: React.PropTypes.string, // placeholder displayed when you want to add a label on a multi-value input\n allowCreate: React.PropTypes.bool, // whether to allow creation of new entries\n asyncOptions: React.PropTypes.func, // function to call to get options\n autoload: React.PropTypes.bool, // whether to auto-load the default async options set\n backspaceRemoves: React.PropTypes.bool, // whether backspace removes an item if there is no text input\n cacheAsyncResults: React.PropTypes.bool, // whether to allow cache\n className: React.PropTypes.string, // className for the outer element\n clearAllText: React.PropTypes.string, // title for the \"clear\" control when multi: true\n clearValueText: React.PropTypes.string, // title for the \"clear\" control\n clearable: React.PropTypes.bool, // should it be possible to reset value\n delimiter: React.PropTypes.string, // delimiter to use to join multiple values\n disabled: React.PropTypes.bool, // whether the Select is disabled or not\n filterOption: React.PropTypes.func, // method to filter a single option (option, filterString)\n filterOptions: React.PropTypes.func, // method to filter the options array: function ([options], filterString, [values])\n ignoreCase: React.PropTypes.bool, // whether to perform case-insensitive filtering\n inputProps: React.PropTypes.object, // custom attributes for the Input (in the Select-control) e.g: {'data-foo': 'bar'}\n isLoading: React.PropTypes.bool, // whether the Select is loading externally or not (such as options being loaded)\n labelKey: React.PropTypes.string, // path of the label value in option objects\n matchPos: React.PropTypes.string, // (any|start) match the start or entire string when filtering\n matchProp: React.PropTypes.string, // (any|label|value) which option property to filter on\n multi: React.PropTypes.bool, // multi-value input\n name: React.PropTypes.string, // field name, for hidden <input /> tag\n newOptionCreator: React.PropTypes.func, // factory to create new options when allowCreate set\n noResultsText: React.PropTypes.string, // placeholder displayed when there are no matching search results\n onBlur: React.PropTypes.func, // onBlur handler: function (event) {}\n onChange: React.PropTypes.func, // onChange handler: function (newValue) {}\n onFocus: React.PropTypes.func, // onFocus handler: function (event) {}\n onInputChange: React.PropTypes.func, // onInputChange handler: function (inputValue) {}\n onOptionLabelClick: React.PropTypes.func, // onCLick handler for value labels: function (value, event) {}\n optionComponent: React.PropTypes.func, // option component to render in dropdown\n optionRenderer: React.PropTypes.func, // optionRenderer: function (option) {}\n options: React.PropTypes.array, // array of options\n placeholder: React.PropTypes.string, // field placeholder, displayed when there's no value\n searchable: React.PropTypes.bool, // whether to enable searching feature or not\n searchingText: React.PropTypes.string, // message to display whilst options are loading via asyncOptions\n searchPromptText: React.PropTypes.string, // label to prompt for search input\n singleValueComponent: React.PropTypes.func, // single value component when multiple is set to false\n value: React.PropTypes.any, // initial field value\n valueComponent: React.PropTypes.func, // value component to render in multiple mode\n valueKey: React.PropTypes.string, // path of the label value in option objects\n valueRenderer: React.PropTypes.func // valueRenderer: function (option) {}\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n addLabelText: 'Add \"{label}\"?',\n allowCreate: false,\n asyncOptions: undefined,\n autoload: true,\n backspaceRemoves: true,\n cacheAsyncResults: true,\n className: undefined,\n clearAllText: 'Clear all',\n clearValueText: 'Clear value',\n clearable: true,\n delimiter: ',',\n disabled: false,\n ignoreCase: true,\n inputProps: {},\n isLoading: false,\n labelKey: 'label',\n matchPos: 'any',\n matchProp: 'any',\n name: undefined,\n newOptionCreator: undefined,\n noResultsText: 'No results found',\n onChange: undefined,\n onInputChange: undefined,\n onOptionLabelClick: undefined,\n optionComponent: Option,\n options: undefined,\n placeholder: 'Select...',\n searchable: true,\n searchingText: 'Searching...',\n searchPromptText: 'Type to search',\n singleValueComponent: SingleValue,\n value: undefined,\n valueComponent: Value,\n valueKey: 'value'\n };\n },\n\n getInitialState: function getInitialState() {\n return {\n /*\n * set by getStateFromValue on componentWillMount:\n * - value\n * - values\n * - filteredOptions\n * - inputValue\n * - placeholder\n * - focusedOption\n */\n isFocused: false,\n isLoading: false,\n isOpen: false,\n options: this.props.options\n };\n },\n\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n this._optionsCache = {};\n this._optionsFilterString = '';\n this._closeMenuIfClickedOutside = function (event) {\n if (!_this.state.isOpen) {\n return;\n }\n var menuElem = ReactDOM.findDOMNode(_this.refs.selectMenuContainer);\n var controlElem = ReactDOM.findDOMNode(_this.refs.control);\n\n var eventOccuredOutsideMenu = _this.clickedOutsideElement(menuElem, event);\n var eventOccuredOutsideControl = _this.clickedOutsideElement(controlElem, event);\n\n // Hide dropdown menu if click occurred outside of menu\n if (eventOccuredOutsideMenu && eventOccuredOutsideControl) {\n _this.setState({\n isOpen: false\n }, _this._unbindCloseMenuIfClickedOutside);\n }\n };\n this._bindCloseMenuIfClickedOutside = function () {\n if (!document.addEventListener && document.attachEvent) {\n document.attachEvent('onclick', _this._closeMenuIfClickedOutside);\n } else {\n document.addEventListener('click', _this._closeMenuIfClickedOutside);\n }\n };\n this._unbindCloseMenuIfClickedOutside = function () {\n if (!document.removeEventListener && document.detachEvent) {\n document.detachEvent('onclick', _this._closeMenuIfClickedOutside);\n } else {\n document.removeEventListener('click', _this._closeMenuIfClickedOutside);\n }\n };\n this.setState(this.getStateFromValue(this.props.value));\n },\n\n componentDidMount: function componentDidMount() {\n if (this.props.asyncOptions && this.props.autoload) {\n this.autoloadAsyncOptions();\n }\n },\n\n componentWillUnmount: function componentWillUnmount() {\n clearTimeout(this._blurTimeout);\n clearTimeout(this._focusTimeout);\n if (this.state.isOpen) {\n this._unbindCloseMenuIfClickedOutside();\n }\n },\n\n componentWillReceiveProps: function componentWillReceiveProps(newProps) {\n var _this2 = this;\n\n var optionsChanged = false;\n if (JSON.stringify(newProps.options) !== JSON.stringify(this.props.options)) {\n optionsChanged = true;\n this.setState({\n options: newProps.options,\n filteredOptions: this.filterOptions(newProps.options)\n });\n }\n if (newProps.value !== this.state.value || newProps.placeholder !== this.props.placeholder || optionsChanged) {\n var setState = function setState(newState) {\n _this2.setState(_this2.getStateFromValue(newProps.value, newState && newState.options || newProps.options, newProps.placeholder));\n };\n if (this.props.asyncOptions) {\n this.loadAsyncOptions(newProps.value, {}, setState);\n } else {\n setState();\n }\n }\n },\n\n componentDidUpdate: function componentDidUpdate() {\n var _this3 = this;\n\n if (!this.props.disabled && this._focusAfterUpdate) {\n clearTimeout(this._blurTimeout);\n clearTimeout(this._focusTimeout);\n this._focusTimeout = setTimeout(function () {\n if (!_this3.isMounted()) return;\n _this3.getInputNode().focus();\n _this3._focusAfterUpdate = false;\n }, 50);\n }\n if (this._focusedOptionReveal) {\n if (this.refs.focused && this.refs.menu) {\n var focusedDOM = ReactDOM.findDOMNode(this.refs.focused);\n var menuDOM = ReactDOM.findDOMNode(this.refs.menu);\n var focusedRect = focusedDOM.getBoundingClientRect();\n var menuRect = menuDOM.getBoundingClientRect();\n\n if (focusedRect.bottom > menuRect.bottom || focusedRect.top < menuRect.top) {\n menuDOM.scrollTop = focusedDOM.offsetTop + focusedDOM.clientHeight - menuDOM.offsetHeight;\n }\n }\n this._focusedOptionReveal = false;\n }\n },\n\n focus: function focus() {\n this.getInputNode().focus();\n },\n\n clickedOutsideElement: function clickedOutsideElement(element, event) {\n var eventTarget = event.target ? event.target : event.srcElement;\n while (eventTarget != null) {\n if (eventTarget === element) return false;\n eventTarget = eventTarget.offsetParent;\n }\n return true;\n },\n\n getStateFromValue: function getStateFromValue(value, options, placeholder) {\n var _this4 = this;\n\n if (!options) {\n options = this.state.options;\n }\n if (!placeholder) {\n placeholder = this.props.placeholder;\n }\n\n // reset internal filter string\n this._optionsFilterString = '';\n\n var values = this.initValuesArray(value, options);\n var filteredOptions = this.filterOptions(options, values);\n\n var focusedOption;\n var valueForState = null;\n if (!this.props.multi && values.length) {\n focusedOption = values[0];\n valueForState = values[0][this.props.valueKey];\n } else {\n focusedOption = this.getFirstFocusableOption(filteredOptions);\n valueForState = values.map(function (v) {\n return v[_this4.props.valueKey];\n }).join(this.props.delimiter);\n }\n\n return {\n value: valueForState,\n values: values,\n inputValue: '',\n filteredOptions: filteredOptions,\n placeholder: !this.props.multi && values.length ? values[0][this.props.labelKey] : placeholder,\n focusedOption: focusedOption\n };\n },\n\n getFirstFocusableOption: function getFirstFocusableOption(options) {\n for (var optionIndex = 0; optionIndex < options.length; ++optionIndex) {\n if (!options[optionIndex].disabled) {\n return options[optionIndex];\n }\n }\n },\n\n initValuesArray: function initValuesArray(values, options) {\n var _this5 = this;\n\n if (!Array.isArray(values)) {\n if (typeof values === 'string') {\n values = values === '' ? [] : this.props.multi ? values.split(this.props.delimiter) : [values];\n } else {\n values = values !== undefined && values !== null ? [values] : [];\n }\n }\n return values.map(function (val) {\n if (typeof val === 'string' || typeof val === 'number') {\n var _ref;\n\n for (var key in options) {\n if (options.hasOwnProperty(key) && options[key] && (options[key][_this5.props.valueKey] === val || typeof options[key][_this5.props.valueKey] === 'number' && options[key][_this5.props.valueKey].toString() === val)) {\n return options[key];\n }\n }\n return _ref = {}, _defineProperty(_ref, _this5.props.valueKey, val), _defineProperty(_ref, _this5.props.labelKey, val), _ref;\n } else {\n return val;\n }\n });\n },\n\n setValue: function setValue(value, focusAfterUpdate) {\n if (focusAfterUpdate || focusAfterUpdate === undefined) {\n this._focusAfterUpdate = true;\n }\n var newState = this.getStateFromValue(value);\n newState.isOpen = false;\n this.fireChangeEvent(newState);\n this.setState(newState);\n },\n\n selectValue: function selectValue(value) {\n if (!this.props.multi) {\n this.setValue(value);\n } else if (value) {\n this.addValue(value);\n }\n this._unbindCloseMenuIfClickedOutside();\n },\n\n addValue: function addValue(value) {\n this.setValue(this.state.values.concat(value));\n },\n\n popValue: function popValue() {\n this.setValue(this.state.values.slice(0, this.state.values.length - 1));\n },\n\n removeValue: function removeValue(valueToRemove) {\n this.setValue(this.state.values.filter(function (value) {\n return value !== valueToRemove;\n }));\n },\n\n clearValue: function clearValue(event) {\n // if the event was triggered by a mousedown and not the primary\n // button, ignore it.\n if (event && event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n event.stopPropagation();\n event.preventDefault();\n this.setValue(null);\n },\n\n resetValue: function resetValue() {\n this.setValue(this.state.value === '' ? null : this.state.value);\n },\n\n getInputNode: function getInputNode() {\n var input = this.refs.input;\n return this.props.searchable ? input : ReactDOM.findDOMNode(input);\n },\n\n fireChangeEvent: function fireChangeEvent(newState) {\n if (newState.value !== this.state.value && this.props.onChange) {\n this.props.onChange(newState.value, newState.values);\n }\n },\n\n handleMouseDown: function handleMouseDown(event) {\n // if the event was triggered by a mousedown and not the primary\n // button, or if the component is disabled, ignore it.\n if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n event.stopPropagation();\n event.preventDefault();\n\n // for the non-searchable select, close the dropdown when button is clicked\n if (this.state.isOpen && !this.props.searchable) {\n this.setState({\n isOpen: false\n }, this._unbindCloseMenuIfClickedOutside);\n return;\n }\n\n if (this.state.isFocused) {\n this.setState({\n isOpen: true\n }, this._bindCloseMenuIfClickedOutside);\n } else {\n this._openAfterFocus = true;\n this.getInputNode().focus();\n }\n },\n\n handleMouseDownOnMenu: function handleMouseDownOnMenu(event) {\n // if the event was triggered by a mousedown and not the primary\n // button, or if the component is disabled, ignore it.\n if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n event.stopPropagation();\n event.preventDefault();\n },\n\n handleMouseDownOnArrow: function handleMouseDownOnArrow(event) {\n // if the event was triggered by a mousedown and not the primary\n // button, or if the component is disabled, ignore it.\n if (this.props.disabled || event.type === 'mousedown' && event.button !== 0) {\n return;\n }\n // If not focused, handleMouseDown will handle it\n if (!this.state.isOpen) {\n return;\n }\n event.stopPropagation();\n event.preventDefault();\n this.setState({\n isOpen: false\n }, this._unbindCloseMenuIfClickedOutside);\n },\n\n handleInputFocus: function handleInputFocus(event) {\n var _this6 = this;\n\n var newIsOpen = this.state.isOpen || this._openAfterFocus;\n this.setState({\n isFocused: true,\n isOpen: newIsOpen\n }, function () {\n if (newIsOpen) {\n _this6._bindCloseMenuIfClickedOutside();\n } else {\n _this6._unbindCloseMenuIfClickedOutside();\n }\n });\n this._openAfterFocus = false;\n if (this.props.onFocus) {\n this.props.onFocus(event);\n }\n },\n\n handleInputBlur: function handleInputBlur(event) {\n var _this7 = this;\n\n var menuDOM = ReactDOM.findDOMNode(this.refs.menu);\n if (document.activeElement.isEqualNode(menuDOM)) {\n return;\n }\n this._blurTimeout = setTimeout(function () {\n if (_this7._focusAfterUpdate || !_this7.isMounted()) return;\n _this7.setState({\n inputValue: '',\n isFocused: false,\n isOpen: false\n });\n }, 50);\n if (this.props.onBlur) {\n this.props.onBlur(event);\n }\n },\n\n handleKeyDown: function handleKeyDown(event) {\n if (this.props.disabled) return;\n switch (event.keyCode) {\n case 8:\n // backspace\n if (!this.state.inputValue && this.props.backspaceRemoves) {\n event.preventDefault();\n this.popValue();\n }\n return;\n case 9:\n // tab\n if (event.shiftKey || !this.state.isOpen || !this.state.focusedOption) {\n return;\n }\n this.selectFocusedOption();\n break;\n case 13:\n // enter\n if (!this.state.isOpen) return;\n this.selectFocusedOption();\n break;\n case 27:\n // escape\n if (this.state.isOpen) {\n this.resetValue();\n } else if (this.props.clearable) {\n this.clearValue(event);\n }\n break;\n case 38:\n // up\n this.focusPreviousOption();\n break;\n case 40:\n // down\n this.focusNextOption();\n break;\n case 188:\n // ,\n if (this.props.allowCreate && this.props.multi) {\n event.preventDefault();\n event.stopPropagation();\n this.selectFocusedOption();\n } else {\n return;\n }\n break;\n default:\n return;\n }\n event.preventDefault();\n },\n\n // Ensures that the currently focused option is available in filteredOptions.\n // If not, returns the first available option.\n _getNewFocusedOption: function _getNewFocusedOption(filteredOptions) {\n for (var key in filteredOptions) {\n if (filteredOptions.hasOwnProperty(key) && filteredOptions[key] === this.state.focusedOption) {\n return filteredOptions[key];\n }\n }\n return this.getFirstFocusableOption(filteredOptions);\n },\n\n handleInputChange: function handleInputChange(event) {\n // assign an internal variable because we need to use\n // the latest value before setState() has completed.\n this._optionsFilterString = event.target.value;\n if (this.props.onInputChange) {\n this.props.onInputChange(event.target.value);\n }\n if (this.props.asyncOptions) {\n this.setState({\n isLoading: true,\n inputValue: event.target.value\n });\n this.loadAsyncOptions(event.target.value, {\n isLoading: false,\n isOpen: true\n }, this._bindCloseMenuIfClickedOutside);\n } else {\n var filteredOptions = this.filterOptions(this.state.options);\n this.setState({\n isOpen: true,\n inputValue: event.target.value,\n filteredOptions: filteredOptions,\n focusedOption: this._getNewFocusedOption(filteredOptions)\n }, this._bindCloseMenuIfClickedOutside);\n }\n },\n\n autoloadAsyncOptions: function autoloadAsyncOptions() {\n var _this8 = this;\n\n this.setState({\n isLoading: true\n });\n this.loadAsyncOptions('', { isLoading: false }, function () {\n // update with new options but don't focus\n _this8.setValue(_this8.props.value, false);\n });\n },\n\n loadAsyncOptions: function loadAsyncOptions(input, state, callback) {\n if (input === undefined) input = '';\n\n var _this9 = this;\n\n var thisRequestId = this._currentRequestId = requestId++;\n if (this.props.cacheAsyncResults) {\n for (var i = 0; i <= input.length; i++) {\n var cacheKey = input.slice(0, i);\n if (this._optionsCache[cacheKey] && (input === cacheKey || this._optionsCache[cacheKey].complete)) {\n var options = this._optionsCache[cacheKey].options;\n var filteredOptions = this.filterOptions(options);\n var newState = {\n options: options,\n filteredOptions: filteredOptions,\n focusedOption: this._getNewFocusedOption(filteredOptions)\n };\n for (var key in state) {\n if (state.hasOwnProperty(key)) {\n newState[key] = state[key];\n }\n }\n this.setState(newState);\n if (callback) callback.call(this, newState);\n return;\n }\n }\n }\n\n var optionsResponseHandler = function optionsResponseHandler(err, data) {\n if (err) throw err;\n if (_this9.props.cacheAsyncResults) {\n _this9._optionsCache[input] = data;\n }\n if (thisRequestId !== _this9._currentRequestId) {\n return;\n }\n var filteredOptions = _this9.filterOptions(data.options);\n var newState = {\n options: data.options,\n filteredOptions: filteredOptions,\n focusedOption: _this9._getNewFocusedOption(filteredOptions)\n };\n for (var key in state) {\n if (state.hasOwnProperty(key)) {\n newState[key] = state[key];\n }\n }\n _this9.setState(newState);\n if (callback) callback.call(_this9, newState);\n };\n\n var asyncOpts = this.props.asyncOptions(input, optionsResponseHandler);\n\n if (asyncOpts && typeof asyncOpts.then === 'function') {\n asyncOpts.then(function (data) {\n optionsResponseHandler(null, data);\n }, function (err) {\n optionsResponseHandler(err);\n });\n }\n },\n\n filterOptions: function filterOptions(options, values) {\n var _this10 = this;\n\n var filterValue = this._optionsFilterString;\n var exclude = (values || this.state.values).map(function (i) {\n return i[_this10.props.valueKey];\n });\n if (this.props.filterOptions) {\n return this.props.filterOptions.call(this, options, filterValue, exclude);\n } else {\n var filterOption = function filterOption(op) {\n if (this.props.multi && exclude.indexOf(op[this.props.valueKey]) > -1) return false;\n if (this.props.filterOption) return this.props.filterOption.call(this, op, filterValue);\n var valueTest = String(op[this.props.valueKey]);\n var labelTest = String(op[this.props.labelKey]);\n if (this.props.ignoreCase) {\n valueTest = valueTest.toLowerCase();\n labelTest = labelTest.toLowerCase();\n filterValue = filterValue.toLowerCase();\n }\n return !filterValue || this.props.matchPos === 'start' ? this.props.matchProp !== 'label' && valueTest.substr(0, filterValue.length) === filterValue || this.props.matchProp !== 'value' && labelTest.substr(0, filterValue.length) === filterValue : this.props.matchProp !== 'label' && valueTest.indexOf(filterValue) >= 0 || this.props.matchProp !== 'value' && labelTest.indexOf(filterValue) >= 0;\n };\n return (options || []).filter(filterOption, this);\n }\n },\n\n selectFocusedOption: function selectFocusedOption() {\n if (this.props.allowCreate && !this.state.focusedOption) {\n return this.selectValue(this.state.inputValue);\n }\n\n if (this.state.focusedOption) {\n return this.selectValue(this.state.focusedOption);\n }\n },\n\n focusOption: function focusOption(op) {\n this.setState({\n focusedOption: op\n });\n },\n\n focusNextOption: function focusNextOption() {\n this.focusAdjacentOption('next');\n },\n\n focusPreviousOption: function focusPreviousOption() {\n this.focusAdjacentOption('previous');\n },\n\n focusAdjacentOption: function focusAdjacentOption(dir) {\n this._focusedOptionReveal = true;\n var ops = this.state.filteredOptions.filter(function (op) {\n return !op.disabled;\n });\n if (!this.state.isOpen) {\n this.setState({\n isOpen: true,\n inputValue: '',\n focusedOption: this.state.focusedOption || ops[dir === 'next' ? 0 : ops.length - 1]\n }, this._bindCloseMenuIfClickedOutside);\n return;\n }\n if (!ops.length) {\n return;\n }\n var focusedIndex = -1;\n for (var i = 0; i < ops.length; i++) {\n if (this.state.focusedOption === ops[i]) {\n focusedIndex = i;\n break;\n }\n }\n var focusedOption = ops[0];\n if (dir === 'next' && focusedIndex > -1 && focusedIndex < ops.length - 1) {\n focusedOption = ops[focusedIndex + 1];\n } else if (dir === 'previous') {\n if (focusedIndex > 0) {\n focusedOption = ops[focusedIndex - 1];\n } else {\n focusedOption = ops[ops.length - 1];\n }\n }\n this.setState({\n focusedOption: focusedOption\n });\n },\n\n unfocusOption: function unfocusOption(op) {\n if (this.state.focusedOption === op) {\n this.setState({\n focusedOption: null\n });\n }\n },\n\n renderOptionLabel: function renderOptionLabel(op) {\n return op[this.props.labelKey];\n },\n\n buildMenu: function buildMenu() {\n var focusedValue = this.state.focusedOption ? this.state.focusedOption[this.props.valueKey] : null;\n var renderLabel = this.props.optionRenderer || this.renderOptionLabel;\n if (this.state.filteredOptions.length > 0) {\n focusedValue = focusedValue == null ? this.state.filteredOptions[0] : focusedValue;\n }\n // Add the current value to the filtered options in last resort\n var options = this.state.filteredOptions;\n if (this.props.allowCreate && this.state.inputValue.trim()) {\n var inputValue = this.state.inputValue;\n options = options.slice();\n var newOption = this.props.newOptionCreator ? this.props.newOptionCreator(inputValue) : {\n value: inputValue,\n label: inputValue,\n create: true\n };\n options.unshift(newOption);\n }\n var ops = Object.keys(options).map(function (key) {\n var op = options[key];\n var isSelected = this.state.value === op[this.props.valueKey];\n var isFocused = focusedValue === op[this.props.valueKey];\n var optionClass = classes({\n 'Select-option': true,\n 'is-selected': isSelected,\n 'is-focused': isFocused,\n 'is-disabled': op.disabled\n });\n var ref = isFocused ? 'focused' : null;\n var optionResult = React.createElement(this.props.optionComponent, {\n key: 'option-' + op[this.props.valueKey],\n className: optionClass,\n renderFunc: renderLabel,\n mouseDown: this.selectValue,\n mouseEnter: this.focusOption,\n mouseLeave: this.unfocusOption,\n addLabelText: this.props.addLabelText,\n option: op,\n ref: ref\n });\n return optionResult;\n }, this);\n\n if (ops.length) {\n return ops;\n } else {\n var noResultsText, promptClass;\n if (this.isLoading()) {\n promptClass = 'Select-searching';\n noResultsText = this.props.searchingText;\n } else if (this.state.inputValue || !this.props.asyncOptions) {\n promptClass = 'Select-noresults';\n noResultsText = this.props.noResultsText;\n } else {\n promptClass = 'Select-search-prompt';\n noResultsText = this.props.searchPromptText;\n }\n\n return React.createElement(\n 'div',\n { className: promptClass },\n noResultsText\n );\n }\n },\n\n handleOptionLabelClick: function handleOptionLabelClick(value, event) {\n if (this.props.onOptionLabelClick) {\n this.props.onOptionLabelClick(value, event);\n }\n },\n\n isLoading: function isLoading() {\n return this.props.isLoading || this.state.isLoading;\n },\n\n render: function render() {\n var selectClass = classes('Select', this.props.className, {\n 'Select--multi': this.props.multi,\n 'is-searchable': this.props.searchable,\n 'is-open': this.state.isOpen,\n 'is-focused': this.state.isFocused,\n 'is-loading': this.isLoading(),\n 'is-disabled': this.props.disabled,\n 'has-value': this.state.value\n });\n var value = [];\n if (this.props.multi) {\n this.state.values.forEach(function (val) {\n var renderLabel = this.props.valueRenderer || this.renderOptionLabel;\n var onOptionLabelClick = this.handleOptionLabelClick.bind(this, val);\n var onRemove = this.removeValue.bind(this, val);\n var valueComponent = React.createElement(this.props.valueComponent, {\n key: val[this.props.valueKey],\n option: val,\n renderer: renderLabel,\n optionLabelClick: !!this.props.onOptionLabelClick,\n onOptionLabelClick: onOptionLabelClick,\n onRemove: onRemove,\n disabled: this.props.disabled\n });\n value.push(valueComponent);\n }, this);\n }\n\n if (!this.state.inputValue && (!this.props.multi || !value.length)) {\n var val = this.state.values[0] || null;\n if (this.props.valueRenderer && !!this.state.values.length) {\n value.push(React.createElement(Value, {\n key: 0,\n option: val,\n renderer: this.props.valueRenderer,\n disabled: this.props.disabled }));\n } else {\n var singleValueComponent = React.createElement(this.props.singleValueComponent, {\n key: 'placeholder',\n value: val,\n placeholder: this.state.placeholder\n });\n value.push(singleValueComponent);\n }\n }\n\n // loading spinner\n var loading = this.isLoading() ? React.createElement(\n 'span',\n { className: 'Select-loading-zone', 'aria-hidden': 'true' },\n React.createElement('span', { className: 'Select-loading' })\n ) : null;\n\n // clear \"x\" button\n var clear = this.props.clearable && this.state.value && !this.props.disabled && !this.isLoading() ? React.createElement(\n 'span',\n { className: 'Select-clear-zone', title: this.props.multi ? this.props.clearAllText : this.props.clearValueText, 'aria-label': this.props.multi ? this.props.clearAllText : this.props.clearValueText, onMouseDown: this.clearValue, onTouchEnd: this.clearValue, onClick: this.clearValue },\n React.createElement('span', { className: 'Select-clear', dangerouslySetInnerHTML: { __html: '×' } })\n ) : null;\n\n // indicator arrow\n var arrow = React.createElement(\n 'span',\n { className: 'Select-arrow-zone', onMouseDown: this.handleMouseDownOnArrow },\n React.createElement('span', { className: 'Select-arrow', onMouseDown: this.handleMouseDownOnArrow })\n );\n\n var menu;\n var menuProps;\n if (this.state.isOpen) {\n menuProps = {\n ref: 'menu',\n className: 'Select-menu',\n onMouseDown: this.handleMouseDownOnMenu\n };\n menu = React.createElement(\n 'div',\n { ref: 'selectMenuContainer', className: 'Select-menu-outer' },\n React.createElement(\n 'div',\n menuProps,\n this.buildMenu()\n )\n );\n }\n\n var input;\n var inputProps = {\n ref: 'input',\n className: 'Select-input ' + (this.props.inputProps.className || ''),\n tabIndex: this.props.tabIndex || 0,\n onFocus: this.handleInputFocus,\n onBlur: this.handleInputBlur\n };\n for (var key in this.props.inputProps) {\n if (this.props.inputProps.hasOwnProperty(key) && key !== 'className') {\n inputProps[key] = this.props.inputProps[key];\n }\n }\n\n if (!this.props.disabled) {\n if (this.props.searchable) {\n input = React.createElement(Input, _extends({ value: this.state.inputValue, onChange: this.handleInputChange, minWidth: '5' }, inputProps));\n } else {\n input = React.createElement(\n 'div',\n inputProps,\n ' '\n );\n }\n } else if (!this.props.multi || !this.state.values.length) {\n input = React.createElement(\n 'div',\n { className: 'Select-input' },\n ' '\n );\n }\n\n return React.createElement(\n 'div',\n { ref: 'wrapper', className: selectClass },\n React.createElement('input', { type: 'hidden', ref: 'value', name: this.props.name, value: this.state.value, disabled: this.props.disabled }),\n React.createElement(\n 'div',\n { className: 'Select-control', ref: 'control', onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown, onTouchEnd: this.handleMouseDown },\n value,\n input,\n loading,\n clear,\n arrow\n ),\n menu\n );\n }\n});\n\nmodule.exports = Select;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-select/lib/Select.js\n ** module id = 450\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-select/lib/Select.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar React = __webpack_require__(1);\n\nvar sizerStyle = { position: 'absolute', visibility: 'hidden', height: 0, width: 0, overflow: 'scroll', whiteSpace: 'pre' };\n\nvar nextFrame = typeof window !== 'undefined' ? (function () {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (callback) {\n window.setTimeout(callback, 1000 / 60);\n };\n})().bind(window) : undefined; // If window is undefined, then we can't define a nextFrame function\n\nvar AutosizeInput = React.createClass({\n displayName: 'AutosizeInput',\n\n propTypes: {\n value: React.PropTypes.any, // field value\n defaultValue: React.PropTypes.any, // default field value\n onChange: React.PropTypes.func, // onChange handler: function(newValue) {}\n style: React.PropTypes.object, // css styles for the outer element\n className: React.PropTypes.string, // className for the outer element\n minWidth: React.PropTypes.oneOfType([// minimum width for input element\n React.PropTypes.number, React.PropTypes.string]),\n inputStyle: React.PropTypes.object, // css styles for the input element\n inputClassName: React.PropTypes.string // className for the input element\n },\n getDefaultProps: function getDefaultProps() {\n return {\n minWidth: 1\n };\n },\n getInitialState: function getInitialState() {\n return {\n inputWidth: this.props.minWidth\n };\n },\n componentDidMount: function componentDidMount() {\n this.copyInputStyles();\n this.updateInputWidth();\n },\n componentDidUpdate: function componentDidUpdate() {\n this.updateInputWidth();\n },\n copyInputStyles: function copyInputStyles() {\n if (!this.isMounted() || !window.getComputedStyle) {\n return;\n }\n var inputStyle = window.getComputedStyle(this.refs.input);\n if (!inputStyle) {\n return;\n }\n var widthNode = this.refs.sizer;\n widthNode.style.fontSize = inputStyle.fontSize;\n widthNode.style.fontFamily = inputStyle.fontFamily;\n widthNode.style.fontWeight = inputStyle.fontWeight;\n widthNode.style.fontStyle = inputStyle.fontStyle;\n widthNode.style.letterSpacing = inputStyle.letterSpacing;\n if (this.props.placeholder) {\n var placeholderNode = this.refs.placeholderSizer;\n placeholderNode.style.fontSize = inputStyle.fontSize;\n placeholderNode.style.fontFamily = inputStyle.fontFamily;\n placeholderNode.style.fontWeight = inputStyle.fontWeight;\n placeholderNode.style.fontStyle = inputStyle.fontStyle;\n placeholderNode.style.letterSpacing = inputStyle.letterSpacing;\n }\n },\n updateInputWidth: function updateInputWidth() {\n if (!this.isMounted() || typeof this.refs.sizer.scrollWidth === 'undefined') {\n return;\n }\n var newInputWidth = undefined;\n if (this.props.placeholder) {\n newInputWidth = Math.max(this.refs.sizer.scrollWidth, this.refs.placeholderSizer.scrollWidth) + 2;\n } else {\n newInputWidth = this.refs.sizer.scrollWidth + 2;\n }\n if (newInputWidth < this.props.minWidth) {\n newInputWidth = this.props.minWidth;\n }\n if (newInputWidth !== this.state.inputWidth) {\n this.setState({\n inputWidth: newInputWidth\n });\n }\n },\n getInput: function getInput() {\n return this.refs.input;\n },\n focus: function focus() {\n this.refs.input.focus();\n },\n blur: function blur() {\n this.refs.input.blur();\n },\n select: function select() {\n this.refs.input.select();\n },\n render: function render() {\n var sizerValue = this.props.defaultValue || this.props.value || '';\n var wrapperStyle = this.props.style || {};\n if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';\n var inputStyle = _extends({}, this.props.inputStyle);\n inputStyle.width = this.state.inputWidth + 'px';\n inputStyle.boxSizing = 'content-box';\n var placeholder = this.props.placeholder ? React.createElement(\n 'div',\n { ref: 'placeholderSizer', style: sizerStyle },\n this.props.placeholder\n ) : null;\n return React.createElement(\n 'div',\n { className: this.props.className, style: wrapperStyle },\n React.createElement('input', _extends({}, this.props, { ref: 'input', className: this.props.inputClassName, style: inputStyle })),\n React.createElement(\n 'div',\n { ref: 'sizer', style: sizerStyle },\n sizerValue\n ),\n placeholder\n );\n }\n});\n\nmodule.exports = AutosizeInput;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-input-autosize/lib/AutosizeInput.js\n ** module id = 451\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-input-autosize/lib/AutosizeInput.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar classes = __webpack_require__(408);\n\nvar Value = React.createClass({\n\n displayName: 'Value',\n\n propTypes: {\n disabled: React.PropTypes.bool, // disabled prop passed to ReactSelect\n onOptionLabelClick: React.PropTypes.func, // method to handle click on value label\n onRemove: React.PropTypes.func, // method to handle remove of that value\n option: React.PropTypes.object.isRequired, // option passed to component\n optionLabelClick: React.PropTypes.bool, // indicates if onOptionLabelClick should be handled\n renderer: React.PropTypes.func // method to render option label passed to ReactSelect\n },\n\n blockEvent: function blockEvent(event) {\n event.stopPropagation();\n },\n\n handleOnRemove: function handleOnRemove(event) {\n if (!this.props.disabled) {\n this.props.onRemove(event);\n }\n },\n\n render: function render() {\n var label = this.props.option.label;\n if (this.props.renderer) {\n label = this.props.renderer(this.props.option);\n }\n\n if (!this.props.onRemove && !this.props.optionLabelClick) {\n return React.createElement(\n 'div',\n {\n className: classes('Select-value', this.props.option.className),\n style: this.props.option.style,\n title: this.props.option.title\n },\n label\n );\n }\n\n if (this.props.optionLabelClick) {\n label = React.createElement(\n 'a',\n { className: classes('Select-item-label__a', this.props.option.className),\n onMouseDown: this.blockEvent,\n onTouchEnd: this.props.onOptionLabelClick,\n onClick: this.props.onOptionLabelClick,\n style: this.props.option.style,\n title: this.props.option.title },\n label\n );\n }\n\n return React.createElement(\n 'div',\n { className: classes('Select-item', this.props.option.className),\n style: this.props.option.style,\n title: this.props.option.title },\n React.createElement(\n 'span',\n { className: 'Select-item-icon',\n onMouseDown: this.blockEvent,\n onClick: this.handleOnRemove,\n onTouchEnd: this.handleOnRemove },\n '×'\n ),\n React.createElement(\n 'span',\n { className: 'Select-item-label' },\n label\n )\n );\n }\n\n});\n\nmodule.exports = Value;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-select/lib/Value.js\n ** module id = 452\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-select/lib/Value.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar classes = __webpack_require__(408);\n\nvar SingleValue = React.createClass({\n displayName: 'SingleValue',\n\n propTypes: {\n placeholder: React.PropTypes.string, // this is default value provided by React-Select based component\n value: React.PropTypes.object // selected option\n },\n render: function render() {\n var classNames = classes('Select-placeholder', this.props.value && this.props.value.className);\n return React.createElement(\n 'div',\n {\n className: classNames,\n style: this.props.value && this.props.value.style,\n title: this.props.value && this.props.value.title\n },\n this.props.placeholder\n );\n }\n});\n\nmodule.exports = SingleValue;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-select/lib/SingleValue.js\n ** module id = 453\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-select/lib/SingleValue.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar classes = __webpack_require__(408);\n\nvar Option = React.createClass({\n displayName: 'Option',\n\n propTypes: {\n addLabelText: React.PropTypes.string, // string rendered in case of allowCreate option passed to ReactSelect\n className: React.PropTypes.string, // className (based on mouse position)\n mouseDown: React.PropTypes.func, // method to handle click on option element\n mouseEnter: React.PropTypes.func, // method to handle mouseEnter on option element\n mouseLeave: React.PropTypes.func, // method to handle mouseLeave on option element\n option: React.PropTypes.object.isRequired, // object that is base for that option\n renderFunc: React.PropTypes.func // method passed to ReactSelect component to render label text\n },\n blockEvent: function blockEvent(event) {\n event.preventDefault();\n if (event.target.tagName !== 'A' || !('href' in event.target)) {\n return;\n }\n\n if (event.target.target) {\n window.open(event.target.href);\n } else {\n window.location.href = event.target.href;\n }\n },\n handleMouseDown: function handleMouseDown(e) {\n this.props.mouseDown(this.props.option, e);\n },\n handleMouseEnter: function handleMouseEnter(e) {\n this.props.mouseEnter(this.props.option, e);\n },\n handleMouseLeave: function handleMouseLeave(e) {\n this.props.mouseLeave(this.props.option, e);\n },\n render: function render() {\n var option = this.props.option;\n var label = option.create ? this.props.addLabelText.replace('{label}', option.label) : this.props.renderFunc(option);\n var optionClasses = classes(this.props.className, option.className);\n\n return option.disabled ? React.createElement(\n 'div',\n { className: optionClasses,\n onMouseDown: this.blockEvent,\n onClick: this.blockEvent },\n label\n ) : React.createElement(\n 'div',\n { className: optionClasses,\n style: option.style,\n onMouseDown: this.handleMouseDown,\n onMouseEnter: this.handleMouseEnter,\n onMouseLeave: this.handleMouseLeave,\n onClick: this.handleMouseDown,\n title: option.title },\n label\n );\n }\n});\n\nmodule.exports = Option;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-select/lib/Option.js\n ** module id = 454\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-select/lib/Option.js?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(456);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Available.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Available.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/available/Available.css\n ** module id = 455\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/available/Available.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".selector{width:360px;margin:20px;z-index:2004}.Select{position:relative;z-index:2004}.Select,.Select div,.Select input,.Select span{box-sizing:border-box}.Select.is-disabled>.Select-control{background-color:#f9f9f9}.Select.is-disabled>.Select-control:hover{box-shadow:none}.Select.is-disabled .Select-arrow-zone{cursor:default;pointer-events:none}.Select-control{background-color:#fff;border-color:#d9d9d9 #ccc #b3b3b3;border-radius:4px;border:1px solid #ccc;color:#333;cursor:default;display:table;height:36px;outline:none;overflow:hidden;position:relative;width:100%}.Select-control:hover{box-shadow:0 1px 0 rgba(0,0,0,.06)}.is-searchable.is-open>.Select-control{cursor:text}.is-open>.Select-control{border-bottom-right-radius:0;border-bottom-left-radius:0;background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.is-open>.Select-control>.Select-arrow{border-color:transparent transparent #999;border-width:0 5px 5px}.is-searchable.is-focused:not(.is-open)>.Select-control{cursor:text}.is-focused:not(.is-open)>.Select-control{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 0 3px rgba(0,126,255,.1)}.Select-placeholder,:not(.Select--multi)>.Select-control .Select-value{bottom:0;color:#aaa;left:0;line-height:34px;padding-left:10px;padding-right:10px;position:absolute;right:0;top:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.has-value.is-pseudo-focused:not(.Select--multi)>.Select-control>.Select-value .Select-value-label,.has-value:not(.Select--multi)>.Select-control>.Select-value .Select-value-label{color:#333}.has-value.is-pseudo-focused:not(.Select--multi)>.Select-control>.Select-value a.Select-value-label,.has-value:not(.Select--multi)>.Select-control>.Select-value a.Select-value-label{cursor:pointer;text-decoration:none}.has-value.is-pseudo-focused:not(.Select--multi)>.Select-control>.Select-value a.Select-value-label:focus,.has-value.is-pseudo-focused:not(.Select--multi)>.Select-control>.Select-value a.Select-value-label:hover,.has-value:not(._2UHVh9tnfWsTqafv6XZ3l_)>.Select-control>.Select-value a.Select-value-label:focus,.has-value:not(.Select--multi)>.Select-control>.Select-value a.Select-value-label:hover{color:#007eff;outline:none;text-decoration:underline}.Select-input{height:34px;padding-left:10px;padding-right:10px;vertical-align:middle}.Select-input>input{background:none transparent;border:0 none;box-shadow:none;cursor:default;display:inline-block;font-family:inherit;font-size:inherit;height:34px;margin:0;outline:none;padding:0;-webkit-appearance:none}.is-focused .Select-input>input{cursor:text}.has-value.is-pseudo-focused .Select-input{opacity:0}.Select-control:not(.is-searchable)>.Select-input{outline:none}.Select-loading-zone{cursor:pointer;display:table-cell;text-align:center}.Select-loading,.Select-loading-zone{position:relative;vertical-align:middle;width:16px}.Select-loading{-webkit-animation:_3MyiEzW-WS11LVGcOtUcwI .4s infinite linear;animation:_3MyiEzW-WS11LVGcOtUcwI .4s infinite linear;height:16px;box-sizing:border-box;border-radius:50%;border:2px solid #ccc;border-right-color:#333;display:inline-block}.Select-clear-zone{-webkit-animation:_1awN2JlyeHSHfUoVp8EPdE .2s;animation:_1awN2JlyeHSHfUoVp8EPdE .2s;color:#999;cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:17px}.Select-clear-zone:hover{color:#d0021b}.Select-clear{display:inline-block;font-size:18px;line-height:1}.Select--multi .Select-clear-zone{width:17px}.Select-arrow-zone{cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:25px;padding-right:5px}.Select-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px;display:inline-block;height:0;width:0}.is-open .Select-arrow,.Select-arrow-zone:hover>.Select-arrow{border-top-color:#666}@-webkit-keyframes _1awN2JlyeHSHfUoVp8EPdE{0%{opacity:0}to{opacity:1}}@keyframes _1awN2JlyeHSHfUoVp8EPdE{0%{opacity:0}to{opacity:1}}.Select-menu-outer{border-bottom-right-radius:4px;border-bottom-left-radius:4px;background-color:#fff;border:1px solid #ccc;border-top-color:#e6e6e6;box-shadow:0 1px 0 rgba(0,0,0,.06);box-sizing:border-box;margin-top:-1px;max-height:200px;position:absolute;top:100%;width:100%;z-index:2004;-webkit-overflow-scrolling:touch}.Select-menu{max-height:198px;overflow-y:auto;text-align:left;z-index:2004}.Select-option{box-sizing:border-box;background-color:#fff;color:#666;cursor:pointer;display:block;padding:8px 10px;z-index:2004}.Select-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.Select-option.is-focused{background-color:rgba(0,126,255,.08);color:#333}.Select-option.is-disabled{color:#ccc;cursor:default}.Select-noresults{box-sizing:border-box;color:#999;cursor:default;display:block;padding:8px 10px}.Select--multi .Select-input{vertical-align:middle;margin-left:10px;padding:0}.Select--multi.has-value .Select-input{margin-left:5px}.Select--multi .Select-value{background-color:rgba(0,126,255,.08);border-radius:2px;border:1px solid rgba(0,126,255,.24);color:#007eff;display:inline-block;font-size:.9em;line-height:1.4;margin-left:5px;margin-top:5px;vertical-align:top}.Select--multi .Select-value-icon,.Select--multi .Select-value-label{display:inline-block;vertical-align:middle}.Select--multi .Select-value-label{border-bottom-right-radius:2px;border-top-right-radius:2px;cursor:default;padding:2px 5px}.Select--multi a.Select-value-label{color:#007eff;cursor:pointer;text-decoration:none}.Select--multi a.Select-value-label:hover{text-decoration:underline}.Select--multi .Select-value-icon{cursor:pointer;border-bottom-left-radius:2px;border-top-left-radius:2px;border-right:1px solid rgba(0,126,255,.24);padding:1px 5px 3px}.Select--multi .Select-value-icon:focus,.Select--multi .Select-value-icon:hover{background-color:rgba(0,113,230,.08);color:#0071e6}.Select--multi .Select-value-icon:active{background-color:rgba(0,126,255,.24)}.Select--multi.is-disabled .Select-value{background-color:#fcfcfc;border:1px solid #e3e3e3;color:#333}.Select--multi.is-disabled .Select-value-icon{cursor:not-allowed;border-right:1px solid #e3e3e3}.Select--multi.is-disabled .Select-value-icon:active,.Select--multi.is-disabled .Select-value-icon:focus,.Select--multi.is-disabled .Select-value-icon:hover{background-color:#fcfcfc}@keyframes _3MyiEzW-WS11LVGcOtUcwI{to{transform:rotate(1turn)}}@-webkit-keyframes _3MyiEzW-WS11LVGcOtUcwI{to{-webkit-transform:rotate(1turn)}}", ""]);\n\n// exports\nexports.locals = {\n "Select--multi": "_2UHVh9tnfWsTqafv6XZ3l_",\n "Select-animation-spin": "_3MyiEzW-WS11LVGcOtUcwI",\n "Select-animation-fadeIn": "_1awN2JlyeHSHfUoVp8EPdE"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/available/Available.css\n ** module id = 456\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/available/Available.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nexports.SortableItems = __webpack_require__(458);\nexports.SortableItem = __webpack_require__(459);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-sortable-component/lib/index.js\n ** module id = 457\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-sortable-component/lib/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar SortableItems = (function (_React$Component) {\n _inherits(SortableItems, _React$Component);\n\n function SortableItems() {\n var _this = this;\n\n _classCallCheck(this, SortableItems);\n\n _get(Object.getPrototypeOf(SortableItems.prototype), 'constructor', this).apply(this, arguments);\n\n this.componentWillMount = function () {\n _this.handleProps(_this.props);\n };\n\n this.componentWillReceiveProps = function (nextProps) {\n _this.handleProps(nextProps);\n };\n\n this.handleProps = function (props) {\n if (!props.children) {\n throw new Error('SortableItems must contain at least one SortableItem');\n }\n\n var children = props.children;\n if (!Array.isArray(children)) {\n children = [children];\n }\n\n var keys = children.map(function (child, index) {\n return index;\n });\n\n _this.setState({\n keys: keys\n });\n };\n\n this.handleDragStart = function (sortKey) {\n _this.dragKey = sortKey;\n };\n\n this.handleDrop = function (sortKey) {\n var result = _this.props.sort(_this.props.items || _this.state.keys, _this.dragKey, sortKey);\n if (typeof result.then !== 'function') {\n if (_this.props.onSort) {\n _this.props.onSort(result);\n }\n } else {\n result.then(function (items) {\n if (_this.props.onSort) {\n _this.props.onSort(items);\n }\n });\n }\n };\n\n this.handleDragEnd = function () {\n _this.dragKey = undefined;\n };\n }\n\n _createClass(SortableItems, [{\n key: 'render',\n value: function render() {\n var children = this.props.children;\n if (!Array.isArray(children)) {\n children = [children];\n }\n var newChildren = children.map((function (child, index) {\n return _react2['default'].cloneElement(child, {\n name: this.props.name,\n sortKey: index,\n draggable: child.props.draggable,\n onDragStart: this.handleDragStart,\n onDragOver: this.handleDragOver,\n onDragEnter: this.handleDragEnter,\n onDragLeave: this.handleDragLeave,\n onDrop: this.handleDrop,\n onDragEnd: this.handleDragEnd\n });\n }).bind(this));\n var className = 'sortable-items' + (this.props.className ? ' ' + this.props.className : '');\n return _react2['default'].createElement(\n 'div',\n { className: className },\n newChildren\n );\n }\n }], [{\n key: 'propTypes',\n value: {\n name: _react2['default'].PropTypes.string.isRequired,\n items: _react2['default'].PropTypes.array,\n sort: _react2['default'].PropTypes.func,\n onSort: _react2['default'].PropTypes.func,\n children: _react2['default'].PropTypes.node.isRequired,\n className: _react2['default'].PropTypes.string\n },\n enumerable: true\n }, {\n key: 'defaultProps',\n value: {\n sort: function sort(items, from, to) {\n if (from === undefined || to === undefined) {\n return items;\n }\n var cloneItems = items.slice(0);\n cloneItems.splice(to, 0, cloneItems.splice(from, 1)[0]);\n return cloneItems;\n }\n },\n enumerable: true\n }]);\n\n return SortableItems;\n})(_react2['default'].Component);\n\nexports['default'] = SortableItems;\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-sortable-component/lib/SortableItems.js\n ** module id = 458\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-sortable-component/lib/SortableItems.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\nvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(408);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar SortableItem = (function (_React$Component) {\n _inherits(SortableItem, _React$Component);\n\n function SortableItem() {\n var _this = this;\n\n _classCallCheck(this, SortableItem);\n\n _get(Object.getPrototypeOf(SortableItem.prototype), 'constructor', this).apply(this, arguments);\n\n this.state = {\n isOver: false\n };\n\n this.handleDragStart = function (e) {\n e.stopPropagation();\n e.dataTransfer.effectAllowed = 'move';\n e.dataTransfer.setData('text', '');\n window.currentSortGroup = _this.props.name;\n if (_this.props.onDragStart) {\n _this.props.onDragStart(_this.props.sortKey);\n }\n };\n\n this.handleDragOver = function (e) {\n e.preventDefault();\n if (window.currentSortGroup !== _this.props.name) {\n return;\n }\n if (!_this.state.isOver) {\n _this.setState({\n isOver: true\n });\n }\n e.dataTransfer.dropEffect = 'move';\n if (_this.props.onDragOver) {\n _this.props.onDragOver(_this.props.sortKey);\n }\n };\n\n this.handleDragEnter = function () {\n if (window.currentSortGroup !== _this.props.name) {\n return;\n }\n _this.setState({\n isOver: true\n });\n if (_this.props.onDragEnter) {\n _this.props.onDragEnter(_this.props.sortKey);\n }\n };\n\n this.handleDragLeave = function () {\n if (window.currentSortGroup !== _this.props.name) {\n return;\n }\n _this.setState({\n isOver: false\n });\n if (_this.props.onDragLeave) {\n _this.props.onDragLeave(_this.props.sortKey);\n }\n };\n\n this.handleDrop = function () {\n if (window.currentSortGroup !== _this.props.name) {\n return;\n }\n _this.setState({\n isOver: false\n });\n if (_this.props.onDrop) {\n _this.props.onDrop(_this.props.sortKey);\n }\n };\n\n this.handleDragEnd = function () {\n if (window.currentSortGroup !== _this.props.name) {\n return;\n }\n if (_this.props.onDragEnd) {\n _this.props.onDragEnd(_this.props.sortKey);\n }\n };\n }\n\n _createClass(SortableItem, [{\n key: 'render',\n value: function render() {\n var classObj = {\n 'sortable-item': true,\n 'sortable-item-over': this.state.isOver\n };\n if (this.props.className) {\n classObj[this.props.className] = true;\n }\n var className = (0, _classnames2['default'])(classObj);\n return _react2['default'].createElement(\n 'div',\n { className: className, draggable: this.props.draggable,\n onDragStart: this.handleDragStart, onDragOver: this.handleDragOver,\n onDragEnter: this.handleDragEnter, onDragLeave: this.handleDragLeave,\n onDrop: this.handleDrop, onDragEnd: this.handleDragEnd },\n this.props.children\n );\n }\n }], [{\n key: 'propTypes',\n value: {\n children: _react2['default'].PropTypes.node.isRequired,\n name: _react2['default'].PropTypes.string,\n sortKey: _react2['default'].PropTypes.any,\n draggable: _react2['default'].PropTypes.bool,\n onDragStart: _react2['default'].PropTypes.func,\n onDragOver: _react2['default'].PropTypes.func,\n onDragEnter: _react2['default'].PropTypes.func,\n onDragLeave: _react2['default'].PropTypes.func,\n onDrop: _react2['default'].PropTypes.func,\n onDragEnd: _react2['default'].PropTypes.func,\n className: _react2['default'].PropTypes.string\n },\n enumerable: true\n }, {\n key: 'defaultProps',\n value: {\n draggable: true\n },\n enumerable: true\n }]);\n\n return SortableItem;\n})(_react2['default'].Component);\n\nexports['default'] = SortableItem;\nmodule.exports = exports['default'];\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-sortable-component/lib/SortableItem.js\n ** module id = 459\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./~/react-sortable-component/lib/SortableItem.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nvar _AppDispatcher = __webpack_require__(414);\n\nvar _AppDispatcher2 = _interopRequireDefault(_AppDispatcher);\n\nvar _events = __webpack_require__(417);\n\nvar _data = __webpack_require__(418);\n\nvar _data2 = _interopRequireDefault(_data);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nvar _objectAssign = __webpack_require__(397);\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _current = _default2['default'].DEFAULT_CURRENT_LAYOUT;\nvar _available = _default2['default'].DEFAULT_AVAILABLE_LAYOUT;\n\nfunction setPeopleSearchLayout(layout) {\n _current = layout.current;\n _available = layout.available;\n}\n\nvar LayoutStore = (0, _objectAssign2['default'])({}, _events.EventEmitter.prototype, {\n getLayout: function () {\n function getLayout() {\n return {\n available: _available,\n current: _current\n };\n }\n\n return getLayout;\n }(),\n getAvailableFields: function () {\n function getAvailableFields() {\n return _available;\n }\n\n return getAvailableFields;\n }(),\n getCurrentFields: function () {\n function getCurrentFields() {\n return _current;\n }\n\n return getCurrentFields;\n }(),\n emitChange: function () {\n function emitChange() {\n this.emit(_default2['default'].CHANGE_EVENT);\n }\n\n return emitChange;\n }(),\n addChangeListener: function () {\n function addChangeListener(callback) {\n this.on(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return addChangeListener;\n }(),\n removeChangeListener: function () {\n function removeChangeListener(callback) {\n this.removeListener(_default2['default'].CHANGE_EVENT, callback);\n }\n\n return removeChangeListener;\n }()\n});\n\n_AppDispatcher2['default'].register(function (action) {\n switch (action.actionType) {\n case _data2['default'].GOT_LAYOUT:\n case _data2['default'].LAYOUT_CHANGED:\n setPeopleSearchLayout(action.results);\n LayoutStore.emitChange();\n break;\n default:\n // no op\n }\n});\n\nmodule.exports = LayoutStore;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/stores/LayoutStore.js\n ** module id = 460\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/stores/LayoutStore.js?"); },function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Favourites = __webpack_require__(462);\n\nvar _Favourites2 = _interopRequireDefault(_Favourites);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Person = __webpack_require__(464);\n\nvar _Person2 = _interopRequireDefault(_Person);\n\nvar _Title = __webpack_require__(438);\n\nvar _Title2 = _interopRequireDefault(_Title);\n\nvar _reactSortableComponent = __webpack_require__(457);\n\nvar _FavouriteStore = __webpack_require__(423);\n\nvar _FavouriteStore2 = _interopRequireDefault(_FavouriteStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getStoreFavouriteState() {\n return {\n favourites: _FavouriteStore2['default'].getCurrentFavourites()\n };\n}\n\nvar Favourites = function (_React$Component) {\n _inherits(Favourites, _React$Component);\n\n function Favourites(props) {\n _classCallCheck(this, Favourites);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Favourites).call(this, props));\n\n _PeopleSearchActions2['default'].getFavourites();\n\n _this.state = getStoreFavouriteState();\n return _this;\n }\n\n _createClass(Favourites, [{\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _FavouriteStore2['default'].removeChangeListener(this.onFavourite);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _FavouriteStore2['default'].addChangeListener(this.onFavourite.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'onFavourite',\n value: function () {\n function onFavourite() {\n var pinned = getStoreFavouriteState();\n\n this.props.onFavouritesChange(pinned.favourites);\n }\n\n return onFavourite;\n }()\n }, {\n key: 'onItemUpdate',\n value: function () {\n function onItemUpdate(index, favourites, isFavourite) {\n var element = Number(index.slice(1));\n\n this.props.onItemUpdate(element, isFavourite, 'favourite');\n }\n\n return onItemUpdate;\n }()\n }, {\n key: 'getCommandButtonsAvailable',\n value: function () {\n function getCommandButtonsAvailable(current) {\n return current.some(function (el) {\n return el.label === 'Documents' || el.label === 'Everything' || el.label === 'Export to Outlook' || el.label === 'Yammer';\n });\n }\n\n return getCommandButtonsAvailable;\n }()\n }, {\n key: 'getFavouritesHolder',\n value: function () {\n function getFavouritesHolder() {\n if (this.props.favourites.length > 0) {\n return _react2['default'].createElement(\n 'div',\n { key: 'sortable-favourite-container', styleName: 'sortable-favourite-container' },\n _react2['default'].createElement(\n _reactSortableComponent.SortableItems,\n {\n name: 'sort-favourites',\n items: this.props.favourites,\n onSort: this.handleFavouriteSort },\n this.props.favourites.map(this.createDraggablePinItem.bind(this))\n )\n );\n }\n }\n\n return getFavouritesHolder;\n }()\n }, {\n key: 'createEmptyResultsMessage',\n value: function () {\n function createEmptyResultsMessage(count) {\n if (count === 0) {\n return _react2['default'].createElement(\n 'p',\n { key: 'no-favourites' },\n 'Well this is embarrassing, you do not seem to have any friends. ',\n _react2['default'].createElement('br', null),\n _react2['default'].createElement('br', null),\n 'Favourite some people now before anyone notices.'\n );\n }\n }\n\n return createEmptyResultsMessage;\n }()\n }, {\n key: 'getPersonCardHeightFromLayoutCurrent',\n value: function () {\n function getPersonCardHeightFromLayoutCurrent() {\n // Ensures that all of the person cards are the same height regardless of what data is available for the given person (necessary for horizontal view)\n var offset = this.props.layout.current.length > 3 ? (this.props.layout.current.length - 3) * 21 : 0;\n\n return { height: 113 + offset + 'px' };\n }\n\n return getPersonCardHeightFromLayoutCurrent;\n }()\n }, {\n key: 'createDraggablePinItem',\n value: function () {\n function createDraggablePinItem(item, i) {\n var itemStyles = this.getCommandButtonsAvailable(this.props.layout.current) ? { paddingBottom: '50px', height: this.getPersonCardHeightFromLayoutCurrent().height } : { paddingBottom: '0', height: this.getPersonCardHeightFromLayoutCurrent().height };\n\n return _react2['default'].createElement(\n _reactSortableComponent.SortableItem,\n { key: item.name },\n _react2['default'].createElement(\n 'div',\n { styleName: 'sortable-item-content', style: itemStyles },\n _react2['default'].createElement(_Person2['default'], {\n data: item,\n layout: this.props.layout,\n favourites: this.props.favourites,\n onFavouritesChange: this.onFavourite.bind(this),\n onItemUpdate: this.onItemUpdate.bind(this),\n id: 'f' + i })\n )\n );\n }\n\n return createDraggablePinItem;\n }()\n }, {\n key: 'handleFavouriteSort',\n value: function () {\n function handleFavouriteSort(favourites) {\n _PeopleSearchActions2['default'].updateFavourites(favourites);\n }\n\n return handleFavouriteSort;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var favouritesComponentStyles = {\n display: 'none !important',\n paddingTop: this.props.paddingTop\n };\n\n return _react2['default'].createElement(\n 'div',\n { key: 'favourites-manager', id: 'component-favourites', styleName: 'component', style: favouritesComponentStyles },\n _react2['default'].createElement(\n 'div',\n { styleName: 'container' },\n _react2['default'].createElement(_Title2['default'], {\n text: this.props.title,\n suffix: 'Favourites' })\n ),\n _react2['default'].createElement(\n 'div',\n { className: 'content' },\n this.getFavouritesHolder(),\n this.createEmptyResultsMessage(this.props.favourites.length)\n )\n );\n }\n\n return render;\n }()\n }]);\n\n return Favourites;\n}(_react2['default'].Component);\n\nFavourites.propTypes = {\n onFavouritesChange: _react2['default'].PropTypes.func,\n onItemUpdate: _react2['default'].PropTypes.func,\n title: _react2['default'].PropTypes.string,\n paddingTop: _react2['default'].PropTypes.string,\n layout: _react2['default'].PropTypes.object,\n favourites: _react2['default'].PropTypes.array\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Favourites, _Favourites2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/favourites/Favourites.jsx\n ** module id = 461\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/favourites/Favourites.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(463);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Favourites.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Favourites.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/favourites/Favourites.css\n ** module id = 462\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/favourites/Favourites.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".Y45hv176ZmY0qLBu1Q2hx{position:absolute;height:100%;top:50px;right:400px;width:400px;margin:50px 20px!important;background-color:#fff}.ZIgcRstUq1z3wkbeEzRTR{width:400px!important;background-color:#f9f9f9;border-color:#c8c8c8;box-shadow:0 0 18px #d9d9d9;position:absolute;right:0;overflow-x:visible;height:1900px;padding:0 0 200px;z-index:2000;direction:ltr}.ZIgcRstUq1z3wkbeEzRTR p{font-size:14px;margin:0 20px 20px}._18jYkkwMo14NtDJH6N7Xtr{width:320px!important}._3knTHn6TlUigPAUpCWlRN3{margin:0 20px 20px}._3bMDoKF8jmE3d2lwMvdDtM{margin:0 20px 20px;border-left:0;border-right:0;font-size:14px}._3bMDoKF8jmE3d2lwMvdDtM i{float:left}._3bMDoKF8jmE3d2lwMvdDtM .sortable-item{padding:10px}div.contact,div.ms-Persona-imageArea,div.ms-Persona-presence{padding:0!important}._3bMDoKF8jmE3d2lwMvdDtM div div span{display:none}._3bMDoKF8jmE3d2lwMvdDtM div div div span{display:block}._3bMDoKF8jmE3d2lwMvdDtM button,._3bMDoKF8jmE3d2lwMvdDtM input[type=button]{min-width:auto;padding:0;font-size:1rem;float:right}._3bMDoKF8jmE3d2lwMvdDtM button span,._3bMDoKF8jmE3d2lwMvdDtM input[type=button] span{line-height:2rem!important}.sortable-item{border:1px solid #eee;margin:0 10px 10px 0}.sortable-item:hover,.VDedDZSHxPGTIJT-OAqst{background:#fff}.VDedDZSHxPGTIJT-OAqst:hover{cursor:move}.XCCEwnI8ykWjIZH6yWsh1{float:right;margin-top:-27px}._3bMDoKF8jmE3d2lwMvdDtM div div.XCCEwnI8ykWjIZH6yWsh1:hover{background:transparent!important}._27PNnHq_RtQ8kEx1sBnd7u{clear:both;color:#000}._1ikY1Du5EUKapoV8qHrqI2 button{background-color:#e51d2e!important;margin:0 130px}.ZIgcRstUq1z3wkbeEzRTR div.ms-peopleux-userImgDiv,.ZIgcRstUq1z3wkbeEzRTR div.ms-tableCell{padding:0}", ""]);\n\n// exports\nexports.locals = {\n "pins": "Y45hv176ZmY0qLBu1Q2hx",\n "component": "ZIgcRstUq1z3wkbeEzRTR",\n "container": "_18jYkkwMo14NtDJH6N7Xtr",\n "layout-heading": "_3knTHn6TlUigPAUpCWlRN3",\n "sortable-favourite-container": "_3bMDoKF8jmE3d2lwMvdDtM",\n "sortable-item-content": "VDedDZSHxPGTIJT-OAqst",\n "removal-button": "XCCEwnI8ykWjIZH6yWsh1",\n "left": "_27PNnHq_RtQ8kEx1sBnd7u",\n "complete": "_1ikY1Du5EUKapoV8qHrqI2"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/favourites/Favourites.css\n ** module id = 463\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/favourites/Favourites.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Person = __webpack_require__(465);\n\nvar _Person2 = _interopRequireDefault(_Person);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Persona = __webpack_require__(467);\n\nvar _Persona2 = _interopRequireDefault(_Persona);\n\nvar _Row = __webpack_require__(471);\n\nvar _Row2 = _interopRequireDefault(_Row);\n\nvar _FavouriteStore = __webpack_require__(423);\n\nvar _FavouriteStore2 = _interopRequireDefault(_FavouriteStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _Button = __webpack_require__(407);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _filesaver = __webpack_require__(474);\n\nvar _filesaver2 = _interopRequireDefault(_filesaver);\n\nvar _exporter = __webpack_require__(476);\n\nvar _exporter2 = _interopRequireDefault(_exporter);\n\nvar _default = __webpack_require__(153);\n\nvar _default2 = _interopRequireDefault(_default);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Person = function (_React$Component) {\n _inherits(Person, _React$Component);\n\n function Person(props) {\n _classCallCheck(this, Person);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Person).call(this, props));\n }\n\n _createClass(Person, [{\n key: 'onOutlookExportCard',\n value: function () {\n function onOutlookExportCard(person) {\n var card = _exporter2['default'].getContactForExport(person);\n var blob = new Blob([card.data], { type: 'text/x-vcard;charset=iso-8859-1' });\n\n _filesaver2['default'].saveAs(blob, card.name + '.vcf');\n }\n\n return onOutlookExportCard;\n }()\n }, {\n key: 'onFavouritesChange',\n value: function () {\n function onFavouritesChange() {\n this.props.onFavouritesChange({\n favourites: _FavouriteStore2['default'].getCurrentFavourites()\n });\n }\n\n return onFavouritesChange;\n }()\n }, {\n key: 'onSearchByManagedProperty',\n value: function () {\n function onSearchByManagedProperty(name, mp) {\n window.location.href = window.location.protocol + '//' + window.location.host + '/search/Pages/results.aspx?k=' + mp + name;\n }\n\n return onSearchByManagedProperty;\n }()\n }, {\n key: 'onYammerSearch',\n value: function () {\n function onYammerSearch(name) {\n window.location.href = 'https://www.yammer.com/#/Threads/Search?search=' + name;\n }\n\n return onYammerSearch;\n }()\n }, {\n key: 'onFavouriteClick',\n value: function () {\n function onFavouriteClick(person, action, index) {\n var favourites = this.props.favourites;\n\n if (action === 'add') {\n person.Cells.Favourite = true;\n\n favourites.push({\n name: person.Cells.PreferredName,\n data: person\n });\n } else if (action === 'remove') {\n // remove the favourite\n favourites = favourites.filter(function (n) {\n return n.name !== person.Cells.PreferredName;\n });\n }\n\n // this updates the UI with the changes made to favourites either from search or the favourites screen.\n // if the index value is set to -1, this forces a fresh load from the cache.\n _PeopleSearchActions2['default'].updateFavourites(favourites);\n\n this.props.onItemUpdate(index, favourites, action !== 'remove');\n }\n\n return onFavouriteClick;\n }()\n }, {\n key: 'getFavouriteButton',\n value: function () {\n function getFavouriteButton(person, index) {\n var current = this.isFavouriteButtonActive(person);\n var icon = current.pinned ? 'remove' : 'add';\n var bindClick = this.onFavouriteClick.bind(this, person.items, icon, index);\n\n // otherwise show the favourite pin button\n return _react2['default'].createElement(\n 'div',\n { key: 'item-favourite-button', styleName: icon, className: icon },\n _react2['default'].createElement(_Button2['default'], {\n icon: icon,\n onClick: bindClick,\n floating: true, accent: true, mini: true,\n disabled: current.disabled })\n );\n }\n\n return getFavouriteButton;\n }()\n }, {\n key: 'getButton',\n value: function () {\n function getButton(key, icon, callback) {\n return _react2['default'].createElement(\n 'span',\n { key: 'command-' + key, styleName: 'command', className: 'commandor' },\n _react2['default'].createElement(_Button2['default'], {\n icon: icon,\n floating: true, accent: true, mini: true,\n onClick: callback })\n );\n }\n\n return getButton;\n }()\n }, {\n key: 'getPerson',\n value: function () {\n function getPerson(person, index) {\n // if we have layouts use that, otherwise use the defaults\n var layout = this.props.layout.current.length > 0 ? this.props.layout.current : _default2['default'].DEFAULT_CURRENT_LAYOUT;\n var card = this.information(person, layout);\n\n return _react2['default'].createElement(\n 'div',\n { key: 'item-details-' + index },\n this.personaImage(person, index),\n card,\n _react2['default'].createElement(\n 'div',\n { styleName: 'buttons' },\n this.everything(person, index),\n this.documents(person, index),\n this.yammer(person, index),\n this.exportOutlookCard(person, index)\n )\n );\n }\n\n return getPerson;\n }()\n }, {\n key: 'information',\n value: function () {\n function information(person, layout) {\n // only output the fields chosen in the layout\n return [].concat(layout.map(function (element, index) {\n return _react2['default'].createElement(_Row2['default'], {\n key: 'person-item-' + index,\n id: index,\n person: person,\n element: element });\n }));\n }\n\n return information;\n }()\n\n // TODO refactor these common templates into a single method\n\n }, {\n key: 'documents',\n value: function () {\n function documents(person, key) {\n var click = this.onSearchByManagedProperty.bind(this, person.items.Cells.PreferredName, 'IsDocument:1 Author:');\n\n return this.getButton('documents-' + key, 'insert_drive_file', click);\n }\n\n return documents;\n }()\n\n // TODO refactor these common templates into a single method\n\n }, {\n key: 'everything',\n value: function () {\n function everything(person, key) {\n var click = this.onSearchByManagedProperty.bind(this, person.items.Cells.PreferredName, 'Author:');\n\n return this.getButton('everything-' + key, 'share', click);\n }\n\n return everything;\n }()\n }, {\n key: 'yammer',\n value: function () {\n function yammer(person, key) {\n var click = this.onYammerSearch.bind(this, person.items.Cells.PreferredName);\n\n return this.getButton('yammer-' + key, 'comment', click);\n }\n\n return yammer;\n }()\n }, {\n key: 'exportOutlookCard',\n value: function () {\n function exportOutlookCard(person, key) {\n var click = this.onOutlookExportCard.bind(this, person.items.Cells);\n\n return this.getButton('outlook-' + key, 'contact_mail', click);\n }\n\n return exportOutlookCard;\n }()\n }, {\n key: 'personaImage',\n value: function () {\n function personaImage(person, key) {\n var member = {\n name: person.items.Cells.PreferredName,\n loginName: '' + _default2['default'].MEMBERSHIP_CLAIMS + person.items.Cells.WorkEmail,\n email: person.items.Cells.WorkEmail\n };\n\n return _react2['default'].createElement(\n 'div',\n { key: key },\n _react2['default'].createElement(_Persona2['default'], { member: member })\n );\n }\n\n return personaImage;\n }()\n }, {\n key: 'isFavouriteButtonActive',\n value: function () {\n function isFavouriteButtonActive(person) {\n var pinned = false;\n\n if (this.props.refresh) {\n // favourites have been changed on the favourite page - update the relevant button states\n var favourites = this.props.favourites;\n\n // checked to see if they have been pinned this as a favourite already\n pinned = favourites.length > 0 ? favourites.some(function (item) {\n return item.name === person.items.Cells.PreferredName;\n }) : false;\n } else {\n pinned = person.items.Cells.Favourite;\n }\n\n // active - check to see if button is for adding a favourite and the threshold has breached\n return {\n pinned: pinned,\n disabled: !pinned && this.props.favourites.length > 10 ? true : false\n };\n }\n\n return isFavouriteButtonActive;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var person = {\n items: typeof this.props.data.data !== 'undefined' ? this.props.data.data : this.props.data,\n baseImageUrl: '/_layouts/15/userphoto.aspx?size=S&accountname='\n };\n\n return _react2['default'].createElement(\n 'span',\n { key: 'person-' + this.props.id, ref: 'person' },\n this.getFavouriteButton(person, this.props.id),\n _react2['default'].createElement(\n 'div',\n { styleName: 'item' },\n this.getPerson(person, this.props.id)\n )\n );\n }\n\n return render;\n }()\n }]);\n\n return Person;\n}(_react2['default'].Component);\n\nPerson.propTypes = {\n id: _react2['default'].PropTypes.string,\n data: _react2['default'].PropTypes.object,\n favourites: _react2['default'].PropTypes.array,\n layout: _react2['default'].PropTypes.object,\n refresh: _react2['default'].PropTypes.bool,\n onItemUpdate: _react2['default'].PropTypes.func,\n onFavouritesChange: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Person, _Person2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/person/Person.jsx\n ** module id = 464\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/person/Person.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(466);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Person.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Person.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/person/Person.css\n ** module id = 465\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/person/Person.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".WLJ27WgmlFC4HADXSUAqx{font-size:14px;background-color:#fff;min-height:105px;z-index:2000}.WLJ27WgmlFC4HADXSUAqx span{display:block}.WLJ27WgmlFC4HADXSUAqx a:link{text-decoration:underline}.WLJ27WgmlFC4HADXSUAqx ._3WqZzqWqSUyvwptzr7XNg-{float:left;position:relative;diplay:inline;margin:5px 5px 0 0}.WLJ27WgmlFC4HADXSUAqx ._1IC03zqnx6_E7YMJSAPrHS{width:70px;height:70px;border:1px solid #ccc}._3RNxP9SJ03WGqqpsVDQfbi button,._3RNxP9SJ03WGqqpsVDQfbi input[type=button]{background-color:#666!important}._3nz340BSwcFZ6uP0IFdgQW button,._3nz340BSwcFZ6uP0IFdgQW input[type=button]{background-color:#e51d2e!important}._3nz340BSwcFZ6uP0IFdgQW button,._3nz340BSwcFZ6uP0IFdgQW input[type=button],._3RNxP9SJ03WGqqpsVDQfbi button,._3RNxP9SJ03WGqqpsVDQfbi input[type=button]{padding:0 0 10px!important;margin:5px 5px 14px!important;width:2rem!important;height:2rem!important;font-size:1rem}._3nz340BSwcFZ6uP0IFdgQW button span,._3nz340BSwcFZ6uP0IFdgQW input[type=button] span,._3RNxP9SJ03WGqqpsVDQfbi button span,._3RNxP9SJ03WGqqpsVDQfbi input[type=button] span{line-height:2rem!important}._3nz340BSwcFZ6uP0IFdgQW button[disabled],._3nz340BSwcFZ6uP0IFdgQW input[type=button][disabled]{opacity:.4}div._3bbVbN7yZCIXnQq5kL5pbR{height:50px}.S3QnPjip2BOHX5yuH4x28{float:left;padding:8px 1px 0 0}.S3QnPjip2BOHX5yuH4x28 button,.S3QnPjip2BOHX5yuH4x28 input[type=button]{min-width:auto!important;margin:-3px 2px 5px 0;padding:0!important;height:2.2rem!important;width:2.2rem!important;line-height:.8;border-radius:10%}.S3QnPjip2BOHX5yuH4x28 button span{line-height:1!important;margin-right:0!important}", ""]);\n\n// exports\nexports.locals = {\n "item": "WLJ27WgmlFC4HADXSUAqx",\n "img-container": "_3WqZzqWqSUyvwptzr7XNg-",\n "img": "_1IC03zqnx6_E7YMJSAPrHS",\n "remove": "_3RNxP9SJ03WGqqpsVDQfbi",\n "add": "_3nz340BSwcFZ6uP0IFdgQW",\n "buttons": "_3bbVbN7yZCIXnQq5kL5pbR",\n "command": "S3QnPjip2BOHX5yuH4x28"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/person/Person.css\n ** module id = 466\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/person/Person.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _persona = __webpack_require__(468);\n\nvar _persona2 = _interopRequireDefault(_persona);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n__webpack_require__(470);\n\n/*\r\n Antonio Lopes | ISC License\r\n antonio.lopes@arup.com\r\n*/\n\nvar Persona = function (_React$Component) {\n _inherits(Persona, _React$Component);\n\n function Persona(props) {\n _classCallCheck(this, Persona);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Persona).call(this, props));\n\n _this.state = {\n presence: 'offline'\n };\n\n _this.updatePresence = _this.updatePresence.bind(_this);\n return _this;\n }\n\n _createClass(Persona, [{\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n window.addEventListener('LyncStatusUpdate', this.updatePresence.bind(this));\n\n var contactRequest = new CustomEvent('createLyncContact', { detail: { sip: this.props.member.email } });\n\n window.dispatchEvent(contactRequest);\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'componentDidUpdate',\n value: function () {\n function componentDidUpdate() {\n if (this.state === null) {\n this.state = {\n presence: 'offline'\n };\n }\n\n var syncPersonaCard = new CustomEvent('syncPersonaCard', { detail: { presence: this.state.presence } });\n\n window.dispatchEvent(syncPersonaCard);\n }\n\n return componentDidUpdate;\n }()\n }, {\n key: 'componentWillUnmount',\n value: function () {\n function componentWillUnmount() {\n window.removeEventListener('LyncStatusUpdate', this.updatePresence);\n }\n\n return componentWillUnmount;\n }()\n }, {\n key: 'updatePresence',\n value: function () {\n function updatePresence(e) {\n if (this.props.member.email === e.detail.sip) {\n this.setState({ presence: e.detail.status });\n }\n }\n\n return updatePresence;\n }()\n }, {\n key: 'getBase64DefaultThumbnail',\n value: function () {\n function getBase64DefaultThumbnail() {\n return 'data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMS4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQyMS4xOTcgNDIxLjE5NyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDIxLjE5NyA0MjEuMTk3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCI+CjxnPgoJPGc+CgkJPHBhdGggc3R5bGU9ImZpbGw6I0ZGRDdBMzsiIGQ9Ik0xMzguMjEyLDI2MS40NjJjMTQuNzE2LTkuNDc1LDEzLjA3LTM3LjY3NSwxMy4wNy00NC4yNTVoMTE4LjQ0NmMwLDYuNTgtMS44MjUsMzQuNzgsMTIuODksNDQuMjU1ICAgIGwtNzIuMTEzLDgwLjc3MUwxMzguMjEyLDI2MS40NjJ6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBzdHlsZT0iZmlsbDojRkRDODhFOyIgZD0iTTI1Ni41NjgsMjg5LjU5bDI2LjA1MS0yOC4xMjljLTE0LjcxNi05LjQ3NC0xMi44OS0zNy42NzUtMTIuODktNDQuMjU1SDE1MS4yODMgICAgQzE1OS43ODEsMjQxLjYzOSwyMTUuOTg5LDI4My41NTgsMjU2LjU2OCwyODkuNTl6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBzdHlsZT0iZmlsbDojRkZFMUIyOyIgZD0iTTMwMi42MywxMzEuNjYzYzAsNTIuNjk2LTMwLjM0MywxMTguNDQ2LTkyLjEyNCwxMTguNDQ2cy05Mi4xMjQtNjUuNzUtOTIuMTI0LTExOC40NDYgICAgczQxLjI0Ni03Mi4zODQsOTIuMTI0LTcyLjM4NFMzMDIuNjMsNzguOTY3LDMwMi42MywxMzEuNjYzeiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggc3R5bGU9ImZpbGw6I0EyQ0RFMjsiIGQ9Ik0zNjEuODUzLDQyMS4xOTdjMTAuOTAzLDAsMTkuNzQxLTguODM4LDE5Ljc0MS0xOS43NDF2LTYzLjQ2MyAgICBjMC0yOC45NTQtMjIuNTYyLTU5Ljg2NC01MC4xMzgtNjguNjg3bC00MS4xNjgtMTMuMTczYy0yMi4xNDksMTYuOTM2LTUzLjgwMiw0MC4wMzktNzkuNzgyLDQwLjAzOXMtNTcuNjMzLTIzLjEwMy03OS43ODItNDAuMDM5ICAgIGwtNDEuMTY4LDEzLjE3M2MtMjcuNTc2LDguODIzLTUwLjEzOCwzOS43MzMtNTAuMTM4LDY4LjY4N3Y2My40NjNjMCwxMC45MDMsOC44MzgsMTkuNzQxLDE5Ljc0MSwxOS43NDFIMzYxLjg1M3oiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiM1NDU0NjU7IiBkPSJNMTcxLjAyNCwxOS43OTdjLTYuMTY5LDAtNi44NzUsMC0xMy4xNjEsMGMtMjUuNDM5LDAtNDYuMDYyLDIwLjg1Ni00Ni4wNjIsNDYuMjk2ICAgIGMwLDIzLjYyLDYuNTgsNjUuNTcsNi41OCw2NS41N3M3LjQwMy0zMy4zMTMsMzkuNDgyLTQ2LjA2MkMxNzcuNDY3LDc3LjgwOSwxNzEuMDI0LDE5Ljc5NywxNzEuMDI0LDE5Ljc5N3oiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiM1NDU0NjU7IiBkPSJNMTY0LjQ0NCwyMC4wMzFjMjYuNDU4LTQwLjY3NSw5NC41OTItNi44MTQsMTM4LjE4Ny02LjgxNGM2LjU4LDkuNDU5LDExLjEwNCw4MS4wMiwwLDExOC40NDYgICAgbC0xOS43NDEtMzIuOTAyYzAsMC02MC4zMiwyMi4xNjgtMTI1LjAyNi0xMi45MjciLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNGRkUxQjI7IiBkPSJNMTIxLjU0NywxNDQuODIzYy05Ljg2NC0yLjQ2OC0xNi4zMjYsMi44MDUtMTYuMzI2LDEzLjE2MWMwLDEzLjcwOSwxMy4yNjUsNDcuMjk2LDI3LjIxLDI2LjMyMSAgICBTMTIxLjU0NywxNDQuODIzLDEyMS41NDcsMTQ0LjgyM3oiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNGRkUxQjI7IiBkPSJNMjk3Ljk3LDE0NC44MjNjMTAuNzY3LTIuNDY4LDE3LjgyMSwyLjgwNSwxNy44MjEsMTMuMTYxYzAsMTMuNzA5LTE0LjQ3OSw0Ny4yOTYtMjkuNzAxLDI2LjMyMSAgICBDMjcwLjg2OCwxNjMuMzMsMjk3Ljk3LDE0NC44MjMsMjk3Ljk3LDE0NC44MjN6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBzdHlsZT0iZmlsbDojMjkzOTRBOyIgZD0iTTIyMy42NjYsMzE2LjI4MmMwLDMuNjE5LTIuOTYxLDYuNTgtNi41OCw2LjU4aC0xMy4xNjFjLTMuNjE5LDAtNi41OC0yLjk2MS02LjU4LTYuNTh2LTEzLjE2MSAgICBjMC0zLjYxOSwyLjk2MS02LjU4LDYuNTgtNi41OGgxMy4xNjFjMy42MTksMCw2LjU4LDIuOTYxLDYuNTgsNi41OFYzMTYuMjgyeiIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzI5Mzk0QTsiIHBvaW50cz0iMjE5LjU0NiwzMTkuMTYxIDIxMC41MDYsMzIyLjg2MiAyMDEuNDY1LDMxOS4xNjEgMTk3LjM0NSw0MjAuNzk4IDIyMy42NjYsNDIwLjc5OCAgICIvPgoJPC9nPgoJPGc+CgkJPHBhdGggc3R5bGU9ImZpbGw6I0I1RTBGMDsiIGQ9Ik0yMTAuNTA2LDI5Ni4xNzFsLTI3LjQ1NiwyNy40NTZjLTIuODU5LDIuODU5LTcuNTk2LDIuNDg3LTkuOTc1LTAuNzgzbC00OC4xMTMtNjYuMTU2ICAgIGwxNS4zMjYtMTUuMzI2YzIuNDc1LTIuNDc1LDYuNDU0LTIuNTc5LDkuMDU1LTAuMjM4TDIxMC41MDYsMjk2LjE3MXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNCNUUwRjA7IiBkPSJNMjEwLjUwNiwyOTYuMTcxbDI3LjQ1NiwyNy40NTZjMi44NTksMi44NTksNy41OTYsMi40ODcsOS45NzUtMC43ODNsNDguMTEzLTY2LjE1NmwtMTUuMzI2LTE1LjMyNiAgICBjLTIuNDc1LTIuNDc1LTYuNDU0LTIuNTc5LTkuMDU1LTAuMjM4TDIxMC41MDYsMjk2LjE3MXoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiM0QTY5OEU7IiBkPSJNMzMxLjY0MSwyNjkuMzA1bC0zNS44NzctMTEuNDhsLTAuMDAyLDBsLTg1LjE2MywxMDUuMDEybC04NS4xNjQtMTA1LjAxMmwtMC4wMDIsMGwtMzUuODc3LDExLjQ4ICAgIGMtMjcuNTc2LDguODIzLTUwLjEzOCwzOS43MzMtNTAuMTM4LDY4LjY4N3Y2My40NjRjMCwxMC4xMDgsNy42MjcsMTguMzQ3LDE3LjQyMywxOS41MDdoMTUzLjQ4aDAuNTU2aDE1My40OCAgICBjOS43OTctMS4xNiwxNy40MjMtOS4zOTksMTcuNDIzLTE5LjUwN3YtNjMuNDY0QzM4MS43NzksMzA5LjAzOCwzNTkuMjE3LDI3OC4xMjgsMzMxLjY0MSwyNjkuMzA1eiIvPgoJPC9nPgoJPGc+CgkJPGc+CgkJCTxwb2x5Z29uIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBwb2ludHM9IjI1OC43MSw0MjAuOTYzIDI2NS4yOSw0MjAuOTYzIDI2NS4yOSwyOTUuMzk4IDI1OC43MSwzMDMuNTEzICAgICIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzQxNjE4NTsiIHBvaW50cz0iMjE3LjU4OSw0MjAuOTYzIDIyNC4xNjksNDIwLjk2MyAyMjQuMTY5LDM0Ni4xMDQgMjE3LjU4OSwzNTQuMjE4ICAgICIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzQxNjE4NTsiIHBvaW50cz0iMjM4LjE0OSw0MjAuOTYzIDI0NC43Myw0MjAuOTYzIDI0NC43MywzMjAuNzUxIDIzOC4xNDksMzI4Ljg2NSAgICAiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBwb2ludHM9IjI5OS44MzEsNDIwLjk2MyAzMDYuNDExLDQyMC45NjMgMzA2LjQxMSwyNjEuMjMyIDI5OS44MzEsMjU5LjEyNiAgICAiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBwb2ludHM9IjE5Ny4wMjgsNDIwLjk2MyAyMDMuNjA5LDQyMC45NjMgMjAzLjYwOSwzNTQuMjE4IDE5Ny4wMjgsMzQ2LjEwNCAgICAiLz4KCQk8L2c+CgkJPGc+CgkJCTxwYXRoIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBkPSJNMzQwLjk1MiwyNzMuMjM2djE0Ny43MjdoNi41OFYyNzcuMTYyQzM0NS4zOTYsMjc1LjcyMiwzNDMuMjA0LDI3NC40MDYsMzQwLjk1MiwyNzMuMjM2eiIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzQxNjE4NTsiIHBvaW50cz0iMzIwLjM5MiwyNjUuNzA1IDMyMC4zOTIsNDIwLjk2MyAzMjYuOTcyLDQyMC45NjMgMzI2Ljk3MiwyNjcuODExICAgICIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzQxNjE4NTsiIHBvaW50cz0iMjc5LjI3MSwyNzguMTYgMjc5LjI3MSw0MjAuOTYzIDI4NS44NTEsNDIwLjk2MyAyODUuODUxLDI3MC4wNDUgICAgIi8+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBzdHlsZT0iZmlsbDojNDE2MTg1OyIgcG9pbnRzPSI5NC4yMjUsNDIwLjk2MyAxMDAuODA2LDQyMC45NjMgMTAwLjgwNiwyNjUuNzA1IDk0LjIyNSwyNjcuODExICAgICIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBvbHlnb24gc3R5bGU9ImZpbGw6IzQxNjE4NTsiIHBvaW50cz0iMTc2LjQ2OCw0MjAuOTYzIDE4My4wNDgsNDIwLjk2MyAxODMuMDQ4LDMyOC44NjUgMTc2LjQ2OCwzMjAuNzUxICAgICIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBhdGggc3R5bGU9ImZpbGw6IzQxNjE4NTsiIGQ9Ik01My4xMDQsMjk3LjYzNXYxMjIuNDk5YzEuMjAyLDAuMzg2LDIuNDQ3LDAuNjc2LDMuNzM2LDAuODI5aDIuODQ0VjI4OS4zNzEgICAgIEM1Ny4zMjMsMjkxLjk4LDU1LjEyMSwyOTQuNzM4LDUzLjEwNCwyOTcuNjM1eiIvPgoJCTwvZz4KCQk8Zz4KCQkJPHBhdGggc3R5bGU9ImZpbGw6IzQxNjE4NTsiIGQ9Ik0zNjEuNTEzLDQyMC45NjNoMi44NDRjMS4yOS0wLjE1MywyLjUzNS0wLjQ0MywzLjczNy0wLjgyOVYyOTcuNjM1ICAgICBjLTIuMDE3LTIuODk3LTQuMjE5LTUuNjU1LTYuNTgtOC4yNjRWNDIwLjk2M3oiLz4KCQk8L2c+CgkJPGc+CgkJCTxwYXRoIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBkPSJNNzMuNjY1LDI3Ny4xNjJ2MTQzLjgwMWg2LjU4VjI3My4yMzZDNzcuOTkzLDI3NC40MDYsNzUuODAxLDI3NS43MjIsNzMuNjY1LDI3Ny4xNjJ6Ii8+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBzdHlsZT0iZmlsbDojNDE2MTg1OyIgcG9pbnRzPSIxNTUuOTA3LDQyMC45NjMgMTYyLjQ4Nyw0MjAuOTYzIDE2Mi40ODcsMzAzLjUxMyAxNTUuOTA3LDI5NS4zOTkgICAgIi8+CgkJPC9nPgoJCTxnPgoJCQk8cG9seWdvbiBzdHlsZT0iZmlsbDojNDE2MTg1OyIgcG9pbnRzPSIxMzUuMzQ2LDQyMC45NjMgMTQxLjkyNiw0MjAuOTYzIDE0MS45MjYsMjc4LjE2IDEzNS4zNDYsMjcwLjA0NiAgICAiLz4KCQk8L2c+CgkJPGc+CgkJCTxwb2x5Z29uIHN0eWxlPSJmaWxsOiM0MTYxODU7IiBwb2ludHM9IjExNC43ODYsMjYxLjIzMiAxMTQuNzg2LDQyMC45NjMgMTIxLjM2Niw0MjAuOTYzIDEyMS4zNjYsMjU5LjEyNiAgICAiLz4KCQk8L2c+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBzdHlsZT0iZmlsbDojMzk1QTdGOyIgZD0iTTk3LjgyNCwyOTcuMjYybDIzLjEyNywyLjg5MXYxNy4wMTdjMCwyLjEyNywxLjAyOCw0LjEyMiwyLjc1OSw1LjM1N2w4Ni43OTUsNjEuOTAybDAuMDkzLTIxLjU5MiAgICBsLTg1LjYzNy0xMDYuMTQ4TDkyLjA2LDI2OC43MjV2MjIuMDA4QzkyLjA2LDI5NC4wNTEsOTQuNTMxLDI5Ni44NSw5Ny44MjQsMjk3LjI2MnoiLz4KCTwvZz4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiMzOTVBN0Y7IiBkPSJNMzIzLjE5LDI5Ny4yNjJsLTIzLjEyNywyLjg5MXYxNy4wMTdjMCwyLjEyNy0xLjAyOCw0LjEyMi0yLjc1OSw1LjM1N2wtODYuNzk1LDYxLjkwMiAgICBsLTAuMDkzLTIxLjU5Mmw4NS42MzctMTA2LjE0OGwzMi45MDIsMTIuMDM2djIyLjAwOEMzMjguOTU0LDI5NC4wNTEsMzI2LjQ4MywyOTYuODUsMzIzLjE5LDI5Ny4yNjJ6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBzdHlsZT0iZmlsbDojMzk1QTdGOyIgcG9pbnRzPSIyMTAuNDE1LDM3MC41NjMgMjAxLjQ1OCwzNjkuOTggMjA3LjQ5LDQyMC45NjMgMjEwLjQxNSw0MjAuOTYzIDIxMy4zNDEsNDIwLjk2MyAgICAgMjE5LjM3MywzNjkuOTggICAiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K';\n }\n\n return getBase64DefaultThumbnail;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n if (this.state !== null) {\n var presence = 'ms-Persona--' + this.state.presence;\n var img = typeof window.fakeAjaxCalls !== 'undefined' ? this.getBase64DefaultThumbnail() : '/_layouts/15/userphoto.aspx?size=S&username=' + this.props.member.email;\n\n return _react2['default'].createElement(\n 'div',\n { className: 'contact', title: this.state.name },\n _react2['default'].createElement(\n 'div',\n { className: 'ms-Persona ms-Persona--square ' + presence + ' ms-Persona--xs' },\n _react2['default'].createElement(\n 'div',\n { className: 'ms-Persona-imageArea' },\n _react2['default'].createElement('i', { className: 'ms-Persona-placeholder ms-Icon ms-Icon--person' }),\n _react2['default'].createElement('img', { className: 'ms-Persona-image', src: img })\n ),\n _react2['default'].createElement('div', { className: 'ms-Persona-presence' }),\n this.props.names === false ? _react2['default'].createElement(\n 'div',\n { className: 'ms-Persona-details' },\n _react2['default'].createElement(\n 'div',\n { className: 'ms-Persona-primaryText' },\n this.props.member.name\n )\n ) : null\n )\n );\n }\n }\n\n return render;\n }()\n }]);\n\n return Persona;\n}(_react2['default'].Component);\n\nPersona.propTypes = {\n names: _react2['default'].PropTypes.bool,\n member: _react2['default'].PropTypes.object.isRequired\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Persona, _persona2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/persona/Persona.jsx\n ** module id = 467\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/persona/Persona.jsx?"); },function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(469);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./persona.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./persona.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/persona/persona.css\n ** module id = 468\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/persona/persona.css?")},function(module,exports,__webpack_require__){eval("exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, \".ms-Persona{color:#333;font-family:Segoe UI Regular WestEuropean,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;font-size:14px;font-weight:400;box-sizing:border-box;margin:0;padding:0;box-shadow:none;display:table;line-height:1;position:relative;float:left;margin-top:5px;margin-right:5px}.ms-Persona-imageArea{position:relative;display:block;background-color:transparent;overflow:hidden;width:52px;height:52px;border-radius:50%;background-color:#a6a6a6}.ms-Persona-placeholder{color:#fff;position:absolute;right:0;left:0;font-size:47px;top:7px}.ms-Persona-image{display:table-cell;margin-right:10px;position:absolute;top:0;left:0;width:52px;height:52px}.ms-Persona-image[src='']{display:none}.ms-Persona-presence{background-color:#5dd255;position:absolute;height:12px;width:12px;border-radius:50%;top:auto;left:34px;bottom:-1px;border:2px solid #fff}.ms-Persona-details{display:table-cell;padding:0 12px;vertical-align:middle;overflow:hidden}.ms-Persona-optionalText,.ms-Persona-primaryText,.ms-Persona-secondaryText,.ms-Persona-tertiaryText{display:block;white-space:nowrap;width:190px;overflow:hidden;text-overflow:ellipsis}.ms-Persona-primaryText{color:#333;font-family:Segoe UI Regular WestEuropean,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;font-size:17px;margin-top:-3px;line-height:1.4}.ms-Persona-optionalText,.ms-Persona-secondaryText,.ms-Persona-tertiaryText{color:#666;font-family:Segoe UI Regular WestEuropean,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;font-size:12px;white-space:nowrap;line-height:1.3}.ms-Persona-secondaryText{padding-top:3px}.ms-Persona-optionalText,.ms-Persona-tertiaryText{padding-top:5px;display:none}.ms-Persona.ms-Persona--square .ms-Persona-imageArea{background-color:#a6a6a6;border-radius:0}.ms-Persona.ms-Persona--square .ms-Persona-presence{top:0;left:0;bottom:auto;right:auto;height:52px;width:5px;border-radius:0;border:0}.ms-Persona.ms-Persona--tiny{height:30px;display:inline-block}.ms-Persona.ms-Persona--tiny .ms-Persona-imageArea{overflow:visible;background:transparent;height:0;width:0}.ms-Persona.ms-Persona--tiny .ms-Persona-presence{right:auto;top:10px;left:0;border:0}.ms-Persona.ms-Persona--tiny .ms-Persona-details{padding-left:20px}.ms-Persona.ms-Persona--tiny .ms-Persona-primaryText{font-size:14px;padding-top:9px}.ms-Persona.ms-Persona--tiny .ms-Persona-secondaryText{display:none}.ms-Persona.ms-Persona--tiny.ms-Persona--readonly{padding:0;background-color:transparent}.ms-Persona.ms-Persona--tiny.ms-Persona--readonly .ms-Persona-primaryText:after{content:';'}.ms-Persona.ms-Persona--square.ms-Persona--tiny .ms-Persona-presence{height:12px;width:12px;top:10px}.ms-Persona.ms-Persona--xs .ms-Persona-image,.ms-Persona.ms-Persona--xs .ms-Persona-imageArea{width:70px;height:70px}.ms-Persona.ms-Persona--xs .ms-Persona-placeholder{font-size:28px;top:4px}.ms-Persona.ms-Persona--xs .ms-Persona-presence{left:19px}.ms-Persona.ms-Persona--xs .ms-Persona-details{padding-left:8px}.ms-Persona.ms-Persona--xs .ms-Persona-primaryText{font-size:14px;padding-top:3px}.ms-Persona.ms-Persona--xs .ms-Persona-secondaryText{display:none}.ms-Persona.ms-Persona--square.ms-Persona--xs .ms-Persona-presence{height:70px;width:4px;left:0}.ms-Persona.ms-Persona--sm .ms-Persona-image,.ms-Persona.ms-Persona--sm .ms-Persona-imageArea{width:40px;height:40px}.ms-Persona.ms-Persona--sm .ms-Persona-placeholder{font-size:38px;top:5px}.ms-Persona.ms-Persona--sm .ms-Persona-presence{left:27px}.ms-Persona.ms-Persona--sm .ms-Persona-details{padding-left:8px}.ms-Persona.ms-Persona--sm .ms-Persona-primaryText{font-size:14px}.ms-Persona.ms-Persona--sm .ms-Persona-primaryText,.ms-Persona.ms-Persona--sm .ms-Persona-secondaryText{padding-top:1px}.ms-Persona.ms-Persona--square.ms-Persona--sm .ms-Persona-presence{height:40px;width:4px;left:0}.ms-Persona.ms-Persona--lg .ms-Persona-image,.ms-Persona.ms-Persona--lg .ms-Persona-imageArea{width:72px;height:72px}.ms-Persona.ms-Persona--lg .ms-Persona-placeholder{font-size:67px;top:9px}.ms-Persona.ms-Persona--lg .ms-Persona-presence{left:49px}.ms-Persona.ms-Persona--lg .ms-Persona-secondaryText{padding-top:3px}.ms-Persona.ms-Persona--lg .ms-Persona-tertiaryText{padding-top:5px;display:block}.ms-Persona.ms-Persona--square.ms-Persona--lg .ms-Persona-presence{height:72px;width:7px;left:0}.ms-Persona.ms-Persona--xl .ms-Persona-image,.ms-Persona.ms-Persona--xl .ms-Persona-imageArea{width:100px;height:100px}.ms-Persona.ms-Persona--xl .ms-Persona-placeholder{font-size:95px;top:12px}.ms-Persona.ms-Persona--xl .ms-Persona-presence{height:20px;width:20px;left:71px}.ms-Persona.ms-Persona--xl .ms-Persona-details{padding-left:20px}.ms-Persona.ms-Persona--xl .ms-Persona-primaryText{font-size:21px;font-family:Segoe UI Semilight WestEuropean,Segoe UI Semilight,Segoe WP Semilight,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;margin-top:0}.ms-Persona.ms-Persona--xl .ms-Persona-secondaryText{padding-top:2px}.ms-Persona.ms-Persona--xl .ms-Persona-optionalText,.ms-Persona.ms-Persona--xl .ms-Persona-tertiaryText{padding-top:5px;display:block}.ms-Persona.ms-Persona--square.ms-Persona--xl .ms-Persona-presence{height:100px;width:9px;left:0}.ms-Persona.ms-Persona--darkText .ms-Persona-primaryText{color:#212121}.ms-Persona.ms-Persona--darkText .ms-Persona-optionalText,.ms-Persona.ms-Persona--darkText .ms-Persona-secondaryText,.ms-Persona.ms-Persona--darkText .ms-Persona-tertiaryText{color:#333}.ms-Persona.ms-Persona--selectable{cursor:pointer;padding:0 10px}.ms-Persona.ms-Persona--selectable:not(.ms-Persona--xl):focus,.ms-Persona.ms-Persona--selectable:not(.ms-Persona--xl):hover{background-color:#deecf9;outline:1px solid transparent}.ms-Persona.ms-Persona--available .ms-Persona-presence{background-color:#5dd255}.ms-Persona.ms-Persona--away .ms-Persona-presence{background-color:#ffd200}.ms-Persona.ms-Persona--blocked .ms-Persona-presence{background-color:#dedede;background-image:linear-gradient(180deg,#dedede 0,#dedede 48%,#c72d25 0,#c72d25 58%,#dedede 0,#dedede)}.ms-Persona.ms-Persona--busy .ms-Persona-presence{background-color:#d93b3b;background:repeating-linear-gradient(-45deg,#e57a79,#e57a79 1px,#d00e0d 0,#d00e0d 2px)}.ms-Persona.ms-Persona--busy.ms-Persona--square .ms-Persona-presence{background-color:#d93b3b;background:repeating-linear-gradient(-45deg,#e57a79,#e57a79 3px,#d00e0d 0,#d00e0d 6px)}.ms-Persona.ms-Persona--dnd .ms-Persona-presence{background-color:#c72d25;background-image:linear-gradient(180deg,#c72d25 0,#c72d25 48%,#fff 0,#fff 52%,#c72d25 0,#c72d25)}.ms-Persona.ms-Persona--offline .ms-Persona-presence{background-color:#b6cfd8}\", \"\"]);\n\n// exports\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/persona/persona.css\n ** module id = 469\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/persona/persona.css?./~/css-loader?modules!./~/sass-loader")},function(module,exports){eval("'use strict';\n\n/*\r\n Antonio Lopes | ISC License\r\n antonio.lopes@arup.com\r\n*/\n/* eslint new-cap: [2, {\"capIsNewExceptions\": [\"IMNRC\"]}] */\n\n// CustomEvent Polyfill\n(function () {\n if (typeof window.CustomEvent === 'function') {\n return false;\n }\n\n function CustomEvent(event, params) {\n var eventParams = params || { bubbles: false, cancelable: false, detail: undefined };\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, eventParams.bubbles, eventParams.cancelable, eventParams.detail);\n return evt;\n }\n\n CustomEvent.prototype = window.Event.prototype;\n window.CustomEvent = CustomEvent;\n\n return true;\n})();\n\n// avoiding network requests\nvar blankImage = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA' + '1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVO' + 'RK5CYII%3D';\n\nfunction normaliseStatusName(status) {\n var normalisedStatus = void 0;\n switch (status) {\n case 'online':\n normalisedStatus = 'available';\n break;\n case 'busy':\n normalisedStatus = 'busy';\n break;\n case 'donotdisturb':\n normalisedStatus = 'dnd';\n break;\n case 'away':\n normalisedStatus = 'away';\n break;\n default:\n normalisedStatus = 'offline';\n break;\n }\n return normalisedStatus;\n}\n\nfunction notifyStatusUpdate(sip, status) {\n var event = new CustomEvent('LyncStatusUpdate', { detail: { sip: sip, status: normaliseStatusName(status) } });\n window.dispatchEvent(event);\n}\n\nfunction bindLync(sip, id) {\n var node = document.getElementById(id);\n node.addEventListener('DOMSubtreeModified', function () {\n var classList = node.className;\n var status = 'busy';\n\n if (classList && classList.split('-') && classList.split('-').length > 4) {\n // [\"ms\", \"spimn\", \"presence\", \"online\", \"5x48x32\"]\n status = classList.split('-')[3];\n }\n notifyStatusUpdate(sip, status);\n }, false);\n\n window.IMNRC(sip, node);\n}\n\nfunction getContactMarkup(sip) {\n var id = 'lync' + Math.floor(Math.random() * 10000);\n var contact = document.createElement('img');\n contact.setAttribute('id', id);\n contact.setAttribute('src', blankImage);\n contact.setAttribute('sip', sip);\n contact.setAttribute('class', 'ms-spimn-presence-offline-5x48x32');\n contact.setAttribute('onload', setTimeout(function () {\n bindLync(sip, id);\n }, 2000));\n return contact;\n}\n\nfunction createContactsContainer() {\n var contactsContainer = document.createElement('div');\n contactsContainer.setAttribute('id', 'contactsContainer');\n contactsContainer.setAttribute('style', 'display:none;');\n document.body.appendChild(contactsContainer);\n}\n\nwindow.addEventListener('createLyncContact', function (event) {\n if (!document.getElementById('contactsContainer')) {\n createContactsContainer();\n }\n\n var contact = getContactMarkup(event.detail.sip);\n document.getElementById('contactsContainer').appendChild(contact);\n});\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/persona/lync.js\n ** module id = 470\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/persona/lync.js?")},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Row = __webpack_require__(472);\n\nvar _Row2 = _interopRequireDefault(_Row);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction getPersonValuesFromArray(person, key) {\n /*\r\n [\r\n 'Skills: {0}, Past Projects {1},\r\n 'SPS-Skills'\r\n 'PastProjects'\r\n ];\r\n */\n return key.map(function (item) {\n return person[item];\n }).filter(function (n) {\n return n !== undefined;\n });\n}\n\nfunction getConstructedFormatedString(format, values) {\n return format.replace(/{(\\d+)}/g, function (match, number) {\n return typeof values[number] !== 'undefined' ? values[number] : match;\n });\n}\n\nfunction getFormatStringOrValue(key, person) {\n if (key.indexOf('{0}') > -1) {\n /*\r\n At this stage key is a string which needs to be converted into an array of strings.\r\n e.g. 'Skills: {0}, Past Projects {1}|SPS-Skills|PastProjects'\r\n */\n var format = key.split('|')[0];\n var values = getPersonValuesFromArray(person, key.split('|').splice(1));\n\n if (values.join('').length > 0) {\n return getConstructedFormatedString(format, values);\n }\n\n return '';\n }\n\n //e.g. SPS-Skills\n return person[key];\n}\n\nvar Row = function (_React$Component) {\n _inherits(Row, _React$Component);\n\n function Row(props) {\n _classCallCheck(this, Row);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Row).call(this, props));\n }\n\n _createClass(Row, [{\n key: 'normal',\n value: function () {\n function normal(person, key, value, style, length) {\n if (person[value] === null) {\n return null;\n } else {\n return _utilities2['default'].getTrimmedString(getFormatStringOrValue(value, person), length);\n }\n }\n\n return normal;\n }()\n }, {\n key: 'hyperlink',\n value: function () {\n function hyperlink(person, key, href, target, value, style, length) {\n var prefix = href.toLowerCase().indexOf('email') > -1 ? 'mailto:' : '';\n\n if (person[href] === null) {\n return null;\n } else {\n return _react2['default'].createElement(\n 'a',\n { key: 'item-' + href + '-' + key, href: '' + prefix + person[href], target: target },\n _utilities2['default'].getTrimmedString(getFormatStringOrValue(value, person), length)\n );\n }\n }\n\n return hyperlink;\n }()\n }, {\n key: 'icon',\n value: function () {\n function icon(_icon, key) {\n return _react2['default'].createElement(\n 'i',\n {\n key: 'item-' + _icon + '-' + key,\n className: 'material-icons', styleName: 'icon' },\n _icon\n );\n }\n\n return icon;\n }()\n\n /**\r\n * Function that takes the information about the item and layout and renders the row\r\n * @param {key} the index of the item\r\n * @param {layout} the row layout\r\n * @param {person} the person data\r\n */\n\n }, {\n key: 'getRowFromLayout',\n value: function () {\n function getRowFromLayout(key, layout, person) {\n var item = [];\n\n //regardless of if the row is a link or plain text, we need these values\n var value = layout.value;\n\n var length = typeof layout.max === 'undefined' ? 28 : layout.max;\n\n var style = '';\n var prefix = null;\n\n if (typeof layout.icon !== 'undefined' && layout.icon !== null) {\n var icon = layout.icon;\n\n\n style = 'floatLeft';\n\n prefix = this.icon(icon, key);\n }\n\n if (typeof layout.href !== 'undefined' && layout.href !== null) {\n var href = layout.href;\n var target = layout.target;\n\n //render hyper link row\n\n item.push(this.hyperlink(person.items.Cells, key, href, target, value, style, length));\n } else {\n //render plain text row\n item.push(this.normal(person.items.Cells, key, value, style, length));\n }\n\n if (item[0] !== null && prefix !== null) {\n item.push(prefix);\n item.reverse();\n }\n\n return item;\n }\n\n return getRowFromLayout;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _props = this.props;\n var id = _props.id;\n var element = _props.element;\n var person = _props.person;\n\n\n return _react2['default'].createElement(\n 'div',\n { key: 'item-row-' + id },\n this.getRowFromLayout(id, element.template, person)\n );\n }\n\n return render;\n }()\n }]);\n\n return Row;\n}(_react2['default'].Component);\n\nexports['default'] = (0, _reactCssModules2['default'])(Row, _Row2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/row/Row.jsx\n ** module id = 471\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/row/Row.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(473);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Row.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Row.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/row/Row.css\n ** module id = 472\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/row/Row.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, ".FkXowhdYNHtpBW_ye4Scc{font-size:13px!important;float:left;padding:2px 3px}.floatLeft{float:left;clear:right}", ""]);\n\n// exports\nexports.locals = {\n "icon": "FkXowhdYNHtpBW_ye4Scc"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/row/Row.css\n ** module id = 473\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/row/Row.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval('var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;"use strict";\n\n/* FileSaver.js\r\n * A saveAs() FileSaver implementation.\r\n * 1.1.20151003\r\n *\r\n * By Eli Grey, http://eligrey.com\r\n * License: MIT\r\n * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md\r\n */\n\n/*global self */\n/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */\n\n/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */\n\nvar saveAs = saveAs || function (view) {\n "use strict";\n // IE <10 is explicitly unsupported\n\n if (typeof navigator !== "undefined" && /MSIE [1-9]\\./.test(navigator.userAgent)) {\n return;\n }\n var doc = view.document\n // only get URL when necessary in case Blob.js hasn\'t overridden it yet\n ,\n get_URL = function () {\n function get_URL() {\n return view.URL || view.webkitURL || view;\n }\n\n return get_URL;\n }(),\n save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a"),\n can_use_save_link = "download" in save_link,\n click = function () {\n function click(node) {\n var event = new MouseEvent("click");\n node.dispatchEvent(event);\n }\n\n return click;\n }(),\n is_safari = /Version\\/[\\d\\.]+.*Safari/.test(navigator.userAgent),\n webkit_req_fs = view.webkitRequestFileSystem,\n req_fs = view.requestFileSystem || webkit_req_fs || view.mozRequestFileSystem,\n throw_outside = function () {\n function throw_outside(ex) {\n (view.setImmediate || view.setTimeout)(function () {\n throw ex;\n }, 0);\n }\n\n return throw_outside;\n }(),\n force_saveable_type = "application/octet-stream",\n fs_min_size = 0\n // See https://code.google.com/p/chromium/issues/detail?id=375297#c7 and\n // https://github.com/eligrey/FileSaver.js/commit/485930a#commitcomment-8768047\n // for the reasoning behind the timeout and revocation flow\n ,\n arbitrary_revoke_timeout = 500 // in ms\n ,\n revoke = function () {\n function revoke(file) {\n var revoker = function () {\n function revoker() {\n if (typeof file === "string") {\n // file is an object URL\n get_URL().revokeObjectURL(file);\n } else {\n // file is a File\n file.remove();\n }\n }\n\n return revoker;\n }();\n if (view.chrome) {\n revoker();\n } else {\n setTimeout(revoker, arbitrary_revoke_timeout);\n }\n }\n\n return revoke;\n }(),\n dispatch = function () {\n function dispatch(filesaver, event_types, event) {\n event_types = [].concat(event_types);\n var i = event_types.length;\n while (i--) {\n var listener = filesaver["on" + event_types[i]];\n if (typeof listener === "function") {\n try {\n listener.call(filesaver, event || filesaver);\n } catch (ex) {\n throw_outside(ex);\n }\n }\n }\n }\n\n return dispatch;\n }(),\n auto_bom = function () {\n function auto_bom(blob) {\n // prepend BOM for UTF-8 XML and text/* types (including HTML)\n if (/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n return new Blob(["\ufeff", blob], { type: blob.type });\n }\n return blob;\n }\n\n return auto_bom;\n }(),\n FileSaver = function () {\n function FileSaver(blob, name, no_auto_bom) {\n if (!no_auto_bom) {\n blob = auto_bom(blob);\n }\n // First try a.download, then web filesystem, then object URLs\n var filesaver = this,\n type = blob.type,\n blob_changed = false,\n object_url,\n target_view,\n dispatch_all = function () {\n function dispatch_all() {\n dispatch(filesaver, "writestart progress write writeend".split(" "));\n }\n\n return dispatch_all;\n }()\n // on any filesys errors revert to saving with object URLs\n ,\n fs_error = function () {\n function fs_error() {\n if (target_view && is_safari && typeof FileReader !== "undefined") {\n // Safari doesn\'t allow downloading of blob urls\n var reader = new FileReader();\n reader.onloadend = function () {\n var base64Data = reader.result;\n target_view.location.href = "data:attachment/file" + base64Data.slice(base64Data.search(/[,;]/));\n filesaver.readyState = filesaver.DONE;\n dispatch_all();\n };\n reader.readAsDataURL(blob);\n filesaver.readyState = filesaver.INIT;\n return;\n }\n // don\'t create more object URLs than needed\n if (blob_changed || !object_url) {\n object_url = get_URL().createObjectURL(blob);\n }\n if (target_view) {\n target_view.location.href = object_url;\n } else {\n var new_tab = view.open(object_url, "_blank");\n if (new_tab == undefined && is_safari) {\n //Apple do not allow window.open, see http://bit.ly/1kZffRI\n view.location.href = object_url;\n }\n }\n filesaver.readyState = filesaver.DONE;\n dispatch_all();\n revoke(object_url);\n }\n\n return fs_error;\n }(),\n abortable = function () {\n function abortable(func) {\n return function () {\n if (filesaver.readyState !== filesaver.DONE) {\n return func.apply(this, arguments);\n }\n };\n }\n\n return abortable;\n }(),\n create_if_not_found = { create: true, exclusive: false },\n slice;\n filesaver.readyState = filesaver.INIT;\n if (!name) {\n name = "download";\n }\n if (can_use_save_link) {\n object_url = get_URL().createObjectURL(blob);\n setTimeout(function () {\n save_link.href = object_url;\n save_link.download = name;\n click(save_link);\n dispatch_all();\n revoke(object_url);\n filesaver.readyState = filesaver.DONE;\n });\n return;\n }\n // Object and web filesystem URLs have a problem saving in Google Chrome when\n // viewed in a tab, so I force save with application/octet-stream\n // http://code.google.com/p/chromium/issues/detail?id=91158\n // Update: Google errantly closed 91158, I submitted it again:\n // https://code.google.com/p/chromium/issues/detail?id=389642\n if (view.chrome && type && type !== force_saveable_type) {\n slice = blob.slice || blob.webkitSlice;\n blob = slice.call(blob, 0, blob.size, force_saveable_type);\n blob_changed = true;\n }\n // Since I can\'t be sure that the guessed media type will trigger a download\n // in WebKit, I append .download to the filename.\n // https://bugs.webkit.org/show_bug.cgi?id=65440\n if (webkit_req_fs && name !== "download") {\n name += ".download";\n }\n if (type === force_saveable_type || webkit_req_fs) {\n target_view = view;\n }\n if (!req_fs) {\n fs_error();\n return;\n }\n fs_min_size += blob.size;\n req_fs(view.TEMPORARY, fs_min_size, abortable(function (fs) {\n fs.root.getDirectory("saved", create_if_not_found, abortable(function (dir) {\n var save = function () {\n function save() {\n dir.getFile(name, create_if_not_found, abortable(function (file) {\n file.createWriter(abortable(function (writer) {\n writer.onwriteend = function (event) {\n target_view.location.href = file.toURL();\n filesaver.readyState = filesaver.DONE;\n dispatch(filesaver, "writeend", event);\n revoke(file);\n };\n writer.onerror = function () {\n var error = writer.error;\n if (error.code !== error.ABORT_ERR) {\n fs_error();\n }\n };\n "writestart progress write abort".split(" ").forEach(function (event) {\n writer["on" + event] = filesaver["on" + event];\n });\n writer.write(blob);\n filesaver.abort = function () {\n writer.abort();\n filesaver.readyState = filesaver.DONE;\n };\n filesaver.readyState = filesaver.WRITING;\n }), fs_error);\n }), fs_error);\n }\n\n return save;\n }();\n dir.getFile(name, { create: false }, abortable(function (file) {\n // delete file if it already exists\n file.remove();\n save();\n }), abortable(function (ex) {\n if (ex.code === ex.NOT_FOUND_ERR) {\n save();\n } else {\n fs_error();\n }\n }));\n }), fs_error);\n }), fs_error);\n }\n\n return FileSaver;\n }(),\n FS_proto = FileSaver.prototype,\n saveAs = function () {\n function saveAs(blob, name, no_auto_bom) {\n return new FileSaver(blob, name, no_auto_bom);\n }\n\n return saveAs;\n }();\n // IE 10+ (native saveAs)\n if (typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {\n return function (blob, name, no_auto_bom) {\n if (!no_auto_bom) {\n blob = auto_bom(blob);\n }\n return navigator.msSaveOrOpenBlob(blob, name || "download");\n };\n }\n\n FS_proto.abort = function () {\n var filesaver = this;\n filesaver.readyState = filesaver.DONE;\n dispatch(filesaver, "abort");\n };\n FS_proto.readyState = FS_proto.INIT = 0;\n FS_proto.WRITING = 1;\n FS_proto.DONE = 2;\n\n FS_proto.error = FS_proto.onwritestart = FS_proto.onprogress = FS_proto.onwrite = FS_proto.onabort = FS_proto.onerror = FS_proto.onwriteend = null;\n\n return saveAs;\n}(typeof self !== "undefined" && self || typeof window !== "undefined" && window || undefined.content);\n// `self` is undefined in Firefox for Android content script context\n// while `this` is nsIContentFrameMessageManager\n// with an attribute `content` that corresponds to the window\n\nif (typeof module !== "undefined" && module.exports) {\n module.exports.saveAs = saveAs;\n} else if ("function" !== "undefined" && __webpack_require__(428) !== null && __webpack_require__(475) != null) {\n !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n return saveAs;\n }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/data/filesaver.js\n ** module id = 474\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/data/filesaver.js?')},function(module,exports){eval("/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;\r\n\n/* WEBPACK VAR INJECTION */}.call(exports, {}))\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/buildin/amd-options.js\n ** module id = 475\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///(webpack)/buildin/amd-options.js?")},function(module,exports,__webpack_require__){eval('\'use strict\';\n\nvar _filesaver = __webpack_require__(474);\n\nvar _filesaver2 = _interopRequireDefault(_filesaver);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \'default\': obj }; }\n\nmodule.exports = {\n convertArrayObjectsToCsv: function () {\n function convertArrayObjectsToCsv(items) {\n var str = \'\';\n var line = \'\';\n var heading = \'\';\n\n items.forEach(function (item, i) {\n line = \'\';\n\n for (var index in item.Cells) {\n if (i === 1) {\n heading += index + \',\';\n }\n\n if (line.length > 0) {\n line += \',\';\n }\n\n line += item.Cells[index] !== null ? item.Cells[index] : \'\';\n }\n\n str += line + \'\\r\\n\';\n });\n\n return heading.replace(/,+$/, \'\') + \'\\r\\n\' + str;\n }\n\n return convertArrayObjectsToCsv;\n }(),\n\n // This function outputs a string (containing comma deliminated data) to a CSV file\n exportCsvStringToFile: function () {\n function exportCsvStringToFile(csvContent, filename) {\n var blob = new Blob([csvContent], { type: \'text/csv;charset=iso-8859-1\' });\n\n _filesaver2[\'default\'].saveAs(blob, filename + \'.csv\');\n }\n\n return exportCsvStringToFile;\n }(),\n\n // VCF Outlook contact card format\n getContactForExport: function () {\n function getContactForExport(person) {\n var name = person.PreferredName.split(\' \');\n var dateRightNow = new Date();\n\n var data = \'BEGIN:VCARD\\n \\n\\n VERSION:2.1\\n \\n\\n N;LANGUAGE=en-us:\' + name[1] + \';\' + name[0] + \'\\n \\n\\n FN: \' + person.PreferredName + \'\\n \\n\\n ORG:Content and Code\\n \\n\\n TITLE: \' + person.JobTitle + \'\\n \\n\';\n\n if (typeof person.WorkPhone !== \'undefined\') {\n data += \'TEL;TYPE=WORK,VOICE: \' + person.WorkPhone + \'\\n \\n\';\n }\n\n if (typeof person.CellPhone !== \'undefined\') {\n data += \'TEL;TYPE=CELL:\' + person.CellPhone + \'\\n \\n\';\n }\n\n data += \'DR;WORK;PREF:;;100 City Road;London;;EC1Y 2BP;United Kingdom\\n \\n\\n LABEL;WORK;PREF;ENCODING=QUOTED-PRINTABLE:100 City Road=0D=0A=\\n \\n\\n London EC1Y 2BP\\n \\n\\n X-MS-OL-DEFAULT-POSTAL-ADDRESS:2\\n \\n\\n URL;WORK:https://mysite.contentandcode.com/personal/\' + name[0] + \'_\' + name[1] + \'/\\n \\n\\n EMAIL;PREF;INTERNET:\' + person.WorkEmail + \'\\n \\n\\n X-MS-OL-DESIGN;CHARSET=utf-8:<card xmlns="http://schemas.microsoft.com/office/outlook/12/electronicbusinesscards" ver="1.0" layout="left" bgcolor="ffffff"><img xmlns="" align="fit" area="16" use="cardpicture"/><fld xmlns="" prop="name" align="left" dir="ltr" style="b" color="000000" size="10"/><fld xmlns="" prop="org" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="title" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="telwork" align="left" dir="ltr" color="d48d2a" size="8"><label align="right" color="626262">Work</label></fld><fld xmlns="" prop="telcell" align="left" dir="ltr" color="d48d2a" size="8"><label align="right" color="626262">Mobile</label></fld><fld xmlns="" prop="email" align="left" dir="ltr" color="d48d2a" size="8"/><fld xmlns="" prop="addrwork" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="webwork" align="left" dir="ltr" color="000000" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/><fld xmlns="" prop="blank" size="8"/></card>\\n \\n\\n REV:\' + dateRightNow.toISOString().replace(/[^a-zA-Z 0-9]+/g, \'\') + \'\\n \\n\\n END:VCARD\';\n\n return {\n name: name[0] + \'-\' + name[1],\n data: data\n };\n }\n\n return getContactForExport;\n }()\n}; // file saver (HTML 5)\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/exporter.js\n ** module id = 476\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/exporter.js?'); },function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Results = __webpack_require__(478);\n\nvar _Results2 = _interopRequireDefault(_Results);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _Person = __webpack_require__(464);\n\nvar _Person2 = _interopRequireDefault(_Person);\n\nvar _Button = __webpack_require__(407);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _ProgressBar = __webpack_require__(480);\n\nvar _ProgressBar2 = _interopRequireDefault(_ProgressBar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Results = function (_React$Component) {\n _inherits(Results, _React$Component);\n\n function Results(props) {\n _classCallCheck(this, Results);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(Results).call(this, props));\n }\n\n _createClass(Results, [{\n key: 'onFavourite',\n value: function () {\n function onFavourite(items) {\n // This function is called a favourite action is made from the favourite component to push it through to the person results (add or remove), user profile and local cache\n this.props.onFavouritesChange(items);\n }\n\n return onFavourite;\n }()\n }, {\n key: 'onItemUpdate',\n value: function () {\n function onItemUpdate(index, favourites, isFavourite) {\n // This function is called when a favourite action is made from within the person result item to push it through to the favourites, user profile and local cache (add or remove)\n this.props.onItemUpdate(index, isFavourite, 'person');\n }\n\n return onItemUpdate;\n }()\n }, {\n key: 'createEmptyResultsMessage',\n value: function () {\n function createEmptyResultsMessage() {\n if (this.props.items.length === 0 && !this.props.searching && this.props.term !== '') {\n return _react2['default'].createElement(\n 'p',\n { key: 'no-results-message' },\n 'Incorrect item in the bagging area. Try searching with the name of someone who exists in your organisation.'\n );\n }\n }\n\n return createEmptyResultsMessage;\n }()\n }, {\n key: 'getPersonCardHeightFromLayoutCurrent',\n value: function () {\n function getPersonCardHeightFromLayoutCurrent() {\n // Ensures that all of the person cards are the same height regardless of what data is available for the given person (necessary for horizontal view)\n var offset = this.props.layout.current.length > 3 ? (this.props.layout.current.length - 3) * 21 : 0;\n\n return { height: 94 + offset + 'px' };\n }\n\n return getPersonCardHeightFromLayoutCurrent;\n }()\n }, {\n key: 'createItem',\n value: function () {\n function createItem(item, i) {\n // This function gets called for every search result and renders a person component\n return _react2['default'].createElement(\n 'div',\n { styleName: 'item-container', className: 'animated flipInX person-card', key: 'result-item-' + i, style: this.getPersonCardHeightFromLayoutCurrent() },\n _react2['default'].createElement(\n 'div',\n { className: 'item ms-bgc-w ms-bcl-nl o365cs-notifications-message', styleName: 'results-items' },\n _react2['default'].createElement(_Person2['default'], {\n data: item,\n layout: this.props.layout,\n favourites: this.props.favourites,\n refresh: this.props.refresh,\n onFavouritesChange: this.onFavourite.bind(this),\n onItemUpdate: this.onItemUpdate.bind(this),\n id: i })\n )\n );\n }\n\n return createItem;\n }()\n }, {\n key: 'progressSpinner',\n value: function () {\n function progressSpinner() {\n // fetching results - please wait.... please wait....\n if (this.props.searching) {\n return _react2['default'].createElement(\n 'div',\n { styleName: 'progress-spinner', key: 'progress-spinner' },\n _react2['default'].createElement(_ProgressBar2['default'], {\n type: 'circular',\n mode: 'indeterminate',\n multicolor: true })\n );\n }\n }\n\n return progressSpinner;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n return _react2['default'].createElement(\n 'div',\n { id: 'component-results', className: 'o365-NFP-section', styleName: 'results-container' },\n _react2['default'].createElement(\n 'div',\n { className: 'o365cs-notifications-notificationsContent person-card-holder', styleName: 'results' },\n this.props.items.map(this.createItem.bind(this))\n ),\n this.progressSpinner(),\n this.createEmptyResultsMessage()\n );\n }\n\n return render;\n }()\n }]);\n\n return Results;\n}(_react2['default'].Component);\n\nResults.propTypes = {\n refresh: _react2['default'].PropTypes.bool,\n term: _react2['default'].PropTypes.string,\n items: _react2['default'].PropTypes.array,\n layout: _react2['default'].PropTypes.object,\n favourites: _react2['default'].PropTypes.array,\n searching: _react2['default'].PropTypes.bool,\n onItemUpdate: _react2['default'].PropTypes.func,\n onFavouritesChange: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Results, _Results2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/results/Results.jsx\n ** module id = 477\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/results/Results.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(479);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Results.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Results.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/results/Results.css\n ** module id = 478\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/results/Results.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._21y-tG49klN51i0-5vKrLD{margin:0 20px;position:relative;clear:both;z-index:2000}._21y-tG49klN51i0-5vKrLD .OTvpU3A5IfRBNVzqg9oqw{width:355px!important;box-shadow:0 4px 12px #d9d9d9}._21y-tG49klN51i0-5vKrLD ._2wdRjwZafuXe_tgYYS7lA1 ._32_KxxMChwjBTVc85LmGp6{padding-bottom:40px!important}.person-card{border:1px solid #eaeaea;margin-bottom:10px}.FE2AxEEHNPgB7ramPARP5{padding:10px}.FE2AxEEHNPgB7ramPARP5 button,.FE2AxEEHNPgB7ramPARP5 input[type=button]{min-width:auto!important;padding:0!important;float:right;clear:right}._2vgj5vScaQGl7I6pO31FbU{background-color:#fff}.k1ue74hI0XTEbq_wPq_9s{margin:0 0 0 150px}", ""]);\n\n// exports\nexports.locals = {\n "results-container": "_21y-tG49klN51i0-5vKrLD",\n "results": "OTvpU3A5IfRBNVzqg9oqw",\n "command-holder": "_2wdRjwZafuXe_tgYYS7lA1",\n "item": "_32_KxxMChwjBTVc85LmGp6",\n "results-items": "FE2AxEEHNPgB7ramPARP5",\n "item-container": "_2vgj5vScaQGl7I6pO31FbU",\n "progress-spinner": "k1ue74hI0XTEbq_wPq_9s"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/results/Results.css\n ** module id = 479\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/results/Results.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(408);\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _ProgressBarStyles = __webpack_require__(481);\n\nvar _ProgressBarStyles2 = _interopRequireDefault(_ProgressBarStyles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar WEBKIT = 'Webkit';\nvar MICROSOFT = 'Ms';\n\nvar properties = {\n transform: [WEBKIT, MICROSOFT]\n};\n\nfunction capitalize(string) {\n return string.charAt(0).toUpperCase() + string.substr(1);\n}\n\nfunction getPrefixes(property, value) {\n return properties[property].reduce(function (acc, item) {\n acc['' + item + capitalize(property)] = value;\n return acc;\n }, {});\n}\n\nfunction addPrefixesTo(style, property, value) {\n var vendor = getPrefixes(property, value);\n for (var prefix in vendor) {\n style[prefix] = vendor[prefix];\n }\n\n return style;\n}\n\nfunction prefixer(style) {\n var defaultValue = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var _style = defaultValue;\n for (var property in style) {\n _style[property] = style[property];\n if (properties[property]) {\n addPrefixesTo(_style, property, style[property]);\n }\n }\n\n return _style;\n}\n\nvar ProgressBar = function (_React$Component) {\n _inherits(ProgressBar, _React$Component);\n\n function ProgressBar() {\n _classCallCheck(this, ProgressBar);\n\n return _possibleConstructorReturn(this, Object.getPrototypeOf(ProgressBar).apply(this, arguments));\n }\n\n _createClass(ProgressBar, [{\n key: 'calculateRatio',\n value: function () {\n function calculateRatio(value) {\n if (value < this.props.min) return 0;\n if (value > this.props.max) return 1;\n return (value - this.props.min) / (this.props.max - this.props.min);\n }\n\n return calculateRatio;\n }()\n }, {\n key: 'circularStyle',\n value: function () {\n function circularStyle() {\n if (this.props.mode !== 'indeterminate') {\n return { strokeDasharray: 2 * Math.PI * 25 * this.calculateRatio(this.props.value) + ', 400' };\n }\n }\n\n return circularStyle;\n }()\n }, {\n key: 'linearStyle',\n value: function () {\n function linearStyle() {\n if (this.props.mode !== 'indeterminate') {\n return {\n buffer: prefixer({ transform: 'scaleX(' + this.calculateRatio(this.props.buffer) + ')' }),\n value: prefixer({ transform: 'scaleX(' + this.calculateRatio(this.props.value) + ')' })\n };\n } else {\n return {};\n }\n }\n\n return linearStyle;\n }()\n }, {\n key: 'renderCircular',\n value: function () {\n function renderCircular() {\n return _react2['default'].createElement(\n 'svg',\n { className: _ProgressBarStyles2['default'].circle },\n _react2['default'].createElement('circle', { className: _ProgressBarStyles2['default'].path, style: this.circularStyle(), cx: '30', cy: '30', r: '25' })\n );\n }\n\n return renderCircular;\n }()\n }, {\n key: 'renderLinear',\n value: function () {\n function renderLinear() {\n var _linearStyle = this.linearStyle();\n\n var buffer = _linearStyle.buffer;\n var value = _linearStyle.value;\n\n return _react2['default'].createElement(\n 'div',\n null,\n _react2['default'].createElement('span', { ref: 'buffer', 'data-ref': 'buffer', className: _ProgressBarStyles2['default'].buffer, style: buffer }),\n _react2['default'].createElement('span', { ref: 'value', 'data-ref': 'value', className: _ProgressBarStyles2['default'].value, style: value })\n );\n }\n\n return renderLinear;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n var _ClassNames;\n\n var className = (0, _classnames2['default'])(_ProgressBarStyles2['default'][this.props.type], (_ClassNames = {}, _defineProperty(_ClassNames, _ProgressBarStyles2['default'][this.props.mode], this.props.mode), _defineProperty(_ClassNames, _ProgressBarStyles2['default'].multicolor, this.props.multicolor), _ClassNames), this.props.className);\n\n return _react2['default'].createElement(\n 'div',\n {\n 'data-gf': 'progress-bar',\n 'aria-valuenow': this.props.value,\n 'aria-valuemin': this.props.min,\n 'aria-valuemax': this.props.max,\n className: className },\n this.props.type === 'circular' ? this.renderCircular() : this.renderLinear()\n );\n }\n\n return render;\n }()\n }]);\n\n return ProgressBar;\n}(_react2['default'].Component);\n\nProgressBar.propTypes = {\n buffer: _react2['default'].PropTypes.number,\n className: _react2['default'].PropTypes.string,\n max: _react2['default'].PropTypes.number,\n min: _react2['default'].PropTypes.number,\n mode: _react2['default'].PropTypes.string,\n multicolor: _react2['default'].PropTypes.bool,\n type: _react2['default'].PropTypes.oneOf(['linear', 'circular']),\n value: _react2['default'].PropTypes.number\n};\nProgressBar.defaultProps = {\n buffer: 0,\n className: '',\n max: 100,\n min: 0,\n mode: 'indeterminate',\n multicolor: false,\n type: 'linear',\n value: 0\n};\nexports['default'] = ProgressBar;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/ProgressBar.jsx\n ** module id = 480\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/ProgressBar.jsx?")},function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(482);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./ProgressBar.styles.css\", function() {\n var newContent = require(\"!!./../../node_modules/css-loader/index.js?modules!./../../node_modules/sass-loader/index.js!./ProgressBar.styles.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/ui/ProgressBar.styles.css\n ** module id = 481\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/ProgressBar.styles.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._29y0WqnvZdhKys7p2P7MKM{position:relative;display:inline-block;width:100%;height:.4rem;overflow:hidden;background:#eee}._29y0WqnvZdhKys7p2P7MKM._38iRzqOihbRGIFzXZjv0VB ._3OZWCKPuSjkouZgDqnIGt9{transform-origin:center center;animation:_2M2sLcWdcbaq8tRD0GitGp 1s linear infinite}._3OZWCKPuSjkouZgDqnIGt9,.tsBbeVK4WD-gdTHIZhQmx{position:absolute;top:0;right:0;bottom:0;left:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.35s;transform:scaleX(0);transform-origin:left center}._3OZWCKPuSjkouZgDqnIGt9{background-color:#3f51b5}.tsBbeVK4WD-gdTHIZhQmx{background-image:linear-gradient(90deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7)),linear-gradient(90deg,#3f51b5,#3f51b5)}.ukR4D8lIAIaiIKHQZKyt{position:relative;display:inline-block;width:60px;height:60px;transform:rotate(-90deg)}.ukR4D8lIAIaiIKHQZKyt._38iRzqOihbRGIFzXZjv0VB ._3uplyzcuNu7M6kGKOU0lNs{animation:PvMYIZJX0O16r2ZmKUzyK 2s linear infinite}.ukR4D8lIAIaiIKHQZKyt._38iRzqOihbRGIFzXZjv0VB ._2Mhbq-xjqFFR58Z9zWjvmD{animation:_16awSW9HbxxSlaq9wKAxbY 1.5s ease-in-out infinite;stroke-dasharray:1.25,250;stroke-dashoffset:0}.ukR4D8lIAIaiIKHQZKyt._38iRzqOihbRGIFzXZjv0VB._1EyW9U05KXdPARNvjuEhMq ._2Mhbq-xjqFFR58Z9zWjvmD{animation:_16awSW9HbxxSlaq9wKAxbY 1.5s ease-in-out infinite,_3Wmo9XgC6PdJw1mijaASUz 6s ease-in-out infinite}._3uplyzcuNu7M6kGKOU0lNs{width:100%;height:100%}._2Mhbq-xjqFFR58Z9zWjvmD{transition:stroke-dasharray .35s cubic-bezier(.4,0,.2,1);fill:none;stroke-dasharray:0,250;stroke-dashoffset:0;stroke-linecap:round;stroke-miterlimit:20;stroke-width:4;stroke:#3f51b5}@keyframes _2M2sLcWdcbaq8tRD0GitGp{0%{transform:translate(-50%) scaleX(0)}50%{transform:translate(0) scaleX(.3)}to{transform:translate(50%) scaleX(0)}}@keyframes PvMYIZJX0O16r2ZmKUzyK{to{transform:rotate(1turn)}}@keyframes _16awSW9HbxxSlaq9wKAxbY{0%{stroke-dasharray:1.25,250;stroke-dashoffset:0}50%{stroke-dasharray:111.25,250;stroke-dashoffset:-43.75}to{stroke-dasharray:111.25,250;stroke-dashoffset:-155}}@keyframes _3Wmo9XgC6PdJw1mijaASUz{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}", ""]);\n\n// exports\nexports.locals = {\n "linear": "_29y0WqnvZdhKys7p2P7MKM",\n "indeterminate": "_38iRzqOihbRGIFzXZjv0VB",\n "value": "_3OZWCKPuSjkouZgDqnIGt9",\n "linear-indeterminate-bar": "_2M2sLcWdcbaq8tRD0GitGp",\n "buffer": "tsBbeVK4WD-gdTHIZhQmx",\n "circular": "ukR4D8lIAIaiIKHQZKyt",\n "circle": "_3uplyzcuNu7M6kGKOU0lNs",\n "circular-indeterminate-bar-rotate": "PvMYIZJX0O16r2ZmKUzyK",\n "path": "_2Mhbq-xjqFFR58Z9zWjvmD",\n "circular-indeterminate-bar-dash": "_16awSW9HbxxSlaq9wKAxbY",\n "multicolor": "_1EyW9U05KXdPARNvjuEhMq",\n "colors": "_3Wmo9XgC6PdJw1mijaASUz"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/ui/ProgressBar.styles.css\n ** module id = 482\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/ui/ProgressBar.styles.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Paging = __webpack_require__(484);\n\nvar _Paging2 = _interopRequireDefault(_Paging);\n\nvar _reactCssModules = __webpack_require__(159);\n\nvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\nvar _utilities = __webpack_require__(355);\n\nvar _utilities2 = _interopRequireDefault(_utilities);\n\nvar _SearchStore = __webpack_require__(434);\n\nvar _SearchStore2 = _interopRequireDefault(_SearchStore);\n\nvar _PeopleSearchActions = __webpack_require__(420);\n\nvar _PeopleSearchActions2 = _interopRequireDefault(_PeopleSearchActions);\n\nvar _Button = __webpack_require__(407);\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint no-script-url: 0 */\n\n\nfunction getStoreSearchResultPagingState() {\n return {\n items: _SearchStore2['default'].getResults(),\n searching: false,\n count: _SearchStore2['default'].getResultCount(),\n term: _SearchStore2['default'].getCurrentSearchTerm(),\n pageNum: _SearchStore2['default'].getCurrentPage(),\n text: ''\n };\n}\n\nvar Paging = function (_React$Component) {\n _inherits(Paging, _React$Component);\n\n function Paging(props) {\n _classCallCheck(this, Paging);\n\n var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Paging).call(this, props));\n\n _this.state = getStoreSearchResultPagingState();\n return _this;\n }\n\n _createClass(Paging, [{\n key: 'componentWillMount',\n value: function () {\n function componentWillMount() {\n _SearchStore2['default'].removeChangeListener(this.onComponentChange);\n }\n\n return componentWillMount;\n }()\n }, {\n key: 'componentDidMount',\n value: function () {\n function componentDidMount() {\n _SearchStore2['default'].addChangeListener(this.onComponentChange.bind(this));\n }\n\n return componentDidMount;\n }()\n }, {\n key: 'onComponentChange',\n value: function () {\n function onComponentChange() {\n this.props.onPaging(getStoreSearchResultPagingState());\n }\n\n return onComponentChange;\n }()\n }, {\n key: 'onPageClick',\n value: function () {\n function onPageClick(pageNum) {\n this.getPageResults(pageNum);\n }\n\n return onPageClick;\n }()\n }, {\n key: 'onPreviousPageClick',\n value: function () {\n function onPreviousPageClick() {\n // previous button click - go back to previous set of results\n var num = this.getCurrentPage();\n\n this.getPageResults(num - 1);\n }\n\n return onPreviousPageClick;\n }()\n }, {\n key: 'onNextPageClick',\n value: function () {\n function onNextPageClick() {\n // next button click - go back to the next set of results\n var num = this.getCurrentPage();\n\n this.getPageResults(num + 1);\n }\n\n return onNextPageClick;\n }()\n }, {\n key: 'getPageResults',\n value: function () {\n function getPageResults(pageNum) {\n var properties = typeof this.props.properties !== 'undefined' ? this.props.properties : '';\n var url = _utilities2['default'].getFullSearchQueryUrl(this.props.term, properties);\n\n this.props.onSearching();\n\n _PeopleSearchActions2['default'].fetchData(url, this.props.term, pageNum);\n }\n\n return getPageResults;\n }()\n }, {\n key: 'getPagingNodeCount',\n value: function () {\n function getPagingNodeCount() {\n return Math.ceil(this.props.count / 10);\n }\n\n return getPagingNodeCount;\n }()\n }, {\n key: 'getCurrentPage',\n value: function () {\n function getCurrentPage() {\n // we need to know which one to highlight in the pagination (set the default to one if we don't seem to be currently paging)\n if (typeof this.props.pageNum !== 'undefined') {\n if (this.props.pageNum === 0) {\n return 1;\n }\n\n return this.props.pageNum;\n }\n\n return 1;\n }\n\n return getCurrentPage;\n }()\n }, {\n key: 'getPagingLink',\n value: function () {\n function getPagingLink(num, current) {\n var pagingCssClasses = current ? 'pager self' : 'pager';\n\n // render a paging hyper link for each available pagination item\n return _react2['default'].createElement(\n 'a',\n {\n href: 'javascript:void(0)',\n key: num,\n styleName: this.getPagingNodeCount() === 1 ? 'hidden' : pagingCssClasses,\n onClick: this.onPageClick.bind(this, num) },\n num\n );\n }\n\n return getPagingLink;\n }()\n }, {\n key: 'getPreviousPageLink',\n value: function () {\n function getPreviousPageLink() {\n return _react2['default'].createElement(\n 'div',\n { key: 'prev', styleName: this.prevPageAvailable() ? 'prev-pager' : 'hidden' },\n _react2['default'].createElement(_Button2['default'], {\n icon: 'chevron_left',\n id: 'prev-page',\n onClick: this.onPreviousPageClick.bind(this),\n accent: true, raised: true, mini: true })\n );\n }\n\n return getPreviousPageLink;\n }()\n }, {\n key: 'getNextPageLink',\n value: function () {\n function getNextPageLink() {\n return _react2['default'].createElement(\n 'div',\n { key: 'next', styleName: this.nextPageAvailable() ? 'next-pager' : 'hidden' },\n _react2['default'].createElement(_Button2['default'], {\n icon: 'chevron_right',\n id: 'next-page',\n onClick: this.onNextPageClick.bind(this),\n accent: true, raised: true, mini: true })\n );\n }\n\n return getNextPageLink;\n }()\n\n // This function creates the pagination links\n\n }, {\n key: 'getPagingNodes',\n value: function () {\n function getPagingNodes() {\n var node = 0;\n\n var pages = [];\n var current = this.getCurrentPage();\n var count = this.getPagingNodeCount();\n\n /*\r\n TODO:\r\n Only write out ten page links relative to where we are\r\n create a paging link for each result subset and set the current paging styles\r\n */\n while (node < count) {\n if (node + 1 === current) {\n pages.push(this.getPagingLink(node + 1, true));\n } else {\n pages.push(this.getPagingLink(node + 1, false));\n }\n\n node += 1;\n }\n\n return pages;\n }\n\n return getPagingNodes;\n }()\n }, {\n key: 'nextPageAvailable',\n value: function () {\n function nextPageAvailable() {\n var totalPageCount = this.getPagingNodeCount();\n\n if (typeof this.props.pageNum !== 'undefined') {\n if (this.props.pageNum < totalPageCount) {\n if (totalPageCount > 1) {\n return true;\n }\n }\n } else if (typeof this.props.pageNum === 'undefined' && totalPageCount > 1) {\n //no paging has been made but there are more than one pages\n return true;\n }\n\n return false;\n }\n\n return nextPageAvailable;\n }()\n }, {\n key: 'prevPageAvailable',\n value: function () {\n function prevPageAvailable() {\n return typeof this.props.pageNum !== 'undefined' ? this.props.pageNum > 1 : false;\n }\n\n return prevPageAvailable;\n }()\n }, {\n key: 'render',\n value: function () {\n function render() {\n return _react2['default'].createElement(\n 'div',\n { id: 'component-paging', styleName: this.getPagingNodeCount() < 2 ? 'paging-hidden' : 'paging' },\n _react2['default'].createElement(\n 'span',\n null,\n this.getPreviousPageLink(),\n this.getPagingNodes(),\n this.getNextPageLink()\n )\n );\n }\n\n return render;\n }()\n }]);\n\n return Paging;\n}(_react2['default'].Component);\n\nPaging.propTypes = {\n properties: _react2['default'].PropTypes.object,\n count: _react2['default'].PropTypes.number,\n pageNum: _react2['default'].PropTypes.number,\n term: _react2['default'].PropTypes.string,\n onSearching: _react2['default'].PropTypes.func,\n onPaging: _react2['default'].PropTypes.func\n};\n\nexports['default'] = (0, _reactCssModules2['default'])(Paging, _Paging2['default'], { allowMultiple: true });\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/paging/Paging.jsx\n ** module id = 483\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/paging/Paging.jsx?"); },function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(485);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(158)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Paging.css\", function() {\n var newContent = require(\"!!./../../../node_modules/css-loader/index.js?modules!./../../../node_modules/sass-loader/index.js!./Paging.css\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/components/paging/Paging.css\n ** module id = 484\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/paging/Paging.css?")},function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(157)();\n// imports\n\n\n// module\nexports.push([module.id, "._3irhaqOmGXlhRowa6BOKQU{padding:10px 10px 20px 20px;height:40px}._1_YYd84RnthLqJaXsOkWIe{padding:2px 6px 2px 5px;background:#fff!important;font-weight:700;float:left;margin:0 1px}._1nGabI-I0heP0JFeYjBDG4,.gsuWuWklNxbsbiLsjCMzZ{float:left}._2qnztZYkRPIs7b7kSxI09Y{background-color:#f4f4f4!important;font-weight:400}._3irhaqOmGXlhRowa6BOKQU button,._30CHWT_r1oj-3f0aLGs3TZ input[type=button]{min-width:auto!important;margin:-1px 2px 5px 0;padding:0!important;height:1.6rem!important}._3irhaqOmGXlhRowa6BOKQU button span{line-height:1!important;margin-right:0!important}._2tAZlVqtCGQhXlTx9chs0x,.RKjPMqAR7vHO58KMSQ9W_{display:none}", ""]);\n\n// exports\nexports.locals = {\n "paging": "_3irhaqOmGXlhRowa6BOKQU",\n "pager": "_1_YYd84RnthLqJaXsOkWIe",\n "next-pager": "_1nGabI-I0heP0JFeYjBDG4",\n "prev-pager": "gsuWuWklNxbsbiLsjCMzZ",\n "self": "_2qnztZYkRPIs7b7kSxI09Y",\n "pagging": "_30CHWT_r1oj-3f0aLGs3TZ",\n "paging-hidden": "RKjPMqAR7vHO58KMSQ9W_",\n "hidden": "_2tAZlVqtCGQhXlTx9chs0x"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader?modules!./~/sass-loader!./src/components/paging/Paging.css\n ** module id = 485\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/components/paging/Paging.css?./~/css-loader?modules!./~/sass-loader')},function(module,exports){eval("'use strict';\n\n/*\r\n * Resize Snapin - based on the work done by @author https://twitter.com/blurspline / https://github.com/zz85\r\n * See post @ http://www.lab4games.net/zz85/blog/2014/11/15/resizing-moving-snapping-windows-with-js-css/\r\n */\n// Minimum resizable area (width and height)\nvar minWidth = 450;\nvar minHeight = 450;\nvar leftRightTopOffset = typeof window.fakeAjaxCalls === 'undefined' ? 85 : 0;\n\n// Thresholds - leave these alone\nvar FULLSCREEN_MARGINS = -10;\nvar MARGINS = 4;\n\n// End of what's configurable.\nvar clicked = null;\n// Resizing booleans indicating if we are resizing from one of these points\nvar onRightEdge, onBottomEdge, onLeftEdge, onTopEdge;\nvar currentClicker = null;\n\nvar rightScreenEdge, bottomScreenEdge;\n\nvar preSnapped;\n\nvar b, x, y;\n\nvar redraw = false;\n\n// The app holding div element (that we move to the snappin) - pane\n// The ghost panel demonstrating the drop point for the move - ghostpane\nvar pane, ghostpane;\n\nvar clickers;\n\nfunction setBounds(element, x, y, w, h) {\n element.style.left = x + 'px';\n element.style.top = y + 'px';\n element.style.width = w + 'px';\n element.style.height = h + 'px';\n}\n\nfunction getCurrentClicker(e) {\n return e.target || e.srcElement;\n}\n\nfunction hintHide() {\n ghostpane.style.opacity = 0;\n}\n\nfunction onTouchDown(e) {\n onDown(e.touches[0]);\n e.preventDefault();\n}\n\nfunction onTouchMove(e) {\n onMove(e.touches[0]);\n}\n\nfunction onTouchEnd(e) {\n if (e.touches.length === 0) {\n onUp(e.changedTouches[0]);\n }\n}\n\nfunction onMouseDown(e) {\n onDown(e);\n e.preventDefault();\n}\n\nfunction setCurrentClickerHighlight(el, highlight) {\n el.style.color = highlight ? Goldfish.GetPrimaryColour() : '';\n\n el.className = highlight ? el.className + ' animated pulse' : el.className.replace(/ animated pulse/g, '');\n\n document.getElementById('outer-space').style.border = highlight ? '2px dashed #cccccc' : '';\n}\n\nfunction onDown(e) {\n ghostpane.style.display = '';\n\n calc(e);\n\n var isResizing = onRightEdge || onBottomEdge || onTopEdge || onLeftEdge;\n\n clicked = {\n x: x,\n y: y,\n cx: e.clientX,\n cy: e.clientY,\n w: b.width,\n h: b.height,\n currentClicker: getCurrentClicker(e),\n isResizing: isResizing,\n isMoving: !isResizing && canMove(),\n onTopEdge: onTopEdge,\n onLeftEdge: onLeftEdge,\n onRightEdge: onRightEdge,\n onBottomEdge: onBottomEdge\n };\n\n setCurrentClickerHighlight(clicked.currentClicker, true);\n}\n\nfunction canMove() {\n return x > 0 && x < b.width && y > 0 && y < b.height;\n}\n\nfunction calc(e) {\n b = pane.getBoundingClientRect();\n x = e.clientX - b.left;\n y = e.clientY - b.top;\n onTopEdge = y < MARGINS;\n onLeftEdge = x < MARGINS;\n onRightEdge = x >= b.width - MARGINS;\n onBottomEdge = y >= b.height - MARGINS;\n rightScreenEdge = window.innerWidth - MARGINS;\n bottomScreenEdge = window.innerHeight - MARGINS;\n}\n\nvar e;\n\nfunction onMove(ee) {\n calc(ee);\n e = ee;\n redraw = true;\n}\n\nfunction getApplyBounds(el, drop, snapped) {\n var compiledWidth = pane.getBoundingClientRect().width > window.innerWidth - 1 ? minWidth : pane.getBoundingClientRect().width;\n var region = null;\n\n if (b.top < MARGINS) {\n region = 'top';\n setBounds(el, 0, 0, window.innerWidth, minHeight);\n } else if (b.left < MARGINS) {\n region = 'left';\n setBounds(el, 0, leftRightTopOffset, 410, window.innerHeight);\n } else if (b.right > rightScreenEdge) {\n region = 'right';\n setBounds(el, window.innerWidth - 410, leftRightTopOffset, 410, window.innerHeight);\n } else if (b.bottom > bottomScreenEdge) {\n region = 'bottom';\n setBounds(el, 0, window.innerHeight - minHeight, window.innerWidth, minHeight);\n } else {\n if (drop) {\n return null;\n } else {\n hintHide();\n return;\n }\n }\n\n if (drop) {\n return { 'region': region, 'snapped': snapped };\n }\n\n el.style.opacity = 0.2;\n}\n\nfunction getCursorState() {\n // style cursor\n if (onRightEdge && onBottomEdge || onLeftEdge && onTopEdge) {\n return 'nwse-resize';\n } else if (onRightEdge && onTopEdge || onBottomEdge && onLeftEdge) {\n return 'nesw-resize';\n } else if (onRightEdge || onLeftEdge) {\n return 'ew-resize';\n } else if (onBottomEdge || onTopEdge) {\n return 'ns-resize';\n } else if (canMove()) {\n return 'move';\n } else {\n return 'default';\n }\n}\n\nfunction setSnappinClass(region) {\n var snap = region.charAt(0).toUpperCase() + region.slice(1);\n // We set a spacial class to the containing div so that we can manipulate the css for the snapped layout\n pane.className = 'animated bounceInRight goldfishSnap' + snap;\n}\n\nfunction animate() {\n requestAnimationFrame(animate);\n\n if (!redraw) return;\n\n redraw = false;\n\n if (clicked && clicked.isResizing) {\n\n if (clicked.onRightEdge) pane.style.width = Math.max(x, minWidth) + 'px';\n if (clicked.onBottomEdge) pane.style.height = Math.max(y, minHeight) + 'px';\n\n if (clicked.onLeftEdge) {\n var currentWidth = Math.max(clicked.cx - e.clientX + clicked.w, minWidth);\n\n if (currentWidth > minWidth) {\n pane.style.width = currentWidth + 'px';\n pane.style.left = e.clientX + 'px';\n }\n }\n\n if (clicked.onTopEdge) {\n var currentHeight = Math.max(clicked.cy - e.clientY + clicked.h, minHeight);\n\n if (currentHeight > minHeight) {\n pane.style.height = currentHeight + 'px';\n pane.style.top = e.clientY + 'px';\n }\n }\n\n hintHide();\n\n return;\n }\n\n if (clicked && clicked.isMoving) {\n getApplyBounds(ghostpane, false, null);\n\n if (preSnapped) {\n setBounds(pane, e.clientX - preSnapped.width / 2, e.clientY - Math.min(clicked.y, preSnapped.height), preSnapped.width, preSnapped.height);\n return;\n }\n\n // moving\n pane.style.top = e.clientY - clicked.y + 'px';\n pane.style.left = e.clientX - clicked.x + 'px';\n return;\n }\n\n // This code executes when mouse moves without clicking\n var curs = getCursorState();\n\n clickers.forEach(function (clicker) {\n // Set the cursor style for the drag to snapin element\n document.getElementById(clicker).style.cursor = curs;\n });\n}\n\nfunction onUp(e) {\n calc(e);\n\n if (clicked && clicked.isMoving) {\n // Snap\n var snapped = {\n width: b.width,\n height: b.height\n };\n\n var boundParams = getApplyBounds(pane, true, snapped);\n preSnapped = boundParams.snapped;\n\n setSnappinClass(boundParams.region);\n setCurrentClickerHighlight(clicked.currentClicker, false);\n\n hintHide();\n }\n\n clicked = null;\n\n ghostpane.style.display = 'none';\n}\n\nfunction setEventListeners() {\n clickers.forEach(function (clicker) {\n\n var clickElement = document.getElementById(clicker);\n\n if (clickElement !== null) {\n // Mouse events\n clickElement.addEventListener('mousedown', onMouseDown);\n document.addEventListener('mousemove', onMove);\n document.addEventListener('mouseup', onUp);\n\n // Touch events\n clickElement.addEventListener('touchstart', onTouchDown);\n document.addEventListener('touchmove', onTouchMove);\n document.addEventListener('touchend', onTouchEnd);\n }\n });\n}\n\nfunction setElements(el, ghost) {\n pane = document.getElementById(el);\n ghostpane = document.getElementById(ghost);\n\n clickers = clickers;\n}\n\nmodule.exports = {\n Start: function () {\n function Start(el, ghost, clickerElements) {\n if (document.getElementById(el) !== null) {\n if (typeof clickerElements !== 'undefiend') {\n clickers = clickerElements;\n\n setElements(el, ghost);\n setEventListeners();\n animate();\n } else {\n console.log('Goldfish.ResizeSnapin Please provide the clickers parameter (array) when calling the ResizeSnappin extension. Exiting...');\n }\n } else {\n setTimeout(function () {\n namespace.Start(el, ghost, clickerElements);\n }, 1000);\n }\n }\n\n return Start;\n }()\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/utils/snappin.js\n ** module id = 486\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///./src/utils/snappin.js?")},function(module,exports,__webpack_require__,__webpack_module_template_argument_0__,__webpack_module_template_argument_1__,__webpack_module_template_argument_2__){eval("var getPrototype = __webpack_require__(__webpack_module_template_argument_0__),\n isHostObject = __webpack_require__(__webpack_module_template_argument_1__),\n isObjectLike = __webpack_require__(__webpack_module_template_argument_2__);\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = Function.prototype.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object,\n * else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) ||\n objectToString.call(value) != objectTag || isHostObject(value)) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return (typeof Ctor == 'function' &&\n Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);\n}\n\nmodule.exports = isPlainObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** template of 369 referencing \n ** module id = 487\n ** module chunks = 0\n **/\n//# sourceURL=webpack:///template_of_369_referencing_?")}]));