28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
// Module ID: 10758
|
|
// Function ID: 10759
|
|
// Dependencies: [19, 21, 10759, 10762, 10766, 10767, 10768]
|
|
|
|
// Module 10758
|
|
import noopDefault from "noop" /* 19 */;
|
|
import useInitProps from "useInitProps" /* 10759 */;
|
|
import useCommonVariables from "useCommonVariables" /* 10762 */;
|
|
import usePropsErrorBoundary from "usePropsErrorBoundary" /* 10766 */;
|
|
import context from "context" /* 10767 */;
|
|
import CarouselLayout from "CarouselLayout" /* 10768 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
require = arg1;
|
|
|
|
export default noopDefault.forwardRef((defaultIndex, ref) => {
|
|
let obj = useInitProps;
|
|
const initProps = obj.useInitProps(defaultIndex);
|
|
obj1 = useCommonVariables;
|
|
const commonVariables = obj1.useCommonVariables(initProps);
|
|
obj = {};
|
|
const merged = Object.assign(initProps);
|
|
obj.dataLength = initProps.dataLength;
|
|
const propsErrorBoundary = usePropsErrorBoundary.usePropsErrorBoundary(obj);
|
|
obj = { value: { props: initProps, common: commonVariables }, children: jsx(CarouselLayout.CarouselLayout, obj1) };
|
|
obj1 = { ref };
|
|
return jsx(context.GlobalStateProvider, { value: { props: initProps, common: commonVariables }, children: jsx(CarouselLayout.CarouselLayout, { ref }) });
|
|
});
|