/*! elementor-pro - v3.18.0 - 17-01-2024 */ "use strict"; (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["slides"],{ /***/ "../modules/slides/assets/js/frontend/handlers/slides.js": /*!***************************************************************!*\ !*** ../modules/slides/assets/js/frontend/handlers/slides.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class SlidesHandler extends elementorModules.frontend.handlers.SwiperBase { getDefaultSettings() { return { selectors: { slider: '.elementor-slides-wrapper', slide: '.swiper-slide', slideInnerContents: '.swiper-slide-contents', activeSlide: '.swiper-slide-active', activeDuplicate: '.swiper-slide-duplicate-active' }, classes: { animated: 'animated', kenBurnsActive: 'elementor-ken-burns--active', slideBackground: 'swiper-slide-bg' }, attributes: { dataSliderOptions: 'slider_options', dataAnimation: 'animation' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'), elements = { $swiperContainer: this.$element.find(selectors.slider) }; elements.$slides = elements.$swiperContainer.find(selectors.slide); return elements; } getSwiperOptions() { const elementSettings = this.getElementSettings(), swiperOptions = { autoplay: this.getAutoplayConfig(), grabCursor: true, initialSlide: this.getInitialSlide(), slidesPerView: 1, slidesPerGroup: 1, loop: 'yes' === elementSettings.infinite, speed: elementSettings.transition_speed, effect: elementSettings.transition, observeParents: true, observer: true, handleElementorBreakpoints: true, on: { slideChange: () => { this.handleKenBurns(); } } }; const showArrows = 'arrows' === elementSettings.navigation || 'both' === elementSettings.navigation, pagination = 'dots' === elementSettings.navigation || 'both' === elementSettings.navigation; if (showArrows) { swiperOptions.navigation = { prevEl: '.elementor-swiper-button-prev', nextEl: '.elementor-swiper-button-next' }; } if (pagination) { swiperOptions.pagination = { el: '.swiper-pagination', type: 'bullets', clickable: true }; } if (true === swiperOptions.loop) { swiperOptions.loopedSlides = this.getSlidesCount(); } if ('fade' === swiperOptions.effect) { swiperOptions.fadeEffect = { crossFade: true }; } return swiperOptions; } getAutoplayConfig() { const elementSettings = this.getElementSettings(); if ('yes' !== elementSettings.autoplay) { return false; } return { stopOnLastSlide: true, // Has no effect in infinite mode by default. delay: elementSettings.autoplay_speed, disableOnInteraction: 'yes' === elementSettings.pause_on_interaction }; } initSingleSlideAnimations() { const settings = this.getSettings(), animation = this.elements.$swiperContainer.data(settings.attributes.dataAnimation); this.elements.$swiperContainer.find('.' + settings.classes.slideBackground).addClass(settings.classes.kenBurnsActive); // If there is an animation, get the container of the slide's inner contents and add the animation classes to it if (animation) { this.elements.$swiperContainer.find(settings.selectors.slideInnerContents).addClass(settings.classes.animated + ' ' + animation); } } async initSlider() { const $slider = this.elements.$swiperContainer; if (!$slider.length) { return; } if (1 >= this.getSlidesCount()) { return; } const Swiper = elementorFrontend.utils.swiper; this.swiper = await new Swiper($slider, this.getSwiperOptions()); // Expose the swiper instance in the frontend $slider.data('swiper', this.swiper); // The Ken Burns effect will only apply on the specific slides that toggled the effect ON, // since it depends on an additional class besides 'elementor-ken-burns--active' this.handleKenBurns(); const elementSettings = this.getElementSettings(); if (elementSettings.pause_on_hover) { this.togglePauseOnHover(true); } const settings = this.getSettings(); const animation = $slider.data(settings.attributes.dataAnimation); if (!animation) { return; } this.swiper.on('slideChangeTransitionStart', function () { const $sliderContent = $slider.find(settings.selectors.slideInnerContents); $sliderContent.removeClass(settings.classes.animated + ' ' + animation).hide(); }); this.swiper.on('slideChangeTransitionEnd', function () { const $currentSlide = $slider.find(settings.selectors.slideInnerContents); $currentSlide.show().addClass(settings.classes.animated + ' ' + animation); }); } onInit() { elementorModules.frontend.handlers.Base.prototype.onInit.apply(this, arguments); if (2 > this.getSlidesCount()) { this.initSingleSlideAnimations(); return; } this.initSlider(); } getChangeableProperties() { return { pause_on_hover: 'pauseOnHover', pause_on_interaction: 'disableOnInteraction', autoplay_speed: 'delay', transition_speed: 'speed' }; } updateSwiperOption(propertyName) { if (0 === propertyName.indexOf('width')) { this.swiper.update(); return; } const elementSettings = this.getElementSettings(), newSettingValue = elementSettings[propertyName], changeableProperties = this.getChangeableProperties(); let propertyToUpdate = changeableProperties[propertyName], valueToUpdate = newSettingValue; // Handle special cases where the value to update is not the value that the Swiper library accepts switch (propertyName) { case 'autoplay_speed': propertyToUpdate = 'autoplay'; valueToUpdate = { delay: newSettingValue, disableOnInteraction: 'yes' === elementSettings.pause_on_interaction }; break; case 'pause_on_hover': this.togglePauseOnHover('yes' === newSettingValue); break; case 'pause_on_interaction': valueToUpdate = 'yes' === newSettingValue; break; } // 'pause_on_hover' is implemented by the handler with event listeners, not the Swiper library if ('pause_on_hover' !== propertyName) { this.swiper.params[propertyToUpdate] = valueToUpdate; } this.swiper.update(); } onElementChange(propertyName) { if (1 >= this.getSlidesCount()) { return; } const changeableProperties = this.getChangeableProperties(); if (Object.prototype.hasOwnProperty.call(changeableProperties, propertyName)) { this.updateSwiperOption(propertyName); this.swiper.autoplay.start(); } } onEditSettingsChange(propertyName) { if (1 >= this.getSlidesCount()) { return; } if ('activeItemIndex' === propertyName) { this.swiper.slideToLoop(this.getEditSettings('activeItemIndex') - 1); this.swiper.autoplay.stop(); } } } exports["default"] = SlidesHandler; /***/ }) }]); //# sourceMappingURL=slides.3b185c687f9167dfae0c.bundle.js.map LeoVegas India - Xalleria
Search

You have no bookmark.

Leovegas Review: On Line Casino, Gambling + Bonus Leo Vegas Casino App Review 2023 Leo Vegas On Line Casino App Download In Addition To Installation Content Leovegas Download For Android Why Download The Leovegas App? Registration Via Leovegas App Akshay Kumar-starrer ‘ram Setu’ Will Get An Official Video Game, On Android And Ios Devices Leovegas …

  • September 22, 2022
  • LeoVegas India
  • Comments Off on Leovegas Review: On Line Casino, Gambling + Bonu
Read more

Leovegas Review: On Line Casino, Gambling + Bonus Leo Vegas Casino App Review 2023 Leo Vegas On Line Casino App Download In Addition To Installation Content Leovegas Download For Android Why Download The Leovegas App? Registration Via Leovegas App Akshay Kumar-starrer ‘ram Setu’ Will Get An Official Video Game, On Android And Ios Devices Leovegas …

  • September 22, 2022
  • LeoVegas India
  • Comments Off on Leovegas Review: On Line Casino, Gambling + Bonu
Read more

Leovegas Online Wagering As Well As Casino Review Reward 10, 000 Leovegas Casino Review 2023 Legit Or Not? Content Leovegas Bonus Terms & Conditions Leovegas Casino Games Leovegas Casino Bonuses Wagering Contributions Welcome Bonus Slot Machines Leovegas India – With New Welcome Bonus As High As ₹80, 000 Leovegas India Overview Screenshots Regarding Leovegas Best …

  • July 24, 2022
  • LeoVegas India
  • Comments Off on Leovegas Online Wagering As Well As Casino Review Reward 10, 00
Read more

Leovegas Online Wagering As Well As Casino Review Reward 10, 000 Leovegas Casino Review 2023 Legit Or Not? Content Leovegas Bonus Terms & Conditions Leovegas Casino Games Leovegas Casino Bonuses Wagering Contributions Welcome Bonus Slot Machines Leovegas India – With New Welcome Bonus As High As ₹80, 000 Leovegas India Overview Screenshots Regarding Leovegas Best …

  • July 24, 2022
  • LeoVegas India
  • Comments Off on Leovegas Online Wagering As Well As Casino Review Reward 10, 00
Read more

Leovegas India Casino Review 2023: Easy And Rapid Withdrawals! Leovegas Evaluation 2023 Claim Up To 80, 000 Reward From India Content Live Casino Bonus Create A Good Account Leovegas Live Casino At Redbet Games Wagering Contributions Guide To Playing On-line Poker Popular Sports On Leovegas Withdrawal Leovegas Betting Offer Spot On Routing And Mobile Experience …

  • June 26, 2022
  • LeoVegas India
  • Comments Off on Leovegas India Casino Review 2023: Easy And Rapid Withdrawals
Read more

Leovegas India Casino Review 2023: Easy And Rapid Withdrawals! Leovegas Evaluation 2023 Claim Up To 80, 000 Reward From India Content Live Casino Bonus Create A Good Account Leovegas Live Casino At Redbet Games Wagering Contributions Guide To Playing On-line Poker Popular Sports On Leovegas Withdrawal Leovegas Betting Offer Spot On Routing And Mobile Experience …

  • June 26, 2022
  • LeoVegas India
  • Comments Off on Leovegas India Casino Review 2023: Easy And Rapid Withdrawals
Read more

Leovegas Casino Review Leovegas Casino Overview India Scam Or Not? Find Out There! Content For Ios Deposit On Leovegas Bonus Offers Providers Sports At Leovegas Playing On Leovegas Game Offerings How To Help To Make A Deposit Wagering Contributions Let’s Start With Withdrawals You’ve Study Our Expert Review Enjoy On Regarding Reviews From Real Users …

Read more

Reset Your Password