dubdiff/dist/browser-bundle.js

23393 lines
2.0 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmory imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1213);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';module.exports=__webpack_require__(950);
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.objectDiff=exports.numberToWord=exports.numberToWordMap=exports.keyboardKey=exports.SUI=exports.META=exports.leven=exports.isBrowser=exports.getElementType=exports.getUnhandledProps=exports.makeDebugger=exports.debug=exports.customPropTypes=exports.useVerticalAlignProp=exports.useTextAlignProp=exports.useWidthProp=exports.useKeyOrValueAndKey=exports.useValueAndKey=exports.useKeyOnly=exports.childrenUtils=exports.AutoControlledComponent=undefined;var _AutoControlledComponent=__webpack_require__(1096);Object.defineProperty(exports,'AutoControlledComponent',{enumerable:true,get:function get(){return _interopRequireDefault(_AutoControlledComponent).default;}});var _classNameBuilders=__webpack_require__(1100);Object.defineProperty(exports,'useKeyOnly',{enumerable:true,get:function get(){return _classNameBuilders.useKeyOnly;}});Object.defineProperty(exports,'useValueAndKey',{enumerable:true,get:function get(){return _classNameBuilders.useValueAndKey;}});Object.defineProperty(exports,'useKeyOrValueAndKey',{enumerable:true,get:function get(){return _classNameBuilders.useKeyOrValueAndKey;}});Object.defineProperty(exports,'useWidthProp',{enumerable:true,get:function get(){return _classNameBuilders.useWidthProp;}});Object.defineProperty(exports,'useTextAlignProp',{enumerable:true,get:function get(){return _classNameBuilders.useTextAlignProp;}});Object.defineProperty(exports,'useVerticalAlignProp',{enumerable:true,get:function get(){return _classNameBuilders.useVerticalAlignProp;}});var _debug=__webpack_require__(1102);Object.defineProperty(exports,'debug',{enumerable:true,get:function get(){return _debug.debug;}});Object.defineProperty(exports,'makeDebugger',{enumerable:true,get:function get(){return _debug.makeDebugger;}});var _factories=__webpack_require__(1103);Object.keys(_factories).forEach(function(key){if(key==="default"||key==="__esModule")return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _factories[key];}});});var _getUnhandledProps=__webpack_require__(1105);Object.defineProperty(exports,'getUnhandledProps',{enumerable:true,get:function get(){return _interopRequireDefault(_getUnhandledProps).default;}});var _getElementType=__webpack_require__(1104);Object.defineProperty(exports,'getElementType',{enumerable:true,get:function get(){return _interopRequireDefault(_getElementType).default;}});var _isBrowser=__webpack_require__(507);Object.defineProperty(exports,'isBrowser',{enumerable:true,get:function get(){return _interopRequireDefault(_isBrowser).default;}});var _leven=__webpack_require__(508);Object.defineProperty(exports,'leven',{enumerable:true,get:function get(){return _interopRequireDefault(_leven).default;}});var _keyboardKey=__webpack_require__(1106);Object.defineProperty(exports,'keyboardKey',{enumerable:true,get:function get(){return _interopRequireDefault(_keyboardKey).default;}});var _numberToWord=__webpack_require__(279);Object.defineProperty(exports,'numberToWordMap',{enumerable:true,get:function get(){return _numberToWord.numberToWordMap;}});Object.defineProperty(exports,'numberToWord',{enumerable:true,get:function get(){return _numberToWord.numberToWord;}});var _objectDiff=__webpack_require__(1107);Object.defineProperty(exports,'objectDiff',{enumerable:true,get:function get(){return _objectDiff.objectDiff;}});var _childrenUtils2=__webpack_require__(1099);var _childrenUtils=_interopRequireWildcard(_childrenUtils2);var _customPropTypes2=__webpack_require__(1101);var _customPropTypes=_interopRequireWildcard(_customPropTypes2);var _META2=__webpack_require__(1097);var _META=_interopRequireWildcard(_META2);var _SUI2=__webpack_require__(1098);var _SUI=_interopRequireWildcard(_SUI2);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.childrenUtils=_childrenUtils;exports.customPropTypes=_customPropTypes;exports.META=_META;exports.SUI=_SUI;
/***/ },
/* 2 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*//* global define */(function(){'use strict';var hasOwn={}.hasOwnProperty;function classNames(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg==='undefined'?'undefined':_typeof(arg);if(argType==='string'||argType==='number'){classes.push(arg);}else if(Array.isArray(arg)){classes.push(classNames.apply(null,arg));}else if(argType==='object'){for(var key in arg){if(hasOwn.call(arg,key)&&arg[key]){classes.push(key);}}}}return classes.join(' ');}if(typeof module!=='undefined'&&module.exports){module.exports=classNames;}else if("function"==='function'&&_typeof(__webpack_require__(197))==='object'&&__webpack_require__(197)){// register as 'classnames', consistent with npm package name
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function(){return classNames;}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));}else{window.classNames=classNames;}})();
/***/ },
/* 3 */
/***/ function(module, exports) {
"use strict";
'use strict';// shim for using process in browser
var process=module.exports={};// cached from whatever global is present so that test runners that stub it
// don't break things. But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals. It's inside a
// function because try/catches deoptimize in certain engines.
var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}(function(){try{if(typeof setTimeout==='function'){cachedSetTimeout=setTimeout;}else{cachedSetTimeout=defaultSetTimout;}}catch(e){cachedSetTimeout=defaultSetTimout;}try{if(typeof clearTimeout==='function'){cachedClearTimeout=clearTimeout;}else{cachedClearTimeout=defaultClearTimeout;}}catch(e){cachedClearTimeout=defaultClearTimeout;}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0);}try{// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedSetTimeout(fun,0);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedSetTimeout.call(null,fun,0);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
return cachedSetTimeout.call(this,fun,0);}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){//normal enviroments in sane situations
return clearTimeout(marker);}// if clearTimeout wasn't available but was latter defined
if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker);}try{// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedClearTimeout(marker);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedClearTimeout.call(null,marker);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
return cachedClearTimeout.call(this,marker);}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return;}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue);}else{queueIndex=-1;}if(queue.length){drainQueue();}}function drainQueue(){if(draining){return;}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run();}}queueIndex=-1;len=queue.length;}currentQueue=null;draining=false;runClearTimeout(timeout);}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i];}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue);}};// v8 likes predictible objects
function Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=function(){this.fun.apply(null,this.array);};process.title='browser';process.browser=true;process.env={};process.argv=[];process.version='';// empty string to avoid regexp issues
process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.binding=function(name){throw new Error('process.binding is not supported');};process.cwd=function(){return'/';};process.chdir=function(dir){throw new Error('process.chdir is not supported');};process.umask=function(){return 0;};
/***/ },
/* 4 */,
/* 5 */
/***/ function(module, exports) {
"use strict";
'use strict';if(typeof Object.create==='function'){// implementation from standard node.js 'util' module
module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}});};}else{// old school shim for old browsers
module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function TempCtor(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor();ctor.prototype.constructor=ctor;};}
/***/ },
/* 6 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule invariant
*/'use strict';/**
* Use invariant() to assert state which your program assumes to be true.
*
* Provide sprintf-style format (only %s is supported) and arguments
* to provide information about what broke and what you were
* expecting.
*
* The invariant message will be stripped in production, but the invariant
* will remain to ensure logic does not differ in production.
*/function invariant(condition,format,a,b,c,d,e,f){if(process.env.NODE_ENV!=='production'){if(format===undefined){throw new Error('invariant requires an error message argument');}}if(!condition){var error;if(format===undefined){error=new Error('Minified exception occurred; use the non-minified dev environment '+'for the full error message and additional helpful warnings.');}else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++];}));error.name='Invariant Violation';}error.framesToPop=1;// we don't care about invariant's own frame
throw error;}}module.exports=invariant;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 7 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Object.assign
*/// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign
'use strict';function assign(target,sources){if(target==null){throw new TypeError('Object.assign target cannot be null or undefined');}var to=Object(target);var hasOwnProperty=Object.prototype.hasOwnProperty;for(var nextIndex=1;nextIndex<arguments.length;nextIndex++){var nextSource=arguments[nextIndex];if(nextSource==null){continue;}var from=Object(nextSource);// We don't currently support accessors nor proxies. Therefore this
// copy cannot throw. If we ever supported this then we must handle
// exceptions and side-effects. We don't support symbols so they won't
// be transferred.
for(var key in from){if(hasOwnProperty.call(from,key)){to[key]=from[key];}}}return to;}module.exports=assign;
/***/ },
/* 8 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule warning
*/'use strict';var emptyFunction=__webpack_require__(40);/**
* Similar to invariant but only logs a warning if the condition is not met.
* This can be used to log issues in development environments in critical
* paths. Removing the logging code for production environments will keep the
* same logic and follow the same code paths.
*/var warning=emptyFunction;if(process.env.NODE_ENV!=='production'){warning=function warning(condition,format){for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}if(format===undefined){throw new Error('`warning(condition, format, ...args)` requires a warning '+'message argument');}if(format.indexOf('Failed Composite propType: ')===0){return;// Ignore CompositeComponent proptype check.
}if(!condition){var argIndex=0;var message='Warning: '+format.replace(/%s/g,function(){return args[argIndex++];});if(typeof console!=='undefined'){console.error(message);}try{// --- Welcome to debugging React ---
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);}catch(x){}}};}module.exports=warning;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 9 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if `value` is classified as an `Array` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
* @example
*
* _.isArray([1, 2, 3]);
* // => true
*
* _.isArray(document.body.children);
* // => false
*
* _.isArray('abc');
* // => false
*
* _.isArray(_.noop);
* // => false
*/var isArray=Array.isArray;module.exports=isArray;
/***/ },
/* 10 */,
/* 11 */,
/* 12 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The default argument placeholder value for methods.
*
* @type {Object}
*/module.exports={};
/***/ },
/* 13 */,
/* 14 */,
/* 15 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseConvert=__webpack_require__(838),util=__webpack_require__(840);/**
* Converts `func` of `name` to an immutable auto-curried iteratee-first data-last
* version with conversion `options` applied. If `name` is an object its methods
* will be converted.
*
* @param {string} name The name of the function to wrap.
* @param {Function} [func] The function to wrap.
* @param {Object} [options] The options object. See `baseConvert` for more details.
* @returns {Function|Object} Returns the converted function or object.
*/function convert(name,func,options){return baseConvert(util,name,func,options);}module.exports=convert;
/***/ },
/* 16 */,
/* 17 */
/***/ function(module, exports) {
"use strict";
"use strict";var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var g;// This works in non-strict mode
g=function(){return this;}();try{// This works if eval is allowed (see CSP)
g=g||Function("return this")()||(1,eval)("this");}catch(e){// This works if the window reference is available
if((typeof window==="undefined"?"undefined":_typeof(window))==="object")g=window;}// g can still be undefined, but nothing to do about it...
// We return undefined, instead of nothing here, so it's
// easier to handle this case. if(!global) { ...}
module.exports=g;
/***/ },
/* 18 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ExecutionEnvironment
*/'use strict';var canUseDOM=!!(typeof window!=='undefined'&&window.document&&window.document.createElement);/**
* Simple, lightweight module assisting with the detection and context of
* Worker. Helps avoid circular dependencies and allows code to reason about
* whether or not they are in a Worker, even if they never include the main
* `ReactWorker` dependency.
*/var ExecutionEnvironment={canUseDOM:canUseDOM,canUseWorkers:typeof Worker!=='undefined',canUseEventListeners:canUseDOM&&!!(window.addEventListener||window.attachEvent),canUseViewport:canUseDOM&&!!window.screen,isInWorker:!canUseDOM// For now, this is true - might change in the future.
};module.exports=ExecutionEnvironment;
/***/ },
/* 19 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseDifference=__webpack_require__(346),baseRest=__webpack_require__(45),isArrayLikeObject=__webpack_require__(166);/**
* Creates an array excluding all given values using
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons.
*
* **Note:** Unlike `_.pull`, this method returns a new array.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to inspect.
* @param {...*} [values] The values to exclude.
* @returns {Array} Returns the new array of filtered values.
* @see _.difference, _.xor
* @example
*
* _.without([2, 1, 2, 3], 1, 2);
* // => [3]
*/var without=baseRest(function(array,values){return isArrayLikeObject(array)?baseDifference(array,values):[];});module.exports=without;
/***/ },
/* 20 */,
/* 21 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44),baseIteratee=__webpack_require__(38),baseMap=__webpack_require__(350),isArray=__webpack_require__(9);/**
* Creates an array of values by running each element in `collection` thru
* `iteratee`. The iteratee is invoked with three arguments:
* (value, index|key, collection).
*
* Many lodash methods are guarded to work as iteratees for methods like
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
*
* The guarded methods are:
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
* @example
*
* function square(n) {
* return n * n;
* }
*
* _.map([4, 8], square);
* // => [16, 64]
*
* _.map({ 'a': 4, 'b': 8 }, square);
* // => [16, 64] (iteration order is not guaranteed)
*
* var users = [
* { 'user': 'barney' },
* { 'user': 'fred' }
* ];
*
* // The `_.property` iteratee shorthand.
* _.map(users, 'user');
* // => ['barney', 'fred']
*/function map(collection,iteratee){var func=isArray(collection)?arrayMap:baseMap;return func(collection,baseIteratee(iteratee,3));}module.exports=map;
/***/ },
/* 22 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Icon=__webpack_require__(188);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Icon2.default;
/***/ },
/* 23 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/'use strict';/**
* Use invariant() to assert state which your program assumes to be true.
*
* Provide sprintf-style format (only %s is supported) and arguments
* to provide information about what broke and what you were
* expecting.
*
* The invariant message will be stripped in production, but the invariant
* will remain to ensure logic does not differ in production.
*/var invariant=function invariant(condition,format,a,b,c,d,e,f){if(process.env.NODE_ENV!=='production'){if(format===undefined){throw new Error('invariant requires an error message argument');}}if(!condition){var error;if(format===undefined){error=new Error('Minified exception occurred; use the non-minified dev environment '+'for the full error message and additional helpful warnings.');}else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++];}));error.name='Invariant Violation';}error.framesToPop=1;// we don't care about invariant's own frame
throw error;}};module.exports=invariant;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 24 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayLikeKeys=__webpack_require__(342),baseKeys=__webpack_require__(221),isArrayLike=__webpack_require__(41);/**
* Creates an array of the own enumerable property names of `object`.
*
* **Note:** Non-object values are coerced to objects. See the
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
* for more details.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Object
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
* @example
*
* function Foo() {
* this.a = 1;
* this.b = 2;
* }
*
* Foo.prototype.c = 3;
*
* _.keys(new Foo);
* // => ['a', 'b'] (iteration order is not guaranteed)
*
* _.keys('hi');
* // => ['0', '1']
*/function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object);}module.exports=keys;
/***/ },
/* 25 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMount
*/'use strict';var DOMProperty=__webpack_require__(77);var ReactBrowserEventEmitter=__webpack_require__(178);var ReactCurrentOwner=__webpack_require__(51);var ReactDOMFeatureFlags=__webpack_require__(426);var ReactElement=__webpack_require__(34);var ReactEmptyComponentRegistry=__webpack_require__(433);var ReactInstanceHandles=__webpack_require__(96);var ReactInstanceMap=__webpack_require__(122);var ReactMarkupChecksum=__webpack_require__(436);var ReactPerf=__webpack_require__(37);var ReactReconciler=__webpack_require__(78);var ReactUpdateQueue=__webpack_require__(253);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var emptyObject=__webpack_require__(105);var containsNode=__webpack_require__(328);var instantiateReactComponent=__webpack_require__(260);var invariant=__webpack_require__(6);var setInnerHTML=__webpack_require__(185);var shouldUpdateReactComponent=__webpack_require__(263);var validateDOMNesting=__webpack_require__(265);var warning=__webpack_require__(8);var ATTR_NAME=DOMProperty.ID_ATTRIBUTE_NAME;var nodeCache={};var ELEMENT_NODE_TYPE=1;var DOC_NODE_TYPE=9;var DOCUMENT_FRAGMENT_NODE_TYPE=11;var ownerDocumentContextKey='__ReactMount_ownerDocument$'+Math.random().toString(36).slice(2);/** Mapping from reactRootID to React component instance. */var instancesByReactRootID={};/** Mapping from reactRootID to `container` nodes. */var containersByReactRootID={};if(process.env.NODE_ENV!=='production'){/** __DEV__-only mapping from reactRootID to root elements. */var rootElementsByReactRootID={};}// Used to store breadth-first search state in findComponentRoot.
var findComponentRootReusableArray=[];/**
* Finds the index of the first character
* that's not common between the two given strings.
*
* @return {number} the index of the character where the strings diverge
*/function firstDifferenceIndex(string1,string2){var minLen=Math.min(string1.length,string2.length);for(var i=0;i<minLen;i++){if(string1.charAt(i)!==string2.charAt(i)){return i;}}return string1.length===string2.length?-1:minLen;}/**
* @param {DOMElement|DOMDocument} container DOM element that may contain
* a React component
* @return {?*} DOM element that may have the reactRoot ID, or null.
*/function getReactRootElementInContainer(container){if(!container){return null;}if(container.nodeType===DOC_NODE_TYPE){return container.documentElement;}else{return container.firstChild;}}/**
* @param {DOMElement} container DOM element that may contain a React component.
* @return {?string} A "reactRoot" ID, if a React component is rendered.
*/function getReactRootID(container){var rootElement=getReactRootElementInContainer(container);return rootElement&&ReactMount.getID(rootElement);}/**
* Accessing node[ATTR_NAME] or calling getAttribute(ATTR_NAME) on a form
* element can return its control whose name or ID equals ATTR_NAME. All
* DOM nodes support `getAttributeNode` but this can also get called on
* other objects so just return '' if we're given something other than a
* DOM node (such as window).
*
* @param {?DOMElement|DOMWindow|DOMDocument|DOMTextNode} node DOM node.
* @return {string} ID of the supplied `domNode`.
*/function getID(node){var id=internalGetID(node);if(id){if(nodeCache.hasOwnProperty(id)){var cached=nodeCache[id];if(cached!==node){!!isValid(cached,id)?process.env.NODE_ENV!=='production'?invariant(false,'ReactMount: Two valid but unequal nodes with the same `%s`: %s',ATTR_NAME,id):invariant(false):undefined;nodeCache[id]=node;}}else{nodeCache[id]=node;}}return id;}function internalGetID(node){// If node is something like a window, document, or text node, none of
// which support attributes or a .getAttribute method, gracefully return
// the empty string, as if the attribute were missing.
return node&&node.getAttribute&&node.getAttribute(ATTR_NAME)||'';}/**
* Sets the React-specific ID of the given node.
*
* @param {DOMElement} node The DOM node whose ID will be set.
* @param {string} id The value of the ID attribute.
*/function setID(node,id){var oldID=internalGetID(node);if(oldID!==id){delete nodeCache[oldID];}node.setAttribute(ATTR_NAME,id);nodeCache[id]=node;}/**
* Finds the node with the supplied React-generated DOM ID.
*
* @param {string} id A React-generated DOM ID.
* @return {DOMElement} DOM node with the suppled `id`.
* @internal
*/function getNode(id){if(!nodeCache.hasOwnProperty(id)||!isValid(nodeCache[id],id)){nodeCache[id]=ReactMount.findReactNodeByID(id);}return nodeCache[id];}/**
* Finds the node with the supplied public React instance.
*
* @param {*} instance A public React instance.
* @return {?DOMElement} DOM node with the suppled `id`.
* @internal
*/function getNodeFromInstance(instance){var id=ReactInstanceMap.get(instance)._rootNodeID;if(ReactEmptyComponentRegistry.isNullComponentID(id)){return null;}if(!nodeCache.hasOwnProperty(id)||!isValid(nodeCache[id],id)){nodeCache[id]=ReactMount.findReactNodeByID(id);}return nodeCache[id];}/**
* A node is "valid" if it is contained by a currently mounted container.
*
* This means that the node does not have to be contained by a document in
* order to be considered valid.
*
* @param {?DOMElement} node The candidate DOM node.
* @param {string} id The expected ID of the node.
* @return {boolean} Whether the node is contained by a mounted container.
*/function isValid(node,id){if(node){!(internalGetID(node)===id)?process.env.NODE_ENV!=='production'?invariant(false,'ReactMount: Unexpected modification of `%s`',ATTR_NAME):invariant(false):undefined;var container=ReactMount.findReactContainerForID(id);if(container&&containsNode(container,node)){return true;}}return false;}/**
* Causes the cache to forget about one React-specific ID.
*
* @param {string} id The ID to forget.
*/function purgeID(id){delete nodeCache[id];}var deepestNodeSoFar=null;function findDeepestCachedAncestorImpl(ancestorID){var ancestor=nodeCache[ancestorID];if(ancestor&&isValid(ancestor,ancestorID)){deepestNodeSoFar=ancestor;}else{// This node isn't populated in the cache, so presumably none of its
// descendants are. Break out of the loop.
return false;}}/**
* Return the deepest cached node whose ID is a prefix of `targetID`.
*/function findDeepestCachedAncestor(targetID){deepestNodeSoFar=null;ReactInstanceHandles.traverseAncestors(targetID,findDeepestCachedAncestorImpl);var foundNode=deepestNodeSoFar;deepestNodeSoFar=null;return foundNode;}/**
* Mounts this component and inserts it into the DOM.
*
* @param {ReactComponent} componentInstance The instance to mount.
* @param {string} rootID DOM ID of the root node.
* @param {DOMElement} container DOM element to mount into.
* @param {ReactReconcileTransaction} transaction
* @param {boolean} shouldReuseMarkup If true, do not insert markup
*/function mountComponentIntoNode(componentInstance,rootID,container,transaction,shouldReuseMarkup,context){if(ReactDOMFeatureFlags.useCreateElement){context=assign({},context);if(container.nodeType===DOC_NODE_TYPE){context[ownerDocumentContextKey]=container;}else{context[ownerDocumentContextKey]=container.ownerDocument;}}if(process.env.NODE_ENV!=='production'){if(context===emptyObject){context={};}var tag=container.nodeName.toLowerCase();context[validateDOMNesting.ancestorInfoContextKey]=validateDOMNesting.updatedAncestorInfo(null,tag,null);}var markup=ReactReconciler.mountComponent(componentInstance,rootID,transaction,context);componentInstance._renderedComponent._topLevelWrapper=componentInstance;ReactMount._mountImageIntoNode(markup,container,shouldReuseMarkup,transaction);}/**
* Batched mount.
*
* @param {ReactComponent} componentInstance The instance to mount.
* @param {string} rootID DOM ID of the root node.
* @param {DOMElement} container DOM element to mount into.
* @param {boolean} shouldReuseMarkup If true, do not insert markup
*/function batchedMountComponentIntoNode(componentInstance,rootID,container,shouldReuseMarkup,context){var transaction=ReactUpdates.ReactReconcileTransaction.getPooled(/* forceHTML */shouldReuseMarkup);transaction.perform(mountComponentIntoNode,null,componentInstance,rootID,container,transaction,shouldReuseMarkup,context);ReactUpdates.ReactReconcileTransaction.release(transaction);}/**
* Unmounts a component and removes it from the DOM.
*
* @param {ReactComponent} instance React component instance.
* @param {DOMElement} container DOM element to unmount from.
* @final
* @internal
* @see {ReactMount.unmountComponentAtNode}
*/function unmountComponentFromNode(instance,container){ReactReconciler.unmountComponent(instance);if(container.nodeType===DOC_NODE_TYPE){container=container.documentElement;}// http://jsperf.com/emptying-a-node
while(container.lastChild){container.removeChild(container.lastChild);}}/**
* True if the supplied DOM node has a direct React-rendered child that is
* not a React root element. Useful for warning in `render`,
* `unmountComponentAtNode`, etc.
*
* @param {?DOMElement} node The candidate DOM node.
* @return {boolean} True if the DOM element contains a direct child that was
* rendered by React but is not a root element.
* @internal
*/function hasNonRootReactChild(node){var reactRootID=getReactRootID(node);return reactRootID?reactRootID!==ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID):false;}/**
* Returns the first (deepest) ancestor of a node which is rendered by this copy
* of React.
*/function findFirstReactDOMImpl(node){// This node might be from another React instance, so we make sure not to
// examine the node cache here
for(;node&&node.parentNode!==node;node=node.parentNode){if(node.nodeType!==1){// Not a DOMElement, therefore not a React component
continue;}var nodeID=internalGetID(node);if(!nodeID){continue;}var reactRootID=ReactInstanceHandles.getReactRootIDFromNodeID(nodeID);// If containersByReactRootID contains the container we find by crawling up
// the tree, we know that this instance of React rendered the node.
// nb. isValid's strategy (with containsNode) does not work because render
// trees may be nested and we don't want a false positive in that case.
var current=node;var lastID;do{lastID=internalGetID(current);current=current.parentNode;if(current==null){// The passed-in node has been detached from the container it was
// originally rendered into.
return null;}}while(lastID!==reactRootID);if(current===containersByReactRootID[reactRootID]){return node;}}return null;}/**
* Temporary (?) hack so that we can store all top-level pending updates on
* composites instead of having to worry about different types of components
* here.
*/var TopLevelWrapper=function TopLevelWrapper(){};TopLevelWrapper.prototype.isReactComponent={};if(process.env.NODE_ENV!=='production'){TopLevelWrapper.displayName='TopLevelWrapper';}TopLevelWrapper.prototype.render=function(){// this.props is actually a ReactElement
return this.props;};/**
* Mounting is the process of initializing a React component by creating its
* representative DOM elements and inserting them into a supplied `container`.
* Any prior content inside `container` is destroyed in the process.
*
* ReactMount.render(
* component,
* document.getElementById('container')
* );
*
* <div id="container"> <-- Supplied `container`.
* <div data-reactid=".3"> <-- Rendered reactRoot of React
* // ... component.
* </div>
* </div>
*
* Inside of `container`, the first element rendered is the "reactRoot".
*/var ReactMount={TopLevelWrapper:TopLevelWrapper,/** Exposed for debugging purposes **/_instancesByReactRootID:instancesByReactRootID,/**
* This is a hook provided to support rendering React components while
* ensuring that the apparent scroll position of its `container` does not
* change.
*
* @param {DOMElement} container The `container` being rendered into.
* @param {function} renderCallback This must be called once to do the render.
*/scrollMonitor:function scrollMonitor(container,renderCallback){renderCallback();},/**
* Take a component that's already mounted into the DOM and replace its props
* @param {ReactComponent} prevComponent component instance already in the DOM
* @param {ReactElement} nextElement component instance to render
* @param {DOMElement} container container to render into
* @param {?function} callback function triggered on completion
*/_updateRootComponent:function _updateRootComponent(prevComponent,nextElement,container,callback){ReactMount.scrollMonitor(container,function(){ReactUpdateQueue.enqueueElementInternal(prevComponent,nextElement);if(callback){ReactUpdateQueue.enqueueCallbackInternal(prevComponent,callback);}});if(process.env.NODE_ENV!=='production'){// Record the root element in case it later gets transplanted.
rootElementsByReactRootID[getReactRootID(container)]=getReactRootElementInContainer(container);}return prevComponent;},/**
* Register a component into the instance map and starts scroll value
* monitoring
* @param {ReactComponent} nextComponent component instance to render
* @param {DOMElement} container container to render into
* @return {string} reactRoot ID prefix
*/_registerComponent:function _registerComponent(nextComponent,container){!(container&&(container.nodeType===ELEMENT_NODE_TYPE||container.nodeType===DOC_NODE_TYPE||container.nodeType===DOCUMENT_FRAGMENT_NODE_TYPE))?process.env.NODE_ENV!=='production'?invariant(false,'_registerComponent(...): Target container is not a DOM element.'):invariant(false):undefined;ReactBrowserEventEmitter.ensureScrollValueMonitoring();var reactRootID=ReactMount.registerContainer(container);instancesByReactRootID[reactRootID]=nextComponent;return reactRootID;},/**
* Render a new component into the DOM.
* @param {ReactElement} nextElement element to render
* @param {DOMElement} container container to render into
* @param {boolean} shouldReuseMarkup if we should skip the markup insertion
* @return {ReactComponent} nextComponent
*/_renderNewRootComponent:function _renderNewRootComponent(nextElement,container,shouldReuseMarkup,context){// Various parts of our code (such as ReactCompositeComponent's
// _renderValidatedComponent) assume that calls to render aren't nested;
// verify that that's the case.
process.env.NODE_ENV!=='production'?warning(ReactCurrentOwner.current==null,'_renderNewRootComponent(): Render methods should be a pure function '+'of props and state; triggering nested component updates from '+'render is not allowed. If necessary, trigger nested updates in '+'componentDidUpdate. Check the render method of %s.',ReactCurrentOwner.current&&ReactCurrentOwner.current.getName()||'ReactCompositeComponent'):undefined;var componentInstance=instantiateReactComponent(nextElement,null);var reactRootID=ReactMount._registerComponent(componentInstance,container);// The initial render is synchronous but any updates that happen during
// rendering, in componentWillMount or componentDidMount, will be batched
// according to the current batching strategy.
ReactUpdates.batchedUpdates(batchedMountComponentIntoNode,componentInstance,reactRootID,container,shouldReuseMarkup,context);if(process.env.NODE_ENV!=='production'){// Record the root element in case it later gets transplanted.
rootElementsByReactRootID[reactRootID]=getReactRootElementInContainer(container);}return componentInstance;},/**
* Renders a React component into the DOM in the supplied `container`.
*
* If the React component was previously rendered into `container`, this will
* perform an update on it and only mutate the DOM as necessary to reflect the
* latest React component.
*
* @param {ReactComponent} parentComponent The conceptual parent of this render tree.
* @param {ReactElement} nextElement Component element to render.
* @param {DOMElement} container DOM element to render into.
* @param {?function} callback function triggered on completion
* @return {ReactComponent} Component instance rendered in `container`.
*/renderSubtreeIntoContainer:function renderSubtreeIntoContainer(parentComponent,nextElement,container,callback){!(parentComponent!=null&&parentComponent._reactInternalInstance!=null)?process.env.NODE_ENV!=='production'?invariant(false,'parentComponent must be a valid React Component'):invariant(false):undefined;return ReactMount._renderSubtreeIntoContainer(parentComponent,nextElement,container,callback);},_renderSubtreeIntoContainer:function _renderSubtreeIntoContainer(parentComponent,nextElement,container,callback){!ReactElement.isValidElement(nextElement)?process.env.NODE_ENV!=='production'?invariant(false,'ReactDOM.render(): Invalid component element.%s',typeof nextElement==='string'?' Instead of passing an element string, make sure to instantiate '+'it by passing it to React.createElement.':typeof nextElement==='function'?' Instead of passing a component class, make sure to instantiate '+'it by passing it to React.createElement.':// Check if it quacks like an element
nextElement!=null&&nextElement.props!==undefined?' This may be caused by unintentionally loading two independent '+'copies of React.':''):invariant(false):undefined;process.env.NODE_ENV!=='production'?warning(!container||!container.tagName||container.tagName.toUpperCase()!=='BODY','render(): Rendering components directly into document.body is '+'discouraged, since its children are often manipulated by third-party '+'scripts and browser extensions. This may lead to subtle '+'reconciliation issues. Try rendering into a container element created '+'for your app.'):undefined;var nextWrappedElement=new ReactElement(TopLevelWrapper,null,null,null,null,null,nextElement);var prevComponent=instancesByReactRootID[getReactRootID(container)];if(prevComponent){var prevWrappedElement=prevComponent._currentElement;var prevElement=prevWrappedElement.props;if(shouldUpdateReactComponent(prevElement,nextElement)){var publicInst=prevComponent._renderedComponent.getPublicInstance();var updatedCallback=callback&&function(){callback.call(publicInst);};ReactMount._updateRootComponent(prevComponent,nextWrappedElement,container,updatedCallback);return publicInst;}else{ReactMount.unmountComponentAtNode(container);}}var reactRootElement=getReactRootElementInContainer(container);var containerHasReactMarkup=reactRootElement&&!!internalGetID(reactRootElement);var containerHasNonRootReactChild=hasNonRootReactChild(container);if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(!containerHasNonRootReactChild,'render(...): Replacing React-rendered children with a new root '+'component. If you intended to update the children of this node, '+'you should instead have the existing children update their state '+'and render the new components instead of calling ReactDOM.render.'):undefined;if(!containerHasReactMarkup||reactRootElement.nextSibling){var rootElementSibling=reactRootElement;while(rootElementSibling){if(internalGetID(rootElementSibling)){process.env.NODE_ENV!=='production'?warning(false,'render(): Target node has markup rendered by React, but there '+'are unrelated nodes as well. This is most commonly caused by '+'white-space inserted around server-rendered markup.'):undefined;break;}rootElementSibling=rootElementSibling.nextSibling;}}}var shouldReuseMarkup=containerHasReactMarkup&&!prevComponent&&!containerHasNonRootReactChild;var component=ReactMount._renderNewRootComponent(nextWrappedElement,container,shouldReuseMarkup,parentComponent!=null?parentComponent._reactInternalInstance._processChildContext(parentComponent._reactInternalInstance._context):emptyObject)._renderedComponent.getPublicInstance();if(callback){callback.call(component);}return component;},/**
* Renders a React component into the DOM in the supplied `container`.
*
* If the React component was previously rendered into `container`, this will
* perform an update on it and only mutate the DOM as necessary to reflect the
* latest React component.
*
* @param {ReactElement} nextElement Component element to render.
* @param {DOMElement} container DOM element to render into.
* @param {?function} callback function triggered on completion
* @return {ReactComponent} Component instance rendered in `container`.
*/render:function render(nextElement,container,callback){return ReactMount._renderSubtreeIntoContainer(null,nextElement,container,callback);},/**
* Registers a container node into which React components will be rendered.
* This also creates the "reactRoot" ID that will be assigned to the element
* rendered within.
*
* @param {DOMElement} container DOM element to register as a container.
* @return {string} The "reactRoot" ID of elements rendered within.
*/registerContainer:function registerContainer(container){var reactRootID=getReactRootID(container);if(reactRootID){// If one exists, make sure it is a valid "reactRoot" ID.
reactRootID=ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID);}if(!reactRootID){// No valid "reactRoot" ID found, create one.
reactRootID=ReactInstanceHandles.createReactRootID();}containersByReactRootID[reactRootID]=container;return reactRootID;},/**
* Unmounts and destroys the React component rendered in the `container`.
*
* @param {DOMElement} container DOM element containing a React component.
* @return {boolean} True if a component was found in and unmounted from
* `container`
*/unmountComponentAtNode:function unmountComponentAtNode(container){// Various parts of our code (such as ReactCompositeComponent's
// _renderValidatedComponent) assume that calls to render aren't nested;
// verify that that's the case. (Strictly speaking, unmounting won't cause a
// render but we still don't expect to be in a render call here.)
process.env.NODE_ENV!=='production'?warning(ReactCurrentOwner.current==null,'unmountComponentAtNode(): Render methods should be a pure function '+'of props and state; triggering nested component updates from render '+'is not allowed. If necessary, trigger nested updates in '+'componentDidUpdate. Check the render method of %s.',ReactCurrentOwner.current&&ReactCurrentOwner.current.getName()||'ReactCompositeComponent'):undefined;!(container&&(container.nodeType===ELEMENT_NODE_TYPE||container.nodeType===DOC_NODE_TYPE||container.nodeType===DOCUMENT_FRAGMENT_NODE_TYPE))?process.env.NODE_ENV!=='production'?invariant(false,'unmountComponentAtNode(...): Target container is not a DOM element.'):invariant(false):undefined;var reactRootID=getReactRootID(container);var component=instancesByReactRootID[reactRootID];if(!component){// Check if the node being unmounted was rendered by React, but isn't a
// root node.
var containerHasNonRootReactChild=hasNonRootReactChild(container);// Check if the container itself is a React root node.
var containerID=internalGetID(container);var isContainerReactRoot=containerID&&containerID===ReactInstanceHandles.getReactRootIDFromNodeID(containerID);if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(!containerHasNonRootReactChild,'unmountComponentAtNode(): The node you\'re attempting to unmount '+'was rendered by React and is not a top-level container. %s',isContainerReactRoot?'You may have accidentally passed in a React root node instead '+'of its container.':'Instead, have the parent component update its state and '+'rerender in order to remove this component.'):undefined;}return false;}ReactUpdates.batchedUpdates(unmountComponentFromNode,component,container);delete instancesByReactRootID[reactRootID];delete containersByReactRootID[reactRootID];if(process.env.NODE_ENV!=='production'){delete rootElementsByReactRootID[reactRootID];}return true;},/**
* Finds the container DOM element that contains React component to which the
* supplied DOM `id` belongs.
*
* @param {string} id The ID of an element rendered by a React component.
* @return {?DOMElement} DOM element that contains the `id`.
*/findReactContainerForID:function findReactContainerForID(id){var reactRootID=ReactInstanceHandles.getReactRootIDFromNodeID(id);var container=containersByReactRootID[reactRootID];if(process.env.NODE_ENV!=='production'){var rootElement=rootElementsByReactRootID[reactRootID];if(rootElement&&rootElement.parentNode!==container){process.env.NODE_ENV!=='production'?warning(// Call internalGetID here because getID calls isValid which calls
// findReactContainerForID (this function).
internalGetID(rootElement)===reactRootID,'ReactMount: Root element ID differed from reactRootID.'):undefined;var containerChild=container.firstChild;if(containerChild&&reactRootID===internalGetID(containerChild)){// If the container has a new child with the same ID as the old
// root element, then rootElementsByReactRootID[reactRootID] is
// just stale and needs to be updated. The case that deserves a
// warning is when the container is empty.
rootElementsByReactRootID[reactRootID]=containerChild;}else{process.env.NODE_ENV!=='production'?warning(false,'ReactMount: Root element has been removed from its original '+'container. New container: %s',rootElement.parentNode):undefined;}}}return container;},/**
* Finds an element rendered by React with the supplied ID.
*
* @param {string} id ID of a DOM node in the React component.
* @return {DOMElement} Root DOM node of the React component.
*/findReactNodeByID:function findReactNodeByID(id){var reactRoot=ReactMount.findReactContainerForID(id);return ReactMount.findComponentRoot(reactRoot,id);},/**
* Traverses up the ancestors of the supplied node to find a node that is a
* DOM representation of a React component rendered by this copy of React.
*
* @param {*} node
* @return {?DOMEventTarget}
* @internal
*/getFirstReactDOM:function getFirstReactDOM(node){return findFirstReactDOMImpl(node);},/**
* Finds a node with the supplied `targetID` inside of the supplied
* `ancestorNode`. Exploits the ID naming scheme to perform the search
* quickly.
*
* @param {DOMEventTarget} ancestorNode Search from this root.
* @pararm {string} targetID ID of the DOM representation of the component.
* @return {DOMEventTarget} DOM node with the supplied `targetID`.
* @internal
*/findComponentRoot:function findComponentRoot(ancestorNode,targetID){var firstChildren=findComponentRootReusableArray;var childIndex=0;var deepestAncestor=findDeepestCachedAncestor(targetID)||ancestorNode;if(process.env.NODE_ENV!=='production'){// This will throw on the next line; give an early warning
process.env.NODE_ENV!=='production'?warning(deepestAncestor!=null,'React can\'t find the root component node for data-reactid value '+'`%s`. If you\'re seeing this message, it probably means that '+'you\'ve loaded two copies of React on the page. At this time, only '+'a single copy of React can be loaded at a time.',targetID):undefined;}firstChildren[0]=deepestAncestor.firstChild;firstChildren.length=1;while(childIndex<firstChildren.length){var child=firstChildren[childIndex++];var targetChild;while(child){var childID=ReactMount.getID(child);if(childID){// Even if we find the node we're looking for, we finish looping
// through its siblings to ensure they're cached so that we don't have
// to revisit this node again. Otherwise, we make n^2 calls to getID
// when visiting the many children of a single node in order.
if(targetID===childID){targetChild=child;}else if(ReactInstanceHandles.isAncestorIDOf(childID,targetID)){// If we find a child whose ID is an ancestor of the given ID,
// then we can be sure that we only want to search the subtree
// rooted at this child, so we can throw out the rest of the
// search state.
firstChildren.length=childIndex=0;firstChildren.push(child.firstChild);}}else{// If this child had no ID, then there's a chance that it was
// injected automatically by the browser, as when a `<table>`
// element sprouts an extra `<tbody>` child as a side effect of
// `.innerHTML` parsing. Optimistically continue down this
// branch, but not before examining the other siblings.
firstChildren.push(child.firstChild);}child=child.nextSibling;}if(targetChild){// Emptying firstChildren/findComponentRootReusableArray is
// not necessary for correctness, but it helps the GC reclaim
// any nodes that were left at the end of the search.
firstChildren.length=0;return targetChild;}}firstChildren.length=0; true?process.env.NODE_ENV!=='production'?invariant(false,'findComponentRoot(..., %s): Unable to find element. This probably '+'means the DOM was unexpectedly mutated (e.g., by the browser), '+'usually due to forgetting a <tbody> when using tables, nesting tags '+'like <form>, <p>, or <a>, or using non-SVG elements in an <svg> '+'parent. '+'Try inspecting the child nodes of the element with React ID `%s`.',targetID,ReactMount.getID(ancestorNode)):invariant(false):undefined;},_mountImageIntoNode:function _mountImageIntoNode(markup,container,shouldReuseMarkup,transaction){!(container&&(container.nodeType===ELEMENT_NODE_TYPE||container.nodeType===DOC_NODE_TYPE||container.nodeType===DOCUMENT_FRAGMENT_NODE_TYPE))?process.env.NODE_ENV!=='production'?invariant(false,'mountComponentIntoNode(...): Target container is not valid.'):invariant(false):undefined;if(shouldReuseMarkup){var rootElement=getReactRootElementInContainer(container);if(ReactMarkupChecksum.canReuseMarkup(markup,rootElement)){return;}else{var checksum=rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);var rootMarkup=rootElement.outerHTML;rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME,checksum);var normalizedMarkup=markup;if(process.env.NODE_ENV!=='production'){// because rootMarkup is retrieved from the DOM, various normalizations
// will have occurred which will not be present in `markup`. Here,
// insert markup into a <div> or <iframe> depending on the container
// type to perform the same normalizations before comparing.
var normalizer;if(container.nodeType===ELEMENT_NODE_TYPE){normalizer=document.createElement('div');normalizer.innerHTML=markup;normalizedMarkup=normalizer.innerHTML;}else{normalizer=document.createElement('iframe');document.body.appendChild(normalizer);normalizer.contentDocument.write(markup);normalizedMarkup=normalizer.contentDocument.documentElement.outerHTML;document.body.removeChild(normalizer);}}var diffIndex=firstDifferenceIndex(normalizedMarkup,rootMarkup);var difference=' (client) '+normalizedMarkup.substring(diffIndex-20,diffIndex+20)+'\n (server) '+rootMarkup.substring(diffIndex-20,diffIndex+20);!(container.nodeType!==DOC_NODE_TYPE)?process.env.NODE_ENV!=='production'?invariant(false,'You\'re trying to render a component to the document using '+'server rendering but the checksum was invalid. This usually '+'means you rendered a different component type or props on '+'the client from the one on the server, or your render() '+'methods are impure. React cannot handle this case due to '+'cross-browser quirks by rendering at the document root. You '+'should look for environment dependent code in your components '+'and ensure the props are the same client and server side:\n%s',difference):invariant(false):undefined;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'React attempted to reuse markup in a container but the '+'checksum was invalid. This generally means that you are '+'using server rendering and the markup generated on the '+'server was not what the client was expecting. React injected '+'new markup to compensate which works but you have lost many '+'of the benefits of server rendering. Instead, figure out '+'why the markup being generated is different on the client '+'or server:\n%s',difference):undefined;}}}!(container.nodeType!==DOC_NODE_TYPE)?process.env.NODE_ENV!=='production'?invariant(false,'You\'re trying to render a component to the document but '+'you didn\'t use server rendering. We can\'t do this '+'without using server rendering due to cross-browser quirks. '+'See ReactDOMServer.renderToString() for server rendering.'):invariant(false):undefined;if(transaction.useCreateElement){while(container.lastChild){container.removeChild(container.lastChild);}container.appendChild(markup);}else{setInnerHTML(container,markup);}},ownerDocumentContextKey:ownerDocumentContextKey,/**
* React ID utilities.
*/getReactRootID:getReactRootID,getID:getID,setID:setID,getNode:getNode,getNodeFromInstance:getNodeFromInstance,isValid:isValid,purgeID:purgeID};ReactPerf.measureMethods(ReactMount,'ReactMount',{_renderNewRootComponent:'_renderNewRootComponent',_mountImageIntoNode:'_mountImageIntoNode'});module.exports=ReactMount;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 26 */,
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */,
/* 31 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-whitespace-character
* @fileoverview Check if a character is a whitespace character.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=whitespace;/* Methods. */var fromCode=String.fromCharCode;/* Constants. */var re=/\s/;/**
* Check whether the given character code, or the character
* code at the first character, is a whitespace character.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is a whitespaces character.
*/function whitespace(character){return re.test(typeof character==='number'?fromCode(character):character.charAt(0));}
/***/ },
/* 32 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var freeGlobal=__webpack_require__(361);/** Detect free variable `self`. */var freeSelf=(typeof self==='undefined'?'undefined':_typeof(self))=='object'&&self&&self.Object===Object&&self;/** Used as a reference to the global object. */var root=freeGlobal||freeSelf||Function('return this')();module.exports=root;
/***/ },
/* 33 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* Checks if `value` is the
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
* @example
*
* _.isObject({});
* // => true
*
* _.isObject([1, 2, 3]);
* // => true
*
* _.isObject(_.noop);
* // => true
*
* _.isObject(null);
* // => false
*/function isObject(value){var type=typeof value==='undefined'?'undefined':_typeof(value);return value!=null&&(type=='object'||type=='function');}module.exports=isObject;
/***/ },
/* 34 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactElement
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactCurrentOwner=__webpack_require__(51);var assign=__webpack_require__(7);var canDefineProperty=__webpack_require__(183);// The Symbol used to tag the ReactElement type. If there is no native Symbol
// nor polyfill, then a plain number is used for performance.
var REACT_ELEMENT_TYPE=typeof Symbol==='function'&&Symbol['for']&&Symbol['for']('react.element')||0xeac7;var RESERVED_PROPS={key:true,ref:true,__self:true,__source:true};/**
* Base constructor for all React elements. This is only used to make this
* work with a dynamic instanceof check. Nothing should live on this prototype.
*
* @param {*} type
* @param {*} key
* @param {string|object} ref
* @param {*} self A *temporary* helper to detect places where `this` is
* different from the `owner` when React.createElement is called, so that we
* can warn. We want to get rid of owner and replace string `ref`s with arrow
* functions, and as long as `this` and owner are the same, there will be no
* change in behavior.
* @param {*} source An annotation object (added by a transpiler or otherwise)
* indicating filename, line number, and/or other information.
* @param {*} owner
* @param {*} props
* @internal
*/var ReactElement=function ReactElement(type,key,ref,self,source,owner,props){var element={// This tag allow us to uniquely identify this as a React Element
$$typeof:REACT_ELEMENT_TYPE,// Built-in properties that belong on the element
type:type,key:key,ref:ref,props:props,// Record the component responsible for creating this element.
_owner:owner};if(process.env.NODE_ENV!=='production'){// The validation flag is currently mutative. We put it on
// an external backing store so that we can freeze the whole object.
// This can be replaced with a WeakMap once they are implemented in
// commonly used development environments.
element._store={};// To make comparing ReactElements easier for testing purposes, we make
// the validation flag non-enumerable (where possible, which should
// include every environment we run tests in), so the test framework
// ignores it.
if(canDefineProperty){Object.defineProperty(element._store,'validated',{configurable:false,enumerable:false,writable:true,value:false});// self and source are DEV only properties.
Object.defineProperty(element,'_self',{configurable:false,enumerable:false,writable:false,value:self});// Two elements created in two different places should be considered
// equal for testing purposes and therefore we hide it from enumeration.
Object.defineProperty(element,'_source',{configurable:false,enumerable:false,writable:false,value:source});}else{element._store.validated=false;element._self=self;element._source=source;}Object.freeze(element.props);Object.freeze(element);}return element;};ReactElement.createElement=function(type,config,children){var propName;// Reserved names are extracted
var props={};var key=null;var ref=null;var self=null;var source=null;if(config!=null){ref=config.ref===undefined?null:config.ref;key=config.key===undefined?null:''+config.key;self=config.__self===undefined?null:config.__self;source=config.__source===undefined?null:config.__source;// Remaining properties are added to a new props object
for(propName in config){if(config.hasOwnProperty(propName)&&!RESERVED_PROPS.hasOwnProperty(propName)){props[propName]=config[propName];}}}// Children can be more than one argument, and those are transferred onto
// the newly allocated props object.
var childrenLength=arguments.length-2;if(childrenLength===1){props.children=children;}else if(childrenLength>1){var childArray=Array(childrenLength);for(var i=0;i<childrenLength;i++){childArray[i]=arguments[i+2];}props.children=childArray;}// Resolve default props
if(type&&type.defaultProps){var defaultProps=type.defaultProps;for(propName in defaultProps){if(typeof props[propName]==='undefined'){props[propName]=defaultProps[propName];}}}return ReactElement(type,key,ref,self,source,ReactCurrentOwner.current,props);};ReactElement.createFactory=function(type){var factory=ReactElement.createElement.bind(null,type);// Expose the type on the factory and the prototype so that it can be
// easily accessed on elements. E.g. `<Foo />.type === Foo`.
// This should not be named `constructor` since this may not be the function
// that created the element, and it may not even be a constructor.
// Legacy hook TODO: Warn if this is accessed
factory.type=type;return factory;};ReactElement.cloneAndReplaceKey=function(oldElement,newKey){var newElement=ReactElement(oldElement.type,newKey,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,oldElement.props);return newElement;};ReactElement.cloneAndReplaceProps=function(oldElement,newProps){var newElement=ReactElement(oldElement.type,oldElement.key,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,newProps);if(process.env.NODE_ENV!=='production'){// If the key on the original is valid, then the clone is valid
newElement._store.validated=oldElement._store.validated;}return newElement;};ReactElement.cloneElement=function(element,config,children){var propName;// Original props are copied
var props=assign({},element.props);// Reserved names are extracted
var key=element.key;var ref=element.ref;// Self is preserved since the owner is preserved.
var self=element._self;// Source is preserved since cloneElement is unlikely to be targeted by a
// transpiler, and the original source is probably a better indicator of the
// true owner.
var source=element._source;// Owner will be preserved, unless ref is overridden
var owner=element._owner;if(config!=null){if(config.ref!==undefined){// Silently steal the ref from the parent.
ref=config.ref;owner=ReactCurrentOwner.current;}if(config.key!==undefined){key=''+config.key;}// Remaining properties override existing props
for(propName in config){if(config.hasOwnProperty(propName)&&!RESERVED_PROPS.hasOwnProperty(propName)){props[propName]=config[propName];}}}// Children can be more than one argument, and those are transferred onto
// the newly allocated props object.
var childrenLength=arguments.length-2;if(childrenLength===1){props.children=children;}else if(childrenLength>1){var childArray=Array(childrenLength);for(var i=0;i<childrenLength;i++){childArray[i]=arguments[i+2];}props.children=childArray;}return ReactElement(element.type,key,ref,self,source,owner,props);};/**
* @param {?object} object
* @return {boolean} True if `object` is a valid component.
* @final
*/ReactElement.isValidElement=function(object){return(typeof object==='undefined'?'undefined':_typeof(object))==='object'&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE;};module.exports=ReactElement;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 35 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
function EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||undefined;}module.exports=EventEmitter;// Backwards-compat with node 0.10.x
EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;// By default EventEmitters will print a warning if more than 10 listeners are
// added to it. This is a useful default which helps finding memory leaks.
EventEmitter.defaultMaxListeners=10;// Obviously not all Emitters should be limited to 10. This function allows
// that to be increased. Set to zero for unlimited.
EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError('n must be a positive number');this._maxListeners=n;return this;};EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(!this._events)this._events={};// If there is no 'error' event listener then throw.
if(type==='error'){if(!this._events.error||isObject(this._events.error)&&!this._events.error.length){er=arguments[1];if(er instanceof Error){throw er;// Unhandled 'error' event
}else{// At least give some kind of context to the user
var err=new Error('Uncaught, unspecified "error" event. ('+er+')');err.context=er;throw err;}}}handler=this._events[type];if(isUndefined(handler))return false;if(isFunction(handler)){switch(arguments.length){// fast cases
case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;// slower
default:args=Array.prototype.slice.call(arguments,1);handler.apply(this,args);}}else if(isObject(handler)){args=Array.prototype.slice.call(arguments,1);listeners=handler.slice();len=listeners.length;for(i=0;i<len;i++){listeners[i].apply(this,args);}}return true;};EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError('listener must be a function');if(!this._events)this._events={};// To avoid recursion in the case that type === "newListener"! Before
// adding it to the listeners, first emit "newListener".
if(this._events.newListener)this.emit('newListener',type,isFunction(listener.listener)?listener.listener:listener);if(!this._events[type])// Optimize the case of one listener. Don't need the extra array object.
this._events[type]=listener;else if(isObject(this._events[type]))// If we've already got an array, just append.
this._events[type].push(listener);else// Adding the second element, need to change to array.
this._events[type]=[this._events[type],listener];// Check for listener leak
if(isObject(this._events[type])&&!this._events[type].warned){if(!isUndefined(this._maxListeners)){m=this._maxListeners;}else{m=EventEmitter.defaultMaxListeners;}if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error('(node) warning: possible EventEmitter memory '+'leak detected. %d listeners added. '+'Use emitter.setMaxListeners() to increase limit.',this._events[type].length);if(typeof console.trace==='function'){// not supported in IE 10
console.trace();}}}return this;};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw TypeError('listener must be a function');var fired=false;function g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments);}}g.listener=listener;this.on(type,g);return this;};// emits a 'removeListener' event iff the listener was removed
EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError('listener must be a function');if(!this._events||!this._events[type])return this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete this._events[type];if(this._events.removeListener)this.emit('removeListener',type,listener);}else if(isObject(list)){for(i=length;i-->0;){if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break;}}if(position<0)return this;if(list.length===1){list.length=0;delete this._events[type];}else{list.splice(position,1);}if(this._events.removeListener)this.emit('removeListener',type,listener);}return this;};EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;// not listening for removeListener, no need to emit
if(!this._events.removeListener){if(arguments.length===0)this._events={};else if(this._events[type])delete this._events[type];return this;}// emit removeListener for all listeners on all events
if(arguments.length===0){for(key in this._events){if(key==='removeListener')continue;this.removeAllListeners(key);}this.removeAllListeners('removeListener');this._events={};return this;}listeners=this._events[type];if(isFunction(listeners)){this.removeListener(type,listeners);}else if(listeners){// LIFO order
while(listeners.length){this.removeListener(type,listeners[listeners.length-1]);}}delete this._events[type];return this;};EventEmitter.prototype.listeners=function(type){var ret;if(!this._events||!this._events[type])ret=[];else if(isFunction(this._events[type]))ret=[this._events[type]];else ret=this._events[type].slice();return ret;};EventEmitter.prototype.listenerCount=function(type){if(this._events){var evlistener=this._events[type];if(isFunction(evlistener))return 1;else if(evlistener)return evlistener.length;}return 0;};EventEmitter.listenerCount=function(emitter,type){return emitter.listenerCount(type);};function isFunction(arg){return typeof arg==='function';}function isNumber(arg){return typeof arg==='number';}function isObject(arg){return(typeof arg==='undefined'?'undefined':_typeof(arg))==='object'&&arg!==null;}function isUndefined(arg){return arg===void 0;}
/***/ },
/* 36 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* Checks if `value` is object-like. A value is object-like if it's not `null`
* and has a `typeof` result of "object".
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
* @example
*
* _.isObjectLike({});
* // => true
*
* _.isObjectLike([1, 2, 3]);
* // => true
*
* _.isObjectLike(_.noop);
* // => false
*
* _.isObjectLike(null);
* // => false
*/function isObjectLike(value){return value!=null&&(typeof value==='undefined'?'undefined':_typeof(value))=='object';}module.exports=isObjectLike;
/***/ },
/* 37 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPerf
* @typechecks static-only
*/'use strict';/**
* ReactPerf is a general AOP system designed to measure performance. This
* module only has the hooks: see ReactDefaultPerf for the analysis tool.
*/var ReactPerf={/**
* Boolean to enable/disable measurement. Set to false by default to prevent
* accidental logging and perf loss.
*/enableMeasure:false,/**
* Holds onto the measure function in use. By default, don't measure
* anything, but we'll override this if we inject a measure function.
*/storedMeasure:_noMeasure,/**
* @param {object} object
* @param {string} objectName
* @param {object<string>} methodNames
*/measureMethods:function measureMethods(object,objectName,methodNames){if(process.env.NODE_ENV!=='production'){for(var key in methodNames){if(!methodNames.hasOwnProperty(key)){continue;}object[key]=ReactPerf.measure(objectName,methodNames[key],object[key]);}}},/**
* Use this to wrap methods you want to measure. Zero overhead in production.
*
* @param {string} objName
* @param {string} fnName
* @param {function} func
* @return {function}
*/measure:function measure(objName,fnName,func){if(process.env.NODE_ENV!=='production'){var measuredFunc=null;var wrapper=function wrapper(){if(ReactPerf.enableMeasure){if(!measuredFunc){measuredFunc=ReactPerf.storedMeasure(objName,fnName,func);}return measuredFunc.apply(this,arguments);}return func.apply(this,arguments);};wrapper.displayName=objName+'_'+fnName;return wrapper;}return func;},injection:{/**
* @param {function} measure
*/injectMeasure:function injectMeasure(measure){ReactPerf.storedMeasure=measure;}}};/**
* Simply passes through the measured function, without measuring it.
*
* @param {string} objName
* @param {string} fnName
* @param {function} func
* @return {function}
*/function _noMeasure(objName,fnName,func){return func;}module.exports=ReactPerf;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 38 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var baseMatches=__webpack_require__(730),baseMatchesProperty=__webpack_require__(731),identity=__webpack_require__(60),isArray=__webpack_require__(9),property=__webpack_require__(867);/**
* The base implementation of `_.iteratee`.
*
* @private
* @param {*} [value=_.identity] The value to convert to an iteratee.
* @returns {Function} Returns the iteratee.
*/function baseIteratee(value){// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
if(typeof value=='function'){return value;}if(value==null){return identity;}if((typeof value==='undefined'?'undefined':_typeof(value))=='object'){return isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value);}return property(value);}module.exports=baseIteratee;
/***/ },
/* 39 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactUpdates
*/'use strict';var CallbackQueue=__webpack_require__(247);var PooledClass=__webpack_require__(65);var ReactPerf=__webpack_require__(37);var ReactReconciler=__webpack_require__(78);var Transaction=__webpack_require__(182);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var dirtyComponents=[];var asapCallbackQueue=CallbackQueue.getPooled();var asapEnqueued=false;var batchingStrategy=null;function ensureInjected(){!(ReactUpdates.ReactReconcileTransaction&&batchingStrategy)?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates: must inject a reconcile transaction class and batching '+'strategy'):invariant(false):undefined;}var NESTED_UPDATES={initialize:function initialize(){this.dirtyComponentsLength=dirtyComponents.length;},close:function close(){if(this.dirtyComponentsLength!==dirtyComponents.length){// Additional updates were enqueued by componentDidUpdate handlers or
// similar; before our own UPDATE_QUEUEING wrapper closes, we want to run
// these new updates so that if A's componentDidUpdate calls setState on
// B, B will update before the callback A's updater provided when calling
// setState.
dirtyComponents.splice(0,this.dirtyComponentsLength);flushBatchedUpdates();}else{dirtyComponents.length=0;}}};var UPDATE_QUEUEING={initialize:function initialize(){this.callbackQueue.reset();},close:function close(){this.callbackQueue.notifyAll();}};var TRANSACTION_WRAPPERS=[NESTED_UPDATES,UPDATE_QUEUEING];function ReactUpdatesFlushTransaction(){this.reinitializeTransaction();this.dirtyComponentsLength=null;this.callbackQueue=CallbackQueue.getPooled();this.reconcileTransaction=ReactUpdates.ReactReconcileTransaction.getPooled(/* forceHTML */false);}assign(ReactUpdatesFlushTransaction.prototype,Transaction.Mixin,{getTransactionWrappers:function getTransactionWrappers(){return TRANSACTION_WRAPPERS;},destructor:function destructor(){this.dirtyComponentsLength=null;CallbackQueue.release(this.callbackQueue);this.callbackQueue=null;ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);this.reconcileTransaction=null;},perform:function perform(method,scope,a){// Essentially calls `this.reconcileTransaction.perform(method, scope, a)`
// with this transaction's wrappers around it.
return Transaction.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,method,scope,a);}});PooledClass.addPoolingTo(ReactUpdatesFlushTransaction);function batchedUpdates(callback,a,b,c,d,e){ensureInjected();batchingStrategy.batchedUpdates(callback,a,b,c,d,e);}/**
* Array comparator for ReactComponents by mount ordering.
*
* @param {ReactComponent} c1 first component you're comparing
* @param {ReactComponent} c2 second component you're comparing
* @return {number} Return value usable by Array.prototype.sort().
*/function mountOrderComparator(c1,c2){return c1._mountOrder-c2._mountOrder;}function runBatchedUpdates(transaction){var len=transaction.dirtyComponentsLength;!(len===dirtyComponents.length)?process.env.NODE_ENV!=='production'?invariant(false,'Expected flush transaction\'s stored dirty-components length (%s) to '+'match dirty-components array length (%s).',len,dirtyComponents.length):invariant(false):undefined;// Since reconciling a component higher in the owner hierarchy usually (not
// always -- see shouldComponentUpdate()) will reconcile children, reconcile
// them before their children by sorting the array.
dirtyComponents.sort(mountOrderComparator);for(var i=0;i<len;i++){// If a component is unmounted before pending changes apply, it will still
// be here, but we assume that it has cleared its _pendingCallbacks and
// that performUpdateIfNecessary is a noop.
var component=dirtyComponents[i];// If performUpdateIfNecessary happens to enqueue any new updates, we
// shouldn't execute the callbacks until the next render happens, so
// stash the callbacks first
var callbacks=component._pendingCallbacks;component._pendingCallbacks=null;ReactReconciler.performUpdateIfNecessary(component,transaction.reconcileTransaction);if(callbacks){for(var j=0;j<callbacks.length;j++){transaction.callbackQueue.enqueue(callbacks[j],component.getPublicInstance());}}}}var flushBatchedUpdates=function flushBatchedUpdates(){// ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents
// array and perform any updates enqueued by mount-ready handlers (i.e.,
// componentDidUpdate) but we need to check here too in order to catch
// updates enqueued by setState callbacks and asap calls.
while(dirtyComponents.length||asapEnqueued){if(dirtyComponents.length){var transaction=ReactUpdatesFlushTransaction.getPooled();transaction.perform(runBatchedUpdates,null,transaction);ReactUpdatesFlushTransaction.release(transaction);}if(asapEnqueued){asapEnqueued=false;var queue=asapCallbackQueue;asapCallbackQueue=CallbackQueue.getPooled();queue.notifyAll();CallbackQueue.release(queue);}}};flushBatchedUpdates=ReactPerf.measure('ReactUpdates','flushBatchedUpdates',flushBatchedUpdates);/**
* Mark a component as needing a rerender, adding an optional callback to a
* list of functions which will be executed once the rerender occurs.
*/function enqueueUpdate(component){ensureInjected();// Various parts of our code (such as ReactCompositeComponent's
// _renderValidatedComponent) assume that calls to render aren't nested;
// verify that that's the case. (This is called by each top-level update
// function, like setProps, setState, forceUpdate, etc.; creation and
// destruction of top-level components is guarded in ReactMount.)
if(!batchingStrategy.isBatchingUpdates){batchingStrategy.batchedUpdates(enqueueUpdate,component);return;}dirtyComponents.push(component);}/**
* Enqueue a callback to be run at the end of the current batching cycle. Throws
* if no updates are currently being performed.
*/function asap(callback,context){!batchingStrategy.isBatchingUpdates?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates.asap: Can\'t enqueue an asap callback in a context where'+'updates are not being batched.'):invariant(false):undefined;asapCallbackQueue.enqueue(callback,context);asapEnqueued=true;}var ReactUpdatesInjection={injectReconcileTransaction:function injectReconcileTransaction(ReconcileTransaction){!ReconcileTransaction?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates: must provide a reconcile transaction class'):invariant(false):undefined;ReactUpdates.ReactReconcileTransaction=ReconcileTransaction;},injectBatchingStrategy:function injectBatchingStrategy(_batchingStrategy){!_batchingStrategy?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates: must provide a batching strategy'):invariant(false):undefined;!(typeof _batchingStrategy.batchedUpdates==='function')?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates: must provide a batchedUpdates() function'):invariant(false):undefined;!(typeof _batchingStrategy.isBatchingUpdates==='boolean')?process.env.NODE_ENV!=='production'?invariant(false,'ReactUpdates: must provide an isBatchingUpdates boolean attribute'):invariant(false):undefined;batchingStrategy=_batchingStrategy;}};var ReactUpdates={/**
* React references `ReactReconcileTransaction` using this property in order
* to allow dependency injection.
*
* @internal
*/ReactReconcileTransaction:null,batchedUpdates:batchedUpdates,enqueueUpdate:enqueueUpdate,flushBatchedUpdates:flushBatchedUpdates,injection:ReactUpdatesInjection,asap:asap};module.exports=ReactUpdates;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 40 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule emptyFunction
*/"use strict";function makeEmptyFunction(arg){return function(){return arg;};}/**
* This function accepts and discards inputs; it has no side effects. This is
* primarily useful idiomatically for overridable function endpoints which
* always need to be callable, since JS lacks a null-call idiom ala Cocoa.
*/function emptyFunction(){}emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this;};emptyFunction.thatReturnsArgument=function(arg){return arg;};module.exports=emptyFunction;
/***/ },
/* 41 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isFunction=__webpack_require__(47),isLength=__webpack_require__(233);/**
* Checks if `value` is array-like. A value is considered array-like if it's
* not a function and has a `value.length` that's an integer greater than or
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
* @example
*
* _.isArrayLike([1, 2, 3]);
* // => true
*
* _.isArrayLike(document.body.children);
* // => true
*
* _.isArrayLike('abc');
* // => true
*
* _.isArrayLike(_.noop);
* // => false
*/function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value);}module.exports=isArrayLike;
/***/ },
/* 42 */,
/* 43 */,
/* 44 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.map` for arrays without support for iteratee
* shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
*/function arrayMap(array,iteratee){var index=-1,length=array==null?0:array.length,result=Array(length);while(++index<length){result[index]=iteratee(array[index],index,array);}return result;}module.exports=arrayMap;
/***/ },
/* 45 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var identity=__webpack_require__(60),overRest=__webpack_require__(372),setToString=__webpack_require__(229);/**
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
*
* @private
* @param {Function} func The function to apply a rest parameter to.
* @param {number} [start=func.length-1] The start position of the rest parameter.
* @returns {Function} Returns the new function.
*/function baseRest(func,start){return setToString(overRest(func,start,identity),func+'');}module.exports=baseRest;
/***/ },
/* 46 */
/***/ function(module, exports) {
"use strict";
'use strict';module.exports={'cap':false,'curry':false,'fixed':false,'immutable':false,'rearg':false};
/***/ },
/* 47 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),isObject=__webpack_require__(33);/** `Object#toString` result references. */var asyncTag='[object AsyncFunction]',funcTag='[object Function]',genTag='[object GeneratorFunction]',proxyTag='[object Proxy]';/**
* Checks if `value` is classified as a `Function` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
* @example
*
* _.isFunction(_);
* // => true
*
* _.isFunction(/abc/);
* // => false
*/function isFunction(value){if(!isObject(value)){return false;}// The use of `Object#toString` avoids issues with the `typeof` operator
// in Safari 9 which returns 'object' for typed arrays and other constructors.
var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag;}module.exports=isFunction;
/***/ },
/* 48 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var toFinite=__webpack_require__(397);/**
* Converts `value` to an integer.
*
* **Note:** This method is loosely based on
* [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to convert.
* @returns {number} Returns the converted integer.
* @example
*
* _.toInteger(3.2);
* // => 3
*
* _.toInteger(Number.MIN_VALUE);
* // => 0
*
* _.toInteger(Infinity);
* // => 1.7976931348623157e+308
*
* _.toInteger('3.2');
* // => 3
*/function toInteger(value){var result=toFinite(value),remainder=result%1;return result===result?remainder?result-remainder:result:0;}module.exports=toInteger;
/***/ },
/* 49 */,
/* 50 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventConstants
*/'use strict';var keyMirror=__webpack_require__(137);var PropagationPhases=keyMirror({bubbled:null,captured:null});/**
* Types of raw signals from the browser caught at the top level.
*/var topLevelTypes=keyMirror({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null});var EventConstants={topLevelTypes:topLevelTypes,PropagationPhases:PropagationPhases};module.exports=EventConstants;
/***/ },
/* 51 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCurrentOwner
*/'use strict';/**
* Keeps track of the current owner.
*
* The current owner is the component who should own any components that are
* currently being constructed.
*/var ReactCurrentOwner={/**
* @internal
* @type {ReactComponent}
*/current:null};module.exports=ReactCurrentOwner;
/***/ },
/* 52 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Checkbox=__webpack_require__(192);var _Checkbox2=_interopRequireDefault(_Checkbox);var _Radio=__webpack_require__(269);var _Radio2=_interopRequireDefault(_Radio);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A field is a form element containing a label and an input
* @see Form
* @see Button
* @see Checkbox
* @see Dropdown
* @see Input
* @see Radio
* @see Select
* @see TextArea
*/function FormField(props){var control=props.control,children=props.children,className=props.className,disabled=props.disabled,error=props.error,inline=props.inline,label=props.label,required=props.required,type=props.type,width=props.width;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(inline,'inline'),(0,_lib.useKeyOnly)(required,'required'),(0,_lib.useWidthProp)(width,'wide'),'field',className);var rest=(0,_lib.getUnhandledProps)(FormField,props);var ElementType=(0,_lib.getElementType)(FormField,props);// ----------------------------------------
// No Control
// ----------------------------------------
if(!control){// TODO add test for label/no label when no control
if(!label)return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_react2.default.createElement('label',null,label));}// ----------------------------------------
// Checkbox/Radio Control
// ----------------------------------------
var controlProps=_extends({},rest,{children:children,required:required,type:type});// wrap HTML checkboxes/radios in the label
if(control==='input'&&(type==='checkbox'||type==='radio')){return _react2.default.createElement(ElementType,{className:classes},_react2.default.createElement('label',null,(0,_react.createElement)(control,controlProps),' ',label));}// pass label prop to controls that support it
if(control===_Checkbox2.default||control===_Radio2.default){return _react2.default.createElement(ElementType,{className:classes},(0,_react.createElement)(control,_extends({},controlProps,{label:label})));}// ----------------------------------------
// Other Control
// ----------------------------------------
// control with a label
if(control&&label){return _react2.default.createElement(ElementType,{className:classes},_react2.default.createElement('label',null,label),(0,_react.createElement)(control,controlProps));}// control without a label
if(control&&!label){return _react2.default.createElement(ElementType,{className:classes},(0,_react.createElement)(control,controlProps));}}FormField._meta={name:'FormField',parent:'Form',type:_lib.META.TYPES.COLLECTION,props:{width:_lib.SUI.WIDTHS,control:['button','input','select','textarea']}};FormField.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/**
* A form control component (i.e. Dropdown) or HTML tagName (i.e. 'input').
* Extra FormField props are passed to the control component.
* Mutually exclusive with children.
*/control:_lib.customPropTypes.some([_react.PropTypes.func,_react.PropTypes.oneOf(FormField._meta.props.control)]),/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Individual fields may be disabled */disabled:_react.PropTypes.bool,/** Individual fields may display an error state */error:_react.PropTypes.bool,/** A field can have its label next to instead of above it */inline:_react.PropTypes.bool,// Heads Up!
// Do not disallow children with `label` shorthand
// The `control` might accept a `label` prop and `children`
/** Mutually exclusive with children. */label:_react.PropTypes.string,/** A field can show that input is mandatory. Requires a label. */required:_lib.customPropTypes.every([_lib.customPropTypes.demand(['label']),_react.PropTypes.bool]),/** Passed to the control component (i.e. <input type='password' />) */type:_lib.customPropTypes.every([_lib.customPropTypes.demand(['control'])]),/** A field can specify its width in grid columns */width:_react.PropTypes.oneOf(FormField._meta.props.width)};exports.default=FormField;
/***/ },
/* 53 */,
/* 54 */,
/* 55 */,
/* 56 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports['default']=/*istanbul ignore end*/Diff;function Diff(){}Diff.prototype={/*istanbul ignore start*//*istanbul ignore end*/diff:function diff(oldString,newString){/*istanbul ignore start*/var/*istanbul ignore end*/options=arguments.length<=2||arguments[2]===undefined?{}:arguments[2];var callback=options.callback;if(typeof options==='function'){callback=options;options={};}this.options=options;var self=this;function done(value){if(callback){setTimeout(function(){callback(undefined,value);},0);return true;}else{return value;}}// Allow subclasses to massage the input prior to running
oldString=this.castInput(oldString);newString=this.castInput(newString);oldString=this.removeEmpty(this.tokenize(oldString));newString=this.removeEmpty(this.tokenize(newString));var newLen=newString.length,oldLen=oldString.length;var editLength=1;var maxEditLength=newLen+oldLen;var bestPath=[{newPos:-1,components:[]}];// Seed editLength = 0, i.e. the content starts with the same values
var oldPos=this.extractCommon(bestPath[0],newString,oldString,0);if(bestPath[0].newPos+1>=newLen&&oldPos+1>=oldLen){// Identity per the equality and tokenizer
return done([{value:this.join(newString),count:newString.length}]);}// Main worker method. checks all permutations of a given edit length for acceptance.
function execEditLength(){for(var diagonalPath=-1*editLength;diagonalPath<=editLength;diagonalPath+=2){var basePath=/*istanbul ignore start*/void 0/*istanbul ignore end*/;var addPath=bestPath[diagonalPath-1],removePath=bestPath[diagonalPath+1],_oldPos=(removePath?removePath.newPos:0)-diagonalPath;if(addPath){// No one else is going to attempt to use this value, clear it
bestPath[diagonalPath-1]=undefined;}var canAdd=addPath&&addPath.newPos+1<newLen,canRemove=removePath&&0<=_oldPos&&_oldPos<oldLen;if(!canAdd&&!canRemove){// If this path is a terminal then prune
bestPath[diagonalPath]=undefined;continue;}// Select the diagonal that we want to branch from. We select the prior
// path whose position in the new string is the farthest from the origin
// and does not pass the bounds of the diff graph
if(!canAdd||canRemove&&addPath.newPos<removePath.newPos){basePath=clonePath(removePath);self.pushComponent(basePath.components,undefined,true);}else{basePath=addPath;// No need to clone, we've pulled it from the list
basePath.newPos++;self.pushComponent(basePath.components,true,undefined);}_oldPos=self.extractCommon(basePath,newString,oldString,diagonalPath);// If we have hit the end of both strings, then we are done
if(basePath.newPos+1>=newLen&&_oldPos+1>=oldLen){return done(buildValues(self,basePath.components,newString,oldString,self.useLongestToken));}else{// Otherwise track this path as a potential candidate and continue.
bestPath[diagonalPath]=basePath;}}editLength++;}// Performs the length of edit iteration. Is a bit fugly as this has to support the
// sync and async mode which is never fun. Loops over execEditLength until a value
// is produced.
if(callback){(function exec(){setTimeout(function(){// This should not happen, but we want to be safe.
/* istanbul ignore next */if(editLength>maxEditLength){return callback();}if(!execEditLength()){exec();}},0);})();}else{while(editLength<=maxEditLength){var ret=execEditLength();if(ret){return ret;}}}},/*istanbul ignore start*//*istanbul ignore end*/pushComponent:function pushComponent(components,added,removed){var last=components[components.length-1];if(last&&last.added===added&&last.removed===removed){// We need to clone here as the component clone operation is just
// as shallow array clone
components[components.length-1]={count:last.count+1,added:added,removed:removed};}else{components.push({count:1,added:added,removed:removed});}},/*istanbul ignore start*//*istanbul ignore end*/extractCommon:function extractCommon(basePath,newString,oldString,diagonalPath){var newLen=newString.length,oldLen=oldString.length,newPos=basePath.newPos,oldPos=newPos-diagonalPath,commonCount=0;while(newPos+1<newLen&&oldPos+1<oldLen&&this.equals(newString[newPos+1],oldString[oldPos+1])){newPos++;oldPos++;commonCount++;}if(commonCount){basePath.components.push({count:commonCount});}basePath.newPos=newPos;return oldPos;},/*istanbul ignore start*//*istanbul ignore end*/equals:function equals(left,right){return left===right;},/*istanbul ignore start*//*istanbul ignore end*/removeEmpty:function removeEmpty(array){var ret=[];for(var i=0;i<array.length;i++){if(array[i]){ret.push(array[i]);}}return ret;},/*istanbul ignore start*//*istanbul ignore end*/castInput:function castInput(value){return value;},/*istanbul ignore start*//*istanbul ignore end*/tokenize:function tokenize(value){return value.split('');},/*istanbul ignore start*//*istanbul ignore end*/join:function join(chars){return chars.join('');}};function buildValues(diff,components,newString,oldString,useLongestToken){var componentPos=0,componentLen=components.length,newPos=0,oldPos=0;for(;componentPos<componentLen;componentPos++){var component=components[componentPos];if(!component.removed){if(!component.added&&useLongestToken){var value=newString.slice(newPos,newPos+component.count);value=value.map(function(value,i){var oldValue=oldString[oldPos+i];return oldValue.length>value.length?oldValue:value;});component.value=diff.join(value);}else{component.value=diff.join(newString.slice(newPos,newPos+component.count));}newPos+=component.count;// Common case
if(!component.added){oldPos+=component.count;}}else{component.value=diff.join(oldString.slice(oldPos,oldPos+component.count));oldPos+=component.count;// Reverse add and remove so removes are output first to match common convention
// The diffing algorithm is tied to add then remove output and this is the simplest
// route to get the desired output with minimal overhead.
if(componentPos&&components[componentPos-1].added){var tmp=components[componentPos-1];components[componentPos-1]=components[componentPos];components[componentPos]=tmp;}}}// Special case handle for when one terminal is ignored. For this case we merge the
// terminal into the prior string and drop the change.
var lastComponent=components[componentLen-1];if(componentLen>1&&(lastComponent.added||lastComponent.removed)&&diff.equals('',lastComponent.value)){components[componentLen-2].value+=lastComponent.value;components.pop();}return components;}function clonePath(path){return{newPos:path.newPos,components:path.components.slice(0)};}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2Jhc2UuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IndHQUF3QixBLEtBQVQsUUFBUyxBQUFULE9BQWdCLEFBQUUsRUFFakMsS0FBSyxBQUFMLFVBQWlCLEMsZ0RBQ2YsQUFEZSxtQkFDVixBQURVLFVBQ0MsQUFERCxVQUMwQiwwQkFBQSxHLHVCQUFkLEFBQWMsc0RBQUosQUFBSSxhQUN2QyxNQUFJLFVBQVcsUUFBUSxBQUF2QixBQUNBLFlBQUksTUFBTyxBQUFQLFdBQW1CLEFBQXZCLFdBQW1DLEFBQ2pDLFVBQVcsQUFBWCxBQUNBLGdCQUFVLEFBQVYsQUFDRCxHQUNELE1BQUssQUFBTCxRQUFlLEFBQWYsQUFFQSxXQUFJLE1BQU8sQUFBWCxBQUVBLGFBQVMsQUFBVCxNQUFjLEFBQWQsTUFBcUIsQUFDbkIsSUFBSSxBQUFKLFNBQWMsQUFDWixZQUFXLFVBQVcsQUFBRSxVQUFTLEFBQVQsVUFBb0IsQUFBcEIsQUFBNkIsT0FBckQsRUFBdUQsQUFBdkQsQUFDQSxTQUFPLEFBQVAsQUFDRCxNQUhELEtBR08sQUFDTCxPQUFPLEFBQVAsQUFDRCxPQUNGLEVBR0Q7VUFBWSxLQUFLLEFBQUwsVUFBZSxBQUFmLEFBQVosQUFDQSxxQkFBWSxLQUFLLEFBQUwsVUFBZSxBQUFmLEFBQVosQUFFQSxxQkFBWSxLQUFLLEFBQUwsWUFBaUIsS0FBSyxBQUFMLFNBQWMsQUFBZCxBQUFqQixBQUFaLEFBQ0Esc0JBQVksS0FBSyxBQUFMLFlBQWlCLEtBQUssQUFBTCxTQUFjLEFBQWQsQUFBakIsQUFBWixBQUVBLGVBQUksUUFBUyxVQUFVLEFBQXZCLE9BQStCLE9BQVMsVUFBVSxBQUFsRCxBQUNBLFVBQUksWUFBYSxBQUFqQixBQUNBLEtBQUksZUFBZ0IsT0FBUyxBQUE3QixBQUNBLFVBQUksVUFBVyxDQUFDLENBQUUsT0FBUSxDQUFDLEFBQVgsRUFBYyxXQUFZLEFBQTFCLEFBQUQsQUFBZixLQUdBO0dBQUksUUFBUyxLQUFLLEFBQUwsY0FBbUIsU0FBUyxBQUFULEFBQW5CLEdBQWdDLEFBQWhDLFVBQTJDLEFBQTNDLFVBQXNELEFBQXRELEFBQWIsQUFDQSxNQUFJLFNBQVMsQUFBVCxHQUFZLEFBQVosT0FBcUIsQUFBckIsR0FBMEIsQUFBMUIsUUFBb0MsT0FBUyxBQUFULEdBQWMsQUFBdEQsT0FBOEQsQ0FFNUQ7TUFBTyxNQUFLLENBQUMsQ0FBQyxNQUFPLEtBQUssQUFBTCxLQUFVLEFBQVYsQUFBUixXQUE4QixNQUFPLFVBQVUsQUFBL0MsQUFBRCxBQUFMLEFBQVAsQUFDRCxXQUdEO1FBQVMsQUFBVCxpQkFBMEIsQUFDeEIsS0FBSyxHQUFJLGNBQWUsQ0FBQyxBQUFELEVBQUssQUFBN0IsV0FBeUMsY0FBZ0IsQUFBekQsV0FBcUUsY0FBZ0IsQUFBckYsRUFBd0YsQUFDdEYsSUFBSSxVLHlCQUFBLEksRUFBSixBQUNBLDJCQUFJLFNBQVUsU0FBUyxhQUFlLEFBQXhCLEFBQWQsR0FDSSxXQUFhLFNBQVMsYUFBZSxBQUF4QixBQURqQixHQUVJLFFBQVMsQ0FBQyxXQUFhLFdBQVcsQUFBeEIsT0FBaUMsQUFBbEMsR0FBdUMsQUFGcEQsQUFHQSxnQkFBSSxBQUFKLFFBQWEsQ0FFWDtTQUFTLGFBQWUsQUFBeEIsR0FBNkIsQUFBN0IsQUFDRCxVQUVELElBQUksUUFBUyxTQUFXLFFBQVEsQUFBUixPQUFpQixBQUFqQixFQUFxQixBQUE3QyxPQUNJLFVBQVksWUFBYyxHQUFLLEFBQW5CLFNBQTZCLFFBQVMsQUFEdEQsQUFFQSxVQUFJLENBQUMsQUFBRCxRQUFXLENBQUMsQUFBaEIsVUFBMkIsQ0FFekI7U0FBUyxBQUFULGNBQXlCLEFBQXpCLEFBQ0EsVUFDRDs7QUFLRDtHQUFJLENBQUMsQUFBRCxRQUFZLFdBQWEsUUFBUSxBQUFSLE9BQWlCLFdBQVcsQUFBekQsT0FBa0UsQUFDaEUsVUFBVyxVQUFVLEFBQVYsQUFBWCxBQUNBLGlCQUFLLEFBQUwsY0FBbUIsU0FBUyxBQUE1QixXQUF3QyxBQUF4QyxVQUFtRCxBQUFuRCxBQUNELE1BSEQsS0FHTyxBQUNMLFVBQVcsQUFBWCxBLFFBQ0E7U0FBUyxBQUFULEFBQ0EsY0FBSyxBQUFMLGNBQW1CLFNBQVMsQUFBNUIsV0FBd0MsQUFBeEMsS0FBOEMsQUFBOUMsQUFDRCxXQUVELFNBQVMsS0FBSyxBQUFMLGNBQW1CLEFBQW5CLFNBQTZCLEFBQTdCLFVBQXdDLEFBQXhDLFVBQW1ELEFBQW5ELEFBQVQsY0FHQTtHQUFJLFNBQVMsQUFBVCxPQUFrQixBQUFsQixHQUF1QixBQUF2QixRQUFpQyxRQUFTLEFBQVQsR0FBYyxBQUFuRCxPQUEyRCxBQUN6RCxPQUFPLE1BQUssWUFBWSxBQUFaLEtBQWtCLFNBQVMsQUFBM0IsV0FBdUMsQUFBdkMsVUFBa0QsQUFBbEQsVUFBNkQsS0FBSyxBQUFsRSxBQUFMLEFBQVAsQUFDRCxrQkFGRCxLQUVPLENBRUw7U0FBUyxBQUFULGNBQXlCLEFBQXpCLEFBQ0QsU0FDRixDQUVELENBQ0Q7O0FBS0Q7R0FBSSxBQUFKLFNBQWMsQUFDWCxVQUFTLEFBQVQsT0FBZ0IsQUFDZixZQUFXLFVBQVc7QUFHcEIsNkJBQUksV0FBYSxBQUFqQixjQUFnQyxBQUM5QixPQUFPLEFBQVAsQUFDRCxZQUVELElBQUksQ0FBQyxBQUFMLGlCQUF1QixBQUNyQixDQUNELE9BQ0YsQ0FWRCxFQVVHLEFBVkgsQUFXRCxHQVpBLEFBQUQsQUFhRCxLQWRELEtBY08sQUFDTCxPQUFPLFlBQWMsQUFBckIsY0FBb0MsQUFDbEMsSUFBSSxLQUFNLEFBQVYsQUFDQSxvQkFBSSxBQUFKLElBQVMsQUFDUCxPQUFPLEFBQVAsQUFDRCxLQUNGLENBQ0YsQ0FDRixDQTlHYyxrREFnSGYsQUFoSGUscUNBZ0hELEFBaEhDLFdBZ0hXLEFBaEhYLE1BZ0hrQixBQWhIbEIsUUFnSDJCLEFBQ3hDLElBQUksTUFBTyxXQUFXLFdBQVcsQUFBWCxPQUFvQixBQUEvQixBQUFYLEFBQ0EsTUFBSSxNQUFRLEtBQUssQUFBTCxRQUFlLEFBQXZCLE9BQWdDLEtBQUssQUFBTCxVQUFpQixBQUFyRCxRQUE4RDtBQUc1RDtXQUFXLFdBQVcsQUFBWCxPQUFvQixBQUEvQixHQUFvQyxDQUFDLE1BQU8sS0FBSyxBQUFMLE1BQWEsQUFBckIsRUFBd0IsTUFBTyxBQUEvQixNQUFzQyxRQUFTLEFBQS9DLEFBQXBDLEFBQ0QsU0FKRCxLQUlPLEFBQ0wsWUFBVyxBQUFYLEtBQWdCLENBQUMsTUFBTyxBQUFSLEVBQVcsTUFBTyxBQUFsQixNQUF5QixRQUFTLEFBQWxDLEFBQWhCLEFBQ0QsVUFDRixDQXpIYyxrREEwSGYsQUExSGUscUNBMEhELEFBMUhDLFNBMEhTLEFBMUhULFVBMEhvQixBQTFIcEIsVUEwSCtCLEFBMUgvQixhQTBINkMsQUFDMUQsSUFBSSxRQUFTLFVBQVUsQUFBdkIsT0FDSSxPQUFTLFVBQVUsQUFEdkIsT0FFSSxPQUFTLFNBQVMsQUFGdEIsT0FHSSxPQUFTLE9BQVMsQUFIdEIsYUFLSSxZQUFjLEFBTGxCLEFBTUEsUUFBTyxPQUFTLEFBQVQsRUFBYSxBQUFiLFFBQXVCLE9BQVMsQUFBVCxFQUFhLEFBQXBDLFFBQThDLEtBQUssQUFBTCxPQUFZLFVBQVUsT0FBUyxBQUFuQixBQUFaLEdBQW1DLFVBQVUsT0FBUyxBQUFuQixBQUFuQyxBQUFyRCxJQUFnSCxBQUM5RyxDQUNBLFNBQ0EsU0FDRCxjQUVELElBQUksQUFBSixZQUFpQixBQUNmLFVBQVMsQUFBVCxXQUFvQixBQUFwQixLQUF5QixDQUFDLE1BQU8sQUFBUixBQUF6QixBQUNELGNBRUQsVUFBUyxBQUFULE9BQWtCLEFBQWxCLEFBQ0EsYUFBTyxBQUFQLEFBQ0QsUUE3SWMsa0RBK0lmLEFBL0llLHVCQStJUixBQS9JUSxLQStJRixBQS9JRSxNQStJSyxBQUNsQixPQUFPLFFBQVMsQUFBaEIsQUFDRCxNQWpKYyxrREFrSmYsQUFsSmUsaUNBa0pILEFBbEpHLE1Ba0pJLEFBQ2pCLElBQUksS0FBTSxBQUFWLEFBQ0EsT0FBSyxHQUFJLEdBQUksQUFBYixFQUFnQixFQUFJLE1BQU0sQUFBMUIsT0FBa0MsQUFBbEMsSUFBdUMsQUFDckMsSUFBSSxNQUFNLEFBQU4sQUFBSixHQUFjLEFBQ1osS0FBSSxBQUFKLEtBQVMsTUFBTSxBQUFOLEFBQVQsQUFDRCxJQUNGLENBQ0QsT0FBTyxBQUFQLEFBQ0QsS0ExSmMsa0RBMkpmLEFBM0plLDZCQTJKTCxBQTNKSyxNQTJKRSxBQUNmLE9BQU8sQUFBUCxBQUNELE9BN0pjLGtEQThKZixBQTlKZSwyQkE4Sk4sQUE5Sk0sTUE4SkMsQUFDZCxPQUFPLE9BQU0sQUFBTixNQUFZLEFBQVosQUFBUCxBQUNELElBaEtjLGtEQWlLZixBQWpLZSxtQkFpS1YsQUFqS1UsTUFpS0gsQUFDVixPQUFPLE9BQU0sQUFBTixLQUFXLEFBQVgsQUFBUCxBQUNELElBbktjLEFBQWpCLEdBc0tBLFFBQVMsQUFBVCxhQUFxQixBQUFyQixLQUEyQixBQUEzQixXQUF1QyxBQUF2QyxVQUFrRCxBQUFsRCxVQUE2RCxBQUE3RCxnQkFBOEUsQUFDNUUsSUFBSSxjQUFlLEFBQW5CLEVBQ0ksYUFBZSxXQUFXLEFBRDlCLE9BRUksT0FBUyxBQUZiLEVBR0ksT0FBUyxBQUhiLEFBS0EsT0FBTyxhQUFlLEFBQXRCLGFBQW9DLEFBQXBDLGVBQW9ELEFBQ2xELElBQUksV0FBWSxXQUFXLEFBQVgsQUFBaEIsQUFDQSxpQkFBSSxDQUFDLFVBQVUsQUFBZixRQUF3QixBQUN0QixJQUFJLENBQUMsVUFBVSxBQUFYLE9BQW9CLEFBQXhCLGdCQUF5QyxBQUN2QyxJQUFJLE9BQVEsVUFBVSxBQUFWLE1BQWdCLEFBQWhCLE9BQXdCLE9BQVMsVUFBVSxBQUEzQyxBQUFaLEFBQ0EsYUFBUSxNQUFNLEFBQU4sSUFBVSxTQUFTLEFBQVQsTUFBZ0IsQUFBaEIsRUFBbUIsQUFDbkMsSUFBSSxVQUFXLFVBQVUsT0FBUyxBQUFuQixBQUFmLEFBQ0EsU0FBTyxVQUFTLEFBQVQsT0FBa0IsTUFBTSxBQUF4QixPQUFpQyxBQUFqQyxTQUE0QyxBQUFuRCxBQUNELE1BSE8sQUFBUixBQUtBLGFBQVUsQUFBVixNQUFrQixLQUFLLEFBQUwsS0FBVSxBQUFWLEFBQWxCLEFBQ0QsT0FSRCxLQVFPLEFBQ0wsV0FBVSxBQUFWLE1BQWtCLEtBQUssQUFBTCxLQUFVLFVBQVUsQUFBVixNQUFnQixBQUFoQixPQUF3QixPQUFTLFVBQVUsQUFBM0MsQUFBVixBQUFsQixBQUNELFFBQ0QsU0FBVSxVQUFVLEFBQXBCLE1BR0E7R0FBSSxDQUFDLFVBQVUsQUFBZixNQUFzQixBQUNwQixTQUFVLFVBQVUsQUFBcEIsQUFDRCxNQUNGLENBbEJELEtBa0JPLEFBQ0wsV0FBVSxBQUFWLE1BQWtCLEtBQUssQUFBTCxLQUFVLFVBQVUsQUFBVixNQUFnQixBQUFoQixPQUF3QixPQUFTLFVBQVUsQUFBM0MsQUFBVixBQUFsQixBQUNBLGdCQUFVLFVBQVUsQUFBcEI7O0FBS0E7R0FBSSxjQUFnQixXQUFXLGFBQWUsQUFBMUIsR0FBNkIsQUFBakQsTUFBd0QsQUFDdEQsSUFBSSxLQUFNLFdBQVcsYUFBZSxBQUExQixBQUFWLEFBQ0EsY0FBVyxhQUFlLEFBQTFCLEdBQStCLFdBQVcsQUFBWCxBQUEvQixBQUNBLHlCQUFXLEFBQVgsY0FBMkIsQUFBM0IsQUFDRCxJQUNGLENBQ0Y7QUFJRDtHQUFJLGVBQWdCLFdBQVcsYUFBZSxBQUExQixBQUFwQixBQUNBLE1BQUksYUFBZSxBQUFmLElBQ0ksY0FBYyxBQUFkLE9BQXVCLGNBQWMsQUFEekMsVUFFRyxLQUFLLEFBQUwsT0FBWSxBQUFaLEdBQWdCLGNBQWMsQUFBOUIsQUFGUCxPQUU2QyxBQUMzQyxZQUFXLGFBQWUsQUFBMUIsR0FBNkIsQUFBN0IsT0FBc0MsY0FBYyxBQUFwRCxBQUNBLGlCQUFXLEFBQVgsQUFDRCxNQUVELE9BQU8sQUFBUCxBQUNELGFBRUQsUUFBUyxBQUFULFdBQW1CLEFBQW5CLEtBQXlCLEFBQ3ZCLE9BQU8sQ0FBRSxPQUFRLEtBQUssQUFBZixPQUF1QixXQUFZLEtBQUssQUFBTCxXQUFnQixBQUFoQixNQUFzQixBQUF0QixBQUFuQyxBQUFQLEFBQ0QiLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIERpZmYoKSB7fVxuXG5EaWZmLnByb3RvdHlwZSA9IHtcbiAgZGlmZihvbGRTdHJpbmcsIG5ld1N0cmluZywgb3B0aW9ucyA9IHt9KSB7XG4gICAgbGV0IGNhbGxiYWNrID0gb3B0aW9ucy5jYWxsYmFjaztcbiAgICBpZiAodHlwZW9mIG9wdGlvbnMgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgIGNhbGxiYWNrID0gb3B0aW9ucztcbiAgICAgIG9wdGlvbnMgPSB7fTtcbiAgICB9XG4gICAgdGhpcy5vcHRpb25zID0gb3B0aW9ucztcblxuICAgIGxldCBzZWxmID0gdGhpcztcblxuICAgIGZ1bmN0aW9uIGRvbmUodmFsdWUpIHtcbiAgICAgIGlmIChjYWxsYmFjaykge1xuICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgeyBjYWxsYmFjayh1bmRlZmluZWQsIHZhbHVlKTsgfSwgMCk7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcmV0dXJuIHZhbHVlO1xuICAgICAgfVxuICAgIH1cblxuICAgIC8vIEFsbG93IHN1YmNsYXNzZXMgdG8gbWFzc2FnZSB0aGUgaW5wdXQgcHJpb3IgdG8gcnVubmluZ1xuICAgIG9sZFN0cmluZyA9IHRoaXMuY2FzdElucHV0KG9sZFN0cmluZyk7XG4gICAgbmV3U3RyaW5nID0gdGhpcy5jYXN0SW5wdXQobmV3U3RyaW5nKTtcblxuICAgIG9sZFN0cmluZyA9IHRoaXMucmVtb3ZlRW1wdHkodGhpcy50b2tlbml6ZShvbGRTdHJpbmcpKTtcbiAgICBuZXdTdHJpbmcgPSB0aGlzLnJlbW92ZUVtcHR5KHRoaXMudG9rZW5pemUobmV3U3RyaW5nKSk7XG5cbiAgICBsZXQgbmV3TGVuID0gbmV3U3RyaW5nLmxlbmd0aCwgb2xkTGVuID0gb2xkU3RyaW5nLmxlbmd0aDtcbiAgICBsZXQgZWRpdExlbmd0aCA9IDE7XG4gICAgbGV0IG1heEVkaXRMZW5ndGggPSBuZXdMZW4gKyBvbGRMZW47XG4gICAgbGV0IGJlc3RQYXRoID0gW3sgbmV3UG9zOiAtMSwgY29tcG9uZW50czogW10gfV07XG5cbiAgICAvLyBTZWVkIGVkaXRMZW5ndGggPSAwLCBpLmUuIHRoZSBjb250ZW50IHN0YXJ0cyB3aXRoIHRoZSBzYW1lIHZhbHVlc1xuICAgIGxldCBvbGRQb3MgPSB0aGlzLmV4dHJhY3RDb21tb24oYmVzdFBhdGhbMF0sIG5ld1N0cmluZywgb2xkU3RyaW5nLCAwKTtcbiAgICBpZiAoYmVzdFBhdGhbMF0ubmV3UG9zICsgMSA+PSBuZXdMZW4gJiYgb2xkUG9zICsgMSA+PSBvbGRMZW4pIHtcbiAgICAgIC8vIElkZW50aXR5IHBlciB0aGUgZXF1YWxpdHkgYW5kIHRva2VuaXplclxuICAgICAgcmV0dXJuIGRvbmUoW3t2YWx1ZTogdGhpcy5qb2luKG5ld1N0cmluZyksIGNvdW50OiBuZXdTdHJpbmcubGVuZ3RofV0pO1xuICAgIH1cblxuICAgIC8vIE1haW4gd29ya2VyIG1ldGhvZC4gY2hlY2tzIGFsbCBwZXJtdXRhdGlvbnMgb2YgYSBnaXZlbiBlZGl0IGxlbmd0aCBmb3IgYWNjZXB0YW5jZS5cbiAgICBmdW5jdGlvbiBleGVjRWRpdExlbmd0aCgpIHtcbiAgICAgIGZvciAobGV0IGRpYWdvbmFsUGF0aCA9IC0xICogZWRpdExlbmd0aDsgZGlhZ29uYWxQYXRoIDw9IGVkaXRMZW5ndGg7IGRpYWdvbmFsUGF0aCArPSAyKSB7XG4gICAgICAgIGxldCBiYXNlUGF0aDtcbiAgICAgICAgbGV0IGFkZFBhdGggPSBiZXN0UGF0aFtkaWFnb25hbFBhdGggLSAxXSxcbiAgICAgICAgICAgIHJlbW92ZVBhdGggPSBiZXN0UGF0aFtkaWFnb25hbFBhdGggKyAxXSxcbiAgICAgICAgICAgIG9sZFBvcyA9IChyZW1vdmVQYXRoID8gcmVtb3ZlUGF0aC5uZXdQb3MgOiAwKSAtIGRpYWdvbmFsUGF0aDtcbiAgICAgICAgaWYgKGFkZFBhdGgpIHtcbiAgICAgICAgICAvLyBObyBvbmUgZWxzZSBpcyBnb2luZyB0byBhdHRlbXB0IHRvIHVzZSB0aGlzIHZhbHVlLCBjbGVhciBpdFxuICAgICAgICAgIGJlc3RQYXRoW2RpYWdvbmFsUGF0aCAtIDFdID0gdW5kZWZpbmVkO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGNhbkFkZCA9IGFkZFBhdGggJiYgYWRkUGF0aC5uZXdQb3MgKyAxIDwgbmV3TGVuLFxuICAgICAgICAgICAgY2FuUmVtb3ZlID0gcmVtb3ZlUGF0aCAmJiAwIDw9IG9sZFBvcyAmJiBvbGRQb3MgPCBvbGRMZW47XG4gICAgICAgIGlmICghY2FuQWRkICYmICFjYW5SZW1vdmUpIHtcbiAgICAgICAgICAvLyBJZiB0aGlzIHBhdGggaXMgYSB0ZXJtaW5hbCB0aGVuIHBydW5lXG4gICAgICAgICAgYmVzdFBhdGhbZGlhZ29uYWxQYXRoXSA9IHVuZGVmaW5lZDtcbiAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFNlbGVjdCB0aGUgZGlhZ29uYWwgdGhhdCB3ZSB3YW50IHRvIGJyYW5jaCBmcm9tLiBXZSBzZWxlY3QgdGhlIHByaW9yXG4gICAgICAgIC8vIHBhdGggd2hvc2UgcG9zaXRpb24gaW4gdGhlIG5ldyBzdHJpbmcgaXMgdGhlIGZhcnRoZXN0IGZyb20gdGhlIG9yaWdpblxuICAgICAgICAvLyBhbmQgZG9lcyBub3QgcGFzcyB0aGUgYm91bmRzIG9mIHRoZSBkaWZmIGdyYXBoXG4gICAgICAgIGlmICghY2FuQWRkIHx8IChjYW5SZW1vdmUgJiYgYWRkUGF0aC5uZXdQb3MgPCByZW1vdmVQYXRoLm5ld1BvcykpIHtcbiAgICAgICAgICBiYXNlUGF0aCA9IGNsb25lUGF0aChyZW1vdmVQYXRoKTtcbiAgICAgICAgICBzZWxmLnB1c2hDb21wb25lbnQoYmFzZVBhdGguY29tcG9uZW50cywgdW5kZWZpbmVkLCB0cnVlKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBiYXNlUGF0aCA9IGFkZFBhdGg7ICAgLy8gTm8gbmVlZCB0byBjbG9uZSwgd2UndmUgcHVsbGVkIGl0IGZyb20gdGhlIGxpc3RcbiAgICAgICAgICBiYXNlUGF0aC5uZXdQb3MrKztcbiAgICAgICAgICBzZWxmLnB1c2hDb21wb25lbnQoYmFzZVBhdGguY29tcG9uZW50cywgdHJ1ZSwgdW5kZWZpbmVkKTtcbiAgICAgICAgfVxuXG4gICAgICAgIG9sZFBvcyA9IHNlbGYuZXh0cmFjdENvbW1vbihiYXNlUGF0aCwgbmV3U3RyaW5nLCBvbGRTdHJpbmcsIGRpYWdvbmFsUGF0aCk7XG5cbiAgICAgICAgLy8gSWYgd2UgaGF2ZSBoaXQgdGhlIGVuZCBvZiBib3RoIHN0cmluZ3MsIHRoZW4gd2UgYXJlIGRvbmVcbiAgICAgICAgaWYgKGJhc2VQYXRoLm5ld1BvcyArIDEgPj0gbmV3TGVuICYmIG9sZFBvcyArIDEgPj0gb2xkTGVuKSB7XG4gICAgICAgICAgcmV0dXJuIGRvbmUoYnVpbGRWYWx1ZXMoc2VsZiwgYmFzZVBhdGguY29tcG9uZW50cywgbmV3U3RyaW5nLCBvbGRTdHJpbmcsIHNlbGYudXNlTG9uZ2VzdFRva2VuKSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgLy8gT3RoZXJ3aXNlIHRyYWNrIHRoaXMgcGF0aCBhcyBhIHBvdGVudGlhbCBjYW5kaWRhdGUgYW5kIGNvbnRpbnVlLlxuICAgICAgICAgIGJlc3RQYXRoW2RpYWdvbmFsUGF0aF0gPSBiYXNlUGF0aDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBlZGl0TGVuZ3RoKys7XG4gICAgfVxuXG4gICAgLy8gUGVyZm9ybXMgdGhlIGxlbmd0aCBvZiBlZGl0IGl0ZXJhdGlvbi4gSXMgYSBiaXQgZnVnbHkgYXMgdGhpcyBoYXMgdG8gc3VwcG9ydCB0aGVcbiAgICAvLyBzeW5jIGFuZCBhc3luYyBtb2RlIHdoaWNoIGlzIG5ldmVyIGZ1bi4gTG9vcHMgb3ZlciBleGVjRWRpdExlbmd0aCB1bnRpbCBhIHZhbHVlXG4gICAgLy8gaXMgcHJvZHVjZWQuXG4gICAgaWYgKGNhbGxiYWNrKSB7XG4gICAgICAoZnVuY3Rpb24gZXhlYygpIHtcbiAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHtcbiAgICAgICAgICAvLyBUaGlzIHNob3VsZCBub3QgaGFwcGVuLCBidXQgd2Ugd2FudCB0byBiZSBzYWZlLlxuICAgICAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBuZXh0ICovXG4gICAgICAgICAgaWYgKGVkaXRMZW5ndGggPiBtYXhFZGl0TGVuZ3RoKSB7XG4gICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBpZiAoIWV4ZWNFZGl0TGVuZ3RoKCkpIHtcbiAgICAgICAgICAgIGV4ZWMoKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sIDApO1xuICAgICAgfSgpKTtcbiAgICB9IGVsc2Uge1xuICAgICAgd2hpbGUgKGVkaXRMZW5ndGggPD0gbWF4RWRpdExlbmd0aCkge1xuICAgICAgICBsZXQgcmV0ID0gZXhlY0VkaXRMZW5ndGgoKTtcbiAgICAgICAgaWYgKHJldCkge1xuICAgICAgICAgIHJldHVybiByZXQ7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH0sXG5cbiAgcHVzaENvbXBvbmVudChjb21wb25lbnRzLCBhZGRlZCwgcmVtb3ZlZCkge1xuICAgIGxldCBsYXN0ID0gY29tcG9uZW50c1tjb21wb25lbnRzLmxlbmd0aCAtIDFdO1xuICAgIGlmIChsYXN0ICYmIGxhc3QuYWRkZWQgPT09IGFkZGVkICYmIGxhc3QucmVtb3ZlZCA9PT0gcmVtb3ZlZCkge1xuICAgICAgLy8gV2UgbmVlZCB0byBjbG9uZSBoZXJlIGFzIHRoZSBjb21wb25lbnQgY2xvbmUgb3BlcmF0aW9uIGlzIGp1c3RcbiAgICAgIC8vIGFzIHNoYWxsb3cgYXJyYXkgY2xvbmVcbiAgICAgIGNvbXBvbmVudHNbY29tcG9uZW50cy5sZW5ndGggLSAxXSA9IHtjb3VudDogbGFzdC5jb3VudCArIDEsIGFkZGVkOiBhZGRlZCwgcmVtb3ZlZDogcmVtb3ZlZCB9O1xuICAgIH0gZWxzZSB7XG4gICAgICBjb21wb25lbnRzLnB1c2goe2NvdW50OiAxLCBhZGRlZDogYWRkZWQsIHJlbW92ZWQ6IHJlbW92ZWQgfSk7XG4gICAgfVxuICB9LFxuICBleHRyYWN0Q29tbW9uKGJhc2VQYXRoLCBuZXdTdHJpbmcsIG9sZFN0cmluZywgZGlhZ29uYWxQYXRoKSB7XG4gICAgbGV0IG5ld0xlbiA9IG5ld1N0cmluZy5sZW5ndGgsXG4gICAgICAgIG9sZExlbiA9IG9sZFN0cmluZy5sZW5ndGgsXG4gICAgICAgIG5ld1BvcyA9IGJhc2VQYXRoLm5ld1BvcyxcbiAgICAgICAgb2xkUG9zID0gbmV3UG9zIC0gZGlhZ29uYWxQYXRoLFxuXG4gICAgICAgIGNvbW1vbkNvdW50ID0gMDtcbiAgICB3aGlsZSAobmV3UG9zICsgMSA8IG5ld0xlbiAmJiBvbGRQb3MgKyAxIDwgb2xkTGVuICYmIHRoaXMuZXF1YWxzKG5ld1N0cmluZ1tuZXdQb3MgKyAxXSwgb2xkU3RyaW5nW29sZFBvcyArIDFdKSkge1xuICAgICAgbmV3UG9zKys7XG4gICAgICBvbGRQb3MrKztcbiAgICAgIGNvbW1vbkNvdW50Kys7XG4gICAgfVxuXG4gICAgaWYgKGNvbW1vbkNvdW50KSB7XG4gICAgICBiYXNlUGF0aC5jb21wb25lbnRzLnB1c2goe2NvdW50OiBjb21tb25Db3VudH0pO1xuICAgIH1cblxuICAgIGJhc2VQYXRoLm5ld1BvcyA9IG5ld1BvcztcbiAgICByZXR1cm4gb2xkUG9zO1xuICB9LFxuXG4gIGVxdWFscyhsZWZ0LCByaWdodCkge1xuICAgIHJldHVybiBsZWZ0ID09PSByaWdodDtcbiAgfSxcbiAgcmVtb3ZlRW1wdHkoYXJyYXkpIHtcbiAgICBsZXQgcmV0ID0gW107XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCBhcnJheS5sZW5ndGg7IGkrKykge1xuICAgICAgaWYgKGFycmF5W2ldKSB7XG4gICAgICAgIHJldC5wdXNoKGFycmF5W2ldKTtcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHJldDtcbiAgfSxcbiAgY2FzdElucHV0KHZhbHVlKSB7XG4gICAgcmV0dXJuIHZhbHVlO1xuICB9LFxuICB0b2tlbml6ZSh2YWx1ZSkge1xuICAgIHJldHVybiB2YWx1ZS5zcGxpdCgnJyk7XG4gIH0sXG4gIGpvaW4oY2hhcnMpIHtcbiAgICByZXR1cm4gY2hhcnMuam9pbignJyk7XG4gIH1cbn07XG5cbmZ1bmN0aW9uIGJ1aWxkVmFsdWVzKGRpZmYsIGNvbXBvbmVudHMsIG5ld1N0cmluZywgb2xkU3RyaW5nLCB1c2VMb25nZXN0VG9rZW4pIHtcbiAgbGV0IGNvbXBvbmVudFBvcyA9IDAsXG4gICAgICBjb21wb25lbnRMZW4gPSBjb21wb25lbnRzLmxlbmd0aCxcbiAgICAgIG5ld1BvcyA9IDAsXG4gICAgICBvbGRQb3MgPSAwO1xuXG4gIGZvciAoOyBjb21wb25lbnRQb3MgPCBjb21wb25lbnRMZW47IGNvbXBvbmVudFBvcysrKSB7XG4gICAgbGV0IGNvbXBvbmVudCA9IGNvbXBvbmVudHNbY29tcG9uZW50UG9zXTtcbiAgICBpZiAoIWNvbXBvbmVudC5yZW1vdmVkKSB7XG4gICAgICBpZiAoIWNvbXBvbmVudC5hZGRlZCAmJiB1c2VMb25nZXN0VG9rZW4pIHtcbiAgICAgICAgbGV0IHZhbHVlID0gbmV3U3RyaW5nLnNsaWNlKG5ld1BvcywgbmV3UG9zICsgY29tcG9uZW50LmNvdW50KTtcbiAgICAgICAgdmFsdWUgPSB2YWx1ZS5tYXAoZnVuY3Rpb24odmFsdWUsIGkpIHtcbiAgICAgICAgICBsZXQgb2xkVmFsdWUgPSBvbGRTdHJpbmdbb2xkUG9zICsgaV07XG4gICAgICAgICAgcmV0dXJuIG9sZFZhbHVlLmxlbmd0aCA+IHZhbHVlLmxlbmd0aCA/IG9sZFZhbHVlIDogdmFsdWU7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGNvbXBvbmVudC52YWx1ZSA9IGRpZmYuam9pbih2YWx1ZSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBjb21wb25lbnQudmFsdWUgPSBkaWZmLmpvaW4obmV3U3RyaW5nLnNsaWNlKG5ld1BvcywgbmV3UG9zICsgY29tcG9uZW50LmNvdW50KSk7XG4gICAgICB9XG4gICAgICBuZXdQb3MgKz0gY29tcG9uZW50LmNvdW50O1xuXG4gICAgICAvLyBDb21tb24gY2FzZVxuICAgICAgaWYgKCFjb21wb25lbnQuYWRkZWQpIHtcbiAgICAgICAgb2xkUG9zICs9IGNvbXBvbmVudC5jb3VudDtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgY29tcG9uZW50LnZhbHVlID0gZGlmZi5qb2luKG9sZFN0cmluZy5zbGljZShvbGRQb3MsIG9sZFBvcyArIGNvbXBvbmVudC5jb3VudCkpO1xuICAgICAgb2xkUG9zICs9IGNvbXBvbmVudC5jb3VudDtcblxuICAgICAgLy8gUmV2ZXJzZSBhZGQgYW5kIHJlbW92ZSBzbyByZW1vdmVzIGFyZSBvdXRwdXQgZmlyc3QgdG8gbWF0Y2ggY29tbW9uIGNvbnZlbnRpb25cbiAgICAgIC8vIFRoZSBkaWZmaW5nIGFsZ29yaXRobSBpcyB0aWVkIHRvIGFkZCB0aGVuIHJlbW92ZSBvdXRwdXQgYW5kIHRoaXMgaXMgdGhlIHNpbXBsZXN0XG4gICAgICAvLyByb3V0ZSB0byBnZXQgdGhlIGRlc2lyZWQgb3V0cHV0IHdpdGggbWluaW1hbCBvdmVyaGVhZC5cbiAgICAgIGlmIChjb21wb25lbnRQb3MgJiYgY29tcG9uZW50c1tjb21wb25lbnRQb3MgLSAxXS5hZGRlZCkge1xuICAgICAgICBsZXQgdG1wID0gY29tcG9uZW50c1tjb21wb25lbnRQb3MgLSAxXTtcbiAgICAgICAgY29tcG9uZW50c1tjb21wb25lbnRQb3MgLSAxXSA9IGNvbXBvbmVudHNbY29tcG9uZW50UG9zXTtcbiAgICAgICAgY29tcG9uZW50c1tjb21wb25lbnRQb3NdID0gdG1wO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vIFNwZWNpYWwgY2FzZSBoYW5kbGUgZm9yIHdoZW4gb25lIHRlcm1pbmFsIGlzIGlnbm9yZWQuIEZvciB0aGlzIGNhc2Ugd2UgbWVyZ2UgdGhlXG4gIC8vIHRlcm1pbmFsIGludG8gdGhlIHByaW9yIHN0cmluZyBhbmQgZHJvcCB0aGUgY2hhbmdlLlxuICBsZXQgbGFzdENvbXBvbmVudCA9IGNvbXBvbmVudHNbY29tcG9uZW50TGVuIC0gMV07XG4gIGlmIChjb21wb25lbnRMZW4gPiAxXG4gICAgICAmJiAobGFzdENvbXBvbmVudC5hZGRlZCB8fCBsYXN0Q29tcG9uZW50LnJlbW92ZWQpXG4gICAgICAmJiBkaWZmLmVxdWFscygnJywgbGFzdENvbXBvbmVudC52YWx1ZSkpIHtcbiAgICBjb21wb25lbnRzW2NvbXBvbmVudExlbiAtIDJdLnZhbHVlICs9IGxhc3RDb21wb25lbnQudmFsdWU7XG4gICAgY29tcG9uZW50cy5wb3AoKTtcbiAgfVxuXG4gIHJldHVybiBjb21wb25lbnRzO1xufVxuXG5mdW5jdGlvbiBjbG9uZVBhdGgocGF0aCkge1xuICByZXR1cm4geyBuZXdQb3M6IHBhdGgubmV3UG9zLCBjb21wb25lbnRzOiBwYXRoLmNvbXBvbmVudHMuc2xpY2UoMCkgfTtcbn1cbiJdfQ==
/***/ },
/* 57 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule keyOf
*//**
* Allows extraction of a minified key. Let's the build system minify keys
* without losing the ability to dynamically use key strings as values
* themselves. Pass in an object with a single key/val pair and it will return
* you the string key of that single record. Suppose you want to grab the
* value for a key 'className' inside of an object. Key/val minification may
* have aliased that key to be 'xa12'. keyOf({className: null}) will return
* 'xa12' in that case. Resolve keys you want to use once at startup time, then
* reuse those resolutions.
*/"use strict";var keyOf=function keyOf(oneKeyObj){var key;for(key in oneKeyObj){if(!oneKeyObj.hasOwnProperty(key)){continue;}return key;}return null;};module.exports=keyOf;
/***/ },
/* 58 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88),getRawTag=__webpack_require__(779),objectToString=__webpack_require__(810);/** `Object#toString` result references. */var nullTag='[object Null]',undefinedTag='[object Undefined]';/** Built-in value references. */var symToStringTag=_Symbol?_Symbol.toStringTag:undefined;/**
* The base implementation of `getTag` without fallbacks for buggy environments.
*
* @private
* @param {*} value The value to query.
* @returns {string} Returns the `toStringTag`.
*/function baseGetTag(value){if(value==null){return value===undefined?undefinedTag:nullTag;}value=Object(value);return symToStringTag&&symToStringTag in value?getRawTag(value):objectToString(value);}module.exports=baseGetTag;
/***/ },
/* 59 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isSymbol=__webpack_require__(76);/** Used as references for various `Number` constants. */var INFINITY=1/0;/**
* Converts `value` to a string key if it's not a string or symbol.
*
* @private
* @param {*} value The value to inspect.
* @returns {string|symbol} Returns the key.
*/function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}module.exports=toKey;
/***/ },
/* 60 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This method returns the first argument it receives.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Util
* @param {*} value Any value.
* @returns {*} Returns `value`.
* @example
*
* var object = { 'a': 1 };
*
* console.log(_.identity(object) === object);
* // => true
*/function identity(value){return value;}module.exports=identity;
/***/ },
/* 61 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseToString=__webpack_require__(353);/**
* Converts `value` to a string. An empty string is returned for `null`
* and `undefined` values. The sign of `-0` is preserved.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to convert.
* @returns {string} Returns the converted string.
* @example
*
* _.toString(null);
* // => ''
*
* _.toString(-0);
* // => '-0'
*
* _.toString([1, 2, 3]);
* // => '1,2,3'
*/function toString(value){return value==null?'':baseToString(value);}module.exports=toString;
/***/ },
/* 62 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _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;};exports.isReactChildren=isReactChildren;exports.createRouteFromReactElement=createRouteFromReactElement;exports.createRoutesFromReactChildren=createRoutesFromReactChildren;exports.createRoutes=createRoutes;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function isValidChild(object){return object==null||_react2.default.isValidElement(object);}function isReactChildren(object){return isValidChild(object)||Array.isArray(object)&&object.every(isValidChild);}function createRoute(defaultProps,props){return _extends({},defaultProps,props);}function createRouteFromReactElement(element){var type=element.type;var route=createRoute(type.defaultProps,element.props);if(route.children){var childRoutes=createRoutesFromReactChildren(route.children,route);if(childRoutes.length)route.childRoutes=childRoutes;delete route.children;}return route;}/**
* Creates and returns a routes object from the given ReactChildren. JSX
* provides a convenient way to visualize how routes in the hierarchy are
* nested.
*
* import { Route, createRoutesFromReactChildren } from 'react-router'
*
* const routes = createRoutesFromReactChildren(
* <Route component={App}>
* <Route path="home" component={Dashboard}/>
* <Route path="news" component={NewsFeed}/>
* </Route>
* )
*
* Note: This method is automatically used when you provide <Route> children
* to a <Router> component.
*/function createRoutesFromReactChildren(children,parentRoute){var routes=[];_react2.default.Children.forEach(children,function(element){if(_react2.default.isValidElement(element)){// Component classes may have a static create* method.
if(element.type.createRouteFromReactElement){var route=element.type.createRouteFromReactElement(element,parentRoute);if(route)routes.push(route);}else{routes.push(createRouteFromReactElement(element));}}});return routes;}/**
* Creates and returns an array of routes from the given object which
* may be a JSX route, a plain object route, or an array of either.
*/function createRoutes(routes){if(isReactChildren(routes)){routes=createRoutesFromReactChildren(routes);}else if(routes&&!Array.isArray(routes)){routes=[routes];}return routes;}
/***/ },
/* 63 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;exports.createPath=exports.parsePath=exports.getQueryStringValueFromPath=exports.stripQueryStringValueFromPath=exports.addQueryStringValueToPath=undefined;var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var addQueryStringValueToPath=exports.addQueryStringValueToPath=function addQueryStringValueToPath(path,key,value){var _parsePath=parsePath(path);var pathname=_parsePath.pathname;var search=_parsePath.search;var hash=_parsePath.hash;return createPath({pathname:pathname,search:search+(search.indexOf('?')===-1?'?':'&')+key+'='+value,hash:hash});};var stripQueryStringValueFromPath=exports.stripQueryStringValueFromPath=function stripQueryStringValueFromPath(path,key){var _parsePath2=parsePath(path);var pathname=_parsePath2.pathname;var search=_parsePath2.search;var hash=_parsePath2.hash;return createPath({pathname:pathname,search:search.replace(new RegExp('([?&])'+key+'=[a-zA-Z0-9]+(&?)'),function(match,prefix,suffix){return prefix==='?'?prefix:suffix;}),hash:hash});};var getQueryStringValueFromPath=exports.getQueryStringValueFromPath=function getQueryStringValueFromPath(path,key){var _parsePath3=parsePath(path);var search=_parsePath3.search;var match=search.match(new RegExp('[?&]'+key+'=([a-zA-Z0-9]+)'));return match&&match[1];};var extractPath=function extractPath(string){var match=string.match(/^(https?:)?\/\/[^\/]*/);return match==null?string:string.substring(match[0].length);};var parsePath=exports.parsePath=function parsePath(path){var pathname=extractPath(path);var search='';var hash='';process.env.NODE_ENV!=='production'?(0,_warning2.default)(path===pathname,'A path must be pathname + search + hash only, not a full URL like "%s"',path):void 0;var hashIndex=pathname.indexOf('#');if(hashIndex!==-1){hash=pathname.substring(hashIndex);pathname=pathname.substring(0,hashIndex);}var searchIndex=pathname.indexOf('?');if(searchIndex!==-1){search=pathname.substring(searchIndex);pathname=pathname.substring(0,searchIndex);}if(pathname==='')pathname='/';return{pathname:pathname,search:search,hash:hash};};var createPath=exports.createPath=function createPath(location){if(location==null||typeof location==='string')return location;var basename=location.basename;var pathname=location.pathname;var search=location.search;var hash=location.hash;var path=(basename||'')+pathname;if(search&&search!=='?')path+=search;if(hash)path+=hash;return path;};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 64 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/'use strict';/**
* Similar to invariant but only logs a warning if the condition is not met.
* This can be used to log issues in development environments in critical
* paths. Removing the logging code for production environments will keep the
* same logic and follow the same code paths.
*/var warning=function warning(){};if(process.env.NODE_ENV!=='production'){warning=function warning(condition,format,args){var len=arguments.length;args=new Array(len>2?len-2:0);for(var key=2;key<len;key++){args[key-2]=arguments[key];}if(format===undefined){throw new Error('`warning(condition, format, ...args)` requires a warning '+'message argument');}if(format.length<10||/^[s\W]*$/.test(format)){throw new Error('The warning format should be able to uniquely identify this '+'warning. Please, use a more descriptive format than: '+format);}if(!condition){var argIndex=0;var message='Warning: '+format.replace(/%s/g,function(){return args[argIndex++];});if(typeof console!=='undefined'){console.error(message);}try{// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);}catch(x){}}};}module.exports=warning;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 65 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule PooledClass
*/'use strict';var invariant=__webpack_require__(6);/**
* Static poolers. Several custom versions for each potential number of
* arguments. A completely generic pooler is easy to implement, but would
* require accessing the `arguments` object. In each of these, `this` refers to
* the Class itself, not an instance. If any others are needed, simply add them
* here, or in their own files.
*/var oneArgumentPooler=function oneArgumentPooler(copyFieldsFrom){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,copyFieldsFrom);return instance;}else{return new Klass(copyFieldsFrom);}};var twoArgumentPooler=function twoArgumentPooler(a1,a2){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2);return instance;}else{return new Klass(a1,a2);}};var threeArgumentPooler=function threeArgumentPooler(a1,a2,a3){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2,a3);return instance;}else{return new Klass(a1,a2,a3);}};var fourArgumentPooler=function fourArgumentPooler(a1,a2,a3,a4){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2,a3,a4);return instance;}else{return new Klass(a1,a2,a3,a4);}};var fiveArgumentPooler=function fiveArgumentPooler(a1,a2,a3,a4,a5){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2,a3,a4,a5);return instance;}else{return new Klass(a1,a2,a3,a4,a5);}};var standardReleaser=function standardReleaser(instance){var Klass=this;!(instance instanceof Klass)?process.env.NODE_ENV!=='production'?invariant(false,'Trying to release an instance into a pool of a different type.'):invariant(false):undefined;instance.destructor();if(Klass.instancePool.length<Klass.poolSize){Klass.instancePool.push(instance);}};var DEFAULT_POOL_SIZE=10;var DEFAULT_POOLER=oneArgumentPooler;/**
* Augments `CopyConstructor` to be a poolable class, augmenting only the class
* itself (statically) not adding any prototypical fields. Any CopyConstructor
* you give this may have a `poolSize` property, and will look for a
* prototypical `destructor` on instances (optional).
*
* @param {Function} CopyConstructor Constructor that can be used to reset.
* @param {Function} pooler Customizable pooler.
*/var addPoolingTo=function addPoolingTo(CopyConstructor,pooler){var NewKlass=CopyConstructor;NewKlass.instancePool=[];NewKlass.getPooled=pooler||DEFAULT_POOLER;if(!NewKlass.poolSize){NewKlass.poolSize=DEFAULT_POOL_SIZE;}NewKlass.release=standardReleaser;return NewKlass;};var PooledClass={addPoolingTo:addPoolingTo,oneArgumentPooler:oneArgumentPooler,twoArgumentPooler:twoArgumentPooler,threeArgumentPooler:threeArgumentPooler,fourArgumentPooler:fourArgumentPooler,fiveArgumentPooler:fiveArgumentPooler};module.exports=PooledClass;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 66 */,
/* 67 */,
/* 68 */,
/* 69 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.connect=exports.Provider=undefined;var _Provider=__webpack_require__(913);var _Provider2=_interopRequireDefault(_Provider);var _connect=__webpack_require__(914);var _connect2=_interopRequireDefault(_connect);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj};}exports.Provider=_Provider2["default"];exports.connect=_connect2["default"];
/***/ },
/* 70 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.save=exports.edit=exports.reset=exports.compare=exports.showDifference=exports.showFinal=exports.showOriginal=exports.setMarkdownFormat=exports.setPlaintextFormat=exports.clearInput=exports.updateFinalInput=exports.updateOriginalInput=undefined;var _isomorphicFetch=__webpack_require__(1214);var _isomorphicFetch2=_interopRequireDefault(_isomorphicFetch);var _v=__webpack_require__(566);var _v2=_interopRequireDefault(_v);var _reactRouter=__webpack_require__(84);var _constants=__webpack_require__(570);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}//All state transitions in the app happen in these methods
//this includes redux state changes, asyncronous data requests, and browser location changes
var updateOriginalInput=exports.updateOriginalInput=function updateOriginalInput(text){return function(dispatch,getState){dispatch({type:'UPDATE_ORIGINAL_INPUT',data:text});if(getState().input.original.length>0)dispatch({type:'STATUS_SET',data:_constants.Status.DIRTY});else dispatch({type:'STATUS_SET',data:_constants.Status.EMPTY});};};var updateFinalInput=exports.updateFinalInput=function updateFinalInput(text){return function(dispatch,getState){dispatch({type:'UPDATE_FINAL_INPUT',data:text});if(getState().input.final.length>0)dispatch({type:'STATUS_SET',data:_constants.Status.DIRTY});else dispatch({type:'STATUS_SET',data:_constants.Status.EMPTY});};};var clearInput=exports.clearInput=function clearInput(){return function(dispatch){dispatch({type:'CLEAR_INPUT'});dispatch({type:'STATUS_SET',data:_constants.Status.EMPTY});};};var setPlaintextFormat=exports.setPlaintextFormat=function setPlaintextFormat(){return{type:'SET_PLAINTEXT_FORMAT'};};var setMarkdownFormat=exports.setMarkdownFormat=function setMarkdownFormat(){return{type:'SET_MARKDOWN_FORMAT'};};var showOriginal=exports.showOriginal=function showOriginal(){return{type:'SHOW_ORIGINAL'};};var showFinal=exports.showFinal=function showFinal(){return{type:'SHOW_FINAL'};};var showDifference=exports.showDifference=function showDifference(){return{type:'SHOW_DIFFERENCE'};};//if the input is dirty, saves it to the server
//creates a new uuid for the same,
//then changes the browser location to a comparison view with that id
var compare=exports.compare=function compare(){return function(dispatch,getState){//!!! could test that the input is dirty before triggering a save
//if the input is empty, the compare should do nothing
//if the input is clean, the compare should not save and keep using the same id
//start saving the input to the server
var id=dispatch(save());//we can use the id created by the save method to build a path
var comparePath='/'+id;_reactRouter.browserHistory.replace(comparePath);};};//clear the input and return to the edit page
var reset=exports.reset=function reset(){return function(dispatch,getState){dispatch(clearInput());_reactRouter.browserHistory.push('/');};};//switch to the edit view
var edit=exports.edit=function edit(){return function(dispatch,getState){_reactRouter.browserHistory.push('/');};};//saves the current input fields to the server
//creates and returns a new id for the comparison
//should this method ensure that the initial state is valid? ('DIRTY')
var save=exports.save=function save(){return function(dispatch,getState){//generate an id
var id=(0,_v2.default)();//set waiting state
dispatch({type:'STATUS_SET',data:_constants.Status.SAVING});var endpointUri='/api/compare/'+id;var fetchOptions={method:'POST',body:JSON.stringify({a:getState().input.original,b:getState().input.final}),headers:{"Content-Type":"application/json"}};//dispatch post request
(0,_isomorphicFetch2.default)(endpointUri,fetchOptions).then(function(response){dispatch({type:'STATUS_SET',data:_constants.Status.CLEAN});}).catch(function(error){dispatch({type:'STATUS_SET',data:_constants.Status.DIRTY});dispatch({type:'STATUS_SET_ERROR',data:_constants.StatusError.SAVE_ERROR,error:error});});//return the id after the request has been sent
return id;};};/*
const load = (id) =>
(dispatch, getState) => {
//set waiting state
dispatch( {type: 'SAVE_STATUS_WAITING'})
const endpointUri = `/api/compare/${id}`
const fetchOptions = {
method: 'GET'
}
//dispatch post request
fetch(endpointUri, fetchOptions)
.then(response => response.json())
.then(json => {
dispatch( {type: 'UPDATE_ORIGINAL_INPUT', data:json.a})
dispatch( {type: 'UPDATE_FINAL_INPUT', data:json.b})
dispatch( {type: 'LOAD_STATUS_LOADED'})
})
.catch(error => {
dispatch( {type: 'LOAD_STATUS_FAILED', error})
})
//return the id after the request has been sent
return id;
}
export const loadIfNeeded = (id) =>
(dispatch, getState) => {
if
}
*/
/***/ },
/* 71 */,
/* 72 */,
/* 73 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isArray=__webpack_require__(9),isKey=__webpack_require__(227),stringToPath=__webpack_require__(377),toString=__webpack_require__(61);/**
* Casts `value` to a path array if it's not one.
*
* @private
* @param {*} value The value to inspect.
* @param {Object} [object] The object to query keys on.
* @returns {Array} Returns the cast property path array.
*/function castPath(value,object){if(isArray(value)){return value;}return isKey(value,object)?[value]:stringToPath(toString(value));}module.exports=castPath;
/***/ },
/* 74 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsNative=__webpack_require__(726),getValue=__webpack_require__(780);/**
* Gets the native function at `key` of `object`.
*
* @private
* @param {Object} object The object to query.
* @param {string} key The key of the method to get.
* @returns {*} Returns the function if it's native, else `undefined`.
*/function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined;}module.exports=getNative;
/***/ },
/* 75 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseHas=__webpack_require__(717),hasPath=__webpack_require__(365);/**
* Checks if `path` is a direct property of `object`.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path to check.
* @returns {boolean} Returns `true` if `path` exists, else `false`.
* @example
*
* var object = { 'a': { 'b': 2 } };
* var other = _.create({ 'a': _.create({ 'b': 2 }) });
*
* _.has(object, 'a');
* // => true
*
* _.has(object, 'a.b');
* // => true
*
* _.has(object, ['a', 'b']);
* // => true
*
* _.has(other, 'a');
* // => false
*/function has(object,path){return object!=null&&hasPath(object,path,baseHas);}module.exports=has;
/***/ },
/* 76 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var baseGetTag=__webpack_require__(58),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var symbolTag='[object Symbol]';/**
* Checks if `value` is classified as a `Symbol` primitive or object.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
* @example
*
* _.isSymbol(Symbol.iterator);
* // => true
*
* _.isSymbol('abc');
* // => false
*/function isSymbol(value){return(typeof value==='undefined'?'undefined':_typeof(value))=='symbol'||isObjectLike(value)&&baseGetTag(value)==symbolTag;}module.exports=isSymbol;
/***/ },
/* 77 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMProperty
* @typechecks static-only
*/'use strict';var invariant=__webpack_require__(6);function checkMask(value,bitmask){return(value&bitmask)===bitmask;}var DOMPropertyInjection={/**
* Mapping from normalized, camelcased property names to a configuration that
* specifies how the associated DOM property should be accessed or rendered.
*/MUST_USE_ATTRIBUTE:0x1,MUST_USE_PROPERTY:0x2,HAS_SIDE_EFFECTS:0x4,HAS_BOOLEAN_VALUE:0x8,HAS_NUMERIC_VALUE:0x10,HAS_POSITIVE_NUMERIC_VALUE:0x20|0x10,HAS_OVERLOADED_BOOLEAN_VALUE:0x40,/**
* Inject some specialized knowledge about the DOM. This takes a config object
* with the following properties:
*
* isCustomAttribute: function that given an attribute name will return true
* if it can be inserted into the DOM verbatim. Useful for data-* or aria-*
* attributes where it's impossible to enumerate all of the possible
* attribute names,
*
* Properties: object mapping DOM property name to one of the
* DOMPropertyInjection constants or null. If your attribute isn't in here,
* it won't get written to the DOM.
*
* DOMAttributeNames: object mapping React attribute name to the DOM
* attribute name. Attribute names not specified use the **lowercase**
* normalized name.
*
* DOMAttributeNamespaces: object mapping React attribute name to the DOM
* attribute namespace URL. (Attribute names not specified use no namespace.)
*
* DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.
* Property names not specified use the normalized name.
*
* DOMMutationMethods: Properties that require special mutation methods. If
* `value` is undefined, the mutation method should unset the property.
*
* @param {object} domPropertyConfig the config as described above.
*/injectDOMPropertyConfig:function injectDOMPropertyConfig(domPropertyConfig){var Injection=DOMPropertyInjection;var Properties=domPropertyConfig.Properties||{};var DOMAttributeNamespaces=domPropertyConfig.DOMAttributeNamespaces||{};var DOMAttributeNames=domPropertyConfig.DOMAttributeNames||{};var DOMPropertyNames=domPropertyConfig.DOMPropertyNames||{};var DOMMutationMethods=domPropertyConfig.DOMMutationMethods||{};if(domPropertyConfig.isCustomAttribute){DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);}for(var propName in Properties){!!DOMProperty.properties.hasOwnProperty(propName)?process.env.NODE_ENV!=='production'?invariant(false,'injectDOMPropertyConfig(...): You\'re trying to inject DOM property '+'\'%s\' which has already been injected. You may be accidentally '+'injecting the same DOM property config twice, or you may be '+'injecting two configs that have conflicting property names.',propName):invariant(false):undefined;var lowerCased=propName.toLowerCase();var propConfig=Properties[propName];var propertyInfo={attributeName:lowerCased,attributeNamespace:null,propertyName:propName,mutationMethod:null,mustUseAttribute:checkMask(propConfig,Injection.MUST_USE_ATTRIBUTE),mustUseProperty:checkMask(propConfig,Injection.MUST_USE_PROPERTY),hasSideEffects:checkMask(propConfig,Injection.HAS_SIDE_EFFECTS),hasBooleanValue:checkMask(propConfig,Injection.HAS_BOOLEAN_VALUE),hasNumericValue:checkMask(propConfig,Injection.HAS_NUMERIC_VALUE),hasPositiveNumericValue:checkMask(propConfig,Injection.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:checkMask(propConfig,Injection.HAS_OVERLOADED_BOOLEAN_VALUE)};!(!propertyInfo.mustUseAttribute||!propertyInfo.mustUseProperty)?process.env.NODE_ENV!=='production'?invariant(false,'DOMProperty: Cannot require using both attribute and property: %s',propName):invariant(false):undefined;!(propertyInfo.mustUseProperty||!propertyInfo.hasSideEffects)?process.env.NODE_ENV!=='production'?invariant(false,'DOMProperty: Properties that have side effects must use property: %s',propName):invariant(false):undefined;!(propertyInfo.hasBooleanValue+propertyInfo.hasNumericValue+propertyInfo.hasOverloadedBooleanValue<=1)?process.env.NODE_ENV!=='production'?invariant(false,'DOMProperty: Value can be one of boolean, overloaded boolean, or '+'numeric value, but not a combination: %s',propName):invariant(false):undefined;if(process.env.NODE_ENV!=='production'){DOMProperty.getPossibleStandardName[lowerCased]=propName;}if(DOMAttributeNames.hasOwnProperty(propName)){var attributeName=DOMAttributeNames[propName];propertyInfo.attributeName=attributeName;if(process.env.NODE_ENV!=='production'){DOMProperty.getPossibleStandardName[attributeName]=propName;}}if(DOMAttributeNamespaces.hasOwnProperty(propName)){propertyInfo.attributeNamespace=DOMAttributeNamespaces[propName];}if(DOMPropertyNames.hasOwnProperty(propName)){propertyInfo.propertyName=DOMPropertyNames[propName];}if(DOMMutationMethods.hasOwnProperty(propName)){propertyInfo.mutationMethod=DOMMutationMethods[propName];}DOMProperty.properties[propName]=propertyInfo;}}};var defaultValueCache={};/**
* DOMProperty exports lookup objects that can be used like functions:
*
* > DOMProperty.isValid['id']
* true
* > DOMProperty.isValid['foobar']
* undefined
*
* Although this may be confusing, it performs better in general.
*
* @see http://jsperf.com/key-exists
* @see http://jsperf.com/key-missing
*/var DOMProperty={ID_ATTRIBUTE_NAME:'data-reactid',/**
* Map from property "standard name" to an object with info about how to set
* the property in the DOM. Each object contains:
*
* attributeName:
* Used when rendering markup or with `*Attribute()`.
* attributeNamespace
* propertyName:
* Used on DOM node instances. (This includes properties that mutate due to
* external factors.)
* mutationMethod:
* If non-null, used instead of the property or `setAttribute()` after
* initial render.
* mustUseAttribute:
* Whether the property must be accessed and mutated using `*Attribute()`.
* (This includes anything that fails `<propName> in <element>`.)
* mustUseProperty:
* Whether the property must be accessed and mutated as an object property.
* hasSideEffects:
* Whether or not setting a value causes side effects such as triggering
* resources to be loaded or text selection changes. If true, we read from
* the DOM before updating to ensure that the value is only set if it has
* changed.
* hasBooleanValue:
* Whether the property should be removed when set to a falsey value.
* hasNumericValue:
* Whether the property must be numeric or parse as a numeric and should be
* removed when set to a falsey value.
* hasPositiveNumericValue:
* Whether the property must be positive numeric or parse as a positive
* numeric and should be removed when set to a falsey value.
* hasOverloadedBooleanValue:
* Whether the property can be used as a flag as well as with a value.
* Removed when strictly equal to false; present without a value when
* strictly equal to true; present with a value otherwise.
*/properties:{},/**
* Mapping from lowercase property names to the properly cased version, used
* to warn in the case of missing properties. Available only in __DEV__.
* @type {Object}
*/getPossibleStandardName:process.env.NODE_ENV!=='production'?{}:null,/**
* All of the isCustomAttribute() functions that have been injected.
*/_isCustomAttributeFunctions:[],/**
* Checks whether a property name is a custom attribute.
* @method
*/isCustomAttribute:function isCustomAttribute(attributeName){for(var i=0;i<DOMProperty._isCustomAttributeFunctions.length;i++){var isCustomAttributeFn=DOMProperty._isCustomAttributeFunctions[i];if(isCustomAttributeFn(attributeName)){return true;}}return false;},/**
* Returns the default property value for a DOM property (i.e., not an
* attribute). Most default values are '' or false, but not all. Worse yet,
* some (in particular, `type`) vary depending on the type of element.
*
* TODO: Is it better to grab all the possible properties when creating an
* element to avoid having to create the same element twice?
*/getDefaultValueForProperty:function getDefaultValueForProperty(nodeName,prop){var nodeDefaults=defaultValueCache[nodeName];var testElement;if(!nodeDefaults){defaultValueCache[nodeName]=nodeDefaults={};}if(!(prop in nodeDefaults)){testElement=document.createElement(nodeName);nodeDefaults[prop]=testElement[prop];}return nodeDefaults[prop];},injection:DOMPropertyInjection};module.exports=DOMProperty;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 78 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactReconciler
*/'use strict';var ReactRef=__webpack_require__(971);/**
* Helper to call ReactRef.attachRefs with this composite component, split out
* to avoid allocations in the transaction mount-ready queue.
*/function attachRefs(){ReactRef.attachRefs(this,this._currentElement);}var ReactReconciler={/**
* Initializes the component, renders markup, and registers event listeners.
*
* @param {ReactComponent} internalInstance
* @param {string} rootID DOM ID of the root node.
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @return {?string} Rendered markup to be inserted into the DOM.
* @final
* @internal
*/mountComponent:function mountComponent(internalInstance,rootID,transaction,context){var markup=internalInstance.mountComponent(rootID,transaction,context);if(internalInstance._currentElement&&internalInstance._currentElement.ref!=null){transaction.getReactMountReady().enqueue(attachRefs,internalInstance);}return markup;},/**
* Releases any resources allocated by `mountComponent`.
*
* @final
* @internal
*/unmountComponent:function unmountComponent(internalInstance){ReactRef.detachRefs(internalInstance,internalInstance._currentElement);internalInstance.unmountComponent();},/**
* Update a component using a new element.
*
* @param {ReactComponent} internalInstance
* @param {ReactElement} nextElement
* @param {ReactReconcileTransaction} transaction
* @param {object} context
* @internal
*/receiveComponent:function receiveComponent(internalInstance,nextElement,transaction,context){var prevElement=internalInstance._currentElement;if(nextElement===prevElement&&context===internalInstance._context){// Since elements are immutable after the owner is rendered,
// we can do a cheap identity compare here to determine if this is a
// superfluous reconcile. It's possible for state to be mutable but such
// change should trigger an update of the owner which would recreate
// the element. We explicitly check for the existence of an owner since
// it's possible for an element created outside a composite to be
// deeply mutated and reused.
// TODO: Bailing out early is just a perf optimization right?
// TODO: Removing the return statement should affect correctness?
return;}var refsChanged=ReactRef.shouldUpdateRefs(prevElement,nextElement);if(refsChanged){ReactRef.detachRefs(internalInstance,prevElement);}internalInstance.receiveComponent(nextElement,transaction,context);if(refsChanged&&internalInstance._currentElement&&internalInstance._currentElement.ref!=null){transaction.getReactMountReady().enqueue(attachRefs,internalInstance);}},/**
* Flush any dirty changes in a component.
*
* @param {ReactComponent} internalInstance
* @param {ReactReconcileTransaction} transaction
* @internal
*/performUpdateIfNecessary:function performUpdateIfNecessary(internalInstance,transaction){internalInstance.performUpdateIfNecessary(transaction);}};module.exports=ReactReconciler;
/***/ },
/* 79 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticEvent
* @typechecks static-only
*/'use strict';var PooledClass=__webpack_require__(65);var assign=__webpack_require__(7);var emptyFunction=__webpack_require__(40);var warning=__webpack_require__(8);/**
* @interface Event
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var EventInterface={type:null,target:null,// currentTarget is set when dispatching; no use in copying it here
currentTarget:emptyFunction.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function timeStamp(event){return event.timeStamp||Date.now();},defaultPrevented:null,isTrusted:null};/**
* Synthetic events are dispatched by event plugins, typically in response to a
* top-level event delegation handler.
*
* These systems should generally use pooling to reduce the frequency of garbage
* collection. The system should check `isPersistent` to determine whether the
* event should be released into the pool after being dispatched. Users that
* need a persisted event should invoke `persist`.
*
* Synthetic events (and subclasses) implement the DOM Level 3 Events API by
* normalizing browser quirks. Subclasses do not necessarily have to implement a
* DOM interface; custom application-specific events can also subclass this.
*
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
*/function SyntheticEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){this.dispatchConfig=dispatchConfig;this.dispatchMarker=dispatchMarker;this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface){if(!Interface.hasOwnProperty(propName)){continue;}var normalize=Interface[propName];if(normalize){this[propName]=normalize(nativeEvent);}else{if(propName==='target'){this.target=nativeEventTarget;}else{this[propName]=nativeEvent[propName];}}}var defaultPrevented=nativeEvent.defaultPrevented!=null?nativeEvent.defaultPrevented:nativeEvent.returnValue===false;if(defaultPrevented){this.isDefaultPrevented=emptyFunction.thatReturnsTrue;}else{this.isDefaultPrevented=emptyFunction.thatReturnsFalse;}this.isPropagationStopped=emptyFunction.thatReturnsFalse;}assign(SyntheticEvent.prototype,{preventDefault:function preventDefault(){this.defaultPrevented=true;var event=this.nativeEvent;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(event,'This synthetic event is reused for performance reasons. If you\'re '+'seeing this, you\'re calling `preventDefault` on a '+'released/nullified synthetic event. This is a no-op. See '+'https://fb.me/react-event-pooling for more information.'):undefined;}if(!event){return;}if(event.preventDefault){event.preventDefault();}else{event.returnValue=false;}this.isDefaultPrevented=emptyFunction.thatReturnsTrue;},stopPropagation:function stopPropagation(){var event=this.nativeEvent;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(event,'This synthetic event is reused for performance reasons. If you\'re '+'seeing this, you\'re calling `stopPropagation` on a '+'released/nullified synthetic event. This is a no-op. See '+'https://fb.me/react-event-pooling for more information.'):undefined;}if(!event){return;}if(event.stopPropagation){event.stopPropagation();}else{event.cancelBubble=true;}this.isPropagationStopped=emptyFunction.thatReturnsTrue;},/**
* We release all dispatched `SyntheticEvent`s after each event loop, adding
* them back into the pool. This allows a way to hold onto a reference that
* won't be added back into the pool.
*/persist:function persist(){this.isPersistent=emptyFunction.thatReturnsTrue;},/**
* Checks if this event should be released back into the pool.
*
* @return {boolean} True if this should not be released, false otherwise.
*/isPersistent:emptyFunction.thatReturnsFalse,/**
* `PooledClass` looks for `destructor` on each instance it releases.
*/destructor:function destructor(){var Interface=this.constructor.Interface;for(var propName in Interface){this[propName]=null;}this.dispatchConfig=null;this.dispatchMarker=null;this.nativeEvent=null;}});SyntheticEvent.Interface=EventInterface;/**
* Helper to reduce boilerplate when creating subclasses.
*
* @param {function} Class
* @param {?object} Interface
*/SyntheticEvent.augmentClass=function(Class,Interface){var Super=this;var prototype=Object.create(Super.prototype);assign(prototype,Class.prototype);Class.prototype=prototype;Class.prototype.constructor=Class;Class.Interface=assign({},Super.Interface,Interface);Class.augmentClass=Super.augmentClass;PooledClass.addPoolingTo(Class,PooledClass.fourArgumentPooler);};PooledClass.addPoolingTo(SyntheticEvent,PooledClass.fourArgumentPooler);module.exports=SyntheticEvent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 80 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _Confirm=__webpack_require__(1060);Object.defineProperty(exports,'Confirm',{enumerable:true,get:function get(){return _interopRequireDefault(_Confirm).default;}});var _Portal=__webpack_require__(186);Object.defineProperty(exports,'Portal',{enumerable:true,get:function get(){return _interopRequireDefault(_Portal).default;}});var _Radio=__webpack_require__(269);Object.defineProperty(exports,'Radio',{enumerable:true,get:function get(){return _interopRequireDefault(_Radio).default;}});var _Select=__webpack_require__(464);Object.defineProperty(exports,'Select',{enumerable:true,get:function get(){return _interopRequireDefault(_Select).default;}});var _TextArea=__webpack_require__(465);Object.defineProperty(exports,'TextArea',{enumerable:true,get:function get(){return _interopRequireDefault(_TextArea).default;}});var _Breadcrumb=__webpack_require__(1066);Object.defineProperty(exports,'Breadcrumb',{enumerable:true,get:function get(){return _interopRequireDefault(_Breadcrumb).default;}});var _BreadcrumbDivider=__webpack_require__(466);Object.defineProperty(exports,'BreadcrumbDivider',{enumerable:true,get:function get(){return _interopRequireDefault(_BreadcrumbDivider).default;}});var _BreadcrumbSection=__webpack_require__(467);Object.defineProperty(exports,'BreadcrumbSection',{enumerable:true,get:function get(){return _interopRequireDefault(_BreadcrumbSection).default;}});var _Form=__webpack_require__(1068);Object.defineProperty(exports,'Form',{enumerable:true,get:function get(){return _interopRequireDefault(_Form).default;}});var _FormButton=__webpack_require__(468);Object.defineProperty(exports,'FormButton',{enumerable:true,get:function get(){return _interopRequireDefault(_FormButton).default;}});var _FormCheckbox=__webpack_require__(469);Object.defineProperty(exports,'FormCheckbox',{enumerable:true,get:function get(){return _interopRequireDefault(_FormCheckbox).default;}});var _FormDropdown=__webpack_require__(470);Object.defineProperty(exports,'FormDropdown',{enumerable:true,get:function get(){return _interopRequireDefault(_FormDropdown).default;}});var _FormField=__webpack_require__(52);Object.defineProperty(exports,'FormField',{enumerable:true,get:function get(){return _interopRequireDefault(_FormField).default;}});var _FormGroup=__webpack_require__(471);Object.defineProperty(exports,'FormGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_FormGroup).default;}});var _FormInput=__webpack_require__(472);Object.defineProperty(exports,'FormInput',{enumerable:true,get:function get(){return _interopRequireDefault(_FormInput).default;}});var _FormRadio=__webpack_require__(473);Object.defineProperty(exports,'FormRadio',{enumerable:true,get:function get(){return _interopRequireDefault(_FormRadio).default;}});var _FormSelect=__webpack_require__(474);Object.defineProperty(exports,'FormSelect',{enumerable:true,get:function get(){return _interopRequireDefault(_FormSelect).default;}});var _FormTextArea=__webpack_require__(475);Object.defineProperty(exports,'FormTextArea',{enumerable:true,get:function get(){return _interopRequireDefault(_FormTextArea).default;}});var _Grid=__webpack_require__(1070);Object.defineProperty(exports,'Grid',{enumerable:true,get:function get(){return _interopRequireDefault(_Grid).default;}});var _GridColumn=__webpack_require__(476);Object.defineProperty(exports,'GridColumn',{enumerable:true,get:function get(){return _interopRequireDefault(_GridColumn).default;}});var _GridRow=__webpack_require__(477);Object.defineProperty(exports,'GridRow',{enumerable:true,get:function get(){return _interopRequireDefault(_GridRow).default;}});var _Menu=__webpack_require__(1072);Object.defineProperty(exports,'Menu',{enumerable:true,get:function get(){return _interopRequireDefault(_Menu).default;}});var _MenuHeader=__webpack_require__(478);Object.defineProperty(exports,'MenuHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_MenuHeader).default;}});var _MenuItem=__webpack_require__(479);Object.defineProperty(exports,'MenuItem',{enumerable:true,get:function get(){return _interopRequireDefault(_MenuItem).default;}});var _MenuMenu=__webpack_require__(480);Object.defineProperty(exports,'MenuMenu',{enumerable:true,get:function get(){return _interopRequireDefault(_MenuMenu).default;}});var _Message=__webpack_require__(1074);Object.defineProperty(exports,'Message',{enumerable:true,get:function get(){return _interopRequireDefault(_Message).default;}});var _MessageContent=__webpack_require__(481);Object.defineProperty(exports,'MessageContent',{enumerable:true,get:function get(){return _interopRequireDefault(_MessageContent).default;}});var _MessageHeader=__webpack_require__(482);Object.defineProperty(exports,'MessageHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_MessageHeader).default;}});var _MessageItem=__webpack_require__(270);Object.defineProperty(exports,'MessageItem',{enumerable:true,get:function get(){return _interopRequireDefault(_MessageItem).default;}});var _MessageList=__webpack_require__(483);Object.defineProperty(exports,'MessageList',{enumerable:true,get:function get(){return _interopRequireDefault(_MessageList).default;}});var _Table=__webpack_require__(1076);Object.defineProperty(exports,'Table',{enumerable:true,get:function get(){return _interopRequireDefault(_Table).default;}});var _TableBody=__webpack_require__(484);Object.defineProperty(exports,'TableBody',{enumerable:true,get:function get(){return _interopRequireDefault(_TableBody).default;}});var _TableCell=__webpack_require__(187);Object.defineProperty(exports,'TableCell',{enumerable:true,get:function get(){return _interopRequireDefault(_TableCell).default;}});var _TableFooter=__webpack_require__(485);Object.defineProperty(exports,'TableFooter',{enumerable:true,get:function get(){return _interopRequireDefault(_TableFooter).default;}});var _TableHeader=__webpack_require__(271);Object.defineProperty(exports,'TableHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_TableHeader).default;}});var _TableHeaderCell=__webpack_require__(486);Object.defineProperty(exports,'TableHeaderCell',{enumerable:true,get:function get(){return _interopRequireDefault(_TableHeaderCell).default;}});var _TableRow=__webpack_require__(487);Object.defineProperty(exports,'TableRow',{enumerable:true,get:function get(){return _interopRequireDefault(_TableRow).default;}});var _Button=__webpack_require__(488);Object.defineProperty(exports,'Button',{enumerable:true,get:function get(){return _interopRequireDefault(_Button).default;}});var _ButtonContent=__webpack_require__(489);Object.defineProperty(exports,'ButtonContent',{enumerable:true,get:function get(){return _interopRequireDefault(_ButtonContent).default;}});var _ButtonGroup=__webpack_require__(490);Object.defineProperty(exports,'ButtonGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_ButtonGroup).default;}});var _ButtonOr=__webpack_require__(491);Object.defineProperty(exports,'ButtonOr',{enumerable:true,get:function get(){return _interopRequireDefault(_ButtonOr).default;}});var _Container=__webpack_require__(1078);Object.defineProperty(exports,'Container',{enumerable:true,get:function get(){return _interopRequireDefault(_Container).default;}});var _Divider=__webpack_require__(1080);Object.defineProperty(exports,'Divider',{enumerable:true,get:function get(){return _interopRequireDefault(_Divider).default;}});var _Flag=__webpack_require__(492);Object.defineProperty(exports,'Flag',{enumerable:true,get:function get(){return _interopRequireDefault(_Flag).default;}});var _Header=__webpack_require__(1083);Object.defineProperty(exports,'Header',{enumerable:true,get:function get(){return _interopRequireDefault(_Header).default;}});var _HeaderContent=__webpack_require__(493);Object.defineProperty(exports,'HeaderContent',{enumerable:true,get:function get(){return _interopRequireDefault(_HeaderContent).default;}});var _HeaderSubheader=__webpack_require__(494);Object.defineProperty(exports,'HeaderSubheader',{enumerable:true,get:function get(){return _interopRequireDefault(_HeaderSubheader).default;}});var _Icon=__webpack_require__(22);Object.defineProperty(exports,'Icon',{enumerable:true,get:function get(){return _interopRequireDefault(_Icon).default;}});var _IconGroup=__webpack_require__(495);Object.defineProperty(exports,'IconGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_IconGroup).default;}});var _Image=__webpack_require__(97);Object.defineProperty(exports,'Image',{enumerable:true,get:function get(){return _interopRequireDefault(_Image).default;}});var _ImageGroup=__webpack_require__(497);Object.defineProperty(exports,'ImageGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_ImageGroup).default;}});var _Input=__webpack_require__(273);Object.defineProperty(exports,'Input',{enumerable:true,get:function get(){return _interopRequireDefault(_Input).default;}});var _Label=__webpack_require__(189);Object.defineProperty(exports,'Label',{enumerable:true,get:function get(){return _interopRequireDefault(_Label).default;}});var _LabelDetail=__webpack_require__(498);Object.defineProperty(exports,'LabelDetail',{enumerable:true,get:function get(){return _interopRequireDefault(_LabelDetail).default;}});var _LabelGroup=__webpack_require__(499);Object.defineProperty(exports,'LabelGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_LabelGroup).default;}});var _List=__webpack_require__(1086);Object.defineProperty(exports,'List',{enumerable:true,get:function get(){return _interopRequireDefault(_List).default;}});var _ListContent=__webpack_require__(275);Object.defineProperty(exports,'ListContent',{enumerable:true,get:function get(){return _interopRequireDefault(_ListContent).default;}});var _ListDescription=__webpack_require__(190);Object.defineProperty(exports,'ListDescription',{enumerable:true,get:function get(){return _interopRequireDefault(_ListDescription).default;}});var _ListHeader=__webpack_require__(191);Object.defineProperty(exports,'ListHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_ListHeader).default;}});var _ListIcon=__webpack_require__(276);Object.defineProperty(exports,'ListIcon',{enumerable:true,get:function get(){return _interopRequireDefault(_ListIcon).default;}});var _ListItem=__webpack_require__(500);Object.defineProperty(exports,'ListItem',{enumerable:true,get:function get(){return _interopRequireDefault(_ListItem).default;}});var _ListList=__webpack_require__(501);Object.defineProperty(exports,'ListList',{enumerable:true,get:function get(){return _interopRequireDefault(_ListList).default;}});var _Loader=__webpack_require__(1088);Object.defineProperty(exports,'Loader',{enumerable:true,get:function get(){return _interopRequireDefault(_Loader).default;}});var _Rail=__webpack_require__(1090);Object.defineProperty(exports,'Rail',{enumerable:true,get:function get(){return _interopRequireDefault(_Rail).default;}});var _Reveal=__webpack_require__(1092);Object.defineProperty(exports,'Reveal',{enumerable:true,get:function get(){return _interopRequireDefault(_Reveal).default;}});var _RevealContent=__webpack_require__(502);Object.defineProperty(exports,'RevealContent',{enumerable:true,get:function get(){return _interopRequireDefault(_RevealContent).default;}});var _Segment=__webpack_require__(1094);Object.defineProperty(exports,'Segment',{enumerable:true,get:function get(){return _interopRequireDefault(_Segment).default;}});var _SegmentGroup=__webpack_require__(503);Object.defineProperty(exports,'SegmentGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_SegmentGroup).default;}});var _Step=__webpack_require__(1095);Object.defineProperty(exports,'Step',{enumerable:true,get:function get(){return _interopRequireDefault(_Step).default;}});var _StepContent=__webpack_require__(505);Object.defineProperty(exports,'StepContent',{enumerable:true,get:function get(){return _interopRequireDefault(_StepContent).default;}});var _StepDescription=__webpack_require__(277);Object.defineProperty(exports,'StepDescription',{enumerable:true,get:function get(){return _interopRequireDefault(_StepDescription).default;}});var _StepGroup=__webpack_require__(506);Object.defineProperty(exports,'StepGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_StepGroup).default;}});var _StepTitle=__webpack_require__(278);Object.defineProperty(exports,'StepTitle',{enumerable:true,get:function get(){return _interopRequireDefault(_StepTitle).default;}});var _Accordion=__webpack_require__(1108);Object.defineProperty(exports,'Accordion',{enumerable:true,get:function get(){return _interopRequireDefault(_Accordion).default;}});var _AccordionContent=__webpack_require__(509);Object.defineProperty(exports,'AccordionContent',{enumerable:true,get:function get(){return _interopRequireDefault(_AccordionContent).default;}});var _AccordionTitle=__webpack_require__(510);Object.defineProperty(exports,'AccordionTitle',{enumerable:true,get:function get(){return _interopRequireDefault(_AccordionTitle).default;}});var _Checkbox=__webpack_require__(192);Object.defineProperty(exports,'Checkbox',{enumerable:true,get:function get(){return _interopRequireDefault(_Checkbox).default;}});var _Dimmer=__webpack_require__(512);Object.defineProperty(exports,'Dimmer',{enumerable:true,get:function get(){return _interopRequireDefault(_Dimmer).default;}});var _DimmerDimmable=__webpack_require__(511);Object.defineProperty(exports,'DimmerDimmable',{enumerable:true,get:function get(){return _interopRequireDefault(_DimmerDimmable).default;}});var _Dropdown=__webpack_require__(280);Object.defineProperty(exports,'Dropdown',{enumerable:true,get:function get(){return _interopRequireDefault(_Dropdown).default;}});var _DropdownDivider=__webpack_require__(513);Object.defineProperty(exports,'DropdownDivider',{enumerable:true,get:function get(){return _interopRequireDefault(_DropdownDivider).default;}});var _DropdownHeader=__webpack_require__(514);Object.defineProperty(exports,'DropdownHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_DropdownHeader).default;}});var _DropdownItem=__webpack_require__(515);Object.defineProperty(exports,'DropdownItem',{enumerable:true,get:function get(){return _interopRequireDefault(_DropdownItem).default;}});var _DropdownMenu=__webpack_require__(516);Object.defineProperty(exports,'DropdownMenu',{enumerable:true,get:function get(){return _interopRequireDefault(_DropdownMenu).default;}});var _Embed=__webpack_require__(1113);Object.defineProperty(exports,'Embed',{enumerable:true,get:function get(){return _interopRequireDefault(_Embed).default;}});var _Modal=__webpack_require__(521);Object.defineProperty(exports,'Modal',{enumerable:true,get:function get(){return _interopRequireDefault(_Modal).default;}});var _ModalActions=__webpack_require__(517);Object.defineProperty(exports,'ModalActions',{enumerable:true,get:function get(){return _interopRequireDefault(_ModalActions).default;}});var _ModalContent=__webpack_require__(518);Object.defineProperty(exports,'ModalContent',{enumerable:true,get:function get(){return _interopRequireDefault(_ModalContent).default;}});var _ModalDescription=__webpack_require__(519);Object.defineProperty(exports,'ModalDescription',{enumerable:true,get:function get(){return _interopRequireDefault(_ModalDescription).default;}});var _ModalHeader=__webpack_require__(520);Object.defineProperty(exports,'ModalHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_ModalHeader).default;}});var _Popup=__webpack_require__(1116);Object.defineProperty(exports,'Popup',{enumerable:true,get:function get(){return _interopRequireDefault(_Popup).default;}});var _PopupContent=__webpack_require__(522);Object.defineProperty(exports,'PopupContent',{enumerable:true,get:function get(){return _interopRequireDefault(_PopupContent).default;}});var _PopupHeader=__webpack_require__(523);Object.defineProperty(exports,'PopupHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_PopupHeader).default;}});var _Progress=__webpack_require__(1118);Object.defineProperty(exports,'Progress',{enumerable:true,get:function get(){return _interopRequireDefault(_Progress).default;}});var _Rating=__webpack_require__(1121);Object.defineProperty(exports,'Rating',{enumerable:true,get:function get(){return _interopRequireDefault(_Rating).default;}});var _Search=__webpack_require__(1123);Object.defineProperty(exports,'Search',{enumerable:true,get:function get(){return _interopRequireDefault(_Search).default;}});var _SearchCategory=__webpack_require__(524);Object.defineProperty(exports,'SearchCategory',{enumerable:true,get:function get(){return _interopRequireDefault(_SearchCategory).default;}});var _SearchResult=__webpack_require__(525);Object.defineProperty(exports,'SearchResult',{enumerable:true,get:function get(){return _interopRequireDefault(_SearchResult).default;}});var _SearchResults=__webpack_require__(526);Object.defineProperty(exports,'SearchResults',{enumerable:true,get:function get(){return _interopRequireDefault(_SearchResults).default;}});var _Card=__webpack_require__(527);Object.defineProperty(exports,'Card',{enumerable:true,get:function get(){return _interopRequireDefault(_Card).default;}});var _CardContent=__webpack_require__(528);Object.defineProperty(exports,'CardContent',{enumerable:true,get:function get(){return _interopRequireDefault(_CardContent).default;}});var _CardDescription=__webpack_require__(281);Object.defineProperty(exports,'CardDescription',{enumerable:true,get:function get(){return _interopRequireDefault(_CardDescription).default;}});var _CardGroup=__webpack_require__(529);Object.defineProperty(exports,'CardGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_CardGroup).default;}});var _CardHeader=__webpack_require__(282);Object.defineProperty(exports,'CardHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_CardHeader).default;}});var _CardMeta=__webpack_require__(283);Object.defineProperty(exports,'CardMeta',{enumerable:true,get:function get(){return _interopRequireDefault(_CardMeta).default;}});var _Comment=__webpack_require__(1125);Object.defineProperty(exports,'Comment',{enumerable:true,get:function get(){return _interopRequireDefault(_Comment).default;}});var _CommentAction=__webpack_require__(530);Object.defineProperty(exports,'CommentAction',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentAction).default;}});var _CommentActions=__webpack_require__(531);Object.defineProperty(exports,'CommentActions',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentActions).default;}});var _CommentAuthor=__webpack_require__(532);Object.defineProperty(exports,'CommentAuthor',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentAuthor).default;}});var _CommentAvatar=__webpack_require__(533);Object.defineProperty(exports,'CommentAvatar',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentAvatar).default;}});var _CommentContent=__webpack_require__(534);Object.defineProperty(exports,'CommentContent',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentContent).default;}});var _CommentGroup=__webpack_require__(535);Object.defineProperty(exports,'CommentGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentGroup).default;}});var _CommentMetadata=__webpack_require__(536);Object.defineProperty(exports,'CommentMetadata',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentMetadata).default;}});var _CommentText=__webpack_require__(537);Object.defineProperty(exports,'CommentText',{enumerable:true,get:function get(){return _interopRequireDefault(_CommentText).default;}});var _Feed=__webpack_require__(1127);Object.defineProperty(exports,'Feed',{enumerable:true,get:function get(){return _interopRequireDefault(_Feed).default;}});var _FeedContent=__webpack_require__(284);Object.defineProperty(exports,'FeedContent',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedContent).default;}});var _FeedDate=__webpack_require__(193);Object.defineProperty(exports,'FeedDate',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedDate).default;}});var _FeedEvent=__webpack_require__(538);Object.defineProperty(exports,'FeedEvent',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedEvent).default;}});var _FeedExtra=__webpack_require__(285);Object.defineProperty(exports,'FeedExtra',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedExtra).default;}});var _FeedLabel=__webpack_require__(286);Object.defineProperty(exports,'FeedLabel',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedLabel).default;}});var _FeedLike=__webpack_require__(287);Object.defineProperty(exports,'FeedLike',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedLike).default;}});var _FeedMeta=__webpack_require__(288);Object.defineProperty(exports,'FeedMeta',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedMeta).default;}});var _FeedSummary=__webpack_require__(289);Object.defineProperty(exports,'FeedSummary',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedSummary).default;}});var _FeedUser=__webpack_require__(290);Object.defineProperty(exports,'FeedUser',{enumerable:true,get:function get(){return _interopRequireDefault(_FeedUser).default;}});var _Item=__webpack_require__(1128);Object.defineProperty(exports,'Item',{enumerable:true,get:function get(){return _interopRequireDefault(_Item).default;}});var _ItemContent=__webpack_require__(540);Object.defineProperty(exports,'ItemContent',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemContent).default;}});var _ItemDescription=__webpack_require__(291);Object.defineProperty(exports,'ItemDescription',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemDescription).default;}});var _ItemExtra=__webpack_require__(292);Object.defineProperty(exports,'ItemExtra',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemExtra).default;}});var _ItemGroup=__webpack_require__(541);Object.defineProperty(exports,'ItemGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemGroup).default;}});var _ItemHeader=__webpack_require__(293);Object.defineProperty(exports,'ItemHeader',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemHeader).default;}});var _ItemImage=__webpack_require__(542);Object.defineProperty(exports,'ItemImage',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemImage).default;}});var _ItemMeta=__webpack_require__(294);Object.defineProperty(exports,'ItemMeta',{enumerable:true,get:function get(){return _interopRequireDefault(_ItemMeta).default;}});var _Statistic=__webpack_require__(1129);Object.defineProperty(exports,'Statistic',{enumerable:true,get:function get(){return _interopRequireDefault(_Statistic).default;}});var _StatisticGroup=__webpack_require__(544);Object.defineProperty(exports,'StatisticGroup',{enumerable:true,get:function get(){return _interopRequireDefault(_StatisticGroup).default;}});var _StatisticLabel=__webpack_require__(545);Object.defineProperty(exports,'StatisticLabel',{enumerable:true,get:function get(){return _interopRequireDefault(_StatisticLabel).default;}});var _StatisticValue=__webpack_require__(546);Object.defineProperty(exports,'StatisticValue',{enumerable:true,get:function get(){return _interopRequireDefault(_StatisticValue).default;}});function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}
/***/ },
/* 81 */,
/* 82 */,
/* 83 */,
/* 84 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.createMemoryHistory=exports.hashHistory=exports.browserHistory=exports.applyRouterMiddleware=exports.formatPattern=exports.useRouterHistory=exports.match=exports.routerShape=exports.locationShape=exports.RouterContext=exports.createRoutes=exports.Route=exports.Redirect=exports.IndexRoute=exports.IndexRedirect=exports.withRouter=exports.IndexLink=exports.Link=exports.Router=undefined;var _RouteUtils=__webpack_require__(62);Object.defineProperty(exports,'createRoutes',{enumerable:true,get:function get(){return _RouteUtils.createRoutes;}});var _PropTypes=__webpack_require__(241);Object.defineProperty(exports,'locationShape',{enumerable:true,get:function get(){return _PropTypes.locationShape;}});Object.defineProperty(exports,'routerShape',{enumerable:true,get:function get(){return _PropTypes.routerShape;}});var _PatternUtils=__webpack_require__(93);Object.defineProperty(exports,'formatPattern',{enumerable:true,get:function get(){return _PatternUtils.formatPattern;}});var _Router2=__webpack_require__(921);var _Router3=_interopRequireDefault(_Router2);var _Link2=__webpack_require__(408);var _Link3=_interopRequireDefault(_Link2);var _IndexLink2=__webpack_require__(917);var _IndexLink3=_interopRequireDefault(_IndexLink2);var _withRouter2=__webpack_require__(932);var _withRouter3=_interopRequireDefault(_withRouter2);var _IndexRedirect2=__webpack_require__(918);var _IndexRedirect3=_interopRequireDefault(_IndexRedirect2);var _IndexRoute2=__webpack_require__(919);var _IndexRoute3=_interopRequireDefault(_IndexRoute2);var _Redirect2=__webpack_require__(410);var _Redirect3=_interopRequireDefault(_Redirect2);var _Route2=__webpack_require__(920);var _Route3=_interopRequireDefault(_Route2);var _RouterContext2=__webpack_require__(242);var _RouterContext3=_interopRequireDefault(_RouterContext2);var _match2=__webpack_require__(930);var _match3=_interopRequireDefault(_match2);var _useRouterHistory2=__webpack_require__(415);var _useRouterHistory3=_interopRequireDefault(_useRouterHistory2);var _applyRouterMiddleware2=__webpack_require__(923);var _applyRouterMiddleware3=_interopRequireDefault(_applyRouterMiddleware2);var _browserHistory2=__webpack_require__(924);var _browserHistory3=_interopRequireDefault(_browserHistory2);var _hashHistory2=__webpack_require__(928);var _hashHistory3=_interopRequireDefault(_hashHistory2);var _createMemoryHistory2=__webpack_require__(412);var _createMemoryHistory3=_interopRequireDefault(_createMemoryHistory2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.Router=_Router3.default;/* components */exports.Link=_Link3.default;exports.IndexLink=_IndexLink3.default;exports.withRouter=_withRouter3.default;/* components (configuration) */exports.IndexRedirect=_IndexRedirect3.default;exports.IndexRoute=_IndexRoute3.default;exports.Redirect=_Redirect3.default;exports.Route=_Route3.default;/* utils */exports.RouterContext=_RouterContext3.default;exports.match=_match3.default;exports.useRouterHistory=_useRouterHistory3.default;exports.applyRouterMiddleware=_applyRouterMiddleware3.default;/* histories */exports.browserHistory=_browserHistory3.default;exports.hashHistory=_hashHistory3.default;exports.createMemoryHistory=_createMemoryHistory3.default;
/***/ },
/* 85 */,
/* 86 */,
/* 87 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-decimal
* @fileoverview Check if a character is decimal.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=decimal;/**
* Check whether the given character code, or the character
* code at the first character, is decimal.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is decimal.
*/function decimal(character){var code=typeof character==='string'?character.charCodeAt(0):character;return code>=48&&code<=57;/* 0-9 */}
/***/ },
/* 88 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var root=__webpack_require__(32);/** Built-in value references. */var _Symbol=root.Symbol;module.exports=_Symbol;
/***/ },
/* 89 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseForOwn=__webpack_require__(219),createBaseEach=__webpack_require__(763);/**
* The base implementation of `_.forEach` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array|Object} Returns `collection`.
*/var baseEach=createBaseEach(baseForOwn);module.exports=baseEach;
/***/ },
/* 90 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assignValue=__webpack_require__(147),baseAssignValue=__webpack_require__(217);/**
* Copies properties of `source` to `object`.
*
* @private
* @param {Object} source The object to copy properties from.
* @param {Array} props The property identifiers to copy.
* @param {Object} [object={}] The object to copy properties to.
* @param {Function} [customizer] The function to customize copied values.
* @returns {Object} Returns `object`.
*/function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):undefined;if(newValue===undefined){newValue=source[key];}if(isNew){baseAssignValue(object,key,newValue);}else{assignValue(object,key,newValue);}}return object;}module.exports=copyObject;
/***/ },
/* 91 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGet=__webpack_require__(150);/**
* Gets the value at `path` of `object`. If the resolved value is
* `undefined`, the `defaultValue` is returned in its place.
*
* @static
* @memberOf _
* @since 3.7.0
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path of the property to get.
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
* @returns {*} Returns the resolved value.
* @example
*
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
*
* _.get(object, 'a[0].b.c');
* // => 3
*
* _.get(object, ['a', '0', 'b', 'c']);
* // => 3
*
* _.get(object, 'a.b.c', 'default');
* // => 'default'
*/function get(object,path,defaultValue){var result=object==null?undefined:baseGet(object,path);return result===undefined?defaultValue:result;}module.exports=get;
/***/ },
/* 92 */,
/* 93 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;exports.compilePattern=compilePattern;exports.matchPattern=matchPattern;exports.getParamNames=getParamNames;exports.getParams=getParams;exports.formatPattern=formatPattern;var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function escapeRegExp(string){return string.replace(/[.*+?^${}()|[\]\\]/g,'\\$&');}function _compilePattern(pattern){var regexpSource='';var paramNames=[];var tokens=[];var match=void 0,lastIndex=0,matcher=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;while(match=matcher.exec(pattern)){if(match.index!==lastIndex){tokens.push(pattern.slice(lastIndex,match.index));regexpSource+=escapeRegExp(pattern.slice(lastIndex,match.index));}if(match[1]){regexpSource+='([^/]+)';paramNames.push(match[1]);}else if(match[0]==='**'){regexpSource+='(.*)';paramNames.push('splat');}else if(match[0]==='*'){regexpSource+='(.*?)';paramNames.push('splat');}else if(match[0]==='('){regexpSource+='(?:';}else if(match[0]===')'){regexpSource+=')?';}tokens.push(match[0]);lastIndex=matcher.lastIndex;}if(lastIndex!==pattern.length){tokens.push(pattern.slice(lastIndex,pattern.length));regexpSource+=escapeRegExp(pattern.slice(lastIndex,pattern.length));}return{pattern:pattern,regexpSource:regexpSource,paramNames:paramNames,tokens:tokens};}var CompiledPatternsCache=Object.create(null);function compilePattern(pattern){if(!CompiledPatternsCache[pattern])CompiledPatternsCache[pattern]=_compilePattern(pattern);return CompiledPatternsCache[pattern];}/**
* Attempts to match a pattern on the given pathname. Patterns may use
* the following special characters:
*
* - :paramName Matches a URL segment up to the next /, ?, or #. The
* captured string is considered a "param"
* - () Wraps a segment of the URL that is optional
* - * Consumes (non-greedy) all characters up to the next
* character in the pattern, or to the end of the URL if
* there is none
* - ** Consumes (greedy) all characters up to the next character
* in the pattern, or to the end of the URL if there is none
*
* The function calls callback(error, matched) when finished.
* The return value is an object with the following properties:
*
* - remainingPathname
* - paramNames
* - paramValues
*/function matchPattern(pattern,pathname){// Ensure pattern starts with leading slash for consistency with pathname.
if(pattern.charAt(0)!=='/'){pattern='/'+pattern;}var _compilePattern2=compilePattern(pattern),regexpSource=_compilePattern2.regexpSource,paramNames=_compilePattern2.paramNames,tokens=_compilePattern2.tokens;if(pattern.charAt(pattern.length-1)!=='/'){regexpSource+='/?';// Allow optional path separator at end.
}// Special-case patterns like '*' for catch-all routes.
if(tokens[tokens.length-1]==='*'){regexpSource+='$';}var match=pathname.match(new RegExp('^'+regexpSource,'i'));if(match==null){return null;}var matchedPath=match[0];var remainingPathname=pathname.substr(matchedPath.length);if(remainingPathname){// Require that the match ends at a path separator, if we didn't match
// the full path, so any remaining pathname is a new path segment.
if(matchedPath.charAt(matchedPath.length-1)!=='/'){return null;}// If there is a remaining pathname, treat the path separator as part of
// the remaining pathname for properly continuing the match.
remainingPathname='/'+remainingPathname;}return{remainingPathname:remainingPathname,paramNames:paramNames,paramValues:match.slice(1).map(function(v){return v&&decodeURIComponent(v);})};}function getParamNames(pattern){return compilePattern(pattern).paramNames;}function getParams(pattern,pathname){var match=matchPattern(pattern,pathname);if(!match){return null;}var paramNames=match.paramNames,paramValues=match.paramValues;var params={};paramNames.forEach(function(paramName,index){params[paramName]=paramValues[index];});return params;}/**
* Returns a version of the given pattern with params interpolated. Throws
* if there is a dynamic segment of the pattern for which there is no param.
*/function formatPattern(pattern,params){params=params||{};var _compilePattern3=compilePattern(pattern),tokens=_compilePattern3.tokens;var parenCount=0,pathname='',splatIndex=0,parenHistory=[];var token=void 0,paramName=void 0,paramValue=void 0;for(var i=0,len=tokens.length;i<len;++i){token=tokens[i];if(token==='*'||token==='**'){paramValue=Array.isArray(params.splat)?params.splat[splatIndex++]:params.splat;!(paramValue!=null||parenCount>0)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Missing splat #%s for path "%s"',splatIndex,pattern):(0,_invariant2.default)(false):void 0;if(paramValue!=null)pathname+=encodeURI(paramValue);}else if(token==='('){parenHistory[parenCount]='';parenCount+=1;}else if(token===')'){var parenText=parenHistory.pop();parenCount-=1;if(parenCount)parenHistory[parenCount-1]+=parenText;else pathname+=parenText;}else if(token.charAt(0)===':'){paramName=token.substring(1);paramValue=params[paramName];!(paramValue!=null||parenCount>0)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Missing "%s" parameter for path "%s"',paramName,pattern):(0,_invariant2.default)(false):void 0;if(paramValue==null){if(parenCount){parenHistory[parenCount-1]='';var curTokenIdx=tokens.indexOf(token);var tokensSubset=tokens.slice(curTokenIdx,tokens.length);var nextParenIdx=-1;for(var _i=0;_i<tokensSubset.length;_i++){if(tokensSubset[_i]==')'){nextParenIdx=_i;break;}}!(nextParenIdx>0)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Path "%s" is missing end paren at segment "%s"',pattern,tokensSubset.join('')):(0,_invariant2.default)(false):void 0;// jump to ending paren
i=curTokenIdx+nextParenIdx-1;}}else if(parenCount)parenHistory[parenCount-1]+=encodeURIComponent(paramValue);else pathname+=encodeURIComponent(paramValue);}else{if(parenCount)parenHistory[parenCount-1]+=token;else pathname+=token;}}!(parenCount<=0)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Path "%s" is missing end paren',pattern):(0,_invariant2.default)(false):void 0;return pathname.replace(/\/+/g,'/');}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 94 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.default=routerWarning;exports._resetWarned=_resetWarned;var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var warned={};function routerWarning(falseToWarn,message){// Only issue deprecation warnings once.
if(message.indexOf('deprecated')!==-1){if(warned[message]){return;}warned[message]=true;}message='[react-router] '+message;for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}_warning2.default.apply(undefined,[falseToWarn,message].concat(args));}function _resetWarned(){warned={};}
/***/ },
/* 95 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;exports.locationsAreEqual=exports.statesAreEqual=exports.createLocation=exports.createQuery=undefined;var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};var _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;};var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);var _PathUtils=__webpack_require__(63);var _Actions=__webpack_require__(176);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var createQuery=exports.createQuery=function createQuery(props){return _extends(Object.create(null),props);};var createLocation=exports.createLocation=function createLocation(){var input=arguments.length<=0||arguments[0]===undefined?'/':arguments[0];var action=arguments.length<=1||arguments[1]===undefined?_Actions.POP:arguments[1];var key=arguments.length<=2||arguments[2]===undefined?null:arguments[2];var object=typeof input==='string'?(0,_PathUtils.parsePath)(input):input;process.env.NODE_ENV!=='production'?(0,_warning2.default)(!object.path,'Location descriptor objects should have a `pathname`, not a `path`.'):void 0;var pathname=object.pathname||'/';var search=object.search||'';var hash=object.hash||'';var state=object.state;return{pathname:pathname,search:search,hash:hash,state:state,action:action,key:key};};var isDate=function isDate(object){return Object.prototype.toString.call(object)==='[object Date]';};var statesAreEqual=exports.statesAreEqual=function statesAreEqual(a,b){if(a===b)return true;var typeofA=typeof a==='undefined'?'undefined':_typeof(a);var typeofB=typeof b==='undefined'?'undefined':_typeof(b);if(typeofA!==typeofB)return false;!(typeofA!=='function')?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'You must not store functions in location state'):(0,_invariant2.default)(false):void 0;// Not the same object, but same type.
if(typeofA==='object'){!!(isDate(a)&&isDate(b))?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'You must not store Date objects in location state'):(0,_invariant2.default)(false):void 0;if(!Array.isArray(a)){var keysofA=Object.keys(a);var keysofB=Object.keys(b);return keysofA.length===keysofB.length&&keysofA.every(function(key){return statesAreEqual(a[key],b[key]);});}return Array.isArray(b)&&a.length===b.length&&a.every(function(item,index){return statesAreEqual(item,b[index]);});}// All other serializable types (string, number, boolean)
// should be strict equal.
return false;};var locationsAreEqual=exports.locationsAreEqual=function locationsAreEqual(a,b){return a.key===b.key&&// a.action === b.action && // Different action !== location change.
a.pathname===b.pathname&&a.search===b.search&&a.hash===b.hash&&statesAreEqual(a.state,b.state);};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 96 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInstanceHandles
* @typechecks static-only
*/'use strict';var ReactRootIndex=__webpack_require__(441);var invariant=__webpack_require__(6);var SEPARATOR='.';var SEPARATOR_LENGTH=SEPARATOR.length;/**
* Maximum depth of traversals before we consider the possibility of a bad ID.
*/var MAX_TREE_DEPTH=10000;/**
* Creates a DOM ID prefix to use when mounting React components.
*
* @param {number} index A unique integer
* @return {string} React root ID.
* @internal
*/function getReactRootIDString(index){return SEPARATOR+index.toString(36);}/**
* Checks if a character in the supplied ID is a separator or the end.
*
* @param {string} id A React DOM ID.
* @param {number} index Index of the character to check.
* @return {boolean} True if the character is a separator or end of the ID.
* @private
*/function isBoundary(id,index){return id.charAt(index)===SEPARATOR||index===id.length;}/**
* Checks if the supplied string is a valid React DOM ID.
*
* @param {string} id A React DOM ID, maybe.
* @return {boolean} True if the string is a valid React DOM ID.
* @private
*/function isValidID(id){return id===''||id.charAt(0)===SEPARATOR&&id.charAt(id.length-1)!==SEPARATOR;}/**
* Checks if the first ID is an ancestor of or equal to the second ID.
*
* @param {string} ancestorID
* @param {string} descendantID
* @return {boolean} True if `ancestorID` is an ancestor of `descendantID`.
* @internal
*/function isAncestorIDOf(ancestorID,descendantID){return descendantID.indexOf(ancestorID)===0&&isBoundary(descendantID,ancestorID.length);}/**
* Gets the parent ID of the supplied React DOM ID, `id`.
*
* @param {string} id ID of a component.
* @return {string} ID of the parent, or an empty string.
* @private
*/function getParentID(id){return id?id.substr(0,id.lastIndexOf(SEPARATOR)):'';}/**
* Gets the next DOM ID on the tree path from the supplied `ancestorID` to the
* supplied `destinationID`. If they are equal, the ID is returned.
*
* @param {string} ancestorID ID of an ancestor node of `destinationID`.
* @param {string} destinationID ID of the destination node.
* @return {string} Next ID on the path from `ancestorID` to `destinationID`.
* @private
*/function getNextDescendantID(ancestorID,destinationID){!(isValidID(ancestorID)&&isValidID(destinationID))?process.env.NODE_ENV!=='production'?invariant(false,'getNextDescendantID(%s, %s): Received an invalid React DOM ID.',ancestorID,destinationID):invariant(false):undefined;!isAncestorIDOf(ancestorID,destinationID)?process.env.NODE_ENV!=='production'?invariant(false,'getNextDescendantID(...): React has made an invalid assumption about '+'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.',ancestorID,destinationID):invariant(false):undefined;if(ancestorID===destinationID){return ancestorID;}// Skip over the ancestor and the immediate separator. Traverse until we hit
// another separator or we reach the end of `destinationID`.
var start=ancestorID.length+SEPARATOR_LENGTH;var i;for(i=start;i<destinationID.length;i++){if(isBoundary(destinationID,i)){break;}}return destinationID.substr(0,i);}/**
* Gets the nearest common ancestor ID of two IDs.
*
* Using this ID scheme, the nearest common ancestor ID is the longest common
* prefix of the two IDs that immediately preceded a "marker" in both strings.
*
* @param {string} oneID
* @param {string} twoID
* @return {string} Nearest common ancestor ID, or the empty string if none.
* @private
*/function getFirstCommonAncestorID(oneID,twoID){var minLength=Math.min(oneID.length,twoID.length);if(minLength===0){return'';}var lastCommonMarkerIndex=0;// Use `<=` to traverse until the "EOL" of the shorter string.
for(var i=0;i<=minLength;i++){if(isBoundary(oneID,i)&&isBoundary(twoID,i)){lastCommonMarkerIndex=i;}else if(oneID.charAt(i)!==twoID.charAt(i)){break;}}var longestCommonID=oneID.substr(0,lastCommonMarkerIndex);!isValidID(longestCommonID)?process.env.NODE_ENV!=='production'?invariant(false,'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s',oneID,twoID,longestCommonID):invariant(false):undefined;return longestCommonID;}/**
* Traverses the parent path between two IDs (either up or down). The IDs must
* not be the same, and there must exist a parent path between them. If the
* callback returns `false`, traversal is stopped.
*
* @param {?string} start ID at which to start traversal.
* @param {?string} stop ID at which to end traversal.
* @param {function} cb Callback to invoke each ID with.
* @param {*} arg Argument to invoke the callback with.
* @param {?boolean} skipFirst Whether or not to skip the first node.
* @param {?boolean} skipLast Whether or not to skip the last node.
* @private
*/function traverseParentPath(start,stop,cb,arg,skipFirst,skipLast){start=start||'';stop=stop||'';!(start!==stop)?process.env.NODE_ENV!=='production'?invariant(false,'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.',start):invariant(false):undefined;var traverseUp=isAncestorIDOf(stop,start);!(traverseUp||isAncestorIDOf(start,stop))?process.env.NODE_ENV!=='production'?invariant(false,'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do '+'not have a parent path.',start,stop):invariant(false):undefined;// Traverse from `start` to `stop` one depth at a time.
var depth=0;var traverse=traverseUp?getParentID:getNextDescendantID;for(var id=start;;/* until break */id=traverse(id,stop)){var ret;if((!skipFirst||id!==start)&&(!skipLast||id!==stop)){ret=cb(id,traverseUp,arg);}if(ret===false||id===stop){// Only break //after// visiting `stop`.
break;}!(depth++<MAX_TREE_DEPTH)?process.env.NODE_ENV!=='production'?invariant(false,'traverseParentPath(%s, %s, ...): Detected an infinite loop while '+'traversing the React DOM ID tree. This may be due to malformed IDs: %s',start,stop,id):invariant(false):undefined;}}/**
* Manages the IDs assigned to DOM representations of React components. This
* uses a specific scheme in order to traverse the DOM efficiently (e.g. in
* order to simulate events).
*
* @internal
*/var ReactInstanceHandles={/**
* Constructs a React root ID
* @return {string} A React root ID.
*/createReactRootID:function createReactRootID(){return getReactRootIDString(ReactRootIndex.createReactRootIndex());},/**
* Constructs a React ID by joining a root ID with a name.
*
* @param {string} rootID Root ID of a parent component.
* @param {string} name A component's name (as flattened children).
* @return {string} A React ID.
* @internal
*/createReactID:function createReactID(rootID,name){return rootID+name;},/**
* Gets the DOM ID of the React component that is the root of the tree that
* contains the React component with the supplied DOM ID.
*
* @param {string} id DOM ID of a React component.
* @return {?string} DOM ID of the React component that is the root.
* @internal
*/getReactRootIDFromNodeID:function getReactRootIDFromNodeID(id){if(id&&id.charAt(0)===SEPARATOR&&id.length>1){var index=id.indexOf(SEPARATOR,1);return index>-1?id.substr(0,index):id;}return null;},/**
* Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that
* should would receive a `mouseEnter` or `mouseLeave` event.
*
* NOTE: Does not invoke the callback on the nearest common ancestor because
* nothing "entered" or "left" that element.
*
* @param {string} leaveID ID being left.
* @param {string} enterID ID being entered.
* @param {function} cb Callback to invoke on each entered/left ID.
* @param {*} upArg Argument to invoke the callback with on left IDs.
* @param {*} downArg Argument to invoke the callback with on entered IDs.
* @internal
*/traverseEnterLeave:function traverseEnterLeave(leaveID,enterID,cb,upArg,downArg){var ancestorID=getFirstCommonAncestorID(leaveID,enterID);if(ancestorID!==leaveID){traverseParentPath(leaveID,ancestorID,cb,upArg,false,true);}if(ancestorID!==enterID){traverseParentPath(ancestorID,enterID,cb,downArg,true,false);}},/**
* Simulates the traversal of a two-phase, capture/bubble event dispatch.
*
* NOTE: This traversal happens on IDs without touching the DOM.
*
* @param {string} targetID ID of the target node.
* @param {function} cb Callback to invoke.
* @param {*} arg Argument to invoke the callback with.
* @internal
*/traverseTwoPhase:function traverseTwoPhase(targetID,cb,arg){if(targetID){traverseParentPath('',targetID,cb,arg,true,false);traverseParentPath(targetID,'',cb,arg,false,true);}},/**
* Same as `traverseTwoPhase` but skips the `targetID`.
*/traverseTwoPhaseSkipTarget:function traverseTwoPhaseSkipTarget(targetID,cb,arg){if(targetID){traverseParentPath('',targetID,cb,arg,true,true);traverseParentPath(targetID,'',cb,arg,true,true);}},/**
* Traverse a node ID, calling the supplied `cb` for each ancestor ID. For
* example, passing `.0.$row-0.1` would result in `cb` getting called
* with `.0`, `.0.$row-0`, and `.0.$row-0.1`.
*
* NOTE: This traversal happens on IDs without touching the DOM.
*
* @param {string} targetID ID of the target node.
* @param {function} cb Callback to invoke.
* @param {*} arg Argument to invoke the callback with.
* @internal
*/traverseAncestors:function traverseAncestors(targetID,cb,arg){traverseParentPath('',targetID,cb,arg,true,false);},getFirstCommonAncestorID:getFirstCommonAncestorID,/**
* Exposed for unit testing.
* @private
*/_getNextDescendantID:getNextDescendantID,isAncestorIDOf:isAncestorIDOf,SEPARATOR:SEPARATOR};module.exports=ReactInstanceHandles;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 97 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Image=__webpack_require__(496);var _Image2=_interopRequireDefault(_Image);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Image2.default;
/***/ },
/* 98 */,
/* 99 */,
/* 100 */
/***/ function(module, exports) {
"use strict";
'use strict';exports=module.exports=trim;function trim(str){return str.replace(/^\s*|\s*$/g,'');}exports.left=function(str){return str.replace(/^\s*/,'');};exports.right=function(str){return str.replace(/\s*$/,'');};
/***/ },
/* 101 */
/***/ function(module, exports) {
"use strict";
"use strict";module.exports=function(module){if(!module.webpackPolyfill){module.deprecate=function(){};module.paths=[];// module.parent = undefined by default
if(!module.children)module.children=[];Object.defineProperty(module,"loaded",{enumerable:true,configurable:false,get:function get(){return module.l;}});Object.defineProperty(module,"id",{enumerable:true,configurable:false,get:function get(){return module.i;}});module.webpackPolyfill=1;}return module;};
/***/ },
/* 102 */
/***/ function(module, exports) {
"use strict";
"use strict";module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){var target={};for(var i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;}
/***/ },
/* 103 */,
/* 104 */,
/* 105 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule emptyObject
*/'use strict';var emptyObject={};if(process.env.NODE_ENV!=='production'){Object.freeze(emptyObject);}module.exports=emptyObject;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 106 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var bind=__webpack_require__(663);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty);
/***/ },
/* 107 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.forEach` for arrays without support for
* iteratee shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns `array`.
*/function arrayEach(array,iteratee){var index=-1,length=array==null?0:array.length;while(++index<length){if(iteratee(array[index],index,array)===false){break;}}return array;}module.exports=arrayEach;
/***/ },
/* 108 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isObject=__webpack_require__(33);/** Built-in value references. */var objectCreate=Object.create;/**
* The base implementation of `_.create` without support for assigning
* properties to the created object.
*
* @private
* @param {Object} proto The object to inherit from.
* @returns {Object} Returns the new object.
*/var baseCreate=function(){function object(){}return function(proto){if(!isObject(proto)){return{};}if(objectCreate){return objectCreate(proto);}object.prototype=proto;var result=new object();object.prototype=undefined;return result;};}();module.exports=baseCreate;
/***/ },
/* 109 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSetData=__webpack_require__(351),createBind=__webpack_require__(765),createCurry=__webpack_require__(768),createHybrid=__webpack_require__(357),createPartial=__webpack_require__(771),getData=__webpack_require__(224),mergeData=__webpack_require__(806),setData=__webpack_require__(374),setWrapToString=__webpack_require__(375),toInteger=__webpack_require__(48);/** Error message constants. */var FUNC_ERROR_TEXT='Expected a function';/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* Creates a function that either curries or invokes `func` with optional
* `this` binding and partially applied arguments.
*
* @private
* @param {Function|string} func The function or method name to wrap.
* @param {number} bitmask The bitmask flags.
* 1 - `_.bind`
* 2 - `_.bindKey`
* 4 - `_.curry` or `_.curryRight` of a bound function
* 8 - `_.curry`
* 16 - `_.curryRight`
* 32 - `_.partial`
* 64 - `_.partialRight`
* 128 - `_.rearg`
* 256 - `_.ary`
* 512 - `_.flip`
* @param {*} [thisArg] The `this` binding of `func`.
* @param {Array} [partials] The arguments to be partially applied.
* @param {Array} [holders] The `partials` placeholder indexes.
* @param {Array} [argPos] The argument positions of the new function.
* @param {number} [ary] The arity cap of `func`.
* @param {number} [arity] The arity of `func`.
* @returns {Function} Returns the new wrapped function.
*/function createWrap(func,bitmask,thisArg,partials,holders,argPos,ary,arity){var isBindKey=bitmask&WRAP_BIND_KEY_FLAG;if(!isBindKey&&typeof func!='function'){throw new TypeError(FUNC_ERROR_TEXT);}var length=partials?partials.length:0;if(!length){bitmask&=~(WRAP_PARTIAL_FLAG|WRAP_PARTIAL_RIGHT_FLAG);partials=holders=undefined;}ary=ary===undefined?ary:nativeMax(toInteger(ary),0);arity=arity===undefined?arity:toInteger(arity);length-=holders?holders.length:0;if(bitmask&WRAP_PARTIAL_RIGHT_FLAG){var partialsRight=partials,holdersRight=holders;partials=holders=undefined;}var data=isBindKey?undefined:getData(func);var newData=[func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity];if(data){mergeData(newData,data);}func=newData[0];bitmask=newData[1];thisArg=newData[2];partials=newData[3];holders=newData[4];arity=newData[9]=newData[9]==null?isBindKey?0:func.length:nativeMax(newData[9]-length,0);if(!arity&&bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG)){bitmask&=~(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG);}if(!bitmask||bitmask==WRAP_BIND_FLAG){var result=createBind(func,bitmask,thisArg);}else if(bitmask==WRAP_CURRY_FLAG||bitmask==WRAP_CURRY_RIGHT_FLAG){result=createCurry(func,bitmask,arity);}else if((bitmask==WRAP_PARTIAL_FLAG||bitmask==(WRAP_BIND_FLAG|WRAP_PARTIAL_FLAG))&&!holders.length){result=createPartial(func,bitmask,thisArg,partials);}else{result=createHybrid.apply(undefined,newData);}var setter=data?baseSetData:setData;return setWrapToString(setter(result,newData),func,bitmask);}module.exports=createWrap;
/***/ },
/* 110 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used as references for various `Number` constants. */var MAX_SAFE_INTEGER=9007199254740991;/** Used to detect unsigned integer values. */var reIsUint=/^(?:0|[1-9]\d*)$/;/**
* Checks if `value` is a valid array-like index.
*
* @private
* @param {*} value The value to check.
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/function isIndex(value,length){length=length==null?MAX_SAFE_INTEGER:length;return!!length&&(typeof value=='number'||reIsUint.test(value))&&value>-1&&value%1==0&&value<length;}module.exports=isIndex;
/***/ },
/* 111 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used for built-in method references. */var objectProto=Object.prototype;/**
* Checks if `value` is likely a prototype object.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
*/function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=='function'&&Ctor.prototype||objectProto;return value===proto;}module.exports=isPrototype;
/***/ },
/* 112 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used as the internal argument placeholder. */var PLACEHOLDER='__lodash_placeholder__';/**
* Replaces all `placeholder` elements in `array` with an internal placeholder
* and returns an array of their indexes.
*
* @private
* @param {Array} array The array to modify.
* @param {*} placeholder The placeholder to replace.
* @returns {Array} Returns the new array of placeholder indexes.
*/function replaceHolders(array,placeholder){var index=-1,length=array.length,resIndex=0,result=[];while(++index<length){var value=array[index];if(value===placeholder||value===PLACEHOLDER){array[index]=PLACEHOLDER;result[resIndex++]=index;}}return result;}module.exports=replaceHolders;
/***/ },
/* 113 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Performs a
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* comparison between two values to determine if they are equivalent.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
* @example
*
* var object = { 'a': 1 };
* var other = { 'a': 1 };
*
* _.eq(object, object);
* // => true
*
* _.eq(object, other);
* // => false
*
* _.eq('a', 'a');
* // => true
*
* _.eq('a', Object('a'));
* // => false
*
* _.eq(NaN, NaN);
* // => true
*/function eq(value,other){return value===other||value!==value&&other!==other;}module.exports=eq;
/***/ },
/* 114 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(module) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var root=__webpack_require__(32),stubFalse=__webpack_require__(872);/** Detect free variable `exports`. */var freeExports=( false?'undefined':_typeof(exports))=='object'&&exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&( false?'undefined':_typeof(module))=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Built-in value references. */var Buffer=moduleExports?root.Buffer:undefined;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeIsBuffer=Buffer?Buffer.isBuffer:undefined;/**
* Checks if `value` is a buffer.
*
* @static
* @memberOf _
* @since 4.3.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
* @example
*
* _.isBuffer(new Buffer(2));
* // => true
*
* _.isBuffer(new Uint8Array(2));
* // => false
*/var isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(101)(module)))
/***/ },
/* 115 */,
/* 116 */,
/* 117 */,
/* 118 */,
/* 119 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.routes=exports.route=exports.components=exports.component=exports.history=undefined;exports.falsy=falsy;var _react=__webpack_require__(0);var func=_react.PropTypes.func,object=_react.PropTypes.object,arrayOf=_react.PropTypes.arrayOf,oneOfType=_react.PropTypes.oneOfType,element=_react.PropTypes.element,shape=_react.PropTypes.shape,string=_react.PropTypes.string;function falsy(props,propName,componentName){if(props[propName])return new Error('<'+componentName+'> should not have a "'+propName+'" prop');}var history=exports.history=shape({listen:func.isRequired,push:func.isRequired,replace:func.isRequired,go:func.isRequired,goBack:func.isRequired,goForward:func.isRequired});var component=exports.component=oneOfType([func,string]);var components=exports.components=oneOfType([component,object]);var route=exports.route=oneOfType([object,element]);var routes=exports.routes=oneOfType([route,arrayOf(route)]);
/***/ },
/* 120 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginHub
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var EventPluginRegistry=__webpack_require__(421);var EventPluginUtils=__webpack_require__(947);var ReactErrorUtils=__webpack_require__(434);var accumulateInto=__webpack_require__(443);var forEachAccumulated=__webpack_require__(444);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);/**
* Internal store for event listeners
*/var listenerBank={};/**
* Internal queue of events that have accumulated their dispatches and are
* waiting to have their dispatches executed.
*/var eventQueue=null;/**
* Dispatches an event and releases it back into the pool, unless persistent.
*
* @param {?object} event Synthetic event to be dispatched.
* @param {boolean} simulated If the event is simulated (changes exn behavior)
* @private
*/var executeDispatchesAndRelease=function executeDispatchesAndRelease(event,simulated){if(event){EventPluginUtils.executeDispatchesInOrder(event,simulated);if(!event.isPersistent()){event.constructor.release(event);}}};var executeDispatchesAndReleaseSimulated=function executeDispatchesAndReleaseSimulated(e){return executeDispatchesAndRelease(e,true);};var executeDispatchesAndReleaseTopLevel=function executeDispatchesAndReleaseTopLevel(e){return executeDispatchesAndRelease(e,false);};/**
* - `InstanceHandle`: [required] Module that performs logical traversals of DOM
* hierarchy given ids of the logical DOM elements involved.
*/var InstanceHandle=null;function validateInstanceHandle(){var valid=InstanceHandle&&InstanceHandle.traverseTwoPhase&&InstanceHandle.traverseEnterLeave;process.env.NODE_ENV!=='production'?warning(valid,'InstanceHandle not injected before use!'):undefined;}/**
* This is a unified interface for event plugins to be installed and configured.
*
* Event plugins can implement the following properties:
*
* `extractEvents` {function(string, DOMEventTarget, string, object): *}
* Required. When a top-level event is fired, this method is expected to
* extract synthetic events that will in turn be queued and dispatched.
*
* `eventTypes` {object}
* Optional, plugins that fire events must publish a mapping of registration
* names that are used to register listeners. Values of this mapping must
* be objects that contain `registrationName` or `phasedRegistrationNames`.
*
* `executeDispatch` {function(object, function, string)}
* Optional, allows plugins to override how an event gets dispatched. By
* default, the listener is simply invoked.
*
* Each plugin that is injected into `EventsPluginHub` is immediately operable.
*
* @public
*/var EventPluginHub={/**
* Methods for injecting dependencies.
*/injection:{/**
* @param {object} InjectedMount
* @public
*/injectMount:EventPluginUtils.injection.injectMount,/**
* @param {object} InjectedInstanceHandle
* @public
*/injectInstanceHandle:function injectInstanceHandle(InjectedInstanceHandle){InstanceHandle=InjectedInstanceHandle;if(process.env.NODE_ENV!=='production'){validateInstanceHandle();}},getInstanceHandle:function getInstanceHandle(){if(process.env.NODE_ENV!=='production'){validateInstanceHandle();}return InstanceHandle;},/**
* @param {array} InjectedEventPluginOrder
* @public
*/injectEventPluginOrder:EventPluginRegistry.injectEventPluginOrder,/**
* @param {object} injectedNamesToPlugins Map from names to plugin modules.
*/injectEventPluginsByName:EventPluginRegistry.injectEventPluginsByName},eventNameDispatchConfigs:EventPluginRegistry.eventNameDispatchConfigs,registrationNameModules:EventPluginRegistry.registrationNameModules,/**
* Stores `listener` at `listenerBank[registrationName][id]`. Is idempotent.
*
* @param {string} id ID of the DOM element.
* @param {string} registrationName Name of listener (e.g. `onClick`).
* @param {?function} listener The callback to store.
*/putListener:function putListener(id,registrationName,listener){!(typeof listener==='function')?process.env.NODE_ENV!=='production'?invariant(false,'Expected %s listener to be a function, instead got type %s',registrationName,typeof listener==='undefined'?'undefined':_typeof(listener)):invariant(false):undefined;var bankForRegistrationName=listenerBank[registrationName]||(listenerBank[registrationName]={});bankForRegistrationName[id]=listener;var PluginModule=EventPluginRegistry.registrationNameModules[registrationName];if(PluginModule&&PluginModule.didPutListener){PluginModule.didPutListener(id,registrationName,listener);}},/**
* @param {string} id ID of the DOM element.
* @param {string} registrationName Name of listener (e.g. `onClick`).
* @return {?function} The stored callback.
*/getListener:function getListener(id,registrationName){var bankForRegistrationName=listenerBank[registrationName];return bankForRegistrationName&&bankForRegistrationName[id];},/**
* Deletes a listener from the registration bank.
*
* @param {string} id ID of the DOM element.
* @param {string} registrationName Name of listener (e.g. `onClick`).
*/deleteListener:function deleteListener(id,registrationName){var PluginModule=EventPluginRegistry.registrationNameModules[registrationName];if(PluginModule&&PluginModule.willDeleteListener){PluginModule.willDeleteListener(id,registrationName);}var bankForRegistrationName=listenerBank[registrationName];// TODO: This should never be null -- when is it?
if(bankForRegistrationName){delete bankForRegistrationName[id];}},/**
* Deletes all listeners for the DOM element with the supplied ID.
*
* @param {string} id ID of the DOM element.
*/deleteAllListeners:function deleteAllListeners(id){for(var registrationName in listenerBank){if(!listenerBank[registrationName][id]){continue;}var PluginModule=EventPluginRegistry.registrationNameModules[registrationName];if(PluginModule&&PluginModule.willDeleteListener){PluginModule.willDeleteListener(id,registrationName);}delete listenerBank[registrationName][id];}},/**
* Allows registered plugins an opportunity to extract events from top-level
* native browser events.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @internal
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var events;var plugins=EventPluginRegistry.plugins;for(var i=0;i<plugins.length;i++){// Not every plugin in the ordering may be loaded at runtime.
var possiblePlugin=plugins[i];if(possiblePlugin){var extractedEvents=possiblePlugin.extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget);if(extractedEvents){events=accumulateInto(events,extractedEvents);}}}return events;},/**
* Enqueues a synthetic event that should be dispatched when
* `processEventQueue` is invoked.
*
* @param {*} events An accumulation of synthetic events.
* @internal
*/enqueueEvents:function enqueueEvents(events){if(events){eventQueue=accumulateInto(eventQueue,events);}},/**
* Dispatches all synthetic events on the event queue.
*
* @internal
*/processEventQueue:function processEventQueue(simulated){// Set `eventQueue` to null before processing it so that we can tell if more
// events get enqueued while processing.
var processingEventQueue=eventQueue;eventQueue=null;if(simulated){forEachAccumulated(processingEventQueue,executeDispatchesAndReleaseSimulated);}else{forEachAccumulated(processingEventQueue,executeDispatchesAndReleaseTopLevel);}!!eventQueue?process.env.NODE_ENV!=='production'?invariant(false,'processEventQueue(): Additional events were enqueued while processing '+'an event queue. Support for this has not yet been implemented.'):invariant(false):undefined;// This would be a good time to rethrow if any of the event handlers threw.
ReactErrorUtils.rethrowCaughtError();},/**
* These are needed for tests only. Do not use!
*/__purge:function __purge(){listenerBank={};},__getListenerBank:function __getListenerBank(){return listenerBank;}};module.exports=EventPluginHub;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 121 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPropagators
*/'use strict';var EventConstants=__webpack_require__(50);var EventPluginHub=__webpack_require__(120);var warning=__webpack_require__(8);var accumulateInto=__webpack_require__(443);var forEachAccumulated=__webpack_require__(444);var PropagationPhases=EventConstants.PropagationPhases;var getListener=EventPluginHub.getListener;/**
* Some event types have a notion of different registration names for different
* "phases" of propagation. This finds listeners by a given phase.
*/function listenerAtPhase(id,event,propagationPhase){var registrationName=event.dispatchConfig.phasedRegistrationNames[propagationPhase];return getListener(id,registrationName);}/**
* Tags a `SyntheticEvent` with dispatched listeners. Creating this function
* here, allows us to not have to bind or create functions for each event.
* Mutating the event's members allows us to not have to create a wrapping
* "dispatch" object that pairs the event with the listener.
*/function accumulateDirectionalDispatches(domID,upwards,event){if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(domID,'Dispatching id must not be null'):undefined;}var phase=upwards?PropagationPhases.bubbled:PropagationPhases.captured;var listener=listenerAtPhase(domID,event,phase);if(listener){event._dispatchListeners=accumulateInto(event._dispatchListeners,listener);event._dispatchIDs=accumulateInto(event._dispatchIDs,domID);}}/**
* Collect dispatches (must be entirely collected before dispatching - see unit
* tests). Lazily allocate the array to conserve memory. We must loop through
* each event and perform the traversal for each one. We cannot perform a
* single traversal for the entire collection of events because each event may
* have a different target.
*/function accumulateTwoPhaseDispatchesSingle(event){if(event&&event.dispatchConfig.phasedRegistrationNames){EventPluginHub.injection.getInstanceHandle().traverseTwoPhase(event.dispatchMarker,accumulateDirectionalDispatches,event);}}/**
* Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.
*/function accumulateTwoPhaseDispatchesSingleSkipTarget(event){if(event&&event.dispatchConfig.phasedRegistrationNames){EventPluginHub.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(event.dispatchMarker,accumulateDirectionalDispatches,event);}}/**
* Accumulates without regard to direction, does not look for phased
* registration names. Same as `accumulateDirectDispatchesSingle` but without
* requiring that the `dispatchMarker` be the same as the dispatched ID.
*/function accumulateDispatches(id,ignoredDirection,event){if(event&&event.dispatchConfig.registrationName){var registrationName=event.dispatchConfig.registrationName;var listener=getListener(id,registrationName);if(listener){event._dispatchListeners=accumulateInto(event._dispatchListeners,listener);event._dispatchIDs=accumulateInto(event._dispatchIDs,id);}}}/**
* Accumulates dispatches on an `SyntheticEvent`, but only for the
* `dispatchMarker`.
* @param {SyntheticEvent} event
*/function accumulateDirectDispatchesSingle(event){if(event&&event.dispatchConfig.registrationName){accumulateDispatches(event.dispatchMarker,null,event);}}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle);}function accumulateTwoPhaseDispatchesSkipTarget(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingleSkipTarget);}function accumulateEnterLeaveDispatches(leave,enter,fromID,toID){EventPluginHub.injection.getInstanceHandle().traverseEnterLeave(fromID,toID,accumulateDispatches,leave,enter);}function accumulateDirectDispatches(events){forEachAccumulated(events,accumulateDirectDispatchesSingle);}/**
* A small set of propagation patterns, each of which will accept a small amount
* of information, and generate a set of "dispatch ready event objects" - which
* are sets of events that have already been annotated with a set of dispatched
* listener functions/ids. The API is designed this way to discourage these
* propagation strategies from actually executing the dispatches, since we
* always want to collect the entire set of dispatches before executing event a
* single one.
*
* @constructor EventPropagators
*/var EventPropagators={accumulateTwoPhaseDispatches:accumulateTwoPhaseDispatches,accumulateTwoPhaseDispatchesSkipTarget:accumulateTwoPhaseDispatchesSkipTarget,accumulateDirectDispatches:accumulateDirectDispatches,accumulateEnterLeaveDispatches:accumulateEnterLeaveDispatches};module.exports=EventPropagators;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 122 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInstanceMap
*/'use strict';/**
* `ReactInstanceMap` maintains a mapping from a public facing stateful
* instance (key) and the internal representation (value). This allows public
* methods to accept the user facing instance as an argument and map them back
* to internal methods.
*/// TODO: Replace this with ES6: var ReactInstanceMap = new Map();
var ReactInstanceMap={/**
* This API should be called `delete` but we'd have to make sure to always
* transform these to strings for IE support. When this transform is fully
* supported we can rename it.
*/remove:function remove(key){key._reactInternalInstance=undefined;},get:function get(key){return key._reactInternalInstance;},has:function has(key){return key._reactInternalInstance!==undefined;},set:function set(key,value){key._reactInternalInstance=value;}};module.exports=ReactInstanceMap;
/***/ },
/* 123 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticUIEvent
* @typechecks static-only
*/'use strict';var SyntheticEvent=__webpack_require__(79);var getEventTarget=__webpack_require__(258);/**
* @interface UIEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var UIEventInterface={view:function view(event){if(event.view){return event.view;}var target=getEventTarget(event);if(target!=null&&target.window===target){// target is a window object
return target;}var doc=target.ownerDocument;// TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.
if(doc){return doc.defaultView||doc.parentWindow;}else{return window;}},detail:function detail(event){return event.detail||0;}};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticEvent}
*/function SyntheticUIEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticEvent.augmentClass(SyntheticUIEvent,UIEventInterface);module.exports=SyntheticUIEvent;
/***/ },
/* 124 */,
/* 125 */,
/* 126 */,
/* 127 */,
/* 128 */,
/* 129 */,
/* 130 */,
/* 131 */,
/* 132 */,
/* 133 */,
/* 134 */,
/* 135 */,
/* 136 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var hasOwn=Object.prototype.hasOwnProperty;var toStr=Object.prototype.toString;var isArray=function isArray(arr){if(typeof Array.isArray==='function'){return Array.isArray(arr);}return toStr.call(arr)==='[object Array]';};var isPlainObject=function isPlainObject(obj){if(!obj||toStr.call(obj)!=='[object Object]'){return false;}var hasOwnConstructor=hasOwn.call(obj,'constructor');var hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn.call(obj.constructor.prototype,'isPrototypeOf');// Not own constructor property must be Object
if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf){return false;}// Own properties are enumerated firstly, so to speed up,
// if last one is own, then all properties are own.
var key;for(key in obj){/**/}return typeof key==='undefined'||hasOwn.call(obj,key);};module.exports=function extend(){var options,name,src,copy,copyIsArray,clone,target=arguments[0],i=1,length=arguments.length,deep=false;// Handle a deep copy situation
if(typeof target==='boolean'){deep=target;target=arguments[1]||{};// skip the boolean and the target
i=2;}else if((typeof target==='undefined'?'undefined':_typeof(target))!=='object'&&typeof target!=='function'||target==null){target={};}for(;i<length;++i){options=arguments[i];// Only deal with non-null/undefined values
if(options!=null){// Extend the base object
for(name in options){src=target[name];copy=options[name];// Prevent never-ending loop
if(target!==copy){// Recurse if we're merging plain objects or arrays
if(deep&&copy&&(isPlainObject(copy)||(copyIsArray=isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&isArray(src)?src:[];}else{clone=src&&isPlainObject(src)?src:{};}// Never move original objects, clone them
target[name]=extend(deep,clone,copy);// Don't bring in undefined values
}else if(typeof copy!=='undefined'){target[name]=copy;}}}}}// Return the modified object
return target;};
/***/ },
/* 137 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule keyMirror
* @typechecks static-only
*/'use strict';var invariant=__webpack_require__(6);/**
* Constructs an enumeration with keys equal to their value.
*
* For example:
*
* var COLORS = keyMirror({blue: null, red: null});
* var myColor = COLORS.blue;
* var isColorValid = !!COLORS[myColor];
*
* The last line could not be performed if the values of the generated enum were
* not equal to their keys.
*
* Input: {key1: val1, key2: val2}
* Output: {key1: key1, key2: key2}
*
* @param {object} obj
* @return {object}
*/var keyMirror=function keyMirror(obj){var ret={};var key;!(obj instanceof Object&&!Array.isArray(obj))?process.env.NODE_ENV!=='production'?invariant(false,'keyMirror(...): Argument must be an object.'):invariant(false):undefined;for(key in obj){if(!obj.hasOwnProperty(key)){continue;}ret[key]=key;}return ret;};module.exports=keyMirror;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 138 */,
/* 139 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-alphabetical
* @fileoverview Check if a character is alphabetical.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=alphabetical;/**
* Check whether the given character code, or the character
* code at the first character, is alphabetical.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is alphabetical.
*/function alphabetical(character){var code=typeof character==='string'?character.charCodeAt(0):character;return code>=97&&code<=122||/* a-z */code>=65&&code<=90;/* A-Z */}
/***/ },
/* 140 */,
/* 141 */,
/* 142 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var listCacheClear=__webpack_require__(795),listCacheDelete=__webpack_require__(796),listCacheGet=__webpack_require__(797),listCacheHas=__webpack_require__(798),listCacheSet=__webpack_require__(799);/**
* Creates an list cache object.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function ListCache(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `ListCache`.
ListCache.prototype.clear=listCacheClear;ListCache.prototype['delete']=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;module.exports=ListCache;
/***/ },
/* 143 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var MapCache=__webpack_require__(213),setCacheAdd=__webpack_require__(813),setCacheHas=__webpack_require__(814);/**
*
* Creates an array cache object to store unique values.
*
* @private
* @constructor
* @param {Array} [values] The values to cache.
*/function SetCache(values){var index=-1,length=values==null?0:values.length;this.__data__=new MapCache();while(++index<length){this.add(values[index]);}}// Add methods to `SetCache`.
SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;module.exports=SetCache;
/***/ },
/* 144 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A faster alternative to `Function#apply`, this function invokes `func`
* with the `this` binding of `thisArg` and the arguments of `args`.
*
* @private
* @param {Function} func The function to invoke.
* @param {*} thisArg The `this` binding of `func`.
* @param {Array} args The arguments to invoke `func` with.
* @returns {*} Returns the result of `func`.
*/function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2]);}return func.apply(thisArg,args);}module.exports=apply;
/***/ },
/* 145 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIndexOf=__webpack_require__(349);/**
* A specialized version of `_.includes` for arrays without support for
* specifying an index to search from.
*
* @private
* @param {Array} [array] The array to inspect.
* @param {*} target The value to search for.
* @returns {boolean} Returns `true` if `target` is found, else `false`.
*/function arrayIncludes(array,value){var length=array==null?0:array.length;return!!length&&baseIndexOf(array,value,0)>-1;}module.exports=arrayIncludes;
/***/ },
/* 146 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.reduce` for arrays without support for
* iteratee shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @param {*} [accumulator] The initial value.
* @param {boolean} [initAccum] Specify using the first element of `array` as
* the initial value.
* @returns {*} Returns the accumulated value.
*/function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=array==null?0:array.length;if(initAccum&&length){accumulator=array[++index];}while(++index<length){accumulator=iteratee(accumulator,array[index],index,array);}return accumulator;}module.exports=arrayReduce;
/***/ },
/* 147 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseAssignValue=__webpack_require__(217),eq=__webpack_require__(113);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Assigns `value` to `key` of `object` if the existing value is not equivalent
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons.
*
* @private
* @param {Object} object The object to modify.
* @param {string} key The key of the property to assign.
* @param {*} value The value to assign.
*/function assignValue(object,key,value){var objValue=object[key];if(!(hasOwnProperty.call(object,key)&&eq(objValue,value))||value===undefined&&!(key in object)){baseAssignValue(object,key,value);}}module.exports=assignValue;
/***/ },
/* 148 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var eq=__webpack_require__(113);/**
* Gets the index at which the `key` is found in `array` of key-value pairs.
*
* @private
* @param {Array} array The array to inspect.
* @param {*} key The key to search for.
* @returns {number} Returns the index of the matched value, else `-1`.
*/function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length;}}return-1;}module.exports=assocIndexOf;
/***/ },
/* 149 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayPush=__webpack_require__(216),isFlattenable=__webpack_require__(792);/**
* The base implementation of `_.flatten` with support for restricting flattening.
*
* @private
* @param {Array} array The array to flatten.
* @param {number} depth The maximum recursion depth.
* @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
* @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
* @param {Array} [result=[]] The initial result value.
* @returns {Array} Returns the new flattened array.
*/function baseFlatten(array,depth,predicate,isStrict,result){var index=-1,length=array.length;predicate||(predicate=isFlattenable);result||(result=[]);while(++index<length){var value=array[index];if(depth>0&&predicate(value)){if(depth>1){// Recursively flatten arrays (susceptible to call stack limits).
baseFlatten(value,depth-1,predicate,isStrict,result);}else{arrayPush(result,value);}}else if(!isStrict){result[result.length]=value;}}return result;}module.exports=baseFlatten;
/***/ },
/* 150 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var castPath=__webpack_require__(73),toKey=__webpack_require__(59);/**
* The base implementation of `_.get` without support for default values.
*
* @private
* @param {Object} object The object to query.
* @param {Array|string} path The path of the property to get.
* @returns {*} Returns the resolved value.
*/function baseGet(object,path){path=castPath(path,object);var index=0,length=path.length;while(object!=null&&index<length){object=object[toKey(path[index++])];}return index&&index==length?object:undefined;}module.exports=baseGet;
/***/ },
/* 151 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.slice` without an iteratee call guard.
*
* @private
* @param {Array} array The array to slice.
* @param {number} [start=0] The start position.
* @param {number} [end=array.length] The end position.
* @returns {Array} Returns the slice of `array`.
*/function baseSlice(array,start,end){var index=-1,length=array.length;if(start<0){start=-start>length?0:length+start;}end=end>length?length:end;if(end<0){end+=length;}length=start>end?0:end-start>>>0;start>>>=0;var result=Array(length);while(++index<length){result[index]=array[index+start];}return result;}module.exports=baseSlice;
/***/ },
/* 152 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.unary` without support for storing metadata.
*
* @private
* @param {Function} func The function to cap arguments for.
* @returns {Function} Returns the new capped function.
*/function baseUnary(func){return function(value){return func(value);};}module.exports=baseUnary;
/***/ },
/* 153 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if a `cache` value for `key` exists.
*
* @private
* @param {Object} cache The cache to query.
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function cacheHas(cache,key){return cache.has(key);}module.exports=cacheHas;
/***/ },
/* 154 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Copies the values of `source` to `array`.
*
* @private
* @param {Array} source The array to copy values from.
* @param {Array} [array=[]] The array to copy values to.
* @returns {Array} Returns `array`.
*/function copyArray(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length){array[index]=source[index];}return array;}module.exports=copyArray;
/***/ },
/* 155 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseCreate=__webpack_require__(108),isObject=__webpack_require__(33);/**
* Creates a function that produces an instance of `Ctor` regardless of
* whether it was invoked as part of a `new` expression or by `call` or `apply`.
*
* @private
* @param {Function} Ctor The constructor to wrap.
* @returns {Function} Returns the new wrapped function.
*/function createCtor(Ctor){return function(){// Use a `switch` statement to work with class constructors. See
// http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
// for more details.
var args=arguments;switch(args.length){case 0:return new Ctor();case 1:return new Ctor(args[0]);case 2:return new Ctor(args[0],args[1]);case 3:return new Ctor(args[0],args[1],args[2]);case 4:return new Ctor(args[0],args[1],args[2],args[3]);case 5:return new Ctor(args[0],args[1],args[2],args[3],args[4]);case 6:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5]);case 7:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5],args[6]);}var thisBinding=baseCreate(Ctor.prototype),result=Ctor.apply(thisBinding,args);// Mimic the constructor's `return` behavior.
// See https://es5.github.io/#x13.2.2 for more details.
return isObject(result)?result:thisBinding;};}module.exports=createCtor;
/***/ },
/* 156 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var flatten=__webpack_require__(835),overRest=__webpack_require__(372),setToString=__webpack_require__(229);/**
* A specialized version of `baseRest` which flattens the rest array.
*
* @private
* @param {Function} func The function to apply a rest parameter to.
* @returns {Function} Returns the new function.
*/function flatRest(func){return setToString(overRest(func,undefined,flatten),func+'');}module.exports=flatRest;
/***/ },
/* 157 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Gets the argument placeholder value for `func`.
*
* @private
* @param {Function} func The function to inspect.
* @returns {*} Returns the placeholder value.
*/function getHolder(func){var object=func;return object.placeholder;}module.exports=getHolder;
/***/ },
/* 158 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isKeyable=__webpack_require__(793);/**
* Gets the data for `map`.
*
* @private
* @param {Object} map The map to query.
* @param {string} key The reference key.
* @returns {*} Returns the map data.
*/function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=='string'?'string':'hash']:data.map;}module.exports=getMapData;
/***/ },
/* 159 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var overArg=__webpack_require__(228);/** Built-in value references. */var getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype;
/***/ },
/* 160 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var eq=__webpack_require__(113),isArrayLike=__webpack_require__(41),isIndex=__webpack_require__(110),isObject=__webpack_require__(33);/**
* Checks if the given arguments are from an iteratee call.
*
* @private
* @param {*} value The potential iteratee value argument.
* @param {*} index The potential iteratee index or key argument.
* @param {*} object The potential iteratee object argument.
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
* else `false`.
*/function isIterateeCall(value,index,object){if(!isObject(object)){return false;}var type=typeof index==='undefined'?'undefined':_typeof(index);if(type=='number'?isArrayLike(object)&&isIndex(index,object.length):type=='string'&&index in object){return eq(object[index],value);}return false;}module.exports=isIterateeCall;
/***/ },
/* 161 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74);/* Built-in method references that are verified to be native. */var nativeCreate=getNative(Object,'create');module.exports=nativeCreate;
/***/ },
/* 162 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Converts `set` to an array of its values.
*
* @private
* @param {Object} set The set to convert.
* @returns {Array} Returns the values.
*/function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value;});return result;}module.exports=setToArray;
/***/ },
/* 163 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';module.exports=__webpack_require__(837);
/***/ },
/* 164 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIndexOf=__webpack_require__(349),isArrayLike=__webpack_require__(41),isString=__webpack_require__(234),toInteger=__webpack_require__(48),values=__webpack_require__(235);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* Checks if `value` is in `collection`. If `collection` is a string, it's
* checked for a substring of `value`, otherwise
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* is used for equality comparisons. If `fromIndex` is negative, it's used as
* the offset from the end of `collection`.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object|string} collection The collection to inspect.
* @param {*} value The value to search for.
* @param {number} [fromIndex=0] The index to search from.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
* @returns {boolean} Returns `true` if `value` is found, else `false`.
* @example
*
* _.includes([1, 2, 3], 1);
* // => true
*
* _.includes([1, 2, 3], 1, 2);
* // => false
*
* _.includes({ 'a': 1, 'b': 2 }, 1);
* // => true
*
* _.includes('abcd', 'bc');
* // => true
*/function includes(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection);fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;if(fromIndex<0){fromIndex=nativeMax(length+fromIndex,0);}return isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1;}module.exports=includes;
/***/ },
/* 165 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsArguments=__webpack_require__(722),isObjectLike=__webpack_require__(36);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/** Built-in value references. */var propertyIsEnumerable=objectProto.propertyIsEnumerable;/**
* Checks if `value` is likely an `arguments` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
* else `false`.
* @example
*
* _.isArguments(function() { return arguments; }());
* // => true
*
* _.isArguments([1, 2, 3]);
* // => false
*/var isArguments=baseIsArguments(function(){return arguments;}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,'callee')&&!propertyIsEnumerable.call(value,'callee');};module.exports=isArguments;
/***/ },
/* 166 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isArrayLike=__webpack_require__(41),isObjectLike=__webpack_require__(36);/**
* This method is like `_.isArrayLike` except that it also checks if `value`
* is an object.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an array-like object,
* else `false`.
* @example
*
* _.isArrayLikeObject([1, 2, 3]);
* // => true
*
* _.isArrayLikeObject(document.body.children);
* // => true
*
* _.isArrayLikeObject('abc');
* // => false
*
* _.isArrayLikeObject(_.noop);
* // => false
*/function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value);}module.exports=isArrayLikeObject;
/***/ },
/* 167 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsEqual=__webpack_require__(220);/**
* Performs a deep comparison between two values to determine if they are
* equivalent.
*
* **Note:** This method supports comparing arrays, array buffers, booleans,
* date objects, error objects, maps, numbers, `Object` objects, regexes,
* sets, strings, symbols, and typed arrays. `Object` objects are compared
* by their own, not inherited, enumerable properties. Functions and DOM
* nodes are **not** supported.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
* @example
*
* var object = { 'a': 1 };
* var other = { 'a': 1 };
*
* _.isEqual(object, other);
* // => true
*
* object === other;
* // => false
*/function isEqual(value,other){return baseIsEqual(value,other);}module.exports=isEqual;
/***/ },
/* 168 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),getPrototype=__webpack_require__(159),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var objectTag='[object Object]';/** Used for built-in method references. */var funcProto=Function.prototype,objectProto=Object.prototype;/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/** Used to infer the `Object` constructor. */var objectCtorString=funcToString.call(Object);/**
* Checks if `value` is a plain object, that is, an object created by the
* `Object` constructor or one with a `[[Prototype]]` of `null`.
*
* @static
* @memberOf _
* @since 0.8.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
* @example
*
* function Foo() {
* this.a = 1;
* }
*
* _.isPlainObject(new Foo);
* // => false
*
* _.isPlainObject([1, 2, 3]);
* // => false
*
* _.isPlainObject({ 'x': 0, 'y': 0 });
* // => true
*
* _.isPlainObject(Object.create(null));
* // => true
*/function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag){return false;}var proto=getPrototype(value);if(proto===null){return true;}var Ctor=hasOwnProperty.call(proto,'constructor')&&proto.constructor;return typeof Ctor=='function'&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString;}module.exports=isPlainObject;
/***/ },
/* 169 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsTypedArray=__webpack_require__(727),baseUnary=__webpack_require__(152),nodeUtil=__webpack_require__(809);/* Node.js helper references. */var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;/**
* Checks if `value` is classified as a typed array.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
* @example
*
* _.isTypedArray(new Uint8Array);
* // => true
*
* _.isTypedArray([]);
* // => false
*/var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray;
/***/ },
/* 170 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if `value` is `undefined`.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
* @example
*
* _.isUndefined(void 0);
* // => true
*
* _.isUndefined(null);
* // => false
*/function isUndefined(value){return value===undefined;}module.exports=isUndefined;
/***/ },
/* 171 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44),baseClone=__webpack_require__(218),baseUnset=__webpack_require__(745),castPath=__webpack_require__(73),copyObject=__webpack_require__(90),flatRest=__webpack_require__(156),getAllKeysIn=__webpack_require__(362);/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4;/**
* The opposite of `_.pick`; this method creates an object composed of the
* own and inherited enumerable property paths of `object` that are not omitted.
*
* **Note:** This method is considerably slower than `_.pick`.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Object
* @param {Object} object The source object.
* @param {...(string|string[])} [paths] The property paths to omit.
* @returns {Object} Returns the new object.
* @example
*
* var object = { 'a': 1, 'b': '2', 'c': 3 };
*
* _.omit(object, ['a', 'c']);
* // => { 'b': '2' }
*/var omit=flatRest(function(object,paths){var result={};if(object==null){return result;}var isDeep=false;paths=arrayMap(paths,function(path){path=castPath(path,object);isDeep||(isDeep=path.length>1);return path;});copyObject(object,getAllKeysIn(object),result);if(isDeep){result=baseClone(result,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG);}var length=paths.length;while(length--){baseUnset(result,paths[length]);}return result;});module.exports=omit;
/***/ },
/* 172 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var basePick=__webpack_require__(733),flatRest=__webpack_require__(156);/**
* Creates an object composed of the picked `object` properties.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Object
* @param {Object} object The source object.
* @param {...(string|string[])} [paths] The property paths to pick.
* @returns {Object} Returns the new object.
* @example
*
* var object = { 'a': 1, 'b': '2', 'c': 3 };
*
* _.pick(object, ['a', 'c']);
* // => { 'a': 1, 'c': 3 }
*/var pick=flatRest(function(object,paths){return object==null?{}:basePick(object,paths);});module.exports=pick;
/***/ },
/* 173 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isObject=__webpack_require__(33),isSymbol=__webpack_require__(76);/** Used as references for various `Number` constants. */var NAN=0/0;/** Used to match leading and trailing whitespace. */var reTrim=/^\s+|\s+$/g;/** Used to detect bad signed hexadecimal string values. */var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;/** Used to detect binary string values. */var reIsBinary=/^0b[01]+$/i;/** Used to detect octal string values. */var reIsOctal=/^0o[0-7]+$/i;/** Built-in method references without a dependency on `root`. */var freeParseInt=parseInt;/**
* Converts `value` to a number.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to process.
* @returns {number} Returns the number.
* @example
*
* _.toNumber(3.2);
* // => 3.2
*
* _.toNumber(Number.MIN_VALUE);
* // => 5e-324
*
* _.toNumber(Infinity);
* // => Infinity
*
* _.toNumber('3.2');
* // => 3.2
*/function toNumber(value){if(typeof value=='number'){return value;}if(isSymbol(value)){return NAN;}if(isObject(value)){var other=typeof value.valueOf=='function'?value.valueOf():value;value=isObject(other)?other+'':other;}if(typeof value!='string'){return value===0?value:+value;}value=value.replace(reTrim,'');var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value;}module.exports=toNumber;
/***/ },
/* 174 */,
/* 175 */,
/* 176 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;/**
* Indicates that navigation was caused by a call to history.push.
*/var PUSH=exports.PUSH='PUSH';/**
* Indicates that navigation was caused by a call to history.replace.
*/var REPLACE=exports.REPLACE='REPLACE';/**
* Indicates that navigation was caused by some other action such
* as using a browser's back/forward buttons and/or manually manipulating
* the URL in a browser's location bar. This is the default.
*
* See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
* for more information.
*/var POP=exports.POP='POP';
/***/ },
/* 177 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;var addEventListener=exports.addEventListener=function addEventListener(node,event,listener){return node.addEventListener?node.addEventListener(event,listener,false):node.attachEvent('on'+event,listener);};var removeEventListener=exports.removeEventListener=function removeEventListener(node,event,listener){return node.removeEventListener?node.removeEventListener(event,listener,false):node.detachEvent('on'+event,listener);};/**
* Returns true if the HTML5 history API is supported. Taken from Modernizr.
*
* https://github.com/Modernizr/Modernizr/blob/master/LICENSE
* https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
* changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
*/var supportsHistory=exports.supportsHistory=function supportsHistory(){var ua=window.navigator.userAgent;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)return false;return window.history&&'pushState'in window.history;};/**
* Returns false if using go(n) with hash history causes a full page reload.
*/var supportsGoWithoutReloadUsingHash=exports.supportsGoWithoutReloadUsingHash=function supportsGoWithoutReloadUsingHash(){return window.navigator.userAgent.indexOf('Firefox')===-1;};/**
* Returns true if browser fires popstate on hash change.
* IE10 and IE11 do not.
*/var supportsPopstateOnHashchange=exports.supportsPopstateOnHashchange=function supportsPopstateOnHashchange(){return window.navigator.userAgent.indexOf('Trident')===-1;};
/***/ },
/* 178 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactBrowserEventEmitter
* @typechecks static-only
*/'use strict';var EventConstants=__webpack_require__(50);var EventPluginHub=__webpack_require__(120);var EventPluginRegistry=__webpack_require__(421);var ReactEventEmitterMixin=__webpack_require__(964);var ReactPerf=__webpack_require__(37);var ViewportMetrics=__webpack_require__(442);var assign=__webpack_require__(7);var isEventSupported=__webpack_require__(261);/**
* Summary of `ReactBrowserEventEmitter` event handling:
*
* - Top-level delegation is used to trap most native browser events. This
* may only occur in the main thread and is the responsibility of
* ReactEventListener, which is injected and can therefore support pluggable
* event sources. This is the only work that occurs in the main thread.
*
* - We normalize and de-duplicate events to account for browser quirks. This
* may be done in the worker thread.
*
* - Forward these native events (with the associated top-level type used to
* trap it) to `EventPluginHub`, which in turn will ask plugins if they want
* to extract any synthetic events.
*
* - The `EventPluginHub` will then process each event by annotating them with
* "dispatches", a sequence of listeners and IDs that care about that event.
*
* - The `EventPluginHub` then dispatches the events.
*
* Overview of React and the event system:
*
* +------------+ .
* | DOM | .
* +------------+ .
* | .
* v .
* +------------+ .
* | ReactEvent | .
* | Listener | .
* +------------+ . +-----------+
* | . +--------+|SimpleEvent|
* | . | |Plugin |
* +-----|------+ . v +-----------+
* | | | . +--------------+ +------------+
* | +-----------.--->|EventPluginHub| | Event |
* | | . | | +-----------+ | Propagators|
* | ReactEvent | . | | |TapEvent | |------------|
* | Emitter | . | |<---+|Plugin | |other plugin|
* | | . | | +-----------+ | utilities |
* | +-----------.--->| | +------------+
* | | | . +--------------+
* +-----|------+ . ^ +-----------+
* | . | |Enter/Leave|
* + . +-------+|Plugin |
* +-------------+ . +-----------+
* | application | .
* |-------------| .
* | | .
* | | .
* +-------------+ .
* .
* React Core . General Purpose Event Plugin System
*/var alreadyListeningTo={};var isMonitoringScrollValue=false;var reactTopListenersCounter=0;// For events like 'submit' which don't consistently bubble (which we trap at a
// lower node than `document`), binding at `document` would cause duplicate
// events so we don't include them here
var topEventMapping={topAbort:'abort',topBlur:'blur',topCanPlay:'canplay',topCanPlayThrough:'canplaythrough',topChange:'change',topClick:'click',topCompositionEnd:'compositionend',topCompositionStart:'compositionstart',topCompositionUpdate:'compositionupdate',topContextMenu:'contextmenu',topCopy:'copy',topCut:'cut',topDoubleClick:'dblclick',topDrag:'drag',topDragEnd:'dragend',topDragEnter:'dragenter',topDragExit:'dragexit',topDragLeave:'dragleave',topDragOver:'dragover',topDragStart:'dragstart',topDrop:'drop',topDurationChange:'durationchange',topEmptied:'emptied',topEncrypted:'encrypted',topEnded:'ended',topError:'error',topFocus:'focus',topInput:'input',topKeyDown:'keydown',topKeyPress:'keypress',topKeyUp:'keyup',topLoadedData:'loadeddata',topLoadedMetadata:'loadedmetadata',topLoadStart:'loadstart',topMouseDown:'mousedown',topMouseMove:'mousemove',topMouseOut:'mouseout',topMouseOver:'mouseover',topMouseUp:'mouseup',topPaste:'paste',topPause:'pause',topPlay:'play',topPlaying:'playing',topProgress:'progress',topRateChange:'ratechange',topScroll:'scroll',topSeeked:'seeked',topSeeking:'seeking',topSelectionChange:'selectionchange',topStalled:'stalled',topSuspend:'suspend',topTextInput:'textInput',topTimeUpdate:'timeupdate',topTouchCancel:'touchcancel',topTouchEnd:'touchend',topTouchMove:'touchmove',topTouchStart:'touchstart',topVolumeChange:'volumechange',topWaiting:'waiting',topWheel:'wheel'};/**
* To ensure no conflicts with other potential React instances on the page
*/var topListenersIDKey='_reactListenersID'+String(Math.random()).slice(2);function getListeningForDocument(mountAt){// In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`
// directly.
if(!Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)){mountAt[topListenersIDKey]=reactTopListenersCounter++;alreadyListeningTo[mountAt[topListenersIDKey]]={};}return alreadyListeningTo[mountAt[topListenersIDKey]];}/**
* `ReactBrowserEventEmitter` is used to attach top-level event listeners. For
* example:
*
* ReactBrowserEventEmitter.putListener('myID', 'onClick', myFunction);
*
* This would allocate a "registration" of `('onClick', myFunction)` on 'myID'.
*
* @internal
*/var ReactBrowserEventEmitter=assign({},ReactEventEmitterMixin,{/**
* Injectable event backend
*/ReactEventListener:null,injection:{/**
* @param {object} ReactEventListener
*/injectReactEventListener:function injectReactEventListener(ReactEventListener){ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);ReactBrowserEventEmitter.ReactEventListener=ReactEventListener;}},/**
* Sets whether or not any created callbacks should be enabled.
*
* @param {boolean} enabled True if callbacks should be enabled.
*/setEnabled:function setEnabled(enabled){if(ReactBrowserEventEmitter.ReactEventListener){ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);}},/**
* @return {boolean} True if callbacks are enabled.
*/isEnabled:function isEnabled(){return!!(ReactBrowserEventEmitter.ReactEventListener&&ReactBrowserEventEmitter.ReactEventListener.isEnabled());},/**
* We listen for bubbled touch events on the document object.
*
* Firefox v8.01 (and possibly others) exhibited strange behavior when
* mounting `onmousemove` events at some node that was not the document
* element. The symptoms were that if your mouse is not moving over something
* contained within that mount point (for example on the background) the
* top-level listeners for `onmousemove` won't be called. However, if you
* register the `mousemove` on the document object, then it will of course
* catch all `mousemove`s. This along with iOS quirks, justifies restricting
* top-level listeners to the document object only, at least for these
* movement types of events and possibly all events.
*
* @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
*
* Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but
* they bubble to document.
*
* @param {string} registrationName Name of listener (e.g. `onClick`).
* @param {object} contentDocumentHandle Document which owns the container
*/listenTo:function listenTo(registrationName,contentDocumentHandle){var mountAt=contentDocumentHandle;var isListening=getListeningForDocument(mountAt);var dependencies=EventPluginRegistry.registrationNameDependencies[registrationName];var topLevelTypes=EventConstants.topLevelTypes;for(var i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!(isListening.hasOwnProperty(dependency)&&isListening[dependency])){if(dependency===topLevelTypes.topWheel){if(isEventSupported('wheel')){ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel,'wheel',mountAt);}else if(isEventSupported('mousewheel')){ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel,'mousewheel',mountAt);}else{// Firefox needs to capture a different mouse scroll event.
// @see http://www.quirksmode.org/dom/events/tests/scroll.html
ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel,'DOMMouseScroll',mountAt);}}else if(dependency===topLevelTypes.topScroll){if(isEventSupported('scroll',true)){ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll,'scroll',mountAt);}else{ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll,'scroll',ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);}}else if(dependency===topLevelTypes.topFocus||dependency===topLevelTypes.topBlur){if(isEventSupported('focus',true)){ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus,'focus',mountAt);ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topBlur,'blur',mountAt);}else if(isEventSupported('focusin')){// IE has `focusin` and `focusout` events which bubble.
// @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html
ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topFocus,'focusin',mountAt);ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur,'focusout',mountAt);}// to make sure blur and focus event listeners are only attached once
isListening[topLevelTypes.topBlur]=true;isListening[topLevelTypes.topFocus]=true;}else if(topEventMapping.hasOwnProperty(dependency)){ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency,topEventMapping[dependency],mountAt);}isListening[dependency]=true;}}},trapBubbledEvent:function trapBubbledEvent(topLevelType,handlerBaseName,handle){return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType,handlerBaseName,handle);},trapCapturedEvent:function trapCapturedEvent(topLevelType,handlerBaseName,handle){return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType,handlerBaseName,handle);},/**
* Listens to window scroll and resize events. We cache scroll values so that
* application code can access them without triggering reflows.
*
* NOTE: Scroll events do not bubble.
*
* @see http://www.quirksmode.org/dom/events/scroll.html
*/ensureScrollValueMonitoring:function ensureScrollValueMonitoring(){if(!isMonitoringScrollValue){var refresh=ViewportMetrics.refreshScrollValues;ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);isMonitoringScrollValue=true;}},eventNameDispatchConfigs:EventPluginHub.eventNameDispatchConfigs,registrationNameModules:EventPluginHub.registrationNameModules,putListener:EventPluginHub.putListener,getListener:EventPluginHub.getListener,deleteListener:EventPluginHub.deleteListener,deleteAllListeners:EventPluginHub.deleteAllListeners});ReactPerf.measureMethods(ReactBrowserEventEmitter,'ReactBrowserEventEmitter',{putListener:'putListener',deleteListener:'deleteListener'});module.exports=ReactBrowserEventEmitter;
/***/ },
/* 179 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypeLocationNames
*/'use strict';var ReactPropTypeLocationNames={};if(process.env.NODE_ENV!=='production'){ReactPropTypeLocationNames={prop:'prop',context:'context',childContext:'child context'};}module.exports=ReactPropTypeLocationNames;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 180 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypeLocations
*/'use strict';var keyMirror=__webpack_require__(137);var ReactPropTypeLocations=keyMirror({prop:null,context:null,childContext:null});module.exports=ReactPropTypeLocations;
/***/ },
/* 181 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticMouseEvent
* @typechecks static-only
*/'use strict';var SyntheticUIEvent=__webpack_require__(123);var ViewportMetrics=__webpack_require__(442);var getEventModifierState=__webpack_require__(257);/**
* @interface MouseEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var MouseEventInterface={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:function button(event){// Webkit, Firefox, IE9+
// which: 1 2 3
// button: 0 1 2 (standard)
var button=event.button;if('which'in event){return button;}// IE<9
// which: undefined
// button: 0 0 0
// button: 1 4 2 (onmouseup)
return button===2?2:button===4?1:0;},buttons:null,relatedTarget:function relatedTarget(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement);},// "Proprietary" Interface.
pageX:function pageX(event){return'pageX'in event?event.pageX:event.clientX+ViewportMetrics.currentScrollLeft;},pageY:function pageY(event){return'pageY'in event?event.pageY:event.clientY+ViewportMetrics.currentScrollTop;}};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticMouseEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticUIEvent.augmentClass(SyntheticMouseEvent,MouseEventInterface);module.exports=SyntheticMouseEvent;
/***/ },
/* 182 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Transaction
*/'use strict';var invariant=__webpack_require__(6);/**
* `Transaction` creates a black box that is able to wrap any method such that
* certain invariants are maintained before and after the method is invoked
* (Even if an exception is thrown while invoking the wrapped method). Whoever
* instantiates a transaction can provide enforcers of the invariants at
* creation time. The `Transaction` class itself will supply one additional
* automatic invariant for you - the invariant that any transaction instance
* should not be run while it is already being run. You would typically create a
* single instance of a `Transaction` for reuse multiple times, that potentially
* is used to wrap several different methods. Wrappers are extremely simple -
* they only require implementing two methods.
*
* <pre>
* wrappers (injected at creation time)
* + +
* | |
* +-----------------|--------|--------------+
* | v | |
* | +---------------+ | |
* | +--| wrapper1 |---|----+ |
* | | +---------------+ v | |
* | | +-------------+ | |
* | | +----| wrapper2 |--------+ |
* | | | +-------------+ | | |
* | | | | | |
* | v v v v | wrapper
* | +---+ +---+ +---------+ +---+ +---+ | invariants
* perform(anyMethod) | | | | | | | | | | | | maintained
* +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->
* | | | | | | | | | | | |
* | | | | | | | | | | | |
* | | | | | | | | | | | |
* | +---+ +---+ +---------+ +---+ +---+ |
* | initialize close |
* +-----------------------------------------+
* </pre>
*
* Use cases:
* - Preserving the input selection ranges before/after reconciliation.
* Restoring selection even in the event of an unexpected error.
* - Deactivating events while rearranging the DOM, preventing blurs/focuses,
* while guaranteeing that afterwards, the event system is reactivated.
* - Flushing a queue of collected DOM mutations to the main UI thread after a
* reconciliation takes place in a worker thread.
* - Invoking any collected `componentDidUpdate` callbacks after rendering new
* content.
* - (Future use case): Wrapping particular flushes of the `ReactWorker` queue
* to preserve the `scrollTop` (an automatic scroll aware DOM).
* - (Future use case): Layout calculations before and after DOM updates.
*
* Transactional plugin API:
* - A module that has an `initialize` method that returns any precomputation.
* - and a `close` method that accepts the precomputation. `close` is invoked
* when the wrapped process is completed, or has failed.
*
* @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules
* that implement `initialize` and `close`.
* @return {Transaction} Single transaction for reuse in thread.
*
* @class Transaction
*/var Mixin={/**
* Sets up this instance so that it is prepared for collecting metrics. Does
* so such that this setup method may be used on an instance that is already
* initialized, in a way that does not consume additional memory upon reuse.
* That can be useful if you decide to make your subclass of this mixin a
* "PooledClass".
*/reinitializeTransaction:function reinitializeTransaction(){this.transactionWrappers=this.getTransactionWrappers();if(this.wrapperInitData){this.wrapperInitData.length=0;}else{this.wrapperInitData=[];}this._isInTransaction=false;},_isInTransaction:false,/**
* @abstract
* @return {Array<TransactionWrapper>} Array of transaction wrappers.
*/getTransactionWrappers:null,isInTransaction:function isInTransaction(){return!!this._isInTransaction;},/**
* Executes the function within a safety window. Use this for the top level
* methods that result in large amounts of computation/mutations that would
* need to be safety checked. The optional arguments helps prevent the need
* to bind in many cases.
*
* @param {function} method Member of scope to call.
* @param {Object} scope Scope to invoke from.
* @param {Object?=} a Argument to pass to the method.
* @param {Object?=} b Argument to pass to the method.
* @param {Object?=} c Argument to pass to the method.
* @param {Object?=} d Argument to pass to the method.
* @param {Object?=} e Argument to pass to the method.
* @param {Object?=} f Argument to pass to the method.
*
* @return {*} Return value from `method`.
*/perform:function perform(method,scope,a,b,c,d,e,f){!!this.isInTransaction()?process.env.NODE_ENV!=='production'?invariant(false,'Transaction.perform(...): Cannot initialize a transaction when there '+'is already an outstanding transaction.'):invariant(false):undefined;var errorThrown;var ret;try{this._isInTransaction=true;// Catching errors makes debugging more difficult, so we start with
// errorThrown set to true before setting it to false after calling
// close -- if it's still set to true in the finally block, it means
// one of these calls threw.
errorThrown=true;this.initializeAll(0);ret=method.call(scope,a,b,c,d,e,f);errorThrown=false;}finally{try{if(errorThrown){// If `method` throws, prefer to show that stack trace over any thrown
// by invoking `closeAll`.
try{this.closeAll(0);}catch(err){}}else{// Since `method` didn't throw, we don't want to silence the exception
// here.
this.closeAll(0);}}finally{this._isInTransaction=false;}}return ret;},initializeAll:function initializeAll(startIndex){var transactionWrappers=this.transactionWrappers;for(var i=startIndex;i<transactionWrappers.length;i++){var wrapper=transactionWrappers[i];try{// Catching errors makes debugging more difficult, so we start with the
// OBSERVED_ERROR state before overwriting it with the real return value
// of initialize -- if it's still set to OBSERVED_ERROR in the finally
// block, it means wrapper.initialize threw.
this.wrapperInitData[i]=Transaction.OBSERVED_ERROR;this.wrapperInitData[i]=wrapper.initialize?wrapper.initialize.call(this):null;}finally{if(this.wrapperInitData[i]===Transaction.OBSERVED_ERROR){// The initializer for wrapper i threw an error; initialize the
// remaining wrappers but silence any exceptions from them to ensure
// that the first error is the one to bubble up.
try{this.initializeAll(i+1);}catch(err){}}}}},/**
* Invokes each of `this.transactionWrappers.close[i]` functions, passing into
* them the respective return values of `this.transactionWrappers.init[i]`
* (`close`rs that correspond to initializers that failed will not be
* invoked).
*/closeAll:function closeAll(startIndex){!this.isInTransaction()?process.env.NODE_ENV!=='production'?invariant(false,'Transaction.closeAll(): Cannot close transaction when none are open.'):invariant(false):undefined;var transactionWrappers=this.transactionWrappers;for(var i=startIndex;i<transactionWrappers.length;i++){var wrapper=transactionWrappers[i];var initData=this.wrapperInitData[i];var errorThrown;try{// Catching errors makes debugging more difficult, so we start with
// errorThrown set to true before setting it to false after calling
// close -- if it's still set to true in the finally block, it means
// wrapper.close threw.
errorThrown=true;if(initData!==Transaction.OBSERVED_ERROR&&wrapper.close){wrapper.close.call(this,initData);}errorThrown=false;}finally{if(errorThrown){// The closer for wrapper i threw an error; close the remaining
// wrappers but silence any exceptions from them to ensure that the
// first error is the one to bubble up.
try{this.closeAll(i+1);}catch(e){}}}}this.wrapperInitData.length=0;}};var Transaction={Mixin:Mixin,/**
* Token to look for to determine if an error occurred.
*/OBSERVED_ERROR:{}};module.exports=Transaction;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 183 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule canDefineProperty
*/'use strict';var canDefineProperty=false;if(process.env.NODE_ENV!=='production'){try{Object.defineProperty({},'x',{get:function get(){}});canDefineProperty=true;}catch(x){// IE will fail on defineProperty
}}module.exports=canDefineProperty;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 184 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule escapeTextContentForBrowser
*/'use strict';var ESCAPE_LOOKUP={'&':'&amp;','>':'&gt;','<':'&lt;','"':'&quot;','\'':'&#x27;'};var ESCAPE_REGEX=/[&><"']/g;function escaper(match){return ESCAPE_LOOKUP[match];}/**
* Escapes text to prevent scripting attacks.
*
* @param {*} text Text value to escape.
* @return {string} An escaped string.
*/function escapeTextContentForBrowser(text){return(''+text).replace(ESCAPE_REGEX,escaper);}module.exports=escapeTextContentForBrowser;
/***/ },
/* 185 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setInnerHTML
*//* globals MSApp */'use strict';var ExecutionEnvironment=__webpack_require__(18);var WHITESPACE_TEST=/^[ \r\n\t\f]/;var NONVISIBLE_TEST=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/;/**
* Set the innerHTML property of a node, ensuring that whitespace is preserved
* even in IE8.
*
* @param {DOMElement} node
* @param {string} html
* @internal
*/var setInnerHTML=function setInnerHTML(node,html){node.innerHTML=html;};// Win8 apps: Allow all html to be inserted
if(typeof MSApp!=='undefined'&&MSApp.execUnsafeLocalFunction){setInnerHTML=function setInnerHTML(node,html){MSApp.execUnsafeLocalFunction(function(){node.innerHTML=html;});};}if(ExecutionEnvironment.canUseDOM){// IE8: When updating a just created node with innerHTML only leading
// whitespace is removed. When updating an existing node with innerHTML
// whitespace in root TextNodes is also collapsed.
// @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html
// Feature detection; only IE8 is known to behave improperly like this.
var testElement=document.createElement('div');testElement.innerHTML=' ';if(testElement.innerHTML===''){setInnerHTML=function setInnerHTML(node,html){// Magic theory: IE8 supposedly differentiates between added and updated
// nodes when processing innerHTML, innerHTML on updated nodes suffers
// from worse whitespace behavior. Re-adding a node like this triggers
// the initial and more favorable whitespace behavior.
// TODO: What to do on a detached node?
if(node.parentNode){node.parentNode.replaceChild(node,node);}// We also implement a workaround for non-visible tags disappearing into
// thin air on IE8, this only happens if there is no visible text
// in-front of the non-visible tags. Piggyback on the whitespace fix
// and simply check if any non-visible tags appear in the source.
if(WHITESPACE_TEST.test(html)||html[0]==='<'&&NONVISIBLE_TEST.test(html)){// Recover leading whitespace by temporarily prepending any character.
// \uFEFF has the potential advantage of being zero-width/invisible.
// UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode
// in hopes that this is preserved even if "\uFEFF" is transformed to
// the actual Unicode character (by Babel, for example).
// https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216
node.innerHTML=String.fromCharCode(0xFEFF)+html;// deleteData leaves an empty `TextNode` which offsets the index of all
// children. Definitely want to avoid this.
var textNode=node.firstChild;if(textNode.data.length===1){node.removeChild(textNode);}else{textNode.deleteData(0,1);}}else{node.innerHTML=html;}};}}module.exports=setInnerHTML;
/***/ },
/* 186 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Portal=__webpack_require__(1061);var _Portal2=_interopRequireDefault(_Portal);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Portal2.default;
/***/ },
/* 187 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableCell(props){var active=props.active,children=props.children,className=props.className,collapsing=props.collapsing,content=props.content,disabled=props.disabled,error=props.error,icon=props.icon,negative=props.negative,positive=props.positive,selectable=props.selectable,singleLine=props.singleLine,textAlign=props.textAlign,verticalAlign=props.verticalAlign,warning=props.warning,width=props.width;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(collapsing,'collapsing'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(negative,'negative'),(0,_lib.useKeyOnly)(positive,'positive'),(0,_lib.useKeyOnly)(selectable,'selectable'),(0,_lib.useKeyOnly)(singleLine,'single line'),(0,_lib.useKeyOnly)(warning,'warning'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useVerticalAlignProp)(verticalAlign),(0,_lib.useWidthProp)(width,'wide'),className);var rest=(0,_lib.getUnhandledProps)(TableCell,props);var ElementType=(0,_lib.getElementType)(TableCell,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_Icon2.default.create(icon),content);}TableCell._meta={name:'TableCell',type:_lib.META.TYPES.COLLECTION,parent:'Table',props:{textAlign:_lib.SUI.TEXT_ALIGNMENTS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS,width:_lib.SUI.WIDTHS}};TableCell.defaultProps={as:'td'};TableCell.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A cell can be active or selected by a user. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A cell can be collapsing so that it only uses as much space as required. */collapsing:_react.PropTypes.bool,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A cell can be disabled. */disabled:_react.PropTypes.bool,/** A cell may call attention to an error or a negative value. */error:_react.PropTypes.bool,/** Add an Icon by name, props object, or pass an <Icon /> */icon:_lib.customPropTypes.itemShorthand,/** A cell may let a user know whether a value is bad. */negative:_react.PropTypes.bool,/** A cell may let a user know whether a value is good. */positive:_react.PropTypes.bool,/** A cell can be selectable. */selectable:_react.PropTypes.bool,/** A cell can specify that its contents should remain on a single line and not wrap. */singleLine:_react.PropTypes.bool,/** A table cell can adjust its text alignment. */textAlign:_react.PropTypes.oneOf(TableCell._meta.props.textAlign),/** A table cell can adjust its text alignment. */verticalAlign:_react.PropTypes.oneOf(TableCell._meta.props.verticalAlign),/** A cell may warn a user. */warning:_react.PropTypes.bool,/** A table can specify the width of individual columns independently. */width:_react.PropTypes.oneOf(TableCell._meta.props.width)};TableCell.create=(0,_lib.createShorthandFactory)(TableCell,function(content){return{content:content};});exports.default=TableCell;
/***/ },
/* 188 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _IconGroup=__webpack_require__(495);var _IconGroup2=_interopRequireDefault(_IconGroup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An icon is a glyph used to represent something else
* @see Image
*/function Icon(props){var bordered=props.bordered,className=props.className,circular=props.circular,color=props.color,corner=props.corner,disabled=props.disabled,fitted=props.fitted,flipped=props.flipped,inverted=props.inverted,link=props.link,loading=props.loading,name=props.name,rotated=props.rotated,size=props.size;var classes=(0,_classnames2.default)(size,color,(0,_lib.useKeyOnly)(bordered,'bordered'),(0,_lib.useKeyOnly)(circular,'circular'),(0,_lib.useKeyOnly)(corner,'corner'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(fitted,'fitted'),(0,_lib.useValueAndKey)(flipped,'flipped'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(link,'link'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useValueAndKey)(rotated,'rotated'),name,className,'icon');var rest=(0,_lib.getUnhandledProps)(Icon,props);var ElementType=(0,_lib.getElementType)(Icon,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}));}Icon.Group=_IconGroup2.default;Icon._meta={name:'Icon',type:_lib.META.TYPES.ELEMENT,props:{color:_lib.SUI.COLORS,flipped:['horizontally','vertically'],name:_lib.SUI.ICONS,rotated:['clockwise','counterclockwise'],size:_lib.SUI.SIZES}};Icon.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Formatted to appear bordered */bordered:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Icon can formatted to appear circular */circular:_react.PropTypes.bool,/** Color of the icon. */color:_react.PropTypes.oneOf(Icon._meta.props.color),/** Icons can display a smaller corner icon */corner:_react.PropTypes.bool,/** Show that the icon is inactive */disabled:_react.PropTypes.bool,/** Fitted, without space to left or right of Icon. */fitted:_react.PropTypes.bool,/** Icon can flipped */flipped:_react.PropTypes.oneOf(Icon._meta.props.flipped),/** Formatted to have its colors inverted for contrast */inverted:_react.PropTypes.bool,/** Name of the icon */name:_lib.customPropTypes.suggest(Icon._meta.props.name),/** Icon can be formatted as a link */link:_react.PropTypes.bool,/** Icon can be used as a simple loader */loading:_react.PropTypes.bool,/** Icon can rotated */rotated:_react.PropTypes.oneOf(Icon._meta.props.rotated),/** Size of the icon. */size:_react.PropTypes.oneOf(Icon._meta.props.size)};Icon.defaultProps={as:'i'};Icon.create=(0,_lib.createShorthandFactory)(Icon,function(value){return{name:value};});exports.default=Icon;
/***/ },
/* 189 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Label=__webpack_require__(274);var _Label2=_interopRequireDefault(_Label);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Label2.default;
/***/ },
/* 190 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListDescription(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'description');var rest=(0,_lib.getUnhandledProps)(ListDescription,props);var ElementType=(0,_lib.getElementType)(ListDescription,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ListDescription._meta={name:'ListDescription',parent:'List',type:_lib.META.TYPES.ELEMENT};ListDescription.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};ListDescription.create=(0,_lib.createShorthandFactory)(ListDescription,function(content){return{content:content};});exports.default=ListDescription;
/***/ },
/* 191 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListHeader(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'header');var rest=(0,_lib.getUnhandledProps)(ListHeader,props);var ElementType=(0,_lib.getElementType)(ListHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ListHeader._meta={name:'ListHeader',parent:'List',type:_lib.META.TYPES.ELEMENT};ListHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};ListHeader.create=(0,_lib.createShorthandFactory)(ListHeader,function(content){return{content:content};});exports.default=ListHeader;
/***/ },
/* 192 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Checkbox=__webpack_require__(1109);var _Checkbox2=_interopRequireDefault(_Checkbox);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Checkbox2.default;
/***/ },
/* 193 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Show a feed date
*/function FeedDate(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'date');var rest=(0,_lib.getUnhandledProps)(FeedDate,props);var ElementType=(0,_lib.getElementType)(FeedDate,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}FeedDate._meta={name:'FeedDate',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedDate.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=FeedDate;
/***/ },
/* 194 */,
/* 195 */,
/* 196 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.diff=exports.isShowDifference=exports.isShowFinal=exports.isShowOriginal=exports.isMarkdownFormat=exports.safeInput=undefined;var _reselect=__webpack_require__(1057);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _constants=__webpack_require__(570);var _dubdiff=__webpack_require__(571);var Dubdiff=_interopRequireWildcard(_dubdiff);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}//per http://redux.js.org/docs/recipes/ComputingDerivedData.html
var input=function input(state){return state.input;};var format=function format(state){return state.format;};var show=function show(state){return state.show;};var safeInput=exports.safeInput=(0,_reselect.createSelector)([input],function(input){//!!! sanitize the input here and return
return input;});var isMarkdownFormat=exports.isMarkdownFormat=(0,_reselect.createSelector)([format],function(format){return format==_constants.Format.MARKDOWN;});var isShow=function isShow(type){return(0,_reselect.createSelector)([show],function(show){return show==type;});};var isShowOriginal=exports.isShowOriginal=isShow(_constants.Show.ORIGINAL);var isShowFinal=exports.isShowFinal=isShow(_constants.Show.FINAL);var isShowDifference=exports.isShowDifference=isShow(_constants.Show.DIFFERENCE);var diff=exports.diff=(0,_reselect.createSelector)([format,safeInput],function(format,safeInput){return Dubdiff.plaintextDiff(safeInput.original,safeInput.final);/*
let diff = JsDiff.diffWords (input.original.replace(/ /g, ' '), input.final.replace(/ /g, ' '))
return diff.map(({added, removed, value})=>({added, removed, value:value.replace(/ /g, ' ')})).map(part => (
part.added ? <ins>{part.value}</ins> :
part.removed ? <del>{part.value}</del> :
<span>{part.value}</span>
))
*/});/*
html diff
---
diffHtml(parentOriginal, parentFinal) {
create stringOriginal, stringFinal consisting of
}
*/
/***/ },
/* 197 */
/***/ function(module, exports) {
/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
/* WEBPACK VAR INJECTION */}.call(exports, {}))
/***/ },
/* 198 */,
/* 199 */,
/* 200 */,
/* 201 */,
/* 202 */,
/* 203 */,
/* 204 */,
/* 205 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.lineDiff=undefined;exports./*istanbul ignore end*/diffLines=diffLines;/*istanbul ignore start*/exports./*istanbul ignore end*/diffTrimmedLines=diffTrimmedLines;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);/*istanbul ignore end*/var/*istanbul ignore start*/_params=__webpack_require__(324)/*istanbul ignore end*/;/*istanbul ignore start*/function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var lineDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/lineDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;lineDiff.tokenize=function(value){var retLines=[],linesAndNewlines=value.split(/(\n|\r\n)/);// Ignore the final empty token that occurs if the string ends with a new line
if(!linesAndNewlines[linesAndNewlines.length-1]){linesAndNewlines.pop();}// Merge the content and line separators into single tokens
for(var i=0;i<linesAndNewlines.length;i++){var line=linesAndNewlines[i];if(i%2&&!this.options.newlineIsToken){retLines[retLines.length-1]+=line;}else{if(this.options.ignoreWhitespace){line=line.trim();}retLines.push(line);}}return retLines;};function diffLines(oldStr,newStr,callback){return lineDiff.diff(oldStr,newStr,callback);}function diffTrimmedLines(oldStr,newStr,callback){var options=/*istanbul ignore start*/(0,_params.generateOptions/*istanbul ignore end*/)(callback,{ignoreWhitespace:true});return lineDiff.diff(oldStr,newStr,options);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2xpbmUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IndIQThCZ0IsQSxVLEFBQUEsa0VBQ0EsQSxpQkFBQSxBLGlCQS9CaEIsRyx5QkFBQSxjLFNBQUEsaUhBQ0EsRyx5QkFBQSxnQixpQkFBQSw2SkFFTyxHQUFNLFUseUJBQUEsQSwrQkFBQSxTQUFXLEcseUJBQUEsTyxZQUFqQixpQ0FDUCxBQUFTLFNBQVcsU0FBQSxBQUFTLE1BQU8sQUFDbEMsSUFBSSxVQUFKLEFBQWUsR0FDWCxpQkFBbUIsTUFBQSxBQUFNLE1BRDdCLEFBQ3VCLEFBQVksYUFHbkM7R0FBSSxDQUFDLGlCQUFpQixpQkFBQSxBQUFpQixPQUF2QyxBQUFLLEFBQTJDLEdBQUksQUFDbEQsa0JBQUEsQUFBaUIsQUFDbEIsT0FHRDtJQUFLLEdBQUksR0FBVCxBQUFhLEVBQUcsRUFBSSxpQkFBcEIsQUFBcUMsT0FBckMsQUFBNkMsSUFBSyxBQUNoRCxJQUFJLE1BQU8saUJBQVgsQUFBVyxBQUFpQixBQUU1QixNQUFJLEVBQUEsQUFBSSxHQUFLLENBQUMsS0FBQSxBQUFLLFFBQW5CLEFBQTJCLGVBQWdCLEFBQ3pDLFVBQVMsU0FBQSxBQUFTLE9BQWxCLEFBQTJCLElBQTNCLEFBQWlDLEFBQ2xDLEtBRkQsS0FFTyxBQUNMLElBQUksS0FBQSxBQUFLLFFBQVQsQUFBaUIsaUJBQWtCLEFBQ2pDLE1BQU8sS0FBUCxBQUFPLEFBQUssQUFDYixPQUNELFVBQUEsQUFBUyxLQUFULEFBQWMsQUFDZixNQUNGLENBRUQsT0FBQSxBQUFPLEFBQ1IsVUF4QkQsQ0FBQSxDQTBCTyxRQUFBLEFBQVMsV0FBVCxBQUFtQixPQUFuQixBQUEyQixPQUEzQixBQUFtQyxTQUFVLEFBQUUsT0FBTyxVQUFBLEFBQVMsS0FBVCxBQUFjLE9BQWQsQUFBc0IsT0FBN0IsQUFBTyxBQUE4QixBQUFZLFdBQ2hHLFFBQUEsQUFBUyxrQkFBVCxBQUEwQixPQUExQixBQUFrQyxPQUFsQyxBQUEwQyxTQUFVLEFBQ3pELElBQUksUyx5QkFBVSxXLGVBQUEseUJBQUEsQUFBZ0IsU0FBVSxDQUFDLGlCQUF6QyxBQUFjLEFBQTBCLEFBQW1CLEFBQzNELGFBQU8sVUFBQSxBQUFTLEtBQVQsQUFBYyxPQUFkLEFBQXNCLE9BQTdCLEFBQU8sQUFBOEIsQUFDdEMiLCJmaWxlIjoibGluZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5pbXBvcnQge2dlbmVyYXRlT3B0aW9uc30gZnJvbSAnLi4vdXRpbC9wYXJhbXMnO1xuXG5leHBvcnQgY29uc3QgbGluZURpZmYgPSBuZXcgRGlmZigpO1xubGluZURpZmYudG9rZW5pemUgPSBmdW5jdGlvbih2YWx1ZSkge1xuICBsZXQgcmV0TGluZXMgPSBbXSxcbiAgICAgIGxpbmVzQW5kTmV3bGluZXMgPSB2YWx1ZS5zcGxpdCgvKFxcbnxcXHJcXG4pLyk7XG5cbiAgLy8gSWdub3JlIHRoZSBmaW5hbCBlbXB0eSB0b2tlbiB0aGF0IG9jY3VycyBpZiB0aGUgc3RyaW5nIGVuZHMgd2l0aCBhIG5ldyBsaW5lXG4gIGlmICghbGluZXNBbmROZXdsaW5lc1tsaW5lc0FuZE5ld2xpbmVzLmxlbmd0aCAtIDFdKSB7XG4gICAgbGluZXNBbmROZXdsaW5lcy5wb3AoKTtcbiAgfVxuXG4gIC8vIE1lcmdlIHRoZSBjb250ZW50IGFuZCBsaW5lIHNlcGFyYXRvcnMgaW50byBzaW5nbGUgdG9rZW5zXG4gIGZvciAobGV0IGkgPSAwOyBpIDwgbGluZXNBbmROZXdsaW5lcy5sZW5ndGg7IGkrKykge1xuICAgIGxldCBsaW5lID0gbGluZXNBbmROZXdsaW5lc1tpXTtcblxuICAgIGlmIChpICUgMiAmJiAhdGhpcy5vcHRpb25zLm5ld2xpbmVJc1Rva2VuKSB7XG4gICAgICByZXRMaW5lc1tyZXRMaW5lcy5sZW5ndGggLSAxXSArPSBsaW5lO1xuICAgIH0gZWxzZSB7XG4gICAgICBpZiAodGhpcy5vcHRpb25zLmlnbm9yZVdoaXRlc3BhY2UpIHtcbiAgICAgICAgbGluZSA9IGxpbmUudHJpbSgpO1xuICAgICAgfVxuICAgICAgcmV0TGluZXMucHVzaChsaW5lKTtcbiAgICB9XG4gIH1cblxuICByZXR1cm4gcmV0TGluZXM7XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gZGlmZkxpbmVzKG9sZFN0ciwgbmV3U3RyLCBjYWxsYmFjaykgeyByZXR1cm4gbGluZURpZmYuZGlmZihvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spOyB9XG5leHBvcnQgZnVuY3Rpb24gZGlmZlRyaW1tZWRMaW5lcyhvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spIHtcbiAgbGV0IG9wdGlvbnMgPSBnZW5lcmF0ZU9wdGlvbnMoY2FsbGJhY2ssIHtpZ25vcmVXaGl0ZXNwYWNlOiB0cnVlfSk7XG4gIHJldHVybiBsaW5lRGlmZi5kaWZmKG9sZFN0ciwgbmV3U3RyLCBvcHRpb25zKTtcbn1cbiJdfQ==
/***/ },
/* 206 */,
/* 207 */,
/* 208 */,
/* 209 */,
/* 210 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseCreate=__webpack_require__(108),baseLodash=__webpack_require__(222);/** Used as references for the maximum length and index of an array. */var MAX_ARRAY_LENGTH=4294967295;/**
* Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
*
* @private
* @constructor
* @param {*} value The value to wrap.
*/function LazyWrapper(value){this.__wrapped__=value;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=MAX_ARRAY_LENGTH;this.__views__=[];}// Ensure `LazyWrapper` is an instance of `baseLodash`.
LazyWrapper.prototype=baseCreate(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;module.exports=LazyWrapper;
/***/ },
/* 211 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseCreate=__webpack_require__(108),baseLodash=__webpack_require__(222);/**
* The base constructor for creating `lodash` wrapper objects.
*
* @private
* @param {*} value The value to wrap.
* @param {boolean} [chainAll] Enable explicit method chain sequences.
*/function LodashWrapper(value,chainAll){this.__wrapped__=value;this.__actions__=[];this.__chain__=!!chainAll;this.__index__=0;this.__values__=undefined;}LodashWrapper.prototype=baseCreate(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;module.exports=LodashWrapper;
/***/ },
/* 212 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74),root=__webpack_require__(32);/* Built-in method references that are verified to be native. */var Map=getNative(root,'Map');module.exports=Map;
/***/ },
/* 213 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var mapCacheClear=__webpack_require__(800),mapCacheDelete=__webpack_require__(801),mapCacheGet=__webpack_require__(802),mapCacheHas=__webpack_require__(803),mapCacheSet=__webpack_require__(804);/**
* Creates a map cache object to store key-value pairs.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function MapCache(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `MapCache`.
MapCache.prototype.clear=mapCacheClear;MapCache.prototype['delete']=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;module.exports=MapCache;
/***/ },
/* 214 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var ListCache=__webpack_require__(142),stackClear=__webpack_require__(815),stackDelete=__webpack_require__(816),stackGet=__webpack_require__(817),stackHas=__webpack_require__(818),stackSet=__webpack_require__(819);/**
* Creates a stack cache object to store key-value pairs.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size;}// Add methods to `Stack`.
Stack.prototype.clear=stackClear;Stack.prototype['delete']=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;module.exports=Stack;
/***/ },
/* 215 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This function is like `arrayIncludes` except that it accepts a comparator.
*
* @private
* @param {Array} [array] The array to inspect.
* @param {*} target The value to search for.
* @param {Function} comparator The comparator invoked per element.
* @returns {boolean} Returns `true` if `target` is found, else `false`.
*/function arrayIncludesWith(array,value,comparator){var index=-1,length=array==null?0:array.length;while(++index<length){if(comparator(value,array[index])){return true;}}return false;}module.exports=arrayIncludesWith;
/***/ },
/* 216 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Appends the elements of `values` to `array`.
*
* @private
* @param {Array} array The array to modify.
* @param {Array} values The values to append.
* @returns {Array} Returns `array`.
*/function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length){array[offset+index]=values[index];}return array;}module.exports=arrayPush;
/***/ },
/* 217 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var defineProperty=__webpack_require__(359);/**
* The base implementation of `assignValue` and `assignMergeValue` without
* value checks.
*
* @private
* @param {Object} object The object to modify.
* @param {string} key The key of the property to assign.
* @param {*} value The value to assign.
*/function baseAssignValue(object,key,value){if(key=='__proto__'&&defineProperty){defineProperty(object,key,{'configurable':true,'enumerable':true,'value':value,'writable':true});}else{object[key]=value;}}module.exports=baseAssignValue;
/***/ },
/* 218 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Stack=__webpack_require__(214),arrayEach=__webpack_require__(107),assignValue=__webpack_require__(147),baseAssign=__webpack_require__(344),baseAssignIn=__webpack_require__(712),cloneBuffer=__webpack_require__(749),copyArray=__webpack_require__(154),copySymbols=__webpack_require__(758),copySymbolsIn=__webpack_require__(759),getAllKeys=__webpack_require__(777),getAllKeysIn=__webpack_require__(362),getTag=__webpack_require__(226),initCloneArray=__webpack_require__(788),initCloneByTag=__webpack_require__(789),initCloneObject=__webpack_require__(790),isArray=__webpack_require__(9),isBuffer=__webpack_require__(114),isObject=__webpack_require__(33),keys=__webpack_require__(24);/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4;/** `Object#toString` result references. */var argsTag='[object Arguments]',arrayTag='[object Array]',boolTag='[object Boolean]',dateTag='[object Date]',errorTag='[object Error]',funcTag='[object Function]',genTag='[object GeneratorFunction]',mapTag='[object Map]',numberTag='[object Number]',objectTag='[object Object]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',symbolTag='[object Symbol]',weakMapTag='[object WeakMap]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]',float32Tag='[object Float32Array]',float64Tag='[object Float64Array]',int8Tag='[object Int8Array]',int16Tag='[object Int16Array]',int32Tag='[object Int32Array]',uint8Tag='[object Uint8Array]',uint8ClampedTag='[object Uint8ClampedArray]',uint16Tag='[object Uint16Array]',uint32Tag='[object Uint32Array]';/** Used to identify `toStringTag` values supported by `_.clone`. */var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;/**
* The base implementation of `_.clone` and `_.cloneDeep` which tracks
* traversed objects.
*
* @private
* @param {*} value The value to clone.
* @param {boolean} bitmask The bitmask flags.
* 1 - Deep clone
* 2 - Flatten inherited properties
* 4 - Clone symbols
* @param {Function} [customizer] The function to customize cloning.
* @param {string} [key] The key of `value`.
* @param {Object} [object] The parent object of `value`.
* @param {Object} [stack] Tracks traversed objects and their clone counterparts.
* @returns {*} Returns the cloned value.
*/function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;if(customizer){result=object?customizer(value,key,object,stack):customizer(value);}if(result!==undefined){return result;}if(!isObject(value)){return value;}var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep){return copyArray(value,result);}}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value)){return cloneBuffer(value,isDeep);}if(tag==objectTag||tag==argsTag||isFunc&&!object){result=isFlat||isFunc?{}:initCloneObject(value);if(!isDeep){return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value));}}else{if(!cloneableTags[tag]){return object?value:{};}result=initCloneByTag(value,tag,baseClone,isDeep);}}// Check for circular references and return its corresponding clone.
stack||(stack=new Stack());var stacked=stack.get(value);if(stacked){return stacked;}stack.set(value,result);var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys;var props=isArr?undefined:keysFunc(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key];}// Recursively populate clone (susceptible to call stack limits).
assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack));});return result;}module.exports=baseClone;
/***/ },
/* 219 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFor=__webpack_require__(716),keys=__webpack_require__(24);/**
* The base implementation of `_.forOwn` without support for iteratee shorthands.
*
* @private
* @param {Object} object The object to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Object} Returns `object`.
*/function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys);}module.exports=baseForOwn;
/***/ },
/* 220 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsEqualDeep=__webpack_require__(723),isObject=__webpack_require__(33),isObjectLike=__webpack_require__(36);/**
* The base implementation of `_.isEqual` which supports partial comparisons
* and tracks traversed objects.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @param {boolean} bitmask The bitmask flags.
* 1 - Unordered comparison
* 2 - Partial comparison
* @param {Function} [customizer] The function to customize comparisons.
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
*/function baseIsEqual(value,other,bitmask,customizer,stack){if(value===other){return true;}if(value==null||other==null||!isObject(value)&&!isObjectLike(other)){return value!==value&&other!==other;}return baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack);}module.exports=baseIsEqual;
/***/ },
/* 221 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isPrototype=__webpack_require__(111),nativeKeys=__webpack_require__(807);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
*/function baseKeys(object){if(!isPrototype(object)){return nativeKeys(object);}var result=[];for(var key in Object(object)){if(hasOwnProperty.call(object,key)&&key!='constructor'){result.push(key);}}return result;}module.exports=baseKeys;
/***/ },
/* 222 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The function whose prototype chain sequence wrappers inherit from.
*
* @private
*/function baseLodash(){// No operation performed.
}module.exports=baseLodash;
/***/ },
/* 223 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Uint8Array=__webpack_require__(340);/**
* Creates a clone of `arrayBuffer`.
*
* @private
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
* @returns {ArrayBuffer} Returns the cloned array buffer.
*/function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array(result).set(new Uint8Array(arrayBuffer));return result;}module.exports=cloneArrayBuffer;
/***/ },
/* 224 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var metaMap=__webpack_require__(371),noop=__webpack_require__(391);/**
* Gets metadata for `func`.
*
* @private
* @param {Function} func The function to query.
* @returns {*} Returns the metadata for `func`.
*/var getData=!metaMap?noop:function(func){return metaMap.get(func);};module.exports=getData;
/***/ },
/* 225 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var overArg=__webpack_require__(228),stubArray=__webpack_require__(395);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeGetSymbols=Object.getOwnPropertySymbols;/**
* Creates an array of the own enumerable symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of symbols.
*/var getSymbols=nativeGetSymbols?overArg(nativeGetSymbols,Object):stubArray;module.exports=getSymbols;
/***/ },
/* 226 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var DataView=__webpack_require__(703),Map=__webpack_require__(212),Promise=__webpack_require__(705),Set=__webpack_require__(339),WeakMap=__webpack_require__(341),baseGetTag=__webpack_require__(58),toSource=__webpack_require__(378);/** `Object#toString` result references. */var mapTag='[object Map]',objectTag='[object Object]',promiseTag='[object Promise]',setTag='[object Set]',weakMapTag='[object WeakMap]';var dataViewTag='[object DataView]';/** Used to detect maps, sets, and weakmaps. */var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);/**
* Gets the `toStringTag` of `value`.
*
* @private
* @param {*} value The value to query.
* @returns {string} Returns the `toStringTag`.
*/var getTag=baseGetTag;// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
if(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map())!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set())!=setTag||WeakMap&&getTag(new WeakMap())!=weakMapTag){getTag=function getTag(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:undefined,ctorString=Ctor?toSource(Ctor):'';if(ctorString){switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag;}}return result;};}module.exports=getTag;
/***/ },
/* 227 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var isArray=__webpack_require__(9),isSymbol=__webpack_require__(76);/** Used to match property names within property paths. */var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;/**
* Checks if `value` is a property name and not a property path.
*
* @private
* @param {*} value The value to check.
* @param {Object} [object] The object to query keys on.
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
*/function isKey(value,object){if(isArray(value)){return false;}var type=typeof value==='undefined'?'undefined':_typeof(value);if(type=='number'||type=='symbol'||type=='boolean'||value==null||isSymbol(value)){return true;}return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object);}module.exports=isKey;
/***/ },
/* 228 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Creates a unary function that invokes `func` with its argument transformed.
*
* @private
* @param {Function} func The function to wrap.
* @param {Function} transform The argument transform.
* @returns {Function} Returns the new function.
*/function overArg(func,transform){return function(arg){return func(transform(arg));};}module.exports=overArg;
/***/ },
/* 229 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSetToString=__webpack_require__(740),shortOut=__webpack_require__(376);/**
* Sets the `toString` method of `func` to return `string`.
*
* @private
* @param {Function} func The function to modify.
* @param {Function} string The `toString` result.
* @returns {Function} Returns `func`.
*/var setToString=shortOut(baseSetToString);module.exports=setToString;
/***/ },
/* 230 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayFilter=__webpack_require__(709),baseFilter=__webpack_require__(715),baseIteratee=__webpack_require__(38),isArray=__webpack_require__(9);/**
* Iterates over elements of `collection`, returning an array of all elements
* `predicate` returns truthy for. The predicate is invoked with three
* arguments: (value, index|key, collection).
*
* **Note:** Unlike `_.remove`, this method returns a new array.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @returns {Array} Returns the new filtered array.
* @see _.reject
* @example
*
* var users = [
* { 'user': 'barney', 'age': 36, 'active': true },
* { 'user': 'fred', 'age': 40, 'active': false }
* ];
*
* _.filter(users, function(o) { return !o.active; });
* // => objects for ['fred']
*
* // The `_.matches` iteratee shorthand.
* _.filter(users, { 'age': 36, 'active': true });
* // => objects for ['barney']
*
* // The `_.matchesProperty` iteratee shorthand.
* _.filter(users, ['active', false]);
* // => objects for ['fred']
*
* // The `_.property` iteratee shorthand.
* _.filter(users, 'active');
* // => objects for ['barney']
*/function filter(collection,predicate){var func=isArray(collection)?arrayFilter:baseFilter;return func(collection,baseIteratee(predicate,3));}module.exports=filter;
/***/ },
/* 231 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createFind=__webpack_require__(769),findIndex=__webpack_require__(382);/**
* Iterates over elements of `collection`, returning the first element
* `predicate` returns truthy for. The predicate is invoked with three
* arguments: (value, index|key, collection).
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to inspect.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @param {number} [fromIndex=0] The index to search from.
* @returns {*} Returns the matched element, else `undefined`.
* @example
*
* var users = [
* { 'user': 'barney', 'age': 36, 'active': true },
* { 'user': 'fred', 'age': 40, 'active': false },
* { 'user': 'pebbles', 'age': 1, 'active': true }
* ];
*
* _.find(users, function(o) { return o.age < 40; });
* // => object for 'barney'
*
* // The `_.matches` iteratee shorthand.
* _.find(users, { 'age': 1, 'active': true });
* // => object for 'pebbles'
*
* // The `_.matchesProperty` iteratee shorthand.
* _.find(users, ['active', false]);
* // => object for 'fred'
*
* // The `_.property` iteratee shorthand.
* _.find(users, 'active');
* // => object for 'barney'
*/var find=createFind(findIndex);module.exports=find;
/***/ },
/* 232 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseKeys=__webpack_require__(221),getTag=__webpack_require__(226),isArguments=__webpack_require__(165),isArray=__webpack_require__(9),isArrayLike=__webpack_require__(41),isBuffer=__webpack_require__(114),isPrototype=__webpack_require__(111),isTypedArray=__webpack_require__(169);/** `Object#toString` result references. */var mapTag='[object Map]',setTag='[object Set]';/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Checks if `value` is an empty object, collection, map, or set.
*
* Objects are considered empty if they have no own enumerable string keyed
* properties.
*
* Array-like values such as `arguments` objects, arrays, buffers, strings, or
* jQuery-like collections are considered empty if they have a `length` of `0`.
* Similarly, maps and sets are considered empty if they have a `size` of `0`.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is empty, else `false`.
* @example
*
* _.isEmpty(null);
* // => true
*
* _.isEmpty(true);
* // => true
*
* _.isEmpty(1);
* // => true
*
* _.isEmpty([1, 2, 3]);
* // => false
*
* _.isEmpty({ 'a': 1 });
* // => false
*/function isEmpty(value){if(value==null){return true;}if(isArrayLike(value)&&(isArray(value)||typeof value=='string'||typeof value.splice=='function'||isBuffer(value)||isTypedArray(value)||isArguments(value))){return!value.length;}var tag=getTag(value);if(tag==mapTag||tag==setTag){return!value.size;}if(isPrototype(value)){return!baseKeys(value).length;}for(var key in value){if(hasOwnProperty.call(value,key)){return false;}}return true;}module.exports=isEmpty;
/***/ },
/* 233 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used as references for various `Number` constants. */var MAX_SAFE_INTEGER=9007199254740991;/**
* Checks if `value` is a valid array-like length.
*
* **Note:** This method is loosely based on
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
* @example
*
* _.isLength(3);
* // => true
*
* _.isLength(Number.MIN_VALUE);
* // => false
*
* _.isLength(Infinity);
* // => false
*
* _.isLength('3');
* // => false
*/function isLength(value){return typeof value=='number'&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER;}module.exports=isLength;
/***/ },
/* 234 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),isArray=__webpack_require__(9),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var stringTag='[object String]';/**
* Checks if `value` is classified as a `String` primitive or object.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
* @example
*
* _.isString('abc');
* // => true
*
* _.isString(1);
* // => false
*/function isString(value){return typeof value=='string'||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag;}module.exports=isString;
/***/ },
/* 235 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseValues=__webpack_require__(746),keys=__webpack_require__(24);/**
* Creates an array of the own enumerable string keyed property values of `object`.
*
* **Note:** Non-object values are coerced to objects.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Object
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property values.
* @example
*
* function Foo() {
* this.a = 1;
* this.b = 2;
* }
*
* Foo.prototype.c = 3;
*
* _.values(new Foo);
* // => [1, 2] (iteration order is not guaranteed)
*
* _.values('hi');
* // => ['h', 'i']
*/function values(object){return object==null?[]:baseValues(object,keys(object));}module.exports=values;
/***/ },
/* 236 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module parse-entities
* @fileoverview Parse HTML character references: fast, spec-compliant,
* positional information.
*/'use strict';/* Dependencies. */var has=__webpack_require__(106);var characterEntities=__webpack_require__(1185);var legacy=__webpack_require__(1184);var invalid=__webpack_require__(1186);var decimal=__webpack_require__(87);var hexadecimal=__webpack_require__(682);var alphanumerical=__webpack_require__(681);/* Expose. */module.exports=wrapper;/* Methods. */var fromCharCode=String.fromCharCode;var noop=Function.prototype;/* Characters. */var REPLACEMENT='\uFFFD';var FORM_FEED='\f';var AMPERSAND='&';var OCTOTHORP='#';var SEMICOLON=';';var NEWLINE='\n';var X_LOWER='x';var X_UPPER='X';var SPACE=' ';var LESS_THAN='<';var EQUAL='=';var EMPTY='';var TAB='\t';/* Default settings. */var defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:false,nonTerminated:true};/* Reference types. */var NAMED='named';var HEXADECIMAL='hexadecimal';var DECIMAL='decimal';/* Map of bases. */var BASE={};BASE[HEXADECIMAL]=16;BASE[DECIMAL]=10;/* Map of types to tests. Each type of character reference
* accepts different characters. This test is used to
* detect whether a reference has ended (as the semicolon
* is not strictly needed). */var TESTS={};TESTS[NAMED]=alphanumerical;TESTS[DECIMAL]=decimal;TESTS[HEXADECIMAL]=hexadecimal;/* Warning messages. */var NAMED_NOT_TERMINATED=1;var NUMERIC_NOT_TERMINATED=2;var NAMED_EMPTY=3;var NUMERIC_EMPTY=4;var NAMED_UNKNOWN=5;var NUMERIC_DISALLOWED=6;var NUMERIC_PROHIBITED=7;var NUMERIC_REFERENCE='Numeric character references';var NAMED_REFERENCE='Named character references';var TERMINATED=' must be terminated by a semicolon';var VOID=' cannot be empty';var MESSAGES={};MESSAGES[NAMED_NOT_TERMINATED]=NAMED_REFERENCE+TERMINATED;MESSAGES[NUMERIC_NOT_TERMINATED]=NUMERIC_REFERENCE+TERMINATED;MESSAGES[NAMED_EMPTY]=NAMED_REFERENCE+VOID;MESSAGES[NUMERIC_EMPTY]=NUMERIC_REFERENCE+VOID;MESSAGES[NAMED_UNKNOWN]=NAMED_REFERENCE+' must be known';MESSAGES[NUMERIC_DISALLOWED]=NUMERIC_REFERENCE+' cannot be disallowed';MESSAGES[NUMERIC_PROHIBITED]=NUMERIC_REFERENCE+' cannot be outside the '+'permissible Unicode range';/**
* Wrap to ensure clean parameters are given to `parse`.
*
* @param {string} value - Value with entities.
* @param {Object?} [options] - Configuration.
*/function wrapper(value,options){var settings={};var key;if(!options){options={};}for(key in defaults){settings[key]=options[key]==null?defaults[key]:options[key];}if(settings.position.indent||settings.position.start){settings.indent=settings.position.indent||[];settings.position=settings.position.start;}return parse(value,settings);}/**
* Parse entities.
*
* @param {string} value - Value to tokenise.
* @param {Object?} [settings] - Configuration.
*/function parse(value,settings){var additional=settings.additional;var nonTerminated=settings.nonTerminated;var handleText=settings.text;var handleReference=settings.reference;var handleWarning=settings.warning;var textContext=settings.textContext;var referenceContext=settings.referenceContext;var warningContext=settings.warningContext;var pos=settings.position;var indent=settings.indent||[];var length=value.length;var index=0;var lines=-1;var column=pos.column||1;var line=pos.line||1;var queue=EMPTY;var result=[];var entityCharacters;var terminated;var characters;var character;var reference;var following;var warning;var reason;var output;var entity;var begin;var start;var type;var test;var prev;var next;var diff;var end;/* Cache the current point. */prev=now();/* Wrap `handleWarning`. */warning=handleWarning?parseError:noop;/* Ensure the algorithm walks over the first character
* and the end (inclusive). */index--;length++;while(++index<length){/* If the previous character was a newline. */if(character===NEWLINE){column=indent[lines]||1;}character=at(index);/* Handle anything other than an ampersand,
* including newlines and EOF. */if(character!==AMPERSAND){if(character===NEWLINE){line++;lines++;column=0;}if(character){queue+=character;column++;}else{flush();}}else{following=at(index+1);/* The behaviour depends on the identity of the next
* character. */if(following===TAB||following===NEWLINE||following===FORM_FEED||following===SPACE||following===LESS_THAN||following===AMPERSAND||following===EMPTY||additional&&following===additional){/* Not a character reference. No characters
* are consumed, and nothing is returned.
* This is not an error, either. */queue+=character;column++;continue;}start=begin=end=index+1;/* Numerical entity. */if(following!==OCTOTHORP){type=NAMED;}else{end=++begin;/* The behaviour further depends on the
* character after the U+0023 NUMBER SIGN. */following=at(end);if(following===X_LOWER||following===X_UPPER){/* ASCII hex digits. */type=HEXADECIMAL;end=++begin;}else{/* ASCII digits. */type=DECIMAL;}}entityCharacters=entity=characters=EMPTY;test=TESTS[type];end--;while(++end<length){following=at(end);if(!test(following)){break;}characters+=following;/* Check if we can match a legacy named
* reference. If so, we cache that as the
* last viable named reference. This
* ensures we do not need to walk backwards
* later. */if(type===NAMED&&has(legacy,characters)){entityCharacters=characters;entity=legacy[characters];}}terminated=at(end)===SEMICOLON;if(terminated){end++;if(type===NAMED&&has(characterEntities,characters)){entityCharacters=characters;entity=characterEntities[characters];}}diff=1+end-start;if(!terminated&&!nonTerminated){/* Empty. */}else if(!characters){/* An empty (possible) entity is valid, unless
* its numeric (thus an ampersand followed by
* an octothorp). */if(type!==NAMED){warning(NUMERIC_EMPTY,diff);}}else if(type===NAMED){/* An ampersand followed by anything
* unknown, and not terminated, is invalid. */if(terminated&&!entity){warning(NAMED_UNKNOWN,1);}else{/* If theres something after an entity
* name which is not known, cap the
* reference. */if(entityCharacters!==characters){end=begin+entityCharacters.length;diff=1+end-begin;terminated=false;}/* If the reference is not terminated,
* warn. */if(!terminated){reason=entityCharacters?NAMED_NOT_TERMINATED:NAMED_EMPTY;if(!settings.attribute){warning(reason,diff);}else{following=at(end);if(following===EQUAL){warning(reason,diff);entity=null;}else if(alphanumerical(following)){entity=null;}else{warning(reason,diff);}}}}reference=entity;}else{if(!terminated){/* All non-terminated numeric entities are
* not rendered, and trigger a warning. */warning(NUMERIC_NOT_TERMINATED,diff);}/* When terminated and number, parse as
* either hexadecimal or decimal. */reference=parseInt(characters,BASE[type]);/* Trigger a warning when the parsed number
* is prohibited, and replace with
* replacement character. */if(isProhibited(reference)){warning(NUMERIC_PROHIBITED,diff);reference=REPLACEMENT;}else if(reference in invalid){/* Trigger a warning when the parsed number
* is disallowed, and replace by an
* alternative. */warning(NUMERIC_DISALLOWED,diff);reference=invalid[reference];}else{/* Parse the number. */output=EMPTY;/* Trigger a warning when the parsed
* number should not be used. */if(isWarning(reference)){warning(NUMERIC_DISALLOWED,diff);}/* Stringify the number. */if(reference>0xFFFF){reference-=0x10000;output+=fromCharCode(reference>>>(10&0x3FF)|0xD800);reference=0xDC00|reference&0x3FF;}reference=output+fromCharCode(reference);}}/* If we could not find a reference, queue the
* checked characters (as normal characters),
* and move the pointer to their end. This is
* possible because we can be certain neither
* newlines nor ampersands are included. */if(!reference){characters=value.slice(start-1,end);queue+=characters;column+=characters.length;index=end-1;}else{/* Found it! First eat the queued
* characters as normal text, then eat
* an entity. */flush();prev=now();index=end-1;column+=end-start+1;result.push(reference);next=now();next.offset++;if(handleReference){handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end));}prev=next;}}}/* Return the reduced nodes, and any possible warnings. */return result.join(EMPTY);/**
* Get current position.
*
* @return {Object} - Positional information of a
* single point.
*/function now(){return{line:line,column:column,offset:index+(pos.offset||0)};}/**
* “Throw” a parse-error: a warning.
*
* @param {number} code - Identifier of reason for
* failing.
* @param {number} offset - Offset in characters from
* the current position point at which the
* parse-error ocurred, cannot point past newlines.
*/function parseError(code,offset){var position=now();position.column+=offset;position.offset+=offset;handleWarning.call(warningContext,MESSAGES[code],position,code);}/**
* Get character at position.
*
* @param {number} position - Indice of character in `value`.
* @return {string} - Character at `position` in
* `value`.
*/function at(position){return value.charAt(position);}/**
* Flush `queue` (normal text). Macro invoked before
* each entity and at the end of `value`.
*
* Does nothing when `queue` is empty.
*/function flush(){if(queue){result.push(queue);if(handleText){handleText.call(textContext,queue,{start:prev,end:now()});}queue=EMPTY;}}}/**
* Check whether `character` is outside the permissible
* unicode range.
*
* @param {number} code - Value.
* @return {boolean} - Whether `character` is an
* outside the permissible unicode range.
*/function isProhibited(code){return code>=0xD800&&code<=0xDFFF||code>0x10FFFF;}/**
* Check whether `character` is disallowed.
*
* @param {number} code - Value.
* @return {boolean} - Whether `character` is disallowed.
*/function isWarning(code){if(code>=0x0001&&code<=0x0008||code===0x000B||code>=0x000D&&code<=0x001F||code>=0x007F&&code<=0x009F||code>=0xFDD0&&code<=0xFDEF||(code&0xFFFF)===0xFFFF||(code&0xFFFF)===0xFFFE){return true;}return false;}
/***/ },
/* 237 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
// resolves . and .. elements in a path array with directory names there
// must be no slashes, empty elements, or device names (c:\) in the array
// (so also no leading and trailing slashes - it does not distinguish
// relative and absolute paths)
function normalizeArray(parts,allowAboveRoot){// if the path tries to go above the root, `up` ends up > 0
var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==='.'){parts.splice(i,1);}else if(last==='..'){parts.splice(i,1);up++;}else if(up){parts.splice(i,1);up--;}}// if the path is allowed to go above the root, restore leading ..s
if(allowAboveRoot){for(;up--;up){parts.unshift('..');}}return parts;}// Split a filename into [root, dir, basename, ext], unix version
// 'root' is just a slash, or nothing.
var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var splitPath=function splitPath(filename){return splitPathRe.exec(filename).slice(1);};// path.resolve([from ...], to)
// posix version
exports.resolve=function(){var resolvedPath='',resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();// Skip empty and invalid entries
if(typeof path!=='string'){throw new TypeError('Arguments to path.resolve must be strings');}else if(!path){continue;}resolvedPath=path+'/'+resolvedPath;resolvedAbsolute=path.charAt(0)==='/';}// At this point the path should be resolved to a full absolute path, but
// handle relative paths to be safe (might happen when process.cwd() fails)
// Normalize the path
resolvedPath=normalizeArray(filter(resolvedPath.split('/'),function(p){return!!p;}),!resolvedAbsolute).join('/');return(resolvedAbsolute?'/':'')+resolvedPath||'.';};// path.normalize(path)
// posix version
exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash=substr(path,-1)==='/';// Normalize the path
path=normalizeArray(filter(path.split('/'),function(p){return!!p;}),!isAbsolute).join('/');if(!path&&!isAbsolute){path='.';}if(path&&trailingSlash){path+='/';}return(isAbsolute?'/':'')+path;};// posix version
exports.isAbsolute=function(path){return path.charAt(0)==='/';};// posix version
exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,function(p,index){if(typeof p!=='string'){throw new TypeError('Arguments to path.join must be strings');}return p;}).join('/'));};// path.relative(from, to)
// posix version
exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=='')break;}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=='')break;}if(start>end)return[];return arr.slice(start,end-start+1);}var fromParts=trim(from.split('/'));var toParts=trim(to.split('/'));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break;}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push('..');}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join('/');};exports.sep='/';exports.delimiter=':';exports.dirname=function(path){var result=splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){// No dirname whatsoever
return'.';}if(dir){// It has a dirname, strip trailing slash
dir=dir.substr(0,dir.length-1);}return root+dir;};exports.basename=function(path,ext){var f=splitPath(path)[2];// TODO: make this comparison case-insensitive on windows?
if(ext&&f.substr(-1*ext.length)===ext){f=f.substr(0,f.length-ext.length);}return f;};exports.extname=function(path){return splitPath(path)[3];};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i<xs.length;i++){if(f(xs[i],i,xs))res.push(xs[i]);}return res;}// String.prototype.substr - negative index don't work in IE8
var substr='ab'.substr(-1)==='b'?function(str,start,len){return str.substr(start,len);}:function(str,start,len){if(start<0)start=str.length+start;return str.substr(start,len);};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 238 */,
/* 239 */
/***/ function(module, exports) {
"use strict";
"use strict";exports.__esModule=true;exports.loopAsync=loopAsync;exports.mapAsync=mapAsync;function loopAsync(turns,work,callback){var currentTurn=0,isDone=false;var sync=false,hasNext=false,doneArgs=void 0;function done(){isDone=true;if(sync){// Iterate instead of recursing if possible.
doneArgs=[].concat(Array.prototype.slice.call(arguments));return;}callback.apply(this,arguments);}function next(){if(isDone){return;}hasNext=true;if(sync){// Iterate instead of recursing if possible.
return;}sync=true;while(!isDone&&currentTurn<turns&&hasNext){hasNext=false;work.call(this,currentTurn++,next,done);}sync=false;if(isDone){// This means the loop finished synchronously.
callback.apply(this,doneArgs);return;}if(currentTurn>=turns&&hasNext){isDone=true;callback();}}next();}function mapAsync(array,work,callback){var length=array.length;var values=[];if(length===0)return callback(null,values);var isDone=false,doneCount=0;function done(index,error,value){if(isDone)return;if(error){isDone=true;callback(error);}else{values[index]=value;isDone=++doneCount===length;if(isDone)callback(null,values);}}array.forEach(function(item,index){work(item,index,function(error,value){done(index,error,value);});});}
/***/ },
/* 240 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.ContextProvider=ContextProvider;exports.ContextSubscriber=ContextSubscriber;var _react=__webpack_require__(0);// Works around issues with context updates failing to propagate.
// Caveat: the context value is expected to never change its identity.
// https://github.com/facebook/react/issues/2517
// https://github.com/reactjs/react-router/issues/470
var contextProviderShape=_react.PropTypes.shape({subscribe:_react.PropTypes.func.isRequired,eventIndex:_react.PropTypes.number.isRequired});function makeContextName(name){return'@@contextSubscriber/'+name;}function ContextProvider(name){var _childContextTypes,_ref2;var contextName=makeContextName(name);var listenersKey=contextName+'/listeners';var eventIndexKey=contextName+'/eventIndex';var subscribeKey=contextName+'/subscribe';return _ref2={childContextTypes:(_childContextTypes={},_childContextTypes[contextName]=contextProviderShape.isRequired,_childContextTypes),getChildContext:function getChildContext(){var _ref;return _ref={},_ref[contextName]={eventIndex:this[eventIndexKey],subscribe:this[subscribeKey]},_ref;},componentWillMount:function componentWillMount(){this[listenersKey]=[];this[eventIndexKey]=0;},componentWillReceiveProps:function componentWillReceiveProps(){this[eventIndexKey]++;},componentDidUpdate:function componentDidUpdate(){var _this=this;this[listenersKey].forEach(function(listener){return listener(_this[eventIndexKey]);});}},_ref2[subscribeKey]=function(listener){var _this2=this;// No need to immediately call listener here.
this[listenersKey].push(listener);return function(){_this2[listenersKey]=_this2[listenersKey].filter(function(item){return item!==listener;});};},_ref2;}function ContextSubscriber(name){var _contextTypes,_ref4;var contextName=makeContextName(name);var lastRenderedEventIndexKey=contextName+'/lastRenderedEventIndex';var handleContextUpdateKey=contextName+'/handleContextUpdate';var unsubscribeKey=contextName+'/unsubscribe';return _ref4={contextTypes:(_contextTypes={},_contextTypes[contextName]=contextProviderShape,_contextTypes),getInitialState:function getInitialState(){var _ref3;if(!this.context[contextName]){return{};}return _ref3={},_ref3[lastRenderedEventIndexKey]=this.context[contextName].eventIndex,_ref3;},componentDidMount:function componentDidMount(){if(!this.context[contextName]){return;}this[unsubscribeKey]=this.context[contextName].subscribe(this[handleContextUpdateKey]);},componentWillReceiveProps:function componentWillReceiveProps(){var _setState;if(!this.context[contextName]){return;}this.setState((_setState={},_setState[lastRenderedEventIndexKey]=this.context[contextName].eventIndex,_setState));},componentWillUnmount:function componentWillUnmount(){if(!this[unsubscribeKey]){return;}this[unsubscribeKey]();this[unsubscribeKey]=null;}},_ref4[handleContextUpdateKey]=function(eventIndex){if(eventIndex!==this.state[lastRenderedEventIndexKey]){var _setState2;this.setState((_setState2={},_setState2[lastRenderedEventIndexKey]=eventIndex,_setState2));}},_ref4;}
/***/ },
/* 241 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.locationShape=exports.routerShape=undefined;var _react=__webpack_require__(0);var func=_react.PropTypes.func,object=_react.PropTypes.object,shape=_react.PropTypes.shape,string=_react.PropTypes.string;var routerShape=exports.routerShape=shape({push:func.isRequired,replace:func.isRequired,go:func.isRequired,goBack:func.isRequired,goForward:func.isRequired,setRouteLeaveHook:func.isRequired,isActive:func.isRequired});var locationShape=exports.locationShape=shape({pathname:string.isRequired,search:string.isRequired,state:object,action:string.isRequired,key:string});
/***/ },
/* 242 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;var _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;};var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _getRouteParams=__webpack_require__(927);var _getRouteParams2=_interopRequireDefault(_getRouteParams);var _ContextUtils=__webpack_require__(240);var _RouteUtils=__webpack_require__(62);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _React$PropTypes=_react2.default.PropTypes,array=_React$PropTypes.array,func=_React$PropTypes.func,object=_React$PropTypes.object;/**
* A <RouterContext> renders the component tree for a given router state
* and sets the history object and the current location in context.
*/var RouterContext=_react2.default.createClass({displayName:'RouterContext',mixins:[(0,_ContextUtils.ContextProvider)('router')],propTypes:{router:object.isRequired,location:object.isRequired,routes:array.isRequired,params:object.isRequired,components:array.isRequired,createElement:func.isRequired},getDefaultProps:function getDefaultProps(){return{createElement:_react2.default.createElement};},childContextTypes:{router:object.isRequired},getChildContext:function getChildContext(){return{router:this.props.router};},createElement:function createElement(component,props){return component==null?null:this.props.createElement(component,props);},render:function render(){var _this=this;var _props=this.props,location=_props.location,routes=_props.routes,params=_props.params,components=_props.components,router=_props.router;var element=null;if(components){element=components.reduceRight(function(element,components,index){if(components==null)return element;// Don't create new children; use the grandchildren.
var route=routes[index];var routeParams=(0,_getRouteParams2.default)(route,params);var props={location:location,params:params,route:route,router:router,routeParams:routeParams,routes:routes};if((0,_RouteUtils.isReactChildren)(element)){props.children=element;}else if(element){for(var prop in element){if(Object.prototype.hasOwnProperty.call(element,prop))props[prop]=element[prop];}}if((typeof components==='undefined'?'undefined':_typeof(components))==='object'){var elements={};for(var key in components){if(Object.prototype.hasOwnProperty.call(components,key)){// Pass through the key as a prop to createElement to allow
// custom createElement functions to know which named component
// they're rendering, for e.g. matching up to fetched data.
elements[key]=_this.createElement(components[key],_extends({key:key},props));}}return elements;}return _this.createElement(components,props);},element);}!(element===null||element===false||_react2.default.isValidElement(element))?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'The root route must render a single element'):(0,_invariant2.default)(false):void 0;return element;}});exports.default=RouterContext;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 243 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.go=exports.replaceLocation=exports.pushLocation=exports.startListener=exports.getUserConfirmation=exports.getCurrentLocation=undefined;var _LocationUtils=__webpack_require__(95);var _DOMUtils=__webpack_require__(177);var _DOMStateStorage=__webpack_require__(416);var _PathUtils=__webpack_require__(63);var _ExecutionEnvironment=__webpack_require__(244);var PopStateEvent='popstate';var HashChangeEvent='hashchange';var needsHashchangeListener=_ExecutionEnvironment.canUseDOM&&!(0,_DOMUtils.supportsPopstateOnHashchange)();var _createLocation=function _createLocation(historyState){var key=historyState&&historyState.key;return(0,_LocationUtils.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:key?(0,_DOMStateStorage.readState)(key):undefined},undefined,key);};var getCurrentLocation=exports.getCurrentLocation=function getCurrentLocation(){var historyState=void 0;try{historyState=window.history.state||{};}catch(error){// IE 11 sometimes throws when accessing window.history.state
// See https://github.com/ReactTraining/history/pull/289
historyState={};}return _createLocation(historyState);};var getUserConfirmation=exports.getUserConfirmation=function getUserConfirmation(message,callback){return callback(window.confirm(message));};// eslint-disable-line no-alert
var startListener=exports.startListener=function startListener(listener){var handlePopState=function handlePopState(event){if(event.state!==undefined)// Ignore extraneous popstate events in WebKit
listener(_createLocation(event.state));};(0,_DOMUtils.addEventListener)(window,PopStateEvent,handlePopState);var handleUnpoppedHashChange=function handleUnpoppedHashChange(){return listener(getCurrentLocation());};if(needsHashchangeListener){(0,_DOMUtils.addEventListener)(window,HashChangeEvent,handleUnpoppedHashChange);}return function(){(0,_DOMUtils.removeEventListener)(window,PopStateEvent,handlePopState);if(needsHashchangeListener){(0,_DOMUtils.removeEventListener)(window,HashChangeEvent,handleUnpoppedHashChange);}};};var updateLocation=function updateLocation(location,updateState){var state=location.state;var key=location.key;if(state!==undefined)(0,_DOMStateStorage.saveState)(key,state);updateState({key:key},(0,_PathUtils.createPath)(location));};var pushLocation=exports.pushLocation=function pushLocation(location){return updateLocation(location,function(state,path){return window.history.pushState(state,null,path);});};var replaceLocation=exports.replaceLocation=function replaceLocation(location){return updateLocation(location,function(state,path){return window.history.replaceState(state,null,path);});};var go=exports.go=function go(n){if(n)window.history.go(n);};
/***/ },
/* 244 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;var canUseDOM=exports.canUseDOM=!!(typeof window!=='undefined'&&window.document&&window.document.createElement);
/***/ },
/* 245 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _AsyncUtils=__webpack_require__(933);var _PathUtils=__webpack_require__(63);var _runTransitionHook=__webpack_require__(246);var _runTransitionHook2=_interopRequireDefault(_runTransitionHook);var _Actions=__webpack_require__(176);var _LocationUtils=__webpack_require__(95);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var createHistory=function createHistory(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var getCurrentLocation=options.getCurrentLocation;var getUserConfirmation=options.getUserConfirmation;var pushLocation=options.pushLocation;var replaceLocation=options.replaceLocation;var go=options.go;var keyLength=options.keyLength;var currentLocation=void 0;var pendingLocation=void 0;var beforeListeners=[];var listeners=[];var allKeys=[];var getCurrentIndex=function getCurrentIndex(){if(pendingLocation&&pendingLocation.action===_Actions.POP)return allKeys.indexOf(pendingLocation.key);if(currentLocation)return allKeys.indexOf(currentLocation.key);return-1;};var updateLocation=function updateLocation(nextLocation){var currentIndex=getCurrentIndex();currentLocation=nextLocation;if(currentLocation.action===_Actions.PUSH){allKeys=[].concat(allKeys.slice(0,currentIndex+1),[currentLocation.key]);}else if(currentLocation.action===_Actions.REPLACE){allKeys[currentIndex]=currentLocation.key;}listeners.forEach(function(listener){return listener(currentLocation);});};var listenBefore=function listenBefore(listener){beforeListeners.push(listener);return function(){return beforeListeners=beforeListeners.filter(function(item){return item!==listener;});};};var listen=function listen(listener){listeners.push(listener);return function(){return listeners=listeners.filter(function(item){return item!==listener;});};};var confirmTransitionTo=function confirmTransitionTo(location,callback){(0,_AsyncUtils.loopAsync)(beforeListeners.length,function(index,next,done){(0,_runTransitionHook2.default)(beforeListeners[index],location,function(result){return result!=null?done(result):next();});},function(message){if(getUserConfirmation&&typeof message==='string'){getUserConfirmation(message,function(ok){return callback(ok!==false);});}else{callback(message!==false);}});};var transitionTo=function transitionTo(nextLocation){if(currentLocation&&(0,_LocationUtils.locationsAreEqual)(currentLocation,nextLocation)||pendingLocation&&(0,_LocationUtils.locationsAreEqual)(pendingLocation,nextLocation))return;// Nothing to do
pendingLocation=nextLocation;confirmTransitionTo(nextLocation,function(ok){if(pendingLocation!==nextLocation)return;// Transition was interrupted during confirmation
pendingLocation=null;if(ok){// Treat PUSH to same path like REPLACE to be consistent with browsers
if(nextLocation.action===_Actions.PUSH){var prevPath=(0,_PathUtils.createPath)(currentLocation);var nextPath=(0,_PathUtils.createPath)(nextLocation);if(nextPath===prevPath&&(0,_LocationUtils.statesAreEqual)(currentLocation.state,nextLocation.state))nextLocation.action=_Actions.REPLACE;}if(nextLocation.action===_Actions.POP){updateLocation(nextLocation);}else if(nextLocation.action===_Actions.PUSH){if(pushLocation(nextLocation)!==false)updateLocation(nextLocation);}else if(nextLocation.action===_Actions.REPLACE){if(replaceLocation(nextLocation)!==false)updateLocation(nextLocation);}}else if(currentLocation&&nextLocation.action===_Actions.POP){var prevIndex=allKeys.indexOf(currentLocation.key);var nextIndex=allKeys.indexOf(nextLocation.key);if(prevIndex!==-1&&nextIndex!==-1)go(prevIndex-nextIndex);// Restore the URL
}});};var push=function push(input){return transitionTo(createLocation(input,_Actions.PUSH));};var replace=function replace(input){return transitionTo(createLocation(input,_Actions.REPLACE));};var goBack=function goBack(){return go(-1);};var goForward=function goForward(){return go(1);};var createKey=function createKey(){return Math.random().toString(36).substr(2,keyLength||6);};var createHref=function createHref(location){return(0,_PathUtils.createPath)(location);};var createLocation=function createLocation(location,action){var key=arguments.length<=2||arguments[2]===undefined?createKey():arguments[2];return(0,_LocationUtils.createLocation)(location,action,key);};return{getCurrentLocation:getCurrentLocation,listenBefore:listenBefore,listen:listen,transitionTo:transitionTo,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,createKey:createKey,createPath:_PathUtils.createPath,createHref:createHref,createLocation:createLocation};};exports.default=createHistory;
/***/ },
/* 246 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var runTransitionHook=function runTransitionHook(hook,location,callback){var result=hook(location,callback);if(hook.length<2){// Assume the hook runs synchronously and automatically
// call the callback with the return value.
callback(result);}else{process.env.NODE_ENV!=='production'?(0,_warning2.default)(result===undefined,'You should not "return" in a transition hook with a callback argument; '+'call the callback instead'):void 0;}};exports.default=runTransitionHook;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 247 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CallbackQueue
*/'use strict';var PooledClass=__webpack_require__(65);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);/**
* A specialized pseudo-event module to help keep track of components waiting to
* be notified when their DOM representations are available for use.
*
* This implements `PooledClass`, so you should never need to instantiate this.
* Instead, use `CallbackQueue.getPooled()`.
*
* @class ReactMountReady
* @implements PooledClass
* @internal
*/function CallbackQueue(){this._callbacks=null;this._contexts=null;}assign(CallbackQueue.prototype,{/**
* Enqueues a callback to be invoked when `notifyAll` is invoked.
*
* @param {function} callback Invoked when `notifyAll` is invoked.
* @param {?object} context Context to call `callback` with.
* @internal
*/enqueue:function enqueue(callback,context){this._callbacks=this._callbacks||[];this._contexts=this._contexts||[];this._callbacks.push(callback);this._contexts.push(context);},/**
* Invokes all enqueued callbacks and clears the queue. This is invoked after
* the DOM representation of a component has been created or updated.
*
* @internal
*/notifyAll:function notifyAll(){var callbacks=this._callbacks;var contexts=this._contexts;if(callbacks){!(callbacks.length===contexts.length)?process.env.NODE_ENV!=='production'?invariant(false,'Mismatched list of contexts in callback queue'):invariant(false):undefined;this._callbacks=null;this._contexts=null;for(var i=0;i<callbacks.length;i++){callbacks[i].call(contexts[i]);}callbacks.length=0;contexts.length=0;}},/**
* Resets the internal queue.
*
* @internal
*/reset:function reset(){this._callbacks=null;this._contexts=null;},/**
* `PooledClass` looks for this.
*/destructor:function destructor(){this.reset();}});PooledClass.addPoolingTo(CallbackQueue);module.exports=CallbackQueue;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 248 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMPropertyOperations
* @typechecks static-only
*/'use strict';var DOMProperty=__webpack_require__(77);var ReactPerf=__webpack_require__(37);var quoteAttributeValueForBrowser=__webpack_require__(994);var warning=__webpack_require__(8);// Simplified subset
var VALID_ATTRIBUTE_NAME_REGEX=/^[a-zA-Z_][\w\.\-]*$/;var illegalAttributeNameCache={};var validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){if(validatedAttributeNameCache.hasOwnProperty(attributeName)){return true;}if(illegalAttributeNameCache.hasOwnProperty(attributeName)){return false;}if(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)){validatedAttributeNameCache[attributeName]=true;return true;}illegalAttributeNameCache[attributeName]=true;process.env.NODE_ENV!=='production'?warning(false,'Invalid attribute name: `%s`',attributeName):undefined;return false;}function shouldIgnoreValue(propertyInfo,value){return value==null||propertyInfo.hasBooleanValue&&!value||propertyInfo.hasNumericValue&&isNaN(value)||propertyInfo.hasPositiveNumericValue&&value<1||propertyInfo.hasOverloadedBooleanValue&&value===false;}if(process.env.NODE_ENV!=='production'){var reactProps={children:true,dangerouslySetInnerHTML:true,key:true,ref:true};var warnedProperties={};var warnUnknownProperty=function warnUnknownProperty(name){if(reactProps.hasOwnProperty(name)&&reactProps[name]||warnedProperties.hasOwnProperty(name)&&warnedProperties[name]){return;}warnedProperties[name]=true;var lowerCasedName=name.toLowerCase();// data-* attributes should be lowercase; suggest the lowercase version
var standardName=DOMProperty.isCustomAttribute(lowerCasedName)?lowerCasedName:DOMProperty.getPossibleStandardName.hasOwnProperty(lowerCasedName)?DOMProperty.getPossibleStandardName[lowerCasedName]:null;// For now, only warn when we have a suggested correction. This prevents
// logging too much when using transferPropsTo.
process.env.NODE_ENV!=='production'?warning(standardName==null,'Unknown DOM property %s. Did you mean %s?',name,standardName):undefined;};}/**
* Operations for dealing with DOM properties.
*/var DOMPropertyOperations={/**
* Creates markup for the ID property.
*
* @param {string} id Unescaped ID.
* @return {string} Markup string.
*/createMarkupForID:function createMarkupForID(id){return DOMProperty.ID_ATTRIBUTE_NAME+'='+quoteAttributeValueForBrowser(id);},setAttributeForID:function setAttributeForID(node,id){node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME,id);},/**
* Creates markup for a property.
*
* @param {string} name
* @param {*} value
* @return {?string} Markup string, or null if the property was invalid.
*/createMarkupForProperty:function createMarkupForProperty(name,value){var propertyInfo=DOMProperty.properties.hasOwnProperty(name)?DOMProperty.properties[name]:null;if(propertyInfo){if(shouldIgnoreValue(propertyInfo,value)){return'';}var attributeName=propertyInfo.attributeName;if(propertyInfo.hasBooleanValue||propertyInfo.hasOverloadedBooleanValue&&value===true){return attributeName+'=""';}return attributeName+'='+quoteAttributeValueForBrowser(value);}else if(DOMProperty.isCustomAttribute(name)){if(value==null){return'';}return name+'='+quoteAttributeValueForBrowser(value);}else if(process.env.NODE_ENV!=='production'){warnUnknownProperty(name);}return null;},/**
* Creates markup for a custom property.
*
* @param {string} name
* @param {*} value
* @return {string} Markup string, or empty string if the property was invalid.
*/createMarkupForCustomAttribute:function createMarkupForCustomAttribute(name,value){if(!isAttributeNameSafe(name)||value==null){return'';}return name+'='+quoteAttributeValueForBrowser(value);},/**
* Sets the value for a property on a node.
*
* @param {DOMElement} node
* @param {string} name
* @param {*} value
*/setValueForProperty:function setValueForProperty(node,name,value){var propertyInfo=DOMProperty.properties.hasOwnProperty(name)?DOMProperty.properties[name]:null;if(propertyInfo){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod){mutationMethod(node,value);}else if(shouldIgnoreValue(propertyInfo,value)){this.deleteValueForProperty(node,name);}else if(propertyInfo.mustUseAttribute){var attributeName=propertyInfo.attributeName;var namespace=propertyInfo.attributeNamespace;// `setAttribute` with objects becomes only `[object]` in IE8/9,
// ('' + value) makes it output the correct toString()-value.
if(namespace){node.setAttributeNS(namespace,attributeName,''+value);}else if(propertyInfo.hasBooleanValue||propertyInfo.hasOverloadedBooleanValue&&value===true){node.setAttribute(attributeName,'');}else{node.setAttribute(attributeName,''+value);}}else{var propName=propertyInfo.propertyName;// Must explicitly cast values for HAS_SIDE_EFFECTS-properties to the
// property type before comparing; only `value` does and is string.
if(!propertyInfo.hasSideEffects||''+node[propName]!==''+value){// Contrary to `setAttribute`, object properties are properly
// `toString`ed by IE8/9.
node[propName]=value;}}}else if(DOMProperty.isCustomAttribute(name)){DOMPropertyOperations.setValueForAttribute(node,name,value);}else if(process.env.NODE_ENV!=='production'){warnUnknownProperty(name);}},setValueForAttribute:function setValueForAttribute(node,name,value){if(!isAttributeNameSafe(name)){return;}if(value==null){node.removeAttribute(name);}else{node.setAttribute(name,''+value);}},/**
* Deletes the value for a property on a node.
*
* @param {DOMElement} node
* @param {string} name
*/deleteValueForProperty:function deleteValueForProperty(node,name){var propertyInfo=DOMProperty.properties.hasOwnProperty(name)?DOMProperty.properties[name]:null;if(propertyInfo){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod){mutationMethod(node,undefined);}else if(propertyInfo.mustUseAttribute){node.removeAttribute(propertyInfo.attributeName);}else{var propName=propertyInfo.propertyName;var defaultValue=DOMProperty.getDefaultValueForProperty(node.nodeName,propName);if(!propertyInfo.hasSideEffects||''+node[propName]!==defaultValue){node[propName]=defaultValue;}}}else if(DOMProperty.isCustomAttribute(name)){node.removeAttribute(name);}else if(process.env.NODE_ENV!=='production'){warnUnknownProperty(name);}}};ReactPerf.measureMethods(DOMPropertyOperations,'DOMPropertyOperations',{setValueForProperty:'setValueForProperty',setValueForAttribute:'setValueForAttribute',deleteValueForProperty:'deleteValueForProperty'});module.exports=DOMPropertyOperations;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 249 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule LinkedValueUtils
* @typechecks static-only
*/'use strict';var ReactPropTypes=__webpack_require__(440);var ReactPropTypeLocations=__webpack_require__(180);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);var hasReadOnlyValue={'button':true,'checkbox':true,'image':true,'hidden':true,'radio':true,'reset':true,'submit':true};function _assertSingleLink(inputProps){!(inputProps.checkedLink==null||inputProps.valueLink==null)?process.env.NODE_ENV!=='production'?invariant(false,'Cannot provide a checkedLink and a valueLink. If you want to use '+'checkedLink, you probably don\'t want to use valueLink and vice versa.'):invariant(false):undefined;}function _assertValueLink(inputProps){_assertSingleLink(inputProps);!(inputProps.value==null&&inputProps.onChange==null)?process.env.NODE_ENV!=='production'?invariant(false,'Cannot provide a valueLink and a value or onChange event. If you want '+'to use value or onChange, you probably don\'t want to use valueLink.'):invariant(false):undefined;}function _assertCheckedLink(inputProps){_assertSingleLink(inputProps);!(inputProps.checked==null&&inputProps.onChange==null)?process.env.NODE_ENV!=='production'?invariant(false,'Cannot provide a checkedLink and a checked property or onChange event. '+'If you want to use checked or onChange, you probably don\'t want to '+'use checkedLink'):invariant(false):undefined;}var propTypes={value:function value(props,propName,componentName){if(!props[propName]||hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled){return null;}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`.');},checked:function checked(props,propName,componentName){if(!props[propName]||props.onChange||props.readOnly||props.disabled){return null;}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`.');},onChange:ReactPropTypes.func};var loggedTypeFailures={};function getDeclarationErrorAddendum(owner){if(owner){var name=owner.getName();if(name){return' Check the render method of `'+name+'`.';}}return'';}/**
* Provide a linked `value` attribute for controlled forms. You should not use
* this outside of the ReactDOM controlled form components.
*/var LinkedValueUtils={checkPropTypes:function checkPropTypes(tagName,props,owner){for(var propName in propTypes){if(propTypes.hasOwnProperty(propName)){var error=propTypes[propName](props,propName,tagName,ReactPropTypeLocations.prop);}if(error instanceof Error&&!(error.message in loggedTypeFailures)){// Only monitor this failure once because there tends to be a lot of the
// same error.
loggedTypeFailures[error.message]=true;var addendum=getDeclarationErrorAddendum(owner);process.env.NODE_ENV!=='production'?warning(false,'Failed form propType: %s%s',error.message,addendum):undefined;}}},/**
* @param {object} inputProps Props for form component
* @return {*} current value of the input either from value prop or link.
*/getValue:function getValue(inputProps){if(inputProps.valueLink){_assertValueLink(inputProps);return inputProps.valueLink.value;}return inputProps.value;},/**
* @param {object} inputProps Props for form component
* @return {*} current checked status of the input either from checked prop
* or link.
*/getChecked:function getChecked(inputProps){if(inputProps.checkedLink){_assertCheckedLink(inputProps);return inputProps.checkedLink.value;}return inputProps.checked;},/**
* @param {object} inputProps Props for form component
* @param {SyntheticEvent} event change event to handle
*/executeOnChange:function executeOnChange(inputProps,event){if(inputProps.valueLink){_assertValueLink(inputProps);return inputProps.valueLink.requestChange(event.target.value);}else if(inputProps.checkedLink){_assertCheckedLink(inputProps);return inputProps.checkedLink.requestChange(event.target.checked);}else if(inputProps.onChange){return inputProps.onChange.call(undefined,event);}}};module.exports=LinkedValueUtils;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 250 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponentBrowserEnvironment
*/'use strict';var ReactDOMIDOperations=__webpack_require__(252);var ReactMount=__webpack_require__(25);/**
* Abstracts away all functionality of the reconciler that requires knowledge of
* the browser context. TODO: These callers should be refactored to avoid the
* need for this injection.
*/var ReactComponentBrowserEnvironment={processChildrenUpdates:ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:ReactDOMIDOperations.dangerouslyReplaceNodeWithMarkupByID,/**
* If a particular environment requires that some resources be cleaned up,
* specify this in the injected Mixin. In the DOM, we would likely want to
* purge any cached node ID lookups.
*
* @private
*/unmountIDFromEnvironment:function unmountIDFromEnvironment(rootNodeID){ReactMount.purgeID(rootNodeID);}};module.exports=ReactComponentBrowserEnvironment;
/***/ },
/* 251 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponentEnvironment
*/'use strict';var invariant=__webpack_require__(6);var injected=false;var ReactComponentEnvironment={/**
* Optionally injectable environment dependent cleanup hook. (server vs.
* browser etc). Example: A browser system caches DOM nodes based on component
* ID and must remove that cache entry when this instance is unmounted.
*/unmountIDFromEnvironment:null,/**
* Optionally injectable hook for swapping out mount images in the middle of
* the tree.
*/replaceNodeWithMarkupByID:null,/**
* Optionally injectable hook for processing a queue of child updates. Will
* later move into MultiChildComponents.
*/processChildrenUpdates:null,injection:{injectEnvironment:function injectEnvironment(environment){!!injected?process.env.NODE_ENV!=='production'?invariant(false,'ReactCompositeComponent: injectEnvironment() can only be called once.'):invariant(false):undefined;ReactComponentEnvironment.unmountIDFromEnvironment=environment.unmountIDFromEnvironment;ReactComponentEnvironment.replaceNodeWithMarkupByID=environment.replaceNodeWithMarkupByID;ReactComponentEnvironment.processChildrenUpdates=environment.processChildrenUpdates;injected=true;}}};module.exports=ReactComponentEnvironment;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 252 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMIDOperations
* @typechecks static-only
*/'use strict';var DOMChildrenOperations=__webpack_require__(420);var DOMPropertyOperations=__webpack_require__(248);var ReactMount=__webpack_require__(25);var ReactPerf=__webpack_require__(37);var invariant=__webpack_require__(6);/**
* Errors for properties that should not be updated with `updatePropertyByID()`.
*
* @type {object}
* @private
*/var INVALID_PROPERTY_ERRORS={dangerouslySetInnerHTML:'`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.',style:'`style` must be set using `updateStylesByID()`.'};/**
* Operations used to process updates to DOM nodes.
*/var ReactDOMIDOperations={/**
* Updates a DOM node with new property values. This should only be used to
* update DOM properties in `DOMProperty`.
*
* @param {string} id ID of the node to update.
* @param {string} name A valid property name, see `DOMProperty`.
* @param {*} value New value of the property.
* @internal
*/updatePropertyByID:function updatePropertyByID(id,name,value){var node=ReactMount.getNode(id);!!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)?process.env.NODE_ENV!=='production'?invariant(false,'updatePropertyByID(...): %s',INVALID_PROPERTY_ERRORS[name]):invariant(false):undefined;// If we're updating to null or undefined, we should remove the property
// from the DOM node instead of inadvertantly setting to a string. This
// brings us in line with the same behavior we have on initial render.
if(value!=null){DOMPropertyOperations.setValueForProperty(node,name,value);}else{DOMPropertyOperations.deleteValueForProperty(node,name);}},/**
* Replaces a DOM node that exists in the document with markup.
*
* @param {string} id ID of child to be replaced.
* @param {string} markup Dangerous markup to inject in place of child.
* @internal
* @see {Danger.dangerouslyReplaceNodeWithMarkup}
*/dangerouslyReplaceNodeWithMarkupByID:function dangerouslyReplaceNodeWithMarkupByID(id,markup){var node=ReactMount.getNode(id);DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup(node,markup);},/**
* Updates a component's children by processing a series of updates.
*
* @param {array<object>} updates List of update configurations.
* @param {array<string>} markup List of markup strings.
* @internal
*/dangerouslyProcessChildrenUpdates:function dangerouslyProcessChildrenUpdates(updates,markup){for(var i=0;i<updates.length;i++){updates[i].parentNode=ReactMount.getNode(updates[i].parentID);}DOMChildrenOperations.processUpdates(updates,markup);}};ReactPerf.measureMethods(ReactDOMIDOperations,'ReactDOMIDOperations',{dangerouslyReplaceNodeWithMarkupByID:'dangerouslyReplaceNodeWithMarkupByID',dangerouslyProcessChildrenUpdates:'dangerouslyProcessChildrenUpdates'});module.exports=ReactDOMIDOperations;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 253 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactUpdateQueue
*/'use strict';var ReactCurrentOwner=__webpack_require__(51);var ReactElement=__webpack_require__(34);var ReactInstanceMap=__webpack_require__(122);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);function enqueueUpdate(internalInstance){ReactUpdates.enqueueUpdate(internalInstance);}function getInternalInstanceReadyForUpdate(publicInstance,callerName){var internalInstance=ReactInstanceMap.get(publicInstance);if(!internalInstance){if(process.env.NODE_ENV!=='production'){// Only warn when we have a callerName. Otherwise we should be silent.
// We're probably calling from enqueueCallback. We don't want to warn
// there because we already warned for the corresponding lifecycle method.
process.env.NODE_ENV!=='production'?warning(!callerName,'%s(...): Can only update a mounted or mounting component. '+'This usually means you called %s() on an unmounted component. '+'This is a no-op. Please check the code for the %s component.',callerName,callerName,publicInstance.constructor.displayName):undefined;}return null;}if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(ReactCurrentOwner.current==null,'%s(...): Cannot update during an existing state transition '+'(such as within `render`). Render methods should be a pure function '+'of props and state.',callerName):undefined;}return internalInstance;}/**
* ReactUpdateQueue allows for state updates to be scheduled into a later
* reconciliation step.
*/var ReactUpdateQueue={/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/isMounted:function isMounted(publicInstance){if(process.env.NODE_ENV!=='production'){var owner=ReactCurrentOwner.current;if(owner!==null){process.env.NODE_ENV!=='production'?warning(owner._warnedAboutRefsInRender,'%s is accessing isMounted inside its render() function. '+'render() should be a pure function of props and state. It should '+'never access something that requires stale data from the previous '+'render, such as refs. Move this logic to componentDidMount and '+'componentDidUpdate instead.',owner.getName()||'A component'):undefined;owner._warnedAboutRefsInRender=true;}}var internalInstance=ReactInstanceMap.get(publicInstance);if(internalInstance){// During componentWillMount and render this will still be null but after
// that will always render to something. At least for now. So we can use
// this hack.
return!!internalInstance._renderedComponent;}else{return false;}},/**
* Enqueue a callback that will be executed after all the pending updates
* have processed.
*
* @param {ReactClass} publicInstance The instance to use as `this` context.
* @param {?function} callback Called after state is updated.
* @internal
*/enqueueCallback:function enqueueCallback(publicInstance,callback){!(typeof callback==='function')?process.env.NODE_ENV!=='production'?invariant(false,'enqueueCallback(...): You called `setProps`, `replaceProps`, '+'`setState`, `replaceState`, or `forceUpdate` with a callback that '+'isn\'t callable.'):invariant(false):undefined;var internalInstance=getInternalInstanceReadyForUpdate(publicInstance);// Previously we would throw an error if we didn't have an internal
// instance. Since we want to make it a no-op instead, we mirror the same
// behavior we have in other enqueue* methods.
// We also need to ignore callbacks in componentWillMount. See
// enqueueUpdates.
if(!internalInstance){return null;}if(internalInstance._pendingCallbacks){internalInstance._pendingCallbacks.push(callback);}else{internalInstance._pendingCallbacks=[callback];}// TODO: The callback here is ignored when setState is called from
// componentWillMount. Either fix it or disallow doing so completely in
// favor of getInitialState. Alternatively, we can disallow
// componentWillMount during server-side rendering.
enqueueUpdate(internalInstance);},enqueueCallbackInternal:function enqueueCallbackInternal(internalInstance,callback){!(typeof callback==='function')?process.env.NODE_ENV!=='production'?invariant(false,'enqueueCallback(...): You called `setProps`, `replaceProps`, '+'`setState`, `replaceState`, or `forceUpdate` with a callback that '+'isn\'t callable.'):invariant(false):undefined;if(internalInstance._pendingCallbacks){internalInstance._pendingCallbacks.push(callback);}else{internalInstance._pendingCallbacks=[callback];}enqueueUpdate(internalInstance);},/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @internal
*/enqueueForceUpdate:function enqueueForceUpdate(publicInstance){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,'forceUpdate');if(!internalInstance){return;}internalInstance._pendingForceUpdate=true;enqueueUpdate(internalInstance);},/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @internal
*/enqueueReplaceState:function enqueueReplaceState(publicInstance,completeState){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,'replaceState');if(!internalInstance){return;}internalInstance._pendingStateQueue=[completeState];internalInstance._pendingReplaceState=true;enqueueUpdate(internalInstance);},/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @internal
*/enqueueSetState:function enqueueSetState(publicInstance,partialState){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,'setState');if(!internalInstance){return;}var queue=internalInstance._pendingStateQueue||(internalInstance._pendingStateQueue=[]);queue.push(partialState);enqueueUpdate(internalInstance);},/**
* Sets a subset of the props.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialProps Subset of the next props.
* @internal
*/enqueueSetProps:function enqueueSetProps(publicInstance,partialProps){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,'setProps');if(!internalInstance){return;}ReactUpdateQueue.enqueueSetPropsInternal(internalInstance,partialProps);},enqueueSetPropsInternal:function enqueueSetPropsInternal(internalInstance,partialProps){var topLevelWrapper=internalInstance._topLevelWrapper;!topLevelWrapper?process.env.NODE_ENV!=='production'?invariant(false,'setProps(...): You called `setProps` on a '+'component with a parent. This is an anti-pattern since props will '+'get reactively updated when rendered. Instead, change the owner\'s '+'`render` method to pass the correct value as props to the component '+'where it is created.'):invariant(false):undefined;// Merge with the pending element if it exists, otherwise with existing
// element props.
var wrapElement=topLevelWrapper._pendingElement||topLevelWrapper._currentElement;var element=wrapElement.props;var props=assign({},element.props,partialProps);topLevelWrapper._pendingElement=ReactElement.cloneAndReplaceProps(wrapElement,ReactElement.cloneAndReplaceProps(element,props));enqueueUpdate(topLevelWrapper);},/**
* Replaces all of the props.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} props New props.
* @internal
*/enqueueReplaceProps:function enqueueReplaceProps(publicInstance,props){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,'replaceProps');if(!internalInstance){return;}ReactUpdateQueue.enqueueReplacePropsInternal(internalInstance,props);},enqueueReplacePropsInternal:function enqueueReplacePropsInternal(internalInstance,props){var topLevelWrapper=internalInstance._topLevelWrapper;!topLevelWrapper?process.env.NODE_ENV!=='production'?invariant(false,'replaceProps(...): You called `replaceProps` on a '+'component with a parent. This is an anti-pattern since props will '+'get reactively updated when rendered. Instead, change the owner\'s '+'`render` method to pass the correct value as props to the component '+'where it is created.'):invariant(false):undefined;// Merge with the pending element if it exists, otherwise with existing
// element props.
var wrapElement=topLevelWrapper._pendingElement||topLevelWrapper._currentElement;var element=wrapElement.props;topLevelWrapper._pendingElement=ReactElement.cloneAndReplaceProps(wrapElement,ReactElement.cloneAndReplaceProps(element,props));enqueueUpdate(topLevelWrapper);},enqueueElementInternal:function enqueueElementInternal(internalInstance,newElement){internalInstance._pendingElement=newElement;enqueueUpdate(internalInstance);}};module.exports=ReactUpdateQueue;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 254 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactVersion
*/'use strict';module.exports='0.14.8';
/***/ },
/* 255 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule findDOMNode
* @typechecks static-only
*/'use strict';var ReactCurrentOwner=__webpack_require__(51);var ReactInstanceMap=__webpack_require__(122);var ReactMount=__webpack_require__(25);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);/**
* Returns the DOM node rendered by this element.
*
* @param {ReactComponent|DOMElement} componentOrElement
* @return {?DOMElement} The root node of this element.
*/function findDOMNode(componentOrElement){if(process.env.NODE_ENV!=='production'){var owner=ReactCurrentOwner.current;if(owner!==null){process.env.NODE_ENV!=='production'?warning(owner._warnedAboutRefsInRender,'%s is accessing getDOMNode or findDOMNode inside its render(). '+'render() should be a pure function of props and state. It should '+'never access something that requires stale data from the previous '+'render, such as refs. Move this logic to componentDidMount and '+'componentDidUpdate instead.',owner.getName()||'A component'):undefined;owner._warnedAboutRefsInRender=true;}}if(componentOrElement==null){return null;}if(componentOrElement.nodeType===1){return componentOrElement;}if(ReactInstanceMap.has(componentOrElement)){return ReactMount.getNodeFromInstance(componentOrElement);}!(componentOrElement.render==null||typeof componentOrElement.render!=='function')?process.env.NODE_ENV!=='production'?invariant(false,'findDOMNode was called on an unmounted component.'):invariant(false):undefined; true?process.env.NODE_ENV!=='production'?invariant(false,'Element appears to be neither ReactComponent nor DOMNode (keys: %s)',Object.keys(componentOrElement)):invariant(false):undefined;}module.exports=findDOMNode;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 256 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventCharCode
* @typechecks static-only
*/'use strict';/**
* `charCode` represents the actual "character code" and is safe to use with
* `String.fromCharCode`. As such, only keys that correspond to printable
* characters produce a valid `charCode`, the only exception to this is Enter.
* The Tab-key is considered non-printable and does not have a `charCode`,
* presumably because it does not produce a tab-character in browsers.
*
* @param {object} nativeEvent Native browser event.
* @return {number} Normalized `charCode` property.
*/function getEventCharCode(nativeEvent){var charCode;var keyCode=nativeEvent.keyCode;if('charCode'in nativeEvent){charCode=nativeEvent.charCode;// FF does not set `charCode` for the Enter-key, check against `keyCode`.
if(charCode===0&&keyCode===13){charCode=13;}}else{// IE8 does not implement `charCode`, but `keyCode` has the correct value.
charCode=keyCode;}// Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
// Must not discard the (non-)printable Enter-key.
if(charCode>=32||charCode===13){return charCode;}return 0;}module.exports=getEventCharCode;
/***/ },
/* 257 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventModifierState
* @typechecks static-only
*/'use strict';/**
* Translation from modifier key to the associated property in the event.
* @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
*/var modifierKeyToProp={'Alt':'altKey','Control':'ctrlKey','Meta':'metaKey','Shift':'shiftKey'};// IE8 does not implement getModifierState so we simply map it to the only
// modifier keys exposed by the event itself, does not support Lock-keys.
// Currently, all major browsers except Chrome seems to support Lock-keys.
function modifierStateGetter(keyArg){var syntheticEvent=this;var nativeEvent=syntheticEvent.nativeEvent;if(nativeEvent.getModifierState){return nativeEvent.getModifierState(keyArg);}var keyProp=modifierKeyToProp[keyArg];return keyProp?!!nativeEvent[keyProp]:false;}function getEventModifierState(nativeEvent){return modifierStateGetter;}module.exports=getEventModifierState;
/***/ },
/* 258 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventTarget
* @typechecks static-only
*/'use strict';/**
* Gets the target node from a native browser event by accounting for
* inconsistencies in browser DOM APIs.
*
* @param {object} nativeEvent Native browser event.
* @return {DOMEventTarget} Target node.
*/function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;// Safari may fire events on text nodes (Node.TEXT_NODE is 3).
// @see http://www.quirksmode.org/js/events_properties.html
return target.nodeType===3?target.parentNode:target;}module.exports=getEventTarget;
/***/ },
/* 259 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getIteratorFn
* @typechecks static-only
*/'use strict';/* global Symbol */var ITERATOR_SYMBOL=typeof Symbol==='function'&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL='@@iterator';// Before Symbol spec.
/**
* Returns the iterator method function contained on the iterable object.
*
* Be sure to invoke the function with the iterable as context:
*
* var iteratorFn = getIteratorFn(myIterable);
* if (iteratorFn) {
* var iterator = iteratorFn.call(myIterable);
* ...
* }
*
* @param {?object} maybeIterable
* @return {?function}
*/function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==='function'){return iteratorFn;}}module.exports=getIteratorFn;
/***/ },
/* 260 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule instantiateReactComponent
* @typechecks static-only
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactCompositeComponent=__webpack_require__(953);var ReactEmptyComponent=__webpack_require__(432);var ReactNativeComponent=__webpack_require__(438);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);// To avoid a cyclic dependency, we create the final class in this module
var ReactCompositeComponentWrapper=function ReactCompositeComponentWrapper(){};assign(ReactCompositeComponentWrapper.prototype,ReactCompositeComponent.Mixin,{_instantiateReactComponent:instantiateReactComponent});function getDeclarationErrorAddendum(owner){if(owner){var name=owner.getName();if(name){return' Check the render method of `'+name+'`.';}}return'';}/**
* Check if the type reference is a known internal type. I.e. not a user
* provided composite type.
*
* @param {function} type
* @return {boolean} Returns true if this is a valid internal type.
*/function isInternalComponentType(type){return typeof type==='function'&&typeof type.prototype!=='undefined'&&typeof type.prototype.mountComponent==='function'&&typeof type.prototype.receiveComponent==='function';}/**
* Given a ReactNode, create an instance that will actually be mounted.
*
* @param {ReactNode} node
* @return {object} A new instance of the element's constructor.
* @protected
*/function instantiateReactComponent(node){var instance;if(node===null||node===false){instance=new ReactEmptyComponent(instantiateReactComponent);}else if((typeof node==='undefined'?'undefined':_typeof(node))==='object'){var element=node;!(element&&(typeof element.type==='function'||typeof element.type==='string'))?process.env.NODE_ENV!=='production'?invariant(false,'Element type is invalid: expected a string (for built-in components) '+'or a class/function (for composite components) but got: %s.%s',element.type==null?element.type:_typeof(element.type),getDeclarationErrorAddendum(element._owner)):invariant(false):undefined;// Special case string values
if(typeof element.type==='string'){instance=ReactNativeComponent.createInternalComponent(element);}else if(isInternalComponentType(element.type)){// This is temporarily available for custom components that are not string
// representations. I.e. ART. Once those are updated to use the string
// representation, we can drop this code path.
instance=new element.type(element);}else{instance=new ReactCompositeComponentWrapper();}}else if(typeof node==='string'||typeof node==='number'){instance=ReactNativeComponent.createInstanceForText(node);}else{ true?process.env.NODE_ENV!=='production'?invariant(false,'Encountered invalid React node of type %s',typeof node==='undefined'?'undefined':_typeof(node)):invariant(false):undefined;}if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(typeof instance.construct==='function'&&typeof instance.mountComponent==='function'&&typeof instance.receiveComponent==='function'&&typeof instance.unmountComponent==='function','Only React Components can be mounted.'):undefined;}// Sets up the instance. This can probably just move into the constructor now.
instance.construct(node);// These two fields are used by the DOM and ART diffing algorithms
// respectively. Instead of using expandos on components, we should be
// storing the state needed by the diffing algorithms elsewhere.
instance._mountIndex=0;instance._mountImage=null;if(process.env.NODE_ENV!=='production'){instance._isOwnerNecessary=false;instance._warnedAboutRefsInRender=false;}// Internal instances should fully constructed at this point, so they should
// not get any new fields added to them at this point.
if(process.env.NODE_ENV!=='production'){if(Object.preventExtensions){Object.preventExtensions(instance);}}return instance;}module.exports=instantiateReactComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 261 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isEventSupported
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var useHasFeature;if(ExecutionEnvironment.canUseDOM){useHasFeature=document.implementation&&document.implementation.hasFeature&&// always returns true in newer browsers as per the standard.
// @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
document.implementation.hasFeature('','')!==true;}/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/function isEventSupported(eventNameSuffix,capture){if(!ExecutionEnvironment.canUseDOM||capture&&!('addEventListener'in document)){return false;}var eventName='on'+eventNameSuffix;var isSupported=eventName in document;if(!isSupported){var element=document.createElement('div');element.setAttribute(eventName,'return;');isSupported=typeof element[eventName]==='function';}if(!isSupported&&useHasFeature&&eventNameSuffix==='wheel'){// This is the only way to test support for the `wheel` event in IE9+.
isSupported=document.implementation.hasFeature('Events.wheel','3.0');}return isSupported;}module.exports=isEventSupported;
/***/ },
/* 262 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setTextContent
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var escapeTextContentForBrowser=__webpack_require__(184);var setInnerHTML=__webpack_require__(185);/**
* Set the textContent property of a node, ensuring that whitespace is preserved
* even in IE8. innerText is a poor substitute for textContent and, among many
* issues, inserts <br> instead of the literal newline chars. innerHTML behaves
* as it should.
*
* @param {DOMElement} node
* @param {string} text
* @internal
*/var setTextContent=function setTextContent(node,text){node.textContent=text;};if(ExecutionEnvironment.canUseDOM){if(!('textContent'in document.documentElement)){setTextContent=function setTextContent(node,text){setInnerHTML(node,escapeTextContentForBrowser(text));};}}module.exports=setTextContent;
/***/ },
/* 263 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shouldUpdateReactComponent
* @typechecks static-only
*/'use strict';/**
* Given a `prevElement` and `nextElement`, determines if the existing
* instance should be updated as opposed to being destroyed or replaced by a new
* instance. Both arguments are elements. This ensures that this logic can
* operate on stateless trees without any backing instance.
*
* @param {?object} prevElement
* @param {?object} nextElement
* @return {boolean} True if the existing instance should be updated.
* @protected
*/var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};function shouldUpdateReactComponent(prevElement,nextElement){var prevEmpty=prevElement===null||prevElement===false;var nextEmpty=nextElement===null||nextElement===false;if(prevEmpty||nextEmpty){return prevEmpty===nextEmpty;}var prevType=typeof prevElement==='undefined'?'undefined':_typeof(prevElement);var nextType=typeof nextElement==='undefined'?'undefined':_typeof(nextElement);if(prevType==='string'||prevType==='number'){return nextType==='string'||nextType==='number';}else{return nextType==='object'&&prevElement.type===nextElement.type&&prevElement.key===nextElement.key;}return false;}module.exports=shouldUpdateReactComponent;
/***/ },
/* 264 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule traverseAllChildren
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactCurrentOwner=__webpack_require__(51);var ReactElement=__webpack_require__(34);var ReactInstanceHandles=__webpack_require__(96);var getIteratorFn=__webpack_require__(259);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);var SEPARATOR=ReactInstanceHandles.SEPARATOR;var SUBSEPARATOR=':';/**
* TODO: Test that a single child and an array with one item have the same key
* pattern.
*/var userProvidedKeyEscaperLookup={'=':'=0','.':'=1',':':'=2'};var userProvidedKeyEscapeRegex=/[=.:]/g;var didWarnAboutMaps=false;function userProvidedKeyEscaper(match){return userProvidedKeyEscaperLookup[match];}/**
* Generate a key string that identifies a component within a set.
*
* @param {*} component A component that could contain a manual key.
* @param {number} index Index that is used if a manual key is not provided.
* @return {string}
*/function getComponentKey(component,index){if(component&&component.key!=null){// Explicit key
return wrapUserProvidedKey(component.key);}// Implicit key determined by the index in the set
return index.toString(36);}/**
* Escape a component key so that it is safe to use in a reactid.
*
* @param {*} text Component key to be escaped.
* @return {string} An escaped string.
*/function escapeUserProvidedKey(text){return(''+text).replace(userProvidedKeyEscapeRegex,userProvidedKeyEscaper);}/**
* Wrap a `key` value explicitly provided by the user to distinguish it from
* implicitly-generated keys generated by a component's index in its parent.
*
* @param {string} key Value of a user-provided `key` attribute
* @return {string}
*/function wrapUserProvidedKey(key){return'$'+escapeUserProvidedKey(key);}/**
* @param {?*} children Children tree container.
* @param {!string} nameSoFar Name of the key path so far.
* @param {!function} callback Callback to invoke with each child found.
* @param {?*} traverseContext Used to pass information throughout the traversal
* process.
* @return {!number} The number of children in this subtree.
*/function traverseAllChildrenImpl(children,nameSoFar,callback,traverseContext){var type=typeof children==='undefined'?'undefined':_typeof(children);if(type==='undefined'||type==='boolean'){// All of the above are perceived as null.
children=null;}if(children===null||type==='string'||type==='number'||ReactElement.isValidElement(children)){callback(traverseContext,children,// If it's the only child, treat the name as if it was wrapped in an array
// so that it's consistent if the number of children grows.
nameSoFar===''?SEPARATOR+getComponentKey(children,0):nameSoFar);return 1;}var child;var nextName;var subtreeCount=0;// Count of children found in the current subtree.
var nextNamePrefix=nameSoFar===''?SEPARATOR:nameSoFar+SUBSEPARATOR;if(Array.isArray(children)){for(var i=0;i<children.length;i++){child=children[i];nextName=nextNamePrefix+getComponentKey(child,i);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext);}}else{var iteratorFn=getIteratorFn(children);if(iteratorFn){var iterator=iteratorFn.call(children);var step;if(iteratorFn!==children.entries){var ii=0;while(!(step=iterator.next()).done){child=step.value;nextName=nextNamePrefix+getComponentKey(child,ii++);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext);}}else{if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(didWarnAboutMaps,'Using Maps as children is not yet fully supported. It is an '+'experimental feature that might be removed. Convert it to a '+'sequence / iterable of keyed ReactElements instead.'):undefined;didWarnAboutMaps=true;}// Iterator will provide entry [k,v] tuples rather than values.
while(!(step=iterator.next()).done){var entry=step.value;if(entry){child=entry[1];nextName=nextNamePrefix+wrapUserProvidedKey(entry[0])+SUBSEPARATOR+getComponentKey(child,0);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext);}}}}else if(type==='object'){var addendum='';if(process.env.NODE_ENV!=='production'){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.';if(children._isReactElement){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.';}if(ReactCurrentOwner.current){var name=ReactCurrentOwner.current.getName();if(name){addendum+=' Check the render method of `'+name+'`.';}}}var childrenString=String(children); true?process.env.NODE_ENV!=='production'?invariant(false,'Objects are not valid as a React child (found: %s).%s',childrenString==='[object Object]'?'object with keys {'+Object.keys(children).join(', ')+'}':childrenString,addendum):invariant(false):undefined;}}return subtreeCount;}/**
* Traverses children that are typically specified as `props.children`, but
* might also be specified through attributes:
*
* - `traverseAllChildren(this.props.children, ...)`
* - `traverseAllChildren(this.props.leftPanelChildren, ...)`
*
* The `traverseContext` is an optional argument that is passed through the
* entire traversal. It can be used to store accumulations or anything else that
* the callback might find relevant.
*
* @param {?*} children Children tree object.
* @param {!function} callback To invoke upon traversing each child.
* @param {?*} traverseContext Context for traversal.
* @return {!number} The number of children in this subtree.
*/function traverseAllChildren(children,callback,traverseContext){if(children==null){return 0;}return traverseAllChildrenImpl(children,'',callback,traverseContext);}module.exports=traverseAllChildren;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 265 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule validateDOMNesting
*/'use strict';var assign=__webpack_require__(7);var emptyFunction=__webpack_require__(40);var warning=__webpack_require__(8);var validateDOMNesting=emptyFunction;if(process.env.NODE_ENV!=='production'){// This validation code was written based on the HTML5 parsing spec:
// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
//
// Note: this does not catch all invalid nesting, nor does it try to (as it's
// not clear what practical benefit doing so provides); instead, we warn only
// for cases where the parser will give a parse tree differing from what React
// intended. For example, <b><div></div></b> is invalid but we don't warn
// because it still parses correctly; we do warn for other cases like nested
// <p> tags where the beginning of the second element implicitly closes the
// first, causing a confusing mess.
// https://html.spec.whatwg.org/multipage/syntax.html#special
var specialTags=['address','applet','area','article','aside','base','basefont','bgsound','blockquote','body','br','button','caption','center','col','colgroup','dd','details','dir','div','dl','dt','embed','fieldset','figcaption','figure','footer','form','frame','frameset','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','iframe','img','input','isindex','li','link','listing','main','marquee','menu','menuitem','meta','nav','noembed','noframes','noscript','object','ol','p','param','plaintext','pre','script','section','select','source','style','summary','table','tbody','td','template','textarea','tfoot','th','thead','title','tr','track','ul','wbr','xmp'];// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
var inScopeTags=['applet','caption','html','table','td','th','marquee','object','template',// https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
// TODO: Distinguish by namespace here -- for <title>, including it here
// errs on the side of fewer warnings
'foreignObject','desc','title'];// https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope
var buttonScopeTags=inScopeTags.concat(['button']);// https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags
var impliedEndTags=['dd','dt','li','option','optgroup','p','rp','rt'];var emptyAncestorInfo={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};var updatedAncestorInfo=function updatedAncestorInfo(oldInfo,tag,instance){var ancestorInfo=assign({},oldInfo||emptyAncestorInfo);var info={tag:tag,instance:instance};if(inScopeTags.indexOf(tag)!==-1){ancestorInfo.aTagInScope=null;ancestorInfo.buttonTagInScope=null;ancestorInfo.nobrTagInScope=null;}if(buttonScopeTags.indexOf(tag)!==-1){ancestorInfo.pTagInButtonScope=null;}// See rules for 'li', 'dd', 'dt' start tags in
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
if(specialTags.indexOf(tag)!==-1&&tag!=='address'&&tag!=='div'&&tag!=='p'){ancestorInfo.listItemTagAutoclosing=null;ancestorInfo.dlItemTagAutoclosing=null;}ancestorInfo.parentTag=info;if(tag==='form'){ancestorInfo.formTag=info;}if(tag==='a'){ancestorInfo.aTagInScope=info;}if(tag==='button'){ancestorInfo.buttonTagInScope=info;}if(tag==='nobr'){ancestorInfo.nobrTagInScope=info;}if(tag==='p'){ancestorInfo.pTagInButtonScope=info;}if(tag==='li'){ancestorInfo.listItemTagAutoclosing=info;}if(tag==='dd'||tag==='dt'){ancestorInfo.dlItemTagAutoclosing=info;}return ancestorInfo;};/**
* Returns whether
*/var isTagValidWithParent=function isTagValidWithParent(tag,parentTag){// First, let's check if we're in an unusual parsing mode...
switch(parentTag){// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
case'select':return tag==='option'||tag==='optgroup'||tag==='#text';case'optgroup':return tag==='option'||tag==='#text';// Strictly speaking, seeing an <option> doesn't mean we're in a <select>
// but
case'option':return tag==='#text';// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
// No special behavior since these rules fall back to "in body" mode for
// all except special table nodes which cause bad parsing behavior anyway.
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
case'tr':return tag==='th'||tag==='td'||tag==='style'||tag==='script'||tag==='template';// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
case'tbody':case'thead':case'tfoot':return tag==='tr'||tag==='style'||tag==='script'||tag==='template';// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
case'colgroup':return tag==='col'||tag==='template';// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
case'table':return tag==='caption'||tag==='colgroup'||tag==='tbody'||tag==='tfoot'||tag==='thead'||tag==='style'||tag==='script'||tag==='template';// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
case'head':return tag==='base'||tag==='basefont'||tag==='bgsound'||tag==='link'||tag==='meta'||tag==='title'||tag==='noscript'||tag==='noframes'||tag==='style'||tag==='script'||tag==='template';// https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
case'html':return tag==='head'||tag==='body';}// Probably in the "in body" parsing mode, so we outlaw only tag combos
// where the parsing rules cause implicit opens or closes to be added.
// https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
switch(tag){case'h1':case'h2':case'h3':case'h4':case'h5':case'h6':return parentTag!=='h1'&&parentTag!=='h2'&&parentTag!=='h3'&&parentTag!=='h4'&&parentTag!=='h5'&&parentTag!=='h6';case'rp':case'rt':return impliedEndTags.indexOf(parentTag)===-1;case'caption':case'col':case'colgroup':case'frame':case'head':case'tbody':case'td':case'tfoot':case'th':case'thead':case'tr':// These tags are only valid with a few parents that have special child
// parsing rules -- if we're down here, then none of those matched and
// so we allow it only if we don't know what the parent is, as all other
// cases are invalid.
return parentTag==null;}return true;};/**
* Returns whether
*/var findInvalidAncestorForTag=function findInvalidAncestorForTag(tag,ancestorInfo){switch(tag){case'address':case'article':case'aside':case'blockquote':case'center':case'details':case'dialog':case'dir':case'div':case'dl':case'fieldset':case'figcaption':case'figure':case'footer':case'header':case'hgroup':case'main':case'menu':case'nav':case'ol':case'p':case'section':case'summary':case'ul':case'pre':case'listing':case'table':case'hr':case'xmp':case'h1':case'h2':case'h3':case'h4':case'h5':case'h6':return ancestorInfo.pTagInButtonScope;case'form':return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case'li':return ancestorInfo.listItemTagAutoclosing;case'dd':case'dt':return ancestorInfo.dlItemTagAutoclosing;case'button':return ancestorInfo.buttonTagInScope;case'a':// Spec says something about storing a list of markers, but it sounds
// equivalent to this check.
return ancestorInfo.aTagInScope;case'nobr':return ancestorInfo.nobrTagInScope;}return null;};/**
* Given a ReactCompositeComponent instance, return a list of its recursive
* owners, starting at the root and ending with the instance itself.
*/var findOwnerStack=function findOwnerStack(instance){if(!instance){return[];}var stack=[];/*eslint-disable space-after-keywords */do{/*eslint-enable space-after-keywords */stack.push(instance);}while(instance=instance._currentElement._owner);stack.reverse();return stack;};var didWarn={};validateDOMNesting=function validateDOMNesting(childTag,childInstance,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.parentTag;var parentTag=parentInfo&&parentInfo.tag;var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo;var invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo);var problematic=invalidParent||invalidAncestor;if(problematic){var ancestorTag=problematic.tag;var ancestorInstance=problematic.instance;var childOwner=childInstance&&childInstance._currentElement._owner;var ancestorOwner=ancestorInstance&&ancestorInstance._currentElement._owner;var childOwners=findOwnerStack(childOwner);var ancestorOwners=findOwnerStack(ancestorOwner);var minStackLen=Math.min(childOwners.length,ancestorOwners.length);var i;var deepestCommon=-1;for(i=0;i<minStackLen;i++){if(childOwners[i]===ancestorOwners[i]){deepestCommon=i;}else{break;}}var UNKNOWN='(unknown)';var childOwnerNames=childOwners.slice(deepestCommon+1).map(function(inst){return inst.getName()||UNKNOWN;});var ancestorOwnerNames=ancestorOwners.slice(deepestCommon+1).map(function(inst){return inst.getName()||UNKNOWN;});var ownerInfo=[].concat(// If the parent and child instances have a common owner ancestor, start
// with that -- otherwise we just start with the parent's owners.
deepestCommon!==-1?childOwners[deepestCommon].getName()||UNKNOWN:[],ancestorOwnerNames,ancestorTag,// If we're warning about an invalid (non-parent) ancestry, add '...'
invalidAncestor?['...']:[],childOwnerNames,childTag).join(' > ');var warnKey=!!invalidParent+'|'+childTag+'|'+ancestorTag+'|'+ownerInfo;if(didWarn[warnKey]){return;}didWarn[warnKey]=true;if(invalidParent){var info='';if(ancestorTag==='table'&&childTag==='tr'){info+=' Add a <tbody> to your code to match the DOM tree generated by '+'the browser.';}process.env.NODE_ENV!=='production'?warning(false,'validateDOMNesting(...): <%s> cannot appear as a child of <%s>. '+'See %s.%s',childTag,ancestorTag,ownerInfo,info):undefined;}else{process.env.NODE_ENV!=='production'?warning(false,'validateDOMNesting(...): <%s> cannot appear as a descendant of '+'<%s>. See %s.',childTag,ancestorTag,ownerInfo):undefined;}}};validateDOMNesting.ancestorInfoContextKey='__validateDOMNesting_ancestorInfo$'+Math.random().toString(36).slice(2);validateDOMNesting.updatedAncestorInfo=updatedAncestorInfo;// For testing
validateDOMNesting.isTagValidInContext=function(tag,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.parentTag;var parentTag=parentInfo&&parentInfo.tag;return isTagValidWithParent(tag,parentTag)&&!findInvalidAncestorForTag(tag,ancestorInfo);};}module.exports=validateDOMNesting;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 266 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:normalize
* @fileoverview Normalize an identifier.
*/'use strict';/* Dependencies. */var collapseWhiteSpace=__webpack_require__(605);/* Expose. */module.exports=normalize;/**
* Normalize an identifier. Collapses multiple white space
* characters into a single space, and removes casing.
*
* @example
* normalizeIdentifier('FOO\t bar'); // 'foo bar'
*
* @param {string} value - Content to normalize.
* @return {string} - Normalized content.
*/function normalize(value){return collapseWhiteSpace(value).toLowerCase();}
/***/ },
/* 267 */
/***/ function(module, exports) {
"use strict";
/*!
* repeat-string <https://github.com/jonschlinkert/repeat-string>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/'use strict';/**
* Results cache
*/var res='';var cache;/**
* Expose `repeat`
*/module.exports=repeat;/**
* Repeat the given `string` the specified `number`
* of times.
*
* **Example:**
*
* ```js
* var repeat = require('repeat-string');
* repeat('A', 5);
* //=> AAAAA
* ```
*
* @param {String} `string` The string to repeat
* @param {Number} `number` The number of times to repeat the string
* @return {String} Repeated string
* @api public
*/function repeat(str,num){if(typeof str!=='string'){throw new TypeError('expected a string');}// cover common, quick use cases
if(num===1)return str;if(num===2)return str+str;var max=str.length*num;if(cache!==str||typeof cache==='undefined'){cache=str;res='';}else if(res.length>=max){return res.substr(0,max);}while(max>res.length&&num>1){if(num&1){res+=str;}num>>=1;str+=str;}res+=str;res=res.substr(0,max);return res;}
/***/ },
/* 268 */,
/* 269 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Radio=__webpack_require__(1062);var _Radio2=_interopRequireDefault(_Radio);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Radio2.default;
/***/ },
/* 270 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MessageItem(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('content',className);var rest=(0,_lib.getUnhandledProps)(MessageItem,props);var ElementType=(0,_lib.getElementType)(MessageItem,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}MessageItem._meta={name:'MessageItem',parent:'Message',type:_lib.META.TYPES.COLLECTION};MessageItem.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};MessageItem.defaultProps={as:'li'};exports.default=MessageItem;
/***/ },
/* 271 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableHeader(props){var children=props.children,className=props.className,fullWidth=props.fullWidth;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(fullWidth,'full-width'),className);var rest=(0,_lib.getUnhandledProps)(TableHeader,props);var ElementType=(0,_lib.getElementType)(TableHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}TableHeader._meta={name:'TableHeader',type:_lib.META.TYPES.COLLECTION,parent:'Table'};TableHeader.defaultProps={as:'thead'};TableHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A definition table can have a full width header or footer, filling in the gap left by the first column. */fullWidth:_react.PropTypes.bool};exports.default=TableHeader;
/***/ },
/* 272 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Button=__webpack_require__(488);var _Button2=_interopRequireDefault(_Button);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Button2.default;
/***/ },
/* 273 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Input=__webpack_require__(1084);var _Input2=_interopRequireDefault(_Input);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Input2.default;
/***/ },
/* 274 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _isUndefined2=__webpack_require__(170);var _isUndefined3=_interopRequireDefault(_isUndefined2);var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(188);var _Icon2=_interopRequireDefault(_Icon);var _Image=__webpack_require__(496);var _Image2=_interopRequireDefault(_Image);var _LabelDetail=__webpack_require__(498);var _LabelDetail2=_interopRequireDefault(_LabelDetail);var _LabelGroup=__webpack_require__(499);var _LabelGroup2=_interopRequireDefault(_LabelGroup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var _meta={name:'Label',type:_lib.META.TYPES.ELEMENT,props:{attached:['top','bottom','top right','top left','bottom left','bottom right'],color:_lib.SUI.COLORS,corner:['left','right'],pointing:['above','below','left','right'],ribbon:['right'],size:_lib.SUI.SIZES}};/**
* A label displays content classification
*/var Label=function(_Component){_inherits(Label,_Component);function Label(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Label);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Label.__proto__||Object.getPrototypeOf(Label)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e,_this.props);},_this.handleRemove=function(e){var onRemove=_this.props.onRemove;if(onRemove)onRemove(e,_this.props);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Label,[{key:'render',value:function render(){var _props=this.props,active=_props.active,attached=_props.attached,basic=_props.basic,children=_props.children,circular=_props.circular,className=_props.className,color=_props.color,content=_props.content,corner=_props.corner,detail=_props.detail,empty=_props.empty,floating=_props.floating,horizontal=_props.horizontal,icon=_props.icon,image=_props.image,onRemove=_props.onRemove,pointing=_props.pointing,removeIcon=_props.removeIcon,ribbon=_props.ribbon,size=_props.size,tag=_props.tag;var pointingClass=pointing===true&&'pointing'||(pointing==='left'||pointing==='right')&&pointing+' pointing'||(pointing==='above'||pointing==='below')&&'pointing '+pointing;var classes=(0,_classnames2.default)('ui',color,pointingClass,size,(0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(circular,'circular'),(0,_lib.useKeyOnly)(empty,'empty'),(0,_lib.useKeyOnly)(floating,'floating'),(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useKeyOnly)(image===true,'image'),(0,_lib.useKeyOnly)(tag,'tag'),(0,_lib.useKeyOrValueAndKey)(corner,'corner'),(0,_lib.useKeyOrValueAndKey)(ribbon,'ribbon'),(0,_lib.useValueAndKey)(attached,'attached'),'label',className);var rest=(0,_lib.getUnhandledProps)(Label,this.props);var ElementType=(0,_lib.getElementType)(Label,this.props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),children);}var removeIconShorthand=(0,_isUndefined3.default)(removeIcon)?'delete':removeIcon;return _react2.default.createElement(ElementType,_extends({className:classes,onClick:this.handleClick},rest),_Icon2.default.create(icon),typeof image!=='boolean'&&_Image2.default.create(image),content,(0,_lib.createShorthand)(_LabelDetail2.default,function(val){return{content:val};},detail),onRemove&&_Icon2.default.create(removeIconShorthand,{onClick:this.handleRemove}));}}]);return Label;}(_react.Component);// Label is not yet defined inside the class
// Do not use a static property initializer
Label.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A label can be active. */active:_react.PropTypes.bool,/** A label can attach to a content segment. */attached:_react.PropTypes.oneOf(_meta.props.attached),/** A label can reduce its complexity. */basic:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** A label can be circular. */circular:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Color of the label. */color:_react.PropTypes.oneOf(_meta.props.color),/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A label can position itself in the corner of an element. */corner:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.corner)]),/** Shorthand for LabelDetail. */detail:_lib.customPropTypes.itemShorthand,/** Formats the label as a dot. */empty:_lib.customPropTypes.every([_lib.customPropTypes.demand(['circular']),_react.PropTypes.bool]),/** Float above another element in the upper right corner. */floating:_react.PropTypes.bool,/** A horizontal label is formatted to label content along-side it horizontally. */horizontal:_react.PropTypes.bool,/** Shorthand for Icon. */icon:_lib.customPropTypes.itemShorthand,/** A label can be formatted to emphasize an image or prop can be used as shorthand for Image. */image:_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand]),/** A label can point to content next to it. */pointing:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.pointing)]),/** Adds the link style when present, called with (event, props). */onClick:_react.PropTypes.func,/** Adds an "x" icon, called with (event, props) when "x" is clicked. */onRemove:_react.PropTypes.func,/** Shorthand for Icon to appear as the last child and trigger onRemove. */removeIcon:_lib.customPropTypes.itemShorthand,/** A label can appear as a ribbon attaching itself to an element. */ribbon:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.ribbon)]),/** A label can have different sizes. */size:_react.PropTypes.oneOf(_meta.props.size),/** A label can appear as a tag. */tag:_react.PropTypes.bool};Label._meta=_meta;Label.Detail=_LabelDetail2.default;Label.Group=_LabelGroup2.default;exports.default=Label;Label.create=(0,_lib.createShorthandFactory)(Label,function(value){return{content:value};});
/***/ },
/* 275 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _ListDescription=__webpack_require__(190);var _ListDescription2=_interopRequireDefault(_ListDescription);var _ListHeader=__webpack_require__(191);var _ListHeader2=_interopRequireDefault(_ListHeader);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListContent(props){var children=props.children,className=props.className,content=props.content,description=props.description,floated=props.floated,header=props.header,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)((0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useVerticalAlignProp)(verticalAlign),'content',className);var rest=(0,_lib.getUnhandledProps)(ListContent,props);var ElementType=(0,_lib.getElementType)(ListContent,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_ListHeader2.default.create(header),_ListDescription2.default.create(description),content);}ListContent._meta={name:'ListContent',parent:'List',type:_lib.META.TYPES.ELEMENT,props:{floated:_lib.SUI.FLOATS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};ListContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for ListDescription. */description:_lib.customPropTypes.itemShorthand,/** An list content can be floated left or right. */floated:_react.PropTypes.oneOf(ListContent._meta.props.floated),/** Shorthand for ListHeader. */header:_lib.customPropTypes.itemShorthand,/** An element inside a list can be vertically aligned. */verticalAlign:_react.PropTypes.oneOf(ListContent._meta.props.verticalAlign)};ListContent.create=(0,_lib.createShorthandFactory)(ListContent,function(content){return{content:content};});exports.default=ListContent;
/***/ },
/* 276 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(188);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListIcon(props){var className=props.className,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)((0,_lib.useVerticalAlignProp)(verticalAlign),className);var rest=(0,_lib.getUnhandledProps)(ListIcon,props);return _react2.default.createElement(_Icon2.default,_extends({},rest,{className:classes}));}ListIcon._meta={name:'ListIcon',parent:'List',type:_lib.META.TYPES.ELEMENT,props:{verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};ListIcon.propTypes={/** Additional classes. */className:_react.PropTypes.string,/** An element inside a list can be vertically aligned. */verticalAlign:_react.PropTypes.oneOf(ListIcon._meta.props.verticalAlign)};ListIcon.create=(0,_lib.createShorthandFactory)(ListIcon,function(name){return{name:name};});exports.default=ListIcon;
/***/ },
/* 277 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StepDescription(props){var children=props.children,className=props.className,description=props.description;var classes=(0,_classnames2.default)(className,'description');var rest=(0,_lib.getUnhandledProps)(StepDescription,props);var ElementType=(0,_lib.getElementType)(StepDescription,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||description);}StepDescription._meta={name:'StepDescription',parent:'Step',type:_lib.META.TYPES.ELEMENT};StepDescription.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Shorthand for primary content. */description:_lib.customPropTypes.contentShorthand};exports.default=StepDescription;
/***/ },
/* 278 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StepTitle(props){var children=props.children,className=props.className,title=props.title;var classes=(0,_classnames2.default)(className,'title');var rest=(0,_lib.getUnhandledProps)(StepTitle,props);var ElementType=(0,_lib.getElementType)(StepTitle,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||title);}StepTitle._meta={name:'StepTitle',parent:'Step',type:_lib.META.TYPES.ELEMENT};StepTitle.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Shorthand for primary content. */title:_lib.customPropTypes.contentShorthand};exports.default=StepTitle;
/***/ },
/* 279 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};exports.numberToWord=numberToWord;var numberToWordMap=exports.numberToWordMap={1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine',10:'ten',11:'eleven',12:'twelve',13:'thirteen',14:'fourteen',15:'fifteen',16:'sixteen'};/**
* Return the number word for numbers 1-16.
* Returns strings or numbers as is if there is no corresponding word.
* Returns an empty string if value is not a string or number.
* @param {string|number} value The value to convert to a word.
* @returns {string}
*/function numberToWord(value){var type=typeof value==='undefined'?'undefined':_typeof(value);if(type==='string'||type==='number'){return numberToWordMap[value]||value;}return'';}
/***/ },
/* 280 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Dropdown=__webpack_require__(1111);var _Dropdown2=_interopRequireDefault(_Dropdown);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Dropdown2.default;
/***/ },
/* 281 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A card can contain a description with one or more paragraphs
*/function CardDescription(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'description');var rest=(0,_lib.getUnhandledProps)(CardDescription,props);var ElementType=(0,_lib.getElementType)(CardDescription,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}CardDescription._meta={name:'CardDescription',parent:'Card',type:_lib.META.TYPES.VIEW};CardDescription.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=CardDescription;
/***/ },
/* 282 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A card can contain a header
*/function CardHeader(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'header');var rest=(0,_lib.getUnhandledProps)(CardHeader,props);var ElementType=(0,_lib.getElementType)(CardHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}CardHeader._meta={name:'CardHeader',parent:'Card',type:_lib.META.TYPES.VIEW};CardHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=CardHeader;
/***/ },
/* 283 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A card can contain content metadata
*/function CardMeta(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'meta');var rest=(0,_lib.getUnhandledProps)(CardMeta,props);var ElementType=(0,_lib.getElementType)(CardMeta,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}CardMeta._meta={name:'CardMeta',parent:'Card',type:_lib.META.TYPES.VIEW};CardMeta.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=CardMeta;
/***/ },
/* 284 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FeedDate=__webpack_require__(193);var _FeedDate2=_interopRequireDefault(_FeedDate);var _FeedExtra=__webpack_require__(285);var _FeedExtra2=_interopRequireDefault(_FeedExtra);var _FeedMeta=__webpack_require__(288);var _FeedMeta2=_interopRequireDefault(_FeedMeta);var _FeedSummary=__webpack_require__(289);var _FeedSummary2=_interopRequireDefault(_FeedSummary);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedContent(props){var children=props.children,className=props.className,content=props.content,extraImages=props.extraImages,extraText=props.extraText,date=props.date,meta=props.meta,summary=props.summary;var classes=(0,_classnames2.default)(className,'content');var rest=(0,_lib.getUnhandledProps)(FeedContent,props);var ElementType=(0,_lib.getElementType)(FeedContent,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_FeedDate2.default,function(val){return{content:val};},date),(0,_lib.createShorthand)(_FeedSummary2.default,function(val){return{content:val};},summary),content,(0,_lib.createShorthand)(_FeedExtra2.default,function(val){return{text:true,content:val};},extraText),(0,_lib.createShorthand)(_FeedExtra2.default,function(val){return{images:val};},extraImages),(0,_lib.createShorthand)(_FeedMeta2.default,function(val){return{content:val};},meta));}FeedContent._meta={name:'FeedContent',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** An event can contain a date. */date:_lib.customPropTypes.itemShorthand,/** Shorthand for FeedExtra with images. */extraImages:_FeedExtra2.default.propTypes.images,/** Shorthand for FeedExtra with text. */extraText:_lib.customPropTypes.itemShorthand,/** Shorthand for FeedMeta. */meta:_lib.customPropTypes.itemShorthand,/** Shorthand for FeedSummary. */summary:_lib.customPropTypes.itemShorthand};exports.default=FeedContent;
/***/ },
/* 285 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedExtra(props){var children=props.children,className=props.className,content=props.content,images=props.images,text=props.text;var classes=(0,_classnames2.default)(className,(0,_lib.useKeyOnly)(images,'images'),(0,_lib.useKeyOnly)(content||text,'text'),'extra');var rest=(0,_lib.getUnhandledProps)(FeedExtra,props);var ElementType=(0,_lib.getElementType)(FeedExtra,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}// TODO need a "collection factory" to handle creating multiple image elements and their keys
var imageElements=(0,_map3.default)(images,function(image,index){var key=[index,image].join('-');return(0,_lib.createHTMLImage)(image,{key:key});});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content,imageElements);}FeedExtra._meta={name:'FeedExtra',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedExtra.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** An event can contain additional information like a set of images. */images:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['text']),_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.collectionShorthand])]),/** An event can contain additional text information. */text:_react.PropTypes.bool};exports.default=FeedExtra;
/***/ },
/* 286 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedLabel(props){var children=props.children,className=props.className,content=props.content,icon=props.icon,image=props.image;var classes=(0,_classnames2.default)(className,'label');var rest=(0,_lib.getUnhandledProps)(FeedLabel,props);var ElementType=(0,_lib.getElementType)(FeedLabel,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content,_Icon2.default.create(icon),(0,_lib.createHTMLImage)(image));}FeedLabel._meta={name:'FeedLabel',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedLabel.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** An event can contain icon label. */icon:_lib.customPropTypes.itemShorthand,/** An event can contain image label. */image:_lib.customPropTypes.itemShorthand};exports.default=FeedLabel;
/***/ },
/* 287 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedLike(props){var children=props.children,className=props.className,content=props.content,icon=props.icon;var classes=(0,_classnames2.default)(className,'like');var rest=(0,_lib.getUnhandledProps)(FeedLike,props);var ElementType=(0,_lib.getElementType)(FeedLike,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_Icon2.default.create(icon),content);}FeedLike._meta={name:'FeedLike',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedLike.defaultProps={as:'a'};FeedLike.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for icon. Mutually exclusive with children. */icon:_lib.customPropTypes.itemShorthand};exports.default=FeedLike;
/***/ },
/* 288 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FeedLike=__webpack_require__(287);var _FeedLike2=_interopRequireDefault(_FeedLike);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedMeta(props){var children=props.children,className=props.className,content=props.content,like=props.like;var classes=(0,_classnames2.default)(className,'meta');var rest=(0,_lib.getUnhandledProps)(FeedMeta,props);var ElementType=(0,_lib.getElementType)(FeedMeta,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_FeedLike2.default,function(val){return{content:val};},like),content);}FeedMeta._meta={name:'FeedMeta',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedMeta.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for FeedLike. */like:_lib.customPropTypes.itemShorthand};exports.default=FeedMeta;
/***/ },
/* 289 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FeedDate=__webpack_require__(193);var _FeedDate2=_interopRequireDefault(_FeedDate);var _FeedUser=__webpack_require__(290);var _FeedUser2=_interopRequireDefault(_FeedUser);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedSummary(props){var children=props.children,className=props.className,content=props.content,date=props.date,user=props.user;var classes=(0,_classnames2.default)(className,'summary');var rest=(0,_lib.getUnhandledProps)(FeedSummary,props);var ElementType=(0,_lib.getElementType)(FeedSummary,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_FeedUser2.default,function(val){return{content:val};},user),content,(0,_lib.createShorthand)(_FeedDate2.default,function(val){return{content:val};},date));}FeedSummary._meta={name:'FeedSummary',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedSummary.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for FeedDate. */date:_lib.customPropTypes.itemShorthand,/** Shorthand for FeedUser. */user:_lib.customPropTypes.itemShorthand};exports.default=FeedSummary;
/***/ },
/* 290 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedUser(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'user');var rest=(0,_lib.getUnhandledProps)(FeedUser,props);var ElementType=(0,_lib.getElementType)(FeedUser,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}FeedUser._meta={name:'FeedUser',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedUser.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};FeedUser.defaultProps={as:'a'};exports.default=FeedUser;
/***/ },
/* 291 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain a description with a single or multiple paragraphs
**/function ItemDescription(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'description');var rest=(0,_lib.getUnhandledProps)(ItemDescription,props);var ElementType=(0,_lib.getElementType)(ItemDescription,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ItemDescription._meta={name:'ItemDescription',parent:'Item',type:_lib.META.TYPES.VIEW};ItemDescription.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=ItemDescription;
/***/ },
/* 292 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain extra content meant to be formatted separately from the main content
**/function ItemExtra(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'extra');var rest=(0,_lib.getUnhandledProps)(ItemExtra,props);var ElementType=(0,_lib.getElementType)(ItemExtra,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ItemExtra._meta={name:'ItemExtra',parent:'Item',type:_lib.META.TYPES.VIEW};ItemExtra.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=ItemExtra;
/***/ },
/* 293 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain a header
**/function ItemHeader(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'header');var rest=(0,_lib.getUnhandledProps)(ItemHeader,props);var ElementType=(0,_lib.getElementType)(ItemHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ItemHeader._meta={name:'ItemHeader',parent:'Item',type:_lib.META.TYPES.VIEW};ItemHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=ItemHeader;
/***/ },
/* 294 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain content metadata.
**/function ItemMeta(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'meta');var rest=(0,_lib.getUnhandledProps)(ItemMeta,props);var ElementType=(0,_lib.getElementType)(ItemMeta,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}ItemMeta._meta={name:'ItemMeta',parent:'Item',type:_lib.META.TYPES.VIEW};ItemMeta.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=ItemMeta;
/***/ },
/* 295 */,
/* 296 */,
/* 297 */,
/* 298 */,
/* 299 */
/***/ function(module, exports) {
"use strict";
'use strict';module.exports=trimTrailingLines;var line='\n';/* Remove final newline characters from `value`. */function trimTrailingLines(value){var val=String(value);var index=val.length;while(val.charAt(--index)===line){/* empty */}return val.slice(0,index+1);}
/***/ },
/* 300 */,
/* 301 */,
/* 302 */,
/* 303 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';module.exports=__webpack_require__(425);
/***/ },
/* 304 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.compose=exports.applyMiddleware=exports.bindActionCreators=exports.combineReducers=exports.createStore=undefined;var _createStore=__webpack_require__(448);var _createStore2=_interopRequireDefault(_createStore);var _combineReducers=__webpack_require__(998);var _combineReducers2=_interopRequireDefault(_combineReducers);var _bindActionCreators=__webpack_require__(997);var _bindActionCreators2=_interopRequireDefault(_bindActionCreators);var _applyMiddleware=__webpack_require__(996);var _applyMiddleware2=_interopRequireDefault(_applyMiddleware);var _compose=__webpack_require__(447);var _compose2=_interopRequireDefault(_compose);var _warning=__webpack_require__(449);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/*
* This is a dummy function to check if the function name has been altered by minification.
* If the function has been minified and NODE_ENV !== 'production', warn the user.
*/function isCrushed(){}if(process.env.NODE_ENV!=='production'&&typeof isCrushed.name==='string'&&isCrushed.name!=='isCrushed'){(0,_warning2.default)('You are currently using minified code outside of NODE_ENV === \'production\'. '+'This means that you are running a slower development build of Redux. '+'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify '+'or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) '+'to ensure you have the correct code for your production build.');}exports.createStore=_createStore2.default;exports.combineReducers=_combineReducers2.default;exports.bindActionCreators=_bindActionCreators2.default;exports.applyMiddleware=_applyMiddleware2.default;exports.compose=_compose2.default;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 305 */,
/* 306 */,
/* 307 */,
/* 308 */,
/* 309 */,
/* 310 */,
/* 311 */,
/* 312 */,
/* 313 */,
/* 314 */,
/* 315 */,
/* 316 */,
/* 317 */,
/* 318 */,
/* 319 */,
/* 320 */,
/* 321 */,
/* 322 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.canonicalize=exports.convertChangesToXML=exports.convertChangesToDMP=exports.parsePatch=exports.applyPatches=exports.applyPatch=exports.createPatch=exports.createTwoFilesPatch=exports.structuredPatch=exports.diffArrays=exports.diffJson=exports.diffCss=exports.diffSentences=exports.diffTrimmedLines=exports.diffLines=exports.diffWordsWithSpace=exports.diffWords=exports.diffChars=exports.Diff=undefined;/*istanbul ignore end*/var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);/*istanbul ignore end*/var/*istanbul ignore start*/_character=__webpack_require__(620)/*istanbul ignore end*/;var/*istanbul ignore start*/_word=__webpack_require__(624)/*istanbul ignore end*/;var/*istanbul ignore start*/_line=__webpack_require__(205)/*istanbul ignore end*/;var/*istanbul ignore start*/_sentence=__webpack_require__(623)/*istanbul ignore end*/;var/*istanbul ignore start*/_css=__webpack_require__(621)/*istanbul ignore end*/;var/*istanbul ignore start*/_json=__webpack_require__(622)/*istanbul ignore end*/;var/*istanbul ignore start*/_array=__webpack_require__(619)/*istanbul ignore end*/;var/*istanbul ignore start*/_apply=__webpack_require__(625)/*istanbul ignore end*/;var/*istanbul ignore start*/_parse=__webpack_require__(323)/*istanbul ignore end*/;var/*istanbul ignore start*/_create=__webpack_require__(626)/*istanbul ignore end*/;var/*istanbul ignore start*/_dmp=__webpack_require__(617)/*istanbul ignore end*/;var/*istanbul ignore start*/_xml=__webpack_require__(618)/*istanbul ignore end*/;/*istanbul ignore start*/function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}exports./*istanbul ignore end*/Diff=_base2['default'];/*istanbul ignore start*/exports./*istanbul ignore end*/diffChars=_character.diffChars;/*istanbul ignore start*/exports./*istanbul ignore end*/diffWords=_word.diffWords;/*istanbul ignore start*/exports./*istanbul ignore end*/diffWordsWithSpace=_word.diffWordsWithSpace;/*istanbul ignore start*/exports./*istanbul ignore end*/diffLines=_line.diffLines;/*istanbul ignore start*/exports./*istanbul ignore end*/diffTrimmedLines=_line.diffTrimmedLines;/*istanbul ignore start*/exports./*istanbul ignore end*/diffSentences=_sentence.diffSentences;/*istanbul ignore start*/exports./*istanbul ignore end*/diffCss=_css.diffCss;/*istanbul ignore start*/exports./*istanbul ignore end*/diffJson=_json.diffJson;/*istanbul ignore start*/exports./*istanbul ignore end*/diffArrays=_array.diffArrays;/*istanbul ignore start*/exports./*istanbul ignore end*/structuredPatch=_create.structuredPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/createTwoFilesPatch=_create.createTwoFilesPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/createPatch=_create.createPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/applyPatch=_apply.applyPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/applyPatches=_apply.applyPatches;/*istanbul ignore start*/exports./*istanbul ignore end*/parsePatch=_parse.parsePatch;/*istanbul ignore start*/exports./*istanbul ignore end*/convertChangesToDMP=_dmp.convertChangesToDMP;/*istanbul ignore start*/exports./*istanbul ignore end*/convertChangesToXML=_xml.convertChangesToXML;/*istanbul ignore start*/exports./*istanbul ignore end*/canonicalize=_json.canonicalize;/* See LICENSE file for terms of use *//*
* Text diff implementation.
*
* This library supports the following APIS:
* JsDiff.diffChars: Character by character diff
* JsDiff.diffWords: Word (as defined by \b regex) diff which ignores whitespace
* JsDiff.diffLines: Line based diff
*
* JsDiff.diffCss: Diff targeted at CSS content
*
* These methods are based on the implementation proposed in
* "An O(ND) Difference Algorithm and its Variations" (Myers, 1986).
* http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.4.6927
*/
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiZ2ZBZ0JBLEcseUJBQUEsYyxjQUFBLGlIQUNBLEcseUJBQUEsbUIsbUJBQUEsd0JBQ0EsRyx5QkFBQSxjLGNBQUEsd0JBQ0EsRyx5QkFBQSxjLGNBQUEsd0JBQ0EsRyx5QkFBQSxrQixrQkFBQSx3QkFFQSxHLHlCQUFBLGEsYUFBQSx3QkFDQSxHLHlCQUFBLGMsY0FBQSx3QkFFQSxHLHlCQUFBLGUsZUFBQSx3QkFFQSxHLHlCQUFBLGUsZ0JBQUEsd0JBQ0EsRyx5QkFBQSxlLGdCQUFBLHdCQUNBLEcseUJBQUEsZ0IsaUJBQUEsd0JBRUEsRyx5QkFBQSxhLGdCQUFBLHdCQUNBLEcseUJBQUEsYSxnQkFBQSxxS0FHRSxBLCtFQUVBLEEsdUZBQ0EsQSxrRkFDQSxBLG9HQUNBLEEsa0ZBQ0EsQSxnR0FDQSxBLDhGQUVBLEEsNkVBQ0EsQSxnRkFFQSxBLHFGQUVBLEEsZ0dBQ0EsQSx3R0FDQSxBLHdGQUNBLEEscUZBQ0EsQSx5RkFDQSxBLHFGQUNBLEEscUdBQ0EsQSxxR0FDQSxBIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogU2VlIExJQ0VOU0UgZmlsZSBmb3IgdGVybXMgb2YgdXNlICovXG5cbi8qXG4gKiBUZXh0IGRpZmYgaW1wbGVtZW50YXRpb24uXG4gKlxuICogVGhpcyBsaWJyYXJ5IHN1cHBvcnRzIHRoZSBmb2xsb3dpbmcgQVBJUzpcbiAqIEpzRGlmZi5kaWZmQ2hhcnM6IENoYXJhY3RlciBieSBjaGFyYWN0ZXIgZGlmZlxuICogSnNEaWZmLmRpZmZXb3JkczogV29yZCAoYXMgZGVmaW5lZCBieSBcXGIgcmVnZXgpIGRpZmYgd2hpY2ggaWdub3JlcyB3aGl0ZXNwYWNlXG4gKiBKc0RpZmYuZGlmZkxpbmVzOiBMaW5lIGJhc2VkIGRpZmZcbiAqXG4gKiBKc0RpZmYuZGlmZkNzczogRGlmZiB0YXJnZXRlZCBhdCBDU1MgY29udGVudFxuICpcbiAqIFRoZXNlIG1ldGhvZHMgYXJlIGJhc2VkIG9uIHRoZSBpbXBsZW1lbnRhdGlvbiBwcm9wb3NlZCBpblxuICogXCJBbiBPKE5EKSBEaWZmZXJlbmNlIEFsZ29yaXRobSBhbmQgaXRzIFZhcmlhdGlvbnNcIiAoTXllcnMsIDE5ODYpLlxuICogaHR0cDovL2NpdGVzZWVyeC5pc3QucHN1LmVkdS92aWV3ZG9jL3N1bW1hcnk/ZG9pPTEwLjEuMS40LjY5MjdcbiAqL1xuaW1wb3J0IERpZmYgZnJvbSAnLi9kaWZmL2Jhc2UnO1xuaW1wb3J0IHtkaWZmQ2hhcnN9IGZyb20gJy4vZGlmZi9jaGFyYWN0ZXInO1xuaW1wb3J0IHtkaWZmV29yZHMsIGRpZmZXb3Jkc1dpdGhTcGFjZX0gZnJvbSAnLi9kaWZmL3dvcmQnO1xuaW1wb3J0IHtkaWZmTGluZXMsIGRpZmZUcmltbWVkTGluZXN9IGZyb20gJy4vZGlmZi9saW5lJztcbmltcG9ydCB7ZGlmZlNlbnRlbmNlc30gZnJvbSAnLi9kaWZmL3NlbnRlbmNlJztcblxuaW1wb3J0IHtkaWZmQ3NzfSBmcm9tICcuL2RpZmYvY3NzJztcbmltcG9ydCB7ZGlmZkpzb24sIGNhbm9uaWNhbGl6ZX0gZnJvbSAnLi9kaWZmL2pzb24nO1xuXG5pbXBvcnQge2RpZmZBcnJheXN9IGZyb20gJy4vZGlmZi9hcnJheSc7XG5cbmltcG9ydCB7YXBwbHlQYXRjaCwgYXBwbHlQYXRjaGVzfSBmcm9tICcuL3BhdGNoL2FwcGx5JztcbmltcG9ydCB7cGFyc2VQYXRjaH0gZnJvbSAnLi9wYXRjaC9wYXJzZSc7XG5pbXBvcnQge3N0cnVjdHVyZWRQYXRjaCwgY3JlYXRlVHdvRmlsZXNQYXRjaCwgY3JlYXRlUGF0Y2h9IGZyb20gJy4vcGF0Y2gvY3JlYXRlJztcblxuaW1wb3J0IHtjb252ZXJ0Q2hhbmdlc1RvRE1QfSBmcm9tICcuL2NvbnZlcnQvZG1wJztcbmltcG9ydCB7Y29udmVydENoYW5nZXNUb1hNTH0gZnJvbSAnLi9jb252ZXJ0L3htbCc7XG5cbmV4cG9ydCB7XG4gIERpZmYsXG5cbiAgZGlmZkNoYXJzLFxuICBkaWZmV29yZHMsXG4gIGRpZmZXb3Jkc1dpdGhTcGFjZSxcbiAgZGlmZkxpbmVzLFxuICBkaWZmVHJpbW1lZExpbmVzLFxuICBkaWZmU2VudGVuY2VzLFxuXG4gIGRpZmZDc3MsXG4gIGRpZmZKc29uLFxuXG4gIGRpZmZBcnJheXMsXG5cbiAgc3RydWN0dXJlZFBhdGNoLFxuICBjcmVhdGVUd29GaWxlc1BhdGNoLFxuICBjcmVhdGVQYXRjaCxcbiAgYXBwbHlQYXRjaCxcbiAgYXBwbHlQYXRjaGVzLFxuICBwYXJzZVBhdGNoLFxuICBjb252ZXJ0Q2hhbmdlc1RvRE1QLFxuICBjb252ZXJ0Q2hhbmdlc1RvWE1MLFxuICBjYW5vbmljYWxpemVcbn07XG4iXX0=
/***/ },
/* 323 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports./*istanbul ignore end*/parsePatch=parsePatch;function parsePatch(uniDiff){/*istanbul ignore start*/var/*istanbul ignore end*/options=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var diffstr=uniDiff.split(/\r\n|[\n\v\f\r\x85]/),delimiters=uniDiff.match(/\r\n|[\n\v\f\r\x85]/g)||[],list=[],i=0;function parseIndex(){var index={};list.push(index);// Parse diff metadata
while(i<diffstr.length){var line=diffstr[i];// File header found, end parsing diff metadata
if(/^(\-\-\-|\+\+\+|@@)\s/.test(line)){break;}// Diff index
var header=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);if(header){index.index=header[1];}i++;}// Parse file headers if they are defined. Unified diff requires them, but
// there's no technical issues to have an isolated hunk without file header
parseFileHeader(index);parseFileHeader(index);// Parse hunks
index.hunks=[];while(i<diffstr.length){var _line=diffstr[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)){break;}else if(/^@@/.test(_line)){index.hunks.push(parseHunk());}else if(_line&&options.strict){// Ignore unexpected content unless in strict mode
throw new Error('Unknown line '+(i+1)+' '+JSON.stringify(_line));}else{i++;}}}// Parses the --- and +++ headers, if none are found, no lines
// are consumed.
function parseFileHeader(index){var headerPattern=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/;var fileHeader=headerPattern.exec(diffstr[i]);if(fileHeader){var keyPrefix=fileHeader[1]==='---'?'old':'new';index[keyPrefix+'FileName']=fileHeader[2];index[keyPrefix+'Header']=fileHeader[3];i++;}}// Parses a hunk
// This assumes that we are at the start of a hunk.
function parseHunk(){var chunkHeaderIndex=i,chunkHeaderLine=diffstr[i++],chunkHeader=chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);var hunk={oldStart:+chunkHeader[1],oldLines:+chunkHeader[2]||1,newStart:+chunkHeader[3],newLines:+chunkHeader[4]||1,lines:[],linedelimiters:[]};var addCount=0,removeCount=0;for(;i<diffstr.length;i++){// Lines starting with '---' could be mistaken for the "remove line" operation
// But they could be the header for the next file. Therefore prune such cases out.
if(diffstr[i].indexOf('--- ')===0&&i+2<diffstr.length&&diffstr[i+1].indexOf('+++ ')===0&&diffstr[i+2].indexOf('@@')===0){break;}var operation=diffstr[i][0];if(operation==='+'||operation==='-'||operation===' '||operation==='\\'){hunk.lines.push(diffstr[i]);hunk.linedelimiters.push(delimiters[i]||'\n');if(operation==='+'){addCount++;}else if(operation==='-'){removeCount++;}else if(operation===' '){addCount++;removeCount++;}}else{break;}}// Handle the empty block count case
if(!addCount&&hunk.newLines===1){hunk.newLines=0;}if(!removeCount&&hunk.oldLines===1){hunk.oldLines=0;}// Perform optional sanity checking
if(options.strict){if(addCount!==hunk.newLines){throw new Error('Added line count did not match for hunk at line '+(chunkHeaderIndex+1));}if(removeCount!==hunk.oldLines){throw new Error('Removed line count did not match for hunk at line '+(chunkHeaderIndex+1));}}return hunk;}while(i<diffstr.length){parseIndex();}return list;}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9wYXJzZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkZBQWdCLEEsVyxBQUFBLFdBQVQsUUFBQSxBQUFTLFlBQVQsQUFBb0IsUUFBdUIsMEJBQUEsRyx1QkFBZCxBQUFjLHNEQUFKLEFBQUksYUFDaEQsTUFBSSxTQUFVLFFBQUEsQUFBUSxNQUF0QixBQUFjLEFBQWMsdUJBQ3hCLFdBQWEsUUFBQSxBQUFRLE1BQVIsQUFBYyx5QkFEL0IsQUFDMEQsR0FDdEQsS0FGSixBQUVXLEdBQ1AsRUFISixBQUdRLEFBRVIsVUFBQSxBQUFTLGFBQWEsQUFDcEIsSUFBSSxPQUFKLEFBQVksQUFDWixRQUFBLEFBQUssS0FBTCxBQUFVLE9BR1Y7TUFBTyxFQUFJLFFBQVgsQUFBbUIsT0FBUSxBQUN6QixJQUFJLE1BQU8sUUFBWCxBQUFXLEFBQVEsR0FHbkI7R0FBSSx3QkFBQSxBQUF3QixLQUE1QixBQUFJLEFBQTZCLE1BQU8sQUFDdEMsQ0FDRCxPQUdEO0dBQUksUUFBUyxBQUFDLDJDQUFELEFBQTZDLEtBQTFELEFBQWEsQUFBa0QsQUFDL0QsU0FBQSxBQUFJLE9BQVEsQUFDVixPQUFBLEFBQU0sTUFBUSxPQUFkLEFBQWMsQUFBTyxBQUN0QixHQUVELENBQ0Q7QUFJRDtnQkFBQSxBQUFnQixBQUNoQix1QkFBQSxBQUFnQixPQUdoQjtNQUFBLEFBQU0sTUFBTixBQUFjLEFBRWQsU0FBTyxFQUFJLFFBQVgsQUFBbUIsT0FBUSxBQUN6QixJQUFJLE9BQU8sUUFBWCxBQUFXLEFBQVEsQUFFbkIsTUFBSSxpQ0FBQSxBQUFpQyxLQUFyQyxBQUFJLEFBQXNDLE9BQU8sQUFDL0MsQ0FDRCxNQUZELEtBRU8sSUFBSSxNQUFBLEFBQU0sS0FBVixBQUFJLEFBQVcsT0FBTyxBQUMzQixPQUFBLEFBQU0sTUFBTixBQUFZLEtBQVosQUFBaUIsQUFDbEIsYUFGTSxTQUVJLE9BQVEsUUFBWixBQUFvQixPQUFRLENBRWpDO0tBQU0sSUFBQSxBQUFJLE9BQU0saUJBQW1CLEVBQW5CLEFBQXVCLEdBQXZCLEFBQTRCLElBQU0sS0FBQSxBQUFLLFVBQXZELEFBQU0sQUFBNEMsQUFBZSxBQUNsRSxRQUhNLENBQUEsSUFHQSxBQUNMLENBQ0QsSUFDRixDQUNGO0FBSUQ7UUFBQSxBQUFTLGlCQUFULEFBQXlCLE1BQU8sQUFDOUIsSUFBTSxlQUFOLEFBQXNCLEFBQ3RCLDhDQUFNLFlBQWEsY0FBQSxBQUFjLEtBQUssUUFBdEMsQUFBbUIsQUFBbUIsQUFBUSxBQUM5QyxPQUFBLEFBQUksV0FBWSxBQUNkLElBQUksV0FBWSxXQUFBLEFBQVcsS0FBWCxBQUFrQixNQUFsQixBQUEwQixNQUExQyxBQUFrRCxBQUNsRCxZQUFNLFVBQU4sQUFBa0IsWUFBYyxXQUFoQyxBQUFnQyxBQUFXLEFBQzNDLFNBQU0sVUFBTixBQUFrQixVQUFZLFdBQTlCLEFBQThCLEFBQVcsQUFFekMsR0FDRCxJQUNGO0FBSUQ7UUFBQSxBQUFTLFlBQVksQUFDbkIsSUFBSSxrQkFBSixBQUF1QixFQUNuQixnQkFBa0IsUUFEdEIsQUFDc0IsQUFBUSxLQUMxQixZQUFjLGdCQUFBLEFBQWdCLE1BRmxDLEFBRWtCLEFBQXNCLEFBRXhDLGlEQUFJLE1BQU8sQUFDVCxVQUFVLENBQUMsWUFERixBQUNFLEFBQVksQUFDdkIsWUFBVSxDQUFDLFlBQUQsQUFBQyxBQUFZLElBRmQsQUFFb0IsQUFDN0IsV0FBVSxDQUFDLFlBSEYsQUFHRSxBQUFZLEFBQ3ZCLFlBQVUsQ0FBQyxZQUFELEFBQUMsQUFBWSxJQUpkLEFBSW9CLEFBQzdCLFFBTFMsQUFLRixBQUNQLGtCQU5GLEFBQVcsQUFNTyxBQUdsQixPQUFJLFVBQUosQUFBZSxFQUNYLFlBREosQUFDa0IsQUFDbEIsT0FBTyxFQUFJLFFBQVgsQUFBbUIsT0FBbkIsQUFBMkIsSUFBSztBQUc5QjtHQUFJLFFBQUEsQUFBUSxHQUFSLEFBQVcsUUFBWCxBQUFtQixVQUFuQixBQUErQixHQUN6QixFQUFBLEFBQUksRUFBSSxRQURkLEFBQ3NCLFFBQ2pCLFFBQVEsRUFBUixBQUFZLEdBQVosQUFBZSxRQUFmLEFBQXVCLFVBRjVCLEFBRXdDLEdBQ25DLFFBQVEsRUFBUixBQUFZLEdBQVosQUFBZSxRQUFmLEFBQXVCLFFBSGhDLEFBRzBDLEVBQUcsQUFDekMsQ0FDSCxNQUNELElBQUksV0FBWSxRQUFBLEFBQVEsR0FBeEIsQUFBZ0IsQUFBVyxBQUUzQixNQUFJLFlBQUEsQUFBYyxLQUFPLFlBQXJCLEFBQW1DLEtBQU8sWUFBMUMsQUFBd0QsS0FBTyxZQUFuRSxBQUFpRixLQUFNLEFBQ3JGLE1BQUEsQUFBSyxNQUFMLEFBQVcsS0FBSyxRQUFoQixBQUFnQixBQUFRLEFBQ3hCLFNBQUEsQUFBSyxlQUFMLEFBQW9CLEtBQUssV0FBQSxBQUFXLElBQXBDLEFBQTBDLEFBRTFDLFNBQUksWUFBSixBQUFrQixJQUFLLEFBQ3JCLENBQ0QsV0FGRCxLQUVPLElBQUksWUFBSixBQUFrQixJQUFLLEFBQzVCLENBQ0QsY0FGTSxLQUVBLElBQUksWUFBSixBQUFrQixJQUFLLEFBQzVCLENBQ0EsV0FDRCxjQUNGLENBWkQsS0FZTyxBQUNMLENBQ0QsTUFDRixFQUdEO0dBQUksQ0FBQSxBQUFDLFVBQVksS0FBQSxBQUFLLFdBQXRCLEFBQW1DLEVBQUcsQUFDcEMsTUFBQSxBQUFLLFNBQUwsQUFBZ0IsQUFDakIsRUFDRCxJQUFJLENBQUEsQUFBQyxhQUFlLEtBQUEsQUFBSyxXQUF6QixBQUFzQyxFQUFHLEFBQ3ZDLE1BQUEsQUFBSyxTQUFMLEFBQWdCLEFBQ2pCLEdBR0Q7R0FBSSxRQUFKLEFBQVksT0FBUSxBQUNsQixJQUFJLFdBQWEsS0FBakIsQUFBc0IsU0FBVSxBQUM5QixNQUFNLElBQUEsQUFBSSxPQUFNLG9EQUFzRCxpQkFBdEUsQUFBTSxBQUFVLEFBQXlFLEFBQzFGLElBQ0QsSUFBSSxjQUFnQixLQUFwQixBQUF5QixTQUFVLEFBQ2pDLE1BQU0sSUFBQSxBQUFJLE9BQU0sc0RBQXdELGlCQUF4RSxBQUFNLEFBQVUsQUFBMkUsQUFDNUYsSUFDRixDQUVELE9BQUEsQUFBTyxBQUNSLE1BRUQsT0FBTyxFQUFJLFFBQVgsQUFBbUIsT0FBUSxBQUN6QixDQUNELGFBRUQsT0FBQSxBQUFPLEFBQ1IiLCJmaWxlIjoicGFyc2UuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gcGFyc2VQYXRjaCh1bmlEaWZmLCBvcHRpb25zID0ge30pIHtcbiAgbGV0IGRpZmZzdHIgPSB1bmlEaWZmLnNwbGl0KC9cXHJcXG58W1xcblxcdlxcZlxcclxceDg1XS8pLFxuICAgICAgZGVsaW1pdGVycyA9IHVuaURpZmYubWF0Y2goL1xcclxcbnxbXFxuXFx2XFxmXFxyXFx4ODVdL2cpIHx8IFtdLFxuICAgICAgbGlzdCA9IFtdLFxuICAgICAgaSA9IDA7XG5cbiAgZnVuY3Rpb24gcGFyc2VJbmRleCgpIHtcbiAgICBsZXQgaW5kZXggPSB7fTtcbiAgICBsaXN0LnB1c2goaW5kZXgpO1xuXG4gICAgLy8gUGFyc2UgZGlmZiBtZXRhZGF0YVxuICAgIHdoaWxlIChpIDwgZGlmZnN0ci5sZW5ndGgpIHtcbiAgICAgIGxldCBsaW5lID0gZGlmZnN0cltpXTtcblxuICAgICAgLy8gRmlsZSBoZWFkZXIgZm91bmQsIGVuZCBwYXJzaW5nIGRpZmYgbWV0YWRhdGFcbiAgICAgIGlmICgvXihcXC1cXC1cXC18XFwrXFwrXFwrfEBAKVxccy8udGVzdChsaW5lKSkge1xuICAgICAgICBicmVhaztcbiAgICAgIH1cblxuICAgICAgLy8gRGlmZiBpbmRleFxuICAgICAgbGV0IGhlYWRlciA9ICgvXig/OkluZGV4OnxkaWZmKD86IC1yIFxcdyspKylcXHMrKC4rPylcXHMqJC8pLmV4ZWMobGluZSk7XG4gICAgICBpZiAoaGVhZGVyKSB7XG4gICAgICAgIGluZGV4LmluZGV4ID0gaGVhZGVyWzFdO1xuICAgICAgfVxuXG4gICAgICBpKys7XG4gICAgfVxuXG4gICAgLy8gUGFyc2UgZmlsZSBoZWFkZXJzIGlmIHRoZXkgYXJlIGRlZmluZWQuIFVuaWZpZWQgZGlmZiByZXF1aXJlcyB0aGVtLCBidXRcbiAgICAvLyB0aGVyZSdzIG5vIHRlY2huaWNhbCBpc3N1ZXMgdG8gaGF2ZSBhbiBpc29sYXRlZCBodW5rIHdpdGhvdXQgZmlsZSBoZWFkZXJcbiAgICBwYXJzZUZpbGVIZWFkZXIoaW5kZXgpO1xuICAgIHBhcnNlRmlsZUhlYWRlcihpbmRleCk7XG5cbiAgICAvLyBQYXJzZSBodW5rc1xuICAgIGluZGV4Lmh1bmtzID0gW107XG5cbiAgICB3aGlsZSAoaSA8IGRpZmZzdHIubGVuZ3RoKSB7XG4gICAgICBsZXQgbGluZSA9IGRpZmZzdHJbaV07XG5cbiAgICAgIGlmICgvXihJbmRleDp8ZGlmZnxcXC1cXC1cXC18XFwrXFwrXFwrKVxccy8udGVzdChsaW5lKSkge1xuICAgICAgICBicmVhaztcbiAgICAgIH0gZWxzZSBpZiAoL15AQC8udGVzdChsaW5lKSkge1xuICAgICAgICBpbmRleC5odW5rcy5wdXNoKHBhcnNlSHVuaygpKTtcbiAgICAgIH0gZWxzZSBpZiAobGluZSAmJiBvcHRpb25zLnN0cmljdCkge1xuICAgICAgICAvLyBJZ25vcmUgdW5leHBlY3RlZCBjb250ZW50IHVubGVzcyBpbiBzdHJpY3QgbW9kZVxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1Vua25vd24gbGluZSAnICsgKGkgKyAxKSArICcgJyArIEpTT04uc3RyaW5naWZ5KGxpbmUpKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGkrKztcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyBQYXJzZXMgdGhlIC0tLSBhbmQgKysrIGhlYWRlcnMsIGlmIG5vbmUgYXJlIGZvdW5kLCBubyBsaW5lc1xuICAvLyBhcmUgY29uc3VtZWQuXG4gIGZ1bmN0aW9uIHBhcnNlRmlsZUhlYWRlcihpbmRleCkge1xuICAgIGNvbnN0IGhlYWRlclBhdHRlcm4gPSAvXigtLS18XFwrXFwrXFwrKVxccysoW1xcUyBdKikoPzpcXHQoLio/KVxccyopPyQvO1xuICAgIGNvbnN0IGZpbGVIZWFkZXIgPSBoZWFkZXJQYXR0ZXJuLmV4ZWMoZGlmZnN0cltpXSk7XG4gICAgaWYgKGZpbGVIZWFkZXIpIHtcbiAgICAgIGxldCBrZXlQcmVmaXggPSBmaWxlSGVhZGVyWzFdID09PSAnLS0tJyA/ICdvbGQnIDogJ25ldyc7XG4gICAgICBpbmRleFtrZXlQcmVmaXggKyAnRmlsZU5hbWUnXSA9IGZpbGVIZWFkZXJbMl07XG4gICAgICBpbmRleFtrZXlQcmVmaXggKyAnSGVhZGVyJ10gPSBmaWxlSGVhZGVyWzNdO1xuXG4gICAgICBpKys7XG4gICAgfVxuICB9XG5cbiAgLy8gUGFyc2VzIGEgaHVua1xuICAvLyBUaGlzIGFzc3VtZXMgdGhhdCB3ZSBhcmUgYXQgdGhlIHN0YXJ0IG9mIGEgaHVuay5cbiAgZnVuY3Rpb24gcGFyc2VIdW5rKCkge1xuICAgIGxldCBjaHVua0hlYWRlckluZGV4ID0gaSxcbiAgICAgICAgY2h1bmtIZWFkZXJMaW5lID0gZGlmZnN0cltpKytdLFxuICAgICAgICBjaHVua0hlYWRlciA9IGNodW5rSGVhZGVyTGluZS5zcGxpdCgvQEAgLShcXGQrKSg/OiwoXFxkKykpPyBcXCsoXFxkKykoPzosKFxcZCspKT8gQEAvKTtcblxuICAgIGxldCBodW5rID0ge1xuICAgICAgb2xkU3RhcnQ6ICtjaHVua0hlYWRlclsxXSxcbiAgICAgIG9sZExpbmVzOiArY2h1bmtIZWFkZXJbMl0gfHwgMSxcbiAgICAgIG5ld1N0YXJ0OiArY2h1bmtIZWFkZXJbM10sXG4gICAgICBuZXdMaW5lczogK2NodW5rSGVhZGVyWzRdIHx8IDEsXG4gICAgICBsaW5lczogW10sXG4gICAgICBsaW5lZGVsaW1pdGVyczogW11cbiAgICB9O1xuXG4gICAgbGV0IGFkZENvdW50ID0gMCxcbiAgICAgICAgcmVtb3ZlQ291bnQgPSAwO1xuICAgIGZvciAoOyBpIDwgZGlmZnN0ci5sZW5ndGg7IGkrKykge1xuICAgICAgLy8gTGluZXMgc3RhcnRpbmcgd2l0aCAnLS0tJyBjb3VsZCBiZSBtaXN0YWtlbiBmb3IgdGhlIFwicmVtb3ZlIGxpbmVcIiBvcGVyYXRpb25cbiAgICAgIC8vIEJ1dCB0aGV5IGNvdWxkIGJlIHRoZSBoZWFkZXIgZm9yIHRoZSBuZXh0IGZpbGUuIFRoZXJlZm9yZSBwcnVuZSBzdWNoIGNhc2VzIG91dC5cbiAgICAgIGlmIChkaWZmc3RyW2ldLmluZGV4T2YoJy0tLSAnKSA9PT0gMFxuICAgICAgICAgICAgJiYgKGkgKyAyIDwgZGlmZnN0ci5sZW5ndGgpXG4gICAgICAgICAgICAmJiBkaWZmc3RyW2kgKyAxXS5pbmRleE9mKCcrKysgJykgPT09IDBcbiAgICAgICAgICAgICYmIGRpZmZzdHJbaSArIDJdLmluZGV4T2YoJ0BAJykgPT09IDApIHtcbiAgICAgICAgICBicmVhaztcbiAgICAgIH1cbiAgICAgIGxldCBvcGVyYXRpb24gPSBkaWZmc3RyW2ldWzBdO1xuXG4gICAgICBpZiAob3BlcmF0aW9uID09PSAnKycgfHwgb3BlcmF0aW9uID09PSAnLScgfHwgb3BlcmF0aW9uID09PSAnICcgfHwgb3BlcmF0aW9uID09PSAnXFxcXCcpIHtcbiAgICAgICAgaHVuay5saW5lcy5wdXNoKGRpZmZzdHJbaV0pO1xuICAgICAgICBodW5rLmxpbmVkZWxpbWl0ZXJzLnB1c2goZGVsaW1pdGVyc1tpXSB8fCAnXFxuJyk7XG5cbiAgICAgICAgaWYgKG9wZXJhdGlvbiA9PT0gJysnKSB7XG4gICAgICAgICAgYWRkQ291bnQrKztcbiAgICAgICAgfSBlbHNlIGlmIChvcGVyYXRpb24gPT09ICctJykge1xuICAgICAgICAgIHJlbW92ZUNvdW50Kys7XG4gICAgICAgIH0gZWxzZSBpZiAob3BlcmF0aW9uID09PSAnICcpIHtcbiAgICAgICAgICBhZGRDb3VudCsrO1xuICAgICAgICAgIHJlbW92ZUNvdW50Kys7XG4gICAgICAgIH1cbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGJyZWFrO1xuICAgICAgfVxuICAgIH1cblxuICAgIC8vIEhhbmRsZSB0aGUgZW1wdHkgYmxvY2sgY291bnQgY2FzZVxuICAgIGlmICghYWRkQ291bnQgJiYgaHVuay5uZXdMaW5lcyA9PT0gMSkge1xuICAgICAgaHVuay5uZXdMaW5lcyA9IDA7XG4gICAgfVxuICAgIGlmICghcmVtb3ZlQ291bnQgJiYgaHVuay5vbGRMaW5lcyA9PT0gMSkge1xuICAgICAgaHVuay5vbGRMaW5lcyA9IDA7XG4gICAgfVxuXG4gICAgLy8gUGVyZm9ybSBvcHRpb25hbCBzYW5pdHkgY2hlY2tpbmdcbiAgICBpZiAob3B0aW9ucy5zdHJpY3QpIHtcbiAgICAgIGlmIChhZGRDb3VudCAhPT0gaHVuay5uZXdMaW5lcykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0FkZGVkIGxpbmUgY291bnQgZGlkIG5vdCBtYXRjaCBmb3IgaHVuayBhdCBsaW5lICcgKyAoY2h1bmtIZWFkZXJJbmRleCArIDEpKTtcbiAgICAgIH1cbiAgICAgIGlmIChyZW1vdmVDb3VudCAhPT0gaHVuay5vbGRMaW5lcykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1JlbW92ZWQgbGluZSBjb3VudCBkaWQgbm90IG1hdGNoIGZvciBodW5rIGF0IGxpbmUgJyArIChjaHVua0hlYWRlckluZGV4ICsgMSkpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBodW5rO1xuICB9XG5cbiAgd2hpbGUgKGkgPCBkaWZmc3RyLmxlbmd0aCkge1xuICAgIHBhcnNlSW5kZXgoKTtcbiAgfVxuXG4gIHJldHVybiBsaXN0O1xufVxuIl19
/***/ },
/* 324 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports./*istanbul ignore end*/generateOptions=generateOptions;function generateOptions(options,defaults){if(typeof options==='function'){defaults.callback=options;}else if(options){for(var name in options){/* istanbul ignore else */if(options.hasOwnProperty(name)){defaults[name]=options[name];}}}return defaults;}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL3BhcmFtcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkZBQWdCLEEsZ0JBQUEsQSxnQkFBVCxRQUFTLEFBQVQsaUJBQXlCLEFBQXpCLFFBQWtDLEFBQWxDLFNBQTRDLEFBQ2pELElBQUksTUFBTyxBQUFQLFdBQW1CLEFBQXZCLFdBQW1DLEFBQ2pDLFVBQVMsQUFBVCxTQUFvQixBQUFwQixBQUNELFFBRkQsS0FFTyxJQUFJLEFBQUosUUFBYSxBQUNsQixLQUFLLEdBQUksQUFBVCxRQUFpQixBQUFqQixTQUEwQixDQUV4Qiw2QkFBSSxRQUFRLEFBQVIsZUFBdUIsQUFBdkIsQUFBSixNQUFrQyxBQUNoQyxVQUFTLEFBQVQsTUFBaUIsUUFBUSxBQUFSLEFBQWpCLEFBQ0QsTUFDRixDQUNGLENBQ0QsT0FBTyxBQUFQLEFBQ0QiLCJmaWxlIjoicGFyYW1zLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGdlbmVyYXRlT3B0aW9ucyhvcHRpb25zLCBkZWZhdWx0cykge1xuICBpZiAodHlwZW9mIG9wdGlvbnMgPT09ICdmdW5jdGlvbicpIHtcbiAgICBkZWZhdWx0cy5jYWxsYmFjayA9IG9wdGlvbnM7XG4gIH0gZWxzZSBpZiAob3B0aW9ucykge1xuICAgIGZvciAobGV0IG5hbWUgaW4gb3B0aW9ucykge1xuICAgICAgLyogaXN0YW5idWwgaWdub3JlIGVsc2UgKi9cbiAgICAgIGlmIChvcHRpb25zLmhhc093blByb3BlcnR5KG5hbWUpKSB7XG4gICAgICAgIGRlZmF1bHRzW25hbWVdID0gb3B0aW9uc1tuYW1lXTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbiAgcmV0dXJuIGRlZmF1bHRzO1xufVxuIl19
/***/ },
/* 325 */,
/* 326 */,
/* 327 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventListener
* @typechecks
*/'use strict';var emptyFunction=__webpack_require__(40);/**
* Upstream version of event listener. Does not take into account specific
* nature of platform.
*/var EventListener={/**
* Listen to DOM events during the bubble phase.
*
* @param {DOMEventTarget} target DOM element to register listener on.
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
* @param {function} callback Callback function.
* @return {object} Object with a `remove` method.
*/listen:function listen(target,eventType,callback){if(target.addEventListener){target.addEventListener(eventType,callback,false);return{remove:function remove(){target.removeEventListener(eventType,callback,false);}};}else if(target.attachEvent){target.attachEvent('on'+eventType,callback);return{remove:function remove(){target.detachEvent('on'+eventType,callback);}};}},/**
* Listen to DOM events during the capture phase.
*
* @param {DOMEventTarget} target DOM element to register listener on.
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
* @param {function} callback Callback function.
* @return {object} Object with a `remove` method.
*/capture:function capture(target,eventType,callback){if(target.addEventListener){target.addEventListener(eventType,callback,true);return{remove:function remove(){target.removeEventListener(eventType,callback,true);}};}else{if(process.env.NODE_ENV!=='production'){console.error('Attempted to listen to events during the capture phase on a '+'browser that does not support the capture phase. Your application '+'will not receive some events.');}return{remove:emptyFunction};}},registerDefault:function registerDefault(){}};module.exports=EventListener;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 328 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule containsNode
* @typechecks
*/'use strict';var isTextNode=__webpack_require__(654);/*eslint-disable no-bitwise *//**
* Checks if a given DOM node contains or is another DOM node.
*
* @param {?DOMNode} outerNode Outer DOM node.
* @param {?DOMNode} innerNode Inner DOM node.
* @return {boolean} True if `outerNode` contains or is `innerNode`.
*/function containsNode(_x,_x2){var _again=true;_function:while(_again){var outerNode=_x,innerNode=_x2;_again=false;if(!outerNode||!innerNode){return false;}else if(outerNode===innerNode){return true;}else if(isTextNode(outerNode)){return false;}else if(isTextNode(innerNode)){_x=outerNode;_x2=innerNode.parentNode;_again=true;continue _function;}else if(outerNode.contains){return outerNode.contains(innerNode);}else if(outerNode.compareDocumentPosition){return!!(outerNode.compareDocumentPosition(innerNode)&16);}else{return false;}}}module.exports=containsNode;
/***/ },
/* 329 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule focusNode
*/'use strict';/**
* @param {DOMElement} node input/textarea to focus
*/function focusNode(node){// IE8 can throw "Can't move focus to the control because it is invisible,
// not enabled, or of a type that does not accept the focus." for all kinds of
// reasons that are too expensive and fragile to test.
try{node.focus();}catch(e){}}module.exports=focusNode;
/***/ },
/* 330 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getActiveElement
* @typechecks
*//* eslint-disable fb-www/typeof-undefined *//**
* Same as document.activeElement but wraps in a try-catch block. In IE it is
* not safe to call document.activeElement if there is nothing focused.
*
* The activeElement will be null only if the document or document body is not
* yet defined.
*/'use strict';function getActiveElement()/*?DOMElement*/{if(typeof document==='undefined'){return null;}try{return document.activeElement||document.body;}catch(e){return document.body;}}module.exports=getActiveElement;
/***/ },
/* 331 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getMarkupWrap
*//*eslint-disable fb-www/unsafe-html */'use strict';var ExecutionEnvironment=__webpack_require__(18);var invariant=__webpack_require__(6);/**
* Dummy container used to detect which wraps are necessary.
*/var dummyNode=ExecutionEnvironment.canUseDOM?document.createElement('div'):null;/**
* Some browsers cannot use `innerHTML` to render certain elements standalone,
* so we wrap them, render the wrapped nodes, then extract the desired node.
*
* In IE8, certain elements cannot render alone, so wrap all elements ('*').
*/var shouldWrap={};var selectWrap=[1,'<select multiple="true">','</select>'];var tableWrap=[1,'<table>','</table>'];var trWrap=[3,'<table><tbody><tr>','</tr></tbody></table>'];var svgWrap=[1,'<svg xmlns="http://www.w3.org/2000/svg">','</svg>'];var markupWrap={'*':[1,'?<div>','</div>'],'area':[1,'<map>','</map>'],'col':[2,'<table><tbody></tbody><colgroup>','</colgroup></table>'],'legend':[1,'<fieldset>','</fieldset>'],'param':[1,'<object>','</object>'],'tr':[2,'<table><tbody>','</tbody></table>'],'optgroup':selectWrap,'option':selectWrap,'caption':tableWrap,'colgroup':tableWrap,'tbody':tableWrap,'tfoot':tableWrap,'thead':tableWrap,'td':trWrap,'th':trWrap};// Initialize the SVG elements since we know they'll always need to be wrapped
// consistently. If they are created inside a <div> they will be initialized in
// the wrong namespace (and will not display).
var svgElements=['circle','clipPath','defs','ellipse','g','image','line','linearGradient','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','text','tspan'];svgElements.forEach(function(nodeName){markupWrap[nodeName]=svgWrap;shouldWrap[nodeName]=true;});/**
* Gets the markup wrap configuration for the supplied `nodeName`.
*
* NOTE: This lazily detects which wraps are necessary for the current browser.
*
* @param {string} nodeName Lowercase `nodeName`.
* @return {?array} Markup wrap configuration, if applicable.
*/function getMarkupWrap(nodeName){!!!dummyNode?process.env.NODE_ENV!=='production'?invariant(false,'Markup wrapping node not initialized'):invariant(false):undefined;if(!markupWrap.hasOwnProperty(nodeName)){nodeName='*';}if(!shouldWrap.hasOwnProperty(nodeName)){if(nodeName==='*'){dummyNode.innerHTML='<link />';}else{dummyNode.innerHTML='<'+nodeName+'></'+nodeName+'>';}shouldWrap[nodeName]=!dummyNode.firstChild;}return shouldWrap[nodeName]?markupWrap[nodeName]:null;}module.exports=getMarkupWrap;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 332 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shallowEqual
* @typechecks
*
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var hasOwnProperty=Object.prototype.hasOwnProperty;/**
* Performs equality by iterating through keys on an object and returning false
* when any key has values which are not strictly equal between the arguments.
* Returns true when the values of all keys are strictly equal.
*/function shallowEqual(objA,objB){if(objA===objB){return true;}if((typeof objA==='undefined'?'undefined':_typeof(objA))!=='object'||objA===null||(typeof objB==='undefined'?'undefined':_typeof(objB))!=='object'||objB===null){return false;}var keysA=Object.keys(objA);var keysB=Object.keys(objB);if(keysA.length!==keysB.length){return false;}// Test for A's keys different from B.
var bHasOwnProperty=hasOwnProperty.bind(objB);for(var i=0;i<keysA.length;i++){if(!bHasOwnProperty(keysA[i])||objA[keysA[i]]!==objB[keysA[i]]){return false;}}return true;}module.exports=shallowEqual;
/***/ },
/* 333 */,
/* 334 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2015, Yahoo! Inc.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/'use strict';var REACT_STATICS={childContextTypes:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,mixins:true,propTypes:true,type:true};var KNOWN_STATICS={name:true,length:true,prototype:true,caller:true,arguments:true,arity:true};var isGetOwnPropertySymbolsAvailable=typeof Object.getOwnPropertySymbols==='function';module.exports=function hoistNonReactStatics(targetComponent,sourceComponent,customStatics){if(typeof sourceComponent!=='string'){// don't hoist over string (html) components
var keys=Object.getOwnPropertyNames(sourceComponent);/* istanbul ignore else */if(isGetOwnPropertySymbolsAvailable){keys=keys.concat(Object.getOwnPropertySymbols(sourceComponent));}for(var i=0;i<keys.length;++i){if(!REACT_STATICS[keys[i]]&&!KNOWN_STATICS[keys[i]]&&(!customStatics||!customStatics[keys[i]])){try{targetComponent[keys[i]]=sourceComponent[keys[i]];}catch(error){}}}}return targetComponent;};
/***/ },
/* 335 */
/***/ function(module, exports) {
"use strict";
'use strict';/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/// The _isBuffer check is for Safari 5-7 support, because it's missing
// Object.prototype.constructor. Remove this eventually
module.exports=function(obj){return obj!=null&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer);};function isBuffer(obj){return!!obj.constructor&&typeof obj.constructor.isBuffer==='function'&&obj.constructor.isBuffer(obj);}// For Node v0.10 support. Remove this eventually.
function isSlowBuffer(obj){return typeof obj.readFloatLE==='function'&&typeof obj.slice==='function'&&isBuffer(obj.slice(0,0));}
/***/ },
/* 336 */,
/* 337 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _root=__webpack_require__(700);var _root2=_interopRequireDefault(_root);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** Built-in value references. */var _Symbol=_root2.default.Symbol;exports.default=_Symbol;
/***/ },
/* 338 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _baseGetTag=__webpack_require__(694);var _baseGetTag2=_interopRequireDefault(_baseGetTag);var _getPrototype=__webpack_require__(696);var _getPrototype2=_interopRequireDefault(_getPrototype);var _isObjectLike=__webpack_require__(701);var _isObjectLike2=_interopRequireDefault(_isObjectLike);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** `Object#toString` result references. */var objectTag='[object Object]';/** Used for built-in method references. */var funcProto=Function.prototype,objectProto=Object.prototype;/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/** Used to infer the `Object` constructor. */var objectCtorString=funcToString.call(Object);/**
* Checks if `value` is a plain object, that is, an object created by the
* `Object` constructor or one with a `[[Prototype]]` of `null`.
*
* @static
* @memberOf _
* @since 0.8.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
* @example
*
* function Foo() {
* this.a = 1;
* }
*
* _.isPlainObject(new Foo);
* // => false
*
* _.isPlainObject([1, 2, 3]);
* // => false
*
* _.isPlainObject({ 'x': 0, 'y': 0 });
* // => true
*
* _.isPlainObject(Object.create(null));
* // => true
*/function isPlainObject(value){if(!(0,_isObjectLike2.default)(value)||(0,_baseGetTag2.default)(value)!=objectTag){return false;}var proto=(0,_getPrototype2.default)(value);if(proto===null){return true;}var Ctor=hasOwnProperty.call(proto,'constructor')&&proto.constructor;return typeof Ctor=='function'&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString;}exports.default=isPlainObject;
/***/ },
/* 339 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74),root=__webpack_require__(32);/* Built-in method references that are verified to be native. */var Set=getNative(root,'Set');module.exports=Set;
/***/ },
/* 340 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var root=__webpack_require__(32);/** Built-in value references. */var Uint8Array=root.Uint8Array;module.exports=Uint8Array;
/***/ },
/* 341 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74),root=__webpack_require__(32);/* Built-in method references that are verified to be native. */var WeakMap=getNative(root,'WeakMap');module.exports=WeakMap;
/***/ },
/* 342 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseTimes=__webpack_require__(352),isArguments=__webpack_require__(165),isArray=__webpack_require__(9),isBuffer=__webpack_require__(114),isIndex=__webpack_require__(110),isTypedArray=__webpack_require__(169);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Creates an array of the enumerable property names of the array-like `value`.
*
* @private
* @param {*} value The value to query.
* @param {boolean} inherited Specify returning inherited property names.
* @returns {Array} Returns the array of property names.
*/function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value){if((inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(// Safari 9 has enumerable `arguments.length` in strict mode.
key=='length'||// Node.js 0.10 has enumerable non-index properties on buffers.
isBuff&&(key=='offset'||key=='parent')||// PhantomJS 2 has enumerable non-index properties on typed arrays.
isType&&(key=='buffer'||key=='byteLength'||key=='byteOffset')||// Skip index properties.
isIndex(key,length)))){result.push(key);}}return result;}module.exports=arrayLikeKeys;
/***/ },
/* 343 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.some` for arrays without support for iteratee
* shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {boolean} Returns `true` if any element passes the predicate check,
* else `false`.
*/function arraySome(array,predicate){var index=-1,length=array==null?0:array.length;while(++index<length){if(predicate(array[index],index,array)){return true;}}return false;}module.exports=arraySome;
/***/ },
/* 344 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var copyObject=__webpack_require__(90),keys=__webpack_require__(24);/**
* The base implementation of `_.assign` without support for multiple sources
* or `customizer` functions.
*
* @private
* @param {Object} object The destination object.
* @param {Object} source The source object.
* @returns {Object} Returns `object`.
*/function baseAssign(object,source){return object&&copyObject(source,keys(source),object);}module.exports=baseAssign;
/***/ },
/* 345 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.clamp` which doesn't coerce arguments.
*
* @private
* @param {number} number The number to clamp.
* @param {number} [lower] The lower bound.
* @param {number} upper The upper bound.
* @returns {number} Returns the clamped number.
*/function baseClamp(number,lower,upper){if(number===number){if(upper!==undefined){number=number<=upper?number:upper;}if(lower!==undefined){number=number>=lower?number:lower;}}return number;}module.exports=baseClamp;
/***/ },
/* 346 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var SetCache=__webpack_require__(143),arrayIncludes=__webpack_require__(145),arrayIncludesWith=__webpack_require__(215),arrayMap=__webpack_require__(44),baseUnary=__webpack_require__(152),cacheHas=__webpack_require__(153);/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/**
* The base implementation of methods like `_.difference` without support
* for excluding multiple arrays or iteratee shorthands.
*
* @private
* @param {Array} array The array to inspect.
* @param {Array} values The values to exclude.
* @param {Function} [iteratee] The iteratee invoked per element.
* @param {Function} [comparator] The comparator invoked per element.
* @returns {Array} Returns the new array of filtered values.
*/function baseDifference(array,values,iteratee,comparator){var index=-1,includes=arrayIncludes,isCommon=true,length=array.length,result=[],valuesLength=values.length;if(!length){return result;}if(iteratee){values=arrayMap(values,baseUnary(iteratee));}if(comparator){includes=arrayIncludesWith;isCommon=false;}else if(values.length>=LARGE_ARRAY_SIZE){includes=cacheHas;isCommon=false;values=new SetCache(values);}outer:while(++index<length){var value=array[index],computed=iteratee==null?value:iteratee(value);value=comparator||value!==0?value:0;if(isCommon&&computed===computed){var valuesIndex=valuesLength;while(valuesIndex--){if(values[valuesIndex]===computed){continue outer;}}result.push(value);}else if(!includes(values,computed,comparator)){result.push(value);}}return result;}module.exports=baseDifference;
/***/ },
/* 347 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.findIndex` and `_.findLastIndex` without
* support for iteratee shorthands.
*
* @private
* @param {Array} array The array to inspect.
* @param {Function} predicate The function invoked per iteration.
* @param {number} fromIndex The index to search from.
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {number} Returns the index of the matched value, else `-1`.
*/function baseFindIndex(array,predicate,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?1:-1);while(fromRight?index--:++index<length){if(predicate(array[index],index,array)){return index;}}return-1;}module.exports=baseFindIndex;
/***/ },
/* 348 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayPush=__webpack_require__(216),isArray=__webpack_require__(9);/**
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
* symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @param {Function} keysFunc The function to get the keys of `object`.
* @param {Function} symbolsFunc The function to get the symbols of `object`.
* @returns {Array} Returns the array of property names and symbols.
*/function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object));}module.exports=baseGetAllKeys;
/***/ },
/* 349 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFindIndex=__webpack_require__(347),baseIsNaN=__webpack_require__(725),strictIndexOf=__webpack_require__(820);/**
* The base implementation of `_.indexOf` without `fromIndex` bounds checks.
*
* @private
* @param {Array} array The array to inspect.
* @param {*} value The value to search for.
* @param {number} fromIndex The index to search from.
* @returns {number} Returns the index of the matched value, else `-1`.
*/function baseIndexOf(array,value,fromIndex){return value===value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex);}module.exports=baseIndexOf;
/***/ },
/* 350 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseEach=__webpack_require__(89),isArrayLike=__webpack_require__(41);/**
* The base implementation of `_.map` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
*/function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection);});return result;}module.exports=baseMap;
/***/ },
/* 351 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var identity=__webpack_require__(60),metaMap=__webpack_require__(371);/**
* The base implementation of `setData` without support for hot loop shorting.
*
* @private
* @param {Function} func The function to associate metadata with.
* @param {*} data The metadata.
* @returns {Function} Returns `func`.
*/var baseSetData=!metaMap?identity:function(func,data){metaMap.set(func,data);return func;};module.exports=baseSetData;
/***/ },
/* 352 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.times` without support for iteratee shorthands
* or max array length checks.
*
* @private
* @param {number} n The number of times to invoke `iteratee`.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Array} Returns the array of results.
*/function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n){result[index]=iteratee(index);}return result;}module.exports=baseTimes;
/***/ },
/* 353 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88),arrayMap=__webpack_require__(44),isArray=__webpack_require__(9),isSymbol=__webpack_require__(76);/** Used as references for various `Number` constants. */var INFINITY=1/0;/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolToString=symbolProto?symbolProto.toString:undefined;/**
* The base implementation of `_.toString` which doesn't convert nullish
* values to empty strings.
*
* @private
* @param {*} value The value to process.
* @returns {string} Returns the string.
*/function baseToString(value){// Exit early for strings to avoid a performance hit in some environments.
if(typeof value=='string'){return value;}if(isArray(value)){// Recursively convert values (susceptible to call stack limits).
return arrayMap(value,baseToString)+'';}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}module.exports=baseToString;
/***/ },
/* 354 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var identity=__webpack_require__(60);/**
* Casts `value` to `identity` if it's not a function.
*
* @private
* @param {*} value The value to inspect.
* @returns {Function} Returns cast function.
*/function castFunction(value){return typeof value=='function'?value:identity;}module.exports=castFunction;
/***/ },
/* 355 */
/***/ function(module, exports) {
"use strict";
"use strict";/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* Creates an array that is the composition of partially applied arguments,
* placeholders, and provided arguments into a single array of arguments.
*
* @private
* @param {Array} args The provided arguments.
* @param {Array} partials The arguments to prepend to those provided.
* @param {Array} holders The `partials` placeholder indexes.
* @params {boolean} [isCurried] Specify composing for a curried function.
* @returns {Array} Returns the new array of composed arguments.
*/function composeArgs(args,partials,holders,isCurried){var argsIndex=-1,argsLength=args.length,holdersLength=holders.length,leftIndex=-1,leftLength=partials.length,rangeLength=nativeMax(argsLength-holdersLength,0),result=Array(leftLength+rangeLength),isUncurried=!isCurried;while(++leftIndex<leftLength){result[leftIndex]=partials[leftIndex];}while(++argsIndex<holdersLength){if(isUncurried||argsIndex<argsLength){result[holders[argsIndex]]=args[argsIndex];}}while(rangeLength--){result[leftIndex++]=args[argsIndex++];}return result;}module.exports=composeArgs;
/***/ },
/* 356 */
/***/ function(module, exports) {
"use strict";
"use strict";/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* This function is like `composeArgs` except that the arguments composition
* is tailored for `_.partialRight`.
*
* @private
* @param {Array} args The provided arguments.
* @param {Array} partials The arguments to append to those provided.
* @param {Array} holders The `partials` placeholder indexes.
* @params {boolean} [isCurried] Specify composing for a curried function.
* @returns {Array} Returns the new array of composed arguments.
*/function composeArgsRight(args,partials,holders,isCurried){var argsIndex=-1,argsLength=args.length,holdersIndex=-1,holdersLength=holders.length,rightIndex=-1,rightLength=partials.length,rangeLength=nativeMax(argsLength-holdersLength,0),result=Array(rangeLength+rightLength),isUncurried=!isCurried;while(++argsIndex<rangeLength){result[argsIndex]=args[argsIndex];}var offset=argsIndex;while(++rightIndex<rightLength){result[offset+rightIndex]=partials[rightIndex];}while(++holdersIndex<holdersLength){if(isUncurried||argsIndex<argsLength){result[offset+holders[holdersIndex]]=args[argsIndex++];}}return result;}module.exports=composeArgsRight;
/***/ },
/* 357 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var composeArgs=__webpack_require__(355),composeArgsRight=__webpack_require__(356),countHolders=__webpack_require__(761),createCtor=__webpack_require__(155),createRecurry=__webpack_require__(358),getHolder=__webpack_require__(157),reorder=__webpack_require__(812),replaceHolders=__webpack_require__(112),root=__webpack_require__(32);/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_ARY_FLAG=128,WRAP_FLIP_FLAG=512;/**
* Creates a function that wraps `func` to invoke it with optional `this`
* binding of `thisArg`, partial application, and currying.
*
* @private
* @param {Function|string} func The function or method name to wrap.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @param {*} [thisArg] The `this` binding of `func`.
* @param {Array} [partials] The arguments to prepend to those provided to
* the new function.
* @param {Array} [holders] The `partials` placeholder indexes.
* @param {Array} [partialsRight] The arguments to append to those provided
* to the new function.
* @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
* @param {Array} [argPos] The argument positions of the new function.
* @param {number} [ary] The arity cap of `func`.
* @param {number} [arity] The arity of `func`.
* @returns {Function} Returns the new wrapped function.
*/function createHybrid(func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity){var isAry=bitmask&WRAP_ARY_FLAG,isBind=bitmask&WRAP_BIND_FLAG,isBindKey=bitmask&WRAP_BIND_KEY_FLAG,isCurried=bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG),isFlip=bitmask&WRAP_FLIP_FLAG,Ctor=isBindKey?undefined:createCtor(func);function wrapper(){var length=arguments.length,args=Array(length),index=length;while(index--){args[index]=arguments[index];}if(isCurried){var placeholder=getHolder(wrapper),holdersCount=countHolders(args,placeholder);}if(partials){args=composeArgs(args,partials,holders,isCurried);}if(partialsRight){args=composeArgsRight(args,partialsRight,holdersRight,isCurried);}length-=holdersCount;if(isCurried&&length<arity){var newHolders=replaceHolders(args,placeholder);return createRecurry(func,bitmask,createHybrid,wrapper.placeholder,thisArg,args,newHolders,argPos,ary,arity-length);}var thisBinding=isBind?thisArg:this,fn=isBindKey?thisBinding[func]:func;length=args.length;if(argPos){args=reorder(args,argPos);}else if(isFlip&&length>1){args.reverse();}if(isAry&&ary<length){args.length=ary;}if(this&&this!==root&&this instanceof wrapper){fn=Ctor||createCtor(fn);}return fn.apply(thisBinding,args);}return wrapper;}module.exports=createHybrid;
/***/ },
/* 358 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isLaziable=__webpack_require__(367),setData=__webpack_require__(374),setWrapToString=__webpack_require__(375);/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64;/**
* Creates a function that wraps `func` to continue currying.
*
* @private
* @param {Function} func The function to wrap.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @param {Function} wrapFunc The function to create the `func` wrapper.
* @param {*} placeholder The placeholder value.
* @param {*} [thisArg] The `this` binding of `func`.
* @param {Array} [partials] The arguments to prepend to those provided to
* the new function.
* @param {Array} [holders] The `partials` placeholder indexes.
* @param {Array} [argPos] The argument positions of the new function.
* @param {number} [ary] The arity cap of `func`.
* @param {number} [arity] The arity of `func`.
* @returns {Function} Returns the new wrapped function.
*/function createRecurry(func,bitmask,wrapFunc,placeholder,thisArg,partials,holders,argPos,ary,arity){var isCurry=bitmask&WRAP_CURRY_FLAG,newHolders=isCurry?holders:undefined,newHoldersRight=isCurry?undefined:holders,newPartials=isCurry?partials:undefined,newPartialsRight=isCurry?undefined:partials;bitmask|=isCurry?WRAP_PARTIAL_FLAG:WRAP_PARTIAL_RIGHT_FLAG;bitmask&=~(isCurry?WRAP_PARTIAL_RIGHT_FLAG:WRAP_PARTIAL_FLAG);if(!(bitmask&WRAP_CURRY_BOUND_FLAG)){bitmask&=~(WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG);}var newData=[func,bitmask,thisArg,newPartials,newHolders,newPartialsRight,newHoldersRight,argPos,ary,arity];var result=wrapFunc.apply(undefined,newData);if(isLaziable(func)){setData(result,newData);}result.placeholder=placeholder;return setWrapToString(result,func,bitmask);}module.exports=createRecurry;
/***/ },
/* 359 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74);var defineProperty=function(){try{var func=getNative(Object,'defineProperty');func({},'',{});return func;}catch(e){}}();module.exports=defineProperty;
/***/ },
/* 360 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var SetCache=__webpack_require__(143),arraySome=__webpack_require__(343),cacheHas=__webpack_require__(153);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;/**
* A specialized version of `baseIsEqualDeep` for arrays with support for
* partial deep comparisons.
*
* @private
* @param {Array} array The array to compare.
* @param {Array} other The other array to compare.
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
* @param {Function} customizer The function to customize comparisons.
* @param {Function} equalFunc The function to determine equivalents of values.
* @param {Object} stack Tracks traversed `array` and `other` objects.
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
*/function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength)){return false;}// Assume cyclic values are equal.
var stacked=stack.get(array);if(stacked&&stack.get(other)){return stacked==other;}var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache():undefined;stack.set(array,other);stack.set(other,array);// Ignore non-index properties.
while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer){var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);}if(compared!==undefined){if(compared){continue;}result=false;break;}// Recursively compare arrays (susceptible to call stack limits).
if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){return seen.push(othIndex);}})){result=false;break;}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=false;break;}}stack['delete'](array);stack['delete'](other);return result;}module.exports=equalArrays;
/***/ },
/* 361 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/** Detect free variable `global` from Node.js. */var freeGlobal=(typeof global==='undefined'?'undefined':_typeof(global))=='object'&&global&&global.Object===Object&&global;module.exports=freeGlobal;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))
/***/ },
/* 362 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetAllKeys=__webpack_require__(348),getSymbolsIn=__webpack_require__(364),keysIn=__webpack_require__(389);/**
* Creates an array of own and inherited enumerable property names and
* symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names and symbols.
*/function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn);}module.exports=getAllKeysIn;
/***/ },
/* 363 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var realNames=__webpack_require__(811);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Gets the name of `func`.
*
* @private
* @param {Function} func The function to query.
* @returns {string} Returns the function name.
*/function getFuncName(func){var result=func.name+'',array=realNames[result],length=hasOwnProperty.call(realNames,result)?array.length:0;while(length--){var data=array[length],otherFunc=data.func;if(otherFunc==null||otherFunc==func){return data.name;}}return result;}module.exports=getFuncName;
/***/ },
/* 364 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayPush=__webpack_require__(216),getPrototype=__webpack_require__(159),getSymbols=__webpack_require__(225),stubArray=__webpack_require__(395);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeGetSymbols=Object.getOwnPropertySymbols;/**
* Creates an array of the own and inherited enumerable symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of symbols.
*/var getSymbolsIn=!nativeGetSymbols?stubArray:function(object){var result=[];while(object){arrayPush(result,getSymbols(object));object=getPrototype(object);}return result;};module.exports=getSymbolsIn;
/***/ },
/* 365 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var castPath=__webpack_require__(73),isArguments=__webpack_require__(165),isArray=__webpack_require__(9),isIndex=__webpack_require__(110),isLength=__webpack_require__(233),toKey=__webpack_require__(59);/**
* Checks if `path` exists on `object`.
*
* @private
* @param {Object} object The object to query.
* @param {Array|string} path The path to check.
* @param {Function} hasFunc The function to check properties.
* @returns {boolean} Returns `true` if `path` exists, else `false`.
*/function hasPath(object,path,hasFunc){path=castPath(path,object);var index=-1,length=path.length,result=false;while(++index<length){var key=toKey(path[index]);if(!(result=object!=null&&hasFunc(object,key))){break;}object=object[key];}if(result||++index!=length){return result;}length=object==null?0:object.length;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object));}module.exports=hasPath;
/***/ },
/* 366 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to compose unicode character classes. */var rsAstralRange='\\ud800-\\udfff',rsComboMarksRange='\\u0300-\\u036f',reComboHalfMarksRange='\\ufe20-\\ufe2f',rsComboSymbolsRange='\\u20d0-\\u20ff',rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange='\\ufe0e\\ufe0f';/** Used to compose unicode capture groups. */var rsZWJ='\\u200d';/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */var reHasUnicode=RegExp('['+rsZWJ+rsAstralRange+rsComboRange+rsVarRange+']');/**
* Checks if `string` contains Unicode symbols.
*
* @private
* @param {string} string The string to inspect.
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
*/function hasUnicode(string){return reHasUnicode.test(string);}module.exports=hasUnicode;
/***/ },
/* 367 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var LazyWrapper=__webpack_require__(210),getData=__webpack_require__(224),getFuncName=__webpack_require__(363),lodash=__webpack_require__(880);/**
* Checks if `func` has a lazy counterpart.
*
* @private
* @param {Function} func The function to check.
* @returns {boolean} Returns `true` if `func` has a lazy counterpart,
* else `false`.
*/function isLaziable(func){var funcName=getFuncName(func),other=lodash[funcName];if(typeof other!='function'||!(funcName in LazyWrapper.prototype)){return false;}if(func===other){return true;}var data=getData(other);return!!data&&func===data[0];}module.exports=isLaziable;
/***/ },
/* 368 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isObject=__webpack_require__(33);/**
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` if suitable for strict
* equality comparisons, else `false`.
*/function isStrictComparable(value){return value===value&&!isObject(value);}module.exports=isStrictComparable;
/***/ },
/* 369 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Converts `map` to its key-value pairs.
*
* @private
* @param {Object} map The map to convert.
* @returns {Array} Returns the key-value pairs.
*/function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value];});return result;}module.exports=mapToArray;
/***/ },
/* 370 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `matchesProperty` for source values suitable
* for strict equality comparisons, i.e. `===`.
*
* @private
* @param {string} key The key of the property to get.
* @param {*} srcValue The value to match.
* @returns {Function} Returns the new spec function.
*/function matchesStrictComparable(key,srcValue){return function(object){if(object==null){return false;}return object[key]===srcValue&&(srcValue!==undefined||key in Object(object));};}module.exports=matchesStrictComparable;
/***/ },
/* 371 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var WeakMap=__webpack_require__(341);/** Used to store function metadata. */var metaMap=WeakMap&&new WeakMap();module.exports=metaMap;
/***/ },
/* 372 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var apply=__webpack_require__(144);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* A specialized version of `baseRest` which transforms the rest array.
*
* @private
* @param {Function} func The function to apply a rest parameter to.
* @param {number} [start=func.length-1] The start position of the rest parameter.
* @param {Function} transform The rest array transform.
* @returns {Function} Returns the new function.
*/function overRest(func,start,transform){start=nativeMax(start===undefined?func.length-1:start,0);return function(){var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);while(++index<length){array[index]=args[start+index];}index=-1;var otherArgs=Array(start+1);while(++index<start){otherArgs[index]=args[index];}otherArgs[start]=transform(array);return apply(func,this,otherArgs);};}module.exports=overRest;
/***/ },
/* 373 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGet=__webpack_require__(150),baseSlice=__webpack_require__(151);/**
* Gets the parent value at `path` of `object`.
*
* @private
* @param {Object} object The object to query.
* @param {Array} path The path to get the parent value of.
* @returns {*} Returns the parent value.
*/function parent(object,path){return path.length<2?object:baseGet(object,baseSlice(path,0,-1));}module.exports=parent;
/***/ },
/* 374 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSetData=__webpack_require__(351),shortOut=__webpack_require__(376);/**
* Sets metadata for `func`.
*
* **Note:** If this function becomes hot, i.e. is invoked a lot in a short
* period of time, it will trip its breaker and transition to an identity
* function to avoid garbage collection pauses in V8. See
* [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
* for more details.
*
* @private
* @param {Function} func The function to associate metadata with.
* @param {*} data The metadata.
* @returns {Function} Returns `func`.
*/var setData=shortOut(baseSetData);module.exports=setData;
/***/ },
/* 375 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getWrapDetails=__webpack_require__(781),insertWrapDetails=__webpack_require__(791),setToString=__webpack_require__(229),updateWrapDetails=__webpack_require__(824);/**
* Sets the `toString` method of `wrapper` to mimic the source of `reference`
* with wrapper details in a comment at the top of the source body.
*
* @private
* @param {Function} wrapper The function to modify.
* @param {Function} reference The reference function.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @returns {Function} Returns `wrapper`.
*/function setWrapToString(wrapper,reference,bitmask){var source=reference+'';return setToString(wrapper,insertWrapDetails(source,updateWrapDetails(getWrapDetails(source),bitmask)));}module.exports=setWrapToString;
/***/ },
/* 376 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to detect hot functions by number of calls within a span of milliseconds. */var HOT_COUNT=800,HOT_SPAN=16;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeNow=Date.now;/**
* Creates a function that'll short out and invoke `identity` instead
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
* milliseconds.
*
* @private
* @param {Function} func The function to restrict.
* @returns {Function} Returns the new shortable function.
*/function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=HOT_SPAN-(stamp-lastCalled);lastCalled=stamp;if(remaining>0){if(++count>=HOT_COUNT){return arguments[0];}}else{count=0;}return func.apply(undefined,arguments);};}module.exports=shortOut;
/***/ },
/* 377 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var memoizeCapped=__webpack_require__(805);/** Used to match property names within property paths. */var reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;/** Used to match backslashes in property paths. */var reEscapeChar=/\\(\\)?/g;/**
* Converts `string` to a property path array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the property path array.
*/var stringToPath=memoizeCapped(function(string){var result=[];if(reLeadingDot.test(string)){result.push('');}string.replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,'$1'):number||match);});return result;});module.exports=stringToPath;
/***/ },
/* 378 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used for built-in method references. */var funcProto=Function.prototype;/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/**
* Converts `func` to its source code.
*
* @private
* @param {Function} func The function to convert.
* @returns {string} Returns the source code.
*/function toSource(func){if(func!=null){try{return funcToString.call(func);}catch(e){}try{return func+'';}catch(e){}}return'';}module.exports=toSource;
/***/ },
/* 379 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Creates an array with all falsey values removed. The values `false`, `null`,
* `0`, `""`, `undefined`, and `NaN` are falsey.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to compact.
* @returns {Array} Returns the new array of filtered values.
* @example
*
* _.compact([0, 1, false, 2, '', 3]);
* // => [1, 2, 3]
*/function compact(array){var index=-1,length=array==null?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];if(value){result[resIndex++]=value;}}return result;}module.exports=compact;
/***/ },
/* 380 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createWrap=__webpack_require__(109);/** Used to compose bitmasks for function metadata. */var WRAP_CURRY_FLAG=8;/**
* Creates a function that accepts arguments of `func` and either invokes
* `func` returning its result, if at least `arity` number of arguments have
* been provided, or returns a function that accepts the remaining `func`
* arguments, and so on. The arity of `func` may be specified if `func.length`
* is not sufficient.
*
* The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
* may be used as a placeholder for provided arguments.
*
* **Note:** This method doesn't set the "length" property of curried functions.
*
* @static
* @memberOf _
* @since 2.0.0
* @category Function
* @param {Function} func The function to curry.
* @param {number} [arity=func.length] The arity of `func`.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Function} Returns the new curried function.
* @example
*
* var abc = function(a, b, c) {
* return [a, b, c];
* };
*
* var curried = _.curry(abc);
*
* curried(1)(2)(3);
* // => [1, 2, 3]
*
* curried(1, 2)(3);
* // => [1, 2, 3]
*
* curried(1, 2, 3);
* // => [1, 2, 3]
*
* // Curried with placeholders.
* curried(1)(_, 3)(2);
* // => [1, 2, 3]
*/function curry(func,arity,guard){arity=guard?undefined:arity;var result=createWrap(func,WRAP_CURRY_FLAG,undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curry.placeholder;return result;}// Assign default placeholders.
curry.placeholder={};module.exports=curry;
/***/ },
/* 381 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayEvery=__webpack_require__(708),baseEvery=__webpack_require__(713),baseIteratee=__webpack_require__(38),isArray=__webpack_require__(9),isIterateeCall=__webpack_require__(160);/**
* Checks if `predicate` returns truthy for **all** elements of `collection`.
* Iteration is stopped once `predicate` returns falsey. The predicate is
* invoked with three arguments: (value, index|key, collection).
*
* **Note:** This method returns `true` for
* [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
* [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
* elements of empty collections.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {boolean} Returns `true` if all elements pass the predicate check,
* else `false`.
* @example
*
* _.every([true, 1, null, 'yes'], Boolean);
* // => false
*
* var users = [
* { 'user': 'barney', 'age': 36, 'active': false },
* { 'user': 'fred', 'age': 40, 'active': false }
* ];
*
* // The `_.matches` iteratee shorthand.
* _.every(users, { 'user': 'barney', 'active': false });
* // => false
*
* // The `_.matchesProperty` iteratee shorthand.
* _.every(users, ['active', false]);
* // => true
*
* // The `_.property` iteratee shorthand.
* _.every(users, 'active');
* // => false
*/function every(collection,predicate,guard){var func=isArray(collection)?arrayEvery:baseEvery;if(guard&&isIterateeCall(collection,predicate,guard)){predicate=undefined;}return func(collection,baseIteratee(predicate,3));}module.exports=every;
/***/ },
/* 382 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFindIndex=__webpack_require__(347),baseIteratee=__webpack_require__(38),toInteger=__webpack_require__(48);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max;/**
* This method is like `_.find` except that it returns the index of the first
* element `predicate` returns truthy for instead of the element itself.
*
* @static
* @memberOf _
* @since 1.1.0
* @category Array
* @param {Array} array The array to inspect.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @param {number} [fromIndex=0] The index to search from.
* @returns {number} Returns the index of the found element, else `-1`.
* @example
*
* var users = [
* { 'user': 'barney', 'active': false },
* { 'user': 'fred', 'active': false },
* { 'user': 'pebbles', 'active': true }
* ];
*
* _.findIndex(users, function(o) { return o.user == 'barney'; });
* // => 0
*
* // The `_.matches` iteratee shorthand.
* _.findIndex(users, { 'user': 'fred', 'active': false });
* // => 1
*
* // The `_.matchesProperty` iteratee shorthand.
* _.findIndex(users, ['active', false]);
* // => 0
*
* // The `_.property` iteratee shorthand.
* _.findIndex(users, 'active');
* // => 2
*/function findIndex(array,predicate,fromIndex){var length=array==null?0:array.length;if(!length){return-1;}var index=fromIndex==null?0:toInteger(fromIndex);if(index<0){index=nativeMax(length+index,0);}return baseFindIndex(array,baseIteratee(predicate,3),index);}module.exports=findIndex;
/***/ },
/* 383 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('flow',__webpack_require__(836));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 384 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('includes',__webpack_require__(164));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 385 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseHasIn=__webpack_require__(718),hasPath=__webpack_require__(365);/**
* Checks if `path` is a direct or inherited property of `object`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path to check.
* @returns {boolean} Returns `true` if `path` exists, else `false`.
* @example
*
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
*
* _.hasIn(object, 'a');
* // => true
*
* _.hasIn(object, 'a.b');
* // => true
*
* _.hasIn(object, ['a', 'b']);
* // => true
*
* _.hasIn(object, 'b');
* // => false
*/function hasIn(object,path){return object!=null&&hasPath(object,path,baseHasIn);}module.exports=hasIn;
/***/ },
/* 386 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseInvoke=__webpack_require__(721),baseRest=__webpack_require__(45);/**
* Invokes the method at `path` of `object`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path of the method to invoke.
* @param {...*} [args] The arguments to invoke the method with.
* @returns {*} Returns the result of the invoked method.
* @example
*
* var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
*
* _.invoke(object, 'a[0].b.c.slice', 1, 3);
* // => [2, 3]
*/var invoke=baseRest(baseInvoke);module.exports=invoke;
/***/ },
/* 387 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if `value` is `null` or `undefined`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
* @example
*
* _.isNil(null);
* // => true
*
* _.isNil(void 0);
* // => true
*
* _.isNil(NaN);
* // => false
*/function isNil(value){return value==null;}module.exports=isNil;
/***/ },
/* 388 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var numberTag='[object Number]';/**
* Checks if `value` is classified as a `Number` primitive or object.
*
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
* classified as numbers, use the `_.isFinite` method.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
* @example
*
* _.isNumber(3);
* // => true
*
* _.isNumber(Number.MIN_VALUE);
* // => true
*
* _.isNumber(Infinity);
* // => true
*
* _.isNumber('3');
* // => false
*/function isNumber(value){return typeof value=='number'||isObjectLike(value)&&baseGetTag(value)==numberTag;}module.exports=isNumber;
/***/ },
/* 389 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayLikeKeys=__webpack_require__(342),baseKeysIn=__webpack_require__(728),isArrayLike=__webpack_require__(41);/**
* Creates an array of the own and inherited enumerable property names of `object`.
*
* **Note:** Non-object values are coerced to objects.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Object
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
* @example
*
* function Foo() {
* this.a = 1;
* this.b = 2;
* }
*
* Foo.prototype.c = 3;
*
* _.keysIn(new Foo);
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
*/function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,true):baseKeysIn(object);}module.exports=keysIn;
/***/ },
/* 390 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Gets the last element of `array`.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to query.
* @returns {*} Returns the last element of `array`.
* @example
*
* _.last([1, 2, 3]);
* // => 3
*/function last(array){var length=array==null?0:array.length;return length?array[length-1]:undefined;}module.exports=last;
/***/ },
/* 391 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This method returns `undefined`.
*
* @static
* @memberOf _
* @since 2.3.0
* @category Util
* @example
*
* _.times(2, _.noop);
* // => [undefined, undefined]
*/function noop(){// No operation performed.
}module.exports=noop;
/***/ },
/* 392 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayReduce=__webpack_require__(146),baseEach=__webpack_require__(89),baseIteratee=__webpack_require__(38),baseReduce=__webpack_require__(738),isArray=__webpack_require__(9);/**
* Reduces `collection` to a value which is the accumulated result of running
* each element in `collection` thru `iteratee`, where each successive
* invocation is supplied the return value of the previous. If `accumulator`
* is not given, the first element of `collection` is used as the initial
* value. The iteratee is invoked with four arguments:
* (accumulator, value, index|key, collection).
*
* Many lodash methods are guarded to work as iteratees for methods like
* `_.reduce`, `_.reduceRight`, and `_.transform`.
*
* The guarded methods are:
* `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
* and `sortBy`
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @param {*} [accumulator] The initial value.
* @returns {*} Returns the accumulated value.
* @see _.reduceRight
* @example
*
* _.reduce([1, 2], function(sum, n) {
* return sum + n;
* }, 0);
* // => 3
*
* _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
* (result[value] || (result[value] = [])).push(key);
* return result;
* }, {});
* // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
*/function reduce(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,baseIteratee(iteratee,4),accumulator,initAccum,baseEach);}module.exports=reduce;
/***/ },
/* 393 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arraySome=__webpack_require__(343),baseIteratee=__webpack_require__(38),baseSome=__webpack_require__(741),isArray=__webpack_require__(9),isIterateeCall=__webpack_require__(160);/**
* Checks if `predicate` returns truthy for **any** element of `collection`.
* Iteration is stopped once `predicate` returns truthy. The predicate is
* invoked with three arguments: (value, index|key, collection).
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [predicate=_.identity] The function invoked per iteration.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {boolean} Returns `true` if any element passes the predicate check,
* else `false`.
* @example
*
* _.some([null, 0, 'yes', false], Boolean);
* // => true
*
* var users = [
* { 'user': 'barney', 'active': true },
* { 'user': 'fred', 'active': false }
* ];
*
* // The `_.matches` iteratee shorthand.
* _.some(users, { 'user': 'barney', 'active': false });
* // => false
*
* // The `_.matchesProperty` iteratee shorthand.
* _.some(users, ['active', false]);
* // => true
*
* // The `_.property` iteratee shorthand.
* _.some(users, 'active');
* // => true
*/function some(collection,predicate,guard){var func=isArray(collection)?arraySome:baseSome;if(guard&&isIterateeCall(collection,predicate,guard)){predicate=undefined;}return func(collection,baseIteratee(predicate,3));}module.exports=some;
/***/ },
/* 394 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseClamp=__webpack_require__(345),baseToString=__webpack_require__(353),toInteger=__webpack_require__(48),toString=__webpack_require__(61);/**
* Checks if `string` starts with the given target string.
*
* @static
* @memberOf _
* @since 3.0.0
* @category String
* @param {string} [string=''] The string to inspect.
* @param {string} [target] The string to search for.
* @param {number} [position=0] The position to search from.
* @returns {boolean} Returns `true` if `string` starts with `target`,
* else `false`.
* @example
*
* _.startsWith('abc', 'a');
* // => true
*
* _.startsWith('abc', 'b');
* // => false
*
* _.startsWith('abc', 'b', 1);
* // => true
*/function startsWith(string,target,position){string=toString(string);position=baseClamp(toInteger(position),0,string.length);target=baseToString(target);return string.slice(position,position+target.length)==target;}module.exports=startsWith;
/***/ },
/* 395 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This method returns a new empty array.
*
* @static
* @memberOf _
* @since 4.13.0
* @category Util
* @returns {Array} Returns the new empty array.
* @example
*
* var arrays = _.times(2, _.stubArray);
*
* console.log(arrays);
* // => [[], []]
*
* console.log(arrays[0] === arrays[1]);
* // => false
*/function stubArray(){return[];}module.exports=stubArray;
/***/ },
/* 396 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseTimes=__webpack_require__(352),castFunction=__webpack_require__(354),toInteger=__webpack_require__(48);/** Used as references for various `Number` constants. */var MAX_SAFE_INTEGER=9007199254740991;/** Used as references for the maximum length and index of an array. */var MAX_ARRAY_LENGTH=4294967295;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMin=Math.min;/**
* Invokes the iteratee `n` times, returning an array of the results of
* each invocation. The iteratee is invoked with one argument; (index).
*
* @static
* @since 0.1.0
* @memberOf _
* @category Util
* @param {number} n The number of times to invoke `iteratee`.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Array} Returns the array of results.
* @example
*
* _.times(3, String);
* // => ['0', '1', '2']
*
* _.times(4, _.constant(0));
* // => [0, 0, 0, 0]
*/function times(n,iteratee){n=toInteger(n);if(n<1||n>MAX_SAFE_INTEGER){return[];}var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee=castFunction(iteratee);n-=MAX_ARRAY_LENGTH;var result=baseTimes(length,iteratee);while(++index<n){iteratee(index);}return result;}module.exports=times;
/***/ },
/* 397 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var toNumber=__webpack_require__(173);/** Used as references for various `Number` constants. */var INFINITY=1/0,MAX_INTEGER=1.7976931348623157e+308;/**
* Converts `value` to a finite number.
*
* @static
* @memberOf _
* @since 4.12.0
* @category Lang
* @param {*} value The value to convert.
* @returns {number} Returns the converted number.
* @example
*
* _.toFinite(3.2);
* // => 3.2
*
* _.toFinite(Number.MIN_VALUE);
* // => 5e-324
*
* _.toFinite(Infinity);
* // => 1.7976931348623157e+308
*
* _.toFinite('3.2');
* // => 3.2
*/function toFinite(value){if(!value){return value===0?value:0;}value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER;}return value===value?value:0;}module.exports=toFinite;
/***/ },
/* 398 */,
/* 399 */,
/* 400 */,
/* 401 */,
/* 402 */,
/* 403 */,
/* 404 */,
/* 405 */,
/* 406 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _react=__webpack_require__(0);exports["default"]=_react.PropTypes.shape({subscribe:_react.PropTypes.func.isRequired,dispatch:_react.PropTypes.func.isRequired,getState:_react.PropTypes.func.isRequired});
/***/ },
/* 407 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;exports["default"]=warning;/**
* Prints a warning in the console if it exists.
*
* @param {String} message The warning message.
* @returns {void}
*/function warning(message){/* eslint-disable no-console */if(typeof console!=='undefined'&&typeof console.error==='function'){console.error(message);}/* eslint-enable no-console */try{// This error was thrown as a convenience so that if you enable
// "break on all exceptions" in your console,
// it would pause the execution at this line.
throw new Error(message);/* eslint-disable no-empty */}catch(e){}/* eslint-enable no-empty */}
/***/ },
/* 408 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _PropTypes=__webpack_require__(241);var _ContextUtils=__webpack_require__(240);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}var _React$PropTypes=_react2.default.PropTypes,bool=_React$PropTypes.bool,object=_React$PropTypes.object,string=_React$PropTypes.string,func=_React$PropTypes.func,oneOfType=_React$PropTypes.oneOfType;function isLeftClickEvent(event){return event.button===0;}function isModifiedEvent(event){return!!(event.metaKey||event.altKey||event.ctrlKey||event.shiftKey);}// TODO: De-duplicate against hasAnyProperties in createTransitionManager.
function isEmptyObject(object){for(var p in object){if(Object.prototype.hasOwnProperty.call(object,p))return false;}return true;}function resolveToLocation(to,router){return typeof to==='function'?to(router.location):to;}/**
* A <Link> is used to create an <a> element that links to a route.
* When that route is active, the link gets the value of its
* activeClassName prop.
*
* For example, assuming you have the following route:
*
* <Route path="/posts/:postID" component={Post} />
*
* You could use the following component to link to that route:
*
* <Link to={`/posts/${post.id}`} />
*
* Links may pass along location state and/or query string parameters
* in the state/query props, respectively.
*
* <Link ... query={{ show: true }} state={{ the: 'state' }} />
*/var Link=_react2.default.createClass({displayName:'Link',mixins:[(0,_ContextUtils.ContextSubscriber)('router')],contextTypes:{router:_PropTypes.routerShape},propTypes:{to:oneOfType([string,object,func]),query:object,hash:string,state:object,activeStyle:object,activeClassName:string,onlyActiveOnIndex:bool.isRequired,onClick:func,target:string},getDefaultProps:function getDefaultProps(){return{onlyActiveOnIndex:false,style:{}};},handleClick:function handleClick(event){if(this.props.onClick)this.props.onClick(event);if(event.defaultPrevented)return;var router=this.context.router;!router?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'<Link>s rendered outside of a router context cannot navigate.'):(0,_invariant2.default)(false):void 0;if(isModifiedEvent(event)||!isLeftClickEvent(event))return;// If target prop is set (e.g. to "_blank"), let browser handle link.
/* istanbul ignore if: untestable with Karma */if(this.props.target)return;event.preventDefault();router.push(resolveToLocation(this.props.to,router));},render:function render(){var _props=this.props,to=_props.to,activeClassName=_props.activeClassName,activeStyle=_props.activeStyle,onlyActiveOnIndex=_props.onlyActiveOnIndex,props=_objectWithoutProperties(_props,['to','activeClassName','activeStyle','onlyActiveOnIndex']);// Ignore if rendered outside the context of router to simplify unit testing.
var router=this.context.router;if(router){// If user does not specify a `to` prop, return an empty anchor tag.
if(to==null){return _react2.default.createElement('a',props);}var toLocation=resolveToLocation(to,router);props.href=router.createHref(toLocation);if(activeClassName||activeStyle!=null&&!isEmptyObject(activeStyle)){if(router.isActive(toLocation,onlyActiveOnIndex)){if(activeClassName){if(props.className){props.className+=' '+activeClassName;}else{props.className=activeClassName;}}if(activeStyle)props.style=_extends({},props.style,activeStyle);}}}return _react2.default.createElement('a',_extends({},props,{onClick:this.handleClick}));}});exports.default=Link;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 409 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;exports.isPromise=isPromise;function isPromise(obj){return obj&&typeof obj.then==='function';}
/***/ },
/* 410 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _RouteUtils=__webpack_require__(62);var _PatternUtils=__webpack_require__(93);var _InternalPropTypes=__webpack_require__(119);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _React$PropTypes=_react2.default.PropTypes,string=_React$PropTypes.string,object=_React$PropTypes.object;/**
* A <Redirect> is used to declare another URL path a client should
* be sent to when they request a given URL.
*
* Redirects are placed alongside routes in the route configuration
* and are traversed in the same manner.
*//* eslint-disable react/require-render-return */var Redirect=_react2.default.createClass({displayName:'Redirect',statics:{createRouteFromReactElement:function createRouteFromReactElement(element){var route=(0,_RouteUtils.createRouteFromReactElement)(element);if(route.from)route.path=route.from;route.onEnter=function(nextState,replace){var location=nextState.location,params=nextState.params;var pathname=void 0;if(route.to.charAt(0)==='/'){pathname=(0,_PatternUtils.formatPattern)(route.to,params);}else if(!route.to){pathname=location.pathname;}else{var routeIndex=nextState.routes.indexOf(route);var parentPattern=Redirect.getRoutePattern(nextState.routes,routeIndex-1);var pattern=parentPattern.replace(/\/*$/,'/')+route.to;pathname=(0,_PatternUtils.formatPattern)(pattern,params);}replace({pathname:pathname,query:route.query||location.query,state:route.state||location.state});};return route;},getRoutePattern:function getRoutePattern(routes,routeIndex){var parentPattern='';for(var i=routeIndex;i>=0;i--){var route=routes[i];var pattern=route.path||'';parentPattern=pattern.replace(/\/*$/,'/')+parentPattern;if(pattern.indexOf('/')===0)break;}return'/'+parentPattern;}},propTypes:{path:string,from:string,// Alias for path
to:string.isRequired,query:object,state:object,onEnter:_InternalPropTypes.falsy,children:_InternalPropTypes.falsy},/* istanbul ignore next: sanity check */render:function render(){ true?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'<Redirect> elements are for router configuration only and should not be rendered'):(0,_invariant2.default)(false):void 0;}});exports.default=Redirect;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 411 */
/***/ function(module, exports) {
"use strict";
"use strict";exports.__esModule=true;var _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;};exports.createRouterObject=createRouterObject;exports.assignRouterState=assignRouterState;function createRouterObject(history,transitionManager,state){var router=_extends({},history,{setRouteLeaveHook:transitionManager.listenBeforeLeavingRoute,isActive:transitionManager.isActive});return assignRouterState(router,state);}function assignRouterState(router,_ref){var location=_ref.location,params=_ref.params,routes=_ref.routes;router.location=location;router.params=params;router.routes=routes;return router;}
/***/ },
/* 412 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.default=createMemoryHistory;var _useQueries=__webpack_require__(418);var _useQueries2=_interopRequireDefault(_useQueries);var _useBasename=__webpack_require__(417);var _useBasename2=_interopRequireDefault(_useBasename);var _createMemoryHistory=__webpack_require__(938);var _createMemoryHistory2=_interopRequireDefault(_createMemoryHistory);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function createMemoryHistory(options){// signatures and type checking differ between `useQueries` and
// `createMemoryHistory`, have to create `memoryHistory` first because
// `useQueries` doesn't understand the signature
var memoryHistory=(0,_createMemoryHistory2.default)(options);var createHistory=function createHistory(){return memoryHistory;};var history=(0,_useQueries2.default)((0,_useBasename2.default)(createHistory))(options);return history;}module.exports=exports['default'];
/***/ },
/* 413 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.default=function(createHistory){var history=void 0;if(canUseDOM)history=(0,_useRouterHistory2.default)(createHistory)();return history;};var _useRouterHistory=__webpack_require__(415);var _useRouterHistory2=_interopRequireDefault(_useRouterHistory);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var canUseDOM=!!(typeof window!=='undefined'&&window.document&&window.document.createElement);module.exports=exports['default'];
/***/ },
/* 414 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};exports.default=createTransitionManager;var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);var _computeChangedRoutes2=__webpack_require__(925);var _computeChangedRoutes3=_interopRequireDefault(_computeChangedRoutes2);var _TransitionUtils=__webpack_require__(922);var _isActive2=__webpack_require__(929);var _isActive3=_interopRequireDefault(_isActive2);var _getComponents=__webpack_require__(926);var _getComponents2=_interopRequireDefault(_getComponents);var _matchRoutes=__webpack_require__(931);var _matchRoutes2=_interopRequireDefault(_matchRoutes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function hasAnyProperties(object){for(var p in object){if(Object.prototype.hasOwnProperty.call(object,p))return true;}return false;}function createTransitionManager(history,routes){var state={};// Signature should be (location, indexOnly), but needs to support (path,
// query, indexOnly)
function isActive(location,indexOnly){location=history.createLocation(location);return(0,_isActive3.default)(location,indexOnly,state.location,state.routes,state.params);}var partialNextState=void 0;function match(location,callback){if(partialNextState&&partialNextState.location===location){// Continue from where we left off.
finishMatch(partialNextState,callback);}else{(0,_matchRoutes2.default)(routes,location,function(error,nextState){if(error){callback(error);}else if(nextState){finishMatch(_extends({},nextState,{location:location}),callback);}else{callback();}});}}function finishMatch(nextState,callback){var _computeChangedRoutes=(0,_computeChangedRoutes3.default)(state,nextState),leaveRoutes=_computeChangedRoutes.leaveRoutes,changeRoutes=_computeChangedRoutes.changeRoutes,enterRoutes=_computeChangedRoutes.enterRoutes;(0,_TransitionUtils.runLeaveHooks)(leaveRoutes,state);// Tear down confirmation hooks for left routes
leaveRoutes.filter(function(route){return enterRoutes.indexOf(route)===-1;}).forEach(removeListenBeforeHooksForRoute);// change and enter hooks are run in series
(0,_TransitionUtils.runChangeHooks)(changeRoutes,state,nextState,function(error,redirectInfo){if(error||redirectInfo)return handleErrorOrRedirect(error,redirectInfo);(0,_TransitionUtils.runEnterHooks)(enterRoutes,nextState,finishEnterHooks);});function finishEnterHooks(error,redirectInfo){if(error||redirectInfo)return handleErrorOrRedirect(error,redirectInfo);// TODO: Fetch components after state is updated.
(0,_getComponents2.default)(nextState,function(error,components){if(error){callback(error);}else{// TODO: Make match a pure function and have some other API
// for "match and update state".
callback(null,null,state=_extends({},nextState,{components:components}));}});}function handleErrorOrRedirect(error,redirectInfo){if(error)callback(error);else callback(null,redirectInfo);}}var RouteGuid=1;function getRouteID(route){var create=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;return route.__id__||create&&(route.__id__=RouteGuid++);}var RouteHooks=Object.create(null);function getRouteHooksForRoutes(routes){return routes.map(function(route){return RouteHooks[getRouteID(route)];}).filter(function(hook){return hook;});}function transitionHook(location,callback){(0,_matchRoutes2.default)(routes,location,function(error,nextState){if(nextState==null){// TODO: We didn't actually match anything, but hang
// onto error/nextState so we don't have to matchRoutes
// again in the listen callback.
callback();return;}// Cache some state here so we don't have to
// matchRoutes() again in the listen callback.
partialNextState=_extends({},nextState,{location:location});var hooks=getRouteHooksForRoutes((0,_computeChangedRoutes3.default)(state,partialNextState).leaveRoutes);var result=void 0;for(var i=0,len=hooks.length;result==null&&i<len;++i){// Passing the location arg here indicates to
// the user that this is a transition hook.
result=hooks[i](location);}callback(result);});}/* istanbul ignore next: untestable with Karma */function beforeUnloadHook(){// Synchronously check to see if any route hooks want
// to prevent the current window/tab from closing.
if(state.routes){var hooks=getRouteHooksForRoutes(state.routes);var message=void 0;for(var i=0,len=hooks.length;typeof message!=='string'&&i<len;++i){// Passing no args indicates to the user that this is a
// beforeunload hook. We don't know the next location.
message=hooks[i]();}return message;}}var unlistenBefore=void 0,unlistenBeforeUnload=void 0;function removeListenBeforeHooksForRoute(route){var routeID=getRouteID(route);if(!routeID){return;}delete RouteHooks[routeID];if(!hasAnyProperties(RouteHooks)){// teardown transition & beforeunload hooks
if(unlistenBefore){unlistenBefore();unlistenBefore=null;}if(unlistenBeforeUnload){unlistenBeforeUnload();unlistenBeforeUnload=null;}}}/**
* Registers the given hook function to run before leaving the given route.
*
* During a normal transition, the hook function receives the next location
* as its only argument and can return either a prompt message (string) to show the user,
* to make sure they want to leave the page; or `false`, to prevent the transition.
* Any other return value will have no effect.
*
* During the beforeunload event (in browsers) the hook receives no arguments.
* In this case it must return a prompt message to prevent the transition.
*
* Returns a function that may be used to unbind the listener.
*/function listenBeforeLeavingRoute(route,hook){var thereWereNoRouteHooks=!hasAnyProperties(RouteHooks);var routeID=getRouteID(route,true);RouteHooks[routeID]=hook;if(thereWereNoRouteHooks){// setup transition & beforeunload hooks
unlistenBefore=history.listenBefore(transitionHook);if(history.listenBeforeUnload)unlistenBeforeUnload=history.listenBeforeUnload(beforeUnloadHook);}return function(){removeListenBeforeHooksForRoute(route);};}/**
* This is the API for stateful environments. As the location
* changes, we update state and call the listener. We can also
* gracefully handle errors and redirects.
*/function listen(listener){function historyListener(location){if(state.location===location){listener(null,state);}else{match(location,function(error,redirectLocation,nextState){if(error){listener(error);}else if(redirectLocation){history.replace(redirectLocation);}else if(nextState){listener(null,nextState);}else{process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(false,'Location "%s" did not match any routes',location.pathname+location.search+location.hash):void 0;}});}}// TODO: Only use a single history listener. Otherwise we'll end up with
// multiple concurrent calls to match.
// Set up the history listener first in case the initial match redirects.
var unsubscribe=history.listen(historyListener);if(state.location){// Picking up on a matchContext.
listener(null,state);}else{historyListener(history.getCurrentLocation());}return unsubscribe;}return{isActive:isActive,match:match,listenBeforeLeavingRoute:listenBeforeLeavingRoute,listen:listen};}module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 415 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.default=useRouterHistory;var _useQueries=__webpack_require__(418);var _useQueries2=_interopRequireDefault(_useQueries);var _useBasename=__webpack_require__(417);var _useBasename2=_interopRequireDefault(_useBasename);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function useRouterHistory(createHistory){return function(options){var history=(0,_useQueries2.default)((0,_useBasename2.default)(createHistory))(options);return history;};}module.exports=exports['default'];
/***/ },
/* 416 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;exports.readState=exports.saveState=undefined;var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var QuotaExceededErrors={QuotaExceededError:true,QUOTA_EXCEEDED_ERR:true};var SecurityErrors={SecurityError:true};var KeyPrefix='@@History/';var createKey=function createKey(key){return KeyPrefix+key;};var saveState=exports.saveState=function saveState(key,state){if(!window.sessionStorage){// Session storage is not available or hidden.
// sessionStorage is undefined in Internet Explorer when served via file protocol.
process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'[history] Unable to save state; sessionStorage is not available'):void 0;return;}try{if(state==null){window.sessionStorage.removeItem(createKey(key));}else{window.sessionStorage.setItem(createKey(key),JSON.stringify(state));}}catch(error){if(SecurityErrors[error.name]){// Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any
// attempt to access window.sessionStorage.
process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'[history] Unable to save state; sessionStorage is not available due to security settings'):void 0;return;}if(QuotaExceededErrors[error.name]&&window.sessionStorage.length===0){// Safari "private mode" throws QuotaExceededError.
process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'[history] Unable to save state; sessionStorage is not available in Safari private mode'):void 0;return;}throw error;}};var readState=exports.readState=function readState(key){var json=void 0;try{json=window.sessionStorage.getItem(createKey(key));}catch(error){if(SecurityErrors[error.name]){// Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any
// attempt to access window.sessionStorage.
process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'[history] Unable to read state; sessionStorage is not available due to security settings'):void 0;return undefined;}}if(json){try{return JSON.parse(json);}catch(error){// Ignore invalid JSON.
}}return undefined;};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 417 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _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;};var _runTransitionHook=__webpack_require__(246);var _runTransitionHook2=_interopRequireDefault(_runTransitionHook);var _PathUtils=__webpack_require__(63);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var useBasename=function useBasename(createHistory){return function(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var history=createHistory(options);var basename=options.basename;var addBasename=function addBasename(location){if(!location)return location;if(basename&&location.basename==null){if(location.pathname.indexOf(basename)===0){location.pathname=location.pathname.substring(basename.length);location.basename=basename;if(location.pathname==='')location.pathname='/';}else{location.basename='';}}return location;};var prependBasename=function prependBasename(location){if(!basename)return location;var object=typeof location==='string'?(0,_PathUtils.parsePath)(location):location;var pname=object.pathname;var normalizedBasename=basename.slice(-1)==='/'?basename:basename+'/';var normalizedPathname=pname.charAt(0)==='/'?pname.slice(1):pname;var pathname=normalizedBasename+normalizedPathname;return _extends({},object,{pathname:pathname});};// Override all read methods with basename-aware versions.
var getCurrentLocation=function getCurrentLocation(){return addBasename(history.getCurrentLocation());};var listenBefore=function listenBefore(hook){return history.listenBefore(function(location,callback){return(0,_runTransitionHook2.default)(hook,addBasename(location),callback);});};var listen=function listen(listener){return history.listen(function(location){return listener(addBasename(location));});};// Override all write methods with basename-aware versions.
var push=function push(location){return history.push(prependBasename(location));};var replace=function replace(location){return history.replace(prependBasename(location));};var createPath=function createPath(location){return history.createPath(prependBasename(location));};var createHref=function createHref(location){return history.createHref(prependBasename(location));};var createLocation=function createLocation(location){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}return addBasename(history.createLocation.apply(history,[prependBasename(location)].concat(args)));};return _extends({},history,{getCurrentLocation:getCurrentLocation,listenBefore:listenBefore,listen:listen,push:push,replace:replace,createPath:createPath,createHref:createHref,createLocation:createLocation});};};exports.default=useBasename;
/***/ },
/* 418 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _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;};var _queryString=__webpack_require__(909);var _runTransitionHook=__webpack_require__(246);var _runTransitionHook2=_interopRequireDefault(_runTransitionHook);var _LocationUtils=__webpack_require__(95);var _PathUtils=__webpack_require__(63);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var defaultStringifyQuery=function defaultStringifyQuery(query){return(0,_queryString.stringify)(query).replace(/%20/g,'+');};var defaultParseQueryString=_queryString.parse;/**
* Returns a new createHistory function that may be used to create
* history objects that know how to handle URL queries.
*/var useQueries=function useQueries(createHistory){return function(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var history=createHistory(options);var stringifyQuery=options.stringifyQuery;var parseQueryString=options.parseQueryString;if(typeof stringifyQuery!=='function')stringifyQuery=defaultStringifyQuery;if(typeof parseQueryString!=='function')parseQueryString=defaultParseQueryString;var decodeQuery=function decodeQuery(location){if(!location)return location;if(location.query==null)location.query=parseQueryString(location.search.substring(1));return location;};var encodeQuery=function encodeQuery(location,query){if(query==null)return location;var object=typeof location==='string'?(0,_PathUtils.parsePath)(location):location;var queryString=stringifyQuery(query);var search=queryString?'?'+queryString:'';return _extends({},object,{search:search});};// Override all read methods with query-aware versions.
var getCurrentLocation=function getCurrentLocation(){return decodeQuery(history.getCurrentLocation());};var listenBefore=function listenBefore(hook){return history.listenBefore(function(location,callback){return(0,_runTransitionHook2.default)(hook,decodeQuery(location),callback);});};var listen=function listen(listener){return history.listen(function(location){return listener(decodeQuery(location));});};// Override all write methods with query-aware versions.
var push=function push(location){return history.push(encodeQuery(location,location.query));};var replace=function replace(location){return history.replace(encodeQuery(location,location.query));};var createPath=function createPath(location){return history.createPath(encodeQuery(location,location.query));};var createHref=function createHref(location){return history.createHref(encodeQuery(location,location.query));};var createLocation=function createLocation(location){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}var newLocation=history.createLocation.apply(history,[encodeQuery(location,location.query)].concat(args));if(location.query)newLocation.query=(0,_LocationUtils.createQuery)(location.query);return decodeQuery(newLocation);};return _extends({},history,{getCurrentLocation:getCurrentLocation,listenBefore:listenBefore,listen:listen,push:push,replace:replace,createPath:createPath,createHref:createHref,createLocation:createLocation});};};exports.default=useQueries;
/***/ },
/* 419 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSProperty
*/'use strict';/**
* CSS properties which accept numbers but are not in units of "px".
*/var isUnitlessNumber={animationIterationCount:true,boxFlex:true,boxFlexGroup:true,boxOrdinalGroup:true,columnCount:true,flex:true,flexGrow:true,flexPositive:true,flexShrink:true,flexNegative:true,flexOrder:true,fontWeight:true,lineClamp:true,lineHeight:true,opacity:true,order:true,orphans:true,tabSize:true,widows:true,zIndex:true,zoom:true,// SVG-related properties
fillOpacity:true,stopOpacity:true,strokeDashoffset:true,strokeOpacity:true,strokeWidth:true};/**
* @param {string} prefix vendor-specific prefix, eg: Webkit
* @param {string} key style name, eg: transitionDuration
* @return {string} style name prefixed with `prefix`, properly camelCased, eg:
* WebkitTransitionDuration
*/function prefixKey(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1);}/**
* Support style names that may come passed in prefixed by adding permutations
* of vendor prefixes.
*/var prefixes=['Webkit','ms','Moz','O'];// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
// infinite loop, because it iterates over the newly added props too.
Object.keys(isUnitlessNumber).forEach(function(prop){prefixes.forEach(function(prefix){isUnitlessNumber[prefixKey(prefix,prop)]=isUnitlessNumber[prop];});});/**
* Most style properties can be unset by doing .style[prop] = '' but IE8
* doesn't like doing that with shorthand properties so for the properties that
* IE8 breaks on, which are listed here, we instead unset each of the
* individual properties. See http://bugs.jquery.com/ticket/12385.
* The 4-value 'clock' properties like margin, padding, border-width seem to
* behave without any problems. Curiously, list-style works too without any
* special prodding.
*/var shorthandPropertyExpansions={background:{backgroundAttachment:true,backgroundColor:true,backgroundImage:true,backgroundPositionX:true,backgroundPositionY:true,backgroundRepeat:true},backgroundPosition:{backgroundPositionX:true,backgroundPositionY:true},border:{borderWidth:true,borderStyle:true,borderColor:true},borderBottom:{borderBottomWidth:true,borderBottomStyle:true,borderBottomColor:true},borderLeft:{borderLeftWidth:true,borderLeftStyle:true,borderLeftColor:true},borderRight:{borderRightWidth:true,borderRightStyle:true,borderRightColor:true},borderTop:{borderTopWidth:true,borderTopStyle:true,borderTopColor:true},font:{fontStyle:true,fontVariant:true,fontWeight:true,fontSize:true,lineHeight:true,fontFamily:true},outline:{outlineWidth:true,outlineStyle:true,outlineColor:true}};var CSSProperty={isUnitlessNumber:isUnitlessNumber,shorthandPropertyExpansions:shorthandPropertyExpansions};module.exports=CSSProperty;
/***/ },
/* 420 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMChildrenOperations
* @typechecks static-only
*/'use strict';var Danger=__webpack_require__(944);var ReactMultiChildUpdateTypes=__webpack_require__(437);var ReactPerf=__webpack_require__(37);var setInnerHTML=__webpack_require__(185);var setTextContent=__webpack_require__(262);var invariant=__webpack_require__(6);/**
* Inserts `childNode` as a child of `parentNode` at the `index`.
*
* @param {DOMElement} parentNode Parent node in which to insert.
* @param {DOMElement} childNode Child node to insert.
* @param {number} index Index at which to insert the child.
* @internal
*/function insertChildAt(parentNode,childNode,index){// By exploiting arrays returning `undefined` for an undefined index, we can
// rely exclusively on `insertBefore(node, null)` instead of also using
// `appendChild(node)`. However, using `undefined` is not allowed by all
// browsers so we must replace it with `null`.
// fix render order error in safari
// IE8 will throw error when index out of list size.
var beforeChild=index>=parentNode.childNodes.length?null:parentNode.childNodes.item(index);parentNode.insertBefore(childNode,beforeChild);}/**
* Operations for updating with DOM children.
*/var DOMChildrenOperations={dangerouslyReplaceNodeWithMarkup:Danger.dangerouslyReplaceNodeWithMarkup,updateTextContent:setTextContent,/**
* Updates a component's children by processing a series of updates. The
* update configurations are each expected to have a `parentNode` property.
*
* @param {array<object>} updates List of update configurations.
* @param {array<string>} markupList List of markup strings.
* @internal
*/processUpdates:function processUpdates(updates,markupList){var update;// Mapping from parent IDs to initial child orderings.
var initialChildren=null;// List of children that will be moved or removed.
var updatedChildren=null;for(var i=0;i<updates.length;i++){update=updates[i];if(update.type===ReactMultiChildUpdateTypes.MOVE_EXISTING||update.type===ReactMultiChildUpdateTypes.REMOVE_NODE){var updatedIndex=update.fromIndex;var updatedChild=update.parentNode.childNodes[updatedIndex];var parentID=update.parentID;!updatedChild?process.env.NODE_ENV!=='production'?invariant(false,'processUpdates(): Unable to find child %s of element. This '+'probably means the DOM was unexpectedly mutated (e.g., by the '+'browser), usually due to forgetting a <tbody> when using tables, '+'nesting tags like <form>, <p>, or <a>, or using non-SVG elements '+'in an <svg> parent. Try inspecting the child nodes of the element '+'with React ID `%s`.',updatedIndex,parentID):invariant(false):undefined;initialChildren=initialChildren||{};initialChildren[parentID]=initialChildren[parentID]||[];initialChildren[parentID][updatedIndex]=updatedChild;updatedChildren=updatedChildren||[];updatedChildren.push(updatedChild);}}var renderedMarkup;// markupList is either a list of markup or just a list of elements
if(markupList.length&&typeof markupList[0]==='string'){renderedMarkup=Danger.dangerouslyRenderMarkup(markupList);}else{renderedMarkup=markupList;}// Remove updated children first so that `toIndex` is consistent.
if(updatedChildren){for(var j=0;j<updatedChildren.length;j++){updatedChildren[j].parentNode.removeChild(updatedChildren[j]);}}for(var k=0;k<updates.length;k++){update=updates[k];switch(update.type){case ReactMultiChildUpdateTypes.INSERT_MARKUP:insertChildAt(update.parentNode,renderedMarkup[update.markupIndex],update.toIndex);break;case ReactMultiChildUpdateTypes.MOVE_EXISTING:insertChildAt(update.parentNode,initialChildren[update.parentID][update.fromIndex],update.toIndex);break;case ReactMultiChildUpdateTypes.SET_MARKUP:setInnerHTML(update.parentNode,update.content);break;case ReactMultiChildUpdateTypes.TEXT_CONTENT:setTextContent(update.parentNode,update.content);break;case ReactMultiChildUpdateTypes.REMOVE_NODE:// Already removed by the for-loop above.
break;}}}};ReactPerf.measureMethods(DOMChildrenOperations,'DOMChildrenOperations',{updateTextContent:'updateTextContent'});module.exports=DOMChildrenOperations;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 421 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginRegistry
* @typechecks static-only
*/'use strict';var invariant=__webpack_require__(6);/**
* Injectable ordering of event plugins.
*/var EventPluginOrder=null;/**
* Injectable mapping from names to event plugin modules.
*/var namesToPlugins={};/**
* Recomputes the plugin list using the injected plugins and plugin ordering.
*
* @private
*/function recomputePluginOrdering(){if(!EventPluginOrder){// Wait until an `EventPluginOrder` is injected.
return;}for(var pluginName in namesToPlugins){var PluginModule=namesToPlugins[pluginName];var pluginIndex=EventPluginOrder.indexOf(pluginName);!(pluginIndex>-1)?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginRegistry: Cannot inject event plugins that do not exist in '+'the plugin ordering, `%s`.',pluginName):invariant(false):undefined;if(EventPluginRegistry.plugins[pluginIndex]){continue;}!PluginModule.extractEvents?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginRegistry: Event plugins must implement an `extractEvents` '+'method, but `%s` does not.',pluginName):invariant(false):undefined;EventPluginRegistry.plugins[pluginIndex]=PluginModule;var publishedEvents=PluginModule.eventTypes;for(var eventName in publishedEvents){!publishEventForPlugin(publishedEvents[eventName],PluginModule,eventName)?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.',eventName,pluginName):invariant(false):undefined;}}}/**
* Publishes an event so that it can be dispatched by the supplied plugin.
*
* @param {object} dispatchConfig Dispatch configuration for the event.
* @param {object} PluginModule Plugin publishing the event.
* @return {boolean} True if the event was successfully published.
* @private
*/function publishEventForPlugin(dispatchConfig,PluginModule,eventName){!!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName)?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginHub: More than one plugin attempted to publish the same '+'event name, `%s`.',eventName):invariant(false):undefined;EventPluginRegistry.eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames){if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,PluginModule,eventName);}}return true;}else if(dispatchConfig.registrationName){publishRegistrationName(dispatchConfig.registrationName,PluginModule,eventName);return true;}return false;}/**
* Publishes a registration name that is used to identify dispatched events and
* can be used with `EventPluginHub.putListener` to register listeners.
*
* @param {string} registrationName Registration name to add.
* @param {object} PluginModule Plugin publishing the event.
* @private
*/function publishRegistrationName(registrationName,PluginModule,eventName){!!EventPluginRegistry.registrationNameModules[registrationName]?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginHub: More than one plugin attempted to publish the same '+'registration name, `%s`.',registrationName):invariant(false):undefined;EventPluginRegistry.registrationNameModules[registrationName]=PluginModule;EventPluginRegistry.registrationNameDependencies[registrationName]=PluginModule.eventTypes[eventName].dependencies;}/**
* Registers plugins so that they can extract and dispatch events.
*
* @see {EventPluginHub}
*/var EventPluginRegistry={/**
* Ordered list of injected plugins.
*/plugins:[],/**
* Mapping from event name to dispatch config
*/eventNameDispatchConfigs:{},/**
* Mapping from registration name to plugin module
*/registrationNameModules:{},/**
* Mapping from registration name to event name
*/registrationNameDependencies:{},/**
* Injects an ordering of plugins (by plugin name). This allows the ordering
* to be decoupled from injection of the actual plugins so that ordering is
* always deterministic regardless of packaging, on-the-fly injection, etc.
*
* @param {array} InjectedEventPluginOrder
* @internal
* @see {EventPluginHub.injection.injectEventPluginOrder}
*/injectEventPluginOrder:function injectEventPluginOrder(InjectedEventPluginOrder){!!EventPluginOrder?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginRegistry: Cannot inject event plugin ordering more than '+'once. You are likely trying to load more than one copy of React.'):invariant(false):undefined;// Clone the ordering so it cannot be dynamically mutated.
EventPluginOrder=Array.prototype.slice.call(InjectedEventPluginOrder);recomputePluginOrdering();},/**
* Injects plugins to be used by `EventPluginHub`. The plugin names must be
* in the ordering injected by `injectEventPluginOrder`.
*
* Plugins can be injected as part of page initialization or on-the-fly.
*
* @param {object} injectedNamesToPlugins Map from names to plugin modules.
* @internal
* @see {EventPluginHub.injection.injectEventPluginsByName}
*/injectEventPluginsByName:function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=false;for(var pluginName in injectedNamesToPlugins){if(!injectedNamesToPlugins.hasOwnProperty(pluginName)){continue;}var PluginModule=injectedNamesToPlugins[pluginName];if(!namesToPlugins.hasOwnProperty(pluginName)||namesToPlugins[pluginName]!==PluginModule){!!namesToPlugins[pluginName]?process.env.NODE_ENV!=='production'?invariant(false,'EventPluginRegistry: Cannot inject two different event plugins '+'using the same name, `%s`.',pluginName):invariant(false):undefined;namesToPlugins[pluginName]=PluginModule;isOrderingDirty=true;}}if(isOrderingDirty){recomputePluginOrdering();}},/**
* Looks up the plugin for the supplied event.
*
* @param {object} event A synthetic event.
* @return {?object} The plugin that created the supplied event.
* @internal
*/getPluginModuleForEvent:function getPluginModuleForEvent(event){var dispatchConfig=event.dispatchConfig;if(dispatchConfig.registrationName){return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName]||null;}for(var phase in dispatchConfig.phasedRegistrationNames){if(!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)){continue;}var PluginModule=EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];if(PluginModule){return PluginModule;}}return null;},/**
* Exposed for unit testing.
* @private
*/_resetEventPlugins:function _resetEventPlugins(){EventPluginOrder=null;for(var pluginName in namesToPlugins){if(namesToPlugins.hasOwnProperty(pluginName)){delete namesToPlugins[pluginName];}}EventPluginRegistry.plugins.length=0;var eventNameDispatchConfigs=EventPluginRegistry.eventNameDispatchConfigs;for(var eventName in eventNameDispatchConfigs){if(eventNameDispatchConfigs.hasOwnProperty(eventName)){delete eventNameDispatchConfigs[eventName];}}var registrationNameModules=EventPluginRegistry.registrationNameModules;for(var registrationName in registrationNameModules){if(registrationNameModules.hasOwnProperty(registrationName)){delete registrationNameModules[registrationName];}}}};module.exports=EventPluginRegistry;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 422 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactChildren
*/'use strict';var PooledClass=__webpack_require__(65);var ReactElement=__webpack_require__(34);var emptyFunction=__webpack_require__(40);var traverseAllChildren=__webpack_require__(264);var twoArgumentPooler=PooledClass.twoArgumentPooler;var fourArgumentPooler=PooledClass.fourArgumentPooler;var userProvidedKeyEscapeRegex=/\/(?!\/)/g;function escapeUserProvidedKey(text){return(''+text).replace(userProvidedKeyEscapeRegex,'//');}/**
* PooledClass representing the bookkeeping associated with performing a child
* traversal. Allows avoiding binding callbacks.
*
* @constructor ForEachBookKeeping
* @param {!function} forEachFunction Function to perform traversal with.
* @param {?*} forEachContext Context to perform context with.
*/function ForEachBookKeeping(forEachFunction,forEachContext){this.func=forEachFunction;this.context=forEachContext;this.count=0;}ForEachBookKeeping.prototype.destructor=function(){this.func=null;this.context=null;this.count=0;};PooledClass.addPoolingTo(ForEachBookKeeping,twoArgumentPooler);function forEachSingleChild(bookKeeping,child,name){var func=bookKeeping.func;var context=bookKeeping.context;func.call(context,child,bookKeeping.count++);}/**
* Iterates through children that are typically specified as `props.children`.
*
* The provided forEachFunc(child, index) will be called for each
* leaf child.
*
* @param {?*} children Children tree container.
* @param {function(*, int)} forEachFunc
* @param {*} forEachContext Context for forEachContext.
*/function forEachChildren(children,forEachFunc,forEachContext){if(children==null){return children;}var traverseContext=ForEachBookKeeping.getPooled(forEachFunc,forEachContext);traverseAllChildren(children,forEachSingleChild,traverseContext);ForEachBookKeeping.release(traverseContext);}/**
* PooledClass representing the bookkeeping associated with performing a child
* mapping. Allows avoiding binding callbacks.
*
* @constructor MapBookKeeping
* @param {!*} mapResult Object containing the ordered map of results.
* @param {!function} mapFunction Function to perform mapping with.
* @param {?*} mapContext Context to perform mapping with.
*/function MapBookKeeping(mapResult,keyPrefix,mapFunction,mapContext){this.result=mapResult;this.keyPrefix=keyPrefix;this.func=mapFunction;this.context=mapContext;this.count=0;}MapBookKeeping.prototype.destructor=function(){this.result=null;this.keyPrefix=null;this.func=null;this.context=null;this.count=0;};PooledClass.addPoolingTo(MapBookKeeping,fourArgumentPooler);function mapSingleChildIntoContext(bookKeeping,child,childKey){var result=bookKeeping.result;var keyPrefix=bookKeeping.keyPrefix;var func=bookKeeping.func;var context=bookKeeping.context;var mappedChild=func.call(context,child,bookKeeping.count++);if(Array.isArray(mappedChild)){mapIntoWithKeyPrefixInternal(mappedChild,result,childKey,emptyFunction.thatReturnsArgument);}else if(mappedChild!=null){if(ReactElement.isValidElement(mappedChild)){mappedChild=ReactElement.cloneAndReplaceKey(mappedChild,// Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
keyPrefix+(mappedChild!==child?escapeUserProvidedKey(mappedChild.key||'')+'/':'')+childKey);}result.push(mappedChild);}}function mapIntoWithKeyPrefixInternal(children,array,prefix,func,context){var escapedPrefix='';if(prefix!=null){escapedPrefix=escapeUserProvidedKey(prefix)+'/';}var traverseContext=MapBookKeeping.getPooled(array,escapedPrefix,func,context);traverseAllChildren(children,mapSingleChildIntoContext,traverseContext);MapBookKeeping.release(traverseContext);}/**
* Maps children that are typically specified as `props.children`.
*
* The provided mapFunction(child, key, index) will be called for each
* leaf child.
*
* @param {?*} children Children tree container.
* @param {function(*, int)} func The map function.
* @param {*} context Context for mapFunction.
* @return {object} Object containing the ordered map of results.
*/function mapChildren(children,func,context){if(children==null){return children;}var result=[];mapIntoWithKeyPrefixInternal(children,result,null,func,context);return result;}function forEachSingleChildDummy(traverseContext,child,name){return null;}/**
* Count the number of children that are typically specified as
* `props.children`.
*
* @param {?*} children Children tree container.
* @return {number} The number of children.
*/function countChildren(children,context){return traverseAllChildren(children,forEachSingleChildDummy,null);}/**
* Flatten a children object (typically specified as `props.children`) and
* return an array with appropriately re-keyed children.
*/function toArray(children){var result=[];mapIntoWithKeyPrefixInternal(children,result,null,emptyFunction.thatReturnsArgument);return result;}var ReactChildren={forEach:forEachChildren,map:mapChildren,mapIntoWithKeyPrefixInternal:mapIntoWithKeyPrefixInternal,count:countChildren,toArray:toArray};module.exports=ReactChildren;
/***/ },
/* 423 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactClass
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactComponent=__webpack_require__(424);var ReactElement=__webpack_require__(34);var ReactPropTypeLocations=__webpack_require__(180);var ReactPropTypeLocationNames=__webpack_require__(179);var ReactNoopUpdateQueue=__webpack_require__(439);var assign=__webpack_require__(7);var emptyObject=__webpack_require__(105);var invariant=__webpack_require__(6);var keyMirror=__webpack_require__(137);var keyOf=__webpack_require__(57);var warning=__webpack_require__(8);var MIXINS_KEY=keyOf({mixins:null});/**
* Policies that describe methods in `ReactClassInterface`.
*/var SpecPolicy=keyMirror({/**
* These methods may be defined only once by the class specification or mixin.
*/DEFINE_ONCE:null,/**
* These methods may be defined by both the class specification and mixins.
* Subsequent definitions will be chained. These methods must return void.
*/DEFINE_MANY:null,/**
* These methods are overriding the base class.
*/OVERRIDE_BASE:null,/**
* These methods are similar to DEFINE_MANY, except we assume they return
* objects. We try to merge the keys of the return values of all the mixed in
* functions. If there is a key conflict we throw.
*/DEFINE_MANY_MERGED:null});var injectedMixins=[];var warnedSetProps=false;function warnSetProps(){if(!warnedSetProps){warnedSetProps=true;process.env.NODE_ENV!=='production'?warning(false,'setProps(...) and replaceProps(...) are deprecated. '+'Instead, call render again at the top level.'):undefined;}}/**
* Composite components are higher-level components that compose other composite
* or native components.
*
* To create a new type of `ReactClass`, pass a specification of
* your new class to `React.createClass`. The only requirement of your class
* specification is that you implement a `render` method.
*
* var MyComponent = React.createClass({
* render: function() {
* return <div>Hello World</div>;
* }
* });
*
* The class specification supports a specific protocol of methods that have
* special meaning (e.g. `render`). See `ReactClassInterface` for
* more the comprehensive protocol. Any other properties and methods in the
* class specification will be available on the prototype.
*
* @interface ReactClassInterface
* @internal
*/var ReactClassInterface={/**
* An array of Mixin objects to include when defining your component.
*
* @type {array}
* @optional
*/mixins:SpecPolicy.DEFINE_MANY,/**
* An object containing properties and methods that should be defined on
* the component's constructor instead of its prototype (static methods).
*
* @type {object}
* @optional
*/statics:SpecPolicy.DEFINE_MANY,/**
* Definition of prop types for this component.
*
* @type {object}
* @optional
*/propTypes:SpecPolicy.DEFINE_MANY,/**
* Definition of context types for this component.
*
* @type {object}
* @optional
*/contextTypes:SpecPolicy.DEFINE_MANY,/**
* Definition of context types this component sets for its children.
*
* @type {object}
* @optional
*/childContextTypes:SpecPolicy.DEFINE_MANY,// ==== Definition methods ====
/**
* Invoked when the component is mounted. Values in the mapping will be set on
* `this.props` if that prop is not specified (i.e. using an `in` check).
*
* This method is invoked before `getInitialState` and therefore cannot rely
* on `this.state` or use `this.setState`.
*
* @return {object}
* @optional
*/getDefaultProps:SpecPolicy.DEFINE_MANY_MERGED,/**
* Invoked once before the component is mounted. The return value will be used
* as the initial value of `this.state`.
*
* getInitialState: function() {
* return {
* isOn: false,
* fooBaz: new BazFoo()
* }
* }
*
* @return {object}
* @optional
*/getInitialState:SpecPolicy.DEFINE_MANY_MERGED,/**
* @return {object}
* @optional
*/getChildContext:SpecPolicy.DEFINE_MANY_MERGED,/**
* Uses props from `this.props` and state from `this.state` to render the
* structure of the component.
*
* No guarantees are made about when or how often this method is invoked, so
* it must not have side effects.
*
* render: function() {
* var name = this.props.name;
* return <div>Hello, {name}!</div>;
* }
*
* @return {ReactComponent}
* @nosideeffects
* @required
*/render:SpecPolicy.DEFINE_ONCE,// ==== Delegate methods ====
/**
* Invoked when the component is initially created and about to be mounted.
* This may have side effects, but any external subscriptions or data created
* by this method must be cleaned up in `componentWillUnmount`.
*
* @optional
*/componentWillMount:SpecPolicy.DEFINE_MANY,/**
* Invoked when the component has been mounted and has a DOM representation.
* However, there is no guarantee that the DOM node is in the document.
*
* Use this as an opportunity to operate on the DOM when the component has
* been mounted (initialized and rendered) for the first time.
*
* @param {DOMElement} rootNode DOM element representing the component.
* @optional
*/componentDidMount:SpecPolicy.DEFINE_MANY,/**
* Invoked before the component receives new props.
*
* Use this as an opportunity to react to a prop transition by updating the
* state using `this.setState`. Current props are accessed via `this.props`.
*
* componentWillReceiveProps: function(nextProps, nextContext) {
* this.setState({
* likesIncreasing: nextProps.likeCount > this.props.likeCount
* });
* }
*
* NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop
* transition may cause a state change, but the opposite is not true. If you
* need it, you are probably looking for `componentWillUpdate`.
*
* @param {object} nextProps
* @optional
*/componentWillReceiveProps:SpecPolicy.DEFINE_MANY,/**
* Invoked while deciding if the component should be updated as a result of
* receiving new props, state and/or context.
*
* Use this as an opportunity to `return false` when you're certain that the
* transition to the new props/state/context will not require a component
* update.
*
* shouldComponentUpdate: function(nextProps, nextState, nextContext) {
* return !equal(nextProps, this.props) ||
* !equal(nextState, this.state) ||
* !equal(nextContext, this.context);
* }
*
* @param {object} nextProps
* @param {?object} nextState
* @param {?object} nextContext
* @return {boolean} True if the component should update.
* @optional
*/shouldComponentUpdate:SpecPolicy.DEFINE_ONCE,/**
* Invoked when the component is about to update due to a transition from
* `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`
* and `nextContext`.
*
* Use this as an opportunity to perform preparation before an update occurs.
*
* NOTE: You **cannot** use `this.setState()` in this method.
*
* @param {object} nextProps
* @param {?object} nextState
* @param {?object} nextContext
* @param {ReactReconcileTransaction} transaction
* @optional
*/componentWillUpdate:SpecPolicy.DEFINE_MANY,/**
* Invoked when the component's DOM representation has been updated.
*
* Use this as an opportunity to operate on the DOM when the component has
* been updated.
*
* @param {object} prevProps
* @param {?object} prevState
* @param {?object} prevContext
* @param {DOMElement} rootNode DOM element representing the component.
* @optional
*/componentDidUpdate:SpecPolicy.DEFINE_MANY,/**
* Invoked when the component is about to be removed from its parent and have
* its DOM representation destroyed.
*
* Use this as an opportunity to deallocate any external resources.
*
* NOTE: There is no `componentDidUnmount` since your component will have been
* destroyed by that point.
*
* @optional
*/componentWillUnmount:SpecPolicy.DEFINE_MANY,// ==== Advanced methods ====
/**
* Updates the component's currently mounted DOM representation.
*
* By default, this implements React's rendering and reconciliation algorithm.
* Sophisticated clients may wish to override this.
*
* @param {ReactReconcileTransaction} transaction
* @internal
* @overridable
*/updateComponent:SpecPolicy.OVERRIDE_BASE};/**
* Mapping from class specification keys to special processing functions.
*
* Although these are declared like instance properties in the specification
* when defining classes using `React.createClass`, they are actually static
* and are accessible on the constructor instead of the prototype. Despite
* being static, they must be defined outside of the "statics" key under
* which all other static methods are defined.
*/var RESERVED_SPEC_KEYS={displayName:function displayName(Constructor,_displayName){Constructor.displayName=_displayName;},mixins:function mixins(Constructor,_mixins){if(_mixins){for(var i=0;i<_mixins.length;i++){mixSpecIntoComponent(Constructor,_mixins[i]);}}},childContextTypes:function childContextTypes(Constructor,_childContextTypes){if(process.env.NODE_ENV!=='production'){validateTypeDef(Constructor,_childContextTypes,ReactPropTypeLocations.childContext);}Constructor.childContextTypes=assign({},Constructor.childContextTypes,_childContextTypes);},contextTypes:function contextTypes(Constructor,_contextTypes){if(process.env.NODE_ENV!=='production'){validateTypeDef(Constructor,_contextTypes,ReactPropTypeLocations.context);}Constructor.contextTypes=assign({},Constructor.contextTypes,_contextTypes);},/**
* Special case getDefaultProps which should move into statics but requires
* automatic merging.
*/getDefaultProps:function getDefaultProps(Constructor,_getDefaultProps){if(Constructor.getDefaultProps){Constructor.getDefaultProps=createMergedResultFunction(Constructor.getDefaultProps,_getDefaultProps);}else{Constructor.getDefaultProps=_getDefaultProps;}},propTypes:function propTypes(Constructor,_propTypes){if(process.env.NODE_ENV!=='production'){validateTypeDef(Constructor,_propTypes,ReactPropTypeLocations.prop);}Constructor.propTypes=assign({},Constructor.propTypes,_propTypes);},statics:function statics(Constructor,_statics){mixStaticSpecIntoComponent(Constructor,_statics);},autobind:function autobind(){}};// noop
function validateTypeDef(Constructor,typeDef,location){for(var propName in typeDef){if(typeDef.hasOwnProperty(propName)){// use a warning instead of an invariant so components
// don't show up in prod but not in __DEV__
process.env.NODE_ENV!=='production'?warning(typeof typeDef[propName]==='function','%s: %s type `%s` is invalid; it must be a function, usually from '+'React.PropTypes.',Constructor.displayName||'ReactClass',ReactPropTypeLocationNames[location],propName):undefined;}}}function validateMethodOverride(proto,name){var specPolicy=ReactClassInterface.hasOwnProperty(name)?ReactClassInterface[name]:null;// Disallow overriding of base class methods unless explicitly allowed.
if(ReactClassMixin.hasOwnProperty(name)){!(specPolicy===SpecPolicy.OVERRIDE_BASE)?process.env.NODE_ENV!=='production'?invariant(false,'ReactClassInterface: You are attempting to override '+'`%s` from your class specification. Ensure that your method names '+'do not overlap with React methods.',name):invariant(false):undefined;}// Disallow defining methods more than once unless explicitly allowed.
if(proto.hasOwnProperty(name)){!(specPolicy===SpecPolicy.DEFINE_MANY||specPolicy===SpecPolicy.DEFINE_MANY_MERGED)?process.env.NODE_ENV!=='production'?invariant(false,'ReactClassInterface: You are attempting to define '+'`%s` on your component more than once. This conflict may be due '+'to a mixin.',name):invariant(false):undefined;}}/**
* Mixin helper which handles policy validation and reserved
* specification keys when building React classses.
*/function mixSpecIntoComponent(Constructor,spec){if(!spec){return;}!(typeof spec!=='function')?process.env.NODE_ENV!=='production'?invariant(false,'ReactClass: You\'re attempting to '+'use a component class as a mixin. Instead, just use a regular object.'):invariant(false):undefined;!!ReactElement.isValidElement(spec)?process.env.NODE_ENV!=='production'?invariant(false,'ReactClass: You\'re attempting to '+'use a component as a mixin. Instead, just use a regular object.'):invariant(false):undefined;var proto=Constructor.prototype;// By handling mixins before any other properties, we ensure the same
// chaining order is applied to methods with DEFINE_MANY policy, whether
// mixins are listed before or after these methods in the spec.
if(spec.hasOwnProperty(MIXINS_KEY)){RESERVED_SPEC_KEYS.mixins(Constructor,spec.mixins);}for(var name in spec){if(!spec.hasOwnProperty(name)){continue;}if(name===MIXINS_KEY){// We have already handled mixins in a special case above.
continue;}var property=spec[name];validateMethodOverride(proto,name);if(RESERVED_SPEC_KEYS.hasOwnProperty(name)){RESERVED_SPEC_KEYS[name](Constructor,property);}else{// Setup methods on prototype:
// The following member methods should not be automatically bound:
// 1. Expected ReactClass methods (in the "interface").
// 2. Overridden methods (that were mixed in).
var isReactClassMethod=ReactClassInterface.hasOwnProperty(name);var isAlreadyDefined=proto.hasOwnProperty(name);var isFunction=typeof property==='function';var shouldAutoBind=isFunction&&!isReactClassMethod&&!isAlreadyDefined&&spec.autobind!==false;if(shouldAutoBind){if(!proto.__reactAutoBindMap){proto.__reactAutoBindMap={};}proto.__reactAutoBindMap[name]=property;proto[name]=property;}else{if(isAlreadyDefined){var specPolicy=ReactClassInterface[name];// These cases should already be caught by validateMethodOverride.
!(isReactClassMethod&&(specPolicy===SpecPolicy.DEFINE_MANY_MERGED||specPolicy===SpecPolicy.DEFINE_MANY))?process.env.NODE_ENV!=='production'?invariant(false,'ReactClass: Unexpected spec policy %s for key %s '+'when mixing in component specs.',specPolicy,name):invariant(false):undefined;// For methods which are defined more than once, call the existing
// methods before calling the new property, merging if appropriate.
if(specPolicy===SpecPolicy.DEFINE_MANY_MERGED){proto[name]=createMergedResultFunction(proto[name],property);}else if(specPolicy===SpecPolicy.DEFINE_MANY){proto[name]=createChainedFunction(proto[name],property);}}else{proto[name]=property;if(process.env.NODE_ENV!=='production'){// Add verbose displayName to the function, which helps when looking
// at profiling tools.
if(typeof property==='function'&&spec.displayName){proto[name].displayName=spec.displayName+'_'+name;}}}}}}}function mixStaticSpecIntoComponent(Constructor,statics){if(!statics){return;}for(var name in statics){var property=statics[name];if(!statics.hasOwnProperty(name)){continue;}var isReserved=name in RESERVED_SPEC_KEYS;!!isReserved?process.env.NODE_ENV!=='production'?invariant(false,'ReactClass: You are attempting to define a reserved '+'property, `%s`, that shouldn\'t be on the "statics" key. Define it '+'as an instance property instead; it will still be accessible on the '+'constructor.',name):invariant(false):undefined;var isInherited=name in Constructor;!!isInherited?process.env.NODE_ENV!=='production'?invariant(false,'ReactClass: You are attempting to define '+'`%s` on your component more than once. This conflict may be '+'due to a mixin.',name):invariant(false):undefined;Constructor[name]=property;}}/**
* Merge two objects, but throw if both contain the same key.
*
* @param {object} one The first object, which is mutated.
* @param {object} two The second object
* @return {object} one after it has been mutated to contain everything in two.
*/function mergeIntoWithNoDuplicateKeys(one,two){!(one&&two&&(typeof one==='undefined'?'undefined':_typeof(one))==='object'&&(typeof two==='undefined'?'undefined':_typeof(two))==='object')?process.env.NODE_ENV!=='production'?invariant(false,'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'):invariant(false):undefined;for(var key in two){if(two.hasOwnProperty(key)){!(one[key]===undefined)?process.env.NODE_ENV!=='production'?invariant(false,'mergeIntoWithNoDuplicateKeys(): '+'Tried to merge two objects with the same key: `%s`. This conflict '+'may be due to a mixin; in particular, this may be caused by two '+'getInitialState() or getDefaultProps() methods returning objects '+'with clashing keys.',key):invariant(false):undefined;one[key]=two[key];}}return one;}/**
* Creates a function that invokes two functions and merges their return values.
*
* @param {function} one Function to invoke first.
* @param {function} two Function to invoke second.
* @return {function} Function that invokes the two argument functions.
* @private
*/function createMergedResultFunction(one,two){return function mergedResult(){var a=one.apply(this,arguments);var b=two.apply(this,arguments);if(a==null){return b;}else if(b==null){return a;}var c={};mergeIntoWithNoDuplicateKeys(c,a);mergeIntoWithNoDuplicateKeys(c,b);return c;};}/**
* Creates a function that invokes two functions and ignores their return vales.
*
* @param {function} one Function to invoke first.
* @param {function} two Function to invoke second.
* @return {function} Function that invokes the two argument functions.
* @private
*/function createChainedFunction(one,two){return function chainedFunction(){one.apply(this,arguments);two.apply(this,arguments);};}/**
* Binds a method to the component.
*
* @param {object} component Component whose method is going to be bound.
* @param {function} method Method to be bound.
* @return {function} The bound method.
*/function bindAutoBindMethod(component,method){var boundMethod=method.bind(component);if(process.env.NODE_ENV!=='production'){boundMethod.__reactBoundContext=component;boundMethod.__reactBoundMethod=method;boundMethod.__reactBoundArguments=null;var componentName=component.constructor.displayName;var _bind=boundMethod.bind;/* eslint-disable block-scoped-var, no-undef */boundMethod.bind=function(newThis){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}// User is trying to bind() an autobound method; we effectively will
// ignore the value of "this" that the user is trying to use, so
// let's warn.
if(newThis!==component&&newThis!==null){process.env.NODE_ENV!=='production'?warning(false,'bind(): React component methods may only be bound to the '+'component instance. See %s',componentName):undefined;}else if(!args.length){process.env.NODE_ENV!=='production'?warning(false,'bind(): You are binding a component method to the component. '+'React does this for you automatically in a high-performance '+'way, so you can safely remove this call. See %s',componentName):undefined;return boundMethod;}var reboundMethod=_bind.apply(boundMethod,arguments);reboundMethod.__reactBoundContext=component;reboundMethod.__reactBoundMethod=method;reboundMethod.__reactBoundArguments=args;return reboundMethod;/* eslint-enable */};}return boundMethod;}/**
* Binds all auto-bound methods in a component.
*
* @param {object} component Component whose method is going to be bound.
*/function bindAutoBindMethods(component){for(var autoBindKey in component.__reactAutoBindMap){if(component.__reactAutoBindMap.hasOwnProperty(autoBindKey)){var method=component.__reactAutoBindMap[autoBindKey];component[autoBindKey]=bindAutoBindMethod(component,method);}}}/**
* Add more to the ReactClass base class. These are all legacy features and
* therefore not already part of the modern ReactComponent.
*/var ReactClassMixin={/**
* TODO: This will be deprecated because state should always keep a consistent
* type signature and the only use case for this, is to avoid that.
*/replaceState:function replaceState(newState,callback){this.updater.enqueueReplaceState(this,newState);if(callback){this.updater.enqueueCallback(this,callback);}},/**
* Checks whether or not this composite component is mounted.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/isMounted:function isMounted(){return this.updater.isMounted(this);},/**
* Sets a subset of the props.
*
* @param {object} partialProps Subset of the next props.
* @param {?function} callback Called after props are updated.
* @final
* @public
* @deprecated
*/setProps:function setProps(partialProps,callback){if(process.env.NODE_ENV!=='production'){warnSetProps();}this.updater.enqueueSetProps(this,partialProps);if(callback){this.updater.enqueueCallback(this,callback);}},/**
* Replace all the props.
*
* @param {object} newProps Subset of the next props.
* @param {?function} callback Called after props are updated.
* @final
* @public
* @deprecated
*/replaceProps:function replaceProps(newProps,callback){if(process.env.NODE_ENV!=='production'){warnSetProps();}this.updater.enqueueReplaceProps(this,newProps);if(callback){this.updater.enqueueCallback(this,callback);}}};var ReactClassComponent=function ReactClassComponent(){};assign(ReactClassComponent.prototype,ReactComponent.prototype,ReactClassMixin);/**
* Module for creating composite components.
*
* @class ReactClass
*/var ReactClass={/**
* Creates a composite component class given a class specification.
*
* @param {object} spec Class specification (which must define `render`).
* @return {function} Component constructor function.
* @public
*/createClass:function createClass(spec){var Constructor=function Constructor(props,context,updater){// This constructor is overridden by mocks. The argument is used
// by mocks to assert on what gets mounted.
if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(this instanceof Constructor,'Something is calling a React component directly. Use a factory or '+'JSX instead. See: https://fb.me/react-legacyfactory'):undefined;}// Wire up auto-binding
if(this.__reactAutoBindMap){bindAutoBindMethods(this);}this.props=props;this.context=context;this.refs=emptyObject;this.updater=updater||ReactNoopUpdateQueue;this.state=null;// ReactClasses doesn't have constructors. Instead, they use the
// getInitialState and componentWillMount methods for initialization.
var initialState=this.getInitialState?this.getInitialState():null;if(process.env.NODE_ENV!=='production'){// We allow auto-mocks to proceed as if they're returning null.
if(typeof initialState==='undefined'&&this.getInitialState._isMockFunction){// This is probably bad practice. Consider warning here and
// deprecating this convenience.
initialState=null;}}!((typeof initialState==='undefined'?'undefined':_typeof(initialState))==='object'&&!Array.isArray(initialState))?process.env.NODE_ENV!=='production'?invariant(false,'%s.getInitialState(): must return an object or null',Constructor.displayName||'ReactCompositeComponent'):invariant(false):undefined;this.state=initialState;};Constructor.prototype=new ReactClassComponent();Constructor.prototype.constructor=Constructor;injectedMixins.forEach(mixSpecIntoComponent.bind(null,Constructor));mixSpecIntoComponent(Constructor,spec);// Initialize the defaultProps property after all mixins have been merged.
if(Constructor.getDefaultProps){Constructor.defaultProps=Constructor.getDefaultProps();}if(process.env.NODE_ENV!=='production'){// This is a tag to indicate that the use of these method names is ok,
// since it's used with createClass. If it's not, then it's likely a
// mistake so we'll warn you to use the static property, property
// initializer or constructor respectively.
if(Constructor.getDefaultProps){Constructor.getDefaultProps.isReactClassApproved={};}if(Constructor.prototype.getInitialState){Constructor.prototype.getInitialState.isReactClassApproved={};}}!Constructor.prototype.render?process.env.NODE_ENV!=='production'?invariant(false,'createClass(...): Class specification must implement a `render` method.'):invariant(false):undefined;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(!Constructor.prototype.componentShouldUpdate,'%s has a method called '+'componentShouldUpdate(). Did you mean shouldComponentUpdate()? '+'The name is phrased as a question because the function is '+'expected to return a value.',spec.displayName||'A component'):undefined;process.env.NODE_ENV!=='production'?warning(!Constructor.prototype.componentWillRecieveProps,'%s has a method called '+'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',spec.displayName||'A component'):undefined;}// Reduce time spent doing lookups by setting these on the prototype.
for(var methodName in ReactClassInterface){if(!Constructor.prototype[methodName]){Constructor.prototype[methodName]=null;}}return Constructor;},injection:{injectMixin:function injectMixin(mixin){injectedMixins.push(mixin);}}};module.exports=ReactClass;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 424 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponent
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactNoopUpdateQueue=__webpack_require__(439);var canDefineProperty=__webpack_require__(183);var emptyObject=__webpack_require__(105);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);/**
* Base class helpers for the updating state of a component.
*/function ReactComponent(props,context,updater){this.props=props;this.context=context;this.refs=emptyObject;// We initialize the default updater but the real one gets injected by the
// renderer.
this.updater=updater||ReactNoopUpdateQueue;}ReactComponent.prototype.isReactComponent={};/**
* Sets a subset of the state. Always use this to mutate
* state. You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* There is no guarantee that calls to `setState` will run synchronously,
* as they may eventually be batched together. You can provide an optional
* callback that will be executed when the call to setState is actually
* completed.
*
* When a function is provided to setState, it will be called at some point in
* the future (not synchronously). It will be called with the up to date
* component arguments (state, props, context). These values can be different
* from this.* because your function may be called after receiveProps but before
* shouldComponentUpdate, and this new state, props, and context will not yet be
* assigned to this.
*
* @param {object|function} partialState Next partial state or function to
* produce next partial state to be merged with current state.
* @param {?function} callback Called after state is updated.
* @final
* @protected
*/ReactComponent.prototype.setState=function(partialState,callback){!((typeof partialState==='undefined'?'undefined':_typeof(partialState))==='object'||typeof partialState==='function'||partialState==null)?process.env.NODE_ENV!=='production'?invariant(false,'setState(...): takes an object of state variables to update or a '+'function which returns an object of state variables.'):invariant(false):undefined;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(partialState!=null,'setState(...): You passed an undefined or null state object; '+'instead, use forceUpdate().'):undefined;}this.updater.enqueueSetState(this,partialState);if(callback){this.updater.enqueueCallback(this,callback);}};/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {?function} callback Called after update is complete.
* @final
* @protected
*/ReactComponent.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this);if(callback){this.updater.enqueueCallback(this,callback);}};/**
* Deprecated APIs. These APIs used to exist on classic React classes but since
* we would like to deprecate them, we're not going to move them over to this
* modern base class. Instead, we define a getter that warns if it's accessed.
*/if(process.env.NODE_ENV!=='production'){var deprecatedAPIs={getDOMNode:['getDOMNode','Use ReactDOM.findDOMNode(component) instead.'],isMounted:['isMounted','Instead, make sure to clean up subscriptions and pending requests in '+'componentWillUnmount to prevent memory leaks.'],replaceProps:['replaceProps','Instead, call render again at the top level.'],replaceState:['replaceState','Refactor your code to use setState instead (see '+'https://github.com/facebook/react/issues/3236).'],setProps:['setProps','Instead, call render again at the top level.']};var defineDeprecationWarning=function defineDeprecationWarning(methodName,info){if(canDefineProperty){Object.defineProperty(ReactComponent.prototype,methodName,{get:function get(){process.env.NODE_ENV!=='production'?warning(false,'%s(...) is deprecated in plain JavaScript React classes. %s',info[0],info[1]):undefined;return undefined;}});}};for(var fnName in deprecatedAPIs){if(deprecatedAPIs.hasOwnProperty(fnName)){defineDeprecationWarning(fnName,deprecatedAPIs[fnName]);}}}module.exports=ReactComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 425 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOM
*//* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/'use strict';var ReactCurrentOwner=__webpack_require__(51);var ReactDOMTextComponent=__webpack_require__(428);var ReactDefaultInjection=__webpack_require__(430);var ReactInstanceHandles=__webpack_require__(96);var ReactMount=__webpack_require__(25);var ReactPerf=__webpack_require__(37);var ReactReconciler=__webpack_require__(78);var ReactUpdates=__webpack_require__(39);var ReactVersion=__webpack_require__(254);var findDOMNode=__webpack_require__(255);var renderSubtreeIntoContainer=__webpack_require__(995);var warning=__webpack_require__(8);ReactDefaultInjection.inject();var render=ReactPerf.measure('React','render',ReactMount.render);var React={findDOMNode:findDOMNode,render:render,unmountComponentAtNode:ReactMount.unmountComponentAtNode,version:ReactVersion,/* eslint-disable camelcase */unstable_batchedUpdates:ReactUpdates.batchedUpdates,unstable_renderSubtreeIntoContainer:renderSubtreeIntoContainer};// Inject the runtime into a devtools global hook regardless of browser.
// Allows for debugging when the hook is injected on the page.
/* eslint-enable camelcase */if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=='undefined'&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject==='function'){__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:ReactCurrentOwner,InstanceHandles:ReactInstanceHandles,Mount:ReactMount,Reconciler:ReactReconciler,TextComponent:ReactDOMTextComponent});}if(process.env.NODE_ENV!=='production'){var ExecutionEnvironment=__webpack_require__(18);if(ExecutionEnvironment.canUseDOM&&window.top===window.self){// First check if devtools is not installed
if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==='undefined'){// If we're in Chrome or Firefox, provide a download link if not installed.
if(navigator.userAgent.indexOf('Chrome')>-1&&navigator.userAgent.indexOf('Edge')===-1||navigator.userAgent.indexOf('Firefox')>-1){console.debug('Download the React DevTools for a better development experience: '+'https://fb.me/react-devtools');}}// If we're in IE8, check to see if we are in compatibility mode and provide
// information on preventing compatibility mode
var ieCompatibilityMode=document.documentMode&&document.documentMode<8;process.env.NODE_ENV!=='production'?warning(!ieCompatibilityMode,'Internet Explorer is running in compatibility mode; please add the '+'following tag to your HTML to prevent this from happening: '+'<meta http-equiv="X-UA-Compatible" content="IE=edge" />'):undefined;var expectedFeatures=[// shims
Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,// shams
Object.create,Object.freeze];for(var i=0;i<expectedFeatures.length;i++){if(!expectedFeatures[i]){console.error('One or more ES5 shim/shams expected by React are not available: '+'https://fb.me/react-warning-polyfills');break;}}}}module.exports=React;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 426 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMFeatureFlags
*/'use strict';var ReactDOMFeatureFlags={useCreateElement:false};module.exports=ReactDOMFeatureFlags;
/***/ },
/* 427 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelect
*/'use strict';var LinkedValueUtils=__webpack_require__(249);var ReactMount=__webpack_require__(25);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var warning=__webpack_require__(8);var valueContextKey='__ReactDOMSelect_value$'+Math.random().toString(36).slice(2);function updateOptionsIfPendingUpdateAndMounted(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=false;var props=this._currentElement.props;var value=LinkedValueUtils.getValue(props);if(value!=null){updateOptions(this,Boolean(props.multiple),value);}}}function getDeclarationErrorAddendum(owner){if(owner){var name=owner.getName();if(name){return' Check the render method of `'+name+'`.';}}return'';}var valuePropNames=['value','defaultValue'];/**
* Validation function for `value` and `defaultValue`.
* @private
*/function checkSelectPropTypes(inst,props){var owner=inst._currentElement._owner;LinkedValueUtils.checkPropTypes('select',props,owner);for(var i=0;i<valuePropNames.length;i++){var propName=valuePropNames[i];if(props[propName]==null){continue;}if(props.multiple){process.env.NODE_ENV!=='production'?warning(Array.isArray(props[propName]),'The `%s` prop supplied to <select> must be an array if '+'`multiple` is true.%s',propName,getDeclarationErrorAddendum(owner)):undefined;}else{process.env.NODE_ENV!=='production'?warning(!Array.isArray(props[propName]),'The `%s` prop supplied to <select> must be a scalar '+'value if `multiple` is false.%s',propName,getDeclarationErrorAddendum(owner)):undefined;}}}/**
* @param {ReactDOMComponent} inst
* @param {boolean} multiple
* @param {*} propValue A stringable (with `multiple`, a list of stringables).
* @private
*/function updateOptions(inst,multiple,propValue){var selectedValue,i;var options=ReactMount.getNode(inst._rootNodeID).options;if(multiple){selectedValue={};for(i=0;i<propValue.length;i++){selectedValue[''+propValue[i]]=true;}for(i=0;i<options.length;i++){var selected=selectedValue.hasOwnProperty(options[i].value);if(options[i].selected!==selected){options[i].selected=selected;}}}else{// Do not set `select.value` as exact behavior isn't consistent across all
// browsers for all cases.
selectedValue=''+propValue;for(i=0;i<options.length;i++){if(options[i].value===selectedValue){options[i].selected=true;return;}}if(options.length){options[0].selected=true;}}}/**
* Implements a <select> native component that allows optionally setting the
* props `value` and `defaultValue`. If `multiple` is false, the prop must be a
* stringable. If `multiple` is true, the prop must be an array of stringables.
*
* If `value` is not supplied (or null/undefined), user actions that change the
* selected option will trigger updates to the rendered options.
*
* If it is supplied (and not null/undefined), the rendered options will not
* update in response to user actions. Instead, the `value` prop must change in
* order for the rendered options to update.
*
* If `defaultValue` is provided, any options with the supplied values will be
* selected.
*/var ReactDOMSelect={valueContextKey:valueContextKey,getNativeProps:function getNativeProps(inst,props,context){return assign({},props,{onChange:inst._wrapperState.onChange,value:undefined});},mountWrapper:function mountWrapper(inst,props){if(process.env.NODE_ENV!=='production'){checkSelectPropTypes(inst,props);}var value=LinkedValueUtils.getValue(props);inst._wrapperState={pendingUpdate:false,initialValue:value!=null?value:props.defaultValue,onChange:_handleChange.bind(inst),wasMultiple:Boolean(props.multiple)};},processChildContext:function processChildContext(inst,props,context){// Pass down initial value so initial generated markup has correct
// `selected` attributes
var childContext=assign({},context);childContext[valueContextKey]=inst._wrapperState.initialValue;return childContext;},postUpdateWrapper:function postUpdateWrapper(inst){var props=inst._currentElement.props;// After the initial mount, we control selected-ness manually so don't pass
// the context value down
inst._wrapperState.initialValue=undefined;var wasMultiple=inst._wrapperState.wasMultiple;inst._wrapperState.wasMultiple=Boolean(props.multiple);var value=LinkedValueUtils.getValue(props);if(value!=null){inst._wrapperState.pendingUpdate=false;updateOptions(inst,Boolean(props.multiple),value);}else if(wasMultiple!==Boolean(props.multiple)){// For simplicity, reapply `defaultValue` if `multiple` is toggled.
if(props.defaultValue!=null){updateOptions(inst,Boolean(props.multiple),props.defaultValue);}else{// Revert the select back to its default unselected state.
updateOptions(inst,Boolean(props.multiple),props.multiple?[]:'');}}}};function _handleChange(event){var props=this._currentElement.props;var returnValue=LinkedValueUtils.executeOnChange(props,event);this._wrapperState.pendingUpdate=true;ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted,this);return returnValue;}module.exports=ReactDOMSelect;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 428 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMTextComponent
* @typechecks static-only
*/'use strict';var DOMChildrenOperations=__webpack_require__(420);var DOMPropertyOperations=__webpack_require__(248);var ReactComponentBrowserEnvironment=__webpack_require__(250);var ReactMount=__webpack_require__(25);var assign=__webpack_require__(7);var escapeTextContentForBrowser=__webpack_require__(184);var setTextContent=__webpack_require__(262);var validateDOMNesting=__webpack_require__(265);/**
* Text nodes violate a couple assumptions that React makes about components:
*
* - When mounting text into the DOM, adjacent text nodes are merged.
* - Text nodes cannot be assigned a React root ID.
*
* This component is used to wrap strings in elements so that they can undergo
* the same reconciliation that is applied to elements.
*
* TODO: Investigate representing React components in the DOM with text nodes.
*
* @class ReactDOMTextComponent
* @extends ReactComponent
* @internal
*/var ReactDOMTextComponent=function ReactDOMTextComponent(props){// This constructor and its argument is currently used by mocks.
};assign(ReactDOMTextComponent.prototype,{/**
* @param {ReactText} text
* @internal
*/construct:function construct(text){// TODO: This is really a ReactText (ReactNode), not a ReactElement
this._currentElement=text;this._stringText=''+text;// Properties
this._rootNodeID=null;this._mountIndex=0;},/**
* Creates the markup for this text node. This node is not intended to have
* any features besides containing text content.
*
* @param {string} rootID DOM ID of the root node.
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @return {string} Markup for this text node.
* @internal
*/mountComponent:function mountComponent(rootID,transaction,context){if(process.env.NODE_ENV!=='production'){if(context[validateDOMNesting.ancestorInfoContextKey]){validateDOMNesting('span',null,context[validateDOMNesting.ancestorInfoContextKey]);}}this._rootNodeID=rootID;if(transaction.useCreateElement){var ownerDocument=context[ReactMount.ownerDocumentContextKey];var el=ownerDocument.createElement('span');DOMPropertyOperations.setAttributeForID(el,rootID);// Populate node cache
ReactMount.getID(el);setTextContent(el,this._stringText);return el;}else{var escapedText=escapeTextContentForBrowser(this._stringText);if(transaction.renderToStaticMarkup){// Normally we'd wrap this in a `span` for the reasons stated above, but
// since this is a situation where React won't take over (static pages),
// we can simply return the text as it is.
return escapedText;}return'<span '+DOMPropertyOperations.createMarkupForID(rootID)+'>'+escapedText+'</span>';}},/**
* Updates this component by updating the text content.
*
* @param {ReactText} nextText The next text content
* @param {ReactReconcileTransaction} transaction
* @internal
*/receiveComponent:function receiveComponent(nextText,transaction){if(nextText!==this._currentElement){this._currentElement=nextText;var nextStringText=''+nextText;if(nextStringText!==this._stringText){// TODO: Save this as pending props and use performUpdateIfNecessary
// and/or updateComponent to do the actual update for consistency with
// other component types?
this._stringText=nextStringText;var node=ReactMount.getNode(this._rootNodeID);DOMChildrenOperations.updateTextContent(node,nextStringText);}}},unmountComponent:function unmountComponent(){ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID);}});module.exports=ReactDOMTextComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 429 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultBatchingStrategy
*/'use strict';var ReactUpdates=__webpack_require__(39);var Transaction=__webpack_require__(182);var assign=__webpack_require__(7);var emptyFunction=__webpack_require__(40);var RESET_BATCHED_UPDATES={initialize:emptyFunction,close:function close(){ReactDefaultBatchingStrategy.isBatchingUpdates=false;}};var FLUSH_BATCHED_UPDATES={initialize:emptyFunction,close:ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)};var TRANSACTION_WRAPPERS=[FLUSH_BATCHED_UPDATES,RESET_BATCHED_UPDATES];function ReactDefaultBatchingStrategyTransaction(){this.reinitializeTransaction();}assign(ReactDefaultBatchingStrategyTransaction.prototype,Transaction.Mixin,{getTransactionWrappers:function getTransactionWrappers(){return TRANSACTION_WRAPPERS;}});var transaction=new ReactDefaultBatchingStrategyTransaction();var ReactDefaultBatchingStrategy={isBatchingUpdates:false,/**
* Call the provided function in a context within which calls to `setState`
* and friends are batched such that components aren't updated unnecessarily.
*/batchedUpdates:function batchedUpdates(callback,a,b,c,d,e){var alreadyBatchingUpdates=ReactDefaultBatchingStrategy.isBatchingUpdates;ReactDefaultBatchingStrategy.isBatchingUpdates=true;// The code is written this way to avoid extra allocations
if(alreadyBatchingUpdates){callback(a,b,c,d,e);}else{transaction.perform(callback,null,a,b,c,d,e);}}};module.exports=ReactDefaultBatchingStrategy;
/***/ },
/* 430 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultInjection
*/'use strict';var BeforeInputEventPlugin=__webpack_require__(940);var ChangeEventPlugin=__webpack_require__(942);var ClientReactRootIndex=__webpack_require__(943);var DefaultEventPluginOrder=__webpack_require__(945);var EnterLeaveEventPlugin=__webpack_require__(946);var ExecutionEnvironment=__webpack_require__(18);var HTMLDOMPropertyConfig=__webpack_require__(949);var ReactBrowserComponentMixin=__webpack_require__(951);var ReactComponentBrowserEnvironment=__webpack_require__(250);var ReactDefaultBatchingStrategy=__webpack_require__(429);var ReactDOMComponent=__webpack_require__(955);var ReactDOMTextComponent=__webpack_require__(428);var ReactEventListener=__webpack_require__(965);var ReactInjection=__webpack_require__(966);var ReactInstanceHandles=__webpack_require__(96);var ReactMount=__webpack_require__(25);var ReactReconcileTransaction=__webpack_require__(970);var SelectEventPlugin=__webpack_require__(976);var ServerReactRootIndex=__webpack_require__(977);var SimpleEventPlugin=__webpack_require__(978);var SVGDOMPropertyConfig=__webpack_require__(975);var alreadyInjected=false;function inject(){if(alreadyInjected){// TODO: This is currently true because these injections are shared between
// the client and the server package. They should be built independently
// and not share any injection state. Then this problem will be solved.
return;}alreadyInjected=true;ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);/**
* Inject modules for resolving DOM hierarchy and plugin ordering.
*/ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);ReactInjection.EventPluginHub.injectInstanceHandle(ReactInstanceHandles);ReactInjection.EventPluginHub.injectMount(ReactMount);/**
* Some important event plugins included by default (without having to require
* them).
*/ReactInjection.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:SimpleEventPlugin,EnterLeaveEventPlugin:EnterLeaveEventPlugin,ChangeEventPlugin:ChangeEventPlugin,SelectEventPlugin:SelectEventPlugin,BeforeInputEventPlugin:BeforeInputEventPlugin});ReactInjection.NativeComponent.injectGenericComponentClass(ReactDOMComponent);ReactInjection.NativeComponent.injectTextComponentClass(ReactDOMTextComponent);ReactInjection.Class.injectMixin(ReactBrowserComponentMixin);ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);ReactInjection.EmptyComponent.injectEmptyComponent('noscript');ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);ReactInjection.RootIndex.injectCreateReactRootIndex(ExecutionEnvironment.canUseDOM?ClientReactRootIndex.createReactRootIndex:ServerReactRootIndex.createReactRootIndex);ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);if(process.env.NODE_ENV!=='production'){var url=ExecutionEnvironment.canUseDOM&&window.location.href||'';if(/[?&]react_perf\b/.test(url)){var ReactDefaultPerf=__webpack_require__(962);ReactDefaultPerf.start();}}}module.exports={inject:inject};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 431 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactElementValidator
*//**
* ReactElementValidator provides a wrapper around a element factory
* which validates the props passed to the element. This is intended to be
* used only in DEV and could be replaced by a static type checker for languages
* that support it.
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactElement=__webpack_require__(34);var ReactPropTypeLocations=__webpack_require__(180);var ReactPropTypeLocationNames=__webpack_require__(179);var ReactCurrentOwner=__webpack_require__(51);var canDefineProperty=__webpack_require__(183);var getIteratorFn=__webpack_require__(259);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=ReactCurrentOwner.current.getName();if(name){return' Check the render method of `'+name+'`.';}}return'';}/**
* Warn if there's no key explicitly set on dynamic arrays of children or
* object keys are not valid. This allows us to keep track of children between
* updates.
*/var ownerHasKeyUseWarning={};var loggedTypeFailures={};/**
* Warn if the element doesn't have an explicit key assigned to it.
* This element is in an array. The array could grow and shrink or be
* reordered. All children that haven't already been validated are required to
* have a "key" property assigned to it.
*
* @internal
* @param {ReactElement} element Element that requires a key.
* @param {*} parentType element's parent's type.
*/function validateExplicitKey(element,parentType){if(!element._store||element._store.validated||element.key!=null){return;}element._store.validated=true;var addenda=getAddendaForKeyUse('uniqueKey',element,parentType);if(addenda===null){// we already showed the warning
return;}process.env.NODE_ENV!=='production'?warning(false,'Each child in an array or iterator should have a unique "key" prop.'+'%s%s%s',addenda.parentOrOwner||'',addenda.childOwner||'',addenda.url||''):undefined;}/**
* Shared warning and monitoring code for the key warnings.
*
* @internal
* @param {string} messageType A key used for de-duping warnings.
* @param {ReactElement} element Component that requires a key.
* @param {*} parentType element's parent's type.
* @returns {?object} A set of addenda to use in the warning message, or null
* if the warning has already been shown before (and shouldn't be shown again).
*/function getAddendaForKeyUse(messageType,element,parentType){var addendum=getDeclarationErrorAddendum();if(!addendum){var parentName=typeof parentType==='string'?parentType:parentType.displayName||parentType.name;if(parentName){addendum=' Check the top-level render call using <'+parentName+'>.';}}var memoizer=ownerHasKeyUseWarning[messageType]||(ownerHasKeyUseWarning[messageType]={});if(memoizer[addendum]){return null;}memoizer[addendum]=true;var addenda={parentOrOwner:addendum,url:' See https://fb.me/react-warning-keys for more information.',childOwner:null};// Usually the current owner is the offender, but if it accepts children as a
// property, it may be the creator of the child that's responsible for
// assigning it a key.
if(element&&element._owner&&element._owner!==ReactCurrentOwner.current){// Give the component that originally created this child.
addenda.childOwner=' It was passed a child from '+element._owner.getName()+'.';}return addenda;}/**
* Ensure that every element either is passed in a static location, in an
* array with an explicit keys property defined, or in an object literal
* with valid key property.
*
* @internal
* @param {ReactNode} node Statically passed child of any type.
* @param {*} parentType node's parent's type.
*/function validateChildKeys(node,parentType){if((typeof node==='undefined'?'undefined':_typeof(node))!=='object'){return;}if(Array.isArray(node)){for(var i=0;i<node.length;i++){var child=node[i];if(ReactElement.isValidElement(child)){validateExplicitKey(child,parentType);}}}else if(ReactElement.isValidElement(node)){// This element was passed in a valid location.
if(node._store){node._store.validated=true;}}else if(node){var iteratorFn=getIteratorFn(node);// Entry iterators provide implicit keys.
if(iteratorFn){if(iteratorFn!==node.entries){var iterator=iteratorFn.call(node);var step;while(!(step=iterator.next()).done){if(ReactElement.isValidElement(step.value)){validateExplicitKey(step.value,parentType);}}}}}}/**
* Assert that the props are valid
*
* @param {string} componentName Name of the component for error messages.
* @param {object} propTypes Map of prop name to a ReactPropType
* @param {object} props
* @param {string} location e.g. "prop", "context", "child context"
* @private
*/function checkPropTypes(componentName,propTypes,props,location){for(var propName in propTypes){if(propTypes.hasOwnProperty(propName)){var error;// Prop type validation may throw. In case they do, we don't want to
// fail the render phase where it didn't fail before. So we log it.
// After these have been cleaned up, we'll let them throw.
try{// This is intentionally an invariant that gets caught. It's the same
// behavior as without this statement except with a better message.
!(typeof propTypes[propName]==='function')?process.env.NODE_ENV!=='production'?invariant(false,'%s: %s type `%s` is invalid; it must be a function, usually from '+'React.PropTypes.',componentName||'React class',ReactPropTypeLocationNames[location],propName):invariant(false):undefined;error=propTypes[propName](props,propName,componentName,location);}catch(ex){error=ex;}process.env.NODE_ENV!=='production'?warning(!error||error instanceof Error,'%s: type specification of %s `%s` is invalid; the type checker '+'function must return `null` or an `Error` but returned a %s. '+'You may have forgotten to pass an argument to the type checker '+'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and '+'shape all require an argument).',componentName||'React class',ReactPropTypeLocationNames[location],propName,typeof error==='undefined'?'undefined':_typeof(error)):undefined;if(error instanceof Error&&!(error.message in loggedTypeFailures)){// Only monitor this failure once because there tends to be a lot of the
// same error.
loggedTypeFailures[error.message]=true;var addendum=getDeclarationErrorAddendum();process.env.NODE_ENV!=='production'?warning(false,'Failed propType: %s%s',error.message,addendum):undefined;}}}}/**
* Given an element, validate that its props follow the propTypes definition,
* provided by the type.
*
* @param {ReactElement} element
*/function validatePropTypes(element){var componentClass=element.type;if(typeof componentClass!=='function'){return;}var name=componentClass.displayName||componentClass.name;if(componentClass.propTypes){checkPropTypes(name,componentClass.propTypes,element.props,ReactPropTypeLocations.prop);}if(typeof componentClass.getDefaultProps==='function'){process.env.NODE_ENV!=='production'?warning(componentClass.getDefaultProps.isReactClassApproved,'getDefaultProps is only used on classic React.createClass '+'definitions. Use a static property named `defaultProps` instead.'):undefined;}}var ReactElementValidator={createElement:function createElement(type,props,children){var validType=typeof type==='string'||typeof type==='function';// We warn in this case but don't throw. We expect the element creation to
// succeed and there will likely be errors in render.
process.env.NODE_ENV!=='production'?warning(validType,'React.createElement: type should not be null, undefined, boolean, or '+'number. It should be a string (for DOM elements) or a ReactClass '+'(for composite components).%s',getDeclarationErrorAddendum()):undefined;var element=ReactElement.createElement.apply(this,arguments);// The result can be nullish if a mock or a custom function is used.
// TODO: Drop this when these are no longer allowed as the type argument.
if(element==null){return element;}// Skip key warning if the type isn't valid since our key validation logic
// doesn't expect a non-string/function type and can throw confusing errors.
// We don't want exception behavior to differ between dev and prod.
// (Rendering will throw with a helpful message and as soon as the type is
// fixed, the key warnings will appear.)
if(validType){for(var i=2;i<arguments.length;i++){validateChildKeys(arguments[i],type);}}validatePropTypes(element);return element;},createFactory:function createFactory(type){var validatedFactory=ReactElementValidator.createElement.bind(null,type);// Legacy hook TODO: Warn if this is accessed
validatedFactory.type=type;if(process.env.NODE_ENV!=='production'){if(canDefineProperty){Object.defineProperty(validatedFactory,'type',{enumerable:false,get:function get(){process.env.NODE_ENV!=='production'?warning(false,'Factory.type is deprecated. Access the class directly '+'before passing it to createFactory.'):undefined;Object.defineProperty(this,'type',{value:type});return type;}});}}return validatedFactory;},cloneElement:function cloneElement(element,props,children){var newElement=ReactElement.cloneElement.apply(this,arguments);for(var i=2;i<arguments.length;i++){validateChildKeys(arguments[i],newElement.type);}validatePropTypes(newElement);return newElement;}};module.exports=ReactElementValidator;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 432 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEmptyComponent
*/'use strict';var ReactElement=__webpack_require__(34);var ReactEmptyComponentRegistry=__webpack_require__(433);var ReactReconciler=__webpack_require__(78);var assign=__webpack_require__(7);var placeholderElement;var ReactEmptyComponentInjection={injectEmptyComponent:function injectEmptyComponent(component){placeholderElement=ReactElement.createElement(component);}};function registerNullComponentID(){ReactEmptyComponentRegistry.registerNullComponentID(this._rootNodeID);}var ReactEmptyComponent=function ReactEmptyComponent(instantiate){this._currentElement=null;this._rootNodeID=null;this._renderedComponent=instantiate(placeholderElement);};assign(ReactEmptyComponent.prototype,{construct:function construct(element){},mountComponent:function mountComponent(rootID,transaction,context){transaction.getReactMountReady().enqueue(registerNullComponentID,this);this._rootNodeID=rootID;return ReactReconciler.mountComponent(this._renderedComponent,rootID,transaction,context);},receiveComponent:function receiveComponent(){},unmountComponent:function unmountComponent(rootID,transaction,context){ReactReconciler.unmountComponent(this._renderedComponent);ReactEmptyComponentRegistry.deregisterNullComponentID(this._rootNodeID);this._rootNodeID=null;this._renderedComponent=null;}});ReactEmptyComponent.injection=ReactEmptyComponentInjection;module.exports=ReactEmptyComponent;
/***/ },
/* 433 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEmptyComponentRegistry
*/'use strict';// This registry keeps track of the React IDs of the components that rendered to
// `null` (in reality a placeholder such as `noscript`)
var nullComponentIDsRegistry={};/**
* @param {string} id Component's `_rootNodeID`.
* @return {boolean} True if the component is rendered to null.
*/function isNullComponentID(id){return!!nullComponentIDsRegistry[id];}/**
* Mark the component as having rendered to null.
* @param {string} id Component's `_rootNodeID`.
*/function registerNullComponentID(id){nullComponentIDsRegistry[id]=true;}/**
* Unmark the component as having rendered to null: it renders to something now.
* @param {string} id Component's `_rootNodeID`.
*/function deregisterNullComponentID(id){delete nullComponentIDsRegistry[id];}var ReactEmptyComponentRegistry={isNullComponentID:isNullComponentID,registerNullComponentID:registerNullComponentID,deregisterNullComponentID:deregisterNullComponentID};module.exports=ReactEmptyComponentRegistry;
/***/ },
/* 434 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactErrorUtils
* @typechecks
*/'use strict';var caughtError=null;/**
* Call a function while guarding against errors that happens within it.
*
* @param {?String} name of the guard to use for logging or debugging
* @param {Function} func The function to invoke
* @param {*} a First argument
* @param {*} b Second argument
*/function invokeGuardedCallback(name,func,a,b){try{return func(a,b);}catch(x){if(caughtError===null){caughtError=x;}return undefined;}}var ReactErrorUtils={invokeGuardedCallback:invokeGuardedCallback,/**
* Invoked by ReactTestUtils.Simulate so that any errors thrown by the event
* handler are sure to be rethrown by rethrowCaughtError.
*/invokeGuardedCallbackWithCatch:invokeGuardedCallback,/**
* During execution of guarded functions we will capture the first error which
* we will rethrow to be handled by the top level error handler.
*/rethrowCaughtError:function rethrowCaughtError(){if(caughtError){var error=caughtError;caughtError=null;throw error;}}};if(process.env.NODE_ENV!=='production'){/**
* To help development we can get better devtools integration by simulating a
* real browser event.
*/if(typeof window!=='undefined'&&typeof window.dispatchEvent==='function'&&typeof document!=='undefined'&&typeof document.createEvent==='function'){var fakeNode=document.createElement('react');ReactErrorUtils.invokeGuardedCallback=function(name,func,a,b){var boundFunc=func.bind(null,a,b);var evtType='react-'+name;fakeNode.addEventListener(evtType,boundFunc,false);var evt=document.createEvent('Event');evt.initEvent(evtType,false,false);fakeNode.dispatchEvent(evt);fakeNode.removeEventListener(evtType,boundFunc,false);};}}module.exports=ReactErrorUtils;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 435 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInputSelection
*/'use strict';var ReactDOMSelection=__webpack_require__(959);var containsNode=__webpack_require__(328);var focusNode=__webpack_require__(329);var getActiveElement=__webpack_require__(330);function isInDocument(node){return containsNode(document.documentElement,node);}/**
* @ReactInputSelection: React input selection module. Based on Selection.js,
* but modified to be suitable for react and has a couple of bug fixes (doesn't
* assume buttons have range selections allowed).
* Input selection module for React.
*/var ReactInputSelection={hasSelectionCapabilities:function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&(nodeName==='input'&&elem.type==='text'||nodeName==='textarea'||elem.contentEditable==='true');},getSelectionInformation:function getSelectionInformation(){var focusedElem=getActiveElement();return{focusedElem:focusedElem,selectionRange:ReactInputSelection.hasSelectionCapabilities(focusedElem)?ReactInputSelection.getSelection(focusedElem):null};},/**
* @restoreSelection: If any selection information was potentially lost,
* restore it. This is useful when performing operations that could remove dom
* nodes and place them back in, resulting in focus being lost.
*/restoreSelection:function restoreSelection(priorSelectionInformation){var curFocusedElem=getActiveElement();var priorFocusedElem=priorSelectionInformation.focusedElem;var priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&isInDocument(priorFocusedElem)){if(ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)){ReactInputSelection.setSelection(priorFocusedElem,priorSelectionRange);}focusNode(priorFocusedElem);}},/**
* @getSelection: Gets the selection bounds of a focused textarea, input or
* contentEditable node.
* -@input: Look up selection bounds of this input
* -@return {start: selectionStart, end: selectionEnd}
*/getSelection:function getSelection(input){var selection;if('selectionStart'in input){// Modern browser with input or textarea.
selection={start:input.selectionStart,end:input.selectionEnd};}else if(document.selection&&input.nodeName&&input.nodeName.toLowerCase()==='input'){// IE8 input.
var range=document.selection.createRange();// There can only be one selection per document in IE, so it must
// be in our element.
if(range.parentElement()===input){selection={start:-range.moveStart('character',-input.value.length),end:-range.moveEnd('character',-input.value.length)};}}else{// Content editable or old IE textarea.
selection=ReactDOMSelection.getOffsets(input);}return selection||{start:0,end:0};},/**
* @setSelection: Sets the selection bounds of a textarea or input and focuses
* the input.
* -@input Set selection bounds of this input or textarea
* -@offsets Object of same form that is returned from get*
*/setSelection:function setSelection(input,offsets){var start=offsets.start;var end=offsets.end;if(typeof end==='undefined'){end=start;}if('selectionStart'in input){input.selectionStart=start;input.selectionEnd=Math.min(end,input.value.length);}else if(document.selection&&input.nodeName&&input.nodeName.toLowerCase()==='input'){var range=input.createTextRange();range.collapse(true);range.moveStart('character',start);range.moveEnd('character',end-start);range.select();}else{ReactDOMSelection.setOffsets(input,offsets);}}};module.exports=ReactInputSelection;
/***/ },
/* 436 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMarkupChecksum
*/'use strict';var adler32=__webpack_require__(987);var TAG_END=/\/?>/;var ReactMarkupChecksum={CHECKSUM_ATTR_NAME:'data-react-checksum',/**
* @param {string} markup Markup string
* @return {string} Markup string with checksum attribute attached
*/addChecksumToMarkup:function addChecksumToMarkup(markup){var checksum=adler32(markup);// Add checksum (handle both parent tags and self-closing tags)
return markup.replace(TAG_END,' '+ReactMarkupChecksum.CHECKSUM_ATTR_NAME+'="'+checksum+'"$&');},/**
* @param {string} markup to use
* @param {DOMElement} element root React element
* @returns {boolean} whether or not the markup is the same
*/canReuseMarkup:function canReuseMarkup(markup,element){var existingChecksum=element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);existingChecksum=existingChecksum&&parseInt(existingChecksum,10);var markupChecksum=adler32(markup);return markupChecksum===existingChecksum;}};module.exports=ReactMarkupChecksum;
/***/ },
/* 437 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMultiChildUpdateTypes
*/'use strict';var keyMirror=__webpack_require__(137);/**
* When a component's children are updated, a series of update configuration
* objects are created in order to batch and serialize the required changes.
*
* Enumerates all the possible types of update configurations.
*
* @internal
*/var ReactMultiChildUpdateTypes=keyMirror({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});module.exports=ReactMultiChildUpdateTypes;
/***/ },
/* 438 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactNativeComponent
*/'use strict';var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var autoGenerateWrapperClass=null;var genericComponentClass=null;// This registry keeps track of wrapper classes around native tags.
var tagToComponentClass={};var textComponentClass=null;var ReactNativeComponentInjection={// This accepts a class that receives the tag string. This is a catch all
// that can render any kind of tag.
injectGenericComponentClass:function injectGenericComponentClass(componentClass){genericComponentClass=componentClass;},// This accepts a text component class that takes the text string to be
// rendered as props.
injectTextComponentClass:function injectTextComponentClass(componentClass){textComponentClass=componentClass;},// This accepts a keyed object with classes as values. Each key represents a
// tag. That particular tag will use this class instead of the generic one.
injectComponentClasses:function injectComponentClasses(componentClasses){assign(tagToComponentClass,componentClasses);}};/**
* Get a composite component wrapper class for a specific tag.
*
* @param {ReactElement} element The tag for which to get the class.
* @return {function} The React class constructor function.
*/function getComponentClassForElement(element){if(typeof element.type==='function'){return element.type;}var tag=element.type;var componentClass=tagToComponentClass[tag];if(componentClass==null){tagToComponentClass[tag]=componentClass=autoGenerateWrapperClass(tag);}return componentClass;}/**
* Get a native internal component class for a specific tag.
*
* @param {ReactElement} element The element to create.
* @return {function} The internal class constructor function.
*/function createInternalComponent(element){!genericComponentClass?process.env.NODE_ENV!=='production'?invariant(false,'There is no registered component for the tag %s',element.type):invariant(false):undefined;return new genericComponentClass(element.type,element.props);}/**
* @param {ReactText} text
* @return {ReactComponent}
*/function createInstanceForText(text){return new textComponentClass(text);}/**
* @param {ReactComponent} component
* @return {boolean}
*/function isTextComponent(component){return component instanceof textComponentClass;}var ReactNativeComponent={getComponentClassForElement:getComponentClassForElement,createInternalComponent:createInternalComponent,createInstanceForText:createInstanceForText,isTextComponent:isTextComponent,injection:ReactNativeComponentInjection};module.exports=ReactNativeComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 439 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactNoopUpdateQueue
*/'use strict';var warning=__webpack_require__(8);function warnTDZ(publicInstance,callerName){if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'%s(...): Can only update a mounted or mounting component. '+'This usually means you called %s() on an unmounted component. '+'This is a no-op. Please check the code for the %s component.',callerName,callerName,publicInstance.constructor&&publicInstance.constructor.displayName||''):undefined;}}/**
* This is the abstract API for an update queue.
*/var ReactNoopUpdateQueue={/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/isMounted:function isMounted(publicInstance){return false;},/**
* Enqueue a callback that will be executed after all the pending updates
* have processed.
*
* @param {ReactClass} publicInstance The instance to use as `this` context.
* @param {?function} callback Called after state is updated.
* @internal
*/enqueueCallback:function enqueueCallback(publicInstance,callback){},/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @internal
*/enqueueForceUpdate:function enqueueForceUpdate(publicInstance){warnTDZ(publicInstance,'forceUpdate');},/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @internal
*/enqueueReplaceState:function enqueueReplaceState(publicInstance,completeState){warnTDZ(publicInstance,'replaceState');},/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @internal
*/enqueueSetState:function enqueueSetState(publicInstance,partialState){warnTDZ(publicInstance,'setState');},/**
* Sets a subset of the props.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialProps Subset of the next props.
* @internal
*/enqueueSetProps:function enqueueSetProps(publicInstance,partialProps){warnTDZ(publicInstance,'setProps');},/**
* Replaces all of the props.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} props New props.
* @internal
*/enqueueReplaceProps:function enqueueReplaceProps(publicInstance,props){warnTDZ(publicInstance,'replaceProps');}};module.exports=ReactNoopUpdateQueue;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 440 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypes
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactElement=__webpack_require__(34);var ReactPropTypeLocationNames=__webpack_require__(179);var emptyFunction=__webpack_require__(40);var getIteratorFn=__webpack_require__(259);/**
* Collection of methods that allow declaration and validation of props that are
* supplied to React components. Example usage:
*
* var Props = require('ReactPropTypes');
* var MyArticle = React.createClass({
* propTypes: {
* // An optional string prop named "description".
* description: Props.string,
*
* // A required enum prop named "category".
* category: Props.oneOf(['News','Photos']).isRequired,
*
* // A prop named "dialog" that requires an instance of Dialog.
* dialog: Props.instanceOf(Dialog).isRequired
* },
* render: function() { ... }
* });
*
* A more formal specification of how these methods are used:
*
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
* decl := ReactPropTypes.{type}(.isRequired)?
*
* Each and every declaration produces a function with the same signature. This
* allows the creation of custom validation functions. For example:
*
* var MyLink = React.createClass({
* propTypes: {
* // An optional string or URI prop named "href".
* href: function(props, propName, componentName) {
* var propValue = props[propName];
* if (propValue != null && typeof propValue !== 'string' &&
* !(propValue instanceof URI)) {
* return new Error(
* 'Expected a string or an URI for ' + propName + ' in ' +
* componentName
* );
* }
* }
* },
* render: function() {...}
* });
*
* @internal
*/var ANONYMOUS='<<anonymous>>';var ReactPropTypes={array:createPrimitiveTypeChecker('array'),bool:createPrimitiveTypeChecker('boolean'),func:createPrimitiveTypeChecker('function'),number:createPrimitiveTypeChecker('number'),object:createPrimitiveTypeChecker('object'),string:createPrimitiveTypeChecker('string'),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker};function createChainableTypeChecker(validate){function checkType(isRequired,props,propName,componentName,location,propFullName){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(props[propName]==null){var locationName=ReactPropTypeLocationNames[location];if(isRequired){return new Error('Required '+locationName+' `'+propFullName+'` was not specified in '+('`'+componentName+'`.'));}return null;}else{return validate(props,propName,componentName,location,propFullName);}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType;}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var locationName=ReactPropTypeLocationNames[location];// `propValue` being instance of, say, date/regexp, pass the 'object'
// check, but we can offer a more precise error message here rather than
// 'of type `object`'.
var preciseType=getPreciseType(propValue);return new Error('Invalid '+locationName+' `'+propFullName+'` of type '+('`'+preciseType+'` supplied to `'+componentName+'`, expected ')+('`'+expectedType+'`.'));}return null;}return createChainableTypeChecker(validate);}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction.thatReturns(null));}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!Array.isArray(propValue)){var locationName=ReactPropTypeLocationNames[location];var propType=getPropType(propValue);return new Error('Invalid '+locationName+' `'+propFullName+'` of type '+('`'+propType+'` supplied to `'+componentName+'`, expected an array.'));}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+'['+i+']');if(error instanceof Error){return error;}}return null;}return createChainableTypeChecker(validate);}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){if(!ReactElement.isValidElement(props[propName])){var locationName=ReactPropTypeLocationNames[location];return new Error('Invalid '+locationName+' `'+propFullName+'` supplied to '+('`'+componentName+'`, expected a single ReactElement.'));}return null;}return createChainableTypeChecker(validate);}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var locationName=ReactPropTypeLocationNames[location];var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new Error('Invalid '+locationName+' `'+propFullName+'` of type '+('`'+actualClassName+'` supplied to `'+componentName+'`, expected ')+('instance of `'+expectedClassName+'`.'));}return null;}return createChainableTypeChecker(validate);}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){return createChainableTypeChecker(function(){return new Error('Invalid argument supplied to oneOf, expected an instance of array.');});}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(propValue===expectedValues[i]){return null;}}var locationName=ReactPropTypeLocationNames[location];var valuesString=JSON.stringify(expectedValues);return new Error('Invalid '+locationName+' `'+propFullName+'` of value `'+propValue+'` '+('supplied to `'+componentName+'`, expected one of '+valuesString+'.'));}return createChainableTypeChecker(validate);}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=='object'){var locationName=ReactPropTypeLocationNames[location];return new Error('Invalid '+locationName+' `'+propFullName+'` of type '+('`'+propType+'` supplied to `'+componentName+'`, expected an object.'));}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+'.'+key);if(error instanceof Error){return error;}}}return null;}return createChainableTypeChecker(validate);}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){return createChainableTypeChecker(function(){return new Error('Invalid argument supplied to oneOfType, expected an instance of array.');});}function validate(props,propName,componentName,location,propFullName){for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(checker(props,propName,componentName,location,propFullName)==null){return null;}}var locationName=ReactPropTypeLocationNames[location];return new Error('Invalid '+locationName+' `'+propFullName+'` supplied to '+('`'+componentName+'`.'));}return createChainableTypeChecker(validate);}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode(props[propName])){var locationName=ReactPropTypeLocationNames[location];return new Error('Invalid '+locationName+' `'+propFullName+'` supplied to '+('`'+componentName+'`, expected a ReactNode.'));}return null;}return createChainableTypeChecker(validate);}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=='object'){var locationName=ReactPropTypeLocationNames[location];return new Error('Invalid '+locationName+' `'+propFullName+'` of type `'+propType+'` '+('supplied to `'+componentName+'`, expected `object`.'));}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue;}var error=checker(propValue,key,componentName,location,propFullName+'.'+key);if(error){return error;}}return null;}return createChainableTypeChecker(validate);}function isNode(propValue){switch(typeof propValue==='undefined'?'undefined':_typeof(propValue)){case'number':case'string':case'undefined':return true;case'boolean':return!propValue;case'object':if(Array.isArray(propValue)){return propValue.every(isNode);}if(propValue===null||ReactElement.isValidElement(propValue)){return true;}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode(step.value)){return false;}}}else{// Iterator will provide entry [k,v] tuples rather than values.
while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode(entry[1])){return false;}}}}}else{return false;}return true;default:return false;}}// Equivalent of `typeof` but with special handling for array and regexp.
function getPropType(propValue){var propType=typeof propValue==='undefined'?'undefined':_typeof(propValue);if(Array.isArray(propValue)){return'array';}if(propValue instanceof RegExp){// Old webkits (at least until Android 4.0) return 'function' rather than
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
// passes PropTypes.object.
return'object';}return propType;}// This handles more types than `getPropType`. Only used for error messages.
// See `createPrimitiveTypeChecker`.
function getPreciseType(propValue){var propType=getPropType(propValue);if(propType==='object'){if(propValue instanceof Date){return'date';}else if(propValue instanceof RegExp){return'regexp';}}return propType;}// Returns class name of the object, if any.
function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return'<<anonymous>>';}return propValue.constructor.name;}module.exports=ReactPropTypes;
/***/ },
/* 441 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactRootIndex
* @typechecks
*/'use strict';var ReactRootIndexInjection={/**
* @param {function} _createReactRootIndex
*/injectCreateReactRootIndex:function injectCreateReactRootIndex(_createReactRootIndex){ReactRootIndex.createReactRootIndex=_createReactRootIndex;}};var ReactRootIndex={createReactRootIndex:null,injection:ReactRootIndexInjection};module.exports=ReactRootIndex;
/***/ },
/* 442 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ViewportMetrics
*/'use strict';var ViewportMetrics={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function refreshScrollValues(scrollPosition){ViewportMetrics.currentScrollLeft=scrollPosition.x;ViewportMetrics.currentScrollTop=scrollPosition.y;}};module.exports=ViewportMetrics;
/***/ },
/* 443 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule accumulateInto
*/'use strict';var invariant=__webpack_require__(6);/**
*
* Accumulates items that must not be null or undefined into the first one. This
* is used to conserve memory by avoiding array allocations, and thus sacrifices
* API cleanness. Since `current` can be null before being passed in and not
* null after this function, make sure to assign it back to `current`:
*
* `a = accumulateInto(a, b);`
*
* This API should be sparingly used. Try `accumulate` for something cleaner.
*
* @return {*|array<*>} An accumulation of items.
*/function accumulateInto(current,next){!(next!=null)?process.env.NODE_ENV!=='production'?invariant(false,'accumulateInto(...): Accumulated items must not be null or undefined.'):invariant(false):undefined;if(current==null){return next;}// Both are not empty. Warning: Never call x.concat(y) when you are not
// certain that x is an Array (x could be a string with concat method).
var currentIsArray=Array.isArray(current);var nextIsArray=Array.isArray(next);if(currentIsArray&&nextIsArray){current.push.apply(current,next);return current;}if(currentIsArray){current.push(next);return current;}if(nextIsArray){// A bit too dangerous to mutate `next`.
return[current].concat(next);}return[current,next];}module.exports=accumulateInto;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 444 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule forEachAccumulated
*/'use strict';/**
* @param {array} arr an "accumulation" of items which is either an Array or
* a single item. Useful when paired with the `accumulate` module. This is a
* simple utility that allows us to reason about a collection of items, but
* handling the case when there is exactly one item (and we do not need to
* allocate an array).
*/var forEachAccumulated=function forEachAccumulated(arr,cb,scope){if(Array.isArray(arr)){arr.forEach(cb,scope);}else if(arr){cb.call(scope,arr);}};module.exports=forEachAccumulated;
/***/ },
/* 445 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getTextContentAccessor
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var contentKey=null;/**
* Gets the key used to access text content on a DOM node.
*
* @return {?string} Key used to access text content.
* @internal
*/function getTextContentAccessor(){if(!contentKey&&ExecutionEnvironment.canUseDOM){// Prefer textContent to innerText because many browsers support both but
// SVG <text> elements don't support innerText even when <div> does.
contentKey='textContent'in document.documentElement?'textContent':'innerText';}return contentKey;}module.exports=getTextContentAccessor;
/***/ },
/* 446 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isTextInputElement
*/'use strict';/**
* @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
*/var supportedInputTypes={'color':true,'date':true,'datetime':true,'datetime-local':true,'email':true,'month':true,'number':true,'password':true,'range':true,'search':true,'tel':true,'text':true,'time':true,'url':true,'week':true};function isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&(nodeName==='input'&&supportedInputTypes[elem.type]||nodeName==='textarea');}module.exports=isTextInputElement;
/***/ },
/* 447 */
/***/ function(module, exports) {
"use strict";
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=compose;/**
* Composes single-argument functions from right to left. The rightmost
* function can take multiple arguments as it provides the signature for
* the resulting composite function.
*
* @param {...Function} funcs The functions to compose.
* @returns {Function} A function obtained by composing the argument functions
* from right to left. For example, compose(f, g, h) is identical to doing
* (...args) => f(g(h(...args))).
*/function compose(){for(var _len=arguments.length,funcs=Array(_len),_key=0;_key<_len;_key++){funcs[_key]=arguments[_key];}if(funcs.length===0){return function(arg){return arg;};}if(funcs.length===1){return funcs[0];}var last=funcs[funcs.length-1];var rest=funcs.slice(0,-1);return function(){return rest.reduceRight(function(composed,f){return f(composed);},last.apply(undefined,arguments));};}
/***/ },
/* 448 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.ActionTypes=undefined;var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.default=createStore;var _isPlainObject=__webpack_require__(338);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _symbolObservable=__webpack_require__(1154);var _symbolObservable2=_interopRequireDefault(_symbolObservable);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* These are private action types reserved by Redux.
* For any unknown actions, you must return the current state.
* If the current state is undefined, you must return the initial state.
* Do not reference these action types directly in your code.
*/var ActionTypes=exports.ActionTypes={INIT:'@@redux/INIT'};/**
* Creates a Redux store that holds the state tree.
* The only way to change the data in the store is to call `dispatch()` on it.
*
* There should only be a single store in your app. To specify how different
* parts of the state tree respond to actions, you may combine several reducers
* into a single reducer function by using `combineReducers`.
*
* @param {Function} reducer A function that returns the next state tree, given
* the current state tree and the action to handle.
*
* @param {any} [preloadedState] The initial state. You may optionally specify it
* to hydrate the state from the server in universal apps, or to restore a
* previously serialized user session.
* If you use `combineReducers` to produce the root reducer function, this must be
* an object with the same shape as `combineReducers` keys.
*
* @param {Function} enhancer The store enhancer. You may optionally specify it
* to enhance the store with third-party capabilities such as middleware,
* time travel, persistence, etc. The only store enhancer that ships with Redux
* is `applyMiddleware()`.
*
* @returns {Store} A Redux store that lets you read the state, dispatch actions
* and subscribe to changes.
*/function createStore(reducer,preloadedState,enhancer){var _ref2;if(typeof preloadedState==='function'&&typeof enhancer==='undefined'){enhancer=preloadedState;preloadedState=undefined;}if(typeof enhancer!=='undefined'){if(typeof enhancer!=='function'){throw new Error('Expected the enhancer to be a function.');}return enhancer(createStore)(reducer,preloadedState);}if(typeof reducer!=='function'){throw new Error('Expected the reducer to be a function.');}var currentReducer=reducer;var currentState=preloadedState;var currentListeners=[];var nextListeners=currentListeners;var isDispatching=false;function ensureCanMutateNextListeners(){if(nextListeners===currentListeners){nextListeners=currentListeners.slice();}}/**
* Reads the state tree managed by the store.
*
* @returns {any} The current state tree of your application.
*/function getState(){return currentState;}/**
* Adds a change listener. It will be called any time an action is dispatched,
* and some part of the state tree may potentially have changed. You may then
* call `getState()` to read the current state tree inside the callback.
*
* You may call `dispatch()` from a change listener, with the following
* caveats:
*
* 1. The subscriptions are snapshotted just before every `dispatch()` call.
* If you subscribe or unsubscribe while the listeners are being invoked, this
* will not have any effect on the `dispatch()` that is currently in progress.
* However, the next `dispatch()` call, whether nested or not, will use a more
* recent snapshot of the subscription list.
*
* 2. The listener should not expect to see all state changes, as the state
* might have been updated multiple times during a nested `dispatch()` before
* the listener is called. It is, however, guaranteed that all subscribers
* registered before the `dispatch()` started will be called with the latest
* state by the time it exits.
*
* @param {Function} listener A callback to be invoked on every dispatch.
* @returns {Function} A function to remove this change listener.
*/function subscribe(listener){if(typeof listener!=='function'){throw new Error('Expected listener to be a function.');}var isSubscribed=true;ensureCanMutateNextListeners();nextListeners.push(listener);return function unsubscribe(){if(!isSubscribed){return;}isSubscribed=false;ensureCanMutateNextListeners();var index=nextListeners.indexOf(listener);nextListeners.splice(index,1);};}/**
* Dispatches an action. It is the only way to trigger a state change.
*
* The `reducer` function, used to create the store, will be called with the
* current state tree and the given `action`. Its return value will
* be considered the **next** state of the tree, and the change listeners
* will be notified.
*
* The base implementation only supports plain object actions. If you want to
* dispatch a Promise, an Observable, a thunk, or something else, you need to
* wrap your store creating function into the corresponding middleware. For
* example, see the documentation for the `redux-thunk` package. Even the
* middleware will eventually dispatch plain object actions using this method.
*
* @param {Object} action A plain object representing “what changed”. It is
* a good idea to keep actions serializable so you can record and replay user
* sessions, or use the time travelling `redux-devtools`. An action must have
* a `type` property which may not be `undefined`. It is a good idea to use
* string constants for action types.
*
* @returns {Object} For convenience, the same action object you dispatched.
*
* Note that, if you use a custom middleware, it may wrap `dispatch()` to
* return something else (for example, a Promise you can await).
*/function dispatch(action){if(!(0,_isPlainObject2.default)(action)){throw new Error('Actions must be plain objects. '+'Use custom middleware for async actions.');}if(typeof action.type==='undefined'){throw new Error('Actions may not have an undefined "type" property. '+'Have you misspelled a constant?');}if(isDispatching){throw new Error('Reducers may not dispatch actions.');}try{isDispatching=true;currentState=currentReducer(currentState,action);}finally{isDispatching=false;}var listeners=currentListeners=nextListeners;for(var i=0;i<listeners.length;i++){listeners[i]();}return action;}/**
* Replaces the reducer currently used by the store to calculate the state.
*
* You might need this if your app implements code splitting and you want to
* load some of the reducers dynamically. You might also need this if you
* implement a hot reloading mechanism for Redux.
*
* @param {Function} nextReducer The reducer for the store to use instead.
* @returns {void}
*/function replaceReducer(nextReducer){if(typeof nextReducer!=='function'){throw new Error('Expected the nextReducer to be a function.');}currentReducer=nextReducer;dispatch({type:ActionTypes.INIT});}/**
* Interoperability point for observable/reactive libraries.
* @returns {observable} A minimal observable of state changes.
* For more information, see the observable proposal:
* https://github.com/zenparsing/es-observable
*/function observable(){var _ref;var outerSubscribe=subscribe;return _ref={/**
* The minimal observable subscription method.
* @param {Object} observer Any object that can be used as an observer.
* The observer object should have a `next` method.
* @returns {subscription} An object with an `unsubscribe` method that can
* be used to unsubscribe the observable from the store, and prevent further
* emission of values from the observable.
*/subscribe:function subscribe(observer){if((typeof observer==='undefined'?'undefined':_typeof(observer))!=='object'){throw new TypeError('Expected the observer to be an object.');}function observeState(){if(observer.next){observer.next(getState());}}observeState();var unsubscribe=outerSubscribe(observeState);return{unsubscribe:unsubscribe};}},_ref[_symbolObservable2.default]=function(){return this;},_ref;}// When a store is created, an "INIT" action is dispatched so that every
// reducer returns their initial state. This effectively populates
// the initial state tree.
dispatch({type:ActionTypes.INIT});return _ref2={dispatch:dispatch,subscribe:subscribe,getState:getState,replaceReducer:replaceReducer},_ref2[_symbolObservable2.default]=observable,_ref2;}
/***/ },
/* 449 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=warning;/**
* Prints a warning in the console if it exists.
*
* @param {String} message The warning message.
* @returns {void}
*/function warning(message){/* eslint-disable no-console */if(typeof console!=='undefined'&&typeof console.error==='function'){console.error(message);}/* eslint-enable no-console */try{// This error was thrown as a convenience so that if you enable
// "break on all exceptions" in your console,
// it would pause the execution at this line.
throw new Error(message);/* eslint-disable no-empty */}catch(e){}/* eslint-enable no-empty */}
/***/ },
/* 450 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:defaults
* @fileoverview Default options for `parse`.
*/'use strict';/* Expose. */module.exports={position:true,gfm:true,yaml:true,commonmark:false,footnotes:false,pedantic:false,blocks:__webpack_require__(1206),breaks:false};
/***/ },
/* 451 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:link
* @fileoverview Locate a link.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){var link=value.indexOf('[',fromIndex);var image=value.indexOf('![',fromIndex);if(image===-1){return link;}/* Link can never be `-1` if an image is found, so we dont need
* to check for that :) */return link<image?link:image;}
/***/ },
/* 452 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:tag
* @fileoverview Locate a tag.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){return value.indexOf('<',fromIndex);}
/***/ },
/* 453 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:get-indentation
* @fileoverview Get indentation.
*/'use strict';/* Expose. */module.exports=indentation;/* A map of characters, and their column length,
* which can be used as indentation. */var characters={' ':1,'\t':4};/**
* Gets indentation information for a line.
*
* @param {string} value - Indented line.
* @return {Object} - Indetation information.
*/function indentation(value){var index=0;var indent=0;var character=value.charAt(index);var stops={};var size;while(character in characters){size=characters[character];indent+=size;if(size>1){indent=Math.floor(indent/size)*size;}stops[indent]=index;character=value.charAt(++index);}return{indent:indent,stops:stops};}
/***/ },
/* 454 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-comment
* @fileoverview Match XML character data.
*/'use strict';/* Expose. */module.exports=match;/* Constants. */var START='<![CDATA[';var END=']]>';var END_CHAR=END.charAt(0);var START_LENGTH=START.length;var END_LENGTH=END.length;/**
* Try to match CDATA.
*
* @param {string} value - Value to parse.
* @return {string?} - When applicable, the CDATA at the
* start of `value`.
*/function match(value){var index=START_LENGTH;var queue=value.slice(0,index);var length=value.length;var character;if(queue.toUpperCase()===START){while(index<length){character=value.charAt(index);if(character===END_CHAR&&value.slice(index,index+END_LENGTH)===END){return queue+END;}queue+=character;index++;}}}
/***/ },
/* 455 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-comment
* @fileoverview Match an HTML comment.
*/'use strict';/* Expose. */module.exports=match;/* Constants. */var START='<!--';var END='-->';var END_CHAR=END.charAt(0);var START_LENGTH=START.length;var END_LENGTH=END.length;/**
* Try to match comment.
*
* @param {string} value - Value to parse.
* @param {Object} settings - Configuration as available on
* a parser.
* @return {string?} - When applicable, the comment at the
* start of `value`.
*/function match(value,settings){var index=START_LENGTH;var queue=START;var length=value.length;var commonmark=settings.commonmark;var character;var hasNonDash;if(value.slice(0,index)===queue){while(index<length){character=value.charAt(index);if(character===END_CHAR&&value.slice(index,index+END_LENGTH)===END){return queue+END;}if(commonmark){if(character==='>'&&!hasNonDash){return;}if(character!=='-'){hasNonDash=true;}else if(value.charAt(index+1)==='-'){return;}}queue+=character;index++;}}}
/***/ },
/* 456 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-declaration
* @fileoverview Match an XML declaration.
*/'use strict';/* Dependencies. */var alphabetical=__webpack_require__(139);var whitespace=__webpack_require__(31);/* Expose. */module.exports=match;/* Constants. */var C_EXCLAMATION_MARK='!';var C_LT='<';var C_GT='>';/**
* Try to match a declaration.
*
* @param {string} value - Value to parse.
* @return {string?} - When applicable, the declaration at
* the start of `value`.
*/function match(value){var index=0;var length=value.length;var queue='';var subqueue='';var character;if(value.charAt(index)===C_LT&&value.charAt(++index)===C_EXCLAMATION_MARK){queue=C_LT+C_EXCLAMATION_MARK;index++;/* Eat as many alphabetic characters as
* possible. */while(index<length){character=value.charAt(index);if(!alphabetical(character)){break;}subqueue+=character;index++;}character=value.charAt(index);if(!subqueue||!whitespace(character)){return;}queue+=subqueue+character;index++;while(index<length){character=value.charAt(index);if(character===C_GT){return queue;}queue+=character;index++;}}}
/***/ },
/* 457 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-instruction
* @fileoverview Match XML processing instruction.
*/'use strict';/* Expose. */module.exports=match;/* Constants. */var C_QUESTION_MARK='?';var C_LT='<';var C_GT='>';/**
* Try to match a processing instruction.
*
* @param {string} value - Value to parse.
* @return {string?} - When applicable, the processing
* instruction at the start of `value`.
*/function match(value){var index=0;var queue='';var length=value.length;var character;if(value.charAt(index)===C_LT&&value.charAt(++index)===C_QUESTION_MARK){queue=C_LT+C_QUESTION_MARK;index++;while(index<length){character=value.charAt(index);if(character===C_QUESTION_MARK&&value.charAt(index+1)===C_GT){return queue+character+C_GT;}queue+=character;index++;}}}
/***/ },
/* 458 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-tag-closing
* @fileoverview Match an HTML closing tag.
*/'use strict';/* Dependencies. */var alphabetical=__webpack_require__(139);var decimal=__webpack_require__(87);var whitespace=__webpack_require__(31);/* Expose. */module.exports=match;/* Constants. */var C_LT='<';var C_GT='>';var C_SLASH='/';/**
* Try to match a closing tag.
*
* @param {string} value - Value to parse.
* @param {Array.<string>?} [blocks] - Known block tag-names,
* which must be matched if given.
* @return {string?} - When applicable, the closing tag at
* the start of `value`.
*/function match(value,blocks){var index=0;var length=value.length;var queue='';var subqueue='';var character;if(value.charAt(index)===C_LT&&value.charAt(++index)===C_SLASH){queue=C_LT+C_SLASH;subqueue=character=value.charAt(++index);if(!alphabetical(character)){return;}index++;/* Eat as many alphabetic characters as
* possible. */while(index<length){character=value.charAt(index);if(!alphabetical(character)&&!decimal(character)){break;}subqueue+=character;index++;}if(blocks&&blocks.indexOf(subqueue.toLowerCase())===-1){return;}queue+=subqueue;/* Eat white-space. */while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}queue+=character;index++;}if(value.charAt(index)===C_GT){return queue+C_GT;}}}
/***/ },
/* 459 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:match-tag-opening
* @fileoverview Match an HTML opening tag.
*/'use strict';/* Dependencies. */var alphabetical=__webpack_require__(139);var decimal=__webpack_require__(87);var whitespace=__webpack_require__(31);/* Expose. */module.exports=match;/* Constants. */var C_LT='<';var C_GT='>';var C_SLASH='/';var C_DOUBLE_QUOTE='"';var C_SINGLE_QUOTE='\'';var C_EQUALS='=';/**
* Try to match a closing tag.
*
* @param {string} value - Value to parse.
* @param {Array.<string>?} [blocks] - Known block tag-names,
* which must be matched if given.
* @return {string?} - When applicable, the closing tag at
* the start of `value`.
*/function match(value,blocks){var index=0;var length=value.length;var queue='';var subqueue='';var character=value.charAt(index);var hasEquals;var test;if(character===C_LT){queue=character;subqueue=character=value.charAt(++index);if(!alphabetical(character)){return;}index++;/* Eat as many alphabetic characters as
* possible. */while(index<length){character=value.charAt(index);if(!alphabetical(character)&&!decimal(character)){break;}subqueue+=character;index++;}if(blocks&&blocks.indexOf(subqueue.toLowerCase())===-1){return;}queue+=subqueue;subqueue='';/* Find attributes. */while(index<length){/* Eat white-space. */while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}subqueue+=character;index++;}if(!subqueue){break;}/* Eat an attribute name. */queue+=subqueue;subqueue='';character=value.charAt(index);if(alphabetical(character)||character==='_'||character===':'){subqueue=character;index++;while(index<length){character=value.charAt(index);if(!alphabetical(character)&&!decimal(character)&&character!=='_'&&character!==':'&&character!=='.'&&character!=='-'){break;}subqueue+=character;index++;}}if(!subqueue){break;}queue+=subqueue;subqueue='';hasEquals=false;/* Eat zero or more white-space and one
* equals sign. */while(index<length){character=value.charAt(index);if(!whitespace(character)){if(!hasEquals&&character===C_EQUALS){hasEquals=true;}else{break;}}subqueue+=character;index++;}queue+=subqueue;subqueue='';if(hasEquals){character=value.charAt(index);queue+=subqueue;if(character===C_DOUBLE_QUOTE){test=isDoubleQuotedAttributeCharacter;subqueue=character;index++;}else if(character===C_SINGLE_QUOTE){test=isSingleQuotedAttributeCharacter;subqueue=character;index++;}else{test=isUnquotedAttributeCharacter;subqueue='';}while(index<length){character=value.charAt(index);if(!test(character)){break;}subqueue+=character;index++;}character=value.charAt(index);index++;if(!test.delimiter){if(subqueue.length===0){return;}index--;}else if(character===test.delimiter){subqueue+=character;}else{return;}queue+=subqueue;subqueue='';}else{queue+=subqueue;}}/* More white-space is already eaten by the
* attributes subroutine. */character=value.charAt(index);/* Eat an optional backslash (for self-closing
* tags). */if(character===C_SLASH){queue+=character;character=value.charAt(++index);}return character===C_GT?queue+character:null;}}/**
* Check whether `character` can be inside an unquoted
* attribute value.
*
* @param {string} character - Single character to check.
* @return {boolean} - Whether `character` can be inside
* an unquoted attribute value.
*/function isUnquotedAttributeCharacter(character){return character!==C_DOUBLE_QUOTE&&character!==C_SINGLE_QUOTE&&character!==C_EQUALS&&character!==C_LT&&character!==C_GT&&character!=='`';}/**
* Check whether `character` can be inside a double-quoted
* attribute value.
*
* @property {string} delimiter - Closing delimiter.
* @param {string} character - Single character to check.
* @return {boolean} - Whether `character` can be inside
* a double-quoted attribute value.
*/function isDoubleQuotedAttributeCharacter(character){return character!==C_DOUBLE_QUOTE;}isDoubleQuotedAttributeCharacter.delimiter=C_DOUBLE_QUOTE;/**
* Check whether `character` can be inside a single-quoted
* attribute value.
*
* @property {string} delimiter - Closing delimiter.
* @param {string} character - Single character to check.
* @return {boolean} - Whether `character` can be inside
* a single-quoted attribute value.
*/function isSingleQuotedAttributeCharacter(character){return character!==C_SINGLE_QUOTE;}isSingleQuotedAttributeCharacter.delimiter=C_SINGLE_QUOTE;
/***/ },
/* 460 */,
/* 461 */,
/* 462 */,
/* 463 */,
/* 464 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Select=__webpack_require__(1063);var _Select2=_interopRequireDefault(_Select);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Select2.default;
/***/ },
/* 465 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _TextArea=__webpack_require__(1064);var _TextArea2=_interopRequireDefault(_TextArea);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_TextArea2.default;
/***/ },
/* 466 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A divider sub-component for Breadcrumb component.
*/function BreadcrumbDivider(props){var children=props.children,content=props.content,icon=props.icon,className=props.className;var classes=(0,_classnames2.default)(className,'divider');var rest=(0,_lib.getUnhandledProps)(BreadcrumbDivider,props);var ElementType=(0,_lib.getElementType)(BreadcrumbDivider,props);if(icon)return _Icon2.default.create(icon,_extends({},rest,{className:classes}));return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content||children||'/');}BreadcrumbDivider._meta={name:'BreadcrumbDivider',type:_lib.META.TYPES.COLLECTION,parent:'Breadcrumb'};BreadcrumbDivider.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Render as an `Icon` component with `divider` class instead of a `div`. */icon:_lib.customPropTypes.itemShorthand};BreadcrumbDivider.create=(0,_lib.createShorthandFactory)(BreadcrumbDivider,function(icon){return{icon:icon};});exports.default=BreadcrumbDivider;
/***/ },
/* 467 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* A section sub-component for Breadcrumb component
*/var BreadcrumbSection=function(_Component){_inherits(BreadcrumbSection,_Component);function BreadcrumbSection(){var _ref;var _temp,_this,_ret;_classCallCheck(this,BreadcrumbSection);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=BreadcrumbSection.__proto__||Object.getPrototypeOf(BreadcrumbSection)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(BreadcrumbSection,[{key:'render',value:function render(){var _props=this.props,active=_props.active,children=_props.children,className=_props.className,content=_props.content,href=_props.href,link=_props.link,onClick=_props.onClick;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),'section',className);var rest=(0,_lib.getUnhandledProps)(BreadcrumbSection,this.props);var ElementType=(0,_lib.getElementType)(BreadcrumbSection,this.props,function(){if(link||onClick)return'a';});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,href:href,onClick:this.handleClick}),children||content);}}]);return BreadcrumbSection;}(_react.Component);BreadcrumbSection.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Style as the currently active section. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Render as an `a` tag instead of a `div`. */link:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['href']),_react.PropTypes.bool]),/** Render as an `a` tag instead of a `div` and adds the href attribute. */href:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['link']),_react.PropTypes.string]),/** Render as an `a` tag instead of a `div` and called with event on Section click. */onClick:_react.PropTypes.func};BreadcrumbSection._meta={name:'BreadcrumbSection',type:_lib.META.TYPES.COLLECTION,parent:'Breadcrumb'};exports.default=BreadcrumbSection;BreadcrumbSection.create=(0,_lib.createShorthandFactory)(BreadcrumbSection,function(content){return{content:content,link:true};});
/***/ },
/* 468 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Button=__webpack_require__(272);var _Button2=_interopRequireDefault(_Button);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Button} />
* @see Button
* @see Form
*/function FormButton(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormButton,props);var ElementType=(0,_lib.getElementType)(FormButton,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormButton._meta={name:'FormButton',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormButton.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormButton.defaultProps={as:_FormField2.default,control:_Button2.default};exports.default=FormButton;
/***/ },
/* 469 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Checkbox=__webpack_require__(192);var _Checkbox2=_interopRequireDefault(_Checkbox);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Checkbox} />
* @see Checkbox
* @see Form
*/function FormCheckbox(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormCheckbox,props);var ElementType=(0,_lib.getElementType)(FormCheckbox,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormCheckbox._meta={name:'FormCheckbox',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormCheckbox.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormCheckbox.defaultProps={as:_FormField2.default,control:_Checkbox2.default};exports.default=FormCheckbox;
/***/ },
/* 470 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Dropdown=__webpack_require__(280);var _Dropdown2=_interopRequireDefault(_Dropdown);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Dropdown} />
* @see Dropdown
* @see Form
*/function FormDropdown(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormDropdown,props);var ElementType=(0,_lib.getElementType)(FormDropdown,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormDropdown._meta={name:'FormDropdown',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormDropdown.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormDropdown.defaultProps={as:_FormField2.default,control:_Dropdown2.default};exports.default=FormDropdown;
/***/ },
/* 471 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}/**
* A set of fields can appear grouped together
* @see Form
*/function FormGroup(props){var children=props.children,className=props.className,grouped=props.grouped,inline=props.inline,widths=props.widths;var classes=(0,_classnames2.default)((0,_lib.useWidthProp)(widths,null,true),(0,_lib.useKeyOnly)(inline,'inline'),(0,_lib.useKeyOnly)(grouped,'grouped'),'fields',className);var rest=(0,_lib.getUnhandledProps)(FormGroup,props);var ElementType=(0,_lib.getElementType)(FormGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}FormGroup._meta={name:'FormGroup',parent:'Form',type:_lib.META.TYPES.COLLECTION,props:{widths:[].concat(_toConsumableArray(_lib.SUI.WIDTHS),['equal'])}};FormGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Fields can show related choices */grouped:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['inline']),_react.PropTypes.bool]),/** Multiple fields may be inline in a row */inline:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['grouped']),_react.PropTypes.bool]),/** Fields Groups can specify their width in grid columns or automatically divide fields to be equal width */widths:_react.PropTypes.oneOf(FormGroup._meta.props.widths)};FormGroup.defaultProps={as:'div'};exports.default=FormGroup;
/***/ },
/* 472 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Input=__webpack_require__(273);var _Input2=_interopRequireDefault(_Input);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Input} />
* @see Form
* @see Input
*/function FormInput(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormInput,props);var ElementType=(0,_lib.getElementType)(FormInput,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormInput._meta={name:'FormInput',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormInput.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormInput.defaultProps={as:_FormField2.default,control:_Input2.default};exports.default=FormInput;
/***/ },
/* 473 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Radio=__webpack_require__(269);var _Radio2=_interopRequireDefault(_Radio);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Radio} />
* @see Form
* @see Radio
*/function FormRadio(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormRadio,props);var ElementType=(0,_lib.getElementType)(FormRadio,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormRadio._meta={name:'FormRadio',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormRadio.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormRadio.defaultProps={as:_FormField2.default,control:_Radio2.default};exports.default=FormRadio;
/***/ },
/* 474 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Select=__webpack_require__(464);var _Select2=_interopRequireDefault(_Select);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={Select} />
* @see Form
* @see Select
*/function FormSelect(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormSelect,props);var ElementType=(0,_lib.getElementType)(FormSelect,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormSelect._meta={name:'FormSelect',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormSelect.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormSelect.defaultProps={as:_FormField2.default,control:_Select2.default};exports.default=FormSelect;
/***/ },
/* 475 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _TextArea=__webpack_require__(465);var _TextArea2=_interopRequireDefault(_TextArea);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Sugar for <Form.Field control={TextArea} />
* @see Form
* @see TextArea
*/function FormTextArea(props){var control=props.control;var rest=(0,_lib.getUnhandledProps)(FormTextArea,props);var ElementType=(0,_lib.getElementType)(FormTextArea,props);return _react2.default.createElement(ElementType,_extends({},rest,{control:control}));}FormTextArea._meta={name:'FormTextArea',parent:'Form',type:_lib.META.TYPES.COLLECTION};FormTextArea.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A FormField control prop */control:_FormField2.default.propTypes.control};FormTextArea.defaultProps={as:_FormField2.default,control:_TextArea2.default};exports.default=FormTextArea;
/***/ },
/* 476 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A column sub-component for Grid.
*/function GridColumn(props){var children=props.children,className=props.className,computer=props.computer,color=props.color,floated=props.floated,largeScreen=props.largeScreen,mobile=props.mobile,only=props.only,stretched=props.stretched,tablet=props.tablet,textAlign=props.textAlign,verticalAlign=props.verticalAlign,widescreen=props.widescreen,width=props.width;var classes=(0,_classnames2.default)(color,(0,_lib.useKeyOnly)(stretched,'stretched'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useValueAndKey)(only,'only'),(0,_lib.useVerticalAlignProp)(verticalAlign),(0,_lib.useWidthProp)(computer,'wide computer'),(0,_lib.useWidthProp)(largeScreen,'wide large screen'),(0,_lib.useWidthProp)(mobile,'wide mobile'),(0,_lib.useWidthProp)(tablet,'wide tablet'),(0,_lib.useWidthProp)(widescreen,'wide widescreen'),(0,_lib.useWidthProp)(width,'wide'),'column',className);var rest=(0,_lib.getUnhandledProps)(GridColumn,props);var ElementType=(0,_lib.getElementType)(GridColumn,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}GridColumn._meta={name:'GridColumn',parent:'Grid',type:_lib.META.TYPES.COLLECTION,props:{color:_lib.SUI.COLORS,computer:_lib.SUI.WIDTHS,floated:_lib.SUI.FLOATS,largeScreen:_lib.SUI.WIDTHS,mobile:_lib.SUI.WIDTHS,only:['computer','large screen','mobile','tablet mobile','tablet','widescreen'],tablet:_lib.SUI.WIDTHS,textAlign:_lib.SUI.TEXT_ALIGNMENTS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS,widescreen:_lib.SUI.WIDTHS,width:_lib.SUI.WIDTHS}};GridColumn.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A column can specify a width for a computer. */computer:_react.PropTypes.oneOf(GridColumn._meta.props.width),/** A grid column can be colored. */color:_react.PropTypes.oneOf(GridColumn._meta.props.color),/** A column can sit flush against the left or right edge of a row. */floated:_react.PropTypes.oneOf(GridColumn._meta.props.floated),/** A column can specify a width for a large screen device. */largeScreen:_react.PropTypes.oneOf(GridColumn._meta.props.width),/** A column can specify a width for a mobile device. */mobile:_react.PropTypes.oneOf(GridColumn._meta.props.width),/** A column can appear only for a specific device, or screen sizes. */only:_react.PropTypes.oneOf(GridColumn._meta.props.only),/** An can stretch its contents to take up the entire grid or row height. */stretched:_react.PropTypes.bool,/** A column can specify a width for a tablet device. */tablet:_react.PropTypes.oneOf(GridColumn._meta.props.width),/** A row can specify its text alignment. */textAlign:_react.PropTypes.oneOf(GridColumn._meta.props.textAlign),/** A column can specify its vertical alignment to have all its columns vertically centered. */verticalAlign:_react.PropTypes.oneOf(GridColumn._meta.props.verticalAlign),/** A column can specify a width for a wide screen device. */widescreen:_react.PropTypes.oneOf(GridColumn._meta.props.width),/** Represents width of column. */width:_react.PropTypes.oneOf(GridColumn._meta.props.width)};exports.default=GridColumn;
/***/ },
/* 477 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}/**
* A row sub-component for Grid.
*/function GridRow(props){var centered=props.centered,children=props.children,className=props.className,color=props.color,columns=props.columns,divided=props.divided,only=props.only,reversed=props.reversed,stretched=props.stretched,textAlign=props.textAlign,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)(color,(0,_lib.useKeyOnly)(centered,'centered'),(0,_lib.useKeyOnly)(divided,'divided'),(0,_lib.useKeyOnly)(stretched,'stretched'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useValueAndKey)(only,'only'),(0,_lib.useValueAndKey)(reversed,'reversed'),(0,_lib.useVerticalAlignProp)(verticalAlign),(0,_lib.useWidthProp)(columns,'column',true),'row',className);var rest=(0,_lib.getUnhandledProps)(GridRow,props);var ElementType=(0,_lib.getElementType)(GridRow,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}GridRow._meta={name:'GridRow',parent:'Grid',type:_lib.META.TYPES.COLLECTION,props:{color:_lib.SUI.COLORS,columns:[].concat(_toConsumableArray(_lib.SUI.WIDTHS),['equal']),only:['computer','large screen','mobile','tablet mobile','tablet','widescreen'],reversed:['computer','computer vertically','mobile','mobile vertically','tablet','tablet vertically'],textAlign:_lib.SUI.TEXT_ALIGNMENTS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};GridRow.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A row can have its columns centered. */centered:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A grid row can be colored. */color:_react.PropTypes.oneOf(GridRow._meta.props.color),/** Represents column count per line in Row. */columns:_react.PropTypes.oneOf(GridRow._meta.props.columns),/** A row can have dividers between its columns. */divided:_react.PropTypes.bool,/** A row can appear only for a specific device, or screen sizes. */only:_react.PropTypes.oneOf(GridRow._meta.props.only),/** A row can specify that its columns should reverse order at different device sizes. */reversed:_react.PropTypes.oneOf(GridRow._meta.props.reversed),/** An can stretch its contents to take up the entire column height. */stretched:_react.PropTypes.bool,/** A row can specify its text alignment. */textAlign:_react.PropTypes.oneOf(GridRow._meta.props.textAlign),/** A row can specify its vertical alignment to have all its columns vertically centered. */verticalAlign:_react.PropTypes.oneOf(GridRow._meta.props.verticalAlign)};exports.default=GridRow;
/***/ },
/* 478 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MenuHeader(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)(className,'header');var rest=(0,_lib.getUnhandledProps)(MenuHeader,props);var ElementType=(0,_lib.getElementType)(MenuHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}MenuHeader._meta={name:'MenuHeader',type:_lib.META.TYPES.COLLECTION,parent:'Menu'};MenuHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=MenuHeader;
/***/ },
/* 479 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _startCase2=__webpack_require__(871);var _startCase3=_interopRequireDefault(_startCase2);var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var _meta={name:'MenuItem',type:_lib.META.TYPES.COLLECTION,parent:'Menu',props:{color:_lib.SUI.COLORS,fitted:['horizontally','vertically'],position:['right']}};var MenuItem=function(_Component){_inherits(MenuItem,_Component);function MenuItem(){var _ref;var _temp,_this,_ret;_classCallCheck(this,MenuItem);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=MenuItem.__proto__||Object.getPrototypeOf(MenuItem)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var _this$props=_this.props,index=_this$props.index,name=_this$props.name,onClick=_this$props.onClick;if(onClick)onClick(e,{name:name,index:index});},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(MenuItem,[{key:'render',value:function render(){var _props=this.props,active=_props.active,children=_props.children,className=_props.className,color=_props.color,content=_props.content,fitted=_props.fitted,header=_props.header,icon=_props.icon,link=_props.link,name=_props.name,onClick=_props.onClick,position=_props.position;var classes=(0,_classnames2.default)(color,position,(0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(icon===true||icon&&!(name||content),'icon'),(0,_lib.useKeyOnly)(header,'header'),(0,_lib.useKeyOnly)(link,'link'),(0,_lib.useKeyOrValueAndKey)(fitted,'fitted'),'item',className);var ElementType=(0,_lib.getElementType)(MenuItem,this.props,function(){if(onClick)return'a';});var rest=(0,_lib.getUnhandledProps)(MenuItem,this.props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),_Icon2.default.create(icon),content||(0,_startCase3.default)(name));}}]);return MenuItem;}(_react.Component);MenuItem.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A menu item can be active. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Additional colors can be specified. */color:_react.PropTypes.oneOf(_meta.props.color),/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A menu item or menu can remove element padding, vertically or horizontally. */fitted:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.fitted)]),/** A menu item may include a header or may itself be a header. */header:_react.PropTypes.bool,/** MenuItem can be only icon. */icon:_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand]),/** MenuItem index inside Menu. */index:_react.PropTypes.number,/** A menu item can be link. */link:_react.PropTypes.bool,/** Internal name of the MenuItem. */name:_react.PropTypes.string,/** Render as an `a` tag instead of a `div` and called with event on MenuItem click. */onClick:_react.PropTypes.func,/** A menu item can take right position. */position:_react.PropTypes.oneOf(_meta.props.position)};MenuItem._meta=_meta;exports.default=MenuItem;
/***/ },
/* 480 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MenuMenu(props){var children=props.children,className=props.className,position=props.position;var classes=(0,_classnames2.default)(className,position,'menu');var rest=(0,_lib.getUnhandledProps)(MenuMenu,props);var ElementType=(0,_lib.getElementType)(MenuMenu,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}MenuMenu._meta={name:'MenuMenu',type:_lib.META.TYPES.COLLECTION,parent:'Menu',props:{position:['right']}};MenuMenu.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A sub menu can take right position. */position:_react.PropTypes.oneOf(MenuMenu._meta.props.position)};exports.default=MenuMenu;
/***/ },
/* 481 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MessageContent(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('content',className);var rest=(0,_lib.getUnhandledProps)(MessageContent,props);var ElementType=(0,_lib.getElementType)(MessageContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}MessageContent._meta={name:'MessageContent',parent:'Message',type:_lib.META.TYPES.COLLECTION};MessageContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=MessageContent;
/***/ },
/* 482 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MessageHeader(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('header',className);var rest=(0,_lib.getUnhandledProps)(MessageHeader,props);var ElementType=(0,_lib.getElementType)(MessageHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}MessageHeader._meta={name:'MessageHeader',parent:'Message',type:_lib.META.TYPES.COLLECTION};MessageHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=MessageHeader;
/***/ },
/* 483 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _MessageItem=__webpack_require__(270);var _MessageItem2=_interopRequireDefault(_MessageItem);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function MessageList(props){var children=props.children,className=props.className,items=props.items;var classes=(0,_classnames2.default)('list',className);var rest=(0,_lib.getUnhandledProps)(MessageList,props);var ElementType=(0,_lib.getElementType)(MessageList,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var content=(0,_map3.default)(items,function(item){return _react2.default.createElement(_MessageItem2.default,{key:item},item);});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content);}MessageList._meta={name:'MessageList',parent:'Message',type:_lib.META.TYPES.COLLECTION};MessageList.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Strings to use as list items. Mutually exclusive with children. */items:_react.PropTypes.arrayOf(_react.PropTypes.string)};MessageList.defaultProps={as:'ul'};exports.default=MessageList;
/***/ },
/* 484 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableBody(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)(className);var rest=(0,_lib.getUnhandledProps)(TableBody,props);var ElementType=(0,_lib.getElementType)(TableBody,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}TableBody._meta={name:'TableBody',type:_lib.META.TYPES.COLLECTION,parent:'Table'};TableBody.defaultProps={as:'tbody'};TableBody.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=TableBody;
/***/ },
/* 485 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _TableHeader=__webpack_require__(271);var _TableHeader2=_interopRequireDefault(_TableHeader);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableFooter(props){return _react2.default.createElement(_TableHeader2.default,props);}TableFooter._meta={name:'TableFooter',type:_lib.META.TYPES.COLLECTION,parent:'Table'};TableFooter.defaultProps={as:'tfoot'};exports.default=TableFooter;
/***/ },
/* 486 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _TableCell=__webpack_require__(187);var _TableCell2=_interopRequireDefault(_TableCell);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableHeaderCell(props){return _react2.default.createElement(_TableCell2.default,props);}TableHeaderCell._meta={name:'TableHeaderCell',type:_lib.META.TYPES.COLLECTION,parent:'Table'};TableHeaderCell.defaultProps={as:'th'};exports.default=TableHeaderCell;
/***/ },
/* 487 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _TableCell=__webpack_require__(187);var _TableCell2=_interopRequireDefault(_TableCell);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function TableRow(props){var active=props.active,cellAs=props.cellAs,cells=props.cells,children=props.children,className=props.className,disabled=props.disabled,error=props.error,negative=props.negative,positive=props.positive,textAlign=props.textAlign,verticalAlign=props.verticalAlign,warning=props.warning;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(negative,'negative'),(0,_lib.useKeyOnly)(positive,'positive'),(0,_lib.useKeyOnly)(warning,'warning'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useVerticalAlignProp)(verticalAlign),className);var rest=(0,_lib.getUnhandledProps)(TableRow,props);var ElementType=(0,_lib.getElementType)(TableRow,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_map3.default)(cells,function(cell){return _TableCell2.default.create(cell,{as:cellAs});}));}TableRow._meta={name:'TableRow',type:_lib.META.TYPES.COLLECTION,parent:'Table',props:{textAlign:_lib.SUI.TEXT_ALIGNMENTS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};TableRow.defaultProps={as:'tr',cellAs:'td'};TableRow.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A row can be active or selected by a user. */active:_react.PropTypes.bool,/** An element type to render as (string or function). */cellAs:_lib.customPropTypes.as,/** Shorthand array of props for TableCell. */cells:_lib.customPropTypes.collectionShorthand,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A row can be disabled. */disabled:_react.PropTypes.bool,/** A row may call attention to an error or a negative value. */error:_react.PropTypes.bool,/** A row may let a user know whether a value is bad. */negative:_react.PropTypes.bool,/** A row may let a user know whether a value is good. */positive:_react.PropTypes.bool,/** A table row can adjust its text alignment. */textAlign:_react.PropTypes.oneOf(TableRow._meta.props.textAlign),/** A table row can adjust its vertical alignment. */verticalAlign:_react.PropTypes.oneOf(TableRow._meta.props.verticalAlign),/** A row may warn a user. */warning:_react.PropTypes.bool};TableRow.create=(0,_lib.createShorthandFactory)(TableRow,function(cells){return{cells:cells};});exports.default=TableRow;
/***/ },
/* 488 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(188);var _Icon2=_interopRequireDefault(_Icon);var _Label=__webpack_require__(274);var _Label2=_interopRequireDefault(_Label);var _ButtonContent=__webpack_require__(489);var _ButtonContent2=_interopRequireDefault(_ButtonContent);var _ButtonGroup=__webpack_require__(490);var _ButtonGroup2=_interopRequireDefault(_ButtonGroup);var _ButtonOr=__webpack_require__(491);var _ButtonOr2=_interopRequireDefault(_ButtonOr);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}var debug=(0,_lib.makeDebugger)('button');var _meta={name:'Button',type:_lib.META.TYPES.ELEMENT,props:{animated:['fade','vertical'],attached:['left','right','top','bottom'],color:[].concat(_toConsumableArray(_lib.SUI.COLORS),['facebook','twitter','google plus','vk','linkedin','instagram','youtube']),floated:_lib.SUI.FLOATS,labelPosition:['right','left'],size:_lib.SUI.SIZES}};/**
* A Button indicates a possible user action
* @see Form
* @see Icon
* @see Label
*/var Button=function(_Component){_inherits(Button,_Component);function Button(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Button);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Button.__proto__||Object.getPrototypeOf(Button)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var _this$props=_this.props,disabled=_this$props.disabled,onClick=_this$props.onClick;if(disabled){e.preventDefault();return;}if(onClick)onClick(e,_this.props);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Button,[{key:'render',value:function render(){var _props=this.props,active=_props.active,animated=_props.animated,attached=_props.attached,basic=_props.basic,children=_props.children,circular=_props.circular,className=_props.className,color=_props.color,compact=_props.compact,content=_props.content,disabled=_props.disabled,floated=_props.floated,fluid=_props.fluid,icon=_props.icon,inverted=_props.inverted,label=_props.label,labelPosition=_props.labelPosition,loading=_props.loading,negative=_props.negative,positive=_props.positive,primary=_props.primary,secondary=_props.secondary,size=_props.size,toggle=_props.toggle;var labeledClasses=(0,_classnames2.default)((0,_lib.useKeyOrValueAndKey)(labelPosition||!!label,'labeled'));var baseClasses=(0,_classnames2.default)(color,size,(0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOrValueAndKey)(animated,'animated'),(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(circular,'circular'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(icon===true||icon&&(labelPosition||!children&&!content),'icon'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useKeyOnly)(negative,'negative'),(0,_lib.useKeyOnly)(positive,'positive'),(0,_lib.useKeyOnly)(primary,'primary'),(0,_lib.useKeyOnly)(secondary,'secondary'),(0,_lib.useKeyOnly)(toggle,'toggle'));var rest=(0,_lib.getUnhandledProps)(Button,this.props);var ElementType=(0,_lib.getElementType)(Button,this.props,function(){if(label||attached)return'div';});var tabIndex=ElementType==='div'?0:undefined;if(children){var _classes=(0,_classnames2.default)('ui',baseClasses,labeledClasses,'button',className);debug('render children:',{classes:_classes});return _react2.default.createElement(ElementType,_extends({},rest,{className:_classes,tabIndex:tabIndex,onClick:this.handleClick}),children);}if(label){var _classes2=(0,_classnames2.default)('ui',baseClasses,'button',className);var containerClasses=(0,_classnames2.default)('ui',labeledClasses,'button',className);debug('render label:',{classes:_classes2,containerClasses:containerClasses},this.props);var labelElement=_Label2.default.create(label,{basic:true,pointing:labelPosition==='left'?'right':'left'});return _react2.default.createElement(ElementType,_extends({},rest,{className:containerClasses,onClick:this.handleClick}),labelPosition==='left'&&labelElement,_react2.default.createElement('button',{className:_classes2},_Icon2.default.create(icon),' ',content),(labelPosition==='right'||!labelPosition)&&labelElement);}if(icon&&!label){var _classes3=(0,_classnames2.default)('ui',labeledClasses,baseClasses,'button',className);debug('render icon && !label:',{classes:_classes3});return _react2.default.createElement(ElementType,_extends({},rest,{className:_classes3,tabIndex:tabIndex,onClick:this.handleClick}),_Icon2.default.create(icon),' ',content);}var classes=(0,_classnames2.default)('ui',labeledClasses,baseClasses,'button',className);debug('render default:',{classes:classes});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,tabIndex:tabIndex,onClick:this.handleClick}),content);}}]);return Button;}(_react.Component);Button.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A button can show it is currently the active user selection */active:_react.PropTypes.bool,/** A button can animate to show hidden content */animated:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.animated)]),/** A button can be attached to the top or bottom of other content */attached:_react.PropTypes.oneOf(_meta.props.attached),/** A basic button is less pronounced */basic:_react.PropTypes.bool,/** Primary content. */children:_lib.customPropTypes.every([_react.PropTypes.node,_lib.customPropTypes.disallow(['label']),_lib.customPropTypes.givenProps({icon:_react.PropTypes.oneOfType([_react.PropTypes.string.isRequired,_react.PropTypes.object.isRequired,_react.PropTypes.element.isRequired])},_lib.customPropTypes.disallow(['icon']))]),/** A button can be circular */circular:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A button can have different colors */color:_react.PropTypes.oneOf(_meta.props.color),/** A button can reduce its padding to fit into tighter spaces */compact:_react.PropTypes.bool,/** A button can show it is currently unable to be interacted with */disabled:_react.PropTypes.bool,/** A button can be aligned to the left or right of its container */floated:_react.PropTypes.oneOf(_meta.props.floated),/** A button can take the width of its container */fluid:_react.PropTypes.bool,/** Add an Icon by name, props object, or pass an <Icon /> */icon:_lib.customPropTypes.some([_react.PropTypes.bool,_react.PropTypes.string,_react.PropTypes.object,_react.PropTypes.element]),/** A button can be formatted to appear on dark backgrounds */inverted:_react.PropTypes.bool,/** A labeled button can format a Label or Icon to appear on the left or right */labelPosition:_react.PropTypes.oneOf(_meta.props.labelPosition),/** Add a Label by text, props object, or pass a <Label /> */label:_lib.customPropTypes.some([_react.PropTypes.string,_react.PropTypes.object,_react.PropTypes.element]),/** A button can show a loading indicator */loading:_react.PropTypes.bool,/** A button can hint towards a negative consequence */negative:_react.PropTypes.bool,/**
* Called after user's click.
* @param {SyntheticEvent} event - React's original SyntheticEvent.
* @param {object} data - Relevant data.
*/onClick:_react.PropTypes.func,/** A button can hint towards a positive consequence */positive:_react.PropTypes.bool,/** A button can be formatted to show different levels of emphasis */primary:_react.PropTypes.bool,/** A button can be formatted to show different levels of emphasis */secondary:_react.PropTypes.bool,/** A button can be formatted to toggle on and off */toggle:_react.PropTypes.bool,/** A button can have different sizes */size:_react.PropTypes.oneOf(_meta.props.size)};Button.defaultProps={as:'button'};Button._meta=_meta;Button.Content=_ButtonContent2.default;Button.Group=_ButtonGroup2.default;Button.Or=_ButtonOr2.default;Button.create=(0,_lib.createShorthandFactory)(Button,function(value){return{content:value};});exports.default=Button;
/***/ },
/* 489 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Used in some Button types, such as `animated`
*/function ButtonContent(props){var children=props.children,className=props.className,hidden=props.hidden,visible=props.visible;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(visible,'visible'),(0,_lib.useKeyOnly)(hidden,'hidden'),'content',className);var rest=(0,_lib.getUnhandledProps)(ButtonContent,props);var ElementType=(0,_lib.getElementType)(ButtonContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ButtonContent._meta={name:'ButtonContent',parent:'Button',type:_lib.META.TYPES.ELEMENT};ButtonContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Initially hidden, visible on hover */hidden:_react.PropTypes.bool,/** Initially visible, hidden on hover */visible:_react.PropTypes.bool};exports.default=ButtonContent;
/***/ },
/* 490 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Button.Group
*/function ButtonGroup(props){var attached=props.attached,basic=props.basic,children=props.children,className=props.className,color=props.color,compact=props.compact,fluid=props.fluid,icon=props.icon,inverted=props.inverted,labeled=props.labeled,negative=props.negative,positive=props.positive,primary=props.primary,secondary=props.secondary,size=props.size,toggle=props.toggle,vertical=props.vertical,widths=props.widths;var classes=(0,_classnames2.default)('ui',size,color,(0,_lib.useValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(icon,'icon'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(labeled,'labeled'),(0,_lib.useKeyOnly)(negative,'negative'),(0,_lib.useKeyOnly)(positive,'positive'),(0,_lib.useKeyOnly)(primary,'primary'),(0,_lib.useKeyOnly)(secondary,'secondary'),(0,_lib.useKeyOnly)(toggle,'toggle'),(0,_lib.useKeyOnly)(vertical,'vertical'),(0,_lib.useWidthProp)(widths),'buttons',className);var rest=(0,_lib.getUnhandledProps)(ButtonGroup,props);var ElementType=(0,_lib.getElementType)(ButtonGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ButtonGroup._meta={name:'ButtonGroup',parent:'Button',type:_lib.META.TYPES.ELEMENT,props:{attached:['left','right','top','bottom'],color:_lib.SUI.COLORS,size:_lib.SUI.SIZES,widths:_lib.SUI.WIDTHS}};ButtonGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A button can be attached to the top or bottom of other content */attached:_react.PropTypes.oneOf(ButtonGroup._meta.props.attached),/** Groups can be less pronounced */basic:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Groups can have a shared color */color:_react.PropTypes.oneOf(ButtonGroup._meta.props.color),/** Groups can reduce their padding to fit into tighter spaces */compact:_react.PropTypes.bool,/** Groups can take the width of their container */fluid:_react.PropTypes.bool,/** Groups can be formatted as icons */icon:_react.PropTypes.bool,/** Groups can be formatted to appear on dark backgrounds */inverted:_react.PropTypes.bool,/** Groups can be formatted as labeled icon buttons */labeled:_react.PropTypes.bool,/** Groups can hint towards a negative consequence */negative:_react.PropTypes.bool,/** Groups can hint towards a positive consequence */positive:_react.PropTypes.bool,/** Groups can be formatted to show different levels of emphasis */primary:_react.PropTypes.bool,/** Groups can be formatted to show different levels of emphasis */secondary:_react.PropTypes.bool,/** Groups can have different sizes */size:_react.PropTypes.oneOf(ButtonGroup._meta.props.size),/** Groups can be formatted to toggle on and off */toggle:_react.PropTypes.bool,/** Groups can be formatted to appear vertically */vertical:_react.PropTypes.bool,/** Groups can have their widths divided evenly */widths:_react.PropTypes.oneOf(ButtonGroup._meta.props.widths)};exports.default=ButtonGroup;
/***/ },
/* 491 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Used in some Button types, such as `animated`
*/function ButtonOr(props){var className=props.className;var classes=(0,_classnames2.default)('or',className);var rest=(0,_lib.getUnhandledProps)(ButtonOr,props);var ElementType=(0,_lib.getElementType)(ButtonOr,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}));}ButtonOr._meta={name:'ButtonOr',parent:'Button',type:_lib.META.TYPES.ELEMENT};ButtonOr.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string};exports.default=ButtonOr;
/***/ },
/* 492 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Flag=__webpack_require__(1081);var _Flag2=_interopRequireDefault(_Flag);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Flag2.default;
/***/ },
/* 493 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Header content wraps the main content when there is an adjacent Icon or Image.
*/function HeaderContent(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)(className,'content');var rest=(0,_lib.getUnhandledProps)(HeaderContent,props);var ElementType=(0,_lib.getElementType)(HeaderContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}HeaderContent._meta={name:'HeaderContent',parent:'Header',type:_lib.META.TYPES.VIEW};HeaderContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=HeaderContent;
/***/ },
/* 494 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function HeaderSubheader(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)('sub header',className);var rest=(0,_lib.getUnhandledProps)(HeaderSubheader,props);var ElementType=(0,_lib.getElementType)(HeaderSubheader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}HeaderSubheader._meta={name:'HeaderSubheader',parent:'Header',type:_lib.META.TYPES.ELEMENT};HeaderSubheader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};HeaderSubheader.create=(0,_lib.createShorthandFactory)(HeaderSubheader,function(content){return{content:content};});exports.default=HeaderSubheader;
/***/ },
/* 495 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Several icons can be used together as a group
*/function IconGroup(props){var children=props.children,className=props.className,size=props.size;var classes=(0,_classnames2.default)(size,'icons',className);var rest=(0,_lib.getUnhandledProps)(IconGroup,props);var ElementType=(0,_lib.getElementType)(IconGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}IconGroup._meta={name:'IconGroup',parent:'Icon',type:_lib.META.TYPES.ELEMENT,props:{size:_lib.SUI.SIZES}};IconGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Size of the icon group. */size:_react.PropTypes.oneOf(IconGroup._meta.props.size)};IconGroup.defaultProps={as:'i'};exports.default=IconGroup;
/***/ },
/* 496 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Dimmer=__webpack_require__(512);var _Dimmer2=_interopRequireDefault(_Dimmer);var _Label=__webpack_require__(274);var _Label2=_interopRequireDefault(_Label);var _ImageGroup=__webpack_require__(497);var _ImageGroup2=_interopRequireDefault(_ImageGroup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An image is a graphic representation of something.
* @see Icon
*/function Image(props){var alt=props.alt,avatar=props.avatar,bordered=props.bordered,centered=props.centered,children=props.children,className=props.className,dimmer=props.dimmer,disabled=props.disabled,floated=props.floated,fluid=props.fluid,height=props.height,hidden=props.hidden,href=props.href,inline=props.inline,label=props.label,shape=props.shape,size=props.size,spaced=props.spaced,src=props.src,verticalAlign=props.verticalAlign,width=props.width,wrapped=props.wrapped,ui=props.ui;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(ui,'ui'),size,shape,(0,_lib.useKeyOnly)(avatar,'avatar'),(0,_lib.useKeyOnly)(bordered,'bordered'),(0,_lib.useKeyOnly)(centered,'centered'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(hidden,'hidden'),(0,_lib.useKeyOnly)(inline,'inline'),(0,_lib.useKeyOrValueAndKey)(spaced,'spaced'),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useVerticalAlignProp)(verticalAlign,'aligned'),'image',className);var rest=(0,_lib.getUnhandledProps)(Image,props);var ElementType=(0,_lib.getElementType)(Image,props,function(){if(dimmer||label||wrapped||children)return'div';});if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var rootProps=_extends({},rest,{className:classes});var imgTagProps={alt:alt,src:src,height:height,width:width};if(ElementType==='img')return _react2.default.createElement(ElementType,_extends({},rootProps,imgTagProps));return _react2.default.createElement(ElementType,_extends({},rootProps,{href:href}),_Dimmer2.default.create(dimmer),_Label2.default.create(label),_react2.default.createElement('img',imgTagProps));}Image.Group=_ImageGroup2.default;Image._meta={name:'Image',type:_lib.META.TYPES.ELEMENT,props:{verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS,floated:_lib.SUI.FLOATS,shape:['rounded','circular'],size:_lib.SUI.SIZES,spaced:['left','right']}};Image.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Alternate text for the image specified. */alt:_react.PropTypes.string,/** An image may be formatted to appear inline with text as an avatar. */avatar:_react.PropTypes.bool,/** An image may include a border to emphasize the edges of white or transparent content. */bordered:_react.PropTypes.bool,/** An image can appear centered in a content block. */centered:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** An image can show that it is disabled and cannot be selected. */disabled:_react.PropTypes.bool,/** Shorthand for Dimmer. */dimmer:_lib.customPropTypes.itemShorthand,/** An image can sit to the left or right of other content. */floated:_react.PropTypes.oneOf(Image._meta.props.floated),/** An image can take up the width of its container. */fluid:_lib.customPropTypes.every([_react.PropTypes.bool,_lib.customPropTypes.disallow(['size'])]),/** The img element height attribute. */height:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]),/** An image can be hidden. */hidden:_react.PropTypes.bool,/** Renders the Image as an <a> tag with this href. */href:_react.PropTypes.string,/** An image may appear inline. */inline:_react.PropTypes.bool,/** Shorthand for Label. */label:_lib.customPropTypes.itemShorthand,/** An image may appear rounded or circular. */shape:_react.PropTypes.oneOf(Image._meta.props.shape),/** An image may appear at different sizes. */size:_react.PropTypes.oneOf(Image._meta.props.size),/** An image can specify that it needs an additional spacing to separate it from nearby content. */spaced:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Image._meta.props.spaced)]),/** Specifies the URL of the image. */src:_react.PropTypes.string,/** Whether or not to add the ui className. */ui:_react.PropTypes.bool,/** An image can specify its vertical alignment */verticalAlign:_react.PropTypes.oneOf(Image._meta.props.verticalAlign),/** The img element width attribute */width:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]),/** An image can render wrapped in a `div.ui.image` as alternative HTML markup */wrapped:_lib.customPropTypes.every([_react.PropTypes.bool,// these props wrap the image in an a tag already
_lib.customPropTypes.disallow(['href'])])};Image.defaultProps={as:'img',ui:true};Image.create=(0,_lib.createShorthandFactory)(Image,function(value){return{src:value};});exports.default=Image;
/***/ },
/* 497 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A group of images
*/function ImageGroup(props){var children=props.children,className=props.className,size=props.size;var classes=(0,_classnames2.default)('ui',size,className,'images');var rest=(0,_lib.getUnhandledProps)(ImageGroup,props);var ElementType=(0,_lib.getElementType)(ImageGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ImageGroup._meta={name:'ImageGroup',parent:'Image',type:_lib.META.TYPES.ELEMENT,props:{size:_lib.SUI.SIZES}};ImageGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A group of images can be formatted to have the same size. */size:_react.PropTypes.oneOf(ImageGroup._meta.props.size)};exports.default=ImageGroup;
/***/ },
/* 498 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function LabelDetail(props){var children=props.children,className=props.className,content=props.content;var classes=(0,_classnames2.default)('detail',className);var rest=(0,_lib.getUnhandledProps)(LabelDetail,props);var ElementType=(0,_lib.getElementType)(LabelDetail,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}LabelDetail._meta={name:'LabelDetail',parent:'Label',type:_lib.META.TYPES.ELEMENT};LabelDetail.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand};exports.default=LabelDetail;
/***/ },
/* 499 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function LabelGroup(props){var children=props.children,circular=props.circular,className=props.className,color=props.color,size=props.size,tag=props.tag;var classes=(0,_classnames2.default)('ui',color,size,(0,_lib.useKeyOnly)(circular,'circular'),(0,_lib.useKeyOnly)(tag,'tag'),'labels',className);var rest=(0,_lib.getUnhandledProps)(LabelGroup,props);var ElementType=(0,_lib.getElementType)(LabelGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}LabelGroup._meta={name:'LabelGroup',parent:'Label',type:_lib.META.TYPES.ELEMENT,props:{color:_lib.SUI.COLORS,size:_lib.SUI.SIZES}};LabelGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Labels can share shapes. */circular:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Label group can share colors together. */color:_react.PropTypes.oneOf(LabelGroup._meta.props.color),/** Label group can share sizes together. */size:_react.PropTypes.oneOf(LabelGroup._meta.props.size),/** Label group can share tag formatting. */tag:_react.PropTypes.bool};exports.default=LabelGroup;
/***/ },
/* 500 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _isPlainObject2=__webpack_require__(168);var _isPlainObject3=_interopRequireDefault(_isPlainObject2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Image=__webpack_require__(97);var _Image2=_interopRequireDefault(_Image);var _ListContent=__webpack_require__(275);var _ListContent2=_interopRequireDefault(_ListContent);var _ListDescription=__webpack_require__(190);var _ListDescription2=_interopRequireDefault(_ListDescription);var _ListHeader=__webpack_require__(191);var _ListHeader2=_interopRequireDefault(_ListHeader);var _ListIcon=__webpack_require__(276);var _ListIcon2=_interopRequireDefault(_ListIcon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListItem(props){var active=props.active,children=props.children,className=props.className,content=props.content,description=props.description,disabled=props.disabled,header=props.header,icon=props.icon,image=props.image,value=props.value;var ElementType=(0,_lib.getElementType)(ListItem,props);var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(ElementType!=='li','item'),className);var rest=(0,_lib.getUnhandledProps)(ListItem,props);var valueProp=ElementType==='li'?{value:value}:{'data-value':value};if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes},valueProp),children);}var iconElement=_ListIcon2.default.create(icon);var imageElement=_Image2.default.create(image);// See description of `content` prop for explanation about why this is necessary.
if(!(0,_react.isValidElement)(content)&&(0,_isPlainObject3.default)(content)){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes},valueProp),iconElement||imageElement,_ListContent2.default.create(content,{header:header,description:description}));}var headerElement=_ListHeader2.default.create(header);var descriptionElement=_ListDescription2.default.create(description);if(iconElement||imageElement){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes},valueProp),iconElement||imageElement,(content||headerElement||descriptionElement)&&_react2.default.createElement(_ListContent2.default,null,headerElement,descriptionElement,content));}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes},valueProp),headerElement,descriptionElement,content);}ListItem._meta={name:'ListItem',parent:'List',type:_lib.META.TYPES.ELEMENT};ListItem.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A list item can active. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/**
* Shorthand for primary content.
*
* Heads up!
*
* This is handled slightly differently than the typical `content` prop since
* the wrapping ListContent is not used when there's no icon or image.
*
* If you pass content as:
* - an element/literal, it's treated as the sibling node to
* header/description (whether wrapped in Item.Content or not).
* - a props object, it forces the presence of Item.Content and passes those
* props to it. If you pass a content prop within that props object, it
* will be treated as the sibling node to header/description.
*/content:_lib.customPropTypes.itemShorthand,/** Shorthand for ListDescription. */description:_lib.customPropTypes.itemShorthand,/** A list item can disabled. */disabled:_react.PropTypes.bool,/** Shorthand for ListHeader. */header:_lib.customPropTypes.itemShorthand,/** Shorthand for ListIcon. */icon:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['image']),_lib.customPropTypes.itemShorthand]),/** Shorthand for Image. */image:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['icon']),_lib.customPropTypes.itemShorthand]),/** A value for an ordered list. */value:_react.PropTypes.string};ListItem.create=(0,_lib.createShorthandFactory)(ListItem,function(content){return{content:content};});exports.default=ListItem;
/***/ },
/* 501 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ListList(props){var children=props.children,className=props.className;var rest=(0,_lib.getUnhandledProps)(ListList,props);var ElementType=(0,_lib.getElementType)(ListList,props);var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(ElementType!=='ul'&&ElementType!=='ol','list'),className);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ListList._meta={name:'ListList',parent:'List',type:_lib.META.TYPES.ELEMENT};ListList.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=ListList;
/***/ },
/* 502 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A content sub-component for the Reveal.
*/function RevealContent(props){var children=props.children,className=props.className,hidden=props.hidden,visible=props.visible;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(hidden,'hidden'),(0,_lib.useKeyOnly)(visible,'visible'),'content',className);var rest=(0,_lib.getUnhandledProps)(RevealContent,props);var ElementType=(0,_lib.getElementType)(RevealContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}RevealContent._meta={name:'RevealContent',parent:'Reveal',type:_lib.META.TYPES.ELEMENT};RevealContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A reveal may contain content that is visible before interaction. */hidden:_react.PropTypes.bool,/** A reveal may contain content that is hidden before user interaction. */visible:_react.PropTypes.bool};exports.default=RevealContent;
/***/ },
/* 503 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A group of segments can be formatted to appear together.
*/function SegmentGroup(props){var children=props.children,className=props.className,compact=props.compact,horizontal=props.horizontal,piled=props.piled,raised=props.raised,size=props.size,stacked=props.stacked;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOnly)(piled,'piled'),(0,_lib.useKeyOnly)(raised,'raised'),(0,_lib.useKeyOnly)(stacked,'stacked'),className,'segments');var rest=(0,_lib.getUnhandledProps)(SegmentGroup,props);var ElementType=(0,_lib.getElementType)(SegmentGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}SegmentGroup._meta={name:'SegmentGroup',parent:'Segment',type:_lib.META.TYPES.ELEMENT,props:{size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};SegmentGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** A segment may take up only as much space as is necessary */compact:_react.PropTypes.bool,/** Formats content to be aligned horizontally */horizontal:_react.PropTypes.bool,/** Formatted to look like a pile of pages. */piled:_react.PropTypes.bool,/** A segment group may be formatted to raise above the page. */raised:_react.PropTypes.bool,/** A segment group can have different sizes. */size:_react.PropTypes.oneOf(SegmentGroup._meta.props.size),/** Formatted to show it contains multiple pages. */stacked:_react.PropTypes.bool};exports.default=SegmentGroup;
/***/ },
/* 504 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _StepContent=__webpack_require__(505);var _StepContent2=_interopRequireDefault(_StepContent);var _StepDescription=__webpack_require__(277);var _StepDescription2=_interopRequireDefault(_StepDescription);var _StepGroup=__webpack_require__(506);var _StepGroup2=_interopRequireDefault(_StepGroup);var _StepTitle=__webpack_require__(278);var _StepTitle2=_interopRequireDefault(_StepTitle);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* A step shows the completion status of an activity in a series of activities
*/var Step=function(_Component){_inherits(Step,_Component);function Step(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Step);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Step.__proto__||Object.getPrototypeOf(Step)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Step,[{key:'render',value:function render(){var _props=this.props,active=_props.active,children=_props.children,className=_props.className,completed=_props.completed,description=_props.description,disabled=_props.disabled,href=_props.href,icon=_props.icon,link=_props.link,onClick=_props.onClick,title=_props.title;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(completed,'completed'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(link,'link'),'step',className);var rest=(0,_lib.getUnhandledProps)(Step,this.props);var ElementType=(0,_lib.getElementType)(Step,this.props,function(){if(onClick)return'a';});if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,href:href,onClick:this.handleClick}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,href:href,onClick:this.handleClick}),_Icon2.default.create(icon),_react2.default.createElement(_StepContent2.default,{description:description,title:title}));}}]);return Step;}(_react.Component);Step.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A step can be highlighted as active. */active:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** A step can show that a user has completed it. */completed:_react.PropTypes.bool,/** Shorthand for StepDescription. */description:_lib.customPropTypes.itemShorthand,/** Show that the Loader is inactive. */disabled:_react.PropTypes.bool,/** Shorthand for Icon. */icon:_lib.customPropTypes.itemShorthand,/** A step can be link. */link:_react.PropTypes.bool,/** Render as an `a` tag instead of a `div` and adds the href attribute. */href:_react.PropTypes.string,/** Render as an `a` tag instead of a `div` and called with event on Step click. */onClick:_react.PropTypes.func,/** A step can show a ordered sequence of steps. Passed from StepGroup. */ordered:_react.PropTypes.bool,/** Shorthand for StepTitle. */title:_lib.customPropTypes.itemShorthand};Step._meta={name:'Step',type:_lib.META.TYPES.ELEMENT};Step.Content=_StepContent2.default;Step.Description=_StepDescription2.default;Step.Group=_StepGroup2.default;Step.Title=_StepTitle2.default;exports.default=Step;
/***/ },
/* 505 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);var _StepDescription=__webpack_require__(277);var _StepDescription2=_interopRequireDefault(_StepDescription);var _StepTitle=__webpack_require__(278);var _StepTitle2=_interopRequireDefault(_StepTitle);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StepContent(props){var children=props.children,className=props.className,description=props.description,title=props.title;var classes=(0,_classnames2.default)(className,'content');var rest=(0,_lib.getUnhandledProps)(StepContent,props);var ElementType=(0,_lib.getElementType)(StepContent,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_StepTitle2.default,function(val){return{title:val};},title),(0,_lib.createShorthand)(_StepDescription2.default,function(val){return{description:val};},description));}StepContent._meta={name:'StepContent',parent:'Step',type:_lib.META.TYPES.ELEMENT};StepContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Shorthand for StepDescription. */description:_lib.customPropTypes.itemShorthand,/** Shorthand for StepTitle. */title:_lib.customPropTypes.itemShorthand};exports.default=StepContent;
/***/ },
/* 506 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Step=__webpack_require__(504);var _Step2=_interopRequireDefault(_Step);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StepGroup(props){var children=props.children,className=props.className,fluid=props.fluid,items=props.items,ordered=props.ordered,size=props.size,stackable=props.stackable,vertical=props.vertical;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(ordered,'ordered'),(0,_lib.useValueAndKey)(stackable,'stackable'),(0,_lib.useKeyOnly)(vertical,'vertical'),size,className,'steps');var rest=(0,_lib.getUnhandledProps)(StepGroup,props);var ElementType=(0,_lib.getElementType)(StepGroup,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var content=(0,_map3.default)(items,function(item){var key=item.key||[item.title,item.description].join('-');return _react2.default.createElement(_Step2.default,_extends({key:key},item));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content);}StepGroup._meta={name:'StepGroup',parent:'Step',props:{sizes:(0,_without3.default)(_lib.SUI.SIZES,'medium'),stackable:['tablet']},type:_lib.META.TYPES.ELEMENT};StepGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** A fluid step takes up the width of its container. */fluid:_react.PropTypes.bool,/** Shorthand array of props for Step. */items:_lib.customPropTypes.collectionShorthand,/** A step can show a ordered sequence of steps. */ordered:_react.PropTypes.bool,/** Steps can have different sizes. */size:_react.PropTypes.oneOf(StepGroup._meta.props.sizes),/** A step can stack vertically only on smaller screens. */stackable:_react.PropTypes.oneOf(StepGroup._meta.props.stackable),/** A step can be displayed stacked vertically. */vertical:_react.PropTypes.bool};exports.default=StepGroup;
/***/ },
/* 507 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};var hasDocument=(typeof document==='undefined'?'undefined':_typeof(document))==='object'&&document!==null;var hasWindow=(typeof window==='undefined'?'undefined':_typeof(window))==='object'&&window!==null&&window.self===window;exports.default=hasDocument&&hasWindow;
/***/ },
/* 508 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});// Copy of sindre's leven, wrapped in dead code elimination for production
// https://github.com/sindresorhus/leven/blob/master/index.js
var leven=function leven(){return 0;};if(process.env.NODE_ENV!=='production'){(function(){/* eslint-disable complexity, no-nested-ternary */var arr=[];var charCodeCache=[];leven=function leven(a,b){if(a===b)return 0;var aLen=a.length;var bLen=b.length;if(aLen===0)return bLen;if(bLen===0)return aLen;var bCharCode=void 0;var ret=void 0;var tmp=void 0;var tmp2=void 0;var i=0;var j=0;while(i<aLen){charCodeCache[i]=a.charCodeAt(i);arr[i]=++i;}while(j<bLen){bCharCode=b.charCodeAt(j);tmp=j++;ret=j;for(i=0;i<aLen;i++){tmp2=bCharCode===charCodeCache[i]?tmp:tmp+1;tmp=arr[i];ret=arr[i]=tmp>ret?tmp2>ret?ret+1:tmp2:tmp2>tmp?tmp+1:tmp2;}}return ret;};})();}exports.default=leven;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 509 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function AccordionContent(props){var active=props.active,children=props.children,className=props.className;var classes=(0,_classnames2.default)('content',(0,_lib.useKeyOnly)(active,'active'),className);var rest=(0,_lib.getUnhandledProps)(AccordionContent,props);var ElementType=(0,_lib.getElementType)(AccordionContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}AccordionContent.displayName='AccordionContent';AccordionContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Whether or not the content is visible. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};AccordionContent._meta={name:'AccordionContent',type:_lib.META.TYPES.MODULE,parent:'Accordion'};exports.default=AccordionContent;
/***/ },
/* 510 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* A title sub-component for Accordion component
*/var AccordionTitle=function(_Component){_inherits(AccordionTitle,_Component);function AccordionTitle(){var _ref;var _temp,_this,_ret;_classCallCheck(this,AccordionTitle);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=AccordionTitle.__proto__||Object.getPrototypeOf(AccordionTitle)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(AccordionTitle,[{key:'render',value:function render(){var _props=this.props,active=_props.active,children=_props.children,className=_props.className;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),'title',className);var rest=(0,_lib.getUnhandledProps)(AccordionTitle,this.props);var ElementType=(0,_lib.getElementType)(AccordionTitle,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),children);}}]);return AccordionTitle;}(_react.Component);AccordionTitle.displayName='AccordionTitle';AccordionTitle.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Whether or not the title is in the open state. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Called with (event, index) on title click. */onClick:_react.PropTypes.func};AccordionTitle._meta={name:'AccordionTitle',type:_lib.META.TYPES.MODULE,parent:'Accordion'};exports.default=AccordionTitle;
/***/ },
/* 511 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A dimmable sub-component for Dimmer.
*/function DimmerDimmable(props){var blurring=props.blurring,className=props.className,children=props.children,dimmed=props.dimmed;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(blurring,'blurring'),(0,_lib.useKeyOnly)(dimmed,'dimmed'),'dimmable',className);var rest=(0,_lib.getUnhandledProps)(DimmerDimmable,props);var ElementType=(0,_lib.getElementType)(DimmerDimmable,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}DimmerDimmable._meta={name:'DimmerDimmable',type:_lib.META.TYPES.MODULE,parent:'Dimmer'};DimmerDimmable.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A dimmable element can blur its contents. */blurring:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Controls whether or not the dim is displayed. */dimmed:_react.PropTypes.bool};exports.default=DimmerDimmable;
/***/ },
/* 512 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Dimmer=__webpack_require__(1110);var _Dimmer2=_interopRequireDefault(_Dimmer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Dimmer2.default;
/***/ },
/* 513 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function DropdownDivider(props){var className=props.className;var classes=(0,_classnames2.default)('divider',className);var rest=(0,_lib.getUnhandledProps)(DropdownDivider,props);var ElementType=(0,_lib.getElementType)(DropdownDivider,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}));}DropdownDivider._meta={name:'DropdownDivider',parent:'Dropdown',type:_lib.META.TYPES.MODULE};DropdownDivider.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string};exports.default=DropdownDivider;
/***/ },
/* 514 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function DropdownHeader(props){var children=props.children,className=props.className,content=props.content,icon=props.icon;var classes=(0,_classnames2.default)('header',className);var rest=(0,_lib.getUnhandledProps)(DropdownHeader,props);var ElementType=(0,_lib.getElementType)(DropdownHeader,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_Icon2.default.create(icon),content);}DropdownHeader._meta={name:'DropdownHeader',parent:'Dropdown',type:_lib.META.TYPES.MODULE};DropdownHeader.propTypes={/** An element type to render as (string or function) */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for Icon. */icon:_lib.customPropTypes.itemShorthand};exports.default=DropdownHeader;
/***/ },
/* 515 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Flag=__webpack_require__(492);var _Flag2=_interopRequireDefault(_Flag);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _Image=__webpack_require__(97);var _Image2=_interopRequireDefault(_Image);var _Label=__webpack_require__(189);var _Label2=_interopRequireDefault(_Label);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* An item sub-component for Dropdown component
*/var DropdownItem=function(_Component){_inherits(DropdownItem,_Component);function DropdownItem(){var _ref;var _temp,_this,_ret;_classCallCheck(this,DropdownItem);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=DropdownItem.__proto__||Object.getPrototypeOf(DropdownItem)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e,_this.props);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(DropdownItem,[{key:'render',value:function render(){var _props=this.props,active=_props.active,children=_props.children,className=_props.className,content=_props.content,disabled=_props.disabled,description=_props.description,flag=_props.flag,icon=_props.icon,image=_props.image,label=_props.label,selected=_props.selected,text=_props.text;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(selected,'selected'),'item',className);// add default dropdown icon if item contains another menu
var iconName=icon||_lib.childrenUtils.someByType(children,'DropdownMenu')&&'dropdown';var rest=(0,_lib.getUnhandledProps)(DropdownItem,this.props);var ElementType=(0,_lib.getElementType)(DropdownItem,this.props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),children);}var flagElement=_Flag2.default.create(flag);var iconElement=_Icon2.default.create(iconName);var imageElement=_Image2.default.create(image);var labelElement=_Label2.default.create(label);var descriptionElement=(0,_lib.createShorthand)('span',function(val){return{className:'description',children:val};},description);if(descriptionElement){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),imageElement,iconElement,flagElement,labelElement,descriptionElement,(0,_lib.createShorthand)('span',function(val){return{className:'text',children:val};},content||text));}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),imageElement,iconElement,flagElement,labelElement,content||text);}}]);return DropdownItem;}(_react.Component);DropdownItem.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Style as the currently chosen item. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Additional text with less emphasis. */description:_lib.customPropTypes.itemShorthand,/** A dropdown item can be disabled. */disabled:_react.PropTypes.bool,/** Shorthand for Flag. */flag:_lib.customPropTypes.itemShorthand,/** Shorthand for Icon. */icon:_lib.customPropTypes.itemShorthand,/** Shorthand for Image. */image:_lib.customPropTypes.itemShorthand,/** Shorthand for Label. */label:_lib.customPropTypes.itemShorthand,/**
* The item currently selected by keyboard shortcut.
* This is not the active item.
*/selected:_react.PropTypes.bool,/** Display text. */text:_lib.customPropTypes.contentShorthand,/** Stored value */value:_react.PropTypes.oneOfType([_react.PropTypes.number,_react.PropTypes.string]),/** Called on click with (event, props). */onClick:_react.PropTypes.func};DropdownItem._meta={name:'DropdownItem',parent:'Dropdown',type:_lib.META.TYPES.MODULE};exports.default=DropdownItem;
/***/ },
/* 516 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function DropdownMenu(props){var children=props.children,className=props.className,scrolling=props.scrolling;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(scrolling,'scrolling'),'menu transition',className);var rest=(0,_lib.getUnhandledProps)(DropdownMenu,props);var ElementType=(0,_lib.getElementType)(DropdownMenu,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}DropdownMenu._meta={name:'DropdownMenu',parent:'Dropdown',type:_lib.META.TYPES.MODULE};DropdownMenu.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A dropdown menu can scroll. */scrolling:_react.PropTypes.bool};exports.default=DropdownMenu;
/***/ },
/* 517 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ModalActions(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)(className,'actions');var rest=(0,_lib.getUnhandledProps)(ModalActions,props);var ElementType=(0,_lib.getElementType)(ModalActions,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ModalActions._meta={name:'ModalActions',type:_lib.META.TYPES.MODULE,parent:'Modal'};ModalActions.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=ModalActions;
/***/ },
/* 518 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ModalContent(props){var children=props.children,image=props.image,className=props.className;var classes=(0,_classnames2.default)(className,(0,_lib.useKeyOnly)(image,'image'),'content');var rest=(0,_lib.getUnhandledProps)(ModalContent,props);var ElementType=(0,_lib.getElementType)(ModalContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ModalContent._meta={name:'ModalContent',type:_lib.META.TYPES.MODULE,parent:'Modal'};ModalContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A modal can contain image content */image:_react.PropTypes.bool};exports.default=ModalContent;
/***/ },
/* 519 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ModalDescription(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)(className,'description');var rest=(0,_lib.getUnhandledProps)(ModalDescription,props);var ElementType=(0,_lib.getElementType)(ModalDescription,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ModalDescription._meta={name:'ModalDescription',type:_lib.META.TYPES.MODULE,parent:'Modal'};ModalDescription.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=ModalDescription;
/***/ },
/* 520 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function ModalHeader(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)(className,'header');var rest=(0,_lib.getUnhandledProps)(ModalHeader,props);var ElementType=(0,_lib.getElementType)(ModalHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}ModalHeader._meta={name:'ModalHeader',type:_lib.META.TYPES.MODULE,parent:'Modal'};ModalHeader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=ModalHeader;
/***/ },
/* 521 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Modal=__webpack_require__(1114);var _Modal2=_interopRequireDefault(_Modal);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Modal2.default;
/***/ },
/* 522 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};exports.default=PopupContent;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A PopupContent displays the content body of a Popover.
*/function PopupContent(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('content',className);var rest=(0,_lib.getUnhandledProps)(PopupContent,props);var ElementType=(0,_lib.getElementType)(PopupContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}PopupContent.create=(0,_lib.createShorthandFactory)(PopupContent,function(value){return{children:value};});PopupContent.propTypes={/** The content of the Popup */children:_react.PropTypes.node,/** Classes to add to the Popup content className. */className:_react.PropTypes.string};PopupContent._meta={name:'PopupContent',type:_lib.META.TYPES.MODULE,parent:'Popup'};
/***/ },
/* 523 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};exports.default=PopupHeader;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A PopupHeader displays a header in a Popover.
*/function PopupHeader(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('header',className);var rest=(0,_lib.getUnhandledProps)(PopupHeader,props);var ElementType=(0,_lib.getElementType)(PopupHeader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}PopupHeader.create=(0,_lib.createShorthandFactory)(PopupHeader,function(value){return{children:value};});PopupHeader.propTypes={/** The header of the Popup */children:_react.PropTypes.node,/** Classes to add to the Popup header className. */className:_react.PropTypes.string};PopupHeader._meta={name:'PopupHeader',type:_lib.META.TYPES.MODULE,parent:'Popup'};
/***/ },
/* 524 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var defaultRenderer=function defaultRenderer(_ref){var name=_ref.name;return name;};function SearchCategory(props){var active=props.active,children=props.children,className=props.className,renderer=props.renderer;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),'category',className);var rest=(0,_lib.getUnhandledProps)(SearchCategory,props);var ElementType=(0,_lib.getElementType)(SearchCategory,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_react2.default.createElement('div',{className:'name'},renderer?renderer(props):defaultRenderer(props)),children);}SearchCategory._meta={name:'SearchCategory',parent:'Search',type:_lib.META.TYPES.MODULE};SearchCategory.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** The item currently selected by keyboard shortcut. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Display name. */name:_react.PropTypes.string,/**
* A function that returns the category contents.
* Receives all SearchCategory props.
*/renderer:_react.PropTypes.func,/** Array of Search.Result props */results:_react.PropTypes.array};exports.default=SearchCategory;
/***/ },
/* 525 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}// Note: You technically only need the 'content' wrapper when there's an
// image. However, optionally wrapping it makes this function a lot more
// complicated and harder to read. Since always wrapping it doesn't affect
// the style in any way let's just do that.
//
// Note: To avoid requiring a wrapping div, we return an array here so to
// prevent rendering issues each node needs a unique key.
var defaultRenderer=function defaultRenderer(_ref){var image=_ref.image,price=_ref.price,title=_ref.title,description=_ref.description;return[image&&_react2.default.createElement('div',{key:'image',className:'image'},(0,_lib.createHTMLImage)(image)),_react2.default.createElement('div',{key:'content',className:'content'},price&&_react2.default.createElement('div',{className:'price'},price),title&&_react2.default.createElement('div',{className:'title'},title),description&&_react2.default.createElement('div',{className:'description'},description))];};var SearchResult=function(_Component){_inherits(SearchResult,_Component);function SearchResult(){var _ref2;var _temp,_this,_ret;_classCallCheck(this,SearchResult);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref2=SearchResult.__proto__||Object.getPrototypeOf(SearchResult)).call.apply(_ref2,[this].concat(args))),_this),_this.handleClick=function(e){var _this$props=_this.props,id=_this$props.id,onClick=_this$props.onClick;if(onClick)onClick(e,id);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(SearchResult,[{key:'render',value:function render(){var _props=this.props,active=_props.active,className=_props.className,renderer=_props.renderer;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),'result',className);var rest=(0,_lib.getUnhandledProps)(SearchResult,this.props);var ElementType=(0,_lib.getElementType)(SearchResult,this.props);// Note: You technically only need the 'content' wrapper when there's an
// image. However, optionally wrapping it makes this function a lot more
// complicated and harder to read. Since always wrapping it doesn't affect
// the style in any way let's just do that.
return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),renderer?renderer(this.props):defaultRenderer(this.props));}}]);return SearchResult;}(_react.Component);SearchResult.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** The item currently selected by keyboard shortcut. */active:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** Additional text with less emphasis. */description:_react.PropTypes.string,/** A unique identifier. */id:_react.PropTypes.number,/** Add an image to the item. */image:_react.PropTypes.string,/** Called on click with (event, value, text). */onClick:_react.PropTypes.func,/** Customized text for price. */price:_react.PropTypes.string,/**
* A function that returns the result contents.
* Receives all SearchResult props.
*/renderer:_react.PropTypes.func,/** Display title. */title:_react.PropTypes.string};SearchResult._meta={name:'SearchResult',parent:'Search',type:_lib.META.TYPES.MODULE};exports.default=SearchResult;
/***/ },
/* 526 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function SearchResults(props){var children=props.children,className=props.className;var classes=(0,_classnames2.default)('results transition',className);var rest=(0,_lib.getUnhandledProps)(SearchResults,props);var ElementType=(0,_lib.getElementType)(SearchResults,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}SearchResults._meta={name:'SearchResults',parent:'Search',type:_lib.META.TYPES.MODULE};SearchResults.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=SearchResults;
/***/ },
/* 527 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Image=__webpack_require__(97);var _Image2=_interopRequireDefault(_Image);var _CardContent=__webpack_require__(528);var _CardContent2=_interopRequireDefault(_CardContent);var _CardDescription=__webpack_require__(281);var _CardDescription2=_interopRequireDefault(_CardDescription);var _CardGroup=__webpack_require__(529);var _CardGroup2=_interopRequireDefault(_CardGroup);var _CardHeader=__webpack_require__(282);var _CardHeader2=_interopRequireDefault(_CardHeader);var _CardMeta=__webpack_require__(283);var _CardMeta2=_interopRequireDefault(_CardMeta);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}var _meta={name:'Card',type:_lib.META.TYPES.VIEW,props:{color:_lib.SUI.COLORS}};/**
* A card displays site content in a manner similar to a playing card
*/var Card=function(_Component){_inherits(Card,_Component);function Card(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Card);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Card.__proto__||Object.getPrototypeOf(Card)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var onClick=_this.props.onClick;if(onClick)onClick(e);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Card,[{key:'render',value:function render(){var _props=this.props,centered=_props.centered,children=_props.children,className=_props.className,color=_props.color,description=_props.description,extra=_props.extra,fluid=_props.fluid,header=_props.header,href=_props.href,image=_props.image,meta=_props.meta,onClick=_props.onClick,raised=_props.raised;var classes=(0,_classnames2.default)('ui',color,(0,_lib.useKeyOnly)(centered,'centered'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(raised,'raised'),'card',className);var rest=(0,_lib.getUnhandledProps)(Card,this.props);var ElementType=(0,_lib.getElementType)(Card,this.props,function(){if(onClick)return'a';});if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,href:href,onClick:this.handleClick}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,href:href,onClick:this.handleClick}),_Image2.default.create(image),(description||header||meta)&&_react2.default.createElement(_CardContent2.default,{description:description,header:header,meta:meta}),extra&&_react2.default.createElement(_CardContent2.default,{extra:true},extra));}}]);return Card;}(_react.Component);Card.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A Card can center itself inside its container. */centered:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A Card can be formatted to display different colors. */color:_react.PropTypes.oneOf(_meta.props.color),/** Shorthand for CardDescription. */description:_lib.customPropTypes.itemShorthand,/** Shorthand for primary content of CardContent. */extra:_lib.customPropTypes.contentShorthand,/** A Card can be formatted to take up the width of its container. */fluid:_react.PropTypes.bool,/** Shorthand for CardHeader. */header:_lib.customPropTypes.itemShorthand,/** Render as an `a` tag instead of a `div` and adds the href attribute. */href:_react.PropTypes.string,/** A card can contain an Image component. */image:_lib.customPropTypes.itemShorthand,/** Shorthand for CardMeta. */meta:_lib.customPropTypes.itemShorthand,/** Render as an `a` tag instead of a `div` and called with event on Card click. */onClick:_react.PropTypes.func,/** A Card can be formatted to raise above the page. */raised:_react.PropTypes.bool};Card._meta=_meta;Card.Content=_CardContent2.default;Card.Description=_CardDescription2.default;Card.Group=_CardGroup2.default;Card.Header=_CardHeader2.default;Card.Meta=_CardMeta2.default;exports.default=Card;
/***/ },
/* 528 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _CardDescription=__webpack_require__(281);var _CardDescription2=_interopRequireDefault(_CardDescription);var _CardHeader=__webpack_require__(282);var _CardHeader2=_interopRequireDefault(_CardHeader);var _CardMeta=__webpack_require__(283);var _CardMeta2=_interopRequireDefault(_CardMeta);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A card can contain blocks of content or extra content meant to be formatted separately from the main content
*/function CardContent(props){var children=props.children,className=props.className,description=props.description,extra=props.extra,header=props.header,meta=props.meta;var classes=(0,_classnames2.default)(className,(0,_lib.useKeyOnly)(extra,'extra'),'content');var rest=(0,_lib.getUnhandledProps)(CardContent,props);var ElementType=(0,_lib.getElementType)(CardContent,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_CardHeader2.default,function(val){return{content:val};},header),(0,_lib.createShorthand)(_CardMeta2.default,function(val){return{content:val};},meta),(0,_lib.createShorthand)(_CardDescription2.default,function(val){return{content:val};},description));}CardContent._meta={name:'CardContent',parent:'Card',type:_lib.META.TYPES.VIEW};CardContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for CardDescription. */description:_lib.customPropTypes.itemShorthand,/** A card can contain extra content meant to be formatted separately from the main content */extra:_react.PropTypes.bool,/** Shorthand for CardHeader. */header:_lib.customPropTypes.itemShorthand,/** Shorthand for CardMeta. */meta:_lib.customPropTypes.itemShorthand};exports.default=CardContent;
/***/ },
/* 529 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Card=__webpack_require__(527);var _Card2=_interopRequireDefault(_Card);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A group of cards.
*/function CardGroup(props){var children=props.children,className=props.className,doubling=props.doubling,items=props.items,itemsPerRow=props.itemsPerRow,stackable=props.stackable;var classes=(0,_classnames2.default)('ui',(0,_lib.useWidthProp)(itemsPerRow),(0,_lib.useKeyOnly)(doubling,'doubling'),(0,_lib.useKeyOnly)(stackable,'stackable'),className,'cards');var rest=(0,_lib.getUnhandledProps)(CardGroup,props);var ElementType=(0,_lib.getElementType)(CardGroup,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var content=(0,_map3.default)(items,function(item){var key=item.key||[item.header,item.description].join('-');return _react2.default.createElement(_Card2.default,_extends({key:key},item));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content);}CardGroup._meta={name:'CardGroup',parent:'Card',props:{itemsPerRow:_lib.SUI.WIDTHS},type:_lib.META.TYPES.VIEW};CardGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A group of cards can double its column width for mobile */doubling:_react.PropTypes.bool,/** Shorthand array of props for Card. */items:_lib.customPropTypes.collectionShorthand,/** A group of cards can set how many cards should exist in a row */itemsPerRow:_react.PropTypes.oneOf(CardGroup._meta.props.itemsPerRow),/** A group of cards can automatically stack rows to a single columns on mobile devices */stackable:_react.PropTypes.bool};exports.default=CardGroup;
/***/ },
/* 530 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentAction(props){var active=props.active,className=props.className,children=props.children;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),className);var rest=(0,_lib.getUnhandledProps)(CommentAction,props);var ElementType=(0,_lib.getElementType)(CommentAction,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentAction._meta={name:'CommentAction',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentAction.defaultProps={as:'a'};CommentAction.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Style as the currently active action. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentAction;
/***/ },
/* 531 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentActions(props){var className=props.className,children=props.children;var classes=(0,_classnames2.default)('actions',className);var rest=(0,_lib.getUnhandledProps)(CommentActions,props);var ElementType=(0,_lib.getElementType)(CommentActions,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentActions._meta={name:'CommentActions',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentActions.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentActions;
/***/ },
/* 532 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentAuthor(props){var className=props.className,children=props.children;var classes=(0,_classnames2.default)('author',className);var rest=(0,_lib.getUnhandledProps)(CommentAuthor,props);var ElementType=(0,_lib.getElementType)(CommentAuthor,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentAuthor._meta={name:'CommentAuthor',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentAuthor.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentAuthor;
/***/ },
/* 533 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentAvatar(props){var className=props.className,src=props.src;var classes=(0,_classnames2.default)('avatar',className);var rest=(0,_lib.getUnhandledProps)(CommentAvatar,props);var ElementType=(0,_lib.getElementType)(CommentAvatar,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createHTMLImage)(src));}CommentAvatar._meta={name:'CommentAvatar',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentAvatar.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Specifies the URL of the image. */src:_react.PropTypes.string};exports.default=CommentAvatar;
/***/ },
/* 534 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentContent(props){var className=props.className,children=props.children;var classes=(0,_classnames2.default)('content',className);var rest=(0,_lib.getUnhandledProps)(CommentContent,props);var ElementType=(0,_lib.getElementType)(CommentContent,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentContent._meta={name:'CommentContent',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentContent;
/***/ },
/* 535 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentGroup(props){var className=props.className,children=props.children,collapsed=props.collapsed,minimal=props.minimal,threaded=props.threaded;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(collapsed,'collapsed'),(0,_lib.useKeyOnly)(minimal,'minimal'),(0,_lib.useKeyOnly)(threaded,'threaded'),'comments',className);var rest=(0,_lib.getUnhandledProps)(CommentGroup,props);var ElementType=(0,_lib.getElementType)(CommentGroup,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentGroup._meta={name:'CommentGroup',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Comments can be collapsed, or hidden from view. */collapsed:_react.PropTypes.bool,/** Comments can hide extra information unless a user shows intent to interact with a comment */minimal:_react.PropTypes.bool,/** A comment list can be threaded to showing the relationship between conversations */threaded:_react.PropTypes.bool};exports.default=CommentGroup;
/***/ },
/* 536 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentMetadata(props){var className=props.className,children=props.children;var classes=(0,_classnames2.default)('metadata',className);var rest=(0,_lib.getUnhandledProps)(CommentMetadata,props);var ElementType=(0,_lib.getElementType)(CommentMetadata,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentMetadata._meta={name:'CommentMetadata',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentMetadata.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentMetadata;
/***/ },
/* 537 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function CommentText(props){var className=props.className,children=props.children;var classes=(0,_classnames2.default)('text',className);var rest=(0,_lib.getUnhandledProps)(CommentText,props);var ElementType=(0,_lib.getElementType)(CommentText,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}CommentText._meta={name:'CommentText',parent:'Comment',type:_lib.META.TYPES.VIEW};CommentText.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string};exports.default=CommentText;
/***/ },
/* 538 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FeedContent=__webpack_require__(284);var _FeedContent2=_interopRequireDefault(_FeedContent);var _FeedLabel=__webpack_require__(286);var _FeedLabel2=_interopRequireDefault(_FeedLabel);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function FeedEvent(props){var content=props.content,children=props.children,className=props.className,date=props.date,extraImages=props.extraImages,extraText=props.extraText,image=props.image,icon=props.icon,meta=props.meta,summary=props.summary;var classes=(0,_classnames2.default)(className,'event');var rest=(0,_lib.getUnhandledProps)(FeedEvent,props);var ElementType=(0,_lib.getElementType)(FeedEvent,props);var hasContentProp=content||date||extraImages||extraText||meta||summary;var contentProps={content:content,date:date,extraImages:extraImages,extraText:extraText,meta:meta,summary:summary};return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_FeedLabel2.default,function(val){return{icon:val};},icon),(0,_lib.createShorthand)(_FeedLabel2.default,function(val){return{image:val};},image),hasContentProp&&_react2.default.createElement(_FeedContent2.default,contentProps),children);}FeedEvent._meta={name:'FeedEvent',parent:'Feed',type:_lib.META.TYPES.VIEW};FeedEvent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for FeedContent. */content:_FeedContent2.default.propTypes.content,/** Shorthand for FeedDate. */date:_FeedContent2.default.propTypes.date,/** Shorthand for FeedExtra with images. */extraImages:_FeedContent2.default.propTypes.extraImages,/** Shorthand for FeedExtra with content. */extraText:_FeedContent2.default.propTypes.extraText,/** An event can contain icon label. */icon:_lib.customPropTypes.itemShorthand,/** An event can contain image label. */image:_lib.customPropTypes.itemShorthand,/** Shorthand for FeedMeta. */meta:_FeedContent2.default.propTypes.meta,/** Shorthand for FeedSummary. */summary:_FeedContent2.default.propTypes.summary};exports.default=FeedEvent;
/***/ },
/* 539 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _ItemContent=__webpack_require__(540);var _ItemContent2=_interopRequireDefault(_ItemContent);var _ItemDescription=__webpack_require__(291);var _ItemDescription2=_interopRequireDefault(_ItemDescription);var _ItemExtra=__webpack_require__(292);var _ItemExtra2=_interopRequireDefault(_ItemExtra);var _ItemGroup=__webpack_require__(541);var _ItemGroup2=_interopRequireDefault(_ItemGroup);var _ItemHeader=__webpack_require__(293);var _ItemHeader2=_interopRequireDefault(_ItemHeader);var _ItemImage=__webpack_require__(542);var _ItemImage2=_interopRequireDefault(_ItemImage);var _ItemMeta=__webpack_require__(294);var _ItemMeta2=_interopRequireDefault(_ItemMeta);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item view presents large collections of site content for display
**/function Item(props){var children=props.children,className=props.className,content=props.content,description=props.description,extra=props.extra,header=props.header,image=props.image,meta=props.meta;var classes=(0,_classnames2.default)(className,'item');var rest=(0,_lib.getUnhandledProps)(Item,props);var ElementType=(0,_lib.getElementType)(Item,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_ItemImage2.default,function(val){return{src:val};},image),_react2.default.createElement(_ItemContent2.default,{content:content,description:description,extra:extra,header:header,meta:meta}));}Item._meta={name:'Item',type:_lib.META.TYPES.VIEW};Item.Content=_ItemContent2.default;Item.Description=_ItemDescription2.default;Item.Extra=_ItemExtra2.default;Item.Group=_ItemGroup2.default;Item.Header=_ItemHeader2.default;Item.Image=_ItemImage2.default;Item.Meta=_ItemMeta2.default;Item.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for ItemContent component. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for ItemDescription component. */description:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemExtra component. */extra:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemImage component. */image:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemHeader component. */header:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemMeta component. */meta:_lib.customPropTypes.itemShorthand};exports.default=Item;
/***/ },
/* 540 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _ItemHeader=__webpack_require__(293);var _ItemHeader2=_interopRequireDefault(_ItemHeader);var _ItemDescription=__webpack_require__(291);var _ItemDescription2=_interopRequireDefault(_ItemDescription);var _ItemExtra=__webpack_require__(292);var _ItemExtra2=_interopRequireDefault(_ItemExtra);var _ItemMeta=__webpack_require__(294);var _ItemMeta2=_interopRequireDefault(_ItemMeta);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain content
**/function ItemContent(props){var children=props.children,className=props.className,content=props.content,description=props.description,extra=props.extra,header=props.header,meta=props.meta,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)(className,(0,_lib.useVerticalAlignProp)(verticalAlign),'content');var rest=(0,_lib.getUnhandledProps)(ItemContent,props);var ElementType=(0,_lib.getElementType)(ItemContent,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_lib.createShorthand)(_ItemHeader2.default,function(val){return{content:val};},header),(0,_lib.createShorthand)(_ItemMeta2.default,function(val){return{content:val};},meta),(0,_lib.createShorthand)(_ItemDescription2.default,function(val){return{content:val};},description),(0,_lib.createShorthand)(_ItemExtra2.default,function(val){return{content:val};},extra),content);}ItemContent._meta={name:'ItemContent',parent:'Item',type:_lib.META.TYPES.VIEW,props:{verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};ItemContent.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for ItemDescription component. */description:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemExtra component. */extra:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemHeader component. */header:_lib.customPropTypes.itemShorthand,/** Shorthand for ItemMeta component. */meta:_lib.customPropTypes.itemShorthand,/** Content can specify its vertical alignment */verticalAlign:_react.PropTypes.oneOf(ItemContent._meta.props.verticalAlign)};exports.default=ItemContent;
/***/ },
/* 541 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Item=__webpack_require__(539);var _Item2=_interopRequireDefault(_Item);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}/**
* A group of items
**/function ItemGroup(props){var children=props.children,className=props.className,divided=props.divided,items=props.items,link=props.link,relaxed=props.relaxed;var classes=(0,_classnames2.default)('ui',className,(0,_lib.useKeyOnly)(divided,'divided'),(0,_lib.useKeyOnly)(link,'link'),(0,_lib.useKeyOrValueAndKey)(relaxed,'relaxed'),'items');var rest=(0,_lib.getUnhandledProps)(ItemGroup,props);var ElementType=(0,_lib.getElementType)(ItemGroup,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var itemsJSX=(0,_map3.default)(items,function(item){var childKey=item.childKey,itemProps=_objectWithoutProperties(item,['childKey']);var finalKey=childKey||[itemProps.content,itemProps.description,itemProps.header,itemProps.meta].join('-');return _react2.default.createElement(_Item2.default,_extends({},itemProps,{key:finalKey}));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),itemsJSX);}ItemGroup._meta={name:'ItemGroup',type:_lib.META.TYPES.VIEW,parent:'Item',props:{relaxed:['very']}};ItemGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Items can be divided to better distinguish between grouped content. */divided:_react.PropTypes.bool,/** Shorthand array of props for Item. */items:_lib.customPropTypes.collectionShorthand,/** An item can be formatted so that the entire contents link to another page. */link:_react.PropTypes.bool,/** A group of items can relax its padding to provide more negative space. */relaxed:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(ItemGroup._meta.props.relaxed)])};exports.default=ItemGroup;
/***/ },
/* 542 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Image=__webpack_require__(97);var _Image2=_interopRequireDefault(_Image);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An item can contain an image
**/function ItemImage(props){var size=props.size;var rest=(0,_lib.getUnhandledProps)(ItemImage,props);return _react2.default.createElement(_Image2.default,_extends({},rest,{size:size,ui:!!size,wrapped:true}));}ItemImage._meta={name:'ItemImage',parent:'Item',type:_lib.META.TYPES.VIEW};ItemImage.propTypes={/** An image may appear at different sizes */size:_react.PropTypes.oneOf(_Image2.default._meta.props.size)};exports.default=ItemImage;
/***/ },
/* 543 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _StatisticGroup=__webpack_require__(544);var _StatisticGroup2=_interopRequireDefault(_StatisticGroup);var _StatisticLabel=__webpack_require__(545);var _StatisticLabel2=_interopRequireDefault(_StatisticLabel);var _StatisticValue=__webpack_require__(546);var _StatisticValue2=_interopRequireDefault(_StatisticValue);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function Statistic(props){var children=props.children,className=props.className,color=props.color,floated=props.floated,horizontal=props.horizontal,inverted=props.inverted,label=props.label,size=props.size,text=props.text,value=props.value;var classes=(0,_classnames2.default)('ui',color,(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useKeyOnly)(inverted,'inverted'),size,className,'statistic');var rest=(0,_lib.getUnhandledProps)(Statistic,props);var ElementType=(0,_lib.getElementType)(Statistic,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_react2.default.createElement(_StatisticValue2.default,{text:text,value:value}),_react2.default.createElement(_StatisticLabel2.default,{label:label}));}Statistic._meta={name:'Statistic',type:_lib.META.TYPES.VIEW,props:{color:_lib.SUI.COLORS,floated:_lib.SUI.FLOATS,size:(0,_without3.default)(_lib.SUI.SIZES,'big','massive','medium')}};Statistic.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A statistic can be formatted to be different colors. */color:_react.PropTypes.oneOf(Statistic._meta.props.color),/** A statistic can sit to the left or right of other content. */floated:_react.PropTypes.oneOf(Statistic._meta.props.floated),/** A statistic can present its measurement horizontally. */horizontal:_react.PropTypes.bool,/** A statistic can be formatted to fit on a dark background. */inverted:_react.PropTypes.bool,/** Label content of the Statistic. */label:_lib.customPropTypes.contentShorthand,/** A statistic can vary in size. */size:_react.PropTypes.oneOf(Statistic._meta.props.size),/** Format the StatisticValue with smaller font size to fit nicely beside number values. */text:_react.PropTypes.bool,/** Value content of the Statistic. */value:_lib.customPropTypes.contentShorthand};Statistic.Group=_StatisticGroup2.default;Statistic.Label=_StatisticLabel2.default;Statistic.Value=_StatisticValue2.default;exports.default=Statistic;
/***/ },
/* 544 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Statistic=__webpack_require__(543);var _Statistic2=_interopRequireDefault(_Statistic);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StatisticGroup(props){var children=props.children,className=props.className,horizontal=props.horizontal,items=props.items,widths=props.widths;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useWidthProp)(widths),'statistics',className);var rest=(0,_lib.getUnhandledProps)(StatisticGroup,props);var ElementType=(0,_lib.getElementType)(StatisticGroup,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var itemsJSX=(0,_map3.default)(items,function(item){return _react2.default.createElement(_Statistic2.default,_extends({key:item.childKey||[item.label,item.title].join('-')},item));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),itemsJSX);}StatisticGroup._meta={name:'StatisticGroup',type:_lib.META.TYPES.VIEW,parent:'Statistic',props:{widths:_lib.SUI.WIDTHS}};StatisticGroup.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A statistic can present its measurement horizontally. */horizontal:_react.PropTypes.bool,/** Array of props for Statistic. */items:_lib.customPropTypes.collectionShorthand,/** A statistic group can have its items divided evenly. */widths:_react.PropTypes.oneOf(StatisticGroup._meta.props.widths)};exports.default=StatisticGroup;
/***/ },
/* 545 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StatisticLabel(props){var children=props.children,className=props.className,label=props.label;var classes=(0,_classnames2.default)(className,'label');var rest=(0,_lib.getUnhandledProps)(StatisticLabel,props);var ElementType=(0,_lib.getElementType)(StatisticLabel,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||label);}StatisticLabel._meta={name:'StatisticLabel',parent:'Statistic',type:_lib.META.TYPES.VIEW};StatisticLabel.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */label:_lib.customPropTypes.contentShorthand};exports.default=StatisticLabel;
/***/ },
/* 546 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function StatisticValue(props){var children=props.children,className=props.className,text=props.text,value=props.value;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(text,'text'),className,'value');var rest=(0,_lib.getUnhandledProps)(StatisticValue,props);var ElementType=(0,_lib.getElementType)(StatisticValue,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||value);}StatisticValue._meta={name:'StatisticValue',parent:'Statistic',type:_lib.META.TYPES.VIEW};StatisticValue.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Format the value with smaller font size to fit nicely beside number values. */text:_react.PropTypes.bool,/** Primary content of the StatisticValue. Mutually exclusive with the children prop. */value:_lib.customPropTypes.contentShorthand};exports.default=StatisticValue;
/***/ },
/* 547 */,
/* 548 */,
/* 549 */,
/* 550 */,
/* 551 */,
/* 552 */,
/* 553 */,
/* 554 */,
/* 555 */,
/* 556 */,
/* 557 */,
/* 558 */,
/* 559 */,
/* 560 */,
/* 561 */,
/* 562 */,
/* 563 */,
/* 564 */
/***/ function(module, exports) {
"use strict";
'use strict';/**
* Convert array of 16 byte values to UUID string format of the form:
* XXXXXXXX-XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
*/var byteToHex=[];for(var i=0;i<256;++i){byteToHex[i]=(i+0x100).toString(16).substr(1);}function bytesToUuid(buf,offset){var i=offset||0;var bth=byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+'-'+bth[buf[i++]]+bth[buf[i++]]+'-'+bth[buf[i++]]+bth[buf[i++]]+'-'+bth[buf[i++]]+bth[buf[i++]]+'-'+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]];}module.exports=bytesToUuid;
/***/ },
/* 565 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {"use strict";// Unique ID creation requires a high quality random # generator. In the
// browser this is a little complicated due to unknown quality of Math.random()
// and inconsistent support for the `crypto` API. We do the best we can via
// feature-detection
var rng;var crypto=global.crypto||global.msCrypto;// for IE 11
if(crypto&&crypto.getRandomValues){// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
var rnds8=new Uint8Array(16);rng=function whatwgRNG(){crypto.getRandomValues(rnds8);return rnds8;};}if(!rng){// Math.random()-based (RNG)
//
// If all else fails, use Math.random(). It's fast, but is of unspecified
// quality.
var rnds=new Array(16);rng=function rng(){for(var i=0,r;i<16;i++){if((i&0x03)===0)r=Math.random()*0x100000000;rnds[i]=r>>>((i&0x03)<<3)&0xff;}return rnds;};}module.exports=rng;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))
/***/ },
/* 566 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var rng=__webpack_require__(565);var bytesToUuid=__webpack_require__(564);function v4(options,buf,offset){var i=buf&&offset||0;if(typeof options=='string'){buf=options=='binary'?new Array(16):null;options=null;}options=options||{};var rnds=options.random||(options.rng||rng)();// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
rnds[6]=rnds[6]&0x0f|0x40;rnds[8]=rnds[8]&0x3f|0x80;// Copy bytes to buffer, if provided
if(buf){for(var ii=0;ii<16;++ii){buf[i+ii]=rnds[ii];}}return buf||bytesToUuid(rnds);}module.exports=v4;
/***/ },
/* 567 */
/***/ function(module, exports) {
"use strict";
"use strict";var toString=Object.prototype.toString;module.exports=isString;function isString(obj){return toString.call(obj)==="[object String]";}
/***/ },
/* 568 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _semanticUiReact=__webpack_require__(80);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var Footer=function Footer(props){return _react2.default.createElement(_semanticUiReact.Segment,{basic:true,padded:true,textAlign:'center',as:'footer'},_react2.default.createElement('p',null,_react2.default.createElement('a',{href:'http://adamarthurryan.com'},'Adam Brown'),' | This website is ',_react2.default.createElement('a',{href:'https://github.com/adamarthurryan/dubdiff'},'open source'),'.'));};exports.default=Footer;
/***/ },
/* 569 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _semanticUiReact=__webpack_require__(80);var _reactRouter=__webpack_require__(84);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _SaveStatus=__webpack_require__(1180);var _SaveStatus2=_interopRequireDefault(_SaveStatus);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var mapStateToProps=function mapStateToProps(state){return{};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onReset:function onReset(){console.log(Actions.reset());dispatch(Actions.reset());}};};var SiteHeader=function SiteHeader(props){return _react2.default.createElement(_semanticUiReact.Segment,{basic:true},_react2.default.createElement(_semanticUiReact.Segment,{basic:true,padded:true,textAlign:'center',as:'header',id:'masthead'},_react2.default.createElement(_semanticUiReact.Header,null,_react2.default.createElement(_reactRouter.Link,{onClick:props.onReset},'dubdiff'))),_react2.default.createElement(_semanticUiReact.Rail,{internal:true,position:'right'},_react2.default.createElement(_semanticUiReact.Segment,{basic:true,padded:true},_react2.default.createElement(_SaveStatus2.default,null))));};exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(SiteHeader);
/***/ },
/* 570 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var Format=exports.Format={PLAINTEXT:'PLAINTEXT',MARKDOWN:'MARKDOWN'};var Show=exports.Show={ORIGINAL:'ORIGINAL',FINAL:'FINAL',DIFFERENCE:'DIFFERENCE'};var Status=exports.Status={INIT:'INIT',LOADING:'LOADING',EMPTY:'EMPTY',CLEAN:'CLEAN',DIRTY:'DIRTY',SAVING:'SAVING'};var StatusError=exports.StatusError={LOADING_ERROR:'LOAD_ERROR',SAVING_ERROR:'SAVE_ERROR'};
/***/ },
/* 571 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.plaintextDiff=plaintextDiff;exports.markdownDiff=markdownDiff;exports.diffToString=diffToString;exports.diffToHtml=diffToHtml;var _diff=__webpack_require__(322);var JsDiff=_interopRequireWildcard(_diff);var _EditorsDiff=__webpack_require__(1183);var _EditorsDiff2=_interopRequireDefault(_EditorsDiff);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}}var plaintextDiffer=new _EditorsDiff2.default();var markdownDiffer=new _EditorsDiff2.default(/([\s,.:]|[*\[\]\(\)])/);//returns a comparison of the texts as plaintext
function plaintextDiff(original,final){var diff=plaintextDiffer.diff(original,final);return diff;}//returns a comparison of the texts as markdown
function markdownDiff(original,final){var diff=markdownDiffer.diff(original,final);diff=rewriteMarkdownDiff(diff);return diff;}// returns a string version of the diff, with "{+ ... +}" and "[- ... -]"
// representing ins and del blocks
function diffToString(diff){var tags=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{added:{start:'{+',end:'+}'},removed:{start:'[-',end:'-]'},same:{start:'',end:''}};return diff.map(function(_ref){var added=_ref.added,removed=_ref.removed,value=_ref.value;var _ref2=added?tags.added:removed?tags.removed:tags.same,start=_ref2.start,end=_ref2.end;var string=value;if(Array.isArray(value))string=value.join('');return start+string+end;}).join('');}function diffToHtml(diff){return diffToString(diff,{added:{start:'<ins>',end:'</ins>'},removed:{start:'<del>',end:'</del>'},same:{start:'',end:''}});}// Rewrites the given diff to correctly render as markdown, assuming the source
// documents were also valid markdown.
// In essence, moves the markdown formatting elements in or out of the inserted and deleted blocks, as appropriate
//rules:
// 1. if a multiline del block is followed by an ins block,
// the first line of the ins block should be inserted at the end of the first line of the del block
// so the markdown will apply to the ins text as it should
// 2. after a newline, if an ins or del block begins with a markdown line formatting prefix (eg. for a title or list)
// then that prefix should be moved out of the block
//not yet implemented rules:
// 3. if an ins or del block spans one half of a bold, italic or link string
// eg. **Hello <del>World** I</del><ins>Darling** she</ins> said
// the block should be broken up to move the formatting code outside
// OR the whole formatting string could be brought into the block
// eg. **Hello <del>World</del><ins>Darling</ins>** <ins>I</ins><del>she</del> said
function rewriteMarkdownDiff(diff){//apply transformation rules
var transformedDiff=diff;transformedDiff=applyTransformationRule1(transformedDiff);transformedDiff=applyTransformationRule2(transformedDiff);return transformedDiff;}//Transformation rule 1
// 1. if a multiline del block is followed by an ins block,
// the first line of the ins block should be inserted at the end of the first line of the del block
// so the markdown will apply to the ins text as it should
function applyTransformationRule1(diff){var transformedDiff=[];var B_ADDED='added',B_REMOVED='removed',B_SAME='same';var previousBlockType=null;var currentBlockType=null;var previousBlockWasMultiline=false;var currentBlockIsMultiline=false;//iterate the input tokens to create the intermediate representation
diff.forEach(function(currentBlock){previousBlockType=currentBlockType;previousBlockWasMultiline=currentBlockIsMultiline;currentBlockType=currentBlock.added?B_ADDED:currentBlock.removed?B_REMOVED:B_SAME;currentBlockIsMultiline=isMultilineDiffBlock(currentBlock);//transform rule 1 applys when:
// the previous block was a del and had multiple lines
// the current block is an ins
if(previousBlockType==B_REMOVED&&currentBlockType==B_ADDED&&previousBlockWasMultiline){//split the first line from the current block
var currentBlockSplit=splitMultilineDiffBlock(currentBlock);//pop the previous diff entry
var previousBlock=transformedDiff.pop();//split the first line from the previous block
var previousBlockSplit=splitMultilineDiffBlock(previousBlock);//now add the blocks back, interleaving del and ins blocks
for(var i=0;i<Math.max(previousBlockSplit.length,currentBlockSplit.length);i++){if(i<previousBlockSplit.length)transformedDiff.push(previousBlockSplit[i]);if(i<currentBlockSplit.length)transformedDiff.push(currentBlockSplit[i]);}}else{//otherwise, we just add the current block to the transformed list
transformedDiff.push(currentBlock);}});return transformedDiff;}// matches markdown prefixes that affect the formatting of the whole subsequent line
// ^ - start of line
// ([ \t]*\>)* - blockquotes (possibly nested)
// (
// ([ \t]*#*) - headers
// |([ \t]+[\*\+-]) - unordered lists
// |([ \t]+[0-9]+\.) - numeric lists
// )?
// [ \t]* - trailing whitespace
var MARKDOWN_PREFIX=/^([ \t]*\>)*(([ \t]*#*)|([ \t]*[\*\+-])|([ \t]*[\d]+\.))?[ \t]*/;//matches strings that end with a newline followed by some whitespace
var NEWLINE_SUFFIX=/\n\s*$/;// transformation rule 2:
// after a newline, if an ins or del block begins with a markdown line formatting prefix (eg. for a title or list)
// then that prefix should be moved out of the block
// also, if an ins block begins with a formatting prefix and follows immediately after a del block that follows a newline,
// the prefix should be moved out of the block _and_ an extra newline character should be added to the beginning of it
function applyTransformationRule2(diff){var transformedDiff=[];var isNewline=true;var newlineString='\n';//iterate the input tokens to create the intermediate representation
diff.forEach(function(currentBlock){if(isNewline&&(currentBlock.added||currentBlock.removed)){var match=currentBlock.value.match(MARKDOWN_PREFIX);if(match){var preBlock={value:match[0]};var postBlock={added:currentBlock.added,removed:currentBlock.removed,value:currentBlock.value.substring(match[0].length)};if(currentBlock.added){var newlineBlock={value:newlineString};transformedDiff.push(newlineBlock);}transformedDiff.push(preBlock);transformedDiff.push(postBlock);}else{transformedDiff.push(currentBlock);}}else{transformedDiff.push(currentBlock);isNewline=NEWLINE_SUFFIX.test(currentBlock.value);if(isNewline)newlineString=currentBlock.value.match(NEWLINE_SUFFIX)[0];}});return transformedDiff;}//returns true if the given diff block contains a newline element
function isMultilineDiffBlock(_ref3){var value=_ref3.value;return value.indexOf('\n')!=-1;}//returns an array of diff blocks that have the same added, removed fields as the given one
//but with the string split by newlines
//if the diff block has no newlines, an array containing only that diff will be returned
//if the diff block has newlines, the resulting array will have a series of blocks,
// each of which subsequent to the first block will begin with a newline
//if the diff block begins with a newline, the returned array will begin with an empty diff
function splitMultilineDiffBlock(_ref4){var added=_ref4.added,removed=_ref4.removed,value=_ref4.value;//find the indices of the diff block that coorespond to newlines
var splits=indicesOf(value,function(c){return c=='\n';});splits.push(value.length);//create a range from each index
var ranges=splits.reduce(//the accumulator is a structure with the last index and the list of ranges
//the ranges are a {start, end} structure
function(_ref5,i){var last=_ref5.last,ranges=_ref5.ranges;ranges=ranges.concat([{start:last,end:i}]);return{last:i,ranges:ranges};},//start with the zero index and an empty array
{last:0,ranges:[]}).ranges;//map the ranges into blocks
var blocks=ranges.map(//each block is the same as the given original block, but with the values split at newlines
function(_ref6){var start=_ref6.start,end=_ref6.end;return{added:added,removed:removed,value:value.substring(start,end)};});//console.log({value, splits, ranges, blocks})
return blocks;}//collect all the indices of the given string that satisfy the test function
var indicesOf=function indicesOf(string,test){return string.split('').reduce(//add indexes that satisfy the test function to the array
function(acc,x,i){return test(x)?acc.concat([i]):acc;},//start with the empty array
[]);};
/***/ },
/* 572 */
/***/ function(module, exports) {
"use strict";
'use strict';exports.__esModule=true;function createThunkMiddleware(extraArgument){return function(_ref){var dispatch=_ref.dispatch;var getState=_ref.getState;return function(next){return function(action){if(typeof action==='function'){return action(dispatch,getState,extraArgument);}return next(action);};};};}var thunk=createThunkMiddleware();thunk.withExtraArgument=createThunkMiddleware;exports['default']=thunk;
/***/ },
/* 573 */,
/* 574 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.input=input;exports.format=format;exports.show=show;exports.status=status;var _constants=__webpack_require__(570);function input(state,action){switch(action.type){case'UPDATE_ORIGINAL_INPUT':return Object.assign({},state,{original:action.data});case'UPDATE_FINAL_INPUT':return Object.assign({},state,{final:action.data});case'CLEAR_INPUT':return{original:'',final:''};default:return state||{original:'',final:''};}}function format(state,action){switch(action.type){case'SET_PLAINTEXT_FORMAT':return _constants.Format.PLAINTEXT;case'SET_MARKDOWN_FORMAT':return _constants.Format.MARKDOWN;default:return state||_constants.Format.PLAINTEXT;}}function show(state,action){switch(action.type){case'SHOW_ORIGINAL':return _constants.Show.ORIGINAL;case'SHOW_FINAL':return _constants.Show.FINAL;case'SHOW_DIFFERENCE':return _constants.Show.DIFFERENCE;default:return state||_constants.Show.DIFFERENCE;}}/*
export function saveStatus (state, action) {
switch (action.type) {
case 'SAVE_STATUS_DIRTY':
return {dirty: true}
case 'SAVE_STATUS_EMPTY':
return {dirty: false, empty: true}
case 'SAVE_STATUS_SAVED':
return {dirty: false, saved: true}
case 'SAVE_STATUS_FAILED' :
return Object.assign({}, state, {waiting: false, failed: true, error: action.error})
case 'SAVE_STATUS_WAITING' :
return Object.assign({}, state, {waiting: true, failed: false, error: null})
default:
return state || {empty: true, dirty:false}
}
}
*///tracks status of the app, especially with respect to loaded and saved user data
function status(state,action){//the status or error type is valid if it is in the list of Status or StatusError types
var isValidStatus=function isValidStatus(type){return _constants.Status[type]==type;};var isValidError=function isValidError(type){return _constants.StatusError[type]==type;};//the error is cleared when status changes
if(action.type=='STATUS_SET'&&isValidStatus(action.data))return{type:action.data,error:null,hasError:false,errorType:null};//the error is set in addition to the status
else if(action.type=='STATUS_SET_ERROR'&&isValidError(action.data))return Object.assign({},state,{error:action.error,hasError:true,errorType:action.data});else return{type:_constants.Status.EMPTY,hasError:false,error:null};}
/***/ },
/* 575 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _reactRouter=__webpack_require__(84);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _Main=__webpack_require__(1178);var _Main2=_interopRequireDefault(_Main);var _Compare=__webpack_require__(1176);var _Compare2=_interopRequireDefault(_Compare);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var routes=[_react2.default.createElement(_reactRouter.Route,{key:'root',path:'/',component:_Main2.default}),_react2.default.createElement(_reactRouter.Route,{key:'compare',path:'/:compareId',component:_Compare2.default})];exports.default=routes;
/***/ },
/* 576 */,
/* 577 */,
/* 578 */,
/* 579 */,
/* 580 */,
/* 581 */,
/* 582 */,
/* 583 */,
/* 584 */,
/* 585 */,
/* 586 */,
/* 587 */,
/* 588 */,
/* 589 */,
/* 590 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module bail
* @fileoverview Throw a given error.
*/'use strict';/* Expose. */module.exports=bail;/**
* Throw a given error.
*
* @example
* bail();
*
* @example
* bail(new Error('failure'));
* // Error: failure
* // at repl:1:6
* // at REPLServer.defaultEval (repl.js:154:27)
* // ...
*
* @param {Error?} [err] - Optional error.
* @throws {Error} - `err`, when given.
*/function bail(err){if(err){throw err;}}
/***/ },
/* 591 */,
/* 592 */,
/* 593 */,
/* 594 */,
/* 595 */,
/* 596 */,
/* 597 */,
/* 598 */,
/* 599 */,
/* 600 */,
/* 601 */,
/* 602 */,
/* 603 */,
/* 604 */,
/* 605 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module collapse-white-space
* @fileoverview Replace multiple white-space characters
* with a single space.
*/'use strict';/* Expose. */module.exports=collapse;/**
* Replace multiple white-space characters with a single space.
*
* @example
* collapse(' \t\nbar \nbaz\t'); // ' bar baz '
*
* @param {string} value - Value with uncollapsed white-space,
* coerced to string.
* @return {string} - Value with collapsed white-space.
*/function collapse(value){return String(value).replace(/\s+/g,' ');}
/***/ },
/* 606 */,
/* 607 */,
/* 608 */,
/* 609 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* This is the web browser implementation of `debug()`.
*
* Expose `debug()` as the module.
*/exports=module.exports=__webpack_require__(610);exports.log=log;exports.formatArgs=formatArgs;exports.save=save;exports.load=load;exports.useColors=useColors;exports.storage='undefined'!=typeof chrome&&'undefined'!=typeof chrome.storage?chrome.storage.local:localstorage();/**
* Colors.
*/exports.colors=['lightseagreen','forestgreen','goldenrod','dodgerblue','darkorchid','crimson'];/**
* Currently only WebKit-based Web Inspectors, Firefox >= v31,
* and the Firebug extension (any Firefox version) are known
* to support "%c" CSS customizations.
*
* TODO: add a `localStorage` variable to explicitly enable/disable colors
*/function useColors(){// is webkit? http://stackoverflow.com/a/16459606/376773
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
return typeof document!=='undefined'&&'WebkitAppearance'in document.documentElement.style||// is firebug? http://stackoverflow.com/a/398120/376773
window.console&&(console.firebug||console.exception&&console.table)||// is firefox >= v31?
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31;}/**
* Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
*/exports.formatters.j=function(v){try{return JSON.stringify(v);}catch(err){return'[UnexpectedJSONParseError]: '+err.message;}};/**
* Colorize log arguments if enabled.
*
* @api public
*/function formatArgs(){var args=arguments;var useColors=this.useColors;args[0]=(useColors?'%c':'')+this.namespace+(useColors?' %c':' ')+args[0]+(useColors?'%c ':' ')+'+'+exports.humanize(this.diff);if(!useColors)return args;var c='color: '+this.color;args=[args[0],c,'color: inherit'].concat(Array.prototype.slice.call(args,1));// the final "%c" is somewhat tricky, because there could be other
// arguments passed either before or after the %c, so we need to
// figure out the correct index to insert the CSS into
var index=0;var lastC=0;args[0].replace(/%[a-z%]/g,function(match){if('%%'===match)return;index++;if('%c'===match){// we only are interested in the *last* %c
// (the user may have provided their own)
lastC=index;}});args.splice(lastC,0,c);return args;}/**
* Invokes `console.log()` when available.
* No-op when `console.log` is not a "function".
*
* @api public
*/function log(){// this hackery is required for IE8/9, where
// the `console.log` function doesn't have 'apply'
return'object'===(typeof console==='undefined'?'undefined':_typeof(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}/**
* Save `namespaces`.
*
* @param {String} namespaces
* @api private
*/function save(namespaces){try{if(null==namespaces){exports.storage.removeItem('debug');}else{exports.storage.debug=namespaces;}}catch(e){}}/**
* Load `namespaces`.
*
* @return {String} returns the previously persisted debug modes
* @api private
*/function load(){var r;try{return exports.storage.debug;}catch(e){}// If debug isn't set in LS, and we're in Electron, try to load $DEBUG
if(typeof process!=='undefined'&&'env'in process){return process.env.DEBUG;}}/**
* Enable namespaces listed in `localStorage.debug` initially.
*/exports.enable(load());/**
* Localstorage attempts to return the localstorage.
*
* This is necessary because safari throws
* when a user disables cookies/localstorage
* and you attempt to access it.
*
* @return {LocalStorage}
* @api private
*/function localstorage(){try{return window.localStorage;}catch(e){}}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 610 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';/**
* This is the common logic for both the Node.js and web browser
* implementations of `debug()`.
*
* Expose `debug()` as the module.
*/exports=module.exports=debug.debug=debug;exports.coerce=coerce;exports.disable=disable;exports.enable=enable;exports.enabled=enabled;exports.humanize=__webpack_require__(885);/**
* The currently active debug mode names, and names to skip.
*/exports.names=[];exports.skips=[];/**
* Map of special "%n" handling functions, for the debug "format" argument.
*
* Valid key names are a single, lowercased letter, i.e. "n".
*/exports.formatters={};/**
* Previously assigned color.
*/var prevColor=0;/**
* Previous log timestamp.
*/var prevTime;/**
* Select a color.
*
* @return {Number}
* @api private
*/function selectColor(){return exports.colors[prevColor++%exports.colors.length];}/**
* Create a debugger with the given `namespace`.
*
* @param {String} namespace
* @return {Function}
* @api public
*/function debug(namespace){// define the `disabled` version
function disabled(){}disabled.enabled=false;// define the `enabled` version
function enabled(){var self=enabled;// set `diff` timestamp
var curr=+new Date();var ms=curr-(prevTime||curr);self.diff=ms;self.prev=prevTime;self.curr=curr;prevTime=curr;// add the `color` if not set
if(null==self.useColors)self.useColors=exports.useColors();if(null==self.color&&self.useColors)self.color=selectColor();var args=new Array(arguments.length);for(var i=0;i<args.length;i++){args[i]=arguments[i];}args[0]=exports.coerce(args[0]);if('string'!==typeof args[0]){// anything else let's inspect with %o
args=['%o'].concat(args);}// apply any `formatters` transformations
var index=0;args[0]=args[0].replace(/%([a-z%])/g,function(match,format){// if we encounter an escaped % then don't increase the array index
if(match==='%%')return match;index++;var formatter=exports.formatters[format];if('function'===typeof formatter){var val=args[index];match=formatter.call(self,val);// now we need to remove `args[index]` since it's inlined in the `format`
args.splice(index,1);index--;}return match;});// apply env-specific formatting
args=exports.formatArgs.apply(self,args);var logFn=enabled.log||exports.log||console.log.bind(console);logFn.apply(self,args);}enabled.enabled=true;var fn=exports.enabled(namespace)?enabled:disabled;fn.namespace=namespace;return fn;}/**
* Enables a debug mode by namespaces. This can include modes
* separated by a colon and wildcards.
*
* @param {String} namespaces
* @api public
*/function enable(namespaces){exports.save(namespaces);var split=(namespaces||'').split(/[\s,]+/);var len=split.length;for(var i=0;i<len;i++){if(!split[i])continue;// ignore empty strings
namespaces=split[i].replace(/[\\^$+?.()|[\]{}]/g,'\\$&').replace(/\*/g,'.*?');if(namespaces[0]==='-'){exports.skips.push(new RegExp('^'+namespaces.substr(1)+'$'));}else{exports.names.push(new RegExp('^'+namespaces+'$'));}}}/**
* Disable debug output.
*
* @api public
*/function disable(){exports.enable('');}/**
* Returns true if the given mode name is enabled, false otherwise.
*
* @param {String} name
* @return {Boolean}
* @api public
*/function enabled(name){var i,len;for(i=0,len=exports.skips.length;i<len;i++){if(exports.skips[i].test(name)){return false;}}for(i=0,len=exports.names.length;i<len;i++){if(exports.names[i].test(name)){return true;}}return false;}/**
* Coerce `val`.
*
* @param {Mixed} val
* @return {Mixed}
* @api private
*/function coerce(val){if(val instanceof Error)return val.stack||val.message;return val;}
/***/ },
/* 611 */,
/* 612 */,
/* 613 */,
/* 614 */,
/* 615 */,
/* 616 */,
/* 617 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/"use strict";exports.__esModule=true;exports./*istanbul ignore end*/convertChangesToDMP=convertChangesToDMP;// See: http://code.google.com/p/google-diff-match-patch/wiki/API
function convertChangesToDMP(changes){var ret=[],change=/*istanbul ignore start*/void 0/*istanbul ignore end*/,operation=/*istanbul ignore start*/void 0/*istanbul ignore end*/;for(var i=0;i<changes.length;i++){change=changes[i];if(change.added){operation=1;}else if(change.removed){operation=-1;}else{operation=0;}ret.push([operation,change.value]);}return ret;}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb252ZXJ0L2RtcC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkZBQ2dCLEEsb0JBQUEsQTtBQUFULFFBQVMsQUFBVCxxQkFBNkIsQUFBN0IsUUFBc0MsQUFDM0MsSUFBSSxLQUFNLEFBQVYsR0FDSSxPLHlCQUFBLEksRUFESix3QkFFSSxVLHlCQUFBLEksRUFGSixBQUdBLDRCQUFLLEdBQUksR0FBSSxBQUFiLEVBQWdCLEVBQUksUUFBUSxBQUE1QixPQUFvQyxBQUFwQyxJQUF5QyxBQUN2QyxRQUFTLFFBQVEsQUFBUixBQUFULEFBQ0EsTUFBSSxPQUFPLEFBQVgsTUFBa0IsQUFDaEIsV0FBWSxBQUFaLEFBQ0QsRUFGRCxLQUVPLElBQUksT0FBTyxBQUFYLFFBQW9CLEFBQ3pCLFdBQVksQ0FBQyxBQUFiLEFBQ0QsRUFGTSxLQUVBLEFBQ0wsV0FBWSxBQUFaLEFBQ0QsRUFFRCxLQUFJLEFBQUosS0FBUyxDQUFDLEFBQUQsVUFBWSxPQUFPLEFBQW5CLEFBQVQsQUFDRCxRQUNELE9BQU8sQUFBUCxBQUNEIiwiZmlsZSI6ImRtcC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIFNlZTogaHR0cDovL2NvZGUuZ29vZ2xlLmNvbS9wL2dvb2dsZS1kaWZmLW1hdGNoLXBhdGNoL3dpa2kvQVBJXG5leHBvcnQgZnVuY3Rpb24gY29udmVydENoYW5nZXNUb0RNUChjaGFuZ2VzKSB7XG4gIGxldCByZXQgPSBbXSxcbiAgICAgIGNoYW5nZSxcbiAgICAgIG9wZXJhdGlvbjtcbiAgZm9yIChsZXQgaSA9IDA7IGkgPCBjaGFuZ2VzLmxlbmd0aDsgaSsrKSB7XG4gICAgY2hhbmdlID0gY2hhbmdlc1tpXTtcbiAgICBpZiAoY2hhbmdlLmFkZGVkKSB7XG4gICAgICBvcGVyYXRpb24gPSAxO1xuICAgIH0gZWxzZSBpZiAoY2hhbmdlLnJlbW92ZWQpIHtcbiAgICAgIG9wZXJhdGlvbiA9IC0xO1xuICAgIH0gZWxzZSB7XG4gICAgICBvcGVyYXRpb24gPSAwO1xuICAgIH1cblxuICAgIHJldC5wdXNoKFtvcGVyYXRpb24sIGNoYW5nZS52YWx1ZV0pO1xuICB9XG4gIHJldHVybiByZXQ7XG59XG4iXX0=
/***/ },
/* 618 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports./*istanbul ignore end*/convertChangesToXML=convertChangesToXML;function convertChangesToXML(changes){var ret=[];for(var i=0;i<changes.length;i++){var change=changes[i];if(change.added){ret.push('<ins>');}else if(change.removed){ret.push('<del>');}ret.push(escapeHTML(change.value));if(change.added){ret.push('</ins>');}else if(change.removed){ret.push('</del>');}}return ret.join('');}function escapeHTML(s){var n=s;n=n.replace(/&/g,'&amp;');n=n.replace(/</g,'&lt;');n=n.replace(/>/g,'&gt;');n=n.replace(/"/g,'&quot;');return n;}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb252ZXJ0L3htbC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkZBQWdCLEEsb0JBQUEsQSxvQkFBVCxRQUFTLEFBQVQscUJBQTZCLEFBQTdCLFFBQXNDLEFBQzNDLElBQUksS0FBTSxBQUFWLEFBQ0EsT0FBSyxHQUFJLEdBQUksQUFBYixFQUFnQixFQUFJLFFBQVEsQUFBNUIsT0FBb0MsQUFBcEMsSUFBeUMsQUFDdkMsSUFBSSxRQUFTLFFBQVEsQUFBUixBQUFiLEFBQ0EsTUFBSSxPQUFPLEFBQVgsTUFBa0IsQUFDaEIsS0FBSSxBQUFKLEtBQVMsQUFBVCxBQUNELFNBRkQsS0FFTyxJQUFJLE9BQU8sQUFBWCxRQUFvQixBQUN6QixLQUFJLEFBQUosS0FBUyxBQUFULEFBQ0QsU0FFRCxLQUFJLEFBQUosS0FBUyxXQUFXLE9BQU8sQUFBbEIsQUFBVCxBQUVBLFdBQUksT0FBTyxBQUFYLE1BQWtCLEFBQ2hCLEtBQUksQUFBSixLQUFTLEFBQVQsQUFDRCxVQUZELEtBRU8sSUFBSSxPQUFPLEFBQVgsUUFBb0IsQUFDekIsS0FBSSxBQUFKLEtBQVMsQUFBVCxBQUNELFVBQ0YsQ0FDRCxPQUFPLEtBQUksQUFBSixLQUFTLEFBQVQsQUFBUCxBQUNELEtBRUQsUUFBUyxBQUFULFlBQW9CLEFBQXBCLEVBQXVCLEFBQ3JCLElBQUksR0FBSSxBQUFSLEFBQ0EsSUFBSSxFQUFFLEFBQUYsUUFBVSxBQUFWLEtBQWdCLEFBQWhCLEFBQUosQUFDQSxXQUFJLEVBQUUsQUFBRixRQUFVLEFBQVYsS0FBZ0IsQUFBaEIsQUFBSixBQUNBLFVBQUksRUFBRSxBQUFGLFFBQVUsQUFBVixLQUFnQixBQUFoQixBQUFKLEFBQ0EsVUFBSSxFQUFFLEFBQUYsUUFBVSxBQUFWLEtBQWdCLEFBQWhCLEFBQUosQUFFQSxnQkFBTyxBQUFQLEFBQ0QiLCJmaWxlIjoieG1sLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGNvbnZlcnRDaGFuZ2VzVG9YTUwoY2hhbmdlcykge1xuICBsZXQgcmV0ID0gW107XG4gIGZvciAobGV0IGkgPSAwOyBpIDwgY2hhbmdlcy5sZW5ndGg7IGkrKykge1xuICAgIGxldCBjaGFuZ2UgPSBjaGFuZ2VzW2ldO1xuICAgIGlmIChjaGFuZ2UuYWRkZWQpIHtcbiAgICAgIHJldC5wdXNoKCc8aW5zPicpO1xuICAgIH0gZWxzZSBpZiAoY2hhbmdlLnJlbW92ZWQpIHtcbiAgICAgIHJldC5wdXNoKCc8ZGVsPicpO1xuICAgIH1cblxuICAgIHJldC5wdXNoKGVzY2FwZUhUTUwoY2hhbmdlLnZhbHVlKSk7XG5cbiAgICBpZiAoY2hhbmdlLmFkZGVkKSB7XG4gICAgICByZXQucHVzaCgnPC9pbnM+Jyk7XG4gICAgfSBlbHNlIGlmIChjaGFuZ2UucmVtb3ZlZCkge1xuICAgICAgcmV0LnB1c2goJzwvZGVsPicpO1xuICAgIH1cbiAgfVxuICByZXR1cm4gcmV0LmpvaW4oJycpO1xufVxuXG5mdW5jdGlvbiBlc2NhcGVIVE1MKHMpIHtcbiAgbGV0IG4gPSBzO1xuICBuID0gbi5yZXBsYWNlKC8mL2csICcmYW1wOycpO1xuICBuID0gbi5yZXBsYWNlKC88L2csICcmbHQ7Jyk7XG4gIG4gPSBuLnJlcGxhY2UoLz4vZywgJyZndDsnKTtcbiAgbiA9IG4ucmVwbGFjZSgvXCIvZywgJyZxdW90OycpO1xuXG4gIHJldHVybiBuO1xufVxuIl19
/***/ },
/* 619 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.arrayDiff=undefined;exports./*istanbul ignore end*/diffArrays=diffArrays;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var arrayDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/arrayDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;arrayDiff.tokenize=arrayDiff.join=function(value){return value.slice();};function diffArrays(oldArr,newArr,callback){return arrayDiff.diff(oldArr,newArr,callback);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2FycmF5LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJ5SEFPZ0IsQSxXQUFBLEEsV0FQaEIsRyx5QkFBQSxjLFNBQUEsc01BRU8sR0FBTSxXLHlCQUFBLEEsK0JBQUEsVUFBWSxHLHlCQUFBLE8sWUFBbEIsd0JBQ1AsVUFBVSxBQUFWLFNBQXFCLFVBQVUsQUFBVixLQUFpQixTQUFTLEFBQVQsTUFBZ0IsQUFDcEQsT0FBTyxPQUFNLEFBQU4sQUFBUCxBQUNELFFBRkQsRUFJTyxRQUFTLEFBQVQsWUFBb0IsQUFBcEIsT0FBNEIsQUFBNUIsT0FBb0MsQUFBcEMsU0FBOEMsQUFBRSxPQUFPLFdBQVUsQUFBVixLQUFlLEFBQWYsT0FBdUIsQUFBdkIsT0FBK0IsQUFBL0IsQUFBUCxBQUFrRCIsImZpbGUiOiJhcnJheS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5cbmV4cG9ydCBjb25zdCBhcnJheURpZmYgPSBuZXcgRGlmZigpO1xuYXJyYXlEaWZmLnRva2VuaXplID0gYXJyYXlEaWZmLmpvaW4gPSBmdW5jdGlvbih2YWx1ZSkge1xuICByZXR1cm4gdmFsdWUuc2xpY2UoKTtcbn07XG5cbmV4cG9ydCBmdW5jdGlvbiBkaWZmQXJyYXlzKG9sZEFyciwgbmV3QXJyLCBjYWxsYmFjaykgeyByZXR1cm4gYXJyYXlEaWZmLmRpZmYob2xkQXJyLCBuZXdBcnIsIGNhbGxiYWNrKTsgfVxuIl19
/***/ },
/* 620 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.characterDiff=undefined;exports./*istanbul ignore end*/diffChars=diffChars;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var characterDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/characterDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;function diffChars(oldStr,newStr,callback){return characterDiff.diff(oldStr,newStr,callback);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2NoYXJhY3Rlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkhBR2dCLEEsVUFBQSxBLFVBSGhCLEcseUJBQUEsYyxTQUFBLHNNQUVPLEdBQU0sZSx5QkFBQSxBLCtCQUFBLGNBQWdCLEcseUJBQUEsTyxZQUF0Qix3QkFDQSxRQUFTLEFBQVQsV0FBbUIsQUFBbkIsT0FBMkIsQUFBM0IsT0FBbUMsQUFBbkMsU0FBNkMsQUFBRSxPQUFPLGVBQWMsQUFBZCxLQUFtQixBQUFuQixPQUEyQixBQUEzQixPQUFtQyxBQUFuQyxBQUFQLEFBQXNEIiwiZmlsZSI6ImNoYXJhY3Rlci5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5cbmV4cG9ydCBjb25zdCBjaGFyYWN0ZXJEaWZmID0gbmV3IERpZmYoKTtcbmV4cG9ydCBmdW5jdGlvbiBkaWZmQ2hhcnMob2xkU3RyLCBuZXdTdHIsIGNhbGxiYWNrKSB7IHJldHVybiBjaGFyYWN0ZXJEaWZmLmRpZmYob2xkU3RyLCBuZXdTdHIsIGNhbGxiYWNrKTsgfVxuIl19
/***/ },
/* 621 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.cssDiff=undefined;exports./*istanbul ignore end*/diffCss=diffCss;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var cssDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/cssDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;cssDiff.tokenize=function(value){return value.split(/([{}:;,]|\s+)/);};function diffCss(oldStr,newStr,callback){return cssDiff.diff(oldStr,newStr,callback);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2Nzcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoidUhBT2dCLEEsUUFBQSxBLFFBUGhCLEcseUJBQUEsYyxTQUFBLHNNQUVPLEdBQU0sUyx5QkFBQSxBLCtCQUFBLFFBQVUsRyx5QkFBQSxPLFlBQWhCLHdCQUNQLFFBQVEsQUFBUixTQUFtQixTQUFTLEFBQVQsTUFBZ0IsQUFDakMsT0FBTyxPQUFNLEFBQU4sTUFBWSxBQUFaLEFBQVAsQUFDRCxpQkFGRCxFQUlPLFFBQVMsQUFBVCxTQUFpQixBQUFqQixPQUF5QixBQUF6QixPQUFpQyxBQUFqQyxTQUEyQyxBQUFFLE9BQU8sU0FBUSxBQUFSLEtBQWEsQUFBYixPQUFxQixBQUFyQixPQUE2QixBQUE3QixBQUFQLEFBQWdEIiwiZmlsZSI6ImNzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5cbmV4cG9ydCBjb25zdCBjc3NEaWZmID0gbmV3IERpZmYoKTtcbmNzc0RpZmYudG9rZW5pemUgPSBmdW5jdGlvbih2YWx1ZSkge1xuICByZXR1cm4gdmFsdWUuc3BsaXQoLyhbe306OyxdfFxccyspLyk7XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gZGlmZkNzcyhvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spIHsgcmV0dXJuIGNzc0RpZmYuZGlmZihvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spOyB9XG4iXX0=
/***/ },
/* 622 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';/*istanbul ignore start*/var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/*istanbul ignore end*/exports.__esModule=true;exports.jsonDiff=undefined;var _typeof=typeof Symbol==="function"&&/*istanbul ignore start*/_typeof2(/*istanbul ignore end*/Symbol.iterator)==="symbol"?function(obj){return(/*istanbul ignore start*/typeof/*istanbul ignore end*/obj==="undefined"?"undefined":_typeof2(obj));}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol?"symbol":/*istanbul ignore start*/typeof/*istanbul ignore end*/obj==="undefined"?"undefined":_typeof2(obj);};exports./*istanbul ignore end*/diffJson=diffJson;/*istanbul ignore start*/exports./*istanbul ignore end*/canonicalize=canonicalize;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);/*istanbul ignore end*/var/*istanbul ignore start*/_line=__webpack_require__(205)/*istanbul ignore end*/;/*istanbul ignore start*/function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var objectPrototypeToString=Object.prototype.toString;var jsonDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/jsonDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
jsonDiff.useLongestToken=true;jsonDiff.tokenize=/*istanbul ignore start*/_line.lineDiff./*istanbul ignore end*/tokenize;jsonDiff.castInput=function(value){return typeof value==='string'?value:JSON.stringify(canonicalize(value),undefined,' ');};jsonDiff.equals=function(left,right){return(/*istanbul ignore start*/_base2['default']./*istanbul ignore end*/prototype.equals(left.replace(/,([\r\n])/g,'$1'),right.replace(/,([\r\n])/g,'$1')));};function diffJson(oldObj,newObj,callback){return jsonDiff.diff(oldObj,newObj,callback);}// This function handles the presence of circular references by bailing out when encountering an
// object that is already on the "stack" of items being processed.
function canonicalize(obj,stack,replacementStack){stack=stack||[];replacementStack=replacementStack||[];var i=/*istanbul ignore start*/void 0/*istanbul ignore end*/;for(i=0;i<stack.length;i+=1){if(stack[i]===obj){return replacementStack[i];}}var canonicalizedObj=/*istanbul ignore start*/void 0/*istanbul ignore end*/;if('[object Array]'===objectPrototypeToString.call(obj)){stack.push(obj);canonicalizedObj=new Array(obj.length);replacementStack.push(canonicalizedObj);for(i=0;i<obj.length;i+=1){canonicalizedObj[i]=canonicalize(obj[i],stack,replacementStack);}stack.pop();replacementStack.pop();return canonicalizedObj;}if(obj&&obj.toJSON){obj=obj.toJSON();}if(/*istanbul ignore start*/(typeof/*istanbul ignore end*/obj==='undefined'?'undefined':_typeof(obj))==='object'&&obj!==null){stack.push(obj);canonicalizedObj={};replacementStack.push(canonicalizedObj);var sortedKeys=[],key=/*istanbul ignore start*/void 0/*istanbul ignore end*/;for(key in obj){/* istanbul ignore else */if(obj.hasOwnProperty(key)){sortedKeys.push(key);}}sortedKeys.sort();for(i=0;i<sortedKeys.length;i+=1){key=sortedKeys[i];canonicalizedObj[key]=canonicalize(obj[key],stack,replacementStack);}stack.pop();replacementStack.pop();}else{canonicalizedObj=obj;}return canonicalizedObj;}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL2pzb24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6InEwQkFtQmdCLEEsU0FBQSxBLGlFQUtBLEEsYUFBQSxBLGFBeEJoQixHLHlCQUFBLGMsU0FBQSxpSEFDQSxHLHlCQUFBLGMsU0FBQSw2SkFFQSxHQUFNLHlCQUEwQixPQUFPLEFBQVAsVUFBaUIsQUFBakQsU0FHTyxHQUFNLFUseUJBQUEsQSwrQkFBQSxTQUFXLEcseUJBQUEsTyxZQUFqQjs7QUFHUCxTQUFTLEFBQVQsZ0JBQTJCLEFBQTNCLEtBRUEsU0FBUyxBQUFULFMseUJBQW9CLE0sZ0NBQVMsQUFBN0IsU0FDQSxTQUFTLEFBQVQsVUFBcUIsU0FBUyxBQUFULE1BQWdCLEFBQ25DLE9BQU8sT0FBTyxBQUFQLFNBQWlCLEFBQWpCLFNBQTRCLEFBQTVCLE1BQW9DLEtBQUssQUFBTCxVQUFlLGFBQWEsQUFBYixBQUFmLE9BQW9DLEFBQXBDLFVBQStDLEFBQS9DLEFBQTNDLEFBQ0QsTUFGRCxFQUdBLFNBQVMsQUFBVCxPQUFrQixTQUFTLEFBQVQsS0FBZSxBQUFmLE1BQXNCLEFBQ3RDLEMsZ0NBQU8sTyxrQ0FBSyxBQUFMLFVBQWUsQUFBZixPQUFzQixLQUFLLEFBQUwsUUFBYSxBQUFiLGFBQTJCLEFBQTNCLEFBQXRCLE1BQXdELE1BQU0sQUFBTixRQUFjLEFBQWQsYUFBNEIsQUFBNUIsQUFBeEQsQUFBUCxBQUNELFFBRkQsRUFJTyxRQUFTLEFBQVQsVUFBa0IsQUFBbEIsT0FBMEIsQUFBMUIsT0FBa0MsQUFBbEMsU0FBNEMsQUFBRSxPQUFPLFVBQVMsQUFBVCxLQUFjLEFBQWQsT0FBc0IsQUFBdEIsT0FBOEIsQUFBOUIsQUFBUCxBQUFpRDs7QUFLL0YsUUFBUyxBQUFULGNBQXNCLEFBQXRCLElBQTJCLEFBQTNCLE1BQWtDLEFBQWxDLGlCQUFvRCxBQUN6RCxPQUFRLE9BQVMsQUFBakIsQUFDQSxvQkFBbUIsa0JBQW9CLEFBQXZDLEFBRUEsTUFBSSxHLHlCQUFBLEksRUFBSixBQUVBLDRCQUFLLEVBQUksQUFBVCxFQUFZLEVBQUksTUFBTSxBQUF0QixPQUE4QixHQUFLLEFBQW5DLEVBQXNDLEFBQ3BDLElBQUksTUFBTSxBQUFOLEtBQWEsQUFBakIsSUFBc0IsQUFDcEIsT0FBTyxrQkFBaUIsQUFBakIsQUFBUCxBQUNELEdBQ0YsQ0FFRCxJQUFJLGtCLHlCQUFBLEksRUFBSixBQUVBLDJCQUFJLG1CQUFxQix3QkFBd0IsQUFBeEIsS0FBNkIsQUFBN0IsQUFBekIsS0FBNEQsQUFDMUQsT0FBTSxBQUFOLEtBQVcsQUFBWCxBQUNBLHNCQUFtQixHQUFJLEFBQUosT0FBVSxJQUFJLEFBQWQsQUFBbkIsQUFDQSx5QkFBaUIsQUFBakIsS0FBc0IsQUFBdEIsQUFDQSxzQkFBSyxFQUFJLEFBQVQsRUFBWSxFQUFJLElBQUksQUFBcEIsT0FBNEIsR0FBSyxBQUFqQyxFQUFvQyxBQUNsQyxrQkFBaUIsQUFBakIsR0FBc0IsYUFBYSxJQUFJLEFBQUosQUFBYixHQUFxQixBQUFyQixNQUE0QixBQUE1QixBQUF0QixBQUNELGtCQUNELE9BQU0sQUFBTixBQUNBLHVCQUFpQixBQUFqQixBQUNBLFlBQU8sQUFBUCxBQUNELGtCQUVELElBQUksS0FBTyxJQUFJLEFBQWYsT0FBdUIsQUFDckIsS0FBTSxJQUFJLEFBQUosQUFBTixBQUNELFNBRUQsQyw0QkFBSSxPLHVCQUFPLEFBQVAsc0NBQU8sQUFBUCxRQUFlLEFBQWYsVUFBMkIsTUFBUSxBQUF2QyxLQUE2QyxBQUMzQyxPQUFNLEFBQU4sS0FBVyxBQUFYLEFBQ0Esc0JBQW1CLEFBQW5CLEFBQ0Esb0JBQWlCLEFBQWpCLEtBQXNCLEFBQXRCLEFBQ0EscUJBQUksWUFBYSxBQUFqQixHQUNJLEkseUJBQUEsSSxFQURKLEFBRUEsNEJBQUssQUFBTCxNQUFZLEFBQVosS0FBaUIsQ0FFZiw2QkFBSSxJQUFJLEFBQUosZUFBbUIsQUFBbkIsQUFBSixLQUE2QixBQUMzQixZQUFXLEFBQVgsS0FBZ0IsQUFBaEIsQUFDRCxLQUNGLENBQ0QsWUFBVyxBQUFYLEFBQ0EsV0FBSyxFQUFJLEFBQVQsRUFBWSxFQUFJLFdBQVcsQUFBM0IsT0FBbUMsR0FBSyxBQUF4QyxFQUEyQyxBQUN6QyxLQUFNLFdBQVcsQUFBWCxBQUFOLEFBQ0Esb0JBQWlCLEFBQWpCLEtBQXdCLGFBQWEsSUFBSSxBQUFKLEFBQWIsS0FBdUIsQUFBdkIsTUFBOEIsQUFBOUIsQUFBeEIsQUFDRCxrQkFDRCxPQUFNLEFBQU4sQUFDQSx1QkFBaUIsQUFBakIsQUFDRCxNQW5CRCxLQW1CTyxBQUNMLGtCQUFtQixBQUFuQixBQUNELElBQ0QsT0FBTyxBQUFQLEFBQ0QiLCJmaWxlIjoianNvbi5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5pbXBvcnQge2xpbmVEaWZmfSBmcm9tICcuL2xpbmUnO1xuXG5jb25zdCBvYmplY3RQcm90b3R5cGVUb1N0cmluZyA9IE9iamVjdC5wcm90b3R5cGUudG9TdHJpbmc7XG5cblxuZXhwb3J0IGNvbnN0IGpzb25EaWZmID0gbmV3IERpZmYoKTtcbi8vIERpc2NyaW1pbmF0ZSBiZXR3ZWVuIHR3byBsaW5lcyBvZiBwcmV0dHktcHJpbnRlZCwgc2VyaWFsaXplZCBKU09OIHdoZXJlIG9uZSBvZiB0aGVtIGhhcyBhXG4vLyBkYW5nbGluZyBjb21tYSBhbmQgdGhlIG90aGVyIGRvZXNuJ3QuIFR1cm5zIG91dCBpbmNsdWRpbmcgdGhlIGRhbmdsaW5nIGNvbW1hIHlpZWxkcyB0aGUgbmljZXN0IG91dHB1dDpcbmpzb25EaWZmLnVzZUxvbmdlc3RUb2tlbiA9IHRydWU7XG5cbmpzb25EaWZmLnRva2VuaXplID0gbGluZURpZmYudG9rZW5pemU7XG5qc29uRGlmZi5jYXN0SW5wdXQgPSBmdW5jdGlvbih2YWx1ZSkge1xuICByZXR1cm4gdHlwZW9mIHZhbHVlID09PSAnc3RyaW5nJyA/IHZhbHVlIDogSlNPTi5zdHJpbmdpZnkoY2Fub25pY2FsaXplKHZhbHVlKSwgdW5kZWZpbmVkLCAnICAnKTtcbn07XG5qc29uRGlmZi5lcXVhbHMgPSBmdW5jdGlvbihsZWZ0LCByaWdodCkge1xuICByZXR1cm4gRGlmZi5wcm90b3R5cGUuZXF1YWxzKGxlZnQucmVwbGFjZSgvLChbXFxyXFxuXSkvZywgJyQxJyksIHJpZ2h0LnJlcGxhY2UoLywoW1xcclxcbl0pL2csICckMScpKTtcbn07XG5cbmV4cG9ydCBmdW5jdGlvbiBkaWZmSnNvbihvbGRPYmosIG5ld09iaiwgY2FsbGJhY2spIHsgcmV0dXJuIGpzb25EaWZmLmRpZmYob2xkT2JqLCBuZXdPYmosIGNhbGxiYWNrKTsgfVxuXG5cbi8vIFRoaXMgZnVuY3Rpb24gaGFuZGxlcyB0aGUgcHJlc2VuY2Ugb2YgY2lyY3VsYXIgcmVmZXJlbmNlcyBieSBiYWlsaW5nIG91dCB3aGVuIGVuY291bnRlcmluZyBhblxuLy8gb2JqZWN0IHRoYXQgaXMgYWxyZWFkeSBvbiB0aGUgXCJzdGFja1wiIG9mIGl0ZW1zIGJlaW5nIHByb2Nlc3NlZC5cbmV4cG9ydCBmdW5jdGlvbiBjYW5vbmljYWxpemUob2JqLCBzdGFjaywgcmVwbGFjZW1lbnRTdGFjaykge1xuICBzdGFjayA9IHN0YWNrIHx8IFtdO1xuICByZXBsYWNlbWVudFN0YWNrID0gcmVwbGFjZW1lbnRTdGFjayB8fCBbXTtcblxuICBsZXQgaTtcblxuICBmb3IgKGkgPSAwOyBpIDwgc3RhY2subGVuZ3RoOyBpICs9IDEpIHtcbiAgICBpZiAoc3RhY2tbaV0gPT09IG9iaikge1xuICAgICAgcmV0dXJuIHJlcGxhY2VtZW50U3RhY2tbaV07XG4gICAgfVxuICB9XG5cbiAgbGV0IGNhbm9uaWNhbGl6ZWRPYmo7XG5cbiAgaWYgKCdbb2JqZWN0IEFycmF5XScgPT09IG9iamVjdFByb3RvdHlwZVRvU3RyaW5nLmNhbGwob2JqKSkge1xuICAgIHN0YWNrLnB1c2gob2JqKTtcbiAgICBjYW5vbmljYWxpemVkT2JqID0gbmV3IEFycmF5KG9iai5sZW5ndGgpO1xuICAgIHJlcGxhY2VtZW50U3RhY2sucHVzaChjYW5vbmljYWxpemVkT2JqKTtcbiAgICBmb3IgKGkgPSAwOyBpIDwgb2JqLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICBjYW5vbmljYWxpemVkT2JqW2ldID0gY2Fub25pY2FsaXplKG9ialtpXSwgc3RhY2ssIHJlcGxhY2VtZW50U3RhY2spO1xuICAgIH1cbiAgICBzdGFjay5wb3AoKTtcbiAgICByZXBsYWNlbWVudFN0YWNrLnBvcCgpO1xuICAgIHJldHVybiBjYW5vbmljYWxpemVkT2JqO1xuICB9XG5cbiAgaWYgKG9iaiAmJiBvYmoudG9KU09OKSB7XG4gICAgb2JqID0gb2JqLnRvSlNPTigpO1xuICB9XG5cbiAgaWYgKHR5cGVvZiBvYmogPT09ICdvYmplY3QnICYmIG9iaiAhPT0gbnVsbCkge1xuICAgIHN0YWNrLnB1c2gob2JqKTtcbiAgICBjYW5vbmljYWxpemVkT2JqID0ge307XG4gICAgcmVwbGFjZW1lbnRTdGFjay5wdXNoKGNhbm9uaWNhbGl6ZWRPYmopO1xuICAgIGxldCBzb3J0ZWRLZXlzID0gW10sXG4gICAgICAgIGtleTtcbiAgICBmb3IgKGtleSBpbiBvYmopIHtcbiAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBlbHNlICovXG4gICAgICBpZiAob2JqLmhhc093blByb3BlcnR5KGtleSkpIHtcbiAgICAgICAgc29ydGVkS2V5cy5wdXNoKGtleSk7XG4gICAgICB9XG4gICAgfVxuICAgIHNvcnRlZEtleXMuc29ydCgpO1xuICAgIGZvciAoaSA9IDA7IGkgPCBzb3J0ZWRLZXlzLmxlbmd0aDsgaSArPSAxKSB7XG4gICAgICBrZXkgPSBzb3J0ZWRLZXlzW2ldO1xuICAgICAgY2Fub25pY2FsaXplZE9ialtrZXldID0gY2Fub25pY2FsaXplKG9ialtrZXldLCBzdGFjaywgcmVwbGFjZW1lbnRTdGFjayk7XG4gICAgfVxuICAgIHN0YWNrLnBvcCgpO1xuICAgIHJlcGxhY2VtZW50U3RhY2sucG9wKCk7XG4gIH0gZWxzZSB7XG4gICAgY2Fub25pY2FsaXplZE9iaiA9IG9iajtcbiAgfVxuICByZXR1cm4gY2Fub25pY2FsaXplZE9iajtcbn1cbiJdfQ==
/***/ },
/* 623 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.sentenceDiff=undefined;exports./*istanbul ignore end*/diffSentences=diffSentences;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/var sentenceDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/sentenceDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;sentenceDiff.tokenize=function(value){return value.split(/(\S.+?[.!?])(?=\s+|$)/);};function diffSentences(oldStr,newStr,callback){return sentenceDiff.diff(oldStr,newStr,callback);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL3NlbnRlbmNlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI0SEFRZ0IsQSxjQUFBLEEsY0FSaEIsRyx5QkFBQSxjLFNBQUEsc01BR08sR0FBTSxjLHlCQUFBLEEsK0JBQUEsYUFBZSxHLHlCQUFBLE8sWUFBckIsd0JBQ1AsYUFBYSxBQUFiLFNBQXdCLFNBQVMsQUFBVCxNQUFnQixBQUN0QyxPQUFPLE9BQU0sQUFBTixNQUFZLEFBQVosQUFBUCxBQUNELHlCQUZELEVBSU8sUUFBUyxBQUFULGVBQXVCLEFBQXZCLE9BQStCLEFBQS9CLE9BQXVDLEFBQXZDLFNBQWlELEFBQUUsT0FBTyxjQUFhLEFBQWIsS0FBa0IsQUFBbEIsT0FBMEIsQUFBMUIsT0FBa0MsQUFBbEMsQUFBUCxBQUFxRCIsImZpbGUiOiJzZW50ZW5jZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5cblxuZXhwb3J0IGNvbnN0IHNlbnRlbmNlRGlmZiA9IG5ldyBEaWZmKCk7XG5zZW50ZW5jZURpZmYudG9rZW5pemUgPSBmdW5jdGlvbih2YWx1ZSkge1xuICByZXR1cm4gdmFsdWUuc3BsaXQoLyhcXFMuKz9bLiE/XSkoPz1cXHMrfCQpLyk7XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gZGlmZlNlbnRlbmNlcyhvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spIHsgcmV0dXJuIHNlbnRlbmNlRGlmZi5kaWZmKG9sZFN0ciwgbmV3U3RyLCBjYWxsYmFjayk7IH1cbiJdfQ==
/***/ },
/* 624 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports.wordDiff=undefined;exports./*istanbul ignore end*/diffWords=diffWords;/*istanbul ignore start*/exports./*istanbul ignore end*/diffWordsWithSpace=diffWordsWithSpace;var/*istanbul ignore start*/_base=__webpack_require__(56)/*istanbul ignore end*/;/*istanbul ignore start*/var _base2=_interopRequireDefault(_base);/*istanbul ignore end*/var/*istanbul ignore start*/_params=__webpack_require__(324)/*istanbul ignore end*/;/*istanbul ignore start*/function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode
//
// Ranges and exceptions:
// Latin-1 Supplement, 008000FF
// - U+00D7 × Multiplication sign
// - U+00F7 ÷ Division sign
// Latin Extended-A, 0100017F
// Latin Extended-B, 0180024F
// IPA Extensions, 025002AF
// Spacing Modifier Letters, 02B002FF
// - U+02C7 ˇ &#711; Caron
// - U+02D8 ˘ &#728; Breve
// - U+02D9 ˙ &#729; Dot Above
// - U+02DA ˚ &#730; Ring Above
// - U+02DB ˛ &#731; Ogonek
// - U+02DC ˜ &#732; Small Tilde
// - U+02DD ˝ &#733; Double Acute Accent
// Latin Extended Additional, 1E001EFF
var extendedWordChars=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/;var reWhitespace=/\S/;var wordDiff=/*istanbul ignore start*/exports./*istanbul ignore end*/wordDiff=new/*istanbul ignore start*/_base2['default']()/*istanbul ignore end*/;wordDiff.equals=function(left,right){return left===right||this.options.ignoreWhitespace&&!reWhitespace.test(left)&&!reWhitespace.test(right);};wordDiff.tokenize=function(value){var tokens=value.split(/(\s+|\b)/);// Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set.
for(var i=0;i<tokens.length-1;i++){// If we have an empty string in the next field and we have only word chars before and after, merge
if(!tokens[i+1]&&tokens[i+2]&&extendedWordChars.test(tokens[i])&&extendedWordChars.test(tokens[i+2])){tokens[i]+=tokens[i+2];tokens.splice(i+1,2);i--;}}return tokens;};function diffWords(oldStr,newStr,callback){var options=/*istanbul ignore start*/(0,_params.generateOptions/*istanbul ignore end*/)(callback,{ignoreWhitespace:true});return wordDiff.diff(oldStr,newStr,options);}function diffWordsWithSpace(oldStr,newStr,callback){return wordDiff.diff(oldStr,newStr,callback);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaWZmL3dvcmQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IndIQStDZ0IsQSxVLEFBQUEsa0VBSUEsQSxtQkFBQSxBLG1CQW5EaEIsRyx5QkFBQSxjLFNBQUEsaUhBQ0EsRyx5QkFBQSxnQixpQkFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBb0JBLEdBQU0sbUJBQU4sQUFBMEIsZ0VBRTFCLEdBQU0sY0FBTixBQUFxQixLQUVkLEdBQU0sVSx5QixBQUFBLCtCQUFBLFNBQVcsRyx5QkFBQSxPLFlBQWpCLHdCQUNQLFNBQUEsQUFBUyxPQUFTLFNBQUEsQUFBUyxLQUFULEFBQWUsTUFBTyxBQUN0QyxPQUFPLFFBQUEsQUFBUyxPQUFVLEtBQUEsQUFBSyxRQUFMLEFBQWEsa0JBQW9CLENBQUMsYUFBQSxBQUFhLEtBQS9DLEFBQWtDLEFBQWtCLE9BQVMsQ0FBQyxhQUFBLEFBQWEsS0FBckcsQUFBd0YsQUFBa0IsQUFDM0csT0FGRCxXQUdBLEFBQVMsU0FBVyxTQUFBLEFBQVMsTUFBTyxBQUNsQyxJQUFJLFFBQVMsTUFBQSxBQUFNLE1BQW5CLEFBQWEsQUFBWSxZQUd6QjtJQUFLLEdBQUksR0FBVCxBQUFhLEVBQUcsRUFBSSxPQUFBLEFBQU8sT0FBM0IsQUFBb0MsRUFBcEMsQUFBdUMsSUFBSyxDQUUxQztHQUFJLENBQUMsT0FBTyxFQUFSLEFBQUMsQUFBVyxJQUFNLE9BQU8sRUFBekIsQUFBa0IsQUFBVyxJQUN4QixrQkFBQSxBQUFrQixLQUFLLE9BRDVCLEFBQ0ssQUFBdUIsQUFBTyxLQUM5QixrQkFBQSxBQUFrQixLQUFLLE9BQU8sRUFGdkMsQUFFUyxBQUF1QixBQUFXLElBQUssQUFDOUMsUUFBQSxBQUFPLElBQU0sT0FBTyxFQUFwQixBQUFhLEFBQVcsQUFDeEIsVUFBQSxBQUFPLE9BQU8sRUFBZCxBQUFrQixFQUFsQixBQUFxQixBQUNyQixHQUNELElBQ0YsQ0FFRCxPQUFBLEFBQU8sQUFDUixRQWhCRCxDQUFBLENBa0JPLFFBQUEsQUFBUyxXQUFULEFBQW1CLE9BQW5CLEFBQTJCLE9BQTNCLEFBQW1DLFNBQVUsQUFDbEQsSUFBSSxTLHlCQUFVLFcsZUFBQSx5QkFBQSxBQUFnQixTQUFVLENBQUMsaUJBQXpDLEFBQWMsQUFBMEIsQUFBbUIsQUFDM0QsYUFBTyxVQUFBLEFBQVMsS0FBVCxBQUFjLE9BQWQsQUFBc0IsT0FBN0IsQUFBTyxBQUE4QixBQUN0QyxVQUNNLFFBQUEsQUFBUyxvQkFBVCxBQUE0QixPQUE1QixBQUFvQyxPQUFwQyxBQUE0QyxTQUFVLEFBQzNELE9BQU8sVUFBQSxBQUFTLEtBQVQsQUFBYyxPQUFkLEFBQXNCLE9BQTdCLEFBQU8sQUFBOEIsQUFDdEMiLCJmaWxlIjoid29yZC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBEaWZmIGZyb20gJy4vYmFzZSc7XG5pbXBvcnQge2dlbmVyYXRlT3B0aW9uc30gZnJvbSAnLi4vdXRpbC9wYXJhbXMnO1xuXG4vLyBCYXNlZCBvbiBodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MYXRpbl9zY3JpcHRfaW5fVW5pY29kZVxuLy9cbi8vIFJhbmdlcyBhbmQgZXhjZXB0aW9uczpcbi8vIExhdGluLTEgU3VwcGxlbWVudCwgMDA4MOKAkzAwRkZcbi8vICAtIFUrMDBENyAgw5cgTXVsdGlwbGljYXRpb24gc2lnblxuLy8gIC0gVSswMEY3ICDDtyBEaXZpc2lvbiBzaWduXG4vLyBMYXRpbiBFeHRlbmRlZC1BLCAwMTAw4oCTMDE3RlxuLy8gTGF0aW4gRXh0ZW5kZWQtQiwgMDE4MOKAkzAyNEZcbi8vIElQQSBFeHRlbnNpb25zLCAwMjUw4oCTMDJBRlxuLy8gU3BhY2luZyBNb2RpZmllciBMZXR0ZXJzLCAwMkIw4oCTMDJGRlxuLy8gIC0gVSswMkM3ICDLhyAmIzcxMTsgIENhcm9uXG4vLyAgLSBVKzAyRDggIMuYICYjNzI4OyAgQnJldmVcbi8vICAtIFUrMDJEOSAgy5kgJiM3Mjk7ICBEb3QgQWJvdmVcbi8vICAtIFUrMDJEQSAgy5ogJiM3MzA7ICBSaW5nIEFib3ZlXG4vLyAgLSBVKzAyREIgIMubICYjNzMxOyAgT2dvbmVrXG4vLyAgLSBVKzAyREMgIMucICYjNzMyOyAgU21hbGwgVGlsZGVcbi8vICAtIFUrMDJERCAgy50gJiM3MzM7ICBEb3VibGUgQWN1dGUgQWNjZW50XG4vLyBMYXRpbiBFeHRlbmRlZCBBZGRpdGlvbmFsLCAxRTAw4oCTMUVGRlxuY29uc3QgZXh0ZW5kZWRXb3JkQ2hhcnMgPSAvXlthLXpBLVpcXHV7QzB9LVxcdXtGRn1cXHV7RDh9LVxcdXtGNn1cXHV7Rjh9LVxcdXsyQzZ9XFx1ezJDOH0tXFx1ezJEN31cXHV7MkRFfS1cXHV7MkZGfVxcdXsxRTAwfS1cXHV7MUVGRn1dKyQvdTtcblxuY29uc3QgcmVXaGl0ZXNwYWNlID0gL1xcUy87XG5cbmV4cG9ydCBjb25zdCB3b3JkRGlmZiA9IG5ldyBEaWZmKCk7XG53b3JkRGlmZi5lcXVhbHMgPSBmdW5jdGlvbihsZWZ0LCByaWdodCkge1xuICByZXR1cm4gbGVmdCA9PT0gcmlnaHQgfHwgKHRoaXMub3B0aW9ucy5pZ25vcmVXaGl0ZXNwYWNlICYmICFyZVdoaXRlc3BhY2UudGVzdChsZWZ0KSAmJiAhcmVXaGl0ZXNwYWNlLnRlc3QocmlnaHQpKTtcbn07XG53b3JkRGlmZi50b2tlbml6ZSA9IGZ1bmN0aW9uKHZhbHVlKSB7XG4gIGxldCB0b2tlbnMgPSB2YWx1ZS5zcGxpdCgvKFxccyt8XFxiKS8pO1xuXG4gIC8vIEpvaW4gdGhlIGJvdW5kYXJ5IHNwbGl0cyB0aGF0IHdlIGRvIG5vdCBjb25zaWRlciB0byBiZSBib3VuZGFyaWVzLiBUaGlzIGlzIHByaW1hcmlseSB0aGUgZXh0ZW5kZWQgTGF0aW4gY2hhcmFjdGVyIHNldC5cbiAgZm9yIChsZXQgaSA9IDA7IGkgPCB0b2tlbnMubGVuZ3RoIC0gMTsgaSsrKSB7XG4gICAgLy8gSWYgd2UgaGF2ZSBhbiBlbXB0eSBzdHJpbmcgaW4gdGhlIG5leHQgZmllbGQgYW5kIHdlIGhhdmUgb25seSB3b3JkIGNoYXJzIGJlZm9yZSBhbmQgYWZ0ZXIsIG1lcmdlXG4gICAgaWYgKCF0b2tlbnNbaSArIDFdICYmIHRva2Vuc1tpICsgMl1cbiAgICAgICAgICAmJiBleHRlbmRlZFdvcmRDaGFycy50ZXN0KHRva2Vuc1tpXSlcbiAgICAgICAgICAmJiBleHRlbmRlZFdvcmRDaGFycy50ZXN0KHRva2Vuc1tpICsgMl0pKSB7XG4gICAgICB0b2tlbnNbaV0gKz0gdG9rZW5zW2kgKyAyXTtcbiAgICAgIHRva2Vucy5zcGxpY2UoaSArIDEsIDIpO1xuICAgICAgaS0tO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiB0b2tlbnM7XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gZGlmZldvcmRzKG9sZFN0ciwgbmV3U3RyLCBjYWxsYmFjaykge1xuICBsZXQgb3B0aW9ucyA9IGdlbmVyYXRlT3B0aW9ucyhjYWxsYmFjaywge2lnbm9yZVdoaXRlc3BhY2U6IHRydWV9KTtcbiAgcmV0dXJuIHdvcmREaWZmLmRpZmYob2xkU3RyLCBuZXdTdHIsIG9wdGlvbnMpO1xufVxuZXhwb3J0IGZ1bmN0aW9uIGRpZmZXb3Jkc1dpdGhTcGFjZShvbGRTdHIsIG5ld1N0ciwgY2FsbGJhY2spIHtcbiAgcmV0dXJuIHdvcmREaWZmLmRpZmYob2xkU3RyLCBuZXdTdHIsIGNhbGxiYWNrKTtcbn1cbiJdfQ==
/***/ },
/* 625 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports./*istanbul ignore end*/applyPatch=applyPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/applyPatches=applyPatches;var/*istanbul ignore start*/_parse=__webpack_require__(323)/*istanbul ignore end*/;var/*istanbul ignore start*/_distanceIterator=__webpack_require__(627)/*istanbul ignore end*/;/*istanbul ignore start*/var _distanceIterator2=_interopRequireDefault(_distanceIterator);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}/*istanbul ignore end*/function applyPatch(source,uniDiff){/*istanbul ignore start*/var/*istanbul ignore end*/options=arguments.length<=2||arguments[2]===undefined?{}:arguments[2];if(typeof uniDiff==='string'){uniDiff=/*istanbul ignore start*/(0,_parse.parsePatch/*istanbul ignore end*/)(uniDiff);}if(Array.isArray(uniDiff)){if(uniDiff.length>1){throw new Error('applyPatch only works with a single input.');}uniDiff=uniDiff[0];}// Apply the diff to the input
var lines=source.split(/\r\n|[\n\v\f\r\x85]/),delimiters=source.match(/\r\n|[\n\v\f\r\x85]/g)||[],hunks=uniDiff.hunks,compareLine=options.compareLine||function(lineNumber,line,operation,patchContent)/*istanbul ignore start*/{return(/*istanbul ignore end*/line===patchContent);},errorCount=0,fuzzFactor=options.fuzzFactor||0,minLine=0,offset=0,removeEOFNL=/*istanbul ignore start*/void 0/*istanbul ignore end*/,addEOFNL=/*istanbul ignore start*/void 0/*istanbul ignore end*/;/**
* Checks if the hunk exactly fits on the provided location
*/function hunkFits(hunk,toPos){for(var j=0;j<hunk.lines.length;j++){var line=hunk.lines[j],operation=line[0],content=line.substr(1);if(operation===' '||operation==='-'){// Context sanity check
if(!compareLine(toPos+1,lines[toPos],operation,content)){errorCount++;if(errorCount>fuzzFactor){return false;}}toPos++;}}return true;}// Search best fit offsets for each hunk based on the previous ones
for(var i=0;i<hunks.length;i++){var hunk=hunks[i],maxLine=lines.length-hunk.oldLines,localOffset=0,toPos=offset+hunk.oldStart-1;var iterator=/*istanbul ignore start*/(0,_distanceIterator2['default']/*istanbul ignore end*/)(toPos,minLine,maxLine);for(;localOffset!==undefined;localOffset=iterator()){if(hunkFits(hunk,toPos+localOffset)){hunk.offset=offset+=localOffset;break;}}if(localOffset===undefined){return false;}// Set lower text limit to end of the current hunk, so next ones don't try
// to fit over already patched text
minLine=hunk.offset+hunk.oldStart+hunk.oldLines;}// Apply patch hunks
for(var _i=0;_i<hunks.length;_i++){var _hunk=hunks[_i],_toPos=_hunk.offset+_hunk.newStart-1;if(_hunk.newLines==0){_toPos++;}for(var j=0;j<_hunk.lines.length;j++){var line=_hunk.lines[j],operation=line[0],content=line.substr(1),delimiter=_hunk.linedelimiters[j];if(operation===' '){_toPos++;}else if(operation==='-'){lines.splice(_toPos,1);delimiters.splice(_toPos,1);/* istanbul ignore else */}else if(operation==='+'){lines.splice(_toPos,0,content);delimiters.splice(_toPos,0,delimiter);_toPos++;}else if(operation==='\\'){var previousOperation=_hunk.lines[j-1]?_hunk.lines[j-1][0]:null;if(previousOperation==='+'){removeEOFNL=true;}else if(previousOperation==='-'){addEOFNL=true;}}}}// Handle EOFNL insertion/removal
if(removeEOFNL){while(!lines[lines.length-1]){lines.pop();delimiters.pop();}}else if(addEOFNL){lines.push('');delimiters.push('\n');}for(var _k=0;_k<lines.length-1;_k++){lines[_k]=lines[_k]+delimiters[_k];}return lines.join('');}// Wrapper that supports multiple file patches via callbacks.
function applyPatches(uniDiff,options){if(typeof uniDiff==='string'){uniDiff=/*istanbul ignore start*/(0,_parse.parsePatch/*istanbul ignore end*/)(uniDiff);}var currentIndex=0;function processIndex(){var index=uniDiff[currentIndex++];if(!index){return options.complete();}options.loadFile(index,function(err,data){if(err){return options.complete(err);}var updatedContent=applyPatch(data,index,options);options.patched(index,updatedContent,function(err){if(err){return options.complete(err);}processIndex();});});}processIndex();}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9hcHBseS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiNkZBR2dCLEEsV0FBQSxBLG1FQStIQSxBLGFBQUEsQSxhQWxJaEIsRyx5QkFBQSxlLFVBQUEsd0JBQ0EsRyx5QkFBQSwwQiw0QkFBQSw4TkFFTyxRQUFTLEFBQVQsWUFBb0IsQUFBcEIsT0FBNEIsQUFBNUIsUUFBbUQsMEJBQUEsRyx1QkFBZCxBQUFjLHNEQUFKLEFBQUksYUFDeEQsTUFBSSxNQUFPLEFBQVAsV0FBbUIsQUFBdkIsU0FBaUMsQUFDL0IsUyx5QkFBVSxVLFVBQUEseUJBQVcsQUFBWCxBQUFWLEFBQ0QsU0FFRCxJQUFJLE1BQU0sQUFBTixRQUFjLEFBQWQsQUFBSixTQUE0QixBQUMxQixJQUFJLFFBQVEsQUFBUixPQUFpQixBQUFyQixFQUF3QixBQUN0QixNQUFNLElBQUksQUFBSixPQUFVLEFBQVYsQUFBTixBQUNELDhDQUVELFNBQVUsUUFBUSxBQUFSLEFBQVYsQUFDRCxJQUdEO0dBQUksT0FBUSxPQUFPLEFBQVAsTUFBYSxBQUFiLEFBQVosdUJBQ0ksV0FBYSxPQUFPLEFBQVAsTUFBYSxBQUFiLHlCQUF3QyxBQUR6RCxHQUVJLE1BQVEsUUFBUSxBQUZwQixNQUlJLFlBQWMsUUFBUSxBQUFSLGFBQXdCLFNBQUMsQUFBRCxXQUFhLEFBQWIsS0FBbUIsQUFBbkIsVUFBOEIsQUFBOUIsYSx5QkFBQSxDLDhCQUErQyxPQUFTLEFBQXhELGNBSjFDLEVBS0ksV0FBYSxBQUxqQixFQU1JLFdBQWEsUUFBUSxBQUFSLFlBQXNCLEFBTnZDLEVBT0ksUUFBVSxBQVBkLEVBUUksT0FBUyxBQVJiLEVBVUksWSx5QkFBQSxJLEVBVkosd0JBV0ksUyx5QkFBQSxJLEVBWEosd0JBZ0JBOzthQUFTLEFBQVQsVUFBa0IsQUFBbEIsS0FBd0IsQUFBeEIsTUFBK0IsQUFDN0IsS0FBSyxHQUFJLEdBQUksQUFBYixFQUFnQixFQUFJLEtBQUssQUFBTCxNQUFXLEFBQS9CLE9BQXVDLEFBQXZDLElBQTRDLEFBQzFDLElBQUksTUFBTyxLQUFLLEFBQUwsTUFBVyxBQUFYLEFBQVgsR0FDSSxVQUFZLEtBQUssQUFBTCxBQURoQixHQUVJLFFBQVUsS0FBSyxBQUFMLE9BQVksQUFBWixBQUZkLEFBSUEsTUFBSSxZQUFjLEFBQWQsS0FBcUIsWUFBYyxBQUF2QyxJQUE0QyxDQUUxQztHQUFJLENBQUMsWUFBWSxNQUFRLEFBQXBCLEVBQXVCLE1BQU0sQUFBTixBQUF2QixPQUFxQyxBQUFyQyxVQUFnRCxBQUFoRCxBQUFMLFNBQStELEFBQzdELENBRUEsZ0JBQUksV0FBYSxBQUFqQixXQUE2QixBQUMzQixPQUFPLEFBQVAsQUFDRCxPQUNGLENBQ0QsQ0FDRCxRQUNGLENBRUQsT0FBTyxBQUFQLEFBQ0QsT0FHRDtJQUFLLEdBQUksR0FBSSxBQUFiLEVBQWdCLEVBQUksTUFBTSxBQUExQixPQUFrQyxBQUFsQyxJQUF1QyxBQUNyQyxJQUFJLE1BQU8sTUFBTSxBQUFOLEFBQVgsR0FDSSxRQUFVLE1BQU0sQUFBTixPQUFlLEtBQUssQUFEbEMsU0FFSSxZQUFjLEFBRmxCLEVBR0ksTUFBUSxPQUFTLEtBQUssQUFBZCxTQUF5QixBQUhyQyxBQUtBLEtBQUksVSx5QkFBVyxzQixVQUFBLHlCQUFpQixBQUFqQixNQUF3QixBQUF4QixRQUFpQyxBQUFqQyxBQUFmLEFBRUEsY0FBTyxjQUFnQixBQUF2QixVQUFrQyxZQUFjLEFBQWhELFdBQTRELEFBQzFELElBQUksU0FBUyxBQUFULEtBQWUsTUFBUSxBQUF2QixBQUFKLGFBQXlDLEFBQ3ZDLE1BQUssQUFBTCxPQUFjLFFBQVUsQUFBeEIsQUFDQSxZQUNELE1BQ0YsQ0FFRCxJQUFJLGNBQWdCLEFBQXBCLFVBQStCLEFBQzdCLE9BQU8sQUFBUCxBQUNEO0FBSUQ7UUFBVSxLQUFLLEFBQUwsT0FBYyxLQUFLLEFBQW5CLFNBQThCLEtBQUssQUFBN0MsQUFDRCxVQUdEO0lBQUssR0FBSSxJQUFJLEFBQWIsRUFBZ0IsR0FBSSxNQUFNLEFBQTFCLE9BQWtDLEFBQWxDLEtBQXVDLEFBQ3JDLElBQUksT0FBTyxNQUFNLEFBQU4sQUFBWCxJQUNJLE9BQVEsTUFBSyxBQUFMLE9BQWMsTUFBSyxBQUFuQixTQUE4QixBQUQxQyxBQUVBLEtBQUksTUFBSyxBQUFMLFVBQWlCLEFBQXJCLEVBQXdCLEFBQUUsQ0FBVSxTQUVwQyxLQUFLLEdBQUksR0FBSSxBQUFiLEVBQWdCLEVBQUksTUFBSyxBQUFMLE1BQVcsQUFBL0IsT0FBdUMsQUFBdkMsSUFBNEMsQUFDMUMsSUFBSSxNQUFPLE1BQUssQUFBTCxNQUFXLEFBQVgsQUFBWCxHQUNJLFVBQVksS0FBSyxBQUFMLEFBRGhCLEdBRUksUUFBVSxLQUFLLEFBQUwsT0FBWSxBQUFaLEFBRmQsR0FHSSxVQUFZLE1BQUssQUFBTCxlQUFvQixBQUFwQixBQUhoQixBQUtBLE1BQUksWUFBYyxBQUFsQixJQUF1QixBQUNyQixDQUNELFNBRkQsS0FFTyxJQUFJLFlBQWMsQUFBbEIsSUFBdUIsQUFDNUIsT0FBTSxBQUFOLE9BQWEsQUFBYixPQUFvQixBQUFwQixBQUNBLGNBQVcsQUFBWCxPQUFrQixBQUFsQixPQUF5QixBQUF6QixHQUVELDBCQUpNLEtBSUEsSUFBSSxZQUFjLEFBQWxCLElBQXVCLEFBQzVCLE9BQU0sQUFBTixPQUFhLEFBQWIsT0FBb0IsQUFBcEIsRUFBdUIsQUFBdkIsQUFDQSxvQkFBVyxBQUFYLE9BQWtCLEFBQWxCLE9BQXlCLEFBQXpCLEVBQTRCLEFBQTVCLEFBQ0EsV0FDRCxTQUpNLEtBSUEsSUFBSSxZQUFjLEFBQWxCLEtBQXdCLEFBQzdCLElBQUksbUJBQW9CLE1BQUssQUFBTCxNQUFXLEVBQUksQUFBZixHQUFvQixNQUFLLEFBQUwsTUFBVyxFQUFJLEFBQWYsR0FBa0IsQUFBbEIsQUFBcEIsR0FBMkMsQUFBbkUsQUFDQSxRQUFJLG9CQUFzQixBQUExQixJQUErQixBQUM3QixhQUFjLEFBQWQsQUFDRCxLQUZELEtBRU8sSUFBSSxvQkFBc0IsQUFBMUIsSUFBK0IsQUFDcEMsVUFBVyxBQUFYLEFBQ0QsS0FDRixDQUNGLENBQ0YsRUFHRDtHQUFJLEFBQUosWUFBaUIsQUFDZixPQUFPLENBQUMsTUFBTSxNQUFNLEFBQU4sT0FBZSxBQUFyQixBQUFSLEdBQWlDLEFBQy9CLE9BQU0sQUFBTixBQUNBLGlCQUFXLEFBQVgsQUFDRCxNQUNGLENBTEQsS0FLTyxJQUFJLEFBQUosU0FBYyxBQUNuQixPQUFNLEFBQU4sS0FBVyxBQUFYLEFBQ0EsZUFBVyxBQUFYLEtBQWdCLEFBQWhCLEFBQ0QsTUFDRCxLQUFLLEdBQUksSUFBSyxBQUFkLEVBQWlCLEdBQUssTUFBTSxBQUFOLE9BQWUsQUFBckMsRUFBd0MsQUFBeEMsS0FBOEMsQUFDNUMsT0FBTSxBQUFOLElBQVksTUFBTSxBQUFOLElBQVksV0FBVyxBQUFYLEFBQXhCLEFBQ0QsSUFDRCxPQUFPLE9BQU0sQUFBTixLQUFXLEFBQVgsQUFBUCxBQUNEO0FBR00sUUFBUyxBQUFULGNBQXNCLEFBQXRCLFFBQStCLEFBQS9CLFFBQXdDLEFBQzdDLElBQUksTUFBTyxBQUFQLFdBQW1CLEFBQXZCLFNBQWlDLEFBQy9CLFMseUJBQVUsVSxVQUFBLHlCQUFXLEFBQVgsQUFBVixBQUNELFNBRUQsSUFBSSxjQUFlLEFBQW5CLEFBQ0EsVUFBUyxBQUFULGVBQXdCLEFBQ3RCLElBQUksT0FBUSxRQUFRLEFBQVIsQUFBWixBQUNBLG1CQUFJLENBQUMsQUFBTCxNQUFZLEFBQ1YsT0FBTyxTQUFRLEFBQVIsQUFBUCxBQUNELFdBRUQsU0FBUSxBQUFSLFNBQWlCLEFBQWpCLE1BQXdCLFNBQVMsQUFBVCxJQUFjLEFBQWQsS0FBb0IsQUFDMUMsSUFBSSxBQUFKLElBQVMsQUFDUCxPQUFPLFNBQVEsQUFBUixTQUFpQixBQUFqQixBQUFQLEFBQ0QsS0FFRCxJQUFJLGdCQUFpQixXQUFXLEFBQVgsS0FBaUIsQUFBakIsTUFBd0IsQUFBeEIsQUFBckIsQUFDQSxpQkFBUSxBQUFSLFFBQWdCLEFBQWhCLE1BQXVCLEFBQXZCLGVBQXVDLFNBQVMsQUFBVCxJQUFjLEFBQ25ELElBQUksQUFBSixJQUFTLEFBQ1AsT0FBTyxTQUFRLEFBQVIsU0FBaUIsQUFBakIsQUFBUCxBQUNELEtBRUQsQ0FDRCxlQU5ELEFBT0QsR0FiRCxBQWNELEdBQ0QsQ0FDRCIsImZpbGUiOiJhcHBseS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7cGFyc2VQYXRjaH0gZnJvbSAnLi9wYXJzZSc7XG5pbXBvcnQgZGlzdGFuY2VJdGVyYXRvciBmcm9tICcuLi91dGlsL2Rpc3RhbmNlLWl0ZXJhdG9yJztcblxuZXhwb3J0IGZ1bmN0aW9uIGFwcGx5UGF0Y2goc291cmNlLCB1bmlEaWZmLCBvcHRpb25zID0ge30pIHtcbiAgaWYgKHR5cGVvZiB1bmlEaWZmID09PSAnc3RyaW5nJykge1xuICAgIHVuaURpZmYgPSBwYXJzZVBhdGNoKHVuaURpZmYpO1xuICB9XG5cbiAgaWYgKEFycmF5LmlzQXJyYXkodW5pRGlmZikpIHtcbiAgICBpZiAodW5pRGlmZi5sZW5ndGggPiAxKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ2FwcGx5UGF0Y2ggb25seSB3b3JrcyB3aXRoIGEgc2luZ2xlIGlucHV0LicpO1xuICAgIH1cblxuICAgIHVuaURpZmYgPSB1bmlEaWZmWzBdO1xuICB9XG5cbiAgLy8gQXBwbHkgdGhlIGRpZmYgdG8gdGhlIGlucHV0XG4gIGxldCBsaW5lcyA9IHNvdXJjZS5zcGxpdCgvXFxyXFxufFtcXG5cXHZcXGZcXHJcXHg4NV0vKSxcbiAgICAgIGRlbGltaXRlcnMgPSBzb3VyY2UubWF0Y2goL1xcclxcbnxbXFxuXFx2XFxmXFxyXFx4ODVdL2cpIHx8IFtdLFxuICAgICAgaHVua3MgPSB1bmlEaWZmLmh1bmtzLFxuXG4gICAgICBjb21wYXJlTGluZSA9IG9wdGlvbnMuY29tcGFyZUxpbmUgfHwgKChsaW5lTnVtYmVyLCBsaW5lLCBvcGVyYXRpb24sIHBhdGNoQ29udGVudCkgPT4gbGluZSA9PT0gcGF0Y2hDb250ZW50KSxcbiAgICAgIGVycm9yQ291bnQgPSAwLFxuICAgICAgZnV6ekZhY3RvciA9IG9wdGlvbnMuZnV6ekZhY3RvciB8fCAwLFxuICAgICAgbWluTGluZSA9IDAsXG4gICAgICBvZmZzZXQgPSAwLFxuXG4gICAgICByZW1vdmVFT0ZOTCxcbiAgICAgIGFkZEVPRk5MO1xuXG4gIC8qKlxuICAgKiBDaGVja3MgaWYgdGhlIGh1bmsgZXhhY3RseSBmaXRzIG9uIHRoZSBwcm92aWRlZCBsb2NhdGlvblxuICAgKi9cbiAgZnVuY3Rpb24gaHVua0ZpdHMoaHVuaywgdG9Qb3MpIHtcbiAgICBmb3IgKGxldCBqID0gMDsgaiA8IGh1bmsubGluZXMubGVuZ3RoOyBqKyspIHtcbiAgICAgIGxldCBsaW5lID0gaHVuay5saW5lc1tqXSxcbiAgICAgICAgICBvcGVyYXRpb24gPSBsaW5lWzBdLFxuICAgICAgICAgIGNvbnRlbnQgPSBsaW5lLnN1YnN0cigxKTtcblxuICAgICAgaWYgKG9wZXJhdGlvbiA9PT0gJyAnIHx8IG9wZXJhdGlvbiA9PT0gJy0nKSB7XG4gICAgICAgIC8vIENvbnRleHQgc2FuaXR5IGNoZWNrXG4gICAgICAgIGlmICghY29tcGFyZUxpbmUodG9Qb3MgKyAxLCBsaW5lc1t0b1Bvc10sIG9wZXJhdGlvbiwgY29udGVudCkpIHtcbiAgICAgICAgICBlcnJvckNvdW50Kys7XG5cbiAgICAgICAgICBpZiAoZXJyb3JDb3VudCA+IGZ1enpGYWN0b3IpIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgdG9Qb3MrKztcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gdHJ1ZTtcbiAgfVxuXG4gIC8vIFNlYXJjaCBiZXN0IGZpdCBvZmZzZXRzIGZvciBlYWNoIGh1bmsgYmFzZWQgb24gdGhlIHByZXZpb3VzIG9uZXNcbiAgZm9yIChsZXQgaSA9IDA7IGkgPCBodW5rcy5sZW5ndGg7IGkrKykge1xuICAgIGxldCBodW5rID0gaHVua3NbaV0sXG4gICAgICAgIG1heExpbmUgPSBsaW5lcy5sZW5ndGggLSBodW5rLm9sZExpbmVzLFxuICAgICAgICBsb2NhbE9mZnNldCA9IDAsXG4gICAgICAgIHRvUG9zID0gb2Zmc2V0ICsgaHVuay5vbGRTdGFydCAtIDE7XG5cbiAgICBsZXQgaXRlcmF0b3IgPSBkaXN0YW5jZUl0ZXJhdG9yKHRvUG9zLCBtaW5MaW5lLCBtYXhMaW5lKTtcblxuICAgIGZvciAoOyBsb2NhbE9mZnNldCAhPT0gdW5kZWZpbmVkOyBsb2NhbE9mZnNldCA9IGl0ZXJhdG9yKCkpIHtcbiAgICAgIGlmIChodW5rRml0cyhodW5rLCB0b1BvcyArIGxvY2FsT2Zmc2V0KSkge1xuICAgICAgICBodW5rLm9mZnNldCA9IG9mZnNldCArPSBsb2NhbE9mZnNldDtcbiAgICAgICAgYnJlYWs7XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGxvY2FsT2Zmc2V0ID09PSB1bmRlZmluZWQpIHtcbiAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICAvLyBTZXQgbG93ZXIgdGV4dCBsaW1pdCB0byBlbmQgb2YgdGhlIGN1cnJlbnQgaHVuaywgc28gbmV4dCBvbmVzIGRvbid0IHRyeVxuICAgIC8vIHRvIGZpdCBvdmVyIGFscmVhZHkgcGF0Y2hlZCB0ZXh0XG4gICAgbWluTGluZSA9IGh1bmsub2Zmc2V0ICsgaHVuay5vbGRTdGFydCArIGh1bmsub2xkTGluZXM7XG4gIH1cblxuICAvLyBBcHBseSBwYXRjaCBodW5rc1xuICBmb3IgKGxldCBpID0gMDsgaSA8IGh1bmtzLmxlbmd0aDsgaSsrKSB7XG4gICAgbGV0IGh1bmsgPSBodW5rc1tpXSxcbiAgICAgICAgdG9Qb3MgPSBodW5rLm9mZnNldCArIGh1bmsubmV3U3RhcnQgLSAxO1xuICAgIGlmIChodW5rLm5ld0xpbmVzID09IDApIHsgdG9Qb3MrKzsgfVxuXG4gICAgZm9yIChsZXQgaiA9IDA7IGogPCBodW5rLmxpbmVzLmxlbmd0aDsgaisrKSB7XG4gICAgICBsZXQgbGluZSA9IGh1bmsubGluZXNbal0sXG4gICAgICAgICAgb3BlcmF0aW9uID0gbGluZVswXSxcbiAgICAgICAgICBjb250ZW50ID0gbGluZS5zdWJzdHIoMSksXG4gICAgICAgICAgZGVsaW1pdGVyID0gaHVuay5saW5lZGVsaW1pdGVyc1tqXTtcblxuICAgICAgaWYgKG9wZXJhdGlvbiA9PT0gJyAnKSB7XG4gICAgICAgIHRvUG9zKys7XG4gICAgICB9IGVsc2UgaWYgKG9wZXJhdGlvbiA9PT0gJy0nKSB7XG4gICAgICAgIGxpbmVzLnNwbGljZSh0b1BvcywgMSk7XG4gICAgICAgIGRlbGltaXRlcnMuc3BsaWNlKHRvUG9zLCAxKTtcbiAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBlbHNlICovXG4gICAgICB9IGVsc2UgaWYgKG9wZXJhdGlvbiA9PT0gJysnKSB7XG4gICAgICAgIGxpbmVzLnNwbGljZSh0b1BvcywgMCwgY29udGVudCk7XG4gICAgICAgIGRlbGltaXRlcnMuc3BsaWNlKHRvUG9zLCAwLCBkZWxpbWl0ZXIpO1xuICAgICAgICB0b1BvcysrO1xuICAgICAgfSBlbHNlIGlmIChvcGVyYXRpb24gPT09ICdcXFxcJykge1xuICAgICAgICBsZXQgcHJldmlvdXNPcGVyYXRpb24gPSBodW5rLmxpbmVzW2ogLSAxXSA/IGh1bmsubGluZXNbaiAtIDFdWzBdIDogbnVsbDtcbiAgICAgICAgaWYgKHByZXZpb3VzT3BlcmF0aW9uID09PSAnKycpIHtcbiAgICAgICAgICByZW1vdmVFT0ZOTCA9IHRydWU7XG4gICAgICAgIH0gZWxzZSBpZiAocHJldmlvdXNPcGVyYXRpb24gPT09ICctJykge1xuICAgICAgICAgIGFkZEVPRk5MID0gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vIEhhbmRsZSBFT0ZOTCBpbnNlcnRpb24vcmVtb3ZhbFxuICBpZiAocmVtb3ZlRU9GTkwpIHtcbiAgICB3aGlsZSAoIWxpbmVzW2xpbmVzLmxlbmd0aCAtIDFdKSB7XG4gICAgICBsaW5lcy5wb3AoKTtcbiAgICAgIGRlbGltaXRlcnMucG9wKCk7XG4gICAgfVxuICB9IGVsc2UgaWYgKGFkZEVPRk5MKSB7XG4gICAgbGluZXMucHVzaCgnJyk7XG4gICAgZGVsaW1pdGVycy5wdXNoKCdcXG4nKTtcbiAgfVxuICBmb3IgKGxldCBfayA9IDA7IF9rIDwgbGluZXMubGVuZ3RoIC0gMTsgX2srKykge1xuICAgIGxpbmVzW19rXSA9IGxpbmVzW19rXSArIGRlbGltaXRlcnNbX2tdO1xuICB9XG4gIHJldHVybiBsaW5lcy5qb2luKCcnKTtcbn1cblxuLy8gV3JhcHBlciB0aGF0IHN1cHBvcnRzIG11bHRpcGxlIGZpbGUgcGF0Y2hlcyB2aWEgY2FsbGJhY2tzLlxuZXhwb3J0IGZ1bmN0aW9uIGFwcGx5UGF0Y2hlcyh1bmlEaWZmLCBvcHRpb25zKSB7XG4gIGlmICh0eXBlb2YgdW5pRGlmZiA9PT0gJ3N0cmluZycpIHtcbiAgICB1bmlEaWZmID0gcGFyc2VQYXRjaCh1bmlEaWZmKTtcbiAgfVxuXG4gIGxldCBjdXJyZW50SW5kZXggPSAwO1xuICBmdW5jdGlvbiBwcm9jZXNzSW5kZXgoKSB7XG4gICAgbGV0IGluZGV4ID0gdW5pRGlmZltjdXJyZW50SW5kZXgrK107XG4gICAgaWYgKCFpbmRleCkge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuY29tcGxldGUoKTtcbiAgICB9XG5cbiAgICBvcHRpb25zLmxvYWRGaWxlKGluZGV4LCBmdW5jdGlvbihlcnIsIGRhdGEpIHtcbiAgICAgIGlmIChlcnIpIHtcbiAgICAgICAgcmV0dXJuIG9wdGlvbnMuY29tcGxldGUoZXJyKTtcbiAgICAgIH1cblxuICAgICAgbGV0IHVwZGF0ZWRDb250ZW50ID0gYXBwbHlQYXRjaChkYXRhLCBpbmRleCwgb3B0aW9ucyk7XG4gICAgICBvcHRpb25zLnBhdGNoZWQoaW5kZXgsIHVwZGF0ZWRDb250ZW50LCBmdW5jdGlvbihlcnIpIHtcbiAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgIHJldHVybiBvcHRpb25zLmNvbXBsZXRlKGVycik7XG4gICAgICAgIH1cblxuICAgICAgICBwcm9jZXNzSW5kZXgoKTtcbiAgICAgIH0pO1xuICAgIH0pO1xuICB9XG4gIHByb2Nlc3NJbmRleCgpO1xufVxuIl19
/***/ },
/* 626 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/*istanbul ignore start*/'use strict';exports.__esModule=true;exports./*istanbul ignore end*/structuredPatch=structuredPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/createTwoFilesPatch=createTwoFilesPatch;/*istanbul ignore start*/exports./*istanbul ignore end*/createPatch=createPatch;var/*istanbul ignore start*/_line=__webpack_require__(205)/*istanbul ignore end*/;/*istanbul ignore start*/function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}/*istanbul ignore end*/function structuredPatch(oldFileName,newFileName,oldStr,newStr,oldHeader,newHeader,options){if(!options){options={context:4};}var diff=/*istanbul ignore start*/(0,_line.diffLines/*istanbul ignore end*/)(oldStr,newStr);diff.push({value:'',lines:[]});// Append an empty value to make cleanup easier
function contextLines(lines){return lines.map(function(entry){return' '+entry;});}var hunks=[];var oldRangeStart=0,newRangeStart=0,curRange=[],oldLine=1,newLine=1;/*istanbul ignore start*/var _loop=function _loop(/*istanbul ignore end*/i){var current=diff[i],lines=current.lines||current.value.replace(/\n$/,'').split('\n');current.lines=lines;if(current.added||current.removed){/*istanbul ignore start*/var _curRange;/*istanbul ignore end*/// If we have previous context, start with that
if(!oldRangeStart){var prev=diff[i-1];oldRangeStart=oldLine;newRangeStart=newLine;if(prev){curRange=options.context>0?contextLines(prev.lines.slice(-options.context)):[];oldRangeStart-=curRange.length;newRangeStart-=curRange.length;}}// Output our changes
/*istanbul ignore start*/(_curRange=/*istanbul ignore end*/curRange).push./*istanbul ignore start*/apply/*istanbul ignore end*/(/*istanbul ignore start*/_curRange/*istanbul ignore end*/,/*istanbul ignore start*/_toConsumableArray(/*istanbul ignore end*/lines.map(function(entry){return(current.added?'+':'-')+entry;})));// Track the updated file position
if(current.added){newLine+=lines.length;}else{oldLine+=lines.length;}}else{// Identical context lines. Track line changes
if(oldRangeStart){// Close out any changes that have been output (or join overlapping)
if(lines.length<=options.context*2&&i<diff.length-2){/*istanbul ignore start*/var _curRange2;/*istanbul ignore end*/// Overlapping
/*istanbul ignore start*/(_curRange2=/*istanbul ignore end*/curRange).push./*istanbul ignore start*/apply/*istanbul ignore end*/(/*istanbul ignore start*/_curRange2/*istanbul ignore end*/,/*istanbul ignore start*/_toConsumableArray(/*istanbul ignore end*/contextLines(lines)));}else{/*istanbul ignore start*/var _curRange3;/*istanbul ignore end*/// end the range and output
var contextSize=Math.min(lines.length,options.context);/*istanbul ignore start*/(_curRange3=/*istanbul ignore end*/curRange).push./*istanbul ignore start*/apply/*istanbul ignore end*/(/*istanbul ignore start*/_curRange3/*istanbul ignore end*/,/*istanbul ignore start*/_toConsumableArray(/*istanbul ignore end*/contextLines(lines.slice(0,contextSize))));var hunk={oldStart:oldRangeStart,oldLines:oldLine-oldRangeStart+contextSize,newStart:newRangeStart,newLines:newLine-newRangeStart+contextSize,lines:curRange};if(i>=diff.length-2&&lines.length<=options.context){// EOF is inside this hunk
var oldEOFNewline=/\n$/.test(oldStr);var newEOFNewline=/\n$/.test(newStr);if(lines.length==0&&!oldEOFNewline){// special case: old has no eol and no trailing context; no-nl can end up before adds
curRange.splice(hunk.oldLines,0,'\\ No newline at end of file');}else if(!oldEOFNewline||!newEOFNewline){curRange.push('\\ No newline at end of file');}}hunks.push(hunk);oldRangeStart=0;newRangeStart=0;curRange=[];}}oldLine+=lines.length;newLine+=lines.length;}};for(var i=0;i<diff.length;i++){/*istanbul ignore start*/_loop(/*istanbul ignore end*/i);}return{oldFileName:oldFileName,newFileName:newFileName,oldHeader:oldHeader,newHeader:newHeader,hunks:hunks};}function createTwoFilesPatch(oldFileName,newFileName,oldStr,newStr,oldHeader,newHeader,options){var diff=structuredPatch(oldFileName,newFileName,oldStr,newStr,oldHeader,newHeader,options);var ret=[];if(oldFileName==newFileName){ret.push('Index: '+oldFileName);}ret.push('===================================================================');ret.push('--- '+diff.oldFileName+(typeof diff.oldHeader==='undefined'?'':'\t'+diff.oldHeader));ret.push('+++ '+diff.newFileName+(typeof diff.newHeader==='undefined'?'':'\t'+diff.newHeader));for(var i=0;i<diff.hunks.length;i++){var hunk=diff.hunks[i];ret.push('@@ -'+hunk.oldStart+','+hunk.oldLines+' +'+hunk.newStart+','+hunk.newLines+' @@');ret.push.apply(ret,hunk.lines);}return ret.join('\n')+'\n';}function createPatch(fileName,oldStr,newStr,oldHeader,newHeader,options){return createTwoFilesPatch(fileName,fileName,oldStr,newStr,oldHeader,newHeader,options);}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9jcmVhdGUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjZGQUVnQixBLGdCQUFBLEEsd0VBOEZBLEEsb0JBQUEsQSw0RUF3QkEsQSxZQUFBLEEsWUF4SGhCLEcseUJBQUEsYyxlQUFBLGdQQUVPLFFBQVMsQUFBVCxpQkFBeUIsQUFBekIsWUFBc0MsQUFBdEMsWUFBbUQsQUFBbkQsT0FBMkQsQUFBM0QsT0FBbUUsQUFBbkUsVUFBOEUsQUFBOUUsVUFBeUYsQUFBekYsUUFBa0csQUFDdkcsSUFBSSxDQUFDLEFBQUwsUUFBYyxBQUNaLFNBQVUsQ0FBRSxRQUFTLEFBQVgsQUFBVixBQUNELEdBRUQsSUFBTSxNLHlCQUFPLFMsU0FBQSx5QkFBVSxBQUFWLE9BQWtCLEFBQWxCLEFBQWIsQUFDQSxhQUFLLEFBQUwsS0FBVSxDQUFDLE1BQU8sQUFBUixHQUFZLE1BQU8sQUFBbkIsQUFBVixBLEtBRUE7UUFBUyxBQUFULGNBQXNCLEFBQXRCLE1BQTZCLEFBQzNCLE9BQU8sT0FBTSxBQUFOLElBQVUsU0FBUyxBQUFULE1BQWdCLEFBQUUsT0FBTyxJQUFNLEFBQWIsQUFBcUIsTUFBakQsQUFBUCxBQUNELEdBRUQsSUFBSSxPQUFRLEFBQVosQUFDQSxNQUFJLGVBQWdCLEFBQXBCLEVBQXVCLGNBQWdCLEFBQXZDLEVBQTBDLFNBQVcsQUFBckQsR0FDSSxRQUFVLEFBRGQsRUFDaUIsUUFBVSxBQUQzQixFQWJ1RywyQyw4QkFlOUYsQUFmOEYsRUFnQnJHLElBQU0sU0FBVSxLQUFLLEFBQUwsQUFBaEIsR0FDTSxNQUFRLFFBQVEsQUFBUixPQUFpQixRQUFRLEFBQVIsTUFBYyxBQUFkLFFBQXNCLEFBQXRCLE1BQTZCLEFBQTdCLElBQWlDLEFBQWpDLE1BQXVDLEFBQXZDLEFBRC9CLEFBRUEsY0FBUSxBQUFSLE1BQWdCLEFBQWhCLEFBRUEsU0FBSSxRQUFRLEFBQVIsT0FBaUIsUUFBUSxBQUE3QixRQUFzQyxDQUFBLDhEQUVwQztHQUFJLENBQUMsQUFBTCxjQUFvQixBQUNsQixJQUFNLE1BQU8sS0FBSyxFQUFJLEFBQVQsQUFBYixBQUNBLGlCQUFnQixBQUFoQixBQUNBLHNCQUFnQixBQUFoQixBQUVBLFdBQUksQUFBSixLQUFVLEFBQ1IsVUFBVyxRQUFRLEFBQVIsUUFBa0IsQUFBbEIsRUFBc0IsYUFBYSxLQUFLLEFBQUwsTUFBVyxBQUFYLE1BQWlCLENBQUMsUUFBUSxBQUExQixBQUFiLEFBQXRCLFVBQXlFLEFBQXBGLEFBQ0Esa0JBQWlCLFNBQVMsQUFBMUIsQUFDQSxzQkFBaUIsU0FBUyxBQUExQixBQUNELE9BQ0Y7eUJBR0QsVyx1QkFBQSxVQUFTLEFBQVQsQSw4QkFBQSxBLEtBQUEsQSxpREFBQSxBLFNBQUEsd0IseUJBQUEsQSwwQ0FBa0IsTUFBTSxBQUFOLElBQVUsU0FBUyxBQUFULE1BQWdCLEFBQzFDLE9BQU8sQ0FBQyxRQUFRLEFBQVIsTUFBZ0IsQUFBaEIsSUFBc0IsQUFBdkIsS0FBOEIsQUFBckMsQUFDRCxNQUZpQixBQUFsQixLQUtBO0dBQUksUUFBUSxBQUFaLE1BQW1CLEFBQ2pCLFVBQVcsTUFBTSxBQUFqQixBQUNELE9BRkQsS0FFTyxBQUNMLFVBQVcsTUFBTSxBQUFqQixBQUNELE9BQ0YsQ0F6QkQsS0F5Qk8sQ0FFTDtHQUFJLEFBQUosY0FBbUIsQ0FFakI7R0FBSSxNQUFNLEFBQU4sUUFBZ0IsUUFBUSxBQUFSLFFBQWtCLEFBQWxDLEdBQXVDLEVBQUksS0FBSyxBQUFMLE9BQWMsQUFBN0QsRUFBZ0UsQ0FBQTt5QkFFOUQsWSx1QkFBQSxVQUFTLEFBQVQsQSw4QkFBQSxBLEtBQUEsQSxpREFBQSxBLFVBQUEsd0IseUJBQUEsQSwwQ0FBa0IsYUFBYSxBQUFiLEFBQWxCLEFBQ0QsU0FIRCxLQUdPLENBQUEsK0RBRUw7R0FBSSxhQUFjLEtBQUssQUFBTCxJQUFTLE1BQU0sQUFBZixPQUF1QixRQUFRLEFBQS9CLEFBQWxCLGtDQUNBLFksdUJBQUEsVUFBUyxBQUFULEEsOEJBQUEsQSxLQUFBLEEsaURBQUEsQSxVQUFBLHdCLHlCQUFBLEEsMENBQWtCLGFBQWEsTUFBTSxBQUFOLE1BQVksQUFBWixFQUFlLEFBQWYsQUFBYixBQUFsQixBQUVBLG1CQUFJLE1BQU8sQUFDVCxVQUFVLEFBREQsQUFFVCx1QkFBVyxRQUFVLEFBQVYsY0FBMEIsQUFGNUIsQUFHVCxxQkFBVSxBQUhELEFBSVQsdUJBQVcsUUFBVSxBQUFWLGNBQTBCLEFBSjVCLEFBS1Qsa0JBQU8sQUFMRSxBQUFYLEFBT0EsYUFBSSxHQUFLLEtBQUssQUFBTCxPQUFjLEFBQW5CLEdBQXdCLE1BQU0sQUFBTixRQUFnQixRQUFRLEFBQXBELFFBQTZELENBRTNEO0dBQUksZUFBaUIsTUFBTSxBQUFOLEtBQVcsQUFBWCxBQUFyQixBQUNBLFdBQUksZUFBaUIsTUFBTSxBQUFOLEtBQVcsQUFBWCxBQUFyQixBQUNBLFdBQUksTUFBTSxBQUFOLFFBQWdCLEFBQWhCLEdBQXFCLENBQUMsQUFBMUIsY0FBeUMsQ0FFdkM7U0FBUyxBQUFULE9BQWdCLEtBQUssQUFBckIsU0FBK0IsQUFBL0IsRUFBa0MsQUFBbEMsQUFDRCxnQ0FIRCxLQUdPLElBQUksQ0FBQyxBQUFELGVBQWtCLENBQUMsQUFBdkIsY0FBc0MsQUFDM0MsVUFBUyxBQUFULEtBQWMsQUFBZCxBQUNELGdDQUNGLENBQ0QsT0FBTSxBQUFOLEtBQVcsQUFBWCxBQUVBLG9CQUFnQixBQUFoQixBQUNBLGdCQUFnQixBQUFoQixBQUNBLFdBQVcsQUFBWCxBQUNELEdBQ0YsQ0FDRCxVQUFXLE1BQU0sQUFBakIsQUFDQSxnQkFBVyxNQUFNLEFBQWpCLEFBQ0QsT0FwRm9HLENBZXZHLE1BQUssR0FBSSxHQUFJLEFBQWIsRUFBZ0IsRUFBSSxLQUFLLEFBQXpCLE9BQWlDLEFBQWpDLElBQXNDLENBQUEseUIsNkJBQTdCLEFBQTZCLEFBc0VyQyxHQUVELE9BQU8sQUFDTCxhQUFhLEFBRFIsWUFDcUIsWUFBYSxBQURsQyxBQUVMLHNCQUFXLEFBRk4sVUFFaUIsVUFBVyxBQUY1QixBQUdMLGdCQUFPLEFBSEYsQUFBUCxBQUtELFFBRU0sUUFBUyxBQUFULHFCQUE2QixBQUE3QixZQUEwQyxBQUExQyxZQUF1RCxBQUF2RCxPQUErRCxBQUEvRCxPQUF1RSxBQUF2RSxVQUFrRixBQUFsRixVQUE2RixBQUE3RixRQUFzRyxBQUMzRyxJQUFNLE1BQU8sZ0JBQWdCLEFBQWhCLFlBQTZCLEFBQTdCLFlBQTBDLEFBQTFDLE9BQWtELEFBQWxELE9BQTBELEFBQTFELFVBQXFFLEFBQXJFLFVBQWdGLEFBQWhGLEFBQWIsQUFFQSxZQUFNLEtBQU0sQUFBWixBQUNBLE1BQUksYUFBZSxBQUFuQixZQUFnQyxBQUM5QixLQUFJLEFBQUosS0FBUyxVQUFZLEFBQXJCLEFBQ0QsYUFDRCxLQUFJLEFBQUosS0FBUyxBQUFULEFBQ0EsMkVBQUksQUFBSixLQUFTLE9BQVMsS0FBSyxBQUFkLGFBQTZCLE1BQU8sTUFBSyxBQUFaLFlBQTBCLEFBQTFCLFlBQXdDLEFBQXhDLEdBQTZDLEtBQU8sS0FBSyxBQUF0RixBQUFULEFBQ0EsZ0JBQUksQUFBSixLQUFTLE9BQVMsS0FBSyxBQUFkLGFBQTZCLE1BQU8sTUFBSyxBQUFaLFlBQTBCLEFBQTFCLFlBQXdDLEFBQXhDLEdBQTZDLEtBQU8sS0FBSyxBQUF0RixBQUFULEFBRUEsZ0JBQUssR0FBSSxHQUFJLEFBQWIsRUFBZ0IsRUFBSSxLQUFLLEFBQUwsTUFBVyxBQUEvQixPQUF1QyxBQUF2QyxJQUE0QyxBQUMxQyxJQUFNLE1BQU8sS0FBSyxBQUFMLE1BQVcsQUFBWCxBQUFiLEFBQ0EsT0FBSSxBQUFKLEtBQ0UsT0FBUyxLQUFLLEFBQWQsU0FBeUIsQUFBekIsSUFBK0IsS0FBSyxBQUFwQyxTQUNFLEFBREYsS0FDUyxLQUFLLEFBRGQsU0FDeUIsQUFEekIsSUFDK0IsS0FBSyxBQURwQyxTQUVFLEFBSEosQUFLQSxXQUFJLEFBQUosS0FBUyxBQUFULE1BQWUsQUFBZixJQUFvQixLQUFLLEFBQXpCLEFBQ0QsT0FFRCxPQUFPLEtBQUksQUFBSixLQUFTLEFBQVQsTUFBaUIsQUFBeEIsQUFDRCxNQUVNLFFBQVMsQUFBVCxhQUFxQixBQUFyQixTQUErQixBQUEvQixPQUF1QyxBQUF2QyxPQUErQyxBQUEvQyxVQUEwRCxBQUExRCxVQUFxRSxBQUFyRSxRQUE4RSxBQUNuRixPQUFPLHFCQUFvQixBQUFwQixTQUE4QixBQUE5QixTQUF3QyxBQUF4QyxPQUFnRCxBQUFoRCxPQUF3RCxBQUF4RCxVQUFtRSxBQUFuRSxVQUE4RSxBQUE5RSxBQUFQLEFBQ0QiLCJmaWxlIjoiY3JlYXRlLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtkaWZmTGluZXN9IGZyb20gJy4uL2RpZmYvbGluZSc7XG5cbmV4cG9ydCBmdW5jdGlvbiBzdHJ1Y3R1cmVkUGF0Y2gob2xkRmlsZU5hbWUsIG5ld0ZpbGVOYW1lLCBvbGRTdHIsIG5ld1N0ciwgb2xkSGVhZGVyLCBuZXdIZWFkZXIsIG9wdGlvbnMpIHtcbiAgaWYgKCFvcHRpb25zKSB7XG4gICAgb3B0aW9ucyA9IHsgY29udGV4dDogNCB9O1xuICB9XG5cbiAgY29uc3QgZGlmZiA9IGRpZmZMaW5lcyhvbGRTdHIsIG5ld1N0cik7XG4gIGRpZmYucHVzaCh7dmFsdWU6ICcnLCBsaW5lczogW119KTsgICAvLyBBcHBlbmQgYW4gZW1wdHkgdmFsdWUgdG8gbWFrZSBjbGVhbnVwIGVhc2llclxuXG4gIGZ1bmN0aW9uIGNvbnRleHRMaW5lcyhsaW5lcykge1xuICAgIHJldHVybiBsaW5lcy5tYXAoZnVuY3Rpb24oZW50cnkpIHsgcmV0dXJuICcgJyArIGVudHJ5OyB9KTtcbiAgfVxuXG4gIGxldCBodW5rcyA9IFtdO1xuICBsZXQgb2xkUmFuZ2VTdGFydCA9IDAsIG5ld1JhbmdlU3RhcnQgPSAwLCBjdXJSYW5nZSA9IFtdLFxuICAgICAgb2xkTGluZSA9IDEsIG5ld0xpbmUgPSAxO1xuICBmb3IgKGxldCBpID0gMDsgaSA8IGRpZmYubGVuZ3RoOyBpKyspIHtcbiAgICBjb25zdCBjdXJyZW50ID0gZGlmZltpXSxcbiAgICAgICAgICBsaW5lcyA9IGN1cnJlbnQubGluZXMgfHwgY3VycmVudC52YWx1ZS5yZXBsYWNlKC9cXG4kLywgJycpLnNwbGl0KCdcXG4nKTtcbiAgICBjdXJyZW50LmxpbmVzID0gbGluZXM7XG5cbiAgICBpZiAoY3VycmVudC5hZGRlZCB8fCBjdXJyZW50LnJlbW92ZWQpIHtcbiAgICAgIC8vIElmIHdlIGhhdmUgcHJldmlvdXMgY29udGV4dCwgc3RhcnQgd2l0aCB0aGF0XG4gICAgICBpZiAoIW9sZFJhbmdlU3RhcnQpIHtcbiAgICAgICAgY29uc3QgcHJldiA9IGRpZmZbaSAtIDFdO1xuICAgICAgICBvbGRSYW5nZVN0YXJ0ID0gb2xkTGluZTtcbiAgICAgICAgbmV3UmFuZ2VTdGFydCA9IG5ld0xpbmU7XG5cbiAgICAgICAgaWYgKHByZXYpIHtcbiAgICAgICAgICBjdXJSYW5nZSA9IG9wdGlvbnMuY29udGV4dCA+IDAgPyBjb250ZXh0TGluZXMocHJldi5saW5lcy5zbGljZSgtb3B0aW9ucy5jb250ZXh0KSkgOiBbXTtcbiAgICAgICAgICBvbGRSYW5nZVN0YXJ0IC09IGN1clJhbmdlLmxlbmd0aDtcbiAgICAgICAgICBuZXdSYW5nZVN0YXJ0IC09IGN1clJhbmdlLmxlbmd0aDtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAvLyBPdXRwdXQgb3VyIGNoYW5nZXNcbiAgICAgIGN1clJhbmdlLnB1c2goLi4uIGxpbmVzLm1hcChmdW5jdGlvbihlbnRyeSkge1xuICAgICAgICByZXR1cm4gKGN1cnJlbnQuYWRkZWQgPyAnKycgOiAnLScpICsgZW50cnk7XG4gICAgICB9KSk7XG5cbiAgICAgIC8vIFRyYWNrIHRoZSB1cGRhdGVkIGZpbGUgcG9zaXRpb25cbiAgICAgIGlmIChjdXJyZW50LmFkZGVkKSB7XG4gICAgICAgIG5ld0xpbmUgKz0gbGluZXMubGVuZ3RoO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgb2xkTGluZSArPSBsaW5lcy5sZW5ndGg7XG4gICAgICB9XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIElkZW50aWNhbCBjb250ZXh0IGxpbmVzLiBUcmFjayBsaW5lIGNoYW5nZXNcbiAgICAgIGlmIChvbGRSYW5nZVN0YXJ0KSB7XG4gICAgICAgIC8vIENsb3NlIG91dCBhbnkgY2hhbmdlcyB0aGF0IGhhdmUgYmVlbiBvdXRwdXQgKG9yIGpvaW4gb3ZlcmxhcHBpbmcpXG4gICAgICAgIGlmIChsaW5lcy5sZW5ndGggPD0gb3B0aW9ucy5jb250ZXh0ICogMiAmJiBpIDwgZGlmZi5sZW5ndGggLSAyKSB7XG4gICAgICAgICAgLy8gT3ZlcmxhcHBpbmdcbiAgICAgICAgICBjdXJSYW5nZS5wdXNoKC4uLiBjb250ZXh0TGluZXMobGluZXMpKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAvLyBlbmQgdGhlIHJhbmdlIGFuZCBvdXRwdXRcbiAgICAgICAgICBsZXQgY29udGV4dFNpemUgPSBNYXRoLm1pbihsaW5lcy5sZW5ndGgsIG9wdGlvbnMuY29udGV4dCk7XG4gICAgICAgICAgY3VyUmFuZ2UucHVzaCguLi4gY29udGV4dExpbmVzKGxpbmVzLnNsaWNlKDAsIGNvbnRleHRTaXplKSkpO1xuXG4gICAgICAgICAgbGV0IGh1bmsgPSB7XG4gICAgICAgICAgICBvbGRTdGFydDogb2xkUmFuZ2VTdGFydCxcbiAgICAgICAgICAgIG9sZExpbmVzOiAob2xkTGluZSAtIG9sZFJhbmdlU3RhcnQgKyBjb250ZXh0U2l6ZSksXG4gICAgICAgICAgICBuZXdTdGFydDogbmV3UmFuZ2VTdGFydCxcbiAgICAgICAgICAgIG5ld0xpbmVzOiAobmV3TGluZSAtIG5ld1JhbmdlU3RhcnQgKyBjb250ZXh0U2l6ZSksXG4gICAgICAgICAgICBsaW5lczogY3VyUmFuZ2VcbiAgICAgICAgICB9O1xuICAgICAgICAgIGlmIChpID49IGRpZmYubGVuZ3RoIC0gMiAmJiBsaW5lcy5sZW5ndGggPD0gb3B0aW9ucy5jb250ZXh0KSB7XG4gICAgICAgICAgICAvLyBFT0YgaXMgaW5zaWRlIHRoaXMgaHVua1xuICAgICAgICAgICAgbGV0IG9sZEVPRk5ld2xpbmUgPSAoL1xcbiQvLnRlc3Qob2xkU3RyKSk7XG4gICAgICAgICAgICBsZXQgbmV3RU9GTmV3bGluZSA9ICgvXFxuJC8udGVzdChuZXdTdHIpKTtcbiAgICAgICAgICAgIGlmIChsaW5lcy5sZW5ndGggPT0gMCAmJiAhb2xkRU9GTmV3bGluZSkge1xuICAgICAgICAgICAgICAvLyBzcGVjaWFsIGNhc2U6IG9sZCBoYXMgbm8gZW9sIGFuZCBubyB0cmFpbGluZyBjb250ZXh0OyBuby1ubCBjYW4gZW5kIHVwIGJlZm9yZSBhZGRzXG4gICAgICAgICAgICAgIGN1clJhbmdlLnNwbGljZShodW5rLm9sZExpbmVzLCAwLCAnXFxcXCBObyBuZXdsaW5lIGF0IGVuZCBvZiBmaWxlJyk7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKCFvbGRFT0ZOZXdsaW5lIHx8ICFuZXdFT0ZOZXdsaW5lKSB7XG4gICAgICAgICAgICAgIGN1clJhbmdlLnB1c2goJ1xcXFwgTm8gbmV3bGluZSBhdCBlbmQgb2YgZmlsZScpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgICBodW5rcy5wdXNoKGh1bmspO1xuXG4gICAgICAgICAgb2xkUmFuZ2VTdGFydCA9IDA7XG4gICAgICAgICAgbmV3UmFuZ2VTdGFydCA9IDA7XG4gICAgICAgICAgY3VyUmFuZ2UgPSBbXTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgb2xkTGluZSArPSBsaW5lcy5sZW5ndGg7XG4gICAgICBuZXdMaW5lICs9IGxpbmVzLmxlbmd0aDtcbiAgICB9XG4gIH1cblxuICByZXR1cm4ge1xuICAgIG9sZEZpbGVOYW1lOiBvbGRGaWxlTmFtZSwgbmV3RmlsZU5hbWU6IG5ld0ZpbGVOYW1lLFxuICAgIG9sZEhlYWRlcjogb2xkSGVhZGVyLCBuZXdIZWFkZXI6IG5ld0hlYWRlcixcbiAgICBodW5rczogaHVua3NcbiAgfTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZVR3b0ZpbGVzUGF0Y2gob2xkRmlsZU5hbWUsIG5ld0ZpbGVOYW1lLCBvbGRTdHIsIG5ld1N0ciwgb2xkSGVhZGVyLCBuZXdIZWFkZXIsIG9wdGlvbnMpIHtcbiAgY29uc3QgZGlmZiA9IHN0cnVjdHVyZWRQYXRjaChvbGRGaWxlTmFtZSwgbmV3RmlsZU5hbWUsIG9sZFN0ciwgbmV3U3RyLCBvbGRIZWFkZXIsIG5ld0hlYWRlciwgb3B0aW9ucyk7XG5cbiAgY29uc3QgcmV0ID0gW107XG4gIGlmIChvbGRGaWxlTmFtZSA9PSBuZXdGaWxlTmFtZSkge1xuICAgIHJldC5wdXNoKCdJbmRleDogJyArIG9sZEZpbGVOYW1lKTtcbiAgfVxuICByZXQucHVzaCgnPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PScpO1xuICByZXQucHVzaCgnLS0tICcgKyBkaWZmLm9sZEZpbGVOYW1lICsgKHR5cGVvZiBkaWZmLm9sZEhlYWRlciA9PT0gJ3VuZGVmaW5lZCcgPyAnJyA6ICdcXHQnICsgZGlmZi5vbGRIZWFkZXIpKTtcbiAgcmV0LnB1c2goJysrKyAnICsgZGlmZi5uZXdGaWxlTmFtZSArICh0eXBlb2YgZGlmZi5uZXdIZWFkZXIgPT09ICd1bmRlZmluZWQnID8gJycgOiAnXFx0JyArIGRpZmYubmV3SGVhZGVyKSk7XG5cbiAgZm9yIChsZXQgaSA9IDA7IGkgPCBkaWZmLmh1bmtzLmxlbmd0aDsgaSsrKSB7XG4gICAgY29uc3QgaHVuayA9IGRpZmYuaHVua3NbaV07XG4gICAgcmV0LnB1c2goXG4gICAgICAnQEAgLScgKyBodW5rLm9sZFN0YXJ0ICsgJywnICsgaHVuay5vbGRMaW5lc1xuICAgICAgKyAnICsnICsgaHVuay5uZXdTdGFydCArICcsJyArIGh1bmsubmV3TGluZXNcbiAgICAgICsgJyBAQCdcbiAgICApO1xuICAgIHJldC5wdXNoLmFwcGx5KHJldCwgaHVuay5saW5lcyk7XG4gIH1cblxuICByZXR1cm4gcmV0LmpvaW4oJ1xcbicpICsgJ1xcbic7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVQYXRjaChmaWxlTmFtZSwgb2xkU3RyLCBuZXdTdHIsIG9sZEhlYWRlciwgbmV3SGVhZGVyLCBvcHRpb25zKSB7XG4gIHJldHVybiBjcmVhdGVUd29GaWxlc1BhdGNoKGZpbGVOYW1lLCBmaWxlTmFtZSwgb2xkU3RyLCBuZXdTdHIsIG9sZEhlYWRlciwgbmV3SGVhZGVyLCBvcHRpb25zKTtcbn1cbiJdfQ==
/***/ },
/* 627 */
/***/ function(module, exports) {
"use strict";
/*istanbul ignore start*/"use strict";exports.__esModule=true;exports["default"]=/*istanbul ignore end*/function(start,minLine,maxLine){var wantForward=true,backwardExhausted=false,forwardExhausted=false,localOffset=1;return function iterator(){if(wantForward&&!forwardExhausted){if(backwardExhausted){localOffset++;}else{wantForward=false;}// Check if trying to fit beyond text length, and if not, check it fits
// after offset location (or desired location on first iteration)
if(start+localOffset<=maxLine){return localOffset;}forwardExhausted=true;}if(!backwardExhausted){if(!forwardExhausted){wantForward=true;}// Check if trying to fit before text beginning, and if not, check it fits
// before offset location
if(minLine<=start-localOffset){return-localOffset++;}backwardExhausted=true;return iterator();}// We tried to fit hunk before text beginning and beyond text lenght, then
// hunk can't fit on the text. Return undefined
};};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2Rpc3RhbmNlLWl0ZXJhdG9yLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJ3R0FHZSxTQUFTLEFBQVQsTUFBZ0IsQUFBaEIsUUFBeUIsQUFBekIsUUFBa0MsQUFDL0MsSUFBSSxhQUFjLEFBQWxCLEtBQ0ksa0JBQW9CLEFBRHhCLE1BRUksaUJBQW1CLEFBRnZCLE1BR0ksWUFBYyxBQUhsQixBQUtBLFFBQU8sU0FBUyxBQUFULFdBQW9CLEFBQ3pCLElBQUksYUFBZSxDQUFDLEFBQXBCLGlCQUFzQyxBQUNwQyxJQUFJLEFBQUosa0JBQXVCLEFBQ3JCLENBQ0QsY0FGRCxLQUVPLEFBQ0wsYUFBYyxBQUFkLEFBQ0Q7QUFJRDtHQUFJLE1BQVEsQUFBUixhQUF1QixBQUEzQixRQUFvQyxBQUNsQyxPQUFPLEFBQVAsQUFDRCxhQUVELGtCQUFtQixBQUFuQixBQUNELEtBRUQsSUFBSSxDQUFDLEFBQUwsa0JBQXdCLEFBQ3RCLElBQUksQ0FBQyxBQUFMLGlCQUF1QixBQUNyQixhQUFjLEFBQWQsQUFDRDtBQUlEO0dBQUksU0FBVyxNQUFRLEFBQXZCLFlBQW9DLEFBQ2xDLE9BQU8sQ0FBQyxBQUFSLEFBQ0QsY0FFRCxtQkFBb0IsQUFBcEIsQUFDQSxXQUFPLEFBQVAsQUFDRDtBQUlGO0FBbENELEFBbUNELEUiLCJmaWxlIjoiZGlzdGFuY2UtaXRlcmF0b3IuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBJdGVyYXRvciB0aGF0IHRyYXZlcnNlcyBpbiB0aGUgcmFuZ2Ugb2YgW21pbiwgbWF4XSwgc3RlcHBpbmdcbi8vIGJ5IGRpc3RhbmNlIGZyb20gYSBnaXZlbiBzdGFydCBwb3NpdGlvbi4gSS5lLiBmb3IgWzAsIDRdLCB3aXRoXG4vLyBzdGFydCBvZiAyLCB0aGlzIHdpbGwgaXRlcmF0ZSAyLCAzLCAxLCA0LCAwLlxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oc3RhcnQsIG1pbkxpbmUsIG1heExpbmUpIHtcbiAgbGV0IHdhbnRGb3J3YXJkID0gdHJ1ZSxcbiAgICAgIGJhY2t3YXJkRXhoYXVzdGVkID0gZmFsc2UsXG4gICAgICBmb3J3YXJkRXhoYXVzdGVkID0gZmFsc2UsXG4gICAgICBsb2NhbE9mZnNldCA9IDE7XG5cbiAgcmV0dXJuIGZ1bmN0aW9uIGl0ZXJhdG9yKCkge1xuICAgIGlmICh3YW50Rm9yd2FyZCAmJiAhZm9yd2FyZEV4aGF1c3RlZCkge1xuICAgICAgaWYgKGJhY2t3YXJkRXhoYXVzdGVkKSB7XG4gICAgICAgIGxvY2FsT2Zmc2V0Kys7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB3YW50Rm9yd2FyZCA9IGZhbHNlO1xuICAgICAgfVxuXG4gICAgICAvLyBDaGVjayBpZiB0cnlpbmcgdG8gZml0IGJleW9uZCB0ZXh0IGxlbmd0aCwgYW5kIGlmIG5vdCwgY2hlY2sgaXQgZml0c1xuICAgICAgLy8gYWZ0ZXIgb2Zmc2V0IGxvY2F0aW9uIChvciBkZXNpcmVkIGxvY2F0aW9uIG9uIGZpcnN0IGl0ZXJhdGlvbilcbiAgICAgIGlmIChzdGFydCArIGxvY2FsT2Zmc2V0IDw9IG1heExpbmUpIHtcbiAgICAgICAgcmV0dXJuIGxvY2FsT2Zmc2V0O1xuICAgICAgfVxuXG4gICAgICBmb3J3YXJkRXhoYXVzdGVkID0gdHJ1ZTtcbiAgICB9XG5cbiAgICBpZiAoIWJhY2t3YXJkRXhoYXVzdGVkKSB7XG4gICAgICBpZiAoIWZvcndhcmRFeGhhdXN0ZWQpIHtcbiAgICAgICAgd2FudEZvcndhcmQgPSB0cnVlO1xuICAgICAgfVxuXG4gICAgICAvLyBDaGVjayBpZiB0cnlpbmcgdG8gZml0IGJlZm9yZSB0ZXh0IGJlZ2lubmluZywgYW5kIGlmIG5vdCwgY2hlY2sgaXQgZml0c1xuICAgICAgLy8gYmVmb3JlIG9mZnNldCBsb2NhdGlvblxuICAgICAgaWYgKG1pbkxpbmUgPD0gc3RhcnQgLSBsb2NhbE9mZnNldCkge1xuICAgICAgICByZXR1cm4gLWxvY2FsT2Zmc2V0Kys7XG4gICAgICB9XG5cbiAgICAgIGJhY2t3YXJkRXhoYXVzdGVkID0gdHJ1ZTtcbiAgICAgIHJldHVybiBpdGVyYXRvcigpO1xuICAgIH1cblxuICAgIC8vIFdlIHRyaWVkIHRvIGZpdCBodW5rIGJlZm9yZSB0ZXh0IGJlZ2lubmluZyBhbmQgYmV5b25kIHRleHQgbGVuZ2h0LCB0aGVuXG4gICAgLy8gaHVuayBjYW4ndCBmaXQgb24gdGhlIHRleHQuIFJldHVybiB1bmRlZmluZWRcbiAgfTtcbn1cbiJdfQ==
/***/ },
/* 628 */,
/* 629 */,
/* 630 */,
/* 631 */,
/* 632 */,
/* 633 */,
/* 634 */,
/* 635 */,
/* 636 */,
/* 637 */,
/* 638 */,
/* 639 */,
/* 640 */,
/* 641 */,
/* 642 */,
/* 643 */,
/* 644 */,
/* 645 */,
/* 646 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule camelize
* @typechecks
*/"use strict";var _hyphenPattern=/-(.)/g;/**
* Camelcases a hyphenated string, for example:
*
* > camelize('background-color')
* < "backgroundColor"
*
* @param {string} string
* @return {string}
*/function camelize(string){return string.replace(_hyphenPattern,function(_,character){return character.toUpperCase();});}module.exports=camelize;
/***/ },
/* 647 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule camelizeStyleName
* @typechecks
*/'use strict';var camelize=__webpack_require__(646);var msPattern=/^-ms-/;/**
* Camelcases a hyphenated CSS property name, for example:
*
* > camelizeStyleName('background-color')
* < "backgroundColor"
* > camelizeStyleName('-moz-transition')
* < "MozTransition"
* > camelizeStyleName('-ms-transition')
* < "msTransition"
*
* As Andi Smith suggests
* (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
* is converted to lowercase `ms`.
*
* @param {string} string
* @return {string}
*/function camelizeStyleName(string){return camelize(string.replace(msPattern,'ms-'));}module.exports=camelizeStyleName;
/***/ },
/* 648 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule createArrayFromMixed
* @typechecks
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var toArray=__webpack_require__(659);/**
* Perform a heuristic test to determine if an object is "array-like".
*
* A monk asked Joshu, a Zen master, "Has a dog Buddha nature?"
* Joshu replied: "Mu."
*
* This function determines if its argument has "array nature": it returns
* true if the argument is an actual array, an `arguments' object, or an
* HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).
*
* It will return false for other array-like objects like Filelist.
*
* @param {*} obj
* @return {boolean}
*/function hasArrayNature(obj){return(// not null/false
!!obj&&(// arrays are objects, NodeLists are functions in Safari
(typeof obj==='undefined'?'undefined':_typeof(obj))=='object'||typeof obj=='function')&&// quacks like an array
'length'in obj&&// not window
!('setInterval'in obj)&&// no DOM node should be considered an array-like
// a 'select' element has 'length' and 'item' properties on IE8
typeof obj.nodeType!='number'&&(// a real array
Array.isArray(obj)||// arguments
'callee'in obj||// HTMLCollection/NodeList
'item'in obj));}/**
* Ensure that the argument is an array by wrapping it in an array if it is not.
* Creates a copy of the argument if it is already an array.
*
* This is mostly useful idiomatically:
*
* var createArrayFromMixed = require('createArrayFromMixed');
*
* function takesOneOrMoreThings(things) {
* things = createArrayFromMixed(things);
* ...
* }
*
* This allows you to treat `things' as an array, but accept scalars in the API.
*
* If you need to convert an array-like object, like `arguments`, into an array
* use toArray instead.
*
* @param {*} obj
* @return {array}
*/function createArrayFromMixed(obj){if(!hasArrayNature(obj)){return[obj];}else if(Array.isArray(obj)){return obj.slice();}else{return toArray(obj);}}module.exports=createArrayFromMixed;
/***/ },
/* 649 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule createNodesFromMarkup
* @typechecks
*//*eslint-disable fb-www/unsafe-html*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var createArrayFromMixed=__webpack_require__(648);var getMarkupWrap=__webpack_require__(331);var invariant=__webpack_require__(6);/**
* Dummy container used to render all markup.
*/var dummyNode=ExecutionEnvironment.canUseDOM?document.createElement('div'):null;/**
* Pattern used by `getNodeName`.
*/var nodeNamePattern=/^\s*<(\w+)/;/**
* Extracts the `nodeName` of the first element in a string of markup.
*
* @param {string} markup String of markup.
* @return {?string} Node name of the supplied markup.
*/function getNodeName(markup){var nodeNameMatch=markup.match(nodeNamePattern);return nodeNameMatch&&nodeNameMatch[1].toLowerCase();}/**
* Creates an array containing the nodes rendered from the supplied markup. The
* optionally supplied `handleScript` function will be invoked once for each
* <script> element that is rendered. If no `handleScript` function is supplied,
* an exception is thrown if any <script> elements are rendered.
*
* @param {string} markup A string of valid HTML markup.
* @param {?function} handleScript Invoked once for each rendered <script>.
* @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.
*/function createNodesFromMarkup(markup,handleScript){var node=dummyNode;!!!dummyNode?process.env.NODE_ENV!=='production'?invariant(false,'createNodesFromMarkup dummy not initialized'):invariant(false):undefined;var nodeName=getNodeName(markup);var wrap=nodeName&&getMarkupWrap(nodeName);if(wrap){node.innerHTML=wrap[1]+markup+wrap[2];var wrapDepth=wrap[0];while(wrapDepth--){node=node.lastChild;}}else{node.innerHTML=markup;}var scripts=node.getElementsByTagName('script');if(scripts.length){!handleScript?process.env.NODE_ENV!=='production'?invariant(false,'createNodesFromMarkup(...): Unexpected <script> element rendered.'):invariant(false):undefined;createArrayFromMixed(scripts).forEach(handleScript);}var nodes=createArrayFromMixed(node.childNodes);while(node.lastChild){node.removeChild(node.lastChild);}return nodes;}module.exports=createNodesFromMarkup;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 650 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getUnboundedScrollPosition
* @typechecks
*/'use strict';/**
* Gets the scroll position of the supplied element or window.
*
* The return values are unbounded, unlike `getScrollPosition`. This means they
* may be negative or exceed the element boundaries (which is possible using
* inertial scrolling).
*
* @param {DOMWindow|DOMElement} scrollable
* @return {object} Map with `x` and `y` keys.
*/function getUnboundedScrollPosition(scrollable){if(scrollable===window){return{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop};}return{x:scrollable.scrollLeft,y:scrollable.scrollTop};}module.exports=getUnboundedScrollPosition;
/***/ },
/* 651 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule hyphenate
* @typechecks
*/'use strict';var _uppercasePattern=/([A-Z])/g;/**
* Hyphenates a camelcased string, for example:
*
* > hyphenate('backgroundColor')
* < "background-color"
*
* For CSS style names, use `hyphenateStyleName` instead which works properly
* with all vendor prefixes, including `ms`.
*
* @param {string} string
* @return {string}
*/function hyphenate(string){return string.replace(_uppercasePattern,'-$1').toLowerCase();}module.exports=hyphenate;
/***/ },
/* 652 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule hyphenateStyleName
* @typechecks
*/'use strict';var hyphenate=__webpack_require__(651);var msPattern=/^ms-/;/**
* Hyphenates a camelcased CSS property name, for example:
*
* > hyphenateStyleName('backgroundColor')
* < "background-color"
* > hyphenateStyleName('MozTransition')
* < "-moz-transition"
* > hyphenateStyleName('msTransition')
* < "-ms-transition"
*
* As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
* is converted to `-ms-`.
*
* @param {string} string
* @return {string}
*/function hyphenateStyleName(string){return hyphenate(string).replace(msPattern,'-ms-');}module.exports=hyphenateStyleName;
/***/ },
/* 653 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isNode
* @typechecks
*//**
* @param {*} object The object to check.
* @return {boolean} Whether or not the object is a DOM node.
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};function isNode(object){return!!(object&&(typeof Node==='function'?object instanceof Node:(typeof object==='undefined'?'undefined':_typeof(object))==='object'&&typeof object.nodeType==='number'&&typeof object.nodeName==='string'));}module.exports=isNode;
/***/ },
/* 654 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isTextNode
* @typechecks
*/'use strict';var isNode=__webpack_require__(653);/**
* @param {*} object The object to check.
* @return {boolean} Whether or not the object is a DOM text node.
*/function isTextNode(object){return isNode(object)&&object.nodeType==3;}module.exports=isTextNode;
/***/ },
/* 655 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule mapObject
*/'use strict';var hasOwnProperty=Object.prototype.hasOwnProperty;/**
* Executes the provided `callback` once for each enumerable own property in the
* object and constructs a new object from the results. The `callback` is
* invoked with three arguments:
*
* - the property value
* - the property name
* - the object being traversed
*
* Properties that are added after the call to `mapObject` will not be visited
* by `callback`. If the values of existing properties are changed, the value
* passed to `callback` will be the value at the time `mapObject` visits them.
* Properties that are deleted before being visited are not visited.
*
* @grep function objectMap()
* @grep function objMap()
*
* @param {?object} object
* @param {function} callback
* @param {*} context
* @return {?object}
*/function mapObject(object,callback,context){if(!object){return null;}var result={};for(var name in object){if(hasOwnProperty.call(object,name)){result[name]=callback.call(context,object[name],name,object);}}return result;}module.exports=mapObject;
/***/ },
/* 656 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule memoizeStringOnly
* @typechecks static-only
*/'use strict';/**
* Memoizes the return value of a function that accepts one string argument.
*
* @param {function} callback
* @return {function}
*/function memoizeStringOnly(callback){var cache={};return function(string){if(!cache.hasOwnProperty(string)){cache[string]=callback.call(this,string);}return cache[string];};}module.exports=memoizeStringOnly;
/***/ },
/* 657 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule performance
* @typechecks
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var performance;if(ExecutionEnvironment.canUseDOM){performance=window.performance||window.msPerformance||window.webkitPerformance;}module.exports=performance||{};
/***/ },
/* 658 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule performanceNow
* @typechecks
*/'use strict';var performance=__webpack_require__(657);var performanceNow;/**
* Detect if we can use `window.performance.now()` and gracefully fallback to
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
* because of Facebook's testing infrastructure.
*/if(performance.now){performanceNow=function performanceNow(){return performance.now();};}else{performanceNow=function performanceNow(){return Date.now();};}module.exports=performanceNow;
/***/ },
/* 659 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule toArray
* @typechecks
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var invariant=__webpack_require__(6);/**
* Convert array-like objects to arrays.
*
* This API assumes the caller knows the contents of the data type. For less
* well defined inputs use createArrayFromMixed.
*
* @param {object|function|filelist} obj
* @return {array}
*/function toArray(obj){var length=obj.length;// Some browse builtin objects can report typeof 'function' (e.g. NodeList in
// old versions of Safari).
!(!Array.isArray(obj)&&((typeof obj==='undefined'?'undefined':_typeof(obj))==='object'||typeof obj==='function'))?process.env.NODE_ENV!=='production'?invariant(false,'toArray: Array-like object expected'):invariant(false):undefined;!(typeof length==='number')?process.env.NODE_ENV!=='production'?invariant(false,'toArray: Object needs a length property'):invariant(false):undefined;!(length===0||length-1 in obj)?process.env.NODE_ENV!=='production'?invariant(false,'toArray: Object should have keys for indices'):invariant(false):undefined;// Old IE doesn't give collections access to hasOwnProperty. Assume inputs
// without method will throw during the slice call and skip straight to the
// fallback.
if(obj.hasOwnProperty){try{return Array.prototype.slice.call(obj);}catch(e){// IE < 9 does not support Array#slice on collections objects
}}// Fall back to copying key by key. This assumes all keys have a value,
// so will not preserve sparsely populated inputs.
var ret=Array(length);for(var ii=0;ii<length;ii++){ret[ii]=obj[ii];}return ret;}module.exports=toArray;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 660 */,
/* 661 */,
/* 662 */
/***/ function(module, exports) {
"use strict";
'use strict';var ERROR_MESSAGE='Function.prototype.bind called on incompatible ';var slice=Array.prototype.slice;var toStr=Object.prototype.toString;var funcType='[object Function]';module.exports=function bind(that){var target=this;if(typeof target!=='function'||toStr.call(target)!==funcType){throw new TypeError(ERROR_MESSAGE+target);}var args=slice.call(arguments,1);var bound;var binder=function binder(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));if(Object(result)===result){return result;}return this;}else{return target.apply(that,args.concat(slice.call(arguments)));}};var boundLength=Math.max(0,target.length-args.length);var boundArgs=[];for(var i=0;i<boundLength;i++){boundArgs.push('$'+i);}bound=Function('binder','return function ('+boundArgs.join(',')+'){ return binder.apply(this,arguments); }')(binder);if(target.prototype){var Empty=function Empty(){};Empty.prototype=target.prototype;bound.prototype=new Empty();Empty.prototype=null;}return bound;};
/***/ },
/* 663 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var implementation=__webpack_require__(662);module.exports=Function.prototype.bind||implementation;
/***/ },
/* 664 */,
/* 665 */,
/* 666 */,
/* 667 */,
/* 668 */,
/* 669 */,
/* 670 */,
/* 671 */,
/* 672 */,
/* 673 */,
/* 674 */,
/* 675 */,
/* 676 */,
/* 677 */,
/* 678 */,
/* 679 */,
/* 680 */,
/* 681 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-alphanumerical
* @fileoverview Check if a character is alphanumerical.
*/'use strict';/* eslint-env commonjs *//* Dependencies. */var alphabetical=__webpack_require__(139);var decimal=__webpack_require__(87);/* Expose. */module.exports=alphanumerical;/**
* Check whether the given character code, or the character
* code at the first character, is alphanumerical.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is alphanumerical.
*/function alphanumerical(character){return alphabetical(character)||decimal(character);}
/***/ },
/* 682 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-hexadecimal
* @fileoverview Check if a character is hexadecimal.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=hexadecimal;/**
* Check whether the given character code, or the character
* code at the first character, is hexadecimal.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is hexadecimal.
*/function hexadecimal(character){var code=typeof character==='string'?character.charCodeAt(0):character;return code>=97/* a */&&code<=102/* z */||code>=65/* A */&&code<=70/* Z */||code>=48/* A */&&code<=57/* Z */;}
/***/ },
/* 683 */,
/* 684 */,
/* 685 */,
/* 686 */,
/* 687 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module is-word-character
* @fileoverview Check if a character is a word character.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=wordCharacter;/* Methods. */var fromCode=String.fromCharCode;/* Constants. */var re=/\w/;/**
* Check whether the given character code, or the character
* code at the first character, is a word character.
*
* @param {string|number} character
* @return {boolean} - Whether `character` is a word character.
*/function wordCharacter(character){return re.test(typeof character==='number'?fromCode(character):character.charAt(0));}
/***/ },
/* 688 */,
/* 689 */,
/* 690 */,
/* 691 */,
/* 692 */,
/* 693 */,
/* 694 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _Symbol2=__webpack_require__(337);var _Symbol3=_interopRequireDefault(_Symbol2);var _getRawTag=__webpack_require__(697);var _getRawTag2=_interopRequireDefault(_getRawTag);var _objectToString=__webpack_require__(698);var _objectToString2=_interopRequireDefault(_objectToString);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** `Object#toString` result references. */var nullTag='[object Null]',undefinedTag='[object Undefined]';/** Built-in value references. */var symToStringTag=_Symbol3.default?_Symbol3.default.toStringTag:undefined;/**
* The base implementation of `getTag` without fallbacks for buggy environments.
*
* @private
* @param {*} value The value to query.
* @returns {string} Returns the `toStringTag`.
*/function baseGetTag(value){if(value==null){return value===undefined?undefinedTag:nullTag;}value=Object(value);return symToStringTag&&symToStringTag in value?(0,_getRawTag2.default)(value):(0,_objectToString2.default)(value);}exports.default=baseGetTag;
/***/ },
/* 695 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/** Detect free variable `global` from Node.js. */var freeGlobal=(typeof global==='undefined'?'undefined':_typeof(global))=='object'&&global&&global.Object===Object&&global;exports.default=freeGlobal;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))
/***/ },
/* 696 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _overArg=__webpack_require__(699);var _overArg2=_interopRequireDefault(_overArg);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** Built-in value references. */var getPrototype=(0,_overArg2.default)(Object.getPrototypeOf,Object);exports.default=getPrototype;
/***/ },
/* 697 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _Symbol2=__webpack_require__(337);var _Symbol3=_interopRequireDefault(_Symbol2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/var nativeObjectToString=objectProto.toString;/** Built-in value references. */var symToStringTag=_Symbol3.default?_Symbol3.default.toStringTag:undefined;/**
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
*
* @private
* @param {*} value The value to query.
* @returns {string} Returns the raw `toStringTag`.
*/function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=undefined;var unmasked=true;}catch(e){}var result=nativeObjectToString.call(value);if(unmasked){if(isOwn){value[symToStringTag]=tag;}else{delete value[symToStringTag];}}return result;}exports.default=getRawTag;
/***/ },
/* 698 */
/***/ function(module, exports) {
"use strict";
"use strict";Object.defineProperty(exports,"__esModule",{value:true});/** Used for built-in method references. */var objectProto=Object.prototype;/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/var nativeObjectToString=objectProto.toString;/**
* Converts `value` to a string using `Object.prototype.toString`.
*
* @private
* @param {*} value The value to convert.
* @returns {string} Returns the converted string.
*/function objectToString(value){return nativeObjectToString.call(value);}exports.default=objectToString;
/***/ },
/* 699 */
/***/ function(module, exports) {
"use strict";
"use strict";Object.defineProperty(exports,"__esModule",{value:true});/**
* Creates a unary function that invokes `func` with its argument transformed.
*
* @private
* @param {Function} func The function to wrap.
* @param {Function} transform The argument transform.
* @returns {Function} Returns the new function.
*/function overArg(func,transform){return function(arg){return func(transform(arg));};}exports.default=overArg;
/***/ },
/* 700 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var _freeGlobal=__webpack_require__(695);var _freeGlobal2=_interopRequireDefault(_freeGlobal);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/** Detect free variable `self`. */var freeSelf=(typeof self==='undefined'?'undefined':_typeof(self))=='object'&&self&&self.Object===Object&&self;/** Used as a reference to the global object. */var root=_freeGlobal2.default||freeSelf||Function('return this')();exports.default=root;
/***/ },
/* 701 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* Checks if `value` is object-like. A value is object-like if it's not `null`
* and has a `typeof` result of "object".
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
* @example
*
* _.isObjectLike({});
* // => true
*
* _.isObjectLike([1, 2, 3]);
* // => true
*
* _.isObjectLike(_.noop);
* // => false
*
* _.isObjectLike(null);
* // => false
*/function isObjectLike(value){return value!=null&&(typeof value==='undefined'?'undefined':_typeof(value))=='object';}exports.default=isObjectLike;
/***/ },
/* 702 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*//** Used as the `TypeError` message for "Functions" methods. */var FUNC_ERROR_TEXT='Expected a function';/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/** Used as references for various `Number` constants. */var INFINITY=1/0;/** `Object#toString` result references. */var funcTag='[object Function]',genTag='[object GeneratorFunction]',symbolTag='[object Symbol]';/** Used to match property names within property paths. */var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;/**
* Used to match `RegExp`
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
*/var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;/** Used to match backslashes in property paths. */var reEscapeChar=/\\(\\)?/g;/** Used to detect host constructors (Safari). */var reIsHostCtor=/^\[object .+?Constructor\]$/;/** Detect free variable `global` from Node.js. */var freeGlobal=(typeof global==='undefined'?'undefined':_typeof(global))=='object'&&global&&global.Object===Object&&global;/** Detect free variable `self`. */var freeSelf=(typeof self==='undefined'?'undefined':_typeof(self))=='object'&&self&&self.Object===Object&&self;/** Used as a reference to the global object. */var root=freeGlobal||freeSelf||Function('return this')();/**
* Gets the value at `key` of `object`.
*
* @private
* @param {Object} [object] The object to query.
* @param {string} key The key of the property to get.
* @returns {*} Returns the property value.
*/function getValue(object,key){return object==null?undefined:object[key];}/**
* Checks if `value` is a host object in IE < 9.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a host object, else `false`.
*/function isHostObject(value){// Many host objects are `Object` objects that can coerce to strings
// despite having improperly defined `toString` methods.
var result=false;if(value!=null&&typeof value.toString!='function'){try{result=!!(value+'');}catch(e){}}return result;}/** Used for built-in method references. */var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;/** Used to detect overreaching core-js shims. */var coreJsData=root['__core-js_shared__'];/** Used to detect methods masquerading as native. */var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||'');return uid?'Symbol(src)_1.'+uid:'';}();/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/var objectToString=objectProto.toString;/** Used to detect if a method is native. */var reIsNative=RegExp('^'+funcToString.call(hasOwnProperty).replace(reRegExpChar,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');/** Built-in value references. */var _Symbol=root.Symbol,splice=arrayProto.splice;/* Built-in method references that are verified to be native. */var Map=getNative(root,'Map'),nativeCreate=getNative(Object,'create');/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolToString=symbolProto?symbolProto.toString:undefined;/**
* Creates a hash object.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function Hash(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
* Removes all key-value entries from the hash.
*
* @private
* @name clear
* @memberOf Hash
*/function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};}/**
* Removes `key` and its value from the hash.
*
* @private
* @name delete
* @memberOf Hash
* @param {Object} hash The hash to modify.
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function hashDelete(key){return this.has(key)&&delete this.__data__[key];}/**
* Gets the hash value for `key`.
*
* @private
* @name get
* @memberOf Hash
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result;}return hasOwnProperty.call(data,key)?data[key]:undefined;}/**
* Checks if a hash value for `key` exists.
*
* @private
* @name has
* @memberOf Hash
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key);}/**
* Sets the hash `key` to `value`.
*
* @private
* @name set
* @memberOf Hash
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the hash instance.
*/function hashSet(key,value){var data=this.__data__;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this;}// Add methods to `Hash`.
Hash.prototype.clear=hashClear;Hash.prototype['delete']=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;/**
* Creates an list cache object.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function ListCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
* Removes all key-value entries from the list cache.
*
* @private
* @name clear
* @memberOf ListCache
*/function listCacheClear(){this.__data__=[];}/**
* Removes `key` and its value from the list cache.
*
* @private
* @name delete
* @memberOf ListCache
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){return false;}var lastIndex=data.length-1;if(index==lastIndex){data.pop();}else{splice.call(data,index,1);}return true;}/**
* Gets the list cache value for `key`.
*
* @private
* @name get
* @memberOf ListCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1];}/**
* Checks if a list cache value for `key` exists.
*
* @private
* @name has
* @memberOf ListCache
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1;}/**
* Sets the list cache `key` to `value`.
*
* @private
* @name set
* @memberOf ListCache
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the list cache instance.
*/function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){data.push([key,value]);}else{data[index][1]=value;}return this;}// Add methods to `ListCache`.
ListCache.prototype.clear=listCacheClear;ListCache.prototype['delete']=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;/**
* Creates a map cache object to store key-value pairs.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
* Removes all key-value entries from the map.
*
* @private
* @name clear
* @memberOf MapCache
*/function mapCacheClear(){this.__data__={'hash':new Hash(),'map':new(Map||ListCache)(),'string':new Hash()};}/**
* Removes `key` and its value from the map.
*
* @private
* @name delete
* @memberOf MapCache
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function mapCacheDelete(key){return getMapData(this,key)['delete'](key);}/**
* Gets the map value for `key`.
*
* @private
* @name get
* @memberOf MapCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function mapCacheGet(key){return getMapData(this,key).get(key);}/**
* Checks if a map value for `key` exists.
*
* @private
* @name has
* @memberOf MapCache
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function mapCacheHas(key){return getMapData(this,key).has(key);}/**
* Sets the map `key` to `value`.
*
* @private
* @name set
* @memberOf MapCache
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the map cache instance.
*/function mapCacheSet(key,value){getMapData(this,key).set(key,value);return this;}// Add methods to `MapCache`.
MapCache.prototype.clear=mapCacheClear;MapCache.prototype['delete']=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;/**
* Gets the index at which the `key` is found in `array` of key-value pairs.
*
* @private
* @param {Array} array The array to inspect.
* @param {*} key The key to search for.
* @returns {number} Returns the index of the matched value, else `-1`.
*/function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length;}}return-1;}/**
* The base implementation of `_.get` without support for default values.
*
* @private
* @param {Object} object The object to query.
* @param {Array|string} path The path of the property to get.
* @returns {*} Returns the resolved value.
*/function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);var index=0,length=path.length;while(object!=null&&index<length){object=object[toKey(path[index++])];}return index&&index==length?object:undefined;}/**
* The base implementation of `_.isNative` without bad shim checks.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a native function,
* else `false`.
*/function baseIsNative(value){if(!isObject(value)||isMasked(value)){return false;}var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value));}/**
* The base implementation of `_.toString` which doesn't convert nullish
* values to empty strings.
*
* @private
* @param {*} value The value to process.
* @returns {string} Returns the string.
*/function baseToString(value){// Exit early for strings to avoid a performance hit in some environments.
if(typeof value=='string'){return value;}if(isSymbol(value)){return symbolToString?symbolToString.call(value):'';}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
* Casts `value` to a path array if it's not one.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array} Returns the cast property path array.
*/function castPath(value){return isArray(value)?value:stringToPath(value);}/**
* Gets the data for `map`.
*
* @private
* @param {Object} map The map to query.
* @param {string} key The reference key.
* @returns {*} Returns the map data.
*/function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=='string'?'string':'hash']:data.map;}/**
* Gets the native function at `key` of `object`.
*
* @private
* @param {Object} object The object to query.
* @param {string} key The key of the method to get.
* @returns {*} Returns the function if it's native, else `undefined`.
*/function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined;}/**
* Checks if `value` is a property name and not a property path.
*
* @private
* @param {*} value The value to check.
* @param {Object} [object] The object to query keys on.
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
*/function isKey(value,object){if(isArray(value)){return false;}var type=typeof value==='undefined'?'undefined':_typeof(value);if(type=='number'||type=='symbol'||type=='boolean'||value==null||isSymbol(value)){return true;}return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object);}/**
* Checks if `value` is suitable for use as unique object key.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
*/function isKeyable(value){var type=typeof value==='undefined'?'undefined':_typeof(value);return type=='string'||type=='number'||type=='symbol'||type=='boolean'?value!=='__proto__':value===null;}/**
* Checks if `func` has its source masked.
*
* @private
* @param {Function} func The function to check.
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
*/function isMasked(func){return!!maskSrcKey&&maskSrcKey in func;}/**
* Converts `string` to a property path array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the property path array.
*/var stringToPath=memoize(function(string){string=toString(string);var result=[];if(reLeadingDot.test(string)){result.push('');}string.replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,'$1'):number||match);});return result;});/**
* Converts `value` to a string key if it's not a string or symbol.
*
* @private
* @param {*} value The value to inspect.
* @returns {string|symbol} Returns the key.
*/function toKey(value){if(typeof value=='string'||isSymbol(value)){return value;}var result=value+'';return result=='0'&&1/value==-INFINITY?'-0':result;}/**
* Converts `func` to its source code.
*
* @private
* @param {Function} func The function to process.
* @returns {string} Returns the source code.
*/function toSource(func){if(func!=null){try{return funcToString.call(func);}catch(e){}try{return func+'';}catch(e){}}return'';}/**
* Creates a function that memoizes the result of `func`. If `resolver` is
* provided, it determines the cache key for storing the result based on the
* arguments provided to the memoized function. By default, the first argument
* provided to the memoized function is used as the map cache key. The `func`
* is invoked with the `this` binding of the memoized function.
*
* **Note:** The cache is exposed as the `cache` property on the memoized
* function. Its creation may be customized by replacing the `_.memoize.Cache`
* constructor with one whose instances implement the
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
* method interface of `delete`, `get`, `has`, and `set`.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Function
* @param {Function} func The function to have its output memoized.
* @param {Function} [resolver] The function to resolve the cache key.
* @returns {Function} Returns the new memoized function.
* @example
*
* var object = { 'a': 1, 'b': 2 };
* var other = { 'c': 3, 'd': 4 };
*
* var values = _.memoize(_.values);
* values(object);
* // => [1, 2]
*
* values(other);
* // => [3, 4]
*
* object.a = 2;
* values(object);
* // => [1, 2]
*
* // Modify the result cache.
* values.cache.set(object, ['a', 'b']);
* values(object);
* // => ['a', 'b']
*
* // Replace `_.memoize.Cache`.
* _.memoize.Cache = WeakMap;
*/function memoize(func,resolver){if(typeof func!='function'||resolver&&typeof resolver!='function'){throw new TypeError(FUNC_ERROR_TEXT);}var memoized=function memoized(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key)){return cache.get(key);}var result=func.apply(this,args);memoized.cache=cache.set(key,result);return result;};memoized.cache=new(memoize.Cache||MapCache)();return memoized;}// Assign cache to `_.memoize`.
memoize.Cache=MapCache;/**
* Performs a
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* comparison between two values to determine if they are equivalent.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
* @example
*
* var object = { 'a': 1 };
* var other = { 'a': 1 };
*
* _.eq(object, object);
* // => true
*
* _.eq(object, other);
* // => false
*
* _.eq('a', 'a');
* // => true
*
* _.eq('a', Object('a'));
* // => false
*
* _.eq(NaN, NaN);
* // => true
*/function eq(value,other){return value===other||value!==value&&other!==other;}/**
* Checks if `value` is classified as an `Array` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
* @example
*
* _.isArray([1, 2, 3]);
* // => true
*
* _.isArray(document.body.children);
* // => false
*
* _.isArray('abc');
* // => false
*
* _.isArray(_.noop);
* // => false
*/var isArray=Array.isArray;/**
* Checks if `value` is classified as a `Function` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
* @example
*
* _.isFunction(_);
* // => true
*
* _.isFunction(/abc/);
* // => false
*/function isFunction(value){// The use of `Object#toString` avoids issues with the `typeof` operator
// in Safari 8-9 which returns 'object' for typed array and other constructors.
var tag=isObject(value)?objectToString.call(value):'';return tag==funcTag||tag==genTag;}/**
* Checks if `value` is the
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
* @example
*
* _.isObject({});
* // => true
*
* _.isObject([1, 2, 3]);
* // => true
*
* _.isObject(_.noop);
* // => true
*
* _.isObject(null);
* // => false
*/function isObject(value){var type=typeof value==='undefined'?'undefined':_typeof(value);return!!value&&(type=='object'||type=='function');}/**
* Checks if `value` is object-like. A value is object-like if it's not `null`
* and has a `typeof` result of "object".
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
* @example
*
* _.isObjectLike({});
* // => true
*
* _.isObjectLike([1, 2, 3]);
* // => true
*
* _.isObjectLike(_.noop);
* // => false
*
* _.isObjectLike(null);
* // => false
*/function isObjectLike(value){return!!value&&(typeof value==='undefined'?'undefined':_typeof(value))=='object';}/**
* Checks if `value` is classified as a `Symbol` primitive or object.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
* @example
*
* _.isSymbol(Symbol.iterator);
* // => true
*
* _.isSymbol('abc');
* // => false
*/function isSymbol(value){return(typeof value==='undefined'?'undefined':_typeof(value))=='symbol'||isObjectLike(value)&&objectToString.call(value)==symbolTag;}/**
* Converts `value` to a string. An empty string is returned for `null`
* and `undefined` values. The sign of `-0` is preserved.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to process.
* @returns {string} Returns the string.
* @example
*
* _.toString(null);
* // => ''
*
* _.toString(-0);
* // => '-0'
*
* _.toString([1, 2, 3]);
* // => '1,2,3'
*/function toString(value){return value==null?'':baseToString(value);}/**
* Gets the value at `path` of `object`. If the resolved value is
* `undefined`, the `defaultValue` is returned in its place.
*
* @static
* @memberOf _
* @since 3.7.0
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path of the property to get.
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
* @returns {*} Returns the resolved value.
* @example
*
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
*
* _.get(object, 'a[0].b.c');
* // => 3
*
* _.get(object, ['a', '0', 'b', 'c']);
* // => 3
*
* _.get(object, 'a.b.c', 'default');
* // => 'default'
*/function get(object,path,defaultValue){var result=object==null?undefined:baseGet(object,path);return result===undefined?defaultValue:result;}module.exports=get;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17)))
/***/ },
/* 703 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74),root=__webpack_require__(32);/* Built-in method references that are verified to be native. */var DataView=getNative(root,'DataView');module.exports=DataView;
/***/ },
/* 704 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var hashClear=__webpack_require__(783),hashDelete=__webpack_require__(784),hashGet=__webpack_require__(785),hashHas=__webpack_require__(786),hashSet=__webpack_require__(787);/**
* Creates a hash object.
*
* @private
* @constructor
* @param {Array} [entries] The key-value pairs to cache.
*/function Hash(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `Hash`.
Hash.prototype.clear=hashClear;Hash.prototype['delete']=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;module.exports=Hash;
/***/ },
/* 705 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getNative=__webpack_require__(74),root=__webpack_require__(32);/* Built-in method references that are verified to be native. */var Promise=getNative(root,'Promise');module.exports=Promise;
/***/ },
/* 706 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Adds the key-value `pair` to `map`.
*
* @private
* @param {Object} map The map to modify.
* @param {Array} pair The key-value pair to add.
* @returns {Object} Returns `map`.
*/function addMapEntry(map,pair){// Don't return `map.set` because it's not chainable in IE 11.
map.set(pair[0],pair[1]);return map;}module.exports=addMapEntry;
/***/ },
/* 707 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Adds `value` to `set`.
*
* @private
* @param {Object} set The set to modify.
* @param {*} value The value to add.
* @returns {Object} Returns `set`.
*/function addSetEntry(set,value){// Don't return `set.add` because it's not chainable in IE 11.
set.add(value);return set;}module.exports=addSetEntry;
/***/ },
/* 708 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.every` for arrays without support for
* iteratee shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {boolean} Returns `true` if all elements pass the predicate check,
* else `false`.
*/function arrayEvery(array,predicate){var index=-1,length=array==null?0:array.length;while(++index<length){if(!predicate(array[index],index,array)){return false;}}return true;}module.exports=arrayEvery;
/***/ },
/* 709 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.filter` for arrays without support for
* iteratee shorthands.
*
* @private
* @param {Array} [array] The array to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {Array} Returns the new filtered array.
*/function arrayFilter(array,predicate){var index=-1,length=array==null?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];if(predicate(value,index,array)){result[resIndex++]=value;}}return result;}module.exports=arrayFilter;
/***/ },
/* 710 */
/***/ function(module, exports) {
"use strict";
'use strict';/**
* Converts an ASCII `string` to an array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the converted array.
*/function asciiToArray(string){return string.split('');}module.exports=asciiToArray;
/***/ },
/* 711 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to match words composed of alphanumeric characters. */var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;/**
* Splits an ASCII `string` into an array of its words.
*
* @private
* @param {string} The string to inspect.
* @returns {Array} Returns the words of `string`.
*/function asciiWords(string){return string.match(reAsciiWord)||[];}module.exports=asciiWords;
/***/ },
/* 712 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var copyObject=__webpack_require__(90),keysIn=__webpack_require__(389);/**
* The base implementation of `_.assignIn` without support for multiple sources
* or `customizer` functions.
*
* @private
* @param {Object} object The destination object.
* @param {Object} source The source object.
* @returns {Object} Returns `object`.
*/function baseAssignIn(object,source){return object&&copyObject(source,keysIn(source),object);}module.exports=baseAssignIn;
/***/ },
/* 713 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseEach=__webpack_require__(89);/**
* The base implementation of `_.every` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {boolean} Returns `true` if all elements pass the predicate check,
* else `false`
*/function baseEvery(collection,predicate){var result=true;baseEach(collection,function(value,index,collection){result=!!predicate(value,index,collection);return result;});return result;}module.exports=baseEvery;
/***/ },
/* 714 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isSymbol=__webpack_require__(76);/**
* The base implementation of methods like `_.max` and `_.min` which accepts a
* `comparator` to determine the extremum value.
*
* @private
* @param {Array} array The array to iterate over.
* @param {Function} iteratee The iteratee invoked per iteration.
* @param {Function} comparator The comparator used to compare values.
* @returns {*} Returns the extremum value.
*/function baseExtremum(array,iteratee,comparator){var index=-1,length=array.length;while(++index<length){var value=array[index],current=iteratee(value);if(current!=null&&(computed===undefined?current===current&&!isSymbol(current):comparator(current,computed))){var computed=current,result=value;}}return result;}module.exports=baseExtremum;
/***/ },
/* 715 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseEach=__webpack_require__(89);/**
* The base implementation of `_.filter` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {Array} Returns the new filtered array.
*/function baseFilter(collection,predicate){var result=[];baseEach(collection,function(value,index,collection){if(predicate(value,index,collection)){result.push(value);}});return result;}module.exports=baseFilter;
/***/ },
/* 716 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createBaseFor=__webpack_require__(764);/**
* The base implementation of `baseForOwn` which iterates over `object`
* properties returned by `keysFunc` and invokes `iteratee` for each property.
* Iteratee functions may exit iteration early by explicitly returning `false`.
*
* @private
* @param {Object} object The object to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @param {Function} keysFunc The function to get the keys of `object`.
* @returns {Object} Returns `object`.
*/var baseFor=createBaseFor();module.exports=baseFor;
/***/ },
/* 717 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* The base implementation of `_.has` without support for deep paths.
*
* @private
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.
* @returns {boolean} Returns `true` if `key` exists, else `false`.
*/function baseHas(object,key){return object!=null&&hasOwnProperty.call(object,key);}module.exports=baseHas;
/***/ },
/* 718 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.hasIn` without support for deep paths.
*
* @private
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.
* @returns {boolean} Returns `true` if `key` exists, else `false`.
*/function baseHasIn(object,key){return object!=null&&key in Object(object);}module.exports=baseHasIn;
/***/ },
/* 719 */
/***/ function(module, exports) {
"use strict";
"use strict";/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMax=Math.max,nativeMin=Math.min;/**
* The base implementation of `_.inRange` which doesn't coerce arguments.
*
* @private
* @param {number} number The number to check.
* @param {number} start The start of the range.
* @param {number} end The end of the range.
* @returns {boolean} Returns `true` if `number` is in the range, else `false`.
*/function baseInRange(number,start,end){return number>=nativeMin(start,end)&&number<nativeMax(start,end);}module.exports=baseInRange;
/***/ },
/* 720 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var SetCache=__webpack_require__(143),arrayIncludes=__webpack_require__(145),arrayIncludesWith=__webpack_require__(215),arrayMap=__webpack_require__(44),baseUnary=__webpack_require__(152),cacheHas=__webpack_require__(153);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMin=Math.min;/**
* The base implementation of methods like `_.intersection`, without support
* for iteratee shorthands, that accepts an array of arrays to inspect.
*
* @private
* @param {Array} arrays The arrays to inspect.
* @param {Function} [iteratee] The iteratee invoked per element.
* @param {Function} [comparator] The comparator invoked per element.
* @returns {Array} Returns the new array of shared values.
*/function baseIntersection(arrays,iteratee,comparator){var includes=comparator?arrayIncludesWith:arrayIncludes,length=arrays[0].length,othLength=arrays.length,othIndex=othLength,caches=Array(othLength),maxLength=Infinity,result=[];while(othIndex--){var array=arrays[othIndex];if(othIndex&&iteratee){array=arrayMap(array,baseUnary(iteratee));}maxLength=nativeMin(array.length,maxLength);caches[othIndex]=!comparator&&(iteratee||length>=120&&array.length>=120)?new SetCache(othIndex&&array):undefined;}array=arrays[0];var index=-1,seen=caches[0];outer:while(++index<length&&result.length<maxLength){var value=array[index],computed=iteratee?iteratee(value):value;value=comparator||value!==0?value:0;if(!(seen?cacheHas(seen,computed):includes(result,computed,comparator))){othIndex=othLength;while(--othIndex){var cache=caches[othIndex];if(!(cache?cacheHas(cache,computed):includes(arrays[othIndex],computed,comparator))){continue outer;}}if(seen){seen.push(computed);}result.push(value);}}return result;}module.exports=baseIntersection;
/***/ },
/* 721 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var apply=__webpack_require__(144),castPath=__webpack_require__(73),last=__webpack_require__(390),parent=__webpack_require__(373),toKey=__webpack_require__(59);/**
* The base implementation of `_.invoke` without support for individual
* method arguments.
*
* @private
* @param {Object} object The object to query.
* @param {Array|string} path The path of the method to invoke.
* @param {Array} args The arguments to invoke the method with.
* @returns {*} Returns the result of the invoked method.
*/function baseInvoke(object,path,args){path=castPath(path,object);object=parent(object,path);var func=object==null?object:object[toKey(last(path))];return func==null?undefined:apply(func,object,args);}module.exports=baseInvoke;
/***/ },
/* 722 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var argsTag='[object Arguments]';/**
* The base implementation of `_.isArguments`.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
*/function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag;}module.exports=baseIsArguments;
/***/ },
/* 723 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Stack=__webpack_require__(214),equalArrays=__webpack_require__(360),equalByTag=__webpack_require__(775),equalObjects=__webpack_require__(776),getTag=__webpack_require__(226),isArray=__webpack_require__(9),isBuffer=__webpack_require__(114),isTypedArray=__webpack_require__(169);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1;/** `Object#toString` result references. */var argsTag='[object Arguments]',arrayTag='[object Array]',objectTag='[object Object]';/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* A specialized version of `baseIsEqual` for arrays and objects which performs
* deep comparisons and tracks traversed objects enabling objects with circular
* references to be compared.
*
* @private
* @param {Object} object The object to compare.
* @param {Object} other The other object to compare.
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
* @param {Function} customizer The function to customize comparisons.
* @param {Function} equalFunc The function to determine equivalents of values.
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
*/function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;if(!objIsArr){objTag=getTag(object);objTag=objTag==argsTag?objectTag:objTag;}if(!othIsArr){othTag=getTag(other);othTag=othTag==argsTag?objectTag:othTag;}var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other)){return false;}objIsArr=true;objIsObj=false;}if(isSameTag&&!objIsObj){stack||(stack=new Stack());return objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);}if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,'__wrapped__'),othIsWrapped=othIsObj&&hasOwnProperty.call(other,'__wrapped__');if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack());return equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack);}}if(!isSameTag){return false;}stack||(stack=new Stack());return equalObjects(object,other,bitmask,customizer,equalFunc,stack);}module.exports=baseIsEqualDeep;
/***/ },
/* 724 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Stack=__webpack_require__(214),baseIsEqual=__webpack_require__(220);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;/**
* The base implementation of `_.isMatch` without support for iteratee shorthands.
*
* @private
* @param {Object} object The object to inspect.
* @param {Object} source The object of property values to match.
* @param {Array} matchData The property names, values, and compare flags to match.
* @param {Function} [customizer] The function to customize comparisons.
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
*/function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(object==null){return!length;}object=Object(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object)){return false;}}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===undefined&&!(key in object)){return false;}}else{var stack=new Stack();if(customizer){var result=customizer(objValue,srcValue,key,object,source,stack);}if(!(result===undefined?baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG,customizer,stack):result)){return false;}}}return true;}module.exports=baseIsMatch;
/***/ },
/* 725 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.isNaN` without support for number objects.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
*/function baseIsNaN(value){return value!==value;}module.exports=baseIsNaN;
/***/ },
/* 726 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isFunction=__webpack_require__(47),isMasked=__webpack_require__(794),isObject=__webpack_require__(33),toSource=__webpack_require__(378);/**
* Used to match `RegExp`
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
*/var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;/** Used to detect host constructors (Safari). */var reIsHostCtor=/^\[object .+?Constructor\]$/;/** Used for built-in method references. */var funcProto=Function.prototype,objectProto=Object.prototype;/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/** Used to detect if a method is native. */var reIsNative=RegExp('^'+funcToString.call(hasOwnProperty).replace(reRegExpChar,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');/**
* The base implementation of `_.isNative` without bad shim checks.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a native function,
* else `false`.
*/function baseIsNative(value){if(!isObject(value)||isMasked(value)){return false;}var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value));}module.exports=baseIsNative;
/***/ },
/* 727 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetTag=__webpack_require__(58),isLength=__webpack_require__(233),isObjectLike=__webpack_require__(36);/** `Object#toString` result references. */var argsTag='[object Arguments]',arrayTag='[object Array]',boolTag='[object Boolean]',dateTag='[object Date]',errorTag='[object Error]',funcTag='[object Function]',mapTag='[object Map]',numberTag='[object Number]',objectTag='[object Object]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',weakMapTag='[object WeakMap]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]',float32Tag='[object Float32Array]',float64Tag='[object Float64Array]',int8Tag='[object Int8Array]',int16Tag='[object Int16Array]',int32Tag='[object Int32Array]',uint8Tag='[object Uint8Array]',uint8ClampedTag='[object Uint8ClampedArray]',uint16Tag='[object Uint16Array]',uint32Tag='[object Uint32Array]';/** Used to identify `toStringTag` values of typed arrays. */var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;/**
* The base implementation of `_.isTypedArray` without Node.js optimizations.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
*/function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)];}module.exports=baseIsTypedArray;
/***/ },
/* 728 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isObject=__webpack_require__(33),isPrototype=__webpack_require__(111),nativeKeysIn=__webpack_require__(808);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
*/function baseKeysIn(object){if(!isObject(object)){return nativeKeysIn(object);}var isProto=isPrototype(object),result=[];for(var key in object){if(!(key=='constructor'&&(isProto||!hasOwnProperty.call(object,key)))){result.push(key);}}return result;}module.exports=baseKeysIn;
/***/ },
/* 729 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.lt` which doesn't coerce arguments.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if `value` is less than `other`,
* else `false`.
*/function baseLt(value,other){return value<other;}module.exports=baseLt;
/***/ },
/* 730 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsMatch=__webpack_require__(724),getMatchData=__webpack_require__(778),matchesStrictComparable=__webpack_require__(370);/**
* The base implementation of `_.matches` which doesn't clone `source`.
*
* @private
* @param {Object} source The object of property values to match.
* @returns {Function} Returns the new spec function.
*/function baseMatches(source){var matchData=getMatchData(source);if(matchData.length==1&&matchData[0][2]){return matchesStrictComparable(matchData[0][0],matchData[0][1]);}return function(object){return object===source||baseIsMatch(object,source,matchData);};}module.exports=baseMatches;
/***/ },
/* 731 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIsEqual=__webpack_require__(220),get=__webpack_require__(91),hasIn=__webpack_require__(385),isKey=__webpack_require__(227),isStrictComparable=__webpack_require__(368),matchesStrictComparable=__webpack_require__(370),toKey=__webpack_require__(59);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;/**
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
*
* @private
* @param {string} path The path of the property to get.
* @param {*} srcValue The value to match.
* @returns {Function} Returns the new spec function.
*/function baseMatchesProperty(path,srcValue){if(isKey(path)&&isStrictComparable(srcValue)){return matchesStrictComparable(toKey(path),srcValue);}return function(object){var objValue=get(object,path);return objValue===undefined&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG);};}module.exports=baseMatchesProperty;
/***/ },
/* 732 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44),baseIteratee=__webpack_require__(38),baseMap=__webpack_require__(350),baseSortBy=__webpack_require__(742),baseUnary=__webpack_require__(152),compareMultiple=__webpack_require__(757),identity=__webpack_require__(60);/**
* The base implementation of `_.orderBy` without param guards.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
* @param {string[]} orders The sort orders of `iteratees`.
* @returns {Array} Returns the new sorted array.
*/function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(baseIteratee));var result=baseMap(collection,function(value,key,collection){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value);});return{'criteria':criteria,'index':++index,'value':value};});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders);});}module.exports=baseOrderBy;
/***/ },
/* 733 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var basePickBy=__webpack_require__(734),hasIn=__webpack_require__(385);/**
* The base implementation of `_.pick` without support for individual
* property identifiers.
*
* @private
* @param {Object} object The source object.
* @param {string[]} paths The property paths to pick.
* @returns {Object} Returns the new object.
*/function basePick(object,paths){object=Object(object);return basePickBy(object,paths,function(value,path){return hasIn(object,path);});}module.exports=basePick;
/***/ },
/* 734 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGet=__webpack_require__(150),baseSet=__webpack_require__(739),castPath=__webpack_require__(73);/**
* The base implementation of `_.pickBy` without support for iteratee shorthands.
*
* @private
* @param {Object} object The source object.
* @param {string[]} paths The property paths to pick.
* @param {Function} predicate The function invoked per property.
* @returns {Object} Returns the new object.
*/function basePickBy(object,paths,predicate){var index=-1,length=paths.length,result={};while(++index<length){var path=paths[index],value=baseGet(object,path);if(predicate(value,path)){baseSet(result,castPath(path,object),value);}}return result;}module.exports=basePickBy;
/***/ },
/* 735 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.property` without support for deep paths.
*
* @private
* @param {string} key The key of the property to get.
* @returns {Function} Returns the new accessor function.
*/function baseProperty(key){return function(object){return object==null?undefined:object[key];};}module.exports=baseProperty;
/***/ },
/* 736 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGet=__webpack_require__(150);/**
* A specialized version of `baseProperty` which supports deep paths.
*
* @private
* @param {Array|string} path The path of the property to get.
* @returns {Function} Returns the new accessor function.
*/function basePropertyDeep(path){return function(object){return baseGet(object,path);};}module.exports=basePropertyDeep;
/***/ },
/* 737 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.propertyOf` without support for deep paths.
*
* @private
* @param {Object} object The object to query.
* @returns {Function} Returns the new accessor function.
*/function basePropertyOf(object){return function(key){return object==null?undefined:object[key];};}module.exports=basePropertyOf;
/***/ },
/* 738 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.reduce` and `_.reduceRight`, without support
* for iteratee shorthands, which iterates over `collection` using `eachFunc`.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @param {*} accumulator The initial value.
* @param {boolean} initAccum Specify using the first or last element of
* `collection` as the initial value.
* @param {Function} eachFunc The function to iterate over `collection`.
* @returns {*} Returns the accumulated value.
*/function baseReduce(collection,iteratee,accumulator,initAccum,eachFunc){eachFunc(collection,function(value,index,collection){accumulator=initAccum?(initAccum=false,value):iteratee(accumulator,value,index,collection);});return accumulator;}module.exports=baseReduce;
/***/ },
/* 739 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assignValue=__webpack_require__(147),castPath=__webpack_require__(73),isIndex=__webpack_require__(110),isObject=__webpack_require__(33),toKey=__webpack_require__(59);/**
* The base implementation of `_.set`.
*
* @private
* @param {Object} object The object to modify.
* @param {Array|string} path The path of the property to set.
* @param {*} value The value to set.
* @param {Function} [customizer] The function to customize path creation.
* @returns {Object} Returns `object`.
*/function baseSet(object,path,value,customizer){if(!isObject(object)){return object;}path=castPath(path,object);var index=-1,length=path.length,lastIndex=length-1,nested=object;while(nested!=null&&++index<length){var key=toKey(path[index]),newValue=value;if(index!=lastIndex){var objValue=nested[key];newValue=customizer?customizer(objValue,key,nested):undefined;if(newValue===undefined){newValue=isObject(objValue)?objValue:isIndex(path[index+1])?[]:{};}}assignValue(nested,key,newValue);nested=nested[key];}return object;}module.exports=baseSet;
/***/ },
/* 740 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var constant=__webpack_require__(830),defineProperty=__webpack_require__(359),identity=__webpack_require__(60);/**
* The base implementation of `setToString` without support for hot loop shorting.
*
* @private
* @param {Function} func The function to modify.
* @param {Function} string The `toString` result.
* @returns {Function} Returns `func`.
*/var baseSetToString=!defineProperty?identity:function(func,string){return defineProperty(func,'toString',{'configurable':true,'enumerable':false,'value':constant(string),'writable':true});};module.exports=baseSetToString;
/***/ },
/* 741 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseEach=__webpack_require__(89);/**
* The base implementation of `_.some` without support for iteratee shorthands.
*
* @private
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} predicate The function invoked per iteration.
* @returns {boolean} Returns `true` if any element passes the predicate check,
* else `false`.
*/function baseSome(collection,predicate){var result;baseEach(collection,function(value,index,collection){result=predicate(value,index,collection);return!result;});return!!result;}module.exports=baseSome;
/***/ },
/* 742 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.sortBy` which uses `comparer` to define the
* sort order of `array` and replaces criteria objects with their corresponding
* values.
*
* @private
* @param {Array} array The array to sort.
* @param {Function} comparer The function to define sort order.
* @returns {Array} Returns `array`.
*/function baseSortBy(array,comparer){var length=array.length;array.sort(comparer);while(length--){array[length]=array[length].value;}return array;}module.exports=baseSortBy;
/***/ },
/* 743 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* The base implementation of `_.sum` and `_.sumBy` without support for
* iteratee shorthands.
*
* @private
* @param {Array} array The array to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {number} Returns the sum.
*/function baseSum(array,iteratee){var result,index=-1,length=array.length;while(++index<length){var current=iteratee(array[index]);if(current!==undefined){result=result===undefined?current:result+current;}}return result;}module.exports=baseSum;
/***/ },
/* 744 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var SetCache=__webpack_require__(143),arrayIncludes=__webpack_require__(145),arrayIncludesWith=__webpack_require__(215),cacheHas=__webpack_require__(153),createSet=__webpack_require__(773),setToArray=__webpack_require__(162);/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/**
* The base implementation of `_.uniqBy` without support for iteratee shorthands.
*
* @private
* @param {Array} array The array to inspect.
* @param {Function} [iteratee] The iteratee invoked per element.
* @param {Function} [comparator] The comparator invoked per element.
* @returns {Array} Returns the new duplicate free array.
*/function baseUniq(array,iteratee,comparator){var index=-1,includes=arrayIncludes,length=array.length,isCommon=true,result=[],seen=result;if(comparator){isCommon=false;includes=arrayIncludesWith;}else if(length>=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set){return setToArray(set);}isCommon=false;includes=cacheHas;seen=new SetCache();}else{seen=iteratee?[]:result;}outer:while(++index<length){var value=array[index],computed=iteratee?iteratee(value):value;value=comparator||value!==0?value:0;if(isCommon&&computed===computed){var seenIndex=seen.length;while(seenIndex--){if(seen[seenIndex]===computed){continue outer;}}if(iteratee){seen.push(computed);}result.push(value);}else if(!includes(seen,computed,comparator)){if(seen!==result){seen.push(computed);}result.push(value);}}return result;}module.exports=baseUniq;
/***/ },
/* 745 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var castPath=__webpack_require__(73),last=__webpack_require__(390),parent=__webpack_require__(373),toKey=__webpack_require__(59);/**
* The base implementation of `_.unset`.
*
* @private
* @param {Object} object The object to modify.
* @param {Array|string} path The property path to unset.
* @returns {boolean} Returns `true` if the property is deleted, else `false`.
*/function baseUnset(object,path){path=castPath(path,object);object=parent(object,path);return object==null||delete object[toKey(last(path))];}module.exports=baseUnset;
/***/ },
/* 746 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44);/**
* The base implementation of `_.values` and `_.valuesIn` which creates an
* array of `object` property values corresponding to the property names
* of `props`.
*
* @private
* @param {Object} object The object to query.
* @param {Array} props The property names to get values for.
* @returns {Object} Returns the array of property values.
*/function baseValues(object,props){return arrayMap(props,function(key){return object[key];});}module.exports=baseValues;
/***/ },
/* 747 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isArrayLikeObject=__webpack_require__(166);/**
* Casts `value` to an empty array if it's not an array like object.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array|Object} Returns the cast array-like object.
*/function castArrayLikeObject(value){return isArrayLikeObject(value)?value:[];}module.exports=castArrayLikeObject;
/***/ },
/* 748 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSlice=__webpack_require__(151);/**
* Casts `array` to a slice if it's needed.
*
* @private
* @param {Array} array The array to inspect.
* @param {number} start The start position.
* @param {number} [end=array.length] The end position.
* @returns {Array} Returns the cast slice.
*/function castSlice(array,start,end){var length=array.length;end=end===undefined?length:end;return!start&&end>=length?array:baseSlice(array,start,end);}module.exports=castSlice;
/***/ },
/* 749 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(module) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var root=__webpack_require__(32);/** Detect free variable `exports`. */var freeExports=( false?'undefined':_typeof(exports))=='object'&&exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&( false?'undefined':_typeof(module))=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Built-in value references. */var Buffer=moduleExports?root.Buffer:undefined,allocUnsafe=Buffer?Buffer.allocUnsafe:undefined;/**
* Creates a clone of `buffer`.
*
* @private
* @param {Buffer} buffer The buffer to clone.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Buffer} Returns the cloned buffer.
*/function cloneBuffer(buffer,isDeep){if(isDeep){return buffer.slice();}var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);buffer.copy(result);return result;}module.exports=cloneBuffer;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(101)(module)))
/***/ },
/* 750 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var cloneArrayBuffer=__webpack_require__(223);/**
* Creates a clone of `dataView`.
*
* @private
* @param {Object} dataView The data view to clone.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the cloned data view.
*/function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength);}module.exports=cloneDataView;
/***/ },
/* 751 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var addMapEntry=__webpack_require__(706),arrayReduce=__webpack_require__(146),mapToArray=__webpack_require__(369);/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1;/**
* Creates a clone of `map`.
*
* @private
* @param {Object} map The map to clone.
* @param {Function} cloneFunc The function to clone values.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the cloned map.
*/function cloneMap(map,isDeep,cloneFunc){var array=isDeep?cloneFunc(mapToArray(map),CLONE_DEEP_FLAG):mapToArray(map);return arrayReduce(array,addMapEntry,new map.constructor());}module.exports=cloneMap;
/***/ },
/* 752 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to match `RegExp` flags from their coerced string values. */var reFlags=/\w*$/;/**
* Creates a clone of `regexp`.
*
* @private
* @param {Object} regexp The regexp to clone.
* @returns {Object} Returns the cloned regexp.
*/function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result;}module.exports=cloneRegExp;
/***/ },
/* 753 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var addSetEntry=__webpack_require__(707),arrayReduce=__webpack_require__(146),setToArray=__webpack_require__(162);/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1;/**
* Creates a clone of `set`.
*
* @private
* @param {Object} set The set to clone.
* @param {Function} cloneFunc The function to clone values.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the cloned set.
*/function cloneSet(set,isDeep,cloneFunc){var array=isDeep?cloneFunc(setToArray(set),CLONE_DEEP_FLAG):setToArray(set);return arrayReduce(array,addSetEntry,new set.constructor());}module.exports=cloneSet;
/***/ },
/* 754 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88);/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined;/**
* Creates a clone of the `symbol` object.
*
* @private
* @param {Object} symbol The symbol object to clone.
* @returns {Object} Returns the cloned symbol object.
*/function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{};}module.exports=cloneSymbol;
/***/ },
/* 755 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var cloneArrayBuffer=__webpack_require__(223);/**
* Creates a clone of `typedArray`.
*
* @private
* @param {Object} typedArray The typed array to clone.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the cloned typed array.
*/function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length);}module.exports=cloneTypedArray;
/***/ },
/* 756 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isSymbol=__webpack_require__(76);/**
* Compares values to sort them in ascending order.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {number} Returns the sort order indicator for `value`.
*/function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive){return 1;}if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive){return-1;}}return 0;}module.exports=compareAscending;
/***/ },
/* 757 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var compareAscending=__webpack_require__(756);/**
* Used by `_.orderBy` to compare multiple properties of a value to another
* and stable sort them.
*
* If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
* specify an order of "desc" for descending or "asc" for ascending sort order
* of corresponding values.
*
* @private
* @param {Object} object The object to compare.
* @param {Object} other The other object to compare.
* @param {boolean[]|string[]} orders The order to sort by for each property.
* @returns {number} Returns the sort order indicator for `object`.
*/function compareMultiple(object,other,orders){var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;while(++index<length){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength){return result;}var order=orders[index];return result*(order=='desc'?-1:1);}}// Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
// that causes it, under certain circumstances, to provide the same value for
// `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
// for more details.
//
// This also ensures a stable sort in V8 and other engines.
// See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
return object.index-other.index;}module.exports=compareMultiple;
/***/ },
/* 758 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var copyObject=__webpack_require__(90),getSymbols=__webpack_require__(225);/**
* Copies own symbols of `source` to `object`.
*
* @private
* @param {Object} source The object to copy symbols from.
* @param {Object} [object={}] The object to copy symbols to.
* @returns {Object} Returns `object`.
*/function copySymbols(source,object){return copyObject(source,getSymbols(source),object);}module.exports=copySymbols;
/***/ },
/* 759 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var copyObject=__webpack_require__(90),getSymbolsIn=__webpack_require__(364);/**
* Copies own and inherited symbols of `source` to `object`.
*
* @private
* @param {Object} source The object to copy symbols from.
* @param {Object} [object={}] The object to copy symbols to.
* @returns {Object} Returns `object`.
*/function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object);}module.exports=copySymbolsIn;
/***/ },
/* 760 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var root=__webpack_require__(32);/** Used to detect overreaching core-js shims. */var coreJsData=root['__core-js_shared__'];module.exports=coreJsData;
/***/ },
/* 761 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Gets the number of `placeholder` occurrences in `array`.
*
* @private
* @param {Array} array The array to inspect.
* @param {*} placeholder The placeholder to search for.
* @returns {number} Returns the placeholder count.
*/function countHolders(array,placeholder){var length=array.length,result=0;while(length--){if(array[length]===placeholder){++result;}}return result;}module.exports=countHolders;
/***/ },
/* 762 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseRest=__webpack_require__(45),isIterateeCall=__webpack_require__(160);/**
* Creates a function like `_.assign`.
*
* @private
* @param {Function} assigner The function to assign values.
* @returns {Function} Returns the new assigner function.
*/function createAssigner(assigner){return baseRest(function(object,sources){var index=-1,length=sources.length,customizer=length>1?sources[length-1]:undefined,guard=length>2?sources[2]:undefined;customizer=assigner.length>3&&typeof customizer=='function'?(length--,customizer):undefined;if(guard&&isIterateeCall(sources[0],sources[1],guard)){customizer=length<3?undefined:customizer;length=1;}object=Object(object);while(++index<length){var source=sources[index];if(source){assigner(object,source,index,customizer);}}return object;});}module.exports=createAssigner;
/***/ },
/* 763 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isArrayLike=__webpack_require__(41);/**
* Creates a `baseEach` or `baseEachRight` function.
*
* @private
* @param {Function} eachFunc The function to iterate over a collection.
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {Function} Returns the new base function.
*/function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(collection==null){return collection;}if(!isArrayLike(collection)){return eachFunc(collection,iteratee);}var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);while(fromRight?index--:++index<length){if(iteratee(iterable[index],index,iterable)===false){break;}}return collection;};}module.exports=createBaseEach;
/***/ },
/* 764 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
*
* @private
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {Function} Returns the new base function.
*/function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;while(length--){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===false){break;}}return object;};}module.exports=createBaseFor;
/***/ },
/* 765 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createCtor=__webpack_require__(155),root=__webpack_require__(32);/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1;/**
* Creates a function that wraps `func` to invoke it with the optional `this`
* binding of `thisArg`.
*
* @private
* @param {Function} func The function to wrap.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @param {*} [thisArg] The `this` binding of `func`.
* @returns {Function} Returns the new wrapped function.
*/function createBind(func,bitmask,thisArg){var isBind=bitmask&WRAP_BIND_FLAG,Ctor=createCtor(func);function wrapper(){var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return fn.apply(isBind?thisArg:this,arguments);}return wrapper;}module.exports=createBind;
/***/ },
/* 766 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var castSlice=__webpack_require__(748),hasUnicode=__webpack_require__(366),stringToArray=__webpack_require__(821),toString=__webpack_require__(61);/**
* Creates a function like `_.lowerFirst`.
*
* @private
* @param {string} methodName The name of the `String` case method to use.
* @returns {Function} Returns the new case function.
*/function createCaseFirst(methodName){return function(string){string=toString(string);var strSymbols=hasUnicode(string)?stringToArray(string):undefined;var chr=strSymbols?strSymbols[0]:string.charAt(0);var trailing=strSymbols?castSlice(strSymbols,1).join(''):string.slice(1);return chr[methodName]()+trailing;};}module.exports=createCaseFirst;
/***/ },
/* 767 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayReduce=__webpack_require__(146),deburr=__webpack_require__(831),words=__webpack_require__(879);/** Used to compose unicode capture groups. */var rsApos='[\'\u2019]';/** Used to match apostrophes. */var reApos=RegExp(rsApos,'g');/**
* Creates a function like `_.camelCase`.
*
* @private
* @param {Function} callback The function to combine each word.
* @returns {Function} Returns the new compounder function.
*/function createCompounder(callback){return function(string){return arrayReduce(words(deburr(string).replace(reApos,'')),callback,'');};}module.exports=createCompounder;
/***/ },
/* 768 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var apply=__webpack_require__(144),createCtor=__webpack_require__(155),createHybrid=__webpack_require__(357),createRecurry=__webpack_require__(358),getHolder=__webpack_require__(157),replaceHolders=__webpack_require__(112),root=__webpack_require__(32);/**
* Creates a function that wraps `func` to enable currying.
*
* @private
* @param {Function} func The function to wrap.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @param {number} arity The arity of `func`.
* @returns {Function} Returns the new wrapped function.
*/function createCurry(func,bitmask,arity){var Ctor=createCtor(func);function wrapper(){var length=arguments.length,args=Array(length),index=length,placeholder=getHolder(wrapper);while(index--){args[index]=arguments[index];}var holders=length<3&&args[0]!==placeholder&&args[length-1]!==placeholder?[]:replaceHolders(args,placeholder);length-=holders.length;if(length<arity){return createRecurry(func,bitmask,createHybrid,wrapper.placeholder,undefined,args,holders,undefined,undefined,arity-length);}var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return apply(fn,this,args);}return wrapper;}module.exports=createCurry;
/***/ },
/* 769 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseIteratee=__webpack_require__(38),isArrayLike=__webpack_require__(41),keys=__webpack_require__(24);/**
* Creates a `_.find` or `_.findLast` function.
*
* @private
* @param {Function} findIndexFunc The function to find the collection index.
* @returns {Function} Returns the new find function.
*/function createFind(findIndexFunc){return function(collection,predicate,fromIndex){var iterable=Object(collection);if(!isArrayLike(collection)){var iteratee=baseIteratee(predicate,3);collection=keys(collection);predicate=function predicate(key){return iteratee(iterable[key],key,iterable);};}var index=findIndexFunc(collection,predicate,fromIndex);return index>-1?iterable[iteratee?collection[index]:index]:undefined;};}module.exports=createFind;
/***/ },
/* 770 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var LodashWrapper=__webpack_require__(211),flatRest=__webpack_require__(156),getData=__webpack_require__(224),getFuncName=__webpack_require__(363),isArray=__webpack_require__(9),isLaziable=__webpack_require__(367);/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/** Error message constants. */var FUNC_ERROR_TEXT='Expected a function';/** Used to compose bitmasks for function metadata. */var WRAP_CURRY_FLAG=8,WRAP_PARTIAL_FLAG=32,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256;/**
* Creates a `_.flow` or `_.flowRight` function.
*
* @private
* @param {boolean} [fromRight] Specify iterating from right to left.
* @returns {Function} Returns the new flow function.
*/function createFlow(fromRight){return flatRest(function(funcs){var length=funcs.length,index=length,prereq=LodashWrapper.prototype.thru;if(fromRight){funcs.reverse();}while(index--){var func=funcs[index];if(typeof func!='function'){throw new TypeError(FUNC_ERROR_TEXT);}if(prereq&&!wrapper&&getFuncName(func)=='wrapper'){var wrapper=new LodashWrapper([],true);}}index=wrapper?index:length;while(++index<length){func=funcs[index];var funcName=getFuncName(func),data=funcName=='wrapper'?getData(func):undefined;if(data&&isLaziable(data[0])&&data[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG|WRAP_REARG_FLAG)&&!data[4].length&&data[9]==1){wrapper=wrapper[getFuncName(data[0])].apply(wrapper,data[3]);}else{wrapper=func.length==1&&isLaziable(func)?wrapper[funcName]():wrapper.thru(func);}}return function(){var args=arguments,value=args[0];if(wrapper&&args.length==1&&isArray(value)&&value.length>=LARGE_ARRAY_SIZE){return wrapper.plant(value).value();}var index=0,result=length?funcs[index].apply(this,args):value;while(++index<length){result=funcs[index].call(this,result);}return result;};});}module.exports=createFlow;
/***/ },
/* 771 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var apply=__webpack_require__(144),createCtor=__webpack_require__(155),root=__webpack_require__(32);/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1;/**
* Creates a function that wraps `func` to invoke it with the `this` binding
* of `thisArg` and `partials` prepended to the arguments it receives.
*
* @private
* @param {Function} func The function to wrap.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @param {*} thisArg The `this` binding of `func`.
* @param {Array} partials The arguments to prepend to those provided to
* the new function.
* @returns {Function} Returns the new wrapped function.
*/function createPartial(func,bitmask,thisArg,partials){var isBind=bitmask&WRAP_BIND_FLAG,Ctor=createCtor(func);function wrapper(){var argsIndex=-1,argsLength=arguments.length,leftIndex=-1,leftLength=partials.length,args=Array(leftLength+argsLength),fn=this&&this!==root&&this instanceof wrapper?Ctor:func;while(++leftIndex<leftLength){args[leftIndex]=partials[leftIndex];}while(argsLength--){args[leftIndex++]=arguments[++argsIndex];}return apply(fn,isBind?thisArg:this,args);}return wrapper;}module.exports=createPartial;
/***/ },
/* 772 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var toInteger=__webpack_require__(48),toNumber=__webpack_require__(173),toString=__webpack_require__(61);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMin=Math.min;/**
* Creates a function like `_.round`.
*
* @private
* @param {string} methodName The name of the `Math` method to use when rounding.
* @returns {Function} Returns the new round function.
*/function createRound(methodName){var func=Math[methodName];return function(number,precision){number=toNumber(number);precision=nativeMin(toInteger(precision),292);if(precision){// Shift with exponential notation to avoid floating-point issues.
// See [MDN](https://mdn.io/round#Examples) for more details.
var pair=(toString(number)+'e').split('e'),value=func(pair[0]+'e'+(+pair[1]+precision));pair=(toString(value)+'e').split('e');return+(pair[0]+'e'+(+pair[1]-precision));}return func(number);};}module.exports=createRound;
/***/ },
/* 773 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Set=__webpack_require__(339),noop=__webpack_require__(391),setToArray=__webpack_require__(162);/** Used as references for various `Number` constants. */var INFINITY=1/0;/**
* Creates a set object of `values`.
*
* @private
* @param {Array} values The values to add to the set.
* @returns {Object} Returns the new set.
*/var createSet=!(Set&&1/setToArray(new Set([,-0]))[1]==INFINITY)?noop:function(values){return new Set(values);};module.exports=createSet;
/***/ },
/* 774 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var basePropertyOf=__webpack_require__(737);/** Used to map Latin Unicode letters to basic Latin letters. */var deburredLetters={// Latin-1 Supplement block.
'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',// Latin Extended-A block.
'\u0100':'A','\u0102':'A','\u0104':'A','\u0101':'a','\u0103':'a','\u0105':'a','\u0106':'C','\u0108':'C','\u010A':'C','\u010C':'C','\u0107':'c','\u0109':'c','\u010B':'c','\u010D':'c','\u010E':'D','\u0110':'D','\u010F':'d','\u0111':'d','\u0112':'E','\u0114':'E','\u0116':'E','\u0118':'E','\u011A':'E','\u0113':'e','\u0115':'e','\u0117':'e','\u0119':'e','\u011B':'e','\u011C':'G','\u011E':'G','\u0120':'G','\u0122':'G','\u011D':'g','\u011F':'g','\u0121':'g','\u0123':'g','\u0124':'H','\u0126':'H','\u0125':'h','\u0127':'h','\u0128':'I','\u012A':'I','\u012C':'I','\u012E':'I','\u0130':'I','\u0129':'i','\u012B':'i','\u012D':'i','\u012F':'i','\u0131':'i','\u0134':'J','\u0135':'j','\u0136':'K','\u0137':'k','\u0138':'k','\u0139':'L','\u013B':'L','\u013D':'L','\u013F':'L','\u0141':'L','\u013A':'l','\u013C':'l','\u013E':'l','\u0140':'l','\u0142':'l','\u0143':'N','\u0145':'N','\u0147':'N','\u014A':'N','\u0144':'n','\u0146':'n','\u0148':'n','\u014B':'n','\u014C':'O','\u014E':'O','\u0150':'O','\u014D':'o','\u014F':'o','\u0151':'o','\u0154':'R','\u0156':'R','\u0158':'R','\u0155':'r','\u0157':'r','\u0159':'r','\u015A':'S','\u015C':'S','\u015E':'S','\u0160':'S','\u015B':'s','\u015D':'s','\u015F':'s','\u0161':'s','\u0162':'T','\u0164':'T','\u0166':'T','\u0163':'t','\u0165':'t','\u0167':'t','\u0168':'U','\u016A':'U','\u016C':'U','\u016E':'U','\u0170':'U','\u0172':'U','\u0169':'u','\u016B':'u','\u016D':'u','\u016F':'u','\u0171':'u','\u0173':'u','\u0174':'W','\u0175':'w','\u0176':'Y','\u0177':'y','\u0178':'Y','\u0179':'Z','\u017B':'Z','\u017D':'Z','\u017A':'z','\u017C':'z','\u017E':'z','\u0132':'IJ','\u0133':'ij','\u0152':'Oe','\u0153':'oe','\u0149':"'n",'\u017F':'s'};/**
* Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
* letters to basic Latin letters.
*
* @private
* @param {string} letter The matched letter to deburr.
* @returns {string} Returns the deburred letter.
*/var deburrLetter=basePropertyOf(deburredLetters);module.exports=deburrLetter;
/***/ },
/* 775 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88),Uint8Array=__webpack_require__(340),eq=__webpack_require__(113),equalArrays=__webpack_require__(360),mapToArray=__webpack_require__(369),setToArray=__webpack_require__(162);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;/** `Object#toString` result references. */var boolTag='[object Boolean]',dateTag='[object Date]',errorTag='[object Error]',mapTag='[object Map]',numberTag='[object Number]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',symbolTag='[object Symbol]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]';/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined;/**
* A specialized version of `baseIsEqualDeep` for comparing objects of
* the same `toStringTag`.
*
* **Note:** This function only supports comparing values with tags of
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
*
* @private
* @param {Object} object The object to compare.
* @param {Object} other The other object to compare.
* @param {string} tag The `toStringTag` of the objects to compare.
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
* @param {Function} customizer The function to customize comparisons.
* @param {Function} equalFunc The function to determine equivalents of values.
* @param {Object} stack Tracks traversed `object` and `other` objects.
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
*/function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset){return false;}object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other))){return false;}return true;case boolTag:case dateTag:case numberTag:// Coerce booleans to `1` or `0` and dates to milliseconds.
// Invalid dates are coerced to `NaN`.
return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:// Coerce regexes to strings and treat strings, primitives and objects,
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
// for more details.
return object==other+'';case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial){return false;}// Assume cyclic values are equal.
var stacked=stack.get(object);if(stacked){return stacked==other;}bitmask|=COMPARE_UNORDERED_FLAG;// Recursively compare objects (susceptible to call stack limits).
stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);stack['delete'](object);return result;case symbolTag:if(symbolValueOf){return symbolValueOf.call(object)==symbolValueOf.call(other);}}return false;}module.exports=equalByTag;
/***/ },
/* 776 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var keys=__webpack_require__(24);/** Used to compose bitmasks for value comparisons. */var COMPARE_PARTIAL_FLAG=1;/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* A specialized version of `baseIsEqualDeep` for objects with support for
* partial deep comparisons.
*
* @private
* @param {Object} object The object to compare.
* @param {Object} other The other object to compare.
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
* @param {Function} customizer The function to customize comparisons.
* @param {Function} equalFunc The function to determine equivalents of values.
* @param {Object} stack Tracks traversed `object` and `other` objects.
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
*/function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial){return false;}var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key))){return false;}}// Assume cyclic values are equal.
var stacked=stack.get(object);if(stacked&&stack.get(other)){return stacked==other;}var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer){var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);}// Recursively compare objects (susceptible to call stack limits).
if(!(compared===undefined?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=false;break;}skipCtor||(skipCtor=key=='constructor');}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;// Non `Object` object instances with different constructors are not equal.
if(objCtor!=othCtor&&'constructor'in object&&'constructor'in other&&!(typeof objCtor=='function'&&objCtor instanceof objCtor&&typeof othCtor=='function'&&othCtor instanceof othCtor)){result=false;}}stack['delete'](object);stack['delete'](other);return result;}module.exports=equalObjects;
/***/ },
/* 777 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseGetAllKeys=__webpack_require__(348),getSymbols=__webpack_require__(225),keys=__webpack_require__(24);/**
* Creates an array of own enumerable property names and symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names and symbols.
*/function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols);}module.exports=getAllKeys;
/***/ },
/* 778 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var isStrictComparable=__webpack_require__(368),keys=__webpack_require__(24);/**
* Gets the property names, values, and compare flags of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the match data of `object`.
*/function getMatchData(object){var result=keys(object),length=result.length;while(length--){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)];}return result;}module.exports=getMatchData;
/***/ },
/* 779 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/var nativeObjectToString=objectProto.toString;/** Built-in value references. */var symToStringTag=_Symbol?_Symbol.toStringTag:undefined;/**
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
*
* @private
* @param {*} value The value to query.
* @returns {string} Returns the raw `toStringTag`.
*/function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=undefined;var unmasked=true;}catch(e){}var result=nativeObjectToString.call(value);if(unmasked){if(isOwn){value[symToStringTag]=tag;}else{delete value[symToStringTag];}}return result;}module.exports=getRawTag;
/***/ },
/* 780 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Gets the value at `key` of `object`.
*
* @private
* @param {Object} [object] The object to query.
* @param {string} key The key of the property to get.
* @returns {*} Returns the property value.
*/function getValue(object,key){return object==null?undefined:object[key];}module.exports=getValue;
/***/ },
/* 781 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to match wrap detail comments. */var reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;/**
* Extracts wrapper details from the `source` body comment.
*
* @private
* @param {string} source The source to inspect.
* @returns {Array} Returns the wrapper details.
*/function getWrapDetails(source){var match=source.match(reWrapDetails);return match?match[1].split(reSplitDetails):[];}module.exports=getWrapDetails;
/***/ },
/* 782 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to detect strings that need a more robust regexp to match words. */var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;/**
* Checks if `string` contains a word composed of Unicode symbols.
*
* @private
* @param {string} string The string to inspect.
* @returns {boolean} Returns `true` if a word is found, else `false`.
*/function hasUnicodeWord(string){return reHasUnicodeWord.test(string);}module.exports=hasUnicodeWord;
/***/ },
/* 783 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var nativeCreate=__webpack_require__(161);/**
* Removes all key-value entries from the hash.
*
* @private
* @name clear
* @memberOf Hash
*/function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};this.size=0;}module.exports=hashClear;
/***/ },
/* 784 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Removes `key` and its value from the hash.
*
* @private
* @name delete
* @memberOf Hash
* @param {Object} hash The hash to modify.
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result;}module.exports=hashDelete;
/***/ },
/* 785 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var nativeCreate=__webpack_require__(161);/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Gets the hash value for `key`.
*
* @private
* @name get
* @memberOf Hash
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result;}return hasOwnProperty.call(data,key)?data[key]:undefined;}module.exports=hashGet;
/***/ },
/* 786 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var nativeCreate=__webpack_require__(161);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Checks if a hash value for `key` exists.
*
* @private
* @name has
* @memberOf Hash
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key);}module.exports=hashHas;
/***/ },
/* 787 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var nativeCreate=__webpack_require__(161);/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/**
* Sets the hash `key` to `value`.
*
* @private
* @name set
* @memberOf Hash
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the hash instance.
*/function hashSet(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this;}module.exports=hashSet;
/***/ },
/* 788 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Initializes an array clone.
*
* @private
* @param {Array} array The array to clone.
* @returns {Array} Returns the initialized clone.
*/function initCloneArray(array){var length=array.length,result=array.constructor(length);// Add properties assigned by `RegExp#exec`.
if(length&&typeof array[0]=='string'&&hasOwnProperty.call(array,'index')){result.index=array.index;result.input=array.input;}return result;}module.exports=initCloneArray;
/***/ },
/* 789 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var cloneArrayBuffer=__webpack_require__(223),cloneDataView=__webpack_require__(750),cloneMap=__webpack_require__(751),cloneRegExp=__webpack_require__(752),cloneSet=__webpack_require__(753),cloneSymbol=__webpack_require__(754),cloneTypedArray=__webpack_require__(755);/** `Object#toString` result references. */var boolTag='[object Boolean]',dateTag='[object Date]',mapTag='[object Map]',numberTag='[object Number]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',symbolTag='[object Symbol]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]',float32Tag='[object Float32Array]',float64Tag='[object Float64Array]',int8Tag='[object Int8Array]',int16Tag='[object Int16Array]',int32Tag='[object Int32Array]',uint8Tag='[object Uint8Array]',uint8ClampedTag='[object Uint8ClampedArray]',uint16Tag='[object Uint16Array]',uint32Tag='[object Uint32Array]';/**
* Initializes an object clone based on its `toStringTag`.
*
* **Note:** This function only supports cloning values with tags of
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
*
* @private
* @param {Object} object The object to clone.
* @param {string} tag The `toStringTag` of the object to clone.
* @param {Function} cloneFunc The function to clone values.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the initialized clone.
*/function initCloneByTag(object,tag,cloneFunc,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return cloneMap(object,isDeep,cloneFunc);case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return cloneSet(object,isDeep,cloneFunc);case symbolTag:return cloneSymbol(object);}}module.exports=initCloneByTag;
/***/ },
/* 790 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseCreate=__webpack_require__(108),getPrototype=__webpack_require__(159),isPrototype=__webpack_require__(111);/**
* Initializes an object clone.
*
* @private
* @param {Object} object The object to clone.
* @returns {Object} Returns the initialized clone.
*/function initCloneObject(object){return typeof object.constructor=='function'&&!isPrototype(object)?baseCreate(getPrototype(object)):{};}module.exports=initCloneObject;
/***/ },
/* 791 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to match wrap detail comments. */var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;/**
* Inserts wrapper `details` in a comment at the top of the `source` body.
*
* @private
* @param {string} source The source to modify.
* @returns {Array} details The details to insert.
* @returns {string} Returns the modified source.
*/function insertWrapDetails(source,details){var length=details.length;if(!length){return source;}var lastIndex=length-1;details[lastIndex]=(length>1?'& ':'')+details[lastIndex];details=details.join(length>2?', ':' ');return source.replace(reWrapComment,'{\n/* [wrapped with '+details+'] */\n');}module.exports=insertWrapDetails;
/***/ },
/* 792 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _Symbol=__webpack_require__(88),isArguments=__webpack_require__(165),isArray=__webpack_require__(9);/** Built-in value references. */var spreadableSymbol=_Symbol?_Symbol.isConcatSpreadable:undefined;/**
* Checks if `value` is a flattenable `arguments` object or array.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
*/function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol]);}module.exports=isFlattenable;
/***/ },
/* 793 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* Checks if `value` is suitable for use as unique object key.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
*/function isKeyable(value){var type=typeof value==='undefined'?'undefined':_typeof(value);return type=='string'||type=='number'||type=='symbol'||type=='boolean'?value!=='__proto__':value===null;}module.exports=isKeyable;
/***/ },
/* 794 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var coreJsData=__webpack_require__(760);/** Used to detect methods masquerading as native. */var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||'');return uid?'Symbol(src)_1.'+uid:'';}();/**
* Checks if `func` has its source masked.
*
* @private
* @param {Function} func The function to check.
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
*/function isMasked(func){return!!maskSrcKey&&maskSrcKey in func;}module.exports=isMasked;
/***/ },
/* 795 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Removes all key-value entries from the list cache.
*
* @private
* @name clear
* @memberOf ListCache
*/function listCacheClear(){this.__data__=[];this.size=0;}module.exports=listCacheClear;
/***/ },
/* 796 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assocIndexOf=__webpack_require__(148);/** Used for built-in method references. */var arrayProto=Array.prototype;/** Built-in value references. */var splice=arrayProto.splice;/**
* Removes `key` and its value from the list cache.
*
* @private
* @name delete
* @memberOf ListCache
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){return false;}var lastIndex=data.length-1;if(index==lastIndex){data.pop();}else{splice.call(data,index,1);}--this.size;return true;}module.exports=listCacheDelete;
/***/ },
/* 797 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assocIndexOf=__webpack_require__(148);/**
* Gets the list cache value for `key`.
*
* @private
* @name get
* @memberOf ListCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1];}module.exports=listCacheGet;
/***/ },
/* 798 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assocIndexOf=__webpack_require__(148);/**
* Checks if a list cache value for `key` exists.
*
* @private
* @name has
* @memberOf ListCache
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1;}module.exports=listCacheHas;
/***/ },
/* 799 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assocIndexOf=__webpack_require__(148);/**
* Sets the list cache `key` to `value`.
*
* @private
* @name set
* @memberOf ListCache
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the list cache instance.
*/function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value]);}else{data[index][1]=value;}return this;}module.exports=listCacheSet;
/***/ },
/* 800 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var Hash=__webpack_require__(704),ListCache=__webpack_require__(142),Map=__webpack_require__(212);/**
* Removes all key-value entries from the map.
*
* @private
* @name clear
* @memberOf MapCache
*/function mapCacheClear(){this.size=0;this.__data__={'hash':new Hash(),'map':new(Map||ListCache)(),'string':new Hash()};}module.exports=mapCacheClear;
/***/ },
/* 801 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getMapData=__webpack_require__(158);/**
* Removes `key` and its value from the map.
*
* @private
* @name delete
* @memberOf MapCache
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function mapCacheDelete(key){var result=getMapData(this,key)['delete'](key);this.size-=result?1:0;return result;}module.exports=mapCacheDelete;
/***/ },
/* 802 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getMapData=__webpack_require__(158);/**
* Gets the map value for `key`.
*
* @private
* @name get
* @memberOf MapCache
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function mapCacheGet(key){return getMapData(this,key).get(key);}module.exports=mapCacheGet;
/***/ },
/* 803 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getMapData=__webpack_require__(158);/**
* Checks if a map value for `key` exists.
*
* @private
* @name has
* @memberOf MapCache
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function mapCacheHas(key){return getMapData(this,key).has(key);}module.exports=mapCacheHas;
/***/ },
/* 804 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var getMapData=__webpack_require__(158);/**
* Sets the map `key` to `value`.
*
* @private
* @name set
* @memberOf MapCache
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the map cache instance.
*/function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this;}module.exports=mapCacheSet;
/***/ },
/* 805 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var memoize=__webpack_require__(863);/** Used as the maximum memoize cache size. */var MAX_MEMOIZE_SIZE=500;/**
* A specialized version of `_.memoize` which clears the memoized function's
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
*
* @private
* @param {Function} func The function to have its output memoized.
* @returns {Function} Returns the new memoized function.
*/function memoizeCapped(func){var result=memoize(func,function(key){if(cache.size===MAX_MEMOIZE_SIZE){cache.clear();}return key;});var cache=result.cache;return result;}module.exports=memoizeCapped;
/***/ },
/* 806 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var composeArgs=__webpack_require__(355),composeArgsRight=__webpack_require__(356),replaceHolders=__webpack_require__(112);/** Used as the internal argument placeholder. */var PLACEHOLDER='__lodash_placeholder__';/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG=8,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMin=Math.min;/**
* Merges the function metadata of `source` into `data`.
*
* Merging metadata reduces the number of wrappers used to invoke a function.
* This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
* may be applied regardless of execution order. Methods like `_.ary` and
* `_.rearg` modify function arguments, making the order in which they are
* executed important, preventing the merging of metadata. However, we make
* an exception for a safe combined case where curried functions have `_.ary`
* and or `_.rearg` applied.
*
* @private
* @param {Array} data The destination metadata.
* @param {Array} source The source metadata.
* @returns {Array} Returns `data`.
*/function mergeData(data,source){var bitmask=data[1],srcBitmask=source[1],newBitmask=bitmask|srcBitmask,isCommon=newBitmask<(WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG|WRAP_ARY_FLAG);var isCombo=srcBitmask==WRAP_ARY_FLAG&&bitmask==WRAP_CURRY_FLAG||srcBitmask==WRAP_ARY_FLAG&&bitmask==WRAP_REARG_FLAG&&data[7].length<=source[8]||srcBitmask==(WRAP_ARY_FLAG|WRAP_REARG_FLAG)&&source[7].length<=source[8]&&bitmask==WRAP_CURRY_FLAG;// Exit early if metadata can't be merged.
if(!(isCommon||isCombo)){return data;}// Use source `thisArg` if available.
if(srcBitmask&WRAP_BIND_FLAG){data[2]=source[2];// Set when currying a bound function.
newBitmask|=bitmask&WRAP_BIND_FLAG?0:WRAP_CURRY_BOUND_FLAG;}// Compose partial arguments.
var value=source[3];if(value){var partials=data[3];data[3]=partials?composeArgs(partials,value,source[4]):value;data[4]=partials?replaceHolders(data[3],PLACEHOLDER):source[4];}// Compose partial right arguments.
value=source[5];if(value){partials=data[5];data[5]=partials?composeArgsRight(partials,value,source[6]):value;data[6]=partials?replaceHolders(data[5],PLACEHOLDER):source[6];}// Use source `argPos` if available.
value=source[7];if(value){data[7]=value;}// Use source `ary` if it's smaller.
if(srcBitmask&WRAP_ARY_FLAG){data[8]=data[8]==null?source[8]:nativeMin(data[8],source[8]);}// Use source `arity` if one is not provided.
if(data[9]==null){data[9]=source[9];}// Use source `func` and merge bitmasks.
data[0]=source[0];data[1]=newBitmask;return data;}module.exports=mergeData;
/***/ },
/* 807 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var overArg=__webpack_require__(228);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys;
/***/ },
/* 808 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This function is like
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
* except that it includes inherited enumerable properties.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of property names.
*/function nativeKeysIn(object){var result=[];if(object!=null){for(var key in Object(object)){result.push(key);}}return result;}module.exports=nativeKeysIn;
/***/ },
/* 809 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(module) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var freeGlobal=__webpack_require__(361);/** Detect free variable `exports`. */var freeExports=( false?'undefined':_typeof(exports))=='object'&&exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&( false?'undefined':_typeof(module))=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Detect free variable `process` from Node.js. */var freeProcess=moduleExports&&freeGlobal.process;/** Used to access faster Node.js helpers. */var nodeUtil=function(){try{return freeProcess&&freeProcess.binding&&freeProcess.binding('util');}catch(e){}}();module.exports=nodeUtil;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(101)(module)))
/***/ },
/* 810 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used for built-in method references. */var objectProto=Object.prototype;/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/var nativeObjectToString=objectProto.toString;/**
* Converts `value` to a string using `Object.prototype.toString`.
*
* @private
* @param {*} value The value to convert.
* @returns {string} Returns the converted string.
*/function objectToString(value){return nativeObjectToString.call(value);}module.exports=objectToString;
/***/ },
/* 811 */
/***/ function(module, exports) {
"use strict";
"use strict";/** Used to lookup unminified function names. */var realNames={};module.exports=realNames;
/***/ },
/* 812 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var copyArray=__webpack_require__(154),isIndex=__webpack_require__(110);/* Built-in method references for those with the same name as other `lodash` methods. */var nativeMin=Math.min;/**
* Reorder `array` according to the specified indexes where the element at
* the first index is assigned as the first element, the element at
* the second index is assigned as the second element, and so on.
*
* @private
* @param {Array} array The array to reorder.
* @param {Array} indexes The arranged array indexes.
* @returns {Array} Returns `array`.
*/function reorder(array,indexes){var arrLength=array.length,length=nativeMin(indexes.length,arrLength),oldArray=copyArray(array);while(length--){var index=indexes[length];array[length]=isIndex(index,arrLength)?oldArray[index]:undefined;}return array;}module.exports=reorder;
/***/ },
/* 813 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/**
* Adds `value` to the array cache.
*
* @private
* @name add
* @memberOf SetCache
* @alias push
* @param {*} value The value to cache.
* @returns {Object} Returns the cache instance.
*/function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this;}module.exports=setCacheAdd;
/***/ },
/* 814 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if `value` is in the array cache.
*
* @private
* @name has
* @memberOf SetCache
* @param {*} value The value to search for.
* @returns {number} Returns `true` if `value` is found, else `false`.
*/function setCacheHas(value){return this.__data__.has(value);}module.exports=setCacheHas;
/***/ },
/* 815 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var ListCache=__webpack_require__(142);/**
* Removes all key-value entries from the stack.
*
* @private
* @name clear
* @memberOf Stack
*/function stackClear(){this.__data__=new ListCache();this.size=0;}module.exports=stackClear;
/***/ },
/* 816 */
/***/ function(module, exports) {
"use strict";
'use strict';/**
* Removes `key` and its value from the stack.
*
* @private
* @name delete
* @memberOf Stack
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/function stackDelete(key){var data=this.__data__,result=data['delete'](key);this.size=data.size;return result;}module.exports=stackDelete;
/***/ },
/* 817 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Gets the stack value for `key`.
*
* @private
* @name get
* @memberOf Stack
* @param {string} key The key of the value to get.
* @returns {*} Returns the entry value.
*/function stackGet(key){return this.__data__.get(key);}module.exports=stackGet;
/***/ },
/* 818 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Checks if a stack value for `key` exists.
*
* @private
* @name has
* @memberOf Stack
* @param {string} key The key of the entry to check.
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/function stackHas(key){return this.__data__.has(key);}module.exports=stackHas;
/***/ },
/* 819 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var ListCache=__webpack_require__(142),Map=__webpack_require__(212),MapCache=__webpack_require__(213);/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/**
* Sets the stack `key` to `value`.
*
* @private
* @name set
* @memberOf Stack
* @param {string} key The key of the value to set.
* @param {*} value The value to set.
* @returns {Object} Returns the stack cache instance.
*/function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this;}data=this.__data__=new MapCache(pairs);}data.set(key,value);this.size=data.size;return this;}module.exports=stackSet;
/***/ },
/* 820 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* A specialized version of `_.indexOf` which performs strict equality
* comparisons of values, i.e. `===`.
*
* @private
* @param {Array} array The array to inspect.
* @param {*} value The value to search for.
* @param {number} fromIndex The index to search from.
* @returns {number} Returns the index of the matched value, else `-1`.
*/function strictIndexOf(array,value,fromIndex){var index=fromIndex-1,length=array.length;while(++index<length){if(array[index]===value){return index;}}return-1;}module.exports=strictIndexOf;
/***/ },
/* 821 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var asciiToArray=__webpack_require__(710),hasUnicode=__webpack_require__(366),unicodeToArray=__webpack_require__(822);/**
* Converts `string` to an array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the converted array.
*/function stringToArray(string){return hasUnicode(string)?unicodeToArray(string):asciiToArray(string);}module.exports=stringToArray;
/***/ },
/* 822 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to compose unicode character classes. */var rsAstralRange='\\ud800-\\udfff',rsComboMarksRange='\\u0300-\\u036f',reComboHalfMarksRange='\\ufe20-\\ufe2f',rsComboSymbolsRange='\\u20d0-\\u20ff',rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange='\\ufe0e\\ufe0f';/** Used to compose unicode capture groups. */var rsAstral='['+rsAstralRange+']',rsCombo='['+rsComboRange+']',rsFitz='\\ud83c[\\udffb-\\udfff]',rsModifier='(?:'+rsCombo+'|'+rsFitz+')',rsNonAstral='[^'+rsAstralRange+']',rsRegional='(?:\\ud83c[\\udde6-\\uddff]){2}',rsSurrPair='[\\ud800-\\udbff][\\udc00-\\udfff]',rsZWJ='\\u200d';/** Used to compose unicode regexes. */var reOptMod=rsModifier+'?',rsOptVar='['+rsVarRange+']?',rsOptJoin='(?:'+rsZWJ+'(?:'+[rsNonAstral,rsRegional,rsSurrPair].join('|')+')'+rsOptVar+reOptMod+')*',rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol='(?:'+[rsNonAstral+rsCombo+'?',rsCombo,rsRegional,rsSurrPair,rsAstral].join('|')+')';/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */var reUnicode=RegExp(rsFitz+'(?='+rsFitz+')|'+rsSymbol+rsSeq,'g');/**
* Converts a Unicode `string` to an array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the converted array.
*/function unicodeToArray(string){return string.match(reUnicode)||[];}module.exports=unicodeToArray;
/***/ },
/* 823 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to compose unicode character classes. */var rsAstralRange='\\ud800-\\udfff',rsComboMarksRange='\\u0300-\\u036f',reComboHalfMarksRange='\\ufe20-\\ufe2f',rsComboSymbolsRange='\\u20d0-\\u20ff',rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange='\\u2700-\\u27bf',rsLowerRange='a-z\\xdf-\\xf6\\xf8-\\xff',rsMathOpRange='\\xac\\xb1\\xd7\\xf7',rsNonCharRange='\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',rsPunctuationRange='\\u2000-\\u206f',rsSpaceRange=' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',rsUpperRange='A-Z\\xc0-\\xd6\\xd8-\\xde',rsVarRange='\\ufe0e\\ufe0f',rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange;/** Used to compose unicode capture groups. */var rsApos='[\'\u2019]',rsBreak='['+rsBreakRange+']',rsCombo='['+rsComboRange+']',rsDigits='\\d+',rsDingbat='['+rsDingbatRange+']',rsLower='['+rsLowerRange+']',rsMisc='[^'+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+']',rsFitz='\\ud83c[\\udffb-\\udfff]',rsModifier='(?:'+rsCombo+'|'+rsFitz+')',rsNonAstral='[^'+rsAstralRange+']',rsRegional='(?:\\ud83c[\\udde6-\\uddff]){2}',rsSurrPair='[\\ud800-\\udbff][\\udc00-\\udfff]',rsUpper='['+rsUpperRange+']',rsZWJ='\\u200d';/** Used to compose unicode regexes. */var rsMiscLower='(?:'+rsLower+'|'+rsMisc+')',rsMiscUpper='(?:'+rsUpper+'|'+rsMisc+')',rsOptContrLower='(?:'+rsApos+'(?:d|ll|m|re|s|t|ve))?',rsOptContrUpper='(?:'+rsApos+'(?:D|LL|M|RE|S|T|VE))?',reOptMod=rsModifier+'?',rsOptVar='['+rsVarRange+']?',rsOptJoin='(?:'+rsZWJ+'(?:'+[rsNonAstral,rsRegional,rsSurrPair].join('|')+')'+rsOptVar+reOptMod+')*',rsOrdLower='\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)',rsOrdUpper='\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)',rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji='(?:'+[rsDingbat,rsRegional,rsSurrPair].join('|')+')'+rsSeq;/** Used to match complex or compound words. */var reUnicodeWord=RegExp([rsUpper+'?'+rsLower+'+'+rsOptContrLower+'(?='+[rsBreak,rsUpper,'$'].join('|')+')',rsMiscUpper+'+'+rsOptContrUpper+'(?='+[rsBreak,rsUpper+rsMiscLower,'$'].join('|')+')',rsUpper+'?'+rsMiscLower+'+'+rsOptContrLower,rsUpper+'+'+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join('|'),'g');/**
* Splits a Unicode `string` into an array of its words.
*
* @private
* @param {string} The string to inspect.
* @returns {Array} Returns the words of `string`.
*/function unicodeWords(string){return string.match(reUnicodeWord)||[];}module.exports=unicodeWords;
/***/ },
/* 824 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayEach=__webpack_require__(107),arrayIncludes=__webpack_require__(145);/** Used to compose bitmasks for function metadata. */var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256,WRAP_FLIP_FLAG=512;/** Used to associate wrap methods with their bit flags. */var wrapFlags=[['ary',WRAP_ARY_FLAG],['bind',WRAP_BIND_FLAG],['bindKey',WRAP_BIND_KEY_FLAG],['curry',WRAP_CURRY_FLAG],['curryRight',WRAP_CURRY_RIGHT_FLAG],['flip',WRAP_FLIP_FLAG],['partial',WRAP_PARTIAL_FLAG],['partialRight',WRAP_PARTIAL_RIGHT_FLAG],['rearg',WRAP_REARG_FLAG]];/**
* Updates wrapper `details` based on `bitmask` flags.
*
* @private
* @returns {Array} details The details to modify.
* @param {number} bitmask The bitmask flags. See `createWrap` for more details.
* @returns {Array} Returns `details`.
*/function updateWrapDetails(details,bitmask){arrayEach(wrapFlags,function(pair){var value='_.'+pair[0];if(bitmask&pair[1]&&!arrayIncludes(details,value)){details.push(value);}});return details.sort();}module.exports=updateWrapDetails;
/***/ },
/* 825 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var LazyWrapper=__webpack_require__(210),LodashWrapper=__webpack_require__(211),copyArray=__webpack_require__(154);/**
* Creates a clone of `wrapper`.
*
* @private
* @param {Object} wrapper The wrapper to clone.
* @returns {Object} Returns the cloned wrapper.
*/function wrapperClone(wrapper){if(wrapper instanceof LazyWrapper){return wrapper.clone();}var result=new LodashWrapper(wrapper.__wrapped__,wrapper.__chain__);result.__actions__=copyArray(wrapper.__actions__);result.__index__=wrapper.__index__;result.__values__=wrapper.__values__;return result;}module.exports=wrapperClone;
/***/ },
/* 826 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createWrap=__webpack_require__(109);/** Used to compose bitmasks for function metadata. */var WRAP_ARY_FLAG=128;/**
* Creates a function that invokes `func`, with up to `n` arguments,
* ignoring any additional arguments.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Function
* @param {Function} func The function to cap arguments for.
* @param {number} [n=func.length] The arity cap.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Function} Returns the new capped function.
* @example
*
* _.map(['6', '8', '10'], _.ary(parseInt, 1));
* // => [6, 8, 10]
*/function ary(func,n,guard){n=guard?undefined:n;n=func&&n==null?func.length:n;return createWrap(func,WRAP_ARY_FLAG,undefined,undefined,undefined,undefined,n);}module.exports=ary;
/***/ },
/* 827 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var assignValue=__webpack_require__(147),copyObject=__webpack_require__(90),createAssigner=__webpack_require__(762),isArrayLike=__webpack_require__(41),isPrototype=__webpack_require__(111),keys=__webpack_require__(24);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Assigns own enumerable string keyed properties of source objects to the
* destination object. Source objects are applied from left to right.
* Subsequent sources overwrite property assignments of previous sources.
*
* **Note:** This method mutates `object` and is loosely based on
* [`Object.assign`](https://mdn.io/Object/assign).
*
* @static
* @memberOf _
* @since 0.10.0
* @category Object
* @param {Object} object The destination object.
* @param {...Object} [sources] The source objects.
* @returns {Object} Returns `object`.
* @see _.assignIn
* @example
*
* function Foo() {
* this.a = 1;
* }
*
* function Bar() {
* this.c = 3;
* }
*
* Foo.prototype.b = 2;
* Bar.prototype.d = 4;
*
* _.assign({ 'a': 0 }, new Foo, new Bar);
* // => { 'a': 1, 'c': 3 }
*/var assign=createAssigner(function(object,source){if(isPrototype(source)||isArrayLike(source)){copyObject(source,keys(source),object);return;}for(var key in source){if(hasOwnProperty.call(source,key)){assignValue(object,key,source[key]);}}});module.exports=assign;
/***/ },
/* 828 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseClamp=__webpack_require__(345),toNumber=__webpack_require__(173);/**
* Clamps `number` within the inclusive `lower` and `upper` bounds.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Number
* @param {number} number The number to clamp.
* @param {number} [lower] The lower bound.
* @param {number} upper The upper bound.
* @returns {number} Returns the clamped number.
* @example
*
* _.clamp(-10, -5, 5);
* // => -5
*
* _.clamp(10, -5, 5);
* // => 5
*/function clamp(number,lower,upper){if(upper===undefined){upper=lower;lower=undefined;}if(upper!==undefined){upper=toNumber(upper);upper=upper===upper?upper:0;}if(lower!==undefined){lower=toNumber(lower);lower=lower===lower?lower:0;}return baseClamp(toNumber(number),lower,upper);}module.exports=clamp;
/***/ },
/* 829 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseClone=__webpack_require__(218);/** Used to compose bitmasks for cloning. */var CLONE_SYMBOLS_FLAG=4;/**
* Creates a shallow clone of `value`.
*
* **Note:** This method is loosely based on the
* [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
* and supports cloning arrays, array buffers, booleans, date objects, maps,
* numbers, `Object` objects, regexes, sets, strings, symbols, and typed
* arrays. The own enumerable properties of `arguments` objects are cloned
* as plain objects. An empty object is returned for uncloneable values such
* as error objects, functions, DOM nodes, and WeakMaps.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to clone.
* @returns {*} Returns the cloned value.
* @see _.cloneDeep
* @example
*
* var objects = [{ 'a': 1 }, { 'b': 2 }];
*
* var shallow = _.clone(objects);
* console.log(shallow[0] === objects[0]);
* // => true
*/function clone(value){return baseClone(value,CLONE_SYMBOLS_FLAG);}module.exports=clone;
/***/ },
/* 830 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* Creates a function that returns `value`.
*
* @static
* @memberOf _
* @since 2.4.0
* @category Util
* @param {*} value The value to return from the new function.
* @returns {Function} Returns the new constant function.
* @example
*
* var objects = _.times(2, _.constant({ 'a': 1 }));
*
* console.log(objects);
* // => [{ 'a': 1 }, { 'a': 1 }]
*
* console.log(objects[0] === objects[1]);
* // => true
*/function constant(value){return function(){return value;};}module.exports=constant;
/***/ },
/* 831 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var deburrLetter=__webpack_require__(774),toString=__webpack_require__(61);/** Used to match Latin Unicode letters (excluding mathematical operators). */var reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;/** Used to compose unicode character classes. */var rsComboMarksRange='\\u0300-\\u036f',reComboHalfMarksRange='\\ufe20-\\ufe2f',rsComboSymbolsRange='\\u20d0-\\u20ff',rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange;/** Used to compose unicode capture groups. */var rsCombo='['+rsComboRange+']';/**
* Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
* [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
*/var reComboMark=RegExp(rsCombo,'g');/**
* Deburrs `string` by converting
* [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
* and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
* letters to basic Latin letters and removing
* [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
*
* @static
* @memberOf _
* @since 3.0.0
* @category String
* @param {string} [string=''] The string to deburr.
* @returns {string} Returns the deburred string.
* @example
*
* _.deburr('déjà vu');
* // => 'deja vu'
*/function deburr(string){string=toString(string);return string&&string.replace(reLatin,deburrLetter).replace(reComboMark,'');}module.exports=deburr;
/***/ },
/* 832 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseDifference=__webpack_require__(346),baseFlatten=__webpack_require__(149),baseRest=__webpack_require__(45),isArrayLikeObject=__webpack_require__(166);/**
* Creates an array of `array` values not included in the other given arrays
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons. The order and references of result values are
* determined by the first array.
*
* **Note:** Unlike `_.pullAll`, this method returns a new array.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to inspect.
* @param {...Array} [values] The values to exclude.
* @returns {Array} Returns the new array of filtered values.
* @see _.without, _.xor
* @example
*
* _.difference([2, 1], [2, 3]);
* // => [1]
*/var difference=baseRest(function(array,values){return isArrayLikeObject(array)?baseDifference(array,baseFlatten(values,1,isArrayLikeObject,true)):[];});module.exports=difference;
/***/ },
/* 833 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSlice=__webpack_require__(151),toInteger=__webpack_require__(48);/**
* Creates a slice of `array` with `n` elements dropped from the end.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Array
* @param {Array} array The array to query.
* @param {number} [n=1] The number of elements to drop.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Array} Returns the slice of `array`.
* @example
*
* _.dropRight([1, 2, 3]);
* // => [1, 2]
*
* _.dropRight([1, 2, 3], 2);
* // => [1]
*
* _.dropRight([1, 2, 3], 5);
* // => []
*
* _.dropRight([1, 2, 3], 0);
* // => [1, 2, 3]
*/function dropRight(array,n,guard){var length=array==null?0:array.length;if(!length){return[];}n=guard||n===undefined?1:toInteger(n);n=length-n;return baseSlice(array,0,n<0?0:n);}module.exports=dropRight;
/***/ },
/* 834 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var toString=__webpack_require__(61);/**
* Used to match `RegExp`
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
*/var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);/**
* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
*
* @static
* @memberOf _
* @since 3.0.0
* @category String
* @param {string} [string=''] The string to escape.
* @returns {string} Returns the escaped string.
* @example
*
* _.escapeRegExp('[lodash](https://lodash.com/)');
* // => '\[lodash\]\(https://lodash\.com/\)'
*/function escapeRegExp(string){string=toString(string);return string&&reHasRegExpChar.test(string)?string.replace(reRegExpChar,'\\$&'):string;}module.exports=escapeRegExp;
/***/ },
/* 835 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFlatten=__webpack_require__(149);/**
* Flattens `array` a single level deep.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to flatten.
* @returns {Array} Returns the new flattened array.
* @example
*
* _.flatten([1, [2, [3, [4]], 5]]);
* // => [1, 2, [3, [4]], 5]
*/function flatten(array){var length=array==null?0:array.length;return length?baseFlatten(array,1):[];}module.exports=flatten;
/***/ },
/* 836 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createFlow=__webpack_require__(770);/**
* Creates a function that returns the result of invoking the given functions
* with the `this` binding of the created function, where each successive
* invocation is supplied the return value of the previous.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Util
* @param {...(Function|Function[])} [funcs] The functions to invoke.
* @returns {Function} Returns the new composite function.
* @see _.flowRight
* @example
*
* function square(n) {
* return n * n;
* }
*
* var addSquare = _.flow([_.add, square]);
* addSquare(1, 2);
* // => 9
*/var flow=createFlow();module.exports=flow;
/***/ },
/* 837 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayEach=__webpack_require__(107),baseEach=__webpack_require__(89),castFunction=__webpack_require__(354),isArray=__webpack_require__(9);/**
* Iterates over elements of `collection` and invokes `iteratee` for each element.
* The iteratee is invoked with three arguments: (value, index|key, collection).
* Iteratee functions may exit iteration early by explicitly returning `false`.
*
* **Note:** As with other "Collections" methods, objects with a "length"
* property are iterated like arrays. To avoid this behavior use `_.forIn`
* or `_.forOwn` for object iteration.
*
* @static
* @memberOf _
* @since 0.1.0
* @alias each
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Array|Object} Returns `collection`.
* @see _.forEachRight
* @example
*
* _.forEach([1, 2], function(value) {
* console.log(value);
* });
* // => Logs `1` then `2`.
*
* _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
* console.log(key);
* });
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
*/function forEach(collection,iteratee){var func=isArray(collection)?arrayEach:baseEach;return func(collection,castFunction(iteratee));}module.exports=forEach;
/***/ },
/* 838 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var mapping=__webpack_require__(839),fallbackHolder=__webpack_require__(12);/** Built-in value reference. */var push=Array.prototype.push;/**
* Creates a function, with an arity of `n`, that invokes `func` with the
* arguments it receives.
*
* @private
* @param {Function} func The function to wrap.
* @param {number} n The arity of the new function.
* @returns {Function} Returns the new function.
*/function baseArity(func,n){return n==2?function(a,b){return func.apply(undefined,arguments);}:function(a){return func.apply(undefined,arguments);};}/**
* Creates a function that invokes `func`, with up to `n` arguments, ignoring
* any additional arguments.
*
* @private
* @param {Function} func The function to cap arguments for.
* @param {number} n The arity cap.
* @returns {Function} Returns the new function.
*/function baseAry(func,n){return n==2?function(a,b){return func(a,b);}:function(a){return func(a);};}/**
* Creates a clone of `array`.
*
* @private
* @param {Array} array The array to clone.
* @returns {Array} Returns the cloned array.
*/function cloneArray(array){var length=array?array.length:0,result=Array(length);while(length--){result[length]=array[length];}return result;}/**
* Creates a function that clones a given object using the assignment `func`.
*
* @private
* @param {Function} func The assignment function.
* @returns {Function} Returns the new cloner function.
*/function createCloner(func){return function(object){return func({},object);};}/**
* This function is like `_.spread` except that it includes arguments after those spread.
*
* @private
* @param {Function} func The function to spread arguments over.
* @param {number} start The start position of the spread.
* @returns {Function} Returns the new function.
*/function spread(func,start){return function(){var length=arguments.length,args=Array(length);while(length--){args[length]=arguments[length];}var array=args[start],lastIndex=args.length-1,otherArgs=args.slice(0,start);if(array){push.apply(otherArgs,array);}if(start!=lastIndex){push.apply(otherArgs,args.slice(start+1));}return func.apply(this,otherArgs);};}/**
* Creates a function that wraps `func` and uses `cloner` to clone the first
* argument it receives.
*
* @private
* @param {Function} func The function to wrap.
* @param {Function} cloner The function to clone arguments.
* @returns {Function} Returns the new immutable function.
*/function wrapImmutable(func,cloner){return function(){var length=arguments.length;if(!length){return;}var args=Array(length);while(length--){args[length]=arguments[length];}var result=args[0]=cloner.apply(undefined,args);func.apply(undefined,args);return result;};}/**
* The base implementation of `convert` which accepts a `util` object of methods
* required to perform conversions.
*
* @param {Object} util The util object.
* @param {string} name The name of the function to convert.
* @param {Function} func The function to convert.
* @param {Object} [options] The options object.
* @param {boolean} [options.cap=true] Specify capping iteratee arguments.
* @param {boolean} [options.curry=true] Specify currying.
* @param {boolean} [options.fixed=true] Specify fixed arity.
* @param {boolean} [options.immutable=true] Specify immutable operations.
* @param {boolean} [options.rearg=true] Specify rearranging arguments.
* @returns {Function|Object} Returns the converted function or object.
*/function baseConvert(util,name,func,options){var setPlaceholder,isLib=typeof name=='function',isObj=name===Object(name);if(isObj){options=func;func=name;name=undefined;}if(func==null){throw new TypeError();}options||(options={});var config={'cap':'cap'in options?options.cap:true,'curry':'curry'in options?options.curry:true,'fixed':'fixed'in options?options.fixed:true,'immutable':'immutable'in options?options.immutable:true,'rearg':'rearg'in options?options.rearg:true};var forceCurry='curry'in options&&options.curry,forceFixed='fixed'in options&&options.fixed,forceRearg='rearg'in options&&options.rearg,placeholder=isLib?func:fallbackHolder,pristine=isLib?func.runInContext():undefined;var helpers=isLib?func:{'ary':util.ary,'assign':util.assign,'clone':util.clone,'curry':util.curry,'forEach':util.forEach,'isArray':util.isArray,'isFunction':util.isFunction,'iteratee':util.iteratee,'keys':util.keys,'rearg':util.rearg,'toInteger':util.toInteger,'toPath':util.toPath};var ary=helpers.ary,assign=helpers.assign,clone=helpers.clone,curry=helpers.curry,each=helpers.forEach,isArray=helpers.isArray,isFunction=helpers.isFunction,keys=helpers.keys,rearg=helpers.rearg,toInteger=helpers.toInteger,toPath=helpers.toPath;var aryMethodKeys=keys(mapping.aryMethod);var wrappers={'castArray':function castArray(_castArray){return function(){var value=arguments[0];return isArray(value)?_castArray(cloneArray(value)):_castArray.apply(undefined,arguments);};},'iteratee':function iteratee(_iteratee){return function(){var func=arguments[0],arity=arguments[1],result=_iteratee(func,arity),length=result.length;if(config.cap&&typeof arity=='number'){arity=arity>2?arity-2:1;return length&&length<=arity?result:baseAry(result,arity);}return result;};},'mixin':function mixin(_mixin){return function(source){var func=this;if(!isFunction(func)){return _mixin(func,Object(source));}var pairs=[];each(keys(source),function(key){if(isFunction(source[key])){pairs.push([key,func.prototype[key]]);}});_mixin(func,Object(source));each(pairs,function(pair){var value=pair[1];if(isFunction(value)){func.prototype[pair[0]]=value;}else{delete func.prototype[pair[0]];}});return func;};},'nthArg':function nthArg(_nthArg){return function(n){var arity=n<0?1:toInteger(n)+1;return curry(_nthArg(n),arity);};},'rearg':function rearg(_rearg){return function(func,indexes){var arity=indexes?indexes.length:0;return curry(_rearg(func,indexes),arity);};},'runInContext':function runInContext(_runInContext){return function(context){return baseConvert(util,_runInContext(context),options);};}};/*--------------------------------------------------------------------------*//**
* Casts `func` to a function with an arity capped iteratee if needed.
*
* @private
* @param {string} name The name of the function to inspect.
* @param {Function} func The function to inspect.
* @returns {Function} Returns the cast function.
*/function castCap(name,func){if(config.cap){var indexes=mapping.iterateeRearg[name];if(indexes){return iterateeRearg(func,indexes);}var n=!isLib&&mapping.iterateeAry[name];if(n){return iterateeAry(func,n);}}return func;}/**
* Casts `func` to a curried function if needed.
*
* @private
* @param {string} name The name of the function to inspect.
* @param {Function} func The function to inspect.
* @param {number} n The arity of `func`.
* @returns {Function} Returns the cast function.
*/function castCurry(name,func,n){return forceCurry||config.curry&&n>1?curry(func,n):func;}/**
* Casts `func` to a fixed arity function if needed.
*
* @private
* @param {string} name The name of the function to inspect.
* @param {Function} func The function to inspect.
* @param {number} n The arity cap.
* @returns {Function} Returns the cast function.
*/function castFixed(name,func,n){if(config.fixed&&(forceFixed||!mapping.skipFixed[name])){var data=mapping.methodSpread[name],start=data&&data.start;return start===undefined?ary(func,n):spread(func,start);}return func;}/**
* Casts `func` to an rearged function if needed.
*
* @private
* @param {string} name The name of the function to inspect.
* @param {Function} func The function to inspect.
* @param {number} n The arity of `func`.
* @returns {Function} Returns the cast function.
*/function castRearg(name,func,n){return config.rearg&&n>1&&(forceRearg||!mapping.skipRearg[name])?rearg(func,mapping.methodRearg[name]||mapping.aryRearg[n]):func;}/**
* Creates a clone of `object` by `path`.
*
* @private
* @param {Object} object The object to clone.
* @param {Array|string} path The path to clone by.
* @returns {Object} Returns the cloned object.
*/function cloneByPath(object,path){path=toPath(path);var index=-1,length=path.length,lastIndex=length-1,result=clone(Object(object)),nested=result;while(nested!=null&&++index<length){var key=path[index],value=nested[key];if(value!=null){nested[path[index]]=clone(index==lastIndex?value:Object(value));}nested=nested[key];}return result;}/**
* Converts `lodash` to an immutable auto-curried iteratee-first data-last
* version with conversion `options` applied.
*
* @param {Object} [options] The options object. See `baseConvert` for more details.
* @returns {Function} Returns the converted `lodash`.
*/function convertLib(options){return _.runInContext.convert(options)(undefined);}/**
* Create a converter function for `func` of `name`.
*
* @param {string} name The name of the function to convert.
* @param {Function} func The function to convert.
* @returns {Function} Returns the new converter function.
*/function createConverter(name,func){var realName=mapping.aliasToReal[name]||name,methodName=mapping.remap[realName]||realName,oldOptions=options;return function(options){var newUtil=isLib?pristine:helpers,newFunc=isLib?pristine[methodName]:func,newOptions=assign(assign({},oldOptions),options);return baseConvert(newUtil,realName,newFunc,newOptions);};}/**
* Creates a function that wraps `func` to invoke its iteratee, with up to `n`
* arguments, ignoring any additional arguments.
*
* @private
* @param {Function} func The function to cap iteratee arguments for.
* @param {number} n The arity cap.
* @returns {Function} Returns the new function.
*/function iterateeAry(func,n){return overArg(func,function(func){return typeof func=='function'?baseAry(func,n):func;});}/**
* Creates a function that wraps `func` to invoke its iteratee with arguments
* arranged according to the specified `indexes` where the argument value at
* the first index is provided as the first argument, the argument value at
* the second index is provided as the second argument, and so on.
*
* @private
* @param {Function} func The function to rearrange iteratee arguments for.
* @param {number[]} indexes The arranged argument indexes.
* @returns {Function} Returns the new function.
*/function iterateeRearg(func,indexes){return overArg(func,function(func){var n=indexes.length;return baseArity(rearg(baseAry(func,n),indexes),n);});}/**
* Creates a function that invokes `func` with its first argument transformed.
*
* @private
* @param {Function} func The function to wrap.
* @param {Function} transform The argument transform.
* @returns {Function} Returns the new function.
*/function overArg(func,transform){return function(){var length=arguments.length;if(!length){return func();}var args=Array(length);while(length--){args[length]=arguments[length];}var index=config.rearg?0:length-1;args[index]=transform(args[index]);return func.apply(undefined,args);};}/**
* Creates a function that wraps `func` and applys the conversions
* rules by `name`.
*
* @private
* @param {string} name The name of the function to wrap.
* @param {Function} func The function to wrap.
* @returns {Function} Returns the converted function.
*/function wrap(name,func){var result,realName=mapping.aliasToReal[name]||name,wrapped=func,wrapper=wrappers[realName];if(wrapper){wrapped=wrapper(func);}else if(config.immutable){if(mapping.mutate.array[realName]){wrapped=wrapImmutable(func,cloneArray);}else if(mapping.mutate.object[realName]){wrapped=wrapImmutable(func,createCloner(func));}else if(mapping.mutate.set[realName]){wrapped=wrapImmutable(func,cloneByPath);}}each(aryMethodKeys,function(aryKey){each(mapping.aryMethod[aryKey],function(otherName){if(realName==otherName){var spreadData=mapping.methodSpread[realName],afterRearg=spreadData&&spreadData.afterRearg;result=afterRearg?castFixed(realName,castRearg(realName,wrapped,aryKey),aryKey):castRearg(realName,castFixed(realName,wrapped,aryKey),aryKey);result=castCap(realName,result);result=castCurry(realName,result,aryKey);return false;}});return!result;});result||(result=wrapped);if(result==func){result=forceCurry?curry(result,1):function(){return func.apply(this,arguments);};}result.convert=createConverter(realName,func);if(mapping.placeholder[realName]){setPlaceholder=true;result.placeholder=func.placeholder=placeholder;}return result;}/*--------------------------------------------------------------------------*/if(!isObj){return wrap(name,func);}var _=func;// Convert methods by ary cap.
var pairs=[];each(aryMethodKeys,function(aryKey){each(mapping.aryMethod[aryKey],function(key){var func=_[mapping.remap[key]||key];if(func){pairs.push([key,wrap(key,func)]);}});});// Convert remaining methods.
each(keys(_),function(key){var func=_[key];if(typeof func=='function'){var length=pairs.length;while(length--){if(pairs[length][0]==key){return;}}func.convert=createConverter(key,func);pairs.push([key,func]);}});// Assign to `_` leaving `_.prototype` unchanged to allow chaining.
each(pairs,function(pair){_[pair[0]]=pair[1];});_.convert=convertLib;if(setPlaceholder){_.placeholder=placeholder;}// Assign aliases.
each(keys(_),function(key){each(mapping.realToAlias[key]||[],function(alias){_[alias]=_[key];});});return _;}module.exports=baseConvert;
/***/ },
/* 839 */
/***/ function(module, exports) {
"use strict";
'use strict';/** Used to map aliases to their real names. */exports.aliasToReal={// Lodash aliases.
'each':'forEach','eachRight':'forEachRight','entries':'toPairs','entriesIn':'toPairsIn','extend':'assignIn','extendAll':'assignInAll','extendAllWith':'assignInAllWith','extendWith':'assignInWith','first':'head',// Methods that are curried variants of others.
'conforms':'conformsTo','matches':'isMatch','property':'get',// Ramda aliases.
'__':'placeholder','F':'stubFalse','T':'stubTrue','all':'every','allPass':'overEvery','always':'constant','any':'some','anyPass':'overSome','apply':'spread','assoc':'set','assocPath':'set','complement':'negate','compose':'flowRight','contains':'includes','dissoc':'unset','dissocPath':'unset','dropLast':'dropRight','dropLastWhile':'dropRightWhile','equals':'isEqual','identical':'eq','indexBy':'keyBy','init':'initial','invertObj':'invert','juxt':'over','omitAll':'omit','nAry':'ary','path':'get','pathEq':'matchesProperty','pathOr':'getOr','paths':'at','pickAll':'pick','pipe':'flow','pluck':'map','prop':'get','propEq':'matchesProperty','propOr':'getOr','props':'at','symmetricDifference':'xor','symmetricDifferenceBy':'xorBy','symmetricDifferenceWith':'xorWith','takeLast':'takeRight','takeLastWhile':'takeRightWhile','unapply':'rest','unnest':'flatten','useWith':'overArgs','where':'conformsTo','whereEq':'isMatch','zipObj':'zipObject'};/** Used to map ary to method names. */exports.aryMethod={'1':['assignAll','assignInAll','attempt','castArray','ceil','create','curry','curryRight','defaultsAll','defaultsDeepAll','floor','flow','flowRight','fromPairs','invert','iteratee','memoize','method','mergeAll','methodOf','mixin','nthArg','over','overEvery','overSome','rest','reverse','round','runInContext','spread','template','trim','trimEnd','trimStart','uniqueId','words','zipAll'],'2':['add','after','ary','assign','assignAllWith','assignIn','assignInAllWith','at','before','bind','bindAll','bindKey','chunk','cloneDeepWith','cloneWith','concat','conformsTo','countBy','curryN','curryRightN','debounce','defaults','defaultsDeep','defaultTo','delay','difference','divide','drop','dropRight','dropRightWhile','dropWhile','endsWith','eq','every','filter','find','findIndex','findKey','findLast','findLastIndex','findLastKey','flatMap','flatMapDeep','flattenDepth','forEach','forEachRight','forIn','forInRight','forOwn','forOwnRight','get','groupBy','gt','gte','has','hasIn','includes','indexOf','intersection','invertBy','invoke','invokeMap','isEqual','isMatch','join','keyBy','lastIndexOf','lt','lte','map','mapKeys','mapValues','matchesProperty','maxBy','meanBy','merge','mergeAllWith','minBy','multiply','nth','omit','omitBy','overArgs','pad','padEnd','padStart','parseInt','partial','partialRight','partition','pick','pickBy','propertyOf','pull','pullAll','pullAt','random','range','rangeRight','rearg','reject','remove','repeat','restFrom','result','sampleSize','some','sortBy','sortedIndex','sortedIndexOf','sortedLastIndex','sortedLastIndexOf','sortedUniqBy','split','spreadFrom','startsWith','subtract','sumBy','take','takeRight','takeRightWhile','takeWhile','tap','throttle','thru','times','trimChars','trimCharsEnd','trimCharsStart','truncate','union','uniqBy','uniqWith','unset','unzipWith','without','wrap','xor','zip','zipObject','zipObjectDeep'],'3':['assignInWith','assignWith','clamp','differenceBy','differenceWith','findFrom','findIndexFrom','findLastFrom','findLastIndexFrom','getOr','includesFrom','indexOfFrom','inRange','intersectionBy','intersectionWith','invokeArgs','invokeArgsMap','isEqualWith','isMatchWith','flatMapDepth','lastIndexOfFrom','mergeWith','orderBy','padChars','padCharsEnd','padCharsStart','pullAllBy','pullAllWith','rangeStep','rangeStepRight','reduce','reduceRight','replace','set','slice','sortedIndexBy','sortedLastIndexBy','transform','unionBy','unionWith','update','xorBy','xorWith','zipWith'],'4':['fill','setWith','updateWith']};/** Used to map ary to rearg configs. */exports.aryRearg={'2':[1,0],'3':[2,0,1],'4':[3,2,0,1]};/** Used to map method names to their iteratee ary. */exports.iterateeAry={'dropRightWhile':1,'dropWhile':1,'every':1,'filter':1,'find':1,'findFrom':1,'findIndex':1,'findIndexFrom':1,'findKey':1,'findLast':1,'findLastFrom':1,'findLastIndex':1,'findLastIndexFrom':1,'findLastKey':1,'flatMap':1,'flatMapDeep':1,'flatMapDepth':1,'forEach':1,'forEachRight':1,'forIn':1,'forInRight':1,'forOwn':1,'forOwnRight':1,'map':1,'mapKeys':1,'mapValues':1,'partition':1,'reduce':2,'reduceRight':2,'reject':1,'remove':1,'some':1,'takeRightWhile':1,'takeWhile':1,'times':1,'transform':2};/** Used to map method names to iteratee rearg configs. */exports.iterateeRearg={'mapKeys':[1]};/** Used to map method names to rearg configs. */exports.methodRearg={'assignInAllWith':[1,0],'assignInWith':[1,2,0],'assignAllWith':[1,0],'assignWith':[1,2,0],'differenceBy':[1,2,0],'differenceWith':[1,2,0],'getOr':[2,1,0],'intersectionBy':[1,2,0],'intersectionWith':[1,2,0],'isEqualWith':[1,2,0],'isMatchWith':[2,1,0],'mergeAllWith':[1,0],'mergeWith':[1,2,0],'padChars':[2,1,0],'padCharsEnd':[2,1,0],'padCharsStart':[2,1,0],'pullAllBy':[2,1,0],'pullAllWith':[2,1,0],'rangeStep':[1,2,0],'rangeStepRight':[1,2,0],'setWith':[3,1,2,0],'sortedIndexBy':[2,1,0],'sortedLastIndexBy':[2,1,0],'unionBy':[1,2,0],'unionWith':[1,2,0],'updateWith':[3,1,2,0],'xorBy':[1,2,0],'xorWith':[1,2,0],'zipWith':[1,2,0]};/** Used to map method names to spread configs. */exports.methodSpread={'assignAll':{'start':0},'assignAllWith':{'start':0},'assignInAll':{'start':0},'assignInAllWith':{'start':0},'defaultsAll':{'start':0},'defaultsDeepAll':{'start':0},'invokeArgs':{'start':2},'invokeArgsMap':{'start':2},'mergeAll':{'start':0},'mergeAllWith':{'start':0},'partial':{'start':1},'partialRight':{'start':1},'without':{'start':1},'zipAll':{'start':0}};/** Used to identify methods which mutate arrays or objects. */exports.mutate={'array':{'fill':true,'pull':true,'pullAll':true,'pullAllBy':true,'pullAllWith':true,'pullAt':true,'remove':true,'reverse':true},'object':{'assign':true,'assignAll':true,'assignAllWith':true,'assignIn':true,'assignInAll':true,'assignInAllWith':true,'assignInWith':true,'assignWith':true,'defaults':true,'defaultsAll':true,'defaultsDeep':true,'defaultsDeepAll':true,'merge':true,'mergeAll':true,'mergeAllWith':true,'mergeWith':true},'set':{'set':true,'setWith':true,'unset':true,'update':true,'updateWith':true}};/** Used to track methods with placeholder support */exports.placeholder={'bind':true,'bindKey':true,'curry':true,'curryRight':true,'partial':true,'partialRight':true};/** Used to map real names to their aliases. */exports.realToAlias=function(){var hasOwnProperty=Object.prototype.hasOwnProperty,object=exports.aliasToReal,result={};for(var key in object){var value=object[key];if(hasOwnProperty.call(result,value)){result[value].push(key);}else{result[value]=[key];}}return result;}();/** Used to map method names to other names. */exports.remap={'assignAll':'assign','assignAllWith':'assignWith','assignInAll':'assignIn','assignInAllWith':'assignInWith','curryN':'curry','curryRightN':'curryRight','defaultsAll':'defaults','defaultsDeepAll':'defaultsDeep','findFrom':'find','findIndexFrom':'findIndex','findLastFrom':'findLast','findLastIndexFrom':'findLastIndex','getOr':'get','includesFrom':'includes','indexOfFrom':'indexOf','invokeArgs':'invoke','invokeArgsMap':'invokeMap','lastIndexOfFrom':'lastIndexOf','mergeAll':'merge','mergeAllWith':'mergeWith','padChars':'pad','padCharsEnd':'padEnd','padCharsStart':'padStart','propertyOf':'get','rangeStep':'range','rangeStepRight':'rangeRight','restFrom':'rest','spreadFrom':'spread','trimChars':'trim','trimCharsEnd':'trimEnd','trimCharsStart':'trimStart','zipAll':'zip'};/** Used to track methods that skip fixing their arity. */exports.skipFixed={'castArray':true,'flow':true,'flowRight':true,'iteratee':true,'mixin':true,'rearg':true,'runInContext':true};/** Used to track methods that skip rearranging arguments. */exports.skipRearg={'add':true,'assign':true,'assignIn':true,'bind':true,'bindKey':true,'concat':true,'difference':true,'divide':true,'eq':true,'gt':true,'gte':true,'isEqual':true,'lt':true,'lte':true,'matchesProperty':true,'merge':true,'multiply':true,'overArgs':true,'partial':true,'partialRight':true,'propertyOf':true,'random':true,'range':true,'rangeRight':true,'subtract':true,'zip':true,'zipObject':true,'zipObjectDeep':true};
/***/ },
/* 840 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';module.exports={'ary':__webpack_require__(826),'assign':__webpack_require__(344),'clone':__webpack_require__(829),'curry':__webpack_require__(380),'forEach':__webpack_require__(107),'isArray':__webpack_require__(9),'isFunction':__webpack_require__(47),'iteratee':__webpack_require__(861),'keys':__webpack_require__(221),'rearg':__webpack_require__(868),'toInteger':__webpack_require__(48),'toPath':__webpack_require__(875)};
/***/ },
/* 841 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('compact',__webpack_require__(379),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 842 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('curry',__webpack_require__(380));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 843 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('eq',__webpack_require__(113));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 844 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('get',__webpack_require__(91));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 845 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('has',__webpack_require__(75));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 846 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('isFunction',__webpack_require__(47),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 847 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('isNil',__webpack_require__(387),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 848 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('isObject',__webpack_require__(33),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 849 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('isPlainObject',__webpack_require__(168),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 850 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('keys',__webpack_require__(24),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 851 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('map',__webpack_require__(21));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 852 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('min',__webpack_require__(864),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 853 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('pick',__webpack_require__(172));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 854 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('sortBy',__webpack_require__(870));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 855 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('startsWith',__webpack_require__(394));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 856 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('sum',__webpack_require__(873),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 857 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('take',__webpack_require__(874));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 858 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var convert=__webpack_require__(15),func=convert('values',__webpack_require__(235),__webpack_require__(46));func.placeholder=__webpack_require__(12);module.exports=func;
/***/ },
/* 859 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseInRange=__webpack_require__(719),toFinite=__webpack_require__(397),toNumber=__webpack_require__(173);/**
* Checks if `n` is between `start` and up to, but not including, `end`. If
* `end` is not specified, it's set to `start` with `start` then set to `0`.
* If `start` is greater than `end` the params are swapped to support
* negative ranges.
*
* @static
* @memberOf _
* @since 3.3.0
* @category Number
* @param {number} number The number to check.
* @param {number} [start=0] The start of the range.
* @param {number} end The end of the range.
* @returns {boolean} Returns `true` if `number` is in the range, else `false`.
* @see _.range, _.rangeRight
* @example
*
* _.inRange(3, 2, 4);
* // => true
*
* _.inRange(4, 8);
* // => true
*
* _.inRange(4, 2);
* // => false
*
* _.inRange(2, 2);
* // => false
*
* _.inRange(1.2, 2);
* // => true
*
* _.inRange(5.2, 4);
* // => false
*
* _.inRange(-3, -2, -6);
* // => true
*/function inRange(number,start,end){start=toFinite(start);if(end===undefined){end=start;start=0;}else{end=toFinite(end);}number=toNumber(number);return baseInRange(number,start,end);}module.exports=inRange;
/***/ },
/* 860 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44),baseIntersection=__webpack_require__(720),baseRest=__webpack_require__(45),castArrayLikeObject=__webpack_require__(747);/**
* Creates an array of unique values that are included in all given arrays
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons. The order and references of result values are
* determined by the first array.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {...Array} [arrays] The arrays to inspect.
* @returns {Array} Returns the new array of intersecting values.
* @example
*
* _.intersection([2, 1], [2, 3]);
* // => [2]
*/var intersection=baseRest(function(arrays){var mapped=arrayMap(arrays,castArrayLikeObject);return mapped.length&&mapped[0]===arrays[0]?baseIntersection(mapped):[];});module.exports=intersection;
/***/ },
/* 861 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseClone=__webpack_require__(218),baseIteratee=__webpack_require__(38);/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1;/**
* Creates a function that invokes `func` with the arguments of the created
* function. If `func` is a property name, the created function returns the
* property value for a given element. If `func` is an array or object, the
* created function returns `true` for elements that contain the equivalent
* source properties, otherwise it returns `false`.
*
* @static
* @since 4.0.0
* @memberOf _
* @category Util
* @param {*} [func=_.identity] The value to convert to a callback.
* @returns {Function} Returns the callback.
* @example
*
* var users = [
* { 'user': 'barney', 'age': 36, 'active': true },
* { 'user': 'fred', 'age': 40, 'active': false }
* ];
*
* // The `_.matches` iteratee shorthand.
* _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
* // => [{ 'user': 'barney', 'age': 36, 'active': true }]
*
* // The `_.matchesProperty` iteratee shorthand.
* _.filter(users, _.iteratee(['user', 'fred']));
* // => [{ 'user': 'fred', 'age': 40 }]
*
* // The `_.property` iteratee shorthand.
* _.map(users, _.iteratee('user'));
* // => ['barney', 'fred']
*
* // Create custom iteratee shorthands.
* _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
* return !_.isRegExp(func) ? iteratee(func) : function(string) {
* return func.test(string);
* };
* });
*
* _.filter(['abc', 'def'], /ef/);
* // => ['def']
*/function iteratee(func){return baseIteratee(typeof func=='function'?func:baseClone(func,CLONE_DEEP_FLAG));}module.exports=iteratee;
/***/ },
/* 862 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseAssignValue=__webpack_require__(217),baseForOwn=__webpack_require__(219),baseIteratee=__webpack_require__(38);/**
* Creates an object with the same keys as `object` and values generated
* by running each own enumerable string keyed property of `object` thru
* `iteratee`. The iteratee is invoked with three arguments:
* (value, key, object).
*
* @static
* @memberOf _
* @since 2.4.0
* @category Object
* @param {Object} object The object to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Object} Returns the new mapped object.
* @see _.mapKeys
* @example
*
* var users = {
* 'fred': { 'user': 'fred', 'age': 40 },
* 'pebbles': { 'user': 'pebbles', 'age': 1 }
* };
*
* _.mapValues(users, function(o) { return o.age; });
* // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
*
* // The `_.property` iteratee shorthand.
* _.mapValues(users, 'age');
* // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
*/function mapValues(object,iteratee){var result={};iteratee=baseIteratee(iteratee,3);baseForOwn(object,function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object));});return result;}module.exports=mapValues;
/***/ },
/* 863 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var MapCache=__webpack_require__(213);/** Error message constants. */var FUNC_ERROR_TEXT='Expected a function';/**
* Creates a function that memoizes the result of `func`. If `resolver` is
* provided, it determines the cache key for storing the result based on the
* arguments provided to the memoized function. By default, the first argument
* provided to the memoized function is used as the map cache key. The `func`
* is invoked with the `this` binding of the memoized function.
*
* **Note:** The cache is exposed as the `cache` property on the memoized
* function. Its creation may be customized by replacing the `_.memoize.Cache`
* constructor with one whose instances implement the
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Function
* @param {Function} func The function to have its output memoized.
* @param {Function} [resolver] The function to resolve the cache key.
* @returns {Function} Returns the new memoized function.
* @example
*
* var object = { 'a': 1, 'b': 2 };
* var other = { 'c': 3, 'd': 4 };
*
* var values = _.memoize(_.values);
* values(object);
* // => [1, 2]
*
* values(other);
* // => [3, 4]
*
* object.a = 2;
* values(object);
* // => [1, 2]
*
* // Modify the result cache.
* values.cache.set(object, ['a', 'b']);
* values(object);
* // => ['a', 'b']
*
* // Replace `_.memoize.Cache`.
* _.memoize.Cache = WeakMap;
*/function memoize(func,resolver){if(typeof func!='function'||resolver!=null&&typeof resolver!='function'){throw new TypeError(FUNC_ERROR_TEXT);}var memoized=function memoized(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key)){return cache.get(key);}var result=func.apply(this,args);memoized.cache=cache.set(key,result)||cache;return result;};memoized.cache=new(memoize.Cache||MapCache)();return memoized;}// Expose `MapCache`.
memoize.Cache=MapCache;module.exports=memoize;
/***/ },
/* 864 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseExtremum=__webpack_require__(714),baseLt=__webpack_require__(729),identity=__webpack_require__(60);/**
* Computes the minimum value of `array`. If `array` is empty or falsey,
* `undefined` is returned.
*
* @static
* @since 0.1.0
* @memberOf _
* @category Math
* @param {Array} array The array to iterate over.
* @returns {*} Returns the minimum value.
* @example
*
* _.min([4, 2, 8, 6]);
* // => 2
*
* _.min([]);
* // => undefined
*/function min(array){return array&&array.length?baseExtremum(array,identity,baseLt):undefined;}module.exports=min;
/***/ },
/* 865 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseRest=__webpack_require__(45),createWrap=__webpack_require__(109),getHolder=__webpack_require__(157),replaceHolders=__webpack_require__(112);/** Used to compose bitmasks for function metadata. */var WRAP_PARTIAL_FLAG=32;/**
* Creates a function that invokes `func` with `partials` prepended to the
* arguments it receives. This method is like `_.bind` except it does **not**
* alter the `this` binding.
*
* The `_.partial.placeholder` value, which defaults to `_` in monolithic
* builds, may be used as a placeholder for partially applied arguments.
*
* **Note:** This method doesn't set the "length" property of partially
* applied functions.
*
* @static
* @memberOf _
* @since 0.2.0
* @category Function
* @param {Function} func The function to partially apply arguments to.
* @param {...*} [partials] The arguments to be partially applied.
* @returns {Function} Returns the new partially applied function.
* @example
*
* function greet(greeting, name) {
* return greeting + ' ' + name;
* }
*
* var sayHelloTo = _.partial(greet, 'hello');
* sayHelloTo('fred');
* // => 'hello fred'
*
* // Partially applied with placeholders.
* var greetFred = _.partial(greet, _, 'fred');
* greetFred('hi');
* // => 'hi fred'
*/var partial=baseRest(function(func,partials){var holders=replaceHolders(partials,getHolder(partial));return createWrap(func,WRAP_PARTIAL_FLAG,undefined,partials,holders);});// Assign default placeholders.
partial.placeholder={};module.exports=partial;
/***/ },
/* 866 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseRest=__webpack_require__(45),createWrap=__webpack_require__(109),getHolder=__webpack_require__(157),replaceHolders=__webpack_require__(112);/** Used to compose bitmasks for function metadata. */var WRAP_PARTIAL_RIGHT_FLAG=64;/**
* This method is like `_.partial` except that partially applied arguments
* are appended to the arguments it receives.
*
* The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
* builds, may be used as a placeholder for partially applied arguments.
*
* **Note:** This method doesn't set the "length" property of partially
* applied functions.
*
* @static
* @memberOf _
* @since 1.0.0
* @category Function
* @param {Function} func The function to partially apply arguments to.
* @param {...*} [partials] The arguments to be partially applied.
* @returns {Function} Returns the new partially applied function.
* @example
*
* function greet(greeting, name) {
* return greeting + ' ' + name;
* }
*
* var greetFred = _.partialRight(greet, 'fred');
* greetFred('hi');
* // => 'hi fred'
*
* // Partially applied with placeholders.
* var sayHelloTo = _.partialRight(greet, 'hello', _);
* sayHelloTo('fred');
* // => 'hello fred'
*/var partialRight=baseRest(function(func,partials){var holders=replaceHolders(partials,getHolder(partialRight));return createWrap(func,WRAP_PARTIAL_RIGHT_FLAG,undefined,partials,holders);});// Assign default placeholders.
partialRight.placeholder={};module.exports=partialRight;
/***/ },
/* 867 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseProperty=__webpack_require__(735),basePropertyDeep=__webpack_require__(736),isKey=__webpack_require__(227),toKey=__webpack_require__(59);/**
* Creates a function that returns the value at `path` of a given object.
*
* @static
* @memberOf _
* @since 2.4.0
* @category Util
* @param {Array|string} path The path of the property to get.
* @returns {Function} Returns the new accessor function.
* @example
*
* var objects = [
* { 'a': { 'b': 2 } },
* { 'a': { 'b': 1 } }
* ];
*
* _.map(objects, _.property('a.b'));
* // => [2, 1]
*
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
* // => [1, 2]
*/function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path);}module.exports=property;
/***/ },
/* 868 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createWrap=__webpack_require__(109),flatRest=__webpack_require__(156);/** Used to compose bitmasks for function metadata. */var WRAP_REARG_FLAG=256;/**
* Creates a function that invokes `func` with arguments arranged according
* to the specified `indexes` where the argument value at the first index is
* provided as the first argument, the argument value at the second index is
* provided as the second argument, and so on.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Function
* @param {Function} func The function to rearrange arguments for.
* @param {...(number|number[])} indexes The arranged argument indexes.
* @returns {Function} Returns the new function.
* @example
*
* var rearged = _.rearg(function(a, b, c) {
* return [a, b, c];
* }, [2, 0, 1]);
*
* rearged('b', 'c', 'a')
* // => ['a', 'b', 'c']
*/var rearg=flatRest(function(func,indexes){return createWrap(func,WRAP_REARG_FLAG,undefined,undefined,undefined,indexes);});module.exports=rearg;
/***/ },
/* 869 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createRound=__webpack_require__(772);/**
* Computes `number` rounded to `precision`.
*
* @static
* @memberOf _
* @since 3.10.0
* @category Math
* @param {number} number The number to round.
* @param {number} [precision=0] The precision to round to.
* @returns {number} Returns the rounded number.
* @example
*
* _.round(4.006);
* // => 4
*
* _.round(4.006, 2);
* // => 4.01
*
* _.round(4060, -2);
* // => 4100
*/var round=createRound('round');module.exports=round;
/***/ },
/* 870 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFlatten=__webpack_require__(149),baseOrderBy=__webpack_require__(732),baseRest=__webpack_require__(45),isIterateeCall=__webpack_require__(160);/**
* Creates an array of elements, sorted in ascending order by the results of
* running each element in a collection thru each iteratee. This method
* performs a stable sort, that is, it preserves the original sort order of
* equal elements. The iteratees are invoked with one argument: (value).
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {...(Function|Function[])} [iteratees=[_.identity]]
* The iteratees to sort by.
* @returns {Array} Returns the new sorted array.
* @example
*
* var users = [
* { 'user': 'fred', 'age': 48 },
* { 'user': 'barney', 'age': 36 },
* { 'user': 'fred', 'age': 40 },
* { 'user': 'barney', 'age': 34 }
* ];
*
* _.sortBy(users, [function(o) { return o.user; }]);
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
*
* _.sortBy(users, ['user', 'age']);
* // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
*/var sortBy=baseRest(function(collection,iteratees){if(collection==null){return[];}var length=iteratees.length;if(length>1&&isIterateeCall(collection,iteratees[0],iteratees[1])){iteratees=[];}else if(length>2&&isIterateeCall(iteratees[0],iteratees[1],iteratees[2])){iteratees=[iteratees[0]];}return baseOrderBy(collection,baseFlatten(iteratees,1),[]);});module.exports=sortBy;
/***/ },
/* 871 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createCompounder=__webpack_require__(767),upperFirst=__webpack_require__(878);/**
* Converts `string` to
* [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
*
* @static
* @memberOf _
* @since 3.1.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the start cased string.
* @example
*
* _.startCase('--foo-bar--');
* // => 'Foo Bar'
*
* _.startCase('fooBar');
* // => 'Foo Bar'
*
* _.startCase('__FOO_BAR__');
* // => 'FOO BAR'
*/var startCase=createCompounder(function(result,word,index){return result+(index?' ':'')+upperFirst(word);});module.exports=startCase;
/***/ },
/* 872 */
/***/ function(module, exports) {
"use strict";
"use strict";/**
* This method returns `false`.
*
* @static
* @memberOf _
* @since 4.13.0
* @category Util
* @returns {boolean} Returns `false`.
* @example
*
* _.times(2, _.stubFalse);
* // => [false, false]
*/function stubFalse(){return false;}module.exports=stubFalse;
/***/ },
/* 873 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSum=__webpack_require__(743),identity=__webpack_require__(60);/**
* Computes the sum of the values in `array`.
*
* @static
* @memberOf _
* @since 3.4.0
* @category Math
* @param {Array} array The array to iterate over.
* @returns {number} Returns the sum.
* @example
*
* _.sum([4, 2, 8, 6]);
* // => 20
*/function sum(array){return array&&array.length?baseSum(array,identity):0;}module.exports=sum;
/***/ },
/* 874 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseSlice=__webpack_require__(151),toInteger=__webpack_require__(48);/**
* Creates a slice of `array` with `n` elements taken from the beginning.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {Array} array The array to query.
* @param {number} [n=1] The number of elements to take.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Array} Returns the slice of `array`.
* @example
*
* _.take([1, 2, 3]);
* // => [1]
*
* _.take([1, 2, 3], 2);
* // => [1, 2]
*
* _.take([1, 2, 3], 5);
* // => [1, 2, 3]
*
* _.take([1, 2, 3], 0);
* // => []
*/function take(array,n,guard){if(!(array&&array.length)){return[];}n=guard||n===undefined?1:toInteger(n);return baseSlice(array,0,n<0?0:n);}module.exports=take;
/***/ },
/* 875 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayMap=__webpack_require__(44),copyArray=__webpack_require__(154),isArray=__webpack_require__(9),isSymbol=__webpack_require__(76),stringToPath=__webpack_require__(377),toKey=__webpack_require__(59),toString=__webpack_require__(61);/**
* Converts `value` to a property path array.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Util
* @param {*} value The value to convert.
* @returns {Array} Returns the new property path array.
* @example
*
* _.toPath('a.b.c');
* // => ['a', 'b', 'c']
*
* _.toPath('a[0].b.c');
* // => ['a', '0', 'b', 'c']
*/function toPath(value){if(isArray(value)){return arrayMap(value,toKey);}return isSymbol(value)?[value]:copyArray(stringToPath(toString(value)));}module.exports=toPath;
/***/ },
/* 876 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var arrayEach=__webpack_require__(107),baseCreate=__webpack_require__(108),baseForOwn=__webpack_require__(219),baseIteratee=__webpack_require__(38),getPrototype=__webpack_require__(159),isArray=__webpack_require__(9),isBuffer=__webpack_require__(114),isFunction=__webpack_require__(47),isObject=__webpack_require__(33),isTypedArray=__webpack_require__(169);/**
* An alternative to `_.reduce`; this method transforms `object` to a new
* `accumulator` object which is the result of running each of its own
* enumerable string keyed properties thru `iteratee`, with each invocation
* potentially mutating the `accumulator` object. If `accumulator` is not
* provided, a new object with the same `[[Prototype]]` will be used. The
* iteratee is invoked with four arguments: (accumulator, value, key, object).
* Iteratee functions may exit iteration early by explicitly returning `false`.
*
* @static
* @memberOf _
* @since 1.3.0
* @category Object
* @param {Object} object The object to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @param {*} [accumulator] The custom accumulator value.
* @returns {*} Returns the accumulated value.
* @example
*
* _.transform([2, 3, 4], function(result, n) {
* result.push(n *= n);
* return n % 2 == 0;
* }, []);
* // => [4, 9]
*
* _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
* (result[value] || (result[value] = [])).push(key);
* }, {});
* // => { '1': ['a', 'c'], '2': ['b'] }
*/function transform(object,iteratee,accumulator){var isArr=isArray(object),isArrLike=isArr||isBuffer(object)||isTypedArray(object);iteratee=baseIteratee(iteratee,4);if(accumulator==null){var Ctor=object&&object.constructor;if(isArrLike){accumulator=isArr?new Ctor():[];}else if(isObject(object)){accumulator=isFunction(Ctor)?baseCreate(getPrototype(object)):{};}else{accumulator={};}}(isArrLike?arrayEach:baseForOwn)(object,function(value,index,object){return iteratee(accumulator,value,index,object);});return accumulator;}module.exports=transform;
/***/ },
/* 877 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var baseFlatten=__webpack_require__(149),baseRest=__webpack_require__(45),baseUniq=__webpack_require__(744),isArrayLikeObject=__webpack_require__(166);/**
* Creates an array of unique values, in order, from all given arrays using
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
* for equality comparisons.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Array
* @param {...Array} [arrays] The arrays to inspect.
* @returns {Array} Returns the new array of combined values.
* @example
*
* _.union([2], [1, 2]);
* // => [2, 1]
*/var union=baseRest(function(arrays){return baseUniq(baseFlatten(arrays,1,isArrayLikeObject,true));});module.exports=union;
/***/ },
/* 878 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var createCaseFirst=__webpack_require__(766);/**
* Converts the first character of `string` to upper case.
*
* @static
* @memberOf _
* @since 4.0.0
* @category String
* @param {string} [string=''] The string to convert.
* @returns {string} Returns the converted string.
* @example
*
* _.upperFirst('fred');
* // => 'Fred'
*
* _.upperFirst('FRED');
* // => 'FRED'
*/var upperFirst=createCaseFirst('toUpperCase');module.exports=upperFirst;
/***/ },
/* 879 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var asciiWords=__webpack_require__(711),hasUnicodeWord=__webpack_require__(782),toString=__webpack_require__(61),unicodeWords=__webpack_require__(823);/**
* Splits `string` into an array of its words.
*
* @static
* @memberOf _
* @since 3.0.0
* @category String
* @param {string} [string=''] The string to inspect.
* @param {RegExp|string} [pattern] The pattern to match words.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Array} Returns the words of `string`.
* @example
*
* _.words('fred, barney, & pebbles');
* // => ['fred', 'barney', 'pebbles']
*
* _.words('fred, barney, & pebbles', /[^, ]+/g);
* // => ['fred', 'barney', '&', 'pebbles']
*/function words(string,pattern,guard){string=toString(string);pattern=guard?undefined:pattern;if(pattern===undefined){return hasUnicodeWord(string)?unicodeWords(string):asciiWords(string);}return string.match(pattern)||[];}module.exports=words;
/***/ },
/* 880 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var LazyWrapper=__webpack_require__(210),LodashWrapper=__webpack_require__(211),baseLodash=__webpack_require__(222),isArray=__webpack_require__(9),isObjectLike=__webpack_require__(36),wrapperClone=__webpack_require__(825);/** Used for built-in method references. */var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
* Creates a `lodash` object which wraps `value` to enable implicit method
* chain sequences. Methods that operate on and return arrays, collections,
* and functions can be chained together. Methods that retrieve a single value
* or may return a primitive value will automatically end the chain sequence
* and return the unwrapped value. Otherwise, the value must be unwrapped
* with `_#value`.
*
* Explicit chain sequences, which must be unwrapped with `_#value`, may be
* enabled using `_.chain`.
*
* The execution of chained methods is lazy, that is, it's deferred until
* `_#value` is implicitly or explicitly called.
*
* Lazy evaluation allows several methods to support shortcut fusion.
* Shortcut fusion is an optimization to merge iteratee calls; this avoids
* the creation of intermediate arrays and can greatly reduce the number of
* iteratee executions. Sections of a chain sequence qualify for shortcut
* fusion if the section is applied to an array of at least `200` elements
* and any iteratees accept only one argument. The heuristic for whether a
* section qualifies for shortcut fusion is subject to change.
*
* Chaining is supported in custom builds as long as the `_#value` method is
* directly or indirectly included in the build.
*
* In addition to lodash methods, wrappers have `Array` and `String` methods.
*
* The wrapper `Array` methods are:
* `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
*
* The wrapper `String` methods are:
* `replace` and `split`
*
* The wrapper methods that support shortcut fusion are:
* `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
* `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
* `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
*
* The chainable wrapper methods are:
* `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
* `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
* `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
* `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
* `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
* `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
* `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
* `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
* `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
* `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
* `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
* `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
* `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
* `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
* `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
* `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
* `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
* `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
* `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
* `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
* `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
* `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
* `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
* `zipObject`, `zipObjectDeep`, and `zipWith`
*
* The wrapper methods that are **not** chainable by default are:
* `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
* `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
* `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
* `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
* `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
* `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
* `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
* `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
* `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
* `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
* `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
* `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
* `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
* `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
* `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
* `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
* `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
* `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
* `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
* `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
* `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
* `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
* `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
* `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
* `upperFirst`, `value`, and `words`
*
* @name _
* @constructor
* @category Seq
* @param {*} value The value to wrap in a `lodash` instance.
* @returns {Object} Returns the new `lodash` wrapper instance.
* @example
*
* function square(n) {
* return n * n;
* }
*
* var wrapped = _([1, 2, 3]);
*
* // Returns an unwrapped value.
* wrapped.reduce(_.add);
* // => 6
*
* // Returns a wrapped value.
* var squares = wrapped.map(square);
*
* _.isArray(squares);
* // => false
*
* _.isArray(squares.value());
* // => true
*/function lodash(value){if(isObjectLike(value)&&!isArray(value)&&!(value instanceof LazyWrapper)){if(value instanceof LodashWrapper){return value;}if(hasOwnProperty.call(value,'__wrapped__')){return wrapperClone(value);}}return new LodashWrapper(value);}// Ensure wrappers are instances of `baseLodash`.
lodash.prototype=baseLodash.prototype;lodash.prototype.constructor=lodash;module.exports=lodash;
/***/ },
/* 881 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module markdown-escapes
* @fileoverview List of escapable characters in markdown.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=escapes;/* Characters. */var defaults=['\\','`','*','{','}','[',']','(',')','#','+','-','.','!','_','>'];var gfm=defaults.concat(['~','|']);var commonmark=gfm.concat(['\n','"','$','%','&','\'',',','/',':',';','<','=','?','@','^']);/* Expose characters. */escapes.default=defaults;escapes.gfm=gfm;escapes.commonmark=commonmark;/**
* Get markdown escapes.
*
* @param {Object?} [options] - Configuration.
* @return {Array.<string>} - Escapes.
*/function escapes(options){var settings=options||{};if(settings.commonmark){return commonmark;}return settings.gfm?gfm:defaults;}
/***/ },
/* 882 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};exports.default=markdownToJSX;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lodash=__webpack_require__(702);var _lodash2=_interopRequireDefault(_lodash);var _unified=__webpack_require__(1163);var _unified2=_interopRequireDefault(_unified);var _remarkParse=__webpack_require__(999);var _remarkParse2=_interopRequireDefault(_remarkParse);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toArray(arr){return Array.isArray(arr)?arr:Array.from(arr);}var BLOCK_ELEMENT_TAGS=['article','header','aside','hgroup','blockquote','hr','iframe','body','li','map','button','object','canvas','ol','caption','output','col','p','colgroup','pre','dd','progress','div','section','dl','table','td','dt','tbody','embed','textarea','fieldset','tfoot','figcaption','th','figure','thead','footer','tr','form','ul','h1','h2','h3','h4','h5','h6','video','script','style'];var BLOCK_ELEMENT_REGEX=new RegExp('^<('+BLOCK_ELEMENT_TAGS.join('|')+')','i');// [0] === tag, [...] = attribute pairs
var HTML_EXTRACTOR_REGEX=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;var SELF_CLOSING_ELEMENT_TAGS=['area','base','br','col','command','embed','hr','img','input','keygen','link','meta','param','source','track','wbr'];var SELF_CLOSING_ELEMENT_REGEX=new RegExp('^<('+SELF_CLOSING_ELEMENT_TAGS.join('|')+')','i');var TEXT_AST_TYPES=['text','textNode'];var ATTRIBUTE_TO_JSX_PROP_MAP={'accept-charset':'acceptCharset','accesskey':'accessKey','allowfullscreen':'allowFullScreen','allowtransparency':'allowTransparency','autocomplete':'autoComplete','autofocus':'autoFocus','autoplay':'autoPlay','cellpadding':'cellPadding','cellspacing':'cellSpacing','charset':'charSet','class':'className','classid':'classId','colspan':'colSpan','contenteditable':'contentEditable','contextmenu':'contextMenu','crossorigin':'crossOrigin','enctype':'encType','for':'htmlFor','formaction':'formAction','formenctype':'formEncType','formmethod':'formMethod','formnovalidate':'formNoValidate','formtarget':'formTarget','frameborder':'frameBorder','hreflang':'hrefLang','http-equiv':'httpEquiv','inputmode':'inputMode','keyparams':'keyParams','keytype':'keyType','marginheight':'marginHeight','marginwidth':'marginWidth','maxlength':'maxLength','mediagroup':'mediaGroup','minlength':'minLength','novalidate':'noValidate','radiogroup':'radioGroup','readonly':'readOnly','rowspan':'rowSpan','spellcheck':'spellCheck','srcdoc':'srcDoc','srclang':'srcLang','srcset':'srcSet','tabindex':'tabIndex','usemap':'useMap'};var getType=Object.prototype.toString;function extractDefinitionsFromASTTree(ast,parser){function reducer(aggregator,node){if(node.type==='definition'||node.type==='footnoteDefinition'){aggregator.definitions[node.identifier]=node;if(node.type==='footnoteDefinition'){if(node.children&&node.children.length===1&&node.children[0].type==='paragraph'){node.children[0].children.unshift({type:'textNode',value:'['+node.identifier+']: '});}/* package the prefix inside the first child */aggregator.footnotes.push(_react2.default.createElement('div',{key:node.identifier,id:node.identifier},node.value||node.children.map(parser)));}}return Array.isArray(node.children)?node.children.reduce(reducer,aggregator):aggregator;};return[ast].reduce(reducer,{definitions:{},footnotes:[]});}function formExtraPropsForHTMLNodeType(){var props=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var ast=arguments[1];var definitions=arguments[2];switch(ast.type){case'footnoteReference':return _extends({},props,{href:'#'+ast.identifier});case'image':return _extends({},props,{title:ast.title,alt:ast.alt,src:ast.url});case'imageReference':return _extends({},props,{title:(0,_lodash2.default)(definitions,'[\''+ast.identifier+'\'].title'),alt:ast.alt,src:(0,_lodash2.default)(definitions,'[\''+ast.identifier+'\'].url')});case'link':return _extends({},props,{title:ast.title,href:ast.url});case'linkReference':return _extends({},props,{title:(0,_lodash2.default)(definitions,'[\''+ast.identifier+'\'].title'),href:(0,_lodash2.default)(definitions,'[\''+ast.identifier+'\'].url')});case'list':return _extends({},props,{start:ast.start});case'tableCell':case'th':return _extends({},props,{style:{textAlign:ast.align}});}return props;}function getHTMLNodeTypeFromASTNodeType(node){switch(node.type){case'break':return'br';case'delete':return'del';case'emphasis':return'em';case'footnoteReference':return'a';case'heading':return'h'+node.depth;case'image':case'imageReference':return'img';case'inlineCode':return'code';case'link':case'linkReference':return'a';case'list':return node.ordered?'ol':'ul';case'listItem':return'li';case'paragraph':return'p';case'root':return'div';case'tableHeader':return'thead';case'tableRow':return'tr';case'tableCell':return'td';case'thematicBreak':return'hr';case'definition':case'footnoteDefinition':case'yaml':return null;default:return node.type;}}function seekCellsAndAlignThemIfNecessary(root,alignmentValues){var mapper=function mapper(child,index){if(child.type==='tableCell'){return _extends({},child,{align:alignmentValues[index]});}else if(Array.isArray(child.children)&&child.children.length){return child.children.map(mapper);}return child;};if(Array.isArray(root.children)&&root.children.length){root.children=root.children.map(mapper);}return root;}function attributeValueToJSXPropValue(key,value){if(key==='style'){return value.split(/;\s?/).reduce(function(styles,kvPair){var key=kvPair.slice(0,kvPair.indexOf(':'));// snake-case to camelCase
// also handles PascalCasing vendor prefixes
var camelCasedKey=key.replace(/(\-[a-z])/g,function(substr){return substr[1].toUpperCase();});// key.length + 1 to skip over the colon
styles[camelCasedKey]=kvPair.slice(key.length+1).trim();return styles;},{});}return value;}function coalesceInlineHTML(ast){function coalescer(node,index,siblings){if(node.type==='html'){// ignore block-level elements
if(BLOCK_ELEMENT_REGEX.test(node.value)){return;}// ignore self-closing or non-content-bearing elements
if(SELF_CLOSING_ELEMENT_REGEX.test(node.value)){return;}// are there more html nodes directly after? if so, fold them into the current node
if(index<siblings.length-1&&siblings[index+1].type==='html'){// create a new coalescer context
coalescer(siblings[index+1],index+1,siblings);}var i=index+1;var end=void 0;// where's the end tag?
while(end===undefined&&i<siblings.length){if(siblings[i].type!=='html'){i+=1;continue;}end=siblings[i];}/* all interim elements now become children of the current node, and we splice them (including end tag)
out of the sibling array so they will not be iterated-over by forEach */node.children=siblings.slice(index+1,i);siblings.splice(index+1,i-index);var _node$value$match=node.value.match(HTML_EXTRACTOR_REGEX);var _node$value$match2=_toArray(_node$value$match);var tag=_node$value$match2[0];var attributePairs=_node$value$match2.slice(1);// reassign the current node to whatever its tag is
node.type=tag.toLowerCase();// make a best-effort conversion to JSX props
node.props=attributePairs.reduce(function(props,kvPair){var valueIndex=kvPair.indexOf('=');var key=kvPair.slice(0,valueIndex===-1?undefined:valueIndex);// ignoring inline event handlers at this time - they pose enough of a security risk that they're
// not worth preserving; there's a reason React calls it "dangerouslySetInnerHTML"!
if(key.indexOf('on')!==0){var value=kvPair.slice(key.length+1);// strip the outermost single/double quote if it exists
if(value[0]==='"'||value[0]==='\''){value=value.slice(1,value.length-1);}props[ATTRIBUTE_TO_JSX_PROP_MAP[key]||key]=attributeValueToJSXPropValue(key,value)||true;}return props;},{});// null out .value or astToJSX() will set it as the child
node.value=null;}if(node.children){node.children.forEach(coalescer);}};return ast.children.forEach(coalescer);}function markdownToJSX(markdown){var _ref=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var _ref$overrides=_ref.overrides;var overrides=_ref$overrides===undefined?{}:_ref$overrides;var definitions=void 0;var footnotes=void 0;function astToJSX(ast,index){/* `this` is the dictionary of definitions */if(TEXT_AST_TYPES.indexOf(ast.type)!==-1){return ast.value;}var key=index||'0';if(ast.type==='code'&&ast.value){var preProps=(0,_lodash2.default)(overrides,'pre.props',{});var codeProps=(0,_lodash2.default)(overrides,'code.props',{});preProps.key=key;codeProps.className=codeProps.className?codeProps.className+' lang-'+ast.lang:'lang-'+ast.lang;return _react2.default.createElement((0,_lodash2.default)(overrides,'pre.component','pre'),preProps,_react2.default.createElement((0,_lodash2.default)(overrides,'code.component','code'),codeProps,ast.value));}/* Refers to fenced blocks, need to create a pre:code nested structure */if(ast.type==='list'&&ast.loose===false){ast.children=ast.children.map(function(item){if(item.children.length===1&&item.children[0].type==='paragraph'){return _extends({},item,{children:item.children[0].children});}return item;});}/* tight list, remove the paragraph wrapper just inside the listItem */if(ast.type==='listItem'){if(ast.checked===true||ast.checked===false){var liProps=(0,_lodash2.default)(overrides,'li.props',{});liProps.key=key;var inputProps=(0,_lodash2.default)(overrides,'input.props',{});inputProps.key='checkbox';inputProps.type='checkbox';inputProps.checked=ast.checked;inputProps.readOnly=true;return _react2.default.createElement((0,_lodash2.default)(overrides,'li.component','li'),liProps,[_react2.default.createElement((0,_lodash2.default)(overrides,'input.component','input'),inputProps),ast.children.map(astToJSX)]);}/* gfm task list, need to add a checkbox */}if(ast.type==='html'){return _react2.default.createElement('div',{key:key,dangerouslySetInnerHTML:{__html:ast.value}});}/* arbitrary HTML, do the gross thing for now */if(ast.type==='table'){(function(){var tbody={type:'tbody',children:[]};ast.children=ast.children.reduce(function(children,child,index){if(index===0){/* manually marking the first row as tableHeader since that was removed in remark@4.x; it's important semantically. */child.type='tableHeader';children.unshift(seekCellsAndAlignThemIfNecessary(child,ast.align));}else if(child.type==='tableRow'){tbody.children.push(seekCellsAndAlignThemIfNecessary(child,ast.align));}else if(child.type==='tableFooter'){children.push(seekCellsAndAlignThemIfNecessary(child,ast.align));}return children;},[tbody]);})();}/* React yells if things aren't in the proper structure, so need to
delve into the immediate children and wrap tablerow(s) in a tbody */if(ast.type==='tableFooter'){ast.children=[{type:'tr',children:ast.children}];}/* React yells if things aren't in the proper structure, so need to
delve into the immediate children and wrap the cells in a tablerow */if(ast.type==='tableHeader'){ast.children=[{type:'tr',children:ast.children.map(function(child){if(child.type==='tableCell'){child.type='th';}/* et voila, a proper table header */return child;})}];}/* React yells if things aren't in the proper structure, so need to
delve into the immediate children and wrap the cells in a tablerow */if(ast.type==='footnoteReference'){ast.children=[{type:'sup',value:ast.identifier}];}/* place the identifier inside a superscript tag for the link */var htmlNodeType=getHTMLNodeTypeFromASTNodeType(ast);if(htmlNodeType===null){return null;}/* bail out, not convertable to any HTML representation */var props=_extends({key:key},ast.props);var override=overrides[htmlNodeType];if(override){if(override.component){htmlNodeType=override.component;}/* sub out the normal html tag name for the JSX / ReactFactory
passed in by the caller */if(override.props){props=_extends({},override.props,props);}/* apply the prop overrides beneath the minimal set that are necessary
to have the markdown conversion work as expected */}/* their props + our props, with any duplicate keys overwritten by us
(necessary evil, file an issue if something comes up that needs
extra attention, only props specified in `formExtraPropsForHTMLNodeType`
will be overwritten on a key collision) */var finalProps=formExtraPropsForHTMLNodeType(props,ast,definitions);if(ast.children&&ast.children.length===1){if(TEXT_AST_TYPES.indexOf(ast.children[0].type)!==-1){ast.children=ast.children[0].value;}}/* solitary text children don't need full parsing or React will add a wrapper */var children=Array.isArray(ast.children)?ast.children.map(astToJSX):ast.children;return _react2.default.createElement(htmlNodeType,finalProps,ast.value||children);}if(typeof markdown!=='string'){throw new Error('markdown-to-jsx: the first argument must be\n a string');}if(getType.call(overrides)!=='[object Object]'){throw new Error('markdown-to-jsx: options.overrides (second argument property) must be\n undefined or an object literal with shape:\n {\n htmltagname: {\n component: string|ReactComponent(optional),\n props: object(optional)\n }\n }');}var remarkAST=(0,_unified2.default)().use(_remarkParse2.default).parse(markdown,{footnotes:true,gfm:true,position:false});var extracted=extractDefinitionsFromASTTree(remarkAST,astToJSX);definitions=extracted.definitions;footnotes=extracted.footnotes;coalesceInlineHTML(remarkAST);var jsx=astToJSX(remarkAST);// discard the root <div> node if there is only one valid initial child
// generally this is a paragraph
if(jsx.props.children.length===1){jsx=jsx.props.children[0];}if(footnotes.length){jsx.props.children.push(_react2.default.createElement('footer',{key:'footnotes'},footnotes));}return jsx;}
/***/ },
/* 883 */,
/* 884 */,
/* 885 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};/**
* Helpers.
*/var s=1000;var m=s*60;var h=m*60;var d=h*24;var y=d*365.25;/**
* Parse or format the given `val`.
*
* Options:
*
* - `long` verbose formatting [false]
*
* @param {String|Number} val
* @param {Object} options
* @throws {Error} throw an error if val is not a non-empty string or a number
* @return {String|Number}
* @api public
*/module.exports=function(val,options){options=options||{};var type=typeof val==='undefined'?'undefined':_typeof(val);if(type==='string'&&val.length>0){return parse(val);}else if(type==='number'&&isNaN(val)===false){return options.long?fmtLong(val):fmtShort(val);}throw new Error('val is not a non-empty string or a valid number. val='+JSON.stringify(val));};/**
* Parse the given `str` and return milliseconds.
*
* @param {String} str
* @return {Number}
* @api private
*/function parse(str){str=String(str);if(str.length>10000){return;}var match=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);if(!match){return;}var n=parseFloat(match[1]);var type=(match[2]||'ms').toLowerCase();switch(type){case'years':case'year':case'yrs':case'yr':case'y':return n*y;case'days':case'day':case'd':return n*d;case'hours':case'hour':case'hrs':case'hr':case'h':return n*h;case'minutes':case'minute':case'mins':case'min':case'm':return n*m;case'seconds':case'second':case'secs':case'sec':case's':return n*s;case'milliseconds':case'millisecond':case'msecs':case'msec':case'ms':return n;default:return undefined;}}/**
* Short format for `ms`.
*
* @param {Number} ms
* @return {String}
* @api private
*/function fmtShort(ms){if(ms>=d){return Math.round(ms/d)+'d';}if(ms>=h){return Math.round(ms/h)+'h';}if(ms>=m){return Math.round(ms/m)+'m';}if(ms>=s){return Math.round(ms/s)+'s';}return ms+'ms';}/**
* Long format for `ms`.
*
* @param {Number} ms
* @return {String}
* @api private
*/function fmtLong(ms){return plural(ms,d,'day')||plural(ms,h,'hour')||plural(ms,m,'minute')||plural(ms,s,'second')||ms+' ms';}/**
* Pluralization helper.
*/function plural(ms,n,name){if(ms<n){return;}if(ms<n*1.5){return Math.floor(ms/n)+' '+name;}return Math.ceil(ms/n)+' '+name+'s';}
/***/ },
/* 886 */,
/* 887 */,
/* 888 */,
/* 889 */,
/* 890 */,
/* 891 */,
/* 892 */,
/* 893 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var wrappy=__webpack_require__(1175);module.exports=wrappy(once);module.exports.strict=wrappy(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,'once',{value:function value(){return once(this);},configurable:true});Object.defineProperty(Function.prototype,'onceStrict',{value:function value(){return onceStrict(this);},configurable:true});});function once(fn){var f=function f(){if(f.called)return f.value;f.called=true;return f.value=fn.apply(this,arguments);};f.called=false;return f;}function onceStrict(fn){var f=function f(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=fn.apply(this,arguments);};var name=fn.name||'Function wrapped with `once`';f.onceError=name+" shouldn't be called more than once";f.called=false;return f;}
/***/ },
/* 894 */,
/* 895 */,
/* 896 */,
/* 897 */,
/* 898 */,
/* 899 */,
/* 900 */,
/* 901 */,
/* 902 */,
/* 903 */,
/* 904 */,
/* 905 */,
/* 906 */,
/* 907 */,
/* 908 */,
/* 909 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var strictUriEncode=__webpack_require__(1152);var objectAssign=__webpack_require__(910);function encode(value,opts){if(opts.encode){return opts.strict?strictUriEncode(value):encodeURIComponent(value);}return value;}exports.extract=function(str){return str.split('?')[1]||'';};exports.parse=function(str){// Create an object with no prototype
// https://github.com/sindresorhus/query-string/issues/47
var ret=Object.create(null);if(typeof str!=='string'){return ret;}str=str.trim().replace(/^(\?|#|&)/,'');if(!str){return ret;}str.split('&').forEach(function(param){var parts=param.replace(/\+/g,' ').split('=');// Firefox (pre 40) decodes `%3D` to `=`
// https://github.com/sindresorhus/query-string/pull/37
var key=parts.shift();var val=parts.length>0?parts.join('='):undefined;key=decodeURIComponent(key);// missing `=` should be `null`:
// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
val=val===undefined?null:decodeURIComponent(val);if(ret[key]===undefined){ret[key]=val;}else if(Array.isArray(ret[key])){ret[key].push(val);}else{ret[key]=[ret[key],val];}});return ret;};exports.stringify=function(obj,opts){var defaults={encode:true,strict:true};opts=objectAssign(defaults,opts);return obj?Object.keys(obj).sort().map(function(key){var val=obj[key];if(val===undefined){return'';}if(val===null){return encode(key,opts);}if(Array.isArray(val)){var result=[];val.slice().forEach(function(val2){if(val2===undefined){return;}if(val2===null){result.push(encode(key,opts));}else{result.push(encode(key,opts)+'='+encode(val2,opts));}});return result.join('&');}return encode(key,opts)+'='+encode(val,opts);}).filter(function(x){return x.length>0;}).join('&'):'';};
/***/ },
/* 910 */
/***/ function(module, exports) {
"use strict";
'use strict';/* eslint-disable no-unused-vars */var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===undefined){throw new TypeError('Object.assign cannot be called with null or undefined');}return Object(val);}function shouldUseNative(){try{if(!Object.assign){return false;}// Detect buggy property enumeration order in older V8 versions.
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
var test1=new String('abc');// eslint-disable-line
test1[5]='de';if(Object.getOwnPropertyNames(test1)[0]==='5'){return false;}// https://bugs.chromium.org/p/v8/issues/detail?id=3056
var test2={};for(var i=0;i<10;i++){test2['_'+String.fromCharCode(i)]=i;}var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n];});if(order2.join('')!=='0123456789'){return false;}// https://bugs.chromium.org/p/v8/issues/detail?id=3056
var test3={};'abcdefghijklmnopqrst'.split('').forEach(function(letter){test3[letter]=letter;});if(Object.keys(Object.assign({},test3)).join('')!=='abcdefghijklmnopqrst'){return false;}return true;}catch(e){// We don't expect any of the above to throw, but better to be safe.
return false;}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from){if(hasOwnProperty.call(from,key)){to[key]=from[key];}}if(Object.getOwnPropertySymbols){symbols=Object.getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from,symbols[i])){to[symbols[i]]=from[symbols[i]];}}}}return to;};
/***/ },
/* 911 */,
/* 912 */,
/* 913 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;exports["default"]=undefined;var _react=__webpack_require__(0);var _storeShape=__webpack_require__(406);var _storeShape2=_interopRequireDefault(_storeShape);var _warning=__webpack_require__(407);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var didWarnAboutReceivingStore=false;function warnAboutReceivingStore(){if(didWarnAboutReceivingStore){return;}didWarnAboutReceivingStore=true;(0,_warning2["default"])('<Provider> does not support changing `store` on the fly. '+'It is most likely that you see this error because you updated to '+'Redux 2.x and React Redux 2.x which no longer hot reload reducers '+'automatically. See https://github.com/reactjs/react-redux/releases/'+'tag/v2.0.0 for the migration instructions.');}var Provider=function(_Component){_inherits(Provider,_Component);Provider.prototype.getChildContext=function getChildContext(){return{store:this.store};};function Provider(props,context){_classCallCheck(this,Provider);var _this=_possibleConstructorReturn(this,_Component.call(this,props,context));_this.store=props.store;return _this;}Provider.prototype.render=function render(){return _react.Children.only(this.props.children);};return Provider;}(_react.Component);exports["default"]=Provider;if(process.env.NODE_ENV!=='production'){Provider.prototype.componentWillReceiveProps=function(nextProps){var store=this.store;var nextStore=nextProps.store;if(store!==nextStore){warnAboutReceivingStore();}};}Provider.propTypes={store:_storeShape2["default"].isRequired,children:_react.PropTypes.element.isRequired};Provider.childContextTypes={store:_storeShape2["default"].isRequired};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 914 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;var _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;};exports["default"]=connect;var _react=__webpack_require__(0);var _storeShape=__webpack_require__(406);var _storeShape2=_interopRequireDefault(_storeShape);var _shallowEqual=__webpack_require__(915);var _shallowEqual2=_interopRequireDefault(_shallowEqual);var _wrapActionCreators=__webpack_require__(916);var _wrapActionCreators2=_interopRequireDefault(_wrapActionCreators);var _warning=__webpack_require__(407);var _warning2=_interopRequireDefault(_warning);var _isPlainObject=__webpack_require__(168);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _hoistNonReactStatics=__webpack_require__(334);var _hoistNonReactStatics2=_interopRequireDefault(_hoistNonReactStatics);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var defaultMapStateToProps=function defaultMapStateToProps(state){return{};};// eslint-disable-line no-unused-vars
var defaultMapDispatchToProps=function defaultMapDispatchToProps(dispatch){return{dispatch:dispatch};};var defaultMergeProps=function defaultMergeProps(stateProps,dispatchProps,parentProps){return _extends({},parentProps,stateProps,dispatchProps);};function getDisplayName(WrappedComponent){return WrappedComponent.displayName||WrappedComponent.name||'Component';}var errorObject={value:null};function tryCatch(fn,ctx){try{return fn.apply(ctx);}catch(e){errorObject.value=e;return errorObject;}}// Helps track hot reloading.
var nextVersion=0;function connect(mapStateToProps,mapDispatchToProps,mergeProps){var options=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var shouldSubscribe=Boolean(mapStateToProps);var mapState=mapStateToProps||defaultMapStateToProps;var mapDispatch=void 0;if(typeof mapDispatchToProps==='function'){mapDispatch=mapDispatchToProps;}else if(!mapDispatchToProps){mapDispatch=defaultMapDispatchToProps;}else{mapDispatch=(0,_wrapActionCreators2["default"])(mapDispatchToProps);}var finalMergeProps=mergeProps||defaultMergeProps;var _options$pure=options.pure,pure=_options$pure===undefined?true:_options$pure,_options$withRef=options.withRef,withRef=_options$withRef===undefined?false:_options$withRef;var checkMergedEquals=pure&&finalMergeProps!==defaultMergeProps;// Helps track hot reloading.
var version=nextVersion++;return function wrapWithConnect(WrappedComponent){var connectDisplayName='Connect('+getDisplayName(WrappedComponent)+')';function checkStateShape(props,methodName){if(!(0,_isPlainObject2["default"])(props)){(0,_warning2["default"])(methodName+'() in '+connectDisplayName+' must return a plain object. '+('Instead received '+props+'.'));}}function computeMergedProps(stateProps,dispatchProps,parentProps){var mergedProps=finalMergeProps(stateProps,dispatchProps,parentProps);if(process.env.NODE_ENV!=='production'){checkStateShape(mergedProps,'mergeProps');}return mergedProps;}var Connect=function(_Component){_inherits(Connect,_Component);Connect.prototype.shouldComponentUpdate=function shouldComponentUpdate(){return!pure||this.haveOwnPropsChanged||this.hasStoreStateChanged;};function Connect(props,context){_classCallCheck(this,Connect);var _this=_possibleConstructorReturn(this,_Component.call(this,props,context));_this.version=version;_this.store=props.store||context.store;(0,_invariant2["default"])(_this.store,'Could not find "store" in either the context or '+('props of "'+connectDisplayName+'". ')+'Either wrap the root component in a <Provider>, '+('or explicitly pass "store" as a prop to "'+connectDisplayName+'".'));var storeState=_this.store.getState();_this.state={storeState:storeState};_this.clearCache();return _this;}Connect.prototype.computeStateProps=function computeStateProps(store,props){if(!this.finalMapStateToProps){return this.configureFinalMapState(store,props);}var state=store.getState();var stateProps=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(state,props):this.finalMapStateToProps(state);if(process.env.NODE_ENV!=='production'){checkStateShape(stateProps,'mapStateToProps');}return stateProps;};Connect.prototype.configureFinalMapState=function configureFinalMapState(store,props){var mappedState=mapState(store.getState(),props);var isFactory=typeof mappedState==='function';this.finalMapStateToProps=isFactory?mappedState:mapState;this.doStatePropsDependOnOwnProps=this.finalMapStateToProps.length!==1;if(isFactory){return this.computeStateProps(store,props);}if(process.env.NODE_ENV!=='production'){checkStateShape(mappedState,'mapStateToProps');}return mappedState;};Connect.prototype.computeDispatchProps=function computeDispatchProps(store,props){if(!this.finalMapDispatchToProps){return this.configureFinalMapDispatch(store,props);}var dispatch=store.dispatch;var dispatchProps=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(dispatch,props):this.finalMapDispatchToProps(dispatch);if(process.env.NODE_ENV!=='production'){checkStateShape(dispatchProps,'mapDispatchToProps');}return dispatchProps;};Connect.prototype.configureFinalMapDispatch=function configureFinalMapDispatch(store,props){var mappedDispatch=mapDispatch(store.dispatch,props);var isFactory=typeof mappedDispatch==='function';this.finalMapDispatchToProps=isFactory?mappedDispatch:mapDispatch;this.doDispatchPropsDependOnOwnProps=this.finalMapDispatchToProps.length!==1;if(isFactory){return this.computeDispatchProps(store,props);}if(process.env.NODE_ENV!=='production'){checkStateShape(mappedDispatch,'mapDispatchToProps');}return mappedDispatch;};Connect.prototype.updateStatePropsIfNeeded=function updateStatePropsIfNeeded(){var nextStateProps=this.computeStateProps(this.store,this.props);if(this.stateProps&&(0,_shallowEqual2["default"])(nextStateProps,this.stateProps)){return false;}this.stateProps=nextStateProps;return true;};Connect.prototype.updateDispatchPropsIfNeeded=function updateDispatchPropsIfNeeded(){var nextDispatchProps=this.computeDispatchProps(this.store,this.props);if(this.dispatchProps&&(0,_shallowEqual2["default"])(nextDispatchProps,this.dispatchProps)){return false;}this.dispatchProps=nextDispatchProps;return true;};Connect.prototype.updateMergedPropsIfNeeded=function updateMergedPropsIfNeeded(){var nextMergedProps=computeMergedProps(this.stateProps,this.dispatchProps,this.props);if(this.mergedProps&&checkMergedEquals&&(0,_shallowEqual2["default"])(nextMergedProps,this.mergedProps)){return false;}this.mergedProps=nextMergedProps;return true;};Connect.prototype.isSubscribed=function isSubscribed(){return typeof this.unsubscribe==='function';};Connect.prototype.trySubscribe=function trySubscribe(){if(shouldSubscribe&&!this.unsubscribe){this.unsubscribe=this.store.subscribe(this.handleChange.bind(this));this.handleChange();}};Connect.prototype.tryUnsubscribe=function tryUnsubscribe(){if(this.unsubscribe){this.unsubscribe();this.unsubscribe=null;}};Connect.prototype.componentDidMount=function componentDidMount(){this.trySubscribe();};Connect.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){if(!pure||!(0,_shallowEqual2["default"])(nextProps,this.props)){this.haveOwnPropsChanged=true;}};Connect.prototype.componentWillUnmount=function componentWillUnmount(){this.tryUnsubscribe();this.clearCache();};Connect.prototype.clearCache=function clearCache(){this.dispatchProps=null;this.stateProps=null;this.mergedProps=null;this.haveOwnPropsChanged=true;this.hasStoreStateChanged=true;this.haveStatePropsBeenPrecalculated=false;this.statePropsPrecalculationError=null;this.renderedElement=null;this.finalMapDispatchToProps=null;this.finalMapStateToProps=null;};Connect.prototype.handleChange=function handleChange(){if(!this.unsubscribe){return;}var storeState=this.store.getState();var prevStoreState=this.state.storeState;if(pure&&prevStoreState===storeState){return;}if(pure&&!this.doStatePropsDependOnOwnProps){var haveStatePropsChanged=tryCatch(this.updateStatePropsIfNeeded,this);if(!haveStatePropsChanged){return;}if(haveStatePropsChanged===errorObject){this.statePropsPrecalculationError=errorObject.value;}this.haveStatePropsBeenPrecalculated=true;}this.hasStoreStateChanged=true;this.setState({storeState:storeState});};Connect.prototype.getWrappedInstance=function getWrappedInstance(){(0,_invariant2["default"])(withRef,'To access the wrapped instance, you need to specify '+'{ withRef: true } as the fourth argument of the connect() call.');return this.refs.wrappedInstance;};Connect.prototype.render=function render(){var haveOwnPropsChanged=this.haveOwnPropsChanged,hasStoreStateChanged=this.hasStoreStateChanged,haveStatePropsBeenPrecalculated=this.haveStatePropsBeenPrecalculated,statePropsPrecalculationError=this.statePropsPrecalculationError,renderedElement=this.renderedElement;this.haveOwnPropsChanged=false;this.hasStoreStateChanged=false;this.haveStatePropsBeenPrecalculated=false;this.statePropsPrecalculationError=null;if(statePropsPrecalculationError){throw statePropsPrecalculationError;}var shouldUpdateStateProps=true;var shouldUpdateDispatchProps=true;if(pure&&renderedElement){shouldUpdateStateProps=hasStoreStateChanged||haveOwnPropsChanged&&this.doStatePropsDependOnOwnProps;shouldUpdateDispatchProps=haveOwnPropsChanged&&this.doDispatchPropsDependOnOwnProps;}var haveStatePropsChanged=false;var haveDispatchPropsChanged=false;if(haveStatePropsBeenPrecalculated){haveStatePropsChanged=true;}else if(shouldUpdateStateProps){haveStatePropsChanged=this.updateStatePropsIfNeeded();}if(shouldUpdateDispatchProps){haveDispatchPropsChanged=this.updateDispatchPropsIfNeeded();}var haveMergedPropsChanged=true;if(haveStatePropsChanged||haveDispatchPropsChanged||haveOwnPropsChanged){haveMergedPropsChanged=this.updateMergedPropsIfNeeded();}else{haveMergedPropsChanged=false;}if(!haveMergedPropsChanged&&renderedElement){return renderedElement;}if(withRef){this.renderedElement=(0,_react.createElement)(WrappedComponent,_extends({},this.mergedProps,{ref:'wrappedInstance'}));}else{this.renderedElement=(0,_react.createElement)(WrappedComponent,this.mergedProps);}return this.renderedElement;};return Connect;}(_react.Component);Connect.displayName=connectDisplayName;Connect.WrappedComponent=WrappedComponent;Connect.contextTypes={store:_storeShape2["default"]};Connect.propTypes={store:_storeShape2["default"]};if(process.env.NODE_ENV!=='production'){Connect.prototype.componentWillUpdate=function componentWillUpdate(){if(this.version===version){return;}// We are hot reloading!
this.version=version;this.trySubscribe();this.clearCache();};}return(0,_hoistNonReactStatics2["default"])(Connect,WrappedComponent);};}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 915 */
/***/ function(module, exports) {
"use strict";
"use strict";exports.__esModule=true;exports["default"]=shallowEqual;function shallowEqual(objA,objB){if(objA===objB){return true;}var keysA=Object.keys(objA);var keysB=Object.keys(objB);if(keysA.length!==keysB.length){return false;}// Test for A's keys different from B.
var hasOwn=Object.prototype.hasOwnProperty;for(var i=0;i<keysA.length;i++){if(!hasOwn.call(objB,keysA[i])||objA[keysA[i]]!==objB[keysA[i]]){return false;}}return true;}
/***/ },
/* 916 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports["default"]=wrapActionCreators;var _redux=__webpack_require__(304);function wrapActionCreators(actionCreators){return function(dispatch){return(0,_redux.bindActionCreators)(actionCreators,dispatch);};}
/***/ },
/* 917 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _Link=__webpack_require__(408);var _Link2=_interopRequireDefault(_Link);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* An <IndexLink> is used to link to an <IndexRoute>.
*/var IndexLink=_react2.default.createClass({displayName:'IndexLink',render:function render(){return _react2.default.createElement(_Link2.default,_extends({},this.props,{onlyActiveOnIndex:true}));}});exports.default=IndexLink;module.exports=exports['default'];
/***/ },
/* 918 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _Redirect=__webpack_require__(410);var _Redirect2=_interopRequireDefault(_Redirect);var _InternalPropTypes=__webpack_require__(119);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _React$PropTypes=_react2.default.PropTypes,string=_React$PropTypes.string,object=_React$PropTypes.object;/**
* An <IndexRedirect> is used to redirect from an indexRoute.
*//* eslint-disable react/require-render-return */var IndexRedirect=_react2.default.createClass({displayName:'IndexRedirect',statics:{createRouteFromReactElement:function createRouteFromReactElement(element,parentRoute){/* istanbul ignore else: sanity check */if(parentRoute){parentRoute.indexRoute=_Redirect2.default.createRouteFromReactElement(element);}else{process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(false,'An <IndexRedirect> does not make sense at the root of your route config'):void 0;}}},propTypes:{to:string.isRequired,query:object,state:object,onEnter:_InternalPropTypes.falsy,children:_InternalPropTypes.falsy},/* istanbul ignore next: sanity check */render:function render(){ true?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'<IndexRedirect> elements are for router configuration only and should not be rendered'):(0,_invariant2.default)(false):void 0;}});exports.default=IndexRedirect;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 919 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _RouteUtils=__webpack_require__(62);var _InternalPropTypes=__webpack_require__(119);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var func=_react2.default.PropTypes.func;/**
* An <IndexRoute> is used to specify its parent's <Route indexRoute> in
* a JSX route config.
*//* eslint-disable react/require-render-return */var IndexRoute=_react2.default.createClass({displayName:'IndexRoute',statics:{createRouteFromReactElement:function createRouteFromReactElement(element,parentRoute){/* istanbul ignore else: sanity check */if(parentRoute){parentRoute.indexRoute=(0,_RouteUtils.createRouteFromReactElement)(element);}else{process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(false,'An <IndexRoute> does not make sense at the root of your route config'):void 0;}}},propTypes:{path:_InternalPropTypes.falsy,component:_InternalPropTypes.component,components:_InternalPropTypes.components,getComponent:func,getComponents:func},/* istanbul ignore next: sanity check */render:function render(){ true?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'<IndexRoute> elements are for router configuration only and should not be rendered'):(0,_invariant2.default)(false):void 0;}});exports.default=IndexRoute;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 920 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _RouteUtils=__webpack_require__(62);var _InternalPropTypes=__webpack_require__(119);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _React$PropTypes=_react2.default.PropTypes,string=_React$PropTypes.string,func=_React$PropTypes.func;/**
* A <Route> is used to declare which components are rendered to the
* page when the URL matches a given pattern.
*
* Routes are arranged in a nested tree structure. When a new URL is
* requested, the tree is searched depth-first to find a route whose
* path matches the URL. When one is found, all routes in the tree
* that lead to it are considered "active" and their components are
* rendered into the DOM, nested in the same order as in the tree.
*//* eslint-disable react/require-render-return */var Route=_react2.default.createClass({displayName:'Route',statics:{createRouteFromReactElement:_RouteUtils.createRouteFromReactElement},propTypes:{path:string,component:_InternalPropTypes.component,components:_InternalPropTypes.components,getComponent:func,getComponents:func},/* istanbul ignore next: sanity check */render:function render(){ true?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'<Route> elements are for router configuration only and should not be rendered'):(0,_invariant2.default)(false):void 0;}});exports.default=Route;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 921 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _createTransitionManager2=__webpack_require__(414);var _createTransitionManager3=_interopRequireDefault(_createTransitionManager2);var _InternalPropTypes=__webpack_require__(119);var _RouterContext=__webpack_require__(242);var _RouterContext2=_interopRequireDefault(_RouterContext);var _RouteUtils=__webpack_require__(62);var _RouterUtils=__webpack_require__(411);var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}var _React$PropTypes=_react2.default.PropTypes,func=_React$PropTypes.func,object=_React$PropTypes.object;/**
* A <Router> is a high-level API for automatically setting up
* a router that renders a <RouterContext> with all the props
* it needs each time the URL changes.
*/var Router=_react2.default.createClass({displayName:'Router',propTypes:{history:object,children:_InternalPropTypes.routes,routes:_InternalPropTypes.routes,// alias for children
render:func,createElement:func,onError:func,onUpdate:func,// PRIVATE: For client-side rehydration of server match.
matchContext:object},getDefaultProps:function getDefaultProps(){return{render:function render(props){return _react2.default.createElement(_RouterContext2.default,props);}};},getInitialState:function getInitialState(){return{location:null,routes:null,params:null,components:null};},handleError:function handleError(error){if(this.props.onError){this.props.onError.call(this,error);}else{// Throw errors by default so we don't silently swallow them!
throw error;// This error probably occurred in getChildRoutes or getComponents.
}},createRouterObject:function createRouterObject(state){var matchContext=this.props.matchContext;if(matchContext){return matchContext.router;}var history=this.props.history;return(0,_RouterUtils.createRouterObject)(history,this.transitionManager,state);},createTransitionManager:function createTransitionManager(){var matchContext=this.props.matchContext;if(matchContext){return matchContext.transitionManager;}var history=this.props.history;var _props=this.props,routes=_props.routes,children=_props.children;!history.getCurrentLocation?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'You have provided a history object created with history v2.x or '+'earlier. This version of React Router is only compatible with v3 '+'history objects. Please upgrade to history v3.x.'):(0,_invariant2.default)(false):void 0;return(0,_createTransitionManager3.default)(history,(0,_RouteUtils.createRoutes)(routes||children));},componentWillMount:function componentWillMount(){var _this=this;this.transitionManager=this.createTransitionManager();this.router=this.createRouterObject(this.state);this._unlisten=this.transitionManager.listen(function(error,state){if(error){_this.handleError(error);}else{// Keep the identity of this.router because of a caveat in ContextUtils:
// they only work if the object identity is preserved.
(0,_RouterUtils.assignRouterState)(_this.router,state);_this.setState(state,_this.props.onUpdate);}});},/* istanbul ignore next: sanity check */componentWillReceiveProps:function componentWillReceiveProps(nextProps){process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(nextProps.history===this.props.history,'You cannot change <Router history>; it will be ignored'):void 0;process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)((nextProps.routes||nextProps.children)===(this.props.routes||this.props.children),'You cannot change <Router routes>; it will be ignored'):void 0;},componentWillUnmount:function componentWillUnmount(){if(this._unlisten)this._unlisten();},render:function render(){var _state=this.state,location=_state.location,routes=_state.routes,params=_state.params,components=_state.components;var _props2=this.props,createElement=_props2.createElement,render=_props2.render,props=_objectWithoutProperties(_props2,['createElement','render']);if(location==null)return null;// Async match
// Only forward non-Router-specific props to routing context, as those are
// the only ones that might be custom routing context props.
Object.keys(Router.propTypes).forEach(function(propType){return delete props[propType];});return render(_extends({},props,{router:this.router,location:location,routes:routes,params:params,components:components,createElement:createElement}));}});exports.default=Router;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 922 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.runEnterHooks=runEnterHooks;exports.runChangeHooks=runChangeHooks;exports.runLeaveHooks=runLeaveHooks;var _AsyncUtils=__webpack_require__(239);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}var PendingHooks=function PendingHooks(){var _this=this;_classCallCheck(this,PendingHooks);this.hooks=[];this.add=function(hook){return _this.hooks.push(hook);};this.remove=function(hook){return _this.hooks=_this.hooks.filter(function(h){return h!==hook;});};this.has=function(hook){return _this.hooks.indexOf(hook)!==-1;};this.clear=function(){return _this.hooks=[];};};var enterHooks=new PendingHooks();var changeHooks=new PendingHooks();function createTransitionHook(hook,route,asyncArity,pendingHooks){var isSync=hook.length<asyncArity;var transitionHook=function transitionHook(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}hook.apply(route,args);if(isSync){var callback=args[args.length-1];// Assume hook executes synchronously and
// automatically call the callback.
callback();}};pendingHooks.add(transitionHook);return transitionHook;}function getEnterHooks(routes){return routes.reduce(function(hooks,route){if(route.onEnter)hooks.push(createTransitionHook(route.onEnter,route,3,enterHooks));return hooks;},[]);}function getChangeHooks(routes){return routes.reduce(function(hooks,route){if(route.onChange)hooks.push(createTransitionHook(route.onChange,route,4,changeHooks));return hooks;},[]);}function runTransitionHooks(length,iter,callback){if(!length){callback();return;}var redirectInfo=void 0;function replace(location){redirectInfo=location;}(0,_AsyncUtils.loopAsync)(length,function(index,next,done){iter(index,replace,function(error){if(error||redirectInfo){done(error,redirectInfo);// No need to continue.
}else{next();}});},callback);}/**
* Runs all onEnter hooks in the given array of routes in order
* with onEnter(nextState, replace, callback) and calls
* callback(error, redirectInfo) when finished. The first hook
* to use replace short-circuits the loop.
*
* If a hook needs to run asynchronously, it may use the callback
* function. However, doing so will cause the transition to pause,
* which could lead to a non-responsive UI if the hook is slow.
*/function runEnterHooks(routes,nextState,callback){enterHooks.clear();var hooks=getEnterHooks(routes);return runTransitionHooks(hooks.length,function(index,replace,next){var wrappedNext=function wrappedNext(){if(enterHooks.has(hooks[index])){next();enterHooks.remove(hooks[index]);}};hooks[index](nextState,replace,wrappedNext);},callback);}/**
* Runs all onChange hooks in the given array of routes in order
* with onChange(prevState, nextState, replace, callback) and calls
* callback(error, redirectInfo) when finished. The first hook
* to use replace short-circuits the loop.
*
* If a hook needs to run asynchronously, it may use the callback
* function. However, doing so will cause the transition to pause,
* which could lead to a non-responsive UI if the hook is slow.
*/function runChangeHooks(routes,state,nextState,callback){changeHooks.clear();var hooks=getChangeHooks(routes);return runTransitionHooks(hooks.length,function(index,replace,next){var wrappedNext=function wrappedNext(){if(changeHooks.has(hooks[index])){next();changeHooks.remove(hooks[index]);}};hooks[index](state,nextState,replace,wrappedNext);},callback);}/**
* Runs all onLeave hooks in the given array of routes in order.
*/function runLeaveHooks(routes,prevState){for(var i=0,len=routes.length;i<len;++i){if(routes[i].onLeave)routes[i].onLeave.call(routes[i],prevState);}}
/***/ },
/* 923 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _RouterContext=__webpack_require__(242);var _RouterContext2=_interopRequireDefault(_RouterContext);var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=function(){for(var _len=arguments.length,middlewares=Array(_len),_key=0;_key<_len;_key++){middlewares[_key]=arguments[_key];}if(process.env.NODE_ENV!=='production'){middlewares.forEach(function(middleware,index){process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(middleware.renderRouterContext||middleware.renderRouteComponent,'The middleware specified at index '+index+' does not appear to be '+'a valid React Router middleware.'):void 0;});}var withContext=middlewares.map(function(middleware){return middleware.renderRouterContext;}).filter(Boolean);var withComponent=middlewares.map(function(middleware){return middleware.renderRouteComponent;}).filter(Boolean);var makeCreateElement=function makeCreateElement(){var baseCreateElement=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_react.createElement;return function(Component,props){return withComponent.reduceRight(function(previous,renderRouteComponent){return renderRouteComponent(previous,props);},baseCreateElement(Component,props));};};return function(renderProps){return withContext.reduceRight(function(previous,renderRouterContext){return renderRouterContext(previous,renderProps);},_react2.default.createElement(_RouterContext2.default,_extends({},renderProps,{createElement:makeCreateElement(renderProps.createElement)})));};};module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 924 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _createBrowserHistory=__webpack_require__(936);var _createBrowserHistory2=_interopRequireDefault(_createBrowserHistory);var _createRouterHistory=__webpack_require__(413);var _createRouterHistory2=_interopRequireDefault(_createRouterHistory);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=(0,_createRouterHistory2.default)(_createBrowserHistory2.default);module.exports=exports['default'];
/***/ },
/* 925 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _PatternUtils=__webpack_require__(93);function routeParamsChanged(route,prevState,nextState){if(!route.path)return false;var paramNames=(0,_PatternUtils.getParamNames)(route.path);return paramNames.some(function(paramName){return prevState.params[paramName]!==nextState.params[paramName];});}/**
* Returns an object of { leaveRoutes, changeRoutes, enterRoutes } determined by
* the change from prevState to nextState. We leave routes if either
* 1) they are not in the next state or 2) they are in the next state
* but their params have changed (i.e. /users/123 => /users/456).
*
* leaveRoutes are ordered starting at the leaf route of the tree
* we're leaving up to the common parent route. enterRoutes are ordered
* from the top of the tree we're entering down to the leaf route.
*
* changeRoutes are any routes that didn't leave or enter during
* the transition.
*/function computeChangedRoutes(prevState,nextState){var prevRoutes=prevState&&prevState.routes;var nextRoutes=nextState.routes;var leaveRoutes=void 0,changeRoutes=void 0,enterRoutes=void 0;if(prevRoutes){(function(){var parentIsLeaving=false;leaveRoutes=prevRoutes.filter(function(route){if(parentIsLeaving){return true;}else{var isLeaving=nextRoutes.indexOf(route)===-1||routeParamsChanged(route,prevState,nextState);if(isLeaving)parentIsLeaving=true;return isLeaving;}});// onLeave hooks start at the leaf route.
leaveRoutes.reverse();enterRoutes=[];changeRoutes=[];nextRoutes.forEach(function(route){var isNew=prevRoutes.indexOf(route)===-1;var paramsChanged=leaveRoutes.indexOf(route)!==-1;if(isNew||paramsChanged)enterRoutes.push(route);else changeRoutes.push(route);});})();}else{leaveRoutes=[];changeRoutes=[];enterRoutes=nextRoutes;}return{leaveRoutes:leaveRoutes,changeRoutes:changeRoutes,enterRoutes:enterRoutes};}exports.default=computeChangedRoutes;module.exports=exports['default'];
/***/ },
/* 926 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _AsyncUtils=__webpack_require__(239);var _PromiseUtils=__webpack_require__(409);function getComponentsForRoute(nextState,route,callback){if(route.component||route.components){callback(null,route.component||route.components);return;}var getComponent=route.getComponent||route.getComponents;if(getComponent){var componentReturn=getComponent.call(route,nextState,callback);if((0,_PromiseUtils.isPromise)(componentReturn))componentReturn.then(function(component){return callback(null,component);},callback);}else{callback();}}/**
* Asynchronously fetches all components needed for the given router
* state and calls callback(error, components) when finished.
*
* Note: This operation may finish synchronously if no routes have an
* asynchronous getComponents method.
*/function getComponents(nextState,callback){(0,_AsyncUtils.mapAsync)(nextState.routes,function(route,index,callback){getComponentsForRoute(nextState,route,callback);},callback);}exports.default=getComponents;module.exports=exports['default'];
/***/ },
/* 927 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _PatternUtils=__webpack_require__(93);/**
* Extracts an object of params the given route cares about from
* the given params object.
*/function getRouteParams(route,params){var routeParams={};if(!route.path)return routeParams;(0,_PatternUtils.getParamNames)(route.path).forEach(function(p){if(Object.prototype.hasOwnProperty.call(params,p)){routeParams[p]=params[p];}});return routeParams;}exports.default=getRouteParams;module.exports=exports['default'];
/***/ },
/* 928 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;var _createHashHistory=__webpack_require__(937);var _createHashHistory2=_interopRequireDefault(_createHashHistory);var _createRouterHistory=__webpack_require__(413);var _createRouterHistory2=_interopRequireDefault(_createRouterHistory);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=(0,_createRouterHistory2.default)(_createHashHistory2.default);module.exports=exports['default'];
/***/ },
/* 929 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};exports.default=isActive;var _PatternUtils=__webpack_require__(93);function deepEqual(a,b){if(a==b)return true;if(a==null||b==null)return false;if(Array.isArray(a)){return Array.isArray(b)&&a.length===b.length&&a.every(function(item,index){return deepEqual(item,b[index]);});}if((typeof a==='undefined'?'undefined':_typeof(a))==='object'){for(var p in a){if(!Object.prototype.hasOwnProperty.call(a,p)){continue;}if(a[p]===undefined){if(b[p]!==undefined){return false;}}else if(!Object.prototype.hasOwnProperty.call(b,p)){return false;}else if(!deepEqual(a[p],b[p])){return false;}}return true;}return String(a)===String(b);}/**
* Returns true if the current pathname matches the supplied one, net of
* leading and trailing slash normalization. This is sufficient for an
* indexOnly route match.
*/function pathIsActive(pathname,currentPathname){// Normalize leading slash for consistency. Leading slash on pathname has
// already been normalized in isActive. See caveat there.
if(currentPathname.charAt(0)!=='/'){currentPathname='/'+currentPathname;}// Normalize the end of both path names too. Maybe `/foo/` shouldn't show
// `/foo` as active, but in this case, we would already have failed the
// match.
if(pathname.charAt(pathname.length-1)!=='/'){pathname+='/';}if(currentPathname.charAt(currentPathname.length-1)!=='/'){currentPathname+='/';}return currentPathname===pathname;}/**
* Returns true if the given pathname matches the active routes and params.
*/function routeIsActive(pathname,routes,params){var remainingPathname=pathname,paramNames=[],paramValues=[];// for...of would work here but it's probably slower post-transpilation.
for(var i=0,len=routes.length;i<len;++i){var route=routes[i];var pattern=route.path||'';if(pattern.charAt(0)==='/'){remainingPathname=pathname;paramNames=[];paramValues=[];}if(remainingPathname!==null&&pattern){var matched=(0,_PatternUtils.matchPattern)(pattern,remainingPathname);if(matched){remainingPathname=matched.remainingPathname;paramNames=[].concat(paramNames,matched.paramNames);paramValues=[].concat(paramValues,matched.paramValues);}else{remainingPathname=null;}if(remainingPathname===''){// We have an exact match on the route. Just check that all the params
// match.
// FIXME: This doesn't work on repeated params.
return paramNames.every(function(paramName,index){return String(paramValues[index])===String(params[paramName]);});}}}return false;}/**
* Returns true if all key/value pairs in the given query are
* currently active.
*/function queryIsActive(query,activeQuery){if(activeQuery==null)return query==null;if(query==null)return true;return deepEqual(query,activeQuery);}/**
* Returns true if a <Link> to the given pathname/query combination is
* currently active.
*/function isActive(_ref,indexOnly,currentLocation,routes,params){var pathname=_ref.pathname,query=_ref.query;if(currentLocation==null)return false;// TODO: This is a bit ugly. It keeps around support for treating pathnames
// without preceding slashes as absolute paths, but possibly also works
// around the same quirks with basenames as in matchRoutes.
if(pathname.charAt(0)!=='/'){pathname='/'+pathname;}if(!pathIsActive(pathname,currentLocation.pathname)){// The path check is necessary and sufficient for indexOnly, but otherwise
// we still need to check the routes.
if(indexOnly||!routeIsActive(pathname,routes,params)){return false;}}return queryIsActive(query,currentLocation.query);}module.exports=exports['default'];
/***/ },
/* 930 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _Actions=__webpack_require__(176);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _createMemoryHistory=__webpack_require__(412);var _createMemoryHistory2=_interopRequireDefault(_createMemoryHistory);var _createTransitionManager=__webpack_require__(414);var _createTransitionManager2=_interopRequireDefault(_createTransitionManager);var _RouteUtils=__webpack_require__(62);var _RouterUtils=__webpack_require__(411);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}/**
* A high-level API to be used for server-side rendering.
*
* This function matches a location to a set of routes and calls
* callback(error, redirectLocation, renderProps) when finished.
*
* Note: You probably don't want to use this in a browser unless you're using
* server-side rendering with async routes.
*/function match(_ref,callback){var history=_ref.history,routes=_ref.routes,location=_ref.location,options=_objectWithoutProperties(_ref,['history','routes','location']);!(history||location)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'match needs a history or a location'):(0,_invariant2.default)(false):void 0;history=history?history:(0,_createMemoryHistory2.default)(options);var transitionManager=(0,_createTransitionManager2.default)(history,(0,_RouteUtils.createRoutes)(routes));if(location){// Allow match({ location: '/the/path', ... })
location=history.createLocation(location);}else{location=history.getCurrentLocation();}transitionManager.match(location,function(error,redirectLocation,nextState){var renderProps=void 0;if(nextState){var router=(0,_RouterUtils.createRouterObject)(history,transitionManager,nextState);renderProps=_extends({},nextState,{router:router,matchContext:{transitionManager:transitionManager,router:router}});}callback(error,redirectLocation&&history.createLocation(redirectLocation,_Actions.REPLACE),renderProps);});}exports.default=match;module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 931 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;var _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;};var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};exports.default=matchRoutes;var _AsyncUtils=__webpack_require__(239);var _PromiseUtils=__webpack_require__(409);var _PatternUtils=__webpack_require__(93);var _routerWarning=__webpack_require__(94);var _routerWarning2=_interopRequireDefault(_routerWarning);var _RouteUtils=__webpack_require__(62);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function getChildRoutes(route,location,paramNames,paramValues,callback){if(route.childRoutes){return[null,route.childRoutes];}if(!route.getChildRoutes){return[];}var sync=true,result=void 0;var partialNextState={location:location,params:createParams(paramNames,paramValues)};var childRoutesReturn=route.getChildRoutes(partialNextState,function(error,childRoutes){childRoutes=!error&&(0,_RouteUtils.createRoutes)(childRoutes);if(sync){result=[error,childRoutes];return;}callback(error,childRoutes);});if((0,_PromiseUtils.isPromise)(childRoutesReturn))childRoutesReturn.then(function(childRoutes){return callback(null,(0,_RouteUtils.createRoutes)(childRoutes));},callback);sync=false;return result;// Might be undefined.
}function getIndexRoute(route,location,paramNames,paramValues,callback){if(route.indexRoute){callback(null,route.indexRoute);}else if(route.getIndexRoute){var partialNextState={location:location,params:createParams(paramNames,paramValues)};var indexRoutesReturn=route.getIndexRoute(partialNextState,function(error,indexRoute){callback(error,!error&&(0,_RouteUtils.createRoutes)(indexRoute)[0]);});if((0,_PromiseUtils.isPromise)(indexRoutesReturn))indexRoutesReturn.then(function(indexRoute){return callback(null,(0,_RouteUtils.createRoutes)(indexRoute)[0]);},callback);}else if(route.childRoutes){(function(){var pathless=route.childRoutes.filter(function(childRoute){return!childRoute.path;});(0,_AsyncUtils.loopAsync)(pathless.length,function(index,next,done){getIndexRoute(pathless[index],location,paramNames,paramValues,function(error,indexRoute){if(error||indexRoute){var routes=[pathless[index]].concat(Array.isArray(indexRoute)?indexRoute:[indexRoute]);done(error,routes);}else{next();}});},function(err,routes){callback(null,routes);});})();}else{callback();}}function assignParams(params,paramNames,paramValues){return paramNames.reduce(function(params,paramName,index){var paramValue=paramValues&&paramValues[index];if(Array.isArray(params[paramName])){params[paramName].push(paramValue);}else if(paramName in params){params[paramName]=[params[paramName],paramValue];}else{params[paramName]=paramValue;}return params;},params);}function createParams(paramNames,paramValues){return assignParams({},paramNames,paramValues);}function matchRouteDeep(route,location,remainingPathname,paramNames,paramValues,callback){var pattern=route.path||'';if(pattern.charAt(0)==='/'){remainingPathname=location.pathname;paramNames=[];paramValues=[];}// Only try to match the path if the route actually has a pattern, and if
// we're not just searching for potential nested absolute paths.
if(remainingPathname!==null&&pattern){try{var matched=(0,_PatternUtils.matchPattern)(pattern,remainingPathname);if(matched){remainingPathname=matched.remainingPathname;paramNames=[].concat(paramNames,matched.paramNames);paramValues=[].concat(paramValues,matched.paramValues);}else{remainingPathname=null;}}catch(error){callback(error);}// By assumption, pattern is non-empty here, which is the prerequisite for
// actually terminating a match.
if(remainingPathname===''){var _ret2=function(){var match={routes:[route],params:createParams(paramNames,paramValues)};getIndexRoute(route,location,paramNames,paramValues,function(error,indexRoute){if(error){callback(error);}else{if(Array.isArray(indexRoute)){var _match$routes;process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(indexRoute.every(function(route){return!route.path;}),'Index routes should not have paths'):void 0;(_match$routes=match.routes).push.apply(_match$routes,indexRoute);}else if(indexRoute){process.env.NODE_ENV!=='production'?(0,_routerWarning2.default)(!indexRoute.path,'Index routes should not have paths'):void 0;match.routes.push(indexRoute);}callback(null,match);}});return{v:void 0};}();if((typeof _ret2==='undefined'?'undefined':_typeof(_ret2))==="object")return _ret2.v;}}if(remainingPathname!=null||route.childRoutes){// Either a) this route matched at least some of the path or b)
// we don't have to load this route's children asynchronously. In
// either case continue checking for matches in the subtree.
var onChildRoutes=function onChildRoutes(error,childRoutes){if(error){callback(error);}else if(childRoutes){// Check the child routes to see if any of them match.
matchRoutes(childRoutes,location,function(error,match){if(error){callback(error);}else if(match){// A child route matched! Augment the match and pass it up the stack.
match.routes.unshift(route);callback(null,match);}else{callback();}},remainingPathname,paramNames,paramValues);}else{callback();}};var result=getChildRoutes(route,location,paramNames,paramValues,onChildRoutes);if(result){onChildRoutes.apply(undefined,result);}}else{callback();}}/**
* Asynchronously matches the given location to a set of routes and calls
* callback(error, state) when finished. The state object will have the
* following properties:
*
* - routes An array of routes that matched, in hierarchical order
* - params An object of URL parameters
*
* Note: This operation may finish synchronously if no routes have an
* asynchronous getChildRoutes method.
*/function matchRoutes(routes,location,callback,remainingPathname){var paramNames=arguments.length>4&&arguments[4]!==undefined?arguments[4]:[];var paramValues=arguments.length>5&&arguments[5]!==undefined?arguments[5]:[];if(remainingPathname===undefined){// TODO: This is a little bit ugly, but it works around a quirk in history
// that strips the leading slash from pathnames when using basenames with
// trailing slashes.
if(location.pathname.charAt(0)!=='/'){location=_extends({},location,{pathname:'/'+location.pathname});}remainingPathname=location.pathname;}(0,_AsyncUtils.loopAsync)(routes.length,function(index,next,done){matchRouteDeep(routes[index],location,remainingPathname,paramNames,paramValues,function(error,match){if(error||match){done(error,match);}else{next();}});},callback);}module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 932 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};exports.default=withRouter;var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _hoistNonReactStatics=__webpack_require__(334);var _hoistNonReactStatics2=_interopRequireDefault(_hoistNonReactStatics);var _ContextUtils=__webpack_require__(240);var _PropTypes=__webpack_require__(241);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function getDisplayName(WrappedComponent){return WrappedComponent.displayName||WrappedComponent.name||'Component';}function withRouter(WrappedComponent,options){var withRef=options&&options.withRef;var WithRouter=_react2.default.createClass({displayName:'WithRouter',mixins:[(0,_ContextUtils.ContextSubscriber)('router')],contextTypes:{router:_PropTypes.routerShape},propTypes:{router:_PropTypes.routerShape},getWrappedInstance:function getWrappedInstance(){!withRef?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'To access the wrapped instance, you need to specify '+'`{ withRef: true }` as the second argument of the withRouter() call.'):(0,_invariant2.default)(false):void 0;return this.wrappedInstance;},render:function render(){var _this=this;var router=this.props.router||this.context.router;var params=router.params,location=router.location,routes=router.routes;var props=_extends({},this.props,{router:router,params:params,location:location,routes:routes});if(withRef){props.ref=function(c){_this.wrappedInstance=c;};}return _react2.default.createElement(WrappedComponent,props);}});WithRouter.displayName='withRouter('+getDisplayName(WrappedComponent)+')';WithRouter.WrappedComponent=WrappedComponent;return(0,_hoistNonReactStatics2.default)(WithRouter,WrappedComponent);}module.exports=exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 933 */
/***/ function(module, exports) {
"use strict";
"use strict";exports.__esModule=true;var loopAsync=exports.loopAsync=function loopAsync(turns,work,callback){var currentTurn=0,isDone=false;var isSync=false,hasNext=false,doneArgs=void 0;var done=function done(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}isDone=true;if(isSync){// Iterate instead of recursing if possible.
doneArgs=args;return;}callback.apply(undefined,args);};var next=function next(){if(isDone)return;hasNext=true;if(isSync)return;// Iterate instead of recursing if possible.
isSync=true;while(!isDone&&currentTurn<turns&&hasNext){hasNext=false;work(currentTurn++,next,done);}isSync=false;if(isDone){// This means the loop finished synchronously.
callback.apply(undefined,doneArgs);return;}if(currentTurn>=turns&&hasNext){isDone=true;callback();}};next();};
/***/ },
/* 934 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;exports.replaceLocation=exports.pushLocation=exports.startListener=exports.getCurrentLocation=exports.go=exports.getUserConfirmation=undefined;var _BrowserProtocol=__webpack_require__(243);Object.defineProperty(exports,'getUserConfirmation',{enumerable:true,get:function get(){return _BrowserProtocol.getUserConfirmation;}});Object.defineProperty(exports,'go',{enumerable:true,get:function get(){return _BrowserProtocol.go;}});var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);var _LocationUtils=__webpack_require__(95);var _DOMUtils=__webpack_require__(177);var _DOMStateStorage=__webpack_require__(416);var _PathUtils=__webpack_require__(63);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var HashChangeEvent='hashchange';var getHashPath=function getHashPath(){// We can't use window.location.hash here because it's not
// consistent across browsers - Firefox will pre-decode it!
var href=window.location.href;var hashIndex=href.indexOf('#');return hashIndex===-1?'':href.substring(hashIndex+1);};var pushHashPath=function pushHashPath(path){return window.location.hash=path;};var replaceHashPath=function replaceHashPath(path){var hashIndex=window.location.href.indexOf('#');window.location.replace(window.location.href.slice(0,hashIndex>=0?hashIndex:0)+'#'+path);};var getCurrentLocation=exports.getCurrentLocation=function getCurrentLocation(pathCoder,queryKey){var path=pathCoder.decodePath(getHashPath());var key=(0,_PathUtils.getQueryStringValueFromPath)(path,queryKey);var state=void 0;if(key){path=(0,_PathUtils.stripQueryStringValueFromPath)(path,queryKey);state=(0,_DOMStateStorage.readState)(key);}var init=(0,_PathUtils.parsePath)(path);init.state=state;return(0,_LocationUtils.createLocation)(init,undefined,key);};var prevLocation=void 0;var startListener=exports.startListener=function startListener(listener,pathCoder,queryKey){var handleHashChange=function handleHashChange(){var path=getHashPath();var encodedPath=pathCoder.encodePath(path);if(path!==encodedPath){// Always be sure we have a properly-encoded hash.
replaceHashPath(encodedPath);}else{var currentLocation=getCurrentLocation(pathCoder,queryKey);if(prevLocation&&currentLocation.key&&prevLocation.key===currentLocation.key)return;// Ignore extraneous hashchange events
prevLocation=currentLocation;listener(currentLocation);}};// Ensure the hash is encoded properly.
var path=getHashPath();var encodedPath=pathCoder.encodePath(path);if(path!==encodedPath)replaceHashPath(encodedPath);(0,_DOMUtils.addEventListener)(window,HashChangeEvent,handleHashChange);return function(){return(0,_DOMUtils.removeEventListener)(window,HashChangeEvent,handleHashChange);};};var updateLocation=function updateLocation(location,pathCoder,queryKey,updateHash){var state=location.state;var key=location.key;var path=pathCoder.encodePath((0,_PathUtils.createPath)(location));if(state!==undefined){path=(0,_PathUtils.addQueryStringValueToPath)(path,queryKey,key);(0,_DOMStateStorage.saveState)(key,state);}prevLocation=location;updateHash(path);};var pushLocation=exports.pushLocation=function pushLocation(location,pathCoder,queryKey){return updateLocation(location,pathCoder,queryKey,function(path){if(getHashPath()!==path){pushHashPath(path);}else{process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'You cannot PUSH the same path using hash history'):void 0;}});};var replaceLocation=exports.replaceLocation=function replaceLocation(location,pathCoder,queryKey){return updateLocation(location,pathCoder,queryKey,function(path){if(getHashPath()!==path)replaceHashPath(path);});};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 935 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';exports.__esModule=true;exports.replaceLocation=exports.pushLocation=exports.getCurrentLocation=exports.go=exports.getUserConfirmation=undefined;var _BrowserProtocol=__webpack_require__(243);Object.defineProperty(exports,'getUserConfirmation',{enumerable:true,get:function get(){return _BrowserProtocol.getUserConfirmation;}});Object.defineProperty(exports,'go',{enumerable:true,get:function get(){return _BrowserProtocol.go;}});var _LocationUtils=__webpack_require__(95);var _PathUtils=__webpack_require__(63);var getCurrentLocation=exports.getCurrentLocation=function getCurrentLocation(){return(0,_LocationUtils.createLocation)(window.location);};var pushLocation=exports.pushLocation=function pushLocation(location){window.location.href=(0,_PathUtils.createPath)(location);return false;// Don't update location
};var replaceLocation=exports.replaceLocation=function replaceLocation(location){window.location.replace((0,_PathUtils.createPath)(location));return false;// Don't update location
};
/***/ },
/* 936 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _ExecutionEnvironment=__webpack_require__(244);var _BrowserProtocol=__webpack_require__(243);var BrowserProtocol=_interopRequireWildcard(_BrowserProtocol);var _RefreshProtocol=__webpack_require__(935);var RefreshProtocol=_interopRequireWildcard(_RefreshProtocol);var _DOMUtils=__webpack_require__(177);var _createHistory=__webpack_require__(245);var _createHistory2=_interopRequireDefault(_createHistory);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Creates and returns a history object that uses HTML5's history API
* (pushState, replaceState, and the popstate event) to manage history.
* This is the recommended method of managing history in browsers because
* it provides the cleanest URLs.
*
* Note: In browsers that do not support the HTML5 history API full
* page reloads will be used to preserve clean URLs. You can force this
* behavior using { forceRefresh: true } in options.
*/var createBrowserHistory=function createBrowserHistory(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];!_ExecutionEnvironment.canUseDOM?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Browser history needs a DOM'):(0,_invariant2.default)(false):void 0;var useRefresh=options.forceRefresh||!(0,_DOMUtils.supportsHistory)();var Protocol=useRefresh?RefreshProtocol:BrowserProtocol;var getUserConfirmation=Protocol.getUserConfirmation;var getCurrentLocation=Protocol.getCurrentLocation;var pushLocation=Protocol.pushLocation;var replaceLocation=Protocol.replaceLocation;var go=Protocol.go;var history=(0,_createHistory2.default)(_extends({getUserConfirmation:getUserConfirmation},options,{getCurrentLocation:getCurrentLocation,pushLocation:pushLocation,replaceLocation:replaceLocation,go:go}));var listenerCount=0,stopListener=void 0;var startListener=function startListener(listener,before){if(++listenerCount===1)stopListener=BrowserProtocol.startListener(history.transitionTo);var unlisten=before?history.listenBefore(listener):history.listen(listener);return function(){unlisten();if(--listenerCount===0)stopListener();};};var listenBefore=function listenBefore(listener){return startListener(listener,true);};var listen=function listen(listener){return startListener(listener,false);};return _extends({},history,{listenBefore:listenBefore,listen:listen});};exports.default=createBrowserHistory;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 937 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _ExecutionEnvironment=__webpack_require__(244);var _DOMUtils=__webpack_require__(177);var _HashProtocol=__webpack_require__(934);var HashProtocol=_interopRequireWildcard(_HashProtocol);var _createHistory=__webpack_require__(245);var _createHistory2=_interopRequireDefault(_createHistory);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var DefaultQueryKey='_k';var addLeadingSlash=function addLeadingSlash(path){return path.charAt(0)==='/'?path:'/'+path;};var HashPathCoders={hashbang:{encodePath:function encodePath(path){return path.charAt(0)==='!'?path:'!'+path;},decodePath:function decodePath(path){return path.charAt(0)==='!'?path.substring(1):path;}},noslash:{encodePath:function encodePath(path){return path.charAt(0)==='/'?path.substring(1):path;},decodePath:addLeadingSlash},slash:{encodePath:addLeadingSlash,decodePath:addLeadingSlash}};var createHashHistory=function createHashHistory(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];!_ExecutionEnvironment.canUseDOM?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Hash history needs a DOM'):(0,_invariant2.default)(false):void 0;var queryKey=options.queryKey;var hashType=options.hashType;process.env.NODE_ENV!=='production'?(0,_warning2.default)(queryKey!==false,'Using { queryKey: false } no longer works. Instead, just don\'t '+'use location state if you don\'t want a key in your URL query string'):void 0;if(typeof queryKey!=='string')queryKey=DefaultQueryKey;if(hashType==null)hashType='slash';if(!(hashType in HashPathCoders)){process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'Invalid hash type: %s',hashType):void 0;hashType='slash';}var pathCoder=HashPathCoders[hashType];var getUserConfirmation=HashProtocol.getUserConfirmation;var getCurrentLocation=function getCurrentLocation(){return HashProtocol.getCurrentLocation(pathCoder,queryKey);};var pushLocation=function pushLocation(location){return HashProtocol.pushLocation(location,pathCoder,queryKey);};var replaceLocation=function replaceLocation(location){return HashProtocol.replaceLocation(location,pathCoder,queryKey);};var history=(0,_createHistory2.default)(_extends({getUserConfirmation:getUserConfirmation},options,{getCurrentLocation:getCurrentLocation,pushLocation:pushLocation,replaceLocation:replaceLocation,go:HashProtocol.go}));var listenerCount=0,stopListener=void 0;var startListener=function startListener(listener,before){if(++listenerCount===1)stopListener=HashProtocol.startListener(history.transitionTo,pathCoder,queryKey);var unlisten=before?history.listenBefore(listener):history.listen(listener);return function(){unlisten();if(--listenerCount===0)stopListener();};};var listenBefore=function listenBefore(listener){return startListener(listener,true);};var listen=function listen(listener){return startListener(listener,false);};var goIsSupportedWithoutReload=(0,_DOMUtils.supportsGoWithoutReloadUsingHash)();var go=function go(n){process.env.NODE_ENV!=='production'?(0,_warning2.default)(goIsSupportedWithoutReload,'Hash history go(n) causes a full page reload in this browser'):void 0;history.go(n);};var createHref=function createHref(path){return'#'+pathCoder.encodePath(history.createHref(path));};return _extends({},history,{listenBefore:listenBefore,listen:listen,go:go,createHref:createHref});};exports.default=createHashHistory;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 938 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';exports.__esModule=true;var _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;};var _warning=__webpack_require__(64);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(23);var _invariant2=_interopRequireDefault(_invariant);var _LocationUtils=__webpack_require__(95);var _PathUtils=__webpack_require__(63);var _createHistory=__webpack_require__(245);var _createHistory2=_interopRequireDefault(_createHistory);var _Actions=__webpack_require__(176);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var createStateStorage=function createStateStorage(entries){return entries.filter(function(entry){return entry.state;}).reduce(function(memo,entry){memo[entry.key]=entry.state;return memo;},{});};var createMemoryHistory=function createMemoryHistory(){var options=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];if(Array.isArray(options)){options={entries:options};}else if(typeof options==='string'){options={entries:[options]};}var getCurrentLocation=function getCurrentLocation(){var entry=entries[current];var path=(0,_PathUtils.createPath)(entry);var key=void 0,state=void 0;if(entry.key){key=entry.key;state=readState(key);}var init=(0,_PathUtils.parsePath)(path);return(0,_LocationUtils.createLocation)(_extends({},init,{state:state}),undefined,key);};var canGo=function canGo(n){var index=current+n;return index>=0&&index<entries.length;};var go=function go(n){if(!n)return;if(!canGo(n)){process.env.NODE_ENV!=='production'?(0,_warning2.default)(false,'Cannot go(%s) there is not enough history',n):void 0;return;}current+=n;var currentLocation=getCurrentLocation();// Change action to POP
history.transitionTo(_extends({},currentLocation,{action:_Actions.POP}));};var pushLocation=function pushLocation(location){current+=1;if(current<entries.length)entries.splice(current);entries.push(location);saveState(location.key,location.state);};var replaceLocation=function replaceLocation(location){entries[current]=location;saveState(location.key,location.state);};var history=(0,_createHistory2.default)(_extends({},options,{getCurrentLocation:getCurrentLocation,pushLocation:pushLocation,replaceLocation:replaceLocation,go:go}));var _options=options;var entries=_options.entries;var current=_options.current;if(typeof entries==='string'){entries=[entries];}else if(!Array.isArray(entries)){entries=['/'];}entries=entries.map(function(entry){return(0,_LocationUtils.createLocation)(entry);});if(current==null){current=entries.length-1;}else{!(current>=0&&current<entries.length)?process.env.NODE_ENV!=='production'?(0,_invariant2.default)(false,'Current index must be >= 0 and < %s, was %s',entries.length,current):(0,_invariant2.default)(false):void 0;}var storage=createStateStorage(entries);var saveState=function saveState(key,state){return storage[key]=state;};var readState=function readState(key){return storage[key];};return _extends({},history,{canGo:canGo});};exports.default=createMemoryHistory;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 939 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule AutoFocusUtils
* @typechecks static-only
*/'use strict';var ReactMount=__webpack_require__(25);var findDOMNode=__webpack_require__(255);var focusNode=__webpack_require__(329);var Mixin={componentDidMount:function componentDidMount(){if(this.props.autoFocus){focusNode(findDOMNode(this));}}};var AutoFocusUtils={Mixin:Mixin,focusDOMComponent:function focusDOMComponent(){focusNode(ReactMount.getNode(this._rootNodeID));}};module.exports=AutoFocusUtils;
/***/ },
/* 940 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015 Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule BeforeInputEventPlugin
* @typechecks static-only
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var EventConstants=__webpack_require__(50);var EventPropagators=__webpack_require__(121);var ExecutionEnvironment=__webpack_require__(18);var FallbackCompositionState=__webpack_require__(948);var SyntheticCompositionEvent=__webpack_require__(980);var SyntheticInputEvent=__webpack_require__(983);var keyOf=__webpack_require__(57);var END_KEYCODES=[9,13,27,32];// Tab, Return, Esc, Space
var START_KEYCODE=229;var canUseCompositionEvent=ExecutionEnvironment.canUseDOM&&'CompositionEvent'in window;var documentMode=null;if(ExecutionEnvironment.canUseDOM&&'documentMode'in document){documentMode=document.documentMode;}// Webkit offers a very useful `textInput` event that can be used to
// directly represent `beforeInput`. The IE `textinput` event is not as
// useful, so we don't use it.
var canUseTextInputEvent=ExecutionEnvironment.canUseDOM&&'TextEvent'in window&&!documentMode&&!isPresto();// In IE9+, we have access to composition events, but the data supplied
// by the native compositionend event may be incorrect. Japanese ideographic
// spaces, for instance (\u3000) are not recorded correctly.
var useFallbackCompositionData=ExecutionEnvironment.canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11);/**
* Opera <= 12 includes TextEvent in window, but does not fire
* text input events. Rely on keypress instead.
*/function isPresto(){var opera=window.opera;return(typeof opera==='undefined'?'undefined':_typeof(opera))==='object'&&typeof opera.version==='function'&&parseInt(opera.version(),10)<=12;}var SPACEBAR_CODE=32;var SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE);var topLevelTypes=EventConstants.topLevelTypes;// Events and their corresponding property names.
var eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:keyOf({onBeforeInput:null}),captured:keyOf({onBeforeInputCapture:null})},dependencies:[topLevelTypes.topCompositionEnd,topLevelTypes.topKeyPress,topLevelTypes.topTextInput,topLevelTypes.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:keyOf({onCompositionEnd:null}),captured:keyOf({onCompositionEndCapture:null})},dependencies:[topLevelTypes.topBlur,topLevelTypes.topCompositionEnd,topLevelTypes.topKeyDown,topLevelTypes.topKeyPress,topLevelTypes.topKeyUp,topLevelTypes.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:keyOf({onCompositionStart:null}),captured:keyOf({onCompositionStartCapture:null})},dependencies:[topLevelTypes.topBlur,topLevelTypes.topCompositionStart,topLevelTypes.topKeyDown,topLevelTypes.topKeyPress,topLevelTypes.topKeyUp,topLevelTypes.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:keyOf({onCompositionUpdate:null}),captured:keyOf({onCompositionUpdateCapture:null})},dependencies:[topLevelTypes.topBlur,topLevelTypes.topCompositionUpdate,topLevelTypes.topKeyDown,topLevelTypes.topKeyPress,topLevelTypes.topKeyUp,topLevelTypes.topMouseDown]}};// Track whether we've ever handled a keypress on the space key.
var hasSpaceKeypress=false;/**
* Return whether a native keypress event is assumed to be a command.
* This is required because Firefox fires `keypress` events for key commands
* (cut, copy, select-all, etc.) even though no character is inserted.
*/function isKeypressCommand(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&// ctrlKey && altKey is equivalent to AltGr, and is not a command.
!(nativeEvent.ctrlKey&&nativeEvent.altKey);}/**
* Translate native top level events into event types.
*
* @param {string} topLevelType
* @return {object}
*/function getCompositionEventType(topLevelType){switch(topLevelType){case topLevelTypes.topCompositionStart:return eventTypes.compositionStart;case topLevelTypes.topCompositionEnd:return eventTypes.compositionEnd;case topLevelTypes.topCompositionUpdate:return eventTypes.compositionUpdate;}}/**
* Does our fallback best-guess model think this event signifies that
* composition has begun?
*
* @param {string} topLevelType
* @param {object} nativeEvent
* @return {boolean}
*/function isFallbackCompositionStart(topLevelType,nativeEvent){return topLevelType===topLevelTypes.topKeyDown&&nativeEvent.keyCode===START_KEYCODE;}/**
* Does our fallback mode think that this event is the end of composition?
*
* @param {string} topLevelType
* @param {object} nativeEvent
* @return {boolean}
*/function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case topLevelTypes.topKeyUp:// Command keys insert or clear IME input.
return END_KEYCODES.indexOf(nativeEvent.keyCode)!==-1;case topLevelTypes.topKeyDown:// Expect IME keyCode on each keydown. If we get any other
// code we must have exited earlier.
return nativeEvent.keyCode!==START_KEYCODE;case topLevelTypes.topKeyPress:case topLevelTypes.topMouseDown:case topLevelTypes.topBlur:// Events are not possible without cancelling IME.
return true;default:return false;}}/**
* Google Input Tools provides composition data via a CustomEvent,
* with the `data` property populated in the `detail` object. If this
* is available on the event object, use it. If not, this is a plain
* composition event and we have nothing special to extract.
*
* @param {object} nativeEvent
* @return {?string}
*/function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;if((typeof detail==='undefined'?'undefined':_typeof(detail))==='object'&&'data'in detail){return detail.data;}return null;}// Track the current IME composition fallback object, if any.
var currentComposition=null;/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {?object} A SyntheticCompositionEvent.
*/function extractCompositionEvent(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var eventType;var fallbackData;if(canUseCompositionEvent){eventType=getCompositionEventType(topLevelType);}else if(!currentComposition){if(isFallbackCompositionStart(topLevelType,nativeEvent)){eventType=eventTypes.compositionStart;}}else if(isFallbackCompositionEnd(topLevelType,nativeEvent)){eventType=eventTypes.compositionEnd;}if(!eventType){return null;}if(useFallbackCompositionData){// The current composition is stored statically and must not be
// overwritten while composition continues.
if(!currentComposition&&eventType===eventTypes.compositionStart){currentComposition=FallbackCompositionState.getPooled(topLevelTarget);}else if(eventType===eventTypes.compositionEnd){if(currentComposition){fallbackData=currentComposition.getData();}}}var event=SyntheticCompositionEvent.getPooled(eventType,topLevelTargetID,nativeEvent,nativeEventTarget);if(fallbackData){// Inject data generated from fallback path into the synthetic event.
// This matches the property of native CompositionEventInterface.
event.data=fallbackData;}else{var customData=getDataFromCustomEvent(nativeEvent);if(customData!==null){event.data=customData;}}EventPropagators.accumulateTwoPhaseDispatches(event);return event;}/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {object} nativeEvent Native browser event.
* @return {?string} The string corresponding to this `beforeInput` event.
*/function getNativeBeforeInputChars(topLevelType,nativeEvent){switch(topLevelType){case topLevelTypes.topCompositionEnd:return getDataFromCustomEvent(nativeEvent);case topLevelTypes.topKeyPress:/**
* If native `textInput` events are available, our goal is to make
* use of them. However, there is a special case: the spacebar key.
* In Webkit, preventing default on a spacebar `textInput` event
* cancels character insertion, but it *also* causes the browser
* to fall back to its default spacebar behavior of scrolling the
* page.
*
* Tracking at:
* https://code.google.com/p/chromium/issues/detail?id=355103
*
* To avoid this issue, use the keypress event as if no `textInput`
* event is available.
*/var which=nativeEvent.which;if(which!==SPACEBAR_CODE){return null;}hasSpaceKeypress=true;return SPACEBAR_CHAR;case topLevelTypes.topTextInput:// Record the characters to be added to the DOM.
var chars=nativeEvent.data;// If it's a spacebar character, assume that we have already handled
// it at the keypress level and bail immediately. Android Chrome
// doesn't give us keycodes, so we need to blacklist it.
if(chars===SPACEBAR_CHAR&&hasSpaceKeypress){return null;}return chars;default:// For other native event types, do nothing.
return null;}}/**
* For browsers that do not provide the `textInput` event, extract the
* appropriate string to use for SyntheticInputEvent.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {object} nativeEvent Native browser event.
* @return {?string} The fallback string for this `beforeInput` event.
*/function getFallbackBeforeInputChars(topLevelType,nativeEvent){// If we are currently composing (IME) and using a fallback to do so,
// try to extract the composed characters from the fallback object.
if(currentComposition){if(topLevelType===topLevelTypes.topCompositionEnd||isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=currentComposition.getData();FallbackCompositionState.release(currentComposition);currentComposition=null;return chars;}return null;}switch(topLevelType){case topLevelTypes.topPaste:// If a paste event occurs after a keypress, throw out the input
// chars. Paste events should not lead to BeforeInput events.
return null;case topLevelTypes.topKeyPress:/**
* As of v27, Firefox may fire keypress events even when no character
* will be inserted. A few possibilities:
*
* - `which` is `0`. Arrow keys, Esc key, etc.
*
* - `which` is the pressed key code, but no char is available.
* Ex: 'AltGr + d` in Polish. There is no modified character for
* this key combination and no character is inserted into the
* document, but FF fires the keypress for char code `100` anyway.
* No `input` event will occur.
*
* - `which` is the pressed key code, but a command combination is
* being used. Ex: `Cmd+C`. No character is inserted, and no
* `input` event will occur.
*/if(nativeEvent.which&&!isKeypressCommand(nativeEvent)){return String.fromCharCode(nativeEvent.which);}return null;case topLevelTypes.topCompositionEnd:return useFallbackCompositionData?null:nativeEvent.data;default:return null;}}/**
* Extract a SyntheticInputEvent for `beforeInput`, based on either native
* `textInput` or fallback behavior.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {?object} A SyntheticInputEvent.
*/function extractBeforeInputEvent(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var chars;if(canUseTextInputEvent){chars=getNativeBeforeInputChars(topLevelType,nativeEvent);}else{chars=getFallbackBeforeInputChars(topLevelType,nativeEvent);}// If no characters are being inserted, no BeforeInput event should
// be fired.
if(!chars){return null;}var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,topLevelTargetID,nativeEvent,nativeEventTarget);event.data=chars;EventPropagators.accumulateTwoPhaseDispatches(event);return event;}/**
* Create an `onBeforeInput` event to match
* http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.
*
* This event plugin is based on the native `textInput` event
* available in Chrome, Safari, Opera, and IE. This event fires after
* `onKeyPress` and `onCompositionEnd`, but before `onInput`.
*
* `beforeInput` is spec'd but not implemented in any browsers, and
* the `input` event does not provide any useful information about what has
* actually been added, contrary to the spec. Thus, `textInput` is the best
* available event to identify the characters that have actually been inserted
* into the target node.
*
* This plugin is also responsible for emitting `composition` events, thus
* allowing us to share composition fallback code for both `beforeInput` and
* `composition` event types.
*/var BeforeInputEventPlugin={eventTypes:eventTypes,/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @see {EventPluginHub.extractEvents}
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){return[extractCompositionEvent(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget),extractBeforeInputEvent(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget)];}};module.exports=BeforeInputEventPlugin;
/***/ },
/* 941 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSPropertyOperations
* @typechecks static-only
*/'use strict';var CSSProperty=__webpack_require__(419);var ExecutionEnvironment=__webpack_require__(18);var ReactPerf=__webpack_require__(37);var camelizeStyleName=__webpack_require__(647);var dangerousStyleValue=__webpack_require__(988);var hyphenateStyleName=__webpack_require__(652);var memoizeStringOnly=__webpack_require__(656);var warning=__webpack_require__(8);var processStyleName=memoizeStringOnly(function(styleName){return hyphenateStyleName(styleName);});var hasShorthandPropertyBug=false;var styleFloatAccessor='cssFloat';if(ExecutionEnvironment.canUseDOM){var tempStyle=document.createElement('div').style;try{// IE8 throws "Invalid argument." if resetting shorthand style properties.
tempStyle.font='';}catch(e){hasShorthandPropertyBug=true;}// IE8 only supports accessing cssFloat (standard) as styleFloat
if(document.documentElement.style.cssFloat===undefined){styleFloatAccessor='styleFloat';}}if(process.env.NODE_ENV!=='production'){// 'msTransform' is correct, but the other prefixes should be capitalized
var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/;// style values shouldn't contain a semicolon
var badStyleValueWithSemicolonPattern=/;\s*$/;var warnedStyleNames={};var warnedStyleValues={};var warnHyphenatedStyleName=function warnHyphenatedStyleName(name){if(warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]){return;}warnedStyleNames[name]=true;process.env.NODE_ENV!=='production'?warning(false,'Unsupported style property %s. Did you mean %s?',name,camelizeStyleName(name)):undefined;};var warnBadVendoredStyleName=function warnBadVendoredStyleName(name){if(warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]){return;}warnedStyleNames[name]=true;process.env.NODE_ENV!=='production'?warning(false,'Unsupported vendor-prefixed style property %s. Did you mean %s?',name,name.charAt(0).toUpperCase()+name.slice(1)):undefined;};var warnStyleValueWithSemicolon=function warnStyleValueWithSemicolon(name,value){if(warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]){return;}warnedStyleValues[value]=true;process.env.NODE_ENV!=='production'?warning(false,'Style property values shouldn\'t contain a semicolon. '+'Try "%s: %s" instead.',name,value.replace(badStyleValueWithSemicolonPattern,'')):undefined;};/**
* @param {string} name
* @param {*} value
*/var warnValidStyle=function warnValidStyle(name,value){if(name.indexOf('-')>-1){warnHyphenatedStyleName(name);}else if(badVendoredStyleNamePattern.test(name)){warnBadVendoredStyleName(name);}else if(badStyleValueWithSemicolonPattern.test(value)){warnStyleValueWithSemicolon(name,value);}};}/**
* Operations for dealing with CSS properties.
*/var CSSPropertyOperations={/**
* Serializes a mapping of style properties for use as inline styles:
*
* > createMarkupForStyles({width: '200px', height: 0})
* "width:200px;height:0;"
*
* Undefined values are ignored so that declarative programming is easier.
* The result should be HTML-escaped before insertion into the DOM.
*
* @param {object} styles
* @return {?string}
*/createMarkupForStyles:function createMarkupForStyles(styles){var serialized='';for(var styleName in styles){if(!styles.hasOwnProperty(styleName)){continue;}var styleValue=styles[styleName];if(process.env.NODE_ENV!=='production'){warnValidStyle(styleName,styleValue);}if(styleValue!=null){serialized+=processStyleName(styleName)+':';serialized+=dangerousStyleValue(styleName,styleValue)+';';}}return serialized||null;},/**
* Sets the value for multiple styles on a node. If a value is specified as
* '' (empty string), the corresponding style property will be unset.
*
* @param {DOMElement} node
* @param {object} styles
*/setValueForStyles:function setValueForStyles(node,styles){var style=node.style;for(var styleName in styles){if(!styles.hasOwnProperty(styleName)){continue;}if(process.env.NODE_ENV!=='production'){warnValidStyle(styleName,styles[styleName]);}var styleValue=dangerousStyleValue(styleName,styles[styleName]);if(styleName==='float'){styleName=styleFloatAccessor;}if(styleValue){style[styleName]=styleValue;}else{var expansion=hasShorthandPropertyBug&&CSSProperty.shorthandPropertyExpansions[styleName];if(expansion){// Shorthand property that IE8 won't like unsetting, so unset each
// component to placate it
for(var individualStyleName in expansion){style[individualStyleName]='';}}else{style[styleName]='';}}}}};ReactPerf.measureMethods(CSSPropertyOperations,'CSSPropertyOperations',{setValueForStyles:'setValueForStyles'});module.exports=CSSPropertyOperations;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 942 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ChangeEventPlugin
*/'use strict';var EventConstants=__webpack_require__(50);var EventPluginHub=__webpack_require__(120);var EventPropagators=__webpack_require__(121);var ExecutionEnvironment=__webpack_require__(18);var ReactUpdates=__webpack_require__(39);var SyntheticEvent=__webpack_require__(79);var getEventTarget=__webpack_require__(258);var isEventSupported=__webpack_require__(261);var isTextInputElement=__webpack_require__(446);var keyOf=__webpack_require__(57);var topLevelTypes=EventConstants.topLevelTypes;var eventTypes={change:{phasedRegistrationNames:{bubbled:keyOf({onChange:null}),captured:keyOf({onChangeCapture:null})},dependencies:[topLevelTypes.topBlur,topLevelTypes.topChange,topLevelTypes.topClick,topLevelTypes.topFocus,topLevelTypes.topInput,topLevelTypes.topKeyDown,topLevelTypes.topKeyUp,topLevelTypes.topSelectionChange]}};/**
* For IE shims
*/var activeElement=null;var activeElementID=null;var activeElementValue=null;var activeElementValueProp=null;/**
* SECTION: handle `change` event
*/function shouldUseChangeEvent(elem){var nodeName=elem.nodeName&&elem.nodeName.toLowerCase();return nodeName==='select'||nodeName==='input'&&elem.type==='file';}var doesChangeEventBubble=false;if(ExecutionEnvironment.canUseDOM){// See `handleChange` comment below
doesChangeEventBubble=isEventSupported('change')&&(!('documentMode'in document)||document.documentMode>8);}function manualDispatchChangeEvent(nativeEvent){var event=SyntheticEvent.getPooled(eventTypes.change,activeElementID,nativeEvent,getEventTarget(nativeEvent));EventPropagators.accumulateTwoPhaseDispatches(event);// If change and propertychange bubbled, we'd just bind to it like all the
// other events and have it go through ReactBrowserEventEmitter. Since it
// doesn't, we manually listen for the events and so we have to enqueue and
// process the abstract event manually.
//
// Batching is necessary here in order to ensure that all event handlers run
// before the next rerender (including event handlers attached to ancestor
// elements instead of directly on the input). Without this, controlled
// components don't work properly in conjunction with event bubbling because
// the component is rerendered and the value reverted before all the event
// handlers can run. See https://github.com/facebook/react/issues/708.
ReactUpdates.batchedUpdates(runEventInBatch,event);}function runEventInBatch(event){EventPluginHub.enqueueEvents(event);EventPluginHub.processEventQueue(false);}function startWatchingForChangeEventIE8(target,targetID){activeElement=target;activeElementID=targetID;activeElement.attachEvent('onchange',manualDispatchChangeEvent);}function stopWatchingForChangeEventIE8(){if(!activeElement){return;}activeElement.detachEvent('onchange',manualDispatchChangeEvent);activeElement=null;activeElementID=null;}function getTargetIDForChangeEvent(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topChange){return topLevelTargetID;}}function handleEventsForChangeEventIE8(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topFocus){// stopWatching() should be a noop here but we call it just in case we
// missed a blur event somehow.
stopWatchingForChangeEventIE8();startWatchingForChangeEventIE8(topLevelTarget,topLevelTargetID);}else if(topLevelType===topLevelTypes.topBlur){stopWatchingForChangeEventIE8();}}/**
* SECTION: handle `input` event
*/var isInputEventSupported=false;if(ExecutionEnvironment.canUseDOM){// IE9 claims to support the input event but fails to trigger it when
// deleting text, so we ignore its input events
isInputEventSupported=isEventSupported('input')&&(!('documentMode'in document)||document.documentMode>9);}/**
* (For old IE.) Replacement getter/setter for the `value` property that gets
* set on the active element.
*/var newValueProp={get:function get(){return activeElementValueProp.get.call(this);},set:function set(val){// Cast to a string so we can do equality checks.
activeElementValue=''+val;activeElementValueProp.set.call(this,val);}};/**
* (For old IE.) Starts tracking propertychange events on the passed-in element
* and override the value property so that we can distinguish user events from
* value changes in JS.
*/function startWatchingForValueChange(target,targetID){activeElement=target;activeElementID=targetID;activeElementValue=target.value;activeElementValueProp=Object.getOwnPropertyDescriptor(target.constructor.prototype,'value');// Not guarded in a canDefineProperty check: IE8 supports defineProperty only
// on DOM elements
Object.defineProperty(activeElement,'value',newValueProp);activeElement.attachEvent('onpropertychange',handlePropertyChange);}/**
* (For old IE.) Removes the event listeners from the currently-tracked element,
* if any exists.
*/function stopWatchingForValueChange(){if(!activeElement){return;}// delete restores the original property definition
delete activeElement.value;activeElement.detachEvent('onpropertychange',handlePropertyChange);activeElement=null;activeElementID=null;activeElementValue=null;activeElementValueProp=null;}/**
* (For old IE.) Handles a propertychange event, sending a `change` event if
* the value of the active element has changed.
*/function handlePropertyChange(nativeEvent){if(nativeEvent.propertyName!=='value'){return;}var value=nativeEvent.srcElement.value;if(value===activeElementValue){return;}activeElementValue=value;manualDispatchChangeEvent(nativeEvent);}/**
* If a `change` event should be fired, returns the target's ID.
*/function getTargetIDForInputEvent(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topInput){// In modern browsers (i.e., not IE8 or IE9), the input event is exactly
// what we want so fall through here and trigger an abstract event
return topLevelTargetID;}}// For IE8 and IE9.
function handleEventsForInputEventIE(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topFocus){// In IE8, we can capture almost all .value changes by adding a
// propertychange handler and looking for events with propertyName
// equal to 'value'
// In IE9, propertychange fires for most input events but is buggy and
// doesn't fire when text is deleted, but conveniently, selectionchange
// appears to fire in all of the remaining cases so we catch those and
// forward the event if the value has changed
// In either case, we don't want to call the event handler if the value
// is changed from JS so we redefine a setter for `.value` that updates
// our activeElementValue variable, allowing us to ignore those changes
//
// stopWatching() should be a noop here but we call it just in case we
// missed a blur event somehow.
stopWatchingForValueChange();startWatchingForValueChange(topLevelTarget,topLevelTargetID);}else if(topLevelType===topLevelTypes.topBlur){stopWatchingForValueChange();}}// For IE8 and IE9.
function getTargetIDForInputEventIE(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topSelectionChange||topLevelType===topLevelTypes.topKeyUp||topLevelType===topLevelTypes.topKeyDown){// On the selectionchange event, the target is just document which isn't
// helpful for us so just check activeElement instead.
//
// 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire
// propertychange on the first input event after setting `value` from a
// script and fires only keydown, keypress, keyup. Catching keyup usually
// gets it and catching keydown lets us fire an event for the first
// keystroke if user does a key repeat (it'll be a little delayed: right
// before the second keystroke). Other input methods (e.g., paste) seem to
// fire selectionchange normally.
if(activeElement&&activeElement.value!==activeElementValue){activeElementValue=activeElement.value;return activeElementID;}}}/**
* SECTION: handle `click` event
*/function shouldUseClickEvent(elem){// Use the `click` event to detect changes to checkbox and radio inputs.
// This approach works across all browsers, whereas `change` does not fire
// until `blur` in IE8.
return elem.nodeName&&elem.nodeName.toLowerCase()==='input'&&(elem.type==='checkbox'||elem.type==='radio');}function getTargetIDForClickEvent(topLevelType,topLevelTarget,topLevelTargetID){if(topLevelType===topLevelTypes.topClick){return topLevelTargetID;}}/**
* This plugin creates an `onChange` event that normalizes change events
* across form elements. This event fires at a time when it's possible to
* change the element's value without seeing a flicker.
*
* Supported elements are:
* - input (see `isTextInputElement`)
* - textarea
* - select
*/var ChangeEventPlugin={eventTypes:eventTypes,/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @see {EventPluginHub.extractEvents}
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var getTargetIDFunc,handleEventFunc;if(shouldUseChangeEvent(topLevelTarget)){if(doesChangeEventBubble){getTargetIDFunc=getTargetIDForChangeEvent;}else{handleEventFunc=handleEventsForChangeEventIE8;}}else if(isTextInputElement(topLevelTarget)){if(isInputEventSupported){getTargetIDFunc=getTargetIDForInputEvent;}else{getTargetIDFunc=getTargetIDForInputEventIE;handleEventFunc=handleEventsForInputEventIE;}}else if(shouldUseClickEvent(topLevelTarget)){getTargetIDFunc=getTargetIDForClickEvent;}if(getTargetIDFunc){var targetID=getTargetIDFunc(topLevelType,topLevelTarget,topLevelTargetID);if(targetID){var event=SyntheticEvent.getPooled(eventTypes.change,targetID,nativeEvent,nativeEventTarget);event.type='change';EventPropagators.accumulateTwoPhaseDispatches(event);return event;}}if(handleEventFunc){handleEventFunc(topLevelType,topLevelTarget,topLevelTargetID);}}};module.exports=ChangeEventPlugin;
/***/ },
/* 943 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ClientReactRootIndex
* @typechecks
*/'use strict';var nextReactRootIndex=0;var ClientReactRootIndex={createReactRootIndex:function createReactRootIndex(){return nextReactRootIndex++;}};module.exports=ClientReactRootIndex;
/***/ },
/* 944 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Danger
* @typechecks static-only
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var createNodesFromMarkup=__webpack_require__(649);var emptyFunction=__webpack_require__(40);var getMarkupWrap=__webpack_require__(331);var invariant=__webpack_require__(6);var OPEN_TAG_NAME_EXP=/^(<[^ \/>]+)/;var RESULT_INDEX_ATTR='data-danger-index';/**
* Extracts the `nodeName` from a string of markup.
*
* NOTE: Extracting the `nodeName` does not require a regular expression match
* because we make assumptions about React-generated markup (i.e. there are no
* spaces surrounding the opening tag and there is at least one attribute).
*
* @param {string} markup String of markup.
* @return {string} Node name of the supplied markup.
* @see http://jsperf.com/extract-nodename
*/function getNodeName(markup){return markup.substring(1,markup.indexOf(' '));}var Danger={/**
* Renders markup into an array of nodes. The markup is expected to render
* into a list of root nodes. Also, the length of `resultList` and
* `markupList` should be the same.
*
* @param {array<string>} markupList List of markup strings to render.
* @return {array<DOMElement>} List of rendered nodes.
* @internal
*/dangerouslyRenderMarkup:function dangerouslyRenderMarkup(markupList){!ExecutionEnvironment.canUseDOM?process.env.NODE_ENV!=='production'?invariant(false,'dangerouslyRenderMarkup(...): Cannot render markup in a worker '+'thread. Make sure `window` and `document` are available globally '+'before requiring React when unit testing or use '+'ReactDOMServer.renderToString for server rendering.'):invariant(false):undefined;var nodeName;var markupByNodeName={};// Group markup by `nodeName` if a wrap is necessary, else by '*'.
for(var i=0;i<markupList.length;i++){!markupList[i]?process.env.NODE_ENV!=='production'?invariant(false,'dangerouslyRenderMarkup(...): Missing markup.'):invariant(false):undefined;nodeName=getNodeName(markupList[i]);nodeName=getMarkupWrap(nodeName)?nodeName:'*';markupByNodeName[nodeName]=markupByNodeName[nodeName]||[];markupByNodeName[nodeName][i]=markupList[i];}var resultList=[];var resultListAssignmentCount=0;for(nodeName in markupByNodeName){if(!markupByNodeName.hasOwnProperty(nodeName)){continue;}var markupListByNodeName=markupByNodeName[nodeName];// This for-in loop skips the holes of the sparse array. The order of
// iteration should follow the order of assignment, which happens to match
// numerical index order, but we don't rely on that.
var resultIndex;for(resultIndex in markupListByNodeName){if(markupListByNodeName.hasOwnProperty(resultIndex)){var markup=markupListByNodeName[resultIndex];// Push the requested markup with an additional RESULT_INDEX_ATTR
// attribute. If the markup does not start with a < character, it
// will be discarded below (with an appropriate console.error).
markupListByNodeName[resultIndex]=markup.replace(OPEN_TAG_NAME_EXP,// This index will be parsed back out below.
'$1 '+RESULT_INDEX_ATTR+'="'+resultIndex+'" ');}}// Render each group of markup with similar wrapping `nodeName`.
var renderNodes=createNodesFromMarkup(markupListByNodeName.join(''),emptyFunction// Do nothing special with <script> tags.
);for(var j=0;j<renderNodes.length;++j){var renderNode=renderNodes[j];if(renderNode.hasAttribute&&renderNode.hasAttribute(RESULT_INDEX_ATTR)){resultIndex=+renderNode.getAttribute(RESULT_INDEX_ATTR);renderNode.removeAttribute(RESULT_INDEX_ATTR);!!resultList.hasOwnProperty(resultIndex)?process.env.NODE_ENV!=='production'?invariant(false,'Danger: Assigning to an already-occupied result index.'):invariant(false):undefined;resultList[resultIndex]=renderNode;// This should match resultList.length and markupList.length when
// we're done.
resultListAssignmentCount+=1;}else if(process.env.NODE_ENV!=='production'){console.error('Danger: Discarding unexpected node:',renderNode);}}}// Although resultList was populated out of order, it should now be a dense
// array.
!(resultListAssignmentCount===resultList.length)?process.env.NODE_ENV!=='production'?invariant(false,'Danger: Did not assign to every index of resultList.'):invariant(false):undefined;!(resultList.length===markupList.length)?process.env.NODE_ENV!=='production'?invariant(false,'Danger: Expected markup to render %s nodes, but rendered %s.',markupList.length,resultList.length):invariant(false):undefined;return resultList;},/**
* Replaces a node with a string of markup at its current position within its
* parent. The markup must render into a single root node.
*
* @param {DOMElement} oldChild Child node to replace.
* @param {string} markup Markup to render in place of the child node.
* @internal
*/dangerouslyReplaceNodeWithMarkup:function dangerouslyReplaceNodeWithMarkup(oldChild,markup){!ExecutionEnvironment.canUseDOM?process.env.NODE_ENV!=='production'?invariant(false,'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a '+'worker thread. Make sure `window` and `document` are available '+'globally before requiring React when unit testing or use '+'ReactDOMServer.renderToString() for server rendering.'):invariant(false):undefined;!markup?process.env.NODE_ENV!=='production'?invariant(false,'dangerouslyReplaceNodeWithMarkup(...): Missing markup.'):invariant(false):undefined;!(oldChild.tagName.toLowerCase()!=='html')?process.env.NODE_ENV!=='production'?invariant(false,'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the '+'<html> node. This is because browser quirks make this unreliable '+'and/or slow. If you want to render to the root you must use '+'server rendering. See ReactDOMServer.renderToString().'):invariant(false):undefined;var newChild;if(typeof markup==='string'){newChild=createNodesFromMarkup(markup,emptyFunction)[0];}else{newChild=markup;}oldChild.parentNode.replaceChild(newChild,oldChild);}};module.exports=Danger;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 945 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DefaultEventPluginOrder
*/'use strict';var keyOf=__webpack_require__(57);/**
* Module that is injectable into `EventPluginHub`, that specifies a
* deterministic ordering of `EventPlugin`s. A convenient way to reason about
* plugins, without having to package every one of them. This is better than
* having plugins be ordered in the same order that they are injected because
* that ordering would be influenced by the packaging order.
* `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that
* preventing default on events is convenient in `SimpleEventPlugin` handlers.
*/var DefaultEventPluginOrder=[keyOf({ResponderEventPlugin:null}),keyOf({SimpleEventPlugin:null}),keyOf({TapEventPlugin:null}),keyOf({EnterLeaveEventPlugin:null}),keyOf({ChangeEventPlugin:null}),keyOf({SelectEventPlugin:null}),keyOf({BeforeInputEventPlugin:null})];module.exports=DefaultEventPluginOrder;
/***/ },
/* 946 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EnterLeaveEventPlugin
* @typechecks static-only
*/'use strict';var EventConstants=__webpack_require__(50);var EventPropagators=__webpack_require__(121);var SyntheticMouseEvent=__webpack_require__(181);var ReactMount=__webpack_require__(25);var keyOf=__webpack_require__(57);var topLevelTypes=EventConstants.topLevelTypes;var getFirstReactDOM=ReactMount.getFirstReactDOM;var eventTypes={mouseEnter:{registrationName:keyOf({onMouseEnter:null}),dependencies:[topLevelTypes.topMouseOut,topLevelTypes.topMouseOver]},mouseLeave:{registrationName:keyOf({onMouseLeave:null}),dependencies:[topLevelTypes.topMouseOut,topLevelTypes.topMouseOver]}};var extractedEvents=[null,null];var EnterLeaveEventPlugin={eventTypes:eventTypes,/**
* For almost every interaction we care about, there will be both a top-level
* `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that
* we do not extract duplicate events. However, moving the mouse into the
* browser from outside will not fire a `mouseout` event. In this case, we use
* the `mouseover` top-level event.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @see {EventPluginHub.extractEvents}
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){if(topLevelType===topLevelTypes.topMouseOver&&(nativeEvent.relatedTarget||nativeEvent.fromElement)){return null;}if(topLevelType!==topLevelTypes.topMouseOut&&topLevelType!==topLevelTypes.topMouseOver){// Must not be a mouse in or mouse out - ignoring.
return null;}var win;if(topLevelTarget.window===topLevelTarget){// `topLevelTarget` is probably a window object.
win=topLevelTarget;}else{// TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.
var doc=topLevelTarget.ownerDocument;if(doc){win=doc.defaultView||doc.parentWindow;}else{win=window;}}var from;var to;var fromID='';var toID='';if(topLevelType===topLevelTypes.topMouseOut){from=topLevelTarget;fromID=topLevelTargetID;to=getFirstReactDOM(nativeEvent.relatedTarget||nativeEvent.toElement);if(to){toID=ReactMount.getID(to);}else{to=win;}to=to||win;}else{from=win;to=topLevelTarget;toID=topLevelTargetID;}if(from===to){// Nothing pertains to our managed components.
return null;}var leave=SyntheticMouseEvent.getPooled(eventTypes.mouseLeave,fromID,nativeEvent,nativeEventTarget);leave.type='mouseleave';leave.target=from;leave.relatedTarget=to;var enter=SyntheticMouseEvent.getPooled(eventTypes.mouseEnter,toID,nativeEvent,nativeEventTarget);enter.type='mouseenter';enter.target=to;enter.relatedTarget=from;EventPropagators.accumulateEnterLeaveDispatches(leave,enter,fromID,toID);extractedEvents[0]=leave;extractedEvents[1]=enter;return extractedEvents;}};module.exports=EnterLeaveEventPlugin;
/***/ },
/* 947 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginUtils
*/'use strict';var EventConstants=__webpack_require__(50);var ReactErrorUtils=__webpack_require__(434);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);/**
* Injected dependencies:
*//**
* - `Mount`: [required] Module that can convert between React dom IDs and
* actual node references.
*/var injection={Mount:null,injectMount:function injectMount(InjectedMount){injection.Mount=InjectedMount;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(InjectedMount&&InjectedMount.getNode&&InjectedMount.getID,'EventPluginUtils.injection.injectMount(...): Injected Mount '+'module is missing getNode or getID.'):undefined;}}};var topLevelTypes=EventConstants.topLevelTypes;function isEndish(topLevelType){return topLevelType===topLevelTypes.topMouseUp||topLevelType===topLevelTypes.topTouchEnd||topLevelType===topLevelTypes.topTouchCancel;}function isMoveish(topLevelType){return topLevelType===topLevelTypes.topMouseMove||topLevelType===topLevelTypes.topTouchMove;}function isStartish(topLevelType){return topLevelType===topLevelTypes.topMouseDown||topLevelType===topLevelTypes.topTouchStart;}var validateEventDispatches;if(process.env.NODE_ENV!=='production'){validateEventDispatches=function validateEventDispatches(event){var dispatchListeners=event._dispatchListeners;var dispatchIDs=event._dispatchIDs;var listenersIsArr=Array.isArray(dispatchListeners);var idsIsArr=Array.isArray(dispatchIDs);var IDsLen=idsIsArr?dispatchIDs.length:dispatchIDs?1:0;var listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0;process.env.NODE_ENV!=='production'?warning(idsIsArr===listenersIsArr&&IDsLen===listenersLen,'EventPluginUtils: Invalid `event`.'):undefined;};}/**
* Dispatch the event to the listener.
* @param {SyntheticEvent} event SyntheticEvent to handle
* @param {boolean} simulated If the event is simulated (changes exn behavior)
* @param {function} listener Application-level callback
* @param {string} domID DOM id to pass to the callback.
*/function executeDispatch(event,simulated,listener,domID){var type=event.type||'unknown-event';event.currentTarget=injection.Mount.getNode(domID);if(simulated){ReactErrorUtils.invokeGuardedCallbackWithCatch(type,listener,event,domID);}else{ReactErrorUtils.invokeGuardedCallback(type,listener,event,domID);}event.currentTarget=null;}/**
* Standard/simple iteration through an event's collected dispatches.
*/function executeDispatchesInOrder(event,simulated){var dispatchListeners=event._dispatchListeners;var dispatchIDs=event._dispatchIDs;if(process.env.NODE_ENV!=='production'){validateEventDispatches(event);}if(Array.isArray(dispatchListeners)){for(var i=0;i<dispatchListeners.length;i++){if(event.isPropagationStopped()){break;}// Listeners and IDs are two parallel arrays that are always in sync.
executeDispatch(event,simulated,dispatchListeners[i],dispatchIDs[i]);}}else if(dispatchListeners){executeDispatch(event,simulated,dispatchListeners,dispatchIDs);}event._dispatchListeners=null;event._dispatchIDs=null;}/**
* Standard/simple iteration through an event's collected dispatches, but stops
* at the first dispatch execution returning true, and returns that id.
*
* @return {?string} id of the first dispatch execution who's listener returns
* true, or null if no listener returned true.
*/function executeDispatchesInOrderStopAtTrueImpl(event){var dispatchListeners=event._dispatchListeners;var dispatchIDs=event._dispatchIDs;if(process.env.NODE_ENV!=='production'){validateEventDispatches(event);}if(Array.isArray(dispatchListeners)){for(var i=0;i<dispatchListeners.length;i++){if(event.isPropagationStopped()){break;}// Listeners and IDs are two parallel arrays that are always in sync.
if(dispatchListeners[i](event,dispatchIDs[i])){return dispatchIDs[i];}}}else if(dispatchListeners){if(dispatchListeners(event,dispatchIDs)){return dispatchIDs;}}return null;}/**
* @see executeDispatchesInOrderStopAtTrueImpl
*/function executeDispatchesInOrderStopAtTrue(event){var ret=executeDispatchesInOrderStopAtTrueImpl(event);event._dispatchIDs=null;event._dispatchListeners=null;return ret;}/**
* Execution of a "direct" dispatch - there must be at most one dispatch
* accumulated on the event or it is considered an error. It doesn't really make
* sense for an event with multiple dispatches (bubbled) to keep track of the
* return values at each dispatch execution, but it does tend to make sense when
* dealing with "direct" dispatches.
*
* @return {*} The return value of executing the single dispatch.
*/function executeDirectDispatch(event){if(process.env.NODE_ENV!=='production'){validateEventDispatches(event);}var dispatchListener=event._dispatchListeners;var dispatchID=event._dispatchIDs;!!Array.isArray(dispatchListener)?process.env.NODE_ENV!=='production'?invariant(false,'executeDirectDispatch(...): Invalid `event`.'):invariant(false):undefined;var res=dispatchListener?dispatchListener(event,dispatchID):null;event._dispatchListeners=null;event._dispatchIDs=null;return res;}/**
* @param {SyntheticEvent} event
* @return {boolean} True iff number of dispatches accumulated is greater than 0.
*/function hasDispatches(event){return!!event._dispatchListeners;}/**
* General utilities that are useful in creating custom Event Plugins.
*/var EventPluginUtils={isEndish:isEndish,isMoveish:isMoveish,isStartish:isStartish,executeDirectDispatch:executeDirectDispatch,executeDispatchesInOrder:executeDispatchesInOrder,executeDispatchesInOrderStopAtTrue:executeDispatchesInOrderStopAtTrue,hasDispatches:hasDispatches,getNode:function getNode(id){return injection.Mount.getNode(id);},getID:function getID(node){return injection.Mount.getID(node);},injection:injection};module.exports=EventPluginUtils;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 948 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule FallbackCompositionState
* @typechecks static-only
*/'use strict';var PooledClass=__webpack_require__(65);var assign=__webpack_require__(7);var getTextContentAccessor=__webpack_require__(445);/**
* This helper class stores information about text content of a target node,
* allowing comparison of content before and after a given event.
*
* Identify the node where selection currently begins, then observe
* both its text content and its current position in the DOM. Since the
* browser may natively replace the target node during composition, we can
* use its position to find its replacement.
*
* @param {DOMEventTarget} root
*/function FallbackCompositionState(root){this._root=root;this._startText=this.getText();this._fallbackText=null;}assign(FallbackCompositionState.prototype,{destructor:function destructor(){this._root=null;this._startText=null;this._fallbackText=null;},/**
* Get current text of input.
*
* @return {string}
*/getText:function getText(){if('value'in this._root){return this._root.value;}return this._root[getTextContentAccessor()];},/**
* Determine the differing substring between the initially stored
* text content and the current content.
*
* @return {string}
*/getData:function getData(){if(this._fallbackText){return this._fallbackText;}var start;var startValue=this._startText;var startLength=startValue.length;var end;var endValue=this.getText();var endLength=endValue.length;for(start=0;start<startLength;start++){if(startValue[start]!==endValue[start]){break;}}var minEnd=startLength-start;for(end=1;end<=minEnd;end++){if(startValue[startLength-end]!==endValue[endLength-end]){break;}}var sliceTail=end>1?1-end:undefined;this._fallbackText=endValue.slice(start,sliceTail);return this._fallbackText;}});PooledClass.addPoolingTo(FallbackCompositionState);module.exports=FallbackCompositionState;
/***/ },
/* 949 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule HTMLDOMPropertyConfig
*/'use strict';var DOMProperty=__webpack_require__(77);var ExecutionEnvironment=__webpack_require__(18);var MUST_USE_ATTRIBUTE=DOMProperty.injection.MUST_USE_ATTRIBUTE;var MUST_USE_PROPERTY=DOMProperty.injection.MUST_USE_PROPERTY;var HAS_BOOLEAN_VALUE=DOMProperty.injection.HAS_BOOLEAN_VALUE;var HAS_SIDE_EFFECTS=DOMProperty.injection.HAS_SIDE_EFFECTS;var HAS_NUMERIC_VALUE=DOMProperty.injection.HAS_NUMERIC_VALUE;var HAS_POSITIVE_NUMERIC_VALUE=DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;var HAS_OVERLOADED_BOOLEAN_VALUE=DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;var hasSVG;if(ExecutionEnvironment.canUseDOM){var implementation=document.implementation;hasSVG=implementation&&implementation.hasFeature&&implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure','1.1');}var HTMLDOMPropertyConfig={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{/**
* Standard Properties
*/accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,allowTransparency:MUST_USE_ATTRIBUTE,alt:null,async:HAS_BOOLEAN_VALUE,autoComplete:null,// autoFocus is polyfilled/normalized by AutoFocusUtils
// autoFocus: HAS_BOOLEAN_VALUE,
autoPlay:HAS_BOOLEAN_VALUE,capture:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,cellPadding:null,cellSpacing:null,charSet:MUST_USE_ATTRIBUTE,challenge:MUST_USE_ATTRIBUTE,checked:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,classID:MUST_USE_ATTRIBUTE,// To set className on SVG elements, it's necessary to use .setAttribute;
// this works on HTML elements too in all browsers except IE8. Conveniently,
// IE8 doesn't support SVG and so we can simply use the attribute in
// browsers that support SVG and the property in browsers that don't,
// regardless of whether the element is HTML or SVG.
className:hasSVG?MUST_USE_ATTRIBUTE:MUST_USE_PROPERTY,cols:MUST_USE_ATTRIBUTE|HAS_POSITIVE_NUMERIC_VALUE,colSpan:null,content:null,contentEditable:null,contextMenu:MUST_USE_ATTRIBUTE,controls:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,coords:null,crossOrigin:null,data:null,// For `<object />` acts as `src`.
dateTime:MUST_USE_ATTRIBUTE,'default':HAS_BOOLEAN_VALUE,defer:HAS_BOOLEAN_VALUE,dir:null,disabled:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,download:HAS_OVERLOADED_BOOLEAN_VALUE,draggable:null,encType:null,form:MUST_USE_ATTRIBUTE,formAction:MUST_USE_ATTRIBUTE,formEncType:MUST_USE_ATTRIBUTE,formMethod:MUST_USE_ATTRIBUTE,formNoValidate:HAS_BOOLEAN_VALUE,formTarget:MUST_USE_ATTRIBUTE,frameBorder:MUST_USE_ATTRIBUTE,headers:null,height:MUST_USE_ATTRIBUTE,hidden:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:MUST_USE_PROPERTY,inputMode:MUST_USE_ATTRIBUTE,integrity:null,is:MUST_USE_ATTRIBUTE,keyParams:MUST_USE_ATTRIBUTE,keyType:MUST_USE_ATTRIBUTE,kind:null,label:null,lang:null,list:MUST_USE_ATTRIBUTE,loop:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,low:null,manifest:MUST_USE_ATTRIBUTE,marginHeight:null,marginWidth:null,max:null,maxLength:MUST_USE_ATTRIBUTE,media:MUST_USE_ATTRIBUTE,mediaGroup:null,method:null,min:null,minLength:MUST_USE_ATTRIBUTE,multiple:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,muted:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,name:null,nonce:MUST_USE_ATTRIBUTE,noValidate:HAS_BOOLEAN_VALUE,open:HAS_BOOLEAN_VALUE,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,rel:null,required:HAS_BOOLEAN_VALUE,reversed:HAS_BOOLEAN_VALUE,role:MUST_USE_ATTRIBUTE,rows:MUST_USE_ATTRIBUTE|HAS_POSITIVE_NUMERIC_VALUE,rowSpan:null,sandbox:null,scope:null,scoped:HAS_BOOLEAN_VALUE,scrolling:null,seamless:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,selected:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,shape:null,size:MUST_USE_ATTRIBUTE|HAS_POSITIVE_NUMERIC_VALUE,sizes:MUST_USE_ATTRIBUTE,span:HAS_POSITIVE_NUMERIC_VALUE,spellCheck:null,src:null,srcDoc:MUST_USE_PROPERTY,srcLang:null,srcSet:MUST_USE_ATTRIBUTE,start:HAS_NUMERIC_VALUE,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:MUST_USE_PROPERTY|HAS_SIDE_EFFECTS,width:MUST_USE_ATTRIBUTE,wmode:MUST_USE_ATTRIBUTE,wrap:null,/**
* RDFa Properties
*/about:MUST_USE_ATTRIBUTE,datatype:MUST_USE_ATTRIBUTE,inlist:MUST_USE_ATTRIBUTE,prefix:MUST_USE_ATTRIBUTE,// property is also supported for OpenGraph in meta tags.
property:MUST_USE_ATTRIBUTE,resource:MUST_USE_ATTRIBUTE,'typeof':MUST_USE_ATTRIBUTE,vocab:MUST_USE_ATTRIBUTE,/**
* Non-standard Properties
*/// autoCapitalize and autoCorrect are supported in Mobile Safari for
// keyboard hints.
autoCapitalize:MUST_USE_ATTRIBUTE,autoCorrect:MUST_USE_ATTRIBUTE,// autoSave allows WebKit/Blink to persist values of input fields on page reloads
autoSave:null,// color is for Safari mask-icon link
color:null,// itemProp, itemScope, itemType are for
// Microdata support. See http://schema.org/docs/gs.html
itemProp:MUST_USE_ATTRIBUTE,itemScope:MUST_USE_ATTRIBUTE|HAS_BOOLEAN_VALUE,itemType:MUST_USE_ATTRIBUTE,// itemID and itemRef are for Microdata support as well but
// only specified in the the WHATWG spec document. See
// https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api
itemID:MUST_USE_ATTRIBUTE,itemRef:MUST_USE_ATTRIBUTE,// results show looking glass icon and recent searches on input
// search fields in WebKit/Blink
results:null,// IE-only attribute that specifies security restrictions on an iframe
// as an alternative to the sandbox attribute on IE<10
security:MUST_USE_ATTRIBUTE,// IE-only attribute that controls focus behavior
unselectable:MUST_USE_ATTRIBUTE},DOMAttributeNames:{acceptCharset:'accept-charset',className:'class',htmlFor:'for',httpEquiv:'http-equiv'},DOMPropertyNames:{autoComplete:'autocomplete',autoFocus:'autofocus',autoPlay:'autoplay',autoSave:'autosave',// `encoding` is equivalent to `enctype`, IE8 lacks an `enctype` setter.
// http://www.w3.org/TR/html5/forms.html#dom-fs-encoding
encType:'encoding',hrefLang:'hreflang',radioGroup:'radiogroup',spellCheck:'spellcheck',srcDoc:'srcdoc',srcSet:'srcset'}};module.exports=HTMLDOMPropertyConfig;
/***/ },
/* 950 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule React
*/'use strict';var ReactDOM=__webpack_require__(425);var ReactDOMServer=__webpack_require__(960);var ReactIsomorphic=__webpack_require__(967);var assign=__webpack_require__(7);var deprecated=__webpack_require__(989);// `version` will be added here by ReactIsomorphic.
var React={};assign(React,ReactIsomorphic);assign(React,{// ReactDOM
findDOMNode:deprecated('findDOMNode','ReactDOM','react-dom',ReactDOM,ReactDOM.findDOMNode),render:deprecated('render','ReactDOM','react-dom',ReactDOM,ReactDOM.render),unmountComponentAtNode:deprecated('unmountComponentAtNode','ReactDOM','react-dom',ReactDOM,ReactDOM.unmountComponentAtNode),// ReactDOMServer
renderToString:deprecated('renderToString','ReactDOMServer','react-dom/server',ReactDOMServer,ReactDOMServer.renderToString),renderToStaticMarkup:deprecated('renderToStaticMarkup','ReactDOMServer','react-dom/server',ReactDOMServer,ReactDOMServer.renderToStaticMarkup)});React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ReactDOM;React.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ReactDOMServer;module.exports=React;
/***/ },
/* 951 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactBrowserComponentMixin
*/'use strict';var ReactInstanceMap=__webpack_require__(122);var findDOMNode=__webpack_require__(255);var warning=__webpack_require__(8);var didWarnKey='_getDOMNodeDidWarn';var ReactBrowserComponentMixin={/**
* Returns the DOM node rendered by this component.
*
* @return {DOMElement} The root node of this component.
* @final
* @protected
*/getDOMNode:function getDOMNode(){process.env.NODE_ENV!=='production'?warning(this.constructor[didWarnKey],'%s.getDOMNode(...) is deprecated. Please use '+'ReactDOM.findDOMNode(instance) instead.',ReactInstanceMap.get(this).getName()||this.tagName||'Unknown'):undefined;this.constructor[didWarnKey]=true;return findDOMNode(this);}};module.exports=ReactBrowserComponentMixin;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 952 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactChildReconciler
* @typechecks static-only
*/'use strict';var ReactReconciler=__webpack_require__(78);var instantiateReactComponent=__webpack_require__(260);var shouldUpdateReactComponent=__webpack_require__(263);var traverseAllChildren=__webpack_require__(264);var warning=__webpack_require__(8);function instantiateChild(childInstances,child,name){// We found a component instance.
var keyUnique=childInstances[name]===undefined;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(keyUnique,'flattenChildren(...): Encountered two children with the same key, '+'`%s`. Child keys must be unique; when two children share a key, only '+'the first child will be used.',name):undefined;}if(child!=null&&keyUnique){childInstances[name]=instantiateReactComponent(child,null);}}/**
* ReactChildReconciler provides helpers for initializing or updating a set of
* children. Its output is suitable for passing it onto ReactMultiChild which
* does diffed reordering and insertion.
*/var ReactChildReconciler={/**
* Generates a "mount image" for each of the supplied children. In the case
* of `ReactDOMComponent`, a mount image is a string of markup.
*
* @param {?object} nestedChildNodes Nested child maps.
* @return {?object} A set of child instances.
* @internal
*/instantiateChildren:function instantiateChildren(nestedChildNodes,transaction,context){if(nestedChildNodes==null){return null;}var childInstances={};traverseAllChildren(nestedChildNodes,instantiateChild,childInstances);return childInstances;},/**
* Updates the rendered children and returns a new set of children.
*
* @param {?object} prevChildren Previously initialized set of children.
* @param {?object} nextChildren Flat child element maps.
* @param {ReactReconcileTransaction} transaction
* @param {object} context
* @return {?object} A new set of child instances.
* @internal
*/updateChildren:function updateChildren(prevChildren,nextChildren,transaction,context){// We currently don't have a way to track moves here but if we use iterators
// instead of for..in we can zip the iterators and check if an item has
// moved.
// TODO: If nothing has changed, return the prevChildren object so that we
// can quickly bailout if nothing has changed.
if(!nextChildren&&!prevChildren){return null;}var name;for(name in nextChildren){if(!nextChildren.hasOwnProperty(name)){continue;}var prevChild=prevChildren&&prevChildren[name];var prevElement=prevChild&&prevChild._currentElement;var nextElement=nextChildren[name];if(prevChild!=null&&shouldUpdateReactComponent(prevElement,nextElement)){ReactReconciler.receiveComponent(prevChild,nextElement,transaction,context);nextChildren[name]=prevChild;}else{if(prevChild){ReactReconciler.unmountComponent(prevChild,name);}// The child must be instantiated before it's mounted.
var nextChildInstance=instantiateReactComponent(nextElement,null);nextChildren[name]=nextChildInstance;}}// Unmount children that are no longer present.
for(name in prevChildren){if(prevChildren.hasOwnProperty(name)&&!(nextChildren&&nextChildren.hasOwnProperty(name))){ReactReconciler.unmountComponent(prevChildren[name]);}}return nextChildren;},/**
* Unmounts all rendered children. This should be used to clean up children
* when this component is unmounted.
*
* @param {?object} renderedChildren Previously initialized set of children.
* @internal
*/unmountChildren:function unmountChildren(renderedChildren){for(var name in renderedChildren){if(renderedChildren.hasOwnProperty(name)){var renderedChild=renderedChildren[name];ReactReconciler.unmountComponent(renderedChild);}}}};module.exports=ReactChildReconciler;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 953 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCompositeComponent
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var ReactComponentEnvironment=__webpack_require__(251);var ReactCurrentOwner=__webpack_require__(51);var ReactElement=__webpack_require__(34);var ReactInstanceMap=__webpack_require__(122);var ReactPerf=__webpack_require__(37);var ReactPropTypeLocations=__webpack_require__(180);var ReactPropTypeLocationNames=__webpack_require__(179);var ReactReconciler=__webpack_require__(78);var ReactUpdateQueue=__webpack_require__(253);var assign=__webpack_require__(7);var emptyObject=__webpack_require__(105);var invariant=__webpack_require__(6);var shouldUpdateReactComponent=__webpack_require__(263);var warning=__webpack_require__(8);function getDeclarationErrorAddendum(component){var owner=component._currentElement._owner||null;if(owner){var name=owner.getName();if(name){return' Check the render method of `'+name+'`.';}}return'';}function StatelessComponent(Component){}StatelessComponent.prototype.render=function(){var Component=ReactInstanceMap.get(this)._currentElement.type;return Component(this.props,this.context,this.updater);};/**
* ------------------ The Life-Cycle of a Composite Component ------------------
*
* - constructor: Initialization of state. The instance is now retained.
* - componentWillMount
* - render
* - [children's constructors]
* - [children's componentWillMount and render]
* - [children's componentDidMount]
* - componentDidMount
*
* Update Phases:
* - componentWillReceiveProps (only called if parent updated)
* - shouldComponentUpdate
* - componentWillUpdate
* - render
* - [children's constructors or receive props phases]
* - componentDidUpdate
*
* - componentWillUnmount
* - [children's componentWillUnmount]
* - [children destroyed]
* - (destroyed): The instance is now blank, released by React and ready for GC.
*
* -----------------------------------------------------------------------------
*//**
* An incrementing ID assigned to each component when it is mounted. This is
* used to enforce the order in which `ReactUpdates` updates dirty components.
*
* @private
*/var nextMountID=1;/**
* @lends {ReactCompositeComponent.prototype}
*/var ReactCompositeComponentMixin={/**
* Base constructor for all composite component.
*
* @param {ReactElement} element
* @final
* @internal
*/construct:function construct(element){this._currentElement=element;this._rootNodeID=null;this._instance=null;// See ReactUpdateQueue
this._pendingElement=null;this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;this._renderedComponent=null;this._context=null;this._mountOrder=0;this._topLevelWrapper=null;// See ReactUpdates and ReactUpdateQueue.
this._pendingCallbacks=null;},/**
* Initializes the component, renders markup, and registers event listeners.
*
* @param {string} rootID DOM ID of the root node.
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @return {?string} Rendered markup to be inserted into the DOM.
* @final
* @internal
*/mountComponent:function mountComponent(rootID,transaction,context){this._context=context;this._mountOrder=nextMountID++;this._rootNodeID=rootID;var publicProps=this._processProps(this._currentElement.props);var publicContext=this._processContext(context);var Component=this._currentElement.type;// Initialize the public class
var inst;var renderedElement;// This is a way to detect if Component is a stateless arrow function
// component, which is not newable. It might not be 100% reliable but is
// something we can do until we start detecting that Component extends
// React.Component. We already assume that typeof Component === 'function'.
var canInstantiate='prototype'in Component;if(canInstantiate){if(process.env.NODE_ENV!=='production'){ReactCurrentOwner.current=this;try{inst=new Component(publicProps,publicContext,ReactUpdateQueue);}finally{ReactCurrentOwner.current=null;}}else{inst=new Component(publicProps,publicContext,ReactUpdateQueue);}}if(!canInstantiate||inst===null||inst===false||ReactElement.isValidElement(inst)){renderedElement=inst;inst=new StatelessComponent(Component);}if(process.env.NODE_ENV!=='production'){// This will throw later in _renderValidatedComponent, but add an early
// warning now to help debugging
if(inst.render==null){process.env.NODE_ENV!=='production'?warning(false,'%s(...): No `render` method found on the returned component '+'instance: you may have forgotten to define `render`, returned '+'null/false from a stateless component, or tried to render an '+'element whose type is a function that isn\'t a React component.',Component.displayName||Component.name||'Component'):undefined;}else{// We support ES6 inheriting from React.Component, the module pattern,
// and stateless components, but not ES6 classes that don't extend
process.env.NODE_ENV!=='production'?warning(Component.prototype&&Component.prototype.isReactComponent||!canInstantiate||!(inst instanceof Component),'%s(...): React component classes must extend React.Component.',Component.displayName||Component.name||'Component'):undefined;}}// These should be set up in the constructor, but as a convenience for
// simpler class abstractions, we set them up after the fact.
inst.props=publicProps;inst.context=publicContext;inst.refs=emptyObject;inst.updater=ReactUpdateQueue;this._instance=inst;// Store a reference from the instance back to the internal representation
ReactInstanceMap.set(inst,this);if(process.env.NODE_ENV!=='production'){// Since plain JS classes are defined without any special initialization
// logic, we can not catch common errors early. Therefore, we have to
// catch them here, at initialization time, instead.
process.env.NODE_ENV!=='production'?warning(!inst.getInitialState||inst.getInitialState.isReactClassApproved,'getInitialState was defined on %s, a plain JavaScript class. '+'This is only supported for classes created using React.createClass. '+'Did you mean to define a state property instead?',this.getName()||'a component'):undefined;process.env.NODE_ENV!=='production'?warning(!inst.getDefaultProps||inst.getDefaultProps.isReactClassApproved,'getDefaultProps was defined on %s, a plain JavaScript class. '+'This is only supported for classes created using React.createClass. '+'Use a static property to define defaultProps instead.',this.getName()||'a component'):undefined;process.env.NODE_ENV!=='production'?warning(!inst.propTypes,'propTypes was defined as an instance property on %s. Use a static '+'property to define propTypes instead.',this.getName()||'a component'):undefined;process.env.NODE_ENV!=='production'?warning(!inst.contextTypes,'contextTypes was defined as an instance property on %s. Use a '+'static property to define contextTypes instead.',this.getName()||'a component'):undefined;process.env.NODE_ENV!=='production'?warning(typeof inst.componentShouldUpdate!=='function','%s has a method called '+'componentShouldUpdate(). Did you mean shouldComponentUpdate()? '+'The name is phrased as a question because the function is '+'expected to return a value.',this.getName()||'A component'):undefined;process.env.NODE_ENV!=='production'?warning(typeof inst.componentDidUnmount!=='function','%s has a method called '+'componentDidUnmount(). But there is no such lifecycle method. '+'Did you mean componentWillUnmount()?',this.getName()||'A component'):undefined;process.env.NODE_ENV!=='production'?warning(typeof inst.componentWillRecieveProps!=='function','%s has a method called '+'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',this.getName()||'A component'):undefined;}var initialState=inst.state;if(initialState===undefined){inst.state=initialState=null;}!((typeof initialState==='undefined'?'undefined':_typeof(initialState))==='object'&&!Array.isArray(initialState))?process.env.NODE_ENV!=='production'?invariant(false,'%s.state: must be set to an object or null',this.getName()||'ReactCompositeComponent'):invariant(false):undefined;this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;if(inst.componentWillMount){inst.componentWillMount();// When mounting, calls to `setState` by `componentWillMount` will set
// `this._pendingStateQueue` without triggering a re-render.
if(this._pendingStateQueue){inst.state=this._processPendingState(inst.props,inst.context);}}// If not a stateless component, we now render
if(renderedElement===undefined){renderedElement=this._renderValidatedComponent();}this._renderedComponent=this._instantiateReactComponent(renderedElement);var markup=ReactReconciler.mountComponent(this._renderedComponent,rootID,transaction,this._processChildContext(context));if(inst.componentDidMount){transaction.getReactMountReady().enqueue(inst.componentDidMount,inst);}return markup;},/**
* Releases any resources allocated by `mountComponent`.
*
* @final
* @internal
*/unmountComponent:function unmountComponent(){var inst=this._instance;if(inst.componentWillUnmount){inst.componentWillUnmount();}ReactReconciler.unmountComponent(this._renderedComponent);this._renderedComponent=null;this._instance=null;// Reset pending fields
// Even if this component is scheduled for another update in ReactUpdates,
// it would still be ignored because these fields are reset.
this._pendingStateQueue=null;this._pendingReplaceState=false;this._pendingForceUpdate=false;this._pendingCallbacks=null;this._pendingElement=null;// These fields do not really need to be reset since this object is no
// longer accessible.
this._context=null;this._rootNodeID=null;this._topLevelWrapper=null;// Delete the reference from the instance to this internal representation
// which allow the internals to be properly cleaned up even if the user
// leaks a reference to the public instance.
ReactInstanceMap.remove(inst);// Some existing components rely on inst.props even after they've been
// destroyed (in event handlers).
// TODO: inst.props = null;
// TODO: inst.state = null;
// TODO: inst.context = null;
},/**
* Filters the context object to only contain keys specified in
* `contextTypes`
*
* @param {object} context
* @return {?object}
* @private
*/_maskContext:function _maskContext(context){var maskedContext=null;var Component=this._currentElement.type;var contextTypes=Component.contextTypes;if(!contextTypes){return emptyObject;}maskedContext={};for(var contextName in contextTypes){maskedContext[contextName]=context[contextName];}return maskedContext;},/**
* Filters the context object to only contain keys specified in
* `contextTypes`, and asserts that they are valid.
*
* @param {object} context
* @return {?object}
* @private
*/_processContext:function _processContext(context){var maskedContext=this._maskContext(context);if(process.env.NODE_ENV!=='production'){var Component=this._currentElement.type;if(Component.contextTypes){this._checkPropTypes(Component.contextTypes,maskedContext,ReactPropTypeLocations.context);}}return maskedContext;},/**
* @param {object} currentContext
* @return {object}
* @private
*/_processChildContext:function _processChildContext(currentContext){var Component=this._currentElement.type;var inst=this._instance;var childContext=inst.getChildContext&&inst.getChildContext();if(childContext){!(_typeof(Component.childContextTypes)==='object')?process.env.NODE_ENV!=='production'?invariant(false,'%s.getChildContext(): childContextTypes must be defined in order to '+'use getChildContext().',this.getName()||'ReactCompositeComponent'):invariant(false):undefined;if(process.env.NODE_ENV!=='production'){this._checkPropTypes(Component.childContextTypes,childContext,ReactPropTypeLocations.childContext);}for(var name in childContext){!(name in Component.childContextTypes)?process.env.NODE_ENV!=='production'?invariant(false,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||'ReactCompositeComponent',name):invariant(false):undefined;}return assign({},currentContext,childContext);}return currentContext;},/**
* Processes props by setting default values for unspecified props and
* asserting that the props are valid. Does not mutate its argument; returns
* a new props object with defaults merged in.
*
* @param {object} newProps
* @return {object}
* @private
*/_processProps:function _processProps(newProps){if(process.env.NODE_ENV!=='production'){var Component=this._currentElement.type;if(Component.propTypes){this._checkPropTypes(Component.propTypes,newProps,ReactPropTypeLocations.prop);}}return newProps;},/**
* Assert that the props are valid
*
* @param {object} propTypes Map of prop name to a ReactPropType
* @param {object} props
* @param {string} location e.g. "prop", "context", "child context"
* @private
*/_checkPropTypes:function _checkPropTypes(propTypes,props,location){// TODO: Stop validating prop types here and only use the element
// validation.
var componentName=this.getName();for(var propName in propTypes){if(propTypes.hasOwnProperty(propName)){var error;try{// This is intentionally an invariant that gets caught. It's the same
// behavior as without this statement except with a better message.
!(typeof propTypes[propName]==='function')?process.env.NODE_ENV!=='production'?invariant(false,'%s: %s type `%s` is invalid; it must be a function, usually '+'from React.PropTypes.',componentName||'React class',ReactPropTypeLocationNames[location],propName):invariant(false):undefined;error=propTypes[propName](props,propName,componentName,location);}catch(ex){error=ex;}if(error instanceof Error){// We may want to extend this logic for similar errors in
// top-level render calls, so I'm abstracting it away into
// a function to minimize refactoring in the future
var addendum=getDeclarationErrorAddendum(this);if(location===ReactPropTypeLocations.prop){// Preface gives us something to blacklist in warning module
process.env.NODE_ENV!=='production'?warning(false,'Failed Composite propType: %s%s',error.message,addendum):undefined;}else{process.env.NODE_ENV!=='production'?warning(false,'Failed Context Types: %s%s',error.message,addendum):undefined;}}}}},receiveComponent:function receiveComponent(nextElement,transaction,nextContext){var prevElement=this._currentElement;var prevContext=this._context;this._pendingElement=null;this.updateComponent(transaction,prevElement,nextElement,prevContext,nextContext);},/**
* If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`
* is set, update the component.
*
* @param {ReactReconcileTransaction} transaction
* @internal
*/performUpdateIfNecessary:function performUpdateIfNecessary(transaction){if(this._pendingElement!=null){ReactReconciler.receiveComponent(this,this._pendingElement||this._currentElement,transaction,this._context);}if(this._pendingStateQueue!==null||this._pendingForceUpdate){this.updateComponent(transaction,this._currentElement,this._currentElement,this._context,this._context);}},/**
* Perform an update to a mounted component. The componentWillReceiveProps and
* shouldComponentUpdate methods are called, then (assuming the update isn't
* skipped) the remaining update lifecycle methods are called and the DOM
* representation is updated.
*
* By default, this implements React's rendering and reconciliation algorithm.
* Sophisticated clients may wish to override this.
*
* @param {ReactReconcileTransaction} transaction
* @param {ReactElement} prevParentElement
* @param {ReactElement} nextParentElement
* @internal
* @overridable
*/updateComponent:function updateComponent(transaction,prevParentElement,nextParentElement,prevUnmaskedContext,nextUnmaskedContext){var inst=this._instance;var nextContext=this._context===nextUnmaskedContext?inst.context:this._processContext(nextUnmaskedContext);var nextProps;// Distinguish between a props update versus a simple state update
if(prevParentElement===nextParentElement){// Skip checking prop types again -- we don't read inst.props to avoid
// warning for DOM component props in this upgrade
nextProps=nextParentElement.props;}else{nextProps=this._processProps(nextParentElement.props);// An update here will schedule an update but immediately set
// _pendingStateQueue which will ensure that any state updates gets
// immediately reconciled instead of waiting for the next batch.
if(inst.componentWillReceiveProps){inst.componentWillReceiveProps(nextProps,nextContext);}}var nextState=this._processPendingState(nextProps,nextContext);var shouldUpdate=this._pendingForceUpdate||!inst.shouldComponentUpdate||inst.shouldComponentUpdate(nextProps,nextState,nextContext);if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(typeof shouldUpdate!=='undefined','%s.shouldComponentUpdate(): Returned undefined instead of a '+'boolean value. Make sure to return true or false.',this.getName()||'ReactCompositeComponent'):undefined;}if(shouldUpdate){this._pendingForceUpdate=false;// Will set `this.props`, `this.state` and `this.context`.
this._performComponentUpdate(nextParentElement,nextProps,nextState,nextContext,transaction,nextUnmaskedContext);}else{// If it's determined that a component should not update, we still want
// to set props and state but we shortcut the rest of the update.
this._currentElement=nextParentElement;this._context=nextUnmaskedContext;inst.props=nextProps;inst.state=nextState;inst.context=nextContext;}},_processPendingState:function _processPendingState(props,context){var inst=this._instance;var queue=this._pendingStateQueue;var replace=this._pendingReplaceState;this._pendingReplaceState=false;this._pendingStateQueue=null;if(!queue){return inst.state;}if(replace&&queue.length===1){return queue[0];}var nextState=assign({},replace?queue[0]:inst.state);for(var i=replace?1:0;i<queue.length;i++){var partial=queue[i];assign(nextState,typeof partial==='function'?partial.call(inst,nextState,props,context):partial);}return nextState;},/**
* Merges new props and state, notifies delegate methods of update and
* performs update.
*
* @param {ReactElement} nextElement Next element
* @param {object} nextProps Next public object to set as properties.
* @param {?object} nextState Next object to set as state.
* @param {?object} nextContext Next public object to set as context.
* @param {ReactReconcileTransaction} transaction
* @param {?object} unmaskedContext
* @private
*/_performComponentUpdate:function _performComponentUpdate(nextElement,nextProps,nextState,nextContext,transaction,unmaskedContext){var inst=this._instance;var hasComponentDidUpdate=Boolean(inst.componentDidUpdate);var prevProps;var prevState;var prevContext;if(hasComponentDidUpdate){prevProps=inst.props;prevState=inst.state;prevContext=inst.context;}if(inst.componentWillUpdate){inst.componentWillUpdate(nextProps,nextState,nextContext);}this._currentElement=nextElement;this._context=unmaskedContext;inst.props=nextProps;inst.state=nextState;inst.context=nextContext;this._updateRenderedComponent(transaction,unmaskedContext);if(hasComponentDidUpdate){transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst,prevProps,prevState,prevContext),inst);}},/**
* Call the component's `render` method and update the DOM accordingly.
*
* @param {ReactReconcileTransaction} transaction
* @internal
*/_updateRenderedComponent:function _updateRenderedComponent(transaction,context){var prevComponentInstance=this._renderedComponent;var prevRenderedElement=prevComponentInstance._currentElement;var nextRenderedElement=this._renderValidatedComponent();if(shouldUpdateReactComponent(prevRenderedElement,nextRenderedElement)){ReactReconciler.receiveComponent(prevComponentInstance,nextRenderedElement,transaction,this._processChildContext(context));}else{// These two IDs are actually the same! But nothing should rely on that.
var thisID=this._rootNodeID;var prevComponentID=prevComponentInstance._rootNodeID;ReactReconciler.unmountComponent(prevComponentInstance);this._renderedComponent=this._instantiateReactComponent(nextRenderedElement);var nextMarkup=ReactReconciler.mountComponent(this._renderedComponent,thisID,transaction,this._processChildContext(context));this._replaceNodeWithMarkupByID(prevComponentID,nextMarkup);}},/**
* @protected
*/_replaceNodeWithMarkupByID:function _replaceNodeWithMarkupByID(prevComponentID,nextMarkup){ReactComponentEnvironment.replaceNodeWithMarkupByID(prevComponentID,nextMarkup);},/**
* @protected
*/_renderValidatedComponentWithoutOwnerOrContext:function _renderValidatedComponentWithoutOwnerOrContext(){var inst=this._instance;var renderedComponent=inst.render();if(process.env.NODE_ENV!=='production'){// We allow auto-mocks to proceed as if they're returning null.
if(typeof renderedComponent==='undefined'&&inst.render._isMockFunction){// This is probably bad practice. Consider warning here and
// deprecating this convenience.
renderedComponent=null;}}return renderedComponent;},/**
* @private
*/_renderValidatedComponent:function _renderValidatedComponent(){var renderedComponent;ReactCurrentOwner.current=this;try{renderedComponent=this._renderValidatedComponentWithoutOwnerOrContext();}finally{ReactCurrentOwner.current=null;}!(// TODO: An `isValidNode` function would probably be more appropriate
renderedComponent===null||renderedComponent===false||ReactElement.isValidElement(renderedComponent))?process.env.NODE_ENV!=='production'?invariant(false,'%s.render(): A valid ReactComponent must be returned. You may have '+'returned undefined, an array or some other invalid object.',this.getName()||'ReactCompositeComponent'):invariant(false):undefined;return renderedComponent;},/**
* Lazily allocates the refs object and stores `component` as `ref`.
*
* @param {string} ref Reference name.
* @param {component} component Component to store as `ref`.
* @final
* @private
*/attachRef:function attachRef(ref,component){var inst=this.getPublicInstance();!(inst!=null)?process.env.NODE_ENV!=='production'?invariant(false,'Stateless function components cannot have refs.'):invariant(false):undefined;var publicComponentInstance=component.getPublicInstance();if(process.env.NODE_ENV!=='production'){var componentName=component&&component.getName?component.getName():'a component';process.env.NODE_ENV!=='production'?warning(publicComponentInstance!=null,'Stateless function components cannot be given refs '+'(See ref "%s" in %s created by %s). '+'Attempts to access this ref will fail.',ref,componentName,this.getName()):undefined;}var refs=inst.refs===emptyObject?inst.refs={}:inst.refs;refs[ref]=publicComponentInstance;},/**
* Detaches a reference name.
*
* @param {string} ref Name to dereference.
* @final
* @private
*/detachRef:function detachRef(ref){var refs=this.getPublicInstance().refs;delete refs[ref];},/**
* Get a text description of the component that can be used to identify it
* in error messages.
* @return {string} The name or null.
* @internal
*/getName:function getName(){var type=this._currentElement.type;var constructor=this._instance&&this._instance.constructor;return type.displayName||constructor&&constructor.displayName||type.name||constructor&&constructor.name||null;},/**
* Get the publicly accessible representation of this component - i.e. what
* is exposed by refs and returned by render. Can be null for stateless
* components.
*
* @return {ReactComponent} the public component instance.
* @internal
*/getPublicInstance:function getPublicInstance(){var inst=this._instance;if(inst instanceof StatelessComponent){return null;}return inst;},// Stub
_instantiateReactComponent:null};ReactPerf.measureMethods(ReactCompositeComponentMixin,'ReactCompositeComponent',{mountComponent:'mountComponent',updateComponent:'updateComponent',_renderValidatedComponent:'_renderValidatedComponent'});var ReactCompositeComponent={Mixin:ReactCompositeComponentMixin};module.exports=ReactCompositeComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 954 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMButton
*/'use strict';var mouseListenerNames={onClick:true,onDoubleClick:true,onMouseDown:true,onMouseMove:true,onMouseUp:true,onClickCapture:true,onDoubleClickCapture:true,onMouseDownCapture:true,onMouseMoveCapture:true,onMouseUpCapture:true};/**
* Implements a <button> native component that does not receive mouse events
* when `disabled` is set.
*/var ReactDOMButton={getNativeProps:function getNativeProps(inst,props,context){if(!props.disabled){return props;}// Copy the props, except the mouse listeners
var nativeProps={};for(var key in props){if(props.hasOwnProperty(key)&&!mouseListenerNames[key]){nativeProps[key]=props[key];}}return nativeProps;}};module.exports=ReactDOMButton;
/***/ },
/* 955 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMComponent
* @typechecks static-only
*//* global hasOwnProperty:true */'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var AutoFocusUtils=__webpack_require__(939);var CSSPropertyOperations=__webpack_require__(941);var DOMProperty=__webpack_require__(77);var DOMPropertyOperations=__webpack_require__(248);var EventConstants=__webpack_require__(50);var ReactBrowserEventEmitter=__webpack_require__(178);var ReactComponentBrowserEnvironment=__webpack_require__(250);var ReactDOMButton=__webpack_require__(954);var ReactDOMInput=__webpack_require__(957);var ReactDOMOption=__webpack_require__(958);var ReactDOMSelect=__webpack_require__(427);var ReactDOMTextarea=__webpack_require__(961);var ReactMount=__webpack_require__(25);var ReactMultiChild=__webpack_require__(968);var ReactPerf=__webpack_require__(37);var ReactUpdateQueue=__webpack_require__(253);var assign=__webpack_require__(7);var canDefineProperty=__webpack_require__(183);var escapeTextContentForBrowser=__webpack_require__(184);var invariant=__webpack_require__(6);var isEventSupported=__webpack_require__(261);var keyOf=__webpack_require__(57);var setInnerHTML=__webpack_require__(185);var setTextContent=__webpack_require__(262);var shallowEqual=__webpack_require__(332);var validateDOMNesting=__webpack_require__(265);var warning=__webpack_require__(8);var deleteListener=ReactBrowserEventEmitter.deleteListener;var listenTo=ReactBrowserEventEmitter.listenTo;var registrationNameModules=ReactBrowserEventEmitter.registrationNameModules;// For quickly matching children type, to test if can be treated as content.
var CONTENT_TYPES={'string':true,'number':true};var CHILDREN=keyOf({children:null});var STYLE=keyOf({style:null});var HTML=keyOf({__html:null});var ELEMENT_NODE_TYPE=1;function getDeclarationErrorAddendum(internalInstance){if(internalInstance){var owner=internalInstance._currentElement._owner||null;if(owner){var name=owner.getName();if(name){return' This DOM node was rendered by `'+name+'`.';}}}return'';}var legacyPropsDescriptor;if(process.env.NODE_ENV!=='production'){legacyPropsDescriptor={props:{enumerable:false,get:function get(){var component=this._reactInternalComponent;process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .props of a DOM node; instead, '+'recreate the props as `render` did originally or read the DOM '+'properties/attributes directly from this node (e.g., '+'this.refs.box.className).%s',getDeclarationErrorAddendum(component)):undefined;return component._currentElement.props;}}};}function legacyGetDOMNode(){if(process.env.NODE_ENV!=='production'){var component=this._reactInternalComponent;process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .getDOMNode() of a DOM node; '+'instead, use the node directly.%s',getDeclarationErrorAddendum(component)):undefined;}return this;}function legacyIsMounted(){var component=this._reactInternalComponent;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .isMounted() of a DOM node.%s',getDeclarationErrorAddendum(component)):undefined;}return!!component;}function legacySetStateEtc(){if(process.env.NODE_ENV!=='production'){var component=this._reactInternalComponent;process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .setState(), .replaceState(), or '+'.forceUpdate() of a DOM node. This is a no-op.%s',getDeclarationErrorAddendum(component)):undefined;}}function legacySetProps(partialProps,callback){var component=this._reactInternalComponent;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .setProps() of a DOM node. '+'Instead, call ReactDOM.render again at the top level.%s',getDeclarationErrorAddendum(component)):undefined;}if(!component){return;}ReactUpdateQueue.enqueueSetPropsInternal(component,partialProps);if(callback){ReactUpdateQueue.enqueueCallbackInternal(component,callback);}}function legacyReplaceProps(partialProps,callback){var component=this._reactInternalComponent;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'ReactDOMComponent: Do not access .replaceProps() of a DOM node. '+'Instead, call ReactDOM.render again at the top level.%s',getDeclarationErrorAddendum(component)):undefined;}if(!component){return;}ReactUpdateQueue.enqueueReplacePropsInternal(component,partialProps);if(callback){ReactUpdateQueue.enqueueCallbackInternal(component,callback);}}function friendlyStringify(obj){if((typeof obj==='undefined'?'undefined':_typeof(obj))==='object'){if(Array.isArray(obj)){return'['+obj.map(friendlyStringify).join(', ')+']';}else{var pairs=[];for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){var keyEscaped=/^[a-z$_][\w$_]*$/i.test(key)?key:JSON.stringify(key);pairs.push(keyEscaped+': '+friendlyStringify(obj[key]));}}return'{'+pairs.join(', ')+'}';}}else if(typeof obj==='string'){return JSON.stringify(obj);}else if(typeof obj==='function'){return'[function object]';}// Differs from JSON.stringify in that undefined becauses undefined and that
// inf and nan don't become null
return String(obj);}var styleMutationWarning={};function checkAndWarnForMutatedStyle(style1,style2,component){if(style1==null||style2==null){return;}if(shallowEqual(style1,style2)){return;}var componentName=component._tag;var owner=component._currentElement._owner;var ownerName;if(owner){ownerName=owner.getName();}var hash=ownerName+'|'+componentName;if(styleMutationWarning.hasOwnProperty(hash)){return;}styleMutationWarning[hash]=true;process.env.NODE_ENV!=='production'?warning(false,'`%s` was passed a style object that has previously been mutated. '+'Mutating `style` is deprecated. Consider cloning it beforehand. Check '+'the `render` %s. Previous style: %s. Mutated style: %s.',componentName,owner?'of `'+ownerName+'`':'using <'+componentName+'>',friendlyStringify(style1),friendlyStringify(style2)):undefined;}/**
* @param {object} component
* @param {?object} props
*/function assertValidProps(component,props){if(!props){return;}// Note the use of `==` which checks for null or undefined.
if(process.env.NODE_ENV!=='production'){if(voidElementTags[component._tag]){process.env.NODE_ENV!=='production'?warning(props.children==null&&props.dangerouslySetInnerHTML==null,'%s is a void element tag and must not have `children` or '+'use `props.dangerouslySetInnerHTML`.%s',component._tag,component._currentElement._owner?' Check the render method of '+component._currentElement._owner.getName()+'.':''):undefined;}}if(props.dangerouslySetInnerHTML!=null){!(props.children==null)?process.env.NODE_ENV!=='production'?invariant(false,'Can only set one of `children` or `props.dangerouslySetInnerHTML`.'):invariant(false):undefined;!(_typeof(props.dangerouslySetInnerHTML)==='object'&&HTML in props.dangerouslySetInnerHTML)?process.env.NODE_ENV!=='production'?invariant(false,'`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. '+'Please visit https://fb.me/react-invariant-dangerously-set-inner-html '+'for more information.'):invariant(false):undefined;}if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(props.innerHTML==null,'Directly setting property `innerHTML` is not permitted. '+'For more information, lookup documentation on `dangerouslySetInnerHTML`.'):undefined;process.env.NODE_ENV!=='production'?warning(!props.contentEditable||props.children==null,'A component is `contentEditable` and contains `children` managed by '+'React. It is now your responsibility to guarantee that none of '+'those nodes are unexpectedly modified or duplicated. This is '+'probably not intentional.'):undefined;}!(props.style==null||_typeof(props.style)==='object')?process.env.NODE_ENV!=='production'?invariant(false,'The `style` prop expects a mapping from style properties to values, '+'not a string. For example, style={{marginRight: spacing + \'em\'}} when '+'using JSX.%s',getDeclarationErrorAddendum(component)):invariant(false):undefined;}function enqueuePutListener(id,registrationName,listener,transaction){if(process.env.NODE_ENV!=='production'){// IE8 has no API for event capturing and the `onScroll` event doesn't
// bubble.
process.env.NODE_ENV!=='production'?warning(registrationName!=='onScroll'||isEventSupported('scroll',true),'This browser doesn\'t support the `onScroll` event'):undefined;}var container=ReactMount.findReactContainerForID(id);if(container){var doc=container.nodeType===ELEMENT_NODE_TYPE?container.ownerDocument:container;listenTo(registrationName,doc);}transaction.getReactMountReady().enqueue(putListener,{id:id,registrationName:registrationName,listener:listener});}function putListener(){var listenerToPut=this;ReactBrowserEventEmitter.putListener(listenerToPut.id,listenerToPut.registrationName,listenerToPut.listener);}// There are so many media events, it makes sense to just
// maintain a list rather than create a `trapBubbledEvent` for each
var mediaEvents={topAbort:'abort',topCanPlay:'canplay',topCanPlayThrough:'canplaythrough',topDurationChange:'durationchange',topEmptied:'emptied',topEncrypted:'encrypted',topEnded:'ended',topError:'error',topLoadedData:'loadeddata',topLoadedMetadata:'loadedmetadata',topLoadStart:'loadstart',topPause:'pause',topPlay:'play',topPlaying:'playing',topProgress:'progress',topRateChange:'ratechange',topSeeked:'seeked',topSeeking:'seeking',topStalled:'stalled',topSuspend:'suspend',topTimeUpdate:'timeupdate',topVolumeChange:'volumechange',topWaiting:'waiting'};function trapBubbledEventsLocal(){var inst=this;// If a component renders to null or if another component fatals and causes
// the state of the tree to be corrupted, `node` here can be null.
!inst._rootNodeID?process.env.NODE_ENV!=='production'?invariant(false,'Must be mounted to trap events'):invariant(false):undefined;var node=ReactMount.getNode(inst._rootNodeID);!node?process.env.NODE_ENV!=='production'?invariant(false,'trapBubbledEvent(...): Requires node to be rendered.'):invariant(false):undefined;switch(inst._tag){case'iframe':inst._wrapperState.listeners=[ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad,'load',node)];break;case'video':case'audio':inst._wrapperState.listeners=[];// create listener for each media event
for(var event in mediaEvents){if(mediaEvents.hasOwnProperty(event)){inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes[event],mediaEvents[event],node));}}break;case'img':inst._wrapperState.listeners=[ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError,'error',node),ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad,'load',node)];break;case'form':inst._wrapperState.listeners=[ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset,'reset',node),ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit,'submit',node)];break;}}function mountReadyInputWrapper(){ReactDOMInput.mountReadyWrapper(this);}function postUpdateSelectWrapper(){ReactDOMSelect.postUpdateWrapper(this);}// For HTML, certain tags should omit their close tag. We keep a whitelist for
// those special cased tags.
var omittedCloseTags={'area':true,'base':true,'br':true,'col':true,'embed':true,'hr':true,'img':true,'input':true,'keygen':true,'link':true,'meta':true,'param':true,'source':true,'track':true,'wbr':true};// NOTE: menuitem's close tag should be omitted, but that causes problems.
var newlineEatingTags={'listing':true,'pre':true,'textarea':true};// For HTML, certain tags cannot have children. This has the same purpose as
// `omittedCloseTags` except that `menuitem` should still have its closing tag.
var voidElementTags=assign({'menuitem':true},omittedCloseTags);// We accept any tag to be rendered but since this gets injected into arbitrary
// HTML, we want to make sure that it's a safe tag.
// http://www.w3.org/TR/REC-xml/#NT-Name
var VALID_TAG_REGEX=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/;// Simplified subset
var validatedTagCache={};var hasOwnProperty={}.hasOwnProperty;function validateDangerousTag(tag){if(!hasOwnProperty.call(validatedTagCache,tag)){!VALID_TAG_REGEX.test(tag)?process.env.NODE_ENV!=='production'?invariant(false,'Invalid tag: %s',tag):invariant(false):undefined;validatedTagCache[tag]=true;}}function processChildContextDev(context,inst){// Pass down our tag name to child components for validation purposes
context=assign({},context);var info=context[validateDOMNesting.ancestorInfoContextKey];context[validateDOMNesting.ancestorInfoContextKey]=validateDOMNesting.updatedAncestorInfo(info,inst._tag,inst);return context;}function isCustomComponent(tagName,props){return tagName.indexOf('-')>=0||props.is!=null;}/**
* Creates a new React class that is idempotent and capable of containing other
* React components. It accepts event listeners and DOM properties that are
* valid according to `DOMProperty`.
*
* - Event listeners: `onClick`, `onMouseDown`, etc.
* - DOM properties: `className`, `name`, `title`, etc.
*
* The `style` property functions differently from the DOM API. It accepts an
* object mapping of style properties to values.
*
* @constructor ReactDOMComponent
* @extends ReactMultiChild
*/function ReactDOMComponent(tag){validateDangerousTag(tag);this._tag=tag.toLowerCase();this._renderedChildren=null;this._previousStyle=null;this._previousStyleCopy=null;this._rootNodeID=null;this._wrapperState=null;this._topLevelWrapper=null;this._nodeWithLegacyProperties=null;if(process.env.NODE_ENV!=='production'){this._unprocessedContextDev=null;this._processedContextDev=null;}}ReactDOMComponent.displayName='ReactDOMComponent';ReactDOMComponent.Mixin={construct:function construct(element){this._currentElement=element;},/**
* Generates root tag markup then recurses. This method has side effects and
* is not idempotent.
*
* @internal
* @param {string} rootID The root DOM ID for this node.
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} context
* @return {string} The computed markup.
*/mountComponent:function mountComponent(rootID,transaction,context){this._rootNodeID=rootID;var props=this._currentElement.props;switch(this._tag){case'iframe':case'img':case'form':case'video':case'audio':this._wrapperState={listeners:null};transaction.getReactMountReady().enqueue(trapBubbledEventsLocal,this);break;case'button':props=ReactDOMButton.getNativeProps(this,props,context);break;case'input':ReactDOMInput.mountWrapper(this,props,context);props=ReactDOMInput.getNativeProps(this,props,context);break;case'option':ReactDOMOption.mountWrapper(this,props,context);props=ReactDOMOption.getNativeProps(this,props,context);break;case'select':ReactDOMSelect.mountWrapper(this,props,context);props=ReactDOMSelect.getNativeProps(this,props,context);context=ReactDOMSelect.processChildContext(this,props,context);break;case'textarea':ReactDOMTextarea.mountWrapper(this,props,context);props=ReactDOMTextarea.getNativeProps(this,props,context);break;}assertValidProps(this,props);if(process.env.NODE_ENV!=='production'){if(context[validateDOMNesting.ancestorInfoContextKey]){validateDOMNesting(this._tag,this,context[validateDOMNesting.ancestorInfoContextKey]);}}if(process.env.NODE_ENV!=='production'){this._unprocessedContextDev=context;this._processedContextDev=processChildContextDev(context,this);context=this._processedContextDev;}var mountImage;if(transaction.useCreateElement){var ownerDocument=context[ReactMount.ownerDocumentContextKey];var el=ownerDocument.createElement(this._currentElement.type);DOMPropertyOperations.setAttributeForID(el,this._rootNodeID);// Populate node cache
ReactMount.getID(el);this._updateDOMProperties({},props,transaction,el);this._createInitialChildren(transaction,props,context,el);mountImage=el;}else{var tagOpen=this._createOpenTagMarkupAndPutListeners(transaction,props);var tagContent=this._createContentMarkup(transaction,props,context);if(!tagContent&&omittedCloseTags[this._tag]){mountImage=tagOpen+'/>';}else{mountImage=tagOpen+'>'+tagContent+'</'+this._currentElement.type+'>';}}switch(this._tag){case'input':transaction.getReactMountReady().enqueue(mountReadyInputWrapper,this);// falls through
case'button':case'select':case'textarea':if(props.autoFocus){transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent,this);}break;}return mountImage;},/**
* Creates markup for the open tag and all attributes.
*
* This method has side effects because events get registered.
*
* Iterating over object properties is faster than iterating over arrays.
* @see http://jsperf.com/obj-vs-arr-iteration
*
* @private
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} props
* @return {string} Markup of opening tag.
*/_createOpenTagMarkupAndPutListeners:function _createOpenTagMarkupAndPutListeners(transaction,props){var ret='<'+this._currentElement.type;for(var propKey in props){if(!props.hasOwnProperty(propKey)){continue;}var propValue=props[propKey];if(propValue==null){continue;}if(registrationNameModules.hasOwnProperty(propKey)){if(propValue){enqueuePutListener(this._rootNodeID,propKey,propValue,transaction);}}else{if(propKey===STYLE){if(propValue){if(process.env.NODE_ENV!=='production'){// See `_updateDOMProperties`. style block
this._previousStyle=propValue;}propValue=this._previousStyleCopy=assign({},props.style);}propValue=CSSPropertyOperations.createMarkupForStyles(propValue);}var markup=null;if(this._tag!=null&&isCustomComponent(this._tag,props)){if(propKey!==CHILDREN){markup=DOMPropertyOperations.createMarkupForCustomAttribute(propKey,propValue);}}else{markup=DOMPropertyOperations.createMarkupForProperty(propKey,propValue);}if(markup){ret+=' '+markup;}}}// For static pages, no need to put React ID and checksum. Saves lots of
// bytes.
if(transaction.renderToStaticMarkup){return ret;}var markupForID=DOMPropertyOperations.createMarkupForID(this._rootNodeID);return ret+' '+markupForID;},/**
* Creates markup for the content between the tags.
*
* @private
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} props
* @param {object} context
* @return {string} Content markup.
*/_createContentMarkup:function _createContentMarkup(transaction,props,context){var ret='';// Intentional use of != to avoid catching zero/false.
var innerHTML=props.dangerouslySetInnerHTML;if(innerHTML!=null){if(innerHTML.__html!=null){ret=innerHTML.__html;}}else{var contentToUse=CONTENT_TYPES[_typeof(props.children)]?props.children:null;var childrenToUse=contentToUse!=null?null:props.children;if(contentToUse!=null){// TODO: Validate that text is allowed as a child of this node
ret=escapeTextContentForBrowser(contentToUse);}else if(childrenToUse!=null){var mountImages=this.mountChildren(childrenToUse,transaction,context);ret=mountImages.join('');}}if(newlineEatingTags[this._tag]&&ret.charAt(0)==='\n'){// text/html ignores the first character in these tags if it's a newline
// Prefer to break application/xml over text/html (for now) by adding
// a newline specifically to get eaten by the parser. (Alternately for
// textareas, replacing "^\n" with "\r\n" doesn't get eaten, and the first
// \r is normalized out by HTMLTextAreaElement#value.)
// See: <http://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>
// See: <http://www.w3.org/TR/html5/syntax.html#element-restrictions>
// See: <http://www.w3.org/TR/html5/syntax.html#newlines>
// See: Parsing of "textarea" "listing" and "pre" elements
// from <http://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>
return'\n'+ret;}else{return ret;}},_createInitialChildren:function _createInitialChildren(transaction,props,context,el){// Intentional use of != to avoid catching zero/false.
var innerHTML=props.dangerouslySetInnerHTML;if(innerHTML!=null){if(innerHTML.__html!=null){setInnerHTML(el,innerHTML.__html);}}else{var contentToUse=CONTENT_TYPES[_typeof(props.children)]?props.children:null;var childrenToUse=contentToUse!=null?null:props.children;if(contentToUse!=null){// TODO: Validate that text is allowed as a child of this node
setTextContent(el,contentToUse);}else if(childrenToUse!=null){var mountImages=this.mountChildren(childrenToUse,transaction,context);for(var i=0;i<mountImages.length;i++){el.appendChild(mountImages[i]);}}}},/**
* Receives a next element and updates the component.
*
* @internal
* @param {ReactElement} nextElement
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {object} context
*/receiveComponent:function receiveComponent(nextElement,transaction,context){var prevElement=this._currentElement;this._currentElement=nextElement;this.updateComponent(transaction,prevElement,nextElement,context);},/**
* Updates a native DOM component after it has already been allocated and
* attached to the DOM. Reconciles the root DOM node, then recurses.
*
* @param {ReactReconcileTransaction} transaction
* @param {ReactElement} prevElement
* @param {ReactElement} nextElement
* @internal
* @overridable
*/updateComponent:function updateComponent(transaction,prevElement,nextElement,context){var lastProps=prevElement.props;var nextProps=this._currentElement.props;switch(this._tag){case'button':lastProps=ReactDOMButton.getNativeProps(this,lastProps);nextProps=ReactDOMButton.getNativeProps(this,nextProps);break;case'input':ReactDOMInput.updateWrapper(this);lastProps=ReactDOMInput.getNativeProps(this,lastProps);nextProps=ReactDOMInput.getNativeProps(this,nextProps);break;case'option':lastProps=ReactDOMOption.getNativeProps(this,lastProps);nextProps=ReactDOMOption.getNativeProps(this,nextProps);break;case'select':lastProps=ReactDOMSelect.getNativeProps(this,lastProps);nextProps=ReactDOMSelect.getNativeProps(this,nextProps);break;case'textarea':ReactDOMTextarea.updateWrapper(this);lastProps=ReactDOMTextarea.getNativeProps(this,lastProps);nextProps=ReactDOMTextarea.getNativeProps(this,nextProps);break;}if(process.env.NODE_ENV!=='production'){// If the context is reference-equal to the old one, pass down the same
// processed object so the update bailout in ReactReconciler behaves
// correctly (and identically in dev and prod). See #5005.
if(this._unprocessedContextDev!==context){this._unprocessedContextDev=context;this._processedContextDev=processChildContextDev(context,this);}context=this._processedContextDev;}assertValidProps(this,nextProps);this._updateDOMProperties(lastProps,nextProps,transaction,null);this._updateDOMChildren(lastProps,nextProps,transaction,context);if(!canDefineProperty&&this._nodeWithLegacyProperties){this._nodeWithLegacyProperties.props=nextProps;}if(this._tag==='select'){// <select> value update needs to occur after <option> children
// reconciliation
transaction.getReactMountReady().enqueue(postUpdateSelectWrapper,this);}},/**
* Reconciles the properties by detecting differences in property values and
* updating the DOM as necessary. This function is probably the single most
* critical path for performance optimization.
*
* TODO: Benchmark whether checking for changed values in memory actually
* improves performance (especially statically positioned elements).
* TODO: Benchmark the effects of putting this at the top since 99% of props
* do not change for a given reconciliation.
* TODO: Benchmark areas that can be improved with caching.
*
* @private
* @param {object} lastProps
* @param {object} nextProps
* @param {ReactReconcileTransaction} transaction
* @param {?DOMElement} node
*/_updateDOMProperties:function _updateDOMProperties(lastProps,nextProps,transaction,node){var propKey;var styleName;var styleUpdates;for(propKey in lastProps){if(nextProps.hasOwnProperty(propKey)||!lastProps.hasOwnProperty(propKey)){continue;}if(propKey===STYLE){var lastStyle=this._previousStyleCopy;for(styleName in lastStyle){if(lastStyle.hasOwnProperty(styleName)){styleUpdates=styleUpdates||{};styleUpdates[styleName]='';}}this._previousStyleCopy=null;}else if(registrationNameModules.hasOwnProperty(propKey)){if(lastProps[propKey]){// Only call deleteListener if there was a listener previously or
// else willDeleteListener gets called when there wasn't actually a
// listener (e.g., onClick={null})
deleteListener(this._rootNodeID,propKey);}}else if(DOMProperty.properties[propKey]||DOMProperty.isCustomAttribute(propKey)){if(!node){node=ReactMount.getNode(this._rootNodeID);}DOMPropertyOperations.deleteValueForProperty(node,propKey);}}for(propKey in nextProps){var nextProp=nextProps[propKey];var lastProp=propKey===STYLE?this._previousStyleCopy:lastProps[propKey];if(!nextProps.hasOwnProperty(propKey)||nextProp===lastProp){continue;}if(propKey===STYLE){if(nextProp){if(process.env.NODE_ENV!=='production'){checkAndWarnForMutatedStyle(this._previousStyleCopy,this._previousStyle,this);this._previousStyle=nextProp;}nextProp=this._previousStyleCopy=assign({},nextProp);}else{this._previousStyleCopy=null;}if(lastProp){// Unset styles on `lastProp` but not on `nextProp`.
for(styleName in lastProp){if(lastProp.hasOwnProperty(styleName)&&(!nextProp||!nextProp.hasOwnProperty(styleName))){styleUpdates=styleUpdates||{};styleUpdates[styleName]='';}}// Update styles that changed since `lastProp`.
for(styleName in nextProp){if(nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]){styleUpdates=styleUpdates||{};styleUpdates[styleName]=nextProp[styleName];}}}else{// Relies on `updateStylesByID` not mutating `styleUpdates`.
styleUpdates=nextProp;}}else if(registrationNameModules.hasOwnProperty(propKey)){if(nextProp){enqueuePutListener(this._rootNodeID,propKey,nextProp,transaction);}else if(lastProp){deleteListener(this._rootNodeID,propKey);}}else if(isCustomComponent(this._tag,nextProps)){if(!node){node=ReactMount.getNode(this._rootNodeID);}if(propKey===CHILDREN){nextProp=null;}DOMPropertyOperations.setValueForAttribute(node,propKey,nextProp);}else if(DOMProperty.properties[propKey]||DOMProperty.isCustomAttribute(propKey)){if(!node){node=ReactMount.getNode(this._rootNodeID);}// If we're updating to null or undefined, we should remove the property
// from the DOM node instead of inadvertantly setting to a string. This
// brings us in line with the same behavior we have on initial render.
if(nextProp!=null){DOMPropertyOperations.setValueForProperty(node,propKey,nextProp);}else{DOMPropertyOperations.deleteValueForProperty(node,propKey);}}}if(styleUpdates){if(!node){node=ReactMount.getNode(this._rootNodeID);}CSSPropertyOperations.setValueForStyles(node,styleUpdates);}},/**
* Reconciles the children with the various properties that affect the
* children content.
*
* @param {object} lastProps
* @param {object} nextProps
* @param {ReactReconcileTransaction} transaction
* @param {object} context
*/_updateDOMChildren:function _updateDOMChildren(lastProps,nextProps,transaction,context){var lastContent=CONTENT_TYPES[_typeof(lastProps.children)]?lastProps.children:null;var nextContent=CONTENT_TYPES[_typeof(nextProps.children)]?nextProps.children:null;var lastHtml=lastProps.dangerouslySetInnerHTML&&lastProps.dangerouslySetInnerHTML.__html;var nextHtml=nextProps.dangerouslySetInnerHTML&&nextProps.dangerouslySetInnerHTML.__html;// Note the use of `!=` which checks for null or undefined.
var lastChildren=lastContent!=null?null:lastProps.children;var nextChildren=nextContent!=null?null:nextProps.children;// If we're switching from children to content/html or vice versa, remove
// the old content
var lastHasContentOrHtml=lastContent!=null||lastHtml!=null;var nextHasContentOrHtml=nextContent!=null||nextHtml!=null;if(lastChildren!=null&&nextChildren==null){this.updateChildren(null,transaction,context);}else if(lastHasContentOrHtml&&!nextHasContentOrHtml){this.updateTextContent('');}if(nextContent!=null){if(lastContent!==nextContent){this.updateTextContent(''+nextContent);}}else if(nextHtml!=null){if(lastHtml!==nextHtml){this.updateMarkup(''+nextHtml);}}else if(nextChildren!=null){this.updateChildren(nextChildren,transaction,context);}},/**
* Destroys all event registrations for this instance. Does not remove from
* the DOM. That must be done by the parent.
*
* @internal
*/unmountComponent:function unmountComponent(){switch(this._tag){case'iframe':case'img':case'form':case'video':case'audio':var listeners=this._wrapperState.listeners;if(listeners){for(var i=0;i<listeners.length;i++){listeners[i].remove();}}break;case'input':ReactDOMInput.unmountWrapper(this);break;case'html':case'head':case'body':/**
* Components like <html> <head> and <body> can't be removed or added
* easily in a cross-browser way, however it's valuable to be able to
* take advantage of React's reconciliation for styling and <title>
* management. So we just document it and throw in dangerous cases.
*/ true?process.env.NODE_ENV!=='production'?invariant(false,'<%s> tried to unmount. Because of cross-browser quirks it is '+'impossible to unmount some top-level components (eg <html>, '+'<head>, and <body>) reliably and efficiently. To fix this, have a '+'single top-level component that never unmounts render these '+'elements.',this._tag):invariant(false):undefined;break;}this.unmountChildren();ReactBrowserEventEmitter.deleteAllListeners(this._rootNodeID);ReactComponentBrowserEnvironment.unmountIDFromEnvironment(this._rootNodeID);this._rootNodeID=null;this._wrapperState=null;if(this._nodeWithLegacyProperties){var node=this._nodeWithLegacyProperties;node._reactInternalComponent=null;this._nodeWithLegacyProperties=null;}},getPublicInstance:function getPublicInstance(){if(!this._nodeWithLegacyProperties){var node=ReactMount.getNode(this._rootNodeID);node._reactInternalComponent=this;node.getDOMNode=legacyGetDOMNode;node.isMounted=legacyIsMounted;node.setState=legacySetStateEtc;node.replaceState=legacySetStateEtc;node.forceUpdate=legacySetStateEtc;node.setProps=legacySetProps;node.replaceProps=legacyReplaceProps;if(process.env.NODE_ENV!=='production'){if(canDefineProperty){Object.defineProperties(node,legacyPropsDescriptor);}else{// updateComponent will update this property on subsequent renders
node.props=this._currentElement.props;}}else{// updateComponent will update this property on subsequent renders
node.props=this._currentElement.props;}this._nodeWithLegacyProperties=node;}return this._nodeWithLegacyProperties;}};ReactPerf.measureMethods(ReactDOMComponent,'ReactDOMComponent',{mountComponent:'mountComponent',updateComponent:'updateComponent'});assign(ReactDOMComponent.prototype,ReactDOMComponent.Mixin,ReactMultiChild.Mixin);module.exports=ReactDOMComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 956 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMFactories
* @typechecks static-only
*/'use strict';var ReactElement=__webpack_require__(34);var ReactElementValidator=__webpack_require__(431);var mapObject=__webpack_require__(655);/**
* Create a factory that creates HTML tag elements.
*
* @param {string} tag Tag name (e.g. `div`).
* @private
*/function createDOMFactory(tag){if(process.env.NODE_ENV!=='production'){return ReactElementValidator.createFactory(tag);}return ReactElement.createFactory(tag);}/**
* Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.
* This is also accessible via `React.DOM`.
*
* @public
*/var ReactDOMFactories=mapObject({a:'a',abbr:'abbr',address:'address',area:'area',article:'article',aside:'aside',audio:'audio',b:'b',base:'base',bdi:'bdi',bdo:'bdo',big:'big',blockquote:'blockquote',body:'body',br:'br',button:'button',canvas:'canvas',caption:'caption',cite:'cite',code:'code',col:'col',colgroup:'colgroup',data:'data',datalist:'datalist',dd:'dd',del:'del',details:'details',dfn:'dfn',dialog:'dialog',div:'div',dl:'dl',dt:'dt',em:'em',embed:'embed',fieldset:'fieldset',figcaption:'figcaption',figure:'figure',footer:'footer',form:'form',h1:'h1',h2:'h2',h3:'h3',h4:'h4',h5:'h5',h6:'h6',head:'head',header:'header',hgroup:'hgroup',hr:'hr',html:'html',i:'i',iframe:'iframe',img:'img',input:'input',ins:'ins',kbd:'kbd',keygen:'keygen',label:'label',legend:'legend',li:'li',link:'link',main:'main',map:'map',mark:'mark',menu:'menu',menuitem:'menuitem',meta:'meta',meter:'meter',nav:'nav',noscript:'noscript',object:'object',ol:'ol',optgroup:'optgroup',option:'option',output:'output',p:'p',param:'param',picture:'picture',pre:'pre',progress:'progress',q:'q',rp:'rp',rt:'rt',ruby:'ruby',s:'s',samp:'samp',script:'script',section:'section',select:'select',small:'small',source:'source',span:'span',strong:'strong',style:'style',sub:'sub',summary:'summary',sup:'sup',table:'table',tbody:'tbody',td:'td',textarea:'textarea',tfoot:'tfoot',th:'th',thead:'thead',time:'time',title:'title',tr:'tr',track:'track',u:'u',ul:'ul','var':'var',video:'video',wbr:'wbr',// SVG
circle:'circle',clipPath:'clipPath',defs:'defs',ellipse:'ellipse',g:'g',image:'image',line:'line',linearGradient:'linearGradient',mask:'mask',path:'path',pattern:'pattern',polygon:'polygon',polyline:'polyline',radialGradient:'radialGradient',rect:'rect',stop:'stop',svg:'svg',text:'text',tspan:'tspan'},createDOMFactory);module.exports=ReactDOMFactories;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 957 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMInput
*/'use strict';var ReactDOMIDOperations=__webpack_require__(252);var LinkedValueUtils=__webpack_require__(249);var ReactMount=__webpack_require__(25);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var instancesByReactID={};function forceUpdateIfMounted(){if(this._rootNodeID){// DOM component is still mounted; update
ReactDOMInput.updateWrapper(this);}}/**
* Implements an <input> native component that allows setting these optional
* props: `checked`, `value`, `defaultChecked`, and `defaultValue`.
*
* If `checked` or `value` are not supplied (or null/undefined), user actions
* that affect the checked state or value will trigger updates to the element.
*
* If they are supplied (and not null/undefined), the rendered element will not
* trigger updates to the element. Instead, the props must change in order for
* the rendered element to be updated.
*
* The rendered element will be initialized as unchecked (or `defaultChecked`)
* with an empty value (or `defaultValue`).
*
* @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html
*/var ReactDOMInput={getNativeProps:function getNativeProps(inst,props,context){var value=LinkedValueUtils.getValue(props);var checked=LinkedValueUtils.getChecked(props);var nativeProps=assign({},props,{defaultChecked:undefined,defaultValue:undefined,value:value!=null?value:inst._wrapperState.initialValue,checked:checked!=null?checked:inst._wrapperState.initialChecked,onChange:inst._wrapperState.onChange});return nativeProps;},mountWrapper:function mountWrapper(inst,props){if(process.env.NODE_ENV!=='production'){LinkedValueUtils.checkPropTypes('input',props,inst._currentElement._owner);}var defaultValue=props.defaultValue;inst._wrapperState={initialChecked:props.defaultChecked||false,initialValue:defaultValue!=null?defaultValue:null,onChange:_handleChange.bind(inst)};},mountReadyWrapper:function mountReadyWrapper(inst){// Can't be in mountWrapper or else server rendering leaks.
instancesByReactID[inst._rootNodeID]=inst;},unmountWrapper:function unmountWrapper(inst){delete instancesByReactID[inst._rootNodeID];},updateWrapper:function updateWrapper(inst){var props=inst._currentElement.props;// TODO: Shouldn't this be getChecked(props)?
var checked=props.checked;if(checked!=null){ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID,'checked',checked||false);}var value=LinkedValueUtils.getValue(props);if(value!=null){// Cast `value` to a string to ensure the value is set correctly. While
// browsers typically do this as necessary, jsdom doesn't.
ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID,'value',''+value);}}};function _handleChange(event){var props=this._currentElement.props;var returnValue=LinkedValueUtils.executeOnChange(props,event);// Here we use asap to wait until all updates have propagated, which
// is important when using controlled components within layers:
// https://github.com/facebook/react/issues/1698
ReactUpdates.asap(forceUpdateIfMounted,this);var name=props.name;if(props.type==='radio'&&name!=null){var rootNode=ReactMount.getNode(this._rootNodeID);var queryRoot=rootNode;while(queryRoot.parentNode){queryRoot=queryRoot.parentNode;}// If `rootNode.form` was non-null, then we could try `form.elements`,
// but that sometimes behaves strangely in IE8. We could also try using
// `form.getElementsByName`, but that will only return direct children
// and won't include inputs that use the HTML5 `form=` attribute. Since
// the input might not even be in a form, let's just use the global
// `querySelectorAll` to ensure we don't miss anything.
var group=queryRoot.querySelectorAll('input[name='+JSON.stringify(''+name)+'][type="radio"]');for(var i=0;i<group.length;i++){var otherNode=group[i];if(otherNode===rootNode||otherNode.form!==rootNode.form){continue;}// This will throw if radio buttons rendered by different copies of React
// and the same name are rendered into the same form (same as #1939).
// That's probably okay; we don't support it just as we don't support
// mixing React with non-React.
var otherID=ReactMount.getID(otherNode);!otherID?process.env.NODE_ENV!=='production'?invariant(false,'ReactDOMInput: Mixing React and non-React radio inputs with the '+'same `name` is not supported.'):invariant(false):undefined;var otherInstance=instancesByReactID[otherID];!otherInstance?process.env.NODE_ENV!=='production'?invariant(false,'ReactDOMInput: Unknown radio button ID %s.',otherID):invariant(false):undefined;// If this is a controlled radio button group, forcing the input that
// was previously checked to update will cause it to be come re-checked
// as appropriate.
ReactUpdates.asap(forceUpdateIfMounted,otherInstance);}}return returnValue;}module.exports=ReactDOMInput;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 958 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMOption
*/'use strict';var ReactChildren=__webpack_require__(422);var ReactDOMSelect=__webpack_require__(427);var assign=__webpack_require__(7);var warning=__webpack_require__(8);var valueContextKey=ReactDOMSelect.valueContextKey;/**
* Implements an <option> native component that warns when `selected` is set.
*/var ReactDOMOption={mountWrapper:function mountWrapper(inst,props,context){// TODO (yungsters): Remove support for `selected` in <option>.
if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(props.selected==null,'Use the `defaultValue` or `value` props on <select> instead of '+'setting `selected` on <option>.'):undefined;}// Look up whether this option is 'selected' via context
var selectValue=context[valueContextKey];// If context key is null (e.g., no specified value or after initial mount)
// or missing (e.g., for <datalist>), we don't change props.selected
var selected=null;if(selectValue!=null){selected=false;if(Array.isArray(selectValue)){// multiple
for(var i=0;i<selectValue.length;i++){if(''+selectValue[i]===''+props.value){selected=true;break;}}}else{selected=''+selectValue===''+props.value;}}inst._wrapperState={selected:selected};},getNativeProps:function getNativeProps(inst,props,context){var nativeProps=assign({selected:undefined,children:undefined},props);// Read state only from initial mount because <select> updates value
// manually; we need the initial state only for server rendering
if(inst._wrapperState.selected!=null){nativeProps.selected=inst._wrapperState.selected;}var content='';// Flatten children and warn if they aren't strings or numbers;
// invalid types are ignored.
ReactChildren.forEach(props.children,function(child){if(child==null){return;}if(typeof child==='string'||typeof child==='number'){content+=child;}else{process.env.NODE_ENV!=='production'?warning(false,'Only strings and numbers are supported as <option> children.'):undefined;}});if(content){nativeProps.children=content;}return nativeProps;}};module.exports=ReactDOMOption;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 959 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelection
*/'use strict';var ExecutionEnvironment=__webpack_require__(18);var getNodeForCharacterOffset=__webpack_require__(992);var getTextContentAccessor=__webpack_require__(445);/**
* While `isCollapsed` is available on the Selection object and `collapsed`
* is available on the Range object, IE11 sometimes gets them wrong.
* If the anchor/focus nodes and offsets are the same, the range is collapsed.
*/function isCollapsed(anchorNode,anchorOffset,focusNode,focusOffset){return anchorNode===focusNode&&anchorOffset===focusOffset;}/**
* Get the appropriate anchor and focus node/offset pairs for IE.
*
* The catch here is that IE's selection API doesn't provide information
* about whether the selection is forward or backward, so we have to
* behave as though it's always forward.
*
* IE text differs from modern selection in that it behaves as though
* block elements end with a new line. This means character offsets will
* differ between the two APIs.
*
* @param {DOMElement} node
* @return {object}
*/function getIEOffsets(node){var selection=document.selection;var selectedRange=selection.createRange();var selectedLength=selectedRange.text.length;// Duplicate selection so we can move range without breaking user selection.
var fromStart=selectedRange.duplicate();fromStart.moveToElementText(node);fromStart.setEndPoint('EndToStart',selectedRange);var startOffset=fromStart.text.length;var endOffset=startOffset+selectedLength;return{start:startOffset,end:endOffset};}/**
* @param {DOMElement} node
* @return {?object}
*/function getModernOffsets(node){var selection=window.getSelection&&window.getSelection();if(!selection||selection.rangeCount===0){return null;}var anchorNode=selection.anchorNode;var anchorOffset=selection.anchorOffset;var focusNode=selection.focusNode;var focusOffset=selection.focusOffset;var currentRange=selection.getRangeAt(0);// In Firefox, range.startContainer and range.endContainer can be "anonymous
// divs", e.g. the up/down buttons on an <input type="number">. Anonymous
// divs do not seem to expose properties, triggering a "Permission denied
// error" if any of its properties are accessed. The only seemingly possible
// way to avoid erroring is to access a property that typically works for
// non-anonymous divs and catch any error that may otherwise arise. See
// https://bugzilla.mozilla.org/show_bug.cgi?id=208427
try{/* eslint-disable no-unused-expressions */currentRange.startContainer.nodeType;currentRange.endContainer.nodeType;/* eslint-enable no-unused-expressions */}catch(e){return null;}// If the node and offset values are the same, the selection is collapsed.
// `Selection.isCollapsed` is available natively, but IE sometimes gets
// this value wrong.
var isSelectionCollapsed=isCollapsed(selection.anchorNode,selection.anchorOffset,selection.focusNode,selection.focusOffset);var rangeLength=isSelectionCollapsed?0:currentRange.toString().length;var tempRange=currentRange.cloneRange();tempRange.selectNodeContents(node);tempRange.setEnd(currentRange.startContainer,currentRange.startOffset);var isTempRangeCollapsed=isCollapsed(tempRange.startContainer,tempRange.startOffset,tempRange.endContainer,tempRange.endOffset);var start=isTempRangeCollapsed?0:tempRange.toString().length;var end=start+rangeLength;// Detect whether the selection is backward.
var detectionRange=document.createRange();detectionRange.setStart(anchorNode,anchorOffset);detectionRange.setEnd(focusNode,focusOffset);var isBackward=detectionRange.collapsed;return{start:isBackward?end:start,end:isBackward?start:end};}/**
* @param {DOMElement|DOMTextNode} node
* @param {object} offsets
*/function setIEOffsets(node,offsets){var range=document.selection.createRange().duplicate();var start,end;if(typeof offsets.end==='undefined'){start=offsets.start;end=start;}else if(offsets.start>offsets.end){start=offsets.end;end=offsets.start;}else{start=offsets.start;end=offsets.end;}range.moveToElementText(node);range.moveStart('character',start);range.setEndPoint('EndToStart',range);range.moveEnd('character',end-start);range.select();}/**
* In modern non-IE browsers, we can support both forward and backward
* selections.
*
* Note: IE10+ supports the Selection object, but it does not support
* the `extend` method, which means that even in modern IE, it's not possible
* to programatically create a backward selection. Thus, for all IE
* versions, we use the old IE API to create our selections.
*
* @param {DOMElement|DOMTextNode} node
* @param {object} offsets
*/function setModernOffsets(node,offsets){if(!window.getSelection){return;}var selection=window.getSelection();var length=node[getTextContentAccessor()].length;var start=Math.min(offsets.start,length);var end=typeof offsets.end==='undefined'?start:Math.min(offsets.end,length);// IE 11 uses modern selection, but doesn't support the extend method.
// Flip backward selections, so we can set with a single range.
if(!selection.extend&&start>end){var temp=end;end=start;start=temp;}var startMarker=getNodeForCharacterOffset(node,start);var endMarker=getNodeForCharacterOffset(node,end);if(startMarker&&endMarker){var range=document.createRange();range.setStart(startMarker.node,startMarker.offset);selection.removeAllRanges();if(start>end){selection.addRange(range);selection.extend(endMarker.node,endMarker.offset);}else{range.setEnd(endMarker.node,endMarker.offset);selection.addRange(range);}}}var useIEOffsets=ExecutionEnvironment.canUseDOM&&'selection'in document&&!('getSelection'in window);var ReactDOMSelection={/**
* @param {DOMElement} node
*/getOffsets:useIEOffsets?getIEOffsets:getModernOffsets,/**
* @param {DOMElement|DOMTextNode} node
* @param {object} offsets
*/setOffsets:useIEOffsets?setIEOffsets:setModernOffsets};module.exports=ReactDOMSelection;
/***/ },
/* 960 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMServer
*/'use strict';var ReactDefaultInjection=__webpack_require__(430);var ReactServerRendering=__webpack_require__(973);var ReactVersion=__webpack_require__(254);ReactDefaultInjection.inject();var ReactDOMServer={renderToString:ReactServerRendering.renderToString,renderToStaticMarkup:ReactServerRendering.renderToStaticMarkup,version:ReactVersion};module.exports=ReactDOMServer;
/***/ },
/* 961 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMTextarea
*/'use strict';var LinkedValueUtils=__webpack_require__(249);var ReactDOMIDOperations=__webpack_require__(252);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var invariant=__webpack_require__(6);var warning=__webpack_require__(8);function forceUpdateIfMounted(){if(this._rootNodeID){// DOM component is still mounted; update
ReactDOMTextarea.updateWrapper(this);}}/**
* Implements a <textarea> native component that allows setting `value`, and
* `defaultValue`. This differs from the traditional DOM API because value is
* usually set as PCDATA children.
*
* If `value` is not supplied (or null/undefined), user actions that affect the
* value will trigger updates to the element.
*
* If `value` is supplied (and not null/undefined), the rendered element will
* not trigger updates to the element. Instead, the `value` prop must change in
* order for the rendered element to be updated.
*
* The rendered element will be initialized with an empty value, the prop
* `defaultValue` if specified, or the children content (deprecated).
*/var ReactDOMTextarea={getNativeProps:function getNativeProps(inst,props,context){!(props.dangerouslySetInnerHTML==null)?process.env.NODE_ENV!=='production'?invariant(false,'`dangerouslySetInnerHTML` does not make sense on <textarea>.'):invariant(false):undefined;// Always set children to the same thing. In IE9, the selection range will
// get reset if `textContent` is mutated.
var nativeProps=assign({},props,{defaultValue:undefined,value:undefined,children:inst._wrapperState.initialValue,onChange:inst._wrapperState.onChange});return nativeProps;},mountWrapper:function mountWrapper(inst,props){if(process.env.NODE_ENV!=='production'){LinkedValueUtils.checkPropTypes('textarea',props,inst._currentElement._owner);}var defaultValue=props.defaultValue;// TODO (yungsters): Remove support for children content in <textarea>.
var children=props.children;if(children!=null){if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(false,'Use the `defaultValue` or `value` props instead of setting '+'children on <textarea>.'):undefined;}!(defaultValue==null)?process.env.NODE_ENV!=='production'?invariant(false,'If you supply `defaultValue` on a <textarea>, do not pass children.'):invariant(false):undefined;if(Array.isArray(children)){!(children.length<=1)?process.env.NODE_ENV!=='production'?invariant(false,'<textarea> can only have at most one child.'):invariant(false):undefined;children=children[0];}defaultValue=''+children;}if(defaultValue==null){defaultValue='';}var value=LinkedValueUtils.getValue(props);inst._wrapperState={// We save the initial value so that `ReactDOMComponent` doesn't update
// `textContent` (unnecessary since we update value).
// The initial value can be a boolean or object so that's why it's
// forced to be a string.
initialValue:''+(value!=null?value:defaultValue),onChange:_handleChange.bind(inst)};},updateWrapper:function updateWrapper(inst){var props=inst._currentElement.props;var value=LinkedValueUtils.getValue(props);if(value!=null){// Cast `value` to a string to ensure the value is set correctly. While
// browsers typically do this as necessary, jsdom doesn't.
ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID,'value',''+value);}}};function _handleChange(event){var props=this._currentElement.props;var returnValue=LinkedValueUtils.executeOnChange(props,event);ReactUpdates.asap(forceUpdateIfMounted,this);return returnValue;}module.exports=ReactDOMTextarea;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 962 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultPerf
* @typechecks static-only
*/'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var DOMProperty=__webpack_require__(77);var ReactDefaultPerfAnalysis=__webpack_require__(963);var ReactMount=__webpack_require__(25);var ReactPerf=__webpack_require__(37);var performanceNow=__webpack_require__(658);function roundFloat(val){return Math.floor(val*100)/100;}function addValue(obj,key,val){obj[key]=(obj[key]||0)+val;}var ReactDefaultPerf={_allMeasurements:[],// last item in the list is the current one
_mountStack:[0],_injected:false,start:function start(){if(!ReactDefaultPerf._injected){ReactPerf.injection.injectMeasure(ReactDefaultPerf.measure);}ReactDefaultPerf._allMeasurements.length=0;ReactPerf.enableMeasure=true;},stop:function stop(){ReactPerf.enableMeasure=false;},getLastMeasurements:function getLastMeasurements(){return ReactDefaultPerf._allMeasurements;},printExclusive:function printExclusive(measurements){measurements=measurements||ReactDefaultPerf._allMeasurements;var summary=ReactDefaultPerfAnalysis.getExclusiveSummary(measurements);console.table(summary.map(function(item){return{'Component class name':item.componentName,'Total inclusive time (ms)':roundFloat(item.inclusive),'Exclusive mount time (ms)':roundFloat(item.exclusive),'Exclusive render time (ms)':roundFloat(item.render),'Mount time per instance (ms)':roundFloat(item.exclusive/item.count),'Render time per instance (ms)':roundFloat(item.render/item.count),'Instances':item.count};}));// TODO: ReactDefaultPerfAnalysis.getTotalTime() does not return the correct
// number.
},printInclusive:function printInclusive(measurements){measurements=measurements||ReactDefaultPerf._allMeasurements;var summary=ReactDefaultPerfAnalysis.getInclusiveSummary(measurements);console.table(summary.map(function(item){return{'Owner > component':item.componentName,'Inclusive time (ms)':roundFloat(item.time),'Instances':item.count};}));console.log('Total time:',ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2)+' ms');},getMeasurementsSummaryMap:function getMeasurementsSummaryMap(measurements){var summary=ReactDefaultPerfAnalysis.getInclusiveSummary(measurements,true);return summary.map(function(item){return{'Owner > component':item.componentName,'Wasted time (ms)':item.time,'Instances':item.count};});},printWasted:function printWasted(measurements){measurements=measurements||ReactDefaultPerf._allMeasurements;console.table(ReactDefaultPerf.getMeasurementsSummaryMap(measurements));console.log('Total time:',ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2)+' ms');},printDOM:function printDOM(measurements){measurements=measurements||ReactDefaultPerf._allMeasurements;var summary=ReactDefaultPerfAnalysis.getDOMSummary(measurements);console.table(summary.map(function(item){var result={};result[DOMProperty.ID_ATTRIBUTE_NAME]=item.id;result.type=item.type;result.args=JSON.stringify(item.args);return result;}));console.log('Total time:',ReactDefaultPerfAnalysis.getTotalTime(measurements).toFixed(2)+' ms');},_recordWrite:function _recordWrite(id,fnName,totalTime,args){// TODO: totalTime isn't that useful since it doesn't count paints/reflows
var writes=ReactDefaultPerf._allMeasurements[ReactDefaultPerf._allMeasurements.length-1].writes;writes[id]=writes[id]||[];writes[id].push({type:fnName,time:totalTime,args:args});},measure:function measure(moduleName,fnName,func){return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}var totalTime;var rv;var start;if(fnName==='_renderNewRootComponent'||fnName==='flushBatchedUpdates'){// A "measurement" is a set of metrics recorded for each flush. We want
// to group the metrics for a given flush together so we can look at the
// components that rendered and the DOM operations that actually
// happened to determine the amount of "wasted work" performed.
ReactDefaultPerf._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0,created:{}});start=performanceNow();rv=func.apply(this,args);ReactDefaultPerf._allMeasurements[ReactDefaultPerf._allMeasurements.length-1].totalTime=performanceNow()-start;return rv;}else if(fnName==='_mountImageIntoNode'||moduleName==='ReactBrowserEventEmitter'||moduleName==='ReactDOMIDOperations'||moduleName==='CSSPropertyOperations'||moduleName==='DOMChildrenOperations'||moduleName==='DOMPropertyOperations'){start=performanceNow();rv=func.apply(this,args);totalTime=performanceNow()-start;if(fnName==='_mountImageIntoNode'){var mountID=ReactMount.getID(args[1]);ReactDefaultPerf._recordWrite(mountID,fnName,totalTime,args[0]);}else if(fnName==='dangerouslyProcessChildrenUpdates'){// special format
args[0].forEach(function(update){var writeArgs={};if(update.fromIndex!==null){writeArgs.fromIndex=update.fromIndex;}if(update.toIndex!==null){writeArgs.toIndex=update.toIndex;}if(update.textContent!==null){writeArgs.textContent=update.textContent;}if(update.markupIndex!==null){writeArgs.markup=args[1][update.markupIndex];}ReactDefaultPerf._recordWrite(update.parentID,update.type,totalTime,writeArgs);});}else{// basic format
var id=args[0];if((typeof id==='undefined'?'undefined':_typeof(id))==='object'){id=ReactMount.getID(args[0]);}ReactDefaultPerf._recordWrite(id,fnName,totalTime,Array.prototype.slice.call(args,1));}return rv;}else if(moduleName==='ReactCompositeComponent'&&(fnName==='mountComponent'||fnName==='updateComponent'||// TODO: receiveComponent()?
fnName==='_renderValidatedComponent')){if(this._currentElement.type===ReactMount.TopLevelWrapper){return func.apply(this,args);}var rootNodeID=fnName==='mountComponent'?args[0]:this._rootNodeID;var isRender=fnName==='_renderValidatedComponent';var isMount=fnName==='mountComponent';var mountStack=ReactDefaultPerf._mountStack;var entry=ReactDefaultPerf._allMeasurements[ReactDefaultPerf._allMeasurements.length-1];if(isRender){addValue(entry.counts,rootNodeID,1);}else if(isMount){entry.created[rootNodeID]=true;mountStack.push(0);}start=performanceNow();rv=func.apply(this,args);totalTime=performanceNow()-start;if(isRender){addValue(entry.render,rootNodeID,totalTime);}else if(isMount){var subMountTime=mountStack.pop();mountStack[mountStack.length-1]+=totalTime;addValue(entry.exclusive,rootNodeID,totalTime-subMountTime);addValue(entry.inclusive,rootNodeID,totalTime);}else{addValue(entry.inclusive,rootNodeID,totalTime);}entry.displayNames[rootNodeID]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():'<root>'};return rv;}else{return func.apply(this,args);}};}};module.exports=ReactDefaultPerf;
/***/ },
/* 963 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultPerfAnalysis
*/'use strict';var assign=__webpack_require__(7);// Don't try to save users less than 1.2ms (a number I made up)
var DONT_CARE_THRESHOLD=1.2;var DOM_OPERATION_TYPES={'_mountImageIntoNode':'set innerHTML',INSERT_MARKUP:'set innerHTML',MOVE_EXISTING:'move',REMOVE_NODE:'remove',SET_MARKUP:'set innerHTML',TEXT_CONTENT:'set textContent','setValueForProperty':'update attribute','setValueForAttribute':'update attribute','deleteValueForProperty':'remove attribute','setValueForStyles':'update styles','replaceNodeWithMarkup':'replace','updateTextContent':'set textContent'};function getTotalTime(measurements){// TODO: return number of DOM ops? could be misleading.
// TODO: measure dropped frames after reconcile?
// TODO: log total time of each reconcile and the top-level component
// class that triggered it.
var totalTime=0;for(var i=0;i<measurements.length;i++){var measurement=measurements[i];totalTime+=measurement.totalTime;}return totalTime;}function getDOMSummary(measurements){var items=[];measurements.forEach(function(measurement){Object.keys(measurement.writes).forEach(function(id){measurement.writes[id].forEach(function(write){items.push({id:id,type:DOM_OPERATION_TYPES[write.type]||write.type,args:write.args});});});});return items;}function getExclusiveSummary(measurements){var candidates={};var displayName;for(var i=0;i<measurements.length;i++){var measurement=measurements[i];var allIDs=assign({},measurement.exclusive,measurement.inclusive);for(var id in allIDs){displayName=measurement.displayNames[id].current;candidates[displayName]=candidates[displayName]||{componentName:displayName,inclusive:0,exclusive:0,render:0,count:0};if(measurement.render[id]){candidates[displayName].render+=measurement.render[id];}if(measurement.exclusive[id]){candidates[displayName].exclusive+=measurement.exclusive[id];}if(measurement.inclusive[id]){candidates[displayName].inclusive+=measurement.inclusive[id];}if(measurement.counts[id]){candidates[displayName].count+=measurement.counts[id];}}}// Now make a sorted array with the results.
var arr=[];for(displayName in candidates){if(candidates[displayName].exclusive>=DONT_CARE_THRESHOLD){arr.push(candidates[displayName]);}}arr.sort(function(a,b){return b.exclusive-a.exclusive;});return arr;}function getInclusiveSummary(measurements,onlyClean){var candidates={};var inclusiveKey;for(var i=0;i<measurements.length;i++){var measurement=measurements[i];var allIDs=assign({},measurement.exclusive,measurement.inclusive);var cleanComponents;if(onlyClean){cleanComponents=getUnchangedComponents(measurement);}for(var id in allIDs){if(onlyClean&&!cleanComponents[id]){continue;}var displayName=measurement.displayNames[id];// Inclusive time is not useful for many components without knowing where
// they are instantiated. So we aggregate inclusive time with both the
// owner and current displayName as the key.
inclusiveKey=displayName.owner+' > '+displayName.current;candidates[inclusiveKey]=candidates[inclusiveKey]||{componentName:inclusiveKey,time:0,count:0};if(measurement.inclusive[id]){candidates[inclusiveKey].time+=measurement.inclusive[id];}if(measurement.counts[id]){candidates[inclusiveKey].count+=measurement.counts[id];}}}// Now make a sorted array with the results.
var arr=[];for(inclusiveKey in candidates){if(candidates[inclusiveKey].time>=DONT_CARE_THRESHOLD){arr.push(candidates[inclusiveKey]);}}arr.sort(function(a,b){return b.time-a.time;});return arr;}function getUnchangedComponents(measurement){// For a given reconcile, look at which components did not actually
// render anything to the DOM and return a mapping of their ID to
// the amount of time it took to render the entire subtree.
var cleanComponents={};var dirtyLeafIDs=Object.keys(measurement.writes);var allIDs=assign({},measurement.exclusive,measurement.inclusive);for(var id in allIDs){var isDirty=false;// For each component that rendered, see if a component that triggered
// a DOM op is in its subtree.
for(var i=0;i<dirtyLeafIDs.length;i++){if(dirtyLeafIDs[i].indexOf(id)===0){isDirty=true;break;}}// check if component newly created
if(measurement.created[id]){isDirty=true;}if(!isDirty&&measurement.counts[id]>0){cleanComponents[id]=true;}}return cleanComponents;}var ReactDefaultPerfAnalysis={getExclusiveSummary:getExclusiveSummary,getInclusiveSummary:getInclusiveSummary,getDOMSummary:getDOMSummary,getTotalTime:getTotalTime};module.exports=ReactDefaultPerfAnalysis;
/***/ },
/* 964 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEventEmitterMixin
*/'use strict';var EventPluginHub=__webpack_require__(120);function runEventQueueInBatch(events){EventPluginHub.enqueueEvents(events);EventPluginHub.processEventQueue(false);}var ReactEventEmitterMixin={/**
* Streams a fired top-level event to `EventPluginHub` where plugins have the
* opportunity to create `ReactEvent`s to be dispatched.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {object} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native environment event.
*/handleTopLevel:function handleTopLevel(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var events=EventPluginHub.extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget);runEventQueueInBatch(events);}};module.exports=ReactEventEmitterMixin;
/***/ },
/* 965 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEventListener
* @typechecks static-only
*/'use strict';var EventListener=__webpack_require__(327);var ExecutionEnvironment=__webpack_require__(18);var PooledClass=__webpack_require__(65);var ReactInstanceHandles=__webpack_require__(96);var ReactMount=__webpack_require__(25);var ReactUpdates=__webpack_require__(39);var assign=__webpack_require__(7);var getEventTarget=__webpack_require__(258);var getUnboundedScrollPosition=__webpack_require__(650);var DOCUMENT_FRAGMENT_NODE_TYPE=11;/**
* Finds the parent React component of `node`.
*
* @param {*} node
* @return {?DOMEventTarget} Parent container, or `null` if the specified node
* is not nested.
*/function findParent(node){// TODO: It may be a good idea to cache this to prevent unnecessary DOM
// traversal, but caching is difficult to do correctly without using a
// mutation observer to listen for all DOM changes.
var nodeID=ReactMount.getID(node);var rootID=ReactInstanceHandles.getReactRootIDFromNodeID(nodeID);var container=ReactMount.findReactContainerForID(rootID);var parent=ReactMount.getFirstReactDOM(container);return parent;}// Used to store ancestor hierarchy in top level callback
function TopLevelCallbackBookKeeping(topLevelType,nativeEvent){this.topLevelType=topLevelType;this.nativeEvent=nativeEvent;this.ancestors=[];}assign(TopLevelCallbackBookKeeping.prototype,{destructor:function destructor(){this.topLevelType=null;this.nativeEvent=null;this.ancestors.length=0;}});PooledClass.addPoolingTo(TopLevelCallbackBookKeeping,PooledClass.twoArgumentPooler);function handleTopLevelImpl(bookKeeping){// TODO: Re-enable event.path handling
//
// if (bookKeeping.nativeEvent.path && bookKeeping.nativeEvent.path.length > 1) {
// // New browsers have a path attribute on native events
// handleTopLevelWithPath(bookKeeping);
// } else {
// // Legacy browsers don't have a path attribute on native events
// handleTopLevelWithoutPath(bookKeeping);
// }
void handleTopLevelWithPath;// temporarily unused
handleTopLevelWithoutPath(bookKeeping);}// Legacy browsers don't have a path attribute on native events
function handleTopLevelWithoutPath(bookKeeping){var topLevelTarget=ReactMount.getFirstReactDOM(getEventTarget(bookKeeping.nativeEvent))||window;// Loop through the hierarchy, in case there's any nested components.
// It's important that we build the array of ancestors before calling any
// event handlers, because event handlers can modify the DOM, leading to
// inconsistencies with ReactMount's node cache. See #1105.
var ancestor=topLevelTarget;while(ancestor){bookKeeping.ancestors.push(ancestor);ancestor=findParent(ancestor);}for(var i=0;i<bookKeeping.ancestors.length;i++){topLevelTarget=bookKeeping.ancestors[i];var topLevelTargetID=ReactMount.getID(topLevelTarget)||'';ReactEventListener._handleTopLevel(bookKeeping.topLevelType,topLevelTarget,topLevelTargetID,bookKeeping.nativeEvent,getEventTarget(bookKeeping.nativeEvent));}}// New browsers have a path attribute on native events
function handleTopLevelWithPath(bookKeeping){var path=bookKeeping.nativeEvent.path;var currentNativeTarget=path[0];var eventsFired=0;for(var i=0;i<path.length;i++){var currentPathElement=path[i];if(currentPathElement.nodeType===DOCUMENT_FRAGMENT_NODE_TYPE){currentNativeTarget=path[i+1];}// TODO: slow
var reactParent=ReactMount.getFirstReactDOM(currentPathElement);if(reactParent===currentPathElement){var currentPathElementID=ReactMount.getID(currentPathElement);var newRootID=ReactInstanceHandles.getReactRootIDFromNodeID(currentPathElementID);bookKeeping.ancestors.push(currentPathElement);var topLevelTargetID=ReactMount.getID(currentPathElement)||'';eventsFired++;ReactEventListener._handleTopLevel(bookKeeping.topLevelType,currentPathElement,topLevelTargetID,bookKeeping.nativeEvent,currentNativeTarget);// Jump to the root of this React render tree
while(currentPathElementID!==newRootID){i++;currentPathElement=path[i];currentPathElementID=ReactMount.getID(currentPathElement);}}}if(eventsFired===0){ReactEventListener._handleTopLevel(bookKeeping.topLevelType,window,'',bookKeeping.nativeEvent,getEventTarget(bookKeeping.nativeEvent));}}function scrollValueMonitor(cb){var scrollPosition=getUnboundedScrollPosition(window);cb(scrollPosition);}var ReactEventListener={_enabled:true,_handleTopLevel:null,WINDOW_HANDLE:ExecutionEnvironment.canUseDOM?window:null,setHandleTopLevel:function setHandleTopLevel(handleTopLevel){ReactEventListener._handleTopLevel=handleTopLevel;},setEnabled:function setEnabled(enabled){ReactEventListener._enabled=!!enabled;},isEnabled:function isEnabled(){return ReactEventListener._enabled;},/**
* Traps top-level events by using event bubbling.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {string} handlerBaseName Event name (e.g. "click").
* @param {object} handle Element on which to attach listener.
* @return {?object} An object with a remove function which will forcefully
* remove the listener.
* @internal
*/trapBubbledEvent:function trapBubbledEvent(topLevelType,handlerBaseName,handle){var element=handle;if(!element){return null;}return EventListener.listen(element,handlerBaseName,ReactEventListener.dispatchEvent.bind(null,topLevelType));},/**
* Traps a top-level event by using event capturing.
*
* @param {string} topLevelType Record from `EventConstants`.
* @param {string} handlerBaseName Event name (e.g. "click").
* @param {object} handle Element on which to attach listener.
* @return {?object} An object with a remove function which will forcefully
* remove the listener.
* @internal
*/trapCapturedEvent:function trapCapturedEvent(topLevelType,handlerBaseName,handle){var element=handle;if(!element){return null;}return EventListener.capture(element,handlerBaseName,ReactEventListener.dispatchEvent.bind(null,topLevelType));},monitorScrollValue:function monitorScrollValue(refresh){var callback=scrollValueMonitor.bind(null,refresh);EventListener.listen(window,'scroll',callback);},dispatchEvent:function dispatchEvent(topLevelType,nativeEvent){if(!ReactEventListener._enabled){return;}var bookKeeping=TopLevelCallbackBookKeeping.getPooled(topLevelType,nativeEvent);try{// Event queue being processed in the same cycle allows
// `preventDefault`.
ReactUpdates.batchedUpdates(handleTopLevelImpl,bookKeeping);}finally{TopLevelCallbackBookKeeping.release(bookKeeping);}}};module.exports=ReactEventListener;
/***/ },
/* 966 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInjection
*/'use strict';var DOMProperty=__webpack_require__(77);var EventPluginHub=__webpack_require__(120);var ReactComponentEnvironment=__webpack_require__(251);var ReactClass=__webpack_require__(423);var ReactEmptyComponent=__webpack_require__(432);var ReactBrowserEventEmitter=__webpack_require__(178);var ReactNativeComponent=__webpack_require__(438);var ReactPerf=__webpack_require__(37);var ReactRootIndex=__webpack_require__(441);var ReactUpdates=__webpack_require__(39);var ReactInjection={Component:ReactComponentEnvironment.injection,Class:ReactClass.injection,DOMProperty:DOMProperty.injection,EmptyComponent:ReactEmptyComponent.injection,EventPluginHub:EventPluginHub.injection,EventEmitter:ReactBrowserEventEmitter.injection,NativeComponent:ReactNativeComponent.injection,Perf:ReactPerf.injection,RootIndex:ReactRootIndex.injection,Updates:ReactUpdates.injection};module.exports=ReactInjection;
/***/ },
/* 967 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactIsomorphic
*/'use strict';var ReactChildren=__webpack_require__(422);var ReactComponent=__webpack_require__(424);var ReactClass=__webpack_require__(423);var ReactDOMFactories=__webpack_require__(956);var ReactElement=__webpack_require__(34);var ReactElementValidator=__webpack_require__(431);var ReactPropTypes=__webpack_require__(440);var ReactVersion=__webpack_require__(254);var assign=__webpack_require__(7);var onlyChild=__webpack_require__(993);var createElement=ReactElement.createElement;var createFactory=ReactElement.createFactory;var cloneElement=ReactElement.cloneElement;if(process.env.NODE_ENV!=='production'){createElement=ReactElementValidator.createElement;createFactory=ReactElementValidator.createFactory;cloneElement=ReactElementValidator.cloneElement;}var React={// Modern
Children:{map:ReactChildren.map,forEach:ReactChildren.forEach,count:ReactChildren.count,toArray:ReactChildren.toArray,only:onlyChild},Component:ReactComponent,createElement:createElement,cloneElement:cloneElement,isValidElement:ReactElement.isValidElement,// Classic
PropTypes:ReactPropTypes,createClass:ReactClass.createClass,createFactory:createFactory,createMixin:function createMixin(mixin){// Currently a noop. Will be used to validate and trace mixins.
return mixin;},// This looks DOM specific but these are actually isomorphic helpers
// since they are just generating DOM strings.
DOM:ReactDOMFactories,version:ReactVersion,// Hook for JSX spread, don't use this for anything else.
__spread:assign};module.exports=React;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 968 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMultiChild
* @typechecks static-only
*/'use strict';var ReactComponentEnvironment=__webpack_require__(251);var ReactMultiChildUpdateTypes=__webpack_require__(437);var ReactCurrentOwner=__webpack_require__(51);var ReactReconciler=__webpack_require__(78);var ReactChildReconciler=__webpack_require__(952);var flattenChildren=__webpack_require__(990);/**
* Updating children of a component may trigger recursive updates. The depth is
* used to batch recursive updates to render markup more efficiently.
*
* @type {number}
* @private
*/var updateDepth=0;/**
* Queue of update configuration objects.
*
* Each object has a `type` property that is in `ReactMultiChildUpdateTypes`.
*
* @type {array<object>}
* @private
*/var updateQueue=[];/**
* Queue of markup to be rendered.
*
* @type {array<string>}
* @private
*/var markupQueue=[];/**
* Enqueues markup to be rendered and inserted at a supplied index.
*
* @param {string} parentID ID of the parent component.
* @param {string} markup Markup that renders into an element.
* @param {number} toIndex Destination index.
* @private
*/function enqueueInsertMarkup(parentID,markup,toIndex){// NOTE: Null values reduce hidden classes.
updateQueue.push({parentID:parentID,parentNode:null,type:ReactMultiChildUpdateTypes.INSERT_MARKUP,markupIndex:markupQueue.push(markup)-1,content:null,fromIndex:null,toIndex:toIndex});}/**
* Enqueues moving an existing element to another index.
*
* @param {string} parentID ID of the parent component.
* @param {number} fromIndex Source index of the existing element.
* @param {number} toIndex Destination index of the element.
* @private
*/function enqueueMove(parentID,fromIndex,toIndex){// NOTE: Null values reduce hidden classes.
updateQueue.push({parentID:parentID,parentNode:null,type:ReactMultiChildUpdateTypes.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:fromIndex,toIndex:toIndex});}/**
* Enqueues removing an element at an index.
*
* @param {string} parentID ID of the parent component.
* @param {number} fromIndex Index of the element to remove.
* @private
*/function enqueueRemove(parentID,fromIndex){// NOTE: Null values reduce hidden classes.
updateQueue.push({parentID:parentID,parentNode:null,type:ReactMultiChildUpdateTypes.REMOVE_NODE,markupIndex:null,content:null,fromIndex:fromIndex,toIndex:null});}/**
* Enqueues setting the markup of a node.
*
* @param {string} parentID ID of the parent component.
* @param {string} markup Markup that renders into an element.
* @private
*/function enqueueSetMarkup(parentID,markup){// NOTE: Null values reduce hidden classes.
updateQueue.push({parentID:parentID,parentNode:null,type:ReactMultiChildUpdateTypes.SET_MARKUP,markupIndex:null,content:markup,fromIndex:null,toIndex:null});}/**
* Enqueues setting the text content.
*
* @param {string} parentID ID of the parent component.
* @param {string} textContent Text content to set.
* @private
*/function enqueueTextContent(parentID,textContent){// NOTE: Null values reduce hidden classes.
updateQueue.push({parentID:parentID,parentNode:null,type:ReactMultiChildUpdateTypes.TEXT_CONTENT,markupIndex:null,content:textContent,fromIndex:null,toIndex:null});}/**
* Processes any enqueued updates.
*
* @private
*/function processQueue(){if(updateQueue.length){ReactComponentEnvironment.processChildrenUpdates(updateQueue,markupQueue);clearQueue();}}/**
* Clears any enqueued updates.
*
* @private
*/function clearQueue(){updateQueue.length=0;markupQueue.length=0;}/**
* ReactMultiChild are capable of reconciling multiple children.
*
* @class ReactMultiChild
* @internal
*/var ReactMultiChild={/**
* Provides common functionality for components that must reconcile multiple
* children. This is used by `ReactDOMComponent` to mount, update, and
* unmount child components.
*
* @lends {ReactMultiChild.prototype}
*/Mixin:{_reconcilerInstantiateChildren:function _reconcilerInstantiateChildren(nestedChildren,transaction,context){if(process.env.NODE_ENV!=='production'){if(this._currentElement){try{ReactCurrentOwner.current=this._currentElement._owner;return ReactChildReconciler.instantiateChildren(nestedChildren,transaction,context);}finally{ReactCurrentOwner.current=null;}}}return ReactChildReconciler.instantiateChildren(nestedChildren,transaction,context);},_reconcilerUpdateChildren:function _reconcilerUpdateChildren(prevChildren,nextNestedChildrenElements,transaction,context){var nextChildren;if(process.env.NODE_ENV!=='production'){if(this._currentElement){try{ReactCurrentOwner.current=this._currentElement._owner;nextChildren=flattenChildren(nextNestedChildrenElements);}finally{ReactCurrentOwner.current=null;}return ReactChildReconciler.updateChildren(prevChildren,nextChildren,transaction,context);}}nextChildren=flattenChildren(nextNestedChildrenElements);return ReactChildReconciler.updateChildren(prevChildren,nextChildren,transaction,context);},/**
* Generates a "mount image" for each of the supplied children. In the case
* of `ReactDOMComponent`, a mount image is a string of markup.
*
* @param {?object} nestedChildren Nested child maps.
* @return {array} An array of mounted representations.
* @internal
*/mountChildren:function mountChildren(nestedChildren,transaction,context){var children=this._reconcilerInstantiateChildren(nestedChildren,transaction,context);this._renderedChildren=children;var mountImages=[];var index=0;for(var name in children){if(children.hasOwnProperty(name)){var child=children[name];// Inlined for performance, see `ReactInstanceHandles.createReactID`.
var rootID=this._rootNodeID+name;var mountImage=ReactReconciler.mountComponent(child,rootID,transaction,context);child._mountIndex=index++;mountImages.push(mountImage);}}return mountImages;},/**
* Replaces any rendered children with a text content string.
*
* @param {string} nextContent String of content.
* @internal
*/updateTextContent:function updateTextContent(nextContent){updateDepth++;var errorThrown=true;try{var prevChildren=this._renderedChildren;// Remove any rendered children.
ReactChildReconciler.unmountChildren(prevChildren);// TODO: The setTextContent operation should be enough
for(var name in prevChildren){if(prevChildren.hasOwnProperty(name)){this._unmountChild(prevChildren[name]);}}// Set new text content.
this.setTextContent(nextContent);errorThrown=false;}finally{updateDepth--;if(!updateDepth){if(errorThrown){clearQueue();}else{processQueue();}}}},/**
* Replaces any rendered children with a markup string.
*
* @param {string} nextMarkup String of markup.
* @internal
*/updateMarkup:function updateMarkup(nextMarkup){updateDepth++;var errorThrown=true;try{var prevChildren=this._renderedChildren;// Remove any rendered children.
ReactChildReconciler.unmountChildren(prevChildren);for(var name in prevChildren){if(prevChildren.hasOwnProperty(name)){this._unmountChildByName(prevChildren[name],name);}}this.setMarkup(nextMarkup);errorThrown=false;}finally{updateDepth--;if(!updateDepth){if(errorThrown){clearQueue();}else{processQueue();}}}},/**
* Updates the rendered children with new children.
*
* @param {?object} nextNestedChildrenElements Nested child element maps.
* @param {ReactReconcileTransaction} transaction
* @internal
*/updateChildren:function updateChildren(nextNestedChildrenElements,transaction,context){updateDepth++;var errorThrown=true;try{this._updateChildren(nextNestedChildrenElements,transaction,context);errorThrown=false;}finally{updateDepth--;if(!updateDepth){if(errorThrown){clearQueue();}else{processQueue();}}}},/**
* Improve performance by isolating this hot code path from the try/catch
* block in `updateChildren`.
*
* @param {?object} nextNestedChildrenElements Nested child element maps.
* @param {ReactReconcileTransaction} transaction
* @final
* @protected
*/_updateChildren:function _updateChildren(nextNestedChildrenElements,transaction,context){var prevChildren=this._renderedChildren;var nextChildren=this._reconcilerUpdateChildren(prevChildren,nextNestedChildrenElements,transaction,context);this._renderedChildren=nextChildren;if(!nextChildren&&!prevChildren){return;}var name;// `nextIndex` will increment for each child in `nextChildren`, but
// `lastIndex` will be the last index visited in `prevChildren`.
var lastIndex=0;var nextIndex=0;for(name in nextChildren){if(!nextChildren.hasOwnProperty(name)){continue;}var prevChild=prevChildren&&prevChildren[name];var nextChild=nextChildren[name];if(prevChild===nextChild){this.moveChild(prevChild,nextIndex,lastIndex);lastIndex=Math.max(prevChild._mountIndex,lastIndex);prevChild._mountIndex=nextIndex;}else{if(prevChild){// Update `lastIndex` before `_mountIndex` gets unset by unmounting.
lastIndex=Math.max(prevChild._mountIndex,lastIndex);this._unmountChild(prevChild);}// The child must be instantiated before it's mounted.
this._mountChildByNameAtIndex(nextChild,name,nextIndex,transaction,context);}nextIndex++;}// Remove children that are no longer present.
for(name in prevChildren){if(prevChildren.hasOwnProperty(name)&&!(nextChildren&&nextChildren.hasOwnProperty(name))){this._unmountChild(prevChildren[name]);}}},/**
* Unmounts all rendered children. This should be used to clean up children
* when this component is unmounted.
*
* @internal
*/unmountChildren:function unmountChildren(){var renderedChildren=this._renderedChildren;ReactChildReconciler.unmountChildren(renderedChildren);this._renderedChildren=null;},/**
* Moves a child component to the supplied index.
*
* @param {ReactComponent} child Component to move.
* @param {number} toIndex Destination index of the element.
* @param {number} lastIndex Last index visited of the siblings of `child`.
* @protected
*/moveChild:function moveChild(child,toIndex,lastIndex){// If the index of `child` is less than `lastIndex`, then it needs to
// be moved. Otherwise, we do not need to move it because a child will be
// inserted or moved before `child`.
if(child._mountIndex<lastIndex){enqueueMove(this._rootNodeID,child._mountIndex,toIndex);}},/**
* Creates a child component.
*
* @param {ReactComponent} child Component to create.
* @param {string} mountImage Markup to insert.
* @protected
*/createChild:function createChild(child,mountImage){enqueueInsertMarkup(this._rootNodeID,mountImage,child._mountIndex);},/**
* Removes a child component.
*
* @param {ReactComponent} child Child to remove.
* @protected
*/removeChild:function removeChild(child){enqueueRemove(this._rootNodeID,child._mountIndex);},/**
* Sets this text content string.
*
* @param {string} textContent Text content to set.
* @protected
*/setTextContent:function setTextContent(textContent){enqueueTextContent(this._rootNodeID,textContent);},/**
* Sets this markup string.
*
* @param {string} markup Markup to set.
* @protected
*/setMarkup:function setMarkup(markup){enqueueSetMarkup(this._rootNodeID,markup);},/**
* Mounts a child with the supplied name.
*
* NOTE: This is part of `updateChildren` and is here for readability.
*
* @param {ReactComponent} child Component to mount.
* @param {string} name Name of the child.
* @param {number} index Index at which to insert the child.
* @param {ReactReconcileTransaction} transaction
* @private
*/_mountChildByNameAtIndex:function _mountChildByNameAtIndex(child,name,index,transaction,context){// Inlined for performance, see `ReactInstanceHandles.createReactID`.
var rootID=this._rootNodeID+name;var mountImage=ReactReconciler.mountComponent(child,rootID,transaction,context);child._mountIndex=index;this.createChild(child,mountImage);},/**
* Unmounts a rendered child.
*
* NOTE: This is part of `updateChildren` and is here for readability.
*
* @param {ReactComponent} child Component to unmount.
* @private
*/_unmountChild:function _unmountChild(child){this.removeChild(child);child._mountIndex=null;}}};module.exports=ReactMultiChild;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 969 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactOwner
*/'use strict';var invariant=__webpack_require__(6);/**
* ReactOwners are capable of storing references to owned components.
*
* All components are capable of //being// referenced by owner components, but
* only ReactOwner components are capable of //referencing// owned components.
* The named reference is known as a "ref".
*
* Refs are available when mounted and updated during reconciliation.
*
* var MyComponent = React.createClass({
* render: function() {
* return (
* <div onClick={this.handleClick}>
* <CustomComponent ref="custom" />
* </div>
* );
* },
* handleClick: function() {
* this.refs.custom.handleClick();
* },
* componentDidMount: function() {
* this.refs.custom.initialize();
* }
* });
*
* Refs should rarely be used. When refs are used, they should only be done to
* control data that is not handled by React's data flow.
*
* @class ReactOwner
*/var ReactOwner={/**
* @param {?object} object
* @return {boolean} True if `object` is a valid owner.
* @final
*/isValidOwner:function isValidOwner(object){return!!(object&&typeof object.attachRef==='function'&&typeof object.detachRef==='function');},/**
* Adds a component by ref to an owner component.
*
* @param {ReactComponent} component Component to reference.
* @param {string} ref Name by which to refer to the component.
* @param {ReactOwner} owner Component on which to record the ref.
* @final
* @internal
*/addComponentAsRefTo:function addComponentAsRefTo(component,ref,owner){!ReactOwner.isValidOwner(owner)?process.env.NODE_ENV!=='production'?invariant(false,'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might '+'be adding a ref to a component that was not created inside a component\'s '+'`render` method, or you have multiple copies of React loaded '+'(details: https://fb.me/react-refs-must-have-owner).'):invariant(false):undefined;owner.attachRef(ref,component);},/**
* Removes a component by ref from an owner component.
*
* @param {ReactComponent} component Component to dereference.
* @param {string} ref Name of the ref to remove.
* @param {ReactOwner} owner Component on which the ref is recorded.
* @final
* @internal
*/removeComponentAsRefFrom:function removeComponentAsRefFrom(component,ref,owner){!ReactOwner.isValidOwner(owner)?process.env.NODE_ENV!=='production'?invariant(false,'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might '+'be removing a ref to a component that was not created inside a component\'s '+'`render` method, or you have multiple copies of React loaded '+'(details: https://fb.me/react-refs-must-have-owner).'):invariant(false):undefined;// Check that `component` is still the current ref because we do not want to
// detach the ref if another component stole it.
if(owner.getPublicInstance().refs[ref]===component.getPublicInstance()){owner.detachRef(ref);}}};module.exports=ReactOwner;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 970 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactReconcileTransaction
* @typechecks static-only
*/'use strict';var CallbackQueue=__webpack_require__(247);var PooledClass=__webpack_require__(65);var ReactBrowserEventEmitter=__webpack_require__(178);var ReactDOMFeatureFlags=__webpack_require__(426);var ReactInputSelection=__webpack_require__(435);var Transaction=__webpack_require__(182);var assign=__webpack_require__(7);/**
* Ensures that, when possible, the selection range (currently selected text
* input) is not disturbed by performing the transaction.
*/var SELECTION_RESTORATION={/**
* @return {Selection} Selection information.
*/initialize:ReactInputSelection.getSelectionInformation,/**
* @param {Selection} sel Selection information returned from `initialize`.
*/close:ReactInputSelection.restoreSelection};/**
* Suppresses events (blur/focus) that could be inadvertently dispatched due to
* high level DOM manipulations (like temporarily removing a text input from the
* DOM).
*/var EVENT_SUPPRESSION={/**
* @return {boolean} The enabled status of `ReactBrowserEventEmitter` before
* the reconciliation.
*/initialize:function initialize(){var currentlyEnabled=ReactBrowserEventEmitter.isEnabled();ReactBrowserEventEmitter.setEnabled(false);return currentlyEnabled;},/**
* @param {boolean} previouslyEnabled Enabled status of
* `ReactBrowserEventEmitter` before the reconciliation occurred. `close`
* restores the previous value.
*/close:function close(previouslyEnabled){ReactBrowserEventEmitter.setEnabled(previouslyEnabled);}};/**
* Provides a queue for collecting `componentDidMount` and
* `componentDidUpdate` callbacks during the the transaction.
*/var ON_DOM_READY_QUEUEING={/**
* Initializes the internal `onDOMReady` queue.
*/initialize:function initialize(){this.reactMountReady.reset();},/**
* After DOM is flushed, invoke all registered `onDOMReady` callbacks.
*/close:function close(){this.reactMountReady.notifyAll();}};/**
* Executed within the scope of the `Transaction` instance. Consider these as
* being member methods, but with an implied ordering while being isolated from
* each other.
*/var TRANSACTION_WRAPPERS=[SELECTION_RESTORATION,EVENT_SUPPRESSION,ON_DOM_READY_QUEUEING];/**
* Currently:
* - The order that these are listed in the transaction is critical:
* - Suppresses events.
* - Restores selection range.
*
* Future:
* - Restore document/overflow scroll positions that were unintentionally
* modified via DOM insertions above the top viewport boundary.
* - Implement/integrate with customized constraint based layout system and keep
* track of which dimensions must be remeasured.
*
* @class ReactReconcileTransaction
*/function ReactReconcileTransaction(forceHTML){this.reinitializeTransaction();// Only server-side rendering really needs this option (see
// `ReactServerRendering`), but server-side uses
// `ReactServerRenderingTransaction` instead. This option is here so that it's
// accessible and defaults to false when `ReactDOMComponent` and
// `ReactTextComponent` checks it in `mountComponent`.`
this.renderToStaticMarkup=false;this.reactMountReady=CallbackQueue.getPooled(null);this.useCreateElement=!forceHTML&&ReactDOMFeatureFlags.useCreateElement;}var Mixin={/**
* @see Transaction
* @abstract
* @final
* @return {array<object>} List of operation wrap procedures.
* TODO: convert to array<TransactionWrapper>
*/getTransactionWrappers:function getTransactionWrappers(){return TRANSACTION_WRAPPERS;},/**
* @return {object} The queue to collect `onDOMReady` callbacks with.
*/getReactMountReady:function getReactMountReady(){return this.reactMountReady;},/**
* `PooledClass` looks for this, and will invoke this before allowing this
* instance to be reused.
*/destructor:function destructor(){CallbackQueue.release(this.reactMountReady);this.reactMountReady=null;}};assign(ReactReconcileTransaction.prototype,Transaction.Mixin,Mixin);PooledClass.addPoolingTo(ReactReconcileTransaction);module.exports=ReactReconcileTransaction;
/***/ },
/* 971 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactRef
*/'use strict';var ReactOwner=__webpack_require__(969);var ReactRef={};function attachRef(ref,component,owner){if(typeof ref==='function'){ref(component.getPublicInstance());}else{// Legacy ref
ReactOwner.addComponentAsRefTo(component,ref,owner);}}function detachRef(ref,component,owner){if(typeof ref==='function'){ref(null);}else{// Legacy ref
ReactOwner.removeComponentAsRefFrom(component,ref,owner);}}ReactRef.attachRefs=function(instance,element){if(element===null||element===false){return;}var ref=element.ref;if(ref!=null){attachRef(ref,instance,element._owner);}};ReactRef.shouldUpdateRefs=function(prevElement,nextElement){// If either the owner or a `ref` has changed, make sure the newest owner
// has stored a reference to `this`, and the previous owner (if different)
// has forgotten the reference to `this`. We use the element instead
// of the public this.props because the post processing cannot determine
// a ref. The ref conceptually lives on the element.
// TODO: Should this even be possible? The owner cannot change because
// it's forbidden by shouldUpdateReactComponent. The ref can change
// if you swap the keys of but not the refs. Reconsider where this check
// is made. It probably belongs where the key checking and
// instantiateReactComponent is done.
var prevEmpty=prevElement===null||prevElement===false;var nextEmpty=nextElement===null||nextElement===false;return(// This has a few false positives w/r/t empty components.
prevEmpty||nextEmpty||nextElement._owner!==prevElement._owner||nextElement.ref!==prevElement.ref);};ReactRef.detachRefs=function(instance,element){if(element===null||element===false){return;}var ref=element.ref;if(ref!=null){detachRef(ref,instance,element._owner);}};module.exports=ReactRef;
/***/ },
/* 972 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactServerBatchingStrategy
* @typechecks
*/'use strict';var ReactServerBatchingStrategy={isBatchingUpdates:false,batchedUpdates:function batchedUpdates(callback){// Don't do anything here. During the server rendering we don't want to
// schedule any updates. We will simply ignore them.
}};module.exports=ReactServerBatchingStrategy;
/***/ },
/* 973 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks static-only
* @providesModule ReactServerRendering
*/'use strict';var ReactDefaultBatchingStrategy=__webpack_require__(429);var ReactElement=__webpack_require__(34);var ReactInstanceHandles=__webpack_require__(96);var ReactMarkupChecksum=__webpack_require__(436);var ReactServerBatchingStrategy=__webpack_require__(972);var ReactServerRenderingTransaction=__webpack_require__(974);var ReactUpdates=__webpack_require__(39);var emptyObject=__webpack_require__(105);var instantiateReactComponent=__webpack_require__(260);var invariant=__webpack_require__(6);/**
* @param {ReactElement} element
* @return {string} the HTML markup
*/function renderToString(element){!ReactElement.isValidElement(element)?process.env.NODE_ENV!=='production'?invariant(false,'renderToString(): You must pass a valid ReactElement.'):invariant(false):undefined;var transaction;try{ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy);var id=ReactInstanceHandles.createReactRootID();transaction=ReactServerRenderingTransaction.getPooled(false);return transaction.perform(function(){var componentInstance=instantiateReactComponent(element,null);var markup=componentInstance.mountComponent(id,transaction,emptyObject);return ReactMarkupChecksum.addChecksumToMarkup(markup);},null);}finally{ReactServerRenderingTransaction.release(transaction);// Revert to the DOM batching strategy since these two renderers
// currently share these stateful modules.
ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy);}}/**
* @param {ReactElement} element
* @return {string} the HTML markup, without the extra React ID and checksum
* (for generating static pages)
*/function renderToStaticMarkup(element){!ReactElement.isValidElement(element)?process.env.NODE_ENV!=='production'?invariant(false,'renderToStaticMarkup(): You must pass a valid ReactElement.'):invariant(false):undefined;var transaction;try{ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy);var id=ReactInstanceHandles.createReactRootID();transaction=ReactServerRenderingTransaction.getPooled(true);return transaction.perform(function(){var componentInstance=instantiateReactComponent(element,null);return componentInstance.mountComponent(id,transaction,emptyObject);},null);}finally{ReactServerRenderingTransaction.release(transaction);// Revert to the DOM batching strategy since these two renderers
// currently share these stateful modules.
ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy);}}module.exports={renderToString:renderToString,renderToStaticMarkup:renderToStaticMarkup};
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 974 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactServerRenderingTransaction
* @typechecks
*/'use strict';var PooledClass=__webpack_require__(65);var CallbackQueue=__webpack_require__(247);var Transaction=__webpack_require__(182);var assign=__webpack_require__(7);var emptyFunction=__webpack_require__(40);/**
* Provides a `CallbackQueue` queue for collecting `onDOMReady` callbacks
* during the performing of the transaction.
*/var ON_DOM_READY_QUEUEING={/**
* Initializes the internal `onDOMReady` queue.
*/initialize:function initialize(){this.reactMountReady.reset();},close:emptyFunction};/**
* Executed within the scope of the `Transaction` instance. Consider these as
* being member methods, but with an implied ordering while being isolated from
* each other.
*/var TRANSACTION_WRAPPERS=[ON_DOM_READY_QUEUEING];/**
* @class ReactServerRenderingTransaction
* @param {boolean} renderToStaticMarkup
*/function ReactServerRenderingTransaction(renderToStaticMarkup){this.reinitializeTransaction();this.renderToStaticMarkup=renderToStaticMarkup;this.reactMountReady=CallbackQueue.getPooled(null);this.useCreateElement=false;}var Mixin={/**
* @see Transaction
* @abstract
* @final
* @return {array} Empty list of operation wrap procedures.
*/getTransactionWrappers:function getTransactionWrappers(){return TRANSACTION_WRAPPERS;},/**
* @return {object} The queue to collect `onDOMReady` callbacks with.
*/getReactMountReady:function getReactMountReady(){return this.reactMountReady;},/**
* `PooledClass` looks for this, and will invoke this before allowing this
* instance to be reused.
*/destructor:function destructor(){CallbackQueue.release(this.reactMountReady);this.reactMountReady=null;}};assign(ReactServerRenderingTransaction.prototype,Transaction.Mixin,Mixin);PooledClass.addPoolingTo(ReactServerRenderingTransaction);module.exports=ReactServerRenderingTransaction;
/***/ },
/* 975 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SVGDOMPropertyConfig
*/'use strict';var DOMProperty=__webpack_require__(77);var MUST_USE_ATTRIBUTE=DOMProperty.injection.MUST_USE_ATTRIBUTE;var NS={xlink:'http://www.w3.org/1999/xlink',xml:'http://www.w3.org/XML/1998/namespace'};var SVGDOMPropertyConfig={Properties:{clipPath:MUST_USE_ATTRIBUTE,cx:MUST_USE_ATTRIBUTE,cy:MUST_USE_ATTRIBUTE,d:MUST_USE_ATTRIBUTE,dx:MUST_USE_ATTRIBUTE,dy:MUST_USE_ATTRIBUTE,fill:MUST_USE_ATTRIBUTE,fillOpacity:MUST_USE_ATTRIBUTE,fontFamily:MUST_USE_ATTRIBUTE,fontSize:MUST_USE_ATTRIBUTE,fx:MUST_USE_ATTRIBUTE,fy:MUST_USE_ATTRIBUTE,gradientTransform:MUST_USE_ATTRIBUTE,gradientUnits:MUST_USE_ATTRIBUTE,markerEnd:MUST_USE_ATTRIBUTE,markerMid:MUST_USE_ATTRIBUTE,markerStart:MUST_USE_ATTRIBUTE,offset:MUST_USE_ATTRIBUTE,opacity:MUST_USE_ATTRIBUTE,patternContentUnits:MUST_USE_ATTRIBUTE,patternUnits:MUST_USE_ATTRIBUTE,points:MUST_USE_ATTRIBUTE,preserveAspectRatio:MUST_USE_ATTRIBUTE,r:MUST_USE_ATTRIBUTE,rx:MUST_USE_ATTRIBUTE,ry:MUST_USE_ATTRIBUTE,spreadMethod:MUST_USE_ATTRIBUTE,stopColor:MUST_USE_ATTRIBUTE,stopOpacity:MUST_USE_ATTRIBUTE,stroke:MUST_USE_ATTRIBUTE,strokeDasharray:MUST_USE_ATTRIBUTE,strokeLinecap:MUST_USE_ATTRIBUTE,strokeOpacity:MUST_USE_ATTRIBUTE,strokeWidth:MUST_USE_ATTRIBUTE,textAnchor:MUST_USE_ATTRIBUTE,transform:MUST_USE_ATTRIBUTE,version:MUST_USE_ATTRIBUTE,viewBox:MUST_USE_ATTRIBUTE,x1:MUST_USE_ATTRIBUTE,x2:MUST_USE_ATTRIBUTE,x:MUST_USE_ATTRIBUTE,xlinkActuate:MUST_USE_ATTRIBUTE,xlinkArcrole:MUST_USE_ATTRIBUTE,xlinkHref:MUST_USE_ATTRIBUTE,xlinkRole:MUST_USE_ATTRIBUTE,xlinkShow:MUST_USE_ATTRIBUTE,xlinkTitle:MUST_USE_ATTRIBUTE,xlinkType:MUST_USE_ATTRIBUTE,xmlBase:MUST_USE_ATTRIBUTE,xmlLang:MUST_USE_ATTRIBUTE,xmlSpace:MUST_USE_ATTRIBUTE,y1:MUST_USE_ATTRIBUTE,y2:MUST_USE_ATTRIBUTE,y:MUST_USE_ATTRIBUTE},DOMAttributeNamespaces:{xlinkActuate:NS.xlink,xlinkArcrole:NS.xlink,xlinkHref:NS.xlink,xlinkRole:NS.xlink,xlinkShow:NS.xlink,xlinkTitle:NS.xlink,xlinkType:NS.xlink,xmlBase:NS.xml,xmlLang:NS.xml,xmlSpace:NS.xml},DOMAttributeNames:{clipPath:'clip-path',fillOpacity:'fill-opacity',fontFamily:'font-family',fontSize:'font-size',gradientTransform:'gradientTransform',gradientUnits:'gradientUnits',markerEnd:'marker-end',markerMid:'marker-mid',markerStart:'marker-start',patternContentUnits:'patternContentUnits',patternUnits:'patternUnits',preserveAspectRatio:'preserveAspectRatio',spreadMethod:'spreadMethod',stopColor:'stop-color',stopOpacity:'stop-opacity',strokeDasharray:'stroke-dasharray',strokeLinecap:'stroke-linecap',strokeOpacity:'stroke-opacity',strokeWidth:'stroke-width',textAnchor:'text-anchor',viewBox:'viewBox',xlinkActuate:'xlink:actuate',xlinkArcrole:'xlink:arcrole',xlinkHref:'xlink:href',xlinkRole:'xlink:role',xlinkShow:'xlink:show',xlinkTitle:'xlink:title',xlinkType:'xlink:type',xmlBase:'xml:base',xmlLang:'xml:lang',xmlSpace:'xml:space'}};module.exports=SVGDOMPropertyConfig;
/***/ },
/* 976 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SelectEventPlugin
*/'use strict';var EventConstants=__webpack_require__(50);var EventPropagators=__webpack_require__(121);var ExecutionEnvironment=__webpack_require__(18);var ReactInputSelection=__webpack_require__(435);var SyntheticEvent=__webpack_require__(79);var getActiveElement=__webpack_require__(330);var isTextInputElement=__webpack_require__(446);var keyOf=__webpack_require__(57);var shallowEqual=__webpack_require__(332);var topLevelTypes=EventConstants.topLevelTypes;var skipSelectionChangeEvent=ExecutionEnvironment.canUseDOM&&'documentMode'in document&&document.documentMode<=11;var eventTypes={select:{phasedRegistrationNames:{bubbled:keyOf({onSelect:null}),captured:keyOf({onSelectCapture:null})},dependencies:[topLevelTypes.topBlur,topLevelTypes.topContextMenu,topLevelTypes.topFocus,topLevelTypes.topKeyDown,topLevelTypes.topMouseDown,topLevelTypes.topMouseUp,topLevelTypes.topSelectionChange]}};var activeElement=null;var activeElementID=null;var lastSelection=null;var mouseDown=false;// Track whether a listener exists for this plugin. If none exist, we do
// not extract events.
var hasListener=false;var ON_SELECT_KEY=keyOf({onSelect:null});/**
* Get an object which is a unique representation of the current selection.
*
* The return value will not be consistent across nodes or browsers, but
* two identical selections on the same node will return identical objects.
*
* @param {DOMElement} node
* @return {object}
*/function getSelection(node){if('selectionStart'in node&&ReactInputSelection.hasSelectionCapabilities(node)){return{start:node.selectionStart,end:node.selectionEnd};}else if(window.getSelection){var selection=window.getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset};}else if(document.selection){var range=document.selection.createRange();return{parentElement:range.parentElement(),text:range.text,top:range.boundingTop,left:range.boundingLeft};}}/**
* Poll selection to see whether it's changed.
*
* @param {object} nativeEvent
* @return {?SyntheticEvent}
*/function constructSelectEvent(nativeEvent,nativeEventTarget){// Ensure we have the right element, and that the user is not dragging a
// selection (this matches native `select` event behavior). In HTML5, select
// fires only on input and textarea thus if there's no focused element we
// won't dispatch.
if(mouseDown||activeElement==null||activeElement!==getActiveElement()){return null;}// Only fire when selection has actually changed.
var currentSelection=getSelection(activeElement);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent.getPooled(eventTypes.select,activeElementID,nativeEvent,nativeEventTarget);syntheticEvent.type='select';syntheticEvent.target=activeElement;EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);return syntheticEvent;}return null;}/**
* This plugin creates an `onSelect` event that normalizes select events
* across form elements.
*
* Supported elements are:
* - input (see `isTextInputElement`)
* - textarea
* - contentEditable
*
* This differs from native browser implementations in the following ways:
* - Fires on contentEditable fields as well as inputs.
* - Fires for collapsed selection.
* - Fires after user input.
*/var SelectEventPlugin={eventTypes:eventTypes,/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @see {EventPluginHub.extractEvents}
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){if(!hasListener){return null;}switch(topLevelType){// Track the input node that has focus.
case topLevelTypes.topFocus:if(isTextInputElement(topLevelTarget)||topLevelTarget.contentEditable==='true'){activeElement=topLevelTarget;activeElementID=topLevelTargetID;lastSelection=null;}break;case topLevelTypes.topBlur:activeElement=null;activeElementID=null;lastSelection=null;break;// Don't fire the event while the user is dragging. This matches the
// semantics of the native select event.
case topLevelTypes.topMouseDown:mouseDown=true;break;case topLevelTypes.topContextMenu:case topLevelTypes.topMouseUp:mouseDown=false;return constructSelectEvent(nativeEvent,nativeEventTarget);// Chrome and IE fire non-standard event when selection is changed (and
// sometimes when it hasn't). IE's event fires out of order with respect
// to key and input events on deletion, so we discard it.
//
// Firefox doesn't support selectionchange, so check selection status
// after each key entry. The selection changes after keydown and before
// keyup, but we check on keydown as well in the case of holding down a
// key, when multiple keydown events are fired but only one keyup is.
// This is also our approach for IE handling, for the reason above.
case topLevelTypes.topSelectionChange:if(skipSelectionChangeEvent){break;}// falls through
case topLevelTypes.topKeyDown:case topLevelTypes.topKeyUp:return constructSelectEvent(nativeEvent,nativeEventTarget);}return null;},didPutListener:function didPutListener(id,registrationName,listener){if(registrationName===ON_SELECT_KEY){hasListener=true;}}};module.exports=SelectEventPlugin;
/***/ },
/* 977 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ServerReactRootIndex
* @typechecks
*/'use strict';/**
* Size of the reactRoot ID space. We generate random numbers for React root
* IDs and if there's a collision the events and DOM update system will
* get confused. In the future we need a way to generate GUIDs but for
* now this will work on a smaller scale.
*/var GLOBAL_MOUNT_POINT_MAX=Math.pow(2,53);var ServerReactRootIndex={createReactRootIndex:function createReactRootIndex(){return Math.ceil(Math.random()*GLOBAL_MOUNT_POINT_MAX);}};module.exports=ServerReactRootIndex;
/***/ },
/* 978 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SimpleEventPlugin
*/'use strict';var EventConstants=__webpack_require__(50);var EventListener=__webpack_require__(327);var EventPropagators=__webpack_require__(121);var ReactMount=__webpack_require__(25);var SyntheticClipboardEvent=__webpack_require__(979);var SyntheticEvent=__webpack_require__(79);var SyntheticFocusEvent=__webpack_require__(982);var SyntheticKeyboardEvent=__webpack_require__(984);var SyntheticMouseEvent=__webpack_require__(181);var SyntheticDragEvent=__webpack_require__(981);var SyntheticTouchEvent=__webpack_require__(985);var SyntheticUIEvent=__webpack_require__(123);var SyntheticWheelEvent=__webpack_require__(986);var emptyFunction=__webpack_require__(40);var getEventCharCode=__webpack_require__(256);var invariant=__webpack_require__(6);var keyOf=__webpack_require__(57);var topLevelTypes=EventConstants.topLevelTypes;var eventTypes={abort:{phasedRegistrationNames:{bubbled:keyOf({onAbort:true}),captured:keyOf({onAbortCapture:true})}},blur:{phasedRegistrationNames:{bubbled:keyOf({onBlur:true}),captured:keyOf({onBlurCapture:true})}},canPlay:{phasedRegistrationNames:{bubbled:keyOf({onCanPlay:true}),captured:keyOf({onCanPlayCapture:true})}},canPlayThrough:{phasedRegistrationNames:{bubbled:keyOf({onCanPlayThrough:true}),captured:keyOf({onCanPlayThroughCapture:true})}},click:{phasedRegistrationNames:{bubbled:keyOf({onClick:true}),captured:keyOf({onClickCapture:true})}},contextMenu:{phasedRegistrationNames:{bubbled:keyOf({onContextMenu:true}),captured:keyOf({onContextMenuCapture:true})}},copy:{phasedRegistrationNames:{bubbled:keyOf({onCopy:true}),captured:keyOf({onCopyCapture:true})}},cut:{phasedRegistrationNames:{bubbled:keyOf({onCut:true}),captured:keyOf({onCutCapture:true})}},doubleClick:{phasedRegistrationNames:{bubbled:keyOf({onDoubleClick:true}),captured:keyOf({onDoubleClickCapture:true})}},drag:{phasedRegistrationNames:{bubbled:keyOf({onDrag:true}),captured:keyOf({onDragCapture:true})}},dragEnd:{phasedRegistrationNames:{bubbled:keyOf({onDragEnd:true}),captured:keyOf({onDragEndCapture:true})}},dragEnter:{phasedRegistrationNames:{bubbled:keyOf({onDragEnter:true}),captured:keyOf({onDragEnterCapture:true})}},dragExit:{phasedRegistrationNames:{bubbled:keyOf({onDragExit:true}),captured:keyOf({onDragExitCapture:true})}},dragLeave:{phasedRegistrationNames:{bubbled:keyOf({onDragLeave:true}),captured:keyOf({onDragLeaveCapture:true})}},dragOver:{phasedRegistrationNames:{bubbled:keyOf({onDragOver:true}),captured:keyOf({onDragOverCapture:true})}},dragStart:{phasedRegistrationNames:{bubbled:keyOf({onDragStart:true}),captured:keyOf({onDragStartCapture:true})}},drop:{phasedRegistrationNames:{bubbled:keyOf({onDrop:true}),captured:keyOf({onDropCapture:true})}},durationChange:{phasedRegistrationNames:{bubbled:keyOf({onDurationChange:true}),captured:keyOf({onDurationChangeCapture:true})}},emptied:{phasedRegistrationNames:{bubbled:keyOf({onEmptied:true}),captured:keyOf({onEmptiedCapture:true})}},encrypted:{phasedRegistrationNames:{bubbled:keyOf({onEncrypted:true}),captured:keyOf({onEncryptedCapture:true})}},ended:{phasedRegistrationNames:{bubbled:keyOf({onEnded:true}),captured:keyOf({onEndedCapture:true})}},error:{phasedRegistrationNames:{bubbled:keyOf({onError:true}),captured:keyOf({onErrorCapture:true})}},focus:{phasedRegistrationNames:{bubbled:keyOf({onFocus:true}),captured:keyOf({onFocusCapture:true})}},input:{phasedRegistrationNames:{bubbled:keyOf({onInput:true}),captured:keyOf({onInputCapture:true})}},keyDown:{phasedRegistrationNames:{bubbled:keyOf({onKeyDown:true}),captured:keyOf({onKeyDownCapture:true})}},keyPress:{phasedRegistrationNames:{bubbled:keyOf({onKeyPress:true}),captured:keyOf({onKeyPressCapture:true})}},keyUp:{phasedRegistrationNames:{bubbled:keyOf({onKeyUp:true}),captured:keyOf({onKeyUpCapture:true})}},load:{phasedRegistrationNames:{bubbled:keyOf({onLoad:true}),captured:keyOf({onLoadCapture:true})}},loadedData:{phasedRegistrationNames:{bubbled:keyOf({onLoadedData:true}),captured:keyOf({onLoadedDataCapture:true})}},loadedMetadata:{phasedRegistrationNames:{bubbled:keyOf({onLoadedMetadata:true}),captured:keyOf({onLoadedMetadataCapture:true})}},loadStart:{phasedRegistrationNames:{bubbled:keyOf({onLoadStart:true}),captured:keyOf({onLoadStartCapture:true})}},// Note: We do not allow listening to mouseOver events. Instead, use the
// onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.
mouseDown:{phasedRegistrationNames:{bubbled:keyOf({onMouseDown:true}),captured:keyOf({onMouseDownCapture:true})}},mouseMove:{phasedRegistrationNames:{bubbled:keyOf({onMouseMove:true}),captured:keyOf({onMouseMoveCapture:true})}},mouseOut:{phasedRegistrationNames:{bubbled:keyOf({onMouseOut:true}),captured:keyOf({onMouseOutCapture:true})}},mouseOver:{phasedRegistrationNames:{bubbled:keyOf({onMouseOver:true}),captured:keyOf({onMouseOverCapture:true})}},mouseUp:{phasedRegistrationNames:{bubbled:keyOf({onMouseUp:true}),captured:keyOf({onMouseUpCapture:true})}},paste:{phasedRegistrationNames:{bubbled:keyOf({onPaste:true}),captured:keyOf({onPasteCapture:true})}},pause:{phasedRegistrationNames:{bubbled:keyOf({onPause:true}),captured:keyOf({onPauseCapture:true})}},play:{phasedRegistrationNames:{bubbled:keyOf({onPlay:true}),captured:keyOf({onPlayCapture:true})}},playing:{phasedRegistrationNames:{bubbled:keyOf({onPlaying:true}),captured:keyOf({onPlayingCapture:true})}},progress:{phasedRegistrationNames:{bubbled:keyOf({onProgress:true}),captured:keyOf({onProgressCapture:true})}},rateChange:{phasedRegistrationNames:{bubbled:keyOf({onRateChange:true}),captured:keyOf({onRateChangeCapture:true})}},reset:{phasedRegistrationNames:{bubbled:keyOf({onReset:true}),captured:keyOf({onResetCapture:true})}},scroll:{phasedRegistrationNames:{bubbled:keyOf({onScroll:true}),captured:keyOf({onScrollCapture:true})}},seeked:{phasedRegistrationNames:{bubbled:keyOf({onSeeked:true}),captured:keyOf({onSeekedCapture:true})}},seeking:{phasedRegistrationNames:{bubbled:keyOf({onSeeking:true}),captured:keyOf({onSeekingCapture:true})}},stalled:{phasedRegistrationNames:{bubbled:keyOf({onStalled:true}),captured:keyOf({onStalledCapture:true})}},submit:{phasedRegistrationNames:{bubbled:keyOf({onSubmit:true}),captured:keyOf({onSubmitCapture:true})}},suspend:{phasedRegistrationNames:{bubbled:keyOf({onSuspend:true}),captured:keyOf({onSuspendCapture:true})}},timeUpdate:{phasedRegistrationNames:{bubbled:keyOf({onTimeUpdate:true}),captured:keyOf({onTimeUpdateCapture:true})}},touchCancel:{phasedRegistrationNames:{bubbled:keyOf({onTouchCancel:true}),captured:keyOf({onTouchCancelCapture:true})}},touchEnd:{phasedRegistrationNames:{bubbled:keyOf({onTouchEnd:true}),captured:keyOf({onTouchEndCapture:true})}},touchMove:{phasedRegistrationNames:{bubbled:keyOf({onTouchMove:true}),captured:keyOf({onTouchMoveCapture:true})}},touchStart:{phasedRegistrationNames:{bubbled:keyOf({onTouchStart:true}),captured:keyOf({onTouchStartCapture:true})}},volumeChange:{phasedRegistrationNames:{bubbled:keyOf({onVolumeChange:true}),captured:keyOf({onVolumeChangeCapture:true})}},waiting:{phasedRegistrationNames:{bubbled:keyOf({onWaiting:true}),captured:keyOf({onWaitingCapture:true})}},wheel:{phasedRegistrationNames:{bubbled:keyOf({onWheel:true}),captured:keyOf({onWheelCapture:true})}}};var topLevelEventsToDispatchConfig={topAbort:eventTypes.abort,topBlur:eventTypes.blur,topCanPlay:eventTypes.canPlay,topCanPlayThrough:eventTypes.canPlayThrough,topClick:eventTypes.click,topContextMenu:eventTypes.contextMenu,topCopy:eventTypes.copy,topCut:eventTypes.cut,topDoubleClick:eventTypes.doubleClick,topDrag:eventTypes.drag,topDragEnd:eventTypes.dragEnd,topDragEnter:eventTypes.dragEnter,topDragExit:eventTypes.dragExit,topDragLeave:eventTypes.dragLeave,topDragOver:eventTypes.dragOver,topDragStart:eventTypes.dragStart,topDrop:eventTypes.drop,topDurationChange:eventTypes.durationChange,topEmptied:eventTypes.emptied,topEncrypted:eventTypes.encrypted,topEnded:eventTypes.ended,topError:eventTypes.error,topFocus:eventTypes.focus,topInput:eventTypes.input,topKeyDown:eventTypes.keyDown,topKeyPress:eventTypes.keyPress,topKeyUp:eventTypes.keyUp,topLoad:eventTypes.load,topLoadedData:eventTypes.loadedData,topLoadedMetadata:eventTypes.loadedMetadata,topLoadStart:eventTypes.loadStart,topMouseDown:eventTypes.mouseDown,topMouseMove:eventTypes.mouseMove,topMouseOut:eventTypes.mouseOut,topMouseOver:eventTypes.mouseOver,topMouseUp:eventTypes.mouseUp,topPaste:eventTypes.paste,topPause:eventTypes.pause,topPlay:eventTypes.play,topPlaying:eventTypes.playing,topProgress:eventTypes.progress,topRateChange:eventTypes.rateChange,topReset:eventTypes.reset,topScroll:eventTypes.scroll,topSeeked:eventTypes.seeked,topSeeking:eventTypes.seeking,topStalled:eventTypes.stalled,topSubmit:eventTypes.submit,topSuspend:eventTypes.suspend,topTimeUpdate:eventTypes.timeUpdate,topTouchCancel:eventTypes.touchCancel,topTouchEnd:eventTypes.touchEnd,topTouchMove:eventTypes.touchMove,topTouchStart:eventTypes.touchStart,topVolumeChange:eventTypes.volumeChange,topWaiting:eventTypes.waiting,topWheel:eventTypes.wheel};for(var type in topLevelEventsToDispatchConfig){topLevelEventsToDispatchConfig[type].dependencies=[type];}var ON_CLICK_KEY=keyOf({onClick:null});var onClickListeners={};var SimpleEventPlugin={eventTypes:eventTypes,/**
* @param {string} topLevelType Record from `EventConstants`.
* @param {DOMEventTarget} topLevelTarget The listening component root node.
* @param {string} topLevelTargetID ID of `topLevelTarget`.
* @param {object} nativeEvent Native browser event.
* @return {*} An accumulation of synthetic events.
* @see {EventPluginHub.extractEvents}
*/extractEvents:function extractEvents(topLevelType,topLevelTarget,topLevelTargetID,nativeEvent,nativeEventTarget){var dispatchConfig=topLevelEventsToDispatchConfig[topLevelType];if(!dispatchConfig){return null;}var EventConstructor;switch(topLevelType){case topLevelTypes.topAbort:case topLevelTypes.topCanPlay:case topLevelTypes.topCanPlayThrough:case topLevelTypes.topDurationChange:case topLevelTypes.topEmptied:case topLevelTypes.topEncrypted:case topLevelTypes.topEnded:case topLevelTypes.topError:case topLevelTypes.topInput:case topLevelTypes.topLoad:case topLevelTypes.topLoadedData:case topLevelTypes.topLoadedMetadata:case topLevelTypes.topLoadStart:case topLevelTypes.topPause:case topLevelTypes.topPlay:case topLevelTypes.topPlaying:case topLevelTypes.topProgress:case topLevelTypes.topRateChange:case topLevelTypes.topReset:case topLevelTypes.topSeeked:case topLevelTypes.topSeeking:case topLevelTypes.topStalled:case topLevelTypes.topSubmit:case topLevelTypes.topSuspend:case topLevelTypes.topTimeUpdate:case topLevelTypes.topVolumeChange:case topLevelTypes.topWaiting:// HTML Events
// @see http://www.w3.org/TR/html5/index.html#events-0
EventConstructor=SyntheticEvent;break;case topLevelTypes.topKeyPress:// FireFox creates a keypress event for function keys too. This removes
// the unwanted keypress events. Enter is however both printable and
// non-printable. One would expect Tab to be as well (but it isn't).
if(getEventCharCode(nativeEvent)===0){return null;}/* falls through */case topLevelTypes.topKeyDown:case topLevelTypes.topKeyUp:EventConstructor=SyntheticKeyboardEvent;break;case topLevelTypes.topBlur:case topLevelTypes.topFocus:EventConstructor=SyntheticFocusEvent;break;case topLevelTypes.topClick:// Firefox creates a click event on right mouse clicks. This removes the
// unwanted click events.
if(nativeEvent.button===2){return null;}/* falls through */case topLevelTypes.topContextMenu:case topLevelTypes.topDoubleClick:case topLevelTypes.topMouseDown:case topLevelTypes.topMouseMove:case topLevelTypes.topMouseOut:case topLevelTypes.topMouseOver:case topLevelTypes.topMouseUp:EventConstructor=SyntheticMouseEvent;break;case topLevelTypes.topDrag:case topLevelTypes.topDragEnd:case topLevelTypes.topDragEnter:case topLevelTypes.topDragExit:case topLevelTypes.topDragLeave:case topLevelTypes.topDragOver:case topLevelTypes.topDragStart:case topLevelTypes.topDrop:EventConstructor=SyntheticDragEvent;break;case topLevelTypes.topTouchCancel:case topLevelTypes.topTouchEnd:case topLevelTypes.topTouchMove:case topLevelTypes.topTouchStart:EventConstructor=SyntheticTouchEvent;break;case topLevelTypes.topScroll:EventConstructor=SyntheticUIEvent;break;case topLevelTypes.topWheel:EventConstructor=SyntheticWheelEvent;break;case topLevelTypes.topCopy:case topLevelTypes.topCut:case topLevelTypes.topPaste:EventConstructor=SyntheticClipboardEvent;break;}!EventConstructor?process.env.NODE_ENV!=='production'?invariant(false,'SimpleEventPlugin: Unhandled event type, `%s`.',topLevelType):invariant(false):undefined;var event=EventConstructor.getPooled(dispatchConfig,topLevelTargetID,nativeEvent,nativeEventTarget);EventPropagators.accumulateTwoPhaseDispatches(event);return event;},didPutListener:function didPutListener(id,registrationName,listener){// Mobile Safari does not fire properly bubble click events on
// non-interactive elements, which means delegated click listeners do not
// fire. The workaround for this bug involves attaching an empty click
// listener on the target node.
if(registrationName===ON_CLICK_KEY){var node=ReactMount.getNode(id);if(!onClickListeners[id]){onClickListeners[id]=EventListener.listen(node,'click',emptyFunction);}}},willDeleteListener:function willDeleteListener(id,registrationName){if(registrationName===ON_CLICK_KEY){onClickListeners[id].remove();delete onClickListeners[id];}}};module.exports=SimpleEventPlugin;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 979 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticClipboardEvent
* @typechecks static-only
*/'use strict';var SyntheticEvent=__webpack_require__(79);/**
* @interface Event
* @see http://www.w3.org/TR/clipboard-apis/
*/var ClipboardEventInterface={clipboardData:function clipboardData(event){return'clipboardData'in event?event.clipboardData:window.clipboardData;}};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticClipboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticEvent.augmentClass(SyntheticClipboardEvent,ClipboardEventInterface);module.exports=SyntheticClipboardEvent;
/***/ },
/* 980 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticCompositionEvent
* @typechecks static-only
*/'use strict';var SyntheticEvent=__webpack_require__(79);/**
* @interface Event
* @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
*/var CompositionEventInterface={data:null};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticCompositionEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticEvent.augmentClass(SyntheticCompositionEvent,CompositionEventInterface);module.exports=SyntheticCompositionEvent;
/***/ },
/* 981 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticDragEvent
* @typechecks static-only
*/'use strict';var SyntheticMouseEvent=__webpack_require__(181);/**
* @interface DragEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var DragEventInterface={dataTransfer:null};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticDragEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticMouseEvent.augmentClass(SyntheticDragEvent,DragEventInterface);module.exports=SyntheticDragEvent;
/***/ },
/* 982 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticFocusEvent
* @typechecks static-only
*/'use strict';var SyntheticUIEvent=__webpack_require__(123);/**
* @interface FocusEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var FocusEventInterface={relatedTarget:null};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticFocusEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticUIEvent.augmentClass(SyntheticFocusEvent,FocusEventInterface);module.exports=SyntheticFocusEvent;
/***/ },
/* 983 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticInputEvent
* @typechecks static-only
*/'use strict';var SyntheticEvent=__webpack_require__(79);/**
* @interface Event
* @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
* /#events-inputevents
*/var InputEventInterface={data:null};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticInputEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticEvent.augmentClass(SyntheticInputEvent,InputEventInterface);module.exports=SyntheticInputEvent;
/***/ },
/* 984 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticKeyboardEvent
* @typechecks static-only
*/'use strict';var SyntheticUIEvent=__webpack_require__(123);var getEventCharCode=__webpack_require__(256);var getEventKey=__webpack_require__(991);var getEventModifierState=__webpack_require__(257);/**
* @interface KeyboardEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var KeyboardEventInterface={key:getEventKey,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,// Legacy Interface
charCode:function charCode(event){// `charCode` is the result of a KeyPress event and represents the value of
// the actual printable character.
// KeyPress is deprecated, but its replacement is not yet final and not
// implemented in any major browser. Only KeyPress has charCode.
if(event.type==='keypress'){return getEventCharCode(event);}return 0;},keyCode:function keyCode(event){// `keyCode` is the result of a KeyDown/Up event and represents the value of
// physical keyboard key.
// The actual meaning of the value depends on the users' keyboard layout
// which cannot be detected. Assuming that it is a US keyboard layout
// provides a surprisingly accurate mapping for US and European users.
// Due to this, it is left to the user to implement at this time.
if(event.type==='keydown'||event.type==='keyup'){return event.keyCode;}return 0;},which:function which(event){// `which` is an alias for either `keyCode` or `charCode` depending on the
// type of the event.
if(event.type==='keypress'){return getEventCharCode(event);}if(event.type==='keydown'||event.type==='keyup'){return event.keyCode;}return 0;}};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticKeyboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent,KeyboardEventInterface);module.exports=SyntheticKeyboardEvent;
/***/ },
/* 985 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticTouchEvent
* @typechecks static-only
*/'use strict';var SyntheticUIEvent=__webpack_require__(123);var getEventModifierState=__webpack_require__(257);/**
* @interface TouchEvent
* @see http://www.w3.org/TR/touch-events/
*/var TouchEventInterface={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticUIEvent}
*/function SyntheticTouchEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticUIEvent.augmentClass(SyntheticTouchEvent,TouchEventInterface);module.exports=SyntheticTouchEvent;
/***/ },
/* 986 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticWheelEvent
* @typechecks static-only
*/'use strict';var SyntheticMouseEvent=__webpack_require__(181);/**
* @interface WheelEvent
* @see http://www.w3.org/TR/DOM-Level-3-Events/
*/var WheelEventInterface={deltaX:function deltaX(event){return'deltaX'in event?event.deltaX:// Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
'wheelDeltaX'in event?-event.wheelDeltaX:0;},deltaY:function deltaY(event){return'deltaY'in event?event.deltaY:// Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
'wheelDeltaY'in event?-event.wheelDeltaY:// Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
'wheelDelta'in event?-event.wheelDelta:0;},deltaZ:null,// Browsers without "deltaMode" is reporting in raw wheel delta where one
// notch on the scroll is always +/- 120, roughly equivalent to pixels.
// A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
// ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
deltaMode:null};/**
* @param {object} dispatchConfig Configuration used to dispatch this event.
* @param {string} dispatchMarker Marker identifying the event target.
* @param {object} nativeEvent Native browser event.
* @extends {SyntheticMouseEvent}
*/function SyntheticWheelEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget);}SyntheticMouseEvent.augmentClass(SyntheticWheelEvent,WheelEventInterface);module.exports=SyntheticWheelEvent;
/***/ },
/* 987 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule adler32
*/'use strict';var MOD=65521;// adler32 is not cryptographically strong, and is only used to sanity check that
// markup generated on the server matches the markup generated on the client.
// This implementation (a modified version of the SheetJS version) has been optimized
// for our use case, at the expense of conforming to the adler32 specification
// for non-ascii inputs.
function adler32(data){var a=1;var b=0;var i=0;var l=data.length;var m=l&~0x3;while(i<m){for(;i<Math.min(i+4096,m);i+=4){b+=(a+=data.charCodeAt(i))+(a+=data.charCodeAt(i+1))+(a+=data.charCodeAt(i+2))+(a+=data.charCodeAt(i+3));}a%=MOD;b%=MOD;}for(;i<l;i++){b+=a+=data.charCodeAt(i);}a%=MOD;b%=MOD;return a|b<<16;}module.exports=adler32;
/***/ },
/* 988 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule dangerousStyleValue
* @typechecks static-only
*/'use strict';var CSSProperty=__webpack_require__(419);var isUnitlessNumber=CSSProperty.isUnitlessNumber;/**
* Convert a value into the proper css writable value. The style name `name`
* should be logical (no hyphens), as specified
* in `CSSProperty.isUnitlessNumber`.
*
* @param {string} name CSS property name such as `topMargin`.
* @param {*} value CSS property value such as `10px`.
* @return {string} Normalized style value with dimensions applied.
*/function dangerousStyleValue(name,value){// Note that we've removed escapeTextForBrowser() calls here since the
// whole string will be escaped when the attribute is injected into
// the markup. If you provide unsafe user data here they can inject
// arbitrary CSS which may be problematic (I couldn't repro this):
// https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
// http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/
// This is not an XSS hole but instead a potential CSS injection issue
// which has lead to a greater discussion about how we're going to
// trust URLs moving forward. See #2115901
var isEmpty=value==null||typeof value==='boolean'||value==='';if(isEmpty){return'';}var isNonNumeric=isNaN(value);if(isNonNumeric||value===0||isUnitlessNumber.hasOwnProperty(name)&&isUnitlessNumber[name]){return''+value;// cast to string
}if(typeof value==='string'){value=value.trim();}return value+'px';}module.exports=dangerousStyleValue;
/***/ },
/* 989 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule deprecated
*/'use strict';var assign=__webpack_require__(7);var warning=__webpack_require__(8);/**
* This will log a single deprecation notice per function and forward the call
* on to the new API.
*
* @param {string} fnName The name of the function
* @param {string} newModule The module that fn will exist in
* @param {string} newPackage The module that fn will exist in
* @param {*} ctx The context this forwarded call should run in
* @param {function} fn The function to forward on to
* @return {function} The function that will warn once and then call fn
*/function deprecated(fnName,newModule,newPackage,ctx,fn){var warned=false;if(process.env.NODE_ENV!=='production'){var newFn=function newFn(){process.env.NODE_ENV!=='production'?warning(warned,// Require examples in this string must be split to prevent React's
// build tools from mistaking them for real requires.
// Otherwise the build tools will attempt to build a '%s' module.
'React.%s is deprecated. Please use %s.%s from require'+'(\'%s\') '+'instead.',fnName,newModule,fnName,newPackage):undefined;warned=true;return fn.apply(ctx,arguments);};// We need to make sure all properties of the original fn are copied over.
// In particular, this is needed to support PropTypes
return assign(newFn,fn);}return fn;}module.exports=deprecated;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 990 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule flattenChildren
*/'use strict';var traverseAllChildren=__webpack_require__(264);var warning=__webpack_require__(8);/**
* @param {function} traverseContext Context passed through traversal.
* @param {?ReactComponent} child React child component.
* @param {!string} name String name of key path to child.
*/function flattenSingleChildIntoContext(traverseContext,child,name){// We found a component instance.
var result=traverseContext;var keyUnique=result[name]===undefined;if(process.env.NODE_ENV!=='production'){process.env.NODE_ENV!=='production'?warning(keyUnique,'flattenChildren(...): Encountered two children with the same key, '+'`%s`. Child keys must be unique; when two children share a key, only '+'the first child will be used.',name):undefined;}if(keyUnique&&child!=null){result[name]=child;}}/**
* Flattens children that are typically specified as `props.children`. Any null
* children will not be included in the resulting object.
* @return {!object} flattened children keyed by name.
*/function flattenChildren(children){if(children==null){return children;}var result={};traverseAllChildren(children,flattenSingleChildIntoContext,result);return result;}module.exports=flattenChildren;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 991 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventKey
* @typechecks static-only
*/'use strict';var getEventCharCode=__webpack_require__(256);/**
* Normalization of deprecated HTML5 `key` values
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
*/var normalizeKey={'Esc':'Escape','Spacebar':' ','Left':'ArrowLeft','Up':'ArrowUp','Right':'ArrowRight','Down':'ArrowDown','Del':'Delete','Win':'OS','Menu':'ContextMenu','Apps':'ContextMenu','Scroll':'ScrollLock','MozPrintableKey':'Unidentified'};/**
* Translation from legacy `keyCode` to HTML5 `key`
* Only special keys supported, all others depend on keyboard layout or browser
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
*/var translateToKey={8:'Backspace',9:'Tab',12:'Clear',13:'Enter',16:'Shift',17:'Control',18:'Alt',19:'Pause',20:'CapsLock',27:'Escape',32:' ',33:'PageUp',34:'PageDown',35:'End',36:'Home',37:'ArrowLeft',38:'ArrowUp',39:'ArrowRight',40:'ArrowDown',45:'Insert',46:'Delete',112:'F1',113:'F2',114:'F3',115:'F4',116:'F5',117:'F6',118:'F7',119:'F8',120:'F9',121:'F10',122:'F11',123:'F12',144:'NumLock',145:'ScrollLock',224:'Meta'};/**
* @param {object} nativeEvent Native browser event.
* @return {string} Normalized `key` property.
*/function getEventKey(nativeEvent){if(nativeEvent.key){// Normalize inconsistent values reported by browsers due to
// implementations of a working draft specification.
// FireFox implements `key` but returns `MozPrintableKey` for all
// printable characters (normalized to `Unidentified`), ignore it.
var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if(key!=='Unidentified'){return key;}}// Browser does not implement `key`, polyfill as much of it as we can.
if(nativeEvent.type==='keypress'){var charCode=getEventCharCode(nativeEvent);// The enter-key is technically both printable and non-printable and can
// thus be captured by `keypress`, no other non-printable key should.
return charCode===13?'Enter':String.fromCharCode(charCode);}if(nativeEvent.type==='keydown'||nativeEvent.type==='keyup'){// While user keyboard layout determines the actual meaning of each
// `keyCode` value, almost all function keys have a universal value.
return translateToKey[nativeEvent.keyCode]||'Unidentified';}return'';}module.exports=getEventKey;
/***/ },
/* 992 */
/***/ function(module, exports) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getNodeForCharacterOffset
*/'use strict';/**
* Given any node return the first leaf node without children.
*
* @param {DOMElement|DOMTextNode} node
* @return {DOMElement|DOMTextNode}
*/function getLeafNode(node){while(node&&node.firstChild){node=node.firstChild;}return node;}/**
* Get the next sibling within a container. This will walk up the
* DOM if a node's siblings have been exhausted.
*
* @param {DOMElement|DOMTextNode} node
* @return {?DOMElement|DOMTextNode}
*/function getSiblingNode(node){while(node){if(node.nextSibling){return node.nextSibling;}node=node.parentNode;}}/**
* Get object describing the nodes which contain characters at offset.
*
* @param {DOMElement|DOMTextNode} root
* @param {number} offset
* @return {?object}
*/function getNodeForCharacterOffset(root,offset){var node=getLeafNode(root);var nodeStart=0;var nodeEnd=0;while(node){if(node.nodeType===3){nodeEnd=nodeStart+node.textContent.length;if(nodeStart<=offset&&nodeEnd>=offset){return{node:node,offset:offset-nodeStart};}nodeStart=nodeEnd;}node=getLeafNode(getSiblingNode(node));}}module.exports=getNodeForCharacterOffset;
/***/ },
/* 993 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule onlyChild
*/'use strict';var ReactElement=__webpack_require__(34);var invariant=__webpack_require__(6);/**
* Returns the first child in a collection of children and verifies that there
* is only one child in the collection. The current implementation of this
* function assumes that a single child gets passed without a wrapper, but the
* purpose of this helper function is to abstract away the particular structure
* of children.
*
* @param {?object} children Child collection structure.
* @return {ReactComponent} The first and only `ReactComponent` contained in the
* structure.
*/function onlyChild(children){!ReactElement.isValidElement(children)?process.env.NODE_ENV!=='production'?invariant(false,'onlyChild must be passed a children with exactly one child.'):invariant(false):undefined;return children;}module.exports=onlyChild;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 994 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule quoteAttributeValueForBrowser
*/'use strict';var escapeTextContentForBrowser=__webpack_require__(184);/**
* Escapes attribute value to prevent scripting attacks.
*
* @param {*} value Value to escape.
* @return {string} An escaped string.
*/function quoteAttributeValueForBrowser(value){return'"'+escapeTextContentForBrowser(value)+'"';}module.exports=quoteAttributeValueForBrowser;
/***/ },
/* 995 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule renderSubtreeIntoContainer
*/'use strict';var ReactMount=__webpack_require__(25);module.exports=ReactMount.renderSubtreeIntoContainer;
/***/ },
/* 996 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=applyMiddleware;var _compose=__webpack_require__(447);var _compose2=_interopRequireDefault(_compose);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _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;};/**
* Creates a store enhancer that applies middleware to the dispatch method
* of the Redux store. This is handy for a variety of tasks, such as expressing
* asynchronous actions in a concise manner, or logging every action payload.
*
* See `redux-thunk` package as an example of the Redux middleware.
*
* Because middleware is potentially asynchronous, this should be the first
* store enhancer in the composition chain.
*
* Note that each middleware will be given the `dispatch` and `getState` functions
* as named arguments.
*
* @param {...Function} middlewares The middleware chain to be applied.
* @returns {Function} A store enhancer applying the middleware.
*/function applyMiddleware(){for(var _len=arguments.length,middlewares=Array(_len),_key=0;_key<_len;_key++){middlewares[_key]=arguments[_key];}return function(createStore){return function(reducer,preloadedState,enhancer){var store=createStore(reducer,preloadedState,enhancer);var _dispatch=store.dispatch;var chain=[];var middlewareAPI={getState:store.getState,dispatch:function dispatch(action){return _dispatch(action);}};chain=middlewares.map(function(middleware){return middleware(middlewareAPI);});_dispatch=_compose2.default.apply(undefined,chain)(store.dispatch);return _extends({},store,{dispatch:_dispatch});};};}
/***/ },
/* 997 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.default=bindActionCreators;function bindActionCreator(actionCreator,dispatch){return function(){return dispatch(actionCreator.apply(undefined,arguments));};}/**
* Turns an object whose values are action creators, into an object with the
* same keys, but with every function wrapped into a `dispatch` call so they
* may be invoked directly. This is just a convenience method, as you can call
* `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
*
* For convenience, you can also pass a single function as the first argument,
* and get a function in return.
*
* @param {Function|Object} actionCreators An object whose values are action
* creator functions. One handy way to obtain it is to use ES6 `import * as`
* syntax. You may also pass a single function.
*
* @param {Function} dispatch The `dispatch` function available on your Redux
* store.
*
* @returns {Function|Object} The object mimicking the original object, but with
* every action creator wrapped into the `dispatch` call. If you passed a
* function as `actionCreators`, the return value will also be a single
* function.
*/function bindActionCreators(actionCreators,dispatch){if(typeof actionCreators==='function'){return bindActionCreator(actionCreators,dispatch);}if((typeof actionCreators==='undefined'?'undefined':_typeof(actionCreators))!=='object'||actionCreators===null){throw new Error('bindActionCreators expected an object or a function, instead received '+(actionCreators===null?'null':typeof actionCreators==='undefined'?'undefined':_typeof(actionCreators))+'. '+'Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');}var keys=Object.keys(actionCreators);var boundActionCreators={};for(var i=0;i<keys.length;i++){var key=keys[i];var actionCreator=actionCreators[key];if(typeof actionCreator==='function'){boundActionCreators[key]=bindActionCreator(actionCreator,dispatch);}}return boundActionCreators;}
/***/ },
/* 998 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=combineReducers;var _createStore=__webpack_require__(448);var _isPlainObject=__webpack_require__(338);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _warning=__webpack_require__(449);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function getUndefinedStateErrorMessage(key,action){var actionType=action&&action.type;var actionName=actionType&&'"'+actionType.toString()+'"'||'an action';return'Given action '+actionName+', reducer "'+key+'" returned undefined. '+'To ignore an action, you must explicitly return the previous state.';}function getUnexpectedStateShapeWarningMessage(inputState,reducers,action,unexpectedKeyCache){var reducerKeys=Object.keys(reducers);var argumentName=action&&action.type===_createStore.ActionTypes.INIT?'preloadedState argument passed to createStore':'previous state received by the reducer';if(reducerKeys.length===0){return'Store does not have a valid reducer. Make sure the argument passed '+'to combineReducers is an object whose values are reducers.';}if(!(0,_isPlainObject2.default)(inputState)){return'The '+argumentName+' has unexpected type of "'+{}.toString.call(inputState).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('keys: "'+reducerKeys.join('", "')+'"');}var unexpectedKeys=Object.keys(inputState).filter(function(key){return!reducers.hasOwnProperty(key)&&!unexpectedKeyCache[key];});unexpectedKeys.forEach(function(key){unexpectedKeyCache[key]=true;});if(unexpectedKeys.length>0){return'Unexpected '+(unexpectedKeys.length>1?'keys':'key')+' '+('"'+unexpectedKeys.join('", "')+'" found in '+argumentName+'. ')+'Expected to find one of the known reducer keys instead: '+('"'+reducerKeys.join('", "')+'". Unexpected keys will be ignored.');}}function assertReducerSanity(reducers){Object.keys(reducers).forEach(function(key){var reducer=reducers[key];var initialState=reducer(undefined,{type:_createStore.ActionTypes.INIT});if(typeof initialState==='undefined'){throw new Error('Reducer "'+key+'" returned undefined during initialization. '+'If the state passed to the reducer is undefined, you must '+'explicitly return the initial state. The initial state may '+'not be undefined.');}var type='@@redux/PROBE_UNKNOWN_ACTION_'+Math.random().toString(36).substring(7).split('').join('.');if(typeof reducer(undefined,{type:type})==='undefined'){throw new Error('Reducer "'+key+'" returned undefined when probed with a random type. '+('Don\'t try to handle '+_createStore.ActionTypes.INIT+' or other actions in "redux/*" ')+'namespace. They are considered private. Instead, you must return the '+'current state for any unknown actions, unless it is undefined, '+'in which case you must return the initial state, regardless of the '+'action type. The initial state may not be undefined.');}});}/**
* Turns an object whose values are different reducer functions, into a single
* reducer function. It will call every child reducer, and gather their results
* into a single state object, whose keys correspond to the keys of the passed
* reducer functions.
*
* @param {Object} reducers An object whose values correspond to different
* reducer functions that need to be combined into one. One handy way to obtain
* it is to use ES6 `import * as reducers` syntax. The reducers may never return
* undefined for any action. Instead, they should return their initial state
* if the state passed to them was undefined, and the current state for any
* unrecognized action.
*
* @returns {Function} A reducer function that invokes every reducer inside the
* passed object, and builds a state object with the same shape.
*/function combineReducers(reducers){var reducerKeys=Object.keys(reducers);var finalReducers={};for(var i=0;i<reducerKeys.length;i++){var key=reducerKeys[i];if(process.env.NODE_ENV!=='production'){if(typeof reducers[key]==='undefined'){(0,_warning2.default)('No reducer provided for key "'+key+'"');}}if(typeof reducers[key]==='function'){finalReducers[key]=reducers[key];}}var finalReducerKeys=Object.keys(finalReducers);if(process.env.NODE_ENV!=='production'){var unexpectedKeyCache={};}var sanityError;try{assertReducerSanity(finalReducers);}catch(e){sanityError=e;}return function combination(){var state=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var action=arguments[1];if(sanityError){throw sanityError;}if(process.env.NODE_ENV!=='production'){var warningMessage=getUnexpectedStateShapeWarningMessage(state,finalReducers,action,unexpectedKeyCache);if(warningMessage){(0,_warning2.default)(warningMessage);}}var hasChanged=false;var nextState={};for(var i=0;i<finalReducerKeys.length;i++){var key=finalReducerKeys[i];var reducer=finalReducers[key];var previousStateForKey=state[key];var nextStateForKey=reducer(previousStateForKey,action);if(typeof nextStateForKey==='undefined'){var errorMessage=getUndefinedStateErrorMessage(key,action);throw new Error(errorMessage);}nextState[key]=nextStateForKey;hasChanged=hasChanged||nextStateForKey!==previousStateForKey;}return hasChanged?nextState:state;};}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 999 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse
* @fileoverview Markdown parser.
*/'use strict';/* Dependencies. */var unherit=__webpack_require__(1162);var Parser=__webpack_require__(1009);/* Expose */module.exports=exports=parse;exports.Parser=Parser;/**
* Attacher.
*
* @param {unified} processor - Unified processor.
*/function parse(processor){processor.Parser=unherit(Parser);}
/***/ },
/* 1000 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:decode
* @fileoverview Decode entities.
*/'use strict';/* Dependencies. */var entities=__webpack_require__(236);/* Expose. */module.exports=factory;/**
* Factory to create an entity decoder.
*
* @param {Object} ctx - Context to attach to.
* @return {Function} - See `decode`.
*/function factory(ctx){decoder.raw=decodeRaw;return decoder;/**
* Normalize `position` to add an `indent`.
*
* @param {Position} position - Reference
* @return {Position} - Augmented with `indent`.
*/function normalize(position){var offsets=ctx.offset;var line=position.line;var result=[];while(++line){if(!(line in offsets)){break;}result.push((offsets[line]||0)+1);}return{start:position,indent:result};}/**
* Handle a warning.
*
* @this {VFile} - Virtual file.
* @param {string} reason - Reason for warning.
* @param {Position} position - Place of warning.
* @param {number} code - Code for warning.
*/function handleWarning(reason,position,code){if(code===3){return;}ctx.file.message(reason,position);}/**
* Decode `value` (at `position`) into text-nodes.
*
* @param {string} value - Value to parse.
* @param {Position} position - Position to start parsing at.
* @param {Function} handler - Node handler.
*/function decoder(value,position,handler){entities(value,{position:normalize(position),warning:handleWarning,text:handler,reference:handler,textContext:ctx,referenceContext:ctx});}/**
* Decode `value` (at `position`) into a string.
*
* @param {string} value - Value to parse.
* @param {Position} position - Position to start
* parsing at.
* @return {string} - Plain-text.
*/function decodeRaw(value,position){return entities(value,{position:normalize(position),warning:handleWarning});}}
/***/ },
/* 1001 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:break
* @fileoverview Locate a break.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){var index=value.indexOf('\n',fromIndex);while(index>fromIndex){if(value.charAt(index-1)!==' '){break;}index--;}return index;}
/***/ },
/* 1002 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:code-inline
* @fileoverview Locate inline code.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){return value.indexOf('`',fromIndex);}
/***/ },
/* 1003 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:delete
* @fileoverview Locate strikethrough.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){return value.indexOf('~~',fromIndex);}
/***/ },
/* 1004 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:emphasis
* @fileoverview Locate italics / emphasis.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){var asterisk=value.indexOf('*',fromIndex);var underscore=value.indexOf('_',fromIndex);if(underscore===-1){return asterisk;}if(asterisk===-1){return underscore;}return underscore<asterisk?underscore:asterisk;}
/***/ },
/* 1005 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:escape
* @fileoverview Locate an escape.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){return value.indexOf('\\',fromIndex);}
/***/ },
/* 1006 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:strong
* @fileoverview Locate bold / strong / importance.
*/'use strict';/* Expose. */module.exports=locate;/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){var asterisk=value.indexOf('**',fromIndex);var underscore=value.indexOf('__',fromIndex);if(underscore===-1){return asterisk;}if(asterisk===-1){return underscore;}return underscore<asterisk?underscore:asterisk;}
/***/ },
/* 1007 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:locate:url
* @fileoverview Locate a URL.
*/'use strict';/* Expose. */module.exports=locate;var PROTOCOLS=['https://','http://','mailto:'];/**
* Find a possible token.
*
* @param {string} value - Value to search.
* @param {number} fromIndex - Index to start searching at.
* @return {number} - Location.
*/function locate(value,fromIndex){var length=PROTOCOLS.length;var index=-1;var min=-1;var position;if(!this.options.gfm){return-1;}while(++index<length){position=value.indexOf(PROTOCOLS[index],fromIndex);if(position!==-1&&(position<min||min===-1)){min=position;}}return min;}
/***/ },
/* 1008 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:parse
* @fileoverview Parse the document
*/'use strict';/* Dependencies. */var xtend=__webpack_require__(102);var removePosition=__webpack_require__(1164);/* Expose. */module.exports=parse;/* Characters. */var C_NEWLINE='\n';/* Constants. */var EXPRESSION_LINE_BREAKS=/\r\n|\r/g;/**
* Parse the bound file.
*
* @example
* new Parser(new File('_Foo_.')).parse();
*
* @this {Parser}
* @return {Object} - `root` node.
*/function parse(){var self=this;var value=String(self.file);var start={line:1,column:1,offset:0};var content=xtend(start);var node;/* Clean non-unix newlines: `\r\n` and `\r` are all
* changed to `\n`. This should not affect positional
* information. */value=value.replace(EXPRESSION_LINE_BREAKS,C_NEWLINE);if(value.charCodeAt(0)===0xFEFF){value=value.slice(1);content.column++;content.offset++;}node={type:'root',children:self.tokenizeBlock(value,content),position:{start:start,end:self.eof||xtend(start)}};if(!self.options.position){removePosition(node,true);}return node;}
/***/ },
/* 1009 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse
* @fileoverview Markdown parser.
*/'use strict';/* Dependencies. */var xtend=__webpack_require__(102);var toggle=__webpack_require__(1138);var vfileLocation=__webpack_require__(1172);var unescape=__webpack_require__(1038);var decode=__webpack_require__(1000);var tokenizer=__webpack_require__(1037);/* Expose `attacher`. */module.exports=Parser;/**
* Construct a new parser.
*
* @example
* var parser = new Parser(new VFile('Foo'));
*
* @constructor
* @class {Parser}
* @param {VFile} file - File to parse.
* @param {Object?} [options] - Passed to
* `Parser#setOptions()`.
*/function Parser(file,options){this.file=file;this.offset={};this.options=xtend(this.options);this.setOptions(options);this.inList=this.inBlock=this.inLink=false;this.atStart=true;this.toOffset=vfileLocation(file).toOffset;this.unescape=unescape(this,'escape');this.decode=decode(this);}/* Prototype. */var proto=Parser.prototype;/* Expose core. */proto.setOptions=__webpack_require__(1010);proto.parse=__webpack_require__(1008);/* Expose `defaults`. */proto.options=__webpack_require__(450);/* Enter and exit helpers. */proto.exitStart=toggle('atStart',true);proto.enterList=toggle('inList',false);proto.enterLink=toggle('inLink',false);proto.enterBlock=toggle('inBlock',false);/* Handlers. */proto.blockTokenizers={yamlFrontMatter:__webpack_require__(1036),newline:__webpack_require__(1028),indentedCode:__webpack_require__(1015),fencedCode:__webpack_require__(1014),blockquote:__webpack_require__(1012),atxHeading:__webpack_require__(1022),thematicBreak:__webpack_require__(1034),list:__webpack_require__(1027),setextHeading:__webpack_require__(1023),html:__webpack_require__(1024),footnote:__webpack_require__(1021),definition:__webpack_require__(1017),table:__webpack_require__(1032),paragraph:__webpack_require__(1029)};proto.inlineTokenizers={escape:__webpack_require__(1020),autoLink:__webpack_require__(1011),url:__webpack_require__(1035),html:__webpack_require__(1025),link:__webpack_require__(1026),reference:__webpack_require__(1030),strong:__webpack_require__(1031),emphasis:__webpack_require__(1019),deletion:__webpack_require__(1018),code:__webpack_require__(1016),break:__webpack_require__(1013),text:__webpack_require__(1033)};/* Expose precedence. */proto.blockMethods=keys(proto.blockTokenizers);proto.inlineMethods=keys(proto.inlineTokenizers);/* Tokenizers. */proto.tokenizeBlock=tokenizer('block');proto.tokenizeInline=tokenizer('inline');proto.tokenizeFactory=tokenizer;/**
* Get all keys in `value`.
*/function keys(value){var result=[];var key;for(key in value){result.push(key);}return result;}
/***/ },
/* 1010 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse
* @fileoverview Markdown parser.
*/'use strict';/* Dependencies. */var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var xtend=__webpack_require__(102);var escapes=__webpack_require__(881);var defaults=__webpack_require__(450);/* Expose `attacher`. */module.exports=setOptions;/**
* Set options. Does not overwrite previously set
* options.
*
* @example
* var parser = new Parser();
* parser.setOptions({gfm: true});
*
* @this {Parser}
* @throws {Error} - When an option is invalid.
* @param {Object?} [options] - Parse settings.
* @return {Parser} - `self`.
*/function setOptions(options){var self=this;var current=self.options;var key;var value;if(options==null){options={};}else if((typeof options==='undefined'?'undefined':_typeof(options))==='object'){options=xtend(options);}else{throw new Error('Invalid value `'+options+'` '+'for setting `options`');}for(key in defaults){value=options[key];if(value==null){value=current[key];}if(key!=='blocks'&&typeof value!=='boolean'||key==='blocks'&&(typeof value==='undefined'?'undefined':_typeof(value))!=='object'){throw new Error('Invalid value `'+value+'` '+'for setting `options.'+key+'`');}options[key]=value;}self.options=options;self.escape=escapes(options);return self;}
/***/ },
/* 1011 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:auto-link
* @fileoverview Tokenise an auto-link.
*/'use strict';/* Dependencies. */var decode=__webpack_require__(236);var locate=__webpack_require__(452);/* Expose. */module.exports=autoLink;autoLink.locator=locate;autoLink.notInLink=true;/* Constants. */var C_LT='<';var C_GT='>';var C_AT_SIGN='@';var C_SLASH='/';var MAILTO='mailto:';var MAILTO_LENGTH=MAILTO.length;/**
* Tokenise a link.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `link` node.
*/function autoLink(eat,value,silent){var self;var subvalue;var length;var index;var queue;var character;var hasAtCharacter;var link;var now;var content;var tokenize;var exit;if(value.charAt(0)!==C_LT){return;}self=this;subvalue='';length=value.length;index=0;queue='';hasAtCharacter=false;link='';index++;subvalue=C_LT;while(index<length){character=value.charAt(index);if(character===' '||character===C_GT||character===C_AT_SIGN||character===':'&&value.charAt(index+1)===C_SLASH){break;}queue+=character;index++;}if(!queue){return;}link+=queue;queue='';character=value.charAt(index);link+=character;index++;if(character===C_AT_SIGN){hasAtCharacter=true;}else{if(character!==':'||value.charAt(index+1)!==C_SLASH){return;}link+=C_SLASH;index++;}while(index<length){character=value.charAt(index);if(character===' '||character===C_GT){break;}queue+=character;index++;}character=value.charAt(index);if(!queue||character!==C_GT){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}link+=queue;content=link;subvalue+=link+character;now=eat.now();now.column++;now.offset++;if(hasAtCharacter){if(link.slice(0,MAILTO_LENGTH).toLowerCase()===MAILTO){content=content.substr(MAILTO_LENGTH);now.column+=MAILTO_LENGTH;now.offset+=MAILTO_LENGTH;}else{link=MAILTO+link;}}/* Temporarily remove support for escapes in autolinks. */tokenize=self.inlineTokenizers.escape;self.inlineTokenizers.escape=null;exit=self.enterLink();content=self.tokenizeInline(content,now);self.inlineTokenizers.escape=tokenize;exit();return eat(subvalue)({type:'link',title:null,url:decode(link),children:content});}
/***/ },
/* 1012 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:blockquote
* @fileoverview Tokenise blockquote.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(100);/* Expose. */module.exports=blockquote;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_GT='>';/**
* Tokenise a blockquote.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `blockquote` node.
*/function blockquote(eat,value,silent){var self=this;var commonmark=self.options.commonmark;var offsets=self.offset;var now=eat.now();var currentLine=now.line;var length=value.length;var values=[];var contents=[];var indents=[];var add;var tokenizers;var index=0;var character;var rest;var nextIndex;var content;var line;var startIndex;var prefixed;var exit;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}index++;}if(value.charAt(index)!==C_GT){return;}if(silent){return true;}tokenizers=self.blockTokenizers;index=0;while(index<length){nextIndex=value.indexOf(C_NEWLINE,index);startIndex=index;prefixed=false;if(nextIndex===-1){nextIndex=length;}while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}index++;}if(value.charAt(index)===C_GT){index++;prefixed=true;if(value.charAt(index)===C_SPACE){index++;}}else{index=startIndex;}content=value.slice(index,nextIndex);if(!prefixed&&!trim(content)){index=startIndex;break;}if(!prefixed){rest=value.slice(index);if(commonmark&&(tokenizers.indentedCode.call(self,eat,rest,true)||tokenizers.fencedCode.call(self,eat,rest,true)||tokenizers.atxHeading.call(self,eat,rest,true)||tokenizers.setextHeading.call(self,eat,rest,true)||tokenizers.thematicBreak.call(self,eat,rest,true)||tokenizers.html.call(self,eat,rest,true)||tokenizers.list.call(self,eat,rest,true))||!commonmark&&(tokenizers.definition.call(self,eat,rest,true)||tokenizers.footnote.call(self,eat,rest,true))){break;}}line=startIndex===index?content:value.slice(startIndex,nextIndex);indents.push(index-startIndex);values.push(line);contents.push(content);index=nextIndex+1;}index=-1;length=indents.length;add=eat(values.join(C_NEWLINE));while(++index<length){offsets[currentLine]=(offsets[currentLine]||0)+indents[index];currentLine++;}exit=self.enterBlock();contents=self.tokenizeBlock(contents.join(C_NEWLINE),now);exit();return add({type:'blockquote',children:contents});}
/***/ },
/* 1013 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:break
* @fileoverview Tokenise a break.
*/'use strict';/* Dependencies. */var locate=__webpack_require__(1001);/* Expose. */module.exports=hardBreak;hardBreak.locator=locate;/* Constants. */var MIN_BREAK_LENGTH=2;/**
* Tokenise a break.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `break` node.
*/function hardBreak(eat,value,silent){var self=this;var breaks=self.options.breaks;var length=value.length;var index=-1;var queue='';var character;while(++index<length){character=value.charAt(index);if(character==='\n'){if(!breaks&&index<MIN_BREAK_LENGTH){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}queue+=character;return eat(queue)({type:'break'});}if(character!==' '){return;}queue+=character;}}
/***/ },
/* 1014 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:code-fenced
* @fileoverview Tokenise fenced code.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(299);/* Expose. */module.exports=fencedCode;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_TILDE='~';var C_TICK='`';/* Constants */var MIN_FENCE_COUNT=3;var CODE_INDENT_COUNT=4;/**
* Tokenise fenced code.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `code` node.
*/function fencedCode(eat,value,silent){var self=this;var settings=self.options;var length=value.length+1;var index=0;var subvalue='';var fenceCount;var marker;var character;var flag;var queue;var content;var exdentedContent;var closing;var exdentedClosing;var indent;var now;if(!settings.gfm){return;}/* Eat initial spacing. */while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}subvalue+=character;index++;}indent=index;/* Eat the fence. */character=value.charAt(index);if(character!==C_TILDE&&character!==C_TICK){return;}index++;marker=character;fenceCount=1;subvalue+=character;while(index<length){character=value.charAt(index);if(character!==marker){break;}subvalue+=character;fenceCount++;index++;}if(fenceCount<MIN_FENCE_COUNT){return;}/* Eat spacing before flag. */while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}subvalue+=character;index++;}/* Eat flag. */flag=queue='';while(index<length){character=value.charAt(index);if(character===C_NEWLINE||character===C_TILDE||character===C_TICK){break;}if(character===C_SPACE||character===C_TAB){queue+=character;}else{flag+=queue+character;queue='';}index++;}character=value.charAt(index);if(character&&character!==C_NEWLINE){return;}if(silent){return true;}now=eat.now();now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=flag;flag=self.decode.raw(self.unescape(flag),now);if(queue){subvalue+=queue;}queue=closing=exdentedClosing=content=exdentedContent='';/* Eat content. */while(index<length){character=value.charAt(index);content+=closing;exdentedContent+=exdentedClosing;closing=exdentedClosing='';if(character!==C_NEWLINE){content+=character;exdentedClosing+=character;index++;continue;}/* Add the newline to `subvalue` if its the first
* character. Otherwise, add it to the `closing`
* queue. */if(content){closing+=character;exdentedClosing+=character;}else{subvalue+=character;}queue='';index++;while(index<length){character=value.charAt(index);if(character!==C_SPACE){break;}queue+=character;index++;}closing+=queue;exdentedClosing+=queue.slice(indent);if(queue.length>=CODE_INDENT_COUNT){continue;}queue='';while(index<length){character=value.charAt(index);if(character!==marker){break;}queue+=character;index++;}closing+=queue;exdentedClosing+=queue;if(queue.length<fenceCount){continue;}queue='';while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}closing+=character;exdentedClosing+=character;index++;}if(!character||character===C_NEWLINE){break;}}subvalue+=content+closing;return eat(subvalue)({type:'code',lang:flag||null,value:trim(exdentedContent)});}
/***/ },
/* 1015 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:code-indented
* @fileoverview Tokenise indented code.
*/'use strict';/* Dependencies. */var repeat=__webpack_require__(267);var trim=__webpack_require__(299);/* Expose. */module.exports=indentedCode;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';/* Constants */var CODE_INDENT_COUNT=4;var CODE_INDENT=repeat(C_SPACE,CODE_INDENT_COUNT);/**
* Tokenise indented code.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `code` node.
*/function indentedCode(eat,value,silent){var index=-1;var length=value.length;var subvalue='';var content='';var subvalueQueue='';var contentQueue='';var character;var blankQueue;var indent;while(++index<length){character=value.charAt(index);if(indent){indent=false;subvalue+=subvalueQueue;content+=contentQueue;subvalueQueue=contentQueue='';if(character===C_NEWLINE){subvalueQueue=contentQueue=character;}else{subvalue+=character;content+=character;while(++index<length){character=value.charAt(index);if(!character||character===C_NEWLINE){contentQueue=subvalueQueue=character;break;}subvalue+=character;content+=character;}}}else if(character===C_SPACE&&value.charAt(index+1)===character&&value.charAt(index+2)===character&&value.charAt(index+3)===character){subvalueQueue+=CODE_INDENT;index+=3;indent=true;}else if(character===C_TAB){subvalueQueue+=character;indent=true;}else{blankQueue='';while(character===C_TAB||character===C_SPACE){blankQueue+=character;character=value.charAt(++index);}if(character!==C_NEWLINE){break;}subvalueQueue+=blankQueue+character;contentQueue+=character;}}if(content){if(silent){return true;}return eat(subvalue)({type:'code',lang:null,value:trim(content)});}}
/***/ },
/* 1016 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:code-inline
* @fileoverview Tokenise inline code.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);var locate=__webpack_require__(1002);/* Expose. */module.exports=inlineCode;inlineCode.locator=locate;/* Constants. */var C_TICK='`';/**
* Tokenise inline code.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `inlineCode` node.
*/function inlineCode(eat,value,silent){var length=value.length;var index=0;var queue='';var tickQueue='';var contentQueue;var subqueue;var count;var openingCount;var subvalue;var character;var found;var next;while(index<length){if(value.charAt(index)!==C_TICK){break;}queue+=C_TICK;index++;}if(!queue){return;}subvalue=queue;openingCount=index;queue='';next=value.charAt(index);count=0;while(index<length){character=next;next=value.charAt(index+1);if(character===C_TICK){count++;tickQueue+=character;}else{count=0;queue+=character;}if(count&&next!==C_TICK){if(count===openingCount){subvalue+=queue+tickQueue;found=true;break;}queue+=tickQueue;tickQueue='';}index++;}if(!found){if(openingCount%2!==0){return;}queue='';}/* istanbul ignore if - never used (yet) */if(silent){return true;}contentQueue=subqueue='';length=queue.length;index=-1;while(++index<length){character=queue.charAt(index);if(whitespace(character)){subqueue+=character;continue;}if(subqueue){if(contentQueue){contentQueue+=subqueue;}subqueue='';}contentQueue+=character;}return eat(subvalue)({type:'inlineCode',value:contentQueue});}
/***/ },
/* 1017 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:definition
* @fileoverview Tokenise a definition.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);var normalize=__webpack_require__(266);/* Expose. */module.exports=definition;definition.notInList=true;definition.notInBlock=true;/* Characters */var C_DOUBLE_QUOTE='"';var C_SINGLE_QUOTE='\'';var C_BACKSLASH='\\';var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_BRACKET_OPEN='[';var C_BRACKET_CLOSE=']';var C_PAREN_OPEN='(';var C_PAREN_CLOSE=')';var C_COLON=':';var C_LT='<';var C_GT='>';/**
* Tokenise a definition.
*
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `definition` node.
*/function definition(eat,value,silent){var self=this;var commonmark=self.options.commonmark;var index=0;var length=value.length;var subvalue='';var beforeURL;var beforeTitle;var queue;var character;var test;var identifier;var url;var title;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){break;}subvalue+=character;index++;}character=value.charAt(index);if(character!==C_BRACKET_OPEN){return;}index++;subvalue+=character;queue='';while(index<length){character=value.charAt(index);if(character===C_BRACKET_CLOSE){break;}else if(character===C_BACKSLASH){queue+=character;index++;character=value.charAt(index);}queue+=character;index++;}if(!queue||value.charAt(index)!==C_BRACKET_CLOSE||value.charAt(index+1)!==C_COLON){return;}identifier=queue;subvalue+=queue+C_BRACKET_CLOSE+C_COLON;index=subvalue.length;queue='';while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE&&character!==C_NEWLINE){break;}subvalue+=character;index++;}character=value.charAt(index);queue='';beforeURL=subvalue;if(character===C_LT){index++;while(index<length){character=value.charAt(index);if(!isEnclosedURLCharacter(character)){break;}queue+=character;index++;}character=value.charAt(index);if(character===isEnclosedURLCharacter.delimiter){subvalue+=C_LT+queue+character;index++;}else{if(commonmark){return;}index-=queue.length+1;queue='';}}if(!queue){while(index<length){character=value.charAt(index);if(!isUnclosedURLCharacter(character)){break;}queue+=character;index++;}subvalue+=queue;}if(!queue){return;}url=queue;queue='';while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE&&character!==C_NEWLINE){break;}queue+=character;index++;}character=value.charAt(index);test=null;if(character===C_DOUBLE_QUOTE){test=C_DOUBLE_QUOTE;}else if(character===C_SINGLE_QUOTE){test=C_SINGLE_QUOTE;}else if(character===C_PAREN_OPEN){test=C_PAREN_CLOSE;}if(!test){queue='';index=subvalue.length;}else if(queue){subvalue+=queue+character;index=subvalue.length;queue='';while(index<length){character=value.charAt(index);if(character===test){break;}if(character===C_NEWLINE){index++;character=value.charAt(index);if(character===C_NEWLINE||character===test){return;}queue+=C_NEWLINE;}queue+=character;index++;}character=value.charAt(index);if(character!==test){return;}beforeTitle=subvalue;subvalue+=queue+character;index++;title=queue;queue='';}else{return;}while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE){break;}subvalue+=character;index++;}character=value.charAt(index);if(!character||character===C_NEWLINE){if(silent){return true;}beforeURL=eat(beforeURL).test().end;url=self.decode.raw(self.unescape(url),beforeURL);if(title){beforeTitle=eat(beforeTitle).test().end;title=self.decode.raw(self.unescape(title),beforeTitle);}return eat(subvalue)({type:'definition',identifier:normalize(identifier),title:title||null,url:url});}}/**
* Check whether `character` can be inside an enclosed
* URI.
*
* @property {string} delimiter - Closing delimiter.
* @param {string} character - Character to test.
* @return {boolean} - Whether `character` can be inside
* an enclosed URI.
*/function isEnclosedURLCharacter(character){return character!==C_GT&&character!==C_BRACKET_OPEN&&character!==C_BRACKET_CLOSE;}isEnclosedURLCharacter.delimiter=C_GT;/**
* Check whether `character` can be inside an unclosed
* URI.
*
* @param {string} character - Character to test.
* @return {boolean} - Whether `character` can be inside
* an unclosed URI.
*/function isUnclosedURLCharacter(character){return character!==C_BRACKET_OPEN&&character!==C_BRACKET_CLOSE&&!whitespace(character);}
/***/ },
/* 1018 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:delete
* @fileoverview Tokenise strikethrough.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);var locate=__webpack_require__(1003);/* Expose. */module.exports=strikethrough;strikethrough.locator=locate;/* Constants. */var C_TILDE='~';var DOUBLE='~~';/**
* Tokenise strikethrough.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `delete` node.
*/function strikethrough(eat,value,silent){var self=this;var character='';var previous='';var preceding='';var subvalue='';var index;var length;var now;if(!self.options.gfm||value.charAt(0)!==C_TILDE||value.charAt(1)!==C_TILDE||whitespace(value.charAt(2))){return;}index=1;length=value.length;now=eat.now();now.column+=2;now.offset+=2;while(++index<length){character=value.charAt(index);if(character===C_TILDE&&previous===C_TILDE&&(!preceding||!whitespace(preceding))){/* istanbul ignore if - never used (yet) */if(silent){return true;}return eat(DOUBLE+subvalue+DOUBLE)({type:'delete',children:self.tokenizeInline(subvalue,now)});}subvalue+=previous;preceding=previous;previous=character;}}
/***/ },
/* 1019 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:emphasis
* @fileoverview Tokenise emphasis.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(100);var word=__webpack_require__(687);var whitespace=__webpack_require__(31);var locate=__webpack_require__(1004);/* Expose. */module.exports=emphasis;emphasis.locator=locate;/* Constants. */var C_ASTERISK='*';var C_UNDERSCORE='_';/**
* Tokenise emphasis.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `emphasis` node.
*/function emphasis(eat,value,silent){var self=this;var index=0;var character=value.charAt(index);var now;var pedantic;var marker;var queue;var subvalue;var length;var prev;if(character!==C_ASTERISK&&character!==C_UNDERSCORE){return;}pedantic=self.options.pedantic;subvalue=marker=character;length=value.length;index++;queue=character='';if(pedantic&&whitespace(value.charAt(index))){return;}while(index<length){prev=character;character=value.charAt(index);if(character===marker&&(!pedantic||!whitespace(prev))){character=value.charAt(++index);if(character!==marker){if(!trim(queue)||prev===marker){return;}if(!pedantic&&marker===C_UNDERSCORE&&word(character)){queue+=marker;continue;}/* istanbul ignore if - never used (yet) */if(silent){return true;}now=eat.now();now.column++;now.offset++;return eat(subvalue+queue+marker)({type:'emphasis',children:self.tokenizeInline(queue,now)});}queue+=marker;}if(!pedantic&&character==='\\'){queue+=character;character=value.charAt(++index);}queue+=character;index++;}}
/***/ },
/* 1020 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:escape
* @fileoverview Tokenise an escape.
*/'use strict';/* Dependencies. */var locate=__webpack_require__(1005);/* Expose. */module.exports=escape;escape.locator=locate;/**
* Tokenise an escape.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `text` or `break` node.
*/function escape(eat,value,silent){var self=this;var character;var node;if(value.charAt(0)==='\\'){character=value.charAt(1);if(self.escape.indexOf(character)!==-1){/* istanbul ignore if - never used (yet) */if(silent){return true;}if(character==='\n'){node={type:'break'};}else{node={type:'text',value:character};}return eat('\\'+character)(node);}}}
/***/ },
/* 1021 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:footnote-definition
* @fileoverview Tokenise footnote definition.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);var normalize=__webpack_require__(266);/* Expose. */module.exports=footnoteDefinition;footnoteDefinition.notInList=true;footnoteDefinition.notInBlock=true;/* Characters */var C_BACKSLASH='\\';var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_BRACKET_OPEN='[';var C_BRACKET_CLOSE=']';var C_CARET='^';var C_COLON=':';/* Constants. */var EXPRESSION_INITIAL_TAB=/^( {4}|\t)?/gm;/**
* Tokenise a footnote definition.
*
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `footnoteDefinition` node.
*/function footnoteDefinition(eat,value,silent){var self=this;var offsets=self.offset;var index;var length;var subvalue;var now;var currentLine;var content;var queue;var subqueue;var character;var identifier;var add;var exit;if(!self.options.footnotes){return;}index=0;length=value.length;subvalue='';now=eat.now();currentLine=now.line;while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}subvalue+=character;index++;}if(value.charAt(index)!==C_BRACKET_OPEN||value.charAt(index+1)!==C_CARET){return;}subvalue+=C_BRACKET_OPEN+C_CARET;index=subvalue.length;queue='';while(index<length){character=value.charAt(index);if(character===C_BRACKET_CLOSE){break;}else if(character===C_BACKSLASH){queue+=character;index++;character=value.charAt(index);}queue+=character;index++;}if(!queue||value.charAt(index)!==C_BRACKET_CLOSE||value.charAt(index+1)!==C_COLON){return;}if(silent){return true;}identifier=normalize(queue);subvalue+=queue+C_BRACKET_CLOSE+C_COLON;index=subvalue.length;while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE){break;}subvalue+=character;index++;}now.column+=subvalue.length;now.offset+=subvalue.length;queue=content=subqueue='';while(index<length){character=value.charAt(index);if(character===C_NEWLINE){subqueue=character;index++;while(index<length){character=value.charAt(index);if(character!==C_NEWLINE){break;}subqueue+=character;index++;}queue+=subqueue;subqueue='';while(index<length){character=value.charAt(index);if(character!==C_SPACE){break;}subqueue+=character;index++;}if(subqueue.length===0){break;}queue+=subqueue;}if(queue){content+=queue;queue='';}content+=character;index++;}subvalue+=content;content=content.replace(EXPRESSION_INITIAL_TAB,function(line){offsets[currentLine]=(offsets[currentLine]||0)+line.length;currentLine++;return'';});add=eat(subvalue);exit=self.enterBlock();content=self.tokenizeBlock(content,now);exit();return add({type:'footnoteDefinition',identifier:identifier,children:content});}
/***/ },
/* 1022 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:heading-atx
* @fileoverview Tokenise an ATX-style heading.
*/'use strict';/* Expose. */module.exports=atxHeading;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_HASH='#';/* Constants. */var MAX_ATX_COUNT=6;/**
* Tokenise an ATX-style heading.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `heading` node.
*/function atxHeading(eat,value,silent){var self=this;var settings=self.options;var length=value.length+1;var index=-1;var now=eat.now();var subvalue='';var content='';var character;var queue;var depth;/* Eat initial spacing. */while(++index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){index--;break;}subvalue+=character;}/* Eat hashes. */depth=0;while(++index<=length){character=value.charAt(index);if(character!==C_HASH){index--;break;}subvalue+=character;depth++;}if(depth>MAX_ATX_COUNT){return;}if(!depth||!settings.pedantic&&value.charAt(index+1)===C_HASH){return;}length=value.length+1;/* Eat intermediate white-space. */queue='';while(++index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){index--;break;}queue+=character;}/* Exit when not in pedantic mode without spacing. */if(!settings.pedantic&&queue.length===0&&character&&character!==C_NEWLINE){return;}if(silent){return true;}/* Eat content. */subvalue+=queue;queue=content='';while(++index<length){character=value.charAt(index);if(!character||character===C_NEWLINE){break;}if(character!==C_SPACE&&character!==C_TAB&&character!==C_HASH){content+=queue+character;queue='';continue;}while(character===C_SPACE||character===C_TAB){queue+=character;character=value.charAt(++index);}while(character===C_HASH){queue+=character;character=value.charAt(++index);}while(character===C_SPACE||character===C_TAB){queue+=character;character=value.charAt(++index);}index--;}now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=content+queue;return eat(subvalue)({type:'heading',depth:depth,children:self.tokenizeInline(content,now)});}
/***/ },
/* 1023 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:heading-setext
* @fileoverview Tokenise an setext-style heading.
*/'use strict';/* Expose. */module.exports=setextHeading;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_EQUALS='=';var C_DASH='-';/* Constants. */var MAX_HEADING_INDENT=3;/* A map of characters which can be used to mark setext
* headers, mapping to their corresponding depth. */var SETEXT_MARKERS={};SETEXT_MARKERS[C_EQUALS]=1;SETEXT_MARKERS[C_DASH]=2;/**
* Tokenise an setext-style heading.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `heading` node.
*/function setextHeading(eat,value,silent){var self=this;var now=eat.now();var length=value.length;var index=-1;var subvalue='';var content;var queue;var character;var marker;var depth;/* Eat initial indentation. */while(++index<length){character=value.charAt(index);if(character!==C_SPACE||index>=MAX_HEADING_INDENT){index--;break;}subvalue+=character;}/* Eat content. */content=queue='';while(++index<length){character=value.charAt(index);if(character===C_NEWLINE){index--;break;}if(character===C_SPACE||character===C_TAB){queue+=character;}else{content+=queue+character;queue='';}}now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=content+queue;/* Ensure the content is followed by a newline and a
* valid marker. */character=value.charAt(++index);marker=value.charAt(++index);if(character!==C_NEWLINE||!SETEXT_MARKERS[marker]){return;}subvalue+=character;/* Eat Setext-line. */queue=marker;depth=SETEXT_MARKERS[marker];while(++index<length){character=value.charAt(index);if(character!==marker){if(character!==C_NEWLINE){return;}index--;break;}queue+=character;}if(silent){return true;}return eat(subvalue+queue)({type:'heading',depth:depth,children:self.tokenizeInline(content,now)});}
/***/ },
/* 1024 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:html-block
* @fileoverview Tokenise block HTML.
*/'use strict';/* Dependencies. */var cdata=__webpack_require__(454);var comment=__webpack_require__(455);var declaration=__webpack_require__(456);var instruction=__webpack_require__(457);var closing=__webpack_require__(458);var opening=__webpack_require__(459);/* Expose. */module.exports=blockHTML;/* Characters. */var C_TAB='\t';var C_SPACE=' ';var C_NEWLINE='\n';/* Constants. */var MIN_CLOSING_HTML_NEWLINE_COUNT=2;/**
* Tokenise block HTML.
*
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `html` node.
*/function blockHTML(eat,value,silent){var self=this;var blocks=self.options.blocks;var index=0;var length=value.length;var subvalue='';var offset;var character;var queue;/* Eat initial spacing. */while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE){break;}subvalue+=character;index++;}offset=index;value=value.slice(offset);/* Try to eat an HTML thing. */queue=comment(value,self.options)||cdata(value)||instruction(value)||declaration(value)||closing(value,blocks)||opening(value,blocks);if(!queue){return;}if(silent){return true;}subvalue+=queue;index=subvalue.length-offset;queue='';while(index<length){character=value.charAt(index);if(character===C_NEWLINE){queue+=character;}else if(queue.length<MIN_CLOSING_HTML_NEWLINE_COUNT){subvalue+=queue+character;queue='';}else{break;}index++;}return eat(subvalue)({type:'html',value:subvalue});}
/***/ },
/* 1025 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:html-inline
* @fileoverview Tokenise inline HTML.
*/'use strict';/* Dependencies. */var locate=__webpack_require__(452);var cdata=__webpack_require__(454);var comment=__webpack_require__(455);var declaration=__webpack_require__(456);var instruction=__webpack_require__(457);var closing=__webpack_require__(458);var opening=__webpack_require__(459);/* Expose. */module.exports=inlineHTML;inlineHTML.locator=locate;/* Constants. */var EXPRESSION_HTML_LINK_OPEN=/^<a /i;var EXPRESSION_HTML_LINK_CLOSE=/^<\/a>/i;/**
* Tokenise inline HTML.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `html` node.
*/function inlineHTML(eat,value,silent){var self=this;var subvalue=comment(value,self.options)||cdata(value)||instruction(value)||declaration(value)||closing(value)||opening(value);if(!subvalue){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}if(!self.inLink&&EXPRESSION_HTML_LINK_OPEN.test(subvalue)){self.inLink=true;}else if(self.inLink&&EXPRESSION_HTML_LINK_CLOSE.test(subvalue)){self.inLink=false;}return eat(subvalue)({type:'html',value:subvalue});}
/***/ },
/* 1026 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:link
* @fileoverview Tokenise a link.
*/'use strict';/* Dependencies. */var has=__webpack_require__(106);var whitespace=__webpack_require__(31);var locate=__webpack_require__(451);/* Expose. */module.exports=link;link.locator=locate;/* Constants. */var C_BACKSLASH='\\';var C_BRACKET_OPEN='[';var C_BRACKET_CLOSE=']';var C_PAREN_OPEN='(';var C_PAREN_CLOSE=')';var C_LT='<';var C_GT='>';var C_TICK='`';var C_DOUBLE_QUOTE='"';var C_SINGLE_QUOTE='\'';/* A map of characters, which can be used to mark link
* and image titles. */var LINK_MARKERS={};LINK_MARKERS[C_DOUBLE_QUOTE]=C_DOUBLE_QUOTE;LINK_MARKERS[C_SINGLE_QUOTE]=C_SINGLE_QUOTE;/* A map of characters, which can be used to mark link
* and image titles in commonmark-mode. */var COMMONMARK_LINK_MARKERS={};COMMONMARK_LINK_MARKERS[C_DOUBLE_QUOTE]=C_DOUBLE_QUOTE;COMMONMARK_LINK_MARKERS[C_SINGLE_QUOTE]=C_SINGLE_QUOTE;COMMONMARK_LINK_MARKERS[C_PAREN_OPEN]=C_PAREN_CLOSE;/**
* Tokenise a link.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `link` node.
*/function link(eat,value,silent){var self=this;var subvalue='';var index=0;var character=value.charAt(0);var commonmark=self.options.commonmark;var gfm=self.options.gfm;var closed;var count;var opening;var beforeURL;var beforeTitle;var subqueue;var hasMarker;var markers;var isImage;var content;var marker;var length;var title;var depth;var queue;var url;var now;var exit;var node;/* Detect whether this is an image. */if(character==='!'){isImage=true;subvalue=character;character=value.charAt(++index);}/* Eat the opening. */if(character!==C_BRACKET_OPEN){return;}/* Exit when this is a link and were already inside
* a link. */if(!isImage&&self.inLink){return;}subvalue+=character;queue='';index++;/* Eat the content. */length=value.length;now=eat.now();depth=0;now.column+=index;now.offset+=index;while(index<length){subqueue=character=value.charAt(index);if(character===C_TICK){/* Inline-code in link content. */count=1;while(value.charAt(index+1)===C_TICK){subqueue+=character;index++;count++;}if(!opening){opening=count;}else if(count>=opening){opening=0;}}else if(character===C_BACKSLASH){/* Allow brackets to be escaped. */index++;subqueue+=value.charAt(index);/* In GFM mode, brackets in code still count.
* In all other modes, they dont. This empty
* block prevents the next statements are
* entered. */}else if((!opening||gfm)&&character===C_BRACKET_OPEN){depth++;}else if((!opening||gfm)&&character===C_BRACKET_CLOSE){if(depth){depth--;}else{/* Allow white-space between content and
* url in GFM mode. */if(gfm){while(index<length){character=value.charAt(index+1);if(!whitespace(character)){break;}subqueue+=character;index++;}}if(value.charAt(index+1)!==C_PAREN_OPEN){return;}subqueue+=C_PAREN_OPEN;closed=true;index++;break;}}queue+=subqueue;subqueue='';index++;}/* Eat the content closing. */if(!closed){return;}content=queue;subvalue+=queue+subqueue;index++;/* Eat white-space. */while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}subvalue+=character;index++;}/* Eat the URL. */character=value.charAt(index);markers=commonmark?COMMONMARK_LINK_MARKERS:LINK_MARKERS;queue='';beforeURL=subvalue;if(character===C_LT){index++;beforeURL+=C_LT;while(index<length){character=value.charAt(index);if(character===C_GT){break;}if(commonmark&&character==='\n'){return;}queue+=character;index++;}if(value.charAt(index)!==C_GT){return;}subvalue+=C_LT+queue+C_GT;url=queue;index++;}else{character=null;subqueue='';while(index<length){character=value.charAt(index);if(subqueue&&has(markers,character)){break;}if(whitespace(character)){if(commonmark){break;}subqueue+=character;}else{if(character===C_PAREN_OPEN){depth++;}else if(character===C_PAREN_CLOSE){if(depth===0){break;}depth--;}queue+=subqueue;subqueue='';if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index);}queue+=character;}index++;}subvalue+=queue;url=queue;index=subvalue.length;}/* Eat white-space. */queue='';while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}queue+=character;index++;}character=value.charAt(index);subvalue+=queue;/* Eat the title. */if(queue&&has(markers,character)){index++;subvalue+=character;queue='';marker=markers[character];beforeTitle=subvalue;/* In commonmark-mode, things are pretty easy: the
* marker cannot occur inside the title.
*
* Non-commonmark does, however, support nested
* delimiters. */if(commonmark){while(index<length){character=value.charAt(index);if(character===marker){break;}if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index);}index++;queue+=character;}character=value.charAt(index);if(character!==marker){return;}title=queue;subvalue+=queue+character;index++;while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}subvalue+=character;index++;}}else{subqueue='';while(index<length){character=value.charAt(index);if(character===marker){if(hasMarker){queue+=marker+subqueue;subqueue='';}hasMarker=true;}else if(!hasMarker){queue+=character;}else if(character===C_PAREN_CLOSE){subvalue+=queue+marker+subqueue;title=queue;break;}else if(whitespace(character)){subqueue+=character;}else{queue+=marker+subqueue+character;subqueue='';hasMarker=false;}index++;}}}if(value.charAt(index)!==C_PAREN_CLOSE){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}subvalue+=C_PAREN_CLOSE;url=self.decode.raw(self.unescape(url),eat(beforeURL).test().end);if(title){beforeTitle=eat(beforeTitle).test().end;title=self.decode.raw(self.unescape(title),beforeTitle);}node={type:isImage?'image':'link',title:title||null,url:url};if(isImage){node.alt=self.decode.raw(self.unescape(content),now)||null;}else{exit=self.enterLink();node.children=self.tokenizeInline(content,now);exit();}return eat(subvalue)(node);}
/***/ },
/* 1027 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:list
* @fileoverview Tokenise a list.
*/'use strict';/* eslint-disable max-params *//* Dependencies. */var trim=__webpack_require__(100);var repeat=__webpack_require__(267);var decimal=__webpack_require__(87);var getIndent=__webpack_require__(453);var removeIndent=__webpack_require__(1039);/* Expose. */module.exports=list;/* Characters. */var C_ASTERISK='*';var C_UNDERSCORE='_';var C_PLUS='+';var C_DASH='-';var C_DOT='.';var C_SPACE=' ';var C_NEWLINE='\n';var C_TAB='\t';var C_PAREN_CLOSE=')';var C_X_LOWER='x';/* Constants. */var TAB_SIZE=4;var EXPRESSION_LOOSE_LIST_ITEM=/\n\n(?!\s*$)/;var EXPRESSION_TASK_ITEM=/^\[([ \t]|x|X)\][ \t]/;var EXPRESSION_BULLET=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/;var EXPRESSION_PEDANTIC_BULLET=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/;var EXPRESSION_INITIAL_INDENT=/^( {1,4}|\t)?/gm;/* A map of characters which can be used to mark
* list-items. */var LIST_UNORDERED_MARKERS={};LIST_UNORDERED_MARKERS[C_ASTERISK]=true;LIST_UNORDERED_MARKERS[C_PLUS]=true;LIST_UNORDERED_MARKERS[C_DASH]=true;/* A map of characters which can be used to mark
* list-items after a digit. */var LIST_ORDERED_MARKERS={};LIST_ORDERED_MARKERS[C_DOT]=true;/* A map of characters which can be used to mark
* list-items after a digit. */var LIST_ORDERED_COMMONMARK_MARKERS={};LIST_ORDERED_COMMONMARK_MARKERS[C_DOT]=true;LIST_ORDERED_COMMONMARK_MARKERS[C_PAREN_CLOSE]=true;/**
* Tokenise a list.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `list` node.
*/function list(eat,value,silent){var self=this;var commonmark=self.options.commonmark;var pedantic=self.options.pedantic;var tokenizers=self.blockTokenizers;var markers;var index=0;var length=value.length;var start=null;var size=0;var queue;var ordered;var character;var marker;var nextIndex;var startIndex;var prefixed;var currentMarker;var content;var line;var prevEmpty;var empty;var items;var allLines;var emptyLines;var item;var enterTop;var exitBlockquote;var isLoose;var node;var now;var end;var indented;while(index<length){character=value.charAt(index);if(character===C_TAB){size+=TAB_SIZE-size%TAB_SIZE;}else if(character===C_SPACE){size++;}else{break;}index++;}if(size>=TAB_SIZE){return;}character=value.charAt(index);markers=commonmark?LIST_ORDERED_COMMONMARK_MARKERS:LIST_ORDERED_MARKERS;if(LIST_UNORDERED_MARKERS[character]===true){marker=character;ordered=false;}else{ordered=true;queue='';while(index<length){character=value.charAt(index);if(!decimal(character)){break;}queue+=character;index++;}character=value.charAt(index);if(!queue||markers[character]!==true){return;}start=parseInt(queue,10);marker=character;}character=value.charAt(++index);if(character!==C_SPACE&&character!==C_TAB){return;}if(silent){return true;}index=0;items=[];allLines=[];emptyLines=[];while(index<length){nextIndex=value.indexOf(C_NEWLINE,index);startIndex=index;prefixed=false;indented=false;if(nextIndex===-1){nextIndex=length;}end=index+TAB_SIZE;size=0;while(index<length){character=value.charAt(index);if(character===C_TAB){size+=TAB_SIZE-size%TAB_SIZE;}else if(character===C_SPACE){size++;}else{break;}index++;}if(size>=TAB_SIZE){indented=true;}if(item&&size>=item.indent){indented=true;}character=value.charAt(index);currentMarker=null;if(!indented){if(LIST_UNORDERED_MARKERS[character]===true){currentMarker=character;index++;size++;}else{queue='';while(index<length){character=value.charAt(index);if(!decimal(character)){break;}queue+=character;index++;}character=value.charAt(index);index++;if(queue&&markers[character]===true){currentMarker=character;size+=queue.length+1;}}if(currentMarker){character=value.charAt(index);if(character===C_TAB){size+=TAB_SIZE-size%TAB_SIZE;index++;}else if(character===C_SPACE){end=index+TAB_SIZE;while(index<end){if(value.charAt(index)!==C_SPACE){break;}index++;size++;}if(index===end&&value.charAt(index)===C_SPACE){index-=TAB_SIZE-1;size-=TAB_SIZE-1;}}else if(character!==C_NEWLINE&&character!==''){currentMarker=null;}}}if(currentMarker){if(commonmark&&marker!==currentMarker){break;}prefixed=true;}else{if(!commonmark&&!indented&&value.charAt(startIndex)===C_SPACE){indented=true;}else if(commonmark&&item){indented=size>=item.indent||size>TAB_SIZE;}prefixed=false;index=startIndex;}line=value.slice(startIndex,nextIndex);content=startIndex===index?line:value.slice(index,nextIndex);if(currentMarker===C_ASTERISK||currentMarker===C_UNDERSCORE||currentMarker===C_DASH){if(tokenizers.thematicBreak.call(self,eat,line,true)){break;}}prevEmpty=empty;empty=!trim(content).length;if(indented&&item){item.value=item.value.concat(emptyLines,line);allLines=allLines.concat(emptyLines,line);emptyLines=[];}else if(prefixed){if(emptyLines.length!==0){item.value.push('');item.trail=emptyLines.concat();}item={value:[line],indent:size,trail:[]};items.push(item);allLines=allLines.concat(emptyLines,line);emptyLines=[];}else if(empty){if(prevEmpty){break;}emptyLines.push(line);}else{if(prevEmpty){break;}if(!pedantic&&(tokenizers.fencedCode.call(self,eat,line,true)||tokenizers.thematicBreak.call(self,eat,line,true))){break;}if(!commonmark){if(tokenizers.definition.call(self,eat,line,true)||tokenizers.footnote.call(self,eat,line,true)){break;}}item.value=item.value.concat(emptyLines,line);allLines=allLines.concat(emptyLines,line);emptyLines=[];}index=nextIndex+1;}node=eat(allLines.join(C_NEWLINE)).reset({type:'list',ordered:ordered,start:start,loose:null,children:[]});enterTop=self.enterList();exitBlockquote=self.enterBlock();isLoose=false;index=-1;length=items.length;while(++index<length){item=items[index].value.join(C_NEWLINE);now=eat.now();item=eat(item)(listItem(self,item,now),node);if(item.loose){isLoose=true;}item=items[index].trail.join(C_NEWLINE);if(index!==length-1){item+=C_NEWLINE;}eat(item);}enterTop();exitBlockquote();node.loose=isLoose;return node;}/**
* Create a list-item node.
*
* @example
* listItem('- _foo_', now());
*
* @param {Object} ctx - Parser.
* @param {Object} value - List-item.
* @param {Object} position - List-item location.
* @return {Object} - `listItem` node.
*/function listItem(ctx,value,position){var offsets=ctx.offset;var fn=ctx.options.pedantic?pedanticListItem:normalListItem;var checked=null;var task;var indent;value=fn.apply(null,arguments);if(ctx.options.gfm){task=value.match(EXPRESSION_TASK_ITEM);if(task){indent=task[0].length;checked=task[1].toLowerCase()===C_X_LOWER;offsets[position.line]+=indent;value=value.slice(indent);}}return{type:'listItem',loose:EXPRESSION_LOOSE_LIST_ITEM.test(value)||value.charAt(value.length-1)===C_NEWLINE,checked:checked,children:ctx.tokenizeBlock(value,position)};}/**
* Create a list-item using overly simple mechanics.
*
* @example
* renderPedanticListItem('- _foo_', now());
*
* @param {Object} ctx - Parser.
* @param {string} value - List-item.
* @param {Object} position - List-item location.
* @return {string} - Cleaned `value`.
*/function pedanticListItem(ctx,value,position){var offsets=ctx.offset;var line=position.line;/**
* A simple replacer which removed all matches,
* and adds their length to `offset`.
*
* @param {string} $0 - Indentation to subtract.
* @return {string} - An empty string.
*/function replacer($0){offsets[line]=(offsets[line]||0)+$0.length;line++;return'';}/* Remove the list-items bullet. */value=value.replace(EXPRESSION_PEDANTIC_BULLET,replacer);/* The initial line was also matched by the below, so
* we reset the `line`. */line=position.line;return value.replace(EXPRESSION_INITIAL_INDENT,replacer);}/**
* Create a list-item using sane mechanics.
*
* @example
* renderNormalListItem('- _foo_', now());
*
* @param {Object} ctx - Parser.
* @param {string} value - List-item.
* @param {Object} position - List-item location.
* @return {string} - Cleaned `value`.
*/function normalListItem(ctx,value,position){var offsets=ctx.offset;var line=position.line;var max;var bullet;var rest;var lines;var trimmedLines;var index;var length;/* Remove the list-items bullet. */value=value.replace(EXPRESSION_BULLET,function($0,$1,$2,$3,$4){bullet=$1+$2+$3;rest=$4;/* Make sure that the first nine numbered list items
* can indent with an extra space. That is, when
* the bullet did not receive an extra final space. */if(Number($2)<10&&bullet.length%2===1){$2=C_SPACE+$2;}max=$1+repeat(C_SPACE,$2.length)+$3;return max+rest;});lines=value.split(C_NEWLINE);trimmedLines=removeIndent(value,getIndent(max).indent).split(C_NEWLINE);/* We replaced the initial bullet with something
* else above, which was used to trick
* `removeIndentation` into removing some more
* characters when possible. However, that could
* result in the initial line to be stripped more
* than it should be. */trimmedLines[0]=rest;offsets[line]=(offsets[line]||0)+bullet.length;line++;index=0;length=lines.length;while(++index<length){offsets[line]=(offsets[line]||0)+lines[index].length-trimmedLines[index].length;line++;}return trimmedLines.join(C_NEWLINE);}
/***/ },
/* 1028 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:newline
* @fileoverview Tokenise a newline.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);/* Expose. */module.exports=newline;/**
* Tokenise newline.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {boolean?} - boolean in silent mode, nothing otherwise.
*/function newline(eat,value,silent){var character=value.charAt(0);var length;var subvalue;var queue;var index;if(character!=='\n'){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}index=1;length=value.length;subvalue=character;queue='';while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}queue+=character;if(character==='\n'){subvalue+=queue;queue='';}index++;}eat(subvalue);}
/***/ },
/* 1029 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:paragraph
* @fileoverview Tokenise a paragraph.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(100);var decimal=__webpack_require__(87);var trimTrailingLines=__webpack_require__(299);/* Expose. */module.exports=paragraph;/* Characters. */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';/* Constants. */var TAB_SIZE=4;/**
* Tokenise paragraph.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {boolean?} - boolean in silent mode, nothing otherwise.
*/function paragraph(eat,value,silent){var self=this;var settings=self.options;var commonmark=settings.commonmark;var gfm=settings.gfm;var tokenizers=self.blockTokenizers;var index=value.indexOf(C_NEWLINE);var length=value.length;var position;var subvalue;var character;var size;var now;while(index<length){/* Eat everything if theres no following newline. */if(index===-1){index=length;break;}/* Stop if the next character is NEWLINE. */if(value.charAt(index+1)===C_NEWLINE){break;}/* In commonmark-mode, following indented lines
* are part of the paragraph. */if(commonmark){size=0;position=index+1;while(position<length){character=value.charAt(position);if(character===C_TAB){size=TAB_SIZE;break;}else if(character===C_SPACE){size++;}else{break;}position++;}if(size>=TAB_SIZE){index=value.indexOf(C_NEWLINE,index+1);continue;}}/* Check if the following code contains a possible
* block. */subvalue=value.slice(index+1);if(tokenizers.thematicBreak.call(self,eat,subvalue,true)||tokenizers.atxHeading.call(self,eat,subvalue,true)||tokenizers.fencedCode.call(self,eat,subvalue,true)||tokenizers.blockquote.call(self,eat,subvalue,true)||tokenizers.html.call(self,eat,subvalue,true)){break;}/* Break if the following line starts a list, when
* already in a list, or when in commonmark, or when
* in gfm mode and the bullet is *not* numeric. */if(tokenizers.list.call(self,eat,subvalue,true)&&(self.inList||commonmark||gfm&&!decimal(trim.left(subvalue).charAt(0)))){break;}if(!commonmark&&(tokenizers.setextHeading.call(self,eat,subvalue,true)||tokenizers.definition.call(self,eat,subvalue,true)||tokenizers.footnote.call(self,eat,subvalue,true))){break;}position=index;index=value.indexOf(C_NEWLINE,index+1);if(index!==-1&&trim(value.slice(position,index))===''){index=position;break;}}subvalue=value.slice(0,index);if(trim(subvalue)===''){eat(subvalue);return null;}/* istanbul ignore if - never used (yet) */if(silent){return true;}now=eat.now();subvalue=trimTrailingLines(subvalue);return eat(subvalue)({type:'paragraph',children:self.tokenizeInline(subvalue,now)});}
/***/ },
/* 1030 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:reference
* @fileoverview Tokenise a reference.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);var locate=__webpack_require__(451);var normalize=__webpack_require__(266);/* Expose. */module.exports=reference;reference.locator=locate;/* Constants. */var T_LINK='link';var T_IMAGE='image';var T_FOOTNOTE='footnote';var REFERENCE_TYPE_SHORTCUT='shortcut';var REFERENCE_TYPE_COLLAPSED='collapsed';var REFERENCE_TYPE_FULL='full';var C_CARET='^';var C_BACKSLASH='\\';var C_BRACKET_OPEN='[';var C_BRACKET_CLOSE=']';/**
* Tokenise a reference.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `footnoteReference`,
* `linkReference`, or `imageReference` node.
*/function reference(eat,value,silent){var self=this;var character=value.charAt(0);var index=0;var length=value.length;var subvalue='';var intro='';var type=T_LINK;var referenceType=REFERENCE_TYPE_SHORTCUT;var content;var identifier;var now;var node;var exit;var queue;var bracketed;var depth;/* Check whether were eating an image. */if(character==='!'){type=T_IMAGE;intro=character;character=value.charAt(++index);}if(character!==C_BRACKET_OPEN){return;}index++;intro+=character;queue='';/* Check whether were eating a footnote. */if(self.options.footnotes&&type===T_LINK&&value.charAt(index)===C_CARET){intro+=C_CARET;index++;type=T_FOOTNOTE;}/* Eat the text. */depth=0;while(index<length){character=value.charAt(index);if(character===C_BRACKET_OPEN){bracketed=true;depth++;}else if(character===C_BRACKET_CLOSE){if(!depth){break;}depth--;}if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index);}queue+=character;index++;}subvalue=content=queue;character=value.charAt(index);if(character!==C_BRACKET_CLOSE){return;}index++;subvalue+=character;queue='';while(index<length){character=value.charAt(index);if(!whitespace(character)){break;}queue+=character;index++;}character=value.charAt(index);if(character===C_BRACKET_OPEN){identifier='';queue+=character;index++;while(index<length){character=value.charAt(index);if(character===C_BRACKET_OPEN||character===C_BRACKET_CLOSE){break;}if(character===C_BACKSLASH){identifier+=C_BACKSLASH;character=value.charAt(++index);}identifier+=character;index++;}character=value.charAt(index);if(character===C_BRACKET_CLOSE){referenceType=identifier?REFERENCE_TYPE_FULL:REFERENCE_TYPE_COLLAPSED;queue+=identifier+character;index++;}else{identifier='';}subvalue+=queue;queue='';}else{if(!content){return;}identifier=content;}/* Brackets cannot be inside the identifier. */if(referenceType!==REFERENCE_TYPE_FULL&&bracketed){return;}/* Inline footnotes cannot have an identifier. */if(type===T_FOOTNOTE&&referenceType!==REFERENCE_TYPE_SHORTCUT){type=T_LINK;intro=C_BRACKET_OPEN+C_CARET;content=C_CARET+content;}subvalue=intro+subvalue;if(type===T_LINK&&self.inLink){return null;}/* istanbul ignore if - never used (yet) */if(silent){return true;}if(type===T_FOOTNOTE&&content.indexOf(' ')!==-1){return eat(subvalue)({type:'footnote',children:this.tokenizeInline(content,eat.now())});}now=eat.now();now.column+=intro.length;now.offset+=intro.length;identifier=referenceType===REFERENCE_TYPE_FULL?identifier:content;node={type:type+'Reference',identifier:normalize(identifier)};if(type===T_LINK||type===T_IMAGE){node.referenceType=referenceType;}if(type===T_LINK){exit=self.enterLink();node.children=self.tokenizeInline(content,now);exit();}else if(type===T_IMAGE){node.alt=self.decode.raw(self.unescape(content),now)||null;}return eat(subvalue)(node);}
/***/ },
/* 1031 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:strong
* @fileoverview Tokenise strong.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(100);var whitespace=__webpack_require__(31);var locate=__webpack_require__(1006);/* Expose. */module.exports=strong;strong.locator=locate;/* Constants. */var C_ASTERISK='*';var C_UNDERSCORE='_';/**
* Tokenise strong.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `strong` node.
*/function strong(eat,value,silent){var self=this;var index=0;var character=value.charAt(index);var now;var pedantic;var marker;var queue;var subvalue;var length;var prev;if(character!==C_ASTERISK&&character!==C_UNDERSCORE||value.charAt(++index)!==character){return;}pedantic=self.options.pedantic;marker=character;subvalue=marker+marker;length=value.length;index++;queue=character='';if(pedantic&&whitespace(value.charAt(index))){return;}while(index<length){prev=character;character=value.charAt(index);if(character===marker&&value.charAt(index+1)===marker&&(!pedantic||!whitespace(prev))){character=value.charAt(index+2);if(character!==marker){if(!trim(queue)){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}now=eat.now();now.column+=2;now.offset+=2;return eat(subvalue+queue+subvalue)({type:'strong',children:self.tokenizeInline(queue,now)});}}if(!pedantic&&character==='\\'){queue+=character;character=value.charAt(++index);}queue+=character;index++;}}
/***/ },
/* 1032 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:table
* @fileoverview Tokenise a table.
*/'use strict';/* Dependencies. */var whitespace=__webpack_require__(31);/* Expose. */module.exports=table;table.notInList=true;/* Characters. */var C_BACKSLASH='\\';var C_TICK='`';var C_DASH='-';var C_PIPE='|';var C_COLON=':';var C_SPACE=' ';var C_NEWLINE='\n';var C_TAB='\t';/* Constants. */var MIN_TABLE_COLUMNS=2;var MIN_TABLE_ROWS=2;/* Available table alignments. */var TABLE_ALIGN_LEFT='left';var TABLE_ALIGN_CENTER='center';var TABLE_ALIGN_RIGHT='right';var TABLE_ALIGN_NONE=null;/**
* Tokenise a table.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `table` node.
*/function table(eat,value,silent){var self=this;var index;var alignments;var alignment;var subvalue;var row;var length;var lines;var queue;var character;var hasDash;var align;var cell;var preamble;var count;var opening;var now;var position;var lineCount;var line;var rows;var table;var lineIndex;var pipeIndex;var first;/* Exit when not in gfm-mode. */if(!self.options.gfm){return;}/* Get the rows.
* Detecting tables soon is hard, so there are some
* checks for performance here, such as the minimum
* number of rows, and allowed characters in the
* alignment row. */index=lineCount=0;length=value.length+1;lines=[];while(index<length){lineIndex=value.indexOf(C_NEWLINE,index);pipeIndex=value.indexOf(C_PIPE,index+1);if(lineIndex===-1){lineIndex=value.length;}if(pipeIndex===-1||pipeIndex>lineIndex){if(lineCount<MIN_TABLE_ROWS){return;}break;}lines.push(value.slice(index,lineIndex));lineCount++;index=lineIndex+1;}/* Parse the alignment row. */subvalue=lines.join(C_NEWLINE);alignments=lines.splice(1,1)[0]||[];index=0;length=alignments.length;lineCount--;alignment=false;align=[];while(index<length){character=alignments.charAt(index);if(character===C_PIPE){hasDash=null;if(alignment===false){if(first===false){return;}}else{align.push(alignment);alignment=false;}first=false;}else if(character===C_DASH){hasDash=true;alignment=alignment||TABLE_ALIGN_NONE;}else if(character===C_COLON){if(alignment===TABLE_ALIGN_LEFT){alignment=TABLE_ALIGN_CENTER;}else if(hasDash&&alignment===TABLE_ALIGN_NONE){alignment=TABLE_ALIGN_RIGHT;}else{alignment=TABLE_ALIGN_LEFT;}}else if(!whitespace(character)){return;}index++;}if(alignment!==false){align.push(alignment);}/* Exit when without enough columns. */if(align.length<MIN_TABLE_COLUMNS){return;}/* istanbul ignore if - never used (yet) */if(silent){return true;}/* Parse the rows. */position=-1;rows=[];table=eat(subvalue).reset({type:'table',align:align,children:rows});while(++position<lineCount){line=lines[position];row={type:'tableRow',children:[]};/* Eat a newline character when this is not the
* first row. */if(position){eat(C_NEWLINE);}/* Eat the row. */eat(line).reset(row,table);length=line.length+1;index=0;queue=cell='';preamble=true;count=opening=null;while(index<length){character=line.charAt(index);if(character===C_TAB||character===C_SPACE){if(cell){queue+=character;}else{eat(character);}index++;continue;}if(character===''||character===C_PIPE){if(preamble){eat(character);}else{if(character&&opening){queue+=character;index++;continue;}if((cell||character)&&!preamble){subvalue=cell;if(queue.length>1){if(character){subvalue+=queue.slice(0,queue.length-1);queue=queue.charAt(queue.length-1);}else{subvalue+=queue;queue='';}}now=eat.now();eat(subvalue)({type:'tableCell',children:self.tokenizeInline(cell,now)},row);}eat(queue+character);queue=cell='';}}else{if(queue){cell+=queue;queue='';}cell+=character;if(character===C_BACKSLASH&&index!==length-2){cell+=line.charAt(index+1);index++;}if(character===C_TICK){count=1;while(line.charAt(index+1)===character){cell+=character;index++;count++;}if(!opening){opening=count;}else if(count>=opening){opening=0;}}}preamble=false;index++;}/* Eat the alignment row. */if(!position){eat(C_NEWLINE+alignments);}}return table;}
/***/ },
/* 1033 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:text
* @fileoverview Tokenise text.
*/'use strict';/* Expose. */module.exports=text;/**
* Tokenise text.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `text` node.
*/function text(eat,value,silent){var self=this;var methods;var tokenizers;var index;var length;var subvalue;var position;var tokenizer;var name;var min;var now;/* istanbul ignore if - never used (yet) */if(silent){return true;}methods=self.inlineMethods;length=methods.length;tokenizers=self.inlineTokenizers;index=-1;min=value.length;while(++index<length){name=methods[index];if(name==='text'||!tokenizers[name]){continue;}tokenizer=tokenizers[name].locator;if(!tokenizer){eat.file.fail('Missing locator: `'+name+'`');}position=tokenizer.call(self,value,1);if(position!==-1&&position<min){min=position;}}subvalue=value.slice(0,min);now=eat.now();self.decode(subvalue,now,function(content,position,source){eat(source||content)({type:'text',value:content});});}
/***/ },
/* 1034 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:thematic-break
* @fileoverview Tokenise a thematic break.
*/'use strict';/* Expose. */module.exports=thematicBreak;/* Characters */var C_NEWLINE='\n';var C_TAB='\t';var C_SPACE=' ';var C_ASTERISK='*';var C_UNDERSCORE='_';var C_DASH='-';/* Constants. */var THEMATIC_BREAK_MARKER_COUNT=3;/**
* Tokenise a thematic break.
*
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `thematicBreak` node.
*/function thematicBreak(eat,value,silent){var index=-1;var length=value.length+1;var subvalue='';var character;var marker;var markerCount;var queue;while(++index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE){break;}subvalue+=character;}if(character!==C_ASTERISK&&character!==C_DASH&&character!==C_UNDERSCORE){return;}marker=character;subvalue+=character;markerCount=1;queue='';while(++index<length){character=value.charAt(index);if(character===marker){markerCount++;subvalue+=queue+marker;queue='';}else if(character===C_SPACE){queue+=character;}else if(markerCount>=THEMATIC_BREAK_MARKER_COUNT&&(!character||character===C_NEWLINE)){subvalue+=queue;if(silent){return true;}return eat(subvalue)({type:'thematicBreak'});}else{return;}}}
/***/ },
/* 1035 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:url
* @fileoverview Tokenise a URL.
*/'use strict';/* Dependencies. */var decode=__webpack_require__(236);var whitespace=__webpack_require__(31);var locate=__webpack_require__(1007);/* Expose. */module.exports=url;url.locator=locate;url.notInLink=true;/* Constants. */var C_BRACKET_OPEN='[';var C_BRACKET_CLOSE=']';var C_PAREN_OPEN='(';var C_PAREN_CLOSE=')';var C_LT='<';var C_AT_SIGN='@';/* Protocols. */var HTTP_PROTOCOL='http://';var HTTPS_PROTOCOL='https://';var MAILTO_PROTOCOL='mailto:';var PROTOCOLS=[HTTP_PROTOCOL,HTTPS_PROTOCOL,MAILTO_PROTOCOL];var PROTOCOLS_LENGTH=PROTOCOLS.length;/**
* Tokenise a link.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `link` node.
*/function url(eat,value,silent){var self=this;var subvalue;var content;var character;var index;var position;var protocol;var match;var length;var queue;var parenCount;var nextCharacter;var exit;if(!self.options.gfm){return;}subvalue='';index=-1;length=PROTOCOLS_LENGTH;while(++index<length){protocol=PROTOCOLS[index];match=value.slice(0,protocol.length);if(match.toLowerCase()===protocol){subvalue=match;break;}}if(!subvalue){return;}index=subvalue.length;length=value.length;queue='';parenCount=0;while(index<length){character=value.charAt(index);if(whitespace(character)||character===C_LT){break;}if(character==='.'||character===','||character===':'||character===';'||character==='"'||character==='\''||character===')'||character===']'){nextCharacter=value.charAt(index+1);if(!nextCharacter||whitespace(nextCharacter)){break;}}if(character===C_PAREN_OPEN||character===C_BRACKET_OPEN){parenCount++;}if(character===C_PAREN_CLOSE||character===C_BRACKET_CLOSE){parenCount--;if(parenCount<0){break;}}queue+=character;index++;}if(!queue){return;}subvalue+=queue;content=subvalue;if(protocol===MAILTO_PROTOCOL){position=queue.indexOf(C_AT_SIGN);if(position===-1||position===length-1){return;}content=content.substr(MAILTO_PROTOCOL.length);}/* istanbul ignore if - never used (yet) */if(silent){return true;}exit=self.enterLink();content=self.tokenizeInline(content,eat.now());exit();return eat(subvalue)({type:'link',title:null,url:decode(subvalue),children:content});}
/***/ },
/* 1036 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenize:yaml
* @fileoverview Tokenise YAML.
*/'use strict';/* Expose. */module.exports=yaml;yaml.onlyAtStart=true;/* Constants */var FENCE='---';var C_DASH='-';var C_NEWLINE='\n';/**
* Tokenise YAML.
*
* @property {Function} locator.
* @param {function(string)} eat - Eater.
* @param {string} value - Rest of content.
* @param {boolean?} [silent] - Whether this is a dry run.
* @return {Node?|boolean} - `yaml` node.
*/function yaml(eat,value,silent){var self=this;var subvalue;var content;var index;var length;var character;var queue;if(!self.options.yaml||value.charAt(0)!==C_DASH||value.charAt(1)!==C_DASH||value.charAt(2)!==C_DASH||value.charAt(3)!==C_NEWLINE){return;}subvalue=FENCE+C_NEWLINE;content=queue='';index=3;length=value.length;while(++index<length){character=value.charAt(index);if(character===C_DASH&&(queue||!content)&&value.charAt(index+1)===C_DASH&&value.charAt(index+2)===C_DASH){/* istanbul ignore if - never used (yet) */if(silent){return true;}subvalue+=queue+FENCE;return eat(subvalue)({type:'yaml',value:content});}if(character===C_NEWLINE){queue+=character;}else{subvalue+=queue+character;content+=queue+character;queue='';}}}
/***/ },
/* 1037 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:tokenizer
* @fileoverview Markdown tokenizer.
*/'use strict';/* Expose. */module.exports=factory;/* Define nodes of a type which can be merged. */var MERGEABLE_NODES={};/**
* Check whether a node is mergeable with adjacent nodes.
*
* @param {Object} node - Node to check.
* @return {boolean} - Whether `node` is mergable.
*/function mergeable(node){var start;var end;if(node.type!=='text'||!node.position){return true;}start=node.position.start;end=node.position.end;/* Only merge nodes which occupy the same size as their
* `value`. */return start.line!==end.line||end.column-start.column===node.value.length;}/**
* Merge two text nodes: `node` into `prev`.
*
* @param {Object} prev - Preceding sibling.
* @param {Object} node - Following sibling.
* @return {Object} - `prev`.
*/MERGEABLE_NODES.text=function(prev,node){prev.value+=node.value;return prev;};/**
* Merge two blockquotes: `node` into `prev`, unless in
* CommonMark mode.
*
* @param {Object} prev - Preceding sibling.
* @param {Object} node - Following sibling.
* @return {Object} - `prev`, or `node` in CommonMark mode.
*/MERGEABLE_NODES.blockquote=function(prev,node){if(this.options.commonmark){return node;}prev.children=prev.children.concat(node.children);return prev;};/**
* Construct a tokenizer. This creates both
* `tokenizeInline` and `tokenizeBlock`.
*
* @example
* Parser.prototype.tokenizeInline = tokenizeFactory('inline');
*
* @param {string} type - Name of parser, used to find
* its expressions (`%sMethods`) and tokenizers
* (`%Tokenizers`).
* @return {Function} - Tokenizer.
*/function factory(type){return tokenize;/**
* Tokenizer for a bound `type`
*
* @example
* parser = new Parser();
* parser.tokenizeInline('_foo_');
*
* @param {string} value - Content.
* @param {Object} location - Offset at which `value`
* starts.
* @return {Array.<Object>} - Nodes.
*/function tokenize(value,location){var self=this;var offset=self.offset;var tokens=[];var methods=self[type+'Methods'];var tokenizers=self[type+'Tokenizers'];var line=location.line;var column=location.column;var index;var length;var method;var name;var matched;var valueLength;/* Trim white space only lines. */if(!value){return tokens;}/* Expose on `eat`. */eat.now=now;eat.file=self.file;/* Sync initial offset. */updatePosition('');/* Iterate over `value`, and iterate over all
* tokenizers. When one eats something, re-iterate
* with the remaining value. If no tokenizer eats,
* something failed (should not happen) and an
* exception is thrown. */while(value){index=-1;length=methods.length;matched=false;while(++index<length){name=methods[index];method=tokenizers[name];if(method&&(!method.onlyAtStart||self.atStart)&&(!method.notInList||!self.inList)&&(!method.notInBlock||!self.inBlock)&&(!method.notInLink||!self.inLink)){valueLength=value.length;method.apply(self,[eat,value]);matched=valueLength!==value.length;if(matched){break;}}}/* istanbul ignore if */if(!matched){self.file.fail(new Error('Infinite loop'),eat.now());}}self.eof=now();return tokens;/**
* Update line, column, and offset based on
* `value`.
*
* @example
* updatePosition('foo');
*
* @param {string} subvalue - Subvalue to eat.
*/function updatePosition(subvalue){var lastIndex=-1;var index=subvalue.indexOf('\n');while(index!==-1){line++;lastIndex=index;index=subvalue.indexOf('\n',index+1);}if(lastIndex===-1){column+=subvalue.length;}else{column=subvalue.length-lastIndex;}if(line in offset){if(lastIndex!==-1){column+=offset[line];}else if(column<=offset[line]){column=offset[line]+1;}}}/**
* Get offset. Called before the first character is
* eaten to retrieve the range's offsets.
*
* @return {Function} - `done`, to be called when
* the last character is eaten.
*/function getOffset(){var indentation=[];var pos=line+1;/**
* Done. Called when the last character is
* eaten to retrieve the ranges offsets.
*
* @return {Array.<number>} - Offset.
*/return function(){var last=line+1;while(pos<last){indentation.push((offset[pos]||0)+1);pos++;}return indentation;};}/**
* Get the current position.
*
* @example
* position = now(); // {line: 1, column: 1, offset: 0}
*
* @return {Object} - Current Position.
*/function now(){var pos={line:line,column:column};pos.offset=self.toOffset(pos);return pos;}/**
* Store position information for a node.
*
* @example
* start = now();
* updatePosition('foo');
* location = new Position(start);
* // {
* // start: {line: 1, column: 1, offset: 0},
* // end: {line: 1, column: 3, offset: 2}
* // }
*
* @param {Object} start - Starting position.
*/function Position(start){this.start=start;this.end=now();}/**
* Throw when a value is incorrectly eaten.
* This shouldnt happen but will throw on new,
* incorrect rules.
*
* @example
* // When the current value is set to `foo bar`.
* validateEat('foo');
* eat('foo');
*
* validateEat('bar');
* // throws, because the space is not eaten.
*
* @param {string} subvalue - Value to be eaten.
* @throws {Error} - When `subvalue` cannot be eaten.
*/function validateEat(subvalue){/* istanbul ignore if */if(value.substring(0,subvalue.length)!==subvalue){/* Capture stack-trace. */self.file.fail(new Error('Incorrectly eaten value: please report this '+'warning on http://git.io/vg5Ft'),now());}}/**
* Mark position and patch `node.position`.
*
* @example
* var update = position();
* updatePosition('foo');
* update({});
* // {
* // position: {
* // start: {line: 1, column: 1, offset: 0},
* // end: {line: 1, column: 3, offset: 2}
* // }
* // }
*
* @returns {Function} - Updater.
*/function position(){var before=now();return update;/**
* Add the position to a node.
*
* @example
* update({type: 'text', value: 'foo'});
*
* @param {Node} node - Node to attach position
* on.
* @param {Array} [indent] - Indentation for
* `node`.
* @return {Node} - `node`.
*/function update(node,indent){var prev=node.position;var start=prev?prev.start:before;var combined=[];var n=prev&&prev.end.line;var l=before.line;node.position=new Position(start);/* If there was already a `position`, this
* node was merged. Fixing `start` wasnt
* hard, but the indent is different.
* Especially because some information, the
* indent between `n` and `l` wasnt
* tracked. Luckily, that space is
* (should be?) empty, so we can safely
* check for it now. */if(prev&&indent&&prev.indent){combined=prev.indent;if(n<l){while(++n<l){combined.push((offset[n]||0)+1);}combined.push(before.column);}indent=combined.concat(indent);}node.position.indent=indent||[];return node;}}/**
* Add `node` to `parent`s children or to `tokens`.
* Performs merges where possible.
*
* @example
* add({});
*
* add({}, {children: []});
*
* @param {Object} node - Node to add.
* @param {Object} [parent] - Parent to insert into.
* @return {Object} - Added or merged into node.
*/function add(node,parent){var children=parent?parent.children:tokens;var prev=children[children.length-1];if(prev&&node.type===prev.type&&node.type in MERGEABLE_NODES&&mergeable(prev)&&mergeable(node)){node=MERGEABLE_NODES[node.type].call(self,prev,node);}if(node!==prev){children.push(node);}if(self.atStart&&tokens.length!==0){self.exitStart();}return node;}/**
* Remove `subvalue` from `value`.
* `subvalue` must be at the start of `value`.
*
* @example
* eat('foo')({type: 'text', value: 'foo'});
*
* @param {string} subvalue - Removed from `value`,
* and passed to `updatePosition`.
* @return {Function} - Wrapper around `add`, which
* also adds `position` to node.
*/function eat(subvalue){var indent=getOffset();var pos=position();var current=now();validateEat(subvalue);apply.reset=reset;apply.test=reset.test=test;value=value.substring(subvalue.length);updatePosition(subvalue);indent=indent();return apply;/**
* Add the given arguments, add `position` to
* the returned node, and return the node.
*
* @param {Object} node - Node to add.
* @param {Object} [parent] - Node to insert into.
* @return {Node} - Added node.
*/function apply(node,parent){return pos(add(pos(node),parent),indent);}/**
* Functions just like apply, but resets the
* content: the line and column are reversed,
* and the eaten value is re-added.
*
* This is useful for nodes with a single
* type of content, such as lists and tables.
*
* See `apply` above for what parameters are
* expected.
*
* @return {Node} - Added node.
*/function reset(){var node=apply.apply(null,arguments);line=current.line;column=current.column;value=subvalue+value;return node;}/**
* Test the position, after eating, and reverse
* to a not-eaten state.
*
* @return {Position} - Position after eating `subvalue`.
*/function test(){var result=pos({});line=current.line;column=current.column;value=subvalue+value;return result.position;}}}}
/***/ },
/* 1038 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:unescape
* @fileoverview Unescape escapes.
*/'use strict';/* Expose. */module.exports=factory;/**
* Factory to de-escape a value, based on a list at `key`
* in `ctx`.
*
* @example
* var ctx = {escape: ['a']}
* var unescape = unescapeFactory(ctx, 'escape');
*
* @param {Object} ctx - List of escapable characters.
* @param {string} key - Key in `map` at which the list
* exists.
* @return {function(string): string} - Function which
* takes a value and returns its unescaped version.
*/function factory(ctx,key){return unescape;/**
* De-escape a string using the expression at `key`
* in `ctx`.
*
* @example
* var ctx = {escape: ['a']}
* var unescape = unescapeFactory(ctx, 'escape');
* unescape('\a \b'); // 'a \b'
*
* @param {string} value - Escaped string.
* @return {string} - Unescaped string.
*/function unescape(value){var prev=0;var index=value.indexOf('\\');var escape=ctx[key];var queue=[];var character;while(index!==-1){queue.push(value.slice(prev,index));prev=index+1;character=value.charAt(prev);/* If the following character is not a valid escape,
* add the slash. */if(!character||escape.indexOf(character)===-1){queue.push('\\');}index=value.indexOf('\\',prev);}queue.push(value.slice(prev));return queue.join('');}}
/***/ },
/* 1039 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse:util:remove-indentation
* @fileoverview Remove indentation.
*/'use strict';/* Dependencies. */var trim=__webpack_require__(100);var repeat=__webpack_require__(267);var getIndent=__webpack_require__(453);/* Expose. */module.exports=indentation;/* Characters. */var C_SPACE=' ';var C_NEWLINE='\n';var C_TAB='\t';/**
* Remove the minimum indent from every line in `value`.
* Supports both tab, spaced, and mixed indentation (as
* well as possible).
*
* @example
* removeIndentation(' foo'); // 'foo'
* removeIndentation(' foo', 2); // ' foo'
* removeIndentation('\tfoo', 2); // ' foo'
* removeIndentation(' foo\n bar'); // ' foo\n bar'
*
* @param {string} value - Value to trim.
* @param {number?} [maximum] - Maximum indentation
* to remove.
* @return {string} - Unindented `value`.
*/function indentation(value,maximum){var values=value.split(C_NEWLINE);var position=values.length+1;var minIndent=Infinity;var matrix=[];var index;var indentation;var stops;var padding;values.unshift(repeat(C_SPACE,maximum)+'!');while(position--){indentation=getIndent(values[position]);matrix[position]=indentation.stops;if(trim(values[position]).length===0){continue;}if(indentation.indent){if(indentation.indent>0&&indentation.indent<minIndent){minIndent=indentation.indent;}}else{minIndent=Infinity;break;}}if(minIndent!==Infinity){position=values.length;while(position--){stops=matrix[position];index=minIndent;while(index&&!(index in stops)){index--;}if(trim(values[position]).length!==0&&minIndent&&index!==minIndent){padding=C_TAB;}else{padding='';}values[position]=padding+values[position].slice(index in stops?stops[index]+1:0);}}values.shift();return values.join(C_NEWLINE);}
/***/ },
/* 1040 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var path=__webpack_require__(237);function replaceExt(npath,ext){if(typeof npath!=='string'){return npath;}if(npath.length===0){return npath;}var nFileName=path.basename(npath,path.extname(npath))+ext;return path.join(path.dirname(npath),nFileName);}module.exports=replaceExt;
/***/ },
/* 1041 */,
/* 1042 */,
/* 1043 */,
/* 1044 */,
/* 1045 */,
/* 1046 */,
/* 1047 */,
/* 1048 */,
/* 1049 */,
/* 1050 */,
/* 1051 */,
/* 1052 */,
/* 1053 */,
/* 1054 */,
/* 1055 */,
/* 1056 */,
/* 1057 */
/***/ function(module, exports) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};exports.__esModule=true;exports.defaultMemoize=defaultMemoize;exports.createSelectorCreator=createSelectorCreator;exports.createStructuredSelector=createStructuredSelector;function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}function defaultEqualityCheck(a,b){return a===b;}function defaultMemoize(func){var equalityCheck=arguments.length<=1||arguments[1]===undefined?defaultEqualityCheck:arguments[1];var lastArgs=null;var lastResult=null;return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}if(lastArgs===null||lastArgs.length!==args.length||!args.every(function(value,index){return equalityCheck(value,lastArgs[index]);})){lastResult=func.apply(undefined,args);}lastArgs=args;return lastResult;};}function getDependencies(funcs){var dependencies=Array.isArray(funcs[0])?funcs[0]:funcs;if(!dependencies.every(function(dep){return typeof dep==='function';})){var dependencyTypes=dependencies.map(function(dep){return typeof dep==='undefined'?'undefined':_typeof(dep);}).join(', ');throw new Error('Selector creators expect all input-selectors to be functions, '+('instead received the following types: ['+dependencyTypes+']'));}return dependencies;}function createSelectorCreator(memoize){for(var _len2=arguments.length,memoizeOptions=Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++){memoizeOptions[_key2-1]=arguments[_key2];}return function(){for(var _len3=arguments.length,funcs=Array(_len3),_key3=0;_key3<_len3;_key3++){funcs[_key3]=arguments[_key3];}var recomputations=0;var resultFunc=funcs.pop();var dependencies=getDependencies(funcs);var memoizedResultFunc=memoize.apply(undefined,[function(){recomputations++;return resultFunc.apply(undefined,arguments);}].concat(memoizeOptions));var selector=function selector(state,props){for(var _len4=arguments.length,args=Array(_len4>2?_len4-2:0),_key4=2;_key4<_len4;_key4++){args[_key4-2]=arguments[_key4];}var params=dependencies.map(function(dependency){return dependency.apply(undefined,[state,props].concat(args));});return memoizedResultFunc.apply(undefined,_toConsumableArray(params));};selector.resultFunc=resultFunc;selector.recomputations=function(){return recomputations;};selector.resetRecomputations=function(){return recomputations=0;};return selector;};}var createSelector=exports.createSelector=createSelectorCreator(defaultMemoize);function createStructuredSelector(selectors){var selectorCreator=arguments.length<=1||arguments[1]===undefined?createSelector:arguments[1];if((typeof selectors==='undefined'?'undefined':_typeof(selectors))!=='object'){throw new Error('createStructuredSelector expects first argument to be an object '+('where each property is a selector, instead received a '+(typeof selectors==='undefined'?'undefined':_typeof(selectors))));}var objectKeys=Object.keys(selectors);return selectorCreator(objectKeys.map(function(key){return selectors[key];}),function(){for(var _len5=arguments.length,values=Array(_len5),_key5=0;_key5<_len5;_key5++){values[_key5]=arguments[_key5];}return values.reduce(function(composition,value,index){composition[objectKeys[index]]=value;return composition;},{});});}
/***/ },
/* 1058 */,
/* 1059 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Button=__webpack_require__(272);var _Button2=_interopRequireDefault(_Button);var _Modal=__webpack_require__(521);var _Modal2=_interopRequireDefault(_Modal);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A Confirm modal gives the user a choice to confirm or cancel an action
* @see Modal
*/function Confirm(props){var open=props.open,cancelButton=props.cancelButton,confirmButton=props.confirmButton,header=props.header,content=props.content,onConfirm=props.onConfirm,onCancel=props.onCancel;var rest=(0,_lib.getUnhandledProps)(Confirm,props);// `open` is auto controlled by the Modal
// It cannot be present (even undefined) with `defaultOpen`
// only apply it if the user provided an open prop
var openProp={};if((0,_has3.default)(props,'open'))openProp.open=open;return _react2.default.createElement(_Modal2.default,_extends({},openProp,{size:'small',onClose:onCancel},rest),header&&_react2.default.createElement(_Modal2.default.Header,null,header),content&&_react2.default.createElement(_Modal2.default.Content,null,content),_react2.default.createElement(_Modal2.default.Actions,null,_react2.default.createElement(_Button2.default,{onClick:onCancel},cancelButton),_react2.default.createElement(_Button2.default,{primary:true,onClick:onConfirm},confirmButton)));}Confirm._meta={name:'Confirm',type:_lib.META.TYPES.ADDON};Confirm.propTypes={/** Whether or not the modal is visible */open:_react.PropTypes.bool,/** The cancel button text */cancelButton:_react.PropTypes.string,/** The OK button text */confirmButton:_react.PropTypes.string,/** The ModalHeader text */header:_react.PropTypes.string,/** The ModalContent text. */content:_react.PropTypes.string,/** Called when the OK button is clicked */onConfirm:_react.PropTypes.func,/** Called when the Cancel button is clicked */onCancel:_react.PropTypes.func};Confirm.defaultProps={cancelButton:'Cancel',confirmButton:'OK',content:'Are you sure?'};exports.default=Confirm;
/***/ },
/* 1060 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Confirm=__webpack_require__(1059);var _Confirm2=_interopRequireDefault(_Confirm);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Confirm2.default;
/***/ },
/* 1061 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _invoke2=__webpack_require__(386);var _invoke3=_interopRequireDefault(_invoke2);var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactDom=__webpack_require__(303);var _reactDom2=_interopRequireDefault(_reactDom);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var debug=(0,_lib.makeDebugger)('portal');var _meta={name:'Portal',type:_lib.META.TYPES.ADDON};/**
* A component that allows you to render children outside their parent.
* @see Modal
*/var Portal=function(_Component){_inherits(Portal,_Component);function Portal(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Portal);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Portal.__proto__||Object.getPrototypeOf(Portal)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.handleDocumentClick=function(e){var _this$props=_this.props,closeOnDocumentClick=_this$props.closeOnDocumentClick,closeOnRootNodeClick=_this$props.closeOnRootNodeClick;// If not mounted, no portal, or event happened in the portal, ignore it
if(!_this.node||!_this.portal||_this.portal.contains(e.target))return;if(closeOnDocumentClick||closeOnRootNodeClick&&_this.node.contains(e.target)){debug('handleDocumentClick()');e.stopPropagation();_this.close(e);}},_this.handleEscape=function(e){if(!_this.props.closeOnEscape)return;if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Escape)return;debug('handleEscape()');e.preventDefault();_this.close(e);},_this.handlePortalMouseLeave=function(e){var _this$props2=_this.props,closeOnPortalMouseLeave=_this$props2.closeOnPortalMouseLeave,mouseLeaveDelay=_this$props2.mouseLeaveDelay;if(!closeOnPortalMouseLeave)return;debug('handlePortalMouseLeave()');_this.mouseLeaveTimer=_this.closeWithTimeout(e,mouseLeaveDelay);},_this.handlePortalMouseOver=function(e){// In order to enable mousing from the trigger to the portal, we need to
// clear the mouseleave timer that was set when leaving the trigger.
var closeOnPortalMouseLeave=_this.props.closeOnPortalMouseLeave;if(!closeOnPortalMouseLeave)return;debug('handlePortalMouseOver()');clearTimeout(_this.mouseLeaveTimer);},_this.handleTriggerBlur=function(e){var _this$props3=_this.props,trigger=_this$props3.trigger,closeOnTriggerBlur=_this$props3.closeOnTriggerBlur;// Call original event handler
(0,_invoke3.default)(trigger,'props.onBlur',e);if(!closeOnTriggerBlur)return;debug('handleTriggerBlur()');_this.close(e);},_this.handleTriggerClick=function(e){var _this$props4=_this.props,trigger=_this$props4.trigger,closeOnTriggerClick=_this$props4.closeOnTriggerClick,openOnTriggerClick=_this$props4.openOnTriggerClick;var open=_this.state.open;// Call original event handler
(0,_invoke3.default)(trigger,'props.onClick',e);if(open&&closeOnTriggerClick){debug('handleTriggerClick() - close');e.stopPropagation();_this.close(e);}else if(!open&&openOnTriggerClick){debug('handleTriggerClick() - open');e.stopPropagation();_this.open(e);}// Prevents handleDocumentClick from closing the portal when
// openOnTriggerFocus is set. Focus shifts on mousedown so the portal opens
// before the click finishes so it may actually wind up on the document.
e.nativeEvent.stopImmediatePropagation();},_this.handleTriggerFocus=function(e){var _this$props5=_this.props,trigger=_this$props5.trigger,openOnTriggerFocus=_this$props5.openOnTriggerFocus;// Call original event handler
(0,_invoke3.default)(trigger,'props.onFocus',e);if(!openOnTriggerFocus)return;debug('handleTriggerFocus()');_this.open(e);},_this.handleTriggerMouseLeave=function(e){clearTimeout(_this.mouseOverTimer);var _this$props6=_this.props,trigger=_this$props6.trigger,closeOnTriggerMouseLeave=_this$props6.closeOnTriggerMouseLeave,mouseLeaveDelay=_this$props6.mouseLeaveDelay;// Call original event handler
(0,_invoke3.default)(trigger,'props.onMouseLeave',e);if(!closeOnTriggerMouseLeave)return;debug('handleTriggerMouseLeave()');_this.mouseLeaveTimer=_this.closeWithTimeout(e,mouseLeaveDelay);},_this.handleTriggerMouseOver=function(e){clearTimeout(_this.mouseLeaveTimer);var _this$props7=_this.props,trigger=_this$props7.trigger,mouseOverDelay=_this$props7.mouseOverDelay,openOnTriggerMouseOver=_this$props7.openOnTriggerMouseOver;// Call original event handler
(0,_invoke3.default)(trigger,'props.onMouseOver',e);if(!openOnTriggerMouseOver)return;debug('handleTriggerMouseOver()');_this.mouseOverTimer=_this.openWithTimeout(e,mouseOverDelay);},_this.open=function(e){debug('open()');var onOpen=_this.props.onOpen;if(onOpen)onOpen(e,_this.props);_this.trySetState({open:true});},_this.openWithTimeout=function(e,delay){// React wipes the entire event object and suggests using e.persist() if
// you need the event for async access. However, even with e.persist
// certain required props (e.g. currentTarget) are null so we're forced to clone.
var eventClone=_extends({},e);return setTimeout(function(){return _this.open(eventClone);},delay||0);},_this.close=function(e){debug('close()');var onClose=_this.props.onClose;if(onClose)onClose(e,_this.props);_this.trySetState({open:false});},_this.closeWithTimeout=function(e,delay){// React wipes the entire event object and suggests using e.persist() if
// you need the event for async access. However, even with e.persist
// certain required props (e.g. currentTarget) are null so we're forced to clone.
var eventClone=_extends({},e);return setTimeout(function(){return _this.close(eventClone);},delay||0);},_this.mountPortal=function(){if(!_lib.isBrowser||_this.node)return;debug('mountPortal()');var _this$props8=_this.props,mountNode=_this$props8.mountNode,prepend=_this$props8.prepend;_this.node=document.createElement('div');if(prepend){mountNode.insertBefore(_this.node,mountNode.firstElementChild);}else{mountNode.appendChild(_this.node);}document.addEventListener('click',_this.handleDocumentClick);document.addEventListener('keydown',_this.handleEscape);var onMount=_this.props.onMount;if(onMount)onMount(null,_this.props);},_this.unmountPortal=function(){if(!_lib.isBrowser||!_this.node)return;debug('unmountPortal()');_reactDom2.default.unmountComponentAtNode(_this.node);_this.node.parentNode.removeChild(_this.node);_this.portal.removeEventListener('mouseleave',_this.handlePortalMouseLeave);_this.portal.removeEventListener('mouseover',_this.handlePortalMouseOver);_this.node=null;_this.portal=null;document.removeEventListener('click',_this.handleDocumentClick);document.removeEventListener('keydown',_this.handleEscape);var onUnmount=_this.props.onUnmount;if(onUnmount)onUnmount(null,_this.props);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Portal,[{key:'componentDidMount',value:function componentDidMount(){this.renderPortal();}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps,prevState){// NOTE: Ideally the portal rendering would happen in the render() function
// but React gives a warning about not being pure and suggests doing it
// within this method.
// If the portal is open, render (or re-render) the portal and child.
this.renderPortal();if(prevState.open&&!this.state.open){debug('portal closed');this.unmountPortal();}}},{key:'componentWillUnmount',value:function componentWillUnmount(){this.unmountPortal();// Clean up timers
clearTimeout(this.mouseOverTimer);clearTimeout(this.mouseLeaveTimer);}// ----------------------------------------
// Document Event Handlers
// ----------------------------------------
// ----------------------------------------
// Component Event Handlers
// ----------------------------------------
// ----------------------------------------
// Behavior
// ----------------------------------------
},{key:'renderPortal',value:function renderPortal(){if(!this.state.open)return;debug('renderPortal()');var _props=this.props,children=_props.children,className=_props.className;this.mountPortal();// Server side rendering
if(!_lib.isBrowser)return null;this.node.className=className||'';// when re-rendering, first remove listeners before re-adding them to the new node
if(this.portal){this.portal.removeEventListener('mouseleave',this.handlePortalMouseLeave);this.portal.removeEventListener('mouseover',this.handlePortalMouseOver);}_reactDom2.default.unstable_renderSubtreeIntoContainer(this,_react.Children.only(children),this.node);this.portal=this.node.firstElementChild;this.portal.addEventListener('mouseleave',this.handlePortalMouseLeave);this.portal.addEventListener('mouseover',this.handlePortalMouseOver);}},{key:'render',value:function render(){var trigger=this.props.trigger;if(!trigger)return null;return _react2.default.cloneElement(trigger,{onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onMouseLeave:this.handleTriggerMouseLeave,onMouseOver:this.handleTriggerMouseOver});}}]);return Portal;}(_lib.AutoControlledComponent);Portal.propTypes={/** Primary content. */children:_react.PropTypes.node.isRequired,/** Additional classes. */className:_react.PropTypes.string,/**
* Controls whether or not the portal should close on a click on the portal background.
* NOTE: This differs from closeOnDocumentClick:
* - DocumentClick - any click not within the portal
* - RootNodeClick - a click not within the portal but within the portal's wrapper
*/closeOnRootNodeClick:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['closeOnDocumentClick']),_react.PropTypes.bool]),/** Controls whether or not the portal should close on a click outside. */closeOnDocumentClick:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['closeOnRootNodeClick']),_react.PropTypes.bool]),/** Controls whether or not the portal should close when escape is pressed is displayed. */closeOnEscape:_react.PropTypes.bool,/**
* Controls whether or not the portal should close when mousing out of the portal.
* NOTE: This will prevent `closeOnTriggerMouseLeave` when mousing over the
* gap from the trigger to the portal.
*/closeOnPortalMouseLeave:_react.PropTypes.bool,/** Controls whether or not the portal should close on blur of the trigger. */closeOnTriggerBlur:_react.PropTypes.bool,/** Controls whether or not the portal should close on click of the trigger. */closeOnTriggerClick:_react.PropTypes.bool,/** Controls whether or not the portal should close when mousing out of the trigger. */closeOnTriggerMouseLeave:_react.PropTypes.bool,/** Initial value of open. */defaultOpen:_react.PropTypes.bool,/** The node where the portal should mount. */mountNode:_react.PropTypes.any,/** Milliseconds to wait before closing on mouse leave */mouseLeaveDelay:_react.PropTypes.number,/** Milliseconds to wait before opening on mouse over */mouseOverDelay:_react.PropTypes.number,/** Called when a close event happens */onClose:_react.PropTypes.func,/** Called when the portal is mounted on the DOM */onMount:_react.PropTypes.func,/** Called when an open event happens */onOpen:_react.PropTypes.func,/** Called when the portal is unmounted from the DOM */onUnmount:_react.PropTypes.func,/** Controls whether or not the portal is displayed. */open:_react.PropTypes.bool,/** Controls whether or not the portal should open when the trigger is clicked. */openOnTriggerClick:_react.PropTypes.bool,/** Controls whether or not the portal should open on focus of the trigger. */openOnTriggerFocus:_react.PropTypes.bool,/** Controls whether or not the portal should open when mousing over the trigger. */openOnTriggerMouseOver:_react.PropTypes.bool,/** Controls whether the portal should be prepended to the mountNode instead of appended. */prepend:_react.PropTypes.bool,/** Element to be rendered in-place where the portal is defined. */trigger:_react.PropTypes.node};Portal.defaultProps={closeOnDocumentClick:true,closeOnEscape:true,openOnTriggerClick:true,mountNode:_lib.isBrowser?document.body:null};Portal.autoControlledProps=['open'];Portal._meta=_meta;exports.default=Portal;
/***/ },
/* 1062 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Checkbox=__webpack_require__(192);var _Checkbox2=_interopRequireDefault(_Checkbox);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A Radio is sugar for <Checkbox radio />.
* Useful for exclusive groups of sliders or toggles.
* @see Checkbox
* @see Form
*/function Radio(props){var slider=props.slider,toggle=props.toggle,type=props.type;var rest=(0,_lib.getUnhandledProps)(Radio,props);// const ElementType = getElementType(Radio, props)
// radio, slider, toggle are exclusive
// use an undefined radio if slider or toggle are present
var radio=!(slider||toggle)||undefined;return _react2.default.createElement(_Checkbox2.default,_extends({},rest,{type:type,radio:radio,slider:slider,toggle:toggle}));}Radio._meta={name:'Radio',type:_lib.META.TYPES.ADDON,props:{type:_Checkbox2.default._meta.props.type}};Radio.propTypes={/** Format to emphasize the current selection state */slider:_Checkbox2.default.propTypes.slider,/** Format to show an on or off choice */toggle:_Checkbox2.default.propTypes.toggle,/** HTML input type, either checkbox or radio. */type:_react.PropTypes.oneOf(Radio._meta.props.type)};Radio.defaultProps={type:'radio'};exports.default=Radio;
/***/ },
/* 1063 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Dropdown=__webpack_require__(280);var _Dropdown2=_interopRequireDefault(_Dropdown);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A Select is sugar for <Dropdown selection />.
* @see Dropdown
* @see Form
*/function Select(props){return _react2.default.createElement(_Dropdown2.default,_extends({},props,{selection:true}));}Select._meta={name:'Select',type:_lib.META.TYPES.ADDON};exports.default=Select;
/***/ },
/* 1064 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* A simple <textarea> wrapper for use in Form.TextArea.
* We may add more features to the TextArea in the future.
* @see Form
*/var TextArea=function(_Component){_inherits(TextArea,_Component);function TextArea(){var _ref;var _temp,_this,_ret;_classCallCheck(this,TextArea);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=TextArea.__proto__||Object.getPrototypeOf(TextArea)).call.apply(_ref,[this].concat(args))),_this),_this.handleChange=function(e){var onChange=_this.props.onChange;if(onChange){onChange(e,_extends({},_this.props,{value:e.target&&e.target.value}));}},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(TextArea,[{key:'render',value:function render(){var rest=(0,_lib.getUnhandledProps)(TextArea,this.props);var ElementType=(0,_lib.getElementType)(TextArea,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{onChange:this.handleChange}));}}]);return TextArea;}(_react.Component);TextArea._meta={name:'TextArea',type:_lib.META.TYPES.ADDON};TextArea.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/**
* Called on change.
* @param {SyntheticEvent} event - The React SyntheticEvent object
* @param {object} data - All props and the event value.
*/onChange:_react.PropTypes.func};TextArea.defaultProps={as:'textarea'};exports.default=TextArea;
/***/ },
/* 1065 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _each2=__webpack_require__(163);var _each3=_interopRequireDefault(_each2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _BreadcrumbDivider=__webpack_require__(466);var _BreadcrumbDivider2=_interopRequireDefault(_BreadcrumbDivider);var _BreadcrumbSection=__webpack_require__(467);var _BreadcrumbSection2=_interopRequireDefault(_BreadcrumbSection);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A breadcrumb is used to show hierarchy between content.
*/function Breadcrumb(props){var children=props.children,className=props.className,divider=props.divider,icon=props.icon,size=props.size,sections=props.sections;var classes=(0,_classnames2.default)('ui',className,size,'breadcrumb');var rest=(0,_lib.getUnhandledProps)(Breadcrumb,props);var ElementType=(0,_lib.getElementType)(Breadcrumb,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var childElements=[];(0,_each3.default)(sections,function(section,index){// section
var breadcrumbSection=_BreadcrumbSection2.default.create(section);childElements.push(breadcrumbSection);// divider
if(index!==sections.length-1){// TODO generate a key from breadcrumbSection.props once this is merged:
// https://github.com/Semantic-Org/Semantic-UI-React/pull/645
//
// Stringify the props of the section as the divider key.
//
// Section: { content: 'Home', link: true, onClick: handleClick }
// Divider key: content=Home|link=true|onClick=handleClick
var key=void 0;if(section.key){key=section.key+'_divider';}else{key=(0,_map3.default)(breadcrumbSection.props,function(v,k){return k+'='+(typeof v==='function'?v.name||'func':v);}).join('|');}childElements.push(_BreadcrumbDivider2.default.create({content:divider,icon:icon,key:key}));}});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),childElements);}Breadcrumb._meta={name:'Breadcrumb',type:_lib.META.TYPES.COLLECTION,props:{size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};Breadcrumb.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content of the Breadcrumb.Divider. */divider:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['icon']),_lib.customPropTypes.contentShorthand]),/** For use with the sections prop. Render as an `Icon` component with `divider` class instead of a `div` in
* Breadcrumb.Divider. */icon:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['divider']),_lib.customPropTypes.itemShorthand]),/** Shorthand array of props for Breadcrumb.Section. */sections:_lib.customPropTypes.collectionShorthand,/** Size of Breadcrumb */size:_react.PropTypes.oneOf(Breadcrumb._meta.props.size)};Breadcrumb.Divider=_BreadcrumbDivider2.default;Breadcrumb.Section=_BreadcrumbSection2.default;exports.default=Breadcrumb;
/***/ },
/* 1066 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Breadcrumb=__webpack_require__(1065);var _Breadcrumb2=_interopRequireDefault(_Breadcrumb);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Breadcrumb2.default;
/***/ },
/* 1067 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _find2=__webpack_require__(231);var _find3=_interopRequireDefault(_find2);var _filter2=__webpack_require__(230);var _filter3=_interopRequireDefault(_filter2);var _each2=__webpack_require__(163);var _each3=_interopRequireDefault(_each2);var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FormButton=__webpack_require__(468);var _FormButton2=_interopRequireDefault(_FormButton);var _FormCheckbox=__webpack_require__(469);var _FormCheckbox2=_interopRequireDefault(_FormCheckbox);var _FormDropdown=__webpack_require__(470);var _FormDropdown2=_interopRequireDefault(_FormDropdown);var _FormField=__webpack_require__(52);var _FormField2=_interopRequireDefault(_FormField);var _FormGroup=__webpack_require__(471);var _FormGroup2=_interopRequireDefault(_FormGroup);var _FormInput=__webpack_require__(472);var _FormInput2=_interopRequireDefault(_FormInput);var _FormRadio=__webpack_require__(473);var _FormRadio2=_interopRequireDefault(_FormRadio);var _FormSelect=__webpack_require__(474);var _FormSelect2=_interopRequireDefault(_FormSelect);var _FormTextArea=__webpack_require__(475);var _FormTextArea2=_interopRequireDefault(_FormTextArea);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var debug=(0,_lib.makeDebugger)('form');var getNodeName=function getNodeName(_ref){var name=_ref.name;return name;};var debugSerializedResult=function debugSerializedResult(){return undefined;};if(process.NODE_ENV!=='production'){// debug serialized values
debugSerializedResult=function debugSerializedResult(json,name,node){debug('serialized '+JSON.stringify(_defineProperty({},name,json[name]))+' from:',node);};// warn about form nodes missing a "name"
getNodeName=function getNodeName(node){var name=node.name;if(!name){var errorMessage=['Encountered a form control node without a name attribute.','Each node in a group should have a name.','Otherwise, the node will serialize as { "undefined": <value> }.'].join(' ');console.error(errorMessage,node);// eslint-disable-line no-console
}return name;};}function formSerializer(formNode){debug('formSerializer()');var json={};// handle empty formNode ref
if(!formNode)return json;// ----------------------------------------
// Checkboxes
// Single: { name: value|bool }
// Group: { name: [value|bool, ...] }
(0,_each3.default)(formNode.querySelectorAll('input[type="checkbox"]'),function(node,index,arr){var name=getNodeName(node);var checkboxesByName=(0,_filter3.default)(arr,{name:name});// single: (value|checked)
if(checkboxesByName.length===1){json[name]=node.checked&&node.value!=='on'?node.value:node.checked;debugSerializedResult(json,name,node);return;}// groups (checked): [value, ...]
if(!Array.isArray(json[name]))json[name]=[];if(node.checked)json[name].push(node.value);debugSerializedResult(json,name,node);// in dev, warn about multiple checkboxes with a default browser value of "on"
if(process.NODE_ENV!=='production'&&node.value==='on'){var errorMessage=["Encountered a checkbox in a group with the default browser value 'on'.",'Each checkbox in a group should have a unique value.',"Otherwise, the checkbox value will serialize as ['on', ...]."].join(' ');console.error(errorMessage,node,formNode);// eslint-disable-line no-console
}});// ----------------------------------------
// Radios
// checked: { name: checked value }
// none: { name: null }
(0,_each3.default)(formNode.querySelectorAll('input[type="radio"]'),function(node,index,arr){var name=getNodeName(node);var checkedRadio=(0,_find3.default)(arr,{name:name,checked:true});if(checkedRadio){json[name]=checkedRadio.value;}else{json[name]=null;}debugSerializedResult(json,name,node);// in dev, warn about radios with a default browser value of "on"
if(process.NODE_ENV!=='production'&&node.value==='on'){var errorMessage=["Encountered a radio with the default browser value 'on'.",'Each radio should have a unique value.',"Otherwise, the radio value will serialize as { [name]: 'on' }."].join(' ');console.error(errorMessage,node,formNode);// eslint-disable-line no-console
}});// ----------------------------------------
// Other inputs
// { name: value }
(0,_each3.default)(formNode.querySelectorAll('input:not([type="radio"]):not([type="checkbox"])'),function(node){var name=getNodeName(node);json[name]=node.value;debugSerializedResult(json,name,node);});// ----------------------------------------
// Other inputs and text areas
// { name: value }
(0,_each3.default)(formNode.querySelectorAll('textarea'),function(node){var name=getNodeName(node);json[name]=node.value;debugSerializedResult(json,name,node);});// ----------------------------------------
// Selects
// single: { name: value }
// multiple: { name: [value, ...] }
(0,_each3.default)(formNode.querySelectorAll('select'),function(node){var name=getNodeName(node);if(node.multiple){json[name]=(0,_map3.default)((0,_filter3.default)(node.querySelectorAll('option'),'selected'),'value');}else{json[name]=node.value;}debugSerializedResult(json,name,node);});return json;}var _meta={name:'Form',type:_lib.META.TYPES.COLLECTION,props:{widths:['equal'],size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};/**
* A Form displays a set of related user input fields in a structured way.
* @see Button
* @see Checkbox
* @see Dropdown
* @see Input
* @see Message
* @see Radio
* @see Select
* @see TextArea
*/var Form=function(_Component){_inherits(Form,_Component);function Form(){var _ref2;var _temp,_this,_ret;_classCallCheck(this,Form);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref2=Form.__proto__||Object.getPrototypeOf(Form)).call.apply(_ref2,[this].concat(args))),_this),_this._form=null,_this.handleRef=function(c){return _this._form=_this._form||c;},_this.handleSubmit=function(e){var _this$props=_this.props,onSubmit=_this$props.onSubmit,serializer=_this$props.serializer;if(onSubmit)onSubmit(e,serializer(_this._form));},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Form,[{key:'render',value:function render(){var _props=this.props,children=_props.children,className=_props.className,error=_props.error,loading=_props.loading,reply=_props.reply,size=_props.size,success=_props.success,warning=_props.warning,widths=_props.widths;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useKeyOnly)(reply,'reply'),(0,_lib.useKeyOnly)(success,'success'),(0,_lib.useKeyOnly)(warning,'warning'),(0,_lib.useWidthProp)(widths,null,true),'form',className);var rest=(0,_lib.getUnhandledProps)(Form,this.props);var ElementType=(0,_lib.getElementType)(Form,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,ref:this.handleRef,onSubmit:this.handleSubmit}),children);}}]);return Form;}(_react.Component);Form.defaultProps={as:'form',serializer:formSerializer};Form.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Automatically show any error Message children */error:_react.PropTypes.bool,/** Automatically show a loading indicator */loading:_react.PropTypes.bool,/** Called with (event, jsonSerializedForm) on submit */onSubmit:_react.PropTypes.func,/** A comment can contain a form to reply to a comment. This may have arbitrary content. */reply:_react.PropTypes.bool,/** Called onSubmit with the form node that returns the serialized form object */serializer:_react.PropTypes.func,/** A form can vary in size */size:_react.PropTypes.oneOf(_meta.props.size),/** Automatically show any success Message children */success:_react.PropTypes.bool,/** Automatically show any warning Message children */warning:_react.PropTypes.bool,/** Forms can automatically divide fields to be equal width */widths:_react.PropTypes.oneOf(_meta.props.widths)};Form._meta=_meta;Form.Field=_FormField2.default;Form.Button=_FormButton2.default;Form.Checkbox=_FormCheckbox2.default;Form.Dropdown=_FormDropdown2.default;Form.Group=_FormGroup2.default;Form.Input=_FormInput2.default;Form.Radio=_FormRadio2.default;Form.Select=_FormSelect2.default;Form.TextArea=_FormTextArea2.default;exports.default=Form;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 1068 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Form=__webpack_require__(1067);var _Form2=_interopRequireDefault(_Form);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Form2.default;
/***/ },
/* 1069 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _GridColumn=__webpack_require__(476);var _GridColumn2=_interopRequireDefault(_GridColumn);var _GridRow=__webpack_require__(477);var _GridRow2=_interopRequireDefault(_GridRow);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}/**
* A grid is used to harmonize negative space in a layout.
*/function Grid(props){var celled=props.celled,centered=props.centered,children=props.children,className=props.className,columns=props.columns,divided=props.divided,doubling=props.doubling,padded=props.padded,relaxed=props.relaxed,reversed=props.reversed,stackable=props.stackable,stretched=props.stretched,textAlign=props.textAlign,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(centered,'centered'),(0,_lib.useKeyOnly)(doubling,'doubling'),(0,_lib.useKeyOnly)(stackable,'stackable'),(0,_lib.useKeyOnly)(stretched,'stretched'),(0,_lib.useKeyOrValueAndKey)(celled,'celled'),(0,_lib.useKeyOrValueAndKey)(divided,'divided'),(0,_lib.useKeyOrValueAndKey)(padded,'padded'),(0,_lib.useKeyOrValueAndKey)(relaxed,'relaxed'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useValueAndKey)(reversed,'reversed'),(0,_lib.useVerticalAlignProp)(verticalAlign),(0,_lib.useWidthProp)(columns,'column',true),'grid',className);var rest=(0,_lib.getUnhandledProps)(Grid,props);var ElementType=(0,_lib.getElementType)(Grid,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Grid.Column=_GridColumn2.default;Grid.Row=_GridRow2.default;Grid._meta={name:'Grid',type:_lib.META.TYPES.COLLECTION,props:{celled:['internally'],columns:[].concat(_toConsumableArray(_lib.SUI.WIDTHS),['equal']),divided:['vertically'],padded:['horizontally','vertically'],relaxed:['very'],reversed:['computer','computer vertically','mobile','mobile vertically','tablet','tablet vertically'],textAlign:_lib.SUI.TEXT_ALIGNMENTS,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};Grid.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A grid can have rows divided into cells. */celled:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Grid._meta.props.celled)]),/** A grid can have its columns centered. */centered:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Represents column count per row in Grid. */columns:_react.PropTypes.oneOf(Grid._meta.props.columns),/** A grid can have dividers between its columns. */divided:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Grid._meta.props.divided)]),/** A grid can double its column width on tablet and mobile sizes. */doubling:_react.PropTypes.bool,/** A grid can preserve its vertical and horizontal gutters on first and last columns. */padded:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Grid._meta.props.padded)]),/** A grid can increase its gutters to allow for more negative space. */relaxed:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Grid._meta.props.relaxed)]),/** A grid can specify that its columns should reverse order at different device sizes. */reversed:_react.PropTypes.oneOf(Grid._meta.props.reversed),/** A grid can have its columns stack on-top of each other after reaching mobile breakpoints. */stackable:_react.PropTypes.bool,/** An can stretch its contents to take up the entire grid height. */stretched:_react.PropTypes.bool,/** A grid can specify its text alignment. */textAlign:_react.PropTypes.oneOf(Grid._meta.props.textAlign),/** A grid can specify its vertical alignment to have all its columns vertically centered. */verticalAlign:_react.PropTypes.oneOf(_GridColumn2.default._meta.props.verticalAlign)};exports.default=Grid;
/***/ },
/* 1070 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Grid=__webpack_require__(1069);var _Grid2=_interopRequireDefault(_Grid);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Grid2.default;
/***/ },
/* 1071 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _get2=__webpack_require__(91);var _get3=_interopRequireDefault(_get2);var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _MenuHeader=__webpack_require__(478);var _MenuHeader2=_interopRequireDefault(_MenuHeader);var _MenuItem=__webpack_require__(479);var _MenuItem2=_interopRequireDefault(_MenuItem);var _MenuMenu=__webpack_require__(480);var _MenuMenu2=_interopRequireDefault(_MenuMenu);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var _meta={name:'Menu',type:_lib.META.TYPES.COLLECTION,props:{attached:['top','bottom'],color:_lib.SUI.COLORS,floated:['right'],icon:['labeled'],fixed:['left','right','bottom','top'],size:(0,_without3.default)(_lib.SUI.SIZES,'medium','big'),tabular:['right'],widths:_lib.SUI.WIDTHS}};/**
* A menu displays grouped navigation actions.
**/var Menu=function(_Component){_inherits(Menu,_Component);function Menu(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Menu);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Menu.__proto__||Object.getPrototypeOf(Menu)).call.apply(_ref,[this].concat(args))),_this),_this.handleItemClick=function(e,_ref2){var name=_ref2.name,index=_ref2.index;_this.trySetState({activeIndex:index});var _this$props=_this.props,items=_this$props.items,onItemClick=_this$props.onItemClick;if((0,_get3.default)(items[index],'onClick'))items[index].onClick(e,{name:name,index:index});if(onItemClick)onItemClick(e,{name:name,index:index});},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Menu,[{key:'renderItems',value:function renderItems(){var _this2=this;var items=this.props.items;var activeIndex=this.state.activeIndex;return(0,_map3.default)(items,function(item,index){return(0,_lib.createShorthand)(_MenuItem2.default,function(val){return{content:val};},item,{active:activeIndex===index,childKey:function childKey(_ref3){var content=_ref3.content,name=_ref3.name;return[content,name].join('-');},index:index,onClick:_this2.handleItemClick});});}},{key:'render',value:function render(){var _props=this.props,attached=_props.attached,borderless=_props.borderless,children=_props.children,className=_props.className,color=_props.color,compact=_props.compact,fixed=_props.fixed,floated=_props.floated,fluid=_props.fluid,icon=_props.icon,inverted=_props.inverted,pagination=_props.pagination,pointing=_props.pointing,secondary=_props.secondary,stackable=_props.stackable,tabular=_props.tabular,text=_props.text,vertical=_props.vertical,size=_props.size,widths=_props.widths;var classes=(0,_classnames2.default)('ui',color,size,(0,_lib.useWidthProp)(widths,'item'),(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(borderless,'borderless'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useValueAndKey)(fixed,'fixed'),(0,_lib.useKeyOrValueAndKey)(floated,'floated'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOrValueAndKey)(icon,'icon'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(pagination,'pagination'),(0,_lib.useKeyOnly)(pointing,'pointing'),(0,_lib.useKeyOnly)(secondary,'secondary'),(0,_lib.useKeyOnly)(stackable,'stackable'),(0,_lib.useKeyOrValueAndKey)(tabular,'tabular'),(0,_lib.useKeyOnly)(text,'text'),(0,_lib.useKeyOnly)(vertical,'vertical'),className,'menu');var rest=(0,_lib.getUnhandledProps)(Menu,this.props);var ElementType=(0,_lib.getElementType)(Menu,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||this.renderItems());}}]);return Menu;}(_lib.AutoControlledComponent);Menu.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Index of the currently active item. */activeIndex:_react.PropTypes.number,/** A menu may be attached to other content segments. */attached:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.attached)]),/** A menu item or menu can have no borders. */borderless:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Additional colors can be specified. */color:_react.PropTypes.oneOf(_meta.props.color),/** A menu can take up only the space necessary to fit its content. */compact:_react.PropTypes.bool,/** Initial activeIndex value. */defaultActiveIndex:_react.PropTypes.number,/** A menu can be fixed to a side of its context. */fixed:_react.PropTypes.oneOf(_meta.props.fixed),/** A menu can be floated. */floated:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.floated)]),/** A vertical menu may take the size of its container. */fluid:_react.PropTypes.bool,/** A menu may have labeled icons. */icon:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.icon)]),/** A menu may have its colors inverted to show greater contrast. */inverted:_react.PropTypes.bool,/** Shorthand array of props for Menu. */items:_lib.customPropTypes.collectionShorthand,/** onClick handler for MenuItem. Mutually exclusive with children. */onItemClick:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_react.PropTypes.func]),/** A pagination menu is specially formatted to present links to pages of content. */pagination:_react.PropTypes.bool,/** A menu can point to show its relationship to nearby content. */pointing:_react.PropTypes.bool,/** A menu can adjust its appearance to de-emphasize its contents. */secondary:_react.PropTypes.bool,/** A menu can stack at mobile resolutions. */stackable:_react.PropTypes.bool,/** A menu can be formatted to show tabs of information. */tabular:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.tabular)]),/** A menu can be formatted for text content. */text:_react.PropTypes.bool,/** A vertical menu displays elements vertically. */vertical:_react.PropTypes.bool,/** A menu can vary in size. */size:_react.PropTypes.oneOf(_meta.props.size),/** A menu can have its items divided evenly. */widths:_react.PropTypes.oneOf(_meta.props.widths)};Menu._meta=_meta;Menu.autoControlledProps=['activeIndex'];Menu.Header=_MenuHeader2.default;Menu.Item=_MenuItem2.default;Menu.Menu=_MenuMenu2.default;exports.default=Menu;
/***/ },
/* 1072 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Menu=__webpack_require__(1071);var _Menu2=_interopRequireDefault(_Menu);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Menu2.default;
/***/ },
/* 1073 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _MessageContent=__webpack_require__(481);var _MessageContent2=_interopRequireDefault(_MessageContent);var _MessageHeader=__webpack_require__(482);var _MessageHeader2=_interopRequireDefault(_MessageHeader);var _MessageList=__webpack_require__(483);var _MessageList2=_interopRequireDefault(_MessageList);var _MessageItem=__webpack_require__(270);var _MessageItem2=_interopRequireDefault(_MessageItem);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A message displays information that explains nearby content
* @see Form
*/function Message(props){var children=props.children,className=props.className,content=props.content,header=props.header,icon=props.icon,list=props.list,onDismiss=props.onDismiss,hidden=props.hidden,visible=props.visible,floating=props.floating,compact=props.compact,attached=props.attached,warning=props.warning,info=props.info,positive=props.positive,success=props.success,negative=props.negative,error=props.error,color=props.color,size=props.size;var classes=(0,_classnames2.default)('ui',size,color,(0,_lib.useKeyOnly)(icon,'icon'),(0,_lib.useKeyOnly)(hidden,'hidden'),(0,_lib.useKeyOnly)(visible,'visible'),(0,_lib.useKeyOnly)(floating,'floating'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(warning,'warning'),(0,_lib.useKeyOnly)(info,'info'),(0,_lib.useKeyOnly)(positive,'positive'),(0,_lib.useKeyOnly)(success,'success'),(0,_lib.useKeyOnly)(negative,'negative'),(0,_lib.useKeyOnly)(error,'error'),'message',className);var dismissIcon=onDismiss&&_react2.default.createElement(_Icon2.default,{name:'close',onClick:onDismiss});var rest=(0,_lib.getUnhandledProps)(Message,props);var ElementType=(0,_lib.getElementType)(Message,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),dismissIcon,children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),dismissIcon,_Icon2.default.create(icon),(header||content||list)&&_react2.default.createElement(_MessageContent2.default,null,(0,_lib.createShorthand)(_MessageHeader2.default,function(val){return{children:val};},header),(0,_lib.createShorthand)(_MessageList2.default,function(val){return{items:val};},list),(0,_lib.createShorthand)('p',function(val){return{children:val};},content)));}Message._meta={name:'Message',type:_lib.META.TYPES.COLLECTION,props:{attached:['bottom'],color:_lib.SUI.COLORS,size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};Message.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Shorthand for MessageHeader. */header:_lib.customPropTypes.itemShorthand,/** A message can contain an icon. */icon:_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand]),/** Array of string items for the MessageList. Mutually exclusive with children. */list:_lib.customPropTypes.collectionShorthand,/**
* A message that the user can choose to hide.
* Called when the user clicks the "x" icon. This also adds the "x" icon.
*/onDismiss:_react.PropTypes.func,/** A message can be hidden. */hidden:_react.PropTypes.bool,/** A message can be set to visible to force itself to be shown. */visible:_react.PropTypes.bool,/** A message can float above content that it is related to. */floating:_react.PropTypes.bool,/** A message can only take up the width of its content. */compact:_react.PropTypes.bool,/** A message can be formatted to attach itself to other content. */attached:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Message._meta.props.attached)]),/** A message may be formatted to display warning messages. */warning:_react.PropTypes.bool,/** A message may be formatted to display information. */info:_react.PropTypes.bool,/** A message may be formatted to display a positive message. Same as `success`. */positive:_react.PropTypes.bool,/** A message may be formatted to display a positive message. Same as `positive`. */success:_react.PropTypes.bool,/** A message may be formatted to display a negative message. Same as `error`. */negative:_react.PropTypes.bool,/** A message may be formatted to display a negative message. Same as `negative`. */error:_react.PropTypes.bool,/** A message can be formatted to be different colors. */color:_react.PropTypes.oneOf(Message._meta.props.color),/** A message can have different sizes. */size:_react.PropTypes.oneOf(Message._meta.props.size)};Message.Content=_MessageContent2.default;Message.Header=_MessageHeader2.default;Message.List=_MessageList2.default;Message.Item=_MessageItem2.default;exports.default=Message;
/***/ },
/* 1074 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Message=__webpack_require__(1073);var _Message2=_interopRequireDefault(_Message);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Message2.default;
/***/ },
/* 1075 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _TableBody=__webpack_require__(484);var _TableBody2=_interopRequireDefault(_TableBody);var _TableCell=__webpack_require__(187);var _TableCell2=_interopRequireDefault(_TableCell);var _TableFooter=__webpack_require__(485);var _TableFooter2=_interopRequireDefault(_TableFooter);var _TableHeader=__webpack_require__(271);var _TableHeader2=_interopRequireDefault(_TableHeader);var _TableHeaderCell=__webpack_require__(486);var _TableHeaderCell2=_interopRequireDefault(_TableHeaderCell);var _TableRow=__webpack_require__(487);var _TableRow2=_interopRequireDefault(_TableRow);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A table displays a collections of data grouped into rows
*/function Table(props){var basic=props.basic,attached=props.attached,renderBodyRow=props.renderBodyRow,celled=props.celled,children=props.children,className=props.className,collapsing=props.collapsing,color=props.color,columns=props.columns,compact=props.compact,definition=props.definition,fixed=props.fixed,footerRow=props.footerRow,headerRow=props.headerRow,inverted=props.inverted,padded=props.padded,selectable=props.selectable,singleLine=props.singleLine,size=props.size,stackable=props.stackable,striped=props.striped,structured=props.structured,tableData=props.tableData,unstackable=props.unstackable;var classes=(0,_classnames2.default)('ui',color,size,(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOrValueAndKey)(basic,'basic'),(0,_lib.useKeyOnly)(celled,'celled'),(0,_lib.useKeyOnly)(collapsing,'collapsing'),(0,_lib.useKeyOrValueAndKey)(compact,'compact'),(0,_lib.useKeyOnly)(definition,'definition'),(0,_lib.useKeyOnly)(fixed,'fixed'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOrValueAndKey)(padded,'padded'),(0,_lib.useKeyOnly)(selectable,'selectable'),(0,_lib.useKeyOnly)(singleLine,'single line'),(0,_lib.useKeyOnly)(stackable,'stackable'),(0,_lib.useKeyOnly)(striped,'striped'),(0,_lib.useKeyOnly)(structured,'structured'),(0,_lib.useKeyOnly)(unstackable,'unstackable'),(0,_lib.useWidthProp)(columns,'column'),className,'table');var rest=(0,_lib.getUnhandledProps)(Table,props);var ElementType=(0,_lib.getElementType)(Table,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),headerRow&&_react2.default.createElement(_TableHeader2.default,null,_TableRow2.default.create(headerRow,{cellAs:'th'})),_react2.default.createElement(_TableBody2.default,null,renderBodyRow&&(0,_map3.default)(tableData,function(data,index){return _TableRow2.default.create(renderBodyRow(data,index));})),footerRow&&_react2.default.createElement(_TableFooter2.default,null,_TableRow2.default.create(footerRow)));}Table._meta={name:'Table',type:_lib.META.TYPES.COLLECTION,props:{attached:['top','bottom'],basic:['very'],color:_lib.SUI.COLORS,columns:_lib.SUI.WIDTHS,compact:['very'],padded:['very'],size:(0,_without3.default)(_lib.SUI.SIZES,'mini','tiny','medium','big','huge','massive')}};Table.defaultProps={as:'table'};Table.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Attach table to other content */attached:_react.PropTypes.oneOfType([_react.PropTypes.oneOf(Table._meta.props.attached),_react.PropTypes.bool]),/** A table can reduce its complexity to increase readability. */basic:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Table._meta.props.basic)]),/** A table may be divided each row into separate cells. */celled:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A table can be collapsing, taking up only as much space as its rows. */collapsing:_react.PropTypes.bool,/** A table can be given a color to distinguish it from other tables. */color:_react.PropTypes.oneOf(Table._meta.props.color),/** A table can specify its column count to divide its content evenly. */columns:_react.PropTypes.oneOf(Table._meta.props.columns),/** A table may sometimes need to be more compact to make more rows visible at a time. */compact:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Table._meta.props.compact)]),/** A table may be formatted to emphasize a first column that defines a rows content. */definition:_react.PropTypes.bool,/**
* A table can use fixed a special faster form of table rendering that does not resize table cells based on content
**/fixed:_react.PropTypes.bool,/** Shorthand for a TableRow to be placed within Table.Footer. */footerRow:_lib.customPropTypes.itemShorthand,/** Shorthand for a TableRow to be placed within Table.Header. */headerRow:_lib.customPropTypes.itemShorthand,/** A table's colors can be inverted. */inverted:_react.PropTypes.bool,/** A table may sometimes need to be more padded for legibility. */padded:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Table._meta.props.padded)]),/**
* A function that takes (data, index) and returns shorthand for a TableRow
* to be placed within Table.Body.
*/renderBodyRow:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_lib.customPropTypes.demand(['tableData']),_react.PropTypes.func]),/** A table can have its rows appear selectable. */selectable:_react.PropTypes.bool,/** A table can specify that its cell contents should remain on a single line and not wrap. */singleLine:_react.PropTypes.bool,/** A table can also be small or large. */size:_react.PropTypes.oneOf(Table._meta.props.size),/** A table can specify how it stacks table content responsively. */stackable:_react.PropTypes.bool,/** A table can stripe alternate rows of content with a darker color to increase contrast. */striped:_react.PropTypes.bool,/** A table can be formatted to display complex structured data. */structured:_react.PropTypes.bool,/** Data to be passed to the renderBodyRow function. */tableData:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_lib.customPropTypes.demand(['renderBodyRow']),_react.PropTypes.array]),/** A table can specify how it stacks table content responsively. */unstackable:_react.PropTypes.bool};Table.Body=_TableBody2.default;Table.Cell=_TableCell2.default;Table.Footer=_TableFooter2.default;Table.Header=_TableHeader2.default;Table.HeaderCell=_TableHeaderCell2.default;Table.Row=_TableRow2.default;exports.default=Table;
/***/ },
/* 1076 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Table=__webpack_require__(1075);var _Table2=_interopRequireDefault(_Table);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Table2.default;
/***/ },
/* 1077 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A container limits content to a maximum width
*/function Container(props){var text=props.text,textAlign=props.textAlign,fluid=props.fluid,children=props.children,className=props.className;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(text,'text'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useTextAlignProp)(textAlign),'container',className);var rest=(0,_lib.getUnhandledProps)(Container,props);var ElementType=(0,_lib.getElementType)(Container,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Container._meta={name:'Container',type:_lib.META.TYPES.ELEMENT,props:{textAlign:_lib.SUI.TEXT_ALIGNMENTS}};Container.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Reduce maximum width to more naturally accommodate text */text:_react.PropTypes.bool,/** Container has no maximum with */fluid:_react.PropTypes.bool,/** Align container text */textAlign:_react.PropTypes.oneOf(Container._meta.props.textAlign)};exports.default=Container;
/***/ },
/* 1078 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Container=__webpack_require__(1077);var _Container2=_interopRequireDefault(_Container);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Container2.default;
/***/ },
/* 1079 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A divider visually segments content into groups
*/function Divider(props){var horizontal=props.horizontal,vertical=props.vertical,inverted=props.inverted,fitted=props.fitted,hidden=props.hidden,section=props.section,clearing=props.clearing,children=props.children,className=props.className;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useKeyOnly)(vertical,'vertical'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(fitted,'fitted'),(0,_lib.useKeyOnly)(hidden,'hidden'),(0,_lib.useKeyOnly)(section,'section'),(0,_lib.useKeyOnly)(clearing,'clearing'),'divider',className);var rest=(0,_lib.getUnhandledProps)(Divider,props);var ElementType=(0,_lib.getElementType)(Divider,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Divider._meta={name:'Divider',type:_lib.META.TYPES.ELEMENT};Divider.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Divider can segment content horizontally */horizontal:_react.PropTypes.bool,/** Divider can segment content vertically */vertical:_react.PropTypes.bool,/** Divider can have it's colours inverted */inverted:_react.PropTypes.bool,/** Divider can be fitted without any space above or below it */fitted:_react.PropTypes.bool,/** Divider can divide content without creating a dividing line */hidden:_react.PropTypes.bool,/** Divider can provide greater margins to divide sections of content */section:_react.PropTypes.bool,/** Divider can clear the content above it */clearing:_react.PropTypes.bool};exports.default=Divider;
/***/ },
/* 1080 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Divider=__webpack_require__(1079);var _Divider2=_interopRequireDefault(_Divider);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Divider2.default;
/***/ },
/* 1081 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var names=['ad','andorra','ae','united arab emirates','uae','af','afghanistan','ag','antigua','ai','anguilla','al','albania','am','armenia','an','netherlands antilles','ao','angola','ar','argentina','as','american samoa','at','austria','au','australia','aw','aruba','ax','aland islands','az','azerbaijan','ba','bosnia','bb','barbados','bd','bangladesh','be','belgium','bf','burkina faso','bg','bulgaria','bh','bahrain','bi','burundi','bj','benin','bm','bermuda','bn','brunei','bo','bolivia','br','brazil','bs','bahamas','bt','bhutan','bv','bouvet island','bw','botswana','by','belarus','bz','belize','ca','canada','cc','cocos islands','cd','congo','cf','central african republic','cg','congo brazzaville','ch','switzerland','ci','cote divoire','ck','cook islands','cl','chile','cm','cameroon','cn','china','co','colombia','cr','costa rica','cs','cu','cuba','cv','cape verde','cx','christmas island','cy','cyprus','cz','czech republic','de','germany','dj','djibouti','dk','denmark','dm','dominica','do','dominican republic','dz','algeria','ec','ecuador','ee','estonia','eg','egypt','eh','western sahara','er','eritrea','es','spain','et','ethiopia','eu','european union','fi','finland','fj','fiji','fk','falkland islands','fm','micronesia','fo','faroe islands','fr','france','ga','gabon','gb','united kingdom','gd','grenada','ge','georgia','gf','french guiana','gh','ghana','gi','gibraltar','gl','greenland','gm','gambia','gn','guinea','gp','guadeloupe','gq','equatorial guinea','gr','greece','gs','sandwich islands','gt','guatemala','gu','guam','gw','guinea-bissau','gy','guyana','hk','hong kong','hm','heard island','hn','honduras','hr','croatia','ht','haiti','hu','hungary','id','indonesia','ie','ireland','il','israel','in','india','io','indian ocean territory','iq','iraq','ir','iran','is','iceland','it','italy','jm','jamaica','jo','jordan','jp','japan','ke','kenya','kg','kyrgyzstan','kh','cambodia','ki','kiribati','km','comoros','kn','saint kitts and nevis','kp','north korea','kr','south korea','kw','kuwait','ky','cayman islands','kz','kazakhstan','la','laos','lb','lebanon','lc','saint lucia','li','liechtenstein','lk','sri lanka','lr','liberia','ls','lesotho','lt','lithuania','lu','luxembourg','lv','latvia','ly','libya','ma','morocco','mc','monaco','md','moldova','me','montenegro','mg','madagascar','mh','marshall islands','mk','macedonia','ml','mali','mm','myanmar','burma','mn','mongolia','mo','macau','mp','northern mariana islands','mq','martinique','mr','mauritania','ms','montserrat','mt','malta','mu','mauritius','mv','maldives','mw','malawi','mx','mexico','my','malaysia','mz','mozambique','na','namibia','nc','new caledonia','ne','niger','nf','norfolk island','ng','nigeria','ni','nicaragua','nl','netherlands','no','norway','np','nepal','nr','nauru','nu','niue','nz','new zealand','om','oman','pa','panama','pe','peru','pf','french polynesia','pg','new guinea','ph','philippines','pk','pakistan','pl','poland','pm','saint pierre','pn','pitcairn islands','pr','puerto rico','ps','palestine','pt','portugal','pw','palau','py','paraguay','qa','qatar','re','reunion','ro','romania','rs','serbia','ru','russia','rw','rwanda','sa','saudi arabia','sb','solomon islands','sc','seychelles','gb sct','scotland','sd','sudan','se','sweden','sg','singapore','sh','saint helena','si','slovenia','sj','svalbard','jan mayen','sk','slovakia','sl','sierra leone','sm','san marino','sn','senegal','so','somalia','sr','suriname','st','sao tome','sv','el salvador','sy','syria','sz','swaziland','tc','caicos islands','td','chad','tf','french territories','tg','togo','th','thailand','tj','tajikistan','tk','tokelau','tl','timorleste','tm','turkmenistan','tn','tunisia','to','tonga','tr','turkey','tt','trinidad','tv','tuvalu','tw','taiwan','tz','tanzania','ua','ukraine','ug','uganda','um','us minor islands','us','america','united states','uy','uruguay','uz','uzbekistan','va','vatican city','vc','saint vincent','ve','venezuela','vg','british virgin islands','vi','us virgin islands','vn','vietnam','vu','vanuatu','gb wls','wales','wf','wallis and futuna','ws','samoa','ye','yemen','yt','mayotte','za','south africa','zm','zambia','zw','zimbabwe'];function Flag(props){var className=props.className,name=props.name;var classes=(0,_classnames2.default)(name,className,'flag');var rest=(0,_lib.getUnhandledProps)(Flag,props);var ElementType=(0,_lib.getElementType)(Flag,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}));}Flag._meta={name:'Flag',type:_lib.META.TYPES.ELEMENT,props:{name:names}};Flag.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Flag name, can use the two digit country code, the full name, or a common alias */name:_lib.customPropTypes.suggest(Flag._meta.props.name)};Flag.defaultProps={as:'i'};Flag.create=(0,_lib.createShorthandFactory)(Flag,function(value){return{name:value};});exports.default=Flag;
/***/ },
/* 1082 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _Image=__webpack_require__(97);var _Image2=_interopRequireDefault(_Image);var _HeaderSubheader=__webpack_require__(494);var _HeaderSubheader2=_interopRequireDefault(_HeaderSubheader);var _HeaderContent=__webpack_require__(493);var _HeaderContent2=_interopRequireDefault(_HeaderContent);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A header provides a short summary of content
*/function Header(props){var color=props.color,content=props.content,dividing=props.dividing,block=props.block,attached=props.attached,floated=props.floated,inverted=props.inverted,disabled=props.disabled,sub=props.sub,size=props.size,textAlign=props.textAlign,icon=props.icon,image=props.image,children=props.children,className=props.className,subheader=props.subheader;var classes=(0,_classnames2.default)('ui',size,color,(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(block,'block'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(dividing,'dividing'),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useKeyOnly)(icon===true,'icon'),(0,_lib.useKeyOnly)(image===true,'image'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(sub,'sub'),(0,_lib.useTextAlignProp)(textAlign),className,'header');var rest=(0,_lib.getUnhandledProps)(Header,props);var ElementType=(0,_lib.getElementType)(Header,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var iconElement=_Icon2.default.create(icon);var imageElement=_Image2.default.create(image);var subheaderElement=_HeaderSubheader2.default.create(subheader,{className:'sub header'});if(iconElement||imageElement){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),iconElement||imageElement,(content||subheaderElement)&&_react2.default.createElement(_HeaderContent2.default,null,content,subheaderElement));}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),content,subheaderElement);}Header._meta={name:'Header',type:_lib.META.TYPES.ELEMENT,props:{attached:['top','bottom'],color:_lib.SUI.COLORS,size:(0,_without3.default)(_lib.SUI.SIZES,'big','massive'),floated:_lib.SUI.FLOATS,textAlign:_lib.SUI.TEXT_ALIGNMENTS}};Header.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Primary content. */children:_react.PropTypes.node,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** Add an icon by icon name or pass an <Icon /.> */icon:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['image']),_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand])]),/** Add an image by img src or pass an <Image />. */image:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['icon']),_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand])]),/** Color of the header. */color:_react.PropTypes.oneOf(Header._meta.props.color),/** Divide header from the content below it */dividing:_react.PropTypes.bool,/** Format header to appear inside a content block */block:_react.PropTypes.bool,/** Attach header to other content, like a segment */attached:_react.PropTypes.oneOfType([_react.PropTypes.oneOf(Header._meta.props.attached),_react.PropTypes.bool]),/** Header can sit to the left or right of other content */floated:_react.PropTypes.oneOf(Header._meta.props.floated),/** Inverts the color of the header for dark backgrounds */inverted:_react.PropTypes.bool,/** Show that the header is inactive */disabled:_react.PropTypes.bool,/** Headers may be formatted to label smaller or de-emphasized content */sub:_react.PropTypes.bool,/** Content headings are sized with em and are based on the font-size of their container. */size:_react.PropTypes.oneOf(Header._meta.props.size),/** Shorthand for Header.Subheader. */subheader:_lib.customPropTypes.itemShorthand,/** Align header content */textAlign:_react.PropTypes.oneOf(Header._meta.props.textAlign)};Header.Content=_HeaderContent2.default;Header.Subheader=_HeaderSubheader2.default;exports.default=Header;
/***/ },
/* 1083 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Header=__webpack_require__(1082);var _Header2=_interopRequireDefault(_Header);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Header2.default;
/***/ },
/* 1084 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});exports.htmlInputPropNames=undefined;var _includes2=__webpack_require__(164);var _includes3=_interopRequireDefault(_includes2);var _pick2=__webpack_require__(172);var _pick3=_interopRequireDefault(_pick2);var _omit2=__webpack_require__(171);var _omit3=_interopRequireDefault(_omit2);var _get2=__webpack_require__(91);var _get3=_interopRequireDefault(_get2);var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);var _Button=__webpack_require__(272);var _Button2=_interopRequireDefault(_Button);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _Label=__webpack_require__(189);var _Label2=_interopRequireDefault(_Label);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var htmlInputPropNames=exports.htmlInputPropNames=[// REACT
'selected','defaultValue','defaultChecked',// LIMITED HTML PROPS
'autoComplete','autoFocus','checked','form','max','maxLength','min','name','pattern','placeholder','readOnly','required','step','type','value',// Heads Up!
// Do not pass disabled, it duplicates the SUI CSS opacity rule.
// 'disabled',
// EVENTS
// keyboard
'onKeyDown','onKeyPress','onKeyUp',// focus
'onFocus','onBlur',// form
'onChange','onInput',// mouse
'onClick','onContextMenu','onDrag','onDragEnd','onDragEnter','onDragExit','onDragLeave','onDragOver','onDragStart','onDrop','onMouseDown','onMouseEnter','onMouseLeave','onMouseMove','onMouseOut','onMouseOver','onMouseUp',// selection
'onSelect',// touch
'onTouchCancel','onTouchEnd','onTouchMove','onTouchStart'];var _meta={name:'Input',type:_lib.META.TYPES.ELEMENT,props:{actionPosition:['left'],iconPosition:['left'],labelPosition:['left','right','left corner','right corner'],size:_lib.SUI.SIZES}};/**
* An Input is a field used to elicit a response from a user
* @see Button
* @see Form
* @see Icon
* @see Label
*/var Input=function(_Component){_inherits(Input,_Component);function Input(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Input);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Input.__proto__||Object.getPrototypeOf(Input)).call.apply(_ref,[this].concat(args))),_this),_this.handleChange=function(e){var onChange=_this.props.onChange;if(onChange){onChange(e,_extends({},_this.props,{value:(0,_get3.default)(e,'target.value')}));}},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Input,[{key:'render',value:function render(){var _props=this.props,action=_props.action,actionPosition=_props.actionPosition,children=_props.children,className=_props.className,disabled=_props.disabled,error=_props.error,focus=_props.focus,fluid=_props.fluid,icon=_props.icon,iconPosition=_props.iconPosition,inverted=_props.inverted,label=_props.label,labelPosition=_props.labelPosition,loading=_props.loading,onChange=_props.onChange,size=_props.size,type=_props.type,input=_props.input,transparent=_props.transparent;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useValueAndKey)(actionPosition,'action')||(0,_lib.useKeyOnly)(action,'action'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(focus,'focus'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useValueAndKey)(labelPosition,'labeled')||(0,_lib.useKeyOnly)(label,'labeled'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useKeyOnly)(transparent,'transparent'),(0,_lib.useValueAndKey)(iconPosition,'icon')||(0,_lib.useKeyOnly)(icon,'icon'),className,'input');var unhandled=(0,_lib.getUnhandledProps)(Input,this.props);var rest=(0,_omit3.default)(unhandled,htmlInputPropNames);var htmlInputProps=(0,_pick3.default)(this.props,htmlInputPropNames);if(onChange)htmlInputProps.onChange=this.handleChange;var ElementType=(0,_lib.getElementType)(Input,this.props);if(children){// add htmlInputProps to the `<input />` child
var childElements=_react.Children.map(children,function(child){if(child.type!=='input')return child;return(0,_react.cloneElement)(child,_extends({},htmlInputProps,child.props));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),childElements);}var actionElement=_Button2.default.create(action,function(elProps){return{className:(0,_classnames2.default)(// all action components should have the button className
!(0,_includes3.default)(elProps.className,'button')&&'button')};});var iconElement=_Icon2.default.create(icon);var labelElement=_Label2.default.create(label,function(elProps){return{className:(0,_classnames2.default)(// all label components should have the label className
!(0,_includes3.default)(elProps.className,'label')&&'label',// add 'left|right corner'
(0,_includes3.default)(labelPosition,'corner')&&labelPosition)};});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),actionPosition==='left'&&actionElement,iconPosition==='left'&&iconElement,labelPosition!=='right'&&labelElement,(0,_lib.createHTMLInput)(input||type,htmlInputProps),actionPosition!=='left'&&actionElement,iconPosition!=='left'&&iconElement,labelPosition==='right'&&labelElement);}}]);return Input;}(_react.Component);Input.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** An Input can be formatted to alert the user to an action they may perform */action:_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand]),/** An action can appear along side an Input on the left or right */actionPosition:_react.PropTypes.oneOf(_meta.props.actionPosition),/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** An Input field can show that it is disabled */disabled:_react.PropTypes.bool,/** An Input field can show the data contains errors */error:_react.PropTypes.bool,/** An Input field can show a user is currently interacting with it */focus:_react.PropTypes.bool,/** Take on the size of it's container */fluid:_react.PropTypes.bool,/** Optional Icon to display inside the Input */icon:_react.PropTypes.oneOfType([_react.PropTypes.bool,_lib.customPropTypes.itemShorthand]),/** An Icon can appear inside an Input on the left or right */iconPosition:_react.PropTypes.oneOf(_meta.props.iconPosition),/** Format to appear on dark backgrounds */inverted:_react.PropTypes.bool,/** Shorthand for creating the HTML Input */input:_lib.customPropTypes.itemShorthand,/** Optional Label to display along side the Input */label:_lib.customPropTypes.itemShorthand,/** A Label can appear outside an Input on the left or right */labelPosition:_react.PropTypes.oneOf(_meta.props.labelPosition),/** An Icon Input field can show that it is currently loading data */loading:_react.PropTypes.bool,/** Called with (e, data) on change. */onChange:_react.PropTypes.func,/** An Input can vary in size */size:_react.PropTypes.oneOf(_meta.props.size),/** Transparent Input has no background */transparent:_react.PropTypes.bool,/** The HTML input type */type:_react.PropTypes.string};Input.defaultProps={type:'text'};Input._meta=_meta;exports.default=Input;
/***/ },
/* 1085 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _ListContent=__webpack_require__(275);var _ListContent2=_interopRequireDefault(_ListContent);var _ListDescription=__webpack_require__(190);var _ListDescription2=_interopRequireDefault(_ListDescription);var _ListHeader=__webpack_require__(191);var _ListHeader2=_interopRequireDefault(_ListHeader);var _ListIcon=__webpack_require__(276);var _ListIcon2=_interopRequireDefault(_ListIcon);var _ListItem=__webpack_require__(500);var _ListItem2=_interopRequireDefault(_ListItem);var _ListList=__webpack_require__(501);var _ListList2=_interopRequireDefault(_ListList);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A list groups related content
**/function List(props){var animated=props.animated,bulleted=props.bulleted,celled=props.celled,children=props.children,className=props.className,divided=props.divided,floated=props.floated,horizontal=props.horizontal,inverted=props.inverted,items=props.items,link=props.link,ordered=props.ordered,relaxed=props.relaxed,size=props.size,selection=props.selection,verticalAlign=props.verticalAlign;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useKeyOnly)(animated,'animated'),(0,_lib.useKeyOnly)(bulleted,'bulleted'),(0,_lib.useKeyOnly)(celled,'celled'),(0,_lib.useKeyOnly)(divided,'divided'),(0,_lib.useKeyOnly)(horizontal,'horizontal'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(link,'link'),(0,_lib.useKeyOnly)(ordered,'ordered'),(0,_lib.useKeyOnly)(selection,'selection'),(0,_lib.useKeyOrValueAndKey)(relaxed,'relaxed'),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useVerticalAlignProp)(verticalAlign),'list',className);var rest=(0,_lib.getUnhandledProps)(List,props);var ElementType=(0,_lib.getElementType)(List,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),(0,_map3.default)(items,function(item){return _ListItem2.default.create(item);}));}List._meta={name:'List',type:_lib.META.TYPES.ELEMENT,props:{floated:_lib.SUI.FLOATS,relaxed:['very'],size:_lib.SUI.SIZES,verticalAlign:_lib.SUI.VERTICAL_ALIGNMENTS}};List.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A list can animate to set the current item apart from the list. */animated:_react.PropTypes.bool,/** A list can mark items with a bullet. */bulleted:_react.PropTypes.bool,/** A list can divide its items into cells. */celled:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A list can show divisions between content. */divided:_react.PropTypes.bool,/** An list can be floated left or right. */floated:_react.PropTypes.oneOf(List._meta.props.floated),/** A list can be formatted to have items appear horizontally. */horizontal:_react.PropTypes.bool,/** A list can be inverted to appear on a dark background. */inverted:_react.PropTypes.bool,/** Shorthand array of props for ListItem. */items:_lib.customPropTypes.collectionShorthand,/** A list can be specially formatted for navigation links. */link:_react.PropTypes.bool,/** A list can be ordered numerically. */ordered:_react.PropTypes.bool,/** A list can relax its padding to provide more negative space. */relaxed:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(List._meta.props.relaxed)]),/** A selection list formats list items as possible choices. */selection:_react.PropTypes.bool,/** A list can vary in size. */size:_react.PropTypes.oneOf(List._meta.props.size),/** An element inside a list can be vertically aligned. */verticalAlign:_react.PropTypes.oneOf(List._meta.props.verticalAlign)};List.Content=_ListContent2.default;List.Description=_ListDescription2.default;List.Header=_ListHeader2.default;List.Icon=_ListIcon2.default;List.Item=_ListItem2.default;List.List=_ListList2.default;exports.default=List;
/***/ },
/* 1086 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _List=__webpack_require__(1085);var _List2=_interopRequireDefault(_List);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_List2.default;
/***/ },
/* 1087 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A loader alerts a user to wait for an activity to complete.
* @see Dimmer
*/function Loader(props){var active=props.active,children=props.children,className=props.className,content=props.content,disabled=props.disabled,indeterminate=props.indeterminate,inline=props.inline,inverted=props.inverted,size=props.size;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(indeterminate,'indeterminate'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(children||content,'text'),(0,_lib.useKeyOrValueAndKey)(inline,'inline'),'loader',className);var rest=(0,_lib.getUnhandledProps)(Loader,props);var ElementType=(0,_lib.getElementType)(Loader,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children||content);}Loader._meta={name:'Loader',type:_lib.META.TYPES.ELEMENT,props:{inline:['centered'],size:_lib.SUI.SIZES}};Loader.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A loader can be active or visible. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A loader can be disabled or hidden. */disabled:_react.PropTypes.bool,/** A loader can show it's unsure of how long a task will take. */indeterminate:_react.PropTypes.bool,/** Loaders can appear inline with content. */inline:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Loader._meta.props.inline)]),/** Loaders can have their colors inverted. */inverted:_react.PropTypes.bool,/** Loaders can have different sizes. */size:_react.PropTypes.oneOf(Loader._meta.props.size)};exports.default=Loader;
/***/ },
/* 1088 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Loader=__webpack_require__(1087);var _Loader2=_interopRequireDefault(_Loader);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Loader2.default;
/***/ },
/* 1089 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A rail is used to show accompanying content outside the boundaries of the main view of a site.
*/function Rail(props){var attached=props.attached,children=props.children,className=props.className,close=props.close,dividing=props.dividing,internal=props.internal,position=props.position,size=props.size;var classes=(0,_classnames2.default)('ui',position,size,(0,_lib.useKeyOnly)(attached,'attached'),(0,_lib.useKeyOnly)(dividing,'dividing'),(0,_lib.useKeyOnly)(internal,'internal'),(0,_lib.useKeyOrValueAndKey)(close,'close'),'rail',className);var rest=(0,_lib.getUnhandledProps)(Rail,props);var ElementType=(0,_lib.getElementType)(Rail,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Rail._meta={name:'Rail',type:_lib.META.TYPES.ELEMENT,props:{close:['very'],position:_lib.SUI.FLOATS,size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};Rail.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A rail can appear attached to the main viewport. */attached:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A rail can appear closer to the main viewport. */close:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Rail._meta.props.close)]),/** A rail can create a division between itself and a container. */dividing:_react.PropTypes.bool,/** A rail can attach itself to the inside of a container. */internal:_react.PropTypes.bool,/** A rail can be presented on the left or right side of a container. */position:_react.PropTypes.oneOf(Rail._meta.props.position).isRequired,/** A rail can have different sizes. */size:_react.PropTypes.oneOf(Rail._meta.props.size)};exports.default=Rail;
/***/ },
/* 1090 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Rail=__webpack_require__(1089);var _Rail2=_interopRequireDefault(_Rail);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Rail2.default;
/***/ },
/* 1091 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _RevealContent=__webpack_require__(502);var _RevealContent2=_interopRequireDefault(_RevealContent);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A reveal displays additional content in place of previous content when activated.
*/function Reveal(props){var active=props.active,animated=props.animated,children=props.children,className=props.className,disabled=props.disabled,instant=props.instant;var classes=(0,_classnames2.default)('ui',animated,(0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(instant,'instant'),'reveal',className);var rest=(0,_lib.getUnhandledProps)(Reveal,props);var ElementType=(0,_lib.getElementType)(Reveal,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Reveal._meta={name:'Reveal',type:_lib.META.TYPES.ELEMENT,props:{animated:['fade','small fade','move','move right','move up','move down','rotate','rotate left']}};Reveal.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** An active reveal displays its hidden content. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A disabled reveal will not animate when hovered. */disabled:_react.PropTypes.bool,/** An animation name that will be applied to Reveal. */animated:_react.PropTypes.oneOf(Reveal._meta.props.animated),/** An element can show its content without delay. */instant:_react.PropTypes.bool};Reveal.Content=_RevealContent2.default;exports.default=Reveal;
/***/ },
/* 1092 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Reveal=__webpack_require__(1091);var _Reveal2=_interopRequireDefault(_Reveal);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Reveal2.default;
/***/ },
/* 1093 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _SegmentGroup=__webpack_require__(503);var _SegmentGroup2=_interopRequireDefault(_SegmentGroup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A segment is used to create a grouping of related content.
*/function Segment(props){var attached=props.attached,basic=props.basic,children=props.children,circular=props.circular,className=props.className,clearing=props.clearing,color=props.color,compact=props.compact,disabled=props.disabled,floated=props.floated,inverted=props.inverted,loading=props.loading,padded=props.padded,piled=props.piled,raised=props.raised,secondary=props.secondary,size=props.size,stacked=props.stacked,tertiary=props.tertiary,textAlign=props.textAlign,vertical=props.vertical;var classes=(0,_classnames2.default)('ui',color,size,(0,_lib.useKeyOrValueAndKey)(attached,'attached'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(circular,'circular'),(0,_lib.useKeyOnly)(clearing,'clearing'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useValueAndKey)(floated,'floated'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useKeyOrValueAndKey)(padded,'padded'),(0,_lib.useKeyOnly)(piled,'piled'),(0,_lib.useKeyOnly)(raised,'raised'),(0,_lib.useKeyOnly)(secondary,'secondary'),(0,_lib.useKeyOnly)(stacked,'stacked'),(0,_lib.useKeyOnly)(tertiary,'tertiary'),(0,_lib.useTextAlignProp)(textAlign),(0,_lib.useKeyOnly)(vertical,'vertical'),className,'segment');var rest=(0,_lib.getUnhandledProps)(Segment,props);var ElementType=(0,_lib.getElementType)(Segment,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Segment.Group=_SegmentGroup2.default;Segment._meta={name:'Segment',type:_lib.META.TYPES.ELEMENT,props:{attached:['top','bottom'],color:_lib.SUI.COLORS,floated:_lib.SUI.FLOATS,padded:['very'],size:(0,_without3.default)(_lib.SUI.SIZES,'medium'),textAlign:_lib.SUI.TEXT_ALIGNMENTS}};Segment.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Attach segment to other content, like a header */attached:_react.PropTypes.oneOfType([_react.PropTypes.oneOf(Segment._meta.props.attached),_react.PropTypes.bool]),/** A basic segment has no special formatting */basic:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** A segment can be circular */circular:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** A segment can clear floated content */clearing:_react.PropTypes.bool,/** Segment can be colored */color:_react.PropTypes.oneOf(Segment._meta.props.color),/** A segment may take up only as much space as is necessary */compact:_react.PropTypes.bool,/** A segment may show its content is disabled */disabled:_react.PropTypes.bool,/** Segment content can be floated to the left or right */floated:_react.PropTypes.oneOf(Segment._meta.props.floated),/** A segment can have its colors inverted for contrast */inverted:_react.PropTypes.bool,/** A segment may show its content is being loaded */loading:_react.PropTypes.bool,/** A segment can increase its padding */padded:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Segment._meta.props.padded)]),/** Formatted to look like a pile of pages. */piled:_react.PropTypes.bool,/** A segment may be formatted to raise above the page. */raised:_react.PropTypes.bool,/** A segment can be formatted to appear less noticeable */secondary:_react.PropTypes.bool,/** A segment can have different sizes. */size:_react.PropTypes.oneOf(Segment._meta.props.size),/** Formatted to show it contains multiple pages. */stacked:_react.PropTypes.bool,/** A segment can be formatted to appear even less noticeable */tertiary:_react.PropTypes.bool,/** Formats content to be aligned as part of a vertical group. */textAlign:_react.PropTypes.oneOf(Segment._meta.props.textAlign),/** Formats content to be aligned vertically */vertical:_react.PropTypes.bool};exports.default=Segment;
/***/ },
/* 1094 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Segment=__webpack_require__(1093);var _Segment2=_interopRequireDefault(_Segment);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Segment2.default;
/***/ },
/* 1095 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Step=__webpack_require__(504);var _Step2=_interopRequireDefault(_Step);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Step2.default;
/***/ },
/* 1096 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});exports.getAutoControlledStateValue=undefined;var _difference2=__webpack_require__(832);var _difference3=_interopRequireDefault(_difference2);var _isUndefined2=__webpack_require__(170);var _isUndefined3=_interopRequireDefault(_isUndefined2);var _startsWith2=__webpack_require__(394);var _startsWith3=_interopRequireDefault(_startsWith2);var _filter2=__webpack_require__(230);var _filter3=_interopRequireDefault(_filter2);var _isEmpty2=__webpack_require__(232);var _isEmpty3=_interopRequireDefault(_isEmpty2);var _keys2=__webpack_require__(24);var _keys3=_interopRequireDefault(_keys2);var _intersection2=__webpack_require__(860);var _intersection3=_interopRequireDefault(_intersection2);var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _each2=__webpack_require__(163);var _each3=_interopRequireDefault(_each2);var _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;};var _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;};}();var _get=function get(object,property,receiver){if(object===null)object=Function.prototype;var desc=Object.getOwnPropertyDescriptor(object,property);if(desc===undefined){var parent=Object.getPrototypeOf(object);if(parent===null){return undefined;}else{return get(parent,property,receiver);}}else if("value"in desc){return desc.value;}else{var getter=desc.get;if(getter===undefined){return undefined;}return getter.call(receiver);}};var _react=__webpack_require__(0);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_typeof(superClass)));}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}/* eslint-disable no-console *//**
* Why choose inheritance over a HOC? Multiple advantages for this particular use case.
* In short, we need identical functionality to setState(), unless there is a prop defined
* for the state key. Also:
*
* 1. Single Renders
* Calling trySetState() in constructor(), componentWillMount(), or componentWillReceiveProps()
* does not cause two renders. Consumers and tests do not have to wait two renders to get state.
* See www.react.run/4kJFdKoxb/27 for an example of this issue.
*
* 2. Simple Testing
* Using a HOC means you must either test the undecorated component or test through the decorator.
* Testing the undecorated component means you must mock the decorator functionality.
* Testing through the HOC means you can not simply shallow render your component.
*
* 3. Statics
* HOC wrap instances, so statics are no longer accessible. They can be hoisted, but this is more
* looping over properties and storing references. We rely heavily on statics for testing and sub
* components.
*
* 4. Instance Methods
* Some instance methods may be exposed to users via refs. Again, these are lost with HOC unless
* hoisted and exposed by the HOC.
*/var getDefaultPropName=function getDefaultPropName(prop){return'default'+(prop[0].toUpperCase()+prop.slice(1));};/**
* Return the auto controlled state value for a give prop. The initial value is chosen in this order:
* - default props
* - then, regular props
* - then, `checked` defaults to false
* - then, `value` defaults to '' or [] if props.multiple
* - else, undefined
*
* @param {object} props A props object
* @param {string} propName A prop name
* @param {boolean} [includeDefaultProps=false] Whether or not to heed the default prop value
*/var getAutoControlledStateValue=exports.getAutoControlledStateValue=function getAutoControlledStateValue(props,propName){var includeDefaultProps=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;var defaultPropName=getDefaultPropName(propName);var prop=props[propName];var defaultProp=props[defaultPropName];var hasProp=prop!==undefined;var hasDefaultProp=defaultProp!==undefined;// defaultProps & props
if(includeDefaultProps&&!hasProp&&hasDefaultProp)return defaultProp;if(hasProp)return prop;// React doesn't allow changing from uncontrolled to controlled components,
// default checked/value if they were not present.
if(propName==='checked')return false;if(propName==='value')return props.multiple?[]:'';// otherwise, undefined
};var AutoControlledComponent=function(_Component){_inherits(AutoControlledComponent,_Component);function AutoControlledComponent(){var _ref;var _temp,_this,_ret;_classCallCheck(this,AutoControlledComponent);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=AutoControlledComponent.__proto__||Object.getPrototypeOf(AutoControlledComponent)).call.apply(_ref,[this].concat(args))),_this),_this.trySetState=function(maybeState,state){var autoControlledProps=_this.constructor.autoControlledProps;if(process.env.NODE_ENV!=='production'){var name=_this.constructor.name;// warn about failed attempts to setState for keys not listed in autoControlledProps
var illegalKeys=(0,_difference3.default)((0,_keys3.default)(maybeState),autoControlledProps);if(!(0,_isEmpty3.default)(illegalKeys)){console.error([name+' called trySetState() with controlled props: "'+illegalKeys+'".','State will not be set.','Only props in static autoControlledProps will be set on state.'].join(' '));}}var newState=Object.keys(maybeState).reduce(function(acc,prop){// ignore props defined by the parent
if(_this.props[prop]!==undefined)return acc;// ignore props not listed in auto controlled props
if(autoControlledProps.indexOf(prop)===-1)return acc;acc[prop]=maybeState[prop];return acc;},{});if(state)newState=_extends({},newState,state);if(Object.keys(newState).length>0)_this.setState(newState);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(AutoControlledComponent,[{key:'componentWillMount',value:function componentWillMount(){var _this2=this;if(_get(AutoControlledComponent.prototype.__proto__||Object.getPrototypeOf(AutoControlledComponent.prototype),'componentWillMount',this))_get(AutoControlledComponent.prototype.__proto__||Object.getPrototypeOf(AutoControlledComponent.prototype),'componentWillMount',this).call(this);var autoControlledProps=this.constructor.autoControlledProps;if(process.env.NODE_ENV!=='production'){(function(){var _constructor=_this2.constructor,defaultProps=_constructor.defaultProps,name=_constructor.name,propTypes=_constructor.propTypes;// require static autoControlledProps
if(!autoControlledProps){console.error('Auto controlled '+name+' must specify a static autoControlledProps array.');}// require propTypes
(0,_each3.default)(autoControlledProps,function(prop){var defaultProp=getDefaultPropName(prop);// regular prop
if(!(0,_has3.default)(propTypes,defaultProp)){console.error(name+' is missing "'+defaultProp+'" propTypes validation for auto controlled prop "'+prop+'".');}// its default prop
if(!(0,_has3.default)(propTypes,prop)){console.error(name+' is missing propTypes validation for auto controlled prop "'+prop+'".');}});// prevent autoControlledProps in defaultProps
//
// When setting state, auto controlled props values always win (so the parent can manage them).
// It is not reasonable to decipher the difference between props from the parent and defaultProps.
// Allowing defaultProps results in trySetState always deferring to the defaultProp value.
// Auto controlled props also listed in defaultProps can never be updated.
var illegalDefaults=(0,_intersection3.default)(autoControlledProps,(0,_keys3.default)(defaultProps));if(!(0,_isEmpty3.default)(illegalDefaults)){console.error(['Do not set defaultProps for autoControlledProps,','use trySetState() in constructor() or componentWillMount() instead.','See '+name+' props: "'+illegalDefaults+'".'].join(' '));}// prevent listing defaultProps in autoControlledProps
//
// Default props are automatically handled.
// Listing defaults in autoControlledProps would result in allowing defaultDefaultValue props.
var illegalAutoControlled=(0,_filter3.default)(autoControlledProps,function(prop){return(0,_startsWith3.default)(prop,'default');});if(!(0,_isEmpty3.default)(illegalAutoControlled)){console.error(['Do not add default props to autoControlledProps.','Default props are automatically handled.','See '+name+' autoControlledProps: "'+illegalAutoControlled+'".'].join(' '));}})();}// Auto controlled props are copied to state.
// Set initial state by copying auto controlled props to state.
// Also look for the default prop for any auto controlled props (foo => defaultFoo)
// so we can set initial values from defaults.
this.state=autoControlledProps.reduce(function(acc,prop){acc[prop]=getAutoControlledStateValue(_this2.props,prop,true);if(process.env.NODE_ENV!=='production'){var defaultPropName=getDefaultPropName(prop);var _name=_this2.constructor.name;// prevent defaultFoo={} along side foo={}
if(defaultPropName in _this2.props&&prop in _this2.props){console.error(_name+' prop "'+prop+'" is auto controlled. Specify either '+defaultPropName+' or '+prop+', but not both.');}}return acc;},{});}},{key:'componentWillReceiveProps',value:function componentWillReceiveProps(nextProps){var _this3=this;if(_get(AutoControlledComponent.prototype.__proto__||Object.getPrototypeOf(AutoControlledComponent.prototype),'componentWillReceiveProps',this))_get(AutoControlledComponent.prototype.__proto__||Object.getPrototypeOf(AutoControlledComponent.prototype),'componentWillReceiveProps',this).call(this,nextProps);var autoControlledProps=this.constructor.autoControlledProps;// Solve the next state for autoControlledProps
var newState=autoControlledProps.reduce(function(acc,prop){var isNextUndefined=(0,_isUndefined3.default)(nextProps[prop]);var propWasRemoved=!(0,_isUndefined3.default)(_this3.props[prop])&&isNextUndefined;// if next is defined then use its value
if(!isNextUndefined)acc[prop]=nextProps[prop];// reinitialize state for props just removed / set undefined
else if(propWasRemoved)acc[prop]=getAutoControlledStateValue(nextProps,prop);return acc;},{});if(Object.keys(newState).length>0)this.setState(newState);}/**
* Safely attempt to set state for props that might be controlled by the user.
* Second argument is a state object that is always passed to setState.
* @param {object} maybeState State that corresponds to controlled props.
* @param {object} [state] Actual state, useful when you also need to setState.
*/}]);return AutoControlledComponent;}(_react.Component);exports.default=AutoControlledComponent;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 1097 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.isPrivate=exports.isChild=exports.isParent=exports.isModule=exports.isView=exports.isElement=exports.isCollection=exports.isAddon=exports.isType=exports.isMeta=exports.TYPES=undefined;var _startsWith2=__webpack_require__(855);var _startsWith3=_interopRequireDefault(_startsWith2);var _has2=__webpack_require__(845);var _has3=_interopRequireDefault(_has2);var _eq2=__webpack_require__(843);var _eq3=_interopRequireDefault(_eq2);var _flow2=__webpack_require__(383);var _flow3=_interopRequireDefault(_flow2);var _curry2=__webpack_require__(842);var _curry3=_interopRequireDefault(_curry2);var _get2=__webpack_require__(844);var _get3=_interopRequireDefault(_get2);var _includes2=__webpack_require__(384);var _includes3=_interopRequireDefault(_includes2);var _values2=__webpack_require__(858);var _values3=_interopRequireDefault(_values2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var TYPES=exports.TYPES={ADDON:'addon',COLLECTION:'collection',ELEMENT:'element',VIEW:'view',MODULE:'module'};var TYPE_VALUES=(0,_values3.default)(TYPES);/**
* Determine if an object qualifies as a META object.
* It must have the required keys and valid values.
* @private
* @param {Object} _meta A proposed component _meta object.
* @returns {Boolean}
*/var isMeta=exports.isMeta=function isMeta(_meta){return(0,_includes3.default)((0,_get3.default)('type',_meta),TYPE_VALUES);};/**
* Extract a component's _meta object and optional key.
* Handles literal _meta objects, classes with _meta, objects with _meta
* @private
* @param {function|object} metaArg A class, a component instance, or meta object..
* @returns {object|string|undefined}
*/var getMeta=function getMeta(metaArg){// literal
if(isMeta(metaArg))return metaArg;// from prop
else if(isMeta((0,_get3.default)('_meta',metaArg)))return metaArg._meta;// from class
else if(isMeta((0,_get3.default)('constructor._meta',metaArg)))return metaArg.constructor._meta;};var metaHasKeyValue=(0,_curry3.default)(function(key,val,metaArg){return(0,_flow3.default)(getMeta,(0,_get3.default)(key),(0,_eq3.default)(val))(metaArg);});var isType=exports.isType=metaHasKeyValue('type');// ----------------------------------------
// Export
// ----------------------------------------
// type
var isAddon=exports.isAddon=isType(TYPES.ADDON);var isCollection=exports.isCollection=isType(TYPES.COLLECTION);var isElement=exports.isElement=isType(TYPES.ELEMENT);var isView=exports.isView=isType(TYPES.VIEW);var isModule=exports.isModule=isType(TYPES.MODULE);// parent
var isParent=exports.isParent=(0,_flow3.default)(getMeta,(0,_has3.default)('parent'),(0,_eq3.default)(false));var isChild=exports.isChild=(0,_flow3.default)(getMeta,(0,_has3.default)('parent'));// other
var isPrivate=exports.isPrivate=(0,_flow3.default)(getMeta,(0,_get3.default)('name'),(0,_startsWith3.default)('_'));
/***/ },
/* 1098 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.ICONS=exports.WIDTHS=exports.VERTICAL_ALIGNMENTS=exports.TEXT_ALIGNMENTS=exports.SIZES=exports.FLOATS=exports.COLORS=undefined;var _values2=__webpack_require__(235);var _values3=_interopRequireDefault(_values2);var _keys2=__webpack_require__(24);var _keys3=_interopRequireDefault(_keys2);var _numberToWord=__webpack_require__(279);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}var COLORS=exports.COLORS=['red','orange','yellow','olive','green','teal','blue','violet','purple','pink','brown','grey','black'];var FLOATS=exports.FLOATS=['left','right'];var SIZES=exports.SIZES=['mini','tiny','small','medium','large','big','huge','massive'];var TEXT_ALIGNMENTS=exports.TEXT_ALIGNMENTS=['left','center','right','justified'];var VERTICAL_ALIGNMENTS=exports.VERTICAL_ALIGNMENTS=['bottom','middle','top'];var WIDTHS=exports.WIDTHS=[].concat(_toConsumableArray((0,_keys3.default)(_numberToWord.numberToWordMap)),_toConsumableArray((0,_keys3.default)(_numberToWord.numberToWordMap).map(Number)),_toConsumableArray((0,_values3.default)(_numberToWord.numberToWordMap)));// Generated from:
// https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/components/icon.css
var ICONS=exports.ICONS=[// Web Content
'search','mail outline','signal','setting','home','inbox','browser','tag','tags','image','calendar','comment','shop','comments','external','privacy','settings','comments','external','trophy','payment','feed','alarm outline','tasks','cloud','lab','mail','dashboard','comment outline','comments outline','sitemap','idea','alarm','terminal','code','protect','calendar outline','ticket','external square','bug','mail square','history','options','text telephone','find','wifi','alarm mute','alarm mute outline','copyright','at','eyedropper','paint brush','heartbeat','mouse pointer','hourglass empty','hourglass start','hourglass half','hourglass end','hourglass full','hand pointer','trademark','registered','creative commons','add to calendar','remove from calendar','delete calendar','checked calendar','industry','shopping bag','shopping basket','hashtag','percent',// User Actions
'wait','download','repeat','refresh','lock','bookmark','print','write','adjust','theme','edit','external share','ban','mail forward','share','expand','compress','unhide','hide','random','retweet','sign out','pin','sign in','upload','call','remove bookmark','call square','unlock','configure','filter','wizard','undo','exchange','cloud download','cloud upload','reply','reply all','erase','unlock alternate','write square','share square','archive','translate','recycle','send','send outline','share alternate','share alternate square','add to cart','in cart','add user','remove user','object group','object ungroup','clone','talk','talk outline',// Messages
'help circle','info circle','warning circle','warning sign','announcement','help','info','warning','birthday','help circle outline',// Users
'user','users','doctor','handicap','student','child','spy',// Gender & Sexuality
'female','male','woman','man','non binary transgender','intergender','transgender','lesbian','gay','heterosexual','other gender','other gender vertical','other gender horizontal','neuter','genderless',// Accessibility
'universal access','wheelchair','blind','audio description','volume control phone','braille','asl','assistive listening systems','deafness','sign language','low vision',// View Adjustment
'block layout','grid layout','list layout','zoom','zoom out','resize vertical','resize horizontal','maximize','crop',// Literal Objects
'cocktail','road','flag','book','gift','leaf','fire','plane','magnet','lemon','world','travel','shipping','money','legal','lightning','umbrella','treatment','suitcase','bar','flag outline','flag checkered','puzzle','fire extinguisher','rocket','anchor','bullseye','sun','moon','fax','life ring','bomb','soccer','calculator','diamond','sticky note','sticky note outline','law','hand peace','hand rock','hand paper','hand scissors','hand lizard','hand spock','tv',// Shapes
'crosshairs','asterisk','square outline','certificate','square','quote left','quote right','spinner','circle','ellipsis horizontal','ellipsis vertical','cube','cubes','circle notched','circle thin',// Item Selection
'checkmark','remove','checkmark box','move','add circle','minus circle','remove circle','check circle','remove circle outline','check circle outline','plus','minus','add square','radio','minus square','minus square outline','check square','selected radio','plus square outline','toggle off','toggle on',// Media
'film','sound','photo','bar chart','camera retro','newspaper','area chart','pie chart','line chart',// Pointers
'arrow circle outline down','arrow circle outline up','chevron left','chevron right','arrow left','arrow right','arrow up','arrow down','chevron up','chevron down','pointing right','pointing left','pointing up','pointing down','arrow circle left','arrow circle right','arrow circle up','arrow circle down','caret down','caret up','caret left','caret right','angle double left','angle double right','angle double up','angle double down','angle left','angle right','angle up','angle down','chevron circle left','chevron circle right','chevron circle up','chevron circle down','toggle down','toggle up','toggle right','long arrow down','long arrow up','long arrow left','long arrow right','arrow circle outline right','arrow circle outline left','toggle left',// Mobile
'tablet','mobile','battery full','battery high','battery medium','battery low','battery empty',// Computer
'power','trash outline','disk outline','desktop','laptop','game','keyboard','plug',// File System
'trash','file outline','folder','folder open','file text outline','folder outline','folder open outline','level up','level down','file','file text','file pdf outline','file word outline','file excel outline','file powerpoint outline','file image outline','file archive outline','file audio outline','file video outline','file code outline',// Technologies
'qrcode','barcode','rss','fork','html5','css3','rss square','openid','database','server','usb','bluetooth','bluetooth alternative',// Rating
'heart','star','empty star','thumbs outline up','thumbs outline down','star half','empty heart','smile','frown','meh','star half empty','thumbs up','thumbs down',// Audio
'music','video play outline','volume off','volume down','volume up','record','step backward','fast backward','backward','play','pause','stop','forward','fast forward','step forward','eject','unmute','mute','video play','closed captioning','pause circle','pause circle outline','stop circle','stop circle outline',// Map, Locations, & Transportation
'marker','coffee','food','building outline','hospital','emergency','first aid','military','h','location arrow','compass','space shuttle','university','building','paw','spoon','car','taxi','tree','bicycle','bus','ship','motorcycle','street view','hotel','train','subway','map pin','map signs','map outline','map',// Tables
'table','columns','sort','sort descending','sort ascending','sort alphabet ascending','sort alphabet descending','sort content ascending','sort content descending','sort numeric ascending','sort numeric descending',// Text Editor
'font','bold','italic','text height','text width','align left','align center','align right','align justify','list','outdent','indent','linkify','cut','copy','attach','save','content','unordered list','ordered list','strikethrough','underline','paste','unlinkify','superscript','subscript','header','paragraph','text cursor',// Currency
'euro','pound','dollar','rupee','yen','ruble','won','bitcoin','lira','shekel',// Payment Options
'paypal','google wallet','visa','mastercard','discover','american express','paypal card','stripe','japan credit bureau','diners club','credit card alternative',// Networks and Website
'twitter square','facebook square','linkedin square','github square','twitter','facebook f','github','pinterest','pinterest square','google plus square','google plus','linkedin','github alternate','maxcdn','youtube square','youtube','xing','xing square','youtube play','dropbox','stack overflow','instagram','flickr','adn','bitbucket','bitbucket square','tumblr','tumblr square','apple','windows','android','linux','dribble','skype','foursquare','trello','gittip','vk','weibo','renren','pagelines','stack exchange','vimeo square','slack','wordpress','yahoo','google','reddit','reddit square','stumbleupon circle','stumbleupon','delicious','digg','pied piper','pied piper alternate','drupal','joomla','behance','behance square','steam','steam square','spotify','deviantart','soundcloud','vine','codepen','jsfiddle','rebel','empire','git square','git','hacker news','tencent weibo','qq','wechat','slideshare','twitch','yelp','lastfm','lastfm square','ioxhost','angellist','meanpath','buysellads','connectdevelop','dashcube','forumbee','leanpub','sellsy','shirtsinbulk','simplybuilt','skyatlas','facebook','pinterest','whatsapp','viacoin','medium','y combinator','optinmonster','opencart','expeditedssl','gg','gg circle','tripadvisor','odnoklassniki','odnoklassniki square','pocket','wikipedia','safari','chrome','firefox','opera','internet explorer','contao','500px','amazon','houzz','vimeo','black tie','fonticons','reddit alien','microsoft edge','codiepie','modx','fort awesome','product hunt','mixcloud','scribd','gitlab','wpbeginner','wpforms','envira gallery','glide','glide g','viadeo','viadeo square','snapchat','snapchat ghost','snapchat square','pied piper hat','first order','yoast','themeisle','google plus circle','font awesome',// ----------------------------------------
// Aliases
// ----------------------------------------
'like','favorite','video','check','close','cancel','delete','x','zoom in','magnify','shutdown','clock','time','play circle outline','headphone','camera','video camera','picture','pencil','compose','point','tint','signup','plus circle','question circle','dont','minimize','add','exclamation circle','attention','eye','exclamation triangle','shuffle','chat','cart','shopping cart','bar graph','key','cogs','discussions','like outline','dislike outline','heart outline','log out','thumb tack','winner','phone','bookmark outline','phone square','credit card','hdd outline','bullhorn','bell outline','hand outline right','hand outline left','hand outline up','hand outline down','globe','wrench','briefcase','group','linkify','chain','flask','sidebar','bars','list ul','list ol','numbered list','magic','truck','currency','triangle down','dropdown','triangle up','triangle left','triangle right','envelope','conversation','rain','clipboard','lightbulb','bell','ambulance','medkit','fighter jet','beer','plus square','computer','circle outline','gamepad','star half full','broken chain','question','exclamation','eraser','microphone','microphone slash','shield','target','play circle','pencil square','eur','gbp','usd','inr','cny','rmb','jpy','rouble','rub','krw','btc','gratipay','zip','dot circle outline','try','graduation','circle outline','sliders','weixin','tty','teletype','binoculars','power cord','wifi','visa card','mastercard card','discover card','amex','american express card','stripe card','bell slash','bell slash outline','area graph','pie graph','line graph','cc','sheqel','ils','plus cart','arrow down cart','detective','venus','mars','mercury','intersex','venus double','female homosexual','mars double','male homosexual','venus mars','mars stroke','mars alternate','mars vertical','mars stroke vertical','mars horizontal','mars stroke horizontal','asexual','facebook official','user plus','user times','user close','user cancel','user delete','user x','bed','yc','ycombinator','battery four','battery three','battery three quarters','battery two','battery half','battery one','battery quarter','battery zero','i cursor','jcb','japan credit bureau card','diners club card','balance','hourglass outline','hourglass zero','hourglass one','hourglass two','hourglass three','hourglass four','grab','hand victory','tm','r circle','television','five hundred pixels','calendar plus','calendar minus','calendar times','calendar check','factory','commenting','commenting outline','edge','ms edge','wordpress beginner','wordpress forms','envira','question circle outline','assistive listening devices','als','ald','asl interpreting','deaf','american sign language interpreting','hard of hearing','signing','new pied piper','theme isle','google plus official','fa'];
/***/ },
/* 1099 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.findByType=exports.someByType=undefined;var _find2=__webpack_require__(231);var _find3=_interopRequireDefault(_find2);var _some2=__webpack_require__(393);var _some3=_interopRequireDefault(_some2);var _react=__webpack_require__(0);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Determine if child by type exists in children.
* @param {Object} children The children prop of a component.
* @param {string|Function} type An html tag name string or React component.
* @returns {Boolean}
*/var someByType=exports.someByType=function someByType(children,type){return(0,_some3.default)(_react.Children.toArray(children),{type:type});};/**
* Find child by type.
* @param {Object} children The children prop of a component.
* @param {string|Function} type An html tag name string or React component.
* @returns {undefined|Object}
*/var findByType=exports.findByType=function findByType(children,type){return(0,_find3.default)(_react.Children.toArray(children),{type:type});};
/***/ },
/* 1100 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});exports.useVerticalAlignProp=exports.useTextAlignProp=exports.useWidthProp=exports.useKeyOrValueAndKey=exports.useValueAndKey=exports.useKeyOnly=undefined;var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==="undefined"?"undefined":_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==="undefined"?"undefined":_typeof2(obj);};/*
* There are 4 prop patterns used to build up the className for a component.
* Each utility here is meant for use in a classnames() argument.
*
* There is no util for valueOnly() because it would simply return val.
* Use the prop value inline instead.
* <Label size='big' />
* <div class="ui big label"></div>
*/var _numberToWord=__webpack_require__(279);/**
* Props where only the prop key is used in the className.
* @param {*} val A props value
* @param {string} key A props key
*
* @example
* <Label tag />
* <div class="ui tag label"></div>
*/var useKeyOnly=exports.useKeyOnly=function useKeyOnly(val,key){return val&&key;};/**
* Props that require both a key and value to create a className.
* @param {*} val A props value
* @param {string} key A props key
*
* @example
* <Label corner='left' />
* <div class="ui left corner label"></div>
*/var useValueAndKey=exports.useValueAndKey=function useValueAndKey(val,key){return val&&val!==true&&val+' '+key;};/**
* Props whose key will be used in className, or value and key.
* @param {*} val A props value
* @param {string} key A props key
*
* @example Key Only
* <Label pointing />
* <div class="ui pointing label"></div>
*
* @example Key and Value
* <Label pointing='left' />
* <div class="ui left pointing label"></div>
*/var useKeyOrValueAndKey=exports.useKeyOrValueAndKey=function useKeyOrValueAndKey(val,key){return val&&(val===true?key:val+' '+key);};//
// Prop to className exceptions
//
/**
* Create "X", "X wide" and "equal width" classNames.
* "X" is a numberToWord value and "wide" is configurable.
* @param {*} val The prop value
* @param {string} [widthClass=''] The class
* @param {boolean} [canEqual=false] Flag that indicates possibility of "equal" value
*
* @example
* <Grid columns='equal' />
* <div class="ui equal width grid"></div>
*
* <Form widths='equal' />
* <div class="ui equal width form"></div>
*
* <FieldGroup widths='equal' />
* <div class="equal width fields"></div>
*
* @example
* <Grid columns={4} />
* <div class="ui four column grid"></div>
*/var useWidthProp=exports.useWidthProp=function useWidthProp(val){var widthClass=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'';var canEqual=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;if(canEqual&&val==='equal'){return'equal width';}var valType=typeof val==='undefined'?'undefined':_typeof(val);if((valType==='string'||valType==='number')&&widthClass){return(0,_numberToWord.numberToWord)(val)+' '+widthClass;}return(0,_numberToWord.numberToWord)(val);};/**
* The "textAlign" prop follows the useValueAndKey except when the value is "justified'.
* In this case, only the class "justified" is used, ignoring the "aligned" class.
* @param {*} val The value of the "textAlign" prop
*
* @example
* <Container textAlign='justified' />
* <div class="ui justified container"></div>
*
* @example
* <Container textAlign='left' />
* <div class="ui left aligned container"></div>
*/var useTextAlignProp=exports.useTextAlignProp=function useTextAlignProp(val){return val==='justified'?'justified':useValueAndKey(val,'aligned');};/**
* The "verticalAlign" prop follows the useValueAndKey.
*
* @param {*} val The value of the "verticalAlign" prop
*
* @example
* <Grid verticalAlign='middle' />
* <div class="ui middle aligned grid"></div>
*/var useVerticalAlignProp=exports.useVerticalAlignProp=function useVerticalAlignProp(val){return useValueAndKey(val,'aligned');};
/***/ },
/* 1101 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.deprecate=exports.collectionShorthand=exports.itemShorthand=exports.contentShorthand=exports.demand=exports.givenProps=exports.some=exports.every=exports.disallow=exports.suggest=exports.as=undefined;var _isObject2=__webpack_require__(848);var _isObject3=_interopRequireDefault(_isObject2);var _pick2=__webpack_require__(853);var _pick3=_interopRequireDefault(_pick2);var _keys2=__webpack_require__(850);var _keys3=_interopRequireDefault(_keys2);var _isPlainObject2=__webpack_require__(849);var _isPlainObject3=_interopRequireDefault(_isPlainObject2);var _isFunction2=__webpack_require__(846);var _isFunction3=_interopRequireDefault(_isFunction2);var _compact2=__webpack_require__(841);var _compact3=_interopRequireDefault(_compact2);var _take2=__webpack_require__(857);var _take3=_interopRequireDefault(_take2);var _sortBy2=__webpack_require__(854);var _sortBy3=_interopRequireDefault(_sortBy2);var _sum2=__webpack_require__(856);var _sum3=_interopRequireDefault(_sum2);var _min2=__webpack_require__(852);var _min3=_interopRequireDefault(_min2);var _map2=__webpack_require__(851);var _map3=_interopRequireDefault(_map2);var _flow2=__webpack_require__(383);var _flow3=_interopRequireDefault(_flow2);var _includes2=__webpack_require__(384);var _includes3=_interopRequireDefault(_includes2);var _isNil2=__webpack_require__(847);var _isNil3=_interopRequireDefault(_isNil2);var _react=__webpack_require__(0);var _leven=__webpack_require__(508);var _leven2=_interopRequireDefault(_leven);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}var typeOf=function typeOf(){var _Object$prototype$toS;return(_Object$prototype$toS=Object.prototype.toString).call.apply(_Object$prototype$toS,arguments);};/**
* Ensure a component can render as a give prop value.
*/var as=exports.as=function as(){return _react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.func]).apply(undefined,arguments);};/**
* Similar to PropTypes.oneOf but shows closest matches.
* Word order is ignored allowing `left chevron` to match `chevron left`.
* Useful for very large lists of options (e.g. Icon name, Flag name, etc.)
* @param {string[]} suggestions An array of allowed values.
*/var suggest=exports.suggest=function suggest(suggestions){return function(props,propName,componentName){if(!Array.isArray(suggestions)){throw new Error(['Invalid argument supplied to suggest, expected an instance of array.',' See `'+propName+'` prop in `'+componentName+'`.'].join(''));}var propValue=props[propName];// skip if prop is undefined or is included in the suggestions
if((0,_isNil3.default)(propValue)||propValue===false||(0,_includes3.default)(propValue,suggestions))return;// find best suggestions
var propValueWords=propValue.split(' ');/* eslint-disable max-nested-callbacks */var bestMatches=(0,_flow3.default)((0,_map3.default)(function(suggestion){var suggestionWords=suggestion.split(' ');var propValueScore=(0,_flow3.default)((0,_map3.default)(function(x){return(0,_map3.default)(function(y){return(0,_leven2.default)(x,y);},suggestionWords);}),(0,_map3.default)(_min3.default),_sum3.default)(propValueWords);var suggestionScore=(0,_flow3.default)((0,_map3.default)(function(x){return(0,_map3.default)(function(y){return(0,_leven2.default)(x,y);},propValueWords);}),(0,_map3.default)(_min3.default),_sum3.default)(suggestionWords);return{suggestion:suggestion,score:propValueScore+suggestionScore};}),(0,_sortBy3.default)(['score','suggestion']),(0,_take3.default)(3))(suggestions);/* eslint-enable max-nested-callbacks */// skip if a match scored 0
// since we're matching on words (classNames) this allows any word order to pass validation
// e.g. `left chevron` vs `chevron left`
if(bestMatches.some(function(x){return x.score===0;}))return;return new Error(['Invalid prop `'+propName+'` of value `'+propValue+'` supplied to `'+componentName+'`.','\n\nInstead of `'+propValue+'`, did you mean:',bestMatches.map(function(x){return'\n - '+x.suggestion;}).join(''),'\n'].join(''));};};/**
* Disallow other props form being defined with this prop.
* @param {string[]} disallowedProps An array of props that cannot be used with this prop.
*/var disallow=exports.disallow=function disallow(disallowedProps){return function(props,propName,componentName){if(!Array.isArray(disallowedProps)){throw new Error(['Invalid argument supplied to disallow, expected an instance of array.',' See `'+propName+'` prop in `'+componentName+'`.'].join(''));}// skip if prop is undefined
if((0,_isNil3.default)(props[propName])||props[propName]===false)return;// find disallowed props with values
var disallowed=disallowedProps.reduce(function(acc,disallowedProp){if(!(0,_isNil3.default)(props[disallowedProp])&&props[disallowedProp]!==false){return[].concat(_toConsumableArray(acc),[disallowedProp]);}return acc;},[]);if(disallowed.length>0){return new Error(['Prop `'+propName+'` in `'+componentName+'` conflicts with props: `'+disallowed.join('`, `')+'`.','They cannot be defined together, choose one or the other.'].join(' '));}};};/**
* Ensure a prop adherers to multiple prop type validators.
* @param {function[]} validators An array of propType functions.
*/var every=exports.every=function every(validators){return function(props,propName,componentName){for(var _len=arguments.length,rest=Array(_len>3?_len-3:0),_key=3;_key<_len;_key++){rest[_key-3]=arguments[_key];}if(!Array.isArray(validators)){throw new Error(['Invalid argument supplied to every, expected an instance of array.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}var errors=(0,_flow3.default)((0,_map3.default)(function(validator){if(typeof validator!=='function'){throw new Error('every() argument "validators" should contain functions, found: '+typeOf(validator)+'.');}return validator.apply(undefined,[props,propName,componentName].concat(rest));}),_compact3.default)(validators);// we can only return one error at a time
return errors[0];};};/**
* Ensure a prop adherers to at least one of the given prop type validators.
* @param {function[]} validators An array of propType functions.
*/var some=exports.some=function some(validators){return function(props,propName,componentName){for(var _len2=arguments.length,rest=Array(_len2>3?_len2-3:0),_key2=3;_key2<_len2;_key2++){rest[_key2-3]=arguments[_key2];}if(!Array.isArray(validators)){throw new Error(['Invalid argument supplied to some, expected an instance of array.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}var errors=(0,_compact3.default)((0,_map3.default)(validators,function(validator){if(!(0,_isFunction3.default)(validator)){throw new Error('some() argument "validators" should contain functions, found: '+typeOf(validator)+'.');}return validator.apply(undefined,[props,propName,componentName].concat(rest));}));// fail only if all validators failed
if(errors.length===validators.length){var error=new Error('One of these validators must pass:');error.message+='\n'+(0,_map3.default)(errors,function(err,i){return'['+(i+1)+']: '+err.message;}).join('\n');return error;}};};/**
* Ensure a validator passes only when a component has a given propsShape.
* @param {object} propsShape An object describing the prop shape.
* @param {function} validator A propType function.
*/var givenProps=exports.givenProps=function givenProps(propsShape,validator){return function(props,propName,componentName){for(var _len3=arguments.length,rest=Array(_len3>3?_len3-3:0),_key3=3;_key3<_len3;_key3++){rest[_key3-3]=arguments[_key3];}if(!(0,_isPlainObject3.default)(propsShape)){throw new Error(['Invalid argument supplied to givenProps, expected an object.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}if(typeof validator!=='function'){throw new Error(['Invalid argument supplied to givenProps, expected a function.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}var shouldValidate=(0,_keys3.default)(propsShape).every(function(key){var val=propsShape[key];// require propShape validators to pass or prop values to match
return typeof val==='function'?!val.apply(undefined,[props,key,componentName].concat(rest)):val===props[propName];});if(!shouldValidate)return;var error=validator.apply(undefined,[props,propName,componentName].concat(rest));if(error){// poor mans shallow pretty print, prevents JSON circular reference errors
var prettyProps='{ '+(0,_keys3.default)((0,_pick3.default)((0,_keys3.default)(propsShape),props)).map(function(key){var val=props[key];var renderedValue=val;if(typeof val==='string')renderedValue='"'+val+'"';else if(Array.isArray(val))renderedValue='['+val.join(', ')+']';else if((0,_isObject3.default)(val))renderedValue='{...}';return key+': '+renderedValue;}).join(', ')+' }';error.message='Given props '+prettyProps+': '+error.message;return error;}};};/**
* Define prop dependencies by requiring other props.
* @param {string[]} requiredProps An array of required prop names.
*/var demand=exports.demand=function demand(requiredProps){return function(props,propName,componentName){if(!Array.isArray(requiredProps)){throw new Error(['Invalid `requiredProps` argument supplied to require, expected an instance of array.',' See `'+propName+'` prop in `'+componentName+'`.'].join(''));}// skip if prop is undefined
if(props[propName]===undefined)return;var missingRequired=requiredProps.filter(function(requiredProp){return props[requiredProp]===undefined;});if(missingRequired.length>0){return new Error('`'+propName+'` prop in `'+componentName+'` requires props: `'+missingRequired.join('`, `')+'`.');}};};/**
* Ensure a component can render as a node passed as a prop value in place of children.
*/var contentShorthand=exports.contentShorthand=function contentShorthand(){return every([disallow(['children']),_react.PropTypes.node]).apply(undefined,arguments);};/**
* Item shorthand is a description of a component that can be a literal,
* a props object, or an element.
*/var itemShorthand=exports.itemShorthand=function itemShorthand(){return every([disallow(['children']),_react.PropTypes.oneOfType([_react.PropTypes.node,_react.PropTypes.object])]).apply(undefined,arguments);};/**
* Collection shorthand ensures a prop is an array of item shorthand.
*/var collectionShorthand=exports.collectionShorthand=function collectionShorthand(){return every([disallow(['children']),_react.PropTypes.arrayOf(itemShorthand)]).apply(undefined,arguments);};/**
* Show a deprecated warning for component props with a help message and optional validator.
* @param {string} help A help message to display with the deprecation warning.
* @param {function} [validator] A propType function.
*/var deprecate=exports.deprecate=function deprecate(help,validator){return function(props,propName,componentName){for(var _len4=arguments.length,args=Array(_len4>3?_len4-3:0),_key4=3;_key4<_len4;_key4++){args[_key4-3]=arguments[_key4];}if(typeof help!=='string'){throw new Error(['Invalid `help` argument supplied to deprecate, expected a string.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}// skip if prop is undefined
if(props[propName]===undefined)return;// deprecation error and help
var error=new Error('The `'+propName+'` prop in `'+componentName+'` is deprecated.');if(help)error.message+=' '+help;// add optional validation error message
if(validator){if(typeof validator==='function'){var validationError=validator.apply(undefined,[props,propName,componentName].concat(args));if(validationError){error.message=error.message+' '+validationError.message;}}else{throw new Error(['Invalid argument supplied to deprecate, expected a function.','See `'+propName+'` prop in `'+componentName+'`.'].join(' '));}}return error;};};
/***/ },
/* 1102 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.debug=exports.makeDebugger=undefined;var _isBrowser=__webpack_require__(507);var _isBrowser2=_interopRequireDefault(_isBrowser);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var _debug=void 0;var noop=function noop(){return undefined;};if(_isBrowser2.default&&process.env.NODE_ENV!=='production'&&process.env.NODE_ENV!=='test'){// Heads Up!
// https://github.com/visionmedia/debug/pull/331
//
// debug now clears storage on load, grab the debug settings before require('debug').
// We try/catch here as Safari throws on localStorage access in private mode or with cookies disabled.
var DEBUG=void 0;try{DEBUG=window.localStorage.debug;}catch(e){/* eslint-disable no-console */console.error('Semantic-UI-React could not enable debug.');console.error(e);/* eslint-enable no-console */}_debug=__webpack_require__(609);// enable what ever settings we got from storage
_debug.enable(DEBUG);}else{_debug=function _debug(){return noop;};}/**
* Create a namespaced debug function.
* @param {String} namespace Usually a component name.
* @example
* import { makeDebugger } from 'src/lib'
* const debug = makeDebugger('namespace')
*
* debug('Some message')
* @returns {Function}
*/var makeDebugger=exports.makeDebugger=function makeDebugger(namespace){return _debug('semanticUIReact:'+namespace);};/**
* Default debugger, simple log.
* @example
* import { debug } from 'src/lib'
* debug('Some message')
*/var debug=exports.debug=makeDebugger('log');
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 1103 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.createHTMLInput=exports.createHTMLImage=undefined;var _partial2=__webpack_require__(865);var _partial3=_interopRequireDefault(_partial2);var _isArray2=__webpack_require__(9);var _isArray3=_interopRequireDefault(_isArray2);var _isNumber2=__webpack_require__(388);var _isNumber3=_interopRequireDefault(_isNumber2);var _isString2=__webpack_require__(234);var _isString3=_interopRequireDefault(_isString2);var _isPlainObject2=__webpack_require__(168);var _isPlainObject3=_interopRequireDefault(_isPlainObject2);var _isFunction2=__webpack_require__(47);var _isFunction3=_interopRequireDefault(_isFunction2);var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _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;};exports.createShorthand=createShorthand;exports.createShorthandFactory=createShorthandFactory;var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}/**
* Merges props and classNames.
*
* @param {object} defaultProps A props object
* @param {object} props A props object
* @returns {object} A new props object
*/var mergePropsAndClassName=function mergePropsAndClassName(defaultProps,props){var _defaultProps$props=_extends({},defaultProps,props),childKey=_defaultProps$props.childKey,newProps=_objectWithoutProperties(_defaultProps$props,['childKey']);if((0,_has3.default)(props,'className')||(0,_has3.default)(defaultProps.className)){newProps.className=(0,_classnames2.default)(defaultProps.className,props.className);// eslint-disable-line react/prop-types
}if(!newProps.key&&childKey){newProps.key=(0,_isFunction3.default)(childKey)?childKey(newProps):childKey;}return newProps;};/**
* A more robust React.createElement.
* It can create elements from primitive values.
*
* @param {function|string} Component A ReactClass or string
* @param {function} mapValueToProps A function that maps a primitive value to the Component props
* @param {string|object|function} val The value to create a ReactElement from
* @param {object|function} [defaultProps={}] Default props object or function (called with regular props).
* @returns {function|null}
*/function createShorthand(Component,mapValueToProps,val){var defaultProps=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};if(typeof Component!=='function'&&typeof Component!=='string'){throw new Error('createShorthandFactory() Component must be a string or function.');}// short circuit for disabling shorthand
if(val===null)return null;var type=void 0;var usersProps={};if((0,_react.isValidElement)(val)){type='element';usersProps=val.props;}else if((0,_isPlainObject3.default)(val)){type='props';usersProps=val;}else if((0,_isString3.default)(val)||(0,_isNumber3.default)(val)||(0,_isArray3.default)(val)){type='literal';usersProps=mapValueToProps(val);}defaultProps=(0,_isFunction3.default)(defaultProps)?defaultProps(usersProps):defaultProps;var props=mergePropsAndClassName(defaultProps,usersProps);// Clone ReactElements
if(type==='element'){return(0,_react.cloneElement)(val,props);}// Create ReactElements from props objects
// Map values to props and create a ReactElement
if(type==='props'||type==='literal'){return _react2.default.createElement(Component,props);}// Otherwise null
return null;}function createShorthandFactory(Component,mapValueToProps){if(typeof Component!=='function'&&typeof Component!=='string'){throw new Error('createShorthandFactory() Component must be a string or function.');}return(0,_partial3.default)(createShorthand,Component,mapValueToProps);}// ----------------------------------------
// HTML Factories
// ----------------------------------------
var createHTMLImage=exports.createHTMLImage=createShorthandFactory('img',function(value){return{src:value};});var createHTMLInput=exports.createHTMLInput=createShorthandFactory('input',function(value){return{type:value};});
/***/ },
/* 1104 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});/**
* Returns a createElement() type based on the props of the Component.
* Useful for calculating what type a component should render as.
*
* @param {function} Component A function or ReactClass.
* @param {object} props A ReactElement props object
* @param {function} [getDefault] A function that returns a default element type.
* @returns {string|function} A ReactElement type
*/function getElementType(Component,props,getDefault){var _Component$defaultPro=Component.defaultProps,defaultProps=_Component$defaultPro===undefined?{}:_Component$defaultPro;// ----------------------------------------
// user defined "as" element type
if(props.as&&props.as!==defaultProps.as)return props.as;// ----------------------------------------
// computed default element type
if(getDefault){var computedDefault=getDefault();if(computedDefault)return computedDefault;}// ----------------------------------------
// infer anchor links
if(props.href)return'a';// ----------------------------------------
// use defaultProp or 'div'
return defaultProps.as||'div';}exports.default=getElementType;
/***/ },
/* 1105 */
/***/ function(module, exports) {
"use strict";
"use strict";Object.defineProperty(exports,"__esModule",{value:true});/**
* Push all `source` array elements to the `target` array if they don't already exist in `target`.
*
* @param {Array} source - An array of elements to add to the `target`
* @param {Array} target - An array to receive unique elements from the `source`
* @returns {Array} Mutated `target` array
*/var pushUnique=function pushUnique(source,target){return source.forEach(function(x){if(target.indexOf(x)===-1)target.push(x);});};/**
* Returns an object consisting of props beyond the scope of the Component.
* Useful for getting and spreading unknown props from the user.
* @param {function} Component A function or ReactClass.
* @param {object} props A ReactElement props object
* @returns {{}} A shallow copy of the prop object
*/var getUnhandledProps=function getUnhandledProps(Component,props){var autoControlledProps=Component.autoControlledProps,defaultProps=Component.defaultProps,propTypes=Component.propTypes;var handledProps=Component.handledProps;// ----------------------------------------
// Calculate handledProps once and cache
// ----------------------------------------
if(!handledProps){handledProps=[];if(autoControlledProps)pushUnique(autoControlledProps,handledProps);if(defaultProps)pushUnique(Object.keys(defaultProps),handledProps);if(propTypes)pushUnique(Object.keys(propTypes),handledProps);Component.handledProps=handledProps;}// ----------------------------------------
// Return _unhandled_ props
// ----------------------------------------
return Object.keys(props).reduce(function(acc,prop){if(handledProps.indexOf(prop)===-1)acc[prop]=props[prop];return acc;},{});};exports.default=getUnhandledProps;
/***/ },
/* 1106 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _isObject2=__webpack_require__(33);var _isObject3=_interopRequireDefault(_isObject2);var _times2=__webpack_require__(396);var _times3=_interopRequireDefault(_times2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* All previous KeyboardEvent key identifying properties are deprecated in favor of `key`.
* Unfortunately, `key` is not yet fully supported.
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
*/var codes={// ----------------------------------------
// By Code
// ----------------------------------------
3:'Cancel',6:'Help',8:'Backspace',9:'Tab',12:'Clear',13:'Enter',16:'Shift',17:'Control',18:'Alt',19:'Pause',20:'CapsLock',27:'Escape',28:'Convert',29:'NonConvert',30:'Accept',31:'ModeChange',32:' ',33:'PageUp',34:'PageDown',35:'End',36:'Home',37:'ArrowLeft',38:'ArrowUp',39:'ArrowRight',40:'ArrowDown',41:'Select',42:'Print',43:'Execute',44:'PrintScreen',45:'Insert',46:'Delete',48:['0',')'],49:['1','!'],50:['2','@'],51:['3','#'],52:['4','$'],53:['5','%'],54:['6','^'],55:['7','&'],56:['8','*'],57:['9','('],91:'OS',93:'ContextMenu',144:'NumLock',145:'ScrollLock',181:'VolumeMute',182:'VolumeDown',183:'VolumeUp',186:[';',':'],187:['=','+'],188:[',','<'],189:['-','_'],190:['.','>'],191:['/','?'],192:['`','~'],219:['[','{'],220:['\\','|'],221:[']','}'],222:["'",'"'],224:'Meta',225:'AltGraph',246:'Attn',247:'CrSel',248:'ExSel',249:'EraseEof',250:'Play',251:'ZoomOut'};// Function Keys (F1-24)
(0,_times3.default)(24,function(i){return codes[112+i]='F'+(i+1);});// Alphabet (a-Z)
(0,_times3.default)(26,function(i){var n=i+65;codes[n]=[String.fromCharCode(n+32),String.fromCharCode(n)];});var keyboardKey={codes:codes,/**
* Get the `keyCode` or `which` value from a keyboard event or `key` name.
* @param {string|object} name A keyboard event like object or `key` name.
* @param {string} [name.key] If object, it must have one of these keys.
* @param {string} [name.keyCode] If object, it must have one of these keys.
* @param {string} [name.which] If object, it must have one of these keys.
* @returns {*}
*/getCode:function getCode(name){if((0,_isObject3.default)(name)){return name.keyCode||name.which||this[name.key];}return this[name];},/**
* Get the key name from a keyboard event, `keyCode`, or `which` value.
* @param {number|object} code A keyboard event like object or key name.
* @param {number} [code.keyCode] If object, it must have one of these keys.
* @param {number} [code.which] If object, it must have one of these keys.
* @param {number} [code.shiftKey] If object, it must have one of these keys.
* @returns {*}
*/getName:function getName(code){var isEvent=(0,_isObject3.default)(code);var name=codes[isEvent?code.keyCode||code.which:code];if(Array.isArray(name)){if(isEvent){name=name[code.shiftKey?1:0];}else{name=name[0];}}return name;},// ----------------------------------------
// By Name
// ----------------------------------------
// declare these manually for static analysis
Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31,' ':32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,')':48,1:49,'!':49,2:50,'@':50,3:51,'#':51,4:52,$:52,5:53,'%':53,6:54,'^':54,7:55,'&':55,8:56,'*':56,9:57,'(':57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,';':186,':':186,'=':187,'+':187,',':188,'<':188,'-':189,_:189,'.':190,'>':190,'/':191,'?':191,'`':192,'~':192,'[':219,'{':219,'\\':220,'\|':220,']':221,'}':221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};// ----------------------------------------
// By Alias
// ----------------------------------------
// provide dot-notation accessible keys for all key names
keyboardKey.Spacebar=keyboardKey[' '];keyboardKey.Digit0=keyboardKey['0'];keyboardKey.Digit1=keyboardKey['1'];keyboardKey.Digit2=keyboardKey['2'];keyboardKey.Digit3=keyboardKey['3'];keyboardKey.Digit4=keyboardKey['4'];keyboardKey.Digit5=keyboardKey['5'];keyboardKey.Digit6=keyboardKey['6'];keyboardKey.Digit7=keyboardKey['7'];keyboardKey.Digit8=keyboardKey['8'];keyboardKey.Digit9=keyboardKey['9'];keyboardKey.Tilde=keyboardKey['~'];keyboardKey.GraveAccent=keyboardKey['`'];keyboardKey.ExclamationPoint=keyboardKey['!'];keyboardKey.AtSign=keyboardKey['@'];keyboardKey.PoundSign=keyboardKey['#'];keyboardKey.PercentSign=keyboardKey['%'];keyboardKey.Caret=keyboardKey['^'];keyboardKey.Ampersand=keyboardKey['&'];keyboardKey.PlusSign=keyboardKey['+'];keyboardKey.MinusSign=keyboardKey['-'];keyboardKey.EqualsSign=keyboardKey['='];keyboardKey.DivisionSign=keyboardKey['/'];keyboardKey.MultiplicationSign=keyboardKey['*'];keyboardKey.Comma=keyboardKey[','];keyboardKey.Decimal=keyboardKey['.'];keyboardKey.Colon=keyboardKey[':'];keyboardKey.Semicolon=keyboardKey[';'];keyboardKey.Pipe=keyboardKey['|'];keyboardKey.BackSlash=keyboardKey['\\'];keyboardKey.QuestionMark=keyboardKey['?'];keyboardKey.SingleQuote=keyboardKey['"'];keyboardKey.DoubleQuote=keyboardKey['"'];keyboardKey.LeftCurlyBrace=keyboardKey['{'];keyboardKey.RightCurlyBrace=keyboardKey['}'];keyboardKey.LeftParenthesis=keyboardKey['('];keyboardKey.RightParenthesis=keyboardKey[')'];keyboardKey.LeftAngleBracket=keyboardKey['<'];keyboardKey.RightAngleBracket=keyboardKey['>'];keyboardKey.LeftSquareBracket=keyboardKey['['];keyboardKey.RightSquareBracket=keyboardKey[']'];exports.default=keyboardKey;
/***/ },
/* 1107 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.objectDiff=undefined;var _isEqual2=__webpack_require__(167);var _isEqual3=_interopRequireDefault(_isEqual2);var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _transform2=__webpack_require__(876);var _transform3=_interopRequireDefault(_transform2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* Naive and inefficient object difference, intended for development / debugging use only.
* Deleted keys are shown as [DELETED].
* @param {{}} source The source object
* @param {{}} target The target object.
* @returns {{}} A new object containing new/modified/deleted keys.
* @example
* import { objectDiff } from 'src/lib'
*
* const a = { key: 'val', foo: 'bar' }
* const b = { key: 'val', foo: 'baz' }
*
* objectDiff(a, b)
* //=> { foo: 'baz' }
*/var objectDiff=exports.objectDiff=function objectDiff(source,target){return(0,_transform3.default)(source,function(res,val,key){// deleted keys
if(!(0,_has3.default)(target,key))res[key]='[DELETED]';// new keys / changed values
else if(!(0,_isEqual3.default)(val,target[key]))res[key]=target[key];},{});};
/***/ },
/* 1108 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof2=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _keys2=__webpack_require__(24);var _keys3=_interopRequireDefault(_keys2);var _omit2=__webpack_require__(171);var _omit3=_interopRequireDefault(_omit2);var _each2=__webpack_require__(163);var _each3=_interopRequireDefault(_each2);var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _typeof=typeof Symbol==="function"&&_typeof2(Symbol.iterator)==="symbol"?function(obj){return typeof obj==='undefined'?'undefined':_typeof2(obj);}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj==='undefined'?'undefined':_typeof2(obj);};var _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;};var _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;};}();var _get=function get(object,property,receiver){if(object===null)object=Function.prototype;var desc=Object.getOwnPropertyDescriptor(object,property);if(desc===undefined){var parent=Object.getPrototypeOf(object);if(parent===null){return undefined;}else{return get(parent,property,receiver);}}else if("value"in desc){return desc.value;}else{var getter=desc.get;if(getter===undefined){return undefined;}return getter.call(receiver);}};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _AccordionContent=__webpack_require__(509);var _AccordionContent2=_interopRequireDefault(_AccordionContent);var _AccordionTitle=__webpack_require__(510);var _AccordionTitle2=_interopRequireDefault(_AccordionTitle);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof2(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_typeof2(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;}/**
* An accordion allows users to toggle the display of sections of content
*/var Accordion=function(_Component){_inherits(Accordion,_Component);function Accordion(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Accordion);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Accordion.__proto__||Object.getPrototypeOf(Accordion)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.handleTitleClick=function(e,index){var onTitleClick=_this.props.onTitleClick;var activeIndex=_this.state.activeIndex;_this.trySetState({activeIndex:index===activeIndex?-1:index});if(onTitleClick)onTitleClick(e,index);},_this.renderChildren=function(){var children=_this.props.children;var activeIndex=_this.state.activeIndex;var titleIndex=0;var contentIndex=0;return _react.Children.map(children,function(child){var isTitle=child.type===_AccordionTitle2.default;var isContent=child.type===_AccordionContent2.default;if(isTitle){var _ret2=function(){var currentIndex=titleIndex;var isActive=(0,_has3.default)(child,'props.active')?child.props.active:activeIndex===currentIndex;var onClick=function onClick(e){_this.handleTitleClick(e,currentIndex);if(child.props.onClick)child.props.onClick(e,currentIndex);};titleIndex++;return{v:(0,_react.cloneElement)(child,_extends({},child.props,{active:isActive,onClick:onClick}))};}();if((typeof _ret2==='undefined'?'undefined':_typeof(_ret2))==="object")return _ret2.v;}if(isContent){var _currentIndex=contentIndex;var _isActive=(0,_has3.default)(child,'props.active')?child.props.active:activeIndex===_currentIndex;contentIndex++;return(0,_react.cloneElement)(child,_extends({},child.props,{active:_isActive}));}return child;});},_this.renderPanels=function(){var panels=_this.props.panels;var activeIndex=_this.state.activeIndex;var children=[];(0,_each3.default)(panels,function(panel,i){var isActive=(0,_has3.default)(panel,'active')?panel.active:activeIndex===i;var onClick=function onClick(e){_this.handleTitleClick(e,i);if(panel.onClick)panel.onClick(e,i);};children.push(_react2.default.createElement(_AccordionTitle2.default,{key:panel.title+'-title',active:isActive,onClick:onClick},_react2.default.createElement(_Icon2.default,{name:'dropdown'}),panel.title));children.push(_react2.default.createElement(_AccordionContent2.default,{key:panel.title+'-content',active:isActive},panel.content));});return children;},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Accordion,[{key:'componentWillMount',value:function componentWillMount(){_get(Accordion.prototype.__proto__||Object.getPrototypeOf(Accordion.prototype),'componentWillMount',this).call(this);// TODO AutoControlledComponent should consider default prop values when trySetState is called before mount.
// Otherwise, on first render we're allowed to set state for a prop that might have a default.
// The default prop should always win on first render.
// This default check should then be removed.
if(typeof this.props.defaultActiveIndex==='undefined'){this.trySetState({activeIndex:-1});}}},{key:'render',value:function render(){var _props=this.props,className=_props.className,fluid=_props.fluid,inverted=_props.inverted,panels=_props.panels,styled=_props.styled;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(styled,'styled'),'accordion',className);var rest=(0,_omit3.default)(this.props,(0,_keys3.default)(Accordion.propTypes));var ElementType=(0,_lib.getElementType)(Accordion,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),panels?this.renderPanels():this.renderChildren());}}]);return Accordion;}(_lib.AutoControlledComponent);Accordion.autoControlledProps=['activeIndex'];Accordion.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Index of the currently active panel. */activeIndex:_react.PropTypes.number,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Initial activeIndex value. */defaultActiveIndex:_react.PropTypes.number,/** Format to take up the width of it's container. */fluid:_react.PropTypes.bool,/** Format for dark backgrounds. */inverted:_react.PropTypes.bool,/** Called with (event, index) when a panel title is clicked. */onTitleClick:_react.PropTypes.func,/**
* Create simple accordion panels from an array of { text: <string>, content: <string> } objects.
* Object can optionally define an `active` key to open/close the panel.
* Mutually exclusive with children.
* TODO: AccordionPanel should be a sub-component
*/panels:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_react.PropTypes.arrayOf(_react.PropTypes.shape({active:_react.PropTypes.bool,title:_react.PropTypes.string,content:_react.PropTypes.string,onClick:_react.PropTypes.func}))]),/** Adds some basic styling to accordion panels. */styled:_react.PropTypes.bool};Accordion._meta={name:'Accordion',type:_lib.META.TYPES.MODULE};Accordion.Content=_AccordionContent2.default;Accordion.Title=_AccordionTitle2.default;exports.default=Accordion;
/***/ },
/* 1109 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}var debug=(0,_lib.makeDebugger)('checkbox');var _meta={name:'Checkbox',type:_lib.META.TYPES.MODULE,props:{type:['checkbox','radio']}};/**
* A checkbox allows a user to select a value from a small set of options, often binary
* @see Form
* @see Radio
*/var Checkbox=function(_Component){_inherits(Checkbox,_Component);function Checkbox(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Checkbox);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Checkbox.__proto__||Object.getPrototypeOf(Checkbox)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.canToggle=function(){var _this$props=_this.props,disabled=_this$props.disabled,radio=_this$props.radio,readOnly=_this$props.readOnly;var checked=_this.state.checked;return!disabled&&!readOnly&&!(radio&&checked);},_this.handleClick=function(e){debug('handleClick()');var _this$props2=_this.props,onChange=_this$props2.onChange,onClick=_this$props2.onClick,name=_this$props2.name,value=_this$props2.value;var checked=_this.state.checked;debug(' name: '+name);debug(' value: '+value);debug(' checked: '+checked);if(_this.canToggle()){if(onClick)onClick(e,{name:name,value:value,checked:!!checked});if(onChange)onChange(e,{name:name,value:value,checked:!checked});_this.trySetState({checked:!checked});}},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Checkbox,[{key:'render',value:function render(){var _props=this.props,className=_props.className,label=_props.label,name=_props.name,radio=_props.radio,slider=_props.slider,toggle=_props.toggle,type=_props.type,value=_props.value,disabled=_props.disabled,readOnly=_props.readOnly;var checked=this.state.checked;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(checked,'checked'),// auto apply fitted class to compact white space when there is no label
// http://semantic-ui.com/modules/checkbox.html#fitted
(0,_lib.useKeyOnly)(!label,'fitted'),(0,_lib.useKeyOnly)(radio,'radio'),(0,_lib.useKeyOnly)(slider,'slider'),(0,_lib.useKeyOnly)(toggle,'toggle'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(readOnly,'read-only'),'checkbox',className);var rest=(0,_lib.getUnhandledProps)(Checkbox,this.props);var ElementType=(0,_lib.getElementType)(Checkbox,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick,onChange:this.handleClick}),_react2.default.createElement('input',{type:type,name:name,checked:checked,className:'hidden',readOnly:true,tabIndex:0,value:value}),_react2.default.createElement('label',null,label));}}]);return Checkbox;}(_lib.AutoControlledComponent);Checkbox.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/** Whether or not checkbox is checked. */checked:_react.PropTypes.bool,/** The initial value of checked. */defaultChecked:_react.PropTypes.bool,/** Format to emphasize the current selection state */slider:_lib.customPropTypes.every([_react.PropTypes.bool,_lib.customPropTypes.disallow(['radio','toggle'])]),/** Format as a radio element. This means it is an exclusive option.*/radio:_lib.customPropTypes.every([_react.PropTypes.bool,_lib.customPropTypes.disallow(['slider','toggle'])]),/** Format to show an on or off choice */toggle:_lib.customPropTypes.every([_react.PropTypes.bool,_lib.customPropTypes.disallow(['radio','slider'])]),/** A checkbox can appear disabled and be unable to change states */disabled:_react.PropTypes.bool,/** Removes padding for a label. Auto applied when there is no label. */fitted:_react.PropTypes.bool,/** The text of the associated label element. */label:_react.PropTypes.string,/** HTML input type, either checkbox or radio. */type:_react.PropTypes.oneOf(_meta.props.type),/** The HTML input name. */name:_react.PropTypes.string,/** Called with (event, { name, value, checked }) when the user attempts to change the value. */onChange:_react.PropTypes.func,/** Called with (event, { name, value, checked }) when the checkbox or label is clicked. */onClick:_react.PropTypes.func,/** A checkbox can be read-only and unable to change states */readOnly:_react.PropTypes.bool,/** The HTML input value. */value:_react.PropTypes.string};Checkbox.defaultProps={type:'checkbox'};Checkbox.autoControlledProps=['checked'];Checkbox._meta=_meta;exports.default=Checkbox;
/***/ },
/* 1110 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Portal=__webpack_require__(186);var _Portal2=_interopRequireDefault(_Portal);var _DimmerDimmable=__webpack_require__(511);var _DimmerDimmable2=_interopRequireDefault(_DimmerDimmable);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}var _meta={name:'Dimmer',type:_lib.META.TYPES.MODULE};/**
* A dimmer hides distractions to focus attention on particular content.
*/var Dimmer=function(_Component){_inherits(Dimmer,_Component);function Dimmer(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Dimmer);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Dimmer.__proto__||Object.getPrototypeOf(Dimmer)).call.apply(_ref,[this].concat(args))),_this),_this.handlePortalMount=function(){if(_lib.isBrowser)document.body.classList.add('dimmed','dimmable');},_this.handlePortalUnmount=function(){if(_lib.isBrowser)document.body.classList.remove('dimmed','dimmable');},_this.handleClick=function(e){var _this$props=_this.props,onClick=_this$props.onClick,onClickOutside=_this$props.onClickOutside;if(onClick)onClick(e,_this.props);if(_this.center&&_this.center!==e.target&&_this.center.contains(e.target))return;if(onClickOutside)onClickOutside(e,_this.props);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Dimmer,[{key:'render',value:function render(){var _this2=this;var _props=this.props,active=_props.active,children=_props.children,className=_props.className,content=_props.content,disabled=_props.disabled,inverted=_props.inverted,page=_props.page,simple=_props.simple;var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(active,'active transition visible'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useKeyOnly)(page,'page'),(0,_lib.useKeyOnly)(simple,'simple'),'dimmer',className);var rest=(0,_lib.getUnhandledProps)(Dimmer,this.props);var ElementType=(0,_lib.getElementType)(Dimmer,this.props);var childrenJSX=(children||content)&&_react2.default.createElement('div',{className:'content'},_react2.default.createElement('div',{className:'center',ref:function ref(center){return _this2.center=center;}},children||content));if(page){return _react2.default.createElement(_Portal2.default,{closeOnEscape:false,closeOnDocumentClick:false,onMount:this.handlePortalMount,onUnmount:this.handlePortalUnmount,open:active,openOnTriggerClick:false},_react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),childrenJSX));}return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),childrenJSX);}}]);return Dimmer;}(_react.Component);// Dimmer is not yet defined inside the class
// Do not use a static property initializer
Dimmer.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** An active dimmer will dim its parent container. */active:_react.PropTypes.bool,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand for primary content. */content:_lib.customPropTypes.contentShorthand,/** A disabled dimmer cannot be activated */disabled:_react.PropTypes.bool,/** Called with (event, props) after user's click. */onClick:_react.PropTypes.func,/** Handles click outside Dimmer's content, but inside Dimmer area. */onClickOutside:_react.PropTypes.func,/** A dimmer can be formatted to have its colors inverted. */inverted:_react.PropTypes.bool,/** A dimmer can be formatted to be fixed to the page. */page:_react.PropTypes.bool,/** A dimmer can be controlled with simple prop. */simple:_react.PropTypes.bool};Dimmer._meta=_meta;Dimmer.Dimmable=_DimmerDimmable2.default;exports.default=Dimmer;Dimmer.create=(0,_lib.createShorthandFactory)(Dimmer,function(value){return{content:value};});
/***/ },
/* 1111 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _compact2=__webpack_require__(379);var _compact3=_interopRequireDefault(_compact2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _isNil2=__webpack_require__(387);var _isNil3=_interopRequireDefault(_isNil2);var _every2=__webpack_require__(381);var _every3=_interopRequireDefault(_every2);var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _findIndex2=__webpack_require__(382);var _findIndex3=_interopRequireDefault(_findIndex2);var _find2=__webpack_require__(231);var _find3=_interopRequireDefault(_find2);var _reduce2=__webpack_require__(392);var _reduce3=_interopRequireDefault(_reduce2);var _escapeRegExp2=__webpack_require__(834);var _escapeRegExp3=_interopRequireDefault(_escapeRegExp2);var _filter2=__webpack_require__(230);var _filter3=_interopRequireDefault(_filter2);var _isFunction2=__webpack_require__(47);var _isFunction3=_interopRequireDefault(_isFunction2);var _dropRight2=__webpack_require__(833);var _dropRight3=_interopRequireDefault(_dropRight2);var _isEmpty2=__webpack_require__(232);var _isEmpty3=_interopRequireDefault(_isEmpty2);var _union2=__webpack_require__(877);var _union3=_interopRequireDefault(_union2);var _some2=__webpack_require__(393);var _some3=_interopRequireDefault(_some2);var _get3=__webpack_require__(91);var _get4=_interopRequireDefault(_get3);var _includes2=__webpack_require__(164);var _includes3=_interopRequireDefault(_includes2);var _has2=__webpack_require__(75);var _has3=_interopRequireDefault(_has2);var _isEqual2=__webpack_require__(167);var _isEqual3=_interopRequireDefault(_isEqual2);var _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;};var _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;};}();var _get2=function get(object,property,receiver){if(object===null)object=Function.prototype;var desc=Object.getOwnPropertyDescriptor(object,property);if(desc===undefined){var parent=Object.getPrototypeOf(object);if(parent===null){return undefined;}else{return get(parent,property,receiver);}}else if("value"in desc){return desc.value;}else{var getter=desc.get;if(getter===undefined){return undefined;}return getter.call(receiver);}};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _Label=__webpack_require__(189);var _Label2=_interopRequireDefault(_Label);var _DropdownDivider=__webpack_require__(513);var _DropdownDivider2=_interopRequireDefault(_DropdownDivider);var _DropdownItem=__webpack_require__(515);var _DropdownItem2=_interopRequireDefault(_DropdownItem);var _DropdownHeader=__webpack_require__(514);var _DropdownHeader2=_interopRequireDefault(_DropdownHeader);var _DropdownMenu=__webpack_require__(516);var _DropdownMenu2=_interopRequireDefault(_DropdownMenu);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var debug=(0,_lib.makeDebugger)('dropdown');var _meta={name:'Dropdown',type:_lib.META.TYPES.MODULE,props:{pointing:['left','right','top','top left','top right','bottom','bottom left','bottom right'],additionPosition:['top','bottom']}};/**
* A dropdown allows a user to select a value from a series of options.
* @see Form
* @see Select
*/var Dropdown=function(_Component){_inherits(Dropdown,_Component);function Dropdown(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Dropdown);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Dropdown.__proto__||Object.getPrototypeOf(Dropdown)).call.apply(_ref,[this].concat(args))),_this),_this.handleChange=function(e,value){debug('handleChange()');debug(value);var _this$props=_this.props,name=_this$props.name,onChange=_this$props.onChange;if(onChange)onChange(e,{name:name,value:value});},_this.closeOnEscape=function(e){if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Escape)return;e.preventDefault();_this.close();},_this.moveSelectionOnKeyDown=function(e){debug('moveSelectionOnKeyDown()');debug(_lib.keyboardKey.getName(e));switch(_lib.keyboardKey.getCode(e)){case _lib.keyboardKey.ArrowDown:e.preventDefault();_this.moveSelectionBy(1);break;case _lib.keyboardKey.ArrowUp:e.preventDefault();_this.moveSelectionBy(-1);break;default:break;}},_this.openOnSpace=function(e){debug('openOnSpace()');if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Spacebar)return;if(_this.state.open)return;e.preventDefault();_this.open(e);},_this.openOnArrow=function(e){debug('openOnArrow()');var code=_lib.keyboardKey.getCode(e);if(!(0,_includes3.default)([_lib.keyboardKey.ArrowDown,_lib.keyboardKey.ArrowUp],code))return;if(_this.state.open)return;e.preventDefault();_this.open(e);},_this.selectHighlightedItem=function(e){var open=_this.state.open;var _this$props2=_this.props,multiple=_this$props2.multiple,name=_this$props2.name,onAddItem=_this$props2.onAddItem,options=_this$props2.options;var value=(0,_get4.default)(_this.getSelectedItem(),'value');// prevent selecting null if there was no selected item value
// prevent selecting duplicate items when the dropdown is closed
if(!value||!open)return;// notify the onAddItem prop if this is a new value
if(onAddItem&&!(0,_some3.default)(options,{text:value})){onAddItem(e,{name:name,value:value});}// notify the onChange prop that the user is trying to change value
if(multiple){// state value may be undefined
var newValue=(0,_union3.default)(_this.state.value,[value]);_this.setValue(newValue);_this.handleChange(e,newValue);}else{_this.setValue(value);_this.handleChange(e,value);_this.close();}},_this.selectItemOnEnter=function(e){debug('selectItemOnEnter()');debug(_lib.keyboardKey.getName(e));if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Enter)return;e.preventDefault();_this.selectHighlightedItem(e);},_this.removeItemOnBackspace=function(e){debug('removeItemOnBackspace()');debug(_lib.keyboardKey.getName(e));if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Backspace)return;var _this$props3=_this.props,multiple=_this$props3.multiple,search=_this$props3.search;var _this$state=_this.state,searchQuery=_this$state.searchQuery,value=_this$state.value;if(searchQuery||!search||!multiple||(0,_isEmpty3.default)(value))return;e.preventDefault();// remove most recent value
var newValue=(0,_dropRight3.default)(value);_this.setValue(newValue);_this.handleChange(e,newValue);},_this.closeOnDocumentClick=function(e){debug('closeOnDocumentClick()');debug(e);// If event happened in the dropdown, ignore it
if(_this._dropdown&&(0,_isFunction3.default)(_this._dropdown.contains)&&_this._dropdown.contains(e.target))return;_this.close();},_this.handleMouseDown=function(e){debug('handleMouseDown()');var onMouseDown=_this.props.onMouseDown;if(onMouseDown)onMouseDown(e);_this.isMouseDown=true;// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.addEventListener('mouseup',_this.handleDocumentMouseUp);},_this.handleDocumentMouseUp=function(){debug('handleDocumentMouseUp()');_this.isMouseDown=false;// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.removeEventListener('mouseup',_this.handleDocumentMouseUp);},_this.handleClick=function(e){debug('handleClick()',e);var onClick=_this.props.onClick;if(onClick)onClick(e);// prevent closeOnDocumentClick()
e.stopPropagation();_this.toggle(e);},_this.handleItemClick=function(e,_ref2){var value=_ref2.value;debug('handleItemClick()');debug(value);var _this$props4=_this.props,multiple=_this$props4.multiple,name=_this$props4.name,onAddItem=_this$props4.onAddItem,options=_this$props4.options;var item=_this.getItemByValue(value)||{};// prevent toggle() in handleClick()
e.stopPropagation();// prevent closeOnDocumentClick() if multiple or item is disabled
if(multiple||item.disabled){e.nativeEvent.stopImmediatePropagation();}if(item.disabled)return;// notify the onAddItem prop if this is a new value
if(onAddItem&&!(0,_some3.default)(options,{text:value})){onAddItem(e,{name:name,value:value});}// notify the onChange prop that the user is trying to change value
if(multiple){var newValue=(0,_union3.default)(_this.state.value,[value]);_this.setValue(newValue);_this.handleChange(e,newValue);}else{_this.setValue(value);_this.handleChange(e,value);_this.close();}},_this.handleFocus=function(e){debug('handleFocus()');var onFocus=_this.props.onFocus;if(onFocus)onFocus(e);_this.setState({focus:true});},_this.handleBlur=function(e){debug('handleBlur()');var _this$props5=_this.props,multiple=_this$props5.multiple,onBlur=_this$props5.onBlur,selectOnBlur=_this$props5.selectOnBlur;// do not "blur" when the mouse is down inside of the Dropdown
if(_this.isMouseDown)return;if(onBlur)onBlur(e);if(selectOnBlur&&!multiple)_this.selectHighlightedItem(e);_this.setState({focus:false});},_this.handleSearchChange=function(e){debug('handleSearchChange()');debug(e.target.value);// prevent propagating to this.props.onChange()
e.stopPropagation();var _this$props6=_this.props,search=_this$props6.search,onSearchChange=_this$props6.onSearchChange;var open=_this.state.open;var newQuery=e.target.value;if(onSearchChange)onSearchChange(e,newQuery);// open search dropdown on search query
if(search&&newQuery&&!open)_this.open();_this.setState({selectedIndex:_this.getEnabledIndices()[0],searchQuery:newQuery});},_this.getMenuOptions=function(){var value=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_this.state.value;var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:_this.props.options;var _this$props7=_this.props,multiple=_this$props7.multiple,search=_this$props7.search,allowAdditions=_this$props7.allowAdditions,additionPosition=_this$props7.additionPosition,additionLabel=_this$props7.additionLabel;var searchQuery=_this.state.searchQuery;var filteredOptions=options;// filter out active options
if(multiple){filteredOptions=(0,_filter3.default)(filteredOptions,function(opt){return!(0,_includes3.default)(value,opt.value);});}// filter by search query
if(search&&searchQuery){if((0,_isFunction3.default)(search)){filteredOptions=search(filteredOptions,searchQuery);}else{(function(){var re=new RegExp((0,_escapeRegExp3.default)(searchQuery),'i');filteredOptions=(0,_filter3.default)(filteredOptions,function(opt){return re.test(opt.text);});})();}}// insert the "add" item
if(allowAdditions&&search&&searchQuery&&!(0,_some3.default)(filteredOptions,{text:searchQuery})){var additionLabelElement=_react2.default.isValidElement(additionLabel)?_react2.default.cloneElement(additionLabel,{key:'label'}):additionLabel||'';var addItem={// by using an array, we can pass multiple elements, but when doing so
// we must specify a `key` for React to know which one is which
text:[additionLabelElement,_react2.default.createElement('b',{key:'addition'},searchQuery)],value:searchQuery,className:'addition'};if(additionPosition==='top')filteredOptions.unshift(addItem);else filteredOptions.push(addItem);}return filteredOptions;},_this.getSelectedItem=function(){var selectedIndex=_this.state.selectedIndex;var options=_this.getMenuOptions();return(0,_get4.default)(options,'['+selectedIndex+']');},_this.getEnabledIndices=function(givenOptions){var options=givenOptions||_this.getMenuOptions();return(0,_reduce3.default)(options,function(memo,item,index){if(!item.disabled)memo.push(index);return memo;},[]);},_this.getItemByValue=function(value){var options=_this.props.options;return(0,_find3.default)(options,{value:value});},_this.getMenuItemIndexByValue=function(value,givenOptions){var options=givenOptions||_this.getMenuOptions();return(0,_findIndex3.default)(options,['value',value]);},_this.setValue=function(value){debug('setValue()');debug('value',value);var newState={searchQuery:''};_this.trySetState({value:value},newState);_this.setSelectedIndex(value);},_this.setSelectedIndex=function(){var value=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_this.state.value;var optionsProps=arguments.length>1&&arguments[1]!==undefined?arguments[1]:_this.props.options;var multiple=_this.props.multiple;var selectedIndex=_this.state.selectedIndex;var options=_this.getMenuOptions(value,optionsProps);var enabledIndicies=_this.getEnabledIndices(options);var newSelectedIndex=void 0;// update the selected index
if(!selectedIndex||selectedIndex<0){var firstIndex=enabledIndicies[0];// Select the currently active item, if none, use the first item.
// Multiple selects remove active items from the list,
// their initial selected index should be 0.
newSelectedIndex=multiple?firstIndex:_this.getMenuItemIndexByValue(value,options)||enabledIndicies[0];}else if(multiple){// multiple selects remove options from the menu as they are made active
// keep the selected index within range of the remaining items
if(selectedIndex>=options.length-1){newSelectedIndex=enabledIndicies[enabledIndicies.length-1];}}else{var activeIndex=_this.getMenuItemIndexByValue(value,options);// regular selects can only have one active item
// set the selected index to the currently active item
newSelectedIndex=(0,_includes3.default)(enabledIndicies,activeIndex)?activeIndex:undefined;}if(!newSelectedIndex||newSelectedIndex<0){newSelectedIndex=enabledIndicies[0];}_this.setState({selectedIndex:newSelectedIndex});},_this.handleLabelClick=function(e,labelProps){debug('handleLabelClick()');// prevent focusing search input on click
e.stopPropagation();_this.setState({selectedLabel:labelProps.value});var onLabelClick=_this.props.onLabelClick;if(onLabelClick)onLabelClick(e,labelProps);},_this.handleLabelRemove=function(e,labelProps){debug('handleLabelRemove()');// prevent focusing search input on click
e.stopPropagation();var value=_this.state.value;var newValue=(0,_without3.default)(value,labelProps.value);debug('label props:',labelProps);debug('current value:',value);debug('remove value:',labelProps.value);debug('new value:',newValue);_this.setValue(newValue);_this.handleChange(e,newValue);},_this.moveSelectionBy=function(offset){var startIndex=arguments.length>1&&arguments[1]!==undefined?arguments[1]:_this.state.selectedIndex;debug('moveSelectionBy()');debug('offset: '+offset);var options=_this.getMenuOptions();var lastIndex=options.length-1;// Prevent infinite loop
if((0,_every3.default)(options,'disabled'))return;// next is after last, wrap to beginning
// next is before first, wrap to end
var nextIndex=startIndex+offset;if(nextIndex>lastIndex)nextIndex=0;else if(nextIndex<0)nextIndex=lastIndex;if(options[nextIndex].disabled)return _this.moveSelectionBy(offset,nextIndex);_this.setState({selectedIndex:nextIndex});_this.scrollSelectedItemIntoView();},_this.scrollSelectedItemIntoView=function(){debug('scrollSelectedItemIntoView()');// Do not access document when server side rendering
if(!_lib.isBrowser)return;var menu=document.querySelector('.ui.dropdown.active.visible .menu.visible');var item=menu.querySelector('.item.selected');debug('menu: '+menu);debug('item: '+item);var isOutOfUpperView=item.offsetTop<menu.scrollTop;var isOutOfLowerView=item.offsetTop+item.clientHeight>menu.scrollTop+menu.clientHeight;if(isOutOfUpperView){menu.scrollTop=item.offsetTop;}else if(isOutOfLowerView){menu.scrollTop=item.offsetTop+item.clientHeight-menu.clientHeight;}},_this.open=function(e){debug('open()');var _this$props8=_this.props,disabled=_this$props8.disabled,onOpen=_this$props8.onOpen,search=_this$props8.search;if(disabled)return;if(search)_this._search.focus();if(onOpen)onOpen(e,_this.props);_this.trySetState({open:true});},_this.close=function(e){debug('close()');var onClose=_this.props.onClose;if(onClose)onClose(e,_this.props);_this.trySetState({open:false});},_this.handleClose=function(){debug('handleClose()');// https://github.com/Semantic-Org/Semantic-UI-React/issues/627
// Blur the Dropdown on close so it is blurred after selecting an item.
// This is to prevent it from re-opening when switching tabs after selecting an item.
_this._dropdown.blur();// We need to keep the virtual model in sync with the browser focus change
// https://github.com/Semantic-Org/Semantic-UI-React/issues/692
_this.setState({focus:false});},_this.toggle=function(e){return _this.state.open?_this.close(e):_this.open(e);},_this.renderText=function(){var _this$props9=_this.props,multiple=_this$props9.multiple,placeholder=_this$props9.placeholder,search=_this$props9.search,text=_this$props9.text;var _this$state2=_this.state,searchQuery=_this$state2.searchQuery,value=_this$state2.value,open=_this$state2.open;var hasValue=multiple?!(0,_isEmpty3.default)(value):!(0,_isNil3.default)(value)&&value!=='';var classes=(0,_classnames2.default)(placeholder&&!hasValue&&'default','text',search&&searchQuery&&'filtered');var _text=placeholder;if(searchQuery){_text=null;}else if(text){_text=text;}else if(open&&!multiple){_text=(0,_get4.default)(_this.getSelectedItem(),'text');}else if(hasValue){_text=(0,_get4.default)(_this.getItemByValue(value),'text');}return _react2.default.createElement('div',{className:classes},_text);},_this.renderHiddenInput=function(){debug('renderHiddenInput()');var value=_this.state.value;var _this$props10=_this.props,multiple=_this$props10.multiple,name=_this$props10.name,options=_this$props10.options,selection=_this$props10.selection;debug('name: '+name);debug('selection: '+selection);debug('value: '+value);if(!selection)return null;// a dropdown without an active item will have an empty string value
return _react2.default.createElement('select',{type:'hidden',name:name,value:value,multiple:multiple},_react2.default.createElement('option',{key:'empty',value:''}),(0,_map3.default)(options,function(option){return _react2.default.createElement('option',{key:option.value,value:option.value},option.text);}));},_this.renderSearchInput=function(){var _this$props11=_this.props,search=_this$props11.search,name=_this$props11.name,tabIndex=_this$props11.tabIndex;var searchQuery=_this.state.searchQuery;if(!search)return null;// resize the search input, temporarily show the sizer so we can measure it
var searchWidth=void 0;if(_this._sizer&&searchQuery){_this._sizer.style.display='inline';_this._sizer.textContent=searchQuery;searchWidth=Math.ceil(_this._sizer.getBoundingClientRect().width);_this._sizer.style.removeProperty('display');}return _react2.default.createElement('input',{value:searchQuery,onChange:_this.handleSearchChange,className:'search',name:[name,'search'].join('-'),autoComplete:'off',tabIndex:tabIndex,style:{width:searchWidth},ref:function ref(c){return _this._search=c;}});},_this.renderSearchSizer=function(){var _this$props12=_this.props,search=_this$props12.search,multiple=_this$props12.multiple;if(!(search&&multiple))return null;return _react2.default.createElement('span',{className:'sizer',ref:function ref(c){return _this._sizer=c;}});},_this.renderLabels=function(){debug('renderLabels()');var _this$props13=_this.props,multiple=_this$props13.multiple,renderLabel=_this$props13.renderLabel;var _this$state3=_this.state,selectedLabel=_this$state3.selectedLabel,value=_this$state3.value;if(!multiple||(0,_isEmpty3.default)(value)){return;}var selectedItems=(0,_map3.default)(value,_this.getItemByValue);debug('selectedItems',selectedItems);// if no item could be found for a given state value the selected item will be undefined
// compact the selectedItems so we only have actual objects left
return(0,_map3.default)((0,_compact3.default)(selectedItems),function(item,index){var defaultLabelProps={active:item.value===selectedLabel,as:'a',key:item.value,onClick:_this.handleLabelClick,onRemove:_this.handleLabelRemove,value:item.value};return _Label2.default.create(renderLabel(item,index,defaultLabelProps),defaultLabelProps);});},_this.renderOptions=function(){var _this$props14=_this.props,multiple=_this$props14.multiple,search=_this$props14.search,noResultsMessage=_this$props14.noResultsMessage;var _this$state4=_this.state,selectedIndex=_this$state4.selectedIndex,value=_this$state4.value;var options=_this.getMenuOptions();if(search&&(0,_isEmpty3.default)(options)){return _react2.default.createElement('div',{className:'message'},noResultsMessage);}var isActive=multiple?function(optValue){return(0,_includes3.default)(value,optValue);}:function(optValue){return optValue===value;};return(0,_map3.default)(options,function(opt,i){return _react2.default.createElement(_DropdownItem2.default,_extends({key:opt.value+'-'+i,active:isActive(opt.value),onClick:_this.handleItemClick,selected:selectedIndex===i},opt,{// Needed for handling click events on disabled items
style:_extends({},opt.style,{pointerEvents:'all'})}));});},_this.renderMenu=function(){var _this$props15=_this.props,children=_this$props15.children,header=_this$props15.header;var open=_this.state.open;var menuClasses=open?'visible':'';// single menu child
if(children){var menuChild=_react.Children.only(children);var className=(0,_classnames2.default)(menuClasses,menuChild.props.className);return(0,_react.cloneElement)(menuChild,{className:className});}return _react2.default.createElement(_DropdownMenu2.default,{className:menuClasses},(0,_lib.createShorthand)(_DropdownHeader2.default,function(val){return{content:val};},header),_this.renderOptions());},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Dropdown,[{key:'componentWillMount',value:function componentWillMount(){if(_get2(Dropdown.prototype.__proto__||Object.getPrototypeOf(Dropdown.prototype),'componentWillMount',this))_get2(Dropdown.prototype.__proto__||Object.getPrototypeOf(Dropdown.prototype),'componentWillMount',this).call(this);debug('componentWillMount()');var _state=this.state,open=_state.open,value=_state.value;this.setValue(value);if(open)this.open();}},{key:'shouldComponentUpdate',value:function shouldComponentUpdate(nextProps,nextState){return!(0,_isEqual3.default)(nextProps,this.props)||!(0,_isEqual3.default)(nextState,this.state);}},{key:'componentWillReceiveProps',value:function componentWillReceiveProps(nextProps){_get2(Dropdown.prototype.__proto__||Object.getPrototypeOf(Dropdown.prototype),'componentWillReceiveProps',this).call(this,nextProps);debug('componentWillReceiveProps()');// TODO objectDiff still runs in prod, stop it
debug('to props:',(0,_lib.objectDiff)(this.props,nextProps));/* eslint-disable no-console */if(process.env.NODE_ENV!=='production'){// in development, validate value type matches dropdown type
var isNextValueArray=Array.isArray(nextProps.value);var hasValue=(0,_has3.default)(nextProps,'value');if(hasValue&&nextProps.multiple&&!isNextValueArray){console.error('Dropdown `value` must be an array when `multiple` is set.'+(' Received type: `'+Object.prototype.toString.call(nextProps.value)+'`.'));}else if(hasValue&&!nextProps.multiple&&isNextValueArray){console.error('Dropdown `value` must not be an array when `multiple` is not set.'+' Either set `multiple={true}` or use a string or number value.');}}/* eslint-enable no-console */if(!(0,_isEqual3.default)(nextProps.value,this.props.value)){debug('value changed, setting',nextProps.value);this.setValue(nextProps.value);}if(!(0,_isEqual3.default)(nextProps.options,this.props.options)){this.setSelectedIndex(undefined,nextProps.options);}}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps,prevState){// eslint-disable-line complexity
debug('componentDidUpdate()');// TODO objectDiff still runs in prod, stop it
debug('to state:',(0,_lib.objectDiff)(prevState,this.state));// Do not access document when server side rendering
if(!_lib.isBrowser)return;// focused / blurred
if(!prevState.focus&&this.state.focus){debug('dropdown focused');if(!this.isMouseDown){debug('mouse is not down, opening');this.open();}if(!this.state.open){document.addEventListener('keydown',this.openOnArrow);document.addEventListener('keydown',this.openOnSpace);}else{document.addEventListener('keydown',this.moveSelectionOnKeyDown);document.addEventListener('keydown',this.selectItemOnEnter);document.addEventListener('keydown',this.removeItemOnBackspace);}}else if(prevState.focus&&!this.state.focus){debug('dropdown blurred');if(!this.isMouseDown){debug('mouse is not down, closing');this.close();}document.removeEventListener('keydown',this.openOnArrow);document.removeEventListener('keydown',this.openOnSpace);document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);document.removeEventListener('keydown',this.removeItemOnBackspace);}// opened / closed
if(!prevState.open&&this.state.open){debug('dropdown opened');document.addEventListener('keydown',this.closeOnEscape);document.addEventListener('keydown',this.moveSelectionOnKeyDown);document.addEventListener('keydown',this.selectItemOnEnter);document.addEventListener('keydown',this.removeItemOnBackspace);document.addEventListener('click',this.closeOnDocumentClick);document.removeEventListener('keydown',this.openOnArrow);document.removeEventListener('keydown',this.openOnSpace);}else if(prevState.open&&!this.state.open){debug('dropdown closed');this.handleClose();document.removeEventListener('keydown',this.closeOnEscape);document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);document.removeEventListener('keydown',this.removeItemOnBackspace);document.removeEventListener('click',this.closeOnDocumentClick);}}},{key:'componentWillUnmount',value:function componentWillUnmount(){debug('componentWillUnmount()');// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.removeEventListener('keydown',this.openOnArrow);document.removeEventListener('keydown',this.openOnSpace);document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);document.removeEventListener('keydown',this.removeItemOnBackspace);document.removeEventListener('keydown',this.closeOnEscape);document.removeEventListener('click',this.closeOnDocumentClick);}// ----------------------------------------
// Document Event Handlers
// ----------------------------------------
// onChange needs to receive a value
// can't rely on props.value if we are controlled
// ----------------------------------------
// Component Event Handlers
// ----------------------------------------
// ----------------------------------------
// Getters
// ----------------------------------------
// There are times when we need to calculate the options based on a value
// that hasn't yet been persisted to state.
// ----------------------------------------
// Setters
// ----------------------------------------
// ----------------------------------------
// Behavior
// ----------------------------------------
// ----------------------------------------
// Render
// ----------------------------------------
},{key:'render',value:function render(){var _this2=this;debug('render()');debug('props',this.props);debug('state',this.state);var open=this.state.open;var _props=this.props,basic=_props.basic,button=_props.button,className=_props.className,compact=_props.compact,fluid=_props.fluid,floating=_props.floating,icon=_props.icon,inline=_props.inline,labeled=_props.labeled,multiple=_props.multiple,pointing=_props.pointing,search=_props.search,selection=_props.selection,simple=_props.simple,loading=_props.loading,error=_props.error,disabled=_props.disabled,scrolling=_props.scrolling,tabIndex=_props.tabIndex,trigger=_props.trigger;// Classes
var classes=(0,_classnames2.default)('ui',(0,_lib.useKeyOnly)(open,'active visible'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(button,'button'),(0,_lib.useKeyOnly)(compact,'compact'),(0,_lib.useKeyOnly)(fluid,'fluid'),(0,_lib.useKeyOnly)(floating,'floating'),(0,_lib.useKeyOnly)(inline,'inline'),// TODO: consider augmentation to render Dropdowns as Button/Menu, solves icon/link item issues
// https://github.com/Semantic-Org/Semantic-UI-React/issues/401#issuecomment-240487229
// TODO: the icon class is only required when a dropdown is a button
// useKeyOnly(icon, 'icon'),
(0,_lib.useKeyOnly)(labeled,'labeled'),// TODO: linkItem is required only when Menu child, add dynamically
// useKeyOnly(linkItem, 'link item'),
(0,_lib.useKeyOnly)(multiple,'multiple'),(0,_lib.useKeyOnly)(search,'search'),(0,_lib.useKeyOnly)(selection,'selection'),(0,_lib.useKeyOnly)(simple,'simple'),(0,_lib.useKeyOnly)(scrolling,'scrolling'),(0,_lib.useKeyOrValueAndKey)(pointing,'pointing'),className,'dropdown');var rest=(0,_lib.getUnhandledProps)(Dropdown,this.props);var ElementType=(0,_lib.getElementType)(Dropdown,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onBlur:this.handleBlur,onClick:this.handleClick,onMouseDown:this.handleMouseDown,onFocus:this.handleFocus,onChange:this.handleChange,tabIndex:disabled||search?undefined:tabIndex,ref:function ref(c){return _this2._dropdown=c;}}),this.renderHiddenInput(),this.renderLabels(),this.renderSearchInput(),this.renderSearchSizer(),trigger||this.renderText(),_Icon2.default.create(icon),this.renderMenu());}}]);return Dropdown;}(_lib.AutoControlledComponent);Dropdown.propTypes={/**
* Allow user additions to the list of options (boolean).
* Requires the use of `selection`, `options` and `search`.
*/allowAdditions:_lib.customPropTypes.every([_lib.customPropTypes.demand(['options','selection','search']),_react.PropTypes.bool]),/** Position of the `Add: ...` option in the dropdown list ('top' or 'bottom'). */additionPosition:_react.PropTypes.oneOf(_meta.props.additionPosition),/** Label prefixed to an option added by a user. */additionLabel:_react.PropTypes.oneOfType([_react.PropTypes.element,_react.PropTypes.string]),/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A Dropdown can reduce its complexity */basic:_react.PropTypes.bool,/** Format the Dropdown to appear as a button. */button:_react.PropTypes.bool,/** Primary content. */children:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['options','selection']),_lib.customPropTypes.givenProps({children:_react.PropTypes.any.isRequired},_react2.default.PropTypes.element.isRequired)]),/** Additional classes. */className:_react.PropTypes.string,/** A compact dropdown has no minimum width. */compact:_react.PropTypes.bool,/** Initial value of open. */defaultOpen:_react.PropTypes.bool,/** Currently selected label in multi-select. */defaultSelectedLabel:_lib.customPropTypes.every([_lib.customPropTypes.demand(['multiple']),_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number])]),/** Initial value or value array if multiple. */defaultValue:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number,_react.PropTypes.arrayOf(_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]))]),/** A disabled dropdown menu or item does not allow user interaction. */disabled:_react.PropTypes.bool,/** An errored dropdown can alert a user to a problem. */error:_react.PropTypes.bool,/** A dropdown menu can contain floated content. */floating:_react.PropTypes.bool,/** A dropdown can take the full width of its parent */fluid:_react.PropTypes.bool,/** A dropdown menu can contain a header. */header:_react.PropTypes.node,/** Shorthand for Icon. */icon:_react.PropTypes.oneOfType([_react.PropTypes.node,_react.PropTypes.object]),/** A dropdown can be formatted to appear inline in other content. */inline:_react.PropTypes.bool,/** A dropdown can be labeled. */labeled:_react.PropTypes.bool,// linkItem: PropTypes.bool,
/** A dropdown can show that it is currently loading data. */loading:_react.PropTypes.bool,/** A selection dropdown can allow multiple selections. */multiple:_react.PropTypes.bool,/** Name of the hidden input which holds the value. */name:_react.PropTypes.string,/** Message to display when there are no results. */noResultsMessage:_react.PropTypes.string,/** Called with the name and new value added by the user. Use this to update the options list. */onAddItem:_react.PropTypes.func,/** Called with the React Synthetic Event on Dropdown blur. */onBlur:_react.PropTypes.func,/** Called with the React Synthetic Event and { name, value } on change. */onChange:_react.PropTypes.func,/** Called when a close event happens. */onClose:_react.PropTypes.func,/** Called when a multi-select label is clicked. */onLabelClick:_react.PropTypes.func,/** Called when an open event happens. */onOpen:_react.PropTypes.func,/** Called with the React Synthetic Event and current value on search input change. */onSearchChange:_react.PropTypes.func,/** Called with the React Synthetic Event on Dropdown click. */onClick:_react.PropTypes.func,/** Called with the React Synthetic Event on Dropdown focus. */onFocus:_react.PropTypes.func,/** Called with the React Synthetic Event on Dropdown mouse down. */onMouseDown:_react.PropTypes.func,/** Controls whether or not the dropdown menu is displayed. */open:_react.PropTypes.bool,/** Array of Dropdown.Item props e.g. `{ text: '', value: '' }` */options:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_react.PropTypes.arrayOf(_react.PropTypes.shape(_DropdownItem2.default.propTypes))]),/** Placeholder text. */placeholder:_react.PropTypes.string,/** A dropdown can be formatted so that its menu is pointing. */pointing:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.pointing)]),/**
* A function that takes (data, index, defaultLabelProps) and returns
* shorthand for Label .
*/renderLabel:_react.PropTypes.func,/** A dropdown can have its menu scroll. */scrolling:_react.PropTypes.bool,/**
* A selection dropdown can allow a user to search through a large list of choices.
* Pass a function here to replace the default search.
*/search:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.func]),// TODO 'searchInMenu' or 'search='in menu' or ??? How to handle this markup and functionality?
/** Currently selected label in multi-select. */selectedLabel:_lib.customPropTypes.every([_lib.customPropTypes.demand(['multiple']),_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number])]),/** A dropdown can be used to select between choices in a form. */selection:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['children']),_lib.customPropTypes.demand(['options']),_react.PropTypes.bool]),/** Define whether the highlighted item should be selected on blur. */selectOnBlur:_react.PropTypes.bool,/** A simple dropdown can open without Javascript. */simple:_react.PropTypes.bool,/** A dropdown can receive focus. */tabIndex:_react.PropTypes.string,/** The text displayed in the dropdown, usually for the active item. */text:_react.PropTypes.string,/** Custom element to trigger the menu to become visible. Takes place of 'text'. */trigger:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['selection','text']),_react.PropTypes.node]),/** Current value or value array if multiple. Creates a controlled component. */value:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number,_react.PropTypes.arrayOf(_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]))])};Dropdown.defaultProps={additionLabel:'Add ',additionPosition:'top',icon:'dropdown',noResultsMessage:'No results found.',renderLabel:function renderLabel(_ref3){var text=_ref3.text;return text;},selectOnBlur:true,tabIndex:'0'};Dropdown.autoControlledProps=['open','value','selectedLabel'];Dropdown._meta=_meta;Dropdown.Divider=_DropdownDivider2.default;Dropdown.Header=_DropdownHeader2.default;Dropdown.Item=_DropdownItem2.default;Dropdown.Menu=_DropdownMenu2.default;exports.default=Dropdown;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 1112 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}var _meta={name:'Embed',type:_lib.META.TYPES.MODULE,props:{aspectRatio:['4:3','16:9','21:9'],source:['youtube','vimeo']}};/**
* An embed displays content from other websites like YouTube videos or Google Maps.
*/var Embed=function(_Component){_inherits(Embed,_Component);function Embed(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Embed);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Embed.__proto__||Object.getPrototypeOf(Embed)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.handleClick=function(e){var onClick=_this.props.onClick;var active=_this.state.active;if(onClick)onClick(e,_this.props);if(!active)_this.trySetState({active:true});},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Embed,[{key:'getSrc',value:function getSrc(){var _props=this.props,_props$autoplay=_props.autoplay,autoplay=_props$autoplay===undefined?true:_props$autoplay,_props$brandedUI=_props.brandedUI,brandedUI=_props$brandedUI===undefined?false:_props$brandedUI,_props$color=_props.color,color=_props$color===undefined?'#444444':_props$color,_props$hd=_props.hd,hd=_props$hd===undefined?true:_props$hd,id=_props.id,source=_props.source,url=_props.url;if(source==='youtube'){return['//www.youtube.com/embed/'+id,'?autohide=true','&amp;autoplay='+autoplay,'&amp;color='+encodeURIComponent(color),'&amp;hq='+hd,'&amp;jsapi=false','&amp;modestbranding='+brandedUI].join('');}if(source==='vimeo'){return['//player.vimeo.com/video/'+id,'?api=false','&amp;autoplay='+autoplay,'&amp;byline=false','&amp;color='+encodeURIComponent(color),'&amp;portrait=false','&amp;title=false'].join('');}return url;}},{key:'render',value:function render(){var _props2=this.props,aspectRatio=_props2.aspectRatio,className=_props2.className,icon=_props2.icon,placeholder=_props2.placeholder;var active=this.state.active;var classes=(0,_classnames2.default)('ui',aspectRatio,(0,_lib.useKeyOnly)(active,'active'),'embed',className);var rest=(0,_lib.getUnhandledProps)(Embed,this.props);var ElementType=(0,_lib.getElementType)(Embed,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onClick:this.handleClick}),_Icon2.default.create(icon),placeholder&&_react2.default.createElement('img',{className:'placeholder',src:placeholder}),this.renderEmbed());}},{key:'renderEmbed',value:function renderEmbed(){var children=this.props.children;var active=this.state.active;if(!active)return null;if(children)return _react2.default.createElement('div',{className:'embed'},children);return _react2.default.createElement('div',{className:'embed'},_react2.default.createElement('iframe',{allowFullScreen:'',frameBorder:'0',height:'100%',scrolling:'no',src:this.getSrc(),width:'100%'}));}}]);return Embed;}(_lib.AutoControlledComponent);Embed.autoControlledProps=['active'];Embed.defaultProps={icon:'video play'};Embed._meta=_meta;Embed.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** An embed can be active. */active:_react.PropTypes.bool,/** Setting to true or false will force autoplay. */autoplay:_lib.customPropTypes.every([_lib.customPropTypes.demand(['source']),_react.PropTypes.bool]),/** An embed can specify an alternative aspect ratio. */aspectRatio:_react.PropTypes.oneOf(_meta.props.aspectRatio),/** Whether to show networks branded UI like title cards, or after video calls to action. */brandedUI:_lib.customPropTypes.every([_lib.customPropTypes.demand(['source']),_react.PropTypes.bool]),/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Specifies a default chrome color with Vimeo or YouTube. */color:_lib.customPropTypes.every([_lib.customPropTypes.demand(['source']),_react.PropTypes.string]),/** Initial value of active. */defaultActive:_react.PropTypes.bool,/** Whether to show networks branded UI like title cards, or after video calls to action. */hd:_lib.customPropTypes.every([_lib.customPropTypes.demand(['source']),_react.PropTypes.bool]),/** Specifies an id for source. */id:_lib.customPropTypes.every([_lib.customPropTypes.demand(['source']),_react.PropTypes.string]),/** Specifies an icon to use with placeholder content. */icon:_lib.customPropTypes.itemShorthand,/** Сalled with event on Embed click with (event, props). */onClick:_react.PropTypes.func,/** A placeholder image for embed. */placeholder:_react.PropTypes.string,/** Specifies a source to use. */source:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['sourceUrl']),_react.PropTypes.oneOf(_meta.props.source)]),/** Specifies a url to use for embed. */url:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['source']),_react.PropTypes.string])};exports.default=Embed;
/***/ },
/* 1113 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Embed=__webpack_require__(1112);var _Embed2=_interopRequireDefault(_Embed);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Embed2.default;
/***/ },
/* 1114 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _pick2=__webpack_require__(172);var _pick3=_interopRequireDefault(_pick2);var _omit2=__webpack_require__(171);var _omit3=_interopRequireDefault(_omit2);var _keys2=__webpack_require__(24);var _keys3=_interopRequireDefault(_keys2);var _isEqual2=__webpack_require__(167);var _isEqual3=_interopRequireDefault(_isEqual2);var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _ModalHeader=__webpack_require__(520);var _ModalHeader2=_interopRequireDefault(_ModalHeader);var _ModalContent=__webpack_require__(518);var _ModalContent2=_interopRequireDefault(_ModalContent);var _ModalActions=__webpack_require__(517);var _ModalActions2=_interopRequireDefault(_ModalActions);var _ModalDescription=__webpack_require__(519);var _ModalDescription2=_interopRequireDefault(_ModalDescription);var _Icon=__webpack_require__(22);var _Icon2=_interopRequireDefault(_Icon);var _Portal=__webpack_require__(186);var _Portal2=_interopRequireDefault(_Portal);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var debug=(0,_lib.makeDebugger)('modal');var _meta={name:'Modal',type:_lib.META.TYPES.MODULE,props:{size:['fullscreen','large','small'],dimmer:['inverted','blurring']}};/**
* A modal displays content that temporarily blocks interactions with the main view of a site
* @see Confirm
* @see Portal
*/var Modal=function(_Component){_inherits(Modal,_Component);function Modal(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Modal);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Modal.__proto__||Object.getPrototypeOf(Modal)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.handleClose=function(e){debug('close()');var onClose=_this.props.onClose;if(onClose)onClose(e,_this.props);_this.trySetState({open:false});},_this.handleOpen=function(e){debug('open()');var onOpen=_this.props.onOpen;if(onOpen)onOpen(e,_this.props);_this.trySetState({open:true});},_this.handlePortalMount=function(e){debug('handlePortalMount()');var _this$props=_this.props,dimmer=_this$props.dimmer,mountNode=_this$props.mountNode;if(dimmer){debug('adding dimmer');mountNode.classList.add('dimmable','dimmed');if(dimmer==='blurring'){debug('adding blurred dimmer');mountNode.classList.add('blurring');}}_this.setPosition();var onMount=_this.props.onMount;if(onMount)onMount(e,_this.props);},_this.handlePortalUnmount=function(e){debug('handlePortalUnmount()');// Always remove all dimmer classes.
// If the dimmer value changes while the modal is open, then removing its
// current value could leave cruft classes previously added.
var mountNode=_this.props.mountNode;mountNode.classList.remove('blurring','dimmable','dimmed','scrollable');cancelAnimationFrame(_this.animationRequestId);var onUnmount=_this.props.onUnmount;if(onUnmount)onUnmount(e,_this.props);},_this.setPosition=function(){if(_this._modalNode){var mountNode=_this.props.mountNode;var _this$_modalNode$getB=_this._modalNode.getBoundingClientRect(),height=_this$_modalNode$getB.height;var scrolling=height>=window.innerHeight;var newState={marginTop:-Math.round(height/2),scrolling:scrolling};// add/remove scrolling class on body
if(!_this.state.scrolling&&scrolling){mountNode.classList.add('scrolling');}else if(_this.state.scrolling&&!scrolling){mountNode.classList.remove('scrolling');}if(!(0,_isEqual3.default)(newState,_this.state)){_this.setState(newState);}}_this.animationRequestId=requestAnimationFrame(_this.setPosition);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Modal,[{key:'componentWillUnmount',value:function componentWillUnmount(){debug('componentWillUnmount()');this.handlePortalUnmount();}},{key:'render',value:function render(){var _this2=this;var open=this.state.open;var _props=this.props,basic=_props.basic,children=_props.children,className=_props.className,closeIcon=_props.closeIcon,dimmer=_props.dimmer,mountNode=_props.mountNode,size=_props.size;// Short circuit when server side rendering
if(!_lib.isBrowser)return null;var _state=this.state,marginTop=_state.marginTop,scrolling=_state.scrolling;var classes=(0,_classnames2.default)('ui',size,(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(scrolling,'scrolling'),'modal transition visible active',className);var unhandled=(0,_lib.getUnhandledProps)(Modal,this.props);var portalPropNames=(0,_keys3.default)(_Portal2.default.propTypes);var rest=(0,_omit3.default)(unhandled,portalPropNames);var portalProps=(0,_pick3.default)(unhandled,portalPropNames);var ElementType=(0,_lib.getElementType)(Modal,this.props);var closeIconName=closeIcon===true?'close':closeIcon;var modalJSX=_react2.default.createElement(ElementType,_extends({},rest,{className:classes,style:{marginTop:marginTop},ref:function ref(c){return _this2._modalNode=c;}}),_Icon2.default.create(closeIconName,{onClick:this.handleClose}),children);// wrap dimmer modals
var dimmerClasses=!dimmer?null:(0,_classnames2.default)('ui',dimmer==='inverted'&&'inverted','page modals dimmer transition visible active');// Heads up!
//
// The SUI CSS selector to prevent the modal itself from blurring requires an immediate .dimmer child:
// .blurring.dimmed.dimmable>:not(.dimmer) { ... }
//
// The .blurring.dimmed.dimmable is the body, so that all body content inside is blurred.
// We need the immediate child to be the dimmer to :not() blur the modal itself!
// Otherwise, the portal div is also blurred, blurring the modal.
//
// We cannot them wrap the modalJSX in an actual <Dimmer /> instead, we apply the dimmer classes to the <Portal />.
return _react2.default.createElement(_Portal2.default,_extends({closeOnRootNodeClick:true,closeOnDocumentClick:false},portalProps,{className:dimmerClasses,mountNode:mountNode,onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount,open:open}),modalJSX);}}]);return Modal;}(_lib.AutoControlledComponent);Modal.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Icon */closeIcon:_react.PropTypes.oneOfType([_react.PropTypes.node,_react.PropTypes.object,_react.PropTypes.bool]),/** A modal can reduce its complexity */basic:_react.PropTypes.bool,/** Initial value of open. */defaultOpen:_react.PropTypes.bool,/** A modal can appear in a dimmer */dimmer:_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(_meta.props.dimmer)]),/** The node where the modal should mount.. */mountNode:_react.PropTypes.any,/** Called when a close event happens */onClose:_react.PropTypes.func,/** Called when the portal is mounted on the DOM */onMount:_react.PropTypes.func,/** Called when an open event happens */onOpen:_react.PropTypes.func,/** Called when the portal is unmounted from the DOM */onUnmount:_react.PropTypes.func,/** Controls whether or not the Modal is displayed. */open:_react.PropTypes.bool,/** A modal can vary in size */size:_react.PropTypes.oneOf(_meta.props.size)};Modal.defaultProps={dimmer:true,// Do not access document when server side rendering
mountNode:_lib.isBrowser?document.body:null};Modal.autoControlledProps=['open'];Modal._meta=_meta;Modal.Header=_ModalHeader2.default;Modal.Content=_ModalContent2.default;Modal.Description=_ModalDescription2.default;Modal.Actions=_ModalActions2.default;exports.default=Modal;
/***/ },
/* 1115 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _pick2=__webpack_require__(172);var _pick3=_interopRequireDefault(_pick2);var _omit2=__webpack_require__(171);var _omit3=_interopRequireDefault(_omit2);var _keys2=__webpack_require__(24);var _keys3=_interopRequireDefault(_keys2);var _assign2=__webpack_require__(827);var _assign3=_interopRequireDefault(_assign2);var _mapValues2=__webpack_require__(862);var _mapValues3=_interopRequireDefault(_mapValues2);var _isNumber2=__webpack_require__(388);var _isNumber3=_interopRequireDefault(_isNumber2);var _includes2=__webpack_require__(164);var _includes3=_interopRequireDefault(_includes2);var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _lib=__webpack_require__(1);var _Portal=__webpack_require__(186);var _Portal2=_interopRequireDefault(_Portal);var _PopupContent=__webpack_require__(522);var _PopupContent2=_interopRequireDefault(_PopupContent);var _PopupHeader=__webpack_require__(523);var _PopupHeader2=_interopRequireDefault(_PopupHeader);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var debug=(0,_lib.makeDebugger)('popup');var _meta={name:'Popup',type:_lib.META.TYPES.MODULE,props:{content:[_react.PropTypes.string,_react.PropTypes.node],on:['hover','click','focus'],positioning:['top left','top right','bottom right','bottom left','right center','left center','top center','bottom center'],size:(0,_without3.default)(_lib.SUI.SIZES,'medium','big','massive'),wide:[true,false,'very']}};/**
* A Popup displays additional information on top of a page.
*/var Popup=function(_Component){_inherits(Popup,_Component);function Popup(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Popup);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Popup.__proto__||Object.getPrototypeOf(Popup)).call.apply(_ref,[this].concat(args))),_this),_this.state={},_this.hideOnScroll=function(e){_this.setState({closed:true});window.removeEventListener('scroll',_this.hideOnScroll);setTimeout(function(){return _this.setState({closed:false});},50);},_this.handleClose=function(e){debug('handleClose()');var onClose=_this.props.onClose;if(onClose)onClose(e,_this.props);},_this.handleOpen=function(e){debug('handleOpen()');_this.coords=e.currentTarget.getBoundingClientRect();var onOpen=_this.props.onOpen;if(onOpen)onOpen(e,_this.props);},_this.handlePortalMount=function(e){debug('handlePortalMount()');if(_this.props.hideOnScroll){window.addEventListener('scroll',_this.hideOnScroll);}var onMount=_this.props.onMount;if(onMount)onMount(e,_this.props);},_this.handlePortalUnmount=function(e){debug('handlePortalUnmount()');var onUnmount=_this.props.onUnmount;if(onUnmount)onUnmount(e,_this.props);},_this.popupMounted=function(ref){debug('popupMounted()');_this.popupCoords=ref?ref.getBoundingClientRect():null;_this.setPopupStyle();},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Popup,[{key:'computePopupStyle',value:function computePopupStyle(positions){var style={position:'absolute'};// Do not access window/document when server side rendering
if(!_lib.isBrowser)return style;var offset=this.props.offset;var _window=window,pageYOffset=_window.pageYOffset,pageXOffset=_window.pageXOffset;var _document$documentEle=document.documentElement,clientWidth=_document$documentEle.clientWidth,clientHeight=_document$documentEle.clientHeight;if((0,_includes3.default)(positions,'right')){style.right=Math.round(clientWidth-(this.coords.right+pageXOffset));style.left='auto';}else if((0,_includes3.default)(positions,'left')){style.left=Math.round(this.coords.left+pageXOffset);style.right='auto';}else{// if not left nor right, we are horizontally centering the element
var xOffset=(this.coords.width-this.popupCoords.width)/2;style.left=Math.round(this.coords.left+xOffset+pageXOffset);style.right='auto';}if((0,_includes3.default)(positions,'top')){style.bottom=Math.round(clientHeight-(this.coords.top+pageYOffset));style.top='auto';}else if((0,_includes3.default)(positions,'bottom')){style.top=Math.round(this.coords.bottom+pageYOffset);style.bottom='auto';}else{// if not top nor bottom, we are vertically centering the element
var yOffset=(this.coords.height+this.popupCoords.height)/2;style.top=Math.round(this.coords.bottom+pageYOffset-yOffset);style.bottom='auto';var _xOffset=this.popupCoords.width+8;if((0,_includes3.default)(positions,'right')){style.right-=_xOffset;}else{style.left-=_xOffset;}}if(offset){if((0,_isNumber3.default)(style.right)){style.right-=offset;}else{style.left-=offset;}}return style;}// check if the style would display
// the popup outside of the view port
},{key:'isStyleInViewport',value:function isStyleInViewport(style){var _window2=window,pageYOffset=_window2.pageYOffset,pageXOffset=_window2.pageXOffset;var _document$documentEle2=document.documentElement,clientWidth=_document$documentEle2.clientWidth,clientHeight=_document$documentEle2.clientHeight;var element={top:style.top,left:style.left,width:this.popupCoords.width,height:this.popupCoords.height};if((0,_isNumber3.default)(style.right)){element.left=clientWidth-style.right-element.width;}if((0,_isNumber3.default)(style.bottom)){element.top=clientHeight-style.bottom-element.height;}// hidden on top
if(element.top<pageYOffset)return false;// hidden on the bottom
if(element.top+element.height>pageYOffset+clientHeight)return false;// hidden the left
if(element.left<pageXOffset)return false;// hidden on the right
if(element.left+element.width>pageXOffset+clientWidth)return false;return true;}},{key:'setPopupStyle',value:function setPopupStyle(){if(!this.coords||!this.popupCoords)return;var positioning=this.props.positioning;var style=this.computePopupStyle(positioning);// Lets detect if the popup is out of the viewport and adjust
// the position accordingly
var positions=(0,_without3.default)(_meta.props.positioning,positioning);for(var i=0;!this.isStyleInViewport(style)&&i<positions.length;i++){style=this.computePopupStyle(positions[i]);positioning=positions[i];}// Append 'px' to every numerical values in the style
style=(0,_mapValues3.default)(style,function(value){return(0,_isNumber3.default)(value)?value+'px':value;});this.setState({style:style,positioning:positioning});}},{key:'getPortalProps',value:function getPortalProps(){var portalProps={};var _props=this.props,on=_props.on,hoverable=_props.hoverable;if(hoverable){portalProps.closeOnPortalMouseLeave=true;portalProps.mouseLeaveDelay=300;}if(on==='click'){portalProps.openOnTriggerClick=true;portalProps.closeOnTriggerClick=true;portalProps.closeOnDocumentClick=true;}else if(on==='focus'){portalProps.openOnTriggerFocus=true;portalProps.closeOnTriggerBlur=true;}else if(on==='hover'){portalProps.openOnTriggerMouseOver=true;portalProps.closeOnTriggerMouseLeave=true;// Taken from SUI: https://git.io/vPmCm
portalProps.mouseLeaveDelay=70;portalProps.mouseOverDelay=50;}return portalProps;}},{key:'render',value:function render(){var _props2=this.props,basic=_props2.basic,children=_props2.children,className=_props2.className,content=_props2.content,flowing=_props2.flowing,header=_props2.header,inverted=_props2.inverted,size=_props2.size,trigger=_props2.trigger,wide=_props2.wide;var _state=this.state,positioning=_state.positioning,closed=_state.closed;var style=(0,_assign3.default)({},this.state.style,this.props.style);var classes=(0,_classnames2.default)('ui',positioning,size,(0,_lib.useKeyOrValueAndKey)(wide,'wide'),(0,_lib.useKeyOnly)(basic,'basic'),(0,_lib.useKeyOnly)(flowing,'flowing'),(0,_lib.useKeyOnly)(inverted,'inverted'),'popup transition visible',className);if(closed)return trigger;var unhandled=(0,_lib.getUnhandledProps)(Popup,this.props);var portalPropNames=(0,_keys3.default)(_Portal2.default.propTypes);var rest=(0,_omit3.default)(unhandled,portalPropNames);var portalProps=(0,_pick3.default)(unhandled,portalPropNames);var ElementType=(0,_lib.getElementType)(Popup,this.props);var popupJSX=_react2.default.createElement(ElementType,_extends({},rest,{className:classes,style:style,ref:this.popupMounted}),children,!children&&_PopupHeader2.default.create(header),!children&&_PopupContent2.default.create(content));var mergedPortalProps=_extends({},this.getPortalProps(),portalProps);debug('portal props:',mergedPortalProps);return _react2.default.createElement(_Portal2.default,_extends({},mergedPortalProps,{trigger:trigger,onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount}),popupJSX);}}]);return Popup;}(_react.Component);Popup.propTypes={/** Display the popup without the pointing arrow */basic:_react.PropTypes.bool,/** You may pass a content as children of the Popup */children:_react.PropTypes.node,/** Classes to add to the Popup className. */className:_react.PropTypes.string,/** Simple text content for the popover */content:_react.PropTypes.oneOfType(_meta.props.content),/** A Flowing popup have no maximum width and continue to flow to fit its content */flowing:_react.PropTypes.bool,/** Takes up the entire width of its offset container */// TODO: implement the Popup fluid layout
// fluid: PropTypes.bool,
/** Header displayed above the content in bold */header:_react.PropTypes.string,/** Whether the popup should not close on hover */hoverable:_react.PropTypes.bool,/** Invert the colors of the popup */inverted:_react.PropTypes.bool,/** The node where the popup should mount.. */hideOnScroll:_react.PropTypes.bool,/** Horizontal offset in pixels to be applied to the popup */offset:_react.PropTypes.number,/** Event triggering the popup */on:_react.PropTypes.oneOf(_meta.props.on),/** Called when a close event happens */onClose:_react.PropTypes.func,/** Called when the portal is mounted on the DOM */onMount:_react.PropTypes.func,/** Called when an open event happens */onOpen:_react.PropTypes.func,/** Called when the portal is unmounted from the DOM */onUnmount:_react.PropTypes.func,/** Positioning for the popover */positioning:_react.PropTypes.oneOf(_meta.props.positioning),/** Popup size */size:_react.PropTypes.oneOf(_meta.props.size),/** custom popup style */style:_react.PropTypes.object,/** Element to be rendered in-place where the popup is defined. */trigger:_react.PropTypes.node,/** Popup width */wide:_react.PropTypes.oneOf(_meta.props.wide)};Popup.defaultProps={positioning:'top left',on:'hover'};Popup._meta=_meta;Popup.Content=_PopupContent2.default;Popup.Header=_PopupHeader2.default;exports.default=Popup;
/***/ },
/* 1116 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Popup=__webpack_require__(1115);var _Popup2=_interopRequireDefault(_Popup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Popup2.default;
/***/ },
/* 1117 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _round2=__webpack_require__(869);var _round3=_interopRequireDefault(_round2);var _clamp2=__webpack_require__(828);var _clamp3=_interopRequireDefault(_clamp2);var _every2=__webpack_require__(381);var _every3=_interopRequireDefault(_every2);var _isUndefined2=__webpack_require__(170);var _isUndefined3=_interopRequireDefault(_isUndefined2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function Progress(props){var active=props.active,attached=props.attached,autoSuccess=props.autoSuccess,color=props.color,children=props.children,className=props.className,disabled=props.disabled,error=props.error,indicating=props.indicating,inverted=props.inverted,label=props.label,percent=props.percent,precision=props.precision,progress=props.progress,size=props.size,success=props.success,total=props.total,value=props.value,warning=props.warning;var isAutoSuccess=autoSuccess&&(percent>=100||value>=total);var showProgress=progress||label||!(0,_isUndefined3.default)(precision)||!(0,_every3.default)([total,value],_isUndefined3.default);var _percent=void 0;if(!(0,_isUndefined3.default)(percent)){_percent=percent;}else if(!(0,_isUndefined3.default)(total)&&!(0,_isUndefined3.default)(value)){_percent=value/total*100;}_percent=(0,_clamp3.default)(_percent,0,100);if(!(0,_isUndefined3.default)(precision)){_percent=(0,_round3.default)(_percent,precision);}var progressText=void 0;if(label==='percent'||label===true||(0,_isUndefined3.default)(label)){progressText=_percent+'%';}else if(label==='ratio'){progressText=value+'/'+total;}var classes=(0,_classnames2.default)('ui',size,color,(0,_lib.useKeyOnly)(active||indicating,'active'),(0,_lib.useKeyOnly)(isAutoSuccess||success,'success'),(0,_lib.useKeyOnly)(warning,'warning'),(0,_lib.useKeyOnly)(error,'error'),(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(indicating,'indicating'),(0,_lib.useKeyOnly)(inverted,'inverted'),(0,_lib.useValueAndKey)(attached,'attached'),className,'progress');var rest=(0,_lib.getUnhandledProps)(Progress,props);var ElementType=(0,_lib.getElementType)(Progress,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),_react2.default.createElement('div',{className:'bar',style:{width:_percent+'%'}},showProgress&&_react2.default.createElement('div',{className:'progress'},progressText)),children&&_react2.default.createElement('div',{className:'label'},children));}Progress._meta={name:'Progress',type:_lib.META.TYPES.MODULE,props:{attached:['top','bottom'],color:_lib.SUI.COLORS,label:['ratio','percent'],size:(0,_without3.default)(_lib.SUI.SIZES,'mini','huge','massive')}};Progress.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** A progress bar can show activity. */active:_react.PropTypes.bool,/** A progress bar can attach to and show the progress of an element (i.e. Card or Segment). */attached:_react.PropTypes.oneOf(Progress._meta.props.attached),/** Whether success state should automatically trigger when progress completes. */autoSuccess:_react.PropTypes.bool,/** A progress bar can have different colors. */color:_react.PropTypes.oneOf(Progress._meta.props.color),/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** A progress bar be disabled. */disabled:_react.PropTypes.bool,/** A progress bar can show a error state. */error:_react.PropTypes.bool,/** An indicating progress bar visually indicates the current level of progress of a task. */indicating:_react.PropTypes.bool,/** A progress bar can have its colors inverted. */inverted:_react.PropTypes.bool,/** Can be set to either to display progress as percent or ratio. */label:_lib.customPropTypes.every([_lib.customPropTypes.some([_lib.customPropTypes.demand(['percent']),_lib.customPropTypes.demand(['total','value'])]),_react.PropTypes.oneOfType([_react.PropTypes.bool,_react.PropTypes.oneOf(Progress._meta.props.label)])]),/** Current percent complete. */percent:_lib.customPropTypes.every([_lib.customPropTypes.disallow(['total','value']),_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number])]),/** A progress bar can contain a text value indicating current progress. */progress:_react.PropTypes.bool,/** Decimal point precision for calculated progress. */precision:_react.PropTypes.number,/** A progress bar can vary in size. */size:_react.PropTypes.oneOf(Progress._meta.props.size),/** A progress bar can show a success state. */success:_react.PropTypes.bool,/**
* For use with value.
* Together, these will calculate the percent.
* Mutually excludes percent.
*/total:_lib.customPropTypes.every([_lib.customPropTypes.demand(['value']),_lib.customPropTypes.disallow(['percent']),_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number])]),/**
* For use with total. Together, these will calculate the percent. Mutually excludes percent.
*/value:_lib.customPropTypes.every([_lib.customPropTypes.demand(['total']),_lib.customPropTypes.disallow(['percent']),_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number])]),/** A progress bar can show a warning state. */warning:_react.PropTypes.bool};exports.default=Progress;
/***/ },
/* 1118 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Progress=__webpack_require__(1117);var _Progress2=_interopRequireDefault(_Progress);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Progress2.default;
/***/ },
/* 1119 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _times2=__webpack_require__(396);var _times3=_interopRequireDefault(_times2);var _invoke2=__webpack_require__(386);var _invoke3=_interopRequireDefault(_invoke2);var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _RatingIcon=__webpack_require__(1120);var _RatingIcon2=_interopRequireDefault(_RatingIcon);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var _meta={name:'Rating',type:_lib.META.TYPES.MODULE,props:{clearable:['auto'],icon:['star','heart'],size:(0,_without3.default)(_lib.SUI.SIZES,'medium','big')}};/**
* A rating indicates user interest in content
*/var Rating=function(_Component){_inherits(Rating,_Component);function Rating(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Rating);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Rating.__proto__||Object.getPrototypeOf(Rating)).call.apply(_ref,[this].concat(args))),_this),_initialiseProps.call(_this),_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Rating,[{key:'render',value:function render(){var _this2=this;var _props=this.props,className=_props.className,disabled=_props.disabled,icon=_props.icon,maxRating=_props.maxRating,size=_props.size;var _state=this.state,rating=_state.rating,selectedIndex=_state.selectedIndex,isSelecting=_state.isSelecting;var classes=(0,_classnames2.default)('ui',icon,size,(0,_lib.useKeyOnly)(disabled,'disabled'),(0,_lib.useKeyOnly)(isSelecting&&!disabled&&selectedIndex>=0,'selected'),'rating',className);var rest=(0,_lib.getUnhandledProps)(Rating,this.props);var ElementType=(0,_lib.getElementType)(Rating,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onMouseLeave:this.handleMouseLeave}),(0,_times3.default)(maxRating,function(i){return _react2.default.createElement(_RatingIcon2.default,{active:rating>=i+1,index:i,key:i,onClick:_this2.handleIconClick,onMouseEnter:_this2.handleIconMouseEnter,selected:selectedIndex>=i&&isSelecting});}));}}]);return Rating;}(_lib.AutoControlledComponent);Rating.autoControlledProps=['rating'];Rating.defaultProps={clearable:'auto',maxRating:1};Rating.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Additional classes. */className:_react.PropTypes.string,/**
* You can clear the rating by clicking on the current start rating.
* By default a rating will be only clearable if there is 1 icon.
* Setting to `true`/`false` will allow or disallow a user to clear their rating.
*/clearable:_react.PropTypes.oneOfType([_react.PropTypes.oneOf(_meta.props.clearable),_react.PropTypes.bool]),/** The initial rating value. */defaultRating:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]),/** You can disable or enable interactive rating. Makes a read-only rating. */disabled:_react.PropTypes.bool,/** A rating can use a set of star or heart icons. */icon:_react.PropTypes.oneOf(_meta.props.icon),/** The total number of icons. */maxRating:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]),/** Called with (event, { rating, maxRating }) after user selects a new rating. */onRate:_react.PropTypes.func,/** The current number of active icons. */rating:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.number]),/** A progress bar can vary in size. */size:_react.PropTypes.oneOf(_meta.props.size)};Rating._meta=_meta;var _initialiseProps=function _initialiseProps(){var _this3=this;this.handleIconClick=function(e,index){var _props2=_this3.props,clearable=_props2.clearable,disabled=_props2.disabled,maxRating=_props2.maxRating,onRate=_props2.onRate;var rating=_this3.state.rating;if(disabled)return;// default newRating is the clicked icon
// allow toggling a binary rating
// allow clearing ratings
var newRating=index+1;if(clearable==='auto'&&maxRating===1){newRating=+!rating;}else if(clearable===true&&newRating===rating){newRating=0;}// set rating
_this3.trySetState({rating:newRating},{isSelecting:false});if(onRate)onRate(e,{rating:newRating,maxRating:maxRating});};this.handleIconMouseEnter=function(index){if(_this3.props.disabled)return;_this3.setState({selectedIndex:index,isSelecting:true});};this.handleMouseLeave=function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2];}_invoke3.default.apply(undefined,[_this3.props,'onMouseLeave'].concat(args));if(_this3.props.disabled)return;_this3.setState({selectedIndex:-1,isSelecting:false});};};exports.default=Rating;
/***/ },
/* 1120 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==="undefined"?"undefined":_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==="undefined"?"undefined":_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;}/**
* An internal icon sub-component for Rating component
*/var RatingIcon=function(_Component){_inherits(RatingIcon,_Component);function RatingIcon(){var _ref;var _temp,_this,_ret;_classCallCheck(this,RatingIcon);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=RatingIcon.__proto__||Object.getPrototypeOf(RatingIcon)).call.apply(_ref,[this].concat(args))),_this),_this.handleClick=function(e){var _this$props=_this.props,onClick=_this$props.onClick,index=_this$props.index;if(onClick)onClick(e,index);},_this.handleMouseEnter=function(){var _this$props2=_this.props,onMouseEnter=_this$props2.onMouseEnter,index=_this$props2.index;if(onMouseEnter)onMouseEnter(index);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(RatingIcon,[{key:'render',value:function render(){var _props=this.props,active=_props.active,selected=_props.selected;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(active,'active'),(0,_lib.useKeyOnly)(selected,'selected'),'icon');return _react2.default.createElement('i',{className:classes,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter});}}]);return RatingIcon;}(_react.Component);RatingIcon.propTypes={/** Indicates activity of an icon. */active:_react.PropTypes.bool,/** An index of icon inside Rating. */index:_react.PropTypes.number,/** Called with (event, index) after user clicked on an icon. */onClick:_react.PropTypes.func,/** Called with (index) after user move cursor to an icon. */onMouseEnter:_react.PropTypes.func,/** Indicates selection of an icon. */selected:_react.PropTypes.bool};RatingIcon._meta={name:'RatingIcon',parent:'Rating',type:_lib.META.TYPES.MODULE};exports.default=RatingIcon;
/***/ },
/* 1121 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Rating=__webpack_require__(1119);var _Rating2=_interopRequireDefault(_Rating);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Rating2.default;
/***/ },
/* 1122 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};Object.defineProperty(exports,"__esModule",{value:true});var _isEmpty2=__webpack_require__(232);var _isEmpty3=_interopRequireDefault(_isEmpty2);var _partialRight2=__webpack_require__(866);var _partialRight3=_interopRequireDefault(_partialRight2);var _inRange2=__webpack_require__(859);var _inRange3=_interopRequireDefault(_inRange2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _get3=__webpack_require__(91);var _get4=_interopRequireDefault(_get3);var _reduce2=__webpack_require__(392);var _reduce3=_interopRequireDefault(_reduce2);var _isEqual2=__webpack_require__(167);var _isEqual3=_interopRequireDefault(_isEqual2);var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _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;};var _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;};}();var _get2=function get(object,property,receiver){if(object===null)object=Function.prototype;var desc=Object.getOwnPropertyDescriptor(object,property);if(desc===undefined){var parent=Object.getPrototypeOf(object);if(parent===null){return undefined;}else{return get(parent,property,receiver);}}else if("value"in desc){return desc.value;}else{var getter=desc.get;if(getter===undefined){return undefined;}return getter.call(receiver);}};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _Input=__webpack_require__(273);var _Input2=_interopRequireDefault(_Input);var _SearchCategory=__webpack_require__(524);var _SearchCategory2=_interopRequireDefault(_SearchCategory);var _SearchResult=__webpack_require__(525);var _SearchResult2=_interopRequireDefault(_SearchResult);var _SearchResults=__webpack_require__(526);var _SearchResults2=_interopRequireDefault(_SearchResults);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&((typeof call==='undefined'?'undefined':_typeof(call))==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+(typeof superClass==='undefined'?'undefined':_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;}var debug=(0,_lib.makeDebugger)('search');var _meta={name:'Search',type:_lib.META.TYPES.MODULE,props:{size:(0,_without3.default)(_lib.SUI.SIZES,'medium')}};/**
* A search module allows a user to query for results from a selection of data
*/var Search=function(_Component){_inherits(Search,_Component);function Search(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Search);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key];}return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Search.__proto__||Object.getPrototypeOf(Search)).call.apply(_ref,[this].concat(args))),_this),_this.handleChange=function(e,result){debug('handleChange()');debug(result);var onChange=_this.props.onChange;if(onChange)onChange(e,result);},_this.closeOnEscape=function(e){if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Escape)return;e.preventDefault();_this.close();},_this.moveSelectionOnKeyDown=function(e){debug('moveSelectionOnKeyDown()');debug(_lib.keyboardKey.getName(e));switch(_lib.keyboardKey.getCode(e)){case _lib.keyboardKey.ArrowDown:e.preventDefault();_this.moveSelectionBy(1);break;case _lib.keyboardKey.ArrowUp:e.preventDefault();_this.moveSelectionBy(-1);break;default:break;}},_this.selectItemOnEnter=function(e){debug('selectItemOnEnter()');debug(_lib.keyboardKey.getName(e));if(_lib.keyboardKey.getCode(e)!==_lib.keyboardKey.Enter)return;e.preventDefault();var result=_this.getSelectedResult();// prevent selecting null if there was no selected item value
if(!result)return;// notify the onChange prop that the user is trying to change value
_this.setValue(result.title);_this.handleChange(e,result);_this.close();},_this.closeOnDocumentClick=function(e){debug('closeOnDocumentClick()');debug(e);_this.close();},_this.handleMouseDown=function(e){debug('handleMouseDown()');var onMouseDown=_this.props.onMouseDown;if(onMouseDown)onMouseDown(e);_this.isMouseDown=true;// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.addEventListener('mouseup',_this.handleDocumentMouseUp);},_this.handleDocumentMouseUp=function(){debug('handleDocumentMouseUp()');_this.isMouseDown=false;// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.removeEventListener('mouseup',_this.handleDocumentMouseUp);},_this.handleInputClick=function(e){debug('handleInputClick()',e);// prevent closeOnDocumentClick()
e.nativeEvent.stopImmediatePropagation();_this.tryOpen();},_this.handleItemClick=function(e,id){debug('handleItemClick()');debug(id);var result=_this.getSelectedResult(id);// prevent closeOnDocumentClick()
e.nativeEvent.stopImmediatePropagation();// notify the onChange prop that the user is trying to change value
_this.setValue(result.title);_this.handleChange(e,result);_this.close();},_this.handleFocus=function(e){debug('handleFocus()');var onFocus=_this.props.onFocus;if(onFocus)onFocus(e);_this.setState({focus:true});},_this.handleBlur=function(e){debug('handleBlur()');var onBlur=_this.props.onBlur;if(onBlur)onBlur(e);_this.setState({focus:false});},_this.handleSearchChange=function(e){debug('handleSearchChange()');debug(e.target.value);// prevent propagating to this.props.onChange()
e.stopPropagation();var _this$props=_this.props,onSearchChange=_this$props.onSearchChange,minCharacters=_this$props.minCharacters;var open=_this.state.open;var newQuery=e.target.value;if(onSearchChange)onSearchChange(e,newQuery);// open search dropdown on search query
if(newQuery.length<minCharacters){_this.close();}else if(!open){_this.tryOpen(newQuery);}_this.setValue(newQuery);},_this.getFlattenedResults=function(){var _this$props2=_this.props,category=_this$props2.category,results=_this$props2.results;return!category?results:(0,_reduce3.default)(results,function(memo,categoryData){return memo.concat(categoryData.results);},[]);},_this.getSelectedResult=function(){var index=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_this.state.selectedIndex;var results=_this.getFlattenedResults();return(0,_get4.default)(results,index);},_this.setValue=function(value){debug('setValue()');debug('value',value);var selectFirstResult=_this.props.selectFirstResult;_this.trySetState({value:value},{selectedIndex:selectFirstResult?0:-1});},_this.moveSelectionBy=function(offset){debug('moveSelectionBy()');debug('offset: '+offset);var selectedIndex=_this.state.selectedIndex;var results=_this.getFlattenedResults();var lastIndex=results.length-1;// next is after last, wrap to beginning
// next is before first, wrap to end
var nextIndex=selectedIndex+offset;if(nextIndex>lastIndex)nextIndex=0;else if(nextIndex<0)nextIndex=lastIndex;_this.setState({selectedIndex:nextIndex});_this.scrollSelectedItemIntoView();},_this.scrollSelectedItemIntoView=function(){debug('scrollSelectedItemIntoView()');// Do not access document when server side rendering
if(!_lib.isBrowser)return;var menu=document.querySelector('.ui.search.active.visible .results.visible');var item=menu.querySelector('.result.active');debug('menu (results): '+menu);debug('item (result): '+item);var isOutOfUpperView=item.offsetTop<menu.scrollTop;var isOutOfLowerView=item.offsetTop+item.clientHeight>menu.scrollTop+menu.clientHeight;if(isOutOfUpperView){menu.scrollTop=item.offsetTop;}else if(isOutOfLowerView){menu.scrollTop=item.offsetTop+item.clientHeight-menu.clientHeight;}},_this.tryOpen=function(){var currentValue=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_this.state.value;debug('open()');var minCharacters=_this.props.minCharacters;if(currentValue.length<minCharacters)return;_this.open();},_this.open=function(){debug('open()');_this.trySetState({open:true});},_this.close=function(){debug('close()');_this.trySetState({open:false});},_this.renderSearchInput=function(){var _this$props3=_this.props,icon=_this$props3.icon,placeholder=_this$props3.placeholder;var value=_this.state.value;return _react2.default.createElement(_Input2.default,{value:value,placeholder:placeholder,onBlur:_this.handleBlur,onChange:_this.handleSearchChange,onFocus:_this.handleFocus,onClick:_this.handleInputClick,input:{className:'prompt',tabIndex:'0',autoComplete:'off'},icon:icon});},_this.renderNoResults=function(){var _this$props4=_this.props,noResultsMessage=_this$props4.noResultsMessage,noResultsDescription=_this$props4.noResultsDescription;return _react2.default.createElement('div',{className:'message empty'},_react2.default.createElement('div',{className:'header'},noResultsMessage),noResultsDescription&&_react2.default.createElement('div',{className:'description'},noResultsDescription));},_this.renderResult=function(_ref2,index,_array){var offset=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0;var childKey=_ref2.childKey,result=_objectWithoutProperties(_ref2,['childKey']);var resultRenderer=_this.props.resultRenderer;var selectedIndex=_this.state.selectedIndex;var offsetIndex=index+offset;return _react2.default.createElement(_SearchResult2.default,_extends({key:childKey||result.title,active:selectedIndex===offsetIndex,onClick:_this.handleItemClick,onMouseDown:function onMouseDown(e){return e.preventDefault();}// prevent default to allow item select without closing on blur
,renderer:resultRenderer},result,{id:offsetIndex// Used to lookup the result on item click
}));},_this.renderResults=function(){var results=_this.props.results;return(0,_map3.default)(results,_this.renderResult);},_this.renderCategories=function(){var _this$props5=_this.props,categoryRenderer=_this$props5.categoryRenderer,categories=_this$props5.results;var selectedIndex=_this.state.selectedIndex;var count=0;return(0,_map3.default)(categories,function(_ref3,name,index){var childKey=_ref3.childKey,category=_objectWithoutProperties(_ref3,['childKey']);var categoryProps=_extends({key:childKey||category.name,active:(0,_inRange3.default)(selectedIndex,count,count+category.results.length),renderer:categoryRenderer},category);var renderFn=(0,_partialRight3.default)(_this.renderResult,count);count=count+category.results.length;return _react2.default.createElement(_SearchCategory2.default,categoryProps,category.results.map(renderFn));});},_this.renderMenuContent=function(){var _this$props6=_this.props,category=_this$props6.category,showNoResults=_this$props6.showNoResults,results=_this$props6.results;if((0,_isEmpty3.default)(results)){return showNoResults?_this.renderNoResults():null;}return category?_this.renderCategories():_this.renderResults();},_this.renderResultsMenu=function(){var open=_this.state.open;var resultsClasses=open?'visible':'';var menuContent=_this.renderMenuContent();if(!menuContent)return;return _react2.default.createElement(_SearchResults2.default,{className:resultsClasses},menuContent);},_temp),_possibleConstructorReturn(_this,_ret);}_createClass(Search,[{key:'componentWillMount',value:function componentWillMount(){if(_get2(Search.prototype.__proto__||Object.getPrototypeOf(Search.prototype),'componentWillMount',this))_get2(Search.prototype.__proto__||Object.getPrototypeOf(Search.prototype),'componentWillMount',this).call(this);debug('componentWillMount()');var _state=this.state,open=_state.open,value=_state.value;this.setValue(value);if(open)this.open();}},{key:'shouldComponentUpdate',value:function shouldComponentUpdate(nextProps,nextState){return!(0,_isEqual3.default)(nextProps,this.props)||!(0,_isEqual3.default)(nextState,this.state);}},{key:'componentWillReceiveProps',value:function componentWillReceiveProps(nextProps){_get2(Search.prototype.__proto__||Object.getPrototypeOf(Search.prototype),'componentWillReceiveProps',this).call(this,nextProps);debug('componentWillReceiveProps()');// TODO objectDiff still runs in prod, stop it
debug('changed props:',(0,_lib.objectDiff)(nextProps,this.props));if(!(0,_isEqual3.default)(nextProps.value,this.props.value)){debug('value changed, setting',nextProps.value);this.setValue(nextProps.value);}}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps,prevState){// eslint-disable-line complexity
debug('componentDidUpdate()');// TODO objectDiff still runs in prod, stop it
debug('to state:',(0,_lib.objectDiff)(prevState,this.state));// Do not access document when server side rendering
if(!_lib.isBrowser)return;// focused / blurred
if(!prevState.focus&&this.state.focus){debug('search focused');if(!this.isMouseDown){debug('mouse is not down, opening');this.tryOpen();}if(this.state.open){document.addEventListener('keydown',this.moveSelectionOnKeyDown);document.addEventListener('keydown',this.selectItemOnEnter);}}else if(prevState.focus&&!this.state.focus){debug('search blurred');if(!this.isMouseDown){debug('mouse is not down, closing');this.close();}document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);}// opened / closed
if(!prevState.open&&this.state.open){debug('search opened');this.open();document.addEventListener('keydown',this.closeOnEscape);document.addEventListener('keydown',this.moveSelectionOnKeyDown);document.addEventListener('keydown',this.selectItemOnEnter);document.addEventListener('click',this.closeOnDocumentClick);}else if(prevState.open&&!this.state.open){debug('search closed');this.close();document.removeEventListener('keydown',this.closeOnEscape);document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);document.removeEventListener('click',this.closeOnDocumentClick);}}},{key:'componentWillUnmount',value:function componentWillUnmount(){debug('componentWillUnmount()');// Do not access document when server side rendering
if(!_lib.isBrowser)return;document.removeEventListener('keydown',this.moveSelectionOnKeyDown);document.removeEventListener('keydown',this.selectItemOnEnter);document.removeEventListener('keydown',this.closeOnEscape);document.removeEventListener('click',this.closeOnDocumentClick);}// ----------------------------------------
// Document Event Handlers
// ----------------------------------------
// onChange needs to receive a value
// can't rely on props.value if we are controlled
// ----------------------------------------
// Component Event Handlers
// ----------------------------------------
// ----------------------------------------
// Getters
// ----------------------------------------
// ----------------------------------------
// Setters
// ----------------------------------------
// ----------------------------------------
// Behavior
// ----------------------------------------
// Open if the current value is greater than the minCharacters prop
// ----------------------------------------
// Render
// ----------------------------------------
/**
* Offset is needed for determining the active item for results within a
* category. Since the index is reset to 0 for each new category, an offset
* must be passed in.
*/},{key:'render',value:function render(){debug('render()');debug('props',this.props);debug('state',this.state);var _state2=this.state,searchClasses=_state2.searchClasses,focus=_state2.focus,open=_state2.open;var _props=this.props,aligned=_props.aligned,category=_props.category,className=_props.className,fluid=_props.fluid,loading=_props.loading,size=_props.size;// Classes
var classes=(0,_classnames2.default)('ui',open&&'active visible',size,searchClasses,(0,_lib.useKeyOnly)(loading,'loading'),(0,_lib.useValueAndKey)(aligned,'aligned'),(0,_lib.useKeyOnly)(category,'category'),(0,_lib.useKeyOnly)(focus,'focus'),(0,_lib.useKeyOnly)(fluid,'fluid'),className,'search');var rest=(0,_lib.getUnhandledProps)(Search,this.props);var ElementType=(0,_lib.getElementType)(Search,this.props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes,onBlur:this.handleBlur,onFocus:this.handleFocus,onChange:this.handleChange,onMouseDown:this.handleMouseDown}),this.renderSearchInput(),this.renderResultsMenu());}}]);return Search;}(_lib.AutoControlledComponent);Search.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,// ------------------------------------
// Behavior
// ------------------------------------
/** Shorthand for Icon. */icon:_react.PropTypes.oneOfType([_react.PropTypes.node,_react.PropTypes.object]),/**
* One of:
* - array of Search.Result props e.g. `{ title: '', description: '' }` or
* - object of categories e.g. `{ name: '', results: [{ title: '', description: '' }]`
*/results:_react.PropTypes.oneOfType([_react.PropTypes.arrayOf(_react.PropTypes.shape(_SearchResult2.default.propTypes)),_react.PropTypes.object]),/** Controls whether or not the results menu is displayed. */open:_react.PropTypes.bool,/** Initial value of open. */defaultOpen:_react.PropTypes.bool,/** Current value of the search input. Creates a controlled component. */value:_react.PropTypes.string,/** Initial value. */defaultValue:_react.PropTypes.string,/** Placeholder of the search input. */placeholder:_react.PropTypes.string,/** Minimum characters to query for results */minCharacters:_react.PropTypes.number,/** Message to display when there are no results. */noResultsMessage:_react.PropTypes.string,/** Additional text for "No Results" message with less emphasis. */noResultsDescription:_react.PropTypes.string,/** Whether the search should automatically select the first result after searching */selectFirstResult:_react.PropTypes.bool,/** Whether a "no results" message should be shown if no results are found. */showNoResults:_react.PropTypes.bool,// ------------------------------------
// Rendering
// ------------------------------------
/**
* A function that returns the category contents.
* Receives all SearchCategory props.
*/categoryRenderer:_react.PropTypes.func,/**
* A function that returns the result contents.
* Receives all SearchResult props.
*/resultRenderer:_react.PropTypes.func,// ------------------------------------
// Callbacks
// ------------------------------------
/** Called with the React Synthetic Event on Search blur. */onBlur:_react.PropTypes.func,/** Called with the React Synthetic Event, the selected result. */onChange:_react.PropTypes.func,/** Called with the React Synthetic Event and current value on search input change. */onSearchChange:_react.PropTypes.func,/** Called with the React Synthetic Event on Search focus. */onFocus:_react.PropTypes.func,/** Called with the React Synthetic Event on Dropdown mouse down. */onMouseDown:_react.PropTypes.func,// ------------------------------------
// Style
// ------------------------------------
/** A search can have its results aligned to its left or right container edge. */aligned:_react.PropTypes.string,/** A search can display results from remote content ordered by categories. */category:_react.PropTypes.bool,/** Additional classes. */className:_react.PropTypes.string,/** A search can have its results take up the width of its container. */fluid:_react.PropTypes.bool,size:_react.PropTypes.oneOf(_meta.props.size),loading:_react.PropTypes.bool};Search.defaultProps={icon:'search',minCharacters:1,noResultsMessage:'No results found.',showNoResults:true};Search.autoControlledProps=['open','value'];Search._meta=_meta;Search.Result=_SearchResult2.default;Search.Results=_SearchResults2.default;Search.Category=_SearchCategory2.default;exports.default=Search;
/***/ },
/* 1123 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Search=__webpack_require__(1122);var _Search2=_interopRequireDefault(_Search);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Search2.default;
/***/ },
/* 1124 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _CommentAction=__webpack_require__(530);var _CommentAction2=_interopRequireDefault(_CommentAction);var _CommentActions=__webpack_require__(531);var _CommentActions2=_interopRequireDefault(_CommentActions);var _CommentAuthor=__webpack_require__(532);var _CommentAuthor2=_interopRequireDefault(_CommentAuthor);var _CommentAvatar=__webpack_require__(533);var _CommentAvatar2=_interopRequireDefault(_CommentAvatar);var _CommentContent=__webpack_require__(534);var _CommentContent2=_interopRequireDefault(_CommentContent);var _CommentGroup=__webpack_require__(535);var _CommentGroup2=_interopRequireDefault(_CommentGroup);var _CommentMetadata=__webpack_require__(536);var _CommentMetadata2=_interopRequireDefault(_CommentMetadata);var _CommentText=__webpack_require__(537);var _CommentText2=_interopRequireDefault(_CommentText);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}/**
* A comment displays user feedback to site content
* */function Comment(props){var className=props.className,children=props.children,collapsed=props.collapsed;var classes=(0,_classnames2.default)((0,_lib.useKeyOnly)(collapsed,'collapsed'),'comment',className);var rest=(0,_lib.getUnhandledProps)(Comment,props);var ElementType=(0,_lib.getElementType)(Comment,props);return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}Comment._meta={name:'Comment',type:_lib.META.TYPES.VIEW};Comment.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Comment can be collapsed, or hidden from view. */collapsed:_react.PropTypes.bool};Comment.Author=_CommentAuthor2.default;Comment.Action=_CommentAction2.default;Comment.Actions=_CommentActions2.default;Comment.Avatar=_CommentAvatar2.default;Comment.Content=_CommentContent2.default;Comment.Group=_CommentGroup2.default;Comment.Metadata=_CommentMetadata2.default;Comment.Text=_CommentText2.default;exports.default=Comment;
/***/ },
/* 1125 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Comment=__webpack_require__(1124);var _Comment2=_interopRequireDefault(_Comment);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Comment2.default;
/***/ },
/* 1126 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _without2=__webpack_require__(19);var _without3=_interopRequireDefault(_without2);var _map2=__webpack_require__(21);var _map3=_interopRequireDefault(_map2);var _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;};var _classnames=__webpack_require__(2);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _lib=__webpack_require__(1);var _FeedContent=__webpack_require__(284);var _FeedContent2=_interopRequireDefault(_FeedContent);var _FeedDate=__webpack_require__(193);var _FeedDate2=_interopRequireDefault(_FeedDate);var _FeedEvent=__webpack_require__(538);var _FeedEvent2=_interopRequireDefault(_FeedEvent);var _FeedExtra=__webpack_require__(285);var _FeedExtra2=_interopRequireDefault(_FeedExtra);var _FeedLabel=__webpack_require__(286);var _FeedLabel2=_interopRequireDefault(_FeedLabel);var _FeedLike=__webpack_require__(287);var _FeedLike2=_interopRequireDefault(_FeedLike);var _FeedMeta=__webpack_require__(288);var _FeedMeta2=_interopRequireDefault(_FeedMeta);var _FeedSummary=__webpack_require__(289);var _FeedSummary2=_interopRequireDefault(_FeedSummary);var _FeedUser=__webpack_require__(290);var _FeedUser2=_interopRequireDefault(_FeedUser);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _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;}function Feed(props){var children=props.children,className=props.className,events=props.events,size=props.size;var classes=(0,_classnames2.default)('ui',className,size,'feed');var rest=(0,_lib.getUnhandledProps)(Feed,props);var ElementType=(0,_lib.getElementType)(Feed,props);if(children){return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),children);}var eventElements=(0,_map3.default)(events,function(eventProps){var childKey=eventProps.childKey,date=eventProps.date,meta=eventProps.meta,summary=eventProps.summary,eventData=_objectWithoutProperties(eventProps,['childKey','date','meta','summary']);var finalKey=childKey||[date,meta,summary].join('-');return _react2.default.createElement(_FeedEvent2.default,_extends({date:date,key:finalKey,meta:meta,summary:summary},eventData));});return _react2.default.createElement(ElementType,_extends({},rest,{className:classes}),eventElements);}Feed._meta={name:'Feed',type:_lib.META.TYPES.VIEW,props:{size:(0,_without3.default)(_lib.SUI.SIZES,'mini','tiny','medium','big','huge','massive')}};Feed.propTypes={/** An element type to render as (string or function). */as:_lib.customPropTypes.as,/** Primary content. */children:_react.PropTypes.node,/** Additional classes. */className:_react.PropTypes.string,/** Shorthand array of props for FeedEvent. */events:_lib.customPropTypes.collectionShorthand,/** A feed can have different sizes. */size:_react.PropTypes.oneOf(Feed._meta.props.size)};Feed.Content=_FeedContent2.default;Feed.Date=_FeedDate2.default;Feed.Event=_FeedEvent2.default;Feed.Extra=_FeedExtra2.default;Feed.Label=_FeedLabel2.default;Feed.Like=_FeedLike2.default;Feed.Meta=_FeedMeta2.default;Feed.Summary=_FeedSummary2.default;Feed.User=_FeedUser2.default;exports.default=Feed;
/***/ },
/* 1127 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Feed=__webpack_require__(1126);var _Feed2=_interopRequireDefault(_Feed);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Feed2.default;
/***/ },
/* 1128 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Item=__webpack_require__(539);var _Item2=_interopRequireDefault(_Item);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Item2.default;
/***/ },
/* 1129 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports.default=undefined;var _Statistic=__webpack_require__(543);var _Statistic2=_interopRequireDefault(_Statistic);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_Statistic2.default;
/***/ },
/* 1130 */,
/* 1131 */,
/* 1132 */,
/* 1133 */,
/* 1134 */,
/* 1135 */,
/* 1136 */,
/* 1137 */,
/* 1138 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module state-toggle
* @fileoverview Enter/exit a state.
*/'use strict';/* eslint-env commonjs *//* Expose. */module.exports=factory;/**
* Construct a state `toggler`: a function which inverses
* `property` in context based on its current value.
* The by `toggler` returned function restores that value.
*
* @param {string} key - Property to toggle.
* @param {boolean} state - Default state.
* @param {Object?} [ctx] - Context object.
* @return {Function} - Enter.
*/function factory(key,state,ctx){/**
* Enter a state.
*
* @return {Function} - Exit state.
*/return function(){var context=ctx||this;var current=context[key];context[key]=!state;/**
* Cancel state to its value before entering.
*/return function(){context[key]=current;};};}
/***/ },
/* 1139 */,
/* 1140 */,
/* 1141 */,
/* 1142 */,
/* 1143 */,
/* 1144 */,
/* 1145 */,
/* 1146 */,
/* 1147 */,
/* 1148 */,
/* 1149 */,
/* 1150 */,
/* 1151 */,
/* 1152 */
/***/ function(module, exports) {
"use strict";
'use strict';module.exports=function(str){return encodeURIComponent(str).replace(/[!'()*]/g,function(c){return'%'+c.charCodeAt(0).toString(16).toUpperCase();});};
/***/ },
/* 1153 */,
/* 1154 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';module.exports=__webpack_require__(1155);
/***/ },
/* 1155 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global, module) {'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _ponyfill=__webpack_require__(1156);var _ponyfill2=_interopRequireDefault(_ponyfill);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{'default':obj};}var root;/* global window */if(typeof self!=='undefined'){root=self;}else if(typeof window!=='undefined'){root=window;}else if(typeof global!=='undefined'){root=global;}else if(true){root=module;}else{root=Function('return this')();}var result=(0,_ponyfill2['default'])(root);exports['default']=result;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17), __webpack_require__(101)(module)))
/***/ },
/* 1156 */
/***/ function(module, exports) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});exports['default']=symbolObservablePonyfill;function symbolObservablePonyfill(root){var result;var _Symbol=root.Symbol;if(typeof _Symbol==='function'){if(_Symbol.observable){result=_Symbol.observable;}else{result=_Symbol('observable');_Symbol.observable=result;}}else{result='@@observable';}return result;};
/***/ },
/* 1157 */,
/* 1158 */,
/* 1159 */,
/* 1160 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module trough
* @fileoverview Middleware. Inspired by `segmentio/ware`,
* but able to change the values from transformer to
* transformer.
*/'use strict';/* Expose. */module.exports=trough;/* Methods. */var slice=[].slice;/**
* Create new middleware.
*
* @return {Object} - Middlewre.
*/function trough(){var fns=[];var middleware={};middleware.run=run;middleware.use=use;return middleware;/**
* Run `fns`. Last argument must be
* a completion handler.
*
* @param {...*} input - Parameters
*/function run(){var index=-1;var input=slice.call(arguments,0,-1);var done=arguments[arguments.length-1];if(typeof done!=='function'){throw new Error('Expected function as last argument, not '+done);}next.apply(null,[null].concat(input));return;/**
* Run the next `fn`, if any.
*
* @param {Error?} err - Failure.
* @param {...*} values - Other input.
*/function next(err){var fn=fns[++index];var params=slice.call(arguments,0);var values=params.slice(1);var length=input.length;var pos=-1;if(err){done(err);return;}/* Copy non-nully input into values. */while(++pos<length){if(values[pos]===null||values[pos]===undefined){values[pos]=input[pos];}}input=values;/* Next or done. */if(fn){wrap(fn,next).apply(null,input);}else{done.apply(null,[null].concat(input));}}}/**
* Add `fn` to the list.
*
* @param {Function} fn - Anything `wrap` accepts.
*/function use(fn){if(typeof fn!=='function'){throw new Error('Expected `fn` to be a function, not '+fn);}fns.push(fn);return middleware;}}/**
* Wrap `fn`. Can be sync or async; return a promise,
* receive a completion handler, return new values and
* errors.
*
* @param {Function} fn - Thing to wrap.
* @param {Function} next - Completion handler.
* @return {Function} - Wrapped `fn`.
*/function wrap(fn,next){var invoked;return wrapped;function wrapped(){var params=slice.call(arguments,0);var callback=fn.length>params.length;var result;if(callback){params.push(done);}try{result=fn.apply(null,params);}catch(err){/* Well, this is quite the pickle. `fn` received
* a callback and invoked it (thus continuing the
* pipeline), but later also threw an error.
* Were not about to restart the pipeline again,
* so the only thing left to do is to throw the
* thing instea. */if(callback&&invoked){throw err;}return done(err);}if(!callback){if(result&&typeof result.then==='function'){result.then(then,done);}else if(result instanceof Error){done(result);}else{then(result);}}}/**
* Invoke `next`, only once.
*
* @param {Error?} err - Optional error.
*/function done(){if(!invoked){invoked=true;next.apply(null,arguments);}}/**
* Invoke `done` with one value.
* Tracks if an error is passed, too.
*
* @param {*} value - Optional value.
*/function then(value){done(null,value);}}
/***/ },
/* 1161 */,
/* 1162 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module unherit
* @fileoverview Create a custom constructor which can be modified
* without affecting the original class.
*/'use strict';/* Dependencies. */var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var xtend=__webpack_require__(102);var inherits=__webpack_require__(5);/* Expose. */module.exports=unherit;/**
* Create a custom constructor which can be modified
* without affecting the original class.
*
* @param {Function} Super - Super-class.
* @return {Function} - Constructor acting like `Super`,
* which can be modified without affecting the original
* class.
*/function unherit(Super){var result;var key;var value;inherits(Of,Super);inherits(From,Of);/* Clone values. */result=Of.prototype;for(key in result){value=result[key];if(value&&(typeof value==='undefined'?'undefined':_typeof(value))==='object'){result[key]='concat'in value?value.concat():xtend(value);}}return Of;/**
* Constructor accepting a single argument,
* which itself is an `arguments` object.
*/function From(parameters){return Super.apply(this,parameters);}/**
* Constructor accepting variadic arguments.
*/function Of(){if(!(this instanceof Of)){return new From(arguments);}return Super.apply(this,arguments);}}
/***/ },
/* 1163 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process, global) {/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module unified
* @fileoverview Pluggable text processing interface.
*/'use strict';/* Dependencies. */var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var events=__webpack_require__(35);var has=__webpack_require__(106);var once=__webpack_require__(893);var extend=__webpack_require__(136);var bail=__webpack_require__(590);var vfile=__webpack_require__(1173);var trough=__webpack_require__(1160);var buffer=__webpack_require__(335);var string=__webpack_require__(567);/* Expose an abstract processor. */module.exports=unified().abstract();/* Methods. */var slice=[].slice;/* Process pipeline. */var pipeline=trough().use(function(p,ctx){ctx.tree=p.parse(ctx.file,ctx.options);}).use(function(p,ctx,next){p.run(ctx.tree,ctx.file,function(err,tree,file){if(err){next(err);}else{ctx.tree=tree;ctx.file=file;next();}});}).use(function(p,ctx){ctx.file.contents=p.stringify(ctx.tree,ctx.file,ctx.options);});/**
* Function to create the first processor.
*
* @return {Function} - First processor.
*/function unified(){var attachers=[];var transformers=trough();var namespace={};var chunks=[];var emitter=new events.EventEmitter();var ended=false;var concrete=true;var settings;var key;/* Mix in methods. */for(key in emitter){processor[key]=emitter[key];}/* Throw as early as possible.
* As events are triggered synchroneously, the stack
* is preserved. */processor.on('pipe',function(){assertConcrete();});/* Data management. */processor.data=data;/* Lock. */processor.abstract=abstract;/* Plug-ins. */processor.attachers=attachers;processor.use=use;/* Streaming. */processor.writable=true;processor.readable=true;processor.write=write;processor.end=end;processor.pipe=pipe;/* API. */processor.parse=parse;processor.stringify=stringify;processor.run=run;processor.process=process;/* Expose. */return processor;/**
* Create a new processor based on the processor
* in the current scope.
*
* @return {Processor} - New concrete processor based
* on the descendant processor.
*/function processor(){var destination=unified();var length=attachers.length;var index=-1;while(++index<length){destination.use.apply(null,attachers[index]);}destination.data(extend(true,{},namespace));return destination;}/* Helpers. *//**
* Assert a parser is available.
*
* @param {string} name - Name of callee.
*/function assertParser(name){if(!isParser(processor.Parser)){throw new Error('Cannot `'+name+'` without `Parser`');}}/**
* Assert a compiler is available.
*
* @param {string} name - Name of callee.
*/function assertCompiler(name){if(!isCompiler(processor.Compiler)){throw new Error('Cannot `'+name+'` without `Compiler`');}}/**
* Assert the processor is concrete.
*
* @param {string} name - Name of callee.
*/function assertConcrete(name){if(!concrete){throw new Error('Cannot '+(name?'invoke `'+name+'` on':'pipe into')+' abstract processor.\n'+'To make the processor concrete, invoke it: '+'use `processor()` instead of `processor`.');}}/**
* Assert `node` is a Unist node.
*
* @param {*} node - Value to check.
*/function assertNode(node){if(!isNode(node)){throw new Error('Expected node, got `'+node+'`');}}/**
* Assert, if no `done` is given, that `complete` is
* `true`.
*
* @param {string} name - Name of callee.
* @param {boolean} complete - Whether an async process
* is complete.
* @param {Function?} done - Optional handler of async
* results.
*/function assertDone(name,complete,done){if(!complete&&!done){throw new Error('Expected `done` to be given to `'+name+'` '+'as async plug-ins are used');}}/**
* Abstract: used to signal an abstract processor which
* should made concrete before using.
*
* For example, take unified itself. Its abstract.
* Plug-ins should not be added to it. Rather, it should
* be made concrete (by invoking it) before modifying it.
*
* In essence, always invoke this when exporting a
* processor.
*
* @return {Processor} - The operated on processor.
*/function abstract(){concrete=false;return processor;}/**
* Data management.
*
* Getter / setter for processor-specific informtion.
*
* @param {string} key - Key to get or set.
* @param {*} value - Value to set.
* @return {*} - Either the operator on processor in
* setter mode; or the value stored as `key` in
* getter mode.
*/function data(key,value){assertConcrete('data');if(string(key)){/* Set `key`. */if(arguments.length===2){namespace[key]=value;return processor;}/* Get `key`. */return has(namespace,key)&&namespace[key]||null;}/* Get space. */if(!key){return namespace;}/* Set space. */namespace=key;return processor;}/**
* Plug-in management.
*
* Pass it:
* * an attacher and options,
* * a list of attachers and options for all of them;
* * a tuple of one attacher and options.
* * a matrix: list containing any of the above and
* matrices.
* * a processor: another processor to use all its
* plugins (except parser if theres already one).
*
* @param {...*} value - See description.
* @return {Processor} - The operated on processor.
*/function use(value){var args=slice.call(arguments,0);var params=args.slice(1);var parser;var index;var length;var transformer;var result;assertConcrete('use');/* Multiple attachers. */if('length'in value&&!isFunction(value)){index=-1;length=value.length;if(!isFunction(value[0])){/* Matrix of things. */while(++index<length){use(value[index]);}}else if(isFunction(value[1])){/* List of things. */while(++index<length){use.apply(null,[value[index]].concat(params));}}else{/* Arguments. */use.apply(null,value);}return processor;}/* Store attacher. */attachers.push(args);/* Use a processor (except its parser if theres already one.
* Note that the processor is stored on `attachers`, making
* it possibly mutating in the future, but also ensuring
* the parser isnt overwritten in the future either. */if(isProcessor(value)){parser=processor.Parser;result=use(value.attachers);if(parser){processor.Parser=parser;}return result;}/* Single attacher. */transformer=value.apply(null,[processor].concat(params));if(isFunction(transformer)){transformers.use(transformer);}return processor;}/**
* Parse a file (in string or VFile representation)
* into a Unist node using the `Parser` on the
* processor.
*
* @param {VFile?} [file] - File to process.
* @param {Object?} [options] - Configuration.
* @return {Node} - Unist node.
*/function parse(file,options){assertConcrete('parse');assertParser('parse');return new processor.Parser(vfile(file),options,processor).parse();}/**
* Run transforms on a Unist node representation of a file
* (in string or VFile representation).
*
* @param {Node} node - Unist node.
* @param {(string|VFile)?} [file] - File representation.
* @param {Function?} [done] - Callback.
* @return {Node} - The given or resulting Unist node.
*/function run(node,file,done){var complete=false;var result;assertConcrete('run');assertNode(node);result=node;if(!done&&isFunction(file)){done=file;file=null;}transformers.run(node,vfile(file),function(err,tree,file){complete=true;result=tree||node;(done||bail)(err,tree,file);});assertDone('run',complete,done);return result;}/**
* Stringify a Unist node representation of a file
* (in string or VFile representation) into a string
* using the `Compiler` on the processor.
*
* @param {Node} node - Unist node.
* @param {(string|VFile)?} [file] - File representation.
* @param {Object?} [options] - Configuration.
* @return {string} - String representation.
*/function stringify(node,file,options){assertConcrete('stringify');assertCompiler('stringify');assertNode(node);if(!options&&!string(file)&&!buffer(file)&&!((typeof file==='undefined'?'undefined':_typeof(file))==='object'&&'messages'in file)){options=file;file=null;}return new processor.Compiler(vfile(file),options,processor).compile(node);}/**
* Parse a file (in string or VFile representation)
* into a Unist node using the `Parser` on the processor,
* then run transforms on that node, and compile the
* resulting node using the `Compiler` on the processor,
* and store that result on the VFile.
*
* @param {(string|VFile)?} file - File representation.
* @param {Object?} [options] - Configuration.
* @param {Function?} [done] - Callback.
* @return {VFile} - The given or resulting VFile.
*/function process(file,options,done){var complete=false;assertConcrete('process');assertParser('process');assertCompiler('process');if(!done&&isFunction(options)){done=options;options=null;}file=vfile(file);pipeline.run(processor,{file:file,options:options||{}},function(err){complete=true;if(done){done(err,file);}else{bail(err);}});assertDone('process',complete,done);return file;}/* Streams. *//**
* Write a chunk into memory.
*
* @param {(Buffer|string)?} chunk - Value to write.
* @param {string?} [encoding] - Encoding.
* @param {Function?} [callback] - Callback.
* @return {boolean} - Whether the write was succesful.
*/function write(chunk,encoding,callback){assertConcrete('write');if(isFunction(encoding)){callback=encoding;encoding=null;}if(ended){throw new Error('Did not expect `write` after `end`');}chunks.push((chunk||'').toString(encoding||'utf8'));if(callback){callback();}/* Signal succesful write. */return true;}/**
* End the writing. Passes all arguments to a final
* `write`. Starts the process, which will trigger
* `error`, with a fatal error, if any; `data`, with
* the generated document in `string` form, if
* succesful. If messages are triggered during the
* process, those are triggerd as `warning`s.
*
* @return {boolean} - Whether the last write was
* succesful.
*/function end(){assertConcrete('end');assertParser('end');assertCompiler('end');write.apply(null,arguments);ended=true;process(chunks.join(''),settings,function(err,file){var messages=file.messages;var length=messages.length;var index=-1;chunks=settings=null;/* Trigger messages as warnings, except for fatal error. */while(++index<length){if(messages[index]!==err){processor.emit('warning',messages[index]);}}if(err){/* Dont enter an infinite error throwing loop. */global.setTimeout(function(){processor.emit('error',err);},4);}else{processor.emit('data',file.contents);processor.emit('end');}});return true;}/**
* Pipe the processor into a writable stream.
*
* Basically `Stream#pipe`, but inlined and
* simplified to keep the bundled size down.
*
* @see https://github.com/nodejs/node/blob/master/lib/stream.js#L26
*
* @param {Stream} dest - Writable stream.
* @param {Object?} [options] - Processing
* configuration.
* @return {Stream} - The destination stream.
*/function pipe(dest,options){var onend=once(onended);assertConcrete('pipe');settings=options||{};processor.on('data',ondata);processor.on('error',onerror);processor.on('end',cleanup);processor.on('close',cleanup);/* If the 'end' option is not supplied, dest.end() will be
* called when the 'end' or 'close' events are received.
* Only dest.end() once. */if(!dest._isStdio&&settings.end!==false){processor.on('end',onend);}dest.on('error',onerror);dest.on('close',cleanup);dest.emit('pipe',processor);return dest;/** End destination. */function onended(){if(dest.end){dest.end();}}/**
* Handle data.
*
* @param {*} chunk - Data to pass through.
*/function ondata(chunk){if(dest.writable){dest.write(chunk);}}/**
* Clean listeners.
*/function cleanup(){processor.removeListener('data',ondata);processor.removeListener('end',onend);processor.removeListener('error',onerror);processor.removeListener('end',cleanup);processor.removeListener('close',cleanup);dest.removeListener('error',onerror);dest.removeListener('close',cleanup);}/**
* Close dangling pipes and handle unheard errors.
*
* @param {Error} err - Exception.
*/function onerror(err){var handlers=processor._events.error;cleanup();/* Cannot use `listenerCount` in node <= 0.12. */if(!handlers||!handlers.length||handlers===onerror){throw err;/* Unhandled stream error in pipe. */}}}}/**
* Check if `node` is a Unist node.
*
* @param {*} node - Value.
* @return {boolean} - Whether `node` is a Unist node.
*/function isNode(node){return node&&string(node.type)&&node.type.length!==0;}/**
* Check if `fn` is a function.
*
* @param {*} fn - Value.
* @return {boolean} - Whether `fn` is a function.
*/function isFunction(fn){return typeof fn==='function';}/**
* Check if `compiler` is a Compiler.
*
* @param {*} compiler - Value.
* @return {boolean} - Whether `compiler` is a Compiler.
*/function isCompiler(compiler){return isFunction(compiler)&&compiler.prototype&&isFunction(compiler.prototype.compile);}/**
* Check if `parser` is a Parser.
*
* @param {*} parser - Value.
* @return {boolean} - Whether `parser` is a Parser.
*/function isParser(parser){return isFunction(parser)&&parser.prototype&&isFunction(parser.prototype.parse);}/**
* Check if `processor` is a unified processor.
*
* @param {*} processor - Value.
* @return {boolean} - Whether `processor` is a processor.
*/function isProcessor(processor){return isFunction(processor)&&isFunction(processor.use)&&isFunction(processor.process);}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3), __webpack_require__(17)))
/***/ },
/* 1164 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module unist:util:remove-position
* @fileoverview Remove `position`s from a unist tree.
*/'use strict';/* eslint-env commonjs *//* Dependencies. */var visit=__webpack_require__(1166);/* Expose. */module.exports=removePosition;/**
* Remove `position`s from `tree`.
*
* @param {Node} tree - Node.
* @return {Node} - Node without `position`s.
*/function removePosition(node,force){visit(node,force?hard:soft);return node;}/**
* Delete `position`.
*/function hard(node){delete node.position;}/**
* Remove `position` softly.
*/function soft(node){node.position=undefined;}
/***/ },
/* 1165 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};var has=__webpack_require__(106);module.exports=stringify;function stringify(value){/* Nothing. */if(!value||(typeof value==='undefined'?'undefined':_typeof(value))!=='object'){return null;}/* Node. */if(has(value,'position')||has(value,'type')){return location(value.position);}/* Location. */if(has(value,'start')||has(value,'end')){return location(value);}/* Position. */if(has(value,'line')||has(value,'column')){return position(value);}/* ? */return null;}function position(pos){if(!pos||(typeof pos==='undefined'?'undefined':_typeof(pos))!=='object'){pos={};}return index(pos.line)+':'+index(pos.column);}function location(loc){if(!loc||(typeof loc==='undefined'?'undefined':_typeof(loc))!=='object'){loc={};}return position(loc.start)+'-'+position(loc.end);}function index(value){return value&&typeof value==='number'?value:1;}
/***/ },
/* 1166 */
/***/ function(module, exports) {
"use strict";
'use strict';/* Expose. */module.exports=visit;/* Visit. */function visit(tree,type,visitor,reverse){if(typeof type==='function'){reverse=visitor;visitor=type;type=null;}one(tree);return;/* Visit a single node. */function one(node,index,parent){var result;index=index||(parent?0:null);if(!type||node.type===type){result=visitor(node,index,parent||null);}if(node.children&&result!==false){return all(node.children,node);}return result;}/* Visit children in `parent`. */function all(children,parent){var step=reverse?-1:1;var max=children.length;var min=-1;var index=(reverse?max:min)+step;var child;while(index>min&&index<max){child=children[index];if(child&&one(child,index,parent)===false){return false;}index+=step;}return true;}}
/***/ },
/* 1167 */,
/* 1168 */,
/* 1169 */,
/* 1170 */,
/* 1171 */,
/* 1172 */
/***/ function(module, exports) {
"use strict";
/**
* @author Titus Wormer
* @copyright 2016 Titus Wormer
* @license MIT
* @module vfile-location
* @fileoverview Convert between positions (line and column-based)
* and offsets (range-based) locations in a virtual file.
*/'use strict';/* Expose. */module.exports=factory;/**
* Factory.
*
* @param {VFile|string|Buffer} file - Virtual file or document.
*/function factory(file){var contents=indices(String(file));return{toPosition:offsetToPositionFactory(contents),toOffset:positionToOffsetFactory(contents)};}/**
* Factory to get the line and column-based `position` for
* `offset` in the bound indices.
*
* @param {Array.<number>} indices - Indices of
* line-breaks in `value`.
* @return {Function} - Bound method.
*/function offsetToPositionFactory(indices){return offsetToPosition;/**
* Get the line and column-based `position` for
* `offset` in the bound indices.
*
* @param {number} offset - Offset.
* @return {Position} - Object with `line`, `column`,
* and `offset` properties based on the bound
* `indices`. An empty object when given invalid
* or out of bounds input.
*/function offsetToPosition(offset){var index=-1;var length=indices.length;if(offset<0){return{};}while(++index<length){if(indices[index]>offset){return{line:index+1,column:offset-(indices[index-1]||0)+1,offset:offset};}}return{};}}/**
* Factory to get the `offset` for a line and column-based
* `position` in the bound indices.
*
* @param {Array.<number>} indices - Indices of
* line-breaks in `value`.
* @return {Function} - Bound method.
*/function positionToOffsetFactory(indices){return positionToOffset;/**
* Get the `offset` for a line and column-based
* `position` in the bound indices.
*
* @param {Position} position - Object with `line` and
* `column` properties.
* @return {number} - Offset. `-1` when given invalid
* or out of bounds input.
*/function positionToOffset(position){var line=position&&position.line;var column=position&&position.column;if(!isNaN(line)&&!isNaN(column)&&line-1 in indices){return(indices[line-2]||0)+column-1||0;}return-1;}}/**
* Get indices of line-breaks in `value`.
*
* @param {string} value - Value.
* @return {Array.<number>} - List of indices of
* line-breaks.
*/function indices(value){var result=[];var index=value.indexOf('\n');while(index!==-1){result.push(index+1);index=value.indexOf('\n',index+1);}result.push(value.length+1);return result;}
/***/ },
/* 1173 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(process) {/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module vfile
* @fileoverview Virtual file format to attach additional
* information related to processed input. Similar to
* `wearefractal/vinyl`.
*/'use strict';/* Dependencies. */var path=__webpack_require__(237);var has=__webpack_require__(106);var replace=__webpack_require__(1040);var stringify=__webpack_require__(1165);var buffer=__webpack_require__(335);var string=__webpack_require__(567);/* Expose. */module.exports=VFile;/* Methods. */var proto=VFile.prototype;proto.toString=toString;proto.message=message;proto.fail=fail;/* Slight backwards compatibility. Remove in the future. */proto.warn=message;/* Order of setting (least specific to most). */var order=['history','path','basename','stem','extname','dirname'];/**
* Construct a new file.
*
* @constructor
* @param {Object|VFile|string} [options] - File, contents, or config.
*/function VFile(options){var prop;var index;var length;if(!options){options={};}else if(string(options)||buffer(options)){options={contents:options};}else if('message'in options&&'messages'in options){return options;}if(!(this instanceof VFile)){return new VFile(options);}this.data={};this.messages=[];this.history=[];this.cwd=process.cwd();/* Set path related properties in the correct order. */index=-1;length=order.length;while(++index<length){prop=order[index];if(has(options,prop)){this[prop]=options[prop];}}/* Set non-path related properties. */for(prop in options){if(order.indexOf(prop)===-1){this[prop]=options[prop];}}}/**
* Access complete path (`~/index.min.js`).
*/Object.defineProperty(proto,'path',{get:function get(){return this.history[this.history.length-1];},set:function set(path){assertNonEmpty(path,'path');if(path!==this.path){this.history.push(path);}}});/**
* Access parent path (`~`).
*/Object.defineProperty(proto,'dirname',{get:function get(){return string(this.path)?path.dirname(this.path):undefined;},set:function set(dirname){assertPath(this.path,'dirname');this.path=path.join(dirname||'',this.basename);}});/**
* Access basename (`index.min.js`).
*/Object.defineProperty(proto,'basename',{get:function get(){return string(this.path)?path.basename(this.path):undefined;},set:function set(basename){assertNonEmpty(basename,'basename');assertPart(basename,'basename');this.path=path.join(this.dirname||'',basename);}});/**
* Access extname (`.js`).
*/Object.defineProperty(proto,'extname',{get:function get(){return string(this.path)?path.extname(this.path):undefined;},set:function set(extname){var ext=extname||'';assertPart(ext,'extname');assertPath(this.path,'extname');if(ext){if(ext.charAt(0)!=='.'){throw new Error('`extname` must start with `.`');}if(ext.indexOf('.',1)!==-1){throw new Error('`extname` cannot contain multiple dots');}}this.path=replace(this.path,ext);}});/**
* Access stem (`index.min`).
*/Object.defineProperty(proto,'stem',{get:function get(){return string(this.path)?path.basename(this.path,this.extname):undefined;},set:function set(stem){assertNonEmpty(stem,'stem');assertPart(stem,'stem');this.path=path.join(this.dirname||'',stem+(this.extname||''));}});/**
* Get the value of the file.
*
* @return {string} - Contents.
*/function toString(encoding){var value=this.contents||'';return buffer(value)?value.toString(encoding):String(value);}/**
* Create a message with `reason` at `position`.
* When an error is passed in as `reason`, copies the
* stack. This does not add a message to `messages`.
*
* @param {string|Error} reason - Reason for message.
* @param {Node|Location|Position} [position] - Place of message.
* @param {string} [ruleId] - Category of message.
* @return {VMessage} - Message.
*/function message(reason,position,ruleId){var filePath=this.path;var range=stringify(position)||'1:1';var location;var err;location={start:{line:null,column:null},end:{line:null,column:null}};if(position&&position.position){position=position.position;}if(position){/* Location. */if(position.start){location=position;position=position.start;}else{/* Position. */location.start=position;location.end.line=null;location.end.column=null;}}err=new VMessage(reason.message||reason);err.name=(filePath?filePath+':':'')+range;err.file=filePath||'';err.reason=reason.message||reason;err.line=position?position.line:null;err.column=position?position.column:null;err.location=location;err.ruleId=ruleId||null;err.source=null;err.fatal=false;if(reason.stack){err.stack=reason.stack;}this.messages.push(err);return err;}/**
* Fail. Creates a vmessage, associates it with the file,
* and throws it.
*
* @throws {VMessage} - Fatal exception.
*/function fail(){var message=this.message.apply(this,arguments);message.fatal=true;throw message;}/* Inherit from `Error#`. */function VMessagePrototype(){}VMessagePrototype.prototype=Error.prototype;VMessage.prototype=new VMessagePrototype();/* Message properties. */proto=VMessage.prototype;proto.file=proto.name=proto.reason=proto.message=proto.stack='';proto.fatal=proto.column=proto.line=null;/**
* Construct a new file message.
*
* Note: We cannot invoke `Error` on the created context,
* as that adds readonly `line` and `column` attributes on
* Safari 9, thus throwing and failing the data.
*
* @constructor
* @param {string} reason - Reason for messaging.
*/function VMessage(reason){this.message=reason;}/* Assert that `part` is not a path (i.e., does
* not contain `path.sep`). */function assertPart(part,name){if(part.indexOf(path.sep)!==-1){throw new Error('`'+name+'` cannot be a path: did not expect `'+path.sep+'`');}}/* Assert that `part` is not empty. */function assertNonEmpty(part,name){if(!part){throw new Error('`'+name+'` cannot be empty');}}/* Assert `path` exists. */function assertPath(path,name){if(!path){throw new Error('Setting `'+name+'` requires `path` to be set too');}}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(3)))
/***/ },
/* 1174 */,
/* 1175 */
/***/ function(module, exports) {
"use strict";
'use strict';// Returns a wrapper function that returns a wrapped callback
// The wrapper function should do some stuff, and return a
// presumably different callback function.
// This makes sure that own properties are retained, so that
// decorations and such are not lost along the way.
module.exports=wrappy;function wrappy(fn,cb){if(fn&&cb)return wrappy(fn)(cb);if(typeof fn!=='function')throw new TypeError('need wrapper function');Object.keys(fn).forEach(function(k){wrapper[k]=fn[k];});return wrapper;function wrapper(){var args=new Array(arguments.length);for(var i=0;i<args.length;i++){args[i]=arguments[i];}var ret=fn.apply(this,args);var cb=args[args.length-1];if(typeof ret==='function'&&ret!==cb){Object.keys(cb).forEach(function(k){ret[k]=cb[k];});}return ret;}}
/***/ },
/* 1176 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _semanticUiReact=__webpack_require__(80);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _selectors=__webpack_require__(196);var Selectors=_interopRequireWildcard(_selectors);var _Header=__webpack_require__(569);var _Header2=_interopRequireDefault(_Header);var _Footer=__webpack_require__(568);var _Footer2=_interopRequireDefault(_Footer);var _CompareControls=__webpack_require__(1177);var _CompareControls2=_interopRequireDefault(_CompareControls);var _ShowPlaintext=__webpack_require__(1182);var _ShowPlaintext2=_interopRequireDefault(_ShowPlaintext);var _ShowMarkdown=__webpack_require__(1181);var _ShowMarkdown2=_interopRequireDefault(_ShowMarkdown);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}var mapStateToProps=function mapStateToProps(state){return{isMarkdownFormat:Selectors.isMarkdownFormat(state),isShowOriginal:Selectors.isShowOriginal(state),isShowFinal:Selectors.isShowFinal(state),isShowDifference:Selectors.isShowDifference(state),safeInput:Selectors.safeInput(state),diff:Selectors.diff(state)};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{//loadIfNeeded: (id) => dispatch(Actions.loadIfNeeded())
};};var Compare=function(_React$Component){_inherits(Compare,_React$Component);function Compare(){_classCallCheck(this,Compare);return _possibleConstructorReturn(this,(Compare.__proto__||Object.getPrototypeOf(Compare)).apply(this,arguments));}_createClass(Compare,[{key:'render',/*
componentDidMount() {
this.props.loadIfNeeded(this.props.routeParams.compareId)
}
*/value:function render(){return _react2.default.createElement('div',null,_react2.default.createElement(_Header2.default,null),_react2.default.createElement(_semanticUiReact.Segment,{basic:true,padded:true},_react2.default.createElement(_semanticUiReact.Grid,{stackable:true,columns:2},_react2.default.createElement(_semanticUiReact.Grid.Column,{width:'3'},_react2.default.createElement(_CompareControls2.default,null)),_react2.default.createElement(_semanticUiReact.Grid.Column,{width:'13'},_react2.default.createElement(_semanticUiReact.Segment,null,!this.props.isMarkdownFormat&&this.props.isShowDifference?_react2.default.createElement(_ShowPlaintext2.default,{diff:this.props.diff},this.props.diff):this.props.isMarkdownFormat&&this.props.isShowDifference?_react2.default.createElement(_ShowMarkdown2.default,{diff:this.props.diff},this.props.diff):!this.props.isMarkdownFormat&&!this.props.isShowDifference?_react2.default.createElement(_ShowPlaintext2.default,{text:this.props.isShowOriginal?this.props.safeInput.original:this.props.safeInput.final}):this.props.isMarkdownFormat&&!this.props.isShowDifference?_react2.default.createElement(_ShowMarkdown2.default,{text:this.props.isShowOriginal?this.props.safeInput.original:this.props.safeInput.final}):null)))),_react2.default.createElement(_Footer2.default,null));}}]);return Compare;}(_react2.default.Component);exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(Compare);/* <div ng-if="isMarkdownFormat">
<div ng-show="isShowBefore" class="col-md-10 col-sm-12 content-well">
<div btf-markdown="before" class="before">
</div>
</div>
<div ng-show="isShowWdiff" class="col-md-10 col-sm-12 content-well">
<div btf-markdown="wdiff" class="wdiff">
</div>
</div>
<div ng-show="isShowAfter" class="col-md-10 col-sm-12 content-well">
<div btf-markdown="after" class="after">
</div>
</div>
</div>
<div ng-if="!isMarkdownFormat">
<div ng-show="isShowBefore" class="col-md-10 col-sm-12 content-well">
<div ng-bind-html="before" class="content-pre before"></div>
</div>
<div ng-show="isShowWdiff" class="col-md-10 col-sm-12 content-well">
<div ng-bind-html="wdiff" class="content-pre wdiff"></div>
</div>
<div ng-show="isShowAfter" class="col-md-10 col-sm-12 content-well">
<div ng-bind-html="after" class="content-pre after"></div>
</div>
</div>
*/
/***/ },
/* 1177 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _reactRouter=__webpack_require__(84);var _semanticUiReact=__webpack_require__(80);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _selectors=__webpack_require__(196);var Selectors=_interopRequireWildcard(_selectors);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}var mapStateToProps=function mapStateToProps(state){return{isMarkdownFormat:Selectors.isMarkdownFormat(state),isShowOriginal:Selectors.isShowOriginal(state),isShowFinal:Selectors.isShowFinal(state),isShowDifference:Selectors.isShowDifference(state)};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onSetPlaintextFormat:function onSetPlaintextFormat(){return dispatch(Actions.setPlaintextFormat());},onSetMarkdownFormat:function onSetMarkdownFormat(){return dispatch(Actions.setMarkdownFormat());},onShowOriginal:function onShowOriginal(){return dispatch(Actions.showOriginal());},onShowFinal:function onShowFinal(){return dispatch(Actions.showFinal());},onShowDifference:function onShowDifference(){return dispatch(Actions.showDifference());},onEdit:function onEdit(){return dispatch(Actions.edit());}};};var CompareControls=function(_React$Component){_inherits(CompareControls,_React$Component);function CompareControls(){_classCallCheck(this,CompareControls);return _possibleConstructorReturn(this,(CompareControls.__proto__||Object.getPrototypeOf(CompareControls)).apply(this,arguments));}_createClass(CompareControls,[{key:'onClickMarkdownFormat',value:function onClickMarkdownFormat(){if(this.props.isMarkdownFormat)this.props.onSetPlaintextFormat();else this.props.onSetMarkdownFormat();}},{key:'render',value:function render(){return _react2.default.createElement(_semanticUiReact.Segment.Group,null,_react2.default.createElement(_semanticUiReact.Segment,null,_react2.default.createElement(_semanticUiReact.Button,{fluid:true,onClick:this.props.onEdit},'Edit')),_react2.default.createElement(_semanticUiReact.Segment,null,_react2.default.createElement(_semanticUiReact.Button,{fluid:true,onClick:this.props.onShowOriginal,active:this.props.isShowOriginal},'Original'),_react2.default.createElement(_semanticUiReact.Button,{fluid:true,onClick:this.props.onShowFinal,active:this.props.isShowFinal},'Final'),_react2.default.createElement(_semanticUiReact.Button,{fluid:true,onClick:this.props.onShowDifference,active:this.props.isShowDifference},'Difference')),_react2.default.createElement(_semanticUiReact.Segment,null,_react2.default.createElement(_semanticUiReact.Button,{fluid:true,active:this.props.isMarkdownFormat,type:'submit',onClick:this.onClickMarkdownFormat.bind(this)},this.props.isMarkdownFormat?_react2.default.createElement(_semanticUiReact.Icon,{name:'checkmark'}):_react2.default.createElement('span',null),'\xA0As Markdown')));}}]);return CompareControls;}(_react2.default.Component);exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(CompareControls);
/***/ },
/* 1178 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _semanticUiReact=__webpack_require__(80);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _selectors=__webpack_require__(196);var Selectors=_interopRequireWildcard(_selectors);var _Header=__webpack_require__(569);var _Header2=_interopRequireDefault(_Header);var _Footer=__webpack_require__(568);var _Footer2=_interopRequireDefault(_Footer);var _MainControls=__webpack_require__(1179);var _MainControls2=_interopRequireDefault(_MainControls);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}var mapStateToProps=function mapStateToProps(state){return{input:state.input,safeInput:Selectors.safeInput(state)};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onChangeOriginal:function onChangeOriginal(text){return dispatch(Actions.updateOriginalInput(text));},onChangeFinal:function onChangeFinal(text){return dispatch(Actions.updateFinalInput(text));}};};var Main=function(_React$Component){_inherits(Main,_React$Component);function Main(){_classCallCheck(this,Main);return _possibleConstructorReturn(this,(Main.__proto__||Object.getPrototypeOf(Main)).call(this));}_createClass(Main,[{key:'render',value:function render(){var _this2=this;return _react2.default.createElement('div',null,_react2.default.createElement(_Header2.default,null),_react2.default.createElement(_semanticUiReact.Segment,{basic:true,padded:true},_react2.default.createElement(_semanticUiReact.Grid,{stackable:true,columns:3},_react2.default.createElement(_semanticUiReact.Grid.Column,{width:'3'},_react2.default.createElement(_MainControls2.default,null)),_react2.default.createElement(_semanticUiReact.Grid.Column,{width:'6'},_react2.default.createElement(_semanticUiReact.Form,null,_react2.default.createElement(_semanticUiReact.Form.Field,null,_react2.default.createElement('label',null,'Original'),_react2.default.createElement('textarea',{value:this.props.input.original,onChange:function onChange(event){return _this2.props.onChangeOriginal(event.target.value);}})))),_react2.default.createElement(_semanticUiReact.Grid.Column,{width:'6'},_react2.default.createElement(_semanticUiReact.Form,null,_react2.default.createElement(_semanticUiReact.Form.Field,null,_react2.default.createElement('label',null,'Final'),_react2.default.createElement('textarea',{value:this.props.input.final,onChange:function onChange(event){return _this2.props.onChangeFinal(event.target.value);}})))))),_react2.default.createElement(_Footer2.default,null));}}]);return Main;}(_react2.default.Component);exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(Main);
/***/ },
/* 1179 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _semanticUiReact=__webpack_require__(80);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _selectors=__webpack_require__(196);var Selectors=_interopRequireWildcard(_selectors);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}var mapStateToProps=function mapStateToProps(state){return{format:state.format,isMarkdownFormat:Selectors.isMarkdownFormat(state),saveStatus:state.saveStatus};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onSetPlaintextFormat:function onSetPlaintextFormat(format){return dispatch(Actions.setPlaintextFormat());},onSetMarkdownFormat:function onSetMarkdownFormat(format){return dispatch(Actions.setMarkdownFormat());},//returns an id for the record to be saved
onCompare:function onCompare(){return dispatch(Actions.compare());}};};var MainControls=function(_React$Component){_inherits(MainControls,_React$Component);function MainControls(){_classCallCheck(this,MainControls);return _possibleConstructorReturn(this,(MainControls.__proto__||Object.getPrototypeOf(MainControls)).apply(this,arguments));}_createClass(MainControls,[{key:'onClickMarkdownFormat',value:function onClickMarkdownFormat(){if(this.props.isMarkdownFormat)this.props.onSetPlaintextFormat();else this.props.onSetMarkdownFormat();}},{key:'render',value:function render(){return _react2.default.createElement(_semanticUiReact.Segment.Group,null,_react2.default.createElement(_semanticUiReact.Segment,null,_react2.default.createElement(_semanticUiReact.Button,{fluid:true,onClick:this.props.onCompare},'Compare')),_react2.default.createElement(_semanticUiReact.Segment,null,_react2.default.createElement(_semanticUiReact.Button,{fluid:true,active:this.props.isMarkdownFormat,type:'submit',onClick:this.onClickMarkdownFormat.bind(this)},this.props.isMarkdownFormat?_react2.default.createElement(_semanticUiReact.Icon,{name:'checkmark'}):_react2.default.createElement('span',null),'\xA0As Markdown')));}}]);return MainControls;}(_react2.default.Component);exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(MainControls);/*
<a type="button" onClick={this.onClickCompare.bind(this)} className="btn btn-block btn-primary">compare</a>*/
/***/ },
/* 1180 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _semanticUiReact=__webpack_require__(80);var _reactRouter=__webpack_require__(84);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _constants=__webpack_require__(570);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var mapStateToProps=function mapStateToProps(state){return{status:state.status};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onSave:function onSave(){return dispatch(Actions.save());}};};var SaveStatus=function SaveStatus(props){console.log(props.status);if(props.status.type==_constants.Status.SAVING)return _react2.default.createElement(_semanticUiReact.Message,{size:'tiny',floating:true,compact:true,icon:true},_react2.default.createElement(_semanticUiReact.Icon,{name:'circle notched',loading:true}),_react2.default.createElement(_semanticUiReact.Message.Content,null,_react2.default.createElement(_semanticUiReact.Message.Header,null,'Saving diff')));if(props.status.type==_constants.Status.LOADING)return _react2.default.createElement(_semanticUiReact.Message,{size:'tiny',floating:true,compact:true,icon:true},_react2.default.createElement(_semanticUiReact.Icon,{name:'circle notched',loading:true}),_react2.default.createElement(_semanticUiReact.Message.Content,null,_react2.default.createElement(_semanticUiReact.Message.Header,null,'Loading diff')));else if(props.status.hasError&&props.status.errorType==_constants.StatusError.SAVE_ERROR)return _react2.default.createElement(_semanticUiReact.Message,{size:'tiny',floating:true,compact:true,icon:true},_react2.default.createElement(_semanticUiReact.Icon,{name:'exclamation'}),_react2.default.createElement(_semanticUiReact.Message.Content,null,_react2.default.createElement(_semanticUiReact.Message.Header,null,'Error saving diff'),props.status.error.message,_react2.default.createElement(_semanticUiReact.Button,{onClick:props.onSave},'Retry')));else if(props.status.hasError&&props.status.errorType==_constants.StatusError.LOAD_ERROR)return _react2.default.createElement(_semanticUiReact.Message,{size:'tiny',floating:true,compact:true,icon:true},_react2.default.createElement(_semanticUiReact.Icon,{name:'exclamation'}),_react2.default.createElement(_semanticUiReact.Message.Content,null,_react2.default.createElement(_semanticUiReact.Message.Header,null,'Error loading diff'),'Server returned ',props.status.error));else return _react2.default.createElement('div',null);};exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(SaveStatus);
/***/ },
/* 1181 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _markdownToJsx=__webpack_require__(882);var _markdownToJsx2=_interopRequireDefault(_markdownToJsx);var _dubdiff=__webpack_require__(571);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var ShowMarkdown=function ShowMarkdown(props){return _react2.default.createElement('div',null,props.text?(0,_markdownToJsx2.default)(props.text):props.diff?(0,_markdownToJsx2.default)((0,_dubdiff.diffToHtml)(props.diff)):null);};exports.default=ShowMarkdown;
/***/ },
/* 1182 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var ShowPlaintext=function ShowPlaintext(props){return _react2.default.createElement('div',null,_react2.default.createElement('pre',{style:{whiteSpace:'pre-wrap'}},props.text?props.text:props.diff?diffToPre(props.diff):null));};exports.default=ShowPlaintext;function diffToPre(diff){return diff.map(function(part,index){return part.added?_react2.default.createElement('ins',{key:index},part.value):part.removed?_react2.default.createElement('del',{key:index},part.value):_react2.default.createElement('span',{key:index},part.value);});}
/***/ },
/* 1183 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _diff=__webpack_require__(322);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}// EditorsDiff is a custom Diff implementation from the jsdiff library
// It allows diffing by phrases. Whitespace is ignored for the purpose of comparison,
// but is preserved and included in the output.
var TOKEN_BOUNDARYS=/([\s,.:])/;var EditorsDiff=function(_Diff){_inherits(EditorsDiff,_Diff);function EditorsDiff(){var tokenBoundaries=arguments.length>0&&arguments[0]!==undefined?arguments[0]:TOKEN_BOUNDARYS;_classCallCheck(this,EditorsDiff);var _this=_possibleConstructorReturn(this,(EditorsDiff.__proto__||Object.getPrototypeOf(EditorsDiff)).call(this));_this.tokenBoundaries=tokenBoundaries;return _this;}_createClass(EditorsDiff,[{key:'equals',value:function equals(left,right){return left.string==right.string;}//splits the input string into a series of word and punctuation tokens
//each token is associated with an optional trailing array of spaces
},{key:'tokenize',value:function tokenize(value){var tokens=value.split(this.tokenBoundaries);var annotatedTokens=[];tokens.forEach(function(token){if(isSpace(token)){if(annotatedTokens.length==0)annotatedTokens.push({string:'',whitespace:[]});var last=annotatedTokens[annotatedTokens.length-1];last.whitespace.push(token);}else{annotatedTokens.push({string:token,whitespace:[]});}});//this final empty token is necessary for the jsdiff diffing engine to work properly
annotatedTokens.push({string:'',whitespace:[]});return annotatedTokens;}},{key:'join',value:function join(annotatedTokens){var tokens=[];annotatedTokens.forEach(function(annotatedToken){tokens.push(annotatedToken.string);annotatedToken.whitespace.forEach(function(item){tokens.push(item);});});return tokens.join('');}}]);return EditorsDiff;}(_diff.Diff);exports.default=EditorsDiff;var isSpace=function isSpace(str){return /[ ]+/.test(str);};
/***/ },
/* 1184 */
/***/ function(module, exports) {
module.exports = {
"AElig": "Æ",
"AMP": "&",
"Aacute": "Á",
"Acirc": "Â",
"Agrave": "À",
"Aring": "Å",
"Atilde": "Ã",
"Auml": "Ä",
"COPY": "©",
"Ccedil": "Ç",
"ETH": "Ð",
"Eacute": "É",
"Ecirc": "Ê",
"Egrave": "È",
"Euml": "Ë",
"GT": ">",
"Iacute": "Í",
"Icirc": "Î",
"Igrave": "Ì",
"Iuml": "Ï",
"LT": "<",
"Ntilde": "Ñ",
"Oacute": "Ó",
"Ocirc": "Ô",
"Ograve": "Ò",
"Oslash": "Ø",
"Otilde": "Õ",
"Ouml": "Ö",
"QUOT": "\"",
"REG": "®",
"THORN": "Þ",
"Uacute": "Ú",
"Ucirc": "Û",
"Ugrave": "Ù",
"Uuml": "Ü",
"Yacute": "Ý",
"aacute": "á",
"acirc": "â",
"acute": "´",
"aelig": "æ",
"agrave": "à",
"amp": "&",
"aring": "å",
"atilde": "ã",
"auml": "ä",
"brvbar": "¦",
"ccedil": "ç",
"cedil": "¸",
"cent": "¢",
"copy": "©",
"curren": "¤",
"deg": "°",
"divide": "÷",
"eacute": "é",
"ecirc": "ê",
"egrave": "è",
"eth": "ð",
"euml": "ë",
"frac12": "½",
"frac14": "¼",
"frac34": "¾",
"gt": ">",
"iacute": "í",
"icirc": "î",
"iexcl": "¡",
"igrave": "ì",
"iquest": "¿",
"iuml": "ï",
"laquo": "«",
"lt": "<",
"macr": "¯",
"micro": "µ",
"middot": "·",
"nbsp": " ",
"not": "¬",
"ntilde": "ñ",
"oacute": "ó",
"ocirc": "ô",
"ograve": "ò",
"ordf": "ª",
"ordm": "º",
"oslash": "ø",
"otilde": "õ",
"ouml": "ö",
"para": "¶",
"plusmn": "±",
"pound": "£",
"quot": "\"",
"raquo": "»",
"reg": "®",
"sect": "§",
"shy": "­",
"sup1": "¹",
"sup2": "²",
"sup3": "³",
"szlig": "ß",
"thorn": "þ",
"times": "×",
"uacute": "ú",
"ucirc": "û",
"ugrave": "ù",
"uml": "¨",
"uuml": "ü",
"yacute": "ý",
"yen": "¥",
"yuml": "ÿ"
};
/***/ },
/* 1185 */
/***/ function(module, exports) {
module.exports = {
"AEli": "Æ",
"AElig": "Æ",
"AM": "&",
"AMP": "&",
"Aacut": "Á",
"Aacute": "Á",
"Abreve": "Ă",
"Acir": "Â",
"Acirc": "Â",
"Acy": "А",
"Afr": "𝔄",
"Agrav": "À",
"Agrave": "À",
"Alpha": "Α",
"Amacr": "Ā",
"And": "⩓",
"Aogon": "Ą",
"Aopf": "𝔸",
"ApplyFunction": "",
"Arin": "Å",
"Aring": "Å",
"Ascr": "𝒜",
"Assign": "≔",
"Atild": "Ã",
"Atilde": "Ã",
"Aum": "Ä",
"Auml": "Ä",
"Backslash": "",
"Barv": "⫧",
"Barwed": "⌆",
"Bcy": "Б",
"Because": "∵",
"Bernoullis": "",
"Beta": "Β",
"Bfr": "𝔅",
"Bopf": "𝔹",
"Breve": "˘",
"Bscr": "",
"Bumpeq": "≎",
"CHcy": "Ч",
"COP": "©",
"COPY": "©",
"Cacute": "Ć",
"Cap": "⋒",
"CapitalDifferentialD": "",
"Cayleys": "",
"Ccaron": "Č",
"Ccedi": "Ç",
"Ccedil": "Ç",
"Ccirc": "Ĉ",
"Cconint": "∰",
"Cdot": "Ċ",
"Cedilla": "¸",
"CenterDot": "·",
"Cfr": "",
"Chi": "Χ",
"CircleDot": "⊙",
"CircleMinus": "⊖",
"CirclePlus": "⊕",
"CircleTimes": "⊗",
"ClockwiseContourIntegral": "∲",
"CloseCurlyDoubleQuote": "”",
"CloseCurlyQuote": "",
"Colon": "∷",
"Colone": "⩴",
"Congruent": "≡",
"Conint": "∯",
"ContourIntegral": "∮",
"Copf": "",
"Coproduct": "∐",
"CounterClockwiseContourIntegral": "∳",
"Cross": "",
"Cscr": "𝒞",
"Cup": "⋓",
"CupCap": "≍",
"DD": "",
"DDotrahd": "⤑",
"DJcy": "Ђ",
"DScy": "Ѕ",
"DZcy": "Џ",
"Dagger": "‡",
"Darr": "↡",
"Dashv": "⫤",
"Dcaron": "Ď",
"Dcy": "Д",
"Del": "∇",
"Delta": "Δ",
"Dfr": "𝔇",
"DiacriticalAcute": "´",
"DiacriticalDot": "˙",
"DiacriticalDoubleAcute": "˝",
"DiacriticalGrave": "`",
"DiacriticalTilde": "˜",
"Diamond": "⋄",
"DifferentialD": "",
"Dopf": "𝔻",
"Dot": "¨",
"DotDot": "⃜",
"DotEqual": "≐",
"DoubleContourIntegral": "∯",
"DoubleDot": "¨",
"DoubleDownArrow": "⇓",
"DoubleLeftArrow": "⇐",
"DoubleLeftRightArrow": "⇔",
"DoubleLeftTee": "⫤",
"DoubleLongLeftArrow": "⟸",
"DoubleLongLeftRightArrow": "⟺",
"DoubleLongRightArrow": "⟹",
"DoubleRightArrow": "⇒",
"DoubleRightTee": "⊨",
"DoubleUpArrow": "⇑",
"DoubleUpDownArrow": "⇕",
"DoubleVerticalBar": "∥",
"DownArrow": "↓",
"DownArrowBar": "⤓",
"DownArrowUpArrow": "⇵",
"DownBreve": "̑",
"DownLeftRightVector": "⥐",
"DownLeftTeeVector": "⥞",
"DownLeftVector": "↽",
"DownLeftVectorBar": "⥖",
"DownRightTeeVector": "⥟",
"DownRightVector": "⇁",
"DownRightVectorBar": "⥗",
"DownTee": "",
"DownTeeArrow": "↧",
"Downarrow": "⇓",
"Dscr": "𝒟",
"Dstrok": "Đ",
"ENG": "Ŋ",
"ET": "Ð",
"ETH": "Ð",
"Eacut": "É",
"Eacute": "É",
"Ecaron": "Ě",
"Ecir": "Ê",
"Ecirc": "Ê",
"Ecy": "Э",
"Edot": "Ė",
"Efr": "𝔈",
"Egrav": "È",
"Egrave": "È",
"Element": "∈",
"Emacr": "Ē",
"EmptySmallSquare": "◻",
"EmptyVerySmallSquare": "▫",
"Eogon": "Ę",
"Eopf": "𝔼",
"Epsilon": "Ε",
"Equal": "⩵",
"EqualTilde": "≂",
"Equilibrium": "⇌",
"Escr": "",
"Esim": "⩳",
"Eta": "Η",
"Eum": "Ë",
"Euml": "Ë",
"Exists": "∃",
"ExponentialE": "",
"Fcy": "Ф",
"Ffr": "𝔉",
"FilledSmallSquare": "◼",
"FilledVerySmallSquare": "▪",
"Fopf": "𝔽",
"ForAll": "∀",
"Fouriertrf": "",
"Fscr": "",
"GJcy": "Ѓ",
"G": ">",
"GT": ">",
"Gamma": "Γ",
"Gammad": "Ϝ",
"Gbreve": "Ğ",
"Gcedil": "Ģ",
"Gcirc": "Ĝ",
"Gcy": "Г",
"Gdot": "Ġ",
"Gfr": "𝔊",
"Gg": "⋙",
"Gopf": "𝔾",
"GreaterEqual": "≥",
"GreaterEqualLess": "⋛",
"GreaterFullEqual": "≧",
"GreaterGreater": "⪢",
"GreaterLess": "≷",
"GreaterSlantEqual": "⩾",
"GreaterTilde": "≳",
"Gscr": "𝒢",
"Gt": "≫",
"HARDcy": "Ъ",
"Hacek": "ˇ",
"Hat": "^",
"Hcirc": "Ĥ",
"Hfr": "",
"HilbertSpace": "",
"Hopf": "",
"HorizontalLine": "─",
"Hscr": "",
"Hstrok": "Ħ",
"HumpDownHump": "≎",
"HumpEqual": "≏",
"IEcy": "Е",
"IJlig": "IJ",
"IOcy": "Ё",
"Iacut": "Í",
"Iacute": "Í",
"Icir": "Î",
"Icirc": "Î",
"Icy": "И",
"Idot": "İ",
"Ifr": "",
"Igrav": "Ì",
"Igrave": "Ì",
"Im": "",
"Imacr": "Ī",
"ImaginaryI": "",
"Implies": "⇒",
"Int": "∬",
"Integral": "∫",
"Intersection": "⋂",
"InvisibleComma": "",
"InvisibleTimes": "",
"Iogon": "Į",
"Iopf": "𝕀",
"Iota": "Ι",
"Iscr": "",
"Itilde": "Ĩ",
"Iukcy": "І",
"Ium": "Ï",
"Iuml": "Ï",
"Jcirc": "Ĵ",
"Jcy": "Й",
"Jfr": "𝔍",
"Jopf": "𝕁",
"Jscr": "𝒥",
"Jsercy": "Ј",
"Jukcy": "Є",
"KHcy": "Х",
"KJcy": "Ќ",
"Kappa": "Κ",
"Kcedil": "Ķ",
"Kcy": "К",
"Kfr": "𝔎",
"Kopf": "𝕂",
"Kscr": "𝒦",
"LJcy": "Љ",
"L": "<",
"LT": "<",
"Lacute": "Ĺ",
"Lambda": "Λ",
"Lang": "⟪",
"Laplacetrf": "",
"Larr": "↞",
"Lcaron": "Ľ",
"Lcedil": "Ļ",
"Lcy": "Л",
"LeftAngleBracket": "⟨",
"LeftArrow": "←",
"LeftArrowBar": "⇤",
"LeftArrowRightArrow": "⇆",
"LeftCeiling": "⌈",
"LeftDoubleBracket": "⟦",
"LeftDownTeeVector": "⥡",
"LeftDownVector": "⇃",
"LeftDownVectorBar": "⥙",
"LeftFloor": "⌊",
"LeftRightArrow": "↔",
"LeftRightVector": "⥎",
"LeftTee": "⊣",
"LeftTeeArrow": "↤",
"LeftTeeVector": "⥚",
"LeftTriangle": "⊲",
"LeftTriangleBar": "⧏",
"LeftTriangleEqual": "⊴",
"LeftUpDownVector": "⥑",
"LeftUpTeeVector": "⥠",
"LeftUpVector": "↿",
"LeftUpVectorBar": "⥘",
"LeftVector": "↼",
"LeftVectorBar": "⥒",
"Leftarrow": "⇐",
"Leftrightarrow": "⇔",
"LessEqualGreater": "⋚",
"LessFullEqual": "≦",
"LessGreater": "≶",
"LessLess": "⪡",
"LessSlantEqual": "⩽",
"LessTilde": "≲",
"Lfr": "𝔏",
"Ll": "⋘",
"Lleftarrow": "⇚",
"Lmidot": "Ŀ",
"LongLeftArrow": "⟵",
"LongLeftRightArrow": "⟷",
"LongRightArrow": "⟶",
"Longleftarrow": "⟸",
"Longleftrightarrow": "⟺",
"Longrightarrow": "⟹",
"Lopf": "𝕃",
"LowerLeftArrow": "↙",
"LowerRightArrow": "↘",
"Lscr": "",
"Lsh": "↰",
"Lstrok": "Ł",
"Lt": "≪",
"Map": "⤅",
"Mcy": "М",
"MediumSpace": "",
"Mellintrf": "",
"Mfr": "𝔐",
"MinusPlus": "∓",
"Mopf": "𝕄",
"Mscr": "",
"Mu": "Μ",
"NJcy": "Њ",
"Nacute": "Ń",
"Ncaron": "Ň",
"Ncedil": "Ņ",
"Ncy": "Н",
"NegativeMediumSpace": "",
"NegativeThickSpace": "",
"NegativeThinSpace": "",
"NegativeVeryThinSpace": "",
"NestedGreaterGreater": "≫",
"NestedLessLess": "≪",
"NewLine": "\n",
"Nfr": "𝔑",
"NoBreak": "",
"NonBreakingSpace": " ",
"Nopf": "",
"Not": "⫬",
"NotCongruent": "≢",
"NotCupCap": "≭",
"NotDoubleVerticalBar": "∦",
"NotElement": "∉",
"NotEqual": "≠",
"NotEqualTilde": "≂̸",
"NotExists": "∄",
"NotGreater": "≯",
"NotGreaterEqual": "≱",
"NotGreaterFullEqual": "≧̸",
"NotGreaterGreater": "≫̸",
"NotGreaterLess": "≹",
"NotGreaterSlantEqual": "⩾̸",
"NotGreaterTilde": "≵",
"NotHumpDownHump": "≎̸",
"NotHumpEqual": "≏̸",
"NotLeftTriangle": "⋪",
"NotLeftTriangleBar": "⧏̸",
"NotLeftTriangleEqual": "⋬",
"NotLess": "≮",
"NotLessEqual": "≰",
"NotLessGreater": "≸",
"NotLessLess": "≪̸",
"NotLessSlantEqual": "⩽̸",
"NotLessTilde": "≴",
"NotNestedGreaterGreater": "⪢̸",
"NotNestedLessLess": "⪡̸",
"NotPrecedes": "⊀",
"NotPrecedesEqual": "⪯̸",
"NotPrecedesSlantEqual": "⋠",
"NotReverseElement": "∌",
"NotRightTriangle": "⋫",
"NotRightTriangleBar": "⧐̸",
"NotRightTriangleEqual": "⋭",
"NotSquareSubset": "⊏̸",
"NotSquareSubsetEqual": "⋢",
"NotSquareSuperset": "⊐̸",
"NotSquareSupersetEqual": "⋣",
"NotSubset": "⊂⃒",
"NotSubsetEqual": "⊈",
"NotSucceeds": "⊁",
"NotSucceedsEqual": "⪰̸",
"NotSucceedsSlantEqual": "⋡",
"NotSucceedsTilde": "≿̸",
"NotSuperset": "⊃⃒",
"NotSupersetEqual": "⊉",
"NotTilde": "≁",
"NotTildeEqual": "≄",
"NotTildeFullEqual": "≇",
"NotTildeTilde": "≉",
"NotVerticalBar": "∤",
"Nscr": "𝒩",
"Ntild": "Ñ",
"Ntilde": "Ñ",
"Nu": "Ν",
"OElig": "Œ",
"Oacut": "Ó",
"Oacute": "Ó",
"Ocir": "Ô",
"Ocirc": "Ô",
"Ocy": "О",
"Odblac": "Ő",
"Ofr": "𝔒",
"Ograv": "Ò",
"Ograve": "Ò",
"Omacr": "Ō",
"Omega": "Ω",
"Omicron": "Ο",
"Oopf": "𝕆",
"OpenCurlyDoubleQuote": "“",
"OpenCurlyQuote": "",
"Or": "⩔",
"Oscr": "𝒪",
"Oslas": "Ø",
"Oslash": "Ø",
"Otild": "Õ",
"Otilde": "Õ",
"Otimes": "⨷",
"Oum": "Ö",
"Ouml": "Ö",
"OverBar": "‾",
"OverBrace": "⏞",
"OverBracket": "⎴",
"OverParenthesis": "⏜",
"PartialD": "∂",
"Pcy": "П",
"Pfr": "𝔓",
"Phi": "Φ",
"Pi": "Π",
"PlusMinus": "±",
"Poincareplane": "",
"Popf": "",
"Pr": "⪻",
"Precedes": "≺",
"PrecedesEqual": "⪯",
"PrecedesSlantEqual": "≼",
"PrecedesTilde": "≾",
"Prime": "″",
"Product": "∏",
"Proportion": "∷",
"Proportional": "∝",
"Pscr": "𝒫",
"Psi": "Ψ",
"QUO": "\"",
"QUOT": "\"",
"Qfr": "𝔔",
"Qopf": "",
"Qscr": "𝒬",
"RBarr": "⤐",
"RE": "®",
"REG": "®",
"Racute": "Ŕ",
"Rang": "⟫",
"Rarr": "↠",
"Rarrtl": "⤖",
"Rcaron": "Ř",
"Rcedil": "Ŗ",
"Rcy": "Р",
"Re": "",
"ReverseElement": "∋",
"ReverseEquilibrium": "⇋",
"ReverseUpEquilibrium": "⥯",
"Rfr": "",
"Rho": "Ρ",
"RightAngleBracket": "⟩",
"RightArrow": "→",
"RightArrowBar": "⇥",
"RightArrowLeftArrow": "⇄",
"RightCeiling": "⌉",
"RightDoubleBracket": "⟧",
"RightDownTeeVector": "⥝",
"RightDownVector": "⇂",
"RightDownVectorBar": "⥕",
"RightFloor": "⌋",
"RightTee": "⊢",
"RightTeeArrow": "↦",
"RightTeeVector": "⥛",
"RightTriangle": "⊳",
"RightTriangleBar": "⧐",
"RightTriangleEqual": "⊵",
"RightUpDownVector": "⥏",
"RightUpTeeVector": "⥜",
"RightUpVector": "↾",
"RightUpVectorBar": "⥔",
"RightVector": "⇀",
"RightVectorBar": "⥓",
"Rightarrow": "⇒",
"Ropf": "",
"RoundImplies": "⥰",
"Rrightarrow": "⇛",
"Rscr": "",
"Rsh": "↱",
"RuleDelayed": "⧴",
"SHCHcy": "Щ",
"SHcy": "Ш",
"SOFTcy": "Ь",
"Sacute": "Ś",
"Sc": "⪼",
"Scaron": "Š",
"Scedil": "Ş",
"Scirc": "Ŝ",
"Scy": "С",
"Sfr": "𝔖",
"ShortDownArrow": "↓",
"ShortLeftArrow": "←",
"ShortRightArrow": "→",
"ShortUpArrow": "↑",
"Sigma": "Σ",
"SmallCircle": "∘",
"Sopf": "𝕊",
"Sqrt": "√",
"Square": "□",
"SquareIntersection": "⊓",
"SquareSubset": "⊏",
"SquareSubsetEqual": "⊑",
"SquareSuperset": "⊐",
"SquareSupersetEqual": "⊒",
"SquareUnion": "⊔",
"Sscr": "𝒮",
"Star": "⋆",
"Sub": "⋐",
"Subset": "⋐",
"SubsetEqual": "⊆",
"Succeeds": "≻",
"SucceedsEqual": "⪰",
"SucceedsSlantEqual": "≽",
"SucceedsTilde": "≿",
"SuchThat": "∋",
"Sum": "∑",
"Sup": "⋑",
"Superset": "⊃",
"SupersetEqual": "⊇",
"Supset": "⋑",
"THOR": "Þ",
"THORN": "Þ",
"TRADE": "™",
"TSHcy": "Ћ",
"TScy": "Ц",
"Tab": "\t",
"Tau": "Τ",
"Tcaron": "Ť",
"Tcedil": "Ţ",
"Tcy": "Т",
"Tfr": "𝔗",
"Therefore": "∴",
"Theta": "Θ",
"ThickSpace": "",
"ThinSpace": "",
"Tilde": "",
"TildeEqual": "≃",
"TildeFullEqual": "≅",
"TildeTilde": "≈",
"Topf": "𝕋",
"TripleDot": "⃛",
"Tscr": "𝒯",
"Tstrok": "Ŧ",
"Uacut": "Ú",
"Uacute": "Ú",
"Uarr": "↟",
"Uarrocir": "⥉",
"Ubrcy": "Ў",
"Ubreve": "Ŭ",
"Ucir": "Û",
"Ucirc": "Û",
"Ucy": "У",
"Udblac": "Ű",
"Ufr": "𝔘",
"Ugrav": "Ù",
"Ugrave": "Ù",
"Umacr": "Ū",
"UnderBar": "_",
"UnderBrace": "⏟",
"UnderBracket": "⎵",
"UnderParenthesis": "⏝",
"Union": "",
"UnionPlus": "⊎",
"Uogon": "Ų",
"Uopf": "𝕌",
"UpArrow": "↑",
"UpArrowBar": "⤒",
"UpArrowDownArrow": "⇅",
"UpDownArrow": "↕",
"UpEquilibrium": "⥮",
"UpTee": "⊥",
"UpTeeArrow": "↥",
"Uparrow": "⇑",
"Updownarrow": "⇕",
"UpperLeftArrow": "↖",
"UpperRightArrow": "↗",
"Upsi": "ϒ",
"Upsilon": "Υ",
"Uring": "Ů",
"Uscr": "𝒰",
"Utilde": "Ũ",
"Uum": "Ü",
"Uuml": "Ü",
"VDash": "⊫",
"Vbar": "⫫",
"Vcy": "В",
"Vdash": "⊩",
"Vdashl": "⫦",
"Vee": "",
"Verbar": "‖",
"Vert": "‖",
"VerticalBar": "",
"VerticalLine": "|",
"VerticalSeparator": "❘",
"VerticalTilde": "≀",
"VeryThinSpace": "",
"Vfr": "𝔙",
"Vopf": "𝕍",
"Vscr": "𝒱",
"Vvdash": "⊪",
"Wcirc": "Ŵ",
"Wedge": "⋀",
"Wfr": "𝔚",
"Wopf": "𝕎",
"Wscr": "𝒲",
"Xfr": "𝔛",
"Xi": "Ξ",
"Xopf": "𝕏",
"Xscr": "𝒳",
"YAcy": "Я",
"YIcy": "Ї",
"YUcy": "Ю",
"Yacut": "Ý",
"Yacute": "Ý",
"Ycirc": "Ŷ",
"Ycy": "Ы",
"Yfr": "𝔜",
"Yopf": "𝕐",
"Yscr": "𝒴",
"Yuml": "Ÿ",
"ZHcy": "Ж",
"Zacute": "Ź",
"Zcaron": "Ž",
"Zcy": "З",
"Zdot": "Ż",
"ZeroWidthSpace": "",
"Zeta": "Ζ",
"Zfr": "",
"Zopf": "",
"Zscr": "𝒵",
"aacut": "á",
"aacute": "á",
"abreve": "ă",
"ac": "∾",
"acE": "∾̳",
"acd": "∿",
"acir": "â",
"acirc": "â",
"acut": "´",
"acute": "´",
"acy": "а",
"aeli": "æ",
"aelig": "æ",
"af": "",
"afr": "𝔞",
"agrav": "à",
"agrave": "à",
"alefsym": "ℵ",
"aleph": "ℵ",
"alpha": "α",
"amacr": "ā",
"amalg": "⨿",
"am": "&",
"amp": "&",
"and": "∧",
"andand": "⩕",
"andd": "⩜",
"andslope": "⩘",
"andv": "⩚",
"ang": "∠",
"ange": "⦤",
"angle": "∠",
"angmsd": "∡",
"angmsdaa": "⦨",
"angmsdab": "⦩",
"angmsdac": "⦪",
"angmsdad": "⦫",
"angmsdae": "⦬",
"angmsdaf": "⦭",
"angmsdag": "⦮",
"angmsdah": "⦯",
"angrt": "∟",
"angrtvb": "⊾",
"angrtvbd": "⦝",
"angsph": "∢",
"angst": "Å",
"angzarr": "⍼",
"aogon": "ą",
"aopf": "𝕒",
"ap": "≈",
"apE": "⩰",
"apacir": "⩯",
"ape": "≊",
"apid": "≋",
"apos": "'",
"approx": "≈",
"approxeq": "≊",
"arin": "å",
"aring": "å",
"ascr": "𝒶",
"ast": "*",
"asymp": "≈",
"asympeq": "≍",
"atild": "ã",
"atilde": "ã",
"aum": "ä",
"auml": "ä",
"awconint": "∳",
"awint": "⨑",
"bNot": "⫭",
"backcong": "≌",
"backepsilon": "϶",
"backprime": "",
"backsim": "∽",
"backsimeq": "⋍",
"barvee": "⊽",
"barwed": "⌅",
"barwedge": "⌅",
"bbrk": "⎵",
"bbrktbrk": "⎶",
"bcong": "≌",
"bcy": "б",
"bdquo": "„",
"becaus": "∵",
"because": "∵",
"bemptyv": "⦰",
"bepsi": "϶",
"bernou": "",
"beta": "β",
"beth": "ℶ",
"between": "≬",
"bfr": "𝔟",
"bigcap": "⋂",
"bigcirc": "◯",
"bigcup": "",
"bigodot": "⨀",
"bigoplus": "⨁",
"bigotimes": "⨂",
"bigsqcup": "⨆",
"bigstar": "★",
"bigtriangledown": "▽",
"bigtriangleup": "△",
"biguplus": "⨄",
"bigvee": "",
"bigwedge": "⋀",
"bkarow": "⤍",
"blacklozenge": "⧫",
"blacksquare": "▪",
"blacktriangle": "▴",
"blacktriangledown": "▾",
"blacktriangleleft": "◂",
"blacktriangleright": "▸",
"blank": "␣",
"blk12": "▒",
"blk14": "░",
"blk34": "▓",
"block": "█",
"bne": "=⃥",
"bnequiv": "≡⃥",
"bnot": "⌐",
"bopf": "𝕓",
"bot": "⊥",
"bottom": "⊥",
"bowtie": "⋈",
"boxDL": "╗",
"boxDR": "╔",
"boxDl": "╖",
"boxDr": "╓",
"boxH": "═",
"boxHD": "╦",
"boxHU": "╩",
"boxHd": "╤",
"boxHu": "╧",
"boxUL": "╝",
"boxUR": "╚",
"boxUl": "╜",
"boxUr": "╙",
"boxV": "║",
"boxVH": "╬",
"boxVL": "╣",
"boxVR": "╠",
"boxVh": "╫",
"boxVl": "╢",
"boxVr": "╟",
"boxbox": "⧉",
"boxdL": "╕",
"boxdR": "╒",
"boxdl": "┐",
"boxdr": "┌",
"boxh": "─",
"boxhD": "╥",
"boxhU": "╨",
"boxhd": "┬",
"boxhu": "┴",
"boxminus": "⊟",
"boxplus": "⊞",
"boxtimes": "⊠",
"boxuL": "╛",
"boxuR": "╘",
"boxul": "┘",
"boxur": "└",
"boxv": "│",
"boxvH": "╪",
"boxvL": "╡",
"boxvR": "╞",
"boxvh": "┼",
"boxvl": "┤",
"boxvr": "├",
"bprime": "",
"breve": "˘",
"brvba": "¦",
"brvbar": "¦",
"bscr": "𝒷",
"bsemi": "⁏",
"bsim": "∽",
"bsime": "⋍",
"bsol": "\\",
"bsolb": "⧅",
"bsolhsub": "⟈",
"bull": "•",
"bullet": "•",
"bump": "≎",
"bumpE": "⪮",
"bumpe": "≏",
"bumpeq": "≏",
"cacute": "ć",
"cap": "∩",
"capand": "⩄",
"capbrcup": "⩉",
"capcap": "⩋",
"capcup": "⩇",
"capdot": "⩀",
"caps": "∩︀",
"caret": "",
"caron": "ˇ",
"ccaps": "⩍",
"ccaron": "č",
"ccedi": "ç",
"ccedil": "ç",
"ccirc": "ĉ",
"ccups": "⩌",
"ccupssm": "⩐",
"cdot": "ċ",
"cedi": "¸",
"cedil": "¸",
"cemptyv": "⦲",
"cen": "¢",
"cent": "¢",
"centerdot": "·",
"cfr": "𝔠",
"chcy": "ч",
"check": "✓",
"checkmark": "✓",
"chi": "χ",
"cir": "○",
"cirE": "⧃",
"circ": "ˆ",
"circeq": "≗",
"circlearrowleft": "↺",
"circlearrowright": "↻",
"circledR": "®",
"circledS": "Ⓢ",
"circledast": "⊛",
"circledcirc": "⊚",
"circleddash": "⊝",
"cire": "≗",
"cirfnint": "⨐",
"cirmid": "⫯",
"cirscir": "⧂",
"clubs": "♣",
"clubsuit": "♣",
"colon": ":",
"colone": "≔",
"coloneq": "≔",
"comma": ",",
"commat": "@",
"comp": "∁",
"compfn": "∘",
"complement": "∁",
"complexes": "",
"cong": "≅",
"congdot": "⩭",
"conint": "∮",
"copf": "𝕔",
"coprod": "∐",
"cop": "©",
"copy": "©",
"copysr": "℗",
"crarr": "↵",
"cross": "✗",
"cscr": "𝒸",
"csub": "⫏",
"csube": "⫑",
"csup": "⫐",
"csupe": "⫒",
"ctdot": "⋯",
"cudarrl": "⤸",
"cudarrr": "⤵",
"cuepr": "⋞",
"cuesc": "⋟",
"cularr": "↶",
"cularrp": "⤽",
"cup": "",
"cupbrcap": "⩈",
"cupcap": "⩆",
"cupcup": "⩊",
"cupdot": "⊍",
"cupor": "⩅",
"cups": "",
"curarr": "↷",
"curarrm": "⤼",
"curlyeqprec": "⋞",
"curlyeqsucc": "⋟",
"curlyvee": "⋎",
"curlywedge": "⋏",
"curre": "¤",
"curren": "¤",
"curvearrowleft": "↶",
"curvearrowright": "↷",
"cuvee": "⋎",
"cuwed": "⋏",
"cwconint": "∲",
"cwint": "∱",
"cylcty": "⌭",
"dArr": "⇓",
"dHar": "⥥",
"dagger": "†",
"daleth": "ℸ",
"darr": "↓",
"dash": "",
"dashv": "⊣",
"dbkarow": "⤏",
"dblac": "˝",
"dcaron": "ď",
"dcy": "д",
"dd": "",
"ddagger": "‡",
"ddarr": "⇊",
"ddotseq": "⩷",
"de": "°",
"deg": "°",
"delta": "δ",
"demptyv": "⦱",
"dfisht": "⥿",
"dfr": "𝔡",
"dharl": "⇃",
"dharr": "⇂",
"diam": "⋄",
"diamond": "⋄",
"diamondsuit": "♦",
"diams": "♦",
"die": "¨",
"digamma": "ϝ",
"disin": "⋲",
"div": "÷",
"divid": "÷",
"divide": "÷",
"divideontimes": "⋇",
"divonx": "⋇",
"djcy": "ђ",
"dlcorn": "⌞",
"dlcrop": "⌍",
"dollar": "$",
"dopf": "𝕕",
"dot": "˙",
"doteq": "≐",
"doteqdot": "≑",
"dotminus": "∸",
"dotplus": "∔",
"dotsquare": "⊡",
"doublebarwedge": "⌆",
"downarrow": "↓",
"downdownarrows": "⇊",
"downharpoonleft": "⇃",
"downharpoonright": "⇂",
"drbkarow": "⤐",
"drcorn": "⌟",
"drcrop": "⌌",
"dscr": "𝒹",
"dscy": "ѕ",
"dsol": "⧶",
"dstrok": "đ",
"dtdot": "⋱",
"dtri": "▿",
"dtrif": "▾",
"duarr": "⇵",
"duhar": "⥯",
"dwangle": "⦦",
"dzcy": "џ",
"dzigrarr": "⟿",
"eDDot": "⩷",
"eDot": "≑",
"eacut": "é",
"eacute": "é",
"easter": "⩮",
"ecaron": "ě",
"ecir": "ê",
"ecirc": "ê",
"ecolon": "≕",
"ecy": "э",
"edot": "ė",
"ee": "",
"efDot": "≒",
"efr": "𝔢",
"eg": "⪚",
"egrav": "è",
"egrave": "è",
"egs": "⪖",
"egsdot": "⪘",
"el": "⪙",
"elinters": "⏧",
"ell": "",
"els": "⪕",
"elsdot": "⪗",
"emacr": "ē",
"empty": "∅",
"emptyset": "∅",
"emptyv": "∅",
"emsp13": "",
"emsp14": "",
"emsp": "",
"eng": "ŋ",
"ensp": "",
"eogon": "ę",
"eopf": "𝕖",
"epar": "⋕",
"eparsl": "⧣",
"eplus": "⩱",
"epsi": "ε",
"epsilon": "ε",
"epsiv": "ϵ",
"eqcirc": "≖",
"eqcolon": "≕",
"eqsim": "≂",
"eqslantgtr": "⪖",
"eqslantless": "⪕",
"equals": "=",
"equest": "≟",
"equiv": "≡",
"equivDD": "⩸",
"eqvparsl": "⧥",
"erDot": "≓",
"erarr": "⥱",
"escr": "",
"esdot": "≐",
"esim": "≂",
"eta": "η",
"et": "ð",
"eth": "ð",
"eum": "ë",
"euml": "ë",
"euro": "€",
"excl": "!",
"exist": "∃",
"expectation": "",
"exponentiale": "",
"fallingdotseq": "≒",
"fcy": "ф",
"female": "♀",
"ffilig": "ffi",
"fflig": "ff",
"ffllig": "ffl",
"ffr": "𝔣",
"filig": "fi",
"fjlig": "fj",
"flat": "♭",
"fllig": "fl",
"fltns": "▱",
"fnof": "ƒ",
"fopf": "𝕗",
"forall": "∀",
"fork": "⋔",
"forkv": "⫙",
"fpartint": "⨍",
"frac1": "¼",
"frac12": "½",
"frac13": "⅓",
"frac14": "¼",
"frac15": "⅕",
"frac16": "⅙",
"frac18": "⅛",
"frac23": "⅔",
"frac25": "⅖",
"frac3": "¾",
"frac34": "¾",
"frac35": "⅗",
"frac38": "⅜",
"frac45": "⅘",
"frac56": "⅚",
"frac58": "⅝",
"frac78": "⅞",
"frasl": "",
"frown": "⌢",
"fscr": "𝒻",
"gE": "≧",
"gEl": "⪌",
"gacute": "ǵ",
"gamma": "γ",
"gammad": "ϝ",
"gap": "⪆",
"gbreve": "ğ",
"gcirc": "ĝ",
"gcy": "г",
"gdot": "ġ",
"ge": "≥",
"gel": "⋛",
"geq": "≥",
"geqq": "≧",
"geqslant": "⩾",
"ges": "⩾",
"gescc": "⪩",
"gesdot": "⪀",
"gesdoto": "⪂",
"gesdotol": "⪄",
"gesl": "⋛︀",
"gesles": "⪔",
"gfr": "𝔤",
"gg": "≫",
"ggg": "⋙",
"gimel": "ℷ",
"gjcy": "ѓ",
"gl": "≷",
"glE": "⪒",
"gla": "⪥",
"glj": "⪤",
"gnE": "≩",
"gnap": "⪊",
"gnapprox": "⪊",
"gne": "⪈",
"gneq": "⪈",
"gneqq": "≩",
"gnsim": "⋧",
"gopf": "𝕘",
"grave": "`",
"gscr": "",
"gsim": "≳",
"gsime": "⪎",
"gsiml": "⪐",
"g": ">",
"gt": ">",
"gtcc": "⪧",
"gtcir": "⩺",
"gtdot": "⋗",
"gtlPar": "⦕",
"gtquest": "⩼",
"gtrapprox": "⪆",
"gtrarr": "⥸",
"gtrdot": "⋗",
"gtreqless": "⋛",
"gtreqqless": "⪌",
"gtrless": "≷",
"gtrsim": "≳",
"gvertneqq": "≩︀",
"gvnE": "≩︀",
"hArr": "⇔",
"hairsp": "",
"half": "½",
"hamilt": "",
"hardcy": "ъ",
"harr": "↔",
"harrcir": "⥈",
"harrw": "↭",
"hbar": "ℏ",
"hcirc": "ĥ",
"hearts": "♥",
"heartsuit": "♥",
"hellip": "…",
"hercon": "⊹",
"hfr": "𝔥",
"hksearow": "⤥",
"hkswarow": "⤦",
"hoarr": "⇿",
"homtht": "∻",
"hookleftarrow": "↩",
"hookrightarrow": "↪",
"hopf": "𝕙",
"horbar": "―",
"hscr": "𝒽",
"hslash": "ℏ",
"hstrok": "ħ",
"hybull": "",
"hyphen": "",
"iacut": "í",
"iacute": "í",
"ic": "",
"icir": "î",
"icirc": "î",
"icy": "и",
"iecy": "е",
"iexc": "¡",
"iexcl": "¡",
"iff": "⇔",
"ifr": "𝔦",
"igrav": "ì",
"igrave": "ì",
"ii": "",
"iiiint": "⨌",
"iiint": "∭",
"iinfin": "⧜",
"iiota": "℩",
"ijlig": "ij",
"imacr": "ī",
"image": "",
"imagline": "",
"imagpart": "",
"imath": "ı",
"imof": "⊷",
"imped": "Ƶ",
"in": "∈",
"incare": "℅",
"infin": "∞",
"infintie": "⧝",
"inodot": "ı",
"int": "∫",
"intcal": "⊺",
"integers": "",
"intercal": "⊺",
"intlarhk": "⨗",
"intprod": "⨼",
"iocy": "ё",
"iogon": "į",
"iopf": "𝕚",
"iota": "ι",
"iprod": "⨼",
"iques": "¿",
"iquest": "¿",
"iscr": "𝒾",
"isin": "∈",
"isinE": "⋹",
"isindot": "⋵",
"isins": "⋴",
"isinsv": "⋳",
"isinv": "∈",
"it": "",
"itilde": "ĩ",
"iukcy": "і",
"ium": "ï",
"iuml": "ï",
"jcirc": "ĵ",
"jcy": "й",
"jfr": "𝔧",
"jmath": "ȷ",
"jopf": "𝕛",
"jscr": "𝒿",
"jsercy": "ј",
"jukcy": "є",
"kappa": "κ",
"kappav": "ϰ",
"kcedil": "ķ",
"kcy": "к",
"kfr": "𝔨",
"kgreen": "ĸ",
"khcy": "х",
"kjcy": "ќ",
"kopf": "𝕜",
"kscr": "𝓀",
"lAarr": "⇚",
"lArr": "⇐",
"lAtail": "⤛",
"lBarr": "⤎",
"lE": "≦",
"lEg": "⪋",
"lHar": "⥢",
"lacute": "ĺ",
"laemptyv": "⦴",
"lagran": "",
"lambda": "λ",
"lang": "⟨",
"langd": "⦑",
"langle": "⟨",
"lap": "⪅",
"laqu": "«",
"laquo": "«",
"larr": "←",
"larrb": "⇤",
"larrbfs": "⤟",
"larrfs": "⤝",
"larrhk": "↩",
"larrlp": "↫",
"larrpl": "⤹",
"larrsim": "⥳",
"larrtl": "↢",
"lat": "⪫",
"latail": "⤙",
"late": "⪭",
"lates": "⪭︀",
"lbarr": "⤌",
"lbbrk": "",
"lbrace": "{",
"lbrack": "[",
"lbrke": "⦋",
"lbrksld": "⦏",
"lbrkslu": "⦍",
"lcaron": "ľ",
"lcedil": "ļ",
"lceil": "⌈",
"lcub": "{",
"lcy": "л",
"ldca": "⤶",
"ldquo": "“",
"ldquor": "„",
"ldrdhar": "⥧",
"ldrushar": "⥋",
"ldsh": "↲",
"le": "≤",
"leftarrow": "←",
"leftarrowtail": "↢",
"leftharpoondown": "↽",
"leftharpoonup": "↼",
"leftleftarrows": "⇇",
"leftrightarrow": "↔",
"leftrightarrows": "⇆",
"leftrightharpoons": "⇋",
"leftrightsquigarrow": "↭",
"leftthreetimes": "⋋",
"leg": "⋚",
"leq": "≤",
"leqq": "≦",
"leqslant": "⩽",
"les": "⩽",
"lescc": "⪨",
"lesdot": "⩿",
"lesdoto": "⪁",
"lesdotor": "⪃",
"lesg": "⋚︀",
"lesges": "⪓",
"lessapprox": "⪅",
"lessdot": "⋖",
"lesseqgtr": "⋚",
"lesseqqgtr": "⪋",
"lessgtr": "≶",
"lesssim": "≲",
"lfisht": "⥼",
"lfloor": "⌊",
"lfr": "𝔩",
"lg": "≶",
"lgE": "⪑",
"lhard": "↽",
"lharu": "↼",
"lharul": "⥪",
"lhblk": "▄",
"ljcy": "љ",
"ll": "≪",
"llarr": "⇇",
"llcorner": "⌞",
"llhard": "⥫",
"lltri": "◺",
"lmidot": "ŀ",
"lmoust": "⎰",
"lmoustache": "⎰",
"lnE": "≨",
"lnap": "⪉",
"lnapprox": "⪉",
"lne": "⪇",
"lneq": "⪇",
"lneqq": "≨",
"lnsim": "⋦",
"loang": "⟬",
"loarr": "⇽",
"lobrk": "⟦",
"longleftarrow": "⟵",
"longleftrightarrow": "⟷",
"longmapsto": "⟼",
"longrightarrow": "⟶",
"looparrowleft": "↫",
"looparrowright": "↬",
"lopar": "⦅",
"lopf": "𝕝",
"loplus": "⨭",
"lotimes": "⨴",
"lowast": "",
"lowbar": "_",
"loz": "◊",
"lozenge": "◊",
"lozf": "⧫",
"lpar": "(",
"lparlt": "⦓",
"lrarr": "⇆",
"lrcorner": "⌟",
"lrhar": "⇋",
"lrhard": "⥭",
"lrm": "",
"lrtri": "⊿",
"lsaquo": "",
"lscr": "𝓁",
"lsh": "↰",
"lsim": "≲",
"lsime": "⪍",
"lsimg": "⪏",
"lsqb": "[",
"lsquo": "",
"lsquor": "",
"lstrok": "ł",
"l": "<",
"lt": "<",
"ltcc": "⪦",
"ltcir": "⩹",
"ltdot": "⋖",
"lthree": "⋋",
"ltimes": "⋉",
"ltlarr": "⥶",
"ltquest": "⩻",
"ltrPar": "⦖",
"ltri": "◃",
"ltrie": "⊴",
"ltrif": "◂",
"lurdshar": "⥊",
"luruhar": "⥦",
"lvertneqq": "≨︀",
"lvnE": "≨︀",
"mDDot": "∺",
"mac": "¯",
"macr": "¯",
"male": "♂",
"malt": "✠",
"maltese": "✠",
"map": "↦",
"mapsto": "↦",
"mapstodown": "↧",
"mapstoleft": "↤",
"mapstoup": "↥",
"marker": "▮",
"mcomma": "⨩",
"mcy": "м",
"mdash": "—",
"measuredangle": "∡",
"mfr": "𝔪",
"mho": "℧",
"micr": "µ",
"micro": "µ",
"mid": "",
"midast": "*",
"midcir": "⫰",
"middo": "·",
"middot": "·",
"minus": "",
"minusb": "⊟",
"minusd": "∸",
"minusdu": "⨪",
"mlcp": "⫛",
"mldr": "…",
"mnplus": "∓",
"models": "⊧",
"mopf": "𝕞",
"mp": "∓",
"mscr": "𝓂",
"mstpos": "∾",
"mu": "μ",
"multimap": "⊸",
"mumap": "⊸",
"nGg": "⋙̸",
"nGt": "≫⃒",
"nGtv": "≫̸",
"nLeftarrow": "⇍",
"nLeftrightarrow": "⇎",
"nLl": "⋘̸",
"nLt": "≪⃒",
"nLtv": "≪̸",
"nRightarrow": "⇏",
"nVDash": "⊯",
"nVdash": "⊮",
"nabla": "∇",
"nacute": "ń",
"nang": "∠⃒",
"nap": "≉",
"napE": "⩰̸",
"napid": "≋̸",
"napos": "ʼn",
"napprox": "≉",
"natur": "♮",
"natural": "♮",
"naturals": "",
"nbs": " ",
"nbsp": " ",
"nbump": "≎̸",
"nbumpe": "≏̸",
"ncap": "⩃",
"ncaron": "ň",
"ncedil": "ņ",
"ncong": "≇",
"ncongdot": "⩭̸",
"ncup": "⩂",
"ncy": "н",
"ndash": "",
"ne": "≠",
"neArr": "⇗",
"nearhk": "⤤",
"nearr": "↗",
"nearrow": "↗",
"nedot": "≐̸",
"nequiv": "≢",
"nesear": "⤨",
"nesim": "≂̸",
"nexist": "∄",
"nexists": "∄",
"nfr": "𝔫",
"ngE": "≧̸",
"nge": "≱",
"ngeq": "≱",
"ngeqq": "≧̸",
"ngeqslant": "⩾̸",
"nges": "⩾̸",
"ngsim": "≵",
"ngt": "≯",
"ngtr": "≯",
"nhArr": "⇎",
"nharr": "↮",
"nhpar": "⫲",
"ni": "∋",
"nis": "⋼",
"nisd": "⋺",
"niv": "∋",
"njcy": "њ",
"nlArr": "⇍",
"nlE": "≦̸",
"nlarr": "↚",
"nldr": "‥",
"nle": "≰",
"nleftarrow": "↚",
"nleftrightarrow": "↮",
"nleq": "≰",
"nleqq": "≦̸",
"nleqslant": "⩽̸",
"nles": "⩽̸",
"nless": "≮",
"nlsim": "≴",
"nlt": "≮",
"nltri": "⋪",
"nltrie": "⋬",
"nmid": "∤",
"nopf": "𝕟",
"no": "¬",
"not": "¬",
"notin": "∉",
"notinE": "⋹̸",
"notindot": "⋵̸",
"notinva": "∉",
"notinvb": "⋷",
"notinvc": "⋶",
"notni": "∌",
"notniva": "∌",
"notnivb": "⋾",
"notnivc": "⋽",
"npar": "∦",
"nparallel": "∦",
"nparsl": "⫽⃥",
"npart": "∂̸",
"npolint": "⨔",
"npr": "⊀",
"nprcue": "⋠",
"npre": "⪯̸",
"nprec": "⊀",
"npreceq": "⪯̸",
"nrArr": "⇏",
"nrarr": "↛",
"nrarrc": "⤳̸",
"nrarrw": "↝̸",
"nrightarrow": "↛",
"nrtri": "⋫",
"nrtrie": "⋭",
"nsc": "⊁",
"nsccue": "⋡",
"nsce": "⪰̸",
"nscr": "𝓃",
"nshortmid": "∤",
"nshortparallel": "∦",
"nsim": "≁",
"nsime": "≄",
"nsimeq": "≄",
"nsmid": "∤",
"nspar": "∦",
"nsqsube": "⋢",
"nsqsupe": "⋣",
"nsub": "⊄",
"nsubE": "⫅̸",
"nsube": "⊈",
"nsubset": "⊂⃒",
"nsubseteq": "⊈",
"nsubseteqq": "⫅̸",
"nsucc": "⊁",
"nsucceq": "⪰̸",
"nsup": "⊅",
"nsupE": "⫆̸",
"nsupe": "⊉",
"nsupset": "⊃⃒",
"nsupseteq": "⊉",
"nsupseteqq": "⫆̸",
"ntgl": "≹",
"ntild": "ñ",
"ntilde": "ñ",
"ntlg": "≸",
"ntriangleleft": "⋪",
"ntrianglelefteq": "⋬",
"ntriangleright": "⋫",
"ntrianglerighteq": "⋭",
"nu": "ν",
"num": "#",
"numero": "№",
"numsp": "",
"nvDash": "⊭",
"nvHarr": "⤄",
"nvap": "≍⃒",
"nvdash": "⊬",
"nvge": "≥⃒",
"nvgt": ">⃒",
"nvinfin": "⧞",
"nvlArr": "⤂",
"nvle": "≤⃒",
"nvlt": "<⃒",
"nvltrie": "⊴⃒",
"nvrArr": "⤃",
"nvrtrie": "⊵⃒",
"nvsim": "∼⃒",
"nwArr": "⇖",
"nwarhk": "⤣",
"nwarr": "↖",
"nwarrow": "↖",
"nwnear": "⤧",
"oS": "Ⓢ",
"oacut": "ó",
"oacute": "ó",
"oast": "⊛",
"ocir": "ô",
"ocirc": "ô",
"ocy": "о",
"odash": "⊝",
"odblac": "ő",
"odiv": "⨸",
"odot": "⊙",
"odsold": "⦼",
"oelig": "œ",
"ofcir": "⦿",
"ofr": "𝔬",
"ogon": "˛",
"ograv": "ò",
"ograve": "ò",
"ogt": "⧁",
"ohbar": "⦵",
"ohm": "Ω",
"oint": "∮",
"olarr": "↺",
"olcir": "⦾",
"olcross": "⦻",
"oline": "‾",
"olt": "⧀",
"omacr": "ō",
"omega": "ω",
"omicron": "ο",
"omid": "⦶",
"ominus": "⊖",
"oopf": "𝕠",
"opar": "⦷",
"operp": "⦹",
"oplus": "⊕",
"or": "",
"orarr": "↻",
"ord": "º",
"order": "",
"orderof": "",
"ordf": "ª",
"ordm": "º",
"origof": "⊶",
"oror": "⩖",
"orslope": "⩗",
"orv": "⩛",
"oscr": "",
"oslas": "ø",
"oslash": "ø",
"osol": "⊘",
"otild": "õ",
"otilde": "õ",
"otimes": "⊗",
"otimesas": "⨶",
"oum": "ö",
"ouml": "ö",
"ovbar": "⌽",
"par": "¶",
"para": "¶",
"parallel": "∥",
"parsim": "⫳",
"parsl": "⫽",
"part": "∂",
"pcy": "п",
"percnt": "%",
"period": ".",
"permil": "‰",
"perp": "⊥",
"pertenk": "‱",
"pfr": "𝔭",
"phi": "φ",
"phiv": "ϕ",
"phmmat": "",
"phone": "☎",
"pi": "π",
"pitchfork": "⋔",
"piv": "ϖ",
"planck": "ℏ",
"planckh": "",
"plankv": "ℏ",
"plus": "+",
"plusacir": "⨣",
"plusb": "⊞",
"pluscir": "⨢",
"plusdo": "∔",
"plusdu": "⨥",
"pluse": "⩲",
"plusm": "±",
"plusmn": "±",
"plussim": "⨦",
"plustwo": "⨧",
"pm": "±",
"pointint": "⨕",
"popf": "𝕡",
"poun": "£",
"pound": "£",
"pr": "≺",
"prE": "⪳",
"prap": "⪷",
"prcue": "≼",
"pre": "⪯",
"prec": "≺",
"precapprox": "⪷",
"preccurlyeq": "≼",
"preceq": "⪯",
"precnapprox": "⪹",
"precneqq": "⪵",
"precnsim": "⋨",
"precsim": "≾",
"prime": "",
"primes": "",
"prnE": "⪵",
"prnap": "⪹",
"prnsim": "⋨",
"prod": "∏",
"profalar": "⌮",
"profline": "⌒",
"profsurf": "⌓",
"prop": "∝",
"propto": "∝",
"prsim": "≾",
"prurel": "⊰",
"pscr": "𝓅",
"psi": "ψ",
"puncsp": "",
"qfr": "𝔮",
"qint": "⨌",
"qopf": "𝕢",
"qprime": "⁗",
"qscr": "𝓆",
"quaternions": "",
"quatint": "⨖",
"quest": "?",
"questeq": "≟",
"quo": "\"",
"quot": "\"",
"rAarr": "⇛",
"rArr": "⇒",
"rAtail": "⤜",
"rBarr": "⤏",
"rHar": "⥤",
"race": "∽̱",
"racute": "ŕ",
"radic": "√",
"raemptyv": "⦳",
"rang": "⟩",
"rangd": "⦒",
"range": "⦥",
"rangle": "⟩",
"raqu": "»",
"raquo": "»",
"rarr": "→",
"rarrap": "⥵",
"rarrb": "⇥",
"rarrbfs": "⤠",
"rarrc": "⤳",
"rarrfs": "⤞",
"rarrhk": "↪",
"rarrlp": "↬",
"rarrpl": "⥅",
"rarrsim": "⥴",
"rarrtl": "↣",
"rarrw": "↝",
"ratail": "⤚",
"ratio": "",
"rationals": "",
"rbarr": "⤍",
"rbbrk": "",
"rbrace": "}",
"rbrack": "]",
"rbrke": "⦌",
"rbrksld": "⦎",
"rbrkslu": "⦐",
"rcaron": "ř",
"rcedil": "ŗ",
"rceil": "⌉",
"rcub": "}",
"rcy": "р",
"rdca": "⤷",
"rdldhar": "⥩",
"rdquo": "”",
"rdquor": "”",
"rdsh": "↳",
"real": "",
"realine": "",
"realpart": "",
"reals": "",
"rect": "▭",
"re": "®",
"reg": "®",
"rfisht": "⥽",
"rfloor": "⌋",
"rfr": "𝔯",
"rhard": "⇁",
"rharu": "⇀",
"rharul": "⥬",
"rho": "ρ",
"rhov": "ϱ",
"rightarrow": "→",
"rightarrowtail": "↣",
"rightharpoondown": "⇁",
"rightharpoonup": "⇀",
"rightleftarrows": "⇄",
"rightleftharpoons": "⇌",
"rightrightarrows": "⇉",
"rightsquigarrow": "↝",
"rightthreetimes": "⋌",
"ring": "˚",
"risingdotseq": "≓",
"rlarr": "⇄",
"rlhar": "⇌",
"rlm": "",
"rmoust": "⎱",
"rmoustache": "⎱",
"rnmid": "⫮",
"roang": "⟭",
"roarr": "⇾",
"robrk": "⟧",
"ropar": "⦆",
"ropf": "𝕣",
"roplus": "⨮",
"rotimes": "⨵",
"rpar": ")",
"rpargt": "⦔",
"rppolint": "⨒",
"rrarr": "⇉",
"rsaquo": "",
"rscr": "𝓇",
"rsh": "↱",
"rsqb": "]",
"rsquo": "",
"rsquor": "",
"rthree": "⋌",
"rtimes": "⋊",
"rtri": "▹",
"rtrie": "⊵",
"rtrif": "▸",
"rtriltri": "⧎",
"ruluhar": "⥨",
"rx": "℞",
"sacute": "ś",
"sbquo": "",
"sc": "≻",
"scE": "⪴",
"scap": "⪸",
"scaron": "š",
"sccue": "≽",
"sce": "⪰",
"scedil": "ş",
"scirc": "ŝ",
"scnE": "⪶",
"scnap": "⪺",
"scnsim": "⋩",
"scpolint": "⨓",
"scsim": "≿",
"scy": "с",
"sdot": "⋅",
"sdotb": "⊡",
"sdote": "⩦",
"seArr": "⇘",
"searhk": "⤥",
"searr": "↘",
"searrow": "↘",
"sec": "§",
"sect": "§",
"semi": ";",
"seswar": "⤩",
"setminus": "",
"setmn": "",
"sext": "✶",
"sfr": "𝔰",
"sfrown": "⌢",
"sharp": "♯",
"shchcy": "щ",
"shcy": "ш",
"shortmid": "",
"shortparallel": "∥",
"sh": "­",
"shy": "­",
"sigma": "σ",
"sigmaf": "ς",
"sigmav": "ς",
"sim": "",
"simdot": "⩪",
"sime": "≃",
"simeq": "≃",
"simg": "⪞",
"simgE": "⪠",
"siml": "⪝",
"simlE": "⪟",
"simne": "≆",
"simplus": "⨤",
"simrarr": "⥲",
"slarr": "←",
"smallsetminus": "",
"smashp": "⨳",
"smeparsl": "⧤",
"smid": "",
"smile": "⌣",
"smt": "⪪",
"smte": "⪬",
"smtes": "⪬︀",
"softcy": "ь",
"sol": "/",
"solb": "⧄",
"solbar": "⌿",
"sopf": "𝕤",
"spades": "♠",
"spadesuit": "♠",
"spar": "∥",
"sqcap": "⊓",
"sqcaps": "⊓︀",
"sqcup": "⊔",
"sqcups": "⊔︀",
"sqsub": "⊏",
"sqsube": "⊑",
"sqsubset": "⊏",
"sqsubseteq": "⊑",
"sqsup": "⊐",
"sqsupe": "⊒",
"sqsupset": "⊐",
"sqsupseteq": "⊒",
"squ": "□",
"square": "□",
"squarf": "▪",
"squf": "▪",
"srarr": "→",
"sscr": "𝓈",
"ssetmn": "",
"ssmile": "⌣",
"sstarf": "⋆",
"star": "☆",
"starf": "★",
"straightepsilon": "ϵ",
"straightphi": "ϕ",
"strns": "¯",
"sub": "⊂",
"subE": "⫅",
"subdot": "⪽",
"sube": "⊆",
"subedot": "⫃",
"submult": "⫁",
"subnE": "⫋",
"subne": "⊊",
"subplus": "⪿",
"subrarr": "⥹",
"subset": "⊂",
"subseteq": "⊆",
"subseteqq": "⫅",
"subsetneq": "⊊",
"subsetneqq": "⫋",
"subsim": "⫇",
"subsub": "⫕",
"subsup": "⫓",
"succ": "≻",
"succapprox": "⪸",
"succcurlyeq": "≽",
"succeq": "⪰",
"succnapprox": "⪺",
"succneqq": "⪶",
"succnsim": "⋩",
"succsim": "≿",
"sum": "∑",
"sung": "♪",
"sup": "⊃",
"sup1": "¹",
"sup2": "²",
"sup3": "³",
"supE": "⫆",
"supdot": "⪾",
"supdsub": "⫘",
"supe": "⊇",
"supedot": "⫄",
"suphsol": "⟉",
"suphsub": "⫗",
"suplarr": "⥻",
"supmult": "⫂",
"supnE": "⫌",
"supne": "⊋",
"supplus": "⫀",
"supset": "⊃",
"supseteq": "⊇",
"supseteqq": "⫆",
"supsetneq": "⊋",
"supsetneqq": "⫌",
"supsim": "⫈",
"supsub": "⫔",
"supsup": "⫖",
"swArr": "⇙",
"swarhk": "⤦",
"swarr": "↙",
"swarrow": "↙",
"swnwar": "⤪",
"szli": "ß",
"szlig": "ß",
"target": "⌖",
"tau": "τ",
"tbrk": "⎴",
"tcaron": "ť",
"tcedil": "ţ",
"tcy": "т",
"tdot": "⃛",
"telrec": "⌕",
"tfr": "𝔱",
"there4": "∴",
"therefore": "∴",
"theta": "θ",
"thetasym": "ϑ",
"thetav": "ϑ",
"thickapprox": "≈",
"thicksim": "",
"thinsp": "",
"thkap": "≈",
"thksim": "",
"thor": "þ",
"thorn": "þ",
"tilde": "˜",
"time": "×",
"times": "×",
"timesb": "⊠",
"timesbar": "⨱",
"timesd": "⨰",
"tint": "∭",
"toea": "⤨",
"top": "",
"topbot": "⌶",
"topcir": "⫱",
"topf": "𝕥",
"topfork": "⫚",
"tosa": "⤩",
"tprime": "‴",
"trade": "™",
"triangle": "▵",
"triangledown": "▿",
"triangleleft": "◃",
"trianglelefteq": "⊴",
"triangleq": "≜",
"triangleright": "▹",
"trianglerighteq": "⊵",
"tridot": "◬",
"trie": "≜",
"triminus": "⨺",
"triplus": "⨹",
"trisb": "⧍",
"tritime": "⨻",
"trpezium": "⏢",
"tscr": "𝓉",
"tscy": "ц",
"tshcy": "ћ",
"tstrok": "ŧ",
"twixt": "≬",
"twoheadleftarrow": "↞",
"twoheadrightarrow": "↠",
"uArr": "⇑",
"uHar": "⥣",
"uacut": "ú",
"uacute": "ú",
"uarr": "↑",
"ubrcy": "ў",
"ubreve": "ŭ",
"ucir": "û",
"ucirc": "û",
"ucy": "у",
"udarr": "⇅",
"udblac": "ű",
"udhar": "⥮",
"ufisht": "⥾",
"ufr": "𝔲",
"ugrav": "ù",
"ugrave": "ù",
"uharl": "↿",
"uharr": "↾",
"uhblk": "▀",
"ulcorn": "⌜",
"ulcorner": "⌜",
"ulcrop": "⌏",
"ultri": "◸",
"umacr": "ū",
"um": "¨",
"uml": "¨",
"uogon": "ų",
"uopf": "𝕦",
"uparrow": "↑",
"updownarrow": "↕",
"upharpoonleft": "↿",
"upharpoonright": "↾",
"uplus": "⊎",
"upsi": "υ",
"upsih": "ϒ",
"upsilon": "υ",
"upuparrows": "⇈",
"urcorn": "⌝",
"urcorner": "⌝",
"urcrop": "⌎",
"uring": "ů",
"urtri": "◹",
"uscr": "𝓊",
"utdot": "⋰",
"utilde": "ũ",
"utri": "▵",
"utrif": "▴",
"uuarr": "⇈",
"uum": "ü",
"uuml": "ü",
"uwangle": "⦧",
"vArr": "⇕",
"vBar": "⫨",
"vBarv": "⫩",
"vDash": "⊨",
"vangrt": "⦜",
"varepsilon": "ϵ",
"varkappa": "ϰ",
"varnothing": "∅",
"varphi": "ϕ",
"varpi": "ϖ",
"varpropto": "∝",
"varr": "↕",
"varrho": "ϱ",
"varsigma": "ς",
"varsubsetneq": "⊊︀",
"varsubsetneqq": "⫋︀",
"varsupsetneq": "⊋︀",
"varsupsetneqq": "⫌︀",
"vartheta": "ϑ",
"vartriangleleft": "⊲",
"vartriangleright": "⊳",
"vcy": "в",
"vdash": "⊢",
"vee": "",
"veebar": "⊻",
"veeeq": "≚",
"vellip": "⋮",
"verbar": "|",
"vert": "|",
"vfr": "𝔳",
"vltri": "⊲",
"vnsub": "⊂⃒",
"vnsup": "⊃⃒",
"vopf": "𝕧",
"vprop": "∝",
"vrtri": "⊳",
"vscr": "𝓋",
"vsubnE": "⫋︀",
"vsubne": "⊊︀",
"vsupnE": "⫌︀",
"vsupne": "⊋︀",
"vzigzag": "⦚",
"wcirc": "ŵ",
"wedbar": "⩟",
"wedge": "∧",
"wedgeq": "≙",
"weierp": "℘",
"wfr": "𝔴",
"wopf": "𝕨",
"wp": "℘",
"wr": "≀",
"wreath": "≀",
"wscr": "𝓌",
"xcap": "⋂",
"xcirc": "◯",
"xcup": "",
"xdtri": "▽",
"xfr": "𝔵",
"xhArr": "⟺",
"xharr": "⟷",
"xi": "ξ",
"xlArr": "⟸",
"xlarr": "⟵",
"xmap": "⟼",
"xnis": "⋻",
"xodot": "⨀",
"xopf": "𝕩",
"xoplus": "⨁",
"xotime": "⨂",
"xrArr": "⟹",
"xrarr": "⟶",
"xscr": "𝓍",
"xsqcup": "⨆",
"xuplus": "⨄",
"xutri": "△",
"xvee": "",
"xwedge": "⋀",
"yacut": "ý",
"yacute": "ý",
"yacy": "я",
"ycirc": "ŷ",
"ycy": "ы",
"ye": "¥",
"yen": "¥",
"yfr": "𝔶",
"yicy": "ї",
"yopf": "𝕪",
"yscr": "𝓎",
"yucy": "ю",
"yum": "ÿ",
"yuml": "ÿ",
"zacute": "ź",
"zcaron": "ž",
"zcy": "з",
"zdot": "ż",
"zeetrf": "",
"zeta": "ζ",
"zfr": "𝔷",
"zhcy": "ж",
"zigrarr": "⇝",
"zopf": "𝕫",
"zscr": "𝓏",
"zwj": "",
"zwnj": ""
};
/***/ },
/* 1186 */
/***/ function(module, exports) {
module.exports = {
"0": "<22>",
"128": "€",
"130": "",
"131": "ƒ",
"132": "„",
"133": "…",
"134": "†",
"135": "‡",
"136": "ˆ",
"137": "‰",
"138": "Š",
"139": "",
"140": "Œ",
"142": "Ž",
"145": "",
"146": "",
"147": "“",
"148": "”",
"149": "•",
"150": "",
"151": "—",
"152": "˜",
"153": "™",
"154": "š",
"155": "",
"156": "œ",
"158": "ž",
"159": "Ÿ"
};
/***/ },
/* 1187 */,
/* 1188 */,
/* 1189 */,
/* 1190 */,
/* 1191 */,
/* 1192 */,
/* 1193 */,
/* 1194 */,
/* 1195 */,
/* 1196 */,
/* 1197 */,
/* 1198 */,
/* 1199 */,
/* 1200 */,
/* 1201 */,
/* 1202 */,
/* 1203 */,
/* 1204 */,
/* 1205 */,
/* 1206 */
/***/ function(module, exports) {
module.exports = [
"article",
"header",
"aside",
"hgroup",
"blockquote",
"hr",
"iframe",
"body",
"li",
"map",
"button",
"object",
"canvas",
"ol",
"caption",
"output",
"col",
"p",
"colgroup",
"pre",
"dd",
"progress",
"div",
"section",
"dl",
"table",
"td",
"dt",
"tbody",
"embed",
"textarea",
"fieldset",
"tfoot",
"figcaption",
"th",
"figure",
"thead",
"footer",
"tr",
"form",
"ul",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"video",
"script",
"style"
];
/***/ },
/* 1207 */,
/* 1208 */,
/* 1209 */,
/* 1210 */,
/* 1211 */,
/* 1212 */,
/* 1213 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactDom=__webpack_require__(303);var _reactDom2=_interopRequireDefault(_reactDom);var _redux=__webpack_require__(304);var Redux=_interopRequireWildcard(_redux);var _reactRedux=__webpack_require__(69);var _reactRouter=__webpack_require__(84);var _reduxThunk=__webpack_require__(572);var _reduxThunk2=_interopRequireDefault(_reduxThunk);var _reducers=__webpack_require__(574);var reducers=_interopRequireWildcard(_reducers);var _routes=__webpack_require__(575);var _routes2=_interopRequireDefault(_routes);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _LocalStorage=__webpack_require__(1216);var _LocalStorage2=_interopRequireDefault(_LocalStorage);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}//initial state is rehydrated from the server
//import createBrowserHistory from 'history/lib/createBrowserHistory'
var initialState=window.__INITIAL_STATE__;//create the redux store
//initial state is retrieved from localStore
var store=Redux.createStore(Redux.combineReducers(reducers),initialState,Redux.compose(Redux.applyMiddleware(_reduxThunk2.default),window.devToolsExtension?window.devToolsExtension():function(f){return f;}));function render(){_reactDom2.default.render(_react2.default.createElement(_reactRedux.Provider,{store:store},_react2.default.createElement(_LocalStorage2.default,null,_react2.default.createElement(_reactRouter.Router,{history:_reactRouter.browserHistory},_routes2.default))),document.getElementById('root'));}render();
/***/ },
/* 1214 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';// the whatwg-fetch polyfill installs the fetch() function
// on the global object (window or self)
//
// Return that as the export for use in Webpack, Browserify etc.
__webpack_require__(1215);module.exports=self.fetch.bind(self);
/***/ },
/* 1215 */
/***/ function(module, exports) {
"use strict";
'use strict';(function(self){'use strict';if(self.fetch){return;}var support={searchParams:'URLSearchParams'in self,iterable:'Symbol'in self&&'iterator'in Symbol,blob:'FileReader'in self&&'Blob'in self&&function(){try{new Blob();return true;}catch(e){return false;}}(),formData:'FormData'in self,arrayBuffer:'ArrayBuffer'in self};if(support.arrayBuffer){var viewClasses=['[object Int8Array]','[object Uint8Array]','[object Uint8ClampedArray]','[object Int16Array]','[object Uint16Array]','[object Int32Array]','[object Uint32Array]','[object Float32Array]','[object Float64Array]'];var isDataView=function isDataView(obj){return obj&&DataView.prototype.isPrototypeOf(obj);};var isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1;};}function normalizeName(name){if(typeof name!=='string'){name=String(name);}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError('Invalid character in header field name');}return name.toLowerCase();}function normalizeValue(value){if(typeof value!=='string'){value=String(value);}return value;}// Build a destructive iterator for the value list
function iteratorFor(items){var iterator={next:function next(){var value=items.shift();return{done:value===undefined,value:value};}};if(support.iterable){iterator[Symbol.iterator]=function(){return iterator;};}return iterator;}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value);},this);}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name]);},this);}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var oldValue=this.map[name];this.map[name]=oldValue?oldValue+','+value:value;};Headers.prototype['delete']=function(name){delete this.map[normalizeName(name)];};Headers.prototype.get=function(name){name=normalizeName(name);return this.has(name)?this.map[name]:null;};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name));};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=normalizeValue(value);};Headers.prototype.forEach=function(callback,thisArg){for(var name in this.map){if(this.map.hasOwnProperty(name)){callback.call(thisArg,this.map[name],name,this);}}};Headers.prototype.keys=function(){var items=[];this.forEach(function(value,name){items.push(name);});return iteratorFor(items);};Headers.prototype.values=function(){var items=[];this.forEach(function(value){items.push(value);});return iteratorFor(items);};Headers.prototype.entries=function(){var items=[];this.forEach(function(value,name){items.push([name,value]);});return iteratorFor(items);};if(support.iterable){Headers.prototype[Symbol.iterator]=Headers.prototype.entries;}function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError('Already read'));}body.bodyUsed=true;}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result);};reader.onerror=function(){reject(reader.error);};});}function readBlobAsArrayBuffer(blob){var reader=new FileReader();var promise=fileReaderReady(reader);reader.readAsArrayBuffer(blob);return promise;}function readBlobAsText(blob){var reader=new FileReader();var promise=fileReaderReady(reader);reader.readAsText(blob);return promise;}function readArrayBufferAsText(buf){var view=new Uint8Array(buf);var chars=new Array(view.length);for(var i=0;i<view.length;i++){chars[i]=String.fromCharCode(view[i]);}return chars.join('');}function bufferClone(buf){if(buf.slice){return buf.slice(0);}else{var view=new Uint8Array(buf.byteLength);view.set(new Uint8Array(buf));return view.buffer;}}function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(!body){this._bodyText='';}else if(typeof body==='string'){this._bodyText=body;}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body;}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body;}else if(support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)){this._bodyText=body.toString();}else if(support.arrayBuffer&&support.blob&&isDataView(body)){this._bodyArrayBuffer=bufferClone(body.buffer);// IE 10-11 can't handle a DataView body.
this._bodyInit=new Blob([this._bodyArrayBuffer]);}else if(support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(body)||isArrayBufferView(body))){this._bodyArrayBuffer=bufferClone(body);}else{throw new Error('unsupported BodyInit type');}if(!this.headers.get('content-type')){if(typeof body==='string'){this.headers.set('content-type','text/plain;charset=UTF-8');}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set('content-type',this._bodyBlob.type);}else if(support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)){this.headers.set('content-type','application/x-www-form-urlencoded;charset=UTF-8');}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected;}if(this._bodyBlob){return Promise.resolve(this._bodyBlob);}else if(this._bodyArrayBuffer){return Promise.resolve(new Blob([this._bodyArrayBuffer]));}else if(this._bodyFormData){throw new Error('could not read FormData body as blob');}else{return Promise.resolve(new Blob([this._bodyText]));}};this.arrayBuffer=function(){if(this._bodyArrayBuffer){return consumed(this)||Promise.resolve(this._bodyArrayBuffer);}else{return this.blob().then(readBlobAsArrayBuffer);}};}this.text=function(){var rejected=consumed(this);if(rejected){return rejected;}if(this._bodyBlob){return readBlobAsText(this._bodyBlob);}else if(this._bodyArrayBuffer){return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));}else if(this._bodyFormData){throw new Error('could not read FormData body as text');}else{return Promise.resolve(this._bodyText);}};if(support.formData){this.formData=function(){return this.text().then(decode);};}this.json=function(){return this.text().then(JSON.parse);};return this;}// HTTP methods whose capitalization should be normalized
var methods=['DELETE','GET','HEAD','OPTIONS','POST','PUT'];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method;}function Request(input,options){options=options||{};var body=options.body;if(typeof input==='string'){this.url=input;}else{if(input.bodyUsed){throw new TypeError('Already read');}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers);}this.method=input.method;this.mode=input.mode;if(!body&&input._bodyInit!=null){body=input._bodyInit;input.bodyUsed=true;}}this.credentials=options.credentials||this.credentials||'omit';if(options.headers||!this.headers){this.headers=new Headers(options.headers);}this.method=normalizeMethod(options.method||this.method||'GET');this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==='GET'||this.method==='HEAD')&&body){throw new TypeError('Body not allowed for GET or HEAD requests');}this._initBody(body);}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit});};function decode(body){var form=new FormData();body.trim().split('&').forEach(function(bytes){if(bytes){var split=bytes.split('=');var name=split.shift().replace(/\+/g,' ');var value=split.join('=').replace(/\+/g,' ');form.append(decodeURIComponent(name),decodeURIComponent(value));}});return form;}function parseHeaders(rawHeaders){var headers=new Headers();rawHeaders.split('\r\n').forEach(function(line){var parts=line.split(':');var key=parts.shift().trim();if(key){var value=parts.join(':').trim();headers.append(key,value);}});return headers;}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={};}this.type='default';this.status='status'in options?options.status:200;this.ok=this.status>=200&&this.status<300;this.statusText='statusText'in options?options.statusText:'OK';this.headers=new Headers(options.headers);this.url=options.url||'';this._initBody(bodyInit);}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url});};Response.error=function(){var response=new Response(null,{status:0,statusText:''});response.type='error';return response;};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError('Invalid status code');}return new Response(null,{status:status,headers:{location:url}});};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);var xhr=new XMLHttpRequest();xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||'')};options.url='responseURL'in xhr?xhr.responseURL:options.headers.get('X-Request-URL');var body='response'in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options));};xhr.onerror=function(){reject(new TypeError('Network request failed'));};xhr.ontimeout=function(){reject(new TypeError('Network request failed'));};xhr.open(request.method,request.url,true);if(request.credentials==='include'){xhr.withCredentials=true;}if('responseType'in xhr&&support.blob){xhr.responseType='blob';}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value);});xhr.send(typeof request._bodyInit==='undefined'?null:request._bodyInit);});};self.fetch.polyfill=true;})(typeof self!=='undefined'?self:undefined);
/***/ },
/* 1216 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _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;};}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactRedux=__webpack_require__(69);var _actions=__webpack_require__(70);var Actions=_interopRequireWildcard(_actions);var _selectors=__webpack_require__(196);var Selectors=_interopRequireWildcard(_selectors);function _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;}}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _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;}function _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;}/* This component reads the local storage store and adds them to the Redux store.
* Local storage is read during the componentDidMount lifecycle method.
* Local storage is written during the componentWillReceiveProps lifecycle method.
*///an app-specific name for the localStorage state
var stateName="dubdiff_state";//return a new object with the given keys, each assigned to the cooresponding value
//from the given object
var copyKeys=function copyKeys(obj,keys){return keys.reduce(function(acc,p){acc[p]=obj[p];return acc;},{});};console.log(copyKeys({a:1,b:2},['a']));console.log(copyKeys({},['a']));//utility method for retrieving json data from the local store
function getLocalState(keys){if(localStorage.getItem(stateName)){var localState=JSON.parse(localStorage.getItem(stateName));return copyKeys(localState,keys);}else return copyKeys({},keys);}//utility method for writing json data to the local store
function setLocalState(state,keys){var toSave=copyKeys(state,keys);localStorage.setItem(stateName,JSON.stringify(toSave));}var mapStateToProps=function mapStateToProps(state){return{input:state.input};};var mapDispatchToProps=function mapDispatchToProps(dispatch){return{onChangeOriginal:function onChangeOriginal(text){return dispatch(Actions.updateOriginalInput(text));},onChangeFinal:function onChangeFinal(text){return dispatch(Actions.updateFinalInput(text));}};};var LocalStorage=function(_React$Component){_inherits(LocalStorage,_React$Component);function LocalStorage(){_classCallCheck(this,LocalStorage);return _possibleConstructorReturn(this,(LocalStorage.__proto__||Object.getPrototypeOf(LocalStorage)).apply(this,arguments));}_createClass(LocalStorage,[{key:'componentDidMount',//load the state from the local storage
value:function componentDidMount(){//only if the status is EMPTY
if(this.props.input.original==''&&this.props.input.final==''){var localState=getLocalState(['input']);if(localState.input&&localState.input.original)this.props.onChangeOriginal(localState.input.original);if(localState.input&&localState.input.final)this.props.onChangeFinal(localState.input.final);}}//save the state to local storage
},{key:'componentWillReceiveProps',value:function componentWillReceiveProps(nextProps){setLocalState(nextProps,['input']);}},{key:'render',value:function render(){return this.props.children;}}]);return LocalStorage;}(_react2.default.Component);exports.default=(0,_reactRedux.connect)(mapStateToProps,mapDispatchToProps)(LocalStorage);
/***/ }
/******/ ]);