PageSourceSearch

https://eaaktech.com/assets/js/scripts.js

js eaaktech.com collected 2026-10-02 00:29:12 UTC 48,002 bytes, 1,370 lines download raw bytes

1//   all ------------------
2function initZonar() {
3    "use strict";
4    firstLoad();
5    function firstLoad() {
6        var counter = 0;
7        var count = 0;
8        var i = setInterval(function () {
9            $(".loader_count").html(count);
10            counter++;
11            count++;
12            if (counter == 100) {
13                clearInterval(i);
14            }
15        }, 13);
16        TweenMax.to($(".loading-text-container"), 1.0, {
17            force3D: true,
18            y: "-150px",
19            opacity: 0,
20            ease: Expo.easeInOut,
21            delay: 1.2,
22            onComplete: function () {
23                TweenMax.to($(".loader-anim"), 0.8, {
24                    force3D: true,
25                    bottom: "100%",
26                    ease: Expo.easeInOut,
27
28                });
29                TweenMax.to($(".loader-anim2"), 0.8, {
30                    force3D: true,
31                    bottom: "100%",
32                    delay: 0.2,
33                    ease: Expo.easeInOut,
34                    onComplete: function () {
35                        $(".loader").fadeOut(1);
36                    }
37                });
38            }
39        });
40        var chdpt = $(".content").data("pagetitle");
41        $(".page-subtitle span").text(chdpt);
42    }
43    //   Background image ------------------
44    var a = $(".bg");
45    a.each(function (a) {
46        if ($(this).attr("data-bg")) $(this).css("background-image", "url(" + $(this).data("bg") + ")");
47    });
48    //   Isotope------------------
49    function n() {
50        if ($(".gallery-items").length) {
51            var $grid = $(".gallery-items").isotope({
52                singleMode: true,
53                columnWidth: ".grid-sizer, .grid-sizer-second, .grid-sizer-three",
54                itemSelector: ".gallery-item, .gallery-item-second, .gallery-item-three",
55                transformsEnabled: true,
56                transitionDuration: "700ms",
57            });
58            $grid.imagesLoaded(function () {
59                $grid.isotope("layout");
60            });
61            $(".gallery-filters").on("click", "a.gallery-filter", function (b) {
62                b.preventDefault();
63                var c = $(this).attr("data-filter");
64                setTimeout(function () {
65                    $grid.isotope({
66                        filter: c
67                    });
68                }, 200);
69
70                $(".gallery-filters a").removeClass("gallery-filter-active");
71                $(this).addClass("gallery-filter-active");
72                TweenLite.to(window, 0.2, {
73                    scrollTo: {
74                        y: $("#port-scroll"),
75                        offsetY: 70,
76                        autoKill: false,
77
78                    }
79                });
80            });
81            var gat = $(".gallery-filter-active").text();
82        }
83        $(".gallery-items").isotope("on", "layoutComplete", function (a, b) {
84            var b = a.length;
85            $(".num-album span").html(b);
86        });
87        var b = $(".gallery-item").length;
88        $(".all-album , .num-album span").html(b);
89    }
90    n();
91    //   Isotope------------------
92    function inithorizontalPortfolio() {
93        if ($("#portfolio_horizontal_container").length) {
94            var d = $("#portfolio_horizontal_container");
95            d.imagesLoaded(function (a, b, e) {
96                var f = {
97                    itemSelector: ".portfolio_item",
98                    layoutMode: "packery",
99                    packery: {
100                        isHorizontal: true,
101                        gutter: 0
102                    },
103                    resizable: true,
104                    transformsEnabled: true,
105                    transitionDuration: "700ms"
106                };
107                var g = {
108                    itemSelector: ".portfolio_item",
109                    layoutMode: "packery",
110                    packery: {
111                        isHorizontal: false,
112                        gutter: 0
113                    },
114                    resizable: true,
115                    transformsEnabled: true,
116                    transitionDuration: "700ms"
117                };
118                if ($(window).width() < 764) {
119                    d.isotope(g);
120                    d.isotope("layout");
121                    d.removeAttr('style');
122                    $(".horizontal-grid-wrap").getNiceScroll().remove();
123                } else {
124                    d.isotope(f);
125                    d.isotope("layout");
126                    $(".horizontal-grid-wrap").niceScroll({
127                        cursorwidth: "2px",
128                        cursorborder: "none",
129                        cursorborderradius: "0px",
130                        touchbehavior: true,
131                        autohidemode: false,
132                        cursorcolor: "#F57500",
133                        bouncescroll: false,
134                        scrollspeed: 120,
135                        mousescrollstep: 90,
136                        grabcursorenabled: true,
137                        horizrailenabled: true,
138                        preservenativescrolling: true,
139                        cursordragontouch: false,
140                        railpadding: {
141                            top: -70,
142                            right: 0,
143                            left: 0,
144                            bottom: -4
145                        }
146                    });
147                }
148                $(".horizontal-grid-wrap").scroll(function () {
149                    var winScroll = $("#portfolio_horizontal_container").width() - $(".horizontal-grid-wrap").width();
150                    var width = $(".horizontal-grid-wrap").scrollLeft();
151                    var scrolled = ((width / winScroll) * 100);
152                    $(".js-progress-bar").css("stroke-dashoffset", 100 - (scrolled));
153                });
154                $(".gallery-filters").on("click", "a", function (a) {
155                    a.preventDefault();
156                    $(".horizontal-grid-wrap").animate({
157                        scrollLeft: 0
158                    }, 500);					
159                    var b = $(this).attr("data-filter");
160                    setTimeout(function () {
161                        d.isotope({
162                            filter: b
163                        });
164                    }, 600);
165                    $(".gallery-filters a").removeClass("gallery-filter-active");
166                    $(this).addClass("gallery-filter-active");
167                    if ($(window).width() < 778) {
168                        setTimeout(function () {
169                            TweenLite.to($(window), 0.7, {
170                                scrollTo: {
171                                    y: $("#portfolio_horizontal_container"),
172                                    offsetY: 70,
173                                    autoKill: false,
174                                }
175                            });
176                        }, 1200);
177                    }
178                });
179                d.isotope("on", "layoutComplete", function (a, b) {
180                    var b = a.length,
181                        numalb = $(".num-album");
182                    numalb.html(b);
183                });
184                var j = $(".portfolio_item").length;
185                $(".all-album , .num-album").html(j);
186            });
187        }
188    }
189    inithorizontalPortfolio();
190    //  swiper ------------------
191    if ($(".home-half-slider").length > 0) {
192        var j = new Swiper(".fs-gallery-wrap .swiper-container", {
193            preloadImages: false,
194            loop: true,
195            grabCursor: true,
196            centeredSlides: false,
197            resistance: true,
198            resistanceRatio: 0.6,
199            speed: 2400,
200            spaceBetween: 0,
201            parallax: false,
202            effect: "slide",
203            mousewheel: true,
204			init:false,
205            pagination: {
206                el: '.hero-slider-wrap_pagination',
207                clickable: true,
208            },
209            navigation: {
210                nextEl: '.hsc-next',
211                prevEl: '.hsc-prev',
212            },
213            autoplay: {
214                delay: 2500,
215                disableOnInteraction: false
216            },
217        });
218
219        j.on('slideChange', function () {
220            var csli = j.realIndex + 1,
221                curnum = $('.current'),
222                curnumanm = $('.hs_counter .current');
223            TweenMax.to(curnumanm, 0.2, {
224                force3D: true,
225                y: -10,
226                opacity: 0,
227                ease: Power2.easeOut,
228                onComplete: function () {
229                    TweenMax.to(curnumanm, 0.1, {
230                        force3D: true,
231                        y: 10
232                    });
233                    curnum.html('0' + csli);
234                }
235            });
236            TweenMax.to(curnumanm, 0.2, {
237                force3D: true,
238                y: 0,
239                delay: 0.3,
240                opacity: 1,
241                ease: Power2.easeOut
242            });
243        });
244        j.on("slideChangeTransitionStart", function () {
245            $(".hc_dec").addClass("start_anim");
246            $(".slider-progress-bar").removeClass("act-slider");
247        });
248        j.on("slideChangeTransitionEnd", function () {
249            $(".hc_dec").removeClass("start_anim");
250            $(".slider-progress-bar").addClass("act-slider");
251        });
252        var imageSwiper = new Swiper(".hero-slider-img .swiper-container", {
253            preloadImages: false,
254            loop: true,
255            resistance: true,
256            parallax: true,
257            effect: "slide",
258        });
259        j.controller.control = imageSwiper;
260        imageSwiper.controller.control = j;
261        var autobtn = $(".play-pause_slider");
262        function autoEnd() {
263            autobtn.removeClass("auto_actslider");
264            j.autoplay.stop();
265        }
266        function autoStart() {
267            autobtn.addClass("auto_actslider");
268            j.autoplay.start();
269        }
270        autobtn.on("click", function () {
271            if (autobtn.hasClass("auto_actslider")) autoEnd();
272            else autoStart();
273            return false;
274        });
275        setTimeout(function () {
276            j.init();
277            var totalSlides = j.slides.length - 2;
278            $('.total').html('0' + totalSlides);
279        }, 2000);
280    }
281    if ($(".testimonilas-carousel").length > 0) {
282        var j2 = new Swiper(".testimonilas-carousel .swiper-container", {
283            preloadImages: false,
284            slidesPerView: 2,
285            spaceBetween: 10,
286            loop: true,
287            grabCursor: true,
288            mousewheel: false,
289            centeredSlides: true,
290            pagination: {
291                el: '.tc-pagination',
292                clickable: true,
293            },
294            navigation: {
295                nextEl: '.tc-button-next',
296                prevEl: '.tc-button-prev',
297            },
298            breakpoints: {
299
300                800: {
301                    slidesPerView: 1,
302                },
303            }
304        });
305    }
306    //   sliders ------------------
307    function setUpCarouselSlider() {
308        $('.fw-carousel .swiper-wrapper').addClass('no-horizontal-slider');
309        if ($(".fw-carousel").length > 0) {
310            if ($(window).width() >= 764 && j2 == undefined) {
311                var totalSlides2 = $(".fw-carousel .swiper-slide").length - 1;
312                var mouseContr = $(".fw-carousel").data("mousecontrol");
313                var j2 = new Swiper(".fw-carousel .swiper-container", {
314                    preloadImages: false,
315                    loop: false,
316                    freeMode: false,
317                    slidesPerView: 'auto',
318                    spaceBetween: 10,
319                    grabCursor: true,
320                    mousewheel: mouseContr,
321                    speed: 1400,
322                    direction: "horizontal",
323                    scrollbar: {
324                        el: '.hs_init',
325                        draggable: true,
326                    },
327                    effect: "slide",
328                    pagination: {
329                        el: '.fw-carousel-counter',
330                        type: 'fraction',
331                        renderFraction: function (currentClass) {
332                            return '<span class="' + currentClass + '"></span>' + '' + '<span class="j2total">
332' + totalSlides2 + '</span>';
333                        }
334                    },
335                    navigation: {
336                        nextEl: '.fw-carousel-button-next',
337                        prevEl: '.fw-carousel-button-prev',
338                    },
339                    on: {
340                        resize: function () {
341                            if ($(window).width() < 640) {
342                                j2.update();
343                            }
344                        },
345                    }
346                });
347                $(".fw-carousel.thumb-contr .swiper-slide img").each(function () {
348                    var ccasdc = $(this).attr("src");
349                    $("<div class='thumb-img'><img src='" + ccasdc + "'></div>").appendTo(".thumbnail-wrap");
350                });
351                $(".thumb-img").on('click', function () {
352                    j2.slideTo($(this).index(), 500);
353                    hideThumbnails();
354                });
355            }
356            if ($(window).width() < 640 && j2 !== undefined) {
357                j2.destroy();
358                j2 = undefined;
359                $('.fw-carousel .swiper-wrapper').removeAttr('style').addClass('no-horizontal-slider');
360                $('.swiper-slide').removeAttr('style');
361            }
362        }
363    }
364    setUpCarouselSlider();
365    if ($(".fs-slider").length > 0) {
366        $(".fs-slider.thumb-contr .swiper-slide .bg").each(function () {
367            var ccasdc3 = $(this).attr("data-bg");
368            $("<div class='thumb-img'><img src='" + ccasdc3 + "'></div>").appendTo(".thumbnail-wrap");
369        });
370        $(".thumb-img").on('click', function () {
371            j3.slideTo($(this).index() + 1, 1);
372            hideThumbnails();
373        });
374        var totalSlides4 = $(".fs-slider .swiper-slide").length;
375        $('.hsc_total').html('0' + totalSlides4);
376        var mouseContr2 = $(".fs-slider").data("mousecontrol2");
377        var j3 = new Swiper(".fs-slider .swiper-container", {
378            preloadImages: true,
379            loop: true,
380            grabCursor: true,
381            speed: 1400,
382            spaceBetween: 0,
383            effect: "slide",
384				init:false,
385            mousewheel: mouseContr2,
386            pagination: {
387                el: '.fs-slider-wrap_pagination',
388                clickable: true,
389            },
390            navigation: {
391                nextEl: '.fsc-next',
392                prevEl: '.fsc-prev',
393            },
394            autoplay: {
395                delay: 3500,
396                disableOnInteraction: false
397            },
398        });
399        $('.hsc_counter span').html('01');
400        j3.on('slideChange', function () {
401            var csli3 = j3.realIndex + 1,
402                curnum3 = $('.hsc_counter span');
403            curnum3.html('0' + csli3);
404        });
405        j3.on("slideChangeTransitionStart", function () {
406            $(".slider-progress-bar").removeClass("act-slider");
407        });
408        j3.on("slideChangeTransitionEnd", function () {
409            $(".slider-progress-bar").addClass("act-slider");
410        });
411        var autobtn2 = $(".play-pause_slider2");
412        function autoEnd2() {
413            autobtn2.removeClass("auto_actslider2");
414            j3.autoplay.stop();
415        }
416        function autoStart2() {
417            autobtn2.addClass("auto_actslider2");
418            j3.autoplay.start();
419        }
420        autobtn2.on("click", function () {
421            if (autobtn2.hasClass("auto_actslider2")) autoEnd2();
422            else autoStart2();
423            return false;
424        });
425        setTimeout(function () {
426            j3.init();
427        }, 2000);
428    }
429    if ($(".center-carousel").length > 0) {
430        var j2 = new Swiper(".center-carousel .swiper-container", {
431            preloadImages: true,
432            slidesPerView: 'auto',
433            spaceBetween: 10,
434            loop: true,
435            grabCursor: true,
436            mousewheel: false,
437            centeredSlides: true,
438            autoHeight: false,
439            pagination: {
440                el: '.ss-slider-pagination',
441                clickable: true,
442            },
443            navigation: {
444                nextEl: '.ccsw-next',
445                prevEl: '.ccsw-prev',
446            },
447        });
448    }
449    if ($(".single-slider").length > 0) {
450        var j2 = new Swiper(".single-slider .swiper-container", {
451            preloadImages: false,
452            slidesPerView: 1,
453            spaceBetween: 0,
454            loop: true,
455            autoHeight: true,
456            grabCursor: true,
457            mousewheel: false,
458            pagination: {
459                el: '.ss-slider-pagination',
460                clickable: true,
461            },
462            navigation: {
463                nextEl: '.ss-slider-cont-next',
464                prevEl: '.ss-slider-cont-prev',
465            },
466        });
467    }
468    if ($(".slideshow-container_wrap").length > 0) {
469        var ms1 = new Swiper(".slideshow-container_wrap .swiper-container", {
470            preloadImages: false,
471            loop: true,
472            speed: 1400,
473            spaceBetween: 0,
474            effect: "fade",
475			init:false,
476            autoplay: {
477                delay: 2500,
478                disableOnInteraction: false
479            },
480            pagination: {
481                el: '.fcwc-pagination',
482                clickable: true,
483            },
484        });
485        setTimeout(function () {
486            ms1.init();
487        }, 2000);
488    }
489    if ($(".hero-carousel ").length > 0) {
490        var totalSlides3 = $(".hero-carousel .swiper-slide").length;
491        var heroCarusel = new Swiper(".hero-carousel .swiper-container", {
492            preloadImages: false,
493            loop: true,
494            centeredSlides: true,
495            freeMode: false,
496            slidesPerView: 3,
497            spaceBetween: 6,
498            grabCursor: true,
499            mousewheel: true,
500            parallax: true,
501            speed: 1400,
502            effect: "slide",
503			init:false,
504            autoplay: {
505                delay: 2500,
506                disableOnInteraction: false
507            },
508            pagination: {
509                el: '.fs-slider-wrap_pagination',
510                clickable: true,
511            },
512            navigation: {
513                nextEl: '.ss-slider-cont-next',
514                prevEl: '.ss-slider-cont-prev',
515            },
516            breakpoints: {
517                768: {
518                    slidesPerView: 2
519                },
520                640: {
521                    slidesPerView: 1,
522                    centeredSlides: false,
523                },
524            }
525        });
526        $('.hsc_counter span').html('01');
527		$('.hsc_total').html('0' + totalSlides3);
528        heroCarusel.on('slideChange', function () {
529            var csli2 = heroCarusel.realIndex + 1,
530                curnum2 = $('.hsc_counter span');
531            curnum2.html('0' + csli2);
532        });
533
534        heroCarusel.on("slideChangeTransitionStart", function () {
535            $(".slider-progress-bar").removeClass("act-slider");
536        });
537        heroCarusel.on("slideChangeTransitionEnd", function () {
538            $(".slider-progress-bar").addClass("act-slider");
539        });
540        setTimeout(function () {
541            heroCarusel.init();
542        }, 2000);
543    }
544    if ($(".grid-carousel ").length > 0) {
545        var totalSlides2 = $(".grid-carousel .swiper-slide").length;
546        var gridCarusel = new Swiper(".grid-carousel .swiper-container", {
547            preloadImages: true,
548            loop: true,
549            centeredSlides: false,
550            freeMode: false,
551            slidesPerView: 2,
552            spaceBetween: 4,
553            grabCursor: true,
554            mousewheel: false,
555            parallax: false,
556            speed: 1400,
557            navigation: {
558                nextEl: '.gc-slider-cont-next',
559                prevEl: '.gc-slider-cont-prev',
560            },
561            breakpoints: {
562                768: {
563                    slidesPerView: 2,
564                },
565                640: {
566                    slidesPerView: 1,
567                },
568            }
569        });
570    }
571    //   lightGallery------------------
572    function lightGalleryInit() {
573        $(".image-popup").lightGallery({
574            selector: "this",
575            cssEasing: "cubic-bezier(0.25, 0, 0.25, 1)",
576            download: false,
577            counter: false
578        });
579        var o = $(".lightgallery"),
580            p = o.data("looped");
581        o.lightGallery({
582            selector: ".lightgallery a.popup-image",
583            cssEasing: "cubic-bezier(0.25, 0, 0.25, 1)",
584            download: false,
585            loop: false,
586            counter: false
587        });
588        $('#html5-videos').lightGallery({
589            selector: 'this'
590        });
591        $(".dynamic-gal").on('click', function () {
592            var dynamicgal = eval($(this).attr("data-dynamicPath"));
593            $(this).lightGallery({
594                dynamic: true,
595                dynamicEl: dynamicgal,
596                download: false,
597                loop: false,
598                counter: false
599            });
600
601        });
602    }
603    lightGalleryInit();
604    //   appear------------------
605    $(".stats").appear(function () {
606        $(".num").countTo();
607    });
608    $(".skillbar-box").appear(function () {
609        $(this).find("div.skillbar-bg").each(function () {
610            $(this).find(".custom-skillbar").delay(600).animate({
611                width: $(this).attr("data-percent")
612            }, 1500);
613        });
614    });
615    $(".piechart-holder").appear(function () {
616        $(this).find(".chart").each(function () {
617            var cbc = $(".piechart-holder").attr("data-skcolor");
618            $(".chart").easyPieChart({
619                barColor: cbc,
620                trackColor: "#eee",
621                scaleColor: "#eee",
622                size: "70",
623                lineWidth: "12",
624                lineCap: "butt",
625                animate: 3500,
626                easing: "easeInBounce",
627                onStep: function (a, b, c) {
628                    $(this.el).find(".percent").text(Math.round(c));
629                }
630            });
631        });
632    });
633    var ssl_total = $("section.scroll_sec").length;
634    $(".sc_total").text("0" + ssl_total);
635    // scroll nav ------------------
636    $(".page-scroll-nav_wrap ").singlePageNav({
637        filter: ":not(.external)",
638        updateHash: false,
639        offset: 70,
640        threshold: 120,
641        speed: 1200,
642        currentClass: "act-sec"
643    });
644    //   scroll to------------------
645    $(".custom-scroll-link").on("click", function () {
646        var a = 80;
647        if (location.pathname.replace(/^\//, "") === this.pathname.replace(/^\//, "") || location.hostname === this.hostname) {
648            var b = $(this.hash);
649            b = b.length ? b : $("[name=" + this.hash.slice(1) + "]");
650            if (b.length) {
651                TweenLite.to($("html,body"), 1, {
652                    scrollTo: {
653                        y: b.offset().top,
654                        offsetY: 80,
655                        autoKill: false
656                    }
657                });
658                return false;
659
660            }
661        }
662    });
663    $(".to-top").on("click", function () {
664        TweenLite.to(window, 2, {
665            scrollTo: {
666                y: 0,
667                offsetY: 0,
668                autoKill: false
669            }
670        });
671    });
672    // progressBar ------------------
673    var progressBar = $(".js-progress-bar");
674    var $window = $(window);
675    $window.on("scroll", function (a) {
676        var a = $(document).height();
677        var b = $(window).height();
678        var c = $(window).scrollTop();
679        var d = c / (a - b) * 100;
680        progressBar.css("stroke-dashoffset", 100 - (d));
681    });
682    $('.hero-decor-let').rotaterator({
683        fadeSpeed: 500,
684        pauseSpeed: 1200
685    });
686    var $window = $(window);
687    // Styles ------------------
688    function csselem() {
689        $(".half-slider-item").css({
690            height: $(".half-slider-wrap").outerHeight(true)
691        });
692        $(".half-slider-img-item").css({
693            height: $(".half-slider-img").outerHeight(true)
694        });
695        $(".fs-slider-item").css({
696            height: $(".fs-slider-wrap").outerHeight(true) - 6 + "px"
697        });
698        $(".ms-item_fs").css({
699            height: $(".slideshow-container_wrap").outerHeight(true)
700        });
701        $(".horizontal-grid-wrap").css({
702            height: $(".hor-content_padd").outerHeight(true) - 75 + "px"
703        });
704        $(".fw-carousel .swiper-container").css({
705            height: $(".fw-carousel").outerHeight(true)
706        });
707    }
708    csselem();
709    $window.resize(function () {
710        csselem();
711        inithorizontalPortfolio();
712    });
713    //   accordion ------------------
714    $(".accordion a.toggle").on("click", function (a) {
715        a.preventDefault();
716        $(".accordion a.toggle").removeClass("act-accordion");
717        $(this).addClass("act-accordion");
718        if ($(this).next('div.accordion-inner').is(':visible')) {
719            $(this).next('div.accordion-inner').slideUp();
720        } else {
721            $(".accordion a.toggle").next('div.accordion-inner').slideUp();
722            $(this).next('div.accordion-inner').slideToggle();
723        }
724    });
725    var coninw = $(".contact-info-wrap"),
726        coninbtn = $(".contact-info-btn");
727    function showConInfo() {
728        coninw.addClass("vis-coninfwrap");
729        coninbtn.removeClass("isconin-btn_vis");
730    }
731    function hideConInfo() {
732        coninw.removeClass("vis-coninfwrap");
733        coninbtn.addClass("isconin-btn_vis");
734    }
735    coninbtn.on("click", function () {
736        if ($(this).hasClass("isconin-btn_vis")) showConInfo();
737        else hideConInfo();
738    });
739    $(".close_ciw").on("click", function (e) {
740        e.preventDefault();
741        hideConInfo();
742    });
743    //   nicescroll ------------------
744    $(".proces-details-content-wrap").niceScroll({
745        cursorwidth: "2px",
746        cursorborder: "none",
747        cursorborderradius: "0px",
748        cursorcolor: "#F57500",
749        zindex: "10",
750        background: "rgba(255,255,255,0.1)",
751        autohidemode: false,
752    });
753    $(".hidden-contact_form-wrap_inner").niceScroll({
754        cursorwidth: "0",
755        cursorborder: "none",
756        cursorborderradius: "0px",
757    });
758    $(".initscroll").niceScroll({
759        cursorwidth: "2px",
760        cursorborder: "none",
761        cursorborderradius: "0px",
762        cursorcolor: "#F57500",
763        zindex: "2",
764        background: "#eee",
765        autohidemode: false,
766    });
767    $(".show-phdc").on("click", function () {
768        var pdch = $(this).parent(".process-details").find(".proces-details-content");
769        TweenMax.to(pdch, 1.2, {
770            force3D: true,
771            bottom: 0,
772            ease: Expo.easeInOut
773        });
774    });
775    $(".close-hidden_pdc").on("click", function () {
776        var pdch = $(this).parents(".process-details").find(".proces-details-content");
777        TweenMax.to(pdch, 0.6, {
778            force3D: true,
779
780            bottom: "-100%",
781            ease: Expo.easeInOut
782        });
783    });
784    var thumbcont = $(".thumbnail-container"),
785        thumbItrm = $(".thumb-img"),
786        stbtn = $(".show_thumbnails");
787    function showThumbnails() {
788        TweenMax.to(thumbcont, 1.0, {
789            force3D: true,
790            top: 0,
791            ease: Expo.easeInOut,
792            onComplete: function () {
793                thumbItrm.addClass("visthumbnails");
794                setTimeout(function () {
795                    thumbcont.addClass("visthumbnails");
796                }, 200);
797
798            }
799        });
800        stbtn.removeClass("unvisthum");
801    }
802    function hideThumbnails() {
803        thumbcont.removeClass("visthumbnails");
804        thumbItrm.removeClass("visthumbnails");
805        TweenMax.to(thumbcont, 1.0, {
806            force3D: true,
807            delay: 0.2,
808            top: "100%",
809            ease: Expo.easeInOut,
810            onComplete: function () {
811                TweenMax.to(thumbcont, 0.1, {
812                    force3D: true,
813                    left: 0,
814                    top: "100%",
815                    ease: Expo.easeInOut
816                });
817            }
818        });
819        stbtn.addClass("unvisthum");
820    }
821    stbtn.on("click", function () {
822        if ($(this).hasClass("unvisthum")) showThumbnails();
823        else hideThumbnails();
824    });
825    function showDetails() {
826        $(".det-overlay").fadeIn(400);
827        TweenMax.to($(".hid-det-anim"), 0.8, {
828            force3D: true,
829            left: "0",
830            ease: Expo.easeInOut,
831            onComplete: function () {
832                TweenMax.to($(".fix-pr-det-dec2"), 0.5, {
833                    force3D: true,
834                    width: 0,
835                    ease: Expo.easeInOut
836                });
837                TweenMax.to($(".fix-pr-det-dec"), 0.8, {
838                    force3D: true,
839                    delay: 0.2,
840                    left: "100%",
841                    ease: Expo.easeInOut
842                });
843
844            }
845
846        });
847        $(".shibtn").removeClass("unvisthum2");
848        hideThumbnails();
849        $(".fw-carousel-wrap").addClass("viscale");
850    }
851    function hideDetails() {
852        $(".det-overlay").fadeOut(400);
853        TweenMax.to($(".hid-det-anim"), 0.8, {
854            force3D: true,
855            left: "-900px",
856            ease: Expo.easeInOut,
857            onComplete: function () {
858                TweenMax.to($(".fix-pr-det-dec2"), 0.1, {
859                    force3D: true,
860                    width: "150px",
861                    ease: Expo.easeInOut
862                });
863                TweenMax.to($(".fix-pr-det-dec"), 0.1, {
864                    force3D: true,
865
866                    left: "0",
867                    ease: Expo.easeInOut
868                });
869            }
870        });
871        $(".shibtn").addClass("unvisthum2");
872        $(".fw-carousel-wrap").removeClass("viscale");
873    }
874    $(".shibtn").on("click", function () {
875        if ($(this).hasClass("unvisthum2")) showDetails();
876        else hideDetails();
877    });
878    $(".act-closedet").on("click", function () {
879        hideDetails();
880    });
881    function hoverdirInit() {
882        $(".horizontal-grid-wrap .portfolio_item  , .gallery-items .gallery-item").each(function () {
883            $(this).hoverdir();
884        });
885    }
886    hoverdirInit();
887    //   cursor ------------------
888    $(".pr-det-container , .column-wrap").on({
889        mouseenter: function () {
890            $(".element-item").addClass("white_blur");
891        },
892        mouseleave: function () {
893            $(".element-item").removeClass("white_blur");
894        }
895    });
896    $(".column-wrap.dark-bg").on({
897        mouseenter: function () {
898            $(".element-item").removeClass("white_blur");
899        },
900        mouseleave: function () {
901            $(".element-item").removeClass("white_blur");
902        }
903    });
904    $("a , .btn ,   textarea,   input  , .leaflet-control-zoom , .aside-show_cf , .close-contact_form , .closedet_style ").on({
905        mouseenter: function () {
906            $(".element-item").addClass("elem_hover");
907        },
908        mouseleave: function () {
909            $(".element-item").removeClass("elem_hover");
910        }
911    });
912    $("  .swiper-slide ,  #portfolio_horizontal_container").on({
913        mouseenter: function () {
914            $(".element-item").addClass("slider_hover");
915        },
916        mouseleave: function () {
917            $(".element-item").removeClass("slider_hover");
918        }
919    });
920    $(".swiper-slide a , .next-project-swiper-link , #portfolio_horizontal_container a").on({
921        mouseenter: function () {
922            $(".element-item").removeClass("slider_hover");
923        },
924        mouseleave: function () {
925            $(".element-item").addClass("slider_hover");
926        }
927    });
928
929    $(".next-project-swiper-link").on({
930        mouseenter: function () {
931            $(".element-item").addClass("slider_linknext");
932        },
933        mouseleave: function () {
934            $(".element-item").removeClass("slider_linknext");
935        }
936    });
937    $(".nav-overlay , .det-overlay").on({
938        mouseenter: function () {
939            $(".element-item").addClass("close-icon");
940        },
941        mouseleave: function () {
942            $(".element-item").removeClass("close-icon");
943        }
944    });
945    //   Contact form------------------
946    $("#contactform").submit(function () {
947        var a = $(this).attr("action");
948        $("#message").slideUp(750, function () {
949            $("#message").hide();
950            $("#submit").attr("disabled", "disabled");
951            $.post(a, {
952                name: $("#name").val(),
953                email: $("#email").val(),
954                phone: $("#phone").val(),
955                subject: $('#subject').val(),
956                comments: $("#comments").val(),
957                verify: $('#verify').val()
958
959            }, function (a) {
960                document.getElementById("message").innerHTML = a;
961                $("#message").slideDown("slow");
962                $("#submit").removeAttr("disabled");
963                if (null != a.match("success")) $("#contactform").slideDown("slow");
964            });
965        });
966        return false;
967    });
968    $("#contactform input, #contactform textarea").keyup(function () {
969        $("#message").slideUp(1500);
970    });
971	
972    $(".show_contact-form").on("click", function (e) {
973        e.preventDefault();
974        $(".content-inner").addClass("vis-con-form");
975    });
976    $(".close-contact_form").on("click", function () {
977        $(".content-inner").removeClass("vis-con-form");
978        $("#message").slideUp(500);
979        $(".custom-form").find("input[type=text], textarea").val("");
980    });
981    if ($(".video-holder-wrap").length > 0) {
982    function videoint() {
983        //   Video------------------
984        var v = $(".background-youtube-wrapper").data("vid");
985        var f = $(".background-youtube-wrapper").data("mv");
986        $(".background-youtube-wrapper").YTPlayer({
987            fitToBackground: true,
988            videoId: v,
989            pauseOnScroll: true,
990            mute: f,
991            callback: function () {
992                var a = $(".background-youtube-wrapper").data("ytPlayer").player;
993            }
994        });
995        var w = $(".background-vimeo").data("vim"),
996            bvc = $(".background-vimeo"),
997            bvmc = $(".media-container"),
998            bvfc = $(".background-vimeo iframe "),
999            vch = $(".video-container");
1000        bvc.append('<iframe src="//player.vimeo.com/video/' + w + '?background=1"  frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>');
1001        $(".video-holder").height(bvmc.height());
1002        if ($(window).width() > 1024) {
1003            if ($(".video-holder").length > 0)
1004                if (bvmc.height() / 9 * 16 > bvmc.width()) {
1005                    bvfc.height(bvmc.height()).width(bvmc.height() / 9 * 16);
1006                    bvfc.css({
1007                        "margin-left": -1 * $("iframe").width() / 2 + "px",
1008                        top: "-75px",
1009                        "margin-top": "0px"
1010                    });
1011                } else {
1012                    bvfc.width($(window).width()).height($(window).width() / 16 * 9);
1013                    bvfc.css({
1014                        "margin-left": -1 * $("iframe").width() / 2 + "px",
1015                        "margin-top": -1 * $("iframe").height() / 2 + "px",
1016                        top: "50%"
1017                    });
1018                }
1019        } else if ($(window).width() < 760) {
1020            $(".video-holder").height(bvmc.height());
1021            bvfc.height(bvmc.height());
1022        } else {
1023            $(".video-holder").height(bvmc.height());
1024            bvfc.height(bvmc.height());
1025        }
1026        vch.css("width", $(window).width() + "px");
1027        vch.css("height", Number(720 / 1280 * $(window).width()) + "px");
1028        if (vch.height() < $(window).height()) {
1029            vch.css("height", $(window).height() + "px");
1030            vch.css("width", Number(1280 / 720 * $(window).height()) + "px");
1031        }
1032    }
1033    videoint();
1034    }
1035    //   Blog filter ------------------
1036    $(".blog-btn").on("click", function () {
1037        $(this).parent(".blog-btn-filter").find("ul").slideToggle(500);
1038        return false;
1039    });
1040    //   mobile filter ------------------
1041    $(".act-filter").on("click", function () {
1042        $(".init_hidden_filter").slideToggle(300);
1043        return false;
1044    });
1045    $(".page-scroll-nav_wrap ul li a  , .gallery-filters a").on("click", function () {
1046        if ($(window).width() < 565) {
1047            $(".init_hidden_filter").delay(600).slideUp(300);
1048        }
1049    });
1050    //  menu------------------
1051    $("#menu").menu();
1052    $(".sliding-menu li a.nav").parent("li").addClass("submen-dec");
1053    var nbw = $(".nav-button"),
1054        nh = $(".nav-holder"),
1055        nhw = $(".nav-holder-wrap"),
1056        nho = $(".nav-overlay"),
1057        nhl = $(".nav-holder-wrap_line"),
1058        nnvw = $("nav.nav-inner"),
1059        nfw = $(".nav-footer"),
1060        nhwd = $(".nav-holder-wrap_dec");
1061    function showMenu() {
1062        nh.addClass("nh_vis");
1063        nho.fadeIn(500);
1064        TweenMax.to(nhwd, 0.6, {
1065            force3D: true,
1066            left: 0,
1067            ease: Expo.easeInOut
1068        });
1069        TweenMax.to(nfw, 0.6, {
1070            force3D: true,
1071            delay: 0.3,
1072
1073            bottom: 0,
1074            ease: Expo.easeInOut
1075        });
1076        TweenMax.to(nhl, 1.2, {
1077            force3D: true,
1078            delay: 0.3,
1079            top: 0,
1080            ease: Expo.easeInOut
1081        });
1082        TweenMax.to(nnvw, 0.8, {
1083            force3D: true,
1084            opacity: "1",
1085            x: 0,
1086            delay: 0.6,
1087            ease: Expo.easeInOut
1088        });
1089        nhw.removeClass("but-hol");
1090        nbw.addClass("cmenu");
1091    }
1092    function hideMenu() {
1093        TweenMax.to(nhl, 0.3, {
1094            force3D: true,
1095            top: "100%",
1096            ease: Expo.easeInOut,
1097            onComplete: function () {
1098                TweenMax.to(nfw, 0.2, {
1099                    force3D: true,
1100                    bottom: "-70px",
1101                    ease: Expo.easeInOut
1102                });
1103                TweenMax.to(nnvw, 0.4, {
1104                    force3D: true,
1105                    opacity: "0",
1106                    x: "50px",
1107                    ease: Expo.easeInOut,
1108                    onComplete: function () {
1109                        TweenMax.to(nhwd, 0.4, {
1110                            force3D: true,
1111                            left: "100%",
1112                            ease: Expo.easeInOut
1113                        });
1114                        TweenMax.to($(".nhw-col"), 0.4, {
1115                            force3D: true,
1116                            opacity: "0",
1117                            transform: "  rotateX(80deg)",
1118                            ease: Expo.easeInOut
1119                        });
1120                        nh.removeClass("nh_vis");
1121                        nho.fadeOut(500);
1122                    }
1123                });
1124            }
1125        });
1126        nhw.addClass("but-hol");
1127        nbw.removeClass("cmenu");
1128    }
1129    nbw.on("click", function () {
1130        if (nhw.hasClass("but-hol")) showMenu();
1131        else hideMenu();
1132    });
1133    nho.on("click", function () {
1134        hideMenu();
1135    });
1136    // Share   ------------------
1137    $(".share-container").share({
1138        networks: ['facebook', 'pinterest', 'twitter', 'linkedin', 'tumblr']
1139    });
1140    var shrcn = $(".share-container"),
1141        swra = $(".share-wrapper"),
1142        clsh = $(".close-share-btn"),
1143        shic = $(".share-icon"),
1144        ssbtn = $(".showshare");
1145    function showShare() {
1146        ssbtn.addClass("uncl-share");
1147        shrcn.removeClass("isShare");
1148        TweenMax.to(swra, 0.6, {
1149            force3D: false,
1150            width: "225px",
1151            ease: Expo.easeInOut,
1152            onComplete: function () {
1153                TweenMax.to(clsh, 0.4, {
1154                    force3D: true,
1155                    right: "0",
1156
1157                });
1158                shic.each(function (a) {
1159                    var boi = $(this);
1160                    setTimeout(function () {
1161                        TweenMax.to(boi, 1.0, {
1162                            force3D: false,
1163                            opacity: "1"
1164                        });
1165                    }, 130 * a);
1166                });
1167            }
1168        });
1169    }
1170    function hideShare() {
1171        ssbtn.removeClass("uncl-share");
1172        shrcn.addClass("isShare");
1173        TweenMax.to($(".share-icon"), 1.0, {
1174            force3D: false,
1175            opacity: "0"
1176        });
1177        TweenMax.to(clsh, 0.4, {
1178            force3D: true,
1179            right: "-75px",
1180            onComplete: function () {
1181                TweenMax.to(swra, 0.6, {
1182                    force3D: false,
1183                    delay: 0.2,
1184                    width: "0",
1185                    ease: Expo.easeInOut
1186                });
1187            }
1188        });
1189    }
1190    clsh.on("click", function () {
1191        hideShare();
1192    });
1193    ssbtn.on("click", function () {
1194        if ($(".share-container").hasClass("isShare")) showShare();
1195        else hideShare();
1196    });
1197}
1198//   load animation------------------
1199$("<div class='page-load'><span class='pl-spinner'></span></div>").appendTo("#main");
1200$.fn.duplicate = function (a, b) {
1201    var c = [];
1202    for (var d = 0; d < a; d++) $.merge(c, this.clone(b).get());
1203    return this.pushStack(c);
1204};
1205$("<div class='pl-row'><span class='pl-row-anim'></span><span class='pl-row-anim2'></span></div>").duplicate(4).appendTo(".page-load");
1206function contentAnimShow() {
1207    $(".lg-backdrop , .lg-outer").remove();
1208    $(".nav-button").removeClass("cmenu");
1209    $(".showshare").removeClass("uncl-share");
1210    $(".page-load").fadeIn(1);
1211    $(".pl-row-anim2").each(function (index, element) {
1212        var tl = new TimelineLite();
1213        tl.to(element, 0.6, {
1214            force3D: true,
1215
1216            right: "0",
1217            ease: Expo.easeInOut
1218        }, index * 0.1)
1219    });
1220    $(".pl-row-anim").each(function (index, element) {
1221        var tl = new TimelineLite();
1222        tl.to(element, 0.8, {
1223            force3D: true,
1224
1225            right: "0",
1226            ease: Expo.easeInOut
1227        }, index * 0.1)
1228    });
1229    TweenMax.to($(".page-subtitle span"), 0.9, {
1230        force3D: true,
1231        y: -50,
1232        opacity: 0,
1233        delay: 0.7,
1234        ease: Power2.easeOut,
1235        onComplete: function () {
1236            TweenMax.to($(".page-subtitle span"), 0.1, {
1237                force3D: true,
1238                y: 50
1239            });
1240        }
1241    });
1242    setTimeout(function () {
1243        $("html, body").animate({
1244            scrollTop: 0
1245        }, {
1246            queue: true,
1247            duration: 10,
1248        });
1249    }, 1000);
1250}
1251function contentAnimHide() {
1252    var chdpt = $(".content").data("pagetitle");
1253    $(".page-subtitle span").text(chdpt);
1254    TweenMax.to($(".page-subtitle span"), 0.9, {
1255        force3D: true,
1256        y: 0,
1257        opacity: 1,
1258        delay: 0.8,
1259        ease: Power2.easeOut
1260    });
1261    $(".page-load").addClass("act_pl");
1262    $(".pl-spinner").addClass("act-loader");
1263    setTimeout(function () {
1264        $(".pl-spinner").removeClass("act-loader");
1265        $(".page-load").removeClass("act_pl");
1266        $(".pl-row-anim").each(function (index, element) {
1267            var tl = new TimelineLite();
1268            tl.to(element, 0.6, {
1269                force3D: true,
1270                left: "100%",
1271                ease: Expo.easeInOut
1272            }, index * 0.1)
1273        });
1274        $(".pl-row-anim2").each(function (index, element) {
1275            var tl = new TimelineLite();
1276            tl.to(element, 0.8, {
1277                force3D: true,
1278                left: "100%",
1279                ease: Expo.easeInOut
1280            }, index * 0.1)
1281        });
1282        setTimeout(function () {
1283            $(".page-load").fadeOut(1);
1284            TweenMax.to($(".pl-row-anim , .pl-row-anim2"), 0.0, {
1285                force3D: true,
1286                left: "0",
1287                right: "100%"
1288            });
1289
1290        }, 1200);
1291    }, 1500);
1292}
1293//   Video ------------------
1294function initvideo() {
1295    var a = {
1296        Android: function () {
1297            return navigator.userAgent.match(/Android/i);
1298        },
1299        BlackBerry: function () {
1300            return navigator.userAgent.match(/BlackBerry/i);
1301        },
1302        iOS: function () {
1303            return navigator.userAgent.match(/iPhone|iPad|iPod/i);
1304        },
1305        Opera: function () {
1306            return navigator.userAgent.match(/Opera Mini/i);
1307        },
1308        Windows: function () {
1309            return navigator.userAgent.match(/IEMobile/i);
1310        },
1311        any: function () {
1312            return a.Android() || a.BlackBerry() || a.iOS() || a.Opera() || a.Windows();
1313        }
1314    };
1315    trueMobile = a.any();
1316    if (trueMobile) $("  .background-vimeo , .background-youtube-wrapper ").remove();
1317}
1318if ($(".element-item").length > 0) {
1319    var mouse = {
1320        x: 0,
1321        y: 0
1322    };
1323    var pos = {
1324        x: 0,
1325        y: 0
1326    };
1327    var ratio = 0.15;
1328    var active = false;
1329    var ball = document.querySelector('.element-item');
1330    TweenLite.set(ball, {
1331        xPercent: -50,
1332        yPercent: -50
1333    });
1334    document.addEventListener("mousemove", mouseMove);
1335    function mouseMove(e) {
1336        var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
1337        mouse.x = e.pageX;
1338        mouse.y = e.pageY - scrollTop;
1339    }
1340    TweenMax.ticker.addEventListener("tick", updatePosition);
1341    function updatePosition() {
1342        if (!active) {
1343            pos.x += (mouse.x - pos.x) * ratio;
1344            pos.y += (mouse.y - pos.y) * ratio;
1345            TweenMax.set(ball, {
1346                x: pos.x,
1347                y: pos.y
1348            });
1349        }
1350    }
1351}
1352//   Init Ajax------------------
1353$(function () {
1354    $.coretemp({
1355        reloadbox: "#wrapper",
1356        outDuration: 700,
1357        inDuration: 200
1358    });
1359    readyFunctions();
1360    $(document).on({
1361        ksctbCallback: function () {
1362            readyFunctions();
1363        }
1364    });
1365});
1366//   Init All Functions------------------
1367function readyFunctions() {
1368    initvideo();
1369    initZonar();
1370}

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.