decord/source/9996_Basic.js

78 lines
2.2 KiB
JavaScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 9996
// Function ID: 9997
2026-07-20 16:05:17 +00:00
// Name: Basic
2026-08-06 08:05:19 +00:00
// Dependencies: [17, 19, 21, 9997]
2026-07-20 16:05:17 +00:00
// Exports: Basic
2026-08-06 08:05:19 +00:00
// Module 9996 (Basic)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const Basic = (data) => {
2026-07-23 10:11:24 +00:00
let View;
let closure_6;
let closure_7;
let closure_8;
2026-07-20 16:05:17 +00:00
let dotStyle;
let horizontal;
2026-07-23 10:11:24 +00:00
let require;
({ activeDotStyle: require, dotStyle } = data);
({ progress: View, horizontal } = data);
2026-07-20 16:05:17 +00:00
const jsx = tmp;
data = data.data;
const size = data.size;
({ renderItem: closure_6, onPress: closure_7, carouselName: closure_8 } = data);
2026-08-04 21:03:28 +00:00
if (typeof size !== "string") {
2026-07-20 16:05:17 +00:00
let width;
2026-07-29 08:29:29 +00:00
if (dotStyle != null) {
2026-07-20 16:05:17 +00:00
width = dotStyle.width;
}
2026-08-04 21:03:28 +00:00
if (typeof width !== "string") {
2026-07-20 16:05:17 +00:00
let height;
2026-07-29 08:29:29 +00:00
if (dotStyle != null) {
2026-07-20 16:05:17 +00:00
height = dotStyle.height;
}
2026-08-04 21:03:28 +00:00
if (typeof height !== "string") {
2026-07-23 10:11:24 +00:00
const items = [{ justifyContent: "space-between", alignSelf: "center" }, , ];
2026-07-29 08:29:29 +00:00
let obj = { style: null, children: null };
items[1] = tmp ? { flexDirection: "row" } : { flexDirection: "column" };
2026-07-20 16:05:17 +00:00
items[2] = tmp2;
2026-07-29 08:29:29 +00:00
obj[0] = items;
obj[1] = data.map((arg0, index) => {
2026-07-23 10:11:24 +00:00
let closure_0 = index;
2026-07-20 16:05:17 +00:00
const obj = {
index,
size,
count: data.length,
dotStyle,
animValue: closure_2,
2026-07-23 10:11:24 +00:00
horizontal: !closure_3,
activeDotStyle: closure_0,
2026-07-20 16:05:17 +00:00
onPress() {
2026-07-29 08:29:29 +00:00
let tmpResult;
if (outer1_7 != null) {
tmpResult = tmp(closure_0);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return tmpResult;
2026-07-20 16:05:17 +00:00
},
2026-07-29 08:29:29 +00:00
accessibilityLabel: null,
children: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
obj[8] = "Slide " + index + 1 + " of " + data.length + " - " + closure_8;
let tmp2Result;
if (closure_6 != null) {
tmp2Result = tmp2(arg0, index);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[9] = tmp2Result;
2026-07-23 10:11:24 +00:00
return closure_3(outer1_0(dotStyle[3]).PaginationItem, obj, index);
2026-07-20 16:05:17 +00:00
});
2026-07-29 08:29:29 +00:00
return <View style={null}>{null}</View>;
2026-07-20 16:05:17 +00:00
}
}
}
const error = new Error("size/width/height must be a number");
throw error;
};