PageSourceSearch

https://grandesescolhas.com/wp-content/plugins/wppu-preloader-unli…/public/js/fill/fill-fadeOut.js?ver=6.8.5

js grandesescolhas.com collected 2026-10-02 12:01:03 UTC 4,271 bytes, 130 lines download raw bytes

1( function( $ ) {
2    "use strict";
3
4    if ( $('.wppu-preloader').length === 0 ) {
5        return false;
6    }
7
8    var $options_type = wppreloaderData.options_type,
9        $delay = parseInt(wppreloaderData.delay),
10		$effect = wppreloaderData.effect,
11		$load_type = wppreloaderData.load_type,
12        $load_time = wppreloaderData.load_time,
13        $transition = parseInt(wppreloaderData.transition);
14
15    if (typeof $effect === typeof undefined || $effect === false) {
16        $options_type = 'image_radio_options';
17    }
18    if (typeof $effect === typeof undefined || $effect === false) {
19        $effect = 'fadeOut';
20    }
21    if (typeof $delay === typeof undefined || $delay === false) {
22        $delay = 200;
23    }
24    if (typeof $transition === typeof undefined || $transition === false) {
25        $transition = 400;
26	}
27	if (typeof $load_type === typeof undefined) {
28        $load_type = "window";
29    }
30    if (typeof $load_time === typeof undefined || $load_time === false) {
31        $load_time = 1500;
32    }
33
34    var dur = 20000;
35
36    $(document).ready(function(){
37
38        if( $('.wppu_fill_progress_bar').length > 0 ) {
39        	$( ".wppu_fill_progress_bar" ).animate({ width: "100%"}, { 
40				duration: dur,
41				complete: function(){
42					$(".wppu-preloader").addClass("load_me_first");
43				}
44			});
45        }
46        if ( $('#wppu-fill-loader-thunb') ) {
47        	$( "#wppu-fill-loader-thunb .wppu-fill-thumbnail-fill" ).animate({height: "100%"}, { 
48				duration: dur,
49				complete: function(){
50					$(".wppu-preloader").addClass("load_me_first");
51				}
52			});
53        }
54        if ( $('.wppu_fill_counter') ) {
55        	$('.wppu_fill_counter span').each(function () {
56			  var $this = $(this);
57			  $({ Counter: 0 }).animate({ Counter: 100 }, {
58			    duration: dur,
59			    easing: 'swing',
60			    step: function () {
61			      $this.text(Math.ceil(this.Counter));
62			    }
63			  });
64			});
65		}
66		
67		if( $load_type === "custom" ) {
68            setTimeout(function(){
69                if (jQuery(".wppu-preloader").hasClass("load_me_first") ) {
70					jQuery(".wppu-preloader").delay($delay).fadeOut($transition);
71					jQuery({countNum: jQuery('.wppu_fill_counter span').text()}).animate({countNum: 100}, {
72					  duration: $delay,
73					  easing:'linear',
74					  step: function() {
75						jQuery('.wppu_fill_counter').text(Math.floor(this.countNum) + '%');
76					  },
77					  complete: function() {
78						jQuery('.wppu_fill_counter').text(this.countNum + '%');
79					  }
80					});
81				} else {
82					jQuery(".wppu-preloader").addClass("load_first wppu-preloader-loaded");
83					jQuery(".wppu-preloader").delay(900+$delay).fadeOut($transition);
84					jQuery({countNum: jQuery('.wppu_fill_counter span').text()}).animate({countNum: 100}, {
85					  duration: 850+$delay,
86					  easing:'linear',
87					  step: function() {
88						jQuery('.wppu_fill_counter').text(Math.floor(this.countNum) + '%');
89					  },
90					  complete: function() {
91						jQuery('.wppu_fill_counter').text(this.countNum + '%');
92					  }
93					});
94				}
95            }, $load_time);
96        }
97    });
98
99    $( window ).on("load", function() {
100		if( $load_type !== "custom" ) {
101			if (jQuery(".wppu-preloader").hasClass("load_me_first") ) {
102				jQuery(".wppu-preloader").delay($delay).fadeOut($transition);
103				jQuery({countNum: jQuery('.wppu_fill_counter span').text()}).animate({countNum: 100}, {
104				duration: $delay,
105				easing:'linear',
106				step: function() {
107					jQuery('.wppu_fill_counter').text(Math.floor(this.countNum) + '%');
108				},
109				complete: function() {
110					jQuery('.wppu_fill_counter').text(this.countNum + '%');
111				}
112				});
113			} else {
114				jQuery(".wppu-preloader").addClass("load_first wppu-preloader-loaded");
115				jQuery(".wppu-preloader").delay(900+$delay).fadeOut($transition);
116				jQuery({countNum: jQuery('.wppu_fill_counter span').text()}).animate({countNum: 100}, {
117				duration: 850+$delay,
118				easing:'linear',
119				step: function() {
120					jQuery('.wppu_fill_counter').text(Math.floor(this.countNum) + '%');
121				},
122				complete: function() {
123					jQuery('.wppu_fill_counter').text(this.countNum + '%');
124				}
125				});
126			}
127		}
128    });
129
130} )( 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.