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C,gBAAA,YACH,SAHL,CA3BU,CAiCd,CACAC,KAlCc,cAmCdC,IAAA,CAAM,UAnCQ,GAoCdC,MAAA,GApCc,CAqCdC,UAAA,CArCc,aAsCdC,YAtCc,WAsCD,GACTC,UAAO,CAAP,WAvCU,SAyCd,CACIC,qBAAW,CAAP,SAAmCC,CAAA,QACnC,WAAQ,EAAR,OAAQJ,UAAA,EACRI,CAAO,GACV,MA7CSJ,UAAA,CAAAI,CAAA,IAgDd,CACIC,oBAAW,UAA4BvH,CAAA,EACnC,oBAAAkH,UAAA,EAGPC,YAAA,CAAAnH,CAAA,EArDL,WAwDaqE,CAAG,EAAgC,CAC5C,IAAAmD,CAAO,CAAKC,MAAZ,QACAxD,CAAA,CAAOuD,CAAP,CAAApB,CAAA,EACHoB,CAAA","sources":["webpack://_N_E/./src/components/NltOffers/HomeOffersList.tsx","webpack://_N_E/./src/components/common/Carousel.tsx","webpack://_N_E/./node_modules/ssr-window/ssr-window.esm.js","webpack://_N_E/"],"sourcesContent":["import React, { FC } from 'react'\nimport { SectionTitleWithIcon } from 'src/uikit'\nimport {\n Box,\n Container,\n useBreakpointValue,\n StyleProps,\n} from '@chakra-ui/react'\nimport Carousel from '../common/Carousel'\nimport { Offer } from '.'\n\ninterface Props {\n title?: string\n href?: string\n action?: string\n alt?: string\n offers: Array\n target?: '_self' | '_blank'\n numPerView?: number\n w?: string | number\n bgColor?: string\n}\n\nconst HomeOffersList: FC = ({\n title,\n href,\n action,\n alt,\n offers,\n target,\n numPerView,\n w,\n bgColor,\n ...others\n}) => {\n const isMobile = useBreakpointValue({ base: true, md: false })\n\n return (\n \n \n {title && }\n \n {offers.map(offer => {\n return (\n \n \n \n )\n })}\n \n \n \n )\n}\n\nexport default HomeOffersList\n","import { Children, ReactNode, VFC, useEffect, useState } from 'react'\nimport SwiperCore, { Scrollbar, Pagination, Navigation, Grid, SwiperOptions } from 'swiper'\nimport { Swiper, SwiperSlide } from 'swiper/react'\nimport { GridOptions } from 'swiper/types'\nimport styled from 'styled-components'\n\nimport 'swiper/css'\nimport 'swiper/css/scrollbar'\nimport 'swiper/css/navigation'\nimport 'swiper/css/pagination'\nimport 'swiper/css/grid'\n\nSwiperCore.use([Scrollbar, Pagination, Navigation, Grid]);\n\nconst Wrapper = styled.span<{ withCustomNavigation?: boolean }>`\n position: relative;\n display: ${props => props.withCustomNavigation ? 'block' : 'inline'};\n\n .swiper-grid-column {\n height: 100%;\n }\n`\n\n/*\n workaround\n @see https://github.com/nolimits4web/swiper/issues/4413\n @see https://github.com/nolimits4web/swiper/issues/4084\n*/\n\ntype ItemProps = {\n children: ReactNode\n}\nconst Item = ({ children }: ItemProps) => {\n return <>{children}\n}\n\ntype CarouselComposition = {\n Item: typeof Item\n}\n\nexport type CarouselProps = {\n children: ReactNode\n withScrollbar?: boolean\n withNavigation?: boolean\n withCustomNavigation?: boolean\n withPagination?: boolean\n slidesPerView?: number\n spaceBetween?: number\n className?: string\n breakpoints?: {\n [width: number]: SwiperOptions\n [ratio: string]: SwiperOptions\n },\n grid?: GridOptions\n}\n\nexport const CarouselItem = ({ children }) =>\n \n {children}\n \n\nconst Carousel: VFC & CarouselComposition = ({\n children,\n withScrollbar,\n withNavigation,\n withCustomNavigation,\n withPagination,\n slidesPerView,\n spaceBetween,\n className,\n breakpoints,\n grid,\n}) => {\n const [uniqueId, setUniqueId] = useState(null)\n\n useEffect(() => {\n setUniqueId(`${Math.random()}`.substring(2, 15))\n }, [])\n\n return \n \n {withCustomNavigation &&\n <>\n \n \n \n }\n {Children.map(children, (child: ReactNode) => (\n {child}\n ))}\n \n \n}\n\nCarousel.Item = Item\n\nexport default Carousel\n","/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return (obj !== null &&\n typeof obj === 'object' &&\n 'constructor' in obj &&\n obj.constructor === Object);\n}\nfunction extend(target = {}, src = {}) {\n Object.keys(src).forEach((key) => {\n if (typeof target[key] === 'undefined')\n target[key] = src[key];\n else if (isObject(src[key]) &&\n isObject(target[key]) &&\n Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nconst ssrDocument = {\n body: {},\n addEventListener() { },\n removeEventListener() { },\n activeElement: {\n blur() { },\n nodeName: '',\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() { },\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() { },\n getElementsByTagName() {\n return [];\n },\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: '',\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n history: {\n replaceState() { },\n pushState() { },\n go() { },\n back() { },\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() { },\n removeEventListener() { },\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n },\n };\n },\n Image() { },\n Date() { },\n screen: {},\n setTimeout() { },\n clearTimeout() { },\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n },\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[9594,5240,2518],{\n\n/***/ 52711:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59499);\n/* harmony import */ var _codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4730);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67294);\n/* harmony import */ var src_uikit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(58598);\n/* harmony import */ var _chakra_ui_react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(51469);\n/* harmony import */ var _chakra_ui_react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(48641);\n/* harmony import */ var _common_Carousel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10700);\n/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92668);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85893);\n\n\nvar _excluded = [\"title\", \"href\", \"action\", \"alt\", \"offers\", \"target\", \"numPerView\", \"w\", \"bgColor\"];\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0,_codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* [\"default\"] */ .Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n\n\n\n\n\n\n\n\nvar HomeOffersList = function HomeOffersList(_ref) {\n var title = _ref.title,\n href = _ref.href,\n action = _ref.action,\n alt = _ref.alt,\n offers = _ref.offers,\n target = _ref.target,\n numPerView = _ref.numPerView,\n w = _ref.w,\n bgColor = _ref.bgColor,\n others = (0,_codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__/* [\"default\"] */ .Z)(_ref, _excluded);\n\n var isMobile = (0,_chakra_ui_react__WEBPACK_IMPORTED_MODULE_7__/* .useBreakpointValue */ .Sx)({\n base: true,\n md: false\n });\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_chakra_ui_react__WEBPACK_IMPORTED_MODULE_8__/* .Box */ .xu, {\n bgColor: bgColor || 'white',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_chakra_ui_react__WEBPACK_IMPORTED_MODULE_8__/* .Container */ .W2, _objectSpread(_objectSpread({\n as: _chakra_ui_react__WEBPACK_IMPORTED_MODULE_8__/* .Box */ .xu,\n maxW: w || '8xl',\n pt: 10\n }, others), {}, {\n id: \"offers-list-rent\",\n px: \"0\",\n children: [title && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(src_uikit__WEBPACK_IMPORTED_MODULE_2__/* .SectionTitleWithIcon */ ._6, {\n title: title,\n action: action,\n href: href,\n alt: alt,\n target: target\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_common_Carousel__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z, {\n withCustomNavigation: !isMobile,\n breakpoints: {\n 320: {\n slidesPerView: 1.3,\n spaceBetween: 18,\n centeredSlides: true\n },\n 480: {\n slidesPerView: 2,\n spaceBetween: 30\n },\n 640: {\n slidesPerView: numPerView ? Math.ceil(numPerView / 2) : 3,\n spaceBetween: 30\n },\n 1280: {\n slidesPerView: numPerView || 4,\n spaceBetween: 30\n }\n },\n withScrollbar: true,\n className: isMobile ? 'has-partial-slide' : null,\n children: offers.map(function (offer) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_common_Carousel__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"].Item */ .Z.Item, {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(___WEBPACK_IMPORTED_MODULE_4__/* .Offer */ .Vw, {\n item: offer\n })\n }, offer.code);\n })\n })]\n }))\n });\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (HomeOffersList);\n\n/***/ }),\n\n/***/ 10700:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* unused harmony export CarouselItem */\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var swiper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5890);\n/* harmony import */ var swiper_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86173);\n/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(53918);\n/* harmony import */ var swiper_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21082);\n/* harmony import */ var swiper_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(swiper_css__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var swiper_css_scrollbar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91712);\n/* harmony import */ var swiper_css_scrollbar__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(swiper_css_scrollbar__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var swiper_css_navigation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21669);\n/* harmony import */ var swiper_css_navigation__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(swiper_css_navigation__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var swiper_css_pagination__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36797);\n/* harmony import */ var swiper_css_pagination__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(swiper_css_pagination__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var swiper_css_grid__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11972);\n/* harmony import */ var swiper_css_grid__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(swiper_css_grid__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\n\n\n\nswiper__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"].use */ .ZP.use([swiper__WEBPACK_IMPORTED_MODULE_1__/* .Scrollbar */ .LW, swiper__WEBPACK_IMPORTED_MODULE_1__/* .Pagination */ .tl, swiper__WEBPACK_IMPORTED_MODULE_1__/* .Navigation */ .W_, swiper__WEBPACK_IMPORTED_MODULE_1__/* .Grid */ .rj]);\nvar Wrapper = styled_components__WEBPACK_IMPORTED_MODULE_9__[\"default\"].span.withConfig({\n displayName: \"Carousel__Wrapper\",\n componentId: \"sc-1vzw1za-0\"\n})([\"position:relative;display:\", \";.swiper-grid-column{height:100%;}\"], function (props) {\n return props.withCustomNavigation ? 'block' : 'inline';\n});\n/*\n workaround\n @see https://github.com/nolimits4web/swiper/issues/4413\n @see https://github.com/nolimits4web/swiper/issues/4084\n*/\n\nvar Item = function Item(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment, {\n children: children\n });\n};\n\nvar CarouselItem = function CarouselItem(_ref2) {\n var children = _ref2.children;\n return /*#__PURE__*/_jsx(SwiperSlide, {\n children: children\n });\n};\n\nvar Carousel = function Carousel(_ref3) {\n var children = _ref3.children,\n withScrollbar = _ref3.withScrollbar,\n withNavigation = _ref3.withNavigation,\n withCustomNavigation = _ref3.withCustomNavigation,\n withPagination = _ref3.withPagination,\n slidesPerView = _ref3.slidesPerView,\n spaceBetween = _ref3.spaceBetween,\n className = _ref3.className,\n breakpoints = _ref3.breakpoints,\n grid = _ref3.grid;\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),\n uniqueId = _useState[0],\n setUniqueId = _useState[1];\n\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n setUniqueId(\"\".concat(Math.random()).substring(2, 15));\n }, []);\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(Wrapper, {\n className: className || '',\n withCustomNavigation: withCustomNavigation,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(swiper_react__WEBPACK_IMPORTED_MODULE_2__/* .Swiper */ .tq, {\n navigation: withCustomNavigation ? {\n nextEl: \".carousel-custom-next--\".concat(uniqueId),\n prevEl: \".carousel-custom-prev--\".concat(uniqueId)\n } : withNavigation || false,\n pagination: withPagination ? {\n clickable: true\n } : false,\n scrollbar: withScrollbar ? {\n draggable: true,\n hide: false\n } : false,\n slidesPerView: slidesPerView || 'auto',\n spaceBetween: spaceBetween || 1,\n breakpoints: breakpoints,\n grid: grid,\n loopFillGroupWithBlank: true,\n children: [withCustomNavigation && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment, {\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(\"span\", {\n className: \"carousel-custom-next carousel-custom-next--\".concat(uniqueId)\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(\"span\", {\n className: \"carousel-custom-prev carousel-custom-prev--\".concat(uniqueId)\n })]\n }), react__WEBPACK_IMPORTED_MODULE_0__.Children.map(children, function (child) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(swiper_react__WEBPACK_IMPORTED_MODULE_2__/* .SwiperSlide */ .o5, {\n children: child\n });\n })]\n })\n });\n};\n\nCarousel.Item = Item;\n/* harmony default export */ __webpack_exports__[\"Z\"] = (Carousel);\n\n/***/ }),\n\n/***/ 85240:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Jj\": function() { return /* binding */ getWindow; },\n/* harmony export */ \"Me\": function() { return /* binding */ getDocument; }\n/* harmony export */ });\n/* unused harmony exports extend, ssrDocument, ssrWindow */\n/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\n\nfunction extend() {\n var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var src = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n Object.keys(src).forEach(function (key) {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nvar ssrDocument = {\n body: {},\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n activeElement: {\n blur: function blur() {},\n nodeName: ''\n },\n querySelector: function querySelector() {\n return null;\n },\n querySelectorAll: function querySelectorAll() {\n return [];\n },\n getElementById: function getElementById() {\n return null;\n },\n createEvent: function createEvent() {\n return {\n initEvent: function initEvent() {}\n };\n },\n createElement: function createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute: function setAttribute() {},\n getElementsByTagName: function getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS: function createElementNS() {\n return {};\n },\n importNode: function importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\n\nfunction getDocument() {\n var doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nvar ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState: function replaceState() {},\n pushState: function pushState() {},\n go: function go() {},\n back: function back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n getComputedStyle: function getComputedStyle() {\n return {\n getPropertyValue: function getPropertyValue() {\n return '';\n }\n };\n },\n Image: function Image() {},\n Date: function Date() {},\n screen: {},\n setTimeout: function setTimeout() {},\n clearTimeout: function clearTimeout() {},\n matchMedia: function matchMedia() {\n return {};\n },\n requestAnimationFrame: function requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame: function cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n\n clearTimeout(id);\n }\n};\n\nfunction getWindow() {\n var win = true ? window : 0;\n extend(win, ssrWindow);\n return win;\n}\n\n\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","r","_codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","_codebuild_output_src1075967432_src_mr_planner_node_modules_next_dist_compiled_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__","src_uikit__WEBPACK_IMPORTED_MODULE_2__","_chakra_ui_react__WEBPACK_IMPORTED_MODULE_7__","_chakra_ui_react__WEBPACK_IMPORTED_MODULE_8__","_common_Carousel__WEBPACK_IMPORTED_MODULE_3__","___WEBPACK_IMPORTED_MODULE_4__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__","_excluded","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","i","arguments","length","source","forEach","key","Z","getOwnPropertyDescriptors","defineProperties","defineProperty","_ref","title","href","action","alt","offers","numPerView","w","bgColor","others","isMobile","Sx","base","md","jsx","xu","children","jsxs","W2","as","maxW","pt","id","px","_6","withCustomNavigation","breakpoints","slidesPerView","spaceBetween","centeredSlides","Math","ceil","withScrollbar","className","map","offer","Item","Vw","item","code","react__WEBPACK_IMPORTED_MODULE_0__","swiper__WEBPACK_IMPORTED_MODULE_1__","swiper_react__WEBPACK_IMPORTED_MODULE_2__","styled_components__WEBPACK_IMPORTED_MODULE_9__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__","ZP","use","LW","tl","W_","rj","Wrapper","span","withConfig","displayName","componentId","props","Carousel","_ref3","withNavigation","withPagination","grid","_useState","useState","uniqueId","setUniqueId","useEffect","concat","random","substring","tq","navigation","nextEl","prevEl","pagination","clickable","scrollbar","draggable","hide","loopFillGroupWithBlank","Fragment","Children","child","o5","isObject","obj","constructor","extend","undefined","src","d","getWindow","getDocument","ssrDocument","body","addEventListener","removeEventListener","activeElement","blur","nodeName","querySelector","querySelectorAll","getElementById","createEvent","initEvent","createElement","childNodes","style","setAttribute","getElementsByTagName","createElementNS","importNode","location","hash","host","hostname","origin","pathname","protocol","search","doc","document","ssrWindow","navigator","userAgent","history","replaceState","pushState","go","back","CustomEvent","getComputedStyle","getPropertyValue","Image","Date","screen","setTimeout","clearTimeout","matchMedia","requestAnimationFrame","callback","cancelAnimationFrame","win","window"],"sourceRoot":""}