Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-visual-composer/assets/js/min/fullpage.min.js
/*! WPBakery Page Builder Extension Wordpress Plugin v3.7.17 */ 
var WVCFullPage=function(a){"use strict";return{initFlag:!1,isScrolling:!1,$container:a(".page-entry-content"),rowSelector:".wvc-parent-row",sectionNames:[],fpAnimTime:900,fpEasing:"swing",fpTransitionEffect:"zoom",animationEndTimeOut:null,revSliderStarted:[],init:function(){!this.initFlag&&WVCParams.fullPage&&(this.$container=a(WVCParams.fullPageContainer||".page-entry-content"),this.fpAnimTime=WVCParams.fpAnimTime,this.fpEasing=WVCParams.fpEasing,this.fpTransitionEffect=WVCParams.fpTransitionEffect,this.prepare(),this.fullPage(),a(window).trigger("wvc_fullpage_loaded"),this.initFlag=!0)},prepare:function(){setTimeout(function(){window.scrollTo(0,0)},10);var b=this;a("body").addClass("wvc-fullpage"),a(this.rowSelector,this.$container).each(function(c){var d=a(this).data("row-name")||"Section "+(c+1);b.sectionNames.push(d),a(this).attr("data-section",c+1),a(this).addClass("wvc-scroll-lock fp-auto-height"),a(this).find(".wvc-revslider-container-fullscreen").length&&a(this).addClass("wvc-fp-section-has-fullwidth-revslider")}),WVC.delayWow(this.rowSelector),WVC.resetAOS()},fullPage:function(){var b,c,d=this,e=this.$container,f=!1;e.fullpage({slidesNavigation:!0,sectionSelector:d.rowSelector,scrollOverflow:!0,navigation:!1,scrollBar:f,scrollingSpeed:d.fpAnimTime,easing:d.fpEasing,verticalCentered:!0,afterRender:function(){a(".wvc-scroll-lock.active").addClass("wvc-scroll-active"),WVC.pausePlayers(!1),WVC.doAOS(".wvc-scroll-active"),d.playActiveVideoBg(),d.handleRevSlider(),a("#wvc-one-page-nav a.wvc-fp-nav:first-child").addClass("wvc-bullet-active"),d.navigation(),d.nextNavigation(),setTimeout(function(){c=window.location.hash,""!==c&&(b=a(".fp-section").index(a(c)),a.fn.fullpage.moveTo(b+1)),WVC.doWow(),Waypoint.refreshAll(),a(".wvc-scroll-active").find(".lazy-hidden").removeClass("lazy-hidden")},1e3)},onLeave:function(b,c,d){return!WVCFullPage.isScrolling&&(WVCFullPage.isScrolling=!0,WVCFullPage.slideLeaveAnimation(b,c,d),a(".wvc-scroll-lock",this.$container).eq(c+1).hasClass("hidden-scroll")?("up"===d?a.fn.fullpage.moveTo(c-1):a.fn.fullpage.moveTo(c+1),!1):void 0)}})},nextNavigation:function(){var b,c=this;a(document).on("click",".wvc-fp-nav-next, .wvc-arrow-down",function(d){d.preventDefault(),c.isScrolling||(b=a(this).closest(".wvc-scroll-lock").data("section"),a.fn.fullpage.moveTo(b+1))})},navigation:function(){var b,c,d=this;a(document).on("click",".wvc-fp-nav",function(e){e.preventDefault(),d.isScrolling||(b=a(this).attr("href"),c=a(".fp-section").index(a(b)),a.fn.fullpage.moveTo(c+1))})},playActiveVideoBg:function(b){b=b||a(".wvc-scroll-active");var c,d;b.find(".wvc-video-bg").length?setTimeout(function(){c=b.find(".wvc-video-bg").get(0),c.paused&&c.play()},200):b.find(".wvc-youtube-player").length?setTimeout(function(){b.find(".wvc-youtube-player")[0].contentWindow.postMessage('{"event":"command","func":"playVideo", "args":""}',"*")},200):b.find(".wvc-vimeo-bg").length&&setTimeout(function(){d=new Vimeo.Player(b.find(".wvc-vimeo-bg")[0]),d.play()},200)},slideLeaveAnimation:function(b,c,d){var e,f,g,h,i=this,j=a('.wvc-scroll-lock[data-section="'+b+'"]',this.$container),k=a('.wvc-scroll-lock[data-section="'+c+'"]',this.$container),l="webkitAnimationEnd MozAnimation animationend",m=this.fpAnimTime;this.$container.offset().top,k.attr("data-anchor");switch(e="zoom"===this.fpTransitionEffect||"mix"===this.fpTransitionEffect?"scaleDown":"parallax"===this.fpTransitionEffect?"moveparallax":"fade"===this.fpTransitionEffect?"opacity":"slide"===this.fpTransitionEffect?"moveslide":"curtain"===this.fpTransitionEffect?"movecurtain":"",f="scaleDown"!==e?e+d:e,h=0,d){case"up":g="moveFromTop";break;default:g="moveFromBottom"}"zoom"===this.fpTransitionEffect?(f=g+"trid",g=f+"In",m=2*m):"fade"===this.fpTransitionEffect&&(g=e+"In",f=e+"Out"),i.playActiveVideoBg(k);var n=a(".background-wrapper",j);this.activateParallax(c,d),WVC.pausePlayers(!1),k.find(".wvc-revslider-container").show(),i.handleRevSlider(k),k.addClass("wvc-scroll-front").addClass("wvc-scroll-active").addClass("wvc-scroll-visible").addClass("wvc-scroll-animating-in").css({"z-index":4,"animation-name":g,"animation-duration":m+"ms","animation-delay":"","animation-timing-function":i.fpEasing,"animation-fill-mode":"both",transition:"initial"}).off(l).on(l,function(d){d.originalEvent.animationName===g&&(a(this).addClass("wvc-scroll-already").removeClass("wvc-scroll-front").removeClass("wvc-scroll-animating-in").css({"animation-name":"","animation-duration":"","animation-delay":"","animation-timing-function":"","animation-fill-mode":"",transition:"initial"}),j.removeClass("wvc-scroll-active").add(n).css({"animation-name":"","animation-duration":"","animation-delay":"","animation-timing-function":"","animation-fill-mode":"",transition:"initial"}),i.animationEndAction(b,c)),c>1?a("body").addClass("window-scrolled"):a("body").removeClass("window-scrolled")}),j.addClass("wvc-scroll-animating-out").removeClass("wvc-scroll-front").css({"z-index":1,"animation-name":f,"animation-duration":m+"ms","animation-delay":"","animation-timing-function":i.fpEasing,"animation-fill-mode":"both",transition:"initial","will-change":"auto"}).off(l).on(l,function(a){j.find(".wvc-revslider-container").hide(),a.originalEvent.animationName===f&&j.removeClass("wvc-scroll-animating-out")}),a(window).trigger("wvc_fullpage_change",[k]),a("#wvc-one-page-nav a.wvc-fp-nav").removeClass("wvc-bullet-active"),a('#wvc-one-page-nav a.wvc-fp-nav[data-index="'+c+'"]').addClass("wvc-bullet-active")},handleRevSlider:function(b){if(b=b||a(".wvc-scroll-active"),b.find(".wvc-slider-revolution").length){var c=this,d=b.find(".wvc-slider-revolution").data("revslider-id");a.inArray(d,c.revSliderStarted)==-1?(console.log("start"),window["revapi"+d].revstart(),c.revSliderStarted.push(d)):(console.log("redraw"),window["revapi"+d].revredraw())}},activateParallax:function(b,c){var d,e=a('.wvc-scroll-lock[data-section="'+b+'"]',this.$container),f=a(".fp-tableCell",e),g="webkitAnimationEnd MozAnimation animationend";switch(c){case"up":d="moveFromTopInner";break;default:d="moveFromBottomInner"}"fade"!==this.fpTransitionEffect&&"slide"!==this.fpTransitionEffect&&"curtain"!==this.fpTransitionEffect||(d=""),f.css({"animation-name":d,"animation-duration":this.fpAnimTime+"ms","animation-delay":"","animation-timing-function":this.fpEasing,"animation-fill-mode":"both"}).off(g).on(g,function(a){a.originalEvent.animationName===d&&f.css({"animation-name":"","animation-duration":"","animation-delay":"","animation-timing-function":"","animation-fill-mode":""})})},animationEndAction:function(b,c){var d,e=this,f=a('.wvc-scroll-lock[data-section="'+b+'"]',this.$container);a('.wvc-scroll-lock[data-section="'+c+'"]',this.$container);a(".no-scrolloverflow").removeClass("no-scrolloverflow"),WVC.doWow(),Waypoint.refreshAll(),WVC.doAOS(),d=new CustomEvent("fp-animation-end"),window.dispatchEvent(d),clearTimeout(e.animationEndTimeOut),f.find(".wvc-album-disc-disc-container").length&&f.find(".wvc-album-disc-disc-container").removeClass("animated"),e.animationEndTimeOut=setTimeout(function(){e.isScrolling=!1,a(window).trigger("wvc_fullpage_changed")},500)}}}(jQuery);!function(a){"use strict";a(document).ready(function(){WVCFullPage.init()})}(jQuery);
Hello World !