PageSourceSearch

https://status.net/templates/wp-content/themes/arcdn-stts-wp-theme-77bec8df7a43/js/custom.js?ver=1.0

js status.net collected 2026-09-24 08:39:47 UTC 1,223 bytes, 31 lines download raw bytes

1(function($) {
2    $(document).ready(function(){
3        $('.article-structure li a').each(function(){
4            var $a = $(this);
5            $a.attr('href', '#' + $(this).attr('href').split('#')[1].replace(/[^\w]/g,'').toLowerCase());
6            $a.after('<span class="divider"></span>');
7            $('.chapter-title').each(function(){
8                if ($(this).text().replace(/[^\w]/g,'').toLowerCase() == $a.attr('href').split('#')[1]){
9                    $(this).attr('id', $(this).text().replace(/[^\w]/g,'').toLowerCase());
10                }
11            });
12        })
13    });
14
15    $(document).on('click', '.article-structure li a', function(event){
16        event.preventDefault();
17        $('html, body').animate({
18            scrollTop: $( $.attr(this, 'href') ).offset().top - ( $('.admin-bar').length ? 64 : 32 ) - ($(window).width() < 768 ? $('.ya-share2').innerHeight() : 0)
19        }, 500);
20    });
21
22    $(window).on('scroll touchmove', function(){
23        if ($(window).width() < 768){
24            if($(window).scrollTop() > 0 ){
25                $('.ya-share2').addClass('active');
26            }else{
27                $('.ya-share2').removeClass('active');
28            }
29        }
30    });
31})(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.