1class LaeDestination extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{list:'.nav-list',},sliderID:'slider',sliderOptions:{preloadImages:!1,lazy:{loadPrevNext:!0,},slidesPerView:1,spaceBetween:4,loop:!1,watchSlidesProgress:!0,breakpoints:{1400:{slidesPerView:2,},},navigation:{nextEl:".nxt",prevEl:".prv",},}}} 2getDefaultElements(){return{}} 3triggerDest(index,scroll=!0){if(this.currentDest==index){return} 4if(this.currentDest){this.$element.find('.dest.actif').removeClass('actif').find('a[aria-expanded]').attr('aria-expanded','false');this.$element.find('.img-bg.actif').removeClass('actif')} 5this.currentDest=index;this.$element.find('.dest-'+index).addClass('actif').find('a[aria-expanded]').attr('aria-expanded','true');const $bg=this.$element.find('.img-bg[data-dest="'+index+'"]');$bg.addClass('actif');$bg.find('img[data-srcset]').each(function(){const $img=$(this);$img.attr('srcset',$img.attr('data-srcset')).removeAttr('data-srcset')});$bg.imagesLoaded(function(){$bg.addClass('loaded')});if(scroll&&this.$element.width()<1024){setTimeout(()=>{$('html, body').animate({scrollTop:this.$element.find('.dest.actif').offset().top},300)},200)} 6this.initSwiper(this.$element.find('.dest-'+index+' .slider').attr('id'))} 7onInit(...args){super.onInit(...args);this.currentDest=null;this.triggerDest('1',!1);this.$element.on('click','.dest__t > a',(event)=>{event.preventDefault();this.triggerDest($(event.currentTarget).attr('data-dest'))})} 8initSwiper(sliderID){if(!sliderID){return} 9if(this.slider){this.slider.destroy()} 10const settings=this.getSettings();if($('#'+sliderID+' .nxt').length){$('#'+sliderID+' .nxt').addClass('nxt'+sliderID);$('#'+sliderID+' .prv').addClass('prv'+sliderID);settings.sliderOptions.navigation={nextEl:'.nxt'+sliderID,prevEl:'.prv'+sliderID,}} 11this.slider=new Swiper('#'+sliderID,settings.sliderOptions)}} 12jQuery(window).on('elementor/frontend/init',function(){const addHandler=($element)=>{elementorFrontend.elementsHandler.addHandler(LaeDestination,{$element,})};elementorFrontend.hooks.addAction('frontend/element_ready/lae-destination.default',addHandler)})
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.