PageSourceSearch

https://depalermo.com/wp-content/themes/glob/assets/js/themes.js?ver=0.1.4

js depalermo.com collected 2026-10-04 01:39:09 UTC 2,808 bytes, 88 lines download raw bytes

1/**
2 * File skip link focus.
3 *
4 * Helps with accessibility for keyboard only users.
5 *
6 * Learn more: https://git.io/vWdr2
7 */
8( function() {
9    var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
10        isOpera  = navigator.userAgent.toLowerCase().indexOf( 'opera' )  > -1,
11        isIe     = navigator.userAgent.toLowerCase().indexOf( 'msie' )   > -1;
12
13    if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) {
14        window.addEventListener( 'hashchange', function() {
15            var id = location.hash.substring( 1 ),
16                element;
17
18            if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
19                return;
20            }
21
22            element = document.getElementById( id );
23
24            if ( element ) {
25                if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
26                    element.tabIndex = -1;
27                }
28
29                element.focus();
30            }
31        }, false );
32    }
33})();
34
35
36jQuery( document).ready( function( $ ){
37    "use strict";
38
39    $(".block-slider").slick({
40        autoplay: true,
41        fade: true,
42        slidesToShow: 1,
43        slidesToScroll: 1,
44        draggable: true,
45        dots : true,
46        arrows : true,
47        prevArrow: "<span class=\'carousel-prev\'><i class=\'fa fa-angle-left\'></i></span>",
48        nextArrow: "<span class=\'carousel-next\'><i class=\'fa fa-angle-right\'></i></span>",
49    });
50
51
52    $(".breaking_slider").slick({
53        autoplay: true,
54        fade: true,
55        slidesToShow: 1,
56        slidesToScroll: 1,
57        draggable: false,
58        dots : false,
59        arrows : true,
60        prevArrow: "<span class=\'carousel-prev\'><i class=\'fa fa-angle-left\'></i></span>",
61        nextArrow: "<span class=\'carousel-next\'><i class=\'fa fa-angle-right\'></i></span>",
62    });
63
64    $('.site-content img, .site-footer img').on('inview', function(event, isInView) {
65        if (isInView) {
66            // element is now visible in the viewport
67            $( this).addClass( 'inview' );
68        } else {
69            // element has gone out of viewport
70        }
71    });
72
73    // Customizer Selective Refresh
74    if ( 'undefined' !== typeof wp && wp.customize && wp.customize.selectiveRefresh ) {
75        wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function( placement ) {
76            if ( placement.partial.id == 'section-gallery' ) {
77
78                // Trigger resize to make other sections work.
79                //$( window ).resize();
80            }
81        } );
82    }
83
84    $( '.search-icon' ).on( 'mouseenter', function() {
85        $( '.dropdown-search .search-field' ).focus();
86    });
87
88} );

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.