PageSourceSearch

https://rascalpowermobility.com/js/main.js

js rascalpowermobility.com collected 2026-10-09 23:35:25 UTC 75,054 bytes, 2,230 lines download raw bytes

1/*-----------------------------------------------------------------------------------
2
3    Theme Name: Crizal - Multipurpose Responsive Template + Admin
4    Description: Multipurpose Website Template + Admin
5    Author: Chitrakoot Web
6    Version: 4.0
7
8    /* ----------------------------------
9
10    JS Active Code Index
11            
12        01. Preloader
13        02. Sticky Header
14        03. Scroll To Top
15        04. Parallax
16        05. Video
17        06. Copy to clipboard
18        07. Wow animation - on scroll
19        08. Tab Effect
20        09. Resize function
21        10. FullScreenHeight function
22        11. ScreenFixedHeight function
23        12. FullScreenHeight and screenHeight with resize function
24        13. Chart
25        14. Sliders
26        15. Tabs
27        16. Popover
28        17. Tooltips
29        18. Current Year
30        19. Countdown
31        20. Counterup
32        21. Portfolio
33        
34    ---------------------------------- */    
35
36(function($) {
37
38    "use strict";
39
40    var $window = $(window);
41
42        /*------------------------------------
43            01. Preloader
44        --------------------------------------*/
45
46        $('#preloader').fadeOut('normall', function() {
47            $(this).remove();
48        });
49
50        /*------------------------------------
51            02. Sticky Header
52        --------------------------------------*/
53
54        $window.on('scroll', function() {
55            var scroll = $window.scrollTop();
56            var logochange = $(".navbar-brand img");
57            var logodefault = $(".navbar-brand.logodefault img");
58            if (scroll <= 50) {
59                $("header").removeClass("scrollHeader").addClass("fixedHeader");
60                logochange.attr('src', 'img/logos/logo-inner.png');
61                logodefault.attr('src', 'img/logos/logo.png');
62            } 
63            else {
64                $("header").removeClass("fixedHeader").addClass("scrollHeader");
65                logochange.attr('src', 'img/logos/logo.png');
66                logodefault.attr('src', 'img/logos/logo.png');
67            }
68        });
69
70        /*------------------------------------
71            03. Scroll To Top
72        --------------------------------------*/
73
74        const scrollTopPercentage = ()=> {
75            const scrollPercentage = () => {
76                const scrollTopPos = document.documentElement.scrollTop;
77                const calcHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;
78                const scrollValue = Math.round((scrollTopPos / calcHeight) * 100);
79                const scrollElementWrap = $(".scroll-top-percentage");
80
81                scrollElementWrap.css("background", `conic-gradient( #09b850 ${scrollValue}%, #14212B ${scrollValue}%)`);
82
83                if ( scrollTopPos > 100 ) {
84                    scrollElementWrap.addClass("active");
85                } else {
86                    scrollElementWrap.removeClass("active");
87                }
88
89                if( scrollValue < 96 ) {
90                    $("#scroll-value").text(`${scrollValue}%`);
91                } else {
92                    $("#scroll-value").html('<i class="fa-solid fa-angle-up"></i>');
93                }
94            }
95            window.onscroll = scrollPercentage;
96            window.onload = scrollPercentage;
97
98            // Back to Top
99            function scrollToTop() {
100                document.documentElement.scrollTo({
101                    top: 0,
102                    behavior: "smooth"
103                });
104            }
105
106            $(".scroll-top-percentage").on("click", scrollToTop);
107        }
108        scrollTopPercentage();
109
110        /*------------------------------------
111            04. Parallax
112        --------------------------------------*/
113
114        // sections background image from data background
115        var pageSection = $(".parallax,.bg-img");
116        pageSection.each(function(indx) {
117
118            if ($(this).attr("data-background")) {
119                $(this).css("background-image", "url(" + $(this).data("background") + ")");
120            }
121        });
122        
123        /*------------------------------------
124            05. Video
125        --------------------------------------*/
126
127        $('.story-video,.about-video').magnificPopup({
128            delegate: '.video',
129            type: 'iframe'
130        });
131
132        $('.popup-youtube').magnificPopup({
133                disableOn: 700,
134                type: 'iframe',
135                mainClass: 'mfp-fade',
136                removalDelay: 160,
137                preloader: false,
138                fixedContentPos: false
139        }); 
140        
141        /*------------------------------------
142            06. Copy to clipboard
143        --------------------------------------*/
144
145        if ($(".copy-clipboard").length !== 0) {
146            new ClipboardJS('.copy-clipboard');
147            $('.copy-clipboard').on('click', function() {
148                var $this = $(this);
149                var originalText = $this.text();
150                $this.text('Copied');
151                setTimeout(function() {
152                    $this.text('Copy')
153                    }, 2000);
154            });
155        };
156
157        $('.source-modal').magnificPopup({
158                type: 'inline',
159                mainClass: 'mfp-fade',
160                removalDelay: 160
161        });
162
163        /*------------------------------------
164            07. Wow animation - on scroll
165        --------------------------------------*/
166        
167        var wow = new WOW({
168            boxClass: 'wow', // default
169            animateClass: 'animated', // default
170            offset: 0, // default
171            mobile: false, // default
172            live: true // default
173        })
174        wow.init();
175
176        if ($(".tilt").length !== 0) {
177            $('.tilt').tilt({
178                maxTilt:        6,
179                perspective:    1000,   // Transform perspective, the lower the more extreme the tilt gets.
180                scale:          1,      // 2 = 200%, 1.5 = 150%, etc..
181                speed:          300,    // Speed of the enter/exit transition.
182                reset:          true   // If the tilt effect has to be reset on exit.
183            });
184        }
185
186        /*------------------------------------
187            08. Tab Effect
188        --------------------------------------*/
189
190        //Click on first li element
191        $( "#tab1" ).click(function() {
192        $( "#second, #third" ).fadeOut();
193        $( "#first" ).fadeIn(1000);
194        });
195
196        //Click on second li element
197        $( "#tab2" ).click(function() {
198        $( "#first, #third" ).fadeOut();
199        $( "#second" ).fadeIn(1000);
200        });
201
202        //Click on third li element
203        $( "#tab3" ).click(function() {
204        $( "#second, #first" ).fadeOut();
205        $( "#third" ).fadeIn(1000);
206        });
207
208        
209        /*------------------------------------
210            09. Resize function
211        --------------------------------------*/
212
213        $window.resize(function(event) {
214            setTimeout(function() {
215                SetResizeContent();
216            }, 500);
217            event.preventDefault();
218        });
219
220        /*------------------------------------
221            10. FullScreenHeight function
222        --------------------------------------*/
223
224        function fullScreenHeight() {
225            var element = $(".full-screen");
226            var $minheight = $window.height();
227            element.css('min-height', $minheight);
228        }
229
230        /*------------------------------------
231            11. ScreenFixedHeight function
232        --------------------------------------*/
233
234        function ScreenFixedHeight() {
235            var $headerHeight = $("header").height();
236            var element = $(".screen-height");
237            var $screenheight = $window.height() - $headerHeight;
238            element.css('height', $screenheight);
239        }
240
241        /*------------------------------------
242            12. FullScreenHeight and screenHeight with resize function
243        --------------------------------------*/        
244
245        function SetResizeContent() {
246            fullScreenHeight();
247            ScreenFixedHeight();
248        }
249
250        SetResizeContent();
251
252    // === when document ready === //
253    $(document).ready(function() {
254
255        /*------------------------------------
256            13. Chart
257        --------------------------------------*/        
258
259          // chart default
260          if ($("#chBar").length !== 0) {
261              var chBar = document.getElementById("chBar");
262              var chartData = {
263                labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
264                datasets: [{
265                    data: [350, 365, 425, 475, 525, 575, 625, 675, 725, 775, 825, 875, ],
266                    backgroundColor: ['rgba(28, 51, 65,0.8)', 'rgba(0, 135, 115,0.8)', 'rgba(107, 185, 131,0.8)', 'rgba(242, 201, 117,0.8)', 'rgba(237, 99, 83,0.8)', 'rgba(242, 190, 84,0.8)', 'rgba(240, 217, 207,0.8)', 'rgba(135, 174, 180,0.8)', 'rgba(21, 62, 92,0.8)', 'rgba(237, 85, 96,0.8)', 'rgba(201, 223, 241,0.8)', 'rgba(240, 217, 207,0.9)'],
267                }, ]
268              };
269              if (chBar) {
270                new Chart(chBar, {
271                    type: 'bar',
272                    data: chartData,
273                    options: {
274                        scales: {
275                            xAxes: [{
276                                barPercentage: 0.5,
277                                categoryPercentage: 1
278                            }],
279                            yAxes: [{
280                                ticks: {
281                                    beginAtZero: false
282                                }
283                            }]
284                        },
285                        legend: {
286                            display: false
287                        }
288                    }
289                });
290              }
291        }
292
293          // pie chart
294          if ($("#myPieChart").length !== 0) {
295            var ctx = document.getElementById('myPieChart').getContext('2d');
296            var myPieChart = new Chart(ctx,{
297                type: 'pie',
298                data: {
299                    labels: ["Red", "Blue", "Yellow", "Green"],
300                    datasets: [{
301                        data: [10, 15, 20, 30],
302                        backgroundColor: ['rgba(255, 99, 132, 0.8)', 'rgba(54, 162, 235, 0.8)', 'rgba(255, 206, 86, 0.8)','rgba(75, 192, 192, 0.8)'],
303                    }],
304                }
305            });
306        }
307
308        /*------------------------------------
309            14. Sliders
310        --------------------------------------*/
311
312        // testmonials-style1
313        $('.testmonials-style1').owlCarousel({
314            loop: false,
315            responsiveClass: true,
316            nav: true,
317            dots: false,
318            margin: 0,
319            smartSpeed:900,
320            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
321            responsive: {
322                0: {
323                    items: 1
324                },
325                600: {
326                    items: 1
327                },
328                1000: {
329                    items: 1
330                }
331            }
332        });
333
334        // testimonial-style2
335        $('.testimonial-style2').owlCarousel({
336            loop: false,
337            responsiveClass: true,
338            nav: false,
339            dots: true,
340            autoplay: true,
341            autoplayTimeout: 5000,
342            margin: 0,
343            smartSpeed:900,
344            responsive: {
345                0: {
346                    items: 1
347                },
348                768: {
349                    items: 1
350                },
351                1000: {
352                    items: 1
353                }
354            }
355        });  
356
357        // testimonial-style3
358        $('.testimonial-style3').owlCarousel({
359            loop: false,
360            responsiveClass: true,
361            nav: true,
362            dots: false,
363            margin: 0,
364            smartSpeed:900,
365            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
366            responsive: {
367                0: {
368                    items: 1
369                },
370                600: {
371                    items: 1
372                },
373                1000: {
374                    items: 1
375                }
376            }
377        });
378
379        // testimonial-style4
380        $('.testimonial-style4').owlCarousel({
381            loop: false,
382            responsiveClass: true,
383            items: 1,
384            nav: true,
385            dots: true,
386            margin: 0,
387            smartSpeed:900,
388            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
389            responsive: {
390                0: {
391                    items: 1,
392                    nav: false,
393                    dots: false
394                },              
395                768: {
396                    dots: false
397                }
398            }
399        });
400
401        // testmonial-style5
402        $('.testmonial-style5').owlCarousel({
403            loop: true,
404            responsiveClass: true,
405            nav: true,
406            dots: false,
407            smartSpeed:900,
408            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
409            responsive: {
410                0: {
411                    items: 1,
412                    margin: 10,
413                },
414                768: {
415                    items: 2,
416                    margin: 15,
417                },
418                992: {
419                    items: 2,
420                    margin: 40,
421                }
422            }
423        });
424
425        // testmonials-style6
426        $('.testmonials-style6 .owl-carousel').owlCarousel({
427            items:1,
428            loop:true,
429            margin: 15,
430            mouseDrag:false,
431            autoplay:true,
432            smartSpeed:900
433        });
434
435        // testimonial-style7
436        $('.testimonial-style7').owlCarousel({
437            loop: true,
438            responsiveClass: true,
439            nav: false,
440            dots: false,
441            margin: 0,
442            autoplay: true,
443            autoplayTimeout: 3000,
444            smartSpeed:900,
445            responsive: {
446                0: {
447                    items: 1
448                },
449                600: {
450                    items: 1
451                },
452                1000: {
453                    items: 1
454                }
455            }
456        });
457
458        // testmonials-style8
459        $('.testmonials-style8').owlCarousel({
460            loop: true,
461            responsiveClass: true,
462            nav: true,
463            dots: false,
464            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
465            smartSpeed:900,
466            responsive: {
467                0: {
468                    items: 1,
469                    margin: 10,
470                },
471                768: {
472                    items: 2,
473                    margin: 15,
474                },
475                992: {
476                    items: 2,
477                    margin: 40,
478                }
479            }
480        });     
481
482        // testimonial-style8
483        $('.testimonial-style8').owlCarousel({
484            loop: true,
485            responsiveClass: true,
486            nav: false,
487            dots: false,
488            margin: 0,
489            autoplay: true,
490            thumbs: true,
491            thumbsPrerendered: true,
492            autoplayTimeout: 5000,
493            smartSpeed:900,
494            responsive: {
495                0: {
496                    items: 1
497                },
498                600: {
499                    items: 1
500                },
501                1000: {
502                    items: 1
503                }
504            }
505        });
506
507        // testimonial-style9
508        $('.testimonial-style9').owlCarousel({
509            loop: true,
510            responsiveClass: true,
511            autoplay: true,
512            autoplayTimeout: 3000,
513            smartSpeed:500,
514            dots: false,
515            nav: false,
516            margin: 0,
517            smartSpeed:900,
518            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
519            responsive: {
520                0: {
521                    items: 1
522                },
523                768: {
524                    items: 2
525                },
526                992: {
527                    items: 2
528                },
529                1200: {
530                    items: 3
531                }
532            }
533        });
534
535        // testimonial-style10
536        $('.testimonial-style10').owlCarousel({
537            loop: false,
538            responsiveClass: true,
539            nav: false,
540            dots: true,
541            autoplay: true,
542            autoplayTimeout: 3000,
543            smartSpeed:900,
544            margin: 0,
545            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
546            responsive: {
547                0: {
548                    items: 1
549                },
550                768: {
551                    items: 1
552                },
553                992: {
554                    items: 2,
555                    margin: 45
556                },
557                1200: {
558                    items: 3,
559                    margin: 45
560                }
561            }
562        });
563
564        // testimonial-style11
565        $('.testimonial-style11').owlCarousel({
566            loop: true,
567            responsiveClass: true,
568            autoplay: true,
569            smartSpeed: 900,            
570            nav: false,
571            dots: true,
572            margin: 0,
573            responsive: {
574                0: {
575                    items: 1
576                },
577                768: {
578                    items: 1
579                },
580                992: {
581                    items: 1
582                }
583            }
584        });
585
586        // testimonial-style12
587        $('.testimonial-style12').owlCarousel({
588            loop: true,
589            responsiveClass: true,
590            autoplay: true,
591            smartSpeed: 900,            
592            nav: false,
593            dots: true,
594            margin: 0,
595            responsive: {
596                0: {
597                    items: 1
598                },
599                768: {
600                    items: 1
601                },
602                992: {
603                    items: 1
604                }
605            }
606        });
607
608        // testimonial-style13
609        $('.testimonial-style13').owlCarousel({
610            loop: true,
611            responsiveClass: true,
612            autoplay: true,
613            autoplayTimeout: 3000,
614            smartSpeed:500,
615            dots: false,
616            nav: false,
617            margin: 30,
618            smartSpeed:900,
619            responsive: {
620                0: {
621                    items: 1
622                },
623                768: {
624                    items: 2
625                },
626                1199: {
627                    items: 3
628                },
629                1599: {
630                    items: 4
631                }
632            }
633        });
634
635        // testimonial-block-01
636        $('.testimonial-block-01').owlCarousel({
637            loop: true,
638            responsiveClass: true,
639            nav: false,
640            dots: false,
641            autoplay: true,
642            autoplayTimeout: 5000,
643            margin: 0,
644            smartSpeed:900,
645            responsive: {
646                0: {
647                    items: 1
648                },
649                576: {
650                    items: 1
651                },
652                1200: {
653                    items: 2
654                }
655            }
656        });
657
658        // testimonial-02
659        $('.testimonial-02').owlCarousel({
660            loop: true,
661            responsiveClass: true,
662            nav: false,
663            dots: false,
664            margin: 0,
665            autoplay: true,
666            thumbs: true,
667            thumbsPrerendered: true,
668            autoplayTimeout: 5000,
669            smartSpeed:900,
670            responsive: {
671                0: {
672                    items: 1
673                },
674                600: {
675                    items: 1
676                },
677                1000: {
678                    items: 1
679                }
680            }
681        });
682
683        // testimonial-04
684        $('.testimonial
684-04').owlCarousel({
685            loop: true,
686            responsiveClass: true,
687            nav: false,
688            dots: false,
689            margin: 0,
690            autoplay: true,
691            autoplayTimeout: 5000,
692            smartSpeed:900,
693            responsive: {
694                0: {
695                    items: 1
696                },
697                600: {
698                    items: 1
699                },
700                1000: {
701                    items: 1
702                }
703            }
704        });
705
706        // featured-products
707        $('.featured-products').owlCarousel({
708            loop: true,
709            responsiveClass: true,
710            nav: false,
711            dots: true,
712            autoplay: true,
713            autoplayTimeout: 3000,
714            smartSpeed:900,
715            margin: 0,
716            navText: ["<i class='ti-arrow-left'></i>Prev", "Next<i class='ti-arrow-right'></i>"],
717            responsive: {
718                0: {
719                    items: 1
720                },
721                481: {
722                    items: 2,
723                    margin: 15
724                },
725                768: {
726                    items: 3,
727                    margin: 20
728                },
729                992: {
730                    items: 4,
731                    margin: 30
732                },
733                1200: {
734                    items: 4,
735                    margin: 30
736                }
737            }
738        });
739
740        // Team owlCarousel-1
741        $('.team .owl-carousel').owlCarousel({
742            loop:true,
743            margin: 30,
744            dots: false,
745            nav: false,
746            autoplay:true,
747            smartSpeed:900,
748            responsiveClass:true,
749            responsive:{
750                0:{
751                    items:1,
752                    margin: 0
753                },
754                700:{
755                    items:2,
756                    margin: 15
757                },
758                1000:{
759                    items:4
760                }
761            }
762        });
763
764        // team-style5
765        $('.team-style5').owlCarousel({
766            loop: false,
767            responsiveClass: true,
768            nav: false,
769            dots: true,
770            margin: 30,
771            smartSpeed:900,
772            responsive: {
773                0: {
774                    items: 1
775                },
776                768: {
777                    items: 1
778                },
779                992: {
780                    items: 2
781                }
782            }
783        });
784
785        // services-carousel
786        $('#services-carousel').owlCarousel({
787            loop: true,
788            responsiveClass: true,
789            dots: false,
790            nav: true,
791            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
792            smartSpeed:900,
793            responsive: {
794                0: {
795                    items: 1,
796                    margin: 0,
797                },
798                768: {
799                    items: 2,
800                    margin: 0,
801                },
802                992: {
803                    items: 3,
804                    margin: 0,
805                }
806            }
807        });
808
809        // services-carousel-one
810        $('.services-carousel-one').owlCarousel({
811            loop: true,
812            responsiveClass: true,
813            autoplay: true,
814            autoplayTimeout: 6000,
815            smartSpeed: 1500,
816            nav: false,
817            dots: false,
818            center:false,
819            margin: 30,
820            responsive: {
821                0: {
822                    items: 1,
823                    dots: false
824                },
825                576: {
826                    items: 2
827                },
828                768: {
829                    items: 2
830                },
831                992: {
832                    items: 3
833                },
834                1399: {
835                    items: 4
836                }
837            }
838        });
839
840         // services-carousel-two
841        $('.services-carousel-two').owlCarousel({
842            loop: true,
843            responsiveClass: true,
844            autoplay: true,
845            autoplayTimeout: 6000,
846            smartSpeed: 1500,
847            nav: false,
848            dots: false,
849            center:false,
850            margin: 30,
851            responsive: {
852                0: {
853                    items: 1,
854                    dots: false
855                },
856                576: {
857                    items: 1
858                },
859                768: {
860                    items: 2
861                },
862                992: {
863                    items: 2
864                },
865                1599: {
866                    items: 3
867                }
868            }
869        });
870
871        // services-carousel-three
872        $('.services-carousel-three').owlCarousel({
873            loop: true,
874            responsiveClass: true,
875            autoplay: true,
876            smartSpeed: 1500,
877            autoplayTimeout: 6000,
878            nav: false,
879            navText: ["<i class='ti-arrow-left'></i>", "<i class='ti-arrow-right'></i>"],
880            dots: false,
881            center:false,
882            margin: 20,
883            responsive: {
884                0: {
885                    items: 1
886                },
887                576: {
888                    items: 1,
889                    nav: true
890                },                
891                992: {
892                    items: 2,
893                    nav: true
894                },
895                1200: {
896                    items: 3,
897                    nav: true
898                }
899            }
900        });
901
902        // services-carousel-four
903        $('.services-carousel-four').owlCarousel({
904            center: false,
905            items:2,
906            loop:true,
907            dots: false,
908            nav: true,
909            navText: ["<i class='ti-arrow-left text-white'></i>", "<i class='ti-arrow-right text-white'></i>"],
910            margin:30,
911            autoplay: true,
912            autoplayTimeout: 5000,
913            smartSpeed: 1500,
914            responsive:{
915                0: {
916                    items: 1
917                },
918                768: {
919                    items: 2
920                },
921                992: {
922                    items: 3
923                },
924                1200: {
925                    items: 4
926                },
927                1400: {
928                    items: 4
929                }
930            }
931        });
932    
933        // carousel-style1
934        $('.carousel-style1 .owl-carousel').owlCarousel({
935            loop: true,
936            dots: false,
937            nav: true,
938            navText: ["<i class='fas fa-angle-left'></i>", "<i class='fas fa-angle-right'></i>"],
939            autoplay: true,
940            autoplayTimeout: 5000,
941            responsiveClass: true,
942            autoplayHoverPause: false,
943            smartSpeed:900,
944            responsive: {
945                0: {
946                    items: 1,
947                    margin: 0,
948                },
949                481: {
950                    items: 2,
951                    margin: 5,
952                },                
953                500: {
954                    items: 2,
955                    margin: 20,
956                },
957                992: {
958                    items: 3,
959                    margin: 30,
960                },
961                1200: {
962                    items: 4,
963                    margin: 30,
964                }
965            }
966        });
967
968        // carousel-style2
969        $('.carousel-style2 .owl-carousel').owlCarousel({
970            loop: false,
971            dots: true,
972            nav: false,
973            autoplay: true,
974            autoplayTimeout: 5000,
975            responsiveClass: true,
976            autoplayHoverPause: false,
977            smartSpeed:900,
978            responsive: {
979                0: {
980                    items: 1,
981                    margin: 0,
982                },
983                481: {
984                    items: 2,
985                    margin: 5,
986                },                
987                500: {
988                    items: 2,
989                    margin: 20,
990                },
991                992: {
992                    items: 3,
993                    margin: 30,
994                },
995                1200: {
996                    items: 3,
997                    margin: 30,
998                }
999            }
1000        });
1001
1002        // testimonial-carousel-one
1003        $('.testimonial-carousel-one').owlCarousel({
1004            loop: false,
1005            responsiveClass: true,
1006            autoplay: true,
1007            autoplayTimeout: 5000,
1008            smartSpeed: 1500,
1009            nav: true,
1010            navText: ["<span class='fa-solid fa-arrow-left'></span>", "<span class='fa-solid fa-arrow-right'></span>"],
1011            dots: true,
1012            center:false,
1013            margin: 50,
1014            responsive: {
1015                0: {
1016                    items: 1
1017                },
1018                768: {
1019                    items: 1
1020                },
1021                992: {
1022                    items: 1
1023                },
1024                1399: {
1025                    items: 1
1026                },
1027                1400:{
1028                    items: 1
1029                }
1030            }
1031        });
1032
1033        // testmonial-carousel-two
1034        $('.testmonial-carousel-two').owlCarousel({
1035            loop: true,
1036            responsiveClass: true,
1037            autoplay: false,
1038            autoplayTimeout: 5000,
1039            smartSpeed: 1500,
1040            nav: true,
1041            navText: ["<span class='fa-solid fa-arrow-left-long'></span>", "<span class='fa-solid fa-arrow-right-long'></span>"],
1042            dots: false,
1043            center:false,
1044            margin: 30,
1045            responsive: {
1046                0: {
1047                    items: 1
1048                },
1049                481: {
1050                    items: 1
1051                },
1052                768: {
1053                    items: 1
1054                },
1055                992: {
1056                    items: 1
1057                },
1058                1200:{
1059                    items: 1
1060                }
1061            }
1062        });
1063
1064        // blog-carousel
1065        $('.blog-carousel').owlCarousel({
1066            loop: true,
1067            responsiveClass: true,
1068            autoplay: true,
1069            autoplayTimeout: 5000,
1070            smartSpeed: 1500,
1071            nav: true,
1072            navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
1073            dots: false,
1074            center:false,
1075            margin: 30,
1076            responsive: {
1077                0: {
1078                    items: 1
1079                },
1080                768: {
1081                    items: 2
1082                },
1083                992: {
1084                    items: 2
1085                },
1086                1200: {
1087                    items: 3
1088                }
1089            }
1090        });
1091
1092        // blog-style-8
1093        $('.blog-style-8').owlCarousel({
1094            loop: true,
1095            dots: false,
1096            nav: false,
1097            autoplay: true,
1098            autoplayTimeout: 4000,
1099            responsiveClass: true,
1100            smartSpeed:900,
1101            autoplayHoverPause: false,
1102            responsive: {
1103                0: {
1104                    items: 1,
1105                    margin: 15
1106                },
1107                481: {
1108                    items: 2,
1109                    margin: 15
1110                },                
1111                500: {
1112                    items: 2,
1113                    margin: 20
1114                },
1115                992: {
1116                    items: 2,
1117                    margin: 30
1118                }
1119            }
1120        });
1121
1122        // service-grids
1123        $('#service-grids').owlCarousel({
1124            loop: true,
1125            dots: false,
1126            nav: false,
1127            autoplay: true,
1128            autoplayTimeout: 2500,
1129            responsiveClass: true,
1130            autoplayHoverPause: false,
1131            smartSpeed:900,
1132            responsive: {
1133                0: {
1134                    items: 1,
1135                    margin: 0,
1136                },
1137                768: {
1138                    items: 2,
1139                    margin: 20,
1140                },
1141                992: {
1142                    items: 3,
1143                    margin: 30,
1144                }
1145            }
1146        });
1147
1148        // Home Slider
1149        $(".home-business-slider").owlCarousel({
1150            items: 1,
1151            loop: true,
1152            autoplay: true,
1153            smartSpeed: 900,
1154            nav: true,
1155            dots: false,
1156            navText: ['<span class="fas fa-chevron-left"></span>', '<span class="fas fa-chevron-right"></span>'],
1157            responsive: {
1158                0: {
1159                    nav: false
1160                },
1161                768: {
1162                    nav: true
1163                }
1164            }            
1165        });
1166
1167        // Clients carousel
1168        $('#clients').owlCarousel({
1169            loop: true,
1170            nav: false,
1171            dots: false,
1172            autoplay: true,
1173            autoplayTimeout: 3000,
1174            responsiveClass: true,
1175            autoplayHoverPause: false,
1176            smartSpeed:900,
1177            responsive: {
1178                0: {
1179                    items: 2,
1180                    margin: 20
1181                },
1182                768: {
1183                    items: 3,
1184                    margin: 40,
1185                },
1186                992: {
1187                    items: 4,
1188                    margin: 60,
1189                    },
1190                    1200: {
1191                    items: 5,
1192                    margin: 80,
1193                }
1194            }
1195        });
1196
1197        // Project single carousel
1198        $('#project-single').owlCarousel({
1199            loop: false,
1200            nav: false,
1201            responsiveClass: true,
1202            dots: false,
1203            smartSpeed:900,
1204            responsive: {
1205                0: {
1206                    items: 1,
1207                    margin: 15,
1208                },
1209                600: {
1210                    items: 2,
1211                    margin: 15,
1212                },
1213                1000: {
1214                    items: 3,
1215                    margin: 15
1216                }
1217            }
1218        });
1219
1220        // Project single carousel
1221        $('.project-single-two .owl-carousel').owlCarousel({
1222            loop: false,
1223            nav: false,
1224            responsiveClass: true,
1225            dots: false,
1226            margin: 15,
1227            smartSpeed:900,
1228            responsive: {
1229                0: {
1230                    items: 1,
1231                    margin: 15,
1232                },
1233                576: {
1234                    items: 2,
1235                    margin: 20,
1236                },
1237                768: {
1238                    items: 3,
1239                    margin: 20,
1240                },
1241                992: {
1242                    items: 3,
1243                    margin: 25
1244                },
1245                1200: {
1246                    items: 4,
1247                    margin: 30
1248                }
1249            }
1250        });
1251
1252
1253        // portfolio-carousel-01
1254        $('.portfolio-carousel-01').owlCarousel({
1255            center: false,
1256            items:1,
1257            loop:true,
1258            dots: false,
1259            margin:40,
1260            autoplay: true,
1261            autoplayTimeout: 5000,
1262            smartSpeed: 1500,
1263            responsive:{
1264                0: {
1265                    items: 1
1266                },
1267                576: {
1268                    items: 2
1269                },
1270                992: {
1271                    items: 3
1272                },
1273                1200: {
1274                    items: 4
1275                },
1276                1599: {
1277                    items: 5
1278                }
1279            }
1280        });
1281        
1282        // portfolio-carousel01
1283        $('.portfolio-carousel01').owlCarousel({
1284            loop: true,
1285            responsiveClass: true,
1286            nav: false,
1287            dots: false,
1288            autoplay: true,
1289            autoplayTimeout: 5000,
1290            margin: 30,
1291            smartSpeed:900,
1292            responsive: {
1293               0: {
1294                    items: 1
1295                },
1296                767: {
1297                    items: 2
1298                },
1299                992: {
1300                    items: 3
1301                },
1302                1399: {
1303                    items: 4
1304                }
1305            }
1306        });
1307
1308        // process-slider
1309        $('.process-slider').owlCarousel({
1310            loop: true,
1311            responsiveClass: true,
1312            autoplay: true,
1313            smartSpeed: 1500,
1314            nav: false,
1315            dots: false,
1316            center:false,
1317            margin: 0,
1318            responsive: {
1319                0: {
1320                    items: 1
1321                },
1322                575: {
1323                    items: 2
1324                },
1325                992: {
1326                    items: 3
1327                },
1328                1200: {
1329                    items: 4
1330                }
1331            }
1332        });
1333
1334        // testimonial-carousel4
1335        $('.testimonial-carousel4').owlCarousel({
1336            loop: true,
1337            responsiveClass: true,
1338            nav: false,
1339            dots: false,
1340            margin: 40,
1341            autoplay: true,
1342            thumbs: true,
1343            thumbsPrerendered: true,
1344            autoplayTimeout: 5000,
1345            smartSpeed: 1500,
1346            items: 1
1347        });
1348       
1349
1350        // Sliderfade
1351        $('.slider-fade .owl-carousel').owlCarousel({
1352            items: 1,
1353            loop:true,
1354            margin: 0,
1355            autoplay:true,
1356            smartSpeed:900,
1357            mouseDrag:false,
1358            animateIn: 'fadeIn',
1359            animateOut: 'fadeOut'
1360        });  
1361
1362        // Sliderfade
1363        $('.slider-fade-shop .owl-carousel').owlCarousel({
1364            items: 1,
1365            loop:true,
1366            margin: 0,
1367            autoplay:true,
1368            nav: false,
1369            dots: true,
1370            smartSpeed:900,
1371            mouseDrag:false,
1372            animateIn: 'fadeIn',
1373            animateOut: 'fadeOut',
1374            responsive: {
1375                0: {
1376                    items: 1
1377                },
1378                1200: {
1379                     dots: false,
1380                     nav: true,
1381                     navText: ['<span class="fas fa-chevron-left"></span>', '<span class="fas fa-chevron-right"></span>']
1382                }
1383            }
1384        }); 
1385
1386        // Sliderfade01
1387        $('.slider-fade2').owlCarousel({
1388            items: 1,
1389            loop:true,
1390            dots: true,
1391            margin: 0,
1392            nav: false,
1393            autoplay: true,
1394            smartSpeed:1500,
1395            mouseDrag:false,
1396            animateIn: 'fadeIn',
1397            animateOut: 'fadeOut'
1398        });
1399
1400        // Sliderfade
1401        $('.slider-fade1').owlCarousel({
1402            items: 1,
1403            loop:true,
1404            dots: false,
1405            margin: 0,
1406            nav: false,
1407            autoplay: true,
1408            smartSpeed:1500,
1409            mouseDrag:false,
1410            animateIn: 'fadeIn',
1411            animateOut: 'fadeOut',
1412            smartSpeed:900,
1413            responsive: {
1414                992: {
1415                nav: true,
1416                navText: ["<span class='fas fa-arrow-left'></span>", "<span class='fas fa-arrow-right'></span>"],
1417                dots: false
1418                }
1419            }
1420            
1421        });  
1422
1423        // slider-fade3
1424        $('.slider-fade3').owlCarousel({
1425            items: 1,
1426            loop:true,
1427            dots: false,
1428            margin: 0,
1429            nav: false,
1430            navText: ["<i class='ti-angle-left'></i>", "<i class='ti-angle-right'></i>"],
1431            autoplay: true,
1432            smartSpeed:1500,
1433            mouseDrag:false,
1434            animateIn: 'fadeIn',
1435            animateOut: 'fadeOut',
1436            responsive: {
1437                768: {
1438                    nav: true,
1439                },
1440                992: {
1441                    nav: true,
1442                    dots: false
1443                }
1444            }            
1445        });
1446
1447        // Project single carousel
1448        $('.services-grids').owlCarousel({
1449            loop: false,
1450            nav: false,
1451            responsiveClass: true,
1452            dots: false,
1453            autoplay:true,
1454            smartSpeed:500,
1455            mouseDrag:false,
1456            smartSpeed:900,
1457            responsive: {
1458                0: {
1459                    items: 1,
1460                    margin: 15,
1461                    mouseDrag:true
1462                },
1463                768: {
1464                    items: 2,
1465                    margin: 20,
1466                    mouseDrag:true
1467                },
1468                1200: {
1469                    items: 3,
1470                    margin: 25,
1471                    mouseDrag:false
1472                }
1473            }
1474        });
1475
1476        // client-01
1477        $('.client-01').owlCarousel({
1478            loop: true,
1479            responsiveClass: true,
1480            nav: false,
1481            dots: false,
1482            autoplay: true,
1483            autoplayTimeout: 5000,
1484            margin: 30,
1485            smartSpeed:900,
1486            responsive: {
1487                0: {
1488                    items: 2,
1489                    margin: 20
1490                },
1491                575: {
1492                    items: 3
1493                },
1494                576: {
1495                    items: 4
1496                },
1497                768: {
1498                    items: 5
1499                },
1500                1199: {
1501                    items: 5
1502                },
1503                1400: {
1504                    items: 7,
1505                    margin: 50
1506                }
1507            }
1508        });
1509
1510        // client-01
1511        $('.client-02').owlCarousel({
1512            loop: true,
1513            responsiveClass: true,
1514            nav: false,
1515            dots: false,
1516            autoplay: true,
1517            autoplayTimeout: 5000,
1518            margin: 30,
1519            smartSpeed:900,
1520            responsive: {
1521                0: {
1522                    items: 2,
1523                    margin: 20
1524                },
1525                575: {
1526                    items: 3
1527                },
1528                576: {
1529                    items: 4
1530                },
1531                768: {
1532                    items: 5
1533                },
1534                1199: {
1535                    items: 5
1536                },
1537                1400: {
1538                    items: 7,
1539                    margin: 50
1540                }
1541            }
1542        });
1543
1544        // Default owlCarousel
1545        $('.owl-carousel').owlCarousel({
1546            items: 1,
1547            loop:true,
1548            dots: false,
1549            margin: 0,
1550            autoplay:true,
1551            smartSpeed:900
1552        });   
1553
1554        // Slider text animation
1555        var owl = $('.slider-fade');
1556        owl.on('changed.owl.carousel', function(event) {
1557            var item = event.item.index - 2;     // Position of the current item
1558            $('h3').removeClass('animated fadeInUp');
1559            $('h1').removeClass('animated fadeInUp');
1560            $('p').removeClass('animated fadeInUp');
1561            $('.butn').removeClass('animated fadeInUp');
1562            $('.owl-item').not('.cloned').eq(item).find('h3').addClass('animated fadeInUp');
1563            $('.owl-item').not('.cloned').eq(item).find('h1').addClass('animated fadeInUp');
1564            $('.owl-item').not('.cloned').eq(item).find('p').addClass('animated fadeInUp');
1565            $('.owl-item').not('.cloned').eq(item).find('.butn').addClass('animated fadeInUp');
1566        });
1567
1568        // Slider text animation
1569        var owl = $('.slider-fade2');
1570        owl.on('changed.owl.carousel', function(event) {
1571            var item = event.item.index - 2;     // Position of the current item
1572            $('span').removeClass('animated fadeInUp');
1573            $('h1').removeClass('animated fadeInUp');
1574            $('a').removeClass('animated fadeInUp');
1575            $('.owl-item').not('.cloned').eq(item).find('span').addClass('animated fadeInUp');
1576            $('.owl-item').not('.cloned').eq(item).find('h1').addClass('animated fadeInUp');
1577            $('.owl-item').not('.cloned').eq(item).find('a').addClass('animated fadeInUp');
1578        });
1579
1580        // Slider text animation
1581        var owl = $('.slider-fade-shop');
1582        owl.on('changed.owl.carousel', function(event) {
1583            var item = event.item.index - 2;     // Position of the current item
1584            $('p').removeClass('animated fadeInUp');
1585            $('h1').removeClass('animated fadeInUp');
1586            $('.subheading').removeClass('animated fadeInUp');
1587            $('.butn').removeClass('animated fadeInUp');
1588            $('.owl-item').not('.cloned').eq(item).find('.subheading').addClass('animated fadeInUp');
1589            $('.owl-item').not('.cloned').eq(item).find('h1').addClass('animated fadeInUp');
1590            $('.owl-item').not('.cloned').eq(item).find('p').addClass('animated fadeInUp');
1591            $('.owl-item').not('.cloned').eq(item).fi
1591nd('.butn').addClass('animated fadeInUp');
1592        });
1593
1594        // Slider text animation
1595        var owl = $('.slider-fade1');
1596        owl.on('changed.owl.carousel', function(event) {
1597            var item = event.item.index - 2;     // Position of the current item
1598            $('h1').removeClass('animated fadeInUp');
1599            $('p').removeClass('animated fadeInUp');
1600            $('a').removeClass('animated fadeInUp');
1601            $('.owl-item').not('.cloned').eq(item).find('h1').addClass('animated fadeInUp');
1602            $('.owl-item').not('.cloned').eq(item).find('p').addClass('animated fadeInUp');
1603            $('.owl-item').not('.cloned').eq(item).find('a').addClass('animated fadeInUp');
1604        });
1605
1606        // Revolution text effect
1607        if ($("#rev_slider_149_1").length !== 0) {
1608            var tpj = jQuery;
1609            var revapi149;
1610            tpj(document).ready(function () {
1611                if (tpj("#rev_slider_149_1").revolution == undefined) {
1612                    revslider_showDoubleJqueryError("#rev_slider_149_1");
1613                } else {
1614                    revapi149 = tpj("#rev_slider_149_1").show().revolution({
1615                        sliderType: "standard",
1616                        jsFileLocation: "revolution/js/",
1617                        sliderLayout: "fullwidth",
1618                        dottedOverlay: "none",
1619                        delay: 9000,
1620                        snow: {
1621                            startSlide: "first",
1622                            endSlide: "last",
1623                            maxNum: "400",
1624                            minSize: "0.2",
1625                            maxSize: "6",
1626                            minOpacity: "0.3",
1627                            maxOpacity: "1",
1628                            minSpeed: "30",
1629                            maxSpeed: "100",
1630                            minSinus: "1",
1631                            maxSinus: "100",
1632                        },
1633                        navigation: {
1634                            keyboardNavigation: "off",
1635                            keyboard_direction: "vertical",
1636                            mouseScrollNavigation: "off",
1637                            mouseScrollReverse: "default",
1638                            onHoverStop: "off",
1639                            touch: {
1640                                touchenabled: "on",
1641                                swipe_threshold: 75,
1642                                swipe_min_touches: 1,
1643                                swipe_direction: "horizontal",
1644                                drag_block_vertical: false
1645                            },
1646                            arrows: {
1647                                style: "uranus",
1648                                enable: true,
1649                                hide_onmobile: false,
1650                                hide_onleave: false,
1651                                tmp: '',
1652                                left: {
1653                                    h_align: "left",
1654                                    v_align: "center",
1655                                    h_offset: 10,
1656                                    v_offset: 0
1657                                },
1658                                right: {
1659                                    h_align: "right",
1660                                    v_align: "center",
1661                                    h_offset: 10,
1662                                    v_offset: 0
1663                                }
1664                            }
1665                        },
1666                        responsiveLevels: [1240, 1024, 778, 480],
1667                        visibilityLevels: [1240, 1024, 778, 480],
1668                        gridwidth: [1240, 1024, 778, 480],
1669                        gridheight: [868, 768, 960, 720],
1670                        lazyType: "none",
1671                        scrolleffect: {
1672                            blur: "on",
1673                            maxblur: "20",
1674                            on_slidebg: "on",
1675                            direction: "top",
1676                            multiplicator: "2",
1677                            multiplicator_layers: "2",
1678                            tilt: "10",
1679                            disable_on_mobile: "off",
1680                        },
1681                        parallax: {
1682                            type: "scroll",
1683                            origo: "slidercenter",
1684                            speed: 400,
1685                            levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 51, 55],
1686                        },
1687                        shadow: 0,
1688                        spinner: "spinner3",
1689                        stopLoop: "off",
1690                        stopAfterLoops: -1,
1691                        stopAtSlide: -1,
1692                        shuffle: "off",
1693                        autoHeight: "off",
1694                        fullScreenAutoWidth: "off",
1695                        fullScreenAlignForce: "off",
1696                        fullScreenOffsetContainer: "",
1697                        fullScreenOffset: "60px",
1698                        hideThumbsOnMobile: "off",
1699                        hideSliderAtLimit: 0,
1700                        hideCaptionAtLimit: 0,
1701                        hideAllCaptionAtLilmit: 0,
1702                        debugMode: false,
1703                        fallbacks: {
1704                            simplifyAll: "off",
1705                            nextSlideOnWindowFocus: "off",
1706                            disableFocusListener: false,
1707                        }
1708                    });
1709                }
1710            }); /*ready*/
1711        }
1712
1713        // Revolution slider2
1714        if ($("#rev_slider_2").length !== 0) {
1715            var tpj = jQuery;
1716            var revapi2;
1717            tpj(document).ready(function() {
1718                if (tpj("#rev_slider_2").revolution == undefined) {
1719                    revslider_showDoubleJqueryError("#rev_slider_2");
1720                } else {
1721                    revapi2 = tpj("#rev_slider_2").show().revolution({
1722                        sliderType: "standard",
1723                        sliderLayout: "fullwidth",
1724                        dottedOverlay: "none",
1725                        delay: 9000,
1726                        spinner: "spinner4",
1727                        navigation: {
1728                            keyboardNavigation: "off",
1729                            keyboard_direction: "horizontal",
1730                            mouseScrollNavigation: "off",
1731                            onHoverStop: "off",
1732                            touch: {
1733                                touchenabled: "on",
1734                                swipe_threshold: 75,
1735                                swipe_min_touches: 1,
1736                                swipe_direction: "horizontal",
1737                                drag_block_vertical: false
1738                            },
1739                            arrows: {
1740                                enable: true,
1741                                style: 'metis',
1742                                tmp: '',
1743                                rtl: false,
1744                                hide_onleave: true,
1745                                hide_onmobile: true,
1746                                hide_under: 0,
1747                                hide_over: 9999,
1748                                hide_delay: 200,
1749                                hide_delay_mobile: 1200,
1750                                left: {
1751                                    container: 'slider',
1752                                    h_align: 'left',
1753                                    v_align: 'center',
1754                                    h_offset: 20,
1755                                    v_offset: 0
1756                                },
1757                                right: {
1758                                    container: 'slider',
1759                                    h_align: 'right',
1760                                    v_align: 'center',
1761                                    h_offset: 20,
1762                                    v_offset: 0
1763                                }
1764                            },
1765                            bullets: {
1766                                enable: false,
1767                            },
1768                        },
1769                        responsiveLevels: [1240, 1024, 767, 480],
1770                        gridwidth: [1350, 1170, 767, 480],
1771                        gridheight: [700, 700, 600, 600],
1772                        lazyType: "none",
1773                        shadow: 0,
1774                        shuffle: "off",
1775                        autoHeight: "off",
1776                    });
1777                }
1778            });
1779        }
1780
1781        // Revolution video
1782        if ($("#rev_slider_1014_1").length !== 0) {
1783            var tpj = jQuery;
1784            var revapi1014;
1785            tpj(document).ready(function () {
1786                if (tpj("#rev_slider_1014_1").revolution == undefined) {
1787                    revslider_showDoubleJqueryError("#rev_slider_1014_1");
1788                } else {
1789                    revapi1014 = tpj("#rev_slider_1014_1").show().revolution({
1790                        sliderType: "standard",
1791                        jsFileLocation: "revolution/js/",
1792                        sliderLayout: "fullscreen",
1793                        dottedOverlay: "none",
1794                        delay: 9000,
1795                        navigation: {
1796                            keyboardNavigation: "off",
1797                            keyboard_direction: "horizontal",
1798                            mouseScrollNavigation: "off",
1799                            mouseScrollReverse: "default",
1800                            onHoverStop: "off",
1801                            touch: {
1802                                touchenabled: "on",
1803                                swipe_threshold: 75,
1804                                swipe_min_touches: 1,
1805                                swipe_direction: "horizontal",
1806                                drag_block_vertical: false
1807                            },
1808                            arrows: {
1809                                style: "uranus",
1810                                enable: false,
1811                                hide_onmobile: true,
1812                                hide_under: 768,
1813                                hide_onleave: false,
1814                                tmp: '',
1815                                left: {
1816                                    h_align: "left",
1817                                    v_align: "center",
1818                                    h_offset: 20,
1819                                    v_offset: 0
1820                                },
1821                                right: {
1822                                    h_align: "right",
1823                                    v_align: "center",
1824                                    h_offset: 20,
1825                                    v_offset: 0
1826                                }
1827                            }
1828                        },
1829                        responsiveLevels: [1240, 1024, 778, 480],
1830                        visibilityLevels: [1240, 1024, 778, 480],
1831                        gridwidth: [1240, 1024, 778, 480],
1832                        gridheight: [868, 768, 960, 600],
1833                        lazyType: "none",
1834                        shadow: 0,
1835                        spinner: "off",
1836                        stopLoop: "on",
1837                        stopAfterLoops: 0,
1838                        stopAtSlide: 1,
1839                        shuffle: "off",
1840                        autoHeight: "off",
1841                        fullScreenAutoWidth: "off",
1842                        fullScreenAlignForce: "off",
1843                        fullScreenOffsetContainer: "",
1844                        fullScreenOffset: "0",
1845                        disableProgressBar: "on",
1846                        hideThumbsOnMobile: "off",
1847                        hideSliderAtLimit: 0,
1848                        hideCaptionAtLimit: 0,
1849                        hideAllCaptionAtLilmit: 0,
1850                        debugMode: false,
1851                        fallbacks: {
1852                            simplifyAll: "off",
1853                            nextSlideOnWindowFocus: "off",
1854                            disableFocusListener: false,
1855                        }
1856                    });
1857                }
1858                RsTypewriterAddOn(tpj, revapi1014);
1859            }); /*ready*/
1860        }
1861
1862        // Revolution slider3
1863        if ($("#rev_slider_3").length !== 0) {
1864            var tpj = jQuery;
1865            var revapi4;
1866            tpj(document).ready(function() {
1867                if (tpj("#rev_slider_3").revolution == undefined) {
1868                    revslider_showDoubleJqueryError("#rev_slider_3");
1869                } else {
1870                    revapi4 = tpj("#rev_slider_3").show().revolution({
1871                        sliderLayout:"fullscreen",
1872                        delay:12000,
1873                        responsiveLevels:[1400,1200,992,576],
1874                        gridwidth:[1350,1200,750,350],
1875                        gridheight:600,
1876                        hideThumbs:10,
1877                        fullScreenAutoWidth: "on",
1878                        fullScreenOffsetContainer: ".rev-offset",
1879
1880                        navigation: {
1881                            onHoverStop: "off",
1882                            touch: {
1883                                touchenabled: "on",
1884                                swipe_threshold: 75,
1885                                swipe_min_touches: 1,
1886                                swipe_direction: "horizontal",
1887                                drag_block_vertical: false
1888                            },
1889                            arrows:{
1890                                enable:true,
1891                                style: "hermes",
1892                                tmp: '<div class="tp-arr-allwrapper">  <div class="tp-arr-imgholder"></div> <div class="tp-arr-titleholder">{{title}}</div> </div>',
1893                                left: {
1894                                    h_align: "left",
1895                                    v_align: "center",
1896                                    h_offset: 0,
1897                                    v_offset: 0
1898                                },
1899                                right: {
1900                                    h_align: "right",
1901                                    v_align: "center",
1902                                    h_offset: 0,
1903                                    v_offset: 0
1904                                }
1905                            },
1906                            bullets:{
1907                                style:"",
1908                                enable:false,
1909                                hide_onmobile:false,
1910                                hide_onleave:true,
1911                                hide_delay:200,
1912                                hide_delay_mobile:1200,
1913                                hide_under:0,
1914                                hide_over:9999, 
1915                                direction:"horizontal",
1916                                space:12,       
1917                                h_align:"center",
1918                                v_align:"bottom",
1919                                h_offset:0,
1920                                v_offset:30,
1921                                tmp: ''
1922                            },
1923                        },
1924
1925                        parallax:{
1926                            type:"scroll",
1927                            levels:[5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],
1928                            origo:"enterpoint",
1929                            speed:400,
1930                            bgparallax:"on",
1931                            disable_onmobile:"on"
1932                        },
1933
1934                        spinner:"spinner4"
1935                    });
1936                }
1937            });
1938        }
1939
1940        // Revolution BlurEffectSlider
1941        if ($("#rev_slider_151_1").length !== 0) {
1942            var tpj = jQuery;
1943            var revapi151;
1944            tpj(document).ready(function () {
1945                if (tpj("#rev_slider_151_1").revolution == undefined) {
1946                    revslider_showDoubleJqueryError("#rev_slider_151_1");
1947                } else {
1948                    revapi151 = tpj("#rev_slider_151_1").show().revolution({
1949                        sliderType: "standard",
1950                        jsFileLocation: "revolution/js/",
1951                        sliderLayout: "fullscreen",
1952                        dottedOverlay: "none",
1953                        delay: 9000,
1954                        navigation: {
1955                            keyboardNavigation: "off",
1956                            keyboard_direction: "vertical",
1957                            mouseScrollNavigation: "off",
1958                            mouseScrollReverse: "default",
1959                            onHoverStop: "off",
1960                            touch: {
1961                                touchenabled: "on",
1962                                swipe_threshold: 75,
1963                                swipe_min_touches: 1,
1964                                swipe_direction: "horizontal",
1965                                drag_block_vertical: false
1966                            },
1967                            arrows: {
1968                                style: "uranus",
1969                                enable: true,
1970                                hide_onmobile: false,
1971                                hide_over: 479,
1972                                hide_onleave: false,
1973                                tmp: '',
1974                                left: {
1975                                    h_align: "left",
1976                                    v_align: "center",
1977                                    h_offset: 0,
1978                                    v_offset: 0
1979                                },
1980                                right: {
1981                                    h_align: "right",
1982                                    v_align: "center",
1983                                    h_offset: 0,
1984                                    v_offset: 0
1985                                }
1986                            }
1987                        },
1988                        responsiveLevels: [1240, 1024, 778, 480],
1989                        visibilityLevels: [1240, 1024, 778, 480],
1990                        gridwidth: [1240, 1024, 778, 480],
1991                        gridheight: [868, 768, 960, 720],
1992                        lazyType: "none",
1993                        scrolleffect: {
1994                            blur: "on",
1995                            maxblur: "20",
1996                            on_slidebg: "on",
1997                            direction: "top",
1998                            multiplicator: "2",
1999                            multiplicator_layers: "2",
2000                            tilt: "10",
2001                            disable_on_mobile: "off",
2002                        },
2003                        parallax: {
2004                            type: "scroll",
2005                            origo: "slidercenter",
2006                            speed: 400,
2007                            levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 51, 55],
2008                        },
2009                        shadow: 0,
2010                        spinner: "spinner3",
2011                        stopLoop: "off",
2012                        stopAfterLoops: -1,
2013                        stopAtSlide: -1,
2014                        shuffle: "off",
2015                        autoHeight: "off",
2016                        fullScreenAutoWidth: "off",
2017                        fullScreenAlignForce: "off",
2018                        fullScreenOffsetContainer: "",
2019                        fullScreenOffset: "0",
2020                        hideThumbsOnMobile: "off",
2021                        hideSliderAtLimit: 0,
2022                        hideCaptionAtLimit: 0,
2023                        hideAllCaptionAtLilmit: 0,
2024                        debugMode: false,
2025                        fallbacks: {
2026                            simplifyAll: "off",
2027                            nextSlideOnWindowFocus: "off",
2028                            disableFocusListener: false,
2029                        }
2030                    });
2031                }
2032            }); /*ready*/
2033        }
2034
2035        // Revolution Creative
2036        if ($("#rev_slider_1174_1").length !== 0) {
2037            var tpj = jQuery;
2038            var revapi1174;
2039            tpj(document).ready(function () {
2040                if (tpj("#rev_slider_1174_1").revolution == undefined) {
2041                    revslider_showDoubleJqueryError("#rev_slider_1174_1");
2042                } else {
2043                    revapi1174 = tpj("#rev_slider_1174_1").show().revolution({
2044                        sliderType: "hero",
2045                        jsFileLocation: "revolution/js/",
2046                        sliderLayout: "fullscreen",
2047                        dottedOverlay: "none",
2048                        delay: 9000,
2049                        navigation: {},
2050                        responsiveLevels: [1240, 1024, 778, 480],
2051                        visibilityLevels: [1240, 1024, 778, 480],
2052                        gridwidth: [1240, 1024, 778, 480],
2053                        gridheight: [868, 768, 960, 720],
2054                        lazyType: "none",
2055                        parallax: {
2056                            type: "scroll",
2057                            origo: "slidercenter",
2058                            speed: 400,
2059                            levels: [10, 15, 20, 25, 30, 35, 40, -10, -15, -20, -25, -30, -35, -40, -45, 55],
2060                        },
2061                        shadow: 0,
2062                        spinner: "off",
2063                        autoHeight: "off",
2064                        fullScreenAutoWidth: "off",
2065                        fullScreenAlignForce: "off",
2066                        fullScreenOffsetContainer: "",
2067                        fullScreenOffset: "0",
2068                        disableProgressBar: "on",
2069                        hideThumbsOnMobile: "off",
2070                        hideSliderAtLimit: 0,
2071                        hideCaptionAtLimit: 0,
2072                        hideAllCaptionAtLilmit: 0,
2073                        debugMode: false,
2074                        fallbacks: {
2075                            simplifyAll: "off",
2076                            disableFocusListener: false,
2077                        }
2078                    });
2079                }
2080            });
2081        }
2082
2083        /*------------------------------------
2084            15. Tabs
2085        --------------------------------------*/
2086
2087        //Horizontal Tab
2088        if ($(".horizontaltab").length !== 0) {
2089            $('.horizontaltab').easyResponsiveTabs({
2090                type: 'default', //Types: default, vertical, accordion
2091                width: 'auto', //auto or any width like 600px
2092                fit: true, // 100% fit in a container
2093                tabidentify: 'hor_1', // The tab groups identifier
2094                activate: function(event) { // Callback function if tab is switched
2095                    var $tab = $(this);
2096                    var $info = $('#nested-tabInfo');
2097                    var $name = $('span', $info);
2098                    $name.text($tab.text());
2099                    $info.show();
2100                }
2101            });
2102        }
2103
2104        // Child Tab
2105        if ($(".childverticaltab").length !== 0) {
2106            $('.childverticaltab').easyResponsiveTabs({
2107                type: 'vertical',
2108                width: 'auto',
2109                fit: true,
2110                tabidentify: 'ver_1', // The tab groups identifier
2111                activetab_bg: '#fff', // background color for active tabs in this group
2112                inactive_bg: '#F5F5F5', // background color for inactive tabs in this group
2113                active_border_color: '#c1c1c1', // border color for active tabs heads in this group
2114                active_content_border_color: '#c1c1c1' // border color for active tabs contect in this group so that it matches the tab head border
2115            });
2116        }
2117
2118        //Vertical Tab
2119        if ($(".verticaltab").length !== 0) {
2120            $('.verticaltab').easyResponsiveTabs({
2121                type: 'vertical', //Types: default, vertical, accordion
2122                width: 'auto', //auto or any width like 600px
2123                fit: true, // 100% fit in a container
2124                closed: 'accordion', // Start closed if in accordion view
2125                tabidentify: 'hor_1', // The tab groups identifier
2126                activate: function(event) { // Callback function if tab is switched
2127                    var $tab = $(this);
2128                    var $info = $('#nested-tabInfo2');
2129                    var $name = $('span', $info);
2130                    $name.text($tab.text());
2131                    $info.show();
2132                }
2133            });
2134        }
2135
2136        /*------------------------------------
2137            16. Popover
2138        --------------------------------------*/
2139
2140        $(function () {
2141            $('[data-bs-toggle="popover"]').popover()
2142        })
2143
2144
2145        /*------------------------------------
2146            17. Tooltips
2147        --------------------------------------*/
2148
2149        $(function () {
2150            $('[data-bs-toggle="tooltip"]').tooltip()
2151        })
2152
2153        /*------------------------------------
2154            18. Current Year
2155        --------------------------------------*/
2156
2157        $('.current-year').text(new Date().getFullYear());
2158
2159        /*------------------------------------
2160            19. Countdown
2161        --------------------------------------*/
2162
2163        if ($(".countdown").length !== 0) {
2164            var tpj = jQuery;
2165            var countdown;
2166            tpj(document).ready(function() {
2167                if (tpj(".countdown").countdown == undefined) {
2168                    countdown(".countdown");
2169                } else {
2170                    countdown = tpj(".countdown").show().countdown({
2171                        date: "01 Oct 2027 00:01:00", //set your date and time. EX: 15 May 2014 12:00:00
2172                        format: "on"
2173                    });
2174                }
2175            });
2176        }
2177
2178        /*------------------------------------
2179            20. Counterup
2180        --------------------------------------*/
2181
2182        $('.odometer').waypoint(function(direction) {
2183            if (direction === 'down') {
2184                let countNumber = $(this.element).attr("data-count");
2185                $(this.element).html(countNumber);
2186            }
2187        }, {
2188            offset: '80%'
2189        });
2190        
2191    });
2192
2193    // === when window loading === //
2194    $window.on("load", function() {
2195
2196        /*------------------------------------
2197            21. Portfolio
2198        --------------------------------------*/
2199
2200        // magnificPopup with slider
2201        $('.single-img').magnificPopup({
2202            delegate: '.popimg',
2203            type: 'image'
2204        });
2205
2206        var $PortfolioGallery = $('.portfolio-gallery-isotope').isotope({
2207            // options
2208        });
2209
2210        // filter items on button click
2211        $('.filtering').on('click', 'span', function() {
2212            var filterValue = $(this).attr('data-filter');
2213            $PortfolioGallery.isotope({
2214                filter: filterValue
2215            });
2216        });
2217
2218        $('.filtering').on('click', 'span', function() {
2219            $(this).addClass('active').siblings().removeClass('active');
2220        });
2221
2222        $('.portfolio-gallery,.portfolio-gallery-isotope').lightGallery();
2223
2224        $('.portfolio-link').on('click', (e) => {
2225            e.stopPropagation();
2226        });
2227
2228    });
2229
2230})(jQuery);

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.