'use strict';

var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
require('./web.dom.iterable-d98303e0.js');
var _isArray = require('./_is-array-54228b29.js');
var _extends = require('./extends-be0d85bc.js');
var _library = require('./_library-dd23b178.js');

var f$3 = core_getIteratorMethod._wks;

var _wksExt = {
	f: f$3
};

var iterator$1 = _wksExt.f('iterator');

var iterator = _commonjsHelpers.createCommonjsModule(function (module) {
module.exports = { "default": iterator$1, __esModule: true };
});

_commonjsHelpers.unwrapExports(iterator);

var defineProperty = core_getIteratorMethod._objectDp.f;
var _wksDefine = function (name) {
  var $Symbol = core_getIteratorMethod._core.Symbol || (core_getIteratorMethod._core.Symbol = {} );
  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: _wksExt.f(name) });
};

// all enumerable object keys, includes symbols



var _enumKeys = function (it) {
  var result = core_getIteratorMethod._objectKeys(it);
  var getSymbols = _extends._objectGops.f;
  if (getSymbols) {
    var symbols = getSymbols(it);
    var isEnum = _extends._objectPie.f;
    var i = 0;
    var key;
    while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
  } return result;
};

// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)

var hiddenKeys = core_getIteratorMethod._enumBugKeys.concat('length', 'prototype');

var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  return core_getIteratorMethod._objectKeysInternal(O, hiddenKeys);
};

var _objectGopn = {
	f: f$2
};

// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window

var gOPN$1 = _objectGopn.f;
var toString = {}.toString;

var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  ? Object.getOwnPropertyNames(window) : [];

var getWindowNames = function (it) {
  try {
    return gOPN$1(it);
  } catch (e) {
    return windowNames.slice();
  }
};

var f$1 = function getOwnPropertyNames(it) {
  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN$1(core_getIteratorMethod._toIobject(it));
};

var _objectGopnExt = {
	f: f$1
};

var gOPD$1 = Object.getOwnPropertyDescriptor;

var f = core_getIteratorMethod._descriptors ? gOPD$1 : function getOwnPropertyDescriptor(O, P) {
  O = core_getIteratorMethod._toIobject(O);
  P = core_getIteratorMethod._toPrimitive(P, true);
  if (core_getIteratorMethod._ie8DomDefine) try {
    return gOPD$1(O, P);
  } catch (e) { /* empty */ }
  if (core_getIteratorMethod._has(O, P)) return core_getIteratorMethod._propertyDesc(!_extends._objectPie.f.call(O, P), O[P]);
};

var _objectGopd = {
	f: f
};

// ECMAScript 6 symbols shim





var META = _isArray._meta.KEY;





















var gOPD = _objectGopd.f;
var dP = core_getIteratorMethod._objectDp.f;
var gOPN = _objectGopnExt.f;
var $Symbol = core_getIteratorMethod._global.Symbol;
var $JSON = core_getIteratorMethod._global.JSON;
var _stringify = $JSON && $JSON.stringify;
var PROTOTYPE = 'prototype';
var HIDDEN = core_getIteratorMethod._wks('_hidden');
var TO_PRIMITIVE = core_getIteratorMethod._wks('toPrimitive');
var isEnum = {}.propertyIsEnumerable;
var SymbolRegistry = core_getIteratorMethod._shared('symbol-registry');
var AllSymbols = core_getIteratorMethod._shared('symbols');
var OPSymbols = core_getIteratorMethod._shared('op-symbols');
var ObjectProto = Object[PROTOTYPE];
var USE_NATIVE = typeof $Symbol == 'function' && !!_extends._objectGops.f;
var QObject = core_getIteratorMethod._global.QObject;
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;

// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
var setSymbolDesc = core_getIteratorMethod._descriptors && core_getIteratorMethod._fails(function () {
  return core_getIteratorMethod._objectCreate(dP({}, 'a', {
    get: function () { return dP(this, 'a', { value: 7 }).a; }
  })).a != 7;
}) ? function (it, key, D) {
  var protoDesc = gOPD(ObjectProto, key);
  if (protoDesc) delete ObjectProto[key];
  dP(it, key, D);
  if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
} : dP;

var wrap = function (tag) {
  var sym = AllSymbols[tag] = core_getIteratorMethod._objectCreate($Symbol[PROTOTYPE]);
  sym._k = tag;
  return sym;
};

var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
  return typeof it == 'symbol';
} : function (it) {
  return it instanceof $Symbol;
};

var $defineProperty = function defineProperty(it, key, D) {
  if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
  core_getIteratorMethod._anObject(it);
  key = core_getIteratorMethod._toPrimitive(key, true);
  core_getIteratorMethod._anObject(D);
  if (core_getIteratorMethod._has(AllSymbols, key)) {
    if (!D.enumerable) {
      if (!core_getIteratorMethod._has(it, HIDDEN)) dP(it, HIDDEN, core_getIteratorMethod._propertyDesc(1, {}));
      it[HIDDEN][key] = true;
    } else {
      if (core_getIteratorMethod._has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
      D = core_getIteratorMethod._objectCreate(D, { enumerable: core_getIteratorMethod._propertyDesc(0, false) });
    } return setSymbolDesc(it, key, D);
  } return dP(it, key, D);
};
var $defineProperties = function defineProperties(it, P) {
  core_getIteratorMethod._anObject(it);
  var keys = _enumKeys(P = core_getIteratorMethod._toIobject(P));
  var i = 0;
  var l = keys.length;
  var key;
  while (l > i) $defineProperty(it, key = keys[i++], P[key]);
  return it;
};
var $create = function create(it, P) {
  return P === undefined ? core_getIteratorMethod._objectCreate(it) : $defineProperties(core_getIteratorMethod._objectCreate(it), P);
};
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
  var E = isEnum.call(this, key = core_getIteratorMethod._toPrimitive(key, true));
  if (this === ObjectProto && core_getIteratorMethod._has(AllSymbols, key) && !core_getIteratorMethod._has(OPSymbols, key)) return false;
  return E || !core_getIteratorMethod._has(this, key) || !core_getIteratorMethod._has(AllSymbols, key) || core_getIteratorMethod._has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
};
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
  it = core_getIteratorMethod._toIobject(it);
  key = core_getIteratorMethod._toPrimitive(key, true);
  if (it === ObjectProto && core_getIteratorMethod._has(AllSymbols, key) && !core_getIteratorMethod._has(OPSymbols, key)) return;
  var D = gOPD(it, key);
  if (D && core_getIteratorMethod._has(AllSymbols, key) && !(core_getIteratorMethod._has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
  return D;
};
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
  var names = gOPN(core_getIteratorMethod._toIobject(it));
  var result = [];
  var i = 0;
  var key;
  while (names.length > i) {
    if (!core_getIteratorMethod._has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
  } return result;
};
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
  var IS_OP = it === ObjectProto;
  var names = gOPN(IS_OP ? OPSymbols : core_getIteratorMethod._toIobject(it));
  var result = [];
  var i = 0;
  var key;
  while (names.length > i) {
    if (core_getIteratorMethod._has(AllSymbols, key = names[i++]) && (IS_OP ? core_getIteratorMethod._has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
  } return result;
};

// 19.4.1.1 Symbol([description])
if (!USE_NATIVE) {
  $Symbol = function Symbol() {
    if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
    var tag = core_getIteratorMethod._uid(arguments.length > 0 ? arguments[0] : undefined);
    var $set = function (value) {
      if (this === ObjectProto) $set.call(OPSymbols, value);
      if (core_getIteratorMethod._has(this, HIDDEN) && core_getIteratorMethod._has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
      setSymbolDesc(this, tag, core_getIteratorMethod._propertyDesc(1, value));
    };
    if (core_getIteratorMethod._descriptors && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
    return wrap(tag);
  };
  core_getIteratorMethod._redefine($Symbol[PROTOTYPE], 'toString', function toString() {
    return this._k;
  });

  _objectGopd.f = $getOwnPropertyDescriptor;
  core_getIteratorMethod._objectDp.f = $defineProperty;
  _objectGopn.f = _objectGopnExt.f = $getOwnPropertyNames;
  _extends._objectPie.f = $propertyIsEnumerable;
  _extends._objectGops.f = $getOwnPropertySymbols;

  if (core_getIteratorMethod._descriptors && !_library._library) {
    core_getIteratorMethod._redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable);
  }

  _wksExt.f = function (name) {
    return wrap(core_getIteratorMethod._wks(name));
  };
}

core_getIteratorMethod._export(core_getIteratorMethod._export.G + core_getIteratorMethod._export.W + core_getIteratorMethod._export.F * !USE_NATIVE, { Symbol: $Symbol });

for (var es6Symbols = (
  // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
  'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
).split(','), j = 0; es6Symbols.length > j;)core_getIteratorMethod._wks(es6Symbols[j++]);

for (var wellKnownSymbols = core_getIteratorMethod._objectKeys(core_getIteratorMethod._wks.store), k = 0; wellKnownSymbols.length > k;) _wksDefine(wellKnownSymbols[k++]);

core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * !USE_NATIVE, 'Symbol', {
  // 19.4.2.1 Symbol.for(key)
  'for': function (key) {
    return core_getIteratorMethod._has(SymbolRegistry, key += '')
      ? SymbolRegistry[key]
      : SymbolRegistry[key] = $Symbol(key);
  },
  // 19.4.2.5 Symbol.keyFor(sym)
  keyFor: function keyFor(sym) {
    if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
    for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
  },
  useSetter: function () { setter = true; },
  useSimple: function () { setter = false; }
});

core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * !USE_NATIVE, 'Object', {
  // 19.1.2.2 Object.create(O [, Properties])
  create: $create,
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
  defineProperty: $defineProperty,
  // 19.1.2.3 Object.defineProperties(O, Properties)
  defineProperties: $defineProperties,
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
  // 19.1.2.7 Object.getOwnPropertyNames(O)
  getOwnPropertyNames: $getOwnPropertyNames,
  // 19.1.2.8 Object.getOwnPropertySymbols(O)
  getOwnPropertySymbols: $getOwnPropertySymbols
});

// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
var FAILS_ON_PRIMITIVES = core_getIteratorMethod._fails(function () { _extends._objectGops.f(1); });

core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * FAILS_ON_PRIMITIVES, 'Object', {
  getOwnPropertySymbols: function getOwnPropertySymbols(it) {
    return _extends._objectGops.f(core_getIteratorMethod._toObject(it));
  }
});

// 24.3.2 JSON.stringify(value [, replacer [, space]])
$JSON && core_getIteratorMethod._export(core_getIteratorMethod._export.S + core_getIteratorMethod._export.F * (!USE_NATIVE || core_getIteratorMethod._fails(function () {
  var S = $Symbol();
  // MS Edge converts symbol values to JSON as {}
  // WebKit converts symbol values to JSON as null
  // V8 throws on boxed symbols
  return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
})), 'JSON', {
  stringify: function stringify(it) {
    var args = [it];
    var i = 1;
    var replacer, $replacer;
    while (arguments.length > i) args.push(arguments[i++]);
    $replacer = replacer = args[1];
    if (!core_getIteratorMethod._isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
    if (!_isArray._isArray(replacer)) replacer = function (key, value) {
      if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
      if (!isSymbol(value)) return value;
    };
    args[1] = replacer;
    return _stringify.apply($JSON, args);
  }
});

// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
$Symbol[PROTOTYPE][TO_PRIMITIVE] || core_getIteratorMethod._hide($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
// 19.4.3.5 Symbol.prototype[@@toStringTag]
core_getIteratorMethod._setToStringTag($Symbol, 'Symbol');
// 20.2.1.9 Math[@@toStringTag]
core_getIteratorMethod._setToStringTag(Math, 'Math', true);
// 24.3.3 JSON[@@toStringTag]
core_getIteratorMethod._setToStringTag(core_getIteratorMethod._global.JSON, 'JSON', true);

_wksDefine('asyncIterator');

_wksDefine('observable');

var symbol$1 = core_getIteratorMethod._core.Symbol;

var symbol = _commonjsHelpers.createCommonjsModule(function (module) {
module.exports = { "default": symbol$1, __esModule: true };
});

_commonjsHelpers.unwrapExports(symbol);

var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {

exports.__esModule = true;



var _iterator2 = _interopRequireDefault(iterator);



var _symbol2 = _interopRequireDefault(symbol);

var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
  return typeof obj === "undefined" ? "undefined" : _typeof(obj);
} : function (obj) {
  return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
};
});

var _typeof = _commonjsHelpers.unwrapExports(_typeof_1);

exports._objectGopd = _objectGopd;
exports._typeof = _typeof;
exports._typeof_1 = _typeof_1;
