PageSourceSearch

https://kagimaldives.com/wp-content/plugins/unlimited-addon-for-el…/js/uae-counterdown-script.js?ver=7.0.2

js kagimaldives.com collected 2026-10-08 05:49:19 UTC 1,282 bytes, 34 lines download raw bytes

1;(function ($) {
2    $(window).on("elementor/frontend/init", function () {
3        elementorFrontend.hooks.addAction("frontend/element_ready/counterdown.default", function (scope, $) {
4            var clockElement = $(scope).find(".clock");
5        
6            var now = new Date();
7            var targetTime = clockElement.data('target-time');
8            var targetDataObject = new Date(targetTime);
9            var difference = (targetDataObject.getTime()-now.getTime())/1000;
10            clockFace = 'HourlyCounter';
11            if(difference >24*60*60){
12                clockFace='DailyCounter';
13            }
14            var clock = clockElement.FlipClock({
15                clockFace: clockFace,
16            });
17            clock.setTime(difference);
18            clock.setCountdown(true);
19        });
20        
21        
22     elementorFrontend.hooks.addAction("frontend/element_ready/clock.default", function (scope, $) {
23            var clockElement = $(scope).find(".clock");
24            var clockFormat = clockElement.data('clock-format');
25            clockFace = '12' == clockFormat ? 'TwelveHourClock' : 'TwentyFourHourClock';
26            clockElement.FlipClock({
27                clockFace: clockFace
28            });
29        });    
30        
31        
32    })
33})(jQuery);
34

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.