PageSourceSearch

https://mentaleap.com/wp-content/themes/appilo/js/seo-agency.js?ver=6.2.1

js mentaleap.com collected 2026-10-02 16:03:29 UTC 6,275 bytes, 254 lines download raw bytes

1/* -----------------------------------------------------------------------------
2
3
4
5File:           JS Core
6Version:        1.0
7Last change:    00/00/00 
8-------------------------------------------------------------------------------- */
9(function() {
10
11	"use strict";
12
13	var aplpg2_appilo = {
14		init: function() {
15			this.Basic.init();  
16		},
17
18		Basic: {
19			init: function() {
20				this.APLDG2ScrollTop();
21				this.APLDG2HeaderFunction();
22				this.APLDG2MobileMenu();
23				this.APLDG2ProgressBar(); 
24				this.APLDG2Carousel(); 
25				this.APLDG2VideoPopup();
26				this.APLDGCounterUp();
27			},
28
29
30			APLDG2ScrollTop: function (){
31				$(window).on("scroll", function(){
32					var ScrollBarLocation = $(this).scrollTop();
33					if( ScrollBarLocation > 150 ) {
34						$(".apldg2-scroll-top").fadeIn(); 
35					} else {
36						$(".apldg2-scroll-top").fadeOut();
37					}
38				});
39
40				$(".apldg2-scroll-top").on("click", function(e){
41					e.preventDefault(); 
42					$("body,html").animate({
43						scrollTop: 0,
44					});
45				});
46			},
47
48			APLDG2HeaderFunction: function (){
49
50				//Header Sidebar 
51				$(".apldg2-sidebar-hamburger a").on("click", function(){
52					$(".apldg2_sidebar_info_content").addClass("apldg2-sidebar-on");
53					$(".apldg2-body-overlay").addClass("apldg2-body-overlay-on"); 
54					return false;
55				});
56
57
58				$(".apldg2_sidebar_info_content .close-menu").on("click", function(){
59					$(".apldg2_sidebar_info_content").removeClass("apldg2-sidebar-on");
60					$(".apldg2-body-overlay").removeClass("apldg2-body-overlay-on"); 
61				});
62
63				$(".apldg2-body-overlay").on("click", function(){
64					$(".apldg2_sidebar_info_content").removeClass("apldg2-sidebar-on"); 
65					$(this).removeClass("apldg2-body-overlay-on");
66				});
67
68				//Sticky Header 
69				$(window).on("scroll", function(){
70					var ScrollBarPostion = $(window).scrollTop(); 
71					if (ScrollBarPostion > 150 ) {
72						$(".apldg2-header-area").addClass("apldg2-header-sticky"); 
73					} else {
74						$(".apldg2-header-area").removeClass("apldg2-header-sticky");
75					}
76				}); 
77
78				$(".apldg2-scroll-next a").on("click", function(e){
79					if(this.hash !== "") {
80						e.preventDefault();
81						var hashValue = $(this.hash).offset().top - 100; 
82						$("body,html").animate({
83							scrollTop: hashValue, 
84						});
85					}
86				})
87
88			}, 
89
90			APLDG2MobileMenu: function (){
91				$(".apldg2-mobile-menu-hamburger").on("click", function(e){
92					e.preventDefault();
93					$(".apldg2-mobile-menu").toggleClass("apldg2-mobile-menu-on");
94					$(".apldg2-body-overlay").toggleClass("apldg2-body-overlay-on");
95				});
96
97				$(".apldg2-body-overlay").on("click", function(){
98					$(".apldg2-mobile-menu").removeClass("apldg2-mobile-menu-on");
99					$(".apldg2-mobile-menu-open").removeClass("open");
100				});
101
102				$(".apldg2-menu-close").on("click", function(){
103					$(".apldg2-mobile-menu").removeClass("apldg2-mobile-menu-on");
104					$(".apldg2-body-overlay").removeClass("apldg2-body-overlay-on"); 
105					$(".apldg2-mobile-menu-open").removeClass("open");
106				});
107
108				$(".apldg2-mobile-menu li.has-submenu a").each(function(){
109					$(this).on("click", function(){
110						$(this).siblings('ul').slideToggle();
111						$(this).parent().toggleClass('apldg2-submenu-icon-rotate');
112					});
113				});
114			},
115
116			APLDG2ProgressBar: function (){
117				$(".progress-bar-seo-agency").ProgressBar();
118			}, 
119			
120			APLDG2Carousel: function (){
121				//Hero slider 
122				$(".apldg2-hero-slider").slick({
123					slidesToShow: 1, 
124					autoplay: false, 
125					dots: true, 
126					arrows: false,
127				});
128
129				//Service Slider 
130				$(".apldg2-services-slider").slick({
131					slidesToShow: 4, 
132					autoplay: true, 
133					dots: true, 
134					arrows: false, 
135					slidesToScroll: 2,
136					responsive: [
137						{
138							breakpoint: 992, 
139							settings: {
140								slidesToShow: 3,
141							}
142						}, 
143						{
144							breakpoint: 768, 
145							settings: {
146								slidesToShow: 2,
147							}
148						}, 
149						{
150							breakpoint: 576, 
151							settings: {
152								slidesToShow: 1,
153								slidesToScroll: 1,
154							}
155						}
156					]
157				});
158				
159
160				//Project slider 
161				$(".apldg2-project-slider").each(function(){
162					var ItemLength = $(this).children().length;
163					if(ItemLength > 1 ) {
164						$(this).slick({
165							slidesToShow: 2,
166							dots: true,
167							autoplay: true, 
168							arrows: false,
169							responsive: [
170								{
171									breakpoint: 768, 
172									settings: {
173										slidesToShow: 1,
174									}
175								}
176							]
177						});
178					}
179				}); 
180
181				//Feedback Slider 
182				$(".apldg2-feedback-slider").slick({
183					slidestoShow: 1, 
184					autoplay: true, 
185					dots: false, 
186					arrows: true,
187					prevArrow: '<button type="button" class="prev-btn"><i class="fas fa-arrow-left"></i></button>', 
188					nextArrow: '<button type="button" class="next-btn"><i class="fas fa-arrow-right"></i></button>',
189				});
190
191				//Blog Slider 
192				$(".apldg2-blog-slider").slick({
193					slidesToShow: 3,
194					autoplay: true, 
195					arrows: false, 
196					dots: true,
197					slidesToScroll: 2,
198					responsive: [
199						{
200							breakpoint: 1200, 
201							settings: {
202								slidesToShow: 2,
203							}
204						}, 
205						{
206							breakpoint: 768, 
207							settings: {
208								slidesToShow: 1,
209							}
210						}
211					]
212				});
213			},
214
215			APLDG2VideoPopup: function (){
216				$('.apldg2-video-popup').magnificPopup({
217					type: 'iframe', 
218					iframe: {
219						patterns: {
220						  youtube: {
221							index: 'youtube.com/',
222					  
223							id: 'v=',
224							src: 'https://www.youtube.com/embed/%id%?autoplay=1'
225						  },
226						  vimeo: {
227							index: 'vimeo.com/',
228							id: '/',
229							src: '//player.vimeo.com/video/%id%?autoplay=1'
230						  },
231						  gmaps: {
232							index: '//maps.google.',
233							src: '%id%&output=embed'
234						  }
235						},
236					  
237						srcAction: 'iframe_src', 
238					}
239				}); 
240			}, 
241			APLDGCounterUp: function (){
242				$(".counterup").counterUp({
243					delay: 10,
244    				time: 1000
245				});
246			}
247		}	
248	}
249	jQuery(document).ready(function (){
250		aplpg2_appilo.init();
251		console.log('appilo seo agency js loaded');
252	});
253
254})();

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.