2026-07-27 11:26:19 +00:00
// Module ID: 16580
// Function ID: 129318
2026-07-20 16:05:17 +00:00
// Name: _createForOfIteratorHelperLoose
2026-07-27 11:26:19 +00:00
// Dependencies: [57, 6, 7, 15, 17, 102, 18, 3824, 4144, 9060, 4343, 1352, 1348, 1907, 9448, 6271, 5932, 10434, 653, 5938, 1362, 4120, 4980, 5960, 10433, 10192, 3982, 668, 669, 4473, 5959, 3983, 5078, 2]
2026-07-20 16:05:17 +00:00
2026-07-27 11:26:19 +00:00
// Module 16580 (_createForOfIteratorHelperLoose)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray" ;
import _inherits from "_inherits" ;
import _isNativeReflectConstruct from "_isNativeReflectConstruct" ;
import closure_6 from "_isNativeReflectConstruct" ;
import MAX_BRAND_SAFETY_CONTEXT_ARRAY_LEN from "MAX_BRAND_SAFETY_CONTEXT_ARRAY_LEN" ;
import _get from "_get" ;
import ME from "ME" ;
import closure_10 from "_isNativeReflectConstruct" ;
import closure_11 from "_isNativeReflectConstruct" ;
import createChannelState from "createChannelState" ;
import withEqualityFn from "withEqualityFn" ;
import { isTextChannel } from "_callSuper" ;
import closure_16 from "_isNativeReflectConstruct" ;
import closure_17 from "_isNativeReflectConstruct" ;
import closure_18 from "_isNativeReflectConstruct" ;
import closure_19 from "_isNativeReflectConstruct" ;
import closure_20 from "_isNativeReflectConstruct" ;
import { MIN_QUEST_CONTENT_VISIBILITY_PERCENTAGE as closure_21 } from "MAX_BRAND_SAFETY_CONTEXT_ARRAY_LEN" ;
import { MessageStates } from "ME" ;
import tmp3 from "AutomaticLifecycleManager" ;
let closure_12 ;
let closure_13 ;
const require = arg1 ;
function _createForOfIteratorHelperLoose ( iterable ) {
let closure_0 = iterable ;
iterable = "undefined" !== typeof Symbol ;
if ( iterable ) {
2026-07-20 16:05:17 +00:00
const _Symbol = Symbol ;
2026-07-23 10:11:24 +00:00
iterable = iterable [ Symbol . iterator ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
if ( ! iterable ) {
iterable = iterable [ Symbol . iterator ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
if ( iterable ) {
const iter = iterable . call ( iterable ) ;
2026-07-20 16:05:17 +00:00
const next = iter . next ;
return next . bind ( iter ) ;
} else {
const _Array = Array ;
2026-07-23 10:11:24 +00:00
let tmp = iterable ;
if ( ! Array . isArray ( iterable ) ) {
2026-07-20 16:05:17 +00:00
let tmp2 ;
2026-07-23 10:11:24 +00:00
if ( iterable ) {
if ( "string" === typeof iterable ) {
tmp2 = _arrayLikeToArray ( iterable , undefined ) ;
2026-07-20 16:05:17 +00:00
} else {
const toString = { } . toString ;
2026-07-23 10:11:24 +00:00
const substr = toString . call ( iterable ) . slice ( 8 , - 1 ) ;
2026-07-20 16:05:17 +00:00
let name = substr ;
if ( tmp3 ) {
2026-07-23 10:11:24 +00:00
name = iterable . constructor . name ;
2026-07-20 16:05:17 +00:00
}
if ( "Map" !== name ) {
if ( "Set" !== name ) {
if ( "Arguments" === name ) {
2026-07-23 10:11:24 +00:00
let arr = _arrayLikeToArray ( iterable , undefined ) ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
let obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ ;
2026-07-20 16:05:17 +00:00
}
}
tmp2 = arr ;
}
const _Array2 = Array ;
2026-07-23 10:11:24 +00:00
arr = Array . from ( iterable ) ;
const callResult = toString . call ( iterable ) ;
tmp3 = "Object" === substr && iterable . constructor ;
2026-07-20 16:05:17 +00:00
}
}
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 ) {
2026-07-23 10:11:24 +00:00
closure_0 = tmp ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let c1 = 0 ;
2026-07-20 16:05:17 +00:00
return ( ) = > {
2026-07-23 10:11:24 +00:00
if ( closure_1 >= length . length ) {
2026-07-20 16:05:17 +00:00
let obj = { done : true } ;
} else {
obj = { done : false } ;
closure_1 = tmp3 + 1 ;
2026-07-23 10:11:24 +00:00
obj . value = length [ + closure_1 ] ;
2026-07-20 16:05:17 +00:00
}
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 ;
}
function _isNativeReflectConstruct() {
let closure_0 = ! valueOf . call ( Reflect . construct ( Boolean , [ ] , ( ) = > {
} ) ) ;
function _isNativeReflectConstruct() {
return closure_0 ;
}
const result = _isNativeReflectConstruct ( ) ;
}
function _superPropGet ( arg0 , arg1 , arg2 , arg3 ) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg2 ;
2026-07-20 16:05:17 +00:00
let prototype = arg0 ;
if ( 1 ) {
prototype = arg0 . prototype ;
}
2026-07-23 10:11:24 +00:00
const tmpResult = _get ( MAX_BRAND_SAFETY_CONTEXT_ARRAY_LEN ( prototype ) , arg1 , arg2 ) ;
2026-07-20 16:05:17 +00:00
const importDefault = tmpResult ;
let fn = tmpResult ;
if ( 2 ) {
fn = tmpResult ;
if ( "function" === typeof tmpResult ) {
2026-07-23 10:11:24 +00:00
fn = ( arg0 ) = > tmpResult . apply ( closure_0 , arg0 ) ;
2026-07-20 16:05:17 +00:00
}
}
return fn ;
}
2026-07-23 10:11:24 +00:00
( { useChannelDetailsStore : closure_12 , getIsChannelDetailsSearchActive : closure_13 } = createChannelState ) ;
2026-07-20 16:05:17 +00:00
function log ( arg0 ) {
if ( null == questLogger ) {
2026-07-25 08:10:48 +00:00
let obj = require ( 5938 ) /* getQuestLogger */ ;
2026-07-20 16:05:17 +00:00
obj = { location : "QuestMobileEmbedVisibilityManager" } ;
2026-07-23 10:11:24 +00:00
questLogger = obj . getQuestLogger ( obj ) ;
2026-07-20 16:05:17 +00:00
}
}
tmp3 = new tmp3 ( ) ;
2026-07-23 10:11:24 +00:00
let result = require ( "_defineProperties" ) . fileFinishedImporting ( "modules/quests/managers/QuestMobileEmbedVisibilityManager.native.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default tmp3 ;