2026-08-24 06:08:38 +00:00
// Module ID: 6446
// Function ID: 6447
2026-08-05 07:35:12 +00:00
// Name: _isNativeReflectConstruct
2026-08-24 06:08:38 +00:00
// Dependencies: [41, 42, 93, 95, 98, 19, 6447, 6413, 6435, 6433]
2026-08-05 07:35:12 +00:00
2026-08-24 06:08:38 +00:00
// Module 6446 (_isNativeReflectConstruct)
import noopDefault from "noop" /* 19 */ ;
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6435 */ ;
import closure _2 from "_classCallCheck" /* 41 */ ;
import closure _3 from "_possibleConstructorReturn" /* 93 */ ;
import closure _4 from "_getPrototypeOf" /* 95 */ ;
import importDefaultResult from "_createClass" /* 42 */ ;
import importDefaultResult1 from "_inherits" /* 98 */ ;
import importDefaultResult3 from "PlatformConstants" /* 6447 */ ;
2026-08-05 07:35:12 +00:00
2026-08-08 06:10:11 +00:00
const ForceTouchFallback = arg1 ;
2026-08-05 07:35:12 +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 ) ;
}
2026-08-24 06:08:38 +00:00
closure _0 = ! callResult ;
_isNativeReflectConstruct = function _isNativeReflectConstruct ( ) {
2026-08-05 07:35:12 +00:00
return closure _0 ;
2026-08-24 06:08:38 +00:00
} ;
2026-08-05 07:35:12 +00:00
return _isNativeReflectConstruct ( ) ;
} catch ( err ) {
}
}
2026-08-08 06:10:11 +00:00
class ForceTouchFallback {
2026-08-05 07:35:12 +00:00
constructor ( ) {
self = this ;
2026-08-24 06:08:38 +00:00
tmp = closure _2 ( this , ForceTouchFallback ) ;
tmp2 = closure _4 ;
obj = closure _4 ( ForceTouchFallback ) ;
tmp3 = closure _3 ;
2026-08-07 06:50:47 +00:00
if ( _isNativeReflectConstruct ( ) ) {
tmp7 = globalThis ;
_Reflect = Reflect ;
tmp8 = arguments ;
constructResult = Reflect . construct ( obj , arguments , tmp2 ( self ) . constructor ) ;
} else {
tmp4 = arguments ;
tmp5 = arguments ;
constructResult = obj ( ... arguments ) ;
}
return tmp3 ( self , constructResult ) ;
}
}
2026-08-24 06:08:38 +00:00
importDefaultResult1 ( ForceTouchFallback , noopDefault . Component ) ;
2026-08-08 06:10:11 +00:00
let obj = {
key : "componentDidMount" ,
value : function componentDidMount ( ) {
2026-08-24 06:08:38 +00:00
console . warn ( ForceTouchFallback ( 6413 ) . 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-07 06:50:47 +00:00
}
} ;
2026-08-08 06:10:11 +00:00
const items = [
2026-08-07 06:50:47 +00:00
obj ,
{
2026-08-08 06:10:11 +00:00
key : "render" ,
value : function render ( ) {
return this . props . children ;
2026-08-05 07:35:12 +00:00
}
}
] ;
2026-08-08 06:10:11 +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 ] = { } ;
2026-08-24 06:08:38 +00:00
importDefaultResultResult = _isNativeReflectConstructDefault ( obj ) ;
const importDefaultResult4 = _isNativeReflectConstructDefault ;
2026-08-08 06:10:11 +00:00
}
let flag ;
if ( importDefaultResult3 != null ) {
flag = importDefaultResult3 . forceTouchAvailable ;
}
if ( ! flag ) {
flag = false ;
}
importDefaultResultResult . forceTouchAvailable = flag ;
2026-08-05 07:35:12 +00:00
2026-08-08 06:10:11 +00:00
export const forceTouchGestureHandlerProps = items1 ;
export const forceTouchHandlerName = "ForceTouchGestureHandler" ;
export const ForceTouchGestureHandler = importDefaultResultResult ;