1 2(function($){"use strict";$(window).on("load",function(){$(".preloader").fadeOut(5000);$(".preloader").remove()});var $bgSection=$(".bg-section");var $bgPattern=$(".bg-pattern");var $colBg=$(".col-bg");$bgSection.each(function(){var bgSrc=$(this).children("img").attr("src");var bgUrl='url('+bgSrc+')';$(this).parent().css("backgroundImage",bgUrl);$(this).parent().addClass("bg-section");$(this).remove()});$bgPattern.each(function(){var bgSrc=$(this).children("img").attr("src");var bgUrl='url('+bgSrc+')';$(this).parent().css("backgroundImage",bgUrl);$(this).parent().addClass("bg-pattern");$(this).remove()});$colBg.each(function(){var bgSrc=$(this).children("img").attr("src");var bgUrl='url('+bgSrc+')';$(this).parent().css("backgroundImage",bgUrl);$(this).parent().addClass("col-bg");$(this).remove()});var $moduleIcon=$(".module-icon"),$moduleCancel=$(".module-cancel");$moduleIcon.on("click",function(e){$(this).parent().siblings().removeClass('module-active');$(this).parent(".module").toggleClass("module-active");e.stopPropagation()});$('.module-search .module-icon').click(function(){$('.module-fullscreen').toggleClass('module-active')});$('.module-fullscreen .module-cancel').on("click",function(e){e.stopPropagation();e.preventDefault();$(".module-fullscreen").removeClass("module-active")});$('.module-cart .module-icon').click(function(){$(this).siblings('.cart-box').toggleClass('active')});$(document).click(function(){if($('.cart-box').hasClass('active')){$('.module-cart .module-icon').click()}});$(document).keyup(function(e){if(e.keyCode==27){if($('.cart-box').hasClass('active')){$('.module-cart .module-icon').click()} 3if($('.module-search').hasClass('module-active')){$('.module-search .module-cancel').click()}}});$('.cart-box , .module-cart .module-icon , .module-search .form-search').click(function(e){e.stopPropagation()});var $w=$(window);var $wWidth=$w.width();var mobile_resolution_size="1200";var $dropToggle=$("[data-toggle='dropdown']");$dropToggle.on("click",function(event){$(this).each(()=>{if($wWidth<=mobile_resolution_size&&$(this).attr('href')==='#'){event.preventDefault();event.stopPropagation();$(this).parent().siblings().removeClass("show");$(this).parent().toggleClass("show")}else if($wWidth<=mobile_resolution_size&&!$(this).attr('href')!=='#'){event.preventDefault();event.stopPropagation();$(this).parent().siblings().removeClass("show");$(this).parent().toggleClass("show");$(this).children('span').on('click',()=>{window.location.href=$(this).attr('href')})}})});$(window).scroll(function(){if($(document).scrollTop()>100){$('.navbar-sticky').addClass('navbar-fixed')}else{$('.navbar-sticky').removeClass('navbar-fixed')}});var $carouselDirection=$("html").attr("dir");if($carouselDirection=="rtl"){var $carouselrtl=!0}else{var $carouselrtl=!1} 4$(".carousel").each(function(){var $Carousel=$(this);$Carousel.owlCarousel({loop:$Carousel.data('loop'),autoplay:$Carousel.data("autoplay"),margin:$Carousel.data('space'),nav:$Carousel.data('nav'),dots:$Carousel.data('dots'),center:$Carousel.data('center'),dotsSpeed:$Carousel.data('speed'),responsive:{0:{items:1,},768:{items:$Carousel.data('slide-rs'),},1000:{items:$Carousel.data('slide'),}}})});$(".custom-carousel").each(function(){var $Carousel=$(this);$Carousel.owlCarousel({loop:$Carousel.data('loop'),autoplay:$Carousel.data("autoplay"),margin:$Carousel.data('space'),nav:$Carousel.data('nav'),dots:$Carousel.data('dots'),center:$Carousel.data('center'),dotsSpeed:$Carousel.data('speed'),dotsContainer:'#carousel-custom-dots',responsive:{0:{items:1,},768:{items:$Carousel.data('slide-rs'),},1000:{items:$Carousel.data('slide'),}}})});$('.custom-carousel').owlCarousel({thumbs:!0,thumbsPrerendered:!0});$(".slider-carousel").each(function(){var $Carousel=$(this);$Carousel.owlCarousel({loop:$Carousel.data('loop'),autoplay:$Carousel.data("autoplay"),margin:$Carousel.data('space'),nav:$Carousel.data('nav'),dots:$Carousel.data('dots'),center:$Carousel.data('center'),dotsSpeed:$Carousel.data('speed'),responsive:{0:{items:1,},768:{items:$Carousel.data('slide-rs'),},1000:{items:$Carousel.data('slide'),}},})});$('.testimonial-thumbs .testimonial-thumb').click(function(){$(this).siblings(".testimonial-thumb").removeClass('active');$(this).addClass('active');$(".custom-carousel").trigger('to.owl.carousel',[$(this).index(),300])});$(".custom-carousel").on('changed.owl.carousel',function(event){var items=event.item.count;var item=event.item.index;var owlDots=document.querySelectorAll('.testimonial-thumbs .testimonial-thumb');if(owlDots.length>0){owlDots[item].click()}}) 5$('.testimonials-holder .custom-navs .next').click(function(){$(".custom-carousel").trigger('next.owl.carousel')});$('.testimonials-holder .custom-navs .prev').click(function(){$(".custom-carousel").trigger('prev.owl.carousel')});var backTop=$('#back-to-top');if(backTop.length){var scrollTrigger=200,backToTop=function(){var scrollTop=$(window).scrollTop();if(scrollTop>scrollTrigger){backTop.addClass('show')}else{backTop.removeClass('show')}};backToTop();$(window).on('scroll',function(){backToTop()});backTop.on('click',function(e){e.preventDefault();$('html,body').animate({scrollTop:0},700)})} 6var aScroll=$('a[data-scroll="scrollTo"]');aScroll.on('click',function(event){var target=$($(this).attr('href'));if(target.length){event.preventDefault();$('html, body').animate({scrollTop:target.offset().top},1000);if($(this).hasClass("menu-item")){$(this).parent().addClass("active");$(this).parent().siblings().removeClass("active")}}});$(".progressbar").each(function(){$(this).waypoint(function(){var progressBar=$(".progress-bar"),progressBarTitle=$(".progress-title .value");progressBar.each(function(){$(this).css("width",$(this).attr("aria-valuenow")+"%")});progressBarTitle.each(function(){$(this).css('opacity',1)})},{triggerOnce:!0,offset:'bottom-in-view'})});siteFooter();$(window).resize(function(){siteFooter()});function siteFooter(){var siteContent=$('#wrapperParallax');var siteFooter=$('#footerParallax');var siteFooterHeight=siteFooter.height();siteContent.css({"margin-bottom":siteFooterHeight})};var imagePointer=$('.img-hotspot .img-hotspot-pointer');var pointerInfo=$('.img-hotspot .img-hotspot-pointer .info');imagePointer.each(function(index){$(this).css('top',$(this).data('spot-y'));$(this).css('left',$(this).data('spot-x'))}) 7pointerInfo.each(function(index){$(this).css('top',$(this).data('info-y'));$(this).css('left',$(this).data('info-x'))}) 8const lerp=(a,b,n)=>(1-n)*a+n*b;const getMousePos=(e)=>{let posx=0;let posy=0;if(!e)e=window.event;if(e.pageX||e.pageY){posx=e.pageX;posy=e.pageY}else if(e.clientX||e.clientY){posx=e.clientX+body.scrollLeft+document.documentElement.scrollLeft;posy=e.clientY+body.scrollTop+document.documentElement.scrollTop} 9return{x:posx,y:posy}} 10$('.collapse').on('shown.bs.collapse',function(){$(this).parent('.card').addClass('active-acc')});$('.collapse').on('hidden.bs.collapse',function(){$(this).parent('.card').removeClass('active-acc')});$("#loadMore").on("click",function(e){e.preventDefault();$(".content.d-none").slice(0,3).removeClass('d-none');if($(".content.d-none").length==0){$("#loadMore").addClass("d-none")}})}(jQuery)); 11 12
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.