does.\n contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n }\n return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getTextContentAccessor.js\n ** module id = 318\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, 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 */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactCompositeComponent = require('./ReactCompositeComponent');\nvar ReactEmptyComponent = require('./ReactEmptyComponent');\nvar ReactHostComponent = require('./ReactHostComponent');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n// To avoid a cyclic dependency, we create the final class in this module\nvar ReactCompositeComponentWrapper = function (element) {\n this.construct(element);\n};\n_assign(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\nfunction getDisplayName(instance) {\n var element = instance._currentElement;\n if (element == null) {\n return '#empty';\n } else if (typeof element === 'string' || typeof element === 'number') {\n return '#text';\n } else if (typeof element.type === 'string') {\n return element.type;\n } else if (instance.getName) {\n return instance.getName() || 'Unknown';\n } else {\n return element.type.displayName || element.type.name || 'Unknown';\n }\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\nvar nextDebugID = 1;\n\n/**\n * Given a ReactNode, create an instance that will actually be mounted.\n *\n * @param {ReactNode} node\n * @param {boolean} shouldHaveDebugID\n * @return {object} A new instance of the element's constructor.\n * @protected\n */\nfunction instantiateReactComponent(node, shouldHaveDebugID) {\n var instance;\n\n if (node === null || node === false) {\n instance = ReactEmptyComponent.create(instantiateReactComponent);\n } else if (typeof node === 'object') {\n var element = node;\n !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : _prodInvariant('130', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : void 0;\n\n // Special case string values\n if (typeof element.type === 'string') {\n instance = ReactHostComponent.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\n // We renamed this. Allow the old name for compat. :(\n if (!instance.getHostNode) {\n instance.getHostNode = instance.getNativeNode;\n }\n } else {\n instance = new ReactCompositeComponentWrapper(element);\n }\n } else if (typeof node === 'string' || typeof node === 'number') {\n instance = ReactHostComponent.createInstanceForText(node);\n } else {\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : _prodInvariant('131', typeof node) : void 0;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;\n }\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 (process.env.NODE_ENV !== 'production') {\n if (shouldHaveDebugID) {\n var debugID = nextDebugID++;\n instance._debugID = debugID;\n var displayName = getDisplayName(instance);\n ReactInstrumentation.debugTool.onSetDisplayName(debugID, displayName);\n var owner = node && node._owner;\n if (owner) {\n ReactInstrumentation.debugTool.onSetOwner(debugID, owner._debugID);\n }\n } else {\n instance._debugID = 0;\n }\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 (process.env.NODE_ENV !== 'production') {\n if (Object.preventExtensions) {\n Object.preventExtensions(instance);\n }\n }\n\n return instance;\n}\n\nmodule.exports = instantiateReactComponent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/instantiateReactComponent.js\n ** module id = 319\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, 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\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 */\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\n if (nodeName === 'input') {\n return !!supportedInputTypes[elem.type];\n }\n\n if (nodeName === 'textarea') {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = isTextInputElement;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/isTextInputElement.js\n ** module id = 320\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, 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 = require('fbjs/lib/ExecutionEnvironment');\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\nvar setInnerHTML = require('./setInnerHTML');\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
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 if (text) {\n var firstChild = node.firstChild;\n\n if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n firstChild.nodeValue = text;\n return;\n }\n }\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/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/setTextContent.js\n ** module id = 321\n ** module chunks = 0\n **/","\"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/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/compose.js\n ** module id = 322\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.ActionTypes = undefined;\nexports[\"default\"] = createStore;\n\nvar _isPlainObject = require('lodash/isPlainObject');\n\nvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\nvar _symbolObservable = require('symbol-observable');\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/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/createStore.js\n ** module id = 323\n ** module chunks = 0\n **/","'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/*****************\n ** WEBPACK FOOTER\n ** ./~/redux/lib/utils/warning.js\n ** module id = 324\n ** module chunks = 0\n **/","/**\n * This file implements actions to fetch and load data from the API.\n */\n\n// NPM imports\nimport { normalize, arrayOf } from \"normalizr\";\nimport humps from \"humps\";\n\n// Other actions\nimport { CALL_API } from \"../middleware/api\";\nimport { pushEntities } from \"./entities\";\n\n// Models\nimport { artist, song, album } from \"../models/api\";\n\n// Constants\nexport const DEFAULT_LIMIT = 32; /** Default max number of elements to retrieve. */\n\n\n/**\n * This function wraps around an API action to generate actions trigger\n * functions to load items etc.\n *\n * @param action API action.\n * @param requestType Action type to trigger on request.\n * @param successType Action type to trigger on success.\n * @param failureType Action type to trigger on failure.\n */\nexport default function (action, requestType, successType, failureType) {\n /** Get the name of the item associated with action */\n const itemName = action.rstrip(\"s\");\n\n /**\n * Normalizr helper to normalize API response.\n *\n * @param jsonData The JS object returned by the API.\n * @return A normalized object.\n */\n const _normalizeAPIResponse = function (jsonData) {\n return normalize(\n jsonData,\n {\n artist: arrayOf(artist),\n album: arrayOf(album),\n song: arrayOf(song),\n },\n {\n // Use custom assignEntity function to delete useless fields\n assignEntity: function (output, key, value) {\n if (key == \"sessionExpire\") {\n delete output.sessionExpire;\n } else {\n output[key] = value;\n }\n },\n }\n );\n };\n\n /**\n * Callback on successful fetch of paginated items\n *\n * @param jsonData JS object returned from the API.\n * @param pageNumber Number of the page that was fetched.\n */\n const fetchPaginatedItemsSuccess = function (jsonData, pageNumber, limit) {\n const totalCount = jsonData.totalCount;\n jsonData = _normalizeAPIResponse(jsonData);\n\n // Compute the total number of pages\n const nPages = Math.ceil(totalCount / limit);\n\n // Return success actions\n return [\n // Action for the global entities store\n pushEntities(jsonData.entities, [itemName]),\n // Action for the paginated store\n {\n type: successType,\n payload: {\n type: itemName,\n result: jsonData.result[itemName],\n nPages: nPages,\n currentPage: pageNumber,\n },\n },\n ];\n };\n\n /**\n * Callback on successful fetch of single item\n *\n * @param jsonData JS object returned from the API.\n * @param pageNumber Number of the page that was fetched.\n */\n const fetchItemSuccess = function (jsonData) {\n jsonData = _normalizeAPIResponse(jsonData);\n\n return pushEntities(jsonData.entities, [itemName]);\n };\n\n /** Callback on request */\n const fetchItemsRequest = function () {\n // Return a request type action\n return {\n type: requestType,\n payload: {\n },\n };\n };\n\n /**\n * Callback on failed fetch\n *\n * @param error An error object, either a string or an i18nError\n * object.\n */\n const fetchItemsFailure = function (error) {\n // Return a failure type action\n return {\n type: failureType,\n payload: {\n error: error,\n },\n };\n };\n\n /**\n * Method to trigger a fetch of items.\n *\n * @param endpoint Ampache server base URL.\n * @param username Username to use for API request.\n * @param filter An eventual filter to apply (mapped to API filter\n * param)\n * @param pageNumber Number of the page to fetch items from.\n * @param limit Max number of items to fetch.\n * @param include [Optional] A list of includes to return as well\n * (mapped to API include param)\n *\n * @return A CALL_API action to fetch the specified items.\n */\n const fetchItems = function (endpoint, username, passphrase, filter, pageNumber, limit, include = []) {\n // Compute offset in number of items from the page number\n const offset = (pageNumber - 1) * DEFAULT_LIMIT;\n // Set extra params for pagination\n let extraParams = {\n offset: offset,\n limit: limit,\n };\n\n // Handle filter\n if (filter) {\n extraParams.filter = filter;\n }\n\n // Handle includes\n if (include && include.length > 0) {\n extraParams.include = include;\n }\n\n // Return a CALL_API action\n return {\n type: CALL_API,\n payload: {\n endpoint: endpoint,\n dispatch: [\n fetchItemsRequest,\n null,\n fetchItemsFailure,\n ],\n action: action,\n auth: passphrase,\n username: username,\n extraParams: extraParams,\n },\n };\n };\n\n /**\n * High level method to load paginated items from the API wihtout dealing about credentials.\n *\n * @param pageNumber [Optional] Number of the page to fetch items from.\n * @param filter [Optional] An eventual filter to apply (mapped to\n * API filter param)\n * @param include [Optional] A list of includes to return as well\n * (mapped to API include param)\n *\n * Dispatches the CALL_API action to fetch these items.\n */\n const loadPaginatedItems = function ({ pageNumber = 1, limit = DEFAULT_LIMIT, filter = null, include = [] } = {}) {\n return (dispatch, getState) => {\n // Get credentials from the state\n const { auth } = getState();\n // Get the fetch action to dispatch\n const fetchAction = fetchItems(\n auth.endpoint,\n auth.username,\n auth.token.token,\n filter,\n pageNumber,\n limit,\n include\n );\n // Set success callback\n fetchAction.payload.dispatch[1] = (\n jsonData => dispatch => {\n // Dispatch all the necessary actions\n const actions = fetchPaginatedItemsSuccess(jsonData, pageNumber, limit);\n actions.map(action => dispatch(action));\n }\n );\n // Dispatch action\n dispatch(fetchAction);\n };\n };\n\n /**\n * High level method to load a single item from the API wihtout dealing about credentials.\n *\n * @param filter The filter to apply (mapped to API filter param)\n * @param include [Optional] A list of includes to return as well\n * (mapped to API include param)\n *\n * Dispatches the CALL_API action to fetch this item.\n */\n const loadItem = function ({ filter = null, include = [] } = {}) {\n return (dispatch, getState) => {\n // Get credentials from the state\n const { auth } = getState();\n // Get the action to dispatch\n const fetchAction = fetchItems(\n auth.endpoint,\n auth.username,\n auth.token.token,\n filter,\n 1,\n DEFAULT_LIMIT,\n include\n );\n // Set success callback\n fetchAction.payload.dispatch[1] = (\n jsonData => dispatch => {\n dispatch(fetchItemSuccess(jsonData));\n }\n );\n // Dispatch action\n dispatch(fetchAction);\n };\n };\n\n // Remap the above methods to methods including item name\n var returned = {};\n const camelizedAction = humps.pascalize(action);\n returned[\"loadPaginated\" + camelizedAction] = loadPaginatedItems;\n returned[\"load\" + camelizedAction.rstrip(\"s\")] = loadItem;\n return returned;\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/APIActions.js\n **/","/**\n * These actions are actions acting directly on the paginated views store.\n */\n\n// Other actions\nimport { decrementRefCount } from \"./entities\";\n\n\n/** Define an action to invalidate results in paginated store. */\nexport const CLEAR_PAGINATED_RESULTS = \"CLEAR_PAGINATED_RESULTS\";\nexport function clearPaginatedResults() {\n return (dispatch, getState) => {\n // Decrement reference counter\n const paginatedStore = getState().paginated;\n const entities = {};\n entities[paginatedStore.get(\"type\")] = paginatedStore.get(\"result\").toJS();\n dispatch(decrementRefCount(entities));\n\n // Clear results in store\n dispatch({\n type: CLEAR_PAGINATED_RESULTS,\n });\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/paginated.js\n **/","/**\n * This file defines pagination related actions.\n */\n\n// NPM imports\nimport { push } from \"react-router-redux\";\n\n/** Define an action to go to a specific page. */\nexport function goToPage(pageLocation) {\n return (dispatch) => {\n // Just push the new page location in react-router.\n dispatch(push(pageLocation));\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/pagination.js\n **/","/**\n * These actions are actions acting on the webplayer.\n */\n\n// Other actions\nimport { decrementRefCount, incrementRefCount } from \"./entities\";\n\n\nexport const PLAY_PAUSE = \"PLAY_PAUSE\";\n/**\n * Toggle play / pause for the webplayer.\n *\n * @param playPause [Optional] True to play, false to pause. If not given,\n * toggle the current state.\n *\n * @return Dispatch a PLAY_PAUSE action.\n */\nexport function togglePlaying(playPause) {\n return (dispatch, getState) => {\n let newIsPlaying = false;\n if (typeof playPause !== \"undefined\") {\n // If we want to force a mode\n newIsPlaying = playPause;\n } else {\n // Else, just toggle\n newIsPlaying = !(getState().webplayer.isPlaying);\n }\n // Dispatch action\n dispatch({\n type: PLAY_PAUSE,\n payload: {\n isPlaying: newIsPlaying,\n },\n });\n };\n}\n\n\nexport const STOP_PLAYBACK = \"STOP_PLAYBACK\";\n/**\n * Stop the webplayer, clearing the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @return Dispatch a STOP_PLAYBACK action.\n */\nexport function stopPlayback() {\n return (dispatch, getState) => {\n // Handle reference counting\n dispatch(decrementRefCount({\n song: getState().webplayer.get(\"playlist\").toArray(),\n }));\n // Stop playback\n dispatch ({\n type: STOP_PLAYBACK,\n });\n };\n}\n\n\nexport const SET_PLAYLIST = \"SET_PLAYLIST\";\n/**\n * Set a given playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param playlist A list of song IDs.\n *\n * @return Dispatch a SET_PLAYLIST action.\n */\nexport function setPlaylist(playlist) {\n // Attention, order of actions *do* matter in this method. We should first\n // set the playlist and then handle the reference counting.\n // We should first increment and then increment to avoid garbage collecting\n // items that would stay in the playlist.\n return (dispatch, getState) => {\n const oldPlaylist = getState().webplayer.get(\"playlist\").toArray();\n\n // Set new playlist\n dispatch ({\n type: SET_PLAYLIST,\n payload: {\n playlist: playlist,\n },\n });\n\n // Handle reference counting\n dispatch(incrementRefCount({\n song: playlist,\n }));\n dispatch(decrementRefCount({\n song: oldPlaylist,\n }));\n };\n}\n\n\n/**\n * Play a given song, emptying the current playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to play.\n *\n * @return Dispatch a SET_PLAYLIST action to play this song and start playing.\n */\nexport function playSong(songID) {\n // Attention, order of actions *do* matter in this method. We should first\n // set the playlist and then handle the reference counting.\n // We should first increment and then increment to avoid garbage collecting\n // items that would stay in the playlist.\n return (dispatch, getState) => {\n // Get old and new playlists\n const oldPlaylist = getState().webplayer.get(\"playlist\").toArray();\n\n // Set new playlist\n dispatch({\n type: SET_PLAYLIST,\n payload: {\n playlist: [songID],\n },\n });\n\n // Handle reference counting\n dispatch(incrementRefCount({\n song: [songID],\n }));\n dispatch(decrementRefCount({\n song: oldPlaylist,\n }));\n\n // Force playing\n dispatch(togglePlaying(true));\n };\n}\n\n\nexport const PUSH_SONG = \"PUSH_SONG\";\n/**\n * Push a given song in the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to push.\n * @param index [Optional] The position to insert at in the playlist.\n * If negative, counts from the end. Undefined (default)\n * is last position.\n *\n * @return Dispatch a PUSH_SONG action.\n */\nexport function pushSong(songID, index) {\n return (dispatch) => {\n // Handle reference counting\n dispatch(incrementRefCount({\n song: [songID],\n }));\n // Push song\n dispatch({\n type: PUSH_SONG,\n payload: {\n song: songID,\n index: index,\n },\n });\n };\n}\n\n\nexport const POP_SONG = \"POP_SONG\";\n/**\n * Pop a given song from the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to pop.\n *\n * @return Dispatch a POP_SONG action.\n */\nexport function popSong(songID) {\n return (dispatch) => {\n // Handle reference counting\n dispatch(decrementRefCount({\n song: [songID],\n }));\n // Pop song\n dispatch({\n type: POP_SONG,\n payload: {\n song: songID,\n },\n });\n };\n}\n\n\nexport const JUMP_TO_SONG = \"JUMP_TO_SONG\";\n/**\n * Set current playlist index to specific song.\n *\n * @param songID The id of the song to play.\n *\n * @return Dispatch a JUMP_TO_SONG action.\n */\nexport function jumpToSong(songID) {\n return (dispatch) => {\n // Push song\n dispatch({\n type: JUMP_TO_SONG,\n payload: {\n song: songID,\n },\n });\n };\n}\n\n\nexport const PLAY_PREVIOUS_SONG = \"PLAY_PREVIOUS_SONG\";\n/**\n * Move one song backwards in the playlist.\n *\n * @return Dispatch a PLAY_PREVIOUS_SONG action.\n */\nexport function playPreviousSong() {\n return (dispatch) => {\n dispatch({\n type: PLAY_PREVIOUS_SONG,\n });\n };\n}\n\n\nexport const PLAY_NEXT_SONG = \"PLAY_NEXT_SONG\";\n/**\n * Move one song forward in the playlist.\n *\n * @return Dispatch a PLAY_NEXT_SONG action.\n */\nexport function playNextSong() {\n return (dispatch) => {\n dispatch({\n type: PLAY_NEXT_SONG,\n });\n };\n}\n\n\nexport const TOGGLE_RANDOM = \"TOGGLE_RANDOM\";\n/**\n * Toggle random mode.\n *\n * @return Dispatch a TOGGLE_RANDOM action.\n */\nexport function toggleRandom() {\n return {\n type: TOGGLE_RANDOM,\n };\n}\n\n\nexport const TOGGLE_REPEAT = \"TOGGLE_REPEAT\";\n/**\n * Toggle repeat mode.\n *\n * @return Dispatch a TOGGLE_REPEAT action.\n */\nexport function toggleRepeat() {\n return {\n type: TOGGLE_REPEAT,\n };\n}\n\n\nexport const TOGGLE_MUTE = \"TOGGLE_MUTE\";\n/**\n * Toggle mute mode.\n *\n * @return Dispatch a TOGGLE_MUTE action.\n */\nexport function toggleMute() {\n return {\n type: TOGGLE_MUTE,\n };\n}\n\n\nexport const SET_VOLUME = \"SET_VOLUME\";\n/**\n * Set the volume.\n *\n * @param volume Volume to set (between 0 and 100)\n *\n * @return Dispatch a SET_VOLUME action.\n */\nexport function setVolume(volume) {\n return {\n type: SET_VOLUME,\n payload: {\n volume: volume,\n },\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/webplayer.js\n **/","/**\n * Common styles modifications and hacks.\n */\nexport * from \"./hacks.scss\";\nexport * from \"./common.scss\";\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/common/styles/index.js\n **/","/**\n * Prototype modifications, common utils loaded before the main script\n */\nexport * from \"./jquery\";\nexport * from \"./string\";\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/common/utils/index.js\n **/","/**\n * jQuery prototype extensions.\n */\n\n\n/**\n * Shake animation.\n *\n * @param intShakes Number of times to shake.\n * @param intDistance Distance to move the object.\n * @param intDuration Duration of the animation.\n *\n * @return The element it was applied one, for chaining.\n */\n$.fn.shake = function (intShakes, intDistance, intDuration) {\n this.each(function () {\n $(this).css(\"position\",\"relative\");\n for (let x=1; x<=intShakes; x++) {\n $(this).animate({left:(intDistance*-1)}, (((intDuration/intShakes)/4)))\n .animate({left:intDistance}, ((intDuration/intShakes)/2))\n .animate({left:0}, (((intDuration/intShakes)/4)));\n }\n });\n return this;\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/common/utils/jquery.js\n **/","/**\n * String prototype extension.\n */\n\n\n/**\n * Capitalize a string.\n *\n * @return Capitalized string.\n */\nString.prototype.capitalize = function () {\n return this.charAt(0).toUpperCase() + this.slice(1);\n};\n\n\n/**\n * Strip characters at the end of a string.\n *\n * @param chars A regex-like element to strip from the end.\n * @return Stripped string.\n */\nString.prototype.rstrip = function (chars) {\n let regex = new RegExp(chars + \"$\");\n return this.replace(regex, \"\");\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/common/utils/string.js\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport FilterablePaginatedGrid from \"./elements/Grid\";\nimport DismissibleAlert from \"./elements/DismissibleAlert\";\n\n\n/**\n * Paginated albums grid\n */\nexport default class Albums extends Component {\n render() {\n // Handle error\n let error = null;\n if (this.props.error) {\n error = (
);\n }\n\n // Set grid props\n const grid = {\n isFetching: this.props.isFetching,\n items: this.props.albums,\n itemsType: \"album\",\n itemsLabel: \"app.common.album\",\n subItemsType: \"tracks\",\n subItemsLabel: \"app.common.track\",\n };\n\n return (\n
\n { error }\n \n
\n );\n }\n}\nAlbums.propTypes = {\n error: PropTypes.string,\n isFetching: PropTypes.bool.isRequired,\n albums: PropTypes.instanceOf(Immutable.List).isRequired,\n pagination: PropTypes.object.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Albums.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, FormattedMessage } from \"react-intl\";\nimport FontAwesome from \"react-fontawesome\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { messagesMap } from \"../utils/\";\n\n// Other components\nimport { AlbumRow } from \"./Album\";\nimport DismissibleAlert from \"./elements/DismissibleAlert\";\n\n// Translations\nimport commonMessages from \"../locales/messagesDescriptors/common\";\n\n// Styles\nimport css from \"../styles/Artist.scss\";\n\n// Define translations\nconst artistMessages = defineMessages(messagesMap(Array.concat([], commonMessages)));\n\n\n/**\n * Single artist page\n */\nclass ArtistCSS extends Component {\n render() {\n // Define loading message\n let loading = null;\n if (this.props.isFetching) {\n loading = (\n
\n );\n }\n\n // Handle error\n let error = null;\n if (this.props.error) {\n error = (
);\n }\n\n // Build album rows\n let albumsRows = [];\n const { albums, songs, playAction, playNextAction } = this.props;\n if (albums && songs) {\n albums.forEach(function (album) {\n const albumSongs = album.get(\"tracks\").map(\n id => songs.get(id)\n );\n albumsRows.push(
);\n });\n }\n\n return (\n
\n { error }\n
\n
\n
{this.props.artist.get(\"name\")} \n \n \n
\n
\n
\n
{this.props.artist.get(\"summary\")}
\n
\n
\n
\n
\n
\n { albumsRows }\n { loading }\n
\n );\n }\n}\nArtistCSS.propTypes = {\n error: PropTypes.string,\n isFetching: PropTypes.bool.isRequired,\n playAction: PropTypes.func.isRequired,\n playNextAction: PropTypes.func.isRequired,\n artist: PropTypes.instanceOf(Immutable.Map),\n albums: PropTypes.instanceOf(Immutable.List),\n songs: PropTypes.instanceOf(Immutable.Map),\n};\nexport default CSSModules(ArtistCSS, css);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Artist.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport Immutable from \"immutable\";\n\n// Other components\nimport FilterablePaginatedGrid from \"./elements/Grid\";\nimport DismissibleAlert from \"./elements/DismissibleAlert\";\n\n\n/**\n * Paginated artists grid\n */\nexport default class Artists extends Component {\n render() {\n // Handle error\n let error = null;\n if (this.props.error) {\n error = (
);\n }\n\n // Define grid props\n const grid = {\n isFetching: this.props.isFetching,\n items: this.props.artists,\n itemsType: \"artist\",\n itemsLabel: \"app.common.artist\",\n subItemsType: \"albums\",\n subItemsLabel: \"app.common.album\",\n };\n\n return (\n
\n { error }\n \n
\n );\n }\n}\nArtists.propTypes = {\n error: PropTypes.string,\n isFetching: PropTypes.bool.isRequired,\n artists: PropTypes.instanceOf(Immutable.List).isRequired,\n pagination: PropTypes.object.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Artists.jsx\n **/","// TODO: Discover view is not done\nimport React, { Component } from \"react\";\nimport CSSModules from \"react-css-modules\";\nimport FontAwesome from \"react-fontawesome\";\n\nimport css from \"../styles/Discover.scss\";\n\nexport default class DiscoverCSS extends Component {\n render() {\n const artistsAlbumsSongsDropdown = (\n
\n );\n const bobDylan = (\n
\n
\n
\n \n \n
\n Bob Dylan\n \n
\n
\n );\n return (\n
\n
\n \n More { artistsAlbumsSongsDropdown } you might like\n \n\n
\n
\n
\n
\n
\n \n \n
\n Bob Dylan\n \n
\n
\n { bobDylan }\n { bobDylan }\n { bobDylan }\n { bobDylan }\n
\n
\n
\n\n\n
\n \n Popular { artistsAlbumsSongsDropdown }\n \n
\n
\n
\n
\n
\n \n \n
\n Bob Dylan\n \n
\n
\n { bobDylan }\n { bobDylan }\n { bobDylan }\n { bobDylan }\n
\n
\n
\n\n\n
\n \n Recent additions\n \n
\n
\n
\n
\n
\n \n \n
\n Bob Dylan\n \n
\n
\n { bobDylan }\n { bobDylan }\n { bobDylan }\n { bobDylan }\n
\n
\n
\n\n\n
\n \n Currently playing\n \n\n
\n
\n );\n }\n}\n\nDiscoverCSS.propTypes = {\n};\n\nexport default CSSModules(DiscoverCSS, css);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Discover.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport FontAwesome from \"react-fontawesome\";\n\n// Local imports\nimport { i18nRecord } from \"../models/i18n\";\nimport { messagesMap } from \"../utils\";\n\n// Translations\nimport APIMessages from \"../locales/messagesDescriptors/api\";\nimport messages from \"../locales/messagesDescriptors/Login\";\n\n// Styles\nimport css from \"../styles/Login.scss\";\n\n// Define translations\nconst loginMessages = defineMessages(messagesMap(Array.concat([], APIMessages, messages)));\n\n\n/**\n * Login form component\n */\nclass LoginFormCSSIntl extends Component {\n constructor(props) {\n super(props);\n this.handleSubmit = this.handleSubmit.bind(this); // bind this to handleSubmit\n }\n\n /**\n * Set an error on a form element.\n *\n * @param formGroup A form element.\n * @param hasError Whether or not an error should be set.\n *\n * @return True if an error is set, false otherwise\n */\n setError(formGroup, hasError) {\n if (hasError) {\n // If error is true, then add error class\n formGroup.classList.add(\"has-error\");\n formGroup.classList.remove(\"has-success\");\n return true;\n }\n // Else, drop it and put success class\n formGroup.classList.remove(\"has-error\");\n formGroup.classList.add(\"has-success\");\n return false;\n }\n\n /**\n * Form submission handler.\n *\n * @param e JS Event.\n */\n handleSubmit(e) {\n e.preventDefault();\n\n // Don't handle submit if already logging in\n if (this.props.isAuthenticating) {\n return;\n }\n\n // Get field values\n const username = this.refs.username.value.trim();\n const password = this.refs.password.value.trim();\n const endpoint = this.refs.endpoint.value.trim();\n const rememberMe = this.refs.rememberMe.checked;\n\n // Check for errors on each field\n let hasError = this.setError(this.refs.usernameFormGroup, !username);\n hasError |= this.setError(this.refs.passwordFormGroup, !password);\n hasError |= this.setError(this.refs.endpointFormGroup, !endpoint);\n\n if (!hasError) {\n // Submit if no error is found\n this.props.onSubmit(username, password, endpoint, rememberMe);\n }\n }\n\n componentDidUpdate() {\n if (this.props.error) {\n // On unsuccessful login, set error classes and shake the form\n $(this.refs.loginForm).shake(3, 10, 300);\n this.setError(this.refs.usernameFormGroup, this.props.error);\n this.setError(this.refs.passwordFormGroup, this.props.error);\n this.setError(this.refs.endpointFormGroup, this.props.error);\n }\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n // Handle info message\n let infoMessage = this.props.info;\n if (this.props.info && this.props.info instanceof i18nRecord) {\n infoMessage = (\n
\n );\n }\n\n // Handle error message\n let errorMessage = this.props.error;\n if (this.props.error && this.props.error instanceof i18nRecord) {\n errorMessage = (\n
\n );\n }\n\n return (\n
\n {\n this.props.error ?\n
\n : null\n }\n {\n this.props.info ?\n
\n : null\n }\n
\n
\n );\n }\n}\nLoginFormCSSIntl.propTypes = {\n username: PropTypes.string,\n endpoint: PropTypes.string,\n rememberMe: PropTypes.bool,\n onSubmit: PropTypes.func.isRequired,\n isAuthenticating: PropTypes.bool,\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(i18nRecord)]),\n info: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(i18nRecord)]),\n intl: intlShape.isRequired,\n};\nexport let LoginForm = injectIntl(CSSModules(LoginFormCSSIntl, css));\n\n\n/**\n * Main login page, including title and login form.\n */\nclass LoginCSS extends Component {\n render() {\n const greeting = (\n
\n \n
\n );\n return (\n
\n
mpache\n
\n {(!this.props.error && !this.props.info) ? greeting : null}\n
\n \n
\n
\n );\n }\n}\nLoginCSS.propTypes = {\n username: PropTypes.string,\n endpoint: PropTypes.string,\n rememberMe: PropTypes.bool,\n onSubmit: PropTypes.func.isRequired,\n isAuthenticating: PropTypes.bool,\n info: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n};\nexport default CSSModules(LoginCSS, css);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Login.jsx\n **/","// NPM import\nimport React, { Component, PropTypes } from \"react\";\nimport Immutable from \"immutable\";\n\n// Other components\nimport { SongsTable } from \"./Songs\";\n\n/**\n * An entire album row containing art and tracks table.\n */\nexport default class Playlist extends Component {\n render() {\n const currentSongSongsTableProps = {\n playAction: this.props.playAction,\n playNextAction: this.props.playNextAction,\n songs: this.props.songs.slice(this.props.currentIndex, this.props.currentIndex + 1),\n };\n const fullPlaylistSongsTableProps = {\n playAction: this.props.playAction,\n playNextAction: this.props.playNextAction,\n songs: this.props.songs,\n };\n return (\n
\n
Current song playing \n \n Full playlist \n \n \n );\n }\n}\nPlaylist.propTypes = {\n playAction: PropTypes.func.isRequired,\n playNextAction: PropTypes.func.isRequired,\n songs: PropTypes.instanceOf(Immutable.List).isRequired,\n currentIndex: PropTypes.number.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Playlist.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { Link } from \"react-router\";\nimport Immutable from \"immutable\";\nimport FontAwesome from \"react-fontawesome\";\n\n// Local imports\nimport { messagesMap } from \"../../utils\";\n\n// Styles\nimport css from \"../../styles/elements/WebPlayer.scss\";\n\n// Translations\nimport commonMessages from \"../../locales/messagesDescriptors/common\";\nimport messages from \"../../locales/messagesDescriptors/elements/WebPlayer\";\n\n// Define translations\nconst webplayerMessages = defineMessages(messagesMap(Array.concat([], commonMessages, messages)));\n\n\n/**\n * Webplayer component.\n */\nclass WebPlayerCSSIntl extends Component {\n constructor(props) {\n super(props);\n\n // Bind this\n this.artOpacityHandler = this.artOpacityHandler.bind(this);\n }\n\n /**\n * Handle opacity on album art.\n *\n * Set opacity on mouseover / mouseout.\n *\n * @param ev A JS event.\n */\n artOpacityHandler(ev) {\n if (ev.type == \"mouseover\") {\n // On mouse over, reduce opacity\n this.refs.art.style.opacity = \"1\";\n this.refs.artText.style.display = \"none\";\n } else {\n // On mouse out, set opacity back\n this.refs.art.style.opacity = \"0.75\";\n this.refs.artText.style.display = \"block\";\n }\n }\n\n render() {\n const { formatMessage } = this.props.intl;\n\n // Get current song (eventually undefined)\n const song = this.props.currentSong;\n\n // Current status (play or pause) for localization\n const playPause = this.props.isPlaying ? \"pause\" : \"play\";\n // Volume fontawesome icon\n const volumeIcon = this.props.isMute ? \"volume-off\" : \"volume-up\";\n\n // Get classes for random and repeat buttons\n const randomBtnStyles = [\"randomBtn\"];\n const repeatBtnStyles = [\"repeatBtn\"];\n const playlistBtnStyles = [\"playlistBtn\"];\n if (this.props.isRandom) {\n randomBtnStyles.push(\"active\");\n }\n if (this.props.isRepeat) {\n repeatBtnStyles.push(\"active\");\n }\n if (this.props.isPlaylistViewActive) {\n playlistBtnStyles.push(\"active\");\n }\n\n // Check if a song is currently playing\n let art = null;\n let songTitle = null;\n let artistName = null;\n if (song) {\n art = song.get(\"art\");\n songTitle = song.get(\"title\");\n if (this.props.currentArtist) {\n artistName = this.props.currentArtist.get(\"name\");\n }\n }\n\n // Click handlers\n const onPrev = (function () {\n $(this.refs.prevBtn).blur();\n this.props.onPrev();\n }).bind(this);\n const onPlayPause = (function () {\n $(this.refs.playPauseBtn).blur();\n this.props.onPlayPause();\n }).bind(this);\n const onSkip = (function () {\n $(this.refs.nextBtn).blur();\n this.props.onSkip();\n }).bind(this);\n const onMute = (function () {\n $(this.refs.volumeBtn).blur();\n this.props.onMute();\n }).bind(this);\n const onRepeat = (function () {\n $(this.refs.repeatBtn).blur();\n this.props.onRepeat();\n }).bind(this);\n const onRandom = (function () {\n $(this.refs.randomBtn).blur();\n this.props.onRandom();\n }).bind(this);\n\n return (\n
\n
\n
\n
\n
\n
\n {\n (artistName && songTitle)\n ? (\n
\n
{songTitle} \n \n \n \n { artistName }\n \n \n )\n : null\n }\n
\n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n );\n }\n}\n\nWebPlayerCSSIntl.propTypes = {\n isPlaying: PropTypes.bool.isRequired,\n isRandom: PropTypes.bool.isRequired,\n isRepeat: PropTypes.bool.isRequired,\n isMute: PropTypes.bool.isRequired,\n volume: PropTypes.number.isRequired,\n currentIndex: PropTypes.number.isRequired,\n playlist: PropTypes.instanceOf(Immutable.List).isRequired,\n currentSong: PropTypes.instanceOf(Immutable.Map),\n currentArtist: PropTypes.instanceOf(Immutable.Map),\n onPlayPause: PropTypes.func.isRequired,\n onPrev: PropTypes.func.isRequired,\n onSkip: PropTypes.func.isRequired,\n onRandom: PropTypes.func.isRequired,\n onRepeat: PropTypes.func.isRequired,\n onMute: PropTypes.func.isRequired,\n isPlaylistViewActive: PropTypes.bool,\n intl: intlShape.isRequired,\n};\n\nexport default injectIntl(CSSModules(WebPlayerCSSIntl, css, { allowMultiple: true }));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/elements/WebPlayer.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { IndexLink, Link} from \"react-router\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\n\n// Local imports\nimport { messagesMap } from \"../../utils\";\n\n// Other components\nimport WebPlayer from \"../../views/WebPlayer\";\n\n// Translations\nimport commonMessages from \"../../locales/messagesDescriptors/common\";\nimport messages from \"../../locales/messagesDescriptors/layouts/Sidebar\";\n\n// Styles\nimport css from \"../../styles/layouts/Sidebar.scss\";\n\n// Define translations\nconst sidebarLayoutMessages = defineMessages(messagesMap(Array.concat([], commonMessages, messages)));\n\n\n/**\n * Sidebar layout component, putting children next to the sidebar menu.\n */\nclass SidebarLayoutIntl extends Component {\n render() {\n const { formatMessage } = this.props.intl;\n\n // Check active links\n const isActive = {\n discover: (this.props.location.pathname == \"/discover\") ? \"active\" : \"link\",\n browse: (this.props.location.pathname == \"/browse\") ? \"active\" : \"link\",\n artists: (this.props.location.pathname == \"/artists\") ? \"active\" : \"link\",\n albums: (this.props.location.pathname == \"/albums\") ? \"active\" : \"link\",\n songs: (this.props.location.pathname == \"/songs\") ? \"active\" : \"link\",\n search: (this.props.location.pathname == \"/search\") ? \"active\" : \"link\",\n };\n\n // Hamburger collapsing function\n const collapseHamburger = function () {\n $(\"#main-navbar\").collapse(\"hide\");\n };\n\n return (\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n \n \n mpache \n \n \n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n
\n {this.props.children}\n
\n
\n );\n }\n}\nSidebarLayoutIntl.propTypes = {\n children: PropTypes.node,\n intl: intlShape.isRequired,\n};\nexport default injectIntl(CSSModules(SidebarLayoutIntl, css));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/layouts/Sidebar.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\n\n\n/**\n * Simple layout, meaning just enclosing children in a div.\n */\nexport default class SimpleLayout extends Component {\n render() {\n return (\n
\n {this.props.children}\n
\n );\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/layouts/Simple.jsx\n **/","/**\n * Main container at the top of our application components tree.\n *\n * Just a div wrapper around children for now.\n */\nimport React, { Component, PropTypes } from \"react\";\n\nexport default class App extends Component {\n render() {\n return (\n
\n {this.props.children}\n
\n );\n }\n}\n\nApp.propTypes = {\n children: PropTypes.node,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/containers/App.jsx\n **/","/**\n * Container wrapping elements neeeding a valid session. Automatically\n * redirects to login form in case such session does not exist.\n */\nimport React, { Component, PropTypes } from \"react\";\nimport { connect } from \"react-redux\";\n\n\nexport class RequireAuthentication extends Component {\n componentWillMount() {\n // Check authentication on mount\n this.checkAuth(this.props.isAuthenticated);\n }\n\n componentWillUpdate(newProps) {\n // Check authentication on update\n this.checkAuth(newProps.isAuthenticated);\n }\n\n /**\n * Handle redirection in case user is not authenticated.\n *\n * @param isAuthenticated A boolean stating whether user has a valid\n * session or not.\n */\n checkAuth(isAuthenticated) {\n if (!isAuthenticated) {\n // Redirect to login, redirecting to the actual page after login.\n this.context.router.replace({\n pathname: \"/login\",\n state: {\n nextPathname: this.props.location.pathname,\n nextQuery: this.props.location.query,\n },\n });\n }\n }\n\n render() {\n return (\n
\n {this.props.isAuthenticated === true\n ? this.props.children\n : null\n }\n
\n );\n }\n}\n\nRequireAuthentication.propTypes = {\n // Injected by React Router\n children: PropTypes.node,\n};\n\nRequireAuthentication.contextTypes = {\n router: PropTypes.object.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n isAuthenticated: state.auth.isAuthenticated,\n});\n\nexport default connect(mapStateToProps)(RequireAuthentication);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/containers/RequireAuthentication.js\n **/","/**\n * Root component to render, setting locale, messages, Router and Store.\n */\nimport React, { Component, PropTypes } from \"react\";\nimport { Provider } from \"react-redux\";\nimport { Router } from \"react-router\";\nimport { IntlProvider } from \"react-intl\";\n\nimport routes from \"../routes\";\n\nexport default class Root extends Component {\n render() {\n const { locale, messages, defaultLocale, store, history, render } = this.props;\n return (\n
\n \n \n \n \n );\n }\n}\n\nRoot.propTypes = {\n store: PropTypes.object.isRequired,\n history: PropTypes.object.isRequired,\n render: PropTypes.func,\n locale: PropTypes.string.isRequired,\n messages: PropTypes.object.isRequired,\n defaultLocale: PropTypes.string.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/containers/Root.jsx\n **/","module.exports = {\n \"app.api.invalidResponse\": \"Invalid response text.\", // Invalid response from the API\n \"app.api.emptyResponse\": \"Empty response text.\", // Empty response from the API\n \"app.api.error\": \"Unknown API error.\", // An unknown error occurred from the API\n \"app.common.album\": \"{itemCount, plural, one {album} other {albums}}\", // Album\n \"app.common.art\": \"Art\", // Art\n \"app.common.artist\": \"{itemCount, plural, one {artist} other {artists}}\", // Artist\n \"app.common.cancel\": \"Cancel\", // Cancel\n \"app.common.close\": \"Close\", // Close\n \"app.common.go\": \"Go\", // Go\n \"app.common.loading\": \"Loading…\", // Loading indicator\n \"app.common.pause\": \"Pause\", // Pause icon description\n \"app.common.play\": \"Play\", // Play icon description\n \"app.common.playNext\": \"Play next\", // \"Play next icon descripton\"\n \"app.common.track\": \"{itemCount, plural, one {track} other {tracks}}\", // Track\n \"app.filter.filter\": \"Filter…\", // Filtering input placeholder\n \"app.filter.whatAreWeListeningToToday\": \"What are we listening to today?\", // Description for the filter bar\n \"app.grid.goToArtistPage\": \"Go to artist page\", // Artist thumbnail link title\n \"app.grid.goToAlbumPage\": \"Go to album page\", // Album thumbnail link title\n \"app.login.byebye\": \"See you soon!\", // Info message on successful logout\n \"app.login.connecting\": \"Connecting…\", // Info message while trying to connect\n \"app.login.endpointInputAriaLabel\": \"URL of your Ampache instance (e.g. http://ampache.example.com)\", // ARIA label for the endpoint input\n \"app.login.expired\": \"Your session expired… =(\", // Error message on expired session\n \"app.login.greeting\": \"Welcome back on Ampache, let's go!\", // Greeting to welcome the user to the app\n \"app.login.password\": \"Password\", // Password input placeholder\n \"app.login.rememberMe\": \"Remember me\", // Remember me checkbox label\n \"app.login.signIn\": \"Sign in\", // Sign in\n \"app.login.success\": \"Successfully logged in as { username }!\", // Info message on successful login.\n \"app.login.username\": \"Username\", // Username input placeholder\n \"app.pagination.current\": \"current\", // Current (page)\n \"app.pagination.goToPage\": \"
Go to page {pageNumber}\", // Link content to go to page N. span is here for screen-readers\n \"app.pagination.goToPageWithoutMarkup\": \"Go to page {pageNumber}\", // Link title to go to page N\n \"app.pagination.pageNavigation\": \"Page navigation\", // ARIA label for the nav block containing pagination\n \"app.pagination.pageToGoTo\": \"Page to go to?\", // Title of the pagination modal\n \"app.sidebarLayout.browse\": \"Browse\", // Browse\n \"app.sidebarLayout.browseAlbums\": \"Browse albums\", // Browse albums\n \"app.sidebarLayout.browseArtists\": \"Browse artists\", // Browse artists\n \"app.sidebarLayout.browseSongs\": \"Browse songs\", // Browse songs\n \"app.sidebarLayout.discover\": \"Discover\", // Discover\n \"app.sidebarLayout.home\": \"Home\", // Home\n \"app.sidebarLayout.logout\": \"Logout\", // Logout\n \"app.sidebarLayout.mainNavigationMenu\": \"Main navigation menu\", // ARIA label for the main navigation menu\n \"app.sidebarLayout.settings\": \"Settings\", // Settings\n \"app.sidebarLayout.toggleNavigation\": \"Toggle navigation\", // Screen reader description of toggle navigation button\n \"app.songs.genre\": \"Genre\", // Genre (song)\n \"app.songs.length\": \"Length\", // Length (song)\n \"app.songs.title\": \"Title\", // Title (song)\n \"app.webplayer.by\": \"by\", // Artist affiliation of a song\n \"app.webplayer.next\": \"Next\", // Next button description\n \"app.webplayer.playlist\": \"Playlist\", // Playlist button description\n \"app.webplayer.previous\": \"Previous\", // Previous button description\n \"app.webplayer.random\": \"Random\", // Random button description\n \"app.webplayer.repeat\": \"Repeat\", // Repeat button description\n \"app.webplayer.volume\": \"Volume\", // Volume button description\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/en-US/index.js\n **/","module.exports = {\n \"app.api.invalidResponse\": \"Réponse invalide reçue.\", // Invalid response from the API\n \"app.api.emptyResponse\": \"Réponse vide reçue.\", // Empty response from the API\n \"app.api.error\": \"Erreur inconnue.\", // An unknown error occurred from the API\n \"app.common.album\": \"{itemCount, plural, one {album} other {albums}}\", // Albums\n \"app.common.art\": \"Pochette\", // Art\n \"app.common.artist\": \"{itemCount, plural, one {artiste} other {artistes}}\", // Artists\n \"app.common.cancel\": \"Annuler\", // Cancel\n \"app.common.close\": \"Fermer\", // Close\n \"app.common.go\": \"Aller\", // Go\n \"app.common.loading\": \"Chargement…\", // Loading indicator\n \"app.common.pause\": \"Pause\", // Pause icon description\n \"app.common.play\": \"Jouer\", // PLay icon description\n \"app.common.playNext\": \"Jouer après\", // \"Play next icon descripton\"\n \"app.common.track\": \"{itemCount, plural, one {piste} other {pistes}}\", // Track\n \"app.filter.filter\": \"Filtrer…\", // Filtering input placeholder\n \"app.filter.whatAreWeListeningToToday\": \"Que voulez-vous écouter aujourd'hui\\u00a0?\", // Description for the filter bar\n \"app.grid.goToArtistPage\": \"Aller à la page de l'artiste\", // Artist thumbnail link title\n \"app.grid.goToAlbumPage\": \"Aller à la page de l'album\", // Album thumbnail link title\n \"app.login.byebye\": \"À bientôt\\u00a0!\", // Info message on successful logout\n \"app.login.connecting\": \"Connexion…\", // Info message while trying to connect\n \"app.login.endpointInputAriaLabel\": \"URL de votre Ampache (e.g. http://ampache.example.com)\", // ARIA label for the endpoint input\n \"app.login.expired\": \"Session expirée… =(\", // Error message on expired session\n \"app.login.greeting\": \"Bon retour sur Ampache, c'est parti\\u00a0!\", // Greeting to welcome the user to the app\n \"app.login.password\": \"Mot de passe\", // Password input placeholder\n \"app.login.rememberMe\": \"Se souvenir\", // Remember me checkbox label\n \"app.login.signIn\": \"Connexion\", // Sign in\n \"app.login.success\": \"Connecté en tant que { username }\\u00a0!\", // Info message on successful login.\n \"app.login.username\": \"Utilisateur\", // Username input placeholder\n \"app.pagination.current\": \"actuelle\", // Current (page)\n \"app.pagination.goToPage\": \"
Aller à la page {pageNumber}\", // Link content to go to page N. span is here for screen-readers\n \"app.pagination.goToPageWithoutMarkup\": \"Aller à la page {pageNumber}\", // Link title to go to page N\n \"app.pagination.pageNavigation\": \"Navigation entre les pages\", // ARIA label for the nav block containing pagination\n \"app.pagination.pageToGoTo\": \"Page à laquelle aller\\u00a0?\", // Title of the pagination modal\n \"app.sidebarLayout.browse\": \"Explorer\", // Browse\n \"app.sidebarLayout.browseAlbums\": \"Parcourir les albums\", // Browse albums\n \"app.sidebarLayout.browseArtists\": \"Parcourir les artistes\", // Browse artists\n \"app.sidebarLayout.browseSongs\": \"Parcourir les pistes\", // Browse songs\n \"app.sidebarLayout.discover\": \"Découvrir\", // Discover\n \"app.sidebarLayout.home\": \"Accueil\", // Home\n \"app.sidebarLayout.logout\": \"Déconnexion\", // Logout\n \"app.sidebarLayout.mainNavigationMenu\": \"Menu principal\", // ARIA label for the main navigation menu\n \"app.sidebarLayout.settings\": \"Préférences\", // Settings\n \"app.sidebarLayout.toggleNavigation\": \"Afficher le menu\", // Screen reader description of toggle navigation button\n \"app.songs.genre\": \"Genre\", // Genre (song)\n \"app.songs.length\": \"Durée\", // Length (song)\n \"app.songs.title\": \"Titre\", // Title (song)\n \"app.webplayer.by\": \"par\", // Artist affiliation of a song\n \"app.webplayer.next\": \"Suivant\", // Next button description\n \"app.webplayer.playlist\": \"Liste de lecture\", // Playlist button description\n \"app.webplayer.previous\": \"Précédent\", // Previous button description\n \"app.webplayer.random\": \"Aléatoire\", // Random button description\n \"app.webplayer.repeat\": \"Répéter\", // Repeat button description\n \"app.webplayer.volume\": \"Volume\", // Volume button description\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/fr-FR/index.js\n **/","// Export all the existing locales\nmodule.exports = {\n \"en-US\": require(\"./en-US\"),\n \"fr-FR\": require(\"./fr-FR\"),\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/index.js\n **/","const messages = [\n {\n id: \"app.login.username\",\n defaultMessage: \"Username\",\n description: \"Username input placeholder\",\n },\n {\n id: \"app.login.password\",\n defaultMessage: \"Password\",\n description: \"Password input placeholder\",\n },\n {\n id: \"app.login.signIn\",\n defaultMessage: \"Sign in\",\n description: \"Sign in\",\n },\n {\n id: \"app.login.endpointInputAriaLabel\",\n defaultMessage: \"URL of your Ampache instance (e.g. http://ampache.example.com)\",\n description: \"ARIA label for the endpoint input\",\n },\n {\n id: \"app.login.rememberMe\",\n description: \"Remember me checkbox label\",\n defaultMessage: \"Remember me\",\n },\n {\n id: \"app.login.greeting\",\n description: \"Greeting to welcome the user to the app\",\n defaultMessage: \"Welcome back on Ampache, let's go!\",\n },\n\n // From the auth reducer\n {\n id: \"app.login.connecting\",\n defaultMessage: \"Connecting…\",\n description: \"Info message while trying to connect\",\n },\n {\n id: \"app.login.success\",\n defaultMessage: \"Successfully logged in as { username }!\",\n description: \"Info message on successful login.\",\n },\n {\n id: \"app.login.byebye\",\n defaultMessage: \"See you soon!\",\n description: \"Info message on successful logout\",\n },\n {\n id: \"app.login.expired\",\n defaultMessage: \"Your session expired… =(\",\n description: \"Error message on expired session\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/Login.js\n **/","const messages = [\n {\n \"id\": \"app.songs.title\",\n \"description\": \"Title (song)\",\n \"defaultMessage\": \"Title\",\n },\n {\n \"id\": \"app.songs.genre\",\n \"description\": \"Genre (song)\",\n \"defaultMessage\": \"Genre\",\n },\n {\n \"id\": \"app.songs.length\",\n \"description\": \"Length (song)\",\n \"defaultMessage\": \"Length\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/Songs.js\n **/","const messages = [\n {\n id: \"app.filter.filter\",\n defaultMessage: \"Filter…\",\n description: \"Filtering input placeholder\",\n },\n {\n id: \"app.filter.whatAreWeListeningToToday\",\n description: \"Description for the filter bar\",\n defaultMessage: \"What are we listening to today?\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/elements/FilterBar.js\n **/","const messages = [\n {\n id: \"app.pagination.goToPage\",\n defaultMessage: \"
Go to page {pageNumber}\",\n description: \"Link content to go to page N. span is here for screen-readers\",\n },\n {\n id: \"app.pagination.goToPageWithoutMarkup\",\n defaultMessage: \"Go to page {pageNumber}\",\n description: \"Link title to go to page N\",\n },\n {\n id: \"app.pagination.pageNavigation\",\n defaultMessage: \"Page navigation\",\n description: \"ARIA label for the nav block containing pagination\",\n },\n {\n id: \"app.pagination.pageToGoTo\",\n description: \"Title of the pagination modal\",\n defaultMessage: \"Page to go to?\",\n },\n {\n id: \"app.pagination.current\",\n description: \"Current (page)\",\n defaultMessage: \"current\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/elements/Pagination.js\n **/","const messages = [\n {\n id: \"app.webplayer.by\",\n defaultMessage: \"by\",\n description: \"Artist affiliation of a song\",\n },\n {\n id: \"app.webplayer.previous\",\n defaultMessage: \"Previous\",\n description: \"Previous button description\",\n },\n {\n id: \"app.webplayer.next\",\n defaultMessage: \"Next\",\n description: \"Next button description\",\n },\n {\n id: \"app.webplayer.volume\",\n defaultMessage: \"Volume\",\n description: \"Volume button description\",\n },\n {\n id: \"app.webplayer.repeat\",\n defaultMessage: \"Repeat\",\n description: \"Repeat button description\",\n },\n {\n id: \"app.webplayer.random\",\n defaultMessage: \"Random\",\n description: \"Random button description\",\n },\n {\n id: \"app.webplayer.playlist\",\n defaultMessage: \"Playlist\",\n description: \"Playlist button description\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/elements/WebPlayer.js\n **/","const messages = [\n {\n id: \"app.grid.goToArtistPage\",\n defaultMessage: \"Go to artist page\",\n description: \"Artist thumbnail link title\",\n },\n {\n id: \"app.grid.goToAlbumPage\",\n defaultMessage: \"Go to album page\",\n description: \"Album thumbnail link title\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/grid.js\n **/","const messages = [\n {\n id: \"app.sidebarLayout.mainNavigationMenu\",\n description: \"ARIA label for the main navigation menu\",\n defaultMessage: \"Main navigation menu\",\n },\n {\n id: \"app.sidebarLayout.home\",\n description: \"Home\",\n defaultMessage: \"Home\",\n },\n {\n id: \"app.sidebarLayout.settings\",\n description: \"Settings\",\n defaultMessage: \"Settings\",\n },\n {\n id: \"app.sidebarLayout.logout\",\n description: \"Logout\",\n defaultMessage: \"Logout\",\n },\n {\n id: \"app.sidebarLayout.discover\",\n description: \"Discover\",\n defaultMessage: \"Discover\",\n },\n {\n id: \"app.sidebarLayout.browse\",\n description: \"Browse\",\n defaultMessage: \"Browse\",\n },\n {\n id: \"app.sidebarLayout.browseArtists\",\n description: \"Browse artists\",\n defaultMessage: \"Browse artists\",\n },\n {\n id: \"app.sidebarLayout.browseAlbums\",\n description: \"Browse albums\",\n defaultMessage: \"Browse albums\",\n },\n {\n id: \"app.sidebarLayout.browseSongs\",\n description: \"Browse songs\",\n defaultMessage: \"Browse songs\",\n },\n {\n id: \"app.sidebarLayout.toggleNavigation\",\n description: \"Screen reader description of toggle navigation button\",\n defaultMessage: \"Toggle navigation\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/layouts/Sidebar.js\n **/","/**\n * This file defines API related models.\n */\n\n// NPM imports\nimport { Schema, arrayOf } from \"normalizr\";\n\n\n// Define normalizr schemas for major entities returned by the API\nexport const artist = new Schema(\"artist\"); /** Artist schema */\nexport const album = new Schema(\"album\"); /** Album schema */\nexport const song = new Schema(\"song\"); /** Song schema */\n\n// Explicit relations between them\nartist.define({ // Artist has albums and songs (tracks)\n albums: arrayOf(album),\n songs: arrayOf(song),\n});\n\nalbum.define({ // Album has artist, tracks and tags\n artist: artist,\n tracks: arrayOf(song),\n});\n\nsong.define({ // Track has artist and album\n artist: artist,\n album: album,\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/api.js\n **/","/**\n * This file defines authentication related models.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n\n/** Record to store token parameters */\nexport const tokenRecord = Immutable.Record({\n token: null, /** Token string */\n expires: null, /** Token expiration date */\n});\n\n\n/** Record to store the full auth state */\nexport const stateRecord = new Immutable.Record({\n token: new tokenRecord(), /** Auth token */\n username: null, /** Username */\n endpoint: null, /** Ampache server base URL */\n rememberMe: false, /** Whether to remember me or not */\n isAuthenticated: false, /** Whether authentication is ok or not */\n isAuthenticating: false, /** Whether authentication is in progress or not */\n error: null, /** An error string */\n info: null, /** An info string */\n timerID: null, /** Timer ID for setInterval calls to revive API session */\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/auth.js\n **/","/**\n * This file defines entities storage models.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n/** Record to store the shared entities. */\nexport const stateRecord = new Immutable.Record({\n isFetching: false, /** Whether API fetching is in progress */\n error: null, /** An error string */\n refCounts: new Immutable.Map({\n album: new Immutable.Map(),\n artist: new Immutable.Map(),\n song: new Immutable.Map(),\n }), /** Map of id => reference count for each object type (garbage collection) */\n entities: new Immutable.Map({\n album: new Immutable.Map(),\n artist: new Immutable.Map(),\n song: new Immutable.Map(),\n }), /** Map of id => entity for each object type */\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/entities.js\n **/","// NPM import\nimport Immutable from \"immutable\";\n\n/** Record to store the paginated pages state. */\nexport const stateRecord = new Immutable.Record({\n type: null, /** Type of the paginated entries */\n result: new Immutable.List(), /** List of IDs of the resulting entries, maps to the entities store */\n currentPage: 1, /** Number of current page */\n nPages: 1, /** Total number of page in this batch */\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/paginated.js\n **/","/**\n * This file defines authentication related models.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n\n/** Record to store the webplayer state. */\nexport const stateRecord = new Immutable.Record({\n isPlaying: false, /** Whether webplayer is playing */\n isRandom: false, /** Whether random mode is on */\n isRepeat: false, /** Whether repeat mode is on */\n isMute: false, /** Whether sound is muted or not */\n volume: 100, /** Current volume, between 0 and 100 */\n currentIndex: 0, /** Current index in the playlist */\n playlist: new Immutable.List(), /** List of songs IDs, references songs in the entities store */\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/webplayer.js\n **/","/**\n * This implements the auth reducer, storing and updating authentication state.\n */\n\n// NPM imports\nimport Cookies from \"js-cookie\";\n\n// Local imports\nimport { createReducer } from \"../utils\";\n\n// Models\nimport { i18nRecord } from \"../models/i18n\";\nimport { tokenRecord, stateRecord } from \"../models/auth\";\n\n// Actions\nimport {\n LOGIN_USER_REQUEST,\n LOGIN_USER_SUCCESS,\n LOGIN_USER_FAILURE,\n LOGIN_USER_EXPIRED,\n LOGOUT_USER } from \"../actions\";\n\n\n/**\n * Initial state, load data from cookies if set\n */\nvar initialState = new stateRecord();\n// Get token\nconst initialToken = Cookies.getJSON(\"token\");\nif (initialToken) {\n initialToken.expires = new Date(initialToken.expires);\n initialState = initialState.set(\n \"token\",\n new tokenRecord({ token: initialToken.token, expires: new Date(initialToken.expires) })\n );\n}\n// Get username\nconst initialUsername = Cookies.get(\"username\");\nif (initialUsername) {\n initialState = initialState.set(\n \"username\",\n initialUsername\n );\n}\n// Get endpoint\nconst initialEndpoint = Cookies.get(\"endpoint\");\nif (initialEndpoint) {\n initialState = initialState.set(\n \"endpoint\",\n initialEndpoint\n );\n}\n// Set remember me\nif (initialUsername && initialEndpoint) {\n initialState = initialState.set(\n \"rememberMe\",\n true\n );\n}\n\n\n/**\n * Reducers\n */\nexport default createReducer(initialState, {\n [LOGIN_USER_REQUEST]: () => {\n return new stateRecord({\n isAuthenticating: true,\n info: new i18nRecord({\n id: \"app.login.connecting\",\n values: {},\n }),\n });\n },\n [LOGIN_USER_SUCCESS]: (state, payload) => {\n return new stateRecord({\n \"isAuthenticated\": true,\n \"token\": new tokenRecord(payload.token),\n \"username\": payload.username,\n \"endpoint\": payload.endpoint,\n \"rememberMe\": payload.rememberMe,\n \"info\": new i18nRecord({\n id: \"app.login.success\",\n values: {username: payload.username},\n }),\n \"timerID\": payload.timerID,\n });\n },\n [LOGIN_USER_FAILURE]: (state, payload) => {\n return new stateRecord({\n \"error\": payload.error,\n });\n },\n [LOGIN_USER_EXPIRED]: (state, payload) => {\n return new stateRecord({\n \"isAuthenticated\": false,\n \"error\": payload.error,\n });\n },\n [LOGOUT_USER]: () => {\n return new stateRecord({\n info: new i18nRecord({\n id: \"app.login.byebye\",\n values: {},\n }),\n });\n },\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/reducers/auth.js\n **/","/**\n * This implements the global entities reducer.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { createReducer } from \"../utils\";\n\n// Models\nimport { stateRecord } from \"../models/entities\";\n\n// Actions\nimport {\n API_REQUEST,\n API_FAILURE,\n PUSH_ENTITIES,\n INCREMENT_REFCOUNT,\n DECREMENT_REFCOUNT,\n INVALIDATE_STORE,\n} from \"../actions\";\n\n\n/**\n * Helper methods\n */\n\n/**\n * Update the reference counter for a given item.\n *\n * Do not do any garbage collection.\n *\n * @param state The state object to update.\n * @param keyPath The keyPath to update, from the refCount key.\n * @param incr The increment (or decrement) for the reference counter.\n *\n * @return An updated state.\n */\nfunction updateRefCount(state, keyPath, incr) {\n // Prepend refCounts to keyPath\n const refCountKeyPath = Array.concat([\"refCounts\"], keyPath);\n // Get updated value\n let newRefCount = state.getIn(refCountKeyPath) + incr;\n if (isNaN(newRefCount)) {\n // If NaN, reference does not exist, so set it to ±1\n newRefCount = Math.sign(incr);\n }\n // Update state\n return state.setIn(refCountKeyPath, newRefCount);\n}\n\n\n/**\n * Update the reference counter of a given entity, taking into account the\n * nested objects.\n *\n * Do not do any garbage collection.\n *\n * @param state The state object to update.\n * @param itemName The type of the entity object.\n * @param id The id of the entity.\n * @param entity The entity object, as Immutable.\n * @param incr The increment (or decrement) for the reference counter.\n *\n * @return An updated state.\n */\nfunction updateEntityRefCount(state, itemName, id, entity, incr) {\n let newState = state;\n let albums = null;\n let tracks = null;\n switch (itemName) {\n case \"artist\":\n // Update artist refCount\n newState = updateRefCount(newState, [\"artist\", id], incr);\n // Update nested albums refCount\n albums = entity.get(\"albums\");\n if (Immutable.List.isList(albums)) {\n albums.forEach(function (id) {\n newState = updateRefCount(newState, [\"album\", id], incr);\n });\n }\n // Update nested tracks refCount\n tracks = entity.get(\"songs\");\n if (Immutable.List.isList(tracks)) {\n tracks.forEach(function (id) {\n newState = updateRefCount(newState, [\"song\", id], incr);\n });\n }\n break;\n case \"album\":\n // Update album refCount\n newState = updateRefCount(newState, [\"album\", id], incr);\n // Update nested artist refCount\n newState = updateRefCount(newState, [\"artist\", entity.get(\"artist\")], incr);\n // Update nested tracks refCount\n tracks = entity.get(\"tracks\");\n if (Immutable.List.isList(tracks)) {\n tracks.forEach(function (id) {\n newState = updateRefCount(newState, [\"song\", id], incr);\n });\n }\n break;\n case \"song\":\n // Update track refCount\n newState = updateRefCount(newState, [\"song\", id], incr);\n // Update nested artist refCount\n newState = updateRefCount(newState, [\"artist\", entity.get(\"artist\")], incr);\n // Update nested album refCount\n newState = updateRefCount(newState, [\"album\", entity.get(\"album\")], incr);\n break;\n default:\n // Just update the entity, no nested entities\n newState = updateRefCount(newState, [itemName, id], incr);\n break;\n }\n return newState;\n}\n\n\n/**\n *\n */\nfunction garbageCollection(state) {\n let newState = state;\n state.refCounts.forEach(function (refCounts, itemName) {\n refCounts.forEach(function (refCount, id) {\n if (refCount < 1) {\n // Garbage collection\n newState = newState.deleteIn([\"entities\", itemName, id]);\n newState = newState.deleteIn([\"refCounts\", itemName, id]);\n }\n });\n });\n return newState;\n}\n\n\n/**\n * Initial state\n */\nvar initialState = new stateRecord();\n\n\n/**\n * Reducer\n */\nexport default createReducer(initialState, {\n [API_REQUEST]: (state) => {\n return (\n state\n .set(\"isFetching\", true)\n .set(\"error\", null)\n );\n },\n [API_FAILURE]: (state, payload) => {\n return (\n state\n .set(\"isFetching\", false)\n .set(\"error\", payload.error)\n );\n },\n [PUSH_ENTITIES]: (state, payload) => {\n let newState = state;\n\n // Unset error and isFetching\n newState = state.set(\"isFetching\", false).set(\"error\", payload.error);\n\n // Merge entities\n newState = newState.mergeDeepIn([\"entities\"], payload.entities);\n\n // Increment reference counter\n payload.refCountType.forEach(function (itemName) {\n const entities = payload.entities[itemName];\n for (let id in entities) {\n const entity = newState.getIn([\"entities\", itemName, id]);\n newState = updateEntityRefCount(newState, itemName, id, entity, 1);\n }\n });\n\n return newState;\n },\n [INCREMENT_REFCOUNT]: (state, payload) => {\n let newState = state;\n\n // Increment reference counter\n for (let itemName in payload.entities) {\n const entities = payload.entities[itemName];\n entities.forEach(function (id) {\n const entity = newState.getIn([\"entities\", itemName, id]);\n newState = updateEntityRefCount(newState, itemName, id, entity, 1);\n });\n }\n\n return newState;\n },\n [DECREMENT_REFCOUNT]: (state, payload) => {\n let newState = state;\n\n // Decrement reference counter\n for (let itemName in payload.entities) {\n const entities = payload.entities[itemName];\n entities.forEach(function (id) {\n const entity = newState.getIn([\"entities\", itemName, id]);\n newState = updateEntityRefCount(newState, itemName, id, entity, -1);\n });\n }\n\n // Perform garbage collection\n newState = garbageCollection(newState);\n\n return newState;\n },\n [INVALIDATE_STORE]: () => {\n return new stateRecord();\n },\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/reducers/entities.js\n **/","/**\n *\n */\n\n// NPM imports\nimport { routerReducer as routing } from \"react-router-redux\";\nimport { combineReducers } from \"redux\";\n\n// Import all the available reducers\nimport auth from \"./auth\";\nimport entities from \"./entities\";\nimport paginatedMaker from \"./paginated\";\nimport webplayer from \"./webplayer\";\n\n// Actions\nimport * as ActionTypes from \"../actions\";\n\n// Build paginated reducer\nconst paginated = paginatedMaker([\n ActionTypes.API_REQUEST,\n ActionTypes.API_SUCCESS,\n ActionTypes.API_FAILURE,\n]);\n\n// Export the combined reducers\nexport default combineReducers({\n routing,\n auth,\n entities,\n paginated,\n webplayer,\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/reducers/index.js\n **/","/**\n * This implements a wrapper to create reducers for paginated content.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { createReducer } from \"../utils\";\n\n// Models\nimport { stateRecord } from \"../models/paginated\";\n\n// Actions\nimport { CLEAR_PAGINATED_RESULTS, INVALIDATE_STORE } from \"../actions\";\n\n\n/** Initial state of the reducer */\nconst initialState = new stateRecord();\n\n\n/**\n * Creates a reducer managing pagination, given the action types to handle.\n */\nexport default function paginated(types) {\n // Check parameters\n if (!Array.isArray(types) || types.length !== 3) {\n throw new Error(\"Expected types to be an array of three elements.\");\n }\n if (!types.every(t => typeof t === \"string\")) {\n throw new Error(\"Expected types to be strings.\");\n }\n\n const [ requestType, successType, failureType ] = types;\n\n // Create reducer\n return createReducer(initialState, {\n [requestType]: (state) => {\n return state;\n },\n [successType]: (state, payload) => {\n return (\n state\n .set(\"type\", payload.type)\n .set(\"result\", Immutable.fromJS(payload.result))\n .set(\"nPages\", payload.nPages)\n .set(\"currentPage\", payload.currentPage)\n );\n },\n [failureType]: (state) => {\n return state;\n },\n [CLEAR_PAGINATED_RESULTS]: (state) => {\n return state.set(\"result\", new Immutable.List());\n },\n [INVALIDATE_STORE]: () => {\n // Reset state on invalidation\n return new stateRecord();\n },\n });\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/reducers/paginated.js\n **/","/**\n * This implements the webplayer reducers.\n */\n\n// NPM imports\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { createReducer } from \"../utils\";\n\n// Models\nimport { stateRecord } from \"../models/webplayer\";\n\n// Actions\nimport {\n PLAY_PAUSE,\n STOP_PLAYBACK,\n SET_PLAYLIST,\n PUSH_SONG,\n POP_SONG,\n JUMP_TO_SONG,\n PLAY_PREVIOUS_SONG,\n PLAY_NEXT_SONG,\n TOGGLE_RANDOM,\n TOGGLE_REPEAT,\n TOGGLE_MUTE,\n SET_VOLUME,\n INVALIDATE_STORE } from \"../actions\";\n\n\n/**\n * Initial state\n */\n\nvar initialState = new stateRecord();\n\n\n/**\n * Helper functions\n */\n\n/**\n * Stop playback in reducer helper.\n *\n * @param state Current state to update.\n */\nfunction stopPlayback(state) {\n return (\n state\n .set(\"isPlaying\", false)\n .set(\"currentIndex\", 0)\n .set(\"playlist\", new Immutable.List())\n );\n}\n\n\n/**\n * Reducers\n */\n\nexport default createReducer(initialState, {\n [PLAY_PAUSE]: (state, payload) => {\n // Force play or pause\n return state.set(\"isPlaying\", payload.isPlaying);\n },\n [STOP_PLAYBACK]: (state) => {\n // Clear the playlist\n return stopPlayback(state);\n },\n [SET_PLAYLIST]: (state, payload) => {\n // Set current playlist, reset playlist index\n return (\n state\n .set(\"playlist\", new Immutable.List(payload.playlist))\n .set(\"currentIndex\", 0)\n );\n },\n [PUSH_SONG]: (state, payload) => {\n // Push song to playlist\n let newState = state;\n if (payload.index) {\n // If index is specified, insert it at this position\n newState = newState.set(\n \"playlist\",\n newState.get(\"playlist\").insert(payload.index, payload.song)\n );\n if (payload.index <= newState.get(\"currentIndex\")) { // \"<=\" because insertion is made before\n // If we insert before the current position in the playlist, we\n // update the current position to keep the currently played\n // music\n newState = newState.set(\n \"currentIndex\",\n Math.min(newState.get(\"currentIndex\") + 1, newState.get(\"playlist\").size)\n );\n }\n } else {\n // Else, push at the end of the playlist\n newState = newState.set(\n \"playlist\",\n newState.get(\"playlist\").push(payload.song)\n );\n }\n return newState;\n },\n [POP_SONG]: (state, payload) => {\n // Pop song from playlist\n let newState = state.deleteIn([\"playlist\", payload.index]);\n if (payload.index < state.get(\"currentIndex\")) {\n // If we delete before the current position in the playlist, we\n // update the current position to keep the currently played\n // music\n newState = newState.set(\n \"currentIndex\",\n Math.max(newState.get(\"currentIndex\") - 1, 0)\n );\n }\n return newState;\n },\n [JUMP_TO_SONG]: (state, payload) => {\n // Set current index\n const newCurrentIndex = state.get(\"playlist\").findKey(x => x == payload.song);\n return state.set(\"currentIndex\", newCurrentIndex);\n },\n [PLAY_PREVIOUS_SONG]: (state) => {\n const newIndex = state.get(\"currentIndex\") - 1;\n if (newIndex < 0) {\n // If there is an overlow on the left of the playlist, just play\n // first music again\n // TODO: Should seek to beginning of music\n return state;\n } else {\n return state.set(\"currentIndex\", newIndex);\n }\n },\n [PLAY_NEXT_SONG]: (state) => {\n const newIndex = state.get(\"currentIndex\") + 1;\n if (newIndex >= state.get(\"playlist\").size) {\n // If there is an overflow\n if (state.get(\"isRepeat\")) {\n // TODO: Handle repeat\n return state;\n } else {\n // Just stop playback\n return state.set(\"isPlaying\", false);\n }\n } else {\n // Else, play next item\n return state.set(\"currentIndex\", newIndex);\n }\n },\n [TOGGLE_RANDOM]: (state) => {\n return state.set(\"isRandom\", !state.get(\"isRandom\"));\n },\n [TOGGLE_REPEAT]: (state) => {\n return state.set(\"isRepeat\", !state.get(\"isRepeat\"));\n },\n [TOGGLE_MUTE]: (state) => {\n return state.set(\"isMute\", !state.get(\"isMute\"));\n },\n [SET_VOLUME]: (state, payload) => {\n return state.set(\"volume\", payload.volume);\n },\n [INVALIDATE_STORE]: () => {\n return new stateRecord();\n },\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/reducers/webplayer.js\n **/","/**\n * Routes for the React app.\n */\nimport React from \"react\";\nimport { IndexRoute, Route } from \"react-router\";\n\nimport RequireAuthentication from \"./containers/RequireAuthentication\";\nimport App from \"./containers/App\";\nimport SimpleLayout from \"./components/layouts/Simple\";\nimport SidebarLayout from \"./components/layouts/Sidebar\";\nimport ArtistPage from \"./views/ArtistPage\";\nimport ArtistsPage from \"./views/ArtistsPage\";\nimport AlbumPage from \"./views/AlbumPage\";\nimport AlbumsPage from \"./views/AlbumsPage\";\nimport BrowsePage from \"./views/BrowsePage\";\nimport DiscoverPage from \"./views/DiscoverPage\";\nimport HomePage from \"./views/HomePage\";\nimport LoginPage from \"./views/LoginPage\";\nimport LogoutPage from \"./views/LogoutPage\";\nimport PlaylistPage from \"./views/PlaylistPage\";\nimport SongsPage from \"./views/SongsPage\";\n\nexport default (\n
// Main container is App\n // Login is a SimpleLayout\n \n \n // All the rest is a SidebarLayout\n \n // And some pages require authentication\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/routes.js\n **/","/**\n * Store configuration\n */\nif (process.env.NODE_ENV === \"production\") {\n module.exports = require(\"./configureStore.production.js\");\n} else {\n module.exports = require(\"./configureStore.development.js\");\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/store/configureStore.js\n **/","import { createStore, applyMiddleware } from \"redux\";\nimport { hashHistory } from \"react-router\";\nimport { routerMiddleware } from \"react-router-redux\";\nimport thunkMiddleware from \"redux-thunk\";\n\nimport rootReducer from \"../reducers\";\nimport apiMiddleware from \"../middleware/api\";\n\n// Use history\nconst historyMiddleware = routerMiddleware(hashHistory);\n\nexport default function configureStore(preloadedState) {\n return createStore(\n rootReducer,\n preloadedState,\n applyMiddleware(thunkMiddleware, apiMiddleware, historyMiddleware)\n );\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/store/configureStore.production.js\n **/","/**\n * Collection of helper function that are Ampache specific.\n */\n\n// NPM imports\nimport jsSHA from \"jssha\";\n\n\n/**\n * Build an HMAC token for authentication against Ampache API.\n *\n * @param password User password to derive HMAC from.\n * @return An object with the generated HMAC and time used.\n *\n * @remark This builds an HMAC as expected by Ampache API, which is not a\n * standard HMAC.\n */\nexport function buildHMAC(password) {\n const time = Math.floor(Date.now() / 1000);\n\n let shaObj = new jsSHA(\"SHA-256\", \"TEXT\");\n shaObj.update(password);\n const key = shaObj.getHash(\"HEX\");\n\n shaObj = new jsSHA(\"SHA-256\", \"TEXT\");\n shaObj.update(time + key);\n\n return {\n time: time,\n passphrase: shaObj.getHash(\"HEX\"),\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/ampache.js\n **/","/**\n * Collection of helper function to act on Immutable objects.\n */\n\n\n/**\n * Diff two immutables objects supporting the filter method.\n *\n * @param a First Immutable object.\n * @param b Second Immutable object.\n * @returns An Immutable object equal to a except for the items in b.\n */\nexport function immutableDiff(a, b) {\n return a.filter(function (i) {\n return b.indexOf(i) < 0;\n });\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/immutable.js\n **/","/**\n * Collection of helper functions to deal with localization.\n */\nimport { i18nRecord } from \"../models/i18n\";\n\n/**\n * Get the preferred locales from the browser, as an array sorted by preferences.\n */\nexport function getBrowserLocales() {\n let langs = [];\n\n if (navigator.languages) {\n // Chrome does not currently set navigator.language correctly\n // https://code.google.com/p/chromium/issues/detail?id=101138\n // but it does set the first element of navigator.languages correctly\n langs = navigator.languages;\n } else if (navigator.userLanguage) {\n // IE only\n langs = [navigator.userLanguage];\n } else {\n // as of this writing the latest version of firefox + safari set this correctly\n langs = [navigator.language];\n }\n\n // Some browsers does not return uppercase for second part\n let locales = langs.map(function (lang) {\n let locale = lang.split(\"-\");\n return locale[1] ? `${locale[0]}-${locale[1].toUpperCase()}` : lang;\n });\n\n return locales;\n}\n\n\n/**\n * Convert an array of messagesDescriptors to a map.\n */\nexport function messagesMap(messagesDescriptorsArray) {\n let messagesDescriptorsMap = {};\n\n messagesDescriptorsArray.forEach(function (item) {\n messagesDescriptorsMap[item.id] = item;\n });\n\n return messagesDescriptorsMap;\n}\n\n\n/**\n * Format an error message from the state.\n *\n * Error message can be either an i18nRecord, which is to be formatted, or a\n * raw string. This function performs the check and returns the correctly\n * formatted string.\n *\n * @param errorMessage The error message from the state, either plain\n * string or i18nRecord.\n * @param formatMessage react-i18n formatMessage.\n * @param messages List of messages to use for formatting.\n *\n * @return A string for the error.\n */\nexport function handleErrorI18nObject(errorMessage, formatMessage, messages) {\n if (errorMessage instanceof i18nRecord) {\n // If it is an object, format it and return it\n return formatMessage(messages[errorMessage.id], errorMessage.values);\n }\n // Else, it's a string, just return it\n return errorMessage;\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/locale.js\n **/","/**\n * Miscellaneous helper functions.\n */\n\n\n/**\n * Strict int checking function.\n *\n * @param value The value to check for int.\n * @return Either NaN if the string was not a valid int representation, or the\n * int.\n */\nexport function filterInt(value) {\n if (/^(\\-|\\+)?([0-9]+|Infinity)$/.test(value)) {\n return Number(value);\n }\n return NaN;\n}\n\n\n/**\n * Helper to format song length.\n *\n * @param time Length of the song in seconds.\n * @return Formatted length as MM:SS.\n */\nexport function formatLength(time) {\n const min = Math.floor(time / 60);\n let sec = (time - 60 * min);\n if (sec < 10) {\n sec = \"0\" + sec;\n }\n return min + \":\" + sec;\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/misc.js\n **/","/**\n * Collection of helper functions to deal with pagination.\n */\n\n\n/**\n * Helper function to build a pagination object to pass down the component tree.\n *\n * @param location react-router location props.\n * @param currentPage Number of the current page.\n * @param nPages Total number of pages.\n * @param goToPageAction Action to dispatch to go to a specific page.\n *\n * @return An object containing all the props for the Pagination component.\n */\nexport function buildPaginationObject(location, currentPage, nPages, goToPageAction) {\n const buildLinkToPage = function (pageNumber) {\n return {\n pathname: location.pathname,\n query: Object.assign({}, location.query, { page: pageNumber }),\n };\n };\n return {\n currentPage: currentPage,\n nPages: nPages,\n goToPage: pageNumber => goToPageAction(buildLinkToPage(pageNumber)),\n buildLinkToPage: buildLinkToPage,\n };\n}\n\n\n/**\n * Helper function to compute the buttons to display.\n *\n * Taken from http://stackoverflow.com/a/8608998/2626416\n *\n * @param currentPage Number of the current page.\n * @param nPages Total number of pages.\n * @param maxNumberPagesShown Maximum number of pages button to show.\n *\n * @return An object containing lower limit and upper limit bounds.\n */\nexport function computePaginationBounds(currentPage, nPages, maxNumberPagesShown=5) {\n let lowerLimit = currentPage;\n let upperLimit = currentPage;\n\n for (let b = 1; b < maxNumberPagesShown && b < nPages;) {\n if (lowerLimit > 1 ) {\n lowerLimit--;\n b++;\n }\n if (b < maxNumberPagesShown && upperLimit < nPages) {\n upperLimit++;\n b++;\n }\n }\n\n return {\n lowerLimit: lowerLimit,\n upperLimit: upperLimit + 1, // +1 to ease iteration in for with <\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/pagination.js\n **/","/**\n * Collection of helper functions to deal with reducers.\n */\n\n\n/**\n * Utility function to create a reducer.\n *\n * @param initialState Initial state of the reducer.\n * @param reducerMap Map between action types and reducing functions.\n *\n * @return A reducer.\n */\nexport function createReducer(initialState, reducerMap) {\n return (state = initialState, action) => {\n const reducer = reducerMap[action.type];\n\n return reducer\n ? reducer(state, action.payload)\n : state;\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/reducers.js\n **/","/**\n * Collection of helper functions to deal with URLs.\n */\n\n\n/**\n * Assemble a base URL and its GET parameters.\n *\n * @param endpoint Base URL.\n * @param params An object of GET params and their values.\n *\n * @return A string with the full URL with GET params.\n */\nexport function assembleURLAndParams(endpoint, params) {\n let url = endpoint + \"?\";\n Object.keys(params).forEach(\n key => {\n if (Array.isArray(params[key])) {\n params[key].forEach(value => url += key + \"[]=\" + value + \"&\");\n } else {\n url += key + \"=\" + params[key] + \"&\";\n }\n }\n );\n return url.rstrip(\"&\");\n}\n\n\n/**\n * Clean an endpoint URL.\n *\n * Adds the protocol prefix if not specified, remove trailing slash\n *\n * @param An URL\n * @return The cleaned URL\n */\nexport function cleanURL(endpoint) {\n if (\n !endpoint.startsWith(\"//\") &&\n !endpoint.startsWith(\"http://\") &&\n !endpoint.startsWith(\"https://\"))\n {\n // Handle endpoints of the form \"ampache.example.com\"\n // Append same protocol as currently in use, to avoid mixed content.\n endpoint = window.location.protocol + \"//\" + endpoint;\n }\n\n // Remove trailing slash\n endpoint = endpoint.replace(/\\/$/, \"\");\n\n return endpoint;\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/utils/url.js\n **/","import React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport Immutable from \"immutable\";\n\nimport * as actionCreators from \"../actions\";\n\nimport Album from \"../components/Album\";\n\n// TODO: AlbumPage should be scrolled ArtistPage\n\nexport class AlbumPage extends Component {\n componentWillMount() {\n // Load the data\n this.props.actions.loadAlbums({\n pageNumber: 1,\n filter: this.props.params.id,\n include: [\"songs\"],\n });\n }\n\n render() {\n if (this.props.album) {\n return (\n
\n );\n }\n return (\n
\n ); // TODO: Loading + error\n }\n}\n\nconst mapStateToProps = (state, ownProps) => {\n const albums = state.api.entities.get(\"album\");\n let album = undefined;\n let songs = new Immutable.List();\n if (albums) {\n // Get artist\n album = albums.find(\n item => item.get(\"id\") == ownProps.params.id\n );\n // Get songs\n const tracks = album.get(\"tracks\");\n if (Immutable.List.isList(tracks)) {\n songs = new Immutable.List(\n tracks.map(\n id => state.api.entities.getIn([\"track\", id])\n )\n );\n }\n }\n return {\n album: album,\n songs: songs,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AlbumPage);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/AlbumPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { defineMessages, injectIntl, intlShape } from \"react-intl\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { buildPaginationObject, messagesMap, handleErrorI18nObject } from \"../utils\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Albums from \"../components/Albums\";\n\n// Translations\nimport APIMessages from \"../locales/messagesDescriptors/api\";\n\n// Define translations\nconst albumsMessages = defineMessages(messagesMap(Array.concat([], APIMessages)));\n\n\n/**\n * Albums page, grid layout of albums arts.\n */\nclass AlbumsPageIntl extends Component {\n componentWillMount() {\n // Load the data for current page\n const currentPage = parseInt(this.props.location.query.page) || 1;\n this.props.actions.loadPaginatedAlbums({ pageNumber: currentPage });\n }\n\n componentWillReceiveProps(nextProps) {\n // Load the data if page has changed\n const currentPage = parseInt(this.props.location.query.page) || 1;\n const nextPage = parseInt(nextProps.location.query.page) || 1;\n if (currentPage != nextPage) {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n // Load new data\n this.props.actions.loadAlbums({pageNumber: nextPage});\n }\n }\n\n componentWillUnmount() {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n const pagination = buildPaginationObject(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\n const error = handleErrorI18nObject(this.props.error, formatMessage, albumsMessages);\n\n return (\n
\n );\n }\n}\n\nAlbumsPageIntl.propTypes = {\n intl: intlShape.isRequired,\n};\n\nconst mapStateToProps = (state) => {\n let albumsList = new Immutable.List();\n if (state.paginated.type == \"album\" && state.paginated.result.size > 0) {\n albumsList = state.paginated.result.map(\n id => state.entities.getIn([\"entities\", \"album\", id])\n );\n }\n return {\n isFetching: state.entities.isFetching,\n error: state.entities.error,\n albumsList: albumsList,\n currentPage: state.paginated.currentPage,\n nPages: state.paginated.nPages,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(AlbumsPageIntl));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/AlbumsPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { defineMessages, injectIntl, intlShape } from \"react-intl\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { messagesMap, handleErrorI18nObject } from \"../utils\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Artist from \"../components/Artist\";\n\n// Translations\nimport APIMessages from \"../locales/messagesDescriptors/api\";\n\n// Define translations\nconst artistMessages = defineMessages(messagesMap(Array.concat([], APIMessages)));\n\n\n/**\n * Single artist page.\n */\nclass ArtistPageIntl extends Component {\n componentWillMount() {\n // Load the data\n this.props.actions.loadArtist({\n filter: this.props.params.id,\n include: [\"albums\", \"songs\"],\n });\n }\n\n componentWillUnmount() {\n this.props.actions.decrementRefCount({\n \"artist\": [this.props.artist.get(\"id\")],\n });\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n const error = handleErrorI18nObject(this.props.error, formatMessage, artistMessages);\n\n return (\n
\n );\n }\n}\n\nArtistPageIntl.propTypes = {\n intl: intlShape.isRequired,\n};\n\nconst mapStateToProps = (state, ownProps) => {\n // Get artist\n let artist = state.entities.getIn([\"entities\", \"artist\", ownProps.params.id]);\n let albums = new Immutable.List();\n let songs = new Immutable.Map();\n if (artist) {\n // Get albums\n let artistAlbums = artist.get(\"albums\");\n if (Immutable.List.isList(artistAlbums)) {\n albums = artistAlbums.map(\n id => state.entities.getIn([\"entities\", \"album\", id])\n );\n }\n // Get songs\n let artistSongs = artist.get(\"songs\");\n if (Immutable.List.isList(artistSongs)) {\n songs = state.entities.getIn([\"entities\", \"song\"]).filter(\n song => artistSongs.includes(song.get(\"id\"))\n );\n }\n } else {\n artist = new Immutable.Map();\n }\n return {\n isFetching: state.entities.isFetching,\n error: state.entities.error,\n artist: artist,\n albums: albums,\n songs: songs,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(ArtistPageIntl));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/ArtistPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\n\n// Other views\nimport ArtistsPage from \"./ArtistsPage\";\n\n\n/**\n * Browse page is an alias for artists page at the moment.\n */\nexport default class BrowsePage extends Component {\n render() {\n return (\n
\n );\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/BrowsePage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\n\n// Components\nimport Discover from \"../components/Discover\";\n\n/**\n * Discover page\n */\nexport default class DiscoverPage extends Component {\n render() {\n return (\n
\n );\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/DiscoverPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\n\n// Other views\nimport ArtistsPage from \"./ArtistsPage\";\n\n/**\n * Homepage is an alias for Artists page at the moment.\n */\nexport default class HomePage extends Component {\n render() {\n return (\n
\n );\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/HomePage.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Login from \"../components/Login\";\n\n\n/**\n * Login page\n */\nexport class LoginPage extends Component {\n constructor(props) {\n super(props);\n\n // Bind this\n this.handleSubmit = this.handleSubmit.bind(this);\n this._getRedirectTo = this._getRedirectTo.bind(this);\n }\n\n /**\n * Get URL to redirect to based on location props.\n */\n _getRedirectTo() {\n let redirectPathname = \"/\";\n let redirectQuery = {};\n const { location } = this.props;\n if (location.state && location.state.nextPathname) {\n redirectPathname = location.state.nextPathname;\n }\n if (location.state && location.state.nextQuery) {\n redirectQuery = location.state.nextQuery;\n }\n return {\n pathname: redirectPathname,\n query: redirectQuery,\n };\n }\n\n componentWillMount() {\n // This checks if the user is already connected or not and redirects\n // them if it is the case.\n\n // Get next page to redirect to\n const redirectTo = this._getRedirectTo();\n\n if (this.props.isAuthenticated) {\n // If user is already authenticated, redirects them\n this.context.router.replace(redirectTo);\n } else if (this.props.rememberMe) {\n // Else if remember me is set, try to reconnect them\n this.props.actions.loginUser(\n this.props.username,\n this.props.token,\n this.props.endpoint,\n true,\n redirectTo,\n true\n );\n }\n }\n\n /**\n * Handle click on submit button.\n */\n handleSubmit(username, password, endpoint, rememberMe) {\n // Get page to redirect to\n const redirectTo = this._getRedirectTo();\n // Trigger login action\n this.props.actions.loginUser(username, password, endpoint, rememberMe, redirectTo);\n }\n\n render() {\n return (\n
\n );\n }\n}\n\nLoginPage.contextTypes = {\n router: PropTypes.object.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n username: state.auth.username,\n endpoint: state.auth.endpoint,\n rememberMe: state.auth.rememberMe,\n isAuthenticating: state.auth.isAuthenticating,\n isAuthenticated: state.auth.isAuthenticated,\n token: state.auth.token,\n error: state.auth.error,\n info: state.auth.info,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(LoginPage);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/LoginPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n\n/**\n * Logout page\n */\nexport class LogoutPage extends Component {\n componentWillMount() {\n // Logout when component is mounted\n this.props.actions.logoutAndRedirect();\n }\n\n render() {\n return (\n
\n );\n }\n}\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(null, mapDispatchToProps)(LogoutPage);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/LogoutPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport Immutable from \"immutable\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Playlist from \"../components/Playlist\";\n\n\n/**\n * Table of songs in the current playlist.\n */\nclass PlaylistPage extends Component {\n render() {\n return (\n
\n );\n }\n}\nconst mapStateToProps = (state) => {\n let songsList = new Immutable.List();\n if (state.webplayer.playlist.size > 0) {\n songsList = state.webplayer.playlist.map(function (id) {\n let song = state.entities.getIn([\"entities\", \"song\", id]);\n // Add artist and album infos to song\n const artist = state.entities.getIn([\"entities\", \"artist\", song.get(\"artist\")]);\n const album = state.entities.getIn([\"entities\", \"album\", song.get(\"album\")]);\n return (\n song\n .set(\"artist\", new Immutable.Map({id: artist.get(\"id\"), name: artist.get(\"name\")}))\n .set(\"album\", new Immutable.Map({id: album.get(\"id\"), name: album.get(\"name\")}))\n );\n });\n }\n return {\n songsList: songsList,\n currentIndex: state.webplayer.currentIndex,\n };\n};\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(PlaylistPage);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/PlaylistPage.jsx\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { defineMessages, injectIntl, intlShape } from \"react-intl\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { buildPaginationObject, messagesMap, handleErrorI18nObject } from \"../utils\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Songs from \"../components/Songs\";\n\n// Translations\nimport APIMessages from \"../locales/messagesDescriptors/api\";\n\n// Define translations\nconst songsMessages = defineMessages(messagesMap(Array.concat([], APIMessages)));\n\n\n/**\n * Paginated table of available songs\n */\nclass SongsPageIntl extends Component {\n componentWillMount() {\n // Load the data for current page\n const currentPage = parseInt(this.props.location.query.page) || 1;\n this.props.actions.loadPaginatedSongs({pageNumber: currentPage});\n }\n\n componentWillReceiveProps(nextProps) {\n // Load the data if page has changed\n const currentPage = parseInt(this.props.location.query.page) || 1;\n const nextPage = parseInt(nextProps.location.query.page) || 1;\n if (currentPage != nextPage) {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n // Load new data\n this.props.actions.loadPaginatedSongs({pageNumber: nextPage});\n }\n }\n\n componentWillUnmount() {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n const pagination = buildPaginationObject(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\n const error = handleErrorI18nObject(this.props.error, formatMessage, songsMessages);\n\n return (\n
\n );\n }\n}\n\nSongsPageIntl.propTypes = {\n intl: intlShape.isRequired,\n};\n\nconst mapStateToProps = (state) => {\n let songsList = new Immutable.List();\n if (state.paginated.type == \"song\" && state.paginated.result.size > 0) {\n songsList = state.paginated.result.map(function (id) {\n let song = state.entities.getIn([\"entities\", \"song\", id]);\n // Add artist and album infos to song\n const artist = state.entities.getIn([\"entities\", \"artist\", song.get(\"artist\")]);\n const album = state.entities.getIn([\"entities\", \"album\", song.get(\"album\")]);\n return (\n song\n .set(\"artist\", new Immutable.Map({id: artist.get(\"id\"), name: artist.get(\"name\")}))\n .set(\"album\", new Immutable.Map({id: album.get(\"id\"), name: album.get(\"name\")}))\n );\n });\n }\n return {\n isFetching: state.entities.isFetching,\n error: state.entities.error,\n songsList: songsList,\n currentPage: state.paginated.currentPage,\n nPages: state.paginated.nPages,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(SongsPageIntl));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/SongsPage.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { Howl } from \"howler\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport WebPlayerComponent from \"../components/elements/WebPlayer\";\n\n\n/**\n * Webplayer container.\n */\nclass WebPlayer extends Component {\n constructor(props) {\n super(props);\n\n // Data attributes\n this.howl = null;\n\n // Bind this\n this.startPlaying = this.startPlaying.bind(this);\n this.stopPlaying = this.stopPlaying.bind(this);\n this.isPlaying = this.isPlaying.bind(this);\n }\n\n componentDidMount() {\n // Start playback upon component mount\n this.startPlaying(this.props);\n }\n\n componentWillUpdate(nextProps) {\n // Handle stop\n if (\n // No current song in updated props\n !nextProps.currentSong ||\n // No playlist in updated props\n nextProps.playlist.size < 1 ||\n // Song played is not the song currently played\n (this.props.currentSong && nextProps.currentSong.get(\"id\") != this.props.currentSong.get(\"id\"))\n ) {\n if (this.howl) {\n this.stopPlaying();\n }\n }\n\n // Toggle play / pause\n if (\n // This check ensure we do not start playing multiple times the\n // same song\n (nextProps.isPlaying != this.props.isPlaying) ||\n // Or we should be playing but there is no howl object playing\n (nextProps.isPlaying && !this.isPlaying())\n ) {\n this.startPlaying(nextProps);\n }\n\n // If something is playing back\n if (this.howl) {\n // Set mute / unmute\n this.howl.mute(nextProps.isMute);\n // Set volume\n this.howl.volume(nextProps.volume / 100);\n }\n }\n\n /**\n * Handle playback through Howler and Web Audio API.\n *\n * @params props A set of props to use for setting play parameters.\n */\n startPlaying(props) {\n if (props.isPlaying && props.currentSong) {\n // If it should be playing any song\n // Build a new Howler object with current song to play\n const url = props.currentSong.get(\"url\");\n this.howl = new Howl({\n src: [url],\n html5: true, // Use HTML5 by default to allow streaming\n mute: props.isMute,\n volume: props.volume / 100, // Set current volume\n autoplay: false, // No autoplay, we handle it manually\n onend: () => props.actions.playNextSong(), // Play next song at the end\n });\n // Start playing\n this.howl.play();\n }\n else {\n // If it should not be playing\n if (this.howl) {\n // Pause any running music\n this.howl.pause();\n }\n }\n }\n\n /**\n * Stop playback through Howler and Web Audio API.\n */\n stopPlaying() {\n // Stop music playback\n this.howl.stop();\n // Reset howl object\n this.howl = null;\n }\n\n /**\n * Check whether some music is currently playing or not.\n *\n * @return True / False whether music is playing.\n */\n isPlaying() {\n if (this.howl) {\n return this.howl.playing();\n }\n return false;\n }\n\n render() {\n const webplayerProps = {\n isPlaying: this.props.isPlaying,\n isRandom: this.props.isRandom,\n isRepeat: this.props.isRepeat,\n isMute: this.props.isMute,\n volume: this.props.volume,\n currentIndex: this.props.currentIndex,\n playlist: this.props.playlist,\n currentSong: this.props.currentSong,\n currentArtist: this.props.currentArtist,\n // Use a lambda to ensure no first argument is passed to\n // togglePlaying\n onPlayPause: (() => this.props.actions.togglePlaying()),\n onPrev: this.props.actions.playPreviousSong,\n onSkip: this.props.actions.playNextSong,\n onRandom: this.props.actions.toggleRandom,\n onRepeat: this.props.actions.toggleRepeat,\n onMute: this.props.actions.toggleMute,\n isPlaylistViewActive: (\n (this.props.location && this.props.location.pathname == \"/playlist\")\n ? true\n : false\n ),\n };\n return (\n (this.props.playlist.size > 0)\n ?
\n :
\n );\n }\n}\nWebPlayer.propTypes = {\n location: PropTypes.object,\n};\nconst mapStateToProps = (state) => {\n const currentIndex = state.webplayer.currentIndex;\n const playlist = state.webplayer.playlist;\n\n // Get current song and artist from entities store\n const currentSong = state.entities.getIn([\"entities\", \"song\", playlist.get(currentIndex)]);\n let currentArtist = undefined;\n if (currentSong) {\n currentArtist = state.entities.getIn([\"entities\", \"artist\", currentSong.get(\"artist\")]);\n }\n return {\n isPlaying: state.webplayer.isPlaying,\n isRandom: state.webplayer.isRandom,\n isRepeat: state.webplayer.isRepeat,\n isMute: state.webplayer.isMute,\n volume: state.webplayer.volume,\n currentIndex: currentIndex,\n playlist: playlist,\n currentSong: currentSong,\n currentArtist: currentArtist,\n };\n};\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(WebPlayer);\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/WebPlayer.jsx\n **/","/**\n * Main JS entry point for all the builds.\n *\n * Performs i18n and initial render.\n */\n// React stuff\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { applyRouterMiddleware, hashHistory } from \"react-router\";\nimport { syncHistoryWithStore } from \"react-router-redux\";\nimport useScroll from \"react-router-scroll\";\n\n// Store\nimport configureStore from \"./app/store/configureStore\";\n\n// i18n stuff\nimport { addLocaleData } from \"react-intl\";\nimport en from \"react-intl/locale-data/en\";\nimport fr from \"react-intl/locale-data/fr\";\n\nimport { getBrowserLocales } from \"./app/utils\";\nimport rawMessages from \"./app/locales\";\n\n// Init store and history\nconst store = configureStore();\nconst history = syncHistoryWithStore(hashHistory, store);\n\n// Get root element\nexport const rootElement = document.getElementById(\"root\");\n\n/**\n * Main function to be called once window.Intl has been populated.\n *\n * Populates the locales messages and perform render.\n */\nexport function onWindowIntl () {\n // Add locales we support\n addLocaleData([...en, ...fr]);\n\n // Fetch current preferred locales from the browser\n const locales = getBrowserLocales();\n\n var locale = \"en-US\"; // Safe default\n // Populate strings with best matching locale\n var strings = {};\n for (var i = 0; i < locales.length; ++i) {\n if (rawMessages[locales[i]]) {\n locale = locales[i];\n strings = rawMessages[locale];\n break; // Break at first matching locale\n }\n }\n // Overload strings with default English translation, in case of missing translations\n strings = Object.assign(rawMessages[\"en-US\"], strings);\n\n // Dynamically set html lang attribute\n document.documentElement.lang = locale;\n\n // Return a rendering function\n return () => {\n const Root = require(\"./app/containers/Root\").default;\n ReactDOM.render(\n
,\n rootElement\n );\n };\n};\n\n/**\n * Ensure window.Intl exists, or polyfill it.\n *\n * @param render Initial rendering function.\n */\nexport function Intl (render) {\n if (!window.Intl) {\n require.ensure([\n \"intl\",\n \"intl/locale-data/jsonp/en.js\",\n \"intl/locale-data/jsonp/fr.js\"\n ], function (require) {\n require(\"intl\");\n require(\"intl/locale-data/jsonp/en.js\");\n require(\"intl/locale-data/jsonp/fr.js\");\n render();\n });\n } else {\n render();\n }\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.all.js\n **/","/**\n * This is the main JS entry point.\n * It loads either the production or the development index file, based on the\n * environment variables in use.\n */\nif (process.env.NODE_ENV === \"production\") {\n module.exports = require(\"./index.production.js\");\n} else {\n module.exports = require(\"./index.development.js\");\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.js\n **/","/**\n * This is the main JS entry point in production builds.\n */\n\n// Load the common index\nconst index = require(\"./index.all.js\");\n\n// Get the rendering function\nconst render = index.onWindowIntl();\n\n// Perform i18n and render\nindex.Intl(render);\n\n\n\n/** WEBPACK FOOTER **\n ** ./index.production.js\n **/","\"use strict\";\n\nrequire(\"core-js/shim\");\n\nrequire(\"regenerator-runtime/runtime\");\n\nrequire(\"core-js/fn/regexp/escape\");\n\n/* eslint max-len: 0 */\n\nif (global._babelPolyfill) {\n throw new Error(\"only one instance of babel-polyfill is allowed\");\n}\nglobal._babelPolyfill = true;\n\n// Should be removed in the next major release:\n\nvar DEFINE_PROPERTY = \"defineProperty\";\nfunction define(O, key, value) {\n O[key] || Object[DEFINE_PROPERTY](O, key, {\n writable: true,\n configurable: true,\n value: value\n });\n}\n\ndefine(String.prototype, \"padLeft\", \"\".padStart);\ndefine(String.prototype, \"padRight\", \"\".padEnd);\n\n\"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill\".split(\",\").forEach(function (key) {\n [][key] && define(Array, key, Function.call.bind([][key]));\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/babel-polyfill/lib/index.js\n ** module id = 392\n ** module chunks = 0\n **/","require (\"/srv/http/ampache_react/node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!style!css!resolve-url!sass?sourceMap!./lib/bootstrap.styles.loader.js!./no-op.js\");\nrequire (\"./lib/bootstrap.scripts.loader.js!./no-op.js\");\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js\n ** module id = 393\n ** module chunks = 0\n **/","require (\"../bootstrap-sass/assets/javascripts/bootstrap/transition\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/alert\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/button\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/carousel\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/collapse\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/dropdown\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/modal\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/tooltip\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/popover\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/scrollspy\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/tab\");\nrequire (\"../bootstrap-sass/assets/javascripts/bootstrap/affix\");\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-loader/lib/bootstrap.scripts.loader.js!./~/bootstrap-loader/no-op.js\n ** module id = 394\n ** module chunks = 0\n **/","require('./lib/bootstrap.loader!./no-op.js');\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-loader/loader.js\n ** module id = 395\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: affix.js v3.3.7\n * http://getbootstrap.com/javascript/#affix\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // AFFIX CLASS DEFINITION\n // ======================\n\n var Affix = function (element, options) {\n this.options = $.extend({}, Affix.DEFAULTS, options)\n\n this.$target = $(this.options.target)\n .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))\n\n this.$element = $(element)\n this.affixed = null\n this.unpin = null\n this.pinnedOffset = null\n\n this.checkPosition()\n }\n\n Affix.VERSION = '3.3.7'\n\n Affix.RESET = 'affix affix-top affix-bottom'\n\n Affix.DEFAULTS = {\n offset: 0,\n target: window\n }\n\n Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {\n var scrollTop = this.$target.scrollTop()\n var position = this.$element.offset()\n var targetHeight = this.$target.height()\n\n if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false\n\n if (this.affixed == 'bottom') {\n if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'\n return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'\n }\n\n var initializing = this.affixed == null\n var colliderTop = initializing ? scrollTop : position.top\n var colliderHeight = initializing ? targetHeight : height\n\n if (offsetTop != null && scrollTop <= offsetTop) return 'top'\n if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'\n\n return false\n }\n\n Affix.prototype.getPinnedOffset = function () {\n if (this.pinnedOffset) return this.pinnedOffset\n this.$element.removeClass(Affix.RESET).addClass('affix')\n var scrollTop = this.$target.scrollTop()\n var position = this.$element.offset()\n return (this.pinnedOffset = position.top - scrollTop)\n }\n\n Affix.prototype.checkPositionWithEventLoop = function () {\n setTimeout($.proxy(this.checkPosition, this), 1)\n }\n\n Affix.prototype.checkPosition = function () {\n if (!this.$element.is(':visible')) return\n\n var height = this.$element.height()\n var offset = this.options.offset\n var offsetTop = offset.top\n var offsetBottom = offset.bottom\n var scrollHeight = Math.max($(document).height(), $(document.body).height())\n\n if (typeof offset != 'object') offsetBottom = offsetTop = offset\n if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)\n if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)\n\n var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)\n\n if (this.affixed != affix) {\n if (this.unpin != null) this.$element.css('top', '')\n\n var affixType = 'affix' + (affix ? '-' + affix : '')\n var e = $.Event(affixType + '.bs.affix')\n\n this.$element.trigger(e)\n\n if (e.isDefaultPrevented()) return\n\n this.affixed = affix\n this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null\n\n this.$element\n .removeClass(Affix.RESET)\n .addClass(affixType)\n .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')\n }\n\n if (affix == 'bottom') {\n this.$element.offset({\n top: scrollHeight - height - offsetBottom\n })\n }\n }\n\n\n // AFFIX PLUGIN DEFINITION\n // =======================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.affix')\n var options = typeof option == 'object' && option\n\n if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.affix\n\n $.fn.affix = Plugin\n $.fn.affix.Constructor = Affix\n\n\n // AFFIX NO CONFLICT\n // =================\n\n $.fn.affix.noConflict = function () {\n $.fn.affix = old\n return this\n }\n\n\n // AFFIX DATA-API\n // ==============\n\n $(window).on('load', function () {\n $('[data-spy=\"affix\"]').each(function () {\n var $spy = $(this)\n var data = $spy.data()\n\n data.offset = data.offset || {}\n\n if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom\n if (data.offsetTop != null) data.offset.top = data.offsetTop\n\n Plugin.call($spy, data)\n })\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/affix.js\n ** module id = 396\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: alert.js v3.3.7\n * http://getbootstrap.com/javascript/#alerts\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // ALERT CLASS DEFINITION\n // ======================\n\n var dismiss = '[data-dismiss=\"alert\"]'\n var Alert = function (el) {\n $(el).on('click', dismiss, this.close)\n }\n\n Alert.VERSION = '3.3.7'\n\n Alert.TRANSITION_DURATION = 150\n\n Alert.prototype.close = function (e) {\n var $this = $(this)\n var selector = $this.attr('data-target')\n\n if (!selector) {\n selector = $this.attr('href')\n selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n }\n\n var $parent = $(selector === '#' ? [] : selector)\n\n if (e) e.preventDefault()\n\n if (!$parent.length) {\n $parent = $this.closest('.alert')\n }\n\n $parent.trigger(e = $.Event('close.bs.alert'))\n\n if (e.isDefaultPrevented()) return\n\n $parent.removeClass('in')\n\n function removeElement() {\n // detach from parent, fire event then clean up data\n $parent.detach().trigger('closed.bs.alert').remove()\n }\n\n $.support.transition && $parent.hasClass('fade') ?\n $parent\n .one('bsTransitionEnd', removeElement)\n .emulateTransitionEnd(Alert.TRANSITION_DURATION) :\n removeElement()\n }\n\n\n // ALERT PLUGIN DEFINITION\n // =======================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.alert')\n\n if (!data) $this.data('bs.alert', (data = new Alert(this)))\n if (typeof option == 'string') data[option].call($this)\n })\n }\n\n var old = $.fn.alert\n\n $.fn.alert = Plugin\n $.fn.alert.Constructor = Alert\n\n\n // ALERT NO CONFLICT\n // =================\n\n $.fn.alert.noConflict = function () {\n $.fn.alert = old\n return this\n }\n\n\n // ALERT DATA-API\n // ==============\n\n $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/alert.js\n ** module id = 397\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: button.js v3.3.7\n * http://getbootstrap.com/javascript/#buttons\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // BUTTON PUBLIC CLASS DEFINITION\n // ==============================\n\n var Button = function (element, options) {\n this.$element = $(element)\n this.options = $.extend({}, Button.DEFAULTS, options)\n this.isLoading = false\n }\n\n Button.VERSION = '3.3.7'\n\n Button.DEFAULTS = {\n loadingText: 'loading...'\n }\n\n Button.prototype.setState = function (state) {\n var d = 'disabled'\n var $el = this.$element\n var val = $el.is('input') ? 'val' : 'html'\n var data = $el.data()\n\n state += 'Text'\n\n if (data.resetText == null) $el.data('resetText', $el[val]())\n\n // push to event loop to allow forms to submit\n setTimeout($.proxy(function () {\n $el[val](data[state] == null ? this.options[state] : data[state])\n\n if (state == 'loadingText') {\n this.isLoading = true\n $el.addClass(d).attr(d, d).prop(d, true)\n } else if (this.isLoading) {\n this.isLoading = false\n $el.removeClass(d).removeAttr(d).prop(d, false)\n }\n }, this), 0)\n }\n\n Button.prototype.toggle = function () {\n var changed = true\n var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n\n if ($parent.length) {\n var $input = this.$element.find('input')\n if ($input.prop('type') == 'radio') {\n if ($input.prop('checked')) changed = false\n $parent.find('.active').removeClass('active')\n this.$element.addClass('active')\n } else if ($input.prop('type') == 'checkbox') {\n if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false\n this.$element.toggleClass('active')\n }\n $input.prop('checked', this.$element.hasClass('active'))\n if (changed) $input.trigger('change')\n } else {\n this.$element.attr('aria-pressed', !this.$element.hasClass('active'))\n this.$element.toggleClass('active')\n }\n }\n\n\n // BUTTON PLUGIN DEFINITION\n // ========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.button')\n var options = typeof option == 'object' && option\n\n if (!data) $this.data('bs.button', (data = new Button(this, options)))\n\n if (option == 'toggle') data.toggle()\n else if (option) data.setState(option)\n })\n }\n\n var old = $.fn.button\n\n $.fn.button = Plugin\n $.fn.button.Constructor = Button\n\n\n // BUTTON NO CONFLICT\n // ==================\n\n $.fn.button.noConflict = function () {\n $.fn.button = old\n return this\n }\n\n\n // BUTTON DATA-API\n // ===============\n\n $(document)\n .on('click.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n var $btn = $(e.target).closest('.btn')\n Plugin.call($btn, 'toggle')\n if (!($(e.target).is('input[type=\"radio\"], input[type=\"checkbox\"]'))) {\n // Prevent double click on radios, and the double selections (so cancellation) on checkboxes\n e.preventDefault()\n // The target component still receive the focus\n if ($btn.is('input,button')) $btn.trigger('focus')\n else $btn.find('input:visible,button:visible').first().trigger('focus')\n }\n })\n .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/button.js\n ** module id = 398\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: carousel.js v3.3.7\n * http://getbootstrap.com/javascript/#carousel\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // CAROUSEL CLASS DEFINITION\n // =========================\n\n var Carousel = function (element, options) {\n this.$element = $(element)\n this.$indicators = this.$element.find('.carousel-indicators')\n this.options = options\n this.paused = null\n this.sliding = null\n this.interval = null\n this.$active = null\n this.$items = null\n\n this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))\n\n this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element\n .on('mouseenter.bs.carousel', $.proxy(this.pause, this))\n .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))\n }\n\n Carousel.VERSION = '3.3.7'\n\n Carousel.TRANSITION_DURATION = 600\n\n Carousel.DEFAULTS = {\n interval: 5000,\n pause: 'hover',\n wrap: true,\n keyboard: true\n }\n\n Carousel.prototype.keydown = function (e) {\n if (/input|textarea/i.test(e.target.tagName)) return\n switch (e.which) {\n case 37: this.prev(); break\n case 39: this.next(); break\n default: return\n }\n\n e.preventDefault()\n }\n\n Carousel.prototype.cycle = function (e) {\n e || (this.paused = false)\n\n this.interval && clearInterval(this.interval)\n\n this.options.interval\n && !this.paused\n && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n\n return this\n }\n\n Carousel.prototype.getItemIndex = function (item) {\n this.$items = item.parent().children('.item')\n return this.$items.index(item || this.$active)\n }\n\n Carousel.prototype.getItemForDirection = function (direction, active) {\n var activeIndex = this.getItemIndex(active)\n var willWrap = (direction == 'prev' && activeIndex === 0)\n || (direction == 'next' && activeIndex == (this.$items.length - 1))\n if (willWrap && !this.options.wrap) return active\n var delta = direction == 'prev' ? -1 : 1\n var itemIndex = (activeIndex + delta) % this.$items.length\n return this.$items.eq(itemIndex)\n }\n\n Carousel.prototype.to = function (pos) {\n var that = this\n var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))\n\n if (pos > (this.$items.length - 1) || pos < 0) return\n\n if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, \"slid\"\n if (activeIndex == pos) return this.pause().cycle()\n\n return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))\n }\n\n Carousel.prototype.pause = function (e) {\n e || (this.paused = true)\n\n if (this.$element.find('.next, .prev').length && $.support.transition) {\n this.$element.trigger($.support.transition.end)\n this.cycle(true)\n }\n\n this.interval = clearInterval(this.interval)\n\n return this\n }\n\n Carousel.prototype.next = function () {\n if (this.sliding) return\n return this.slide('next')\n }\n\n Carousel.prototype.prev = function () {\n if (this.sliding) return\n return this.slide('prev')\n }\n\n Carousel.prototype.slide = function (type, next) {\n var $active = this.$element.find('.item.active')\n var $next = next || this.getItemForDirection(type, $active)\n var isCycling = this.interval\n var direction = type == 'next' ? 'left' : 'right'\n var that = this\n\n if ($next.hasClass('active')) return (this.sliding = false)\n\n var relatedTarget = $next[0]\n var slideEvent = $.Event('slide.bs.carousel', {\n relatedTarget: relatedTarget,\n direction: direction\n })\n this.$element.trigger(slideEvent)\n if (slideEvent.isDefaultPrevented()) return\n\n this.sliding = true\n\n isCycling && this.pause()\n\n if (this.$indicators.length) {\n this.$indicators.find('.active').removeClass('active')\n var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])\n $nextIndicator && $nextIndicator.addClass('active')\n }\n\n var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, \"slid\"\n if ($.support.transition && this.$element.hasClass('slide')) {\n $next.addClass(type)\n $next[0].offsetWidth // force reflow\n $active.addClass(direction)\n $next.addClass(direction)\n $active\n .one('bsTransitionEnd', function () {\n $next.removeClass([type, direction].join(' ')).addClass('active')\n $active.removeClass(['active', direction].join(' '))\n that.sliding = false\n setTimeout(function () {\n that.$element.trigger(slidEvent)\n }, 0)\n })\n .emulateTransitionEnd(Carousel.TRANSITION_DURATION)\n } else {\n $active.removeClass('active')\n $next.addClass('active')\n this.sliding = false\n this.$element.trigger(slidEvent)\n }\n\n isCycling && this.cycle()\n\n return this\n }\n\n\n // CAROUSEL PLUGIN DEFINITION\n // ==========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.carousel')\n var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n var action = typeof option == 'string' ? option : options.slide\n\n if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n if (typeof option == 'number') data.to(option)\n else if (action) data[action]()\n else if (options.interval) data.pause().cycle()\n })\n }\n\n var old = $.fn.carousel\n\n $.fn.carousel = Plugin\n $.fn.carousel.Constructor = Carousel\n\n\n // CAROUSEL NO CONFLICT\n // ====================\n\n $.fn.carousel.noConflict = function () {\n $.fn.carousel = old\n return this\n }\n\n\n // CAROUSEL DATA-API\n // =================\n\n var clickHandler = function (e) {\n var href\n var $this = $(this)\n var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) // strip for ie7\n if (!$target.hasClass('carousel')) return\n var options = $.extend({}, $target.data(), $this.data())\n var slideIndex = $this.attr('data-slide-to')\n if (slideIndex) options.interval = false\n\n Plugin.call($target, options)\n\n if (slideIndex) {\n $target.data('bs.carousel').to(slideIndex)\n }\n\n e.preventDefault()\n }\n\n $(document)\n .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)\n .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)\n\n $(window).on('load', function () {\n $('[data-ride=\"carousel\"]').each(function () {\n var $carousel = $(this)\n Plugin.call($carousel, $carousel.data())\n })\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/carousel.js\n ** module id = 399\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: collapse.js v3.3.7\n * http://getbootstrap.com/javascript/#collapse\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n/* jshint latedef: false */\n\n+function ($) {\n 'use strict';\n\n // COLLAPSE PUBLIC CLASS DEFINITION\n // ================================\n\n var Collapse = function (element, options) {\n this.$element = $(element)\n this.options = $.extend({}, Collapse.DEFAULTS, options)\n this.$trigger = $('[data-toggle=\"collapse\"][href=\"#' + element.id + '\"],' +\n '[data-toggle=\"collapse\"][data-target=\"#' + element.id + '\"]')\n this.transitioning = null\n\n if (this.options.parent) {\n this.$parent = this.getParent()\n } else {\n this.addAriaAndCollapsedClass(this.$element, this.$trigger)\n }\n\n if (this.options.toggle) this.toggle()\n }\n\n Collapse.VERSION = '3.3.7'\n\n Collapse.TRANSITION_DURATION = 350\n\n Collapse.DEFAULTS = {\n toggle: true\n }\n\n Collapse.prototype.dimension = function () {\n var hasWidth = this.$element.hasClass('width')\n return hasWidth ? 'width' : 'height'\n }\n\n Collapse.prototype.show = function () {\n if (this.transitioning || this.$element.hasClass('in')) return\n\n var activesData\n var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')\n\n if (actives && actives.length) {\n activesData = actives.data('bs.collapse')\n if (activesData && activesData.transitioning) return\n }\n\n var startEvent = $.Event('show.bs.collapse')\n this.$element.trigger(startEvent)\n if (startEvent.isDefaultPrevented()) return\n\n if (actives && actives.length) {\n Plugin.call(actives, 'hide')\n activesData || actives.data('bs.collapse', null)\n }\n\n var dimension = this.dimension()\n\n this.$element\n .removeClass('collapse')\n .addClass('collapsing')[dimension](0)\n .attr('aria-expanded', true)\n\n this.$trigger\n .removeClass('collapsed')\n .attr('aria-expanded', true)\n\n this.transitioning = 1\n\n var complete = function () {\n this.$element\n .removeClass('collapsing')\n .addClass('collapse in')[dimension]('')\n this.transitioning = 0\n this.$element\n .trigger('shown.bs.collapse')\n }\n\n if (!$.support.transition) return complete.call(this)\n\n var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n\n this.$element\n .one('bsTransitionEnd', $.proxy(complete, this))\n .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])\n }\n\n Collapse.prototype.hide = function () {\n if (this.transitioning || !this.$element.hasClass('in')) return\n\n var startEvent = $.Event('hide.bs.collapse')\n this.$element.trigger(startEvent)\n if (startEvent.isDefaultPrevented()) return\n\n var dimension = this.dimension()\n\n this.$element[dimension](this.$element[dimension]())[0].offsetHeight\n\n this.$element\n .addClass('collapsing')\n .removeClass('collapse in')\n .attr('aria-expanded', false)\n\n this.$trigger\n .addClass('collapsed')\n .attr('aria-expanded', false)\n\n this.transitioning = 1\n\n var complete = function () {\n this.transitioning = 0\n this.$element\n .removeClass('collapsing')\n .addClass('collapse')\n .trigger('hidden.bs.collapse')\n }\n\n if (!$.support.transition) return complete.call(this)\n\n this.$element\n [dimension](0)\n .one('bsTransitionEnd', $.proxy(complete, this))\n .emulateTransitionEnd(Collapse.TRANSITION_DURATION)\n }\n\n Collapse.prototype.toggle = function () {\n this[this.$element.hasClass('in') ? 'hide' : 'show']()\n }\n\n Collapse.prototype.getParent = function () {\n return $(this.options.parent)\n .find('[data-toggle=\"collapse\"][data-parent=\"' + this.options.parent + '\"]')\n .each($.proxy(function (i, element) {\n var $element = $(element)\n this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)\n }, this))\n .end()\n }\n\n Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {\n var isOpen = $element.hasClass('in')\n\n $element.attr('aria-expanded', isOpen)\n $trigger\n .toggleClass('collapsed', !isOpen)\n .attr('aria-expanded', isOpen)\n }\n\n function getTargetFromTrigger($trigger) {\n var href\n var target = $trigger.attr('data-target')\n || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') // strip for ie7\n\n return $(target)\n }\n\n\n // COLLAPSE PLUGIN DEFINITION\n // ==========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.collapse')\n var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false\n if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.collapse\n\n $.fn.collapse = Plugin\n $.fn.collapse.Constructor = Collapse\n\n\n // COLLAPSE NO CONFLICT\n // ====================\n\n $.fn.collapse.noConflict = function () {\n $.fn.collapse = old\n return this\n }\n\n\n // COLLAPSE DATA-API\n // =================\n\n $(document).on('click.bs.collapse.data-api', '[data-toggle=\"collapse\"]', function (e) {\n var $this = $(this)\n\n if (!$this.attr('data-target')) e.preventDefault()\n\n var $target = getTargetFromTrigger($this)\n var data = $target.data('bs.collapse')\n var option = data ? 'toggle' : $this.data()\n\n Plugin.call($target, option)\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/collapse.js\n ** module id = 400\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: dropdown.js v3.3.7\n * http://getbootstrap.com/javascript/#dropdowns\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // DROPDOWN CLASS DEFINITION\n // =========================\n\n var backdrop = '.dropdown-backdrop'\n var toggle = '[data-toggle=\"dropdown\"]'\n var Dropdown = function (element) {\n $(element).on('click.bs.dropdown', this.toggle)\n }\n\n Dropdown.VERSION = '3.3.7'\n\n function getParent($this) {\n var selector = $this.attr('data-target')\n\n if (!selector) {\n selector = $this.attr('href')\n selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n }\n\n var $parent = selector && $(selector)\n\n return $parent && $parent.length ? $parent : $this.parent()\n }\n\n function clearMenus(e) {\n if (e && e.which === 3) return\n $(backdrop).remove()\n $(toggle).each(function () {\n var $this = $(this)\n var $parent = getParent($this)\n var relatedTarget = { relatedTarget: this }\n\n if (!$parent.hasClass('open')) return\n\n if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return\n\n $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))\n\n if (e.isDefaultPrevented()) return\n\n $this.attr('aria-expanded', 'false')\n $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))\n })\n }\n\n Dropdown.prototype.toggle = function (e) {\n var $this = $(this)\n\n if ($this.is('.disabled, :disabled')) return\n\n var $parent = getParent($this)\n var isActive = $parent.hasClass('open')\n\n clearMenus()\n\n if (!isActive) {\n if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n // if mobile we use a backdrop because click events don't delegate\n $(document.createElement('div'))\n .addClass('dropdown-backdrop')\n .insertAfter($(this))\n .on('click', clearMenus)\n }\n\n var relatedTarget = { relatedTarget: this }\n $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))\n\n if (e.isDefaultPrevented()) return\n\n $this\n .trigger('focus')\n .attr('aria-expanded', 'true')\n\n $parent\n .toggleClass('open')\n .trigger($.Event('shown.bs.dropdown', relatedTarget))\n }\n\n return false\n }\n\n Dropdown.prototype.keydown = function (e) {\n if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return\n\n var $this = $(this)\n\n e.preventDefault()\n e.stopPropagation()\n\n if ($this.is('.disabled, :disabled')) return\n\n var $parent = getParent($this)\n var isActive = $parent.hasClass('open')\n\n if (!isActive && e.which != 27 || isActive && e.which == 27) {\n if (e.which == 27) $parent.find(toggle).trigger('focus')\n return $this.trigger('click')\n }\n\n var desc = ' li:not(.disabled):visible a'\n var $items = $parent.find('.dropdown-menu' + desc)\n\n if (!$items.length) return\n\n var index = $items.index(e.target)\n\n if (e.which == 38 && index > 0) index-- // up\n if (e.which == 40 && index < $items.length - 1) index++ // down\n if (!~index) index = 0\n\n $items.eq(index).trigger('focus')\n }\n\n\n // DROPDOWN PLUGIN DEFINITION\n // ==========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.dropdown')\n\n if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n if (typeof option == 'string') data[option].call($this)\n })\n }\n\n var old = $.fn.dropdown\n\n $.fn.dropdown = Plugin\n $.fn.dropdown.Constructor = Dropdown\n\n\n // DROPDOWN NO CONFLICT\n // ====================\n\n $.fn.dropdown.noConflict = function () {\n $.fn.dropdown = old\n return this\n }\n\n\n // APPLY TO STANDARD DROPDOWN ELEMENTS\n // ===================================\n\n $(document)\n .on('click.bs.dropdown.data-api', clearMenus)\n .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)\n .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)\n .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js\n ** module id = 401\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: modal.js v3.3.7\n * http://getbootstrap.com/javascript/#modals\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // MODAL CLASS DEFINITION\n // ======================\n\n var Modal = function (element, options) {\n this.options = options\n this.$body = $(document.body)\n this.$element = $(element)\n this.$dialog = this.$element.find('.modal-dialog')\n this.$backdrop = null\n this.isShown = null\n this.originalBodyPad = null\n this.scrollbarWidth = 0\n this.ignoreBackdropClick = false\n\n if (this.options.remote) {\n this.$element\n .find('.modal-content')\n .load(this.options.remote, $.proxy(function () {\n this.$element.trigger('loaded.bs.modal')\n }, this))\n }\n }\n\n Modal.VERSION = '3.3.7'\n\n Modal.TRANSITION_DURATION = 300\n Modal.BACKDROP_TRANSITION_DURATION = 150\n\n Modal.DEFAULTS = {\n backdrop: true,\n keyboard: true,\n show: true\n }\n\n Modal.prototype.toggle = function (_relatedTarget) {\n return this.isShown ? this.hide() : this.show(_relatedTarget)\n }\n\n Modal.prototype.show = function (_relatedTarget) {\n var that = this\n var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n\n this.$element.trigger(e)\n\n if (this.isShown || e.isDefaultPrevented()) return\n\n this.isShown = true\n\n this.checkScrollbar()\n this.setScrollbar()\n this.$body.addClass('modal-open')\n\n this.escape()\n this.resize()\n\n this.$element.on('click.dismiss.bs.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n\n this.$dialog.on('mousedown.dismiss.bs.modal', function () {\n that.$element.one('mouseup.dismiss.bs.modal', function (e) {\n if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true\n })\n })\n\n this.backdrop(function () {\n var transition = $.support.transition && that.$element.hasClass('fade')\n\n if (!that.$element.parent().length) {\n that.$element.appendTo(that.$body) // don't move modals dom position\n }\n\n that.$element\n .show()\n .scrollTop(0)\n\n that.adjustDialog()\n\n if (transition) {\n that.$element[0].offsetWidth // force reflow\n }\n\n that.$element.addClass('in')\n\n that.enforceFocus()\n\n var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n\n transition ?\n that.$dialog // wait for modal to slide in\n .one('bsTransitionEnd', function () {\n that.$element.trigger('focus').trigger(e)\n })\n .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n that.$element.trigger('focus').trigger(e)\n })\n }\n\n Modal.prototype.hide = function (e) {\n if (e) e.preventDefault()\n\n e = $.Event('hide.bs.modal')\n\n this.$element.trigger(e)\n\n if (!this.isShown || e.isDefaultPrevented()) return\n\n this.isShown = false\n\n this.escape()\n this.resize()\n\n $(document).off('focusin.bs.modal')\n\n this.$element\n .removeClass('in')\n .off('click.dismiss.bs.modal')\n .off('mouseup.dismiss.bs.modal')\n\n this.$dialog.off('mousedown.dismiss.bs.modal')\n\n $.support.transition && this.$element.hasClass('fade') ?\n this.$element\n .one('bsTransitionEnd', $.proxy(this.hideModal, this))\n .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n this.hideModal()\n }\n\n Modal.prototype.enforceFocus = function () {\n $(document)\n .off('focusin.bs.modal') // guard against infinite focus loop\n .on('focusin.bs.modal', $.proxy(function (e) {\n if (document !== e.target &&\n this.$element[0] !== e.target &&\n !this.$element.has(e.target).length) {\n this.$element.trigger('focus')\n }\n }, this))\n }\n\n Modal.prototype.escape = function () {\n if (this.isShown && this.options.keyboard) {\n this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {\n e.which == 27 && this.hide()\n }, this))\n } else if (!this.isShown) {\n this.$element.off('keydown.dismiss.bs.modal')\n }\n }\n\n Modal.prototype.resize = function () {\n if (this.isShown) {\n $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))\n } else {\n $(window).off('resize.bs.modal')\n }\n }\n\n Modal.prototype.hideModal = function () {\n var that = this\n this.$element.hide()\n this.backdrop(function () {\n that.$body.removeClass('modal-open')\n that.resetAdjustments()\n that.resetScrollbar()\n that.$element.trigger('hidden.bs.modal')\n })\n }\n\n Modal.prototype.removeBackdrop = function () {\n this.$backdrop && this.$backdrop.remove()\n this.$backdrop = null\n }\n\n Modal.prototype.backdrop = function (callback) {\n var that = this\n var animate = this.$element.hasClass('fade') ? 'fade' : ''\n\n if (this.isShown && this.options.backdrop) {\n var doAnimate = $.support.transition && animate\n\n this.$backdrop = $(document.createElement('div'))\n .addClass('modal-backdrop ' + animate)\n .appendTo(this.$body)\n\n this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {\n if (this.ignoreBackdropClick) {\n this.ignoreBackdropClick = false\n return\n }\n if (e.target !== e.currentTarget) return\n this.options.backdrop == 'static'\n ? this.$element[0].focus()\n : this.hide()\n }, this))\n\n if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\n this.$backdrop.addClass('in')\n\n if (!callback) return\n\n doAnimate ?\n this.$backdrop\n .one('bsTransitionEnd', callback)\n .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n callback()\n\n } else if (!this.isShown && this.$backdrop) {\n this.$backdrop.removeClass('in')\n\n var callbackRemove = function () {\n that.removeBackdrop()\n callback && callback()\n }\n $.support.transition && this.$element.hasClass('fade') ?\n this.$backdrop\n .one('bsTransitionEnd', callbackRemove)\n .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n callbackRemove()\n\n } else if (callback) {\n callback()\n }\n }\n\n // these following methods are used to handle overflowing modals\n\n Modal.prototype.handleUpdate = function () {\n this.adjustDialog()\n }\n\n Modal.prototype.adjustDialog = function () {\n var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight\n\n this.$element.css({\n paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',\n paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''\n })\n }\n\n Modal.prototype.resetAdjustments = function () {\n this.$element.css({\n paddingLeft: '',\n paddingRight: ''\n })\n }\n\n Modal.prototype.checkScrollbar = function () {\n var fullWindowWidth = window.innerWidth\n if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8\n var documentElementRect = document.documentElement.getBoundingClientRect()\n fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)\n }\n this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth\n this.scrollbarWidth = this.measureScrollbar()\n }\n\n Modal.prototype.setScrollbar = function () {\n var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)\n this.originalBodyPad = document.body.style.paddingRight || ''\n if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)\n }\n\n Modal.prototype.resetScrollbar = function () {\n this.$body.css('padding-right', this.originalBodyPad)\n }\n\n Modal.prototype.measureScrollbar = function () { // thx walsh\n var scrollDiv = document.createElement('div')\n scrollDiv.className = 'modal-scrollbar-measure'\n this.$body.append(scrollDiv)\n var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth\n this.$body[0].removeChild(scrollDiv)\n return scrollbarWidth\n }\n\n\n // MODAL PLUGIN DEFINITION\n // =======================\n\n function Plugin(option, _relatedTarget) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.modal')\n var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n if (typeof option == 'string') data[option](_relatedTarget)\n else if (options.show) data.show(_relatedTarget)\n })\n }\n\n var old = $.fn.modal\n\n $.fn.modal = Plugin\n $.fn.modal.Constructor = Modal\n\n\n // MODAL NO CONFLICT\n // =================\n\n $.fn.modal.noConflict = function () {\n $.fn.modal = old\n return this\n }\n\n\n // MODAL DATA-API\n // ==============\n\n $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n var $this = $(this)\n var href = $this.attr('href')\n var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) // strip for ie7\n var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n\n if ($this.is('a')) e.preventDefault()\n\n $target.one('show.bs.modal', function (showEvent) {\n if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown\n $target.one('hidden.bs.modal', function () {\n $this.is(':visible') && $this.trigger('focus')\n })\n })\n Plugin.call($target, option, this)\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/modal.js\n ** module id = 402\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: popover.js v3.3.7\n * http://getbootstrap.com/javascript/#popovers\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // POPOVER PUBLIC CLASS DEFINITION\n // ===============================\n\n var Popover = function (element, options) {\n this.init('popover', element, options)\n }\n\n if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\n\n Popover.VERSION = '3.3.7'\n\n Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {\n placement: 'right',\n trigger: 'click',\n content: '',\n template: '
'\n })\n\n\n // NOTE: POPOVER EXTENDS tooltip.js\n // ================================\n\n Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\n\n Popover.prototype.constructor = Popover\n\n Popover.prototype.getDefaults = function () {\n return Popover.DEFAULTS\n }\n\n Popover.prototype.setContent = function () {\n var $tip = this.tip()\n var title = this.getTitle()\n var content = this.getContent()\n\n $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events\n this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'\n ](content)\n\n $tip.removeClass('fade top bottom left right in')\n\n // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\n // this manually by checking the contents.\n if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\n }\n\n Popover.prototype.hasContent = function () {\n return this.getTitle() || this.getContent()\n }\n\n Popover.prototype.getContent = function () {\n var $e = this.$element\n var o = this.options\n\n return $e.attr('data-content')\n || (typeof o.content == 'function' ?\n o.content.call($e[0]) :\n o.content)\n }\n\n Popover.prototype.arrow = function () {\n return (this.$arrow = this.$arrow || this.tip().find('.arrow'))\n }\n\n\n // POPOVER PLUGIN DEFINITION\n // =========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.popover')\n var options = typeof option == 'object' && option\n\n if (!data && /destroy|hide/.test(option)) return\n if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.popover\n\n $.fn.popover = Plugin\n $.fn.popover.Constructor = Popover\n\n\n // POPOVER NO CONFLICT\n // ===================\n\n $.fn.popover.noConflict = function () {\n $.fn.popover = old\n return this\n }\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/popover.js\n ** module id = 403\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: scrollspy.js v3.3.7\n * http://getbootstrap.com/javascript/#scrollspy\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // SCROLLSPY CLASS DEFINITION\n // ==========================\n\n function ScrollSpy(element, options) {\n this.$body = $(document.body)\n this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)\n this.options = $.extend({}, ScrollSpy.DEFAULTS, options)\n this.selector = (this.options.target || '') + ' .nav li > a'\n this.offsets = []\n this.targets = []\n this.activeTarget = null\n this.scrollHeight = 0\n\n this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))\n this.refresh()\n this.process()\n }\n\n ScrollSpy.VERSION = '3.3.7'\n\n ScrollSpy.DEFAULTS = {\n offset: 10\n }\n\n ScrollSpy.prototype.getScrollHeight = function () {\n return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)\n }\n\n ScrollSpy.prototype.refresh = function () {\n var that = this\n var offsetMethod = 'offset'\n var offsetBase = 0\n\n this.offsets = []\n this.targets = []\n this.scrollHeight = this.getScrollHeight()\n\n if (!$.isWindow(this.$scrollElement[0])) {\n offsetMethod = 'position'\n offsetBase = this.$scrollElement.scrollTop()\n }\n\n this.$body\n .find(this.selector)\n .map(function () {\n var $el = $(this)\n var href = $el.data('target') || $el.attr('href')\n var $href = /^#./.test(href) && $(href)\n\n return ($href\n && $href.length\n && $href.is(':visible')\n && [[$href[offsetMethod]().top + offsetBase, href]]) || null\n })\n .sort(function (a, b) { return a[0] - b[0] })\n .each(function () {\n that.offsets.push(this[0])\n that.targets.push(this[1])\n })\n }\n\n ScrollSpy.prototype.process = function () {\n var scrollTop = this.$scrollElement.scrollTop() + this.options.offset\n var scrollHeight = this.getScrollHeight()\n var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()\n var offsets = this.offsets\n var targets = this.targets\n var activeTarget = this.activeTarget\n var i\n\n if (this.scrollHeight != scrollHeight) {\n this.refresh()\n }\n\n if (scrollTop >= maxScroll) {\n return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)\n }\n\n if (activeTarget && scrollTop < offsets[0]) {\n this.activeTarget = null\n return this.clear()\n }\n\n for (i = offsets.length; i--;) {\n activeTarget != targets[i]\n && scrollTop >= offsets[i]\n && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])\n && this.activate(targets[i])\n }\n }\n\n ScrollSpy.prototype.activate = function (target) {\n this.activeTarget = target\n\n this.clear()\n\n var selector = this.selector +\n '[data-target=\"' + target + '\"],' +\n this.selector + '[href=\"' + target + '\"]'\n\n var active = $(selector)\n .parents('li')\n .addClass('active')\n\n if (active.parent('.dropdown-menu').length) {\n active = active\n .closest('li.dropdown')\n .addClass('active')\n }\n\n active.trigger('activate.bs.scrollspy')\n }\n\n ScrollSpy.prototype.clear = function () {\n $(this.selector)\n .parentsUntil(this.options.target, '.active')\n .removeClass('active')\n }\n\n\n // SCROLLSPY PLUGIN DEFINITION\n // ===========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.scrollspy')\n var options = typeof option == 'object' && option\n\n if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.scrollspy\n\n $.fn.scrollspy = Plugin\n $.fn.scrollspy.Constructor = ScrollSpy\n\n\n // SCROLLSPY NO CONFLICT\n // =====================\n\n $.fn.scrollspy.noConflict = function () {\n $.fn.scrollspy = old\n return this\n }\n\n\n // SCROLLSPY DATA-API\n // ==================\n\n $(window).on('load.bs.scrollspy.data-api', function () {\n $('[data-spy=\"scroll\"]').each(function () {\n var $spy = $(this)\n Plugin.call($spy, $spy.data())\n })\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js\n ** module id = 404\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: tab.js v3.3.7\n * http://getbootstrap.com/javascript/#tabs\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // TAB CLASS DEFINITION\n // ====================\n\n var Tab = function (element) {\n // jscs:disable requireDollarBeforejQueryAssignment\n this.element = $(element)\n // jscs:enable requireDollarBeforejQueryAssignment\n }\n\n Tab.VERSION = '3.3.7'\n\n Tab.TRANSITION_DURATION = 150\n\n Tab.prototype.show = function () {\n var $this = this.element\n var $ul = $this.closest('ul:not(.dropdown-menu)')\n var selector = $this.data('target')\n\n if (!selector) {\n selector = $this.attr('href')\n selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n }\n\n if ($this.parent('li').hasClass('active')) return\n\n var $previous = $ul.find('.active:last a')\n var hideEvent = $.Event('hide.bs.tab', {\n relatedTarget: $this[0]\n })\n var showEvent = $.Event('show.bs.tab', {\n relatedTarget: $previous[0]\n })\n\n $previous.trigger(hideEvent)\n $this.trigger(showEvent)\n\n if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return\n\n var $target = $(selector)\n\n this.activate($this.closest('li'), $ul)\n this.activate($target, $target.parent(), function () {\n $previous.trigger({\n type: 'hidden.bs.tab',\n relatedTarget: $this[0]\n })\n $this.trigger({\n type: 'shown.bs.tab',\n relatedTarget: $previous[0]\n })\n })\n }\n\n Tab.prototype.activate = function (element, container, callback) {\n var $active = container.find('> .active')\n var transition = callback\n && $.support.transition\n && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)\n\n function next() {\n $active\n .removeClass('active')\n .find('> .dropdown-menu > .active')\n .removeClass('active')\n .end()\n .find('[data-toggle=\"tab\"]')\n .attr('aria-expanded', false)\n\n element\n .addClass('active')\n .find('[data-toggle=\"tab\"]')\n .attr('aria-expanded', true)\n\n if (transition) {\n element[0].offsetWidth // reflow for transition\n element.addClass('in')\n } else {\n element.removeClass('fade')\n }\n\n if (element.parent('.dropdown-menu').length) {\n element\n .closest('li.dropdown')\n .addClass('active')\n .end()\n .find('[data-toggle=\"tab\"]')\n .attr('aria-expanded', true)\n }\n\n callback && callback()\n }\n\n $active.length && transition ?\n $active\n .one('bsTransitionEnd', next)\n .emulateTransitionEnd(Tab.TRANSITION_DURATION) :\n next()\n\n $active.removeClass('in')\n }\n\n\n // TAB PLUGIN DEFINITION\n // =====================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.tab')\n\n if (!data) $this.data('bs.tab', (data = new Tab(this)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.tab\n\n $.fn.tab = Plugin\n $.fn.tab.Constructor = Tab\n\n\n // TAB NO CONFLICT\n // ===============\n\n $.fn.tab.noConflict = function () {\n $.fn.tab = old\n return this\n }\n\n\n // TAB DATA-API\n // ============\n\n var clickHandler = function (e) {\n e.preventDefault()\n Plugin.call($(this), 'show')\n }\n\n $(document)\n .on('click.bs.tab.data-api', '[data-toggle=\"tab\"]', clickHandler)\n .on('click.bs.tab.data-api', '[data-toggle=\"pill\"]', clickHandler)\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/tab.js\n ** module id = 405\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: tooltip.js v3.3.7\n * http://getbootstrap.com/javascript/#tooltip\n * Inspired by the original jQuery.tipsy by Jason Frame\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // TOOLTIP PUBLIC CLASS DEFINITION\n // ===============================\n\n var Tooltip = function (element, options) {\n this.type = null\n this.options = null\n this.enabled = null\n this.timeout = null\n this.hoverState = null\n this.$element = null\n this.inState = null\n\n this.init('tooltip', element, options)\n }\n\n Tooltip.VERSION = '3.3.7'\n\n Tooltip.TRANSITION_DURATION = 150\n\n Tooltip.DEFAULTS = {\n animation: true,\n placement: 'top',\n selector: false,\n template: '
',\n trigger: 'hover focus',\n title: '',\n delay: 0,\n html: false,\n container: false,\n viewport: {\n selector: 'body',\n padding: 0\n }\n }\n\n Tooltip.prototype.init = function (type, element, options) {\n this.enabled = true\n this.type = type\n this.$element = $(element)\n this.options = this.getOptions(options)\n this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))\n this.inState = { click: false, hover: false, focus: false }\n\n if (this.$element[0] instanceof document.constructor && !this.options.selector) {\n throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')\n }\n\n var triggers = this.options.trigger.split(' ')\n\n for (var i = triggers.length; i--;) {\n var trigger = triggers[i]\n\n if (trigger == 'click') {\n this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n } else if (trigger != 'manual') {\n var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'\n var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'\n\n this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n }\n }\n\n this.options.selector ?\n (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n this.fixTitle()\n }\n\n Tooltip.prototype.getDefaults = function () {\n return Tooltip.DEFAULTS\n }\n\n Tooltip.prototype.getOptions = function (options) {\n options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n\n if (options.delay && typeof options.delay == 'number') {\n options.delay = {\n show: options.delay,\n hide: options.delay\n }\n }\n\n return options\n }\n\n Tooltip.prototype.getDelegateOptions = function () {\n var options = {}\n var defaults = this.getDefaults()\n\n this._options && $.each(this._options, function (key, value) {\n if (defaults[key] != value) options[key] = value\n })\n\n return options\n }\n\n Tooltip.prototype.enter = function (obj) {\n var self = obj instanceof this.constructor ?\n obj : $(obj.currentTarget).data('bs.' + this.type)\n\n if (!self) {\n self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n $(obj.currentTarget).data('bs.' + this.type, self)\n }\n\n if (obj instanceof $.Event) {\n self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true\n }\n\n if (self.tip().hasClass('in') || self.hoverState == 'in') {\n self.hoverState = 'in'\n return\n }\n\n clearTimeout(self.timeout)\n\n self.hoverState = 'in'\n\n if (!self.options.delay || !self.options.delay.show) return self.show()\n\n self.timeout = setTimeout(function () {\n if (self.hoverState == 'in') self.show()\n }, self.options.delay.show)\n }\n\n Tooltip.prototype.isInStateTrue = function () {\n for (var key in this.inState) {\n if (this.inState[key]) return true\n }\n\n return false\n }\n\n Tooltip.prototype.leave = function (obj) {\n var self = obj instanceof this.constructor ?\n obj : $(obj.currentTarget).data('bs.' + this.type)\n\n if (!self) {\n self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n $(obj.currentTarget).data('bs.' + this.type, self)\n }\n\n if (obj instanceof $.Event) {\n self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false\n }\n\n if (self.isInStateTrue()) return\n\n clearTimeout(self.timeout)\n\n self.hoverState = 'out'\n\n if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\n self.timeout = setTimeout(function () {\n if (self.hoverState == 'out') self.hide()\n }, self.options.delay.hide)\n }\n\n Tooltip.prototype.show = function () {\n var e = $.Event('show.bs.' + this.type)\n\n if (this.hasContent() && this.enabled) {\n this.$element.trigger(e)\n\n var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])\n if (e.isDefaultPrevented() || !inDom) return\n var that = this\n\n var $tip = this.tip()\n\n var tipId = this.getUID(this.type)\n\n this.setContent()\n $tip.attr('id', tipId)\n this.$element.attr('aria-describedby', tipId)\n\n if (this.options.animation) $tip.addClass('fade')\n\n var placement = typeof this.options.placement == 'function' ?\n this.options.placement.call(this, $tip[0], this.$element[0]) :\n this.options.placement\n\n var autoToken = /\\s?auto?\\s?/i\n var autoPlace = autoToken.test(placement)\n if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n\n $tip\n .detach()\n .css({ top: 0, left: 0, display: 'block' })\n .addClass(placement)\n .data('bs.' + this.type, this)\n\n this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n this.$element.trigger('inserted.bs.' + this.type)\n\n var pos = this.getPosition()\n var actualWidth = $tip[0].offsetWidth\n var actualHeight = $tip[0].offsetHeight\n\n if (autoPlace) {\n var orgPlacement = placement\n var viewportDim = this.getPosition(this.$viewport)\n\n placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :\n placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :\n placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :\n placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :\n placement\n\n $tip\n .removeClass(orgPlacement)\n .addClass(placement)\n }\n\n var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n\n this.applyPlacement(calculatedOffset, placement)\n\n var complete = function () {\n var prevHoverState = that.hoverState\n that.$element.trigger('shown.bs.' + that.type)\n that.hoverState = null\n\n if (prevHoverState == 'out') that.leave(that)\n }\n\n $.support.transition && this.$tip.hasClass('fade') ?\n $tip\n .one('bsTransitionEnd', complete)\n .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n complete()\n }\n }\n\n Tooltip.prototype.applyPlacement = function (offset, placement) {\n var $tip = this.tip()\n var width = $tip[0].offsetWidth\n var height = $tip[0].offsetHeight\n\n // manually read margins because getBoundingClientRect includes difference\n var marginTop = parseInt($tip.css('margin-top'), 10)\n var marginLeft = parseInt($tip.css('margin-left'), 10)\n\n // we must check for NaN for ie 8/9\n if (isNaN(marginTop)) marginTop = 0\n if (isNaN(marginLeft)) marginLeft = 0\n\n offset.top += marginTop\n offset.left += marginLeft\n\n // $.fn.offset doesn't round pixel values\n // so we use setOffset directly with our own function B-0\n $.offset.setOffset($tip[0], $.extend({\n using: function (props) {\n $tip.css({\n top: Math.round(props.top),\n left: Math.round(props.left)\n })\n }\n }, offset), 0)\n\n $tip.addClass('in')\n\n // check to see if placing tip in new offset caused the tip to resize itself\n var actualWidth = $tip[0].offsetWidth\n var actualHeight = $tip[0].offsetHeight\n\n if (placement == 'top' && actualHeight != height) {\n offset.top = offset.top + height - actualHeight\n }\n\n var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)\n\n if (delta.left) offset.left += delta.left\n else offset.top += delta.top\n\n var isVertical = /top|bottom/.test(placement)\n var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight\n var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'\n\n $tip.offset(offset)\n this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)\n }\n\n Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {\n this.arrow()\n .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')\n .css(isVertical ? 'top' : 'left', '')\n }\n\n Tooltip.prototype.setContent = function () {\n var $tip = this.tip()\n var title = this.getTitle()\n\n $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n $tip.removeClass('fade in top bottom left right')\n }\n\n Tooltip.prototype.hide = function (callback) {\n var that = this\n var $tip = $(this.$tip)\n var e = $.Event('hide.bs.' + this.type)\n\n function complete() {\n if (that.hoverState != 'in') $tip.detach()\n if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.\n that.$element\n .removeAttr('aria-describedby')\n .trigger('hidden.bs.' + that.type)\n }\n callback && callback()\n }\n\n this.$element.trigger(e)\n\n if (e.isDefaultPrevented()) return\n\n $tip.removeClass('in')\n\n $.support.transition && $tip.hasClass('fade') ?\n $tip\n .one('bsTransitionEnd', complete)\n .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n complete()\n\n this.hoverState = null\n\n return this\n }\n\n Tooltip.prototype.fixTitle = function () {\n var $e = this.$element\n if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {\n $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n }\n }\n\n Tooltip.prototype.hasContent = function () {\n return this.getTitle()\n }\n\n Tooltip.prototype.getPosition = function ($element) {\n $element = $element || this.$element\n\n var el = $element[0]\n var isBody = el.tagName == 'BODY'\n\n var elRect = el.getBoundingClientRect()\n if (elRect.width == null) {\n // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093\n elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })\n }\n var isSvg = window.SVGElement && el instanceof window.SVGElement\n // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.\n // See https://github.com/twbs/bootstrap/issues/20280\n var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())\n var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }\n var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null\n\n return $.extend({}, elRect, scroll, outerDims, elOffset)\n }\n\n Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\n return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :\n placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :\n placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\n /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }\n\n }\n\n Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {\n var delta = { top: 0, left: 0 }\n if (!this.$viewport) return delta\n\n var viewportPadding = this.options.viewport && this.options.viewport.padding || 0\n var viewportDimensions = this.getPosition(this.$viewport)\n\n if (/right|left/.test(placement)) {\n var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll\n var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight\n if (topEdgeOffset < viewportDimensions.top) { // top overflow\n delta.top = viewportDimensions.top - topEdgeOffset\n } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow\n delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset\n }\n } else {\n var leftEdgeOffset = pos.left - viewportPadding\n var rightEdgeOffset = pos.left + viewportPadding + actualWidth\n if (leftEdgeOffset < viewportDimensions.left) { // left overflow\n delta.left = viewportDimensions.left - leftEdgeOffset\n } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow\n delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset\n }\n }\n\n return delta\n }\n\n Tooltip.prototype.getTitle = function () {\n var title\n var $e = this.$element\n var o = this.options\n\n title = $e.attr('data-original-title')\n || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)\n\n return title\n }\n\n Tooltip.prototype.getUID = function (prefix) {\n do prefix += ~~(Math.random() * 1000000)\n while (document.getElementById(prefix))\n return prefix\n }\n\n Tooltip.prototype.tip = function () {\n if (!this.$tip) {\n this.$tip = $(this.options.template)\n if (this.$tip.length != 1) {\n throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')\n }\n }\n return this.$tip\n }\n\n Tooltip.prototype.arrow = function () {\n return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))\n }\n\n Tooltip.prototype.enable = function () {\n this.enabled = true\n }\n\n Tooltip.prototype.disable = function () {\n this.enabled = false\n }\n\n Tooltip.prototype.toggleEnabled = function () {\n this.enabled = !this.enabled\n }\n\n Tooltip.prototype.toggle = function (e) {\n var self = this\n if (e) {\n self = $(e.currentTarget).data('bs.' + this.type)\n if (!self) {\n self = new this.constructor(e.currentTarget, this.getDelegateOptions())\n $(e.currentTarget).data('bs.' + this.type, self)\n }\n }\n\n if (e) {\n self.inState.click = !self.inState.click\n if (self.isInStateTrue()) self.enter(self)\n else self.leave(self)\n } else {\n self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\n }\n }\n\n Tooltip.prototype.destroy = function () {\n var that = this\n clearTimeout(this.timeout)\n this.hide(function () {\n that.$element.off('.' + that.type).removeData('bs.' + that.type)\n if (that.$tip) {\n that.$tip.detach()\n }\n that.$tip = null\n that.$arrow = null\n that.$viewport = null\n that.$element = null\n })\n }\n\n\n // TOOLTIP PLUGIN DEFINITION\n // =========================\n\n function Plugin(option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.tooltip')\n var options = typeof option == 'object' && option\n\n if (!data && /destroy|hide/.test(option)) return\n if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n var old = $.fn.tooltip\n\n $.fn.tooltip = Plugin\n $.fn.tooltip.Constructor = Tooltip\n\n\n // TOOLTIP NO CONFLICT\n // ===================\n\n $.fn.tooltip.noConflict = function () {\n $.fn.tooltip = old\n return this\n }\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js\n ** module id = 406\n ** module chunks = 0\n **/","/* ========================================================================\n * Bootstrap: transition.js v3.3.7\n * http://getbootstrap.com/javascript/#transitions\n * ========================================================================\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * ======================================================================== */\n\n\n+function ($) {\n 'use strict';\n\n // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n // ============================================================\n\n function transitionEnd() {\n var el = document.createElement('bootstrap')\n\n var transEndEventNames = {\n WebkitTransition : 'webkitTransitionEnd',\n MozTransition : 'transitionend',\n OTransition : 'oTransitionEnd otransitionend',\n transition : 'transitionend'\n }\n\n for (var name in transEndEventNames) {\n if (el.style[name] !== undefined) {\n return { end: transEndEventNames[name] }\n }\n }\n\n return false // explicit for ie8 ( ._.)\n }\n\n // http://blog.alexmaccaw.com/css-transitions\n $.fn.emulateTransitionEnd = function (duration) {\n var called = false\n var $el = this\n $(this).one('bsTransitionEnd', function () { called = true })\n var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n setTimeout(callback, duration)\n return this\n }\n\n $(function () {\n $.support.transition = transitionEnd()\n\n if (!$.support.transition) return\n\n $.event.special.bsTransitionEnd = {\n bindType: $.support.transition.end,\n delegateType: $.support.transition.end,\n handle: function (e) {\n if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)\n }\n }\n })\n\n}(jQuery);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/bootstrap-sass/assets/javascripts/bootstrap/transition.js\n ** module id = 407\n ** module chunks = 0\n **/","require('../../modules/core.regexp.escape');\nmodule.exports = require('../../modules/_core').RegExp.escape;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/fn/regexp/escape.js\n ** module id = 408\n ** module chunks = 0\n **/","var isObject = require('./_is-object')\r\n , isArray = require('./_is-array')\r\n , SPECIES = require('./_wks')('species');\r\n\r\nmodule.exports = function(original){\r\n var C;\r\n if(isArray(original)){\r\n C = original.constructor;\r\n // cross-realm fallback\r\n if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\r\n if(isObject(C)){\r\n C = C[SPECIES];\r\n if(C === null)C = undefined;\r\n }\r\n } return C === undefined ? Array : C;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-species-constructor.js\n ** module id = 409\n ** module chunks = 0\n **/","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function(original, length){\n return new (speciesConstructor(original))(length);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-species-create.js\n ** module id = 410\n ** module chunks = 0\n **/","'use strict';\r\nvar anObject = require('./_an-object')\r\n , toPrimitive = require('./_to-primitive')\r\n , NUMBER = 'number';\r\n\r\nmodule.exports = function(hint){\r\n if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');\r\n return toPrimitive(anObject(this), hint != NUMBER);\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_date-to-primitive.js\n ** module id = 411\n ** module chunks = 0\n **/","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie');\nmodule.exports = function(it){\n var result = getKeys(it)\n , getSymbols = gOPS.f;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = pIE.f\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n } return result;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_enum-keys.js\n ** module id = 412\n ** module chunks = 0\n **/","var getKeys = require('./_object-keys')\n , toIObject = require('./_to-iobject');\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_keyof.js\n ** module id = 413\n ** module chunks = 0\n **/","'use strict';\nvar path = require('./_path')\n , invoke = require('./_invoke')\n , aFunction = require('./_a-function');\nmodule.exports = function(/* ...pargs */){\n var fn = aFunction(this)\n , length = arguments.length\n , pargs = Array(length)\n , i = 0\n , _ = path._\n , holder = false;\n while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;\n return function(/* ...args */){\n var that = this\n , aLen = arguments.length\n , j = 0, k = 0, args;\n if(!holder && !aLen)return invoke(fn, pargs, that);\n args = pargs.slice();\n if(holder)for(;length > j; j++)if(args[j] === _)args[j] = arguments[k++];\n while(aLen > k)args.push(arguments[k++]);\n return invoke(fn, args, that);\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_partial.js\n ** module id = 414\n ** module chunks = 0\n **/","module.exports = require('./_global');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_path.js\n ** module id = 415\n ** module chunks = 0\n **/","module.exports = function(regExp, replace){\n var replacer = replace === Object(replace) ? function(part){\n return replace[part];\n } : replace;\n return function(it){\n return String(it).replace(regExp, replacer);\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_replacer.js\n ** module id = 416\n ** module chunks = 0\n **/","var classof = require('./_classof')\n , ITERATOR = require('./_wks')('iterator')\n , Iterators = require('./_iterators');\nmodule.exports = require('./_core').isIterable = function(it){\n var O = Object(it);\n return O[ITERATOR] !== undefined\n || '@@iterator' in O\n || Iterators.hasOwnProperty(classof(O));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/core.is-iterable.js\n ** module id = 417\n ** module chunks = 0\n **/","// https://github.com/benjamingr/RexExp.escape\nvar $export = require('./_export')\n , $re = require('./_replacer')(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n\n$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/core.regexp.escape.js\n ** module id = 418\n ** module chunks = 0\n **/","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', {copyWithin: require('./_array-copy-within')});\n\nrequire('./_add-to-unscopables')('copyWithin');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.copy-within.js\n ** module id = 419\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $every = require('./_array-methods')(4);\r\n\r\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\r\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\r\n every: function every(callbackfn /* , thisArg */){\r\n return $every(this, callbackfn, arguments[1]);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.every.js\n ** module id = 420\n ** module chunks = 0\n **/","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', {fill: require('./_array-fill')});\n\nrequire('./_add-to-unscopables')('fill');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.fill.js\n ** module id = 421\n ** module chunks = 0\n **/","'use strict';\nvar $export = require('./_export')\n , $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */){\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.filter.js\n ** module id = 422\n ** module chunks = 0\n **/","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export')\n , $find = require('./_array-methods')(6)\n , KEY = 'findIndex'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.find-index.js\n ** module id = 423\n ** module chunks = 0\n **/","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export')\n , $find = require('./_array-methods')(5)\n , KEY = 'find'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.find.js\n ** module id = 424\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $forEach = require('./_array-methods')(0)\r\n , STRICT = require('./_strict-method')([].forEach, true);\r\n\r\n$export($export.P + $export.F * !STRICT, 'Array', {\r\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\r\n forEach: function forEach(callbackfn /* , thisArg */){\r\n return $forEach(this, callbackfn, arguments[1]);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.for-each.js\n ** module id = 425\n ** module chunks = 0\n **/","'use strict';\nvar ctx = require('./_ctx')\n , $export = require('./_export')\n , toObject = require('./_to-object')\n , call = require('./_iter-call')\n , isArrayIter = require('./_is-array-iter')\n , toLength = require('./_to-length')\n , createProperty = require('./_create-property')\n , getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.from.js\n ** module id = 426\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $indexOf = require('./_array-includes')(false)\r\n , $native = [].indexOf\r\n , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\r\n\r\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\r\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\r\n indexOf: function indexOf(searchElement /*, fromIndex = 0 */){\r\n return NEGATIVE_ZERO\r\n // convert -0 to +0\r\n ? $native.apply(this, arguments) || 0\r\n : $indexOf(this, searchElement, arguments[1]);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.index-of.js\n ** module id = 427\n ** module chunks = 0\n **/","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\r\nvar $export = require('./_export');\r\n\r\n$export($export.S, 'Array', {isArray: require('./_is-array')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.is-array.js\n ** module id = 428\n ** module chunks = 0\n **/","'use strict';\r\n// 22.1.3.13 Array.prototype.join(separator)\r\nvar $export = require('./_export')\r\n , toIObject = require('./_to-iobject')\r\n , arrayJoin = [].join;\r\n\r\n// fallback for not array-like strings\r\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\r\n join: function join(separator){\r\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.join.js\n ** module id = 429\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , toIObject = require('./_to-iobject')\r\n , toInteger = require('./_to-integer')\r\n , toLength = require('./_to-length')\r\n , $native = [].lastIndexOf\r\n , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\r\n\r\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\r\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\r\n lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){\r\n // convert -0 to +0\r\n if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;\r\n var O = toIObject(this)\r\n , length = toLength(O.length)\r\n , index = length - 1;\r\n if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));\r\n if(index < 0)index = length + index;\r\n for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;\r\n return -1;\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.last-index-of.js\n ** module id = 430\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $map = require('./_array-methods')(1);\r\n\r\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\r\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\r\n map: function map(callbackfn /* , thisArg */){\r\n return $map(this, callbackfn, arguments[1]);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.map.js\n ** module id = 431\n ** module chunks = 0\n **/","'use strict';\nvar $export = require('./_export')\n , createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function(){\n function F(){}\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */){\n var index = 0\n , aLen = arguments.length\n , result = new (typeof this == 'function' ? this : Array)(aLen);\n while(aLen > index)createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.of.js\n ** module id = 432\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $reduce = require('./_array-reduce');\r\n\r\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\r\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\r\n reduceRight: function reduceRight(callbackfn /* , initialValue */){\r\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.reduce-right.js\n ** module id = 433\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $reduce = require('./_array-reduce');\r\n\r\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\r\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\r\n reduce: function reduce(callbackfn /* , initialValue */){\r\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.reduce.js\n ** module id = 434\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , html = require('./_html')\r\n , cof = require('./_cof')\r\n , toIndex = require('./_to-index')\r\n , toLength = require('./_to-length')\r\n , arraySlice = [].slice;\r\n\r\n// fallback for not array-like ES3 strings and DOM objects\r\n$export($export.P + $export.F * require('./_fails')(function(){\r\n if(html)arraySlice.call(html);\r\n}), 'Array', {\r\n slice: function slice(begin, end){\r\n var len = toLength(this.length)\r\n , klass = cof(this);\r\n end = end === undefined ? len : end;\r\n if(klass == 'Array')return arraySlice.call(this, begin, end);\r\n var start = toIndex(begin, len)\r\n , upTo = toIndex(end, len)\r\n , size = toLength(upTo - start)\r\n , cloned = Array(size)\r\n , i = 0;\r\n for(; i < size; i++)cloned[i] = klass == 'String'\r\n ? this.charAt(start + i)\r\n : this[start + i];\r\n return cloned;\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.slice.js\n ** module id = 435\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $some = require('./_array-methods')(3);\r\n\r\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\r\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\r\n some: function some(callbackfn /* , thisArg */){\r\n return $some(this, callbackfn, arguments[1]);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.some.js\n ** module id = 436\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , aFunction = require('./_a-function')\r\n , toObject = require('./_to-object')\r\n , fails = require('./_fails')\r\n , $sort = [].sort\r\n , test = [1, 2, 3];\r\n\r\n$export($export.P + $export.F * (fails(function(){\r\n // IE8-\r\n test.sort(undefined);\r\n}) || !fails(function(){\r\n // V8 bug\r\n test.sort(null);\r\n // Old WebKit\r\n}) || !require('./_strict-method')($sort)), 'Array', {\r\n // 22.1.3.25 Array.prototype.sort(comparefn)\r\n sort: function sort(comparefn){\r\n return comparefn === undefined\r\n ? $sort.call(toObject(this))\r\n : $sort.call(toObject(this), aFunction(comparefn));\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.sort.js\n ** module id = 437\n ** module chunks = 0\n **/","require('./_set-species')('Array');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.species.js\n ** module id = 438\n ** module chunks = 0\n **/","// 20.3.3.1 / 15.9.4.4 Date.now()\r\nvar $export = require('./_export');\r\n\r\n$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.date.now.js\n ** module id = 439\n ** module chunks = 0\n **/","'use strict';\r\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\r\nvar $export = require('./_export')\r\n , fails = require('./_fails')\r\n , getTime = Date.prototype.getTime;\r\n\r\nvar lz = function(num){\r\n return num > 9 ? num : '0' + num;\r\n};\r\n\r\n// PhantomJS / old WebKit has a broken implementations\r\n$export($export.P + $export.F * (fails(function(){\r\n return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\r\n}) || !fails(function(){\r\n new Date(NaN).toISOString();\r\n})), 'Date', {\r\n toISOString: function toISOString(){\r\n if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');\r\n var d = this\r\n , y = d.getUTCFullYear()\r\n , m = d.getUTCMilliseconds()\r\n , s = y < 0 ? '-' : y > 9999 ? '+' : '';\r\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\r\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\r\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\r\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.date.to-iso-string.js\n ** module id = 440\n ** module chunks = 0\n **/","'use strict';\nvar $export = require('./_export')\n , toObject = require('./_to-object')\n , toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function(){\n return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;\n}), 'Date', {\n toJSON: function toJSON(key){\n var O = toObject(this)\n , pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.date.to-json.js\n ** module id = 441\n ** module chunks = 0\n **/","var TO_PRIMITIVE = require('./_wks')('toPrimitive')\r\n , proto = Date.prototype;\r\n\r\nif(!(TO_PRIMITIVE in proto))require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.date.to-primitive.js\n ** module id = 442\n ** module chunks = 0\n **/","var DateProto = Date.prototype\n , INVALID_DATE = 'Invalid Date'\n , TO_STRING = 'toString'\n , $toString = DateProto[TO_STRING]\n , getTime = DateProto.getTime;\nif(new Date(NaN) + '' != INVALID_DATE){\n require('./_redefine')(DateProto, TO_STRING, function toString(){\n var value = getTime.call(this);\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.date.to-string.js\n ** module id = 443\n ** module chunks = 0\n **/","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\r\nvar $export = require('./_export');\r\n\r\n$export($export.P, 'Function', {bind: require('./_bind')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.function.bind.js\n ** module id = 444\n ** module chunks = 0\n **/","'use strict';\nvar isObject = require('./_is-object')\n , getPrototypeOf = require('./_object-gpo')\n , HAS_INSTANCE = require('./_wks')('hasInstance')\n , FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif(!(HAS_INSTANCE in FunctionProto))require('./_object-dp').f(FunctionProto, HAS_INSTANCE, {value: function(O){\n if(typeof this != 'function' || !isObject(O))return false;\n if(!isObject(this.prototype))return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while(O = getPrototypeOf(O))if(this.prototype === O)return true;\n return false;\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.function.has-instance.js\n ** module id = 445\n ** module chunks = 0\n **/","var dP = require('./_object-dp').f\n , createDesc = require('./_property-desc')\n , has = require('./_has')\n , FProto = Function.prototype\n , nameRE = /^\\s*function ([^ (]*)/\n , NAME = 'name';\n\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function(){\n try {\n var that = this\n , name = ('' + that).match(nameRE)[1];\n has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));\n return name;\n } catch(e){\n return '';\n }\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.function.name.js\n ** module id = 446\n ** module chunks = 0\n **/","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export')\n , log1p = require('./_math-log1p')\n , sqrt = Math.sqrt\n , $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN \n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x){\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.acosh.js\n ** module id = 447\n ** module chunks = 0\n **/","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export')\n , $asinh = Math.asinh;\n\nfunction asinh(x){\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0 \n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.asinh.js\n ** module id = 448\n ** module chunks = 0\n **/","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export')\n , $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0 \n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x){\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.atanh.js\n ** module id = 449\n ** module chunks = 0\n **/","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export')\n , sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x){\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.cbrt.js\n ** module id = 450\n ** module chunks = 0\n **/","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x){\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.clz32.js\n ** module id = 451\n ** module chunks = 0\n **/","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export')\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x){\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.cosh.js\n ** module id = 452\n ** module chunks = 0\n **/","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export')\n , $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.expm1.js\n ** module id = 453\n ** module chunks = 0\n **/","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export')\n , sign = require('./_math-sign')\n , pow = Math.pow\n , EPSILON = pow(2, -52)\n , EPSILON32 = pow(2, -23)\n , MAX32 = pow(2, 127) * (2 - EPSILON32)\n , MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function(n){\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n\n$export($export.S, 'Math', {\n fround: function fround(x){\n var $abs = Math.abs(x)\n , $sign = sign(x)\n , a, result;\n if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n if(result > MAX32 || result != result)return $sign * Infinity;\n return $sign * result;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.fround.js\n ** module id = 454\n ** module chunks = 0\n **/","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export')\n , abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n var sum = 0\n , i = 0\n , aLen = arguments.length\n , larg = 0\n , arg, div;\n while(i < aLen){\n arg = abs(arguments[i++]);\n if(larg < arg){\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if(arg > 0){\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.hypot.js\n ** module id = 455\n ** module chunks = 0\n **/","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export')\n , $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function(){\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y){\n var UINT16 = 0xffff\n , xn = +x\n , yn = +y\n , xl = UINT16 & xn\n , yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.imul.js\n ** module id = 456\n ** module chunks = 0\n **/","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x){\n return Math.log(x) / Math.LN10;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.log10.js\n ** module id = 457\n ** module chunks = 0\n **/","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {log1p: require('./_math-log1p')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.log1p.js\n ** module id = 458\n ** module chunks = 0\n **/","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x){\n return Math.log(x) / Math.LN2;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.log2.js\n ** module id = 459\n ** module chunks = 0\n **/","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {sign: require('./_math-sign')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.sign.js\n ** module id = 460\n ** module chunks = 0\n **/","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export')\n , expm1 = require('./_math-expm1')\n , exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function(){\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x){\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.sinh.js\n ** module id = 461\n ** module chunks = 0\n **/","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export')\n , expm1 = require('./_math-expm1')\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x){\n var a = expm1(x = +x)\n , b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.tanh.js\n ** module id = 462\n ** module chunks = 0\n **/","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it){\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.math.trunc.js\n ** module id = 463\n ** module chunks = 0\n **/","'use strict';\nvar global = require('./_global')\n , has = require('./_has')\n , cof = require('./_cof')\n , inheritIfRequired = require('./_inherit-if-required')\n , toPrimitive = require('./_to-primitive')\n , fails = require('./_fails')\n , gOPN = require('./_object-gopn').f\n , gOPD = require('./_object-gopd').f\n , dP = require('./_object-dp').f\n , $trim = require('./_string-trim').trim\n , NUMBER = 'Number'\n , $Number = global[NUMBER]\n , Base = $Number\n , proto = $Number.prototype\n // Opera ~12 has broken Object#toString\n , BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER\n , TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function(argument){\n var it = toPrimitive(argument, false);\n if(typeof it == 'string' && it.length > 2){\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0)\n , third, radix, maxCode;\n if(first === 43 || first === 45){\n third = it.charCodeAt(2);\n if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if(first === 48){\n switch(it.charCodeAt(1)){\n case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default : return +it;\n }\n for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if(code < 48 || code > maxCode)return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n $Number = function Number(value){\n var it = arguments.length < 1 ? 0 : value\n , that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for(var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++){\n if(has(Base, key = keys[j]) && !has($Number, key)){\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.constructor.js\n ** module id = 464\n ** module chunks = 0\n **/","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.epsilon.js\n ** module id = 465\n ** module chunks = 0\n **/","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export')\n , _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it){\n return typeof it == 'number' && _isFinite(it);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.is-finite.js\n ** module id = 466\n ** module chunks = 0\n **/","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {isInteger: require('./_is-integer')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.is-integer.js\n ** module id = 467\n ** module chunks = 0\n **/","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number){\n return number != number;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.is-nan.js\n ** module id = 468\n ** module chunks = 0\n **/","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export')\n , isInteger = require('./_is-integer')\n , abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number){\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.is-safe-integer.js\n ** module id = 469\n ** module chunks = 0\n **/","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.max-safe-integer.js\n ** module id = 470\n ** module chunks = 0\n **/","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.min-safe-integer.js\n ** module id = 471\n ** module chunks = 0\n **/","var $export = require('./_export')\n , $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.parse-float.js\n ** module id = 472\n ** module chunks = 0\n **/","var $export = require('./_export')\n , $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.parse-int.js\n ** module id = 473\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , anInstance = require('./_an-instance')\r\n , toInteger = require('./_to-integer')\r\n , aNumberValue = require('./_a-number-value')\r\n , repeat = require('./_string-repeat')\r\n , $toFixed = 1..toFixed\r\n , floor = Math.floor\r\n , data = [0, 0, 0, 0, 0, 0]\r\n , ERROR = 'Number.toFixed: incorrect invocation!'\r\n , ZERO = '0';\r\n\r\nvar multiply = function(n, c){\r\n var i = -1\r\n , c2 = c;\r\n while(++i < 6){\r\n c2 += n * data[i];\r\n data[i] = c2 % 1e7;\r\n c2 = floor(c2 / 1e7);\r\n }\r\n};\r\nvar divide = function(n){\r\n var i = 6\r\n , c = 0;\r\n while(--i >= 0){\r\n c += data[i];\r\n data[i] = floor(c / n);\r\n c = (c % n) * 1e7;\r\n }\r\n};\r\nvar numToString = function(){\r\n var i = 6\r\n , s = '';\r\n while(--i >= 0){\r\n if(s !== '' || i === 0 || data[i] !== 0){\r\n var t = String(data[i]);\r\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\r\n }\r\n } return s;\r\n};\r\nvar pow = function(x, n, acc){\r\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\r\n};\r\nvar log = function(x){\r\n var n = 0\r\n , x2 = x;\r\n while(x2 >= 4096){\r\n n += 12;\r\n x2 /= 4096;\r\n }\r\n while(x2 >= 2){\r\n n += 1;\r\n x2 /= 2;\r\n } return n;\r\n};\r\n\r\n$export($export.P + $export.F * (!!$toFixed && (\r\n 0.00008.toFixed(3) !== '0.000' ||\r\n 0.9.toFixed(0) !== '1' ||\r\n 1.255.toFixed(2) !== '1.25' ||\r\n 1000000000000000128..toFixed(0) !== '1000000000000000128'\r\n) || !require('./_fails')(function(){\r\n // V8 ~ Android 4.3-\r\n $toFixed.call({});\r\n})), 'Number', {\r\n toFixed: function toFixed(fractionDigits){\r\n var x = aNumberValue(this, ERROR)\r\n , f = toInteger(fractionDigits)\r\n , s = ''\r\n , m = ZERO\r\n , e, z, j, k;\r\n if(f < 0 || f > 20)throw RangeError(ERROR);\r\n if(x != x)return 'NaN';\r\n if(x <= -1e21 || x >= 1e21)return String(x);\r\n if(x < 0){\r\n s = '-';\r\n x = -x;\r\n }\r\n if(x > 1e-21){\r\n e = log(x * pow(2, 69, 1)) - 69;\r\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\r\n z *= 0x10000000000000;\r\n e = 52 - e;\r\n if(e > 0){\r\n multiply(0, z);\r\n j = f;\r\n while(j >= 7){\r\n multiply(1e7, 0);\r\n j -= 7;\r\n }\r\n multiply(pow(10, j, 1), 0);\r\n j = e - 1;\r\n while(j >= 23){\r\n divide(1 << 23);\r\n j -= 23;\r\n }\r\n divide(1 << j);\r\n multiply(1, 1);\r\n divide(2);\r\n m = numToString();\r\n } else {\r\n multiply(0, z);\r\n multiply(1 << -e, 0);\r\n m = numToString() + repeat.call(ZERO, f);\r\n }\r\n }\r\n if(f > 0){\r\n k = m.length;\r\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\r\n } else {\r\n m = s + m;\r\n } return m;\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.to-fixed.js\n ** module id = 474\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , $fails = require('./_fails')\r\n , aNumberValue = require('./_a-number-value')\r\n , $toPrecision = 1..toPrecision;\r\n\r\n$export($export.P + $export.F * ($fails(function(){\r\n // IE7-\r\n return $toPrecision.call(1, undefined) !== '1';\r\n}) || !$fails(function(){\r\n // V8 ~ Android 4.3-\r\n $toPrecision.call({});\r\n})), 'Number', {\r\n toPrecision: function toPrecision(precision){\r\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\r\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); \r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.number.to-precision.js\n ** module id = 475\n ** module chunks = 0\n **/","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', {assign: require('./_object-assign')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.assign.js\n ** module id = 476\n ** module chunks = 0\n **/","var $export = require('./_export')\r\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\r\n$export($export.S, 'Object', {create: require('./_object-create')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.create.js\n ** module id = 477\n ** module chunks = 0\n **/","var $export = require('./_export');\r\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\r\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperties: require('./_object-dps')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.define-properties.js\n ** module id = 478\n ** module chunks = 0\n **/","var $export = require('./_export');\r\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\r\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperty: require('./_object-dp').f});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.define-property.js\n ** module id = 479\n ** module chunks = 0\n **/","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function($freeze){\n return function freeze(it){\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.freeze.js\n ** module id = 480\n ** module chunks = 0\n **/","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject')\n , $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function(){\n return function getOwnPropertyDescriptor(it, key){\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.get-own-property-descriptor.js\n ** module id = 481\n ** module chunks = 0\n **/","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function(){\n return require('./_object-gopn-ext').f;\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.get-own-property-names.js\n ** module id = 482\n ** module chunks = 0\n **/","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object')\n , $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function(){\n return function getPrototypeOf(it){\n return $getPrototypeOf(toObject(it));\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.get-prototype-of.js\n ** module id = 483\n ** module chunks = 0\n **/","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function($isExtensible){\n return function isExtensible(it){\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.is-extensible.js\n ** module id = 484\n ** module chunks = 0\n **/","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function($isFrozen){\n return function isFrozen(it){\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.is-frozen.js\n ** module id = 485\n ** module chunks = 0\n **/","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function($isSealed){\n return function isSealed(it){\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.is-sealed.js\n ** module id = 486\n ** module chunks = 0\n **/","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', {is: require('./_same-value')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.is.js\n ** module id = 487\n ** module chunks = 0\n **/","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object')\n , $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function(){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.keys.js\n ** module id = 488\n ** module chunks = 0\n **/","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function($preventExtensions){\n return function preventExtensions(it){\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.prevent-extensions.js\n ** module id = 489\n ** module chunks = 0\n **/","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function($seal){\n return function seal(it){\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.seal.js\n ** module id = 490\n ** module chunks = 0\n **/","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', {setPrototypeOf: require('./_set-proto').set});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.set-prototype-of.js\n ** module id = 491\n ** module chunks = 0\n **/","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof')\n , test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif(test + '' != '[object z]'){\n require('./_redefine')(Object.prototype, 'toString', function toString(){\n return '[object ' + classof(this) + ']';\n }, true);\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.object.to-string.js\n ** module id = 492\n ** module chunks = 0\n **/","var $export = require('./_export')\r\n , $parseFloat = require('./_parse-float');\r\n// 18.2.4 parseFloat(string)\r\n$export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.parse-float.js\n ** module id = 493\n ** module chunks = 0\n **/","var $export = require('./_export')\r\n , $parseInt = require('./_parse-int');\r\n// 18.2.5 parseInt(string, radix)\r\n$export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.parse-int.js\n ** module id = 494\n ** module chunks = 0\n **/","'use strict';\nvar LIBRARY = require('./_library')\n , global = require('./_global')\n , ctx = require('./_ctx')\n , classof = require('./_classof')\n , $export = require('./_export')\n , isObject = require('./_is-object')\n , anObject = require('./_an-object')\n , aFunction = require('./_a-function')\n , anInstance = require('./_an-instance')\n , forOf = require('./_for-of')\n , setProto = require('./_set-proto').set\n , speciesConstructor = require('./_species-constructor')\n , task = require('./_task').set\n , microtask = require('./_microtask')()\n , PROMISE = 'Promise'\n , TypeError = global.TypeError\n , process = global.process\n , $Promise = global[PROMISE]\n , process = global.process\n , isNode = classof(process) == 'process'\n , empty = function(){ /* empty */ }\n , Internal, GenericPromiseCapability, Wrapper;\n\nvar USE_NATIVE = !!function(){\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1)\n , FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function(exec){ exec(empty, empty); };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;\n } catch(e){ /* empty */ }\n}();\n\n// helpers\nvar sameConstructor = function(a, b){\n // with library wrapper special case\n return a === b || a === $Promise && b === Wrapper;\n};\nvar isThenable = function(it){\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar newPromiseCapability = function(C){\n return sameConstructor($Promise, C)\n ? new PromiseCapability(C)\n : new GenericPromiseCapability(C);\n};\nvar PromiseCapability = GenericPromiseCapability = function(C){\n var resolve, reject;\n this.promise = new C(function($$resolve, $$reject){\n if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n};\nvar perform = function(exec){\n try {\n exec();\n } catch(e){\n return {error: e};\n }\n};\nvar notify = function(promise, isReject){\n if(promise._n)return;\n promise._n = true;\n var chain = promise._c;\n microtask(function(){\n var value = promise._v\n , ok = promise._s == 1\n , i = 0;\n var run = function(reaction){\n var handler = ok ? reaction.ok : reaction.fail\n , resolve = reaction.resolve\n , reject = reaction.reject\n , domain = reaction.domain\n , result, then;\n try {\n if(handler){\n if(!ok){\n if(promise._h == 2)onHandleUnhandled(promise);\n promise._h = 1;\n }\n if(handler === true)result = value;\n else {\n if(domain)domain.enter();\n result = handler(value);\n if(domain)domain.exit();\n }\n if(result === reaction.promise){\n reject(TypeError('Promise-chain cycle'));\n } else if(then = isThenable(result)){\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch(e){\n reject(e);\n }\n };\n while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if(isReject && !promise._h)onUnhandled(promise);\n });\n};\nvar onUnhandled = function(promise){\n task.call(global, function(){\n var value = promise._v\n , abrupt, handler, console;\n if(isUnhandled(promise)){\n abrupt = perform(function(){\n if(isNode){\n process.emit('unhandledRejection', value, promise);\n } else if(handler = global.onunhandledrejection){\n handler({promise: promise, reason: value});\n } else if((console = global.console) && console.error){\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if(abrupt)throw abrupt.error;\n });\n};\nvar isUnhandled = function(promise){\n if(promise._h == 1)return false;\n var chain = promise._a || promise._c\n , i = 0\n , reaction;\n while(chain.length > i){\n reaction = chain[i++];\n if(reaction.fail || !isUnhandled(reaction.promise))return false;\n } return true;\n};\nvar onHandleUnhandled = function(promise){\n task.call(global, function(){\n var handler;\n if(isNode){\n process.emit('rejectionHandled', promise);\n } else if(handler = global.onrejectionhandled){\n handler({promise: promise, reason: promise._v});\n }\n });\n};\nvar $reject = function(value){\n var promise = this;\n if(promise._d)return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if(!promise._a)promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function(value){\n var promise = this\n , then;\n if(promise._d)return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if(promise === value)throw TypeError(\"Promise can't be resolved itself\");\n if(then = isThenable(value)){\n microtask(function(){\n var wrapper = {_w: promise, _d: false}; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch(e){\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch(e){\n $reject.call({_w: promise, _d: false}, e); // wrap\n }\n};\n\n// constructor polyfill\nif(!USE_NATIVE){\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor){\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch(err){\n $reject.call(this, err);\n }\n };\n Internal = function Promise(executor){\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected){\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if(this._a)this._a.push(reaction);\n if(this._s)notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function(onRejected){\n return this.then(undefined, onRejected);\n }\n });\n PromiseCapability = function(){\n var promise = new Internal;\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r){\n var capability = newPromiseCapability(this)\n , $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x){\n // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;\n var capability = newPromiseCapability(this)\n , $$resolve = capability.resolve;\n $$resolve(x);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function(iter){\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable){\n var C = this\n , capability = newPromiseCapability(C)\n , resolve = capability.resolve\n , reject = capability.reject;\n var abrupt = perform(function(){\n var values = []\n , index = 0\n , remaining = 1;\n forOf(iterable, false, function(promise){\n var $index = index++\n , alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function(value){\n if(alreadyCalled)return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable){\n var C = this\n , capability = newPromiseCapability(C)\n , reject = capability.reject;\n var abrupt = perform(function(){\n forOf(iterable, false, function(promise){\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.promise.js\n ** module id = 495\n ** module chunks = 0\n **/","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export')\n , aFunction = require('./_a-function')\n , anObject = require('./_an-object')\n , _apply = Function.apply;\n\n$export($export.S, 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList){\n return _apply.call(aFunction(target), thisArgument, anObject(argumentsList));\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.apply.js\n ** module id = 496\n ** module chunks = 0\n **/","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export')\n , create = require('./_object-create')\n , aFunction = require('./_a-function')\n , anObject = require('./_an-object')\n , isObject = require('./_is-object')\n , bind = require('./_bind');\n\n// MS Edge supports only 2 arguments\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n$export($export.S + $export.F * require('./_fails')(function(){\n function F(){}\n return !(Reflect.construct(function(){}, [], F) instanceof F);\n}), 'Reflect', {\n construct: function construct(Target, args /*, newTarget*/){\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if(Target == newTarget){\n // w/o altered newTarget, optimization for 0-4 arguments\n switch(args.length){\n case 0: return new Target;\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args));\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype\n , instance = create(isObject(proto) ? proto : Object.prototype)\n , result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.construct.js\n ** module id = 497\n ** module chunks = 0\n **/","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp')\n , $export = require('./_export')\n , anObject = require('./_an-object')\n , toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function(){\n Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes){\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.define-property.js\n ** module id = 498\n ** module chunks = 0\n **/","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export')\n , gOPD = require('./_object-gopd').f\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey){\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.delete-property.js\n ** module id = 499\n ** module chunks = 0\n **/","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object');\nvar Enumerate = function(iterated){\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = [] // keys\n , key;\n for(key in iterated)keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function(){\n var that = this\n , keys = that._k\n , key;\n do {\n if(that._i >= keys.length)return {value: undefined, done: true};\n } while(!((key = keys[that._i++]) in that._t));\n return {value: key, done: false};\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target){\n return new Enumerate(target);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.enumerate.js\n ** module id = 500\n ** module chunks = 0\n **/","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd')\n , $export = require('./_export')\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.get-own-property-descriptor.js\n ** module id = 501\n ** module chunks = 0\n **/","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export')\n , getProto = require('./_object-gpo')\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target){\n return getProto(anObject(target));\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.get-prototype-of.js\n ** module id = 502\n ** module chunks = 0\n **/","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd')\n , getPrototypeOf = require('./_object-gpo')\n , has = require('./_has')\n , $export = require('./_export')\n , isObject = require('./_is-object')\n , anObject = require('./_an-object');\n\nfunction get(target, propertyKey/*, receiver*/){\n var receiver = arguments.length < 3 ? target : arguments[2]\n , desc, proto;\n if(anObject(target) === receiver)return target[propertyKey];\n if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', {get: get});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.get.js\n ** module id = 503\n ** module chunks = 0\n **/","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey){\n return propertyKey in target;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.has.js\n ** module id = 504\n ** module chunks = 0\n **/","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object')\n , $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target){\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.is-extensible.js\n ** module id = 505\n ** module chunks = 0\n **/","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {ownKeys: require('./_own-keys')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.own-keys.js\n ** module id = 506\n ** module chunks = 0\n **/","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object')\n , $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target){\n anObject(target);\n try {\n if($preventExtensions)$preventExtensions(target);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.prevent-extensions.js\n ** module id = 507\n ** module chunks = 0\n **/","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export')\n , setProto = require('./_set-proto');\n\nif(setProto)$export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto){\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.set-prototype-of.js\n ** module id = 508\n ** module chunks = 0\n **/","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp')\n , gOPD = require('./_object-gopd')\n , getPrototypeOf = require('./_object-gpo')\n , has = require('./_has')\n , $export = require('./_export')\n , createDesc = require('./_property-desc')\n , anObject = require('./_an-object')\n , isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V/*, receiver*/){\n var receiver = arguments.length < 4 ? target : arguments[3]\n , ownDesc = gOPD.f(anObject(target), propertyKey)\n , existingDescriptor, proto;\n if(!ownDesc){\n if(isObject(proto = getPrototypeOf(target))){\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if(has(ownDesc, 'value')){\n if(ownDesc.writable === false || !isObject(receiver))return false;\n existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', {set: set});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.reflect.set.js\n ** module id = 509\n ** module chunks = 0\n **/","var global = require('./_global')\n , inheritIfRequired = require('./_inherit-if-required')\n , dP = require('./_object-dp').f\n , gOPN = require('./_object-gopn').f\n , isRegExp = require('./_is-regexp')\n , $flags = require('./_flags')\n , $RegExp = global.RegExp\n , Base = $RegExp\n , proto = $RegExp.prototype\n , re1 = /a/g\n , re2 = /a/g\n // \"new\" creates a new object, old webkit buggy here\n , CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif(require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function(){\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))){\n $RegExp = function RegExp(p, f){\n var tiRE = this instanceof $RegExp\n , piRE = isRegExp(p)\n , fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function(key){\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function(){ return Base[key]; },\n set: function(it){ Base[key] = it; }\n });\n };\n for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.constructor.js\n ** module id = 510\n ** module chunks = 0\n **/","// @@match logic\nrequire('./_fix-re-wks')('match', 1, function(defined, MATCH, $match){\n // 21.1.3.11 String.prototype.match(regexp)\n return [function match(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n }, $match];\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.match.js\n ** module id = 511\n ** module chunks = 0\n **/","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function(defined, REPLACE, $replace){\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue){\n 'use strict';\n var O = defined(this)\n , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.replace.js\n ** module id = 512\n ** module chunks = 0\n **/","// @@search logic\nrequire('./_fix-re-wks')('search', 1, function(defined, SEARCH, $search){\n // 21.1.3.15 String.prototype.search(regexp)\n return [function search(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n }, $search];\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.search.js\n ** module id = 513\n ** module chunks = 0\n **/","// @@split logic\nrequire('./_fix-re-wks')('split', 2, function(defined, SPLIT, $split){\n 'use strict';\n var isRegExp = require('./_is-regexp')\n , _split = $split\n , $push = [].push\n , $SPLIT = 'split'\n , LENGTH = 'length'\n , LAST_INDEX = 'lastIndex';\n if(\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ){\n var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n // based on es5-shim implementation, need to rework it\n $split = function(separator, limit){\n var string = String(this);\n if(separator === undefined && limit === 0)return [];\n // If `separator` is not a regex, use native split\n if(!isRegExp(separator))return _split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var separator2, match, lastIndex, lastLength, i;\n // Doesn't need flags gy, but they don't hurt\n if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n while(match = separatorCopy.exec(string)){\n // `separatorCopy.lastIndex` is not reliable cross-browser\n lastIndex = match.index + match[0][LENGTH];\n if(lastIndex > lastLastIndex){\n output.push(string.slice(lastLastIndex, match.index));\n // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){\n for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;\n });\n if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if(output[LENGTH] >= splitLimit)break;\n }\n if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if(lastLastIndex === string[LENGTH]){\n if(lastLength || !separatorCopy.test(''))output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if('0'[$SPLIT](undefined, 0)[LENGTH]){\n $split = function(separator, limit){\n return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n };\n }\n // 21.1.3.17 String.prototype.split(separator, limit)\n return [function split(separator, limit){\n var O = defined(this)\n , fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n }, $split];\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.split.js\n ** module id = 514\n ** module chunks = 0\n **/","'use strict';\r\nrequire('./es6.regexp.flags');\r\nvar anObject = require('./_an-object')\r\n , $flags = require('./_flags')\r\n , DESCRIPTORS = require('./_descriptors')\r\n , TO_STRING = 'toString'\r\n , $toString = /./[TO_STRING];\r\n\r\nvar define = function(fn){\r\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\r\n};\r\n\r\n// 21.2.5.14 RegExp.prototype.toString()\r\nif(require('./_fails')(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){\r\n define(function toString(){\r\n var R = anObject(this);\r\n return '/'.concat(R.source, '/',\r\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\r\n });\r\n// FF44- RegExp#toString has a wrong name\r\n} else if($toString.name != TO_STRING){\r\n define(function toString(){\r\n return $toString.call(this);\r\n });\r\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.to-string.js\n ** module id = 515\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function(createHTML){\n return function anchor(name){\n return createHTML(this, 'a', 'name', name);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.anchor.js\n ** module id = 516\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function(createHTML){\n return function big(){\n return createHTML(this, 'big', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.big.js\n ** module id = 517\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function(createHTML){\n return function blink(){\n return createHTML(this, 'blink', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.blink.js\n ** module id = 518\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function(createHTML){\n return function bold(){\n return createHTML(this, 'b', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.bold.js\n ** module id = 519\n ** module chunks = 0\n **/","'use strict';\nvar $export = require('./_export')\n , $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos){\n return $at(this, pos);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.code-point-at.js\n ** module id = 520\n ** module chunks = 0\n **/","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export')\n , toLength = require('./_to-length')\n , context = require('./_string-context')\n , ENDS_WITH = 'endsWith'\n , $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /*, endPosition = @length */){\n var that = context(this, searchString, ENDS_WITH)\n , endPosition = arguments.length > 1 ? arguments[1] : undefined\n , len = toLength(that.length)\n , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n , search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.ends-with.js\n ** module id = 521\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function(createHTML){\n return function fixed(){\n return createHTML(this, 'tt', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.fixed.js\n ** module id = 522\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function(createHTML){\n return function fontcolor(color){\n return createHTML(this, 'font', 'color', color);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.fontcolor.js\n ** module id = 523\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function(createHTML){\n return function fontsize(size){\n return createHTML(this, 'font', 'size', size);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.fontsize.js\n ** module id = 524\n ** module chunks = 0\n **/","var $export = require('./_export')\n , toIndex = require('./_to-index')\n , fromCharCode = String.fromCharCode\n , $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n var res = []\n , aLen = arguments.length\n , i = 0\n , code;\n while(aLen > i){\n code = +arguments[i++];\n if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.from-code-point.js\n ** module id = 525\n ** module chunks = 0\n **/","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export')\n , context = require('./_string-context')\n , INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /*, position = 0 */){\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.includes.js\n ** module id = 526\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function(createHTML){\n return function italics(){\n return createHTML(this, 'i', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.italics.js\n ** module id = 527\n ** module chunks = 0\n **/","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.iterator.js\n ** module id = 528\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function(createHTML){\n return function link(url){\n return createHTML(this, 'a', 'href', url);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.link.js\n ** module id = 529\n ** module chunks = 0\n **/","var $export = require('./_export')\n , toIObject = require('./_to-iobject')\n , toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite){\n var tpl = toIObject(callSite.raw)\n , len = toLength(tpl.length)\n , aLen = arguments.length\n , res = []\n , i = 0;\n while(len > i){\n res.push(String(tpl[i++]));\n if(i < aLen)res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.raw.js\n ** module id = 530\n ** module chunks = 0\n **/","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.repeat.js\n ** module id = 531\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function(createHTML){\n return function small(){\n return createHTML(this, 'small', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.small.js\n ** module id = 532\n ** module chunks = 0\n **/","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export')\n , toLength = require('./_to-length')\n , context = require('./_string-context')\n , STARTS_WITH = 'startsWith'\n , $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /*, position = 0 */){\n var that = context(this, searchString, STARTS_WITH)\n , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))\n , search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.starts-with.js\n ** module id = 533\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function(createHTML){\n return function strike(){\n return createHTML(this, 'strike', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.strike.js\n ** module id = 534\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function(createHTML){\n return function sub(){\n return createHTML(this, 'sub', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.sub.js\n ** module id = 535\n ** module chunks = 0\n **/","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function(createHTML){\n return function sup(){\n return createHTML(this, 'sup', '', '');\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.sup.js\n ** module id = 536\n ** module chunks = 0\n **/","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function($trim){\n return function trim(){\n return $trim(this, 3);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.string.trim.js\n ** module id = 537\n ** module chunks = 0\n **/","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global')\n , has = require('./_has')\n , DESCRIPTORS = require('./_descriptors')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , META = require('./_meta').KEY\n , $fails = require('./_fails')\n , shared = require('./_shared')\n , setToStringTag = require('./_set-to-string-tag')\n , uid = require('./_uid')\n , wks = require('./_wks')\n , wksExt = require('./_wks-ext')\n , wksDefine = require('./_wks-define')\n , keyOf = require('./_keyof')\n , enumKeys = require('./_enum-keys')\n , isArray = require('./_is-array')\n , anObject = require('./_an-object')\n , toIObject = require('./_to-iobject')\n , toPrimitive = require('./_to-primitive')\n , createDesc = require('./_property-desc')\n , _create = require('./_object-create')\n , gOPNExt = require('./_object-gopn-ext')\n , $GOPD = require('./_object-gopd')\n , $DP = require('./_object-dp')\n , $keys = require('./_object-keys')\n , gOPD = $GOPD.f\n , dP = $DP.f\n , gOPN = gOPNExt.f\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , PROTOTYPE = 'prototype'\n , HIDDEN = wks('_hidden')\n , TO_PRIMITIVE = wks('toPrimitive')\n , isEnum = {}.propertyIsEnumerable\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , OPSymbols = shared('op-symbols')\n , ObjectProto = Object[PROTOTYPE]\n , USE_NATIVE = typeof $Symbol == 'function'\n , QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(dP({}, 'a', {\n get: function(){ return dP(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = gOPD(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n dP(it, key, D);\n if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n return typeof it == 'symbol';\n} : function(it){\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if(has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n it = toIObject(it);\n key = toPrimitive(key, true);\n if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n var D = gOPD(it, key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = gOPN(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var IS_OP = it === ObjectProto\n , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif(!USE_NATIVE){\n $Symbol = function Symbol(){\n if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function(value){\n if(this === ObjectProto)$set.call(OPSymbols, value);\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n require('./_object-gops').f = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !require('./_library')){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function(name){\n return wrap(wks(name));\n }\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\nfor(var symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\nfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n if(isSymbol(key))return keyOf(SymbolRegistry, key);\n throw TypeError(key + ' is not a symbol!');\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , replacer, $replacer;\n while(arguments.length > i)args.push(arguments[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.symbol.js\n ** module id = 538\n ** module chunks = 0\n **/","'use strict';\nvar $export = require('./_export')\n , $typed = require('./_typed')\n , buffer = require('./_typed-buffer')\n , anObject = require('./_an-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length')\n , isObject = require('./_is-object')\n , TYPED_ARRAY = require('./_wks')('typed_array')\n , ArrayBuffer = require('./_global').ArrayBuffer\n , speciesConstructor = require('./_species-constructor')\n , $ArrayBuffer = buffer.ArrayBuffer\n , $DataView = buffer.DataView\n , $isView = $typed.ABV && ArrayBuffer.isView\n , $slice = $ArrayBuffer.prototype.slice\n , VIEW = $typed.VIEW\n , ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it){\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function(){\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end){\n if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength\n , first = toIndex(start, len)\n , final = toIndex(end === undefined ? len : end, len)\n , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))\n , viewS = new $DataView(this)\n , viewT = new $DataView(result)\n , index = 0;\n while(first < final){\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.array-buffer.js\n ** module id = 539\n ** module chunks = 0\n **/","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.data-view.js\n ** module id = 540\n ** module chunks = 0\n **/","require('./_typed-array')('Float32', 4, function(init){\n return function Float32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.float32-array.js\n ** module id = 541\n ** module chunks = 0\n **/","require('./_typed-array')('Float64', 8, function(init){\n return function Float64Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.float64-array.js\n ** module id = 542\n ** module chunks = 0\n **/","require('./_typed-array')('Int16', 2, function(init){\n return function Int16Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.int16-array.js\n ** module id = 543\n ** module chunks = 0\n **/","require('./_typed-array')('Int32', 4, function(init){\n return function Int32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.int32-array.js\n ** module id = 544\n ** module chunks = 0\n **/","require('./_typed-array')('Int8', 1, function(init){\n return function Int8Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.int8-array.js\n ** module id = 545\n ** module chunks = 0\n **/","require('./_typed-array')('Uint16', 2, function(init){\n return function Uint16Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.uint16-array.js\n ** module id = 546\n ** module chunks = 0\n **/","require('./_typed-array')('Uint32', 4, function(init){\n return function Uint32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.uint32-array.js\n ** module id = 547\n ** module chunks = 0\n **/","require('./_typed-array')('Uint8', 1, function(init){\n return function Uint8Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.uint8-array.js\n ** module id = 548\n ** module chunks = 0\n **/","require('./_typed-array')('Uint8', 1, function(init){\n return function Uint8ClampedArray(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n}, true);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.typed.uint8-clamped-array.js\n ** module id = 549\n ** module chunks = 0\n **/","'use strict';\nvar weak = require('./_collection-weak');\n\n// 23.4 WeakSet Objects\nrequire('./_collection')('WeakSet', function(get){\n return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value){\n return weak.def(this, value, true);\n }\n}, weak, false, true);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.weak-set.js\n ** module id = 550\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export')\n , $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /*, fromIndex = 0 */){\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.array.includes.js\n ** module id = 551\n ** module chunks = 0\n **/","// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask\r\nvar $export = require('./_export')\r\n , microtask = require('./_microtask')()\r\n , process = require('./_global').process\r\n , isNode = require('./_cof')(process) == 'process';\r\n\r\n$export($export.G, {\r\n asap: function asap(fn){\r\n var domain = isNode && process.domain;\r\n microtask(domain ? domain.bind(fn) : fn);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.asap.js\n ** module id = 552\n ** module chunks = 0\n **/","// https://github.com/ljharb/proposal-is-error\nvar $export = require('./_export')\n , cof = require('./_cof');\n\n$export($export.S, 'Error', {\n isError: function isError(it){\n return cof(it) === 'Error';\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.error.is-error.js\n ** module id = 553\n ** module chunks = 0\n **/","// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export = require('./_export');\n\n$export($export.P + $export.R, 'Map', {toJSON: require('./_collection-to-json')('Map')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.map.to-json.js\n ** module id = 554\n ** module chunks = 0\n **/","// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n iaddh: function iaddh(x0, x1, y0, y1){\n var $x0 = x0 >>> 0\n , $x1 = x1 >>> 0\n , $y0 = y0 >>> 0;\n return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.math.iaddh.js\n ** module id = 555\n ** module chunks = 0\n **/","// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n imulh: function imulh(u, v){\n var UINT16 = 0xffff\n , $u = +u\n , $v = +v\n , u0 = $u & UINT16\n , v0 = $v & UINT16\n , u1 = $u >> 16\n , v1 = $v >> 16\n , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.math.imulh.js\n ** module id = 556\n ** module chunks = 0\n **/","// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n isubh: function isubh(x0, x1, y0, y1){\n var $x0 = x0 >>> 0\n , $x1 = x1 >>> 0\n , $y0 = y0 >>> 0;\n return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.math.isubh.js\n ** module id = 557\n ** module chunks = 0\n **/","// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n umulh: function umulh(u, v){\n var UINT16 = 0xffff\n , $u = +u\n , $v = +v\n , u0 = $u & UINT16\n , v0 = $v & UINT16\n , u1 = $u >>> 16\n , v1 = $v >>> 16\n , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.math.umulh.js\n ** module id = 558\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , toObject = require('./_to-object')\r\n , aFunction = require('./_a-function')\r\n , $defineProperty = require('./_object-dp');\r\n\r\n// B.2.2.2 Object.prototype.__defineGetter__(P, getter)\r\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\r\n __defineGetter__: function __defineGetter__(P, getter){\r\n $defineProperty.f(toObject(this), P, {get: aFunction(getter), enumerable: true, configurable: true});\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.define-getter.js\n ** module id = 559\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , toObject = require('./_to-object')\r\n , aFunction = require('./_a-function')\r\n , $defineProperty = require('./_object-dp');\r\n\r\n// B.2.2.3 Object.prototype.__defineSetter__(P, setter)\r\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\r\n __defineSetter__: function __defineSetter__(P, setter){\r\n $defineProperty.f(toObject(this), P, {set: aFunction(setter), enumerable: true, configurable: true});\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.define-setter.js\n ** module id = 560\n ** module chunks = 0\n **/","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export')\n , $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it){\n return $entries(it);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.entries.js\n ** module id = 561\n ** module chunks = 0\n **/","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export')\n , ownKeys = require('./_own-keys')\n , toIObject = require('./_to-iobject')\n , gOPD = require('./_object-gopd')\n , createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){\n var O = toIObject(object)\n , getDesc = gOPD.f\n , keys = ownKeys(O)\n , result = {}\n , i = 0\n , key, D;\n while(keys.length > i)createProperty(result, key = keys[i++], getDesc(O, key));\n return result;\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.get-own-property-descriptors.js\n ** module id = 562\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , toObject = require('./_to-object')\r\n , toPrimitive = require('./_to-primitive')\r\n , getPrototypeOf = require('./_object-gpo')\r\n , getOwnPropertyDescriptor = require('./_object-gopd').f;\r\n\r\n// B.2.2.4 Object.prototype.__lookupGetter__(P)\r\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\r\n __lookupGetter__: function __lookupGetter__(P){\r\n var O = toObject(this)\r\n , K = toPrimitive(P, true)\r\n , D;\r\n do {\r\n if(D = getOwnPropertyDescriptor(O, K))return D.get;\r\n } while(O = getPrototypeOf(O));\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.lookup-getter.js\n ** module id = 563\n ** module chunks = 0\n **/","'use strict';\r\nvar $export = require('./_export')\r\n , toObject = require('./_to-object')\r\n , toPrimitive = require('./_to-primitive')\r\n , getPrototypeOf = require('./_object-gpo')\r\n , getOwnPropertyDescriptor = require('./_object-gopd').f;\r\n\r\n// B.2.2.5 Object.prototype.__lookupSetter__(P)\r\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\r\n __lookupSetter__: function __lookupSetter__(P){\r\n var O = toObject(this)\r\n , K = toPrimitive(P, true)\r\n , D;\r\n do {\r\n if(D = getOwnPropertyDescriptor(O, K))return D.set;\r\n } while(O = getPrototypeOf(O));\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.lookup-setter.js\n ** module id = 564\n ** module chunks = 0\n **/","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export')\n , $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it){\n return $values(it);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.object.values.js\n ** module id = 565\n ** module chunks = 0\n **/","'use strict';\r\n// https://github.com/zenparsing/es-observable\r\nvar $export = require('./_export')\r\n , global = require('./_global')\r\n , core = require('./_core')\r\n , microtask = require('./_microtask')()\r\n , OBSERVABLE = require('./_wks')('observable')\r\n , aFunction = require('./_a-function')\r\n , anObject = require('./_an-object')\r\n , anInstance = require('./_an-instance')\r\n , redefineAll = require('./_redefine-all')\r\n , hide = require('./_hide')\r\n , forOf = require('./_for-of')\r\n , RETURN = forOf.RETURN;\r\n\r\nvar getMethod = function(fn){\r\n return fn == null ? undefined : aFunction(fn);\r\n};\r\n\r\nvar cleanupSubscription = function(subscription){\r\n var cleanup = subscription._c;\r\n if(cleanup){\r\n subscription._c = undefined;\r\n cleanup();\r\n }\r\n};\r\n\r\nvar subscriptionClosed = function(subscription){\r\n return subscription._o === undefined;\r\n};\r\n\r\nvar closeSubscription = function(subscription){\r\n if(!subscriptionClosed(subscription)){\r\n subscription._o = undefined;\r\n cleanupSubscription(subscription);\r\n }\r\n};\r\n\r\nvar Subscription = function(observer, subscriber){\r\n anObject(observer);\r\n this._c = undefined;\r\n this._o = observer;\r\n observer = new SubscriptionObserver(this);\r\n try {\r\n var cleanup = subscriber(observer)\r\n , subscription = cleanup;\r\n if(cleanup != null){\r\n if(typeof cleanup.unsubscribe === 'function')cleanup = function(){ subscription.unsubscribe(); };\r\n else aFunction(cleanup);\r\n this._c = cleanup;\r\n }\r\n } catch(e){\r\n observer.error(e);\r\n return;\r\n } if(subscriptionClosed(this))cleanupSubscription(this);\r\n};\r\n\r\nSubscription.prototype = redefineAll({}, {\r\n unsubscribe: function unsubscribe(){ closeSubscription(this); }\r\n});\r\n\r\nvar SubscriptionObserver = function(subscription){\r\n this._s = subscription;\r\n};\r\n\r\nSubscriptionObserver.prototype = redefineAll({}, {\r\n next: function next(value){\r\n var subscription = this._s;\r\n if(!subscriptionClosed(subscription)){\r\n var observer = subscription._o;\r\n try {\r\n var m = getMethod(observer.next);\r\n if(m)return m.call(observer, value);\r\n } catch(e){\r\n try {\r\n closeSubscription(subscription);\r\n } finally {\r\n throw e;\r\n }\r\n }\r\n }\r\n },\r\n error: function error(value){\r\n var subscription = this._s;\r\n if(subscriptionClosed(subscription))throw value;\r\n var observer = subscription._o;\r\n subscription._o = undefined;\r\n try {\r\n var m = getMethod(observer.error);\r\n if(!m)throw value;\r\n value = m.call(observer, value);\r\n } catch(e){\r\n try {\r\n cleanupSubscription(subscription);\r\n } finally {\r\n throw e;\r\n }\r\n } cleanupSubscription(subscription);\r\n return value;\r\n },\r\n complete: function complete(value){\r\n var subscription = this._s;\r\n if(!subscriptionClosed(subscription)){\r\n var observer = subscription._o;\r\n subscription._o = undefined;\r\n try {\r\n var m = getMethod(observer.complete);\r\n value = m ? m.call(observer, value) : undefined;\r\n } catch(e){\r\n try {\r\n cleanupSubscription(subscription);\r\n } finally {\r\n throw e;\r\n }\r\n } cleanupSubscription(subscription);\r\n return value;\r\n }\r\n }\r\n});\r\n\r\nvar $Observable = function Observable(subscriber){\r\n anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber);\r\n};\r\n\r\nredefineAll($Observable.prototype, {\r\n subscribe: function subscribe(observer){\r\n return new Subscription(observer, this._f);\r\n },\r\n forEach: function forEach(fn){\r\n var that = this;\r\n return new (core.Promise || global.Promise)(function(resolve, reject){\r\n aFunction(fn);\r\n var subscription = that.subscribe({\r\n next : function(value){\r\n try {\r\n return fn(value);\r\n } catch(e){\r\n reject(e);\r\n subscription.unsubscribe();\r\n }\r\n },\r\n error: reject,\r\n complete: resolve\r\n });\r\n });\r\n }\r\n});\r\n\r\nredefineAll($Observable, {\r\n from: function from(x){\r\n var C = typeof this === 'function' ? this : $Observable;\r\n var method = getMethod(anObject(x)[OBSERVABLE]);\r\n if(method){\r\n var observable = anObject(method.call(x));\r\n return observable.constructor === C ? observable : new C(function(observer){\r\n return observable.subscribe(observer);\r\n });\r\n }\r\n return new C(function(observer){\r\n var done = false;\r\n microtask(function(){\r\n if(!done){\r\n try {\r\n if(forOf(x, false, function(it){\r\n observer.next(it);\r\n if(done)return RETURN;\r\n }) === RETURN)return;\r\n } catch(e){\r\n if(done)throw e;\r\n observer.error(e);\r\n return;\r\n } observer.complete();\r\n }\r\n });\r\n return function(){ done = true; };\r\n });\r\n },\r\n of: function of(){\r\n for(var i = 0, l = arguments.length, items = Array(l); i < l;)items[i] = arguments[i++];\r\n return new (typeof this === 'function' ? this : $Observable)(function(observer){\r\n var done = false;\r\n microtask(function(){\r\n if(!done){\r\n for(var i = 0; i < items.length; ++i){\r\n observer.next(items[i]);\r\n if(done)return;\r\n } observer.complete();\r\n }\r\n });\r\n return function(){ done = true; };\r\n });\r\n }\r\n});\r\n\r\nhide($Observable.prototype, OBSERVABLE, function(){ return this; });\r\n\r\n$export($export.G, {Observable: $Observable});\r\n\r\nrequire('./_set-species')('Observable');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.observable.js\n ** module id = 566\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , toMetaKey = metadata.key\n , ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.define-metadata.js\n ** module id = 567\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , toMetaKey = metadata.key\n , getOrCreateMetadataMap = metadata.map\n , store = metadata.store;\n\nmetadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){\n var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])\n , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;\n if(metadataMap.size)return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.delete-metadata.js\n ** module id = 568\n ** module chunks = 0\n **/","var Set = require('./es6.set')\n , from = require('./_array-from-iterable')\n , metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryOwnMetadataKeys = metadata.keys\n , toMetaKey = metadata.key;\n\nvar ordinaryMetadataKeys = function(O, P){\n var oKeys = ordinaryOwnMetadataKeys(O, P)\n , parent = getPrototypeOf(O);\n if(parent === null)return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\nmetadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){\n return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.get-metadata-keys.js\n ** module id = 569\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryHasOwnMetadata = metadata.has\n , ordinaryGetOwnMetadata = metadata.get\n , toMetaKey = metadata.key;\n\nvar ordinaryGetMetadata = function(MetadataKey, O, P){\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\nmetadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){\n return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.get-metadata.js\n ** module id = 570\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryOwnMetadataKeys = metadata.keys\n , toMetaKey = metadata.key;\n\nmetadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){\n return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.get-own-metadata-keys.js\n ** module id = 571\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryGetOwnMetadata = metadata.get\n , toMetaKey = metadata.key;\n\nmetadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){\n return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.get-own-metadata.js\n ** module id = 572\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryHasOwnMetadata = metadata.has\n , toMetaKey = metadata.key;\n\nvar ordinaryHasMetadata = function(MetadataKey, O, P){\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if(hasOwn)return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\nmetadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){\n return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.has-metadata.js\n ** module id = 573\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryHasOwnMetadata = metadata.has\n , toMetaKey = metadata.key;\n\nmetadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){\n return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.has-own-metadata.js\n ** module id = 574\n ** module chunks = 0\n **/","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , aFunction = require('./_a-function')\n , toMetaKey = metadata.key\n , ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({metadata: function metadata(metadataKey, metadataValue){\n return function decorator(target, targetKey){\n ordinaryDefineOwnMetadata(\n metadataKey, metadataValue,\n (targetKey !== undefined ? anObject : aFunction)(target),\n toMetaKey(targetKey)\n );\n };\n}});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.reflect.metadata.js\n ** module id = 575\n ** module chunks = 0\n **/","// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export = require('./_export');\n\n$export($export.P + $export.R, 'Set', {toJSON: require('./_collection-to-json')('Set')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.set.to-json.js\n ** module id = 576\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/mathiasbynens/String.prototype.at\nvar $export = require('./_export')\n , $at = require('./_string-at')(true);\n\n$export($export.P, 'String', {\n at: function at(pos){\n return $at(this, pos);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.at.js\n ** module id = 577\n ** module chunks = 0\n **/","'use strict';\r\n// https://tc39.github.io/String.prototype.matchAll/\r\nvar $export = require('./_export')\r\n , defined = require('./_defined')\r\n , toLength = require('./_to-length')\r\n , isRegExp = require('./_is-regexp')\r\n , getFlags = require('./_flags')\r\n , RegExpProto = RegExp.prototype;\r\n\r\nvar $RegExpStringIterator = function(regexp, string){\r\n this._r = regexp;\r\n this._s = string;\r\n};\r\n\r\nrequire('./_iter-create')($RegExpStringIterator, 'RegExp String', function next(){\r\n var match = this._r.exec(this._s);\r\n return {value: match, done: match === null};\r\n});\r\n\r\n$export($export.P, 'String', {\r\n matchAll: function matchAll(regexp){\r\n defined(this);\r\n if(!isRegExp(regexp))throw TypeError(regexp + ' is not a regexp!');\r\n var S = String(this)\r\n , flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp)\r\n , rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags);\r\n rx.lastIndex = toLength(regexp.lastIndex);\r\n return new $RegExpStringIterator(rx, S);\r\n }\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.match-all.js\n ** module id = 578\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export')\n , $pad = require('./_string-pad');\n\n$export($export.P, 'String', {\n padEnd: function padEnd(maxLength /*, fillString = ' ' */){\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.pad-end.js\n ** module id = 579\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export')\n , $pad = require('./_string-pad');\n\n$export($export.P, 'String', {\n padStart: function padStart(maxLength /*, fillString = ' ' */){\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.pad-start.js\n ** module id = 580\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function($trim){\n return function trimLeft(){\n return $trim(this, 1);\n };\n}, 'trimStart');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.trim-left.js\n ** module id = 581\n ** module chunks = 0\n **/","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function($trim){\n return function trimRight(){\n return $trim(this, 2);\n };\n}, 'trimEnd');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.string.trim-right.js\n ** module id = 582\n ** module chunks = 0\n **/","require('./_wks-define')('asyncIterator');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.symbol.async-iterator.js\n ** module id = 583\n ** module chunks = 0\n **/","require('./_wks-define')('observable');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.symbol.observable.js\n ** module id = 584\n ** module chunks = 0\n **/","// https://github.com/ljharb/proposal-global\nvar $export = require('./_export');\n\n$export($export.S, 'System', {global: require('./_global')});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es7.system.global.js\n ** module id = 585\n ** module chunks = 0\n **/","var $iterators = require('./es6.array.iterator')\n , redefine = require('./_redefine')\n , global = require('./_global')\n , hide = require('./_hide')\n , Iterators = require('./_iterators')\n , wks = require('./_wks')\n , ITERATOR = wks('iterator')\n , TO_STRING_TAG = wks('toStringTag')\n , ArrayValues = Iterators.Array;\n\nfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n var NAME = collections[i]\n , Collection = global[NAME]\n , proto = Collection && Collection.prototype\n , key;\n if(proto){\n if(!proto[ITERATOR])hide(proto, ITERATOR, ArrayValues);\n if(!proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n for(key in $iterators)if(!proto[key])redefine(proto, key, $iterators[key], true);\n }\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/web.dom.iterable.js\n ** module id = 586\n ** module chunks = 0\n **/","var $export = require('./_export')\n , $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/web.immediate.js\n ** module id = 587\n ** module chunks = 0\n **/","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global')\n , $export = require('./_export')\n , invoke = require('./_invoke')\n , partial = require('./_partial')\n , navigator = global.navigator\n , MSIE = !!navigator && /MSIE .\\./.test(navigator.userAgent); // <- dirty ie9- check\nvar wrap = function(set){\n return MSIE ? function(fn, time /*, ...args */){\n return set(invoke(\n partial,\n [].slice.call(arguments, 2),\n typeof fn == 'function' ? fn : Function(fn)\n ), time);\n } : set;\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/web.timers.js\n ** module id = 588\n ** module chunks = 0\n **/","require('./modules/es6.symbol');\nrequire('./modules/es6.object.create');\nrequire('./modules/es6.object.define-property');\nrequire('./modules/es6.object.define-properties');\nrequire('./modules/es6.object.get-own-property-descriptor');\nrequire('./modules/es6.object.get-prototype-of');\nrequire('./modules/es6.object.keys');\nrequire('./modules/es6.object.get-own-property-names');\nrequire('./modules/es6.object.freeze');\nrequire('./modules/es6.object.seal');\nrequire('./modules/es6.object.prevent-extensions');\nrequire('./modules/es6.object.is-frozen');\nrequire('./modules/es6.object.is-sealed');\nrequire('./modules/es6.object.is-extensible');\nrequire('./modules/es6.object.assign');\nrequire('./modules/es6.object.is');\nrequire('./modules/es6.object.set-prototype-of');\nrequire('./modules/es6.object.to-string');\nrequire('./modules/es6.function.bind');\nrequire('./modules/es6.function.name');\nrequire('./modules/es6.function.has-instance');\nrequire('./modules/es6.parse-int');\nrequire('./modules/es6.parse-float');\nrequire('./modules/es6.number.constructor');\nrequire('./modules/es6.number.to-fixed');\nrequire('./modules/es6.number.to-precision');\nrequire('./modules/es6.number.epsilon');\nrequire('./modules/es6.number.is-finite');\nrequire('./modules/es6.number.is-integer');\nrequire('./modules/es6.number.is-nan');\nrequire('./modules/es6.number.is-safe-integer');\nrequire('./modules/es6.number.max-safe-integer');\nrequire('./modules/es6.number.min-safe-integer');\nrequire('./modules/es6.number.parse-float');\nrequire('./modules/es6.number.parse-int');\nrequire('./modules/es6.math.acosh');\nrequire('./modules/es6.math.asinh');\nrequire('./modules/es6.math.atanh');\nrequire('./modules/es6.math.cbrt');\nrequire('./modules/es6.math.clz32');\nrequire('./modules/es6.math.cosh');\nrequire('./modules/es6.math.expm1');\nrequire('./modules/es6.math.fround');\nrequire('./modules/es6.math.hypot');\nrequire('./modules/es6.math.imul');\nrequire('./modules/es6.math.log10');\nrequire('./modules/es6.math.log1p');\nrequire('./modules/es6.math.log2');\nrequire('./modules/es6.math.sign');\nrequire('./modules/es6.math.sinh');\nrequire('./modules/es6.math.tanh');\nrequire('./modules/es6.math.trunc');\nrequire('./modules/es6.string.from-code-point');\nrequire('./modules/es6.string.raw');\nrequire('./modules/es6.string.trim');\nrequire('./modules/es6.string.iterator');\nrequire('./modules/es6.string.code-point-at');\nrequire('./modules/es6.string.ends-with');\nrequire('./modules/es6.string.includes');\nrequire('./modules/es6.string.repeat');\nrequire('./modules/es6.string.starts-with');\nrequire('./modules/es6.string.anchor');\nrequire('./modules/es6.string.big');\nrequire('./modules/es6.string.blink');\nrequire('./modules/es6.string.bold');\nrequire('./modules/es6.string.fixed');\nrequire('./modules/es6.string.fontcolor');\nrequire('./modules/es6.string.fontsize');\nrequire('./modules/es6.string.italics');\nrequire('./modules/es6.string.link');\nrequire('./modules/es6.string.small');\nrequire('./modules/es6.string.strike');\nrequire('./modules/es6.string.sub');\nrequire('./modules/es6.string.sup');\nrequire('./modules/es6.date.now');\nrequire('./modules/es6.date.to-json');\nrequire('./modules/es6.date.to-iso-string');\nrequire('./modules/es6.date.to-string');\nrequire('./modules/es6.date.to-primitive');\nrequire('./modules/es6.array.is-array');\nrequire('./modules/es6.array.from');\nrequire('./modules/es6.array.of');\nrequire('./modules/es6.array.join');\nrequire('./modules/es6.array.slice');\nrequire('./modules/es6.array.sort');\nrequire('./modules/es6.array.for-each');\nrequire('./modules/es6.array.map');\nrequire('./modules/es6.array.filter');\nrequire('./modules/es6.array.some');\nrequire('./modules/es6.array.every');\nrequire('./modules/es6.array.reduce');\nrequire('./modules/es6.array.reduce-right');\nrequire('./modules/es6.array.index-of');\nrequire('./modules/es6.array.last-index-of');\nrequire('./modules/es6.array.copy-within');\nrequire('./modules/es6.array.fill');\nrequire('./modules/es6.array.find');\nrequire('./modules/es6.array.find-index');\nrequire('./modules/es6.array.species');\nrequire('./modules/es6.array.iterator');\nrequire('./modules/es6.regexp.constructor');\nrequire('./modules/es6.regexp.to-string');\nrequire('./modules/es6.regexp.flags');\nrequire('./modules/es6.regexp.match');\nrequire('./modules/es6.regexp.replace');\nrequire('./modules/es6.regexp.search');\nrequire('./modules/es6.regexp.split');\nrequire('./modules/es6.promise');\nrequire('./modules/es6.map');\nrequire('./modules/es6.set');\nrequire('./modules/es6.weak-map');\nrequire('./modules/es6.weak-set');\nrequire('./modules/es6.typed.array-buffer');\nrequire('./modules/es6.typed.data-view');\nrequire('./modules/es6.typed.int8-array');\nrequire('./modules/es6.typed.uint8-array');\nrequire('./modules/es6.typed.uint8-clamped-array');\nrequire('./modules/es6.typed.int16-array');\nrequire('./modules/es6.typed.uint16-array');\nrequire('./modules/es6.typed.int32-array');\nrequire('./modules/es6.typed.uint32-array');\nrequire('./modules/es6.typed.float32-array');\nrequire('./modules/es6.typed.float64-array');\nrequire('./modules/es6.reflect.apply');\nrequire('./modules/es6.reflect.construct');\nrequire('./modules/es6.reflect.define-property');\nrequire('./modules/es6.reflect.delete-property');\nrequire('./modules/es6.reflect.enumerate');\nrequire('./modules/es6.reflect.get');\nrequire('./modules/es6.reflect.get-own-property-descriptor');\nrequire('./modules/es6.reflect.get-prototype-of');\nrequire('./modules/es6.reflect.has');\nrequire('./modules/es6.reflect.is-extensible');\nrequire('./modules/es6.reflect.own-keys');\nrequire('./modules/es6.reflect.prevent-extensions');\nrequire('./modules/es6.reflect.set');\nrequire('./modules/es6.reflect.set-prototype-of');\nrequire('./modules/es7.array.includes');\nrequire('./modules/es7.string.at');\nrequire('./modules/es7.string.pad-start');\nrequire('./modules/es7.string.pad-end');\nrequire('./modules/es7.string.trim-left');\nrequire('./modules/es7.string.trim-right');\nrequire('./modules/es7.string.match-all');\nrequire('./modules/es7.symbol.async-iterator');\nrequire('./modules/es7.symbol.observable');\nrequire('./modules/es7.object.get-own-property-descriptors');\nrequire('./modules/es7.object.values');\nrequire('./modules/es7.object.entries');\nrequire('./modules/es7.object.define-getter');\nrequire('./modules/es7.object.define-setter');\nrequire('./modules/es7.object.lookup-getter');\nrequire('./modules/es7.object.lookup-setter');\nrequire('./modules/es7.map.to-json');\nrequire('./modules/es7.set.to-json');\nrequire('./modules/es7.system.global');\nrequire('./modules/es7.error.is-error');\nrequire('./modules/es7.math.iaddh');\nrequire('./modules/es7.math.isubh');\nrequire('./modules/es7.math.imulh');\nrequire('./modules/es7.math.umulh');\nrequire('./modules/es7.reflect.define-metadata');\nrequire('./modules/es7.reflect.delete-metadata');\nrequire('./modules/es7.reflect.get-metadata');\nrequire('./modules/es7.reflect.get-metadata-keys');\nrequire('./modules/es7.reflect.get-own-metadata');\nrequire('./modules/es7.reflect.get-own-metadata-keys');\nrequire('./modules/es7.reflect.has-metadata');\nrequire('./modules/es7.reflect.has-own-metadata');\nrequire('./modules/es7.reflect.metadata');\nrequire('./modules/es7.asap');\nrequire('./modules/es7.observable');\nrequire('./modules/web.timers');\nrequire('./modules/web.immediate');\nrequire('./modules/web.dom.iterable');\nmodule.exports = require('./modules/_core');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/shim.js\n ** module id = 589\n ** module chunks = 0\n **/","var pSlice = Array.prototype.slice;\nvar objectKeys = require('./lib/keys.js');\nvar isArguments = require('./lib/is_arguments.js');\n\nvar deepEqual = module.exports = function (actual, expected, opts) {\n if (!opts) opts = {};\n // 7.1. All identical values are equivalent, as determined by ===.\n if (actual === expected) {\n return true;\n\n } else if (actual instanceof Date && expected instanceof Date) {\n return actual.getTime() === expected.getTime();\n\n // 7.3. Other pairs that do not both pass typeof value == 'object',\n // equivalence is determined by ==.\n } else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') {\n return opts.strict ? actual === expected : actual == expected;\n\n // 7.4. For all other Object pairs, including Array objects, equivalence is\n // determined by having the same number of owned properties (as verified\n // with Object.prototype.hasOwnProperty.call), the same set of keys\n // (although not necessarily the same order), equivalent values for every\n // corresponding key, and an identical 'prototype' property. Note: this\n // accounts for both named and indexed properties on Arrays.\n } else {\n return objEquiv(actual, expected, opts);\n }\n}\n\nfunction isUndefinedOrNull(value) {\n return value === null || value === undefined;\n}\n\nfunction isBuffer (x) {\n if (!x || typeof x !== 'object' || typeof x.length !== 'number') return false;\n if (typeof x.copy !== 'function' || typeof x.slice !== 'function') {\n return false;\n }\n if (x.length > 0 && typeof x[0] !== 'number') return false;\n return true;\n}\n\nfunction objEquiv(a, b, opts) {\n var i, key;\n if (isUndefinedOrNull(a) || isUndefinedOrNull(b))\n return false;\n // an identical 'prototype' property.\n if (a.prototype !== b.prototype) return false;\n //~~~I've managed to break Object.keys through screwy arguments passing.\n // Converting to array solves the problem.\n if (isArguments(a)) {\n if (!isArguments(b)) {\n return false;\n }\n a = pSlice.call(a);\n b = pSlice.call(b);\n return deepEqual(a, b, opts);\n }\n if (isBuffer(a)) {\n if (!isBuffer(b)) {\n return false;\n }\n if (a.length !== b.length) return false;\n for (i = 0; i < a.length; i++) {\n if (a[i] !== b[i]) return false;\n }\n return true;\n }\n try {\n var ka = objectKeys(a),\n kb = objectKeys(b);\n } catch (e) {//happens when one is a string literal and the other isn't\n return false;\n }\n // having the same number of owned properties (keys incorporates\n // hasOwnProperty)\n if (ka.length != kb.length)\n return false;\n //the same set of keys (although not necessarily the same order),\n ka.sort();\n kb.sort();\n //~~~cheap key test\n for (i = ka.length - 1; i >= 0; i--) {\n if (ka[i] != kb[i])\n return false;\n }\n //equivalent values for every corresponding key, and\n //~~~possibly expensive deep test\n for (i = ka.length - 1; i >= 0; i--) {\n key = ka[i];\n if (!deepEqual(a[key], b[key], opts)) return false;\n }\n return typeof a === typeof b;\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/deep-equal/index.js\n ** module id = 590\n ** module chunks = 0\n **/","var supportsArgumentsClass = (function(){\n return Object.prototype.toString.call(arguments)\n})() == '[object Arguments]';\n\nexports = module.exports = supportsArgumentsClass ? supported : unsupported;\n\nexports.supported = supported;\nfunction supported(object) {\n return Object.prototype.toString.call(object) == '[object Arguments]';\n};\n\nexports.unsupported = unsupported;\nfunction unsupported(object){\n return object &&\n typeof object == 'object' &&\n typeof object.length == 'number' &&\n Object.prototype.hasOwnProperty.call(object, 'callee') &&\n !Object.prototype.propertyIsEnumerable.call(object, 'callee') ||\n false;\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/deep-equal/lib/is_arguments.js\n ** module id = 591\n ** module chunks = 0\n **/","exports = module.exports = typeof Object.keys === 'function'\n ? Object.keys : shim;\n\nexports.shim = shim;\nfunction shim (obj) {\n var keys = [];\n for (var key in obj) keys.push(key);\n return keys;\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/deep-equal/lib/keys.js\n ** module id = 592\n ** module chunks = 0\n **/","'use strict';\nvar canUseDOM = require('../util/inDOM');\nvar off = function off() {};\n\nif (canUseDOM) {\n\n off = (function () {\n\n if (document.addEventListener) return function (node, eventName, handler, capture) {\n return node.removeEventListener(eventName, handler, capture || false);\n };else if (document.attachEvent) return function (node, eventName, handler) {\n return node.detachEvent('on' + eventName, handler);\n };\n })();\n}\n\nmodule.exports = off;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/events/off.js\n ** module id = 593\n ** module chunks = 0\n **/","'use strict';\nvar canUseDOM = require('../util/inDOM');\nvar on = function on() {};\n\nif (canUseDOM) {\n on = (function () {\n\n if (document.addEventListener) return function (node, eventName, handler, capture) {\n return node.addEventListener(eventName, handler, capture || false);\n };else if (document.attachEvent) return function (node, eventName, handler) {\n return node.attachEvent('on' + eventName, handler);\n };\n })();\n}\n\nmodule.exports = on;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/events/on.js\n ** module id = 594\n ** module chunks = 0\n **/","'use strict';\nvar getWindow = require('./isWindow');\n\nmodule.exports = function scrollTop(node, val) {\n var win = getWindow(node);\n\n if (val === undefined) return win ? 'pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft : node.scrollLeft;\n\n if (win) win.scrollTo(val, 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop);else node.scrollLeft = val;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/query/scrollLeft.js\n ** module id = 595\n ** module chunks = 0\n **/","'use strict';\nvar getWindow = require('./isWindow');\n\nmodule.exports = function scrollTop(node, val) {\n var win = getWindow(node);\n\n if (val === undefined) return win ? 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop : node.scrollTop;\n\n if (win) win.scrollTo('pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft, val);else node.scrollTop = val;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/query/scrollTop.js\n ** module id = 596\n ** module chunks = 0\n **/","'use strict';\n\nvar canUseDOM = require('./inDOM');\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'],\n cancel = 'clearTimeout',\n raf = fallback,\n compatRaf;\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame';\n};\n\nif (canUseDOM) {\n vendors.some(function (vendor) {\n var rafKey = getKey(vendor, 'request');\n\n if (rafKey in window) {\n cancel = getKey(vendor, 'cancel');\n return raf = function (cb) {\n return window[rafKey](cb);\n };\n }\n });\n}\n\n/* https://github.com/component/raf */\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime(),\n ms = Math.max(0, 16 - (curr - prev)),\n req = setTimeout(fn, ms);\n\n prev = curr;\n return req;\n}\n\ncompatRaf = function (cb) {\n return raf(cb);\n};\ncompatRaf.cancel = function (id) {\n return window[cancel](id);\n};\n\nmodule.exports = compatRaf;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/util/requestAnimationFrame.js\n ** module id = 597\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"row\":\"Album__row__2o5fb\",\"art\":\"Album__art__1tMui\",\"play\":\"Album__play__2zFWE Songs__play__1O6-p\",\"playNext\":\"Album__playNext__3KXjB Songs__playNext__2v-xp\",\"nameRow\":\"Album__nameRow__12kfS\",\"artRow\":\"Album__artRow__3ouy5\",\"songs\":\"Album__songs__1PPsj Songs__songs__CIaD9\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/Album.scss\n ** module id = 601\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"name\":\"Artist__name__3mI6y\",\"art\":\"Artist__art__3QV3w\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/Artist.scss\n ** module id = 602\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"noMarginTop\":\"Discover__noMarginTop__2bubk\",\"h2Title\":\"Discover__h2Title__25yU5\",\"caret\":\"Discover__caret__1zwQ4\",\"dashedUnderline\":\"Discover__dashedUnderline__2ePE6\",\"dropdown-menu\":\"Discover__dropdown-menu__o2cZr\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/Discover.scss\n ** module id = 603\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"titleImage\":\"Login__titleImage__33L1L\",\"submit\":\"Login__submit__1BiPC\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/Login.scss\n ** module id = 604\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"play\":\"Songs__play__1O6-p\",\"playNext\":\"Songs__playNext__2v-xp\",\"songs\":\"Songs__songs__CIaD9\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/Songs.scss\n ** module id = 605\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"filter\":\"FilterBar__filter__2xukG\",\"legend\":\"FilterBar__legend__1wPAA\",\"form-group\":\"FilterBar__form-group__3coaa\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/elements/FilterBar.scss\n ** module id = 606\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"placeholders\":\"Grid__placeholders__3sosj\",\"name\":\"Grid__name__2qx8M\",\"art\":\"Grid__art__2OMDU\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/elements/Grid.scss\n ** module id = 607\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"nav\":\"Pagination__nav__1sgUO\",\"pointer\":\"Pagination__pointer__27wCb\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/elements/Pagination.scss\n ** module id = 608\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"webplayer\":\"WebPlayer__webplayer__22F_4\",\"art\":\"WebPlayer__art__omkHN\",\"artRow\":\"WebPlayer__artRow__9onVV\",\"controls\":\"WebPlayer__controls__we9ux\",\"btn\":\"WebPlayer__btn__1S8Hy\",\"prevBtn\":\"WebPlayer__prevBtn__QTVVR WebPlayer__btn__1S8Hy\",\"playPauseBtn\":\"WebPlayer__playPauseBtn__yN44O WebPlayer__btn__1S8Hy\",\"nextBtn\":\"WebPlayer__nextBtn__2582V WebPlayer__btn__1S8Hy\",\"volumeBtn\":\"WebPlayer__volumeBtn__2OcLS WebPlayer__btn__1S8Hy\",\"repeatBtn\":\"WebPlayer__repeatBtn__w2JIN WebPlayer__btn__1S8Hy\",\"randomBtn\":\"WebPlayer__randomBtn__2NB_N WebPlayer__btn__1S8Hy\",\"playlistBtn\":\"WebPlayer__playlistBtn__3rkYH WebPlayer__btn__1S8Hy\",\"active\":\"WebPlayer__active__3OOYe\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/elements/WebPlayer.scss\n ** module id = 609\n ** module chunks = 0\n **/","// removed by extract-text-webpack-plugin\nmodule.exports = {\"sidebar\":\"Sidebar__sidebar__2XLQ1\",\"collapse\":\"Sidebar__collapse__3-rUF\",\"link\":\"Sidebar__link__1faG5\",\"active\":\"Sidebar__active__3HL57 Sidebar__link__1faG5\",\"title\":\"Sidebar__title__XR8sf\",\"imgTitle\":\"Sidebar__imgTitle__1iVIJ\",\"toggle\":\"Sidebar__toggle__32s05\",\"icon-bar\":\"Sidebar__icon-bar__kStJV\",\"icon-navbar\":\"Sidebar__icon-navbar__1oNVr\",\"container-fluid\":\"Sidebar__container-fluid__3rTUW\",\"nav\":\"Sidebar__nav__13nUO\",\"main-panel\":\"Sidebar__main-panel__3FfOV\",\"nav-list\":\"Sidebar__nav-list__1jNav\"};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./app/styles/layouts/Sidebar.scss\n ** module id = 610\n ** module chunks = 0\n **/","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, 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\n */\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/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/camelize.js\n ** module id = 611\n ** module chunks = 0\n **/","/**\n * Copyright (c) 2013-present, 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\n */\n\n'use strict';\n\nvar camelize = require('./camelize');\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/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/camelizeStyleName.js\n ** module id = 612\n ** module chunks = 0\n **/","'use strict';\n\n/**\n * Copyright (c) 2013-present, 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 */\n\nvar isTextNode = require('./isTextNode');\n\n/*eslint-disable no-bitwise */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n */\nfunction containsNode(outerNode, innerNode) {\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 return containsNode(outerNode, innerNode.parentNode);\n } else if ('contains' in outerNode) {\n return outerNode.contains(innerNode);\n } else if (outerNode.compareDocumentPosition) {\n return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n } else {\n return false;\n }\n}\n\nmodule.exports = containsNode;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/containsNode.js\n ** module id = 613\n ** module chunks = 0\n **/","'use strict';\n\n/**\n * Copyright (c) 2013-present, 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\n */\n\nvar invariant = require('./invariant');\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 browsers builtin objects can report typeof 'function' (e.g. NodeList\n // in old versions of Safari).\n !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;\n\n !(typeof length === 'number') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;\n\n !(length === 0 || length - 1 in obj) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;\n\n !(typeof obj.callee !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object can\\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;\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\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/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/createArrayFromMixed.js\n ** module id = 614\n ** module chunks = 0\n **/","'use strict';\n\n/**\n * Copyright (c) 2013-present, 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\n */\n\n/*eslint-disable fb-www/unsafe-html*/\n\nvar ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar createArrayFromMixed = require('./createArrayFromMixed');\nvar getMarkupWrap = require('./getMarkupWrap');\nvar invariant = require('./invariant');\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 * true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && typeof value == 'object';\n\t}\n\t\n\tmodule.exports = isObjectLike;\n\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _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\t\n\t/**\n\t * A React component for the font-awesome icon library.\n\t *\n\t *\n\t * @param {Boolean} [border=false] Whether or not to show a border radius\n\t * @param {String} [className] An extra set of CSS classes to add to the component\n\t * @param {Boolean} [fixedWidth=false] Make buttons fixed width\n\t * @param {String} [flip=false] Flip the icon's orientation.\n\t * @param {Boolean} [inverse=false]Inverse the icon's color\n\t * @param {String} name Name of the icon to use\n\t * @param {Boolean} [pulse=false] Rotate icon with 8 steps (rather than smoothly)\n\t * @param {Number} [rotate] The degress to rotate the icon by\n\t * @param {String} [size] The icon scaling size\n\t * @param {Boolean} [spin=false] Spin the icon\n\t * @param {String} [stack] Stack an icon on top of another\n\t * @module FontAwesome\n\t * @type {ReactClass}\n\t */\n\texports.default = _react2.default.createClass({\n\t\n\t displayName: 'FontAwesome',\n\t\n\t propTypes: {\n\t border: _react2.default.PropTypes.bool,\n\t className: _react2.default.PropTypes.string,\n\t fixedWidth: _react2.default.PropTypes.bool,\n\t flip: _react2.default.PropTypes.oneOf(['horizontal', 'vertical']),\n\t inverse: _react2.default.PropTypes.bool,\n\t name: _react2.default.PropTypes.string.isRequired,\n\t pulse: _react2.default.PropTypes.bool,\n\t rotate: _react2.default.PropTypes.oneOf([90, 180, 270]),\n\t size: _react2.default.PropTypes.oneOf(['lg', '2x', '3x', '4x', '5x']),\n\t spin: _react2.default.PropTypes.bool,\n\t stack: _react2.default.PropTypes.oneOf(['1x', '2x'])\n\t },\n\t\n\t render: function render() {\n\t var _props = this.props;\n\t var border = _props.border;\n\t var fixedWidth = _props.fixedWidth;\n\t var flip = _props.flip;\n\t var inverse = _props.inverse;\n\t var name = _props.name;\n\t var pulse = _props.pulse;\n\t var rotate = _props.rotate;\n\t var size = _props.size;\n\t var spin = _props.spin;\n\t var stack = _props.stack;\n\t\n\t var props = _objectWithoutProperties(_props, ['border', 'fixedWidth', 'flip', 'inverse', 'name', 'pulse', 'rotate', 'size', 'spin', 'stack']);\n\t\n\t var className = 'fa fa-' + name;\n\t\n\t if (size) {\n\t className += ' fa-' + size;\n\t }\n\t\n\t if (spin) {\n\t className += ' fa-spin';\n\t }\n\t\n\t if (pulse) {\n\t className += ' fa-pulse';\n\t }\n\t\n\t if (border) {\n\t className += ' fa-border';\n\t }\n\t\n\t if (fixedWidth) {\n\t className += ' fa-fw';\n\t }\n\t\n\t if (inverse) {\n\t className += ' fa-inverse';\n\t }\n\t\n\t if (flip) {\n\t className += ' fa-flip-' + flip;\n\t }\n\t\n\t if (rotate) {\n\t className += ' fa-rotate-' + rotate;\n\t }\n\t\n\t if (stack) {\n\t className += ' fa-stack-' + stack;\n\t }\n\t\n\t if (this.props.className) {\n\t className += ' ' + this.props.className;\n\t }\n\t\n\t return _react2.default.createElement('span', _extends({}, props, {\n\t className: className\n\t }));\n\t }\n\t});\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.routes = exports.route = exports.components = exports.component = exports.history = undefined;\n\texports.falsy = falsy;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar func = _react.PropTypes.func;\n\tvar object = _react.PropTypes.object;\n\tvar arrayOf = _react.PropTypes.arrayOf;\n\tvar oneOfType = _react.PropTypes.oneOfType;\n\tvar element = _react.PropTypes.element;\n\tvar shape = _react.PropTypes.shape;\n\tvar string = _react.PropTypes.string;\n\tfunction falsy(props, propName, componentName) {\n\t if (props[propName]) return new Error('<' + componentName + '> should not have a \"' + propName + '\" prop');\n\t}\n\t\n\tvar history = exports.history = shape({\n\t listen: func.isRequired,\n\t push: func.isRequired,\n\t replace: func.isRequired,\n\t go: func.isRequired,\n\t goBack: func.isRequired,\n\t goForward: func.isRequired\n\t});\n\t\n\tvar component = exports.component = oneOfType([func, string]);\n\tvar components = exports.components = oneOfType([component, object]);\n\tvar route = exports.route = oneOfType([object, element]);\n\tvar routes = exports.routes = oneOfType([route, arrayOf(route)]);\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.31 Array.prototype[@@unscopables]\n\tvar UNSCOPABLES = __webpack_require__(10)('unscopables')\n\t , ArrayProto = Array.prototype;\n\tif(ArrayProto[UNSCOPABLES] == undefined)__webpack_require__(25)(ArrayProto, UNSCOPABLES, {});\n\tmodule.exports = function(key){\n\t ArrayProto[UNSCOPABLES][key] = true;\n\t};\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// getting tag from 19.1.3.6 Object.prototype.toString()\n\tvar cof = __webpack_require__(36)\n\t , TAG = __webpack_require__(10)('toStringTag')\n\t // ES3 wrong here\n\t , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\t\n\t// fallback for IE11 Script Access Denied error\n\tvar tryGet = function(it, key){\n\t try {\n\t return it[key];\n\t } catch(e){ /* empty */ }\n\t};\n\t\n\tmodule.exports = function(it){\n\t var O, T, B;\n\t return it === undefined ? 'Undefined' : it === null ? 'Null'\n\t // @@toStringTag case\n\t : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n\t // builtinTag case\n\t : ARG ? cof(O)\n\t // ES3 arguments fallback\n\t : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n\t};\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ctx = __webpack_require__(50)\n\t , call = __webpack_require__(225)\n\t , isArrayIter = __webpack_require__(150)\n\t , anObject = __webpack_require__(4)\n\t , toLength = __webpack_require__(18)\n\t , getIterFn = __webpack_require__(167)\n\t , BREAK = {}\n\t , RETURN = {};\n\tvar exports = module.exports = function(iterable, entries, fn, that, ITERATOR){\n\t var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)\n\t , f = ctx(fn, that, entries ? 2 : 1)\n\t , index = 0\n\t , length, step, iterator, result;\n\t if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n\t // fast case for arrays with default iterator\n\t if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n\t result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n\t if(result === BREAK || result === RETURN)return result;\n\t } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n\t result = call(iterator, f, step.value, entries);\n\t if(result === BREAK || result === RETURN)return result;\n\t }\n\t};\n\texports.BREAK = BREAK;\n\texports.RETURN = RETURN;\n\n/***/ },\n/* 83 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar def = __webpack_require__(14).f\n\t , has = __webpack_require__(22)\n\t , TAG = __webpack_require__(10)('toStringTag');\n\t\n\tmodule.exports = function(it, tag, stat){\n\t if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n\t};\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , defined = __webpack_require__(37)\n\t , fails = __webpack_require__(8)\n\t , spaces = __webpack_require__(163)\n\t , space = '[' + spaces + ']'\n\t , non = '\\u200b\\u0085'\n\t , ltrim = RegExp('^' + space + space + '*')\n\t , rtrim = RegExp(space + space + '*$');\n\t\n\tvar exporter = function(KEY, exec, ALIAS){\n\t var exp = {};\n\t var FORCE = fails(function(){\n\t return !!spaces[KEY]() || non[KEY]() != non;\n\t });\n\t var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n\t if(ALIAS)exp[ALIAS] = fn;\n\t $export($export.P + $export.F * FORCE, 'String', exp);\n\t};\n\t\n\t// 1 -> String#trimLeft\n\t// 2 -> String#trimRight\n\t// 3 -> String#trim\n\tvar trim = exporter.trim = function(string, TYPE){\n\t string = String(defined(string));\n\t if(TYPE & 1)string = string.replace(ltrim, '');\n\t if(TYPE & 2)string = string.replace(rtrim, '');\n\t return string;\n\t};\n\t\n\tmodule.exports = exporter;\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseIsNative = __webpack_require__(681),\n\t getValue = __webpack_require__(704);\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = getValue(object, key);\n\t return baseIsNative(value) ? value : undefined;\n\t}\n\t\n\tmodule.exports = getNative;\n\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.compilePattern = compilePattern;\n\texports.matchPattern = matchPattern;\n\texports.getParamNames = getParamNames;\n\texports.getParams = getParams;\n\texports.formatPattern = formatPattern;\n\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction escapeRegExp(string) {\n\t return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n\t}\n\t\n\tfunction _compilePattern(pattern) {\n\t var regexpSource = '';\n\t var paramNames = [];\n\t var tokens = [];\n\t\n\t var match = void 0,\n\t lastIndex = 0,\n\t matcher = /:([a-zA-Z_$][a-zA-Z0-9_$]*)|\\*\\*|\\*|\\(|\\)/g;\n\t while (match = matcher.exec(pattern)) {\n\t if (match.index !== lastIndex) {\n\t tokens.push(pattern.slice(lastIndex, match.index));\n\t regexpSource += escapeRegExp(pattern.slice(lastIndex, match.index));\n\t }\n\t\n\t if (match[1]) {\n\t regexpSource += '([^/]+)';\n\t paramNames.push(match[1]);\n\t } else if (match[0] === '**') {\n\t regexpSource += '(.*)';\n\t paramNames.push('splat');\n\t } else if (match[0] === '*') {\n\t regexpSource += '(.*?)';\n\t paramNames.push('splat');\n\t } else if (match[0] === '(') {\n\t regexpSource += '(?:';\n\t } else if (match[0] === ')') {\n\t regexpSource += ')?';\n\t }\n\t\n\t tokens.push(match[0]);\n\t\n\t lastIndex = matcher.lastIndex;\n\t }\n\t\n\t if (lastIndex !== pattern.length) {\n\t tokens.push(pattern.slice(lastIndex, pattern.length));\n\t regexpSource += escapeRegExp(pattern.slice(lastIndex, pattern.length));\n\t }\n\t\n\t return {\n\t pattern: pattern,\n\t regexpSource: regexpSource,\n\t paramNames: paramNames,\n\t tokens: tokens\n\t };\n\t}\n\t\n\tvar CompiledPatternsCache = Object.create(null);\n\t\n\tfunction compilePattern(pattern) {\n\t if (!CompiledPatternsCache[pattern]) CompiledPatternsCache[pattern] = _compilePattern(pattern);\n\t\n\t return CompiledPatternsCache[pattern];\n\t}\n\t\n\t/**\n\t * Attempts to match a pattern on the given pathname. Patterns may use\n\t * the following special characters:\n\t *\n\t * - :paramName Matches a URL segment up to the next /, ?, or #. The\n\t * captured string is considered a \"param\"\n\t * - () Wraps a segment of the URL that is optional\n\t * - * Consumes (non-greedy) all characters up to the next\n\t * character in the pattern, or to the end of the URL if\n\t * there is none\n\t * - ** Consumes (greedy) all characters up to the next character\n\t * in the pattern, or to the end of the URL if there is none\n\t *\n\t * The function calls callback(error, matched) when finished.\n\t * The return value is an object with the following properties:\n\t *\n\t * - remainingPathname\n\t * - paramNames\n\t * - paramValues\n\t */\n\tfunction matchPattern(pattern, pathname) {\n\t // Ensure pattern starts with leading slash for consistency with pathname.\n\t if (pattern.charAt(0) !== '/') {\n\t pattern = '/' + pattern;\n\t }\n\t\n\t var _compilePattern2 = compilePattern(pattern);\n\t\n\t var regexpSource = _compilePattern2.regexpSource;\n\t var paramNames = _compilePattern2.paramNames;\n\t var tokens = _compilePattern2.tokens;\n\t\n\t\n\t if (pattern.charAt(pattern.length - 1) !== '/') {\n\t regexpSource += '/?'; // Allow optional path separator at end.\n\t }\n\t\n\t // Special-case patterns like '*' for catch-all routes.\n\t if (tokens[tokens.length - 1] === '*') {\n\t regexpSource += '$';\n\t }\n\t\n\t var match = pathname.match(new RegExp('^' + regexpSource, 'i'));\n\t if (match == null) {\n\t return null;\n\t }\n\t\n\t var matchedPath = match[0];\n\t var remainingPathname = pathname.substr(matchedPath.length);\n\t\n\t if (remainingPathname) {\n\t // Require that the match ends at a path separator, if we didn't match\n\t // the full path, so any remaining pathname is a new path segment.\n\t if (matchedPath.charAt(matchedPath.length - 1) !== '/') {\n\t return null;\n\t }\n\t\n\t // If there is a remaining pathname, treat the path separator as part of\n\t // the remaining pathname for properly continuing the match.\n\t remainingPathname = '/' + remainingPathname;\n\t }\n\t\n\t return {\n\t remainingPathname: remainingPathname,\n\t paramNames: paramNames,\n\t paramValues: match.slice(1).map(function (v) {\n\t return v && decodeURIComponent(v);\n\t })\n\t };\n\t}\n\t\n\tfunction getParamNames(pattern) {\n\t return compilePattern(pattern).paramNames;\n\t}\n\t\n\tfunction getParams(pattern, pathname) {\n\t var match = matchPattern(pattern, pathname);\n\t if (!match) {\n\t return null;\n\t }\n\t\n\t var paramNames = match.paramNames;\n\t var paramValues = match.paramValues;\n\t\n\t var params = {};\n\t\n\t paramNames.forEach(function (paramName, index) {\n\t params[paramName] = paramValues[index];\n\t });\n\t\n\t return params;\n\t}\n\t\n\t/**\n\t * Returns a version of the given pattern with params interpolated. Throws\n\t * if there is a dynamic segment of the pattern for which there is no param.\n\t */\n\tfunction formatPattern(pattern, params) {\n\t params = params || {};\n\t\n\t var _compilePattern3 = compilePattern(pattern);\n\t\n\t var tokens = _compilePattern3.tokens;\n\t\n\t var parenCount = 0,\n\t pathname = '',\n\t splatIndex = 0;\n\t\n\t var token = void 0,\n\t paramName = void 0,\n\t paramValue = void 0;\n\t for (var i = 0, len = tokens.length; i < len; ++i) {\n\t token = tokens[i];\n\t\n\t if (token === '*' || token === '**') {\n\t paramValue = Array.isArray(params.splat) ? params.splat[splatIndex++] : params.splat;\n\t\n\t !(paramValue != null || parenCount > 0) ? false ? (0, _invariant2.default)(false, 'Missing splat #%s for path \"%s\"', splatIndex, pattern) : (0, _invariant2.default)(false) : void 0;\n\t\n\t if (paramValue != null) pathname += encodeURI(paramValue);\n\t } else if (token === '(') {\n\t parenCount += 1;\n\t } else if (token === ')') {\n\t parenCount -= 1;\n\t } else if (token.charAt(0) === ':') {\n\t paramName = token.substring(1);\n\t paramValue = params[paramName];\n\t\n\t !(paramValue != null || parenCount > 0) ? false ? (0, _invariant2.default)(false, 'Missing \"%s\" parameter for path \"%s\"', paramName, pattern) : (0, _invariant2.default)(false) : void 0;\n\t\n\t if (paramValue != null) pathname += encodeURIComponent(paramValue);\n\t } else {\n\t pathname += token;\n\t }\n\t }\n\t\n\t return pathname.replace(/\\/+/g, '/');\n\t}\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DOMLazyTree\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMNamespaces = __webpack_require__(187);\n\tvar setInnerHTML = __webpack_require__(140);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(201);\n\tvar setTextContent = __webpack_require__(321);\n\t\n\tvar ELEMENT_NODE_TYPE = 1;\n\tvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\t\n\t/**\n\t * In IE (8-11) and Edge, appending nodes with no children is dramatically\n\t * faster than appending a full subtree, so we essentially queue up the\n\t * .appendChild calls here and apply them so each node is added to its parent\n\t * before any children are added.\n\t *\n\t * In other browsers, doing so is slower or neutral compared to the other order\n\t * (in Firefox, twice as slow) so we only do this inversion in IE.\n\t *\n\t * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n\t */\n\tvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\t\n\tfunction insertTreeChildren(tree) {\n\t if (!enableLazy) {\n\t return;\n\t }\n\t var node = tree.node;\n\t var children = tree.children;\n\t if (children.length) {\n\t for (var i = 0; i < children.length; i++) {\n\t insertTreeBefore(node, children[i], null);\n\t }\n\t } else if (tree.html != null) {\n\t setInnerHTML(node, tree.html);\n\t } else if (tree.text != null) {\n\t setTextContent(node, tree.text);\n\t }\n\t}\n\t\n\tvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n\t // DocumentFragments aren't actually part of the DOM after insertion so\n\t // appending children won't update the DOM. We need to ensure the fragment\n\t // is properly populated first, breaking out of our lazy approach for just\n\t // this level. Also, some
plugins (like Flash Player) will read\n\t // nodes immediately upon insertion into the DOM, so \n\t // must also be populated prior to insertion into the DOM.\n\t if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n\t insertTreeChildren(tree);\n\t parentNode.insertBefore(tree.node, referenceNode);\n\t } else {\n\t parentNode.insertBefore(tree.node, referenceNode);\n\t insertTreeChildren(tree);\n\t }\n\t});\n\t\n\tfunction replaceChildWithTree(oldNode, newTree) {\n\t oldNode.parentNode.replaceChild(newTree.node, oldNode);\n\t insertTreeChildren(newTree);\n\t}\n\t\n\tfunction queueChild(parentTree, childTree) {\n\t if (enableLazy) {\n\t parentTree.children.push(childTree);\n\t } else {\n\t parentTree.node.appendChild(childTree.node);\n\t }\n\t}\n\t\n\tfunction queueHTML(tree, html) {\n\t if (enableLazy) {\n\t tree.html = html;\n\t } else {\n\t setInnerHTML(tree.node, html);\n\t }\n\t}\n\t\n\tfunction queueText(tree, text) {\n\t if (enableLazy) {\n\t tree.text = text;\n\t } else {\n\t setTextContent(tree.node, text);\n\t }\n\t}\n\t\n\tfunction toString() {\n\t return this.node.nodeName;\n\t}\n\t\n\tfunction DOMLazyTree(node) {\n\t return {\n\t node: node,\n\t children: [],\n\t html: null,\n\t text: null,\n\t toString: toString\n\t };\n\t}\n\t\n\tDOMLazyTree.insertTreeBefore = insertTreeBefore;\n\tDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\n\tDOMLazyTree.queueChild = queueChild;\n\tDOMLazyTree.queueHTML = queueHTML;\n\tDOMLazyTree.queueText = queueText;\n\t\n\tmodule.exports = DOMLazyTree;\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DOMProperty\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tfunction checkMask(value, bitmask) {\n\t return (value & bitmask) === bitmask;\n\t}\n\t\n\tvar DOMPropertyInjection = {\n\t /**\n\t * Mapping from normalized, camelcased property names to a configuration that\n\t * specifies how the associated DOM property should be accessed or rendered.\n\t */\n\t MUST_USE_PROPERTY: 0x1,\n\t HAS_BOOLEAN_VALUE: 0x4,\n\t HAS_NUMERIC_VALUE: 0x8,\n\t HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n\t HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\t\n\t /**\n\t * Inject some specialized knowledge about the DOM. This takes a config object\n\t * with the following properties:\n\t *\n\t * isCustomAttribute: function that given an attribute name will return true\n\t * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n\t * attributes where it's impossible to enumerate all of the possible\n\t * attribute names,\n\t *\n\t * Properties: object mapping DOM property name to one of the\n\t * DOMPropertyInjection constants or null. If your attribute isn't in here,\n\t * it won't get written to the DOM.\n\t *\n\t * DOMAttributeNames: object mapping React attribute name to the DOM\n\t * attribute name. Attribute names not specified use the **lowercase**\n\t * normalized name.\n\t *\n\t * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n\t * attribute namespace URL. (Attribute names not specified use no namespace.)\n\t *\n\t * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n\t * Property names not specified use the normalized name.\n\t *\n\t * DOMMutationMethods: Properties that require special mutation methods. If\n\t * `value` is undefined, the mutation method should unset the property.\n\t *\n\t * @param {object} domPropertyConfig the config as described above.\n\t */\n\t injectDOMPropertyConfig: function (domPropertyConfig) {\n\t var Injection = DOMPropertyInjection;\n\t var Properties = domPropertyConfig.Properties || {};\n\t var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n\t var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n\t var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n\t var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\t\n\t if (domPropertyConfig.isCustomAttribute) {\n\t DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n\t }\n\t\n\t for (var propName in Properties) {\n\t !!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) : _prodInvariant('48', propName) : void 0;\n\t\n\t var lowerCased = propName.toLowerCase();\n\t var propConfig = Properties[propName];\n\t\n\t var propertyInfo = {\n\t attributeName: lowerCased,\n\t attributeNamespace: null,\n\t propertyName: propName,\n\t mutationMethod: null,\n\t\n\t mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n\t hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n\t hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n\t hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n\t hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n\t };\n\t !(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) : _prodInvariant('50', propName) : void 0;\n\t\n\t if (false) {\n\t DOMProperty.getPossibleStandardName[lowerCased] = propName;\n\t }\n\t\n\t if (DOMAttributeNames.hasOwnProperty(propName)) {\n\t var attributeName = DOMAttributeNames[propName];\n\t propertyInfo.attributeName = attributeName;\n\t if (false) {\n\t DOMProperty.getPossibleStandardName[attributeName] = propName;\n\t }\n\t }\n\t\n\t if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n\t propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n\t }\n\t\n\t if (DOMPropertyNames.hasOwnProperty(propName)) {\n\t propertyInfo.propertyName = DOMPropertyNames[propName];\n\t }\n\t\n\t if (DOMMutationMethods.hasOwnProperty(propName)) {\n\t propertyInfo.mutationMethod = DOMMutationMethods[propName];\n\t }\n\t\n\t DOMProperty.properties[propName] = propertyInfo;\n\t }\n\t }\n\t};\n\t\n\t/* eslint-disable max-len */\n\tvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n\t/* eslint-enable max-len */\n\t\n\t/**\n\t * DOMProperty exports lookup objects that can be used like functions:\n\t *\n\t * > DOMProperty.isValid['id']\n\t * true\n\t * > DOMProperty.isValid['foobar']\n\t * undefined\n\t *\n\t * Although this may be confusing, it performs better in general.\n\t *\n\t * @see http://jsperf.com/key-exists\n\t * @see http://jsperf.com/key-missing\n\t */\n\tvar DOMProperty = {\n\t\n\t ID_ATTRIBUTE_NAME: 'data-reactid',\n\t ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\t\n\t ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n\t ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\t\n\t /**\n\t * Map from property \"standard name\" to an object with info about how to set\n\t * the property in the DOM. Each object contains:\n\t *\n\t * attributeName:\n\t * Used when rendering markup or with `*Attribute()`.\n\t * attributeNamespace\n\t * propertyName:\n\t * Used on DOM node instances. (This includes properties that mutate due to\n\t * external factors.)\n\t * mutationMethod:\n\t * If non-null, used instead of the property or `setAttribute()` after\n\t * initial render.\n\t * mustUseProperty:\n\t * Whether the property must be accessed and mutated as an object property.\n\t * hasBooleanValue:\n\t * Whether the property should be removed when set to a falsey value.\n\t * hasNumericValue:\n\t * Whether the property must be numeric or parse as a numeric and should be\n\t * removed when set to a falsey value.\n\t * hasPositiveNumericValue:\n\t * Whether the property must be positive numeric or parse as a positive\n\t * numeric and should be removed when set to a falsey value.\n\t * hasOverloadedBooleanValue:\n\t * Whether the property can be used as a flag as well as with a value.\n\t * Removed when strictly equal to false; present without a value when\n\t * strictly equal to true; present with a value otherwise.\n\t */\n\t properties: {},\n\t\n\t /**\n\t * Mapping from lowercase property names to the properly cased version, used\n\t * to warn in the case of missing properties. Available only in __DEV__.\n\t * @type {Object}\n\t */\n\t getPossibleStandardName: false ? {} : null,\n\t\n\t /**\n\t * All of the isCustomAttribute() functions that have been injected.\n\t */\n\t _isCustomAttributeFunctions: [],\n\t\n\t /**\n\t * Checks whether a property name is a custom attribute.\n\t * @method\n\t */\n\t isCustomAttribute: function (attributeName) {\n\t for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n\t var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n\t if (isCustomAttributeFn(attributeName)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t },\n\t\n\t injection: DOMPropertyInjection\n\t};\n\t\n\tmodule.exports = DOMProperty;\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactReconciler\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactRef = __webpack_require__(833);\n\tvar ReactInstrumentation = __webpack_require__(31);\n\t\n\tvar warning = __webpack_require__(6);\n\t\n\t/**\n\t * Helper to call ReactRef.attachRefs with this composite component, split out\n\t * to avoid allocations in the transaction mount-ready queue.\n\t */\n\tfunction attachRefs() {\n\t ReactRef.attachRefs(this, this._currentElement);\n\t}\n\t\n\tvar ReactReconciler = {\n\t\n\t /**\n\t * Initializes the component, renders markup, and registers event listeners.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n\t * @param {?object} the containing host component instance\n\t * @param {?object} info about the host container\n\t * @return {?string} Rendered markup to be inserted into the DOM.\n\t * @final\n\t * @internal\n\t */\n\t mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context) {\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement);\n\t ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'mountComponent');\n\t }\n\t }\n\t var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context);\n\t if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n\t transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n\t }\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'mountComponent');\n\t ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n\t }\n\t }\n\t return markup;\n\t },\n\t\n\t /**\n\t * Returns a value that can be passed to\n\t * ReactComponentEnvironment.replaceNodeWithMarkup.\n\t */\n\t getHostNode: function (internalInstance) {\n\t return internalInstance.getHostNode();\n\t },\n\t\n\t /**\n\t * Releases any resources allocated by `mountComponent`.\n\t *\n\t * @final\n\t * @internal\n\t */\n\t unmountComponent: function (internalInstance, safely) {\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'unmountComponent');\n\t }\n\t }\n\t ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n\t internalInstance.unmountComponent(safely);\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'unmountComponent');\n\t ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Update a component using a new element.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactElement} nextElement\n\t * @param {ReactReconcileTransaction} transaction\n\t * @param {object} context\n\t * @internal\n\t */\n\t receiveComponent: function (internalInstance, nextElement, transaction, context) {\n\t var prevElement = internalInstance._currentElement;\n\t\n\t if (nextElement === prevElement && context === internalInstance._context) {\n\t // Since elements are immutable after the owner is rendered,\n\t // we can do a cheap identity compare here to determine if this is a\n\t // superfluous reconcile. It's possible for state to be mutable but such\n\t // change should trigger an update of the owner which would recreate\n\t // the element. We explicitly check for the existence of an owner since\n\t // it's possible for an element created outside a composite to be\n\t // deeply mutated and reused.\n\t\n\t // TODO: Bailing out early is just a perf optimization right?\n\t // TODO: Removing the return statement should affect correctness?\n\t return;\n\t }\n\t\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n\t ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'receiveComponent');\n\t }\n\t }\n\t\n\t var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\t\n\t if (refsChanged) {\n\t ReactRef.detachRefs(internalInstance, prevElement);\n\t }\n\t\n\t internalInstance.receiveComponent(nextElement, transaction, context);\n\t\n\t if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n\t transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n\t }\n\t\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'receiveComponent');\n\t ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Flush any dirty changes in a component.\n\t *\n\t * @param {ReactComponent} internalInstance\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t */\n\t performUpdateIfNecessary: function (internalInstance, transaction, updateBatchNumber) {\n\t if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n\t // The component's enqueued batch number should always be the current\n\t // batch or the following one.\n\t false ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n\t return;\n\t }\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');\n\t ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n\t }\n\t }\n\t internalInstance.performUpdateIfNecessary(transaction);\n\t if (false) {\n\t if (internalInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');\n\t ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactReconciler;\n\n/***/ },\n/* 90 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.api.invalidResponse\",\n\t defaultMessage: \"Invalid response text.\",\n\t description: \"Invalid response from the API\"\n\t}, {\n\t id: \"app.api.emptyResponse\",\n\t defaultMessage: \"Empty response text.\",\n\t description: \"Empty response from the API\"\n\t}, {\n\t id: \"app.api.error\",\n\t defaultMessage: \"Unknown API error.\",\n\t description: \"An unknown error occurred from the API\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.i18nRecord = undefined;\n\t\n\tvar _immutable = __webpack_require__(12);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/** i18n record for passing errors to be localized from actions to components */\n\tvar i18nRecord = exports.i18nRecord = new _immutable2.default.Record({\n\t id: null, /** Translation message id */\n\t values: new _immutable2.default.Map() }); /**\n\t * This file defines i18n related models.\n\t */\n\t\n\t// NPM import\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// fallback for non-array-like ES3 and non-enumerable old V8 strings\n\tvar cof = __webpack_require__(36);\n\tmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n\t return cof(it) == 'String' ? it.split('') : Object(it);\n\t};\n\n/***/ },\n/* 93 */\n/***/ function(module, exports) {\n\n\texports.f = {}.propertyIsEnumerable;\n\n/***/ },\n/* 94 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyObject = {};\n\t\n\tif (false) {\n\t Object.freeze(emptyObject);\n\t}\n\t\n\tmodule.exports = emptyObject;\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t * getSize v2.0.2\n\t * measure size of elements\n\t * MIT license\n\t */\n\t\n\t/*jshint browser: true, strict: true, undef: true, unused: true */\n\t/*global define: false, module: false, console: false */\n\t\n\t( function( window, factory ) {\n\t 'use strict';\n\t\n\t if ( true ) {\n\t // AMD\n\t !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t return factory();\n\t }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS\n\t module.exports = factory();\n\t } else {\n\t // browser global\n\t window.getSize = factory();\n\t }\n\t\n\t})( window, function factory() {\n\t'use strict';\n\t\n\t// -------------------------- helpers -------------------------- //\n\t\n\t// get a number from a string, not a percentage\n\tfunction getStyleSize( value ) {\n\t var num = parseFloat( value );\n\t // not a percent like '100%', and a number\n\t var isValid = value.indexOf('%') == -1 && !isNaN( num );\n\t return isValid && num;\n\t}\n\t\n\tfunction noop() {}\n\t\n\tvar logError = typeof console == 'undefined' ? noop :\n\t function( message ) {\n\t console.error( message );\n\t };\n\t\n\t// -------------------------- measurements -------------------------- //\n\t\n\tvar measurements = [\n\t 'paddingLeft',\n\t 'paddingRight',\n\t 'paddingTop',\n\t 'paddingBottom',\n\t 'marginLeft',\n\t 'marginRight',\n\t 'marginTop',\n\t 'marginBottom',\n\t 'borderLeftWidth',\n\t 'borderRightWidth',\n\t 'borderTopWidth',\n\t 'borderBottomWidth'\n\t];\n\t\n\tvar measurementsLength = measurements.length;\n\t\n\tfunction getZeroSize() {\n\t var size = {\n\t width: 0,\n\t height: 0,\n\t innerWidth: 0,\n\t innerHeight: 0,\n\t outerWidth: 0,\n\t outerHeight: 0\n\t };\n\t for ( var i=0; i < measurementsLength; i++ ) {\n\t var measurement = measurements[i];\n\t size[ measurement ] = 0;\n\t }\n\t return size;\n\t}\n\t\n\t// -------------------------- getStyle -------------------------- //\n\t\n\t/**\n\t * getStyle, get style of element, check for Firefox bug\n\t * https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n\t */\n\tfunction getStyle( elem ) {\n\t var style = getComputedStyle( elem );\n\t if ( !style ) {\n\t logError( 'Style returned ' + style +\n\t '. Are you running this code in a hidden iframe on Firefox? ' +\n\t 'See http://bit.ly/getsizebug1' );\n\t }\n\t return style;\n\t}\n\t\n\t// -------------------------- setup -------------------------- //\n\t\n\tvar isSetup = false;\n\t\n\tvar isBoxSizeOuter;\n\t\n\t/**\n\t * setup\n\t * check isBoxSizerOuter\n\t * do on first getSize() rather than on page load for Firefox bug\n\t */\n\tfunction setup() {\n\t // setup once\n\t if ( isSetup ) {\n\t return;\n\t }\n\t isSetup = true;\n\t\n\t // -------------------------- box sizing -------------------------- //\n\t\n\t /**\n\t * WebKit measures the outer-width on style.width on border-box elems\n\t * IE & Firefox<29 measures the inner-width\n\t */\n\t var div = document.createElement('div');\n\t div.style.width = '200px';\n\t div.style.padding = '1px 2px 3px 4px';\n\t div.style.borderStyle = 'solid';\n\t div.style.borderWidth = '1px 2px 3px 4px';\n\t div.style.boxSizing = 'border-box';\n\t\n\t var body = document.body || document.documentElement;\n\t body.appendChild( div );\n\t var style = getStyle( div );\n\t\n\t getSize.isBoxSizeOuter = isBoxSizeOuter = getStyleSize( style.width ) == 200;\n\t body.removeChild( div );\n\t\n\t}\n\t\n\t// -------------------------- getSize -------------------------- //\n\t\n\tfunction getSize( elem ) {\n\t setup();\n\t\n\t // use querySeletor if elem is string\n\t if ( typeof elem == 'string' ) {\n\t elem = document.querySelector( elem );\n\t }\n\t\n\t // do not proceed on non-objects\n\t if ( !elem || typeof elem != 'object' || !elem.nodeType ) {\n\t return;\n\t }\n\t\n\t var style = getStyle( elem );\n\t\n\t // if hidden, everything is 0\n\t if ( style.display == 'none' ) {\n\t return getZeroSize();\n\t }\n\t\n\t var size = {};\n\t size.width = elem.offsetWidth;\n\t size.height = elem.offsetHeight;\n\t\n\t var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box';\n\t\n\t // get all measurements\n\t for ( var i=0; i < measurementsLength; i++ ) {\n\t var measurement = measurements[i];\n\t var value = style[ measurement ];\n\t var num = parseFloat( value );\n\t // any 'auto', 'medium' value will be 0\n\t size[ measurement ] = !isNaN( num ) ? num : 0;\n\t }\n\t\n\t var paddingWidth = size.paddingLeft + size.paddingRight;\n\t var paddingHeight = size.paddingTop + size.paddingBottom;\n\t var marginWidth = size.marginLeft + size.marginRight;\n\t var marginHeight = size.marginTop + size.marginBottom;\n\t var borderWidth = size.borderLeftWidth + size.borderRightWidth;\n\t var borderHeight = size.borderTopWidth + size.borderBottomWidth;\n\t\n\t var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;\n\t\n\t // overwrite width and height if we can get it from style\n\t var styleWidth = getStyleSize( style.width );\n\t if ( styleWidth !== false ) {\n\t size.width = styleWidth +\n\t // add padding and border unless it's already including it\n\t ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth );\n\t }\n\t\n\t var styleHeight = getStyleSize( style.height );\n\t if ( styleHeight !== false ) {\n\t size.height = styleHeight +\n\t // add padding and border unless it's already including it\n\t ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight );\n\t }\n\t\n\t size.innerWidth = size.width - ( paddingWidth + borderWidth );\n\t size.innerHeight = size.height - ( paddingHeight + borderHeight );\n\t\n\t size.outerWidth = size.width + marginWidth;\n\t size.outerHeight = size.height + marginHeight;\n\t\n\t return size;\n\t}\n\t\n\treturn getSize;\n\t\n\t});\n\n\n/***/ },\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getLength = __webpack_require__(701),\n\t isFunction = __webpack_require__(129),\n\t isLength = __webpack_require__(130);\n\t\n\t/**\n\t * Checks if `value` is array-like. A value is considered array-like if it's\n\t * not a function and has a `value.length` that's an integer greater than or\n\t * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLike(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLike('abc');\n\t * // => true\n\t *\n\t * _.isArrayLike(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(getLength(value)) && !isFunction(value);\n\t}\n\t\n\tmodule.exports = isArrayLike;\n\n\n/***/ },\n/* 97 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.routerMiddleware = exports.routerActions = exports.goForward = exports.goBack = exports.go = exports.replace = exports.push = exports.CALL_HISTORY_METHOD = exports.routerReducer = exports.LOCATION_CHANGE = exports.syncHistoryWithStore = undefined;\n\t\n\tvar _reducer = __webpack_require__(287);\n\t\n\tObject.defineProperty(exports, 'LOCATION_CHANGE', {\n\t enumerable: true,\n\t get: function get() {\n\t return _reducer.LOCATION_CHANGE;\n\t }\n\t});\n\tObject.defineProperty(exports, 'routerReducer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _reducer.routerReducer;\n\t }\n\t});\n\t\n\tvar _actions = __webpack_require__(286);\n\t\n\tObject.defineProperty(exports, 'CALL_HISTORY_METHOD', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.CALL_HISTORY_METHOD;\n\t }\n\t});\n\tObject.defineProperty(exports, 'push', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.push;\n\t }\n\t});\n\tObject.defineProperty(exports, 'replace', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.replace;\n\t }\n\t});\n\tObject.defineProperty(exports, 'go', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.go;\n\t }\n\t});\n\tObject.defineProperty(exports, 'goBack', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.goBack;\n\t }\n\t});\n\tObject.defineProperty(exports, 'goForward', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.goForward;\n\t }\n\t});\n\tObject.defineProperty(exports, 'routerActions', {\n\t enumerable: true,\n\t get: function get() {\n\t return _actions.routerActions;\n\t }\n\t});\n\t\n\tvar _sync = __webpack_require__(772);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tvar _middleware = __webpack_require__(771);\n\t\n\tvar _middleware2 = _interopRequireDefault(_middleware);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\texports.syncHistoryWithStore = _sync2['default'];\n\texports.routerMiddleware = _middleware2['default'];\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule EventPluginHub\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar EventPluginRegistry = __webpack_require__(188);\n\tvar EventPluginUtils = __webpack_require__(189);\n\tvar ReactErrorUtils = __webpack_require__(195);\n\t\n\tvar accumulateInto = __webpack_require__(313);\n\tvar forEachAccumulated = __webpack_require__(315);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Internal store for event listeners\n\t */\n\tvar listenerBank = {};\n\t\n\t/**\n\t * Internal queue of events that have accumulated their dispatches and are\n\t * waiting to have their dispatches executed.\n\t */\n\tvar eventQueue = null;\n\t\n\t/**\n\t * Dispatches an event and releases it back into the pool, unless persistent.\n\t *\n\t * @param {?object} event Synthetic event to be dispatched.\n\t * @param {boolean} simulated If the event is simulated (changes exn behavior)\n\t * @private\n\t */\n\tvar executeDispatchesAndRelease = function (event, simulated) {\n\t if (event) {\n\t EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\t\n\t if (!event.isPersistent()) {\n\t event.constructor.release(event);\n\t }\n\t }\n\t};\n\tvar executeDispatchesAndReleaseSimulated = function (e) {\n\t return executeDispatchesAndRelease(e, true);\n\t};\n\tvar executeDispatchesAndReleaseTopLevel = function (e) {\n\t return executeDispatchesAndRelease(e, false);\n\t};\n\t\n\tvar getDictionaryKey = function (inst) {\n\t return '.' + inst._rootNodeID;\n\t};\n\t\n\t/**\n\t * This is a unified interface for event plugins to be installed and configured.\n\t *\n\t * Event plugins can implement the following properties:\n\t *\n\t * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n\t * Required. When a top-level event is fired, this method is expected to\n\t * extract synthetic events that will in turn be queued and dispatched.\n\t *\n\t * `eventTypes` {object}\n\t * Optional, plugins that fire events must publish a mapping of registration\n\t * names that are used to register listeners. Values of this mapping must\n\t * be objects that contain `registrationName` or `phasedRegistrationNames`.\n\t *\n\t * `executeDispatch` {function(object, function, string)}\n\t * Optional, allows plugins to override how an event gets dispatched. By\n\t * default, the listener is simply invoked.\n\t *\n\t * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n\t *\n\t * @public\n\t */\n\tvar EventPluginHub = {\n\t\n\t /**\n\t * Methods for injecting dependencies.\n\t */\n\t injection: {\n\t\n\t /**\n\t * @param {array} InjectedEventPluginOrder\n\t * @public\n\t */\n\t injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\t\n\t /**\n\t * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n\t */\n\t injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\t\n\t },\n\t\n\t /**\n\t * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @param {function} listener The callback to store.\n\t */\n\t putListener: function (inst, registrationName, listener) {\n\t !(typeof listener === 'function') ? false ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : _prodInvariant('94', registrationName, typeof listener) : void 0;\n\t\n\t var key = getDictionaryKey(inst);\n\t var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n\t bankForRegistrationName[key] = listener;\n\t\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.didPutListener) {\n\t PluginModule.didPutListener(inst, registrationName, listener);\n\t }\n\t },\n\t\n\t /**\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @return {?function} The stored callback.\n\t */\n\t getListener: function (inst, registrationName) {\n\t var bankForRegistrationName = listenerBank[registrationName];\n\t var key = getDictionaryKey(inst);\n\t return bankForRegistrationName && bankForRegistrationName[key];\n\t },\n\t\n\t /**\n\t * Deletes a listener from the registration bank.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t */\n\t deleteListener: function (inst, registrationName) {\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.willDeleteListener) {\n\t PluginModule.willDeleteListener(inst, registrationName);\n\t }\n\t\n\t var bankForRegistrationName = listenerBank[registrationName];\n\t // TODO: This should never be null -- when is it?\n\t if (bankForRegistrationName) {\n\t var key = getDictionaryKey(inst);\n\t delete bankForRegistrationName[key];\n\t }\n\t },\n\t\n\t /**\n\t * Deletes all listeners for the DOM element with the supplied ID.\n\t *\n\t * @param {object} inst The instance, which is the source of events.\n\t */\n\t deleteAllListeners: function (inst) {\n\t var key = getDictionaryKey(inst);\n\t for (var registrationName in listenerBank) {\n\t if (!listenerBank.hasOwnProperty(registrationName)) {\n\t continue;\n\t }\n\t\n\t if (!listenerBank[registrationName][key]) {\n\t continue;\n\t }\n\t\n\t var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n\t if (PluginModule && PluginModule.willDeleteListener) {\n\t PluginModule.willDeleteListener(inst, registrationName);\n\t }\n\t\n\t delete listenerBank[registrationName][key];\n\t }\n\t },\n\t\n\t /**\n\t * Allows registered plugins an opportunity to extract events from top-level\n\t * native browser events.\n\t *\n\t * @return {*} An accumulation of synthetic events.\n\t * @internal\n\t */\n\t extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n\t var events;\n\t var plugins = EventPluginRegistry.plugins;\n\t for (var i = 0; i < plugins.length; i++) {\n\t // Not every plugin in the ordering may be loaded at runtime.\n\t var possiblePlugin = plugins[i];\n\t if (possiblePlugin) {\n\t var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n\t if (extractedEvents) {\n\t events = accumulateInto(events, extractedEvents);\n\t }\n\t }\n\t }\n\t return events;\n\t },\n\t\n\t /**\n\t * Enqueues a synthetic event that should be dispatched when\n\t * `processEventQueue` is invoked.\n\t *\n\t * @param {*} events An accumulation of synthetic events.\n\t * @internal\n\t */\n\t enqueueEvents: function (events) {\n\t if (events) {\n\t eventQueue = accumulateInto(eventQueue, events);\n\t }\n\t },\n\t\n\t /**\n\t * Dispatches all synthetic events on the event queue.\n\t *\n\t * @internal\n\t */\n\t processEventQueue: function (simulated) {\n\t // Set `eventQueue` to null before processing it so that we can tell if more\n\t // events get enqueued while processing.\n\t var processingEventQueue = eventQueue;\n\t eventQueue = null;\n\t if (simulated) {\n\t forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n\t } else {\n\t forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n\t }\n\t !!eventQueue ? false ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n\t // This would be a good time to rethrow if any of the event handlers threw.\n\t ReactErrorUtils.rethrowCaughtError();\n\t },\n\t\n\t /**\n\t * These are needed for tests only. Do not use!\n\t */\n\t __purge: function () {\n\t listenerBank = {};\n\t },\n\t\n\t __getListenerBank: function () {\n\t return listenerBank;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = EventPluginHub;\n\n/***/ },\n/* 99 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule EventPropagators\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventConstants = __webpack_require__(54);\n\tvar EventPluginHub = __webpack_require__(98);\n\tvar EventPluginUtils = __webpack_require__(189);\n\t\n\tvar accumulateInto = __webpack_require__(313);\n\tvar forEachAccumulated = __webpack_require__(315);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar PropagationPhases = EventConstants.PropagationPhases;\n\tvar getListener = EventPluginHub.getListener;\n\t\n\t/**\n\t * Some event types have a notion of different registration names for different\n\t * \"phases\" of propagation. This finds listeners by a given phase.\n\t */\n\tfunction listenerAtPhase(inst, event, propagationPhase) {\n\t var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n\t return getListener(inst, registrationName);\n\t}\n\t\n\t/**\n\t * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n\t * here, allows us to not have to bind or create functions for each event.\n\t * Mutating the event's members allows us to not have to create a wrapping\n\t * \"dispatch\" object that pairs the event with the listener.\n\t */\n\tfunction accumulateDirectionalDispatches(inst, upwards, event) {\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n\t }\n\t var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\n\t var listener = listenerAtPhase(inst, event, phase);\n\t if (listener) {\n\t event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n\t event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n\t }\n\t}\n\t\n\t/**\n\t * Collect dispatches (must be entirely collected before dispatching - see unit\n\t * tests). Lazily allocate the array to conserve memory. We must loop through\n\t * each event and perform the traversal for each one. We cannot perform a\n\t * single traversal for the entire collection of events because each event may\n\t * have a different target.\n\t */\n\tfunction accumulateTwoPhaseDispatchesSingle(event) {\n\t if (event && event.dispatchConfig.phasedRegistrationNames) {\n\t EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n\t }\n\t}\n\t\n\t/**\n\t * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n\t */\n\tfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n\t if (event && event.dispatchConfig.phasedRegistrationNames) {\n\t var targetInst = event._targetInst;\n\t var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n\t EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n\t }\n\t}\n\t\n\t/**\n\t * Accumulates without regard to direction, does not look for phased\n\t * registration names. Same as `accumulateDirectDispatchesSingle` but without\n\t * requiring that the `dispatchMarker` be the same as the dispatched ID.\n\t */\n\tfunction accumulateDispatches(inst, ignoredDirection, event) {\n\t if (event && event.dispatchConfig.registrationName) {\n\t var registrationName = event.dispatchConfig.registrationName;\n\t var listener = getListener(inst, registrationName);\n\t if (listener) {\n\t event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n\t event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Accumulates dispatches on an `SyntheticEvent`, but only for the\n\t * `dispatchMarker`.\n\t * @param {SyntheticEvent} event\n\t */\n\tfunction accumulateDirectDispatchesSingle(event) {\n\t if (event && event.dispatchConfig.registrationName) {\n\t accumulateDispatches(event._targetInst, null, event);\n\t }\n\t}\n\t\n\tfunction accumulateTwoPhaseDispatches(events) {\n\t forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n\t}\n\t\n\tfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n\t forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n\t}\n\t\n\tfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n\t EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n\t}\n\t\n\tfunction accumulateDirectDispatches(events) {\n\t forEachAccumulated(events, accumulateDirectDispatchesSingle);\n\t}\n\t\n\t/**\n\t * A small set of propagation patterns, each of which will accept a small amount\n\t * of information, and generate a set of \"dispatch ready event objects\" - which\n\t * are sets of events that have already been annotated with a set of dispatched\n\t * listener functions/ids. The API is designed this way to discourage these\n\t * propagation strategies from actually executing the dispatches, since we\n\t * always want to collect the entire set of dispatches before executing event a\n\t * single one.\n\t *\n\t * @constructor EventPropagators\n\t */\n\tvar EventPropagators = {\n\t accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n\t accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n\t accumulateDirectDispatches: accumulateDirectDispatches,\n\t accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n\t};\n\t\n\tmodule.exports = EventPropagators;\n\n/***/ },\n/* 100 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactInstanceMap\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * `ReactInstanceMap` maintains a mapping from a public facing stateful\n\t * instance (key) and the internal representation (value). This allows public\n\t * methods to accept the user facing instance as an argument and map them back\n\t * to internal methods.\n\t */\n\t\n\t// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\t\n\tvar ReactInstanceMap = {\n\t\n\t /**\n\t * This API should be called `delete` but we'd have to make sure to always\n\t * transform these to strings for IE support. When this transform is fully\n\t * supported we can rename it.\n\t */\n\t remove: function (key) {\n\t key._reactInternalInstance = undefined;\n\t },\n\t\n\t get: function (key) {\n\t return key._reactInternalInstance;\n\t },\n\t\n\t has: function (key) {\n\t return key._reactInternalInstance !== undefined;\n\t },\n\t\n\t set: function (key, value) {\n\t key._reactInternalInstance = value;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactInstanceMap;\n\n/***/ },\n/* 101 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule SyntheticUIEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(55);\n\t\n\tvar getEventTarget = __webpack_require__(204);\n\t\n\t/**\n\t * @interface UIEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar UIEventInterface = {\n\t view: function (event) {\n\t if (event.view) {\n\t return event.view;\n\t }\n\t\n\t var target = getEventTarget(event);\n\t if (target.window === target) {\n\t // target is a window object\n\t return target;\n\t }\n\t\n\t var doc = target.ownerDocument;\n\t // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n\t if (doc) {\n\t return doc.defaultView || doc.parentWindow;\n\t } else {\n\t return window;\n\t }\n\t },\n\t detail: function (event) {\n\t return event.detail || 0;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticEvent}\n\t */\n\tfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\t\n\tmodule.exports = SyntheticUIEvent;\n\n/***/ },\n/* 102 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule Transaction\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * `Transaction` creates a black box that is able to wrap any method such that\n\t * certain invariants are maintained before and after the method is invoked\n\t * (Even if an exception is thrown while invoking the wrapped method). Whoever\n\t * instantiates a transaction can provide enforcers of the invariants at\n\t * creation time. The `Transaction` class itself will supply one additional\n\t * automatic invariant for you - the invariant that any transaction instance\n\t * should not be run while it is already being run. You would typically create a\n\t * single instance of a `Transaction` for reuse multiple times, that potentially\n\t * is used to wrap several different methods. Wrappers are extremely simple -\n\t * they only require implementing two methods.\n\t *\n\t * \n\t * wrappers (injected at creation time)\n\t * + +\n\t * | |\n\t * +-----------------|--------|--------------+\n\t * | v | |\n\t * | +---------------+ | |\n\t * | +--| wrapper1 |---|----+ |\n\t * | | +---------------+ v | |\n\t * | | +-------------+ | |\n\t * | | +----| wrapper2 |--------+ |\n\t * | | | +-------------+ | | |\n\t * | | | | | |\n\t * | v v v v | wrapper\n\t * | +---+ +---+ +---------+ +---+ +---+ | invariants\n\t * perform(anyMethod) | | | | | | | | | | | | maintained\n\t * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n\t * | | | | | | | | | | | |\n\t * | | | | | | | | | | | |\n\t * | | | | | | | | | | | |\n\t * | +---+ +---+ +---------+ +---+ +---+ |\n\t * | initialize close |\n\t * +-----------------------------------------+\n\t * \n\t *\n\t * Use cases:\n\t * - Preserving the input selection ranges before/after reconciliation.\n\t * Restoring selection even in the event of an unexpected error.\n\t * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n\t * while guaranteeing that afterwards, the event system is reactivated.\n\t * - Flushing a queue of collected DOM mutations to the main UI thread after a\n\t * reconciliation takes place in a worker thread.\n\t * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n\t * content.\n\t * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n\t * to preserve the `scrollTop` (an automatic scroll aware DOM).\n\t * - (Future use case): Layout calculations before and after DOM updates.\n\t *\n\t * Transactional plugin API:\n\t * - A module that has an `initialize` method that returns any precomputation.\n\t * - and a `close` method that accepts the precomputation. `close` is invoked\n\t * when the wrapped process is completed, or has failed.\n\t *\n\t * @param {Array} transactionWrapper Wrapper modules\n\t * that implement `initialize` and `close`.\n\t * @return {Transaction} Single transaction for reuse in thread.\n\t *\n\t * @class Transaction\n\t */\n\tvar Mixin = {\n\t /**\n\t * Sets up this instance so that it is prepared for collecting metrics. Does\n\t * so such that this setup method may be used on an instance that is already\n\t * initialized, in a way that does not consume additional memory upon reuse.\n\t * That can be useful if you decide to make your subclass of this mixin a\n\t * \"PooledClass\".\n\t */\n\t reinitializeTransaction: function () {\n\t this.transactionWrappers = this.getTransactionWrappers();\n\t if (this.wrapperInitData) {\n\t this.wrapperInitData.length = 0;\n\t } else {\n\t this.wrapperInitData = [];\n\t }\n\t this._isInTransaction = false;\n\t },\n\t\n\t _isInTransaction: false,\n\t\n\t /**\n\t * @abstract\n\t * @return {Array} Array of transaction wrappers.\n\t */\n\t getTransactionWrappers: null,\n\t\n\t isInTransaction: function () {\n\t return !!this._isInTransaction;\n\t },\n\t\n\t /**\n\t * Executes the function within a safety window. Use this for the top level\n\t * methods that result in large amounts of computation/mutations that would\n\t * need to be safety checked. The optional arguments helps prevent the need\n\t * to bind in many cases.\n\t *\n\t * @param {function} method Member of scope to call.\n\t * @param {Object} scope Scope to invoke from.\n\t * @param {Object?=} a Argument to pass to the method.\n\t * @param {Object?=} b Argument to pass to the method.\n\t * @param {Object?=} c Argument to pass to the method.\n\t * @param {Object?=} d Argument to pass to the method.\n\t * @param {Object?=} e Argument to pass to the method.\n\t * @param {Object?=} f Argument to pass to the method.\n\t *\n\t * @return {*} Return value from `method`.\n\t */\n\t perform: function (method, scope, a, b, c, d, e, f) {\n\t !!this.isInTransaction() ? false ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n\t var errorThrown;\n\t var ret;\n\t try {\n\t this._isInTransaction = true;\n\t // Catching errors makes debugging more difficult, so we start with\n\t // errorThrown set to true before setting it to false after calling\n\t // close -- if it's still set to true in the finally block, it means\n\t // one of these calls threw.\n\t errorThrown = true;\n\t this.initializeAll(0);\n\t ret = method.call(scope, a, b, c, d, e, f);\n\t errorThrown = false;\n\t } finally {\n\t try {\n\t if (errorThrown) {\n\t // If `method` throws, prefer to show that stack trace over any thrown\n\t // by invoking `closeAll`.\n\t try {\n\t this.closeAll(0);\n\t } catch (err) {}\n\t } else {\n\t // Since `method` didn't throw, we don't want to silence the exception\n\t // here.\n\t this.closeAll(0);\n\t }\n\t } finally {\n\t this._isInTransaction = false;\n\t }\n\t }\n\t return ret;\n\t },\n\t\n\t initializeAll: function (startIndex) {\n\t var transactionWrappers = this.transactionWrappers;\n\t for (var i = startIndex; i < transactionWrappers.length; i++) {\n\t var wrapper = transactionWrappers[i];\n\t try {\n\t // Catching errors makes debugging more difficult, so we start with the\n\t // OBSERVED_ERROR state before overwriting it with the real return value\n\t // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n\t // block, it means wrapper.initialize threw.\n\t this.wrapperInitData[i] = Transaction.OBSERVED_ERROR;\n\t this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n\t } finally {\n\t if (this.wrapperInitData[i] === Transaction.OBSERVED_ERROR) {\n\t // The initializer for wrapper i threw an error; initialize the\n\t // remaining wrappers but silence any exceptions from them to ensure\n\t // that the first error is the one to bubble up.\n\t try {\n\t this.initializeAll(i + 1);\n\t } catch (err) {}\n\t }\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n\t * them the respective return values of `this.transactionWrappers.init[i]`\n\t * (`close`rs that correspond to initializers that failed will not be\n\t * invoked).\n\t */\n\t closeAll: function (startIndex) {\n\t !this.isInTransaction() ? false ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n\t var transactionWrappers = this.transactionWrappers;\n\t for (var i = startIndex; i < transactionWrappers.length; i++) {\n\t var wrapper = transactionWrappers[i];\n\t var initData = this.wrapperInitData[i];\n\t var errorThrown;\n\t try {\n\t // Catching errors makes debugging more difficult, so we start with\n\t // errorThrown set to true before setting it to false after calling\n\t // close -- if it's still set to true in the finally block, it means\n\t // wrapper.close threw.\n\t errorThrown = true;\n\t if (initData !== Transaction.OBSERVED_ERROR && wrapper.close) {\n\t wrapper.close.call(this, initData);\n\t }\n\t errorThrown = false;\n\t } finally {\n\t if (errorThrown) {\n\t // The closer for wrapper i threw an error; close the remaining\n\t // wrappers but silence any exceptions from them to ensure that the\n\t // first error is the one to bubble up.\n\t try {\n\t this.closeAll(i + 1);\n\t } catch (e) {}\n\t }\n\t }\n\t }\n\t this.wrapperInitData.length = 0;\n\t }\n\t};\n\t\n\tvar Transaction = {\n\t\n\t Mixin: Mixin,\n\t\n\t /**\n\t * Token to look for to determine if an error occurred.\n\t */\n\t OBSERVED_ERROR: {}\n\t\n\t};\n\t\n\tmodule.exports = Transaction;\n\n/***/ },\n/* 103 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.pushEntities = pushEntities;\n\texports.incrementRefCount = incrementRefCount;\n\texports.decrementRefCount = decrementRefCount;\n\t/**\n\t * This file implements actions related to global entities store.\n\t */\n\t\n\tvar PUSH_ENTITIES = exports.PUSH_ENTITIES = \"PUSH_ENTITIES\";\n\t/**\n\t * Push some entities in the global entities store.\n\t *\n\t * @param entities An entities mapping, such as the one in the entities\n\t * store: type => id => entity.\n\t * @param refCountType An array of entities type to consider for\n\t * increasing reference counting (elements loaded as nested objects)\n\t * @return A PUSH_ENTITIES action.\n\t */\n\tfunction pushEntities(entities) {\n\t var refCountType = arguments.length <= 1 || arguments[1] === undefined ? [\"album\", \"artist\", \"song\"] : arguments[1];\n\t\n\t return {\n\t type: PUSH_ENTITIES,\n\t payload: {\n\t entities: entities,\n\t refCountType: refCountType\n\t }\n\t };\n\t}\n\t\n\tvar INCREMENT_REFCOUNT = exports.INCREMENT_REFCOUNT = \"INCREMENT_REFCOUNT\";\n\t/**\n\t * Increment the reference counter for given entities.\n\t *\n\t * @param ids A mapping type => list of IDs, each ID being the one of an\n\t * entity to increment reference counter. List of IDs must be\n\t * a JS Object.\n\t * @return An INCREMENT_REFCOUNT action.\n\t */\n\tfunction incrementRefCount(entities) {\n\t return {\n\t type: INCREMENT_REFCOUNT,\n\t payload: {\n\t entities: entities\n\t }\n\t };\n\t}\n\t\n\tvar DECREMENT_REFCOUNT = exports.DECREMENT_REFCOUNT = \"DECREMENT_REFCOUNT\";\n\t/**\n\t * Decrement the reference counter for given entities.\n\t *\n\t * @param ids A mapping type => list of IDs, each ID being the one of an\n\t * entity to decrement reference counter. List of IDs must be\n\t * a JS Object.\n\t * @return A DECREMENT_REFCOUNT action.\n\t */\n\tfunction decrementRefCount(entities) {\n\t return {\n\t type: DECREMENT_REFCOUNT,\n\t payload: {\n\t entities: entities\n\t }\n\t };\n\t}\n\n/***/ },\n/* 104 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t/**\n\t * A dismissible Bootstrap alert.\n\t */\n\tvar DismissibleAlert = function (_Component) {\n\t _inherits(DismissibleAlert, _Component);\n\t\n\t function DismissibleAlert() {\n\t _classCallCheck(this, DismissibleAlert);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(DismissibleAlert).apply(this, arguments));\n\t }\n\t\n\t _createClass(DismissibleAlert, [{\n\t key: \"render\",\n\t value: function render() {\n\t // Set correct alert type\n\t var alertType = \"alert-danger\";\n\t if (this.props.type) {\n\t alertType = \"alert-\" + this.props.type;\n\t }\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: [\"alert\", alertType].join(\" \"), role: \"alert\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"close\", \"data-dismiss\": \"alert\", \"aria-label\": \"Close\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { \"aria-hidden\": \"true\" },\n\t \"×\"\n\t )\n\t ),\n\t this.props.text\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return DismissibleAlert;\n\t}(_react.Component);\n\t\n\texports.default = DismissibleAlert;\n\t\n\tDismissibleAlert.propTypes = {\n\t type: _react.PropTypes.string,\n\t text: _react.PropTypes.string\n\t};\n\n/***/ },\n/* 105 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// false -> Array#indexOf\n\t// true -> Array#includes\n\tvar toIObject = __webpack_require__(30)\n\t , toLength = __webpack_require__(18)\n\t , toIndex = __webpack_require__(73);\n\tmodule.exports = function(IS_INCLUDES){\n\t return function($this, el, fromIndex){\n\t var O = toIObject($this)\n\t , length = toLength(O.length)\n\t , index = toIndex(fromIndex, length)\n\t , value;\n\t // Array#includes uses SameValueZero equality algorithm\n\t if(IS_INCLUDES && el != el)while(length > index){\n\t value = O[index++];\n\t if(value != value)return true;\n\t // Array#toIndex ignores holes, Array#includes - not\n\t } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n\t if(O[index] === el)return IS_INCLUDES || index || 0;\n\t } return !IS_INCLUDES && -1;\n\t };\n\t};\n\n/***/ },\n/* 106 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(7)\n\t , $export = __webpack_require__(1)\n\t , redefine = __webpack_require__(28)\n\t , redefineAll = __webpack_require__(71)\n\t , meta = __webpack_require__(57)\n\t , forOf = __webpack_require__(82)\n\t , anInstance = __webpack_require__(56)\n\t , isObject = __webpack_require__(9)\n\t , fails = __webpack_require__(8)\n\t , $iterDetect = __webpack_require__(111)\n\t , setToStringTag = __webpack_require__(83)\n\t , inheritIfRequired = __webpack_require__(149);\n\t\n\tmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n\t var Base = global[NAME]\n\t , C = Base\n\t , ADDER = IS_MAP ? 'set' : 'add'\n\t , proto = C && C.prototype\n\t , O = {};\n\t var fixMethod = function(KEY){\n\t var fn = proto[KEY];\n\t redefine(proto, KEY,\n\t KEY == 'delete' ? function(a){\n\t return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'has' ? function has(a){\n\t return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'get' ? function get(a){\n\t return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n\t : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n\t );\n\t };\n\t if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n\t new C().entries().next();\n\t }))){\n\t // create collection constructor\n\t C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n\t redefineAll(C.prototype, methods);\n\t meta.NEED = true;\n\t } else {\n\t var instance = new C\n\t // early implementations not supports chaining\n\t , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n\t // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n\t , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n\t // most early implementations doesn't supports iterables, most modern - not close it correctly\n\t , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n\t // for early implementations -0 and +0 not the same\n\t , BUGGY_ZERO = !IS_WEAK && fails(function(){\n\t // V8 ~ Chromium 42- fails only with 5+ elements\n\t var $instance = new C()\n\t , index = 5;\n\t while(index--)$instance[ADDER](index, index);\n\t return !$instance.has(-0);\n\t });\n\t if(!ACCEPT_ITERABLES){ \n\t C = wrapper(function(target, iterable){\n\t anInstance(target, C, NAME);\n\t var that = inheritIfRequired(new Base, target, C);\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t return that;\n\t });\n\t C.prototype = proto;\n\t proto.constructor = C;\n\t }\n\t if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n\t fixMethod('delete');\n\t fixMethod('has');\n\t IS_MAP && fixMethod('get');\n\t }\n\t if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n\t // weak collections should not contains .clear method\n\t if(IS_WEAK && proto.clear)delete proto.clear;\n\t }\n\t\n\t setToStringTag(C, NAME);\n\t\n\t O[NAME] = C;\n\t $export($export.G + $export.W + $export.F * (C != Base), O);\n\t\n\t if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\t\n\t return C;\n\t};\n\n/***/ },\n/* 107 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar hide = __webpack_require__(25)\n\t , redefine = __webpack_require__(28)\n\t , fails = __webpack_require__(8)\n\t , defined = __webpack_require__(37)\n\t , wks = __webpack_require__(10);\n\t\n\tmodule.exports = function(KEY, length, exec){\n\t var SYMBOL = wks(KEY)\n\t , fns = exec(defined, SYMBOL, ''[KEY])\n\t , strfn = fns[0]\n\t , rxfn = fns[1];\n\t if(fails(function(){\n\t var O = {};\n\t O[SYMBOL] = function(){ return 7; };\n\t return ''[KEY](O) != 7;\n\t })){\n\t redefine(String.prototype, KEY, strfn);\n\t hide(RegExp.prototype, SYMBOL, length == 2\n\t // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n\t // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n\t ? function(string, arg){ return rxfn.call(string, this, arg); }\n\t // 21.2.5.6 RegExp.prototype[@@match](string)\n\t // 21.2.5.9 RegExp.prototype[@@search](string)\n\t : function(string){ return rxfn.call(string, this); }\n\t );\n\t }\n\t};\n\n/***/ },\n/* 108 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 21.2.5.3 get RegExp.prototype.flags\n\tvar anObject = __webpack_require__(4);\n\tmodule.exports = function(){\n\t var that = anObject(this)\n\t , result = '';\n\t if(that.global) result += 'g';\n\t if(that.ignoreCase) result += 'i';\n\t if(that.multiline) result += 'm';\n\t if(that.unicode) result += 'u';\n\t if(that.sticky) result += 'y';\n\t return result;\n\t};\n\n/***/ },\n/* 109 */\n/***/ function(module, exports) {\n\n\t// fast apply, http://jsperf.lnkit.com/fast-apply/5\n\tmodule.exports = function(fn, args, that){\n\t var un = that === undefined;\n\t switch(args.length){\n\t case 0: return un ? fn()\n\t : fn.call(that);\n\t case 1: return un ? fn(args[0])\n\t : fn.call(that, args[0]);\n\t case 2: return un ? fn(args[0], args[1])\n\t : fn.call(that, args[0], args[1]);\n\t case 3: return un ? fn(args[0], args[1], args[2])\n\t : fn.call(that, args[0], args[1], args[2]);\n\t case 4: return un ? fn(args[0], args[1], args[2], args[3])\n\t : fn.call(that, args[0], args[1], args[2], args[3]);\n\t } return fn.apply(that, args);\n\t};\n\n/***/ },\n/* 110 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.2.8 IsRegExp(argument)\n\tvar isObject = __webpack_require__(9)\n\t , cof = __webpack_require__(36)\n\t , MATCH = __webpack_require__(10)('match');\n\tmodule.exports = function(it){\n\t var isRegExp;\n\t return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n\t};\n\n/***/ },\n/* 111 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ITERATOR = __webpack_require__(10)('iterator')\n\t , SAFE_CLOSING = false;\n\t\n\ttry {\n\t var riter = [7][ITERATOR]();\n\t riter['return'] = function(){ SAFE_CLOSING = true; };\n\t Array.from(riter, function(){ throw 2; });\n\t} catch(e){ /* empty */ }\n\t\n\tmodule.exports = function(exec, skipClosing){\n\t if(!skipClosing && !SAFE_CLOSING)return false;\n\t var safe = false;\n\t try {\n\t var arr = [7]\n\t , iter = arr[ITERATOR]();\n\t iter.next = function(){ return {done: safe = true}; };\n\t arr[ITERATOR] = function(){ return iter; };\n\t exec(arr);\n\t } catch(e){ /* empty */ }\n\t return safe;\n\t};\n\n/***/ },\n/* 112 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Forced replacement prototype accessors methods\r\n\tmodule.exports = __webpack_require__(67)|| !__webpack_require__(8)(function(){\r\n\t var K = Math.random();\r\n\t // In FF throws only define methods\r\n\t __defineSetter__.call(null, K, function(){ /* empty */});\r\n\t delete __webpack_require__(7)[K];\r\n\t});\n\n/***/ },\n/* 113 */\n/***/ function(module, exports) {\n\n\texports.f = Object.getOwnPropertySymbols;\n\n/***/ },\n/* 114 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Works with __proto__ only. Old v8 can't work with null proto objects.\n\t/* eslint-disable no-proto */\n\tvar isObject = __webpack_require__(9)\n\t , anObject = __webpack_require__(4);\n\tvar check = function(O, proto){\n\t anObject(O);\n\t if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n\t};\n\tmodule.exports = {\n\t set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n\t function(test, buggy, set){\n\t try {\n\t set = __webpack_require__(50)(Function.call, __webpack_require__(32).f(Object.prototype, '__proto__').set, 2);\n\t set(test, []);\n\t buggy = !(test instanceof Array);\n\t } catch(e){ buggy = true; }\n\t return function setPrototypeOf(O, proto){\n\t check(O, proto);\n\t if(buggy)O.__proto__ = proto;\n\t else set(O, proto);\n\t return O;\n\t };\n\t }({}, false) : undefined),\n\t check: check\n\t};\n\n/***/ },\n/* 115 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(7)\n\t , SHARED = '__core-js_shared__'\n\t , store = global[SHARED] || (global[SHARED] = {});\n\tmodule.exports = function(key){\n\t return store[key] || (store[key] = {});\n\t};\n\n/***/ },\n/* 116 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(7)\n\t , hide = __webpack_require__(25)\n\t , uid = __webpack_require__(74)\n\t , TYPED = uid('typed_array')\n\t , VIEW = uid('view')\n\t , ABV = !!(global.ArrayBuffer && global.DataView)\n\t , CONSTR = ABV\n\t , i = 0, l = 9, Typed;\n\t\n\tvar TypedArrayConstructors = (\n\t 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n\t).split(',');\n\t\n\twhile(i < l){\n\t if(Typed = global[TypedArrayConstructors[i++]]){\n\t hide(Typed.prototype, TYPED, true);\n\t hide(Typed.prototype, VIEW, true);\n\t } else CONSTR = false;\n\t}\n\t\n\tmodule.exports = {\n\t ABV: ABV,\n\t CONSTR: CONSTR,\n\t TYPED: TYPED,\n\t VIEW: VIEW\n\t};\n\n/***/ },\n/* 117 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks static-only\n\t */\n\t\n\t'use strict';\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Constructs an enumeration with keys equal to their value.\n\t *\n\t * For example:\n\t *\n\t * var COLORS = keyMirror({blue: null, red: null});\n\t * var myColor = COLORS.blue;\n\t * var isColorValid = !!COLORS[myColor];\n\t *\n\t * The last line could not be performed if the values of the generated enum were\n\t * not equal to their keys.\n\t *\n\t * Input: {key1: val1, key2: val2}\n\t * Output: {key1: key1, key2: key2}\n\t *\n\t * @param {object} obj\n\t * @return {object}\n\t */\n\tvar keyMirror = function keyMirror(obj) {\n\t var ret = {};\n\t var key;\n\t !(obj instanceof Object && !Array.isArray(obj)) ? false ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0;\n\t for (key in obj) {\n\t if (!obj.hasOwnProperty(key)) {\n\t continue;\n\t }\n\t ret[key] = key;\n\t }\n\t return ret;\n\t};\n\t\n\tmodule.exports = keyMirror;\n\n/***/ },\n/* 118 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t * \n\t */\n\t\n\t/*eslint-disable no-self-compare */\n\t\n\t'use strict';\n\t\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\t\n\t/**\n\t * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t */\n\tfunction is(x, y) {\n\t // SameValue algorithm\n\t if (x === y) {\n\t // Steps 1-5, 7-10\n\t // Steps 6.b-6.e: +0 != -0\n\t return x !== 0 || 1 / x === 1 / y;\n\t } else {\n\t // Step 6.a: NaN == NaN\n\t return x !== x && y !== y;\n\t }\n\t}\n\t\n\t/**\n\t * Performs equality by iterating through keys on an object and returning false\n\t * when any key has values which are not strictly equal between the arguments.\n\t * Returns true when the values of all keys are strictly equal.\n\t */\n\tfunction shallowEqual(objA, objB) {\n\t if (is(objA, objB)) {\n\t return true;\n\t }\n\t\n\t if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = shallowEqual;\n\n/***/ },\n/* 119 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\tvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\texports.canUseDOM = canUseDOM;\n\n/***/ },\n/* 120 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tvar _queryString = __webpack_require__(755);\n\t\n\tvar _runTransitionHook = __webpack_require__(174);\n\t\n\tvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\t\n\tvar _PathUtils = __webpack_require__(76);\n\t\n\tvar _deprecate = __webpack_require__(173);\n\t\n\tvar _deprecate2 = _interopRequireDefault(_deprecate);\n\t\n\tvar SEARCH_BASE_KEY = '$searchBase';\n\t\n\tfunction defaultStringifyQuery(query) {\n\t return _queryString.stringify(query).replace(/%20/g, '+');\n\t}\n\t\n\tvar defaultParseQueryString = _queryString.parse;\n\t\n\tfunction isNestedObject(object) {\n\t for (var p in object) {\n\t if (Object.prototype.hasOwnProperty.call(object, p) && typeof object[p] === 'object' && !Array.isArray(object[p]) && object[p] !== null) return true;\n\t }return false;\n\t}\n\t\n\t/**\n\t * Returns a new createHistory function that may be used to create\n\t * history objects that know how to handle URL queries.\n\t */\n\tfunction useQueries(createHistory) {\n\t return function () {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t var history = createHistory(options);\n\t\n\t var stringifyQuery = options.stringifyQuery;\n\t var parseQueryString = options.parseQueryString;\n\t\n\t if (typeof stringifyQuery !== 'function') stringifyQuery = defaultStringifyQuery;\n\t\n\t if (typeof parseQueryString !== 'function') parseQueryString = defaultParseQueryString;\n\t\n\t function addQuery(location) {\n\t if (location.query == null) {\n\t var search = location.search;\n\t\n\t location.query = parseQueryString(search.substring(1));\n\t location[SEARCH_BASE_KEY] = { search: search, searchBase: '' };\n\t }\n\t\n\t // TODO: Instead of all the book-keeping here, this should just strip the\n\t // stringified query from the search.\n\t\n\t return location;\n\t }\n\t\n\t function appendQuery(location, query) {\n\t var _extends2;\n\t\n\t var searchBaseSpec = location[SEARCH_BASE_KEY];\n\t var queryString = query ? stringifyQuery(query) : '';\n\t if (!searchBaseSpec && !queryString) {\n\t return location;\n\t }\n\t\n\t false ? _warning2['default'](stringifyQuery !== defaultStringifyQuery || !isNestedObject(query), 'useQueries does not stringify nested query objects by default; ' + 'use a custom stringifyQuery function') : undefined;\n\t\n\t if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\t\n\t var searchBase = undefined;\n\t if (searchBaseSpec && location.search === searchBaseSpec.search) {\n\t searchBase = searchBaseSpec.searchBase;\n\t } else {\n\t searchBase = location.search || '';\n\t }\n\t\n\t var search = searchBase;\n\t if (queryString) {\n\t search += (search ? '&' : '?') + queryString;\n\t }\n\t\n\t return _extends({}, location, (_extends2 = {\n\t search: search\n\t }, _extends2[SEARCH_BASE_KEY] = { search: search, searchBase: searchBase }, _extends2));\n\t }\n\t\n\t // Override all read methods with query-aware versions.\n\t function listenBefore(hook) {\n\t return history.listenBefore(function (location, callback) {\n\t _runTransitionHook2['default'](hook, addQuery(location), callback);\n\t });\n\t }\n\t\n\t function listen(listener) {\n\t return history.listen(function (location) {\n\t listener(addQuery(location));\n\t });\n\t }\n\t\n\t // Override all write methods with query-aware versions.\n\t function push(location) {\n\t history.push(appendQuery(location, location.query));\n\t }\n\t\n\t function replace(location) {\n\t history.replace(appendQuery(location, location.query));\n\t }\n\t\n\t function createPath(location, query) {\n\t false ? _warning2['default'](!query, 'the query argument to createPath is deprecated; use a location descriptor instead') : undefined;\n\t\n\t return history.createPath(appendQuery(location, query || location.query));\n\t }\n\t\n\t function createHref(location, query) {\n\t false ? _warning2['default'](!query, 'the query argument to createHref is deprecated; use a location descriptor instead') : undefined;\n\t\n\t return history.createHref(appendQuery(location, query || location.query));\n\t }\n\t\n\t function createLocation(location) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t var fullLocation = history.createLocation.apply(history, [appendQuery(location, location.query)].concat(args));\n\t if (location.query) {\n\t fullLocation.query = location.query;\n\t }\n\t return addQuery(fullLocation);\n\t }\n\t\n\t // deprecated\n\t function pushState(state, path, query) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t push(_extends({ state: state }, path, { query: query }));\n\t }\n\t\n\t // deprecated\n\t function replaceState(state, path, query) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t replace(_extends({ state: state }, path, { query: query }));\n\t }\n\t\n\t return _extends({}, history, {\n\t listenBefore: listenBefore,\n\t listen: listen,\n\t push: push,\n\t replace: replace,\n\t createPath: createPath,\n\t createHref: createHref,\n\t createLocation: createLocation,\n\t\n\t pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n\t replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n\t });\n\t };\n\t}\n\t\n\texports['default'] = useQueries;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 121 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\t * Isotope LayoutMode\n\t */\n\t\n\t( function( window, factory ) {\n\t // universal module definition\n\t /* jshint strict: false */ /*globals define, module, require */\n\t if ( true ) {\n\t // AMD\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n\t __webpack_require__(95),\n\t __webpack_require__(132)\n\t ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS\n\t module.exports = factory(\n\t require('get-size'),\n\t require('outlayer')\n\t );\n\t } else {\n\t // browser global\n\t window.Isotope = window.Isotope || {};\n\t window.Isotope.LayoutMode = factory(\n\t window.getSize,\n\t window.Outlayer\n\t );\n\t }\n\t\n\t}( window, function factory( getSize, Outlayer ) {\n\t 'use strict';\n\t\n\t // layout mode class\n\t function LayoutMode( isotope ) {\n\t this.isotope = isotope;\n\t // link properties\n\t if ( isotope ) {\n\t this.options = isotope.options[ this.namespace ];\n\t this.element = isotope.element;\n\t this.items = isotope.filteredItems;\n\t this.size = isotope.size;\n\t }\n\t }\n\t\n\t var proto = LayoutMode.prototype;\n\t\n\t /**\n\t * some methods should just defer to default Outlayer method\n\t * and reference the Isotope instance as `this`\n\t **/\n\t var facadeMethods = [\n\t '_resetLayout',\n\t '_getItemLayoutPosition',\n\t '_manageStamp',\n\t '_getContainerSize',\n\t '_getElementOffset',\n\t 'needsResizeLayout',\n\t '_getOption'\n\t ];\n\t\n\t facadeMethods.forEach( function( methodName ) {\n\t proto[ methodName ] = function() {\n\t return Outlayer.prototype[ methodName ].apply( this.isotope, arguments );\n\t };\n\t });\n\t\n\t // ----- ----- //\n\t\n\t // for horizontal layout modes, check vertical size\n\t proto.needsVerticalResizeLayout = function() {\n\t // don't trigger if size did not change\n\t var size = getSize( this.isotope.element );\n\t // check that this.size and size are there\n\t // IE8 triggers resize on body size change, so they might not be\n\t var hasSizes = this.isotope.size && size;\n\t return hasSizes && size.innerHeight != this.isotope.size.innerHeight;\n\t };\n\t\n\t // ----- measurements ----- //\n\t\n\t proto._getMeasurement = function() {\n\t this.isotope._getMeasurement.apply( this, arguments );\n\t };\n\t\n\t proto.getColumnWidth = function() {\n\t this.getSegmentSize( 'column', 'Width' );\n\t };\n\t\n\t proto.getRowHeight = function() {\n\t this.getSegmentSize( 'row', 'Height' );\n\t };\n\t\n\t /**\n\t * get columnWidth or rowHeight\n\t * segment: 'column' or 'row'\n\t * size 'Width' or 'Height'\n\t **/\n\t proto.getSegmentSize = function( segment, size ) {\n\t var segmentName = segment + size;\n\t var outerSize = 'outer' + size;\n\t // columnWidth / outerWidth // rowHeight / outerHeight\n\t this._getMeasurement( segmentName, outerSize );\n\t // got rowHeight or columnWidth, we can chill\n\t if ( this[ segmentName ] ) {\n\t return;\n\t }\n\t // fall back to item of first element\n\t var firstItemSize = this.getFirstItemSize();\n\t this[ segmentName ] = firstItemSize && firstItemSize[ outerSize ] ||\n\t // or size of container\n\t this.isotope.size[ 'inner' + size ];\n\t };\n\t\n\t proto.getFirstItemSize = function() {\n\t var firstItem = this.isotope.filteredItems[0];\n\t return firstItem && firstItem.element && getSize( firstItem.element );\n\t };\n\t\n\t // ----- methods that should reference isotope ----- //\n\t\n\t proto.layout = function() {\n\t this.isotope.layout.apply( this.isotope, arguments );\n\t };\n\t\n\t proto.getSize = function() {\n\t this.isotope.getSize();\n\t this.size = this.isotope.size;\n\t };\n\t\n\t // -------------------------- create -------------------------- //\n\t\n\t LayoutMode.modes = {};\n\t\n\t LayoutMode.create = function( namespace, options ) {\n\t\n\t function Mode() {\n\t LayoutMode.apply( this, arguments );\n\t }\n\t\n\t Mode.prototype = Object.create( proto );\n\t Mode.prototype.constructor = Mode;\n\t\n\t // default options\n\t if ( options ) {\n\t Mode.options = options;\n\t }\n\t\n\t Mode.prototype.namespace = namespace;\n\t // register in Isotope\n\t LayoutMode.modes[ namespace ] = Mode;\n\t\n\t return Mode;\n\t };\n\t\n\t return LayoutMode;\n\t\n\t}));\n\n\n/***/ },\n/* 122 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar listCacheClear = __webpack_require__(715),\n\t listCacheDelete = __webpack_require__(716),\n\t listCacheGet = __webpack_require__(717),\n\t listCacheHas = __webpack_require__(718),\n\t listCacheSet = __webpack_require__(719);\n\t\n\t/**\n\t * Creates an list cache object.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction ListCache(entries) {\n\t var index = -1,\n\t length = entries ? entries.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t// Add methods to `ListCache`.\n\tListCache.prototype.clear = listCacheClear;\n\tListCache.prototype['delete'] = listCacheDelete;\n\tListCache.prototype.get = listCacheGet;\n\tListCache.prototype.has = listCacheHas;\n\tListCache.prototype.set = listCacheSet;\n\t\n\tmodule.exports = ListCache;\n\n\n/***/ },\n/* 123 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar eq = __webpack_require__(128);\n\t\n\t/**\n\t * Gets the index at which the `key` is found in `array` of key-value pairs.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} key The key to search for.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction assocIndexOf(array, key) {\n\t var length = array.length;\n\t while (length--) {\n\t if (eq(array[length][0], key)) {\n\t return length;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\tmodule.exports = assocIndexOf;\n\n\n/***/ },\n/* 124 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isKeyable = __webpack_require__(713);\n\t\n\t/**\n\t * Gets the data for `map`.\n\t *\n\t * @private\n\t * @param {Object} map The map to query.\n\t * @param {string} key The reference key.\n\t * @returns {*} Returns the map data.\n\t */\n\tfunction getMapData(map, key) {\n\t var data = map.__data__;\n\t return isKeyable(key)\n\t ? data[typeof key == 'string' ? 'string' : 'hash']\n\t : data.map;\n\t}\n\t\n\tmodule.exports = getMapData;\n\n\n/***/ },\n/* 125 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArray = __webpack_require__(46),\n\t isSymbol = __webpack_require__(182);\n\t\n\t/** Used to match property names within property paths. */\n\tvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n\t reIsPlainProp = /^\\w*$/;\n\t\n\t/**\n\t * Checks if `value` is a property name and not a property path.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t */\n\tfunction isKey(value, object) {\n\t if (isArray(value)) {\n\t return false;\n\t }\n\t var type = typeof value;\n\t if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n\t value == null || isSymbol(value)) {\n\t return true;\n\t }\n\t return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n\t (object != null && value in Object(object));\n\t}\n\t\n\tmodule.exports = isKey;\n\n\n/***/ },\n/* 126 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getNative = __webpack_require__(85);\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar nativeCreate = getNative(Object, 'create');\n\t\n\tmodule.exports = nativeCreate;\n\n\n/***/ },\n/* 127 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isSymbol = __webpack_require__(182);\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0;\n\t\n\t/**\n\t * Converts `value` to a string key if it's not a string or symbol.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {string|symbol} Returns the key.\n\t */\n\tfunction toKey(value) {\n\t if (typeof value == 'string' || isSymbol(value)) {\n\t return value;\n\t }\n\t var result = (value + '');\n\t return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n\t}\n\t\n\tmodule.exports = toKey;\n\n\n/***/ },\n/* 128 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Performs a\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * comparison between two values to determine if they are equivalent.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'a': 1 };\n\t * var other = { 'a': 1 };\n\t *\n\t * _.eq(object, object);\n\t * // => true\n\t *\n\t * _.eq(object, other);\n\t * // => false\n\t *\n\t * _.eq('a', 'a');\n\t * // => true\n\t *\n\t * _.eq('a', Object('a'));\n\t * // => false\n\t *\n\t * _.eq(NaN, NaN);\n\t * // => true\n\t */\n\tfunction eq(value, other) {\n\t return value === other || (value !== value && other !== other);\n\t}\n\t\n\tmodule.exports = eq;\n\n\n/***/ },\n/* 129 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(34);\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\tmodule.exports = isFunction;\n\n\n/***/ },\n/* 130 */\n/***/ function(module, exports) {\n\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is loosely based on\n\t * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.isLength(3);\n\t * // => true\n\t *\n\t * _.isLength(Number.MIN_VALUE);\n\t * // => false\n\t *\n\t * _.isLength(Infinity);\n\t * // => false\n\t *\n\t * _.isLength('3');\n\t * // => false\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' &&\n\t value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\tmodule.exports = isLength;\n\n\n/***/ },\n/* 131 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseHas = __webpack_require__(263),\n\t baseKeys = __webpack_require__(683),\n\t indexKeys = __webpack_require__(711),\n\t isArrayLike = __webpack_require__(96),\n\t isIndex = __webpack_require__(180),\n\t isPrototype = __webpack_require__(272);\n\t\n\t/**\n\t * Creates an array of the own enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects. See the\n\t * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n\t * for more details.\n\t *\n\t * @static\n\t * @since 0.1.0\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keys(new Foo);\n\t * // => ['a', 'b'] (iteration order is not guaranteed)\n\t *\n\t * _.keys('hi');\n\t * // => ['0', '1']\n\t */\n\tfunction keys(object) {\n\t var isProto = isPrototype(object);\n\t if (!(isProto || isArrayLike(object))) {\n\t return baseKeys(object);\n\t }\n\t var indexes = indexKeys(object),\n\t skipIndexes = !!indexes,\n\t result = indexes || [],\n\t length = result.length;\n\t\n\t for (var key in object) {\n\t if (baseHas(object, key) &&\n\t !(skipIndexes && (key == 'length' || isIndex(key, length))) &&\n\t !(isProto && key == 'constructor')) {\n\t result.push(key);\n\t }\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = keys;\n\n\n/***/ },\n/* 132 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t * Outlayer v2.1.0\n\t * the brains and guts of a layout library\n\t * MIT license\n\t */\n\t\n\t( function( window, factory ) {\n\t 'use strict';\n\t // universal module definition\n\t /* jshint strict: false */ /* globals define, module, require */\n\t if ( true ) {\n\t // AMD - RequireJS\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n\t __webpack_require__(170),\n\t __webpack_require__(95),\n\t __webpack_require__(248),\n\t __webpack_require__(754)\n\t ], __WEBPACK_AMD_DEFINE_RESULT__ = function( EvEmitter, getSize, utils, Item ) {\n\t return factory( window, EvEmitter, getSize, utils, Item);\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS - Browserify, Webpack\n\t module.exports = factory(\n\t window,\n\t require('ev-emitter'),\n\t require('get-size'),\n\t require('fizzy-ui-utils'),\n\t require('./item')\n\t );\n\t } else {\n\t // browser global\n\t window.Outlayer = factory(\n\t window,\n\t window.EvEmitter,\n\t window.getSize,\n\t window.fizzyUIUtils,\n\t window.Outlayer.Item\n\t );\n\t }\n\t\n\t}( window, function factory( window, EvEmitter, getSize, utils, Item ) {\n\t'use strict';\n\t\n\t// ----- vars ----- //\n\t\n\tvar console = window.console;\n\tvar jQuery = window.jQuery;\n\tvar noop = function() {};\n\t\n\t// -------------------------- Outlayer -------------------------- //\n\t\n\t// globally unique identifiers\n\tvar GUID = 0;\n\t// internal store of all Outlayer intances\n\tvar instances = {};\n\t\n\t\n\t/**\n\t * @param {Element, String} element\n\t * @param {Object} options\n\t * @constructor\n\t */\n\tfunction Outlayer( element, options ) {\n\t var queryElement = utils.getQueryElement( element );\n\t if ( !queryElement ) {\n\t if ( console ) {\n\t console.error( 'Bad element for ' + this.constructor.namespace +\n\t ': ' + ( queryElement || element ) );\n\t }\n\t return;\n\t }\n\t this.element = queryElement;\n\t // add jQuery\n\t if ( jQuery ) {\n\t this.$element = jQuery( this.element );\n\t }\n\t\n\t // options\n\t this.options = utils.extend( {}, this.constructor.defaults );\n\t this.option( options );\n\t\n\t // add id for Outlayer.getFromElement\n\t var id = ++GUID;\n\t this.element.outlayerGUID = id; // expando\n\t instances[ id ] = this; // associate via id\n\t\n\t // kick it off\n\t this._create();\n\t\n\t var isInitLayout = this._getOption('initLayout');\n\t if ( isInitLayout ) {\n\t this.layout();\n\t }\n\t}\n\t\n\t// settings are for internal use only\n\tOutlayer.namespace = 'outlayer';\n\tOutlayer.Item = Item;\n\t\n\t// default options\n\tOutlayer.defaults = {\n\t containerStyle: {\n\t position: 'relative'\n\t },\n\t initLayout: true,\n\t originLeft: true,\n\t originTop: true,\n\t resize: true,\n\t resizeContainer: true,\n\t // item options\n\t transitionDuration: '0.4s',\n\t hiddenStyle: {\n\t opacity: 0,\n\t transform: 'scale(0.001)'\n\t },\n\t visibleStyle: {\n\t opacity: 1,\n\t transform: 'scale(1)'\n\t }\n\t};\n\t\n\tvar proto = Outlayer.prototype;\n\t// inherit EvEmitter\n\tutils.extend( proto, EvEmitter.prototype );\n\t\n\t/**\n\t * set options\n\t * @param {Object} opts\n\t */\n\tproto.option = function( opts ) {\n\t utils.extend( this.options, opts );\n\t};\n\t\n\t/**\n\t * get backwards compatible option value, check old name\n\t */\n\tproto._getOption = function( option ) {\n\t var oldOption = this.constructor.compatOptions[ option ];\n\t return oldOption && this.options[ oldOption ] !== undefined ?\n\t this.options[ oldOption ] : this.options[ option ];\n\t};\n\t\n\tOutlayer.compatOptions = {\n\t // currentName: oldName\n\t initLayout: 'isInitLayout',\n\t horizontal: 'isHorizontal',\n\t layoutInstant: 'isLayoutInstant',\n\t originLeft: 'isOriginLeft',\n\t originTop: 'isOriginTop',\n\t resize: 'isResizeBound',\n\t resizeContainer: 'isResizingContainer'\n\t};\n\t\n\tproto._create = function() {\n\t // get items from children\n\t this.reloadItems();\n\t // elements that affect layout, but are not laid out\n\t this.stamps = [];\n\t this.stamp( this.options.stamp );\n\t // set container style\n\t utils.extend( this.element.style, this.options.containerStyle );\n\t\n\t // bind resize method\n\t var canBindResize = this._getOption('resize');\n\t if ( canBindResize ) {\n\t this.bindResize();\n\t }\n\t};\n\t\n\t// goes through all children again and gets bricks in proper order\n\tproto.reloadItems = function() {\n\t // collection of item elements\n\t this.items = this._itemize( this.element.children );\n\t};\n\t\n\t\n\t/**\n\t * turn elements into Outlayer.Items to be used in layout\n\t * @param {Array or NodeList or HTMLElement} elems\n\t * @returns {Array} items - collection of new Outlayer Items\n\t */\n\tproto._itemize = function( elems ) {\n\t\n\t var itemElems = this._filterFindItemElements( elems );\n\t var Item = this.constructor.Item;\n\t\n\t // create new Outlayer Items for collection\n\t var items = [];\n\t for ( var i=0; i < itemElems.length; i++ ) {\n\t var elem = itemElems[i];\n\t var item = new Item( elem, this );\n\t items.push( item );\n\t }\n\t\n\t return items;\n\t};\n\t\n\t/**\n\t * get item elements to be used in layout\n\t * @param {Array or NodeList or HTMLElement} elems\n\t * @returns {Array} items - item elements\n\t */\n\tproto._filterFindItemElements = function( elems ) {\n\t return utils.filterFindElements( elems, this.options.itemSelector );\n\t};\n\t\n\t/**\n\t * getter method for getting item elements\n\t * @returns {Array} elems - collection of item elements\n\t */\n\tproto.getItemElements = function() {\n\t return this.items.map( function( item ) {\n\t return item.element;\n\t });\n\t};\n\t\n\t// ----- init & layout ----- //\n\t\n\t/**\n\t * lays out all items\n\t */\n\tproto.layout = function() {\n\t this._resetLayout();\n\t this._manageStamps();\n\t\n\t // don't animate first layout\n\t var layoutInstant = this._getOption('layoutInstant');\n\t var isInstant = layoutInstant !== undefined ?\n\t layoutInstant : !this._isLayoutInited;\n\t this.layoutItems( this.items, isInstant );\n\t\n\t // flag for initalized\n\t this._isLayoutInited = true;\n\t};\n\t\n\t// _init is alias for layout\n\tproto._init = proto.layout;\n\t\n\t/**\n\t * logic before any new layout\n\t */\n\tproto._resetLayout = function() {\n\t this.getSize();\n\t};\n\t\n\t\n\tproto.getSize = function() {\n\t this.size = getSize( this.element );\n\t};\n\t\n\t/**\n\t * get measurement from option, for columnWidth, rowHeight, gutter\n\t * if option is String -> get element from selector string, & get size of element\n\t * if option is Element -> get size of element\n\t * else use option as a number\n\t *\n\t * @param {String} measurement\n\t * @param {String} size - width or height\n\t * @private\n\t */\n\tproto._getMeasurement = function( measurement, size ) {\n\t var option = this.options[ measurement ];\n\t var elem;\n\t if ( !option ) {\n\t // default to 0\n\t this[ measurement ] = 0;\n\t } else {\n\t // use option as an element\n\t if ( typeof option == 'string' ) {\n\t elem = this.element.querySelector( option );\n\t } else if ( option instanceof HTMLElement ) {\n\t elem = option;\n\t }\n\t // use size of element, if element\n\t this[ measurement ] = elem ? getSize( elem )[ size ] : option;\n\t }\n\t};\n\t\n\t/**\n\t * layout a collection of item elements\n\t * @api public\n\t */\n\tproto.layoutItems = function( items, isInstant ) {\n\t items = this._getItemsForLayout( items );\n\t\n\t this._layoutItems( items, isInstant );\n\t\n\t this._postLayout();\n\t};\n\t\n\t/**\n\t * get the items to be laid out\n\t * you may want to skip over some items\n\t * @param {Array} items\n\t * @returns {Array} items\n\t */\n\tproto._getItemsForLayout = function( items ) {\n\t return items.filter( function( item ) {\n\t return !item.isIgnored;\n\t });\n\t};\n\t\n\t/**\n\t * layout items\n\t * @param {Array} items\n\t * @param {Boolean} isInstant\n\t */\n\tproto._layoutItems = function( items, isInstant ) {\n\t this._emitCompleteOnItems( 'layout', items );\n\t\n\t if ( !items || !items.length ) {\n\t // no items, emit event with empty array\n\t return;\n\t }\n\t\n\t var queue = [];\n\t\n\t items.forEach( function( item ) {\n\t // get x/y object from method\n\t var position = this._getItemLayoutPosition( item );\n\t // enqueue\n\t position.item = item;\n\t position.isInstant = isInstant || item.isLayoutInstant;\n\t queue.push( position );\n\t }, this );\n\t\n\t this._processLayoutQueue( queue );\n\t};\n\t\n\t/**\n\t * get item layout position\n\t * @param {Outlayer.Item} item\n\t * @returns {Object} x and y position\n\t */\n\tproto._getItemLayoutPosition = function( /* item */ ) {\n\t return {\n\t x: 0,\n\t y: 0\n\t };\n\t};\n\t\n\t/**\n\t * iterate over array and position each item\n\t * Reason being - separating this logic prevents 'layout invalidation'\n\t * thx @paul_irish\n\t * @param {Array} queue\n\t */\n\tproto._processLayoutQueue = function( queue ) {\n\t this.updateStagger();\n\t queue.forEach( function( obj, i ) {\n\t this._positionItem( obj.item, obj.x, obj.y, obj.isInstant, i );\n\t }, this );\n\t};\n\t\n\t// set stagger from option in milliseconds number\n\tproto.updateStagger = function() {\n\t var stagger = this.options.stagger;\n\t if ( stagger === null || stagger === undefined ) {\n\t this.stagger = 0;\n\t return;\n\t }\n\t this.stagger = getMilliseconds( stagger );\n\t return this.stagger;\n\t};\n\t\n\t/**\n\t * Sets position of item in DOM\n\t * @param {Outlayer.Item} item\n\t * @param {Number} x - horizontal position\n\t * @param {Number} y - vertical position\n\t * @param {Boolean} isInstant - disables transitions\n\t */\n\tproto._positionItem = function( item, x, y, isInstant, i ) {\n\t if ( isInstant ) {\n\t // if not transition, just set CSS\n\t item.goTo( x, y );\n\t } else {\n\t item.stagger( i * this.stagger );\n\t item.moveTo( x, y );\n\t }\n\t};\n\t\n\t/**\n\t * Any logic you want to do after each layout,\n\t * i.e. size the container\n\t */\n\tproto._postLayout = function() {\n\t this.resizeContainer();\n\t};\n\t\n\tproto.resizeContainer = function() {\n\t var isResizingContainer = this._getOption('resizeContainer');\n\t if ( !isResizingContainer ) {\n\t return;\n\t }\n\t var size = this._getContainerSize();\n\t if ( size ) {\n\t this._setContainerMeasure( size.width, true );\n\t this._setContainerMeasure( size.height, false );\n\t }\n\t};\n\t\n\t/**\n\t * Sets width or height of container if returned\n\t * @returns {Object} size\n\t * @param {Number} width\n\t * @param {Number} height\n\t */\n\tproto._getContainerSize = noop;\n\t\n\t/**\n\t * @param {Number} measure - size of width or height\n\t * @param {Boolean} isWidth\n\t */\n\tproto._setContainerMeasure = function( measure, isWidth ) {\n\t if ( measure === undefined ) {\n\t return;\n\t }\n\t\n\t var elemSize = this.size;\n\t // add padding and border width if border box\n\t if ( elemSize.isBorderBox ) {\n\t measure += isWidth ? elemSize.paddingLeft + elemSize.paddingRight +\n\t elemSize.borderLeftWidth + elemSize.borderRightWidth :\n\t elemSize.paddingBottom + elemSize.paddingTop +\n\t elemSize.borderTopWidth + elemSize.borderBottomWidth;\n\t }\n\t\n\t measure = Math.max( measure, 0 );\n\t this.element.style[ isWidth ? 'width' : 'height' ] = measure + 'px';\n\t};\n\t\n\t/**\n\t * emit eventComplete on a collection of items events\n\t * @param {String} eventName\n\t * @param {Array} items - Outlayer.Items\n\t */\n\tproto._emitCompleteOnItems = function( eventName, items ) {\n\t var _this = this;\n\t function onComplete() {\n\t _this.dispatchEvent( eventName + 'Complete', null, [ items ] );\n\t }\n\t\n\t var count = items.length;\n\t if ( !items || !count ) {\n\t onComplete();\n\t return;\n\t }\n\t\n\t var doneCount = 0;\n\t function tick() {\n\t doneCount++;\n\t if ( doneCount == count ) {\n\t onComplete();\n\t }\n\t }\n\t\n\t // bind callback\n\t items.forEach( function( item ) {\n\t item.once( eventName, tick );\n\t });\n\t};\n\t\n\t/**\n\t * emits events via EvEmitter and jQuery events\n\t * @param {String} type - name of event\n\t * @param {Event} event - original event\n\t * @param {Array} args - extra arguments\n\t */\n\tproto.dispatchEvent = function( type, event, args ) {\n\t // add original event to arguments\n\t var emitArgs = event ? [ event ].concat( args ) : args;\n\t this.emitEvent( type, emitArgs );\n\t\n\t if ( jQuery ) {\n\t // set this.$element\n\t this.$element = this.$element || jQuery( this.element );\n\t if ( event ) {\n\t // create jQuery event\n\t var $event = jQuery.Event( event );\n\t $event.type = type;\n\t this.$element.trigger( $event, args );\n\t } else {\n\t // just trigger with type if no event available\n\t this.$element.trigger( type, args );\n\t }\n\t }\n\t};\n\t\n\t// -------------------------- ignore & stamps -------------------------- //\n\t\n\t\n\t/**\n\t * keep item in collection, but do not lay it out\n\t * ignored items do not get skipped in layout\n\t * @param {Element} elem\n\t */\n\tproto.ignore = function( elem ) {\n\t var item = this.getItem( elem );\n\t if ( item ) {\n\t item.isIgnored = true;\n\t }\n\t};\n\t\n\t/**\n\t * return item to layout collection\n\t * @param {Element} elem\n\t */\n\tproto.unignore = function( elem ) {\n\t var item = this.getItem( elem );\n\t if ( item ) {\n\t delete item.isIgnored;\n\t }\n\t};\n\t\n\t/**\n\t * adds elements to stamps\n\t * @param {NodeList, Array, Element, or String} elems\n\t */\n\tproto.stamp = function( elems ) {\n\t elems = this._find( elems );\n\t if ( !elems ) {\n\t return;\n\t }\n\t\n\t this.stamps = this.stamps.concat( elems );\n\t // ignore\n\t elems.forEach( this.ignore, this );\n\t};\n\t\n\t/**\n\t * removes elements to stamps\n\t * @param {NodeList, Array, or Element} elems\n\t */\n\tproto.unstamp = function( elems ) {\n\t elems = this._find( elems );\n\t if ( !elems ){\n\t return;\n\t }\n\t\n\t elems.forEach( function( elem ) {\n\t // filter out removed stamp elements\n\t utils.removeFrom( this.stamps, elem );\n\t this.unignore( elem );\n\t }, this );\n\t};\n\t\n\t/**\n\t * finds child elements\n\t * @param {NodeList, Array, Element, or String} elems\n\t * @returns {Array} elems\n\t */\n\tproto._find = function( elems ) {\n\t if ( !elems ) {\n\t return;\n\t }\n\t // if string, use argument as selector string\n\t if ( typeof elems == 'string' ) {\n\t elems = this.element.querySelectorAll( elems );\n\t }\n\t elems = utils.makeArray( elems );\n\t return elems;\n\t};\n\t\n\tproto._manageStamps = function() {\n\t if ( !this.stamps || !this.stamps.length ) {\n\t return;\n\t }\n\t\n\t this._getBoundingRect();\n\t\n\t this.stamps.forEach( this._manageStamp, this );\n\t};\n\t\n\t// update boundingLeft / Top\n\tproto._getBoundingRect = function() {\n\t // get bounding rect for container element\n\t var boundingRect = this.element.getBoundingClientRect();\n\t var size = this.size;\n\t this._boundingRect = {\n\t left: boundingRect.left + size.paddingLeft + size.borderLeftWidth,\n\t top: boundingRect.top + size.paddingTop + size.borderTopWidth,\n\t right: boundingRect.right - ( size.paddingRight + size.borderRightWidth ),\n\t bottom: boundingRect.bottom - ( size.paddingBottom + size.borderBottomWidth )\n\t };\n\t};\n\t\n\t/**\n\t * @param {Element} stamp\n\t**/\n\tproto._manageStamp = noop;\n\t\n\t/**\n\t * get x/y position of element relative to container element\n\t * @param {Element} elem\n\t * @returns {Object} offset - has left, top, right, bottom\n\t */\n\tproto._getElementOffset = function( elem ) {\n\t var boundingRect = elem.getBoundingClientRect();\n\t var thisRect = this._boundingRect;\n\t var size = getSize( elem );\n\t var offset = {\n\t left: boundingRect.left - thisRect.left - size.marginLeft,\n\t top: boundingRect.top - thisRect.top - size.marginTop,\n\t right: thisRect.right - boundingRect.right - size.marginRight,\n\t bottom: thisRect.bottom - boundingRect.bottom - size.marginBottom\n\t };\n\t return offset;\n\t};\n\t\n\t// -------------------------- resize -------------------------- //\n\t\n\t// enable event handlers for listeners\n\t// i.e. resize -> onresize\n\tproto.handleEvent = utils.handleEvent;\n\t\n\t/**\n\t * Bind layout to window resizing\n\t */\n\tproto.bindResize = function() {\n\t window.addEventListener( 'resize', this );\n\t this.isResizeBound = true;\n\t};\n\t\n\t/**\n\t * Unbind layout to window resizing\n\t */\n\tproto.unbindResize = function() {\n\t window.removeEventListener( 'resize', this );\n\t this.isResizeBound = false;\n\t};\n\t\n\tproto.onresize = function() {\n\t this.resize();\n\t};\n\t\n\tutils.debounceMethod( Outlayer, 'onresize', 100 );\n\t\n\tproto.resize = function() {\n\t // don't trigger if size did not change\n\t // or if resize was unbound. See #9\n\t if ( !this.isResizeBound || !this.needsResizeLayout() ) {\n\t return;\n\t }\n\t\n\t this.layout();\n\t};\n\t\n\t/**\n\t * check if layout is needed post layout\n\t * @returns Boolean\n\t */\n\tproto.needsResizeLayout = function() {\n\t var size = getSize( this.element );\n\t // check that this.size and size are there\n\t // IE8 triggers resize on body size change, so they might not be\n\t var hasSizes = this.size && size;\n\t return hasSizes && size.innerWidth !== this.size.innerWidth;\n\t};\n\t\n\t// -------------------------- methods -------------------------- //\n\t\n\t/**\n\t * add items to Outlayer instance\n\t * @param {Array or NodeList or Element} elems\n\t * @returns {Array} items - Outlayer.Items\n\t**/\n\tproto.addItems = function( elems ) {\n\t var items = this._itemize( elems );\n\t // add items to collection\n\t if ( items.length ) {\n\t this.items = this.items.concat( items );\n\t }\n\t return items;\n\t};\n\t\n\t/**\n\t * Layout newly-appended item elements\n\t * @param {Array or NodeList or Element} elems\n\t */\n\tproto.appended = function( elems ) {\n\t var items = this.addItems( elems );\n\t if ( !items.length ) {\n\t return;\n\t }\n\t // layout and reveal just the new items\n\t this.layoutItems( items, true );\n\t this.reveal( items );\n\t};\n\t\n\t/**\n\t * Layout prepended elements\n\t * @param {Array or NodeList or Element} elems\n\t */\n\tproto.prepended = function( elems ) {\n\t var items = this._itemize( elems );\n\t if ( !items.length ) {\n\t return;\n\t }\n\t // add items to beginning of collection\n\t var previousItems = this.items.slice(0);\n\t this.items = items.concat( previousItems );\n\t // start new layout\n\t this._resetLayout();\n\t this._manageStamps();\n\t // layout new stuff without transition\n\t this.layoutItems( items, true );\n\t this.reveal( items );\n\t // layout previous items\n\t this.layoutItems( previousItems );\n\t};\n\t\n\t/**\n\t * reveal a collection of items\n\t * @param {Array of Outlayer.Items} items\n\t */\n\tproto.reveal = function( items ) {\n\t this._emitCompleteOnItems( 'reveal', items );\n\t if ( !items || !items.length ) {\n\t return;\n\t }\n\t var stagger = this.updateStagger();\n\t items.forEach( function( item, i ) {\n\t item.stagger( i * stagger );\n\t item.reveal();\n\t });\n\t};\n\t\n\t/**\n\t * hide a collection of items\n\t * @param {Array of Outlayer.Items} items\n\t */\n\tproto.hide = function( items ) {\n\t this._emitCompleteOnItems( 'hide', items );\n\t if ( !items || !items.length ) {\n\t return;\n\t }\n\t var stagger = this.updateStagger();\n\t items.forEach( function( item, i ) {\n\t item.stagger( i * stagger );\n\t item.hide();\n\t });\n\t};\n\t\n\t/**\n\t * reveal item elements\n\t * @param {Array}, {Element}, {NodeList} items\n\t */\n\tproto.revealItemElements = function( elems ) {\n\t var items = this.getItems( elems );\n\t this.reveal( items );\n\t};\n\t\n\t/**\n\t * hide item elements\n\t * @param {Array}, {Element}, {NodeList} items\n\t */\n\tproto.hideItemElements = function( elems ) {\n\t var items = this.getItems( elems );\n\t this.hide( items );\n\t};\n\t\n\t/**\n\t * get Outlayer.Item, given an Element\n\t * @param {Element} elem\n\t * @param {Function} callback\n\t * @returns {Outlayer.Item} item\n\t */\n\tproto.getItem = function( elem ) {\n\t // loop through items to get the one that matches\n\t for ( var i=0; i < this.items.length; i++ ) {\n\t var item = this.items[i];\n\t if ( item.element == elem ) {\n\t // return item\n\t return item;\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * get collection of Outlayer.Items, given Elements\n\t * @param {Array} elems\n\t * @returns {Array} items - Outlayer.Items\n\t */\n\tproto.getItems = function( elems ) {\n\t elems = utils.makeArray( elems );\n\t var items = [];\n\t elems.forEach( function( elem ) {\n\t var item = this.getItem( elem );\n\t if ( item ) {\n\t items.push( item );\n\t }\n\t }, this );\n\t\n\t return items;\n\t};\n\t\n\t/**\n\t * remove element(s) from instance and DOM\n\t * @param {Array or NodeList or Element} elems\n\t */\n\tproto.remove = function( elems ) {\n\t var removeItems = this.getItems( elems );\n\t\n\t this._emitCompleteOnItems( 'remove', removeItems );\n\t\n\t // bail if no items to remove\n\t if ( !removeItems || !removeItems.length ) {\n\t return;\n\t }\n\t\n\t removeItems.forEach( function( item ) {\n\t item.remove();\n\t // remove item from collection\n\t utils.removeFrom( this.items, item );\n\t }, this );\n\t};\n\t\n\t// ----- destroy ----- //\n\t\n\t// remove and disable Outlayer instance\n\tproto.destroy = function() {\n\t // clean up dynamic styles\n\t var style = this.element.style;\n\t style.height = '';\n\t style.position = '';\n\t style.width = '';\n\t // destroy items\n\t this.items.forEach( function( item ) {\n\t item.destroy();\n\t });\n\t\n\t this.unbindResize();\n\t\n\t var id = this.element.outlayerGUID;\n\t delete instances[ id ]; // remove reference to instance by id\n\t delete this.element.outlayerGUID;\n\t // remove data for jQuery\n\t if ( jQuery ) {\n\t jQuery.removeData( this.element, this.constructor.namespace );\n\t }\n\t\n\t};\n\t\n\t// -------------------------- data -------------------------- //\n\t\n\t/**\n\t * get Outlayer instance from element\n\t * @param {Element} elem\n\t * @returns {Outlayer}\n\t */\n\tOutlayer.data = function( elem ) {\n\t elem = utils.getQueryElement( elem );\n\t var id = elem && elem.outlayerGUID;\n\t return id && instances[ id ];\n\t};\n\t\n\t\n\t// -------------------------- create Outlayer class -------------------------- //\n\t\n\t/**\n\t * create a layout class\n\t * @param {String} namespace\n\t */\n\tOutlayer.create = function( namespace, options ) {\n\t // sub-class Outlayer\n\t var Layout = subclass( Outlayer );\n\t // apply new options and compatOptions\n\t Layout.defaults = utils.extend( {}, Outlayer.defaults );\n\t utils.extend( Layout.defaults, options );\n\t Layout.compatOptions = utils.extend( {}, Outlayer.compatOptions );\n\t\n\t Layout.namespace = namespace;\n\t\n\t Layout.data = Outlayer.data;\n\t\n\t // sub-class Item\n\t Layout.Item = subclass( Item );\n\t\n\t // -------------------------- declarative -------------------------- //\n\t\n\t utils.htmlInit( Layout, namespace );\n\t\n\t // -------------------------- jQuery bridge -------------------------- //\n\t\n\t // make into jQuery plugin\n\t if ( jQuery && jQuery.bridget ) {\n\t jQuery.bridget( namespace, Layout );\n\t }\n\t\n\t return Layout;\n\t};\n\t\n\tfunction subclass( Parent ) {\n\t function SubClass() {\n\t Parent.apply( this, arguments );\n\t }\n\t\n\t SubClass.prototype = Object.create( Parent.prototype );\n\t SubClass.prototype.constructor = SubClass;\n\t\n\t return SubClass;\n\t}\n\t\n\t// ----- helpers ----- //\n\t\n\t// how many milliseconds are in each unit\n\tvar msUnits = {\n\t ms: 1,\n\t s: 1000\n\t};\n\t\n\t// munge time-like parameter into millisecond number\n\t// '0.4s' -> 40\n\tfunction getMilliseconds( time ) {\n\t if ( typeof time == 'number' ) {\n\t return time;\n\t }\n\t var matches = time.match( /(^\\d*\\.?\\d*)(\\w*)/ );\n\t var num = matches && matches[1];\n\t var unit = matches && matches[2];\n\t if ( !num.length ) {\n\t return 0;\n\t }\n\t num = parseFloat( num );\n\t var mult = msUnits[ unit ] || 1;\n\t return num * mult;\n\t}\n\t\n\t// ----- fin ----- //\n\t\n\t// back in global\n\tOutlayer.Item = Item;\n\t\n\treturn Outlayer;\n\t\n\t}));\n\n\n/***/ },\n/* 133 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\t(function () {\n\t try {\n\t cachedSetTimeout = setTimeout;\n\t } catch (e) {\n\t cachedSetTimeout = function () {\n\t throw new Error('setTimeout is not defined');\n\t }\n\t }\n\t try {\n\t cachedClearTimeout = clearTimeout;\n\t } catch (e) {\n\t cachedClearTimeout = function () {\n\t throw new Error('clearTimeout is not defined');\n\t }\n\t }\n\t} ())\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = cachedSetTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t cachedClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t cachedSetTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 134 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _deprecateObjectProperties = __webpack_require__(135);\n\t\n\tvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\t\n\tvar _getRouteParams = __webpack_require__(789);\n\t\n\tvar _getRouteParams2 = _interopRequireDefault(_getRouteParams);\n\t\n\tvar _RouteUtils = __webpack_require__(62);\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _React$PropTypes = _react2.default.PropTypes;\n\tvar array = _React$PropTypes.array;\n\tvar func = _React$PropTypes.func;\n\tvar object = _React$PropTypes.object;\n\t\n\t/**\n\t * A renders the component tree for a given router state\n\t * and sets the history object and the current location in context.\n\t */\n\t\n\tvar RouterContext = _react2.default.createClass({\n\t displayName: 'RouterContext',\n\t\n\t\n\t propTypes: {\n\t history: object,\n\t router: object.isRequired,\n\t location: object.isRequired,\n\t routes: array.isRequired,\n\t params: object.isRequired,\n\t components: array.isRequired,\n\t createElement: func.isRequired\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t createElement: _react2.default.createElement\n\t };\n\t },\n\t\n\t\n\t childContextTypes: {\n\t history: object,\n\t location: object.isRequired,\n\t router: object.isRequired\n\t },\n\t\n\t getChildContext: function getChildContext() {\n\t var _props = this.props;\n\t var router = _props.router;\n\t var history = _props.history;\n\t var location = _props.location;\n\t\n\t if (!router) {\n\t false ? (0, _routerWarning2.default)(false, '`` expects a `router` rather than a `history`') : void 0;\n\t\n\t router = _extends({}, history, {\n\t setRouteLeaveHook: history.listenBeforeLeavingRoute\n\t });\n\t delete router.listenBeforeLeavingRoute;\n\t }\n\t\n\t if (false) {\n\t location = (0, _deprecateObjectProperties2.default)(location, '`context.location` is deprecated, please use a route component\\'s `props.location` instead. http://tiny.cc/router-accessinglocation');\n\t }\n\t\n\t return { history: history, location: location, router: router };\n\t },\n\t createElement: function createElement(component, props) {\n\t return component == null ? null : this.props.createElement(component, props);\n\t },\n\t render: function render() {\n\t var _this = this;\n\t\n\t var _props2 = this.props;\n\t var history = _props2.history;\n\t var location = _props2.location;\n\t var routes = _props2.routes;\n\t var params = _props2.params;\n\t var components = _props2.components;\n\t\n\t var element = null;\n\t\n\t if (components) {\n\t element = components.reduceRight(function (element, components, index) {\n\t if (components == null) return element; // Don't create new children; use the grandchildren.\n\t\n\t var route = routes[index];\n\t var routeParams = (0, _getRouteParams2.default)(route, params);\n\t var props = {\n\t history: history,\n\t location: location,\n\t params: params,\n\t route: route,\n\t routeParams: routeParams,\n\t routes: routes\n\t };\n\t\n\t if ((0, _RouteUtils.isReactChildren)(element)) {\n\t props.children = element;\n\t } else if (element) {\n\t for (var prop in element) {\n\t if (Object.prototype.hasOwnProperty.call(element, prop)) props[prop] = element[prop];\n\t }\n\t }\n\t\n\t if ((typeof components === 'undefined' ? 'undefined' : _typeof(components)) === 'object') {\n\t var elements = {};\n\t\n\t for (var key in components) {\n\t if (Object.prototype.hasOwnProperty.call(components, key)) {\n\t // Pass through the key as a prop to createElement to allow\n\t // custom createElement functions to know which named component\n\t // they're rendering, for e.g. matching up to fetched data.\n\t elements[key] = _this.createElement(components[key], _extends({\n\t key: key }, props));\n\t }\n\t }\n\t\n\t return elements;\n\t }\n\t\n\t return _this.createElement(components, props);\n\t }, element);\n\t }\n\t\n\t !(element === null || element === false || _react2.default.isValidElement(element)) ? false ? (0, _invariant2.default)(false, 'The root route must render a single element') : (0, _invariant2.default)(false) : void 0;\n\t\n\t return element;\n\t }\n\t});\n\t\n\texports.default = RouterContext;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 135 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.canUseMembrane = undefined;\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar canUseMembrane = exports.canUseMembrane = false;\n\t\n\t// No-op by default.\n\tvar deprecateObjectProperties = function deprecateObjectProperties(object) {\n\t return object;\n\t};\n\t\n\tif (false) {\n\t try {\n\t if (Object.defineProperty({}, 'x', {\n\t get: function get() {\n\t return true;\n\t }\n\t }).x) {\n\t exports.canUseMembrane = canUseMembrane = true;\n\t }\n\t /* eslint-disable no-empty */\n\t } catch (e) {}\n\t /* eslint-enable no-empty */\n\t\n\t if (canUseMembrane) {\n\t deprecateObjectProperties = function deprecateObjectProperties(object, message) {\n\t // Wrap the deprecated object in a membrane to warn on property access.\n\t var membrane = {};\n\t\n\t var _loop = function _loop(prop) {\n\t if (!Object.prototype.hasOwnProperty.call(object, prop)) {\n\t return 'continue';\n\t }\n\t\n\t if (typeof object[prop] === 'function') {\n\t // Can't use fat arrow here because of use of arguments below.\n\t membrane[prop] = function () {\n\t process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n\t return object[prop].apply(object, arguments);\n\t };\n\t return 'continue';\n\t }\n\t\n\t // These properties are non-enumerable to prevent React dev tools from\n\t // seeing them and causing spurious warnings when accessing them. In\n\t // principle this could be done with a proxy, but support for the\n\t // ownKeys trap on proxies is not universal, even among browsers that\n\t // otherwise support proxies.\n\t Object.defineProperty(membrane, prop, {\n\t get: function get() {\n\t process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n\t return object[prop];\n\t }\n\t });\n\t };\n\t\n\t for (var prop in object) {\n\t var _ret = _loop(prop);\n\t\n\t if (_ret === 'continue') continue;\n\t }\n\t\n\t return membrane;\n\t };\n\t }\n\t}\n\t\n\texports.default = deprecateObjectProperties;\n\n/***/ },\n/* 136 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DisabledInputUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar disableableMouseListenerNames = {\n\t onClick: true,\n\t onDoubleClick: true,\n\t onMouseDown: true,\n\t onMouseMove: true,\n\t onMouseUp: true,\n\t\n\t onClickCapture: true,\n\t onDoubleClickCapture: true,\n\t onMouseDownCapture: true,\n\t onMouseMoveCapture: true,\n\t onMouseUpCapture: true\n\t};\n\t\n\t/**\n\t * Implements a host component that does not receive mouse events\n\t * when `disabled` is set.\n\t */\n\tvar DisabledInputUtils = {\n\t getHostProps: function (inst, props) {\n\t if (!props.disabled) {\n\t return props;\n\t }\n\t\n\t // Copy the props, except the mouse listeners\n\t var hostProps = {};\n\t for (var key in props) {\n\t if (!disableableMouseListenerNames[key] && props.hasOwnProperty(key)) {\n\t hostProps[key] = props[key];\n\t }\n\t }\n\t\n\t return hostProps;\n\t }\n\t};\n\t\n\tmodule.exports = DisabledInputUtils;\n\n/***/ },\n/* 137 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactBrowserEventEmitter\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar EventConstants = __webpack_require__(54);\n\tvar EventPluginRegistry = __webpack_require__(188);\n\tvar ReactEventEmitterMixin = __webpack_require__(825);\n\tvar ViewportMetrics = __webpack_require__(312);\n\t\n\tvar getVendorPrefixedEventName = __webpack_require__(856);\n\tvar isEventSupported = __webpack_require__(205);\n\t\n\t/**\n\t * Summary of `ReactBrowserEventEmitter` event handling:\n\t *\n\t * - Top-level delegation is used to trap most native browser events. This\n\t * may only occur in the main thread and is the responsibility of\n\t * ReactEventListener, which is injected and can therefore support pluggable\n\t * event sources. This is the only work that occurs in the main thread.\n\t *\n\t * - We normalize and de-duplicate events to account for browser quirks. This\n\t * may be done in the worker thread.\n\t *\n\t * - Forward these native events (with the associated top-level type used to\n\t * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n\t * to extract any synthetic events.\n\t *\n\t * - The `EventPluginHub` will then process each event by annotating them with\n\t * \"dispatches\", a sequence of listeners and IDs that care about that event.\n\t *\n\t * - The `EventPluginHub` then dispatches the events.\n\t *\n\t * Overview of React and the event system:\n\t *\n\t * +------------+ .\n\t * | DOM | .\n\t * +------------+ .\n\t * | .\n\t * v .\n\t * +------------+ .\n\t * | ReactEvent | .\n\t * | Listener | .\n\t * +------------+ . +-----------+\n\t * | . +--------+|SimpleEvent|\n\t * | . | |Plugin |\n\t * +-----|------+ . v +-----------+\n\t * | | | . +--------------+ +------------+\n\t * | +-----------.--->|EventPluginHub| | Event |\n\t * | | . | | +-----------+ | Propagators|\n\t * | ReactEvent | . | | |TapEvent | |------------|\n\t * | Emitter | . | |<---+|Plugin | |other plugin|\n\t * | | . | | +-----------+ | utilities |\n\t * | +-----------.--->| | +------------+\n\t * | | | . +--------------+\n\t * +-----|------+ . ^ +-----------+\n\t * | . | |Enter/Leave|\n\t * + . +-------+|Plugin |\n\t * +-------------+ . +-----------+\n\t * | application | .\n\t * |-------------| .\n\t * | | .\n\t * | | .\n\t * +-------------+ .\n\t * .\n\t * React Core . General Purpose Event Plugin System\n\t */\n\t\n\tvar hasEventPageXY;\n\tvar alreadyListeningTo = {};\n\tvar isMonitoringScrollValue = false;\n\tvar reactTopListenersCounter = 0;\n\t\n\t// For events like 'submit' which don't consistently bubble (which we trap at a\n\t// lower node than `document`), binding at `document` would cause duplicate\n\t// events so we don't include them here\n\tvar topEventMapping = {\n\t topAbort: 'abort',\n\t topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend',\n\t topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration',\n\t topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart',\n\t topBlur: 'blur',\n\t topCanPlay: 'canplay',\n\t topCanPlayThrough: 'canplaythrough',\n\t topChange: 'change',\n\t topClick: 'click',\n\t topCompositionEnd: 'compositionend',\n\t topCompositionStart: 'compositionstart',\n\t topCompositionUpdate: 'compositionupdate',\n\t topContextMenu: 'contextmenu',\n\t topCopy: 'copy',\n\t topCut: 'cut',\n\t topDoubleClick: 'dblclick',\n\t topDrag: 'drag',\n\t topDragEnd: 'dragend',\n\t topDragEnter: 'dragenter',\n\t topDragExit: 'dragexit',\n\t topDragLeave: 'dragleave',\n\t topDragOver: 'dragover',\n\t topDragStart: 'dragstart',\n\t topDrop: 'drop',\n\t topDurationChange: 'durationchange',\n\t topEmptied: 'emptied',\n\t topEncrypted: 'encrypted',\n\t topEnded: 'ended',\n\t topError: 'error',\n\t topFocus: 'focus',\n\t topInput: 'input',\n\t topKeyDown: 'keydown',\n\t topKeyPress: 'keypress',\n\t topKeyUp: 'keyup',\n\t topLoadedData: 'loadeddata',\n\t topLoadedMetadata: 'loadedmetadata',\n\t topLoadStart: 'loadstart',\n\t topMouseDown: 'mousedown',\n\t topMouseMove: 'mousemove',\n\t topMouseOut: 'mouseout',\n\t topMouseOver: 'mouseover',\n\t topMouseUp: 'mouseup',\n\t topPaste: 'paste',\n\t topPause: 'pause',\n\t topPlay: 'play',\n\t topPlaying: 'playing',\n\t topProgress: 'progress',\n\t topRateChange: 'ratechange',\n\t topScroll: 'scroll',\n\t topSeeked: 'seeked',\n\t topSeeking: 'seeking',\n\t topSelectionChange: 'selectionchange',\n\t topStalled: 'stalled',\n\t topSuspend: 'suspend',\n\t topTextInput: 'textInput',\n\t topTimeUpdate: 'timeupdate',\n\t topTouchCancel: 'touchcancel',\n\t topTouchEnd: 'touchend',\n\t topTouchMove: 'touchmove',\n\t topTouchStart: 'touchstart',\n\t topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend',\n\t topVolumeChange: 'volumechange',\n\t topWaiting: 'waiting',\n\t topWheel: 'wheel'\n\t};\n\t\n\t/**\n\t * To ensure no conflicts with other potential React instances on the page\n\t */\n\tvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\t\n\tfunction getListeningForDocument(mountAt) {\n\t // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n\t // directly.\n\t if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n\t mountAt[topListenersIDKey] = reactTopListenersCounter++;\n\t alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n\t }\n\t return alreadyListeningTo[mountAt[topListenersIDKey]];\n\t}\n\t\n\t/**\n\t * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n\t * example:\n\t *\n\t * EventPluginHub.putListener('myID', 'onClick', myFunction);\n\t *\n\t * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n\t *\n\t * @internal\n\t */\n\tvar ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {\n\t\n\t /**\n\t * Injectable event backend\n\t */\n\t ReactEventListener: null,\n\t\n\t injection: {\n\t /**\n\t * @param {object} ReactEventListener\n\t */\n\t injectReactEventListener: function (ReactEventListener) {\n\t ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n\t ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n\t }\n\t },\n\t\n\t /**\n\t * Sets whether or not any created callbacks should be enabled.\n\t *\n\t * @param {boolean} enabled True if callbacks should be enabled.\n\t */\n\t setEnabled: function (enabled) {\n\t if (ReactBrowserEventEmitter.ReactEventListener) {\n\t ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n\t }\n\t },\n\t\n\t /**\n\t * @return {boolean} True if callbacks are enabled.\n\t */\n\t isEnabled: function () {\n\t return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n\t },\n\t\n\t /**\n\t * We listen for bubbled touch events on the document object.\n\t *\n\t * Firefox v8.01 (and possibly others) exhibited strange behavior when\n\t * mounting `onmousemove` events at some node that was not the document\n\t * element. The symptoms were that if your mouse is not moving over something\n\t * contained within that mount point (for example on the background) the\n\t * top-level listeners for `onmousemove` won't be called. However, if you\n\t * register the `mousemove` on the document object, then it will of course\n\t * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n\t * top-level listeners to the document object only, at least for these\n\t * movement types of events and possibly all events.\n\t *\n\t * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n\t *\n\t * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n\t * they bubble to document.\n\t *\n\t * @param {string} registrationName Name of listener (e.g. `onClick`).\n\t * @param {object} contentDocumentHandle Document which owns the container\n\t */\n\t listenTo: function (registrationName, contentDocumentHandle) {\n\t var mountAt = contentDocumentHandle;\n\t var isListening = getListeningForDocument(mountAt);\n\t var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\t\n\t var topLevelTypes = EventConstants.topLevelTypes;\n\t for (var i = 0; i < dependencies.length; i++) {\n\t var dependency = dependencies[i];\n\t if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n\t if (dependency === topLevelTypes.topWheel) {\n\t if (isEventSupported('wheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n\t } else if (isEventSupported('mousewheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'mousewheel', mountAt);\n\t } else {\n\t // Firefox needs to capture a different mouse scroll event.\n\t // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n\t }\n\t } else if (dependency === topLevelTypes.topScroll) {\n\t\n\t if (isEventSupported('scroll', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n\t } else {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n\t }\n\t } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) {\n\t\n\t if (isEventSupported('focus', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topBlur, 'blur', mountAt);\n\t } else if (isEventSupported('focusin')) {\n\t // IE has `focusin` and `focusout` events which bubble.\n\t // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topFocus, 'focusin', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n\t }\n\t\n\t // to make sure blur and focus event listeners are only attached once\n\t isListening[topLevelTypes.topBlur] = true;\n\t isListening[topLevelTypes.topFocus] = true;\n\t } else if (topEventMapping.hasOwnProperty(dependency)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n\t }\n\t\n\t isListening[dependency] = true;\n\t }\n\t }\n\t },\n\t\n\t trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n\t return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n\t },\n\t\n\t trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n\t return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n\t },\n\t\n\t /**\n\t * Listens to window scroll and resize events. We cache scroll values so that\n\t * application code can access them without triggering reflows.\n\t *\n\t * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when\n\t * pageX/pageY isn't supported (legacy browsers).\n\t *\n\t * NOTE: Scroll events do not bubble.\n\t *\n\t * @see http://www.quirksmode.org/dom/events/scroll.html\n\t */\n\t ensureScrollValueMonitoring: function () {\n\t if (hasEventPageXY === undefined) {\n\t hasEventPageXY = document.createEvent && 'pageX' in document.createEvent('MouseEvent');\n\t }\n\t if (!hasEventPageXY && !isMonitoringScrollValue) {\n\t var refresh = ViewportMetrics.refreshScrollValues;\n\t ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n\t isMonitoringScrollValue = true;\n\t }\n\t }\n\t\n\t});\n\t\n\tmodule.exports = ReactBrowserEventEmitter;\n\n/***/ },\n/* 138 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule SyntheticMouseEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(101);\n\tvar ViewportMetrics = __webpack_require__(312);\n\t\n\tvar getEventModifierState = __webpack_require__(203);\n\t\n\t/**\n\t * @interface MouseEvent\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/\n\t */\n\tvar MouseEventInterface = {\n\t screenX: null,\n\t screenY: null,\n\t clientX: null,\n\t clientY: null,\n\t ctrlKey: null,\n\t shiftKey: null,\n\t altKey: null,\n\t metaKey: null,\n\t getModifierState: getEventModifierState,\n\t button: function (event) {\n\t // Webkit, Firefox, IE9+\n\t // which: 1 2 3\n\t // button: 0 1 2 (standard)\n\t var button = event.button;\n\t if ('which' in event) {\n\t return button;\n\t }\n\t // IE<9\n\t // which: undefined\n\t // button: 0 0 0\n\t // button: 1 4 2 (onmouseup)\n\t return button === 2 ? 2 : button === 4 ? 1 : 0;\n\t },\n\t buttons: null,\n\t relatedTarget: function (event) {\n\t return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n\t },\n\t // \"Proprietary\" Interface.\n\t pageX: function (event) {\n\t return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n\t },\n\t pageY: function (event) {\n\t return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n\t }\n\t};\n\t\n\t/**\n\t * @param {object} dispatchConfig Configuration used to dispatch this event.\n\t * @param {string} dispatchMarker Marker identifying the event target.\n\t * @param {object} nativeEvent Native browser event.\n\t * @extends {SyntheticUIEvent}\n\t */\n\tfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n\t return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n\t}\n\t\n\tSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\t\n\tmodule.exports = SyntheticMouseEvent;\n\n/***/ },\n/* 139 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2016-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * Based on the escape-html library, which is used under the MIT License below:\n\t *\n\t * Copyright (c) 2012-2013 TJ Holowaychuk\n\t * Copyright (c) 2015 Andreas Lubbe\n\t * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n\t *\n\t * Permission is hereby granted, free of charge, to any person obtaining\n\t * a copy of this software and associated documentation files (the\n\t * 'Software'), to deal in the Software without restriction, including\n\t * without limitation the rights to use, copy, modify, merge, publish,\n\t * distribute, sublicense, and/or sell copies of the Software, and to\n\t * permit persons to whom the Software is furnished to do so, subject to\n\t * the following conditions:\n\t *\n\t * The above copyright notice and this permission notice shall be\n\t * included in all copies or substantial portions of the Software.\n\t *\n\t * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n\t * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\t * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n\t * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n\t * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n\t * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t *\n\t * @providesModule escapeTextContentForBrowser\n\t */\n\t\n\t'use strict';\n\t\n\t// code copied and modified from escape-html\n\t/**\n\t * Module variables.\n\t * @private\n\t */\n\t\n\tvar matchHtmlRegExp = /[\"'&<>]/;\n\t\n\t/**\n\t * Escape special characters in the given string of html.\n\t *\n\t * @param {string} string The string to escape for inserting into HTML\n\t * @return {string}\n\t * @public\n\t */\n\t\n\tfunction escapeHtml(string) {\n\t var str = '' + string;\n\t var match = matchHtmlRegExp.exec(str);\n\t\n\t if (!match) {\n\t return str;\n\t }\n\t\n\t var escape;\n\t var html = '';\n\t var index = 0;\n\t var lastIndex = 0;\n\t\n\t for (index = match.index; index < str.length; index++) {\n\t switch (str.charCodeAt(index)) {\n\t case 34:\n\t // \"\n\t escape = '"';\n\t break;\n\t case 38:\n\t // &\n\t escape = '&';\n\t break;\n\t case 39:\n\t // '\n\t escape = '''; // modified from escape-html; used to be '''\n\t break;\n\t case 60:\n\t // <\n\t escape = '<';\n\t break;\n\t case 62:\n\t // >\n\t escape = '>';\n\t break;\n\t default:\n\t continue;\n\t }\n\t\n\t if (lastIndex !== index) {\n\t html += str.substring(lastIndex, index);\n\t }\n\t\n\t lastIndex = index + 1;\n\t html += escape;\n\t }\n\t\n\t return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n\t}\n\t// end code copied and modified from escape-html\n\t\n\t/**\n\t * Escapes text to prevent scripting attacks.\n\t *\n\t * @param {*} text Text value to escape.\n\t * @return {string} An escaped string.\n\t */\n\tfunction escapeTextContentForBrowser(text) {\n\t if (typeof text === 'boolean' || typeof text === 'number') {\n\t // this shortcircuit helps perf for types that we know will never have\n\t // special characters, especially given that this function is used often\n\t // for numeric dom ids.\n\t return '' + text;\n\t }\n\t return escapeHtml(text);\n\t}\n\t\n\tmodule.exports = escapeTextContentForBrowser;\n\n/***/ },\n/* 140 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule setInnerHTML\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(26);\n\tvar DOMNamespaces = __webpack_require__(187);\n\t\n\tvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\n\tvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(201);\n\t\n\t// SVG temp container for IE lacking innerHTML\n\tvar reusableSVGContainer;\n\t\n\t/**\n\t * Set the innerHTML property of a node, ensuring that whitespace is preserved\n\t * even in IE8.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} html\n\t * @internal\n\t */\n\tvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n\t // IE does not have innerHTML for SVG nodes, so instead we inject the\n\t // new markup in a temp node and then move the child nodes across into\n\t // the target node\n\t if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n\t reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n\t reusableSVGContainer.innerHTML = '' + html + ' ';\n\t var newNodes = reusableSVGContainer.firstChild.childNodes;\n\t for (var i = 0; i < newNodes.length; i++) {\n\t node.appendChild(newNodes[i]);\n\t }\n\t } else {\n\t node.innerHTML = html;\n\t }\n\t});\n\t\n\tif (ExecutionEnvironment.canUseDOM) {\n\t // IE8: When updating a just created node with innerHTML only leading\n\t // whitespace is removed. When updating an existing node with innerHTML\n\t // whitespace in root TextNodes is also collapsed.\n\t // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\t\n\t // Feature detection; only IE8 is known to behave improperly like this.\n\t var testElement = document.createElement('div');\n\t testElement.innerHTML = ' ';\n\t if (testElement.innerHTML === '') {\n\t setInnerHTML = function (node, html) {\n\t // Magic theory: IE8 supposedly differentiates between added and updated\n\t // nodes when processing innerHTML, innerHTML on updated nodes suffers\n\t // from worse whitespace behavior. Re-adding a node like this triggers\n\t // the initial and more favorable whitespace behavior.\n\t // TODO: What to do on a detached node?\n\t if (node.parentNode) {\n\t node.parentNode.replaceChild(node, node);\n\t }\n\t\n\t // We also implement a workaround for non-visible tags disappearing into\n\t // thin air on IE8, this only happens if there is no visible text\n\t // in-front of the non-visible tags. Piggyback on the whitespace fix\n\t // and simply check if any non-visible tags appear in the source.\n\t if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n\t // Recover leading whitespace by temporarily prepending any character.\n\t // \\uFEFF has the potential advantage of being zero-width/invisible.\n\t // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n\t // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n\t // the actual Unicode character (by Babel, for example).\n\t // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n\t node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\t\n\t // deleteData leaves an empty `TextNode` which offsets the index of all\n\t // children. Definitely want to avoid this.\n\t var textNode = node.firstChild;\n\t if (textNode.data.length === 1) {\n\t node.removeChild(textNode);\n\t } else {\n\t textNode.deleteData(0, 1);\n\t }\n\t } else {\n\t node.innerHTML = html;\n\t }\n\t };\n\t }\n\t testElement = null;\n\t}\n\t\n\tmodule.exports = setInnerHTML;\n\n/***/ },\n/* 141 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.CALL_API = exports.BASE_API_PATH = exports.API_VERSION = undefined;\n\t\n\tvar _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\t\n\tvar _isomorphicFetch = __webpack_require__(654);\n\t\n\tvar _isomorphicFetch2 = _interopRequireDefault(_isomorphicFetch);\n\t\n\tvar _humps = __webpack_require__(254);\n\t\n\tvar _humps2 = _interopRequireDefault(_humps);\n\t\n\tvar _x2js = __webpack_require__(877);\n\t\n\tvar _x2js2 = _interopRequireDefault(_x2js);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _i18n = __webpack_require__(91);\n\t\n\tvar _auth = __webpack_require__(209);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t * Redux middleware to perform API queries.\n\t *\n\t * This middleware catches the API requests and replaces them with API\n\t * responses.\n\t */\n\t\n\t\n\tvar API_VERSION = exports.API_VERSION = 350001; /** API version to use. */\n\tvar BASE_API_PATH = exports.BASE_API_PATH = \"/server/xml.server.php\"; /** Base API path after endpoint. */\n\t\n\t// Action key that carries API call info interpreted by this Redux middleware.\n\tvar CALL_API = exports.CALL_API = \"CALL_API\";\n\t\n\t// Error class to represents errors from these actions.\n\t\n\tvar APIError = function (_Error) {\n\t _inherits(APIError, _Error);\n\t\n\t function APIError() {\n\t _classCallCheck(this, APIError);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(APIError).apply(this, arguments));\n\t }\n\t\n\t return APIError;\n\t}(Error);\n\t\n\t/**\n\t * Check the HTTP status of the response.\n\t *\n\t * @param response A XHR response object.\n\t * @return The response or a rejected Promise if the check failed.\n\t */\n\t\n\t\n\tfunction _checkHTTPStatus(response) {\n\t if (response.status >= 200 && response.status < 300) {\n\t return response;\n\t } else {\n\t return Promise.reject(response.statusText);\n\t }\n\t}\n\t\n\t/**\n\t * Parse the XML resulting from the API to JS object.\n\t *\n\t * @param responseText The text from the API response.\n\t * @return The response as a JS object or a rejected Promise on error.\n\t */\n\tfunction _parseToJSON(responseText) {\n\t var x2js = new _x2js2.default({\n\t attributePrefix: \"\", // No prefix for attributes\n\t keepCData: false });\n\t if (responseText) {\n\t return x2js.xml_str2json(responseText).root;\n\t }\n\t return Promise.reject(new _i18n.i18nRecord({\n\t id: \"app.api.invalidResponse\",\n\t values: {}\n\t }));\n\t}\n\t\n\t/**\n\t * Check the errors returned by the API itself, in its response.\n\t *\n\t * @param jsonData A JS object representing the API response.\n\t * @return The input data or a rejected Promise if errors are present.\n\t */\n\tfunction _checkAPIErrors(jsonData) {\n\t if (jsonData.error) {\n\t return Promise.reject(jsonData.error);\n\t } else if (!jsonData) {\n\t // No data returned\n\t return Promise.reject(new _i18n.i18nRecord({\n\t id: \"app.api.emptyResponse\",\n\t values: {}\n\t }));\n\t }\n\t return jsonData;\n\t}\n\t\n\t/**\n\t * Apply some fixes on the API data.\n\t *\n\t * @param jsonData A JS object representing the API response.\n\t * @return A fixed JS object.\n\t */\n\tfunction _uglyFixes(jsonData) {\n\t // Fix songs array\n\t var _uglyFixesSongs = function _uglyFixesSongs(songs) {\n\t return songs.map(function (song) {\n\t // Fix for cdata left in artist and album\n\t song.artist.name = song.artist.cdata;\n\t song.album.name = song.album.cdata;\n\t return song;\n\t });\n\t };\n\t\n\t // Fix albums array\n\t var _uglyFixesAlbums = function _uglyFixesAlbums(albums) {\n\t return albums.map(function (album) {\n\t // TODO: Should go in Ampache core\n\t // Fix for absence of distinction between disks in the same album\n\t if (album.disk > 1) {\n\t album.name = album.name + \" [Disk \" + album.disk + \"]\";\n\t }\n\t\n\t // Move songs one node top\n\t if (album.tracks.song) {\n\t album.tracks = album.tracks.song;\n\t\n\t // Ensure tracks is an array\n\t if (!Array.isArray(album.tracks)) {\n\t album.tracks = [album.tracks];\n\t }\n\t\n\t // Fix tracks array\n\t album.tracks = _uglyFixesSongs(album.tracks);\n\t }\n\t return album;\n\t });\n\t };\n\t\n\t // Fix artists array\n\t var _uglyFixesArtists = function _uglyFixesArtists(artists) {\n\t return artists.map(function (artist) {\n\t // Move albums one node top\n\t if (artist.albums.album) {\n\t artist.albums = artist.albums.album;\n\t\n\t // Ensure albums are an array\n\t if (!Array.isArray(artist.albums)) {\n\t artist.albums = [artist.albums];\n\t }\n\t\n\t // Fix albums\n\t artist.albums = _uglyFixesAlbums(artist.albums);\n\t }\n\t\n\t // Move songs one node top\n\t if (artist.songs.song) {\n\t artist.songs = artist.songs.song;\n\t\n\t // Ensure songs are an array\n\t if (!Array.isArray(artist.songs)) {\n\t artist.songs = [artist.songs];\n\t }\n\t\n\t // Fix songs\n\t artist.songs = _uglyFixesSongs(artist.songs);\n\t }\n\t return artist;\n\t });\n\t };\n\t\n\t // Ensure items are always wrapped in an array\n\t if (jsonData.artist && !Array.isArray(jsonData.artist)) {\n\t jsonData.artist = [jsonData.artist];\n\t }\n\t if (jsonData.album && !Array.isArray(jsonData.album)) {\n\t jsonData.album = [jsonData.album];\n\t }\n\t if (jsonData.song && !Array.isArray(jsonData.song)) {\n\t jsonData.song = [jsonData.song];\n\t }\n\t\n\t // Fix artists\n\t if (jsonData.artist) {\n\t jsonData.artist = _uglyFixesArtists(jsonData.artist);\n\t }\n\t\n\t // Fix albums\n\t if (jsonData.album) {\n\t jsonData.album = _uglyFixesAlbums(jsonData.album);\n\t }\n\t\n\t // Fix songs\n\t if (jsonData.song) {\n\t jsonData.song = _uglyFixesSongs(jsonData.song);\n\t }\n\t\n\t // TODO: Should go in Ampache core\n\t // Add sessionExpire information\n\t if (!jsonData.sessionExpire) {\n\t // Fix for Ampache not returning updated sessionExpire\n\t jsonData.sessionExpire = new Date(Date.now() + 3600 * 1000).toJSON();\n\t }\n\t\n\t return jsonData;\n\t}\n\t\n\t/**\n\t * Fetches an API response and normalizes the result.\n\t *\n\t * @param endpoint Base URL of your Ampache server.\n\t * @param action API action name.\n\t * @param auth API token to use.\n\t * @param username Username to use in the API.\n\t * @param extraParams An object of extra parameters to pass to the API.\n\t *\n\t * @return A fetching Promise.\n\t */\n\tfunction doAPICall(endpoint, action, auth, username, extraParams) {\n\t // Translate the API action to real API action\n\t var APIAction = extraParams.filter ? action.rstrip(\"s\") : action;\n\t // Set base params\n\t var baseParams = {\n\t version: API_VERSION,\n\t action: APIAction,\n\t auth: auth,\n\t user: username\n\t };\n\t // Extend with extraParams\n\t var params = Object.assign({}, baseParams, extraParams);\n\t // Assemble the full URL with endpoint, API path and GET params\n\t var fullURL = (0, _utils.assembleURLAndParams)(endpoint + BASE_API_PATH, params);\n\t\n\t return (0, _isomorphicFetch2.default)(fullURL, {\n\t method: \"get\"\n\t }).then(_checkHTTPStatus).then(function (response) {\n\t return response.text();\n\t }).then(_parseToJSON).then(_checkAPIErrors).then(function (jsonData) {\n\t return _humps2.default.camelizeKeys(jsonData);\n\t }) // Camelize\n\t .then(_uglyFixes);\n\t}\n\t\n\t/**\n\t * A Redux middleware that interprets actions with CALL_API info specified.\n\t * Performs the call and promises when such actions are dispatched.\n\t */\n\t\n\texports.default = function (store) {\n\t return function (next) {\n\t return function (reduxAction) {\n\t if (reduxAction.type !== CALL_API) {\n\t // Do not apply on other actions\n\t return next(reduxAction);\n\t }\n\t\n\t // Check payload\n\t var _reduxAction$payload = reduxAction.payload;\n\t var endpoint = _reduxAction$payload.endpoint;\n\t var action = _reduxAction$payload.action;\n\t var auth = _reduxAction$payload.auth;\n\t var username = _reduxAction$payload.username;\n\t var dispatch = _reduxAction$payload.dispatch;\n\t var extraParams = _reduxAction$payload.extraParams;\n\t\n\t if (!endpoint || typeof endpoint !== \"string\") {\n\t throw new APIError(\"Specify a string endpoint URL.\");\n\t }\n\t if (!action) {\n\t throw new APIError(\"Specify one of the supported API actions.\");\n\t }\n\t if (!auth) {\n\t throw new APIError(\"Specify an auth token.\");\n\t }\n\t if (!username) {\n\t throw new APIError(\"Specify a username.\");\n\t }\n\t if (!Array.isArray(dispatch) || dispatch.length !== 3) {\n\t throw new APIError(\"Expected an array of three action dispatch.\");\n\t }\n\t if (!dispatch.every(function (type) {\n\t return typeof type === \"function\" || type === null;\n\t })) {\n\t throw new APIError(\"Expected action to dispatch to be functions or null.\");\n\t }\n\t\n\t // Get the actions to dispatch\n\t\n\t var _dispatch = _slicedToArray(dispatch, 3);\n\t\n\t var requestDispatch = _dispatch[0];\n\t var successDispatch = _dispatch[1];\n\t var failureDispatch = _dispatch[2];\n\t\n\t if (requestDispatch) {\n\t // Dispatch request action if needed\n\t store.dispatch(requestDispatch());\n\t }\n\t\n\t // Run the API call\n\t return doAPICall(endpoint, action, auth, username, extraParams).then(function (response) {\n\t if (successDispatch) {\n\t // Dispatch success if needed\n\t store.dispatch(successDispatch(response));\n\t }\n\t }, function (error) {\n\t if (failureDispatch) {\n\t // Error object from the API (in the JS object)\n\t if (error._code && error.__cdata) {\n\t // Format the error message\n\t var errorMessage = error.__cdata + \" (\" + error._code + \")\";\n\t if (401 == error._code) {\n\t // This is an error meaning no valid session was\n\t // passed. We must perform a new handshake.\n\t store.dispatch((0, _auth.loginUserExpired)(errorMessage));\n\t return;\n\t }\n\t // Else, form error message and continue\n\t error = errorMessage;\n\t }\n\t // Else if exception was thrown\n\t else if (error instanceof Error) {\n\t // Form error message and continue\n\t error = error.message;\n\t }\n\t // Dispatch a failure event\n\t store.dispatch(failureDispatch(error));\n\t }\n\t });\n\t };\n\t };\n\t};\n\n/***/ },\n/* 142 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(35);\n\t\n\tvar _reactRedux = __webpack_require__(40);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _immutable = __webpack_require__(12);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _actions = __webpack_require__(24);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Artists = __webpack_require__(338);\n\t\n\tvar _Artists2 = _interopRequireDefault(_Artists);\n\t\n\tvar _api = __webpack_require__(90);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar artistsMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _api2.default)));\n\t\n\t/**\n\t * Grid of artists arts.\n\t */\n\t\n\tvar ArtistsPageIntl = function (_Component) {\n\t _inherits(ArtistsPageIntl, _Component);\n\t\n\t function ArtistsPageIntl() {\n\t _classCallCheck(this, ArtistsPageIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(ArtistsPageIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(ArtistsPageIntl, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // Load the data for the current page\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t this.props.actions.loadPaginatedArtists({ pageNumber: currentPage });\n\t }\n\t }, {\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t // Load the data if page has changed\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t var nextPage = parseInt(nextProps.location.query.page) || 1;\n\t if (currentPage != nextPage) {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t // Load new data\n\t this.props.actions.loadPaginatedArtists({ pageNumber: nextPage });\n\t }\n\t }\n\t }, {\n\t key: \"componentWillUnmount\",\n\t value: function componentWillUnmount() {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var pagination = (0, _utils.buildPaginationObject)(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\t\n\t var error = (0, _utils.handleErrorI18nObject)(this.props.error, formatMessage, artistsMessages);\n\t\n\t return _react2.default.createElement(_Artists2.default, { isFetching: this.props.isFetching, error: error, artists: this.props.artistsList, pagination: pagination });\n\t }\n\t }]);\n\t\n\t return ArtistsPageIntl;\n\t}(_react.Component);\n\t\n\tArtistsPageIntl.propTypes = {\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t var artistsList = new _immutable2.default.List();\n\t if (state.paginated.type == \"artist\" && state.paginated.result.size > 0) {\n\t artistsList = state.paginated.result.map(function (id) {\n\t return state.entities.getIn([\"entities\", \"artist\", id]);\n\t });\n\t }\n\t return {\n\t isFetching: state.entities.isFetching,\n\t error: state.entities.error,\n\t artistsList: artistsList,\n\t currentPage: state.paginated.currentPage,\n\t nPages: state.paginated.nPages\n\t };\n\t};\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)((0, _reactIntl.injectIntl)(ArtistsPageIntl));\n\n/***/ },\n/* 143 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n\t'use strict';\n\tvar toObject = __webpack_require__(19)\n\t , toIndex = __webpack_require__(73)\n\t , toLength = __webpack_require__(18);\n\tmodule.exports = function fill(value /*, start = 0, end = @length */){\n\t var O = toObject(this)\n\t , length = toLength(O.length)\n\t , aLen = arguments.length\n\t , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)\n\t , end = aLen > 2 ? arguments[2] : undefined\n\t , endPos = end === undefined ? length : toIndex(end, length);\n\t while(endPos > index)O[index++] = value;\n\t return O;\n\t};\n\n/***/ },\n/* 144 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $defineProperty = __webpack_require__(14)\r\n\t , createDesc = __webpack_require__(58);\r\n\t\r\n\tmodule.exports = function(object, index, value){\r\n\t if(index in object)$defineProperty.f(object, index, createDesc(0, value));\r\n\t else object[index] = value;\r\n\t};\n\n/***/ },\n/* 145 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(9)\n\t , document = __webpack_require__(7).document\n\t // in old IE typeof document.createElement is 'object'\n\t , is = isObject(document) && isObject(document.createElement);\n\tmodule.exports = function(it){\n\t return is ? document.createElement(it) : {};\n\t};\n\n/***/ },\n/* 146 */\n/***/ function(module, exports) {\n\n\t// IE 8- don't enum bug keys\r\n\tmodule.exports = (\r\n\t 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\r\n\t).split(',');\n\n/***/ },\n/* 147 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar MATCH = __webpack_require__(10)('match');\n\tmodule.exports = function(KEY){\n\t var re = /./;\n\t try {\n\t '/./'[KEY](re);\n\t } catch(e){\n\t try {\n\t re[MATCH] = false;\n\t return !'/./'[KEY](re);\n\t } catch(f){ /* empty */ }\n\t } return true;\n\t};\n\n/***/ },\n/* 148 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(7).document && document.documentElement;\n\n/***/ },\n/* 149 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(9)\r\n\t , setPrototypeOf = __webpack_require__(114).set;\r\n\tmodule.exports = function(that, target, C){\r\n\t var P, S = target.constructor;\r\n\t if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){\r\n\t setPrototypeOf(that, P);\r\n\t } return that;\r\n\t};\n\n/***/ },\n/* 150 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// check on default Array iterator\n\tvar Iterators = __webpack_require__(66)\n\t , ITERATOR = __webpack_require__(10)('iterator')\n\t , ArrayProto = Array.prototype;\n\t\n\tmodule.exports = function(it){\n\t return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n\t};\n\n/***/ },\n/* 151 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.2.2 IsArray(argument)\n\tvar cof = __webpack_require__(36);\n\tmodule.exports = Array.isArray || function isArray(arg){\n\t return cof(arg) == 'Array';\n\t};\n\n/***/ },\n/* 152 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.3 Number.isInteger(number)\n\tvar isObject = __webpack_require__(9)\n\t , floor = Math.floor;\n\tmodule.exports = function isInteger(it){\n\t return !isObject(it) && isFinite(it) && floor(it) === it;\n\t};\n\n/***/ },\n/* 153 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar create = __webpack_require__(68)\n\t , descriptor = __webpack_require__(58)\n\t , setToStringTag = __webpack_require__(83)\n\t , IteratorPrototype = {};\n\t\n\t// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n\t__webpack_require__(25)(IteratorPrototype, __webpack_require__(10)('iterator'), function(){ return this; });\n\t\n\tmodule.exports = function(Constructor, NAME, next){\n\t Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n\t setToStringTag(Constructor, NAME + ' Iterator');\n\t};\n\n/***/ },\n/* 154 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar LIBRARY = __webpack_require__(67)\n\t , $export = __webpack_require__(1)\n\t , redefine = __webpack_require__(28)\n\t , hide = __webpack_require__(25)\n\t , has = __webpack_require__(22)\n\t , Iterators = __webpack_require__(66)\n\t , $iterCreate = __webpack_require__(153)\n\t , setToStringTag = __webpack_require__(83)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , ITERATOR = __webpack_require__(10)('iterator')\n\t , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n\t , FF_ITERATOR = '@@iterator'\n\t , KEYS = 'keys'\n\t , VALUES = 'values';\n\t\n\tvar returnThis = function(){ return this; };\n\t\n\tmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n\t $iterCreate(Constructor, NAME, next);\n\t var getMethod = function(kind){\n\t if(!BUGGY && kind in proto)return proto[kind];\n\t switch(kind){\n\t case KEYS: return function keys(){ return new Constructor(this, kind); };\n\t case VALUES: return function values(){ return new Constructor(this, kind); };\n\t } return function entries(){ return new Constructor(this, kind); };\n\t };\n\t var TAG = NAME + ' Iterator'\n\t , DEF_VALUES = DEFAULT == VALUES\n\t , VALUES_BUG = false\n\t , proto = Base.prototype\n\t , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n\t , $default = $native || getMethod(DEFAULT)\n\t , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n\t , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n\t , methods, key, IteratorPrototype;\n\t // Fix native\n\t if($anyNative){\n\t IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n\t if(IteratorPrototype !== Object.prototype){\n\t // Set @@toStringTag to native iterators\n\t setToStringTag(IteratorPrototype, TAG, true);\n\t // fix for some old engines\n\t if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n\t }\n\t }\n\t // fix Array#{values, @@iterator}.name in V8 / FF\n\t if(DEF_VALUES && $native && $native.name !== VALUES){\n\t VALUES_BUG = true;\n\t $default = function values(){ return $native.call(this); };\n\t }\n\t // Define iterator\n\t if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n\t hide(proto, ITERATOR, $default);\n\t }\n\t // Plug for library\n\t Iterators[NAME] = $default;\n\t Iterators[TAG] = returnThis;\n\t if(DEFAULT){\n\t methods = {\n\t values: DEF_VALUES ? $default : getMethod(VALUES),\n\t keys: IS_SET ? $default : getMethod(KEYS),\n\t entries: $entries\n\t };\n\t if(FORCED)for(key in methods){\n\t if(!(key in proto))redefine(proto, key, methods[key]);\n\t } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n\t }\n\t return methods;\n\t};\n\n/***/ },\n/* 155 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.14 Math.expm1(x)\n\tvar $expm1 = Math.expm1;\n\tmodule.exports = (!$expm1\n\t // Old FF bug\n\t || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n\t // Tor Browser bug\n\t || $expm1(-2e-17) != -2e-17\n\t) ? function expm1(x){\n\t return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n\t} : $expm1;\n\n/***/ },\n/* 156 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.28 Math.sign(x)\n\tmodule.exports = Math.sign || function sign(x){\n\t return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n\t};\n\n/***/ },\n/* 157 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(7)\n\t , macrotask = __webpack_require__(164).set\n\t , Observer = global.MutationObserver || global.WebKitMutationObserver\n\t , process = global.process\n\t , Promise = global.Promise\n\t , isNode = __webpack_require__(36)(process) == 'process';\n\t\n\tmodule.exports = function(){\n\t var head, last, notify;\n\t\n\t var flush = function(){\n\t var parent, fn;\n\t if(isNode && (parent = process.domain))parent.exit();\n\t while(head){\n\t fn = head.fn;\n\t head = head.next;\n\t try {\n\t fn();\n\t } catch(e){\n\t if(head)notify();\n\t else last = undefined;\n\t throw e;\n\t }\n\t } last = undefined;\n\t if(parent)parent.enter();\n\t };\n\t\n\t // Node.js\n\t if(isNode){\n\t notify = function(){\n\t process.nextTick(flush);\n\t };\n\t // browsers with MutationObserver\n\t } else if(Observer){\n\t var toggle = true\n\t , node = document.createTextNode('');\n\t new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n\t notify = function(){\n\t node.data = toggle = !toggle;\n\t };\n\t // environments with maybe non-completely correct, but existent Promise\n\t } else if(Promise && Promise.resolve){\n\t var promise = Promise.resolve();\n\t notify = function(){\n\t promise.then(flush);\n\t };\n\t // for other environments - macrotask based on:\n\t // - setImmediate\n\t // - MessageChannel\n\t // - window.postMessag\n\t // - onreadystatechange\n\t // - setTimeout\n\t } else {\n\t notify = function(){\n\t // strange IE + webpack dev server bug - use .call(global)\n\t macrotask.call(global, flush);\n\t };\n\t }\n\t\n\t return function(fn){\n\t var task = {fn: fn, next: undefined};\n\t if(last)last.next = task;\n\t if(!head){\n\t head = task;\n\t notify();\n\t } last = task;\n\t };\n\t};\n\n/***/ },\n/* 158 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar shared = __webpack_require__(115)('keys')\r\n\t , uid = __webpack_require__(74);\r\n\tmodule.exports = function(key){\r\n\t return shared[key] || (shared[key] = uid(key));\r\n\t};\n\n/***/ },\n/* 159 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.3.20 SpeciesConstructor(O, defaultConstructor)\n\tvar anObject = __webpack_require__(4)\n\t , aFunction = __webpack_require__(27)\n\t , SPECIES = __webpack_require__(10)('species');\n\tmodule.exports = function(O, D){\n\t var C = anObject(O).constructor, S;\n\t return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n\t};\n\n/***/ },\n/* 160 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar toInteger = __webpack_require__(59)\n\t , defined = __webpack_require__(37);\n\t// true -> String#at\n\t// false -> String#codePointAt\n\tmodule.exports = function(TO_STRING){\n\t return function(that, pos){\n\t var s = String(defined(that))\n\t , i = toInteger(pos)\n\t , l = s.length\n\t , a, b;\n\t if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n\t a = s.charCodeAt(i);\n\t return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n\t ? TO_STRING ? s.charAt(i) : a\n\t : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n\t };\n\t};\n\n/***/ },\n/* 161 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// helper for String#{startsWith, endsWith, includes}\n\tvar isRegExp = __webpack_require__(110)\n\t , defined = __webpack_require__(37);\n\t\n\tmodule.exports = function(that, searchString, NAME){\n\t if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n\t return String(defined(that));\n\t};\n\n/***/ },\n/* 162 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar toInteger = __webpack_require__(59)\n\t , defined = __webpack_require__(37);\n\t\n\tmodule.exports = function repeat(count){\n\t var str = String(defined(this))\n\t , res = ''\n\t , n = toInteger(count);\n\t if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n\t for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n\t return res;\n\t};\n\n/***/ },\n/* 163 */\n/***/ function(module, exports) {\n\n\tmodule.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\r\n\t '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n/***/ },\n/* 164 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ctx = __webpack_require__(50)\n\t , invoke = __webpack_require__(109)\n\t , html = __webpack_require__(148)\n\t , cel = __webpack_require__(145)\n\t , global = __webpack_require__(7)\n\t , process = global.process\n\t , setTask = global.setImmediate\n\t , clearTask = global.clearImmediate\n\t , MessageChannel = global.MessageChannel\n\t , counter = 0\n\t , queue = {}\n\t , ONREADYSTATECHANGE = 'onreadystatechange'\n\t , defer, channel, port;\n\tvar run = function(){\n\t var id = +this;\n\t if(queue.hasOwnProperty(id)){\n\t var fn = queue[id];\n\t delete queue[id];\n\t fn();\n\t }\n\t};\n\tvar listener = function(event){\n\t run.call(event.data);\n\t};\n\t// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\n\tif(!setTask || !clearTask){\n\t setTask = function setImmediate(fn){\n\t var args = [], i = 1;\n\t while(arguments.length > i)args.push(arguments[i++]);\n\t queue[++counter] = function(){\n\t invoke(typeof fn == 'function' ? fn : Function(fn), args);\n\t };\n\t defer(counter);\n\t return counter;\n\t };\n\t clearTask = function clearImmediate(id){\n\t delete queue[id];\n\t };\n\t // Node.js 0.8-\n\t if(__webpack_require__(36)(process) == 'process'){\n\t defer = function(id){\n\t process.nextTick(ctx(run, id, 1));\n\t };\n\t // Browsers with MessageChannel, includes WebWorkers\n\t } else if(MessageChannel){\n\t channel = new MessageChannel;\n\t port = channel.port2;\n\t channel.port1.onmessage = listener;\n\t defer = ctx(port.postMessage, port, 1);\n\t // Browsers with postMessage, skip WebWorkers\n\t // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n\t } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n\t defer = function(id){\n\t global.postMessage(id + '', '*');\n\t };\n\t global.addEventListener('message', listener, false);\n\t // IE8-\n\t } else if(ONREADYSTATECHANGE in cel('script')){\n\t defer = function(id){\n\t html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n\t html.removeChild(this);\n\t run.call(id);\n\t };\n\t };\n\t // Rest old browsers\n\t } else {\n\t defer = function(id){\n\t setTimeout(ctx(run, id, 1), 0);\n\t };\n\t }\n\t}\n\tmodule.exports = {\n\t set: setTask,\n\t clear: clearTask\n\t};\n\n/***/ },\n/* 165 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(7)\n\t , DESCRIPTORS = __webpack_require__(13)\n\t , LIBRARY = __webpack_require__(67)\n\t , $typed = __webpack_require__(116)\n\t , hide = __webpack_require__(25)\n\t , redefineAll = __webpack_require__(71)\n\t , fails = __webpack_require__(8)\n\t , anInstance = __webpack_require__(56)\n\t , toInteger = __webpack_require__(59)\n\t , toLength = __webpack_require__(18)\n\t , gOPN = __webpack_require__(69).f\n\t , dP = __webpack_require__(14).f\n\t , arrayFill = __webpack_require__(143)\n\t , setToStringTag = __webpack_require__(83)\n\t , ARRAY_BUFFER = 'ArrayBuffer'\n\t , DATA_VIEW = 'DataView'\n\t , PROTOTYPE = 'prototype'\n\t , WRONG_LENGTH = 'Wrong length!'\n\t , WRONG_INDEX = 'Wrong index!'\n\t , $ArrayBuffer = global[ARRAY_BUFFER]\n\t , $DataView = global[DATA_VIEW]\n\t , Math = global.Math\n\t , parseInt = global.parseInt\n\t , RangeError = global.RangeError\n\t , Infinity = global.Infinity\n\t , BaseBuffer = $ArrayBuffer\n\t , abs = Math.abs\n\t , pow = Math.pow\n\t , min = Math.min\n\t , floor = Math.floor\n\t , log = Math.log\n\t , LN2 = Math.LN2\n\t , BUFFER = 'buffer'\n\t , BYTE_LENGTH = 'byteLength'\n\t , BYTE_OFFSET = 'byteOffset'\n\t , $BUFFER = DESCRIPTORS ? '_b' : BUFFER\n\t , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH\n\t , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\t\n\t// IEEE754 conversions based on https://github.com/feross/ieee754\n\tvar packIEEE754 = function(value, mLen, nBytes){\n\t var buffer = Array(nBytes)\n\t , eLen = nBytes * 8 - mLen - 1\n\t , eMax = (1 << eLen) - 1\n\t , eBias = eMax >> 1\n\t , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0\n\t , i = 0\n\t , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0\n\t , e, m, c;\n\t value = abs(value)\n\t if(value != value || value === Infinity){\n\t m = value != value ? 1 : 0;\n\t e = eMax;\n\t } else {\n\t e = floor(log(value) / LN2);\n\t if(value * (c = pow(2, -e)) < 1){\n\t e--;\n\t c *= 2;\n\t }\n\t if(e + eBias >= 1){\n\t value += rt / c;\n\t } else {\n\t value += rt * pow(2, 1 - eBias);\n\t }\n\t if(value * c >= 2){\n\t e++;\n\t c /= 2;\n\t }\n\t if(e + eBias >= eMax){\n\t m = 0;\n\t e = eMax;\n\t } else if(e + eBias >= 1){\n\t m = (value * c - 1) * pow(2, mLen);\n\t e = e + eBias;\n\t } else {\n\t m = value * pow(2, eBias - 1) * pow(2, mLen);\n\t e = 0;\n\t }\n\t }\n\t for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n\t e = e << mLen | m;\n\t eLen += mLen;\n\t for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n\t buffer[--i] |= s * 128;\n\t return buffer;\n\t};\n\tvar unpackIEEE754 = function(buffer, mLen, nBytes){\n\t var eLen = nBytes * 8 - mLen - 1\n\t , eMax = (1 << eLen) - 1\n\t , eBias = eMax >> 1\n\t , nBits = eLen - 7\n\t , i = nBytes - 1\n\t , s = buffer[i--]\n\t , e = s & 127\n\t , m;\n\t s >>= 7;\n\t for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n\t m = e & (1 << -nBits) - 1;\n\t e >>= -nBits;\n\t nBits += mLen;\n\t for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n\t if(e === 0){\n\t e = 1 - eBias;\n\t } else if(e === eMax){\n\t return m ? NaN : s ? -Infinity : Infinity;\n\t } else {\n\t m = m + pow(2, mLen);\n\t e = e - eBias;\n\t } return (s ? -1 : 1) * m * pow(2, e - mLen);\n\t};\n\t\n\tvar unpackI32 = function(bytes){\n\t return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n\t};\n\tvar packI8 = function(it){\n\t return [it & 0xff];\n\t};\n\tvar packI16 = function(it){\n\t return [it & 0xff, it >> 8 & 0xff];\n\t};\n\tvar packI32 = function(it){\n\t return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n\t};\n\tvar packF64 = function(it){\n\t return packIEEE754(it, 52, 8);\n\t};\n\tvar packF32 = function(it){\n\t return packIEEE754(it, 23, 4);\n\t};\n\t\n\tvar addGetter = function(C, key, internal){\n\t dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});\n\t};\n\t\n\tvar get = function(view, bytes, index, isLittleEndian){\n\t var numIndex = +index\n\t , intIndex = toInteger(numIndex);\n\t if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n\t var store = view[$BUFFER]._b\n\t , start = intIndex + view[$OFFSET]\n\t , pack = store.slice(start, start + bytes);\n\t return isLittleEndian ? pack : pack.reverse();\n\t};\n\tvar set = function(view, bytes, index, conversion, value, isLittleEndian){\n\t var numIndex = +index\n\t , intIndex = toInteger(numIndex);\n\t if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n\t var store = view[$BUFFER]._b\n\t , start = intIndex + view[$OFFSET]\n\t , pack = conversion(+value);\n\t for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n\t};\n\t\n\tvar validateArrayBufferArguments = function(that, length){\n\t anInstance(that, $ArrayBuffer, ARRAY_BUFFER);\n\t var numberLength = +length\n\t , byteLength = toLength(numberLength);\n\t if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);\n\t return byteLength;\n\t};\n\t\n\tif(!$typed.ABV){\n\t $ArrayBuffer = function ArrayBuffer(length){\n\t var byteLength = validateArrayBufferArguments(this, length);\n\t this._b = arrayFill.call(Array(byteLength), 0);\n\t this[$LENGTH] = byteLength;\n\t };\n\t\n\t $DataView = function DataView(buffer, byteOffset, byteLength){\n\t anInstance(this, $DataView, DATA_VIEW);\n\t anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n\t var bufferLength = buffer[$LENGTH]\n\t , offset = toInteger(byteOffset);\n\t if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');\n\t byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n\t if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);\n\t this[$BUFFER] = buffer;\n\t this[$OFFSET] = offset;\n\t this[$LENGTH] = byteLength;\n\t };\n\t\n\t if(DESCRIPTORS){\n\t addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n\t addGetter($DataView, BUFFER, '_b');\n\t addGetter($DataView, BYTE_LENGTH, '_l');\n\t addGetter($DataView, BYTE_OFFSET, '_o');\n\t }\n\t\n\t redefineAll($DataView[PROTOTYPE], {\n\t getInt8: function getInt8(byteOffset){\n\t return get(this, 1, byteOffset)[0] << 24 >> 24;\n\t },\n\t getUint8: function getUint8(byteOffset){\n\t return get(this, 1, byteOffset)[0];\n\t },\n\t getInt16: function getInt16(byteOffset /*, littleEndian */){\n\t var bytes = get(this, 2, byteOffset, arguments[1]);\n\t return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n\t },\n\t getUint16: function getUint16(byteOffset /*, littleEndian */){\n\t var bytes = get(this, 2, byteOffset, arguments[1]);\n\t return bytes[1] << 8 | bytes[0];\n\t },\n\t getInt32: function getInt32(byteOffset /*, littleEndian */){\n\t return unpackI32(get(this, 4, byteOffset, arguments[1]));\n\t },\n\t getUint32: function getUint32(byteOffset /*, littleEndian */){\n\t return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n\t },\n\t getFloat32: function getFloat32(byteOffset /*, littleEndian */){\n\t return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n\t },\n\t getFloat64: function getFloat64(byteOffset /*, littleEndian */){\n\t return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n\t },\n\t setInt8: function setInt8(byteOffset, value){\n\t set(this, 1, byteOffset, packI8, value);\n\t },\n\t setUint8: function setUint8(byteOffset, value){\n\t set(this, 1, byteOffset, packI8, value);\n\t },\n\t setInt16: function setInt16(byteOffset, value /*, littleEndian */){\n\t set(this, 2, byteOffset, packI16, value, arguments[2]);\n\t },\n\t setUint16: function setUint16(byteOffset, value /*, littleEndian */){\n\t set(this, 2, byteOffset, packI16, value, arguments[2]);\n\t },\n\t setInt32: function setInt32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packI32, value, arguments[2]);\n\t },\n\t setUint32: function setUint32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packI32, value, arguments[2]);\n\t },\n\t setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packF32, value, arguments[2]);\n\t },\n\t setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){\n\t set(this, 8, byteOffset, packF64, value, arguments[2]);\n\t }\n\t });\n\t} else {\n\t if(!fails(function(){\n\t new $ArrayBuffer; // eslint-disable-line no-new\n\t }) || !fails(function(){\n\t new $ArrayBuffer(.5); // eslint-disable-line no-new\n\t })){\n\t $ArrayBuffer = function ArrayBuffer(length){\n\t return new BaseBuffer(validateArrayBufferArguments(this, length));\n\t };\n\t var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n\t for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){\n\t if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);\n\t };\n\t if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;\n\t }\n\t // iOS Safari 7.x bug\n\t var view = new $DataView(new $ArrayBuffer(2))\n\t , $setInt8 = $DataView[PROTOTYPE].setInt8;\n\t view.setInt8(0, 2147483648);\n\t view.setInt8(1, 2147483649);\n\t if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {\n\t setInt8: function setInt8(byteOffset, value){\n\t $setInt8.call(this, byteOffset, value << 24 >> 24);\n\t },\n\t setUint8: function setUint8(byteOffset, value){\n\t $setInt8.call(this, byteOffset, value << 24 >> 24);\n\t }\n\t }, true);\n\t}\n\tsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\n\tsetToStringTag($DataView, DATA_VIEW);\n\thide($DataView[PROTOTYPE], $typed.VIEW, true);\n\texports[ARRAY_BUFFER] = $ArrayBuffer;\n\texports[DATA_VIEW] = $DataView;\n\n/***/ },\n/* 166 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(7)\r\n\t , core = __webpack_require__(42)\r\n\t , LIBRARY = __webpack_require__(67)\r\n\t , wksExt = __webpack_require__(238)\r\n\t , defineProperty = __webpack_require__(14).f;\r\n\tmodule.exports = function(name){\r\n\t var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\r\n\t if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\r\n\t};\n\n/***/ },\n/* 167 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar classof = __webpack_require__(81)\n\t , ITERATOR = __webpack_require__(10)('iterator')\n\t , Iterators = __webpack_require__(66);\n\tmodule.exports = __webpack_require__(42).getIteratorMethod = function(it){\n\t if(it != undefined)return it[ITERATOR]\n\t || it['@@iterator']\n\t || Iterators[classof(it)];\n\t};\n\n/***/ },\n/* 168 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar addToUnscopables = __webpack_require__(80)\n\t , step = __webpack_require__(226)\n\t , Iterators = __webpack_require__(66)\n\t , toIObject = __webpack_require__(30);\n\t\n\t// 22.1.3.4 Array.prototype.entries()\n\t// 22.1.3.13 Array.prototype.keys()\n\t// 22.1.3.29 Array.prototype.values()\n\t// 22.1.3.30 Array.prototype[@@iterator]()\n\tmodule.exports = __webpack_require__(154)(Array, 'Array', function(iterated, kind){\n\t this._t = toIObject(iterated); // target\n\t this._i = 0; // next index\n\t this._k = kind; // kind\n\t// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n\t}, function(){\n\t var O = this._t\n\t , kind = this._k\n\t , index = this._i++;\n\t if(!O || index >= O.length){\n\t this._t = undefined;\n\t return step(1);\n\t }\n\t if(kind == 'keys' )return step(0, index);\n\t if(kind == 'values')return step(0, O[index]);\n\t return step(0, [index, O[index]]);\n\t}, 'values');\n\t\n\t// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\n\tIterators.Arguments = Iterators.Array;\n\t\n\taddToUnscopables('keys');\n\taddToUnscopables('values');\n\taddToUnscopables('entries');\n\n/***/ },\n/* 169 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\tmodule.exports = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/***/ },\n/* 170 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\t * EvEmitter v1.0.3\n\t * Lil' event emitter\n\t * MIT License\n\t */\n\t\n\t/* jshint unused: true, undef: true, strict: true */\n\t\n\t( function( global, factory ) {\n\t // universal module definition\n\t /* jshint strict: false */ /* globals define, module, window */\n\t if ( true ) {\n\t // AMD - RequireJS\n\t !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS - Browserify, Webpack\n\t module.exports = factory();\n\t } else {\n\t // Browser globals\n\t global.EvEmitter = factory();\n\t }\n\t\n\t}( typeof window != 'undefined' ? window : this, function() {\n\t\n\t\"use strict\";\n\t\n\tfunction EvEmitter() {}\n\t\n\tvar proto = EvEmitter.prototype;\n\t\n\tproto.on = function( eventName, listener ) {\n\t if ( !eventName || !listener ) {\n\t return;\n\t }\n\t // set events hash\n\t var events = this._events = this._events || {};\n\t // set listeners array\n\t var listeners = events[ eventName ] = events[ eventName ] || [];\n\t // only add once\n\t if ( listeners.indexOf( listener ) == -1 ) {\n\t listeners.push( listener );\n\t }\n\t\n\t return this;\n\t};\n\t\n\tproto.once = function( eventName, listener ) {\n\t if ( !eventName || !listener ) {\n\t return;\n\t }\n\t // add event\n\t this.on( eventName, listener );\n\t // set once flag\n\t // set onceEvents hash\n\t var onceEvents = this._onceEvents = this._onceEvents || {};\n\t // set onceListeners object\n\t var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};\n\t // set flag\n\t onceListeners[ listener ] = true;\n\t\n\t return this;\n\t};\n\t\n\tproto.off = function( eventName, listener ) {\n\t var listeners = this._events && this._events[ eventName ];\n\t if ( !listeners || !listeners.length ) {\n\t return;\n\t }\n\t var index = listeners.indexOf( listener );\n\t if ( index != -1 ) {\n\t listeners.splice( index, 1 );\n\t }\n\t\n\t return this;\n\t};\n\t\n\tproto.emitEvent = function( eventName, args ) {\n\t var listeners = this._events && this._events[ eventName ];\n\t if ( !listeners || !listeners.length ) {\n\t return;\n\t }\n\t var i = 0;\n\t var listener = listeners[i];\n\t args = args || [];\n\t // once stuff\n\t var onceListeners = this._onceEvents && this._onceEvents[ eventName ];\n\t\n\t while ( listener ) {\n\t var isOnce = onceListeners && onceListeners[ listener ];\n\t if ( isOnce ) {\n\t // remove listener\n\t // remove before trigger to prevent recursion\n\t this.off( eventName, listener );\n\t // unset once flag\n\t delete onceListeners[ listener ];\n\t }\n\t // trigger listener\n\t listener.apply( this, args );\n\t // get next listener\n\t i += isOnce ? 0 : 1;\n\t listener = listeners[i];\n\t }\n\t\n\t return this;\n\t};\n\t\n\treturn EvEmitter;\n\t\n\t}));\n\n\n/***/ },\n/* 171 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/*eslint-disable no-empty */\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.saveState = saveState;\n\texports.readState = readState;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tvar KeyPrefix = '@@History/';\n\tvar QuotaExceededErrors = ['QuotaExceededError', 'QUOTA_EXCEEDED_ERR'];\n\t\n\tvar SecurityError = 'SecurityError';\n\t\n\tfunction createKey(key) {\n\t return KeyPrefix + key;\n\t}\n\t\n\tfunction saveState(key, state) {\n\t try {\n\t if (state == null) {\n\t window.sessionStorage.removeItem(createKey(key));\n\t } else {\n\t window.sessionStorage.setItem(createKey(key), JSON.stringify(state));\n\t }\n\t } catch (error) {\n\t if (error.name === SecurityError) {\n\t // Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any\n\t // attempt to access window.sessionStorage.\n\t false ? _warning2['default'](false, '[history] Unable to save state; sessionStorage is not available due to security settings') : undefined;\n\t\n\t return;\n\t }\n\t\n\t if (QuotaExceededErrors.indexOf(error.name) >= 0 && window.sessionStorage.length === 0) {\n\t // Safari \"private mode\" throws QuotaExceededError.\n\t false ? _warning2['default'](false, '[history] Unable to save state; sessionStorage is not available in Safari private mode') : undefined;\n\t\n\t return;\n\t }\n\t\n\t throw error;\n\t }\n\t}\n\t\n\tfunction readState(key) {\n\t var json = undefined;\n\t try {\n\t json = window.sessionStorage.getItem(createKey(key));\n\t } catch (error) {\n\t if (error.name === SecurityError) {\n\t // Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any\n\t // attempt to access window.sessionStorage.\n\t false ? _warning2['default'](false, '[history] Unable to read state; sessionStorage is not available due to security settings') : undefined;\n\t\n\t return null;\n\t }\n\t }\n\t\n\t if (json) {\n\t try {\n\t return JSON.parse(json);\n\t } catch (error) {\n\t // Ignore invalid JSON.\n\t }\n\t }\n\t\n\t return null;\n\t}\n\n/***/ },\n/* 172 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.addEventListener = addEventListener;\n\texports.removeEventListener = removeEventListener;\n\texports.getHashPath = getHashPath;\n\texports.replaceHashPath = replaceHashPath;\n\texports.getWindowPath = getWindowPath;\n\texports.go = go;\n\texports.getUserConfirmation = getUserConfirmation;\n\texports.supportsHistory = supportsHistory;\n\texports.supportsGoWithoutReloadUsingHash = supportsGoWithoutReloadUsingHash;\n\t\n\tfunction addEventListener(node, event, listener) {\n\t if (node.addEventListener) {\n\t node.addEventListener(event, listener, false);\n\t } else {\n\t node.attachEvent('on' + event, listener);\n\t }\n\t}\n\t\n\tfunction removeEventListener(node, event, listener) {\n\t if (node.removeEventListener) {\n\t node.removeEventListener(event, listener, false);\n\t } else {\n\t node.detachEvent('on' + event, listener);\n\t }\n\t}\n\t\n\tfunction getHashPath() {\n\t // We can't use window.location.hash here because it's not\n\t // consistent across browsers - Firefox will pre-decode it!\n\t return window.location.href.split('#')[1] || '';\n\t}\n\t\n\tfunction replaceHashPath(path) {\n\t window.location.replace(window.location.pathname + window.location.search + '#' + path);\n\t}\n\t\n\tfunction getWindowPath() {\n\t return window.location.pathname + window.location.search + window.location.hash;\n\t}\n\t\n\tfunction go(n) {\n\t if (n) window.history.go(n);\n\t}\n\t\n\tfunction getUserConfirmation(message, callback) {\n\t callback(window.confirm(message));\n\t}\n\t\n\t/**\n\t * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n\t *\n\t * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n\t * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n\t * changed to avoid false negatives for Windows Phones: https://github.com/rackt/react-router/issues/586\n\t */\n\t\n\tfunction supportsHistory() {\n\t var ua = navigator.userAgent;\n\t if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) {\n\t return false;\n\t }\n\t return window.history && 'pushState' in window.history;\n\t}\n\t\n\t/**\n\t * Returns false if using go(n) with hash history causes a full page reload.\n\t */\n\t\n\tfunction supportsGoWithoutReloadUsingHash() {\n\t var ua = navigator.userAgent;\n\t return ua.indexOf('Firefox') === -1;\n\t}\n\n/***/ },\n/* 173 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tfunction deprecate(fn, message) {\n\t return function () {\n\t false ? _warning2['default'](false, '[history] ' + message) : undefined;\n\t return fn.apply(this, arguments);\n\t };\n\t}\n\t\n\texports['default'] = deprecate;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 174 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tfunction runTransitionHook(hook, location, callback) {\n\t var result = hook(location, callback);\n\t\n\t if (hook.length < 2) {\n\t // Assume the hook runs synchronously and automatically\n\t // call the callback with the return value.\n\t callback(result);\n\t } else {\n\t false ? _warning2['default'](result === undefined, 'You should not \"return\" in a transition hook with a callback argument; call the callback instead') : undefined;\n\t }\n\t}\n\t\n\texports['default'] = runTransitionHook;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 175 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2015, Yahoo! Inc.\n\t * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n\t */\n\t'use strict';\n\t\n\tvar REACT_STATICS = {\n\t childContextTypes: true,\n\t contextTypes: true,\n\t defaultProps: true,\n\t displayName: true,\n\t getDefaultProps: true,\n\t mixins: true,\n\t propTypes: true,\n\t type: true\n\t};\n\t\n\tvar KNOWN_STATICS = {\n\t name: true,\n\t length: true,\n\t prototype: true,\n\t caller: true,\n\t arguments: true,\n\t arity: true\n\t};\n\t\n\tvar isGetOwnPropertySymbolsAvailable = typeof Object.getOwnPropertySymbols === 'function';\n\t\n\tmodule.exports = function hoistNonReactStatics(targetComponent, sourceComponent, customStatics) {\n\t if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\t var keys = Object.getOwnPropertyNames(sourceComponent);\n\t\n\t /* istanbul ignore else */\n\t if (isGetOwnPropertySymbolsAvailable) {\n\t keys = keys.concat(Object.getOwnPropertySymbols(sourceComponent));\n\t }\n\t\n\t for (var i = 0; i < keys.length; ++i) {\n\t if (!REACT_STATICS[keys[i]] && !KNOWN_STATICS[keys[i]] && (!customStatics || !customStatics[keys[i]])) {\n\t try {\n\t targetComponent[keys[i]] = sourceComponent[keys[i]];\n\t } catch (error) {\n\t\n\t }\n\t }\n\t }\n\t }\n\t\n\t return targetComponent;\n\t};\n\n\n/***/ },\n/* 176 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getNative = __webpack_require__(85),\n\t root = __webpack_require__(61);\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Map = getNative(root, 'Map');\n\t\n\tmodule.exports = Map;\n\n\n/***/ },\n/* 177 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar mapCacheClear = __webpack_require__(720),\n\t mapCacheDelete = __webpack_require__(721),\n\t mapCacheGet = __webpack_require__(722),\n\t mapCacheHas = __webpack_require__(723),\n\t mapCacheSet = __webpack_require__(724);\n\t\n\t/**\n\t * Creates a map cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction MapCache(entries) {\n\t var index = -1,\n\t length = entries ? entries.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t// Add methods to `MapCache`.\n\tMapCache.prototype.clear = mapCacheClear;\n\tMapCache.prototype['delete'] = mapCacheDelete;\n\tMapCache.prototype.get = mapCacheGet;\n\tMapCache.prototype.has = mapCacheHas;\n\tMapCache.prototype.set = mapCacheSet;\n\t\n\tmodule.exports = MapCache;\n\n\n/***/ },\n/* 178 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseIsEqualDeep = __webpack_require__(678),\n\t isObject = __webpack_require__(34),\n\t isObjectLike = __webpack_require__(77);\n\t\n\t/**\n\t * The base implementation of `_.isEqual` which supports partial comparisons\n\t * and tracks traversed objects.\n\t *\n\t * @private\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @param {Function} [customizer] The function to customize comparisons.\n\t * @param {boolean} [bitmask] The bitmask of comparison flags.\n\t * The bitmask may be composed of the following flags:\n\t * 1 - Unordered comparison\n\t * 2 - Partial comparison\n\t * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t */\n\tfunction baseIsEqual(value, other, customizer, bitmask, stack) {\n\t if (value === other) {\n\t return true;\n\t }\n\t if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n\t return value !== value && other !== other;\n\t }\n\t return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);\n\t}\n\t\n\tmodule.exports = baseIsEqual;\n\n\n/***/ },\n/* 179 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Checks if `value` is a host object in IE < 9.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n\t */\n\tfunction isHostObject(value) {\n\t // Many host objects are `Object` objects that can coerce to strings\n\t // despite having improperly defined `toString` methods.\n\t var result = false;\n\t if (value != null && typeof value.toString != 'function') {\n\t try {\n\t result = !!(value + '');\n\t } catch (e) {}\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = isHostObject;\n\n\n/***/ },\n/* 180 */\n/***/ function(module, exports) {\n\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return !!length &&\n\t (typeof value == 'number' || reIsUint.test(value)) &&\n\t (value > -1 && value % 1 == 0 && value < length);\n\t}\n\t\n\tmodule.exports = isIndex;\n\n\n/***/ },\n/* 181 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getPrototype = __webpack_require__(271),\n\t isHostObject = __webpack_require__(179),\n\t isObjectLike = __webpack_require__(77);\n\t\n\t/** `Object#toString` result references. */\n\tvar objectTag = '[object Object]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = Function.prototype.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/** Used to infer the `Object` constructor. */\n\tvar objectCtorString = funcToString.call(Object);\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Checks if `value` is a plain object, that is, an object created by the\n\t * `Object` constructor or one with a `[[Prototype]]` of `null`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.8.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a plain object,\n\t * else `false`.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * }\n\t *\n\t * _.isPlainObject(new Foo);\n\t * // => false\n\t *\n\t * _.isPlainObject([1, 2, 3]);\n\t * // => false\n\t *\n\t * _.isPlainObject({ 'x': 0, 'y': 0 });\n\t * // => true\n\t *\n\t * _.isPlainObject(Object.create(null));\n\t * // => true\n\t */\n\tfunction isPlainObject(value) {\n\t if (!isObjectLike(value) ||\n\t objectToString.call(value) != objectTag || isHostObject(value)) {\n\t return false;\n\t }\n\t var proto = getPrototype(value);\n\t if (proto === null) {\n\t return true;\n\t }\n\t var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n\t return (typeof Ctor == 'function' &&\n\t Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);\n\t}\n\t\n\tmodule.exports = isPlainObject;\n\n\n/***/ },\n/* 182 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObjectLike = __webpack_require__(77);\n\t\n\t/** `Object#toString` result references. */\n\tvar symbolTag = '[object Symbol]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return typeof value == 'symbol' ||\n\t (isObjectLike(value) && objectToString.call(value) == symbolTag);\n\t}\n\t\n\tmodule.exports = isSymbol;\n\n\n/***/ },\n/* 183 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.loopAsync = loopAsync;\n\texports.mapAsync = mapAsync;\n\tfunction loopAsync(turns, work, callback) {\n\t var currentTurn = 0,\n\t isDone = false;\n\t var sync = false,\n\t hasNext = false,\n\t doneArgs = void 0;\n\t\n\t function done() {\n\t isDone = true;\n\t if (sync) {\n\t // Iterate instead of recursing if possible.\n\t doneArgs = [].concat(Array.prototype.slice.call(arguments));\n\t return;\n\t }\n\t\n\t callback.apply(this, arguments);\n\t }\n\t\n\t function next() {\n\t if (isDone) {\n\t return;\n\t }\n\t\n\t hasNext = true;\n\t if (sync) {\n\t // Iterate instead of recursing if possible.\n\t return;\n\t }\n\t\n\t sync = true;\n\t\n\t while (!isDone && currentTurn < turns && hasNext) {\n\t hasNext = false;\n\t work.call(this, currentTurn++, next, done);\n\t }\n\t\n\t sync = false;\n\t\n\t if (isDone) {\n\t // This means the loop finished synchronously.\n\t callback.apply(this, doneArgs);\n\t return;\n\t }\n\t\n\t if (currentTurn >= turns && hasNext) {\n\t isDone = true;\n\t callback();\n\t }\n\t }\n\t\n\t next();\n\t}\n\t\n\tfunction mapAsync(array, work, callback) {\n\t var length = array.length;\n\t var values = [];\n\t\n\t if (length === 0) return callback(null, values);\n\t\n\t var isDone = false,\n\t doneCount = 0;\n\t\n\t function done(index, error, value) {\n\t if (isDone) return;\n\t\n\t if (error) {\n\t isDone = true;\n\t callback(error);\n\t } else {\n\t values[index] = value;\n\t\n\t isDone = ++doneCount === length;\n\t\n\t if (isDone) callback(null, values);\n\t }\n\t }\n\t\n\t array.forEach(function (item, index) {\n\t work(item, index, function (error, value) {\n\t done(index, error, value);\n\t });\n\t });\n\t}\n\n/***/ },\n/* 184 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.router = exports.routes = exports.route = exports.components = exports.component = exports.location = exports.history = exports.falsy = exports.locationShape = exports.routerShape = undefined;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _deprecateObjectProperties = __webpack_require__(135);\n\t\n\tvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\t\n\tvar _InternalPropTypes = __webpack_require__(79);\n\t\n\tvar InternalPropTypes = _interopRequireWildcard(_InternalPropTypes);\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar func = _react.PropTypes.func;\n\tvar object = _react.PropTypes.object;\n\tvar shape = _react.PropTypes.shape;\n\tvar string = _react.PropTypes.string;\n\tvar routerShape = exports.routerShape = shape({\n\t push: func.isRequired,\n\t replace: func.isRequired,\n\t go: func.isRequired,\n\t goBack: func.isRequired,\n\t goForward: func.isRequired,\n\t setRouteLeaveHook: func.isRequired,\n\t isActive: func.isRequired\n\t});\n\t\n\tvar locationShape = exports.locationShape = shape({\n\t pathname: string.isRequired,\n\t search: string.isRequired,\n\t state: object,\n\t action: string.isRequired,\n\t key: string\n\t});\n\t\n\t// Deprecated stuff below:\n\t\n\tvar falsy = exports.falsy = InternalPropTypes.falsy;\n\tvar history = exports.history = InternalPropTypes.history;\n\tvar location = exports.location = locationShape;\n\tvar component = exports.component = InternalPropTypes.component;\n\tvar components = exports.components = InternalPropTypes.components;\n\tvar route = exports.route = InternalPropTypes.route;\n\tvar routes = exports.routes = InternalPropTypes.routes;\n\tvar router = exports.router = routerShape;\n\t\n\tif (false) {\n\t (function () {\n\t var deprecatePropType = function deprecatePropType(propType, message) {\n\t return function () {\n\t process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n\t return propType.apply(undefined, arguments);\n\t };\n\t };\n\t\n\t var deprecateInternalPropType = function deprecateInternalPropType(propType) {\n\t return deprecatePropType(propType, 'This prop type is not intended for external use, and was previously exported by mistake. These internal prop types are deprecated for external use, and will be removed in a later version.');\n\t };\n\t\n\t var deprecateRenamedPropType = function deprecateRenamedPropType(propType, name) {\n\t return deprecatePropType(propType, 'The `' + name + '` prop type is now exported as `' + name + 'Shape` to avoid name conflicts. This export is deprecated and will be removed in a later version.');\n\t };\n\t\n\t exports.falsy = falsy = deprecateInternalPropType(falsy);\n\t exports.history = history = deprecateInternalPropType(history);\n\t exports.component = component = deprecateInternalPropType(component);\n\t exports.components = components = deprecateInternalPropType(components);\n\t exports.route = route = deprecateInternalPropType(route);\n\t exports.routes = routes = deprecateInternalPropType(routes);\n\t\n\t exports.location = location = deprecateRenamedPropType(location, 'location');\n\t exports.router = router = deprecateRenamedPropType(router, 'router');\n\t })();\n\t}\n\t\n\tvar defaultExport = {\n\t falsy: falsy,\n\t history: history,\n\t location: location,\n\t component: component,\n\t components: components,\n\t route: route,\n\t // For some reason, routes was never here.\n\t router: router\n\t};\n\t\n\tif (false) {\n\t defaultExport = (0, _deprecateObjectProperties2.default)(defaultExport, 'The default export from `react-router/lib/PropTypes` is deprecated. Please use the named exports instead.');\n\t}\n\t\n\texports.default = defaultExport;\n\n/***/ },\n/* 185 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\texports.default = createTransitionManager;\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tvar _Actions = __webpack_require__(75);\n\t\n\tvar _computeChangedRoutes2 = __webpack_require__(787);\n\t\n\tvar _computeChangedRoutes3 = _interopRequireDefault(_computeChangedRoutes2);\n\t\n\tvar _TransitionUtils = __webpack_require__(784);\n\t\n\tvar _isActive2 = __webpack_require__(791);\n\t\n\tvar _isActive3 = _interopRequireDefault(_isActive2);\n\t\n\tvar _getComponents = __webpack_require__(788);\n\t\n\tvar _getComponents2 = _interopRequireDefault(_getComponents);\n\t\n\tvar _matchRoutes = __webpack_require__(793);\n\t\n\tvar _matchRoutes2 = _interopRequireDefault(_matchRoutes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction hasAnyProperties(object) {\n\t for (var p in object) {\n\t if (Object.prototype.hasOwnProperty.call(object, p)) return true;\n\t }return false;\n\t}\n\t\n\tfunction createTransitionManager(history, routes) {\n\t var state = {};\n\t\n\t // Signature should be (location, indexOnly), but needs to support (path,\n\t // query, indexOnly)\n\t function isActive(location) {\n\t var indexOnlyOrDeprecatedQuery = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];\n\t var deprecatedIndexOnly = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\t\n\t var indexOnly = void 0;\n\t if (indexOnlyOrDeprecatedQuery && indexOnlyOrDeprecatedQuery !== true || deprecatedIndexOnly !== null) {\n\t false ? (0, _routerWarning2.default)(false, '`isActive(pathname, query, indexOnly) is deprecated; use `isActive(location, indexOnly)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated') : void 0;\n\t location = { pathname: location, query: indexOnlyOrDeprecatedQuery };\n\t indexOnly = deprecatedIndexOnly || false;\n\t } else {\n\t location = history.createLocation(location);\n\t indexOnly = indexOnlyOrDeprecatedQuery;\n\t }\n\t\n\t return (0, _isActive3.default)(location, indexOnly, state.location, state.routes, state.params);\n\t }\n\t\n\t function createLocationFromRedirectInfo(location) {\n\t return history.createLocation(location, _Actions.REPLACE);\n\t }\n\t\n\t var partialNextState = void 0;\n\t\n\t function match(location, callback) {\n\t if (partialNextState && partialNextState.location === location) {\n\t // Continue from where we left off.\n\t finishMatch(partialNextState, callback);\n\t } else {\n\t (0, _matchRoutes2.default)(routes, location, function (error, nextState) {\n\t if (error) {\n\t callback(error);\n\t } else if (nextState) {\n\t finishMatch(_extends({}, nextState, { location: location }), callback);\n\t } else {\n\t callback();\n\t }\n\t });\n\t }\n\t }\n\t\n\t function finishMatch(nextState, callback) {\n\t var _computeChangedRoutes = (0, _computeChangedRoutes3.default)(state, nextState);\n\t\n\t var leaveRoutes = _computeChangedRoutes.leaveRoutes;\n\t var changeRoutes = _computeChangedRoutes.changeRoutes;\n\t var enterRoutes = _computeChangedRoutes.enterRoutes;\n\t\n\t\n\t (0, _TransitionUtils.runLeaveHooks)(leaveRoutes, state);\n\t\n\t // Tear down confirmation hooks for left routes\n\t leaveRoutes.filter(function (route) {\n\t return enterRoutes.indexOf(route) === -1;\n\t }).forEach(removeListenBeforeHooksForRoute);\n\t\n\t // change and enter hooks are run in series\n\t (0, _TransitionUtils.runChangeHooks)(changeRoutes, state, nextState, function (error, redirectInfo) {\n\t if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\t\n\t (0, _TransitionUtils.runEnterHooks)(enterRoutes, nextState, finishEnterHooks);\n\t });\n\t\n\t function finishEnterHooks(error, redirectInfo) {\n\t if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\t\n\t // TODO: Fetch components after state is updated.\n\t (0, _getComponents2.default)(nextState, function (error, components) {\n\t if (error) {\n\t callback(error);\n\t } else {\n\t // TODO: Make match a pure function and have some other API\n\t // for \"match and update state\".\n\t callback(null, null, state = _extends({}, nextState, { components: components }));\n\t }\n\t });\n\t }\n\t\n\t function handleErrorOrRedirect(error, redirectInfo) {\n\t if (error) callback(error);else callback(null, createLocationFromRedirectInfo(redirectInfo));\n\t }\n\t }\n\t\n\t var RouteGuid = 1;\n\t\n\t function getRouteID(route) {\n\t var create = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n\t\n\t return route.__id__ || create && (route.__id__ = RouteGuid++);\n\t }\n\t\n\t var RouteHooks = Object.create(null);\n\t\n\t function getRouteHooksForRoutes(routes) {\n\t return routes.reduce(function (hooks, route) {\n\t hooks.push.apply(hooks, RouteHooks[getRouteID(route)]);\n\t return hooks;\n\t }, []);\n\t }\n\t\n\t function transitionHook(location, callback) {\n\t (0, _matchRoutes2.default)(routes, location, function (error, nextState) {\n\t if (nextState == null) {\n\t // TODO: We didn't actually match anything, but hang\n\t // onto error/nextState so we don't have to matchRoutes\n\t // again in the listen callback.\n\t callback();\n\t return;\n\t }\n\t\n\t // Cache some state here so we don't have to\n\t // matchRoutes() again in the listen callback.\n\t partialNextState = _extends({}, nextState, { location: location });\n\t\n\t var hooks = getRouteHooksForRoutes((0, _computeChangedRoutes3.default)(state, partialNextState).leaveRoutes);\n\t\n\t var result = void 0;\n\t for (var i = 0, len = hooks.length; result == null && i < len; ++i) {\n\t // Passing the location arg here indicates to\n\t // the user that this is a transition hook.\n\t result = hooks[i](location);\n\t }\n\t\n\t callback(result);\n\t });\n\t }\n\t\n\t /* istanbul ignore next: untestable with Karma */\n\t function beforeUnloadHook() {\n\t // Synchronously check to see if any route hooks want\n\t // to prevent the current window/tab from closing.\n\t if (state.routes) {\n\t var hooks = getRouteHooksForRoutes(state.routes);\n\t\n\t var message = void 0;\n\t for (var i = 0, len = hooks.length; typeof message !== 'string' && i < len; ++i) {\n\t // Passing no args indicates to the user that this is a\n\t // beforeunload hook. We don't know the next location.\n\t message = hooks[i]();\n\t }\n\t\n\t return message;\n\t }\n\t }\n\t\n\t var unlistenBefore = void 0,\n\t unlistenBeforeUnload = void 0;\n\t\n\t function removeListenBeforeHooksForRoute(route) {\n\t var routeID = getRouteID(route, false);\n\t if (!routeID) {\n\t return;\n\t }\n\t\n\t delete RouteHooks[routeID];\n\t\n\t if (!hasAnyProperties(RouteHooks)) {\n\t // teardown transition & beforeunload hooks\n\t if (unlistenBefore) {\n\t unlistenBefore();\n\t unlistenBefore = null;\n\t }\n\t\n\t if (unlistenBeforeUnload) {\n\t unlistenBeforeUnload();\n\t unlistenBeforeUnload = null;\n\t }\n\t }\n\t }\n\t\n\t /**\n\t * Registers the given hook function to run before leaving the given route.\n\t *\n\t * During a normal transition, the hook function receives the next location\n\t * as its only argument and can return either a prompt message (string) to show the user,\n\t * to make sure they want to leave the page; or `false`, to prevent the transition.\n\t * Any other return value will have no effect.\n\t *\n\t * During the beforeunload event (in browsers) the hook receives no arguments.\n\t * In this case it must return a prompt message to prevent the transition.\n\t *\n\t * Returns a function that may be used to unbind the listener.\n\t */\n\t function listenBeforeLeavingRoute(route, hook) {\n\t // TODO: Warn if they register for a route that isn't currently\n\t // active. They're probably doing something wrong, like re-creating\n\t // route objects on every location change.\n\t var routeID = getRouteID(route);\n\t var hooks = RouteHooks[routeID];\n\t\n\t if (!hooks) {\n\t var thereWereNoRouteHooks = !hasAnyProperties(RouteHooks);\n\t\n\t RouteHooks[routeID] = [hook];\n\t\n\t if (thereWereNoRouteHooks) {\n\t // setup transition & beforeunload hooks\n\t unlistenBefore = history.listenBefore(transitionHook);\n\t\n\t if (history.listenBeforeUnload) unlistenBeforeUnload = history.listenBeforeUnload(beforeUnloadHook);\n\t }\n\t } else {\n\t if (hooks.indexOf(hook) === -1) {\n\t false ? (0, _routerWarning2.default)(false, 'adding multiple leave hooks for the same route is deprecated; manage multiple confirmations in your own code instead') : void 0;\n\t\n\t hooks.push(hook);\n\t }\n\t }\n\t\n\t return function () {\n\t var hooks = RouteHooks[routeID];\n\t\n\t if (hooks) {\n\t var newHooks = hooks.filter(function (item) {\n\t return item !== hook;\n\t });\n\t\n\t if (newHooks.length === 0) {\n\t removeListenBeforeHooksForRoute(route);\n\t } else {\n\t RouteHooks[routeID] = newHooks;\n\t }\n\t }\n\t };\n\t }\n\t\n\t /**\n\t * This is the API for stateful environments. As the location\n\t * changes, we update state and call the listener. We can also\n\t * gracefully handle errors and redirects.\n\t */\n\t function listen(listener) {\n\t // TODO: Only use a single history listener. Otherwise we'll\n\t // end up with multiple concurrent calls to match.\n\t return history.listen(function (location) {\n\t if (state.location === location) {\n\t listener(null, state);\n\t } else {\n\t match(location, function (error, redirectLocation, nextState) {\n\t if (error) {\n\t listener(error);\n\t } else if (redirectLocation) {\n\t history.transitionTo(redirectLocation);\n\t } else if (nextState) {\n\t listener(null, nextState);\n\t } else {\n\t false ? (0, _routerWarning2.default)(false, 'Location \"%s\" did not match any routes', location.pathname + location.search + location.hash) : void 0;\n\t }\n\t });\n\t }\n\t });\n\t }\n\t\n\t return {\n\t isActive: isActive,\n\t match: match,\n\t listenBeforeLeavingRoute: listenBeforeLeavingRoute,\n\t listen: listen\n\t };\n\t}\n\t\n\t//export default useRoutes\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 186 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DOMChildrenOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMLazyTree = __webpack_require__(87);\n\tvar Danger = __webpack_require__(800);\n\tvar ReactMultiChildUpdateTypes = __webpack_require__(308);\n\tvar ReactDOMComponentTree = __webpack_require__(17);\n\tvar ReactInstrumentation = __webpack_require__(31);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(201);\n\tvar setInnerHTML = __webpack_require__(140);\n\tvar setTextContent = __webpack_require__(321);\n\t\n\tfunction getNodeAfter(parentNode, node) {\n\t // Special case for text components, which return [open, close] comments\n\t // from getHostNode.\n\t if (Array.isArray(node)) {\n\t node = node[1];\n\t }\n\t return node ? node.nextSibling : parentNode.firstChild;\n\t}\n\t\n\t/**\n\t * Inserts `childNode` as a child of `parentNode` at the `index`.\n\t *\n\t * @param {DOMElement} parentNode Parent node in which to insert.\n\t * @param {DOMElement} childNode Child node to insert.\n\t * @param {number} index Index at which to insert the child.\n\t * @internal\n\t */\n\tvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n\t // We rely exclusively on `insertBefore(node, null)` instead of also using\n\t // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n\t // we are careful to use `null`.)\n\t parentNode.insertBefore(childNode, referenceNode);\n\t});\n\t\n\tfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n\t DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n\t}\n\t\n\tfunction moveChild(parentNode, childNode, referenceNode) {\n\t if (Array.isArray(childNode)) {\n\t moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n\t } else {\n\t insertChildAt(parentNode, childNode, referenceNode);\n\t }\n\t}\n\t\n\tfunction removeChild(parentNode, childNode) {\n\t if (Array.isArray(childNode)) {\n\t var closingComment = childNode[1];\n\t childNode = childNode[0];\n\t removeDelimitedText(parentNode, childNode, closingComment);\n\t parentNode.removeChild(closingComment);\n\t }\n\t parentNode.removeChild(childNode);\n\t}\n\t\n\tfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n\t var node = openingComment;\n\t while (true) {\n\t var nextNode = node.nextSibling;\n\t insertChildAt(parentNode, node, referenceNode);\n\t if (node === closingComment) {\n\t break;\n\t }\n\t node = nextNode;\n\t }\n\t}\n\t\n\tfunction removeDelimitedText(parentNode, startNode, closingComment) {\n\t while (true) {\n\t var node = startNode.nextSibling;\n\t if (node === closingComment) {\n\t // The closing comment is removed by ReactMultiChild.\n\t break;\n\t } else {\n\t parentNode.removeChild(node);\n\t }\n\t }\n\t}\n\t\n\tfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n\t var parentNode = openingComment.parentNode;\n\t var nodeAfterComment = openingComment.nextSibling;\n\t if (nodeAfterComment === closingComment) {\n\t // There are no text nodes between the opening and closing comments; insert\n\t // a new one if stringText isn't empty.\n\t if (stringText) {\n\t insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n\t }\n\t } else {\n\t if (stringText) {\n\t // Set the text content of the first node after the opening comment, and\n\t // remove all following nodes up until the closing comment.\n\t setTextContent(nodeAfterComment, stringText);\n\t removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n\t } else {\n\t removeDelimitedText(parentNode, openingComment, closingComment);\n\t }\n\t }\n\t\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, 'replace text', stringText);\n\t }\n\t}\n\t\n\tvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\n\tif (false) {\n\t dangerouslyReplaceNodeWithMarkup = function (oldChild, markup, prevInstance) {\n\t Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n\t if (prevInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation(prevInstance._debugID, 'replace with', markup.toString());\n\t } else {\n\t var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n\t if (nextInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation(nextInstance._debugID, 'mount', markup.toString());\n\t }\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Operations for updating with DOM children.\n\t */\n\tvar DOMChildrenOperations = {\n\t\n\t dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\t\n\t replaceDelimitedText: replaceDelimitedText,\n\t\n\t /**\n\t * Updates a component's children by processing a series of updates. The\n\t * update configurations are each expected to have a `parentNode` property.\n\t *\n\t * @param {array} updates List of update configurations.\n\t * @internal\n\t */\n\t processUpdates: function (parentNode, updates) {\n\t if (false) {\n\t var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n\t }\n\t\n\t for (var k = 0; k < updates.length; k++) {\n\t var update = updates[k];\n\t switch (update.type) {\n\t case ReactMultiChildUpdateTypes.INSERT_MARKUP:\n\t insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'insert child', { toIndex: update.toIndex, content: update.content.toString() });\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n\t moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'move child', { fromIndex: update.fromIndex, toIndex: update.toIndex });\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.SET_MARKUP:\n\t setInnerHTML(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace children', update.content.toString());\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n\t setTextContent(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace text', update.content.toString());\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.REMOVE_NODE:\n\t removeChild(parentNode, update.fromNode);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'remove child', { fromIndex: update.fromIndex });\n\t }\n\t break;\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = DOMChildrenOperations;\n\n/***/ },\n/* 187 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DOMNamespaces\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMNamespaces = {\n\t html: 'http://www.w3.org/1999/xhtml',\n\t mathml: 'http://www.w3.org/1998/Math/MathML',\n\t svg: 'http://www.w3.org/2000/svg'\n\t};\n\t\n\tmodule.exports = DOMNamespaces;\n\n/***/ },\n/* 188 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule EventPluginRegistry\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Injectable ordering of event plugins.\n\t */\n\tvar EventPluginOrder = null;\n\t\n\t/**\n\t * Injectable mapping from names to event plugin modules.\n\t */\n\tvar namesToPlugins = {};\n\t\n\t/**\n\t * Recomputes the plugin list using the injected plugins and plugin ordering.\n\t *\n\t * @private\n\t */\n\tfunction recomputePluginOrdering() {\n\t if (!EventPluginOrder) {\n\t // Wait until an `EventPluginOrder` is injected.\n\t return;\n\t }\n\t for (var pluginName in namesToPlugins) {\n\t var PluginModule = namesToPlugins[pluginName];\n\t var pluginIndex = EventPluginOrder.indexOf(pluginName);\n\t !(pluginIndex > -1) ? false ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n\t if (EventPluginRegistry.plugins[pluginIndex]) {\n\t continue;\n\t }\n\t !PluginModule.extractEvents ? false ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n\t EventPluginRegistry.plugins[pluginIndex] = PluginModule;\n\t var publishedEvents = PluginModule.eventTypes;\n\t for (var eventName in publishedEvents) {\n\t !publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName) ? false ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Publishes an event so that it can be dispatched by the supplied plugin.\n\t *\n\t * @param {object} dispatchConfig Dispatch configuration for the event.\n\t * @param {object} PluginModule Plugin publishing the event.\n\t * @return {boolean} True if the event was successfully published.\n\t * @private\n\t */\n\tfunction publishEventForPlugin(dispatchConfig, PluginModule, eventName) {\n\t !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n\t EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\t\n\t var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\t if (phasedRegistrationNames) {\n\t for (var phaseName in phasedRegistrationNames) {\n\t if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n\t var phasedRegistrationName = phasedRegistrationNames[phaseName];\n\t publishRegistrationName(phasedRegistrationName, PluginModule, eventName);\n\t }\n\t }\n\t return true;\n\t } else if (dispatchConfig.registrationName) {\n\t publishRegistrationName(dispatchConfig.registrationName, PluginModule, eventName);\n\t return true;\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * Publishes a registration name that is used to identify dispatched events and\n\t * can be used with `EventPluginHub.putListener` to register listeners.\n\t *\n\t * @param {string} registrationName Registration name to add.\n\t * @param {object} PluginModule Plugin publishing the event.\n\t * @private\n\t */\n\tfunction publishRegistrationName(registrationName, PluginModule, eventName) {\n\t !!EventPluginRegistry.registrationNameModules[registrationName] ? false ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n\t EventPluginRegistry.registrationNameModules[registrationName] = PluginModule;\n\t EventPluginRegistry.registrationNameDependencies[registrationName] = PluginModule.eventTypes[eventName].dependencies;\n\t\n\t if (false) {\n\t var lowerCasedName = registrationName.toLowerCase();\n\t EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\t\n\t if (registrationName === 'onDoubleClick') {\n\t EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Registers plugins so that they can extract and dispatch events.\n\t *\n\t * @see {EventPluginHub}\n\t */\n\tvar EventPluginRegistry = {\n\t\n\t /**\n\t * Ordered list of injected plugins.\n\t */\n\t plugins: [],\n\t\n\t /**\n\t * Mapping from event name to dispatch config\n\t */\n\t eventNameDispatchConfigs: {},\n\t\n\t /**\n\t * Mapping from registration name to plugin module\n\t */\n\t registrationNameModules: {},\n\t\n\t /**\n\t * Mapping from registration name to event name\n\t */\n\t registrationNameDependencies: {},\n\t\n\t /**\n\t * Mapping from lowercase registration names to the properly cased version,\n\t * used to warn in the case of missing event handlers. Available\n\t * only in __DEV__.\n\t * @type {Object}\n\t */\n\t possibleRegistrationNames: false ? {} : null,\n\t\n\t /**\n\t * Injects an ordering of plugins (by plugin name). This allows the ordering\n\t * to be decoupled from injection of the actual plugins so that ordering is\n\t * always deterministic regardless of packaging, on-the-fly injection, etc.\n\t *\n\t * @param {array} InjectedEventPluginOrder\n\t * @internal\n\t * @see {EventPluginHub.injection.injectEventPluginOrder}\n\t */\n\t injectEventPluginOrder: function (InjectedEventPluginOrder) {\n\t !!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.') : _prodInvariant('101') : void 0;\n\t // Clone the ordering so it cannot be dynamically mutated.\n\t EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);\n\t recomputePluginOrdering();\n\t },\n\t\n\t /**\n\t * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n\t * in the ordering injected by `injectEventPluginOrder`.\n\t *\n\t * Plugins can be injected as part of page initialization or on-the-fly.\n\t *\n\t * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n\t * @internal\n\t * @see {EventPluginHub.injection.injectEventPluginsByName}\n\t */\n\t injectEventPluginsByName: function (injectedNamesToPlugins) {\n\t var isOrderingDirty = false;\n\t for (var pluginName in injectedNamesToPlugins) {\n\t if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n\t continue;\n\t }\n\t var PluginModule = injectedNamesToPlugins[pluginName];\n\t if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== PluginModule) {\n\t !!namesToPlugins[pluginName] ? false ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n\t namesToPlugins[pluginName] = PluginModule;\n\t isOrderingDirty = true;\n\t }\n\t }\n\t if (isOrderingDirty) {\n\t recomputePluginOrdering();\n\t }\n\t },\n\t\n\t /**\n\t * Looks up the plugin for the supplied event.\n\t *\n\t * @param {object} event A synthetic event.\n\t * @return {?object} The plugin that created the supplied event.\n\t * @internal\n\t */\n\t getPluginModuleForEvent: function (event) {\n\t var dispatchConfig = event.dispatchConfig;\n\t if (dispatchConfig.registrationName) {\n\t return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n\t }\n\t for (var phase in dispatchConfig.phasedRegistrationNames) {\n\t if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n\t continue;\n\t }\n\t var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];\n\t if (PluginModule) {\n\t return PluginModule;\n\t }\n\t }\n\t return null;\n\t },\n\t\n\t /**\n\t * Exposed for unit testing.\n\t * @private\n\t */\n\t _resetEventPlugins: function () {\n\t EventPluginOrder = null;\n\t for (var pluginName in namesToPlugins) {\n\t if (namesToPlugins.hasOwnProperty(pluginName)) {\n\t delete namesToPlugins[pluginName];\n\t }\n\t }\n\t EventPluginRegistry.plugins.length = 0;\n\t\n\t var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n\t for (var eventName in eventNameDispatchConfigs) {\n\t if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n\t delete eventNameDispatchConfigs[eventName];\n\t }\n\t }\n\t\n\t var registrationNameModules = EventPluginRegistry.registrationNameModules;\n\t for (var registrationName in registrationNameModules) {\n\t if (registrationNameModules.hasOwnProperty(registrationName)) {\n\t delete registrationNameModules[registrationName];\n\t }\n\t }\n\t\n\t if (false) {\n\t var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n\t for (var lowerCasedName in possibleRegistrationNames) {\n\t if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n\t delete possibleRegistrationNames[lowerCasedName];\n\t }\n\t }\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = EventPluginRegistry;\n\n/***/ },\n/* 189 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule EventPluginUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar EventConstants = __webpack_require__(54);\n\tvar ReactErrorUtils = __webpack_require__(195);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\t/**\n\t * Injected dependencies:\n\t */\n\t\n\t/**\n\t * - `ComponentTree`: [required] Module that can convert between React instances\n\t * and actual node references.\n\t */\n\tvar ComponentTree;\n\tvar TreeTraversal;\n\tvar injection = {\n\t injectComponentTree: function (Injected) {\n\t ComponentTree = Injected;\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n\t }\n\t },\n\t injectTreeTraversal: function (Injected) {\n\t TreeTraversal = Injected;\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n\t }\n\t }\n\t};\n\t\n\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\tfunction isEndish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel;\n\t}\n\t\n\tfunction isMoveish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove;\n\t}\n\tfunction isStartish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.topTouchStart;\n\t}\n\t\n\tvar validateEventDispatches;\n\tif (false) {\n\t validateEventDispatches = function (event) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t\n\t var listenersIsArr = Array.isArray(dispatchListeners);\n\t var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\t\n\t var instancesIsArr = Array.isArray(dispatchInstances);\n\t var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n\t };\n\t}\n\t\n\t/**\n\t * Dispatch the event to the listener.\n\t * @param {SyntheticEvent} event SyntheticEvent to handle\n\t * @param {boolean} simulated If the event is simulated (changes exn behavior)\n\t * @param {function} listener Application-level callback\n\t * @param {*} inst Internal component instance\n\t */\n\tfunction executeDispatch(event, simulated, listener, inst) {\n\t var type = event.type || 'unknown-event';\n\t event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n\t if (simulated) {\n\t ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n\t } else {\n\t ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n\t }\n\t event.currentTarget = null;\n\t}\n\t\n\t/**\n\t * Standard/simple iteration through an event's collected dispatches.\n\t */\n\tfunction executeDispatchesInOrder(event, simulated) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t if (Array.isArray(dispatchListeners)) {\n\t for (var i = 0; i < dispatchListeners.length; i++) {\n\t if (event.isPropagationStopped()) {\n\t break;\n\t }\n\t // Listeners and Instances are two parallel arrays that are always in sync.\n\t executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n\t }\n\t } else if (dispatchListeners) {\n\t executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n\t }\n\t event._dispatchListeners = null;\n\t event._dispatchInstances = null;\n\t}\n\t\n\t/**\n\t * Standard/simple iteration through an event's collected dispatches, but stops\n\t * at the first dispatch execution returning true, and returns that id.\n\t *\n\t * @return {?string} id of the first dispatch execution who's listener returns\n\t * true, or null if no listener returned true.\n\t */\n\tfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n\t var dispatchListeners = event._dispatchListeners;\n\t var dispatchInstances = event._dispatchInstances;\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t if (Array.isArray(dispatchListeners)) {\n\t for (var i = 0; i < dispatchListeners.length; i++) {\n\t if (event.isPropagationStopped()) {\n\t break;\n\t }\n\t // Listeners and Instances are two parallel arrays that are always in sync.\n\t if (dispatchListeners[i](event, dispatchInstances[i])) {\n\t return dispatchInstances[i];\n\t }\n\t }\n\t } else if (dispatchListeners) {\n\t if (dispatchListeners(event, dispatchInstances)) {\n\t return dispatchInstances;\n\t }\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * @see executeDispatchesInOrderStopAtTrueImpl\n\t */\n\tfunction executeDispatchesInOrderStopAtTrue(event) {\n\t var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n\t event._dispatchInstances = null;\n\t event._dispatchListeners = null;\n\t return ret;\n\t}\n\t\n\t/**\n\t * Execution of a \"direct\" dispatch - there must be at most one dispatch\n\t * accumulated on the event or it is considered an error. It doesn't really make\n\t * sense for an event with multiple dispatches (bubbled) to keep track of the\n\t * return values at each dispatch execution, but it does tend to make sense when\n\t * dealing with \"direct\" dispatches.\n\t *\n\t * @return {*} The return value of executing the single dispatch.\n\t */\n\tfunction executeDirectDispatch(event) {\n\t if (false) {\n\t validateEventDispatches(event);\n\t }\n\t var dispatchListener = event._dispatchListeners;\n\t var dispatchInstance = event._dispatchInstances;\n\t !!Array.isArray(dispatchListener) ? false ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n\t event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n\t var res = dispatchListener ? dispatchListener(event) : null;\n\t event.currentTarget = null;\n\t event._dispatchListeners = null;\n\t event._dispatchInstances = null;\n\t return res;\n\t}\n\t\n\t/**\n\t * @param {SyntheticEvent} event\n\t * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n\t */\n\tfunction hasDispatches(event) {\n\t return !!event._dispatchListeners;\n\t}\n\t\n\t/**\n\t * General utilities that are useful in creating custom Event Plugins.\n\t */\n\tvar EventPluginUtils = {\n\t isEndish: isEndish,\n\t isMoveish: isMoveish,\n\t isStartish: isStartish,\n\t\n\t executeDirectDispatch: executeDirectDispatch,\n\t executeDispatchesInOrder: executeDispatchesInOrder,\n\t executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n\t hasDispatches: hasDispatches,\n\t\n\t getInstanceFromNode: function (node) {\n\t return ComponentTree.getInstanceFromNode(node);\n\t },\n\t getNodeFromInstance: function (node) {\n\t return ComponentTree.getNodeFromInstance(node);\n\t },\n\t isAncestor: function (a, b) {\n\t return TreeTraversal.isAncestor(a, b);\n\t },\n\t getLowestCommonAncestor: function (a, b) {\n\t return TreeTraversal.getLowestCommonAncestor(a, b);\n\t },\n\t getParentInstance: function (inst) {\n\t return TreeTraversal.getParentInstance(inst);\n\t },\n\t traverseTwoPhase: function (target, fn, arg) {\n\t return TreeTraversal.traverseTwoPhase(target, fn, arg);\n\t },\n\t traverseEnterLeave: function (from, to, fn, argFrom, argTo) {\n\t return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n\t },\n\t\n\t injection: injection\n\t};\n\t\n\tmodule.exports = EventPluginUtils;\n\n/***/ },\n/* 190 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule KeyEscapeUtils\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Escape and wrap key so it is safe to use as a reactid\n\t *\n\t * @param {string} key to be escaped.\n\t * @return {string} the escaped key.\n\t */\n\t\n\tfunction escape(key) {\n\t var escapeRegex = /[=:]/g;\n\t var escaperLookup = {\n\t '=': '=0',\n\t ':': '=2'\n\t };\n\t var escapedString = ('' + key).replace(escapeRegex, function (match) {\n\t return escaperLookup[match];\n\t });\n\t\n\t return '$' + escapedString;\n\t}\n\t\n\t/**\n\t * Unescape and unwrap key for human-readable display\n\t *\n\t * @param {string} key to unescape.\n\t * @return {string} the unescaped key.\n\t */\n\tfunction unescape(key) {\n\t var unescapeRegex = /(=0|=2)/g;\n\t var unescaperLookup = {\n\t '=0': '=',\n\t '=2': ':'\n\t };\n\t var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\t\n\t return ('' + keySubstring).replace(unescapeRegex, function (match) {\n\t return unescaperLookup[match];\n\t });\n\t}\n\t\n\tvar KeyEscapeUtils = {\n\t escape: escape,\n\t unescape: unescape\n\t};\n\t\n\tmodule.exports = KeyEscapeUtils;\n\n/***/ },\n/* 191 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule LinkedValueUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar ReactPropTypes = __webpack_require__(310);\n\tvar ReactPropTypeLocations = __webpack_require__(198);\n\tvar ReactPropTypesSecret = __webpack_require__(199);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar hasReadOnlyValue = {\n\t 'button': true,\n\t 'checkbox': true,\n\t 'image': true,\n\t 'hidden': true,\n\t 'radio': true,\n\t 'reset': true,\n\t 'submit': true\n\t};\n\t\n\tfunction _assertSingleLink(inputProps) {\n\t !(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.') : _prodInvariant('87') : void 0;\n\t}\n\tfunction _assertValueLink(inputProps) {\n\t _assertSingleLink(inputProps);\n\t !(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.') : _prodInvariant('88') : void 0;\n\t}\n\t\n\tfunction _assertCheckedLink(inputProps) {\n\t _assertSingleLink(inputProps);\n\t !(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') : _prodInvariant('89') : void 0;\n\t}\n\t\n\tvar propTypes = {\n\t value: function (props, propName, componentName) {\n\t if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n\t return null;\n\t }\n\t 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\t },\n\t checked: function (props, propName, componentName) {\n\t if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n\t return null;\n\t }\n\t 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\t },\n\t onChange: ReactPropTypes.func\n\t};\n\t\n\tvar loggedTypeFailures = {};\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * Provide a linked `value` attribute for controlled forms. You should not use\n\t * this outside of the ReactDOM controlled form components.\n\t */\n\tvar LinkedValueUtils = {\n\t checkPropTypes: function (tagName, props, owner) {\n\t for (var propName in propTypes) {\n\t if (propTypes.hasOwnProperty(propName)) {\n\t var error = propTypes[propName](props, propName, tagName, ReactPropTypeLocations.prop, null, ReactPropTypesSecret);\n\t }\n\t if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t // Only monitor this failure once because there tends to be a lot of the\n\t // same error.\n\t loggedTypeFailures[error.message] = true;\n\t\n\t var addendum = getDeclarationErrorAddendum(owner);\n\t false ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0;\n\t }\n\t }\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @return {*} current value of the input either from value prop or link.\n\t */\n\t getValue: function (inputProps) {\n\t if (inputProps.valueLink) {\n\t _assertValueLink(inputProps);\n\t return inputProps.valueLink.value;\n\t }\n\t return inputProps.value;\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @return {*} current checked status of the input either from checked prop\n\t * or link.\n\t */\n\t getChecked: function (inputProps) {\n\t if (inputProps.checkedLink) {\n\t _assertCheckedLink(inputProps);\n\t return inputProps.checkedLink.value;\n\t }\n\t return inputProps.checked;\n\t },\n\t\n\t /**\n\t * @param {object} inputProps Props for form component\n\t * @param {SyntheticEvent} event change event to handle\n\t */\n\t executeOnChange: function (inputProps, event) {\n\t if (inputProps.valueLink) {\n\t _assertValueLink(inputProps);\n\t return inputProps.valueLink.requestChange(event.target.value);\n\t } else if (inputProps.checkedLink) {\n\t _assertCheckedLink(inputProps);\n\t return inputProps.checkedLink.requestChange(event.target.checked);\n\t } else if (inputProps.onChange) {\n\t return inputProps.onChange.call(undefined, event);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = LinkedValueUtils;\n\n/***/ },\n/* 192 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar ReactNoopUpdateQueue = __webpack_require__(196);\n\t\n\tvar canDefineProperty = __webpack_require__(314);\n\tvar emptyObject = __webpack_require__(94);\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\t/**\n\t * Base class helpers for the updating state of a component.\n\t */\n\tfunction ReactComponent(props, context, updater) {\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t // We initialize the default updater but the real one gets injected by the\n\t // renderer.\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t}\n\t\n\tReactComponent.prototype.isReactComponent = {};\n\t\n\t/**\n\t * Sets a subset of the state. Always use this to mutate\n\t * state. You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * There is no guarantee that calls to `setState` will run synchronously,\n\t * as they may eventually be batched together. You can provide an optional\n\t * callback that will be executed when the call to setState is actually\n\t * completed.\n\t *\n\t * When a function is provided to setState, it will be called at some point in\n\t * the future (not synchronously). It will be called with the up to date\n\t * component arguments (state, props, context). These values can be different\n\t * from this.* because your function may be called after receiveProps but before\n\t * shouldComponentUpdate, and this new state, props, and context will not yet be\n\t * assigned to this.\n\t *\n\t * @param {object|function} partialState Next partial state or function to\n\t * produce next partial state to be merged with current state.\n\t * @param {?function} callback Called after state is updated.\n\t * @final\n\t * @protected\n\t */\n\tReactComponent.prototype.setState = function (partialState, callback) {\n\t !(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.') : _prodInvariant('85') : void 0;\n\t this.updater.enqueueSetState(this, partialState);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'setState');\n\t }\n\t};\n\t\n\t/**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {?function} callback Called after update is complete.\n\t * @final\n\t * @protected\n\t */\n\tReactComponent.prototype.forceUpdate = function (callback) {\n\t this.updater.enqueueForceUpdate(this);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'forceUpdate');\n\t }\n\t};\n\t\n\t/**\n\t * Deprecated APIs. These APIs used to exist on classic React classes but since\n\t * we would like to deprecate them, we're not going to move them over to this\n\t * modern base class. Instead, we define a getter that warns if it's accessed.\n\t */\n\tif (false) {\n\t var deprecatedAPIs = {\n\t isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n\t replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n\t };\n\t var defineDeprecationWarning = function (methodName, info) {\n\t if (canDefineProperty) {\n\t Object.defineProperty(ReactComponent.prototype, methodName, {\n\t get: function () {\n\t process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0;\n\t return undefined;\n\t }\n\t });\n\t }\n\t };\n\t for (var fnName in deprecatedAPIs) {\n\t if (deprecatedAPIs.hasOwnProperty(fnName)) {\n\t defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = ReactComponent;\n\n/***/ },\n/* 193 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2014-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactComponentEnvironment\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\tvar injected = false;\n\t\n\tvar ReactComponentEnvironment = {\n\t\n\t /**\n\t * Optionally injectable environment dependent cleanup hook. (server vs.\n\t * browser etc). Example: A browser system caches DOM nodes based on component\n\t * ID and must remove that cache entry when this instance is unmounted.\n\t */\n\t unmountIDFromEnvironment: null,\n\t\n\t /**\n\t * Optionally injectable hook for swapping out mount images in the middle of\n\t * the tree.\n\t */\n\t replaceNodeWithMarkup: null,\n\t\n\t /**\n\t * Optionally injectable hook for processing a queue of child updates. Will\n\t * later move into MultiChildComponents.\n\t */\n\t processChildrenUpdates: null,\n\t\n\t injection: {\n\t injectEnvironment: function (environment) {\n\t !!injected ? false ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0;\n\t ReactComponentEnvironment.unmountIDFromEnvironment = environment.unmountIDFromEnvironment;\n\t ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup;\n\t ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n\t injected = true;\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactComponentEnvironment;\n\n/***/ },\n/* 194 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2016-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactComponentTreeDevtool\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(64);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar tree = {};\n\tvar unmountedIDs = {};\n\tvar rootIDs = {};\n\t\n\tfunction updateTree(id, update) {\n\t if (!tree[id]) {\n\t tree[id] = {\n\t element: null,\n\t parentID: null,\n\t ownerID: null,\n\t text: null,\n\t childIDs: [],\n\t displayName: 'Unknown',\n\t isMounted: false,\n\t updateCount: 0\n\t };\n\t }\n\t update(tree[id]);\n\t}\n\t\n\tfunction purgeDeep(id) {\n\t var item = tree[id];\n\t if (item) {\n\t var childIDs = item.childIDs;\n\t\n\t delete tree[id];\n\t childIDs.forEach(purgeDeep);\n\t }\n\t}\n\t\n\tfunction describeComponentFrame(name, source, ownerName) {\n\t return '\\n in ' + name + (source ? ' (at ' + source.fileName.replace(/^.*[\\\\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');\n\t}\n\t\n\tfunction describeID(id) {\n\t var name = ReactComponentTreeDevtool.getDisplayName(id);\n\t var element = ReactComponentTreeDevtool.getElement(id);\n\t var ownerID = ReactComponentTreeDevtool.getOwnerID(id);\n\t var ownerName;\n\t if (ownerID) {\n\t ownerName = ReactComponentTreeDevtool.getDisplayName(ownerID);\n\t }\n\t false ? warning(element, 'ReactComponentTreeDevtool: Missing React element for debugID %s when ' + 'building stack', id) : void 0;\n\t return describeComponentFrame(name, element && element._source, ownerName);\n\t}\n\t\n\tvar ReactComponentTreeDevtool = {\n\t onSetDisplayName: function (id, displayName) {\n\t updateTree(id, function (item) {\n\t return item.displayName = displayName;\n\t });\n\t },\n\t onSetChildren: function (id, nextChildIDs) {\n\t updateTree(id, function (item) {\n\t item.childIDs = nextChildIDs;\n\t\n\t nextChildIDs.forEach(function (nextChildID) {\n\t var nextChild = tree[nextChildID];\n\t !nextChild ? false ? invariant(false, 'Expected devtool events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('68') : void 0;\n\t !(nextChild.displayName != null) ? false ? invariant(false, 'Expected onSetDisplayName() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('69') : void 0;\n\t !(nextChild.childIDs != null || nextChild.text != null) ? false ? invariant(false, 'Expected onSetChildren() or onSetText() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('70') : void 0;\n\t !nextChild.isMounted ? false ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0;\n\t if (nextChild.parentID == null) {\n\t nextChild.parentID = id;\n\t // TODO: This shouldn't be necessary but mounting a new root during in\n\t // componentWillMount currently causes not-yet-mounted components to\n\t // be purged from our tree data so their parent ID is missing.\n\t }\n\t !(nextChild.parentID === id) ? false ? invariant(false, 'Expected onSetParent() and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('72', nextChildID, nextChild.parentID, id) : void 0;\n\t });\n\t });\n\t },\n\t onSetOwner: function (id, ownerID) {\n\t updateTree(id, function (item) {\n\t return item.ownerID = ownerID;\n\t });\n\t },\n\t onSetParent: function (id, parentID) {\n\t updateTree(id, function (item) {\n\t return item.parentID = parentID;\n\t });\n\t },\n\t onSetText: function (id, text) {\n\t updateTree(id, function (item) {\n\t return item.text = text;\n\t });\n\t },\n\t onBeforeMountComponent: function (id, element) {\n\t updateTree(id, function (item) {\n\t return item.element = element;\n\t });\n\t },\n\t onBeforeUpdateComponent: function (id, element) {\n\t updateTree(id, function (item) {\n\t return item.element = element;\n\t });\n\t },\n\t onMountComponent: function (id) {\n\t updateTree(id, function (item) {\n\t return item.isMounted = true;\n\t });\n\t },\n\t onMountRootComponent: function (id) {\n\t rootIDs[id] = true;\n\t },\n\t onUpdateComponent: function (id) {\n\t updateTree(id, function (item) {\n\t return item.updateCount++;\n\t });\n\t },\n\t onUnmountComponent: function (id) {\n\t updateTree(id, function (item) {\n\t return item.isMounted = false;\n\t });\n\t unmountedIDs[id] = true;\n\t delete rootIDs[id];\n\t },\n\t purgeUnmountedComponents: function () {\n\t if (ReactComponentTreeDevtool._preventPurging) {\n\t // Should only be used for testing.\n\t return;\n\t }\n\t\n\t for (var id in unmountedIDs) {\n\t purgeDeep(id);\n\t }\n\t unmountedIDs = {};\n\t },\n\t isMounted: function (id) {\n\t var item = tree[id];\n\t return item ? item.isMounted : false;\n\t },\n\t getCurrentStackAddendum: function (topElement) {\n\t var info = '';\n\t if (topElement) {\n\t var type = topElement.type;\n\t var name = typeof type === 'function' ? type.displayName || type.name : type;\n\t var owner = topElement._owner;\n\t info += describeComponentFrame(name || 'Unknown', topElement._source, owner && owner.getName());\n\t }\n\t\n\t var currentOwner = ReactCurrentOwner.current;\n\t var id = currentOwner && currentOwner._debugID;\n\t\n\t info += ReactComponentTreeDevtool.getStackAddendumByID(id);\n\t return info;\n\t },\n\t getStackAddendumByID: function (id) {\n\t var info = '';\n\t while (id) {\n\t info += describeID(id);\n\t id = ReactComponentTreeDevtool.getParentID(id);\n\t }\n\t return info;\n\t },\n\t getChildIDs: function (id) {\n\t var item = tree[id];\n\t return item ? item.childIDs : [];\n\t },\n\t getDisplayName: function (id) {\n\t var item = tree[id];\n\t return item ? item.displayName : 'Unknown';\n\t },\n\t getElement: function (id) {\n\t var item = tree[id];\n\t return item ? item.element : null;\n\t },\n\t getOwnerID: function (id) {\n\t var item = tree[id];\n\t return item ? item.ownerID : null;\n\t },\n\t getParentID: function (id) {\n\t var item = tree[id];\n\t return item ? item.parentID : null;\n\t },\n\t getSource: function (id) {\n\t var item = tree[id];\n\t var element = item ? item.element : null;\n\t var source = element != null ? element._source : null;\n\t return source;\n\t },\n\t getText: function (id) {\n\t var item = tree[id];\n\t return item ? item.text : null;\n\t },\n\t getUpdateCount: function (id) {\n\t var item = tree[id];\n\t return item ? item.updateCount : 0;\n\t },\n\t getRootIDs: function () {\n\t return Object.keys(rootIDs);\n\t },\n\t getRegisteredIDs: function () {\n\t return Object.keys(tree);\n\t }\n\t};\n\t\n\tmodule.exports = ReactComponentTreeDevtool;\n\n/***/ },\n/* 195 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactErrorUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar caughtError = null;\n\t\n\t/**\n\t * Call a function while guarding against errors that happens within it.\n\t *\n\t * @param {?String} name of the guard to use for logging or debugging\n\t * @param {Function} func The function to invoke\n\t * @param {*} a First argument\n\t * @param {*} b Second argument\n\t */\n\tfunction invokeGuardedCallback(name, func, a, b) {\n\t try {\n\t return func(a, b);\n\t } catch (x) {\n\t if (caughtError === null) {\n\t caughtError = x;\n\t }\n\t return undefined;\n\t }\n\t}\n\t\n\tvar ReactErrorUtils = {\n\t invokeGuardedCallback: invokeGuardedCallback,\n\t\n\t /**\n\t * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n\t * handler are sure to be rethrown by rethrowCaughtError.\n\t */\n\t invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\t\n\t /**\n\t * During execution of guarded functions we will capture the first error which\n\t * we will rethrow to be handled by the top level error handler.\n\t */\n\t rethrowCaughtError: function () {\n\t if (caughtError) {\n\t var error = caughtError;\n\t caughtError = null;\n\t throw error;\n\t }\n\t }\n\t};\n\t\n\tif (false) {\n\t /**\n\t * To help development we can get better devtools integration by simulating a\n\t * real browser event.\n\t */\n\t if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n\t var fakeNode = document.createElement('react');\n\t ReactErrorUtils.invokeGuardedCallback = function (name, func, a, b) {\n\t var boundFunc = func.bind(null, a, b);\n\t var evtType = 'react-' + name;\n\t fakeNode.addEventListener(evtType, boundFunc, false);\n\t var evt = document.createEvent('Event');\n\t evt.initEvent(evtType, false, false);\n\t fakeNode.dispatchEvent(evt);\n\t fakeNode.removeEventListener(evtType, boundFunc, false);\n\t };\n\t }\n\t}\n\t\n\tmodule.exports = ReactErrorUtils;\n\n/***/ },\n/* 196 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactNoopUpdateQueue\n\t */\n\t\n\t'use strict';\n\t\n\tvar warning = __webpack_require__(6);\n\t\n\tfunction warnNoop(publicInstance, callerName) {\n\t if (false) {\n\t var constructor = publicInstance.constructor;\n\t 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, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n\t }\n\t}\n\t\n\t/**\n\t * This is the abstract API for an update queue.\n\t */\n\tvar ReactNoopUpdateQueue = {\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @param {ReactClass} publicInstance The instance we want to test.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function (publicInstance) {\n\t return false;\n\t },\n\t\n\t /**\n\t * Enqueue a callback that will be executed after all the pending updates\n\t * have processed.\n\t *\n\t * @param {ReactClass} publicInstance The instance to use as `this` context.\n\t * @param {?function} callback Called after state is updated.\n\t * @internal\n\t */\n\t enqueueCallback: function (publicInstance, callback) {},\n\t\n\t /**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @internal\n\t */\n\t enqueueForceUpdate: function (publicInstance) {\n\t warnNoop(publicInstance, 'forceUpdate');\n\t },\n\t\n\t /**\n\t * Replaces all of the state. Always use this or `setState` to mutate state.\n\t * You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} completeState Next state.\n\t * @internal\n\t */\n\t enqueueReplaceState: function (publicInstance, completeState) {\n\t warnNoop(publicInstance, 'replaceState');\n\t },\n\t\n\t /**\n\t * Sets a subset of the state. This only exists because _pendingState is\n\t * internal. This provides a merging strategy that is not available to deep\n\t * properties which is confusing. TODO: Expose pendingState or don't use it\n\t * during the merge.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} partialState Next partial state to be merged with state.\n\t * @internal\n\t */\n\t enqueueSetState: function (publicInstance, partialState) {\n\t warnNoop(publicInstance, 'setState');\n\t }\n\t};\n\t\n\tmodule.exports = ReactNoopUpdateQueue;\n\n/***/ },\n/* 197 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactPropTypeLocationNames\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypeLocationNames = {};\n\t\n\tif (false) {\n\t ReactPropTypeLocationNames = {\n\t prop: 'prop',\n\t context: 'context',\n\t childContext: 'child context'\n\t };\n\t}\n\t\n\tmodule.exports = ReactPropTypeLocationNames;\n\n/***/ },\n/* 198 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactPropTypeLocations\n\t */\n\t\n\t'use strict';\n\t\n\tvar keyMirror = __webpack_require__(117);\n\t\n\tvar ReactPropTypeLocations = keyMirror({\n\t prop: null,\n\t context: null,\n\t childContext: null\n\t});\n\t\n\tmodule.exports = ReactPropTypeLocations;\n\n/***/ },\n/* 199 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactPropTypesSecret\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\t\n\tmodule.exports = ReactPropTypesSecret;\n\n/***/ },\n/* 200 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactUpdateQueue\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(64);\n\tvar ReactInstanceMap = __webpack_require__(100);\n\tvar ReactInstrumentation = __webpack_require__(31);\n\tvar ReactUpdates = __webpack_require__(49);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\tfunction enqueueUpdate(internalInstance) {\n\t ReactUpdates.enqueueUpdate(internalInstance);\n\t}\n\t\n\tfunction formatUnexpectedArgument(arg) {\n\t var type = typeof arg;\n\t if (type !== 'object') {\n\t return type;\n\t }\n\t var displayName = arg.constructor && arg.constructor.name || type;\n\t var keys = Object.keys(arg);\n\t if (keys.length > 0 && keys.length < 20) {\n\t return displayName + ' (keys: ' + keys.join(', ') + ')';\n\t }\n\t return displayName;\n\t}\n\t\n\tfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n\t var internalInstance = ReactInstanceMap.get(publicInstance);\n\t if (!internalInstance) {\n\t if (false) {\n\t var ctor = publicInstance.constructor;\n\t // Only warn when we have a callerName. Otherwise we should be silent.\n\t // We're probably calling from enqueueCallback. We don't want to warn\n\t // there because we already warned for the corresponding lifecycle method.\n\t 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, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0;\n\t }\n\t return null;\n\t }\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0;\n\t }\n\t\n\t return internalInstance;\n\t}\n\t\n\t/**\n\t * ReactUpdateQueue allows for state updates to be scheduled into a later\n\t * reconciliation step.\n\t */\n\tvar ReactUpdateQueue = {\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @param {ReactClass} publicInstance The instance we want to test.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function (publicInstance) {\n\t if (false) {\n\t var owner = ReactCurrentOwner.current;\n\t if (owner !== null) {\n\t 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') : void 0;\n\t owner._warnedAboutRefsInRender = true;\n\t }\n\t }\n\t var internalInstance = ReactInstanceMap.get(publicInstance);\n\t if (internalInstance) {\n\t // During componentWillMount and render this will still be null but after\n\t // that will always render to something. At least for now. So we can use\n\t // this hack.\n\t return !!internalInstance._renderedComponent;\n\t } else {\n\t return false;\n\t }\n\t },\n\t\n\t /**\n\t * Enqueue a callback that will be executed after all the pending updates\n\t * have processed.\n\t *\n\t * @param {ReactClass} publicInstance The instance to use as `this` context.\n\t * @param {?function} callback Called after state is updated.\n\t * @param {string} callerName Name of the calling function in the public API.\n\t * @internal\n\t */\n\t enqueueCallback: function (publicInstance, callback, callerName) {\n\t ReactUpdateQueue.validateCallback(callback, callerName);\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\t\n\t // Previously we would throw an error if we didn't have an internal\n\t // instance. Since we want to make it a no-op instead, we mirror the same\n\t // behavior we have in other enqueue* methods.\n\t // We also need to ignore callbacks in componentWillMount. See\n\t // enqueueUpdates.\n\t if (!internalInstance) {\n\t return null;\n\t }\n\t\n\t if (internalInstance._pendingCallbacks) {\n\t internalInstance._pendingCallbacks.push(callback);\n\t } else {\n\t internalInstance._pendingCallbacks = [callback];\n\t }\n\t // TODO: The callback here is ignored when setState is called from\n\t // componentWillMount. Either fix it or disallow doing so completely in\n\t // favor of getInitialState. Alternatively, we can disallow\n\t // componentWillMount during server-side rendering.\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t enqueueCallbackInternal: function (internalInstance, callback) {\n\t if (internalInstance._pendingCallbacks) {\n\t internalInstance._pendingCallbacks.push(callback);\n\t } else {\n\t internalInstance._pendingCallbacks = [callback];\n\t }\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Forces an update. This should only be invoked when it is known with\n\t * certainty that we are **not** in a DOM transaction.\n\t *\n\t * You may want to call this when you know that some deeper aspect of the\n\t * component's state has changed but `setState` was not called.\n\t *\n\t * This will not invoke `shouldComponentUpdate`, but it will invoke\n\t * `componentWillUpdate` and `componentDidUpdate`.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @internal\n\t */\n\t enqueueForceUpdate: function (publicInstance) {\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t internalInstance._pendingForceUpdate = true;\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Replaces all of the state. Always use this or `setState` to mutate state.\n\t * You should treat `this.state` as immutable.\n\t *\n\t * There is no guarantee that `this.state` will be immediately updated, so\n\t * accessing `this.state` after calling this method may return the old value.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} completeState Next state.\n\t * @internal\n\t */\n\t enqueueReplaceState: function (publicInstance, completeState) {\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t internalInstance._pendingStateQueue = [completeState];\n\t internalInstance._pendingReplaceState = true;\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t /**\n\t * Sets a subset of the state. This only exists because _pendingState is\n\t * internal. This provides a merging strategy that is not available to deep\n\t * properties which is confusing. TODO: Expose pendingState or don't use it\n\t * during the merge.\n\t *\n\t * @param {ReactClass} publicInstance The instance that should rerender.\n\t * @param {object} partialState Next partial state to be merged with state.\n\t * @internal\n\t */\n\t enqueueSetState: function (publicInstance, partialState) {\n\t if (false) {\n\t ReactInstrumentation.debugTool.onSetState();\n\t process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0;\n\t }\n\t\n\t var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\t\n\t if (!internalInstance) {\n\t return;\n\t }\n\t\n\t var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n\t queue.push(partialState);\n\t\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t enqueueElementInternal: function (internalInstance, nextElement, nextContext) {\n\t internalInstance._pendingElement = nextElement;\n\t // TODO: introduce _pendingContext instead of setting it directly.\n\t internalInstance._context = nextContext;\n\t enqueueUpdate(internalInstance);\n\t },\n\t\n\t validateCallback: function (callback, callerName) {\n\t !(!callback || typeof callback === 'function') ? false ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0;\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactUpdateQueue;\n\n/***/ },\n/* 201 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule createMicrosoftUnsafeLocalFunction\n\t */\n\t\n\t/* globals MSApp */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Create a function which has 'unsafe' privileges (required by windows8 apps)\n\t */\n\t\n\tvar createMicrosoftUnsafeLocalFunction = function (func) {\n\t if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n\t return function (arg0, arg1, arg2, arg3) {\n\t MSApp.execUnsafeLocalFunction(function () {\n\t return func(arg0, arg1, arg2, arg3);\n\t });\n\t };\n\t } else {\n\t return func;\n\t }\n\t};\n\t\n\tmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n/***/ },\n/* 202 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule getEventCharCode\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * `charCode` represents the actual \"character code\" and is safe to use with\n\t * `String.fromCharCode`. As such, only keys that correspond to printable\n\t * characters produce a valid `charCode`, the only exception to this is Enter.\n\t * The Tab-key is considered non-printable and does not have a `charCode`,\n\t * presumably because it does not produce a tab-character in browsers.\n\t *\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {number} Normalized `charCode` property.\n\t */\n\t\n\tfunction getEventCharCode(nativeEvent) {\n\t var charCode;\n\t var keyCode = nativeEvent.keyCode;\n\t\n\t if ('charCode' in nativeEvent) {\n\t charCode = nativeEvent.charCode;\n\t\n\t // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n\t if (charCode === 0 && keyCode === 13) {\n\t charCode = 13;\n\t }\n\t } else {\n\t // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n\t charCode = keyCode;\n\t }\n\t\n\t // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n\t // Must not discard the (non-)printable Enter-key.\n\t if (charCode >= 32 || charCode === 13) {\n\t return charCode;\n\t }\n\t\n\t return 0;\n\t}\n\t\n\tmodule.exports = getEventCharCode;\n\n/***/ },\n/* 203 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule getEventModifierState\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Translation from modifier key to the associated property in the event.\n\t * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n\t */\n\t\n\tvar modifierKeyToProp = {\n\t 'Alt': 'altKey',\n\t 'Control': 'ctrlKey',\n\t 'Meta': 'metaKey',\n\t 'Shift': 'shiftKey'\n\t};\n\t\n\t// IE8 does not implement getModifierState so we simply map it to the only\n\t// modifier keys exposed by the event itself, does not support Lock-keys.\n\t// Currently, all major browsers except Chrome seems to support Lock-keys.\n\tfunction modifierStateGetter(keyArg) {\n\t var syntheticEvent = this;\n\t var nativeEvent = syntheticEvent.nativeEvent;\n\t if (nativeEvent.getModifierState) {\n\t return nativeEvent.getModifierState(keyArg);\n\t }\n\t var keyProp = modifierKeyToProp[keyArg];\n\t return keyProp ? !!nativeEvent[keyProp] : false;\n\t}\n\t\n\tfunction getEventModifierState(nativeEvent) {\n\t return modifierStateGetter;\n\t}\n\t\n\tmodule.exports = getEventModifierState;\n\n/***/ },\n/* 204 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule getEventTarget\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Gets the target node from a native browser event by accounting for\n\t * inconsistencies in browser DOM APIs.\n\t *\n\t * @param {object} nativeEvent Native browser event.\n\t * @return {DOMEventTarget} Target node.\n\t */\n\t\n\tfunction getEventTarget(nativeEvent) {\n\t var target = nativeEvent.target || nativeEvent.srcElement || window;\n\t\n\t // Normalize SVG element events #4963\n\t if (target.correspondingUseElement) {\n\t target = target.correspondingUseElement;\n\t }\n\t\n\t // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n\t // @see http://www.quirksmode.org/js/events_properties.html\n\t return target.nodeType === 3 ? target.parentNode : target;\n\t}\n\t\n\tmodule.exports = getEventTarget;\n\n/***/ },\n/* 205 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule isEventSupported\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(26);\n\t\n\tvar useHasFeature;\n\tif (ExecutionEnvironment.canUseDOM) {\n\t useHasFeature = document.implementation && document.implementation.hasFeature &&\n\t // always returns true in newer browsers as per the standard.\n\t // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n\t document.implementation.hasFeature('', '') !== true;\n\t}\n\t\n\t/**\n\t * Checks if an event is supported in the current execution environment.\n\t *\n\t * NOTE: This will not work correctly for non-generic events such as `change`,\n\t * `reset`, `load`, `error`, and `select`.\n\t *\n\t * Borrows from Modernizr.\n\t *\n\t * @param {string} eventNameSuffix Event name, e.g. \"click\".\n\t * @param {?boolean} capture Check if the capture phase is supported.\n\t * @return {boolean} True if the event is supported.\n\t * @internal\n\t * @license Modernizr 3.0.0pre (Custom Build) | MIT\n\t */\n\tfunction isEventSupported(eventNameSuffix, capture) {\n\t if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n\t return false;\n\t }\n\t\n\t var eventName = 'on' + eventNameSuffix;\n\t var isSupported = eventName in document;\n\t\n\t if (!isSupported) {\n\t var element = document.createElement('div');\n\t element.setAttribute(eventName, 'return;');\n\t isSupported = typeof element[eventName] === 'function';\n\t }\n\t\n\t if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n\t // This is the only way to test support for the `wheel` event in IE9+.\n\t isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n\t }\n\t\n\t return isSupported;\n\t}\n\t\n\tmodule.exports = isEventSupported;\n\n/***/ },\n/* 206 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule shouldUpdateReactComponent\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Given a `prevElement` and `nextElement`, determines if the existing\n\t * instance should be updated as opposed to being destroyed or replaced by a new\n\t * instance. Both arguments are elements. This ensures that this logic can\n\t * operate on stateless trees without any backing instance.\n\t *\n\t * @param {?object} prevElement\n\t * @param {?object} nextElement\n\t * @return {boolean} True if the existing instance should be updated.\n\t * @protected\n\t */\n\t\n\tfunction shouldUpdateReactComponent(prevElement, nextElement) {\n\t var prevEmpty = prevElement === null || prevElement === false;\n\t var nextEmpty = nextElement === null || nextElement === false;\n\t if (prevEmpty || nextEmpty) {\n\t return prevEmpty === nextEmpty;\n\t }\n\t\n\t var prevType = typeof prevElement;\n\t var nextType = typeof nextElement;\n\t if (prevType === 'string' || prevType === 'number') {\n\t return nextType === 'string' || nextType === 'number';\n\t } else {\n\t return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n\t }\n\t}\n\t\n\tmodule.exports = shouldUpdateReactComponent;\n\n/***/ },\n/* 207 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule traverseAllChildren\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(64);\n\tvar ReactElement = __webpack_require__(48);\n\t\n\tvar getIteratorFn = __webpack_require__(317);\n\tvar invariant = __webpack_require__(3);\n\tvar KeyEscapeUtils = __webpack_require__(190);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar SEPARATOR = '.';\n\tvar SUBSEPARATOR = ':';\n\t\n\t/**\n\t * TODO: Test that a single child and an array with one item have the same key\n\t * pattern.\n\t */\n\t\n\tvar didWarnAboutMaps = false;\n\t\n\t/**\n\t * Generate a key string that identifies a component within a set.\n\t *\n\t * @param {*} component A component that could contain a manual key.\n\t * @param {number} index Index that is used if a manual key is not provided.\n\t * @return {string}\n\t */\n\tfunction getComponentKey(component, index) {\n\t // Do some typechecking here since we call this blindly. We want to ensure\n\t // that we don't block potential future ES APIs.\n\t if (component && typeof component === 'object' && component.key != null) {\n\t // Explicit key\n\t return KeyEscapeUtils.escape(component.key);\n\t }\n\t // Implicit key determined by the index in the set\n\t return index.toString(36);\n\t}\n\t\n\t/**\n\t * @param {?*} children Children tree container.\n\t * @param {!string} nameSoFar Name of the key path so far.\n\t * @param {!function} callback Callback to invoke with each child found.\n\t * @param {?*} traverseContext Used to pass information throughout the traversal\n\t * process.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n\t var type = typeof children;\n\t\n\t if (type === 'undefined' || type === 'boolean') {\n\t // All of the above are perceived as null.\n\t children = null;\n\t }\n\t\n\t if (children === null || type === 'string' || type === 'number' || ReactElement.isValidElement(children)) {\n\t callback(traverseContext, children,\n\t // If it's the only child, treat the name as if it was wrapped in an array\n\t // so that it's consistent if the number of children grows.\n\t nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n\t return 1;\n\t }\n\t\n\t var child;\n\t var nextName;\n\t var subtreeCount = 0; // Count of children found in the current subtree.\n\t var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\t\n\t if (Array.isArray(children)) {\n\t for (var i = 0; i < children.length; i++) {\n\t child = children[i];\n\t nextName = nextNamePrefix + getComponentKey(child, i);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t var iteratorFn = getIteratorFn(children);\n\t if (iteratorFn) {\n\t var iterator = iteratorFn.call(children);\n\t var step;\n\t if (iteratorFn !== children.entries) {\n\t var ii = 0;\n\t while (!(step = iterator.next()).done) {\n\t child = step.value;\n\t nextName = nextNamePrefix + getComponentKey(child, ii++);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t } else {\n\t if (false) {\n\t var mapsAsChildrenAddendum = '';\n\t if (ReactCurrentOwner.current) {\n\t var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n\t if (mapsAsChildrenOwnerName) {\n\t mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n\t }\n\t }\n\t 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.%s', mapsAsChildrenAddendum) : void 0;\n\t didWarnAboutMaps = true;\n\t }\n\t // Iterator will provide entry [k,v] tuples rather than values.\n\t while (!(step = iterator.next()).done) {\n\t var entry = step.value;\n\t if (entry) {\n\t child = entry[1];\n\t nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n\t subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n\t }\n\t }\n\t }\n\t } else if (type === 'object') {\n\t var addendum = '';\n\t if (false) {\n\t 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\t if (children._isReactElement) {\n\t 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\t }\n\t if (ReactCurrentOwner.current) {\n\t var name = ReactCurrentOwner.current.getName();\n\t if (name) {\n\t addendum += ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t }\n\t var childrenString = String(children);\n\t 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) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n\t }\n\t }\n\t\n\t return subtreeCount;\n\t}\n\t\n\t/**\n\t * Traverses children that are typically specified as `props.children`, but\n\t * might also be specified through attributes:\n\t *\n\t * - `traverseAllChildren(this.props.children, ...)`\n\t * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n\t *\n\t * The `traverseContext` is an optional argument that is passed through the\n\t * entire traversal. It can be used to store accumulations or anything else that\n\t * the callback might find relevant.\n\t *\n\t * @param {?*} children Children tree object.\n\t * @param {!function} callback To invoke upon traversing each child.\n\t * @param {?*} traverseContext Context for traversal.\n\t * @return {!number} The number of children in this subtree.\n\t */\n\tfunction traverseAllChildren(children, callback, traverseContext) {\n\t if (children == null) {\n\t return 0;\n\t }\n\t\n\t return traverseAllChildrenImpl(children, '', callback, traverseContext);\n\t}\n\t\n\tmodule.exports = traverseAllChildren;\n\n/***/ },\n/* 208 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule validateDOMNesting\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar emptyFunction = __webpack_require__(39);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar validateDOMNesting = emptyFunction;\n\t\n\tif (false) {\n\t // This validation code was written based on the HTML5 parsing spec:\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n\t //\n\t // Note: this does not catch all invalid nesting, nor does it try to (as it's\n\t // not clear what practical benefit doing so provides); instead, we warn only\n\t // for cases where the parser will give a parse tree differing from what React\n\t // intended. For example,
is invalid but we don't warn\n\t // because it still parses correctly; we do warn for other cases like nested\n\t // tags where the beginning of the second element implicitly closes the\n\t // first, causing a confusing mess.\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#special\n\t 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\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n\t var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n\t // TODO: Distinguish by namespace here -- for
, including it here\n\t // errs on the side of fewer warnings\n\t 'foreignObject', 'desc', 'title'];\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n\t var buttonScopeTags = inScopeTags.concat(['button']);\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n\t var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\t\n\t var emptyAncestorInfo = {\n\t current: null,\n\t\n\t formTag: null,\n\t aTagInScope: null,\n\t buttonTagInScope: null,\n\t nobrTagInScope: null,\n\t pTagInButtonScope: null,\n\t\n\t listItemTagAutoclosing: null,\n\t dlItemTagAutoclosing: null\n\t };\n\t\n\t var updatedAncestorInfo = function (oldInfo, tag, instance) {\n\t var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);\n\t var info = { tag: tag, instance: instance };\n\t\n\t if (inScopeTags.indexOf(tag) !== -1) {\n\t ancestorInfo.aTagInScope = null;\n\t ancestorInfo.buttonTagInScope = null;\n\t ancestorInfo.nobrTagInScope = null;\n\t }\n\t if (buttonScopeTags.indexOf(tag) !== -1) {\n\t ancestorInfo.pTagInButtonScope = null;\n\t }\n\t\n\t // See rules for 'li', 'dd', 'dt' start tags in\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n\t if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n\t ancestorInfo.listItemTagAutoclosing = null;\n\t ancestorInfo.dlItemTagAutoclosing = null;\n\t }\n\t\n\t ancestorInfo.current = info;\n\t\n\t if (tag === 'form') {\n\t ancestorInfo.formTag = info;\n\t }\n\t if (tag === 'a') {\n\t ancestorInfo.aTagInScope = info;\n\t }\n\t if (tag === 'button') {\n\t ancestorInfo.buttonTagInScope = info;\n\t }\n\t if (tag === 'nobr') {\n\t ancestorInfo.nobrTagInScope = info;\n\t }\n\t if (tag === 'p') {\n\t ancestorInfo.pTagInButtonScope = info;\n\t }\n\t if (tag === 'li') {\n\t ancestorInfo.listItemTagAutoclosing = info;\n\t }\n\t if (tag === 'dd' || tag === 'dt') {\n\t ancestorInfo.dlItemTagAutoclosing = info;\n\t }\n\t\n\t return ancestorInfo;\n\t };\n\t\n\t /**\n\t * Returns whether\n\t */\n\t var isTagValidWithParent = function (tag, parentTag) {\n\t // First, let's check if we're in an unusual parsing mode...\n\t switch (parentTag) {\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n\t case 'select':\n\t return tag === 'option' || tag === 'optgroup' || tag === '#text';\n\t case 'optgroup':\n\t return tag === 'option' || tag === '#text';\n\t // Strictly speaking, seeing an doesn't mean we're in a \n\t // but\n\t case 'option':\n\t return tag === '#text';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n\t // No special behavior since these rules fall back to \"in body\" mode for\n\t // all except special table nodes which cause bad parsing behavior anyway.\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n\t case 'tr':\n\t return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n\t case 'tbody':\n\t case 'thead':\n\t case 'tfoot':\n\t return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n\t case 'colgroup':\n\t return tag === 'col' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n\t case 'table':\n\t return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n\t case 'head':\n\t return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n\t\n\t // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n\t case 'html':\n\t return tag === 'head' || tag === 'body';\n\t case '#document':\n\t return tag === 'html';\n\t }\n\t\n\t // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n\t // where the parsing rules cause implicit opens or closes to be added.\n\t // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n\t switch (tag) {\n\t case 'h1':\n\t case 'h2':\n\t case 'h3':\n\t case 'h4':\n\t case 'h5':\n\t case 'h6':\n\t return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\t\n\t case 'rp':\n\t case 'rt':\n\t return impliedEndTags.indexOf(parentTag) === -1;\n\t\n\t case 'body':\n\t case 'caption':\n\t case 'col':\n\t case 'colgroup':\n\t case 'frame':\n\t case 'head':\n\t case 'html':\n\t case 'tbody':\n\t case 'td':\n\t case 'tfoot':\n\t case 'th':\n\t case 'thead':\n\t case 'tr':\n\t // These tags are only valid with a few parents that have special child\n\t // parsing rules -- if we're down here, then none of those matched and\n\t // so we allow it only if we don't know what the parent is, as all other\n\t // cases are invalid.\n\t return parentTag == null;\n\t }\n\t\n\t return true;\n\t };\n\t\n\t /**\n\t * Returns whether\n\t */\n\t var findInvalidAncestorForTag = function (tag, ancestorInfo) {\n\t switch (tag) {\n\t case 'address':\n\t case 'article':\n\t case 'aside':\n\t case 'blockquote':\n\t case 'center':\n\t case 'details':\n\t case 'dialog':\n\t case 'dir':\n\t case 'div':\n\t case 'dl':\n\t case 'fieldset':\n\t case 'figcaption':\n\t case 'figure':\n\t case 'footer':\n\t case 'header':\n\t case 'hgroup':\n\t case 'main':\n\t case 'menu':\n\t case 'nav':\n\t case 'ol':\n\t case 'p':\n\t case 'section':\n\t case 'summary':\n\t case 'ul':\n\t\n\t case 'pre':\n\t case 'listing':\n\t\n\t case 'table':\n\t\n\t case 'hr':\n\t\n\t case 'xmp':\n\t\n\t case 'h1':\n\t case 'h2':\n\t case 'h3':\n\t case 'h4':\n\t case 'h5':\n\t case 'h6':\n\t return ancestorInfo.pTagInButtonScope;\n\t\n\t case 'form':\n\t return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\t\n\t case 'li':\n\t return ancestorInfo.listItemTagAutoclosing;\n\t\n\t case 'dd':\n\t case 'dt':\n\t return ancestorInfo.dlItemTagAutoclosing;\n\t\n\t case 'button':\n\t return ancestorInfo.buttonTagInScope;\n\t\n\t case 'a':\n\t // Spec says something about storing a list of markers, but it sounds\n\t // equivalent to this check.\n\t return ancestorInfo.aTagInScope;\n\t\n\t case 'nobr':\n\t return ancestorInfo.nobrTagInScope;\n\t }\n\t\n\t return null;\n\t };\n\t\n\t /**\n\t * Given a ReactCompositeComponent instance, return a list of its recursive\n\t * owners, starting at the root and ending with the instance itself.\n\t */\n\t var findOwnerStack = function (instance) {\n\t if (!instance) {\n\t return [];\n\t }\n\t\n\t var stack = [];\n\t do {\n\t stack.push(instance);\n\t } while (instance = instance._currentElement._owner);\n\t stack.reverse();\n\t return stack;\n\t };\n\t\n\t var didWarn = {};\n\t\n\t validateDOMNesting = function (childTag, childInstance, ancestorInfo) {\n\t ancestorInfo = ancestorInfo || emptyAncestorInfo;\n\t var parentInfo = ancestorInfo.current;\n\t var parentTag = parentInfo && parentInfo.tag;\n\t\n\t var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n\t var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n\t var problematic = invalidParent || invalidAncestor;\n\t\n\t if (problematic) {\n\t var ancestorTag = problematic.tag;\n\t var ancestorInstance = problematic.instance;\n\t\n\t var childOwner = childInstance && childInstance._currentElement._owner;\n\t var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\t\n\t var childOwners = findOwnerStack(childOwner);\n\t var ancestorOwners = findOwnerStack(ancestorOwner);\n\t\n\t var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n\t var i;\n\t\n\t var deepestCommon = -1;\n\t for (i = 0; i < minStackLen; i++) {\n\t if (childOwners[i] === ancestorOwners[i]) {\n\t deepestCommon = i;\n\t } else {\n\t break;\n\t }\n\t }\n\t\n\t var UNKNOWN = '(unknown)';\n\t var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n\t return inst.getName() || UNKNOWN;\n\t });\n\t var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n\t return inst.getName() || UNKNOWN;\n\t });\n\t var ownerInfo = [].concat(\n\t // If the parent and child instances have a common owner ancestor, start\n\t // with that -- otherwise we just start with the parent's owners.\n\t deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n\t // If we're warning about an invalid (non-parent) ancestry, add '...'\n\t invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\t\n\t var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n\t if (didWarn[warnKey]) {\n\t return;\n\t }\n\t didWarn[warnKey] = true;\n\t\n\t var tagDisplayName = childTag;\n\t if (childTag !== '#text') {\n\t tagDisplayName = '<' + childTag + '>';\n\t }\n\t\n\t if (invalidParent) {\n\t var info = '';\n\t if (ancestorTag === 'table' && childTag === 'tr') {\n\t info += ' Add a to your code to match the DOM tree generated by ' + 'the browser.';\n\t }\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>. ' + 'See %s.%s', tagDisplayName, ancestorTag, ownerInfo, info) : void 0;\n\t } else {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;\n\t }\n\t }\n\t };\n\t\n\t validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\t\n\t // For testing\n\t validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n\t ancestorInfo = ancestorInfo || emptyAncestorInfo;\n\t var parentInfo = ancestorInfo.current;\n\t var parentTag = parentInfo && parentInfo.tag;\n\t return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n\t };\n\t}\n\t\n\tmodule.exports = validateDOMNesting;\n\n/***/ },\n/* 209 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.LOGOUT_USER = exports.LOGIN_USER_REQUEST = exports.LOGIN_USER_EXPIRED = exports.LOGIN_USER_FAILURE = exports.LOGIN_USER_SUCCESS = exports.DEFAULT_SESSION_INTERVAL = undefined;\n\texports.loginKeepAlive = loginKeepAlive;\n\texports.loginUserSuccess = loginUserSuccess;\n\texports.loginUserFailure = loginUserFailure;\n\texports.loginUserExpired = loginUserExpired;\n\texports.loginUserRequest = loginUserRequest;\n\texports.logout = logout;\n\texports.logoutAndRedirect = logoutAndRedirect;\n\texports.loginUser = loginUser;\n\t\n\tvar _reactRouterRedux = __webpack_require__(97);\n\t\n\tvar _jsCookie = __webpack_require__(257);\n\t\n\tvar _jsCookie2 = _interopRequireDefault(_jsCookie);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _i18n = __webpack_require__(91);\n\t\n\tvar _api = __webpack_require__(141);\n\t\n\tvar _store = __webpack_require__(210);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Constants\n\t\n\t\n\t// Other actions and payload types\n\t\n\t\n\t// Local imports\n\t/**\n\t * This file implements authentication related actions.\n\t */\n\t\n\t// NPM imports\n\tvar DEFAULT_SESSION_INTERVAL = exports.DEFAULT_SESSION_INTERVAL = 1800 * 1000; // 30 mins long sessoins by default\n\t\n\t\n\t/**\n\t * Dispatch a ping query to the API for login keepalive and prevent session\n\t * from expiring.\n\t *\n\t * @param username Username to use\n\t * @param token Token to revive\n\t * @param endpoint Ampache base URL\n\t *\n\t * @return A CALL_API payload to keep session alive.\n\t */\n\t\n\t\n\t// Models\n\tfunction loginKeepAlive(username, token, endpoint) {\n\t return {\n\t type: _api.CALL_API,\n\t payload: {\n\t endpoint: endpoint,\n\t dispatch: [null, null, function (error) {\n\t return function (dispatch) {\n\t dispatch(loginUserFailure(error || new _i18n.i18nRecord({ id: \"app.login.expired\", values: {} })));\n\t };\n\t }],\n\t action: \"ping\",\n\t auth: token,\n\t username: username,\n\t extraParams: {}\n\t }\n\t };\n\t}\n\t\n\tvar LOGIN_USER_SUCCESS = exports.LOGIN_USER_SUCCESS = \"LOGIN_USER_SUCCESS\";\n\t/**\n\t * Action to be called on successful login.\n\t *\n\t * @param username Username used for login\n\t * @param token Token got back from the API\n\t * @param endpoint Ampache server base URL\n\t * @param rememberMe Whether to remember me or not\n\t * @param timerID ID of the timer set for session keepalive.\n\t *\n\t * @return A login success payload.\n\t */\n\tfunction loginUserSuccess(username, token, endpoint, rememberMe, timerID) {\n\t return {\n\t type: LOGIN_USER_SUCCESS,\n\t payload: {\n\t username: username,\n\t token: token,\n\t endpoint: endpoint,\n\t rememberMe: rememberMe,\n\t timerID: timerID\n\t }\n\t };\n\t}\n\t\n\tvar LOGIN_USER_FAILURE = exports.LOGIN_USER_FAILURE = \"LOGIN_USER_FAILURE\";\n\t/**\n\t * Action to be called on failed login.\n\t *\n\t * This action removes any remember me cookie if any was set.\n\t *\n\t * @param error An error object, either string or i18nRecord.\n\t * @return A login failure payload.\n\t */\n\tfunction loginUserFailure(error) {\n\t _jsCookie2.default.remove(\"username\");\n\t _jsCookie2.default.remove(\"token\");\n\t _jsCookie2.default.remove(\"endpoint\");\n\t return {\n\t type: LOGIN_USER_FAILURE,\n\t payload: {\n\t error: error\n\t }\n\t };\n\t}\n\t\n\tvar LOGIN_USER_EXPIRED = exports.LOGIN_USER_EXPIRED = \"LOGIN_USER_EXPIRED\";\n\t/**\n\t * Action to be called when session is expired.\n\t *\n\t * @param error An error object, either a string or i18nRecord.\n\t * @return A session expired payload.\n\t */\n\tfunction loginUserExpired(error) {\n\t return {\n\t type: LOGIN_USER_EXPIRED,\n\t payload: {\n\t error: error\n\t }\n\t };\n\t}\n\t\n\tvar LOGIN_USER_REQUEST = exports.LOGIN_USER_REQUEST = \"LOGIN_USER_REQUEST\";\n\t/**\n\t * Action to be called when login is requested.\n\t *\n\t * @return A login request payload.\n\t */\n\tfunction loginUserRequest() {\n\t return {\n\t type: LOGIN_USER_REQUEST\n\t };\n\t}\n\t\n\tvar LOGOUT_USER = exports.LOGOUT_USER = \"LOGOUT_USER\";\n\t/**\n\t * Action to be called upon logout.\n\t *\n\t * This function clears the cookies set for remember me and the keep alive\n\t * timer.\n\t *\n\t * @remark This function does not clear the other stores, nor handle\n\t * redirection.\n\t *\n\t * @return A logout payload.\n\t */\n\tfunction logout() {\n\t return function (dispatch, state) {\n\t var _state = state();\n\t\n\t var auth = _state.auth;\n\t\n\t if (auth.timerID) {\n\t clearInterval(auth.timerID);\n\t }\n\t _jsCookie2.default.remove(\"username\");\n\t _jsCookie2.default.remove(\"token\");\n\t _jsCookie2.default.remove(\"endpoint\");\n\t dispatch({\n\t type: LOGOUT_USER\n\t });\n\t };\n\t}\n\t\n\t/**\n\t * Action to be called to log a user out.\n\t *\n\t * This function clears the remember me cookies and the keepalive timer. It\n\t * also clears the data behind authentication in the store and redirects to\n\t * login page.\n\t */\n\tfunction logoutAndRedirect() {\n\t return function (dispatch) {\n\t dispatch(logout());\n\t dispatch((0, _store.invalidateStore)());\n\t dispatch((0, _reactRouterRedux.push)(\"/login\"));\n\t };\n\t}\n\t\n\t/**\n\t * Action to be called to log a user in.\n\t *\n\t * @param username Username to use.\n\t * @param passwordOrToken User password, or previous token to revive.\n\t * @param endpoint Ampache server base URL.\n\t * @param rememberMe Whether to rememberMe or not\n\t * @param[optional] redirect Page to redirect to after login.\n\t * @param[optional] isToken Whether passwordOrToken is a password or a\n\t * token.\n\t *\n\t * @return A CALL_API payload to perform login.\n\t */\n\tfunction loginUser(username, passwordOrToken, endpoint, rememberMe) {\n\t var redirect = arguments.length <= 4 || arguments[4] === undefined ? \"/\" : arguments[4];\n\t var isToken = arguments.length <= 5 || arguments[5] === undefined ? false : arguments[5];\n\t\n\t // Clean endpoint\n\t endpoint = (0, _utils.cleanURL)(endpoint);\n\t\n\t // Get passphrase and time parameters\n\t var time = 0;\n\t var passphrase = passwordOrToken;\n\t if (!isToken) {\n\t // Standard password connection\n\t var HMAC = (0, _utils.buildHMAC)(passwordOrToken);\n\t time = HMAC.time;\n\t passphrase = HMAC.passphrase;\n\t } else {\n\t // Remember me connection\n\t if (passwordOrToken.expires < new Date()) {\n\t // Token has expired\n\t return loginUserFailure(\"app.login.expired\");\n\t }\n\t time = Math.floor(Date.now() / 1000);\n\t passphrase = passwordOrToken.token;\n\t }\n\t\n\t return {\n\t type: _api.CALL_API,\n\t payload: {\n\t endpoint: endpoint,\n\t dispatch: [loginUserRequest, function (jsonData) {\n\t return function (dispatch) {\n\t if (!jsonData.auth || !jsonData.sessionExpire) {\n\t // On success, check that we are actually authenticated\n\t return dispatch(loginUserFailure(new _i18n.i18nRecord({ id: \"app.api.error\", values: {} })));\n\t }\n\t // Get token from the API\n\t var token = {\n\t token: jsonData.auth,\n\t expires: new Date(jsonData.sessionExpire)\n\t };\n\t // Handle session keep alive timer\n\t var timerID = setInterval(function () {\n\t return dispatch(loginKeepAlive(username, token.token, endpoint));\n\t }, DEFAULT_SESSION_INTERVAL);\n\t if (rememberMe) {\n\t // Handle remember me option\n\t var cookiesOption = { expires: token.expires };\n\t _jsCookie2.default.set(\"username\", username, cookiesOption);\n\t _jsCookie2.default.set(\"token\", token, cookiesOption);\n\t _jsCookie2.default.set(\"endpoint\", endpoint, cookiesOption);\n\t }\n\t // Dispatch login success\n\t dispatch(loginUserSuccess(username, token, endpoint, rememberMe, timerID));\n\t // Redirect\n\t dispatch((0, _reactRouterRedux.push)(redirect));\n\t };\n\t }, loginUserFailure],\n\t action: \"handshake\",\n\t auth: passphrase,\n\t username: username,\n\t extraParams: { timestamp: time }\n\t }\n\t };\n\t}\n\n/***/ },\n/* 210 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.invalidateStore = invalidateStore;\n\t/**\n\t * These actions are actions acting directly on all the available stores.\n\t */\n\t\n\t/** Define an action to invalidate all the stores, e.g. in case of logout. */\n\tvar INVALIDATE_STORE = exports.INVALIDATE_STORE = \"INVALIDATE_STORE\";\n\tfunction invalidateStore() {\n\t return {\n\t type: INVALIDATE_STORE\n\t };\n\t}\n\n/***/ },\n/* 211 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AlbumRow = exports.AlbumTracksTable = exports.AlbumTrackRow = undefined;\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(47);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _immutable = __webpack_require__(12);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _common = __webpack_require__(65);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Album = __webpack_require__(601);\n\t\n\tvar _Album2 = _interopRequireDefault(_Album);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM import\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Set translations\n\tvar albumMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default)));\n\t\n\t/**\n\t * Track row in an album tracks table.\n\t */\n\t\n\tvar AlbumTrackRowCSSIntl = function (_Component) {\n\t _inherits(AlbumTrackRowCSSIntl, _Component);\n\t\n\t function AlbumTrackRowCSSIntl(props) {\n\t _classCallCheck(this, AlbumTrackRowCSSIntl);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumTrackRowCSSIntl).call(this, props));\n\t\n\t _this.onPlayClick = _this.onPlayClick.bind(_this);\n\t _this.onPlayNextClick = _this.onPlayNextClick.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Handle click on play button.\n\t */\n\t\n\t\n\t _createClass(AlbumTrackRowCSSIntl, [{\n\t key: \"onPlayClick\",\n\t value: function onPlayClick() {\n\t $(this.refs.play).blur();\n\t this.props.playAction(this.props.track.get(\"id\"));\n\t }\n\t\n\t /**\n\t * Handle click on play next button.\n\t */\n\t\n\t }, {\n\t key: \"onPlayNextClick\",\n\t value: function onPlayNextClick() {\n\t $(this.refs.playNext).blur();\n\t this.props.playNextAction(this.props.track.get(\"id\"));\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t var length = (0, _utils.formatLength)(this.props.track.get(\"time\"));\n\t return _react2.default.createElement(\n\t \"tr\",\n\t null,\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"play\", title: formatMessage(albumMessages[\"app.common.play\"]), onClick: this.onPlayClick },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, albumMessages[\"app.common.play\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"play-circle-o\", \"aria-hidden\": \"true\" })\n\t ),\n\t \" \",\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"playNext\", title: formatMessage(albumMessages[\"app.common.playNext\"]), onClick: this.onPlayNextClick, ref: \"playNext\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, albumMessages[\"app.common.playNext\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"plus-circle\", \"aria-hidden\": \"true\" })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t this.props.track.get(\"track\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t this.props.track.get(\"name\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t length\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumTrackRowCSSIntl;\n\t}(_react.Component);\n\t\n\tAlbumTrackRowCSSIntl.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t track: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar AlbumTrackRow = exports.AlbumTrackRow = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(AlbumTrackRowCSSIntl, _Album2.default));\n\t\n\t/**\n\t * Tracks table of an album.\n\t */\n\t\n\tvar AlbumTracksTableCSS = function (_Component2) {\n\t _inherits(AlbumTracksTableCSS, _Component2);\n\t\n\t function AlbumTracksTableCSS() {\n\t _classCallCheck(this, AlbumTracksTableCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumTracksTableCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(AlbumTracksTableCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t var rows = [];\n\t // Build rows for each track\n\t var _props = this.props;\n\t var playAction = _props.playAction;\n\t var playNextAction = _props.playNextAction;\n\t\n\t this.props.tracks.forEach(function (item) {\n\t rows.push(_react2.default.createElement(AlbumTrackRow, { playAction: playAction, playNextAction: playNextAction, track: item, key: item.get(\"id\") }));\n\t });\n\t return _react2.default.createElement(\n\t \"table\",\n\t { className: \"table table-hover\", styleName: \"songs\" },\n\t _react2.default.createElement(\n\t \"tbody\",\n\t null,\n\t rows\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumTracksTableCSS;\n\t}(_react.Component);\n\t\n\tAlbumTracksTableCSS.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t tracks: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired\n\t};\n\tvar AlbumTracksTable = exports.AlbumTracksTable = (0, _reactCssModules2.default)(AlbumTracksTableCSS, _Album2.default);\n\t\n\t/**\n\t * An entire album row containing art and tracks table.\n\t */\n\t\n\tvar AlbumRowCSS = function (_Component3) {\n\t _inherits(AlbumRowCSS, _Component3);\n\t\n\t function AlbumRowCSS() {\n\t _classCallCheck(this, AlbumRowCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumRowCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(AlbumRowCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\", styleName: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-sm-offset-2 col-xs-9 col-sm-10\", styleName: \"nameRow\" },\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t this.props.album.get(\"name\")\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-3 col-sm-2\", styleName: \"artRow\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\"img\", { src: this.props.album.get(\"art\"), width: \"200\", height: \"200\", className: \"img-responsive img-circle\", styleName: \"art\", alt: this.props.album.get(\"name\") })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-9 col-sm-10 table-responsive\" },\n\t this.props.songs.size > 0 ? _react2.default.createElement(AlbumTracksTable, { playAction: this.props.playAction, playNextAction: this.props.playNextAction, tracks: this.props.songs }) : null\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumRowCSS;\n\t}(_react.Component);\n\t\n\tAlbumRowCSS.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t album: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired\n\t};\n\tvar AlbumRow = exports.AlbumRow = (0, _reactCssModules2.default)(AlbumRowCSS, _Album2.default);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 212 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.SongsTable = exports.SongsTableRow = undefined;\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRouter = __webpack_require__(53);\n\t\n\tvar _reactCssModules = __webpack_require__(47);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _immutable = __webpack_require__(12);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _fuse = __webpack_require__(249);\n\t\n\tvar _fuse2 = _interopRequireDefault(_fuse);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _DismissibleAlert = __webpack_require__(104);\n\t\n\tvar _DismissibleAlert2 = _interopRequireDefault(_DismissibleAlert);\n\t\n\tvar _FilterBar = __webpack_require__(213);\n\t\n\tvar _FilterBar2 = _interopRequireDefault(_FilterBar);\n\t\n\tvar _Pagination = __webpack_require__(215);\n\t\n\tvar _Pagination2 = _interopRequireDefault(_Pagination);\n\t\n\tvar _common = __webpack_require__(65);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Songs = __webpack_require__(352);\n\t\n\tvar _Songs2 = _interopRequireDefault(_Songs);\n\t\n\tvar _Songs3 = __webpack_require__(605);\n\t\n\tvar _Songs4 = _interopRequireDefault(_Songs3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar songsMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _Songs2.default)));\n\t\n\t/**\n\t * A single row for a single song in the songs table.\n\t */\n\t\n\tvar SongsTableRowCSSIntl = function (_Component) {\n\t _inherits(SongsTableRowCSSIntl, _Component);\n\t\n\t function SongsTableRowCSSIntl(props) {\n\t _classCallCheck(this, SongsTableRowCSSIntl);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(SongsTableRowCSSIntl).call(this, props));\n\t\n\t _this.onPlayClick = _this.onPlayClick.bind(_this);\n\t _this.onPlayNextClick = _this.onPlayNextClick.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Handle click on play button.\n\t */\n\t\n\t\n\t _createClass(SongsTableRowCSSIntl, [{\n\t key: \"onPlayClick\",\n\t value: function onPlayClick() {\n\t $(this.refs.play).blur();\n\t this.props.playAction(this.props.song.get(\"id\"));\n\t }\n\t\n\t /**\n\t * Handle click on play next button.\n\t */\n\t\n\t }, {\n\t key: \"onPlayNextClick\",\n\t value: function onPlayNextClick() {\n\t $(this.refs.playNext).blur();\n\t this.props.playNextAction(this.props.song.get(\"id\"));\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var length = (0, _utils.formatLength)(this.props.song.get(\"time\"));\n\t var linkToArtist = \"/artist/\" + this.props.song.getIn([\"artist\", \"id\"]);\n\t var linkToAlbum = \"/album/\" + this.props.song.getIn([\"album\", \"id\"]);\n\t\n\t return _react2.default.createElement(\n\t \"tr\",\n\t null,\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"play\", title: formatMessage(songsMessages[\"app.common.play\"]), onClick: this.onPlayClick, ref: \"play\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.common.play\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"play-circle-o\", \"aria-hidden\": \"true\" })\n\t ),\n\t \" \",\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"playNext\", title: formatMessage(songsMessages[\"app.common.playNext\"]), onClick: this.onPlayNextClick, ref: \"playNext\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.common.playNext\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"plus-circle\", \"aria-hidden\": \"true\" })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t { className: \"title\" },\n\t this.props.song.get(\"name\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t { className: \"artist\" },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: linkToArtist },\n\t this.props.song.getIn([\"artist\", \"name\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t { className: \"album\" },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: linkToAlbum },\n\t this.props.song.getIn([\"album\", \"name\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t { className: \"genre\" },\n\t this.props.song.get(\"genre\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t { className: \"length\" },\n\t length\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return SongsTableRowCSSIntl;\n\t}(_react.Component);\n\t\n\tSongsTableRowCSSIntl.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t song: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar SongsTableRow = exports.SongsTableRow = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(SongsTableRowCSSIntl, _Songs4.default));\n\t\n\t/**\n\t * The songs table.\n\t */\n\t\n\tvar SongsTableCSS = function (_Component2) {\n\t _inherits(SongsTableCSS, _Component2);\n\t\n\t function SongsTableCSS() {\n\t _classCallCheck(this, SongsTableCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SongsTableCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(SongsTableCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t // Handle filtering\n\t var displayedSongs = this.props.songs;\n\t if (this.props.filterText) {\n\t // Use Fuse for the filter\n\t displayedSongs = new _fuse2.default(this.props.songs.toJS(), {\n\t \"keys\": [\"name\"],\n\t \"threshold\": 0.4,\n\t \"include\": [\"score\"]\n\t }).search(this.props.filterText);\n\t // Keep only items in results\n\t displayedSongs = displayedSongs.map(function (item) {\n\t return new _immutable2.default.Map(item.item);\n\t });\n\t }\n\t\n\t // Build song rows\n\t var rows = [];\n\t var _props = this.props;\n\t var playAction = _props.playAction;\n\t var playNextAction = _props.playNextAction;\n\t\n\t displayedSongs.forEach(function (song) {\n\t rows.push(_react2.default.createElement(SongsTableRow, { playAction: playAction, playNextAction: playNextAction, song: song, key: song.get(\"id\") }));\n\t });\n\t\n\t // Handle login icon\n\t var loading = null;\n\t if (this.props.isFetching) {\n\t loading = _react2.default.createElement(\n\t \"p\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"spinner\", className: \"fa-pulse fa-3x fa-fw\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.common.loading\"])\n\t )\n\t );\n\t }\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"table-responsive\" },\n\t _react2.default.createElement(\n\t \"table\",\n\t { className: \"table table-hover\", styleName: \"songs\" },\n\t _react2.default.createElement(\n\t \"thead\",\n\t null,\n\t _react2.default.createElement(\n\t \"tr\",\n\t null,\n\t _react2.default.createElement(\"th\", null),\n\t _react2.default.createElement(\n\t \"th\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.songs.title\"])\n\t ),\n\t _react2.default.createElement(\n\t \"th\",\n\t { className: \"text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, songsMessages[\"app.common.artist\"], { values: { itemCount: 1 } }))\n\t ),\n\t _react2.default.createElement(\n\t \"th\",\n\t { className: \"text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, songsMessages[\"app.common.album\"], { values: { itemCount: 1 } }))\n\t ),\n\t _react2.default.createElement(\n\t \"th\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.songs.genre\"])\n\t ),\n\t _react2.default.createElement(\n\t \"th\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, songsMessages[\"app.songs.length\"])\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"tbody\",\n\t null,\n\t rows\n\t )\n\t ),\n\t loading\n\t );\n\t }\n\t }]);\n\t\n\t return SongsTableCSS;\n\t}(_react.Component);\n\t\n\tSongsTableCSS.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t filterText: _react.PropTypes.string\n\t};\n\tvar SongsTable = exports.SongsTable = (0, _reactCssModules2.default)(SongsTableCSS, _Songs4.default);\n\t\n\t/**\n\t * Complete songs table view with filter and pagination\n\t */\n\t\n\tvar FilterablePaginatedSongsTable = function (_Component3) {\n\t _inherits(FilterablePaginatedSongsTable, _Component3);\n\t\n\t function FilterablePaginatedSongsTable(props) {\n\t _classCallCheck(this, FilterablePaginatedSongsTable);\n\t\n\t var _this3 = _possibleConstructorReturn(this, Object.getPrototypeOf(FilterablePaginatedSongsTable).call(this, props));\n\t\n\t _this3.state = {\n\t filterText: \"\" };\n\t\n\t _this3.handleUserInput = _this3.handleUserInput.bind(_this3); // Bind this on user input handling\n\t return _this3;\n\t }\n\t\n\t /**\n\t * Method called whenever the filter input is changed.\n\t *\n\t * Update the state accordingly.\n\t *\n\t * @param filterText Content of the filter input.\n\t */\n\t\n\t\n\t _createClass(FilterablePaginatedSongsTable, [{\n\t key: \"handleUserInput\",\n\t value: function handleUserInput(filterText) {\n\t this.setState({\n\t filterText: filterText\n\t });\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t // Handle error\n\t var error = null;\n\t if (this.props.error) {\n\t error = _react2.default.createElement(_DismissibleAlert2.default, { type: \"danger\", text: this.props.error });\n\t }\n\t\n\t // Set props\n\t var filterProps = {\n\t filterText: this.state.filterText,\n\t onUserInput: this.handleUserInput\n\t };\n\t var songsTableProps = {\n\t playAction: this.props.playAction,\n\t playNextAction: this.props.playNextAction,\n\t isFetching: this.props.isFetching,\n\t songs: this.props.songs,\n\t filterText: this.state.filterText\n\t };\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t error,\n\t _react2.default.createElement(_FilterBar2.default, filterProps),\n\t _react2.default.createElement(SongsTable, songsTableProps),\n\t _react2.default.createElement(_Pagination2.default, this.props.pagination)\n\t );\n\t }\n\t }]);\n\t\n\t return FilterablePaginatedSongsTable;\n\t}(_react.Component);\n\t\n\texports.default = FilterablePaginatedSongsTable;\n\t\n\tFilterablePaginatedSongsTable.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t isFetching: _react.PropTypes.bool.isRequired,\n\t error: _react.PropTypes.string,\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t pagination: _react.PropTypes.object.isRequired\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 213 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(47);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _FilterBar = __webpack_require__(353);\n\t\n\tvar _FilterBar2 = _interopRequireDefault(_FilterBar);\n\t\n\tvar _FilterBar3 = __webpack_require__(606);\n\t\n\tvar _FilterBar4 = _interopRequireDefault(_FilterBar3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar filterMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _FilterBar2.default)));\n\t\n\t/**\n\t * Filter bar element with input filter.\n\t */\n\t\n\tvar FilterBarCSSIntl = function (_Component) {\n\t _inherits(FilterBarCSSIntl, _Component);\n\t\n\t function FilterBarCSSIntl(props) {\n\t _classCallCheck(this, FilterBarCSSIntl);\n\t\n\t // Bind this on methods\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FilterBarCSSIntl).call(this, props));\n\t\n\t _this.handleChange = _this.handleChange.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Method to handle a change of filter input value.\n\t *\n\t * Calls the user input handler passed from parent component.\n\t *\n\t * @param e A JS event.\n\t */\n\t\n\t\n\t _createClass(FilterBarCSSIntl, [{\n\t key: \"handleChange\",\n\t value: function handleChange(e) {\n\t e.preventDefault();\n\t this.props.onUserInput(this.refs.filterTextInput.value);\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { styleName: \"filter\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"col-xs-12 col-sm-6 col-md-4 col-md-offset-1\", styleName: \"legend\", id: \"filterInputDescription\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, filterMessages[\"app.filter.whatAreWeListeningToToday\"])\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12 col-sm-6 col-md-4 input-group\" },\n\t _react2.default.createElement(\n\t \"form\",\n\t { className: \"form-inline\", onSubmit: this.handleChange, \"aria-describedby\": \"filterInputDescription\", role: \"search\", \"aria-label\": formatMessage(filterMessages[\"app.filter.filter\"]) },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\", styleName: \"form-group\" },\n\t _react2.default.createElement(\"input\", { type: \"search\", className: \"form-control\", placeholder: formatMessage(filterMessages[\"app.filter.filter\"]), \"aria-label\": formatMessage(filterMessages[\"app.filter.filter\"]), value: this.props.filterText, onChange: this.handleChange, ref: \"filterTextInput\" })\n\t )\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return FilterBarCSSIntl;\n\t}(_react.Component);\n\t\n\tFilterBarCSSIntl.propTypes = {\n\t onUserInput: _react.PropTypes.func,\n\t filterText: _react.PropTypes.string,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\texports.default = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(FilterBarCSSIntl, _FilterBar4.default));\n\n/***/ },\n/* 214 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.Grid = exports.GridItem = undefined;\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRouter = __webpack_require__(53);\n\t\n\tvar _reactCssModules = __webpack_require__(47);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _immutable = __webpack_require__(12);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _imagesloaded = __webpack_require__(637);\n\t\n\tvar _imagesloaded2 = _interopRequireDefault(_imagesloaded);\n\t\n\tvar _isotopeLayout = __webpack_require__(655);\n\t\n\tvar _isotopeLayout2 = _interopRequireDefault(_isotopeLayout);\n\t\n\tvar _fuse = __webpack_require__(249);\n\t\n\tvar _fuse2 = _interopRequireDefault(_fuse);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(756);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _FilterBar = __webpack_require__(213);\n\t\n\tvar _FilterBar2 = _interopRequireDefault(_FilterBar);\n\t\n\tvar _Pagination = __webpack_require__(215);\n\t\n\tvar _Pagination2 = _interopRequireDefault(_Pagination);\n\t\n\tvar _common = __webpack_require__(65);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _grid = __webpack_require__(356);\n\t\n\tvar _grid2 = _interopRequireDefault(_grid);\n\t\n\tvar _Grid = __webpack_require__(607);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar gridMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _grid2.default)));\n\t\n\t// Constants\n\tvar ISOTOPE_OPTIONS = { /** Default options for Isotope grid layout. */\n\t getSortData: {\n\t name: \".name\",\n\t nSubitems: \".sub-items .n-sub-items\"\n\t },\n\t transitionDuration: 0,\n\t sortBy: \"name\",\n\t itemSelector: \".grid-item\",\n\t percentPosition: true,\n\t layoutMode: \"fitRows\",\n\t filter: \"*\",\n\t fitRows: {\n\t gutter: 0\n\t }\n\t};\n\t\n\t/**\n\t * A single item in the grid, art + text under the art.\n\t */\n\t\n\tvar GridItemCSSIntl = function (_Component) {\n\t _inherits(GridItemCSSIntl, _Component);\n\t\n\t function GridItemCSSIntl() {\n\t _classCallCheck(this, GridItemCSSIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(GridItemCSSIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(GridItemCSSIntl, [{\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t // Get number of sub-items\n\t\n\t var nSubItems = this.props.item.get(this.props.subItemsType);\n\t if (_immutable2.default.List.isList(nSubItems)) {\n\t nSubItems = nSubItems.size;\n\t }\n\t\n\t // Define correct sub-items label (plural)\n\t var subItemsLabel = formatMessage(gridMessages[this.props.subItemsLabel], { itemCount: nSubItems });\n\t\n\t var to = \"/\" + this.props.itemsType + \"/\" + this.props.item.get(\"id\");\n\t if (this.props.buildLinkTo) {\n\t to = this.props.buildLinkTo(this.props.itemsType, this.props.item);\n\t }\n\t var id = \"grid-item-\" + this.props.itemsType + \"/\" + this.props.item.get(\"id\");\n\t var title = formatMessage(gridMessages[\"app.grid.goTo\" + this.props.itemsType.capitalize() + \"Page\"]);\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"grid-item col-xs-6 col-sm-3\", styleName: \"placeholders\", id: id },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"grid-item-content text-center\" },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { title: title, to: to },\n\t _react2.default.createElement(\"img\", { src: this.props.item.get(\"art\"), width: \"200\", height: \"200\", className: \"img-responsive img-circle art\", styleName: \"art\", alt: this.props.item.get(\"name\") })\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t { className: \"name\", styleName: \"name\" },\n\t this.props.item.get(\"name\")\n\t ),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sub-items text-muted\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"n-sub-items\" },\n\t nSubItems\n\t ),\n\t \" \",\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sub-items-type\" },\n\t subItemsLabel\n\t )\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return GridItemCSSIntl;\n\t}(_react.Component);\n\t\n\tGridItemCSSIntl.propTypes = {\n\t item: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t itemsType: _react.PropTypes.string.isRequired,\n\t itemsLabel: _react.PropTypes.string.isRequired,\n\t subItemsType: _react.PropTypes.string.isRequired,\n\t subItemsLabel: _react.PropTypes.string.isRequired,\n\t buildLinkTo: _react.PropTypes.func,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar GridItem = exports.GridItem = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(GridItemCSSIntl, _Grid2.default));\n\t\n\t/**\n\t * A grid, formatted using Isotope.JS\n\t */\n\t\n\tvar Grid = exports.Grid = function (_Component2) {\n\t _inherits(Grid, _Component2);\n\t\n\t function Grid(props) {\n\t _classCallCheck(this, Grid);\n\t\n\t // Init grid data member\n\t var _this2 = _possibleConstructorReturn(this, Object.getPrototypeOf(Grid).call(this, props));\n\t\n\t _this2.iso = null;\n\t\n\t // Bind this\n\t _this2.createIsotopeContainer = _this2.createIsotopeContainer.bind(_this2);\n\t _this2.handleFiltering = _this2.handleFiltering.bind(_this2);\n\t return _this2;\n\t }\n\t\n\t /**\n\t * Create an isotope container if none already exist.\n\t */\n\t\n\t\n\t _createClass(Grid, [{\n\t key: \"createIsotopeContainer\",\n\t value: function createIsotopeContainer() {\n\t if (this.iso == null) {\n\t this.iso = new _isotopeLayout2.default(this.refs.grid, ISOTOPE_OPTIONS);\n\t }\n\t }\n\t\n\t /**\n\t * Handle filtering on the grid.\n\t */\n\t\n\t }, {\n\t key: \"handleFiltering\",\n\t value: function handleFiltering(props) {\n\t // If no query provided, drop any filter in use\n\t if (props.filterText == \"\") {\n\t return this.iso.arrange(ISOTOPE_OPTIONS);\n\t }\n\t\n\t // Use Fuse for the filter\n\t var result = new _fuse2.default(props.items.toJS(), {\n\t \"keys\": [\"name\"],\n\t \"threshold\": 0.4,\n\t \"include\": [\"score\"]\n\t }).search(props.filterText);\n\t\n\t // Apply filter on grid\n\t this.iso.arrange({\n\t filter: function filter(item) {\n\t var name = $(item).find(\".name\").text();\n\t return result.find(function (i) {\n\t return i.item.name == name;\n\t });\n\t },\n\t transitionDuration: \"0.4s\",\n\t getSortData: {\n\t relevance: function relevance(item) {\n\t var name = $(item).find(\".name\").text();\n\t return result.reduce(function (p, c) {\n\t if (c.item.name == name) {\n\t return c.score + p;\n\t }\n\t return p;\n\t }, 0);\n\t }\n\t },\n\t sortBy: \"relevance\"\n\t });\n\t this.iso.updateSortData();\n\t this.iso.arrange();\n\t }\n\t }, {\n\t key: \"shouldComponentUpdate\",\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t // Shallow comparison, render is pure\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t // Handle filtering if filterText is changed\n\t if (nextProps.filterText !== this.props.filterText) {\n\t this.handleFiltering(nextProps);\n\t }\n\t }\n\t }, {\n\t key: \"componentDidMount\",\n\t value: function componentDidMount() {\n\t // Setup grid\n\t this.createIsotopeContainer();\n\t // Only arrange if there are elements to arrange\n\t if (this.props.items.size > 0) {\n\t this.iso.arrange();\n\t }\n\t }\n\t }, {\n\t key: \"componentDidUpdate\",\n\t value: function componentDidUpdate(prevProps) {\n\t // The list of keys seen in the previous render\n\t var currentKeys = prevProps.items.map(function (n) {\n\t return \"grid-item-\" + prevProps.itemsType + \"/\" + n.get(\"id\");\n\t });\n\t\n\t // The latest list of keys that have been rendered\n\t var itemsType = this.props.itemsType;\n\t\n\t var newKeys = this.props.items.map(function (n) {\n\t return \"grid-item-\" + itemsType + \"/\" + n.get(\"id\");\n\t });\n\t\n\t // Find which keys are new between the current set of keys and any new\n\t // children passed to this component\n\t var addKeys = (0, _utils.immutableDiff)(newKeys, currentKeys);\n\t\n\t // Find which keys have been removed between the current set of keys\n\t // and any new children passed to this component\n\t var removeKeys = (0, _utils.immutableDiff)(currentKeys, newKeys);\n\t\n\t var iso = this.iso;\n\t // Remove removed items\n\t if (removeKeys.size > 0) {\n\t removeKeys.forEach(function (removeKey) {\n\t return iso.remove(document.getElementById(removeKey));\n\t });\n\t iso.arrange();\n\t }\n\t // Add new items\n\t if (addKeys.size > 0) {\n\t var itemsToAdd = addKeys.map(function (addKey) {\n\t return document.getElementById(addKey);\n\t }).toArray();\n\t iso.addItems(itemsToAdd);\n\t iso.arrange();\n\t }\n\t\n\t // Layout again after images are loaded\n\t (0, _imagesloaded2.default)(this.refs.grid).on(\"progress\", function () {\n\t // Layout after each image load, fix for responsive grid\n\t if (!iso) {\n\t // Grid could have been destroyed in the meantime\n\t return;\n\t }\n\t iso.layout();\n\t });\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t // Handle loading\n\t var loading = null;\n\t if (this.props.isFetching) {\n\t loading = _react2.default.createElement(\n\t \"div\",\n\t { className: \"row text-center\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"spinner\", className: \"fa-pulse fa-3x fa-fw\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, gridMessages[\"app.common.loading\"])\n\t )\n\t )\n\t );\n\t }\n\t\n\t // Build grid items\n\t var gridItems = [];\n\t var _props = this.props;\n\t var itemsType = _props.itemsType;\n\t var itemsLabel = _props.itemsLabel;\n\t var subItemsType = _props.subItemsType;\n\t var subItemsLabel = _props.subItemsLabel;\n\t var buildLinkTo = _props.buildLinkTo;\n\t\n\t this.props.items.forEach(function (item) {\n\t gridItems.push(_react2.default.createElement(GridItem, { item: item, itemsType: itemsType, itemsLabel: itemsLabel, subItemsType: subItemsType, subItemsLabel: subItemsLabel, buildLinkTo: buildLinkTo, key: item.get(\"id\") }));\n\t });\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"grid\", ref: \"grid\" },\n\t _react2.default.createElement(\"div\", { className: \"grid-sizer col-xs-6 col-sm-3\" }),\n\t gridItems\n\t )\n\t ),\n\t loading\n\t );\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component);\n\t\n\tGrid.propTypes = {\n\t isFetching: _react.PropTypes.bool.isRequired,\n\t items: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t itemsType: _react.PropTypes.string.isRequired,\n\t itemsLabel: _react.PropTypes.string.isRequired,\n\t subItemsType: _react.PropTypes.string.isRequired,\n\t subItemsLabel: _react.PropTypes.string.isRequired,\n\t buildLinkTo: _react.PropTypes.func,\n\t filterText: _react.PropTypes.string\n\t};\n\t\n\t/**\n\t * Full grid with pagination and filtering input.\n\t */\n\t\n\tvar FilterablePaginatedGrid = function (_Component3) {\n\t _inherits(FilterablePaginatedGrid, _Component3);\n\t\n\t function FilterablePaginatedGrid(props) {\n\t _classCallCheck(this, FilterablePaginatedGrid);\n\t\n\t var _this3 = _possibleConstructorReturn(this, Object.getPrototypeOf(FilterablePaginatedGrid).call(this, props));\n\t\n\t _this3.state = {\n\t filterText: \"\" };\n\t\n\t // Bind this\n\t _this3.handleUserInput = _this3.handleUserInput.bind(_this3);\n\t return _this3;\n\t }\n\t\n\t /**\n\t * Method called whenever the filter input is changed.\n\t *\n\t * Update the state accordingly.\n\t *\n\t * @param filterText Content of the filter input.\n\t */\n\t\n\t\n\t _createClass(FilterablePaginatedGrid, [{\n\t key: \"handleUserInput\",\n\t value: function handleUserInput(filterText) {\n\t this.setState({\n\t filterText: filterText\n\t });\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(_FilterBar2.default, { filterText: this.state.filterText, onUserInput: this.handleUserInput }),\n\t _react2.default.createElement(Grid, _extends({ filterText: this.state.filterText }, this.props.grid)),\n\t _react2.default.createElement(_Pagination2.default, this.props.pagination)\n\t );\n\t }\n\t }]);\n\t\n\t return FilterablePaginatedGrid;\n\t}(_react.Component);\n\t\n\texports.default = FilterablePaginatedGrid;\n\t\n\t\n\tFilterablePaginatedGrid.propTypes = {\n\t grid: _react.PropTypes.object.isRequired,\n\t pagination: _react.PropTypes.object.isRequired\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 215 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRouter = __webpack_require__(53);\n\t\n\tvar _reactCssModules = __webpack_require__(47);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(23);\n\t\n\tvar _utils = __webpack_require__(15);\n\t\n\tvar _common = __webpack_require__(65);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Pagination = __webpack_require__(354);\n\t\n\tvar _Pagination2 = _interopRequireDefault(_Pagination);\n\t\n\tvar _Pagination3 = __webpack_require__(608);\n\t\n\tvar _Pagination4 = _interopRequireDefault(_Pagination3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar paginationMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _Pagination2.default)));\n\t\n\t/**\n\t * Pagination button bar\n\t */\n\t\n\tvar PaginationCSSIntl = function (_Component) {\n\t _inherits(PaginationCSSIntl, _Component);\n\t\n\t function PaginationCSSIntl(props) {\n\t _classCallCheck(this, PaginationCSSIntl);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(PaginationCSSIntl).call(this, props));\n\t\n\t _this.goToPage = _this.goToPage.bind(_this);\n\t _this.dotsOnClick = _this.dotsOnClick.bind(_this);\n\t _this.dotsOnKeyDown = _this.dotsOnKeyDown.bind(_this);\n\t _this.cancelModalBox = _this.cancelModalBox.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Handle click on the \"go to page\" button in the modal.\n\t */\n\t\n\t\n\t _createClass(PaginationCSSIntl, [{\n\t key: \"goToPage\",\n\t value: function goToPage(e) {\n\t e.preventDefault();\n\t\n\t // Parse and check page number\n\t var pageNumber = (0, _utils.filterInt)(this.refs.pageInput.value);\n\t if (pageNumber && !isNaN(pageNumber) && pageNumber > 0 && pageNumber <= this.props.nPages) {\n\t // Remove error class from input form\n\t this.refs.pageFormGroup.classList.remove(\"has-error\");\n\t this.refs.pageFormGroup.classList.add(\"has-success\");\n\t // Hide the modal and go to page\n\t $(this.refs.paginationModal).modal(\"hide\");\n\t this.props.goToPage(pageNumber);\n\t } else {\n\t // Set error class on input form\n\t this.refs.pageFormGroup.classList.add(\"has-error\");\n\t this.refs.pageFormGroup.classList.remove(\"has-success\");\n\t return;\n\t }\n\t }\n\t\n\t /**\n\t * Handle click on the ellipsis dots.\n\t */\n\t\n\t }, {\n\t key: \"dotsOnClick\",\n\t value: function dotsOnClick() {\n\t // Show modal\n\t $(this.refs.paginationModal).modal();\n\t }\n\t\n\t /**\n\t * Bind key down events on ellipsis dots for a11y.\n\t */\n\t\n\t }, {\n\t key: \"dotsOnKeyDown\",\n\t value: function dotsOnKeyDown(e) {\n\t e.preventDefault;\n\t var code = e.keyCode || e.which;\n\t if (code == 13 || code == 32) {\n\t // Enter or Space key\n\t this.dotsOnClick(); // Fire same event as onClick\n\t }\n\t }\n\t\n\t /**\n\t * Handle click on \"cancel\" in the modal box.\n\t */\n\t\n\t }, {\n\t key: \"cancelModalBox\",\n\t value: function cancelModalBox() {\n\t // Hide modal\n\t $(this.refs.paginationModal).modal(\"hide\");\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t // Get bounds\n\t\n\t var _computePaginationBou = (0, _utils.computePaginationBounds)(this.props.currentPage, this.props.nPages);\n\t\n\t var lowerLimit = _computePaginationBou.lowerLimit;\n\t var upperLimit = _computePaginationBou.upperLimit;\n\t // Store buttons\n\t\n\t var pagesButton = [];\n\t var key = 0; // key increment to ensure correct ordering\n\t\n\t // If lower limit is above 1, push 1 and ellipsis\n\t if (lowerLimit > 1) {\n\t pagesButton.push(_react2.default.createElement(\n\t \"li\",\n\t { className: \"page-item\", key: key },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { className: \"page-link\", title: formatMessage(paginationMessages[\"app.pagination.goToPageWithoutMarkup\"], { pageNumber: 1 }), to: this.props.buildLinkToPage(1) },\n\t _react2.default.createElement(_reactIntl.FormattedHTMLMessage, _extends({}, paginationMessages[\"app.pagination.goToPage\"], { values: { pageNumber: 1 } }))\n\t )\n\t ));\n\t key++; // Always increment key after a push\n\t if (lowerLimit > 2) {\n\t // Eventually push \"…\"\n\t pagesButton.push(_react2.default.createElement(\n\t \"li\",\n\t { className: \"page-item\", key: key },\n\t _react2.default.createElement(\n\t \"span\",\n\t { tabIndex: \"0\", role: \"button\", onKeyDown: this.dotsOnKeyDown, onClick: this.dotsOnClick },\n\t \"…\"\n\t )\n\t ));\n\t key++;\n\t }\n\t }\n\t // Main buttons, between lower and upper limits\n\t for (var i = lowerLimit; i < upperLimit; i++) {\n\t var classNames = [\"page-item\"];\n\t var currentSpan = null;\n\t if (this.props.currentPage == i) {\n\t classNames.push(\"active\");\n\t currentSpan = _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t \"(\",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, paginationMessages[\"app.pagination.current\"]),\n\t \")\"\n\t );\n\t }\n\t var title = formatMessage(paginationMessages[\"app.pagination.goToPageWithoutMarkup\"], { pageNumber: i });\n\t pagesButton.push(_react2.default.createElement(\n\t \"li\",\n\t { className: classNames.join(\" \"), key: key },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { className: \"page-link\", title: title, to: this.props.buildLinkToPage(i) },\n\t _react2.default.createElement(_reactIntl.FormattedHTMLMessage, _extends({}, paginationMessages[\"app.pagination.goToPage\"], { values: { pageNumber: i } })),\n\t currentSpan\n\t )\n\t ));\n\t key++;\n\t }\n\t // If upper limit is below the total number of page, show last page button\n\t if (upperLimit < this.props.nPages) {\n\t if (upperLimit < this.props.nPages - 1) {\n\t // Eventually push \"…\"\n\t pagesButton.push(_react2.default.createElement(\n\t \"li\",\n\t { className: \"page-item\", key: key },\n\t _react2.default.createElement(\n\t \"span\",\n\t { tabIndex: \"0\", role: \"button\", onKeyDown: this.dotsOnKeyDown, onClick: this.dotsOnClick },\n\t \"…\"\n\t )\n\t ));\n\t key++;\n\t }\n\t var _title = formatMessage(paginationMessages[\"app.pagination.goToPageWithoutMarkup\"], { pageNumber: this.props.nPages });\n\t // Push last page\n\t pagesButton.push(_react2.default.createElement(\n\t \"li\",\n\t { className: \"page-item\", key: key },\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { className: \"page-link\", title: _title, to: this.props.buildLinkToPage(this.props.nPages) },\n\t _react2.default.createElement(_reactIntl.FormattedHTMLMessage, _extends({}, paginationMessages[\"app.pagination.goToPage\"], { values: { pageNumber: this.props.nPages } }))\n\t )\n\t ));\n\t }\n\t\n\t // If there are actually some buttons, show them\n\t if (pagesButton.length > 1) {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"nav\",\n\t { className: \"pagination-nav\", styleName: \"nav\", \"aria-label\": formatMessage(paginationMessages[\"app.pagination.pageNavigation\"]), role: \"navigation\" },\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"pagination\", styleName: \"pointer\", role: \"group\" },\n\t pagesButton\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal fade\", ref: \"paginationModal\", tabIndex: \"-1\", role: \"dialog\", \"aria-labelledby\": \"paginationModalLabel\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal-dialog\", role: \"document\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal-content\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal-header\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"close\", \"data-dismiss\": \"modal\", \"aria-label\": formatMessage(paginationMessages[\"app.common.close\"]) },\n\t \"×\"\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t { className: \"modal-title\", id: \"paginationModalLabel\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, paginationMessages[\"app.pagination.pageToGoTo\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal-body\" },\n\t _react2.default.createElement(\n\t \"form\",\n\t { onSubmit: this.goToPage },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\", ref: \"pageFormGroup\" },\n\t _react2.default.createElement(\"input\", { className: \"form-control\", autoComplete: \"off\", type: \"number\", ref: \"pageInput\", \"aria-label\": formatMessage(paginationMessages[\"app.pagination.pageToGoTo\"]), min: \"1\", max: this.props.nPages, step: \"1\", defaultValue: this.props.currentPage, autoFocus: true })\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"modal-footer\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"btn btn-default\", onClick: this.cancelModalBox },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, paginationMessages[\"app.common.cancel\"])\n\t ),\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"btn btn-primary\", onClick: this.goToPage },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, paginationMessages[\"app.common.go\"])\n\t )\n\t )\n\t )\n\t )\n\t )\n\t );\n\t }\n\t return null;\n\t }\n\t }]);\n\t\n\t return PaginationCSSIntl;\n\t}(_react.Component);\n\t\n\tPaginationCSSIntl.propTypes = {\n\t currentPage: _react.PropTypes.number.isRequired,\n\t goToPage: _react.PropTypes.func.isRequired,\n\t buildLinkToPage: _react.PropTypes.func.isRequired,\n\t nPages: _react.PropTypes.number.isRequired,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\texports.default = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(PaginationCSSIntl, _Pagination4.default));\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 216 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar cof = __webpack_require__(36);\r\n\tmodule.exports = function(it, msg){\r\n\t if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);\r\n\t return +it;\r\n\t};\n\n/***/ },\n/* 217 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n\t'use strict';\n\tvar toObject = __webpack_require__(19)\n\t , toIndex = __webpack_require__(73)\n\t , toLength = __webpack_require__(18);\n\t\n\tmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n\t var O = toObject(this)\n\t , len = toLength(O.length)\n\t , to = toIndex(target, len)\n\t , from = toIndex(start, len)\n\t , end = arguments.length > 2 ? arguments[2] : undefined\n\t , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n\t , inc = 1;\n\t if(from < to && to < from + count){\n\t inc = -1;\n\t from += count - 1;\n\t to += count - 1;\n\t }\n\t while(count-- > 0){\n\t if(from in O)O[to] = O[from];\n\t else delete O[to];\n\t to += inc;\n\t from += inc;\n\t } return O;\n\t};\n\n/***/ },\n/* 218 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar forOf = __webpack_require__(82);\n\t\n\tmodule.exports = function(iter, ITERATOR){\n\t var result = [];\n\t forOf(iter, false, result.push, result, ITERATOR);\n\t return result;\n\t};\n\n\n/***/ },\n/* 219 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar aFunction = __webpack_require__(27)\r\n\t , toObject = __webpack_require__(19)\r\n\t , IObject = __webpack_require__(92)\r\n\t , toLength = __webpack_require__(18);\r\n\t\r\n\tmodule.exports = function(that, callbackfn, aLen, memo, isRight){\r\n\t aFunction(callbackfn);\r\n\t var O = toObject(that)\r\n\t , self = IObject(O)\r\n\t , length = toLength(O.length)\r\n\t , index = isRight ? length - 1 : 0\r\n\t , i = isRight ? -1 : 1;\r\n\t if(aLen < 2)for(;;){\r\n\t if(index in self){\r\n\t memo = self[index];\r\n\t index += i;\r\n\t break;\r\n\t }\r\n\t index += i;\r\n\t if(isRight ? index < 0 : length <= index){\r\n\t throw TypeError('Reduce of empty array with no initial value');\r\n\t }\r\n\t }\r\n\t for(;isRight ? index >= 0 : length > index; index += i)if(index in self){\r\n\t memo = callbackfn(memo, self[index], index, O);\r\n\t }\r\n\t return memo;\r\n\t};\n\n/***/ },\n/* 220 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar aFunction = __webpack_require__(27)\n\t , isObject = __webpack_require__(9)\n\t , invoke = __webpack_require__(109)\n\t , arraySlice = [].slice\n\t , factories = {};\n\t\n\tvar construct = function(F, len, args){\n\t if(!(len in factories)){\n\t for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n\t factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n\t } return factories[len](F, args);\n\t};\n\t\n\tmodule.exports = Function.bind || function bind(that /*, args... */){\n\t var fn = aFunction(this)\n\t , partArgs = arraySlice.call(arguments, 1);\n\t var bound = function(/* args... */){\n\t var args = partArgs.concat(arraySlice.call(arguments));\n\t return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n\t };\n\t if(isObject(fn.prototype))bound.prototype = fn.prototype;\n\t return bound;\n\t};\n\n/***/ },\n/* 221 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar dP = __webpack_require__(14).f\n\t , create = __webpack_require__(68)\n\t , hide = __webpack_require__(25)\n\t , redefineAll = __webpack_require__(71)\n\t , ctx = __webpack_require__(50)\n\t , anInstance = __webpack_require__(56)\n\t , defined = __webpack_require__(37)\n\t , forOf = __webpack_require__(82)\n\t , $iterDefine = __webpack_require__(154)\n\t , step = __webpack_require__(226)\n\t , setSpecies = __webpack_require__(72)\n\t , DESCRIPTORS = __webpack_require__(13)\n\t , fastKey = __webpack_require__(57).fastKey\n\t , SIZE = DESCRIPTORS ? '_s' : 'size';\n\t\n\tvar getEntry = function(that, key){\n\t // fast case\n\t var index = fastKey(key), entry;\n\t if(index !== 'F')return that._i[index];\n\t // frozen object case\n\t for(entry = that._f; entry; entry = entry.n){\n\t if(entry.k == key)return entry;\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n\t var C = wrapper(function(that, iterable){\n\t anInstance(that, C, NAME, '_i');\n\t that._i = create(null); // index\n\t that._f = undefined; // first entry\n\t that._l = undefined; // last entry\n\t that[SIZE] = 0; // size\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t });\n\t redefineAll(C.prototype, {\n\t // 23.1.3.1 Map.prototype.clear()\n\t // 23.2.3.2 Set.prototype.clear()\n\t clear: function clear(){\n\t for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n\t entry.r = true;\n\t if(entry.p)entry.p = entry.p.n = undefined;\n\t delete data[entry.i];\n\t }\n\t that._f = that._l = undefined;\n\t that[SIZE] = 0;\n\t },\n\t // 23.1.3.3 Map.prototype.delete(key)\n\t // 23.2.3.4 Set.prototype.delete(value)\n\t 'delete': function(key){\n\t var that = this\n\t , entry = getEntry(that, key);\n\t if(entry){\n\t var next = entry.n\n\t , prev = entry.p;\n\t delete that._i[entry.i];\n\t entry.r = true;\n\t if(prev)prev.n = next;\n\t if(next)next.p = prev;\n\t if(that._f == entry)that._f = next;\n\t if(that._l == entry)that._l = prev;\n\t that[SIZE]--;\n\t } return !!entry;\n\t },\n\t // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n\t // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n\t forEach: function forEach(callbackfn /*, that = undefined */){\n\t anInstance(this, C, 'forEach');\n\t var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n\t , entry;\n\t while(entry = entry ? entry.n : this._f){\n\t f(entry.v, entry.k, this);\n\t // revert to the last existing entry\n\t while(entry && entry.r)entry = entry.p;\n\t }\n\t },\n\t // 23.1.3.7 Map.prototype.has(key)\n\t // 23.2.3.7 Set.prototype.has(value)\n\t has: function has(key){\n\t return !!getEntry(this, key);\n\t }\n\t });\n\t if(DESCRIPTORS)dP(C.prototype, 'size', {\n\t get: function(){\n\t return defined(this[SIZE]);\n\t }\n\t });\n\t return C;\n\t },\n\t def: function(that, key, value){\n\t var entry = getEntry(that, key)\n\t , prev, index;\n\t // change existing entry\n\t if(entry){\n\t entry.v = value;\n\t // create new entry\n\t } else {\n\t that._l = entry = {\n\t i: index = fastKey(key, true), // <- index\n\t k: key, // <- key\n\t v: value, // <- value\n\t p: prev = that._l, // <- previous entry\n\t n: undefined, // <- next entry\n\t r: false // <- removed\n\t };\n\t if(!that._f)that._f = entry;\n\t if(prev)prev.n = entry;\n\t that[SIZE]++;\n\t // add to index\n\t if(index !== 'F')that._i[index] = entry;\n\t } return that;\n\t },\n\t getEntry: getEntry,\n\t setStrong: function(C, NAME, IS_MAP){\n\t // add .keys, .values, .entries, [@@iterator]\n\t // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n\t $iterDefine(C, NAME, function(iterated, kind){\n\t this._t = iterated; // target\n\t this._k = kind; // kind\n\t this._l = undefined; // previous\n\t }, function(){\n\t var that = this\n\t , kind = that._k\n\t , entry = that._l;\n\t // revert to the last existing entry\n\t while(entry && entry.r)entry = entry.p;\n\t // get next entry\n\t if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n\t // or finish the iteration\n\t that._t = undefined;\n\t return step(1);\n\t }\n\t // return step by kind\n\t if(kind == 'keys' )return step(0, entry.k);\n\t if(kind == 'values')return step(0, entry.v);\n\t return step(0, [entry.k, entry.v]);\n\t }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\t\n\t // add [@@species], 23.1.2.2, 23.2.2.2\n\t setSpecies(NAME);\n\t }\n\t};\n\n/***/ },\n/* 222 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/DavidBruant/Map-Set.prototype.toJSON\n\tvar classof = __webpack_require__(81)\n\t , from = __webpack_require__(218);\n\tmodule.exports = function(NAME){\n\t return function toJSON(){\n\t if(classof(this) != NAME)throw TypeError(NAME + \"#toJSON isn't generic\");\n\t return from(this);\n\t };\n\t};\n\n/***/ },\n/* 223 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar redefineAll = __webpack_require__(71)\n\t , getWeak = __webpack_require__(57).getWeak\n\t , anObject = __webpack_require__(4)\n\t , isObject = __webpack_require__(9)\n\t , anInstance = __webpack_require__(56)\n\t , forOf = __webpack_require__(82)\n\t , createArrayMethod = __webpack_require__(41)\n\t , $has = __webpack_require__(22)\n\t , arrayFind = createArrayMethod(5)\n\t , arrayFindIndex = createArrayMethod(6)\n\t , id = 0;\n\t\n\t// fallback for uncaught frozen keys\n\tvar uncaughtFrozenStore = function(that){\n\t return that._l || (that._l = new UncaughtFrozenStore);\n\t};\n\tvar UncaughtFrozenStore = function(){\n\t this.a = [];\n\t};\n\tvar findUncaughtFrozen = function(store, key){\n\t return arrayFind(store.a, function(it){\n\t return it[0] === key;\n\t });\n\t};\n\tUncaughtFrozenStore.prototype = {\n\t get: function(key){\n\t var entry = findUncaughtFrozen(this, key);\n\t if(entry)return entry[1];\n\t },\n\t has: function(key){\n\t return !!findUncaughtFrozen(this, key);\n\t },\n\t set: function(key, value){\n\t var entry = findUncaughtFrozen(this, key);\n\t if(entry)entry[1] = value;\n\t else this.a.push([key, value]);\n\t },\n\t 'delete': function(key){\n\t var index = arrayFindIndex(this.a, function(it){\n\t return it[0] === key;\n\t });\n\t if(~index)this.a.splice(index, 1);\n\t return !!~index;\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n\t var C = wrapper(function(that, iterable){\n\t anInstance(that, C, NAME, '_i');\n\t that._i = id++; // collection id\n\t that._l = undefined; // leak store for uncaught frozen objects\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t });\n\t redefineAll(C.prototype, {\n\t // 23.3.3.2 WeakMap.prototype.delete(key)\n\t // 23.4.3.3 WeakSet.prototype.delete(value)\n\t 'delete': function(key){\n\t if(!isObject(key))return false;\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this)['delete'](key);\n\t return data && $has(data, this._i) && delete data[this._i];\n\t },\n\t // 23.3.3.4 WeakMap.prototype.has(key)\n\t // 23.4.3.4 WeakSet.prototype.has(value)\n\t has: function has(key){\n\t if(!isObject(key))return false;\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this).has(key);\n\t return data && $has(data, this._i);\n\t }\n\t });\n\t return C;\n\t },\n\t def: function(that, key, value){\n\t var data = getWeak(anObject(key), true);\n\t if(data === true)uncaughtFrozenStore(that).set(key, value);\n\t else data[that._i] = value;\n\t return that;\n\t },\n\t ufstore: uncaughtFrozenStore\n\t};\n\n/***/ },\n/* 224 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = !__webpack_require__(13) && !__webpack_require__(8)(function(){\r\n\t return Object.defineProperty(__webpack_require__(145)('div'), 'a', {get: function(){ return 7; }}).a != 7;\r\n\t});\n\n/***/ },\n/* 225 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// call something on iterator step with safe closing on error\n\tvar anObject = __webpack_require__(4);\n\tmodule.exports = function(iterator, fn, value, entries){\n\t try {\n\t return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n\t // 7.4.6 IteratorClose(iterator, completion)\n\t } catch(e){\n\t var ret = iterator['return'];\n\t if(ret !== undefined)anObject(ret.call(iterator));\n\t throw e;\n\t }\n\t};\n\n/***/ },\n/* 226 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(done, value){\n\t return {value: value, done: !!done};\n\t};\n\n/***/ },\n/* 227 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.20 Math.log1p(x)\n\tmodule.exports = Math.log1p || function log1p(x){\n\t return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n\t};\n\n/***/ },\n/* 228 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 19.1.2.1 Object.assign(target, source, ...)\n\tvar getKeys = __webpack_require__(70)\n\t , gOPS = __webpack_require__(113)\n\t , pIE = __webpack_require__(93)\n\t , toObject = __webpack_require__(19)\n\t , IObject = __webpack_require__(92)\n\t , $assign = Object.assign;\n\t\n\t// should work with symbols and should have deterministic property order (V8 bug)\n\tmodule.exports = !$assign || __webpack_require__(8)(function(){\n\t var A = {}\n\t , B = {}\n\t , S = Symbol()\n\t , K = 'abcdefghijklmnopqrst';\n\t A[S] = 7;\n\t K.split('').forEach(function(k){ B[k] = k; });\n\t return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n\t}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n\t var T = toObject(target)\n\t , aLen = arguments.length\n\t , index = 1\n\t , getSymbols = gOPS.f\n\t , isEnum = pIE.f;\n\t while(aLen > index){\n\t var S = IObject(arguments[index++])\n\t , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n\t , length = keys.length\n\t , j = 0\n\t , key;\n\t while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n\t } return T;\n\t} : $assign;\n\n/***/ },\n/* 229 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(14)\r\n\t , anObject = __webpack_require__(4)\r\n\t , getKeys = __webpack_require__(70);\r\n\t\r\n\tmodule.exports = __webpack_require__(13) ? Object.defineProperties : function defineProperties(O, Properties){\r\n\t anObject(O);\r\n\t var keys = getKeys(Properties)\r\n\t , length = keys.length\r\n\t , i = 0\r\n\t , P;\r\n\t while(length > i)dP.f(O, P = keys[i++], Properties[P]);\r\n\t return O;\r\n\t};\n\n/***/ },\n/* 230 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\n\tvar toIObject = __webpack_require__(30)\n\t , gOPN = __webpack_require__(69).f\n\t , toString = {}.toString;\n\t\n\tvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n\t ? Object.getOwnPropertyNames(window) : [];\n\t\n\tvar getWindowNames = function(it){\n\t try {\n\t return gOPN(it);\n\t } catch(e){\n\t return windowNames.slice();\n\t }\n\t};\n\t\n\tmodule.exports.f = function getOwnPropertyNames(it){\n\t return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n\t};\n\n\n/***/ },\n/* 231 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar has = __webpack_require__(22)\r\n\t , toIObject = __webpack_require__(30)\r\n\t , arrayIndexOf = __webpack_require__(105)(false)\r\n\t , IE_PROTO = __webpack_require__(158)('IE_PROTO');\r\n\t\r\n\tmodule.exports = function(object, names){\r\n\t var O = toIObject(object)\r\n\t , i = 0\r\n\t , result = []\r\n\t , key;\r\n\t for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\r\n\t // Don't enum bug & hidden keys\r\n\t while(names.length > i)if(has(O, key = names[i++])){\r\n\t ~arrayIndexOf(result, key) || result.push(key);\r\n\t }\r\n\t return result;\r\n\t};\n\n/***/ },\n/* 232 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getKeys = __webpack_require__(70)\n\t , toIObject = __webpack_require__(30)\n\t , isEnum = __webpack_require__(93).f;\n\tmodule.exports = function(isEntries){\n\t return function(it){\n\t var O = toIObject(it)\n\t , keys = getKeys(O)\n\t , length = keys.length\n\t , i = 0\n\t , result = []\n\t , key;\n\t while(length > i)if(isEnum.call(O, key = keys[i++])){\n\t result.push(isEntries ? [key, O[key]] : O[key]);\n\t } return result;\n\t };\n\t};\n\n/***/ },\n/* 233 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// all object keys, includes non-enumerable and symbols\n\tvar gOPN = __webpack_require__(69)\n\t , gOPS = __webpack_require__(113)\n\t , anObject = __webpack_require__(4)\n\t , Reflect = __webpack_require__(7).Reflect;\n\tmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n\t var keys = gOPN.f(anObject(it))\n\t , getSymbols = gOPS.f;\n\t return getSymbols ? keys.concat(getSymbols(it)) : keys;\n\t};\n\n/***/ },\n/* 234 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $parseFloat = __webpack_require__(7).parseFloat\n\t , $trim = __webpack_require__(84).trim;\n\t\n\tmodule.exports = 1 / $parseFloat(__webpack_require__(163) + '-0') !== -Infinity ? function parseFloat(str){\n\t var string = $trim(String(str), 3)\n\t , result = $parseFloat(string);\n\t return result === 0 && string.charAt(0) == '-' ? -0 : result;\n\t} : $parseFloat;\n\n/***/ },\n/* 235 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $parseInt = __webpack_require__(7).parseInt\n\t , $trim = __webpack_require__(84).trim\n\t , ws = __webpack_require__(163)\n\t , hex = /^[\\-+]?0[xX]/;\n\t\n\tmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){\n\t var string = $trim(String(str), 3);\n\t return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n\t} : $parseInt;\n\n/***/ },\n/* 236 */\n/***/ function(module, exports) {\n\n\t// 7.2.9 SameValue(x, y)\n\tmodule.exports = Object.is || function is(x, y){\n\t return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n\t};\n\n/***/ },\n/* 237 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/tc39/proposal-string-pad-start-end\n\tvar toLength = __webpack_require__(18)\n\t , repeat = __webpack_require__(162)\n\t , defined = __webpack_require__(37);\n\t\n\tmodule.exports = function(that, maxLength, fillString, left){\n\t var S = String(defined(that))\n\t , stringLength = S.length\n\t , fillStr = fillString === undefined ? ' ' : String(fillString)\n\t , intMaxLength = toLength(maxLength);\n\t if(intMaxLength <= stringLength || fillStr == '')return S;\n\t var fillLen = intMaxLength - stringLength\n\t , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n\t if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);\n\t return left ? stringFiller + S : S + stringFiller;\n\t};\n\n\n/***/ },\n/* 238 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.f = __webpack_require__(10);\n\n/***/ },\n/* 239 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar strong = __webpack_require__(221);\n\t\n\t// 23.1 Map Objects\n\tmodule.exports = __webpack_require__(106)('Map', function(get){\n\t return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.1.3.6 Map.prototype.get(key)\n\t get: function get(key){\n\t var entry = strong.getEntry(this, key);\n\t return entry && entry.v;\n\t },\n\t // 23.1.3.9 Map.prototype.set(key, value)\n\t set: function set(key, value){\n\t return strong.def(this, key === 0 ? 0 : key, value);\n\t }\n\t}, strong, true);\n\n/***/ },\n/* 240 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.2.5.3 get RegExp.prototype.flags()\n\tif(__webpack_require__(13) && /./g.flags != 'g')__webpack_require__(14).f(RegExp.prototype, 'flags', {\n\t configurable: true,\n\t get: __webpack_require__(108)\n\t});\n\n/***/ },\n/* 241 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar strong = __webpack_require__(221);\n\t\n\t// 23.2 Set Objects\n\tmodule.exports = __webpack_require__(106)('Set', function(get){\n\t return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.2.3.1 Set.prototype.add(value)\n\t add: function add(value){\n\t return strong.def(this, value = value === 0 ? 0 : value, value);\n\t }\n\t}, strong);\n\n/***/ },\n/* 242 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar each = __webpack_require__(41)(0)\n\t , redefine = __webpack_require__(28)\n\t , meta = __webpack_require__(57)\n\t , assign = __webpack_require__(228)\n\t , weak = __webpack_require__(223)\n\t , isObject = __webpack_require__(9)\n\t , has = __webpack_require__(22)\n\t , getWeak = meta.getWeak\n\t , isExtensible = Object.isExtensible\n\t , uncaughtFrozenStore = weak.ufstore\n\t , tmp = {}\n\t , InternalMap;\n\t\n\tvar wrapper = function(get){\n\t return function WeakMap(){\n\t return get(this, arguments.length > 0 ? arguments[0] : undefined);\n\t };\n\t};\n\t\n\tvar methods = {\n\t // 23.3.3.3 WeakMap.prototype.get(key)\n\t get: function get(key){\n\t if(isObject(key)){\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this).get(key);\n\t return data ? data[this._i] : undefined;\n\t }\n\t },\n\t // 23.3.3.5 WeakMap.prototype.set(key, value)\n\t set: function set(key, value){\n\t return weak.def(this, key, value);\n\t }\n\t};\n\t\n\t// 23.3 WeakMap Objects\n\tvar $WeakMap = module.exports = __webpack_require__(106)('WeakMap', wrapper, methods, weak, true, true);\n\t\n\t// IE11 WeakMap frozen keys fix\n\tif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n\t InternalMap = weak.getConstructor(wrapper);\n\t assign(InternalMap.prototype, methods);\n\t meta.NEED = true;\n\t each(['delete', 'has', 'get', 'set'], function(key){\n\t var proto = $WeakMap.prototype\n\t , method = proto[key];\n\t redefine(proto, key, function(a, b){\n\t // store frozen objects on internal weakmap shim\n\t if(isObject(a) && !isExtensible(a)){\n\t if(!this._f)this._f = new InternalMap;\n\t var result = this._f[key](a, b);\n\t return key == 'set' ? this : result;\n\t // store all the rest on native weakmap\n\t } return method.call(this, a, b);\n\t });\n\t });\n\t}\n\n/***/ },\n/* 243 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\t * matchesSelector v2.0.1\n\t * matchesSelector( element, '.selector' )\n\t * MIT license\n\t */\n\t\n\t/*jshint browser: true, strict: true, undef: true, unused: true */\n\t\n\t( function( window, factory ) {\n\t /*global define: false, module: false */\n\t 'use strict';\n\t // universal module definition\n\t if ( true ) {\n\t // AMD\n\t !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS\n\t module.exports = factory();\n\t } else {\n\t // browser global\n\t window.matchesSelector = factory();\n\t }\n\t\n\t}( window, function factory() {\n\t 'use strict';\n\t\n\t var matchesMethod = ( function() {\n\t var ElemProto = Element.prototype;\n\t // check for the standard method name first\n\t if ( ElemProto.matches ) {\n\t return 'matches';\n\t }\n\t // check un-prefixed\n\t if ( ElemProto.matchesSelector ) {\n\t return 'matchesSelector';\n\t }\n\t // check vendor prefixes\n\t var prefixes = [ 'webkit', 'moz', 'ms', 'o' ];\n\t\n\t for ( var i=0; i < prefixes.length; i++ ) {\n\t var prefix = prefixes[i];\n\t var method = prefix + 'MatchesSelector';\n\t if ( ElemProto[ method ] ) {\n\t return method;\n\t }\n\t }\n\t })();\n\t\n\t return function matchesSelector( elem, selector ) {\n\t return elem[ matchesMethod ]( selector );\n\t };\n\t\n\t}));\n\n\n/***/ },\n/* 244 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = function getWindow(node) {\n\t return node === node.window ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;\n\t};\n\n/***/ },\n/* 245 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * Licensed under the Apache License, Version 2.0 (the \"License\");\n\t * you may not use this file except in compliance with the License.\n\t * You may obtain a copy of the License at\n\t *\n\t * http://www.apache.org/licenses/LICENSE-2.0\n\t *\n\t * Unless required by applicable law or agreed to in writing, software\n\t * distributed under the License is distributed on an \"AS IS\" BASIS,\n\t * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\t * See the License for the specific language governing permissions and\n\t * limitations under the License.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar emptyFunction = __webpack_require__(39);\n\t\n\t/**\n\t * Upstream version of event listener. Does not take into account specific\n\t * nature of platform.\n\t */\n\tvar EventListener = {\n\t /**\n\t * Listen to DOM events during the bubble phase.\n\t *\n\t * @param {DOMEventTarget} target DOM element to register listener on.\n\t * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n\t * @param {function} callback Callback function.\n\t * @return {object} Object with a `remove` method.\n\t */\n\t listen: function listen(target, eventType, callback) {\n\t if (target.addEventListener) {\n\t target.addEventListener(eventType, callback, false);\n\t return {\n\t remove: function remove() {\n\t target.removeEventListener(eventType, callback, false);\n\t }\n\t };\n\t } else if (target.attachEvent) {\n\t target.attachEvent('on' + eventType, callback);\n\t return {\n\t remove: function remove() {\n\t target.detachEvent('on' + eventType, callback);\n\t }\n\t };\n\t }\n\t },\n\t\n\t /**\n\t * Listen to DOM events during the capture phase.\n\t *\n\t * @param {DOMEventTarget} target DOM element to register listener on.\n\t * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n\t * @param {function} callback Callback function.\n\t * @return {object} Object with a `remove` method.\n\t */\n\t capture: function capture(target, eventType, callback) {\n\t if (target.addEventListener) {\n\t target.addEventListener(eventType, callback, true);\n\t return {\n\t remove: function remove() {\n\t target.removeEventListener(eventType, callback, true);\n\t }\n\t };\n\t } else {\n\t if (false) {\n\t 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\t }\n\t return {\n\t remove: emptyFunction\n\t };\n\t }\n\t },\n\t\n\t registerDefault: function registerDefault() {}\n\t};\n\t\n\tmodule.exports = EventListener;\n\n/***/ },\n/* 246 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * @param {DOMElement} node input/textarea to focus\n\t */\n\t\n\tfunction focusNode(node) {\n\t // IE8 can throw \"Can't move focus to the control because it is invisible,\n\t // not enabled, or of a type that does not accept the focus.\" for all kinds of\n\t // reasons that are too expensive and fragile to test.\n\t try {\n\t node.focus();\n\t } catch (e) {}\n\t}\n\t\n\tmodule.exports = focusNode;\n\n/***/ },\n/* 247 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t/* eslint-disable fb-www/typeof-undefined */\n\t\n\t/**\n\t * Same as document.activeElement but wraps in a try-catch block. In IE it is\n\t * not safe to call document.activeElement if there is nothing focused.\n\t *\n\t * The activeElement will be null only if the document or document body is not\n\t * yet defined.\n\t */\n\tfunction getActiveElement() /*?DOMElement*/{\n\t if (typeof document === 'undefined') {\n\t return null;\n\t }\n\t try {\n\t return document.activeElement || document.body;\n\t } catch (e) {\n\t return document.body;\n\t }\n\t}\n\t\n\tmodule.exports = getActiveElement;\n\n/***/ },\n/* 248 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\t * Fizzy UI utils v2.0.2\n\t * MIT license\n\t */\n\t\n\t/*jshint browser: true, undef: true, unused: true, strict: true */\n\t\n\t( function( window, factory ) {\n\t // universal module definition\n\t /*jshint strict: false */ /*globals define, module, require */\n\t\n\t if ( true ) {\n\t // AMD\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n\t __webpack_require__(243)\n\t ], __WEBPACK_AMD_DEFINE_RESULT__ = function( matchesSelector ) {\n\t return factory( window, matchesSelector );\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if ( typeof module == 'object' && module.exports ) {\n\t // CommonJS\n\t module.exports = factory(\n\t window,\n\t require('desandro-matches-selector')\n\t );\n\t } else {\n\t // browser global\n\t window.fizzyUIUtils = factory(\n\t window,\n\t window.matchesSelector\n\t );\n\t }\n\t\n\t}( window, function factory( window, matchesSelector ) {\n\t\n\t'use strict';\n\t\n\tvar utils = {};\n\t\n\t// ----- extend ----- //\n\t\n\t// extends objects\n\tutils.extend = function( a, b ) {\n\t for ( var prop in b ) {\n\t a[ prop ] = b[ prop ];\n\t }\n\t return a;\n\t};\n\t\n\t// ----- modulo ----- //\n\t\n\tutils.modulo = function( num, div ) {\n\t return ( ( num % div ) + div ) % div;\n\t};\n\t\n\t// ----- makeArray ----- //\n\t\n\t// turn element or nodeList into an array\n\tutils.makeArray = function( obj ) {\n\t var ary = [];\n\t if ( Array.isArray( obj ) ) {\n\t // use object if already an array\n\t ary = obj;\n\t } else if ( obj && typeof obj.length == 'number' ) {\n\t // convert nodeList to array\n\t for ( var i=0; i < obj.length; i++ ) {\n\t ary.push( obj[i] );\n\t }\n\t } else {\n\t // array of single index\n\t ary.push( obj );\n\t }\n\t return ary;\n\t};\n\t\n\t// ----- removeFrom ----- //\n\t\n\tutils.removeFrom = function( ary, obj ) {\n\t var index = ary.indexOf( obj );\n\t if ( index != -1 ) {\n\t ary.splice( index, 1 );\n\t }\n\t};\n\t\n\t// ----- getParent ----- //\n\t\n\tutils.getParent = function( elem, selector ) {\n\t while ( elem != document.body ) {\n\t elem = elem.parentNode;\n\t if ( matchesSelector( elem, selector ) ) {\n\t return elem;\n\t }\n\t }\n\t};\n\t\n\t// ----- getQueryElement ----- //\n\t\n\t// use element as selector string\n\tutils.getQueryElement = function( elem ) {\n\t if ( typeof elem == 'string' ) {\n\t return document.querySelector( elem );\n\t }\n\t return elem;\n\t};\n\t\n\t// ----- handleEvent ----- //\n\t\n\t// enable .ontype to trigger from .addEventListener( elem, 'type' )\n\tutils.handleEvent = function( event ) {\n\t var method = 'on' + event.type;\n\t if ( this[ method ] ) {\n\t this[ method ]( event );\n\t }\n\t};\n\t\n\t// ----- filterFindElements ----- //\n\t\n\tutils.filterFindElements = function( elems, selector ) {\n\t // make array of elems\n\t elems = utils.makeArray( elems );\n\t var ffElems = [];\n\t\n\t elems.forEach( function( elem ) {\n\t // check that elem is an actual element\n\t if ( !( elem instanceof HTMLElement ) ) {\n\t return;\n\t }\n\t // add elem if no selector\n\t if ( !selector ) {\n\t ffElems.push( elem );\n\t return;\n\t }\n\t // filter & find items if we have a selector\n\t // filter\n\t if ( matchesSelector( elem, selector ) ) {\n\t ffElems.push( elem );\n\t }\n\t // find children\n\t var childElems = elem.querySelectorAll( selector );\n\t // concat childElems to filterFound array\n\t for ( var i=0; i < childElems.length; i++ ) {\n\t ffElems.push( childElems[i] );\n\t }\n\t });\n\t\n\t return ffElems;\n\t};\n\t\n\t// ----- debounceMethod ----- //\n\t\n\tutils.debounceMethod = function( _class, methodName, threshold ) {\n\t // original method\n\t var method = _class.prototype[ methodName ];\n\t var timeoutName = methodName + 'Timeout';\n\t\n\t _class.prototype[ methodName ] = function() {\n\t var timeout = this[ timeoutName ];\n\t if ( timeout ) {\n\t clearTimeout( timeout );\n\t }\n\t var args = arguments;\n\t\n\t var _this = this;\n\t this[ timeoutName ] = setTimeout( function() {\n\t method.apply( _this, args );\n\t delete _this[ timeoutName ];\n\t }, threshold || 100 );\n\t };\n\t};\n\t\n\t// ----- docReady ----- //\n\t\n\tutils.docReady = function( callback ) {\n\t var readyState = document.readyState;\n\t if ( readyState == 'complete' || readyState == 'interactive' ) {\n\t callback();\n\t } else {\n\t document.addEventListener( 'DOMContentLoaded', callback );\n\t }\n\t};\n\t\n\t// ----- htmlInit ----- //\n\t\n\t// http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/\n\tutils.toDashed = function( str ) {\n\t return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) {\n\t return $1 + '-' + $2;\n\t }).toLowerCase();\n\t};\n\t\n\tvar console = window.console;\n\t/**\n\t * allow user to initialize classes via [data-namespace] or .js-namespace class\n\t * htmlInit( Widget, 'widgetName' )\n\t * options are parsed from data-namespace-options\n\t */\n\tutils.htmlInit = function( WidgetClass, namespace ) {\n\t utils.docReady( function() {\n\t var dashedNamespace = utils.toDashed( namespace );\n\t var dataAttr = 'data-' + dashedNamespace;\n\t var dataAttrElems = document.querySelectorAll( '[' + dataAttr + ']' );\n\t var jsDashElems = document.querySelectorAll( '.js-' + dashedNamespace );\n\t var elems = utils.makeArray( dataAttrElems )\n\t .concat( utils.makeArray( jsDashElems ) );\n\t var dataOptionsAttr = dataAttr + '-options';\n\t var jQuery = window.jQuery;\n\t\n\t elems.forEach( function( elem ) {\n\t var attr = elem.getAttribute( dataAttr ) ||\n\t elem.getAttribute( dataOptionsAttr );\n\t var options;\n\t try {\n\t options = attr && JSON.parse( attr );\n\t } catch ( error ) {\n\t // log error, do not initialize\n\t if ( console ) {\n\t console.error( 'Error parsing ' + dataAttr + ' on ' + elem.className +\n\t ': ' + error );\n\t }\n\t return;\n\t }\n\t // initialize\n\t var instance = new WidgetClass( elem, options );\n\t // make available via $().data('layoutname')\n\t if ( jQuery ) {\n\t jQuery.data( elem, namespace, instance );\n\t }\n\t });\n\t\n\t });\n\t};\n\t\n\t// ----- ----- //\n\t\n\treturn utils;\n\t\n\t}));\n\n\n/***/ },\n/* 249 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license\n\t * Fuse - Lightweight fuzzy-search\n\t *\n\t * Copyright (c) 2012-2016 Kirollos Risk .\n\t * All Rights Reserved. Apache Software License 2.0\n\t *\n\t * Licensed under the Apache License, Version 2.0 (the \"License\")\n\t * you may not use this file except in compliance with the License.\n\t * You may obtain a copy of the License at\n\t *\n\t * http://www.apache.org/licenses/LICENSE-2.0\n\t *\n\t * Unless required by applicable law or agreed to in writing, software\n\t * distributed under the License is distributed on an \"AS IS\" BASIS,\n\t * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\t * See the License for the specific language governing permissions and\n\t * limitations under the License.\n\t */\n\t;(function (global) {\n\t 'use strict'\n\t\n\t function log () {\n\t console.log.apply(console, arguments)\n\t }\n\t\n\t var defaultOptions = {\n\t // The name of the identifier property. If specified, the returned result will be a list\n\t // of the items' dentifiers, otherwise it will be a list of the items.\n\t id: null,\n\t\n\t // Indicates whether comparisons should be case sensitive.\n\t\n\t caseSensitive: false,\n\t\n\t // An array of values that should be included from the searcher's output. When this array\n\t // contains elements, each result in the list will be of the form `{ item: ..., include1: ..., include2: ... }`.\n\t // Values you can include are `score`, `matchedLocations`\n\t include: [],\n\t\n\t // Whether to sort the result list, by score\n\t shouldSort: true,\n\t\n\t // The search function to use\n\t // Note that the default search function ([[Function]]) must conform to the following API:\n\t //\n\t // @param pattern The pattern string to search\n\t // @param options The search option\n\t // [[Function]].constructor = function(pattern, options)\n\t //\n\t // @param text: the string to search in for the pattern\n\t // @return Object in the form of:\n\t // - isMatch: boolean\n\t // - score: Int\n\t // [[Function]].prototype.search = function(text)\n\t searchFn: BitapSearcher,\n\t\n\t // Default sort function\n\t sortFn: function (a, b) {\n\t return a.score - b.score\n\t },\n\t\n\t // The get function to use when fetching an object's properties.\n\t // The default will search nested paths *ie foo.bar.baz*\n\t getFn: deepValue,\n\t\n\t // List of properties that will be searched. This also supports nested properties.\n\t keys: [],\n\t\n\t // Will print to the console. Useful for debugging.\n\t verbose: false,\n\t\n\t // When true, the search algorithm will search individual words **and** the full string,\n\t // computing the final score as a function of both. Note that when `tokenize` is `true`,\n\t // the `threshold`, `distance`, and `location` are inconsequential for individual tokens.\n\t tokenize: false,\n\t\n\t // Regex used to separate words when searching. Only applicable when `tokenize` is `true`.\n\t tokenSeparator: / +/g\n\t }\n\t\n\t function Fuse (list, options) {\n\t var i\n\t var len\n\t var key\n\t var keys\n\t\n\t this.list = list\n\t this.options = options = options || {}\n\t\n\t // Add boolean type options\n\t for (i = 0, keys = ['sort', 'shouldSort', 'verbose', 'tokenize'], len = keys.length; i < len; i++) {\n\t key = keys[i]\n\t this.options[key] = key in options ? options[key] : defaultOptions[key]\n\t }\n\t // Add all other options\n\t for (i = 0, keys = ['searchFn', 'sortFn', 'keys', 'getFn', 'include', 'tokenSeparator'], len = keys.length; i < len; i++) {\n\t key = keys[i]\n\t this.options[key] = options[key] || defaultOptions[key]\n\t }\n\t }\n\t\n\t Fuse.VERSION = '2.4.1'\n\t\n\t /**\n\t * Sets a new list for Fuse to match against.\n\t * @param {Array} list\n\t * @return {Array} The newly set list\n\t * @public\n\t */\n\t Fuse.prototype.set = function (list) {\n\t this.list = list\n\t return list\n\t }\n\t\n\t Fuse.prototype.search = function (pattern) {\n\t if (this.options.verbose) log('\\nSearch term:', pattern, '\\n')\n\t\n\t this.pattern = pattern\n\t this.results = []\n\t this.resultMap = {}\n\t this._keyMap = null\n\t\n\t this._prepareSearchers()\n\t this._startSearch()\n\t this._computeScore()\n\t this._sort()\n\t\n\t var output = this._format()\n\t return output\n\t }\n\t\n\t Fuse.prototype._prepareSearchers = function () {\n\t var options = this.options\n\t var pattern = this.pattern\n\t var searchFn = options.searchFn\n\t var tokens = pattern.split(options.tokenSeparator)\n\t var i = 0\n\t var len = tokens.length\n\t\n\t if (this.options.tokenize) {\n\t this.tokenSearchers = []\n\t for (; i < len; i++) {\n\t this.tokenSearchers.push(new searchFn(tokens[i], options))\n\t }\n\t }\n\t this.fullSeacher = new searchFn(pattern, options)\n\t }\n\t\n\t Fuse.prototype._startSearch = function () {\n\t var options = this.options\n\t var getFn = options.getFn\n\t var list = this.list\n\t var listLen = list.length\n\t var keys = this.options.keys\n\t var keysLen = keys.length\n\t var key\n\t var weight\n\t var item = null\n\t var i\n\t var j\n\t\n\t // Check the first item in the list, if it's a string, then we assume\n\t // that every item in the list is also a string, and thus it's a flattened array.\n\t if (typeof list[0] === 'string') {\n\t // Iterate over every item\n\t for (i = 0; i < listLen; i++) {\n\t this._analyze('', list[i], i, i)\n\t }\n\t } else {\n\t this._keyMap = {}\n\t // Otherwise, the first item is an Object (hopefully), and thus the searching\n\t // is done on the values of the keys of each item.\n\t // Iterate over every item\n\t for (i = 0; i < listLen; i++) {\n\t item = list[i]\n\t // Iterate over every key\n\t for (j = 0; j < keysLen; j++) {\n\t key = keys[j]\n\t if (typeof key !== 'string') {\n\t weight = (1 - key.weight) || 1\n\t this._keyMap[key.name] = {\n\t weight: weight\n\t }\n\t if (key.weight <= 0 || key.weight > 1) {\n\t throw new Error('Key weight has to be > 0 and <= 1')\n\t }\n\t key = key.name\n\t } else {\n\t this._keyMap[key] = {\n\t weight: 1\n\t }\n\t }\n\t this._analyze(key, getFn(item, key, []), item, i)\n\t }\n\t }\n\t }\n\t }\n\t\n\t Fuse.prototype._analyze = function (key, text, entity, index) {\n\t var options = this.options\n\t var words\n\t var scores\n\t var exists = false\n\t var existingResult\n\t var averageScore\n\t var finalScore\n\t var scoresLen\n\t var mainSearchResult\n\t var tokenSearcher\n\t var termScores\n\t var word\n\t var tokenSearchResult\n\t var i\n\t var j\n\t\n\t // Check if the text can be searched\n\t if (text === undefined || text === null) {\n\t return\n\t }\n\t\n\t scores = []\n\t\n\t if (typeof text === 'string') {\n\t words = text.split(options.tokenSeparator)\n\t\n\t if (options.verbose) log('---------\\nKey:', key)\n\t\n\t if (this.options.tokenize) {\n\t for (i = 0; i < this.tokenSearchers.length; i++) {\n\t tokenSearcher = this.tokenSearchers[i]\n\t\n\t if (options.verbose) log('Pattern:', tokenSearcher.pattern)\n\t\n\t termScores = []\n\t for (j = 0; j < words.length; j++) {\n\t word = words[j]\n\t tokenSearchResult = tokenSearcher.search(word)\n\t var obj = {}\n\t if (tokenSearchResult.isMatch) {\n\t obj[word] = tokenSearchResult.score\n\t exists = true\n\t scores.push(tokenSearchResult.score)\n\t } else {\n\t obj[word] = 1\n\t scores.push(1)\n\t }\n\t termScores.push(obj)\n\t }\n\t if (options.verbose) log('Token scores:', termScores)\n\t }\n\t\n\t averageScore = scores[0]\n\t scoresLen = scores.length\n\t for (i = 1; i < scoresLen; i++) {\n\t averageScore += scores[i]\n\t }\n\t averageScore = averageScore / scoresLen\n\t\n\t if (options.verbose) log('Token score average:', averageScore)\n\t }\n\t\n\t mainSearchResult = this.fullSeacher.search(text)\n\t if (options.verbose) log('Full text score:', mainSearchResult.score)\n\t\n\t finalScore = mainSearchResult.score\n\t if (averageScore !== undefined) {\n\t finalScore = (finalScore + averageScore) / 2\n\t }\n\t\n\t if (options.verbose) log('Score average:', finalScore)\n\t\n\t // If a match is found, add the item to , including its score\n\t if (exists || mainSearchResult.isMatch) {\n\t // Check if the item already exists in our results\n\t existingResult = this.resultMap[index]\n\t\n\t if (existingResult) {\n\t // Use the lowest score\n\t // existingResult.score, bitapResult.score\n\t existingResult.output.push({\n\t key: key,\n\t score: finalScore,\n\t matchedIndices: mainSearchResult.matchedIndices\n\t })\n\t } else {\n\t // Add it to the raw result list\n\t this.resultMap[index] = {\n\t item: entity,\n\t output: [{\n\t key: key,\n\t score: finalScore,\n\t matchedIndices: mainSearchResult.matchedIndices\n\t }]\n\t }\n\t\n\t this.results.push(this.resultMap[index])\n\t }\n\t }\n\t } else if (isArray(text)) {\n\t for (i = 0; i < text.length; i++) {\n\t this._analyze(key, text[i], entity, index)\n\t }\n\t }\n\t }\n\t\n\t Fuse.prototype._computeScore = function () {\n\t var i\n\t var j\n\t var keyMap = this._keyMap\n\t var totalScore\n\t var output\n\t var scoreLen\n\t var score\n\t var weight\n\t var results = this.results\n\t var bestScore\n\t var nScore\n\t\n\t if (this.options.verbose) log('\\n\\nComputing score:\\n')\n\t\n\t for (i = 0; i < results.length; i++) {\n\t totalScore = 0\n\t output = results[i].output\n\t scoreLen = output.length\n\t\n\t bestScore = 1\n\t\n\t for (j = 0; j < scoreLen; j++) {\n\t score = output[j].score\n\t weight = keyMap ? keyMap[output[j].key].weight : 1\n\t\n\t nScore = score * weight\n\t\n\t if (weight !== 1) {\n\t bestScore = Math.min(bestScore, nScore)\n\t } else {\n\t totalScore += nScore\n\t output[j].nScore = nScore\n\t }\n\t }\n\t\n\t if (bestScore === 1) {\n\t results[i].score = totalScore / scoreLen\n\t } else {\n\t results[i].score = bestScore\n\t }\n\t\n\t if (this.options.verbose) log(results[i])\n\t }\n\t }\n\t\n\t Fuse.prototype._sort = function () {\n\t var options = this.options\n\t if (options.shouldSort) {\n\t if (options.verbose) log('\\n\\nSorting....')\n\t this.results.sort(options.sortFn)\n\t }\n\t }\n\t\n\t Fuse.prototype._format = function () {\n\t var options = this.options\n\t var getFn = options.getFn\n\t var finalOutput = []\n\t var item\n\t var i\n\t var len\n\t var results = this.results\n\t var replaceValue\n\t var getItemAtIndex\n\t var include = options.include\n\t\n\t if (options.verbose) log('\\n\\nOutput:\\n\\n', results)\n\t\n\t // Helper function, here for speed-up, which replaces the item with its value,\n\t // if the options specifies it,\n\t replaceValue = options.id ? function (index) {\n\t results[index].item = getFn(results[index].item, options.id, [])[0]\n\t } : function () {}\n\t\n\t getItemAtIndex = function (index) {\n\t var record = results[index]\n\t var data\n\t var j\n\t var output\n\t var _item\n\t var _result\n\t\n\t // If `include` has values, put the item in the result\n\t if (include.length > 0) {\n\t data = {\n\t item: record.item\n\t }\n\t if (include.indexOf('matches') !== -1) {\n\t output = record.output\n\t data.matches = []\n\t for (j = 0; j < output.length; j++) {\n\t _item = output[j]\n\t _result = {\n\t indices: _item.matchedIndices\n\t }\n\t if (_item.key) {\n\t _result.key = _item.key\n\t }\n\t data.matches.push(_result)\n\t }\n\t }\n\t\n\t if (include.indexOf('score') !== -1) {\n\t data.score = results[index].score\n\t }\n\t\n\t } else {\n\t data = record.item\n\t }\n\t\n\t return data\n\t }\n\t\n\t // From the results, push into a new array only the item identifier (if specified)\n\t // of the entire item. This is because we don't want to return the ,\n\t // since it contains other metadata\n\t for (i = 0, len = results.length; i < len; i++) {\n\t replaceValue(i)\n\t item = getItemAtIndex(i)\n\t finalOutput.push(item)\n\t }\n\t\n\t return finalOutput\n\t }\n\t\n\t // Helpers\n\t\n\t function deepValue (obj, path, list) {\n\t var firstSegment\n\t var remaining\n\t var dotIndex\n\t var value\n\t var i\n\t var len\n\t\n\t if (!path) {\n\t // If there's no path left, we've gotten to the object we care about.\n\t list.push(obj)\n\t } else {\n\t dotIndex = path.indexOf('.')\n\t\n\t if (dotIndex !== -1) {\n\t firstSegment = path.slice(0, dotIndex)\n\t remaining = path.slice(dotIndex + 1)\n\t } else {\n\t firstSegment = path\n\t }\n\t\n\t value = obj[firstSegment]\n\t if (value !== null && value !== undefined) {\n\t if (!remaining && (typeof value === 'string' || typeof value === 'number')) {\n\t list.push(value)\n\t } else if (isArray(value)) {\n\t // Search each item in the array.\n\t for (i = 0, len = value.length; i < len; i++) {\n\t deepValue(value[i], remaining, list)\n\t }\n\t } else if (remaining) {\n\t // An object. Recurse further.\n\t deepValue(value, remaining, list)\n\t }\n\t }\n\t }\n\t\n\t return list\n\t }\n\t\n\t function isArray (obj) {\n\t return Object.prototype.toString.call(obj) === '[object Array]'\n\t }\n\t\n\t /**\n\t * Adapted from \"Diff, Match and Patch\", by Google\n\t *\n\t * http://code.google.com/p/google-diff-match-patch/\n\t *\n\t * Modified by: Kirollos Risk \n\t * -----------------------------------------------\n\t * Details: the algorithm and structure was modified to allow the creation of\n\t * instances with a method which does the actual\n\t * bitap search. The (the string that is searched for) is only defined\n\t * once per instance and thus it eliminates redundant re-creation when searching\n\t * over a list of strings.\n\t *\n\t * Licensed under the Apache License, Version 2.0 (the \"License\")\n\t * you may not use this file except in compliance with the License.\n\t */\n\t function BitapSearcher (pattern, options) {\n\t options = options || {}\n\t this.options = options\n\t this.options.location = options.location || BitapSearcher.defaultOptions.location\n\t this.options.distance = 'distance' in options ? options.distance : BitapSearcher.defaultOptions.distance\n\t this.options.threshold = 'threshold' in options ? options.threshold : BitapSearcher.defaultOptions.threshold\n\t this.options.maxPatternLength = options.maxPatternLength || BitapSearcher.defaultOptions.maxPatternLength\n\t\n\t this.pattern = options.caseSensitive ? pattern : pattern.toLowerCase()\n\t this.patternLen = pattern.length\n\t\n\t if (this.patternLen <= this.options.maxPatternLength) {\n\t this.matchmask = 1 << (this.patternLen - 1)\n\t this.patternAlphabet = this._calculatePatternAlphabet()\n\t }\n\t }\n\t\n\t BitapSearcher.defaultOptions = {\n\t // Approximately where in the text is the pattern expected to be found?\n\t location: 0,\n\t\n\t // Determines how close the match must be to the fuzzy location (specified above).\n\t // An exact letter match which is 'distance' characters away from the fuzzy location\n\t // would score as a complete mismatch. A distance of '0' requires the match be at\n\t // the exact location specified, a threshold of '1000' would require a perfect match\n\t // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.\n\t distance: 100,\n\t\n\t // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match\n\t // (of both letters and location), a threshold of '1.0' would match anything.\n\t threshold: 0.6,\n\t\n\t // Machine word size\n\t maxPatternLength: 32\n\t }\n\t\n\t /**\n\t * Initialize the alphabet for the Bitap algorithm.\n\t * @return {Object} Hash of character locations.\n\t * @private\n\t */\n\t BitapSearcher.prototype._calculatePatternAlphabet = function () {\n\t var mask = {},\n\t i = 0\n\t\n\t for (i = 0; i < this.patternLen; i++) {\n\t mask[this.pattern.charAt(i)] = 0\n\t }\n\t\n\t for (i = 0; i < this.patternLen; i++) {\n\t mask[this.pattern.charAt(i)] |= 1 << (this.pattern.length - i - 1)\n\t }\n\t\n\t return mask\n\t }\n\t\n\t /**\n\t * Compute and return the score for a match with `e` errors and `x` location.\n\t * @param {number} errors Number of errors in match.\n\t * @param {number} location Location of match.\n\t * @return {number} Overall score for match (0.0 = good, 1.0 = bad).\n\t * @private\n\t */\n\t BitapSearcher.prototype._bitapScore = function (errors, location) {\n\t var accuracy = errors / this.patternLen,\n\t proximity = Math.abs(this.options.location - location)\n\t\n\t if (!this.options.distance) {\n\t // Dodge divide by zero error.\n\t return proximity ? 1.0 : accuracy\n\t }\n\t return accuracy + (proximity / this.options.distance)\n\t }\n\t\n\t /**\n\t * Compute and return the result of the search\n\t * @param {String} text The text to search in\n\t * @return {Object} Literal containing:\n\t * {Boolean} isMatch Whether the text is a match or not\n\t * {Decimal} score Overall score for the match\n\t * @public\n\t */\n\t BitapSearcher.prototype.search = function (text) {\n\t var options = this.options\n\t var i\n\t var j\n\t var textLen\n\t var location\n\t var threshold\n\t var bestLoc\n\t var binMin\n\t var binMid\n\t var binMax\n\t var start, finish\n\t var bitArr\n\t var lastBitArr\n\t var charMatch\n\t var score\n\t var locations\n\t var matches\n\t var isMatched\n\t var matchMask\n\t var matchedIndices\n\t var matchesLen\n\t var match\n\t\n\t text = options.caseSensitive ? text : text.toLowerCase()\n\t\n\t if (this.pattern === text) {\n\t // Exact match\n\t return {\n\t isMatch: true,\n\t score: 0,\n\t matchedIndices: [[0, text.length - 1]]\n\t }\n\t }\n\t\n\t // When pattern length is greater than the machine word length, just do a a regex comparison\n\t if (this.patternLen > options.maxPatternLength) {\n\t matches = text.match(new RegExp(this.pattern.replace(options.tokenSeparator, '|')))\n\t isMatched = !!matches\n\t\n\t if (isMatched) {\n\t matchedIndices = []\n\t for (i = 0, matchesLen = matches.length; i < matchesLen; i++) {\n\t match = matches[i]\n\t matchedIndices.push([text.indexOf(match), match.length - 1])\n\t }\n\t }\n\t\n\t return {\n\t isMatch: isMatched,\n\t // TODO: revisit this score\n\t score: isMatched ? 0.5 : 1,\n\t matchedIndices: matchedIndices\n\t }\n\t }\n\t\n\t location = options.location\n\t // Set starting location at beginning text and initialize the alphabet.\n\t textLen = text.length\n\t // Highest score beyond which we give up.\n\t threshold = options.threshold\n\t // Is there a nearby exact match? (speedup)\n\t bestLoc = text.indexOf(this.pattern, location)\n\t\n\t // a mask of the matches\n\t matchMask = []\n\t for (i = 0; i < textLen; i++) {\n\t matchMask[i] = 0\n\t }\n\t\n\t if (bestLoc != -1) {\n\t threshold = Math.min(this._bitapScore(0, bestLoc), threshold)\n\t // What about in the other direction? (speed up)\n\t bestLoc = text.lastIndexOf(this.pattern, location + this.patternLen)\n\t\n\t if (bestLoc != -1) {\n\t threshold = Math.min(this._bitapScore(0, bestLoc), threshold)\n\t }\n\t }\n\t\n\t bestLoc = -1\n\t score = 1\n\t locations = []\n\t binMax = this.patternLen + textLen\n\t\n\t for (i = 0; i < this.patternLen; i++) {\n\t // Scan for the best match; each iteration allows for one more error.\n\t // Run a binary search to determine how far from the match location we can stray\n\t // at this error level.\n\t binMin = 0\n\t binMid = binMax\n\t while (binMin < binMid) {\n\t if (this._bitapScore(i, location + binMid) <= threshold) {\n\t binMin = binMid\n\t } else {\n\t binMax = binMid\n\t }\n\t binMid = Math.floor((binMax - binMin) / 2 + binMin)\n\t }\n\t\n\t // Use the result from this iteration as the maximum for the next.\n\t binMax = binMid\n\t start = Math.max(1, location - binMid + 1)\n\t finish = Math.min(location + binMid, textLen) + this.patternLen\n\t\n\t // Initialize the bit array\n\t bitArr = Array(finish + 2)\n\t\n\t bitArr[finish + 1] = (1 << i) - 1\n\t\n\t for (j = finish; j >= start; j--) {\n\t charMatch = this.patternAlphabet[text.charAt(j - 1)]\n\t\n\t if (charMatch) {\n\t matchMask[j - 1] = 1\n\t }\n\t\n\t if (i === 0) {\n\t // First pass: exact match.\n\t bitArr[j] = ((bitArr[j + 1] << 1) | 1) & charMatch\n\t } else {\n\t // Subsequent passes: fuzzy match.\n\t bitArr[j] = ((bitArr[j + 1] << 1) | 1) & charMatch | (((lastBitArr[j + 1] | lastBitArr[j]) << 1) | 1) | lastBitArr[j + 1]\n\t }\n\t if (bitArr[j] & this.matchmask) {\n\t score = this._bitapScore(i, j - 1)\n\t\n\t // This match will almost certainly be better than any existing match.\n\t // But check anyway.\n\t if (score <= threshold) {\n\t // Indeed it is\n\t threshold = score\n\t bestLoc = j - 1\n\t locations.push(bestLoc)\n\t\n\t if (bestLoc > location) {\n\t // When passing loc, don't exceed our current distance from loc.\n\t start = Math.max(1, 2 * location - bestLoc)\n\t } else {\n\t // Already passed loc, downhill from here on in.\n\t break\n\t }\n\t }\n\t }\n\t }\n\t\n\t // No hope for a (better) match at greater error levels.\n\t if (this._bitapScore(i + 1, location) > threshold) {\n\t break\n\t }\n\t lastBitArr = bitArr\n\t }\n\t\n\t matchedIndices = this._getMatchedIndices(matchMask)\n\t\n\t // Count exact matches (those with a score of 0) to be \"almost\" exact\n\t return {\n\t isMatch: bestLoc >= 0,\n\t score: score === 0 ? 0.001 : score,\n\t matchedIndices: matchedIndices\n\t }\n\t }\n\t\n\t BitapSearcher.prototype._getMatchedIndices = function (matchMask) {\n\t var matchedIndices = []\n\t var start = -1\n\t var end = -1\n\t var i = 0\n\t var match\n\t var len = matchMask.length\n\t for (; i < len; i++) {\n\t match = matchMask[i]\n\t if (match && start === -1) {\n\t start = i\n\t } else if (!match && start !== -1) {\n\t end = i - 1\n\t matchedIndices.push([start, end])\n\t start = -1\n\t }\n\t }\n\t if (matchMask[i - 1]) {\n\t matchedIndices.push([start, i - 1])\n\t }\n\t return matchedIndices\n\t }\n\t\n\t // Export to Common JS Loader\n\t if (true) {\n\t // Node. Does not work with strict CommonJS, but\n\t // only CommonJS-like environments that support module.exports,\n\t // like Node.\n\t module.exports = Fuse\n\t } else if (typeof define === 'function' && define.amd) {\n\t // AMD. Register as an anonymous module.\n\t define(function () {\n\t return Fuse\n\t })\n\t } else {\n\t // Browser globals (root is window)\n\t global.Fuse = Fuse\n\t }\n\t\n\t})(this)\n\n\n/***/ },\n/* 250 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tvar _ExecutionEnvironment = __webpack_require__(119);\n\t\n\tvar _DOMUtils = __webpack_require__(172);\n\t\n\tvar _createHistory = __webpack_require__(252);\n\t\n\tvar _createHistory2 = _interopRequireDefault(_createHistory);\n\t\n\tfunction createDOMHistory(options) {\n\t var history = _createHistory2['default'](_extends({\n\t getUserConfirmation: _DOMUtils.getUserConfirmation\n\t }, options, {\n\t go: _DOMUtils.go\n\t }));\n\t\n\t function listen(listener) {\n\t !_ExecutionEnvironment.canUseDOM ? false ? _invariant2['default'](false, 'DOM history needs a DOM') : _invariant2['default'](false) : undefined;\n\t\n\t return history.listen(listener);\n\t }\n\t\n\t return _extends({}, history, {\n\t listen: listen\n\t });\n\t}\n\t\n\texports['default'] = createDOMHistory;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 251 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tvar _Actions = __webpack_require__(75);\n\t\n\tvar _PathUtils = __webpack_require__(76);\n\t\n\tvar _ExecutionEnvironment = __webpack_require__(119);\n\t\n\tvar _DOMUtils = __webpack_require__(172);\n\t\n\tvar _DOMStateStorage = __webpack_require__(171);\n\t\n\tvar _createDOMHistory = __webpack_require__(250);\n\t\n\tvar _createDOMHistory2 = _interopRequireDefault(_createDOMHistory);\n\t\n\tfunction isAbsolutePath(path) {\n\t return typeof path === 'string' && path.charAt(0) === '/';\n\t}\n\t\n\tfunction ensureSlash() {\n\t var path = _DOMUtils.getHashPath();\n\t\n\t if (isAbsolutePath(path)) return true;\n\t\n\t _DOMUtils.replaceHashPath('/' + path);\n\t\n\t return false;\n\t}\n\t\n\tfunction addQueryStringValueToPath(path, key, value) {\n\t return path + (path.indexOf('?') === -1 ? '?' : '&') + (key + '=' + value);\n\t}\n\t\n\tfunction stripQueryStringValueFromPath(path, key) {\n\t return path.replace(new RegExp('[?&]?' + key + '=[a-zA-Z0-9]+'), '');\n\t}\n\t\n\tfunction getQueryStringValueFromPath(path, key) {\n\t var match = path.match(new RegExp('\\\\?.*?\\\\b' + key + '=(.+?)\\\\b'));\n\t return match && match[1];\n\t}\n\t\n\tvar DefaultQueryKey = '_k';\n\t\n\tfunction createHashHistory() {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t !_ExecutionEnvironment.canUseDOM ? false ? _invariant2['default'](false, 'Hash history needs a DOM') : _invariant2['default'](false) : undefined;\n\t\n\t var queryKey = options.queryKey;\n\t\n\t if (queryKey === undefined || !!queryKey) queryKey = typeof queryKey === 'string' ? queryKey : DefaultQueryKey;\n\t\n\t function getCurrentLocation() {\n\t var path = _DOMUtils.getHashPath();\n\t\n\t var key = undefined,\n\t state = undefined;\n\t if (queryKey) {\n\t key = getQueryStringValueFromPath(path, queryKey);\n\t path = stripQueryStringValueFromPath(path, queryKey);\n\t\n\t if (key) {\n\t state = _DOMStateStorage.readState(key);\n\t } else {\n\t state = null;\n\t key = history.createKey();\n\t _DOMUtils.replaceHashPath(addQueryStringValueToPath(path, queryKey, key));\n\t }\n\t } else {\n\t key = state = null;\n\t }\n\t\n\t var location = _PathUtils.parsePath(path);\n\t\n\t return history.createLocation(_extends({}, location, { state: state }), undefined, key);\n\t }\n\t\n\t function startHashChangeListener(_ref) {\n\t var transitionTo = _ref.transitionTo;\n\t\n\t function hashChangeListener() {\n\t if (!ensureSlash()) return; // Always make sure hashes are preceeded with a /.\n\t\n\t transitionTo(getCurrentLocation());\n\t }\n\t\n\t ensureSlash();\n\t _DOMUtils.addEventListener(window, 'hashchange', hashChangeListener);\n\t\n\t return function () {\n\t _DOMUtils.removeEventListener(window, 'hashchange', hashChangeListener);\n\t };\n\t }\n\t\n\t function finishTransition(location) {\n\t var basename = location.basename;\n\t var pathname = location.pathname;\n\t var search = location.search;\n\t var state = location.state;\n\t var action = location.action;\n\t var key = location.key;\n\t\n\t if (action === _Actions.POP) return; // Nothing to do.\n\t\n\t var path = (basename || '') + pathname + search;\n\t\n\t if (queryKey) {\n\t path = addQueryStringValueToPath(path, queryKey, key);\n\t _DOMStateStorage.saveState(key, state);\n\t } else {\n\t // Drop key and state.\n\t location.key = location.state = null;\n\t }\n\t\n\t var currentHash = _DOMUtils.getHashPath();\n\t\n\t if (action === _Actions.PUSH) {\n\t if (currentHash !== path) {\n\t window.location.hash = path;\n\t } else {\n\t false ? _warning2['default'](false, 'You cannot PUSH the same path using hash history') : undefined;\n\t }\n\t } else if (currentHash !== path) {\n\t // REPLACE\n\t _DOMUtils.replaceHashPath(path);\n\t }\n\t }\n\t\n\t var history = _createDOMHistory2['default'](_extends({}, options, {\n\t getCurrentLocation: getCurrentLocation,\n\t finishTransition: finishTransition,\n\t saveState: _DOMStateStorage.saveState\n\t }));\n\t\n\t var listenerCount = 0,\n\t stopHashChangeListener = undefined;\n\t\n\t function listenBefore(listener) {\n\t if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\t\n\t var unlisten = history.listenBefore(listener);\n\t\n\t return function () {\n\t unlisten();\n\t\n\t if (--listenerCount === 0) stopHashChangeListener();\n\t };\n\t }\n\t\n\t function listen(listener) {\n\t if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\t\n\t var unlisten = history.listen(listener);\n\t\n\t return function () {\n\t unlisten();\n\t\n\t if (--listenerCount === 0) stopHashChangeListener();\n\t };\n\t }\n\t\n\t function push(location) {\n\t false ? _warning2['default'](queryKey || location.state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\t\n\t history.push(location);\n\t }\n\t\n\t function replace(location) {\n\t false ? _warning2['default'](queryKey || location.state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\t\n\t history.replace(location);\n\t }\n\t\n\t var goIsSupportedWithoutReload = _DOMUtils.supportsGoWithoutReloadUsingHash();\n\t\n\t function go(n) {\n\t false ? _warning2['default'](goIsSupportedWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : undefined;\n\t\n\t history.go(n);\n\t }\n\t\n\t function createHref(path) {\n\t return '#' + history.createHref(path);\n\t }\n\t\n\t // deprecated\n\t function registerTransitionHook(hook) {\n\t if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\t\n\t history.registerTransitionHook(hook);\n\t }\n\t\n\t // deprecated\n\t function unregisterTransitionHook(hook) {\n\t history.unregisterTransitionHook(hook);\n\t\n\t if (--listenerCount === 0) stopHashChangeListener();\n\t }\n\t\n\t // deprecated\n\t function pushState(state, path) {\n\t false ? _warning2['default'](queryKey || state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\t\n\t history.pushState(state, path);\n\t }\n\t\n\t // deprecated\n\t function replaceState(state, path) {\n\t false ? _warning2['default'](queryKey || state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\t\n\t history.replaceState(state, path);\n\t }\n\t\n\t return _extends({}, history, {\n\t listenBefore: listenBefore,\n\t listen: listen,\n\t push: push,\n\t replace: replace,\n\t go: go,\n\t createHref: createHref,\n\t\n\t registerTransitionHook: registerTransitionHook, // deprecated - warning is in createHistory\n\t unregisterTransitionHook: unregisterTransitionHook, // deprecated - warning is in createHistory\n\t pushState: pushState, // deprecated - warning is in createHistory\n\t replaceState: replaceState // deprecated - warning is in createHistory\n\t });\n\t}\n\t\n\texports['default'] = createHashHistory;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 252 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tvar _deepEqual = __webpack_require__(590);\n\t\n\tvar _deepEqual2 = _interopRequireDefault(_deepEqual);\n\t\n\tvar _PathUtils = __webpack_require__(76);\n\t\n\tvar _AsyncUtils = __webpack_require__(631);\n\t\n\tvar _Actions = __webpack_require__(75);\n\t\n\tvar _createLocation2 = __webpack_require__(633);\n\t\n\tvar _createLocation3 = _interopRequireDefault(_createLocation2);\n\t\n\tvar _runTransitionHook = __webpack_require__(174);\n\t\n\tvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\t\n\tvar _deprecate = __webpack_require__(173);\n\t\n\tvar _deprecate2 = _interopRequireDefault(_deprecate);\n\t\n\tfunction createRandomKey(length) {\n\t return Math.random().toString(36).substr(2, length);\n\t}\n\t\n\tfunction locationsAreEqual(a, b) {\n\t return a.pathname === b.pathname && a.search === b.search &&\n\t //a.action === b.action && // Different action !== location change.\n\t a.key === b.key && _deepEqual2['default'](a.state, b.state);\n\t}\n\t\n\tvar DefaultKeyLength = 6;\n\t\n\tfunction createHistory() {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t var getCurrentLocation = options.getCurrentLocation;\n\t var finishTransition = options.finishTransition;\n\t var saveState = options.saveState;\n\t var go = options.go;\n\t var getUserConfirmation = options.getUserConfirmation;\n\t var keyLength = options.keyLength;\n\t\n\t if (typeof keyLength !== 'number') keyLength = DefaultKeyLength;\n\t\n\t var transitionHooks = [];\n\t\n\t function listenBefore(hook) {\n\t transitionHooks.push(hook);\n\t\n\t return function () {\n\t transitionHooks = transitionHooks.filter(function (item) {\n\t return item !== hook;\n\t });\n\t };\n\t }\n\t\n\t var allKeys = [];\n\t var changeListeners = [];\n\t var location = undefined;\n\t\n\t function getCurrent() {\n\t if (pendingLocation && pendingLocation.action === _Actions.POP) {\n\t return allKeys.indexOf(pendingLocation.key);\n\t } else if (location) {\n\t return allKeys.indexOf(location.key);\n\t } else {\n\t return -1;\n\t }\n\t }\n\t\n\t function updateLocation(newLocation) {\n\t var current = getCurrent();\n\t\n\t location = newLocation;\n\t\n\t if (location.action === _Actions.PUSH) {\n\t allKeys = [].concat(allKeys.slice(0, current + 1), [location.key]);\n\t } else if (location.action === _Actions.REPLACE) {\n\t allKeys[current] = location.key;\n\t }\n\t\n\t changeListeners.forEach(function (listener) {\n\t listener(location);\n\t });\n\t }\n\t\n\t function listen(listener) {\n\t changeListeners.push(listener);\n\t\n\t if (location) {\n\t listener(location);\n\t } else {\n\t var _location = getCurrentLocation();\n\t allKeys = [_location.key];\n\t updateLocation(_location);\n\t }\n\t\n\t return function () {\n\t changeListeners = changeListeners.filter(function (item) {\n\t return item !== listener;\n\t });\n\t };\n\t }\n\t\n\t function confirmTransitionTo(location, callback) {\n\t _AsyncUtils.loopAsync(transitionHooks.length, function (index, next, done) {\n\t _runTransitionHook2['default'](transitionHooks[index], location, function (result) {\n\t if (result != null) {\n\t done(result);\n\t } else {\n\t next();\n\t }\n\t });\n\t }, function (message) {\n\t if (getUserConfirmation && typeof message === 'string') {\n\t getUserConfirmation(message, function (ok) {\n\t callback(ok !== false);\n\t });\n\t } else {\n\t callback(message !== false);\n\t }\n\t });\n\t }\n\t\n\t var pendingLocation = undefined;\n\t\n\t function transitionTo(nextLocation) {\n\t if (location && locationsAreEqual(location, nextLocation)) return; // Nothing to do.\n\t\n\t pendingLocation = nextLocation;\n\t\n\t confirmTransitionTo(nextLocation, function (ok) {\n\t if (pendingLocation !== nextLocation) return; // Transition was interrupted.\n\t\n\t if (ok) {\n\t // treat PUSH to current path like REPLACE to be consistent with browsers\n\t if (nextLocation.action === _Actions.PUSH) {\n\t var prevPath = createPath(location);\n\t var nextPath = createPath(nextLocation);\n\t\n\t if (nextPath === prevPath && _deepEqual2['default'](location.state, nextLocation.state)) nextLocation.action = _Actions.REPLACE;\n\t }\n\t\n\t if (finishTransition(nextLocation) !== false) updateLocation(nextLocation);\n\t } else if (location && nextLocation.action === _Actions.POP) {\n\t var prevIndex = allKeys.indexOf(location.key);\n\t var nextIndex = allKeys.indexOf(nextLocation.key);\n\t\n\t if (prevIndex !== -1 && nextIndex !== -1) go(prevIndex - nextIndex); // Restore the URL.\n\t }\n\t });\n\t }\n\t\n\t function push(location) {\n\t transitionTo(createLocation(location, _Actions.PUSH, createKey()));\n\t }\n\t\n\t function replace(location) {\n\t transitionTo(createLocation(location, _Actions.REPLACE, createKey()));\n\t }\n\t\n\t function goBack() {\n\t go(-1);\n\t }\n\t\n\t function goForward() {\n\t go(1);\n\t }\n\t\n\t function createKey() {\n\t return createRandomKey(keyLength);\n\t }\n\t\n\t function createPath(location) {\n\t if (location == null || typeof location === 'string') return location;\n\t\n\t var pathname = location.pathname;\n\t var search = location.search;\n\t var hash = location.hash;\n\t\n\t var result = pathname;\n\t\n\t if (search) result += search;\n\t\n\t if (hash) result += hash;\n\t\n\t return result;\n\t }\n\t\n\t function createHref(location) {\n\t return createPath(location);\n\t }\n\t\n\t function createLocation(location, action) {\n\t var key = arguments.length <= 2 || arguments[2] === undefined ? createKey() : arguments[2];\n\t\n\t if (typeof action === 'object') {\n\t false ? _warning2['default'](false, 'The state (2nd) argument to history.createLocation is deprecated; use a ' + 'location descriptor instead') : undefined;\n\t\n\t if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\t\n\t location = _extends({}, location, { state: action });\n\t\n\t action = key;\n\t key = arguments[3] || createKey();\n\t }\n\t\n\t return _createLocation3['default'](location, action, key);\n\t }\n\t\n\t // deprecated\n\t function setState(state) {\n\t if (location) {\n\t updateLocationState(location, state);\n\t updateLocation(location);\n\t } else {\n\t updateLocationState(getCurrentLocation(), state);\n\t }\n\t }\n\t\n\t function updateLocationState(location, state) {\n\t location.state = _extends({}, location.state, state);\n\t saveState(location.key, location.state);\n\t }\n\t\n\t // deprecated\n\t function registerTransitionHook(hook) {\n\t if (transitionHooks.indexOf(hook) === -1) transitionHooks.push(hook);\n\t }\n\t\n\t // deprecated\n\t function unregisterTransitionHook(hook) {\n\t transitionHooks = transitionHooks.filter(function (item) {\n\t return item !== hook;\n\t });\n\t }\n\t\n\t // deprecated\n\t function pushState(state, path) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t push(_extends({ state: state }, path));\n\t }\n\t\n\t // deprecated\n\t function replaceState(state, path) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t replace(_extends({ state: state }, path));\n\t }\n\t\n\t return {\n\t listenBefore: listenBefore,\n\t listen: listen,\n\t transitionTo: transitionTo,\n\t push: push,\n\t replace: replace,\n\t go: go,\n\t goBack: goBack,\n\t goForward: goForward,\n\t createKey: createKey,\n\t createPath: createPath,\n\t createHref: createHref,\n\t createLocation: createLocation,\n\t\n\t setState: _deprecate2['default'](setState, 'setState is deprecated; use location.key to save state instead'),\n\t registerTransitionHook: _deprecate2['default'](registerTransitionHook, 'registerTransitionHook is deprecated; use listenBefore instead'),\n\t unregisterTransitionHook: _deprecate2['default'](unregisterTransitionHook, 'unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead'),\n\t pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n\t replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n\t };\n\t}\n\t\n\texports['default'] = createHistory;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 253 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _warning = __webpack_require__(45);\n\t\n\tvar _warning2 = _interopRequireDefault(_warning);\n\t\n\tvar _ExecutionEnvironment = __webpack_require__(119);\n\t\n\tvar _PathUtils = __webpack_require__(76);\n\t\n\tvar _runTransitionHook = __webpack_require__(174);\n\t\n\tvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\t\n\tvar _deprecate = __webpack_require__(173);\n\t\n\tvar _deprecate2 = _interopRequireDefault(_deprecate);\n\t\n\tfunction useBasename(createHistory) {\n\t return function () {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t var history = createHistory(options);\n\t\n\t var basename = options.basename;\n\t\n\t var checkedBaseHref = false;\n\t\n\t function checkBaseHref() {\n\t if (checkedBaseHref) {\n\t return;\n\t }\n\t\n\t // Automatically use the value of in HTML\n\t // documents as basename if it's not explicitly given.\n\t if (basename == null && _ExecutionEnvironment.canUseDOM) {\n\t var base = document.getElementsByTagName('base')[0];\n\t var baseHref = base && base.getAttribute('href');\n\t\n\t if (baseHref != null) {\n\t basename = baseHref;\n\t\n\t false ? _warning2['default'](false, 'Automatically setting basename using is deprecated and will ' + 'be removed in the next major release. The semantics of are ' + 'subtly different from basename. Please pass the basename explicitly in ' + 'the options to createHistory') : undefined;\n\t }\n\t }\n\t\n\t checkedBaseHref = true;\n\t }\n\t\n\t function addBasename(location) {\n\t checkBaseHref();\n\t\n\t if (basename && location.basename == null) {\n\t if (location.pathname.indexOf(basename) === 0) {\n\t location.pathname = location.pathname.substring(basename.length);\n\t location.basename = basename;\n\t\n\t if (location.pathname === '') location.pathname = '/';\n\t } else {\n\t location.basename = '';\n\t }\n\t }\n\t\n\t return location;\n\t }\n\t\n\t function prependBasename(location) {\n\t checkBaseHref();\n\t\n\t if (!basename) return location;\n\t\n\t if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\t\n\t var pname = location.pathname;\n\t var normalizedBasename = basename.slice(-1) === '/' ? basename : basename + '/';\n\t var normalizedPathname = pname.charAt(0) === '/' ? pname.slice(1) : pname;\n\t var pathname = normalizedBasename + normalizedPathname;\n\t\n\t return _extends({}, location, {\n\t pathname: pathname\n\t });\n\t }\n\t\n\t // Override all read methods with basename-aware versions.\n\t function listenBefore(hook) {\n\t return history.listenBefore(function (location, callback) {\n\t _runTransitionHook2['default'](hook, addBasename(location), callback);\n\t });\n\t }\n\t\n\t function listen(listener) {\n\t return history.listen(function (location) {\n\t listener(addBasename(location));\n\t });\n\t }\n\t\n\t // Override all write methods with basename-aware versions.\n\t function push(location) {\n\t history.push(prependBasename(location));\n\t }\n\t\n\t function replace(location) {\n\t history.replace(prependBasename(location));\n\t }\n\t\n\t function createPath(location) {\n\t return history.createPath(prependBasename(location));\n\t }\n\t\n\t function createHref(location) {\n\t return history.createHref(prependBasename(location));\n\t }\n\t\n\t function createLocation(location) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t return addBasename(history.createLocation.apply(history, [prependBasename(location)].concat(args)));\n\t }\n\t\n\t // deprecated\n\t function pushState(state, path) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t push(_extends({ state: state }, path));\n\t }\n\t\n\t // deprecated\n\t function replaceState(state, path) {\n\t if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\t\n\t replace(_extends({ state: state }, path));\n\t }\n\t\n\t return _extends({}, history, {\n\t listenBefore: listenBefore,\n\t listen: listen,\n\t push: push,\n\t replace: replace,\n\t createPath: createPath,\n\t createHref: createHref,\n\t createLocation: createLocation,\n\t\n\t pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n\t replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n\t });\n\t };\n\t}\n\t\n\texports['default'] = useBasename;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 254 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;// =========\n\t// = humps =\n\t// =========\n\t// Underscore-to-camelCase converter (and vice versa)\n\t// for strings and object keys\n\t\n\t// humps is copyright © 2012+ Dom Christie\n\t// Released under the MIT license.\n\t\n\t\n\t;(function(global) {\n\t\n\t var _processKeys = function(convert, obj, options) {\n\t if(!_isObject(obj) || _isDate(obj) || _isRegExp(obj) || _isBoolean(obj)) {\n\t return obj;\n\t }\n\t\n\t var output,\n\t i = 0,\n\t l = 0;\n\t\n\t if(_isArray(obj)) {\n\t output = [];\n\t for(l=obj.length; i 1) {\n\t\t\t\t\tattributes = extend({\n\t\t\t\t\t\tpath: '/'\n\t\t\t\t\t}, api.defaults, attributes);\n\t\n\t\t\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\t\t\tvar expires = new Date();\n\t\t\t\t\t\texpires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);\n\t\t\t\t\t\tattributes.expires = expires;\n\t\t\t\t\t}\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tresult = JSON.stringify(value);\n\t\t\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\t\t\tvalue = result;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {}\n\t\n\t\t\t\t\tif (!converter.write) {\n\t\t\t\t\t\tvalue = encodeURIComponent(String(value))\n\t\t\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvalue = converter.write(value, key);\n\t\t\t\t\t}\n\t\n\t\t\t\t\tkey = encodeURIComponent(String(key));\n\t\t\t\t\tkey = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);\n\t\t\t\t\tkey = key.replace(/[\\(\\)]/g, escape);\n\t\n\t\t\t\t\treturn (document.cookie = [\n\t\t\t\t\t\tkey, '=', value,\n\t\t\t\t\t\tattributes.expires && '; expires=' + attributes.expires.toUTCString(), // use expires attribute, max-age is not supported by IE\n\t\t\t\t\t\tattributes.path && '; path=' + attributes.path,\n\t\t\t\t\t\tattributes.domain && '; domain=' + attributes.domain,\n\t\t\t\t\t\tattributes.secure ? '; secure' : ''\n\t\t\t\t\t].join(''));\n\t\t\t\t}\n\t\n\t\t\t\t// Read\n\t\n\t\t\t\tif (!key) {\n\t\t\t\t\tresult = {};\n\t\t\t\t}\n\t\n\t\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t\t// in case there are no cookies at all. Also prevents odd result when\n\t\t\t\t// calling \"get()\"\n\t\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\t\tvar rdecode = /(%[0-9A-Z]{2})+/g;\n\t\t\t\tvar i = 0;\n\t\n\t\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\t\tvar cookie = parts.slice(1).join('=');\n\t\n\t\t\t\t\tif (cookie.charAt(0) === '\"') {\n\t\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t\t}\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tvar name = parts[0].replace(rdecode, decodeURIComponent);\n\t\t\t\t\t\tcookie = converter.read ?\n\t\t\t\t\t\t\tconverter.read(cookie, name) : converter(cookie, name) ||\n\t\t\t\t\t\t\tcookie.replace(rdecode, decodeURIComponent);\n\t\n\t\t\t\t\t\tif (this.json) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\t\tresult = cookie;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\tif (!key) {\n\t\t\t\t\t\t\tresult[name] = cookie;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {}\n\t\t\t\t}\n\t\n\t\t\t\treturn result;\n\t\t\t}\n\t\n\t\t\tapi.set = api;\n\t\t\tapi.get = function (key) {\n\t\t\t\treturn api(key);\n\t\t\t};\n\t\t\tapi.getJSON = function () {\n\t\t\t\treturn api.apply({\n\t\t\t\t\tjson: true\n\t\t\t\t}, [].slice.call(arguments));\n\t\t\t};\n\t\t\tapi.defaults = {};\n\t\n\t\t\tapi.remove = function (key, attributes) {\n\t\t\t\tapi(key, '', extend(attributes, {\n\t\t\t\t\texpires: -1\n\t\t\t\t}));\n\t\t\t};\n\t\n\t\t\tapi.withConverter = init;\n\t\n\t\t\treturn api;\n\t\t}\n\t\n\t\treturn init(function () {});\n\t}));\n\n\n/***/ },\n/* 258 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ListCache = __webpack_require__(122),\n\t stackClear = __webpack_require__(730),\n\t stackDelete = __webpack_require__(731),\n\t stackGet = __webpack_require__(732),\n\t stackHas = __webpack_require__(733),\n\t stackSet = __webpack_require__(734);\n\t\n\t/**\n\t * Creates a stack cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction Stack(entries) {\n\t this.__data__ = new ListCache(entries);\n\t}\n\t\n\t// Add methods to `Stack`.\n\tStack.prototype.clear = stackClear;\n\tStack.prototype['delete'] = stackDelete;\n\tStack.prototype.get = stackGet;\n\tStack.prototype.has = stackHas;\n\tStack.prototype.set = stackSet;\n\t\n\tmodule.exports = Stack;\n\n\n/***/ },\n/* 259 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar root = __webpack_require__(61);\n\t\n\t/** Built-in value references. */\n\tvar Symbol = root.Symbol;\n\t\n\tmodule.exports = Symbol;\n\n\n/***/ },\n/* 260 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar eq = __webpack_require__(128);\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Assigns `value` to `key` of `object` if the existing value is not equivalent\n\t * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * for equality comparisons.\n\t *\n\t * @private\n\t * @param {Object} object The object to modify.\n\t * @param {string} key The key of the property to assign.\n\t * @param {*} value The value to assign.\n\t */\n\tfunction assignValue(object, key, value) {\n\t var objValue = object[key];\n\t if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n\t (value === undefined && !(key in object))) {\n\t object[key] = value;\n\t }\n\t}\n\t\n\tmodule.exports = assignValue;\n\n\n/***/ },\n/* 261 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseForOwn = __webpack_require__(675),\n\t createBaseEach = __webpack_require__(697);\n\t\n\t/**\n\t * The base implementation of `_.forEach` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array|Object} Returns `collection`.\n\t */\n\tvar baseEach = createBaseEach(baseForOwn);\n\t\n\tmodule.exports = baseEach;\n\n\n/***/ },\n/* 262 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar castPath = __webpack_require__(268),\n\t isKey = __webpack_require__(125),\n\t toKey = __webpack_require__(127);\n\t\n\t/**\n\t * The base implementation of `_.get` without support for default values.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {*} Returns the resolved value.\n\t */\n\tfunction baseGet(object, path) {\n\t path = isKey(path, object) ? [path] : castPath(path);\n\t\n\t var index = 0,\n\t length = path.length;\n\t\n\t while (object != null && index < length) {\n\t object = object[toKey(path[index++])];\n\t }\n\t return (index && index == length) ? object : undefined;\n\t}\n\t\n\tmodule.exports = baseGet;\n\n\n/***/ },\n/* 263 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getPrototype = __webpack_require__(271);\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * The base implementation of `_.has` without support for deep paths.\n\t *\n\t * @private\n\t * @param {Object} [object] The object to query.\n\t * @param {Array|string} key The key to check.\n\t * @returns {boolean} Returns `true` if `key` exists, else `false`.\n\t */\n\tfunction baseHas(object, key) {\n\t // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,\n\t // that are composed entirely of index properties, return `false` for\n\t // `hasOwnProperty` checks of them.\n\t return object != null &&\n\t (hasOwnProperty.call(object, key) ||\n\t (typeof object == 'object' && key in object && getPrototype(object) === null));\n\t}\n\t\n\tmodule.exports = baseHas;\n\n\n/***/ },\n/* 264 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseFindIndex = __webpack_require__(673),\n\t baseIsNaN = __webpack_require__(680);\n\t\n\t/**\n\t * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} value The value to search for.\n\t * @param {number} fromIndex The index to search from.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction baseIndexOf(array, value, fromIndex) {\n\t if (value !== value) {\n\t return baseFindIndex(array, baseIsNaN, fromIndex);\n\t }\n\t var index = fromIndex - 1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (array[index] === value) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\tmodule.exports = baseIndexOf;\n\n\n/***/ },\n/* 265 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseMatches = __webpack_require__(684),\n\t baseMatchesProperty = __webpack_require__(685),\n\t identity = __webpack_require__(741),\n\t isArray = __webpack_require__(46),\n\t property = __webpack_require__(748);\n\t\n\t/**\n\t * The base implementation of `_.iteratee`.\n\t *\n\t * @private\n\t * @param {*} [value=_.identity] The value to convert to an iteratee.\n\t * @returns {Function} Returns the iteratee.\n\t */\n\tfunction baseIteratee(value) {\n\t // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n\t // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n\t if (typeof value == 'function') {\n\t return value;\n\t }\n\t if (value == null) {\n\t return identity;\n\t }\n\t if (typeof value == 'object') {\n\t return isArray(value)\n\t ? baseMatchesProperty(value[0], value[1])\n\t : baseMatches(value);\n\t }\n\t return property(value);\n\t}\n\t\n\tmodule.exports = baseIteratee;\n\n\n/***/ },\n/* 266 */\n/***/ function(module, exports) {\n\n\t/**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new accessor function.\n\t */\n\tfunction baseProperty(key) {\n\t return function(object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t}\n\t\n\tmodule.exports = baseProperty;\n\n\n/***/ },\n/* 267 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Symbol = __webpack_require__(259),\n\t isSymbol = __webpack_require__(182);\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0;\n\t\n\t/** Used to convert symbols to primitives and strings. */\n\tvar symbolProto = Symbol ? Symbol.prototype : undefined,\n\t symbolToString = symbolProto ? symbolProto.toString : undefined;\n\t\n\t/**\n\t * The base implementation of `_.toString` which doesn't convert nullish\n\t * values to empty strings.\n\t *\n\t * @private\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t */\n\tfunction baseToString(value) {\n\t // Exit early for strings to avoid a performance hit in some environments.\n\t if (typeof value == 'string') {\n\t return value;\n\t }\n\t if (isSymbol(value)) {\n\t return symbolToString ? symbolToString.call(value) : '';\n\t }\n\t var result = (value + '');\n\t return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n\t}\n\t\n\tmodule.exports = baseToString;\n\n\n/***/ },\n/* 268 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArray = __webpack_require__(46),\n\t stringToPath = __webpack_require__(736);\n\t\n\t/**\n\t * Casts `value` to a path array if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {Array} Returns the cast property path array.\n\t */\n\tfunction castPath(value) {\n\t return isArray(value) ? value : stringToPath(value);\n\t}\n\t\n\tmodule.exports = castPath;\n\n\n/***/ },\n/* 269 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar SetCache = __webpack_require__(665),\n\t arraySome = __webpack_require__(671);\n\t\n\t/** Used to compose bitmasks for comparison styles. */\n\tvar UNORDERED_COMPARE_FLAG = 1,\n\t PARTIAL_COMPARE_FLAG = 2;\n\t\n\t/**\n\t * A specialized version of `baseIsEqualDeep` for arrays with support for\n\t * partial deep comparisons.\n\t *\n\t * @private\n\t * @param {Array} array The array to compare.\n\t * @param {Array} other The other array to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} customizer The function to customize comparisons.\n\t * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n\t * for more details.\n\t * @param {Object} stack Tracks traversed `array` and `other` objects.\n\t * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n\t */\n\tfunction equalArrays(array, other, equalFunc, customizer, bitmask, stack) {\n\t var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n\t arrLength = array.length,\n\t othLength = other.length;\n\t\n\t if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n\t return false;\n\t }\n\t // Assume cyclic values are equal.\n\t var stacked = stack.get(array);\n\t if (stacked && stack.get(other)) {\n\t return stacked == other;\n\t }\n\t var index = -1,\n\t result = true,\n\t seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;\n\t\n\t stack.set(array, other);\n\t stack.set(other, array);\n\t\n\t // Ignore non-index properties.\n\t while (++index < arrLength) {\n\t var arrValue = array[index],\n\t othValue = other[index];\n\t\n\t if (customizer) {\n\t var compared = isPartial\n\t ? customizer(othValue, arrValue, index, other, array, stack)\n\t : customizer(arrValue, othValue, index, array, other, stack);\n\t }\n\t if (compared !== undefined) {\n\t if (compared) {\n\t continue;\n\t }\n\t result = false;\n\t break;\n\t }\n\t // Recursively compare arrays (susceptible to call stack limits).\n\t if (seen) {\n\t if (!arraySome(other, function(othValue, othIndex) {\n\t if (!seen.has(othIndex) &&\n\t (arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {\n\t return seen.add(othIndex);\n\t }\n\t })) {\n\t result = false;\n\t break;\n\t }\n\t } else if (!(\n\t arrValue === othValue ||\n\t equalFunc(arrValue, othValue, customizer, bitmask, stack)\n\t )) {\n\t result = false;\n\t break;\n\t }\n\t }\n\t stack['delete'](array);\n\t return result;\n\t}\n\t\n\tmodule.exports = equalArrays;\n\n\n/***/ },\n/* 270 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\t\n\tmodule.exports = freeGlobal;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 271 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar overArg = __webpack_require__(275);\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeGetPrototype = Object.getPrototypeOf;\n\t\n\t/**\n\t * Gets the `[[Prototype]]` of `value`.\n\t *\n\t * @private\n\t * @param {*} value The value to query.\n\t * @returns {null|Object} Returns the `[[Prototype]]`.\n\t */\n\tvar getPrototype = overArg(nativeGetPrototype, Object);\n\t\n\tmodule.exports = getPrototype;\n\n\n/***/ },\n/* 272 */\n/***/ function(module, exports) {\n\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Checks if `value` is likely a prototype object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n\t */\n\tfunction isPrototype(value) {\n\t var Ctor = value && value.constructor,\n\t proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\t\n\t return value === proto;\n\t}\n\t\n\tmodule.exports = isPrototype;\n\n\n/***/ },\n/* 273 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(34);\n\t\n\t/**\n\t * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` if suitable for strict\n\t * equality comparisons, else `false`.\n\t */\n\tfunction isStrictComparable(value) {\n\t return value === value && !isObject(value);\n\t}\n\t\n\tmodule.exports = isStrictComparable;\n\n\n/***/ },\n/* 274 */\n/***/ function(module, exports) {\n\n\t/**\n\t * A specialized version of `matchesProperty` for source values suitable\n\t * for strict equality comparisons, i.e. `===`.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @param {*} srcValue The value to match.\n\t * @returns {Function} Returns the new spec function.\n\t */\n\tfunction matchesStrictComparable(key, srcValue) {\n\t return function(object) {\n\t if (object == null) {\n\t return false;\n\t }\n\t return object[key] === srcValue &&\n\t (srcValue !== undefined || (key in Object(object)));\n\t };\n\t}\n\t\n\tmodule.exports = matchesStrictComparable;\n\n\n/***/ },\n/* 275 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Creates a function that invokes `func` with its first argument transformed.\n\t *\n\t * @private\n\t * @param {Function} func The function to wrap.\n\t * @param {Function} transform The argument transform.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction overArg(func, transform) {\n\t return function(arg) {\n\t return func(transform(arg));\n\t };\n\t}\n\t\n\tmodule.exports = overArg;\n\n\n/***/ },\n/* 276 */\n/***/ function(module, exports) {\n\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = Function.prototype.toString;\n\t\n\t/**\n\t * Converts `func` to its source code.\n\t *\n\t * @private\n\t * @param {Function} func The function to process.\n\t * @returns {string} Returns the source code.\n\t */\n\tfunction toSource(func) {\n\t if (func != null) {\n\t try {\n\t return funcToString.call(func);\n\t } catch (e) {}\n\t try {\n\t return (func + '');\n\t } catch (e) {}\n\t }\n\t return '';\n\t}\n\t\n\tmodule.exports = toSource;\n\n\n/***/ },\n/* 277 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assignValue = __webpack_require__(260),\n\t copyObject = __webpack_require__(694),\n\t createAssigner = __webpack_require__(696),\n\t isArrayLike = __webpack_require__(96),\n\t isPrototype = __webpack_require__(272),\n\t keys = __webpack_require__(131);\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/** Built-in value references. */\n\tvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\t\n\t/** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */\n\tvar nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf');\n\t\n\t/**\n\t * Assigns own enumerable string keyed properties of source objects to the\n\t * destination object. Source objects are applied from left to right.\n\t * Subsequent sources overwrite property assignments of previous sources.\n\t *\n\t * **Note:** This method mutates `object` and is loosely based on\n\t * [`Object.assign`](https://mdn.io/Object/assign).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.10.0\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @returns {Object} Returns `object`.\n\t * @see _.assignIn\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * }\n\t *\n\t * function Bar() {\n\t * this.c = 3;\n\t * }\n\t *\n\t * Foo.prototype.b = 2;\n\t * Bar.prototype.d = 4;\n\t *\n\t * _.assign({ 'a': 0 }, new Foo, new Bar);\n\t * // => { 'a': 1, 'c': 3 }\n\t */\n\tvar assign = createAssigner(function(object, source) {\n\t if (nonEnumShadows || isPrototype(source) || isArrayLike(source)) {\n\t copyObject(source, keys(source), object);\n\t return;\n\t }\n\t for (var key in source) {\n\t if (hasOwnProperty.call(source, key)) {\n\t assignValue(object, key, source[key]);\n\t }\n\t }\n\t});\n\t\n\tmodule.exports = assign;\n\n\n/***/ },\n/* 278 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArrayLikeObject = __webpack_require__(742);\n\t\n\t/** `Object#toString` result references. */\n\tvar argsTag = '[object Arguments]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Built-in value references. */\n\tvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\t\n\t/**\n\t * Checks if `value` is likely an `arguments` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\tfunction isArguments(value) {\n\t // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.\n\t return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n\t (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n\t}\n\t\n\tmodule.exports = isArguments;\n\n\n/***/ },\n/* 279 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArray = __webpack_require__(46),\n\t isObjectLike = __webpack_require__(77);\n\t\n\t/** `Object#toString` result references. */\n\tvar stringTag = '[object String]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Checks if `value` is classified as a `String` primitive or object.\n\t *\n\t * @static\n\t * @since 0.1.0\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n\t * @example\n\t *\n\t * _.isString('abc');\n\t * // => true\n\t *\n\t * _.isString(1);\n\t * // => false\n\t */\n\tfunction isString(value) {\n\t return typeof value == 'string' ||\n\t (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);\n\t}\n\t\n\tmodule.exports = isString;\n\n\n/***/ },\n/* 280 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseToString = __webpack_require__(267);\n\t\n\t/**\n\t * Converts `value` to a string. An empty string is returned for `null`\n\t * and `undefined` values. The sign of `-0` is preserved.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t * @example\n\t *\n\t * _.toString(null);\n\t * // => ''\n\t *\n\t * _.toString(-0);\n\t * // => '-0'\n\t *\n\t * _.toString([1, 2, 3]);\n\t * // => '1,2,3'\n\t */\n\tfunction toString(value) {\n\t return value == null ? '' : baseToString(value);\n\t}\n\t\n\tmodule.exports = toString;\n\n\n/***/ },\n/* 281 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _isObject = __webpack_require__(34);\n\t\n\tvar _isObject2 = _interopRequireDefault(_isObject);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar UnionSchema = function () {\n\t function UnionSchema(itemSchema, options) {\n\t _classCallCheck(this, UnionSchema);\n\t\n\t if (!(0, _isObject2.default)(itemSchema)) {\n\t throw new Error('UnionSchema requires item schema to be an object.');\n\t }\n\t\n\t if (!options || !options.schemaAttribute) {\n\t throw new Error('UnionSchema requires schemaAttribute option.');\n\t }\n\t\n\t this._itemSchema = itemSchema;\n\t\n\t var schemaAttribute = options.schemaAttribute;\n\t this._getSchema = typeof schemaAttribute === 'function' ? schemaAttribute : function (x) {\n\t return x[schemaAttribute];\n\t };\n\t }\n\t\n\t _createClass(UnionSchema, [{\n\t key: 'getItemSchema',\n\t value: function getItemSchema() {\n\t return this._itemSchema;\n\t }\n\t }, {\n\t key: 'getSchemaKey',\n\t value: function getSchemaKey(item) {\n\t return this._getSchema(item);\n\t }\n\t }]);\n\t\n\t return UnionSchema;\n\t}();\n\t\n\texports.default = UnionSchema;\n\n/***/ },\n/* 282 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.Schema = undefined;\n\t\n\tvar _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\t\n\texports.arrayOf = arrayOf;\n\texports.valuesOf = valuesOf;\n\texports.unionOf = unionOf;\n\texports.normalize = normalize;\n\t\n\tvar _EntitySchema = __webpack_require__(751);\n\t\n\tvar _EntitySchema2 = _interopRequireDefault(_EntitySchema);\n\t\n\tvar _IterableSchema = __webpack_require__(752);\n\t\n\tvar _IterableSchema2 = _interopRequireDefault(_IterableSchema);\n\t\n\tvar _UnionSchema = __webpack_require__(281);\n\t\n\tvar _UnionSchema2 = _interopRequireDefault(_UnionSchema);\n\t\n\tvar _isEqual = __webpack_require__(744);\n\t\n\tvar _isEqual2 = _interopRequireDefault(_isEqual);\n\t\n\tvar _isObject = __webpack_require__(34);\n\t\n\tvar _isObject2 = _interopRequireDefault(_isObject);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction defaultAssignEntity(normalized, key, entity) {\n\t normalized[key] = entity;\n\t}\n\t\n\tfunction visitObject(obj, schema, bag, options) {\n\t var _options$assignEntity = options.assignEntity;\n\t var assignEntity = _options$assignEntity === undefined ? defaultAssignEntity : _options$assignEntity;\n\t\n\t\n\t var defaults = schema && schema.getDefaults && schema.getDefaults();\n\t var schemaAssignEntity = schema && schema.getAssignEntity && schema.getAssignEntity();\n\t var normalized = (0, _isObject2.default)(defaults) ? _extends({}, defaults) : {};\n\t for (var key in obj) {\n\t if (obj.hasOwnProperty(key)) {\n\t var entity = visit(obj[key], schema[key], bag, options);\n\t assignEntity.call(null, normalized, key, entity, obj, schema);\n\t if (schemaAssignEntity) {\n\t schemaAssignEntity.call(null, normalized, key, entity, obj, schema);\n\t }\n\t }\n\t }\n\t return normalized;\n\t}\n\t\n\tfunction defaultMapper(iterableSchema, itemSchema, bag, options) {\n\t return function (obj) {\n\t return visit(obj, itemSchema, bag, options);\n\t };\n\t}\n\t\n\tfunction polymorphicMapper(iterableSchema, itemSchema, bag, options) {\n\t return function (obj) {\n\t var schemaKey = iterableSchema.getSchemaKey(obj);\n\t var result = visit(obj, itemSchema[schemaKey], bag, options);\n\t return { id: result, schema: schemaKey };\n\t };\n\t}\n\t\n\tfunction visitIterable(obj, iterableSchema, bag, options) {\n\t var itemSchema = iterableSchema.getItemSchema();\n\t var curriedItemMapper = defaultMapper(iterableSchema, itemSchema, bag, options);\n\t\n\t if (Array.isArray(obj)) {\n\t return obj.map(curriedItemMapper);\n\t } else {\n\t return Object.keys(obj).reduce(function (objMap, key) {\n\t objMap[key] = curriedItemMapper(obj[key]);\n\t return objMap;\n\t }, {});\n\t }\n\t}\n\t\n\tfunction visitUnion(obj, unionSchema, bag, options) {\n\t var itemSchema = unionSchema.getItemSchema();\n\t return polymorphicMapper(unionSchema, itemSchema, bag, options)(obj);\n\t}\n\t\n\tfunction defaultMergeIntoEntity(entityA, entityB, entityKey) {\n\t for (var key in entityB) {\n\t if (!entityB.hasOwnProperty(key)) {\n\t continue;\n\t }\n\t\n\t if (!entityA.hasOwnProperty(key) || (0, _isEqual2.default)(entityA[key], entityB[key])) {\n\t entityA[key] = entityB[key];\n\t continue;\n\t }\n\t\n\t console.warn('When merging two ' + entityKey + ', found unequal data in their \"' + key + '\" values. Using the earlier value.', entityA[key], entityB[key]);\n\t }\n\t}\n\t\n\tfunction visitEntity(entity, entitySchema, bag, options) {\n\t var _options$mergeIntoEnt = options.mergeIntoEntity;\n\t var mergeIntoEntity = _options$mergeIntoEnt === undefined ? defaultMergeIntoEntity : _options$mergeIntoEnt;\n\t\n\t\n\t var entityKey = entitySchema.getKey();\n\t var id = entitySchema.getId(entity);\n\t\n\t if (!bag.hasOwnProperty(entityKey)) {\n\t bag[entityKey] = {};\n\t }\n\t\n\t if (!bag[entityKey].hasOwnProperty(id)) {\n\t bag[entityKey][id] = {};\n\t }\n\t\n\t var stored = bag[entityKey][id];\n\t var normalized = visitObject(entity, entitySchema, bag, options);\n\t mergeIntoEntity(stored, normalized, entityKey);\n\t\n\t return id;\n\t}\n\t\n\tfunction visit(obj, schema, bag, options) {\n\t if (!(0, _isObject2.default)(obj) || !(0, _isObject2.default)(schema)) {\n\t return obj;\n\t }\n\t\n\t if (schema instanceof _EntitySchema2.default) {\n\t return visitEntity(obj, schema, bag, options);\n\t } else if (schema instanceof _IterableSchema2.default) {\n\t return visitIterable(obj, schema, bag, options);\n\t } else if (schema instanceof _UnionSchema2.default) {\n\t return visitUnion(obj, schema, bag, options);\n\t } else {\n\t return visitObject(obj, schema, bag, options);\n\t }\n\t}\n\t\n\tfunction arrayOf(schema, options) {\n\t return new _IterableSchema2.default(schema, options);\n\t}\n\t\n\tfunction valuesOf(schema, options) {\n\t return new _IterableSchema2.default(schema, options);\n\t}\n\t\n\tfunction unionOf(schema, options) {\n\t return new _UnionSchema2.default(schema, options);\n\t}\n\t\n\texports.Schema = _EntitySchema2.default;\n\tfunction normalize(obj, schema) {\n\t var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\t\n\t if (!(0, _isObject2.default)(obj)) {\n\t throw new Error('Normalize accepts an object or an array as its input.');\n\t }\n\t\n\t if (!(0, _isObject2.default)(schema) || Array.isArray(schema)) {\n\t throw new Error('Normalize accepts an object for schema.');\n\t }\n\t\n\t var bag = {};\n\t var result = visit(obj, schema, bag, options);\n\t\n\t return {\n\t entities: bag,\n\t result: result\n\t };\n\t}\n\n/***/ },\n/* 283 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _isObject2 = __webpack_require__(34);\n\t\n\tvar _isObject3 = _interopRequireDefault(_isObject2);\n\t\n\tvar _isArray2 = __webpack_require__(46);\n\t\n\tvar _isArray3 = _interopRequireDefault(_isArray2);\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _objectUnfreeze = __webpack_require__(753);\n\t\n\tvar _objectUnfreeze2 = _interopRequireDefault(_objectUnfreeze);\n\t\n\tvar _isIterable = __webpack_require__(759);\n\t\n\tvar _isIterable2 = _interopRequireDefault(_isIterable);\n\t\n\tvar _parseStyleName = __webpack_require__(761);\n\t\n\tvar _parseStyleName2 = _interopRequireDefault(_parseStyleName);\n\t\n\tvar _generateAppendClassName = __webpack_require__(758);\n\t\n\tvar _generateAppendClassName2 = _interopRequireDefault(_generateAppendClassName);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar linkElement = function linkElement(element, styles, configuration) {\n\t var appendClassName = void 0,\n\t elementIsFrozen = void 0,\n\t elementShallowCopy = void 0;\n\t\n\t elementShallowCopy = element;\n\t\n\t if (Object.isFrozen && Object.isFrozen(elementShallowCopy)) {\n\t elementIsFrozen = true;\n\t\n\t // https://github.com/facebook/react/blob/v0.13.3/src/classic/element/ReactElement.js#L131\n\t elementShallowCopy = (0, _objectUnfreeze2.default)(elementShallowCopy);\n\t elementShallowCopy.props = (0, _objectUnfreeze2.default)(elementShallowCopy.props);\n\t }\n\t\n\t var styleNames = (0, _parseStyleName2.default)(elementShallowCopy.props.styleName || '', configuration.allowMultiple);\n\t\n\t if (_react2.default.isValidElement(elementShallowCopy.props.children)) {\n\t elementShallowCopy.props.children = linkElement(_react2.default.Children.only(elementShallowCopy.props.children), styles, configuration);\n\t } else if ((0, _isArray3.default)(elementShallowCopy.props.children) || (0, _isIterable2.default)(elementShallowCopy.props.children)) {\n\t elementShallowCopy.props.children = _react2.default.Children.map(elementShallowCopy.props.children, function (node) {\n\t if (_react2.default.isValidElement(node)) {\n\t return linkElement(node, styles, configuration);\n\t } else {\n\t return node;\n\t }\n\t });\n\t }\n\t\n\t if (styleNames.length) {\n\t appendClassName = (0, _generateAppendClassName2.default)(styles, styleNames, configuration.errorWhenNotFound);\n\t\n\t if (appendClassName) {\n\t if (elementShallowCopy.props.className) {\n\t appendClassName = elementShallowCopy.props.className + ' ' + appendClassName;\n\t }\n\t\n\t elementShallowCopy.props.className = appendClassName;\n\t }\n\t }\n\t\n\t delete elementShallowCopy.props.styleName;\n\t\n\t if (elementIsFrozen) {\n\t Object.freeze(elementShallowCopy.props);\n\t Object.freeze(elementShallowCopy);\n\t }\n\t\n\t return elementShallowCopy;\n\t};\n\t\n\t/**\n\t * @param {ReactElement} element\n\t * @param {Object} styles CSS modules class map.\n\t * @param {CSSModules~Options} configuration\n\t */\n\t\n\texports.default = function (element) {\n\t var styles = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t var configuration = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\t\n\t // @see https://github.com/gajus/react-css-modules/pull/30\n\t if (!(0, _isObject3.default)(element)) {\n\t return element;\n\t }\n\t\n\t return linkElement(element, styles, configuration);\n\t};\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 284 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\texports[\"default\"] = _react.PropTypes.shape({\n\t subscribe: _react.PropTypes.func.isRequired,\n\t dispatch: _react.PropTypes.func.isRequired,\n\t getState: _react.PropTypes.func.isRequired\n\t});\n\n/***/ },\n/* 285 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports[\"default\"] = warning;\n\t/**\n\t * Prints a warning in the console if it exists.\n\t *\n\t * @param {String} message The warning message.\n\t * @returns {void}\n\t */\n\tfunction warning(message) {\n\t /* eslint-disable no-console */\n\t if (typeof console !== 'undefined' && typeof console.error === 'function') {\n\t console.error(message);\n\t }\n\t /* eslint-enable no-console */\n\t try {\n\t // This error was thrown as a convenience so that you can use this stack\n\t // to find the callsite that caused this warning to fire.\n\t throw new Error(message);\n\t /* eslint-disable no-empty */\n\t } catch (e) {}\n\t /* eslint-enable no-empty */\n\t}\n\n/***/ },\n/* 286 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t/**\n\t * This action type will be dispatched by the history actions below.\n\t * If you're writing a middleware to watch for navigation events, be sure to\n\t * look for actions of this type.\n\t */\n\tvar CALL_HISTORY_METHOD = exports.CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD';\n\t\n\tfunction updateLocation(method) {\n\t return function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return {\n\t type: CALL_HISTORY_METHOD,\n\t payload: { method: method, args: args }\n\t };\n\t };\n\t}\n\t\n\t/**\n\t * These actions correspond to the history API.\n\t * The associated routerMiddleware will capture these events before they get to\n\t * your reducer and reissue them as the matching function on your history.\n\t */\n\tvar push = exports.push = updateLocation('push');\n\tvar replace = exports.replace = updateLocation('replace');\n\tvar go = exports.go = updateLocation('go');\n\tvar goBack = exports.goBack = updateLocation('goBack');\n\tvar goForward = exports.goForward = updateLocation('goForward');\n\t\n\tvar routerActions = exports.routerActions = { push: push, replace: replace, go: go, goBack: goBack, goForward: goForward };\n\n/***/ },\n/* 287 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\texports.routerReducer = routerReducer;\n\t/**\n\t * This action type will be dispatched when your history\n\t * receives a location change.\n\t */\n\tvar LOCATION_CHANGE = exports.LOCATION_CHANGE = '@@router/LOCATION_CHANGE';\n\t\n\tvar initialState = {\n\t locationBeforeTransitions: null\n\t};\n\t\n\t/**\n\t * This reducer will update the state with the most recent location history\n\t * has transitioned to. This may not be in sync with the router, particularly\n\t * if you have asynchronously-loaded routes, so reading from and relying on\n\t * this state is discouraged.\n\t */\n\tfunction routerReducer() {\n\t var state = arguments.length <= 0 || arguments[0] === undefined ? initialState : arguments[0];\n\t\n\t var _ref = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t var type = _ref.type;\n\t var payload = _ref.payload;\n\t\n\t if (type === LOCATION_CHANGE) {\n\t return _extends({}, state, { locationBeforeTransitions: payload });\n\t }\n\t\n\t return state;\n\t}\n\n/***/ },\n/* 288 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tvar _PropTypes = __webpack_require__(184);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _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\t\n\tvar _React$PropTypes = _react2.default.PropTypes;\n\tvar bool = _React$PropTypes.bool;\n\tvar object = _React$PropTypes.object;\n\tvar string = _React$PropTypes.string;\n\tvar func = _React$PropTypes.func;\n\tvar oneOfType = _React$PropTypes.oneOfType;\n\t\n\t\n\tfunction isLeftClickEvent(event) {\n\t return event.button === 0;\n\t}\n\t\n\tfunction isModifiedEvent(event) {\n\t return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n\t}\n\t\n\t// TODO: De-duplicate against hasAnyProperties in createTransitionManager.\n\tfunction isEmptyObject(object) {\n\t for (var p in object) {\n\t if (Object.prototype.hasOwnProperty.call(object, p)) return false;\n\t }return true;\n\t}\n\t\n\tfunction createLocationDescriptor(to, _ref) {\n\t var query = _ref.query;\n\t var hash = _ref.hash;\n\t var state = _ref.state;\n\t\n\t if (query || hash || state) {\n\t return { pathname: to, query: query, hash: hash, state: state };\n\t }\n\t\n\t return to;\n\t}\n\t\n\t/**\n\t * A is used to create an element that links to a route.\n\t * When that route is active, the link gets the value of its\n\t * activeClassName prop.\n\t *\n\t * For example, assuming you have the following route:\n\t *\n\t * \n\t *\n\t * You could use the following component to link to that route:\n\t *\n\t * \n\t *\n\t * Links may pass along location state and/or query string parameters\n\t * in the state/query props, respectively.\n\t *\n\t * \n\t */\n\tvar Link = _react2.default.createClass({\n\t displayName: 'Link',\n\t\n\t\n\t contextTypes: {\n\t router: _PropTypes.routerShape\n\t },\n\t\n\t propTypes: {\n\t to: oneOfType([string, object]).isRequired,\n\t query: object,\n\t hash: string,\n\t state: object,\n\t activeStyle: object,\n\t activeClassName: string,\n\t onlyActiveOnIndex: bool.isRequired,\n\t onClick: func,\n\t target: string\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t onlyActiveOnIndex: false,\n\t style: {}\n\t };\n\t },\n\t handleClick: function handleClick(event) {\n\t if (this.props.onClick) this.props.onClick(event);\n\t\n\t if (event.defaultPrevented) return;\n\t\n\t !this.context.router ? false ? (0, _invariant2.default)(false, ' s rendered outside of a router context cannot navigate.') : (0, _invariant2.default)(false) : void 0;\n\t\n\t if (isModifiedEvent(event) || !isLeftClickEvent(event)) return;\n\t\n\t // If target prop is set (e.g. to \"_blank\"), let browser handle link.\n\t /* istanbul ignore if: untestable with Karma */\n\t if (this.props.target) return;\n\t\n\t event.preventDefault();\n\t\n\t var _props = this.props;\n\t var to = _props.to;\n\t var query = _props.query;\n\t var hash = _props.hash;\n\t var state = _props.state;\n\t\n\t var location = createLocationDescriptor(to, { query: query, hash: hash, state: state });\n\t\n\t this.context.router.push(location);\n\t },\n\t render: function render() {\n\t var _props2 = this.props;\n\t var to = _props2.to;\n\t var query = _props2.query;\n\t var hash = _props2.hash;\n\t var state = _props2.state;\n\t var activeClassName = _props2.activeClassName;\n\t var activeStyle = _props2.activeStyle;\n\t var onlyActiveOnIndex = _props2.onlyActiveOnIndex;\n\t\n\t var props = _objectWithoutProperties(_props2, ['to', 'query', 'hash', 'state', 'activeClassName', 'activeStyle', 'onlyActiveOnIndex']);\n\t\n\t false ? (0, _routerWarning2.default)(!(query || hash || state), 'the `query`, `hash`, and `state` props on ` ` are deprecated, use ` . http://tiny.cc/router-isActivedeprecated') : void 0;\n\t\n\t // Ignore if rendered outside the context of router, simplifies unit testing.\n\t var router = this.context.router;\n\t\n\t\n\t if (router) {\n\t var location = createLocationDescriptor(to, { query: query, hash: hash, state: state });\n\t props.href = router.createHref(location);\n\t\n\t if (activeClassName || activeStyle != null && !isEmptyObject(activeStyle)) {\n\t if (router.isActive(location, onlyActiveOnIndex)) {\n\t if (activeClassName) {\n\t if (props.className) {\n\t props.className += ' ' + activeClassName;\n\t } else {\n\t props.className = activeClassName;\n\t }\n\t }\n\t\n\t if (activeStyle) props.style = _extends({}, props.style, activeStyle);\n\t }\n\t }\n\t }\n\t\n\t return _react2.default.createElement('a', _extends({}, props, { onClick: this.handleClick }));\n\t }\n\t});\n\t\n\texports.default = Link;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 289 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _invariant = __webpack_require__(20);\n\t\n\tvar _invariant2 = _interopRequireDefault(_invariant);\n\t\n\tvar _RouteUtils = __webpack_require__(62);\n\t\n\tvar _PatternUtils = __webpack_require__(86);\n\t\n\tvar _InternalPropTypes = __webpack_require__(79);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar _React$PropTypes = _react2.default.PropTypes;\n\tvar string = _React$PropTypes.string;\n\tvar object = _React$PropTypes.object;\n\t\n\t/**\n\t * A is used to declare another URL path a client should\n\t * be sent to when they request a given URL.\n\t *\n\t * Redirects are placed alongside routes in the route configuration\n\t * and are traversed in the same manner.\n\t */\n\t\n\tvar Redirect = _react2.default.createClass({\n\t displayName: 'Redirect',\n\t\n\t\n\t statics: {\n\t createRouteFromReactElement: function createRouteFromReactElement(element) {\n\t var route = (0, _RouteUtils.createRouteFromReactElement)(element);\n\t\n\t if (route.from) route.path = route.from;\n\t\n\t route.onEnter = function (nextState, replace) {\n\t var location = nextState.location;\n\t var params = nextState.params;\n\t\n\t\n\t var pathname = void 0;\n\t if (route.to.charAt(0) === '/') {\n\t pathname = (0, _PatternUtils.formatPattern)(route.to, params);\n\t } else if (!route.to) {\n\t pathname = location.pathname;\n\t } else {\n\t var routeIndex = nextState.routes.indexOf(route);\n\t var parentPattern = Redirect.getRoutePattern(nextState.routes, routeIndex - 1);\n\t var pattern = parentPattern.replace(/\\/*$/, '/') + route.to;\n\t pathname = (0, _PatternUtils.formatPattern)(pattern, params);\n\t }\n\t\n\t replace({\n\t pathname: pathname,\n\t query: route.query || location.query,\n\t state: route.state || location.state\n\t });\n\t };\n\t\n\t return route;\n\t },\n\t getRoutePattern: function getRoutePattern(routes, routeIndex) {\n\t var parentPattern = '';\n\t\n\t for (var i = routeIndex; i >= 0; i--) {\n\t var route = routes[i];\n\t var pattern = route.path || '';\n\t\n\t parentPattern = pattern.replace(/\\/*$/, '/') + parentPattern;\n\t\n\t if (pattern.indexOf('/') === 0) break;\n\t }\n\t\n\t return '/' + parentPattern;\n\t }\n\t },\n\t\n\t propTypes: {\n\t path: string,\n\t from: string, // Alias for path\n\t to: string.isRequired,\n\t query: object,\n\t state: object,\n\t onEnter: _InternalPropTypes.falsy,\n\t children: _InternalPropTypes.falsy\n\t },\n\t\n\t /* istanbul ignore next: sanity check */\n\t render: function render() {\n\t true ? false ? (0, _invariant2.default)(false, ' elements are for router configuration only and should not be rendered') : (0, _invariant2.default)(false) : void 0;\n\t }\n\t});\n\t\n\texports.default = Redirect;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 290 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\texports.createRouterObject = createRouterObject;\n\texports.createRoutingHistory = createRoutingHistory;\n\t\n\tvar _deprecateObjectProperties = __webpack_require__(135);\n\t\n\tvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction createRouterObject(history, transitionManager) {\n\t return _extends({}, history, {\n\t setRouteLeaveHook: transitionManager.listenBeforeLeavingRoute,\n\t isActive: transitionManager.isActive\n\t });\n\t}\n\t\n\t// deprecated\n\tfunction createRoutingHistory(history, transitionManager) {\n\t history = _extends({}, history, transitionManager);\n\t\n\t if (false) {\n\t history = (0, _deprecateObjectProperties2.default)(history, '`props.history` and `context.history` are deprecated. Please use `context.router`. http://tiny.cc/router-contextchanges');\n\t }\n\t\n\t return history;\n\t}\n\n/***/ },\n/* 291 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.default = createMemoryHistory;\n\t\n\tvar _useQueries = __webpack_require__(120);\n\t\n\tvar _useQueries2 = _interopRequireDefault(_useQueries);\n\t\n\tvar _useBasename = __webpack_require__(253);\n\t\n\tvar _useBasename2 = _interopRequireDefault(_useBasename);\n\t\n\tvar _createMemoryHistory = __webpack_require__(634);\n\t\n\tvar _createMemoryHistory2 = _interopRequireDefault(_createMemoryHistory);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction createMemoryHistory(options) {\n\t // signatures and type checking differ between `useRoutes` and\n\t // `createMemoryHistory`, have to create `memoryHistory` first because\n\t // `useQueries` doesn't understand the signature\n\t var memoryHistory = (0, _createMemoryHistory2.default)(options);\n\t var createHistory = function createHistory() {\n\t return memoryHistory;\n\t };\n\t var history = (0, _useQueries2.default)((0, _useBasename2.default)(createHistory))(options);\n\t history.__v2_compatible__ = true;\n\t return history;\n\t}\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 292 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\texports.default = function (createHistory) {\n\t var history = void 0;\n\t if (canUseDOM) history = (0, _useRouterHistory2.default)(createHistory)();\n\t return history;\n\t};\n\t\n\tvar _useRouterHistory = __webpack_require__(294);\n\t\n\tvar _useRouterHistory2 = _interopRequireDefault(_useRouterHistory);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 293 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _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\t\n\texports.default = makeStateWithLocation;\n\t\n\tvar _deprecateObjectProperties = __webpack_require__(135);\n\t\n\tvar _routerWarning = __webpack_require__(21);\n\t\n\tvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction makeStateWithLocation(state, location) {\n\t if (false) {\n\t var stateWithLocation = _extends({}, state);\n\t\n\t // I don't use deprecateObjectProperties here because I want to keep the\n\t // same code path between development and production, in that we just\n\t // assign extra properties to the copy of the state object in both cases.\n\t\n\t var _loop = function _loop(prop) {\n\t if (!Object.prototype.hasOwnProperty.call(location, prop)) {\n\t return 'continue';\n\t }\n\t\n\t Object.defineProperty(stateWithLocation, prop, {\n\t get: function get() {\n\t process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, 'Accessing location properties directly from the first argument to `getComponent`, `getComponents`, `getChildRoutes`, and `getIndexRoute` is deprecated. That argument is now the router state (`nextState` or `partialNextState`) rather than the location. To access the location, use `nextState.location` or `partialNextState.location`.') : void 0;\n\t return location[prop];\n\t }\n\t });\n\t };\n\t\n\t for (var prop in location) {\n\t var _ret = _loop(prop);\n\t\n\t if (_ret === 'continue') continue;\n\t }\n\t\n\t return stateWithLocation;\n\t }\n\t\n\t return _extends({}, state, location);\n\t}\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 294 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.default = useRouterHistory;\n\t\n\tvar _useQueries = __webpack_require__(120);\n\t\n\tvar _useQueries2 = _interopRequireDefault(_useQueries);\n\t\n\tvar _useBasename = __webpack_require__(253);\n\t\n\tvar _useBasename2 = _interopRequireDefault(_useBasename);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction useRouterHistory(createHistory) {\n\t return function (options) {\n\t var history = (0, _useQueries2.default)((0, _useBasename2.default)(createHistory))(options);\n\t history.__v2_compatible__ = true;\n\t return history;\n\t };\n\t}\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 295 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule CSSProperty\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * CSS properties which accept numbers but are not in units of \"px\".\n\t */\n\t\n\tvar isUnitlessNumber = {\n\t animationIterationCount: true,\n\t borderImageOutset: true,\n\t borderImageSlice: true,\n\t borderImageWidth: true,\n\t boxFlex: true,\n\t boxFlexGroup: true,\n\t boxOrdinalGroup: true,\n\t columnCount: true,\n\t flex: true,\n\t flexGrow: true,\n\t flexPositive: true,\n\t flexShrink: true,\n\t flexNegative: true,\n\t flexOrder: true,\n\t gridRow: true,\n\t gridColumn: true,\n\t fontWeight: true,\n\t lineClamp: true,\n\t lineHeight: true,\n\t opacity: true,\n\t order: true,\n\t orphans: true,\n\t tabSize: true,\n\t widows: true,\n\t zIndex: true,\n\t zoom: true,\n\t\n\t // SVG-related properties\n\t fillOpacity: true,\n\t floodOpacity: true,\n\t stopOpacity: true,\n\t strokeDasharray: true,\n\t strokeDashoffset: true,\n\t strokeMiterlimit: true,\n\t strokeOpacity: true,\n\t strokeWidth: true\n\t};\n\t\n\t/**\n\t * @param {string} prefix vendor-specific prefix, eg: Webkit\n\t * @param {string} key style name, eg: transitionDuration\n\t * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n\t * WebkitTransitionDuration\n\t */\n\tfunction prefixKey(prefix, key) {\n\t return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n\t}\n\t\n\t/**\n\t * Support style names that may come passed in prefixed by adding permutations\n\t * of vendor prefixes.\n\t */\n\tvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\t\n\t// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n\t// infinite loop, because it iterates over the newly added props too.\n\tObject.keys(isUnitlessNumber).forEach(function (prop) {\n\t prefixes.forEach(function (prefix) {\n\t isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n\t });\n\t});\n\t\n\t/**\n\t * Most style properties can be unset by doing .style[prop] = '' but IE8\n\t * doesn't like doing that with shorthand properties so for the properties that\n\t * IE8 breaks on, which are listed here, we instead unset each of the\n\t * individual properties. See http://bugs.jquery.com/ticket/12385.\n\t * The 4-value 'clock' properties like margin, padding, border-width seem to\n\t * behave without any problems. Curiously, list-style works too without any\n\t * special prodding.\n\t */\n\tvar shorthandPropertyExpansions = {\n\t background: {\n\t backgroundAttachment: true,\n\t backgroundColor: true,\n\t backgroundImage: true,\n\t backgroundPositionX: true,\n\t backgroundPositionY: true,\n\t backgroundRepeat: true\n\t },\n\t backgroundPosition: {\n\t backgroundPositionX: true,\n\t backgroundPositionY: true\n\t },\n\t border: {\n\t borderWidth: true,\n\t borderStyle: true,\n\t borderColor: true\n\t },\n\t borderBottom: {\n\t borderBottomWidth: true,\n\t borderBottomStyle: true,\n\t borderBottomColor: true\n\t },\n\t borderLeft: {\n\t borderLeftWidth: true,\n\t borderLeftStyle: true,\n\t borderLeftColor: true\n\t },\n\t borderRight: {\n\t borderRightWidth: true,\n\t borderRightStyle: true,\n\t borderRightColor: true\n\t },\n\t borderTop: {\n\t borderTopWidth: true,\n\t borderTopStyle: true,\n\t borderTopColor: true\n\t },\n\t font: {\n\t fontStyle: true,\n\t fontVariant: true,\n\t fontWeight: true,\n\t fontSize: true,\n\t lineHeight: true,\n\t fontFamily: true\n\t },\n\t outline: {\n\t outlineWidth: true,\n\t outlineStyle: true,\n\t outlineColor: true\n\t }\n\t};\n\t\n\tvar CSSProperty = {\n\t isUnitlessNumber: isUnitlessNumber,\n\t shorthandPropertyExpansions: shorthandPropertyExpansions\n\t};\n\t\n\tmodule.exports = CSSProperty;\n\n/***/ },\n/* 296 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule CallbackQueue\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5),\n\t _assign = __webpack_require__(11);\n\t\n\tvar PooledClass = __webpack_require__(63);\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * A specialized pseudo-event module to help keep track of components waiting to\n\t * be notified when their DOM representations are available for use.\n\t *\n\t * This implements `PooledClass`, so you should never need to instantiate this.\n\t * Instead, use `CallbackQueue.getPooled()`.\n\t *\n\t * @class ReactMountReady\n\t * @implements PooledClass\n\t * @internal\n\t */\n\tfunction CallbackQueue() {\n\t this._callbacks = null;\n\t this._contexts = null;\n\t}\n\t\n\t_assign(CallbackQueue.prototype, {\n\t\n\t /**\n\t * Enqueues a callback to be invoked when `notifyAll` is invoked.\n\t *\n\t * @param {function} callback Invoked when `notifyAll` is invoked.\n\t * @param {?object} context Context to call `callback` with.\n\t * @internal\n\t */\n\t enqueue: function (callback, context) {\n\t this._callbacks = this._callbacks || [];\n\t this._contexts = this._contexts || [];\n\t this._callbacks.push(callback);\n\t this._contexts.push(context);\n\t },\n\t\n\t /**\n\t * Invokes all enqueued callbacks and clears the queue. This is invoked after\n\t * the DOM representation of a component has been created or updated.\n\t *\n\t * @internal\n\t */\n\t notifyAll: function () {\n\t var callbacks = this._callbacks;\n\t var contexts = this._contexts;\n\t if (callbacks) {\n\t !(callbacks.length === contexts.length) ? false ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n\t this._callbacks = null;\n\t this._contexts = null;\n\t for (var i = 0; i < callbacks.length; i++) {\n\t callbacks[i].call(contexts[i]);\n\t }\n\t callbacks.length = 0;\n\t contexts.length = 0;\n\t }\n\t },\n\t\n\t checkpoint: function () {\n\t return this._callbacks ? this._callbacks.length : 0;\n\t },\n\t\n\t rollback: function (len) {\n\t if (this._callbacks) {\n\t this._callbacks.length = len;\n\t this._contexts.length = len;\n\t }\n\t },\n\t\n\t /**\n\t * Resets the internal queue.\n\t *\n\t * @internal\n\t */\n\t reset: function () {\n\t this._callbacks = null;\n\t this._contexts = null;\n\t },\n\t\n\t /**\n\t * `PooledClass` looks for this.\n\t */\n\t destructor: function () {\n\t this.reset();\n\t }\n\t\n\t});\n\t\n\tPooledClass.addPoolingTo(CallbackQueue);\n\t\n\tmodule.exports = CallbackQueue;\n\n/***/ },\n/* 297 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule DOMPropertyOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(88);\n\tvar ReactDOMComponentTree = __webpack_require__(17);\n\tvar ReactDOMInstrumentation = __webpack_require__(817);\n\tvar ReactInstrumentation = __webpack_require__(31);\n\t\n\tvar quoteAttributeValueForBrowser = __webpack_require__(858);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\n\tvar illegalAttributeNameCache = {};\n\tvar validatedAttributeNameCache = {};\n\t\n\tfunction isAttributeNameSafe(attributeName) {\n\t if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n\t return true;\n\t }\n\t if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n\t return false;\n\t }\n\t if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n\t validatedAttributeNameCache[attributeName] = true;\n\t return true;\n\t }\n\t illegalAttributeNameCache[attributeName] = true;\n\t false ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0;\n\t return false;\n\t}\n\t\n\tfunction shouldIgnoreValue(propertyInfo, value) {\n\t return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n\t}\n\t\n\t/**\n\t * Operations for dealing with DOM properties.\n\t */\n\tvar DOMPropertyOperations = {\n\t\n\t /**\n\t * Creates markup for the ID property.\n\t *\n\t * @param {string} id Unescaped ID.\n\t * @return {string} Markup string.\n\t */\n\t createMarkupForID: function (id) {\n\t return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n\t },\n\t\n\t setAttributeForID: function (node, id) {\n\t node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n\t },\n\t\n\t createMarkupForRoot: function () {\n\t return DOMProperty.ROOT_ATTRIBUTE_NAME + '=\"\"';\n\t },\n\t\n\t setAttributeForRoot: function (node) {\n\t node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, '');\n\t },\n\t\n\t /**\n\t * Creates markup for a property.\n\t *\n\t * @param {string} name\n\t * @param {*} value\n\t * @return {?string} Markup string, or null if the property was invalid.\n\t */\n\t createMarkupForProperty: function (name, value) {\n\t if (false) {\n\t ReactDOMInstrumentation.debugTool.onCreateMarkupForProperty(name, value);\n\t }\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t if (shouldIgnoreValue(propertyInfo, value)) {\n\t return '';\n\t }\n\t var attributeName = propertyInfo.attributeName;\n\t if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n\t return attributeName + '=\"\"';\n\t }\n\t return attributeName + '=' + quoteAttributeValueForBrowser(value);\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t if (value == null) {\n\t return '';\n\t }\n\t return name + '=' + quoteAttributeValueForBrowser(value);\n\t }\n\t return null;\n\t },\n\t\n\t /**\n\t * Creates markup for a custom property.\n\t *\n\t * @param {string} name\n\t * @param {*} value\n\t * @return {string} Markup string, or empty string if the property was invalid.\n\t */\n\t createMarkupForCustomAttribute: function (name, value) {\n\t if (!isAttributeNameSafe(name) || value == null) {\n\t return '';\n\t }\n\t return name + '=' + quoteAttributeValueForBrowser(value);\n\t },\n\t\n\t /**\n\t * Sets the value for a property on a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t * @param {*} value\n\t */\n\t setValueForProperty: function (node, name, value) {\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t var mutationMethod = propertyInfo.mutationMethod;\n\t if (mutationMethod) {\n\t mutationMethod(node, value);\n\t } else if (shouldIgnoreValue(propertyInfo, value)) {\n\t this.deleteValueForProperty(node, name);\n\t return;\n\t } else if (propertyInfo.mustUseProperty) {\n\t // Contrary to `setAttribute`, object properties are properly\n\t // `toString`ed by IE8/9.\n\t node[propertyInfo.propertyName] = value;\n\t } else {\n\t var attributeName = propertyInfo.attributeName;\n\t var namespace = propertyInfo.attributeNamespace;\n\t // `setAttribute` with objects becomes only `[object]` in IE8/9,\n\t // ('' + value) makes it output the correct toString()-value.\n\t if (namespace) {\n\t node.setAttributeNS(namespace, attributeName, '' + value);\n\t } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n\t node.setAttribute(attributeName, '');\n\t } else {\n\t node.setAttribute(attributeName, '' + value);\n\t }\n\t }\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t DOMPropertyOperations.setValueForAttribute(node, name, value);\n\t return;\n\t }\n\t\n\t if (false) {\n\t ReactDOMInstrumentation.debugTool.onSetValueForProperty(node, name, value);\n\t var payload = {};\n\t payload[name] = value;\n\t ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\n\t }\n\t },\n\t\n\t setValueForAttribute: function (node, name, value) {\n\t if (!isAttributeNameSafe(name)) {\n\t return;\n\t }\n\t if (value == null) {\n\t node.removeAttribute(name);\n\t } else {\n\t node.setAttribute(name, '' + value);\n\t }\n\t\n\t if (false) {\n\t var payload = {};\n\t payload[name] = value;\n\t ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\n\t }\n\t },\n\t\n\t /**\n\t * Deletes an attributes from a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t */\n\t deleteValueForAttribute: function (node, name) {\n\t node.removeAttribute(name);\n\t if (false) {\n\t ReactDOMInstrumentation.debugTool.onDeleteValueForProperty(node, name);\n\t ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n\t }\n\t },\n\t\n\t /**\n\t * Deletes the value for a property on a node.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} name\n\t */\n\t deleteValueForProperty: function (node, name) {\n\t var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n\t if (propertyInfo) {\n\t var mutationMethod = propertyInfo.mutationMethod;\n\t if (mutationMethod) {\n\t mutationMethod(node, undefined);\n\t } else if (propertyInfo.mustUseProperty) {\n\t var propName = propertyInfo.propertyName;\n\t if (propertyInfo.hasBooleanValue) {\n\t node[propName] = false;\n\t } else {\n\t node[propName] = '';\n\t }\n\t } else {\n\t node.removeAttribute(propertyInfo.attributeName);\n\t }\n\t } else if (DOMProperty.isCustomAttribute(name)) {\n\t node.removeAttribute(name);\n\t }\n\t\n\t if (false) {\n\t ReactDOMInstrumentation.debugTool.onDeleteValueForProperty(node, name);\n\t ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = DOMPropertyOperations;\n\n/***/ },\n/* 298 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactChildren\n\t */\n\t\n\t'use strict';\n\t\n\tvar PooledClass = __webpack_require__(63);\n\tvar ReactElement = __webpack_require__(48);\n\t\n\tvar emptyFunction = __webpack_require__(39);\n\tvar traverseAllChildren = __webpack_require__(207);\n\t\n\tvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n\tvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\t\n\tvar userProvidedKeyEscapeRegex = /\\/+/g;\n\tfunction escapeUserProvidedKey(text) {\n\t return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n\t}\n\t\n\t/**\n\t * PooledClass representing the bookkeeping associated with performing a child\n\t * traversal. Allows avoiding binding callbacks.\n\t *\n\t * @constructor ForEachBookKeeping\n\t * @param {!function} forEachFunction Function to perform traversal with.\n\t * @param {?*} forEachContext Context to perform context with.\n\t */\n\tfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n\t this.func = forEachFunction;\n\t this.context = forEachContext;\n\t this.count = 0;\n\t}\n\tForEachBookKeeping.prototype.destructor = function () {\n\t this.func = null;\n\t this.context = null;\n\t this.count = 0;\n\t};\n\tPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\t\n\tfunction forEachSingleChild(bookKeeping, child, name) {\n\t var func = bookKeeping.func;\n\t var context = bookKeeping.context;\n\t\n\t func.call(context, child, bookKeeping.count++);\n\t}\n\t\n\t/**\n\t * Iterates through children that are typically specified as `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n\t *\n\t * The provided forEachFunc(child, index) will be called for each\n\t * leaf child.\n\t *\n\t * @param {?*} children Children tree container.\n\t * @param {function(*, int)} forEachFunc\n\t * @param {*} forEachContext Context for forEachContext.\n\t */\n\tfunction forEachChildren(children, forEachFunc, forEachContext) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n\t traverseAllChildren(children, forEachSingleChild, traverseContext);\n\t ForEachBookKeeping.release(traverseContext);\n\t}\n\t\n\t/**\n\t * PooledClass representing the bookkeeping associated with performing a child\n\t * mapping. Allows avoiding binding callbacks.\n\t *\n\t * @constructor MapBookKeeping\n\t * @param {!*} mapResult Object containing the ordered map of results.\n\t * @param {!function} mapFunction Function to perform mapping with.\n\t * @param {?*} mapContext Context to perform mapping with.\n\t */\n\tfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n\t this.result = mapResult;\n\t this.keyPrefix = keyPrefix;\n\t this.func = mapFunction;\n\t this.context = mapContext;\n\t this.count = 0;\n\t}\n\tMapBookKeeping.prototype.destructor = function () {\n\t this.result = null;\n\t this.keyPrefix = null;\n\t this.func = null;\n\t this.context = null;\n\t this.count = 0;\n\t};\n\tPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\t\n\tfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n\t var result = bookKeeping.result;\n\t var keyPrefix = bookKeeping.keyPrefix;\n\t var func = bookKeeping.func;\n\t var context = bookKeeping.context;\n\t\n\t\n\t var mappedChild = func.call(context, child, bookKeeping.count++);\n\t if (Array.isArray(mappedChild)) {\n\t mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n\t } else if (mappedChild != null) {\n\t if (ReactElement.isValidElement(mappedChild)) {\n\t mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n\t // Keep both the (mapped) and old keys if they differ, just as\n\t // traverseAllChildren used to do for objects as children\n\t keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n\t }\n\t result.push(mappedChild);\n\t }\n\t}\n\t\n\tfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n\t var escapedPrefix = '';\n\t if (prefix != null) {\n\t escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n\t }\n\t var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n\t traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n\t MapBookKeeping.release(traverseContext);\n\t}\n\t\n\t/**\n\t * Maps children that are typically specified as `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n\t *\n\t * The provided mapFunction(child, key, index) will be called for each\n\t * leaf child.\n\t *\n\t * @param {?*} children Children tree container.\n\t * @param {function(*, int)} func The map function.\n\t * @param {*} context Context for mapFunction.\n\t * @return {object} Object containing the ordered map of results.\n\t */\n\tfunction mapChildren(children, func, context) {\n\t if (children == null) {\n\t return children;\n\t }\n\t var result = [];\n\t mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n\t return result;\n\t}\n\t\n\tfunction forEachSingleChildDummy(traverseContext, child, name) {\n\t return null;\n\t}\n\t\n\t/**\n\t * Count the number of children that are typically specified as\n\t * `props.children`.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n\t *\n\t * @param {?*} children Children tree container.\n\t * @return {number} The number of children.\n\t */\n\tfunction countChildren(children, context) {\n\t return traverseAllChildren(children, forEachSingleChildDummy, null);\n\t}\n\t\n\t/**\n\t * Flatten a children object (typically specified as `props.children`) and\n\t * return an array with appropriately re-keyed children.\n\t *\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n\t */\n\tfunction toArray(children) {\n\t var result = [];\n\t mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n\t return result;\n\t}\n\t\n\tvar ReactChildren = {\n\t forEach: forEachChildren,\n\t map: mapChildren,\n\t mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n\t count: countChildren,\n\t toArray: toArray\n\t};\n\t\n\tmodule.exports = ReactChildren;\n\n/***/ },\n/* 299 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactClass\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5),\n\t _assign = __webpack_require__(11);\n\t\n\tvar ReactComponent = __webpack_require__(192);\n\tvar ReactElement = __webpack_require__(48);\n\tvar ReactPropTypeLocations = __webpack_require__(198);\n\tvar ReactPropTypeLocationNames = __webpack_require__(197);\n\tvar ReactNoopUpdateQueue = __webpack_require__(196);\n\t\n\tvar emptyObject = __webpack_require__(94);\n\tvar invariant = __webpack_require__(3);\n\tvar keyMirror = __webpack_require__(117);\n\tvar keyOf = __webpack_require__(60);\n\tvar warning = __webpack_require__(6);\n\t\n\tvar MIXINS_KEY = keyOf({ mixins: null });\n\t\n\t/**\n\t * Policies that describe methods in `ReactClassInterface`.\n\t */\n\tvar SpecPolicy = keyMirror({\n\t /**\n\t * These methods may be defined only once by the class specification or mixin.\n\t */\n\t DEFINE_ONCE: null,\n\t /**\n\t * These methods may be defined by both the class specification and mixins.\n\t * Subsequent definitions will be chained. These methods must return void.\n\t */\n\t DEFINE_MANY: null,\n\t /**\n\t * These methods are overriding the base class.\n\t */\n\t OVERRIDE_BASE: null,\n\t /**\n\t * These methods are similar to DEFINE_MANY, except we assume they return\n\t * objects. We try to merge the keys of the return values of all the mixed in\n\t * functions. If there is a key conflict we throw.\n\t */\n\t DEFINE_MANY_MERGED: null\n\t});\n\t\n\tvar injectedMixins = [];\n\t\n\t/**\n\t * Composite components are higher-level components that compose other composite\n\t * or host components.\n\t *\n\t * To create a new type of `ReactClass`, pass a specification of\n\t * your new class to `React.createClass`. The only requirement of your class\n\t * specification is that you implement a `render` method.\n\t *\n\t * var MyComponent = React.createClass({\n\t * render: function() {\n\t * return Hello World
;\n\t * }\n\t * });\n\t *\n\t * The class specification supports a specific protocol of methods that have\n\t * special meaning (e.g. `render`). See `ReactClassInterface` for\n\t * more the comprehensive protocol. Any other properties and methods in the\n\t * class specification will be available on the prototype.\n\t *\n\t * @interface ReactClassInterface\n\t * @internal\n\t */\n\tvar ReactClassInterface = {\n\t\n\t /**\n\t * An array of Mixin objects to include when defining your component.\n\t *\n\t * @type {array}\n\t * @optional\n\t */\n\t mixins: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * An object containing properties and methods that should be defined on\n\t * the component's constructor instead of its prototype (static methods).\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t statics: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Definition of prop types for this component.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t propTypes: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Definition of context types for this component.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t contextTypes: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Definition of context types this component sets for its children.\n\t *\n\t * @type {object}\n\t * @optional\n\t */\n\t childContextTypes: SpecPolicy.DEFINE_MANY,\n\t\n\t // ==== Definition methods ====\n\t\n\t /**\n\t * Invoked when the component is mounted. Values in the mapping will be set on\n\t * `this.props` if that prop is not specified (i.e. using an `in` check).\n\t *\n\t * This method is invoked before `getInitialState` and therefore cannot rely\n\t * on `this.state` or use `this.setState`.\n\t *\n\t * @return {object}\n\t * @optional\n\t */\n\t getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED,\n\t\n\t /**\n\t * Invoked once before the component is mounted. The return value will be used\n\t * as the initial value of `this.state`.\n\t *\n\t * getInitialState: function() {\n\t * return {\n\t * isOn: false,\n\t * fooBaz: new BazFoo()\n\t * }\n\t * }\n\t *\n\t * @return {object}\n\t * @optional\n\t */\n\t getInitialState: SpecPolicy.DEFINE_MANY_MERGED,\n\t\n\t /**\n\t * @return {object}\n\t * @optional\n\t */\n\t getChildContext: SpecPolicy.DEFINE_MANY_MERGED,\n\t\n\t /**\n\t * Uses props from `this.props` and state from `this.state` to render the\n\t * structure of the component.\n\t *\n\t * No guarantees are made about when or how often this method is invoked, so\n\t * it must not have side effects.\n\t *\n\t * render: function() {\n\t * var name = this.props.name;\n\t * return Hello, {name}!
;\n\t * }\n\t *\n\t * @return {ReactComponent}\n\t * @nosideeffects\n\t * @required\n\t */\n\t render: SpecPolicy.DEFINE_ONCE,\n\t\n\t // ==== Delegate methods ====\n\t\n\t /**\n\t * Invoked when the component is initially created and about to be mounted.\n\t * This may have side effects, but any external subscriptions or data created\n\t * by this method must be cleaned up in `componentWillUnmount`.\n\t *\n\t * @optional\n\t */\n\t componentWillMount: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Invoked when the component has been mounted and has a DOM representation.\n\t * However, there is no guarantee that the DOM node is in the document.\n\t *\n\t * Use this as an opportunity to operate on the DOM when the component has\n\t * been mounted (initialized and rendered) for the first time.\n\t *\n\t * @param {DOMElement} rootNode DOM element representing the component.\n\t * @optional\n\t */\n\t componentDidMount: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Invoked before the component receives new props.\n\t *\n\t * Use this as an opportunity to react to a prop transition by updating the\n\t * state using `this.setState`. Current props are accessed via `this.props`.\n\t *\n\t * componentWillReceiveProps: function(nextProps, nextContext) {\n\t * this.setState({\n\t * likesIncreasing: nextProps.likeCount > this.props.likeCount\n\t * });\n\t * }\n\t *\n\t * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n\t * transition may cause a state change, but the opposite is not true. If you\n\t * need it, you are probably looking for `componentWillUpdate`.\n\t *\n\t * @param {object} nextProps\n\t * @optional\n\t */\n\t componentWillReceiveProps: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Invoked while deciding if the component should be updated as a result of\n\t * receiving new props, state and/or context.\n\t *\n\t * Use this as an opportunity to `return false` when you're certain that the\n\t * transition to the new props/state/context will not require a component\n\t * update.\n\t *\n\t * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n\t * return !equal(nextProps, this.props) ||\n\t * !equal(nextState, this.state) ||\n\t * !equal(nextContext, this.context);\n\t * }\n\t *\n\t * @param {object} nextProps\n\t * @param {?object} nextState\n\t * @param {?object} nextContext\n\t * @return {boolean} True if the component should update.\n\t * @optional\n\t */\n\t shouldComponentUpdate: SpecPolicy.DEFINE_ONCE,\n\t\n\t /**\n\t * Invoked when the component is about to update due to a transition from\n\t * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n\t * and `nextContext`.\n\t *\n\t * Use this as an opportunity to perform preparation before an update occurs.\n\t *\n\t * NOTE: You **cannot** use `this.setState()` in this method.\n\t *\n\t * @param {object} nextProps\n\t * @param {?object} nextState\n\t * @param {?object} nextContext\n\t * @param {ReactReconcileTransaction} transaction\n\t * @optional\n\t */\n\t componentWillUpdate: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Invoked when the component's DOM representation has been updated.\n\t *\n\t * Use this as an opportunity to operate on the DOM when the component has\n\t * been updated.\n\t *\n\t * @param {object} prevProps\n\t * @param {?object} prevState\n\t * @param {?object} prevContext\n\t * @param {DOMElement} rootNode DOM element representing the component.\n\t * @optional\n\t */\n\t componentDidUpdate: SpecPolicy.DEFINE_MANY,\n\t\n\t /**\n\t * Invoked when the component is about to be removed from its parent and have\n\t * its DOM representation destroyed.\n\t *\n\t * Use this as an opportunity to deallocate any external resources.\n\t *\n\t * NOTE: There is no `componentDidUnmount` since your component will have been\n\t * destroyed by that point.\n\t *\n\t * @optional\n\t */\n\t componentWillUnmount: SpecPolicy.DEFINE_MANY,\n\t\n\t // ==== Advanced methods ====\n\t\n\t /**\n\t * Updates the component's currently mounted DOM representation.\n\t *\n\t * By default, this implements React's rendering and reconciliation algorithm.\n\t * Sophisticated clients may wish to override this.\n\t *\n\t * @param {ReactReconcileTransaction} transaction\n\t * @internal\n\t * @overridable\n\t */\n\t updateComponent: SpecPolicy.OVERRIDE_BASE\n\t\n\t};\n\t\n\t/**\n\t * Mapping from class specification keys to special processing functions.\n\t *\n\t * Although these are declared like instance properties in the specification\n\t * when defining classes using `React.createClass`, they are actually static\n\t * and are accessible on the constructor instead of the prototype. Despite\n\t * being static, they must be defined outside of the \"statics\" key under\n\t * which all other static methods are defined.\n\t */\n\tvar RESERVED_SPEC_KEYS = {\n\t displayName: function (Constructor, displayName) {\n\t Constructor.displayName = displayName;\n\t },\n\t mixins: function (Constructor, mixins) {\n\t if (mixins) {\n\t for (var i = 0; i < mixins.length; i++) {\n\t mixSpecIntoComponent(Constructor, mixins[i]);\n\t }\n\t }\n\t },\n\t childContextTypes: function (Constructor, childContextTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, childContextTypes, ReactPropTypeLocations.childContext);\n\t }\n\t Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);\n\t },\n\t contextTypes: function (Constructor, contextTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, contextTypes, ReactPropTypeLocations.context);\n\t }\n\t Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes);\n\t },\n\t /**\n\t * Special case getDefaultProps which should move into statics but requires\n\t * automatic merging.\n\t */\n\t getDefaultProps: function (Constructor, getDefaultProps) {\n\t if (Constructor.getDefaultProps) {\n\t Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);\n\t } else {\n\t Constructor.getDefaultProps = getDefaultProps;\n\t }\n\t },\n\t propTypes: function (Constructor, propTypes) {\n\t if (false) {\n\t validateTypeDef(Constructor, propTypes, ReactPropTypeLocations.prop);\n\t }\n\t Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n\t },\n\t statics: function (Constructor, statics) {\n\t mixStaticSpecIntoComponent(Constructor, statics);\n\t },\n\t autobind: function () {} };\n\t\n\t// noop\n\tfunction validateTypeDef(Constructor, typeDef, location) {\n\t for (var propName in typeDef) {\n\t if (typeDef.hasOwnProperty(propName)) {\n\t // use a warning instead of an invariant so components\n\t // don't show up in prod but only in __DEV__\n\t 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) : void 0;\n\t }\n\t }\n\t}\n\t\n\tfunction validateMethodOverride(isAlreadyDefined, name) {\n\t var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\t\n\t // Disallow overriding of base class methods unless explicitly allowed.\n\t if (ReactClassMixin.hasOwnProperty(name)) {\n\t !(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) : _prodInvariant('73', name) : void 0;\n\t }\n\t\n\t // Disallow defining methods more than once unless explicitly allowed.\n\t if (isAlreadyDefined) {\n\t !(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) : _prodInvariant('74', name) : void 0;\n\t }\n\t}\n\t\n\t/**\n\t * Mixin helper which handles policy validation and reserved\n\t * specification keys when building React classes.\n\t */\n\tfunction mixSpecIntoComponent(Constructor, spec) {\n\t if (!spec) {\n\t if (false) {\n\t var typeofSpec = typeof spec;\n\t var isMixinValid = typeofSpec === 'object' && spec !== null;\n\t\n\t process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;\n\t }\n\t\n\t return;\n\t }\n\t\n\t !(typeof spec !== 'function') ? false ? invariant(false, 'ReactClass: You\\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0;\n\t !!ReactElement.isValidElement(spec) ? false ? invariant(false, 'ReactClass: You\\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0;\n\t\n\t var proto = Constructor.prototype;\n\t var autoBindPairs = proto.__reactAutoBindPairs;\n\t\n\t // By handling mixins before any other properties, we ensure the same\n\t // chaining order is applied to methods with DEFINE_MANY policy, whether\n\t // mixins are listed before or after these methods in the spec.\n\t if (spec.hasOwnProperty(MIXINS_KEY)) {\n\t RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n\t }\n\t\n\t for (var name in spec) {\n\t if (!spec.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t\n\t if (name === MIXINS_KEY) {\n\t // We have already handled mixins in a special case above.\n\t continue;\n\t }\n\t\n\t var property = spec[name];\n\t var isAlreadyDefined = proto.hasOwnProperty(name);\n\t validateMethodOverride(isAlreadyDefined, name);\n\t\n\t if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n\t RESERVED_SPEC_KEYS[name](Constructor, property);\n\t } else {\n\t // Setup methods on prototype:\n\t // The following member methods should not be automatically bound:\n\t // 1. Expected ReactClass methods (in the \"interface\").\n\t // 2. Overridden methods (that were mixed in).\n\t var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n\t var isFunction = typeof property === 'function';\n\t var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\t\n\t if (shouldAutoBind) {\n\t autoBindPairs.push(name, property);\n\t proto[name] = property;\n\t } else {\n\t if (isAlreadyDefined) {\n\t var specPolicy = ReactClassInterface[name];\n\t\n\t // These cases should already be caught by validateMethodOverride.\n\t !(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) : _prodInvariant('77', specPolicy, name) : void 0;\n\t\n\t // For methods which are defined more than once, call the existing\n\t // methods before calling the new property, merging if appropriate.\n\t if (specPolicy === SpecPolicy.DEFINE_MANY_MERGED) {\n\t proto[name] = createMergedResultFunction(proto[name], property);\n\t } else if (specPolicy === SpecPolicy.DEFINE_MANY) {\n\t proto[name] = createChainedFunction(proto[name], property);\n\t }\n\t } else {\n\t proto[name] = property;\n\t if (false) {\n\t // Add verbose displayName to the function, which helps when looking\n\t // at profiling tools.\n\t if (typeof property === 'function' && spec.displayName) {\n\t proto[name].displayName = spec.displayName + '_' + name;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }\n\t}\n\t\n\tfunction mixStaticSpecIntoComponent(Constructor, statics) {\n\t if (!statics) {\n\t return;\n\t }\n\t for (var name in statics) {\n\t var property = statics[name];\n\t if (!statics.hasOwnProperty(name)) {\n\t continue;\n\t }\n\t\n\t var isReserved = name in RESERVED_SPEC_KEYS;\n\t !!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) : _prodInvariant('78', name) : void 0;\n\t\n\t var isInherited = name in Constructor;\n\t !!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) : _prodInvariant('79', name) : void 0;\n\t Constructor[name] = property;\n\t }\n\t}\n\t\n\t/**\n\t * Merge two objects, but throw if both contain the same key.\n\t *\n\t * @param {object} one The first object, which is mutated.\n\t * @param {object} two The second object\n\t * @return {object} one after it has been mutated to contain everything in two.\n\t */\n\tfunction mergeIntoWithNoDuplicateKeys(one, two) {\n\t !(one && two && typeof one === 'object' && typeof two === 'object') ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0;\n\t\n\t for (var key in two) {\n\t if (two.hasOwnProperty(key)) {\n\t !(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) : _prodInvariant('81', key) : void 0;\n\t one[key] = two[key];\n\t }\n\t }\n\t return one;\n\t}\n\t\n\t/**\n\t * Creates a function that invokes two functions and merges their return values.\n\t *\n\t * @param {function} one Function to invoke first.\n\t * @param {function} two Function to invoke second.\n\t * @return {function} Function that invokes the two argument functions.\n\t * @private\n\t */\n\tfunction createMergedResultFunction(one, two) {\n\t return function mergedResult() {\n\t var a = one.apply(this, arguments);\n\t var b = two.apply(this, arguments);\n\t if (a == null) {\n\t return b;\n\t } else if (b == null) {\n\t return a;\n\t }\n\t var c = {};\n\t mergeIntoWithNoDuplicateKeys(c, a);\n\t mergeIntoWithNoDuplicateKeys(c, b);\n\t return c;\n\t };\n\t}\n\t\n\t/**\n\t * Creates a function that invokes two functions and ignores their return vales.\n\t *\n\t * @param {function} one Function to invoke first.\n\t * @param {function} two Function to invoke second.\n\t * @return {function} Function that invokes the two argument functions.\n\t * @private\n\t */\n\tfunction createChainedFunction(one, two) {\n\t return function chainedFunction() {\n\t one.apply(this, arguments);\n\t two.apply(this, arguments);\n\t };\n\t}\n\t\n\t/**\n\t * Binds a method to the component.\n\t *\n\t * @param {object} component Component whose method is going to be bound.\n\t * @param {function} method Method to be bound.\n\t * @return {function} The bound method.\n\t */\n\tfunction bindAutoBindMethod(component, method) {\n\t var boundMethod = method.bind(component);\n\t if (false) {\n\t boundMethod.__reactBoundContext = component;\n\t boundMethod.__reactBoundMethod = method;\n\t boundMethod.__reactBoundArguments = null;\n\t var componentName = component.constructor.displayName;\n\t var _bind = boundMethod.bind;\n\t boundMethod.bind = function (newThis) {\n\t for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t args[_key - 1] = arguments[_key];\n\t }\n\t\n\t // User is trying to bind() an autobound method; we effectively will\n\t // ignore the value of \"this\" that the user is trying to use, so\n\t // let's warn.\n\t if (newThis !== component && newThis !== null) {\n\t process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;\n\t } else if (!args.length) {\n\t 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) : void 0;\n\t return boundMethod;\n\t }\n\t var reboundMethod = _bind.apply(boundMethod, arguments);\n\t reboundMethod.__reactBoundContext = component;\n\t reboundMethod.__reactBoundMethod = method;\n\t reboundMethod.__reactBoundArguments = args;\n\t return reboundMethod;\n\t };\n\t }\n\t return boundMethod;\n\t}\n\t\n\t/**\n\t * Binds all auto-bound methods in a component.\n\t *\n\t * @param {object} component Component whose method is going to be bound.\n\t */\n\tfunction bindAutoBindMethods(component) {\n\t var pairs = component.__reactAutoBindPairs;\n\t for (var i = 0; i < pairs.length; i += 2) {\n\t var autoBindKey = pairs[i];\n\t var method = pairs[i + 1];\n\t component[autoBindKey] = bindAutoBindMethod(component, method);\n\t }\n\t}\n\t\n\t/**\n\t * Add more to the ReactClass base class. These are all legacy features and\n\t * therefore not already part of the modern ReactComponent.\n\t */\n\tvar ReactClassMixin = {\n\t\n\t /**\n\t * TODO: This will be deprecated because state should always keep a consistent\n\t * type signature and the only use case for this, is to avoid that.\n\t */\n\t replaceState: function (newState, callback) {\n\t this.updater.enqueueReplaceState(this, newState);\n\t if (callback) {\n\t this.updater.enqueueCallback(this, callback, 'replaceState');\n\t }\n\t },\n\t\n\t /**\n\t * Checks whether or not this composite component is mounted.\n\t * @return {boolean} True if mounted, false otherwise.\n\t * @protected\n\t * @final\n\t */\n\t isMounted: function () {\n\t return this.updater.isMounted(this);\n\t }\n\t};\n\t\n\tvar ReactClassComponent = function () {};\n\t_assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\t\n\t/**\n\t * Module for creating composite components.\n\t *\n\t * @class ReactClass\n\t */\n\tvar ReactClass = {\n\t\n\t /**\n\t * Creates a composite component class given a class specification.\n\t * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n\t *\n\t * @param {object} spec Class specification (which must define `render`).\n\t * @return {function} Component constructor function.\n\t * @public\n\t */\n\t createClass: function (spec) {\n\t var Constructor = function (props, context, updater) {\n\t // This constructor gets overridden by mocks. The argument is used\n\t // by mocks to assert on what gets mounted.\n\t\n\t if (false) {\n\t 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') : void 0;\n\t }\n\t\n\t // Wire up auto-binding\n\t if (this.__reactAutoBindPairs.length) {\n\t bindAutoBindMethods(this);\n\t }\n\t\n\t this.props = props;\n\t this.context = context;\n\t this.refs = emptyObject;\n\t this.updater = updater || ReactNoopUpdateQueue;\n\t\n\t this.state = null;\n\t\n\t // ReactClasses doesn't have constructors. Instead, they use the\n\t // getInitialState and componentWillMount methods for initialization.\n\t\n\t var initialState = this.getInitialState ? this.getInitialState() : null;\n\t if (false) {\n\t // We allow auto-mocks to proceed as if they're returning null.\n\t if (initialState === undefined && this.getInitialState._isMockFunction) {\n\t // This is probably bad practice. Consider warning here and\n\t // deprecating this convenience.\n\t initialState = null;\n\t }\n\t }\n\t !(typeof initialState === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0;\n\t\n\t this.state = initialState;\n\t };\n\t Constructor.prototype = new ReactClassComponent();\n\t Constructor.prototype.constructor = Constructor;\n\t Constructor.prototype.__reactAutoBindPairs = [];\n\t\n\t injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\t\n\t mixSpecIntoComponent(Constructor, spec);\n\t\n\t // Initialize the defaultProps property after all mixins have been merged.\n\t if (Constructor.getDefaultProps) {\n\t Constructor.defaultProps = Constructor.getDefaultProps();\n\t }\n\t\n\t if (false) {\n\t // This is a tag to indicate that the use of these method names is ok,\n\t // since it's used with createClass. If it's not, then it's likely a\n\t // mistake so we'll warn you to use the static property, property\n\t // initializer or constructor respectively.\n\t if (Constructor.getDefaultProps) {\n\t Constructor.getDefaultProps.isReactClassApproved = {};\n\t }\n\t if (Constructor.prototype.getInitialState) {\n\t Constructor.prototype.getInitialState.isReactClassApproved = {};\n\t }\n\t }\n\t\n\t !Constructor.prototype.render ? false ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0;\n\t\n\t if (false) {\n\t 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') : void 0;\n\t process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;\n\t }\n\t\n\t // Reduce time spent doing lookups by setting these on the prototype.\n\t for (var methodName in ReactClassInterface) {\n\t if (!Constructor.prototype[methodName]) {\n\t Constructor.prototype[methodName] = null;\n\t }\n\t }\n\t\n\t return Constructor;\n\t },\n\t\n\t injection: {\n\t injectMixin: function (mixin) {\n\t injectedMixins.push(mixin);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = ReactClass;\n\n/***/ },\n/* 300 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactComponentBrowserEnvironment\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMChildrenOperations = __webpack_require__(186);\n\tvar ReactDOMIDOperations = __webpack_require__(815);\n\t\n\t/**\n\t * Abstracts away all functionality of the reconciler that requires knowledge of\n\t * the browser context. TODO: These callers should be refactored to avoid the\n\t * need for this injection.\n\t */\n\tvar ReactComponentBrowserEnvironment = {\n\t\n\t processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\t\n\t replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup,\n\t\n\t /**\n\t * If a particular environment requires that some resources be cleaned up,\n\t * specify this in the injected Mixin. In the DOM, we would likely want to\n\t * purge any cached node ID lookups.\n\t *\n\t * @private\n\t */\n\t unmountIDFromEnvironment: function (rootNodeID) {}\n\t\n\t};\n\t\n\tmodule.exports = ReactComponentBrowserEnvironment;\n\n/***/ },\n/* 301 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2015-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactDOMComponentFlags\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentFlags = {\n\t hasCachedChildNodes: 1 << 0\n\t};\n\t\n\tmodule.exports = ReactDOMComponentFlags;\n\n/***/ },\n/* 302 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule ReactDOMSelect\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(11);\n\t\n\tvar DisabledInputUtils = __webpack_require__(136);\n\tvar LinkedValueUtils = __webpack_require__(191);\n\tvar ReactDOMComponentTree = __webpack_require__(17);\n\tvar ReactUpdates = __webpack_require__(49);\n\t\n\tvar warning = __webpack_require__(6);\n\t\n\tvar didWarnValueLink = false;\n\tvar didWarnValueDefaultValue = false;\n\t\n\tfunction updateOptionsIfPendingUpdateAndMounted() {\n\t if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n\t this._wrapperState.pendingUpdate = false;\n\t\n\t var props = this._currentElement.props;\n\t var value = LinkedValueUtils.getValue(props);\n\t\n\t if (value != null) {\n\t updateOptions(this, Boolean(props.multiple), value);\n\t }\n\t }\n\t}\n\t\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\tvar valuePropNames = ['value', 'defaultValue'];\n\t\n\t/**\n\t * Validation function for `value` and `defaultValue`.\n\t * @private\n\t */\n\tfunction checkSelectPropTypes(inst, props) {\n\t var owner = inst._currentElement._owner;\n\t LinkedValueUtils.checkPropTypes('select', props, owner);\n\t\n\t if (props.valueLink !== undefined && !didWarnValueLink) {\n\t false ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;\n\t didWarnValueLink = true;\n\t }\n\t\n\t for (var i = 0; i < valuePropNames.length; i++) {\n\t var propName = valuePropNames[i];\n\t if (props[propName] == null) {\n\t continue;\n\t }\n\t if (props.multiple) {\n\t false ? warning(Array.isArray(props[propName]), 'The `%s` prop supplied to must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n\t } else {\n\t false ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to