PageSourceSearch

https://sublimegroceria.com/wp-content/themes/softing/js/framework-settings.js?ver=1.0

js sublimegroceria.com collected 2026-10-02 00:08:13 UTC 3,424 bytes, 106 lines download raw bytes

1(function(window, document, $) {
2
3    "use strict";
4
5    responsiveEl();
6    function responsiveEl() {
7        var matches = document.querySelectorAll("[data-res-css]");
8        var resdata = [];
9        matches.forEach(function(element) {
10            var get_style = element.getAttribute("data-res-css");
11            resdata.push(get_style);
12            element.removeAttribute("data-res-css");
13        });
14
15        var css = resdata.join(""),
16        head = document.head || document.getElementsByTagName('head')[0],
17        style = document.createElement('style');
18
19        style.type = 'text/css';
20        style.setAttribute("data-type", "rafia-shortcodes-custom-css");
21        if (style.styleSheet){
22            // This is required for IE8 and below.
23            style.styleSheet.cssText = css;
24        } else {
25            style.appendChild(document.createTextNode(css));
26        }
27
28        head.appendChild(style);
29    }
30    function setBacktop_1() {
31        var backtop_1 = $( ".c-backtop-1" );
32        if ( backtop_1.length ) {
33            if ( backtop_1.hasClass( "-js-backtop" ) ) {
34                backtop_1.on( "click", function() {
35                    $( "body, html" ).animate( { scrollTop: 0 }, 800 );
36                } );
37
38                $( window ).on( "scroll", function() {
39                    if ( $( window ).scrollTop() > 40 ) {
40                        backtop_1.fadeIn();
41                    } else {
42                        backtop_1.fadeOut();
43                    }
44                } );
45            }
46        }
47    };
48
49    // preloader
50    jQuery(window).on('load',function () {
51
52        // Animate loader off screen
53        jQuery(".se-pre-con").fadeOut("slow");
54
55        jQuery('#nt-preloader').fadeOut('slow', function () {
56            jQuery('#nt-preloader').remove();
57        });
58        jQuery("body" ).addClass( "page-loaded" );
59    });
60
61    jQuery(window).on("scroll", function () {
62        var bodyScroll = jQuery(window).scrollTop();
63
64        if ( bodyScroll > 0 ) {
65            jQuery("body" ).addClass("scroll-start");
66        } else {
67            jQuery("body" ).removeClass("scroll-start");
68        }
69    });
70
71    jQuery(document).ready(function( $ ) {
72        // Animate loader off screen
73        jQuery(".se-pre-con").fadeOut("slow");
74
75        jQuery('#nt-preloader').fadeOut('slow', function () {
76            jQuery('#nt-preloader').remove();
77        });
78        // blog list
79        jQuery(".nt-theme-content table, #wp-calendar" ).addClass( "table table-striped" );
80
81        var parallaxbg= $('.jarallax-rafia');
82        if (parallaxbg > 0){
83            $('.jarallax-rafia').jarallax({
84            });
85
86            jarallax(document.querySelectorAll('.jarallax-rafia.mobile-parallax-off'), {
87                disableParallax: /iPad|iPhone|iPod|Android/,
88                disableVideo: /iPad|iPhone|iPod|Android/
89            });
90        }
91
92        // CF7 remove error message after 4 seconds
93        $('.wpcf7-response-output').ajaxComplete(function(){
94            window.setTimeout(function(){
95                $('.wpcf7-response-output').addClass('display-none');
96            }, 4000); //<-- Delay in milliseconds
97            window.setTimeout(function(){
98                $('.wpcf7-response-output').removeClass('wpcf7-validation-errors display-none');
99            }, 4500); //<-- Delay in milliseconds
100        });
101
102        setBacktop_1();
103
104    });
105
106})(window, document, 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.