'use strict';var normalizeComponent=require('./normalize-component-ebe0c011.js'),domIterables=require('./dom-iterables-e2602b7e.js'),arrayIteration=require('./array-iteration-7afe833b.js'),arrayMethodIsStrict=require('./array-method-is-strict-46936434.js'),wellKnownSymbol=require('./well-known-symbol-08f3111a.js');var $forEach = arrayIteration.a.forEach;


var STRICT_METHOD = arrayMethodIsStrict.a('forEach');

// `Array.prototype.forEach` method implementation
// https://tc39.es/ecma262/#sec-array.prototype.foreach
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
} : [].forEach;for (var COLLECTION_NAME in domIterables.d) {
  var Collection = normalizeComponent.g[COLLECTION_NAME];
  var CollectionPrototype = Collection && Collection.prototype;
  // some Chrome versions have non-configurable methods on DOMTokenList
  if (CollectionPrototype && CollectionPrototype.forEach !== arrayForEach) try {
    wellKnownSymbol.l(CollectionPrototype, 'forEach', arrayForEach);
  } catch (error) {
    CollectionPrototype.forEach = arrayForEach;
  }
}