PageSourceSearch

https://triadmachines.com/wp-content/themes/buildwall/assets/js/theme-script.js?ver=1.0.4

js triadmachines.com collected 2026-10-07 02:21:21 UTC 1,898 bytes, 94 lines download raw bytes

1;var Buildwall_Theme_JS;
2
3(function($) {
4	'use strict';
5
6	Buildwall_Theme_JS = {
7
8		init: function() {
9			this.page_preloader_init();
10			this.page_logo_text_styles_init();
11			this.toTopInit();
12			this.responsiveMenuInit();
13			this.magnificPopupInit();
14			this.swiperInit();
15		},
16
17		page_preloader_init: function(self) {
18
19			if ($('.page-preloader-cover')[0]) {
20				$('.page-preloader-cover').delay(500).fadeTo(500, 0, function() {
21					$(this).remove();
22				});
23			}
24		},
25
26		page_logo_text_styles_init: function(self) {
27
28			if ($('h1.site-logo')[0]) {
29				var $this = $('h1.site-logo a'), text=$this.text().trim(), words = text.split(/\s+/);
30				var lastWord = words.pop();
31				words.push('<span>' + lastWord + '</span>');
32				$this.html(words.join(' '));
33			}
34		},
35
36		toTopInit: function() {
37			if ($.isFunction(jQuery.fn.UItoTop)) {
38				$().UItoTop({
39					text: buildwall.labels.totop_button,
40					scrollSpeed: 600
41				});
42			}
43		},
44
45		responsiveMenuInit: function() {
46			if (typeof buildwallResponsiveMenu !== 'undefined') {
47				buildwallResponsiveMenu();
48			}
49		},
50
51		magnificPopupInit: function() {
52
53			if (typeof $.magnificPopup !== 'undefined') {
54
55				//MagnificPopup init
56				$('[data-popup="magnificPopup"]').magnificPopup({
57					type: 'image'
58				});
59
60				$(".gallery > .gallery-item a").filter("[href$='.png'],[href$='.jpg']").magnificPopup({
61					type: 'image',
62					gallery: {
63						enabled: true,
64						navigateByImgClick: true,
65					},
66				});
67
68			}
69		},
70
71		swiperInit: function() {
72			if (typeof Swiper !== 'undefined') {
73
74				//Swiper carousel init
75				var mySwiper = new Swiper('.swiper-container', {
76					// Optional parameters
77					loop: true,
78					spaceBetween: 10,
79					autoHeight: true,
80
81					// Navigation arrows
82					navigation: {
83						nextEl: '.swiper-button-next',
84						prevEl: '.swiper-button-prev'
85					}
86				})
87
88			}
89		}
90	};
91
92	Buildwall_Theme_JS.init();
93
94}(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.