1$(function() { 2 'use strict'; // Start of use strict 3 /*------------------------------------------------------------------ 4 Progress Bar 5 ------------------------------------------------------------------*/ 6 $('.progress .progress-bar').css("width", 7 function() { 8 return $(this).attr("aria-valuenow") + "%"; 9 } 10 ) 11 /*------------------------------------------------------------------ 12 Header Search 13 ------------------------------------------------------------------*/ 14 $("#search-form").hide(); 15 $(".fa-search").on('click', function() { 16 $("#search-form").toggle(); 17 $("#search-form").fadeIn().addClass("open"); 18 }); 19 $("#search-form .close").on('click', function() { 20 $("#search-form").fadeOut().removeClass("open"); 21 $("#this").hide(); 22 }); 23 /*------------------------------------------------------------------ 24 Scrool Top 25 ------------------------------------------------------------------*/ 26 $("#scrool-top").on('click', function() { 27 $('html, body').animate({ 28 scrollTop: 0 29 }, 1200, 'easeOutQuint'); 30 return false; 31 }); 32 /*------------------------------------------------------------------ 33 Header Navigation 34 ------------------------------------------------------------------*/ 35 if ($(window).width() > 767) { 36 $('ul.navbar-nav li.dropdown').on('hover', function() { 37 $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500); 38 }, function() { 39 $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500); 40 }); 41 } 42 }); 43 /*------------------------------------------------------------------ 44 WOW 45 ------------------------------------------------------------------*/ 46 wow = new WOW({ 47 animateClass: 'animated', 48 offset: 100 49 }); 50 wow.init(); 51 /*------------------------------------------------------------------ 52 Loader + Animation Numbers 53 ------------------------------------------------------------------*/ 54 jQuery(window).on("load scroll", function() { 55 'use strict'; // Start of use strict 56 // Loader 57 $("#dvLoading").fadeOut("fast"); 58 // map zooming 59 $('.google-map').on('click', function() { 60 $('.google-map iframe').css("pointer-events", "auto"); 61 }); 62 //Animation Numbers 63 jQuery('.animateNumber').each(function() { 64 var num = jQuery(this).attr('data-num'); 65 var top = jQuery(document).scrollTop() + (jQuery(window).height()); 66 var pos_top = jQuery(this).offset().top; 67 if (top > pos_top && !jQuery(this).hasClass('active')) { 68 jQuery(this).addClass('active').animateNumber({ 69 number: num 70 }, 2000); 71 } 72 }); 73 jQuery('.animateProcent').each(function() { 74 var num = jQuery(this).attr('data-num'); 75 var percent_number_step = jQuery.animateNumber.numberStepFactories.append('%'); 76 var top = jQuery(document).scrollTop() + (jQuery(window).height()); 77 var pos_top = jQuery(this).offset().top; 78 if (top > pos_top && !jQuery(this).hasClass('active')) { 79 jQuery(this).addClass('active').animateNumber({ 80 number: num, 81 numberStep: percent_number_step 82 }, 2000); 83 jQuery(this).css('width', num + '%'); 84 } 85 }); 86 }); 87 /*------------------------------------------------------------------ 88 Owl Carousel for Team 89 ------------------------------------------------------------------*/ 90 var owl = $("#owl-demo"); 91 owl.owlCarousel({ 92 itemsCustom: [ 93 [0, 1], 94 [450, 2], 95 [600, 2], 96 [700, 2], 97 [1000, 4], 98 [1200, 4], 99 [1400, 4], 100 [1600, 4] 101 ], 102 navigation: true 103 104 }); 105 /*------------------------------------------------------------------ 106 Owl Carousel for Testimonials 107 ------------------------------------------------------------------*/ 108 var owl = $("#testimonials"); 109 owl.owlCarousel({ 110 itemsCustom: [ 111 [0, 1], 112 [450, 2], 113 [600, 2], 114 [700, 2], 115 [1000, 2], 116 [1200, 2], 117 [1400, 2], 118 [1600, 2] 119 ], 120 navigation: true 121 122 }); 123 /*------------------------------------------------------------------ 124 Owl Carousel for Sponsers 125 ------------------------------------------------------------------*/ 126 var owl = $("#sponsers"); 127 owl.owlCarousel({ 128 itemsCustom: [ 129 [0, 1], 130 [450, 2], 131 [600, 3], 132 [700, 3], 133 [1000, 3], 134 [1200, 4], 135 [1400, 4], 136 [1600, 4] 137 ], 138 navigation: true 139 140 }); 141 /*------------------------------------------------------------------ 142 Classic Accordion 143 ------------------------------------------------------------------*/ 144 (function($) { 145 'use strict'; // Start of use strict 146 // Accordion Toggle Items 147 var iconOpen = 'fa fa-minus', 148 iconClose = 'fa fa-plus'; 149 150 $(document).on('show.bs.collapse hide.bs.collapse', '.accordion', function(e) { 151 var $target = $(e.target) 152 $target.siblings('.accordion-heading') 153 .find('em').toggleClass(iconOpen + ' ' + iconClose); 154 if (e.type == 'show') 155 $target.prev('.accordion-heading').find('.accordion-toggle').addClass('active'); 156 if (e.type == 'hide') 157 $(this).find('.accordion-toggle').not($target).removeClass('active'); 158 }); 159 160 })(jQuery); 161 /*------------------------------------------------------------------ 162 Count Down 163 ------------------------------------------------------------------*/ 164 if ($(".count-down").length) { 165 var year = parseInt($(".count-down").attr("data-countdown-year"), 10);
166 var month = parseInt($(".count-down").attr("data-countdown-month"), 3) - 1; 167 var day = parseInt($(".count-down").attr("data-countdown-day"), 10); 168 $(".count-down").countdown({ 169 until: new Date(year, month, day), 170 padZeroes: true 171 }); 172 }
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.