babel-source 5.8.33 → 5.8.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/babel.js +2051 -1921
  3. data/lib/babel/polyfill.js +1219 -1093
  4. data/lib/babel/source.rb +2 -2
  5. metadata +2 -2
@@ -2,32 +2,40 @@
2
2
  (function (global){
3
3
  "use strict";
4
4
 
5
- _dereq_(186);
5
+ _dereq_(188);
6
6
 
7
- _dereq_(187);
7
+ _dereq_(189);
8
8
 
9
9
  if (global._babelPolyfill) {
10
10
  throw new Error("only one instance of babel/polyfill is allowed");
11
11
  }
12
12
  global._babelPolyfill = true;
13
13
  }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
14
- },{"186":186,"187":187}],2:[function(_dereq_,module,exports){
14
+ },{"188":188,"189":189}],2:[function(_dereq_,module,exports){
15
15
  module.exports = function(it){
16
16
  if(typeof it != 'function')throw TypeError(it + ' is not a function!');
17
17
  return it;
18
18
  };
19
19
  },{}],3:[function(_dereq_,module,exports){
20
- var isObject = _dereq_(37);
20
+ // 22.1.3.31 Array.prototype[@@unscopables]
21
+ var UNSCOPABLES = _dereq_(83)('unscopables')
22
+ , ArrayProto = Array.prototype;
23
+ if(ArrayProto[UNSCOPABLES] == undefined)_dereq_(31)(ArrayProto, UNSCOPABLES, {});
24
+ module.exports = function(key){
25
+ ArrayProto[UNSCOPABLES][key] = true;
26
+ };
27
+ },{"31":31,"83":83}],4:[function(_dereq_,module,exports){
28
+ var isObject = _dereq_(38);
21
29
  module.exports = function(it){
22
30
  if(!isObject(it))throw TypeError(it + ' is not an object!');
23
31
  return it;
24
32
  };
25
- },{"37":37}],4:[function(_dereq_,module,exports){
33
+ },{"38":38}],5:[function(_dereq_,module,exports){
26
34
  // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
27
35
  'use strict';
28
- var toObject = _dereq_(78)
29
- , toIndex = _dereq_(74)
30
- , toLength = _dereq_(77);
36
+ var toObject = _dereq_(80)
37
+ , toIndex = _dereq_(76)
38
+ , toLength = _dereq_(79);
31
39
 
32
40
  module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
33
41
  var O = toObject(this)
@@ -50,14 +58,14 @@ module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0,
50
58
  from += inc;
51
59
  } return O;
52
60
  };
53
- },{"74":74,"77":77,"78":78}],5:[function(_dereq_,module,exports){
61
+ },{"76":76,"79":79,"80":80}],6:[function(_dereq_,module,exports){
54
62
  // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
55
63
  'use strict';
56
- var toObject = _dereq_(78)
57
- , toIndex = _dereq_(74)
58
- , toLength = _dereq_(77);
64
+ var toObject = _dereq_(80)
65
+ , toIndex = _dereq_(76)
66
+ , toLength = _dereq_(79);
59
67
  module.exports = [].fill || function fill(value /*, start = 0, end = @length */){
60
- var O = toObject(this, true)
68
+ var O = toObject(this)
61
69
  , length = toLength(O.length)
62
70
  , $$ = arguments
63
71
  , $$len = $$.length
@@ -67,12 +75,12 @@ module.exports = [].fill || function fill(value /*, start = 0, end = @length */)
67
75
  while(endPos > index)O[index++] = value;
68
76
  return O;
69
77
  };
70
- },{"74":74,"77":77,"78":78}],6:[function(_dereq_,module,exports){
78
+ },{"76":76,"79":79,"80":80}],7:[function(_dereq_,module,exports){
71
79
  // false -> Array#indexOf
72
80
  // true -> Array#includes
73
- var toIObject = _dereq_(76)
74
- , toLength = _dereq_(77)
75
- , toIndex = _dereq_(74);
81
+ var toIObject = _dereq_(78)
82
+ , toLength = _dereq_(79)
83
+ , toIndex = _dereq_(76);
76
84
  module.exports = function(IS_INCLUDES){
77
85
  return function($this, el, fromIndex){
78
86
  var O = toIObject($this)
@@ -89,7 +97,7 @@ module.exports = function(IS_INCLUDES){
89
97
  } return !IS_INCLUDES && -1;
90
98
  };
91
99
  };
92
- },{"74":74,"76":76,"77":77}],7:[function(_dereq_,module,exports){
100
+ },{"76":76,"78":78,"79":79}],8:[function(_dereq_,module,exports){
93
101
  // 0 -> Array#forEach
94
102
  // 1 -> Array#map
95
103
  // 2 -> Array#filter
@@ -97,21 +105,11 @@ module.exports = function(IS_INCLUDES){
97
105
  // 4 -> Array#every
98
106
  // 5 -> Array#find
99
107
  // 6 -> Array#findIndex
100
- var ctx = _dereq_(16)
101
- , isObject = _dereq_(37)
102
- , IObject = _dereq_(33)
103
- , toObject = _dereq_(78)
104
- , toLength = _dereq_(77)
105
- , isArray = _dereq_(35)
106
- , SPECIES = _dereq_(81)('species');
107
- // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
108
- var ASC = function(original, length){
109
- var C;
110
- if(isArray(original) && isObject(C = original.constructor)){
111
- C = C[SPECIES];
112
- if(C === null)C = undefined;
113
- } return new (C === undefined ? Array : C)(length);
114
- };
108
+ var ctx = _dereq_(17)
109
+ , IObject = _dereq_(34)
110
+ , toObject = _dereq_(80)
111
+ , toLength = _dereq_(79)
112
+ , asc = _dereq_(9);
115
113
  module.exports = function(TYPE){
116
114
  var IS_MAP = TYPE == 1
117
115
  , IS_FILTER = TYPE == 2
@@ -125,7 +123,7 @@ module.exports = function(TYPE){
125
123
  , f = ctx(callbackfn, that, 3)
126
124
  , length = toLength(self.length)
127
125
  , index = 0
128
- , result = IS_MAP ? ASC($this, length) : IS_FILTER ? ASC($this, 0) : undefined
126
+ , result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined
129
127
  , val, res;
130
128
  for(;length > index; index++)if(NO_HOLES || index in self){
131
129
  val = self[index];
@@ -143,44 +141,27 @@ module.exports = function(TYPE){
143
141
  return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
144
142
  };
145
143
  };
146
- },{"16":16,"33":33,"35":35,"37":37,"77":77,"78":78,"81":81}],8:[function(_dereq_,module,exports){
147
- // 19.1.2.1 Object.assign(target, source, ...)
148
- var $ = _dereq_(45)
149
- , toObject = _dereq_(78)
150
- , IObject = _dereq_(33);
151
-
152
- // should work with symbols and should have deterministic property order (V8 bug)
153
- module.exports = _dereq_(23)(function(){
154
- var a = Object.assign
155
- , A = {}
156
- , B = {}
157
- , S = Symbol()
158
- , K = 'abcdefghijklmnopqrst';
159
- A[S] = 7;
160
- K.split('').forEach(function(k){ B[k] = k; });
161
- return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
162
- }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
163
- var T = toObject(target)
164
- , $$ = arguments
165
- , $$len = $$.length
166
- , index = 1
167
- , getKeys = $.getKeys
168
- , getSymbols = $.getSymbols
169
- , isEnum = $.isEnum;
170
- while($$len > index){
171
- var S = IObject($$[index++])
172
- , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
173
- , length = keys.length
174
- , j = 0
175
- , key;
176
- while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
177
- }
178
- return T;
179
- } : Object.assign;
180
- },{"23":23,"33":33,"45":45,"78":78}],9:[function(_dereq_,module,exports){
144
+ },{"17":17,"34":34,"79":79,"80":80,"9":9}],9:[function(_dereq_,module,exports){
145
+ // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
146
+ var isObject = _dereq_(38)
147
+ , isArray = _dereq_(36)
148
+ , SPECIES = _dereq_(83)('species');
149
+ module.exports = function(original, length){
150
+ var C;
151
+ if(isArray(original)){
152
+ C = original.constructor;
153
+ // cross-realm fallback
154
+ if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
155
+ if(isObject(C)){
156
+ C = C[SPECIES];
157
+ if(C === null)C = undefined;
158
+ }
159
+ } return new (C === undefined ? Array : C)(length);
160
+ };
161
+ },{"36":36,"38":38,"83":83}],10:[function(_dereq_,module,exports){
181
162
  // getting tag from 19.1.3.6 Object.prototype.toString()
182
- var cof = _dereq_(10)
183
- , TAG = _dereq_(81)('toStringTag')
163
+ var cof = _dereq_(11)
164
+ , TAG = _dereq_(83)('toStringTag')
184
165
  // ES3 wrong here
185
166
  , ARG = cof(function(){ return arguments; }()) == 'Arguments';
186
167
 
@@ -194,28 +175,30 @@ module.exports = function(it){
194
175
  // ES3 arguments fallback
195
176
  : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
196
177
  };
197
- },{"10":10,"81":81}],10:[function(_dereq_,module,exports){
178
+ },{"11":11,"83":83}],11:[function(_dereq_,module,exports){
198
179
  var toString = {}.toString;
199
180
 
200
181
  module.exports = function(it){
201
182
  return toString.call(it).slice(8, -1);
202
183
  };
203
- },{}],11:[function(_dereq_,module,exports){
184
+ },{}],12:[function(_dereq_,module,exports){
204
185
  'use strict';
205
- var $ = _dereq_(45)
206
- , hide = _dereq_(30)
207
- , ctx = _dereq_(16)
208
- , species = _dereq_(64)
209
- , strictNew = _dereq_(65)
186
+ var $ = _dereq_(46)
187
+ , hide = _dereq_(31)
188
+ , redefineAll = _dereq_(60)
189
+ , ctx = _dereq_(17)
190
+ , strictNew = _dereq_(69)
210
191
  , defined = _dereq_(18)
211
- , forOf = _dereq_(26)
212
- , step = _dereq_(43)
213
- , ID = _dereq_(79)('id')
214
- , $has = _dereq_(29)
215
- , isObject = _dereq_(37)
192
+ , forOf = _dereq_(27)
193
+ , $iterDefine = _dereq_(42)
194
+ , step = _dereq_(44)
195
+ , ID = _dereq_(82)('id')
196
+ , $has = _dereq_(30)
197
+ , isObject = _dereq_(38)
198
+ , setSpecies = _dereq_(65)
199
+ , DESCRIPTORS = _dereq_(19)
216
200
  , isExtensible = Object.isExtensible || isObject
217
- , SUPPORT_DESC = _dereq_(71)
218
- , SIZE = SUPPORT_DESC ? '_s' : 'size'
201
+ , SIZE = DESCRIPTORS ? '_s' : 'size'
219
202
  , id = 0;
220
203
 
221
204
  var fastKey = function(it, create){
@@ -252,7 +235,7 @@ module.exports = {
252
235
  that[SIZE] = 0; // size
253
236
  if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
254
237
  });
255
- _dereq_(50)(C.prototype, {
238
+ redefineAll(C.prototype, {
256
239
  // 23.1.3.1 Map.prototype.clear()
257
240
  // 23.2.3.2 Set.prototype.clear()
258
241
  clear: function clear(){
@@ -298,7 +281,7 @@ module.exports = {
298
281
  return !!getEntry(this, key);
299
282
  }
300
283
  });
301
- if(SUPPORT_DESC)$.setDesc(C.prototype, 'size', {
284
+ if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {
302
285
  get: function(){
303
286
  return defined(this[SIZE]);
304
287
  }
@@ -332,7 +315,7 @@ module.exports = {
332
315
  setStrong: function(C, NAME, IS_MAP){
333
316
  // add .keys, .values, .entries, [@@iterator]
334
317
  // 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
335
- _dereq_(41)(C, NAME, function(iterated, kind){
318
+ $iterDefine(C, NAME, function(iterated, kind){
336
319
  this._t = iterated; // target
337
320
  this._k = kind; // kind
338
321
  this._l = undefined; // previous
@@ -355,14 +338,13 @@ module.exports = {
355
338
  }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
356
339
 
357
340
  // add [@@species], 23.1.2.2, 23.2.2.2
358
- species(C);
359
- species(_dereq_(15)[NAME]); // for wrapper
341
+ setSpecies(NAME);
360
342
  }
361
343
  };
362
- },{"15":15,"16":16,"18":18,"26":26,"29":29,"30":30,"37":37,"41":41,"43":43,"45":45,"50":50,"64":64,"65":65,"71":71,"79":79}],12:[function(_dereq_,module,exports){
344
+ },{"17":17,"18":18,"19":19,"27":27,"30":30,"31":31,"38":38,"42":42,"44":44,"46":46,"60":60,"65":65,"69":69,"82":82}],13:[function(_dereq_,module,exports){
363
345
  // https://github.com/DavidBruant/Map-Set.prototype.toJSON
364
- var forOf = _dereq_(26)
365
- , classof = _dereq_(9);
346
+ var forOf = _dereq_(27)
347
+ , classof = _dereq_(10);
366
348
  module.exports = function(NAME){
367
349
  return function toJSON(){
368
350
  if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
@@ -371,20 +353,21 @@ module.exports = function(NAME){
371
353
  return arr;
372
354
  };
373
355
  };
374
- },{"26":26,"9":9}],13:[function(_dereq_,module,exports){
356
+ },{"10":10,"27":27}],14:[function(_dereq_,module,exports){
375
357
  'use strict';
376
- var hide = _dereq_(30)
377
- , anObject = _dereq_(3)
378
- , strictNew = _dereq_(65)
379
- , forOf = _dereq_(26)
380
- , method = _dereq_(7)
381
- , WEAK = _dereq_(79)('weak')
382
- , isObject = _dereq_(37)
383
- , $has = _dereq_(29)
384
- , isExtensible = Object.isExtensible || isObject
385
- , find = method(5)
386
- , findIndex = method(6)
387
- , id = 0;
358
+ var hide = _dereq_(31)
359
+ , redefineAll = _dereq_(60)
360
+ , anObject = _dereq_(4)
361
+ , isObject = _dereq_(38)
362
+ , strictNew = _dereq_(69)
363
+ , forOf = _dereq_(27)
364
+ , createArrayMethod = _dereq_(8)
365
+ , $has = _dereq_(30)
366
+ , WEAK = _dereq_(82)('weak')
367
+ , isExtensible = Object.isExtensible || isObject
368
+ , arrayFind = createArrayMethod(5)
369
+ , arrayFindIndex = createArrayMethod(6)
370
+ , id = 0;
388
371
 
389
372
  // fallback for frozen keys
390
373
  var frozenStore = function(that){
@@ -394,7 +377,7 @@ var FrozenStore = function(){
394
377
  this.a = [];
395
378
  };
396
379
  var findFrozen = function(store, key){
397
- return find(store.a, function(it){
380
+ return arrayFind(store.a, function(it){
398
381
  return it[0] === key;
399
382
  });
400
383
  };
@@ -412,7 +395,7 @@ FrozenStore.prototype = {
412
395
  else this.a.push([key, value]);
413
396
  },
414
397
  'delete': function(key){
415
- var index = findIndex(this.a, function(it){
398
+ var index = arrayFindIndex(this.a, function(it){
416
399
  return it[0] === key;
417
400
  });
418
401
  if(~index)this.a.splice(index, 1);
@@ -428,7 +411,7 @@ module.exports = {
428
411
  that._l = undefined; // leak store for frozen objects
429
412
  if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
430
413
  });
431
- _dereq_(50)(C.prototype, {
414
+ redefineAll(C.prototype, {
432
415
  // 23.3.3.2 WeakMap.prototype.delete(key)
433
416
  // 23.4.3.3 WeakSet.prototype.delete(value)
434
417
  'delete': function(key){
@@ -457,12 +440,18 @@ module.exports = {
457
440
  frozenStore: frozenStore,
458
441
  WEAK: WEAK
459
442
  };
460
- },{"26":26,"29":29,"3":3,"30":30,"37":37,"50":50,"65":65,"7":7,"79":79}],14:[function(_dereq_,module,exports){
443
+ },{"27":27,"30":30,"31":31,"38":38,"4":4,"60":60,"69":69,"8":8,"82":82}],15:[function(_dereq_,module,exports){
461
444
  'use strict';
462
- var global = _dereq_(28)
463
- , $def = _dereq_(17)
464
- , forOf = _dereq_(26)
465
- , strictNew = _dereq_(65);
445
+ var global = _dereq_(29)
446
+ , $export = _dereq_(22)
447
+ , redefine = _dereq_(61)
448
+ , redefineAll = _dereq_(60)
449
+ , forOf = _dereq_(27)
450
+ , strictNew = _dereq_(69)
451
+ , isObject = _dereq_(38)
452
+ , fails = _dereq_(24)
453
+ , $iterDetect = _dereq_(43)
454
+ , setToStringTag = _dereq_(66);
466
455
 
467
456
  module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
468
457
  var Base = global[NAME]
@@ -472,26 +461,34 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
472
461
  , O = {};
473
462
  var fixMethod = function(KEY){
474
463
  var fn = proto[KEY];
475
- _dereq_(57)(proto, KEY,
476
- KEY == 'delete' ? function(a){ return fn.call(this, a === 0 ? 0 : a); }
477
- : KEY == 'has' ? function has(a){ return fn.call(this, a === 0 ? 0 : a); }
478
- : KEY == 'get' ? function get(a){ return fn.call(this, a === 0 ? 0 : a); }
479
- : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }
480
- : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
464
+ redefine(proto, KEY,
465
+ KEY == 'delete' ? function(a){
466
+ return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
467
+ } : KEY == 'has' ? function has(a){
468
+ return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
469
+ } : KEY == 'get' ? function get(a){
470
+ return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
471
+ } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }
472
+ : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
481
473
  );
482
474
  };
483
- if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !_dereq_(23)(function(){
475
+ if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
484
476
  new C().entries().next();
485
477
  }))){
486
478
  // create collection constructor
487
479
  C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
488
- _dereq_(50)(C.prototype, methods);
480
+ redefineAll(C.prototype, methods);
489
481
  } else {
490
- var inst = new C
491
- , chain = inst[ADDER](IS_WEAK ? {} : -0, 1)
492
- , buggyZero;
493
- // wrap for init collections from iterable
494
- if(!_dereq_(42)(function(iter){ new C(iter); })){ // eslint-disable-line no-new
482
+ var instance = new C
483
+ // early implementations not supports chaining
484
+ , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance
485
+ // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
486
+ , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })
487
+ // most early implementations doesn't supports iterables, most modern - not close it correctly
488
+ , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new
489
+ // for early implementations -0 and +0 not the same
490
+ , BUGGY_ZERO;
491
+ if(!ACCEPT_ITERABLES){
495
492
  C = wrapper(function(target, iterable){
496
493
  strictNew(target, C, NAME);
497
494
  var that = new Base;
@@ -501,34 +498,32 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
501
498
  C.prototype = proto;
502
499
  proto.constructor = C;
503
500
  }
504
- IS_WEAK || inst.forEach(function(val, key){
505
- buggyZero = 1 / key === -Infinity;
501
+ IS_WEAK || instance.forEach(function(val, key){
502
+ BUGGY_ZERO = 1 / key === -Infinity;
506
503
  });
507
- // fix converting -0 key to +0
508
- if(buggyZero){
504
+ if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){
509
505
  fixMethod('delete');
510
506
  fixMethod('has');
511
507
  IS_MAP && fixMethod('get');
512
508
  }
513
- // + fix .add & .set for chaining
514
- if(buggyZero || chain !== inst)fixMethod(ADDER);
509
+ if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);
515
510
  // weak collections should not contains .clear method
516
511
  if(IS_WEAK && proto.clear)delete proto.clear;
517
512
  }
518
513
 
519
- _dereq_(72)(C, NAME);
514
+ setToStringTag(C, NAME);
520
515
 
521
516
  O[NAME] = C;
522
- $def($def.G + $def.W + $def.F * (C != Base), O);
517
+ $export($export.G + $export.W + $export.F * (C != Base), O);
523
518
 
524
519
  if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
525
520
 
526
521
  return C;
527
522
  };
528
- },{"17":17,"23":23,"26":26,"28":28,"42":42,"50":50,"57":57,"65":65,"72":72}],15:[function(_dereq_,module,exports){
529
- var core = module.exports = {version: '1.2.3'};
523
+ },{"22":22,"24":24,"27":27,"29":29,"38":38,"43":43,"60":60,"61":61,"66":66,"69":69}],16:[function(_dereq_,module,exports){
524
+ var core = module.exports = {version: '1.2.6'};
530
525
  if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
531
- },{}],16:[function(_dereq_,module,exports){
526
+ },{}],17:[function(_dereq_,module,exports){
532
527
  // optional / simple context binding
533
528
  var aFunction = _dereq_(2);
534
529
  module.exports = function(fn, that, length){
@@ -549,66 +544,28 @@ module.exports = function(fn, that, length){
549
544
  return fn.apply(that, arguments);
550
545
  };
551
546
  };
552
- },{"2":2}],17:[function(_dereq_,module,exports){
553
- var global = _dereq_(28)
554
- , core = _dereq_(15)
555
- , hide = _dereq_(30)
556
- , $redef = _dereq_(57)
557
- , PROTOTYPE = 'prototype';
558
- var ctx = function(fn, that){
559
- return function(){
560
- return fn.apply(that, arguments);
561
- };
562
- };
563
- var $def = function(type, name, source){
564
- var key, own, out, exp
565
- , isGlobal = type & $def.G
566
- , isProto = type & $def.P
567
- , target = isGlobal ? global : type & $def.S
568
- ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]
569
- , exports = isGlobal ? core : core[name] || (core[name] = {});
570
- if(isGlobal)source = name;
571
- for(key in source){
572
- // contains in native
573
- own = !(type & $def.F) && target && key in target;
574
- // export native or passed
575
- out = (own ? target : source)[key];
576
- // bind timers to global for call from export context
577
- if(type & $def.B && own)exp = ctx(out, global);
578
- else exp = isProto && typeof out == 'function' ? ctx(Function.call, out) : out;
579
- // extend global
580
- if(target && !own)$redef(target, key, out);
581
- // export
582
- if(exports[key] != out)hide(exports, key, exp);
583
- if(isProto)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
584
- }
585
- };
586
- global.core = core;
587
- // type bitmap
588
- $def.F = 1; // forced
589
- $def.G = 2; // global
590
- $def.S = 4; // static
591
- $def.P = 8; // proto
592
- $def.B = 16; // bind
593
- $def.W = 32; // wrap
594
- module.exports = $def;
595
- },{"15":15,"28":28,"30":30,"57":57}],18:[function(_dereq_,module,exports){
547
+ },{"2":2}],18:[function(_dereq_,module,exports){
596
548
  // 7.2.1 RequireObjectCoercible(argument)
597
549
  module.exports = function(it){
598
550
  if(it == undefined)throw TypeError("Can't call method on " + it);
599
551
  return it;
600
552
  };
601
553
  },{}],19:[function(_dereq_,module,exports){
602
- var isObject = _dereq_(37)
603
- , document = _dereq_(28).document
554
+ // Thank's IE8 for his funny defineProperty
555
+ module.exports = !_dereq_(24)(function(){
556
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
557
+ });
558
+ },{"24":24}],20:[function(_dereq_,module,exports){
559
+ var isObject = _dereq_(38)
560
+ , document = _dereq_(29).document
604
561
  // in old IE typeof document.createElement is 'object'
605
562
  , is = isObject(document) && isObject(document.createElement);
606
563
  module.exports = function(it){
607
564
  return is ? document.createElement(it) : {};
608
565
  };
609
- },{"28":28,"37":37}],20:[function(_dereq_,module,exports){
566
+ },{"29":29,"38":38}],21:[function(_dereq_,module,exports){
610
567
  // all enumerable object keys, includes symbols
611
- var $ = _dereq_(45);
568
+ var $ = _dereq_(46);
612
569
  module.exports = function(it){
613
570
  var keys = $.getKeys(it)
614
571
  , getSymbols = $.getSymbols;
@@ -621,24 +578,62 @@ module.exports = function(it){
621
578
  }
622
579
  return keys;
623
580
  };
624
- },{"45":45}],21:[function(_dereq_,module,exports){
625
- // 20.2.2.14 Math.expm1(x)
626
- module.exports = Math.expm1 || function expm1(x){
627
- return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
581
+ },{"46":46}],22:[function(_dereq_,module,exports){
582
+ var global = _dereq_(29)
583
+ , core = _dereq_(16)
584
+ , hide = _dereq_(31)
585
+ , redefine = _dereq_(61)
586
+ , ctx = _dereq_(17)
587
+ , PROTOTYPE = 'prototype';
588
+
589
+ var $export = function(type, name, source){
590
+ var IS_FORCED = type & $export.F
591
+ , IS_GLOBAL = type & $export.G
592
+ , IS_STATIC = type & $export.S
593
+ , IS_PROTO = type & $export.P
594
+ , IS_BIND = type & $export.B
595
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]
596
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
597
+ , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})
598
+ , key, own, out, exp;
599
+ if(IS_GLOBAL)source = name;
600
+ for(key in source){
601
+ // contains in native
602
+ own = !IS_FORCED && target && key in target;
603
+ // export native or passed
604
+ out = (own ? target : source)[key];
605
+ // bind timers to global for call from export context
606
+ exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
607
+ // extend global
608
+ if(target && !own)redefine(target, key, out);
609
+ // export
610
+ if(exports[key] != out)hide(exports, key, exp);
611
+ if(IS_PROTO && expProto[key] != out)expProto[key] = out;
612
+ }
628
613
  };
629
- },{}],22:[function(_dereq_,module,exports){
614
+ global.core = core;
615
+ // type bitmap
616
+ $export.F = 1; // forced
617
+ $export.G = 2; // global
618
+ $export.S = 4; // static
619
+ $export.P = 8; // proto
620
+ $export.B = 16; // bind
621
+ $export.W = 32; // wrap
622
+ module.exports = $export;
623
+ },{"16":16,"17":17,"29":29,"31":31,"61":61}],23:[function(_dereq_,module,exports){
624
+ var MATCH = _dereq_(83)('match');
630
625
  module.exports = function(KEY){
631
626
  var re = /./;
632
627
  try {
633
628
  '/./'[KEY](re);
634
629
  } catch(e){
635
630
  try {
636
- re[_dereq_(81)('match')] = false;
631
+ re[MATCH] = false;
637
632
  return !'/./'[KEY](re);
638
633
  } catch(f){ /* empty */ }
639
634
  } return true;
640
635
  };
641
- },{"81":81}],23:[function(_dereq_,module,exports){
636
+ },{"83":83}],24:[function(_dereq_,module,exports){
642
637
  module.exports = function(exec){
643
638
  try {
644
639
  return !!exec();
@@ -646,19 +641,24 @@ module.exports = function(exec){
646
641
  return true;
647
642
  }
648
643
  };
649
- },{}],24:[function(_dereq_,module,exports){
644
+ },{}],25:[function(_dereq_,module,exports){
650
645
  'use strict';
646
+ var hide = _dereq_(31)
647
+ , redefine = _dereq_(61)
648
+ , fails = _dereq_(24)
649
+ , defined = _dereq_(18)
650
+ , wks = _dereq_(83);
651
+
651
652
  module.exports = function(KEY, length, exec){
652
- var defined = _dereq_(18)
653
- , SYMBOL = _dereq_(81)(KEY)
653
+ var SYMBOL = wks(KEY)
654
654
  , original = ''[KEY];
655
- if(_dereq_(23)(function(){
655
+ if(fails(function(){
656
656
  var O = {};
657
657
  O[SYMBOL] = function(){ return 7; };
658
658
  return ''[KEY](O) != 7;
659
659
  })){
660
- _dereq_(57)(String.prototype, KEY, exec(defined, SYMBOL, original));
661
- _dereq_(30)(RegExp.prototype, SYMBOL, length == 2
660
+ redefine(String.prototype, KEY, exec(defined, SYMBOL, original));
661
+ hide(RegExp.prototype, SYMBOL, length == 2
662
662
  // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
663
663
  // 21.2.5.11 RegExp.prototype[@@split](string, limit)
664
664
  ? function(string, arg){ return original.call(string, this, arg); }
@@ -668,27 +668,27 @@ module.exports = function(KEY, length, exec){
668
668
  );
669
669
  }
670
670
  };
671
- },{"18":18,"23":23,"30":30,"57":57,"81":81}],25:[function(_dereq_,module,exports){
671
+ },{"18":18,"24":24,"31":31,"61":61,"83":83}],26:[function(_dereq_,module,exports){
672
672
  'use strict';
673
673
  // 21.2.5.3 get RegExp.prototype.flags
674
- var anObject = _dereq_(3);
674
+ var anObject = _dereq_(4);
675
675
  module.exports = function(){
676
676
  var that = anObject(this)
677
677
  , result = '';
678
- if(that.global)result += 'g';
679
- if(that.ignoreCase)result += 'i';
680
- if(that.multiline)result += 'm';
681
- if(that.unicode)result += 'u';
682
- if(that.sticky)result += 'y';
678
+ if(that.global) result += 'g';
679
+ if(that.ignoreCase) result += 'i';
680
+ if(that.multiline) result += 'm';
681
+ if(that.unicode) result += 'u';
682
+ if(that.sticky) result += 'y';
683
683
  return result;
684
684
  };
685
- },{"3":3}],26:[function(_dereq_,module,exports){
686
- var ctx = _dereq_(16)
687
- , call = _dereq_(39)
688
- , isArrayIter = _dereq_(34)
689
- , anObject = _dereq_(3)
690
- , toLength = _dereq_(77)
691
- , getIterFn = _dereq_(82);
685
+ },{"4":4}],27:[function(_dereq_,module,exports){
686
+ var ctx = _dereq_(17)
687
+ , call = _dereq_(40)
688
+ , isArrayIter = _dereq_(35)
689
+ , anObject = _dereq_(4)
690
+ , toLength = _dereq_(79)
691
+ , getIterFn = _dereq_(84);
692
692
  module.exports = function(iterable, entries, fn, that){
693
693
  var iterFn = getIterFn(iterable)
694
694
  , f = ctx(fn, that, entries ? 2 : 1)
@@ -702,11 +702,11 @@ module.exports = function(iterable, entries, fn, that){
702
702
  call(iterator, f, step.value, entries);
703
703
  }
704
704
  };
705
- },{"16":16,"3":3,"34":34,"39":39,"77":77,"82":82}],27:[function(_dereq_,module,exports){
705
+ },{"17":17,"35":35,"4":4,"40":40,"79":79,"84":84}],28:[function(_dereq_,module,exports){
706
706
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
707
- var toString = {}.toString
708
- , toIObject = _dereq_(76)
709
- , getNames = _dereq_(45).getNames;
707
+ var toIObject = _dereq_(78)
708
+ , getNames = _dereq_(46).getNames
709
+ , toString = {}.toString;
710
710
 
711
711
  var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
712
712
  ? Object.getOwnPropertyNames(window) : [];
@@ -723,28 +723,28 @@ module.exports.get = function getOwnPropertyNames(it){
723
723
  if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
724
724
  return getNames(toIObject(it));
725
725
  };
726
- },{"45":45,"76":76}],28:[function(_dereq_,module,exports){
726
+ },{"46":46,"78":78}],29:[function(_dereq_,module,exports){
727
727
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
728
728
  var global = module.exports = typeof window != 'undefined' && window.Math == Math
729
729
  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
730
730
  if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
731
- },{}],29:[function(_dereq_,module,exports){
731
+ },{}],30:[function(_dereq_,module,exports){
732
732
  var hasOwnProperty = {}.hasOwnProperty;
733
733
  module.exports = function(it, key){
734
734
  return hasOwnProperty.call(it, key);
735
735
  };
736
- },{}],30:[function(_dereq_,module,exports){
737
- var $ = _dereq_(45)
738
- , createDesc = _dereq_(56);
739
- module.exports = _dereq_(71) ? function(object, key, value){
736
+ },{}],31:[function(_dereq_,module,exports){
737
+ var $ = _dereq_(46)
738
+ , createDesc = _dereq_(59);
739
+ module.exports = _dereq_(19) ? function(object, key, value){
740
740
  return $.setDesc(object, key, createDesc(1, value));
741
741
  } : function(object, key, value){
742
742
  object[key] = value;
743
743
  return object;
744
744
  };
745
- },{"45":45,"56":56,"71":71}],31:[function(_dereq_,module,exports){
746
- module.exports = _dereq_(28).document && document.documentElement;
747
- },{"28":28}],32:[function(_dereq_,module,exports){
745
+ },{"19":19,"46":46,"59":59}],32:[function(_dereq_,module,exports){
746
+ module.exports = _dereq_(29).document && document.documentElement;
747
+ },{"29":29}],33:[function(_dereq_,module,exports){
748
748
  // fast apply, http://jsperf.lnkit.com/fast-apply/5
749
749
  module.exports = function(fn, args, that){
750
750
  var un = that === undefined;
@@ -761,48 +761,50 @@ module.exports = function(fn, args, that){
761
761
  : fn.call(that, args[0], args[1], args[2], args[3]);
762
762
  } return fn.apply(that, args);
763
763
  };
764
- },{}],33:[function(_dereq_,module,exports){
764
+ },{}],34:[function(_dereq_,module,exports){
765
765
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
766
- var cof = _dereq_(10);
766
+ var cof = _dereq_(11);
767
767
  module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
768
768
  return cof(it) == 'String' ? it.split('') : Object(it);
769
769
  };
770
- },{"10":10}],34:[function(_dereq_,module,exports){
770
+ },{"11":11}],35:[function(_dereq_,module,exports){
771
771
  // check on default Array iterator
772
- var Iterators = _dereq_(44)
773
- , ITERATOR = _dereq_(81)('iterator');
772
+ var Iterators = _dereq_(45)
773
+ , ITERATOR = _dereq_(83)('iterator')
774
+ , ArrayProto = Array.prototype;
775
+
774
776
  module.exports = function(it){
775
- return (Iterators.Array || Array.prototype[ITERATOR]) === it;
777
+ return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
776
778
  };
777
- },{"44":44,"81":81}],35:[function(_dereq_,module,exports){
779
+ },{"45":45,"83":83}],36:[function(_dereq_,module,exports){
778
780
  // 7.2.2 IsArray(argument)
779
- var cof = _dereq_(10);
781
+ var cof = _dereq_(11);
780
782
  module.exports = Array.isArray || function(arg){
781
783
  return cof(arg) == 'Array';
782
784
  };
783
- },{"10":10}],36:[function(_dereq_,module,exports){
785
+ },{"11":11}],37:[function(_dereq_,module,exports){
784
786
  // 20.1.2.3 Number.isInteger(number)
785
- var isObject = _dereq_(37)
787
+ var isObject = _dereq_(38)
786
788
  , floor = Math.floor;
787
789
  module.exports = function isInteger(it){
788
790
  return !isObject(it) && isFinite(it) && floor(it) === it;
789
791
  };
790
- },{"37":37}],37:[function(_dereq_,module,exports){
792
+ },{"38":38}],38:[function(_dereq_,module,exports){
791
793
  module.exports = function(it){
792
794
  return typeof it === 'object' ? it !== null : typeof it === 'function';
793
795
  };
794
- },{}],38:[function(_dereq_,module,exports){
796
+ },{}],39:[function(_dereq_,module,exports){
795
797
  // 7.2.8 IsRegExp(argument)
796
- var isObject = _dereq_(37)
797
- , cof = _dereq_(10)
798
- , MATCH = _dereq_(81)('match');
798
+ var isObject = _dereq_(38)
799
+ , cof = _dereq_(11)
800
+ , MATCH = _dereq_(83)('match');
799
801
  module.exports = function(it){
800
802
  var isRegExp;
801
803
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
802
804
  };
803
- },{"10":10,"37":37,"81":81}],39:[function(_dereq_,module,exports){
805
+ },{"11":11,"38":38,"83":83}],40:[function(_dereq_,module,exports){
804
806
  // call something on iterator step with safe closing on error
805
- var anObject = _dereq_(3);
807
+ var anObject = _dereq_(4);
806
808
  module.exports = function(iterator, fn, value, entries){
807
809
  try {
808
810
  return entries ? fn(anObject(value)[0], value[1]) : fn(value);
@@ -813,96 +815,116 @@ module.exports = function(iterator, fn, value, entries){
813
815
  throw e;
814
816
  }
815
817
  };
816
- },{"3":3}],40:[function(_dereq_,module,exports){
818
+ },{"4":4}],41:[function(_dereq_,module,exports){
817
819
  'use strict';
818
- var $ = _dereq_(45)
820
+ var $ = _dereq_(46)
821
+ , descriptor = _dereq_(59)
822
+ , setToStringTag = _dereq_(66)
819
823
  , IteratorPrototype = {};
820
824
 
821
825
  // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
822
- _dereq_(30)(IteratorPrototype, _dereq_(81)('iterator'), function(){ return this; });
826
+ _dereq_(31)(IteratorPrototype, _dereq_(83)('iterator'), function(){ return this; });
823
827
 
824
828
  module.exports = function(Constructor, NAME, next){
825
- Constructor.prototype = $.create(IteratorPrototype, {next: _dereq_(56)(1,next)});
826
- _dereq_(72)(Constructor, NAME + ' Iterator');
829
+ Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
830
+ setToStringTag(Constructor, NAME + ' Iterator');
827
831
  };
828
- },{"30":30,"45":45,"56":56,"72":72,"81":81}],41:[function(_dereq_,module,exports){
832
+ },{"31":31,"46":46,"59":59,"66":66,"83":83}],42:[function(_dereq_,module,exports){
829
833
  'use strict';
830
- var LIBRARY = _dereq_(47)
831
- , $def = _dereq_(17)
832
- , $redef = _dereq_(57)
833
- , hide = _dereq_(30)
834
- , has = _dereq_(29)
835
- , SYMBOL_ITERATOR = _dereq_(81)('iterator')
836
- , Iterators = _dereq_(44)
837
- , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
838
- , FF_ITERATOR = '@@iterator'
839
- , KEYS = 'keys'
840
- , VALUES = 'values';
834
+ var LIBRARY = _dereq_(48)
835
+ , $export = _dereq_(22)
836
+ , redefine = _dereq_(61)
837
+ , hide = _dereq_(31)
838
+ , has = _dereq_(30)
839
+ , Iterators = _dereq_(45)
840
+ , $iterCreate = _dereq_(41)
841
+ , setToStringTag = _dereq_(66)
842
+ , getProto = _dereq_(46).getProto
843
+ , ITERATOR = _dereq_(83)('iterator')
844
+ , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
845
+ , FF_ITERATOR = '@@iterator'
846
+ , KEYS = 'keys'
847
+ , VALUES = 'values';
848
+
841
849
  var returnThis = function(){ return this; };
842
- module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE){
843
- _dereq_(40)(Constructor, NAME, next);
844
- var createMethod = function(kind){
850
+
851
+ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
852
+ $iterCreate(Constructor, NAME, next);
853
+ var getMethod = function(kind){
854
+ if(!BUGGY && kind in proto)return proto[kind];
845
855
  switch(kind){
846
856
  case KEYS: return function keys(){ return new Constructor(this, kind); };
847
857
  case VALUES: return function values(){ return new Constructor(this, kind); };
848
858
  } return function entries(){ return new Constructor(this, kind); };
849
859
  };
850
- var TAG = NAME + ' Iterator'
851
- , proto = Base.prototype
852
- , _native = proto[SYMBOL_ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
853
- , _default = _native || createMethod(DEFAULT)
860
+ var TAG = NAME + ' Iterator'
861
+ , DEF_VALUES = DEFAULT == VALUES
862
+ , VALUES_BUG = false
863
+ , proto = Base.prototype
864
+ , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
865
+ , $default = $native || getMethod(DEFAULT)
854
866
  , methods, key;
855
867
  // Fix native
856
- if(_native){
857
- var IteratorPrototype = _dereq_(45).getProto(_default.call(new Base));
868
+ if($native){
869
+ var IteratorPrototype = getProto($default.call(new Base));
858
870
  // Set @@toStringTag to native iterators
859
- _dereq_(72)(IteratorPrototype, TAG, true);
871
+ setToStringTag(IteratorPrototype, TAG, true);
860
872
  // FF fix
861
- if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, SYMBOL_ITERATOR, returnThis);
873
+ if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
874
+ // fix Array#{values, @@iterator}.name in V8 / FF
875
+ if(DEF_VALUES && $native.name !== VALUES){
876
+ VALUES_BUG = true;
877
+ $default = function values(){ return $native.call(this); };
878
+ }
862
879
  }
863
880
  // Define iterator
864
- if(!LIBRARY || FORCE)hide(proto, SYMBOL_ITERATOR, _default);
881
+ if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
882
+ hide(proto, ITERATOR, $default);
883
+ }
865
884
  // Plug for library
866
- Iterators[NAME] = _default;
885
+ Iterators[NAME] = $default;
867
886
  Iterators[TAG] = returnThis;
868
887
  if(DEFAULT){
869
888
  methods = {
870
- values: DEFAULT == VALUES ? _default : createMethod(VALUES),
871
- keys: IS_SET ? _default : createMethod(KEYS),
872
- entries: DEFAULT != VALUES ? _default : createMethod('entries')
889
+ values: DEF_VALUES ? $default : getMethod(VALUES),
890
+ keys: IS_SET ? $default : getMethod(KEYS),
891
+ entries: !DEF_VALUES ? $default : getMethod('entries')
873
892
  };
874
- if(FORCE)for(key in methods){
875
- if(!(key in proto))$redef(proto, key, methods[key]);
876
- } else $def($def.P + $def.F * BUGGY, NAME, methods);
893
+ if(FORCED)for(key in methods){
894
+ if(!(key in proto))redefine(proto, key, methods[key]);
895
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
877
896
  }
897
+ return methods;
878
898
  };
879
- },{"17":17,"29":29,"30":30,"40":40,"44":44,"45":45,"47":47,"57":57,"72":72,"81":81}],42:[function(_dereq_,module,exports){
880
- var SYMBOL_ITERATOR = _dereq_(81)('iterator')
881
- , SAFE_CLOSING = false;
899
+ },{"22":22,"30":30,"31":31,"41":41,"45":45,"46":46,"48":48,"61":61,"66":66,"83":83}],43:[function(_dereq_,module,exports){
900
+ var ITERATOR = _dereq_(83)('iterator')
901
+ , SAFE_CLOSING = false;
902
+
882
903
  try {
883
- var riter = [7][SYMBOL_ITERATOR]();
904
+ var riter = [7][ITERATOR]();
884
905
  riter['return'] = function(){ SAFE_CLOSING = true; };
885
906
  Array.from(riter, function(){ throw 2; });
886
907
  } catch(e){ /* empty */ }
908
+
887
909
  module.exports = function(exec, skipClosing){
888
910
  if(!skipClosing && !SAFE_CLOSING)return false;
889
911
  var safe = false;
890
912
  try {
891
913
  var arr = [7]
892
- , iter = arr[SYMBOL_ITERATOR]();
914
+ , iter = arr[ITERATOR]();
893
915
  iter.next = function(){ safe = true; };
894
- arr[SYMBOL_ITERATOR] = function(){ return iter; };
916
+ arr[ITERATOR] = function(){ return iter; };
895
917
  exec(arr);
896
918
  } catch(e){ /* empty */ }
897
919
  return safe;
898
920
  };
899
- },{"81":81}],43:[function(_dereq_,module,exports){
921
+ },{"83":83}],44:[function(_dereq_,module,exports){
900
922
  module.exports = function(done, value){
901
923
  return {value: value, done: !!done};
902
924
  };
903
- },{}],44:[function(_dereq_,module,exports){
904
- module.exports = {};
905
925
  },{}],45:[function(_dereq_,module,exports){
926
+ module.exports = {};
927
+ },{}],46:[function(_dereq_,module,exports){
906
928
  var $Object = Object;
907
929
  module.exports = {
908
930
  create: $Object.create,
@@ -916,9 +938,9 @@ module.exports = {
916
938
  getSymbols: $Object.getOwnPropertySymbols,
917
939
  each: [].forEach
918
940
  };
919
- },{}],46:[function(_dereq_,module,exports){
920
- var $ = _dereq_(45)
921
- , toIObject = _dereq_(76);
941
+ },{}],47:[function(_dereq_,module,exports){
942
+ var $ = _dereq_(46)
943
+ , toIObject = _dereq_(78);
922
944
  module.exports = function(object, el){
923
945
  var O = toIObject(object)
924
946
  , keys = $.getKeys(O)
@@ -927,31 +949,43 @@ module.exports = function(object, el){
927
949
  , key;
928
950
  while(length > index)if(O[key = keys[index++]] === el)return key;
929
951
  };
930
- },{"45":45,"76":76}],47:[function(_dereq_,module,exports){
952
+ },{"46":46,"78":78}],48:[function(_dereq_,module,exports){
931
953
  module.exports = false;
932
- },{}],48:[function(_dereq_,module,exports){
954
+ },{}],49:[function(_dereq_,module,exports){
955
+ // 20.2.2.14 Math.expm1(x)
956
+ module.exports = Math.expm1 || function expm1(x){
957
+ return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
958
+ };
959
+ },{}],50:[function(_dereq_,module,exports){
933
960
  // 20.2.2.20 Math.log1p(x)
934
961
  module.exports = Math.log1p || function log1p(x){
935
962
  return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
936
963
  };
937
- },{}],49:[function(_dereq_,module,exports){
938
- var global = _dereq_(28)
939
- , macrotask = _dereq_(73).set
964
+ },{}],51:[function(_dereq_,module,exports){
965
+ // 20.2.2.28 Math.sign(x)
966
+ module.exports = Math.sign || function sign(x){
967
+ return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
968
+ };
969
+ },{}],52:[function(_dereq_,module,exports){
970
+ var global = _dereq_(29)
971
+ , macrotask = _dereq_(75).set
940
972
  , Observer = global.MutationObserver || global.WebKitMutationObserver
941
973
  , process = global.process
942
- , isNode = _dereq_(10)(process) == 'process'
974
+ , Promise = global.Promise
975
+ , isNode = _dereq_(11)(process) == 'process'
943
976
  , head, last, notify;
944
977
 
945
978
  var flush = function(){
946
- var parent, domain;
979
+ var parent, domain, fn;
947
980
  if(isNode && (parent = process.domain)){
948
981
  process.domain = null;
949
982
  parent.exit();
950
983
  }
951
984
  while(head){
952
985
  domain = head.domain;
986
+ fn = head.fn;
953
987
  if(domain)domain.enter();
954
- head.fn.call(); // <- currently we use it only for Promise - try / catch not required
988
+ fn(); // <- currently we use it only for Promise - try / catch not required
955
989
  if(domain)domain.exit();
956
990
  head = head.next;
957
991
  } last = undefined;
@@ -971,6 +1005,11 @@ if(isNode){
971
1005
  notify = function(){
972
1006
  node.data = toggle = -toggle;
973
1007
  };
1008
+ // environments with maybe non-completely correct, but existent Promise
1009
+ } else if(Promise && Promise.resolve){
1010
+ notify = function(){
1011
+ Promise.resolve().then(flush);
1012
+ };
974
1013
  // for other environments - macrotask based on:
975
1014
  // - setImmediate
976
1015
  // - MessageChannel
@@ -992,24 +1031,54 @@ module.exports = function asap(fn){
992
1031
  notify();
993
1032
  } last = task;
994
1033
  };
995
- },{"10":10,"28":28,"73":73}],50:[function(_dereq_,module,exports){
996
- var $redef = _dereq_(57);
997
- module.exports = function(target, src){
998
- for(var key in src)$redef(target, key, src[key]);
999
- return target;
1000
- };
1001
- },{"57":57}],51:[function(_dereq_,module,exports){
1034
+ },{"11":11,"29":29,"75":75}],53:[function(_dereq_,module,exports){
1035
+ // 19.1.2.1 Object.assign(target, source, ...)
1036
+ var $ = _dereq_(46)
1037
+ , toObject = _dereq_(80)
1038
+ , IObject = _dereq_(34);
1039
+
1040
+ // should work with symbols and should have deterministic property order (V8 bug)
1041
+ module.exports = _dereq_(24)(function(){
1042
+ var a = Object.assign
1043
+ , A = {}
1044
+ , B = {}
1045
+ , S = Symbol()
1046
+ , K = 'abcdefghijklmnopqrst';
1047
+ A[S] = 7;
1048
+ K.split('').forEach(function(k){ B[k] = k; });
1049
+ return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
1050
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
1051
+ var T = toObject(target)
1052
+ , $$ = arguments
1053
+ , $$len = $$.length
1054
+ , index = 1
1055
+ , getKeys = $.getKeys
1056
+ , getSymbols = $.getSymbols
1057
+ , isEnum = $.isEnum;
1058
+ while($$len > index){
1059
+ var S = IObject($$[index++])
1060
+ , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
1061
+ , length = keys.length
1062
+ , j = 0
1063
+ , key;
1064
+ while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
1065
+ }
1066
+ return T;
1067
+ } : Object.assign;
1068
+ },{"24":24,"34":34,"46":46,"80":80}],54:[function(_dereq_,module,exports){
1002
1069
  // most Object methods by ES6 should accept primitives
1070
+ var $export = _dereq_(22)
1071
+ , core = _dereq_(16)
1072
+ , fails = _dereq_(24);
1003
1073
  module.exports = function(KEY, exec){
1004
- var $def = _dereq_(17)
1005
- , fn = (_dereq_(15).Object || {})[KEY] || Object[KEY]
1006
- , exp = {};
1074
+ var fn = (core.Object || {})[KEY] || Object[KEY]
1075
+ , exp = {};
1007
1076
  exp[KEY] = exec(fn);
1008
- $def($def.S + $def.F * _dereq_(23)(function(){ fn(1); }), 'Object', exp);
1077
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
1009
1078
  };
1010
- },{"15":15,"17":17,"23":23}],52:[function(_dereq_,module,exports){
1011
- var $ = _dereq_(45)
1012
- , toIObject = _dereq_(76)
1079
+ },{"16":16,"22":22,"24":24}],55:[function(_dereq_,module,exports){
1080
+ var $ = _dereq_(46)
1081
+ , toIObject = _dereq_(78)
1013
1082
  , isEnum = $.isEnum;
1014
1083
  module.exports = function(isEntries){
1015
1084
  return function(it){
@@ -1024,20 +1093,20 @@ module.exports = function(isEntries){
1024
1093
  } return result;
1025
1094
  };
1026
1095
  };
1027
- },{"45":45,"76":76}],53:[function(_dereq_,module,exports){
1096
+ },{"46":46,"78":78}],56:[function(_dereq_,module,exports){
1028
1097
  // all object keys, includes non-enumerable and symbols
1029
- var $ = _dereq_(45)
1030
- , anObject = _dereq_(3)
1031
- , Reflect = _dereq_(28).Reflect;
1098
+ var $ = _dereq_(46)
1099
+ , anObject = _dereq_(4)
1100
+ , Reflect = _dereq_(29).Reflect;
1032
1101
  module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
1033
1102
  var keys = $.getNames(anObject(it))
1034
1103
  , getSymbols = $.getSymbols;
1035
1104
  return getSymbols ? keys.concat(getSymbols(it)) : keys;
1036
1105
  };
1037
- },{"28":28,"3":3,"45":45}],54:[function(_dereq_,module,exports){
1106
+ },{"29":29,"4":4,"46":46}],57:[function(_dereq_,module,exports){
1038
1107
  'use strict';
1039
- var path = _dereq_(55)
1040
- , invoke = _dereq_(32)
1108
+ var path = _dereq_(58)
1109
+ , invoke = _dereq_(33)
1041
1110
  , aFunction = _dereq_(2);
1042
1111
  module.exports = function(/* ...pargs */){
1043
1112
  var fn = aFunction(this)
@@ -1059,9 +1128,9 @@ module.exports = function(/* ...pargs */){
1059
1128
  return invoke(fn, args, that);
1060
1129
  };
1061
1130
  };
1062
- },{"2":2,"32":32,"55":55}],55:[function(_dereq_,module,exports){
1063
- module.exports = _dereq_(28);
1064
- },{"28":28}],56:[function(_dereq_,module,exports){
1131
+ },{"2":2,"33":33,"58":58}],58:[function(_dereq_,module,exports){
1132
+ module.exports = _dereq_(29);
1133
+ },{"29":29}],59:[function(_dereq_,module,exports){
1065
1134
  module.exports = function(bitmap, value){
1066
1135
  return {
1067
1136
  enumerable : !(bitmap & 1),
@@ -1070,17 +1139,23 @@ module.exports = function(bitmap, value){
1070
1139
  value : value
1071
1140
  };
1072
1141
  };
1073
- },{}],57:[function(_dereq_,module,exports){
1142
+ },{}],60:[function(_dereq_,module,exports){
1143
+ var redefine = _dereq_(61);
1144
+ module.exports = function(target, src){
1145
+ for(var key in src)redefine(target, key, src[key]);
1146
+ return target;
1147
+ };
1148
+ },{"61":61}],61:[function(_dereq_,module,exports){
1074
1149
  // add fake Function#toString
1075
1150
  // for correct work wrapped methods / constructors with methods like LoDash isNative
1076
- var global = _dereq_(28)
1077
- , hide = _dereq_(30)
1078
- , SRC = _dereq_(79)('src')
1151
+ var global = _dereq_(29)
1152
+ , hide = _dereq_(31)
1153
+ , SRC = _dereq_(82)('src')
1079
1154
  , TO_STRING = 'toString'
1080
1155
  , $toString = Function[TO_STRING]
1081
1156
  , TPL = ('' + $toString).split(TO_STRING);
1082
1157
 
1083
- _dereq_(15).inspectSource = function(it){
1158
+ _dereq_(16).inspectSource = function(it){
1084
1159
  return $toString.call(it);
1085
1160
  };
1086
1161
 
@@ -1098,7 +1173,7 @@ _dereq_(15).inspectSource = function(it){
1098
1173
  })(Function.prototype, TO_STRING, function toString(){
1099
1174
  return typeof this == 'function' && this[SRC] || $toString.call(this);
1100
1175
  });
1101
- },{"15":15,"28":28,"30":30,"79":79}],58:[function(_dereq_,module,exports){
1176
+ },{"16":16,"29":29,"31":31,"82":82}],62:[function(_dereq_,module,exports){
1102
1177
  module.exports = function(regExp, replace){
1103
1178
  var replacer = replace === Object(replace) ? function(part){
1104
1179
  return replace[part];
@@ -1107,16 +1182,17 @@ module.exports = function(regExp, replace){
1107
1182
  return String(it).replace(regExp, replacer);
1108
1183
  };
1109
1184
  };
1110
- },{}],59:[function(_dereq_,module,exports){
1185
+ },{}],63:[function(_dereq_,module,exports){
1186
+ // 7.2.9 SameValue(x, y)
1111
1187
  module.exports = Object.is || function is(x, y){
1112
1188
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1113
1189
  };
1114
- },{}],60:[function(_dereq_,module,exports){
1190
+ },{}],64:[function(_dereq_,module,exports){
1115
1191
  // Works with __proto__ only. Old v8 can't work with null proto objects.
1116
1192
  /* eslint-disable no-proto */
1117
- var getDesc = _dereq_(45).getDesc
1118
- , isObject = _dereq_(37)
1119
- , anObject = _dereq_(3);
1193
+ var getDesc = _dereq_(46).getDesc
1194
+ , isObject = _dereq_(38)
1195
+ , anObject = _dereq_(4);
1120
1196
  var check = function(O, proto){
1121
1197
  anObject(O);
1122
1198
  if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
@@ -1125,7 +1201,7 @@ module.exports = {
1125
1201
  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
1126
1202
  function(test, buggy, set){
1127
1203
  try {
1128
- set = _dereq_(16)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
1204
+ set = _dereq_(17)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
1129
1205
  set(test, []);
1130
1206
  buggy = !(test instanceof Array);
1131
1207
  } catch(e){ buggy = true; }
@@ -1138,47 +1214,54 @@ module.exports = {
1138
1214
  }({}, false) : undefined),
1139
1215
  check: check
1140
1216
  };
1141
- },{"16":16,"3":3,"37":37,"45":45}],61:[function(_dereq_,module,exports){
1142
- var global = _dereq_(28)
1217
+ },{"17":17,"38":38,"4":4,"46":46}],65:[function(_dereq_,module,exports){
1218
+ 'use strict';
1219
+ var global = _dereq_(29)
1220
+ , $ = _dereq_(46)
1221
+ , DESCRIPTORS = _dereq_(19)
1222
+ , SPECIES = _dereq_(83)('species');
1223
+
1224
+ module.exports = function(KEY){
1225
+ var C = global[KEY];
1226
+ if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
1227
+ configurable: true,
1228
+ get: function(){ return this; }
1229
+ });
1230
+ };
1231
+ },{"19":19,"29":29,"46":46,"83":83}],66:[function(_dereq_,module,exports){
1232
+ var def = _dereq_(46).setDesc
1233
+ , has = _dereq_(30)
1234
+ , TAG = _dereq_(83)('toStringTag');
1235
+
1236
+ module.exports = function(it, tag, stat){
1237
+ if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
1238
+ };
1239
+ },{"30":30,"46":46,"83":83}],67:[function(_dereq_,module,exports){
1240
+ var global = _dereq_(29)
1143
1241
  , SHARED = '__core-js_shared__'
1144
1242
  , store = global[SHARED] || (global[SHARED] = {});
1145
1243
  module.exports = function(key){
1146
1244
  return store[key] || (store[key] = {});
1147
1245
  };
1148
- },{"28":28}],62:[function(_dereq_,module,exports){
1149
- // 20.2.2.28 Math.sign(x)
1150
- module.exports = Math.sign || function sign(x){
1151
- return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
1152
- };
1153
- },{}],63:[function(_dereq_,module,exports){
1154
- // 7.3.20 SpeciesConstructor(O, defaultConstructor)
1155
- var anObject = _dereq_(3)
1156
- , aFunction = _dereq_(2)
1157
- , SPECIES = _dereq_(81)('species');
1158
- module.exports = function(O, D){
1159
- var C = anObject(O).constructor, S;
1160
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
1161
- };
1162
- },{"2":2,"3":3,"81":81}],64:[function(_dereq_,module,exports){
1163
- 'use strict';
1164
- var $ = _dereq_(45)
1165
- , SPECIES = _dereq_(81)('species');
1166
- module.exports = function(C){
1167
- if(_dereq_(71) && !(SPECIES in C))$.setDesc(C, SPECIES, {
1168
- configurable: true,
1169
- get: function(){ return this; }
1170
- });
1246
+ },{"29":29}],68:[function(_dereq_,module,exports){
1247
+ // 7.3.20 SpeciesConstructor(O, defaultConstructor)
1248
+ var anObject = _dereq_(4)
1249
+ , aFunction = _dereq_(2)
1250
+ , SPECIES = _dereq_(83)('species');
1251
+ module.exports = function(O, D){
1252
+ var C = anObject(O).constructor, S;
1253
+ return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
1171
1254
  };
1172
- },{"45":45,"71":71,"81":81}],65:[function(_dereq_,module,exports){
1255
+ },{"2":2,"4":4,"83":83}],69:[function(_dereq_,module,exports){
1173
1256
  module.exports = function(it, Constructor, name){
1174
1257
  if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
1175
1258
  return it;
1176
1259
  };
1177
- },{}],66:[function(_dereq_,module,exports){
1260
+ },{}],70:[function(_dereq_,module,exports){
1261
+ var toInteger = _dereq_(77)
1262
+ , defined = _dereq_(18);
1178
1263
  // true -> String#at
1179
1264
  // false -> String#codePointAt
1180
- var toInteger = _dereq_(75)
1181
- , defined = _dereq_(18);
1182
1265
  module.exports = function(TO_STRING){
1183
1266
  return function(that, pos){
1184
1267
  var s = String(defined(that))
@@ -1187,25 +1270,24 @@ module.exports = function(TO_STRING){
1187
1270
  , a, b;
1188
1271
  if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
1189
1272
  a = s.charCodeAt(i);
1190
- return a < 0xd800 || a > 0xdbff || i + 1 === l
1191
- || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
1192
- ? TO_STRING ? s.charAt(i) : a
1193
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
1273
+ return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
1274
+ ? TO_STRING ? s.charAt(i) : a
1275
+ : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
1194
1276
  };
1195
1277
  };
1196
- },{"18":18,"75":75}],67:[function(_dereq_,module,exports){
1278
+ },{"18":18,"77":77}],71:[function(_dereq_,module,exports){
1197
1279
  // helper for String#{startsWith, endsWith, includes}
1198
- var isRegExp = _dereq_(38)
1280
+ var isRegExp = _dereq_(39)
1199
1281
  , defined = _dereq_(18);
1200
1282
 
1201
1283
  module.exports = function(that, searchString, NAME){
1202
1284
  if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
1203
1285
  return String(defined(that));
1204
1286
  };
1205
- },{"18":18,"38":38}],68:[function(_dereq_,module,exports){
1287
+ },{"18":18,"39":39}],72:[function(_dereq_,module,exports){
1206
1288
  // https://github.com/ljharb/proposal-string-pad-left-right
1207
- var toLength = _dereq_(77)
1208
- , repeat = _dereq_(69)
1289
+ var toLength = _dereq_(79)
1290
+ , repeat = _dereq_(73)
1209
1291
  , defined = _dereq_(18);
1210
1292
 
1211
1293
  module.exports = function(that, maxLength, fillString, left){
@@ -1220,9 +1302,9 @@ module.exports = function(that, maxLength, fillString, left){
1220
1302
  if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
1221
1303
  return left ? stringFiller + S : S + stringFiller;
1222
1304
  };
1223
- },{"18":18,"69":69,"77":77}],69:[function(_dereq_,module,exports){
1305
+ },{"18":18,"73":73,"79":79}],73:[function(_dereq_,module,exports){
1224
1306
  'use strict';
1225
- var toInteger = _dereq_(75)
1307
+ var toInteger = _dereq_(77)
1226
1308
  , defined = _dereq_(18);
1227
1309
 
1228
1310
  module.exports = function repeat(count){
@@ -1233,19 +1315,10 @@ module.exports = function repeat(count){
1233
1315
  for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
1234
1316
  return res;
1235
1317
  };
1236
- },{"18":18,"75":75}],70:[function(_dereq_,module,exports){
1237
- // 1 -> String#trimLeft
1238
- // 2 -> String#trimRight
1239
- // 3 -> String#trim
1240
- var trim = function(string, TYPE){
1241
- string = String(defined(string));
1242
- if(TYPE & 1)string = string.replace(ltrim, '');
1243
- if(TYPE & 2)string = string.replace(rtrim, '');
1244
- return string;
1245
- };
1246
-
1247
- var $def = _dereq_(17)
1318
+ },{"18":18,"77":77}],74:[function(_dereq_,module,exports){
1319
+ var $export = _dereq_(22)
1248
1320
  , defined = _dereq_(18)
1321
+ , fails = _dereq_(24)
1249
1322
  , spaces = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1250
1323
  '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'
1251
1324
  , space = '[' + spaces + ']'
@@ -1253,33 +1326,31 @@ var $def = _dereq_(17)
1253
1326
  , ltrim = RegExp('^' + space + space + '*')
1254
1327
  , rtrim = RegExp(space + space + '*$');
1255
1328
 
1256
- module.exports = function(KEY, exec){
1329
+ var exporter = function(KEY, exec){
1257
1330
  var exp = {};
1258
1331
  exp[KEY] = exec(trim);
1259
- $def($def.P + $def.F * _dereq_(23)(function(){
1332
+ $export($export.P + $export.F * fails(function(){
1260
1333
  return !!spaces[KEY]() || non[KEY]() != non;
1261
1334
  }), 'String', exp);
1262
1335
  };
1263
- },{"17":17,"18":18,"23":23}],71:[function(_dereq_,module,exports){
1264
- // Thank's IE8 for his funny defineProperty
1265
- module.exports = !_dereq_(23)(function(){
1266
- return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
1267
- });
1268
- },{"23":23}],72:[function(_dereq_,module,exports){
1269
- var def = _dereq_(45).setDesc
1270
- , has = _dereq_(29)
1271
- , TAG = _dereq_(81)('toStringTag');
1272
1336
 
1273
- module.exports = function(it, tag, stat){
1274
- if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
1337
+ // 1 -> String#trimLeft
1338
+ // 2 -> String#trimRight
1339
+ // 3 -> String#trim
1340
+ var trim = exporter.trim = function(string, TYPE){
1341
+ string = String(defined(string));
1342
+ if(TYPE & 1)string = string.replace(ltrim, '');
1343
+ if(TYPE & 2)string = string.replace(rtrim, '');
1344
+ return string;
1275
1345
  };
1276
- },{"29":29,"45":45,"81":81}],73:[function(_dereq_,module,exports){
1277
- 'use strict';
1278
- var ctx = _dereq_(16)
1279
- , invoke = _dereq_(32)
1280
- , html = _dereq_(31)
1281
- , cel = _dereq_(19)
1282
- , global = _dereq_(28)
1346
+
1347
+ module.exports = exporter;
1348
+ },{"18":18,"22":22,"24":24}],75:[function(_dereq_,module,exports){
1349
+ var ctx = _dereq_(17)
1350
+ , invoke = _dereq_(33)
1351
+ , html = _dereq_(32)
1352
+ , cel = _dereq_(20)
1353
+ , global = _dereq_(29)
1283
1354
  , process = global.process
1284
1355
  , setTask = global.setImmediate
1285
1356
  , clearTask = global.clearImmediate
@@ -1314,7 +1385,7 @@ if(!setTask || !clearTask){
1314
1385
  delete queue[id];
1315
1386
  };
1316
1387
  // Node.js 0.8-
1317
- if(_dereq_(10)(process) == 'process'){
1388
+ if(_dereq_(11)(process) == 'process'){
1318
1389
  defer = function(id){
1319
1390
  process.nextTick(ctx(run, id, 1));
1320
1391
  };
@@ -1350,105 +1421,112 @@ module.exports = {
1350
1421
  set: setTask,
1351
1422
  clear: clearTask
1352
1423
  };
1353
- },{"10":10,"16":16,"19":19,"28":28,"31":31,"32":32}],74:[function(_dereq_,module,exports){
1354
- var toInteger = _dereq_(75)
1424
+ },{"11":11,"17":17,"20":20,"29":29,"32":32,"33":33}],76:[function(_dereq_,module,exports){
1425
+ var toInteger = _dereq_(77)
1355
1426
  , max = Math.max
1356
1427
  , min = Math.min;
1357
1428
  module.exports = function(index, length){
1358
1429
  index = toInteger(index);
1359
1430
  return index < 0 ? max(index + length, 0) : min(index, length);
1360
1431
  };
1361
- },{"75":75}],75:[function(_dereq_,module,exports){
1432
+ },{"77":77}],77:[function(_dereq_,module,exports){
1362
1433
  // 7.1.4 ToInteger
1363
1434
  var ceil = Math.ceil
1364
1435
  , floor = Math.floor;
1365
1436
  module.exports = function(it){
1366
1437
  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1367
1438
  };
1368
- },{}],76:[function(_dereq_,module,exports){
1439
+ },{}],78:[function(_dereq_,module,exports){
1369
1440
  // to indexed object, toObject with fallback for non-array-like ES3 strings
1370
- var IObject = _dereq_(33)
1441
+ var IObject = _dereq_(34)
1371
1442
  , defined = _dereq_(18);
1372
1443
  module.exports = function(it){
1373
1444
  return IObject(defined(it));
1374
1445
  };
1375
- },{"18":18,"33":33}],77:[function(_dereq_,module,exports){
1446
+ },{"18":18,"34":34}],79:[function(_dereq_,module,exports){
1376
1447
  // 7.1.15 ToLength
1377
- var toInteger = _dereq_(75)
1448
+ var toInteger = _dereq_(77)
1378
1449
  , min = Math.min;
1379
1450
  module.exports = function(it){
1380
1451
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1381
1452
  };
1382
- },{"75":75}],78:[function(_dereq_,module,exports){
1453
+ },{"77":77}],80:[function(_dereq_,module,exports){
1383
1454
  // 7.1.13 ToObject(argument)
1384
1455
  var defined = _dereq_(18);
1385
1456
  module.exports = function(it){
1386
1457
  return Object(defined(it));
1387
1458
  };
1388
- },{"18":18}],79:[function(_dereq_,module,exports){
1459
+ },{"18":18}],81:[function(_dereq_,module,exports){
1460
+ // 7.1.1 ToPrimitive(input [, PreferredType])
1461
+ var isObject = _dereq_(38);
1462
+ // instead of the ES6 spec version, we didn't implement @@toPrimitive case
1463
+ // and the second argument - flag - preferred type is a string
1464
+ module.exports = function(it, S){
1465
+ if(!isObject(it))return it;
1466
+ var fn, val;
1467
+ if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
1468
+ if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
1469
+ if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
1470
+ throw TypeError("Can't convert object to primitive value");
1471
+ };
1472
+ },{"38":38}],82:[function(_dereq_,module,exports){
1389
1473
  var id = 0
1390
1474
  , px = Math.random();
1391
1475
  module.exports = function(key){
1392
1476
  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1393
1477
  };
1394
- },{}],80:[function(_dereq_,module,exports){
1395
- // 22.1.3.31 Array.prototype[@@unscopables]
1396
- var UNSCOPABLES = _dereq_(81)('unscopables');
1397
- if([][UNSCOPABLES] == undefined)_dereq_(30)(Array.prototype, UNSCOPABLES, {});
1398
- module.exports = function(key){
1399
- [][UNSCOPABLES][key] = true;
1400
- };
1401
- },{"30":30,"81":81}],81:[function(_dereq_,module,exports){
1402
- var store = _dereq_(61)('wks')
1403
- , Symbol = _dereq_(28).Symbol;
1478
+ },{}],83:[function(_dereq_,module,exports){
1479
+ var store = _dereq_(67)('wks')
1480
+ , uid = _dereq_(82)
1481
+ , Symbol = _dereq_(29).Symbol;
1404
1482
  module.exports = function(name){
1405
1483
  return store[name] || (store[name] =
1406
- Symbol && Symbol[name] || (Symbol || _dereq_(79))('Symbol.' + name));
1484
+ Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
1407
1485
  };
1408
- },{"28":28,"61":61,"79":79}],82:[function(_dereq_,module,exports){
1409
- var classof = _dereq_(9)
1410
- , ITERATOR = _dereq_(81)('iterator')
1411
- , Iterators = _dereq_(44);
1412
- module.exports = _dereq_(15).getIteratorMethod = function(it){
1486
+ },{"29":29,"67":67,"82":82}],84:[function(_dereq_,module,exports){
1487
+ var classof = _dereq_(10)
1488
+ , ITERATOR = _dereq_(83)('iterator')
1489
+ , Iterators = _dereq_(45);
1490
+ module.exports = _dereq_(16).getIteratorMethod = function(it){
1413
1491
  if(it != undefined)return it[ITERATOR]
1414
1492
  || it['@@iterator']
1415
1493
  || Iterators[classof(it)];
1416
1494
  };
1417
- },{"15":15,"44":44,"81":81,"9":9}],83:[function(_dereq_,module,exports){
1495
+ },{"10":10,"16":16,"45":45,"83":83}],85:[function(_dereq_,module,exports){
1418
1496
  'use strict';
1419
- var $ = _dereq_(45)
1420
- , SUPPORT_DESC = _dereq_(71)
1421
- , createDesc = _dereq_(56)
1422
- , html = _dereq_(31)
1423
- , cel = _dereq_(19)
1424
- , has = _dereq_(29)
1425
- , cof = _dereq_(10)
1426
- , $def = _dereq_(17)
1427
- , invoke = _dereq_(32)
1428
- , arrayMethod = _dereq_(7)
1429
- , IE_PROTO = _dereq_(79)('__proto__')
1430
- , isObject = _dereq_(37)
1431
- , anObject = _dereq_(3)
1432
- , aFunction = _dereq_(2)
1433
- , toObject = _dereq_(78)
1434
- , toIObject = _dereq_(76)
1435
- , toInteger = _dereq_(75)
1436
- , toIndex = _dereq_(74)
1437
- , toLength = _dereq_(77)
1438
- , IObject = _dereq_(33)
1439
- , fails = _dereq_(23)
1440
- , ObjectProto = Object.prototype
1441
- , A = []
1442
- , _slice = A.slice
1443
- , _join = A.join
1444
- , defineProperty = $.setDesc
1445
- , getOwnDescriptor = $.getDesc
1446
- , defineProperties = $.setDescs
1447
- , $indexOf = _dereq_(6)(false)
1448
- , factories = {}
1497
+ var $ = _dereq_(46)
1498
+ , $export = _dereq_(22)
1499
+ , DESCRIPTORS = _dereq_(19)
1500
+ , createDesc = _dereq_(59)
1501
+ , html = _dereq_(32)
1502
+ , cel = _dereq_(20)
1503
+ , has = _dereq_(30)
1504
+ , cof = _dereq_(11)
1505
+ , invoke = _dereq_(33)
1506
+ , fails = _dereq_(24)
1507
+ , anObject = _dereq_(4)
1508
+ , aFunction = _dereq_(2)
1509
+ , isObject = _dereq_(38)
1510
+ , toObject = _dereq_(80)
1511
+ , toIObject = _dereq_(78)
1512
+ , toInteger = _dereq_(77)
1513
+ , toIndex = _dereq_(76)
1514
+ , toLength = _dereq_(79)
1515
+ , IObject = _dereq_(34)
1516
+ , IE_PROTO = _dereq_(82)('__proto__')
1517
+ , createArrayMethod = _dereq_(8)
1518
+ , arrayIndexOf = _dereq_(7)(false)
1519
+ , ObjectProto = Object.prototype
1520
+ , ArrayProto = Array.prototype
1521
+ , arraySlice = ArrayProto.slice
1522
+ , arrayJoin = ArrayProto.join
1523
+ , defineProperty = $.setDesc
1524
+ , getOwnDescriptor = $.getDesc
1525
+ , defineProperties = $.setDescs
1526
+ , factories = {}
1449
1527
  , IE8_DOM_DEFINE;
1450
1528
 
1451
- if(!SUPPORT_DESC){
1529
+ if(!DESCRIPTORS){
1452
1530
  IE8_DOM_DEFINE = !fails(function(){
1453
1531
  return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;
1454
1532
  });
@@ -1476,7 +1554,7 @@ if(!SUPPORT_DESC){
1476
1554
  return O;
1477
1555
  };
1478
1556
  }
1479
- $def($def.S + $def.F * !SUPPORT_DESC, 'Object', {
1557
+ $export($export.S + $export.F * !DESCRIPTORS, 'Object', {
1480
1558
  // 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)
1481
1559
  getOwnPropertyDescriptor: $.getDesc,
1482
1560
  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
@@ -1521,13 +1599,13 @@ var createGetKeys = function(names, length){
1521
1599
  for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
1522
1600
  // Don't enum bug & hidden keys
1523
1601
  while(length > i)if(has(O, key = names[i++])){
1524
- ~$indexOf(result, key) || result.push(key);
1602
+ ~arrayIndexOf(result, key) || result.push(key);
1525
1603
  }
1526
1604
  return result;
1527
1605
  };
1528
1606
  };
1529
1607
  var Empty = function(){};
1530
- $def($def.S, 'Object', {
1608
+ $export($export.S, 'Object', {
1531
1609
  // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1532
1610
  getPrototypeOf: $.getProto = $.getProto || function(O){
1533
1611
  O = toObject(O);
@@ -1563,12 +1641,12 @@ var construct = function(F, len, args){
1563
1641
  };
1564
1642
 
1565
1643
  // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
1566
- $def($def.P, 'Function', {
1644
+ $export($export.P, 'Function', {
1567
1645
  bind: function bind(that /*, args... */){
1568
1646
  var fn = aFunction(this)
1569
- , partArgs = _slice.call(arguments, 1);
1647
+ , partArgs = arraySlice.call(arguments, 1);
1570
1648
  var bound = function(/* args... */){
1571
- var args = partArgs.concat(_slice.call(arguments));
1649
+ var args = partArgs.concat(arraySlice.call(arguments));
1572
1650
  return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
1573
1651
  };
1574
1652
  if(isObject(fn.prototype))bound.prototype = fn.prototype;
@@ -1577,16 +1655,14 @@ $def($def.P, 'Function', {
1577
1655
  });
1578
1656
 
1579
1657
  // fallback for not array-like ES3 strings and DOM objects
1580
- var buggySlice = fails(function(){
1581
- if(html)_slice.call(html);
1582
- });
1583
-
1584
- $def($def.P + $def.F * buggySlice, 'Array', {
1658
+ $export($export.P + $export.F * fails(function(){
1659
+ if(html)arraySlice.call(html);
1660
+ }), 'Array', {
1585
1661
  slice: function(begin, end){
1586
1662
  var len = toLength(this.length)
1587
1663
  , klass = cof(this);
1588
1664
  end = end === undefined ? len : end;
1589
- if(klass == 'Array')return _slice.call(this, begin, end);
1665
+ if(klass == 'Array')return arraySlice.call(this, begin, end);
1590
1666
  var start = toIndex(begin, len)
1591
1667
  , upTo = toIndex(end, len)
1592
1668
  , size = toLength(upTo - start)
@@ -1598,14 +1674,14 @@ $def($def.P + $def.F * buggySlice, 'Array', {
1598
1674
  return cloned;
1599
1675
  }
1600
1676
  });
1601
- $def($def.P + $def.F * (IObject != Object), 'Array', {
1602
- join: function(){
1603
- return _join.apply(IObject(this), arguments);
1677
+ $export($export.P + $export.F * (IObject != Object), 'Array', {
1678
+ join: function join(separator){
1679
+ return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);
1604
1680
  }
1605
1681
  });
1606
1682
 
1607
1683
  // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
1608
- $def($def.S, 'Array', {isArray: _dereq_(35)});
1684
+ $export($export.S, 'Array', {isArray: _dereq_(36)});
1609
1685
 
1610
1686
  var createArrayReduce = function(isRight){
1611
1687
  return function(callbackfn, memo){
@@ -1631,28 +1707,30 @@ var createArrayReduce = function(isRight){
1631
1707
  return memo;
1632
1708
  };
1633
1709
  };
1710
+
1634
1711
  var methodize = function($fn){
1635
1712
  return function(arg1/*, arg2 = undefined */){
1636
1713
  return $fn(this, arg1, arguments[1]);
1637
1714
  };
1638
1715
  };
1639
- $def($def.P, 'Array', {
1716
+
1717
+ $export($export.P, 'Array', {
1640
1718
  // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
1641
- forEach: $.each = $.each || methodize(arrayMethod(0)),
1719
+ forEach: $.each = $.each || methodize(createArrayMethod(0)),
1642
1720
  // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
1643
- map: methodize(arrayMethod(1)),
1721
+ map: methodize(createArrayMethod(1)),
1644
1722
  // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
1645
- filter: methodize(arrayMethod(2)),
1723
+ filter: methodize(createArrayMethod(2)),
1646
1724
  // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
1647
- some: methodize(arrayMethod(3)),
1725
+ some: methodize(createArrayMethod(3)),
1648
1726
  // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
1649
- every: methodize(arrayMethod(4)),
1727
+ every: methodize(createArrayMethod(4)),
1650
1728
  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
1651
1729
  reduce: createArrayReduce(false),
1652
1730
  // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
1653
1731
  reduceRight: createArrayReduce(true),
1654
1732
  // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
1655
- indexOf: methodize($indexOf),
1733
+ indexOf: methodize(arrayIndexOf),
1656
1734
  // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
1657
1735
  lastIndexOf: function(el, fromIndex /* = @[*-1] */){
1658
1736
  var O = toIObject(this)
@@ -1666,18 +1744,19 @@ $def($def.P, 'Array', {
1666
1744
  });
1667
1745
 
1668
1746
  // 20.3.3.1 / 15.9.4.4 Date.now()
1669
- $def($def.S, 'Date', {now: function(){ return +new Date; }});
1747
+ $export($export.S, 'Date', {now: function(){ return +new Date; }});
1670
1748
 
1671
1749
  var lz = function(num){
1672
1750
  return num > 9 ? num : '0' + num;
1673
1751
  };
1674
1752
 
1675
1753
  // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
1676
- // PhantomJS and old webkit had a broken Date implementation.
1677
- var date = new Date(-5e13 - 1)
1678
- , brokenDate = !(date.toISOString && date.toISOString() == '0385-07-25T07:06:39.999Z'
1679
- && fails(function(){ new Date(NaN).toISOString(); }));
1680
- $def($def.P + $def.F * brokenDate, 'Date', {
1754
+ // PhantomJS / old WebKit has a broken implementations
1755
+ $export($export.P + $export.F * (fails(function(){
1756
+ return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
1757
+ }) || !fails(function(){
1758
+ new Date(NaN).toISOString();
1759
+ })), 'Date', {
1681
1760
  toISOString: function toISOString(){
1682
1761
  if(!isFinite(this))throw RangeError('Invalid time value');
1683
1762
  var d = this
@@ -1690,61 +1769,60 @@ $def($def.P + $def.F * brokenDate, 'Date', {
1690
1769
  ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
1691
1770
  }
1692
1771
  });
1693
- },{"10":10,"17":17,"19":19,"2":2,"23":23,"29":29,"3":3,"31":31,"32":32,"33":33,"35":35,"37":37,"45":45,"56":56,"6":6,"7":7,"71":71,"74":74,"75":75,"76":76,"77":77,"78":78,"79":79}],84:[function(_dereq_,module,exports){
1772
+ },{"11":11,"19":19,"2":2,"20":20,"22":22,"24":24,"30":30,"32":32,"33":33,"34":34,"36":36,"38":38,"4":4,"46":46,"59":59,"7":7,"76":76,"77":77,"78":78,"79":79,"8":8,"80":80,"82":82}],86:[function(_dereq_,module,exports){
1694
1773
  // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
1695
- 'use strict';
1696
- var $def = _dereq_(17);
1774
+ var $export = _dereq_(22);
1697
1775
 
1698
- $def($def.P, 'Array', {copyWithin: _dereq_(4)});
1776
+ $export($export.P, 'Array', {copyWithin: _dereq_(5)});
1699
1777
 
1700
- _dereq_(80)('copyWithin');
1701
- },{"17":17,"4":4,"80":80}],85:[function(_dereq_,module,exports){
1778
+ _dereq_(3)('copyWithin');
1779
+ },{"22":22,"3":3,"5":5}],87:[function(_dereq_,module,exports){
1702
1780
  // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
1703
- var $def = _dereq_(17);
1781
+ var $export = _dereq_(22);
1704
1782
 
1705
- $def($def.P, 'Array', {fill: _dereq_(5)});
1783
+ $export($export.P, 'Array', {fill: _dereq_(6)});
1706
1784
 
1707
- _dereq_(80)('fill');
1708
- },{"17":17,"5":5,"80":80}],86:[function(_dereq_,module,exports){
1785
+ _dereq_(3)('fill');
1786
+ },{"22":22,"3":3,"6":6}],88:[function(_dereq_,module,exports){
1709
1787
  'use strict';
1710
1788
  // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
1711
- var KEY = 'findIndex'
1712
- , $def = _dereq_(17)
1713
- , forced = true
1714
- , $find = _dereq_(7)(6);
1789
+ var $export = _dereq_(22)
1790
+ , $find = _dereq_(8)(6)
1791
+ , KEY = 'findIndex'
1792
+ , forced = true;
1715
1793
  // Shouldn't skip holes
1716
1794
  if(KEY in [])Array(1)[KEY](function(){ forced = false; });
1717
- $def($def.P + $def.F * forced, 'Array', {
1795
+ $export($export.P + $export.F * forced, 'Array', {
1718
1796
  findIndex: function findIndex(callbackfn/*, that = undefined */){
1719
1797
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1720
1798
  }
1721
1799
  });
1722
- _dereq_(80)(KEY);
1723
- },{"17":17,"7":7,"80":80}],87:[function(_dereq_,module,exports){
1800
+ _dereq_(3)(KEY);
1801
+ },{"22":22,"3":3,"8":8}],89:[function(_dereq_,module,exports){
1724
1802
  'use strict';
1725
1803
  // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
1726
- var KEY = 'find'
1727
- , $def = _dereq_(17)
1728
- , forced = true
1729
- , $find = _dereq_(7)(5);
1804
+ var $export = _dereq_(22)
1805
+ , $find = _dereq_(8)(5)
1806
+ , KEY = 'find'
1807
+ , forced = true;
1730
1808
  // Shouldn't skip holes
1731
1809
  if(KEY in [])Array(1)[KEY](function(){ forced = false; });
1732
- $def($def.P + $def.F * forced, 'Array', {
1810
+ $export($export.P + $export.F * forced, 'Array', {
1733
1811
  find: function find(callbackfn/*, that = undefined */){
1734
1812
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1735
1813
  }
1736
1814
  });
1737
- _dereq_(80)(KEY);
1738
- },{"17":17,"7":7,"80":80}],88:[function(_dereq_,module,exports){
1815
+ _dereq_(3)(KEY);
1816
+ },{"22":22,"3":3,"8":8}],90:[function(_dereq_,module,exports){
1739
1817
  'use strict';
1740
- var ctx = _dereq_(16)
1741
- , $def = _dereq_(17)
1742
- , toObject = _dereq_(78)
1743
- , call = _dereq_(39)
1744
- , isArrayIter = _dereq_(34)
1745
- , toLength = _dereq_(77)
1746
- , getIterFn = _dereq_(82);
1747
- $def($def.S + $def.F * !_dereq_(42)(function(iter){ Array.from(iter); }), 'Array', {
1818
+ var ctx = _dereq_(17)
1819
+ , $export = _dereq_(22)
1820
+ , toObject = _dereq_(80)
1821
+ , call = _dereq_(40)
1822
+ , isArrayIter = _dereq_(35)
1823
+ , toLength = _dereq_(79)
1824
+ , getIterFn = _dereq_(84);
1825
+ $export($export.S + $export.F * !_dereq_(43)(function(iter){ Array.from(iter); }), 'Array', {
1748
1826
  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
1749
1827
  from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
1750
1828
  var O = toObject(arrayLike)
@@ -1773,18 +1851,18 @@ $def($def.S + $def.F * !_dereq_(42)(function(iter){ Array.from(iter); }), 'Array
1773
1851
  }
1774
1852
  });
1775
1853
 
1776
- },{"16":16,"17":17,"34":34,"39":39,"42":42,"77":77,"78":78,"82":82}],89:[function(_dereq_,module,exports){
1854
+ },{"17":17,"22":22,"35":35,"40":40,"43":43,"79":79,"80":80,"84":84}],91:[function(_dereq_,module,exports){
1777
1855
  'use strict';
1778
- var setUnscope = _dereq_(80)
1779
- , step = _dereq_(43)
1780
- , Iterators = _dereq_(44)
1781
- , toIObject = _dereq_(76);
1856
+ var addToUnscopables = _dereq_(3)
1857
+ , step = _dereq_(44)
1858
+ , Iterators = _dereq_(45)
1859
+ , toIObject = _dereq_(78);
1782
1860
 
1783
1861
  // 22.1.3.4 Array.prototype.entries()
1784
1862
  // 22.1.3.13 Array.prototype.keys()
1785
1863
  // 22.1.3.29 Array.prototype.values()
1786
1864
  // 22.1.3.30 Array.prototype[@@iterator]()
1787
- _dereq_(41)(Array, 'Array', function(iterated, kind){
1865
+ module.exports = _dereq_(42)(Array, 'Array', function(iterated, kind){
1788
1866
  this._t = toIObject(iterated); // target
1789
1867
  this._i = 0; // next index
1790
1868
  this._k = kind; // kind
@@ -1805,15 +1883,15 @@ _dereq_(41)(Array, 'Array', function(iterated, kind){
1805
1883
  // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
1806
1884
  Iterators.Arguments = Iterators.Array;
1807
1885
 
1808
- setUnscope('keys');
1809
- setUnscope('values');
1810
- setUnscope('entries');
1811
- },{"41":41,"43":43,"44":44,"76":76,"80":80}],90:[function(_dereq_,module,exports){
1886
+ addToUnscopables('keys');
1887
+ addToUnscopables('values');
1888
+ addToUnscopables('entries');
1889
+ },{"3":3,"42":42,"44":44,"45":45,"78":78}],92:[function(_dereq_,module,exports){
1812
1890
  'use strict';
1813
- var $def = _dereq_(17);
1891
+ var $export = _dereq_(22);
1814
1892
 
1815
1893
  // WebKit Array.of isn't generic
1816
- $def($def.S + $def.F * _dereq_(23)(function(){
1894
+ $export($export.S + $export.F * _dereq_(24)(function(){
1817
1895
  function F(){}
1818
1896
  return !(Array.of.call(F) instanceof F);
1819
1897
  }), 'Array', {
@@ -1828,13 +1906,13 @@ $def($def.S + $def.F * _dereq_(23)(function(){
1828
1906
  return result;
1829
1907
  }
1830
1908
  });
1831
- },{"17":17,"23":23}],91:[function(_dereq_,module,exports){
1832
- _dereq_(64)(Array);
1833
- },{"64":64}],92:[function(_dereq_,module,exports){
1909
+ },{"22":22,"24":24}],93:[function(_dereq_,module,exports){
1910
+ _dereq_(65)('Array');
1911
+ },{"65":65}],94:[function(_dereq_,module,exports){
1834
1912
  'use strict';
1835
- var $ = _dereq_(45)
1836
- , isObject = _dereq_(37)
1837
- , HAS_INSTANCE = _dereq_(81)('hasInstance')
1913
+ var $ = _dereq_(46)
1914
+ , isObject = _dereq_(38)
1915
+ , HAS_INSTANCE = _dereq_(83)('hasInstance')
1838
1916
  , FunctionProto = Function.prototype;
1839
1917
  // 19.2.3.6 Function.prototype[@@hasInstance](V)
1840
1918
  if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
@@ -1844,15 +1922,15 @@ if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {valu
1844
1922
  while(O = $.getProto(O))if(this.prototype === O)return true;
1845
1923
  return false;
1846
1924
  }});
1847
- },{"37":37,"45":45,"81":81}],93:[function(_dereq_,module,exports){
1848
- var setDesc = _dereq_(45).setDesc
1849
- , createDesc = _dereq_(56)
1850
- , has = _dereq_(29)
1925
+ },{"38":38,"46":46,"83":83}],95:[function(_dereq_,module,exports){
1926
+ var setDesc = _dereq_(46).setDesc
1927
+ , createDesc = _dereq_(59)
1928
+ , has = _dereq_(30)
1851
1929
  , FProto = Function.prototype
1852
1930
  , nameRE = /^\s*function ([^ (]*)/
1853
1931
  , NAME = 'name';
1854
1932
  // 19.2.4.2 name
1855
- NAME in FProto || _dereq_(71) && setDesc(FProto, NAME, {
1933
+ NAME in FProto || _dereq_(19) && setDesc(FProto, NAME, {
1856
1934
  configurable: true,
1857
1935
  get: function(){
1858
1936
  var match = ('' + this).match(nameRE)
@@ -1861,12 +1939,12 @@ NAME in FProto || _dereq_(71) && setDesc(FProto, NAME, {
1861
1939
  return name;
1862
1940
  }
1863
1941
  });
1864
- },{"29":29,"45":45,"56":56,"71":71}],94:[function(_dereq_,module,exports){
1942
+ },{"19":19,"30":30,"46":46,"59":59}],96:[function(_dereq_,module,exports){
1865
1943
  'use strict';
1866
- var strong = _dereq_(11);
1944
+ var strong = _dereq_(12);
1867
1945
 
1868
1946
  // 23.1 Map Objects
1869
- _dereq_(14)('Map', function(get){
1947
+ _dereq_(15)('Map', function(get){
1870
1948
  return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
1871
1949
  }, {
1872
1950
  // 23.1.3.6 Map.prototype.get(key)
@@ -1879,78 +1957,78 @@ _dereq_(14)('Map', function(get){
1879
1957
  return strong.def(this, key === 0 ? 0 : key, value);
1880
1958
  }
1881
1959
  }, strong, true);
1882
- },{"11":11,"14":14}],95:[function(_dereq_,module,exports){
1960
+ },{"12":12,"15":15}],97:[function(_dereq_,module,exports){
1883
1961
  // 20.2.2.3 Math.acosh(x)
1884
- var $def = _dereq_(17)
1885
- , log1p = _dereq_(48)
1886
- , sqrt = Math.sqrt
1887
- , $acosh = Math.acosh;
1962
+ var $export = _dereq_(22)
1963
+ , log1p = _dereq_(50)
1964
+ , sqrt = Math.sqrt
1965
+ , $acosh = Math.acosh;
1888
1966
 
1889
1967
  // V8 bug https://code.google.com/p/v8/issues/detail?id=3509
1890
- $def($def.S + $def.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
1968
+ $export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
1891
1969
  acosh: function acosh(x){
1892
1970
  return (x = +x) < 1 ? NaN : x > 94906265.62425156
1893
1971
  ? Math.log(x) + Math.LN2
1894
1972
  : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
1895
1973
  }
1896
1974
  });
1897
- },{"17":17,"48":48}],96:[function(_dereq_,module,exports){
1975
+ },{"22":22,"50":50}],98:[function(_dereq_,module,exports){
1898
1976
  // 20.2.2.5 Math.asinh(x)
1899
- var $def = _dereq_(17);
1977
+ var $export = _dereq_(22);
1900
1978
 
1901
1979
  function asinh(x){
1902
1980
  return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
1903
1981
  }
1904
1982
 
1905
- $def($def.S, 'Math', {asinh: asinh});
1906
- },{"17":17}],97:[function(_dereq_,module,exports){
1983
+ $export($export.S, 'Math', {asinh: asinh});
1984
+ },{"22":22}],99:[function(_dereq_,module,exports){
1907
1985
  // 20.2.2.7 Math.atanh(x)
1908
- var $def = _dereq_(17);
1986
+ var $export = _dereq_(22);
1909
1987
 
1910
- $def($def.S, 'Math', {
1988
+ $export($export.S, 'Math', {
1911
1989
  atanh: function atanh(x){
1912
1990
  return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
1913
1991
  }
1914
1992
  });
1915
- },{"17":17}],98:[function(_dereq_,module,exports){
1993
+ },{"22":22}],100:[function(_dereq_,module,exports){
1916
1994
  // 20.2.2.9 Math.cbrt(x)
1917
- var $def = _dereq_(17)
1918
- , sign = _dereq_(62);
1995
+ var $export = _dereq_(22)
1996
+ , sign = _dereq_(51);
1919
1997
 
1920
- $def($def.S, 'Math', {
1998
+ $export($export.S, 'Math', {
1921
1999
  cbrt: function cbrt(x){
1922
2000
  return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
1923
2001
  }
1924
2002
  });
1925
- },{"17":17,"62":62}],99:[function(_dereq_,module,exports){
2003
+ },{"22":22,"51":51}],101:[function(_dereq_,module,exports){
1926
2004
  // 20.2.2.11 Math.clz32(x)
1927
- var $def = _dereq_(17);
2005
+ var $export = _dereq_(22);
1928
2006
 
1929
- $def($def.S, 'Math', {
2007
+ $export($export.S, 'Math', {
1930
2008
  clz32: function clz32(x){
1931
2009
  return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
1932
2010
  }
1933
2011
  });
1934
- },{"17":17}],100:[function(_dereq_,module,exports){
2012
+ },{"22":22}],102:[function(_dereq_,module,exports){
1935
2013
  // 20.2.2.12 Math.cosh(x)
1936
- var $def = _dereq_(17)
1937
- , exp = Math.exp;
2014
+ var $export = _dereq_(22)
2015
+ , exp = Math.exp;
1938
2016
 
1939
- $def($def.S, 'Math', {
2017
+ $export($export.S, 'Math', {
1940
2018
  cosh: function cosh(x){
1941
2019
  return (exp(x = +x) + exp(-x)) / 2;
1942
2020
  }
1943
2021
  });
1944
- },{"17":17}],101:[function(_dereq_,module,exports){
2022
+ },{"22":22}],103:[function(_dereq_,module,exports){
1945
2023
  // 20.2.2.14 Math.expm1(x)
1946
- var $def = _dereq_(17);
2024
+ var $export = _dereq_(22);
1947
2025
 
1948
- $def($def.S, 'Math', {expm1: _dereq_(21)});
1949
- },{"17":17,"21":21}],102:[function(_dereq_,module,exports){
2026
+ $export($export.S, 'Math', {expm1: _dereq_(49)});
2027
+ },{"22":22,"49":49}],104:[function(_dereq_,module,exports){
1950
2028
  // 20.2.2.16 Math.fround(x)
1951
- var $def = _dereq_(17)
1952
- , sign = _dereq_(62)
1953
- , pow = Math.pow
2029
+ var $export = _dereq_(22)
2030
+ , sign = _dereq_(51)
2031
+ , pow = Math.pow
1954
2032
  , EPSILON = pow(2, -52)
1955
2033
  , EPSILON32 = pow(2, -23)
1956
2034
  , MAX32 = pow(2, 127) * (2 - EPSILON32)
@@ -1961,7 +2039,7 @@ var roundTiesToEven = function(n){
1961
2039
  };
1962
2040
 
1963
2041
 
1964
- $def($def.S, 'Math', {
2042
+ $export($export.S, 'Math', {
1965
2043
  fround: function fround(x){
1966
2044
  var $abs = Math.abs(x)
1967
2045
  , $sign = sign(x)
@@ -1973,12 +2051,12 @@ $def($def.S, 'Math', {
1973
2051
  return $sign * result;
1974
2052
  }
1975
2053
  });
1976
- },{"17":17,"62":62}],103:[function(_dereq_,module,exports){
2054
+ },{"22":22,"51":51}],105:[function(_dereq_,module,exports){
1977
2055
  // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
1978
- var $def = _dereq_(17)
1979
- , abs = Math.abs;
2056
+ var $export = _dereq_(22)
2057
+ , abs = Math.abs;
1980
2058
 
1981
- $def($def.S, 'Math', {
2059
+ $export($export.S, 'Math', {
1982
2060
  hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
1983
2061
  var sum = 0
1984
2062
  , i = 0
@@ -2000,13 +2078,13 @@ $def($def.S, 'Math', {
2000
2078
  return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
2001
2079
  }
2002
2080
  });
2003
- },{"17":17}],104:[function(_dereq_,module,exports){
2081
+ },{"22":22}],106:[function(_dereq_,module,exports){
2004
2082
  // 20.2.2.18 Math.imul(x, y)
2005
- var $def = _dereq_(17)
2006
- , $imul = Math.imul;
2083
+ var $export = _dereq_(22)
2084
+ , $imul = Math.imul;
2007
2085
 
2008
2086
  // some WebKit versions fails with big numbers, some has wrong arity
2009
- $def($def.S + $def.F * _dereq_(23)(function(){
2087
+ $export($export.S + $export.F * _dereq_(24)(function(){
2010
2088
  return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
2011
2089
  }), 'Math', {
2012
2090
  imul: function imul(x, y){
@@ -2018,42 +2096,42 @@ $def($def.S + $def.F * _dereq_(23)(function(){
2018
2096
  return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
2019
2097
  }
2020
2098
  });
2021
- },{"17":17,"23":23}],105:[function(_dereq_,module,exports){
2099
+ },{"22":22,"24":24}],107:[function(_dereq_,module,exports){
2022
2100
  // 20.2.2.21 Math.log10(x)
2023
- var $def = _dereq_(17);
2101
+ var $export = _dereq_(22);
2024
2102
 
2025
- $def($def.S, 'Math', {
2103
+ $export($export.S, 'Math', {
2026
2104
  log10: function log10(x){
2027
2105
  return Math.log(x) / Math.LN10;
2028
2106
  }
2029
2107
  });
2030
- },{"17":17}],106:[function(_dereq_,module,exports){
2108
+ },{"22":22}],108:[function(_dereq_,module,exports){
2031
2109
  // 20.2.2.20 Math.log1p(x)
2032
- var $def = _dereq_(17);
2110
+ var $export = _dereq_(22);
2033
2111
 
2034
- $def($def.S, 'Math', {log1p: _dereq_(48)});
2035
- },{"17":17,"48":48}],107:[function(_dereq_,module,exports){
2112
+ $export($export.S, 'Math', {log1p: _dereq_(50)});
2113
+ },{"22":22,"50":50}],109:[function(_dereq_,module,exports){
2036
2114
  // 20.2.2.22 Math.log2(x)
2037
- var $def = _dereq_(17);
2115
+ var $export = _dereq_(22);
2038
2116
 
2039
- $def($def.S, 'Math', {
2117
+ $export($export.S, 'Math', {
2040
2118
  log2: function log2(x){
2041
2119
  return Math.log(x) / Math.LN2;
2042
2120
  }
2043
2121
  });
2044
- },{"17":17}],108:[function(_dereq_,module,exports){
2122
+ },{"22":22}],110:[function(_dereq_,module,exports){
2045
2123
  // 20.2.2.28 Math.sign(x)
2046
- var $def = _dereq_(17);
2124
+ var $export = _dereq_(22);
2047
2125
 
2048
- $def($def.S, 'Math', {sign: _dereq_(62)});
2049
- },{"17":17,"62":62}],109:[function(_dereq_,module,exports){
2126
+ $export($export.S, 'Math', {sign: _dereq_(51)});
2127
+ },{"22":22,"51":51}],111:[function(_dereq_,module,exports){
2050
2128
  // 20.2.2.30 Math.sinh(x)
2051
- var $def = _dereq_(17)
2052
- , expm1 = _dereq_(21)
2053
- , exp = Math.exp;
2129
+ var $export = _dereq_(22)
2130
+ , expm1 = _dereq_(49)
2131
+ , exp = Math.exp;
2054
2132
 
2055
2133
  // V8 near Chromium 38 has a problem with very small numbers
2056
- $def($def.S + $def.F * _dereq_(23)(function(){
2134
+ $export($export.S + $export.F * _dereq_(24)(function(){
2057
2135
  return !Math.sinh(-2e-17) != -2e-17;
2058
2136
  }), 'Math', {
2059
2137
  sinh: function sinh(x){
@@ -2062,67 +2140,81 @@ $def($def.S + $def.F * _dereq_(23)(function(){
2062
2140
  : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
2063
2141
  }
2064
2142
  });
2065
- },{"17":17,"21":21,"23":23}],110:[function(_dereq_,module,exports){
2143
+ },{"22":22,"24":24,"49":49}],112:[function(_dereq_,module,exports){
2066
2144
  // 20.2.2.33 Math.tanh(x)
2067
- var $def = _dereq_(17)
2068
- , expm1 = _dereq_(21)
2069
- , exp = Math.exp;
2145
+ var $export = _dereq_(22)
2146
+ , expm1 = _dereq_(49)
2147
+ , exp = Math.exp;
2070
2148
 
2071
- $def($def.S, 'Math', {
2149
+ $export($export.S, 'Math', {
2072
2150
  tanh: function tanh(x){
2073
2151
  var a = expm1(x = +x)
2074
2152
  , b = expm1(-x);
2075
2153
  return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
2076
2154
  }
2077
2155
  });
2078
- },{"17":17,"21":21}],111:[function(_dereq_,module,exports){
2156
+ },{"22":22,"49":49}],113:[function(_dereq_,module,exports){
2079
2157
  // 20.2.2.34 Math.trunc(x)
2080
- var $def = _dereq_(17);
2158
+ var $export = _dereq_(22);
2081
2159
 
2082
- $def($def.S, 'Math', {
2160
+ $export($export.S, 'Math', {
2083
2161
  trunc: function trunc(it){
2084
2162
  return (it > 0 ? Math.floor : Math.ceil)(it);
2085
2163
  }
2086
2164
  });
2087
- },{"17":17}],112:[function(_dereq_,module,exports){
2165
+ },{"22":22}],114:[function(_dereq_,module,exports){
2088
2166
  'use strict';
2089
- var $ = _dereq_(45)
2090
- , global = _dereq_(28)
2091
- , has = _dereq_(29)
2092
- , cof = _dereq_(10)
2093
- , isObject = _dereq_(37)
2094
- , fails = _dereq_(23)
2095
- , NUMBER = 'Number'
2096
- , $Number = global[NUMBER]
2097
- , Base = $Number
2098
- , proto = $Number.prototype
2167
+ var $ = _dereq_(46)
2168
+ , global = _dereq_(29)
2169
+ , has = _dereq_(30)
2170
+ , cof = _dereq_(11)
2171
+ , toPrimitive = _dereq_(81)
2172
+ , fails = _dereq_(24)
2173
+ , $trim = _dereq_(74).trim
2174
+ , NUMBER = 'Number'
2175
+ , $Number = global[NUMBER]
2176
+ , Base = $Number
2177
+ , proto = $Number.prototype
2099
2178
  // Opera ~12 has broken Object#toString
2100
- , BROKEN_COF = cof($.create(proto)) == NUMBER;
2101
- var toPrimitive = function(it){
2102
- var fn, val;
2103
- if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
2104
- if(typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
2105
- throw TypeError("Can't convert object to number");
2106
- };
2107
- var toNumber = function(it){
2108
- if(isObject(it))it = toPrimitive(it);
2109
- if(typeof it == 'string' && it.length > 2 && it.charCodeAt(0) == 48){
2110
- var binary = false;
2111
- switch(it.charCodeAt(1)){
2112
- case 66 : case 98 : binary = true;
2113
- case 79 : case 111 : return parseInt(it.slice(2), binary ? 2 : 8);
2179
+ , BROKEN_COF = cof($.create(proto)) == NUMBER
2180
+ , TRIM = 'trim' in String.prototype;
2181
+
2182
+ // 7.1.3 ToNumber(argument)
2183
+ var toNumber = function(argument){
2184
+ var it = toPrimitive(argument, false);
2185
+ if(typeof it == 'string' && it.length > 2){
2186
+ it = TRIM ? it.trim() : $trim(it, 3);
2187
+ var first = it.charCodeAt(0)
2188
+ , third, radix, maxCode;
2189
+ if(first === 43 || first === 45){
2190
+ third = it.charCodeAt(2);
2191
+ if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix
2192
+ } else if(first === 48){
2193
+ switch(it.charCodeAt(1)){
2194
+ case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
2195
+ case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
2196
+ default : return +it;
2197
+ }
2198
+ for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){
2199
+ code = digits.charCodeAt(i);
2200
+ // parseInt parses a string to a first unavailable symbol
2201
+ // but ToNumber should return NaN if a string contains unavailable symbols
2202
+ if(code < 48 || code > maxCode)return NaN;
2203
+ } return parseInt(digits, radix);
2114
2204
  }
2115
2205
  } return +it;
2116
2206
  };
2117
- if(!($Number('0o1') && $Number('0b1'))){
2118
- $Number = function Number(it){
2119
- var that = this;
2207
+
2208
+ if(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){
2209
+ $Number = function Number(value){
2210
+ var it = arguments.length < 1 ? 0 : value
2211
+ , that = this;
2120
2212
  return that instanceof $Number
2121
2213
  // check on 1..constructor(foo) case
2122
2214
  && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)
2123
2215
  ? new Base(toNumber(it)) : toNumber(it);
2124
2216
  };
2125
- $.each.call(_dereq_(71) ? $.getNames(Base) : (
2217
+ $.each.call(_dereq_(19) ? $.getNames(Base) : (
2126
2218
  // ES3:
2127
2219
  'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
2128
2220
  // ES6 (in case, if modules with ES6 Number statics required before):
@@ -2135,200 +2227,196 @@ if(!($Number('0o1') && $Number('0b1'))){
2135
2227
  });
2136
2228
  $Number.prototype = proto;
2137
2229
  proto.constructor = $Number;
2138
- _dereq_(57)(global, NUMBER, $Number);
2230
+ _dereq_(61)(global, NUMBER, $Number);
2139
2231
  }
2140
- },{"10":10,"23":23,"28":28,"29":29,"37":37,"45":45,"57":57,"71":71}],113:[function(_dereq_,module,exports){
2232
+ },{"11":11,"19":19,"24":24,"29":29,"30":30,"46":46,"61":61,"74":74,"81":81}],115:[function(_dereq_,module,exports){
2141
2233
  // 20.1.2.1 Number.EPSILON
2142
- var $def = _dereq_(17);
2234
+ var $export = _dereq_(22);
2143
2235
 
2144
- $def($def.S, 'Number', {EPSILON: Math.pow(2, -52)});
2145
- },{"17":17}],114:[function(_dereq_,module,exports){
2236
+ $export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
2237
+ },{"22":22}],116:[function(_dereq_,module,exports){
2146
2238
  // 20.1.2.2 Number.isFinite(number)
2147
- var $def = _dereq_(17)
2148
- , _isFinite = _dereq_(28).isFinite;
2239
+ var $export = _dereq_(22)
2240
+ , _isFinite = _dereq_(29).isFinite;
2149
2241
 
2150
- $def($def.S, 'Number', {
2242
+ $export($export.S, 'Number', {
2151
2243
  isFinite: function isFinite(it){
2152
2244
  return typeof it == 'number' && _isFinite(it);
2153
2245
  }
2154
2246
  });
2155
- },{"17":17,"28":28}],115:[function(_dereq_,module,exports){
2247
+ },{"22":22,"29":29}],117:[function(_dereq_,module,exports){
2156
2248
  // 20.1.2.3 Number.isInteger(number)
2157
- var $def = _dereq_(17);
2249
+ var $export = _dereq_(22);
2158
2250
 
2159
- $def($def.S, 'Number', {isInteger: _dereq_(36)});
2160
- },{"17":17,"36":36}],116:[function(_dereq_,module,exports){
2251
+ $export($export.S, 'Number', {isInteger: _dereq_(37)});
2252
+ },{"22":22,"37":37}],118:[function(_dereq_,module,exports){
2161
2253
  // 20.1.2.4 Number.isNaN(number)
2162
- var $def = _dereq_(17);
2254
+ var $export = _dereq_(22);
2163
2255
 
2164
- $def($def.S, 'Number', {
2256
+ $export($export.S, 'Number', {
2165
2257
  isNaN: function isNaN(number){
2166
2258
  return number != number;
2167
2259
  }
2168
2260
  });
2169
- },{"17":17}],117:[function(_dereq_,module,exports){
2261
+ },{"22":22}],119:[function(_dereq_,module,exports){
2170
2262
  // 20.1.2.5 Number.isSafeInteger(number)
2171
- var $def = _dereq_(17)
2172
- , isInteger = _dereq_(36)
2263
+ var $export = _dereq_(22)
2264
+ , isInteger = _dereq_(37)
2173
2265
  , abs = Math.abs;
2174
2266
 
2175
- $def($def.S, 'Number', {
2267
+ $export($export.S, 'Number', {
2176
2268
  isSafeInteger: function isSafeInteger(number){
2177
2269
  return isInteger(number) && abs(number) <= 0x1fffffffffffff;
2178
2270
  }
2179
2271
  });
2180
- },{"17":17,"36":36}],118:[function(_dereq_,module,exports){
2272
+ },{"22":22,"37":37}],120:[function(_dereq_,module,exports){
2181
2273
  // 20.1.2.6 Number.MAX_SAFE_INTEGER
2182
- var $def = _dereq_(17);
2274
+ var $export = _dereq_(22);
2183
2275
 
2184
- $def($def.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
2185
- },{"17":17}],119:[function(_dereq_,module,exports){
2276
+ $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
2277
+ },{"22":22}],121:[function(_dereq_,module,exports){
2186
2278
  // 20.1.2.10 Number.MIN_SAFE_INTEGER
2187
- var $def = _dereq_(17);
2279
+ var $export = _dereq_(22);
2188
2280
 
2189
- $def($def.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
2190
- },{"17":17}],120:[function(_dereq_,module,exports){
2281
+ $export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
2282
+ },{"22":22}],122:[function(_dereq_,module,exports){
2191
2283
  // 20.1.2.12 Number.parseFloat(string)
2192
- var $def = _dereq_(17);
2284
+ var $export = _dereq_(22);
2193
2285
 
2194
- $def($def.S, 'Number', {parseFloat: parseFloat});
2195
- },{"17":17}],121:[function(_dereq_,module,exports){
2286
+ $export($export.S, 'Number', {parseFloat: parseFloat});
2287
+ },{"22":22}],123:[function(_dereq_,module,exports){
2196
2288
  // 20.1.2.13 Number.parseInt(string, radix)
2197
- var $def = _dereq_(17);
2289
+ var $export = _dereq_(22);
2198
2290
 
2199
- $def($def.S, 'Number', {parseInt: parseInt});
2200
- },{"17":17}],122:[function(_dereq_,module,exports){
2291
+ $export($export.S, 'Number', {parseInt: parseInt});
2292
+ },{"22":22}],124:[function(_dereq_,module,exports){
2201
2293
  // 19.1.3.1 Object.assign(target, source)
2202
- var $def = _dereq_(17);
2294
+ var $export = _dereq_(22);
2203
2295
 
2204
- $def($def.S + $def.F, 'Object', {assign: _dereq_(8)});
2205
- },{"17":17,"8":8}],123:[function(_dereq_,module,exports){
2296
+ $export($export.S + $export.F, 'Object', {assign: _dereq_(53)});
2297
+ },{"22":22,"53":53}],125:[function(_dereq_,module,exports){
2206
2298
  // 19.1.2.5 Object.freeze(O)
2207
- var isObject = _dereq_(37);
2299
+ var isObject = _dereq_(38);
2208
2300
 
2209
- _dereq_(51)('freeze', function($freeze){
2301
+ _dereq_(54)('freeze', function($freeze){
2210
2302
  return function freeze(it){
2211
2303
  return $freeze && isObject(it) ? $freeze(it) : it;
2212
2304
  };
2213
2305
  });
2214
- },{"37":37,"51":51}],124:[function(_dereq_,module,exports){
2306
+ },{"38":38,"54":54}],126:[function(_dereq_,module,exports){
2215
2307
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2216
- var toIObject = _dereq_(76);
2308
+ var toIObject = _dereq_(78);
2217
2309
 
2218
- _dereq_(51)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
2310
+ _dereq_(54)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
2219
2311
  return function getOwnPropertyDescriptor(it, key){
2220
2312
  return $getOwnPropertyDescriptor(toIObject(it), key);
2221
2313
  };
2222
2314
  });
2223
- },{"51":51,"76":76}],125:[function(_dereq_,module,exports){
2315
+ },{"54":54,"78":78}],127:[function(_dereq_,module,exports){
2224
2316
  // 19.1.2.7 Object.getOwnPropertyNames(O)
2225
- _dereq_(51)('getOwnPropertyNames', function(){
2226
- return _dereq_(27).get;
2317
+ _dereq_(54)('getOwnPropertyNames', function(){
2318
+ return _dereq_(28).get;
2227
2319
  });
2228
- },{"27":27,"51":51}],126:[function(_dereq_,module,exports){
2320
+ },{"28":28,"54":54}],128:[function(_dereq_,module,exports){
2229
2321
  // 19.1.2.9 Object.getPrototypeOf(O)
2230
- var toObject = _dereq_(78);
2322
+ var toObject = _dereq_(80);
2231
2323
 
2232
- _dereq_(51)('getPrototypeOf', function($getPrototypeOf){
2324
+ _dereq_(54)('getPrototypeOf', function($getPrototypeOf){
2233
2325
  return function getPrototypeOf(it){
2234
2326
  return $getPrototypeOf(toObject(it));
2235
2327
  };
2236
2328
  });
2237
- },{"51":51,"78":78}],127:[function(_dereq_,module,exports){
2329
+ },{"54":54,"80":80}],129:[function(_dereq_,module,exports){
2238
2330
  // 19.1.2.11 Object.isExtensible(O)
2239
- var isObject = _dereq_(37);
2331
+ var isObject = _dereq_(38);
2240
2332
 
2241
- _dereq_(51)('isExtensible', function($isExtensible){
2333
+ _dereq_(54)('isExtensible', function($isExtensible){
2242
2334
  return function isExtensible(it){
2243
2335
  return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
2244
2336
  };
2245
2337
  });
2246
- },{"37":37,"51":51}],128:[function(_dereq_,module,exports){
2338
+ },{"38":38,"54":54}],130:[function(_dereq_,module,exports){
2247
2339
  // 19.1.2.12 Object.isFrozen(O)
2248
- var isObject = _dereq_(37);
2340
+ var isObject = _dereq_(38);
2249
2341
 
2250
- _dereq_(51)('isFrozen', function($isFrozen){
2342
+ _dereq_(54)('isFrozen', function($isFrozen){
2251
2343
  return function isFrozen(it){
2252
2344
  return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
2253
2345
  };
2254
2346
  });
2255
- },{"37":37,"51":51}],129:[function(_dereq_,module,exports){
2347
+ },{"38":38,"54":54}],131:[function(_dereq_,module,exports){
2256
2348
  // 19.1.2.13 Object.isSealed(O)
2257
- var isObject = _dereq_(37);
2349
+ var isObject = _dereq_(38);
2258
2350
 
2259
- _dereq_(51)('isSealed', function($isSealed){
2351
+ _dereq_(54)('isSealed', function($isSealed){
2260
2352
  return function isSealed(it){
2261
2353
  return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
2262
2354
  };
2263
2355
  });
2264
- },{"37":37,"51":51}],130:[function(_dereq_,module,exports){
2356
+ },{"38":38,"54":54}],132:[function(_dereq_,module,exports){
2265
2357
  // 19.1.3.10 Object.is(value1, value2)
2266
- var $def = _dereq_(17);
2267
- $def($def.S, 'Object', {
2268
- is: _dereq_(59)
2269
- });
2270
- },{"17":17,"59":59}],131:[function(_dereq_,module,exports){
2358
+ var $export = _dereq_(22);
2359
+ $export($export.S, 'Object', {is: _dereq_(63)});
2360
+ },{"22":22,"63":63}],133:[function(_dereq_,module,exports){
2271
2361
  // 19.1.2.14 Object.keys(O)
2272
- var toObject = _dereq_(78);
2362
+ var toObject = _dereq_(80);
2273
2363
 
2274
- _dereq_(51)('keys', function($keys){
2364
+ _dereq_(54)('keys', function($keys){
2275
2365
  return function keys(it){
2276
2366
  return $keys(toObject(it));
2277
2367
  };
2278
2368
  });
2279
- },{"51":51,"78":78}],132:[function(_dereq_,module,exports){
2369
+ },{"54":54,"80":80}],134:[function(_dereq_,module,exports){
2280
2370
  // 19.1.2.15 Object.preventExtensions(O)
2281
- var isObject = _dereq_(37);
2371
+ var isObject = _dereq_(38);
2282
2372
 
2283
- _dereq_(51)('preventExtensions', function($preventExtensions){
2373
+ _dereq_(54)('preventExtensions', function($preventExtensions){
2284
2374
  return function preventExtensions(it){
2285
2375
  return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;
2286
2376
  };
2287
2377
  });
2288
- },{"37":37,"51":51}],133:[function(_dereq_,module,exports){
2378
+ },{"38":38,"54":54}],135:[function(_dereq_,module,exports){
2289
2379
  // 19.1.2.17 Object.seal(O)
2290
- var isObject = _dereq_(37);
2380
+ var isObject = _dereq_(38);
2291
2381
 
2292
- _dereq_(51)('seal', function($seal){
2382
+ _dereq_(54)('seal', function($seal){
2293
2383
  return function seal(it){
2294
2384
  return $seal && isObject(it) ? $seal(it) : it;
2295
2385
  };
2296
2386
  });
2297
- },{"37":37,"51":51}],134:[function(_dereq_,module,exports){
2387
+ },{"38":38,"54":54}],136:[function(_dereq_,module,exports){
2298
2388
  // 19.1.3.19 Object.setPrototypeOf(O, proto)
2299
- var $def = _dereq_(17);
2300
- $def($def.S, 'Object', {setPrototypeOf: _dereq_(60).set});
2301
- },{"17":17,"60":60}],135:[function(_dereq_,module,exports){
2389
+ var $export = _dereq_(22);
2390
+ $export($export.S, 'Object', {setPrototypeOf: _dereq_(64).set});
2391
+ },{"22":22,"64":64}],137:[function(_dereq_,module,exports){
2302
2392
  'use strict';
2303
2393
  // 19.1.3.6 Object.prototype.toString()
2304
- var classof = _dereq_(9)
2394
+ var classof = _dereq_(10)
2305
2395
  , test = {};
2306
- test[_dereq_(81)('toStringTag')] = 'z';
2396
+ test[_dereq_(83)('toStringTag')] = 'z';
2307
2397
  if(test + '' != '[object z]'){
2308
- _dereq_(57)(Object.prototype, 'toString', function toString(){
2398
+ _dereq_(61)(Object.prototype, 'toString', function toString(){
2309
2399
  return '[object ' + classof(this) + ']';
2310
2400
  }, true);
2311
2401
  }
2312
- },{"57":57,"81":81,"9":9}],136:[function(_dereq_,module,exports){
2402
+ },{"10":10,"61":61,"83":83}],138:[function(_dereq_,module,exports){
2313
2403
  'use strict';
2314
- var $ = _dereq_(45)
2315
- , LIBRARY = _dereq_(47)
2316
- , global = _dereq_(28)
2317
- , ctx = _dereq_(16)
2318
- , classof = _dereq_(9)
2319
- , $def = _dereq_(17)
2320
- , isObject = _dereq_(37)
2321
- , anObject = _dereq_(3)
2404
+ var $ = _dereq_(46)
2405
+ , LIBRARY = _dereq_(48)
2406
+ , global = _dereq_(29)
2407
+ , ctx = _dereq_(17)
2408
+ , classof = _dereq_(10)
2409
+ , $export = _dereq_(22)
2410
+ , isObject = _dereq_(38)
2411
+ , anObject = _dereq_(4)
2322
2412
  , aFunction = _dereq_(2)
2323
- , strictNew = _dereq_(65)
2324
- , forOf = _dereq_(26)
2325
- , setProto = _dereq_(60).set
2326
- , same = _dereq_(59)
2327
- , species = _dereq_(64)
2328
- , SPECIES = _dereq_(81)('species')
2329
- , speciesConstructor = _dereq_(63)
2330
- , RECORD = _dereq_(79)('record')
2331
- , asap = _dereq_(49)
2413
+ , strictNew = _dereq_(69)
2414
+ , forOf = _dereq_(27)
2415
+ , setProto = _dereq_(64).set
2416
+ , same = _dereq_(63)
2417
+ , SPECIES = _dereq_(83)('species')
2418
+ , speciesConstructor = _dereq_(68)
2419
+ , asap = _dereq_(52)
2332
2420
  , PROMISE = 'Promise'
2333
2421
  , process = global.process
2334
2422
  , isNode = classof(process) == 'process'
@@ -2341,7 +2429,7 @@ var testResolve = function(sub){
2341
2429
  return P.resolve(test) === test;
2342
2430
  };
2343
2431
 
2344
- var useNative = function(){
2432
+ var USE_NATIVE = function(){
2345
2433
  var works = false;
2346
2434
  function P2(x){
2347
2435
  var self = new P(x);
@@ -2357,7 +2445,7 @@ var useNative = function(){
2357
2445
  works = false;
2358
2446
  }
2359
2447
  // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
2360
- if(works && _dereq_(71)){
2448
+ if(works && _dereq_(19)){
2361
2449
  var thenableThenGotten = false;
2362
2450
  P.resolve($.setDesc({}, 'then', {
2363
2451
  get: function(){ thenableThenGotten = true; }
@@ -2369,9 +2457,6 @@ var useNative = function(){
2369
2457
  }();
2370
2458
 
2371
2459
  // helpers
2372
- var isPromise = function(it){
2373
- return isObject(it) && (useNative ? classof(it) == 'Promise' : RECORD in it);
2374
- };
2375
2460
  var sameConstructor = function(a, b){
2376
2461
  // library wrapper special case
2377
2462
  if(LIBRARY && a === P && b === Wrapper)return true;
@@ -2385,6 +2470,23 @@ var isThenable = function(it){
2385
2470
  var then;
2386
2471
  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
2387
2472
  };
2473
+ var PromiseCapability = function(C){
2474
+ var resolve, reject;
2475
+ this.promise = new C(function($$resolve, $$reject){
2476
+ if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
2477
+ resolve = $$resolve;
2478
+ reject = $$reject;
2479
+ });
2480
+ this.resolve = aFunction(resolve),
2481
+ this.reject = aFunction(reject)
2482
+ };
2483
+ var perform = function(exec){
2484
+ try {
2485
+ exec();
2486
+ } catch(e){
2487
+ return {error: e};
2488
+ }
2489
+ };
2388
2490
  var notify = function(record, isReject){
2389
2491
  if(record.n)return;
2390
2492
  record.n = true;
@@ -2393,21 +2495,23 @@ var notify = function(record, isReject){
2393
2495
  var value = record.v
2394
2496
  , ok = record.s == 1
2395
2497
  , i = 0;
2396
- var run = function(react){
2397
- var cb = ok ? react.ok : react.fail
2398
- , ret, then;
2498
+ var run = function(reaction){
2499
+ var handler = ok ? reaction.ok : reaction.fail
2500
+ , resolve = reaction.resolve
2501
+ , reject = reaction.reject
2502
+ , result, then;
2399
2503
  try {
2400
- if(cb){
2504
+ if(handler){
2401
2505
  if(!ok)record.h = true;
2402
- ret = cb === true ? value : cb(value);
2403
- if(ret === react.P){
2404
- react.rej(TypeError('Promise-chain cycle'));
2405
- } else if(then = isThenable(ret)){
2406
- then.call(ret, react.res, react.rej);
2407
- } else react.res(ret);
2408
- } else react.rej(value);
2409
- } catch(err){
2410
- react.rej(err);
2506
+ result = handler === true ? value : handler(value);
2507
+ if(result === reaction.promise){
2508
+ reject(TypeError('Promise-chain cycle'));
2509
+ } else if(then = isThenable(result)){
2510
+ then.call(result, resolve, reject);
2511
+ } else resolve(result);
2512
+ } else reject(value);
2513
+ } catch(e){
2514
+ reject(e);
2411
2515
  }
2412
2516
  };
2413
2517
  while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
@@ -2429,14 +2533,14 @@ var notify = function(record, isReject){
2429
2533
  });
2430
2534
  };
2431
2535
  var isUnhandled = function(promise){
2432
- var record = promise[RECORD]
2536
+ var record = promise._d
2433
2537
  , chain = record.a || record.c
2434
2538
  , i = 0
2435
- , react;
2539
+ , reaction;
2436
2540
  if(record.h)return false;
2437
2541
  while(chain.length > i){
2438
- react = chain[i++];
2439
- if(react.fail || !isUnhandled(react.P))return false;
2542
+ reaction = chain[i++];
2543
+ if(reaction.fail || !isUnhandled(reaction.promise))return false;
2440
2544
  } return true;
2441
2545
  };
2442
2546
  var $reject = function(value){
@@ -2456,6 +2560,7 @@ var $resolve = function(value){
2456
2560
  record.d = true;
2457
2561
  record = record.r || record; // unwrap
2458
2562
  try {
2563
+ if(record.p === value)throw TypeError("Promise can't be resolved itself");
2459
2564
  if(then = isThenable(value)){
2460
2565
  asap(function(){
2461
2566
  var wrapper = {r: record, d: false}; // wrap
@@ -2476,11 +2581,11 @@ var $resolve = function(value){
2476
2581
  };
2477
2582
 
2478
2583
  // constructor polyfill
2479
- if(!useNative){
2584
+ if(!USE_NATIVE){
2480
2585
  // 25.4.3.1 Promise(executor)
2481
2586
  P = function Promise(executor){
2482
2587
  aFunction(executor);
2483
- var record = {
2588
+ var record = this._d = {
2484
2589
  p: strictNew(this, P, PROMISE), // <- promise
2485
2590
  c: [], // <- awaiting reactions
2486
2591
  a: undefined, // <- checked in isUnhandled reactions
@@ -2490,29 +2595,22 @@ if(!useNative){
2490
2595
  h: false, // <- handled rejection
2491
2596
  n: false // <- notify
2492
2597
  };
2493
- this[RECORD] = record;
2494
2598
  try {
2495
2599
  executor(ctx($resolve, record, 1), ctx($reject, record, 1));
2496
2600
  } catch(err){
2497
2601
  $reject.call(record, err);
2498
2602
  }
2499
2603
  };
2500
- _dereq_(50)(P.prototype, {
2604
+ _dereq_(60)(P.prototype, {
2501
2605
  // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
2502
2606
  then: function then(onFulfilled, onRejected){
2503
- var react = {
2504
- ok: typeof onFulfilled == 'function' ? onFulfilled : true,
2505
- fail: typeof onRejected == 'function' ? onRejected : false
2506
- };
2507
- var promise = react.P = new (speciesConstructor(this, P))(function(res, rej){
2508
- react.res = res;
2509
- react.rej = rej;
2510
- });
2511
- aFunction(react.res);
2512
- aFunction(react.rej);
2513
- var record = this[RECORD];
2514
- record.c.push(react);
2515
- if(record.a)record.a.push(react);
2607
+ var reaction = new PromiseCapability(speciesConstructor(this, P))
2608
+ , promise = reaction.promise
2609
+ , record = this._d;
2610
+ reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
2611
+ reaction.fail = typeof onRejected == 'function' && onRejected;
2612
+ record.c.push(reaction);
2613
+ if(record.a)record.a.push(reaction);
2516
2614
  if(record.s)notify(record, false);
2517
2615
  return promise;
2518
2616
  },
@@ -2523,78 +2621,96 @@ if(!useNative){
2523
2621
  });
2524
2622
  }
2525
2623
 
2526
- // export
2527
- $def($def.G + $def.W + $def.F * !useNative, {Promise: P});
2528
- _dereq_(72)(P, PROMISE);
2529
- species(P);
2530
- species(Wrapper = _dereq_(15)[PROMISE]);
2624
+ $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
2625
+ _dereq_(66)(P, PROMISE);
2626
+ _dereq_(65)(PROMISE);
2627
+ Wrapper = _dereq_(16)[PROMISE];
2531
2628
 
2532
2629
  // statics
2533
- $def($def.S + $def.F * !useNative, PROMISE, {
2630
+ $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
2534
2631
  // 25.4.4.5 Promise.reject(r)
2535
2632
  reject: function reject(r){
2536
- return new this(function(res, rej){ rej(r); });
2633
+ var capability = new PromiseCapability(this)
2634
+ , $$reject = capability.reject;
2635
+ $$reject(r);
2636
+ return capability.promise;
2537
2637
  }
2538
2638
  });
2539
- $def($def.S + $def.F * (!useNative || testResolve(true)), PROMISE, {
2639
+ $export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
2540
2640
  // 25.4.4.6 Promise.resolve(x)
2541
2641
  resolve: function resolve(x){
2542
- return isPromise(x) && sameConstructor(x.constructor, this)
2543
- ? x : new this(function(res){ res(x); });
2642
+ // instanceof instead of internal slot check because we should fix it without replacement native Promise core
2643
+ if(x instanceof P && sameConstructor(x.constructor, this))return x;
2644
+ var capability = new PromiseCapability(this)
2645
+ , $$resolve = capability.resolve;
2646
+ $$resolve(x);
2647
+ return capability.promise;
2544
2648
  }
2545
2649
  });
2546
- $def($def.S + $def.F * !(useNative && _dereq_(42)(function(iter){
2650
+ $export($export.S + $export.F * !(USE_NATIVE && _dereq_(43)(function(iter){
2547
2651
  P.all(iter)['catch'](function(){});
2548
2652
  })), PROMISE, {
2549
2653
  // 25.4.4.1 Promise.all(iterable)
2550
2654
  all: function all(iterable){
2551
- var C = getConstructor(this)
2552
- , values = [];
2553
- return new C(function(res, rej){
2655
+ var C = getConstructor(this)
2656
+ , capability = new PromiseCapability(C)
2657
+ , resolve = capability.resolve
2658
+ , reject = capability.reject
2659
+ , values = [];
2660
+ var abrupt = perform(function(){
2554
2661
  forOf(iterable, false, values.push, values);
2555
2662
  var remaining = values.length
2556
2663
  , results = Array(remaining);
2557
2664
  if(remaining)$.each.call(values, function(promise, index){
2665
+ var alreadyCalled = false;
2558
2666
  C.resolve(promise).then(function(value){
2667
+ if(alreadyCalled)return;
2668
+ alreadyCalled = true;
2559
2669
  results[index] = value;
2560
- --remaining || res(results);
2561
- }, rej);
2670
+ --remaining || resolve(results);
2671
+ }, reject);
2562
2672
  });
2563
- else res(results);
2673
+ else resolve(results);
2564
2674
  });
2675
+ if(abrupt)reject(abrupt.error);
2676
+ return capability.promise;
2565
2677
  },
2566
2678
  // 25.4.4.4 Promise.race(iterable)
2567
2679
  race: function race(iterable){
2568
- var C = getConstructor(this);
2569
- return new C(function(res, rej){
2680
+ var C = getConstructor(this)
2681
+ , capability = new PromiseCapability(C)
2682
+ , reject = capability.reject;
2683
+ var abrupt = perform(function(){
2570
2684
  forOf(iterable, false, function(promise){
2571
- C.resolve(promise).then(res, rej);
2685
+ C.resolve(promise).then(capability.resolve, reject);
2572
2686
  });
2573
2687
  });
2688
+ if(abrupt)reject(abrupt.error);
2689
+ return capability.promise;
2574
2690
  }
2575
2691
  });
2576
- },{"15":15,"16":16,"17":17,"2":2,"26":26,"28":28,"3":3,"37":37,"42":42,"45":45,"47":47,"49":49,"50":50,"59":59,"60":60,"63":63,"64":64,"65":65,"71":71,"72":72,"79":79,"81":81,"9":9}],137:[function(_dereq_,module,exports){
2692
+ },{"10":10,"16":16,"17":17,"19":19,"2":2,"22":22,"27":27,"29":29,"38":38,"4":4,"43":43,"46":46,"48":48,"52":52,"60":60,"63":63,"64":64,"65":65,"66":66,"68":68,"69":69,"83":83}],139:[function(_dereq_,module,exports){
2577
2693
  // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
2578
- var $def = _dereq_(17)
2579
- , _apply = Function.apply;
2694
+ var $export = _dereq_(22)
2695
+ , _apply = Function.apply;
2580
2696
 
2581
- $def($def.S, 'Reflect', {
2697
+ $export($export.S, 'Reflect', {
2582
2698
  apply: function apply(target, thisArgument, argumentsList){
2583
2699
  return _apply.call(target, thisArgument, argumentsList);
2584
2700
  }
2585
2701
  });
2586
- },{"17":17}],138:[function(_dereq_,module,exports){
2702
+ },{"22":22}],140:[function(_dereq_,module,exports){
2587
2703
  // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
2588
- var $ = _dereq_(45)
2589
- , $def = _dereq_(17)
2704
+ var $ = _dereq_(46)
2705
+ , $export = _dereq_(22)
2590
2706
  , aFunction = _dereq_(2)
2591
- , anObject = _dereq_(3)
2592
- , isObject = _dereq_(37)
2593
- , bind = Function.bind || _dereq_(15).Function.prototype.bind;
2707
+ , anObject = _dereq_(4)
2708
+ , isObject = _dereq_(38)
2709
+ , bind = Function.bind || _dereq_(16).Function.prototype.bind;
2594
2710
 
2595
2711
  // MS Edge supports only 2 arguments
2596
2712
  // FF Nightly sets third argument as `new.target`, but does not create `this` from it
2597
- $def($def.S + $def.F * _dereq_(23)(function(){
2713
+ $export($export.S + $export.F * _dereq_(24)(function(){
2598
2714
  function F(){}
2599
2715
  return !(Reflect.construct(function(){}, [], F) instanceof F);
2600
2716
  }), 'Reflect', {
@@ -2622,14 +2738,14 @@ $def($def.S + $def.F * _dereq_(23)(function(){
2622
2738
  return isObject(result) ? result : instance;
2623
2739
  }
2624
2740
  });
2625
- },{"15":15,"17":17,"2":2,"23":23,"3":3,"37":37,"45":45}],139:[function(_dereq_,module,exports){
2741
+ },{"16":16,"2":2,"22":22,"24":24,"38":38,"4":4,"46":46}],141:[function(_dereq_,module,exports){
2626
2742
  // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
2627
- var $ = _dereq_(45)
2628
- , $def = _dereq_(17)
2629
- , anObject = _dereq_(3);
2743
+ var $ = _dereq_(46)
2744
+ , $export = _dereq_(22)
2745
+ , anObject = _dereq_(4);
2630
2746
 
2631
2747
  // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
2632
- $def($def.S + $def.F * _dereq_(23)(function(){
2748
+ $export($export.S + $export.F * _dereq_(24)(function(){
2633
2749
  Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});
2634
2750
  }), 'Reflect', {
2635
2751
  defineProperty: function defineProperty(target, propertyKey, attributes){
@@ -2642,23 +2758,23 @@ $def($def.S + $def.F * _dereq_(23)(function(){
2642
2758
  }
2643
2759
  }
2644
2760
  });
2645
- },{"17":17,"23":23,"3":3,"45":45}],140:[function(_dereq_,module,exports){
2761
+ },{"22":22,"24":24,"4":4,"46":46}],142:[function(_dereq_,module,exports){
2646
2762
  // 26.1.4 Reflect.deleteProperty(target, propertyKey)
2647
- var $def = _dereq_(17)
2648
- , getDesc = _dereq_(45).getDesc
2649
- , anObject = _dereq_(3);
2763
+ var $export = _dereq_(22)
2764
+ , getDesc = _dereq_(46).getDesc
2765
+ , anObject = _dereq_(4);
2650
2766
 
2651
- $def($def.S, 'Reflect', {
2767
+ $export($export.S, 'Reflect', {
2652
2768
  deleteProperty: function deleteProperty(target, propertyKey){
2653
2769
  var desc = getDesc(anObject(target), propertyKey);
2654
2770
  return desc && !desc.configurable ? false : delete target[propertyKey];
2655
2771
  }
2656
2772
  });
2657
- },{"17":17,"3":3,"45":45}],141:[function(_dereq_,module,exports){
2773
+ },{"22":22,"4":4,"46":46}],143:[function(_dereq_,module,exports){
2658
2774
  'use strict';
2659
2775
  // 26.1.5 Reflect.enumerate(target)
2660
- var $def = _dereq_(17)
2661
- , anObject = _dereq_(3);
2776
+ var $export = _dereq_(22)
2777
+ , anObject = _dereq_(4);
2662
2778
  var Enumerate = function(iterated){
2663
2779
  this._t = anObject(iterated); // target
2664
2780
  this._i = 0; // next index
@@ -2666,7 +2782,7 @@ var Enumerate = function(iterated){
2666
2782
  , key;
2667
2783
  for(key in iterated)keys.push(key);
2668
2784
  };
2669
- _dereq_(40)(Enumerate, 'Object', function(){
2785
+ _dereq_(41)(Enumerate, 'Object', function(){
2670
2786
  var that = this
2671
2787
  , keys = that._k
2672
2788
  , key;
@@ -2676,40 +2792,40 @@ _dereq_(40)(Enumerate, 'Object', function(){
2676
2792
  return {value: key, done: false};
2677
2793
  });
2678
2794
 
2679
- $def($def.S, 'Reflect', {
2795
+ $export($export.S, 'Reflect', {
2680
2796
  enumerate: function enumerate(target){
2681
2797
  return new Enumerate(target);
2682
2798
  }
2683
2799
  });
2684
- },{"17":17,"3":3,"40":40}],142:[function(_dereq_,module,exports){
2800
+ },{"22":22,"4":4,"41":41}],144:[function(_dereq_,module,exports){
2685
2801
  // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
2686
- var $ = _dereq_(45)
2687
- , $def = _dereq_(17)
2688
- , anObject = _dereq_(3);
2802
+ var $ = _dereq_(46)
2803
+ , $export = _dereq_(22)
2804
+ , anObject = _dereq_(4);
2689
2805
 
2690
- $def($def.S, 'Reflect', {
2806
+ $export($export.S, 'Reflect', {
2691
2807
  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
2692
2808
  return $.getDesc(anObject(target), propertyKey);
2693
2809
  }
2694
2810
  });
2695
- },{"17":17,"3":3,"45":45}],143:[function(_dereq_,module,exports){
2811
+ },{"22":22,"4":4,"46":46}],145:[function(_dereq_,module,exports){
2696
2812
  // 26.1.8 Reflect.getPrototypeOf(target)
2697
- var $def = _dereq_(17)
2698
- , getProto = _dereq_(45).getProto
2699
- , anObject = _dereq_(3);
2813
+ var $export = _dereq_(22)
2814
+ , getProto = _dereq_(46).getProto
2815
+ , anObject = _dereq_(4);
2700
2816
 
2701
- $def($def.S, 'Reflect', {
2817
+ $export($export.S, 'Reflect', {
2702
2818
  getPrototypeOf: function getPrototypeOf(target){
2703
2819
  return getProto(anObject(target));
2704
2820
  }
2705
2821
  });
2706
- },{"17":17,"3":3,"45":45}],144:[function(_dereq_,module,exports){
2822
+ },{"22":22,"4":4,"46":46}],146:[function(_dereq_,module,exports){
2707
2823
  // 26.1.6 Reflect.get(target, propertyKey [, receiver])
2708
- var $ = _dereq_(45)
2709
- , has = _dereq_(29)
2710
- , $def = _dereq_(17)
2711
- , isObject = _dereq_(37)
2712
- , anObject = _dereq_(3);
2824
+ var $ = _dereq_(46)
2825
+ , has = _dereq_(30)
2826
+ , $export = _dereq_(22)
2827
+ , isObject = _dereq_(38)
2828
+ , anObject = _dereq_(4);
2713
2829
 
2714
2830
  function get(target, propertyKey/*, receiver*/){
2715
2831
  var receiver = arguments.length < 3 ? target : arguments[2]
@@ -2723,40 +2839,40 @@ function get(target, propertyKey/*, receiver*/){
2723
2839
  if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);
2724
2840
  }
2725
2841
 
2726
- $def($def.S, 'Reflect', {get: get});
2727
- },{"17":17,"29":29,"3":3,"37":37,"45":45}],145:[function(_dereq_,module,exports){
2842
+ $export($export.S, 'Reflect', {get: get});
2843
+ },{"22":22,"30":30,"38":38,"4":4,"46":46}],147:[function(_dereq_,module,exports){
2728
2844
  // 26.1.9 Reflect.has(target, propertyKey)
2729
- var $def = _dereq_(17);
2845
+ var $export = _dereq_(22);
2730
2846
 
2731
- $def($def.S, 'Reflect', {
2847
+ $export($export.S, 'Reflect', {
2732
2848
  has: function has(target, propertyKey){
2733
2849
  return propertyKey in target;
2734
2850
  }
2735
2851
  });
2736
- },{"17":17}],146:[function(_dereq_,module,exports){
2852
+ },{"22":22}],148:[function(_dereq_,module,exports){
2737
2853
  // 26.1.10 Reflect.isExtensible(target)
2738
- var $def = _dereq_(17)
2739
- , anObject = _dereq_(3)
2854
+ var $export = _dereq_(22)
2855
+ , anObject = _dereq_(4)
2740
2856
  , $isExtensible = Object.isExtensible;
2741
2857
 
2742
- $def($def.S, 'Reflect', {
2858
+ $export($export.S, 'Reflect', {
2743
2859
  isExtensible: function isExtensible(target){
2744
2860
  anObject(target);
2745
2861
  return $isExtensible ? $isExtensible(target) : true;
2746
2862
  }
2747
2863
  });
2748
- },{"17":17,"3":3}],147:[function(_dereq_,module,exports){
2864
+ },{"22":22,"4":4}],149:[function(_dereq_,module,exports){
2749
2865
  // 26.1.11 Reflect.ownKeys(target)
2750
- var $def = _dereq_(17);
2866
+ var $export = _dereq_(22);
2751
2867
 
2752
- $def($def.S, 'Reflect', {ownKeys: _dereq_(53)});
2753
- },{"17":17,"53":53}],148:[function(_dereq_,module,exports){
2868
+ $export($export.S, 'Reflect', {ownKeys: _dereq_(56)});
2869
+ },{"22":22,"56":56}],150:[function(_dereq_,module,exports){
2754
2870
  // 26.1.12 Reflect.preventExtensions(target)
2755
- var $def = _dereq_(17)
2756
- , anObject = _dereq_(3)
2871
+ var $export = _dereq_(22)
2872
+ , anObject = _dereq_(4)
2757
2873
  , $preventExtensions = Object.preventExtensions;
2758
2874
 
2759
- $def($def.S, 'Reflect', {
2875
+ $export($export.S, 'Reflect', {
2760
2876
  preventExtensions: function preventExtensions(target){
2761
2877
  anObject(target);
2762
2878
  try {
@@ -2767,12 +2883,12 @@ $def($def.S, 'Reflect', {
2767
2883
  }
2768
2884
  }
2769
2885
  });
2770
- },{"17":17,"3":3}],149:[function(_dereq_,module,exports){
2886
+ },{"22":22,"4":4}],151:[function(_dereq_,module,exports){
2771
2887
  // 26.1.14 Reflect.setPrototypeOf(target, proto)
2772
- var $def = _dereq_(17)
2773
- , setProto = _dereq_(60);
2888
+ var $export = _dereq_(22)
2889
+ , setProto = _dereq_(64);
2774
2890
 
2775
- if(setProto)$def($def.S, 'Reflect', {
2891
+ if(setProto)$export($export.S, 'Reflect', {
2776
2892
  setPrototypeOf: function setPrototypeOf(target, proto){
2777
2893
  setProto.check(target, proto);
2778
2894
  try {
@@ -2783,14 +2899,14 @@ if(setProto)$def($def.S, 'Reflect', {
2783
2899
  }
2784
2900
  }
2785
2901
  });
2786
- },{"17":17,"60":60}],150:[function(_dereq_,module,exports){
2902
+ },{"22":22,"64":64}],152:[function(_dereq_,module,exports){
2787
2903
  // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
2788
- var $ = _dereq_(45)
2789
- , has = _dereq_(29)
2790
- , $def = _dereq_(17)
2791
- , createDesc = _dereq_(56)
2792
- , anObject = _dereq_(3)
2793
- , isObject = _dereq_(37);
2904
+ var $ = _dereq_(46)
2905
+ , has = _dereq_(30)
2906
+ , $export = _dereq_(22)
2907
+ , createDesc = _dereq_(59)
2908
+ , anObject = _dereq_(4)
2909
+ , isObject = _dereq_(38);
2794
2910
 
2795
2911
  function set(target, propertyKey, V/*, receiver*/){
2796
2912
  var receiver = arguments.length < 4 ? target : arguments[3]
@@ -2812,12 +2928,12 @@ function set(target, propertyKey, V/*, receiver*/){
2812
2928
  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
2813
2929
  }
2814
2930
 
2815
- $def($def.S, 'Reflect', {set: set});
2816
- },{"17":17,"29":29,"3":3,"37":37,"45":45,"56":56}],151:[function(_dereq_,module,exports){
2817
- var $ = _dereq_(45)
2818
- , global = _dereq_(28)
2819
- , isRegExp = _dereq_(38)
2820
- , $flags = _dereq_(25)
2931
+ $export($export.S, 'Reflect', {set: set});
2932
+ },{"22":22,"30":30,"38":38,"4":4,"46":46,"59":59}],153:[function(_dereq_,module,exports){
2933
+ var $ = _dereq_(46)
2934
+ , global = _dereq_(29)
2935
+ , isRegExp = _dereq_(39)
2936
+ , $flags = _dereq_(26)
2821
2937
  , $RegExp = global.RegExp
2822
2938
  , Base = $RegExp
2823
2939
  , proto = $RegExp.prototype
@@ -2826,8 +2942,8 @@ var $ = _dereq_(45)
2826
2942
  // "new" creates a new object, old webkit buggy here
2827
2943
  , CORRECT_NEW = new $RegExp(re1) !== re1;
2828
2944
 
2829
- if(_dereq_(71) && (!CORRECT_NEW || _dereq_(23)(function(){
2830
- re2[_dereq_(81)('match')] = false;
2945
+ if(_dereq_(19) && (!CORRECT_NEW || _dereq_(24)(function(){
2946
+ re2[_dereq_(83)('match')] = false;
2831
2947
  // RegExp constructor can alter flags and IsRegExp works correct with @@match
2832
2948
  return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
2833
2949
  }))){
@@ -2848,20 +2964,20 @@ if(_dereq_(71) && (!CORRECT_NEW || _dereq_(23)(function(){
2848
2964
  });
2849
2965
  proto.constructor = $RegExp;
2850
2966
  $RegExp.prototype = proto;
2851
- _dereq_(57)(global, 'RegExp', $RegExp);
2967
+ _dereq_(61)(global, 'RegExp', $RegExp);
2852
2968
  }
2853
2969
 
2854
- _dereq_(64)($RegExp);
2855
- },{"23":23,"25":25,"28":28,"38":38,"45":45,"57":57,"64":64,"71":71,"81":81}],152:[function(_dereq_,module,exports){
2970
+ _dereq_(65)('RegExp');
2971
+ },{"19":19,"24":24,"26":26,"29":29,"39":39,"46":46,"61":61,"65":65,"83":83}],154:[function(_dereq_,module,exports){
2856
2972
  // 21.2.5.3 get RegExp.prototype.flags()
2857
- var $ = _dereq_(45);
2858
- if(_dereq_(71) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {
2973
+ var $ = _dereq_(46);
2974
+ if(_dereq_(19) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {
2859
2975
  configurable: true,
2860
- get: _dereq_(25)
2976
+ get: _dereq_(26)
2861
2977
  });
2862
- },{"25":25,"45":45,"71":71}],153:[function(_dereq_,module,exports){
2978
+ },{"19":19,"26":26,"46":46}],155:[function(_dereq_,module,exports){
2863
2979
  // @@match logic
2864
- _dereq_(24)('match', 1, function(defined, MATCH){
2980
+ _dereq_(25)('match', 1, function(defined, MATCH){
2865
2981
  // 21.1.3.11 String.prototype.match(regexp)
2866
2982
  return function match(regexp){
2867
2983
  'use strict';
@@ -2870,9 +2986,9 @@ _dereq_(24)('match', 1, function(defined, MATCH){
2870
2986
  return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
2871
2987
  };
2872
2988
  });
2873
- },{"24":24}],154:[function(_dereq_,module,exports){
2989
+ },{"25":25}],156:[function(_dereq_,module,exports){
2874
2990
  // @@replace logic
2875
- _dereq_(24)('replace', 2, function(defined, REPLACE, $replace){
2991
+ _dereq_(25)('replace', 2, function(defined, REPLACE, $replace){
2876
2992
  // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
2877
2993
  return function replace(searchValue, replaceValue){
2878
2994
  'use strict';
@@ -2883,9 +2999,9 @@ _dereq_(24)('replace', 2, function(defined, REPLACE, $replace){
2883
2999
  : $replace.call(String(O), searchValue, replaceValue);
2884
3000
  };
2885
3001
  });
2886
- },{"24":24}],155:[function(_dereq_,module,exports){
3002
+ },{"25":25}],157:[function(_dereq_,module,exports){
2887
3003
  // @@search logic
2888
- _dereq_(24)('search', 1, function(defined, SEARCH){
3004
+ _dereq_(25)('search', 1, function(defined, SEARCH){
2889
3005
  // 21.1.3.15 String.prototype.search(regexp)
2890
3006
  return function search(regexp){
2891
3007
  'use strict';
@@ -2894,9 +3010,9 @@ _dereq_(24)('search', 1, function(defined, SEARCH){
2894
3010
  return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
2895
3011
  };
2896
3012
  });
2897
- },{"24":24}],156:[function(_dereq_,module,exports){
3013
+ },{"25":25}],158:[function(_dereq_,module,exports){
2898
3014
  // @@split logic
2899
- _dereq_(24)('split', 2, function(defined, SPLIT, $split){
3015
+ _dereq_(25)('split', 2, function(defined, SPLIT, $split){
2900
3016
  // 21.1.3.17 String.prototype.split(separator, limit)
2901
3017
  return function split(separator, limit){
2902
3018
  'use strict';
@@ -2907,12 +3023,12 @@ _dereq_(24)('split', 2, function(defined, SPLIT, $split){
2907
3023
  : $split.call(String(O), separator, limit);
2908
3024
  };
2909
3025
  });
2910
- },{"24":24}],157:[function(_dereq_,module,exports){
3026
+ },{"25":25}],159:[function(_dereq_,module,exports){
2911
3027
  'use strict';
2912
- var strong = _dereq_(11);
3028
+ var strong = _dereq_(12);
2913
3029
 
2914
3030
  // 23.2 Set Objects
2915
- _dereq_(14)('Set', function(get){
3031
+ _dereq_(15)('Set', function(get){
2916
3032
  return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
2917
3033
  }, {
2918
3034
  // 23.2.3.1 Set.prototype.add(value)
@@ -2920,26 +3036,26 @@ _dereq_(14)('Set', function(get){
2920
3036
  return strong.def(this, value = value === 0 ? 0 : value, value);
2921
3037
  }
2922
3038
  }, strong);
2923
- },{"11":11,"14":14}],158:[function(_dereq_,module,exports){
3039
+ },{"12":12,"15":15}],160:[function(_dereq_,module,exports){
2924
3040
  'use strict';
2925
- var $def = _dereq_(17)
2926
- , $at = _dereq_(66)(false);
2927
- $def($def.P, 'String', {
3041
+ var $export = _dereq_(22)
3042
+ , $at = _dereq_(70)(false);
3043
+ $export($export.P, 'String', {
2928
3044
  // 21.1.3.3 String.prototype.codePointAt(pos)
2929
3045
  codePointAt: function codePointAt(pos){
2930
3046
  return $at(this, pos);
2931
3047
  }
2932
3048
  });
2933
- },{"17":17,"66":66}],159:[function(_dereq_,module,exports){
3049
+ },{"22":22,"70":70}],161:[function(_dereq_,module,exports){
2934
3050
  // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
2935
3051
  'use strict';
2936
- var $def = _dereq_(17)
2937
- , toLength = _dereq_(77)
2938
- , context = _dereq_(67)
3052
+ var $export = _dereq_(22)
3053
+ , toLength = _dereq_(79)
3054
+ , context = _dereq_(71)
2939
3055
  , ENDS_WITH = 'endsWith'
2940
3056
  , $endsWith = ''[ENDS_WITH];
2941
3057
 
2942
- $def($def.P + $def.F * _dereq_(22)(ENDS_WITH), 'String', {
3058
+ $export($export.P + $export.F * _dereq_(23)(ENDS_WITH), 'String', {
2943
3059
  endsWith: function endsWith(searchString /*, endPosition = @length */){
2944
3060
  var that = context(this, searchString, ENDS_WITH)
2945
3061
  , $$ = arguments
@@ -2952,14 +3068,14 @@ $def($def.P + $def.F * _dereq_(22)(ENDS_WITH), 'String', {
2952
3068
  : that.slice(end - search.length, end) === search;
2953
3069
  }
2954
3070
  });
2955
- },{"17":17,"22":22,"67":67,"77":77}],160:[function(_dereq_,module,exports){
2956
- var $def = _dereq_(17)
2957
- , toIndex = _dereq_(74)
2958
- , fromCharCode = String.fromCharCode
3071
+ },{"22":22,"23":23,"71":71,"79":79}],162:[function(_dereq_,module,exports){
3072
+ var $export = _dereq_(22)
3073
+ , toIndex = _dereq_(76)
3074
+ , fromCharCode = String.fromCharCode
2959
3075
  , $fromCodePoint = String.fromCodePoint;
2960
3076
 
2961
3077
  // length should be 1, old FF problem
2962
- $def($def.S + $def.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
3078
+ $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
2963
3079
  // 21.1.2.2 String.fromCodePoint(...codePoints)
2964
3080
  fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
2965
3081
  var res = []
@@ -2977,24 +3093,25 @@ $def($def.S + $def.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String
2977
3093
  } return res.join('');
2978
3094
  }
2979
3095
  });
2980
- },{"17":17,"74":74}],161:[function(_dereq_,module,exports){
3096
+ },{"22":22,"76":76}],163:[function(_dereq_,module,exports){
2981
3097
  // 21.1.3.7 String.prototype.includes(searchString, position = 0)
2982
3098
  'use strict';
2983
- var $def = _dereq_(17)
2984
- , context = _dereq_(67)
3099
+ var $export = _dereq_(22)
3100
+ , context = _dereq_(71)
2985
3101
  , INCLUDES = 'includes';
2986
3102
 
2987
- $def($def.P + $def.F * _dereq_(22)(INCLUDES), 'String', {
3103
+ $export($export.P + $export.F * _dereq_(23)(INCLUDES), 'String', {
2988
3104
  includes: function includes(searchString /*, position = 0 */){
2989
- return !!~context(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
3105
+ return !!~context(this, searchString, INCLUDES)
3106
+ .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
2990
3107
  }
2991
3108
  });
2992
- },{"17":17,"22":22,"67":67}],162:[function(_dereq_,module,exports){
3109
+ },{"22":22,"23":23,"71":71}],164:[function(_dereq_,module,exports){
2993
3110
  'use strict';
2994
- var $at = _dereq_(66)(true);
3111
+ var $at = _dereq_(70)(true);
2995
3112
 
2996
3113
  // 21.1.3.27 String.prototype[@@iterator]()
2997
- _dereq_(41)(String, 'String', function(iterated){
3114
+ _dereq_(42)(String, 'String', function(iterated){
2998
3115
  this._t = String(iterated); // target
2999
3116
  this._i = 0; // next index
3000
3117
  // 21.1.5.2.1 %StringIteratorPrototype%.next()
@@ -3007,12 +3124,12 @@ _dereq_(41)(String, 'String', function(iterated){
3007
3124
  this._i += point.length;
3008
3125
  return {value: point, done: false};
3009
3126
  });
3010
- },{"41":41,"66":66}],163:[function(_dereq_,module,exports){
3011
- var $def = _dereq_(17)
3012
- , toIObject = _dereq_(76)
3013
- , toLength = _dereq_(77);
3127
+ },{"42":42,"70":70}],165:[function(_dereq_,module,exports){
3128
+ var $export = _dereq_(22)
3129
+ , toIObject = _dereq_(78)
3130
+ , toLength = _dereq_(79);
3014
3131
 
3015
- $def($def.S, 'String', {
3132
+ $export($export.S, 'String', {
3016
3133
  // 21.1.2.4 String.raw(callSite, ...substitutions)
3017
3134
  raw: function raw(callSite){
3018
3135
  var tpl = toIObject(callSite.raw)
@@ -3027,23 +3144,23 @@ $def($def.S, 'String', {
3027
3144
  } return res.join('');
3028
3145
  }
3029
3146
  });
3030
- },{"17":17,"76":76,"77":77}],164:[function(_dereq_,module,exports){
3031
- var $def = _dereq_(17);
3147
+ },{"22":22,"78":78,"79":79}],166:[function(_dereq_,module,exports){
3148
+ var $export = _dereq_(22);
3032
3149
 
3033
- $def($def.P, 'String', {
3150
+ $export($export.P, 'String', {
3034
3151
  // 21.1.3.13 String.prototype.repeat(count)
3035
- repeat: _dereq_(69)
3152
+ repeat: _dereq_(73)
3036
3153
  });
3037
- },{"17":17,"69":69}],165:[function(_dereq_,module,exports){
3154
+ },{"22":22,"73":73}],167:[function(_dereq_,module,exports){
3038
3155
  // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
3039
3156
  'use strict';
3040
- var $def = _dereq_(17)
3041
- , toLength = _dereq_(77)
3042
- , context = _dereq_(67)
3157
+ var $export = _dereq_(22)
3158
+ , toLength = _dereq_(79)
3159
+ , context = _dereq_(71)
3043
3160
  , STARTS_WITH = 'startsWith'
3044
3161
  , $startsWith = ''[STARTS_WITH];
3045
3162
 
3046
- $def($def.P + $def.F * _dereq_(22)(STARTS_WITH), 'String', {
3163
+ $export($export.P + $export.F * _dereq_(23)(STARTS_WITH), 'String', {
3047
3164
  startsWith: function startsWith(searchString /*, position = 0 */){
3048
3165
  var that = context(this, searchString, STARTS_WITH)
3049
3166
  , $$ = arguments
@@ -3054,35 +3171,35 @@ $def($def.P + $def.F * _dereq_(22)(STARTS_WITH), 'String', {
3054
3171
  : that.slice(index, index + search.length) === search;
3055
3172
  }
3056
3173
  });
3057
- },{"17":17,"22":22,"67":67,"77":77}],166:[function(_dereq_,module,exports){
3174
+ },{"22":22,"23":23,"71":71,"79":79}],168:[function(_dereq_,module,exports){
3058
3175
  'use strict';
3059
3176
  // 21.1.3.25 String.prototype.trim()
3060
- _dereq_(70)('trim', function($trim){
3177
+ _dereq_(74)('trim', function($trim){
3061
3178
  return function trim(){
3062
3179
  return $trim(this, 3);
3063
3180
  };
3064
3181
  });
3065
- },{"70":70}],167:[function(_dereq_,module,exports){
3182
+ },{"74":74}],169:[function(_dereq_,module,exports){
3066
3183
  'use strict';
3067
3184
  // ECMAScript 6 symbols shim
3068
- var $ = _dereq_(45)
3069
- , global = _dereq_(28)
3070
- , has = _dereq_(29)
3071
- , SUPPORT_DESC = _dereq_(71)
3072
- , $def = _dereq_(17)
3073
- , $redef = _dereq_(57)
3074
- , $fails = _dereq_(23)
3075
- , shared = _dereq_(61)
3076
- , setTag = _dereq_(72)
3077
- , uid = _dereq_(79)
3078
- , wks = _dereq_(81)
3079
- , keyOf = _dereq_(46)
3080
- , $names = _dereq_(27)
3081
- , enumKeys = _dereq_(20)
3082
- , isArray = _dereq_(35)
3083
- , anObject = _dereq_(3)
3084
- , toIObject = _dereq_(76)
3085
- , createDesc = _dereq_(56)
3185
+ var $ = _dereq_(46)
3186
+ , global = _dereq_(29)
3187
+ , has = _dereq_(30)
3188
+ , DESCRIPTORS = _dereq_(19)
3189
+ , $export = _dereq_(22)
3190
+ , redefine = _dereq_(61)
3191
+ , $fails = _dereq_(24)
3192
+ , shared = _dereq_(67)
3193
+ , setToStringTag = _dereq_(66)
3194
+ , uid = _dereq_(82)
3195
+ , wks = _dereq_(83)
3196
+ , keyOf = _dereq_(47)
3197
+ , $names = _dereq_(28)
3198
+ , enumKeys = _dereq_(21)
3199
+ , isArray = _dereq_(36)
3200
+ , anObject = _dereq_(4)
3201
+ , toIObject = _dereq_(78)
3202
+ , createDesc = _dereq_(59)
3086
3203
  , getDesc = $.getDesc
3087
3204
  , setDesc = $.setDesc
3088
3205
  , _create = $.create
@@ -3099,7 +3216,7 @@ var $ = _dereq_(45)
3099
3216
  , ObjectProto = Object.prototype;
3100
3217
 
3101
3218
  // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
3102
- var setSymbolDesc = SUPPORT_DESC && $fails(function(){
3219
+ var setSymbolDesc = DESCRIPTORS && $fails(function(){
3103
3220
  return _create(setDesc({}, 'a', {
3104
3221
  get: function(){ return setDesc(this, 'a', {value: 7}).a; }
3105
3222
  })).a != 7;
@@ -3113,7 +3230,7 @@ var setSymbolDesc = SUPPORT_DESC && $fails(function(){
3113
3230
  var wrap = function(tag){
3114
3231
  var sym = AllSymbols[tag] = _create($Symbol.prototype);
3115
3232
  sym._k = tag;
3116
- SUPPORT_DESC && setter && setSymbolDesc(ObjectProto, tag, {
3233
+ DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
3117
3234
  configurable: true,
3118
3235
  set: function(value){
3119
3236
  if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
@@ -3177,6 +3294,7 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
3177
3294
  return result;
3178
3295
  };
3179
3296
  var $stringify = function stringify(it){
3297
+ if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
3180
3298
  var args = [it]
3181
3299
  , i = 1
3182
3300
  , $$ = arguments
@@ -3205,7 +3323,7 @@ if(!useNative){
3205
3323
  if(isSymbol(this))throw TypeError('Symbol is not a constructor');
3206
3324
  return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
3207
3325
  };
3208
- $redef($Symbol.prototype, 'toString', function toString(){
3326
+ redefine($Symbol.prototype, 'toString', function toString(){
3209
3327
  return this._k;
3210
3328
  });
3211
3329
 
@@ -3221,8 +3339,8 @@ if(!useNative){
3221
3339
  $.getNames = $names.get = $getOwnPropertyNames;
3222
3340
  $.getSymbols = $getOwnPropertySymbols;
3223
3341
 
3224
- if(SUPPORT_DESC && !_dereq_(47)){
3225
- $redef(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
3342
+ if(DESCRIPTORS && !_dereq_(48)){
3343
+ redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
3226
3344
  }
3227
3345
  }
3228
3346
 
@@ -3261,11 +3379,11 @@ $.each.call((
3261
3379
 
3262
3380
  setter = true;
3263
3381
 
3264
- $def($def.G + $def.W, {Symbol: $Symbol});
3382
+ $export($export.G + $export.W, {Symbol: $Symbol});
3265
3383
 
3266
- $def($def.S, 'Symbol', symbolStatics);
3384
+ $export($export.S, 'Symbol', symbolStatics);
3267
3385
 
3268
- $def($def.S + $def.F * !useNative, 'Object', {
3386
+ $export($export.S + $export.F * !useNative, 'Object', {
3269
3387
  // 19.1.2.2 Object.create(O [, Properties])
3270
3388
  create: $create,
3271
3389
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
@@ -3281,27 +3399,28 @@ $def($def.S + $def.F * !useNative, 'Object', {
3281
3399
  });
3282
3400
 
3283
3401
  // 24.3.2 JSON.stringify(value [, replacer [, space]])
3284
- $JSON && $def($def.S + $def.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
3402
+ $JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
3285
3403
 
3286
3404
  // 19.4.3.5 Symbol.prototype[@@toStringTag]
3287
- setTag($Symbol, 'Symbol');
3405
+ setToStringTag($Symbol, 'Symbol');
3288
3406
  // 20.2.1.9 Math[@@toStringTag]
3289
- setTag(Math, 'Math', true);
3407
+ setToStringTag(Math, 'Math', true);
3290
3408
  // 24.3.3 JSON[@@toStringTag]
3291
- setTag(global.JSON, 'JSON', true);
3292
- },{"17":17,"20":20,"23":23,"27":27,"28":28,"29":29,"3":3,"35":35,"45":45,"46":46,"47":47,"56":56,"57":57,"61":61,"71":71,"72":72,"76":76,"79":79,"81":81}],168:[function(_dereq_,module,exports){
3409
+ setToStringTag(global.JSON, 'JSON', true);
3410
+ },{"19":19,"21":21,"22":22,"24":24,"28":28,"29":29,"30":30,"36":36,"4":4,"46":46,"47":47,"48":48,"59":59,"61":61,"66":66,"67":67,"78":78,"82":82,"83":83}],170:[function(_dereq_,module,exports){
3293
3411
  'use strict';
3294
- var $ = _dereq_(45)
3295
- , weak = _dereq_(13)
3296
- , isObject = _dereq_(37)
3297
- , has = _dereq_(29)
3412
+ var $ = _dereq_(46)
3413
+ , redefine = _dereq_(61)
3414
+ , weak = _dereq_(14)
3415
+ , isObject = _dereq_(38)
3416
+ , has = _dereq_(30)
3298
3417
  , frozenStore = weak.frozenStore
3299
3418
  , WEAK = weak.WEAK
3300
3419
  , isExtensible = Object.isExtensible || isObject
3301
3420
  , tmp = {};
3302
3421
 
3303
3422
  // 23.3 WeakMap Objects
3304
- var $WeakMap = _dereq_(14)('WeakMap', function(get){
3423
+ var $WeakMap = _dereq_(15)('WeakMap', function(get){
3305
3424
  return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
3306
3425
  }, {
3307
3426
  // 23.3.3.3 WeakMap.prototype.get(key)
@@ -3322,7 +3441,7 @@ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
3322
3441
  $.each.call(['delete', 'has', 'get', 'set'], function(key){
3323
3442
  var proto = $WeakMap.prototype
3324
3443
  , method = proto[key];
3325
- _dereq_(57)(proto, key, function(a, b){
3444
+ redefine(proto, key, function(a, b){
3326
3445
  // store frozen objects on leaky map
3327
3446
  if(isObject(a) && !isExtensible(a)){
3328
3447
  var result = frozenStore(this)[key](a, b);
@@ -3332,12 +3451,12 @@ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
3332
3451
  });
3333
3452
  });
3334
3453
  }
3335
- },{"13":13,"14":14,"29":29,"37":37,"45":45,"57":57}],169:[function(_dereq_,module,exports){
3454
+ },{"14":14,"15":15,"30":30,"38":38,"46":46,"61":61}],171:[function(_dereq_,module,exports){
3336
3455
  'use strict';
3337
- var weak = _dereq_(13);
3456
+ var weak = _dereq_(14);
3338
3457
 
3339
3458
  // 23.4 WeakSet Objects
3340
- _dereq_(14)('WeakSet', function(get){
3459
+ _dereq_(15)('WeakSet', function(get){
3341
3460
  return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
3342
3461
  }, {
3343
3462
  // 23.4.3.1 WeakSet.prototype.add(value)
@@ -3345,41 +3464,43 @@ _dereq_(14)('WeakSet', function(get){
3345
3464
  return weak.def(this, value, true);
3346
3465
  }
3347
3466
  }, weak, false, true);
3348
- },{"13":13,"14":14}],170:[function(_dereq_,module,exports){
3467
+ },{"14":14,"15":15}],172:[function(_dereq_,module,exports){
3349
3468
  'use strict';
3350
- var $def = _dereq_(17)
3351
- , $includes = _dereq_(6)(true);
3352
- $def($def.P, 'Array', {
3469
+ var $export = _dereq_(22)
3470
+ , $includes = _dereq_(7)(true);
3471
+
3472
+ $export($export.P, 'Array', {
3353
3473
  // https://github.com/domenic/Array.prototype.includes
3354
3474
  includes: function includes(el /*, fromIndex = 0 */){
3355
3475
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
3356
3476
  }
3357
3477
  });
3358
- _dereq_(80)('includes');
3359
- },{"17":17,"6":6,"80":80}],171:[function(_dereq_,module,exports){
3478
+
3479
+ _dereq_(3)('includes');
3480
+ },{"22":22,"3":3,"7":7}],173:[function(_dereq_,module,exports){
3360
3481
  // https://github.com/DavidBruant/Map-Set.prototype.toJSON
3361
- var $def = _dereq_(17);
3482
+ var $export = _dereq_(22);
3362
3483
 
3363
- $def($def.P, 'Map', {toJSON: _dereq_(12)('Map')});
3364
- },{"12":12,"17":17}],172:[function(_dereq_,module,exports){
3484
+ $export($export.P, 'Map', {toJSON: _dereq_(13)('Map')});
3485
+ },{"13":13,"22":22}],174:[function(_dereq_,module,exports){
3365
3486
  // http://goo.gl/XkBrjD
3366
- var $def = _dereq_(17)
3367
- , $entries = _dereq_(52)(true);
3487
+ var $export = _dereq_(22)
3488
+ , $entries = _dereq_(55)(true);
3368
3489
 
3369
- $def($def.S, 'Object', {
3490
+ $export($export.S, 'Object', {
3370
3491
  entries: function entries(it){
3371
3492
  return $entries(it);
3372
3493
  }
3373
3494
  });
3374
- },{"17":17,"52":52}],173:[function(_dereq_,module,exports){
3495
+ },{"22":22,"55":55}],175:[function(_dereq_,module,exports){
3375
3496
  // https://gist.github.com/WebReflection/9353781
3376
- var $ = _dereq_(45)
3377
- , $def = _dereq_(17)
3378
- , ownKeys = _dereq_(53)
3379
- , toIObject = _dereq_(76)
3380
- , createDesc = _dereq_(56);
3497
+ var $ = _dereq_(46)
3498
+ , $export = _dereq_(22)
3499
+ , ownKeys = _dereq_(56)
3500
+ , toIObject = _dereq_(78)
3501
+ , createDesc = _dereq_(59);
3381
3502
 
3382
- $def($def.S, 'Object', {
3503
+ $export($export.S, 'Object', {
3383
3504
  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
3384
3505
  var O = toIObject(object)
3385
3506
  , setDesc = $.setDesc
@@ -3395,114 +3516,119 @@ $def($def.S, 'Object', {
3395
3516
  } return result;
3396
3517
  }
3397
3518
  });
3398
- },{"17":17,"45":45,"53":53,"56":56,"76":76}],174:[function(_dereq_,module,exports){
3519
+ },{"22":22,"46":46,"56":56,"59":59,"78":78}],176:[function(_dereq_,module,exports){
3399
3520
  // http://goo.gl/XkBrjD
3400
- var $def = _dereq_(17)
3401
- , $values = _dereq_(52)(false);
3521
+ var $export = _dereq_(22)
3522
+ , $values = _dereq_(55)(false);
3402
3523
 
3403
- $def($def.S, 'Object', {
3524
+ $export($export.S, 'Object', {
3404
3525
  values: function values(it){
3405
3526
  return $values(it);
3406
3527
  }
3407
3528
  });
3408
- },{"17":17,"52":52}],175:[function(_dereq_,module,exports){
3529
+ },{"22":22,"55":55}],177:[function(_dereq_,module,exports){
3409
3530
  // https://github.com/benjamingr/RexExp.escape
3410
- var $def = _dereq_(17)
3411
- , $re = _dereq_(58)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
3412
- $def($def.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
3531
+ var $export = _dereq_(22)
3532
+ , $re = _dereq_(62)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
3533
+
3534
+ $export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
3413
3535
 
3414
- },{"17":17,"58":58}],176:[function(_dereq_,module,exports){
3536
+ },{"22":22,"62":62}],178:[function(_dereq_,module,exports){
3415
3537
  // https://github.com/DavidBruant/Map-Set.prototype.toJSON
3416
- var $def = _dereq_(17);
3538
+ var $export = _dereq_(22);
3417
3539
 
3418
- $def($def.P, 'Set', {toJSON: _dereq_(12)('Set')});
3419
- },{"12":12,"17":17}],177:[function(_dereq_,module,exports){
3420
- // https://github.com/mathiasbynens/String.prototype.at
3540
+ $export($export.P, 'Set', {toJSON: _dereq_(13)('Set')});
3541
+ },{"13":13,"22":22}],179:[function(_dereq_,module,exports){
3421
3542
  'use strict';
3422
- var $def = _dereq_(17)
3423
- , $at = _dereq_(66)(true);
3424
- $def($def.P, 'String', {
3543
+ // https://github.com/mathiasbynens/String.prototype.at
3544
+ var $export = _dereq_(22)
3545
+ , $at = _dereq_(70)(true);
3546
+
3547
+ $export($export.P, 'String', {
3425
3548
  at: function at(pos){
3426
3549
  return $at(this, pos);
3427
3550
  }
3428
3551
  });
3429
- },{"17":17,"66":66}],178:[function(_dereq_,module,exports){
3552
+ },{"22":22,"70":70}],180:[function(_dereq_,module,exports){
3430
3553
  'use strict';
3431
- var $def = _dereq_(17)
3432
- , $pad = _dereq_(68);
3433
- $def($def.P, 'String', {
3554
+ var $export = _dereq_(22)
3555
+ , $pad = _dereq_(72);
3556
+
3557
+ $export($export.P, 'String', {
3434
3558
  padLeft: function padLeft(maxLength /*, fillString = ' ' */){
3435
3559
  return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
3436
3560
  }
3437
3561
  });
3438
- },{"17":17,"68":68}],179:[function(_dereq_,module,exports){
3562
+ },{"22":22,"72":72}],181:[function(_dereq_,module,exports){
3439
3563
  'use strict';
3440
- var $def = _dereq_(17)
3441
- , $pad = _dereq_(68);
3442
- $def($def.P, 'String', {
3564
+ var $export = _dereq_(22)
3565
+ , $pad = _dereq_(72);
3566
+
3567
+ $export($export.P, 'String', {
3443
3568
  padRight: function padRight(maxLength /*, fillString = ' ' */){
3444
3569
  return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
3445
3570
  }
3446
3571
  });
3447
- },{"17":17,"68":68}],180:[function(_dereq_,module,exports){
3572
+ },{"22":22,"72":72}],182:[function(_dereq_,module,exports){
3448
3573
  'use strict';
3449
3574
  // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
3450
- _dereq_(70)('trimLeft', function($trim){
3575
+ _dereq_(74)('trimLeft', function($trim){
3451
3576
  return function trimLeft(){
3452
3577
  return $trim(this, 1);
3453
3578
  };
3454
3579
  });
3455
- },{"70":70}],181:[function(_dereq_,module,exports){
3580
+ },{"74":74}],183:[function(_dereq_,module,exports){
3456
3581
  'use strict';
3457
3582
  // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
3458
- _dereq_(70)('trimRight', function($trim){
3583
+ _dereq_(74)('trimRight', function($trim){
3459
3584
  return function trimRight(){
3460
3585
  return $trim(this, 2);
3461
3586
  };
3462
3587
  });
3463
- },{"70":70}],182:[function(_dereq_,module,exports){
3588
+ },{"74":74}],184:[function(_dereq_,module,exports){
3464
3589
  // JavaScript 1.6 / Strawman array statics shim
3465
- var $ = _dereq_(45)
3466
- , $def = _dereq_(17)
3467
- , $Array = _dereq_(15).Array || Array
3590
+ var $ = _dereq_(46)
3591
+ , $export = _dereq_(22)
3592
+ , $ctx = _dereq_(17)
3593
+ , $Array = _dereq_(16).Array || Array
3468
3594
  , statics = {};
3469
3595
  var setStatics = function(keys, length){
3470
3596
  $.each.call(keys.split(','), function(key){
3471
3597
  if(length == undefined && key in $Array)statics[key] = $Array[key];
3472
- else if(key in [])statics[key] = _dereq_(16)(Function.call, [][key], length);
3598
+ else if(key in [])statics[key] = $ctx(Function.call, [][key], length);
3473
3599
  });
3474
3600
  };
3475
3601
  setStatics('pop,reverse,shift,keys,values,entries', 1);
3476
3602
  setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
3477
3603
  setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
3478
3604
  'reduce,reduceRight,copyWithin,fill');
3479
- $def($def.S, 'Array', statics);
3480
- },{"15":15,"16":16,"17":17,"45":45}],183:[function(_dereq_,module,exports){
3481
- _dereq_(89);
3482
- var global = _dereq_(28)
3483
- , hide = _dereq_(30)
3484
- , Iterators = _dereq_(44)
3485
- , ITERATOR = _dereq_(81)('iterator')
3605
+ $export($export.S, 'Array', statics);
3606
+ },{"16":16,"17":17,"22":22,"46":46}],185:[function(_dereq_,module,exports){
3607
+ _dereq_(91);
3608
+ var global = _dereq_(29)
3609
+ , hide = _dereq_(31)
3610
+ , Iterators = _dereq_(45)
3611
+ , ITERATOR = _dereq_(83)('iterator')
3486
3612
  , NL = global.NodeList
3487
3613
  , HTC = global.HTMLCollection
3488
3614
  , NLProto = NL && NL.prototype
3489
3615
  , HTCProto = HTC && HTC.prototype
3490
3616
  , ArrayValues = Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
3491
- if(NL && !(ITERATOR in NLProto))hide(NLProto, ITERATOR, ArrayValues);
3492
- if(HTC && !(ITERATOR in HTCProto))hide(HTCProto, ITERATOR, ArrayValues);
3493
- },{"28":28,"30":30,"44":44,"81":81,"89":89}],184:[function(_dereq_,module,exports){
3494
- var $def = _dereq_(17)
3495
- , $task = _dereq_(73);
3496
- $def($def.G + $def.B, {
3617
+ if(NLProto && !NLProto[ITERATOR])hide(NLProto, ITERATOR, ArrayValues);
3618
+ if(HTCProto && !HTCProto[ITERATOR])hide(HTCProto, ITERATOR, ArrayValues);
3619
+ },{"29":29,"31":31,"45":45,"83":83,"91":91}],186:[function(_dereq_,module,exports){
3620
+ var $export = _dereq_(22)
3621
+ , $task = _dereq_(75);
3622
+ $export($export.G + $export.B, {
3497
3623
  setImmediate: $task.set,
3498
3624
  clearImmediate: $task.clear
3499
3625
  });
3500
- },{"17":17,"73":73}],185:[function(_dereq_,module,exports){
3626
+ },{"22":22,"75":75}],187:[function(_dereq_,module,exports){
3501
3627
  // ie9- setTimeout & setInterval additional parameters fix
3502
- var global = _dereq_(28)
3503
- , $def = _dereq_(17)
3504
- , invoke = _dereq_(32)
3505
- , partial = _dereq_(54)
3628
+ var global = _dereq_(29)
3629
+ , $export = _dereq_(22)
3630
+ , invoke = _dereq_(33)
3631
+ , partial = _dereq_(57)
3506
3632
  , navigator = global.navigator
3507
3633
  , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
3508
3634
  var wrap = function(set){
@@ -3514,31 +3640,29 @@ var wrap = function(set){
3514
3640
  ), time);
3515
3641
  } : set;
3516
3642
  };
3517
- $def($def.G + $def.B + $def.F * MSIE, {
3643
+ $export($export.G + $export.B + $export.F * MSIE, {
3518
3644
  setTimeout: wrap(global.setTimeout),
3519
3645
  setInterval: wrap(global.setInterval)
3520
3646
  });
3521
- },{"17":17,"28":28,"32":32,"54":54}],186:[function(_dereq_,module,exports){
3522
- _dereq_(83);
3523
- _dereq_(167);
3524
- _dereq_(122);
3525
- _dereq_(130);
3526
- _dereq_(134);
3527
- _dereq_(135);
3528
- _dereq_(123);
3529
- _dereq_(133);
3647
+ },{"22":22,"29":29,"33":33,"57":57}],188:[function(_dereq_,module,exports){
3648
+ _dereq_(85);
3649
+ _dereq_(169);
3650
+ _dereq_(124);
3530
3651
  _dereq_(132);
3531
- _dereq_(128);
3652
+ _dereq_(136);
3653
+ _dereq_(137);
3654
+ _dereq_(125);
3655
+ _dereq_(135);
3656
+ _dereq_(134);
3657
+ _dereq_(130);
3658
+ _dereq_(131);
3532
3659
  _dereq_(129);
3533
- _dereq_(127);
3534
- _dereq_(124);
3535
3660
  _dereq_(126);
3536
- _dereq_(131);
3537
- _dereq_(125);
3538
- _dereq_(93);
3539
- _dereq_(92);
3540
- _dereq_(112);
3541
- _dereq_(113);
3661
+ _dereq_(128);
3662
+ _dereq_(133);
3663
+ _dereq_(127);
3664
+ _dereq_(95);
3665
+ _dereq_(94);
3542
3666
  _dereq_(114);
3543
3667
  _dereq_(115);
3544
3668
  _dereq_(116);
@@ -3547,8 +3671,8 @@ _dereq_(118);
3547
3671
  _dereq_(119);
3548
3672
  _dereq_(120);
3549
3673
  _dereq_(121);
3550
- _dereq_(95);
3551
- _dereq_(96);
3674
+ _dereq_(122);
3675
+ _dereq_(123);
3552
3676
  _dereq_(97);
3553
3677
  _dereq_(98);
3554
3678
  _dereq_(99);
@@ -3564,66 +3688,68 @@ _dereq_(108);
3564
3688
  _dereq_(109);
3565
3689
  _dereq_(110);
3566
3690
  _dereq_(111);
3691
+ _dereq_(112);
3692
+ _dereq_(113);
3693
+ _dereq_(162);
3694
+ _dereq_(165);
3695
+ _dereq_(168);
3696
+ _dereq_(164);
3567
3697
  _dereq_(160);
3698
+ _dereq_(161);
3568
3699
  _dereq_(163);
3569
3700
  _dereq_(166);
3570
- _dereq_(162);
3571
- _dereq_(158);
3572
- _dereq_(159);
3573
- _dereq_(161);
3574
- _dereq_(164);
3575
- _dereq_(165);
3576
- _dereq_(88);
3701
+ _dereq_(167);
3577
3702
  _dereq_(90);
3578
- _dereq_(89);
3703
+ _dereq_(92);
3579
3704
  _dereq_(91);
3580
- _dereq_(84);
3581
- _dereq_(85);
3582
- _dereq_(87);
3705
+ _dereq_(93);
3583
3706
  _dereq_(86);
3584
- _dereq_(151);
3585
- _dereq_(152);
3707
+ _dereq_(87);
3708
+ _dereq_(89);
3709
+ _dereq_(88);
3586
3710
  _dereq_(153);
3587
3711
  _dereq_(154);
3588
3712
  _dereq_(155);
3589
3713
  _dereq_(156);
3590
- _dereq_(136);
3591
- _dereq_(94);
3592
3714
  _dereq_(157);
3593
- _dereq_(168);
3594
- _dereq_(169);
3595
- _dereq_(137);
3715
+ _dereq_(158);
3596
3716
  _dereq_(138);
3717
+ _dereq_(96);
3718
+ _dereq_(159);
3719
+ _dereq_(170);
3720
+ _dereq_(171);
3597
3721
  _dereq_(139);
3598
3722
  _dereq_(140);
3599
3723
  _dereq_(141);
3600
- _dereq_(144);
3601
3724
  _dereq_(142);
3602
3725
  _dereq_(143);
3603
- _dereq_(145);
3604
3726
  _dereq_(146);
3727
+ _dereq_(144);
3728
+ _dereq_(145);
3605
3729
  _dereq_(147);
3606
3730
  _dereq_(148);
3607
- _dereq_(150);
3608
3731
  _dereq_(149);
3609
- _dereq_(170);
3610
- _dereq_(177);
3611
- _dereq_(178);
3732
+ _dereq_(150);
3733
+ _dereq_(152);
3734
+ _dereq_(151);
3735
+ _dereq_(172);
3612
3736
  _dereq_(179);
3613
3737
  _dereq_(180);
3614
3738
  _dereq_(181);
3739
+ _dereq_(182);
3740
+ _dereq_(183);
3741
+ _dereq_(177);
3615
3742
  _dereq_(175);
3616
- _dereq_(173);
3617
- _dereq_(174);
3618
- _dereq_(172);
3619
- _dereq_(171);
3620
3743
  _dereq_(176);
3621
- _dereq_(182);
3622
- _dereq_(185);
3744
+ _dereq_(174);
3745
+ _dereq_(173);
3746
+ _dereq_(178);
3623
3747
  _dereq_(184);
3624
- _dereq_(183);
3625
- module.exports = _dereq_(15);
3626
- },{"100":100,"101":101,"102":102,"103":103,"104":104,"105":105,"106":106,"107":107,"108":108,"109":109,"110":110,"111":111,"112":112,"113":113,"114":114,"115":115,"116":116,"117":117,"118":118,"119":119,"120":120,"121":121,"122":122,"123":123,"124":124,"125":125,"126":126,"127":127,"128":128,"129":129,"130":130,"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"15":15,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"83":83,"84":84,"85":85,"86":86,"87":87,"88":88,"89":89,"90":90,"91":91,"92":92,"93":93,"94":94,"95":95,"96":96,"97":97,"98":98,"99":99}],187:[function(_dereq_,module,exports){
3748
+ _dereq_(187);
3749
+ _dereq_(186);
3750
+ _dereq_(185);
3751
+ module.exports = _dereq_(16);
3752
+ },{"100":100,"101":101,"102":102,"103":103,"104":104,"105":105,"106":106,"107":107,"108":108,"109":109,"110":110,"111":111,"112":112,"113":113,"114":114,"115":115,"116":116,"117":117,"118":118,"119":119,"120":120,"121":121,"122":122,"123":123,"124":124,"125":125,"126":126,"127":127,"128":128,"129":129,"130":130,"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"16":16,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"85":85,"86":86,"87":87,"88":88,"89":89,"90":90,"91":91,"92":92,"93":93,"94":94,"95":95,"96":96,"97":97,"98":98,"99":99}],189:[function(_dereq_,module,exports){
3627
3753
  (function (global){
3628
3754
  /**
3629
3755
  * Copyright (c) 2014, Facebook, Inc.