(function($){"use strict";function navbarFixed(){if($(".header_area").length){$(window).scroll(function(){var scroll=$(window).scrollTop();if(scroll){$(".header_area").addClass("navbar_fixed");}else{$(".header_area").removeClass("navbar_fixed");}});}}
navbarFixed();function offcanvasActivator(){if($(".bar_menu").length){$(".bar_menu").on("click",function(){$("#menu").toggleClass("show-menu");});$(".close_icon").on("click",function(){$("#menu").removeClass("show-menu");});}}
offcanvasActivator();$(".offcanfas_menu .dropdown").on("show.bs.dropdown",function(e){$(this).find(".dropdown-menu").first().stop(true,true).slideDown(400);});$(".offcanfas_menu .dropdown").on("hide.bs.dropdown",function(e){$(this).find(".dropdown-menu").first().stop(true,true).slideUp(500);});$(window).on("load",function(){if($(".mega_menu_two .scroll").length){$(".mega_menu_two .scroll").mCustomScrollbar({mouseWheelPixels:50,scrollInertia:0,});}});function wowAnimation(){new WOW({offset:100,animateClass:"animated",mobile:true,}).init();}
wowAnimation();function serviceSlider(){var service_slider=$(".service_carousel");if(service_slider.length){service_slider.owlCarousel({loop:true,margin:15,items:4,autoplay:true,smartSpeed:2000,responsiveClass:true,nav:true,dots:false,stagePadding:100,navText:[,'<i class="ti-arrow-left"></i>'],responsive:{0:{items:1,stagePadding:0,},578:{items:2,stagePadding:0,},992:{items:3,stagePadding:0,},1200:{items:3,},},});}}
serviceSlider();function aboutSlider(){var reviews_slider2=$(".about_img_slider");if(reviews_slider2.length){reviews_slider2.owlCarousel({loop:true,margin:0,items:1,nav:false,autoplay:false,smartSpeed:2000,responsiveClass:true,});}}
aboutSlider();function posSlider(){var posS=$(".pos_slider");if(posS.length){posS.owlCarousel({loop:true,margin:0,items:1,dots:false,nav:false,autoplay:true,slideSpeed:300,mouseDrag:false,animateIn:"fadeIn",animateOut:"fadeOut",responsiveClass:true,});}}
posSlider();function feedbackSlider(){var feedback_slider=$(".feedback_slider");if(feedback_slider.length){feedback_slider.owlCarousel({loop:true,margin:25,items:3,nav:false,center:true,autoplay:false,smartSpeed:2000,stagePadding:0,responsiveClass:true,responsive:{0:{items:1,},776:{items:2,stagePadding:0,},1199:{items:3,stagePadding:0,},},});}}
feedbackSlider();function EventSlider(){var event_slider=$(".event_team_slider");if(event_slider.length){event_slider.owlCarousel({loop:true,margin:25,items:3,nav:false,autoplay:false,smartSpeed:2000,responsiveClass:true,responsive:{0:{items:1,},576:{items:2,},1199:{items:3,},},});}}
EventSlider();function feedbackSlider_two(){var feedback_sliders=$("#fslider_two");if(feedback_sliders.length){feedback_sliders.owlCarousel({loop:true,margin:0,items:2,nav:true,autoplay:false,smartSpeed:2000,stagePadding:0,responsiveClass:true,navText:['<i class="ti-angle-left"></i><i class="ti-angle-right"></i>',],responsive:{0:{items:1,},776:{items:2,},1199:{items:2,},},});}}
feedbackSlider_two();function feedbackSlider_three(){var feedback_sliders_three=$("#fslider_three");if(feedback_sliders_three.length){feedback_sliders_three.owlCarousel({loop:true,margin:0,items:2,nav:true,center:true,autoplay:false,smartSpeed:2000,stagePadding:0,responsiveClass:true,navText:['<i class="ti-angle-left"></i>','<i class="ti-angle-right"></i>',],responsive:{0:{items:1,},776:{items:2,},1199:{items:3,},},});}}
feedbackSlider_three();function erpTestimonial(){var erpT=$(".erp_testimonial_info");if(erpT.length){erpT.owlCarousel({loop:true,margin:0,items:2,nav:true,dots:false,autoplay:false,smartSpeed:2000,stagePadding:0,responsiveClass:true,navText:['<i class="arrow_left"></i>','<i class="arrow_right"></i>'],responsive:{0:{items:1,},776:{items:2,},1199:{items:2,},},});}}
erpTestimonial();function testimonialSlider(){var testimonialSlider=$(".testimonial_slider");if(testimonialSlider.length){testimonialSlider.owlCarousel({loop:true,margin:10,items:1,autoplay:true,smartSpeed:2500,autoplaySpeed:false,responsiveClass:true,nav:true,dot:true,stagePadding:0,navContainer:".agency_testimonial_info",navText:['<i class="ti-angle-left"></i>','<i class="ti-angle-right"></i>',],});}}
testimonialSlider();function app_testimonialSlider(){var app_testimonialSlider=$(".app_testimonial_slider");if(app_testimonialSlider.length){app_testimonialSlider.owlCarousel({loop:true,margin:10,items:1,autoplay:true,smartSpeed:2000,autoplaySpeed:true,responsiveClass:true,nav:true,dot:true,navText:['<i class="ti-arrow-left"></i>','<i class="ti-arrow-right"></i>',],navContainer:".nav_container",});}}
app_testimonialSlider();function appScreenshot(){var app_screenshotSlider=$(".app_screenshot_slider");if(app_screenshotSlider.length){app_screenshotSlider.owlCarousel({loop:true,margin:10,items:5,autoplay:false,smartSpeed:2000,responsiveClass:true,nav:false,dots:true,responsive:{0:{items:1,},650:{items:2,},776:{items:4,},1199:{items:5,},},});}}
appScreenshot();function prslider(){var p_Slider=$(".pr_slider");if(p_Slider.length){p_Slider.owlCarousel({loop:true,margin:10,items:1,autoplay:true,smartSpeed:1000,responsiveClass:true,nav:true,dots:false,navText:['<i class="ti-angle-left"></i>','<i class="ti-angle-right"></i>',],navContainer:".pr_slider",});}}
prslider();function tslider(){var tSlider=$(".testimonial_slider_four");if(tSlider.length){tSlider.owlCarousel({loop:true,margin:10,items:1,autoplay:true,smartSpeed:1000,responsiveClass:true,nav:true,dots:false,navText:['<i class="ti-angle-left"></i>','<i class="ti-angle-right"></i>',],navContainer:".testimonial_title",});}}
tslider();function caseStudies(){var CSlider=$(".case_studies_slider");if(CSlider.length){CSlider.owlCarousel({loop:true,margin:0,items:3,autoplay:true,smartSpeed:1000,responsiveClass:true,nav:false,dots:true,responsive:{0:{items:1,},650:{items:2,},776:{items:3,},1199:{items:3,},},});}}
caseStudies();function videoslider(){var dSlider=$(".digital_video_slider");if(dSlider.length){dSlider.owlCarousel({loop:true,margin:30,items:1,center:true,autoplay:true,smartSpeed:1000,stagePadding:200,responsiveClass:true,nav:false,dots:false,responsive:{0:{items:1,stagePadding:0,},575:{items:1,stagePadding:100,},768:{items:1,stagePadding:40,},992:{items:1,stagePadding:100,},1250:{items:1,stagePadding:200,},},});}}
videoslider();function Saasslider(){var SSlider=$(".saas_banner_area_three");if(SSlider.length){SSlider.owlCarousel({loop:true,margin:30,items:1,animateOut:"fadeOut",autoplay:true,smartSpeed:1000,responsiveClass:true,nav:false,dots:true,});}}
Saasslider();function tab_hover(){var tab=$(".price_tab");if($(window).width()>450){if($(tab).length>0){tab.append('<li class="hover_bg"></li>');if($(".price_tab li .nav-link").hasClass("active_hover")){var pLeft=$(".price_tab li .nav-link.active_hover").position().left,pWidth=$(".price_tab li .nav-link.active_hover").css("width");$(".hover_bg").css({left:pLeft,width:pWidth,});}
$(".price_tab li .nav-link").on("click",function(){$(".price_tab li .nav-link").removeClass("active_hover");$(this).addClass("active_hover");var pLeft=$(".price_tab li .nav-link.active_hover").position().left,pWidth=$(".price_tab li .nav-link.active_hover").css("width");$(".hover_bg").css({left:pLeft,width:pWidth,});});}}}
tab_hover();if($(".selectpickers").length>0){$(".selectpickers").niceSelect();}
function pr_slider(){var pr_image=$(".pr_image");if(pr_image.length){pr_image.owlCarousel({loop:true,items:1,autoplay:true,dots:false,thumbs:true,thumbImage:true,});}}
pr_slider();$(".ar_top").on("click",function(){var getID=$(this).next().attr("id");var result=document.getElementById(getID);var qty=result.value;$(".proceed_to_checkout .update-cart").removeAttr("disabled");if(!isNaN(qty)){result.value++;}else{return false;}});$(".ar_down").on("click",function(){var getID=$(this).prev().attr("id");var result=document.getElementById(getID);var qty=result.value;$(".proceed_to_checkout .update-cart").removeAttr("disabled");if(!isNaN(qty)&&qty>0){result.value--;}else{return false;}});function portfolioMasonry(){var portfolio=$("#work-portfolio");if(portfolio.length){portfolio.imagesLoaded(function(){portfolio.isotope({layoutMode:"masonry",filter:"*",animationOptions:{duration:1000,},transitionDuration:"0.5s",masonry:{},});$("#portfolio_filter div").on("click",function(){$("#portfolio_filter div").removeClass("active");$(this).addClass("active");var selector=$(this).attr("data-filter");portfolio.isotope({filter:selector,animationOptions:{animationDuration:750,easing:"linear",queue:false,},});return false;});});}}
portfolioMasonry();function jobFilter(){var jobsfilter=$("#tab_filter");if(jobsfilter.length){jobsfilter.imagesLoaded(function(){jobsfilter.isotope({itemSelector:".item",});$("#job_filter div").on("click",function(){$("#job_filter div").removeClass("active");$(this).addClass("active");var selector=$(this).attr("data-filter");jobsfilter.isotope({filter:selector,animationOptions:{animationDuration:750,easing:"linear",queue:false,},});return false;});});}}
jobFilter();function productMasonry(){if($('#pr_gallery').length){$('#pr_gallery').imagesLoaded(function(){$("#pr_gallery").isotope({filter:'.tops',layoutMode:'masonry',animationOptions:{duration:750,easing:'linear'}});$("#pr_filter div").on('click',function(){$("#pr_filter div").removeClass("active");$(this).addClass("active");var selector=$(this).attr("data-filter");$("#pr_gallery").isotope({filter:selector,animationOptions:{animationDuration:750,easing:'linear',queue:false}})
return false;})})}}
productMasonry();function blogMasonry(){var blog=$("#blog_masonry");if(blog.length){blog.imagesLoaded(function(){blog.isotope({layoutMode:"masonry",});});}}
blogMasonry();function featuredMasonry(){var gallery=$(".featured_gallery");if(gallery.length){gallery.imagesLoaded(function(){gallery.isotope({layoutMode:"masonry",masonry:{columnWidth:1},percentPosition:true,});});}}
featuredMasonry();function homeMasonry(){var gallery=$("#home_pr_masonry");if(gallery.length){gallery.imagesLoaded(function(){gallery.isotope({layoutMode:"masonry",originLeft:false,masonry:{columnWidth:'.grid-sizer'},percentPosition:true,});});}}
homeMasonry();if($(".height-emulator").length){$(".height-emulator").css({height:$("footer").outerHeight(true)});}
function popupGallery(){if($(".img_popup,.image-link").length){$(".img_popup,.image-link").each(function(){$(".img_popup,.image-link").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",removalDelay:300,mainClass:"mfp-with-zoom mfp-img-mobile",gallery:{enabled:true,navigateByImgClick:true,preload:[0,1],},});});}
if($(".popup-youtube").length){$(".popup-youtube").magnificPopup({disableOn:700,type:"iframe",removalDelay:160,preloader:false,fixedContentPos:false,mainClass:"mfp-with-zoom mfp-img-mobile",});}}
popupGallery();
$(".memail").on("focus",function(){$(".mchimp-errmessage").fadeOut();$(".mchimp-sucmessage").fadeOut();});$(".memail").on("keydown",function(){$(".mchimp-errmessage").fadeOut();$(".mchimp-sucmessage").fadeOut();});$(".memail").on("click",function(){$(".memail").val("");});function mailchimpCallback(resp){if(resp.result==="success"){$(".mchimp-errmessage").html(resp.msg).fadeIn(1000);$(".mchimp-sucmessage").fadeOut(500);}else if(resp.result==="error"){$(".mchimp-errmessage").html(resp.msg).fadeIn(1000);}}
function parallaxEffect(){if($(".parallax-effect,#apps_craft_animation").length){$(".parallax-effect,#apps_craft_animation").parallax();}}
parallaxEffect();function counterUp(){if($(".counter").length){$(".counter").counterUp({delay:1,time:500,});}}
counterUp();function circle_progress(){if($(".circle").length){$(".circle").each(function(){$(".circle").appear(function(){$(".circle").circleProgress({startAngle:-14.1,size:200,duration:9000,easing:"circleProgressEase",emptyFill:"#f1f1fa ",lineCap:"round",thickness:10,});},{triggerOnce:true,offset:"bottom-in-view",});});}}
circle_progress();$(".progress-element").each(function(){$(this).waypoint(function(){var progressBar=$(".progress-bar");progressBar.each(function(indx){$(this).css("width",$(this).attr("aria-valuenow")+"%");});},{triggerOnce:true,offset:"bottom-in-view",});});function loader(){$(window).on("load",function(){$("#ctn-preloader").addClass("loaded");if($("#ctn-preloader").hasClass("loaded")){$("#preloader").delay(900).queue(function(){$(this).remove();});}});}
loader();if($("#slider-range").length){$("#slider-range").slider({range:true,min:5,max:150,values:[5,100],slide:function(event,ui){$("#amount").val("$"+ui.values[0]+" - $"+ui.values[1]);},});$("#amount").val("$"+
$("#slider-range").slider("values",0)+
" - $"+
$("#slider-range").slider("values",1));}
$(".search-btn").on("click",function(){$("body").addClass("open");setTimeout(function(){$(".search-input").focus();},500);return false;});$(".close_icon").on("click",function(){$("body").removeClass("open");return false;});if($(".develor_tab li a").length>0){$(".develor_tab li a").click(function(){var tab_id=$(this).attr("data-tab");$(".tab_img").removeClass("active");$("#"+tab_id).addClass("active");});}
$(".alert_close").on("click",function(e){$(this).parent().hide();});function active_dropdown(){if($(window).width()<992){$(".menu li.submenu > a").on("click",function(event){event.preventDefault();$(this).parent().find("ul").first().toggle(700);$(this).parent().siblings().find("ul").hide(700);});}}
active_dropdown();function hamberger_menu(){if($(".burger_menu").length){$(".burger_menu").on("click",function(){$(this).toggleClass("open");$("body").removeClass("menu-is-closed").addClass("menu-is-opened");});$(".close, .click-capture").on("click",function(){$("body").removeClass("menu-is-opened").addClass("menu-is-closed");});}}
hamberger_menu();if($(".pagepiling").length>0){$(".pagepiling").pagepiling({scrollingSpeed:280,loopBottom:true,navigation:{position:"right_position",},});$.fn.pagepiling.setAllowScrolling(true);}
function ppTestislider(){if($(".pp_testimonial_slider").length>0){var PSlider=$(".pp_testimonial_slider");if(PSlider.length){PSlider.slick({autoplay:true,slidesToShow:2,slidesToScroll:1,autoplaySpeed:3000,speed:1000,vertical:true,dots:false,arrows:true,prevArrow:".prev",nextArrow:".next",});}}}
ppTestislider();function trendingSlider(){if($(".trending_product_slider").length>0){var PSlider=$(".trending_product_slider");if(PSlider.length){PSlider.slick({autoplay:true,slidesToShow:5,slidesToScroll:1,centerMode:true,centerPadding:'85px',autoplaySpeed:3000,speed:1000,dots:false,arrows:true,prevArrow:".prev",nextArrow:".next",responsive:[{breakpoint:1200,settings:{slidesToShow:4,},},{breakpoint:992,settings:{slidesToShow:3,},},{breakpoint:650,settings:{slidesToShow:2,},},{breakpoint:480,settings:{slidesToShow:1,},}],});}}}
trendingSlider();var heading=$(".typed");if(heading.length){heading.typed({strings:["Startups","Business","Agencies"],stringsElement:null,typeSpeed:100,startDelay:500,backSpeed:100,backDelay:500,loop:true,showCursor:true,cursorChar:"|",});}
if($(".slick.marquee").length>0){$(".slick.marquee").slick({speed:8000,autoplay:true,autoplaySpeed:1000,centerMode:true,cssEase:"linear",slidesToShow:1,slidesToScroll:1,variableWidth:true,infinite:true,initialSlide:1,arrows:false,pauseOnHover:true,buttons:false,});}
function slider(){if($(".utility_slider").length>0){$(".utility_slider").slick({slidesToShow:1,slidesToScroll:1,centerMode:true,centerPadding:"40px",arrows:false,dots:false,speed:1000,autoplay:true,infinite:true,responsive:[{breakpoint:570,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"0px",},},],});}}
slider();function sliderTwo(){if($(".shop_slider").length>0){$(".shop_slider").slick({slidesToShow:1,slidesToScroll:1,arrows:false,dots:true,});}}
sliderTwo();function BlogSlider(){if($(".blog_slider").length>0){$(".blog_slider").slick({slidesToShow:1,slidesToScroll:1,dots:false,arrow:false,cssEase:"linear",rows:0,fade:true,infinite:true,prevArrow:".prev",nextArrow:".next",});}}
BlogSlider();function portfolioSlider(){if($(".portfolio_slider").length>0){$(".portfolio_slider").slick({slidesToShow:1,slidesToScroll:1,dots:true,arrow:true,centerMode:true,centerPadding:"450px",speed:800,autoplay:true,infinite:true,prevArrow:".prevs",nextArrow:".nexts",responsive:[{breakpoint:1400,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"250px",},},{breakpoint:1008,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"150px",},},{breakpoint:800,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"50px",},},],});}}
portfolioSlider();function portfolioSliderTwo(){if($(".portfolio_slider_two").length>0){$(".portfolio_slider_two").slick({slidesToShow:2,slidesToScroll:1,dots:false,arrow:false,centerMode:true,centerPadding:"200px",infinite:true,autoplay:true,autoplaySpeed:1000,responsive:[{breakpoint:1100,settings:{slidesToShow:2,slidesToScroll:1,centerPadding:"100px",},},{breakpoint:800,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"150px",},},{breakpoint:700,settings:{slidesToShow:2,slidesToScroll:1,centerPadding:"0px",},},{breakpoint:577,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"0px",},},],});}}
portfolioSliderTwo();if($("#testimonial_demo_slider").length>0){$("#testimonial_demo_slider").slick({slidesToShow:1,slidesToScroll:1,dots:false,arrow:true,centerMode:true,centerPadding:"400px",speed:1000,autoplay:true,infinite:true,lazyLoad:"ondemand",pauseOnHover:true,prevArrow:".tprevs",nextArrow:".tnexts",responsive:[{breakpoint:1300,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"400px",},},{breakpoint:1000,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"80px",},},{breakpoint:700,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"0px",},},],});}
$("#landing_page ul li a,.scrolls,.menu_top").on("click",function(event){var $anchor=$(this);$("html, body").stop().animate({scrollTop:$($anchor.attr("href")).offset().top-75,},1000,"easeInOutExpo");event.preventDefault();});$("#landing_page ul .nav-item:not(.dropdown) .nav-link").on("click",function(){$(".navbar-collapse").collapse("hide");});function fAqactive(){$(".faq_accordian_two .card").on("click",function(){$(".faq_accordian_two .card").removeClass("active");$(this).addClass("active");});}
fAqactive();if($(".gadget_features_slider").length>0){$(".gadget_features_slider").slick({slidesToShow:2,slidesToScroll:1,autoplay:true,autoplaySpeed:2000,dots:false,centerMode:true,centerPadding:"300px",rows:false,arrows:false,responsive:[{breakpoint:1400,settings:{centerPadding:"180px",},},{breakpoint:1200,settings:{centerPadding:"60px",},},{breakpoint:991,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"170px",},},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,centerPadding:"70px",},},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,centerMode:false,centerPadding:"15px",},},],});}
$(".gadget_slider_area").on("init",function(e,slick){var $firstAnimatingElements=$("div.slider_item:first-child").find("[data-animation]");doAnimations($firstAnimatingElements);});$(".gadget_slider_area").on("beforeChange",function(e,slick,currentSlide,nextSlide){var $animatingElements=$('div.slider_item[data-slick-index="'+nextSlide+'"]').find("[data-animation]");doAnimations($animatingElements);});if($(".gadget_slider_area").length>0){$(".gadget_slider_area").slick({autoplay:true,autoplaySpeed:5000,dots:true,fade:true,rows:false,arrows:false,});}
function doAnimations(elements){var animationEndEvents="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";elements.each(function(){var $this=$(this);var $animationDelay=$this.data("delay");var $animationType="animated "+$this.data("animation");$this.css({"animation-delay":$animationDelay,"-webkit-animation-delay":$animationDelay,});$this.addClass($animationType).one(animationEndEvents,function(){$this.removeClass($animationType);});});}
if($(".gadget_slider_area").length){Splitting();}
if($('[data-background]').length>0){$('[data-background]').each(function(){$(this).css('background-image','url('+$(this).attr('data-background')+')');});}
var $grid=$('.grid').imagesLoaded(function(){$grid.masonry({itemSelector:'.grid-item',percentPosition:true,columnWidth:'.grid-sizer'});});$('.agency_testimonial_carousel').owlCarousel({items:1,margin:30,nav:false,dots:true,loop:true,dotsData:true,autoplay:true,smartSpeed:1000,autoplayTimeout:5000,autoplayHoverPause:true});if($(".showcase_slider").length){const sliders=$('.showcase_slider');sliders.on("init",function(e,slick){var $firstAnimatingElements=$("div.slider:first-child").find("[data-animation]");doAnimations($firstAnimatingElements);});sliders.on("beforeChange",function(e,slick,currentSlide,nextSlide){var $animatingElements=$('div.slider[data-slick-index="'+nextSlide+'"]').find("[data-animation]");doAnimations($animatingElements);});function onSliderAfterChange(event,slick,currentSlide){$(event.target).data('current-slide',currentSlide);}
function onSliderWheel(e){var deltaY=e.originalEvent.deltaY,$currentSlider=$(e.currentTarget),currentSlickIndex=$currentSlider.data('current-slide')||0;if((deltaY<0&&currentSlickIndex==0)||(deltaY>0&&currentSlickIndex==$currentSlider.data('slider-length')-1)){return;}
e.preventDefault();if(e.originalEvent.deltaY<0){$currentSlider.slick('slickPrev');}else{$currentSlider.slick('slickNext');}}
sliders.each(function(index,element){var $element=$(element);$element.data('slider-length',$element.children().length);}).slick({infinite:false,slidesToShow:1,vertical:true,verticalSwiping:true,slidesToScroll:1,dots:false,arrows:false,responsive:[{breakpoint:991,settings:{verticalSwiping:false,vertical:false,},},],}).on('afterChange',onSliderAfterChange).on('wheel',onSliderWheel);function doAnimations(elements){var animationEndEvents="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";elements.each(function(){var $this=$(this);var $animationDelay=$this.data("delay");var $animationType="animated "+$this.data("animation");$this.css({"animation-delay":$animationDelay,"-webkit-animation-delay":$animationDelay,});$this.addClass($animationType).one(animationEndEvents,function(){$this.removeClass($animationType);});});}}})(jQuery);