"use strict";
/*
 * ATTENTION: An "eval-source-map" devtool has been used.
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
exports.id = "src_components_Commen_HomeSliderComponent_MainSlider_jsx";
exports.ids = ["src_components_Commen_HomeSliderComponent_MainSlider_jsx"];
exports.modules = {

/***/ "./src/components/Commen/HomeSliderComponent/MainSlider.jsx":
/*!******************************************************************!*\
  !*** ./src/components/Commen/HomeSliderComponent/MainSlider.jsx ***!
  \******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_bootstrap_Carousel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-bootstrap/Carousel */ \"react-bootstrap/Carousel\");\n/* harmony import */ var react_bootstrap_Carousel__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Carousel__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../url */ \"./src/components/url.js\");\n/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! next/image */ \"./node_modules/next/image.js\");\n/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_image__WEBPACK_IMPORTED_MODULE_4__);\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\n\n\nfunction MainSlider({ slider }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react_bootstrap_Carousel__WEBPACK_IMPORTED_MODULE_2___default()), {\n            fade: true,\n            interval: 1000,\n            controls: false,\n            indicators: false,\n            className: \"flex-fill\",\n            children: slider && slider.length > 0 && slider.map((item, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react_bootstrap_Carousel__WEBPACK_IMPORTED_MODULE_2___default().Item), {\n                    className: \"main-slider\",\n                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"position-relative w-100\",\n                        style: {\n                            aspectRatio: \"6/2\"\n                        },\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((next_image__WEBPACK_IMPORTED_MODULE_4___default()), {\n                            src: _url__WEBPACK_IMPORTED_MODULE_3__.URL?.API_BASE_URL + item.image,\n                            alt: `Slide ${index + 1}`,\n                            fill: true,\n                            style: {\n                                objectFit: \"cover\"\n                            },\n                            priority: true\n                        }, void 0, false, {\n                            fileName: \"/home2/updatebharat/public_html/src/components/Commen/HomeSliderComponent/MainSlider.jsx\",\n                            lineNumber: 25,\n                            columnNumber: 17\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home2/updatebharat/public_html/src/components/Commen/HomeSliderComponent/MainSlider.jsx\",\n                        lineNumber: 21,\n                        columnNumber: 15\n                    }, this)\n                }, index, false, {\n                    fileName: \"/home2/updatebharat/public_html/src/components/Commen/HomeSliderComponent/MainSlider.jsx\",\n                    lineNumber: 20,\n                    columnNumber: 13\n                }, this))\n        }, void 0, false, {\n            fileName: \"/home2/updatebharat/public_html/src/components/Commen/HomeSliderComponent/MainSlider.jsx\",\n            lineNumber: 10,\n            columnNumber: 7\n        }, this)\n    }, void 0, false);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MainSlider);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29tcG9uZW50cy9Db21tZW4vSG9tZVNsaWRlckNvbXBvbmVudC9NYWluU2xpZGVyLmpzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUMwQjtBQUNpQjtBQUNYO0FBQ0Q7QUFFL0IsU0FBU0ksV0FBVyxFQUFFQyxNQUFNLEVBQUU7SUFDNUIscUJBQ0U7a0JBQ0UsNEVBQUNKLGlFQUFRQTtZQUNQSyxJQUFJO1lBQ0pDLFVBQVU7WUFDVkMsVUFBVTtZQUNWQyxZQUFZO1lBQ1pDLFdBQVU7c0JBRVRMLFVBQ0NBLE9BQU9NLE1BQU0sR0FBRyxLQUNoQk4sT0FBT08sR0FBRyxDQUFDLENBQUNDLE1BQU1DLHNCQUNoQiw4REFBQ2Isc0VBQWE7b0JBQWFTLFdBQVU7OEJBQ25DLDRFQUFDTTt3QkFDQ04sV0FBVTt3QkFDVk8sT0FBTzs0QkFBRUMsYUFBYTt3QkFBTTtrQ0FFNUIsNEVBQUNmLG1EQUFLQTs0QkFDSmdCLEtB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aW5kZXgpID0+IChcclxuICAgICAgICAgICAgPENhcm91c2VsLkl0ZW0ga2V5PXtpbmRleH0gY2xhc3NOYW1lPVwibWFpbi1zbGlkZXJcIj5cclxuICAgICAgICAgICAgICA8ZGl2XHJcbiAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJwb3NpdGlvbi1yZWxhdGl2ZSB3LTEwMFwiXHJcbiAgICAgICAgICAgICAgICBzdHlsZT17eyBhc3BlY3RSYXRpbzogXCI2LzJcIiB9fVxyXG4gICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxJbWFnZVxyXG4gICAgICAgICAgICAgICAgICBzcmM9e1VSTD8uQVBJX0JBU0VfVVJMICsgaXRlbS5pbWFnZX1cclxuICAgICAgICAgICAgICAgICAgYWx0PXtgU2xpZGUgJHtpbmRleCArIDF9YH1cclxuICAgICAgICAgICAgICAgICAgZmlsbFxyXG4gICAgICAgICAgICAgICAgICBzdHlsZT17eyBvYmplY3RGaXQ6IFwiY292ZXJcIiB9fVxyXG4gICAgICAgICAgICAgICAgICBwcmlvcml0eVxyXG4gICAgICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9DYXJvdXNlbC5JdGVtPlxyXG4gICAgICAgICAgKSl9XHJcbiAgICAgIDwvQ2Fyb3VzZWw+XHJcbiAgICA8Lz5cclxuICApO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBNYWluU2xpZGVyO1xyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJDYXJvdXNlbCIsIlVSTCIsIkltYWdlIiwiTWFpblNsaWRlciIsInNsaWRlciIsImZhZGUiLCJpbnRlcnZhbCIsImNvbnRyb2xzIiwiaW5kaWNhdG9ycyIsImNsYXNzTmFtZSIsImxlbmd0aCIsIm1hcCIsIml0ZW0iLCJpbmRleCIsIkl0ZW0iLCJkaXYiLCJzdHlsZSIsImFzcGVjdFJhdGlvIiwic3JjIiwiQVBJX0JBU0VfVVJMIiwiaW1hZ2UiLCJhbHQiLCJmaWxsIiwib2JqZWN0Rml0IiwicHJpb3JpdHkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/components/Commen/HomeSliderComponent/MainSlider.jsx\n");

/***/ })

};
;