2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 406
|
|
|
|
|
// Function ID: 407
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: _isNativeReflectConstruct
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [109, 41, 42, 93, 95, 98, 19, 21, 312]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
// Module 406 (_isNativeReflectConstruct)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _objectWithoutProperties from "_objectWithoutProperties";
|
2026-07-29 08:29:29 +00:00
|
|
|
import _classCallCheck from "_classCallCheck";
|
2026-07-23 10:11:24 +00:00
|
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
|
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
2026-07-29 08:29:29 +00:00
|
|
|
import importDefaultResult from "_createClass";
|
|
|
|
|
import importDefaultResult1 from "_inherits";
|
2026-07-23 10:11:24 +00:00
|
|
|
import { jsx } from "jsxProd";
|
|
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
const SectionList = importDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
function _isNativeReflectConstruct() {
|
2026-07-29 08:29:29 +00:00
|
|
|
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-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_2 = ["stickySectionHeadersEnabled"];
|
2026-07-29 08:29:29 +00:00
|
|
|
class SectionList {
|
|
|
|
|
constructor() {
|
|
|
|
|
self = this;
|
|
|
|
|
items = [...arguments];
|
|
|
|
|
apply = undefined;
|
|
|
|
|
tmp = _isNativeReflectConstruct(this, apply);
|
|
|
|
|
items1 = [...items];
|
|
|
|
|
tmp2 = _isNativeReflectConstruct;
|
|
|
|
|
obj = _isNativeReflectConstruct(apply);
|
|
|
|
|
tmp3 = _isNativeReflectConstruct;
|
|
|
|
|
if (_isNativeReflectConstruct()) {
|
|
|
|
|
tmp5 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
|
|
|
|
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
|
|
|
|
|
} else {
|
|
|
|
|
constructResult = obj.apply(self, items1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp3Result = tmp3(self, constructResult);
|
|
|
|
|
apply = tmp3Result;
|
|
|
|
|
tmp3Result._captureRef = (_wrapperListRef) => {
|
|
|
|
|
c0._wrapperListRef = _wrapperListRef;
|
|
|
|
|
};
|
|
|
|
|
return tmp3Result;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
importDefaultResult1(SectionList, require("noop").PureComponent);
|
|
|
|
|
let items = [
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "scrollToLocation",
|
|
|
|
|
value: function scrollToLocation(arg0) {
|
|
|
|
|
if (null != this._wrapperListRef) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const _wrapperListRef = tmp._wrapperListRef;
|
2026-07-20 16:05:17 +00:00
|
|
|
_wrapperListRef.scrollToLocation(arg0);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "recordInteraction",
|
|
|
|
|
value: function recordInteraction() {
|
|
|
|
|
let _wrapperListRef = this._wrapperListRef;
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const _wrapperListRef2 = this._wrapperListRef;
|
|
|
|
|
_wrapperListRef = _wrapperListRef2.getListRef();
|
|
|
|
|
}
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
_wrapperListRef.recordInteraction();
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "flashScrollIndicators",
|
|
|
|
|
value: function flashScrollIndicators() {
|
|
|
|
|
let _wrapperListRef = this._wrapperListRef;
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const _wrapperListRef2 = this._wrapperListRef;
|
|
|
|
|
_wrapperListRef = _wrapperListRef2.getListRef();
|
|
|
|
|
}
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const result = _wrapperListRef.flashScrollIndicators();
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "getScrollResponder",
|
|
|
|
|
value: function getScrollResponder() {
|
|
|
|
|
let _wrapperListRef = this._wrapperListRef;
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const _wrapperListRef2 = this._wrapperListRef;
|
|
|
|
|
_wrapperListRef = _wrapperListRef2.getListRef();
|
|
|
|
|
}
|
|
|
|
|
return _wrapperListRef ? _wrapperListRef.getScrollResponder() : undefined;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "getScrollableNode",
|
|
|
|
|
value: function getScrollableNode() {
|
|
|
|
|
let _wrapperListRef = this._wrapperListRef;
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const _wrapperListRef2 = this._wrapperListRef;
|
|
|
|
|
_wrapperListRef = _wrapperListRef2.getListRef();
|
|
|
|
|
}
|
|
|
|
|
return _wrapperListRef ? _wrapperListRef.getScrollableNode() : undefined;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "setNativeProps",
|
|
|
|
|
value: function setNativeProps(arg0) {
|
|
|
|
|
let _wrapperListRef = this._wrapperListRef;
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
const _wrapperListRef2 = this._wrapperListRef;
|
|
|
|
|
_wrapperListRef = _wrapperListRef2.getListRef();
|
|
|
|
|
}
|
|
|
|
|
if (_wrapperListRef) {
|
|
|
|
|
_wrapperListRef.setNativeProps(arg0);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-20 16:05:17 +00:00
|
|
|
key: "render",
|
|
|
|
|
value: function render() {
|
|
|
|
|
const props = this.props;
|
2026-07-29 08:29:29 +00:00
|
|
|
let flag = props.stickySectionHeadersEnabled;
|
|
|
|
|
if (flag == null) {
|
|
|
|
|
flag = false;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = {};
|
|
|
|
|
const merged = Object.assign(callback(props, closure_2));
|
|
|
|
|
obj.stickySectionHeadersEnabled = flag;
|
|
|
|
|
obj.ref = this._captureRef;
|
|
|
|
|
obj.getItemCount = function getItemCount(arg0) {
|
|
|
|
|
return arg0.length;
|
|
|
|
|
};
|
|
|
|
|
obj.getItem = function getItem(arg0, arg1) {
|
|
|
|
|
return arg0[arg1];
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-07-29 08:29:29 +00:00
|
|
|
return jsx(SectionList(312).VirtualizedSectionList, {});
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default importDefaultResult(SectionList, items);
|