// Module ID: 12625 // Function ID: 97193 // Name: _createForOfIteratorHelperLoose // Dependencies: [] // Module 12625 (_createForOfIteratorHelperLoose) function _createForOfIteratorHelperLoose(@@iterator) { let closure_0 = Symbol_iterator; @@iterator = "undefined" !== typeof Symbol; if (Symbol_iterator) { const _Symbol = Symbol; @@iterator = Symbol_iterator[Symbol.iterator]; } if (!Symbol_iterator) { @@iterator = Symbol_iterator[Symbol.iterator]; } if (Symbol_iterator) { const iter = Symbol_iterator.call(Symbol_iterator); const next = iter.next; return next.bind(iter); } else { const _Array = Array; let tmp = Symbol_iterator; if (!Array.isArray(Symbol_iterator)) { let tmp2; if (Symbol_iterator) { if ("string" === typeof Symbol_iterator) { tmp2 = _arrayLikeToArray(Symbol_iterator, undefined); } else { const toString = {}.toString; const substr = toString.call(Symbol_iterator).slice(8, -1); let name = substr; if (tmp3) { name = Symbol_iterator.constructor.name; } if ("Map" !== name) { if ("Set" !== name) { if ("Arguments" === name) { let arr = _arrayLikeToArray(Symbol_iterator, undefined); } else { const obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/; } } tmp2 = arr; } const _Array2 = Array; arr = Array.from(Symbol_iterator); const callResult = toString.call(Symbol_iterator); const tmp3 = "Object" === substr && Symbol_iterator.constructor; } } tmp = tmp2; if (!tmp2) { const _TypeError = TypeError; const typeError = new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); throw typeError; } } if (tmp) { closure_0 = tmp; } let closure_1 = 0; return () => { if (closure_1 >= tmp.length) { let obj = { done: true }; } else { obj = { done: false }; closure_1 = tmp3 + 1; obj.value = tmp[+closure_1]; } return obj; }; } } function _arrayLikeToArray(arg0, arg1) { let length; if (tmp) { length = arg0.length; } const ArrayResult = Array(length); for (let num = 0; num < length; num = num + 1) { ArrayResult[num] = arg0[num]; } return ArrayResult; } const _module = require(dependencyMap[0]); let obj = { "Bool(false)": "Shooting Lines_03", "Bool(false)": 1, config: { "Null": null, "Null": null, "Null": null } }; const items = [obj, { config: {} }, { config: {} }, , , ]; obj = { "Bool(false)": false, "Bool(false)": false, config: {} }; items[3] = obj; const obj1 = { "Bool(false)": null, "Bool(false)": null, config: { "Null": "URLSearchParams", "Null": true, "Null": "/assets/.cache/intl/bW9kdWxlcy9jb2xsZWN0aWJsZXMvd2Vi" } }; items[4] = obj1; const obj2 = { "Bool(false)": 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000170814807357726, "Bool(false)": -0.00000000000000000000000000000002619270619246025, config: {} }; items[5] = obj2; let closure_0 = _module.createExperiment({ defaultConfig: {}, treatments: items }); const _module1 = require(dependencyMap[1]); const result = _module1.fileFinishedImporting("modules/media_engine/BandwidthEstimationExperiment.tsx"); export default { getConfig(autoTrackExposure, arr) { const currentConfig = currentConfig.getCurrentConfig({ location: "e1c55b_1" }, { autoTrackExposure }); if (!this.supportsBandwidthEstimationExperimentFullname(currentConfig.fullname, arr)) { currentConfig.enabled = false; } return currentConfig; }, supportsBandwidthEstimationExperimentFullname(fullname, arr) { const mediaEngineExperiments = this.getMediaEngineExperiments(fullname); if (null === mediaEngineExperiments) { return false; } else { const tmp3 = _createForOfIteratorHelperLoose(mediaEngineExperiments); let iter = tmp3(); if (!iter.done) { while (arr.includes(iter.value)) { let iter2 = tmp3(); iter = iter2; } return false; } return true; } }, getMediaEngineExperiments(fullname) { const parts = fullname.split("/"); let found = null; if (3 === parts.length) { found = null; if ("bandwidth_estimation" === parts[0]) { const parts1 = parts[1].split(","); found = parts1.filter((arg0) => 0 !== arg0.length); const str2 = parts[1]; } } return found; } };