PageSourceSearch

https://supple.com.au/wp-content/themes/supple/assets/js/blog.js?ver=1721712674

js supple.com.au collected 2026-10-02 04:33:42 UTC 3,207 bytes, 100 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3	$('.page-numbers').addClass('cdp_i');
4
5	if ($(window).width() <= 768) {
6		$(".mobiletablecontent").click(function () {
7			$(".contenttablediv").toggleClass("table_open");
8		});
9
10		$(".blog-lef-filter a.closemenu").click(function () {
11			$(".contenttablediv").toggleClass("table_open");
12		});
13	}
14
15	$(".seoreportcontainer form input[type='text']").on("blur", function () {
16		$(this).toggleClass("filled", $(this).val() != "");
17	});
18
19	var paginationPage = parseInt($('.cdp').attr('actpage'), 10);
20	$('.cdp_i').on('click', function () {
21		var go = $(this).attr('href').replace('#!', '');
22		if (go === '+1') {
23			paginationPage++;
24		} else if (go === '-1') {
25			paginationPage--;
26		} else {
27			paginationPage = parseInt(go, 10);
28		}
29		$('.cdp').attr('actpage', paginationPage);
30	});
31
32	new TypeWriter('#typewritetext', ['Search articles', 'Search blog', 'Search new blog post'], { writeDelay: 100, stopAfterOnce: true });
33
34	$(".removed").each(function () {
35		var description = $(this).attr("title");
36		var element = $("<aside>" + description + "</aside>");
37		var top = $(this).position().top;
38		$(this).append(element);
39		$(element).css('top', top);
40		$(this).hover(function () {
41			$(this).data('title', this.title).prop('title', null);
42			$(this).find("aside").fadeIn('fast');
43		}, function () {
44			$(this).prop('title', $(this).data('title'));
45			$(this).find("aside").fadeOut('fast');
46		})
47	});
48});
49
50if (document.getElementById("gallerylist")) {
51	document.getElementById("gallerylist").onchange = function () {
52		window.location.href = this.value;
53	};
54}
55
56jQuery(window).scroll(function () {
57	if (jQuery(".contenttablediv").hasClass("table_open")) {
58		jQuery('.contenttablediv').removeClass('table_open');
59	}
60});
61
62(function () {
63	const second = 1000,
64		minute = second * 60,
65		hour = minute * 60,
66		day = hour * 24;
67
68	const birthday = new Date("July 1, 2023").getTime();
69
70	const countdownElement = document.getElementById('countdown');
71	const contentElement = document.getElementById('content');
72
73	const daysElement = document.getElementById('days');
74	const hoursElement = document.getElementById('hours');
75	const minutesElement = document.getElementById('minutes');
76	const secondsElement = document.getElementById('seconds');
77
78	if (countdownElement && contentElement && daysElement && hoursElement && minutesElement && secondsElement) {
79		const x = setInterval(function () {
80			const now = new Date().getTime(),
81				distance = birthday - now;
82
83			daysElement.innerText = Math.floor(distance / day);
84			hoursElement.innerText = Math.floor((distance % day) / hour);
85			minutesElement.innerText = Math.floor((distance % hour) / minute);
86			secondsElement.innerText = Math.floor((distance % minute) / second);
87
88			if (distance < 0) {
89				let headlineElement = document.createElement('h2');
90				headlineElement.innerText = "GA4 is now Live!";
91				contentElement.prepend(headlineElement);
92
93				headlineElement.innerText = "GA4 is now Live!";
94				countdownElement.style.display = "none";
95				contentElement.style.display = "block";
96				clearInterval(x);
97			}
98		}, 0)
99	}
100}());

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.