1(globalThis["webpackChunksmarslabwebsite"] = globalThis["webpackChunksmarslabwebsite"] || []).push([["vendors-node_modules_mui_icons-material_Launch_js-node_modules_mui_material_utils_useEventCal-821def"],{ 2
vendor: 1,119 bytes, lines 3-25
3/***/ "./node_modules/@mui/icons-material/Launch.js": 4/*!****************************************************!*\ 5 !*** ./node_modules/@mui/icons-material/Launch.js ***! 6 \****************************************************/ 7/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 8 9"use strict"; 10 11 12var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js"); 13Object.defineProperty(exports, "__esModule", ({ 14 value: true 15})); 16exports["default"] = void 0; 17var _createSvgIcon = _interopRequireDefault(__webpack_require__(/*! ./utils/createSvgIcon */ "./node_modules/@mui/icons-material/utils/createSvgIcon.js")); 18var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 19var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { 20 d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" 21}), 'Launch'); 22exports["default"] = _default; 23 24/***/ }), 25
vendor: 939 bytes, lines 26-44
26/***/ "./node_modules/@mui/material/utils/useEventCallback.js": 27/*!**************************************************************!*\ 28 !*** ./node_modules/@mui/material/utils/useEventCallback.js ***! 29 \**************************************************************/ 30/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 31 32"use strict"; 33__webpack_require__.r(__webpack_exports__); 34/* harmony export */ __webpack_require__.d(__webpack_exports__, { 35/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 36/* harmony export */ }); 37/* harmony import */ var _mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @mui/utils/useEventCallback */ "./node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js"); 38'use client'; 39 40 41/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_mui_utils_useEventCallback__WEBPACK_IMPORTED_MODULE_0__["default"]); 42 43/***/ }), 44
vendor: 1,888 bytes, lines 45-105
45/***/ "./node_modules/classnames/index.js": 46/*!******************************************!*\ 47 !*** ./node_modules/classnames/index.js ***! 48 \******************************************/ 49/***/ ((module, exports) => { 50 51var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 52 Copyright (c) 2018 Jed Watson. 53 Licensed under the MIT License (MIT), see 54 http://jedwatson.github.io/classnames 55*/ 56/* global define */ 57 58(function () { 59 'use strict'; 60 61 var hasOwn = {}.hasOwnProperty; 62 var nativeCodeString = '[native code]'; 63 function classNames() { 64 var classes = []; 65 for (var i = 0; i < arguments.length; i++) { 66 var arg = arguments[i]; 67 if (!arg) continue; 68 var argType = typeof arg; 69 if (argType === 'string' || argType === 'number') { 70 classes.push(arg); 71 } else if (Array.isArray(arg)) { 72 if (arg.length) { 73 var inner = classNames.apply(null, arg); 74 if (inner) { 75 classes.push(inner); 76 } 77 } 78 } else if (argType === 'object') { 79 if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) { 80 classes.push(arg.toString()); 81 continue; 82 } 83 for (var key in arg) { 84 if (hasOwn.call(arg, key) && arg[key]) { 85 classes.push(key); 86 } 87 } 88 } 89 } 90 return classes.join(' '); 91 } 92 if ( true && module.exports) { 93 classNames.default = classNames; 94 module.exports = classNames; 95 } else if (true) { 96 // register as 'classnames', consistent with npm package name 97 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { 98 return classNames; 99 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), 100 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 101 } else {} 102})(); 103 104/***/ }), 105
vendor: 1,300 bytes, lines 106-135
106/***/ "./node_modules/react-easy-swipe/lib/index.js": 107/*!****************************************************!*\ 108 !*** ./node_modules/react-easy-swipe/lib/index.js ***! 109 \****************************************************/ 110/***/ (function(module, exports, __webpack_require__) { 111 112var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { 113 if (true) { 114 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(/*! ./react-swipe */ "./node_modules/react-easy-swipe/lib/react-swipe.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), 115 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 116 (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), 117 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 118 } else { var mod; } 119})(this, function (exports, _reactSwipe) { 120 'use strict'; 121 122 Object.defineProperty(exports, "__esModule", { 123 value: true 124 }); 125 var _reactSwipe2 = _interopRequireDefault(_reactSwipe); 126 function _interopRequireDefault(obj) { 127 return obj && obj.__esModule ? obj : { 128 default: obj 129 }; 130 } 131 exports.default = _reactSwipe2.default; 132}); 133 134/***/ }), 135
vendor: 11,736 bytes, lines 136-461
136/***/ "./node_modules/react-easy-swipe/lib/react-swipe.js": 137/*!**********************************************************!*\ 138 !*** ./node_modules/react-easy-swipe/lib/react-swipe.js ***! 139 \**********************************************************/ 140/***/ (function(module, exports, __webpack_require__) { 141 142var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) { 143 if (true) { 144 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(/*! react */ "./node_modules/react/index.js"), __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), 145 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 146 (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), 147 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 148 } else { var mod; } 149})(this, function (exports, _react, _propTypes) { 150 'use strict'; 151 152 Object.defineProperty(exports, "__esModule", { 153 value: true 154 }); 155 exports.setHasSupportToCaptureOption = setHasSupportToCaptureOption; 156 var _react2 = _interopRequireDefault(_react); 157 var _propTypes2 = _interopRequireDefault(_propTypes); 158 function _interopRequireDefault(obj) { 159 return obj && obj.__esModule ? obj : { 160 default: obj 161 }; 162 } 163 var _extends = Object.assign || function (target) { 164 for (var i = 1; i < arguments.length; i++) { 165 var source = arguments[i]; 166 for (var key in source) { 167 if (Object.prototype.hasOwnProperty.call(source, key)) { 168 target[key] = source[key]; 169 } 170 } 171 } 172 return target; 173 }; 174 function _objectWithoutProperties(obj, keys) { 175 var target = {}; 176 for (var i in obj) { 177 if (keys.indexOf(i) >= 0) continue; 178 if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; 179 target[i] = obj[i]; 180 } 181 return target; 182 } 183 function _classCallCheck(instance, Constructor) { 184 if (!(instance instanceof Constructor)) { 185 throw new TypeError("Cannot call a class as a function"); 186 } 187 } 188 var _createClass = function () { 189 function defineProperties(target, props) { 190 for (var i = 0; i < props.length; i++) { 191 var descriptor = props[i]; 192 descriptor.enumerable = descriptor.enumerable || false; 193 descriptor.configurable = true; 194 if ("value" in descriptor) descriptor.writable = true; 195 Object.defineProperty(target, descriptor.key, descriptor); 196 } 197 } 198 return function (Constructor, protoProps, staticProps) { 199 if (protoProps) defineProperties(Constructor.prototype, protoProps); 200 if (staticProps) defineProperties(Constructor, staticProps); 201 return Constructor; 202 }; 203 }(); 204 function _possibleConstructorReturn(self, call) { 205 if (!self) { 206 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 207 } 208 return call && (typeof call === "object" || typeof call === "function") ? call : self; 209 } 210 function _inherits(subClass, superClass) { 211 if (typeof superClass !== "function" && superClass !== null) { 212 throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); 213 } 214 subClass.prototype = Object.create(superClass && superClass.prototype, { 215 constructor: { 216 value: subClass, 217 enumerable: false, 218 writable: true, 219 configurable: true 220 } 221 }); 222 if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; 223 } 224 var supportsCaptureOption = false; 225 function setHasSupportToCaptureOption(hasSupport) { 226 supportsCaptureOption = hasSupport; 227 } 228 try { 229 addEventListener('test', null, Object.defineProperty({}, 'capture', { 230 get: function get() { 231 setHasSupportToCaptureOption(true); 232 } 233 })); 234 } catch (e) {} // eslint-disable-line no-empty 235 236 function getSafeEventHandlerOpts() { 237 var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { 238 capture: true 239 }; 240 return supportsCaptureOption ? options : options.capture; 241 } 242 243 /** 244 * [getPosition returns a position element that works for mouse or touch events] 245 * @param {[Event]} event [the received event] 246 * @return {[Object]} [x and y coords] 247 */ 248 function getPosition(event) { 249 if ('touches' in event) { 250 var _event$touches$ = event.touches[0], 251 pageX = _event$touches$.pageX, 252 pageY = _event$touches$.pageY; 253 return { 254 x: pageX, 255 y: pageY 256 }; 257 } 258 var screenX = event.screenX, 259 screenY = event.screenY; 260 return { 261 x: screenX, 262 y: screenY 263 }; 264 } 265 var ReactSwipe = function (_Component) { 266 _inherits(ReactSwipe, _Component); 267 function ReactSwipe() { 268 var _ref; 269 _classCallCheck(this, ReactSwipe); 270 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { 271 args[_key] = arguments[_key]; 272 } 273 var _this = _possibleConstructorReturn(this, (_ref = ReactSwipe.__proto__ || Object.getPrototypeOf(ReactSwipe)).call.apply(_ref, [this].concat(args))); 274 _this._handleSwipeStart = _this._handleSwipeStart.bind(_this); 275 _this._handleSwipeMove = _this._handleSwipeMove.bind(_this); 276 _this._handleSwipeEnd = _this._handleSwipeEnd.bind(_this); 277 _this._onMouseDown = _this._onMouseDown.bind(_this); 278 _this._onMouseMove = _this._onMouseMove.bind(_this); 279 _this._onMouseUp = _this._onMouseUp.bind(_this); 280 _this._setSwiperRef = _this._setSwiperRef.bind(_this); 281 return _this; 282 } 283 _createClass(ReactSwipe, [{ 284 key: 'componentDidMount', 285 value: function componentDidMount() { 286 if (this.swiper) { 287 this.swiper.addEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({ 288 capture: true, 289 passive: false 290 })); 291 } 292 } 293 }, { 294 key: 'componentWillUnmount', 295 value: function componentWillUnmount() { 296 if (this.swiper) { 297 this.swiper.removeEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({ 298 capture: true, 299 passive: false 300 })); 301 } 302 } 303 }, { 304 key: '_onMouseDown', 305 value: function _onMouseDown(event) { 306 if (!this.props.allowMouseEvents) { 307 return; 308 } 309 this.mouseDown = true; 310 document.addEventListener('mouseup', this._onMouseUp); 311 document.addEventListener('mousemove', this._onMouseMove); 312 this._handleSwipeStart(event); 313 } 314 }, { 315 key: '_onMouseMove', 316 value: function _onMouseMove(event) { 317 if (!this.mouseDown) { 318 return; 319 } 320 this._handleSwipeMove(event); 321 } 322 }, { 323 key: '_onMouseUp', 324 value: function _onMouseUp(event) { 325 this.mouseDown = false; 326 document.removeEventListener('mouseup', this._onMouseUp); 327 document.removeEventListener('mousemove', this._onMouseMove); 328 this._handleSwipeEnd(event); 329 } 330 }, { 331 key: '_handleSwipeStart', 332 value: function _handleSwipeStart(event) { 333 var _getPosition = getPosition(event), 334 x = _getPosition.x, 335 y = _getPosition.y; 336 this.moveStart = { 337 x: x, 338 y: y 339 }; 340 this.props.onSwipeStart(event); 341 } 342 }, { 343 key: '_handleSwipeMove', 344 value: function _handleSwipeMove(event) { 345 if (!this.moveStart) { 346 return; 347 } 348 var _getPosition2 = getPosition(event), 349 x = _getPosition2.x, 350 y = _getPosition2.y; 351 var deltaX = x - this.moveStart.x; 352 var deltaY = y - this.moveStart.y; 353 this.moving = true; 354 355 // handling the responsability of cancelling the scroll to 356 // the component handling the event 357 var shouldPreventDefault = this.props.onSwipeMove({ 358 x: deltaX, 359 y: deltaY 360 }, event); 361 if (shouldPreventDefault && event.cancelable) { 362 event.preventDefault(); 363 } 364 this.movePosition = { 365 deltaX: deltaX, 366 deltaY: deltaY 367 }; 368 } 369 }, { 370 key: '_handleSwipeEnd', 371 value: function _handleSwipeEnd(event) { 372 this.props.onSwipeEnd(event); 373 var tolerance = this.props.tolerance; 374 if (this.moving && this.movePosition) { 375 if (this.movePosition.deltaX < -tolerance) { 376 this.props.onSwipeLeft(1, event); 377 } else if (this.movePosition.deltaX > tolerance) { 378 this.props.onSwipeRight(1, event); 379 } 380 if (this.movePosition.deltaY < -tolerance) { 381 this.props.onSwipeUp(1, event); 382 } else if (this.movePosition.deltaY > tolerance) { 383 this.props.onSwipeDown(1, event); 384 } 385 } 386 this.moveStart = null; 387 this.moving = false; 388 this.movePosition = null; 389 } 390 }, { 391 key: '_setSwiperRef', 392 value: function _setSwiperRef(node) { 393 this.swiper = node; 394 this.props.innerRef(node); 395 } 396 }, { 397 key: 'render', 398 value: function render() { 399 var _props = this.props, 400 tagName = _props.tagName, 401 className = _props.className, 402 style = _props.style, 403 children = _props.children, 404 allowMouseEvents = _props.allowMouseEvents, 405 onSwipeUp = _props.onSwipeUp, 406 onSwipeDown = _props.onSwipeDown, 407 onSwipeLeft = _props.onSwipeLeft, 408 onSwipeRight = _props.onSwipeRight, 409 onSwipeStart = _props.onSwipeStart, 410 onSwipeMove = _props.onSwipeMove, 411 onSwipeEnd = _props.onSwipeEnd, 412 innerRef = _props.innerRef, 413 tolerance = _props.tolerance, 414 props = _objectWithoutProperties(_props, ['tagName', 'className', 'style', 'children', 'allowMouseEvents', 'onSwipeUp', 'onSwipeDown', 'onSwipeLeft', 'onSwipeRight', 'onSwipeStart', 'onSwipeMove', 'onSwipeEnd', 'innerRef', 'tolerance']); 415 return _react2.default.createElement(this.props.tagName, _extends({ 416 ref: this._setSwiperRef, 417 onMouseDown: this._onMouseDown, 418 onTouchStart: this._handleSwipeStart, 419 onTouchEnd: this._handleSwipeEnd, 420 className: className, 421 style: style 422 }, props), children); 423 } 424 }]); 425 return ReactSwipe; 426 }(_react.Component); 427 ReactSwipe.displayName = 'ReactSwipe'; 428 ReactSwipe.propTypes = { 429 tagName: _propTypes2.default.string, 430 className: _propTypes2.default.string, 431 style: _propTypes2.default.object, 432 children: _propTypes2.default.node, 433 allowMouseEvents: _propTypes2.default.bool, 434 onSwipeUp: _propTypes2.default.func, 435 onSwipeDown: _propTypes2.default.func, 436 onSwipeLeft: _propTypes2.default.func, 437 onSwipeRight: _propTypes2.default.func, 438 onSwipeStart: _propTypes2.default.func, 439 onSwipeMove: _propTypes2.default.func, 440 onSwipeEnd: _propTypes2.default.func, 441 innerRef: _propTypes2.default.func, 442 tolerance: _propTypes2.default.number.isRequired 443 }; 444 ReactSwipe.defaultProps = { 445 tagName: 'div', 446 allowMouseEvents: false, 447 onSwipeUp: function onSwipeUp() {}, 448 onSwipeDown: function onSwipeDown() {}, 449 onSwipeLeft: function onSwipeLeft() {}, 450 onSwipeRight: function onSwipeRight() {}, 451 onSwipeStart: function onSwipeStart() {}, 452 onSwipeMove: function onSwipeMove() {}, 453 onSwipeEnd: function onSwipeEnd() {}, 454 innerRef: function innerRef() {}, 455 tolerance: 0 456 }; 457 exports.default = ReactSwipe; 458}); 459 460/***/ }), 461
vendor: 880 bytes, lines 462-485
462/***/ "./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js": 463/*!***********************************************************************!*\ 464 !*** ./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js ***! 465 \***********************************************************************/ 466/***/ ((__unused_webpack_module, exports) => { 467 468"use strict"; 469 470 471Object.defineProperty(exports, "__esModule", ({ 472 value: true 473})); 474exports["default"] = void 0; 475var _default = function _default(position, metric, axis) { 476 var positionPercent = position === 0 ? position : position + metric; 477 var positionCss = axis === 'horizontal' ? [positionPercent, 0, 0] : [0, positionPercent, 0]; 478 var transitionProp = 'translate3d'; 479 var translatedPosition = '(' + positionCss.join(',') + ')'; 480 return transitionProp + translatedPosition; 481}; 482exports["default"] = _default; 483 484/***/ }), 485
vendor: 8,356 bytes, lines 486-708
486/***/ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/animations.js": 487/*!*****************************************************************************************!*\ 488 !*** ./node_modules/react-responsive-carousel/lib/js/components/Carousel/animations.js ***! 489 \*****************************************************************************************/ 490/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 491 492"use strict"; 493 494 495Object.defineProperty(exports, "__esModule", ({ 496 value: true 497})); 498exports.fadeAnimationHandler = exports.slideStopSwipingHandler = exports.slideSwipeAnimationHandler = exports.slideAnimationHandler = void 0; 499var _react = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 500var _CSSTranslate = _interopRequireDefault(__webpack_require__(/*! ../../CSSTranslate */ "./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js")); 501var _utils = __webpack_require__(/*! ./utils */ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/utils.js"); 502function _interopRequireDefault(obj) { 503 return obj && obj.__esModule ? obj : { 504 default: obj 505 }; 506} 507function ownKeys(object, enumerableOnly) { 508 var keys = Object.keys(object); 509 if (Object.getOwnPropertySymbols) { 510 var symbols = Object.getOwnPropertySymbols(object); 511 if (enumerableOnly) symbols = symbols.filter(function (sym) { 512 return Object.getOwnPropertyDescriptor(object, sym).enumerable; 513 }); 514 keys.push.apply(keys, symbols); 515 } 516 return keys; 517} 518function _objectSpread(target) { 519 for (var i = 1; i < arguments.length; i++) { 520 var source = arguments[i] != null ? arguments[i] : {}; 521 if (i % 2) { 522 ownKeys(Object(source), true).forEach(function (key) { 523 _defineProperty(target, key, source[key]); 524 }); 525 } else if (Object.getOwnPropertyDescriptors) { 526 Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); 527 } else { 528 ownKeys(Object(source)).forEach(function (key) { 529 Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); 530 }); 531 } 532 } 533 return target; 534} 535function _defineProperty(obj, key, value) { 536 if (key in obj) { 537 Object.defineProperty(obj, key, { 538 value: value, 539 enumerable: true, 540 configurable: true, 541 writable: true 542 }); 543 } else { 544 obj[key] = value; 545 } 546 return obj; 547} 548 549/** 550 * Main animation handler for the default 'sliding' style animation 551 * @param props 552 * @param state 553 */ 554var slideAnimationHandler = function slideAnimationHandler(props, state) { 555 var returnStyles = {}; 556 var selectedItem = state.selectedItem; 557 var previousItem = selectedItem; 558 var lastPosition = _react.Children.count(props.children) - 1; 559 var needClonedSlide = props.infiniteLoop && (selectedItem < 0 || selectedItem > lastPosition); // Handle list position if it needs a clone 560 561 if (needClonedSlide) { 562 if (previousItem < 0) { 563 if (props.centerMode && props.centerSlidePercentage && props.axis === 'horizontal') { 564 returnStyles.itemListStyle = (0, _utils.setPosition)(-(lastPosition + 2) * props.centerSlidePercentage - (100 - props.centerSlidePercentage) / 2, props.axis); 565 } else { 566 returnStyles.itemListStyle = (0, _utils.setPosition)(-(lastPosition + 2) * 100, props.axis); 567 } 568 } else if (previousItem > lastPosition) { 569 returnStyles.itemListStyle = (0, _utils.setPosition)(0, props.axis); 570 } 571 return returnStyles; 572 } 573 var currentPosition = (0, _utils.getPosition)(selectedItem, props); // if 3d is available, let's take advantage of the performance of transform 574 575 var transformProp = (0, _CSSTranslate.default)(currentPosition, '%', props.axis); 576 var transitionTime = props.transitionTime + 'ms'; 577 returnStyles.itemListStyle = { 578 WebkitTransform: transformProp, 579 msTransform: transformProp, 580 OTransform: transformProp, 581 transform: transformProp 582 }; 583 if (!state.swiping) { 584 returnStyles.itemListStyle = _objectSpread(_objectSpread({}, returnStyles.itemListStyle), {}, { 585 WebkitTransitionDuration: transitionTime, 586 MozTransitionDuration: transitionTime, 587 OTransitionDuration: transitionTime, 588 transitionDuration: transitionTime, 589 msTransitionDuration: transitionTime 590 }); 591 } 592 return returnStyles; 593}; 594/** 595 * Swiping animation handler for the default 'sliding' style animation 596 * @param delta 597 * @param props 598 * @param state 599 * @param setState 600 */ 601 602exports.slideAnimationHandler = slideAnimationHandler; 603var slideSwipeAnimationHandler = function slideSwipeAnimationHandler(delta, props, state, setState) { 604 var returnStyles = {}; 605 var isHorizontal = props.axis === 'horizontal'; 606 var childrenLength = _react.Children.count(props.children); 607 var initialBoundry = 0; 608 var currentPosition = (0, _utils.getPosition)(state.selectedItem, props); 609 var finalBoundry = props.infiniteLoop ? (0, _utils.getPosition)(childrenLength - 1, props) - 100 : (0, _utils.getPosition)(childrenLength - 1, props); 610 var axisDelta = isHorizontal ? delta.x : delta.y; 611 var handledDelta = axisDelta; // prevent user from swiping left out of boundaries 612 613 if (currentPosition === initialBoundry && axisDelta > 0) { 614 handledDelta = 0; 615 } // prevent user from swiping right out of boundaries 616 617 if (currentPosition === finalBoundry && axisDelta < 0) { 618 handledDelta = 0; 619 } 620 var position = currentPosition + 100 / (state.itemSize / handledDelta); 621 var hasMoved = Math.abs(axisDelta) > props.swipeScrollTolerance; 622 if (props.infiniteLoop && hasMoved) { 623 // When allowing infinite loop, if we slide left from position 0 we reveal the cloned last slide that appears before it 624 // if we slide even further we need to jump to other side so it can continue - and vice versa for the last slide 625 if (state.selectedItem === 0 && position > -100) { 626 position -= childrenLength * 100; 627 } else if (state.selectedItem === childrenLength - 1 && position < -childrenLength * 100) { 628 position += childrenLength * 100; 629 } 630 } 631 if (!props.preventMovementUntilSwipeScrollTolerance || hasMoved || state.swipeMovementStarted) { 632 if (!state.swipeMovementStarted) { 633 setState({ 634 swipeMovementStarted: true 635 }); 636 } 637 returnStyles.itemListStyle = (0, _utils.setPosition)(position, props.axis); 638 } //allows scroll if the swipe was within the tolerance 639 640 if (hasMoved && !state.cancelClick) { 641 setState({ 642 cancelClick: true 643 }); 644 } 645 return returnStyles; 646}; 647/** 648 * Default 'sliding' style animination handler for when a swipe action stops. 649 * @param props 650 * @param state 651 */ 652 653exports.slideSwipeAnimationHandler = slideSwipeAnimationHandler; 654var slideStopSwipingHandler = function slideStopSwipingHandler(props, state) { 655 var currentPosition = (0, _utils.getPosition)(state.selectedItem, props); 656 var itemListStyle = (0, _utils.setPosition)(currentPosition, props.axis); 657 return { 658 itemListStyle: itemListStyle 659 }; 660}; 661/** 662 * Main animation handler for the default 'fade' style animation 663 * @param props 664 * @param state 665 */ 666 667exports.slideStopSwipingHandler = slideStopSwipingHandler; 668var fadeAnimationHandler = function fadeAnimationHandler(props, state) { 669 var transitionTime = props.transitionTime + 'ms'; 670 var transitionTimingFunction = 'ease-in-out'; 671 var slideStyle = { 672 position: 'absolute', 673 display: 'block', 674 zIndex: -2, 675 minHeight: '100%', 676 opacity: 0, 677 top: 0, 678 right: 0, 679 left: 0, 680 bottom: 0, 681 transitionTimingFunction: transitionTimingFunction, 682 msTransitionTimingFunction: transitionTimingFunction, 683 MozTransitionTimingFunction: transitionTimingFunction, 684 WebkitTransitionTimingFunction: transitionTimingFunction, 685 OTransitionTimingFunction: transitionTimingFunction 686 }; 687 if (!state.swiping) { 688 slideStyle = _objectSpread(_objectSpread({}, slideStyle), {}, { 689 WebkitTransitionDuration: transitionTime, 690 MozTransitionDuration: transitionTime, 691 OTransitionDuration: transitionTime, 692 transitionDuration: transitionTime, 693 msTransitionDuration: transitionTime 694 }); 695 } 696 return { 697 slideStyle: slideStyle, 698 selectedStyle: _objectSpread(_objectSpread({}, slideStyle), {}, { 699 opacity: 1, 700 position: 'relative' 701 }), 702 prevStyle: _objectSpread({}, slideStyle) 703 }; 704}; 705exports.fadeAnimationHandler = fadeAnimationHandler; 706 707/***/ }), 708
vendor: 33,001 bytes, lines 709-1572
709/***/ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/index.js": 710/*!************************************************************************************!*\ 711 !*** ./node_modules/react-responsive-carousel/lib/js/components/Carousel/index.js ***! 712 \************************************************************************************/ 713/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 714 715"use strict"; 716 717 718Object.defineProperty(exports, "__esModule", ({ 719 value: true 720})); 721exports["default"] = void 0; 722var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "./node_modules/react/index.js")); 723var _reactEasySwipe = _interopRequireDefault(__webpack_require__(/*! react-easy-swipe */ "./node_modules/react-easy-swipe/lib/index.js")); 724var _cssClasses = _interopRequireDefault(__webpack_require__(/*! ../../cssClasses */ "./node_modules/react-responsive-carousel/lib/js/cssClasses.js")); 725var _Thumbs = _interopRequireDefault(__webpack_require__(/*! ../Thumbs */ "./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js")); 726var _document = _interopRequireDefault(__webpack_require__(/*! ../../shims/document */ "./node_modules/react-responsive-carousel/lib/js/shims/document.js")); 727var _window = _interopRequireDefault(__webpack_require__(/*! ../../shims/window */ "./node_modules/react-responsive-carousel/lib/js/shims/window.js")); 728var _utils = __webpack_require__(/*! ./utils */ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/utils.js"); 729var _animations = __webpack_require__(/*! ./animations */ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/animations.js"); 730function _interopRequireDefault(obj) { 731 return obj && obj.__esModule ? obj : { 732 default: obj 733 }; 734} 735function _getRequireWildcardCache() { 736 if (typeof WeakMap !== "function") return null; 737 var cache = new WeakMap(); 738 _getRequireWildcardCache = function _getRequireWildcardCache() { 739 return cache; 740 }; 741 return cache; 742} 743function _interopRequireWildcard(obj) { 744 if (obj && obj.__esModule) { 745 return obj; 746 } 747 if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { 748 return { 749 default: obj 750 }; 751 } 752 var cache = _getRequireWildcardCache(); 753 if (cache && cache.has(obj)) { 754 return cache.get(obj); 755 } 756 var newObj = {}; 757 var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; 758 for (var key in obj) { 759 if (Object.prototype.hasOwnProperty.call(obj, key)) { 760 var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; 761 if (desc && (desc.get || desc.set)) { 762 Object.defineProperty(newObj, key, desc); 763 } else { 764 newObj[key] = obj[key]; 765 } 766 } 767 } 768 newObj.default = obj; 769 if (cache) { 770 cache.set(obj, newObj); 771 } 772 return newObj; 773} 774function _typeof(obj) { 775 "@babel/helpers - typeof"; 776 777 if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { 778 _typeof = function _typeof(obj) { 779 return typeof obj; 780 }; 781 } else { 782 _typeof = function _typeof(obj) { 783 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 784 }; 785 } 786 return _typeof(obj); 787} 788function _extends() { 789 _extends = Object.assign || function (target) { 790 for (var i = 1; i < arguments.length; i++) { 791 var source = arguments[i]; 792 for (var key in source) { 793 if (Object.prototype.hasOwnProperty.call(source, key)) { 794 target[key] = source[key]; 795 } 796 } 797 } 798 return target; 799 }; 800 return _extends.apply(this, arguments); 801} 802function ownKeys(object, enumerableOnly) { 803 var keys = Object.keys(object); 804 if (Object.getOwnPropertySymbols) { 805 var symbols = Object.getOwnPropertySymbols(object); 806 if (enumerableOnly) symbols = symbols.filter(function (sym) { 807 return Object.getOwnPropertyDescriptor(object, sym).enumerable; 808 }); 809 keys.push.apply(keys, symbols); 810 } 811 return keys; 812} 813function _objectSpread(target) { 814 for (var i = 1; i < arguments.length; i++) { 815 var source = arguments[i] != null ? arguments[i] : {}; 816 if (i % 2) { 817 ownKeys(Object(source), true).forEach(function (key) { 818 _defineProperty(target, key, source[key]); 819 }); 820 } else if (Object.getOwnPropertyDescriptors) { 821 Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); 822 } else { 823 ownKeys(Object(source)).forEach(function (key) { 824 Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); 825 }); 826 } 827 } 828 return target; 829} 830function _classCallCheck(instance, Constructor) { 831 if (!(instance instanceof Constructor)) { 832 throw new TypeError("Cannot call a class as a function"); 833 } 834} 835function _defineProperties(target, props) { 836 for (var i = 0; i < props.length; i++) { 837 var descriptor = props[i]; 838 descriptor.enumerable = descriptor.enumerable || false; 839 descriptor.configurable = true; 840 if ("value" in descriptor) descriptor.writable = true; 841 Object.defineProperty(target, descriptor.key, descriptor); 842 } 843} 844function _createClass(Constructor, protoProps, staticProps) { 845 if (protoProps) _defineProperties(Constructor.prototype, protoProps); 846 if (staticProps) _defineProperties(Constructor, staticProps); 847 return Constructor; 848} 849function _inherits(subClass, superClass) { 850 if (typeof superClass !== "function" && superClass !== null) { 851 throw new TypeError("Super expression must either be null or a function"); 852 } 853 subClass.prototype = Object.create(superClass && superClass.prototype, { 854 constructor: { 855 value: subClass, 856 writable: true, 857 configurable: true 858 } 859 }); 860 if (superClass) _setPrototypeOf(subClass, superClass); 861} 862function _setPrototypeOf(o, p) { 863 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { 864 o.__proto__ = p; 865 return o; 866 }; 867 return _setPrototypeOf(o, p); 868} 869function _createSuper(Derived) { 870 var hasNativeReflectConstruct = _isNativeReflectConstruct(); 871 return function _createSuperInternal() { 872 var Super = _getPrototypeOf(Derived), 873 result; 874 if (hasNativeReflectConstruct) { 875 var NewTarget = _getPrototypeOf(this).constructor; 876 result = Reflect.construct(Super, arguments, NewTarget); 877 } else { 878 result = Super.apply(this, arguments); 879 } 880 return _possibleConstructorReturn(this, result); 881 }; 882} 883function _possibleConstructorReturn(self, call) { 884 if (call && (_typeof(call) === "object" || typeof call === "function")) { 885 return call; 886 } 887 return _assertThisInitialized(self); 888} 889function _assertThisInitialized(self) { 890 if (self === void 0) { 891 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 892 } 893 return self; 894} 895function _isNativeReflectConstruct() { 896 if (typeof Reflect === "undefined" || !Reflect.construct) return false; 897 if (Reflect.construct.sham) return false; 898 if (typeof Proxy === "function") return true; 899 try { 900 Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); 901 return true; 902 } catch (e) { 903 return false; 904 } 905} 906function _getPrototypeOf(o) { 907 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { 908 return o.__proto__ || Object.getPrototypeOf(o); 909 }; 910 return _getPrototypeOf(o); 911} 912function _defineProperty(obj, key, value) { 913 if (key in obj) { 914 Object.defineProperty(obj, key, { 915 value: value, 916 enumerable: true, 917 configurable: true, 918 writable: true 919 }); 920 } else { 921 obj[key] = value; 922 } 923 return obj; 924} 925var Carousel = /*#__PURE__*/function (_React$Component) { 926 _inherits(Carousel, _React$Component); 927 var _super = _createSuper(Carousel); 928 929 // @ts-ignore 930 function Carousel(props) { 931 var _this; 932 _classCallCheck(this, Carousel); 933 _this = _super.call(this, props); 934 _defineProperty(_assertThisInitialized(_this), "thumbsRef", void 0); 935 _defineProperty(_assertThisInitialized(_this), "carouselWrapperRef", void 0); 936 _defineProperty(_assertThisInitialized(_this), "listRef", void 0); 937 _defineProperty(_assertThisInitialized(_this), "itemsRef", void 0); 938 _defineProperty(_assertThisInitialized(_this), "timer", void 0); 939 _defineProperty(_assertThisInitialized(_this), "animationHandler", void 0); 940 _defineProperty(_assertThisInitialized(_this), "setThumbsRef", function (node) { 941 _this.thumbsRef = node; 942 }); 943 _defineProperty(_assertThisInitialized(_this), "setCarouselWrapperRef", function (node) { 944 _this.carouselWrapperRef = node; 945 }); 946 _defineProperty(_assertThisInitialized(_this), "setListRef", function (node) { 947 _this.listRef = node; 948 }); 949 _defineProperty(_assertThisInitialized(_this), "setItemsRef", function (node, index) { 950 if (!_this.itemsRef) { 951 _this.itemsRef = []; 952 } 953 _this.itemsRef[index] = node; 954 }); 955 _defineProperty(_assertThisInitialized(_this), "autoPlay", function () { 956 if (_react.Children.count(_this.props.children) <= 1) { 957 return; 958 } 959 _this.clearAutoPlay(); 960 if (!_this.props.autoPlay) { 961 return; 962 } 963 _this.timer = setTimeout(function () { 964 _this.increment(); 965 }, _this.props.interval); 966 }); 967 _defineProperty(_assertThisInitialized(_this), "clearAutoPlay", function () { 968 if (_this.timer) clearTimeout(_this.timer); 969 }); 970 _defineProperty(_assertThisInitialized(_this), "resetAutoPlay", function () { 971 _this.clearAutoPlay(); 972 _this.autoPlay(); 973 }); 974 _defineProperty(_assertThisInitialized(_this), "stopOnHover", function () { 975 _this.setState({ 976 isMouseEntered: true 977 }, _this.clearAutoPlay); 978 }); 979 _defineProperty(_assertThisInitialized(_this), "startOnLeave", function () { 980 _this.setState({ 981 isMouseEntered: false 982 }, _this.autoPlay); 983 }); 984 _defineProperty(_assertThisInitialized(_this), "isFocusWithinTheCarousel", function () { 985 if (!_this.carouselWrapperRef) { 986 return false; 987 } 988 if ((0, _document.default)().activeElement === _this.carouselWrapperRef || _this.carouselWrapperRef.contains((0, _document.default)().activeElement)) { 989 return true; 990 } 991 return false; 992 }); 993 _defineProperty(_assertThisInitialized(_this), "navigateWithKeyboard", function (e) { 994 if (!_this.isFocusWithinTheCarousel()) { 995 return; 996 } 997 var axis = _this.props.axis; 998 var isHorizontal = axis === 'horizontal'; 999 var keyNames = { 1000 ArrowUp: 38, 1001 ArrowRight: 39, 1002 ArrowDown: 40, 1003 ArrowLeft: 37 1004 }; 1005 var nextKey = isHorizontal ? keyNames.ArrowRight : keyNames.ArrowDown; 1006 var prevKey = isHorizontal ? keyNames.ArrowLeft : keyNames.ArrowUp; 1007 if (nextKey === e.keyCode) { 1008 _this.increment(); 1009 } else if (prevKey === e.keyCode) { 1010 _this.decrement(); 1011 } 1012 }); 1013 _defineProperty(_assertThisInitialized(_this), "updateSizes", function () { 1014 if (!_this.state.initialized || !_this.itemsRef || _this.itemsRef.length === 0) { 1015 return; 1016 } 1017 var isHorizontal = _this.props.axis === 'horizontal'; 1018 var firstItem = _this.itemsRef[0]; 1019 if (!firstItem) { 1020 return; 1021 } 1022 var itemSize = isHorizontal ? firstItem.clientWidth : firstItem.clientHeight; 1023 _this.setState({ 1024 itemSize: itemSize 1025 }); 1026 if (_this.thumbsRef) { 1027 _this.thumbsRef.updateSizes(); 1028 } 1029 }); 1030 _defineProperty(_assertThisInitialized(_this), "setMountState", function () { 1031 _this.setState({ 1032 hasMount: true 1033 }); 1034 _this.updateSizes(); 1035 }); 1036 _defineProperty(_assertThisInitialized(_this), "handleClickItem", function (index, item) { 1037 if (_react.Children.count(_this.props.children) === 0) { 1038 return; 1039 } 1040 if (_this.state.cancelClick) { 1041 _this.setState({ 1042 cancelClick: false 1043 }); 1044 return; 1045 } 1046 _this.props.onClickItem(index, item); 1047 if (index !== _this.state.selectedItem) { 1048 _this.setState({ 1049 selectedItem: index 1050 }); 1051 } 1052 }); 1053 _defineProperty(_assertThisInitialized(_this), "handleOnChange", function (index, item) { 1054 if (_react.Children.count(_this.props.children) <= 1) { 1055 return; 1056 } 1057 _this.props.onChange(index, item); 1058 }); 1059 _defineProperty(_assertThisInitialized(_this), "handleClickThumb", function (index, item) { 1060 _this.props.onClickThumb(index, item); 1061 _this.moveTo(index); 1062 }); 1063 _defineProperty(_assertThisInitialized(_this), "onSwipeStart", function (event) { 1064 _this.setState({ 1065 swiping: true 1066 }); 1067 _this.props.onSwipeStart(event); 1068 }); 1069 _defineProperty(_assertThisInitialized(_this), "onSwipeEnd", function (event) { 1070 _this.setState({ 1071 swiping: false, 1072 cancelClick: false, 1073 swipeMovementStarted: false 1074 }); 1075 _this.props.onSwipeEnd(event); 1076 _this.clearAutoPlay(); 1077 if (_this.state.autoPlay) { 1078 _this.autoPlay(); 1079 } 1080 }); 1081 _defineProperty(_assertThisInitialized(_this), "onSwipeMove", function (delta, event) { 1082 _this.props.onSwipeMove(event); 1083 var animationHandlerResponse = _this.props.swipeAnimationHandler(delta, _this.props, _this.state, _this.setState.bind(_assertThisInitialized(_this))); 1084 _this.setState(_objectSpread({}, animationHandlerResponse)); // If we have not moved, we should have an empty object returned 1085 // Return false to allow scrolling when not swiping 1086 1087 return !!Object.keys(animationHandlerResponse).length; 1088 }); 1089 _defineProperty(_assertThisInitialized(_this), "decrement", function () { 1090 var positions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1; 1091 _this.moveTo(_this.state.selectedItem - (typeof positions === 'number' ? positions : 1)); 1092 }); 1093 _defineProperty(_assertThisInitialized(_this), "increment", function () { 1094 var positions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1; 1095 _this.moveTo(_this.state.selectedItem + (typeof positions === 'number' ? positions : 1)); 1096 }); 1097 _defineProperty(_assertThisInitialized(_this), "moveTo", function (position) { 1098 if (typeof position !== 'number') { 1099 return; 1100 } 1101 var lastPosition = _react.Children.count(_this.props.children) - 1; 1102 if (position < 0) { 1103 position = _this.props.infiniteLoop ? lastPosition : 0; 1104 } 1105 if (position > lastPosition) { 1106 position = _this.props.infiniteLoop ? 0 : lastPosition; 1107 } 1108 _this.selectItem({ 1109 // if it's not a slider, we don't need to set position here 1110 selectedItem: position 1111 }); // don't reset auto play when stop on hover is enabled, doing so will trigger a call to auto play more than once 1112 // and will result in the interval function not being cleared correctly. 1113 1114 if (_this.state.autoPlay && _this.state.isMouseEntered === false) { 1115 _this.resetAutoPlay(); 1116 } 1117 }); 1118 _defineProperty(_assertThisInitialized(_this), "onClickNext", function () { 1119 _this.increment(1); 1120 }); 1121 _defineProperty(_assertThisInitialized(_this), "onClickPrev", function () { 1122 _this.decrement(1); 1123 }); 1124 _defineProperty(_assertThisInitialized(_this), "onSwipeForward", function () { 1125 _this.increment(1); 1126 if (_this.props.emulateTouch) { 1127 _this.setState({ 1128 cancelClick: true 1129 }); 1130 } 1131 }); 1132 _defineProperty(_assertThisInitialized(_this), "onSwipeBackwards", function () { 1133 _this.decrement(1); 1134 if (_this.props.emulateTouch) { 1135 _this.setState({ 1136 cancelClick: true 1137 }); 1138 } 1139 }); 1140 _defineProperty(_assertThisInitialized(_this), "changeItem", function (newIndex) { 1141 return function (e) { 1142 if (!(0, _utils.isKeyboardEvent)(e) || e.key === 'Enter') { 1143 _this.moveTo(newIndex); 1144 } 1145 }; 1146 }); 1147 _defineProperty(_assertThisInitialized(_this), "selectItem", function (state) { 1148 // Merge in the new state while updating updating previous item 1149 _this.setState(_objectSpread({ 1150 previousItem: _this.state.selectedItem 1151 }, state), function () { 1152 // Run animation handler and update styles based on it 1153 _this.setState(_this.animationHandler(_this.props, _this.state)); 1154 }); 1155 _this.handleOnChange(state.selectedItem, _react.Children.toArray(_this.props.children)[state.selectedItem]); 1156 }); 1157 _defineProperty(_assertThisInitialized(_this), "getInitialImage", function () { 1158 var selectedItem = _this.props.selectedItem; 1159 var item = _this.itemsRef && _this.itemsRef[selectedItem]; 1160 var images = item && item.getElementsByTagName('img') || []; 1161 return images[0]; 1162 }); 1163 _defineProperty(_assertThisInitialized(_this), "getVariableItemHeight", function (position) { 1164 var item = _this.itemsRef && _this.itemsRef[position]; 1165 if (_this.state.hasMount && item && item.children.length) { 1166 var slideImages = item.children[0].getElementsByTagName('img') || []; 1167 if (slideImages.length > 0) { 1168 var image = slideImages[0]; 1169 if (!image.complete) { 1170 // if the image is still loading, the size won't be available so we trigger a new render after it's done 1171 var onImageLoad = function onImageLoad() { 1172 _this.forceUpdate(); 1173 image.removeEventListener('load', onImageLoad); 1174 }; 1175 image.addEventListener('load', onImageLoad); 1176 } 1177 } // try to get img first, if img not there find first display tag 1178 1179 var displayItem = slideImages[0] || item.children[0]; 1180 var height = displayItem.clientHeight; 1181 return height > 0 ? height : null; 1182 } 1183 return null; 1184 }); 1185 var initState = { 1186 initialized: false, 1187 previousItem: props.selectedItem, 1188 selectedItem: props.selectedItem, 1189 hasMount: false, 1190 isMouseEntered: false, 1191 autoPlay: props.autoPlay, 1192 swiping: false, 1193 swipeMovementStarted: false, 1194 cancelClick: false, 1195 itemSize: 1, 1196 itemListStyle: {}, 1197 slideStyle: {}, 1198 selectedStyle: {}, 1199 prevStyle: {} 1200 }; 1201 _this.animationHandler = typeof props.animationHandler === 'function' && props.animationHandler || props.animationHandler === 'fade' && _animations.fadeAnimationHandler || _animations.slideAnimationHandler; 1202 _this.state = _objectSpread(_objectSpread({}, initState), _this.animationHandler(props, initState)); 1203 return _this; 1204 } 1205 _createClass(Carousel, [{ 1206 key: "componentDidMount", 1207 value: function componentDidMount() { 1208 if (!this.props.children) { 1209 return; 1210 } 1211 this.setupCarousel(); 1212 } 1213 }, { 1214 key: "componentDidUpdate", 1215 value: function componentDidUpdate(prevProps, prevState) { 1216 if (!prevProps.children && this.props.children && !this.state.initialized) { 1217 this.setupCarousel(); 1218 } 1219 if (!prevProps.autoFocus && this.props.autoFocus) { 1220 this.forceFocus(); 1221 } 1222 if (prevState.swiping && !this.state.swiping) { 1223 // We stopped swiping, ensure we are heading to the new/current slide and not stuck 1224 this.setState(_objectSpread({}, this.props.stopSwipingHandler(this.props, this.state))); 1225 } 1226 if (prevProps.selectedItem !== this.props.selectedItem || prevProps.centerMode !== this.props.centerMode) { 1227 this.updateSizes(); 1228 this.moveTo(this.props.selectedItem); 1229 } 1230 if (prevProps.autoPlay !== this.props.autoPlay) { 1231 if (this.props.autoPlay) { 1232 this.setupAutoPlay(); 1233 } else { 1234 this.destroyAutoPlay(); 1235 } 1236 this.setState({ 1237 autoPlay: this.props.autoPlay 1238 }); 1239 } 1240 } 1241 }, { 1242 key: "componentWillUnmount", 1243 value: function componentWillUnmount() { 1244 this.destroyCarousel(); 1245 } 1246 }, { 1247 key: "setupCarousel", 1248 value: function setupCarousel() { 1249 var _this2 = this; 1250 this.bindEvents(); 1251 if (this.state.autoPlay && _react.Children.count(this.props.children) > 1) { 1252 this.setupAutoPlay(); 1253 } 1254 if (this.props.autoFocus) { 1255 this.forceFocus(); 1256 } 1257 this.setState({ 1258 initialized: true 1259 }, function () { 1260 var initialImage = _this2.getInitialImage(); 1261 if (initialImage && !initialImage.complete) { 1262 // if it's a carousel of images, we set the mount state after the first image is loaded 1263 initialImage.addEventListener('load', _this2.setMountState); 1264 } else { 1265 _this2.setMountState(); 1266 } 1267 }); 1268 } 1269 }, { 1270 key: "destroyCarousel", 1271 value: function destroyCarousel() { 1272 if (this.state.initialized) { 1273 this.unbindEvents(); 1274 this.destroyAutoPlay(); 1275 } 1276 } 1277 }, { 1278 key: "setupAutoPlay", 1279 value: function setupAutoPlay() { 1280 this.autoPlay(); 1281 var carouselWrapper = this.carouselWrapperRef; 1282 if (this.props.stopOnHover && carouselWrapper) { 1283 carouselWrapper.addEventListener('mouseenter', this.stopOnHover); 1284 carouselWrapper.addEventListener('mouseleave', this.startOnLeave); 1285 } 1286 } 1287 }, { 1288 key: "destroyAutoPlay", 1289 value: function destroyAutoPlay() { 1290 this.clearAutoPlay(); 1291 var carouselWrapper = this.carouselWrapperRef; 1292 if (this.props.stopOnHover && carouselWrapper) { 1293 carouselWrapper.removeEventListener('mouseenter', this.stopOnHover); 1294 carouselWrapper.removeEventListener('mouseleave', this.startOnLeave); 1295 } 1296 } 1297 }, { 1298 key: "bindEvents", 1299 value: function bindEvents() { 1300 // as the widths are calculated, we need to resize 1301 // the carousel when the window is resized 1302 (0, _window.default)().addEventListener('resize', this.updateSizes); // issue #2 - image loading smaller 1303 1304 (0, _window.default)().addEventListener('DOMContentLoaded', this.updateSizes); 1305 if (this.props.useKeyboardArrows) { 1306 (0, _document.default)().addEventListener('keydown', this.navigateWithKeyboard); 1307 } 1308 } 1309 }, { 1310 key: "unbindEvents", 1311 value: function unbindEvents() { 1312 // removing listeners 1313 (0, _window.default)().removeEventListener('resize', this.updateSizes); 1314 (0, _window.default)().removeEventListener('DOMContentLoaded', this.updateSizes); 1315 var initialImage = this.getInitialImage(); 1316 if (initialImage) { 1317 initialImage.removeEventListener('load', this.setMountState); 1318 } 1319 if (this.props.useKeyboardArrows) { 1320 (0, _document.default)().removeEventListener('keydown', this.navigateWithKeyboard); 1321 } 1322 } 1323 }, { 1324 key: "forceFocus", 1325 value: function forceFocus() { 1326 var _this$carouselWrapper; 1327 (_this$carouselWrapper = this.carouselWrapperRef) === null || _this$carouselWrapper === void 0 ? void 0 : _this$carouselWrapper.focus(); 1328 } 1329 }, { 1330 key: "renderItems", 1331 value: function renderItems(isClone) { 1332 var _this3 = this; 1333 if (!this.props.children) { 1334 return []; 1335 } 1336 return _react.Children.map(this.props.children, function (item, index) { 1337 var isSelected = index === _this3.state.selectedItem; 1338 var isPrevious = index === _this3.state.previousItem; 1339 var style = isSelected && _this3.state.selectedStyle || isPrevious && _this3.state.prevStyle || _this3.state.slideStyle || {}; 1340 if (_this3.props.centerMode && _this3.props.axis === 'horizontal') { 1341 style = _objectSpread(_objectSpread({}, style), {}, { 1342 minWidth: _this3.props.centerSlidePercentage + '%' 1343 }); 1344 } 1345 if (_this3.state.swiping && _this3.state.swipeMovementStarted) { 1346 style = _objectSpread(_objectSpread({}, style), {}, { 1347 pointerEvents: 'none' 1348 }); 1349 } 1350 var slideProps = { 1351 ref: function ref(e) { 1352 return _this3.setItemsRef(e, index); 1353 }, 1354 key: 'itemKey' + index + (isClone ? 'clone' : ''), 1355 className: _cssClasses.default.ITEM(true, index === _this3.state.selectedItem, index === _this3.state.previousItem), 1356 onClick: _this3.handleClickItem.bind(_this3, index, item), 1357 style: style 1358 }; 1359 return /*#__PURE__*/_react.default.createElement("li", slideProps, _this3.props.renderItem(item, { 1360 isSelected: index === _this3.state.selectedItem, 1361 isPrevious: index === _this3.state.previousItem 1362 })); 1363 }); 1364 } 1365 }, { 1366 key: "renderControls", 1367 value: function renderControls() { 1368 var _this4 = this; 1369 var _this$props = this.props, 1370 showIndicators = _this$props.showIndicators, 1371 labels = _this$props.labels, 1372 renderIndicator = _this$props.renderIndicator, 1373 children = _this$props.children; 1374 if (!showIndicators) { 1375 return null; 1376 } 1377 return /*#__PURE__*/_react.default.createElement("ul", { 1378 className: "control-dots" 1379 }, _react.Children.map(children, function (_, index) { 1380 return renderIndicator && renderIndicator(_this4.changeItem(index), index === _this4.state.selectedItem, index, labels.item); 1381 })); 1382 } 1383 }, { 1384 key: "renderStatus", 1385 value: function renderStatus() { 1386 if (!this.props.showStatus) { 1387 return null; 1388 } 1389 return /*#__PURE__*/_react.default.createElement("p", { 1390 className: "carousel-status" 1391 }, this.props.statusFormatter(this.state.selectedItem + 1, _react.Children.count(this.props.children))); 1392 } 1393 }, { 1394 key: "renderThumbs", 1395 value: function renderThumbs() { 1396 if (!this.props.showThumbs || !this.props.children || _react.Children.count(this.props.children) === 0) { 1397 return null; 1398 } 1399 return /*#__PURE__*/_react.default.createElement(_Thumbs.default, { 1400 ref: this.setThumbsRef, 1401 onSelectItem: this.handleClickThumb, 1402 selectedItem: this.state.selectedItem, 1403 transitionTime: this.props.transitionTime, 1404 thumbWidth: this.props.thumbWidth, 1405 labels: this.props.labels, 1406 emulateTouch: this.props.emulateTouch 1407 }, this.props.renderThumbs(this.props.children)); 1408 } 1409 }, { 1410 key: "render", 1411 value: function render() { 1412 var _this5 = this; 1413 if (!this.props.children || _react.Children.count(this.props.children) === 0) { 1414 return null; 1415 } 1416 var isSwipeable = this.props.swipeable && _react.Children.count(this.props.children) > 1; 1417 var isHorizontal = this.props.axis === 'horizontal'; 1418 var canShowArrows = this.props.showArrows && _react.Children.count(this.props.children) > 1; // show left arrow? 1419 1420 var hasPrev = canShowArrows && (this.state.selectedItem > 0 || this.props.infiniteLoop) || false; // show right arrow 1421 1422 var hasNext = canShowArrows && (this.state.selectedItem < _react.Children.count(this.props.children) - 1 || this.props.infiniteLoop) || false; 1423 var itemsClone = this.renderItems(true); 1424 var firstClone = itemsClone.shift(); 1425 var lastClone = itemsClone.pop(); 1426 var swiperProps = { 1427 className: _cssClasses.default.SLIDER(true, this.state.swiping), 1428 onSwipeMove: this.onSwipeMove, 1429 onSwipeStart: this.onSwipeStart, 1430 onSwipeEnd: this.onSwipeEnd, 1431 style: this.state.itemListStyle, 1432 tolerance: this.props.swipeScrollTolerance 1433 }; 1434 var containerStyles = {}; 1435 if (isHorizontal) { 1436 swiperProps.onSwipeLeft = this.onSwipeForward; 1437 swiperProps.onSwipeRight = this.onSwipeBackwards; 1438 if (this.props.dynamicHeight) { 1439 var itemHeight = this.getVariableItemHeight(this.state.selectedItem); // swiperProps.style.height = itemHeight || 'auto'; 1440 1441 containerStyles.height = itemHeight || 'auto'; 1442 } 1443 } else { 1444 swiperProps.onSwipeUp = this.props.verticalSwipe === 'natural' ? this.onSwipeBackwards : this.onSwipeForward; 1445 swiperProps.onSwipeDown = this.props.verticalSwipe === 'natural' ? this.onSwipeForward : this.onSwipeBackwards; 1446 swiperProps.style = _objectSpread(_objectSpread({}, swiperProps.style), {}, { 1447 height: this.state.itemSize 1448 }); 1449 containerStyles.height = this.state.itemSize; 1450 } 1451 return /*#__PURE__*/_react.default.createElement("div", { 1452 "aria-label": this.props.ariaLabel, 1453 className: _cssClasses.default.ROOT(this.props.className), 1454 ref: this.setCarouselWrapperRef, 1455 tabIndex: this.props.useKeyboardArrows ? 0 : undefined 1456 }, /*#__PURE__*/_react.default.createElement("div", { 1457 className: _cssClasses.default.CAROUSEL(true), 1458 style: { 1459 width: this.props.width 1460 } 1461 }, this.renderControls(), this.props.renderArrowPrev(this.onClickPrev, hasPrev, this.props.labels.leftArrow), /*#__PURE__*/_react.default.createElement("div", { 1462 className: _cssClasses.default.WRAPPER(true, this.props.axis), 1463 style: containerStyles 1464 }, isSwipeable ? /*#__PURE__*/_react.default.createElement(_reactEasySwipe.default, _extends({ 1465 tagName: "ul", 1466 innerRef: this.setListRef 1467 }, swiperProps, { 1468 allowMouseEvents: this.props.emulateTouch 1469 }), this.props.infiniteLoop && lastClone, this.renderItems(), this.props.infiniteLoop && firstClone) : /*#__PURE__*/_react.default.createElement("ul", { 1470 className: _cssClasses.default.SLIDER(true, this.state.swiping), 1471 ref: function ref(node) { 1472 return _this5.setListRef(node); 1473 }, 1474 style: this.state.itemListStyle || {} 1475 }, this.props.infiniteLoop && lastClone, this.renderItems(), this.props.infiniteLoop && firstClone)), this.props.renderArrowNext(this.onClickNext, hasNext, this.props.labels.rightArrow), this.renderStatus()), this.renderThumbs()); 1476 } 1477 }]); 1478 return Carousel; 1479}(_react.default.Component); 1480exports["default"] = Carousel; 1481_defineProperty(Carousel, "displayName", 'Carousel'); 1482_defineProperty(Carousel, "defaultProps", { 1483 ariaLabel: undefined, 1484 axis: 'horizontal', 1485 centerSlidePercentage: 80, 1486 interval: 3000, 1487 labels: { 1488 leftArrow: 'previous slide / item', 1489 rightArrow: 'next slide / item', 1490 item: 'slide item' 1491 }, 1492 onClickItem: _utils.noop, 1493 onClickThumb: _utils.noop, 1494 onChange: _utils.noop, 1495 onSwipeStart: function onSwipeStart() {}, 1496 onSwipeEnd: function onSwipeEnd() {}, 1497 onSwipeMove: function onSwipeMove() { 1498 return false; 1499 }, 1500 preventMovementUntilSwipeScrollTolerance: false, 1501 renderArrowPrev: function renderArrowPrev(onClickHandler, hasPrev, label) { 1502 return /*#__PURE__*/_react.default.createElement("button", { 1503 type: "button", 1504 "aria-label": label, 1505 className: _cssClasses.default.ARROW_PREV(!hasPrev), 1506 onClick: onClickHandler 1507 }); 1508 }, 1509 renderArrowNext: function renderArrowNext(onClickHandler, hasNext, label) { 1510 return /*#__PURE__*/_react.default.createElement("button", { 1511 type: "button", 1512 "aria-label": label, 1513 className: _cssClasses.default.ARROW_NEXT(!hasNext), 1514 onClick: onClickHandler 1515 }); 1516 }, 1517 renderIndicator: function renderIndicator(onClickHandler, isSelected, index, label) { 1518 return /*#__PURE__*/_react.default.createElement("li", { 1519 className: _cssClasses.default.DOT(isSelected), 1520 onClick: onClickHandler, 1521 onKeyDown: onClickHandler, 1522 value: index, 1523 key: index, 1524 role: "button", 1525 tabIndex: 0, 1526 "aria-label": "".concat(label, " ").concat(index + 1) 1527 }); 1528 }, 1529 renderItem: function renderItem(item) { 1530 return item; 1531 }, 1532 renderThumbs: function renderThumbs(children) { 1533 var images = _react.Children.map(children, function (item) { 1534 var img = item; // if the item is not an image, try to find the first image in the item's children. 1535 1536 if (item.type !== 'img') { 1537 img = _react.Children.toArray(item.props.children).find(function (children) { 1538 return children.type === 'img'; 1539 }); 1540 } 1541 if (!img) { 1542 return undefined; 1543 } 1544 return img; 1545 }); 1546 if (images.filter(function (image) { 1547 return image; 1548 }).length === 0) { 1549 console.warn("No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carousel/blob/master/TROUBLESHOOTING.md"); 1550 return []; 1551 } 1552 return images; 1553 }, 1554 statusFormatter: _utils.defaultStatusFormatter, 1555 selectedItem: 0, 1556 showArrows: true, 1557 showIndicators: true, 1558 showStatus: true, 1559 showThumbs: true, 1560 stopOnHover: true, 1561 swipeScrollTolerance: 5, 1562 swipeable: true, 1563 transitionTime: 350, 1564 verticalSwipe: 'standard', 1565 width: '100%', 1566 animationHandler: 'slide', 1567 swipeAnimationHandler: _animations.slideSwipeAnimationHandler, 1568 stopSwipingHandler: _animations.slideStopSwipingHandler 1569}); 1570 1571/***/ }), 1572
vendor: 398 bytes, lines 1573-1583
1573/***/ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/types.js": 1574/*!************************************************************************************!*\ 1575 !*** ./node_modules/react-responsive-carousel/lib/js/components/Carousel/types.js ***! 1576 \************************************************************************************/ 1577/***/ (() => { 1578 1579"use strict"; 1580 1581 1582/***/ }), 1583
vendor: 2,667 bytes, lines 1584-1658
1584/***/ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/utils.js": 1585/*!************************************************************************************!*\ 1586 !*** ./node_modules/react-responsive-carousel/lib/js/components/Carousel/utils.js ***! 1587 \************************************************************************************/ 1588/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 1589 1590"use strict"; 1591 1592 1593Object.defineProperty(exports, "__esModule", ({ 1594 value: true 1595})); 1596exports.setPosition = exports.getPosition = exports.isKeyboardEvent = exports.defaultStatusFormatter = exports.noop = void 0; 1597var _react = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 1598var _CSSTranslate = _interopRequireDefault(__webpack_require__(/*! ../../CSSTranslate */ "./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js")); 1599function _interopRequireDefault(obj) { 1600 return obj && obj.__esModule ? obj : { 1601 default: obj 1602 }; 1603} 1604var noop = function noop() {}; 1605exports.noop = noop; 1606var defaultStatusFormatter = function defaultStatusFormatter(current, total) { 1607 return "".concat(current, " of ").concat(total); 1608}; 1609exports.defaultStatusFormatter = defaultStatusFormatter; 1610var isKeyboardEvent = function isKeyboardEvent(e) { 1611 return e ? e.hasOwnProperty('key') : false; 1612}; 1613/** 1614 * Gets the list 'position' relative to a current index 1615 * @param index 1616 */ 1617 1618exports.isKeyboardEvent = isKeyboardEvent; 1619var getPosition = function getPosition(index, props) { 1620 if (props.infiniteLoop) { 1621 // index has to be added by 1 because of the first cloned slide 1622 ++index; 1623 } 1624 if (index === 0) { 1625 return 0; 1626 } 1627 var childrenLength = _react.Children.count(props.children); 1628 if (props.centerMode && props.axis === 'horizontal') { 1629 var currentPosition = -index * props.centerSlidePercentage; 1630 var lastPosition = childrenLength - 1; 1631 if (index && (index !== lastPosition || props.infiniteLoop)) { 1632 currentPosition += (100 - props.centerSlidePercentage) / 2; 1633 } else if (index === lastPosition) { 1634 currentPosition += 100 - props.centerSlidePercentage; 1635 } 1636 return currentPosition; 1637 } 1638 return -index * 100; 1639}; 1640/** 1641 * Sets the 'position' transform for sliding animations 1642 * @param position 1643 * @param forceReflow 1644 */ 1645 1646exports.getPosition = getPosition; 1647var setPosition = function setPosition(position, axis) { 1648 var style = {}; 1649 ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) { 1650 // @ts-ignore 1651 style[prop] = (0, _CSSTranslate.default)(position, '%', axis); 1652 }); 1653 return style; 1654}; 1655exports.setPosition = setPosition; 1656 1657/***/ }), 1658
vendor: 17,462 bytes, lines 1659-2133
1659/***/ "./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js": 1660/*!****************************************************************************!*\ 1661 !*** ./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js ***! 1662 \****************************************************************************/ 1663/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 1664 1665"use strict"; 1666 1667 1668Object.defineProperty(exports, "__esModule", ({ 1669 value: true 1670})); 1671exports["default"] = void 0; 1672var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "./node_modules/react/index.js")); 1673var _cssClasses = _interopRequireDefault(__webpack_require__(/*! ../cssClasses */ "./node_modules/react-responsive-carousel/lib/js/cssClasses.js")); 1674var _dimensions = __webpack_require__(/*! ../dimensions */ "./node_modules/react-responsive-carousel/lib/js/dimensions.js"); 1675var _CSSTranslate = _interopRequireDefault(__webpack_require__(/*! ../CSSTranslate */ "./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js")); 1676var _reactEasySwipe = _interopRequireDefault(__webpack_require__(/*! react-easy-swipe */ "./node_modules/react-easy-swipe/lib/index.js")); 1677var _window = _interopRequireDefault(__webpack_require__(/*! ../shims/window */ "./node_modules/react-responsive-carousel/lib/js/shims/window.js")); 1678function _interopRequireDefault(obj) { 1679 return obj && obj.__esModule ? obj : { 1680 default: obj 1681 }; 1682} 1683function _getRequireWildcardCache() { 1684 if (typeof WeakMap !== "function") return null; 1685 var cache = new WeakMap(); 1686 _getRequireWildcardCache = function _getRequireWildcardCache() { 1687 return cache; 1688 }; 1689 return cache; 1690} 1691function _interopRequireWildcard(obj) { 1692 if (obj && obj.__esModule) { 1693 return obj; 1694 } 1695 if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { 1696 return { 1697 default: obj 1698 }; 1699 } 1700 var cache = _getRequireWildcardCache(); 1701 if (cache && cache.has(obj)) { 1702 return cache.get(obj); 1703 } 1704 var newObj = {}; 1705 var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; 1706 for (var key in obj) { 1707 if (Object.prototype.hasOwnProperty.call(obj, key)) { 1708 var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; 1709 if (desc && (desc.get || desc.set)) { 1710 Object.defineProperty(newObj, key, desc); 1711 } else { 1712 newObj[key] = obj[key]; 1713 } 1714 } 1715 } 1716 newObj.default = obj; 1717 if (cache) { 1718 cache.set(obj, newObj); 1719 } 1720 return newObj; 1721} 1722function _typeof(obj) { 1723 "@babel/helpers - typeof"; 1724 1725 if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { 1726 _typeof = function _typeof(obj) { 1727 return typeof obj; 1728 }; 1729 } else { 1730 _typeof = function _typeof(obj) { 1731 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 1732 }; 1733 } 1734 return _typeof(obj); 1735} 1736function _extends() { 1737 _extends = Object.assign || function (target) { 1738 for (var i = 1; i < arguments.length; i++) { 1739 var source = arguments[i]; 1740 for (var key in source) { 1741 if (Object.prototype.hasOwnProperty.call(source, key)) { 1742 target[key] = source[key]; 1743 } 1744 } 1745 } 1746 return target; 1747 }; 1748 return _extends.apply(this, arguments); 1749} 1750function _classCallCheck(instance, Constructor) { 1751 if (!(instance instanceof Constructor)) { 1752 throw new TypeError("Cannot call a class as a function"); 1753 } 1754} 1755function _defineProperties(target, props) { 1756 for (var i = 0; i < props.length; i++) { 1757 var descriptor = props[i]; 1758 descriptor.enumerable = descriptor.enumerable || false; 1759 descriptor.configurable = true; 1760 if ("value" in descriptor) descriptor.writable = true; 1761 Object.defineProperty(target, descriptor.key, descriptor); 1762 } 1763} 1764function _createClass(Constructor, protoProps, staticProps) { 1765 if (protoProps) _defineProperties(Constructor.prototype, protoProps); 1766 if (staticProps) _defineProperties(Constructor, staticProps); 1767 return Constructor; 1768} 1769function _inherits(subClass, superClass) { 1770 if (typeof superClass !== "function" && superClass !== null) { 1771 throw new TypeError("Super expression must either be null or a function"); 1772 } 1773 subClass.prototype = Object.create(superClass && superClass.prototype, { 1774 constructor: { 1775 value: subClass, 1776 writable: true, 1777 configurable: true 1778 } 1779 }); 1780 if (superClass) _setPrototypeOf(subClass, superClass); 1781} 1782function _setPrototypeOf(o, p) { 1783 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { 1784 o.__proto__ = p; 1785 return o; 1786 }; 1787 return _setPrototypeOf(o, p); 1788} 1789function _createSuper(Derived) { 1790 var hasNativeReflectConstruct = _isNativeReflectConstruct(); 1791 return function _createSuperInternal() { 1792 var Super = _getPrototypeOf(Derived), 1793 result; 1794 if (hasNativeReflectConstruct) { 1795 var NewTarget = _getPrototypeOf(this).constructor; 1796 result = Reflect.construct(Super, arguments, NewTarget); 1797 } else { 1798 result = Super.apply(this, arguments); 1799 } 1800 return _possibleConstructorReturn(this, result); 1801 }; 1802} 1803function _possibleConstructorReturn(self, call) { 1804 if (call && (_typeof(call) === "object" || typeof call === "function")) { 1805 return call; 1806 } 1807 return _assertThisInitialized(self); 1808} 1809function _assertThisInitialized(self) { 1810 if (self === void 0) { 1811 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 1812 } 1813 return self; 1814} 1815function _isNativeReflectConstruct() { 1816 if (typeof Reflect === "undefined" || !Reflect.construct) return false; 1817 if (Reflect.construct.sham) return false; 1818 if (typeof Proxy === "function") return true; 1819 try { 1820 Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); 1821 return true; 1822 } catch (e) { 1823 return false; 1824 } 1825} 1826function _getPrototypeOf(o) { 1827 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { 1828 return o.__proto__ || Object.getPrototypeOf(o); 1829 }; 1830 return _getPrototypeOf(o); 1831} 1832function _defineProperty(obj, key, value) { 1833 if (key in obj) { 1834 Object.defineProperty(obj, key, { 1835 value: value, 1836 enumerable: true, 1837 configurable: true, 1838 writable: true 1839 }); 1840 } else { 1841 obj[key] = value; 1842 } 1843 return obj; 1844} 1845var isKeyboardEvent = function isKeyboardEvent(e) { 1846 return e.hasOwnProperty('key'); 1847}; 1848var Thumbs = /*#__PURE__*/function (_Component) { 1849 _inherits(Thumbs, _Component); 1850 var _super = _createSuper(Thumbs); 1851 function Thumbs(_props) { 1852 var _this; 1853 _classCallCheck(this, Thumbs); 1854 _this = _super.call(this, _props); 1855 _defineProperty(_assertThisInitialized(_this), "itemsWrapperRef", void 0); 1856 _defineProperty(_assertThisInitialized(_this), "itemsListRef", void 0); 1857 _defineProperty(_assertThisInitialized(_this), "thumbsRef", void 0); 1858 _defineProperty(_assertThisInitialized(_this), "setItemsWrapperRef", function (node) { 1859 _this.itemsWrapperRef = node; 1860 }); 1861 _defineProperty(_assertThisInitialized(_this), "setItemsListRef", function (node) { 1862 _this.itemsListRef = node; 1863 }); 1864 _defineProperty(_assertThisInitialized(_this), "setThumbsRef", function (node, index) { 1865 if (!_this.thumbsRef) { 1866 _this.thumbsRef = []; 1867 } 1868 _this.thumbsRef[index] = node; 1869 }); 1870 _defineProperty(_assertThisInitialized(_this), "updateSizes", function () { 1871 if (!_this.props.children || !_this.itemsWrapperRef || !_this.thumbsRef) { 1872 return; 1873 } 1874 var total = _react.Children.count(_this.props.children); 1875 var wrapperSize = _this.itemsWrapperRef.clientWidth; 1876 var itemSize = _this.props.thumbWidth ? _this.props.thumbWidth : (0, _dimensions.outerWidth)(_this.thumbsRef[0]); 1877 var visibleItems = Math.floor(wrapperSize / itemSize); 1878 var showArrows = visibleItems < total; 1879 var lastPosition = showArrows ? total - visibleItems : 0; 1880 _this.setState(function (_state, props) { 1881 return { 1882 itemSize: itemSize, 1883 visibleItems: visibleItems, 1884 firstItem: showArrows ? _this.getFirstItem(props.selectedItem) : 0, 1885 lastPosition: lastPosition, 1886 showArrows: showArrows 1887 }; 1888 }); 1889 }); 1890 _defineProperty(_assertThisInitialized(_this), "handleClickItem", function (index, item, e) { 1891 if (!isKeyboardEvent(e) || e.key === 'Enter') { 1892 var handler = _this.props.onSelectItem; 1893 if (typeof handler === 'function') { 1894 handler(index, item); 1895 } 1896 } 1897 }); 1898 _defineProperty(_assertThisInitialized(_this), "onSwipeStart", function () { 1899 _this.setState({ 1900 swiping: true 1901 }); 1902 }); 1903 _defineProperty(_assertThisInitialized(_this), "onSwipeEnd", function () { 1904 _this.setState({ 1905 swiping: false 1906 }); 1907 }); 1908 _defineProperty(_assertThisInitialized(_this), "onSwipeMove", function (delta) { 1909 var deltaX = delta.x; 1910 if (!_this.state.itemSize || !_this.itemsWrapperRef || !_this.state.visibleItems) { 1911 return false; 1912 } 1913 var leftBoundary = 0; 1914 var childrenLength = _react.Children.count(_this.props.children); 1915 var currentPosition = -(_this.state.firstItem * 100) / _this.state.visibleItems; 1916 var lastLeftItem = Math.max(childrenLength - _this.state.visibleItems, 0); 1917 var lastLeftBoundary = -lastLeftItem * 100 / _this.state.visibleItems; // prevent user from swiping left out of boundaries 1918 1919 if (currentPosition === leftBoundary && deltaX > 0) { 1920 deltaX = 0; 1921 } // prevent user from swiping right out of boundaries 1922 1923 if (currentPosition === lastLeftBoundary && deltaX < 0) { 1924 deltaX = 0; 1925 } 1926 var wrapperSize = _this.itemsWrapperRef.clientWidth; 1927 var position = currentPosition + 100 / (wrapperSize / deltaX); // if 3d isn't available we will use left to move 1928 1929 if (_this.itemsListRef) { 1930 ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) { 1931 _this.itemsListRef.style[prop] = (0, _CSSTranslate.default)(position, '%', _this.props.axis); 1932 }); 1933 } 1934 return true; 1935 }); 1936 _defineProperty(_assertThisInitialized(_this), "slideRight", function (positions) { 1937 _this.moveTo(_this.state.firstItem - (typeof positions === 'number' ? positions : 1)); 1938 }); 1939 _defineProperty(_assertThisInitialized(_this), "slideLeft", function (positions) { 1940 _this.moveTo(_this.state.firstItem + (typeof positions === 'number' ? positions : 1)); 1941 }); 1942 _defineProperty(_assertThisInitialized(_this), "moveTo", function (position) { 1943 // position can't be lower than 0 1944 position = position < 0 ? 0 : position; // position can't be higher than last postion 1945 1946 position = position >= _this.state.lastPosition ? _this.state.lastPosition : position; 1947 _this.setState({ 1948 firstItem: position 1949 }); 1950 }); 1951 _this.state = { 1952 selectedItem: _props.selectedItem, 1953 swiping: false, 1954 showArrows: false, 1955 firstItem: 0, 1956 visibleItems: 0, 1957 lastPosition: 0 1958 }; 1959 return _this; 1960 } 1961 _createClass(Thumbs, [{ 1962 key: "componentDidMount", 1963 value: function componentDidMount() { 1964 this.setupThumbs(); 1965 } 1966 }, { 1967 key: "componentDidUpdate", 1968 value: function componentDidUpdate(prevProps) { 1969 if (this.props.selectedItem !== this.state.selectedItem) { 1970 this.setState({ 1971 selectedItem: this.props.selectedItem, 1972 firstItem: this.getFirstItem(this.props.selectedItem) 1973 }); 1974 } 1975 if (this.props.children === prevProps.children) { 1976 return; 1977 } // This will capture any size changes for arrow adjustments etc. 1978 // usually in the same render cycle so we don't see any flickers 1979 1980 this.updateSizes(); 1981 } 1982 }, { 1983 key: "componentWillUnmount", 1984 value: function componentWillUnmount() { 1985 this.destroyThumbs(); 1986 } 1987 }, { 1988 key: "setupThumbs", 1989 value: function setupThumbs() { 1990 // as the widths are calculated, we need to resize 1991 // the carousel when the window is resized 1992 (0, _window.default)().addEventListener('resize', this.updateSizes); // issue #2 - image loading smaller 1993 1994 (0, _window.default)().addEventListener('DOMContentLoaded', this.updateSizes); // when the component is rendered we need to calculate 1995 // the container size to adjust the responsive behaviour 1996 1997 this.updateSizes(); 1998 } 1999 }, { 2000 key: "destroyThumbs", 2001 value: function destroyThumbs() { 2002 // removing listeners 2003 (0, _window.default)().removeEventListener('resize', this.updateSizes); 2004 (0, _window.default)().removeEventListener('DOMContentLoaded', this.updateSizes); 2005 } 2006 }, { 2007 key: "getFirstItem", 2008 value: function getFirstItem(selectedItem) { 2009 var firstItem = selectedItem; 2010 if (selectedItem >= this.state.lastPosition) { 2011 firstItem = this.state.lastPosition; 2012 } 2013 if (selectedItem < this.state.firstItem + this.state.visibleItems) { 2014 firstItem = this.state.firstItem; 2015 } 2016 if (selectedItem < this.state.firstItem) { 2017 firstItem = selectedItem; 2018 } 2019 return firstItem; 2020 } 2021 }, { 2022 key: "renderItems", 2023 value: function renderItems() { 2024 var _this2 = this; 2025 return this.props.children.map(function (img, index) { 2026 var itemClass = _cssClasses.default.ITEM(false, index === _this2.state.selectedItem); 2027 var thumbProps = { 2028 key: index, 2029 ref: function ref(e) { 2030 return _this2.setThumbsRef(e, index); 2031 }, 2032 className: itemClass, 2033 onClick: _this2.handleClickItem.bind(_this2, index, _this2.props.children[index]), 2034 onKeyDown: _this2.handleClickItem.bind(_this2, index, _this2.props.children[index]), 2035 'aria-label': "".concat(_this2.props.labels.item, " ").concat(index + 1), 2036 style: { 2037 width: _this2.props.thumbWidth 2038 } 2039 }; 2040 return /*#__PURE__*/_react.default.createElement("li", _extends({}, thumbProps, { 2041 role: "button", 2042 tabIndex: 0 2043 }), img); 2044 }); 2045 } 2046 }, { 2047 key: "render", 2048 value: function render() { 2049 var _this3 = this; 2050 if (!this.props.children) { 2051 return null; 2052 } 2053 var isSwipeable = _react.Children.count(this.props.children) > 1; // show left arrow? 2054 2055 var hasPrev = this.state.showArrows && this.state.firstItem > 0; // show right arrow 2056 2057 var hasNext = this.state.showArrows && this.state.firstItem < this.state.lastPosition; // obj to hold the transformations and styles 2058 2059 var itemListStyles = {}; 2060 var currentPosition = -this.state.firstItem * (this.state.itemSize || 0); 2061 var transformProp = (0, _CSSTranslate.default)(currentPosition, 'px', this.props.axis); 2062 var transitionTime = this.props.transitionTime + 'ms'; 2063 itemListStyles = { 2064 WebkitTransform: transformProp, 2065 MozTransform: transformProp, 2066 MsTransform: transformProp, 2067 OTransform: transformProp, 2068 transform: transformProp, 2069 msTransform: transformProp, 2070 WebkitTransitionDuration: transitionTime, 2071 MozTransitionDuration: transitionTime, 2072 MsTransitionDuration: transitionTime, 2073 OTransitionDuration: transitionTime, 2074 transitionDuration: transitionTime, 2075 msTransitionDuration: transitionTime 2076 }; 2077 return /*#__PURE__*/_react.default.createElement("div", { 2078 className: _cssClasses.default.CAROUSEL(false) 2079 }, /*#__PURE__*/_react.default.createElement("div", { 2080 className: _cssClasses.default.WRAPPER(false), 2081 ref: this.setItemsWrapperRef 2082 }, /*#__PURE__*/_react.default.createElement("button", { 2083 type: "button", 2084 className: _cssClasses.default.ARROW_PREV(!hasPrev), 2085 onClick: function onClick() { 2086 return _this3.slideRight(); 2087 }, 2088 "aria-label": this.props.labels.leftArrow 2089 }), isSwipeable ? /*#__PURE__*/_react.default.createElement(_reactEasySwipe.default, { 2090 tagName: "ul", 2091 className: _cssClasses.default.SLIDER(false, this.state.swiping), 2092 onSwipeLeft: this.slideLeft, 2093 onSwipeRight: this.slideRight, 2094 onSwipeMove: this.onSwipeMove, 2095 onSwipeStart: this.onSwipeStart, 2096 onSwipeEnd: this.onSwipeEnd, 2097 style: itemListStyles, 2098 innerRef: this.setItemsListRef, 2099 allowMouseEvents: this.props.emulateTouch 2100 }, this.renderItems()) : /*#__PURE__*/_react.default.createElement("ul", { 2101 className: _cssClasses.default.SLIDER(false, this.state.swiping), 2102 ref: function ref(node) { 2103 return _this3.setItemsListRef(node); 2104 }, 2105 style: itemListStyles 2106 }, this.renderItems()), /*#__PURE__*/_react.default.createElement("button", { 2107 type: "button", 2108 className: _cssClasses.default.ARROW_NEXT(!hasNext), 2109 onClick: function onClick() { 2110 return _this3.slideLeft(); 2111 }, 2112 "aria-label": this.props.labels.rightArrow 2113 }))); 2114 } 2115 }]); 2116 return Thumbs; 2117}(_react.Component); 2118exports["default"] = Thumbs; 2119_defineProperty(Thumbs, "displayName", 'Thumbs'); 2120_defineProperty(Thumbs, "defaultProps", { 2121 axis: 'horizontal', 2122 labels: { 2123 leftArrow: 'previous slide / item', 2124 rightArrow: 'next slide / item', 2125 item: 'slide item' 2126 }, 2127 selectedItem: 0, 2128 thumbWidth: 80, 2129 transitionTime: 350 2130}); 2131 2132/***/ }), 2133
vendor: 2,454 bytes, lines 2134-2223
2134/***/ "./node_modules/react-responsive-carousel/lib/js/cssClasses.js": 2135/*!*********************************************************************!*\ 2136 !*** ./node_modules/react-responsive-carousel/lib/js/cssClasses.js ***! 2137 \*********************************************************************/ 2138/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 2139 2140"use strict"; 2141 2142 2143Object.defineProperty(exports, "__esModule", ({ 2144 value: true 2145})); 2146exports["default"] = void 0; 2147var _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ "./node_modules/classnames/index.js")); 2148function _interopRequireDefault(obj) { 2149 return obj && obj.__esModule ? obj : { 2150 default: obj 2151 }; 2152} 2153function _defineProperty(obj, key, value) { 2154 if (key in obj) { 2155 Object.defineProperty(obj, key, { 2156 value: value, 2157 enumerable: true, 2158 configurable: true, 2159 writable: true 2160 }); 2161 } else { 2162 obj[key] = value; 2163 } 2164 return obj; 2165} 2166var _default = { 2167 ROOT: function ROOT(customClassName) { 2168 return (0, _classnames.default)(_defineProperty({ 2169 'carousel-root': true 2170 }, customClassName || '', !!customClassName)); 2171 }, 2172 CAROUSEL: function CAROUSEL(isSlider) { 2173 return (0, _classnames.default)({ 2174 carousel: true, 2175 'carousel-slider': isSlider 2176 }); 2177 }, 2178 WRAPPER: function WRAPPER(isSlider, axis) { 2179 return (0, _classnames.default)({ 2180 'thumbs-wrapper': !isSlider, 2181 'slider-wrapper': isSlider, 2182 'axis-horizontal': axis === 'horizontal', 2183 'axis-vertical': axis !== 'horizontal' 2184 }); 2185 }, 2186 SLIDER: function SLIDER(isSlider, isSwiping) { 2187 return (0, _classnames.default)({ 2188 thumbs: !isSlider, 2189 slider: isSlider, 2190 animated: !isSwiping 2191 }); 2192 }, 2193 ITEM: function ITEM(isSlider, selected, previous) { 2194 return (0, _classnames.default)({ 2195 thumb: !isSlider, 2196 slide: isSlider, 2197 selected: selected, 2198 previous: previous 2199 }); 2200 }, 2201 ARROW_PREV: function ARROW_PREV(disabled) { 2202 return (0, _classnames.default)({ 2203 'control-arrow control-prev': true, 2204 'control-disabled': disabled 2205 }); 2206 }, 2207 ARROW_NEXT: function ARROW_NEXT(disabled) { 2208 return (0, _classnames.default)({ 2209 'control-arrow control-next': true, 2210 'control-disabled': disabled 2211 }); 2212 }, 2213 DOT: function DOT(selected) { 2214 return (0, _classnames.default)({ 2215 dot: true, 2216 selected: selected 2217 }); 2218 } 2219}; 2220exports["default"] = _default; 2221 2222/***/ }), 2223
vendor: 697 bytes, lines 2224-2246
2224/***/ "./node_modules/react-responsive-carousel/lib/js/dimensions.js": 2225/*!*********************************************************************!*\ 2226 !*** ./node_modules/react-responsive-carousel/lib/js/dimensions.js ***! 2227 \*********************************************************************/ 2228/***/ ((__unused_webpack_module, exports) => { 2229 2230"use strict"; 2231 2232 2233Object.defineProperty(exports, "__esModule", ({ 2234 value: true 2235})); 2236exports.outerWidth = void 0; 2237var outerWidth = function outerWidth(el) { 2238 var width = el.offsetWidth; 2239 var style = getComputedStyle(el); 2240 width += parseInt(style.marginLeft) + parseInt(style.marginRight); 2241 return width; 2242}; 2243exports.outerWidth = outerWidth; 2244 2245/***/ }), 2246
vendor: 1,411 bytes, lines 2247-2287
2247/***/ "./node_modules/react-responsive-carousel/lib/js/index.js": 2248/*!****************************************************************!*\ 2249 !*** ./node_modules/react-responsive-carousel/lib/js/index.js ***! 2250 \****************************************************************/ 2251/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 2252 2253"use strict"; 2254 2255 2256Object.defineProperty(exports, "__esModule", ({ 2257 value: true 2258})); 2259Object.defineProperty(exports, "Carousel", ({ 2260 enumerable: true, 2261 get: function get() { 2262 return _Carousel.default; 2263 } 2264})); 2265Object.defineProperty(exports, "CarouselProps", ({ 2266 enumerable: true, 2267 get: function get() { 2268 return _types.CarouselProps; 2269 } 2270})); 2271Object.defineProperty(exports, "Thumbs", ({ 2272 enumerable: true, 2273 get: function get() { 2274 return _Thumbs.default; 2275 } 2276})); 2277var _Carousel = _interopRequireDefault(__webpack_require__(/*! ./components/Carousel */ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/index.js")); 2278var _types = __webpack_require__(/*! ./components/Carousel/types */ "./node_modules/react-responsive-carousel/lib/js/components/Carousel/types.js"); 2279var _Thumbs = _interopRequireDefault(__webpack_require__(/*! ./components/Thumbs */ "./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js")); 2280function _interopRequireDefault(obj) { 2281 return obj && obj.__esModule ? obj : { 2282 default: obj 2283 }; 2284} 2285 2286/***/ }), 2287
vendor: 573 bytes, lines 2288-2307
2288/***/ "./node_modules/react-responsive-carousel/lib/js/shims/document.js": 2289/*!*************************************************************************!*\ 2290 !*** ./node_modules/react-responsive-carousel/lib/js/shims/document.js ***! 2291 \*************************************************************************/ 2292/***/ ((__unused_webpack_module, exports) => { 2293 2294"use strict"; 2295 2296 2297Object.defineProperty(exports, "__esModule", ({ 2298 value: true 2299})); 2300exports["default"] = void 0; 2301var _default = function _default() { 2302 return document; 2303}; 2304exports["default"] = _default; 2305 2306/***/ }), 2307
vendor: 14,830 bytes, lines 2308-2355
2308/***/ "./node_modules/react-responsive-carousel/lib/js/shims/window.js": 2309/*!***********************************************************************!*\ 2310 !*** ./node_modules/react-responsive-carousel/lib/js/shims/window.js ***! 2311 \***********************************************************************/ 2312/***/ ((__unused_webpack_module, exports) => { 2313 2314"use strict"; 2315 2316 2317Object.defineProperty(exports, "__esModule", ({ 2318 value: true 2319})); 2320exports["default"] = void 0; 2321var _default = function _default() { 2322 return window; 2323}; 2324exports["default"] = _default; 2325 2326/***/ }), 2327 2328/***/ "./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css": 2329/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 2330 !*** ./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css ***! 2331 \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ 2332/***/ ((module, __webpack_exports__, __webpack_require__) => { 2333 2334"use strict"; 2335__webpack_require__.r(__webpack_exports__); 2336/* harmony export */ __webpack_require__.d(__webpack_exports__, { 2337/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 2338/* harmony export */ }); 2339/* harmony import */ var _react_scripts_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../react-scripts/node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/react-scripts/node_modules/css-loader/dist/runtime/sourceMaps.js"); 2340/* harmony import */ var _react_scripts_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); 2341/* harmony import */ var _react_scripts_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../react-scripts/node_modules/css-loader/dist/runtime/api.js */ "./node_modules/react-scripts/node_modules/css-loader/dist/runtime/api.js"); 2342/* harmony import */ var _react_scripts_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); 2343// Imports 2344 2345 2346var ___CSS_LOADER_EXPORT___ = _react_scripts_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_react_scripts_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); 2347// Module 2348___CSS_LOADER_EXPORT___.push([module.id, ".carousel .control-arrow,.carousel.carousel-slider .control-arrow{transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{transition:all .15s ease-in;transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-moz-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\n", "",{"version":3,"sources":["webpack://./node_modules/react-responsive-carousel/lib/styles/carousel.min.css"],"names":[],"mappings":"AAAA,kEAAsM,2BAA2B,CAAC,UAAU,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,8DAA8D,SAAS,CAAC,yBAAyB,CAAC,gFAAgF,YAAY,CAAC,oBAAoB,CAAC,gCAAgC,CAAC,mCAAmC,CAAC,UAAU,CAAC,0CAA0C,SAAS,CAAC,uBAAuB,CAAC,cAAc,CAAC,YAAY,CAAC,sCAAsC,MAAM,CAAC,6CAA6C,2BAA2B,CAAC,sCAAsC,OAAO,CAAC,6CAA6C,0BAA0B,CAAC,eAAe,YAAY,CAAC,UAAU,iBAAiB,CAAC,UAAU,CAAC,YAAqE,qBAAqB,CAAC,cAAc,UAAU,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,oBAAoB,iBAAiB,CAAC,yBAAyB,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,0BAA0B,WAAW,CAAC,eAAe,CAAC,kBAAsJ,2BAA2B,CAAiJ,8BAA8B,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,iBAAiK,8BAA8B,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,eAAe,CAAC,qBAAqB,CAAC,WAAW,CAAC,uBAAuB,qBAAqB,CAAC,YAAY,CAAC,iDAAiD,qBAAqB,CAAC,qBAAqB,kBAAkB,CAAC,0BAA0B,iBAAiB,CAAC,QAAQ,CAAC,eAAe,CAAC,yCAAyC,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,YAAY,CAAC,WAAW,CAAC,+CAA+C,0BAA0B,CAAC,0BAA0B,eAAe,CAAC,WAAW,CAAC,UAAU,CAAiJ,8BAA8B,CAAC,kDAAkD,yBAAyB,CAA0D,iBAAiB,CAAsB,YAAY,CAAC,yDAAyD,qBAAqB,CAAC,gBAAgB,CAAC,wCAAwC,yBAAyB,CAA0D,iBAAiB,CAAsB,YAAY,CAAC,gDAA8E,qBAAqB,CAAC,kBAAkB,QAAQ,CAAC,SAAS,CAAC,iBAAiB,CAAC,eAAe,CAAC,UAAU,CAAC,2BAA+K,+BAA+B,CAAC,iBAAiB,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,qBAAqB,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,wBAAwB,oBAAoB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,yBAAyK,8BAA8B,CAAC,iBAAiB,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,SAAS,CAAC,kBAAkB,CAAC,eAAe,CAAC,UAAU,CAAC,YAAY,CAAC,cAAc,CAAC,iBAAiB,CAAC,YAAY,CAAqK,mCAAmC,CAAC,wBAAwB,iBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,0BAA0B,wBAAwB,QAAQ,CAAC,CAAC,6BAAiL,+BAA+B,CAAC,UAAU,CAAC,wBAAwB,CAAC,sCAAsC,CAAC,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,YAAY,CAAC,yEAAyE,SAAS,CAAC,yBAAyB,CAAC,2BAA2B,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,uCAAuC,CAAC,UAAU,CAAC,+BAA+B,SAAS","sourcesContent":[".carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;filter:alpha(opacity=40);position:absolute;z-index:2;top:20px;background:none;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:focus,.carousel .control-arrow:hover{opacity:1;filter:alpha(opacity=100)}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;filter:alpha(opacity=0);cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel-root{outline:none}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{outline:0;border:0;background:none;top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb:focus{border:3px solid #ccc;outline:none}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,0.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;-webkit-transition:height .15s ease-in;-moz-transition:height .15s ease-in;-ms-transition:height .15s ease-in;-o-transition:height .15s ease-in;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{-webkit-flex-direction:column;flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:0.25;-webkit-transition:opacity .35s ease-in-out;-moz-transition:opacity .35s ease-in-out;-ms-transition:opacity .35s ease-in-out;-o-transition:opacity .35s ease-in-out;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;padding:0;text-align:center;width:100%;z-index:1}@media (min-width: 960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;filter:alpha(opacity=30);box-shadow:1px 1px 2px rgba(0,0,0,0.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1;filter:alpha(opacity=100)}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,0.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\n"],"sourceRoot":""}]); 2349// Exports 2350___CSS_LOADER_EXPORT___.locals = {}; 2351/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); 2352 2353 2354/***/ }), 2355
vendor: 12,750 bytes, lines 2356-2467
2356/***/ "./node_modules/react-responsive-carousel/lib/styles/carousel.min.css": 2357/*!****************************************************************************!*\ 2358 !*** ./node_modules/react-responsive-carousel/lib/styles/carousel.min.css ***! 2359 \****************************************************************************/ 2360/***/ ((module, __webpack_exports__, __webpack_require__) => { 2361 2362"use strict"; 2363__webpack_require__.r(__webpack_exports__); 2364/* harmony export */ __webpack_require__.d(__webpack_exports__, { 2365/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 2366/* harmony export */ }); 2367/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); 2368/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); 2369/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/styleDomAPI.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/styleDomAPI.js"); 2370/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__); 2371/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/insertBySelector.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/insertBySelector.js"); 2372/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__); 2373/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"); 2374/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__); 2375/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/insertStyleElement.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/insertStyleElement.js"); 2376/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__); 2377/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../../react-scripts/node_modules/style-loader/dist/runtime/styleTagTransform.js */ "./node_modules/react-scripts/node_modules/style-loader/dist/runtime/styleTagTransform.js"); 2378/* harmony import */ var _react_scripts_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_react_scripts_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__); 2379/* harmony import */ var _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../react-scripts/node_modules/source-map-loader/dist/cjs.js!./carousel.min.css */ "./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css"); 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391var options = {}; 2392 2393options.styleTagTransform = (_react_scripts_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default()); 2394options.setAttributes = (_react_scripts_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default()); 2395 2396 options.insert = _react_scripts_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head"); 2397 2398options.domAPI = (_react_scripts_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default()); 2399options.insertStyleElement = (_react_scripts_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default()); 2400 2401var update = _react_scripts_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"], options); 2402 2403 2404if (true) { 2405 if (!_react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) { 2406 var isEqualLocals = function isEqualLocals(a, b, isNamedExport) { 2407 if (!a && b || a && !b) { 2408 return false; 2409 } 2410 2411 var p; 2412 2413 for (p in a) { 2414 if (isNamedExport && p === "default") { 2415 // eslint-disable-next-line no-continue 2416 continue; 2417 } 2418 2419 if (a[p] !== b[p]) { 2420 return false; 2421 } 2422 } 2423 2424 for (p in b) { 2425 if (isNamedExport && p === "default") { 2426 // eslint-disable-next-line no-continue 2427 continue; 2428 } 2429 2430 if (!a[p]) { 2431 return false; 2432 } 2433 } 2434 2435 return true; 2436}; 2437 var isNamedExport = !_react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; 2438 var oldLocals = isNamedExport ? _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__ : _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; 2439 2440 module.hot.accept( 2441 /*! !!../../../react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../react-scripts/node_modules/source-map-loader/dist/cjs.js!./carousel.min.css */ "./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css", 2442 __WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../../react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!../../../react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!../../../react-scripts/node_modules/source-map-loader/dist/cjs.js!./carousel.min.css */ "./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./node_modules/react-responsive-carousel/lib/styles/carousel.min.css"); 2443(function () { 2444 if (!isEqualLocals(oldLocals, isNamedExport ? _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__ : _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) { 2445 module.hot.invalidate(); 2446 2447 return; 2448 } 2449 2450 oldLocals = isNamedExport ? _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__ : _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals; 2451 2452 update(_react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"]); 2453 })(__WEBPACK_OUTDATED_DEPENDENCIES__); } 2454 ) 2455 } 2456 2457 module.hot.dispose(function() { 2458 update(); 2459 }); 2460} 2461 2462 2463 2464 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _react_scripts_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_1_react_scripts_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_1_oneOf_5_use_2_react_scripts_node_modules_source_map_loader_dist_cjs_js_carousel_min_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined); 2465 2466 2467/***/ })
2467 2468 2469}]); 2470//# sourceMappingURL=vendors-node_modules_mui_icons-material_Launch_js-node_modules_mui_material_utils_useEventCal-821def.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.