PageSourceSearch

https://teknikustam.com.tr/wp-content/themes/blonwe/assets/js/custom/countdown.js?ver=1.3.9

js teknikustam.com.tr collected 2026-10-02 02:09:53 UTC 1,096 bytes, 44 lines download raw bytes

1(function ($) {
2  "use strict";
3
4  $(document).on('blonweShopPageInit', function () {
5    blonweThemeModule.countdown();
6  });
7
8  blonweThemeModule.countdown = function() {
9    $('.klb-countdown').each(function() {
10
11      let $this = $(this);
12
13      let dateStr = $this.data('date');
14      let tz = $this.data('timezone') || 'UTC';
15
16      let m = moment.tz(dateStr, [
17        'YYYY/MM/DD HH:mm:ss',
18        'YYYY-MM-DD HH:mm:ss',
19        'YYYY/MM/DD',
20        'YYYY-MM-DD'
21      ], tz);
22
23      let finalDate = m.isValid() ? m.toDate() : dateStr;
24
25      let $days = $this.find('.days');
26      let $hours = $this.find('.hours');
27      let $minutes = $this.find('.minutes');
28      let $second = $this.find('.second');
29
30      $this.countdown(finalDate, function(event) {
31        $days.html(event.strftime('%D'));
32        $hours.html(event.strftime('%H'));
33        $minutes.html(event.strftime('%M'));
34        $second.html(event.strftime('%S'));
35      });
36
37    });
38  }
39
40  $(document).ready(function() {
41    blonweThemeModule.countdown();
42  });
43
44})(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.