Created
September 26, 2015 00:09
-
-
Save zpao/16e13b4a85010c6fbdff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dist orig/relay.js 2015-09-25 17:05:10.000000000 -0700 | |
+++ dist/relay.js 2015-09-25 17:07:07.000000000 -0700 | |
@@ -136,9 +136,9 @@ | |
* 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) { | |
+ 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'); | |
} | |
@@ -1450,10 +1450,8 @@ | |
/***/ }, | |
/* 5 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(194), __esModule: true }; | |
/***/ }, | |
/* 6 */ | |
@@ -2002,12 +2000,10 @@ | |
/***/ }, | |
/* 13 */ | |
/***/ function(module, exports) { | |
- 'use strict'; | |
- | |
var core = module.exports = {}; | |
- if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef | |
/***/ }, | |
/* 14 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -2851,22 +2847,20 @@ | |
/***/ }, | |
/* 18 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
var $Object = Object; | |
module.exports = { | |
- create: $Object.create, | |
- getProto: $Object.getPrototypeOf, | |
- isEnum: ({}).propertyIsEnumerable, | |
- getDesc: $Object.getOwnPropertyDescriptor, | |
- setDesc: $Object.defineProperty, | |
- setDescs: $Object.defineProperties, | |
- getKeys: $Object.keys, | |
- getNames: $Object.getOwnPropertyNames, | |
+ create: $Object.create, | |
+ getProto: $Object.getPrototypeOf, | |
+ isEnum: {}.propertyIsEnumerable, | |
+ getDesc: $Object.getOwnPropertyDescriptor, | |
+ setDesc: $Object.defineProperty, | |
+ setDescs: $Object.defineProperties, | |
+ getKeys: $Object.keys, | |
+ getNames: $Object.getOwnPropertyNames, | |
getSymbols: $Object.getOwnPropertySymbols, | |
- each: [].forEach | |
+ each: [].forEach | |
}; | |
/***/ }, | |
/* 19 */ | |
@@ -3058,10 +3052,8 @@ | |
/***/ }, | |
/* 23 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
module.exports = {}; | |
/***/ }, | |
/* 24 */ | |
@@ -3321,8 +3313,9 @@ | |
// at build time to obfuscate them and discourage their use. | |
// We don't use symbols or Object.defineProperty to fully hide them | |
// because the performance isn't good enough. | |
+ | |
// to avoid using try/catch inside critical functions, we | |
// extract them to here. | |
var LAST_ERROR = null; | |
var IS_ERROR = {}; | |
@@ -3368,9 +3361,9 @@ | |
doResolve(fn, this); | |
} | |
Promise._99 = noop; | |
- Promise.prototype.then = function (onFulfilled, onRejected) { | |
+ Promise.prototype.then = function(onFulfilled, onRejected) { | |
if (this.constructor !== Promise) { | |
return safeThen(this, onFulfilled, onRejected); | |
} | |
var res = new Promise(noop); | |
@@ -3392,9 +3385,9 @@ | |
if (self._37 === 0) { | |
self._59.push(deferred); | |
return; | |
} | |
- asap(function () { | |
+ asap(function() { | |
var cb = self._37 === 1 ? deferred.onFulfilled : deferred.onRejected; | |
if (cb === null) { | |
if (self._37 === 1) { | |
resolve(deferred.promise, self._12); | |
@@ -3413,16 +3406,25 @@ | |
} | |
function resolve(self, newValue) { | |
// Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure | |
if (newValue === self) { | |
- return reject(self, new TypeError('A promise cannot be resolved with itself.')); | |
- } | |
- if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) { | |
+ return reject( | |
+ self, | |
+ new TypeError('A promise cannot be resolved with itself.') | |
+ ); | |
+ } | |
+ if ( | |
+ newValue && | |
+ (typeof newValue === 'object' || typeof newValue === 'function') | |
+ ) { | |
var then = getThen(newValue); | |
if (then === IS_ERROR) { | |
return reject(self, LAST_ERROR); | |
} | |
- if (then === self.then && newValue instanceof Promise) { | |
+ if ( | |
+ then === self.then && | |
+ newValue instanceof Promise | |
+ ) { | |
self._37 = 3; | |
self._12 = newValue; | |
finale(self); | |
return; | |
@@ -3447,9 +3449,9 @@ | |
} | |
self._59 = null; | |
} | |
- function Handler(onFulfilled, onRejected, promise) { | |
+ function Handler(onFulfilled, onRejected, promise){ | |
this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null; | |
this.onRejected = typeof onRejected === 'function' ? onRejected : null; | |
this.promise = promise; | |
} | |
@@ -3469,15 +3471,16 @@ | |
}, function (reason) { | |
if (done) return; | |
done = true; | |
reject(promise, reason); | |
- }); | |
+ }) | |
if (!done && res === IS_ERROR) { | |
done = true; | |
reject(promise, LAST_ERROR); | |
} | |
} | |
+ | |
/***/ }, | |
/* 34 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -4644,10 +4647,8 @@ | |
/***/ }, | |
/* 43 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(190), __esModule: true }; | |
/***/ }, | |
/* 44 */ | |
@@ -4669,13 +4670,9 @@ | |
*/ | |
'use strict'; | |
- function _classCallCheck(instance, Constructor) { | |
- if (!(instance instanceof Constructor)) { | |
- throw new TypeError('Cannot call a class as a function'); | |
- } | |
- } | |
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | |
var Promise = __webpack_require__(16); | |
/** | |
@@ -4751,12 +4748,12 @@ | |
"use strict"; | |
var ErrorUtils = { | |
- applyWithGuard: function applyWithGuard(callback, context, args, onError, name) { | |
+ applyWithGuard: function (callback, context, args, onError, name) { | |
return callback.apply(context, args); | |
}, | |
- guard: function guard(callback, name) { | |
+ guard: function (callback, name) { | |
return callback; | |
} | |
}; | |
@@ -4843,13 +4840,12 @@ | |
/* 50 */ | |
/***/ function(module, exports) { | |
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
- 'use strict'; | |
- | |
var UNDEFINED = 'undefined'; | |
- 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 | |
+ 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 | |
/***/ }, | |
/* 51 */ | |
[277, 118], | |
@@ -6124,10 +6120,8 @@ | |
/***/ }, | |
/* 65 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(193), __esModule: true }; | |
/***/ }, | |
/* 66 */ | |
@@ -6160,25 +6154,21 @@ | |
/* 68 */ | |
/***/ function(module, exports) { | |
// 7.2.1 RequireObjectCoercible(argument) | |
- "use strict"; | |
- | |
- module.exports = function (it) { | |
- if (it == undefined) throw TypeError("Can't call method on " + it); | |
+ module.exports = function(it){ | |
+ if(it == undefined)throw TypeError("Can't call method on " + it); | |
return it; | |
}; | |
/***/ }, | |
/* 69 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- module.exports = function (exec) { | |
+ module.exports = function(exec){ | |
try { | |
return !!exec(); | |
- } catch (e) { | |
+ } catch(e){ | |
return true; | |
} | |
}; | |
@@ -6188,23 +6178,19 @@ | |
/* 71 */ | |
/***/ function(module, exports) { | |
// http://jsperf.com/core-js-isobject | |
- 'use strict'; | |
- | |
- module.exports = function (it) { | |
+ module.exports = function(it){ | |
return it !== null && (typeof it == 'object' || typeof it == 'function'); | |
}; | |
/***/ }, | |
/* 72 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 7.1.13 ToObject(argument) | |
- 'use strict'; | |
- | |
var defined = __webpack_require__(68); | |
- module.exports = function (it) { | |
+ module.exports = function(it){ | |
return Object(defined(it)); | |
}; | |
/***/ }, | |
@@ -6226,9 +6212,9 @@ | |
*/ | |
"use strict"; | |
- var nullthrows = function nullthrows(x) { | |
+ var nullthrows = function (x) { | |
if (x != null) { | |
return x; | |
} | |
throw new Error("Got unexpected null or undefined"); | |
@@ -6296,12 +6282,10 @@ | |
68, | |
/* 77 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- var hasOwnProperty = ({}).hasOwnProperty; | |
- module.exports = function (it, key) { | |
+ var hasOwnProperty = {}.hasOwnProperty; | |
+ module.exports = function(it, key){ | |
return hasOwnProperty.call(it, key); | |
}; | |
/***/ }, | |
@@ -8216,13 +8200,11 @@ | |
[265, 96, 15], | |
/* 96 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- var toString = ({}).toString; | |
+ var toString = {}.toString; | |
- module.exports = function (it) { | |
+ module.exports = function(it){ | |
return toString.call(it).slice(8, -1); | |
}; | |
/***/ }, | |
@@ -8237,32 +8219,26 @@ | |
/* 101 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// most Object methods by ES6 should accept primitives | |
- 'use strict'; | |
- | |
- module.exports = function (KEY, exec) { | |
- var $def = __webpack_require__(30), | |
- fn = (__webpack_require__(13).Object || {})[KEY] || Object[KEY], | |
- exp = {}; | |
+ module.exports = function(KEY, exec){ | |
+ var $def = __webpack_require__(30) | |
+ , fn = (__webpack_require__(13).Object || {})[KEY] || Object[KEY] | |
+ , exp = {}; | |
exp[KEY] = exec(fn); | |
- $def($def.S + $def.F * __webpack_require__(69)(function () { | |
- fn(1); | |
- }), 'Object', exp); | |
+ $def($def.S + $def.F * __webpack_require__(69)(function(){ fn(1); }), 'Object', exp); | |
}; | |
/***/ }, | |
/* 102 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- module.exports = function (bitmap, value) { | |
+ module.exports = function(bitmap, value){ | |
return { | |
- enumerable: !(bitmap & 1), | |
+ enumerable : !(bitmap & 1), | |
configurable: !(bitmap & 2), | |
- writable: !(bitmap & 4), | |
- value: value | |
+ writable : !(bitmap & 4), | |
+ value : value | |
}; | |
}; | |
/***/ }, | |
@@ -8271,13 +8247,11 @@ | |
/* 104 */ | |
/***/ function(module, exports) { | |
// 7.1.4 ToInteger | |
- "use strict"; | |
- | |
- var ceil = Math.ceil, | |
- floor = Math.floor; | |
- module.exports = function (it) { | |
+ var ceil = Math.ceil | |
+ , floor = Math.floor; | |
+ module.exports = function(it){ | |
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
}; | |
/***/ }, | |
@@ -8637,28 +8611,24 @@ | |
69, | |
/* 119 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
- var ctx = __webpack_require__(116), | |
- call = __webpack_require__(238), | |
- isArrayIter = __webpack_require__(237), | |
- anObject = __webpack_require__(114), | |
- toLength = __webpack_require__(245), | |
- getIterFn = __webpack_require__(247); | |
- module.exports = function (iterable, entries, fn, that) { | |
- var iterFn = getIterFn(iterable), | |
- f = ctx(fn, that, entries ? 2 : 1), | |
- index = 0, | |
- length, | |
- step, | |
- iterator; | |
- if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
+ var ctx = __webpack_require__(116) | |
+ , call = __webpack_require__(238) | |
+ , isArrayIter = __webpack_require__(237) | |
+ , anObject = __webpack_require__(114) | |
+ , toLength = __webpack_require__(245) | |
+ , getIterFn = __webpack_require__(247); | |
+ module.exports = function(iterable, entries, fn, that){ | |
+ var iterFn = getIterFn(iterable) | |
+ , f = ctx(fn, that, entries ? 2 : 1) | |
+ , index = 0 | |
+ , length, step, iterator; | |
+ if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!'); | |
// fast case for arrays with default iterator | |
- if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
+ if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){ | |
entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
- } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
+ } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){ | |
call(iterator, f, step.value, entries); | |
} | |
}; | |
@@ -8667,23 +8637,19 @@ | |
71, | |
/* 121 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- module.exports = function (done, value) { | |
- return { value: value, done: !!done }; | |
+ module.exports = function(done, value){ | |
+ return {value: value, done: !!done}; | |
}; | |
/***/ }, | |
/* 122 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
var $redef = __webpack_require__(124); | |
- module.exports = function (target, src) { | |
- for (var key in src) $redef(target, key, src[key]); | |
+ module.exports = function(target, src){ | |
+ for(var key in src)$redef(target, key, src[key]); | |
return target; | |
}; | |
/***/ }, | |
@@ -8693,12 +8659,10 @@ | |
[274, 24], | |
/* 125 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- module.exports = function (it, Constructor, name) { | |
- if (!(it instanceof Constructor)) throw TypeError(name + ": use the 'new' operator!"); | |
+ module.exports = function(it, Constructor, name){ | |
+ if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!"); | |
return it; | |
}; | |
/***/ }, | |
@@ -8706,13 +8670,11 @@ | |
104, | |
/* 127 */ | |
/***/ function(module, exports) { | |
- 'use strict'; | |
- | |
- var id = 0, | |
- px = Math.random(); | |
- module.exports = function (key) { | |
+ var id = 0 | |
+ , px = Math.random(); | |
+ module.exports = function(key){ | |
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
}; | |
/***/ }, | |
@@ -8814,38 +8776,38 @@ | |
// - Safari 6-7 | |
if (typeof BrowserMutationObserver === "function") { | |
requestFlush = makeRequestCallFromMutationObserver(flush); | |
- // MessageChannels are desirable because they give direct access to the HTML | |
- // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera | |
- // 11-12, and in web workers in many engines. | |
- // Although message channels yield to any queued rendering and IO tasks, they | |
- // would be better than imposing the 4ms delay of timers. | |
- // However, they do not work reliably in Internet Explorer or Safari. | |
- | |
- // Internet Explorer 10 is the only browser that has setImmediate but does | |
- // not have MutationObservers. | |
- // Although setImmediate yields to the browser's renderer, it would be | |
- // preferrable to falling back to setTimeout since it does not have | |
- // the minimum 4ms penalty. | |
- // Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and | |
- // Desktop to a lesser extent) that renders both setImmediate and | |
- // MessageChannel useless for the purposes of ASAP. | |
- // https://github.com/kriskowal/q/issues/396 | |
- | |
- // Timers are implemented universally. | |
- // We fall back to timers in workers in most engines, and in foreground | |
- // contexts in the following browsers. | |
- // However, note that even this simple case requires nuances to operate in a | |
- // broad spectrum of browsers. | |
- // | |
- // - Firefox 3-13 | |
- // - Internet Explorer 6-9 | |
- // - iPad Safari 4.3 | |
- // - Lynx 2.8.7 | |
+ // MessageChannels are desirable because they give direct access to the HTML | |
+ // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera | |
+ // 11-12, and in web workers in many engines. | |
+ // Although message channels yield to any queued rendering and IO tasks, they | |
+ // would be better than imposing the 4ms delay of timers. | |
+ // However, they do not work reliably in Internet Explorer or Safari. | |
+ | |
+ // Internet Explorer 10 is the only browser that has setImmediate but does | |
+ // not have MutationObservers. | |
+ // Although setImmediate yields to the browser's renderer, it would be | |
+ // preferrable to falling back to setTimeout since it does not have | |
+ // the minimum 4ms penalty. | |
+ // Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and | |
+ // Desktop to a lesser extent) that renders both setImmediate and | |
+ // MessageChannel useless for the purposes of ASAP. | |
+ // https://github.com/kriskowal/q/issues/396 | |
+ | |
+ // Timers are implemented universally. | |
+ // We fall back to timers in workers in most engines, and in foreground | |
+ // contexts in the following browsers. | |
+ // However, note that even this simple case requires nuances to operate in a | |
+ // broad spectrum of browsers. | |
+ // | |
+ // - Firefox 3-13 | |
+ // - Internet Explorer 6-9 | |
+ // - iPad Safari 4.3 | |
+ // - Lynx 2.8.7 | |
} else { | |
- requestFlush = makeRequestCallFromTimer(flush); | |
- } | |
+ requestFlush = makeRequestCallFromTimer(flush); | |
+ } | |
// `requestFlush` requests that the high priority event queue be flushed as | |
// soon as possible. | |
// This is useful to prevent an error thrown in a task from stalling the event | |
@@ -8858,9 +8820,9 @@ | |
function makeRequestCallFromMutationObserver(callback) { | |
var toggle = 1; | |
var observer = new BrowserMutationObserver(callback); | |
var node = document.createTextNode(""); | |
- observer.observe(node, { characterData: true }); | |
+ observer.observe(node, {characterData: true}); | |
return function requestCall() { | |
toggle = -toggle; | |
node.data = toggle; | |
}; | |
@@ -8938,8 +8900,9 @@ | |
// amendments. These decisions, particularly to marginalize MessageChannel and | |
// to capture the MutationObserver implementation in a closure, were integrated | |
// back into ASAP proper. | |
// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js | |
+ | |
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) | |
/***/ }, | |
/* 129 */ | |
@@ -15861,9 +15824,13 @@ | |
children = null; | |
shouldUpdate = false; | |
} | |
} | |
- return React.createElement(StaticContainer, { shouldUpdate: shouldUpdate }, children); | |
+ return React.createElement( | |
+ StaticContainer, | |
+ { shouldUpdate: shouldUpdate }, | |
+ children | |
+ ); | |
}; | |
return RelayRootContainer; | |
})(React.Component); | |
@@ -19481,176 +19448,141 @@ | |
/***/ }, | |
/* 181 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(187), __esModule: true }; | |
/***/ }, | |
/* 182 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(188), __esModule: true }; | |
/***/ }, | |
/* 183 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(189), __esModule: true }; | |
/***/ }, | |
/* 184 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(191), __esModule: true }; | |
/***/ }, | |
/* 185 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(192), __esModule: true }; | |
/***/ }, | |
/* 186 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- "use strict"; | |
- | |
module.exports = { "default": __webpack_require__(195), __esModule: true }; | |
/***/ }, | |
/* 187 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(73); | |
__webpack_require__(216); | |
module.exports = __webpack_require__(13).Array.from; | |
/***/ }, | |
/* 188 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(106); | |
__webpack_require__(73); | |
module.exports = __webpack_require__(214); | |
/***/ }, | |
/* 189 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(106); | |
__webpack_require__(73); | |
module.exports = __webpack_require__(215); | |
/***/ }, | |
/* 190 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(218); | |
module.exports = __webpack_require__(13).Object.assign; | |
/***/ }, | |
/* 191 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
var $ = __webpack_require__(18); | |
- module.exports = function create(P, D) { | |
+ module.exports = function create(P, D){ | |
return $.create(P, D); | |
}; | |
/***/ }, | |
/* 192 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
var $ = __webpack_require__(18); | |
- module.exports = function defineProperty(it, key, desc) { | |
+ module.exports = function defineProperty(it, key, desc){ | |
return $.setDesc(it, key, desc); | |
}; | |
/***/ }, | |
/* 193 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(219); | |
module.exports = __webpack_require__(13).Object.freeze; | |
/***/ }, | |
/* 194 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(220); | |
module.exports = __webpack_require__(13).Object.keys; | |
/***/ }, | |
/* 195 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(221); | |
module.exports = __webpack_require__(13).Object.setPrototypeOf; | |
/***/ }, | |
/* 196 */ | |
/***/ function(module, exports) { | |
- 'use strict'; | |
- | |
- module.exports = function (it) { | |
- if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
+ module.exports = function(it){ | |
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!'); | |
return it; | |
}; | |
/***/ }, | |
/* 197 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 19.1.2.1 Object.assign(target, source, ...) | |
- 'use strict'; | |
+ var toObject = __webpack_require__(72) | |
+ , IObject = __webpack_require__(99) | |
+ , enumKeys = __webpack_require__(198); | |
- var toObject = __webpack_require__(72), | |
- IObject = __webpack_require__(99), | |
- enumKeys = __webpack_require__(198); | |
- | |
- module.exports = __webpack_require__(69)(function () { | |
+ module.exports = __webpack_require__(69)(function(){ | |
return Symbol() in Object.assign({}); // Object.assign available and Symbol is native | |
- }) ? function assign(target, source) { | |
- // eslint-disable-line no-unused-vars | |
- var T = toObject(target), | |
- l = arguments.length, | |
- i = 1; | |
- while (l > i) { | |
- var S = IObject(arguments[i++]), | |
- keys = enumKeys(S), | |
- length = keys.length, | |
- j = 0, | |
- key; | |
- while (length > j) T[key = keys[j++]] = S[key]; | |
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars | |
+ var T = toObject(target) | |
+ , l = arguments.length | |
+ , i = 1; | |
+ while(l > i){ | |
+ var S = IObject(arguments[i++]) | |
+ , keys = enumKeys(S) | |
+ , length = keys.length | |
+ , j = 0 | |
+ , key; | |
+ while(length > j)T[key = keys[j++]] = S[key]; | |
} | |
return T; | |
} : Object.assign; | |
@@ -19658,20 +19590,18 @@ | |
/* 198 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// all enumerable object keys, includes symbols | |
- 'use strict'; | |
- | |
var $ = __webpack_require__(18); | |
- module.exports = function (it) { | |
- var keys = $.getKeys(it), | |
- getSymbols = $.getSymbols; | |
- if (getSymbols) { | |
- var symbols = getSymbols(it), | |
- isEnum = $.isEnum, | |
- i = 0, | |
- key; | |
- while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) keys.push(key); | |
+ module.exports = function(it){ | |
+ var keys = $.getKeys(it) | |
+ , getSymbols = $.getSymbols; | |
+ if(getSymbols){ | |
+ var symbols = getSymbols(it) | |
+ , isEnum = $.isEnum | |
+ , i = 0 | |
+ , key; | |
+ while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key); | |
} | |
return keys; | |
}; | |
@@ -19684,35 +19614,25 @@ | |
[272, 18, 44, 15, 102, 103], | |
/* 202 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
- var SYMBOL_ITERATOR = __webpack_require__(15)('iterator'), | |
- SAFE_CLOSING = false; | |
+ var SYMBOL_ITERATOR = __webpack_require__(15)('iterator') | |
+ , SAFE_CLOSING = false; | |
try { | |
var riter = [7][SYMBOL_ITERATOR](); | |
- riter['return'] = function () { | |
- SAFE_CLOSING = true; | |
- }; | |
- Array.from(riter, function () { | |
- throw 2; | |
- }); | |
- } catch (e) {/* empty */} | |
- module.exports = function (exec) { | |
- if (!SAFE_CLOSING) return false; | |
+ riter['return'] = function(){ SAFE_CLOSING = true; }; | |
+ Array.from(riter, function(){ throw 2; }); | |
+ } catch(e){ /* empty */ } | |
+ module.exports = function(exec){ | |
+ if(!SAFE_CLOSING)return false; | |
var safe = false; | |
try { | |
- var arr = [7], | |
- iter = arr[SYMBOL_ITERATOR](); | |
- iter.next = function () { | |
- safe = true; | |
- }; | |
- arr[SYMBOL_ITERATOR] = function () { | |
- return iter; | |
- }; | |
+ var arr = [7] | |
+ , iter = arr[SYMBOL_ITERATOR](); | |
+ iter.next = function(){ safe = true; }; | |
+ arr[SYMBOL_ITERATOR] = function(){ return iter; }; | |
exec(arr); | |
- } catch (e) {/* empty */} | |
+ } catch(e){ /* empty */ } | |
return safe; | |
}; | |
/***/ }, | |
@@ -19720,10 +19640,8 @@ | |
121, | |
/* 204 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
module.exports = true; | |
/***/ }, | |
/* 205 */ | |
@@ -19732,32 +19650,30 @@ | |
/***/ function(module, exports, __webpack_require__) { | |
// Works with __proto__ only. Old v8 can't work with null proto objects. | |
/* eslint-disable no-proto */ | |
- 'use strict'; | |
- | |
- var getDesc = __webpack_require__(18).getDesc, | |
- isObject = __webpack_require__(71), | |
- anObject = __webpack_require__(67); | |
- var check = function check(O, proto) { | |
+ var getDesc = __webpack_require__(18).getDesc | |
+ , isObject = __webpack_require__(71) | |
+ , anObject = __webpack_require__(67); | |
+ var check = function(O, proto){ | |
anObject(O); | |
- if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
+ if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!"); | |
}; | |
module.exports = { | |
set: Object.setPrototypeOf || ('__proto__' in {} // eslint-disable-line | |
- ? (function (buggy, set) { | |
- try { | |
- set = __webpack_require__(97)(Function.call, getDesc(Object.prototype, '__proto__').set, 2); | |
- set({}, []); | |
- } catch (e) { | |
- buggy = true; | |
- } | |
- return function setPrototypeOf(O, proto) { | |
- check(O, proto); | |
- if (buggy) O.__proto__ = proto;else set(O, proto); | |
- return O; | |
- }; | |
- })() : undefined), | |
+ ? function(buggy, set){ | |
+ try { | |
+ set = __webpack_require__(97)(Function.call, getDesc(Object.prototype, '__proto__').set, 2); | |
+ set({}, []); | |
+ } catch(e){ buggy = true; } | |
+ return function setPrototypeOf(O, proto){ | |
+ check(O, proto); | |
+ if(buggy)O.__proto__ = proto; | |
+ else set(O, proto); | |
+ return O; | |
+ }; | |
+ }() | |
+ : undefined), | |
check: check | |
}; | |
/***/ }, | |
@@ -19775,36 +19691,30 @@ | |
127, | |
/* 213 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
- | |
- module.exports = function () {/* empty */}; | |
+ module.exports = function(){ /* empty */ }; | |
/***/ }, | |
/* 214 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
- var anObject = __webpack_require__(67), | |
- get = __webpack_require__(105); | |
- module.exports = __webpack_require__(13).getIterator = function (it) { | |
+ var anObject = __webpack_require__(67) | |
+ , get = __webpack_require__(105); | |
+ module.exports = __webpack_require__(13).getIterator = function(it){ | |
var iterFn = get(it); | |
- if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); | |
+ if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!'); | |
return anObject(iterFn.call(it)); | |
}; | |
/***/ }, | |
/* 215 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
- var classof = __webpack_require__(95), | |
- ITERATOR = __webpack_require__(15)('iterator'), | |
- Iterators = __webpack_require__(23); | |
- module.exports = __webpack_require__(13).isIterable = function (it) { | |
+ var classof = __webpack_require__(95) | |
+ , ITERATOR = __webpack_require__(15)('iterator') | |
+ , Iterators = __webpack_require__(23); | |
+ module.exports = __webpack_require__(13).isIterable = function(it){ | |
var O = Object(it); | |
return ITERATOR in O || '@@iterator' in O || Iterators.hasOwnProperty(classof(O)); | |
}; | |
@@ -19812,38 +19722,33 @@ | |
/* 216 */ | |
/***/ function(module, exports, __webpack_require__) { | |
'use strict'; | |
- var ctx = __webpack_require__(97), | |
- $def = __webpack_require__(30), | |
- toObject = __webpack_require__(72), | |
- call = __webpack_require__(200), | |
- isArrayIter = __webpack_require__(199), | |
- toLength = __webpack_require__(211), | |
- getIterFn = __webpack_require__(105); | |
- $def($def.S + $def.F * !__webpack_require__(202)(function (iter) { | |
- Array.from(iter); | |
- }), 'Array', { | |
+ var ctx = __webpack_require__(97) | |
+ , $def = __webpack_require__(30) | |
+ , toObject = __webpack_require__(72) | |
+ , call = __webpack_require__(200) | |
+ , isArrayIter = __webpack_require__(199) | |
+ , toLength = __webpack_require__(211) | |
+ , getIterFn = __webpack_require__(105); | |
+ $def($def.S + $def.F * !__webpack_require__(202)(function(iter){ Array.from(iter); }), 'Array', { | |
// 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
- from: function from(arrayLike /*, mapfn = undefined, thisArg = undefined*/) { | |
- var O = toObject(arrayLike), | |
- C = typeof this == 'function' ? this : Array, | |
- mapfn = arguments[1], | |
- mapping = mapfn !== undefined, | |
- index = 0, | |
- iterFn = getIterFn(O), | |
- length, | |
- result, | |
- step, | |
- iterator; | |
- if (mapping) mapfn = ctx(mapfn, arguments[2], 2); | |
+ from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){ | |
+ var O = toObject(arrayLike) | |
+ , C = typeof this == 'function' ? this : Array | |
+ , mapfn = arguments[1] | |
+ , mapping = mapfn !== undefined | |
+ , index = 0 | |
+ , iterFn = getIterFn(O) | |
+ , length, result, step, iterator; | |
+ if(mapping)mapfn = ctx(mapfn, arguments[2], 2); | |
// if object isn't iterable or it's array with default iterator - use simple case | |
- if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
- for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
+ if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){ | |
+ for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){ | |
result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value; | |
} | |
} else { | |
- for (result = new C(length = toLength(O.length)); length > index; index++) { | |
+ for(result = new C(length = toLength(O.length)); length > index; index++){ | |
result[index] = mapping ? mapfn(O[index], index) : O[index]; | |
} | |
} | |
result.length = index; | |
@@ -19857,25 +19762,21 @@ | |
/* 218 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 19.1.3.1 Object.assign(target, source) | |
- 'use strict'; | |
- | |
var $def = __webpack_require__(30); | |
- $def($def.S + $def.F, 'Object', { assign: __webpack_require__(197) }); | |
+ $def($def.S + $def.F, 'Object', {assign: __webpack_require__(197)}); | |
/***/ }, | |
/* 219 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 19.1.2.5 Object.freeze(O) | |
- 'use strict'; | |
- | |
var isObject = __webpack_require__(71); | |
- __webpack_require__(101)('freeze', function ($freeze) { | |
- return function freeze(it) { | |
+ __webpack_require__(101)('freeze', function($freeze){ | |
+ return function freeze(it){ | |
return $freeze && isObject(it) ? $freeze(it) : it; | |
}; | |
}); | |
@@ -19883,14 +19784,12 @@ | |
/* 220 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 19.1.2.14 Object.keys(O) | |
- 'use strict'; | |
- | |
var toObject = __webpack_require__(72); | |
- __webpack_require__(101)('keys', function ($keys) { | |
- return function keys(it) { | |
+ __webpack_require__(101)('keys', function($keys){ | |
+ return function keys(it){ | |
return $keys(toObject(it)); | |
}; | |
}); | |
@@ -19898,12 +19797,10 @@ | |
/* 221 */ | |
/***/ function(module, exports, __webpack_require__) { | |
// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
- 'use strict'; | |
- | |
var $def = __webpack_require__(30); | |
- $def($def.S, 'Object', { setPrototypeOf: __webpack_require__(206).set }); | |
+ $def($def.S, 'Object', {setPrototypeOf: __webpack_require__(206).set}); | |
/***/ }, | |
/* 222 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -19926,13 +19823,9 @@ | |
* Also unlike a normal map, a key can either be resolved or rejected. | |
*/ | |
'use strict'; | |
- function _classCallCheck(instance, Constructor) { | |
- if (!(instance instanceof Constructor)) { | |
- throw new TypeError('Cannot call a class as a function'); | |
- } | |
- } | |
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | |
var Deferred = __webpack_require__(45); | |
var invariant = __webpack_require__(1); | |
@@ -19994,13 +19887,9 @@ | |
Object.defineProperty(exports, '__esModule', { | |
value: true | |
}); | |
- 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 _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 ExecutionEnvironment = __webpack_require__(107); | |
var Promise = __webpack_require__(16); | |
@@ -20246,9 +20135,9 @@ | |
* | |
* @param {object} obj | |
* @return {object} | |
*/ | |
- var keyMirror = function keyMirror(obj) { | |
+ var keyMirror = function (obj) { | |
var ret = {}; | |
var key; | |
!(obj instanceof Object && !Array.isArray(obj)) ? true ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : undefined; | |
for (key in obj) { | |
@@ -20410,10 +20299,8 @@ | |
/***/ }, | |
/* 231 */ | |
/***/ function(module, exports, __webpack_require__) { | |
- 'use strict'; | |
- | |
__webpack_require__(250); | |
__webpack_require__(251); | |
__webpack_require__(252); | |
__webpack_require__(249); | |
@@ -20427,161 +20314,159 @@ | |
/* 234 */ | |
/***/ function(module, exports, __webpack_require__) { | |
'use strict'; | |
- var $ = __webpack_require__(25), | |
- hide = __webpack_require__(24), | |
- ctx = __webpack_require__(116), | |
- species = __webpack_require__(242), | |
- strictNew = __webpack_require__(125), | |
- defined = __webpack_require__(76), | |
- forOf = __webpack_require__(119), | |
- step = __webpack_require__(121), | |
- ID = __webpack_require__(127)('id'), | |
- $has = __webpack_require__(77), | |
- isObject = __webpack_require__(120), | |
- isExtensible = Object.isExtensible || isObject, | |
- SUPPORT_DESC = __webpack_require__(51), | |
- SIZE = SUPPORT_DESC ? '_s' : 'size', | |
- id = 0; | |
+ var $ = __webpack_require__(25) | |
+ , hide = __webpack_require__(24) | |
+ , ctx = __webpack_require__(116) | |
+ , species = __webpack_require__(242) | |
+ , strictNew = __webpack_require__(125) | |
+ , defined = __webpack_require__(76) | |
+ , forOf = __webpack_require__(119) | |
+ , step = __webpack_require__(121) | |
+ , ID = __webpack_require__(127)('id') | |
+ , $has = __webpack_require__(77) | |
+ , isObject = __webpack_require__(120) | |
+ , isExtensible = Object.isExtensible || isObject | |
+ , SUPPORT_DESC = __webpack_require__(51) | |
+ , SIZE = SUPPORT_DESC ? '_s' : 'size' | |
+ , id = 0; | |
- var fastKey = function fastKey(it, create) { | |
+ var fastKey = function(it, create){ | |
// return primitive with prefix | |
- if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
- if (!$has(it, ID)) { | |
+ if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
+ if(!$has(it, ID)){ | |
// can't set id to frozen object | |
- if (!isExtensible(it)) return 'F'; | |
+ if(!isExtensible(it))return 'F'; | |
// not necessary to add id | |
- if (!create) return 'E'; | |
+ if(!create)return 'E'; | |
// add missing object id | |
hide(it, ID, ++id); | |
- // return object id with prefix | |
- }return 'O' + it[ID]; | |
+ // return object id with prefix | |
+ } return 'O' + it[ID]; | |
}; | |
- var getEntry = function getEntry(that, key) { | |
+ var getEntry = function(that, key){ | |
// fast case | |
- var index = fastKey(key), | |
- entry; | |
- if (index !== 'F') return that._i[index]; | |
+ var index = fastKey(key), entry; | |
+ if(index !== 'F')return that._i[index]; | |
// frozen object case | |
- for (entry = that._f; entry; entry = entry.n) { | |
- if (entry.k == key) return entry; | |
+ for(entry = that._f; entry; entry = entry.n){ | |
+ if(entry.k == key)return entry; | |
} | |
}; | |
module.exports = { | |
- getConstructor: function getConstructor(wrapper, NAME, IS_MAP, ADDER) { | |
- var C = wrapper(function (that, iterable) { | |
+ getConstructor: function(wrapper, NAME, IS_MAP, ADDER){ | |
+ var C = wrapper(function(that, iterable){ | |
strictNew(that, C, NAME); | |
that._i = $.create(null); // index | |
- that._f = undefined; // first entry | |
- that._l = undefined; // last entry | |
- that[SIZE] = 0; // size | |
- if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
+ that._f = undefined; // first entry | |
+ that._l = undefined; // last entry | |
+ that[SIZE] = 0; // size | |
+ if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that); | |
}); | |
__webpack_require__(122)(C.prototype, { | |
// 23.1.3.1 Map.prototype.clear() | |
// 23.2.3.2 Set.prototype.clear() | |
- clear: function clear() { | |
- for (var that = this, data = that._i, entry = that._f; entry; entry = entry.n) { | |
+ clear: function clear(){ | |
+ for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){ | |
entry.r = true; | |
- if (entry.p) entry.p = entry.p.n = undefined; | |
+ if(entry.p)entry.p = entry.p.n = undefined; | |
delete data[entry.i]; | |
} | |
that._f = that._l = undefined; | |
that[SIZE] = 0; | |
}, | |
// 23.1.3.3 Map.prototype.delete(key) | |
// 23.2.3.4 Set.prototype.delete(value) | |
- 'delete': function _delete(key) { | |
- var that = this, | |
- entry = getEntry(that, key); | |
- if (entry) { | |
- var next = entry.n, | |
- prev = entry.p; | |
+ 'delete': function(key){ | |
+ var that = this | |
+ , entry = getEntry(that, key); | |
+ if(entry){ | |
+ var next = entry.n | |
+ , prev = entry.p; | |
delete that._i[entry.i]; | |
entry.r = true; | |
- if (prev) prev.n = next; | |
- if (next) next.p = prev; | |
- if (that._f == entry) that._f = next; | |
- if (that._l == entry) that._l = prev; | |
+ if(prev)prev.n = next; | |
+ if(next)next.p = prev; | |
+ if(that._f == entry)that._f = next; | |
+ if(that._l == entry)that._l = prev; | |
that[SIZE]--; | |
- }return !!entry; | |
+ } return !!entry; | |
}, | |
// 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) | |
// 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) | |
- forEach: function forEach(callbackfn /*, that = undefined */) { | |
- var f = ctx(callbackfn, arguments[1], 3), | |
- entry; | |
- while (entry = entry ? entry.n : this._f) { | |
+ forEach: function forEach(callbackfn /*, that = undefined */){ | |
+ var f = ctx(callbackfn, arguments[1], 3) | |
+ , entry; | |
+ while(entry = entry ? entry.n : this._f){ | |
f(entry.v, entry.k, this); | |
// revert to the last existing entry | |
- while (entry && entry.r) entry = entry.p; | |
+ while(entry && entry.r)entry = entry.p; | |
} | |
}, | |
// 23.1.3.7 Map.prototype.has(key) | |
// 23.2.3.7 Set.prototype.has(value) | |
- has: function has(key) { | |
+ has: function has(key){ | |
return !!getEntry(this, key); | |
} | |
}); | |
- if (SUPPORT_DESC) $.setDesc(C.prototype, 'size', { | |
- get: function get() { | |
+ if(SUPPORT_DESC)$.setDesc(C.prototype, 'size', { | |
+ get: function(){ | |
return defined(this[SIZE]); | |
} | |
}); | |
return C; | |
}, | |
- def: function def(that, key, value) { | |
- var entry = getEntry(that, key), | |
- prev, | |
- index; | |
+ def: function(that, key, value){ | |
+ var entry = getEntry(that, key) | |
+ , prev, index; | |
// change existing entry | |
- if (entry) { | |
+ if(entry){ | |
entry.v = value; | |
- // create new entry | |
+ // create new entry | |
} else { | |
- that._l = entry = { | |
- i: index = fastKey(key, true), // <- index | |
- k: key, // <- key | |
- v: value, // <- value | |
- p: prev = that._l, // <- previous entry | |
- n: undefined, // <- next entry | |
- r: false // <- removed | |
- }; | |
- if (!that._f) that._f = entry; | |
- if (prev) prev.n = entry; | |
- that[SIZE]++; | |
- // add to index | |
- if (index !== 'F') that._i[index] = entry; | |
- }return that; | |
+ that._l = entry = { | |
+ i: index = fastKey(key, true), // <- index | |
+ k: key, // <- key | |
+ v: value, // <- value | |
+ p: prev = that._l, // <- previous entry | |
+ n: undefined, // <- next entry | |
+ r: false // <- removed | |
+ }; | |
+ if(!that._f)that._f = entry; | |
+ if(prev)prev.n = entry; | |
+ that[SIZE]++; | |
+ // add to index | |
+ if(index !== 'F')that._i[index] = entry; | |
+ } return that; | |
}, | |
getEntry: getEntry, | |
- setStrong: function setStrong(C, NAME, IS_MAP) { | |
+ setStrong: function(C, NAME, IS_MAP){ | |
// add .keys, .values, .entries, [@@iterator] | |
// 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 | |
- __webpack_require__(78)(C, NAME, function (iterated, kind) { | |
- this._t = iterated; // target | |
- this._k = kind; // kind | |
+ __webpack_require__(78)(C, NAME, function(iterated, kind){ | |
+ this._t = iterated; // target | |
+ this._k = kind; // kind | |
this._l = undefined; // previous | |
- }, function () { | |
- var that = this, | |
- kind = that._k, | |
- entry = that._l; | |
+ }, function(){ | |
+ var that = this | |
+ , kind = that._k | |
+ , entry = that._l; | |
// revert to the last existing entry | |
- while (entry && entry.r) entry = entry.p; | |
+ while(entry && entry.r)entry = entry.p; | |
// get next entry | |
- if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { | |
+ if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){ | |
// or finish the iteration | |
that._t = undefined; | |
return step(1); | |
} | |
// return step by kind | |
- if (kind == 'keys') return step(0, entry.k); | |
- if (kind == 'values') return step(0, entry.v); | |
+ if(kind == 'keys' )return step(0, entry.k); | |
+ if(kind == 'values')return step(0, entry.v); | |
return step(0, [entry.k, entry.v]); | |
- }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); | |
+ }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true); | |
// add [@@species], 23.1.2.2, 23.2.2.2 | |
species(C); | |
species(__webpack_require__(49)[NAME]); // for wrapper | |
@@ -20592,41 +20477,41 @@ | |
/* 235 */ | |
/***/ function(module, exports, __webpack_require__) { | |
'use strict'; | |
- var $ = __webpack_require__(25), | |
- $def = __webpack_require__(117), | |
- hide = __webpack_require__(24), | |
- forOf = __webpack_require__(119), | |
- strictNew = __webpack_require__(125); | |
- | |
- module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { | |
- var Base = __webpack_require__(50)[NAME], | |
- C = Base, | |
- ADDER = IS_MAP ? 'set' : 'add', | |
- proto = C && C.prototype, | |
- O = {}; | |
- if (!__webpack_require__(51) || typeof C != 'function' || !(IS_WEAK || proto.forEach && !__webpack_require__(118)(function () { | |
- new C().entries().next(); | |
- }))) { | |
+ var $ = __webpack_require__(25) | |
+ , $def = __webpack_require__(117) | |
+ , hide = __webpack_require__(24) | |
+ , forOf = __webpack_require__(119) | |
+ , strictNew = __webpack_require__(125); | |
+ | |
+ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){ | |
+ var Base = __webpack_require__(50)[NAME] | |
+ , C = Base | |
+ , ADDER = IS_MAP ? 'set' : 'add' | |
+ , proto = C && C.prototype | |
+ , O = {}; | |
+ if(!__webpack_require__(51) || typeof C != 'function' | |
+ || !(IS_WEAK || proto.forEach && !__webpack_require__(118)(function(){ new C().entries().next(); })) | |
+ ){ | |
// create collection constructor | |
C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); | |
__webpack_require__(122)(C.prototype, methods); | |
} else { | |
- C = wrapper(function (target, iterable) { | |
+ C = wrapper(function(target, iterable){ | |
strictNew(target, C, NAME); | |
- target._c = new Base(); | |
- if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); | |
+ target._c = new Base; | |
+ if(iterable != undefined)forOf(iterable, IS_MAP, target[ADDER], target); | |
}); | |
- $.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','), function (KEY) { | |
+ $.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','),function(KEY){ | |
var chain = KEY == 'add' || KEY == 'set'; | |
- if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { | |
+ if(KEY in proto && !(IS_WEAK && KEY == 'clear'))hide(C.prototype, KEY, function(a, b){ | |
var result = this._c[KEY](a === 0 ? 0 : a, b); | |
return chain ? this : result; | |
}); | |
}); | |
- if ('size' in proto) $.setDesc(C.prototype, 'size', { | |
- get: function get() { | |
+ if('size' in proto)$.setDesc(C.prototype, 'size', { | |
+ get: function(){ | |
return this._c.size; | |
} | |
}); | |
} | |
@@ -20635,9 +20520,9 @@ | |
O[NAME] = C; | |
$def($def.G + $def.W + $def.F, O); | |
- if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); | |
+ if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP); | |
return C; | |
}; | |
@@ -20657,16 +20542,14 @@ | |
/* 242 */ | |
/***/ function(module, exports, __webpack_require__) { | |
'use strict'; | |
- var $ = __webpack_require__(25), | |
- SPECIES = __webpack_require__(20)('species'); | |
- module.exports = function (C) { | |
- if (__webpack_require__(51) && !(SPECIES in C)) $.setDesc(C, SPECIES, { | |
+ var $ = __webpack_require__(25) | |
+ , SPECIES = __webpack_require__(20)('species'); | |
+ module.exports = function(C){ | |
+ if(__webpack_require__(51) && !(SPECIES in C))$.setDesc(C, SPECIES, { | |
configurable: true, | |
- get: function get() { | |
- return this; | |
- } | |
+ get: function(){ return this; } | |
}); | |
}; | |
/***/ }, | |
@@ -20688,29 +20571,27 @@ | |
'use strict'; | |
var strong = __webpack_require__(234); | |
// 23.1 Map Objects | |
- __webpack_require__(235)('Map', function (get) { | |
- return function Map() { | |
- return get(this, arguments[0]); | |
- }; | |
+ __webpack_require__(235)('Map', function(get){ | |
+ return function Map(){ return get(this, arguments[0]); }; | |
}, { | |
// 23.1.3.6 Map.prototype.get(key) | |
- get: function get(key) { | |
+ get: function get(key){ | |
var entry = strong.getEntry(this, key); | |
return entry && entry.v; | |
}, | |
// 23.1.3.9 Map.prototype.set(key, value) | |
- set: function set(key, value) { | |
+ set: function set(key, value){ | |
return strong.def(this, key === 0 ? 0 : key, value); | |
} | |
}, strong, true); | |
/***/ }, | |
/* 250 */ | |
/***/ function(module, exports) { | |
- "use strict"; | |
+ | |
/***/ }, | |
/* 251 */ | |
[284, 243, 78], | |
@@ -20720,9 +20601,10 @@ | |
/***/ function(module, exports, __webpack_require__) { | |
'use strict'; | |
- module.exports = __webpack_require__(257); | |
+ module.exports = __webpack_require__(257) | |
+ | |
/***/ }, | |
/* 254 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -20740,8 +20622,9 @@ | |
}, 0); | |
}); | |
}; | |
+ | |
/***/ }, | |
/* 255 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -20798,48 +20681,34 @@ | |
return new Promise(function (resolve, reject) { | |
if (args.length === 0) return resolve([]); | |
var remaining = args.length; | |
- function res(_x, _x2) { | |
- var _again = true; | |
- | |
- _function: while (_again) { | |
- var i = _x, | |
- val = _x2; | |
- then = p = undefined; | |
- _again = false; | |
- | |
- if (val && (typeof val === 'object' || typeof val === 'function')) { | |
- if (val instanceof Promise && val.then === Promise.prototype.then) { | |
- while (val._37 === 3) { | |
- val = val._12; | |
- } | |
- if (val._37 === 1) { | |
- _x = i; | |
- _x2 = val._12; | |
- _again = true; | |
- continue _function; | |
- } | |
- if (val._37 === 2) reject(val._12); | |
- val.then(function (val) { | |
+ function res(i, val) { | |
+ if (val && (typeof val === 'object' || typeof val === 'function')) { | |
+ if (val instanceof Promise && val.then === Promise.prototype.then) { | |
+ while (val._37 === 3) { | |
+ val = val._12; | |
+ } | |
+ if (val._37 === 1) return res(i, val._12); | |
+ if (val._37 === 2) reject(val._12); | |
+ val.then(function (val) { | |
+ res(i, val); | |
+ }, reject); | |
+ return; | |
+ } else { | |
+ var then = val.then; | |
+ if (typeof then === 'function') { | |
+ var p = new Promise(then.bind(val)); | |
+ p.then(function (val) { | |
res(i, val); | |
}, reject); | |
return; | |
- } else { | |
- var then = val.then; | |
- if (typeof then === 'function') { | |
- var p = new Promise(then.bind(val)); | |
- p.then(function (val) { | |
- res(i, val); | |
- }, reject); | |
- return; | |
- } | |
} | |
} | |
- args[i] = val; | |
- if (--remaining === 0) { | |
- resolve(args); | |
- } | |
+ } | |
+ args[i] = val; | |
+ if (--remaining === 0) { | |
+ resolve(args); | |
} | |
} | |
for (var i = 0; i < args.length; i++) { | |
res(i, args[i]); | |
@@ -20854,9 +20723,9 @@ | |
}; | |
Promise.race = function (values) { | |
return new Promise(function (resolve, reject) { | |
- values.forEach(function (value) { | |
+ values.forEach(function(value){ | |
Promise.resolve(value).then(resolve, reject); | |
}); | |
}); | |
}; | |
@@ -20866,8 +20735,9 @@ | |
Promise.prototype['catch'] = function (onRejected) { | |
return this.then(null, onRejected); | |
}; | |
+ | |
/***/ }, | |
/* 256 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -20887,8 +20757,9 @@ | |
}); | |
}); | |
}; | |
+ | |
/***/ }, | |
/* 257 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -20899,8 +20770,9 @@ | |
__webpack_require__(256); | |
__webpack_require__(255); | |
__webpack_require__(258); | |
+ | |
/***/ }, | |
/* 258 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -20919,24 +20791,33 @@ | |
Promise.denodeify = function (fn, argumentCount) { | |
argumentCount = argumentCount || Infinity; | |
return function () { | |
var self = this; | |
- var args = Array.prototype.slice.call(arguments, 0, argumentCount > 0 ? argumentCount : 0); | |
+ var args = Array.prototype.slice.call(arguments, 0, | |
+ argumentCount > 0 ? argumentCount : 0); | |
return new Promise(function (resolve, reject) { | |
args.push(function (err, res) { | |
- if (err) reject(err);else resolve(res); | |
- }); | |
+ if (err) reject(err); | |
+ else resolve(res); | |
+ }) | |
var res = fn.apply(self, args); | |
- if (res && (typeof res === 'object' || typeof res === 'function') && typeof res.then === 'function') { | |
+ if (res && | |
+ ( | |
+ typeof res === 'object' || | |
+ typeof res === 'function' | |
+ ) && | |
+ typeof res.then === 'function' | |
+ ) { | |
resolve(res); | |
} | |
- }); | |
- }; | |
- }; | |
+ }) | |
+ } | |
+ } | |
Promise.nodeify = function (fn) { | |
return function () { | |
var args = Array.prototype.slice.call(arguments); | |
- var callback = typeof args[args.length - 1] === 'function' ? args.pop() : null; | |
+ var callback = | |
+ typeof args[args.length - 1] === 'function' ? args.pop() : null; | |
var ctx = this; | |
try { | |
return fn.apply(this, arguments).nodeify(callback, ctx); | |
} catch (ex) { | |
@@ -20946,13 +20827,13 @@ | |
}); | |
} else { | |
asap(function () { | |
callback.call(ctx, ex); | |
- }); | |
+ }) | |
} | |
} | |
- }; | |
- }; | |
+ } | |
+ } | |
Promise.prototype.nodeify = function (callback, ctx) { | |
if (typeof callback != 'function') return this; | |
@@ -20964,9 +20845,10 @@ | |
asap(function () { | |
callback.call(ctx, err); | |
}); | |
}); | |
- }; | |
+ } | |
+ | |
/***/ }, | |
/* 259 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -21037,343 +20919,345 @@ | |
freeTasks[freeTasks.length] = this; | |
} | |
}; | |
+ | |
/***/ }, | |
/* 260 */ | |
/***/ function(module, exports) { | |
- 'use strict'; | |
- | |
- (function () { | |
+ (function() { | |
'use strict'; | |
if (self.fetch) { | |
- return; | |
+ return | |
} | |
function normalizeName(name) { | |
if (typeof name !== 'string') { | |
name = name.toString(); | |
} | |
if (/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)) { | |
- throw new TypeError('Invalid character in header field name'); | |
+ throw new TypeError('Invalid character in header field name') | |
} | |
- return name.toLowerCase(); | |
+ return name.toLowerCase() | |
} | |
function normalizeValue(value) { | |
if (typeof value !== 'string') { | |
value = value.toString(); | |
} | |
- return value; | |
+ return value | |
} | |
function Headers(headers) { | |
- this.map = {}; | |
+ this.map = {} | |
if (headers instanceof Headers) { | |
- headers.forEach(function (value, name) { | |
- this.append(name, value); | |
- }, this); | |
+ 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); | |
+ 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 list = this.map[name]; | |
+ Headers.prototype.append = function(name, value) { | |
+ name = normalizeName(name) | |
+ value = normalizeValue(value) | |
+ var list = this.map[name] | |
if (!list) { | |
- list = []; | |
- this.map[name] = list; | |
+ list = [] | |
+ this.map[name] = list | |
} | |
- list.push(value); | |
- }; | |
+ list.push(value) | |
+ } | |
- Headers.prototype['delete'] = function (name) { | |
- delete this.map[normalizeName(name)]; | |
- }; | |
+ Headers.prototype['delete'] = function(name) { | |
+ delete this.map[normalizeName(name)] | |
+ } | |
- Headers.prototype.get = function (name) { | |
- var values = this.map[normalizeName(name)]; | |
- return values ? values[0] : null; | |
- }; | |
+ Headers.prototype.get = function(name) { | |
+ var values = this.map[normalizeName(name)] | |
+ return values ? values[0] : null | |
+ } | |
- Headers.prototype.getAll = function (name) { | |
- return this.map[normalizeName(name)] || []; | |
- }; | |
+ Headers.prototype.getAll = function(name) { | |
+ return this.map[normalizeName(name)] || [] | |
+ } | |
- Headers.prototype.has = function (name) { | |
- return this.map.hasOwnProperty(normalizeName(name)); | |
- }; | |
+ 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.set = function(name, value) { | |
+ this.map[normalizeName(name)] = [normalizeValue(value)] | |
+ } | |
- Headers.prototype.forEach = function (callback, thisArg) { | |
- Object.getOwnPropertyNames(this.map).forEach(function (name) { | |
- this.map[name].forEach(function (value) { | |
- callback.call(thisArg, value, name, this); | |
- }, this); | |
- }, this); | |
- }; | |
+ Headers.prototype.forEach = function(callback, thisArg) { | |
+ Object.getOwnPropertyNames(this.map).forEach(function(name) { | |
+ this.map[name].forEach(function(value) { | |
+ callback.call(thisArg, value, name, this) | |
+ }, this) | |
+ }, this) | |
+ } | |
function consumed(body) { | |
if (body.bodyUsed) { | |
- return Promise.reject(new TypeError('Already read')); | |
+ return Promise.reject(new TypeError('Already read')) | |
} | |
- body.bodyUsed = true; | |
+ body.bodyUsed = true | |
} | |
function fileReaderReady(reader) { | |
- return new Promise(function (resolve, reject) { | |
- reader.onload = function () { | |
- resolve(reader.result); | |
- }; | |
- reader.onerror = function () { | |
- reject(reader.error); | |
- }; | |
- }); | |
+ 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(); | |
- reader.readAsArrayBuffer(blob); | |
- return fileReaderReady(reader); | |
+ var reader = new FileReader() | |
+ reader.readAsArrayBuffer(blob) | |
+ return fileReaderReady(reader) | |
} | |
function readBlobAsText(blob) { | |
- var reader = new FileReader(); | |
- reader.readAsText(blob); | |
- return fileReaderReady(reader); | |
+ var reader = new FileReader() | |
+ reader.readAsText(blob) | |
+ return fileReaderReady(reader) | |
} | |
var support = { | |
- blob: 'FileReader' in self && 'Blob' in self && (function () { | |
+ blob: 'FileReader' in self && 'Blob' in self && (function() { | |
try { | |
new Blob(); | |
- return true; | |
- } catch (e) { | |
- return false; | |
+ return true | |
+ } catch(e) { | |
+ return false | |
} | |
})(), | |
formData: 'FormData' in self | |
- }; | |
+ } | |
function Body() { | |
- this.bodyUsed = false; | |
+ this.bodyUsed = false | |
+ | |
- this._initBody = function (body) { | |
- this._bodyInit = body; | |
+ this._initBody = function(body) { | |
+ this._bodyInit = body | |
if (typeof body === 'string') { | |
- this._bodyText = body; | |
+ this._bodyText = body | |
} else if (support.blob && Blob.prototype.isPrototypeOf(body)) { | |
- this._bodyBlob = body; | |
+ this._bodyBlob = body | |
} else if (support.formData && FormData.prototype.isPrototypeOf(body)) { | |
- this._bodyFormData = body; | |
+ this._bodyFormData = body | |
} else if (!body) { | |
- this._bodyText = ''; | |
+ this._bodyText = '' | |
} else { | |
- throw new Error('unsupported BodyInit type'); | |
+ throw new Error('unsupported BodyInit type') | |
} | |
- }; | |
+ } | |
if (support.blob) { | |
- this.blob = function () { | |
- var rejected = consumed(this); | |
+ this.blob = function() { | |
+ var rejected = consumed(this) | |
if (rejected) { | |
- return rejected; | |
+ return rejected | |
} | |
if (this._bodyBlob) { | |
- return Promise.resolve(this._bodyBlob); | |
+ return Promise.resolve(this._bodyBlob) | |
} else if (this._bodyFormData) { | |
- throw new Error('could not read FormData body as blob'); | |
+ throw new Error('could not read FormData body as blob') | |
} else { | |
- return Promise.resolve(new Blob([this._bodyText])); | |
+ return Promise.resolve(new Blob([this._bodyText])) | |
} | |
- }; | |
+ } | |
- this.arrayBuffer = function () { | |
- return this.blob().then(readBlobAsArrayBuffer); | |
- }; | |
+ this.arrayBuffer = function() { | |
+ return this.blob().then(readBlobAsArrayBuffer) | |
+ } | |
- this.text = function () { | |
- var rejected = consumed(this); | |
+ this.text = function() { | |
+ var rejected = consumed(this) | |
if (rejected) { | |
- return rejected; | |
+ return rejected | |
} | |
if (this._bodyBlob) { | |
- return readBlobAsText(this._bodyBlob); | |
+ return readBlobAsText(this._bodyBlob) | |
} else if (this._bodyFormData) { | |
- throw new Error('could not read FormData body as text'); | |
+ throw new Error('could not read FormData body as text') | |
} else { | |
- return Promise.resolve(this._bodyText); | |
+ return Promise.resolve(this._bodyText) | |
} | |
- }; | |
+ } | |
} else { | |
- this.text = function () { | |
- var rejected = consumed(this); | |
- return rejected ? rejected : Promise.resolve(this._bodyText); | |
- }; | |
+ this.text = function() { | |
+ var rejected = consumed(this) | |
+ return rejected ? rejected : Promise.resolve(this._bodyText) | |
+ } | |
} | |
if (support.formData) { | |
- this.formData = function () { | |
- return this.text().then(decode); | |
- }; | |
+ this.formData = function() { | |
+ return this.text().then(decode) | |
+ } | |
} | |
- this.json = function () { | |
- return this.text().then(JSON.parse); | |
- }; | |
+ this.json = function() { | |
+ return this.text().then(JSON.parse) | |
+ } | |
- return this; | |
+ return this | |
} | |
// HTTP methods whose capitalization should be normalized | |
- var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']; | |
+ var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'] | |
function normalizeMethod(method) { | |
- var upcased = method.toUpperCase(); | |
- return methods.indexOf(upcased) > -1 ? upcased : method; | |
+ var upcased = method.toUpperCase() | |
+ return (methods.indexOf(upcased) > -1) ? upcased : method | |
} | |
function Request(url, options) { | |
- options = options || {}; | |
- this.url = url; | |
+ options = options || {} | |
+ this.url = url | |
- this.credentials = options.credentials || 'omit'; | |
- this.headers = new Headers(options.headers); | |
- this.method = normalizeMethod(options.method || 'GET'); | |
- this.mode = options.mode || null; | |
- this.referrer = null; | |
+ this.credentials = options.credentials || 'omit' | |
+ this.headers = new Headers(options.headers) | |
+ this.method = normalizeMethod(options.method || 'GET') | |
+ this.mode = options.mode || null | |
+ this.referrer = null | |
if ((this.method === 'GET' || this.method === 'HEAD') && options.body) { | |
- throw new TypeError('Body not allowed for GET or HEAD requests'); | |
+ throw new TypeError('Body not allowed for GET or HEAD requests') | |
} | |
- this._initBody(options.body); | |
+ this._initBody(options.body) | |
} | |
function decode(body) { | |
- var form = new FormData(); | |
- body.trim().split('&').forEach(function (bytes) { | |
+ 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)); | |
+ var split = bytes.split('=') | |
+ var name = split.shift().replace(/\+/g, ' ') | |
+ var value = split.join('=').replace(/\+/g, ' ') | |
+ form.append(decodeURIComponent(name), decodeURIComponent(value)) | |
} | |
- }); | |
- return form; | |
+ }) | |
+ return form | |
} | |
function headers(xhr) { | |
- var head = new Headers(); | |
- var pairs = xhr.getAllResponseHeaders().trim().split('\n'); | |
- pairs.forEach(function (header) { | |
- var split = header.trim().split(':'); | |
- var key = split.shift().trim(); | |
- var value = split.join(':').trim(); | |
- head.append(key, value); | |
- }); | |
- return head; | |
+ var head = new Headers() | |
+ var pairs = xhr.getAllResponseHeaders().trim().split('\n') | |
+ pairs.forEach(function(header) { | |
+ var split = header.trim().split(':') | |
+ var key = split.shift().trim() | |
+ var value = split.join(':').trim() | |
+ head.append(key, value) | |
+ }) | |
+ return head | |
} | |
- Body.call(Request.prototype); | |
+ Body.call(Request.prototype) | |
function Response(bodyInit, options) { | |
if (!options) { | |
- options = {}; | |
+ options = {} | |
} | |
- this._initBody(bodyInit); | |
- this.type = 'default'; | |
- this.url = null; | |
- this.status = options.status; | |
- this.ok = this.status >= 200 && this.status < 300; | |
- this.statusText = options.statusText; | |
- this.headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers); | |
- this.url = options.url || ''; | |
+ this._initBody(bodyInit) | |
+ this.type = 'default' | |
+ this.url = null | |
+ this.status = options.status | |
+ this.ok = this.status >= 200 && this.status < 300 | |
+ this.statusText = options.statusText | |
+ this.headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers) | |
+ this.url = options.url || '' | |
} | |
- Body.call(Response.prototype); | |
+ Body.call(Response.prototype) | |
self.Headers = Headers; | |
self.Request = Request; | |
self.Response = Response; | |
- self.fetch = function (input, init) { | |
+ self.fetch = function(input, init) { | |
// TODO: Request constructor should accept input, init | |
- var request; | |
+ var request | |
if (Request.prototype.isPrototypeOf(input) && !init) { | |
- request = input; | |
+ request = input | |
} else { | |
- request = new Request(input, init); | |
+ request = new Request(input, init) | |
} | |
- return new Promise(function (resolve, reject) { | |
- var xhr = new XMLHttpRequest(); | |
+ return new Promise(function(resolve, reject) { | |
+ var xhr = new XMLHttpRequest() | |
function responseURL() { | |
if ('responseURL' in xhr) { | |
- return xhr.responseURL; | |
+ return xhr.responseURL | |
} | |
// Avoid security warnings on getResponseHeader when not allowed by CORS | |
if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) { | |
- return xhr.getResponseHeader('X-Request-URL'); | |
+ return xhr.getResponseHeader('X-Request-URL') | |
} | |
return; | |
} | |
- xhr.onload = function () { | |
- var status = xhr.status === 1223 ? 204 : xhr.status; | |
+ xhr.onload = function() { | |
+ var status = (xhr.status === 1223) ? 204 : xhr.status | |
if (status < 100 || status > 599) { | |
- reject(new TypeError('Network request failed')); | |
- return; | |
+ reject(new TypeError('Network request failed')) | |
+ return | |
} | |
var options = { | |
status: status, | |
statusText: xhr.statusText, | |
headers: headers(xhr), | |
url: responseURL() | |
- }; | |
+ } | |
var body = 'response' in xhr ? xhr.response : xhr.responseText; | |
- resolve(new Response(body, options)); | |
- }; | |
+ resolve(new Response(body, options)) | |
+ } | |
- xhr.onerror = function () { | |
- reject(new TypeError('Network request failed')); | |
- }; | |
+ xhr.onerror = function() { | |
+ reject(new TypeError('Network request failed')) | |
+ } | |
- xhr.open(request.method, request.url, true); | |
+ xhr.open(request.method, request.url, true) | |
if (request.credentials === 'include') { | |
- xhr.withCredentials = true; | |
+ xhr.withCredentials = true | |
} | |
if ('responseType' in xhr && support.blob) { | |
- xhr.responseType = 'blob'; | |
+ xhr.responseType = 'blob' | |
} | |
- request.headers.forEach(function (value, name) { | |
- xhr.setRequestHeader(name, value); | |
- }); | |
+ request.headers.forEach(function(value, name) { | |
+ xhr.setRequestHeader(name, value) | |
+ }) | |
- xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit); | |
- }); | |
- }; | |
- self.fetch.polyfill = true; | |
+ xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit) | |
+ }) | |
+ } | |
+ self.fetch.polyfill = true | |
})(); | |
+ | |
/***/ }, | |
/* 261 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -21385,12 +21269,11 @@ | |
* 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'; | |
- | |
module.exports = __webpack_require__(262); | |
+ | |
/***/ }, | |
/* 262 */ | |
/***/ function(module, exports, __webpack_require__) { | |
@@ -21408,49 +21291,15 @@ | |
*/ | |
'use strict'; | |
- 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 _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(_x, _x2, _x3) { | |
- var _again = true;_function: while (_again) { | |
- var object = _x, | |
- property = _x2, | |
- receiver = _x3;desc = parent = getter = undefined;_again = false;if (object === null) object = Function.prototype;var desc = Object.getOwnPropertyDescriptor(object, property);if (desc === undefined) { | |
- var parent = Object.getPrototypeOf(object);if (parent === null) { | |
- return undefined; | |
- } else { | |
- _x = parent;_x2 = property;_x3 = receiver;_again = true;continue _function; | |
- } | |
- } else if ('value' in desc) { | |
- return desc.value; | |
- } else { | |
- var getter = desc.get;if (getter === undefined) { | |
- return undefined; | |
- }return getter.call(receiver); | |
- } | |
- } | |
- }; | |
+ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | |
- function _classCallCheck(instance, Constructor) { | |
- if (!(instance instanceof Constructor)) { | |
- throw new TypeError('Cannot call a class as a function'); | |
- } | |
- } | |
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | |
- 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; | |
- } | |
+ 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 React = __webpack_require__(52); | |
/** | |
@@ -21508,137 +21357,120 @@ | |
/***/ }, | |
/* 264 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
- 'use strict'; | |
- | |
var isObject = __webpack_require__(__webpack_module_template_argument_0__); | |
- module.exports = function (it) { | |
- if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
+ module.exports = function(it){ | |
+ if(!isObject(it))throw TypeError(it + ' is not an object!'); | |
return it; | |
}; | |
/***/ }, | |
/* 265 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
// getting tag from 19.1.3.6 Object.prototype.toString() | |
- 'use strict'; | |
- | |
- var cof = __webpack_require__(__webpack_module_template_argument_0__), | |
- TAG = __webpack_require__(__webpack_module_template_argument_1__)('toStringTag'), | |
+ var cof = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , TAG = __webpack_require__(__webpack_module_template_argument_1__)('toStringTag') | |
+ // ES3 wrong here | |
+ , ARG = cof(function(){ return arguments; }()) == 'Arguments'; | |
- // ES3 wrong here | |
- ARG = cof((function () { | |
- return arguments; | |
- })()) == 'Arguments'; | |
- | |
- module.exports = function (it) { | |
+ module.exports = function(it){ | |
var O, T, B; | |
return it === undefined ? 'Undefined' : it === null ? 'Null' | |
- // @@toStringTag case | |
- : typeof (T = (O = Object(it))[TAG]) == 'string' ? T | |
- // builtinTag case | |
- : ARG ? cof(O) | |
- // ES3 arguments fallback | |
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
+ // @@toStringTag case | |
+ : typeof (T = (O = Object(it))[TAG]) == 'string' ? T | |
+ // builtinTag case | |
+ : ARG ? cof(O) | |
+ // ES3 arguments fallback | |
+ : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
}; | |
/***/ }, | |
/* 266 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
// optional / simple context binding | |
- 'use strict'; | |
- | |
var aFunction = __webpack_require__(__webpack_module_template_argument_0__); | |
- module.exports = function (fn, that, length) { | |
+ 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); | |
- }; | |
+ 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); | |
+ }; | |
}; | |
/***/ }, | |
/* 267 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
- 'use strict'; | |
- | |
- var global = __webpack_require__(__webpack_module_template_argument_0__), | |
- core = __webpack_require__(__webpack_module_template_argument_1__), | |
- PROTOTYPE = 'prototype'; | |
- var ctx = function ctx(fn, that) { | |
- return function () { | |
+ var global = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , core = __webpack_require__(__webpack_module_template_argument_1__) | |
+ , PROTOTYPE = 'prototype'; | |
+ var ctx = function(fn, that){ | |
+ return function(){ | |
return fn.apply(that, arguments); | |
}; | |
}; | |
- var $def = function $def(type, name, source) { | |
- var key, | |
- own, | |
- out, | |
- exp, | |
- isGlobal = type & $def.G, | |
- isProto = type & $def.P, | |
- target = isGlobal ? global : type & $def.S ? global[name] : (global[name] || {})[PROTOTYPE], | |
- exports = isGlobal ? core : core[name] || (core[name] = {}); | |
- if (isGlobal) source = name; | |
- for (key in source) { | |
+ var $def = function(type, name, source){ | |
+ var key, own, out, exp | |
+ , isGlobal = type & $def.G | |
+ , isProto = type & $def.P | |
+ , target = isGlobal ? global : type & $def.S | |
+ ? global[name] : (global[name] || {})[PROTOTYPE] | |
+ , exports = isGlobal ? core : core[name] || (core[name] = {}); | |
+ if(isGlobal)source = name; | |
+ for(key in source){ | |
// contains in native | |
own = !(type & $def.F) && target && key in target; | |
- if (own && key in exports) continue; | |
+ if(own && key in exports)continue; | |
// export native or passed | |
out = own ? target[key] : source[key]; | |
// prevent global pollution for namespaces | |
- if (isGlobal && typeof target[key] != 'function') exp = source[key]; | |
+ if(isGlobal && typeof target[key] != 'function')exp = source[key]; | |
// bind timers to global for call from export context | |
- else if (type & $def.B && own) exp = ctx(out, global); | |
- // wrap global constructors for prevent change them in library | |
- else if (type & $def.W && target[key] == out) !(function (C) { | |
- exp = function (param) { | |
- return this instanceof C ? new C(param) : C(param); | |
- }; | |
- exp[PROTOTYPE] = C[PROTOTYPE]; | |
- })(out);else exp = isProto && typeof out == 'function' ? ctx(Function.call, out) : out; | |
+ else if(type & $def.B && own)exp = ctx(out, global); | |
+ // wrap global constructors for prevent change them in library | |
+ else if(type & $def.W && target[key] == out)!function(C){ | |
+ exp = function(param){ | |
+ return this instanceof C ? new C(param) : C(param); | |
+ }; | |
+ exp[PROTOTYPE] = C[PROTOTYPE]; | |
+ }(out); | |
+ else exp = isProto && typeof out == 'function' ? ctx(Function.call, out) : out; | |
// export | |
exports[key] = exp; | |
- if (isProto) (exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out; | |
+ if(isProto)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out; | |
} | |
}; | |
// type bitmap | |
- $def.F = 1; // forced | |
- $def.G = 2; // global | |
- $def.S = 4; // static | |
- $def.P = 8; // proto | |
+ $def.F = 1; // forced | |
+ $def.G = 2; // global | |
+ $def.S = 4; // static | |
+ $def.P = 8; // proto | |
$def.B = 16; // bind | |
$def.W = 32; // wrap | |
module.exports = $def; | |
/***/ }, | |
/* 268 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { | |
- 'use strict'; | |
- | |
- var $ = __webpack_require__(__webpack_module_template_argument_0__), | |
- createDesc = __webpack_require__(__webpack_module_template_argument_1__); | |
- module.exports = __webpack_require__(__webpack_module_template_argument_2__) ? function (object, key, value) { | |
+ var $ = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , createDesc = __webpack_require__(__webpack_module_template_argument_1__); | |
+ module.exports = __webpack_require__(__webpack_module_template_argument_2__) ? function(object, key, value){ | |
return $.setDesc(object, key, createDesc(1, value)); | |
- } : function (object, key, value) { | |
+ } : function(object, key, value){ | |
object[key] = value; | |
return object; | |
}; | |
@@ -21646,43 +21478,37 @@ | |
/* 269 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
// indexed object, fallback for non-array-like ES3 strings | |
- 'use strict'; | |
- | |
var cof = __webpack_require__(__webpack_module_template_argument_0__); | |
- module.exports = 0 in Object('z') ? Object : function (it) { | |
+ module.exports = 0 in Object('z') ? Object : function(it){ | |
return cof(it) == 'String' ? it.split('') : Object(it); | |
}; | |
/***/ }, | |
/* 270 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
// check on default Array iterator | |
- 'use strict'; | |
- | |
- var Iterators = __webpack_require__(__webpack_module_template_argument_0__), | |
- ITERATOR = __webpack_require__(__webpack_module_template_argument_1__)('iterator'); | |
- module.exports = function (it) { | |
+ var Iterators = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , ITERATOR = __webpack_require__(__webpack_module_template_argument_1__)('iterator'); | |
+ module.exports = function(it){ | |
return (Iterators.Array || Array.prototype[ITERATOR]) === it; | |
}; | |
/***/ }, | |
/* 271 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
// call something on iterator step with safe closing on error | |
- 'use strict'; | |
- | |
var anObject = __webpack_require__(__webpack_module_template_argument_0__); | |
- module.exports = function (iterator, fn, value, entries) { | |
+ module.exports = function(iterator, fn, value, entries){ | |
try { | |
return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
- // 7.4.6 IteratorClose(iterator, completion) | |
- } catch (e) { | |
+ // 7.4.6 IteratorClose(iterator, completion) | |
+ } catch(e){ | |
var ret = iterator['return']; | |
- if (ret !== undefined) anObject(ret.call(iterator)); | |
+ if(ret !== undefined)anObject(ret.call(iterator)); | |
throw e; | |
} | |
}; | |
@@ -21690,106 +21516,88 @@ | |
/* 272 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { | |
'use strict'; | |
- var $ = __webpack_require__(__webpack_module_template_argument_0__), | |
- IteratorPrototype = {}; | |
+ var $ = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , IteratorPrototype = {}; | |
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
- __webpack_require__(__webpack_module_template_argument_1__)(IteratorPrototype, __webpack_require__(__webpack_module_template_argument_2__)('iterator'), function () { | |
- return this; | |
- }); | |
+ __webpack_require__(__webpack_module_template_argument_1__)(IteratorPrototype, __webpack_require__(__webpack_module_template_argument_2__)('iterator'), function(){ return this; }); | |
- module.exports = function (Constructor, NAME, next) { | |
- Constructor.prototype = $.create(IteratorPrototype, { next: __webpack_require__(__webpack_module_template_argument_3__)(1, next) }); | |
+ module.exports = function(Constructor, NAME, next){ | |
+ Constructor.prototype = $.create(IteratorPrototype, {next: __webpack_require__(__webpack_module_template_argument_3__)(1,next)}); | |
__webpack_require__(__webpack_module_template_argument_4__)(Constructor, NAME + ' Iterator'); | |
}; | |
/***/ }, | |
/* 273 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __webpack_module_template_argument_5__, __webpack_module_template_argument_6__, __webpack_module_template_argument_7__, __webpack_module_template_argument_8__, __webpack_module_template_argument_9__) { | |
'use strict'; | |
- var LIBRARY = __webpack_require__(__webpack_module_template_argument_0__), | |
- $def = __webpack_require__(__webpack_module_template_argument_1__), | |
- $redef = __webpack_require__(__webpack_module_template_argument_2__), | |
- hide = __webpack_require__(__webpack_module_template_argument_3__), | |
- has = __webpack_require__(__webpack_module_template_argument_4__), | |
- SYMBOL_ITERATOR = __webpack_require__(__webpack_module_template_argument_5__)('iterator'), | |
- Iterators = __webpack_require__(__webpack_module_template_argument_6__), | |
- BUGGY = !([].keys && 'next' in [].keys()), | |
- // Safari has buggy iterators w/o `next` | |
- FF_ITERATOR = '@@iterator', | |
- KEYS = 'keys', | |
- VALUES = 'values'; | |
- var returnThis = function returnThis() { | |
- return this; | |
- }; | |
- module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE) { | |
+ var LIBRARY = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , $def = __webpack_require__(__webpack_module_template_argument_1__) | |
+ , $redef = __webpack_require__(__webpack_module_template_argument_2__) | |
+ , hide = __webpack_require__(__webpack_module_template_argument_3__) | |
+ , has = __webpack_require__(__webpack_module_template_argument_4__) | |
+ , SYMBOL_ITERATOR = __webpack_require__(__webpack_module_template_argument_5__)('iterator') | |
+ , Iterators = __webpack_require__(__webpack_module_template_argument_6__) | |
+ , 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, FORCE){ | |
__webpack_require__(__webpack_module_template_argument_7__)(Constructor, NAME, next); | |
- var createMethod = function createMethod(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', | |
- proto = Base.prototype, | |
- _native = proto[SYMBOL_ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT], | |
- _default = _native || createMethod(DEFAULT), | |
- methods, | |
- key; | |
+ var createMethod = function(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' | |
+ , proto = Base.prototype | |
+ , _native = proto[SYMBOL_ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT] | |
+ , _default = _native || createMethod(DEFAULT) | |
+ , methods, key; | |
// Fix native | |
- if (_native) { | |
- var IteratorPrototype = __webpack_require__(__webpack_module_template_argument_8__).getProto(_default.call(new Base())); | |
+ if(_native){ | |
+ var IteratorPrototype = __webpack_require__(__webpack_module_template_argument_8__).getProto(_default.call(new Base)); | |
// Set @@toStringTag to native iterators | |
__webpack_require__(__webpack_module_template_argument_9__)(IteratorPrototype, TAG, true); | |
// FF fix | |
- if (!LIBRARY && has(proto, FF_ITERATOR)) hide(IteratorPrototype, SYMBOL_ITERATOR, returnThis); | |
+ if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, SYMBOL_ITERATOR, returnThis); | |
} | |
// Define iterator | |
- if (!LIBRARY || FORCE) hide(proto, SYMBOL_ITERATOR, _default); | |
+ if(!LIBRARY || FORCE)hide(proto, SYMBOL_ITERATOR, _default); | |
// Plug for library | |
Iterators[NAME] = _default; | |
- Iterators[TAG] = returnThis; | |
- if (DEFAULT) { | |
+ Iterators[TAG] = returnThis; | |
+ if(DEFAULT){ | |
methods = { | |
- keys: IS_SET ? _default : createMethod(KEYS), | |
- values: DEFAULT == VALUES ? _default : createMethod(VALUES), | |
+ keys: IS_SET ? _default : createMethod(KEYS), | |
+ values: DEFAULT == VALUES ? _default : createMethod(VALUES), | |
entries: DEFAULT != VALUES ? _default : createMethod('entries') | |
}; | |
- if (FORCE) for (key in methods) { | |
- if (!(key in proto)) $redef(proto, key, methods[key]); | |
+ if(FORCE)for(key in methods){ | |
+ if(!(key in proto))$redef(proto, key, methods[key]); | |
} else $def($def.P + $def.F * BUGGY, NAME, methods); | |
} | |
}; | |
/***/ }, | |
/* 274 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
- 'use strict'; | |
- | |
module.exports = __webpack_require__(__webpack_module_template_argument_0__); | |
/***/ }, | |
/* 275 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
- 'use strict'; | |
- | |
- var global = __webpack_require__(__webpack_module_template_argument_0__), | |
- SHARED = '__core-js_shared__', | |
- store = global[SHARED] || (global[SHARED] = {}); | |
- module.exports = function (key) { | |
+ var global = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , SHARED = '__core-js_shared__' | |
+ , store = global[SHARED] || (global[SHARED] = {}); | |
+ module.exports = function(key){ | |
return store[key] || (store[key] = {}); | |
}; | |
/***/ }, | |
@@ -21797,132 +21605,119 @@ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
// true -> String#at | |
// false -> String#codePointAt | |
- 'use strict'; | |
- | |
- var toInteger = __webpack_require__(__webpack_module_template_argument_0__), | |
- defined = __webpack_require__(__webpack_module_template_argument_1__); | |
- 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; | |
+ var toInteger = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , defined = __webpack_require__(__webpack_module_template_argument_1__); | |
+ 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; | |
+ 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; | |
}; | |
}; | |
/***/ }, | |
/* 277 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
// Thank's IE8 for his funny defineProperty | |
- 'use strict'; | |
- | |
- module.exports = !__webpack_require__(__webpack_module_template_argument_0__)(function () { | |
- return Object.defineProperty({}, 'a', { get: function get() { | |
- return 7; | |
- } }).a != 7; | |
+ module.exports = !__webpack_require__(__webpack_module_template_argument_0__)(function(){ | |
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; | |
}); | |
/***/ }, | |
/* 278 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { | |
- 'use strict'; | |
- | |
- var has = __webpack_require__(__webpack_module_template_argument_0__), | |
- hide = __webpack_require__(__webpack_module_template_argument_1__), | |
- TAG = __webpack_require__(__webpack_module_template_argument_2__)('toStringTag'); | |
+ var has = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , hide = __webpack_require__(__webpack_module_template_argument_1__) | |
+ , TAG = __webpack_require__(__webpack_module_template_argument_2__)('toStringTag'); | |
- module.exports = function (it, tag, stat) { | |
- if (it && !has(it = stat ? it : it.prototype, TAG)) hide(it, TAG, tag); | |
+ module.exports = function(it, tag, stat){ | |
+ if(it && !has(it = stat ? it : it.prototype, TAG))hide(it, TAG, tag); | |
}; | |
/***/ }, | |
/* 279 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
- // to indexed object, toObject with fallback for non-array-like ES3 strings | |
- 'use strict'; | |
- | |
- var IObject = __webpack_require__(__webpack_module_template_argument_0__), | |
- defined = __webpack_require__(__webpack_module_template_argument_1__); | |
- module.exports = function (it) { | |
- return IObject(defined(it)); | |
+ // to indexed object, toObject with fallback for non-array-like ES3 strings | |
+ var IObject = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , defined = __webpack_require__(__webpack_module_template_argument_1__); | |
+ module.exports = function(it){ | |
+ return IObject(defined(it)); | |
}; | |
/***/ }, | |
/* 280 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { | |
// 7.1.15 ToLength | |
- 'use strict'; | |
- | |
- var toInteger = __webpack_require__(__webpack_module_template_argument_0__), | |
- min = Math.min; | |
- module.exports = function (it) { | |
+ var toInteger = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , min = Math.min; | |
+ module.exports = function(it){ | |
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
}; | |
/***/ }, | |
/* 281 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { | |
- 'use strict'; | |
- | |
- var store = __webpack_require__(__webpack_module_template_argument_0__)('wks'), | |
- Symbol = __webpack_require__(__webpack_module_template_argument_1__).Symbol; | |
- module.exports = function (name) { | |
- return store[name] || (store[name] = Symbol && Symbol[name] || (Symbol || __webpack_require__(__webpack_module_template_argument_2__))('Symbol.' + name)); | |
+ var store = __webpack_require__(__webpack_module_template_argument_0__)('wks') | |
+ , Symbol = __webpack_require__(__webpack_module_template_argument_1__).Symbol; | |
+ module.exports = function(name){ | |
+ return store[name] || (store[name] = | |
+ Symbol && Symbol[name] || (Symbol || __webpack_require__(__webpack_module_template_argument_2__))('Symbol.' + name)); | |
}; | |
/***/ }, | |
/* 282 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__) { | |
- 'use strict'; | |
- | |
- var classof = __webpack_require__(__webpack_module_template_argument_0__), | |
- ITERATOR = __webpack_require__(__webpack_module_template_argument_1__)('iterator'), | |
- Iterators = __webpack_require__(__webpack_module_template_argument_2__); | |
- module.exports = __webpack_require__(__webpack_module_template_argument_3__).getIteratorMethod = function (it) { | |
- if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; | |
+ var classof = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , ITERATOR = __webpack_require__(__webpack_module_template_argument_1__)('iterator') | |
+ , Iterators = __webpack_require__(__webpack_module_template_argument_2__); | |
+ module.exports = __webpack_require__(__webpack_module_template_argument_3__).getIteratorMethod = function(it){ | |
+ if(it != undefined)return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; | |
}; | |
/***/ }, | |
/* 283 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { | |
'use strict'; | |
- var setUnscope = __webpack_require__(__webpack_module_template_argument_0__), | |
- step = __webpack_require__(__webpack_module_template_argument_1__), | |
- Iterators = __webpack_require__(__webpack_module_template_argument_2__), | |
- toIObject = __webpack_require__(__webpack_module_template_argument_3__); | |
+ var setUnscope = __webpack_require__(__webpack_module_template_argument_0__) | |
+ , step = __webpack_require__(__webpack_module_template_argument_1__) | |
+ , Iterators = __webpack_require__(__webpack_module_template_argument_2__) | |
+ , toIObject = __webpack_require__(__webpack_module_template_argument_3__); | |
// 22.1.3.4 Array.prototype.entries() | |
// 22.1.3.13 Array.prototype.keys() | |
// 22.1.3.29 Array.prototype.values() | |
// 22.1.3.30 Array.prototype[@@iterator]() | |
- __webpack_require__(__webpack_module_template_argument_4__)(Array, 'Array', function (iterated, kind) { | |
+ __webpack_require__(__webpack_module_template_argument_4__)(Array, 'Array', function(iterated, kind){ | |
this._t = toIObject(iterated); // target | |
- this._i = 0; // next index | |
- this._k = kind; // kind | |
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
- }, function () { | |
- var O = this._t, | |
- kind = this._k, | |
- index = this._i++; | |
- if (!O || index >= O.length) { | |
+ this._i = 0; // next index | |
+ this._k = kind; // kind | |
+ // 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
+ }, function(){ | |
+ var O = this._t | |
+ , kind = this._k | |
+ , index = this._i++; | |
+ if(!O || index >= O.length){ | |
this._t = undefined; | |
return step(1); | |
} | |
- if (kind == 'keys') return step(0, index); | |
- if (kind == 'values') return step(0, O[index]); | |
+ if(kind == 'keys' )return step(0, index); | |
+ if(kind == 'values')return step(0, O[index]); | |
return step(0, [index, O[index]]); | |
}, 'values'); | |
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
@@ -21936,31 +21731,29 @@ | |
/* 284 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
'use strict'; | |
- var $at = __webpack_require__(__webpack_module_template_argument_0__)(true); | |
+ var $at = __webpack_require__(__webpack_module_template_argument_0__)(true); | |
// 21.1.3.27 String.prototype[@@iterator]() | |
- __webpack_require__(__webpack_module_template_argument_1__)(String, 'String', function (iterated) { | |
+ __webpack_require__(__webpack_module_template_argument_1__)(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 }; | |
+ 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 }; | |
+ return {value: point, done: false}; | |
}); | |
/***/ }, | |
/* 285 */ | |
/***/ function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { | |
- 'use strict'; | |
- | |
__webpack_require__(__webpack_module_template_argument_0__); | |
var Iterators = __webpack_require__(__webpack_module_template_argument_1__); | |
Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment