PageSourceSearch

https://www.politiquemedia.com/assets/js/main.js

js politiquemedia.com collected 2026-10-02 19:43:22 UTC 1,565 bytes, 77 lines download raw bytes

1/*
2	Minimaxing by HTML5 UP
3	html5up.net | @ajlkn
4	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5*/
6
7(function($) {
8
9	skel
10		.breakpoints({
11			desktop: '(min-width: 737px)',
12			tablet: '(min-width: 737px) and (max-width: 1200px)',
13			mobile: '(max-width: 736px)'
14		})
15		.viewport({
16			breakpoints: {
17				tablet: {
18					width: 1080
19				}
20			}
21		});
22
23	$(function() {
24
25		var $window = $(window),
26			$body = $('body');
27
28		// Fix: Placeholder polyfill.
29			$('form').placeholder();
30
31		// Prioritize "important" elements on mobile.
32			skel.on('+mobile -mobile', function() {
33				$.prioritize(
34					'.important\\28 mobile\\29',
35					skel.breakpoint('mobile').active
36				);
37			});
38
39		// Off-Canvas Navigation.
40
41			// Title Bar.
42				$(
43					'<div id="titleBar">' +
44						'<a href="#navPanel" class="toggle"></a>' +
45						'<span class="title">' + $('#logo').html() + '</span>' +
46					'</div>'
47				)
48					.appendTo($body);
49
50			// Navigation Panel.
51				$(
52					'<div id="navPanel">' +
53						'<nav>' +
54							$('#nav').navList() +
55						'</nav>' +
56					'</div>'
57				)
58					.appendTo($body)
59					.panel({
60						delay: 500,
61						hideOnClick: true,
62						hideOnSwipe: true,
63						resetScroll: true,
64						resetForms: true,
65						side: 'left',
66						target: $body,
67						visibleClass: 'navPanel-visible'
68					});
69
70			// Fix: Remove navPanel transitions on WP<10 (poor/buggy performance).
71				if (skel.vars.os == 'wp' && skel.vars.osVersion < 10)
72					$('#titleBar, #navPanel, #page-wrapper')
73						.css('transition', 'none');
74
75	});
76
77})(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.