OˆkDóYÏT;i‡¾%’ðAccept-Encoding,User-Agent&™¥>ÄÒˆt*N¿ÁÁ KEY: https://allsegsst.com.br/wp-content/themes/thema/js/main.js HTTP/1.1 200 OK Date: Thu, 11 Dec 2025 23:33:35 GMT Server: Apache Last-Modified: Fri, 27 Oct 2017 11:23:48 GMT Accept-Ranges: bytes Content-Length: 11417 Cache-Control: max-age=31536000, public Expires: Fri, 11 Dec 2026 23:33:35 GMT Vary: Accept-Encoding,User-Agent Connection: close Content-Type: application/javascript; charset=utf-8 ;(function () { 'use strict'; // iPad and iPod detection var isiPad = function(){ return (navigator.platform.indexOf("iPad") != -1); }; var isiPhone = function(){ return ( (navigator.platform.indexOf("iPhone") != -1) || (navigator.platform.indexOf("iPod") != -1) ); }; // Carousel Feature Slide var owlCrouselFeatureSlide = function() { var owl = $('.owl-carousel'); owl.on('initialized.owl.carousel change.owl.carousel',function(elem){ var current = elem.item.index; $(elem.target).find(".owl-item").eq(current).find(".to-animate").removeClass('fadeInUp animated'); $(elem.target).find(".owl-item").eq(current).find(".to-animate-2").removeClass('fadeInUp animated'); }); owl.on('initialized.owl.carousel changed.owl.carousel',function(elem){ setTimeout(function(){ var current = elem.item.index; $(elem.target).find(".owl-item").eq(current).find(".to-animate").addClass('fadeInUp animated'); }, 700); setTimeout(function(){ var current = elem.item.index; $(elem.target).find(".owl-item").eq(current).find(".to-animate-2").addClass('fadeInUp animated'); }, 900); }); owl.owlCarousel({ items: 1, loop: true, margin: 0, responsiveClass: true, nav: true, dots: true, autoHeight: true, smartSpeed: 500, autoplay: true, autoplayTimeout: 5000, autoplayHoverPause: true, navText: [ "", "" ] }); var agenda = $('.agenda_carousel'); agenda.owlCarousel({ autoPlay: 26000, //Set AutoPlay to 3 seconds items: 4, responsive:{ 0:{ items:1, nav:true }, 600:{ items:2, nav:false }, 1000:{ items:4, nav:true, loop:false } } }); var pastores = $('.pastores_carousel'); pastores.owlCarousel({ autoplay: 2000, //Set AutoPlay to 3 seconds items: 3, responsiveClass:true, responsive:{ 0:{ items:1, nav:false }, 600:{ items:3, nav:false }, 1000:{ items:3, nav:false, } } }); var pastores = $('.parceiros_carousel'); pastores.owlCarousel({ loop: true, autoplay: 1000, //Set AutoPlay to 3 seconds items: 4, responsiveClass:true, responsive:{ 0:{ items:1, nav:false }, 600:{ items:4, nav:false }, 1000:{ items:4, nav:false, } } }); }; // animate-box var contentWayPoint = function() { $('.animate-box').waypoint( function( direction ) { if( direction === 'down' && !$(this).hasClass('animated') ) { $(this.element).addClass('fadeInUp animated'); } } , { offset: '75%' } ); }; // Burger Menu var burgerMenu = function() { $('body').on('click', '.js-fh5co-nav-toggle', function(event){ if ( $('#navbar').is(':visible') ) { $(this).removeClass('active'); } else { $(this).addClass('active'); } event.preventDefault(); }); }; $(document).ready(function() { $(".various").fancybox({ maxWidth : 800, maxHeight : 600, fitToView : false, width : '70%', height : '70%', autoSize : false, closeClick : false, openEffect : 'none', closeEffect : 'none' }); }); // Page Nav var clickMenu = function() { $('a:not([class="external"])').click(function(event){ var section = $(this).data('nav-section'), navbar = $('#navbar'); $('html, body').animate({ scrollTop: $('[data-section="' + section + '"]').offset().top }, 500); if ( navbar.is(':visible')) { navbar.removeClass('in'); navbar.attr('aria-expanded', 'false'); $('.js-fh5co-nav-toggle').removeClass('active'); } event.preventDefault(); return false; }); }; // Reflect scrolling in navigation var navActive = function(section) { var $el = $('#navbar > ul'); $el.find('li').removeClass('active'); $el.each(function(){ $(this).find('a[data-nav-section="'+section+'"]').closest('li').addClass('active'); }); }; var navigationSection = function() { var $section = $('div[data-section]'); $section.waypoint(function(direction) { if (direction === 'down') { navActive($(this.element).data('section')); } }, { offset: '150px' }); $section.waypoint(function(direction) { if (direction === 'up') { navActive($(this.element).data('section')); } }, { offset: function() { return -$(this.element).height() + 155; } }); }; // Window Scroll var windowScroll = function() { var lastScrollTop = 0; $(window).scroll(function(event){ var header = $('#fh5co-header'), scrlTop = $(this).scrollTop(); if ( scrlTop > 500 && scrlTop <= 2000 ) { header.addClass('navbar-fixed-top fh5co-animated slideInDown'); } else if ( scrlTop <= 500) { if ( header.hasClass('navbar-fixed-top') ) { header.addClass('navbar-fixed-top fh5co-animated slideOutUp'); setTimeout(function(){ header.removeClass('navbar-fixed-top fh5co-animated slideInDown slideOutUp'); }, 100 ); } } }); }; // Animations // About Us var aboutAnimate = function() { if ( $('#about-us').length > 0 ) { $('#about-us .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var aboutWayPoint = function() { if ( $('#about-us').length > 0 ) { $('#about-us').waypoint( function( direction ) { if( direction === 'down' && !$(this).hasClass('animated') ) { setTimeout(aboutAnimate, 200); $(this.element).addClass('animated'); } } , { offset: '95%' } ); } }; // Team var teamAnimate = function() { if ( $('#team').length > 0 ) { $('#team .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var teamWayPoint = function() { if ( $('#team').length > 0 ) { $('#team').waypoint( function( direction ) { if( direction === 'down' && !$(this).hasClass('animated') ) { setTimeout(teamAnimate, 200); $(this.element).addClass('animated'); } } , { offset: '95%' } ); } }; // servicos var servicesAnimate = function() { if ( $('#fh5co-our-servicos').length > 0 ) { $('#fh5co-our-servicos .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var servicesWayPoint = function() { if ( $('#fh5co-our-servicos').length > 0 ) { $('#fh5co-our-servicos').waypoint( function( direction ) { if( direction === 'down' && !$(this).hasClass('animated') ) { setTimeout(servicesAnimate, 200); $(this.element).addClass('animated'); } } , { offset: '95%' } ); } }; // Features var featuresAnimate = function() { if ( $('#fh5co-features').length > 0 ) { $('#fh5co-features .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var featuresWayPoint = function() { if ( $('#fh5co-features').length > 0 ) { $('#fh5co-features').waypoint( function( direction ) { if( direction === 'down' && !$(this).hasClass('animated') ) { setTimeout(function(){ $('.animate-features-1').addClass('animated fadeIn'); }, 100); setTimeout(function(){ $('.animate-features-2').addClass('animated fadeIn'); }, 200); setTimeout(featuresAnimate, 500); setTimeout(function(){ $('.animate-features-3').addClass('animated fadeInUp'); }, 1400); $(this.element).addClass('animated'); } } , { offset: '95%' } ); } }; // testimonials var testimonialsAnimate = function() { if ( $('#fh5co-testimonials').length > 0 ) { $('#fh5co-testimonials .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var testimonialsWayPoint = function() { if ( $('#fh5co-testimonials').length > 0 ) { $('#fh5co-testimonials').waypoint( function( direction ) { setTimeout(testimonialsAnimate, 200); $(this.element).addClass('animated'); } , { offset: '95%' } ); } }; // Pricing var pricingAnimate = function() { if ( $('#fh5co-pricing').length > 0 ) { $('#fh5co-pricing .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var pricingWayPoint = function() { if ( $('#fh5co-pricing').length > 0 ) { $('#fh5co-pricing').waypoint( function( direction ) { setTimeout(function(){ $('.animate-pricing-1').addClass('animated fadeIn'); }, 200); setTimeout(function(){ $('.animate-pricing-2').addClass('animated fadeIn'); }, 300); setTimeout(pricingAnimate, 700); $(this.element).addClass('animated'); } , { offset: '95%' } ); } }; // Pricing var pressAnimate = function() { if ( $('#fh5co-press').length > 0 ) { $('#fh5co-press .to-animate').each(function( k ) { var el = $(this); setTimeout ( function () { el.addClass('fadeInUp animated'); }, k * 200, 'easeInOutExpo' ); }); } }; var pressWayPoint = function() { if ( $('#fh5co-press').length > 0 ) { $('#fh5co-press').waypoint( function( direction ) { setTimeout(function(){ $('.animate-press-1').addClass('animated fadeIn'); }, 200); setTimeout(function(){ $('.animate-press-2').addClass('animated fadeIn'); }, 300); setTimeout(pressAnimate, 700); $(this.element).addClass('animated'); } , { offset: '95%' } ); } }; // Document on load. $(function(){ burgerMenu(); owlCrouselFeatureSlide(); clickMenu(); windowScroll(); navigationSection(); aboutWayPoint(); teamWayPoint(); servicesWayPoint(); featuresWayPoint(); testimonialsWayPoint(); pricingWayPoint(); pressWayPoint(); }); //Fotos $(".fancy").fancybox({ openEffect : 'elastic', closeEffect : 'elastic' }); //Vídeos $('.fancybox-media') .attr('rel', 'media-gallery') .fancybox({ openEffect : 'none', closeEffect : 'none', prevEffect : 'none', nextEffect : 'none', arrows : false, helpers : { media : {}, buttons : {} } }); }());