PageSourceSearch

https://www.copernicus.eu/themes/custom/copernicus/js/eus.js?v=10.6.17

js copernicus.eu collected 2026-10-01 08:30:43 UTC 1,466 bytes, 51 lines download raw bytes

1/**
2 * @file
3 * Global utilities.
4 *
5 */
6(function ($, Drupal) {
7  "use strict";
8
9  Drupal.behaviors.eusAccordion = {
10    attach: function (context, settings) {
11      once("popup", ".path-eu-space-actions", context).forEach(function (
12        value,
13        i
14      ) {
15        $(".c19-block-view").each(function () {
16          $(this)
17            .closest(".views-element-container")
18            .addClass("c19-block-wrapper")
19            .addClass("c19-collapsible")
20            .addClass("c19-collapsed")
21            .children("h2")
22            .addClass("c19-collapse-btn");
23          $(this).hide();
24        });
25        $(".c19-collapse-btn").click(function () {
26          $(this).closest(".c19-block-wrapper").toggleClass("c19-collapsed");
27
28          $(this).next().toggle("fast");
29        });
30        var hash = window.location.hash.substr(1);
31        if (hash) {
32          var anchor = $("#block-views-block-eus-response-actions-" + hash);
33          $(".c19-collapse-btn", anchor).trigger("click");
34
35          $("html,body").animate(
36            { scrollTop: anchor.offset().top - 15 },
37            "slow"
38          );
39        } else {
40          //default
41          $(
42            "#block-views-block-eus-response-actions-eus-eu .c19-collapse-btn"
43          ).trigger("click");
44          $(
45            "#block-views-block-eus-response-actions-eus-agencies .c19-collapse-btn"
46          ).trigger("click");
47        }
48      });
49    },
50  };
51})(jQuery, Drupal);

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.