28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
// Module ID: 10455
|
|
// Function ID: 10456
|
|
// Dependencies: [19, 21, 10456, 10459, 10463, 10464, 10465]
|
|
|
|
// Module 10455
|
|
import noopDefault from "noop" /* 19 */;
|
|
import useInitProps from "useInitProps" /* 10456 */;
|
|
import useCommonVariables from "useCommonVariables" /* 10459 */;
|
|
import usePropsErrorBoundary from "usePropsErrorBoundary" /* 10463 */;
|
|
import context from "context" /* 10464 */;
|
|
import CarouselLayout from "CarouselLayout" /* 10465 */;
|
|
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 }) });
|
|
});
|