2026-07-20 16:05:17 +00:00
// Module ID: 302
// Function ID: 4559
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 79, 303, 44, 112, 253, 318, 146]
2026-07-20 16:05:17 +00:00
// Module 302 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _objectWithoutProperties from "_objectWithoutProperties" ;
import result from "result" ;
import jsxProd from "jsxProd" ;
import _possibleConstructorReturn from "_possibleConstructorReturn" ;
import _getPrototypeOf from "_getPrototypeOf" ;
import _inherits from "_inherits" ;
import importAllResult from "result" ;
import { jsx } from "jsxProd" ;
const require = arg1 ;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct ( ) {
let closure _0 = ! valueOf . call ( Reflect . construct ( Boolean , [ ] , ( ) => {
} ) ) ;
function _isNativeReflectConstruct ( ) {
return closure _0 ;
}
const result = _isNativeReflectConstruct ( ) ;
}
function numColumnsOrDefault ( arg0 ) {
let num = 1 ;
if ( null != arg0 ) {
num = arg0 ;
}
return num ;
}
2026-07-23 10:11:24 +00:00
let closure _4 = [ "numColumns" , "columnWrapperStyle" , "removeClippedSubviews" , "strictMode" ] ;
let tmp3 = ( ( PureComponent ) => {
2026-07-20 16:05:17 +00:00
class FlatList {
constructor ( arg0 ) {
self = this ;
2026-07-23 10:11:24 +00:00
tmp = outer1 _6 ( this , apply ) ;
2026-07-20 16:05:17 +00:00
items = [ ] ;
items [ 0 ] = PureComponent ;
2026-07-23 10:11:24 +00:00
obj = outer1 _9 ( apply ) ;
tmp2 = outer1 _8 ;
if ( outer1 _14 ( ) ) {
2026-07-20 16:05:17 +00:00
tmp4 = globalThis ;
_Reflect = Reflect ;
2026-07-23 10:11:24 +00:00
tmp5 = outer1 _9 ;
constructResult = Reflect . construct ( obj , items , outer1 _9 ( self ) . constructor ) ;
2026-07-20 16:05:17 +00:00
} else {
constructResult = obj . apply ( self , items ) ;
}
tmp2Result = tmp2 ( self , constructResult ) ;
2026-07-23 10:11:24 +00:00
apply = tmp2Result ;
2026-07-20 16:05:17 +00:00
tmp2Result . _virtualizedListPairs = [ ] ;
tmp2Result . _captureRef = ( _listRef ) => {
2026-07-23 10:11:24 +00:00
closure _0 . _listRef = _listRef ;
2026-07-20 16:05:17 +00:00
} ;
tmp2Result . _getItem = ( arg0 , arg1 ) => {
2026-07-23 10:11:24 +00:00
const tmp = outer2 _15 ( tmp2Result . props . numColumns ) ;
2026-07-20 16:05:17 +00:00
if ( tmp > 1 ) {
const items = [ ] ;
for ( let num = 0 ; num < tmp ; num = num + 1 ) {
let sum = arg1 * tmp + num ;
if ( sum < arg0 . length ) {
let arr = items . push ( arg0 [ sum ] ) ;
}
}
return items ;
} else {
return arg0 [ arg1 ] ;
}
} ;
tmp2Result . _getItemCount = ( arg0 ) => {
if ( null != arg0 ) {
const _Object = Object ;
if ( "number" === typeof Object ( arg0 ) . length ) {
2026-07-23 10:11:24 +00:00
const tmp4 = outer2 _15 ( tmp2Result . props . numColumns ) ;
2026-07-20 16:05:17 +00:00
if ( tmp4 > 1 ) {
const _Math = Math ;
let length = Math . ceil ( arg0 . length / tmp4 ) ;
} else {
length = arg0 . length ;
}
return length ;
}
}
return 0 ;
} ;
tmp2Result . _keyExtractor = ( arr ) => {
2026-07-23 10:11:24 +00:00
const tmp = outer2 _15 ( arg1 . props . numColumns ) ;
let closure _1 = tmp ;
2026-07-20 16:05:17 +00:00
let keyExtractor = tmp2Result . props . keyExtractor ;
if ( null == keyExtractor ) {
2026-07-23 10:11:24 +00:00
keyExtractor = outer2 _1 ( outer2 _3 [ 9 ] ) . keyExtractor ;
2026-07-20 16:05:17 +00:00
}
if ( tmp > 1 ) {
const _Array = Array ;
2026-07-23 10:11:24 +00:00
FlatList ( outer2 _3 [ 10 ] ) ( Array . isArray ( arr ) , "FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item." , tmp ) ;
const mapped = arr . map ( ( arg0 , arg1 ) => keyExtractor ( arg0 , closure _0 * closure _1 + arg1 ) ) ;
2026-07-20 16:05:17 +00:00
let joined = mapped . join ( ":" ) ;
2026-07-23 10:11:24 +00:00
const tmp7 = FlatList ( outer2 _3 [ 10 ] ) ;
2026-07-20 16:05:17 +00:00
} else {
joined = keyExtractor ( arr , arg1 ) ;
}
return joined ;
} ;
tmp2Result . _renderer = ( arg0 , arg1 , arg2 , arg3 , arg4 ) => {
2026-07-23 10:11:24 +00:00
let closure _0 = arg0 ;
let closure _1 = arg1 ;
let closure _2 = arg2 ;
let closure _3 = outer2 _15 ( arg3 ) ;
2026-07-20 16:05:17 +00:00
function render ( arg0 ) {
2026-07-23 10:11:24 +00:00
if ( closure _0 ) {
2026-07-20 16:05:17 +00:00
const _Object = Object ;
2026-07-23 10:11:24 +00:00
let tmp2 = outer3 _12 ( closure _0 , Object . assign ( { } , arg0 ) ) ;
2026-07-20 16:05:17 +00:00
} else {
tmp2 = null ;
2026-07-23 10:11:24 +00:00
if ( callback ) {
tmp2 = callback ( arg0 ) ;
2026-07-20 16:05:17 +00:00
}
}
return tmp2 ;
}
function renderProp ( arg0 ) {
2026-07-23 10:11:24 +00:00
let closure _1 ;
2026-07-20 16:05:17 +00:00
let item ;
2026-07-23 10:11:24 +00:00
let closure _0 = arg0 ;
2026-07-20 16:05:17 +00:00
if ( closure _3 > 1 ) {
( { item , index : closure _1 } = arg0 ) ;
const _Array = Array ;
2026-07-23 10:11:24 +00:00
FlatList ( outer3 _3 [ 10 ] ) ( Array . isArray ( item ) , "Expected array of items with numColumns > 1" ) ;
let obj = { } ;
const tmp4 = FlatList ( outer3 _3 [ 10 ] ) ;
const tmp9 = outer3 _1 ( outer3 _3 [ 11 ] ) ;
obj . style = FlatList ( outer3 _3 [ 12 ] ) . default . compose ( outer3 _13 . row , closure _2 ) ;
2026-07-20 16:05:17 +00:00
obj . children = item . map ( ( item ) => {
2026-07-23 10:11:24 +00:00
let obj = { item , index : closure _1 * outer1 _3 + arg1 , separators : separators . separators } ;
const tmp = outer1 _4 ( obj ) ;
2026-07-20 16:05:17 +00:00
let tmp2 = null ;
if ( null != tmp ) {
obj = { children : tmp } ;
2026-07-23 10:11:24 +00:00
tmp2 = outer4 _12 ( outer4 _11 . Fragment , obj , arg1 ) ;
2026-07-20 16:05:17 +00:00
}
return tmp2 ;
} ) ;
2026-07-23 10:11:24 +00:00
return outer3 _12 ( tmp9 , obj ) ;
2026-07-20 16:05:17 +00:00
} else {
return render ( arg0 ) ;
}
}
2026-07-23 10:11:24 +00:00
let obj = { } ;
2026-07-20 16:05:17 +00:00
if ( arg0 ) {
obj . ListItemComponent = renderProp ;
let tmp = obj ;
} else {
obj . renderItem = renderProp ;
tmp = obj ;
}
return tmp ;
} ;
2026-07-23 10:11:24 +00:00
tmp2Result . _memoizedRenderer = outer1 _1 ( outer1 _3 [ 13 ] ) ( tmp2Result . _renderer ) ;
2026-07-20 16:05:17 +00:00
_checkPropsResult = tmp2Result . _checkProps ( tmp2Result . props ) ;
props = tmp2Result . props ;
if ( tmp2Result . props . viewabilityConfigCallbackPairs ) {
prop = props . viewabilityConfigCallbackPairs ;
tmp2Result . _virtualizedListPairs = prop . map ( ( viewabilityConfig ) => ( { viewabilityConfig : viewabilityConfig . viewabilityConfig , onViewableItemsChanged : tmp2Result . _createOnViewableItemsChanged ( viewabilityConfig . onViewableItemsChanged ) } ) ) ;
} else if ( props . onViewableItemsChanged ) {
prop1 = tmp2Result . _virtualizedListPairs ;
obj = { } ;
obj . viewabilityConfig = tmp2Result . props . viewabilityConfig ;
obj . onViewableItemsChanged = tmp2Result . _createOnViewableItemsChanged ( ( ) => {
2026-07-23 10:11:24 +00:00
FlatList ( outer2 _3 [ 10 ] ) ( tmp2Result . props . onViewableItemsChanged , "Changing the nullability of onViewableItemsChanged is not supported. Once a function or null is supplied that cannot be changed." ) ;
2026-07-20 16:05:17 +00:00
const props = tmp2Result . props ;
const onViewableItemsChanged = props . onViewableItemsChanged ;
return onViewableItemsChanged ( ... arguments ) ;
} ) ;
arr = prop1 . push ( obj ) ;
}
return tmp2Result ;
}
}
callback2 ( FlatList , PureComponent ) ;
let obj = {
key : "scrollToEnd" ,
value : function scrollToEnd ( arg0 ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . scrollToEnd ( arg0 ) ;
}
}
} ;
2026-07-23 10:11:24 +00:00
let items = [ obj , , , , , , , , , , , , , , ] ;
2026-07-20 16:05:17 +00:00
obj = {
key : "scrollToIndex" ,
value : function scrollToIndex ( arg0 ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . scrollToIndex ( arg0 ) ;
}
}
} ;
items [ 1 ] = obj ;
obj = {
key : "scrollToItem" ,
value : function scrollToItem ( arg0 ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . scrollToItem ( arg0 ) ;
}
}
} ;
items [ 2 ] = obj ;
items [ 3 ] = {
key : "scrollToOffset" ,
value : function scrollToOffset ( arg0 ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . scrollToOffset ( arg0 ) ;
}
}
} ;
items [ 4 ] = {
key : "recordInteraction" ,
value : function recordInteraction ( ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . recordInteraction ( ) ;
}
}
} ;
items [ 5 ] = {
key : "flashScrollIndicators" ,
value : function flashScrollIndicators ( ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
const result = _listRef . flashScrollIndicators ( ) ;
}
}
} ;
items [ 6 ] = {
key : "getScrollResponder" ,
value : function getScrollResponder ( ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
return _listRef . getScrollResponder ( ) ;
}
}
} ;
items [ 7 ] = {
key : "getNativeScrollRef" ,
value : function getNativeScrollRef ( ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
return _listRef . getScrollRef ( ) ;
}
}
} ;
items [ 8 ] = {
key : "getScrollableNode" ,
value : function getScrollableNode ( ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
return _listRef . getScrollableNode ( ) ;
}
}
} ;
items [ 9 ] = {
key : "setNativeProps" ,
value : function setNativeProps ( arg0 ) {
if ( this . _listRef ) {
const _listRef = this . _listRef ;
_listRef . setNativeProps ( arg0 ) ;
}
}
} ;
items [ 10 ] = {
key : "componentDidUpdate" ,
value : function componentDidUpdate ( numColumns ) {
2026-07-23 10:11:24 +00:00
FlatList ( outer1 _3 [ 10 ] ) ( numColumns . numColumns === this . props . numColumns , "Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component." ) ;
FlatList ( outer1 _3 [ 10 ] ) ( null == numColumns . onViewableItemsChanged === ( null == this . props . onViewableItemsChanged ) , "Changing onViewableItemsChanged nullability on the fly is not supported" ) ;
const tmp3 = FlatList ( outer1 _3 [ 10 ] ) ;
tmp3 ( ! FlatList ( outer1 _3 [ 14 ] ) . default ( numColumns . viewabilityConfig , this . props . viewabilityConfig ) , "Changing viewabilityConfig on the fly is not supported" ) ;
FlatList ( outer1 _3 [ 10 ] ) ( numColumns . viewabilityConfigCallbackPairs === this . props . viewabilityConfigCallbackPairs , "Changing viewabilityConfigCallbackPairs on the fly is not supported" ) ;
2026-07-20 16:05:17 +00:00
this . _checkProps ( this . props ) ;
}
} ;
items [ 11 ] = {
key : "_checkProps" ,
value : function _checkProps ( onViewableItemsChanged ) {
let columnWrapperStyle ;
let getItem ;
let getItemCount ;
let horizontal ;
let viewabilityConfigCallbackPairs ;
onViewableItemsChanged = onViewableItemsChanged . onViewableItemsChanged ;
( { getItem , getItemCount , horizontal , columnWrapperStyle , viewabilityConfigCallbackPairs } = onViewableItemsChanged ) ;
let tmp3 = ! getItem ;
2026-07-23 10:11:24 +00:00
const tmp = outer1 _15 ( this . props . numColumns ) ;
2026-07-20 16:05:17 +00:00
if ( tmp3 ) {
tmp3 = ! getItemCount ;
}
2026-07-23 10:11:24 +00:00
FlatList ( outer1 _3 [ 10 ] ) ( tmp3 , "FlatList does not support custom data formats." ) ;
2026-07-20 16:05:17 +00:00
if ( tmp > 1 ) {
2026-07-23 10:11:24 +00:00
FlatList ( outer1 _3 [ 10 ] ) ( ! horizontal , "numColumns does not support horizontal." ) ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
FlatList ( outer1 _3 [ 10 ] ) ( ! columnWrapperStyle , "columnWrapperStyle not supported for single column lists" ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
const tmp2 = FlatList ( outer1 _3 [ 10 ] ) ;
2026-07-20 16:05:17 +00:00
if ( onViewableItemsChanged ) {
onViewableItemsChanged = viewabilityConfigCallbackPairs ;
}
2026-07-23 10:11:24 +00:00
FlatList ( outer1 _3 [ 10 ] ) ( ! onViewableItemsChanged , "FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs." ) ;
2026-07-20 16:05:17 +00:00
}
} ;
items [ 12 ] = {
key : "_pushMultiColumnViewable" ,
value : function _pushMultiColumnViewable ( items , item ) {
2026-07-23 10:11:24 +00:00
let closure _0 = items ;
let closure _1 = item ;
let closure _2 = outer1 _15 ( this . props . numColumns ) ;
2026-07-20 16:05:17 +00:00
let keyExtractor = this . props . keyExtractor ;
if ( null == keyExtractor ) {
2026-07-23 10:11:24 +00:00
keyExtractor = outer1 _1 ( outer1 _3 [ 9 ] ) . keyExtractor ;
2026-07-20 16:05:17 +00:00
}
item = item . item ;
const item1 = item . forEach ( ( item ) => {
2026-07-23 10:11:24 +00:00
FlatList ( outer2 _3 [ 10 ] ) ( null != item . index , "Missing index!" ) ;
const sum = item . index * closure _2 + arg1 ;
items . push ( Object . assign ( { } , item , { item , key : keyExtractor ( item , sum ) , index : sum } ) ) ;
2026-07-20 16:05:17 +00:00
} ) ;
}
} ;
items [ 13 ] = {
key : "_createOnViewableItemsChanged" ,
value : function _createOnViewableItemsChanged ( onViewableItemsChanged ) {
2026-07-23 10:11:24 +00:00
let closure _0 = onViewableItemsChanged ;
2026-07-20 16:05:17 +00:00
const self = this ;
return ( viewableItems ) => {
2026-07-23 10:11:24 +00:00
if ( items ) {
2026-07-20 16:05:17 +00:00
if ( tmp > 1 ) {
2026-07-23 10:11:24 +00:00
items = [ ] ;
2026-07-20 16:05:17 +00:00
const items1 = [ ] ;
viewableItems = viewableItems . viewableItems ;
const item = viewableItems . forEach ( ( item ) => items1 . _pushMultiColumnViewable ( items1 , item ) ) ;
const changed = viewableItems . changed ;
const item1 = changed . forEach ( ( item ) => items1 . _pushMultiColumnViewable ( items , item ) ) ;
const obj = { viewableItems : items1 , changed : items } ;
2026-07-23 10:11:24 +00:00
items ( obj ) ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
items ( viewableItems ) ;
2026-07-20 16:05:17 +00:00
}
}
} ;
}
} ;
items [ 14 ] = {
key : "render" ,
value : function render ( ) {
let columnWrapperStyle ;
let numColumns ;
let removeClippedSubviews ;
let strictMode ;
const self = this ;
const props = this . props ;
( { numColumns , columnWrapperStyle , removeClippedSubviews , strictMode } = props ) ;
const obj = { getItem : self . _getItem , getItemCount : self . _getItemCount , keyExtractor : self . _keyExtractor , ref : self . _captureRef , viewabilityConfigCallbackPairs : self . _virtualizedListPairs } ;
const tmp = undefined !== strictMode && strictMode ;
2026-07-23 10:11:24 +00:00
const tmp2 = outer1 _5 ( props , outer1 _4 ) ;
2026-07-20 16:05:17 +00:00
const tmp3 = undefined !== strictMode && strictMode ? self . _memoizedRenderer : self . _renderer ;
2026-07-23 10:11:24 +00:00
const tmp4 = outer1 _12 ;
const result = outer1 _2 ( outer1 _3 [ 8 ] ) . shouldUseRemoveClippedSubviewsAsDefaultOnIOS ( ) ;
2026-07-20 16:05:17 +00:00
obj . removeClippedSubviews = null == removeClippedSubviews || removeClippedSubviews ;
2026-07-23 10:11:24 +00:00
return tmp4 ( outer1 _1 ( outer1 _3 [ 9 ] ) . VirtualizedList , Object . assign ( { } , tmp2 , obj , tmp3 ( self . props . ListItemComponent , self . props . renderItem , columnWrapperStyle , numColumns , self . props . extraData ) ) ) ;
2026-07-20 16:05:17 +00:00
}
} ;
return callback ( FlatList , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( importAllResult . PureComponent ) ;
let closure _13 = require ( "setStyleAttributePreprocessor" ) . default . create ( { row : { flexDirection : "row" } } ) ;
2026-07-20 16:05:17 +00:00
export default tmp3 ;