PageSourceSearch

https://mothertongues.org/gitksan/polyfills.js

js mothertongues.org collected 2026-10-02 06:23:30 UTC 241,748 bytes, 5,798 lines download raw bytes

1(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["polyfills"],{
2
vendor: 1,117 bytes, lines 3-25
3/***/ "./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js":
4/*!**************************************************************************************************!*\
5  !*** ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ***!
6  \**************************************************************************************************/
7/*! no exports provided */
8/***/ (function(module, __webpack_exports__, __webpack_require__) {
9
10"use strict";
11__webpack_require__.r(__webpack_exports__);
12/* harmony import */ var core_js_es7_reflect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/es7/reflect */ "./node_modules/core-js/es7/reflect.js");
13/* harmony import */ var core_js_es7_reflect__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_es7_reflect__WEBPACK_IMPORTED_MODULE_0__);
14/**
15 * @license
16 * Copyright Google Inc. All Rights Reserved.
17 *
18 * Use of this source code is governed by an MIT-style license that can be
19 * found in the LICENSE file at https://angular.io/license
20 */
21
22
23
24/***/ }),
25
vendor: 1,595 bytes, lines 26-46
26/***/ "./node_modules/core-js/es7/reflect.js":
27/*!*********************************************!*\
28  !*** ./node_modules/core-js/es7/reflect.js ***!
29  \*********************************************/
30/*! no static exports found */
31/***/ (function(module, exports, __webpack_require__) {
32
33__webpack_require__(/*! ../modules/es7.reflect.define-metadata */ "./node_modules/core-js/modules/es7.reflect.define-metadata.js");
34__webpack_require__(/*! ../modules/es7.reflect.delete-metadata */ "./node_modules/core-js/modules/es7.reflect.delete-metadata.js");
35__webpack_require__(/*! ../modules/es7.reflect.get-metadata */ "./node_modules/core-js/modules/es7.reflect.get-metadata.js");
36__webpack_require__(/*! ../modules/es7.reflect.get-metadata-keys */ "./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js");
37__webpack_require__(/*! ../modules/es7.reflect.get-own-metadata */ "./node_modules/core-js/modules/es7.reflect.get-own-metadata.js");
38__webpack_require__(/*! ../modules/es7.reflect.get-own-metadata-keys */ "./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js");
39__webpack_require__(/*! ../modules/es7.reflect.has-metadata */ "./node_modules/core-js/modules/es7.reflect.has-metadata.js");
40__webpack_require__(/*! ../modules/es7.reflect.has-own-metadata */ "./node_modules/core-js/modules/es7.reflect.has-own-metadata.js");
41__webpack_require__(/*! ../modules/es7.reflect.metadata */ "./node_modules/core-js/modules/es7.reflect.metadata.js");
42module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js").Reflect;
43
44
45/***/ }),
46
vendor: 436 bytes, lines 47-61
47/***/ "./node_modules/core-js/modules/_a-function.js":
48/*!*****************************************************!*\
49  !*** ./node_modules/core-js/modules/_a-function.js ***!
50  \*****************************************************/
51/*! no static exports found */
52/***/ (function(module, exports) {
53
54module.exports = function (it) {
55  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
56  return it;
57};
58
59
60/***/ }),
61
vendor: 552 bytes, lines 62-77
62/***/ "./node_modules/core-js/modules/_an-instance.js":
63/*!******************************************************!*\
64  !*** ./node_modules/core-js/modules/_an-instance.js ***!
65  \******************************************************/
66/*! no static exports found */
67/***/ (function(module, exports) {
68
69module.exports = function (it, Constructor, name, forbiddenField) {
70  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
71    throw TypeError(name + ': incorrect invocation!');
72  } return it;
73};
74
75
76/***/ }),
77
vendor: 546 bytes, lines 78-93
78/***/ "./node_modules/core-js/modules/_an-object.js":
79/*!****************************************************!*\
80  !*** ./node_modules/core-js/modules/_an-object.js ***!
81  \****************************************************/
82/*! no static exports found */
83/***/ (function(module, exports, __webpack_require__) {
84
85var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
86module.exports = function (it) {
87  if (!isObject(it)) throw TypeError(it + ' is not an object!');
88  return it;
89};
90
91
92/***/ }),
93
vendor: 601 bytes, lines 94-111
94/***/ "./node_modules/core-js/modules/_array-from-iterable.js":
95/*!**************************************************************!*\
96  !*** ./node_modules/core-js/modules/_array-from-iterable.js ***!
97  \**************************************************************/
98/*! no static exports found */
99/***/ (function(module, exports, __webpack_require__) {
100
101var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js");
102
103module.exports = function (iter, ITERATOR) {
104  var result = [];
105  forOf(iter, false, result.push, result, ITERATOR);
106  return result;
107};
108
109
110/***/ }),
111
vendor: 1,473 bytes, lines 112-145
112/***/ "./node_modules/core-js/modules/_array-includes.js":
113/*!*********************************************************!*\
114  !*** ./node_modules/core-js/modules/_array-includes.js ***!
115  \*********************************************************/
116/*! no static exports found */
117/***/ (function(module, exports, __webpack_require__) {
118
119// false -> Array#indexOf
120// true  -> Array#includes
121var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js");
122var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js");
123var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js");
124module.exports = function (IS_INCLUDES) {
125  return function ($this, el, fromIndex) {
126    var O = toIObject($this);
127    var length = toLength(O.length);
128    var index = toAbsoluteIndex(fromIndex, length);
129    var value;
130    // Array#includes uses SameValueZero equality algorithm
131    // eslint-disable-next-line no-self-compare
132    if (IS_INCLUDES && el != el) while (length > index) {
133      value = O[index++];
134      // eslint-disable-next-line no-self-compare
135      if (value != value) return true;
136    // Array#indexOf ignores holes, Array#includes - not
137    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
138      if (O[index] === el) return IS_INCLUDES || index || 0;
139    } return !IS_INCLUDES && -1;
140  };
141};
142
143
144/***/ }),
145
vendor: 2,161 bytes, lines 146-200
146/***/ "./node_modules/core-js/modules/_array-methods.js":
147/*!********************************************************!*\
148  !*** ./node_modules/core-js/modules/_array-methods.js ***!
149  \********************************************************/
150/*! no static exports found */
151/***/ (function(module, exports, __webpack_require__) {
152
153// 0 -> Array#forEach
154// 1 -> Array#map
155// 2 -> Array#filter
156// 3 -> Array#some
157// 4 -> Array#every
158// 5 -> Array#find
159// 6 -> Array#findIndex
160var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js");
161var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js");
162var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js");
163var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js");
164var asc = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js");
165module.exports = function (TYPE, $create) {
166  var IS_MAP = TYPE == 1;
167  var IS_FILTER = TYPE == 2;
168  var IS_SOME = TYPE == 3;
169  var IS_EVERY = TYPE == 4;
170  var IS_FIND_INDEX = TYPE == 6;
171  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
172  var create = $create || asc;
173  return function ($this, callbackfn, that) {
174    var O = toObject($this);
175    var self = IObject(O);
176    var f = ctx(callbackfn, that, 3);
177    var length = toLength(self.length);
178    var index = 0;
179    var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
180    var val, res;
181    for (;length > index; index++) if (NO_HOLES || index in self) {
182      val = self[index];
183      res = f(val, index, O);
184      if (TYPE) {
185        if (IS_MAP) result[index] = res;   // map
186        else if (res) switch (TYPE) {
187          case 3: return true;             // some
188          case 5: return val;              // find
189          case 6: return index;            // findIndex
190          case 2: result.push(val);        // filter
191        } else if (IS_EVERY) return false; // every
192      }
193    }
194    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
195  };
196};
197
198
199/***/ }),
200
vendor: 1,052 bytes, lines 201-227
201/***/ "./node_modules/core-js/modules/_array-species-constructor.js":
202/*!********************************************************************!*\
203  !*** ./node_modules/core-js/modules/_array-species-constructor.js ***!
204  \********************************************************************/
205/*! no static exports found */
206/***/ (function(module, exports, __webpack_require__) {
207
208var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
209var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js");
210var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species');
211
212module.exports = function (original) {
213  var C;
214  if (isArray(original)) {
215    C = original.constructor;
216    // cross-realm fallback
217    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
218    if (isObject(C)) {
219      C = C[SPECIES];
220      if (C === null) C = undefined;
221    }
222  } return C === undefined ? Array : C;
223};
224
225
226/***/ }),
227
vendor: 675 bytes, lines 228-244
228/***/ "./node_modules/core-js/modules/_array-species-create.js":
229/*!***************************************************************!*\
230  !*** ./node_modules/core-js/modules/_array-species-create.js ***!
231  \***************************************************************/
232/*! no static exports found */
233/***/ (function(module, exports, __webpack_require__) {
234
235// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
236var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "./node_modules/core-js/modules/_array-species-constructor.js");
237
238module.exports = function (original, length) {
239  return new (speciesConstructor(original))(length);
240};
241
242
243/***/ }),
244
vendor: 1,154 bytes, lines 245-278
245/***/ "./node_modules/core-js/modules/_classof.js":
246/*!**************************************************!*\
247  !*** ./node_modules/core-js/modules/_classof.js ***!
248  \**************************************************/
249/*! no static exports found */
250/***/ (function(module, exports, __webpack_require__) {
251
252// getting tag from 19.1.3.6 Object.prototype.toString()
253var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js");
254var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag');
255// ES3 wrong here
256var ARG = cof(function () { return arguments; }()) == 'Arguments';
257
258// fallback for IE11 Script Access Denied error
259var tryGet = function (it, key) {
260  try {
261    return it[key];
262  } catch (e) { /* empty */ }
263};
264
265module.exports = function (it) {
266  var O, T, B;
267  return it === undefined ? 'Undefined' : it === null ? 'Null'
268    // @@toStringTag case
269    : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
270    // builtinTag case
271    : ARG ? cof(O)
272    // ES3 arguments fallback
273    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
274};
275
276
277/***/ }),
278
vendor: 389 bytes, lines 279-294
279/***/ "./node_modules/core-js/modules/_cof.js":
280/*!**********************************************!*\
281  !*** ./node_modules/core-js/modules/_cof.js ***!
282  \**********************************************/
283/*! no static exports found */
284/***/ (function(module, exports) {
285
286var toString = {}.toString;
287
288module.exports = function (it) {
289  return toString.call(it).slice(8, -1);
290};
291
292
293/***/ }),
294
vendor: 6,159 bytes, lines 295-450
295/***/ "./node_modules/core-js/modules/_collection-strong.js":
296/*!************************************************************!*\
297  !*** ./node_modules/core-js/modules/_collection-strong.js ***!
298  \************************************************************/
299/*! no static exports found */
300/***/ (function(module, exports, __webpack_require__) {
301
302"use strict";
303
304var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f;
305var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js");
306var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js");
307var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js");
308var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js");
309var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js");
310var $iterDefine = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js");
311var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js");
312var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js");
313var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js");
314var fastKey = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").fastKey;
315var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
316var SIZE = DESCRIPTORS ? '_s' : 'size';
317
318var getEntry = function (that, key) {
319  // fast case
320  var index = fastKey(key);
321  var entry;
322  if (index !== 'F') return that._i[index];
323  // frozen object case
324  for (entry = that._f; entry; entry = entry.n) {
325    if (entry.k == key) return entry;
326  }
327};
328
329module.exports = {
330  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
331    var C = wrapper(function (that, iterable) {
332      anInstance(that, C, NAME, '_i');
333      that._t = NAME;         // collection type
334      that._i = create(null); // index
335      that._f = undefined;    // first entry
336      that._l = undefined;    // last entry
337      that[SIZE] = 0;         // size
338      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
339    });
340    redefineAll(C.prototype, {
341      // 23.1.3.1 Map.prototype.clear()
342      // 23.2.3.2 Set.prototype.clear()
343      clear: function clear() {
344        for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {
345          entry.r = true;
346          if (entry.p) entry.p = entry.p.n = undefined;
347          delete data[entry.i];
348        }
349        that._f = that._l = undefined;
350        that[SIZE] = 0;
351      },
352      // 23.1.3.3 Map.prototype.delete(key)
353      // 23.2.3.4 Set.prototype.delete(value)
354      'delete': function (key) {
355        var that = validate(this, NAME);
356        var entry = getEntry(that, key);
357        if (entry) {
358          var next = entry.n;
359          var prev = entry.p;
360          delete that._i[entry.i];
361          entry.r = true;
362          if (prev) prev.n = next;
363          if (next) next.p = prev;
364          if (that._f == entry) that._f = next;
365          if (that._l == entry) that._l = prev;
366          that[SIZE]--;
367        } return !!entry;
368      },
369      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
370      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
371      forEach: function forEach(callbackfn /* , that = undefined */) {
372        validate(this, NAME);
373        var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
374        var entry;
375        while (entry = entry ? entry.n : this._f) {
376          f(entry.v, entry.k, this);
377          // revert to the last existing entry
378          while (entry && entry.r) entry = entry.p;
379        }
380      },
381      // 23.1.3.7 Map.prototype.has(key)
382      // 23.2.3.7 Set.prototype.has(value)
383      has: function has(key) {
384        return !!getEntry(validate(this, NAME), key);
385      }
386    });
387    if (DESCRIPTORS) dP(C.prototype, 'size', {
388      get: function () {
389        return validate(this, NAME)[SIZE];
390      }
391    });
392    return C;
393  },
394  def: function (that, key, value) {
395    var entry = getEntry(that, key);
396    var prev, index;
397    // change existing entry
398    if (entry) {
399      entry.v = value;
400    // create new entry
401    } else {
402      that._l = entry = {
403        i: index = fastKey(key, true), // <- index
404        k: key,                        // <- key
405        v: value,                      // <- value
406        p: prev = that._l,             // <- previous entry
407        n: undefined,                  // <- next entry
408        r: false                       // <- removed
409      };
410      if (!that._f) that._f = entry;
411      if (prev) prev.n = entry;
412      that[SIZE]++;
413      // add to index
414      if (index !== 'F') that._i[index] = entry;
415    } return that;
416  },
417  getEntry: getEntry,
418  setStrong: function (C, NAME, IS_MAP) {
419    // add .keys, .values, .entries, [@@iterator]
420    // 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
421    $iterDefine(C, NAME, function (iterated, kind) {
422      this._t = validate(iterated, NAME); // target
423      this._k = kind;                     // kind
424      this._l = undefined;                // previous
425    }, function () {
426      var that = this;
427      var kind = that._k;
428      var entry = that._l;
429      // revert to the last existing entry
430      while (entry && entry.r) entry = entry.p;
431      // get next entry
432      if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {
433        // or finish the iteration
434        that._t = undefined;
435        return step(1);
436      }
437      // return step by kind
438      if (kind == 'keys') return step(0, entry.k);
439      if (kind == 'values') return step(0, entry.v);
440      return step(0, [entry.k, entry.v]);
441    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
442
443    // add [@@species], 23.1.2.2, 23.2.2.2
444    setSpecies(NAME);
445  }
446};
447
448
449/***/ }),
450
vendor: 3,722 bytes, lines 451-547
451/***/ "./node_modules/core-js/modules/_collection-weak.js":
452/*!**********************************************************!*\
453  !*** ./node_modules/core-js/modules/_collection-weak.js ***!
454  \**********************************************************/
455/*! no static exports found */
456/***/ (function(module, exports, __webpack_require__) {
457
458"use strict";
459
460var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js");
461var getWeak = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").getWeak;
462var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
463var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
464var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js");
465var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js");
466var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js");
467var $has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
468var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
469var arrayFind = createArrayMethod(5);
470var arrayFindIndex = createArrayMethod(6);
471var id = 0;
472
473// fallback for uncaught frozen keys
474var uncaughtFrozenStore = function (that) {
475  return that._l || (that._l = new UncaughtFrozenStore());
476};
477var UncaughtFrozenStore = function () {
478  this.a = [];
479};
480var findUncaughtFrozen = function (store, key) {
481  return arrayFind(store.a, function (it) {
482    return it[0] === key;
483  });
484};
485UncaughtFrozenStore.prototype = {
486  get: function (key) {
487    var entry = findUncaughtFrozen(this, key);
488    if (entry) return entry[1];
489  },
490  has: function (key) {
491    return !!findUncaughtFrozen(this, key);
492  },
493  set: function (key, value) {
494    var entry = findUncaughtFrozen(this, key);
495    if (entry) entry[1] = value;
496    else this.a.push([key, value]);
497  },
498  'delete': function (key) {
499    var index = arrayFindIndex(this.a, function (it) {
500      return it[0] === key;
501    });
502    if (~index) this.a.splice(index, 1);
503    return !!~index;
504  }
505};
506
507module.exports = {
508  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
509    var C = wrapper(function (that, iterable) {
510      anInstance(that, C, NAME, '_i');
511      that._t = NAME;      // collection type
512      that._i = id++;      // collection id
513      that._l = undefined; // leak store for uncaught frozen objects
514      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
515    });
516    redefineAll(C.prototype, {
517      // 23.3.3.2 WeakMap.prototype.delete(key)
518      // 23.4.3.3 WeakSet.prototype.delete(value)
519      'delete': function (key) {
520        if (!isObject(key)) return false;
521        var data = getWeak(key);
522        if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);
523        return data && $has(data, this._i) && delete data[this._i];
524      },
525      // 23.3.3.4 WeakMap.prototype.has(key)
526      // 23.4.3.4 WeakSet.prototype.has(value)
527      has: function has(key) {
528        if (!isObject(key)) return false;
529        var data = getWeak(key);
530        if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);
531        return data && $has(data, this._i);
532      }
533    });
534    return C;
535  },
536  def: function (that, key, value) {
537    var data = getWeak(anObject(key), true);
538    if (data === true) uncaughtFrozenStore(that).set(key, value);
539    else data[that._i] = value;
540    return that;
541  },
542  ufstore: uncaughtFrozenStore
543};
544
545
546/***/ }),
547
vendor: 4,414 bytes, lines 548-644
548/***/ "./node_modules/core-js/modules/_collection.js":
549/*!*****************************************************!*\
550  !*** ./node_modules/core-js/modules/_collection.js ***!
551  \*****************************************************/
552/*! no static exports found */
553/***/ (function(module, exports, __webpack_require__) {
554
555"use strict";
556
557var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
558var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js");
559var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js");
560var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js");
561var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js");
562var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js");
563var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js");
564var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
565var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js");
566var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js");
567var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js");
568var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js");
569
570module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
571  var Base = global[NAME];
572  var C = Base;
573  var ADDER = IS_MAP ? 'set' : 'add';
574  var proto = C && C.prototype;
575  var O = {};
576  var fixMethod = function (KEY) {
577    var fn = proto[KEY];
578    redefine(proto, KEY,
579      KEY == 'delete' ? function (a) {
580        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
581      } : KEY == 'has' ? function has(a) {
582        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
583      } : KEY == 'get' ? function get(a) {
584        return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
585      } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }
586        : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }
587    );
588  };
589  if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {
590    new C().entries().next();
591  }))) {
592    // create collection constructor
593    C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
594    redefineAll(C.prototype, methods);
595    meta.NEED = true;
596  } else {
597    var instance = new C();
598    // early implementations not supports chaining
599    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
600    // V8 ~  Chromium 40- weak-collections throws on primitives, but should return false
601    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
602    // most early implementations doesn't supports iterables, most modern - not close it correctly
603    var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new
604    // for early implementations -0 and +0 not the same
605    var BUGGY_ZERO = !IS_WEAK && fails(function () {
606      // V8 ~ Chromium 42- fails only with 5+ elements
607      var $instance = new C();
608      var index = 5;
609      while (index--) $instance[ADDER](index, index);
610      return !$instance.has(-0);
611    });
612    if (!ACCEPT_ITERABLES) {
613      C = wrapper(function (target, iterable) {
614        anInstance(target, C, NAME);
615        var that = inheritIfRequired(new Base(), target, C);
616        if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
617        return that;
618      });
619      C.prototype = proto;
620      proto.constructor = C;
621    }
622    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
623      fixMethod('delete');
624      fixMethod('has');
625      IS_MAP && fixMethod('get');
626    }
627    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
628    // weak collections should not contains .clear method
629    if (IS_WEAK && proto.clear) delete proto.clear;
630  }
631
632  setToStringTag(C, NAME);
633
634  O[NAME] = C;
635  $export($export.G + $export.W + $export.F * (C != Base), O);
636
637  if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);
638
639  return C;
640};
641
642
643/***/ }),
644
vendor: 409 bytes, lines 645-657
645/***/ "./node_modules/core-js/modules/_core.js":
646/*!***********************************************!*\
647  !*** ./node_modules/core-js/modules/_core.js ***!
648  \***********************************************/
649/*! no static exports found */
650/***/ (function(module, exports) {
651
652var core = module.exports = { version: '2.6.9' };
653if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
654
655
656/***/ }),
657
vendor: 889 bytes, lines 658-688
658/***/ "./node_modules/core-js/modules/_ctx.js":
659/*!**********************************************!*\
660  !*** ./node_modules/core-js/modules/_ctx.js ***!
661  \**********************************************/
662/*! no static exports found */
663/***/ (function(module, exports, __webpack_require__) {
664
665// optional / simple context binding
666var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js");
667module.exports = function (fn, that, length) {
668  aFunction(fn);
669  if (that === undefined) return fn;
670  switch (length) {
671    case 1: return function (a) {
672      return fn.call(that, a);
673    };
674    case 2: return function (a, b) {
675      return fn.call(that, a, b);
676    };
677    case 3: return function (a, b, c) {
678      return fn.call(that, a, b, c);
679    };
680  }
681  return function (/* ...args */) {
682    return fn.apply(that, arguments);
683  };
684};
685
686
687/***/ }),
688
vendor: 461 bytes, lines 689-704
689/***/ "./node_modules/core-js/modules/_defined.js":
690/*!**************************************************!*\
691  !*** ./node_modules/core-js/modules/_defined.js ***!
692  \**************************************************/
693/*! no static exports found */
694/***/ (function(module, exports) {
695
696// 7.2.1 RequireObjectCoercible(argument)
697module.exports = function (it) {
698  if (it == undefined) throw TypeError("Can't call method on  " + it);
699  return it;
700};
701
702
703/***/ }),
704
vendor: 580 bytes, lines 705-719
705/***/ "./node_modules/core-js/modules/_descriptors.js":
706/*!******************************************************!*\
707  !*** ./node_modules/core-js/modules/_descriptors.js ***!
708  \******************************************************/
709/*! no static exports found */
710/***/ (function(module, exports, __webpack_require__) {
711
712// Thank's IE8 for his funny defineProperty
713module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () {
714  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
715});
716
717
718/***/ }),
719
vendor: 746 bytes, lines 720-737
720/***/ "./node_modules/core-js/modules/_dom-create.js":
721/*!*****************************************************!*\
722  !*** ./node_modules/core-js/modules/_dom-create.js ***!
723  \*****************************************************/
724/*! no static exports found */
725/***/ (function(module, exports, __webpack_require__) {
726
727var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
728var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document;
729// typeof document.createElement is 'object' in old IE
730var is = isObject(document) && isObject(document.createElement);
731module.exports = function (it) {
732  return is ? document.createElement(it) : {};
733};
734
735
736/***/ }),
737
vendor: 483 bytes, lines 738-752
738/***/ "./node_modules/core-js/modules/_enum-bug-keys.js":
739/*!********************************************************!*\
740  !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***!
741  \********************************************************/
742/*! no static exports found */
743/***/ (function(module, exports) {
744
745// IE 8- don't enum bug keys
746module.exports = (
747  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
748).split(',');
749
750
751/***/ }),
752
vendor: 2,217 bytes, lines 753-806
753/***/ "./node_modules/core-js/modules/_export.js":
754/*!*************************************************!*\
755  !*** ./node_modules/core-js/modules/_export.js ***!
756  \*************************************************/
757/*! no static exports found */
758/***/ (function(module, exports, __webpack_require__) {
759
760var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
761var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js");
762var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js");
763var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js");
764var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js");
765var PROTOTYPE = 'prototype';
766
767var $export = function (type, name, source) {
768  var IS_FORCED = type & $export.F;
769  var IS_GLOBAL = type & $export.G;
770  var IS_STATIC = type & $export.S;
771  var IS_PROTO = type & $export.P;
772  var IS_BIND = type & $export.B;
773  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
774  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
775  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
776  var key, own, out, exp;
777  if (IS_GLOBAL) source = name;
778  for (key in source) {
779    // contains in native
780    own = !IS_FORCED && target && target[key] !== undefined;
781    // export native or passed
782    out = (own ? target : source)[key];
783    // bind timers to global for call from export context
784    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
785    // extend global
786    if (target) redefine(target, key, out, type & $export.U);
787    // export
788    if (exports[key] != out) hide(exports, key, exp);
789    if (IS_PROTO && expProto[key] != out) expProto[key] = out;
790  }
791};
792global.core = core;
793// type bitmap
794$export.F = 1;   // forced
795$export.G = 2;   // global
796$export.S = 4;   // static
797$export.P = 8;   // proto
798$export.B = 16;  // bind
799$export.W = 32;  // wrap
800$export.U = 64;  // safe
801$export.R = 128; // real proto method for `library`
802module.exports = $export;
803
804
805/***/ }),
806
vendor: 395 bytes, lines 807-824
807/***/ "./node_modules/core-js/modules/_fails.js":
808/*!************************************************!*\
809  !*** ./node_modules/core-js/modules/_fails.js ***!
810  \************************************************/
811/*! no static exports found */
812/***/ (function(module, exports) {
813
814module.exports = function (exec) {
815  try {
816    return !!exec();
817  } catch (e) {
818    return true;
819  }
820};
821
822
823/***/ }),
824
vendor: 1,888 bytes, lines 825-860
825/***/ "./node_modules/core-js/modules/_for-of.js":
826/*!*************************************************!*\
827  !*** ./node_modules/core-js/modules/_for-of.js ***!
828  \*************************************************/
829/*! no static exports found */
830/***/ (function(module, exports, __webpack_require__) {
831
832var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js");
833var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js");
834var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js");
835var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
836var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js");
837var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js");
838var BREAK = {};
839var RETURN = {};
840var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
841  var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
842  var f = ctx(fn, that, entries ? 2 : 1);
843  var index = 0;
844  var length, step, iterator, result;
845  if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
846  // fast case for arrays with default iterator
847  if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
848    result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
849    if (result === BREAK || result === RETURN) return result;
850  } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
851    result = call(iterator, f, step.value, entries);
852    if (result === BREAK || result === RETURN) return result;
853  }
854};
855exports.BREAK = BREAK;
856exports.RETURN = RETURN;
857
858
859/***/ }),
860
vendor: 512 bytes, lines 861-872
861/***/ "./node_modules/core-js/modules/_function-to-string.js":
862/*!*************************************************************!*\
863  !*** ./node_modules/core-js/modules/_function-to-string.js ***!
864  \*************************************************************/
865/*! no static exports found */
866/***/ (function(module, exports, __webpack_require__) {
867
868module.exports = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString);
869
870
871/***/ }),
872
vendor: 664 bytes, lines 873-889
873/***/ "./node_modules/core-js/modules/_global.js":
874/*!*************************************************!*\
875  !*** ./node_modules/core-js/modules/_global.js ***!
876  \*************************************************/
877/*! no static exports found */
878/***/ (function(module, exports) {
879
880// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
881var global = module.exports = typeof window != 'undefined' && window.Math == Math
882  ? window : typeof self != 'undefined' && self.Math == Math ? self
883  // eslint-disable-next-line no-new-func
884  : Function('return this')();
885if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
886
887
888/***/ }),
889
vendor: 403 bytes, lines 890-904
890/***/ "./node_modules/core-js/modules/_has.js":
891/*!**********************************************!*\
892  !*** ./node_modules/core-js/modules/_has.js ***!
893  \**********************************************/
894/*! no static exports found */
895/***/ (function(module, exports) {
896
897var hasOwnProperty = {}.hasOwnProperty;
898module.exports = function (it, key) {
899  return hasOwnProperty.call(it, key);
900};
901
902
903/***/ }),
904
vendor: 792 bytes, lines 905-923
905/***/ "./node_modules/core-js/modules/_hide.js":
906/*!***********************************************!*\
907  !*** ./node_modules/core-js/modules/_hide.js ***!
908  \***********************************************/
909/*! no static exports found */
910/***/ (function(module, exports, __webpack_require__) {
911
912var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js");
913var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js");
914module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) {
915  return dP.f(object, key, createDesc(1, value));
916} : function (object, key, value) {
917  object[key] = value;
918  return object;
919};
920
921
922/***/ }),
923
vendor: 470 bytes, lines 924-936
924/***/ "./node_modules/core-js/modules/_html.js":
925/*!***********************************************!*\
926  !*** ./node_modules/core-js/modules/_html.js ***!
927  \***********************************************/
928/*! no static exports found */
929/***/ (function(module, exports, __webpack_require__) {
930
931var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document;
932module.exports = document && document.documentElement;
933
934
935/***/ }),
936
vendor: 738 bytes, lines 937-950
937/***/ "./node_modules/core-js/modules/_ie8-dom-define.js":
938/*!*********************************************************!*\
939  !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***!
940  \*********************************************************/
941/*! no static exports found */
942/***/ (function(module, exports, __webpack_require__) {
943
944module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () {
945  return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7;
946});
947
948
949/***/ }),
950
vendor: 833 bytes, lines 951-970
951/***/ "./node_modules/core-js/modules/_inherit-if-required.js":
952/*!**************************************************************!*\
953  !*** ./node_modules/core-js/modules/_inherit-if-required.js ***!
954  \**************************************************************/
955/*! no static exports found */
956/***/ (function(module, exports, __webpack_require__) {
957
958var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
959var setPrototypeOf = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set;
960module.exports = function (that, target, C) {
961  var S = target.constructor;
962  var P;
963  if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
964    setPrototypeOf(that, P);
965  } return that;
966};
967
968
969/***/ }),
970
vendor: 667 bytes, lines 971-987
971/***/ "./node_modules/core-js/modules/_iobject.js":
972/*!**************************************************!*\
973  !*** ./node_modules/core-js/modules/_iobject.js ***!
974  \**************************************************/
975/*! no static exports found */
976/***/ (function(module, exports, __webpack_require__) {
977
978// fallback for non-array-like ES3 and non-enumerable old V8 strings
979var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js");
980// eslint-disable-next-line no-prototype-builtins
981module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
982  return cof(it) == 'String' ? it.split('') : Object(it);
983};
984
985
986/***/ }),
987
vendor: 745 bytes, lines 988-1006
988/***/ "./node_modules/core-js/modules/_is-array-iter.js":
989/*!********************************************************!*\
990  !*** ./node_modules/core-js/modules/_is-array-iter.js ***!
991  \********************************************************/
992/*! no static exports found */
993/***/ (function(module, exports, __webpack_require__) {
994
995// check on default Array iterator
996var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js");
997var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator');
998var ArrayProto = Array.prototype;
999
1000module.exports = function (it) {
1001  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
1002};
1003
1004
1005/***/ }),
1006
vendor: 529 bytes, lines 1007-1022
1007/***/ "./node_modules/core-js/modules/_is-array.js":
1008/*!***************************************************!*\
1009  !*** ./node_modules/core-js/modules/_is-array.js ***!
1010  \***************************************************/
1011/*! no static exports found */
1012/***/ (function(module, exports, __webpack_require__) {
1013
1014// 7.2.2 IsArray(argument)
1015var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js");
1016module.exports = Array.isArray || function isArray(arg) {
1017  return cof(arg) == 'Array';
1018};
1019
1020
1021/***/ }),
1022
vendor: 417 bytes, lines 1023-1036
1023/***/ "./node_modules/core-js/modules/_is-object.js":
1024/*!****************************************************!*\
1025  !*** ./node_modules/core-js/modules/_is-object.js ***!
1026  \****************************************************/
1027/*! no static exports found */
1028/***/ (function(module, exports) {
1029
1030module.exports = function (it) {
1031  return typeof it === 'object' ? it !== null : typeof it === 'function';
1032};
1033
1034
1035/***/ }),
1036
vendor: 802 bytes, lines 1037-1059
1037/***/ "./node_modules/core-js/modules/_iter-call.js":
1038/*!****************************************************!*\
1039  !*** ./node_modules/core-js/modules/_iter-call.js ***!
1040  \****************************************************/
1041/*! no static exports found */
1042/***/ (function(module, exports, __webpack_require__) {
1043
1044// call something on iterator step with safe closing on error
1045var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
1046module.exports = function (iterator, fn, value, entries) {
1047  try {
1048    return entries ? fn(anObject(value)[0], value[1]) : fn(value);
1049  // 7.4.6 IteratorClose(iterator, completion)
1050  } catch (e) {
1051    var ret = iterator['return'];
1052    if (ret !== undefined) anObject(ret.call(iterator));
1053    throw e;
1054  }
1055};
1056
1057
1058/***/ }),
1059
vendor: 1,188 bytes, lines 1060-1084
1060/***/ "./node_modules/core-js/modules/_iter-create.js":
1061/*!******************************************************!*\
1062  !*** ./node_modules/core-js/modules/_iter-create.js ***!
1063  \******************************************************/
1064/*! no static exports found */
1065/***/ (function(module, exports, __webpack_require__) {
1066
1067"use strict";
1068
1069var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js");
1070var descriptor = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js");
1071var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js");
1072var IteratorPrototype = {};
1073
1074// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
1075__webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; });
1076
1077module.exports = function (Constructor, NAME, next) {
1078  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
1079  setToStringTag(Constructor, NAME + ' Iterator');
1080};
1081
1082
1083/***/ }),
1084
vendor: 3,686 bytes, lines 1085-1165
1085/***/ "./node_modules/core-js/modules/_iter-define.js":
1086/*!******************************************************!*\
1087  !*** ./node_modules/core-js/modules/_iter-define.js ***!
1088  \******************************************************/
1089/*! no static exports found */
1090/***/ (function(module, exports, __webpack_require__) {
1091
1092"use strict";
1093
1094var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js");
1095var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js");
1096var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js");
1097var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js");
1098var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js");
1099var $iterCreate = __webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js");
1100var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js");
1101var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js");
1102var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator');
1103var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1104var FF_ITERATOR = '@@iterator';
1105var KEYS = 'keys';
1106var VALUES = 'values';
1107
1108var returnThis = function () { return this; };
1109
1110module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
1111  $iterCreate(Constructor, NAME, next);
1112  var getMethod = function (kind) {
1113    if (!BUGGY && kind in proto) return proto[kind];
1114    switch (kind) {
1115      case KEYS: return function keys() { return new Constructor(this, kind); };
1116      case VALUES: return function values() { return new Constructor(this, kind); };
1117    } return function entries() { return new Constructor(this, kind); };
1118  };
1119  var TAG = NAME + ' Iterator';
1120  var DEF_VALUES = DEFAULT == VALUES;
1121  var VALUES_BUG = false;
1122  var proto = Base.prototype;
1123  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
1124  var $default = $native || getMethod(DEFAULT);
1125  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
1126  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
1127  var methods, key, IteratorPrototype;
1128  // Fix native
1129  if ($anyNative) {
1130    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
1131    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
1132      // Set @@toStringTag to native iterators
1133      setToStringTag(IteratorPrototype, TAG, true);
1134      // fix for some old engines
1135      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
1136    }
1137  }
1138  // fix Array#{values, @@iterator}.name in V8 / FF
1139  if (DEF_VALUES && $native && $native.name !== VALUES) {
1140    VALUES_BUG = true;
1141    $default = function values() { return $native.call(this); };
1142  }
1143  // Define iterator
1144  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
1145    hide(proto, ITERATOR, $default);
1146  }
1147  // Plug for library
1148  Iterators[NAME] = $default;
1149  Iterators[TAG] = returnThis;
1150  if (DEFAULT) {
1151    methods = {
1152      values: DEF_VALUES ? $default : getMethod(VALUES),
1153      keys: IS_SET ? $default : getMethod(KEYS),
1154      entries: $entries
1155    };
1156    if (FORCED) for (key in methods) {
1157      if (!(key in proto)) redefine(proto, key, methods[key]);
1158    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
1159  }
1160  return methods;
1161};
1162
1163
1164/***/ }),
1165
vendor: 1,039 bytes, lines 1166-1198
1166/***/ "./node_modules/core-js/modules/_iter-detect.js":
1167/*!******************************************************!*\
1168  !*** ./node_modules/core-js/modules/_iter-detect.js ***!
1169  \******************************************************/
1170/*! no static exports found */
1171/***/ (function(module, exports, __webpack_require__) {
1172
1173var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator');
1174var SAFE_CLOSING = false;
1175
1176try {
1177  var riter = [7][ITERATOR]();
1178  riter['return'] = function () { SAFE_CLOSING = true; };
1179  // eslint-disable-next-line no-throw-literal
1180  Array.from(riter, function () { throw 2; });
1181} catch (e) { /* empty */ }
1182
1183module.exports = function (exec, skipClosing) {
1184  if (!skipClosing && !SAFE_CLOSING) return false;
1185  var safe = false;
1186  try {
1187    var arr = [7];
1188    var iter = arr[ITERATOR]();
1189    iter.next = function () { return { done: safe = true }; };
1190    arr[ITERATOR] = function () { return iter; };
1191    exec(arr);
1192  } catch (e) { /* empty */ }
1193  return safe;
1194};
1195
1196
1197/***/ }),
1198
vendor: 393 bytes, lines 1199-1212
1199/***/ "./node_modules/core-js/modules/_iter-step.js":
1200/*!****************************************************!*\
1201  !*** ./node_modules/core-js/modules/_iter-step.js ***!
1202  \****************************************************/
1203/*! no static exports found */
1204/***/ (function(module, exports) {
1205
1206module.exports = function (done, value) {
1207  return { value: value, done: !!done };
1208};
1209
1210
1211/***/ }),
1212
vendor: 328 bytes, lines 1213-1224
1213/***/ "./node_modules/core-js/modules/_iterators.js":
1214/*!****************************************************!*\
1215  !*** ./node_modules/core-js/modules/_iterators.js ***!
1216  \****************************************************/
1217/*! no static exports found */
1218/***/ (function(module, exports) {
1219
1220module.exports = {};
1221
1222
1223/***/ }),
1224
vendor: 323 bytes, lines 1225-1236
1225/***/ "./node_modules/core-js/modules/_library.js":
1226/*!**************************************************!*\
1227  !*** ./node_modules/core-js/modules/_library.js ***!
1228  \**************************************************/
1229/*! no static exports found */
1230/***/ (function(module, exports) {
1231
1232module.exports = false;
1233
1234
1235/***/ }),
1236
vendor: 2,170 bytes, lines 1237-1300
1237/***/ "./node_modules/core-js/modules/_meta.js":
1238/*!***********************************************!*\
1239  !*** ./node_modules/core-js/modules/_meta.js ***!
1240  \***********************************************/
1241/*! no static exports found */
1242/***/ (function(module, exports, __webpack_require__) {
1243
1244var META = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('meta');
1245var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
1246var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1247var setDesc = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f;
1248var id = 0;
1249var isExtensible = Object.isExtensible || function () {
1250  return true;
1251};
1252var FREEZE = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () {
1253  return isExtensible(Object.preventExtensions({}));
1254});
1255var setMeta = function (it) {
1256  setDesc(it, META, { value: {
1257    i: 'O' + ++id, // object ID
1258    w: {}          // weak collections IDs
1259  } });
1260};
1261var fastKey = function (it, create) {
1262  // return primitive with prefix
1263  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1264  if (!has(it, META)) {
1265    // can't set metadata to uncaught frozen object
1266    if (!isExtensible(it)) return 'F';
1267    // not necessary to add metadata
1268    if (!create) return 'E';
1269    // add missing metadata
1270    setMeta(it);
1271  // return object ID
1272  } return it[META].i;
1273};
1274var getWeak = function (it, create) {
1275  if (!has(it, META)) {
1276    // can't set metadata to uncaught frozen object
1277    if (!isExtensible(it)) return true;
1278    // not necessary to add metadata
1279    if (!create) return false;
1280    // add missing metadata
1281    setMeta(it);
1282  // return hash weak collections IDs
1283  } return it[META].w;
1284};
1285// add metadata on freeze-family methods calling
1286var onFreeze = function (it) {
1287  if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1288  return it;
1289};
1290var meta = module.exports = {
1291  KEY: META,
1292  NEED: false,
1293  fastKey: fastKey,
1294  getWeak: getWeak,
1295  onFreeze: onFreeze
1296};
1297
1298
1299/***/ }),
1300
vendor: 2,376 bytes, lines 1301-1362
1301/***/ "./node_modules/core-js/modules/_metadata.js":
1302/*!***************************************************!*\
1303  !*** ./node_modules/core-js/modules/_metadata.js ***!
1304  \***************************************************/
1305/*! no static exports found */
1306/***/ (function(module, exports, __webpack_require__) {
1307
1308var Map = __webpack_require__(/*! ./es6.map */ "./node_modules/core-js/modules/es6.map.js");
1309var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js");
1310var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('metadata');
1311var store = shared.store || (shared.store = new (__webpack_require__(/*! ./es6.weak-map */ "./node_modules/core-js/modules/es6.weak-map.js"))());
1312
1313var getOrCreateMetadataMap = function (target, targetKey, create) {
1314  var targetMetadata = store.get(target);
1315  if (!targetMetadata) {
1316    if (!create) return undefined;
1317    store.set(target, targetMetadata = new Map());
1318  }
1319  var keyMetadata = targetMetadata.get(targetKey);
1320  if (!keyMetadata) {
1321    if (!create) return undefined;
1322    targetMetadata.set(targetKey, keyMetadata = new Map());
1323  } return keyMetadata;
1324};
1325var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
1326  var metadataMap = getOrCreateMetadataMap(O, P, false);
1327  return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
1328};
1329var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
1330  var metadataMap = getOrCreateMetadataMap(O, P, false);
1331  return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
1332};
1333var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
1334  getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
1335};
1336var ordinaryOwnMetadataKeys = function (target, targetKey) {
1337  var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
1338  var keys = [];
1339  if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });
1340  return keys;
1341};
1342var toMetaKey = function (it) {
1343  return it === undefined || typeof it == 'symbol' ? it : String(it);
1344};
1345var exp = function (O) {
1346  $export($export.S, 'Reflect', O);
1347};
1348
1349module.exports = {
1350  store: store,
1351  map: getOrCreateMetadataMap,
1352  has: ordinaryHasOwnMetadata,
1353  get: ordinaryGetOwnMetadata,
1354  set: ordinaryDefineOwnMetadata,
1355  keys: ordinaryOwnMetadataKeys,
1356  key: toMetaKey,
1357  exp: exp
1358};
1359
1360
1361/***/ }),
1362
vendor: 2,075 bytes, lines 1363-1412
1363/***/ "./node_modules/core-js/modules/_object-assign.js":
1364/*!********************************************************!*\
1365  !*** ./node_modules/core-js/modules/_object-assign.js ***!
1366  \********************************************************/
1367/*! no static exports found */
1368/***/ (function(module, exports, __webpack_require__) {
1369
1370"use strict";
1371
1372// 19.1.2.1 Object.assign(target, source, ...)
1373var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js");
1374var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js");
1375var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js");
1376var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js");
1377var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js");
1378var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js");
1379var $assign = Object.assign;
1380
1381// should work with symbols and should have deterministic property order (V8 bug)
1382module.exports = !$assign || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () {
1383  var A = {};
1384  var B = {};
1385  // eslint-disable-next-line no-undef
1386  var S = Symbol();
1387  var K = 'abcdefghijklmnopqrst';
1388  A[S] = 7;
1389  K.split('').forEach(function (k) { B[k] = k; });
1390  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
1391}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
1392  var T = toObject(target);
1393  var aLen = arguments.length;
1394  var index = 1;
1395  var getSymbols = gOPS.f;
1396  var isEnum = pIE.f;
1397  while (aLen > index) {
1398    var S = IObject(arguments[index++]);
1399    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
1400    var length = keys.length;
1401    var j = 0;
1402    var key;
1403    while (length > j) {
1404      key = keys[j++];
1405      if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];
1406    }
1407  } return T;
1408} : $assign;
1409
1410
1411/***/ }),
1412
vendor: 2,235 bytes, lines 1413-1464
1413/***/ "./node_modules/core-js/modules/_object-create.js":
1414/*!********************************************************!*\
1415  !*** ./node_modules/core-js/modules/_object-create.js ***!
1416  \********************************************************/
1417/*! no static exports found */
1418/***/ (function(module, exports, __webpack_require__) {
1419
1420// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1421var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
1422var dPs = __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js");
1423var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js");
1424var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO');
1425var Empty = function () { /* empty */ };
1426var PROTOTYPE = 'prototype';
1427
1428// Create object with fake `null` prototype: use iframe Object with cleared prototype
1429var createDict = function () {
1430  // Thrash, waste and sodomy: IE GC bug
1431  var iframe = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('iframe');
1432  var i = enumBugKeys.length;
1433  var lt = '<';
1434  var gt = '>';
1435  var iframeDocument;
1436  iframe.style.display = 'none';
1437  __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js").appendChild(iframe);
1438  iframe.src = 'javascript:'; // eslint-disable-line no-script-url
1439  // createDict = iframe.contentWindow.Object;
1440  // html.removeChild(iframe);
1441  iframeDocument = iframe.contentWindow.document;
1442  iframeDocument.open();
1443  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
1444  iframeDocument.close();
1445  createDict = iframeDocument.F;
1446  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
1447  return createDict();
1448};
1449
1450module.exports = Object.create || function create(O, Properties) {
1451  var result;
1452  if (O !== null) {
1453    Empty[PROTOTYPE] = anObject(O);
1454    result = new Empty();
1455    Empty[PROTOTYPE] = null;
1456    // add "__proto__" for Object.getPrototypeOf polyfill
1457    result[IE_PROTO] = O;
1458  } else result = createDict();
1459  return Properties === undefined ? result : dPs(result, Properties);
1460};
1461
1462
1463/***/ }),
1464
vendor: 1,194 bytes, lines 1465-1491
1465/***/ "./node_modules/core-js/modules/_object-dp.js":
1466/*!****************************************************!*\
1467  !*** ./node_modules/core-js/modules/_object-dp.js ***!
1468  \****************************************************/
1469/*! no static exports found */
1470/***/ (function(module, exports, __webpack_require__) {
1471
1472var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
1473var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js");
1474var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js");
1475var dP = Object.defineProperty;
1476
1477exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
1478  anObject(O);
1479  P = toPrimitive(P, true);
1480  anObject(Attributes);
1481  if (IE8_DOM_DEFINE) try {
1482    return dP(O, P, Attributes);
1483  } catch (e) { /* empty */ }
1484  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
1485  if ('value' in Attributes) O[P] = Attributes.value;
1486  return O;
1487};
1488
1489
1490/***/ }),
1491
vendor: 996 bytes, lines 1492-1515
1492/***/ "./node_modules/core-js/modules/_object-dps.js":
1493/*!*****************************************************!*\
1494  !*** ./node_modules/core-js/modules/_object-dps.js ***!
1495  \*****************************************************/
1496/*! no static exports found */
1497/***/ (function(module, exports, __webpack_require__) {
1498
1499var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js");
1500var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
1501var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js");
1502
1503module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) {
1504  anObject(O);
1505  var keys = getKeys(Properties);
1506  var length = keys.length;
1507  var i = 0;
1508  var P;
1509  while (length > i) dP.f(O, P = keys[i++], Properties[P]);
1510  return O;
1511};
1512
1513
1514/***/ }),
1515
vendor: 1,371 bytes, lines 1516-1542
1516/***/ "./node_modules/core-js/modules/_object-gopd.js":
1517/*!******************************************************!*\
1518  !*** ./node_modules/core-js/modules/_object-gopd.js ***!
1519  \******************************************************/
1520/*! no static exports found */
1521/***/ (function(module, exports, __webpack_require__) {
1522
1523var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js");
1524var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js");
1525var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js");
1526var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js");
1527var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1528var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js");
1529var gOPD = Object.getOwnPropertyDescriptor;
1530
1531exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) {
1532  O = toIObject(O);
1533  P = toPrimitive(P, true);
1534  if (IE8_DOM_DEFINE) try {
1535    return gOPD(O, P);
1536  } catch (e) { /* empty */ }
1537  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
1538};
1539
1540
1541/***/ }),
1542
vendor: 357 bytes, lines 1543-1554
1543/***/ "./node_modules/core-js/modules/_object-gops.js":
1544/*!******************************************************!*\
1545  !*** ./node_modules/core-js/modules/_object-gops.js ***!
1546  \******************************************************/
1547/*! no static exports found */
1548/***/ (function(module, exports) {
1549
1550exports.f = Object.getOwnPropertySymbols;
1551
1552
1553/***/ }),
1554
vendor: 1,012 bytes, lines 1555-1578
1555/***/ "./node_modules/core-js/modules/_object-gpo.js":
1556/*!*****************************************************!*\
1557  !*** ./node_modules/core-js/modules/_object-gpo.js ***!
1558  \*****************************************************/
1559/*! no static exports found */
1560/***/ (function(module, exports, __webpack_require__) {
1561
1562// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1563var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1564var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js");
1565var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO');
1566var ObjectProto = Object.prototype;
1567
1568module.exports = Object.getPrototypeOf || function (O) {
1569  O = toObject(O);
1570  if (has(O, IE_PROTO)) return O[IE_PROTO];
1571  if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1572    return O.constructor.prototype;
1573  } return O instanceof Object ? ObjectProto : null;
1574};
1575
1576
1577/***/ }),
1578
vendor: 1,166 bytes, lines 1579-1606
1579/***/ "./node_modules/core-js/modules/_object-keys-internal.js":
1580/*!***************************************************************!*\
1581  !*** ./node_modules/core-js/modules/_object-keys-internal.js ***!
1582  \***************************************************************/
1583/*! no static exports found */
1584/***/ (function(module, exports, __webpack_require__) {
1585
1586var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1587var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js");
1588var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false);
1589var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO');
1590
1591module.exports = function (object, names) {
1592  var O = toIObject(object);
1593  var i = 0;
1594  var result = [];
1595  var key;
1596  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
1597  // Don't enum bug & hidden keys
1598  while (names.length > i) if (has(O, key = names[i++])) {
1599    ~arrayIndexOf(result, key) || result.push(key);
1600  }
1601  return result;
1602};
1603
1604
1605/***/ }),
1606
vendor: 701 bytes, lines 1607-1624
1607/***/ "./node_modules/core-js/modules/_object-keys.js":
1608/*!******************************************************!*\
1609  !*** ./node_modules/core-js/modules/_object-keys.js ***!
1610  \******************************************************/
1611/*! no static exports found */
1612/***/ (function(module, exports, __webpack_require__) {
1613
1614// 19.1.2.14 / 15.2.3.14 Object.keys(O)
1615var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js");
1616var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js");
1617
1618module.exports = Object.keys || function keys(O) {
1619  return $keys(O, enumBugKeys);
1620};
1621
1622
1623/***/ }),
1624
vendor: 348 bytes, lines 1625-1636
1625/***/ "./node_modules/core-js/modules/_object-pie.js":
1626/*!*****************************************************!*\
1627  !*** ./node_modules/core-js/modules/_object-pie.js ***!
1628  \*****************************************************/
1629/*! no static exports found */
1630/***/ (function(module, exports) {
1631
1632exports.f = {}.propertyIsEnumerable;
1633
1634
1635/***/ }),
1636
vendor: 496 bytes, lines 1637-1655
1637/***/ "./node_modules/core-js/modules/_property-desc.js":
1638/*!********************************************************!*\
1639  !*** ./node_modules/core-js/modules/_property-desc.js ***!
1640  \********************************************************/
1641/*! no static exports found */
1642/***/ (function(module, exports) {
1643
1644module.exports = function (bitmap, value) {
1645  return {
1646    enumerable: !(bitmap & 1),
1647    configurable: !(bitmap & 2),
1648    writable: !(bitmap & 4),
1649    value: value
1650  };
1651};
1652
1653
1654/***/ }),
1655
vendor: 572 bytes, lines 1656-1671
1656/***/ "./node_modules/core-js/modules/_redefine-all.js":
1657/*!*******************************************************!*\
1658  !*** ./node_modules/core-js/modules/_redefine-all.js ***!
1659  \*******************************************************/
1660/*! no static exports found */
1661/***/ (function(module, exports, __webpack_require__) {
1662
1663var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js");
1664module.exports = function (target, src, safe) {
1665  for (var key in src) redefine(target, key, src[key], safe);
1666  return target;
1667};
1668
1669
1670/***/ }),
1671
vendor: 1,742 bytes, lines 1672-1713
1672/***/ "./node_modules/core-js/modules/_redefine.js":
1673/*!***************************************************!*\
1674  !*** ./node_modules/core-js/modules/_redefine.js ***!
1675  \***************************************************/
1676/*! no static exports found */
1677/***/ (function(module, exports, __webpack_require__) {
1678
1679var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
1680var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js");
1681var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1682var SRC = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('src');
1683var $toString = __webpack_require__(/*! ./_function-to-string */ "./node_modules/core-js/modules/_function-to-string.js");
1684var TO_STRING = 'toString';
1685var TPL = ('' + $toString).split(TO_STRING);
1686
1687__webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").inspectSource = function (it) {
1688  return $toString.call(it);
1689};
1690
1691(module.exports = function (O, key, val, safe) {
1692  var isFunction = typeof val == 'function';
1693  if (isFunction) has(val, 'name') || hide(val, 'name', key);
1694  if (O[key] === val) return;
1695  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
1696  if (O === global) {
1697    O[key] = val;
1698  } else if (!safe) {
1699    delete O[key];
1700    hide(O, key, val);
1701  } else if (O[key]) {
1702    O[key] = val;
1703  } else {
1704    hide(O, key, val);
1705  }
1706// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1707})(Function.prototype, TO_STRING, function toString() {
1708  return typeof this == 'function' && this[SRC] || $toString.call(this);
1709});
1710
1711
1712/***/ }),
1713
vendor: 1,486 bytes, lines 1714-1749
1714/***/ "./node_modules/core-js/modules/_set-proto.js":
1715/*!****************************************************!*\
1716  !*** ./node_modules/core-js/modules/_set-proto.js ***!
1717  \****************************************************/
1718/*! no static exports found */
1719/***/ (function(module, exports, __webpack_require__) {
1720
1721// Works with __proto__ only. Old v8 can't work with null proto objects.
1722/* eslint-disable no-proto */
1723var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
1724var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
1725var check = function (O, proto) {
1726  anObject(O);
1727  if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
1728};
1729module.exports = {
1730  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
1731    function (test, buggy, set) {
1732      try {
1733        set = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2);
1734        set(test, []);
1735        buggy = !(test instanceof Array);
1736      } catch (e) { buggy = true; }
1737      return function setPrototypeOf(O, proto) {
1738        check(O, proto);
1739        if (buggy) O.__proto__ = proto;
1740        else set(O, proto);
1741        return O;
1742      };
1743    }({}, false) : undefined),
1744  check: check
1745};
1746
1747
1748/***/ }),
1749
vendor: 945 bytes, lines 1750-1774
1750/***/ "./node_modules/core-js/modules/_set-species.js":
1751/*!******************************************************!*\
1752  !*** ./node_modules/core-js/modules/_set-species.js ***!
1753  \******************************************************/
1754/*! no static exports found */
1755/***/ (function(module, exports, __webpack_require__) {
1756
1757"use strict";
1758
1759var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
1760var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js");
1761var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js");
1762var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species');
1763
1764module.exports = function (KEY) {
1765  var C = global[KEY];
1766  if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
1767    configurable: true,
1768    get: function () { return this; }
1769  });
1770};
1771
1772
1773/***/ }),
1774
vendor: 802 bytes, lines 1775-1792
1775/***/ "./node_modules/core-js/modules/_set-to-string-tag.js":
1776/*!************************************************************!*\
1777  !*** ./node_modules/core-js/modules/_set-to-string-tag.js ***!
1778  \************************************************************/
1779/*! no static exports found */
1780/***/ (function(module, exports, __webpack_require__) {
1781
1782var def = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f;
1783var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js");
1784var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag');
1785
1786module.exports = function (it, tag, stat) {
1787  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
1788};
1789
1790
1791/***/ }),
1792
vendor: 610 bytes, lines 1793-1808
1793/***/ "./node_modules/core-js/modules/_shared-key.js":
1794/*!*****************************************************!*\
1795  !*** ./node_modules/core-js/modules/_shared-key.js ***!
1796  \*****************************************************/
1797/*! no static exports found */
1798/***/ (function(module, exports, __webpack_require__) {
1799
1800var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('keys');
1801var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js");
1802module.exports = function (key) {
1803  return shared[key] || (shared[key] = uid(key));
1804};
1805
1806
1807/***/ }),
1808
vendor: 926 bytes, lines 1809-1831
1809/***/ "./node_modules/core-js/modules/_shared.js":
1810/*!*************************************************!*\
1811  !*** ./node_modules/core-js/modules/_shared.js ***!
1812  \*************************************************/
1813/*! no static exports found */
1814/***/ (function(module, exports, __webpack_require__) {
1815
1816var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js");
1817var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
1818var SHARED = '__core-js_shared__';
1819var store = global[SHARED] || (global[SHARED] = {});
1820
1821(module.exports = function (key, value) {
1822  return store[key] || (store[key] = value !== undefined ? value : {});
1823})('versions', []).push({
1824  version: core.version,
1825  mode: __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js") ? 'pure' : 'global',
1826  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1827});
1828
1829
1830/***/ }),
1831
vendor: 648 bytes, lines 1832-1849
1832/***/ "./node_modules/core-js/modules/_to-absolute-index.js":
1833/*!************************************************************!*\
1834  !*** ./node_modules/core-js/modules/_to-absolute-index.js ***!
1835  \************************************************************/
1836/*! no static exports found */
1837/***/ (function(module, exports, __webpack_require__) {
1838
1839var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js");
1840var max = Math.max;
1841var min = Math.min;
1842module.exports = function (index, length) {
1843  index = toInteger(index);
1844  return index < 0 ? max(index + length, 0) : min(index, length);
1845};
1846
1847
1848/***/ }),
1849
vendor: 472 bytes, lines 1850-1866
1850/***/ "./node_modules/core-js/modules/_to-integer.js":
1851/*!*****************************************************!*\
1852  !*** ./node_modules/core-js/modules/_to-integer.js ***!
1853  \*****************************************************/
1854/*! no static exports found */
1855/***/ (function(module, exports) {
1856
1857// 7.1.4 ToInteger
1858var ceil = Math.ceil;
1859var floor = Math.floor;
1860module.exports = function (it) {
1861  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1862};
1863
1864
1865/***/ }),
1866
vendor: 673 bytes, lines 1867-1883
1867/***/ "./node_modules/core-js/modules/_to-iobject.js":
1868/*!*****************************************************!*\
1869  !*** ./node_modules/core-js/modules/_to-iobject.js ***!
1870  \*****************************************************/
1871/*! no static exports found */
1872/***/ (function(module, exports, __webpack_require__) {
1873
1874// to indexed object, toObject with fallback for non-array-like ES3 strings
1875var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js");
1876var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js");
1877module.exports = function (it) {
1878  return IObject(defined(it));
1879};
1880
1881
1882/***/ }),
1883
vendor: 608 bytes, lines 1884-1900
1884/***/ "./node_modules/core-js/modules/_to-length.js":
1885/*!****************************************************!*\
1886  !*** ./node_modules/core-js/modules/_to-length.js ***!
1887  \****************************************************/
1888/*! no static exports found */
1889/***/ (function(module, exports, __webpack_require__) {
1890
1891// 7.1.15 ToLength
1892var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js");
1893var min = Math.min;
1894module.exports = function (it) {
1895  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1896};
1897
1898
1899/***/ }),
1900
vendor: 522 bytes, lines 1901-1916
1901/***/ "./node_modules/core-js/modules/_to-object.js":
1902/*!****************************************************!*\
1903  !*** ./node_modules/core-js/modules/_to-object.js ***!
1904  \****************************************************/
1905/*! no static exports found */
1906/***/ (function(module, exports, __webpack_require__) {
1907
1908// 7.1.13 ToObject(argument)
1909var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js");
1910module.exports = function (it) {
1911  return Object(defined(it));
1912};
1913
1914
1915/***/ }),
1916
vendor: 1,059 bytes, lines 1917-1939
1917/***/ "./node_modules/core-js/modules/_to-primitive.js":
1918/*!*******************************************************!*\
1919  !*** ./node_modules/core-js/modules/_to-primitive.js ***!
1920  \*******************************************************/
1921/*! no static exports found */
1922/***/ (function(module, exports, __webpack_require__) {
1923
1924// 7.1.1 ToPrimitive(input [, PreferredType])
1925var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
1926// instead of the ES6 spec version, we didn't implement @@toPrimitive case
1927// and the second argument - flag - preferred type is a string
1928module.exports = function (it, S) {
1929  if (!isObject(it)) return it;
1930  var fn, val;
1931  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1932  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1933  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1934  throw TypeError("Can't convert object to primitive value");
1935};
1936
1937
1938/***/ }),
1939
vendor: 445 bytes, lines 1940-1955
1940/***/ "./node_modules/core-js/modules/_uid.js":
1941/*!**********************************************!*\
1942  !*** ./node_modules/core-js/modules/_uid.js ***!
1943  \**********************************************/
1944/*! no static exports found */
1945/***/ (function(module, exports) {
1946
1947var id = 0;
1948var px = Math.random();
1949module.exports = function (key) {
1950  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1951};
1952
1953
1954/***/ }),
1955
vendor: 632 bytes, lines 1956-1971
1956/***/ "./node_modules/core-js/modules/_validate-collection.js":
1957/*!**************************************************************!*\
1958  !*** ./node_modules/core-js/modules/_validate-collection.js ***!
1959  \**************************************************************/
1960/*! no static exports found */
1961/***/ (function(module, exports, __webpack_require__) {
1962
1963var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
1964module.exports = function (it, TYPE) {
1965  if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
1966  return it;
1967};
1968
1969
1970/***/ }),
1971
vendor: 842 bytes, lines 1972-1993
1972/***/ "./node_modules/core-js/modules/_wks.js":
1973/*!**********************************************!*\
1974  !*** ./node_modules/core-js/modules/_wks.js ***!
1975  \**********************************************/
1976/*! no static exports found */
1977/***/ (function(module, exports, __webpack_require__) {
1978
1979var store = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('wks');
1980var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js");
1981var Symbol = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Symbol;
1982var USE_SYMBOL = typeof Symbol == 'function';
1983
1984var $exports = module.exports = function (name) {
1985  return store[name] || (store[name] =
1986    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
1987};
1988
1989$exports.store = store;
1990
1991
1992/***/ }),
1993
vendor: 924 bytes, lines 1994-2012
1994/***/ "./node_modules/core-js/modules/core.get-iterator-method.js":
1995/*!******************************************************************!*\
1996  !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***!
1997  \******************************************************************/
1998/*! no static exports found */
1999/***/ (function(module, exports, __webpack_require__) {
2000
2001var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js");
2002var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator');
2003var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js");
2004module.exports = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").getIteratorMethod = function (it) {
2005  if (it != undefined) return it[ITERATOR]
2006    || it['@@iterator']
2007    || Iterators[classof(it)];
2008};
2009
2010
2011/***/ }),
2012
vendor: 1,170 bytes, lines 2013-2043
2013/***/ "./node_modules/core-js/modules/es6.map.js":
2014/*!*************************************************!*\
2015  !*** ./node_modules/core-js/modules/es6.map.js ***!
2016  \*************************************************/
2017/*! no static exports found */
2018/***/ (function(module, exports, __webpack_require__) {
2019
2020"use strict";
2021
2022var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js");
2023var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
2024var MAP = 'Map';
2025
2026// 23.1 Map Objects
2027module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(MAP, function (get) {
2028  return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
2029}, {
2030  // 23.1.3.6 Map.prototype.get(key)
2031  get: function get(key) {
2032    var entry = strong.getEntry(validate(this, MAP), key);
2033    return entry && entry.v;
2034  },
2035  // 23.1.3.9 Map.prototype.set(key, value)
2036  set: function set(key, value) {
2037    return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
2038  }
2039}, strong, true);
2040
2041
2042/***/ }),
2043
vendor: 1,009 bytes, lines 2044-2069
2044/***/ "./node_modules/core-js/modules/es6.set.js":
2045/*!*************************************************!*\
2046  !*** ./node_modules/core-js/modules/es6.set.js ***!
2047  \*************************************************/
2048/*! no static exports found */
2049/***/ (function(module, exports, __webpack_require__) {
2050
2051"use strict";
2052
2053var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js");
2054var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
2055var SET = 'Set';
2056
2057// 23.2 Set Objects
2058module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(SET, function (get) {
2059  return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
2060}, {
2061  // 23.2.3.1 Set.prototype.add(value)
2062  add: function add(value) {
2063    return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
2064  }
2065}, strong);
2066
2067
2068/***/ }),
2069
vendor: 3,007 bytes, lines 2070-2141
2070/***/ "./node_modules/core-js/modules/es6.weak-map.js":
2071/*!******************************************************!*\
2072  !*** ./node_modules/core-js/modules/es6.weak-map.js ***!
2073  \******************************************************/
2074/*! no static exports found */
2075/***/ (function(module, exports, __webpack_require__) {
2076
2077"use strict";
2078
2079var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js");
2080var each = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0);
2081var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js");
2082var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js");
2083var assign = __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js");
2084var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js");
2085var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js");
2086var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
2087var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js");
2088var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
2089var WEAK_MAP = 'WeakMap';
2090var getWeak = meta.getWeak;
2091var isExtensible = Object.isExtensible;
2092var uncaughtFrozenStore = weak.ufstore;
2093var InternalMap;
2094
2095var wrapper = function (get) {
2096  return function WeakMap() {
2097    return get(this, arguments.length > 0 ? arguments[0] : undefined);
2098  };
2099};
2100
2101var methods = {
2102  // 23.3.3.3 WeakMap.prototype.get(key)
2103  get: function get(key) {
2104    if (isObject(key)) {
2105      var data = getWeak(key);
2106      if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);
2107      return data ? data[this._i] : undefined;
2108    }
2109  },
2110  // 23.3.3.5 WeakMap.prototype.set(key, value)
2111  set: function set(key, value) {
2112    return weak.def(validate(this, WEAK_MAP), key, value);
2113  }
2114};
2115
2116// 23.3 WeakMap Objects
2117var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true);
2118
2119// IE11 WeakMap frozen keys fix
2120if (NATIVE_WEAK_MAP && IS_IE11) {
2121  InternalMap = weak.getConstructor(wrapper, WEAK_MAP);
2122  assign(InternalMap.prototype, methods);
2123  meta.NEED = true;
2124  each(['delete', 'has', 'get', 'set'], function (key) {
2125    var proto = $WeakMap.prototype;
2126    var method = proto[key];
2127    redefine(proto, key, function (a, b) {
2128      // store frozen objects on internal weakmap shim
2129      if (isObject(a) && !isExtensible(a)) {
2130        if (!this._f) this._f = new InternalMap();
2131        var result = this._f[key](a, b);
2132        return key == 'set' ? this : result;
2133      // store all the rest on native weakmap
2134      } return method.call(this, a, b);
2135    });
2136  });
2137}
2138
2139
2140/***/ }),
2141
vendor: 886 bytes, lines 2142-2160
2142/***/ "./node_modules/core-js/modules/es7.reflect.define-metadata.js":
2143/*!*********************************************************************!*\
2144  !*** ./node_modules/core-js/modules/es7.reflect.define-metadata.js ***!
2145  \*********************************************************************/
2146/*! no static exports found */
2147/***/ (function(module, exports, __webpack_require__) {
2148
2149var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2150var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2151var toMetaKey = metadata.key;
2152var ordinaryDefineOwnMetadata = metadata.set;
2153
2154metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {
2155  ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
2156} });
2157
2158
2159/***/ }),
2160
vendor: 1,227 bytes, lines 2161-2186
2161/***/ "./node_modules/core-js/modules/es7.reflect.delete-metadata.js":
2162/*!*********************************************************************!*\
2163  !*** ./node_modules/core-js/modules/es7.reflect.delete-metadata.js ***!
2164  \*********************************************************************/
2165/*! no static exports found */
2166/***/ (function(module, exports, __webpack_require__) {
2167
2168var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2169var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2170var toMetaKey = metadata.key;
2171var getOrCreateMetadataMap = metadata.map;
2172var store = metadata.store;
2173
2174metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
2175  var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]);
2176  var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
2177  if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
2178  if (metadataMap.size) return true;
2179  var targetMetadata = store.get(target);
2180  targetMetadata['delete'](targetKey);
2181  return !!targetMetadata.size || store['delete'](target);
2182} });
2183
2184
2185/***/ }),
2186
vendor: 1,514 bytes, lines 2187-2216
2187/***/ "./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js":
2188/*!***********************************************************************!*\
2189  !*** ./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js ***!
2190  \***********************************************************************/
2191/*! no static exports found */
2192/***/ (function(module, exports, __webpack_require__) {
2193
2194var Set = __webpack_require__(/*! ./es6.set */ "./node_modules/core-js/modules/es6.set.js");
2195var from = __webpack_require__(/*! ./_array-from-iterable */ "./node_modules/core-js/modules/_array-from-iterable.js");
2196var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2197var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2198var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js");
2199var ordinaryOwnMetadataKeys = metadata.keys;
2200var toMetaKey = metadata.key;
2201
2202var ordinaryMetadataKeys = function (O, P) {
2203  var oKeys = ordinaryOwnMetadataKeys(O, P);
2204  var parent = getPrototypeOf(O);
2205  if (parent === null) return oKeys;
2206  var pKeys = ordinaryMetadataKeys(parent, P);
2207  return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;
2208};
2209
2210metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
2211  return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
2212} });
2213
2214
2215/***/ }),
2216
vendor: 1,337 bytes, lines 2217-2244
2217/***/ "./node_modules/core-js/modules/es7.reflect.get-metadata.js":
2218/*!******************************************************************!*\
2219  !*** ./node_modules/core-js/modules/es7.reflect.get-metadata.js ***!
2220  \******************************************************************/
2221/*! no static exports found */
2222/***/ (function(module, exports, __webpack_require__) {
2223
2224var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2225var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2226var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js");
2227var ordinaryHasOwnMetadata = metadata.has;
2228var ordinaryGetOwnMetadata = metadata.get;
2229var toMetaKey = metadata.key;
2230
2231var ordinaryGetMetadata = function (MetadataKey, O, P) {
2232  var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
2233  if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);
2234  var parent = getPrototypeOf(O);
2235  return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
2236};
2237
2238metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
2239  return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
2240} });
2241
2242
2243/***/ }),
2244
vendor: 911 bytes, lines 2245-2263
2245/***/ "./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js":
2246/*!***************************************************************************!*\
2247  !*** ./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js ***!
2248  \***************************************************************************/
2249/*! no static exports found */
2250/***/ (function(module, exports, __webpack_require__) {
2251
2252var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2253var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2254var ordinaryOwnMetadataKeys = metadata.keys;
2255var toMetaKey = metadata.key;
2256
2257metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
2258  return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
2259} });
2260
2261
2262/***/ }),
2263
vendor: 911 bytes, lines 2264-2283
2264/***/ "./node_modules/core-js/modules/es7.reflect.get-own-metadata.js":
2265/*!**********************************************************************!*\
2266  !*** ./node_modules/core-js/modules/es7.reflect.get-own-metadata.js ***!
2267  \**********************************************************************/
2268/*! no static exports found */
2269/***/ (function(module, exports, __webpack_require__) {
2270
2271var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2272var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2273var ordinaryGetOwnMetadata = metadata.get;
2274var toMetaKey = metadata.key;
2275
2276metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
2277  return ordinaryGetOwnMetadata(metadataKey, anObject(target)
2278    , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
2279} });
2280
2281
2282/***/ }),
2283
vendor: 1,253 bytes, lines 2284-2310
2284/***/ "./node_modules/core-js/modules/es7.reflect.has-metadata.js":
2285/*!******************************************************************!*\
2286  !*** ./node_modules/core-js/modules/es7.reflect.has-metadata.js ***!
2287  \******************************************************************/
2288/*! no static exports found */
2289/***/ (function(module, exports, __webpack_require__) {
2290
2291var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2292var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2293var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js");
2294var ordinaryHasOwnMetadata = metadata.has;
2295var toMetaKey = metadata.key;
2296
2297var ordinaryHasMetadata = function (MetadataKey, O, P) {
2298  var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
2299  if (hasOwn) return true;
2300  var parent = getPrototypeOf(O);
2301  return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
2302};
2303
2304metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
2305  return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
2306} });
2307
2308
2309/***/ }),
2310
vendor: 911 bytes, lines 2311-2330
2311/***/ "./node_modules/core-js/modules/es7.reflect.has-own-metadata.js":
2312/*!**********************************************************************!*\
2313  !*** ./node_modules/core-js/modules/es7.reflect.has-own-metadata.js ***!
2314  \**********************************************************************/
2315/*! no static exports found */
2316/***/ (function(module, exports, __webpack_require__) {
2317
2318var metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2319var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2320var ordinaryHasOwnMetadata = metadata.has;
2321var toMetaKey = metadata.key;
2322
2323metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
2324  return ordinaryHasOwnMetadata(metadataKey, anObject(target)
2325    , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
2326} });
2327
2328
2329/***/ }),
2330
vendor: 1,058 bytes, lines 2331-2356
2331/***/ "./node_modules/core-js/modules/es7.reflect.metadata.js":
2332/*!**************************************************************!*\
2333  !*** ./node_modules/core-js/modules/es7.reflect.metadata.js ***!
2334  \**************************************************************/
2335/*! no static exports found */
2336/***/ (function(module, exports, __webpack_require__) {
2337
2338var $metadata = __webpack_require__(/*! ./_metadata */ "./node_modules/core-js/modules/_metadata.js");
2339var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js");
2340var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js");
2341var toMetaKey = $metadata.key;
2342var ordinaryDefineOwnMetadata = $metadata.set;
2343
2344$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
2345  return function decorator(target, targetKey) {
2346    ordinaryDefineOwnMetadata(
2347      metadataKey, metadataValue,
2348      (targetKey !== undefined ? anObject : aFunction)(target),
2349      toMetaKey(targetKey)
2350    );
2351  };
2352} });
2353
2354
2355/***/ }),
2356
vendor: 143,100 bytes, lines 2357-5712
2357/***/ "./node_modules/zone.js/dist/zone.js":
2358/*!*******************************************!*\
2359  !*** ./node_modules/zone.js/dist/zone.js ***!
2360  \*******************************************/
2361/*! no static exports found */
2362/***/ (function(module, exports, __webpack_require__) {
2363
2364/**
2365* @license
2366* Copyright Google Inc. All Rights Reserved.
2367*
2368* Use of this source code is governed by an MIT-style license that can be
2369* found in the LICENSE file at https://angular.io/license
2370*/
2371(function (global, factory) {
2372	 true ? factory() :
2373	undefined;
2374}(this, (function () { 'use strict';
2375
2376/**
2377 * @license
2378 * Copyright Google Inc. All Rights Reserved.
2379 *
2380 * Use of this source code is governed by an MIT-style license that can be
2381 * found in the LICENSE file at https://angular.io/license
2382 */
2383var Zone$1 = (function (global) {
2384    var performance = global['performance'];
2385    function mark(name) {
2386        performance && performance['mark'] && performance['mark'](name);
2387    }
2388    function performanceMeasure(name, label) {
2389        performance && performance['measure'] && performance['measure'](name, label);
2390    }
2391    mark('Zone');
2392    var checkDuplicate = global[('__zone_symbol__forceDuplicateZoneCheck')] === true;
2393    if (global['Zone']) {
2394        // if global['Zone'] already exists (maybe zone.js was already loaded or
2395        // some other lib also registered a global object named Zone), we may need
2396        // to throw an error, but sometimes user may not want this error.
2397        // For example,
2398        // we have two web pages, page1 includes zone.js, page2 doesn't.
2399        // and the 1st time user load page1 and page2, everything work fine,
2400        // but when user load page2 again, error occurs because global['Zone'] already exists.
2401        // so we add a flag to let user choose whether to throw this error or not.
2402        // By default, if existing Zone is from zone.js, we will not throw the error.
2403        if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {
2404            throw new Error('Zone already loaded.');
2405        }
2406        else {
2407            return global['Zone'];
2408        }
2409    }
2410    var Zone = /** @class */ (function () {
2411        function Zone(parent, zoneSpec) {
2412            this._parent = parent;
2413            this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';
2414            this._properties = zoneSpec && zoneSpec.properties || {};
2415            this._zoneDelegate =
2416                new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);
2417        }
2418        Zone.assertZonePatched = function () {
2419            if (global['Promise'] !== patches['ZoneAwarePromise']) {
2420                throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +
2421                    'has been overwritten.\n' +
2422                    'Most likely cause is that a Promise polyfill has been loaded ' +
2423                    'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +
2424                    'If you must load one, do so before loading zone.js.)');
2425            }
2426        };
2427        Object.defineProperty(Zone, "root", {
2428            get: function () {
2429                var zone = Zone.current;
2430                while (zone.parent) {
2431                    zone = zone.parent;
2432                }
2433                return zone;
2434            },
2435            enumerable: true,
2436            configurable: true
2437        });
2438        Object.defineProperty(Zone, "current", {
2439            get: function () {
2440                return _currentZoneFrame.zone;
2441            },
2442            enumerable: true,
2443            configurable: true
2444        });
2445        Object.defineProperty(Zone, "currentTask", {
2446            get: function () {
2447                return _currentTask;
2448            },
2449            enumerable: true,
2450            configurable: true
2451        });
2452        Zone.__load_patch = function (name, fn) {
2453            if (patches.hasOwnProperty(name)) {
2454                if (checkDuplicate) {
2455                    throw Error('Already loaded patch: ' + name);
2456                }
2457            }
2458            else if (!global['__Zone_disable_' + name]) {
2459                var perfName = 'Zone:' + name;
2460                mark(perfName);
2461                patches[name] = fn(global, Zone, _api);
2462                performanceMeasure(perfName, perfName);
2463            }
2464        };
2465        Object.defineProperty(Zone.prototype, "parent", {
2466            get: function () {
2467                return this._parent;
2468            },
2469            enumerable: true,
2470            configurable: true
2471        });
2472        Object.defineProperty(Zone.prototype, "name", {
2473            get: function () {
2474                return this._name;
2475            },
2476            enumerable: true,
2477            configurable: true
2478        });
2479        Zone.prototype.get = function (key) {
2480            var zone = this.getZoneWith(key);
2481            if (zone)
2482                return zone._properties[key];
2483        };
2484        Zone.prototype.getZoneWith = function (key) {
2485            var current = this;
2486            while (current) {
2487                if (current._properties.hasOwnProperty(key)) {
2488                    return current;
2489                }
2490                current = current._parent;
2491            }
2492            return null;
2493        };
2494        Zone.prototype.fork = function (zoneSpec) {
2495            if (!zoneSpec)
2496                throw new Error('ZoneSpec required!');
2497            return this._zoneDelegate.fork(this, zoneSpec);
2498        };
2499        Zone.prototype.wrap = function (callback, source) {
2500            if (typeof callback !== 'function') {
2501                throw new Error('Expecting function got: ' + callback);
2502            }
2503            var _callback = this._zoneDelegate.intercept(this, callback, source);
2504            var zone = this;
2505            return function () {
2506                return zone.runGuarded(_callback, this, arguments, source);
2507            };
2508        };
2509        Zone.prototype.run = function (callback, applyThis, applyArgs, source) {
2510            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };
2511            try {
2512                return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);
2513            }
2514            finally {
2515                _currentZoneFrame = _currentZoneFrame.parent;
2516            }
2517        };
2518        Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {
2519            if (applyThis === void 0) { applyThis = null; }
2520            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };
2521            try {
2522                try {
2523                    return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);
2524                }
2525                catch (error) {
2526                    if (this._zoneDelegate.handleError(this, error)) {
2527                        throw error;
2528                    }
2529                }
2530            }
2531            finally {
2532                _currentZoneFrame = _currentZoneFrame.parent;
2533            }
2534        };
2535        Zone.prototype.runTask = function (task, applyThis, applyArgs) {
2536            if (task.zone != this) {
2537                throw new Error('A task can only be run in the zone of creation! (Creation: ' +
2538                    (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');
2539            }
2540            // https://github.com/angular/zone.js/issues/778, sometimes eventTask
2541            // will run in notScheduled(canceled) state, we should not try to
2542            // run such kind of task but just return
2543            if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {
2544                return;
2545            }
2546            var reEntryGuard = task.state != running;
2547            reEntryGuard && task._transitionTo(running, scheduled);
2548            task.runCount++;
2549            var previousTask = _currentTask;
2550            _currentTask = task;
2551            _currentZoneFrame = { parent: _currentZoneFrame, zone: this };
2552            try {
2553                if (task.type == macroTask && task.data && !task.data.isPeriodic) {
2554                    task.cancelFn = undefined;
2555                }
2556                try {
2557                    return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);
2558                }
2559                catch (error) {
2560                    if (this._zoneDelegate.handleError(this, error)) {
2561                        throw error;
2562                    }
2563                }
2564            }
2565            finally {
2566                // if the task's state is notScheduled or unknown, then it has already been cancelled
2567                // we should not reset the state to scheduled
2568                if (task.state !== notScheduled && task.state !== unknown) {
2569                    if (task.type == eventTask || (task.data && task.data.isPeriodic)) {
2570                        reEntryGuard && task._transitionTo(scheduled, running);
2571                    }
2572                    else {
2573                        task.runCount = 0;
2574                        this._updateTaskCount(task, -1);
2575                        reEntryGuard &&
2576                            task._transitionTo(notScheduled, running, notScheduled);
2577                    }
2578                }
2579                _currentZoneFrame = _currentZoneFrame.parent;
2580                _currentTask = previousTask;
2581            }
2582        };
2583        Zone.prototype.scheduleTask = function (task) {
2584            if (task.zone && task.zone !== this) {
2585                // check if the task was rescheduled, the newZone
2586                // should not be the children of the original zone
2587                var newZone = this;
2588                while (newZone) {
2589                    if (newZone === task.zone) {
2590                        throw Error("can not reschedule task to " + this.name + " which is descendants of the original zone " + task.zone.name);
2591                    }
2592                    newZone = newZone.parent;
2593                }
2594            }
2595            task._transitionTo(scheduling, notScheduled);
2596            var zoneDelegates = [];
2597            task._zoneDelegates = zoneDelegates;
2598            task._zone = this;
2599            try {
2600                task = this._zoneDelegate.scheduleTask(this, task);
2601            }
2602            catch (err) {
2603                // should set task's state to unknown when scheduleTask throw error
2604                // because the err may from reschedule, so the fromState maybe notScheduled
2605                task._transitionTo(unknown, scheduling, notScheduled);
2606                // TODO: @JiaLiPassion, should we check the result from handleError?
2607                this._zoneDelegate.handleError(this, err);
2608                throw err;
2609            }
2610            if (task._zoneDelegates === zoneDelegates) {
2611                // we have to check because internally the delegate can reschedule the task.
2612                this._updateTaskCount(task, 1);
2613            }
2614            if (task.state == scheduling) {
2615                task._transitionTo(scheduled, scheduling);
2616            }
2617            return task;
2618        };
2619        Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {
2620            return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));
2621        };
2622        Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {
2623            return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));
2624        };
2625        Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {
2626            return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));
2627        };
2628        Zone.prototype.cancelTask = function (task) {
2629            if (task.zone != this)
2630                throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +
2631                    (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');
2632            task._transitionTo(canceling, scheduled, running);
2633            try {
2634                this._zoneDelegate.cancelTask(this, task);
2635            }
2636            catch (err) {
2637                // if error occurs when cancelTask, transit the state to unknown
2638                task._transitionTo(unknown, canceling);
2639                this._zoneDelegate.handleError(this, err);
2640                throw err;
2641            }
2642            this._updateTaskCount(task, -1);
2643            task._transitionTo(notScheduled, canceling);
2644            task.runCount = 0;
2645            return task;
2646        };
2647        Zone.prototype._updateTaskCount = function (task, count) {
2648            var zoneDelegates = task._zoneDelegates;
2649            if (count == -1) {
2650                task._zoneDelegates = null;
2651            }
2652            for (var i = 0; i < zoneDelegates.length; i++) {
2653                zoneDelegates[i]._updateTaskCount(task.type, count);
2654            }
2655        };
2656        Zone.__symbol__ = __symbol__;
2657        return Zone;
2658    }());
2659    var DELEGATE_ZS = {
2660        name: '',
2661        onHasTask: function (delegate, _, target, hasTaskState) { return delegate.hasTask(target, hasTaskState); },
2662        onScheduleTask: function (delegate, _, target, task) {
2663            return delegate.scheduleTask(target, task);
2664        },
2665        onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) {
2666            return delegate.invokeTask(target, task, applyThis, applyArgs);
2667        },
2668        onCancelTask: function (delegate, _, target, task) { return delegate.cancelTask(target, task); }
2669    };
2670    var ZoneDelegate = /** @class */ (function () {
2671        function ZoneDelegate(zone, parentDelegate, zoneSpec) {
2672            this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };
2673            this.zone = zone;
2674            this._parentDelegate = parentDelegate;
2675            this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);
2676            this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);
2677            this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);
2678            this._interceptZS =
2679                zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);
2680            this._interceptDlgt =
2681                zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);
2682            this._interceptCurrZone =
2683                zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);
2684            this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);
2685            this._invokeDlgt =
2686                zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);
2687            this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);
2688            this._handleErrorZS =
2689                zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);
2690            this._handleErrorDlgt =
2691                zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);
2692            this._handleErrorCurrZone =
2693                zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);
2694            this._scheduleTaskZS =
2695                zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);
2696            this._scheduleTaskDlgt = zoneSpec &&
2697                (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);
2698            this._scheduleTaskCurrZone =
2699                zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);
2700            this._invokeTaskZS =
2701                zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);
2702            this._invokeTaskDlgt =
2703                zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);
2704            this._invokeTaskCurrZone =
2705                zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);
2706            this._cancelTaskZS =
2707                zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);
2708            this._cancelTaskDlgt =
2709                zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);
2710            this._cancelTaskCurrZone =
2711                zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);
2712            this._hasTaskZS = null;
2713            this._hasTaskDlgt = null;
2714            this._hasTaskDlgtOwner = null;
2715            this._hasTaskCurrZone = null;
2716            var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;
2717            var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;
2718            if (zoneSpecHasTask || parentHasTask) {
2719                // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such
2720                // a case all task related interceptors must go through this ZD. We can't short circuit it.
2721                this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;
2722                this._hasTaskDlgt = parentDelegate;
2723                this._hasTaskDlgtOwner = this;
2724                this._hasTaskCurrZone = zone;
2725                if (!zoneSpec.onScheduleTask) {
2726                    this._scheduleTaskZS = DELEGATE_ZS;
2727                    this._scheduleTaskDlgt = parentDelegate;
2728                    this._scheduleTaskCurrZone = this.zone;
2729                }
2730                if (!zoneSpec.onInvokeTask) {
2731                    this._invokeTaskZS = DELEGATE_ZS;
2732                    this._invokeTaskDlgt = parentDelegate;
2733                    this._invokeTaskCurrZone = this.zone;
2734                }
2735                if (!zoneSpec.onCancelTask) {
2736                    this._cancelTaskZS = DELEGATE_ZS;
2737                    this._cancelTaskDlgt = parentDelegate;
2738                    this._cancelTaskCurrZone = this.zone;
2739                }
2740            }
2741        }
2742        ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {
2743            return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :
2744                new Zone(targetZone, zoneSpec);
2745        };
2746        ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {
2747            return this._interceptZS ?
2748                this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :
2749                callback;
2750        };
2751        ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {
2752            return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :
2753                callback.apply(applyThis, applyArgs);
2754        };
2755        ZoneDelegate.prototype.handleError = function (targetZone, error) {
2756            return this._handleErrorZS ?
2757                this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :
2758                true;
2759        };
2760        ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {
2761            var returnTask = task;
2762            if (this._scheduleTaskZS) {
2763                if (this._hasTaskZS) {
2764                    returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);
2765                }
2766                returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);
2767                if (!returnTask)
2768                    returnTask = task;
2769            }
2770            else {
2771                if (task.scheduleFn) {
2772                    task.scheduleFn(task);
2773                }
2774                else if (task.type == microTask) {
2775                    scheduleMicroTask(task);
2776                }
2777                else {
2778                    throw new Error('Task is missing scheduleFn.');
2779                }
2780            }
2781            return returnTask;
2782        };
2783        ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {
2784            return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :
2785                task.callback.apply(applyThis, applyArgs);
2786        };
2787        ZoneDelegate.prototype.cancelTask = function (targetZone, task) {
2788            var value;
2789            if (this._cancelTaskZS) {
2790                value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);
2791            }
2792            else {
2793                if (!task.cancelFn) {
2794                    throw Error('Task is not cancelable');
2795                }
2796                value = task.cancelFn(task);
2797            }
2798            return value;
2799        };
2800        ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {
2801            // hasTask should not throw error so other ZoneDelegate
2802            // can still trigger hasTask callback
2803            try {
2804                this._hasTaskZS &&
2805                    this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);
2806            }
2807            catch (err) {
2808                this.handleError(targetZone, err);
2809            }
2810        };
2811        ZoneDelegate.prototype._updateTaskCount = function (type, count) {
2812            var counts = this._taskCounts;
2813            var prev = counts[type];
2814            var next = counts[type] = prev + count;
2815            if (next < 0) {
2816                throw new Error('More tasks executed then were scheduled.');
2817            }
2818            if (prev == 0 || next == 0) {
2819                var isEmpty = {
2820                    microTask: counts['microTask'] > 0,
2821                    macroTask: counts['macroTask'] > 0,
2822                    eventTask: counts['eventTask'] > 0,
2823                    change: type
2824                };
2825                this.hasTask(this.zone, isEmpty);
2826            }
2827        };
2828        return ZoneDelegate;
2829    }());
2830    var ZoneTask = /** @class */ (function () {
2831        function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {
2832            this._zone = null;
2833            this.runCount = 0;
2834            this._zoneDelegates = null;
2835            this._state = 'notScheduled';
2836            this.type = type;
2837            this.source = source;
2838            this.data = options;
2839            this.scheduleFn = scheduleFn;
2840            this.cancelFn = cancelFn;
2841            this.callback = callback;
2842            var self = this;
2843            // TODO: @JiaLiPassion options should have interface
2844            if (type === eventTask && options && options.useG) {
2845                this.invoke = ZoneTask.invokeTask;
2846            }
2847            else {
2848                this.invoke = function () {
2849                    return ZoneTask.invokeTask.call(global, self, this, arguments);
2850                };
2851            }
2852        }
2853        ZoneTask.invokeTask = function (task, target, args) {
2854            if (!task) {
2855                task = this;
2856            }
2857            _numberOfNestedTaskFrames++;
2858            try {
2859                task.runCount++;
2860                return task.zone.runTask(task, target, args);
2861            }
2862            finally {
2863                if (_numberOfNestedTaskFrames == 1) {
2864                    drainMicroTaskQueue();
2865                }
2866                _numberOfNestedTaskFrames--;
2867            }
2868        };
2869        Object.defineProperty(ZoneTask.prototype, "zone", {
2870            get: function () {
2871                return this._zone;
2872            },
2873            enumerable: true,
2874            configurable: true
2875        });
2876        Object.defineProperty(ZoneTask.prototype, "state", {
2877            get: function () {
2878                return this._state;
2879            },
2880            enumerable: true,
2881            configurable: true
2882        });
2883        ZoneTask.prototype.cancelScheduleRequest = function () {
2884            this._transitionTo(notScheduled, scheduling);
2885        };
2886        ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {
2887            if (this._state === fromState1 || this._state === fromState2) {
2888                this._state = toState;
2889                if (toState == notScheduled) {
2890                    this._zoneDelegates = null;
2891                }
2892            }
2893            else {
2894                throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? ' or \'' + fromState2 + '\'' : '') + ", was '" + this._state + "'.");
2895            }
2896        };
2897        ZoneTask.prototype.toString = function () {
2898            if (this.data && typeof this.data.handleId !== 'undefined') {
2899                return this.data.handleId.toString();
2900            }
2901            else {
2902                return Object.prototype.toString.call(this);
2903            }
2904        };
2905        // add toJSON method to prevent cyclic error when
2906        // call JSON.stringify(zoneTask)
2907        ZoneTask.prototype.toJSON = function () {
2908            return {
2909                type: this.type,
2910                state: this.state,
2911                source: this.source,
2912                zone: this.zone.name,
2913                runCount: this.runCount
2914            };
2915        };
2916        return ZoneTask;
2917    }());
2918    //////////////////////////////////////////////////////
2919    //////////////////////////////////////////////////////
2920    ///  MICROTASK QUEUE
2921    //////////////////////////////////////////////////////
2922    //////////////////////////////////////////////////////
2923    var symbolSetTimeout = __symbol__('setTimeout');
2924    var symbolPromise = __symbol__('Promise');
2925    var symbolThen = __symbol__('then');
2926    var _microTaskQueue = [];
2927    var _isDrainingMicrotaskQueue = false;
2928    var nativeMicroTaskQueuePromise;
2929    function scheduleMicroTask(task) {
2930        // if we are not running in any task, and there has not been anything scheduled
2931        // we must bootstrap the initial task creation by manually scheduling the drain
2932        if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {
2933            // We are not running in Task, so we need to kickstart the microtask queue.
2934            if (!nativeMicroTaskQueuePromise) {
2935                if (global[symbolPromise]) {
2936                    nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);
2937                }
2938            }
2939            if (nativeMicroTaskQueuePromise) {
2940                var nativeThen = nativeMicroTaskQueuePromise[symbolThen];
2941                if (!nativeThen) {
2942                    // native Promise is not patchable, we need to use `then` directly
2943                    // issue 1078
2944                    nativeThen = nativeMicroTaskQueuePromise['then'];
2945                }
2946                nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);
2947            }
2948            else {
2949                global[symbolSetTimeout](drainMicroTaskQueue, 0);
2950            }
2951        }
2952        task && _microTaskQueue.push(task);
2953    }
2954    function drainMicroTaskQueue() {
2955        if (!_isDrainingMicrotaskQueue) {
2956            _isDrainingMicrotaskQueue = true;
2957            while (_microTaskQueue.length) {
2958                var queue = _microTaskQueue;
2959                _microTaskQueue = [];
2960                for (var i = 0; i < queue.length; i++) {
2961                    var task = queue[i];
2962                    try {
2963                        task.zone.runTask(task, null, null);
2964                    }
2965                    catch (error) {
2966                        _api.onUnhandledError(error);
2967                    }
2968                }
2969            }
2970            _api.microtaskDrainDone();
2971            _isDrainingMicrotaskQueue = false;
2972        }
2973    }
2974    //////////////////////////////////////////////////////
2975    //////////////////////////////////////////////////////
2976    ///  BOOTSTRAP
2977    //////////////////////////////////////////////////////
2978    //////////////////////////////////////////////////////
2979    var NO_ZONE = { name: 'NO ZONE' };
2980    var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';
2981    var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';
2982    var patches = {};
2983    var _api = {
2984        symbol: __symbol__,
2985        currentZoneFrame: function () { return _currentZoneFrame; },
2986        onUnhandledError: noop,
2987        microtaskDrainDone: noop,
2988        scheduleMicroTask: scheduleMicroTask,
2989        showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },
2990        patchEventTarget: function () { return []; },
2991        patchOnProperties: noop,
2992        patchMethod: function () { return noop; },
2993        bindArguments: function () { return []; },
2994        patchThen: function () { return noop; },
2995        setNativePromise: function (NativePromise) {
2996            // sometimes NativePromise.resolve static function
2997            // is not ready yet, (such as core-js/es6.promise)
2998            // so we need to check here.
2999            if (NativePromise && typeof NativePromise.resolve === 'function') {
3000                nativeMicroTaskQueuePromise = NativePromise.resolve(0);
3001            }
3002        },
3003    };
3004    var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };
3005    var _currentTask = null;
3006    var _numberOfNestedTaskFrames = 0;
3007    function noop() { }
3008    function __symbol__(name) {
3009        return '__zone_symbol__' + name;
3010    }
3011    performanceMeasure('Zone', 'Zone');
3012    return global['Zone'] = Zone;
3013})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);
3014
3015var __values = (undefined && undefined.__values) || function (o) {
3016    var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
3017    if (m) return m.call(o);
3018    return {
3019        next: function () {
3020            if (o && i >= o.length) o = void 0;
3021            return { value: o && o[i++], done: !o };
3022        }
3023    };
3024};
3025Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {
3026    var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3027    var ObjectDefineProperty = Object.defineProperty;
3028    function readableObjectToString(obj) {
3029        if (obj && obj.toString === Object.prototype.toString) {
3030            var className = obj.constructor && obj.constructor.name;
3031            return (className ? className : '') + ': ' + JSON.stringify(obj);
3032        }
3033        return obj ? obj.toString() : Object.prototype.toString.call(obj);
3034    }
3035    var __symbol__ = api.symbol;
3036    var _uncaughtPromiseErrors = [];
3037    var symbolPromise = __symbol__('Promise');
3038    var symbolThen = __symbol__('then');
3039    var creationTrace = '__creationTrace__';
3040    api.onUnhandledError = function (e) {
3041        if (api.showUncaughtError()) {
3042            var rejection = e && e.rejection;
3043            if (rejection) {
3044                console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);
3045            }
3046            else {
3047                console.error(e);
3048            }
3049        }
3050    };
3051    api.microtaskDrainDone = function () {
3052        while (_uncaughtPromiseErrors.length) {
3053            var _loop_1 = function () {
3054                var uncaughtPromiseError = _uncaughtPromiseErrors.shift();
3055                try {
3056                    uncaughtPromiseError.zone.runGuarded(function () {
3057                        throw uncaughtPromiseError;
3058                    });
3059                }
3060                catch (error) {
3061                    handleUnhandledRejection(error);
3062                }
3063            };
3064            while (_uncaughtPromiseErrors.length) {
3065                _loop_1();
3066            }
3067        }
3068    };
3069    var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');
3070    function handleUnhandledRejection(e) {
3071        api.onUnhandledError(e);
3072        try {
3073            var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];
3074            if (handler && typeof handler === 'function') {
3075                handler.call(this, e);
3076            }
3077        }
3078        catch (err) {
3079        }
3080    }
3081    function isThenable(value) {
3082        return value && value.then;
3083    }
3084    function forwardResolution(value) {
3085        return value;
3086    }
3087    function forwardRejection(rejection) {
3088        return ZoneAwarePromise.reject(rejection);
3089    }
3090    var symbolState = __symbol__('state');
3091    var symbolValue = __symbol__('value');
3092    var symbolFinally = __symbol__('finally');
3093    var symbolParentPromiseValue = __symbol__('parentPromiseValue');
3094    var symbolParentPromiseState = __symbol__('parentPromiseState');
3095    var source = 'Promise.then';
3096    var UNRESOLVED = null;
3097    var RESOLVED = true;
3098    var REJECTED = false;
3099    var REJECTED_NO_CATCH = 0;
3100    function makeResolver(promise, state) {
3101        return function (v) {
3102            try {
3103                resolvePromise(promise, state, v);
3104            }
3105            catch (err) {
3106                resolvePromise(promise, false, err);
3107            }
3108            // Do not return value or you will break the Promise spec.
3109        };
3110    }
3111    var once = function () {
3112        var wasCalled = false;
3113        return function wrapper(wrappedFunction) {
3114            return function () {
3115                if (wasCalled) {
3116                    return;
3117                }
3118                wasCalled = true;
3119                wrappedFunction.apply(null, arguments);
3120            };
3121        };
3122    };
3123    var TYPE_ERROR = 'Promise resolved with itself';
3124    var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');
3125    // Promise Resolution
3126    function resolvePromise(promise, state, value) {
3127        var onceWrapper = once();
3128        if (promise === value) {
3129            throw new TypeError(TYPE_ERROR);
3130        }
3131        if (promise[symbolState] === UNRESOLVED) {
3132            // should only get value.then once based on promise spec.
3133            var then = null;
3134            try {
3135                if (typeof value === 'object' || typeof value === 'function') {
3136                    then = value && value.then;
3137                }
3138            }
3139            catch (err) {
3140                onceWrapper(function () {
3141                    resolvePromise(promise, false, err);
3142                })();
3143                return promise;
3144            }
3145            // if (value instanceof ZoneAwarePromise) {
3146            if (state !== REJECTED && value instanceof ZoneAwarePromise &&
3147                value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&
3148                value[symbolState] !== UNRESOLVED) {
3149                clearRejectedNoCatch(value);
3150                resolvePromise(promise, value[symbolState], value[symbolValue]);
3151            }
3152            else if (state !== REJECTED && typeof then === 'function') {
3153                try {
3154                    then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));
3155                }
3156                catch (err) {
3157                    onceWrapper(function () {
3158                        resolvePromise(promise, false, err);
3159                    })();
3160                }
3161            }
3162            else {
3163                promise[symbolState] = state;
3164                var queue = promise[symbolValue];
3165                promise[symbolValue] = value;
3166                if (promise[symbolFinally] === symbolFinally) {
3167                    // the promise is generated by Promise.prototype.finally
3168                    if (state === RESOLVED) {
3169                        // the state is resolved, should ignore the value
3170                        // and use parent promise value
3171                        promise[symbolState] = promise[symbolParentPromiseState];
3172                        promise[symbolValue] = promise[symbolParentPromiseValue];
3173                    }
3174                }
3175                // record task information in value when error occurs, so we can
3176                // do some additional work such as render longStackTrace
3177                if (state === REJECTED && value instanceof Error) {
3178                    // check if longStackTraceZone is here
3179                    var trace = Zone.currentTask && Zone.currentTask.data &&
3180                        Zone.currentTask.data[creationTrace];
3181                    if (trace) {
3182                        // only keep the long stack trace into error when in longStackTraceZone
3183                        ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });
3184                    }
3185                }
3186                for (var i = 0; i < queue.length;) {
3187                    scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);
3188                }
3189                if (queue.length == 0 && state == REJECTED) {
3190                    promise[symbolState] = REJECTED_NO_CATCH;
3191                    try {
3192                        // try to print more readable error log
3193                        throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +
3194                            (value && value.stack ? '\n' + value.stack : ''));
3195                    }
3196                    catch (err) {
3197                        var error_1 = err;
3198                        error_1.rejection = value;
3199                        error_1.promise = promise;
3200                        error_1.zone = Zone.current;
3201                        error_1.task = Zone.currentTask;
3202                        _uncaughtPromiseErrors.push(error_1);
3203                        api.scheduleMicroTask(); // to make sure that it is running
3204                    }
3205                }
3206            }
3207        }
3208        // Resolving an already resolved promise is a noop.
3209        return promise;
3210    }
3211    var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');
3212    function clearRejectedNoCatch(promise) {
3213        if (promise[symbolState] === REJECTED_NO_CATCH) {
3214            // if the promise is rejected no catch status
3215            // and queue.length > 0, means there is a error handler
3216            // here to handle the rejected promise, we should trigger
3217            // windows.rejectionhandled eventHandler or nodejs rejectionHandled
3218            // eventHandler
3219            try {
3220                var handler = Zone[REJECTION_HANDLED_HANDLER];
3221                if (handler && typeof handler === 'function') {
3222                    handler.call(this, { rejection: promise[symbolValue], promise: promise });
3223                }
3224            }
3225            catch (err) {
3226            }
3227            promise[symbolState] = REJECTED;
3228            for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {
3229                if (promise === _uncaughtPromiseErrors[i].promise) {
3230                    _uncaughtPromiseErrors.splice(i, 1);
3231                }
3232            }
3233        }
3234    }
3235    function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {
3236        clearRejectedNoCatch(promise);
3237        var promiseState = promise[symbolState];
3238        var delegate = promiseState ?
3239            (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :
3240            (typeof onRejected === 'function') ? onRejected : forwardRejection;
3241        zone.scheduleMicroTask(source, function () {
3242            try {
3243                var parentPromiseValue = promise[symbolValue];
3244                var isFinallyPromise = chainPromise && symbolFinally === chainPromise[symbolFinally];
3245                if (isFinallyPromise) {
3246                    // if the promise is generated from finally call, keep parent promise's state and value
3247                    chainPromise[symbolParentPromiseValue] = parentPromiseValue;
3248                    chainPromise[symbolParentPromiseState] = promiseState;
3249                }
3250                // should not pass value to finally callback
3251                var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?
3252                    [] :
3253                    [parentPromiseValue]);
3254                resolvePromise(chainPromise, true, value);
3255            }
3256            catch (error) {
3257                // if error occurs, should always return this error
3258                resolvePromise(chainPromise, false, error);
3259            }
3260        }, chainPromise);
3261    }
3262    var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';
3263    var ZoneAwarePromise = /** @class */ (function () {
3264        function ZoneAwarePromise(executor) {
3265            var promise = this;
3266            if (!(promise instanceof ZoneAwarePromise)) {
3267                throw new Error('Must be an instanceof Promise.');
3268            }
3269            promise[symbolState] = UNRESOLVED;
3270            promise[symbolValue] = []; // queue;
3271            try {
3272                executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));
3273            }
3274            catch (error) {
3275                resolvePromise(promise, false, error);
3276            }
3277        }
3278        ZoneAwarePromise.toString = function () {
3279            return ZONE_AWARE_PROMISE_TO_STRING;
3280        };
3281        ZoneAwarePromise.resolve = function (value) {
3282            return resolvePromise(new this(null), RESOLVED, value);
3283        };
3284        ZoneAwarePromise.reject = function (error) {
3285            return resolvePromise(new this(null), REJECTED, error);
3286        };
3287        ZoneAwarePromise.race = function (values) {
3288            var e_1, _a;
3289            var resolve;
3290            var reject;
3291            var promise = new this(function (res, rej) {
3292                resolve = res;
3293                reject = rej;
3294            });
3295            function onResolve(value) {
3296                promise && (promise =  false || resolve(value));
3297            }
3298            function onReject(error) {
3299                promise && (promise =  false || reject(error));
3300            }
3301            try {
3302                for (var values_1 = __values(values), values_1_1 = values_1.next(); !values_1_1.done; values_1_1 = values_1.next()) {
3303                    var value = values_1_1.value;
3304                    if (!isThenable(value)) {
3305                        value = this.resolve(value);
3306                    }
3307                    value.then(onResolve, onReject);
3308                }
3309            }
3310            catch (e_1_1) { e_1 = { error: e_1_1 }; }
3311            finally {
3312                try {
3313                    if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);
3314                }
3315                finally { if (e_1) throw e_1.error; }
3316            }
3317            return promise;
3318        };
3319        ZoneAwarePromise.all = function (values) {
3320            var e_2, _a;
3321            var resolve;
3322            var reject;
3323            var promise = new this(function (res, rej) {
3324                resolve = res;
3325                reject = rej;
3326            });
3327            // Start at 2 to prevent prematurely resolving if .then is called immediately.
3328            var unresolvedCount = 2;
3329            var valueIndex = 0;
3330            var resolvedValues = [];
3331            var _loop_2 = function (value) {
3332                if (!isThenable(value)) {
3333                    value = this_1.resolve(value);
3334                }
3335                var curValueIndex = valueIndex;
3336                value.then(function (value) {
3337                    resolvedValues[curValueIndex] = value;
3338                    unresolvedCount--;
3339                    if (unresolvedCount === 0) {
3340                        resolve(resolvedValues);
3341                    }
3342                }, reject);
3343                unresolvedCount++;
3344                valueIndex++;
3345            };
3346            var this_1 = this;
3347            try {
3348                for (var values_2 = __values(values), values_2_1 = values_2.next(); !values_2_1.done; values_2_1 = values_2.next()) {
3349                    var value = values_2_1.value;
3350                    _loop_2(value);
3351                }
3352            }
3353            catch (e_2_1) { e_2 = { error: e_2_1 }; }
3354            finally {
3355                try {
3356                    if (values_2_1 && !values_2_1.done && (_a = values_2.return)) _a.call(values_2);
3357                }
3358                finally { if (e_2) throw e_2.error; }
3359            }
3360            // Make the unresolvedCount zero-based again.
3361            unresolvedCount -= 2;
3362            if (unresolvedCount === 0) {
3363                resolve(resolvedValues);
3364            }
3365            return promise;
3366        };
3367        ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {
3368            var chainPromise = new this.constructor(null);
3369            var zone = Zone.current;
3370            if (this[symbolState] == UNRESOLVED) {
3371                this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);
3372            }
3373            else {
3374                scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);
3375            }
3376            return chainPromise;
3377        };
3378        ZoneAwarePromise.prototype.catch = function (onRejected) {
3379            return this.then(null, onRejected);
3380        };
3381        ZoneAwarePromise.prototype.finally = function (onFinally) {
3382            var chainPromise = new this.constructor(null);
3383            chainPromise[symbolFinally] = symbolFinally;
3384            var zone = Zone.current;
3385            if (this[symbolState] == UNRESOLVED) {
3386                this[symbolValue].push(zone, chainPromise, onFinally, onFinally);
3387            }
3388            else {
3389                scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);
3390            }
3391            return chainPromise;
3392        };
3393        return ZoneAwarePromise;
3394    }());
3395    // Protect against aggressive optimizers dropping seemingly unused properties.
3396    // E.g. Closure Compiler in advanced mode.
3397    ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;
3398    ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;
3399    ZoneAwarePromise['race'] = ZoneAwarePromise.race;
3400    ZoneAwarePromise['all'] = ZoneAwarePromise.all;
3401    var NativePromise = global[symbolPromise] = global['Promise'];
3402    var ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise');
3403    var desc = ObjectGetOwnPropertyDescriptor(global, 'Promise');
3404    if (!desc || desc.configurable) {
3405        desc && delete desc.writable;
3406        desc && delete desc.value;
3407        if (!desc) {
3408            desc = { configurable: true, enumerable: true };
3409        }
3410        desc.get = function () {
3411            // if we already set ZoneAwarePromise, use patched one
3412            // otherwise return native one.
3413            return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise];
3414        };
3415        desc.set = function (NewNativePromise) {
3416            if (NewNativePromise === ZoneAwarePromise) {
3417                // if the NewNativePromise is ZoneAwarePromise
3418                // save to global
3419                global[ZONE_AWARE_PROMISE] = NewNativePromise;
3420            }
3421            else {
3422                // if the NewNativePromise is not ZoneAwarePromise
3423                // for example: after load zone.js, some library just
3424                // set es6-promise to global, if we set it to global
3425                // directly, assertZonePatched will fail and angular
3426                // will not loaded, so we just set the NewNativePromise
3427                // to global[symbolPromise], so the result is just like
3428                // we load ES6 Promise before zone.js
3429                global[symbolPromise] = NewNativePromise;
3430                if (!NewNativePromise.prototype[symbolThen]) {
3431                    patchThen(NewNativePromise);
3432                }
3433                api.setNativePromise(NewNativePromise);
3434            }
3435        };
3436        ObjectDefineProperty(global, 'Promise', desc);
3437    }
3438    global['Promise'] = ZoneAwarePromise;
3439    var symbolThenPatched = __symbol__('thenPatched');
3440    function patchThen(Ctor) {
3441        var proto = Ctor.prototype;
3442        var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');
3443        if (prop && (prop.writable === false || !prop.configurable)) {
3444            // check Ctor.prototype.then propertyDescriptor is writable or not
3445            // in meteor env, writable is false, we should ignore such case
3446            return;
3447        }
3448        var originalThen = proto.then;
3449        // Keep a reference to the original method.
3450        proto[symbolThen] = originalThen;
3451        Ctor.prototype.then = function (onResolve, onReject) {
3452            var _this = this;
3453            var wrapped = new ZoneAwarePromise(function (resolve, reject) {
3454                originalThen.call(_this, resolve, reject);
3455            });
3456            return wrapped.then(onResolve, onReject);
3457        };
3458        Ctor[symbolThenPatched] = true;
3459    }
3460    api.patchThen = patchThen;
3461    if (NativePromise) {
3462        patchThen(NativePromise);
3463    }
3464    // This is not part of public API, but it is useful for tests, so we expose it.
3465    Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;
3466    return ZoneAwarePromise;
3467});
3468
3469/**
3470 * @license
3471 * Copyright Google Inc. All Rights Reserved.
3472 *
3473 * Use of this source code is governed by an MIT-style license that can be
3474 * found in the LICENSE file at https://angular.io/license
3475 */
3476Zone.__load_patch('fetch', function (global, Zone, api) {
3477    var fetch = global['fetch'];
3478    var ZoneAwarePromise = global.Promise;
3479    var symbolThenPatched = api.symbol('thenPatched');
3480    var fetchTaskScheduling = api.symbol('fetchTaskScheduling');
3481    var fetchTaskAborting = api.symbol('fetchTaskAborting');
3482    if (typeof fetch !== 'function') {
3483        return;
3484    }
3485    var OriginalAbortController = global['AbortController'];
3486    var supportAbort = typeof OriginalAbortController === 'function';
3487    var abortNative = null;
3488    if (supportAbort) {
3489        global['AbortController'] = function () {
3490            var abortController = new OriginalAbortController();
3491            var signal = abortController.signal;
3492            signal.abortController = abortController;
3493            return abortController;
3494        };
3495        abortNative = api.patchMethod(OriginalAbortController.prototype, 'abort', function (delegate) { return function (self, args) {
3496            if (self.task) {
3497                return self.task.zone.cancelTask(self.task);
3498            }
3499            return delegate.apply(self, args);
3500        }; });
3501    }
3502    var placeholder = function () { };
3503    global['fetch'] = function () {
3504        var _this = this;
3505        var args = Array.prototype.slice.call(arguments);
3506        var options = args.length > 1 ? args[1] : null;
3507        var signal = options && options.signal;
3508        return new Promise(function (res, rej) {
3509            var task = Zone.current.scheduleMacroTask('fetch', placeholder, args, function () {
3510                var fetchPromise;
3511                var zone = Zone.current;
3512                try {
3513                    zone[fetchTaskScheduling] = true;
3514                    fetchPromise = fetch.apply(_this, args);
3515                }
3516                catch (error) {
3517                    rej(error);
3518                    return;
3519                }
3520                finally {
3521                    zone[fetchTaskScheduling] = false;
3522                }
3523                if (!(fetchPromise instanceof ZoneAwarePromise)) {
3524                    var ctor = fetchPromise.constructor;
3525                    if (!ctor[symbolThenPatched]) {
3526                        api.patchThen(ctor);
3527                    }
3528                }
3529                fetchPromise.then(function (resource) {
3530                    if (task.state !== 'notScheduled') {
3531                        task.invoke();
3532                    }
3533                    res(resource);
3534                }, function (error) {
3535                    if (task.state !== 'notScheduled') {
3536                        task.invoke();
3537                    }
3538                    rej(error);
3539                });
3540            }, function () {
3541                if (!supportAbort) {
3542                    rej('No AbortController supported, can not cancel fetch');
3543                    return;
3544                }
3545                if (signal && signal.abortController && !signal.aborted &&
3546                    typeof signal.abortController.abort === 'function' && abortNative) {
3547                    try {
3548                        Zone.current[fetchTaskAborting] = true;
3549                        abortNative.call(signal.abortController);
3550                    }
3551                    finally {
3552                        Zone.current[fetchTaskAborting] = false;
3553                    }
3554                }
3555                else {
3556                    rej('cancel fetch need a AbortController.signal');
3557                }
3558            });
3559            if (signal && signal.abortController) {
3560                signal.abortController.task = task;
3561            }
3562        });
3563    };
3564});
3565
3566/**
3567 * @license
3568 * Copyright Google Inc. All Rights Reserved.
3569 *
3570 * Use of this source code is governed by an MIT-style license that can be
3571 * found in the LICENSE file at https://angular.io/license
3572 */
3573/**
3574 * Suppress closure compiler errors about unknown 'Zone' variable
3575 * @fileoverview
3576 * @suppress {undefinedVars,globalThis,missingRequire}
3577 */
3578// issue #989, to reduce bundle size, use short name
3579/** Object.getOwnPropertyDescriptor */
3580var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3581/** Object.defineProperty */
3582var ObjectDefineProperty = Object.defineProperty;
3583/** Object.getPrototypeOf */
3584var ObjectGetPrototypeOf = Object.getPrototypeOf;
3585/** Object.create */
3586var ObjectCreate = Object.create;
3587/** Array.prototype.slice */
3588var ArraySlice = Array.prototype.slice;
3589/** addEventListener string const */
3590var ADD_EVENT_LISTENER_STR = 'addEventListener';
3591/** removeEventListener string const */
3592var REMOVE_EVENT_LISTENER_STR = 'removeEventListener';
3593/** zoneSymbol addEventListener */
3594var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);
3595/** zoneSymbol removeEventListener */
3596var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);
3597/** true string const */
3598var TRUE_STR = 'true';
3599/** false string const */
3600var FALSE_STR = 'false';
3601/** __zone_symbol__ string const */
3602var ZONE_SYMBOL_PREFIX = '__zone_symbol__';
3603function wrapWithCurrentZone(callback, source) {
3604    return Zone.current.wrap(callback, source);
3605}
3606function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {
3607    return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);
3608}
3609var zoneSymbol = Zone.__symbol__;
3610var isWindowExists = typeof window !== 'undefined';
3611var internalWindow = isWindowExists ? window : undefined;
3612var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;
3613var REMOVE_ATTRIBUTE = 'removeAttribute';
3614var NULL_ON_PROP_VALUE = [null];
3615function bindArguments(args, source) {
3616    for (var i = args.length - 1; i >= 0; i--) {
3617        if (typeof args[i] === 'function') {
3618            args[i] = wrapWithCurrentZone(args[i], source + '_' + i);
3619        }
3620    }
3621    return args;
3622}
3623function patchPrototype(prototype, fnNames) {
3624    var source = prototype.constructor['name'];
3625    var _loop_1 = function (i) {
3626        var name_1 = fnNames[i];
3627        var delegate = prototype[name_1];
3628        if (delegate) {
3629            var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1);
3630            if (!isPropertyWritable(prototypeDesc)) {
3631                return "continue";
3632            }
3633            prototype[name_1] = (function (delegate) {
3634                var patched = function () {
3635                    return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));
3636                };
3637                attachOriginToPatched(patched, delegate);
3638                return patched;
3639            })(delegate);
3640        }
3641    };
3642    for (var i = 0; i < fnNames.length; i++) {
3643        _loop_1(i);
3644    }
3645}
3646function isPropertyWritable(propertyDesc) {
3647    if (!propertyDesc) {
3648        return true;
3649    }
3650    if (propertyDesc.writable === false) {
3651        return false;
3652    }
3653    return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');
3654}
3655var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);
3656// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify
3657// this code.
3658var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&
3659    {}.toString.call(_global.process) === '[object process]');
3660var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);
3661// we are in electron of nw, so we are both browser and nodejs
3662// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify
3663// this code.
3664var isMix = typeof _global.process !== 'undefined' &&
3665    {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&
3666    !!(isWindowExists && internalWindow['HTMLElement']);
3667var zoneSymbolEventNames = {};
3668var wrapFn = function (event) {
3669    // https://github.com/angular/zone.js/issues/911, in IE, sometimes
3670    // event will be undefined, so we need to use window.event
3671    event = event || _global.event;
3672    if (!event) {
3673        return;
3674    }
3675    var eventNameSymbol = zoneSymbolEventNames[event.type];
3676    if (!eventNameSymbol) {
3677        eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);
3678    }
3679    var target = this || event.target || _global;
3680    var listener = target[eventNameSymbol];
3681    var result;
3682    if (isBrowser && target === internalWindow && event.type === 'error') {
3683        // window.onerror have different signiture
3684        // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror
3685        // and onerror callback will prevent default when callback return true
3686        var errorEvent = event;
3687        result = listener &&
3688            listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);
3689        if (result === true) {
3690            event.preventDefault();
3691        }
3692    }
3693    else {
3694        result = listener && listener.apply(this, arguments);
3695        if (result != undefined && !result) {
3696            event.preventDefault();
3697        }
3698    }
3699    return result;
3700};
3701function patchProperty(obj, prop, prototype) {
3702    var desc = ObjectGetOwnPropertyDescriptor(obj, prop);
3703    if (!desc && prototype) {
3704        // when patch window object, use prototype to check prop exist or not
3705        var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);
3706        if (prototypeDesc) {
3707            desc = { enumerable: true, configurable: true };
3708        }
3709    }
3710    // if the descriptor not exists or is not configurable
3711    // just return
3712    if (!desc || !desc.configurable) {
3713        return;
3714    }
3715    var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');
3716    if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {
3717        return;
3718    }
3719    // A property descriptor cannot have getter/setter and be writable
3720    // deleting the writable and value properties avoids this error:
3721    //
3722    // TypeError: property descriptors must not specify a value or be writable when a
3723    // getter or setter has been specified
3724    delete desc.writable;
3725    delete desc.value;
3726    var originalDescGet = desc.get;
3727    var originalDescSet = desc.set;
3728    // substr(2) cuz 'onclick' -> 'click', etc
3729    var eventName = prop.substr(2);
3730    var eventNameSymbol = zoneSymbolEventNames[eventName];
3731    if (!eventNameSymbol) {
3732        eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);
3733    }
3734    desc.set = function (newValue) {
3735        // in some of windows's onproperty callback, this is undefined
3736        // so we need to check it
3737        var target = this;
3738        if (!target && obj === _global) {
3739            target = _global;
3740        }
3741        if (!target) {
3742            return;
3743        }
3744        var previousValue = target[eventNameSymbol];
3745        if (previousValue) {
3746            target.removeEventListener(eventName, wrapFn);
3747        }
3748        // issue #978, when onload handler was added before loading zone.js
3749        // we should remove it with originalDescSet
3750        if (originalDescSet) {
3751            originalDescSet.apply(target, NULL_ON_PROP_VALUE);
3752        }
3753        if (typeof newValue === 'function') {
3754            target[eventNameSymbol] = newValue;
3755            target.addEventListener(eventName, wrapFn, false);
3756        }
3757        else {
3758            target[eventNameSymbol] = null;
3759        }
3760    };
3761    // The getter would return undefined for unassigned properties but the default value of an
3762    // unassigned property is null
3763    desc.get = function () {
3764        // in some of windows's onproperty callback, this is undefined
3765        // so we need to check it
3766        var target = this;
3767        if (!target && obj === _global) {
3768            target = _global;
3769        }
3770        if (!target) {
3771            return null;
3772        }
3773        var listener = target[eventNameSymbol];
3774        if (listener) {
3775            return listener;
3776        }
3777        else if (originalDescGet) {
3778            // result will be null when use inline event attribute,
3779            // such as <button onclick="func();">OK</button>
3780            // because the onclick function is internal raw uncompiled handler
3781            // the onclick will be evaluated when first time event was triggered or
3782            // the property is accessed, https://github.com/angular/zone.js/issues/525
3783            // so we should use original native get to retrieve the handler
3784            var value = originalDescGet && originalDescGet.call(this);
3785            if (value) {
3786                desc.set.call(this, value);
3787                if (typeof target[REMOVE_ATTRIBUTE] === 'function') {
3788                    target.removeAttribute(prop);
3789                }
3790                return value;
3791            }
3792        }
3793        return null;
3794    };
3795    ObjectDefineProperty(obj, prop, desc);
3796    obj[onPropPatchedSymbol] = true;
3797}
3798function patchOnProperties(obj, properties, prototype) {
3799    if (properties) {
3800        for (var i = 0; i < properties.length; i++) {
3801            patchProperty(obj, 'on' + properties[i], prototype);
3802        }
3803    }
3804    else {
3805        var onProperties = [];
3806        for (var prop in obj) {
3807            if (prop.substr(0, 2) == 'on') {
3808                onProperties.push(prop);
3809            }
3810        }
3811        for (var j = 0; j < onProperties.length; j++) {
3812            patchProperty(obj, onProperties[j], prototype);
3813        }
3814    }
3815}
3816var originalInstanceKey = zoneSymbol('originalInstance');
3817// wrap some native API on `window`
3818function patchClass(className) {
3819    var OriginalClass = _global[className];
3820    if (!OriginalClass)
3821        return;
3822    // keep original class in global
3823    _global[zoneSymbol(className)] = OriginalClass;
3824    _global[className] = function () {
3825        var a = bindArguments(arguments, className);
3826        switch (a.length) {
3827            case 0:
3828                this[originalInstanceKey] = new OriginalClass();
3829                break;
3830            case 1:
3831                this[originalInstanceKey] = new OriginalClass(a[0]);
3832                break;
3833            case 2:
3834                this[originalInstanceKey] = new OriginalClass(a[0], a[1]);
3835                break;
3836            case 3:
3837                this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);
3838                break;
3839            case 4:
3840                this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);
3841                break;
3842            default:
3843                throw new Error('Arg list too long.');
3844        }
3845    };
3846    // attach original delegate to patched function
3847    attachOriginToPatched(_global[className], OriginalClass);
3848    var instance = new OriginalClass(function () { });
3849    var prop;
3850    for (prop in instance) {
3851        // https://bugs.webkit.org/show_bug.cgi?id=44721
3852        if (className === 'XMLHttpRequest' && prop === 'responseBlob')
3853            continue;
3854        (function (prop) {
3855            if (typeof instance[prop] === 'function') {
3856                _global[className].prototype[prop] = function () {
3857                    return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);
3858                };
3859            }
3860            else {
3861                ObjectDefineProperty(_global[className].prototype, prop, {
3862                    set: function (fn) {
3863                        if (typeof fn === 'function') {
3864                            this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);
3865                            // keep callback in wrapped function so we can
3866                            // use it in Function.prototype.toString to return
3867                            // the native one.
3868                            attachOriginToPatched(this[originalInstanceKey][prop], fn);
3869                        }
3870                        else {
3871                            this[originalInstanceKey][prop] = fn;
3872                        }
3873                    },
3874                    get: function () {
3875                        return this[originalInstanceKey][prop];
3876                    }
3877                });
3878            }
3879        }(prop));
3880    }
3881    for (prop in OriginalClass) {
3882        if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {
3883            _global[className][prop] = OriginalClass[prop];
3884        }
3885    }
3886}
3887function copySymbolProperties(src, dest) {
3888    if (typeof Object.getOwnPropertySymbols !== 'function') {
3889        return;
3890    }
3891    var symbols = Object.getOwnPropertySymbols(src);
3892    symbols.forEach(function (symbol) {
3893        var desc = Object.getOwnPropertyDescriptor(src, symbol);
3894        Object.defineProperty(dest, symbol, {
3895            get: function () {
3896                return src[symbol];
3897            },
3898            set: function (value) {
3899                if (desc && (!desc.writable || typeof desc.set !== 'function')) {
3900                    // if src[symbol] is not writable or not have a setter, just return
3901                    return;
3902                }
3903                src[symbol] = value;
3904            },
3905            enumerable: desc ? desc.enumerable : true,
3906            configurable: desc ? desc.configurable : true
3907        });
3908    });
3909}
3910var shouldCopySymbolProperties = false;
3911
3912function patchMethod(target, name, patchFn) {
3913    var proto = target;
3914    while (proto && !proto.hasOwnProperty(name)) {
3915        proto = ObjectGetPrototypeOf(proto);
3916    }
3917    if (!proto && target[name]) {
3918        // somehow we did not find it, but we can see it. This happens on IE for Window properties.
3919        proto = target;
3920    }
3921    var delegateName = zoneSymbol(name);
3922    var delegate = null;
3923    if (proto && !(delegate = proto[delegateName])) {
3924        delegate = proto[delegateName] = proto[name];
3925        // check whether proto[name] is writable
3926        // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob
3927        var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);
3928        if (isPropertyWritable(desc)) {
3929            var patchDelegate_1 = patchFn(delegate, delegateName, name);
3930            proto[name] = function () {
3931                return patchDelegate_1(this, arguments);
3932            };
3933            attachOriginToPatched(proto[name], delegate);
3934            if (shouldCopySymbolProperties) {
3935                copySymbolProperties(delegate, proto[name]);
3936            }
3937        }
3938    }
3939    return delegate;
3940}
3941// TODO: @JiaLiPassion, support cancel task later if necessary
3942function patchMacroTask(obj, funcName, metaCreator) {
3943    var setNative = null;
3944    function scheduleTask(task) {
3945        var data = task.data;
3946        data.args[data.cbIdx] = function () {
3947            task.invoke.apply(this, arguments);
3948        };
3949        setNative.apply(data.target, data.args);
3950        return task;
3951    }
3952    setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {
3953        var meta = metaCreator(self, args);
3954        if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {
3955            return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);
3956        }
3957        else {
3958            // cause an error by calling it directly.
3959            return delegate.apply(self, args);
3960        }
3961    }; });
3962}
3963
3964function attachOriginToPatched(patched, original) {
3965    patched[zoneSymbol('OriginalDelegate')] = original;
3966}
3967var isDetectedIEOrEdge = false;
3968var ieOrEdge = false;
3969function isIE() {
3970    try {
3971        var ua = internalWindow.navigator.userAgent;
3972        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {
3973            return true;
3974        }
3975    }
3976    catch (error) {
3977    }
3978    return false;
3979}
3980function isIEOrEdge() {
3981    if (isDetectedIEOrEdge) {
3982        return ieOrEdge;
3983    }
3984    isDetectedIEOrEdge = true;
3985    try {
3986        var ua = internalWindow.navigator.userAgent;
3987        if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {
3988            ieOrEdge = true;
3989        }
3990        return ieOrEdge;
3991    }
3992    catch (error) {
3993    }
3994}
3995
3996/**
3997 * @license
3998 * Copyright Google Inc. All Rights Reserved.
3999 *
4000 * Use of this source code is governed by an MIT-style license that can be
4001 * found in the LICENSE file at https://angular.io/license
4002 */
4003// override Function.prototype.toString to make zone.js patched function
4004// look like native function
4005Zone.__load_patch('toString', function (global) {
4006    // patch Func.prototype.toString to let them look like native
4007    var originalFunctionToString = Function.prototype.toString;
4008    var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');
4009    var PROMISE_SYMBOL = zoneSymbol('Promise');
4010    var ERROR_SYMBOL = zoneSymbol('Error');
4011    var newFunctionToString = function toString() {
4012        if (typeof this === 'function') {
4013            var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];
4014            if (originalDelegate) {
4015                if (typeof originalDelegate === 'function') {
4016                    return originalFunctionToString.apply(this[ORIGINAL_DELEGATE_SYMBOL], arguments);
4017                }
4018                else {
4019                    return Object.prototype.toString.call(originalDelegate);
4020                }
4021            }
4022            if (this === Promise) {
4023                var nativePromise = global[PROMISE_SYMBOL];
4024                if (nativePromise) {
4025                    return originalFunctionToString.apply(nativePromise, arguments);
4026                }
4027            }
4028            if (this === Error) {
4029                var nativeError = global[ERROR_SYMBOL];
4030                if (nativeError) {
4031                    return originalFunctionToString.apply(nativeError, arguments);
4032                }
4033            }
4034        }
4035        return originalFunctionToString.apply(this, arguments);
4036    };
4037    newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;
4038    Function.prototype.toString = newFunctionToString;
4039    // patch Object.prototype.toString to let them look like native
4040    var originalObjectToString = Object.prototype.toString;
4041    var PROMISE_OBJECT_TO_STRING = '[object Promise]';
4042    Object.prototype.toString = function () {
4043        if (this instanceof Promise) {
4044            return PROMISE_OBJECT_TO_STRING;
4045        }
4046        return originalObjectToString.apply(this, arguments);
4047    };
4048});
4049
4050/**
4051 * @license
4052 * Copyright Google Inc. All Rights Reserved.
4053 *
4054 * Use of this source code is governed by an MIT-style license that can be
4055 * found in the LICENSE file at https://angular.io/license
4056 */
4057/**
4058 * @fileoverview
4059 * @suppress {missingRequire}
4060 */
4061var passiveSupported = false;
4062if (typeof window !== 'undefined') {
4063    try {
4064        var options = Object.defineProperty({}, 'passive', {
4065            get: function () {
4066                passiveSupported = true;
4067            }
4068        });
4069        window.addEventListener('test', options, options);
4070        window.removeEventListener('test', options, options);
4071    }
4072    catch (err) {
4073        passiveSupported = false;
4074    }
4075}
4076// an identifier to tell ZoneTask do not create a new invoke closure
4077var OPTIMIZED_ZONE_EVENT_TASK_DATA = {
4078    useG: true
4079};
4080var zoneSymbolEventNames$1 = {};
4081var globalSources = {};
4082var EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\w+)(true|false)$/;
4083var IMMEDIATE_PROPAGATION_SYMBOL = ('__zone_symbol__propagationStopped');
4084function patchEventTarget(_global, apis, patchOptions) {
4085    var ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;
4086    var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;
4087    var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';
4088    var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';
4089    var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);
4090    var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';
4091    var PREPEND_EVENT_LISTENER = 'prependListener';
4092    var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';
4093    var invokeTask = function (task, target, event) {
4094        // for better performance, check isRemoved which is set
4095        // by removeEventListener
4096        if (task.isRemoved) {
4097            return;
4098        }
4099        var delegate = task.callback;
4100        if (typeof delegate === 'object' && delegate.handleEvent) {
4101            // create the bind version of handleEvent when invoke
4102            task.callback = function (event) { return delegate.handleEvent(event); };
4103            task.originalDelegate = delegate;
4104        }
4105        // invoke static task.invoke
4106        task.invoke(task, target, [event]);
4107        var options = task.options;
4108        if (options && typeof options === 'object' && options.once) {
4109            // if options.once is true, after invoke once remove listener here
4110            // only browser need to do this, nodejs eventEmitter will cal removeListener
4111            // inside EventEmitter.once
4112            var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;
4113            target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options);
4114        }
4115    };
4116    // global shared zoneAwareCallback to handle all event callback with capture = false
4117    var globalZoneAwareCallback = function (event) {
4118        // https://github.com/angular/zone.js/issues/911, in IE, sometimes
4119        // event will be undefined, so we need to use window.event
4120        event = event || _global.event;
4121        if (!event) {
4122            return;
4123        }
4124        // event.target is needed for Samsung TV and SourceBuffer
4125        // || global is needed https://github.com/angular/zone.js/issues/190
4126        var target = this || event.target || _global;
4127        var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];
4128        if (tasks) {
4129            // invoke all tasks which attached to current target with given event.type and capture = false
4130            // for performance concern, if task.length === 1, just invoke
4131            if (tasks.length === 1) {
4132                invokeTask(tasks[0], target, event);
4133            }
4134            else {
4135                // https://github.com/angular/zone.js/issues/836
4136                // copy the tasks array before invoke, to avoid
4137                // the callback will remove itself or other listener
4138                var copyTasks = tasks.slice();
4139                for (var i = 0; i < copyTasks.length; i++) {
4140                    if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {
4141                        break;
4142                    }
4143                    invokeTask(copyTasks[i], target, event);
4144                }
4145            }
4146        }
4147    };
4148    // global shared zoneAwareCallback to handle all event callback with capture = true
4149    var globalZoneAwareCaptureCallback = function (event) {
4150        // https://github.com/angular/zone.js/issues/911, in IE, sometimes
4151        // event will be undefined, so we need to use window.event
4152        event = event || _global.event;
4153        if (!event) {
4154            return;
4155        }
4156        // event.target is needed for Samsung TV and SourceBuffer
4157        // || global is needed https://github.com/angular/zone.js/issues/190
4158        var target = this || event.target || _global;
4159        var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];
4160        if (tasks) {
4161            // invoke all tasks which attached to current target with given event.type and capture = false
4162            // for performance concern, if task.length === 1, just invoke
4163            if (tasks.length === 1) {
4164                invokeTask(tasks[0], target, event);
4165            }
4166            else {
4167                // https://github.com/angular/zone.js/issues/836
4168                // copy the tasks array before invoke, to avoid
4169                // the callback will remove itself or other listener
4170                var copyTasks = tasks.slice();
4171                for (var i = 0; i < copyTasks.length; i++) {
4172                    if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {
4173                        break;
4174                    }
4175                    invokeTask(copyTasks[i], target, event);
4176                }
4177            }
4178        }
4179    };
4180    function patchEventTargetMethods(obj, patchOptions) {
4181        if (!obj) {
4182            return false;
4183        }
4184        var useGlobalCallback = true;
4185        if (patchOptions && patchOptions.useG !== undefined) {
4186            useGlobalCallback = patchOptions.useG;
4187        }
4188        var validateHandler = patchOptions && patchOptions.vh;
4189        var checkDuplicate = true;
4190        if (patchOptions && patchOptions.chkDup !== undefined) {
4191            checkDuplicate = patchOptions.chkDup;
4192        }
4193        var returnTarget = false;
4194        if (patchOptions && patchOptions.rt !== undefined) {
4195            returnTarget = patchOptions.rt;
4196        }
4197        var proto = obj;
4198        while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {
4199            proto = ObjectGetPrototypeOf(proto);
4200        }
4201        if (!proto && obj[ADD_EVENT_LISTENER]) {
4202            // somehow we did not find it, but we can see it. This happens on IE for Window properties.
4203            proto = obj;
4204        }
4205        if (!proto) {
4206            return false;
4207        }
4208        if (proto[zoneSymbolAddEventListener]) {
4209            return false;
4210        }
4211        var eventNameToString = patchOptions && patchOptions.eventNameToString;
4212        // a shared global taskData to pass data for scheduleEventTask
4213        // so we do not need to create a new object just for pass some data
4214        var taskData = {};
4215        var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];
4216        var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =
4217            proto[REMOVE_EVENT_LISTENER];
4218        var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =
4219            proto[LISTENERS_EVENT_LISTENER];
4220        var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =
4221            proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];
4222        var nativePrependEventListener;
4223        if (patchOptions && patchOptions.prepend) {
4224            nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =
4225                proto[patchOptions.prepend];
4226        }
4227        function checkIsPassive(task) {
4228            if (!passiveSupported && typeof taskData.options !== 'boolean' &&
4229                typeof taskData.options !== 'undefined' && taskData.options !== null) {
4230                // options is a non-null non-undefined object
4231                // passive is not supported
4232                // don't pass options as object
4233                // just pass capture as a boolean
4234                task.options = !!taskData.options.capture;
4235                taskData.options = task.options;
4236            }
4237        }
4238        var customScheduleGlobal = function (task) {
4239            // if there is already a task for the eventName + capture,
4240            // just return, because we use the shared globalZoneAwareCallback here.
4241            if (taskData.isExisting) {
4242                return;
4243            }
4244            checkIsPassive(task);
4245            return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);
4246        };
4247        var customCancelGlobal = function (task) {
4248            // if task is not marked as isRemoved, this call is directly
4249            // from Zone.prototype.cancelTask, we should remove the task
4250            // from tasksList of target first
4251            if (!task.isRemoved) {
4252                var symbolEventNames = zoneSymbolEventNames$1[task.eventName];
4253                var symbolEventName = void 0;
4254                if (symbolEventNames) {
4255                    symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];
4256                }
4257                var existingTasks = symbolEventName && task.target[symbolEventName];
4258                if (existingTasks) {
4259                    for (var i = 0; i < existingTasks.length; i++) {
4260                        var existingTask = existingTasks[i];
4261                        if (existingTask === task) {
4262                            existingTasks.splice(i, 1);
4263                            // set isRemoved to data for faster invokeTask check
4264                            task.isRemoved = true;
4265                            if (existingTasks.length === 0) {
4266                                // all tasks for the eventName + capture have gone,
4267                                // remove globalZoneAwareCallback and remove the task cache from target
4268                                task.allRemoved = true;
4269                                task.target[symbolEventName] = null;
4270                            }
4271                            break;
4272                        }
4273                    }
4274                }
4275            }
4276            // if all tasks for the eventName + capture have gone,
4277            // we will really remove the global event callback,
4278            // if not, return
4279            if (!task.allRemoved) {
4280                return;
4281            }
4282            return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);
4283        };
4284        var customScheduleNonGlobal = function (task) {
4285            checkIsPassive(task);
4286            return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);
4287        };
4288        var customSchedulePrepend = function (task) {
4289            return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);
4290        };
4291        var customCancelNonGlobal = function (task) {
4292            return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);
4293        };
4294        var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;
4295        var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;
4296        var compareTaskCallbackVsDelegate = function (task, delegate) {
4297            var typeOfDelegate = typeof delegate;
4298            return (typeOfDelegate === 'function' && task.callback === delegate) ||
4299                (typeOfDelegate === 'object' && task.originalDelegate === delegate);
4300        };
4301        var compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;
4302        var blackListedEvents = Zone[Zone.__symbol__('BLACK_LISTED_EVENTS')];
4303        var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {
4304            if (returnTarget === void 0) { returnTarget = false; }
4305            if (prepend === void 0) { prepend = false; }
4306            return function () {
4307                var target = this || _global;
4308                var eventName = arguments[0];
4309                var delegate = arguments[1];
4310                if (!delegate) {
4311                    return nativeListener.apply(this, arguments);
4312                }
4313                if (isNode && eventName === 'uncaughtException') {
4314                    // don't patch uncaughtException of nodejs to prevent endless loop
4315                    return nativeListener.apply(this, arguments);
4316                }
4317                // don't create the bind delegate function for handleEvent
4318                // case here to improve addEventListener performance
4319                // we will create the bind delegate when invoke
4320                var isHandleEvent = false;
4321                if (typeof delegate !== 'function') {
4322                    if (!delegate.handleEvent) {
4323                        return nativeListener.apply(this, arguments);
4324                    }
4325                    isHandleEvent = true;
4326                }
4327                if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {
4328                    return;
4329                }
4330                var options = arguments[2];
4331                if (blackListedEvents) {
4332                    // check black list
4333                    for (var i = 0; i < blackListedEvents.length; i++) {
4334                        if (eventName === blackListedEvents[i]) {
4335                            return nativeListener.apply(this, arguments);
4336                        }
4337                    }
4338                }
4339                var capture;
4340                var once = false;
4341                if (options === undefined) {
4342                    capture = false;
4343                }
4344                else if (options === true) {
4345                    capture = true;
4346                }
4347                else if (options === false) {
4348                    capture = false;
4349                }
4350                else {
4351                    capture = options ? !!options.capture : false;
4352                    once = options ? !!options.once : false;
4353                }
4354                var zone = Zone.current;
4355                var symbolEventNames = zoneSymbolEventNames$1[eventName];
4356                var symbolEventName;
4357                if (!symbolEventNames) {
4358                    // the code is duplicate, but I just want to get some better performance
4359                    var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;
4360                    var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;
4361                    var symbol = ZONE_SYMBOL_PREFIX + falseEventName;
4362                    var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;
4363                    zoneSymbolEventNames$1[eventName] = {};
4364                    zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;
4365                    zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;
4366                    symbolEventName = capture ? symbolCapture : symbol;
4367                }
4368                else {
4369                    symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];
4370                }
4371                var existingTasks = target[symbolEventName];
4372                var isExisting = false;
4373                if (existingTasks) {
4374                    // already have task registered
4375                    isExisting = true;
4376                    if (checkDuplicate) {
4377                        for (var i = 0; i < existingTasks.length; i++) {
4378                            if (compare(existingTasks[i], delegate)) {
4379                                // same callback, same capture, same event name, just return
4380                                return;
4381                            }
4382                        }
4383                    }
4384                }
4385                else {
4386                    existingTasks = target[symbolEventName] = [];
4387                }
4388                var source;
4389                var constructorName = target.constructor['name'];
4390                var targetSource = globalSources[constructorName];
4391                if (targetSource) {
4392                    source = targetSource[eventName];
4393                }
4394                if (!source) {
4395                    source = constructorName + addSource +
4396                        (eventNameToString ? eventNameToString(eventName) : eventName);
4397                }
4398                // do not create a new object as task.data to pass those things
4399                // just use the global shared one
4400                taskData.options = options;
4401                if (once) {
4402                    // if addEventListener with once options, we don't pass it to
4403                    // native addEventListener, instead we keep the once setting
4404                    // and handle ourselves.
4405                    taskData.options.once = false;
4406                }
4407                taskData.target = target;
4408                taskData.capture = capture;
4409                taskData.eventName = eventName;
4410                taskData.isExisting = isExisting;
4411                var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;
4412                // keep taskData into data to allow onScheduleEventTask to access the task information
4413                if (data) {
4414                    data.taskData = taskData;
4415                }
4416                var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);
4417                // should clear taskData.target to avoid memory leak
4418                // issue, https://github.com/angular/angular/issues/20442
4419                taskData.target = null;
4420                // need to clear up taskData because it is a global object
4421                if (data) {
4422                    data.taskData = null;
4423                }
4424                // have to save those information to task in case
4425                // application may call task.zone.cancelTask() directly
4426                if (once) {
4427                    options.once = true;
4428                }
4429                if (!(!passiveSupported && typeof task.options === 'boolean')) {
4430                    // if not support passive, and we pass an option object
4431                    // to addEventListener, we should save the options to task
4432                    task.options = options;
4433                }
4434                task.target = target;
4435                task.capture = capture;
4436                task.eventName = eventName;
4437                if (isHandleEvent) {
4438                    // save original delegate for compare to check duplicate
4439                    task.originalDelegate = delegate;
4440                }
4441                if (!prepend) {
4442                    existingTasks.push(task);
4443                }
4444                else {
4445                    existingTasks.unshift(task);
4446                }
4447                if (returnTarget) {
4448                    return target;
4449                }
4450            };
4451        };
4452        proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);
4453        if (nativePrependEventListener) {
4454            proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);
4455        }
4456        proto[REMOVE_EVENT_LISTENER] = function () {
4457            var target = this || _global;
4458            var eventName = arguments[0];
4459            var options = arguments[2];
4460            var capture;
4461            if (options === undefined) {
4462                capture = false;
4463            }
4464            else if (options === true) {
4465                capture = true;
4466            }
4467            else if (options === false) {
4468                capture = false;
4469            }
4470            else {
4471                capture = options ? !!options.capture : false;
4472            }
4473            var delegate = arguments[1];
4474            if (!delegate) {
4475                return nativeRemoveEventListener.apply(this, arguments);
4476            }
4477            if (validateHandler &&
4478                !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {
4479                return;
4480            }
4481            var symbolEventNames = zoneSymbolEventNames$1[eventName];
4482            var symbolEventName;
4483            if (symbolEventNames) {
4484                symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];
4485            }
4486            var existingTasks = symbolEventName && target[symbolEventName];
4487            if (existingTasks) {
4488                for (var i = 0; i < existingTasks.length; i++) {
4489                    var existingTask = existingTasks[i];
4490                    if (compare(existingTask, delegate)) {
4491                        existingTasks.splice(i, 1);
4492                        // set isRemoved to data for faster invokeTask check
4493                        existingTask.isRemoved = true;
4494                        if (existingTasks.length === 0) {
4495                            // all tasks for the eventName + capture have gone,
4496                            // remove globalZoneAwareCallback and remove the task cache from target
4497                            existingTask.allRemoved = true;
4498                            target[symbolEventName] = null;
4499                        }
4500                        existingTask.zone.cancelTask(existingTask);
4501                        if (returnTarget) {
4502                            return target;
4503                        }
4504                        return;
4505                    }
4506                }
4507            }
4508            // issue 930, didn't find the event name or callback
4509            // from zone kept existingTasks, the callback maybe
4510            // added outside of zone, we need to call native removeEventListener
4511            // to try to remove it.
4512            return nativeRemoveEventListener.apply(this, arguments);
4513        };
4514        proto[LISTENERS_EVENT_LISTENER] = function () {
4515            var target = this || _global;
4516            var eventName = arguments[0];
4517            var listeners = [];
4518            var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);
4519            for (var i = 0; i < tasks.length; i++) {
4520                var task = tasks[i];
4521                var delegate = task.originalDelegate ? task.originalDelegate : task.callback;
4522                listeners.push(delegate);
4523            }
4524            return listeners;
4525        };
4526        proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {
4527            var target = this || _global;
4528            var eventName = arguments[0];
4529            if (!eventName) {
4530                var keys = Object.keys(target);
4531                for (var i = 0; i < keys.length; i++) {
4532                    var prop = keys[i];
4533                    var match = EVENT_NAME_SYMBOL_REGX.exec(prop);
4534                    var evtName = match && match[1];
4535                    // in nodejs EventEmitter, removeListener event is
4536                    // used for monitoring the removeListener call,
4537                    // so just keep removeListener eventListener until
4538                    // all other eventListeners are removed
4539                    if (evtName && evtName !== 'removeListener') {
4540                        this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);
4541                    }
4542                }
4543                // remove removeListener listener finally
4544                this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');
4545            }
4546            else {
4547                var symbolEventNames = zoneSymbolEventNames$1[eventName];
4548                if (symbolEventNames) {
4549                    var symbolEventName = symbolEventNames[FALSE_STR];
4550                    var symbolCaptureEventName = symbolEventNames[TRUE_STR];
4551                    var tasks = target[symbolEventName];
4552                    var captureTasks = target[symbolCaptureEventName];
4553                    if (tasks) {
4554                        var removeTasks = tasks.slice();
4555                        for (var i = 0; i < removeTasks.length; i++) {
4556                            var task = removeTasks[i];
4557                            var delegate = task.originalDelegate ? task.originalDelegate : task.callback;
4558                            this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);
4559                        }
4560                    }
4561                    if (captureTasks) {
4562                        var removeTasks = captureTasks.slice();
4563                        for (var i = 0; i < removeTasks.length; i++) {
4564                            var task = removeTasks[i];
4565                            var delegate = task.originalDelegate ? task.originalDelegate : task.callback;
4566                            this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);
4567                        }
4568                    }
4569                }
4570            }
4571            if (returnTarget) {
4572                return this;
4573            }
4574        };
4575        // for native toString patch
4576        attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);
4577        attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);
4578        if (nativeRemoveAllListeners) {
4579            attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);
4580        }
4581        if (nativeListeners) {
4582            attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);
4583        }
4584        return true;
4585    }
4586    var results = [];
4587    for (var i = 0; i < apis.length; i++) {
4588        results[i] = patchEventTargetMethods(apis[i], patchOptions);
4589    }
4590    return results;
4591}
4592function findEventTasks(target, eventName) {
4593    var foundTasks = [];
4594    for (var prop in target) {
4595        var match = EVENT_NAME_SYMBOL_REGX.exec(prop);
4596        var evtName = match && match[1];
4597        if (evtName && (!eventName || evtName === eventName)) {
4598            var tasks = target[prop];
4599            if (tasks) {
4600                for (var i = 0; i < tasks.length; i++) {
4601                    foundTasks.push(tasks[i]);
4602                }
4603            }
4604        }
4605    }
4606    return foundTasks;
4607}
4608function patchEventPrototype(global, api) {
4609    var Event = global['Event'];
4610    if (Event && Event.prototype) {
4611        api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { return function (self, args) {
4612            self[IMMEDIATE_PROPAGATION_SYMBOL] = true;
4613            // we need to call the native stopImmediatePropagation
4614            // in case in some hybrid application, some part of
4615            // application will be controlled by zone, some are not
4616            delegate && delegate.apply(self, args);
4617        }; });
4618    }
4619}
4620
4621/**
4622 * @license
4623 * Copyright Google Inc. All Rights Reserved.
4624 *
4625 * Use of this source code is governed by an MIT-style license that can be
4626 * found in the LICENSE file at https://angular.io/license
4627 */
4628/**
4629 * @fileoverview
4630 * @suppress {missingRequire}
4631 */
4632var taskSymbol = zoneSymbol('zoneTask');
4633function patchTimer(window, setName, cancelName, nameSuffix) {
4634    var setNative = null;
4635    var clearNative = null;
4636    setName += nameSuffix;
4637    cancelName += nameSuffix;
4638    var tasksByHandleId = {};
4639    function scheduleTask(task) {
4640        var data = task.data;
4641        function timer() {
4642            try {
4643                task.invoke.apply(this, arguments);
4644            }
4645            finally {
4646                // issue-934, task will be cancelled
4647                // even it is a periodic task such as
4648                // setInterval
4649                if (!(task.data && task.data.isPeriodic)) {
4650                    if (typeof data.handleId === 'number') {
4651                        // in non-nodejs env, we remove timerId
4652                        // from local cache
4653                        delete tasksByHandleId[data.handleId];
4654                    }
4655                    else if (data.handleId) {
4656                        // Node returns complex objects as handleIds
4657                        // we remove task reference from timer object
4658                        data.handleId[taskSymbol] = null;
4659                    }
4660                }
4661            }
4662        }
4663        data.args[0] = timer;
4664        data.handleId = setNative.apply(window, data.args);
4665        return task;
4666    }
4667    function clearTask(task) {
4668        return clearNative(task.data.handleId);
4669    }
4670    setNative =
4671        patchMethod(window, setName, function (delegate) { return function (self, args) {
4672            if (typeof args[0] === 'function') {
4673                var options = {
4674                    isPeriodic: nameSuffix === 'Interval',
4675                    delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :
4676                        undefined,
4677                    args: args
4678                };
4679                var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options, scheduleTask, clearTask);
4680                if (!task) {
4681                    return task;
4682                }
4683                // Node.js must additionally support the ref and unref functions.
4684                var handle = task.data.handleId;
4685                if (typeof handle === 'number') {
4686                    // for non nodejs env, we save handleId: task
4687                    // mapping in local cache for clearTimeout
4688                    tasksByHandleId[handle] = task;
4689                }
4690                else if (handle) {
4691                    // for nodejs env, we save task
4692                    // reference in timerId Object for clearTimeout
4693                    handle[taskSymbol] = task;
4694                }
4695                // check whether handle is null, because some polyfill or browser
4696                // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame
4697                if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&
4698                    typeof handle.unref === 'function') {
4699                    task.ref = handle.ref.bind(handle);
4700                    task.unref = handle.unref.bind(handle);
4701                }
4702                if (typeof handle === 'number' || handle) {
4703                    return handle;
4704                }
4705                return task;
4706            }
4707            else {
4708                // cause an error by calling it directly.
4709                return delegate.apply(window, args);
4710            }
4711        }; });
4712    clearNative =
4713        patchMethod(window, cancelName, function (delegate) { return function (self, args) {
4714            var id = args[0];
4715            var task;
4716            if (typeof id === 'number') {
4717                // non nodejs env.
4718                task = tasksByHandleId[id];
4719            }
4720            else {
4721                // nodejs env.
4722                task = id && id[taskSymbol];
4723                // other environments.
4724                if (!task) {
4725                    task = id;
4726                }
4727            }
4728            if (task && typeof task.type === 'string') {
4729                if (task.state !== 'notScheduled' &&
4730                    (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {
4731                    if (typeof id === 'number') {
4732                        delete tasksByHandleId[id];
4733                    }
4734                    else if (id) {
4735                        id[taskSymbol] = null;
4736                    }
4737                    // Do not cancel already canceled functions
4738                    task.zone.cancelTask(task);
4739                }
4740            }
4741            else {
4742                // cause an error by calling it directly.
4743                delegate.apply(window, args);
4744            }
4745        }; });
4746}
4747
4748/**
4749 * @license
4750 * Copyright Google Inc. All Rights Reserved.
4751 *
4752 * Use of this source code is governed by an MIT-style license that can be
4753 * found in the LICENSE file at https://angular.io/license
4754 */
4755/*
4756 * This is necessary for Chrome and Chrome mobile, to enable
4757 * things like redefining `createdCallback` on an element.
4758 */
4759var _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;
4760var _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =
4761    Object.getOwnPropertyDescriptor;
4762var _create = Object.create;
4763var unconfigurablesKey = zoneSymbol('unconfigurables');
4764function propertyPatch() {
4765    Object.defineProperty = function (obj, prop, desc) {
4766        if (isUnconfigurable(obj, prop)) {
4767            throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj);
4768        }
4769        var originalConfigurableFlag = desc.configurable;
4770        if (prop !== 'prototype') {
4771            desc = rewriteDescriptor(obj, prop, desc);
4772        }
4773        return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);
4774    };
4775    Object.defineProperties = function (obj, props) {
4776        Object.keys(props).forEach(function (prop) {
4777            Object.defineProperty(obj, prop, props[prop]);
4778        });
4779        return obj;
4780    };
4781    Object.create = function (obj, proto) {
4782        if (typeof proto === 'object' && !Object.isFrozen(proto)) {
4783            Object.keys(proto).forEach(function (prop) {
4784                proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);
4785            });
4786        }
4787        return _create(obj, proto);
4788    };
4789    Object.getOwnPropertyDescriptor = function (obj, prop) {
4790        var desc = _getOwnPropertyDescriptor(obj, prop);
4791        if (desc && isUnconfigurable(obj, prop)) {
4792            desc.configurable = false;
4793        }
4794        return desc;
4795    };
4796}
4797function _redefineProperty(obj, prop, desc) {
4798    var originalConfigurableFlag = desc.configurable;
4799    desc = rewriteDescriptor(obj, prop, desc);
4800    return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);
4801}
4802function isUnconfigurable(obj, prop) {
4803    return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];
4804}
4805function rewriteDescriptor(obj, prop, desc) {
4806    // issue-927, if the desc is frozen, don't try to change the desc
4807    if (!Object.isFrozen(desc)) {
4808        desc.configurable = true;
4809    }
4810    if (!desc.configurable) {
4811        // issue-927, if the obj is frozen, don't try to set the desc to obj
4812        if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {
4813            _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });
4814        }
4815        if (obj[unconfigurablesKey]) {
4816            obj[unconfigurablesKey][prop] = true;
4817        }
4818    }
4819    return desc;
4820}
4821function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {
4822    try {
4823        return _defineProperty(obj, prop, desc);
4824    }
4825    catch (error) {
4826        if (desc.configurable) {
4827            // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's
4828            // retry with the original flag value
4829            if (typeof originalConfigurableFlag == 'undefined') {
4830                delete desc.configurable;
4831            }
4832            else {
4833                desc.configurable = originalConfigurableFlag;
4834            }
4835            try {
4836                return _defineProperty(obj, prop, desc);
4837            }
4838            catch (error) {
4839                var descJson = null;
4840                try {
4841                    descJson = JSON.stringify(desc);
4842                }
4843                catch (error) {
4844                    descJson = desc.toString();
4845                }
4846                console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error);
4847            }
4848        }
4849        else {
4850            throw error;
4851        }
4852    }
4853}
4854
4855/**
4856 * @license
4857 * Copyright Google Inc. All Rights Reserved.
4858 *
4859 * Use of this source code is governed by an MIT-style license that can be
4860 * found in the LICENSE file at https://angular.io/license
4861 */
4862// we have to patch the instance since the proto is non-configurable
4863function apply(api, _global) {
4864    var WS = _global.WebSocket;
4865    // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener
4866    // On older Chrome, no need since EventTarget was already patched
4867    if (!_global.EventTarget) {
4868        patchEventTarget(_global, [WS.prototype]);
4869    }
4870    _global.WebSocket = function (x, y) {
4871        var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);
4872        var proxySocket;
4873        var proxySocketProto;
4874        // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance
4875        var onmessageDesc = ObjectGetOwnPropertyDescriptor(socket, 'onmessage');
4876        if (onmessageDesc && onmessageDesc.configurable === false) {
4877            proxySocket = ObjectCreate(socket);
4878            // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'
4879            // but proxySocket not, so we will keep socket as prototype and pass it to
4880            // patchOnProperties method
4881            proxySocketProto = socket;
4882            [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {
4883                proxySocket[propName] = function () {
4884                    var args = ArraySlice.call(arguments);
4885                    if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {
4886                        var eventName = args.length > 0 ? args[0] : undefined;
4887                        if (eventName) {
4888                            var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);
4889                            socket[propertySymbol] = proxySocket[propertySymbol];
4890                        }
4891                    }
4892                    return socket[propName].apply(socket, args);
4893                };
4894            });
4895        }
4896        else {
4897            // we can patch the real socket
4898            proxySocket = socket;
4899        }
4900        patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);
4901        return proxySocket;
4902    };
4903    var globalWebSocket = _global['WebSocket'];
4904    for (var prop in WS) {
4905        globalWebSocket[prop] = WS[prop];
4906    }
4907}
4908
4909/**
4910 * @license
4911 * Copyright Google Inc. All Rights Reserved.
4912 *
4913 * Use of this source code is governed by an MIT-style license that can be
4914 * found in the LICENSE file at https://angular.io/license
4915 */
4916/**
4917 * @fileoverview
4918 * @suppress {globalThis}
4919 */
4920var globalEventHandlersEventNames = [
4921    'abort',
4922    'animationcancel',
4923    'animationend',
4924    'animationiteration',
4925    'auxclick',
4926    'beforeinput',
4927    'blur',
4928    'cancel',
4929    'canplay',
4930    'canplaythrough',
4931    'change',
4932    'compositionstart',
4933    'compositionupdate',
4934    'compositionend',
4935    'cuechange',
4936    'click',
4937    'close',
4938    'contextmenu',
4939    'curechange',
4940    'dblclick',
4941    'drag',
4942    'dragend',
4943    'dragenter',
4944    'dragexit',
4945    'dragleave',
4946    'dragover',
4947    'drop',
4948    'durationchange',
4949    'emptied',
4950    'ended',
4951    'error',
4952    'focus',
4953    'focusin',
4954    'focusout',
4955    'gotpointercapture',
4956    'input',
4957    'invalid',
4958    'keydown',
4959    'keypress',
4960    'keyup',
4961    'load',
4962    'loadstart',
4963    'loadeddata',
4964    'loadedmetadata',
4965    'lostpointercapture',
4966    'mousedown',
4967    'mouseenter',
4968    'mouseleave',
4969    'mousemove',
4970    'mouseout',
4971    'mouseover',
4972    'mouseup',
4973    'mousewheel',
4974    'orientationchange',
4975    'pause',
4976    'play',
4977    'playing',
4978    'pointercancel',
4979    'pointerdown',
4980    'pointerenter',
4981    'pointerleave',
4982    'pointerlockchange',
4983    'mozpointerlockchange',
4984    'webkitpointerlockerchange',
4985    'pointerlockerror',
4986    'mozpointerlockerror',
4987    'webkitpointerlockerror',
4988    'pointermove',
4989    'pointout',
4990    'pointerover',
4991    'pointerup',
4992    'progress',
4993    'ratechange',
4994    'reset',
4995    'resize',
4996    'scroll',
4997    'seeked',
4998    'seeking',
4999    'select',
5000    'selectionchange',
5001    'selectstart',
5002    'show',
5003    'sort',
5004    'stalled',
5005    'submit',
5006    'suspend',
5007    'timeupdate',
5008    'volumechange',
5009    'touchcancel',
5010    'touchmove',
5011    'touchstart',
5012    'touchend',
5013    'transitioncancel',
5014    'transitionend',
5015    'waiting',
5016    'wheel'
5017];
5018var documentEventNames = [
5019    'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',
5020    'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',
5021    'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',
5022    'visibilitychange', 'resume'
5023];
5024var windowEventNames = [
5025    'absolutedeviceorientation',
5026    'afterinput',
5027    'afterprint',
5028    'appinstalled',
5029    'beforeinstallprompt',
5030    'beforeprint',
5031    'beforeunload',
5032    'devicelight',
5033    'devicemotion',
5034    'deviceorientation',
5035    'deviceorientationabsolute',
5036    'deviceproximity',
5037    'hashchange',
5038    'languagechange',
5039    'message',
5040    'mozbeforepaint',
5041    'offline',
5042    'online',
5043    'paint',
5044    'pageshow',
5045    'pagehide',
5046    'popstate',
5047    'rejectionhandled',
5048    'storage',
5049    'unhandledrejection',
5050    'unload',
5051    'userproximity',
5052    'vrdisplyconnected',
5053    'vrdisplaydisconnected',
5054    'vrdisplaypresentchange'
5055];
5056var htmlElementEventNames = [
5057    'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',
5058    'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',
5059    'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'
5060];
5061var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];
5062var ieElementEventNames = [
5063    'activate',
5064    'afterupdate',
5065    'ariarequest',
5066    'beforeactivate',
5067    'beforedeactivate',
5068    'beforeeditfocus',
5069    'beforeupdate',
5070    'cellchange',
5071    'controlselect',
5072    'dataavailable',
5073    'datasetchanged',
5074    'datasetcomplete',
5075    'errorupdate',
5076    'filterchange',
5077    'layoutcomplete',
5078    'losecapture',
5079    'move',
5080    'moveend',
5081    'movestart',
5082    'propertychange',
5083    'resizeend',
5084    'resizestart',
5085    'rowenter',
5086    'rowexit',
5087    'rowsdelete',
5088    'rowsinserted',
5089    'command',
5090    'compassneedscalibration',
5091    'deactivate',
5092    'help',
5093    'mscontentzoom',
5094    'msmanipulationstatechanged',
5095    'msgesturechange',
5096    'msgesturedoubletap',
5097    'msgestureend',
5098    'msgesturehold',
5099    'msgesturestart',
5100    'msgesturetap',
5101    'msgotpointercapture',
5102    'msinertiastart',
5103    'mslostpointercapture',
5104    'mspointercancel',
5105    'mspointerdown',
5106    'mspointerenter',
5107    'mspointerhover',
5108    'mspointerleave',
5109    'mspointermove',
5110    'mspointerout',
5111    'mspointerover',
5112    'mspointerup',
5113    'pointerout',
5114    'mssitemodejumplistitemremoved',
5115    'msthumbnailclick',
5116    'stop',
5117    'storagecommit'
5118];
5119var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];
5120var formEventNames = ['autocomplete', 'autocompleteerror'];
5121var detailEventNames = ['toggle'];
5122var frameEventNames = ['load'];
5123var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];
5124var marqueeEventNames = ['bounce', 'finish', 'start'];
5125var XMLHttpRequestEventNames = [
5126    'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',
5127    'readystatechange'
5128];
5129var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];
5130var websocketEventNames = ['close', 'error', 'open', 'message'];
5131var workerEventNames = ['error', 'message'];
5132var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);
5133function filterProperties(target, onProperties, ignoreProperties) {
5134    if (!ignoreProperties || ignoreProperties.length === 0) {
5135        return onProperties;
5136    }
5137    var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });
5138    if (!tip || tip.length === 0) {
5139        return onProperties;
5140    }
5141    var targetIgnoreProperties = tip[0].ignoreProperties;
5142    return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });
5143}
5144function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {
5145    // check whether target is available, sometimes target will be undefined
5146    // because different browser or some 3rd party plugin.
5147    if (!target) {
5148        return;
5149    }
5150    var filteredProperties = filterProperties(target, onProperties, ignoreProperties);
5151    patchOnProperties(target, filteredProperties, prototype);
5152}
5153function propertyDescriptorPatch(api, _global) {
5154    if (isNode && !isMix) {
5155        return;
5156    }
5157    var supportsWebSocket = typeof WebSocket !== 'undefined';
5158    if (canPatchViaPropertyDescriptor()) {
5159        var ignoreProperties = _global['__Zone_ignore_on_properties'];
5160        // for browsers that we can patch the descriptor:  Chrome & Firefox
5161        if (isBrowser) {
5162            var internalWindow = window;
5163            var ignoreErrorProperties = isIE ? [{ target: internalWindow, ignoreProperties: ['error'] }] : [];
5164            // in IE/Edge, onProp not exist in window object, but in WindowPrototype
5165            // so we need to pass WindowPrototype to check onProp exist or not
5166            patchFilteredProperties(internalWindow, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow));
5167            patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);
5168            if (typeof internalWindow['SVGElement'] !== 'undefined') {
5169                patchFilteredProperties(internalWindow['SVGElement'].prototype, eventNames, ignoreProperties);
5170            }
5171            patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);
5172            patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);
5173            patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);
5174            patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);
5175            patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);
5176            patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);
5177            patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);
5178            var HTMLMarqueeElement_1 = internalWindow['HTMLMarqueeElement'];
5179            if (HTMLMarqueeElement_1) {
5180                patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);
5181            }
5182            var Worker_1 = internalWindow['Worker'];
5183            if (Worker_1) {
5184                patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties);
5185            }
5186        }
5187        patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);
5188        var XMLHttpRequestEventTarget_1 = _global['XMLHttpRequestEventTarget'];
5189        if (XMLHttpRequestEventTarget_1) {
5190            patchFilteredProperties(XMLHttpRequestEventTarget_1 && XMLHttpRequestEventTarget_1.prototype, XMLHttpRequestEventNames, ignoreProperties);
5191        }
5192        if (typeof IDBIndex !== 'undefined') {
5193            patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);
5194            patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);
5195            patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);
5196            patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);
5197            patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);
5198            patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);
5199        }
5200        if (supportsWebSocket) {
5201            patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);
5202        }
5203    }
5204    else {
5205        // Safari, Android browsers (Jelly Bean)
5206        patchViaCapturingAllTheEvents();
5207        patchClass('XMLHttpRequest');
5208        if (supportsWebSocket) {
5209            apply(api, _global);
5210        }
5211    }
5212}
5213function canPatchViaPropertyDescriptor() {
5214    if ((isBrowser || isMix) && !ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&
5215        typeof Element !== 'undefined') {
5216        // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364
5217        // IDL interface attributes are not configurable
5218        var desc = ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');
5219        if (desc && !desc.configurable)
5220            return false;
5221    }
5222    var ON_READY_STATE_CHANGE = 'onreadystatechange';
5223    var XMLHttpRequestPrototype = XMLHttpRequest.prototype;
5224    var xhrDesc = ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE);
5225    // add enumerable and configurable here because in opera
5226    // by default XMLHttpRequest.prototype.onreadystatechange is undefined
5227    // without adding enumerable and configurable will cause onreadystatechange
5228    // non-configurable
5229    // and if XMLHttpRequest.prototype.onreadystatechange is undefined,
5230    // we should set a real desc instead a fake one
5231    if (xhrDesc) {
5232        ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {
5233            enumerable: true,
5234            configurable: true,
5235            get: function () {
5236                return true;
5237            }
5238        });
5239        var req = new XMLHttpRequest();
5240        var result = !!req.onreadystatechange;
5241        // restore original desc
5242        ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});
5243        return result;
5244    }
5245    else {
5246        var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = zoneSymbol('fake');
5247        ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {
5248            enumerable: true,
5249            configurable: true,
5250            get: function () {
5251                return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];
5252            },
5253            set: function (value) {
5254                this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;
5255            }
5256        });
5257        var req = new XMLHttpRequest();
5258        var detectFunc = function () { };
5259        req.onreadystatechange = detectFunc;
5260        var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;
5261        req.onreadystatechange = null;
5262        return result;
5263    }
5264}
5265var unboundKey = zoneSymbol('unbound');
5266// Whenever any eventListener fires, we check the eventListener target and all parents
5267// for `onwhatever` properties and replace them with zone-bound functions
5268// - Chrome (for now)
5269function patchViaCapturingAllTheEvents() {
5270    var _loop_1 = function (i) {
5271        var property = eventNames[i];
5272        var onproperty = 'on' + property;
5273        self.addEventListener(property, function (event) {
5274            var elt = event.target, bound, source;
5275            if (elt) {
5276                source = elt.constructor['name'] + '.' + onproperty;
5277            }
5278            else {
5279                source = 'unknown.' + onproperty;
5280            }
5281            while (elt) {
5282                if (elt[onproperty] && !elt[onproperty][unboundKey]) {
5283                    bound = wrapWithCurrentZone(elt[onproperty], source);
5284                    bound[unboundKey] = elt[onproperty];
5285                    elt[onproperty] = bound;
5286                }
5287                elt = elt.parentElement;
5288            }
5289        }, true);
5290    };
5291    for (var i = 0; i < eventNames.length; i++) {
5292        _loop_1(i);
5293    }
5294}
5295
5296/**
5297 * @license
5298 * Copyright Google Inc. All Rights Reserved.
5299 *
5300 * Use of this source code is governed by an MIT-style license that can be
5301 * found in the LICENSE file at https://angular.io/license
5302 */
5303function eventTargetPatch(_global, api) {
5304    var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';
5305    var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'
5306        .split(',');
5307    var EVENT_TARGET = 'EventTarget';
5308    var apis = [];
5309    var isWtf = _global['wtf'];
5310    var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');
5311    if (isWtf) {
5312        // Workaround for: https://github.com/google/tracing-framework/issues/555
5313        apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);
5314    }
5315    else if (_global[EVENT_TARGET]) {
5316        apis.push(EVENT_TARGET);
5317    }
5318    else {
5319        // Note: EventTarget is not available in all browsers,
5320        // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget
5321        apis = NO_EVENT_TARGET;
5322    }
5323    var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;
5324    var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;
5325    var ieOrEdge = isIEOrEdge();
5326    var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';
5327    var FUNCTION_WRAPPER = '[object FunctionWrapper]';
5328    var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';
5329    //  predefine all __zone_symbol__ + eventName + true/false string
5330    for (var i = 0; i < eventNames.length; i++) {
5331        var eventName = eventNames[i];
5332        var falseEventName = eventName + FALSE_STR;
5333        var trueEventName = eventName + TRUE_STR;
5334        var symbol = ZONE_SYMBOL_PREFIX + falseEventName;
5335        var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;
5336        zoneSymbolEventNames$1[eventName] = {};
5337        zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;
5338        zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;
5339    }
5340    //  predefine all task.source string
5341    for (var i = 0; i < WTF_ISSUE_555.length; i++) {
5342        var target = WTF_ISSUE_555_ARRAY[i];
5343        var targets = globalSources[target] = {};
5344        for (var j = 0; j < eventNames.length; j++) {
5345            var eventName = eventNames[j];
5346            targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;
5347        }
5348    }
5349    var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {
5350        if (!isDisableIECheck && ieOrEdge) {
5351            if (isEnableCrossContextCheck) {
5352                try {
5353                    var testString = delegate.toString();
5354                    if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {
5355                        nativeDelegate.apply(target, args);
5356                        return false;
5357                    }
5358                }
5359                catch (error) {
5360                    nativeDelegate.apply(target, args);
5361                    return false;
5362                }
5363            }
5364            else {
5365                var testString = delegate.toString();
5366                if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {
5367                    nativeDelegate.apply(target, args);
5368                    return false;
5369                }
5370            }
5371        }
5372        else if (isEnableCrossContextCheck) {
5373            try {
5374                delegate.toString();
5375            }
5376            catch (error) {
5377                nativeDelegate.apply(target, args);
5378                return false;
5379            }
5380        }
5381        return true;
5382    };
5383    var apiTypes = [];
5384    for (var i = 0; i < apis.length; i++) {
5385        var type = _global[apis[i]];
5386        apiTypes.push(type && type.prototype);
5387    }
5388    // vh is validateHandler to check event handler
5389    // is valid or not(for security check)
5390    patchEventTarget(_global, apiTypes, { vh: checkIEAndCrossContext });
5391    api.patchEventTarget = patchEventTarget;
5392    return true;
5393}
5394function patchEvent(global, api) {
5395    patchEventPrototype(global, api);
5396}
5397
5398/**
5399 * @license
5400 * Copyright Google Inc. All Rights Reserved.
5401 *
5402 * Use of this source code is governed by an MIT-style license that can be
5403 * found in the LICENSE file at https://angular.io/license
5404 */
5405function patchCallbacks(target, targetName, method, callbacks) {
5406    var symbol = Zone.__symbol__(method);
5407    if (target[symbol]) {
5408        return;
5409    }
5410    var nativeDelegate = target[symbol] = target[method];
5411    target[method] = function (name, opts, options) {
5412        if (opts && opts.prototype) {
5413            callbacks.forEach(function (callback) {
5414                var source = targetName + "." + method + "::" + callback;
5415                var prototype = opts.prototype;
5416                if (prototype.hasOwnProperty(callback)) {
5417                    var descriptor = ObjectGetOwnPropertyDescriptor(prototype, callback);
5418                    if (descriptor && descriptor.value) {
5419                        descriptor.value = wrapWithCurrentZone(descriptor.value, source);
5420                        _redefineProperty(opts.prototype, callback, descriptor);
5421                    }
5422                    else if (prototype[callback]) {
5423                        prototype[callback] = wrapWithCurrentZone(prototype[callback], source);
5424                    }
5425                }
5426                else if (prototype[callback]) {
5427                    prototype[callback] = wrapWithCurrentZone(prototype[callback], source);
5428                }
5429            });
5430        }
5431        return nativeDelegate.call(target, name, opts, options);
5432    };
5433    attachOriginToPatched(target[method], nativeDelegate);
5434}
5435function registerElementPatch(_global) {
5436    if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {
5437        return;
5438    }
5439    var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];
5440    patchCallbacks(document, 'Document', 'registerElement', callbacks);
5441}
5442function patchCustomElements(_global) {
5443    if ((!isBrowser && !isMix) || !('customElements' in _global)) {
5444        return;
5445    }
5446    var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];
5447    patchCallbacks(_global.customElements, 'customElements', 'define', callbacks);
5448}
5449
5450/**
5451 * @license
5452 * Copyright Google Inc. All Rights Reserved.
5453 *
5454 * Use of this source code is governed by an MIT-style license that can be
5455 * found in the LICENSE file at https://angular.io/license
5456 */
5457/**
5458 * @fileoverview
5459 * @suppress {missingRequire}
5460 */
5461Zone.__load_patch('util', function (global, Zone, api) {
5462    api.patchOnProperties = patchOnProperties;
5463    api.patchMethod = patchMethod;
5464    api.bindArguments = bindArguments;
5465});
5466Zone.__load_patch('timers', function (global) {
5467    var set = 'set';
5468    var clear = 'clear';
5469    patchTimer(global, set, clear, 'Timeout');
5470    patchTimer(global, set, clear, 'Interval');
5471    patchTimer(global, set, clear, 'Immediate');
5472});
5473Zone.__load_patch('requestAnimationFrame', function (global) {
5474    patchTimer(global, 'request', 'cancel', 'AnimationFrame');
5475    patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');
5476    patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');
5477});
5478Zone.__load_patch('blocking', function (global, Zone) {
5479    var blockingMethods = ['alert', 'prompt', 'confirm'];
5480    for (var i = 0; i < blockingMethods.length; i++) {
5481        var name_1 = blockingMethods[i];
5482        patchMethod(global, name_1, function (delegate, symbol, name) {
5483            return function (s, args) {
5484                return Zone.current.run(delegate, global, args, name);
5485            };
5486        });
5487    }
5488});
5489Zone.__load_patch('EventTarget', function (global, Zone, api) {
5490    // load blackListEvents from global
5491    var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');
5492    if (global[SYMBOL_BLACK_LISTED_EVENTS]) {
5493        Zone[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_BLACK_LISTED_EVENTS];
5494    }
5495    patchEvent(global, api);
5496    eventTargetPatch(global, api);
5497    // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener
5498    var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];
5499    if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {
5500        api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);
5501    }
5502    patchClass('MutationObserver');
5503    patchClass('WebKitMutationObserver');
5504    patchClass('IntersectionObserver');
5505    patchClass('FileReader');
5506});
5507Zone.__load_patch('on_property', function (global, Zone, api) {
5508    propertyDescriptorPatch(api, global);
5509    propertyPatch();
5510});
5511Zone.__load_patch('customElements', function (global, Zone, api) {
5512    registerElementPatch(global);
5513    patchCustomElements(global);
5514});
5515Zone.__load_patch('canvas', function (global) {
5516    var HTMLCanvasElement = global['HTMLCanvasElement'];
5517    if (typeof HTMLCanvasElement !== 'undefined' && HTMLCanvasElement.prototype &&
5518        HTMLCanvasElement.prototype.toBlob) {
5519        patchMacroTask(HTMLCanvasElement.prototype, 'toBlob', function (self, args) {
5520            return { name: 'HTMLCanvasElement.toBlob', target: self, cbIdx: 0, args: args };
5521        });
5522    }
5523});
5524Zone.__load_patch('XHR', function (global, Zone) {
5525    // Treat XMLHttpRequest as a macrotask.
5526    patchXHR(global);
5527    var XHR_TASK = zoneSymbol('xhrTask');
5528    var XHR_SYNC = zoneSymbol('xhrSync');
5529    var XHR_LISTENER = zoneSymbol('xhrListener');
5530    var XHR_SCHEDULED = zoneSymbol('xhrScheduled');
5531    var XHR_URL = zoneSymbol('xhrURL');
5532    var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');
5533    function patchXHR(window) {
5534        var XMLHttpRequestPrototype = XMLHttpRequest.prototype;
5535        function findPendingTask(target) {
5536            return target[XHR_TASK];
5537        }
5538        var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];
5539        var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];
5540        if (!oriAddListener) {
5541            var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget'];
5542            if (XMLHttpRequestEventTarget_1) {
5543                var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype;
5544                oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];
5545                oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];
5546            }
5547        }
5548        var READY_STATE_CHANGE = 'readystatechange';
5549        var SCHEDULED = 'scheduled';
5550        function scheduleTask(task) {
5551            var data = task.data;
5552            var target = data.target;
5553            target[XHR_SCHEDULED] = false;
5554            target[XHR_ERROR_BEFORE_SCHEDULED] = false;
5555            // remove existing event listener
5556            var listener = target[XHR_LISTENER];
5557            if (!oriAddListener) {
5558                oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];
5559                oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];
5560            }
5561            if (listener) {
5562                oriRemoveListener.call(target, READY_STATE_CHANGE, listener);
5563            }
5564            var newListener = target[XHR_LISTENER] = function () {
5565                if (target.readyState === target.DONE) {
5566                    // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with
5567                    // readyState=4 multiple times, so we need to check task state here
5568                    if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {
5569                        // check whether the xhr has registered onload listener
5570                        // if that is the case, the task should invoke after all
5571                        // onload listeners finish.
5572                        var loadTasks = target['__zone_symbol__loadfalse'];
5573                        if (loadTasks && loadTasks.length > 0) {
5574                            var oriInvoke_1 = task.invoke;
5575                            task.invoke = function () {
5576                                // need to load the tasks again, because in other
5577                                // load listener, they may remove themselves
5578                                var loadTasks = target['__zone_symbol__loadfalse'];
5579                                for (var i = 0; i < loadTasks.length; i++) {
5580                                    if (loadTasks[i] === task) {
5581                                        loadTasks.splice(i, 1);
5582                                    }
5583                                }
5584                                if (!data.aborted && task.state === SCHEDULED) {
5585                                    oriInvoke_1.call(task);
5586                                }
5587                            };
5588                            loadTasks.push(task);
5589                        }
5590                        else {
5591                            task.invoke();
5592                        }
5593                    }
5594                    else if (!data.aborted && target[XHR_SCHEDULED] === false) {
5595                        // error occurs when xhr.send()
5596                        target[XHR_ERROR_BEFORE_SCHEDULED] = true;
5597                    }
5598                }
5599            };
5600            oriAddListener.call(target, READY_STATE_CHANGE, newListener);
5601            var storedTask = target[XHR_TASK];
5602            if (!storedTask) {
5603                target[XHR_TASK] = task;
5604            }
5605            sendNative.apply(target, data.args);
5606            target[XHR_SCHEDULED] = true;
5607            return task;
5608        }
5609        function placeholderCallback() { }
5610        function clearTask(task) {
5611            var data = task.data;
5612            // Note - ideally, we would call data.target.removeEventListener here, but it's too late
5613            // to prevent it from firing. So instead, we store info for the event listener.
5614            data.aborted = true;
5615            return abortNative.apply(data.target, data.args);
5616        }
5617        var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { return function (self, args) {
5618            self[XHR_SYNC] = args[2] == false;
5619            self[XHR_URL] = args[1];
5620            return openNative.apply(self, args);
5621        }; });
5622        var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';
5623        var fetchTaskAborting = zoneSymbol('fetchTaskAborting');
5624        var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');
5625        var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { return function (self, args) {
5626            if (Zone.current[fetchTaskScheduling] === true) {
5627                // a fetch is scheduling, so we are using xhr to polyfill fetch
5628                // and because we already schedule macroTask for fetch, we should
5629                // not schedule a macroTask for xhr again
5630                return sendNative.apply(self, args);
5631            }
5632            if (self[XHR_SYNC]) {
5633                // if the XHR is sync there is no task to schedule, just execute the code.
5634                return sendNative.apply(self, args);
5635            }
5636            else {
5637                var options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };
5638                var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);
5639                if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&
5640                    task.state === SCHEDULED) {
5641                    // xhr request throw error when send
5642                    // we should invoke task instead of leaving a scheduled
5643                    // pending macroTask
5644                    task.invoke();
5645                }
5646            }
5647        }; });
5648        var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { return function (self, args) {
5649            var task = findPendingTask(self);
5650            if (task && typeof task.type == 'string') {
5651                // If the XHR has already completed, do nothing.
5652                // If the XHR has already been aborted, do nothing.
5653                // Fix #569, call abort multiple times before done will cause
5654                // macroTask task count be negative number
5655                if (task.cancelFn == null || (task.data && task.data.aborted)) {
5656                    return;
5657                }
5658                task.zone.cancelTask(task);
5659            }
5660            else if (Zone.current[fetchTaskAborting] === true) {
5661                // the abort is called from fetch polyfill, we need to call native abort of XHR.
5662                return abortNative.apply(self, args);
5663            }
5664            // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no
5665            // task
5666            // to cancel. Do nothing.
5667        }; });
5668    }
5669});
5670Zone.__load_patch('geolocation', function (global) {
5671    /// GEO_LOCATION
5672    if (global['navigator'] && global['navigator'].geolocation) {
5673        patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);
5674    }
5675});
5676Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) {
5677    // handle unhandled promise rejection
5678    function findPromiseRejectionHandler(evtName) {
5679        return function (e) {
5680            var eventTasks = findEventTasks(global, evtName);
5681            eventTasks.forEach(function (eventTask) {
5682                // windows has added unhandledrejection event listener
5683                // trigger the event listener
5684                var PromiseRejectionEvent = global['PromiseRejectionEvent'];
5685                if (PromiseRejectionEvent) {
5686                    var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });
5687                    eventTask.invoke(evt);
5688                }
5689            });
5690        };
5691    }
5692    if (global['PromiseRejectionEvent']) {
5693        Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =
5694            findPromiseRejectionHandler('unhandledrejection');
5695        Zone[zoneSymbol('rejectionHandledHandler')] =
5696            findPromiseRejectionHandler('rejectionhandled');
5697    }
5698});
5699
5700/**
5701 * @license
5702 * Copyright Google Inc. All Rights Reserved.
5703 *
5704 * Use of this source code is governed by an MIT-style license that can be
5705 * found in the LICENSE file at https://angular.io/license
5706 */
5707
5708})));
5709
5710
5711/***/ }),
5712
5713/***/ "./src/polyfills.ts":
5714/*!**************************!*\
5715  !*** ./src/polyfills.ts ***!
5716  \**************************/
5717/*! no exports provided */
5718/***/ (function(module, __webpack_exports__, __webpack_require__) {
5719
5720"use strict";
5721__webpack_require__.r(__webpack_exports__);
5722/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! zone.js/dist/zone */ "./node_modules/zone.js/dist/zone.js");
5723/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__);
5724/**
5725 * This file includes polyfills needed by Angular and is loaded before the app.
5726 * You can add your own extra polyfills to this file.
5727 *
5728 * This file is divided into 2 sections:
5729 *   1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
5730 *   2. Application imports. Files imported after ZoneJS that should be loaded before your main
5731 *      file.
5732 *
5733 * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
5734 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
5735 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
5736 *
5737 * Learn more in https://angular.io/guide/browser-support
5738 */
5739/***************************************************************************************************
5740 * BROWSER POLYFILLS
5741 */
5742/** IE10 and IE11 requires the following for NgClass support on SVG elements */
5743// import 'classlist.js';  // Run `npm install --save classlist.js`.
5744/**
5745 * Web Animations `@angular/platform-browser/animations`
5746 * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
5747 * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
5748 */
5749// import 'web-animations-js';  // Run `npm install --save web-animations-js`.
5750/**
5751 * By default, zone.js will patch all possible macroTask and DomEvents
5752 * user can disable parts of macroTask/DomEvents patch by setting following flags
5753 * because those flags need to be set before `zone.js` being loaded, and webpack
5754 * will put import in the top of bundle, so user need to create a separate file
5755 * in this directory (for example: zone-flags.ts), and put the following flags
5756 * into that file, and then add the following code before importing zone.js.
5757 * import './zone-flags.ts';
5758 *
5759 * The flags allowed in zone-flags.ts are listed here.
5760 *
5761 * The following flags will work for all browsers.
5762 *
5763 * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
5764 * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
5765 * (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
5766 *
5767 *  in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
5768 *  with the following flag, it will bypass `zone.js` patch for IE/Edge
5769 *
5770 *  (window as any).__Zone_enable_cross_context_check = true;
5771 *
5772 */
5773/***************************************************************************************************
5774 * Zone JS is required by default for Angular itself.
5775 */
5776 // Included with Angular CLI.
5777/***************************************************************************************************
5778 * APPLICATION IMPORTS
5779 */
5780
5781
5782/***/ })
5782,
5783
5784/***/ 2:
5785/*!***************************************************************************************************************************!*\
5786  !*** multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ***!
5787  \***************************************************************************************************************************/
5788/*! no static exports found */
5789/***/ (function(module, exports, __webpack_require__) {
5790
5791__webpack_require__(/*! /Users/pinea/wmrc-gitksan-web/src/polyfills.ts */"./src/polyfills.ts");
5792module.exports = __webpack_require__(/*! /Users/pinea/wmrc-gitksan-web/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js */"./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js");
5793
5794
5795/***/ })
5796
5797},[[2,"runtime"]]]);
5798//# sourceMappingURL=polyfills.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.