PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/*! elementor - v3.6.7 - 03-07-2022 */ "use strict"; (self["webpackChunkelementor"] = self["webpackChunkelementor"] || []).push([["image-carousel"],{ /***/ "../assets/dev/js/frontend/handlers/image-carousel.js": /*!************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/image-carousel.js ***! \************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class ImageCarousel extends elementorModules.frontend.handlers.SwiperBase { getDefaultSettings() { return { selectors: { carousel: '.elementor-image-carousel-wrapper', slideContent: '.swiper-slide' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'); const elements = { $swiperContainer: this.$element.find(selectors.carousel) }; elements.$slides = elements.$swiperContainer.find(selectors.slideContent); return elements; } getSwiperSettings() { const elementSettings = this.getElementSettings(), slidesToShow = +elementSettings.slides_to_show || 3, isSingleSlide = 1 === slidesToShow, elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints, defaultSlidesToShowMap = { mobile: 1, tablet: isSingleSlide ? 1 : 2 }; const swiperOptions = { slidesPerView: slidesToShow, loop: 'yes' === elementSettings.infinite, speed: elementSettings.speed, handleElementorBreakpoints: true }; swiperOptions.breakpoints = {}; let lastBreakpointSlidesToShowValue = slidesToShow; Object.keys(elementorBreakpoints).reverse().forEach(breakpointName => { // Tablet has a specific default `slides_to_show`. const defaultSlidesToShow = defaultSlidesToShowMap[breakpointName] ? defaultSlidesToShowMap[breakpointName] : lastBreakpointSlidesToShowValue; swiperOptions.breakpoints[elementorBreakpoints[breakpointName].value] = { slidesPerView: +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow, slidesPerGroup: +elementSettings['slides_to_scroll_' + breakpointName] || 1 }; lastBreakpointSlidesToShowValue = +elementSettings['slides_to_show_' + breakpointName] || defaultSlidesToShow; }); if ('yes' === elementSettings.autoplay) { swiperOptions.autoplay = { delay: elementSettings.autoplay_speed, disableOnInteraction: 'yes' === elementSettings.pause_on_interaction }; } if (isSingleSlide) { swiperOptions.effect = elementSettings.effect; if ('fade' === elementSettings.effect) { swiperOptions.fadeEffect = { crossFade: true }; } } else { swiperOptions.slidesPerGroup = +elementSettings.slides_to_scroll || 1; } if (elementSettings.image_spacing_custom) { swiperOptions.spaceBetween = elementSettings.image_spacing_custom.size; } const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, showDots = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation; if (showArrows) { swiperOptions.navigation = { prevEl: '.elementor-swiper-button-prev', nextEl: '.elementor-swiper-button-next' }; } if (showDots) { swiperOptions.pagination = { el: '.swiper-pagination', type: 'bullets', clickable: true }; } if ('yes' === elementSettings.lazyload) { swiperOptions.lazy = { loadPrevNext: true, loadPrevNextAmount: 1 }; } return swiperOptions; } async onInit() { super.onInit(...arguments); if (!this.elements.$swiperContainer.length || 2 > this.elements.$slides.length) { return; } const Swiper = elementorFrontend.utils.swiper; this.swiper = await new Swiper(this.elements.$swiperContainer, this.getSwiperSettings()); // Expose the swiper instance in the frontend this.elements.$swiperContainer.data('swiper', this.swiper); const elementSettings = this.getElementSettings(); if ('yes' === elementSettings.pause_on_hover) { this.togglePauseOnHover(true); } } updateSwiperOption(propertyName) { const elementSettings = this.getElementSettings(), newSettingValue = elementSettings[propertyName], params = this.swiper.params; // Handle special cases where the value to update is not the value that the Swiper library accepts. switch (propertyName) { case 'image_spacing_custom': params.spaceBetween = newSettingValue.size || 0; break; case 'autoplay_speed': params.autoplay.delay = newSettingValue; break; case 'speed': params.speed = newSettingValue; break; } this.swiper.update(); } getChangeableProperties() { return { pause_on_hover: 'pauseOnHover', autoplay_speed: 'delay', speed: 'speed', image_spacing_custom: 'spaceBetween' }; } onElementChange(propertyName) { const changeableProperties = this.getChangeableProperties(); if (changeableProperties[propertyName]) { // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library. if ('pause_on_hover' === propertyName) { const newSettingValue = this.getElementSettings('pause_on_hover'); this.togglePauseOnHover('yes' === newSettingValue); } else { this.updateSwiperOption(propertyName); } } } onEditSettingsChange(propertyName) { if ('activeItemIndex' === propertyName) { this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); } } } exports["default"] = ImageCarousel; /***/ }) }]); //# sourceMappingURL=image-carousel.6fe677529cc17d56624d.bundle.js.map
[-] frontend.min.js
[edit]
[-] editor.js
[edit]
[-] edef531b0a4575e08dcf.bundle.js
[edit]
[-] alert.cbc2a0fee74ee3ed0419.bundle.min.js
[edit]
[-] container.0d946aa461a67ecc166a.bundle.min.js
[edit]
[-] admin-feedback.min.js
[edit]
[-] editor-document.min.js.LICENSE.txt
[edit]
[-] frontend.js
[edit]
[-] lightbox.e775b5f3cdb9555b7bbc.bundle.min.js
[edit]
[-] container-converter.min.js
[edit]
[-] toggle.723b9b5593f2a58fd036.bundle.js
[edit]
[-] progress.ca55d33bb06cee4e6f02.bundle.min.js
[edit]
[-] video.d86bfd0676264945e968.bundle.min.js
[edit]
[-] toggle.40c766401850f2d0f3a4.bundle.min.js
[edit]
[-] admin-top-bar.min.js
[edit]
[-] container.a98d5868735d029bae47.bundle.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] admin-modules.js
[edit]
[-] progress.d9ed4339cb1bcc2aeb1c.bundle.js
[edit]
[-] admin-top-bar.js
[edit]
[-] editor-modules.min.js
[edit]
[-] alert.e48284fab1c1d836b7a9.bundle.js
[edit]
[-] gutenberg.min.js
[edit]
[-] app.min.js
[edit]
[-] app.js
[edit]
[-] tabs.adcd411dd12d24d4b469.bundle.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] preloaded-modules.min.js
[edit]
[-] preloaded-modules.js
[edit]
[-] video.13d70463bc0ae039a644.bundle.js
[edit]
[-] gutenberg.js
[edit]
[-] editor-document.js
[edit]
[-] app-packages.js
[edit]
[-] common.min.js
[edit]
[-] web-cli.min.js
[edit]
[-] common-modules.min.js
[edit]
[-] counter.e846c2e2fcca06b5908b.bundle.js
[edit]
[-] common-modules.js
[edit]
[-] frontend-modules.min.js
[edit]
[-] common.js
[edit]
[-] new-template.min.js
[edit]
[-] app-loader.js
[edit]
[-] editor.min.js
[edit]
[-] 74ba26d583b37ca107c9.bundle.min.js
[edit]
[-] elementor-admin-bar.js
[edit]
[-] kit-library.10fbb6c1e87e1129cb36.bundle.js
[edit]
[-] elementor-admin-bar.min.js
[edit]
[-] frontend-modules.js
[edit]
[-] accordion.7411c73941af1c106000.bundle.js
[edit]
[-] webpack.runtime.min.js
[edit]
[-] app-loader.min.js
[edit]
[-] wp-audio.d0fd65867cf98c8b6b3d.bundle.js
[edit]
[-] web-cli.js
[edit]
[-] tabs.8c4ac93ed5692e396126.bundle.min.js
[edit]
[-] common-modules.min.js.LICENSE.txt
[edit]
[-] webpack.runtime.js
[edit]
[-] editor-modules.js
[edit]
[-] counter.02cef29c589e742d4c8c.bundle.min.js
[edit]
[-] kit-library.20a1212351547d12ac4f.bundle.min.js
[edit]
[-] new-template.js
[edit]
[-] app.min.js.LICENSE.txt
[edit]
[-] text-editor.99c79ecbd600142e0f90.bundle.js
[edit]
[-] accordion.8c3895ab8b34cf4de282.bundle.min.js
[edit]
[-] admin-feedback.js
[edit]
[-] image-carousel.6fe677529cc17d56624d.bundle.js
[edit]
[-] editor-document.min.js
[edit]
[-] beta-tester.js
[edit]
[-] common.min.js.LICENSE.txt
[edit]
[-] text-path.ff2a40464f06ddcfc973.bundle.min.js
[edit]
[-] app-loader.min.js.LICENSE.txt
[edit]
[-] web-cli.min.js.LICENSE.txt
[edit]
[-] image-carousel.e02695895b33b77d89de.bundle.min.js
[edit]
[-] app-packages.min.js
[edit]
[-] onboarding.d16e089d0034c632e7f1.bundle.min.js
[edit]
[-] text-editor.2c35aafbe5bf0e127950.bundle.min.js
[edit]
[-] admin.min.js
[edit]
[-] admin-modules.min.js
[edit]
[-] container-converter.js
[edit]
[-] onboarding.cde2e50eb0dd59cdc9c3.bundle.js
[edit]
[-] text-path.319e063b5962349cf10f.bundle.js
[edit]
[-] wp-audio.75f0ced143febb8cd31a.bundle.min.js
[edit]
[-] lightbox.64eaa125ca6d6348e7ac.bundle.js
[edit]
[-] beta-tester.min.js
[edit]