2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 6543
|
|
|
|
|
// Function ID: 6544
|
2026-08-13 07:00:46 +00:00
|
|
|
// Name: _isNativeReflectConstruct
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [109, 41, 42, 93, 95, 98, 19, 17, 21, 6541]
|
2026-08-13 07:00:46 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 6543 (_isNativeReflectConstruct)
|
|
|
|
|
import noopAll from "noop" /* 19 */;
|
|
|
|
|
import _inheritsDefault from "_inherits" /* 98 */;
|
|
|
|
|
import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 6541 */;
|
|
|
|
|
import closure_4 from "_objectWithoutProperties" /* 109 */;
|
|
|
|
|
import closure_5 from "_classCallCheck" /* 41 */;
|
|
|
|
|
import closure_6 from "_possibleConstructorReturn" /* 93 */;
|
|
|
|
|
import closure_7 from "_getPrototypeOf" /* 95 */;
|
|
|
|
|
import importDefaultResult from "_createClass" /* 42 */;
|
|
|
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-08-13 07:00:46 +00:00
|
|
|
|
|
|
|
|
const TouchableOpacity = arg1;
|
|
|
|
|
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-13 07:00:46 +00:00
|
|
|
return closure_0;
|
2026-08-24 06:08:38 +00:00
|
|
|
};
|
2026-08-13 07:00:46 +00:00
|
|
|
return _isNativeReflectConstruct();
|
|
|
|
|
} catch (err) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let closure_3 = ["style"];
|
2026-08-24 06:08:38 +00:00
|
|
|
noopAll;
|
|
|
|
|
({ Animated: closure_8, Easing: c9, StyleSheet: c10, View: unpackModuleId } = get_ActivityIndicator);
|
2026-08-13 07:00:46 +00:00
|
|
|
class TouchableOpacity {
|
|
|
|
|
constructor() {
|
|
|
|
|
self = this;
|
|
|
|
|
items = [...arguments];
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = undefined;
|
|
|
|
|
tmp = closure_5(this, closure_0);
|
2026-08-13 07:00:46 +00:00
|
|
|
items1 = [...items];
|
2026-08-24 06:08:38 +00:00
|
|
|
tmp2 = closure_7;
|
|
|
|
|
obj = closure_7(closure_0);
|
|
|
|
|
tmp3 = closure_6;
|
2026-08-13 07:00:46 +00:00
|
|
|
if (_isNativeReflectConstruct()) {
|
|
|
|
|
tmp5 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
|
|
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
|
|
|
} else {
|
|
|
|
|
constructResult = obj.apply(self, items1);
|
|
|
|
|
}
|
|
|
|
|
tmp3Result = tmp3(self, constructResult);
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = tmp3Result;
|
2026-08-13 07:00:46 +00:00
|
|
|
tmp3Result.getChildStyleOpacityWithDefault = () => {
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp = closure_1_10.flatten(store.props.style) || {};
|
2026-08-13 07:00:46 +00:00
|
|
|
let num = 1;
|
|
|
|
|
if (null != tmp.opacity) {
|
|
|
|
|
const opacity = tmp.opacity;
|
|
|
|
|
num = opacity.valueOf();
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
};
|
|
|
|
|
value = new Animated.Value(tmp3Result.getChildStyleOpacityWithDefault());
|
|
|
|
|
tmp3Result.opacity = value;
|
|
|
|
|
tmp3Result.setOpacityTo = (toValue, duration) => {
|
2026-08-24 06:08:38 +00:00
|
|
|
const obj = { toValue, duration, easing: closure_1_9.inOut(closure_1_9.quad), useNativeDriver: null };
|
|
|
|
|
let flag = store.props.useNativeAnimations;
|
2026-08-13 07:00:46 +00:00
|
|
|
if (flag == null) {
|
|
|
|
|
flag = true;
|
|
|
|
|
}
|
|
|
|
|
obj[3] = flag;
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_1_8.timing(store.opacity, obj).start();
|
2026-08-13 07:00:46 +00:00
|
|
|
};
|
|
|
|
|
tmp3Result.onStateChange = (arg0, arg1) => {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (arg1 === store(closure_1_2[9]).TOUCHABLE_STATE.BEGAN) {
|
|
|
|
|
store.setOpacityTo(store.props.activeOpacity, 0);
|
2026-08-13 07:00:46 +00:00
|
|
|
} else {
|
|
|
|
|
if (!tmp3) {
|
2026-08-24 06:08:38 +00:00
|
|
|
store.setOpacityTo(store.getChildStyleOpacityWithDefault(), 150);
|
2026-08-13 07:00:46 +00:00
|
|
|
}
|
|
|
|
|
tmp3 = arg1 !== tmp(tmp2[9]).TOUCHABLE_STATE.UNDETERMINED && arg1 !== tmp(tmp2[9]).TOUCHABLE_STATE.MOVED_OUTSIDE;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return tmp3Result;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
_inheritsDefault(TouchableOpacity, require("noop").Component);
|
2026-08-13 07:00:46 +00:00
|
|
|
let obj = {
|
|
|
|
|
key: "render",
|
|
|
|
|
value: function render() {
|
|
|
|
|
const self = this;
|
|
|
|
|
const props = this.props;
|
|
|
|
|
let style = props.style;
|
|
|
|
|
if (undefined === style) {
|
|
|
|
|
style = {};
|
|
|
|
|
}
|
|
|
|
|
const obj = {};
|
|
|
|
|
const tmp = callback(props, closure_3);
|
|
|
|
|
const merged = Object.assign(tmp);
|
|
|
|
|
const items = [style, { opacity: self.opacity }];
|
|
|
|
|
obj.style = items;
|
|
|
|
|
obj.onStateChange = self.onStateChange;
|
|
|
|
|
if (self.props.children) {
|
|
|
|
|
let children = self.props.children;
|
|
|
|
|
} else {
|
|
|
|
|
children = tmp2(closure_11, {});
|
|
|
|
|
}
|
|
|
|
|
obj.children = children;
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(_isNativeReflectConstructDefault, {});
|
2026-08-13 07:00:46 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let items = [obj];
|
|
|
|
|
const importDefaultResultResult = importDefaultResult(TouchableOpacity, items);
|
|
|
|
|
obj = {};
|
2026-08-24 06:08:38 +00:00
|
|
|
let merged = Object.assign(_isNativeReflectConstructDefault.defaultProps);
|
2026-08-13 07:00:46 +00:00
|
|
|
obj.activeOpacity = 0.2;
|
|
|
|
|
importDefaultResultResult.defaultProps = obj;
|
|
|
|
|
|
|
|
|
|
export default importDefaultResultResult;
|