PageSourceSearch

https://seedsforresilience.org/wp-content/plugins/awesome-document…/public/js/public.js?v=1791305459&ver=1.5.7

js seedsforresilience.org collected 2026-10-06 16:51:13 UTC 1,790 bytes, 72 lines download raw bytes

1(function ($) {
2    'use strict';
3
4    $(document).ready(function () {
5
6        $(".js-drop-arrow").click(function () {
7
8            $(this).closest(".card-content-top").siblings(".card-content-bottom").toggleClass("active");
9
10            $(this).toggleClass("active");
11
12        });
13
14        $('.listing-view').css("display", "none");
15
16        $('.grid-view').on('click', function (e) {
17
18            $('.document-archives-ul').css("display", "none");
19            $('.listing-view').css("display", "block");
20
21        });
22
23        $('.list-view').on('click', function (e) {
24
25            $('.document-archives-ul').css("display", "block");
26            $('.listing-view').css("display", "none");
27
28        });
29
30        var card_el = $(".card-publication");
31
32        if (card_el.width() > 700) {
33            card_el.addClass("card-wider");
34        }
35        else {
36            card_el.addClass("card-narrow");
37        }
38
39    });
40
41    $(document).on("click", ".file-download-button, .js-download-publication-file", function (e) {
42
43        e.preventDefault();
44        
45        var $this = $(this);
46
47        var temp_string = $(this).attr("data-downloading");
48
49        $this.html((temp_string !== "" ? temp_string : "Download Started"));
50
51        var filename = $this.attr("data-filename");
52
53        var data = {
54            action: "download_publication_file",
55            publication_id: $(this).attr("data-file"),
56            filename: filename
57        };
58        
59        $.post(aws_document_library.ajaxurl, data, function (res) {
60            console.log(res)
61            var win = window.open(res, '_blank');
62            if (win) {
63                win.focus();
64            } else {
65                alert('Please allow popups for this website');
66            }
67
68        });
69
70    });
71
72})(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.