PageSourceSearch

https://www.vcat.vic.gov.au/modules/custom/vcat_core/js/search-page.js?tlqvqi

js vcat.vic.gov.au collected 2026-09-24 20:02:48 UTC 609 bytes, 18 lines download raw bytes

1(function ($, Drupal, once) {
2
3  /**
4   * Toggle class indicating which facet item is active.
5   * @type {{attach: attach}}
6   */
7  Drupal.behaviors.activeFacet = {
8    attach: function (context, settings) {
9
10      // Toggle active and inactive states depending on selected item.
11      $(once('activeFacet', '.facets-widget-links li')).click(function () {
12        $('.facets-widget-links li').not(this).removeClass('facet-item--is-active').addClass('facet-item--inactive');
13        $(this).addClass('facet-item--is-active').removeClass('facet-item--inactive');
14      });
15    }
16  };
17
18}(jQuery, Drupal, once));

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.