/* Metro module 4891; source: modules/app_database/util/Iterable.tsx; dependencies: [6, 7, 2] */ function _fun43066(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#43066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:6, offset: 0x0114947b, size: 133 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(6) /* metro dependency 6 */; const env0_1 = importDefault(7) /* metro dependency 7 */; const env0_2 = _fun43067(); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_database/util/Iterable.tsx'); exports.chain = chain; } function _fun43067() { // fn#43067, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:118, offset: 0x01149500, size: 88 bytes, params: 1, frame: 15 const binding = env0_1; const closure = Chained; const Symbol = global.Symbol; return binding(closure, [{key: Symbol.iterator, value: function() { return this; }}, {key: 'next', value: function() { var value; var property = this.index; if (property < this.items.length) { loopExit1: while (true) { property = this.items; property = property[this.index]; value = property.next(); if (value.done) { this.index += 1; property = this.index; if (!(property < this.items.length)) { return {done: true, value: undefined}; } continue; } break loopExit1; } return value; } return {done: true, value: undefined}; }}]); } function chain(a0) { // fn#43071, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:507, offset: 0x011495f3, size: 35 bytes, params: 2, frame: 11 let value = copyRestArgs(0, undefined); const binding = env0_2; const value3 = Object.create(binding.prototype, {constructor: {value: binding}}); value = new binding(value); return value instanceof Object ? value : value3; } function Chained(a0) { // fn#43068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:139, offset: 0x01149558, size: 44 bytes, params: 2, frame: 13 env1_0(this, Chained); this.index = 0; this.items = a0; }