UNPKG

web-pm2

Version:
1,682 lines (1,451 loc) 593 kB
webpackJsonp([1],[ /* 0 */ /*!******************!*\ !*** ./index.js ***! \******************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; var _reactRouter = __webpack_require__(/*! react-router */ 1); var _reactRouterRedux = __webpack_require__(/*! react-router-redux */ 97); var _reactRedux = __webpack_require__(/*! react-redux */ 102); var _reactDom = __webpack_require__(/*! react-dom */ 124); var _reactDom2 = _interopRequireDefault(_reactDom); var _react = __webpack_require__(/*! react */ 3); var _react2 = _interopRequireDefault(_react); var _reactTapEventPlugin = __webpack_require__(/*! react-tap-event-plugin */ 262); var _reactTapEventPlugin2 = _interopRequireDefault(_reactTapEventPlugin); var _store = __webpack_require__(/*! ./store */ 268); var _store2 = _interopRequireDefault(_store); var _App = __webpack_require__(/*! ./containers/App */ 486); var _App2 = _interopRequireDefault(_App); var _HomePage = __webpack_require__(/*! ./containers/HomePage */ 812); var _HomePage2 = _interopRequireDefault(_HomePage); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // whyDidYouUpdate(React); var store = (0, _store2.default)(); // import { whyDidYouUpdate } from 'why-did-you-update'; var history = (0, _reactRouterRedux.syncHistoryWithStore)(_reactRouter.browserHistory, store); (0, _reactTapEventPlugin2.default)(); _reactDom2.default.render(_react2.default.createElement( _reactRedux.Provider, { store: store }, _react2.default.createElement( _reactRouter.Router, { history: history }, _react2.default.createElement( _reactRouter.Route, { component: _App2.default }, _react2.default.createElement(_reactRouter.Route, { component: _HomePage2.default, path: '/' }), _react2.default.createElement(_reactRouter.Route, { component: _HomePage2.default, path: '/app/:pm2Id' }) ) ) ), document.getElementById('root')); /***/ }, /* 1 */, /* 2 */, /* 3 */, /* 4 */, /* 5 */, /* 6 */, /* 7 */, /* 8 */, /* 9 */, /* 10 */, /* 11 */, /* 12 */, /* 13 */, /* 14 */, /* 15 */, /* 16 */, /* 17 */, /* 18 */, /* 19 */, /* 20 */, /* 21 */, /* 22 */, /* 23 */, /* 24 */, /* 25 */, /* 26 */, /* 27 */, /* 28 */, /* 29 */, /* 30 */, /* 31 */, /* 32 */, /* 33 */, /* 34 */, /* 35 */, /* 36 */, /* 37 */, /* 38 */, /* 39 */, /* 40 */, /* 41 */, /* 42 */, /* 43 */, /* 44 */, /* 45 */, /* 46 */, /* 47 */, /* 48 */, /* 49 */, /* 50 */, /* 51 */, /* 52 */, /* 53 */, /* 54 */, /* 55 */, /* 56 */, /* 57 */, /* 58 */, /* 59 */, /* 60 */, /* 61 */, /* 62 */, /* 63 */, /* 64 */, /* 65 */, /* 66 */, /* 67 */, /* 68 */, /* 69 */, /* 70 */, /* 71 */, /* 72 */, /* 73 */, /* 74 */, /* 75 */, /* 76 */, /* 77 */, /* 78 */, /* 79 */, /* 80 */, /* 81 */, /* 82 */, /* 83 */, /* 84 */, /* 85 */, /* 86 */, /* 87 */, /* 88 */, /* 89 */, /* 90 */, /* 91 */, /* 92 */, /* 93 */, /* 94 */, /* 95 */, /* 96 */, /* 97 */, /* 98 */, /* 99 */, /* 100 */, /* 101 */, /* 102 */, /* 103 */, /* 104 */, /* 105 */, /* 106 */, /* 107 */, /* 108 */, /* 109 */, /* 110 */, /* 111 */, /* 112 */, /* 113 */, /* 114 */, /* 115 */, /* 116 */, /* 117 */, /* 118 */, /* 119 */, /* 120 */, /* 121 */, /* 122 */, /* 123 */, /* 124 */, /* 125 */, /* 126 */, /* 127 */, /* 128 */, /* 129 */, /* 130 */, /* 131 */, /* 132 */, /* 133 */, /* 134 */, /* 135 */, /* 136 */, /* 137 */, /* 138 */, /* 139 */, /* 140 */, /* 141 */, /* 142 */, /* 143 */, /* 144 */, /* 145 */, /* 146 */, /* 147 */, /* 148 */, /* 149 */, /* 150 */, /* 151 */, /* 152 */, /* 153 */, /* 154 */, /* 155 */, /* 156 */, /* 157 */, /* 158 */, /* 159 */, /* 160 */, /* 161 */, /* 162 */, /* 163 */, /* 164 */, /* 165 */, /* 166 */, /* 167 */, /* 168 */, /* 169 */, /* 170 */, /* 171 */, /* 172 */, /* 173 */, /* 174 */, /* 175 */, /* 176 */, /* 177 */, /* 178 */, /* 179 */, /* 180 */, /* 181 */, /* 182 */, /* 183 */, /* 184 */, /* 185 */, /* 186 */, /* 187 */, /* 188 */, /* 189 */, /* 190 */, /* 191 */, /* 192 */, /* 193 */, /* 194 */, /* 195 */, /* 196 */, /* 197 */, /* 198 */, /* 199 */, /* 200 */, /* 201 */, /* 202 */, /* 203 */, /* 204 */, /* 205 */, /* 206 */, /* 207 */, /* 208 */, /* 209 */, /* 210 */, /* 211 */, /* 212 */, /* 213 */, /* 214 */, /* 215 */, /* 216 */, /* 217 */, /* 218 */, /* 219 */, /* 220 */, /* 221 */, /* 222 */, /* 223 */, /* 224 */, /* 225 */, /* 226 */, /* 227 */, /* 228 */, /* 229 */, /* 230 */, /* 231 */, /* 232 */, /* 233 */, /* 234 */, /* 235 */, /* 236 */, /* 237 */, /* 238 */, /* 239 */, /* 240 */, /* 241 */, /* 242 */, /* 243 */, /* 244 */, /* 245 */, /* 246 */, /* 247 */, /* 248 */, /* 249 */, /* 250 */, /* 251 */, /* 252 */, /* 253 */, /* 254 */, /* 255 */, /* 256 */, /* 257 */, /* 258 */, /* 259 */, /* 260 */, /* 261 */, /* 262 */ /*!***************************************************************!*\ !*** ../~/react-tap-event-plugin/src/injectTapEventPlugin.js ***! \***************************************************************/ /***/ function(module, exports, __webpack_require__) { var invariant = __webpack_require__(/*! fbjs/lib/invariant */ 263); var defaultClickRejectionStrategy = __webpack_require__(/*! ./defaultClickRejectionStrategy */ 264); var alreadyInjected = false; module.exports = function injectTapEventPlugin (strategyOverrides) { strategyOverrides = strategyOverrides || {} var shouldRejectClick = strategyOverrides.shouldRejectClick || defaultClickRejectionStrategy; if (true) { invariant( !alreadyInjected, 'injectTapEventPlugin(): Can only be called once per application lifecycle.\n\n\ It is recommended to call injectTapEventPlugin() just before you call \ ReactDOM.render(). If you are using an external library which calls injectTapEventPlugin() \ itself, please contact the maintainer as it shouldn\'t be called in library code and \ should be injected by the application.' ) } alreadyInjected = true; __webpack_require__(/*! react/lib/EventPluginHub */ 133).injection.injectEventPluginsByName({ 'TapEventPlugin': __webpack_require__(/*! ./TapEventPlugin.js */ 265)(shouldRejectClick) }); }; /***/ }, /* 263 */ /*!**********************************!*\ !*** ../~/fbjs/lib/invariant.js ***! \**********************************/ /***/ function(module, exports, __webpack_require__) { /** * 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. */ var invariant = function (condition, format, a, b, c, d, e, f) { if (true) { 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('Invariant Violation: ' + format.replace(/%s/g, function () { return args[argIndex++]; })); } error.framesToPop = 1; // we don't care about invariant's own frame throw error; } }; module.exports = invariant; /***/ }, /* 264 */ /*!************************************************************************!*\ !*** ../~/react-tap-event-plugin/src/defaultClickRejectionStrategy.js ***! \************************************************************************/ /***/ function(module, exports) { module.exports = function(lastTouchEvent, clickTimestamp) { if (lastTouchEvent && (clickTimestamp - lastTouchEvent) < 750) { return true; } }; /***/ }, /* 265 */ /*!*********************************************************!*\ !*** ../~/react-tap-event-plugin/src/TapEventPlugin.js ***! \*********************************************************/ /***/ function(module, exports, __webpack_require__) { /** * Copyright 2013-2014 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 TapEventPlugin * @typechecks static-only */ "use strict"; var EventConstants = __webpack_require__(/*! react/lib/EventConstants */ 131); var EventPluginUtils = __webpack_require__(/*! react/lib/EventPluginUtils */ 135); var EventPropagators = __webpack_require__(/*! react/lib/EventPropagators */ 132); var SyntheticUIEvent = __webpack_require__(/*! react/lib/SyntheticUIEvent */ 166); var TouchEventUtils = __webpack_require__(/*! ./TouchEventUtils */ 266); var ViewportMetrics = __webpack_require__(/*! react/lib/ViewportMetrics */ 167); var keyOf = __webpack_require__(/*! fbjs/lib/keyOf */ 267); var topLevelTypes = EventConstants.topLevelTypes; var isStartish = EventPluginUtils.isStartish; var isEndish = EventPluginUtils.isEndish; var isTouch = function(topLevelType) { var touchTypes = [ topLevelTypes.topTouchCancel, topLevelTypes.topTouchEnd, topLevelTypes.topTouchStart, topLevelTypes.topTouchMove ]; return touchTypes.indexOf(topLevelType) >= 0; } /** * Number of pixels that are tolerated in between a `touchStart` and `touchEnd` * in order to still be considered a 'tap' event. */ var tapMoveThreshold = 10; var ignoreMouseThreshold = 750; var startCoords = {x: null, y: null}; var lastTouchEvent = null; var Axis = { x: {page: 'pageX', client: 'clientX', envScroll: 'currentPageScrollLeft'}, y: {page: 'pageY', client: 'clientY', envScroll: 'currentPageScrollTop'} }; function getAxisCoordOfEvent(axis, nativeEvent) { var singleTouch = TouchEventUtils.extractSingleTouch(nativeEvent); if (singleTouch) { return singleTouch[axis.page]; } return axis.page in nativeEvent ? nativeEvent[axis.page] : nativeEvent[axis.client] + ViewportMetrics[axis.envScroll]; } function getDistance(coords, nativeEvent) { var pageX = getAxisCoordOfEvent(Axis.x, nativeEvent); var pageY = getAxisCoordOfEvent(Axis.y, nativeEvent); return Math.pow( Math.pow(pageX - coords.x, 2) + Math.pow(pageY - coords.y, 2), 0.5 ); } var touchEvents = [ topLevelTypes.topTouchStart, topLevelTypes.topTouchCancel, topLevelTypes.topTouchEnd, topLevelTypes.topTouchMove, ]; var dependencies = [ topLevelTypes.topMouseDown, topLevelTypes.topMouseMove, topLevelTypes.topMouseUp, ].concat(touchEvents); var eventTypes = { touchTap: { phasedRegistrationNames: { bubbled: keyOf({onTouchTap: null}), captured: keyOf({onTouchTapCapture: null}) }, dependencies: dependencies } }; var now = (function() { if (Date.now) { return Date.now; } else { // IE8 support: http://stackoverflow.com/questions/9430357/please-explain-why-and-how-new-date-works-as-workaround-for-date-now-in return function () { return +new Date; } } })(); function createTapEventPlugin(shouldRejectClick) { return { tapMoveThreshold: tapMoveThreshold, ignoreMouseThreshold: ignoreMouseThreshold, eventTypes: eventTypes, /** * @param {string} topLevelType Record from `EventConstants`. * @param {DOMEventTarget} targetInst The listening component root node. * @param {object} nativeEvent Native browser event. * @return {*} An accumulation of synthetic events. * @see {EventPluginHub.extractEvents} */ extractEvents: function( topLevelType, targetInst, nativeEvent, nativeEventTarget ) { if (isTouch(topLevelType)) { lastTouchEvent = now(); } else { if (shouldRejectClick(lastTouchEvent, now())) { return null; } } if (!isStartish(topLevelType) && !isEndish(topLevelType)) { return null; } var event = null; var distance = getDistance(startCoords, nativeEvent); if (isEndish(topLevelType) && distance < tapMoveThreshold) { event = SyntheticUIEvent.getPooled( eventTypes.touchTap, targetInst, nativeEvent, nativeEventTarget ); } if (isStartish(topLevelType)) { startCoords.x = getAxisCoordOfEvent(Axis.x, nativeEvent); startCoords.y = getAxisCoordOfEvent(Axis.y, nativeEvent); } else if (isEndish(topLevelType)) { startCoords.x = 0; startCoords.y = 0; } EventPropagators.accumulateTwoPhaseDispatches(event); return event; } }; } module.exports = createTapEventPlugin; /***/ }, /* 266 */ /*!**********************************************************!*\ !*** ../~/react-tap-event-plugin/src/TouchEventUtils.js ***! \**********************************************************/ /***/ function(module, exports) { /** * Copyright 2013-2014 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 TouchEventUtils */ var TouchEventUtils = { /** * Utility function for common case of extracting out the primary touch from a * touch event. * - `touchEnd` events usually do not have the `touches` property. * http://stackoverflow.com/questions/3666929/ * mobile-sarai-touchend-event-not-firing-when-last-touch-is-removed * * @param {Event} nativeEvent Native event that may or may not be a touch. * @return {TouchesObject?} an object with pageX and pageY or null. */ extractSingleTouch: function(nativeEvent) { var touches = nativeEvent.touches; var changedTouches = nativeEvent.changedTouches; var hasTouches = touches && touches.length > 0; var hasChangedTouches = changedTouches && changedTouches.length > 0; return !hasTouches && hasChangedTouches ? changedTouches[0] : hasTouches ? touches[0] : nativeEvent; } }; module.exports = TouchEventUtils; /***/ }, /* 267 */ /*!******************************!*\ !*** ../~/fbjs/lib/keyOf.js ***! \******************************/ /***/ function(module, exports) { /** * 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 (oneKeyObj) { var key; for (key in oneKeyObj) { if (!oneKeyObj.hasOwnProperty(key)) { continue; } return key; } return null; }; module.exports = keyOf; /***/ }, /* 268 */ /*!************************!*\ !*** ./store/index.js ***! \************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = configure; var _redux = __webpack_require__(/*! redux */ 109); var _middleware = __webpack_require__(/*! ../middleware */ 269); var _reducers = __webpack_require__(/*! ../reducers */ 271); var _reducers2 = _interopRequireDefault(_reducers); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function configure(initialState) { var create = window.devToolsExtension ? window.devToolsExtension()(_redux.createStore) : _redux.createStore; var createStoreWithMiddleware = (0, _redux.applyMiddleware)(_middleware.logger)(create); var store = createStoreWithMiddleware(_reducers2.default, initialState); if (false) { module.hot.accept('../reducers', function () { var nextReducer = require('../reducers'); store.replaceReducer(nextReducer); }); } return store; } /***/ }, /* 269 */ /*!*****************************!*\ !*** ./middleware/index.js ***! \*****************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.logger = undefined; var _logger = __webpack_require__(/*! ./logger */ 270); var _logger2 = _interopRequireDefault(_logger); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.logger = _logger2.default; /***/ }, /* 270 */ /*!******************************!*\ !*** ./middleware/logger.js ***! \******************************/ /***/ function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (store) { return function (next) { return function (action) { console.log(action); return next(action); }; }; }; /***/ }, /* 271 */ /*!***************************!*\ !*** ./reducers/index.js ***! \***************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _reactRouterRedux = __webpack_require__(/*! react-router-redux */ 97); var _redux = __webpack_require__(/*! redux */ 109); var _actions = __webpack_require__(/*! ./actions */ 272); var _actions2 = _interopRequireDefault(_actions); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = (0, _redux.combineReducers)({ routing: _reactRouterRedux.routerReducer, actions: _actions2.default }); /***/ }, /* 272 */ /*!*****************************!*\ !*** ./reducers/actions.js ***! \*****************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ 273); var _extends3 = _interopRequireDefault(_extends2); var _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ 311); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); var _reduxActions = __webpack_require__(/*! redux-actions */ 334); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } // TODO: replace this with actual ajax var initialState = __webpack_require__(/*! ./initialData */ 485); exports.default = (0, _reduxActions.handleActions)({ 'add todo': function addTodo(state, action) { return [{ id: state.reduce(function (maxId, todo) { return Math.max(todo.id, maxId); }, -1) + 1, completed: false, text: action.payload }].concat((0, _toConsumableArray3.default)(state)); }, 'delete todo': function deleteTodo(state, action) { return state.filter(function (todo) { return todo.id !== action.payload; }); }, 'edit todo': function editTodo(state, action) { return state.map(function (todo) { return todo.id === action.payload.id ? (0, _extends3.default)({}, todo, { text: action.payload.text }) : todo; }); } }, initialState); /***/ }, /* 273 */ /*!*********************************************!*\ !*** ../~/babel-runtime/helpers/extends.js ***! \*********************************************/ /***/ function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _assign = __webpack_require__(/*! ../core-js/object/assign */ 274); var _assign2 = _interopRequireDefault(_assign); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = _assign2.default || 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; }; /***/ }, /* 274 */ /*!***************************************************!*\ !*** ../~/babel-runtime/core-js/object/assign.js ***! \***************************************************/ /***/ function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__(/*! core-js/library/fn/object/assign */ 275), __esModule: true }; /***/ }, /* 275 */ /*!************************************************!*\ !*** ../~/core-js/library/fn/object/assign.js ***! \************************************************/ /***/ function(module, exports, __webpack_require__) { __webpack_require__(/*! ../../modules/es6.object.assign */ 276); module.exports = __webpack_require__(/*! ../../modules/_core */ 279).Object.assign; /***/ }, /* 276 */ /*!*********************************************************!*\ !*** ../~/core-js/library/modules/es6.object.assign.js ***! \*********************************************************/ /***/ function(module, exports, __webpack_require__) { // 19.1.3.1 Object.assign(target, source) var $export = __webpack_require__(/*! ./_export */ 277); $export($export.S + $export.F, 'Object', {assign: __webpack_require__(/*! ./_object-assign */ 292)}); /***/ }, /* 277 */ /*!***********************************************!*\ !*** ../~/core-js/library/modules/_export.js ***! \***********************************************/ /***/ function(module, exports, __webpack_require__) { var global = __webpack_require__(/*! ./_global */ 278) , core = __webpack_require__(/*! ./_core */ 279) , ctx = __webpack_require__(/*! ./_ctx */ 280) , hide = __webpack_require__(/*! ./_hide */ 282) , PROTOTYPE = 'prototype'; var $export = function(type, name, source){ var IS_FORCED = type & $export.F , IS_GLOBAL = type & $export.G , IS_STATIC = type & $export.S , IS_PROTO = type & $export.P , IS_BIND = type & $export.B , IS_WRAP = type & $export.W , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) , expProto = exports[PROTOTYPE] , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] , key, own, out; if(IS_GLOBAL)source = name; for(key in source){ // contains in native own = !IS_FORCED && target && target[key] !== undefined; if(own && key in exports)continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] // bind timers to global for call from export context : IS_BIND && own ? ctx(out, global) // wrap global constructors for prevent change them in library : IS_WRAP && target[key] == out ? (function(C){ var F = function(a, b, c){ if(this instanceof C){ switch(arguments.length){ case 0: return new C; case 1: return new C(a); case 2: return new C(a, b); } return new C(a, b, c); } return C.apply(this, arguments); }; F[PROTOTYPE] = C[PROTOTYPE]; return F; // make static versions for prototype methods })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% if(IS_PROTO){ (exports.virtual || (exports.virtual = {}))[key] = out; // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); } } }; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }, /* 278 */ /*!***********************************************!*\ !*** ../~/core-js/library/modules/_global.js ***! \***********************************************/ /***/ function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef /***/ }, /* 279 */ /*!*********************************************!*\ !*** ../~/core-js/library/modules/_core.js ***! \*********************************************/ /***/ function(module, exports) { var core = module.exports = {version: '2.4.0'}; if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef /***/ }, /* 280 */ /*!********************************************!*\ !*** ../~/core-js/library/modules/_ctx.js ***! \********************************************/ /***/ function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(/*! ./_a-function */ 281); module.exports = function(fn, that, length){ aFunction(fn); if(that === undefined)return fn; switch(length){ case 1: return function(a){ return fn.call(that, a); }; case 2: return function(a, b){ return fn.call(that, a, b); }; case 3: return function(a, b, c){ return fn.call(that, a, b, c); }; } return function(/* ...args */){ return fn.apply(that, arguments); }; }; /***/ }, /* 281 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_a-function.js ***! \***************************************************/ /***/ function(module, exports) { module.exports = function(it){ if(typeof it != 'function')throw TypeError(it + ' is not a function!'); return it; }; /***/ }, /* 282 */ /*!*********************************************!*\ !*** ../~/core-js/library/modules/_hide.js ***! \*********************************************/ /***/ function(module, exports, __webpack_require__) { var dP = __webpack_require__(/*! ./_object-dp */ 283) , createDesc = __webpack_require__(/*! ./_property-desc */ 291); module.exports = __webpack_require__(/*! ./_descriptors */ 287) ? function(object, key, value){ return dP.f(object, key, createDesc(1, value)); } : function(object, key, value){ object[key] = value; return object; }; /***/ }, /* 283 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_object-dp.js ***! \**************************************************/ /***/ function(module, exports, __webpack_require__) { var anObject = __webpack_require__(/*! ./_an-object */ 284) , IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ 286) , toPrimitive = __webpack_require__(/*! ./_to-primitive */ 290) , dP = Object.defineProperty; exports.f = __webpack_require__(/*! ./_descriptors */ 287) ? Object.defineProperty : function defineProperty(O, P, Attributes){ anObject(O); P = toPrimitive(P, true); anObject(Attributes); if(IE8_DOM_DEFINE)try { return dP(O, P, Attributes); } catch(e){ /* empty */ } if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); if('value' in Attributes)O[P] = Attributes.value; return O; }; /***/ }, /* 284 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_an-object.js ***! \**************************************************/ /***/ function(module, exports, __webpack_require__) { var isObject = __webpack_require__(/*! ./_is-object */ 285); module.exports = function(it){ if(!isObject(it))throw TypeError(it + ' is not an object!'); return it; }; /***/ }, /* 285 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_is-object.js ***! \**************************************************/ /***/ function(module, exports) { module.exports = function(it){ return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }, /* 286 */ /*!*******************************************************!*\ !*** ../~/core-js/library/modules/_ie8-dom-define.js ***! \*******************************************************/ /***/ function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(/*! ./_descriptors */ 287) && !__webpack_require__(/*! ./_fails */ 288)(function(){ return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ 289)('div'), 'a', {get: function(){ return 7; }}).a != 7; }); /***/ }, /* 287 */ /*!****************************************************!*\ !*** ../~/core-js/library/modules/_descriptors.js ***! \****************************************************/ /***/ function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(/*! ./_fails */ 288)(function(){ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; }); /***/ }, /* 288 */ /*!**********************************************!*\ !*** ../~/core-js/library/modules/_fails.js ***! \**********************************************/ /***/ function(module, exports) { module.exports = function(exec){ try { return !!exec(); } catch(e){ return true; } }; /***/ }, /* 289 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_dom-create.js ***! \***************************************************/ /***/ function(module, exports, __webpack_require__) { var isObject = __webpack_require__(/*! ./_is-object */ 285) , document = __webpack_require__(/*! ./_global */ 278).document // in old IE typeof document.createElement is 'object' , is = isObject(document) && isObject(document.createElement); module.exports = function(it){ return is ? document.createElement(it) : {}; }; /***/ }, /* 290 */ /*!*****************************************************!*\ !*** ../~/core-js/library/modules/_to-primitive.js ***! \*****************************************************/ /***/ function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(/*! ./_is-object */ 285); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function(it, S){ if(!isObject(it))return it; var fn, val; if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }, /* 291 */ /*!******************************************************!*\ !*** ../~/core-js/library/modules/_property-desc.js ***! \******************************************************/ /***/ function(module, exports) { module.exports = function(bitmap, value){ return { enumerable : !(bitmap & 1), configurable: !(bitmap & 2), writable : !(bitmap & 4), value : value }; }; /***/ }, /* 292 */ /*!******************************************************!*\ !*** ../~/core-js/library/modules/_object-assign.js ***! \******************************************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var getKeys = __webpack_require__(/*! ./_object-keys */ 293) , gOPS = __webpack_require__(/*! ./_object-gops */ 308) , pIE = __webpack_require__(/*! ./_object-pie */ 309) , toObject = __webpack_require__(/*! ./_to-object */ 310) , IObject = __webpack_require__(/*! ./_iobject */ 297) , $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug) module.exports = !$assign || __webpack_require__(/*! ./_fails */ 288)(function(){ var A = {} , B = {} , S = Symbol() , K = 'abcdefghijklmnopqrst'; A[S] = 7; K.split('').forEach(function(k){ B[k] = k; }); return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; }) ? function assign(target, source){ // eslint-disable-line no-unused-vars var T = toObject(target) , aLen = arguments.length , index = 1 , getSymbols = gOPS.f , isEnum = pIE.f; while(aLen > index){ var S = IObject(arguments[index++]) , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S) , length = keys.length , j = 0 , key; while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key]; } return T; } : $assign; /***/ }, /* 293 */ /*!****************************************************!*\ !*** ../~/core-js/library/modules/_object-keys.js ***! \****************************************************/ /***/ function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(/*! ./_object-keys-internal */ 294) , enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ 307); module.exports = Object.keys || function keys(O){ return $keys(O, enumBugKeys); }; /***/ }, /* 294 */ /*!*************************************************************!*\ !*** ../~/core-js/library/modules/_object-keys-internal.js ***! \*************************************************************/ /***/ function(module, exports, __webpack_require__) { var has = __webpack_require__(/*! ./_has */ 295) , toIObject = __webpack_require__(/*! ./_to-iobject */ 296) , arrayIndexOf = __webpack_require__(/*! ./_array-includes */ 300)(false) , IE_PROTO = __webpack_require__(/*! ./_shared-key */ 304)('IE_PROTO'); module.exports = function(object, names){ var O = toIObject(object) , i = 0 , result = [] , key; for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key); // Don't enum bug & hidden keys while(names.length > i)if(has(O, key = names[i++])){ ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }, /* 295 */ /*!********************************************!*\ !*** ../~/core-js/library/modules/_has.js ***! \********************************************/ /***/ function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function(it, key){ return hasOwnProperty.call(it, key); }; /***/ }, /* 296 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_to-iobject.js ***! \***************************************************/ /***/ function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(/*! ./_iobject */ 297) , defined = __webpack_require__(/*! ./_defined */ 299); module.exports = function(it){ return IObject(defined(it)); }; /***/ }, /* 297 */ /*!************************************************!*\ !*** ../~/core-js/library/modules/_iobject.js ***! \************************************************/ /***/ function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(/*! ./_cof */ 298); module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){ return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }, /* 298 */ /*!********************************************!*\ !*** ../~/core-js/library/modules/_cof.js ***! \********************************************/ /***/ function(module, exports) { var toString = {}.toString; module.exports = function(it){ return toString.call(it).slice(8, -1); }; /***/ }, /* 299 */ /*!************************************************!*\ !*** ../~/core-js/library/modules/_defined.js ***! \************************************************/ /***/ function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function(it){ if(it == undefined)throw TypeError("Can't call method on " + it); return it; }; /***/ }, /* 300 */ /*!*******************************************************!*\ !*** ../~/core-js/library/modules/_array-includes.js ***! \*******************************************************/ /***/ function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(/*! ./_to-iobject */ 296) , toLength = __webpack_require__(/*! ./_to-length */ 301) , toIndex = __webpack_require__(/*! ./_to-index */ 303); module.exports = function(IS_INCLUDES){ return function($this, el, fromIndex){ var O = toIObject($this) , length = toLength(O.length) , index = toIndex(fromIndex, length) , value; // Array#includes uses SameValueZero equality algorithm if(IS_INCLUDES && el != el)while(length > index){ value = O[index++]; if(value != value)return true; // Array#toIndex ignores holes, Array#includes - not } else for(;length > index; index++)if(IS_INCLUDES || index in O){ if(O[index] === el)return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }, /* 301 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_to-length.js ***! \**************************************************/ /***/ function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(/*! ./_to-integer */ 302) , min = Math.min; module.exports = function(it){ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }, /* 302 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_to-integer.js ***! \***************************************************/ /***/ function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil , floor = Math.floor; module.exports = function(it){ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }, /* 303 */ /*!*************************************************!*\ !*** ../~/core-js/library/modules/_to-index.js ***! \*************************************************/ /***/ function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(/*! ./_to-integer */ 302) , max = Math.max , min = Math.min; module.exports = function(index, length){ index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }, /* 304 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_shared-key.js ***! \***************************************************/ /***/ function(module, exports, __webpack_require__) { var shared = __webpack_require__(/*! ./_shared */ 305)('keys') , uid = __webpack_require__(/*! ./_uid */ 306); module.exports = function(key){ return shared[key] || (shared[key] = uid(key)); }; /***/ }, /* 305 */ /*!***********************************************!*\ !*** ../~/core-js/library/modules/_shared.js ***! \***********************************************/ /***/ function(module, exports, __webpack_require__) { var global = __webpack_require__(/*! ./_global */ 278) , SHARED = '__core-js_shared__' , store = global[SHARED] || (global[SHARED] = {}); module.exports = function(key){ return store[key] || (store[key] = {}); }; /***/ }, /* 306 */ /*!********************************************!*\ !*** ../~/core-js/library/modules/_uid.js ***! \********************************************/ /***/ function(module, exports) { var id = 0 , px = Math.random(); module.exports = function(key){ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }, /* 307 */ /*!******************************************************!*\ !*** ../~/core-js/library/modules/_enum-bug-keys.js ***! \******************************************************/ /***/ function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }, /* 308 */ /*!****************************************************!*\ !*** ../~/core-js/library/modules/_object-gops.js ***! \****************************************************/ /***/ function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }, /* 309 */ /*!***************************************************!*\ !*** ../~/core-js/library/modules/_object-pie.js ***! \***************************************************/ /***/ function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }, /* 310 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_to-object.js ***! \**************************************************/ /***/ function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(/*! ./_defined */ 299); module.exports = function(it){ return Object(defined(it)); }; /***/ }, /* 311 */ /*!*******************************************************!*\ !*** ../~/babel-runtime/helpers/toConsumableArray.js ***! \*******************************************************/ /***/ function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; var _from = __webpack_require__(/*! ../core-js/array/from */ 312); var _from2 = _interopRequireDefault(_from); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = function (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 (0, _from2.default)(arr); } }; /***/ }, /* 312 */ /*!************************************************!*\ !*** ../~/babel-runtime/core-js/array/from.js ***! \************************************************/ /***/ function(module, exports, __webpack_require__) { module.exports = { "default": __webpack_require__(/*! core-js/library/fn/array/from */ 313), __esModule: true }; /***/ }, /* 313 */ /*!*********************************************!*\ !*** ../~/core-js/library/fn/array/from.js ***! \*********************************************/ /***/ function(module, exports, __webpack_require__) { __webpack_require__(/*! ../../modules/es6.string.iterator */ 314); __webpack_require__(/*! ../../modules/es6.array.from */ 327); module.exports = __webpack_require__(/*! ../../modules/_core */ 279).Array.from; /***/ }, /* 314 */ /*!***********************************************************!*\ !*** ../~/core-js/library/modules/es6.string.iterator.js ***! \***********************************************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; var $at = __webpack_require__(/*! ./_string-at */ 315)(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(/*! ./_iter-define */ 316)(String, 'String', function(iterated){ this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function(){ var O = this._t , index = this._i , point; if(index >= O.length)return {value: undefined, done: true}; point = $at(O, index); this._i += point.length; return {value: point, done: false}; }); /***/ }, /* 315 */ /*!**************************************************!*\ !*** ../~/core-js/library/modules/_string-at.js ***! \**************************************************/ /***/ function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(/*! ./_to-integer */ 302) , defined = __webpack_require__(/*! ./_defined */ 299); // true -> String#at // false -> String#codePointAt module.exports = function(TO_STRING){ return function(that, pos){ var s = String(defined(that)) , i = toInteger(pos) , l = s.length , a, b; if(i < 0 || i >= l)return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }, /* 316 */ /*!****************************************************!*\ !*** ../~/core-js/library/modules/_iter-define.js ***! \****************************************************/ /***/ function(module, exports, __webpack_require__) { 'use strict'; var LIBRARY = __webpack_require__(/*! ./_library */ 317) , $export = __webpack_require__(/*! ./_export */ 277) , redefine = __webpack_require__(/*! ./_redefine */ 318) , hide = __webpack_require__(/*! ./_hide */ 282) , has = __webpack_require__(/*! ./_has */ 295) , Iterators = __webpack_require__(/*! ./_iterators */ 319) , $iterCreate = __webpack_require__(/*! ./_iter-create */ 320) , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ 324) , getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ 326) , ITERATOR = __webpack_require__(/*! ./_wks */ 325)('iterator') , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next` , FF_ITERATOR = '@@iterator' , KEYS = 'keys' , VALUES = 'values'; var returnThis = function(){ return this; }; module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){ $iterCreate(Constructor, NAME, next); var getMethod = function(kind){ if(!BUGGY && kind in proto)return proto[kind]; switch(kind){ case KEYS: return function keys(){ return new Constructor(this, kind); }; case VALUES: return function values(){ return new Constructor(this, kind); }; } return function entries(){ return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator' , DEF_VALUES = DEFAULT == VALUES , VALUES_BUG = false , proto = Base.prototype , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] , $default = $native || getMethod(DEFAULT) , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined , $anyNative = NAME == 'Array' ? proto.entries || $native : $native , methods, key, IteratorPrototype; // Fix native if($anyNative){ IteratorPrototype = getPrototypeOf($anyNative.call(new Base)); if(IteratorPrototype !== Object.prototype){ // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if(DEF_VALUES && $native && $native.name !== VALUES){ VALUES_BUG = true; $default = function values(){ return $native.call(this); }; } // Define iterator if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){ hide(proto,