PageSourceSearch

https://sos-lastekyla.ee/wp-content/plugins/donat-core/assets/js/donat-frontend.js?ver=7.1.2

js sos-lastekyla.ee collected 2026-10-02 20:54:40 UTC 1,349 bytes, 38 lines download raw bytes

1;(function($) {
2    'use strict';
3    $(window).on( 'elementor/frontend/init', function() {
4
5    	 /*---------- 19. Circle Progress ----------*/
6    document.addEventListener("DOMContentLoaded", function () {
7        const progressBars = document.querySelectorAll('.circular-progress');
8    
9        progressBars.forEach(progressBar => {
10            const circle = progressBar.querySelector('.circle');
11            const percentageDisplay = progressBar.querySelector('.percentage');
12            const target = parseInt(progressBar.getAttribute('data-target'), 10);
13            let progressValue = 0;
14    
15            const animateProgress = () => {
16                if (progressValue <= target) {
17                    const offset = 100 - (progressValue * 100) / 100;
18                    circle.style.strokeDashoffset = offset;
19                    percentageDisplay.textContent = progressValue + "%";
20                    progressValue++;
21                    requestAnimationFrame(animateProgress);
22                }
23            };
24    
25            animateProgress();
26        });
27    });
28
29     /*----------- 16. Progress Bar Animation ----------*/
30    $('.progress-bar').waypoint(function() {
31        $('.progress-bar').css({
32        animation: "animate-positive 1.8s",
33        opacity: "1"
34        });
35    }, { offset: '100%' });
36
37    });
38}(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.