1(function($) { 2 'use strict'; 3 4 /*==== swiper active ====*/ 5 6 new Swiper('.swiper_active', { 7 effect: 'defult', 8 grabCursor: false, 9 speed: 2000, 10 direction: 'horizontal', 11 slidesPerView: 1, 12 spaceBetween: 30, 13 freeMode: false, 14 mousewheel: false, 15 keyboard: true, 16 loop: false, 17 autoplay: { 18 delay: 4000, 19 disableOnInteraction: false, 20 }, 21 pagination: { 22 el: '.swiper-pagination', 23 clickable: true, 24 type: 'progressbar', 25 }, 26 navigation: { 27 nextEl: '.swiper-button-next', 28 prevEl: '.swiper-button-prev', 29 }, 30 scrollbar: { 31 el: '.scrollbar_false', 32 hide: true, 33 }, 34 }); 35 36 /*==== One Page Nav ====*/ 37 38 var top_offset = $('.one_page').height() +0; 39 $('.one_page .tocit_menu .nav_scroll').onePageNav({ 40 currentClass: 'current', 41 changeHash: false, 42 scrollSpeed: 1000, 43 scrollOffset: top_offset, 44 scrollThreshold: 0.5, 45 filter: '', 46 easing: 'swing', 47 }); 48 49 $(".nav_scroll > li:first-child").addClass("current"); 50 /*==== sticky nav 1 ====*/ 51 $('.one_page').scrollToFixed({ 52 preFixed: function() { 53 $(this).find('.scroll_fixed').addClass('prefix'); 54 }, 55 postFixed: function() { 56 $(this).find('.scroll_fixed').addClass('postfix').removeClass('prefix'); 57 } 58 }); 59 60 /*==== sticky nav 2 ====*/ 61 62 var headers1 = $('.trp_nav_area'); 63 $(window).on('scroll', function() { 64 65 if ($(window).scrollTop() > 200) { 66 headers1.addClass('hbg2'); 67 } else { 68 headers1.removeClass('hbg2'); 69 } 70 }); 71 72 /*==== Mobile Menu ====*/ 73 74 $('.mobile-menu nav').meanmenu({ 75 meanScreenWidth: "990", 76 meanMenuContainer: ".mobile-menu", 77 onePage: true, 78 }); 79 80 /*==== Bootstrap Accordion ====*/ 81 82 $('.faq-part .card').each(function () { 83 var $this = $(this); 84 $this.on('click', function (e) { 85 var has = $this.hasClass('active'); 86 $('.faq-part .card').removeClass('active show'); 87 if (has) { 88 $this.removeClass('active show'); 89 } else { 90 $this.addClass('active show'); 91 } 92 }); 93 }); 94 95 96 /*==== WOW active js ====*/ 97 98 new WOW().init(); 99 100 /*==== scrollUp ====*/ 101 102 $.scrollUp({ 103 scrollText: '<i class="fa fa-angle-up"></i>', 104 easingType: 'linear', 105 scrollSpeed: 900, 106 animation: 'fade' 107 }); 108 109 /*==== Venubox ====*/ 110 $('.venobox').venobox({ 111 112 numeratio: true, 113 114 infinigall: true 115 116 }); 117 118 /*====== porfolio project active =======*/ 119 120 var witrbslick = $('.portfolio_porject_act'); 121 if(witrbslick.length > 0){ 122 witrbslick.slick({ 123 infinite: true, 124 autoplay: true, 125 autoplaySpeed: 2000, 126 speed: 1000, 127 slidesToShow: 4, 128 slidesToScroll: 1, 129 arrows: true, 130 dots: false, 131 responsive: [ 132 { 133 breakpoint: 1200, 134 settings: { 135 slidesToShow: 3, 136 slidesToScroll: 1, 137 } 138 }, 139 { 140 breakpoint: 992, 141 settings: { 142 slidesToShow: 3, 143 slidesToScroll: 1, 144 } 145 }, 146 { 147 breakpoint: 767, 148 settings: { 149 slidesToShow: 1, 150 slidesToScroll: 1, 151 } 152 } 153 ] 154 }); 155 } 156 157 /*==== testimonial area actve ====*/ 158 159 var witrbtslick = $('.testimonial_active'); 160 if(witrbtslick.length > 0){ 161 witrbtslick.slick({ 162 infinite: true, 163 autoplay: true, 164 autoplaySpeed: 3000, 165 speed: 1000, 166 slidesToShow: 2, 167 slidesToScroll: 1, 168 arrows: false, 169 dots: true, 170 responsive: [ 171 { 172 breakpoint: 1200, 173 settings: { 174 slidesToShow: 2, 175 slidesToScroll: 1, 176 } 177 }, 178 { 179 breakpoint: 992, 180 settings: { 181 slidesToShow: 2, 182 slidesToScroll: 1, 183 } 184 }, 185 { 186 breakpoint: 767, 187 settings: { 188 slidesToShow: 1, 189 slidesToScroll: 1, 190 } 191 } 192 ] 193 }); 194 } 195 196 /*==== testimonial area3 active ====*/ 197 198 $('.slider_active_top').slick({ 199 slidesToShow: 1, 200 slidesToScroll: 1, 201 autoplaySpeed: 3000, 202 speed: 700, 203 autoplay: true,
204 arrows: false, 205 fade: false, 206 asNavFor: '.slider_active_bottom_id2' 207 }); 208 $('.slider_active_bottom_id2').slick({ 209 slidesToShow: 3, 210 slidesToScroll: 1, 211 autoplaySpeed: 3000, 212 speed: 700, 213 autoplay: true, 214 asNavFor: '.slider_active_top', 215 dots: false, 216 vertical: true, 217 arrows: true, 218 verticalSwiping: true, 219 centerMode: false, 220 focusOnSelect: true 221 }); 222 223 224 /*==== Brand active ====*/ 225 226 var witrbslick = $('.brand_active'); 227 228 if(witrbslick.length > 0){ 229 230 witrbslick.slick({ 231 infinite: true, 232 autoplay: true, 233 default: true, 234 autoplaySpeed: 3000, 235 speed: 1000, 236 slidesToShow: 5, 237 slidesToScroll: 1, 238 arrows: true, 239 dots: false, 240 responsive: [ 241 { 242 breakpoint: 1200, 243 settings: { 244 slidesToShow: 5, 245 slidesToScroll: 1, 246 } 247 }, 248 { 249 breakpoint: 992, 250 settings: { 251 slidesToShow: 4, 252 slidesToScroll: 1, 253 } 254 }, 255 { 256 breakpoint: 767, 257 settings: { 258 slidesToShow: 2, 259 slidesToScroll: 1, 260 } 261 } 262 ] 263 }); 264 } 265 266 /*==== blog active ====*/ 267 268 var witrbslick = $('.blog_active'); 269 if(witrbslick.length > 0){ 270 witrbslick.slick({ 271 infinite: true, 272 autoplay: true, 273 autoplaySpeed: 3000, 274 speed: 1000, 275 slidesToShow: 3, 276 slidesToScroll: 1, 277 arrows: false, 278 dots: false, 279 responsive: [ 280 { 281 breakpoint: 1200, 282 settings: { 283 slidesToShow: 3, 284 slidesToScroll: 1, 285 } 286 }, 287 { 288 breakpoint: 992, 289 settings: { 290 slidesToShow: 2, 291 slidesToScroll: 1, 292 } 293 }, 294 { 295 breakpoint: 767, 296 settings: { 297 slidesToShow: 1, 298 slidesToScroll: 1, 299 } 300 } 301 ] 302 }); 303 } 304 305 /*==== blog grid active ====*/ 306 307 308 var witrbslick = $('.blog_grid_active'); 309 if(witrbslick.length > 0){ 310 witrbslick.slick({ 311 infinite: true, 312 autoplay: true, 313 autoplaySpeed: 3000, 314 speed: 1000, 315 slidesToShow: 3, 316 slidesToScroll: 1, 317 arrows: true, 318 dots: false, 319 responsive: [ 320 { 321 breakpoint: 1200, 322 settings: { 323 slidesToShow: 3, 324 slidesToScroll: 1, 325 } 326 }, 327 { 328 breakpoint: 992, 329 settings: { 330 slidesToShow: 2, 331 slidesToScroll: 1, 332 } 333 }, 334 { 335 breakpoint: 767, 336 settings: { 337 slidesToShow: 1, 338 slidesToScroll: 1, 339 } 340 } 341 ] 342 }); 343 } 344 345 /*==== blog sidebar active ====*/ 346 347 $('.blog_sidebar_image_act').slick({ 348 349 infinite: true, 350 autoplay: true, 351 autoplaySpeed: 3000, 352 speed: 1000, 353 slidesToShow: 1, 354 slidesToScroll: 1, 355 centerMode: true, 356 centerPadding: '', 357 arrows: false, 358 dots: false, 359 responsive: [ 360 { 361 breakpoint: 1200, 362 settings: { 363 slidesToShow: 1, 364 slidesToScroll: 1, 365 } 366 }, 367 { 368 breakpoint: 992, 369 settings: { 370 slidesToShow: 1, 371 slidesToScroll: 1, 372 } 373 }, 374 { 375 breakpoint: 768, 376 settings: { 377 slidesToShow: 1, 378 slidesToScroll: 1, 379 } 380 } 381 // You can unslick at a given breakpoint now by adding: 382 // settings: "unslick" 383 // instead of a settings object 384 ] 385 }); 386 387 /*==== team area3 active ====*/ 388 389 var witrbslick = $('.team3_active'); 390 if(witrbslick.length > 0){ 391 witrbslick.slick({ 392 infinite: true, 393 autoplay: true, 394 autoplaySpeed: 3000, 395 speed: 700, 396 slidesToShow: 3, 397 slidesToScroll: 1, 398 arrows: true, 399 centerMode: false, 400 centerPadding: '', 401 dots: false, 402 responsive: [ 403 { 404 breakpoint: 1200, 405 settings: { 406 slidesToShow: 3, 407 slidesToScroll: 1, 408 } 409 }, 410 { 411 breakpoint: 992, 412 settings: { 413 slidesToShow: 2, 414 slidesToScroll: 1, 415 } 416 }, 417 { 418 breakpoint: 767, 419 settings: { 420 slidesToShow: 1, 421 slidesToScroll: 1, 422 } 423 } 424 ] 425 }); 426 } 427 428 429 /*==== Portfolio Isotope ====*/ 430 431 if ($.fn.isotope) { 432 433 var $portfolio = $('.portfolio_active'); 434 435 $portfolio.isotope({ 436 437 itemSelector: '.grid-item', 438 439 filter: '*', 440 441 resizesContainer: true, 442 443 layoutMode: 'masonry', 444 445 transitionDuration: '0.8s' 446 447 }); 448 449 450 $('.filter_menu li').on('click', function() { 451 452 $('.filter_menu li').removeClass('current_menu_item'); 453 454 $(this).addClass('current_menu_item'); 455 456 var selector = $(this).attr('data-filter'); 457 458 $portfolio.isotope({ 459 460 filter: selector, 461 462 }); 463 464 }); 465 466 }; 467 468 /*==== call to action ====*/ 469 470 window.mc4wp = window.mc4wp || { 471 listeners: [], 472 forms: { 473 on: function(evt, cb) { 474 window.mc4wp.listeners.push( 475 { 476 event : evt, 477 callback: cb 478 } 479 ); 480 } 481 } 482 } 483 484 /*==== counter active ====*/ 485 486 $('.counter').counterUp({ 487 delay: 10, 488 time: 1000 489 }); 490 491 492 493})(jQuery); 494 495 496 497
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.