PageSourceSearch

https://mayufilmes.com/_static/??-eJyVzUEOwjAMRNELEUwrQcUCcRYTkuIm…/lou3dCd++F0PPQfMflUbg==

js mayufilmes.com collected 2026-10-07 10:15:36 UTC 5,813 bytes, 202 lines download raw bytes

1(()=>{const e=document.querySelectorAll(".coblocks-animate");if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add(e.target.dataset.coblocksAnimation),t.unobserve(e.target))}))}),{threshold:[.15]});e.forEach((e=>{t.observe(e)}))}else e.forEach((e=>{e.classList.remove("coblocks-animate"),delete e.dataset.coblocksAnimation}))})();;
2/**
3 * File navigation.js.
4 *
5 * Handles toggling the navigation menu for small screens and enables TAB key
6 * navigation support for dropdown menus.
7 */
8( function() {
9	var container, button, menu, links, subMenus, i, len;
10
11	container = document.getElementById( 'site-navigation' );
12	if ( ! container ) {
13		return;
14	}
15
16	button = container.getElementsByTagName( 'button' )[0];
17	if ( 'undefined' === typeof button ) {
18		return;
19	}
20
21	menu = container.getElementsByTagName( 'ul' )[0];
22
23	// Hide menu toggle button if menu is empty and return early.
24	if ( 'undefined' === typeof menu ) {
25		button.style.display = 'none';
26		return;
27	}
28
29	menu.setAttribute( 'aria-expanded', 'false' );
30	if ( -1 === menu.className.indexOf( 'nav-menu' ) ) {
31		menu.className += ' nav-menu';
32	}
33
34	button.onclick = function() {
35		if ( -1 !== container.className.indexOf( 'toggled' ) ) {
36			container.className = container.className.replace( ' toggled', '' );
37			button.setAttribute( 'aria-expanded', 'false' );
38			menu.setAttribute( 'aria-expanded', 'false' );
39		} else {
40			container.className += ' toggled';
41			button.setAttribute( 'aria-expanded', 'true' );
42			menu.setAttribute( 'aria-expanded', 'true' );
43		}
44	};
45
46	// Get all the link elements within the menu.
47	links    = menu.getElementsByTagName( 'a' );
48	subMenus = menu.getElementsByTagName( 'ul' );
49
50	// Set menu items with submenus to aria-haspopup="true".
51	for ( i = 0, len = subMenus.length; i < len; i++ ) {
52		subMenus[i].parentNode.setAttribute( 'aria-haspopup', 'true' );
53	}
54
55	// Each time a menu link is focused or blurred, toggle focus.
56	for ( i = 0, len = links.length; i < len; i++ ) {
57		links[i].addEventListener( 'focus', toggleFocus, true );
58		links[i].addEventListener( 'blur', toggleFocus, true );
59	}
60
61	/**
62	 * Sets or removes .focus class on an element.
63	 */
64	function toggleFocus() {
65		var self = this;
66
67		// Move up through the ancestors of the current link until we hit .nav-menu.
68		while ( -1 === self.className.indexOf( 'nav-menu' ) ) {
69
70			// On li elements toggle the class .focus.
71			if ( 'li' === self.tagName.toLowerCase() ) {
72				if ( -1 !== self.className.indexOf( 'focus' ) ) {
73					self.className = self.className.replace( ' focus', '' );
74				} else {
75					self.className += ' focus';
76				}
77			}
78
79			self = self.parentElement;
80		}
81	}
82
83	/**
84	 * Toggles `focus` class to allow submenu access on tablets.
85	 */
86	( function ( container ) {
87		var touchStartFn,
88			parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' );
89
90		if ( 'ontouchstart' in window ) {
91			touchStartFn = function( e ) {
92				var menuItem = this.parentNode;
93
94				if ( ! menuItem.classList.contains( 'focus' ) ) {
95					e.preventDefault();
96					for( var i = 0; i < menuItem.parentNode.children.length; ++i ) {
97						if ( menuItem === menuItem.parentNode.children[i] ) {
98							continue;
99						}
100						menuItem.parentNode.children[i].classList.remove( 'focus' );
101					}
102					menuItem.classList.add( 'focus' );
103				} else {
104					menuItem.classList.remove( 'focus' );
105				}
106			};
107
108			for ( var i = 0; i < parentLink.length; ++i ) {
109				parentLink[i].addEventListener( 'touchstart', touchStartFn, false );
110			}
111		}
112	} ( container ) );
113} )();
114;
115/**
116 * File skip-link-focus-fix.js.
117 *
118 * Helps with accessibility for keyboard only users.
119 *
120 * Learn more: https://git.io/vWdr2
121 */
122( function() {
123	var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
124	    isOpera  = navigator.userAgent.toLowerCase().indexOf( 'opera' )  > -1,
125	    isIe     = navigator.userAgent.toLowerCase().indexOf( 'msie' )   > -1;
126
127	if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) {
128		window.addEventListener( 'hashchange', function() {
129			var id = location.hash.substring( 1 ),
130				element;
131
132			if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
133				return;
134			}
135
136			element = document.getElementById( id );
137
138			if ( element ) {
139				if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
140					element.tabIndex = -1;
141				}
142
143				element.focus();
144			}
145		}, false );
146	}
147})();
148;
149/**
150 * Handles sticky header
151 */
152
153( function () {
154	'use strict';
155
156	var stickyHeader = document.querySelector( '.sticky-wrapper' );
157	var topBar = document.querySelector( '.top-bar' );
158	var stickyHeaderOffset = parseFloat(
159		( getComputedStyle( topBar ).height || '0' ).replace( 'px', '' )
160	);
161
162	var nextFrame = null;
163
164	if ( ! stickyHeader || ! topBar ) {
165		return;
166	}
167
168	function stickyTime() {
169		var windowWidth = document.documentElement.clientWidth;
170
171		if ( window.pageYOffset >= stickyHeaderOffset && windowWidth >= 1100 ) {
172			stickyHeader.classList.add( 'sticking' );
173
174			var stuckHeader = document.querySelector( '.sticky-wrapper.sticking' );
175			var stickyHeaderHeight = getComputedStyle( stuckHeader ).height;
176
177			document.body.style.paddingTop = stickyHeaderHeight;
178			topBar.style.visibility = 'hidden';
179		} else {
180			stickyHeader.classList.remove( 'sticking' );
181			document.body.removeAttribute( 'style' );
182			topBar.removeAttribute( 'style' );
183		}
184
185		nextFrame = null;
186	}
187
188	if ( document.readyState === 'complete' ) {
189		stickyTime();
190	} else {
191		window.addEventListener( 'load', stickyTime );
192	}
193
194	document.addEventListener( 'scroll', function () {
195		if ( window.requestAnimationFrame ) {
196			nextFrame = nextFrame || requestAnimationFrame( stickyTime );
197		} else {
198			stickyTime();
199		}
200	} );
201} )();
202;

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.