2026-08-05 07:35:12 +00:00
// Module ID: 5380
// Function ID: 5381
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-05 07:35:12 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 5381, 5357, 5372, 5370]
2026-07-29 08:29:29 +00:00
2026-08-05 07:35:12 +00:00
// Module 5380 (_isNativeReflectConstruct)
2026-08-04 08:36:32 +00:00
import _classCallCheck from "_classCallCheck" ;
2026-07-29 08:29:29 +00:00
import _possibleConstructorReturn from "_possibleConstructorReturn" ;
import _getPrototypeOf from "_getPrototypeOf" ;
import importDefaultResult from "_createClass" ;
2026-08-04 08:36:32 +00:00
import importDefaultResult1 from "_inherits" ;
import importDefaultResult3 from "PlatformConstants" ;
2026-07-29 08:29:29 +00:00
2026-08-04 08:36:32 +00:00
const ForceTouchFallback = arg1 ;
2026-07-29 08:29:29 +00:00
function _isNativeReflectConstruct ( ) {
try {
const _Boolean = Boolean ;
const call = valueOf . call ;
const _Reflect = Reflect ;
const _Boolean2 = Boolean ;
if ( typeof call === "unknown" ) {
let callResult = valueOf ( ) ;
} else {
callResult = call ( constructResult ) ;
}
let closure _0 = ! callResult ;
function _isNativeReflectConstruct ( ) {
return closure _0 ;
}
return _isNativeReflectConstruct ( ) ;
} catch ( err ) {
}
}
2026-08-04 08:36:32 +00:00
class ForceTouchFallback {
2026-07-29 08:29:29 +00:00
constructor ( ) {
self = this ;
2026-08-04 08:36:32 +00:00
tmp = _isNativeReflectConstruct ( this , ForceTouchFallback ) ;
tmp2 = _isNativeReflectConstruct ;
obj = _isNativeReflectConstruct ( ForceTouchFallback ) ;
tmp3 = _isNativeReflectConstruct ;
2026-07-29 08:29:29 +00:00
if ( _isNativeReflectConstruct ( ) ) {
2026-08-04 08:36:32 +00:00
tmp7 = globalThis ;
2026-07-29 08:29:29 +00:00
_Reflect = Reflect ;
2026-08-04 08:36:32 +00:00
tmp8 = arguments ;
constructResult = Reflect . construct ( obj , arguments , tmp2 ( self ) . constructor ) ;
2026-07-29 08:29:29 +00:00
} else {
2026-08-04 08:36:32 +00:00
tmp4 = arguments ;
tmp5 = arguments ;
constructResult = obj ( ... arguments ) ;
2026-07-29 08:29:29 +00:00
}
2026-08-04 08:36:32 +00:00
return tmp3 ( self , constructResult ) ;
2026-07-29 08:29:29 +00:00
}
}
2026-08-04 08:36:32 +00:00
importDefaultResult1 ( ForceTouchFallback , require ( "noop" ) . Component ) ;
let obj = {
key : "componentDidMount" ,
value : function componentDidMount ( ) {
2026-08-05 07:35:12 +00:00
console . warn ( ForceTouchFallback ( 5357 ) . tagMessage ( "ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase" ) ) ;
2026-08-04 08:36:32 +00:00
}
} ;
2026-07-31 08:44:05 +00:00
const items = [
2026-08-04 08:36:32 +00:00
obj ,
2026-07-31 08:44:05 +00:00
{
2026-08-04 08:36:32 +00:00
key : "render" ,
value : function render ( ) {
return this . props . children ;
2026-07-29 08:29:29 +00:00
}
}
] ;
2026-08-04 08:36:32 +00:00
let importDefaultResultResult = importDefaultResult ( ForceTouchFallback , items ) ;
importDefaultResultResult . forceTouchAvailable = false ;
let forceTouchAvailable ;
if ( importDefaultResult3 != null ) {
forceTouchAvailable = importDefaultResult3 . forceTouchAvailable ;
}
const items1 = [ "minForce" , "maxForce" , "feedbackOnActivation" ] ;
if ( forceTouchAvailable ) {
obj = { name : "ForceTouchGestureHandler" , allowedProps : null , config : null } ;
const items2 = [ ] ;
HermesBuiltin . arraySpread ( items1 , HermesBuiltin . arraySpread ( require ( "items1" ) . baseGestureHandlerProps , 0 ) ) ;
obj [ 1 ] = items2 ;
obj [ 2 ] = { } ;
importDefaultResultResult = require ( "_isNativeReflectConstruct" ) ( obj ) ;
const importDefaultResult4 = require ( "_isNativeReflectConstruct" ) ;
}
let flag ;
if ( importDefaultResult3 != null ) {
flag = importDefaultResult3 . forceTouchAvailable ;
}
if ( ! flag ) {
flag = false ;
}
importDefaultResultResult . forceTouchAvailable = flag ;
2026-07-29 08:29:29 +00:00
2026-08-04 08:36:32 +00:00
export const forceTouchGestureHandlerProps = items1 ;
export const forceTouchHandlerName = "ForceTouchGestureHandler" ;
export const ForceTouchGestureHandler = importDefaultResultResult ;